@maggioli-design-system/magma 2.4.0 → 2.5.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 +36 -0
- package/agents/assets.md +10 -0
- package/agents/components.md +2 -1
- package/agents/conventions.md +5 -0
- package/dist/cjs/{floating-controller-BxER7sig.js → floating-controller-DaFymQCT.js} +2 -2
- package/dist/cjs/{index-B_qgSpWL.js → index-BQNHYWJg.js} +5 -1
- package/dist/cjs/{index-B5DKRaVO.js → index-CWTZb9W2.js} +1 -1
- package/dist/cjs/index.cjs.js +3 -63
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{locale-D9XY8LN9.js → locale-Os4wg65H.js} +1 -1
- package/dist/cjs/magma-components.cjs.js +2 -2
- package/dist/cjs/mds-accordion-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +2 -2
- package/dist/cjs/mds-accordion.cjs.entry.js +3 -3
- package/dist/cjs/mds-author.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar.cjs.entry.js +2 -2
- package/dist/cjs/mds-badge.cjs.entry.js +2 -2
- package/dist/cjs/mds-banner_3.cjs.entry.js +6 -6
- package/dist/cjs/mds-benchmark-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-bibliography.cjs.entry.js +1 -1
- package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-breadcrumb.cjs.entry.js +3 -3
- package/dist/cjs/mds-button-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
- package/dist/cjs/mds-button_3.cjs.entry.js +8 -7
- package/dist/cjs/mds-calendar_2.cjs.entry.js +4 -4
- package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
- package/dist/cjs/mds-card.cjs.entry.js +3 -3
- package/dist/cjs/mds-details.cjs.entry.js +3 -3
- package/dist/cjs/mds-dropdown.cjs.entry.js +5 -5
- package/dist/cjs/mds-emoji.cjs.entry.js +38 -8
- package/dist/cjs/mds-entity.cjs.entry.js +4 -4
- package/dist/cjs/mds-file-preview.cjs.entry.js +4 -4
- package/dist/cjs/mds-file.cjs.entry.js +3 -3
- package/dist/cjs/mds-filter-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-filter.cjs.entry.js +4 -4
- package/dist/cjs/mds-header-bar.cjs.entry.js +4 -4
- package/dist/cjs/mds-header.cjs.entry.js +3 -3
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +5 -5
- package/dist/cjs/mds-hr.cjs.entry.js +2 -2
- package/dist/cjs/mds-img.cjs.entry.js +3 -3
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-date-range.cjs.entry.js +4 -4
- package/dist/cjs/mds-input-date.cjs.entry.js +5 -5
- package/dist/cjs/mds-input-field.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-otp.cjs.entry.js +3 -3
- package/dist/cjs/mds-input-range.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-select.cjs.entry.js +5 -5
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +7 -7
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +3 -3
- package/dist/cjs/mds-input-upload.cjs.entry.js +4 -4
- package/dist/cjs/mds-input.cjs.entry.js +5 -5
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +4 -4
- package/dist/cjs/mds-keyboard.cjs.entry.js +4 -4
- package/dist/cjs/mds-kpi-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
- package/dist/cjs/mds-label.cjs.entry.js +3 -3
- package/dist/cjs/mds-link.cjs.entry.js +147 -0
- package/dist/cjs/mds-list-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-list.cjs.entry.js +2 -2
- package/dist/cjs/mds-mention.cjs.entry.js +4 -4
- package/dist/cjs/mds-modal.cjs.entry.js +8 -8
- package/dist/cjs/mds-note.cjs.entry.js +5 -5
- package/dist/cjs/mds-notification.cjs.entry.js +4 -4
- package/dist/cjs/mds-paginator-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-paginator.cjs.entry.js +5 -5
- package/dist/cjs/mds-policy-ai.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-animation.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-language.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-mode.cjs.entry.js +6 -6
- package/dist/cjs/mds-pref-theme-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-pref-theme.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table-features.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-list.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table.cjs.entry.js +2 -2
- package/dist/cjs/mds-progress_2.cjs.entry.js +5 -5
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +6 -6
- package/dist/cjs/mds-push-notification.cjs.entry.js +6 -6
- package/dist/cjs/mds-quote.cjs.entry.js +3 -3
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-radial-menu.cjs.entry.js +7 -7
- package/dist/cjs/mds-separator.cjs.entry.js +3 -3
- package/dist/cjs/mds-status-bar.cjs.entry.js +4 -4
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +5 -5
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +2 -2
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-tab-bar.cjs.entry.js +3 -3
- package/dist/cjs/mds-tab_2.cjs.entry.js +7 -7
- package/dist/cjs/mds-table-body.cjs.entry.js +3 -3
- package/dist/cjs/mds-table-footer.cjs.entry.js +3 -3
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +3 -3
- package/dist/cjs/mds-table-header.cjs.entry.js +4 -4
- package/dist/cjs/mds-table-row.cjs.entry.js +6 -6
- package/dist/cjs/mds-table.cjs.entry.js +5 -5
- package/dist/cjs/mds-text.cjs.entry.js +3 -3
- package/dist/cjs/mds-toast-region.cjs.entry.js +2 -2
- package/dist/cjs/mds-toast.cjs.entry.js +6 -6
- package/dist/cjs/mds-tooltip.cjs.entry.js +6 -6
- package/dist/cjs/mds-tree-item.cjs.entry.js +6 -6
- package/dist/cjs/mds-tree.cjs.entry.js +3 -3
- package/dist/cjs/mds-url-view.cjs.entry.js +4 -4
- package/dist/cjs/mds-usage.cjs.entry.js +4 -4
- package/dist/cjs/mds-video-wall.cjs.entry.js +3 -3
- package/dist/cjs/mds-zero.cjs.entry.js +4 -4
- package/dist/cjs/navigation-5yeOyO6F.js +64 -0
- package/dist/cjs/{preference-C8BcoA3M.js → preference-CQQ3eb9W.js} +1 -1
- package/dist/cjs/{unit-Cm341q1R.js → unit-JdmHaLT3.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/common/unit.js +1 -1
- package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion/documentation.json +1 -1
- package/dist/collection/components/mds-accordion/mds-accordion.css +2 -2
- package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-item/documentation.json +1 -1
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +9 -9
- package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-timer/documentation.json +1 -1
- package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +1 -1
- package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-timer-item/documentation.json +1 -1
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +2 -2
- package/dist/collection/components/mds-author/AGENTS.md +1 -1
- package/dist/collection/components/mds-author/documentation.json +1 -1
- package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar/documentation.json +1 -1
- package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar-stack/documentation.json +1 -1
- package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar-stack-item/documentation.json +1 -1
- package/dist/collection/components/mds-badge/AGENTS.md +1 -1
- package/dist/collection/components/mds-badge/documentation.json +1 -1
- package/dist/collection/components/mds-banner/AGENTS.md +1 -1
- package/dist/collection/components/mds-banner/documentation.json +1 -1
- package/dist/collection/components/mds-banner/mds-banner.css +3 -3
- package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-benchmark-bar/documentation.json +1 -1
- package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
- package/dist/collection/components/mds-bibliography/documentation.json +1 -1
- package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
- package/dist/collection/components/mds-breadcrumb/documentation.json +1 -1
- package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-breadcrumb-item/documentation.json +1 -1
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +1 -1
- package/dist/collection/components/mds-button/AGENTS.md +1 -1
- package/dist/collection/components/mds-button/antipattern.md +16 -0
- package/dist/collection/components/mds-button/documentation.json +2 -2
- package/dist/collection/components/mds-button/mds-button.css +4 -2
- package/dist/collection/components/mds-button-dropdown/AGENTS.md +1 -1
- package/dist/collection/components/mds-button-dropdown/documentation.json +1 -1
- package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
- package/dist/collection/components/mds-button-group/documentation.json +1 -1
- package/dist/collection/components/mds-calendar/AGENTS.md +1 -1
- package/dist/collection/components/mds-calendar/documentation.json +1 -1
- package/dist/collection/components/mds-calendar/mds-calendar.css +8 -8
- package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-calendar-cell/documentation.json +1 -1
- package/dist/collection/components/mds-card/AGENTS.md +2 -1
- package/dist/collection/components/mds-card/documentation.json +2 -2
- package/dist/collection/components/mds-card/mds-card.css +9 -5
- package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-content/documentation.json +1 -1
- package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-footer/documentation.json +1 -1
- package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-header/documentation.json +1 -1
- package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-media/documentation.json +1 -1
- package/dist/collection/components/mds-chip/AGENTS.md +1 -1
- package/dist/collection/components/mds-chip/documentation.json +1 -1
- package/dist/collection/components/mds-chip/mds-chip.css +1 -1
- package/dist/collection/components/mds-details/AGENTS.md +1 -1
- package/dist/collection/components/mds-details/documentation.json +1 -1
- package/dist/collection/components/mds-details/mds-details.css +2 -2
- package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
- package/dist/collection/components/mds-dropdown/documentation.json +1 -1
- package/dist/collection/components/mds-dropdown/mds-dropdown.css +23 -23
- package/dist/collection/components/mds-emoji/AGENTS.md +2 -2
- package/dist/collection/components/mds-emoji/documentation.json +2 -2
- package/dist/collection/components/mds-emoji/mds-emoji.css +11 -5
- package/dist/collection/components/mds-emoji/mds-emoji.js +34 -4
- package/dist/collection/components/mds-entity/AGENTS.md +3 -2
- package/dist/collection/components/mds-entity/documentation.json +11 -3
- package/dist/collection/components/mds-entity/mds-entity.css +1 -1
- package/dist/collection/components/mds-entity/mds-entity.js +2 -1
- package/dist/collection/components/mds-entity/pattern.md +10 -0
- package/dist/collection/components/mds-file/AGENTS.md +1 -1
- package/dist/collection/components/mds-file/documentation.json +1 -1
- package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
- package/dist/collection/components/mds-file-preview/documentation.json +1 -1
- package/dist/collection/components/mds-file-preview/mds-file-preview.css +2 -2
- package/dist/collection/components/mds-filter/AGENTS.md +1 -1
- package/dist/collection/components/mds-filter/documentation.json +1 -1
- package/dist/collection/components/mds-filter/mds-filter.css +1 -1
- package/dist/collection/components/mds-filter-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-filter-item/documentation.json +1 -1
- package/dist/collection/components/mds-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-header/documentation.json +1 -1
- package/dist/collection/components/mds-header/mds-header.css +4 -4
- package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-header-bar/documentation.json +1 -1
- package/dist/collection/components/mds-header-bar/mds-header-bar.css +1 -1
- package/dist/collection/components/mds-help/AGENTS.md +1 -1
- package/dist/collection/components/mds-help/documentation.json +1 -1
- package/dist/collection/components/mds-help/mds-help.css +7 -5
- package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
- package/dist/collection/components/mds-horizontal-scroll/documentation.json +1 -1
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +2 -2
- package/dist/collection/components/mds-hr/AGENTS.md +1 -1
- package/dist/collection/components/mds-hr/documentation.json +1 -1
- package/dist/collection/components/mds-icon/AGENTS.md +2 -2
- package/dist/collection/components/mds-icon/documentation.json +5 -1
- package/dist/collection/components/mds-img/AGENTS.md +1 -1
- package/dist/collection/components/mds-img/documentation.json +1 -1
- package/dist/collection/components/mds-input/AGENTS.md +1 -1
- package/dist/collection/components/mds-input/documentation.json +1 -1
- package/dist/collection/components/mds-input/mds-input.css +8 -8
- package/dist/collection/components/mds-input-date/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-date/documentation.json +1 -1
- package/dist/collection/components/mds-input-date/mds-input-date.css +6 -6
- package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-date-range/documentation.json +1 -1
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +11 -11
- package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-date-range-preselection/documentation.json +1 -1
- package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-field/documentation.json +1 -1
- package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-otp/documentation.json +1 -1
- package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-range/documentation.json +1 -1
- package/dist/collection/components/mds-input-select/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-select/documentation.json +1 -1
- package/dist/collection/components/mds-input-select/mds-input-select.css +5 -5
- package/dist/collection/components/mds-input-switch/AGENTS.md +3 -3
- package/dist/collection/components/mds-input-switch/documentation.json +3 -3
- package/dist/collection/components/mds-input-switch/mds-input-switch.css +12 -10
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +4 -4
- package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-tip/documentation.json +1 -1
- package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-tip-item/documentation.json +1 -1
- package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-upload/documentation.json +1 -1
- package/dist/collection/components/mds-input-upload/mds-input-upload.css +2 -2
- package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
- package/dist/collection/components/mds-keyboard/documentation.json +1 -1
- package/dist/collection/components/mds-keyboard/mds-keyboard.css +5 -5
- package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
- package/dist/collection/components/mds-keyboard-key/documentation.json +1 -1
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +2 -2
- package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
- package/dist/collection/components/mds-kpi/documentation.json +1 -1
- package/dist/collection/components/mds-kpi/mds-kpi.css +1 -1
- package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-kpi-item/documentation.json +1 -1
- package/dist/collection/components/mds-label/AGENTS.md +1 -1
- package/dist/collection/components/mds-label/documentation.json +1 -1
- package/dist/collection/components/mds-link/AGENTS.md +81 -0
- package/dist/collection/components/mds-link/antipattern.md +96 -0
- package/dist/collection/components/mds-link/documentation.json +407 -0
- package/dist/collection/components/mds-link/mds-link.css +301 -0
- package/dist/collection/components/mds-link/mds-link.js +335 -0
- package/dist/collection/components/mds-link/meta/dictionary.js +3 -0
- package/dist/collection/components/mds-link/meta/types.js +1 -0
- package/dist/collection/components/mds-link/pattern.md +100 -0
- package/dist/collection/components/mds-list/AGENTS.md +1 -1
- package/dist/collection/components/mds-list/documentation.json +1 -1
- 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 +1 -1
- package/dist/collection/components/mds-list-item/mds-list-item.css +4 -4
- 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 +1 -1
- package/dist/collection/components/mds-mention/mds-mention.js +1 -1
- package/dist/collection/components/mds-modal/AGENTS.md +1 -1
- package/dist/collection/components/mds-modal/documentation.json +1 -1
- package/dist/collection/components/mds-modal/mds-modal.css +5 -5
- package/dist/collection/components/mds-modal/mds-modal.js +3 -3
- package/dist/collection/components/mds-note/AGENTS.md +1 -1
- package/dist/collection/components/mds-note/documentation.json +1 -1
- package/dist/collection/components/mds-note/mds-note.css +3 -3
- 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 +1 -1
- package/dist/collection/components/mds-notification/mds-notification.css +22 -22
- 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 +1 -1
- package/dist/collection/components/mds-paginator/mds-paginator.css +1 -1
- 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 +1 -1
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
- package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
- package/dist/collection/components/mds-policy-ai/documentation.json +1 -1
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
- package/dist/collection/components/mds-pref/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref/documentation.json +1 -1
- package/dist/collection/components/mds-pref/mds-pref.js +1 -1
- package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-animation/documentation.json +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
- package/dist/collection/components/mds-pref-language/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-language/documentation.json +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +2 -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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
- package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-features-cell/documentation.json +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/collection/components/mds-progress/mds-progress.css +2 -0
- 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 +1 -1
- package/dist/collection/components/mds-push-notification/mds-push-notification.css +4 -4
- 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 +1 -1
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +2 -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 +1 -1
- 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 +1 -1
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +8 -6
- 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 +1 -1
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.css +2 -2
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
- package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
- package/dist/collection/components/mds-radial-progress/documentation.json +1 -1
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +1 -1
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
- package/dist/collection/components/mds-separator/AGENTS.md +1 -1
- package/dist/collection/components/mds-separator/documentation.json +1 -1
- 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 +1 -1
- package/dist/collection/components/mds-spinner/mds-spinner.css +6 -0
- 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 +1 -1
- package/dist/collection/components/mds-status-bar/mds-status-bar.css +3 -3
- 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 +1 -1
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
- package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-stepper-bar-item/documentation.json +1 -1
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +4 -2
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
- package/dist/collection/components/mds-tab/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab/documentation.json +1 -1
- package/dist/collection/components/mds-tab/mds-tab.css +9 -7
- package/dist/collection/components/mds-tab/mds-tab.js +2 -2
- package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-bar/documentation.json +1 -1
- 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 +1 -1
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +2 -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 +1 -1
- package/dist/collection/components/mds-tab-item/documentation.json +1 -1
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
- package/dist/collection/components/mds-table/AGENTS.md +1 -1
- package/dist/collection/components/mds-table/documentation.json +1 -1
- package/dist/collection/components/mds-table/mds-table.css +1 -1
- package/dist/collection/components/mds-table/mds-table.js +1 -1
- package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-body/documentation.json +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
- package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-header/documentation.json +1 -1
- package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
- package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-header-cell/documentation.json +1 -1
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
- package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-row/documentation.json +1 -1
- package/dist/collection/components/mds-table-row/mds-table-row.css +1 -1
- package/dist/collection/components/mds-table-row/mds-table-row.js +2 -2
- package/dist/collection/components/mds-text/AGENTS.md +2 -2
- package/dist/collection/components/mds-text/antipattern.md +1 -1
- package/dist/collection/components/mds-text/documentation.json +4 -4
- package/dist/collection/components/mds-text/mds-text.js +1 -1
- package/dist/collection/components/mds-text/pattern.md +10 -0
- package/dist/collection/components/mds-toast/AGENTS.md +1 -1
- package/dist/collection/components/mds-toast/documentation.json +1 -1
- package/dist/collection/components/mds-toast/mds-toast.css +2 -2
- package/dist/collection/components/mds-toast/mds-toast.js +1 -1
- package/dist/collection/components/mds-toast-region/AGENTS.md +1 -1
- package/dist/collection/components/mds-toast-region/documentation.json +1 -1
- 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 +1 -1
- package/dist/collection/components/mds-tooltip/mds-tooltip.css +25 -25
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +1 -1
- package/dist/collection/components/mds-tree/AGENTS.md +1 -1
- package/dist/collection/components/mds-tree/documentation.json +1 -1
- package/dist/collection/components/mds-tree/mds-tree.css +1 -1
- 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 +1 -1
- package/dist/collection/components/mds-tree-item/mds-tree-item.css +8 -6
- 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 +1 -1
- package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
- package/dist/collection/components/mds-usage/AGENTS.md +1 -1
- package/dist/collection/components/mds-usage/documentation.json +1 -1
- 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 +1 -1
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
- package/dist/collection/components/mds-zero/AGENTS.md +1 -1
- package/dist/collection/components/mds-zero/documentation.json +1 -1
- package/dist/collection/components/mds-zero/mds-zero.css +2 -2
- package/dist/collection/components/mds-zero/mds-zero.js +1 -1
- 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-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.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.d.ts +11 -0
- package/dist/components/mds-link.js +1 -0
- 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-B0AnE3sA.js +1 -0
- package/dist/{magma-components/p-BmT_DEV2.js → components/p-B8x-d2fx.js} +2 -2
- package/dist/components/{p-Didp833Z.js → p-BU3bsIX2.js} +1 -1
- package/dist/components/{p-NlPseOAv.js → p-BbK4qeM7.js} +1 -1
- package/dist/components/p-BbTcXgbr.js +1 -0
- package/dist/components/p-BwJQB6rG.js +1 -0
- package/dist/components/p-Bz1eiKqd.js +1 -0
- package/dist/components/p-C1CTahjH.js +1 -0
- package/dist/components/{p-BLiWCyrD.js → p-C4XdTZQ-.js} +1 -1
- package/dist/components/p-C99SMdU_.js +1 -0
- package/dist/components/{p-BFisF7aN.js → p-CHHEp_7y.js} +1 -1
- package/dist/components/{p-DSxDXNWp.js → p-CLe_N2_H.js} +1 -1
- package/dist/components/{p-DezdwzYQ.js → p-CNF3u0Li.js} +1 -1
- package/dist/components/p-CNZ8_QvE.js +8 -0
- package/dist/components/{p-DaptTdaU.js → p-CSxW5f2f.js} +1 -1
- package/dist/components/{p-BlnEiKN4.js → p-CVRN4LDc.js} +1 -1
- package/dist/components/p-CWk1SCJg.js +1 -0
- package/dist/components/{p-sM-eFjwq.js → p-Cd8id3Br.js} +1 -1
- package/dist/components/p-CfQETwAK.js +1 -0
- package/dist/components/p-ClPv-Ljc.js +1 -0
- package/dist/components/{p-cIZniMh0.js → p-Cmn1DJAB.js} +1 -1
- package/dist/components/{p-fhAmrBfl.js → p-D-DdDIb9.js} +1 -1
- package/dist/components/{p-D4JiVIoh.js → p-D2d9eOLi.js} +1 -1
- package/dist/components/p-D8wd-EZX.js +1 -0
- package/dist/components/{p-B1bYa-o0.js → p-DCrdKrky.js} +1 -1
- package/dist/components/{p-D_0rjNZp.js → p-DF3PrYBI.js} +1 -1
- package/dist/components/p-DNeEn8Rr.js +1 -0
- package/dist/components/{p-Bg5E4Wnq.js → p-DiUUZ7ZA.js} +1 -1
- package/dist/components/{p-DACnmwad.js → p-DkUdrGHq.js} +1 -1
- package/dist/components/{p-BL220gRU.js → p-Dm-OUwDe.js} +1 -1
- package/dist/components/p-DnySYX0L.js +1 -0
- package/dist/components/{p-B2p5a1Y8.js → p-TZJN-ygm.js} +1 -1
- package/dist/components/{p-B6B6q5kP.js → p-ZuubAcA3.js} +1 -1
- package/dist/{magma-components/p-ZaZnuNvg.js → components/p-jasGzfhE.js} +1 -1
- package/dist/components/p-nsbhb0lz.js +1 -0
- package/dist/components/{p-JPhOaOXe.js → p-s1CktmPS.js} +1 -1
- package/dist/components/{p-NOw8-OrM.js → p-uqwixjju.js} +1 -1
- package/dist/documentation.json +431 -11
- package/dist/esm/{floating-controller-BV0E_Juq.js → floating-controller-BVlbYYkf.js} +2 -2
- package/dist/esm/{index-CPRkNQdE.js → index-CvLLN-QH.js} +5 -1
- package/dist/esm/{index-DI_6NAg0.js → index-D2_gI0qp.js} +1 -1
- package/dist/esm/index.js +3 -63
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-DfpXg7qZ.js → locale-BQmO6K_S.js} +1 -1
- package/dist/esm/magma-components.js +3 -3
- package/dist/esm/mds-accordion-item.entry.js +3 -3
- package/dist/esm/mds-accordion-timer-item.entry.js +3 -3
- package/dist/esm/mds-accordion-timer.entry.js +2 -2
- package/dist/esm/mds-accordion.entry.js +3 -3
- package/dist/esm/mds-author.entry.js +1 -1
- package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm/mds-avatar-stack.entry.js +1 -1
- package/dist/esm/mds-avatar.entry.js +2 -2
- package/dist/esm/mds-badge.entry.js +2 -2
- package/dist/esm/mds-banner_3.entry.js +6 -6
- package/dist/esm/mds-benchmark-bar.entry.js +1 -1
- package/dist/esm/mds-bibliography.entry.js +1 -1
- package/dist/esm/mds-breadcrumb-item.entry.js +2 -2
- package/dist/esm/mds-breadcrumb.entry.js +3 -3
- package/dist/esm/mds-button-dropdown.entry.js +3 -3
- package/dist/esm/mds-button-group.entry.js +1 -1
- package/dist/esm/mds-button_3.entry.js +6 -5
- package/dist/esm/mds-calendar_2.entry.js +4 -4
- package/dist/esm/mds-card-content.entry.js +1 -1
- package/dist/esm/mds-card-footer.entry.js +1 -1
- package/dist/esm/mds-card-header.entry.js +1 -1
- package/dist/esm/mds-card-media.entry.js +1 -1
- package/dist/esm/mds-card.entry.js +3 -3
- package/dist/esm/mds-details.entry.js +3 -3
- package/dist/esm/mds-dropdown.entry.js +5 -5
- package/dist/esm/mds-emoji.entry.js +38 -8
- package/dist/esm/mds-entity.entry.js +4 -4
- package/dist/esm/mds-file-preview.entry.js +4 -4
- package/dist/esm/mds-file.entry.js +3 -3
- package/dist/esm/mds-filter-item.entry.js +3 -3
- package/dist/esm/mds-filter.entry.js +4 -4
- package/dist/esm/mds-header-bar.entry.js +4 -4
- package/dist/esm/mds-header.entry.js +3 -3
- package/dist/esm/mds-horizontal-scroll.entry.js +5 -5
- package/dist/esm/mds-hr.entry.js +2 -2
- package/dist/esm/mds-img.entry.js +3 -3
- package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
- package/dist/esm/mds-input-date-range.entry.js +4 -4
- package/dist/esm/mds-input-date.entry.js +5 -5
- package/dist/esm/mds-input-field.entry.js +1 -1
- package/dist/esm/mds-input-otp.entry.js +3 -3
- package/dist/esm/mds-input-range.entry.js +2 -2
- package/dist/esm/mds-input-select.entry.js +5 -5
- package/dist/esm/mds-input-switch_2.entry.js +7 -7
- package/dist/esm/mds-input-tip_2.entry.js +3 -3
- package/dist/esm/mds-input-upload.entry.js +4 -4
- package/dist/esm/mds-input.entry.js +5 -5
- package/dist/esm/mds-keyboard-key.entry.js +4 -4
- package/dist/esm/mds-keyboard.entry.js +4 -4
- package/dist/esm/mds-kpi-item.entry.js +2 -2
- package/dist/esm/mds-kpi.entry.js +2 -2
- package/dist/esm/mds-label.entry.js +3 -3
- package/dist/esm/mds-link.entry.js +145 -0
- package/dist/esm/mds-list-item.entry.js +3 -3
- package/dist/esm/mds-list.entry.js +2 -2
- package/dist/esm/mds-mention.entry.js +4 -4
- package/dist/esm/mds-modal.entry.js +8 -8
- package/dist/esm/mds-note.entry.js +5 -5
- package/dist/esm/mds-notification.entry.js +4 -4
- package/dist/esm/mds-paginator-item.entry.js +3 -3
- package/dist/esm/mds-paginator.entry.js +5 -5
- package/dist/esm/mds-policy-ai.entry.js +4 -4
- package/dist/esm/mds-pref-animation.entry.js +4 -4
- package/dist/esm/mds-pref-consumption.entry.js +4 -4
- package/dist/esm/mds-pref-contrast.entry.js +4 -4
- package/dist/esm/mds-pref-language-item.entry.js +4 -4
- package/dist/esm/mds-pref-language.entry.js +4 -4
- package/dist/esm/mds-pref-mode.entry.js +6 -6
- package/dist/esm/mds-pref-theme-item.entry.js +2 -2
- package/dist/esm/mds-pref-theme.entry.js +4 -4
- package/dist/esm/mds-pref.entry.js +4 -4
- package/dist/esm/mds-price-table-features-cell.entry.js +3 -3
- package/dist/esm/mds-price-table-features-row.entry.js +3 -3
- package/dist/esm/mds-price-table-features.entry.js +3 -3
- package/dist/esm/mds-price-table-header.entry.js +2 -2
- package/dist/esm/mds-price-table-list-item.entry.js +2 -2
- package/dist/esm/mds-price-table-list.entry.js +3 -3
- package/dist/esm/mds-price-table.entry.js +2 -2
- package/dist/esm/mds-progress_2.entry.js +5 -5
- package/dist/esm/mds-push-notification-item.entry.js +6 -6
- package/dist/esm/mds-push-notification.entry.js +6 -6
- package/dist/esm/mds-quote.entry.js +3 -3
- package/dist/esm/mds-radial-menu-item.entry.js +3 -3
- package/dist/esm/mds-radial-menu.entry.js +7 -7
- package/dist/esm/mds-separator.entry.js +3 -3
- package/dist/esm/mds-status-bar.entry.js +4 -4
- package/dist/esm/mds-stepper-bar-item.entry.js +5 -5
- package/dist/esm/mds-stepper-bar.entry.js +2 -2
- package/dist/esm/mds-tab-bar-item.entry.js +4 -4
- package/dist/esm/mds-tab-bar.entry.js +3 -3
- package/dist/esm/mds-tab_2.entry.js +7 -7
- package/dist/esm/mds-table-body.entry.js +3 -3
- package/dist/esm/mds-table-footer.entry.js +3 -3
- package/dist/esm/mds-table-header-cell.entry.js +3 -3
- package/dist/esm/mds-table-header.entry.js +4 -4
- package/dist/esm/mds-table-row.entry.js +6 -6
- package/dist/esm/mds-table.entry.js +5 -5
- package/dist/esm/mds-text.entry.js +3 -3
- package/dist/esm/mds-toast-region.entry.js +2 -2
- package/dist/esm/mds-toast.entry.js +6 -6
- package/dist/esm/mds-tooltip.entry.js +6 -6
- package/dist/esm/mds-tree-item.entry.js +6 -6
- package/dist/esm/mds-tree.entry.js +3 -3
- package/dist/esm/mds-url-view.entry.js +4 -4
- package/dist/esm/mds-usage.entry.js +4 -4
- package/dist/esm/mds-video-wall.entry.js +3 -3
- package/dist/esm/mds-zero.entry.js +4 -4
- package/dist/esm/navigation-Bz1eiKqd.js +62 -0
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/{preference-Ch1zJnqq.js → preference-C5XjgGCb.js} +1 -1
- package/dist/esm/{unit-D8eZRaSQ.js → unit-CWk1SCJg.js} +1 -1
- package/dist/esm-es5/{floating-controller-BV0E_Juq.js → floating-controller-BVlbYYkf.js} +1 -1
- package/dist/esm-es5/{index-CPRkNQdE.js → index-CvLLN-QH.js} +4 -2
- package/dist/esm-es5/{index-DI_6NAg0.js → index-D2_gI0qp.js} +1 -1
- package/dist/esm-es5/index.js +20 -37
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{locale-DfpXg7qZ.js → locale-BQmO6K_S.js} +1 -1
- package/dist/esm-es5/magma-components.js +2 -2
- package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
- package/dist/esm-es5/mds-accordion.entry.js +2 -2
- package/dist/esm-es5/mds-author.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
- package/dist/esm-es5/mds-avatar.entry.js +2 -2
- package/dist/esm-es5/mds-badge.entry.js +1 -1
- package/dist/esm-es5/mds-banner_3.entry.js +3 -3
- package/dist/esm-es5/mds-benchmark-bar.entry.js +1 -1
- package/dist/esm-es5/mds-bibliography.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb.entry.js +1 -1
- package/dist/esm-es5/mds-button-dropdown.entry.js +1 -1
- package/dist/esm-es5/mds-button-group.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +2 -2
- package/dist/esm-es5/mds-calendar_2.entry.js +1 -1
- package/dist/esm-es5/mds-card-content.entry.js +1 -1
- package/dist/esm-es5/mds-card-footer.entry.js +1 -1
- package/dist/esm-es5/mds-card-header.entry.js +1 -1
- package/dist/esm-es5/mds-card-media.entry.js +1 -1
- package/dist/esm-es5/mds-card.entry.js +1 -1
- package/dist/esm-es5/mds-details.entry.js +1 -1
- package/dist/esm-es5/mds-dropdown.entry.js +15 -15
- package/dist/esm-es5/mds-emoji.entry.js +271 -251
- package/dist/esm-es5/mds-entity.entry.js +1 -1
- package/dist/esm-es5/mds-file-preview.entry.js +10 -10
- package/dist/esm-es5/mds-file.entry.js +1 -1
- package/dist/esm-es5/mds-filter-item.entry.js +1 -1
- package/dist/esm-es5/mds-filter.entry.js +1 -1
- package/dist/esm-es5/mds-header-bar.entry.js +1 -1
- package/dist/esm-es5/mds-header.entry.js +1 -1
- package/dist/esm-es5/mds-horizontal-scroll.entry.js +2 -2
- package/dist/esm-es5/mds-hr.entry.js +1 -1
- package/dist/esm-es5/mds-img.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range.entry.js +15 -15
- package/dist/esm-es5/mds-input-date.entry.js +1 -1
- package/dist/esm-es5/mds-input-field.entry.js +1 -1
- package/dist/esm-es5/mds-input-otp.entry.js +1 -1
- package/dist/esm-es5/mds-input-range.entry.js +1 -1
- package/dist/esm-es5/mds-input-select.entry.js +1 -1
- package/dist/esm-es5/mds-input-switch_2.entry.js +3 -3
- package/dist/esm-es5/mds-input-tip_2.entry.js +1 -1
- package/dist/esm-es5/mds-input-upload.entry.js +1 -1
- package/dist/esm-es5/mds-input.entry.js +2 -2
- package/dist/esm-es5/mds-keyboard-key.entry.js +1 -1
- package/dist/esm-es5/mds-keyboard.entry.js +1 -1
- package/dist/esm-es5/mds-kpi-item.entry.js +1 -1
- package/dist/esm-es5/mds-kpi.entry.js +1 -1
- package/dist/esm-es5/mds-label.entry.js +1 -1
- package/dist/esm-es5/mds-link.entry.js +39 -0
- 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 +3 -3
- package/dist/esm-es5/mds-note.entry.js +2 -2
- package/dist/esm-es5/mds-notification.entry.js +8 -8
- package/dist/esm-es5/mds-paginator-item.entry.js +2 -2
- package/dist/esm-es5/mds-paginator.entry.js +2 -2
- package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
- package/dist/esm-es5/mds-pref-animation.entry.js +2 -2
- package/dist/esm-es5/mds-pref-consumption.entry.js +2 -2
- package/dist/esm-es5/mds-pref-contrast.entry.js +2 -2
- package/dist/esm-es5/mds-pref-language-item.entry.js +2 -2
- package/dist/esm-es5/mds-pref-language.entry.js +2 -2
- package/dist/esm-es5/mds-pref-mode.entry.js +2 -2
- package/dist/esm-es5/mds-pref-theme-item.entry.js +3 -3
- package/dist/esm-es5/mds-pref-theme.entry.js +2 -2
- package/dist/esm-es5/mds-pref.entry.js +2 -2
- package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
- package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-list-item.entry.js +2 -2
- package/dist/esm-es5/mds-price-table-list.entry.js +2 -2
- package/dist/esm-es5/mds-price-table.entry.js +1 -1
- package/dist/esm-es5/mds-progress_2.entry.js +3 -3
- package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
- package/dist/esm-es5/mds-push-notification.entry.js +2 -2
- 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 +2 -2
- package/dist/esm-es5/mds-stepper-bar-item.entry.js +2 -2
- package/dist/esm-es5/mds-stepper-bar.entry.js +2 -2
- package/dist/esm-es5/mds-tab-bar-item.entry.js +2 -2
- package/dist/esm-es5/mds-tab-bar.entry.js +2 -2
- package/dist/esm-es5/mds-tab_2.entry.js +3 -3
- package/dist/esm-es5/mds-table-body.entry.js +1 -1
- package/dist/esm-es5/mds-table-footer.entry.js +2 -2
- package/dist/esm-es5/mds-table-header-cell.entry.js +2 -2
- package/dist/esm-es5/mds-table-header.entry.js +2 -2
- package/dist/esm-es5/mds-table-row.entry.js +2 -2
- package/dist/esm-es5/mds-table.entry.js +2 -2
- package/dist/esm-es5/mds-text.entry.js +2 -2
- package/dist/esm-es5/mds-toast-region.entry.js +3 -3
- package/dist/esm-es5/mds-toast.entry.js +2 -2
- package/dist/esm-es5/mds-tooltip.entry.js +3 -3
- package/dist/esm-es5/mds-tree-item.entry.js +2 -2
- package/dist/esm-es5/mds-tree.entry.js +2 -2
- package/dist/esm-es5/mds-url-view.entry.js +2 -2
- package/dist/esm-es5/mds-usage.entry.js +2 -2
- package/dist/esm-es5/mds-video-wall.entry.js +2 -2
- package/dist/esm-es5/mds-zero.entry.js +1 -1
- package/dist/esm-es5/navigation-Bz1eiKqd.js +17 -0
- package/dist/esm-es5/{preference-Ch1zJnqq.js → preference-C5XjgGCb.js} +4 -4
- package/dist/esm-es5/unit-CWk1SCJg.js +1 -0
- package/dist/hydrate/index.js +496 -304
- package/dist/hydrate/index.mjs +496 -304
- 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-028f3717.entry.js → p-000c315c.entry.js} +1 -1
- package/dist/magma-components/{p-4fdda209.system.entry.js → p-0033cb92.system.entry.js} +2 -2
- package/dist/magma-components/{p-2a2b7c43.entry.js → p-0148cf0a.entry.js} +1 -1
- package/dist/magma-components/{p-6c91b00d.system.entry.js → p-02298ed0.system.entry.js} +2 -2
- package/dist/magma-components/p-02fe26b4.system.entry.js +35 -0
- package/dist/magma-components/p-05ed801b.system.entry.js +14 -0
- package/dist/magma-components/{p-a1ca2441.system.entry.js → p-0679c988.system.entry.js} +1 -1
- package/dist/magma-components/{p-3bb26611.entry.js → p-068e30a5.entry.js} +1 -1
- package/dist/magma-components/{p-1f9ebc0d.entry.js → p-06ccc40d.entry.js} +1 -1
- package/dist/magma-components/{p-926ef760.entry.js → p-06fde29d.entry.js} +1 -1
- package/dist/magma-components/{p-176e6d9d.system.entry.js → p-08370fc2.system.entry.js} +1 -1
- package/dist/magma-components/{p-e032e77f.system.entry.js → p-083dceb8.system.entry.js} +1 -1
- package/dist/magma-components/{p-a136e6fe.system.entry.js → p-09a7b578.system.entry.js} +1 -1
- package/dist/magma-components/{p-e6ed6e12.entry.js → p-09f621ea.entry.js} +1 -1
- package/dist/magma-components/p-0a8e8525.entry.js +1 -0
- package/dist/magma-components/p-0b3e4a97.system.entry.js +39 -0
- package/dist/magma-components/p-0d32e196.system.entry.js +81 -0
- package/dist/magma-components/{p-0f47fd37.system.entry.js → p-0e887379.system.entry.js} +2 -2
- package/dist/magma-components/p-0eb3558a.entry.js +1 -0
- package/dist/magma-components/p-104ba54e.system.entry.js +13 -0
- package/dist/magma-components/{p-8d8c9c90.entry.js → p-15ffdcf6.entry.js} +1 -1
- package/dist/magma-components/{p-3ac09ace.entry.js → p-1908f808.entry.js} +1 -1
- package/dist/magma-components/{p-c4286fb7.system.entry.js → p-1d2220f0.system.entry.js} +1 -1
- package/dist/magma-components/{p-eebf450c.system.entry.js → p-1e18fcc5.system.entry.js} +2 -2
- package/dist/magma-components/{p-36ad5759.system.entry.js → p-1eee93c8.system.entry.js} +1 -1
- package/dist/magma-components/p-1f623b75.entry.js +1 -0
- package/dist/magma-components/{p-a1443292.entry.js → p-1faa4f71.entry.js} +1 -1
- package/dist/magma-components/{p-af704402.system.entry.js → p-21547758.system.entry.js} +1 -1
- package/dist/magma-components/{p-0dd4b006.entry.js → p-221c2f0d.entry.js} +1 -1
- package/dist/magma-components/{p-0727d8f9.entry.js → p-23722401.entry.js} +1 -1
- package/dist/magma-components/p-23c057a9.entry.js +1 -0
- package/dist/magma-components/p-23fabd66.system.entry.js +1 -0
- package/dist/magma-components/{p-a40443ca.system.entry.js → p-2431fbfa.system.entry.js} +1 -1
- package/dist/magma-components/{p-3fb98529.system.entry.js → p-244676d3.system.entry.js} +1 -1
- package/dist/magma-components/{p-cc0cb701.entry.js → p-254ee71d.entry.js} +1 -1
- package/dist/magma-components/{p-a2ec6eac.entry.js → p-25a6e977.entry.js} +1 -1
- package/dist/magma-components/p-26451eb6.entry.js +1 -0
- package/dist/magma-components/p-26b9f2b7.system.entry.js +80 -0
- package/dist/magma-components/{p-2362b91a.entry.js → p-278c362d.entry.js} +1 -1
- package/dist/magma-components/{p-3725c2c1.entry.js → p-287601bb.entry.js} +1 -1
- package/dist/magma-components/{p-b62bbd07.entry.js → p-29162c98.entry.js} +1 -1
- package/dist/magma-components/{p-166c0190.entry.js → p-29450db3.entry.js} +1 -1
- package/dist/magma-components/{p-916a26e4.entry.js → p-295d8fab.entry.js} +1 -1
- package/dist/magma-components/p-29ab84bf.system.entry.js +41 -0
- package/dist/magma-components/p-2a964578.entry.js +1 -0
- package/dist/magma-components/{p-a7bad4e8.entry.js → p-2aac4003.entry.js} +1 -1
- package/dist/magma-components/p-2c845743.system.entry.js +1 -0
- package/dist/magma-components/{p-be32b7a9.system.entry.js → p-2cbd532a.system.entry.js} +1 -1
- package/dist/magma-components/{p-e471decd.system.entry.js → p-2cdf450c.system.entry.js} +1 -1
- package/dist/magma-components/{p-3ba5ddae.entry.js → p-2d3b5eb5.entry.js} +1 -1
- package/dist/magma-components/{p-5219eba6.system.entry.js → p-2e48f88d.system.entry.js} +2 -2
- package/dist/magma-components/{p-8f5f2dfe.system.entry.js → p-2eb4efcd.system.entry.js} +2 -2
- package/dist/magma-components/{p-c89c2e30.entry.js → p-30be5c39.entry.js} +1 -1
- package/dist/magma-components/{p-62e65f3b.entry.js → p-335244bb.entry.js} +1 -1
- package/dist/magma-components/{p-e49818c4.entry.js → p-336f56a4.entry.js} +1 -1
- package/dist/magma-components/p-34c2daa9.system.entry.js +25 -0
- package/dist/magma-components/p-357724ab.entry.js +1 -0
- package/dist/magma-components/{p-911dc847.entry.js → p-358aa5e7.entry.js} +1 -1
- package/dist/magma-components/p-377d0661.entry.js +1 -0
- package/dist/magma-components/{p-23bf1afa.system.entry.js → p-396d95a1.system.entry.js} +2 -2
- package/dist/magma-components/{p-e5ab1f4f.entry.js → p-3abaa053.entry.js} +1 -1
- package/dist/magma-components/{p-0c9bdfff.system.entry.js → p-3beea731.system.entry.js} +1 -1
- package/dist/magma-components/{p-a61623f9.system.entry.js → p-3d162e99.system.entry.js} +2 -2
- package/dist/magma-components/p-3d95e688.system.entry.js +111 -0
- package/dist/magma-components/{p-721b625a.system.entry.js → p-3dc81ab9.system.entry.js} +9 -9
- package/dist/magma-components/{p-6bc4114c.system.entry.js → p-3df07021.system.entry.js} +1 -1
- package/dist/magma-components/p-3fb46ab9.system.entry.js +1 -0
- package/dist/magma-components/{p-4a051ef5.system.entry.js → p-3fd8ff0e.system.entry.js} +2 -2
- package/dist/magma-components/{p-f43379ef.entry.js → p-41a0f896.entry.js} +1 -1
- package/dist/magma-components/{p-4d079b1a.system.entry.js → p-41a28f2a.system.entry.js} +3 -3
- package/dist/magma-components/p-42e50f25.system.entry.js +55 -0
- package/dist/magma-components/{p-95328cc7.system.entry.js → p-458eb34c.system.entry.js} +2 -2
- package/dist/magma-components/p-464e6431.entry.js +1 -0
- package/dist/magma-components/p-471227f2.system.entry.js +27 -0
- package/dist/magma-components/{p-8e08ae08.system.entry.js → p-47717251.system.entry.js} +3 -3
- package/dist/magma-components/p-4776ac1f.entry.js +1 -0
- package/dist/magma-components/{p-b919ce62.entry.js → p-4792ff7f.entry.js} +1 -1
- package/dist/magma-components/p-481897a7.entry.js +1 -0
- package/dist/magma-components/{p-72cc4977.system.entry.js → p-4bc3335f.system.entry.js} +1 -1
- package/dist/magma-components/{p-b58363e2.system.entry.js → p-4bc47ff0.system.entry.js} +2 -2
- package/dist/magma-components/{p-648ec03b.system.entry.js → p-4c6da1db.system.entry.js} +5 -5
- package/dist/magma-components/{p-5b21eb78.entry.js → p-4cabfdbc.entry.js} +1 -1
- package/dist/magma-components/{p-f30cdd34.system.entry.js → p-4d485e1f.system.entry.js} +1 -1
- package/dist/magma-components/{p-da532544.system.entry.js → p-52d905fe.system.entry.js} +1 -1
- package/dist/magma-components/{p-23ce0824.entry.js → p-5435f2a9.entry.js} +1 -1
- package/dist/magma-components/{p-29d4605e.system.entry.js → p-5533b60d.system.entry.js} +4 -4
- package/dist/magma-components/p-55746791.entry.js +1 -0
- package/dist/magma-components/{p-37b801d0.system.entry.js → p-577ae081.system.entry.js} +2 -2
- package/dist/magma-components/{p-52d5d104.system.entry.js → p-57839384.system.entry.js} +2 -2
- package/dist/magma-components/p-5c4e41d3.system.entry.js +54 -0
- package/dist/magma-components/p-5cfa0dce.entry.js +1 -0
- package/dist/magma-components/{p-9bdca8b4.entry.js → p-5da14e81.entry.js} +1 -1
- package/dist/magma-components/{p-f7af41fb.system.entry.js → p-5ef0fb69.system.entry.js} +2 -2
- package/dist/magma-components/{p-a4f46de1.system.entry.js → p-5f8db04c.system.entry.js} +2 -2
- package/dist/magma-components/p-617370e7.system.entry.js +98 -0
- package/dist/magma-components/{p-0bcf3bb6.entry.js → p-62fc9695.entry.js} +1 -1
- package/dist/magma-components/{p-d9551916.system.entry.js → p-632ad925.system.entry.js} +22 -22
- package/dist/magma-components/{p-4ea00c22.entry.js → p-63b10a6e.entry.js} +1 -1
- package/dist/magma-components/{p-b40ef7ab.system.entry.js → p-642925b7.system.entry.js} +2 -2
- package/dist/magma-components/{p-32bfb09c.entry.js → p-6436178a.entry.js} +1 -1
- package/dist/magma-components/p-644e64a0.entry.js +1 -0
- package/dist/magma-components/p-6560b426.system.entry.js +4 -0
- package/dist/magma-components/p-656b00df.system.entry.js +34 -0
- package/dist/magma-components/{p-f88c202e.entry.js → p-67eb3881.entry.js} +1 -1
- package/dist/magma-components/p-69abd1d1.entry.js +1 -0
- package/dist/magma-components/{p-5ea3be82.system.entry.js → p-6a2d67d1.system.entry.js} +2 -2
- package/dist/magma-components/p-6e32bf99.entry.js +1 -0
- package/dist/magma-components/{p-7497b39d.system.entry.js → p-6f81c9ef.system.entry.js} +2 -2
- package/dist/magma-components/p-70d38284.entry.js +1 -0
- package/dist/magma-components/{p-1f5cd2b5.entry.js → p-71cbc840.entry.js} +1 -1
- package/dist/magma-components/{p-4582aa3e.system.entry.js → p-729c89f9.system.entry.js} +1 -1
- package/dist/magma-components/p-72ad419d.system.entry.js +10 -0
- package/dist/magma-components/p-73833405.entry.js +18 -0
- package/dist/magma-components/{p-aa8653b1.system.entry.js → p-74f515c3.system.entry.js} +2 -2
- package/dist/magma-components/{p-f3763382.entry.js → p-762a6b7b.entry.js} +1 -1
- package/dist/magma-components/p-772c18f4.entry.js +1 -0
- package/dist/magma-components/p-77939a25.system.entry.js +20 -0
- package/dist/magma-components/{p-88ac5d50.entry.js → p-791a6a6f.entry.js} +1 -1
- package/dist/magma-components/{p-11feeebf.system.entry.js → p-7961c335.system.entry.js} +1 -1
- package/dist/magma-components/{p-3871807a.entry.js → p-7bf46d43.entry.js} +1 -1
- package/dist/magma-components/p-7c217aa5.entry.js +1 -0
- package/dist/magma-components/{p-2abfc393.entry.js → p-7ec1ea2e.entry.js} +1 -1
- package/dist/magma-components/{p-db75bf05.system.entry.js → p-7fde3025.system.entry.js} +3 -3
- package/dist/magma-components/{p-38a9e862.entry.js → p-808b9277.entry.js} +1 -1
- package/dist/magma-components/{p-11e50140.system.entry.js → p-80eea067.system.entry.js} +2 -2
- package/dist/magma-components/p-8173ed07.entry.js +8 -0
- package/dist/magma-components/{p-8059aa67.system.entry.js → p-81e02997.system.entry.js} +3 -3
- package/dist/magma-components/{p-47f7366c.entry.js → p-8258733b.entry.js} +1 -1
- package/dist/magma-components/{p-f5a08dca.system.entry.js → p-8279056b.system.entry.js} +2 -2
- package/dist/magma-components/{p-d8d87750.system.entry.js → p-835d79e5.system.entry.js} +1 -1
- package/dist/magma-components/{p-288f3cfe.entry.js → p-837d31b8.entry.js} +1 -1
- package/dist/magma-components/{p-342770d2.system.entry.js → p-84777b38.system.entry.js} +2 -2
- package/dist/magma-components/{p-88be542e.system.entry.js → p-84ed22ea.system.entry.js} +2 -2
- package/dist/magma-components/{p-dfbecf72.system.entry.js → p-860bce85.system.entry.js} +3 -3
- package/dist/magma-components/p-8645533a.entry.js +1 -0
- package/dist/magma-components/{p-7d548a19.entry.js → p-8680f63e.entry.js} +1 -1
- package/dist/magma-components/{p-f9b5a5ec.entry.js → p-86cf87fb.entry.js} +1 -1
- package/dist/magma-components/{p-007968a8.system.entry.js → p-8740403e.system.entry.js} +3 -3
- package/dist/magma-components/p-87ce9d6c.entry.js +1 -0
- package/dist/magma-components/{p-20469b7a.system.entry.js → p-880f3eac.system.entry.js} +1 -1
- package/dist/magma-components/{p-fcaa81b3.entry.js → p-89d4b6e9.entry.js} +1 -1
- package/dist/magma-components/{p-5d9b1fe5.entry.js → p-8a76097f.entry.js} +1 -1
- package/dist/magma-components/{p-e8b9d639.entry.js → p-8a9544aa.entry.js} +1 -1
- package/dist/magma-components/{p-1fe66383.system.entry.js → p-8ab9ff37.system.entry.js} +1 -1
- package/dist/magma-components/p-8d6470fb.system.entry.js +13 -0
- package/dist/magma-components/p-8f63f1a1.system.entry.js +35 -0
- package/dist/magma-components/{p-3093af30.system.entry.js → p-8f7daab1.system.entry.js} +1 -1
- package/dist/magma-components/{p-cc109576.entry.js → p-919f9dce.entry.js} +1 -1
- package/dist/magma-components/p-9250ec26.system.entry.js +7 -0
- package/dist/magma-components/{p-547f657e.system.entry.js → p-94289f3d.system.entry.js} +5 -5
- package/dist/magma-components/{p-b514bd3a.system.entry.js → p-95478664.system.entry.js} +1 -1
- package/dist/magma-components/p-96bb36b9.entry.js +1 -0
- package/dist/magma-components/{p-ecb87d38.entry.js → p-9745dc51.entry.js} +1 -1
- package/dist/magma-components/p-984dd850.entry.js +1 -0
- package/dist/magma-components/{p-8b081ba9.entry.js → p-9855b517.entry.js} +1 -1
- package/dist/magma-components/{p-2f3c6105.entry.js → p-9a3ddc91.entry.js} +1 -1
- package/dist/magma-components/{p-9e7d02e5.entry.js → p-9f8ce68f.entry.js} +1 -1
- package/dist/magma-components/p-9fc385aa.entry.js +1 -0
- package/dist/magma-components/p-B-nayZ3E.system.js +1 -0
- package/dist/magma-components/p-B8zYiZQY.system.js +5 -0
- package/dist/magma-components/{p-CmzGV0XD.system.js → p-BZP13mns.system.js} +1 -1
- package/dist/magma-components/p-BoDvZoCN.system.js +18 -0
- package/dist/magma-components/p-Bz1eiKqd.js +1 -0
- package/dist/{components/p-Dleapw-k.js → magma-components/p-CLhuNxYQ.js} +1 -1
- package/dist/magma-components/p-CWk1SCJg.js +1 -0
- package/dist/magma-components/{p-5vJawLPw.system.js → p-CZuIEo2v.system.js} +1 -1
- package/dist/magma-components/{p-CPRkNQdE.js → p-CvLLN-QH.js} +1 -1
- package/dist/magma-components/{p-LUd56iG_.system.js → p-DXAjcaHM.system.js} +1 -1
- package/dist/magma-components/{p-C1ailvfu.system.js → p-OOCOFWC0.system.js} +18 -18
- package/dist/{components/p-B9dgiq4u.js → magma-components/p-Raj-urIN.js} +1 -1
- package/dist/magma-components/{p-zQY2FlcD.js → p-U5iXN1wy.js} +1 -1
- package/dist/magma-components/p-VOjLCGlK.system.js +90 -0
- package/dist/magma-components/p-a70fb4fb.system.entry.js +105 -0
- package/dist/magma-components/{p-1809e47d.system.entry.js → p-a76a9f92.system.entry.js} +153 -133
- package/dist/magma-components/p-a7c01334.entry.js +1 -0
- package/dist/magma-components/p-a8e1ce2f.entry.js +1 -0
- package/dist/magma-components/{p-d0c0c195.entry.js → p-a9ba496d.entry.js} +1 -1
- package/dist/magma-components/{p-ef4d07ba.entry.js → p-ab00b7b9.entry.js} +1 -1
- package/dist/magma-components/p-ab4b617d.entry.js +1 -0
- package/dist/magma-components/p-ae3bf24c.system.entry.js +12 -0
- package/dist/magma-components/{p-495a70e2.entry.js → p-b23bee0c.entry.js} +1 -1
- package/dist/magma-components/p-b476435f.entry.js +1 -0
- package/dist/magma-components/p-b5789a7c.entry.js +1 -0
- package/dist/magma-components/{p-bc30508b.entry.js → p-b738d3c1.entry.js} +1 -1
- package/dist/magma-components/{p-ff4276d3.system.entry.js → p-bd97e368.system.entry.js} +1 -1
- package/dist/magma-components/p-bf0cb77d.system.entry.js +29 -0
- package/dist/magma-components/{p-6b2fff4b.system.entry.js → p-c3a3caae.system.entry.js} +1 -1
- package/dist/magma-components/{p-890bae38.system.entry.js → p-c3c487aa.system.entry.js} +1 -1
- package/dist/magma-components/{p-a47a9f11.system.entry.js → p-c50e20cf.system.entry.js} +1 -1
- package/dist/magma-components/p-c6819aad.entry.js +1 -0
- package/dist/magma-components/p-ca1969c5.entry.js +1 -0
- package/dist/magma-components/p-cbb80188.entry.js +1 -0
- package/dist/magma-components/{p-cc88c963.system.entry.js → p-cc9659e1.system.entry.js} +1 -1
- package/dist/magma-components/{p-da6cf595.system.entry.js → p-ccc40c6a.system.entry.js} +2 -2
- package/dist/magma-components/p-cf6f54e5.system.entry.js +9 -0
- package/dist/magma-components/p-d0a93a14.system.entry.js +22 -0
- package/dist/magma-components/{p-dbf69d54.system.entry.js → p-d0bfdb44.system.entry.js} +2 -2
- package/dist/magma-components/p-d37fe692.system.entry.js +10 -0
- package/dist/magma-components/{p-c1d8a25e.entry.js → p-d3d74616.entry.js} +1 -1
- package/dist/magma-components/{p-da9afc4b.system.entry.js → p-d48c40ab.system.entry.js} +2 -2
- package/dist/magma-components/{p-b728638c.system.entry.js → p-d561062f.system.entry.js} +4 -4
- package/dist/magma-components/p-d6b38d8a.entry.js +1 -0
- package/dist/magma-components/p-d8ae0f02.system.entry.js +15 -0
- package/dist/magma-components/{p-25576b51.system.entry.js → p-d92ccce5.system.entry.js} +2 -2
- package/dist/magma-components/{p-a2d10402.system.entry.js → p-d980c3d2.system.entry.js} +1 -1
- package/dist/magma-components/p-da24a265.entry.js +1 -0
- package/dist/magma-components/p-dbd34e3b.entry.js +1 -0
- package/dist/magma-components/{p-21fe0fef.system.entry.js → p-dc1a5826.system.entry.js} +1 -1
- package/dist/magma-components/p-e1383302.entry.js +1 -0
- package/dist/magma-components/{p-95486c6a.system.entry.js → p-e39518b4.system.entry.js} +2 -2
- package/dist/magma-components/{p-b509fb36.entry.js → p-e3a65644.entry.js} +1 -1
- package/dist/magma-components/{p-1a5411a8.entry.js → p-e5950aee.entry.js} +1 -1
- package/dist/magma-components/{p-3a88fc9b.system.entry.js → p-e5d41024.system.entry.js} +1 -1
- package/dist/magma-components/{p-14b40c21.entry.js → p-e5eb2390.entry.js} +1 -1
- package/dist/magma-components/{p-8ba250d6.system.entry.js → p-edf003f1.system.entry.js} +1 -1
- package/dist/magma-components/p-f1aafe07.entry.js +1 -0
- package/dist/magma-components/{p-69b37755.system.entry.js → p-f2f992c2.system.entry.js} +2 -2
- package/dist/magma-components/{p-1287fb51.entry.js → p-f35608b2.entry.js} +1 -1
- package/dist/magma-components/{p-b940888d.entry.js → p-f4d80d9a.entry.js} +1 -1
- package/dist/magma-components/{p-fd53a51c.entry.js → p-f588cf9e.entry.js} +1 -1
- package/dist/magma-components/{p-a53f6a94.system.entry.js → p-f66675f5.system.entry.js} +2 -2
- package/dist/magma-components/{p-4225484c.entry.js → p-f670ed20.entry.js} +1 -1
- package/dist/magma-components/{p-96f973e3.entry.js → p-f7147d05.entry.js} +1 -1
- package/dist/magma-components/{p-4f24ccf3.entry.js → p-f78c1699.entry.js} +1 -1
- package/dist/magma-components/{p-f48843b7.system.entry.js → p-f82c2b7e.system.entry.js} +1 -1
- package/dist/magma-components/{p-ce2ef293.system.entry.js → p-f889d413.system.entry.js} +7 -7
- package/dist/magma-components/{p-70a911e8.entry.js → p-fac6f123.entry.js} +1 -1
- package/dist/magma-components/{p-90fe332f.entry.js → p-fc2d1134.entry.js} +1 -1
- package/dist/magma-components/{p-C25F_FlB.js → p-iX3kcwYg.js} +1 -1
- package/dist/magma-components/{p-D8596ytD.system.js → p-mGgjNqBm.system.js} +6 -6
- package/dist/stats.json +3560 -2714
- package/dist/types/components/mds-emoji/mds-emoji.d.ts +2 -0
- package/dist/types/components/mds-entity/mds-entity.d.ts +1 -0
- package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +3 -3
- package/dist/types/components/mds-link/mds-link.d.ts +71 -0
- package/dist/types/components/mds-link/meta/dictionary.d.ts +3 -0
- package/dist/types/components/mds-link/meta/types.d.ts +3 -0
- package/dist/types/components.d.ts +103 -4
- package/package.json +11 -10
- package/dist/components/p-2gaGDQwL.js +0 -1
- package/dist/components/p-AFBkzOrP.js +0 -1
- package/dist/components/p-BN5kmfLJ.js +0 -8
- package/dist/components/p-BUr3NqxM.js +0 -1
- package/dist/components/p-BjFCjSw6.js +0 -1
- package/dist/components/p-CIWWmisz.js +0 -1
- package/dist/components/p-CJyTL7Mj.js +0 -1
- package/dist/components/p-CylHulxe.js +0 -1
- package/dist/components/p-D3_jgpKd.js +0 -1
- package/dist/components/p-D8eZRaSQ.js +0 -1
- package/dist/components/p-DGGk8PS_.js +0 -1
- package/dist/components/p-DYpfVn7a.js +0 -1
- package/dist/components/p-wHQGpA62.js +0 -1
- package/dist/esm-es5/unit-D8eZRaSQ.js +0 -1
- package/dist/magma-components/p-0b5fe949.entry.js +0 -1
- package/dist/magma-components/p-0b7a884e.system.entry.js +0 -29
- package/dist/magma-components/p-12a2f8e2.system.entry.js +0 -13
- package/dist/magma-components/p-1989c0b4.entry.js +0 -8
- package/dist/magma-components/p-20608f69.system.entry.js +0 -35
- package/dist/magma-components/p-2061e567.entry.js +0 -1
- package/dist/magma-components/p-21c2d7bd.entry.js +0 -1
- package/dist/magma-components/p-2294945a.system.entry.js +0 -34
- package/dist/magma-components/p-2aab3752.entry.js +0 -1
- package/dist/magma-components/p-2c4d2717.entry.js +0 -1
- package/dist/magma-components/p-2d7d9e4f.entry.js +0 -1
- package/dist/magma-components/p-3b36319a.entry.js +0 -1
- package/dist/magma-components/p-3e1b21bd.entry.js +0 -1
- package/dist/magma-components/p-3eaeb263.system.entry.js +0 -25
- package/dist/magma-components/p-4116e328.system.entry.js +0 -1
- package/dist/magma-components/p-4191bf22.entry.js +0 -1
- package/dist/magma-components/p-4260da67.system.entry.js +0 -12
- package/dist/magma-components/p-43338a07.entry.js +0 -1
- package/dist/magma-components/p-4c2dad1e.system.entry.js +0 -81
- package/dist/magma-components/p-505fb7d4.entry.js +0 -1
- package/dist/magma-components/p-51a869ee.entry.js +0 -1
- package/dist/magma-components/p-52a85b97.system.entry.js +0 -9
- package/dist/magma-components/p-53bcfdbb.entry.js +0 -1
- package/dist/magma-components/p-5439125d.system.entry.js +0 -10
- package/dist/magma-components/p-5a2deba5.entry.js +0 -1
- package/dist/magma-components/p-6b01ef3b.entry.js +0 -1
- package/dist/magma-components/p-6da68fd5.entry.js +0 -1
- package/dist/magma-components/p-6ebbcd7b.system.entry.js +0 -14
- package/dist/magma-components/p-70f5536c.system.entry.js +0 -15
- package/dist/magma-components/p-765ff9a3.system.entry.js +0 -98
- package/dist/magma-components/p-7a568cbf.entry.js +0 -1
- package/dist/magma-components/p-7f776dff.entry.js +0 -1
- package/dist/magma-components/p-811272a9.entry.js +0 -1
- package/dist/magma-components/p-87b15008.entry.js +0 -1
- package/dist/magma-components/p-8a4a2b5a.entry.js +0 -1
- package/dist/magma-components/p-93d8b236.system.entry.js +0 -10
- package/dist/magma-components/p-972ff8a9.entry.js +0 -18
- package/dist/magma-components/p-9a28bd8d.system.entry.js +0 -20
- package/dist/magma-components/p-9caf411a.system.entry.js +0 -13
- package/dist/magma-components/p-9e4e1a86.system.entry.js +0 -111
- package/dist/magma-components/p-BHS0WXNt.system.js +0 -107
- package/dist/magma-components/p-D8eZRaSQ.js +0 -1
- package/dist/magma-components/p-QYez4sql.system.js +0 -5
- package/dist/magma-components/p-_X0N_X__.system.js +0 -1
- package/dist/magma-components/p-a08d20c2.system.entry.js +0 -1
- package/dist/magma-components/p-a51f849a.entry.js +0 -1
- package/dist/magma-components/p-a6fe6b4c.system.entry.js +0 -1
- package/dist/magma-components/p-a8593847.entry.js +0 -1
- package/dist/magma-components/p-ac4109e3.entry.js +0 -1
- package/dist/magma-components/p-b36d54e1.system.entry.js +0 -41
- package/dist/magma-components/p-b48fc62e.entry.js +0 -1
- package/dist/magma-components/p-b6b7dc40.entry.js +0 -1
- package/dist/magma-components/p-b9e0b31d.entry.js +0 -1
- package/dist/magma-components/p-bba4c7eb.entry.js +0 -1
- package/dist/magma-components/p-be741e35.entry.js +0 -1
- package/dist/magma-components/p-c3622315.entry.js +0 -1
- package/dist/magma-components/p-c6db7a0f.system.entry.js +0 -22
- package/dist/magma-components/p-ca8e0927.system.entry.js +0 -7
- package/dist/magma-components/p-d0f257d9.system.entry.js +0 -80
- package/dist/magma-components/p-d3678561.system.entry.js +0 -35
- package/dist/magma-components/p-daf9c8ca.system.entry.js +0 -4
- package/dist/magma-components/p-dba5a6da.entry.js +0 -1
- package/dist/magma-components/p-dbb82d72.system.entry.js +0 -54
- package/dist/magma-components/p-dc3ef031.system.entry.js +0 -27
- package/dist/magma-components/p-dd8fb2f8.system.entry.js +0 -105
- package/dist/magma-components/p-e15a874b.entry.js +0 -1
- package/dist/magma-components/p-e954b5c5.entry.js +0 -1
- package/dist/magma-components/p-eba7cfb3.entry.js +0 -1
- package/dist/magma-components/p-f28e048b.system.entry.js +0 -55
- package/dist/magma-components/p-f454c06b.entry.js +0 -1
- package/dist/magma-components/p-f7f6881a.entry.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-10-
|
|
2
|
+
"timestamp": "2026-10-21T16:53:07",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.45.2",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
}
|
|
35
35
|
],
|
|
36
36
|
"usage": {
|
|
37
|
-
"1. Description": "The `<mds-card>` web component is the surface container of the Magma Design System: a styled, self-contained panel that groups related media, heading, body and action content into a single bounded region. It is a pure layout shell built on named slots and compound children rather than a replacement for any single HTML primitive.\n\n#### Semantic Behavior\n\n- **Layout is inferred, not declared**: The card detects which of the `media` / `header` / `content` / `footer` regions are present, again whenever its content changes, and reshapes itself to whatever content you provide.\n- **Compound parent/child relationship**: `<mds-card-media>`, `<mds-card-header>`, `<mds-card-content>` and `<mds-card-footer>` are recognized by tag name and mapped onto the corresponding region, so they slot in without an explicit `slot` attribute. Plain elements given the matching `slot` value land in that region and take part in the managed grid the same way.\n- **Responsive by width**: The card's internal layout switches between stacked and media-beside-content arrangements based on the card's own width, independent of viewport or theme.\n- **Slot regions are fixed**: Only the four named regions are rendered; there is no default (unnamed) slot, so loose text or elements without a recognized slot/tag are not laid out.\n\n#### Properties & Visual Configurations\n\n`<mds-card>` does not use the shared `variant` / `tone` ladders defined in [`agents/variants.md`](../../../../agents/variants.md); it exposes a single behavioral prop.\n\n- **`disableAutoGrid`** (default `false`) toggles the intrinsic responsive grid. Leave it off to let the card own the placement and reflow of its regions; set it to opt out of the managed grid and lay the slotted content out yourself.\n\nSpacing is tuned through the `--mds-card-gap` and `--mds-card-padding` CSS custom properties rather than props, the background of the card and of its regions through `--mds-card-background`.\n",
|
|
37
|
+
"1. Description": "The `<mds-card>` web component is the surface container of the Magma Design System: a styled, self-contained panel that groups related media, heading, body and action content into a single bounded region. It is a pure layout shell built on named slots and compound children rather than a replacement for any single HTML primitive.\n\n#### Semantic Behavior\n\n- **Layout is inferred, not declared**: The card detects which of the `media` / `header` / `content` / `footer` regions are present, again whenever its content changes, and reshapes itself to whatever content you provide.\n- **Compound parent/child relationship**: `<mds-card-media>`, `<mds-card-header>`, `<mds-card-content>` and `<mds-card-footer>` are recognized by tag name and mapped onto the corresponding region, so they slot in without an explicit `slot` attribute. Plain elements given the matching `slot` value land in that region and take part in the managed grid the same way.\n- **Responsive by width**: The card's internal layout switches between stacked and media-beside-content arrangements based on the card's own width, independent of viewport or theme.\n- **The footer closes the card**: The footer region sits at the bottom of the card whatever the other regions are. When the card is taller than its parts (a media taller than header and footer together, or a grid row that stretches a set of cards to one height) and there is no content to take the free space, that space stays above the footer, in the card's background.\n- **Slot regions are fixed**: Only the four named regions are rendered; there is no default (unnamed) slot, so loose text or elements without a recognized slot/tag are not laid out.\n\n#### Properties & Visual Configurations\n\n`<mds-card>` does not use the shared `variant` / `tone` ladders defined in [`agents/variants.md`](../../../../agents/variants.md); it exposes a single behavioral prop.\n\n- **`disableAutoGrid`** (default `false`) toggles the intrinsic responsive grid. Leave it off to let the card own the placement and reflow of its regions; set it to opt out of the managed grid and lay the slotted content out yourself.\n\nSpacing is tuned through the `--mds-card-gap` and `--mds-card-padding` CSS custom properties rather than props, the background of the card and of its regions through `--mds-card-background`.\n",
|
|
38
38
|
"2. Pattern": "Correct and idiomatic ways to use the `<mds-card>` component, ordered from most common to most specialized. Patterns assume a working knowledge of the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).\n\n#### Full Card with All Four Regions\n\nThe most common form. Use `<mds-card-header>`, `<mds-card-media>`, `<mds-card-content>`, and `<mds-card-footer>` as direct children. Each compound child self-assigns to its slot - no explicit `slot` attribute needed.\n\n```html\n<mds-card>\n <mds-card-header>\n <mds-text typography=\"h6\">Titolo della scheda</mds-text>\n </mds-card-header>\n <mds-card-media>\n <mds-img src=\"/immagini/copertina.jpg\" class=\"object-cover\"></mds-img>\n </mds-card-media>\n <mds-card-content>\n <mds-text>\n Descrizione dettagliata del contenuto della scheda.\n </mds-text>\n </mds-card-content>\n <mds-card-footer>\n <mds-button variant=\"dark\" tone=\"text\" label=\"Annulla\"></mds-button>\n <mds-button variant=\"primary\" tone=\"strong\" label=\"Conferma\"></mds-button>\n </mds-card-footer>\n</mds-card>\n```\n\n#### Header + Content (No Media)\n\nOmit the regions you do not need - the card detects which regions are present and adapts its grid layout accordingly. A header-and-content-only card stays single-column.\n\n```html\n<mds-card>\n <mds-card-header>\n <mds-text typography=\"h6\">Riepilogo ordine</mds-text>\n </mds-card-header>\n <mds-card-content>\n <mds-text>\n Il tuo ordine e' stato elaborato correttamente.\n </mds-text>\n </mds-card-content>\n</mds-card>\n```\n\n#### Media + Content + Footer (No Header)\n\nOmitting the header region shifts media to the top and content immediately below. Useful for image-led catalog cards.\n\n```html\n<mds-card>\n <mds-card-media>\n <mds-img src=\"/immagini/prodotto.jpg\" class=\"object-cover\"></mds-img>\n </mds-card-media>\n <mds-card-content>\n <mds-text>Descrizione prodotto disponibile nella gamma autunnale.</mds-text>\n </mds-card-content>\n <mds-card-footer>\n <mds-button variant=\"primary\" label=\"Aggiungi al carrello\"></mds-button>\n </mds-card-footer>\n</mds-card>\n```\n\n#### Header with Action Button via `mds-card-header`\n\n`<mds-card-header>` has a dedicated `action` slot for icon buttons placed in the trailing position. Use it instead of laying out the button manually.\n\n```html\n<mds-card>\n <mds-card-header>\n <mds-text typography=\"h6\">Profilo utente</mds-text>\n <mds-button\n slot=\"action\"\n icon=\"mi/round/more-vert\"\n aria-label=\"Altre azioni\"\n variant=\"dark\"\n tone=\"text\"\n ></mds-button>\n </mds-card-header>\n <mds-card-content>\n <mds-text>Mario Rossi - Amministratore di sistema</mds-text>\n </mds-card-content>\n</mds-card>\n```\n\n#### Media with Overlay Content via `mds-card-media`\n\n`<mds-card-media>` exposes a `content` slot that renders in front of the media element. Use it for captions, badges, or status chips overlaid on an image.\n\n```html\n<mds-card>\n <mds-card-media>\n <mds-img src=\"/immagini/evento.jpg\" class=\"object-cover\"></mds-img>\n <mds-badge slot=\"content\" variant=\"info\" tone=\"strong\">In corso</mds-badge>\n </mds-card-media>\n <mds-card-content>\n <mds-text typography=\"h6\">Conferenza annuale 2025</mds-text>\n </mds-card-content>\n</mds-card>\n```\n\n#### Using Raw Slot Attributes Instead of Compound Children\n\nWhen the compound children (`mds-card-*`) do not fit the use case, assign the `slot` attribute directly on any element, with the same four values: `media`, `header`, `content`, and `footer`. The card reads the regions from the `slot` values, so plain elements get the same managed grid as the compound children.\n\n```html\n<mds-card>\n <div slot=\"header\" class=\"flex items-center gap-400 px-400 py-400\">\n <mds-avatar initials=\"LB\"></mds-avatar>\n <mds-text typography=\"h6\">Luca Bianchi</mds-text>\n </div>\n <mds-img slot=\"media\" src=\"/immagini/lavoro.jpg\" class=\"object-cover\"></mds-img>\n <mds-text slot=\"content\" class=\"px-400\">\n Responsabile del progetto infrastrutture.\n </mds-text>\n</mds-card>\n```\n\n#### Disabling the Auto-Grid\n\nSet `disable-auto-grid` to opt out of the managed responsive grid. The regions stack in slot order (media, header, content, footer), whatever their order in the markup, and you own all layout decisions.\n\n```html\n<mds-card disable-auto-grid>\n <mds-card-header>\n <mds-text typography=\"h6\">Layout personalizzato</mds-text>\n </mds-card-header>\n <mds-card-content>\n <mds-text>Il contenuto e' disposto senza griglia automatica.</mds-text>\n </mds-card-content>\n</mds-card>\n```\n\n#### Styling Customization via CSS Custom Properties\n\nSet `--mds-card-gap` and `--mds-card-padding` on the host or a parent selector. Use Magma spacing tokens so the values remain consistent across themes. `--mds-card-background` recolors the card and its regions together; name a surface role so dark mode keeps working.\n\n```css\n.scheda-articolo mds-card {\n --mds-card-gap: calc(var(--spacing) * 200);\n --mds-card-padding: calc(var(--spacing) * 400);\n --mds-card-background: rgb(var(--magma-surface-overlay));\n}\n```\n\n#### Customizing the Layout Part\n\nThe inner grid element is exposed as `::part(layout)`. Use it only for layout-level overrides that the CSS custom properties cannot cover, such as overriding the `border-radius` of the inner container.\n\n```css\n.scheda-highlight mds-card::part(layout) {\n border-radius: var(--magma-radius-xl);\n}\n```\n",
|
|
39
39
|
"3. Antipattern": "Common incorrect uses of `<mds-card>`. 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/anti-patterns.md`](../../../../agents/anti-patterns.md) - they apply here too but are not repeated.\n\n#### Do Not Put Content Outside the Four Named Slots\n\n`<mds-card>` has no default (unnamed) slot. Loose text or elements placed without a recognized `slot` attribute - or without using an `mds-card-*` compound child - are silently ignored and never rendered.\n\n```html\n<!-- INCORRECT -->\n<mds-card>\n <p>Questo testo non verra' mai visualizzato.</p>\n <mds-button label=\"Azione\"></mds-button>\n</mds-card>\n\n<!-- CORRECT -->\n<mds-card>\n <mds-card-content>\n <mds-text>Questo testo e' correttamente posizionato nel content slot.</mds-text>\n </mds-card-content>\n <mds-card-footer>\n <mds-button label=\"Azione\" variant=\"primary\"></mds-button>\n </mds-card-footer>\n</mds-card>\n```\n\n#### Do Not Use `mds-card-*` Children Outside `<mds-card>`\n\nCompound children (`mds-card-header`, `mds-card-media`, `mds-card-content`, `mds-card-footer`) rely on `<mds-card>` for layout context. Used standalone they render without the managed grid and without the card's visual chrome.\n\n```html\n<!-- INCORRECT -->\n<div class=\"mia-sezione\">\n <mds-card-header>\n <mds-text typography=\"h6\">Titolo standalone</mds-text>\n </mds-card-header>\n</div>\n\n<!-- CORRECT -->\n<mds-card>\n <mds-card-header>\n <mds-text typography=\"h6\">Titolo nella scheda</mds-text>\n </mds-card-header>\n</mds-card>\n```\n\n#### Do Not Pierce the Shadow DOM with Undocumented Selectors\n\nThe only supported customization surface is `--mds-card-background`, `--mds-card-gap`, `--mds-card-padding`, and `::part(layout)`. Targeting internal class names with `>>>`, `/deep/`, or any selector that reaches inside the shadow root couples your code to implementation details and will break on minor releases.\n\n```css\n/* INCORRECT */\nmds-card >>> .layout {\n padding: 16px;\n}\nmds-card .layout--cfhm {\n grid-template-columns: 1fr 1fr;\n}\n\n/* CORRECT */\nmds-card {\n --mds-card-padding: calc(var(--spacing) * 400);\n}\nmds-card::part(layout) {\n border-radius: var(--magma-radius-xl);\n}\n```\n\n#### Do Not Assign an Explicit `slot` Attribute to `mds-card-*` Children\n\n`mds-card-header`, `mds-card-media`, `mds-card-content`, and `mds-card-footer` already set their own `slot` attribute on the host element from inside the component. Adding it again from the outside is redundant and may conflict with internal wiring.\n\n```html\n<!-- INCORRECT -->\n<mds-card>\n <mds-card-header slot=\"header\">...</mds-card-header>\n <mds-card-content slot=\"content\">...</mds-card-content>\n</mds-card>\n\n<!-- CORRECT -->\n<mds-card>\n <mds-card-header>...</mds-card-header>\n <mds-card-content>...</mds-card-content>\n</mds-card>\n```\n\n#### Do Not Put Media Elements Directly in the `header` Slot\n\nThe `header` slot is intended for title and action controls. Placing an `<mds-img>` or `<img>` directly there bypasses the media region's responsive two-column behavior. Use the `media` slot (or `<mds-card-media>`) for images and videos.\n\n```html\n<!-- INCORRECT -->\n<mds-card>\n <mds-card-header>\n <mds-img src=\"/immagini/banner.jpg\"></mds-img>\n </mds-card-header>\n</mds-card>\n\n<!-- CORRECT -->\n<mds-card>\n <mds-card-media>\n <mds-img src=\"/immagini/banner.jpg\" class=\"object-cover\"></mds-img>\n </mds-card-media>\n <mds-card-header>\n <mds-text typography=\"h6\">Titolo della scheda</mds-text>\n </mds-card-header>\n</mds-card>\n```\n\n#### Do Not Override Card Dimensions with Inline Styles\n\n`<mds-card>` manages its own min-height and responsive grid. A fixed `height` clips the regions (the card hides its overflow), and a fixed `width` pins the container-query layout instead of letting it follow the space its container gives.\n\n```html\n<!-- INCORRECT -->\n<mds-card style=\"width: 300px; height: 200px;\">\n ...\n</mds-card>\n\n<!-- CORRECT: size the card from a parent container or CSS custom properties -->\n<div class=\"w-[300px]\">\n <mds-card>\n ...\n </mds-card>\n</div>\n```\n"
|
|
40
40
|
},
|
|
@@ -47,7 +47,11 @@ mds-card-media {
|
|
|
47
47
|
grid-area: content;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
+
/* at the end of its area: without a content some layouts give the footer the row that
|
|
51
|
+
stretches, and its actions rose under the header (#1040) */
|
|
52
|
+
|
|
50
53
|
.layout:not(.layout--disabled) ::slotted([slot='footer']) {
|
|
54
|
+
align-self: end;
|
|
51
55
|
grid-area: footer;
|
|
52
56
|
}
|
|
53
57
|
|
|
@@ -195,7 +199,7 @@ mds-card-media {
|
|
|
195
199
|
'media header'
|
|
196
200
|
'media content'
|
|
197
201
|
'media footer';
|
|
198
|
-
grid-template-columns: minmax(
|
|
202
|
+
grid-template-columns: minmax(--spacing(6000), 1fr) 2fr;
|
|
199
203
|
grid-template-rows:
|
|
200
204
|
min-content
|
|
201
205
|
1fr
|
|
@@ -207,7 +211,7 @@ mds-card-media {
|
|
|
207
211
|
'media header'
|
|
208
212
|
'media content'
|
|
209
213
|
'media content';
|
|
210
|
-
grid-template-columns: minmax(
|
|
214
|
+
grid-template-columns: minmax(--spacing(6000), 1fr) 2fr;
|
|
211
215
|
grid-template-rows:
|
|
212
216
|
min-content
|
|
213
217
|
1fr
|
|
@@ -218,7 +222,7 @@ mds-card-media {
|
|
|
218
222
|
grid-template-areas:
|
|
219
223
|
'media header'
|
|
220
224
|
'media footer';
|
|
221
|
-
grid-template-columns: minmax(
|
|
225
|
+
grid-template-columns: minmax(--spacing(6000), 1fr) 2fr;
|
|
222
226
|
grid-template-rows:
|
|
223
227
|
min-content
|
|
224
228
|
1fr;
|
|
@@ -228,7 +232,7 @@ mds-card-media {
|
|
|
228
232
|
grid-template-areas:
|
|
229
233
|
'media content'
|
|
230
234
|
'media footer';
|
|
231
|
-
grid-template-columns: minmax(
|
|
235
|
+
grid-template-columns: minmax(--spacing(6000), 1fr) 2fr;
|
|
232
236
|
grid-template-rows:
|
|
233
237
|
1fr
|
|
234
238
|
min-content;
|
|
@@ -236,7 +240,7 @@ mds-card-media {
|
|
|
236
240
|
|
|
237
241
|
.layout--cm:not(.layout--disabled) {
|
|
238
242
|
grid-template-areas: 'media content';
|
|
239
|
-
grid-template-columns: minmax(
|
|
243
|
+
grid-template-columns: minmax(--spacing(6000), 1fr) 2fr;
|
|
240
244
|
grid-template-rows:
|
|
241
245
|
1fr
|
|
242
246
|
min-content;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-card-content
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.5.0. Shadow DOM: style it only through the CSS custom properties and parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-card-content>` web component is the body region of a [`<mds-card>`](../mds-card/AGENTS.md), grouping the primary textual or component content of a card. It is a thin layout wrapper with no HTML primitive equivalent: it exposes a single default slot and assigns itself to the parent card's `content` region automatically.
|
|
12
12
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-card-footer
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.5.0. Shadow DOM: style it only through the CSS custom properties and parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-card-footer>` web component is the footer region of a [`<mds-card>`](../mds-card/AGENTS.md), grouping the trailing content of a card (typically actions such as buttons or supplementary metadata) into the card's bottom region.
|
|
12
12
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-card-header
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.5.0. Shadow DOM: style it only through the CSS custom properties and parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-card-header>` web component is the header region of a [`<mds-card>`](../mds-card/AGENTS.md), grouping the card's title, supporting text, and optional inline actions. It carries no styling of its own beyond layout: its job is to occupy the parent card's `header` region and arrange its content alongside any action controls.
|
|
12
12
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-card-media
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.5.0. Shadow DOM: style it only through the CSS custom properties and parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-card-media>` web component is the media region of a [`<mds-card>`](../mds-card/AGENTS.md): it wraps an image, video or other visual asset and provides an optional overlay layer for text or controls rendered on top of that asset. It is a layout child with no HTML primitive equivalent - it exists purely to occupy and style the card's `media` region.
|
|
12
12
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-chip
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.5.0. Shadow DOM: style it only through the CSS custom properties and parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-chip>` web component is the Magma Design System's compact element for representing a discrete piece of information, a filter, a selection, or a removable token. It renders a label with optional leading icon and an optional delete affordance, and can be made interactive (clickable or selectable) to act as a lightweight button-like control rather than a static tag.
|
|
12
12
|
|
|
@@ -58,7 +58,7 @@ mds-text {
|
|
|
58
58
|
align-items: center;
|
|
59
59
|
align-self: self-start;
|
|
60
60
|
background-color: var(--mds-chip-background, rgb(var(--magma-surface-overlay, var(--surface-neutral-overlay, 255 255 255))));
|
|
61
|
-
border:
|
|
61
|
+
border: --spacing(50) solid var(--mds-chip-border, transparent);
|
|
62
62
|
border-radius: var(--magma-radius-full, var(--radius-full, 1000px));
|
|
63
63
|
box-shadow: var(--mds-chip-shadow);
|
|
64
64
|
box-sizing: border-box;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-details
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.5.0. Shadow DOM: style it only through the CSS custom properties and parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-details>` web component is the disclosure widget of the Magma Design System: a collapsible block with a clickable header that shows or hides its content on demand. It is the styled, accessible equivalent of the native HTML `<details>`/`<summary>` pair, structured into dedicated `title`, `icon`, `action` and content regions.
|
|
12
12
|
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
24
|
:host {
|
|
25
|
-
--mds-details-duration: 300ms;
|
|
26
|
-
--private-details-duration: var(--mds-details-duration, 300ms);
|
|
25
|
+
--mds-details-duration: var(--duration-300, 300ms);
|
|
26
|
+
--private-details-duration: var(--mds-details-duration, var(--duration-300, 300ms));
|
|
27
27
|
--mds-details-icon-color: rgb(var(--magma-accent-emphasis, var(--variant-primary-04, 36 103 231)));
|
|
28
28
|
--mds-details-helper-icon-color: rgb(var(--magma-text-muted, var(--text-neutral-muted, 73 73 73)));
|
|
29
29
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-dropdown
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.5.0. Shadow DOM: style it only through the CSS custom properties and parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-dropdown>` web component is a floating overlay surface of the Magma Design System that anchors arbitrary slotted content next to an external trigger element. It has no built-in trigger of its own: it attaches to a separate caller resolved via `target` and positions, flips and shifts itself around that element.
|
|
12
12
|
|
|
@@ -34,21 +34,21 @@
|
|
|
34
34
|
/* multiplies the alpha of the default shadow: 3 in dark (css/mds-dropdown-pref-mode.css) */
|
|
35
35
|
--private-dropdown-shadow-strength: 1;
|
|
36
36
|
--mds-dropdown-drop-shadow: drop-shadow(
|
|
37
|
-
0
|
|
37
|
+
0 --spacing(250) --spacing(200)
|
|
38
38
|
rgb(var(--mds-dropdown-drop-shadow-color-rgb, var(--magma-shadow-ink, var(--tone-neutral-01, 5 5 5))) / calc(0.05 * var(--private-dropdown-shadow-strength)))
|
|
39
39
|
)
|
|
40
40
|
drop-shadow(
|
|
41
|
-
0
|
|
41
|
+
0 --spacing(100) --spacing(75)
|
|
42
42
|
rgb(var(--mds-dropdown-drop-shadow-color-rgb, var(--magma-shadow-ink, var(--tone-neutral-01, 5 5 5))) / calc(0.15 * var(--private-dropdown-shadow-strength)))
|
|
43
43
|
)
|
|
44
44
|
drop-shadow(
|
|
45
45
|
0 0 1px
|
|
46
46
|
rgb(var(--mds-dropdown-drop-shadow-color-rgb, var(--magma-shadow-ink, var(--tone-neutral-01, 5 5 5))) / calc(0.15 * var(--private-dropdown-shadow-strength)))
|
|
47
47
|
);
|
|
48
|
-
--mds-dropdown-duration:
|
|
49
|
-
--private-dropdown-duration: var(--mds-dropdown-duration,
|
|
48
|
+
--mds-dropdown-duration: var(--duration-500, 500ms);
|
|
49
|
+
--private-dropdown-duration: var(--mds-dropdown-duration, var(--duration-500, 500ms));
|
|
50
50
|
--mds-dropdown-ease: var(--ease-out-expo, cubic-bezier(0.19, 1, 0.22, 1));
|
|
51
|
-
--mds-dropdown-mouseover-delay:
|
|
51
|
+
--mds-dropdown-mouseover-delay: var(--duration-500, 500ms);
|
|
52
52
|
--mds-dropdown-transform-from: scale(0.9) translateY(-3%);
|
|
53
53
|
--mds-dropdown-transform-to: scale(1) translate(0, 0);
|
|
54
54
|
--mds-dropdown-z-index: var(--magma-dropdown-z-index, 5000);
|
|
@@ -211,49 +211,49 @@
|
|
|
211
211
|
* --magma-text-default, which flips with the mode, not --magma-shadow-ink, which does not. */
|
|
212
212
|
|
|
213
213
|
:host([pref-contrast='more']) {
|
|
214
|
-
--mds-dropdown-drop-shadow: drop-shadow(0 0
|
|
215
|
-
drop-shadow(0 0
|
|
216
|
-
drop-shadow(0 0
|
|
214
|
+
--mds-dropdown-drop-shadow: drop-shadow(0 0 --spacing(100) rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)) / 0.05))
|
|
215
|
+
drop-shadow(0 0 --spacing(100) rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)) / 0.3))
|
|
216
|
+
drop-shadow(0 0 --spacing(100) rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)) / 0.3));
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
@media (prefers-contrast: more) {
|
|
220
220
|
:host([pref-contrast='system']),
|
|
221
221
|
:host(:not([pref-contrast])) {
|
|
222
|
-
--mds-dropdown-drop-shadow: drop-shadow(0 0
|
|
223
|
-
drop-shadow(0 0
|
|
224
|
-
drop-shadow(0 0
|
|
222
|
+
--mds-dropdown-drop-shadow: drop-shadow(0 0 --spacing(100) rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)) / 0.05))
|
|
223
|
+
drop-shadow(0 0 --spacing(100) rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)) / 0.3))
|
|
224
|
+
drop-shadow(0 0 --spacing(100) rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)) / 0.3));
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
227
|
|
|
228
228
|
/* The glow is an outline in the text ink, light on the dark page: see mds-dropdown-pref-contrast.css. */
|
|
229
229
|
|
|
230
230
|
:host([pref-contrast='more'][pref-mode='dark']) {
|
|
231
|
-
--mds-dropdown-drop-shadow: drop-shadow(0 0
|
|
232
|
-
drop-shadow(0 0
|
|
233
|
-
drop-shadow(0 0
|
|
231
|
+
--mds-dropdown-drop-shadow: drop-shadow(0 0 --spacing(100) rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)) / 0.075))
|
|
232
|
+
drop-shadow(0 0 --spacing(100) rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)) / 0.45))
|
|
233
|
+
drop-shadow(0 0 --spacing(100) rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)) / 0.45));
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
@media (prefers-contrast: more) {
|
|
237
237
|
:host([pref-contrast='system'][pref-mode='dark']) {
|
|
238
|
-
--mds-dropdown-drop-shadow: drop-shadow(0 0
|
|
239
|
-
drop-shadow(0 0
|
|
240
|
-
drop-shadow(0 0
|
|
238
|
+
--mds-dropdown-drop-shadow: drop-shadow(0 0 --spacing(100) rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)) / 0.05))
|
|
239
|
+
drop-shadow(0 0 --spacing(100) rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)) / 0.3))
|
|
240
|
+
drop-shadow(0 0 --spacing(100) rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)) / 0.3));
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
@media (prefers-color-scheme: dark) {
|
|
245
245
|
:host([pref-contrast='more'][pref-mode='system']) {
|
|
246
|
-
--mds-dropdown-drop-shadow: drop-shadow(0 0
|
|
247
|
-
drop-shadow(0 0
|
|
248
|
-
drop-shadow(0 0
|
|
246
|
+
--mds-dropdown-drop-shadow: drop-shadow(0 0 --spacing(100) rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)) / 0.05))
|
|
247
|
+
drop-shadow(0 0 --spacing(100) rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)) / 0.3))
|
|
248
|
+
drop-shadow(0 0 --spacing(100) rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)) / 0.3));
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
251
|
|
|
252
252
|
@media (prefers-contrast: more) and (prefers-color-scheme: dark) {
|
|
253
253
|
:host([pref-contrast='system'][pref-mode='system']) {
|
|
254
|
-
--mds-dropdown-drop-shadow: drop-shadow(0 0
|
|
255
|
-
drop-shadow(0 0
|
|
256
|
-
drop-shadow(0 0
|
|
254
|
+
--mds-dropdown-drop-shadow: drop-shadow(0 0 --spacing(100) rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)) / 0.05))
|
|
255
|
+
drop-shadow(0 0 --spacing(100) rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)) / 0.3))
|
|
256
|
+
drop-shadow(0 0 --spacing(100) rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)) / 0.3));
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
259
|
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-emoji
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.5.0. Shadow DOM: style it only through the CSS custom properties and parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-emoji>` web component renders one of the Magma Design System's animated mascot illustrations (`mia` or `simi`) as an interactive SVG. It is a decorative, expressive element with no native HTML equivalent: its personality is driven entirely through imperative animation methods rather than markup or props. The illustrations are drawn in the [Magma Emoji](https://www.figma.com/design/09SuDQMZYyOKGyomr87G9c/Emoji?node-id=0-1&t=U3txjHfdwaMIRRAC-1) Figma file.
|
|
12
12
|
|
|
13
13
|
#### Semantic Behavior
|
|
14
14
|
|
|
15
|
-
- **Mouse following**: When started, the emoji tracks the pointer with a 3D head rotation and parallax on each facial part; it is off by default and only reacts after `startFollowMouse()` is called. It turns toward the pointer: the direction is the direction of the pointer from the centre of the emoji, and the turn grows with the distance until the pointer is half the short side of the viewport away, the same at every size of the emoji. When the user prefers reduced motion, neither the pointer tracking nor the blinking moves the face, and the expressions (`agree`, `smile`, `disagree`, `startThinking`) show their face - a smile, a frown, the thinking hand - without moving the head or the features, for as long as they would have lasted.
|
|
15
|
+
- **Mouse following**: When started, the emoji tracks the pointer with a 3D head rotation and parallax on each facial part; it is off by default and only reacts after `startFollowMouse()` is called. It turns toward the pointer: the direction is the direction of the pointer from the centre of the emoji, and the turn grows with the distance until the pointer is half the short side of the viewport away, the same at every size of the emoji. An emoji placed in a slot its host renders later, or moved in the page, follows the pointer at the speed of its `--mds-emoji-expression-follow-mouse-*-duration` all the same. When the user prefers reduced motion, neither the pointer tracking nor the blinking moves the face, and the expressions (`agree`, `smile`, `disagree`, `startThinking`) show their face - a smile, a frown, the thinking hand - without moving the head or the features, for as long as they would have lasted.
|
|
16
16
|
- **Single-animation lock**: Only one expression plays at a time - `agree`, `smile`, `disagree`, and `startThinking` take the face over: each stops whatever is playing (a thinking pose included) and starts from the neutral face, so a later call cuts an earlier one short. `startThinking` is a no-op only while the emoji is already thinking.
|
|
17
17
|
- **Promise-based methods**: Every expressive action returns a `Promise<void>` that resolves when its animation finishes, letting callers await one expression before chaining the next.
|
|
18
18
|
- **State restoration**: An expression pauses mouse-following and, when it completes, restarts it if it was on: `startFollowMouse()` called and not stopped by a later `stopFollowMouse()`.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-10-
|
|
2
|
+
"timestamp": "2026-10-21T16:53:07",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.45.2",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"docs": "This is a web-component from Maggioli Design System [Magma](https://magma.maggiolicloud.it), built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScript framework you are using.",
|
|
14
14
|
"docsTags": [],
|
|
15
15
|
"usage": {
|
|
16
|
-
"1. Description": "The `<mds-emoji>` web component renders one of the Magma Design System's animated mascot illustrations (`mia` or `simi`) as an interactive SVG. It is a decorative, expressive element with no native HTML equivalent: its personality is driven entirely through imperative animation methods rather than markup or props. The illustrations are drawn in the [Magma Emoji](https://www.figma.com/design/09SuDQMZYyOKGyomr87G9c/Emoji?node-id=0-1&t=U3txjHfdwaMIRRAC-1) Figma file.\n\n#### Semantic Behavior\n\n- **Mouse following**: When started, the emoji tracks the pointer with a 3D head rotation and parallax on each facial part; it is off by default and only reacts after `startFollowMouse()` is called. It turns toward the pointer: the direction is the direction of the pointer from the centre of the emoji, and the turn grows with the distance until the pointer is half the short side of the viewport away, the same at every size of the emoji. When the user prefers reduced motion, neither the pointer tracking nor the blinking moves the face, and the expressions (`agree`, `smile`, `disagree`, `startThinking`) show their face - a smile, a frown, the thinking hand - without moving the head or the features, for as long as they would have lasted.\n- **Single-animation lock**: Only one expression plays at a time - `agree`, `smile`, `disagree`, and `startThinking` take the face over: each stops whatever is playing (a thinking pose included) and starts from the neutral face, so a later call cuts an earlier one short. `startThinking` is a no-op only while the emoji is already thinking.\n- **Promise-based methods**: Every expressive action returns a `Promise<void>` that resolves when its animation finishes, letting callers await one expression before chaining the next.\n- **State restoration**: An expression pauses mouse-following and, when it completes, restarts it if it was on: `startFollowMouse()` called and not stopped by a later `stopFollowMouse()`.\n- **Idle blinking**: `startBlinking()` runs a random blink loop on the eyes; blinks are suppressed while the emoji is busy with another animation.\n\n#### Properties & Visual Configurations\n\nThe only public prop is `name`, which selects the mascot identity. It accepts `'mia'` (the default) or `'simi'`; changing it at runtime swaps the mascot.\n\n#### Other behavioral props\n\nThere are no variant, tone, or size props. The expression is configured imperatively through method calls (`agree`, `smile`, `disagree`, `startThinking` / `stopThinking`, `startBlinking` / `stopBlinking`, `startFollowMouse` / `stopFollowMouse`), and the timing and reach of those animations are tuned through CSS custom properties - `--mds-emoji-expression-max-rotation`, the `--mds-emoji-expression-follow-mouse-*-duration` pair, the per-part `--mds-emoji-offset-*` values, and the per-mascot color tokens - rather than through attributes.\n",
|
|
16
|
+
"1. Description": "The `<mds-emoji>` web component renders one of the Magma Design System's animated mascot illustrations (`mia` or `simi`) as an interactive SVG. It is a decorative, expressive element with no native HTML equivalent: its personality is driven entirely through imperative animation methods rather than markup or props. The illustrations are drawn in the [Magma Emoji](https://www.figma.com/design/09SuDQMZYyOKGyomr87G9c/Emoji?node-id=0-1&t=U3txjHfdwaMIRRAC-1) Figma file.\n\n#### Semantic Behavior\n\n- **Mouse following**: When started, the emoji tracks the pointer with a 3D head rotation and parallax on each facial part; it is off by default and only reacts after `startFollowMouse()` is called. It turns toward the pointer: the direction is the direction of the pointer from the centre of the emoji, and the turn grows with the distance until the pointer is half the short side of the viewport away, the same at every size of the emoji. An emoji placed in a slot its host renders later, or moved in the page, follows the pointer at the speed of its `--mds-emoji-expression-follow-mouse-*-duration` all the same. When the user prefers reduced motion, neither the pointer tracking nor the blinking moves the face, and the expressions (`agree`, `smile`, `disagree`, `startThinking`) show their face - a smile, a frown, the thinking hand - without moving the head or the features, for as long as they would have lasted.\n- **Single-animation lock**: Only one expression plays at a time - `agree`, `smile`, `disagree`, and `startThinking` take the face over: each stops whatever is playing (a thinking pose included) and starts from the neutral face, so a later call cuts an earlier one short. `startThinking` is a no-op only while the emoji is already thinking.\n- **Promise-based methods**: Every expressive action returns a `Promise<void>` that resolves when its animation finishes, letting callers await one expression before chaining the next.\n- **State restoration**: An expression pauses mouse-following and, when it completes, restarts it if it was on: `startFollowMouse()` called and not stopped by a later `stopFollowMouse()`.\n- **Idle blinking**: `startBlinking()` runs a random blink loop on the eyes; blinks are suppressed while the emoji is busy with another animation.\n\n#### Properties & Visual Configurations\n\nThe only public prop is `name`, which selects the mascot identity. It accepts `'mia'` (the default) or `'simi'`; changing it at runtime swaps the mascot.\n\n#### Other behavioral props\n\nThere are no variant, tone, or size props. The expression is configured imperatively through method calls (`agree`, `smile`, `disagree`, `startThinking` / `stopThinking`, `startBlinking` / `stopBlinking`, `startFollowMouse` / `stopFollowMouse`), and the timing and reach of those animations are tuned through CSS custom properties - `--mds-emoji-expression-max-rotation`, the `--mds-emoji-expression-follow-mouse-*-duration` pair, the per-part `--mds-emoji-offset-*` values, and the per-mascot color tokens - rather than through attributes.\n",
|
|
17
17
|
"2. Pattern": "Correct and idiomatic ways to use the `<mds-emoji>` component, ordered from most common to most specialized. Patterns assume a working knowledge of the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).\n\n#### Basic Mascot Display\n\nDrop the component anywhere to render the default mascot, Mia. The element is a square and sizes itself to the value applied via CSS `width` / `height` (it has its own default). No props are required for a static illustration.\n\n```html\n<mds-emoji></mds-emoji>\n```\n\n#### Choosing a Mascot with `name`\n\nThe `name` prop selects between the two available mascots. Use `\"mia\"` (default) for the AI-branded identity and `\"simi\"` for the human-like character. Changing `name` at runtime swaps the mascot without a page reload.\n\n```html\n<!-- Mia - the AI mascot (default) -->\n<mds-emoji name=\"mia\"></mds-emoji>\n\n<!-- Simi - the human-like mascot -->\n<mds-emoji name=\"simi\"></mds-emoji>\n```\n\n#### Sizing via CSS\n\nControl the rendered size with CSS `width` and `height` on the host - the SVG fills 100% of the host's box. The component keeps a 1:1 aspect ratio automatically.\n\n```html\n<mds-emoji name=\"mia\" style=\"width: 128px; height: 128px;\"></mds-emoji>\n```\n\n```css\n.mascot-hero mds-emoji {\n width: 240px;\n height: 240px;\n}\n```\n\n#### Mouse-Following Interaction\n\nCall `startFollowMouse()` to activate the 3D head-rotation that tracks the pointer. The feature is off by default. Call `stopFollowMouse()` to deactivate it cleanly.\n\n```html\n<mds-emoji id=\"mascot\" name=\"mia\"></mds-emoji>\n\n<script>\n const emoji = document.querySelector('#mascot');\n emoji.startFollowMouse();\n\n // later, e.g. when leaving a focused section:\n emoji.stopFollowMouse();\n</script>\n```\n\n#### Idle Blinking\n\nStart the automatic random-interval blink loop with `startBlinking()`. The blink is suppressed while another animation owns the eyes and resumes automatically afterwards.\n\n```html\n<mds-emoji id=\"mascot\" name=\"simi\"></mds-emoji>\n\n<script>\n const emoji = document.querySelector('#mascot');\n emoji.startBlinking();\n</script>\n```\n\n#### Expressing Agreement or Confirmation\n\nCall `agree()` after a successful form submission or confirmed action. The emoji nods and briefly smiles. The returned `Promise` resolves when the animation completes.\n\n```html\n<mds-emoji id=\"mascot\" name=\"mia\"></mds-emoji>\n<mds-button id=\"save-btn\" label=\"Salva\" variant=\"primary\" tone=\"strong\"></mds-button>\n\n<script>\n const emoji = document.querySelector('#mascot');\n document.querySelector('#save-btn').addEventListener('click', async () => {\n await fetch('/api/save');\n emoji.agree();\n });\n</script>\n```\n\n#### Expressing a Smile\n\nCall `smile()` for lighter positive feedback - a bounce and closed-eyes smile without the full nod. Useful on hover or focus of a featured element.\n\n```html\n<mds-emoji id=\"mascot\" name=\"mia\"></mds-emoji>\n\n<script>\n const emoji = document.querySelector('#mascot');\n document.querySelector('.feature-card').addEventListener('mouseenter', () => {\n emoji.smile();\n });\n</script>\n```\n\n#### Expressing Disagreement or Errors\n\nCall `disagree()` on validation failure or destructive confirmation. An optional `turnHappyDelay` number (in milliseconds) delays the return to the neutral face - useful when you want the serious expression to linger while an error message is visible.\n\n```html\n<mds-emoji id=\"mascot\" name=\"mia\"></mds-emoji>\n\n<script>\n const emoji = document.querySelector('#mascot');\n\n formEl.addEventListener('submit', async (e) => {\n e.preventDefault();\n const ok = await submitForm();\n if (!ok) {\n emoji.disagree(2000); // stay serious for 2 s while the error banner is visible\n }\n });\n</script>\n```\n\n#### Thinking State During Async Operations\n\nCall `startThinking()` while a request is in flight - the emoji raises a thinking hand and shifts its gaze. Call `stopThinking()` when the operation settles. Both methods accept an optional `duration` (seconds) for the transition animation.\n\n```html\n<mds-emoji id=\"mascot\" name=\"mia\"></mds-emoji>\n\n<script>\n const emoji = document.querySelector('#mascot');\n\n async function caricaDati() {\n await emoji.startThinking();\n const data = await fetch('/api/data').then((r) => r.json());\n await emoji.stopThinking();\n return data;\n }\n</script>\n```\n\n#### Chaining Expressions\n\nBecause every method returns a `Promise<void>`, you can `await` one before triggering the next. Without awaiting they still never overlap, but each call takes the face over and cuts the previous expression short.\n\n```html\n<mds-emoji id=\"mascot\" name=\"simi\"></mds-emoji>\n\n<script>\n const emoji = document.querySelector('#mascot');\n\n async function onSave() {\n await emoji.startThinking(0.4); // mostri caricamento\n await fetch('/api/salva');\n await emoji.stopThinking(0.4);\n await emoji.agree(); // conferma riuscita\n }\n</script>\n```\n\n#### CSS Customization - Animation Timing\n\nTune the mouse-follow responsiveness by overriding the documented `--mds-emoji-expression-*` custom properties on the host or a parent selector. The initial values are reasonable for most placements; reduce them for snappier feedback.\n\n```css\n.mascot-container mds-emoji {\n --mds-emoji-expression-follow-mouse-head-duration: 150ms;\n --mds-emoji-expression-follow-mouse-traits-duration: 100ms;\n --mds-emoji-expression-max-rotation: 10deg;\n}\n```\n\n#### CSS Customization - Mascot Colors\n\nOverride per-mascot color tokens to adapt the character to a custom brand palette. Use the semantic color roles (`rgb(var(--magma-<role>))`) so dark mode and named themes keep working; Simi's skin tones are data, so hex values are fine there.\n\n```css\n/* Theming Mia for a custom brand */\nmds-emoji[name='mia'] {\n --mds-emoji-mia-head-color: rgb(var(--magma-accent-surface-hover));\n --mds-emoji-mia-eyes-color: rgb(var(--magma-accent-emphasis-hover));\n --mds-emoji-mia-mouth-color: rgb(var(--magma-accent-emphasis));\n --mds-emoji-mia-hands-color: rgb(var(--magma-accent-emphasis));\n}\n\n/* Theming Simi */\nmds-emoji[name='simi'] {\n --mds-emoji-simi-skin: #f5c8a0;\n --mds-emoji-simi-skin-dark: #c8895e;\n --mds-emoji-simi-skin-light: #fdebd8;\n}\n```\n\n#### CSS Customization - Parallax Offsets\n\nIncrease or decrease the per-layer offset values to control how pronounced the parallax depth effect is when the emoji follows the mouse. Set all offsets to `0` to flatten the effect entirely.\n\n```css\n/* Subtle parallax - small offsets for compact placements */\n.compact mds-emoji {\n --mds-emoji-offset-eyes: 0.5px;\n --mds-emoji-offset-mouth: 0.5px;\n --mds-emoji-offset-eyebrows: 4px;\n --mds-emoji-offset-head: 0;\n}\n\n/* Dramatic parallax - large offsets for hero sections */\n.hero mds-emoji {\n --mds-emoji-offset-eyes: 3px;\n --mds-emoji-offset-mouth: 3px;\n --mds-emoji-offset-eyebrows: 20px;\n --mds-emoji-perspective: 250px;\n}\n```\n",
|
|
18
18
|
"3. Antipattern": "Common incorrect uses of `<mds-emoji>`. 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/anti-patterns.md`](../../../../agents/anti-patterns.md) - they apply here too but are not repeated.\n\n#### Do Not Use an Unknown `name` Value\n\nOnly `\"mia\"` and `\"simi\"` are valid values for the `name` prop. Any other string falls outside the `EmojiNames` type and is ignored with a console warning: on load no mascot is rendered, after load the mascot on screen stays.\n\n```html\n<!-- INCORRECT -->\n<mds-emoji name=\"luigi\"></mds-emoji>\n<mds-emoji name=\"robot\"></mds-emoji>\n\n<!-- CORRECT -->\n<mds-emoji name=\"mia\"></mds-emoji>\n<mds-emoji name=\"simi\"></mds-emoji>\n```\n\n#### Do Not Put Content in the Component - It Has No Slots\n\n`<mds-emoji>` renders a self-contained SVG through its shadow root and exposes no slots. Any child nodes placed between the tags are ignored entirely.\n\n```html\n<!-- INCORRECT -->\n<mds-emoji name=\"mia\">\n <span>Ciao!</span>\n</mds-emoji>\n\n<!-- CORRECT - place sibling elements outside the component -->\n<div class=\"mascot-wrapper\">\n <mds-emoji name=\"mia\"></mds-emoji>\n <p>Ciao!</p>\n</div>\n```\n\n#### Do Not Trigger Expressions Without Awaiting a Running Animation\n\n`agree()`, `smile()`, `disagree()`, and `startThinking()` each take the face over: they stop whatever is playing (a thinking pose included) and start from the neutral face. Firing them without awaiting the previous call cuts the earlier expression short.\n\n```html\n<!-- INCORRECT - the second call cuts the first one short -->\n<script>\n emoji.startThinking(); // starts thinking\n emoji.agree(); // takes over: the thinking pose is dropped at once\n</script>\n\n<!-- CORRECT - await each expression before chaining the next -->\n<script type=\"module\">\n const emoji = document.querySelector('mds-emoji');\n await emoji.startThinking(0.5);\n await fetch('/api/salva');\n await emoji.stopThinking(0.5);\n await emoji.agree();\n</script>\n```\n\n#### Do Not Use `stopThinking()` to Cancel Mid-Expression\n\n`stopThinking()` is the paired counterpart to `startThinking()`. Calling it to interrupt `agree()`, `smile()`, or `disagree()` has no effect: `stopThinking()` returns at once unless the emoji is thinking. An expression runs to completion unless another expression takes the face over.\n\n```html\n<!-- INCORRECT - stopThinking() won't cut short an agree() animation -->\n<script>\n emoji.agree();\n emoji.stopThinking(); // no-op\n</script>\n\n<!-- CORRECT - let the animation complete (await it), or accept that expressions run to completion -->\n<script type=\"module\">\n const emoji = document.querySelector('mds-emoji');\n await emoji.agree();\n // now the emoji is idle and ready for the next call\n</script>\n```\n\n#### Do Not Pierce Shadow DOM to Animate SVG Parts Directly\n\nThe internal SVG elements (eyes, mouth, head, etc.) are part of the shadow DOM and are managed by GSAP inside the component. Querying them from outside and applying CSS transforms or animations creates conflicting tweens and breaks the component's state machine.\n\n```css\n/* INCORRECT */\nmds-emoji >>> #eyes-default {\n transform: scaleY(0.5);\n}\n```\n\n```html\n<!-- CORRECT - use the documented imperative methods instead -->\n<script>\n const emoji = document.querySelector('mds-emoji');\n emoji.startBlinking(); // let the component own eye animations\n</script>\n```\n\n#### Do Not Set Per-Layer Offsets with Unitless Numbers\n\nThe `--mds-emoji-offset-*` custom properties are declared as `<length>` values. Unitless numbers are not valid lengths and will be ignored, leaving the parallax effect at the CSS `@property` initial value.\n\n```css\n/* INCORRECT - unitless values are invalid <length> */\nmds-emoji {\n --mds-emoji-offset-eyes: 3;\n --mds-emoji-offset-mouth: 2;\n}\n\n/* CORRECT - always supply a length unit */\nmds-emoji {\n --mds-emoji-offset-eyes: 3px;\n --mds-emoji-offset-mouth: 2px;\n}\n```\n\n#### Do Not Set `--mds-emoji-expression-max-rotation` Without an Angle Unit\n\n`--mds-emoji-expression-max-rotation` is declared as `<angle>`. A bare number is invalid and the property falls back to the initial value of `16deg`, so the constraint you intended is silently ignored.\n\n```css\n/* INCORRECT */\nmds-emoji {\n --mds-emoji-expression-max-rotation: 8;\n}\n\n/* CORRECT */\nmds-emoji {\n --mds-emoji-expression-max-rotation: 8deg;\n}\n```\n"
|
|
19
19
|
},
|
|
@@ -18,17 +18,17 @@
|
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
20
|
:host {
|
|
21
|
-
--mds-emoji-expression-follow-mouse-traits-duration: 200ms;
|
|
22
|
-
--mds-emoji-expression-follow-mouse-head-duration: 300ms;
|
|
21
|
+
--mds-emoji-expression-follow-mouse-traits-duration: var(--duration-200, 200ms);
|
|
22
|
+
--mds-emoji-expression-follow-mouse-head-duration: var(--duration-300, 300ms);
|
|
23
23
|
--mds-emoji-expression-max-rotation: 16deg;
|
|
24
|
-
--mds-emoji-perspective:
|
|
24
|
+
--mds-emoji-perspective: --spacing(10000);
|
|
25
25
|
|
|
26
26
|
align-items: stretch;
|
|
27
27
|
aspect-ratio: 1/1;
|
|
28
28
|
display: flex;
|
|
29
29
|
height: --spacing(1200);
|
|
30
30
|
justify-content: stretch;
|
|
31
|
-
perspective: var(--mds-emoji-perspective,
|
|
31
|
+
perspective: var(--mds-emoji-perspective, --spacing(10000));
|
|
32
32
|
perspective-origin: center;
|
|
33
33
|
width: --spacing(1200);
|
|
34
34
|
}
|
|
@@ -37,7 +37,7 @@ svg {
|
|
|
37
37
|
height: 100%;
|
|
38
38
|
overflow: visible;
|
|
39
39
|
transform-style: preserve-3d;
|
|
40
|
-
transition: transform
|
|
40
|
+
transition: transform var(--duration-200, 200ms) ease-out;
|
|
41
41
|
width: 100%;
|
|
42
42
|
}
|
|
43
43
|
|
|
@@ -59,6 +59,8 @@ svg {
|
|
|
59
59
|
--mds-emoji-mia-mouth-color: rgb(var(--magma-accent-ai-emphasis, var(--variant-ai-04, 126 73 245)));
|
|
60
60
|
--mds-emoji-offset-eyes: 1px;
|
|
61
61
|
--mds-emoji-offset-gadget: 1px;
|
|
62
|
+
|
|
63
|
+
/* stylelint-disable-next-line magma/token-values -- read by mds-emoji.tsx through cssSizeToNumber, which parses a px literal, not the calc() of --spacing() */
|
|
62
64
|
--mds-emoji-offset-hands: 2px;
|
|
63
65
|
--mds-emoji-offset-head: 0;
|
|
64
66
|
--mds-emoji-offset-mouth: 1px;
|
|
@@ -91,12 +93,16 @@ svg {
|
|
|
91
93
|
|
|
92
94
|
:host([name='simi']) {
|
|
93
95
|
--mds-emoji-offset-ears: 0;
|
|
96
|
+
|
|
97
|
+
/* stylelint-disable magma/token-values -- read by mds-emoji.tsx through cssSizeToNumber, which parses a px literal, not the calc() of --spacing() */
|
|
94
98
|
--mds-emoji-offset-eyebrows: 10px;
|
|
95
99
|
--mds-emoji-offset-eyes: 7px;
|
|
96
100
|
--mds-emoji-offset-gadget: 14px;
|
|
97
101
|
--mds-emoji-offset-hands: 18px;
|
|
98
102
|
--mds-emoji-offset-head: 5px;
|
|
99
103
|
--mds-emoji-offset-mouth: 16px;
|
|
104
|
+
|
|
105
|
+
/* stylelint-enable magma/token-values */
|
|
100
106
|
--mds-emoji-simi-eye-light: #ffffff;
|
|
101
107
|
--mds-emoji-simi-eye: #40281b;
|
|
102
108
|
--mds-emoji-simi-eyebrow: #feefd8;
|
|
@@ -59,6 +59,9 @@ export class MdsEmoji {
|
|
|
59
59
|
this.mouseY = 0;
|
|
60
60
|
this.currentRotateX = 0;
|
|
61
61
|
this.currentRotateY = 0;
|
|
62
|
+
// Whether the values below come from the computed style. They are read lazily
|
|
63
|
+
// by rotate until it is available: see updateCSSCustomProps.
|
|
64
|
+
this.cssCustomPropsRead = false;
|
|
62
65
|
this.expressionAngleMax = 16; // massimo angolo di rotazione della emoji
|
|
63
66
|
this.expressionFollowMouseHeadDuration = 0.3; // durata dell'animazione di rotazione della testa quando segue il mouse
|
|
64
67
|
this.expressionFollowMouseTraitsDuration = 0.2; // durata dell'animazione di rotazione degli occhi e della bocca quando segue il mouse
|
|
@@ -84,9 +87,19 @@ export class MdsEmoji {
|
|
|
84
87
|
if (typeof window === 'undefined')
|
|
85
88
|
return;
|
|
86
89
|
const elementStyles = window.getComputedStyle(this.host);
|
|
90
|
+
// Stencil loads children before their parents, so a slotted emoji reaches
|
|
91
|
+
// componentDidLoad while its host's shadow DOM has not rendered the slot yet.
|
|
92
|
+
// Outside the flat tree the computed style is empty, every value fell back and
|
|
93
|
+
// the durations became 1000 seconds: the head took minutes to follow the
|
|
94
|
+
// pointer. Keep the current values and let rotate read them again later.
|
|
95
|
+
if (elementStyles.display === '') {
|
|
96
|
+
this.cssCustomPropsRead = false;
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
this.cssCustomPropsRead = true;
|
|
87
100
|
this.expressionAngleMax = cssRotationToNumber(elementStyles.getPropertyValue('--mds-emoji-expression-max-rotation'), 16);
|
|
88
|
-
this.expressionFollowMouseHeadDuration = cssDurationToSeconds(elementStyles.getPropertyValue('--mds-emoji-expression-follow-mouse-head-duration'));
|
|
89
|
-
this.expressionFollowMouseTraitsDuration = cssDurationToSeconds(elementStyles.getPropertyValue('--mds-emoji-expression-follow-mouse-traits-duration'));
|
|
101
|
+
this.expressionFollowMouseHeadDuration = cssDurationToSeconds(elementStyles.getPropertyValue('--mds-emoji-expression-follow-mouse-head-duration'), 0.3);
|
|
102
|
+
this.expressionFollowMouseTraitsDuration = cssDurationToSeconds(elementStyles.getPropertyValue('--mds-emoji-expression-follow-mouse-traits-duration'), 0.2);
|
|
90
103
|
this.headOffset = cssSizeToNumber(elementStyles.getPropertyValue('--mds-emoji-offset-head'), 1);
|
|
91
104
|
this.eyesOffset = cssSizeToNumber(elementStyles.getPropertyValue('--mds-emoji-offset-eyes'), 1);
|
|
92
105
|
this.mouthOffset = cssSizeToNumber(elementStyles.getPropertyValue('--mds-emoji-offset-mouth'), 1);
|
|
@@ -670,6 +683,8 @@ export class MdsEmoji {
|
|
|
670
683
|
this.rotate(gaze.x, gaze.y, immediate);
|
|
671
684
|
};
|
|
672
685
|
this.rotate = (percentX, percentY, immediate = false) => {
|
|
686
|
+
if (!this.cssCustomPropsRead)
|
|
687
|
+
this.updateCSSCustomProps();
|
|
673
688
|
const ease = 'power1.out';
|
|
674
689
|
// The traits can be put in place at once instead of eased there: an expression
|
|
675
690
|
// about to take the face over owns them from this very frame, and a tween still
|
|
@@ -719,6 +734,9 @@ export class MdsEmoji {
|
|
|
719
734
|
transformOrigin: '50% 50%',
|
|
720
735
|
duration: this.expressionFollowMouseHeadDuration,
|
|
721
736
|
ease,
|
|
737
|
+
// A newer pose replaces the previous one: without it a slower tween still
|
|
738
|
+
// running kept writing its own angles once the newer one had finished.
|
|
739
|
+
overwrite: 'auto',
|
|
722
740
|
});
|
|
723
741
|
if (this.eyesEl) {
|
|
724
742
|
gsap.to(this.eyesEl, Object.assign({ translateX: this.eyesOffsetX, translateY: this.eyesOffsetY, transformOrigin: '50% 50%' }, traitVars));
|
|
@@ -743,17 +761,29 @@ export class MdsEmoji {
|
|
|
743
761
|
}
|
|
744
762
|
};
|
|
745
763
|
}
|
|
764
|
+
// A move disconnects the host and connects it again, while componentDidLoad runs
|
|
765
|
+
// once: the pointer listener follows the connection, so a moved emoji still hears it.
|
|
766
|
+
connectedCallback() {
|
|
767
|
+
if (typeof window === 'undefined')
|
|
768
|
+
return;
|
|
769
|
+
window.addEventListener('mousemove', this.handleFollowMouse);
|
|
770
|
+
}
|
|
746
771
|
componentDidLoad() {
|
|
747
772
|
if (typeof window === 'undefined')
|
|
748
773
|
return;
|
|
749
774
|
this.updateCSSCustomProps();
|
|
750
|
-
window.addEventListener('mousemove', this.handleFollowMouse);
|
|
751
775
|
this.checkNameChanged(this.name);
|
|
752
776
|
}
|
|
753
777
|
disconnectedCallback() {
|
|
754
778
|
var _a, _b;
|
|
755
779
|
if (typeof window === 'undefined')
|
|
756
780
|
return;
|
|
781
|
+
// In the lazy build the instance can hear of a disconnect after the host is back on
|
|
782
|
+
// the page. GSAP causes one: to read the transform of a host that is not drawn (a
|
|
783
|
+
// slotted emoji before its slot is rendered) it appends it to <html> for a moment
|
|
784
|
+
// and puts it back. The emoji is still mounted then, nothing to tear down.
|
|
785
|
+
if (this.host.isConnected)
|
|
786
|
+
return;
|
|
757
787
|
window.removeEventListener('mousemove', this.handleFollowMouse);
|
|
758
788
|
this.isThinking = false;
|
|
759
789
|
this.isBlinking = false;
|
|
@@ -929,7 +959,7 @@ export class MdsEmoji {
|
|
|
929
959
|
return element;
|
|
930
960
|
}
|
|
931
961
|
render() {
|
|
932
|
-
return h(Host, { key: '
|
|
962
|
+
return h(Host, { key: '228ea1ce5afd636026b77ac0a00462a7e2471470' });
|
|
933
963
|
}
|
|
934
964
|
static get is() { return "mds-emoji"; }
|
|
935
965
|
static get encapsulation() { return "shadow"; }
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-entity
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.5.0. Shadow DOM: style it only through the CSS custom properties and parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-entity>` web component represents a person, organization, or resource as a compact identity block in the Magma Design System, pairing an avatar with a name, optional secondary details, and contextual actions. It has no native HTML equivalent; it standardises how entities are surfaced in lists, headers, and cards.
|
|
12
12
|
|
|
@@ -15,7 +15,7 @@ The `<mds-entity>` web component represents a person, organization, or resource
|
|
|
15
15
|
- **Avatar resolution**: The leading avatar renders only when one of `src`, `icon`, or `initials` is provided. The inner `mds-avatar` resolves a combination pairwise: `icon` hides the `src` image, `initials` hide the `icon`, `src` hides the `initials`, and with all three set it shows none of them.
|
|
16
16
|
- **Await state**: While `await` is set the avatar is suppressed and a spinner is shown in its place, signalling that the entity is still loading.
|
|
17
17
|
- **Conditional regions**: The `detail` and `action` regions are shown only while content is projected into those slots, also when it is added after the first render.
|
|
18
|
-
- **Default slot is the name**: The default slot carries the entity's primary label (text, HTML, or components) and is always rendered inside the info column.
|
|
18
|
+
- **Default slot is the name**: The default slot carries the entity's primary label (text, HTML, or components) and is always rendered inside the info column (the `infos` part), above the `detail` row.
|
|
19
19
|
|
|
20
20
|
#### Properties & Visual Configurations
|
|
21
21
|
|
|
@@ -59,6 +59,7 @@ The shared `tone` / `variant` ladders are defined in [`agents/variants.md`](../.
|
|
|
59
59
|
| Part | Description |
|
|
60
60
|
| --- | --- |
|
|
61
61
|
| `avatar` | The avatar element |
|
|
62
|
+
| `infos` | The column that stacks the name (default slot) and the `detail` row |
|
|
62
63
|
| `spinner` | The spinner element |
|
|
63
64
|
|
|
64
65
|
## CSS custom properties
|