@maggioli-design-system/magma 2.14.0 → 2.15.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 +1 -1
- package/CHANGELOG.md +43 -0
- package/agents/assets.md +1 -1
- package/agents/install.md +6 -1
- package/agents/mcp.md +3 -2
- package/agents/patterns/app-shell.md +18 -14
- package/agents/patterns/confirm-action.md +138 -15
- package/agents/patterns/empty-state.md +116 -15
- package/agents/patterns/error-recovery.md +151 -19
- package/agents/patterns/item-list.md +12 -11
- package/agents/patterns/labels-and-values.md +1 -0
- package/agents/patterns/list-with-filters.md +99 -9
- package/agents/patterns/loading.md +141 -19
- package/agents/patterns/message-placement.md +355 -39
- package/agents/patterns/page-header.md +7 -6
- package/agents/patterns/previews/actions/banner.dark.webp +0 -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.light.webp +0 -0
- package/agents/patterns/previews/actions/danger-zone.dark.webp +0 -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.light.webp +0 -0
- package/agents/patterns/previews/actions/dismiss-message.dark.webp +0 -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.light.webp +0 -0
- package/agents/patterns/previews/actions/more-in-menu.dark.webp +0 -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.light.webp +0 -0
- package/agents/patterns/previews/actions/primary.dark.webp +0 -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/secondary.dark.webp +0 -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.light.webp +0 -0
- package/agents/patterns/previews/actions/toast.dark.webp +0 -0
- package/agents/patterns/previews/app-shell/back-office.dark.webp +0 -0
- package/agents/patterns/previews/app-shell/back-office.html +2 -2
- 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 +2 -2
- 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 +2 -2
- package/agents/patterns/previews/app-shell/public-service.light.webp +0 -0
- package/agents/patterns/previews/app-shell/section-menus.dark.webp +0 -0
- package/agents/patterns/previews/app-shell/section-menus.html +2 -2
- package/agents/patterns/previews/app-shell/section-menus.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 +1 -1
- package/agents/patterns/previews/confirm-action/ask-before-sending.dark.webp +0 -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.light.webp +0 -0
- package/agents/patterns/previews/confirm-action/ask-first.dark.webp +0 -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 +1 -1
- 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 +2 -2
- 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 +1 -1
- 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 +1 -1
- 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 +2 -2
- 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 +1 -1
- 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 +2 -2
- 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 +1 -1
- package/agents/patterns/previews/error-recovery/action-another-way.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/action-another-way.html +3 -3
- 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 +4 -4
- 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 +4 -4
- 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 +1 -1
- 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 +2 -2
- 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 +4 -4
- 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 +2 -2
- package/agents/patterns/previews/error-recovery/sign-in-again.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/sign-in-again.html +4 -4
- 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 +1 -1
- 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.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.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.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 +1 -1
- 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 +2 -2
- 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 +4 -4
- 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 +8 -8
- 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 +4 -4
- 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 +7 -7
- 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 +2 -2
- 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 +3 -3
- 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 +1 -1
- 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 +2 -2
- 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 +1 -1
- 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 +1 -1
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +3 -3
- 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 +4 -4
- 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 +3 -3
- 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 +2 -2
- 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 +2 -2
- 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 +3 -3
- 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 +2 -2
- 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 +1 -1
- 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 +1 -1
- package/agents/patterns/previews/message-placement/app-failed.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/app-failed.html +4 -4
- 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 +1 -1
- package/agents/patterns/previews/message-placement/decision.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/decision.html +3 -3
- 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 +1 -1
- 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.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 +3 -3
- package/agents/patterns/previews/message-placement/region-failed.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/region-failed.html +3 -3
- package/agents/patterns/previews/message-placement/region-info.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/region-info.html +2 -2
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +3 -3
- 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 +8 -8
- 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 +3 -3
- 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 +8 -8
- 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 +7 -7
- 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 +2 -2
- 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.light.webp +0 -0
- package/agents/patterns/previews/rhythm/between-fields.dark.webp +0 -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.light.webp +0 -0
- package/agents/patterns/previews/rhythm/between-sections.dark.webp +0 -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.light.webp +0 -0
- package/agents/patterns/previews/rhythm/inline.dark.webp +0 -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.light.webp +0 -0
- package/agents/patterns/previews/rhythm/label-control.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/title-content.dark.webp +0 -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.light.webp +0 -0
- package/agents/patterns/previews/surfaces/canvas.dark.webp +0 -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.light.webp +0 -0
- package/agents/patterns/previews/surfaces/dialog.dark.webp +0 -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.light.webp +0 -0
- package/agents/patterns/previews/surfaces/intro-band.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/intro-band.light.webp +0 -0
- package/agents/patterns/previews/surfaces/section.dark.webp +0 -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.light.webp +0 -0
- package/agents/patterns/previews/titles/group.dark.webp +0 -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.light.webp +0 -0
- package/agents/patterns/previews/titles/part.dark.webp +0 -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.light.webp +0 -0
- package/agents/patterns/previews/widths/dialog.dark.webp +0 -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.light.webp +0 -0
- package/agents/patterns/previews/widths/form.dark.webp +0 -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.light.webp +0 -0
- package/agents/patterns/previews/widths/reading.dark.webp +0 -0
- package/agents/patterns/previews/widths/reading.light.webp +0 -0
- package/agents/patterns/record-detail.md +179 -15
- package/agents/reporting.md +5 -1
- package/dist/cjs/{floating-controller-B21tqid0.js → floating-controller-CelMdjyj.js} +1 -1
- package/dist/cjs/{index-B99V_UhC.js → index-CGlQW3pX.js} +16 -6
- package/dist/cjs/{index-CFEj7WVH.js → index-CWkxqm6T.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{locale-6jikg4jE.js → locale-q_KROc3I.js} +10 -2
- package/dist/cjs/magma-components.cjs.js +3 -3
- package/dist/cjs/mds-accordion-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +1 -1
- package/dist/cjs/mds-accordion.cjs.entry.js +3 -3
- package/dist/cjs/mds-author.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar.cjs.entry.js +3 -3
- package/dist/cjs/mds-badge.cjs.entry.js +3 -3
- package/dist/cjs/mds-banner_3.cjs.entry.js +5 -5
- package/dist/cjs/mds-benchmark-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-bibliography.cjs.entry.js +1 -1
- package/dist/cjs/mds-book.cjs.entry.js +8 -8
- package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-breadcrumb.cjs.entry.js +3 -3
- package/dist/cjs/mds-button-dropdown.cjs.entry.js +27 -9
- package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
- package/dist/cjs/mds-button_3.cjs.entry.js +34 -13
- package/dist/cjs/mds-calendar_2.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 +1 -1
- package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
- package/dist/cjs/mds-card.cjs.entry.js +2 -2
- package/dist/cjs/mds-details.cjs.entry.js +3 -3
- package/dist/cjs/mds-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/mds-emoji.cjs.entry.js +3 -3
- package/dist/cjs/mds-entity.cjs.entry.js +3 -3
- package/dist/cjs/mds-file-preview.cjs.entry.js +4 -4
- package/dist/cjs/mds-file.cjs.entry.js +4 -4
- package/dist/cjs/mds-filter-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-filter.cjs.entry.js +4 -4
- package/dist/cjs/mds-header-bar.cjs.entry.js +3 -3
- package/dist/cjs/mds-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +3 -3
- package/dist/cjs/mds-hr.cjs.entry.js +2 -2
- package/dist/cjs/mds-img.cjs.entry.js +13 -8
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-date-range.cjs.entry.js +8 -8
- package/dist/cjs/mds-input-date.cjs.entry.js +5 -5
- package/dist/cjs/mds-input-field.cjs.entry.js +4 -3
- package/dist/cjs/mds-input-otp.cjs.entry.js +4 -4
- package/dist/cjs/mds-input-range-value.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-range.cjs.entry.js +6 -6
- package/dist/cjs/mds-input-select.cjs.entry.js +7 -7
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +6 -6
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +6 -6
- package/dist/cjs/mds-input-upload.cjs.entry.js +9 -9
- package/dist/cjs/mds-input.cjs.entry.js +9 -9
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +4 -4
- package/dist/cjs/mds-keyboard.cjs.entry.js +4 -4
- package/dist/cjs/mds-kpi-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
- package/dist/cjs/mds-label.cjs.entry.js +4 -4
- package/dist/cjs/mds-link.cjs.entry.js +32 -11
- package/dist/cjs/mds-list-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-list.cjs.entry.js +2 -2
- package/dist/cjs/mds-mention.cjs.entry.js +4 -4
- package/dist/cjs/mds-modal.cjs.entry.js +5 -5
- package/dist/cjs/mds-note.cjs.entry.js +5 -5
- package/dist/cjs/mds-notification.cjs.entry.js +3 -3
- package/dist/cjs/mds-paginator-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-paginator.cjs.entry.js +4 -4
- package/dist/cjs/mds-policy-ai.cjs.entry.js +5 -5
- package/dist/cjs/mds-pref-animation.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-language.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-mode.cjs.entry.js +5 -5
- package/dist/cjs/mds-pref-theme-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-pref-theme.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table-features.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-list.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table.cjs.entry.js +2 -2
- package/dist/cjs/mds-progress_2.cjs.entry.js +6 -6
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +6 -6
- package/dist/cjs/mds-push-notification.cjs.entry.js +5 -5
- package/dist/cjs/mds-quote.cjs.entry.js +3 -3
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-radial-menu.cjs.entry.js +5 -5
- package/dist/cjs/mds-separator.cjs.entry.js +4 -4
- package/dist/cjs/mds-status-bar.cjs.entry.js +3 -3
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +17 -7
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +9 -7
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-tab-bar.cjs.entry.js +3 -3
- package/dist/cjs/mds-tab_2.cjs.entry.js +5 -5
- package/dist/cjs/mds-table-body.cjs.entry.js +3 -3
- package/dist/cjs/mds-table-footer.cjs.entry.js +3 -3
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +3 -3
- package/dist/cjs/mds-table-header.cjs.entry.js +4 -4
- package/dist/cjs/mds-table-row.cjs.entry.js +5 -5
- package/dist/cjs/mds-table.cjs.entry.js +5 -5
- package/dist/cjs/mds-text.cjs.entry.js +4 -4
- package/dist/cjs/mds-toast-region.cjs.entry.js +2 -2
- package/dist/cjs/mds-toast.cjs.entry.js +4 -4
- package/dist/cjs/mds-tooltip.cjs.entry.js +16 -9
- package/dist/cjs/mds-tree-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-tree.cjs.entry.js +3 -3
- package/dist/cjs/mds-url-view.cjs.entry.js +4 -4
- package/dist/cjs/mds-usage.cjs.entry.js +4 -4
- package/dist/cjs/mds-video-wall.cjs.entry.js +4 -4
- package/dist/cjs/mds-zero.cjs.entry.js +4 -4
- package/dist/cjs/{navigation-Dxea9mKE.js → navigation-B2UAUx-z.js} +14 -0
- package/dist/cjs/{preference-DTUJPGHS.js → preference-C4QmB-PB.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/common/locale.js +9 -1
- package/dist/collection/common/navigation.js +13 -0
- package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion/documentation.json +2 -2
- package/dist/collection/components/mds-accordion/mds-accordion.css +1 -1
- package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-item/documentation.json +2 -2
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +3 -3
- package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-timer/documentation.json +2 -2
- package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-timer-item/documentation.json +2 -2
- package/dist/collection/components/mds-author/AGENTS.md +1 -1
- package/dist/collection/components/mds-author/documentation.json +2 -2
- package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar/documentation.json +2 -2
- package/dist/collection/components/mds-avatar/mds-avatar.css +44 -44
- package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar-stack/documentation.json +2 -2
- package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar-stack-item/documentation.json +2 -2
- package/dist/collection/components/mds-badge/AGENTS.md +1 -1
- package/dist/collection/components/mds-badge/documentation.json +2 -2
- package/dist/collection/components/mds-badge/mds-badge.css +53 -53
- package/dist/collection/components/mds-banner/AGENTS.md +1 -1
- package/dist/collection/components/mds-banner/documentation.json +2 -2
- package/dist/collection/components/mds-banner/mds-banner.css +13 -13
- package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-benchmark-bar/documentation.json +2 -2
- package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
- package/dist/collection/components/mds-bibliography/documentation.json +2 -2
- package/dist/collection/components/mds-book/AGENTS.md +1 -1
- package/dist/collection/components/mds-book/documentation.json +2 -2
- package/dist/collection/components/mds-book/mds-book.css +2 -2
- package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
- package/dist/collection/components/mds-breadcrumb/documentation.json +2 -2
- package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-breadcrumb-item/documentation.json +2 -2
- package/dist/collection/components/mds-button/AGENTS.md +3 -1
- package/dist/collection/components/mds-button/documentation.json +33 -4
- package/dist/collection/components/mds-button/examples.md +15 -1
- package/dist/collection/components/mds-button/mds-button.css +16 -16
- package/dist/collection/components/mds-button/mds-button.js +48 -8
- package/dist/collection/components/mds-button-dropdown/AGENTS.md +5 -4
- package/dist/collection/components/mds-button-dropdown/documentation.json +31 -5
- package/dist/collection/components/mds-button-dropdown/examples.md +12 -1
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +6 -6
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +30 -1
- package/dist/collection/components/mds-button-dropdown/mistakes.md +16 -0
- package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
- package/dist/collection/components/mds-button-group/documentation.json +2 -2
- package/dist/collection/components/mds-calendar/AGENTS.md +1 -1
- package/dist/collection/components/mds-calendar/documentation.json +2 -2
- package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-calendar-cell/documentation.json +2 -2
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +12 -12
- package/dist/collection/components/mds-card/AGENTS.md +1 -1
- package/dist/collection/components/mds-card/documentation.json +2 -2
- package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-content/documentation.json +2 -2
- package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-footer/documentation.json +2 -2
- package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-header/documentation.json +2 -2
- package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-media/documentation.json +2 -2
- package/dist/collection/components/mds-chip/AGENTS.md +1 -1
- package/dist/collection/components/mds-chip/documentation.json +2 -2
- package/dist/collection/components/mds-chip/mds-chip.css +103 -103
- package/dist/collection/components/mds-details/AGENTS.md +1 -1
- package/dist/collection/components/mds-details/documentation.json +2 -2
- package/dist/collection/components/mds-details/mds-details.css +4 -4
- package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
- package/dist/collection/components/mds-dropdown/documentation.json +2 -2
- package/dist/collection/components/mds-emoji/AGENTS.md +1 -1
- package/dist/collection/components/mds-emoji/documentation.json +2 -2
- package/dist/collection/components/mds-emoji/mds-emoji.css +5 -5
- package/dist/collection/components/mds-entity/AGENTS.md +1 -1
- package/dist/collection/components/mds-entity/documentation.json +2 -2
- package/dist/collection/components/mds-entity/mds-entity.css +9 -9
- package/dist/collection/components/mds-file/AGENTS.md +1 -1
- package/dist/collection/components/mds-file/documentation.json +2 -2
- package/dist/collection/components/mds-file/mds-file.css +24 -24
- package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
- package/dist/collection/components/mds-file-preview/documentation.json +2 -2
- package/dist/collection/components/mds-file-preview/mds-file-preview.css +118 -118
- package/dist/collection/components/mds-filter/AGENTS.md +1 -1
- package/dist/collection/components/mds-filter/documentation.json +2 -2
- package/dist/collection/components/mds-filter/mds-filter.css +4 -4
- package/dist/collection/components/mds-filter-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-filter-item/documentation.json +2 -2
- package/dist/collection/components/mds-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-header/documentation.json +2 -2
- package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-header-bar/documentation.json +2 -2
- package/dist/collection/components/mds-help/AGENTS.md +1 -1
- package/dist/collection/components/mds-help/documentation.json +2 -2
- package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
- package/dist/collection/components/mds-horizontal-scroll/documentation.json +2 -2
- package/dist/collection/components/mds-hr/AGENTS.md +1 -1
- package/dist/collection/components/mds-hr/documentation.json +2 -2
- package/dist/collection/components/mds-icon/AGENTS.md +2 -2
- package/dist/collection/components/mds-icon/documentation.json +6 -2
- package/dist/collection/components/mds-img/AGENTS.md +6 -4
- package/dist/collection/components/mds-img/documentation.json +48 -6
- package/dist/collection/components/mds-img/examples.md +15 -1
- package/dist/collection/components/mds-img/mds-img.css +6 -6
- package/dist/collection/components/mds-img/mds-img.js +37 -6
- package/dist/collection/components/mds-img/meta/storybook.js +7 -0
- package/dist/collection/components/mds-img/meta/types.js +2 -1
- package/dist/collection/components/mds-input/AGENTS.md +1 -1
- package/dist/collection/components/mds-input/documentation.json +2 -2
- package/dist/collection/components/mds-input/mds-input.css +12 -12
- package/dist/collection/components/mds-input-date/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-date/documentation.json +2 -2
- package/dist/collection/components/mds-input-date/mds-input-date.css +9 -9
- package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-date-range/documentation.json +2 -2
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +9 -9
- package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-date-range-preselection/documentation.json +2 -2
- package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.css +6 -6
- package/dist/collection/components/mds-input-field/AGENTS.md +4 -2
- package/dist/collection/components/mds-input-field/documentation.json +33 -5
- package/dist/collection/components/mds-input-field/examples.md +18 -0
- package/dist/collection/components/mds-input-field/mds-input-field.css +39 -2
- package/dist/collection/components/mds-input-field/mds-input-field.js +21 -1
- package/dist/collection/components/mds-input-field/mistakes.md +21 -0
- package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-otp/documentation.json +2 -2
- package/dist/collection/components/mds-input-otp/mds-input-otp.js +1 -1
- package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-range/documentation.json +2 -2
- package/dist/collection/components/mds-input-range/mds-input-range.css +3 -3
- package/dist/collection/components/mds-input-range/mds-input-range.js +2 -2
- package/dist/collection/components/mds-input-range-value/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-range-value/documentation.json +2 -2
- package/dist/collection/components/mds-input-range-value/mds-input-range-value.js +1 -1
- package/dist/collection/components/mds-input-select/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-select/documentation.json +2 -2
- package/dist/collection/components/mds-input-select/mds-input-select.css +7 -7
- package/dist/collection/components/mds-input-select/mds-input-select.js +2 -2
- package/dist/collection/components/mds-input-switch/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-switch/documentation.json +2 -2
- package/dist/collection/components/mds-input-switch/mds-input-switch.css +20 -18
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +1 -1
- package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-tip/documentation.json +2 -2
- package/dist/collection/components/mds-input-tip/mds-input-tip.js +1 -1
- package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-tip-item/documentation.json +2 -2
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
- package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-upload/documentation.json +2 -2
- package/dist/collection/components/mds-input-upload/mds-input-upload.css +1 -1
- package/dist/collection/components/mds-input-upload/mds-input-upload.js +5 -5
- package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
- package/dist/collection/components/mds-keyboard/documentation.json +2 -2
- package/dist/collection/components/mds-keyboard/mds-keyboard.js +1 -1
- package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
- package/dist/collection/components/mds-keyboard-key/documentation.json +2 -2
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
- package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
- package/dist/collection/components/mds-kpi/documentation.json +2 -2
- package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
- package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-kpi-item/documentation.json +2 -2
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.css +4 -4
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
- package/dist/collection/components/mds-label/AGENTS.md +1 -1
- package/dist/collection/components/mds-label/documentation.json +2 -2
- package/dist/collection/components/mds-label/mds-label.css +158 -158
- package/dist/collection/components/mds-link/AGENTS.md +3 -1
- package/dist/collection/components/mds-link/documentation.json +33 -4
- package/dist/collection/components/mds-link/examples.md +12 -1
- package/dist/collection/components/mds-link/mds-link.css +1 -1
- package/dist/collection/components/mds-link/mds-link.js +47 -7
- package/dist/collection/components/mds-list/AGENTS.md +1 -1
- package/dist/collection/components/mds-list/documentation.json +2 -2
- package/dist/collection/components/mds-list/mds-list.js +1 -1
- package/dist/collection/components/mds-list-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-list-item/documentation.json +2 -2
- package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
- package/dist/collection/components/mds-mention/AGENTS.md +1 -1
- package/dist/collection/components/mds-mention/documentation.json +2 -2
- package/dist/collection/components/mds-mention/mds-mention.js +1 -1
- package/dist/collection/components/mds-modal/AGENTS.md +1 -1
- package/dist/collection/components/mds-modal/documentation.json +2 -2
- package/dist/collection/components/mds-modal/mds-modal.js +2 -2
- package/dist/collection/components/mds-note/AGENTS.md +1 -1
- package/dist/collection/components/mds-note/documentation.json +2 -2
- package/dist/collection/components/mds-note/mds-note.css +136 -136
- package/dist/collection/components/mds-note/mds-note.js +1 -1
- package/dist/collection/components/mds-notification/AGENTS.md +1 -1
- package/dist/collection/components/mds-notification/documentation.json +2 -2
- package/dist/collection/components/mds-notification/mds-notification.js +1 -1
- package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
- package/dist/collection/components/mds-paginator/documentation.json +2 -2
- package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
- package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-paginator-item/documentation.json +2 -2
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +1 -1
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
- package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
- package/dist/collection/components/mds-policy-ai/documentation.json +2 -2
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.css +6 -6
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
- package/dist/collection/components/mds-pref/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref/documentation.json +2 -2
- package/dist/collection/components/mds-pref/mds-pref.js +1 -1
- package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-animation/documentation.json +2 -2
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +1 -1
- package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-consumption/documentation.json +2 -2
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +1 -1
- package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-contrast/documentation.json +2 -2
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
- package/dist/collection/components/mds-pref-language/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-language/documentation.json +2 -2
- package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
- package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-language-item/documentation.json +2 -2
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
- package/dist/collection/components/mds-pref-mode/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-mode/documentation.json +2 -2
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +6 -6
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +1 -1
- package/dist/collection/components/mds-pref-theme/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-theme/documentation.json +2 -2
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +1 -1
- package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-theme-item/documentation.json +2 -2
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +2 -2
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +1 -1
- package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table/documentation.json +2 -2
- package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
- package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-features/documentation.json +2 -2
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +1 -1
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
- package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-features-cell/documentation.json +2 -2
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +10 -10
- 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-row/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-features-row/documentation.json +2 -2
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
- package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-header/documentation.json +2 -2
- package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
- package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-list/documentation.json +2 -2
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +3 -3
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
- package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-list-item/documentation.json +2 -2
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
- package/dist/collection/components/mds-progress/AGENTS.md +1 -1
- package/dist/collection/components/mds-progress/documentation.json +2 -2
- package/dist/collection/components/mds-progress/mds-progress.css +13 -13
- package/dist/collection/components/mds-progress/mds-progress.js +1 -1
- package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
- package/dist/collection/components/mds-push-notification/documentation.json +2 -2
- package/dist/collection/components/mds-push-notification/mds-push-notification.css +2 -2
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
- package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-push-notification-item/documentation.json +2 -2
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +38 -38
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
- package/dist/collection/components/mds-quote/AGENTS.md +1 -1
- package/dist/collection/components/mds-quote/documentation.json +2 -2
- package/dist/collection/components/mds-quote/mds-quote.js +1 -1
- package/dist/collection/components/mds-radial-menu/AGENTS.md +1 -1
- package/dist/collection/components/mds-radial-menu/documentation.json +2 -2
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
- package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-radial-menu-item/documentation.json +2 -2
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
- package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
- package/dist/collection/components/mds-radial-progress/documentation.json +2 -2
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +5 -5
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
- package/dist/collection/components/mds-separator/AGENTS.md +1 -1
- package/dist/collection/components/mds-separator/documentation.json +2 -2
- package/dist/collection/components/mds-separator/mds-separator.css +2 -2
- package/dist/collection/components/mds-separator/mds-separator.js +1 -1
- package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
- package/dist/collection/components/mds-spinner/documentation.json +2 -2
- package/dist/collection/components/mds-spinner/mds-spinner.css +1 -1
- package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
- package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-status-bar/documentation.json +2 -2
- package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
- package/dist/collection/components/mds-stepper-bar/AGENTS.md +2 -2
- package/dist/collection/components/mds-stepper-bar/documentation.json +3 -3
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +8 -6
- package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +6 -4
- package/dist/collection/components/mds-stepper-bar-item/documentation.json +30 -4
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +2 -2
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +31 -2
- package/dist/collection/components/mds-tab/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab/documentation.json +2 -2
- package/dist/collection/components/mds-tab/mds-tab.js +2 -2
- package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-bar/documentation.json +2 -2
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
- package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-bar-item/documentation.json +2 -2
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +3 -3
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
- package/dist/collection/components/mds-tab-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-item/documentation.json +2 -2
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
- package/dist/collection/components/mds-table/AGENTS.md +1 -1
- package/dist/collection/components/mds-table/documentation.json +2 -2
- package/dist/collection/components/mds-table/mds-table.css +7 -7
- package/dist/collection/components/mds-table/mds-table.js +1 -1
- package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-body/documentation.json +2 -2
- package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
- package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-cell/documentation.json +2 -2
- package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
- package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-footer/documentation.json +2 -2
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
- package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-header/documentation.json +2 -2
- package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
- package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-header-cell/documentation.json +2 -2
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
- package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-row/documentation.json +2 -2
- package/dist/collection/components/mds-table-row/mds-table-row.js +2 -2
- package/dist/collection/components/mds-text/AGENTS.md +1 -1
- package/dist/collection/components/mds-text/documentation.json +2 -2
- package/dist/collection/components/mds-text/mds-text.css +5 -5
- package/dist/collection/components/mds-text/mds-text.js +1 -1
- package/dist/collection/components/mds-toast/AGENTS.md +1 -1
- package/dist/collection/components/mds-toast/documentation.json +2 -2
- package/dist/collection/components/mds-toast/mds-toast.js +1 -1
- package/dist/collection/components/mds-toast-region/AGENTS.md +1 -1
- package/dist/collection/components/mds-toast-region/documentation.json +2 -2
- package/dist/collection/components/mds-toast-region/mds-toast-region.js +1 -1
- package/dist/collection/components/mds-tooltip/AGENTS.md +2 -2
- package/dist/collection/components/mds-tooltip/documentation.json +4 -4
- package/dist/collection/components/mds-tooltip/examples.md +1 -1
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +13 -6
- package/dist/collection/components/mds-tree/AGENTS.md +1 -1
- package/dist/collection/components/mds-tree/documentation.json +2 -2
- package/dist/collection/components/mds-tree/mds-tree.css +6 -6
- package/dist/collection/components/mds-tree/mds-tree.js +1 -1
- package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-tree-item/documentation.json +2 -2
- package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
- package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
- package/dist/collection/components/mds-url-view/documentation.json +2 -2
- package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
- package/dist/collection/components/mds-usage/AGENTS.md +1 -1
- package/dist/collection/components/mds-usage/documentation.json +2 -2
- package/dist/collection/components/mds-usage/mds-usage.js +1 -1
- package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
- package/dist/collection/components/mds-video-wall/documentation.json +2 -2
- package/dist/collection/components/mds-video-wall/mds-video-wall.css +2 -2
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
- package/dist/collection/components/mds-zero/AGENTS.md +1 -1
- package/dist/collection/components/mds-zero/documentation.json +2 -2
- package/dist/collection/components/mds-zero/mds-zero.css +1 -1
- package/dist/collection/components/mds-zero/mds-zero.js +1 -1
- package/dist/collection/fixtures/states.js +35 -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-accordion-timer.js +1 -1
- package/dist/components/mds-accordion.js +1 -1
- package/dist/components/mds-author.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-group.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 +3 -3
- 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-value.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/{magma-components/p-kW8cjKIa.js → components/p-2RxibNiL.js} +1 -1
- package/dist/components/p-8D5tJYCb.js +1 -0
- package/dist/components/p-B0YEia-F.js +1 -0
- package/dist/components/{p-BmlDGlcB.js → p-B3t-yAT6.js} +2 -2
- package/dist/components/p-B410qrmd.js +1 -0
- package/dist/components/{p-G8GFHw3L.js → p-B7AEyQbN.js} +1 -1
- package/dist/components/{p-CSw6DbKp.js → p-B8rSg0wS.js} +1 -1
- package/dist/components/{p-DxNrlomi.js → p-BNDlJl3j.js} +1 -1
- package/dist/components/p-BPnc1LgR.js +1 -0
- package/dist/components/{p-AWCYh8Xe.js → p-BQJgPeCf.js} +1 -1
- package/dist/components/p-BWCuKjFs.js +1 -0
- package/dist/components/{p-BFZN4zJ9.js → p-BZ0wEKOS.js} +1 -1
- package/dist/components/p-BgdT5eTT.js +1 -0
- package/dist/components/p-Bi6fFi_w.js +1 -0
- package/dist/components/{p-CUT9aFzz.js → p-BiOKp8qm.js} +1 -1
- package/dist/components/p-BpgvTr8e.js +8 -0
- package/dist/components/{p-BG1fjwnd.js → p-BvJpPiuN.js} +1 -1
- package/dist/components/{p-D7C-gjL6.js → p-BwGJqBgv.js} +1 -1
- package/dist/components/p-C2bmqdQ1.js +1 -0
- package/dist/components/p-CSEkugVv.js +1 -0
- package/dist/components/{p-BNl6YWNN.js → p-CbHtKU6H.js} +1 -1
- package/dist/components/{p-oHBGZ2Av.js → p-CbyfhFKK.js} +1 -1
- package/dist/components/p-ChCkQpXr.js +3 -0
- package/dist/components/{p-BiJ4xa4V.js → p-CkFk04x6.js} +1 -1
- package/dist/components/{p-WFNxKo1V.js → p-Cu7JR-NZ.js} +1 -1
- package/dist/components/{p-Cjy1i94z.js → p-DP8t5EZu.js} +1 -1
- package/dist/components/{p-B-GgEAg7.js → p-DWvmuGIQ.js} +1 -1
- package/dist/components/p-DXksxnFe.js +1 -0
- package/dist/components/{p-C0m6B_kt.js → p-DnyQyLeI.js} +1 -1
- package/dist/components/{p-DvccsLwr.js → p-DumA_mZd.js} +1 -1
- package/dist/components/p-Pwyk_BKp.js +1 -0
- package/dist/components/{p-Cs8RIbsQ.js → p-Y1ObmZyL.js} +1 -1
- package/dist/components/{p-CDcB9Zdz.js → p-cIfE1RIC.js} +1 -1
- package/dist/components/p-hOV1Raf4.js +1 -0
- package/dist/components/{p-kS9VRIWa.js → p-r1P_e7WG.js} +1 -1
- package/dist/components/{p-aZlZ1XB9.js → p-tI3q9MMi.js} +1 -1
- package/dist/documentation.json +211 -22
- package/dist/esm/{floating-controller-DlFrvBTG.js → floating-controller-ECQfm808.js} +1 -1
- package/dist/esm/{index-CPibDZjX.js → index-BQhu9Pch.js} +16 -6
- package/dist/esm/{index-DWniH_Ge.js → index-CiyNF8so.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-B7Hw4niB.js → locale-Cm8DHVsu.js} +10 -2
- package/dist/esm/magma-components.js +4 -4
- package/dist/esm/mds-accordion-item.entry.js +3 -3
- package/dist/esm/mds-accordion-timer-item.entry.js +2 -2
- package/dist/esm/mds-accordion-timer.entry.js +1 -1
- package/dist/esm/mds-accordion.entry.js +3 -3
- package/dist/esm/mds-author.entry.js +1 -1
- package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm/mds-avatar-stack.entry.js +1 -1
- package/dist/esm/mds-avatar.entry.js +3 -3
- package/dist/esm/mds-badge.entry.js +3 -3
- package/dist/esm/mds-banner_3.entry.js +5 -5
- package/dist/esm/mds-benchmark-bar.entry.js +1 -1
- package/dist/esm/mds-bibliography.entry.js +1 -1
- package/dist/esm/mds-book.entry.js +8 -8
- package/dist/esm/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm/mds-breadcrumb.entry.js +3 -3
- package/dist/esm/mds-button-dropdown.entry.js +27 -9
- package/dist/esm/mds-button-group.entry.js +1 -1
- package/dist/esm/mds-button_3.entry.js +34 -13
- package/dist/esm/mds-calendar_2.entry.js +4 -4
- package/dist/esm/mds-card-content.entry.js +1 -1
- package/dist/esm/mds-card-footer.entry.js +1 -1
- package/dist/esm/mds-card-header.entry.js +1 -1
- package/dist/esm/mds-card-media.entry.js +1 -1
- package/dist/esm/mds-card.entry.js +2 -2
- package/dist/esm/mds-details.entry.js +3 -3
- package/dist/esm/mds-dropdown.entry.js +3 -3
- package/dist/esm/mds-emoji.entry.js +3 -3
- package/dist/esm/mds-entity.entry.js +3 -3
- package/dist/esm/mds-file-preview.entry.js +4 -4
- package/dist/esm/mds-file.entry.js +4 -4
- package/dist/esm/mds-filter-item.entry.js +3 -3
- package/dist/esm/mds-filter.entry.js +4 -4
- package/dist/esm/mds-header-bar.entry.js +3 -3
- package/dist/esm/mds-header.entry.js +2 -2
- package/dist/esm/mds-horizontal-scroll.entry.js +3 -3
- package/dist/esm/mds-hr.entry.js +2 -2
- package/dist/esm/mds-img.entry.js +13 -8
- package/dist/esm/mds-input-date-range-preselection.entry.js +2 -2
- package/dist/esm/mds-input-date-range.entry.js +8 -8
- package/dist/esm/mds-input-date.entry.js +5 -5
- package/dist/esm/mds-input-field.entry.js +4 -3
- package/dist/esm/mds-input-otp.entry.js +4 -4
- package/dist/esm/mds-input-range-value.entry.js +2 -2
- package/dist/esm/mds-input-range.entry.js +6 -6
- package/dist/esm/mds-input-select.entry.js +7 -7
- package/dist/esm/mds-input-switch_2.entry.js +6 -6
- package/dist/esm/mds-input-tip_2.entry.js +6 -6
- package/dist/esm/mds-input-upload.entry.js +9 -9
- package/dist/esm/mds-input.entry.js +9 -9
- package/dist/esm/mds-keyboard-key.entry.js +4 -4
- package/dist/esm/mds-keyboard.entry.js +4 -4
- package/dist/esm/mds-kpi-item.entry.js +4 -4
- package/dist/esm/mds-kpi.entry.js +2 -2
- package/dist/esm/mds-label.entry.js +4 -4
- package/dist/esm/mds-link.entry.js +32 -11
- package/dist/esm/mds-list-item.entry.js +2 -2
- package/dist/esm/mds-list.entry.js +2 -2
- package/dist/esm/mds-mention.entry.js +4 -4
- package/dist/esm/mds-modal.entry.js +5 -5
- package/dist/esm/mds-note.entry.js +5 -5
- package/dist/esm/mds-notification.entry.js +3 -3
- package/dist/esm/mds-paginator-item.entry.js +4 -4
- package/dist/esm/mds-paginator.entry.js +4 -4
- package/dist/esm/mds-policy-ai.entry.js +5 -5
- package/dist/esm/mds-pref-animation.entry.js +4 -4
- package/dist/esm/mds-pref-consumption.entry.js +4 -4
- package/dist/esm/mds-pref-contrast.entry.js +4 -4
- package/dist/esm/mds-pref-language-item.entry.js +4 -4
- package/dist/esm/mds-pref-language.entry.js +4 -4
- package/dist/esm/mds-pref-mode.entry.js +5 -5
- package/dist/esm/mds-pref-theme-item.entry.js +3 -3
- package/dist/esm/mds-pref-theme.entry.js +4 -4
- package/dist/esm/mds-pref.entry.js +4 -4
- package/dist/esm/mds-price-table-features-cell.entry.js +4 -4
- package/dist/esm/mds-price-table-features-row.entry.js +3 -3
- package/dist/esm/mds-price-table-features.entry.js +4 -4
- package/dist/esm/mds-price-table-header.entry.js +2 -2
- package/dist/esm/mds-price-table-list-item.entry.js +2 -2
- package/dist/esm/mds-price-table-list.entry.js +4 -4
- package/dist/esm/mds-price-table.entry.js +2 -2
- package/dist/esm/mds-progress_2.entry.js +6 -6
- package/dist/esm/mds-push-notification-item.entry.js +6 -6
- package/dist/esm/mds-push-notification.entry.js +5 -5
- package/dist/esm/mds-quote.entry.js +3 -3
- package/dist/esm/mds-radial-menu-item.entry.js +2 -2
- package/dist/esm/mds-radial-menu.entry.js +5 -5
- package/dist/esm/mds-separator.entry.js +4 -4
- package/dist/esm/mds-status-bar.entry.js +3 -3
- package/dist/esm/mds-stepper-bar-item.entry.js +17 -7
- package/dist/esm/mds-stepper-bar.entry.js +9 -7
- package/dist/esm/mds-tab-bar-item.entry.js +4 -4
- package/dist/esm/mds-tab-bar.entry.js +3 -3
- package/dist/esm/mds-tab_2.entry.js +5 -5
- package/dist/esm/mds-table-body.entry.js +3 -3
- package/dist/esm/mds-table-footer.entry.js +3 -3
- package/dist/esm/mds-table-header-cell.entry.js +3 -3
- package/dist/esm/mds-table-header.entry.js +4 -4
- package/dist/esm/mds-table-row.entry.js +5 -5
- package/dist/esm/mds-table.entry.js +5 -5
- package/dist/esm/mds-text.entry.js +4 -4
- package/dist/esm/mds-toast-region.entry.js +2 -2
- package/dist/esm/mds-toast.entry.js +4 -4
- package/dist/esm/mds-tooltip.entry.js +16 -9
- package/dist/esm/mds-tree-item.entry.js +4 -4
- package/dist/esm/mds-tree.entry.js +3 -3
- package/dist/esm/mds-url-view.entry.js +4 -4
- package/dist/esm/mds-usage.entry.js +4 -4
- package/dist/esm/mds-video-wall.entry.js +4 -4
- package/dist/esm/mds-zero.entry.js +4 -4
- package/dist/esm/{navigation-To9IeLHs.js → navigation-Pwyk_BKp.js} +14 -1
- package/dist/esm/{preference-CBMLGSf7.js → preference-B_NbXZNw.js} +1 -1
- package/dist/esm-es5/{floating-controller-DlFrvBTG.js → floating-controller-ECQfm808.js} +1 -1
- package/dist/esm-es5/{index-CPibDZjX.js → index-BQhu9Pch.js} +3 -3
- package/dist/esm-es5/{index-DWniH_Ge.js → index-CiyNF8so.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{locale-B7Hw4niB.js → locale-Cm8DHVsu.js} +28 -21
- package/dist/esm-es5/magma-components.js +3 -3
- package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
- package/dist/esm-es5/mds-accordion.entry.js +1 -1
- package/dist/esm-es5/mds-author.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
- package/dist/esm-es5/mds-avatar.entry.js +2 -2
- package/dist/esm-es5/mds-badge.entry.js +1 -1
- package/dist/esm-es5/mds-banner_3.entry.js +3 -3
- package/dist/esm-es5/mds-benchmark-bar.entry.js +1 -1
- package/dist/esm-es5/mds-bibliography.entry.js +1 -1
- package/dist/esm-es5/mds-book.entry.js +2 -2
- package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb.entry.js +1 -1
- package/dist/esm-es5/mds-button-dropdown.entry.js +8 -5
- package/dist/esm-es5/mds-button-group.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +19 -9
- package/dist/esm-es5/mds-calendar_2.entry.js +2 -2
- 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 +1 -1
- package/dist/esm-es5/mds-details.entry.js +1 -1
- package/dist/esm-es5/mds-dropdown.entry.js +1 -1
- package/dist/esm-es5/mds-emoji.entry.js +2 -2
- package/dist/esm-es5/mds-entity.entry.js +1 -1
- package/dist/esm-es5/mds-file-preview.entry.js +11 -11
- package/dist/esm-es5/mds-file.entry.js +2 -2
- package/dist/esm-es5/mds-filter-item.entry.js +2 -2
- package/dist/esm-es5/mds-filter.entry.js +1 -1
- package/dist/esm-es5/mds-header-bar.entry.js +1 -1
- package/dist/esm-es5/mds-header.entry.js +1 -1
- 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-img.entry.js +9 -7
- package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range.entry.js +1 -1
- package/dist/esm-es5/mds-input-date.entry.js +1 -1
- package/dist/esm-es5/mds-input-field.entry.js +7 -7
- package/dist/esm-es5/mds-input-otp.entry.js +2 -2
- package/dist/esm-es5/mds-input-range-value.entry.js +1 -1
- package/dist/esm-es5/mds-input-range.entry.js +6 -6
- 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 +3 -3
- 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 +2 -2
- package/dist/esm-es5/mds-keyboard.entry.js +2 -2
- package/dist/esm-es5/mds-kpi-item.entry.js +2 -2
- 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 +16 -7
- package/dist/esm-es5/mds-list-item.entry.js +2 -2
- 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 +5 -5
- package/dist/esm-es5/mds-note.entry.js +2 -2
- package/dist/esm-es5/mds-notification.entry.js +2 -2
- 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 +2 -2
- package/dist/esm-es5/mds-pref-animation.entry.js +2 -2
- package/dist/esm-es5/mds-pref-consumption.entry.js +2 -2
- package/dist/esm-es5/mds-pref-contrast.entry.js +4 -4
- package/dist/esm-es5/mds-pref-language-item.entry.js +2 -2
- package/dist/esm-es5/mds-pref-language.entry.js +2 -2
- package/dist/esm-es5/mds-pref-mode.entry.js +2 -2
- package/dist/esm-es5/mds-pref-theme-item.entry.js +2 -2
- package/dist/esm-es5/mds-pref-theme.entry.js +2 -2
- package/dist/esm-es5/mds-pref.entry.js +2 -2
- 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 +6 -6
- package/dist/esm-es5/mds-quote.entry.js +2 -2
- package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
- package/dist/esm-es5/mds-radial-menu.entry.js +2 -2
- 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 +6 -2
- package/dist/esm-es5/mds-stepper-bar.entry.js +11 -8
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +13 -7
- package/dist/esm-es5/mds-tree-item.entry.js +2 -2
- 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 +2 -2
- package/dist/esm-es5/mds-zero.entry.js +1 -1
- package/dist/esm-es5/{navigation-To9IeLHs.js → navigation-Pwyk_BKp.js} +10 -1
- package/dist/esm-es5/{preference-CBMLGSf7.js → preference-B_NbXZNw.js} +1 -1
- package/dist/hydrate/index.js +308 -186
- package/dist/hydrate/index.mjs +308 -186
- package/dist/lint/core/data.d.ts +9 -1
- package/dist/lint/core/data.js +6 -2
- package/dist/lint/core/patterns.d.ts +123 -2
- package/dist/lint/core/patterns.js +423 -19
- package/dist/lint/mcp/tools.json +1 -1
- package/dist/magma-components/index.esm.js +1 -1
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/magma-components.js +1 -1
- package/dist/magma-components/{p-e63c1ba4.entry.js → p-04092a3b.entry.js} +1 -1
- package/dist/magma-components/{p-b1fe6261.entry.js → p-0415056d.entry.js} +1 -1
- package/dist/magma-components/{p-37470fef.system.entry.js → p-0464a230.system.entry.js} +3 -3
- package/dist/magma-components/p-05098fa3.entry.js +1 -0
- package/dist/magma-components/{p-825713bc.system.entry.js → p-07141f37.system.entry.js} +2 -2
- package/dist/magma-components/{p-82041de2.entry.js → p-07e0564b.entry.js} +1 -1
- package/dist/magma-components/{p-df70af5f.system.entry.js → p-07e3a6ae.system.entry.js} +34 -34
- package/dist/magma-components/{p-8193fd71.entry.js → p-096464f6.entry.js} +1 -1
- package/dist/magma-components/p-0b9dc520.system.entry.js +9 -0
- package/dist/magma-components/{p-f6f6d914.system.entry.js → p-0ba59e33.system.entry.js} +3 -3
- package/dist/magma-components/{p-d4452e41.entry.js → p-0d7848dc.entry.js} +1 -1
- package/dist/magma-components/{p-b8e5411d.system.entry.js → p-0e67ab54.system.entry.js} +1 -1
- package/dist/magma-components/{p-f01e7a7e.system.entry.js → p-0ec9ef12.system.entry.js} +1 -1
- package/dist/magma-components/p-0ef36f08.entry.js +1 -0
- package/dist/magma-components/{p-0d7370d8.system.entry.js → p-12785058.system.entry.js} +1 -1
- package/dist/magma-components/{p-58bbada6.system.entry.js → p-13498dce.system.entry.js} +1 -1
- package/dist/magma-components/{p-a0389821.entry.js → p-13a777ff.entry.js} +1 -1
- package/dist/magma-components/{p-2a5223df.system.entry.js → p-165b9ee9.system.entry.js} +3 -3
- package/dist/magma-components/p-16c3109f.entry.js +8 -0
- package/dist/magma-components/{p-038fc1db.entry.js → p-1a0773d4.entry.js} +1 -1
- package/dist/magma-components/{p-483480f9.system.entry.js → p-1ab76b57.system.entry.js} +3 -3
- package/dist/magma-components/{p-e4db9ad2.entry.js → p-1e686eb7.entry.js} +1 -1
- package/dist/magma-components/{p-97e55f7e.system.entry.js → p-1e938a6f.system.entry.js} +2 -2
- package/dist/magma-components/{p-ae258eca.system.entry.js → p-1ee28c75.system.entry.js} +2 -2
- package/dist/magma-components/{p-5c0f0517.entry.js → p-1eedb159.entry.js} +1 -1
- package/dist/magma-components/{p-11312b0c.entry.js → p-1efd5b03.entry.js} +1 -1
- package/dist/magma-components/{p-13e94501.entry.js → p-20e9860a.entry.js} +1 -1
- package/dist/magma-components/{p-2dd32b3f.system.entry.js → p-2102e6ed.system.entry.js} +3 -3
- package/dist/magma-components/p-2155889e.entry.js +1 -0
- package/dist/magma-components/{p-f4e8f507.system.entry.js → p-22de70f3.system.entry.js} +2 -2
- package/dist/magma-components/p-257ae152.entry.js +1 -0
- package/dist/magma-components/{p-5d8cb375.system.entry.js → p-26695384.system.entry.js} +1 -1
- package/dist/magma-components/{p-c902d468.entry.js → p-26e737f5.entry.js} +1 -1
- package/dist/magma-components/{p-d0b45a54.entry.js → p-271fa94b.entry.js} +1 -1
- package/dist/magma-components/{p-1934151b.entry.js → p-27c42c5b.entry.js} +1 -1
- package/dist/magma-components/{p-a171c096.system.entry.js → p-29eab5de.system.entry.js} +1 -1
- package/dist/magma-components/{p-082b787b.entry.js → p-2a367163.entry.js} +1 -1
- package/dist/magma-components/{p-b95f648f.system.entry.js → p-2adc8da6.system.entry.js} +2 -2
- package/dist/magma-components/p-2b0bb30a.entry.js +1 -0
- package/dist/magma-components/{p-3341ac50.entry.js → p-2cb3092c.entry.js} +1 -1
- package/dist/magma-components/{p-ca5867f5.system.entry.js → p-2cd10aef.system.entry.js} +9 -9
- package/dist/magma-components/{p-91406af1.system.entry.js → p-2e1620ba.system.entry.js} +5 -5
- package/dist/magma-components/p-2eab8fb0.entry.js +1 -0
- package/dist/magma-components/{p-e009c632.entry.js → p-31503852.entry.js} +1 -1
- package/dist/magma-components/{p-efcd8a1d.entry.js → p-3401be31.entry.js} +1 -1
- package/dist/magma-components/{p-ccb23b6a.entry.js → p-35261a76.entry.js} +1 -1
- package/dist/magma-components/p-3578ec8d.entry.js +1 -0
- package/dist/magma-components/{p-a4aaf1c6.system.entry.js → p-381b00f2.system.entry.js} +3 -3
- package/dist/magma-components/p-38b33f35.entry.js +1 -0
- package/dist/magma-components/{p-47712df6.entry.js → p-3936265d.entry.js} +1 -1
- package/dist/magma-components/{p-2dc9499c.system.entry.js → p-394560df.system.entry.js} +2 -2
- package/dist/magma-components/{p-d0dfa8b5.system.entry.js → p-39866e42.system.entry.js} +2 -2
- package/dist/magma-components/{p-6c6ec154.system.entry.js → p-3b1cb8ea.system.entry.js} +2 -2
- package/dist/magma-components/{p-dd4b04ed.system.entry.js → p-3d1f9f06.system.entry.js} +2 -2
- package/dist/magma-components/{p-1e43613e.entry.js → p-3f9b9e40.entry.js} +1 -1
- package/dist/magma-components/{p-56715bbc.system.entry.js → p-401c7cff.system.entry.js} +2 -2
- package/dist/magma-components/{p-ad12fa89.system.entry.js → p-40dc42b3.system.entry.js} +2 -2
- package/dist/magma-components/{p-bd539dbc.entry.js → p-41740349.entry.js} +1 -1
- package/dist/magma-components/p-479731de.entry.js +1 -0
- package/dist/magma-components/{p-9c0d1025.system.entry.js → p-4822b172.system.entry.js} +1 -1
- package/dist/magma-components/{p-03896fbd.entry.js → p-48db6553.entry.js} +1 -1
- package/dist/magma-components/{p-ada93f68.entry.js → p-49918013.entry.js} +1 -1
- package/dist/magma-components/p-4b5444f1.entry.js +1 -0
- package/dist/magma-components/{p-420c5af4.entry.js → p-4b7249eb.entry.js} +1 -1
- package/dist/magma-components/{p-f0d93b22.system.entry.js → p-4cc6c06d.system.entry.js} +3 -3
- package/dist/magma-components/{p-7e87807d.entry.js → p-4e68ec48.entry.js} +1 -1
- package/dist/magma-components/p-4f0c913b.system.entry.js +23 -0
- package/dist/magma-components/{p-95a29fd2.entry.js → p-4f80b9be.entry.js} +1 -1
- package/dist/magma-components/{p-6471c0a4.system.entry.js → p-54dfb648.system.entry.js} +2 -2
- package/dist/magma-components/p-5519483d.entry.js +1 -0
- package/dist/magma-components/p-56565acb.system.entry.js +10 -0
- package/dist/magma-components/{p-3d60f528.system.entry.js → p-5845ebd7.system.entry.js} +2 -2
- package/dist/magma-components/{p-333c0ae5.entry.js → p-58a75841.entry.js} +1 -1
- package/dist/magma-components/{p-ecf29ffa.entry.js → p-59cf0c3d.entry.js} +1 -1
- package/dist/magma-components/{p-c8430552.system.entry.js → p-5c3a54bf.system.entry.js} +2 -2
- package/dist/magma-components/p-5c82a88a.entry.js +1 -0
- package/dist/magma-components/{p-a9c7fb3f.entry.js → p-5cf09df3.entry.js} +3 -3
- package/dist/magma-components/{p-756cd3dc.entry.js → p-5ec955a7.entry.js} +1 -1
- package/dist/magma-components/{p-16651356.entry.js → p-5f17dc76.entry.js} +1 -1
- package/dist/magma-components/p-5fd09fb5.system.entry.js +29 -0
- package/dist/magma-components/{p-b4856322.entry.js → p-5fe812ee.entry.js} +1 -1
- package/dist/magma-components/{p-03441f69.entry.js → p-618f8dc9.entry.js} +1 -1
- package/dist/magma-components/{p-34183ce3.entry.js → p-61fb9286.entry.js} +1 -1
- package/dist/magma-components/{p-6443e40f.entry.js → p-63a53b4d.entry.js} +1 -1
- package/dist/magma-components/{p-52b73a95.system.entry.js → p-6436bfa8.system.entry.js} +2 -2
- package/dist/magma-components/{p-73f22a7d.entry.js → p-648d77bc.entry.js} +1 -1
- package/dist/magma-components/p-65acd2e8.entry.js +1 -0
- package/dist/magma-components/{p-5b5d57b0.system.entry.js → p-65ed7a0f.system.entry.js} +7 -5
- package/dist/magma-components/p-67e30158.entry.js +1 -0
- package/dist/magma-components/{p-68d83e18.system.entry.js → p-6864cc54.system.entry.js} +1 -1
- package/dist/magma-components/{p-aa601247.system.entry.js → p-69afe21e.system.entry.js} +2 -2
- package/dist/magma-components/{p-1686b36a.entry.js → p-6ac46e2f.entry.js} +1 -1
- package/dist/magma-components/{p-09675899.entry.js → p-6b84c7a7.entry.js} +1 -1
- package/dist/magma-components/p-6ba8b2d6.entry.js +1 -0
- package/dist/magma-components/{p-8928d9b5.system.entry.js → p-6c68fbe9.system.entry.js} +2 -2
- package/dist/magma-components/{p-c67655fa.entry.js → p-6cca1d61.entry.js} +1 -1
- package/dist/magma-components/{p-ea93721d.entry.js → p-6e5b15c5.entry.js} +1 -1
- package/dist/magma-components/{p-303173d5.system.entry.js → p-6e8b3c36.system.entry.js} +3 -3
- package/dist/magma-components/{p-bd4ad8c7.entry.js → p-6f7d6a3e.entry.js} +1 -1
- package/dist/magma-components/{p-06ba1f71.system.entry.js → p-70a065dc.system.entry.js} +2 -2
- package/dist/magma-components/{p-4564e7ad.entry.js → p-70a83504.entry.js} +1 -1
- package/dist/magma-components/p-71d171a8.entry.js +1 -0
- package/dist/magma-components/{p-5c4aed7e.entry.js → p-71f650fe.entry.js} +1 -1
- package/dist/magma-components/{p-7cfa2415.system.entry.js → p-73ddade8.system.entry.js} +1 -1
- package/dist/magma-components/p-73efbc7a.entry.js +1 -0
- package/dist/magma-components/p-76fb49a1.system.entry.js +11 -0
- package/dist/magma-components/{p-6d7e8240.system.entry.js → p-795215a4.system.entry.js} +1 -1
- package/dist/magma-components/{p-1db5ab39.entry.js → p-79f36661.entry.js} +1 -1
- package/dist/magma-components/{p-3ccc1c10.entry.js → p-79f6c73e.entry.js} +1 -1
- package/dist/magma-components/{p-2e5684a0.system.entry.js → p-7cb4260c.system.entry.js} +2 -2
- package/dist/magma-components/{p-a33a235e.entry.js → p-7cec80c9.entry.js} +1 -1
- package/dist/magma-components/{p-d1751ff6.entry.js → p-7e717a2b.entry.js} +1 -1
- package/dist/magma-components/{p-c2a883b0.system.entry.js → p-8329caf9.system.entry.js} +1 -1
- package/dist/magma-components/p-85389823.system.entry.js +82 -0
- package/dist/magma-components/{p-16a7e26a.system.entry.js → p-86050b72.system.entry.js} +1 -1
- package/dist/magma-components/{p-4bb45501.entry.js → p-88a7d026.entry.js} +1 -1
- package/dist/magma-components/p-89d47be8.system.entry.js +7 -0
- package/dist/magma-components/p-89eb7b19.entry.js +1 -0
- package/dist/magma-components/{p-03a2f4e7.system.entry.js → p-8a3626c7.system.entry.js} +1 -1
- package/dist/magma-components/{p-9e3c1c28.system.entry.js → p-8e195423.system.entry.js} +5 -5
- package/dist/magma-components/{p-522968d1.system.entry.js → p-907d8111.system.entry.js} +1 -1
- package/dist/magma-components/{p-e66db408.entry.js → p-907dd338.entry.js} +1 -1
- package/dist/magma-components/p-9282b1eb.system.entry.js +60 -0
- package/dist/magma-components/p-92a8391c.entry.js +1 -0
- package/dist/magma-components/{p-01d6d5a5.system.entry.js → p-94b46388.system.entry.js} +2 -2
- package/dist/magma-components/{p-b7d90310.entry.js → p-95f07748.entry.js} +1 -1
- package/dist/magma-components/p-97d431f3.system.entry.js +1 -0
- package/dist/magma-components/{p-ca0f3549.entry.js → p-98048238.entry.js} +1 -1
- package/dist/magma-components/{p-b47c444e.system.entry.js → p-9905ebcf.system.entry.js} +2 -2
- package/dist/magma-components/{p-aa86018e.system.entry.js → p-990b3146.system.entry.js} +2 -2
- package/dist/magma-components/p-9b10fdcb.system.entry.js +27 -0
- package/dist/magma-components/{p-8e471af5.entry.js → p-9b4daea1.entry.js} +1 -1
- package/dist/magma-components/{p-11543f44.system.entry.js → p-9c617430.system.entry.js} +4 -4
- package/dist/magma-components/p-9f58805c.system.entry.js +13 -0
- package/dist/magma-components/{p-c3cfbc71.system.entry.js → p-9f653320.system.entry.js} +2 -2
- package/dist/magma-components/{p-1d101083.system.entry.js → p-9fa41a55.system.entry.js} +1 -1
- package/dist/magma-components/{p-a9d100e5.system.entry.js → p-9fac94ff.system.entry.js} +3 -3
- package/dist/{components/p-CtEHhdv4.js → magma-components/p-B0SxTwF4.js} +1 -1
- package/dist/magma-components/p-B6OZspN1.system.js +5 -0
- package/dist/magma-components/p-BQhu9Pch.js +3 -0
- package/dist/magma-components/{p-EhfbAdzV.system.js → p-BfmjlcJL.system.js} +3 -3
- package/dist/magma-components/{p-B6f9M1Bj.system.js → p-BhMNGZjh.system.js} +13 -4
- package/dist/magma-components/{p-BAW1DAbr.system.js → p-CJcKfFM1.system.js} +2 -2
- package/dist/magma-components/{p-H8sVzFTL.js → p-CV9cS5S1.js} +1 -1
- package/dist/magma-components/{p-DGfoeZMw.system.js → p-C_jcGVti.system.js} +2 -2
- package/dist/magma-components/{p-BXkIXROP.js → p-DCJuMTY7.js} +1 -1
- package/dist/magma-components/{p-BkfGbFba.js → p-DDMAJPbm.js} +2 -2
- package/dist/magma-components/{p-CyPLJo0p.system.js → p-DJ5-T3cU.system.js} +1 -1
- package/dist/magma-components/{p-CzZWts7L.system.js → p-DQfleYtv.system.js} +23 -16
- package/dist/magma-components/{p-D5Yayq7E.system.js → p-Djd8g56b.system.js} +1 -1
- package/dist/magma-components/p-Pwyk_BKp.js +1 -0
- package/dist/magma-components/{p-98a3802b.system.entry.js → p-a0b8c130.system.entry.js} +1 -1
- package/dist/magma-components/{p-03285704.entry.js → p-a1085d6b.entry.js} +1 -1
- package/dist/magma-components/{p-73a6ee3b.system.entry.js → p-a4dcc327.system.entry.js} +1 -1
- package/dist/magma-components/{p-a190c325.system.entry.js → p-a6e82aa7.system.entry.js} +2 -2
- package/dist/magma-components/{p-b20f811b.system.entry.js → p-a738797b.system.entry.js} +2 -2
- package/dist/magma-components/{p-0c8dd132.entry.js → p-a754bd25.entry.js} +1 -1
- package/dist/magma-components/p-a77cbe57.system.entry.js +55 -0
- package/dist/magma-components/{p-778a46fa.entry.js → p-a7cc7459.entry.js} +1 -1
- package/dist/magma-components/p-a90c4a11.entry.js +1 -0
- package/dist/magma-components/{p-bca909d9.entry.js → p-aa65dfb2.entry.js} +1 -1
- package/dist/magma-components/p-ad438b7b.system.entry.js +33 -0
- package/dist/magma-components/{p-6de384d0.system.entry.js → p-adecc08e.system.entry.js} +1 -1
- package/dist/magma-components/{p-009e4359.system.entry.js → p-b27af8ba.system.entry.js} +111 -111
- package/dist/magma-components/{p-cc5518b1.entry.js → p-b2b0f738.entry.js} +1 -1
- package/dist/magma-components/{p-913123e6.entry.js → p-b3aca1fa.entry.js} +1 -1
- package/dist/magma-components/{p-d7813f9b.system.entry.js → p-b440fd7b.system.entry.js} +1 -1
- package/dist/magma-components/{p-3d0578a7.entry.js → p-b4afd3c7.entry.js} +1 -1
- package/dist/magma-components/p-b51ed8f6.entry.js +1 -0
- package/dist/magma-components/{p-70cf2c28.entry.js → p-b6239109.entry.js} +1 -1
- package/dist/magma-components/{p-1e5d4854.system.entry.js → p-b7a16ade.system.entry.js} +2 -2
- package/dist/magma-components/p-b98025cb.system.entry.js +34 -0
- package/dist/magma-components/p-ba6bb2f1.entry.js +1 -0
- package/dist/magma-components/p-ba7f5d01.system.entry.js +1 -0
- package/dist/magma-components/{p-c2d9cf4e.system.entry.js → p-bb3dcd13.system.entry.js} +1 -1
- package/dist/magma-components/p-bb7b5f5e.entry.js +1 -0
- package/dist/magma-components/p-bc0fe932.system.entry.js +7 -0
- package/dist/magma-components/p-be4ff85e.entry.js +1 -0
- package/dist/magma-components/{p-e497f0db.entry.js → p-bfdfba19.entry.js} +1 -1
- package/dist/magma-components/{p-af1a93c6.system.entry.js → p-c021e9a3.system.entry.js} +2 -2
- package/dist/magma-components/{p-cfb153b8.entry.js → p-c082daa4.entry.js} +1 -1
- package/dist/magma-components/{p-1784d5fb.entry.js → p-c28c1c09.entry.js} +1 -1
- package/dist/magma-components/{p-275d7968.system.entry.js → p-c31ba98a.system.entry.js} +14 -14
- package/dist/magma-components/p-c4b498d4.entry.js +1 -0
- package/dist/magma-components/{p-e160e4e1.entry.js → p-c5321c72.entry.js} +1 -1
- package/dist/magma-components/{p-ede31d27.system.entry.js → p-c878eef8.system.entry.js} +2 -2
- package/dist/magma-components/{p-555bd3f8.system.entry.js → p-c8822563.system.entry.js} +2 -2
- package/dist/magma-components/p-cc51ab16.system.entry.js +16 -0
- package/dist/magma-components/{p-f2e5a2c7.system.entry.js → p-cd396f69.system.entry.js} +1 -1
- package/dist/magma-components/{p-a00805cd.system.entry.js → p-d05073ed.system.entry.js} +6 -6
- package/dist/magma-components/{p-270e9afa.entry.js → p-d34cc848.entry.js} +1 -1
- package/dist/magma-components/{p-3fb983e9.system.entry.js → p-d4ca0c40.system.entry.js} +1 -1
- package/dist/magma-components/{p-757c3420.entry.js → p-d52948de.entry.js} +1 -1
- package/dist/magma-components/{p-c5b7f820.system.entry.js → p-d579a012.system.entry.js} +1 -1
- package/dist/magma-components/{p-14f60718.system.entry.js → p-d5bef373.system.entry.js} +1 -1
- package/dist/magma-components/{p-b18b0088.system.entry.js → p-d666a86c.system.entry.js} +1 -1
- package/dist/magma-components/{p-f5c82548.system.entry.js → p-d6934fc0.system.entry.js} +1 -1
- package/dist/magma-components/{p-0760e8a4.entry.js → p-d69ddd73.entry.js} +1 -1
- package/dist/magma-components/{p-eb4f76d8.system.entry.js → p-d7c5f9ec.system.entry.js} +7 -7
- package/dist/magma-components/p-d8ac0d1f.system.entry.js +16 -0
- package/dist/magma-components/{p-9be80c34.entry.js → p-d8c068be.entry.js} +1 -1
- package/dist/magma-components/{p-2289423c.system.entry.js → p-d9edc7f8.system.entry.js} +1 -1
- package/dist/magma-components/p-da4915d0.entry.js +1 -0
- package/dist/magma-components/{p-73b0b35f.system.entry.js → p-dc99e9a9.system.entry.js} +2 -2
- package/dist/magma-components/{p-c0c69807.system.entry.js → p-dd621963.system.entry.js} +1 -1
- package/dist/magma-components/{p-11ee7089.system.entry.js → p-dfc31d2e.system.entry.js} +2 -2
- package/dist/magma-components/p-e5b22a99.system.entry.js +48 -0
- package/dist/magma-components/p-e6500bfe.system.entry.js +29 -0
- package/dist/magma-components/{p-62e42a62.entry.js → p-e88a43ac.entry.js} +1 -1
- package/dist/magma-components/{p-3b41f929.entry.js → p-e9f821a0.entry.js} +1 -1
- package/dist/magma-components/{p-ac401f1a.entry.js → p-ec1b38c7.entry.js} +1 -1
- package/dist/magma-components/{p-ee65f0eb.system.entry.js → p-eec2ae5c.system.entry.js} +2 -2
- package/dist/magma-components/{p-78cced59.entry.js → p-efb4357e.entry.js} +1 -1
- package/dist/magma-components/{p-586878a2.system.entry.js → p-f02972ba.system.entry.js} +4 -4
- package/dist/magma-components/{p-ddc31c50.entry.js → p-f07777b0.entry.js} +1 -1
- package/dist/magma-components/{p-478bbfdb.entry.js → p-f0fd6414.entry.js} +1 -1
- package/dist/magma-components/p-f1d263fa.system.entry.js +137 -0
- package/dist/magma-components/{p-cfcb8bb5.entry.js → p-f43ee21d.entry.js} +1 -1
- package/dist/magma-components/{p-e84361ee.system.entry.js → p-f5ea4c19.system.entry.js} +12 -6
- package/dist/magma-components/{p-4e4dd1c1.system.entry.js → p-f6256d26.system.entry.js} +2 -2
- package/dist/magma-components/{p-8aa6524e.entry.js → p-f62ea4bc.entry.js} +1 -1
- package/dist/magma-components/{p-18421a84.entry.js → p-f6638f03.entry.js} +1 -1
- package/dist/magma-components/{p-41829c15.system.entry.js → p-f895695a.system.entry.js} +2 -2
- package/dist/magma-components/{p-a075c069.entry.js → p-fa8482c0.entry.js} +1 -1
- package/dist/magma-components/{p-857e893e.system.entry.js → p-fafb8e7b.system.entry.js} +3 -3
- package/dist/magma-components/{p-d1281855.system.entry.js → p-fb3b659c.system.entry.js} +5 -5
- package/dist/magma-components/{p-1f756317.entry.js → p-fc167181.entry.js} +1 -1
- package/dist/magma-components/{p-33172d6f.system.entry.js → p-fc7b9e5b.system.entry.js} +11 -8
- package/dist/magma-components/p-fc9a8862.entry.js +1 -0
- package/dist/magma-components/{p-9b00051f.system.entry.js → p-fe6100ff.system.entry.js} +1 -1
- package/dist/magma-components/{p-d173ae2f.system.entry.js → p-fe64c49c.system.entry.js} +1 -1
- package/dist/magma-components/{p-f3041712.entry.js → p-fe9a8ca1.entry.js} +1 -1
- package/dist/mcp/checks.js +32 -13
- package/dist/mcp/patterns.js +1 -1
- package/dist/mcp/tools.json +1 -1
- package/dist/stats.json +2945 -2661
- package/dist/types/common/navigation.d.ts +12 -2
- package/dist/types/components/mds-button/mds-button.d.ts +13 -0
- package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +7 -0
- package/dist/types/components/mds-img/mds-img.d.ts +13 -3
- package/dist/types/components/mds-img/meta/storybook.d.ts +11 -0
- package/dist/types/components/mds-img/meta/types.d.ts +2 -0
- 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-link/mds-link.d.ts +13 -0
- package/dist/types/components/mds-stepper-bar/mds-stepper-bar.d.ts +0 -1
- package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +10 -1
- package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +5 -3
- package/dist/types/components.d.ts +62 -8
- package/dist/types/fixtures/states.d.ts +33 -0
- package/package.json +9 -8
- package/dist/components/p-B3npFzUR.js +0 -1
- package/dist/components/p-BD9VWE7b.js +0 -1
- package/dist/components/p-Bg11_7lt.js +0 -1
- package/dist/components/p-C589Hkfn.js +0 -1
- package/dist/components/p-C878c9Nu.js +0 -1
- package/dist/components/p-CS8s4gRV.js +0 -1
- package/dist/components/p-CfCw1XZP.js +0 -1
- package/dist/components/p-Cs80Zm2b.js +0 -8
- package/dist/components/p-Cty6fegI.js +0 -1
- package/dist/components/p-DKYN6Ikh.js +0 -1
- package/dist/components/p-MjWyZlga.js +0 -1
- package/dist/components/p-To9IeLHs.js +0 -1
- package/dist/components/p-VoGfNJRY.js +0 -1
- package/dist/components/p-g2_CekDc.js +0 -3
- package/dist/magma-components/p-09537867.entry.js +0 -1
- package/dist/magma-components/p-0a914567.entry.js +0 -1
- package/dist/magma-components/p-0e7bb90b.system.entry.js +0 -127
- package/dist/magma-components/p-10a68a4d.system.entry.js +0 -7
- package/dist/magma-components/p-193b58d0.entry.js +0 -1
- package/dist/magma-components/p-19f3b524.system.entry.js +0 -55
- package/dist/magma-components/p-2100343f.entry.js +0 -1
- package/dist/magma-components/p-211b2675.system.entry.js +0 -1
- package/dist/magma-components/p-26aad538.entry.js +0 -1
- package/dist/magma-components/p-28ecae1e.system.entry.js +0 -16
- package/dist/magma-components/p-2aa3e73a.system.entry.js +0 -13
- package/dist/magma-components/p-2c64ec7e.entry.js +0 -1
- package/dist/magma-components/p-35a77756.entry.js +0 -1
- package/dist/magma-components/p-37172440.entry.js +0 -1
- package/dist/magma-components/p-3d45d7a7.entry.js +0 -1
- package/dist/magma-components/p-4082973c.system.entry.js +0 -30
- package/dist/magma-components/p-4242100c.entry.js +0 -1
- package/dist/magma-components/p-430239ca.entry.js +0 -8
- package/dist/magma-components/p-478e6930.entry.js +0 -1
- package/dist/magma-components/p-4e431466.entry.js +0 -1
- package/dist/magma-components/p-533bb401.system.entry.js +0 -60
- package/dist/magma-components/p-6619b3c0.system.entry.js +0 -34
- package/dist/magma-components/p-67fa6fd7.entry.js +0 -1
- package/dist/magma-components/p-6fb17347.system.entry.js +0 -1
- package/dist/magma-components/p-6fdf3b37.entry.js +0 -1
- package/dist/magma-components/p-73596a07.entry.js +0 -1
- package/dist/magma-components/p-73c0b53e.system.entry.js +0 -82
- package/dist/magma-components/p-7caf244b.system.entry.js +0 -7
- package/dist/magma-components/p-851010c6.system.entry.js +0 -25
- package/dist/magma-components/p-8acbf50a.entry.js +0 -1
- package/dist/magma-components/p-96ece2cc.system.entry.js +0 -27
- package/dist/magma-components/p-96f66b8f.entry.js +0 -1
- package/dist/magma-components/p-B7Jp0tqu.system.js +0 -5
- package/dist/magma-components/p-CPibDZjX.js +0 -3
- package/dist/magma-components/p-To9IeLHs.js +0 -1
- package/dist/magma-components/p-a025b35b.entry.js +0 -1
- package/dist/magma-components/p-a02819e3.entry.js +0 -1
- package/dist/magma-components/p-a0764f01.entry.js +0 -1
- package/dist/magma-components/p-ab920e0b.entry.js +0 -1
- package/dist/magma-components/p-ad6b5fc1.system.entry.js +0 -16
- package/dist/magma-components/p-b0406c51.entry.js +0 -1
- package/dist/magma-components/p-ba148b89.system.entry.js +0 -23
- package/dist/magma-components/p-bbbf8b89.system.entry.js +0 -29
- package/dist/magma-components/p-c6cab2cb.entry.js +0 -1
- package/dist/magma-components/p-c6f56934.entry.js +0 -1
- package/dist/magma-components/p-cf8cfcac.system.entry.js +0 -10
- package/dist/magma-components/p-d5dec64d.entry.js +0 -1
- package/dist/magma-components/p-ee247029.system.entry.js +0 -9
- package/dist/magma-components/p-f3f1da06.system.entry.js +0 -39
- package/dist/magma-components/p-f9d2316a.entry.js +0 -1
- package/dist/magma-components/p-fe4ae251.entry.js +0 -1
- package/dist/magma-components/p-ffcfa9e3.system.entry.js +0 -11
|
@@ -329,16 +329,28 @@ export const situationsMatching = (pattern, known) => {
|
|
|
329
329
|
const ID = /^[a-z0-9]+(-[a-z0-9]+)*$/;
|
|
330
330
|
const isString = (value) => typeof value === 'string' && value !== '';
|
|
331
331
|
const isStringList = (value) => Array.isArray(value) && value.every(isString);
|
|
332
|
+
/** The `tag attribute=value ...` of an entry, whichever its form. */
|
|
333
|
+
export const useOf = (item) => (typeof item === 'string' ? item : item.use);
|
|
334
|
+
/** An attribute of a use after the tag: a name, its value or a placeholder in angle brackets. */
|
|
335
|
+
const USE_ATTRIBUTE = /\s+([a-z][a-z0-9-]*)(?:=(<[^<>|]+>|[^\s<>|]+))?(?=\s|$)/y;
|
|
332
336
|
export const parseUse = (use) => {
|
|
333
|
-
const
|
|
334
|
-
|
|
337
|
+
const text = use.trim();
|
|
338
|
+
const tag = /^mds-[a-z0-9-]+(?=\s|$)/.exec(text)?.[0];
|
|
339
|
+
if (!tag)
|
|
335
340
|
return undefined;
|
|
336
341
|
const attributes = [];
|
|
337
|
-
for (
|
|
338
|
-
|
|
342
|
+
for (let at = tag.length; at < text.length;) {
|
|
343
|
+
USE_ATTRIBUTE.lastIndex = at;
|
|
344
|
+
const match = USE_ATTRIBUTE.exec(text);
|
|
339
345
|
if (!match)
|
|
340
346
|
return undefined;
|
|
341
|
-
|
|
347
|
+
at = USE_ATTRIBUTE.lastIndex;
|
|
348
|
+
const [, name, value] = match;
|
|
349
|
+
attributes.push(value === undefined
|
|
350
|
+
? { name: name }
|
|
351
|
+
: value.startsWith('<')
|
|
352
|
+
? { name: name, value, placeholder: true }
|
|
353
|
+
: { name: name, value });
|
|
342
354
|
}
|
|
343
355
|
return { tag, attributes };
|
|
344
356
|
};
|
|
@@ -518,12 +530,28 @@ export const formatErrors = ({ file, data }) => {
|
|
|
518
530
|
if (!isString(one?.where))
|
|
519
531
|
say(`${label}: where is required`);
|
|
520
532
|
if (one?.use !== undefined) {
|
|
521
|
-
if (!
|
|
522
|
-
say(`${label}: use is a list of "tag attribute=value"`);
|
|
533
|
+
if (!Array.isArray(one.use))
|
|
534
|
+
say(`${label}: use is a list of { role, use }, or of "tag attribute=value"`);
|
|
523
535
|
else
|
|
524
|
-
for (const
|
|
525
|
-
|
|
526
|
-
|
|
536
|
+
for (const [index, item] of one.use.entries()) {
|
|
537
|
+
const at = `${label}: use ${index + 1}`;
|
|
538
|
+
if (item && typeof item === 'object' && !Array.isArray(item)) {
|
|
539
|
+
const entry = item;
|
|
540
|
+
for (const key of Object.keys(entry))
|
|
541
|
+
if (key !== 'role' && key !== 'use')
|
|
542
|
+
say(`${at} has an unknown field ${key}`);
|
|
543
|
+
if (!isString(entry.role))
|
|
544
|
+
say(`${at}: role is required: what the part does in the case`);
|
|
545
|
+
if (!isString(entry.use))
|
|
546
|
+
say(`${at}: use is required: "mds-tag attribute=value ..."`);
|
|
547
|
+
else if (!parseUse(entry.use))
|
|
548
|
+
say(`${at}: "${entry.use}" is not "mds-tag attribute=value ..."`);
|
|
549
|
+
}
|
|
550
|
+
else if (!isString(item))
|
|
551
|
+
say(`${at} is { role, use }, or "tag attribute=value"`);
|
|
552
|
+
else if (!parseUse(item))
|
|
553
|
+
say(`${label}: use "${item}" is not "mds-tag attribute=value ..."`);
|
|
554
|
+
}
|
|
527
555
|
}
|
|
528
556
|
for (const key of ['see', 'magma-gap'])
|
|
529
557
|
if (one?.[key] !== undefined && !isString(one[key]))
|
|
@@ -717,15 +745,19 @@ const situationErrors = (situations, label, say, block) => {
|
|
|
717
745
|
}
|
|
718
746
|
};
|
|
719
747
|
/* ---- the data of the release -------------------------------------------------------- */
|
|
720
|
-
/**
|
|
721
|
-
|
|
748
|
+
/**
|
|
749
|
+
* Global attributes a `use` may set on any component: those of the HTML Living Standard,
|
|
750
|
+
* "Global attributes", a case writes (`autofocus` on the safe choice of a dialog, #1396), ARIA
|
|
751
|
+
* and `data-*`.
|
|
752
|
+
*/
|
|
753
|
+
const GLOBAL_ATTRIBUTE = /^(slot|role|id|title|lang|dir|hidden|tabindex|autofocus|aria-[a-z]+|data-[a-z-]+)$/;
|
|
722
754
|
/** What a component and its attributes lack in the release: the tag, an attribute, a value it takes; a deprecated attribute. */
|
|
723
755
|
const useErrors = (use, components) => {
|
|
724
756
|
const component = components.get(use.tag);
|
|
725
757
|
if (!component)
|
|
726
758
|
return [`${use.tag} is not a component of this release`];
|
|
727
759
|
const errors = [];
|
|
728
|
-
for (const { name, value } of use.attributes) {
|
|
760
|
+
for (const { name, value, placeholder } of use.attributes) {
|
|
729
761
|
if (GLOBAL_ATTRIBUTE.test(name))
|
|
730
762
|
continue;
|
|
731
763
|
const prop = component.props.get(name);
|
|
@@ -737,6 +769,14 @@ const useErrors = (use, components) => {
|
|
|
737
769
|
errors.push(`${name} of ${use.tag} is deprecated: ${prop.deprecation}`);
|
|
738
770
|
if (value === undefined)
|
|
739
771
|
continue;
|
|
772
|
+
if (placeholder) {
|
|
773
|
+
// a placeholder says what the application writes there: its text, or the value it
|
|
774
|
+
// chooses among those a prop takes (the number of pages, the tone of a status: the
|
|
775
|
+
// maintainer's choice on #1396); a boolean is there or not
|
|
776
|
+
if (prop.boolean && !prop.values?.length)
|
|
777
|
+
errors.push(`${name} of ${use.tag} is a boolean: write it bare`);
|
|
778
|
+
continue;
|
|
779
|
+
}
|
|
740
780
|
if (prop.boolean && !prop.values?.length)
|
|
741
781
|
errors.push(`${name} of ${use.tag} is a boolean: write it bare`);
|
|
742
782
|
else if (prop.values && !prop.values.includes(value))
|
|
@@ -757,8 +797,8 @@ export const componentErrors = (pattern, components) => {
|
|
|
757
797
|
...(pattern.regions ?? []).map((one) => [`region ${one.id}`, one.use]),
|
|
758
798
|
];
|
|
759
799
|
for (const [label, list] of uses)
|
|
760
|
-
for (const
|
|
761
|
-
const use = parseUse(
|
|
800
|
+
for (const item of list ?? []) {
|
|
801
|
+
const use = parseUse(useOf(item));
|
|
762
802
|
if (!use)
|
|
763
803
|
continue;
|
|
764
804
|
if (components.has(use.tag) && !listed.has(use.tag))
|
|
@@ -767,6 +807,350 @@ export const componentErrors = (pattern, components) => {
|
|
|
767
807
|
}
|
|
768
808
|
return errors;
|
|
769
809
|
};
|
|
810
|
+
/** The states of WAI-ARIA 1.2: the attributes it calls "state" rather than "property". */
|
|
811
|
+
const ARIA_STATES = new Set([
|
|
812
|
+
'aria-busy',
|
|
813
|
+
'aria-checked',
|
|
814
|
+
'aria-current',
|
|
815
|
+
'aria-disabled',
|
|
816
|
+
'aria-expanded',
|
|
817
|
+
'aria-grabbed',
|
|
818
|
+
'aria-hidden',
|
|
819
|
+
'aria-invalid',
|
|
820
|
+
'aria-pressed',
|
|
821
|
+
'aria-selected',
|
|
822
|
+
]);
|
|
823
|
+
/** The properties of WAI-ARIA 1.2 whose value type is string. */
|
|
824
|
+
const ARIA_TEXT = new Set([
|
|
825
|
+
'aria-keyshortcuts',
|
|
826
|
+
'aria-label',
|
|
827
|
+
'aria-placeholder',
|
|
828
|
+
'aria-roledescription',
|
|
829
|
+
'aria-valuetext',
|
|
830
|
+
]);
|
|
831
|
+
/** The properties of WAI-ARIA 1.2 whose value type is ID reference or ID reference list. */
|
|
832
|
+
const ARIA_IDS = new Set([
|
|
833
|
+
'aria-activedescendant',
|
|
834
|
+
'aria-controls',
|
|
835
|
+
'aria-describedby',
|
|
836
|
+
'aria-details',
|
|
837
|
+
'aria-errormessage',
|
|
838
|
+
'aria-flowto',
|
|
839
|
+
'aria-labelledby',
|
|
840
|
+
'aria-owns',
|
|
841
|
+
]);
|
|
842
|
+
/** The global attributes a case decides. */
|
|
843
|
+
const CASE_GLOBALS = new Set(['slot', 'role', 'tabindex', 'autofocus']);
|
|
844
|
+
/** The attributes that wire the application, whatever the component. */
|
|
845
|
+
const APPLICATION = new Set(['id', 'name', 'value']);
|
|
846
|
+
export const attributeKind = (tag, name, components) => {
|
|
847
|
+
if (name === 'class' || name === 'style' || name.startsWith('data-'))
|
|
848
|
+
return 'layout';
|
|
849
|
+
if (APPLICATION.has(name) || ARIA_IDS.has(name))
|
|
850
|
+
return 'application';
|
|
851
|
+
if (ARIA_STATES.has(name) || name === 'hidden')
|
|
852
|
+
return 'state';
|
|
853
|
+
if (ARIA_TEXT.has(name))
|
|
854
|
+
return 'text';
|
|
855
|
+
if (CASE_GLOBALS.has(name) || name.startsWith('aria-'))
|
|
856
|
+
return 'case';
|
|
857
|
+
const prop = components.get(tag)?.props.get(name);
|
|
858
|
+
if (!prop)
|
|
859
|
+
return 'text';
|
|
860
|
+
if (prop.values?.length || prop.number)
|
|
861
|
+
return 'case';
|
|
862
|
+
if (prop.boolean)
|
|
863
|
+
return prop.mutable ? 'state' : 'case';
|
|
864
|
+
return 'text';
|
|
865
|
+
};
|
|
866
|
+
/** A boolean attribute of a case that takes no value: written bare, compared by its presence. */
|
|
867
|
+
const isBare = (tag, name, components) => {
|
|
868
|
+
if (name === 'autofocus')
|
|
869
|
+
return true;
|
|
870
|
+
const prop = components.get(tag)?.props.get(name);
|
|
871
|
+
return !!prop?.boolean && !prop.values?.length;
|
|
872
|
+
};
|
|
873
|
+
/** An attribute that may be written bare: a boolean, also one that takes values (`current`, bare or `section`). */
|
|
874
|
+
const takesBare = (tag, name, components) => name === 'autofocus' || !!components.get(tag)?.props.get(name)?.boolean;
|
|
875
|
+
/**
|
|
876
|
+
* What a use of a pattern or a block of Magma writes wrong (#1396): every entry of a case has
|
|
877
|
+
* its role, and every attribute is written as its kind asks (attributeKind). A product's own
|
|
878
|
+
* pattern and a domain of the design language are not held to it: their use stays
|
|
879
|
+
* `tag attribute=value` (for the domains, until #1406 decides theirs).
|
|
880
|
+
*/
|
|
881
|
+
export const magmaUseErrors = (pattern, components) => {
|
|
882
|
+
if (pattern.layer !== MAGMA_LAYER || pattern.kind === DESIGN_LANGUAGE)
|
|
883
|
+
return [];
|
|
884
|
+
const errors = [];
|
|
885
|
+
const attributes = (label, text) => {
|
|
886
|
+
const use = parseUse(text);
|
|
887
|
+
if (!use)
|
|
888
|
+
return;
|
|
889
|
+
for (const { name, value, placeholder } of use.attributes) {
|
|
890
|
+
const at = `${label}: ${name} of ${use.tag}`;
|
|
891
|
+
// a placeholder on a prop is reported by componentErrors, for a product's pattern too
|
|
892
|
+
const global = !components.get(use.tag)?.props.has(name);
|
|
893
|
+
switch (attributeKind(use.tag, name, components)) {
|
|
894
|
+
case 'layout':
|
|
895
|
+
errors.push(`${at} belongs to the stage: a use leaves it out`);
|
|
896
|
+
break;
|
|
897
|
+
case 'application':
|
|
898
|
+
errors.push(`${at} is the application's: a use leaves it out`);
|
|
899
|
+
break;
|
|
900
|
+
case 'text':
|
|
901
|
+
if (!placeholder)
|
|
902
|
+
errors.push(`${at} is the application's text: write ${name}=<what it holds>, or leave it out`);
|
|
903
|
+
break;
|
|
904
|
+
case 'state':
|
|
905
|
+
if (placeholder && global)
|
|
906
|
+
errors.push(`${at} is a state: write it, or leave it out`);
|
|
907
|
+
break;
|
|
908
|
+
case 'case':
|
|
909
|
+
if ((placeholder && global) ||
|
|
910
|
+
(value === undefined && !takesBare(use.tag, name, components)))
|
|
911
|
+
errors.push(`${at} is the case's to decide: write its value`);
|
|
912
|
+
}
|
|
913
|
+
}
|
|
914
|
+
};
|
|
915
|
+
for (const one of pattern.cases ?? [])
|
|
916
|
+
for (const [index, item] of (one.use ?? []).entries()) {
|
|
917
|
+
if (typeof item === 'string')
|
|
918
|
+
errors.push(`case ${one.id}: use ${index + 1} has no role: write { role, use }, what the part does in the case`);
|
|
919
|
+
attributes(`case ${one.id}`, useOf(item));
|
|
920
|
+
}
|
|
921
|
+
for (const one of pattern.regions ?? [])
|
|
922
|
+
for (const text of one.use ?? [])
|
|
923
|
+
attributes(`region ${one.id}`, text);
|
|
924
|
+
return errors;
|
|
925
|
+
};
|
|
926
|
+
/**
|
|
927
|
+
* The marker of the stage in a preview (#1396, the maintainer's choice on 2026-11-13): the
|
|
928
|
+
* element that carries it, and everything inside it, is the context of the case (the list a
|
|
929
|
+
* toast speaks of, the fields of a form), not its solution. It goes on the outermost element
|
|
930
|
+
* of each piece of the stage; a stage that is all solution (a dialog) has none. The previews
|
|
931
|
+
* ship with it, so an agent that reads the markup tells the context from the solution too.
|
|
932
|
+
* With the value `frame`, only the element is the stage (STAGE_FRAME).
|
|
933
|
+
*/
|
|
934
|
+
export const STAGE_MARKER = 'data-stage';
|
|
935
|
+
/**
|
|
936
|
+
* `data-stage="frame"`: only the element is the stage, what it holds goes on as the solution
|
|
937
|
+
* (the dialog of another case around the parts of a block, the maintainer's choice on #1396).
|
|
938
|
+
*/
|
|
939
|
+
export const STAGE_FRAME = 'frame';
|
|
940
|
+
/** A marker of the stage with a value it does not take: bare, or frame. */
|
|
941
|
+
export const stageErrors = (root) => {
|
|
942
|
+
const errors = [];
|
|
943
|
+
const walk = (node) => {
|
|
944
|
+
for (const child of node.children ?? node.body ?? []) {
|
|
945
|
+
for (const one of child.attributes ?? [])
|
|
946
|
+
if (one.key.value.toLowerCase() === STAGE_MARKER &&
|
|
947
|
+
one.value !== undefined &&
|
|
948
|
+
one.value.value !== '' &&
|
|
949
|
+
one.value.value !== STAGE_FRAME)
|
|
950
|
+
errors.push(`${STAGE_MARKER}="${one.value.value}" on <${child.name}>: write it bare (the element and what it holds) or ${STAGE_MARKER}="${STAGE_FRAME}" (the element only)`);
|
|
951
|
+
walk(child);
|
|
952
|
+
}
|
|
953
|
+
};
|
|
954
|
+
walk(root);
|
|
955
|
+
return errors;
|
|
956
|
+
};
|
|
957
|
+
/** The solution a stage shows: every component outside the elements marked as the stage. */
|
|
958
|
+
export const solutionOf = (root) => {
|
|
959
|
+
const parts = [];
|
|
960
|
+
const walk = (node) => {
|
|
961
|
+
for (const child of node.children ?? node.body ?? []) {
|
|
962
|
+
if (child.type === 'Document')
|
|
963
|
+
walk(child);
|
|
964
|
+
if (child.type !== 'Tag' || !child.name)
|
|
965
|
+
continue;
|
|
966
|
+
const attributes = (child.attributes ?? []).map((one) => {
|
|
967
|
+
const name = one.key.value.toLowerCase();
|
|
968
|
+
return one.value === undefined ? { name } : { name, value: one.value.value };
|
|
969
|
+
});
|
|
970
|
+
const marker = attributes.find((one) => one.name === STAGE_MARKER);
|
|
971
|
+
if (marker && marker.value !== STAGE_FRAME)
|
|
972
|
+
continue;
|
|
973
|
+
const tag = child.name.toLowerCase();
|
|
974
|
+
if (!marker && tag.startsWith('mds-'))
|
|
975
|
+
parts.push({ tag, attributes });
|
|
976
|
+
walk(child);
|
|
977
|
+
}
|
|
978
|
+
};
|
|
979
|
+
walk(root);
|
|
980
|
+
return parts;
|
|
981
|
+
};
|
|
982
|
+
/**
|
|
983
|
+
* A part as a message names it: the tag and the attributes the case decides (attributeKind),
|
|
984
|
+
* with their values, in one order; the words of the application, its wiring, the states and
|
|
985
|
+
* the layout left out.
|
|
986
|
+
*/
|
|
987
|
+
const signatureOf = (tag, attributes, components) => [
|
|
988
|
+
tag,
|
|
989
|
+
...attributes
|
|
990
|
+
.filter((one) => attributeKind(tag, one.name, components) === 'case')
|
|
991
|
+
.map((one) => one.value === undefined || one.value === '' || isBare(tag, one.name, components)
|
|
992
|
+
? one.name
|
|
993
|
+
: `${one.name}=${one.value}`)
|
|
994
|
+
.sort(),
|
|
995
|
+
].join(' ');
|
|
996
|
+
/**
|
|
997
|
+
* Whether a part of the preview is the one an entry of use names: the same tag; every attribute
|
|
998
|
+
* the case decides on the part written in the entry, with its value, or as `<what it holds>`
|
|
999
|
+
* when the application chooses it; every value the entry gives the case on the part. A boolean
|
|
1000
|
+
* the entry gives and the still stage does not show is a moment the case decides (`await` on
|
|
1001
|
+
* Send, set by the script of the preview): it is not asked of the part. A placeholder never
|
|
1002
|
+
* decides the match: what it names is asked of the parts of the entry afterwards.
|
|
1003
|
+
*/
|
|
1004
|
+
const partMatches = (entry, part, components) => {
|
|
1005
|
+
if (entry.tag !== part.tag)
|
|
1006
|
+
return false;
|
|
1007
|
+
const given = new Map(entry.attributes.map((one) => [one.name, one]));
|
|
1008
|
+
for (const { name, value } of part.attributes) {
|
|
1009
|
+
if (attributeKind(part.tag, name, components) !== 'case')
|
|
1010
|
+
continue;
|
|
1011
|
+
const written = given.get(name);
|
|
1012
|
+
if (!written)
|
|
1013
|
+
return false;
|
|
1014
|
+
if (written.placeholder || isBare(part.tag, name, components))
|
|
1015
|
+
continue;
|
|
1016
|
+
if ((written.value ?? '') !== (value ?? ''))
|
|
1017
|
+
return false;
|
|
1018
|
+
}
|
|
1019
|
+
for (const { name, placeholder } of entry.attributes) {
|
|
1020
|
+
if (placeholder || attributeKind(entry.tag, name, components) !== 'case')
|
|
1021
|
+
continue;
|
|
1022
|
+
if (isBare(entry.tag, name, components))
|
|
1023
|
+
continue;
|
|
1024
|
+
if (!part.attributes.some((one) => one.name === name))
|
|
1025
|
+
return false;
|
|
1026
|
+
}
|
|
1027
|
+
return true;
|
|
1028
|
+
};
|
|
1029
|
+
/** The name of a preview in a message: its case or situation, and the example after the first. */
|
|
1030
|
+
const previewName = (preview) => `the preview${preview.example > 1 ? ` ${preview.example}` : ''}`;
|
|
1031
|
+
/** A placeholder of an entry that none of the parts it names has: the preview gives no such text. */
|
|
1032
|
+
const placeholderErrors = (text, use, parts, preview, label) => use.attributes
|
|
1033
|
+
.filter((one) => one.placeholder &&
|
|
1034
|
+
!parts.some((part) => part.attributes.some((each) => each.name === one.name)))
|
|
1035
|
+
.map((one) => `${label}: use "${text}" writes ${one.name}, which no ${use.tag} of ${previewName(preview)} has`);
|
|
1036
|
+
/**
|
|
1037
|
+
* Where the use of a case and its preview part (#1396): the parts of the solution the preview
|
|
1038
|
+
* shows (solutionOf: every component outside the stage) and the entries of use name the same
|
|
1039
|
+
* components with the attributes the case decides (partMatches), in the order the parts first
|
|
1040
|
+
* show; a placeholder names a text the preview gives. Every example of the case is compared.
|
|
1041
|
+
*
|
|
1042
|
+
* The parts are read in the order of the markup, each given to the first entry it matches that
|
|
1043
|
+
* is not taken yet, at or after the last one taken: so two entries alike (Attach and Stop, two
|
|
1044
|
+
* buttons of one kind) take two parts in turn, and a part that matches only entries taken
|
|
1045
|
+
* before it is a repeat (the next row of a list). A part that matches only entries not taken
|
|
1046
|
+
* yet, before the last one taken, shows their order is not the preview's.
|
|
1047
|
+
*
|
|
1048
|
+
* For a situation of a building block, its preview against the regions its values show: every
|
|
1049
|
+
* part named by one of them, a required region shown; a region that is not required shows when
|
|
1050
|
+
* there is something to put in it, and its entries name alternatives (the actions), so neither
|
|
1051
|
+
* their presence nor their order is asked. The patterns and the blocks of Magma only, never a
|
|
1052
|
+
* domain (their use names what a relation writes; #1406). `parse` gives the markup as MarkupNode.
|
|
1053
|
+
*/
|
|
1054
|
+
export const previewUseErrors = (patterns, previews, parse, components) => {
|
|
1055
|
+
const { byId } = indexPatterns(patterns);
|
|
1056
|
+
const found = new Map();
|
|
1057
|
+
for (const preview of previews) {
|
|
1058
|
+
const pattern = byId.get(preview.pattern);
|
|
1059
|
+
if (!pattern ||
|
|
1060
|
+
pattern.layer !== MAGMA_LAYER ||
|
|
1061
|
+
pattern.kind === DESIGN_LANGUAGE ||
|
|
1062
|
+
pattern.status === 'candidate')
|
|
1063
|
+
continue;
|
|
1064
|
+
const root = parse(preview.markup);
|
|
1065
|
+
const errors = stageErrors(root);
|
|
1066
|
+
const parts = solutionOf(root);
|
|
1067
|
+
// a part no entry names, said once for every part of its kind
|
|
1068
|
+
const unnamed = (label, part, where) => {
|
|
1069
|
+
const message = `${label}: ${previewName(preview)} shows ${signatureOf(part.tag, part.attributes, components)}, which no ${where} (or mark it ${STAGE_MARKER})`;
|
|
1070
|
+
if (!errors.includes(message))
|
|
1071
|
+
errors.push(message);
|
|
1072
|
+
};
|
|
1073
|
+
if (pattern.kind === BLOCK) {
|
|
1074
|
+
const situation = situationsWithId(pattern).find((one) => one.id === preview.id);
|
|
1075
|
+
if (!situation)
|
|
1076
|
+
continue;
|
|
1077
|
+
const label = `situation ${situation.id}`;
|
|
1078
|
+
const known = Object.fromEntries(variableNames(pattern).flatMap((name) => {
|
|
1079
|
+
const value = situation[name];
|
|
1080
|
+
return typeof value === 'string' ? [[name, value]] : [];
|
|
1081
|
+
}));
|
|
1082
|
+
let regions;
|
|
1083
|
+
try {
|
|
1084
|
+
regions = regionsFor(pattern, known).regions;
|
|
1085
|
+
}
|
|
1086
|
+
catch {
|
|
1087
|
+
continue;
|
|
1088
|
+
}
|
|
1089
|
+
const entries = regions.flatMap((region) => (region.use ?? []).flatMap((text) => {
|
|
1090
|
+
const use = parseUse(text);
|
|
1091
|
+
return use ? [{ region, text, use, parts: [] }] : [];
|
|
1092
|
+
}));
|
|
1093
|
+
for (const part of parts) {
|
|
1094
|
+
const named = entries.filter((one) => partMatches(one.use, part, components));
|
|
1095
|
+
if (!named.length)
|
|
1096
|
+
unnamed(label, part, 'region it shows names in its use');
|
|
1097
|
+
for (const one of named)
|
|
1098
|
+
one.parts.push(part);
|
|
1099
|
+
}
|
|
1100
|
+
for (const region of regions)
|
|
1101
|
+
if (region.required &&
|
|
1102
|
+
region.use?.length &&
|
|
1103
|
+
!entries.some((one) => one.region === region && one.parts.length))
|
|
1104
|
+
errors.push(`${label}: region ${region.id} is required, and ${previewName(preview)} shows none of its use`);
|
|
1105
|
+
for (const one of entries)
|
|
1106
|
+
if (one.parts.length)
|
|
1107
|
+
errors.push(...placeholderErrors(one.text, one.use, one.parts, preview, label));
|
|
1108
|
+
}
|
|
1109
|
+
else {
|
|
1110
|
+
const one = pattern.cases?.find((each) => each.id === preview.id);
|
|
1111
|
+
if (!one)
|
|
1112
|
+
continue;
|
|
1113
|
+
const label = `case ${one.id}`;
|
|
1114
|
+
const entries = (one.use ?? []).flatMap((item) => {
|
|
1115
|
+
const text = useOf(item);
|
|
1116
|
+
const use = parseUse(text);
|
|
1117
|
+
return use ? [{ text, use, parts: [] }] : [];
|
|
1118
|
+
});
|
|
1119
|
+
let last = 0;
|
|
1120
|
+
for (const part of parts) {
|
|
1121
|
+
const fits = entries.flatMap((entry, index) => partMatches(entry.use, part, components) ? [index] : []);
|
|
1122
|
+
if (!fits.length) {
|
|
1123
|
+
unnamed(label, part, 'entry of use names');
|
|
1124
|
+
continue;
|
|
1125
|
+
}
|
|
1126
|
+
const next = fits.find((index) => index >= last && !entries[index].parts.length);
|
|
1127
|
+
if (next !== undefined) {
|
|
1128
|
+
last = next;
|
|
1129
|
+
entries[next].parts.push(part);
|
|
1130
|
+
continue;
|
|
1131
|
+
}
|
|
1132
|
+
const taken = fits.filter((index) => entries[index].parts.length);
|
|
1133
|
+
if (taken.length) {
|
|
1134
|
+
for (const index of taken)
|
|
1135
|
+
entries[index].parts.push(part);
|
|
1136
|
+
continue;
|
|
1137
|
+
}
|
|
1138
|
+
// it fits only entries not taken yet, before the last one taken
|
|
1139
|
+
const early = entries[fits[0]];
|
|
1140
|
+
errors.push(`${label}: use "${early.text}" comes before "${entries[last].text}", and after it in ${previewName(preview)}: give the entries in the order of the preview`);
|
|
1141
|
+
early.parts.push(part);
|
|
1142
|
+
}
|
|
1143
|
+
for (const entry of entries)
|
|
1144
|
+
if (!entry.parts.length)
|
|
1145
|
+
errors.push(`${label}: use "${entry.text}" is not in ${previewName(preview)}, outside the stage`);
|
|
1146
|
+
else
|
|
1147
|
+
errors.push(...placeholderErrors(entry.text, entry.use, entry.parts, preview, label));
|
|
1148
|
+
}
|
|
1149
|
+
if (errors.length)
|
|
1150
|
+
found.set(preview.file, errors);
|
|
1151
|
+
}
|
|
1152
|
+
return found;
|
|
1153
|
+
};
|
|
770
1154
|
/** Why the release lacks a carrier, or undefined when it has it. */
|
|
771
1155
|
const carrierMissing = (carrier, release) => {
|
|
772
1156
|
switch (carrier.kind) {
|
|
@@ -855,7 +1239,7 @@ export const domainRule = (patterns, from, id) => {
|
|
|
855
1239
|
id,
|
|
856
1240
|
from,
|
|
857
1241
|
rule: relation.where,
|
|
858
|
-
...(relation.use ? { use: relation.use } : {}),
|
|
1242
|
+
...(relation.use ? { use: relation.use.map(useOf) } : {}),
|
|
859
1243
|
...(relation.serves !== undefined ? { serves: relation.serves } : {}),
|
|
860
1244
|
...(relation['carried-by'] ? { 'carried-by': relation['carried-by'] } : {}),
|
|
861
1245
|
...(relation['carried-by-planned']
|
|
@@ -898,7 +1282,7 @@ export const rulesOfComponent = (patterns, tag) => {
|
|
|
898
1282
|
const carrier = parseCarrier(text);
|
|
899
1283
|
return carrier?.kind === 'component' && carrier.use.tag === tag;
|
|
900
1284
|
});
|
|
901
|
-
const writes = (one) => (one.use ?? []).some((
|
|
1285
|
+
const writes = (one) => (one.use ?? []).some((item) => parseUse(useOf(item))?.tag === tag);
|
|
902
1286
|
return patterns
|
|
903
1287
|
.filter((one) => one.kind === DESIGN_LANGUAGE && one.status !== 'candidate')
|
|
904
1288
|
.sort((a, b) => a.id.localeCompare(b.id))
|
|
@@ -1293,10 +1677,21 @@ export const renderSections = (pattern, patterns = [pattern]) => {
|
|
|
1293
1677
|
return '';
|
|
1294
1678
|
}
|
|
1295
1679
|
};
|
|
1680
|
+
// the parts of each case with their role (#1396): a table of its own after the cases, in the
|
|
1681
|
+
// order of the preview; a pattern whose use is still bare (a domain) keeps the Use column
|
|
1682
|
+
const withRoles = (pattern.cases ?? []).some((one) => (one.use ?? []).some((item) => typeof item !== 'string'));
|
|
1683
|
+
const useColumn = (one) => withRoles ? [] : [(one.use ?? []).map((item) => code(useOf(item))).join(', ')];
|
|
1296
1684
|
const cases = [
|
|
1297
1685
|
variablesTable,
|
|
1298
1686
|
`A case that leaves a variable out holds for any of its values${NONE_WHEN_LEFT_OUT in variables ? `, except \`${NONE_WHEN_LEFT_OUT}\`, which then means \`none\`` : ''}.`,
|
|
1299
|
-
table([
|
|
1687
|
+
table([
|
|
1688
|
+
'Case',
|
|
1689
|
+
'When',
|
|
1690
|
+
'Where',
|
|
1691
|
+
...(withRoles ? [] : ['Use']),
|
|
1692
|
+
...(cites ? ['Rules'] : []),
|
|
1693
|
+
...groundedHead,
|
|
1694
|
+
], (pattern.cases ?? []).map((one) => [
|
|
1300
1695
|
code(one.id),
|
|
1301
1696
|
cell(whenOf(pattern, one)),
|
|
1302
1697
|
cell([
|
|
@@ -1306,7 +1701,7 @@ export const renderSections = (pattern, patterns = [pattern]) => {
|
|
|
1306
1701
|
]
|
|
1307
1702
|
.filter(Boolean)
|
|
1308
1703
|
.join('; ')),
|
|
1309
|
-
(one
|
|
1704
|
+
...useColumn(one),
|
|
1310
1705
|
...rulesOf(one),
|
|
1311
1706
|
...grounded(one),
|
|
1312
1707
|
])),
|
|
@@ -1317,6 +1712,15 @@ export const renderSections = (pattern, patterns = [pattern]) => {
|
|
|
1317
1712
|
cases.push('Not applicable:', table(['When', 'Why'], pattern['not-applicable'].map((one) => [cell(whenOf(pattern, one)), cell(one.why)])));
|
|
1318
1713
|
if (!pattern.gaps?.length)
|
|
1319
1714
|
cases.push('No gaps: every combination has a case or is not applicable.');
|
|
1715
|
+
if (withRoles) {
|
|
1716
|
+
cases.push('The parts of each case, in the order of its preview: what each does in the case, and the component to write. A value in angle brackets is the text of the application, written as it says; the rest of the preview is its stage, the context of the case.');
|
|
1717
|
+
for (const one of pattern.cases ?? [])
|
|
1718
|
+
if (one.use?.length)
|
|
1719
|
+
cases.push(`${code(one.id)}:`, table(['Role', 'Use'], one.use.map((item) => [
|
|
1720
|
+
typeof item === 'string' ? '' : cell(item.role),
|
|
1721
|
+
code(useOf(item)),
|
|
1722
|
+
])));
|
|
1723
|
+
}
|
|
1320
1724
|
const rules = (pattern['always-true'] ?? []).map((one) => ruleOf(one, byId));
|
|
1321
1725
|
const checkedBy = (rule) => [
|
|
1322
1726
|
rule['checked-by'] === 'lint' ? `lint \`${rule.lint}\`` : rule['checked-by'],
|
package/dist/lint/mcp/tools.json
CHANGED
|
@@ -916,7 +916,7 @@
|
|
|
916
916
|
{
|
|
917
917
|
"name": "get_pattern",
|
|
918
918
|
"title": "Read a Magma pattern",
|
|
919
|
-
"description": "The patterns Magma ships: the solution to a task across components (where a message goes, confirming an action, an empty, a loading or a failed part), the same in every product; first the domains of the design language (kind design-language), the rules of composition every pattern stands on (the space between elements, ...), then the building blocks (kind block), the sections of a page that come back in several patterns (the page header). Without arguments the list, in layerDir the folder of the layers of this project (its magma/patterns/) and in layerErrors what is wrong in them; with need the patterns for it; with id the pattern (its variables, cases, always-true rules and open choices, with the layer of this project applied, and in layerFile the file that layer is read from, to write or change); with id and situation, the values of its variables you know, the one case to follow (with its preview when Magma has one: the stage, as markup, what to try in it and the paths of its images, light and dark, to show where the stage cannot run, and in rules the rules of the domains it relies on, each with its domain, its text and the path of its preview; the other examples of the case in examples), or which variables are still to settle; for a block, the regions that show, in the order of the page, and when the values match one of its situations, every variable given, the preview of that situation as for a case (the stage, what to try, the other examples); with id and section the text of that section. Ask before building a flow or the head of a page,
|
|
919
|
+
"description": "The patterns Magma ships: the solution to a task across components (where a message goes, confirming an action, an empty, a loading or a failed part), the same in every product; first the domains of the design language (kind design-language), the rules of composition every pattern stands on (the space between elements, ...), then the building blocks (kind block), the sections of a page that come back in several patterns (the page header). Without arguments the list, in layerDir the folder of the layers of this project (its magma/patterns/) and in layerErrors what is wrong in them; with need the patterns for it; with id the pattern (its variables, cases, always-true rules and open choices, with the layer of this project applied, and in layerFile the file that layer is read from, to write or change); with id and situation, the values of its variables you know, the one case to follow (in use the parts of its solution, each with its role and the component to write, in the order of its preview, a value in angle brackets the text of the application; with its preview when Magma has one: the stage, as markup, the elements marked data-stage the context of the case and not part of it, what to try in it and the paths of its images, light and dark, to show where the stage cannot run, and in rules the rules of the domains it relies on, each with its domain, its text and the path of its preview; the other examples of the case in examples), or which variables are still to settle; for a block, the regions that show, in the order of the page, and when the values match one of its situations, every variable given, the preview of that situation as for a case (the stage, what to try, the other examples); with id and section the text of that section. Ask before building a flow or the head of a page, compose from the parts of the case or the regions it gives, then add what your situation needs, and follow its rules.",
|
|
920
920
|
"inputSchema": {
|
|
921
921
|
"type": "object",
|
|
922
922
|
"properties": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{B as t}from"./p-
|
|
1
|
+
import{B as t}from"./p-BQhu9Pch.js";export{N as NavigationService}from"./p-Pwyk_BKp.js";function e(t){return new Promise(((e,n)=>{t.oncomplete=t.onsuccess=()=>e(t.result),t.onabort=t.onerror=()=>n(t.error)}))}let n;function r(){return n||(n=function(t,n){let r;return(i,s)=>(()=>{if(r)return r;const i=indexedDB.open(t);return i.onupgradeneeded=()=>i.result.createObjectStore(n),r=e(i),r.then((t=>{t.onclose=()=>r=void 0}),(()=>{r=void 0})),r})().then((t=>s(t.transaction(n,i).objectStore(n))))}("keyval-store","keyval")),n}class i{resolveIconName(t){return this._resolveIconName(t,this.name,this.path)}constructor(t,e,n){this.name=t,this.path=e,this._resolveIconName=n}get resolver(){return this._resolveIconName}}const s=Symbol.for("@maggioli-design-system/magma:mdsIconSvgPath"),o=new class{constructor(){this._svgPathKey="mdsIconSvgPath",this._iconsSets=new Map,this._svgPathUpdate="mdsIconSvgPathUpdate",this.cacheExp=864e5,this.listeners=new Set,this.memoryCache={},this.isCacheAvailable=async t=>{if("undefined"==typeof indexedDB)return!1;try{const n=await function(t,n=r()){return n("readonly",(n=>e(n.get(t))))}(`loader_${t}`);if(!n)return!1;const i=JSON.parse(n);return Date.now()<i.expiry?i.data:(function(t,n=r()){n("readwrite",(n=>(n.delete(t),e(n.transaction))))}(`loader_${t}`),!1)}catch(t){return console.error("isCacheAvailable error",t),!1}},this.setCache=async(t,n)=>{if("undefined"!=typeof indexedDB)try{await function(t,n,i=r()){return i("readwrite",(r=>(r.put(n,t),e(r.transaction))))}(`loader_${t}`,JSON.stringify({data:n,expiry:Date.now()+this.cacheExp}))}catch(t){console.error("setCache error",t)}},this.setUpListener()}get _svgPath(){var t;return"undefined"==typeof globalThis?"":null!==(t=globalThis[s])&&void 0!==t?t:""}set _svgPath(t){"undefined"!=typeof globalThis&&(globalThis[s]=t)}addIconSet(t,e,n){let r=n;const s=this._iconsSets.get(t);if(!r&&s&&"function"==typeof s.resolver)r=s.resolver;else{if(r&&"function"!=typeof r)return console.error("MdsIconSvg: the third input of addIconSet should be a function that parses and returns the icons's filename."),!1;if(!r)return console.error(`MdsIconSvg: the set ${t} needs a resolve function for the icon names.`),!1}return this._iconsSets.set(t,new i(t,e,r)),!0}getIconSet(t){return t?{set:this._iconsSets.get(t.split("/")[0])}:{set:null}}setSvgPath(t){const e=Error(`Svg path not recognize ${t}, ensure is a absolute path starting with '/' or a url`);if("string"!=typeof t||""===t.trim())throw e;const n=t.trim(),r=/^[\w.-]+:\d+(\/|$)/.test(n)?`//${n}`:n;let i;try{i=new URL(r,"http://localhost/")}catch(t){throw e}"undefined"!=typeof window&&(/^[a-z][a-z\d+.-]*:/i.test(r)?(i.search="",i.hash="",this._svgPath=i.href):this._svgPath=r.replace(/[?#].*$/,""),window.dispatchEvent(new Event(this._svgPathUpdate)))}getSvgPath(){return this._svgPath}registerListener(t){this.listeners.add(t)}unregisterListener(t){this.listeners.delete(t)}setUpListener(){"undefined"!=typeof window&&window.addEventListener(this._svgPathUpdate,(()=>{for(const t of this.listeners)t()}))}async fetchSvg(e){var n;if(t.isServer&&!t.isTesting)return"";if(!e)return"";try{if(!this._svgPath&&"undefined"==typeof window)throw Error("Cant find svgPath, ensure you set it");if(!this._svgPath){let t="";try{t=null!==(n=window.sessionStorage.getItem(o._svgPathKey))&&void 0!==n?n:""}catch(t){}t&&this.setSvgPath(t)}const t=this._svgPath&&!e.startsWith("http")?this._svgPath.concat(e,".svg"):e;if(this.memoryCache[t])return this.memoryCache[t];const r=await this.isCacheAvailable(t);if(r)return this.memoryCache[t]=r,r;const i=await fetch(t);if(!i.ok)throw Error(`Request for '${t}' returned ${i.status} (${i.statusText})`);const s=await i.text(),a=s.toLowerCase().trim();if(!a.startsWith("<svg")&&!a.startsWith("<?xml"))throw Error(`Resource '${t}' returned an invalid SVG file`);return this.setCache(t,s),this.memoryCache[t]=s,s}catch(t){return console.error("fetchSvg error",t),""}}};export{o as IconsSetService}
|