@maggioli-design-system/magma 2.7.0 → 2.9.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 +45 -0
- package/agents/lint.md +20 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/magma-components.cjs.js +1 -1
- package/dist/cjs/mds-banner_3.cjs.entry.js +7 -6
- package/dist/cjs/mds-book.cjs.entry.js +53 -5
- package/dist/cjs/mds-calendar_2.cjs.entry.js +1 -1
- package/dist/cjs/mds-emoji.cjs.entry.js +39 -9
- package/dist/cjs/mds-filter.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-range.cjs.entry.js +1 -1
- package/dist/cjs/mds-modal.cjs.entry.js +1 -1
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +17 -4
- package/dist/cjs/mds-toast.cjs.entry.js +2 -2
- package/dist/collection/components/mds-accordion/AGENTS.md +2 -1
- package/dist/collection/components/mds-accordion/documentation.json +4 -2
- package/dist/collection/components/mds-accordion-item/AGENTS.md +2 -1
- package/dist/collection/components/mds-accordion-item/documentation.json +4 -2
- package/dist/collection/components/mds-accordion-timer/AGENTS.md +2 -1
- package/dist/collection/components/mds-accordion-timer/documentation.json +4 -2
- package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +2 -1
- package/dist/collection/components/mds-accordion-timer-item/documentation.json +4 -2
- package/dist/collection/components/mds-author/AGENTS.md +2 -1
- package/dist/collection/components/mds-author/documentation.json +4 -2
- package/dist/collection/components/mds-avatar/AGENTS.md +2 -1
- package/dist/collection/components/mds-avatar/documentation.json +4 -2
- package/dist/collection/components/mds-avatar-stack/AGENTS.md +2 -1
- package/dist/collection/components/mds-avatar-stack/documentation.json +4 -2
- package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +2 -1
- package/dist/collection/components/mds-avatar-stack-item/documentation.json +4 -2
- package/dist/collection/components/mds-badge/AGENTS.md +2 -1
- package/dist/collection/components/mds-badge/documentation.json +4 -2
- package/dist/collection/components/mds-banner/AGENTS.md +7 -4
- package/dist/collection/components/mds-banner/antipattern.md +5 -5
- package/dist/collection/components/mds-banner/documentation.json +40 -6
- package/dist/collection/components/mds-banner/mds-banner.css +7 -10
- package/dist/collection/components/mds-banner/mds-banner.js +30 -7
- package/dist/collection/components/mds-banner/pattern.md +4 -4
- package/dist/collection/components/mds-benchmark-bar/AGENTS.md +2 -1
- package/dist/collection/components/mds-benchmark-bar/documentation.json +4 -2
- package/dist/collection/components/mds-bibliography/AGENTS.md +2 -1
- package/dist/collection/components/mds-bibliography/documentation.json +4 -2
- package/dist/collection/components/mds-book/AGENTS.md +9 -4
- package/dist/collection/components/mds-book/documentation.json +46 -6
- package/dist/collection/components/mds-book/mds-book.css +91 -7
- package/dist/collection/components/mds-book/mds-book.js +79 -7
- package/dist/collection/components/mds-book/pattern.md +14 -0
- package/dist/collection/components/mds-breadcrumb/AGENTS.md +2 -1
- package/dist/collection/components/mds-breadcrumb/documentation.json +4 -2
- package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +2 -1
- package/dist/collection/components/mds-breadcrumb-item/documentation.json +4 -2
- package/dist/collection/components/mds-button/AGENTS.md +2 -1
- package/dist/collection/components/mds-button/documentation.json +4 -2
- package/dist/collection/components/mds-button-dropdown/AGENTS.md +2 -1
- package/dist/collection/components/mds-button-dropdown/documentation.json +4 -2
- package/dist/collection/components/mds-button-group/AGENTS.md +2 -1
- package/dist/collection/components/mds-button-group/documentation.json +4 -2
- package/dist/collection/components/mds-calendar/AGENTS.md +2 -1
- package/dist/collection/components/mds-calendar/documentation.json +4 -2
- package/dist/collection/components/mds-calendar-cell/AGENTS.md +2 -1
- package/dist/collection/components/mds-calendar-cell/documentation.json +4 -2
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +4 -1
- package/dist/collection/components/mds-card/AGENTS.md +2 -1
- package/dist/collection/components/mds-card/documentation.json +4 -2
- package/dist/collection/components/mds-card-content/AGENTS.md +2 -1
- package/dist/collection/components/mds-card-content/documentation.json +4 -2
- package/dist/collection/components/mds-card-footer/AGENTS.md +2 -1
- package/dist/collection/components/mds-card-footer/documentation.json +4 -2
- package/dist/collection/components/mds-card-header/AGENTS.md +2 -1
- package/dist/collection/components/mds-card-header/documentation.json +4 -2
- package/dist/collection/components/mds-card-media/AGENTS.md +2 -1
- package/dist/collection/components/mds-card-media/documentation.json +4 -2
- package/dist/collection/components/mds-chip/AGENTS.md +2 -1
- package/dist/collection/components/mds-chip/documentation.json +4 -2
- package/dist/collection/components/mds-details/AGENTS.md +2 -1
- package/dist/collection/components/mds-details/documentation.json +4 -2
- package/dist/collection/components/mds-dropdown/AGENTS.md +2 -1
- package/dist/collection/components/mds-dropdown/documentation.json +4 -2
- package/dist/collection/components/mds-emoji/AGENTS.md +2 -1
- package/dist/collection/components/mds-emoji/asset/simi.svg +1 -1
- package/dist/collection/components/mds-emoji/documentation.json +4 -2
- package/dist/collection/components/mds-emoji/mds-emoji.js +38 -8
- package/dist/collection/components/mds-entity/AGENTS.md +2 -1
- package/dist/collection/components/mds-entity/documentation.json +4 -2
- package/dist/collection/components/mds-file/AGENTS.md +2 -1
- package/dist/collection/components/mds-file/documentation.json +4 -2
- package/dist/collection/components/mds-file-preview/AGENTS.md +2 -1
- package/dist/collection/components/mds-file-preview/documentation.json +4 -2
- package/dist/collection/components/mds-filter/AGENTS.md +3 -2
- package/dist/collection/components/mds-filter/documentation.json +10 -2
- package/dist/collection/components/mds-filter/mds-filter.css +5 -1
- package/dist/collection/components/mds-filter-item/AGENTS.md +2 -1
- package/dist/collection/components/mds-filter-item/documentation.json +4 -2
- package/dist/collection/components/mds-header/AGENTS.md +2 -1
- package/dist/collection/components/mds-header/documentation.json +5 -3
- package/dist/collection/components/mds-header/pattern.md +3 -3
- package/dist/collection/components/mds-header-bar/AGENTS.md +2 -1
- package/dist/collection/components/mds-header-bar/documentation.json +4 -2
- package/dist/collection/components/mds-help/AGENTS.md +2 -1
- package/dist/collection/components/mds-help/documentation.json +4 -2
- package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +2 -1
- package/dist/collection/components/mds-horizontal-scroll/documentation.json +4 -2
- package/dist/collection/components/mds-hr/AGENTS.md +2 -1
- package/dist/collection/components/mds-hr/documentation.json +4 -2
- package/dist/collection/components/mds-icon/AGENTS.md +2 -1
- package/dist/collection/components/mds-icon/documentation.json +4 -2
- package/dist/collection/components/mds-img/AGENTS.md +2 -1
- package/dist/collection/components/mds-img/documentation.json +4 -2
- package/dist/collection/components/mds-input/AGENTS.md +2 -1
- package/dist/collection/components/mds-input/documentation.json +4 -2
- package/dist/collection/components/mds-input-date/AGENTS.md +2 -1
- package/dist/collection/components/mds-input-date/documentation.json +4 -2
- package/dist/collection/components/mds-input-date-range/AGENTS.md +2 -1
- package/dist/collection/components/mds-input-date-range/documentation.json +4 -2
- package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +2 -1
- package/dist/collection/components/mds-input-date-range-preselection/documentation.json +4 -2
- package/dist/collection/components/mds-input-field/AGENTS.md +2 -1
- package/dist/collection/components/mds-input-field/documentation.json +4 -2
- package/dist/collection/components/mds-input-otp/AGENTS.md +2 -1
- package/dist/collection/components/mds-input-otp/documentation.json +5 -3
- package/dist/collection/components/mds-input-otp/pattern.md +1 -1
- package/dist/collection/components/mds-input-range/AGENTS.md +2 -1
- package/dist/collection/components/mds-input-range/documentation.json +4 -2
- package/dist/collection/components/mds-input-range/mds-input-range.css +7 -5
- package/dist/collection/components/mds-input-select/AGENTS.md +2 -1
- package/dist/collection/components/mds-input-select/documentation.json +4 -2
- package/dist/collection/components/mds-input-switch/AGENTS.md +2 -1
- package/dist/collection/components/mds-input-switch/documentation.json +4 -2
- package/dist/collection/components/mds-input-tip/AGENTS.md +2 -1
- package/dist/collection/components/mds-input-tip/documentation.json +4 -2
- package/dist/collection/components/mds-input-tip-item/AGENTS.md +2 -1
- package/dist/collection/components/mds-input-tip-item/documentation.json +4 -2
- package/dist/collection/components/mds-input-upload/AGENTS.md +2 -1
- package/dist/collection/components/mds-input-upload/documentation.json +4 -2
- package/dist/collection/components/mds-keyboard/AGENTS.md +2 -1
- package/dist/collection/components/mds-keyboard/documentation.json +4 -2
- package/dist/collection/components/mds-keyboard-key/AGENTS.md +2 -1
- package/dist/collection/components/mds-keyboard-key/documentation.json +4 -2
- package/dist/collection/components/mds-kpi/AGENTS.md +2 -1
- package/dist/collection/components/mds-kpi/documentation.json +4 -2
- package/dist/collection/components/mds-kpi-item/AGENTS.md +2 -1
- package/dist/collection/components/mds-kpi-item/documentation.json +4 -2
- package/dist/collection/components/mds-label/AGENTS.md +2 -1
- package/dist/collection/components/mds-label/documentation.json +4 -2
- package/dist/collection/components/mds-link/AGENTS.md +2 -1
- package/dist/collection/components/mds-link/documentation.json +4 -2
- package/dist/collection/components/mds-list/AGENTS.md +2 -1
- package/dist/collection/components/mds-list/documentation.json +4 -2
- package/dist/collection/components/mds-list-item/AGENTS.md +2 -1
- package/dist/collection/components/mds-list-item/documentation.json +4 -2
- package/dist/collection/components/mds-mention/AGENTS.md +2 -1
- package/dist/collection/components/mds-mention/documentation.json +4 -2
- package/dist/collection/components/mds-modal/AGENTS.md +5 -1
- package/dist/collection/components/mds-modal/documentation.json +5 -3
- package/dist/collection/components/mds-modal/mds-modal.css +136 -3
- package/dist/collection/components/mds-note/AGENTS.md +2 -1
- package/dist/collection/components/mds-note/documentation.json +4 -2
- package/dist/collection/components/mds-notification/AGENTS.md +2 -1
- package/dist/collection/components/mds-notification/documentation.json +4 -2
- package/dist/collection/components/mds-paginator/AGENTS.md +2 -1
- package/dist/collection/components/mds-paginator/documentation.json +4 -2
- package/dist/collection/components/mds-paginator-item/AGENTS.md +2 -1
- package/dist/collection/components/mds-paginator-item/documentation.json +4 -2
- package/dist/collection/components/mds-policy-ai/AGENTS.md +2 -1
- package/dist/collection/components/mds-policy-ai/documentation.json +4 -2
- package/dist/collection/components/mds-pref/AGENTS.md +2 -1
- package/dist/collection/components/mds-pref/documentation.json +4 -2
- package/dist/collection/components/mds-pref-animation/AGENTS.md +2 -1
- package/dist/collection/components/mds-pref-animation/documentation.json +4 -2
- package/dist/collection/components/mds-pref-consumption/AGENTS.md +2 -1
- package/dist/collection/components/mds-pref-consumption/documentation.json +4 -2
- package/dist/collection/components/mds-pref-contrast/AGENTS.md +2 -1
- package/dist/collection/components/mds-pref-contrast/documentation.json +4 -2
- package/dist/collection/components/mds-pref-language/AGENTS.md +2 -1
- package/dist/collection/components/mds-pref-language/documentation.json +4 -2
- package/dist/collection/components/mds-pref-language-item/AGENTS.md +2 -1
- package/dist/collection/components/mds-pref-language-item/documentation.json +4 -2
- package/dist/collection/components/mds-pref-mode/AGENTS.md +2 -1
- package/dist/collection/components/mds-pref-mode/documentation.json +4 -2
- package/dist/collection/components/mds-pref-theme/AGENTS.md +2 -1
- package/dist/collection/components/mds-pref-theme/documentation.json +4 -2
- package/dist/collection/components/mds-pref-theme-item/AGENTS.md +2 -1
- package/dist/collection/components/mds-pref-theme-item/documentation.json +4 -2
- package/dist/collection/components/mds-price-table/AGENTS.md +2 -1
- package/dist/collection/components/mds-price-table/documentation.json +4 -2
- package/dist/collection/components/mds-price-table-features/AGENTS.md +2 -1
- package/dist/collection/components/mds-price-table-features/documentation.json +4 -2
- package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +2 -1
- package/dist/collection/components/mds-price-table-features-cell/documentation.json +4 -2
- package/dist/collection/components/mds-price-table-features-row/AGENTS.md +2 -1
- package/dist/collection/components/mds-price-table-features-row/documentation.json +4 -2
- package/dist/collection/components/mds-price-table-header/AGENTS.md +2 -1
- package/dist/collection/components/mds-price-table-header/documentation.json +4 -2
- package/dist/collection/components/mds-price-table-list/AGENTS.md +2 -1
- package/dist/collection/components/mds-price-table-list/documentation.json +4 -2
- package/dist/collection/components/mds-price-table-list-item/AGENTS.md +2 -1
- package/dist/collection/components/mds-price-table-list-item/documentation.json +4 -2
- package/dist/collection/components/mds-progress/AGENTS.md +2 -1
- package/dist/collection/components/mds-progress/documentation.json +4 -2
- package/dist/collection/components/mds-push-notification/AGENTS.md +3 -2
- package/dist/collection/components/mds-push-notification/documentation.json +6 -4
- package/dist/collection/components/mds-push-notification/pattern.md +2 -2
- package/dist/collection/components/mds-push-notification-item/AGENTS.md +6 -3
- package/dist/collection/components/mds-push-notification-item/documentation.json +38 -5
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +1 -0
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +40 -5
- package/dist/collection/components/mds-push-notification-item/pattern.md +3 -3
- package/dist/collection/components/mds-quote/AGENTS.md +2 -1
- package/dist/collection/components/mds-quote/documentation.json +4 -2
- package/dist/collection/components/mds-radial-menu/AGENTS.md +2 -1
- package/dist/collection/components/mds-radial-menu/documentation.json +4 -2
- package/dist/collection/components/mds-radial-menu-item/AGENTS.md +2 -1
- package/dist/collection/components/mds-radial-menu-item/documentation.json +4 -2
- package/dist/collection/components/mds-radial-progress/AGENTS.md +2 -1
- package/dist/collection/components/mds-radial-progress/documentation.json +4 -2
- package/dist/collection/components/mds-separator/AGENTS.md +2 -1
- package/dist/collection/components/mds-separator/documentation.json +4 -2
- package/dist/collection/components/mds-spinner/AGENTS.md +2 -1
- package/dist/collection/components/mds-spinner/documentation.json +5 -3
- package/dist/collection/components/mds-spinner/pattern.md +9 -6
- package/dist/collection/components/mds-status-bar/AGENTS.md +2 -1
- package/dist/collection/components/mds-status-bar/documentation.json +4 -2
- package/dist/collection/components/mds-stepper-bar/AGENTS.md +2 -1
- package/dist/collection/components/mds-stepper-bar/documentation.json +4 -2
- package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +2 -1
- package/dist/collection/components/mds-stepper-bar-item/documentation.json +4 -2
- package/dist/collection/components/mds-tab/AGENTS.md +2 -1
- package/dist/collection/components/mds-tab/documentation.json +4 -2
- package/dist/collection/components/mds-tab-bar/AGENTS.md +2 -1
- package/dist/collection/components/mds-tab-bar/documentation.json +4 -2
- package/dist/collection/components/mds-tab-bar-item/AGENTS.md +2 -1
- package/dist/collection/components/mds-tab-bar-item/documentation.json +4 -2
- package/dist/collection/components/mds-tab-item/AGENTS.md +2 -1
- package/dist/collection/components/mds-tab-item/documentation.json +4 -2
- package/dist/collection/components/mds-table/AGENTS.md +2 -1
- package/dist/collection/components/mds-table/documentation.json +4 -2
- package/dist/collection/components/mds-table-body/AGENTS.md +2 -1
- package/dist/collection/components/mds-table-body/documentation.json +4 -2
- package/dist/collection/components/mds-table-cell/AGENTS.md +2 -1
- package/dist/collection/components/mds-table-cell/documentation.json +4 -2
- package/dist/collection/components/mds-table-footer/AGENTS.md +2 -1
- package/dist/collection/components/mds-table-footer/documentation.json +4 -2
- package/dist/collection/components/mds-table-header/AGENTS.md +2 -1
- package/dist/collection/components/mds-table-header/documentation.json +4 -2
- package/dist/collection/components/mds-table-header-cell/AGENTS.md +2 -1
- package/dist/collection/components/mds-table-header-cell/documentation.json +4 -2
- package/dist/collection/components/mds-table-row/AGENTS.md +7 -2
- package/dist/collection/components/mds-table-row/documentation.json +11 -3
- package/dist/collection/components/mds-table-row/mds-table-row.css +1 -0
- package/dist/collection/components/mds-table-row/pattern.md +14 -1
- package/dist/collection/components/mds-text/AGENTS.md +2 -1
- package/dist/collection/components/mds-text/documentation.json +4 -2
- package/dist/collection/components/mds-toast/AGENTS.md +8 -5
- package/dist/collection/components/mds-toast/antipattern.md +2 -2
- package/dist/collection/components/mds-toast/documentation.json +40 -6
- package/dist/collection/components/mds-toast/mds-toast.js +26 -4
- package/dist/collection/components/mds-toast/pattern.md +2 -2
- package/dist/collection/components/mds-toast-region/AGENTS.md +2 -1
- package/dist/collection/components/mds-toast-region/documentation.json +5 -3
- package/dist/collection/components/mds-toast-region/pattern.md +10 -2
- package/dist/collection/components/mds-tooltip/AGENTS.md +2 -1
- package/dist/collection/components/mds-tooltip/documentation.json +4 -2
- package/dist/collection/components/mds-tree/AGENTS.md +3 -2
- package/dist/collection/components/mds-tree/documentation.json +5 -3
- package/dist/collection/components/mds-tree/pattern.md +13 -13
- package/dist/collection/components/mds-tree-item/AGENTS.md +2 -1
- package/dist/collection/components/mds-tree-item/documentation.json +4 -2
- package/dist/collection/components/mds-url-view/AGENTS.md +2 -1
- package/dist/collection/components/mds-url-view/documentation.json +4 -2
- package/dist/collection/components/mds-usage/AGENTS.md +2 -1
- package/dist/collection/components/mds-usage/documentation.json +4 -2
- package/dist/collection/components/mds-video-wall/AGENTS.md +2 -1
- package/dist/collection/components/mds-video-wall/documentation.json +4 -2
- package/dist/collection/components/mds-zero/AGENTS.md +2 -1
- package/dist/collection/components/mds-zero/documentation.json +4 -2
- package/dist/components/mds-banner.js +1 -1
- package/dist/components/mds-book.js +1 -1
- package/dist/components/mds-calendar-cell.js +1 -1
- package/dist/components/mds-calendar.js +1 -1
- package/dist/components/mds-emoji.js +1 -1
- package/dist/components/mds-filter.js +1 -1
- package/dist/components/mds-header.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-range.js +1 -1
- package/dist/components/mds-modal.js +1 -1
- package/dist/components/mds-policy-ai.js +1 -1
- package/dist/components/mds-push-notification-item.js +1 -1
- package/dist/components/mds-status-bar.js +1 -1
- package/dist/components/mds-toast.js +1 -1
- package/dist/components/p-BeZGLnJJ.js +1 -0
- package/dist/components/p-Chk4rI7N.js +1 -0
- package/dist/components/{p-CNpL55c-.js → p-Cwg4vtOr.js} +1 -1
- package/dist/components/p-Dzkiu-es.js +1 -0
- package/dist/documentation.json +406 -143
- package/dist/esm/loader.js +1 -1
- package/dist/esm/magma-components.js +1 -1
- package/dist/esm/mds-banner_3.entry.js +7 -6
- package/dist/esm/mds-book.entry.js +53 -5
- package/dist/esm/mds-calendar_2.entry.js +1 -1
- package/dist/esm/mds-emoji.entry.js +39 -9
- package/dist/esm/mds-filter.entry.js +1 -1
- package/dist/esm/mds-input-range.entry.js +1 -1
- package/dist/esm/mds-modal.entry.js +1 -1
- package/dist/esm/mds-push-notification-item.entry.js +17 -4
- package/dist/esm/mds-toast.entry.js +2 -2
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/magma-components.js +1 -1
- package/dist/esm-es5/mds-banner_3.entry.js +2 -2
- package/dist/esm-es5/mds-book.entry.js +33 -26
- package/dist/esm-es5/mds-calendar_2.entry.js +8 -8
- package/dist/esm-es5/mds-emoji.entry.js +40 -31
- package/dist/esm-es5/mds-filter.entry.js +1 -1
- package/dist/esm-es5/mds-input-range.entry.js +7 -7
- package/dist/esm-es5/mds-modal.entry.js +15 -15
- package/dist/esm-es5/mds-push-notification-item.entry.js +7 -3
- package/dist/esm-es5/mds-toast.entry.js +2 -2
- package/dist/hydrate/index.js +130 -32
- package/dist/hydrate/index.mjs +130 -32
- package/dist/lint/core/checks.d.ts +5 -0
- package/dist/lint/core/checks.js +17 -0
- package/dist/lint/core/data.d.ts +4 -1
- package/dist/lint/core/data.js +3 -1
- package/dist/lint/eslint/index.js +6 -4
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/{p-354a5b47.entry.js → p-02b106c2.entry.js} +1 -1
- package/dist/magma-components/{p-17ccfc01.system.entry.js → p-3bc65166.system.entry.js} +55 -48
- package/dist/magma-components/p-425ca155.entry.js +1 -0
- package/dist/magma-components/p-523f0c30.system.entry.js +80 -0
- package/dist/magma-components/{p-07d35da6.entry.js → p-5306606b.entry.js} +1 -1
- package/dist/magma-components/{p-1b67b149.system.entry.js → p-798f460b.system.entry.js} +1 -1
- package/dist/magma-components/{p-e5f893f9.system.entry.js → p-7db14777.system.entry.js} +1 -1
- package/dist/magma-components/{p-e8452cce.entry.js → p-8641b7b2.entry.js} +1 -1
- package/dist/magma-components/{p-3a7c4314.system.entry.js → p-95ccf46d.system.entry.js} +4 -4
- package/dist/magma-components/p-968a2237.entry.js +1 -0
- package/dist/magma-components/p-9dd9eadd.entry.js +1 -0
- package/dist/magma-components/p-B8zYiZQY.system.js +1 -1
- package/dist/magma-components/{p-160cd923.entry.js → p-a25327a1.entry.js} +1 -1
- package/dist/magma-components/p-a67381bf.entry.js +1 -0
- package/dist/magma-components/{p-c2c693ed.system.entry.js → p-b27cb1ac.system.entry.js} +14 -5
- package/dist/magma-components/{p-6df26141.system.entry.js → p-c0286dc3.system.entry.js} +1 -1
- package/dist/magma-components/p-c89060ec.system.entry.js +41 -0
- package/dist/magma-components/p-eb12be86.system.entry.js +24 -0
- package/dist/magma-components/p-ebeb3fff.entry.js +1 -0
- package/dist/stats.json +383 -139
- package/dist/types/components/mds-banner/mds-banner.d.ts +9 -2
- package/dist/types/components/mds-book/mds-book.d.ts +19 -2
- package/dist/types/components/mds-emoji/mds-emoji.d.ts +1 -0
- package/dist/types/components/mds-push-notification-item/mds-push-notification-item.d.ts +10 -1
- package/dist/types/components/mds-toast/mds-toast.d.ts +7 -1
- package/dist/types/components.d.ts +56 -12
- package/package.json +8 -8
- package/dist/components/p-B8hgyXdE.js +0 -1
- package/dist/components/p-CYK2Xr_v.js +0 -1
- package/dist/components/p-DbVGGhs_.js +0 -1
- package/dist/magma-components/p-14b13850.entry.js +0 -1
- package/dist/magma-components/p-386bb24e.system.entry.js +0 -41
- package/dist/magma-components/p-6d96d223.entry.js +0 -1
- package/dist/magma-components/p-79fd07e7.system.entry.js +0 -80
- package/dist/magma-components/p-7e7391fd.entry.js +0 -1
- package/dist/magma-components/p-df387755.entry.js +0 -1
- package/dist/magma-components/p-ee780f82.system.entry.js +0 -20
- package/dist/magma-components/p-f2211b1f.entry.js +0 -1
|
@@ -53,7 +53,10 @@ mds-button {
|
|
|
53
53
|
var(--ease-in-out-quint, cubic-bezier(0.86, 0, 0.07, 1))
|
|
54
54
|
);
|
|
55
55
|
--mds-modal-window-background: rgb(var(--magma-surface-overlay, var(--surface-neutral-overlay, 255 255 255)));
|
|
56
|
-
|
|
56
|
+
|
|
57
|
+
/* 0px, not 0: the height subtracts it from 100dvh, and calc() cannot take a number from a
|
|
58
|
+
* length; unless globals.css registers it, the window lost its height and max-height (#1143) */
|
|
59
|
+
--mds-modal-window-distance: 0px;
|
|
57
60
|
--mds-modal-window-height: calc(100dvh - calc(var(--mds-modal-window-distance, 0) * 2));
|
|
58
61
|
--mds-modal-window-max-height: calc(100dvh - calc(var(--mds-modal-window-distance, 0) * 2));
|
|
59
62
|
--mds-modal-window-overflow: auto;
|
|
@@ -396,10 +399,15 @@ mds-button {
|
|
|
396
399
|
/* `overflow` here is the closed/initial state. While the window's transform is
|
|
397
400
|
* animating, the component freezes this to `hidden` inline and restores it on
|
|
398
401
|
* the transform's `transitionend` (a live overflow:auto with overflowing
|
|
399
|
-
* content janks the transform). See setContentOverflow in the component.
|
|
402
|
+
* content janks the transform). See setContentOverflow in the component.
|
|
403
|
+
*
|
|
404
|
+
* The max height is the window's own: a window as tall as its content sizes
|
|
405
|
+
* this box before its max height applies, and a box taller than the window
|
|
406
|
+
* made the window scroll too, with the end of the content under its bottom
|
|
407
|
+
* edge (#1160, top and bottom on a narrow screen). */
|
|
400
408
|
|
|
401
409
|
.window-content-wrapper {
|
|
402
|
-
max-height:
|
|
410
|
+
max-height: var(--mds-modal-window-max-height);
|
|
403
411
|
overflow: hidden;
|
|
404
412
|
}
|
|
405
413
|
|
|
@@ -644,6 +652,81 @@ mds-button {
|
|
|
644
652
|
:host([position='right']) {
|
|
645
653
|
--private-modal-width: calc(100% - var(--private-modal-window-close-margin));
|
|
646
654
|
}
|
|
655
|
+
|
|
656
|
+
/* The windows that fill the screen here leave a strip of backdrop at the top, as the side
|
|
657
|
+
* positions leave one at their side: the built-in close button sits in it, and a tap on it
|
|
658
|
+
* closes a relaxed modal. Without it a phone could close them only from their content or
|
|
659
|
+
* with Esc (#1143). top and bottom are as tall as their content, the backdrop around them. */
|
|
660
|
+
|
|
661
|
+
:host([position='bottom-left']),
|
|
662
|
+
:host([position='bottom-right']),
|
|
663
|
+
:host([position='center']),
|
|
664
|
+
:host([position='top-left']),
|
|
665
|
+
:host([position='top-right']) {
|
|
666
|
+
--mds-modal-window-height: calc(
|
|
667
|
+
100dvh - var(--private-modal-window-close-margin) - var(--mds-modal-window-distance, 0) * 2
|
|
668
|
+
);
|
|
669
|
+
--mds-modal-window-max-height: var(--mds-modal-window-height);
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
:host([position='bottom-left']) .dialog,
|
|
673
|
+
:host([position='bottom-right']) .dialog,
|
|
674
|
+
:host([position='center']) .dialog,
|
|
675
|
+
:host([position='top-left']) .dialog,
|
|
676
|
+
:host([position='top-right']) .dialog {
|
|
677
|
+
align-items: flex-end;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
/* top and bottom stay as tall as their content, but never taller than the screen less the
|
|
681
|
+
* strip, which stays on their free side: a tall content covered the whole screen, with the close
|
|
682
|
+
* button hidden (#1160). The button sits in the strip at the edge of the screen, for bottom at
|
|
683
|
+
* the top right as for the windows above, for top at the bottom right. */
|
|
684
|
+
|
|
685
|
+
:host([position='bottom']),
|
|
686
|
+
:host([position='top']) {
|
|
687
|
+
--mds-modal-window-max-height: calc(
|
|
688
|
+
100dvh - var(--private-modal-window-close-margin) - var(--mds-modal-window-distance, 0) * 2
|
|
689
|
+
);
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
:host([position='bottom']) .action-close,
|
|
693
|
+
:host([position='bottom-left']) .action-close,
|
|
694
|
+
:host([position='bottom-right']) .action-close,
|
|
695
|
+
:host([position='center']) .action-close,
|
|
696
|
+
:host([position='top-left']) .action-close,
|
|
697
|
+
:host([position='top-right']) .action-close {
|
|
698
|
+
right: --spacing(300);
|
|
699
|
+
top: --spacing(300);
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
:host([position='top']) .action-close {
|
|
703
|
+
bottom: --spacing(300);
|
|
704
|
+
right: --spacing(300);
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
:host([position='bottom'][opened]) .action-close,
|
|
708
|
+
:host([position='bottom-left'][opened]) .action-close,
|
|
709
|
+
:host([position='bottom-right'][opened]) .action-close,
|
|
710
|
+
:host([position='center'][opened]) .action-close,
|
|
711
|
+
:host([position='top'][opened]) .action-close,
|
|
712
|
+
:host([position='top-left'][opened]) .action-close,
|
|
713
|
+
:host([position='top-right'][opened]) .action-close {
|
|
714
|
+
opacity: 1;
|
|
715
|
+
pointer-events: auto;
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
:host([position='bottom']:not([opened])) .action-close,
|
|
719
|
+
:host([position='bottom-left']:not([opened])) .action-close,
|
|
720
|
+
:host([position='bottom-right']:not([opened])) .action-close,
|
|
721
|
+
:host([position='center']:not([opened])) .action-close,
|
|
722
|
+
:host([position='top-left']:not([opened])) .action-close,
|
|
723
|
+
:host([position='top-right']:not([opened])) .action-close {
|
|
724
|
+
transform: translateY(-120%) rotate(45deg);
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
:host([position='top']:not([opened])) .action-close {
|
|
728
|
+
transform: translateY(120%) rotate(-45deg);
|
|
729
|
+
}
|
|
647
730
|
}
|
|
648
731
|
|
|
649
732
|
@media (width > 480px) {
|
|
@@ -661,6 +744,56 @@ mds-button {
|
|
|
661
744
|
:host([position='right']) {
|
|
662
745
|
--private-modal-width: var(--mds-modal-window-max-width, 33%);
|
|
663
746
|
}
|
|
747
|
+
|
|
748
|
+
/* Every window leaves a strip of backdrop at its side, as left and right do, with the close
|
|
749
|
+
* button at the top of it: it was hidden, and a strict modal had nothing else to be closed by
|
|
750
|
+
* (#1160). The corners already leave the strip on the side away from their own; center, top and
|
|
751
|
+
* bottom leave one on each side, where the 40px they left were too few for the button. */
|
|
752
|
+
|
|
753
|
+
:host([position='bottom']),
|
|
754
|
+
:host([position='center']),
|
|
755
|
+
:host([position='top']) {
|
|
756
|
+
--private-modal-width: calc(100vw - var(--private-modal-window-close-margin) * 2);
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
:host([position='bottom']) .action-close,
|
|
760
|
+
:host([position='bottom-left']) .action-close,
|
|
761
|
+
:host([position='center']) .action-close,
|
|
762
|
+
:host([position='top']) .action-close,
|
|
763
|
+
:host([position='top-left']) .action-close {
|
|
764
|
+
right: --spacing(300);
|
|
765
|
+
top: --spacing(300);
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
:host([position='bottom-right']) .action-close,
|
|
769
|
+
:host([position='top-right']) .action-close {
|
|
770
|
+
left: --spacing(300);
|
|
771
|
+
top: --spacing(300);
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
:host([position='bottom'][opened]) .action-close,
|
|
775
|
+
:host([position='bottom-left'][opened]) .action-close,
|
|
776
|
+
:host([position='bottom-right'][opened]) .action-close,
|
|
777
|
+
:host([position='center'][opened]) .action-close,
|
|
778
|
+
:host([position='top'][opened]) .action-close,
|
|
779
|
+
:host([position='top-left'][opened]) .action-close,
|
|
780
|
+
:host([position='top-right'][opened]) .action-close {
|
|
781
|
+
opacity: 1;
|
|
782
|
+
pointer-events: auto;
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
:host([position='bottom']:not([opened])) .action-close,
|
|
786
|
+
:host([position='bottom-left']:not([opened])) .action-close,
|
|
787
|
+
:host([position='center']:not([opened])) .action-close,
|
|
788
|
+
:host([position='top']:not([opened])) .action-close,
|
|
789
|
+
:host([position='top-left']:not([opened])) .action-close {
|
|
790
|
+
transform: translateY(-120%) rotate(45deg);
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
:host([position='bottom-right']:not([opened])) .action-close,
|
|
794
|
+
:host([position='top-right']:not([opened])) .action-close {
|
|
795
|
+
transform: translateY(-120%) rotate(-45deg);
|
|
796
|
+
}
|
|
664
797
|
}
|
|
665
798
|
|
|
666
799
|
/*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-note
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.9.0. Shadow DOM: style it only through the public CSS custom properties and the parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-note>` web component is the annotation surface of the Magma Design System: a short, colored sticky-note block used to attach a remark, reminder, or callout to surrounding content. It has no native HTML primitive - it renders as a semantic note region with an optional title and a decorative folded corner.
|
|
12
12
|
|
|
@@ -31,6 +31,7 @@ The `<mds-note>` web component is the annotation surface of the Magma Design Sys
|
|
|
31
31
|
|
|
32
32
|
- [`pattern.md`](pattern.md) - correct usage, with examples
|
|
33
33
|
- [`antipattern.md`](antipattern.md) - mistakes to avoid
|
|
34
|
+
- [Storybook](https://magma-design-system.github.io/magma/storybook/?path=/docs/ui-note--docs) - the live examples, in the published Storybook of `main`
|
|
34
35
|
- [`conventions.md`](../../../../agents/conventions.md), [`variants.md`](../../../../agents/variants.md), [`anti-patterns.md`](../../../../agents/anti-patterns.md) - the rules shared by every component
|
|
35
36
|
|
|
36
37
|
## Props
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-10-
|
|
2
|
+
"timestamp": "2026-10-27T10:28:31",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.45.2",
|
|
6
6
|
"typescriptVersion": "5.8.3"
|
|
7
7
|
},
|
|
8
|
+
"storybook": "https://magma-design-system.github.io/magma/storybook/",
|
|
8
9
|
"components": [
|
|
9
10
|
{
|
|
10
11
|
"filePath": "src/components/mds-note/mds-note.tsx",
|
|
@@ -229,7 +230,8 @@
|
|
|
229
230
|
"mds-icon",
|
|
230
231
|
"mds-text"
|
|
231
232
|
]
|
|
232
|
-
}
|
|
233
|
+
},
|
|
234
|
+
"storybook": "ui-note--docs"
|
|
233
235
|
}
|
|
234
236
|
]
|
|
235
237
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-notification
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.9.0. Shadow DOM: style it only through the public CSS custom properties and the parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-notification>` web component is a numeric badge/dot indicator of the Magma Design System that attaches to another element (an icon, a button, an avatar) to signal a count of pending items. It has no HTML primitive equivalent: it positions itself relative to a target element rather than wrapping content of its own.
|
|
12
12
|
|
|
@@ -33,6 +33,7 @@ The `<mds-notification>` web component is a numeric badge/dot indicator of the M
|
|
|
33
33
|
|
|
34
34
|
- [`pattern.md`](pattern.md) - correct usage, with examples
|
|
35
35
|
- [`antipattern.md`](antipattern.md) - mistakes to avoid
|
|
36
|
+
- [Storybook](https://magma-design-system.github.io/magma/storybook/?path=/docs/ui-notification--docs) - the live examples, in the published Storybook of `main`
|
|
36
37
|
- [`conventions.md`](../../../../agents/conventions.md), [`variants.md`](../../../../agents/variants.md), [`anti-patterns.md`](../../../../agents/anti-patterns.md) - the rules shared by every component
|
|
37
38
|
|
|
38
39
|
## Props
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-10-
|
|
2
|
+
"timestamp": "2026-10-27T10:28:31",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.45.2",
|
|
6
6
|
"typescriptVersion": "5.8.3"
|
|
7
7
|
},
|
|
8
|
+
"storybook": "https://magma-design-system.github.io/magma/storybook/",
|
|
8
9
|
"components": [
|
|
9
10
|
{
|
|
10
11
|
"filePath": "src/components/mds-notification/mds-notification.tsx",
|
|
@@ -269,7 +270,8 @@
|
|
|
269
270
|
"mds-notification": [
|
|
270
271
|
"mds-text"
|
|
271
272
|
]
|
|
272
|
-
}
|
|
273
|
+
},
|
|
274
|
+
"storybook": "ui-notification--docs"
|
|
273
275
|
}
|
|
274
276
|
]
|
|
275
277
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-paginator
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.9.0. Shadow DOM: style it only through the public CSS custom properties and the parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-paginator>` web component is the page-navigation control of the Magma Design System. It renders a horizontal strip of numbered page items framed by previous/next arrows, replacing an ad-hoc set of links or buttons with a single self-managing control.
|
|
12
12
|
|
|
@@ -31,6 +31,7 @@ This component does not use the shared `variant` / `tone` ladders defined in [`a
|
|
|
31
31
|
|
|
32
32
|
- [`pattern.md`](pattern.md) - correct usage, with examples
|
|
33
33
|
- [`antipattern.md`](antipattern.md) - mistakes to avoid
|
|
34
|
+
- [Storybook](https://magma-design-system.github.io/magma/storybook/?path=/docs/ui-paginator--docs) - the live examples, in the published Storybook of `main`
|
|
34
35
|
- [`conventions.md`](../../../../agents/conventions.md), [`variants.md`](../../../../agents/variants.md), [`anti-patterns.md`](../../../../agents/anti-patterns.md) - the rules shared by every component
|
|
35
36
|
|
|
36
37
|
## Props
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-10-
|
|
2
|
+
"timestamp": "2026-10-27T10:28:31",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.45.2",
|
|
6
6
|
"typescriptVersion": "5.8.3"
|
|
7
7
|
},
|
|
8
|
+
"storybook": "https://magma-design-system.github.io/magma/storybook/",
|
|
8
9
|
"components": [
|
|
9
10
|
{
|
|
10
11
|
"filePath": "src/components/mds-paginator/mds-paginator.tsx",
|
|
@@ -136,7 +137,8 @@
|
|
|
136
137
|
"mds-icon",
|
|
137
138
|
"mds-text"
|
|
138
139
|
]
|
|
139
|
-
}
|
|
140
|
+
},
|
|
141
|
+
"storybook": "ui-paginator--docs"
|
|
140
142
|
}
|
|
141
143
|
]
|
|
142
144
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-paginator-item
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.9.0. Shadow DOM: style it only through the public CSS custom properties and the parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-paginator-item>` web component is a compound child of [`<mds-paginator>`](../mds-paginator/AGENTS.md) that renders a single clickable cell of the pagination control: either a numbered page or a navigation arrow. It has no standalone meaning and exists only to be orchestrated by its parent, which owns page state and emits the page-change event.
|
|
12
12
|
|
|
@@ -33,6 +33,7 @@ Visual appearance (size, radius, colors, shadows for the default, hover, selecte
|
|
|
33
33
|
|
|
34
34
|
- [`pattern.md`](pattern.md) - correct usage, with examples
|
|
35
35
|
- [`antipattern.md`](antipattern.md) - mistakes to avoid
|
|
36
|
+
- [Storybook](https://magma-design-system.github.io/magma/storybook/?path=/docs/ui-paginator-item--docs) - the live examples, in the published Storybook of `main`
|
|
36
37
|
- [`conventions.md`](../../../../agents/conventions.md), [`variants.md`](../../../../agents/variants.md), [`anti-patterns.md`](../../../../agents/anti-patterns.md) - the rules shared by every component
|
|
37
38
|
|
|
38
39
|
## Props
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-10-
|
|
2
|
+
"timestamp": "2026-10-27T10:28:31",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.45.2",
|
|
6
6
|
"typescriptVersion": "5.8.3"
|
|
7
7
|
},
|
|
8
|
+
"storybook": "https://magma-design-system.github.io/magma/storybook/",
|
|
8
9
|
"components": [
|
|
9
10
|
{
|
|
10
11
|
"filePath": "src/components/mds-paginator-item/mds-paginator-item.tsx",
|
|
@@ -218,7 +219,8 @@
|
|
|
218
219
|
"mds-paginator": [
|
|
219
220
|
"mds-paginator-item"
|
|
220
221
|
]
|
|
221
|
-
}
|
|
222
|
+
},
|
|
223
|
+
"storybook": "ui-paginator-item--docs"
|
|
222
224
|
}
|
|
223
225
|
]
|
|
224
226
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-policy-ai
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.9.0. Shadow DOM: style it only through the public CSS custom properties and the parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-policy-ai>` web component is the Magma Design System disclosure marker that flags AI-generated content as produced by MIA (Maggioli's artificial intelligence) and links to the official AI usage policy. It is a presentational compound component with no native HTML primitive, rendering one of four interchangeable surfaces (icon, chip, card, banner).
|
|
12
12
|
|
|
@@ -33,6 +33,7 @@ The internal surfaces are fixed to `variant="ai"` of their underlying Magma comp
|
|
|
33
33
|
|
|
34
34
|
- [`pattern.md`](pattern.md) - correct usage, with examples
|
|
35
35
|
- [`antipattern.md`](antipattern.md) - mistakes to avoid
|
|
36
|
+
- [Storybook](https://magma-design-system.github.io/magma/storybook/?path=/docs/ui-policy-ai--docs) - the live examples, in the published Storybook of `main`
|
|
36
37
|
- [`conventions.md`](../../../../agents/conventions.md), [`variants.md`](../../../../agents/variants.md), [`anti-patterns.md`](../../../../agents/anti-patterns.md) - the rules shared by every component
|
|
37
38
|
|
|
38
39
|
## Props
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-10-
|
|
2
|
+
"timestamp": "2026-10-27T10:28:31",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.45.2",
|
|
6
6
|
"typescriptVersion": "5.8.3"
|
|
7
7
|
},
|
|
8
|
+
"storybook": "https://magma-design-system.github.io/magma/storybook/",
|
|
8
9
|
"components": [
|
|
9
10
|
{
|
|
10
11
|
"filePath": "src/components/mds-policy-ai/mds-policy-ai.tsx",
|
|
@@ -250,7 +251,8 @@
|
|
|
250
251
|
"mds-text",
|
|
251
252
|
"mds-button"
|
|
252
253
|
]
|
|
253
|
-
}
|
|
254
|
+
},
|
|
255
|
+
"storybook": "ui-policy-ai--docs"
|
|
254
256
|
}
|
|
255
257
|
]
|
|
256
258
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-pref
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.9.0. Shadow DOM: style it only through the public CSS custom properties and the parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-pref>` web component is the accessibility-preferences panel of the Magma Design System: a compound parent that groups user-facing settings (animation, consumption, contrast, theme, language) so people can tune readability, motion, and language for their session. It acts as the coordinator for the `mds-pref-*` children slotted inside it.
|
|
12
12
|
|
|
@@ -30,6 +30,7 @@ The `<mds-pref>` web component is the accessibility-preferences panel of the Mag
|
|
|
30
30
|
|
|
31
31
|
- [`pattern.md`](pattern.md) - correct usage, with examples
|
|
32
32
|
- [`antipattern.md`](antipattern.md) - mistakes to avoid
|
|
33
|
+
- [Storybook](https://magma-design-system.github.io/magma/storybook/?path=/docs/ui-preferences--docs) - the live examples, in the published Storybook of `main`
|
|
33
34
|
- [`conventions.md`](../../../../agents/conventions.md), [`variants.md`](../../../../agents/variants.md), [`anti-patterns.md`](../../../../agents/anti-patterns.md) - the rules shared by every component
|
|
34
35
|
|
|
35
36
|
## Props
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-10-
|
|
2
|
+
"timestamp": "2026-10-27T10:28:31",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.45.2",
|
|
6
6
|
"typescriptVersion": "5.8.3"
|
|
7
7
|
},
|
|
8
|
+
"storybook": "https://magma-design-system.github.io/magma/storybook/",
|
|
8
9
|
"components": [
|
|
9
10
|
{
|
|
10
11
|
"filePath": "src/components/mds-pref/mds-pref.tsx",
|
|
@@ -143,7 +144,8 @@
|
|
|
143
144
|
"mds-pref": [
|
|
144
145
|
"mds-text"
|
|
145
146
|
]
|
|
146
|
-
}
|
|
147
|
+
},
|
|
148
|
+
"storybook": "ui-preferences--docs"
|
|
147
149
|
}
|
|
148
150
|
]
|
|
149
151
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-pref-animation
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.9.0. Shadow DOM: style it only through the public CSS custom properties and the parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-pref-animation>` web component is a preference control that lets users choose how animations are presented (reduced, system-driven, or fully enabled). It is usually a child of [`<mds-pref>`](../mds-pref/AGENTS.md) and renders a labelled three-option tab group rather than any native HTML primitive.
|
|
12
12
|
|
|
@@ -28,6 +28,7 @@ The `<mds-pref-animation>` web component is a preference control that lets users
|
|
|
28
28
|
|
|
29
29
|
- [`pattern.md`](pattern.md) - correct usage, with examples
|
|
30
30
|
- [`antipattern.md`](antipattern.md) - mistakes to avoid
|
|
31
|
+
- [Storybook](https://magma-design-system.github.io/magma/storybook/?path=/docs/ui-preferences-animation--docs) - the live examples, in the published Storybook of `main`
|
|
31
32
|
- [`conventions.md`](../../../../agents/conventions.md), [`variants.md`](../../../../agents/variants.md), [`anti-patterns.md`](../../../../agents/anti-patterns.md) - the rules shared by every component
|
|
32
33
|
|
|
33
34
|
## Props
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-10-
|
|
2
|
+
"timestamp": "2026-10-27T10:28:31",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.45.2",
|
|
6
6
|
"typescriptVersion": "5.8.3"
|
|
7
7
|
},
|
|
8
|
+
"storybook": "https://magma-design-system.github.io/magma/storybook/",
|
|
8
9
|
"components": [
|
|
9
10
|
{
|
|
10
11
|
"filePath": "src/components/mds-pref-animation/mds-pref-animation.tsx",
|
|
@@ -153,7 +154,8 @@
|
|
|
153
154
|
"mds-icon",
|
|
154
155
|
"mds-text"
|
|
155
156
|
]
|
|
156
|
-
}
|
|
157
|
+
},
|
|
158
|
+
"storybook": "ui-preferences-animation--docs"
|
|
157
159
|
}
|
|
158
160
|
]
|
|
159
161
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-pref-consumption
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.9.0. Shadow DOM: style it only through the public CSS custom properties and the parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-pref-consumption>` web component is a preference control of the Magma Design System that lets the user pick an energy-consumption mode (`low`, `medium`, `high`); it is usually a child of [`<mds-pref>`](../mds-pref/AGENTS.md) and renders as a tab group with one option per mode, so it has no native HTML primitive equivalent.
|
|
12
12
|
|
|
@@ -27,6 +27,7 @@ The `<mds-pref-consumption>` web component is a preference control of the Magma
|
|
|
27
27
|
|
|
28
28
|
- [`pattern.md`](pattern.md) - correct usage, with examples
|
|
29
29
|
- [`antipattern.md`](antipattern.md) - mistakes to avoid
|
|
30
|
+
- [Storybook](https://magma-design-system.github.io/magma/storybook/?path=/docs/ui-preferences-consumption--docs) - the live examples, in the published Storybook of `main`
|
|
30
31
|
- [`conventions.md`](../../../../agents/conventions.md), [`variants.md`](../../../../agents/variants.md), [`anti-patterns.md`](../../../../agents/anti-patterns.md) - the rules shared by every component
|
|
31
32
|
|
|
32
33
|
## Props
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-10-
|
|
2
|
+
"timestamp": "2026-10-27T10:28:31",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.45.2",
|
|
6
6
|
"typescriptVersion": "5.8.3"
|
|
7
7
|
},
|
|
8
|
+
"storybook": "https://magma-design-system.github.io/magma/storybook/",
|
|
8
9
|
"components": [
|
|
9
10
|
{
|
|
10
11
|
"filePath": "src/components/mds-pref-consumption/mds-pref-consumption.tsx",
|
|
@@ -153,7 +154,8 @@
|
|
|
153
154
|
"mds-icon",
|
|
154
155
|
"mds-text"
|
|
155
156
|
]
|
|
156
|
-
}
|
|
157
|
+
},
|
|
158
|
+
"storybook": "ui-preferences-consumption--docs"
|
|
157
159
|
}
|
|
158
160
|
]
|
|
159
161
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-pref-contrast
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.9.0. Shadow DOM: style it only through the public CSS custom properties and the parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-pref-contrast>` web component is a preference control that lets users switch the application's contrast mode (`more`, `system`, or `no-preference`). It is usually a child of the [`<mds-pref>`](../mds-pref/AGENTS.md) panel and renders as a segmented tab of icon options rather than any single native HTML primitive.
|
|
12
12
|
|
|
@@ -30,6 +30,7 @@ The component does not use the shared `variant` / `tone` ladders documented in [
|
|
|
30
30
|
|
|
31
31
|
- [`pattern.md`](pattern.md) - correct usage, with examples
|
|
32
32
|
- [`antipattern.md`](antipattern.md) - mistakes to avoid
|
|
33
|
+
- [Storybook](https://magma-design-system.github.io/magma/storybook/?path=/docs/ui-preferences-contrast--docs) - the live examples, in the published Storybook of `main`
|
|
33
34
|
- [`conventions.md`](../../../../agents/conventions.md), [`variants.md`](../../../../agents/variants.md), [`anti-patterns.md`](../../../../agents/anti-patterns.md) - the rules shared by every component
|
|
34
35
|
|
|
35
36
|
## Props
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-10-
|
|
2
|
+
"timestamp": "2026-10-27T10:28:31",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.45.2",
|
|
6
6
|
"typescriptVersion": "5.8.3"
|
|
7
7
|
},
|
|
8
|
+
"storybook": "https://magma-design-system.github.io/magma/storybook/",
|
|
8
9
|
"components": [
|
|
9
10
|
{
|
|
10
11
|
"filePath": "src/components/mds-pref-contrast/mds-pref-contrast.tsx",
|
|
@@ -153,7 +154,8 @@
|
|
|
153
154
|
"mds-icon",
|
|
154
155
|
"mds-text"
|
|
155
156
|
]
|
|
156
|
-
}
|
|
157
|
+
},
|
|
158
|
+
"storybook": "ui-preferences-contrast--docs"
|
|
157
159
|
}
|
|
158
160
|
]
|
|
159
161
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-pref-language
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.9.0. Shadow DOM: style it only through the public CSS custom properties and the parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-pref-language>` web component is the language-preference control of the Magma Design System, usually slotted inside the [`<mds-pref>`](../mds-pref/AGENTS.md) panel alongside the other preference children. It renders a labelled tab trigger that opens a dropdown of `<mds-pref-language-item>` entries, letting users switch the active document language and persisting that choice.
|
|
12
12
|
|
|
@@ -29,6 +29,7 @@ The `<mds-pref-language>` web component is the language-preference control of th
|
|
|
29
29
|
|
|
30
30
|
- [`pattern.md`](pattern.md) - correct usage, with examples
|
|
31
31
|
- [`antipattern.md`](antipattern.md) - mistakes to avoid
|
|
32
|
+
- [Storybook](https://magma-design-system.github.io/magma/storybook/?path=/docs/ui-preferences-language--docs) - the live examples, in the published Storybook of `main`
|
|
32
33
|
- [`conventions.md`](../../../../agents/conventions.md), [`variants.md`](../../../../agents/variants.md), [`anti-patterns.md`](../../../../agents/anti-patterns.md) - the rules shared by every component
|
|
33
34
|
|
|
34
35
|
## Props
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-10-
|
|
2
|
+
"timestamp": "2026-10-27T10:28:31",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.45.2",
|
|
6
6
|
"typescriptVersion": "5.8.3"
|
|
7
7
|
},
|
|
8
|
+
"storybook": "https://magma-design-system.github.io/magma/storybook/",
|
|
8
9
|
"components": [
|
|
9
10
|
{
|
|
10
11
|
"filePath": "src/components/mds-pref-language/mds-pref-language.tsx",
|
|
@@ -182,7 +183,8 @@
|
|
|
182
183
|
"mds-icon",
|
|
183
184
|
"mds-text"
|
|
184
185
|
]
|
|
185
|
-
}
|
|
186
|
+
},
|
|
187
|
+
"storybook": "ui-preferences-language--docs"
|
|
186
188
|
}
|
|
187
189
|
]
|
|
188
190
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-pref-language-item
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.9.0. Shadow DOM: style it only through the public CSS custom properties and the parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-pref-language-item>` web component represents a single selectable language option inside the language-preference picker [`<mds-pref-language>`](../mds-pref-language/AGENTS.md). It renders one row of the parent's dropdown and reports the user's choice up to the parent rather than changing the page language itself.
|
|
12
12
|
|
|
@@ -28,6 +28,7 @@ The only meaningful prop is `code`: the BCP 47 / RFC 5646 language tag (such as
|
|
|
28
28
|
|
|
29
29
|
- [`pattern.md`](pattern.md) - correct usage, with examples
|
|
30
30
|
- [`antipattern.md`](antipattern.md) - mistakes to avoid
|
|
31
|
+
- [Storybook](https://magma-design-system.github.io/magma/storybook/?path=/docs/ui-preferences-language-item--docs) - the live examples, in the published Storybook of `main`
|
|
31
32
|
- [`conventions.md`](../../../../agents/conventions.md), [`variants.md`](../../../../agents/variants.md), [`anti-patterns.md`](../../../../agents/anti-patterns.md) - the rules shared by every component
|
|
32
33
|
|
|
33
34
|
## Props
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-10-
|
|
2
|
+
"timestamp": "2026-10-27T10:28:31",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.45.2",
|
|
6
6
|
"typescriptVersion": "5.8.3"
|
|
7
7
|
},
|
|
8
|
+
"storybook": "https://magma-design-system.github.io/magma/storybook/",
|
|
8
9
|
"components": [
|
|
9
10
|
{
|
|
10
11
|
"filePath": "src/components/mds-pref-language-item/mds-pref-language-item.tsx",
|
|
@@ -126,7 +127,8 @@
|
|
|
126
127
|
"mds-icon",
|
|
127
128
|
"mds-text"
|
|
128
129
|
]
|
|
129
|
-
}
|
|
130
|
+
},
|
|
131
|
+
"storybook": "ui-preferences-language-item--docs"
|
|
130
132
|
}
|
|
131
133
|
]
|
|
132
134
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-pref-mode
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.9.0. Shadow DOM: style it only through the public CSS custom properties and the parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-pref-mode>` web component is the mode preference control of the Magma Design System, usually a direct child of the [`<mds-pref>`](../mds-pref/AGENTS.md) panel. It renders a labelled three-way tab (light / system / dark) that lets the user pick a color-scheme mode and applies it globally to the document.
|
|
12
12
|
|
|
@@ -30,6 +30,7 @@ The `<mds-pref-mode>` web component is the mode preference control of the Magma
|
|
|
30
30
|
|
|
31
31
|
- [`pattern.md`](pattern.md) - correct usage, with examples
|
|
32
32
|
- [`antipattern.md`](antipattern.md) - mistakes to avoid
|
|
33
|
+
- [Storybook](https://magma-design-system.github.io/magma/storybook/?path=/docs/ui-preferences-mode--docs) - the live examples, in the published Storybook of `main`
|
|
33
34
|
- [`conventions.md`](../../../../agents/conventions.md), [`variants.md`](../../../../agents/variants.md), [`anti-patterns.md`](../../../../agents/anti-patterns.md) - the rules shared by every component
|
|
34
35
|
|
|
35
36
|
## Props
|