@maggioli-design-system/magma 2.12.0 → 2.13.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 +72 -0
- package/README.md +6 -5
- package/agents/assets.md +7 -6
- package/agents/color.md +7 -4
- package/agents/components.md +3 -2
- package/agents/conventions.md +11 -1
- package/agents/install.md +10 -3
- package/agents/patterns/actions.md +7 -6
- package/agents/patterns/empty-state.md +5 -7
- 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/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/part-primary.light.webp +0 -0
- package/agents/patterns/previews/actions/stacked.light.webp +0 -0
- package/agents/patterns/previews/app-shell/back-office.light.webp +0 -0
- package/agents/patterns/previews/app-shell/many-sections.dark.webp +0 -0
- package/agents/patterns/previews/app-shell/many-sections.light.webp +0 -0
- package/agents/patterns/previews/app-shell/public-service.dark.webp +0 -0
- 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.light.webp +0 -0
- package/agents/patterns/previews/confirm-action/ask-before-sending.dark.webp +0 -0
- package/agents/patterns/previews/confirm-action/ask-before-sending.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.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.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 +5 -7
- 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 +5 -7
- 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 +4 -6
- 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 +5 -7
- 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 +5 -7
- package/agents/patterns/previews/empty-state/not-found.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/changed-meanwhile.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/changed-meanwhile.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/check-or-repeat.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/content-another-way.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/partial.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/partial.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/retry-action.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/retry-content.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/sign-in-again.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/sign-in-again.light.webp +0 -0
- package/agents/patterns/previews/item-list/documents-of-a-request.dark.webp +0 -0
- package/agents/patterns/previews/item-list/documents-of-a-request.light.webp +0 -0
- package/agents/patterns/previews/item-list/queue-of-a-desk.dark.webp +0 -0
- package/agents/patterns/previews/item-list/queue-of-a-desk.html +1 -1
- 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.html +3 -12
- package/agents/patterns/previews/item-list/requests-to-assign.light.webp +0 -0
- package/agents/patterns/previews/labels-and-values/payment-before-paying.dark.webp +0 -0
- package/agents/patterns/previews/labels-and-values/what-is-sent.dark.webp +0 -0
- package/agents/patterns/previews/labels-and-values/what-is-sent.light.webp +0 -0
- package/agents/patterns/previews/list-with-filters/act-on-many.dark.webp +0 -0
- package/agents/patterns/previews/list-with-filters/act-on-many.html +2 -9
- package/agents/patterns/previews/list-with-filters/act-on-many.light.webp +0 -0
- package/agents/patterns/previews/list-with-filters/find-and-open.light.webp +0 -0
- package/agents/patterns/previews/list-with-filters/show-new-items.dark.webp +0 -0
- package/agents/patterns/previews/list-with-filters/show-new-items.html +1 -1
- 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 -5
- package/agents/patterns/previews/loading/first-load.dark.webp +0 -0
- package/agents/patterns/previews/loading/first-load.light.webp +0 -0
- package/agents/patterns/previews/loading/keep-while-reloading.dark.webp +0 -0
- package/agents/patterns/previews/loading/long-load-measured.dark.webp +0 -0
- package/agents/patterns/previews/loading/long-load-measured.light.webp +0 -0
- package/agents/patterns/previews/loading/long-load.dark.webp +0 -0
- package/agents/patterns/previews/loading/long-load.light.webp +0 -0
- package/agents/patterns/previews/loading/progress-in-place.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.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-in-place.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/action-failed-in-place.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.light.webp +0 -0
- package/agents/patterns/previews/message-placement/app-deadline.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/app-deadline.light.webp +0 -0
- package/agents/patterns/previews/message-placement/app-failed.light.webp +0 -0
- package/agents/patterns/previews/message-placement/decision.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/decision.light.webp +0 -0
- package/agents/patterns/previews/message-placement/field-error.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/field-error.light.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.light.webp +0 -0
- package/agents/patterns/previews/message-placement/region-failed.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/region-info.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/region-info.light.webp +0 -0
- package/agents/patterns/previews/page-header/contact-being-edited.dark.webp +0 -0
- package/agents/patterns/previews/page-header/contact-being-edited.light.webp +0 -0
- package/agents/patterns/previews/page-header/members-of-a-group.light.webp +0 -0
- package/agents/patterns/previews/page-header/request-from-the-list.dark.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.light.webp +0 -0
- package/agents/patterns/previews/record-detail/edit-data.light.webp +0 -0
- package/agents/patterns/previews/record-detail/read-the-data.dark.webp +0 -0
- package/agents/patterns/previews/record-detail/read-the-data.light.webp +0 -0
- package/agents/patterns/previews/record-detail/record-changed.dark.webp +0 -0
- package/agents/patterns/previews/record-detail/record-changed.light.webp +0 -0
- package/agents/patterns/previews/record-detail/run-at-once.dark.webp +0 -0
- package/agents/patterns/previews/record-detail/run-at-once.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.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.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/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/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.html +66 -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.light.webp +0 -0
- package/agents/patterns/previews/titles/page.light.webp +0 -0
- package/agents/patterns/previews/titles/part.light.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/surfaces.md +49 -11
- package/agents/patterns/titles.md +15 -14
- package/agents/patterns.md +1 -1
- package/agents/theming.md +5 -0
- package/dist/cjs/{floating-controller-B4YhrWm8.js → floating-controller-B21tqid0.js} +51 -4
- package/dist/cjs/{floating-ui.dom-VQ_HnnRe.js → floating-ui.dom-1Z4VE-PH.js} +1 -0
- package/dist/cjs/{index-BQNHYWJg.js → index-B99V_UhC.js} +87 -44
- package/dist/cjs/{index-Csgx951d.js → index-CFEj7WVH.js} +12 -1
- package/dist/cjs/index.cjs.js +45 -3
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{locale-DgMC52AD.js → locale-6jikg4jE.js} +1 -1
- package/dist/cjs/magma-components.cjs.js +3 -3
- package/dist/cjs/mds-accordion-item.cjs.entry.js +10 -7
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +10 -7
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +4 -3
- package/dist/cjs/mds-accordion.cjs.entry.js +5 -4
- package/dist/cjs/mds-author.cjs.entry.js +4 -3
- package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +4 -3
- package/dist/cjs/mds-avatar-stack.cjs.entry.js +4 -3
- package/dist/cjs/mds-avatar.cjs.entry.js +5 -4
- package/dist/cjs/mds-badge.cjs.entry.js +5 -4
- package/dist/cjs/mds-banner_3.cjs.entry.js +56 -27
- package/dist/cjs/mds-benchmark-bar.cjs.entry.js +4 -3
- package/dist/cjs/mds-bibliography.cjs.entry.js +4 -3
- package/dist/cjs/mds-book.cjs.entry.js +8 -7
- package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +4 -3
- package/dist/cjs/mds-breadcrumb.cjs.entry.js +6 -5
- package/dist/cjs/mds-button-dropdown.cjs.entry.js +7 -6
- package/dist/cjs/mds-button-group.cjs.entry.js +5 -4
- package/dist/cjs/mds-button_3.cjs.entry.js +15 -12
- package/dist/cjs/mds-calendar_2.cjs.entry.js +190 -305
- package/dist/cjs/mds-card-content.cjs.entry.js +4 -3
- package/dist/cjs/mds-card-footer.cjs.entry.js +5 -4
- package/dist/cjs/mds-card-header.cjs.entry.js +4 -3
- package/dist/cjs/mds-card-media.cjs.entry.js +4 -3
- package/dist/cjs/mds-card.cjs.entry.js +6 -5
- package/dist/cjs/mds-details.cjs.entry.js +5 -4
- package/dist/cjs/mds-dropdown.cjs.entry.js +46 -17
- package/dist/cjs/mds-emoji.cjs.entry.js +5 -4
- package/dist/cjs/mds-entity.cjs.entry.js +5 -4
- package/dist/cjs/mds-file-preview.cjs.entry.js +7 -6
- package/dist/cjs/mds-file.cjs.entry.js +6 -5
- package/dist/cjs/mds-filter-item.cjs.entry.js +6 -5
- package/dist/cjs/mds-filter.cjs.entry.js +6 -5
- package/dist/cjs/mds-header-bar.cjs.entry.js +6 -5
- package/dist/cjs/mds-header.cjs.entry.js +5 -4
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +6 -5
- package/dist/cjs/mds-hr.cjs.entry.js +5 -4
- package/dist/cjs/mds-img.cjs.entry.js +5 -4
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +4 -3
- package/dist/cjs/mds-input-date-range.cjs.entry.js +126 -31
- package/dist/cjs/mds-input-date.cjs.entry.js +26 -12
- package/dist/cjs/mds-input-field.cjs.entry.js +4 -3
- package/dist/cjs/mds-input-otp.cjs.entry.js +6 -5
- package/dist/cjs/mds-input-range-value.cjs.entry.js +18 -0
- package/dist/cjs/mds-input-range.cjs.entry.js +410 -29
- package/dist/cjs/mds-input-select.cjs.entry.js +9 -8
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +9 -7
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +17 -12
- package/dist/cjs/mds-input-upload.cjs.entry.js +10 -9
- package/dist/cjs/mds-input.cjs.entry.js +292 -35
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +6 -5
- package/dist/cjs/mds-keyboard.cjs.entry.js +6 -5
- package/dist/cjs/mds-kpi-item.cjs.entry.js +5 -4
- package/dist/cjs/mds-kpi.cjs.entry.js +4 -3
- package/dist/cjs/mds-label.cjs.entry.js +6 -5
- package/dist/cjs/mds-link.cjs.entry.js +9 -8
- package/dist/cjs/mds-list-item.cjs.entry.js +4 -3
- package/dist/cjs/mds-list.cjs.entry.js +4 -3
- package/dist/cjs/mds-mention.cjs.entry.js +6 -5
- package/dist/cjs/mds-modal.cjs.entry.js +7 -6
- package/dist/cjs/mds-note.cjs.entry.js +6 -5
- package/dist/cjs/mds-notification.cjs.entry.js +6 -5
- package/dist/cjs/mds-paginator-item.cjs.entry.js +5 -4
- package/dist/cjs/mds-paginator.cjs.entry.js +6 -5
- package/dist/cjs/mds-policy-ai.cjs.entry.js +6 -5
- package/dist/cjs/mds-pref-animation.cjs.entry.js +6 -5
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +6 -5
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +6 -5
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +6 -5
- package/dist/cjs/mds-pref-language.cjs.entry.js +6 -5
- package/dist/cjs/mds-pref-mode.cjs.entry.js +6 -5
- package/dist/cjs/mds-pref-theme-item.cjs.entry.js +4 -3
- package/dist/cjs/mds-pref-theme.cjs.entry.js +6 -5
- package/dist/cjs/mds-pref.cjs.entry.js +12 -6
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +5 -4
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +5 -4
- package/dist/cjs/mds-price-table-features.cjs.entry.js +5 -4
- package/dist/cjs/mds-price-table-header.cjs.entry.js +4 -3
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +4 -3
- package/dist/cjs/mds-price-table-list.cjs.entry.js +5 -4
- package/dist/cjs/mds-price-table.cjs.entry.js +4 -3
- package/dist/cjs/mds-progress_2.cjs.entry.js +13 -8
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +7 -6
- package/dist/cjs/mds-push-notification.cjs.entry.js +6 -5
- package/dist/cjs/mds-quote.cjs.entry.js +5 -4
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +4 -3
- package/dist/cjs/mds-radial-menu.cjs.entry.js +8 -7
- package/dist/cjs/mds-separator.cjs.entry.js +5 -4
- package/dist/cjs/mds-status-bar.cjs.entry.js +5 -4
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +7 -6
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +6 -6
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +5 -4
- package/dist/cjs/mds-tab-bar.cjs.entry.js +5 -4
- package/dist/cjs/mds-tab_2.cjs.entry.js +41 -17
- package/dist/cjs/mds-table-body.cjs.entry.js +5 -4
- package/dist/cjs/mds-table-footer.cjs.entry.js +5 -4
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +5 -4
- package/dist/cjs/mds-table-header.cjs.entry.js +14 -14
- package/dist/cjs/mds-table-row.cjs.entry.js +7 -6
- package/dist/cjs/mds-table.cjs.entry.js +42 -14
- package/dist/cjs/mds-text.cjs.entry.js +5 -4
- package/dist/cjs/mds-toast-region.cjs.entry.js +4 -3
- package/dist/cjs/mds-toast.cjs.entry.js +6 -5
- package/dist/cjs/mds-tooltip.cjs.entry.js +33 -14
- package/dist/cjs/mds-tree-item.cjs.entry.js +6 -5
- package/dist/cjs/mds-tree.cjs.entry.js +4 -3
- package/dist/cjs/mds-url-view.cjs.entry.js +6 -18
- package/dist/cjs/mds-usage.cjs.entry.js +6 -5
- package/dist/cjs/mds-video-wall.cjs.entry.js +5 -4
- package/dist/cjs/mds-zero.cjs.entry.js +15 -5
- package/dist/cjs/{navigation-5yeOyO6F.js → navigation-Dxea9mKE.js} +7 -0
- package/dist/cjs/{preference-DhNxLZ4R.js → preference-DTUJPGHS.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/common/floating-controller.js +50 -3
- package/dist/collection/common/navigation.js +7 -0
- package/dist/collection/common/validity/index.js +3 -0
- package/dist/collection/components/mds-accordion/AGENTS.md +2 -2
- package/dist/collection/components/mds-accordion/documentation.json +5 -4
- package/dist/collection/components/mds-accordion/examples.md +3 -3
- package/dist/collection/components/mds-accordion/mds-accordion.js +1 -1
- package/dist/collection/components/mds-accordion-item/AGENTS.md +5 -3
- package/dist/collection/components/mds-accordion-item/documentation.json +60 -5
- package/dist/collection/components/mds-accordion-item/examples.md +5 -3
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +9 -0
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +32 -4
- package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-timer/documentation.json +3 -2
- package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +1 -1
- package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +6 -4
- package/dist/collection/components/mds-accordion-timer-item/documentation.json +64 -9
- package/dist/collection/components/mds-accordion-timer-item/examples.md +5 -3
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +9 -0
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +32 -4
- package/dist/collection/components/mds-author/AGENTS.md +1 -1
- package/dist/collection/components/mds-author/documentation.json +3 -2
- package/dist/collection/components/mds-author/mds-author.js +1 -1
- package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar/documentation.json +3 -2
- package/dist/collection/components/mds-avatar/mds-avatar.js +1 -1
- package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar-stack/documentation.json +3 -2
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +1 -1
- package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar-stack-item/documentation.json +3 -2
- package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.js +1 -1
- package/dist/collection/components/mds-badge/AGENTS.md +1 -1
- package/dist/collection/components/mds-badge/documentation.json +3 -2
- package/dist/collection/components/mds-badge/mds-badge.js +1 -1
- package/dist/collection/components/mds-banner/AGENTS.md +4 -1
- package/dist/collection/components/mds-banner/documentation.json +44 -5
- package/dist/collection/components/mds-banner/examples.md +15 -9
- package/dist/collection/components/mds-banner/mds-banner.js +63 -19
- package/dist/collection/components/mds-banner/meta/dictionary.js +7 -0
- package/dist/collection/components/mds-banner/meta/types.js +1 -0
- package/dist/collection/components/mds-banner/mistakes.md +20 -0
- package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-benchmark-bar/documentation.json +3 -2
- package/dist/collection/components/mds-benchmark-bar/mds-benchmark-bar.js +1 -1
- package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
- package/dist/collection/components/mds-bibliography/documentation.json +3 -2
- package/dist/collection/components/mds-bibliography/mds-bibliography.js +1 -1
- package/dist/collection/components/mds-book/AGENTS.md +1 -1
- package/dist/collection/components/mds-book/documentation.json +3 -2
- package/dist/collection/components/mds-book/mds-book.js +3 -3
- package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
- package/dist/collection/components/mds-breadcrumb/documentation.json +3 -2
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +1 -1
- package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-breadcrumb-item/documentation.json +3 -2
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +1 -1
- package/dist/collection/components/mds-button/AGENTS.md +1 -1
- package/dist/collection/components/mds-button/documentation.json +3 -2
- package/dist/collection/components/mds-button/mds-button.js +4 -4
- package/dist/collection/components/mds-button-dropdown/AGENTS.md +3 -1
- package/dist/collection/components/mds-button-dropdown/documentation.json +5 -4
- package/dist/collection/components/mds-button-dropdown/examples.md +16 -0
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +12 -0
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +1 -1
- package/dist/collection/components/mds-button-group/AGENTS.md +3 -2
- package/dist/collection/components/mds-button-group/documentation.json +5 -4
- package/dist/collection/components/mds-button-group/examples.md +16 -0
- package/dist/collection/components/mds-button-group/mds-button-group.css +13 -0
- package/dist/collection/components/mds-button-group/mds-button-group.js +1 -1
- package/dist/collection/components/mds-calendar/AGENTS.md +8 -4
- package/dist/collection/components/mds-calendar/documentation.json +44 -5
- package/dist/collection/components/mds-calendar/examples.md +17 -1
- package/dist/collection/components/mds-calendar/mds-calendar.css +4 -0
- package/dist/collection/components/mds-calendar/mds-calendar.js +206 -300
- package/dist/collection/components/mds-calendar/meta/types.js +1 -0
- package/dist/collection/components/mds-calendar/mistakes.md +1 -1
- package/dist/collection/components/mds-calendar-cell/AGENTS.md +4 -4
- package/dist/collection/components/mds-calendar-cell/documentation.json +37 -24
- package/dist/collection/components/mds-calendar-cell/examples.md +3 -3
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +121 -84
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +1 -1
- package/dist/collection/components/mds-card/AGENTS.md +4 -2
- package/dist/collection/components/mds-card/documentation.json +12 -5
- package/dist/collection/components/mds-card/examples.md +6 -1
- package/dist/collection/components/mds-card/mds-card.css +8 -0
- package/dist/collection/components/mds-card/mds-card.js +1 -1
- package/dist/collection/components/mds-card/mistakes.md +1 -1
- package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-content/documentation.json +3 -2
- package/dist/collection/components/mds-card-content/mds-card-content.js +1 -1
- package/dist/collection/components/mds-card-footer/AGENTS.md +2 -2
- package/dist/collection/components/mds-card-footer/documentation.json +5 -4
- package/dist/collection/components/mds-card-footer/examples.md +1 -1
- package/dist/collection/components/mds-card-footer/mds-card-footer.css +9 -0
- package/dist/collection/components/mds-card-footer/mds-card-footer.js +1 -1
- package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-header/documentation.json +3 -2
- package/dist/collection/components/mds-card-header/mds-card-header.js +1 -1
- package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-media/documentation.json +3 -2
- package/dist/collection/components/mds-card-media/mds-card-media.js +1 -1
- package/dist/collection/components/mds-chip/AGENTS.md +5 -2
- package/dist/collection/components/mds-chip/documentation.json +37 -5
- package/dist/collection/components/mds-chip/examples.md +10 -0
- package/dist/collection/components/mds-chip/mds-chip.css +18 -0
- package/dist/collection/components/mds-chip/mds-chip.js +25 -1
- package/dist/collection/components/mds-chip/mistakes.md +25 -1
- package/dist/collection/components/mds-details/AGENTS.md +1 -1
- package/dist/collection/components/mds-details/documentation.json +3 -2
- package/dist/collection/components/mds-details/mds-details.js +1 -1
- package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
- package/dist/collection/components/mds-dropdown/documentation.json +4 -3
- package/dist/collection/components/mds-dropdown/mds-dropdown.js +40 -12
- package/dist/collection/components/mds-dropdown/mistakes.md +1 -1
- package/dist/collection/components/mds-emoji/AGENTS.md +1 -1
- package/dist/collection/components/mds-emoji/documentation.json +3 -2
- package/dist/collection/components/mds-emoji/mds-emoji.js +1 -1
- package/dist/collection/components/mds-entity/AGENTS.md +1 -1
- package/dist/collection/components/mds-entity/documentation.json +3 -2
- package/dist/collection/components/mds-entity/mds-entity.js +1 -1
- package/dist/collection/components/mds-file/AGENTS.md +1 -1
- package/dist/collection/components/mds-file/documentation.json +3 -2
- package/dist/collection/components/mds-file/mds-file.js +1 -1
- package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
- package/dist/collection/components/mds-file-preview/documentation.json +3 -2
- package/dist/collection/components/mds-file-preview/mds-file-preview.js +2 -2
- package/dist/collection/components/mds-filter/AGENTS.md +1 -1
- package/dist/collection/components/mds-filter/documentation.json +3 -2
- package/dist/collection/components/mds-filter/mds-filter.js +1 -1
- package/dist/collection/components/mds-filter-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-filter-item/documentation.json +5 -4
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +1 -1
- package/dist/collection/components/mds-filter-item/mistakes.md +16 -0
- package/dist/collection/components/mds-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-header/documentation.json +3 -2
- package/dist/collection/components/mds-header/mds-header.js +1 -1
- package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-header-bar/documentation.json +3 -2
- package/dist/collection/components/mds-header-bar/mds-header-bar.js +1 -1
- package/dist/collection/components/mds-help/AGENTS.md +1 -1
- package/dist/collection/components/mds-help/documentation.json +3 -2
- package/dist/collection/components/mds-help/mds-help.js +1 -1
- package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
- package/dist/collection/components/mds-horizontal-scroll/documentation.json +3 -2
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +1 -1
- package/dist/collection/components/mds-hr/AGENTS.md +1 -1
- package/dist/collection/components/mds-hr/documentation.json +3 -2
- package/dist/collection/components/mds-hr/mds-hr.js +1 -1
- package/dist/collection/components/mds-icon/AGENTS.md +2 -2
- package/dist/collection/components/mds-icon/documentation.json +5 -4
- package/dist/collection/components/mds-icon/examples.md +3 -3
- package/dist/collection/components/mds-icon/mds-icon.js +1 -1
- package/dist/collection/components/mds-icon/services/icons-set.service.js +43 -1
- package/dist/collection/components/mds-img/AGENTS.md +1 -1
- package/dist/collection/components/mds-img/documentation.json +3 -2
- package/dist/collection/components/mds-input/AGENTS.md +22 -18
- package/dist/collection/components/mds-input/documentation.json +32 -19
- package/dist/collection/components/mds-input/examples.md +20 -3
- package/dist/collection/components/mds-input/mds-input.css +115 -8
- package/dist/collection/components/mds-input/mds-input.js +236 -37
- package/dist/collection/components/mds-input/meta/color.js +19 -0
- package/dist/collection/components/mds-input/meta/input-type/InputValidationManager.js +5 -1
- package/dist/collection/components/mds-input/meta/validators.js +10 -0
- package/dist/collection/components/mds-input/meta/validity.js +5 -2
- package/dist/collection/components/mds-input/mistakes.md +15 -1
- package/dist/collection/components/mds-input-date/AGENTS.md +7 -7
- package/dist/collection/components/mds-input-date/documentation.json +7 -24
- package/dist/collection/components/mds-input-date/examples.md +1 -1
- package/dist/collection/components/mds-input-date/mds-input-date.css +17 -15
- package/dist/collection/components/mds-input-date/mds-input-date.js +21 -8
- package/dist/collection/components/mds-input-date-range/AGENTS.md +10 -7
- package/dist/collection/components/mds-input-date-range/documentation.json +16 -8
- package/dist/collection/components/mds-input-date-range/examples.md +12 -1
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +15 -0
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +90 -27
- package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-date-range-preselection/documentation.json +3 -2
- package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +1 -1
- package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-field/documentation.json +3 -2
- package/dist/collection/components/mds-input-field/mds-input-field.js +1 -1
- package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-otp/documentation.json +3 -2
- package/dist/collection/components/mds-input-otp/mds-input-otp.js +1 -1
- package/dist/collection/components/mds-input-range/AGENTS.md +27 -8
- package/dist/collection/components/mds-input-range/documentation.json +31 -9
- package/dist/collection/components/mds-input-range/examples.md +41 -0
- package/dist/collection/components/mds-input-range/mds-input-range.css +68 -5
- package/dist/collection/components/mds-input-range/mds-input-range.js +440 -29
- package/dist/collection/components/mds-input-range/meta/event-detail.js +1 -0
- package/dist/collection/components/mds-input-range/mistakes.md +37 -0
- package/dist/collection/components/mds-input-range-value/AGENTS.md +43 -0
- package/dist/collection/components/mds-input-range-value/documentation.json +77 -0
- package/dist/collection/components/mds-input-range-value/examples.md +66 -0
- package/dist/collection/components/mds-input-range-value/mds-input-range-value.css +6 -0
- package/dist/collection/components/mds-input-range-value/mds-input-range-value.js +50 -0
- package/dist/collection/components/mds-input-range-value/mistakes.md +56 -0
- package/dist/collection/components/mds-input-select/AGENTS.md +2 -2
- package/dist/collection/components/mds-input-select/documentation.json +4 -3
- package/dist/collection/components/mds-input-select/mds-input-select.css +9 -19
- 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 +3 -2
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +1 -1
- package/dist/collection/components/mds-input-tip/AGENTS.md +7 -6
- package/dist/collection/components/mds-input-tip/documentation.json +17 -10
- package/dist/collection/components/mds-input-tip/examples.md +2 -2
- package/dist/collection/components/mds-input-tip/mds-input-tip.css +15 -17
- package/dist/collection/components/mds-input-tip/mds-input-tip.js +9 -6
- package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-tip-item/documentation.json +3 -2
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
- package/dist/collection/components/mds-input-tip-item/meta/dictionary.js +1 -1
- package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-upload/documentation.json +3 -2
- 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 +3 -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 +3 -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 +3 -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 +3 -2
- 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 +3 -2
- package/dist/collection/components/mds-label/mds-label.js +1 -1
- package/dist/collection/components/mds-link/AGENTS.md +1 -1
- package/dist/collection/components/mds-link/documentation.json +3 -2
- package/dist/collection/components/mds-link/mds-link.js +3 -3
- package/dist/collection/components/mds-list/AGENTS.md +1 -1
- package/dist/collection/components/mds-list/documentation.json +3 -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 +3 -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 +3 -2
- package/dist/collection/components/mds-mention/mds-mention.js +1 -1
- package/dist/collection/components/mds-modal/AGENTS.md +2 -1
- package/dist/collection/components/mds-modal/documentation.json +5 -4
- package/dist/collection/components/mds-modal/examples.md +2 -0
- 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 +3 -2
- 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 +3 -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 +3 -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 +3 -2
- 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 +3 -2
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
- package/dist/collection/components/mds-pref/AGENTS.md +4 -1
- package/dist/collection/components/mds-pref/documentation.json +31 -4
- package/dist/collection/components/mds-pref/examples.md +14 -0
- package/dist/collection/components/mds-pref/mds-pref.js +26 -2
- package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-animation/documentation.json +3 -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 +3 -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 +3 -2
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
- package/dist/collection/components/mds-pref-language/AGENTS.md +2 -2
- package/dist/collection/components/mds-pref-language/documentation.json +4 -3
- 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 +3 -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 +3 -2
- 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 +3 -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 +3 -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 +3 -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 +3 -2
- 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 +3 -2
- 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 +3 -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 +3 -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 +3 -2
- 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 +3 -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 +3 -2
- 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 +3 -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 +3 -2
- 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 +3 -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 +3 -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 +3 -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 +3 -2
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +4 -2
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +5 -2
- package/dist/collection/components/mds-separator/AGENTS.md +1 -1
- package/dist/collection/components/mds-separator/documentation.json +3 -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 +3 -2
- 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 +3 -2
- package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
- package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-stepper-bar/documentation.json +3 -2
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +3 -4
- package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-stepper-bar-item/documentation.json +5 -4
- package/dist/collection/components/mds-stepper-bar-item/examples.md +1 -1
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +7 -2
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
- package/dist/collection/components/mds-tab/AGENTS.md +3 -3
- package/dist/collection/components/mds-tab/documentation.json +8 -3
- package/dist/collection/components/mds-tab/mds-tab.js +34 -12
- package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-bar/documentation.json +3 -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 +3 -2
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
- package/dist/collection/components/mds-tab-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-tab-item/documentation.json +7 -2
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
- package/dist/collection/components/mds-table/AGENTS.md +4 -4
- package/dist/collection/components/mds-table/documentation.json +10 -9
- package/dist/collection/components/mds-table/examples.md +21 -0
- package/dist/collection/components/mds-table/mds-table.js +42 -15
- package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-body/documentation.json +3 -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 +3 -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 +3 -2
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
- package/dist/collection/components/mds-table-header/AGENTS.md +3 -3
- package/dist/collection/components/mds-table-header/documentation.json +5 -8
- package/dist/collection/components/mds-table-header/mds-table-header.js +9 -14
- package/dist/collection/components/mds-table-header/mistakes.md +1 -1
- package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-header-cell/documentation.json +3 -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 +2 -2
- package/dist/collection/components/mds-table-row/documentation.json +4 -3
- 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 +3 -2
- 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 +3 -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 +3 -2
- package/dist/collection/components/mds-toast-region/mds-toast-region.js +1 -1
- package/dist/collection/components/mds-tooltip/AGENTS.md +1 -1
- package/dist/collection/components/mds-tooltip/documentation.json +3 -2
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +27 -9
- package/dist/collection/components/mds-tree/AGENTS.md +1 -1
- package/dist/collection/components/mds-tree/documentation.json +3 -2
- 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 +3 -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 +3 -2
- package/dist/collection/components/mds-url-view/mds-url-view.js +1 -14
- package/dist/collection/components/mds-usage/AGENTS.md +1 -1
- package/dist/collection/components/mds-usage/documentation.json +3 -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 +3 -2
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
- package/dist/collection/components/mds-zero/AGENTS.md +7 -6
- package/dist/collection/components/mds-zero/documentation.json +6 -5
- package/dist/collection/components/mds-zero/examples.md +37 -19
- package/dist/collection/components/mds-zero/mds-zero.css +22 -24
- package/dist/collection/components/mds-zero/mds-zero.js +17 -1
- package/dist/collection/components/mds-zero/mistakes.md +46 -8
- package/dist/collection/fixtures/dark-mode.js +16 -0
- package/dist/collection/index.js +2 -20
- package/dist/collection/type/file-types.js +1 -1
- package/dist/collection/type/input.js +1 -0
- package/dist/components/index.d.ts +2 -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.d.ts +11 -0
- package/dist/components/mds-input-range-value.js +1 -0
- package/dist/components/mds-input-range.js +1 -1
- package/dist/components/mds-input-select.js +1 -1
- package/dist/components/mds-input-switch.js +1 -1
- package/dist/components/mds-input-tip-item.js +1 -1
- package/dist/components/mds-input-tip.js +1 -1
- package/dist/components/mds-input-upload.js +1 -1
- package/dist/components/mds-input.js +1 -1
- package/dist/components/mds-keyboard-key.js +1 -1
- package/dist/components/mds-keyboard.js +1 -1
- package/dist/components/mds-kpi-item.js +1 -1
- package/dist/components/mds-kpi.js +1 -1
- package/dist/components/mds-label.js +1 -1
- package/dist/components/mds-link.js +1 -1
- package/dist/components/mds-list-item.js +1 -1
- package/dist/components/mds-list.js +1 -1
- package/dist/components/mds-mention.js +1 -1
- package/dist/components/mds-modal.js +1 -1
- package/dist/components/mds-note.js +1 -1
- package/dist/components/mds-notification.js +1 -1
- package/dist/components/mds-paginator-item.js +1 -1
- package/dist/components/mds-paginator.js +1 -1
- package/dist/components/mds-policy-ai.js +1 -1
- package/dist/components/mds-pref-animation.js +1 -1
- package/dist/components/mds-pref-consumption.js +1 -1
- package/dist/components/mds-pref-contrast.js +1 -1
- package/dist/components/mds-pref-language-item.js +1 -1
- package/dist/components/mds-pref-language.js +1 -1
- package/dist/components/mds-pref-mode.js +1 -1
- package/dist/components/mds-pref-theme-item.js +1 -1
- package/dist/components/mds-pref-theme.js +1 -1
- package/dist/components/mds-pref.js +1 -1
- package/dist/components/mds-price-table-features-cell.js +1 -1
- package/dist/components/mds-price-table-features-row.js +1 -1
- package/dist/components/mds-price-table-features.js +1 -1
- package/dist/components/mds-price-table-header.js +1 -1
- package/dist/components/mds-price-table-list-item.js +1 -1
- package/dist/components/mds-price-table-list.js +1 -1
- package/dist/components/mds-price-table.js +1 -1
- package/dist/components/mds-progress.js +1 -1
- package/dist/components/mds-push-notification-item.js +1 -1
- package/dist/components/mds-push-notification.js +1 -1
- package/dist/components/mds-quote.js +1 -1
- package/dist/components/mds-radial-menu-item.js +1 -1
- package/dist/components/mds-radial-menu.js +1 -1
- package/dist/components/mds-radial-progress.js +1 -1
- package/dist/components/mds-separator.js +1 -1
- package/dist/components/mds-spinner.js +1 -1
- package/dist/components/mds-status-bar.js +1 -1
- package/dist/components/mds-stepper-bar-item.js +1 -1
- package/dist/components/mds-stepper-bar.js +1 -1
- package/dist/components/mds-tab-bar-item.js +1 -1
- package/dist/components/mds-tab-bar.js +1 -1
- package/dist/components/mds-tab-item.js +1 -1
- package/dist/components/mds-tab.js +1 -1
- package/dist/components/mds-table-body.js +1 -1
- package/dist/components/mds-table-cell.js +1 -1
- package/dist/components/mds-table-footer.js +1 -1
- package/dist/components/mds-table-header-cell.js +1 -1
- package/dist/components/mds-table-header.js +1 -1
- package/dist/components/mds-table-row.js +1 -1
- package/dist/components/mds-table.js +1 -1
- package/dist/components/mds-text.js +1 -1
- package/dist/components/mds-toast-region.js +1 -1
- package/dist/components/mds-toast.js +1 -1
- package/dist/components/mds-tooltip.js +1 -1
- package/dist/components/mds-tree-item.js +1 -1
- package/dist/components/mds-tree.js +1 -1
- package/dist/components/mds-url-view.js +1 -1
- package/dist/components/mds-usage.js +1 -1
- package/dist/components/mds-video-wall.js +1 -1
- package/dist/components/mds-zero.js +1 -1
- package/dist/components/{p-Bbrei_yQ.js → p-AWCYh8Xe.js} +1 -1
- package/dist/components/{p-ClvoVgmw.js → p-B-GgEAg7.js} +1 -1
- package/dist/components/p-B3npFzUR.js +1 -0
- package/dist/components/p-BD9VWE7b.js +1 -0
- package/dist/components/{p-BBZyH3mn.js → p-BFZN4zJ9.js} +1 -1
- package/dist/components/p-BG1fjwnd.js +1 -0
- package/dist/components/{p-BI1ShBQG.js → p-BNl6YWNN.js} +1 -1
- package/dist/components/{p-BE05D6Pe.js → p-Bg11_7lt.js} +1 -1
- package/dist/components/{p-3rr6yzu-.js → p-BiJ4xa4V.js} +1 -1
- package/dist/components/{p-CvbuCEYD.js → p-BmlDGlcB.js} +2 -2
- package/dist/components/p-C0m6B_kt.js +1 -0
- package/dist/components/{p-j5Hnbfv9.js → p-C589Hkfn.js} +1 -1
- package/dist/components/{p-BaFfIZGB.js → p-C7p9e0P3.js} +1 -1
- package/dist/components/{p-Vgo7t88R.js → p-C878c9Nu.js} +1 -1
- package/dist/components/{p-CWOW2Vna.js → p-CDcB9Zdz.js} +1 -1
- package/dist/components/{p-CZwKeFQT.js → p-CS8s4gRV.js} +1 -1
- package/dist/components/p-CSw6DbKp.js +1 -0
- package/dist/components/p-CUT9aFzz.js +1 -0
- package/dist/components/p-CfCw1XZP.js +1 -0
- package/dist/components/{p-BpND63Kl.js → p-Cjy1i94z.js} +1 -1
- package/dist/components/{p-Do7IoDLD.js → p-Cs80Zm2b.js} +2 -2
- package/dist/components/{p-NNPsVjnj.js → p-Cs8RIbsQ.js} +1 -1
- package/dist/components/p-CtEHhdv4.js +1 -0
- package/dist/components/{p-F0qhFsF0.js → p-Cty6fegI.js} +1 -1
- package/dist/components/{p-C6LU1s8K.js → p-D7C-gjL6.js} +1 -1
- package/dist/components/{p-DrtIqOQn.js → p-DKYN6Ikh.js} +1 -1
- package/dist/components/p-DvccsLwr.js +1 -0
- package/dist/components/{p-CrOv4KdL.js → p-DxNrlomi.js} +1 -1
- package/dist/components/p-G8GFHw3L.js +1 -0
- package/dist/components/p-MjWyZlga.js +1 -0
- package/dist/components/p-VoGfNJRY.js +1 -0
- package/dist/components/{p-BuhoBOYR.js → p-WFNxKo1V.js} +1 -1
- package/dist/components/{p-DN1yF-xO.js → p-aZlZ1XB9.js} +1 -1
- package/dist/components/p-g2_CekDc.js +3 -0
- package/dist/components/p-kS9VRIWa.js +1 -0
- package/dist/components/{p-BBrPpCNK.js → p-oHBGZ2Av.js} +1 -1
- package/dist/documentation.json +530 -157
- package/dist/esm/{floating-controller-xixU_s1w.js → floating-controller-DlFrvBTG.js} +51 -4
- package/dist/esm/{floating-ui.dom-BaFfIZGB.js → floating-ui.dom-C7p9e0P3.js} +1 -1
- package/dist/esm/{index-CvLLN-QH.js → index-CPibDZjX.js} +87 -44
- package/dist/esm/{index-DEL0bLpb.js → index-DWniH_Ge.js} +12 -1
- package/dist/esm/index.js +45 -3
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-DhP1Ge2o.js → locale-B7Hw4niB.js} +1 -1
- package/dist/esm/magma-components.js +4 -4
- package/dist/esm/mds-accordion-item.entry.js +10 -7
- package/dist/esm/mds-accordion-timer-item.entry.js +10 -7
- package/dist/esm/mds-accordion-timer.entry.js +4 -3
- package/dist/esm/mds-accordion.entry.js +5 -4
- package/dist/esm/mds-author.entry.js +4 -3
- package/dist/esm/mds-avatar-stack-item.entry.js +4 -3
- package/dist/esm/mds-avatar-stack.entry.js +4 -3
- package/dist/esm/mds-avatar.entry.js +5 -4
- package/dist/esm/mds-badge.entry.js +5 -4
- package/dist/esm/mds-banner_3.entry.js +56 -27
- package/dist/esm/mds-benchmark-bar.entry.js +4 -3
- package/dist/esm/mds-bibliography.entry.js +4 -3
- package/dist/esm/mds-book.entry.js +8 -7
- package/dist/esm/mds-breadcrumb-item.entry.js +4 -3
- package/dist/esm/mds-breadcrumb.entry.js +6 -5
- package/dist/esm/mds-button-dropdown.entry.js +7 -6
- package/dist/esm/mds-button-group.entry.js +5 -4
- package/dist/esm/mds-button_3.entry.js +15 -12
- package/dist/esm/mds-calendar_2.entry.js +190 -305
- package/dist/esm/mds-card-content.entry.js +4 -3
- package/dist/esm/mds-card-footer.entry.js +5 -4
- package/dist/esm/mds-card-header.entry.js +4 -3
- package/dist/esm/mds-card-media.entry.js +4 -3
- package/dist/esm/mds-card.entry.js +6 -5
- package/dist/esm/mds-details.entry.js +5 -4
- package/dist/esm/mds-dropdown.entry.js +46 -17
- package/dist/esm/mds-emoji.entry.js +5 -4
- package/dist/esm/mds-entity.entry.js +5 -4
- package/dist/esm/mds-file-preview.entry.js +7 -6
- package/dist/esm/mds-file.entry.js +6 -5
- package/dist/esm/mds-filter-item.entry.js +6 -5
- package/dist/esm/mds-filter.entry.js +6 -5
- package/dist/esm/mds-header-bar.entry.js +6 -5
- package/dist/esm/mds-header.entry.js +5 -4
- package/dist/esm/mds-horizontal-scroll.entry.js +6 -5
- package/dist/esm/mds-hr.entry.js +5 -4
- package/dist/esm/mds-img.entry.js +5 -4
- package/dist/esm/mds-input-date-range-preselection.entry.js +4 -3
- package/dist/esm/mds-input-date-range.entry.js +126 -31
- package/dist/esm/mds-input-date.entry.js +26 -12
- package/dist/esm/mds-input-field.entry.js +4 -3
- package/dist/esm/mds-input-otp.entry.js +6 -5
- package/dist/esm/mds-input-range-value.entry.js +16 -0
- package/dist/esm/mds-input-range.entry.js +410 -29
- package/dist/esm/mds-input-select.entry.js +9 -8
- package/dist/esm/mds-input-switch_2.entry.js +9 -7
- package/dist/esm/mds-input-tip_2.entry.js +17 -12
- package/dist/esm/mds-input-upload.entry.js +10 -9
- package/dist/esm/mds-input.entry.js +292 -35
- package/dist/esm/mds-keyboard-key.entry.js +6 -5
- package/dist/esm/mds-keyboard.entry.js +6 -5
- package/dist/esm/mds-kpi-item.entry.js +5 -4
- package/dist/esm/mds-kpi.entry.js +4 -3
- package/dist/esm/mds-label.entry.js +6 -5
- package/dist/esm/mds-link.entry.js +9 -8
- package/dist/esm/mds-list-item.entry.js +4 -3
- package/dist/esm/mds-list.entry.js +4 -3
- package/dist/esm/mds-mention.entry.js +6 -5
- package/dist/esm/mds-modal.entry.js +7 -6
- package/dist/esm/mds-note.entry.js +6 -5
- package/dist/esm/mds-notification.entry.js +6 -5
- package/dist/esm/mds-paginator-item.entry.js +5 -4
- package/dist/esm/mds-paginator.entry.js +6 -5
- package/dist/esm/mds-policy-ai.entry.js +6 -5
- package/dist/esm/mds-pref-animation.entry.js +6 -5
- package/dist/esm/mds-pref-consumption.entry.js +6 -5
- package/dist/esm/mds-pref-contrast.entry.js +6 -5
- package/dist/esm/mds-pref-language-item.entry.js +6 -5
- package/dist/esm/mds-pref-language.entry.js +6 -5
- package/dist/esm/mds-pref-mode.entry.js +6 -5
- package/dist/esm/mds-pref-theme-item.entry.js +4 -3
- package/dist/esm/mds-pref-theme.entry.js +6 -5
- package/dist/esm/mds-pref.entry.js +12 -6
- package/dist/esm/mds-price-table-features-cell.entry.js +5 -4
- package/dist/esm/mds-price-table-features-row.entry.js +5 -4
- package/dist/esm/mds-price-table-features.entry.js +5 -4
- package/dist/esm/mds-price-table-header.entry.js +4 -3
- package/dist/esm/mds-price-table-list-item.entry.js +4 -3
- package/dist/esm/mds-price-table-list.entry.js +5 -4
- package/dist/esm/mds-price-table.entry.js +4 -3
- package/dist/esm/mds-progress_2.entry.js +13 -8
- package/dist/esm/mds-push-notification-item.entry.js +7 -6
- package/dist/esm/mds-push-notification.entry.js +6 -5
- package/dist/esm/mds-quote.entry.js +5 -4
- package/dist/esm/mds-radial-menu-item.entry.js +4 -3
- package/dist/esm/mds-radial-menu.entry.js +8 -7
- package/dist/esm/mds-separator.entry.js +5 -4
- package/dist/esm/mds-status-bar.entry.js +5 -4
- package/dist/esm/mds-stepper-bar-item.entry.js +7 -6
- package/dist/esm/mds-stepper-bar.entry.js +6 -6
- package/dist/esm/mds-tab-bar-item.entry.js +5 -4
- package/dist/esm/mds-tab-bar.entry.js +5 -4
- package/dist/esm/mds-tab_2.entry.js +41 -17
- package/dist/esm/mds-table-body.entry.js +5 -4
- package/dist/esm/mds-table-footer.entry.js +5 -4
- package/dist/esm/mds-table-header-cell.entry.js +5 -4
- package/dist/esm/mds-table-header.entry.js +14 -14
- package/dist/esm/mds-table-row.entry.js +7 -6
- package/dist/esm/mds-table.entry.js +42 -14
- package/dist/esm/mds-text.entry.js +5 -4
- package/dist/esm/mds-toast-region.entry.js +4 -3
- package/dist/esm/mds-toast.entry.js +6 -5
- package/dist/esm/mds-tooltip.entry.js +33 -14
- package/dist/esm/mds-tree-item.entry.js +6 -5
- package/dist/esm/mds-tree.entry.js +4 -3
- package/dist/esm/mds-url-view.entry.js +6 -18
- package/dist/esm/mds-usage.entry.js +6 -5
- package/dist/esm/mds-video-wall.entry.js +5 -4
- package/dist/esm/mds-zero.entry.js +15 -5
- package/dist/esm/{navigation-Bz1eiKqd.js → navigation-To9IeLHs.js} +7 -0
- package/dist/esm/{preference-C8foBO86.js → preference-CBMLGSf7.js} +1 -1
- package/dist/esm-es5/{floating-controller-xixU_s1w.js → floating-controller-DlFrvBTG.js} +32 -12
- package/dist/esm-es5/{floating-ui.dom-BaFfIZGB.js → floating-ui.dom-C7p9e0P3.js} +18 -18
- package/dist/esm-es5/{index-CvLLN-QH.js → index-CPibDZjX.js} +30 -27
- package/dist/esm-es5/index-DWniH_Ge.js +13 -0
- package/dist/esm-es5/index.js +47 -5
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{locale-DhP1Ge2o.js → locale-B7Hw4niB.js} +1 -1
- package/dist/esm-es5/magma-components.js +3 -3
- package/dist/esm-es5/mds-accordion-item.entry.js +6 -4
- package/dist/esm-es5/mds-accordion-timer-item.entry.js +6 -4
- package/dist/esm-es5/mds-accordion-timer.entry.js +4 -4
- package/dist/esm-es5/mds-accordion.entry.js +4 -4
- package/dist/esm-es5/mds-author.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack-item.entry.js +2 -2
- package/dist/esm-es5/mds-avatar-stack.entry.js +2 -2
- package/dist/esm-es5/mds-avatar.entry.js +7 -7
- package/dist/esm-es5/mds-badge.entry.js +2 -2
- package/dist/esm-es5/mds-banner_3.entry.js +25 -6
- package/dist/esm-es5/mds-benchmark-bar.entry.js +3 -3
- package/dist/esm-es5/mds-bibliography.entry.js +6 -6
- package/dist/esm-es5/mds-book.entry.js +22 -22
- package/dist/esm-es5/mds-breadcrumb-item.entry.js +2 -2
- package/dist/esm-es5/mds-breadcrumb.entry.js +4 -4
- package/dist/esm-es5/mds-button-dropdown.entry.js +5 -5
- package/dist/esm-es5/mds-button-group.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +20 -20
- package/dist/esm-es5/mds-calendar_2.entry.js +56 -14
- package/dist/esm-es5/mds-card-content.entry.js +1 -1
- package/dist/esm-es5/mds-card-footer.entry.js +1 -1
- package/dist/esm-es5/mds-card-header.entry.js +1 -1
- package/dist/esm-es5/mds-card-media.entry.js +1 -1
- package/dist/esm-es5/mds-card.entry.js +3 -3
- package/dist/esm-es5/mds-details.entry.js +3 -3
- package/dist/esm-es5/mds-dropdown.entry.js +31 -16
- package/dist/esm-es5/mds-emoji.entry.js +44 -44
- package/dist/esm-es5/mds-entity.entry.js +1 -1
- package/dist/esm-es5/mds-file-preview.entry.js +5 -5
- package/dist/esm-es5/mds-file.entry.js +7 -7
- package/dist/esm-es5/mds-filter-item.entry.js +4 -4
- package/dist/esm-es5/mds-filter.entry.js +7 -7
- package/dist/esm-es5/mds-header-bar.entry.js +3 -3
- package/dist/esm-es5/mds-header.entry.js +8 -8
- package/dist/esm-es5/mds-horizontal-scroll.entry.js +13 -13
- package/dist/esm-es5/mds-hr.entry.js +1 -1
- package/dist/esm-es5/mds-img.entry.js +4 -4
- package/dist/esm-es5/mds-input-date-range-preselection.entry.js +3 -3
- package/dist/esm-es5/mds-input-date-range.entry.js +48 -15
- package/dist/esm-es5/mds-input-date.entry.js +19 -10
- package/dist/esm-es5/mds-input-field.entry.js +4 -4
- package/dist/esm-es5/mds-input-otp.entry.js +6 -6
- package/dist/esm-es5/mds-input-range-value.entry.js +1 -0
- package/dist/esm-es5/mds-input-range.entry.js +93 -12
- package/dist/esm-es5/mds-input-select.entry.js +4 -4
- package/dist/esm-es5/mds-input-switch_2.entry.js +5 -5
- package/dist/esm-es5/mds-input-tip_2.entry.js +9 -6
- package/dist/esm-es5/mds-input-upload.entry.js +8 -8
- package/dist/esm-es5/mds-input.entry.js +157 -52
- package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
- package/dist/esm-es5/mds-keyboard.entry.js +7 -7
- package/dist/esm-es5/mds-kpi-item.entry.js +3 -3
- package/dist/esm-es5/mds-kpi.entry.js +1 -1
- package/dist/esm-es5/mds-label.entry.js +2 -2
- package/dist/esm-es5/mds-link.entry.js +7 -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 +14 -14
- package/dist/esm-es5/mds-note.entry.js +3 -3
- package/dist/esm-es5/mds-notification.entry.js +8 -8
- package/dist/esm-es5/mds-paginator-item.entry.js +3 -3
- 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 +4 -4
- package/dist/esm-es5/mds-pref-consumption.entry.js +4 -4
- package/dist/esm-es5/mds-pref-contrast.entry.js +4 -4
- package/dist/esm-es5/mds-pref-language-item.entry.js +3 -3
- package/dist/esm-es5/mds-pref-language.entry.js +9 -9
- package/dist/esm-es5/mds-pref-mode.entry.js +7 -7
- package/dist/esm-es5/mds-pref-theme-item.entry.js +5 -5
- package/dist/esm-es5/mds-pref-theme.entry.js +14 -14
- package/dist/esm-es5/mds-pref.entry.js +7 -4
- 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 +9 -5
- package/dist/esm-es5/mds-push-notification-item.entry.js +3 -3
- package/dist/esm-es5/mds-push-notification.entry.js +7 -7
- 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 +4 -4
- package/dist/esm-es5/mds-separator.entry.js +1 -1
- package/dist/esm-es5/mds-status-bar.entry.js +3 -3
- package/dist/esm-es5/mds-stepper-bar-item.entry.js +5 -5
- package/dist/esm-es5/mds-stepper-bar.entry.js +8 -5
- package/dist/esm-es5/mds-tab-bar-item.entry.js +4 -4
- package/dist/esm-es5/mds-tab-bar.entry.js +2 -2
- package/dist/esm-es5/mds-tab_2.entry.js +31 -11
- 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 +7 -7
- package/dist/esm-es5/mds-table-header.entry.js +9 -8
- package/dist/esm-es5/mds-table-row.entry.js +4 -4
- package/dist/esm-es5/mds-table.entry.js +24 -11
- package/dist/esm-es5/mds-text.entry.js +7 -7
- package/dist/esm-es5/mds-toast-region.entry.js +5 -5
- package/dist/esm-es5/mds-toast.entry.js +7 -7
- package/dist/esm-es5/mds-tooltip.entry.js +12 -3
- package/dist/esm-es5/mds-tree-item.entry.js +7 -7
- package/dist/esm-es5/mds-tree.entry.js +5 -5
- package/dist/esm-es5/mds-url-view.entry.js +2 -2
- package/dist/esm-es5/mds-usage.entry.js +3 -3
- 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-Bz1eiKqd.js → navigation-To9IeLHs.js} +8 -1
- package/dist/esm-es5/{preference-C8foBO86.js → preference-CBMLGSf7.js} +1 -1
- package/dist/hydrate/index.js +2097 -1008
- package/dist/hydrate/index.mjs +2097 -1008
- 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-c4c1ef48.system.entry.js → p-009e4359.system.entry.js} +118 -118
- package/dist/magma-components/{p-f0909679.system.entry.js → p-01d6d5a5.system.entry.js} +24 -11
- package/dist/magma-components/p-03285704.entry.js +1 -0
- package/dist/magma-components/p-03441f69.entry.js +1 -0
- package/dist/magma-components/p-03896fbd.entry.js +1 -0
- package/dist/magma-components/p-038fc1db.entry.js +1 -0
- package/dist/magma-components/{p-e3b9ea0b.system.entry.js → p-03a2f4e7.system.entry.js} +2 -2
- package/dist/magma-components/{p-caca78ff.system.entry.js → p-06ba1f71.system.entry.js} +4 -4
- package/dist/magma-components/p-0760e8a4.entry.js +1 -0
- package/dist/magma-components/p-082b787b.entry.js +1 -0
- package/dist/magma-components/p-09537867.entry.js +1 -0
- package/dist/magma-components/p-09675899.entry.js +1 -0
- package/dist/magma-components/p-0a914567.entry.js +1 -0
- package/dist/magma-components/p-0c8dd132.entry.js +1 -0
- package/dist/magma-components/p-0d7370d8.system.entry.js +1 -0
- package/dist/magma-components/{p-7a73fd19.system.entry.js → p-0e7bb90b.system.entry.js} +20 -20
- package/dist/magma-components/{p-dd348171.system.entry.js → p-10a68a4d.system.entry.js} +2 -2
- package/dist/magma-components/p-11312b0c.entry.js +1 -0
- package/dist/magma-components/{p-840c19ee.system.entry.js → p-11543f44.system.entry.js} +4 -4
- package/dist/magma-components/{p-3a836de8.system.entry.js → p-11ee7089.system.entry.js} +5 -5
- package/dist/magma-components/p-13e94501.entry.js +1 -0
- package/dist/magma-components/{p-c9baa3fb.system.entry.js → p-14f60718.system.entry.js} +1 -1
- package/dist/magma-components/p-16651356.entry.js +1 -0
- package/dist/magma-components/p-1686b36a.entry.js +1 -0
- package/dist/magma-components/{p-2e825656.system.entry.js → p-16a7e26a.system.entry.js} +4 -4
- package/dist/magma-components/p-1784d5fb.entry.js +1 -0
- package/dist/magma-components/p-18421a84.entry.js +1 -0
- package/dist/magma-components/p-1934151b.entry.js +1 -0
- package/dist/magma-components/p-193b58d0.entry.js +1 -0
- package/dist/magma-components/{p-720e9291.system.entry.js → p-19f3b524.system.entry.js} +6 -6
- package/dist/magma-components/{p-c54f2089.system.entry.js → p-1d101083.system.entry.js} +1 -1
- package/dist/magma-components/p-1db5ab39.entry.js +1 -0
- package/dist/magma-components/{p-24fb2c5c.system.entry.js → p-1e5d4854.system.entry.js} +7 -7
- package/dist/magma-components/p-1f756317.entry.js +1 -0
- package/dist/magma-components/p-2100343f.entry.js +1 -0
- package/dist/magma-components/p-211b2675.system.entry.js +1 -0
- package/dist/magma-components/{p-ca5427d4.system.entry.js → p-2289423c.system.entry.js} +1 -1
- package/dist/magma-components/p-26aad538.entry.js +1 -0
- package/dist/magma-components/p-270e9afa.entry.js +1 -0
- package/dist/magma-components/{p-9f0100f2.system.entry.js → p-275d7968.system.entry.js} +14 -14
- package/dist/magma-components/{p-5f20592f.system.entry.js → p-28ecae1e.system.entry.js} +2 -2
- package/dist/magma-components/{p-c94e7973.system.entry.js → p-2a5223df.system.entry.js} +7 -7
- package/dist/magma-components/p-2aa3e73a.system.entry.js +13 -0
- package/dist/magma-components/p-2c64ec7e.entry.js +1 -0
- package/dist/magma-components/{p-bcc6c358.system.entry.js → p-2dc9499c.system.entry.js} +3 -3
- package/dist/magma-components/{p-00d2ef14.system.entry.js → p-2dd32b3f.system.entry.js} +7 -7
- package/dist/magma-components/{p-380adee8.system.entry.js → p-2e5684a0.system.entry.js} +2 -2
- package/dist/magma-components/{p-390d0672.system.entry.js → p-303173d5.system.entry.js} +3 -3
- package/dist/magma-components/{p-7a4e8bc0.system.entry.js → p-33172d6f.system.entry.js} +8 -5
- package/dist/magma-components/p-333c0ae5.entry.js +1 -0
- package/dist/magma-components/p-3341ac50.entry.js +1 -0
- package/dist/magma-components/p-34183ce3.entry.js +1 -0
- package/dist/magma-components/p-35a77756.entry.js +1 -0
- package/dist/magma-components/p-37172440.entry.js +1 -0
- package/dist/magma-components/{p-3c911608.system.entry.js → p-37470fef.system.entry.js} +9 -5
- package/dist/magma-components/p-3b41f929.entry.js +1 -0
- package/dist/magma-components/p-3ccc1c10.entry.js +1 -0
- package/dist/magma-components/p-3d0578a7.entry.js +1 -0
- package/dist/magma-components/p-3d45d7a7.entry.js +1 -0
- package/dist/magma-components/{p-caf478ff.system.entry.js → p-3d60f528.system.entry.js} +2 -2
- package/dist/magma-components/p-3fb983e9.system.entry.js +1 -0
- package/dist/magma-components/p-4082973c.system.entry.js +30 -0
- package/dist/magma-components/p-41829c15.system.entry.js +7 -0
- package/dist/magma-components/p-420c5af4.entry.js +1 -0
- package/dist/magma-components/p-4242100c.entry.js +1 -0
- package/dist/magma-components/p-430239ca.entry.js +8 -0
- package/dist/magma-components/p-4564e7ad.entry.js +1 -0
- package/dist/magma-components/{p-6336d979.entry.js → p-47712df6.entry.js} +1 -1
- package/dist/magma-components/p-478bbfdb.entry.js +1 -0
- package/dist/magma-components/p-478e6930.entry.js +1 -0
- package/dist/magma-components/{p-c691f27e.system.entry.js → p-483480f9.system.entry.js} +31 -11
- package/dist/magma-components/p-4bb45501.entry.js +1 -0
- package/dist/magma-components/p-4e431466.entry.js +1 -0
- package/dist/magma-components/{p-1dc0d59c.system.entry.js → p-4e4dd1c1.system.entry.js} +5 -5
- package/dist/magma-components/{p-109926ce.system.entry.js → p-522968d1.system.entry.js} +6 -6
- package/dist/magma-components/{p-7e0a8194.system.entry.js → p-52b73a95.system.entry.js} +7 -7
- package/dist/magma-components/p-533bb401.system.entry.js +60 -0
- package/dist/magma-components/{p-9228db0b.system.entry.js → p-555bd3f8.system.entry.js} +7 -7
- package/dist/magma-components/{p-804f4794.system.entry.js → p-56715bbc.system.entry.js} +4 -4
- package/dist/magma-components/{p-527569a3.system.entry.js → p-586878a2.system.entry.js} +2 -2
- package/dist/magma-components/{p-3cf8ed46.system.entry.js → p-58bbada6.system.entry.js} +1 -1
- package/dist/magma-components/{p-eac943e5.system.entry.js → p-5b5d57b0.system.entry.js} +4 -4
- package/dist/magma-components/p-5c0f0517.entry.js +1 -0
- package/dist/magma-components/p-5c4aed7e.entry.js +1 -0
- package/dist/magma-components/p-5d8cb375.system.entry.js +107 -0
- package/dist/magma-components/p-62e42a62.entry.js +1 -0
- package/dist/magma-components/p-6443e40f.entry.js +1 -0
- package/dist/magma-components/{p-11456781.system.entry.js → p-6471c0a4.system.entry.js} +2 -2
- package/dist/magma-components/{p-b871ad36.system.entry.js → p-6619b3c0.system.entry.js} +11 -11
- package/dist/magma-components/p-67fa6fd7.entry.js +1 -0
- package/dist/magma-components/{p-79085c46.system.entry.js → p-68d83e18.system.entry.js} +1 -1
- package/dist/magma-components/{p-3ba14295.system.entry.js → p-6c6ec154.system.entry.js} +4 -4
- package/dist/magma-components/{p-8ac1ba5c.system.entry.js → p-6d7e8240.system.entry.js} +4 -4
- package/dist/magma-components/{p-3f0e6729.system.entry.js → p-6de384d0.system.entry.js} +3 -3
- package/dist/magma-components/p-6fb17347.system.entry.js +1 -0
- package/dist/magma-components/p-6fdf3b37.entry.js +1 -0
- package/dist/magma-components/p-70cf2c28.entry.js +1 -0
- package/dist/magma-components/p-73596a07.entry.js +1 -0
- package/dist/magma-components/{p-a5ca10ae.system.entry.js → p-73a6ee3b.system.entry.js} +1 -1
- package/dist/magma-components/{p-a9ab9eb0.system.entry.js → p-73b0b35f.system.entry.js} +2 -2
- package/dist/magma-components/p-73c0b53e.system.entry.js +82 -0
- package/dist/magma-components/p-73f22a7d.entry.js +1 -0
- package/dist/magma-components/p-756cd3dc.entry.js +1 -0
- package/dist/magma-components/p-757c3420.entry.js +1 -0
- package/dist/magma-components/p-778a46fa.entry.js +1 -0
- package/dist/magma-components/p-78cced59.entry.js +1 -0
- package/dist/magma-components/p-7caf244b.system.entry.js +7 -0
- package/dist/magma-components/p-7cfa2415.system.entry.js +1 -0
- package/dist/magma-components/p-7e87807d.entry.js +1 -0
- package/dist/magma-components/p-8193fd71.entry.js +1 -0
- package/dist/magma-components/p-82041de2.entry.js +1 -0
- package/dist/magma-components/{p-a2d4d849.system.entry.js → p-825713bc.system.entry.js} +2 -2
- package/dist/magma-components/p-851010c6.system.entry.js +25 -0
- package/dist/magma-components/p-857e893e.system.entry.js +26 -0
- package/dist/magma-components/p-8928d9b5.system.entry.js +110 -0
- package/dist/magma-components/p-8aa6524e.entry.js +1 -0
- package/dist/magma-components/p-8acbf50a.entry.js +1 -0
- package/dist/magma-components/p-8e471af5.entry.js +1 -0
- package/dist/magma-components/p-913123e6.entry.js +1 -0
- package/dist/magma-components/{p-724b7fff.system.entry.js → p-91406af1.system.entry.js} +9 -8
- package/dist/magma-components/p-95a29fd2.entry.js +1 -0
- package/dist/magma-components/{p-4a9ed4f7.system.entry.js → p-96ece2cc.system.entry.js} +4 -4
- package/dist/magma-components/p-96f66b8f.entry.js +1 -0
- package/dist/magma-components/{p-2a5167e3.system.entry.js → p-97e55f7e.system.entry.js} +5 -5
- package/dist/magma-components/{p-bc054fa3.system.entry.js → p-98a3802b.system.entry.js} +33 -18
- package/dist/magma-components/{p-0da5c696.system.entry.js → p-9b00051f.system.entry.js} +8 -8
- package/dist/magma-components/p-9be80c34.entry.js +1 -0
- package/dist/magma-components/{p-7701a318.system.entry.js → p-9c0d1025.system.entry.js} +1 -1
- package/dist/magma-components/{p-6f90c2c9.system.entry.js → p-9e3c1c28.system.entry.js} +9 -9
- package/dist/magma-components/{p-BoDvZoCN.system.js → p-B6f9M1Bj.system.js} +8 -1
- package/dist/magma-components/p-B7Jp0tqu.system.js +5 -0
- package/dist/magma-components/p-BAW1DAbr.system.js +13 -0
- package/dist/magma-components/{p-nFkaC8l_.system.js → p-BAcul0Zt.system.js} +1 -1
- package/dist/magma-components/{p-DxR4rGsw.js → p-BXkIXROP.js} +1 -1
- package/dist/magma-components/{p-CATyfc78.js → p-BkfGbFba.js} +2 -2
- package/dist/magma-components/{p-BaFfIZGB.js → p-C7p9e0P3.js} +1 -1
- package/dist/magma-components/p-CPibDZjX.js +3 -0
- package/dist/magma-components/{p-Cbabyppz.system.js → p-CyPLJo0p.system.js} +34 -14
- package/dist/magma-components/{p-BHdlb7Fr.system.js → p-CzZWts7L.system.js} +8 -8
- package/dist/magma-components/{p-VOjLCGlK.system.js → p-D5Yayq7E.system.js} +47 -5
- package/dist/magma-components/{p-DOisMne4.system.js → p-DGfoeZMw.system.js} +6 -6
- package/dist/magma-components/{p-BZP13mns.system.js → p-EhfbAdzV.system.js} +52 -51
- package/dist/magma-components/p-H8sVzFTL.js +1 -0
- package/dist/magma-components/p-a00805cd.system.entry.js +136 -0
- package/dist/magma-components/p-a025b35b.entry.js +1 -0
- package/dist/magma-components/p-a02819e3.entry.js +1 -0
- package/dist/magma-components/p-a0389821.entry.js +1 -0
- package/dist/magma-components/p-a075c069.entry.js +1 -0
- package/dist/magma-components/p-a0764f01.entry.js +1 -0
- package/dist/magma-components/{p-54abba52.system.entry.js → p-a171c096.system.entry.js} +4 -4
- package/dist/magma-components/{p-9b0b65f0.system.entry.js → p-a190c325.system.entry.js} +3 -3
- package/dist/magma-components/{p-f2649031.entry.js → p-a33a235e.entry.js} +1 -1
- package/dist/magma-components/{p-7fbdf896.system.entry.js → p-a4aaf1c6.system.entry.js} +8 -8
- package/dist/magma-components/{p-c8c918d2.entry.js → p-a9c7fb3f.entry.js} +3 -3
- package/dist/magma-components/{p-372fa5d4.system.entry.js → p-a9d100e5.system.entry.js} +7 -7
- package/dist/magma-components/{p-09a7c1de.system.entry.js → p-aa601247.system.entry.js} +2 -2
- package/dist/magma-components/{p-ca4e8601.system.entry.js → p-aa86018e.system.entry.js} +2 -2
- package/dist/magma-components/p-ab920e0b.entry.js +1 -0
- package/dist/magma-components/{p-f51ed098.entry.js → p-ac401f1a.entry.js} +1 -1
- package/dist/magma-components/{p-f5bd5b64.system.entry.js → p-ad12fa89.system.entry.js} +3 -3
- package/dist/magma-components/{p-3ddae677.system.entry.js → p-ad6b5fc1.system.entry.js} +3 -3
- package/dist/magma-components/p-ada93f68.entry.js +1 -0
- package/dist/magma-components/{p-4a72d72c.system.entry.js → p-ae258eca.system.entry.js} +2 -2
- package/dist/magma-components/{p-a48c73b1.system.entry.js → p-af1a93c6.system.entry.js} +7 -7
- package/dist/magma-components/p-b0406c51.entry.js +1 -0
- package/dist/magma-components/p-b18b0088.system.entry.js +9 -0
- package/dist/magma-components/p-b1fe6261.entry.js +1 -0
- package/dist/magma-components/{p-99d2ace2.system.entry.js → p-b47c444e.system.entry.js} +2 -2
- package/dist/magma-components/p-b4856322.entry.js +1 -0
- package/dist/magma-components/p-b7d90310.entry.js +1 -0
- package/dist/magma-components/{p-0e1d239b.system.entry.js → p-b8e5411d.system.entry.js} +1 -1
- package/dist/magma-components/{p-4a2ed30e.system.entry.js → p-b95f648f.system.entry.js} +3 -3
- package/dist/magma-components/{p-64f86e46.system.entry.js → p-ba148b89.system.entry.js} +7 -7
- package/dist/magma-components/p-bbbf8b89.system.entry.js +29 -0
- package/dist/magma-components/p-bca909d9.entry.js +1 -0
- package/dist/magma-components/p-bd4ad8c7.entry.js +1 -0
- package/dist/magma-components/p-bd539dbc.entry.js +1 -0
- package/dist/magma-components/{p-f7e9af99.system.entry.js → p-c0c69807.system.entry.js} +2 -2
- package/dist/magma-components/{p-22f24125.system.entry.js → p-c2a883b0.system.entry.js} +1 -1
- package/dist/magma-components/{p-b7d18d7a.system.entry.js → p-c2d9cf4e.system.entry.js} +1 -1
- package/dist/magma-components/{p-555ba0e0.system.entry.js → p-c3cfbc71.system.entry.js} +8 -8
- package/dist/magma-components/p-c5b7f820.system.entry.js +1 -0
- package/dist/magma-components/p-c67655fa.entry.js +1 -0
- package/dist/magma-components/p-c6cab2cb.entry.js +1 -0
- package/dist/magma-components/p-c6f56934.entry.js +1 -0
- package/dist/magma-components/{p-793072e1.system.entry.js → p-c8430552.system.entry.js} +14 -14
- package/dist/magma-components/p-c902d468.entry.js +1 -0
- package/dist/magma-components/p-ca0f3549.entry.js +1 -0
- package/dist/magma-components/{p-98cc6473.system.entry.js → p-ca5867f5.system.entry.js} +15 -15
- package/dist/magma-components/p-cc5518b1.entry.js +1 -0
- package/dist/magma-components/{p-32b3ad6f.entry.js → p-ccb23b6a.entry.js} +1 -1
- package/dist/magma-components/p-ccb64689.system.entry.js +113 -0
- package/dist/magma-components/{p-fe51c0cb.system.entry.js → p-cf8cfcac.system.entry.js} +3 -3
- package/dist/magma-components/p-cfb153b8.entry.js +1 -0
- package/dist/magma-components/p-cfcb8bb5.entry.js +1 -0
- package/dist/magma-components/p-d0b45a54.entry.js +1 -0
- package/dist/magma-components/{p-3f17a06f.system.entry.js → p-d0dfa8b5.system.entry.js} +2 -2
- package/dist/magma-components/p-d1281855.system.entry.js +330 -0
- package/dist/magma-components/{p-48a1871f.system.entry.js → p-d173ae2f.system.entry.js} +1 -1
- package/dist/magma-components/p-d1751ff6.entry.js +1 -0
- package/dist/magma-components/p-d32ca6ce.entry.js +1 -0
- package/dist/magma-components/p-d4452e41.entry.js +1 -0
- package/dist/magma-components/p-d5dec64d.entry.js +1 -0
- package/dist/magma-components/p-d7813f9b.system.entry.js +13 -0
- package/dist/magma-components/{p-27a32865.system.entry.js → p-dd4b04ed.system.entry.js} +3 -3
- package/dist/magma-components/p-ddc31c50.entry.js +1 -0
- package/dist/magma-components/{p-b129b127.system.entry.js → p-df70af5f.system.entry.js} +37 -37
- package/dist/magma-components/p-e009c632.entry.js +1 -0
- package/dist/magma-components/p-e160e4e1.entry.js +1 -0
- package/dist/magma-components/p-e497f0db.entry.js +1 -0
- package/dist/magma-components/p-e4db9ad2.entry.js +1 -0
- package/dist/magma-components/p-e63c1ba4.entry.js +1 -0
- package/dist/magma-components/p-e66db408.entry.js +1 -0
- package/dist/magma-components/{p-5c6fdabd.system.entry.js → p-e84361ee.system.entry.js} +12 -3
- package/dist/magma-components/p-ea93721d.entry.js +1 -0
- package/dist/magma-components/{p-f6358241.system.entry.js → p-eb4f76d8.system.entry.js} +9 -6
- package/dist/magma-components/p-ecf29ffa.entry.js +1 -0
- package/dist/magma-components/{p-5794053b.system.entry.js → p-ede31d27.system.entry.js} +6 -6
- package/dist/magma-components/{p-66f7f9b1.system.entry.js → p-ee247029.system.entry.js} +3 -3
- package/dist/magma-components/{p-45c26a24.system.entry.js → p-ee65f0eb.system.entry.js} +5 -5
- package/dist/magma-components/p-efcd8a1d.entry.js +1 -0
- package/dist/magma-components/{p-9b0d7f7d.system.entry.js → p-f01e7a7e.system.entry.js} +4 -4
- package/dist/magma-components/{p-188a55ac.system.entry.js → p-f0d93b22.system.entry.js} +9 -6
- package/dist/magma-components/{p-c0295a0e.system.entry.js → p-f2e5a2c7.system.entry.js} +7 -7
- package/dist/magma-components/p-f3041712.entry.js +1 -0
- package/dist/magma-components/{p-97a501cd.system.entry.js → p-f3f1da06.system.entry.js} +5 -5
- package/dist/magma-components/{p-b1cd3acf.system.entry.js → p-f4e8f507.system.entry.js} +2 -2
- package/dist/magma-components/{p-1e24aafa.system.entry.js → p-f5c82548.system.entry.js} +1 -1
- package/dist/magma-components/{p-411fca2f.system.entry.js → p-f6f6d914.system.entry.js} +3 -3
- package/dist/magma-components/p-f9d2316a.entry.js +1 -0
- package/dist/magma-components/p-fe4ae251.entry.js +1 -0
- package/dist/magma-components/{p-16bbff4e.system.entry.js → p-ffcfa9e3.system.entry.js} +2 -2
- package/dist/magma-components/p-kW8cjKIa.js +1 -0
- package/dist/mcp/checks.js +1 -1
- package/dist/stats.json +4106 -3337
- package/dist/types/common/floating-controller.d.ts +14 -0
- package/dist/types/common/navigation.d.ts +7 -0
- package/dist/types/common/preference.d.ts +13 -1
- package/dist/types/common/validity/index.d.ts +1 -1
- package/dist/types/components/mds-accordion-item/mds-accordion-item.d.ts +10 -2
- package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +10 -2
- package/dist/types/components/mds-banner/mds-banner.d.ts +13 -4
- package/dist/types/components/mds-banner/meta/dictionary.d.ts +7 -0
- package/dist/types/components/mds-banner/meta/types.d.ts +2 -0
- package/dist/types/components/mds-calendar/mds-calendar.d.ts +60 -16
- package/dist/types/components/mds-calendar/meta/types.d.ts +2 -0
- package/dist/types/components/mds-chip/mds-chip.d.ts +10 -0
- package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +1 -0
- package/dist/types/components/mds-icon/services/icons-set.service.d.ts +42 -0
- package/dist/types/components/mds-input/mds-input.d.ts +114 -10
- package/dist/types/components/mds-input/meta/color.d.ts +13 -0
- package/dist/types/components/mds-input/meta/types.d.ts +1 -1
- package/dist/types/components/mds-input/meta/validators.d.ts +5 -0
- package/dist/types/components/mds-input/meta/validity.d.ts +3 -2
- package/dist/types/components/mds-input-date/mds-input-date.d.ts +13 -2
- package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +34 -3
- package/dist/types/components/mds-input-range/mds-input-range.d.ts +96 -4
- package/dist/types/components/mds-input-range/meta/event-detail.d.ts +7 -0
- package/dist/types/components/mds-input-range-value/mds-input-range-value.d.ts +18 -0
- package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +6 -3
- package/dist/types/components/mds-input-tip-item/meta/dictionary.d.ts +1 -1
- package/dist/types/components/mds-pref/mds-pref.d.ts +6 -0
- package/dist/types/components/mds-tab/mds-tab.d.ts +2 -1
- package/dist/types/components/mds-table/mds-table.d.ts +6 -1
- package/dist/types/components/mds-table-header/mds-table-header.d.ts +1 -1
- package/dist/types/components/mds-url-view/mds-url-view.d.ts +0 -3
- package/dist/types/components/mds-zero/mds-zero.d.ts +4 -0
- package/dist/types/components.d.ts +157 -38
- package/dist/types/fixtures/dark-mode.d.ts +7 -0
- package/dist/types/index.d.ts +20 -8
- package/dist/types/stencil-public-runtime.d.ts +1 -1
- package/dist/types/type/file-types.d.ts +1 -1
- package/dist/types/type/input.d.ts +2 -2
- package/package.json +19 -17
- package/dist/components/p-BQSO-HFx.js +0 -1
- package/dist/components/p-Bw-eI2ca.js +0 -1
- package/dist/components/p-BwwiliWt.js +0 -1
- package/dist/components/p-CZX6N7ce.js +0 -1
- package/dist/components/p-CpuUmvdl.js +0 -1
- package/dist/components/p-DUgCzZw9.js +0 -1
- package/dist/components/p-DWOg4-dH.js +0 -1
- package/dist/components/p-DZ4_zLTp.js +0 -1
- package/dist/components/p-J48g0t65.js +0 -1
- package/dist/components/p-TZJN-ygm.js +0 -3
- package/dist/components/p-UfaGafRS.js +0 -1
- package/dist/components/p-k_Ly95Tj.js +0 -1
- package/dist/components/p-lXKBo6V3.js +0 -1
- package/dist/components/p-oFHbHRLX.js +0 -1
- package/dist/esm-es5/index-DEL0bLpb.js +0 -10
- package/dist/magma-components/p-02aed12a.entry.js +0 -1
- package/dist/magma-components/p-0417391b.entry.js +0 -1
- package/dist/magma-components/p-08f7a84b.entry.js +0 -1
- package/dist/magma-components/p-0df067b4.entry.js +0 -1
- package/dist/magma-components/p-0f4c2de6.entry.js +0 -1
- package/dist/magma-components/p-14de26d5.entry.js +0 -1
- package/dist/magma-components/p-163eccbd.entry.js +0 -1
- package/dist/magma-components/p-167ba07a.entry.js +0 -1
- package/dist/magma-components/p-17249b74.entry.js +0 -1
- package/dist/magma-components/p-1a53d9d0.system.entry.js +0 -225
- package/dist/magma-components/p-1cc379d6.entry.js +0 -1
- package/dist/magma-components/p-223efc32.entry.js +0 -1
- package/dist/magma-components/p-2454e4cd.system.entry.js +0 -7
- package/dist/magma-components/p-24a69c45.entry.js +0 -1
- package/dist/magma-components/p-259d9380.entry.js +0 -1
- package/dist/magma-components/p-26b08e33.entry.js +0 -1
- package/dist/magma-components/p-2940499f.entry.js +0 -1
- package/dist/magma-components/p-2f4a7253.system.entry.js +0 -1
- package/dist/magma-components/p-2ffa4d4a.entry.js +0 -1
- package/dist/magma-components/p-33129e0c.system.entry.js +0 -13
- package/dist/magma-components/p-397c0686.entry.js +0 -1
- package/dist/magma-components/p-3bf4f012.system.entry.js +0 -13
- package/dist/magma-components/p-3de37b32.entry.js +0 -1
- package/dist/magma-components/p-40c59c18.entry.js +0 -1
- package/dist/magma-components/p-43c307f5.entry.js +0 -1
- package/dist/magma-components/p-440d7942.entry.js +0 -1
- package/dist/magma-components/p-4541c233.entry.js +0 -1
- package/dist/magma-components/p-4612bc78.entry.js +0 -8
- package/dist/magma-components/p-4718a71d.entry.js +0 -1
- package/dist/magma-components/p-4a1f7eb5.entry.js +0 -1
- package/dist/magma-components/p-4c3b3913.system.entry.js +0 -25
- package/dist/magma-components/p-4c955367.entry.js +0 -1
- package/dist/magma-components/p-4ebb0a9e.entry.js +0 -1
- package/dist/magma-components/p-4f80bf37.entry.js +0 -1
- package/dist/magma-components/p-52211fa3.entry.js +0 -1
- package/dist/magma-components/p-52cc5a93.entry.js +0 -1
- package/dist/magma-components/p-56cf1cab.entry.js +0 -1
- package/dist/magma-components/p-59aa4994.entry.js +0 -1
- package/dist/magma-components/p-5a754d7b.entry.js +0 -1
- package/dist/magma-components/p-5ca6063a.entry.js +0 -1
- package/dist/magma-components/p-5cb581df.entry.js +0 -1
- package/dist/magma-components/p-5d825728.entry.js +0 -1
- package/dist/magma-components/p-5dfca9f0.entry.js +0 -1
- package/dist/magma-components/p-5f38e95b.entry.js +0 -1
- package/dist/magma-components/p-5f4bec31.entry.js +0 -1
- package/dist/magma-components/p-627f5956.entry.js +0 -1
- package/dist/magma-components/p-6352c2ea.entry.js +0 -1
- package/dist/magma-components/p-64884d84.entry.js +0 -1
- package/dist/magma-components/p-65ea6fc9.entry.js +0 -1
- package/dist/magma-components/p-68b0d45a.entry.js +0 -1
- package/dist/magma-components/p-6a4d44e2.entry.js +0 -1
- package/dist/magma-components/p-6a90caf5.system.entry.js +0 -1
- package/dist/magma-components/p-6c4f2de0.entry.js +0 -1
- package/dist/magma-components/p-70faf379.entry.js +0 -1
- package/dist/magma-components/p-71d03e56.entry.js +0 -1
- package/dist/magma-components/p-73dc7c66.entry.js +0 -1
- package/dist/magma-components/p-7476cf76.system.entry.js +0 -77
- package/dist/magma-components/p-77707706.entry.js +0 -1
- package/dist/magma-components/p-78d00f88.entry.js +0 -1
- package/dist/magma-components/p-79392a0a.entry.js +0 -1
- package/dist/magma-components/p-7a33ab3c.entry.js +0 -1
- package/dist/magma-components/p-7b552dbe.entry.js +0 -1
- package/dist/magma-components/p-7c13ccb0.entry.js +0 -1
- package/dist/magma-components/p-848d1b42.system.entry.js +0 -30
- package/dist/magma-components/p-84d0d701.entry.js +0 -1
- package/dist/magma-components/p-86494ea9.entry.js +0 -1
- package/dist/magma-components/p-8915347f.entry.js +0 -1
- package/dist/magma-components/p-8b8a6662.entry.js +0 -1
- package/dist/magma-components/p-8c20ac0c.entry.js +0 -1
- package/dist/magma-components/p-90c60c48.entry.js +0 -1
- package/dist/magma-components/p-90e20ad3.entry.js +0 -1
- package/dist/magma-components/p-94548d43.entry.js +0 -1
- package/dist/magma-components/p-95020326.entry.js +0 -1
- package/dist/magma-components/p-970f45df.entry.js +0 -1
- package/dist/magma-components/p-9aba3769.entry.js +0 -1
- package/dist/magma-components/p-9b8d15a8.system.entry.js +0 -1
- package/dist/magma-components/p-9e94f4a3.system.entry.js +0 -41
- package/dist/magma-components/p-B8zYiZQY.system.js +0 -5
- package/dist/magma-components/p-CvLLN-QH.js +0 -3
- package/dist/magma-components/p-CxzVgcYv.js +0 -1
- package/dist/magma-components/p-D3J9KZKy.system.js +0 -10
- package/dist/magma-components/p-Dx7iOdVP.js +0 -1
- package/dist/magma-components/p-a112a0e2.system.entry.js +0 -24
- package/dist/magma-components/p-a2767235.entry.js +0 -1
- package/dist/magma-components/p-a2c3b294.system.entry.js +0 -94
- package/dist/magma-components/p-a4f53c83.entry.js +0 -1
- package/dist/magma-components/p-a58e8a5c.entry.js +0 -1
- package/dist/magma-components/p-a9a872e1.entry.js +0 -1
- package/dist/magma-components/p-ab1c3fb0.system.entry.js +0 -7
- package/dist/magma-components/p-ab445c2b.entry.js +0 -1
- package/dist/magma-components/p-abe32d5b.entry.js +0 -1
- package/dist/magma-components/p-af56e3e4.system.entry.js +0 -32
- package/dist/magma-components/p-b1238d48.entry.js +0 -1
- package/dist/magma-components/p-b705b805.entry.js +0 -1
- package/dist/magma-components/p-ba871d9c.entry.js +0 -1
- package/dist/magma-components/p-ba95bf93.entry.js +0 -1
- package/dist/magma-components/p-bd489df9.entry.js +0 -1
- package/dist/magma-components/p-bfd95736.entry.js +0 -1
- package/dist/magma-components/p-c06d8b5a.entry.js +0 -1
- package/dist/magma-components/p-c131d726.entry.js +0 -1
- package/dist/magma-components/p-c2758b81.entry.js +0 -1
- package/dist/magma-components/p-c49676e6.entry.js +0 -1
- package/dist/magma-components/p-c8414ee6.entry.js +0 -1
- package/dist/magma-components/p-c91cb63a.entry.js +0 -1
- package/dist/magma-components/p-cb06839f.entry.js +0 -1
- package/dist/magma-components/p-ce42734f.entry.js +0 -1
- package/dist/magma-components/p-d1e4a032.entry.js +0 -1
- package/dist/magma-components/p-d25a47fa.entry.js +0 -1
- package/dist/magma-components/p-d29b32b4.system.entry.js +0 -1
- package/dist/magma-components/p-d2ba5851.system.entry.js +0 -82
- package/dist/magma-components/p-d365c6b6.entry.js +0 -1
- package/dist/magma-components/p-d3b06151.entry.js +0 -1
- package/dist/magma-components/p-d45f65e0.entry.js +0 -1
- package/dist/magma-components/p-d51ec950.entry.js +0 -1
- package/dist/magma-components/p-d760c1fa.entry.js +0 -1
- package/dist/magma-components/p-d785d7ee.entry.js +0 -1
- package/dist/magma-components/p-d9092133.entry.js +0 -1
- package/dist/magma-components/p-de423b11.entry.js +0 -1
- package/dist/magma-components/p-df78b7ac.system.entry.js +0 -1
- package/dist/magma-components/p-e39b5e12.entry.js +0 -1
- package/dist/magma-components/p-eb220deb.system.entry.js +0 -7
- package/dist/magma-components/p-eca42fe8.system.entry.js +0 -29
- package/dist/magma-components/p-ecda3e45.entry.js +0 -1
- package/dist/magma-components/p-f9f3ad86.entry.js +0 -1
- package/dist/magma-components/p-fb4b648a.entry.js +0 -1
- package/dist/magma-components/p-fd4588c5.entry.js +0 -1
- package/dist/magma-components/p-fdd17ee6.entry.js +0 -1
- package/dist/magma-components/p-ff6cf4f8.system.entry.js +0 -98
- package/dist/magma-components/p-ff76c614.entry.js +0 -1
- /package/dist/components/{p-Bz1eiKqd.js → p-To9IeLHs.js} +0 -0
- /package/dist/magma-components/{p-Bz1eiKqd.js → p-To9IeLHs.js} +0 -0
|
@@ -2,13 +2,13 @@ import { Host, h, } from "@stencil/core";
|
|
|
2
2
|
import { hasChildWithSlot } from "../../common/slot";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import miBaselineClose from "@icon/mi/baseline/close.svg";
|
|
5
|
-
import { KeyboardManager } from "../../common/keyboard-manager";
|
|
6
5
|
import { Locale } from "../../common/locale";
|
|
7
6
|
import { preferenceStore } from "../../common/preference";
|
|
8
7
|
import localeEl from "./meta/locale.el.json";
|
|
9
8
|
import localeEn from "./meta/locale.en.json";
|
|
10
9
|
import localeEs from "./meta/locale.es.json";
|
|
11
10
|
import localeIt from "./meta/locale.it.json";
|
|
11
|
+
import { bannerTypographyDictionary } from "./meta/dictionary";
|
|
12
12
|
/**
|
|
13
13
|
* @slot - Add `text string`, `HTML elements` or `components` to this slot.
|
|
14
14
|
* @slot action - Add `HTML elements` or `components`, it is **recommended** to use `mds-button` element.
|
|
@@ -17,13 +17,14 @@ import localeIt from "./meta/locale.it.json";
|
|
|
17
17
|
*/
|
|
18
18
|
export class MdsBanner {
|
|
19
19
|
constructor() {
|
|
20
|
-
this.km = new KeyboardManager();
|
|
21
20
|
this.t = new Locale({
|
|
22
21
|
el: localeEl,
|
|
23
22
|
en: localeEn,
|
|
24
23
|
es: localeEs,
|
|
25
24
|
it: localeIt,
|
|
26
25
|
});
|
|
26
|
+
// the banner is the window of a dialog: a child of mds-modal in its slot window (#1192)
|
|
27
|
+
this.isWindow = false;
|
|
27
28
|
/**
|
|
28
29
|
* Sets the theme variant colors
|
|
29
30
|
*/
|
|
@@ -47,15 +48,25 @@ export class MdsBanner {
|
|
|
47
48
|
warning: { role: 'alert', live: 'assertive' },
|
|
48
49
|
};
|
|
49
50
|
this.isDismissible = () => this.dismissible === true || this.deletable === true;
|
|
50
|
-
|
|
51
|
+
// The place of the banner (#1192): the window of a dialog is a child of mds-modal with
|
|
52
|
+
// slot="window", the child mds-modal takes as its window (hasChildWithSlot). A banner moved in
|
|
53
|
+
// or out of a modal is disconnected and connected again without loading again, so the place
|
|
54
|
+
// is read on every connection, and again when its own slot attribute changes.
|
|
55
|
+
this.readPlace = () => {
|
|
51
56
|
var _a;
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
this.isWindow =
|
|
58
|
+
this.host.getAttribute('slot') === 'window' &&
|
|
59
|
+
((_a = this.host.parentElement) === null || _a === void 0 ? void 0 : _a.tagName.toLowerCase()) === 'mds-modal';
|
|
60
|
+
};
|
|
61
|
+
// The style of the headline: a value of the dictionary wins; left out, or a value it does not
|
|
62
|
+
// know, the title of the place by its role (#1189, titles), `dialog` as the window of a dialog
|
|
63
|
+
// and `part` in the page. A role is the style of its level at the default theme (h5, h6) and
|
|
64
|
+
// reads the tokens of the role, so a theme that moves the role moves the headline too.
|
|
65
|
+
this.headlineTypography = () => {
|
|
66
|
+
const written = bannerTypographyDictionary.find((style) => style === this.typography);
|
|
67
|
+
if (written !== undefined)
|
|
68
|
+
return written;
|
|
69
|
+
return this.isWindow ? 'dialog' : 'part';
|
|
59
70
|
};
|
|
60
71
|
this.setCloseButtonVariant = (newValue) => {
|
|
61
72
|
if (newValue === 'dark') {
|
|
@@ -80,25 +91,31 @@ export class MdsBanner {
|
|
|
80
91
|
}
|
|
81
92
|
};
|
|
82
93
|
}
|
|
94
|
+
connectedCallback() {
|
|
95
|
+
var _a;
|
|
96
|
+
this.readPlace();
|
|
97
|
+
(_a = this.placeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
98
|
+
// no MutationObserver in the hydrate/SSR runtime: the place read above holds there
|
|
99
|
+
if (typeof MutationObserver === 'undefined')
|
|
100
|
+
return;
|
|
101
|
+
this.placeObserver = new MutationObserver(this.readPlace);
|
|
102
|
+
this.placeObserver.observe(this.host, { attributeFilter: ['slot'] });
|
|
103
|
+
}
|
|
83
104
|
componentWillLoad() {
|
|
84
105
|
this.hasActions = hasChildWithSlot(this.host, 'action');
|
|
85
106
|
this.setCloseButtonVariant(this.variant);
|
|
86
107
|
}
|
|
87
|
-
componentDidLoad() {
|
|
88
|
-
this.dismissibleHandler();
|
|
89
|
-
}
|
|
90
|
-
componentDidUpdate() {
|
|
91
|
-
this.dismissibleHandler();
|
|
92
|
-
}
|
|
93
108
|
disconnectedCallback() {
|
|
94
|
-
|
|
109
|
+
var _a;
|
|
110
|
+
(_a = this.placeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
111
|
+
this.placeObserver = undefined;
|
|
95
112
|
}
|
|
96
113
|
variantHandler(newValue) {
|
|
97
114
|
this.setCloseButtonVariant(newValue);
|
|
98
115
|
}
|
|
99
116
|
render() {
|
|
100
117
|
var _a, _b;
|
|
101
|
-
return (h(Host, { key: '
|
|
118
|
+
return (h(Host, { key: 'fdfaeebfb56ed18a47a6ffcc19da4ff037738218', "aria-label": this.headline, role: this.ariaVariants[(_a = this.variant) !== null && _a !== void 0 ? _a : 'primary'].role, "aria-live": this.ariaVariants[(_b = this.variant) !== null && _b !== void 0 ? _b : 'primary'].live, "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, h("div", { key: 'fa2ff94e830a75fb4e707cc2df7b3a75b9adf75d', class: clsx('body', this.isDismissible() && 'body--dismissible') }, this.icon && h("mds-icon", { key: '1e566e868526cbd1f52a90f88e405bd34e037ebb', "aria-hidden": "true", class: "icon", name: this.icon }), h("div", { key: '9887b6715e0f6263517536f4acfa7943768f5757', class: "content" }, this.headline && (h("mds-text", { key: '578cca78a725883241fbcb4e68175f587330a636', "aria-hidden": "true", class: "headline", typography: this.headlineTypography() }, this.headline)), h("div", { key: 'c1cef603b694feee6960eb1db07613059b292c33', class: "text", part: "text" }, h("slot", { key: '94396a4c7b10acaea85e6df6151957df779e903a' }))), this.isDismissible() && (h("mds-button", { key: 'ba0353c2339547287710abe3bb41cc0b7f1377cb', class: "close-button", icon: miBaselineClose, onClick: this.closeBanner, title: this.t.get('cancel'), variant: this.closeButtonVariant, tone: "text" }))), h("div", { key: '76681adc7b8d15071752bfcc609f9107e8a90203', class: clsx('actions', !this.hasActions && 'actions--hidden') }, h("slot", { key: '01db9301afa8e6dc0f856d93d94590efc714c83c', name: "action", onSlotchange: this.onActionSlotChange }))));
|
|
102
119
|
}
|
|
103
120
|
static get is() { return "mds-banner"; }
|
|
104
121
|
static get encapsulation() { return "shadow"; }
|
|
@@ -248,6 +265,32 @@ export class MdsBanner {
|
|
|
248
265
|
"reflect": false,
|
|
249
266
|
"attribute": "headline"
|
|
250
267
|
},
|
|
268
|
+
"typography": {
|
|
269
|
+
"type": "string",
|
|
270
|
+
"mutable": false,
|
|
271
|
+
"complexType": {
|
|
272
|
+
"original": "BannerTypographyType",
|
|
273
|
+
"resolved": "\"h5\" | \"h6\" | undefined",
|
|
274
|
+
"references": {
|
|
275
|
+
"BannerTypographyType": {
|
|
276
|
+
"location": "import",
|
|
277
|
+
"path": "./meta/types",
|
|
278
|
+
"id": "src/components/mds-banner/meta/types.ts::BannerTypographyType",
|
|
279
|
+
"referenceLocation": "BannerTypographyType"
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
"required": false,
|
|
284
|
+
"optional": true,
|
|
285
|
+
"docs": {
|
|
286
|
+
"tags": [],
|
|
287
|
+
"text": "The style of the headline: `h6`, the title of a part, or `h5`, the title of a dialog\n(#1189, titles). Left out, it follows the place of the banner: `h6` in the page, `h5` as\nthe window of a dialog (`slot=\"window\"` on a child of `mds-modal`), above the `h6` of the\nparts and the groups of fields it holds. Nothing larger: `h4` is too large for a banner"
|
|
288
|
+
},
|
|
289
|
+
"getter": false,
|
|
290
|
+
"setter": false,
|
|
291
|
+
"reflect": false,
|
|
292
|
+
"attribute": "typography"
|
|
293
|
+
},
|
|
251
294
|
"icon": {
|
|
252
295
|
"type": "string",
|
|
253
296
|
"mutable": false,
|
|
@@ -272,7 +315,8 @@ export class MdsBanner {
|
|
|
272
315
|
static get states() {
|
|
273
316
|
return {
|
|
274
317
|
"closeButtonVariant": {},
|
|
275
|
-
"hasActions": {}
|
|
318
|
+
"hasActions": {},
|
|
319
|
+
"isWindow": {}
|
|
276
320
|
};
|
|
277
321
|
}
|
|
278
322
|
static get events() {
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The styles of the headline (#1192): `h6`, the title of a part, and `h5`, the title of a
|
|
3
|
+
* dialog (#1189, titles/part and titles/dialog). Nothing larger: `h4` is too large for a banner
|
|
4
|
+
* (vittorio, on #1189).
|
|
5
|
+
*/
|
|
6
|
+
const bannerTypographyDictionary = ['h5', 'h6'];
|
|
7
|
+
export { bannerTypographyDictionary };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -25,6 +25,26 @@ Common incorrect uses of `<mds-banner>`. Each entry pairs the wrong form with th
|
|
|
25
25
|
</mds-banner>
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
+
#### Do Not Ask the Headline for a Style Larger Than `h5`
|
|
29
|
+
|
|
30
|
+
`typography` takes `h6` and `h5` only: a value it does not know, such as `h4`, falls back to the style of the place. A title written in the default slot instead of `headline` is no headline either: it is not the accessible label of the banner, and it keeps its style wherever the banner goes. Write the title in `headline` and leave its style to the place, or write `h6` or `h5`.
|
|
31
|
+
|
|
32
|
+
```html
|
|
33
|
+
<!-- INCORRECT -->
|
|
34
|
+
<mds-banner variant="info" typography="h4" headline="Nuovo servizio">
|
|
35
|
+
<mds-text typography="detail">Da oggi puoi firmare i documenti dall'app.</mds-text>
|
|
36
|
+
</mds-banner>
|
|
37
|
+
<mds-banner variant="info">
|
|
38
|
+
<mds-text typography="h4">Nuovo servizio</mds-text>
|
|
39
|
+
<mds-text typography="detail">Da oggi puoi firmare i documenti dall'app.</mds-text>
|
|
40
|
+
</mds-banner>
|
|
41
|
+
|
|
42
|
+
<!-- CORRECT -->
|
|
43
|
+
<mds-banner variant="info" headline="Nuovo servizio">
|
|
44
|
+
<mds-text typography="detail">Da oggi puoi firmare i documenti dall'app.</mds-text>
|
|
45
|
+
</mds-banner>
|
|
46
|
+
```
|
|
47
|
+
|
|
28
48
|
#### Do Not Override the ARIA Role Manually
|
|
29
49
|
|
|
30
50
|
The component derives `role` and `aria-live` from `variant` (`error`/`warning` assertive, others polite) and writes them on the host when it renders, overwriting a manual value. To change the announcement, change the `variant`.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-benchmark-bar
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.13.0. Shadow DOM: style it only through the public CSS custom properties and the parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-benchmark-bar>` web component is a read-only data-visualization element of the Magma Design System that pairs a labelled caption with a horizontal progress bar to express a single benchmark value on a 0-100 scale. It is a presentational compound that composes `<mds-text>` and `<mds-progress>`; it has no native HTML primitive equivalent.
|
|
12
12
|
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-11-
|
|
2
|
+
"timestamp": "2026-11-12T09:55:22",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
|
-
"version": "4.45.
|
|
5
|
+
"version": "4.45.3",
|
|
6
6
|
"typescriptVersion": "5.8.3"
|
|
7
7
|
},
|
|
8
8
|
"storybook": "https://magma-design-system.github.io/magma/storybook/",
|
|
9
|
+
"studio": "https://magma-design-system.github.io/magma/studio/",
|
|
9
10
|
"components": [
|
|
10
11
|
{
|
|
11
12
|
"filePath": "src/components/mds-benchmark-bar/mds-benchmark-bar.tsx",
|
|
@@ -39,7 +39,7 @@ export class MdsBenchmarkBar {
|
|
|
39
39
|
// the value is spoken as it is shown, the alias or the number: without an alias the progress
|
|
40
40
|
// announced one of its steps, in Italian whatever the page language (#983)
|
|
41
41
|
const valueText = (_a = this.alias) !== null && _a !== void 0 ? _a : String(this.value);
|
|
42
|
-
return (h(Host, { key: '
|
|
42
|
+
return (h(Host, { key: '1e5947b6e2c7ac60a78deba32888f03a4ff28b37' }, h("div", { key: 'd2f65f69f076a170bac8bb5c9ef98241ba3dd882', class: "infos" }, h("mds-text", { key: 'e0e4590fc89f66f0f4342b82e293865286b4c6bd', typography: this.typography, class: "label", id: "label", truncate: "word" }, this.label || h("slot", { key: 'c75b8d577269aeafaaed6abe81d735a8d74a904c', onSlotchange: this.onSlotChangeHandler })), h("mds-text", { key: '34c931a3210e80e7418e0d91f1f2822f2d170639', typography: this.typography, class: "value", truncate: "word" }, valueText)), h("mds-progress", { key: 'd5808efc795a7cb763bc67e83685b190585d63a6', "aria-labelledby": "label", "aria-valuetext": valueText, steps: "", class: "progress", variant: this.variant, progress: this.value / 100, size: this.size, part: "progress-bar" })));
|
|
43
43
|
}
|
|
44
44
|
static get is() { return "mds-benchmark-bar"; }
|
|
45
45
|
static get encapsulation() { return "shadow"; }
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-bibliography
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.13.0. Shadow DOM: style it only through the public CSS custom properties and the parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-bibliography>` web component renders a single citation entry formatted according to a recognized academic style. It is a presentational component that takes structured metadata (author, title, publisher, date, location, URL) and composes it into a styled, correctly-punctuated reference line, replacing the manual assembly of a bibliography string.
|
|
12
12
|
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-11-
|
|
2
|
+
"timestamp": "2026-11-12T09:55:22",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
|
-
"version": "4.45.
|
|
5
|
+
"version": "4.45.3",
|
|
6
6
|
"typescriptVersion": "5.8.3"
|
|
7
7
|
},
|
|
8
8
|
"storybook": "https://magma-design-system.github.io/magma/storybook/",
|
|
9
|
+
"studio": "https://magma-design-system.github.io/magma/studio/",
|
|
9
10
|
"components": [
|
|
10
11
|
{
|
|
11
12
|
"filePath": "src/components/mds-bibliography/mds-bibliography.tsx",
|
|
@@ -140,7 +140,7 @@ export class MdsBibliography {
|
|
|
140
140
|
};
|
|
141
141
|
}
|
|
142
142
|
render() {
|
|
143
|
-
return (h(Host, { key: '
|
|
143
|
+
return (h(Host, { key: '086a187134fd1648a4f7f8daf47cd47c7cc42f3e' }, h("mds-text", { key: '430c7486eb9e5bf2be165d1dae08a9ebc2663aab', typography: this.typography, variant: this.variant }, this.author && h("span", { key: '8aefa3f07ccc39a2f982274eac2778b920a52f2b' }, this.showAuthors(this.normalizeAuthors(this.author))), this.format === 'mla' && (h("span", { key: 'b98bf97de4e8f21e98ffc4d4c1fd1f4c799eb836' }, this.name && ' ', this.renderName(false), this.location && (h("span", { key: '89d6304a6c0eb4f07cb5489af56adf8d40c2af48' }, ' ', this.location, this.publisher !== undefined ? ':' : '.')), this.publisher && (h("span", { key: '801b30c940ced4121e37fed325ed4ba7260a0f1c' }, ' ', this.publisher, this.date !== undefined ? ',' : '.')), this.date && h("time", { key: '938f0c6dd1b141ba54e5722f67fba461a680bac7', dateTime: this.date }, " ", this.dateFormatMLA(this.date), "."))), this.format === 'apa' && (h("span", { key: '94ae239af7f65504a55e7c00644280071baf4903' }, this.date && h("time", { key: 'a35307dc43770e4922d687cdff16a5d4a6d34590', dateTime: this.date }, " (", this.dateFormatAPA(this.date), ")."), this.name && ' ', this.renderName(true), this.location && (h("span", { key: 'a18b8ee0b4a4bc6a4d3084f59dc5117ea285dd54' }, ' ', this.location, this.publisher !== undefined ? ':' : '.')), this.publisher && h("span", { key: '7c8d3e1853fe4c577736751dcfc79bc80bb2cd55' }, " ", this.publisher, "."))), this.format === 'turabian' && (h("span", { key: '51c7b5719841ece2223c71f8449a162bbe51fac4' }, this.name && ' ', this.renderName(true), this.location && (h("span", { key: 'b8a37ae4d20ff74d5f64af40c7bc032b973f9a70' }, ' ', this.location, this.publisher !== undefined ? ':' : ',')), this.publisher && (h("span", { key: '013d487957d6235fa84245189605d18429463c56' }, ' ', this.publisher, this.date !== undefined ? ',' : '.')), this.date && h("time", { key: '4aac79557e7fe89940dae99a2cee2039bb4d8714', dateTime: this.date }, " ", this.dateFormatMLA(this.date), "."))))));
|
|
144
144
|
}
|
|
145
145
|
static get is() { return "mds-bibliography"; }
|
|
146
146
|
static get encapsulation() { return "shadow"; }
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-book
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.13.0. Shadow DOM: style it only through the public CSS custom properties and the parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-book>` web component shows a book as a physical object, from the image of its front cover alone: front cover, spine and page block drawn in CSS 3D, turned a little so the spine shows. It is the catalogue and product-page counterpart of `<mds-img>`, for publications rather than pictures.
|
|
12
12
|
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-11-
|
|
2
|
+
"timestamp": "2026-11-12T09:55:22",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
|
-
"version": "4.45.
|
|
5
|
+
"version": "4.45.3",
|
|
6
6
|
"typescriptVersion": "5.8.3"
|
|
7
7
|
},
|
|
8
8
|
"storybook": "https://magma-design-system.github.io/magma/storybook/",
|
|
9
|
+
"studio": "https://magma-design-system.github.io/magma/studio/",
|
|
9
10
|
"components": [
|
|
10
11
|
{
|
|
11
12
|
"filePath": "src/components/mds-book/mds-book.tsx",
|
|
@@ -466,12 +466,12 @@ export class MdsBook {
|
|
|
466
466
|
render() {
|
|
467
467
|
if (this.binding !== 'hardcover')
|
|
468
468
|
this.slats = [];
|
|
469
|
-
return (h(Host, Object.assign({ key: '
|
|
469
|
+
return (h(Host, Object.assign({ key: '189416eac39457abc13f106d61cc733d07f7acf9' }, this.hostRole(), { "pref-animation": preferenceStore.state.animation, "pref-consumption": preferenceStore.state.consumption,
|
|
470
470
|
// the proportions of the book are those of the host, as an image keeps its own
|
|
471
|
-
style: { '--private-book-ratio': String(this.ratio()) } }), h("div", { key: '
|
|
471
|
+
style: { '--private-book-ratio': String(this.ratio()) } }), h("div", { key: '4067643ee27f41c3ddd81fb172af390ed386238a', class: "scene", ref: (el) => (this.scene = el) }, h("div", { key: '324b710d3401b5d12a395b531080e03cf465dad6', class: "stage" }, h("div", { key: '879af39d34004173d1addcb0663396fc54ac3266', class: {
|
|
472
472
|
book: true,
|
|
473
473
|
'book--printed': this.hasImage(),
|
|
474
|
-
}, style: this.bookStyle() }, h("div", { key: '
|
|
474
|
+
}, style: this.bookStyle() }, h("div", { key: '3d3751f8082acdceea5b6887246969543a174d77', class: "floor floor--stand" }), h("div", { key: 'd5442edfbd0f57b1b217b1f764276a2ed0015d9d', class: "floor floor--lie" }), h("div", { key: '2a6b472273e36ba50b3053cdbc304a66a9ee13b1', class: "body" }, h("div", { key: '286a76c9a7d0e560f173759fb381fbfea0d810ab', class: "face front lit-front" }, this.hasImage() ? (h("img", { alt: "", "aria-hidden": "true", class: "cover", draggable: false, loading: this.loading, onError: this.onError, onLoad: this.onLoad, part: "cover", src: this.src })) : (h("div", { "aria-hidden": "true", class: "drawn-cover" }, this.author && h("span", { class: "drawn-author" }, this.author), this.name && h("span", { class: "drawn-name" }, this.name), this.renderPublisher('drawn'))), h("span", { key: 'c8a61f0f77e734e1032b74454ecbdc73d8bf0970', class: "gloss" }), this.shade()), this.renderBinding()))))));
|
|
475
475
|
}
|
|
476
476
|
static get is() { return "mds-book"; }
|
|
477
477
|
static get encapsulation() { return "shadow"; }
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-breadcrumb
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.13.0. Shadow DOM: style it only through the public CSS custom properties and the parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-breadcrumb>` web component is the navigation-trail container of the Magma Design System. It is a compound parent that arranges a sequence of slotted `<mds-breadcrumb-item>` children into a hierarchical path and adds an optional back-navigation control.
|
|
12
12
|
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-11-
|
|
2
|
+
"timestamp": "2026-11-12T09:55:22",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
|
-
"version": "4.45.
|
|
5
|
+
"version": "4.45.3",
|
|
6
6
|
"typescriptVersion": "5.8.3"
|
|
7
7
|
},
|
|
8
8
|
"storybook": "https://magma-design-system.github.io/magma/storybook/",
|
|
9
|
+
"studio": "https://magma-design-system.github.io/magma/studio/",
|
|
9
10
|
"components": [
|
|
10
11
|
{
|
|
11
12
|
"filePath": "src/components/mds-breadcrumb/mds-breadcrumb.tsx",
|
|
@@ -81,7 +81,7 @@ export class MdsBreadcrumb {
|
|
|
81
81
|
this.onChanged(selectedId, event.target);
|
|
82
82
|
}
|
|
83
83
|
render() {
|
|
84
|
-
return (h(Host, { key: '
|
|
84
|
+
return (h(Host, { key: '0b459e70607007fff838ee1df0b077210ffcfe3c' }, !this.hideBack && (h("mds-button", { key: '3cef9214d2fbe83f8e51e536e3f2e0bc072ef6f5', title: this.t.get('back'), class: "back", tone: "text", variant: "dark", icon: miBaselineArrowBack, onClick: this.togglePrevious })), h("slot", { key: '3d7dcd3861818309dd4dfd67e2749ae603b57efa' })));
|
|
85
85
|
}
|
|
86
86
|
static get is() { return "mds-breadcrumb"; }
|
|
87
87
|
static get encapsulation() { return "shadow"; }
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-breadcrumb-item
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.13.0. Shadow DOM: style it only through the public CSS custom properties and the parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-breadcrumb-item>` web component represents a single navigable depth in a breadcrumb trail. It is a compound child of [`<mds-breadcrumb>`](../mds-breadcrumb/AGENTS.md) and renders a clickable label followed by a separator arrow.
|
|
12
12
|
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-11-
|
|
2
|
+
"timestamp": "2026-11-12T09:55:22",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
|
-
"version": "4.45.
|
|
5
|
+
"version": "4.45.3",
|
|
6
6
|
"typescriptVersion": "5.8.3"
|
|
7
7
|
},
|
|
8
8
|
"storybook": "https://magma-design-system.github.io/magma/storybook/",
|
|
9
|
+
"studio": "https://magma-design-system.github.io/magma/studio/",
|
|
9
10
|
"components": [
|
|
10
11
|
{
|
|
11
12
|
"filePath": "src/components/mds-breadcrumb-item/mds-breadcrumb-item.tsx",
|
|
@@ -16,7 +16,7 @@ export class MdsBreadcrumbItem {
|
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: '04761ce3e9a921e3a2b0068ce66f101450c4b3fc' }, h("mds-button", { key: 'a1e5c3fe78d6293db83c0bd85f490f231b7bc3dc', "aria-current": this.selected ? 'page' : undefined, label: this.label, onClick: this.select, part: "button" }), h("i", { key: 'e44bf566cb8932ababb3827bd042face84c5e2ff', "aria-hidden": "true", class: "icon", innerHTML: miBaselineNavigateNext })));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "mds-breadcrumb-item"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-button
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.13.0. Shadow DOM: style it only through the public CSS custom properties and the parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-button>` web component is the primary interactive action control of the Magma Design System. It renders as a button, or as a link when `href` is set, handling form association, accessibility, loading state, and iconography natively.
|
|
12
12
|
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-11-
|
|
2
|
+
"timestamp": "2026-11-12T09:55:22",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
|
-
"version": "4.45.
|
|
5
|
+
"version": "4.45.3",
|
|
6
6
|
"typescriptVersion": "5.8.3"
|
|
7
7
|
},
|
|
8
8
|
"storybook": "https://magma-design-system.github.io/magma/storybook/",
|
|
9
|
+
"studio": "https://magma-design-system.github.io/magma/studio/",
|
|
9
10
|
"components": [
|
|
10
11
|
{
|
|
11
12
|
"filePath": "src/components/mds-button/mds-button.tsx",
|
|
@@ -338,16 +338,16 @@ export class MdsButton {
|
|
|
338
338
|
var _a;
|
|
339
339
|
this.typography = ((_a = buttonSizeTypographyVariant[this.size]) !== null && _a !== void 0 ? _a : buttonSizeTypographyVariant.md);
|
|
340
340
|
this.hasAwaited || (this.hasAwaited = !!this.await);
|
|
341
|
-
const label = this.label || h("slot", { key: '
|
|
342
|
-
return (h(Host, { key: '
|
|
341
|
+
const label = this.label || h("slot", { key: '388c5da08f97c6a3e61a05ebf78c4a2e4a3f137d', onSlotchange: this.onSlotChangeHandler });
|
|
342
|
+
return (h(Host, { key: '140cf8f92b5e77ca22b12d933692179c82198a59', onClick: this.handleLinkClick, onMouseDown: this.mouseDown, onMouseUp: this.mouseUp, onMouseOut: this.mouseUp, tabindex: "0", "pref-animation": preferenceStore.state.animation, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, this.isLink() && (
|
|
343
343
|
// the link under the pointer, over the whole button: the host keeps the focus, the
|
|
344
344
|
// role and the name, so the anchor is out of the tab order and hidden from the
|
|
345
345
|
// assistive technology
|
|
346
|
-
h("a", { key: '
|
|
346
|
+
h("a", { key: '6bf304e257a997b3fa6ab548027e45e2045d16bb', "aria-hidden": "true", class: "link", href: this.href, onFocus: this.focusHost, ref: (el) => (this.anchor = el), tabindex: "-1", target: this.target === 'blank' ? '_blank' : undefined })), h("div", { key: '346fe0c0ebef7b02f910832834d7fb8404823862', class: "await" }, this.hasAwaited && h("mds-spinner", { key: '276969ceb80d2a720c01953567e878473bb62921', class: "spinner", running: this.await })), this.iconPosition === 'left' && this.renderIcons(), this.animation === 'yugop' ? (h("mds-text", { class: "text", part: "label", tag: "span", typography: this.typography, truncate: this.truncate, animation: this.animation, text: this.label }, label)) : (
|
|
347
347
|
// a span of its own, not an mds-text: a nested component is one more to hydrate and
|
|
348
348
|
// its whole stylesheet in every declarative shadow root (#831). Only the animated
|
|
349
349
|
// label needs mds-text, which scrambles it
|
|
350
|
-
h("span", { class: "text label", part: "label" }, label)), h("slot", { key: '
|
|
350
|
+
h("span", { class: "text label", part: "label" }, label)), h("slot", { key: '43e6b0c21fb7429629a606224921b889d23126fa', name: "notification" }), this.iconPosition === 'right' && this.renderIcons()));
|
|
351
351
|
}
|
|
352
352
|
static get is() { return "mds-button"; }
|
|
353
353
|
static get encapsulation() { return "shadow"; }
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-button-dropdown
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.13.0. Shadow DOM: style it only through the public CSS custom properties and the parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-button-dropdown>` web component is a split-button control of the Magma Design System: it pairs a primary `<mds-button>` action with a secondary chevron button that opens an attached `<mds-dropdown>`, giving users a default action plus a menu of related choices in a single, visually unified control.
|
|
12
12
|
|
|
@@ -20,6 +20,8 @@ The `<mds-button-dropdown>` web component is a split-button control of the Magma
|
|
|
20
20
|
- **Disabled / await states**: Because these flags pass through to both buttons, disabling or putting the control in an awaiting state affects the action and the trigger together. A disabled `<fieldset>` around the component disables both halves the same way, without setting `disabled`.
|
|
21
21
|
- **Primary action event**: `mdsButtonDropdownClick` fires when the primary action is clicked or activated from the keyboard, and not while the component is `disabled` or awaiting. The chevron and the menu items do not fire it. A native `click` listener on the component also runs for the menu items, whose clicks bubble to it, so listen for `mdsButtonDropdownClick` to run the primary action in JavaScript.
|
|
22
22
|
- **Dropdown part**: The internal dropdown is exposed as the `dropdown` shadow part for external styling of the menu surface.
|
|
23
|
+
- **Corners**: The two halves take their outer corners from the host, the radius of `--mds-button-dropdown-radius`, and meet with flat inner corners. A row that joins the component flattens its corners on the host: in an `<mds-button-group>` the side that touches the next member is flat, on the primary action or on the chevron.
|
|
24
|
+
- **Width**: The component keeps its own width, its primary action as wide as an `<mds-button>` with the same label. A row that stretches it, as `actions/stacked` does under `--magma-container-actions` (380px) in `<mds-card-footer>`, `<mds-banner>`, `<mds-status-bar>` or a row of your own (`align-self: stretch`, a `width`, a `flex-basis`), gives the free width to the primary action, its label in the middle, and keeps the chevron at its own size at the end: the two halves still read as one button, with no fill past them.
|
|
23
25
|
|
|
24
26
|
#### Properties & Visual Configurations
|
|
25
27
|
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-11-
|
|
2
|
+
"timestamp": "2026-11-12T09:55:22",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
|
-
"version": "4.45.
|
|
5
|
+
"version": "4.45.3",
|
|
6
6
|
"typescriptVersion": "5.8.3"
|
|
7
7
|
},
|
|
8
8
|
"storybook": "https://magma-design-system.github.io/magma/storybook/",
|
|
9
|
+
"studio": "https://magma-design-system.github.io/magma/studio/",
|
|
9
10
|
"components": [
|
|
10
11
|
{
|
|
11
12
|
"filePath": "src/components/mds-button-dropdown/mds-button-dropdown.tsx",
|
|
@@ -27,8 +28,8 @@
|
|
|
27
28
|
}
|
|
28
29
|
],
|
|
29
30
|
"usage": {
|
|
30
|
-
"1. Description": "The `<mds-button-dropdown>` web component is a split-button control of the Magma Design System: it pairs a primary `<mds-button>` action with a secondary chevron button that opens an attached `<mds-dropdown>`, giving users a default action plus a menu of related choices in a single, visually unified control.\n\n#### Semantic Behavior\n\n- **Default slot is the menu**: Whatever you place in the default slot becomes the dropdown panel content; it is not treated as the button label (the visible label comes from the `label` prop).\n- **Chevron trigger**: The second button is icon-only (chevron), named in the page language (the `lang` of `<html>`) (\"More actions\"), and toggles the dropdown; it carries `aria-haspopup` and `aria-expanded` for the menu it opens.\n- **Shared configuration**: `active`, `await`, `disabled`, `size`, `tone` and `variant` are forwarded identically to both internal buttons, so the two halves always stay visually and behaviorally in sync. `href`, `target` and `autoFocus` belong to the primary action alone: the chevron only opens the menu.\n- **Current state**: `current` marks the primary action as the one that leads to the view you are in, as on `<mds-button>`. Both halves take the look of the current button; only the primary action is announced with `aria-current` and, with `current` (or `current=\"page\"`), neither navigates, nor submits, nor fires `mdsButtonDropdownClick`. With `current=\"section\"`, a view inside it, the primary action stays a link back. The chevron keeps opening the menu either way. A menu item that leads to the view you are in takes `current` itself.\n- **Form association**: The host is form-associated. With `type=\"submit\"` the primary action submits the enclosing `<form>` (or the one its `form` attribute names) and sends `name=value`, like a native submit button; with `type=\"reset\"` it resets it. The chevron never submits. Unlike `<mds-button>`, `type` defaults to `'button'`: a dropdown in a form submits it only when asked. The menu items are slotted `<mds-button>`, so they follow their own `type` (default `'submit'`), `name` and `value`, and the receiver tells all the actions apart by `name`.\n- **Disabled / await states**: Because these flags pass through to both buttons, disabling or putting the control in an awaiting state affects the action and the trigger together. A disabled `<fieldset>` around the component disables both halves the same way, without setting `disabled`.\n- **Primary action event**: `mdsButtonDropdownClick` fires when the primary action is clicked or activated from the keyboard, and not while the component is `disabled` or awaiting. The chevron and the menu items do not fire it. A native `click` listener on the component also runs for the menu items, whose clicks bubble to it, so listen for `mdsButtonDropdownClick` to run the primary action in JavaScript.\n- **Dropdown part**: The internal dropdown is exposed as the `dropdown` shadow part for external styling of the menu surface.\n\n#### Properties & Visual Configurations\n\nThe shared `variant` / `tone` / `size` ladders are defined in [`agents/variants.md`](../../../../agents/variants.md); they apply here as in `<mds-button>`, narrowed to `tone` `strong` / `weak` and without the `google` / `apple` variants, and are forwarded to both internal buttons. `variant` defaults to `'primary'`, `tone` defaults to `'strong'`, and `size` defaults to `'md'`.\n\n- **`label`** sets the text of the primary action button only; the chevron trigger is icon-only.\n- **`type`** (default `'button'`), **`name`** and **`value`** apply to the primary action only, as described under Form association. The menu items follow their own `type`: inside a `<form>`, give `type=\"button\"` to the ones that must not submit it.\n- **`href`** makes the primary action a link that navigates instead of submitting, with `target` choosing `'self'` vs `'blank'`; the chevron still opens the menu.\n\n#### Other behavioral props\n\n- **`autoFocus`** focuses the primary action once the component is loaded.\n- **`icon`** is an SVG filename slug from the Magma icon library, applied to the primary action button (the chevron icon on the trigger is fixed and not configurable).\n- **`iconCurrent`** and **`iconHover`** take the place of `icon` on the primary action, when it is current and under the pointer, as on `<mds-button>`: `iconHover` falls back on `iconCurrent`, and both need `icon`. The chevron keeps its arrow.\n- **`truncate`** sets how the label of the primary action truncates, as on `mds-button` (default `'word'`).\n",
|
|
31
|
-
"2. Examples": "Correct and idiomatic ways to use the `<mds-button-dropdown>` component, ordered from most common to most specialized. The examples assume a working knowledge of the variant / tone ladders documented in [`agents/variants.md`](../../../../agents/variants.md) and the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).\n\n#### Basic Split Button with Menu Items\n\nThe canonical form: a `label` prop for the primary action and one or more [`mds-button`](../mds-button/AGENTS.md) elements in the default slot as menu choices. Give the slot items `variant=\"dark\" tone=\"text\"` to keep them visually neutral inside the dropdown panel.\n\n```html\n<mds-button-dropdown label=\"Salva come bozza\" variant=\"success\" tone=\"weak\">\n <mds-button icon=\"mi/baseline/send\" variant=\"dark\" tone=\"text\" label=\"Invia subito\"></mds-button>\n <mds-button icon=\"mi/baseline/delete\" variant=\"dark\" tone=\"text\" label=\"Elimina\"></mds-button>\n</mds-button-dropdown>\n```\n\n#### Variant and Tone for Emphasis\n\nUse `variant` to express meaning and `tone` to express weight - the same pair applies to both internal buttons automatically.\n\n```html\n<!-- High emphasis: primary action -->\n<mds-button-dropdown label=\"Pubblica\" variant=\"primary\" tone=\"strong\">\n <mds-button variant=\"dark\" tone=\"text\" label=\"Pubblica come bozza\"></mds-button>\n <mds-button variant=\"dark\" tone=\"text\" label=\"Pianifica pubblicazione\"></mds-button>\n</mds-button-dropdown>\n\n<!-- Status emphasis: destructive action group -->\n<mds-button-dropdown label=\"Elimina voce\" variant=\"error\" tone=\"weak\">\n <mds-button variant=\"dark\" tone=\"text\" label=\"Elimina e archivia\"></mds-button>\n <mds-button variant=\"dark\" tone=\"text\" label=\"Annulla eliminazione\"></mds-button>\n</mds-button-dropdown>\n```\n\n#### Sizing\n\nUse the `size` prop. Both internal buttons track it automatically.\n\n```html\n<mds-button-dropdown label=\"Azione\" size=\"sm\" variant=\"primary\" tone=\"strong\">\n <mds-button variant=\"dark\" tone=\"text\" label=\"Opzione A\"></mds-button>\n</mds-button-dropdown>\n\n<mds-button-dropdown label=\"Azione\" size=\"md\" variant=\"primary\" tone=\"strong\">\n <mds-button variant=\"dark\" tone=\"text\" label=\"Opzione A\"></mds-button>\n</mds-button-dropdown>\n\n<mds-button-dropdown label=\"Azione\" size=\"lg\" variant=\"primary\" tone=\"strong\">\n <mds-button variant=\"dark\" tone=\"text\" label=\"Opzione A\"></mds-button>\n</mds-button-dropdown>\n\n<mds-button-dropdown label=\"Azione\" size=\"xl\" variant=\"primary\" tone=\"strong\">\n <mds-button variant=\"dark\" tone=\"text\" label=\"Opzione A\"></mds-button>\n</mds-button-dropdown>\n```\n\n#### Primary Action with an Icon\n\nSupply the `icon` prop to add an icon to the primary action button. The chevron trigger icon is fixed and not configurable.\n\n```html\n<mds-button-dropdown\n label=\"Carica documento\"\n icon=\"mi/baseline/upload\"\n variant=\"primary\"\n tone=\"weak\"\n>\n <mds-button variant=\"dark\" tone=\"text\" label=\"Carica da URL\"></mds-button>\n <mds-button variant=\"dark\" tone=\"text\" label=\"Carica da Drive\"></mds-button>\n</mds-button-dropdown>\n```\n\n#### Async Loading via `await`\n\nSet the `await` boolean attribute while a request is in flight. Both the action button and the chevron trigger become unavailable simultaneously. Remove the attribute when done - do not set `await=\"false\"`.\n\n```html\n<mds-button-dropdown label=\"Salvataggio in corso...\" await variant=\"primary\" tone=\"strong\">\n <mds-button variant=\"dark\" tone=\"text\" label=\"Salva e chiudi\"></mds-button>\n <mds-button variant=\"dark\" tone=\"text\" label=\"Salva come copia\"></mds-button>\n</mds-button-dropdown>\n```\n\n#### Disabled State\n\nThe `disabled` attribute blocks both halves of the control together.\n\n```html\n<mds-button-dropdown label=\"Invia richiesta\" disabled variant=\"primary\" tone=\"strong\">\n <mds-button variant=\"dark\" tone=\"text\" label=\"Invia in bozza\"></mds-button>\n</mds-button-dropdown>\n```\n\n#### Primary Action Handled in JavaScript\n\nListen for `mdsButtonDropdownClick` to run the primary action: it comes from the primary action only, from a click or the keyboard, and not while the component is `disabled` or awaiting. Handle each menu item with its own `click`.\n\n```html\n<mds-button-dropdown id=\"save\" label=\"Salva\" variant=\"primary\">\n <mds-button id=\"save-copy\" variant=\"dark\" tone=\"text\" label=\"Salva come copia\"></mds-button>\n</mds-button-dropdown>\n\n<script>\n document.getElementById('save').addEventListener('mdsButtonDropdownClick', () => save());\n document.getElementById('save-copy').addEventListener('click', () => saveCopy());\n</script>\n```\n\n#### Several Actions That Submit One Form\n\nSet `type=\"submit\"` on the component and give the primary action and the menu items the same `name` with a different `value`: each action submits the form, and the receiver reads which one was chosen from `name`, as with native submit buttons. Give `type=\"button\"` to the menu items that must not submit.\n\n```html\n<form action=\"/mail\" method=\"post\">\n <mds-input-field label=\"Oggetto\">\n <mds-input name=\"subject\"></mds-input>\n </mds-input-field>\n\n <!-- the receiver gets action=send, action=draft or action=schedule -->\n <mds-button-dropdown type=\"submit\" name=\"action\" value=\"send\" label=\"Invia\" variant=\"primary\">\n <mds-button name=\"action\" value=\"draft\" variant=\"dark\" tone=\"text\" label=\"Salva come bozza\"></mds-button>\n <mds-button name=\"action\" value=\"schedule\" variant=\"dark\" tone=\"text\" label=\"Invio programmato\"></mds-button>\n <mds-button type=\"button\" variant=\"dark\" tone=\"text\" label=\"Anteprima\"></mds-button>\n </mds-button-dropdown>\n</form>\n```\n\nWhen your code handles the submit, build the form data with `event.submitter`, as for [`mds-button`](../mds-button/AGENTS.md): `new FormData(form, event.submitter)`.\n\n#### Hyperlink Split Button via `href`\n\n`href` and `target` on the component make the primary action a link; the chevron keeps opening the menu. Put the other links on the menu items (`target=\"blank\"` opens them in a new tab).\n\n```html\n<mds-button-dropdown\n label=\"Apri documento\"\n href=\"https://example.com/doc\"\n variant=\"primary\"\n tone=\"weak\"\n>\n <mds-button href=\"https://example.com/doc/edit\" target=\"blank\" variant=\"dark\" tone=\"text\" label=\"Modifica\"></mds-button>\n <mds-button href=\"https://example.com/doc/history\" target=\"blank\" variant=\"dark\" tone=\"text\" label=\"Cronologia\"></mds-button>\n</mds-button-dropdown>\n```\n\n#### Styling Customization\n\nStyle the component through its documented `--mds-button-dropdown-*` CSS custom properties or the `dropdown` shadow part. Use the semantic color roles via `rgb(var(--magma-<role>))` so dark mode and named themes keep working.\n\nThe `--mds-button-*` properties that inherit reach the two inner buttons too: `--mds-button-label-transform: none` on the component keeps a label such as a tenant name as written, without the uppercase first letter.\n\n```css\n.custom-toolbar mds-button-dropdown {\n --mds-button-dropdown-radius: var(--magma-radius-md);\n}\n\n.tenant-switcher mds-button-dropdown {\n --mds-button-label-transform: none;\n}\n\n/* Style the dropdown panel surface through the documented shadow part */\n.custom-toolbar mds-button-dropdown::part(dropdown) {\n box-shadow: var(--shadow-lg);\n}\n```\n",
|
|
31
|
+
"1. Description": "The `<mds-button-dropdown>` web component is a split-button control of the Magma Design System: it pairs a primary `<mds-button>` action with a secondary chevron button that opens an attached `<mds-dropdown>`, giving users a default action plus a menu of related choices in a single, visually unified control.\n\n#### Semantic Behavior\n\n- **Default slot is the menu**: Whatever you place in the default slot becomes the dropdown panel content; it is not treated as the button label (the visible label comes from the `label` prop).\n- **Chevron trigger**: The second button is icon-only (chevron), named in the page language (the `lang` of `<html>`) (\"More actions\"), and toggles the dropdown; it carries `aria-haspopup` and `aria-expanded` for the menu it opens.\n- **Shared configuration**: `active`, `await`, `disabled`, `size`, `tone` and `variant` are forwarded identically to both internal buttons, so the two halves always stay visually and behaviorally in sync. `href`, `target` and `autoFocus` belong to the primary action alone: the chevron only opens the menu.\n- **Current state**: `current` marks the primary action as the one that leads to the view you are in, as on `<mds-button>`. Both halves take the look of the current button; only the primary action is announced with `aria-current` and, with `current` (or `current=\"page\"`), neither navigates, nor submits, nor fires `mdsButtonDropdownClick`. With `current=\"section\"`, a view inside it, the primary action stays a link back. The chevron keeps opening the menu either way. A menu item that leads to the view you are in takes `current` itself.\n- **Form association**: The host is form-associated. With `type=\"submit\"` the primary action submits the enclosing `<form>` (or the one its `form` attribute names) and sends `name=value`, like a native submit button; with `type=\"reset\"` it resets it. The chevron never submits. Unlike `<mds-button>`, `type` defaults to `'button'`: a dropdown in a form submits it only when asked. The menu items are slotted `<mds-button>`, so they follow their own `type` (default `'submit'`), `name` and `value`, and the receiver tells all the actions apart by `name`.\n- **Disabled / await states**: Because these flags pass through to both buttons, disabling or putting the control in an awaiting state affects the action and the trigger together. A disabled `<fieldset>` around the component disables both halves the same way, without setting `disabled`.\n- **Primary action event**: `mdsButtonDropdownClick` fires when the primary action is clicked or activated from the keyboard, and not while the component is `disabled` or awaiting. The chevron and the menu items do not fire it. A native `click` listener on the component also runs for the menu items, whose clicks bubble to it, so listen for `mdsButtonDropdownClick` to run the primary action in JavaScript.\n- **Dropdown part**: The internal dropdown is exposed as the `dropdown` shadow part for external styling of the menu surface.\n- **Corners**: The two halves take their outer corners from the host, the radius of `--mds-button-dropdown-radius`, and meet with flat inner corners. A row that joins the component flattens its corners on the host: in an `<mds-button-group>` the side that touches the next member is flat, on the primary action or on the chevron.\n- **Width**: The component keeps its own width, its primary action as wide as an `<mds-button>` with the same label. A row that stretches it, as `actions/stacked` does under `--magma-container-actions` (380px) in `<mds-card-footer>`, `<mds-banner>`, `<mds-status-bar>` or a row of your own (`align-self: stretch`, a `width`, a `flex-basis`), gives the free width to the primary action, its label in the middle, and keeps the chevron at its own size at the end: the two halves still read as one button, with no fill past them.\n\n#### Properties & Visual Configurations\n\nThe shared `variant` / `tone` / `size` ladders are defined in [`agents/variants.md`](../../../../agents/variants.md); they apply here as in `<mds-button>`, narrowed to `tone` `strong` / `weak` and without the `google` / `apple` variants, and are forwarded to both internal buttons. `variant` defaults to `'primary'`, `tone` defaults to `'strong'`, and `size` defaults to `'md'`.\n\n- **`label`** sets the text of the primary action button only; the chevron trigger is icon-only.\n- **`type`** (default `'button'`), **`name`** and **`value`** apply to the primary action only, as described under Form association. The menu items follow their own `type`: inside a `<form>`, give `type=\"button\"` to the ones that must not submit it.\n- **`href`** makes the primary action a link that navigates instead of submitting, with `target` choosing `'self'` vs `'blank'`; the chevron still opens the menu.\n\n#### Other behavioral props\n\n- **`autoFocus`** focuses the primary action once the component is loaded.\n- **`icon`** is an SVG filename slug from the Magma icon library, applied to the primary action button (the chevron icon on the trigger is fixed and not configurable).\n- **`iconCurrent`** and **`iconHover`** take the place of `icon` on the primary action, when it is current and under the pointer, as on `<mds-button>`: `iconHover` falls back on `iconCurrent`, and both need `icon`. The chevron keeps its arrow.\n- **`truncate`** sets how the label of the primary action truncates, as on `mds-button` (default `'word'`).\n",
|
|
32
|
+
"2. Examples": "Correct and idiomatic ways to use the `<mds-button-dropdown>` component, ordered from most common to most specialized. The examples assume a working knowledge of the variant / tone ladders documented in [`agents/variants.md`](../../../../agents/variants.md) and the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).\n\n#### Basic Split Button with Menu Items\n\nThe canonical form: a `label` prop for the primary action and one or more [`mds-button`](../mds-button/AGENTS.md) elements in the default slot as menu choices. Give the slot items `variant=\"dark\" tone=\"text\"` to keep them visually neutral inside the dropdown panel.\n\n```html\n<mds-button-dropdown label=\"Salva come bozza\" variant=\"success\" tone=\"weak\">\n <mds-button icon=\"mi/baseline/send\" variant=\"dark\" tone=\"text\" label=\"Invia subito\"></mds-button>\n <mds-button icon=\"mi/baseline/delete\" variant=\"dark\" tone=\"text\" label=\"Elimina\"></mds-button>\n</mds-button-dropdown>\n```\n\n#### Variant and Tone for Emphasis\n\nUse `variant` to express meaning and `tone` to express weight - the same pair applies to both internal buttons automatically.\n\n```html\n<!-- High emphasis: primary action -->\n<mds-button-dropdown label=\"Pubblica\" variant=\"primary\" tone=\"strong\">\n <mds-button variant=\"dark\" tone=\"text\" label=\"Pubblica come bozza\"></mds-button>\n <mds-button variant=\"dark\" tone=\"text\" label=\"Pianifica pubblicazione\"></mds-button>\n</mds-button-dropdown>\n\n<!-- Status emphasis: destructive action group -->\n<mds-button-dropdown label=\"Elimina voce\" variant=\"error\" tone=\"weak\">\n <mds-button variant=\"dark\" tone=\"text\" label=\"Elimina e archivia\"></mds-button>\n <mds-button variant=\"dark\" tone=\"text\" label=\"Annulla eliminazione\"></mds-button>\n</mds-button-dropdown>\n```\n\n#### Sizing\n\nUse the `size` prop. Both internal buttons track it automatically.\n\n```html\n<mds-button-dropdown label=\"Azione\" size=\"sm\" variant=\"primary\" tone=\"strong\">\n <mds-button variant=\"dark\" tone=\"text\" label=\"Opzione A\"></mds-button>\n</mds-button-dropdown>\n\n<mds-button-dropdown label=\"Azione\" size=\"md\" variant=\"primary\" tone=\"strong\">\n <mds-button variant=\"dark\" tone=\"text\" label=\"Opzione A\"></mds-button>\n</mds-button-dropdown>\n\n<mds-button-dropdown label=\"Azione\" size=\"lg\" variant=\"primary\" tone=\"strong\">\n <mds-button variant=\"dark\" tone=\"text\" label=\"Opzione A\"></mds-button>\n</mds-button-dropdown>\n\n<mds-button-dropdown label=\"Azione\" size=\"xl\" variant=\"primary\" tone=\"strong\">\n <mds-button variant=\"dark\" tone=\"text\" label=\"Opzione A\"></mds-button>\n</mds-button-dropdown>\n```\n\n#### Primary Action with an Icon\n\nSupply the `icon` prop to add an icon to the primary action button. The chevron trigger icon is fixed and not configurable.\n\n```html\n<mds-button-dropdown\n label=\"Carica documento\"\n icon=\"mi/baseline/upload\"\n variant=\"primary\"\n tone=\"weak\"\n>\n <mds-button variant=\"dark\" tone=\"text\" label=\"Carica da URL\"></mds-button>\n <mds-button variant=\"dark\" tone=\"text\" label=\"Carica da Drive\"></mds-button>\n</mds-button-dropdown>\n```\n\n#### Async Loading via `await`\n\nSet the `await` boolean attribute while a request is in flight. Both the action button and the chevron trigger become unavailable simultaneously. Remove the attribute when done - do not set `await=\"false\"`.\n\n```html\n<mds-button-dropdown label=\"Salvataggio in corso...\" await variant=\"primary\" tone=\"strong\">\n <mds-button variant=\"dark\" tone=\"text\" label=\"Salva e chiudi\"></mds-button>\n <mds-button variant=\"dark\" tone=\"text\" label=\"Salva come copia\"></mds-button>\n</mds-button-dropdown>\n```\n\n#### Disabled State\n\nThe `disabled` attribute blocks both halves of the control together.\n\n```html\n<mds-button-dropdown label=\"Invia richiesta\" disabled variant=\"primary\" tone=\"strong\">\n <mds-button variant=\"dark\" tone=\"text\" label=\"Invia in bozza\"></mds-button>\n</mds-button-dropdown>\n```\n\n#### Primary Action Handled in JavaScript\n\nListen for `mdsButtonDropdownClick` to run the primary action: it comes from the primary action only, from a click or the keyboard, and not while the component is `disabled` or awaiting. Handle each menu item with its own `click`.\n\n```html\n<mds-button-dropdown id=\"save\" label=\"Salva\" variant=\"primary\">\n <mds-button id=\"save-copy\" variant=\"dark\" tone=\"text\" label=\"Salva come copia\"></mds-button>\n</mds-button-dropdown>\n\n<script>\n document.getElementById('save').addEventListener('mdsButtonDropdownClick', () => save());\n document.getElementById('save-copy').addEventListener('click', () => saveCopy());\n</script>\n```\n\n#### Several Actions That Submit One Form\n\nSet `type=\"submit\"` on the component and give the primary action and the menu items the same `name` with a different `value`: each action submits the form, and the receiver reads which one was chosen from `name`, as with native submit buttons. Give `type=\"button\"` to the menu items that must not submit.\n\n```html\n<form action=\"/mail\" method=\"post\">\n <mds-input-field label=\"Oggetto\">\n <mds-input name=\"subject\"></mds-input>\n </mds-input-field>\n\n <!-- the receiver gets action=send, action=draft or action=schedule -->\n <mds-button-dropdown type=\"submit\" name=\"action\" value=\"send\" label=\"Invia\" variant=\"primary\">\n <mds-button name=\"action\" value=\"draft\" variant=\"dark\" tone=\"text\" label=\"Salva come bozza\"></mds-button>\n <mds-button name=\"action\" value=\"schedule\" variant=\"dark\" tone=\"text\" label=\"Invio programmato\"></mds-button>\n <mds-button type=\"button\" variant=\"dark\" tone=\"text\" label=\"Anteprima\"></mds-button>\n </mds-button-dropdown>\n</form>\n```\n\nWhen your code handles the submit, build the form data with `event.submitter`, as for [`mds-button`](../mds-button/AGENTS.md): `new FormData(form, event.submitter)`.\n\n#### Hyperlink Split Button via `href`\n\n`href` and `target` on the component make the primary action a link; the chevron keeps opening the menu. Put the other links on the menu items (`target=\"blank\"` opens them in a new tab).\n\n```html\n<mds-button-dropdown\n label=\"Apri documento\"\n href=\"https://example.com/doc\"\n variant=\"primary\"\n tone=\"weak\"\n>\n <mds-button href=\"https://example.com/doc/edit\" target=\"blank\" variant=\"dark\" tone=\"text\" label=\"Modifica\"></mds-button>\n <mds-button href=\"https://example.com/doc/history\" target=\"blank\" variant=\"dark\" tone=\"text\" label=\"Cronologia\"></mds-button>\n</mds-button-dropdown>\n```\n\n#### In a Row of Actions That Stacks\n\nStretch the component as any other action of the row: under `--magma-container-actions` of its container (`@max-actions:`), `actions/stacked` puts every labelled button at the full width, and the component gives that width to its primary action, the chevron staying at the end. No part or custom property is needed.\n\n```html\n<div class=\"@container\">\n <div class=\"flex justify-end gap-inline @max-actions:flex-col @max-actions:*:self-stretch\">\n <mds-button variant=\"dark\" tone=\"outline\" label=\"Copia JSON\"></mds-button>\n <mds-button-dropdown label=\"Scarica\" icon=\"mi/baseline/download\">\n <mds-button variant=\"dark\" tone=\"text\" label=\"Scarica come CSS\"></mds-button>\n <mds-button variant=\"dark\" tone=\"text\" label=\"Scarica come JSON\"></mds-button>\n </mds-button-dropdown>\n </div>\n</div>\n```\n\n#### Styling Customization\n\nStyle the component through its documented `--mds-button-dropdown-*` CSS custom properties or the `dropdown` shadow part. Use the semantic color roles via `rgb(var(--magma-<role>))` so dark mode and named themes keep working.\n\nThe `--mds-button-*` properties that inherit reach the two inner buttons too: `--mds-button-label-transform: none` on the component keeps a label such as a tenant name as written, without the uppercase first letter.\n\n```css\n.custom-toolbar mds-button-dropdown {\n --mds-button-dropdown-radius: var(--magma-radius-md);\n}\n\n.tenant-switcher mds-button-dropdown {\n --mds-button-label-transform: none;\n}\n\n/* Style the dropdown panel surface through the documented shadow part */\n.custom-toolbar mds-button-dropdown::part(dropdown) {\n box-shadow: var(--shadow-lg);\n}\n```\n",
|
|
32
33
|
"3. Mistakes": "Common incorrect uses of `<mds-button-dropdown>`. Each entry pairs the wrong form with the right one and a one-line reason. System-wide rules (boolean-as-string, shadow piercing, Tailwind color utilities, raw native event listening) live in [`agents/mistakes.md`](../../../../agents/mistakes.md) - they apply here too but are not repeated.\n\n#### Do Not Put the Label in the Default Slot\n\nThe default slot feeds the `<mds-dropdown>` panel, not the button label. Text placed in the slot ends up as menu content, not as the button's visible text. Use the `label` prop.\n\n```html\n<!-- INCORRECT -->\n<mds-button-dropdown variant=\"primary\" tone=\"strong\">\n Salva\n</mds-button-dropdown>\n\n<!-- CORRECT -->\n<mds-button-dropdown label=\"Salva\" variant=\"primary\" tone=\"strong\">\n <mds-button variant=\"dark\" tone=\"text\" label=\"Salva come bozza\"></mds-button>\n</mds-button-dropdown>\n```\n\n#### Do Not Slot Non-Button Content as Menu Items\n\nThe dropdown panel is designed for [`mds-button`](../mds-button/AGENTS.md) elements. Slotting raw `<button>`, `<a>`, or arbitrary HTML bypasses the Magma theming, focus styles and button API (`icon`, `await`, `disabled`) of the menu entries.\n\n```html\n<!-- INCORRECT -->\n<mds-button-dropdown label=\"Esporta\" variant=\"primary\" tone=\"weak\">\n <button onclick=\"exportPDF()\">PDF</button>\n <a href=\"/export/csv\">CSV</a>\n</mds-button-dropdown>\n\n<!-- CORRECT -->\n<mds-button-dropdown label=\"Esporta\" variant=\"primary\" tone=\"weak\">\n <mds-button variant=\"dark\" tone=\"text\" label=\"Esporta PDF\" icon=\"mi/baseline/picture-as-pdf\"></mds-button>\n <mds-button variant=\"dark\" tone=\"text\" label=\"Esporta CSV\" icon=\"mi/baseline/table-chart\"></mds-button>\n</mds-button-dropdown>\n```\n\n#### Do Not Count on the Default `type` to Submit a Form\n\nUnlike `<mds-button>`, the component defaults to `type=\"button\"`: inside a form, the primary action submits nothing until you set `type=\"submit\"`.\n\n```html\n<!-- INCORRECT: the primary action does not submit -->\n<form action=\"/mail\" method=\"post\">\n <mds-button-dropdown name=\"action\" value=\"send\" label=\"Invia\">\n <mds-button name=\"action\" value=\"draft\" variant=\"dark\" tone=\"text\" label=\"Salva come bozza\"></mds-button>\n </mds-button-dropdown>\n</form>\n\n<!-- CORRECT -->\n<form action=\"/mail\" method=\"post\">\n <mds-button-dropdown type=\"submit\" name=\"action\" value=\"send\" label=\"Invia\">\n <mds-button name=\"action\" value=\"draft\" variant=\"dark\" tone=\"text\" label=\"Salva come bozza\"></mds-button>\n </mds-button-dropdown>\n</form>\n```\n\n#### Do Not Submit the Form from a `click` Listener\n\nA `click` listener on the component also runs for the menu items, whose clicks bubble to it: picking a menu item that submits (\"Salva come bozza\") submits the form twice, once with its `name` / `value` and once without, and the receiver cannot tell which action was chosen. Use `type=\"submit\"` with `name` / `value`.\n\n```html\n<!-- INCORRECT -->\n<mds-button-dropdown id=\"send\" label=\"Invia\"></mds-button-dropdown>\n<script>\n document.getElementById('send').addEventListener('click', () => form.requestSubmit());\n</script>\n\n<!-- CORRECT -->\n<mds-button-dropdown type=\"submit\" name=\"action\" value=\"send\" label=\"Invia\"></mds-button-dropdown>\n```\n\n#### Do Not Listen to `click` for the Primary Action\n\nA `click` on the component also comes from the menu items, whose clicks bubble to it: the primary action would run whenever the user picks an entry of the menu. Listen for `mdsButtonDropdownClick`, which only the primary action emits.\n\n```js\n// INCORRECT: also runs for \"Salva come copia\"\ndropdown.addEventListener('click', () => save());\n\n// CORRECT\ndropdown.addEventListener('mdsButtonDropdownClick', () => save());\n```\n\n#### Do Not Leave a Menu Item That Must Not Submit on the Default `type`\n\nThe menu items are slotted `<mds-button>`, whose `type` defaults to `'submit'`: inside a form, an item that runs your own code (a preview, a copy) submits the form too. Give it `type=\"button\"`.\n\n```html\n<!-- INCORRECT: \"Anteprima\" submits the form -->\n<mds-button-dropdown type=\"submit\" name=\"action\" value=\"send\" label=\"Invia\">\n <mds-button variant=\"dark\" tone=\"text\" label=\"Anteprima\"></mds-button>\n</mds-button-dropdown>\n\n<!-- CORRECT -->\n<mds-button-dropdown type=\"submit\" name=\"action\" value=\"send\" label=\"Invia\">\n <mds-button type=\"button\" variant=\"dark\" tone=\"text\" label=\"Anteprima\"></mds-button>\n</mds-button-dropdown>\n```\n\n#### Do Not Use Unsupported `tone` Values\n\n`<mds-button-dropdown>` accepts `ToneMinimalVariantType`, which is `strong` and `weak` only. Passing `outline`, `text`, or `box` is not valid for this component: the value reaches the internal buttons unchecked, without the split-button styling that only `strong` and `weak` have.\n\n```html\n<!-- INCORRECT -->\n<mds-button-dropdown label=\"Azione\" variant=\"primary\" tone=\"outline\"></mds-button-dropdown>\n<mds-button-dropdown label=\"Azione\" variant=\"primary\" tone=\"text\"></mds-button-dropdown>\n\n<!-- CORRECT -->\n<mds-button-dropdown label=\"Azione\" variant=\"primary\" tone=\"strong\">\n <mds-button variant=\"dark\" tone=\"text\" label=\"Opzione\"></mds-button>\n</mds-button-dropdown>\n<mds-button-dropdown label=\"Azione\" variant=\"primary\" tone=\"weak\">\n <mds-button variant=\"dark\" tone=\"text\" label=\"Opzione\"></mds-button>\n</mds-button-dropdown>\n```\n\n#### Do Not Try to Customize the Chevron Icon\n\nThe chevron trigger icon is internal and fixed. There is no prop to change it. Do not attempt to override it with CSS property hacks or shadow-DOM selectors.\n\n```css\n/* INCORRECT */\nmds-button-dropdown .dropdown-action mds-icon {\n content: url('custom-arrow.svg');\n}\n\n/* CORRECT - style only through documented custom properties and the dropdown part */\nmds-button-dropdown {\n --mds-button-dropdown-radius: var(--magma-radius-md);\n}\nmds-button-dropdown::part(dropdown) {\n box-shadow: var(--shadow-lg);\n}\n```\n\n#### Do Not Set Boolean Attributes to `\"false\"`\n\n`await`, `disabled`, and `active` are boolean attributes and `mds-button-dropdown` is form-associated: as on a native control, any value turns them on, `\"false\"` included, so this markup renders a disabled button that is waiting. Remove the attribute to turn it off.\n\n```html\n<!-- INCORRECT -->\n<mds-button-dropdown label=\"Invia\" await=\"false\" disabled=\"false\" variant=\"primary\"></mds-button-dropdown>\n\n<!-- CORRECT -->\n<mds-button-dropdown label=\"Invia\" variant=\"primary\" tone=\"strong\">\n <mds-button variant=\"dark\" tone=\"text\" label=\"Invia come bozza\"></mds-button>\n</mds-button-dropdown>\n```\n"
|
|
33
34
|
},
|
|
34
35
|
"props": [
|