@maggioli-design-system/magma 2.5.0 → 2.6.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 +19 -4
- package/CHANGELOG.md +61 -0
- package/LICENSE +21 -0
- package/agents/assets.md +1 -1
- package/agents/color.md +22 -4
- package/agents/components.md +164 -92
- package/agents/conventions.md +24 -7
- package/agents/install.md +7 -0
- package/agents/lint.md +270 -0
- package/agents/mcp.md +103 -0
- package/agents/theming.md +8 -0
- package/dist/cjs/index-BQNHYWJg.js +4 -0
- package/dist/cjs/{index-CWTZb9W2.js → index-Bg68W-da.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{locale-Os4wg65H.js → locale-CaR39iYg.js} +12 -6
- package/dist/cjs/magma-components.cjs.js +1 -1
- package/dist/cjs/mds-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +1 -1
- package/dist/cjs/mds-accordion.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/mds-badge.cjs.entry.js +1 -1
- package/dist/cjs/mds-banner_3.cjs.entry.js +4 -4
- package/dist/cjs/mds-benchmark-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-bibliography.cjs.entry.js +1 -1
- package/dist/cjs/mds-book.cjs.entry.js +703 -0
- package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/mds-button-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
- package/dist/cjs/mds-button_3.cjs.entry.js +6 -6
- package/dist/cjs/mds-calendar_2.cjs.entry.js +7 -7
- 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 +1 -1
- package/dist/cjs/mds-details.cjs.entry.js +1 -1
- package/dist/cjs/mds-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/mds-emoji.cjs.entry.js +2 -2
- package/dist/cjs/mds-entity.cjs.entry.js +1 -1
- package/dist/cjs/mds-file-preview.cjs.entry.js +3 -3
- package/dist/cjs/mds-file.cjs.entry.js +2 -2
- package/dist/cjs/mds-filter-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-filter.cjs.entry.js +2 -2
- package/dist/cjs/mds-header-bar.cjs.entry.js +2 -2
- package/dist/cjs/mds-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +2 -2
- package/dist/cjs/mds-hr.cjs.entry.js +1 -1
- package/dist/cjs/mds-img.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-date-range.cjs.entry.js +3 -3
- package/dist/cjs/mds-input-date.cjs.entry.js +4 -4
- package/dist/cjs/mds-input-field.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-otp.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-range.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-select.cjs.entry.js +9 -5
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +3 -3
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +4 -4
- package/dist/cjs/mds-input-upload.cjs.entry.js +6 -6
- package/dist/cjs/mds-input.cjs.entry.js +154 -37
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +3 -3
- package/dist/cjs/mds-keyboard.cjs.entry.js +8 -4
- package/dist/cjs/mds-kpi-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-kpi.cjs.entry.js +1 -1
- package/dist/cjs/mds-label.cjs.entry.js +2 -2
- package/dist/cjs/mds-link.cjs.entry.js +4 -4
- package/dist/cjs/mds-list-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-list.cjs.entry.js +1 -1
- package/dist/cjs/mds-mention.cjs.entry.js +2 -2
- package/dist/cjs/mds-modal.cjs.entry.js +4 -4
- package/dist/cjs/mds-note.cjs.entry.js +2 -2
- package/dist/cjs/mds-notification.cjs.entry.js +1 -1
- package/dist/cjs/mds-paginator-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-paginator.cjs.entry.js +2 -2
- package/dist/cjs/mds-policy-ai.cjs.entry.js +2 -2
- package/dist/cjs/mds-pref-animation.cjs.entry.js +2 -2
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +2 -2
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +2 -2
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-pref-language.cjs.entry.js +2 -2
- package/dist/cjs/mds-pref-mode.cjs.entry.js +2 -2
- package/dist/cjs/mds-pref-theme-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-theme.cjs.entry.js +2 -2
- package/dist/cjs/mds-pref.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-features.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-header.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-list.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table.cjs.entry.js +1 -1
- package/dist/cjs/mds-progress_2.cjs.entry.js +2 -2
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-push-notification.cjs.entry.js +3 -3
- package/dist/cjs/mds-quote.cjs.entry.js +1 -1
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-radial-menu.cjs.entry.js +2 -2
- package/dist/cjs/mds-separator.cjs.entry.js +1 -1
- package/dist/cjs/mds-status-bar.cjs.entry.js +2 -2
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +7 -5
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-tab-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-tab_2.cjs.entry.js +4 -4
- package/dist/cjs/mds-table-body.cjs.entry.js +1 -1
- package/dist/cjs/mds-table-footer.cjs.entry.js +1 -1
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +1 -1
- package/dist/cjs/mds-table-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-table-row.cjs.entry.js +3 -3
- package/dist/cjs/mds-table.cjs.entry.js +2 -2
- package/dist/cjs/mds-text.cjs.entry.js +1 -1
- package/dist/cjs/mds-toast-region.cjs.entry.js +1 -1
- package/dist/cjs/mds-toast.cjs.entry.js +2 -2
- package/dist/cjs/mds-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/mds-tree-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-tree.cjs.entry.js +1 -1
- package/dist/cjs/mds-url-view.cjs.entry.js +2 -2
- package/dist/cjs/mds-usage.cjs.entry.js +2 -2
- package/dist/cjs/mds-video-wall.cjs.entry.js +1 -1
- package/dist/cjs/mds-zero.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/common/locale.js +12 -6
- package/dist/collection/components/mds-accordion/AGENTS.md +3 -5
- package/dist/collection/components/mds-accordion/antipattern.md +1 -2
- package/dist/collection/components/mds-accordion/documentation.json +21 -10
- package/dist/collection/components/mds-accordion/mds-accordion.css +3 -3
- package/dist/collection/components/mds-accordion/mds-accordion.js +2 -1
- package/dist/collection/components/mds-accordion/pattern.md +1 -4
- package/dist/collection/components/mds-accordion-item/AGENTS.md +3 -7
- package/dist/collection/components/mds-accordion-item/documentation.json +20 -9
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +1 -1
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +2 -1
- package/dist/collection/components/mds-accordion-item/pattern.md +3 -5
- package/dist/collection/components/mds-accordion-timer/AGENTS.md +3 -5
- package/dist/collection/components/mds-accordion-timer/antipattern.md +5 -3
- package/dist/collection/components/mds-accordion-timer/documentation.json +17 -8
- package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +1 -1
- package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +2 -1
- package/dist/collection/components/mds-accordion-timer/pattern.md +6 -6
- package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +3 -5
- package/dist/collection/components/mds-accordion-timer-item/antipattern.md +1 -2
- package/dist/collection/components/mds-accordion-timer-item/documentation.json +17 -8
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +1 -1
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +2 -1
- package/dist/collection/components/mds-accordion-timer-item/pattern.md +1 -5
- package/dist/collection/components/mds-author/AGENTS.md +1 -1
- package/dist/collection/components/mds-author/documentation.json +5 -1
- package/dist/collection/components/mds-author/mds-author.js +2 -1
- package/dist/collection/components/mds-avatar/AGENTS.md +3 -3
- package/dist/collection/components/mds-avatar/antipattern.md +1 -1
- package/dist/collection/components/mds-avatar/documentation.json +17 -8
- package/dist/collection/components/mds-avatar/mds-avatar.css +3 -3
- package/dist/collection/components/mds-avatar/mds-avatar.js +2 -1
- package/dist/collection/components/mds-avatar/pattern.md +1 -2
- package/dist/collection/components/mds-avatar-stack/AGENTS.md +3 -12
- package/dist/collection/components/mds-avatar-stack/antipattern.md +1 -2
- package/dist/collection/components/mds-avatar-stack/documentation.json +31 -15
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.css +1 -1
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +2 -1
- package/dist/collection/components/mds-avatar-stack/pattern.md +2 -5
- package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +3 -6
- package/dist/collection/components/mds-avatar-stack-item/documentation.json +22 -10
- package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.css +2 -2
- package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.js +4 -1
- package/dist/collection/components/mds-avatar-stack-item/pattern.md +4 -5
- package/dist/collection/components/mds-badge/AGENTS.md +3 -3
- package/dist/collection/components/mds-badge/antipattern.md +1 -1
- package/dist/collection/components/mds-badge/documentation.json +17 -8
- package/dist/collection/components/mds-badge/mds-badge.css +3 -3
- package/dist/collection/components/mds-badge/mds-badge.js +2 -1
- package/dist/collection/components/mds-badge/pattern.md +4 -7
- package/dist/collection/components/mds-banner/AGENTS.md +3 -8
- package/dist/collection/components/mds-banner/antipattern.md +1 -2
- package/dist/collection/components/mds-banner/documentation.json +29 -14
- package/dist/collection/components/mds-banner/mds-banner.css +4 -4
- package/dist/collection/components/mds-banner/mds-banner.js +2 -1
- package/dist/collection/components/mds-banner/pattern.md +1 -2
- package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-benchmark-bar/documentation.json +5 -1
- package/dist/collection/components/mds-benchmark-bar/mds-benchmark-bar.js +2 -1
- package/dist/collection/components/mds-bibliography/AGENTS.md +3 -3
- package/dist/collection/components/mds-bibliography/antipattern.md +1 -3
- package/dist/collection/components/mds-bibliography/documentation.json +15 -7
- package/dist/collection/components/mds-bibliography/mds-bibliography.css +1 -1
- package/dist/collection/components/mds-bibliography/mds-bibliography.js +4 -1
- package/dist/collection/components/mds-bibliography/pattern.md +1 -3
- package/dist/collection/components/mds-book/AGENTS.md +79 -0
- package/dist/collection/components/mds-book/antipattern.md +88 -0
- package/dist/collection/components/mds-book/documentation.json +482 -0
- package/dist/collection/components/mds-book/mds-book.css +901 -0
- package/dist/collection/components/mds-book/mds-book.js +731 -0
- package/dist/collection/components/mds-book/meta/dictionary.js +5 -0
- package/dist/collection/components/mds-book/meta/format.js +57 -0
- package/dist/collection/components/mds-book/meta/pose.js +107 -0
- package/dist/collection/components/mds-book/meta/spine.js +61 -0
- package/dist/collection/components/mds-book/meta/types.js +1 -0
- package/dist/collection/components/mds-book/meta/volume.js +23 -0
- package/dist/collection/components/mds-book/pattern.md +111 -0
- package/dist/collection/components/mds-breadcrumb/AGENTS.md +3 -14
- package/dist/collection/components/mds-breadcrumb/antipattern.md +1 -1
- package/dist/collection/components/mds-breadcrumb/documentation.json +28 -14
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +2 -1
- package/dist/collection/components/mds-breadcrumb/pattern.md +6 -6
- package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +3 -11
- package/dist/collection/components/mds-breadcrumb-item/antipattern.md +3 -3
- package/dist/collection/components/mds-breadcrumb-item/documentation.json +22 -11
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +2 -1
- package/dist/collection/components/mds-breadcrumb-item/pattern.md +12 -14
- package/dist/collection/components/mds-button/AGENTS.md +3 -12
- package/dist/collection/components/mds-button/documentation.json +37 -17
- package/dist/collection/components/mds-button/mds-button.css +5 -5
- package/dist/collection/components/mds-button/mds-button.js +5 -4
- package/dist/collection/components/mds-button-dropdown/AGENTS.md +1 -1
- package/dist/collection/components/mds-button-dropdown/documentation.json +7 -2
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +1 -1
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +2 -1
- package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
- package/dist/collection/components/mds-button-group/documentation.json +5 -1
- package/dist/collection/components/mds-button-group/mds-button-group.js +2 -1
- package/dist/collection/components/mds-calendar/AGENTS.md +3 -6
- package/dist/collection/components/mds-calendar/antipattern.md +1 -1
- package/dist/collection/components/mds-calendar/documentation.json +25 -12
- package/dist/collection/components/mds-calendar/mds-calendar.css +4 -4
- package/dist/collection/components/mds-calendar/mds-calendar.js +6 -5
- package/dist/collection/components/mds-calendar/pattern.md +1 -3
- package/dist/collection/components/mds-calendar-cell/AGENTS.md +3 -35
- package/dist/collection/components/mds-calendar-cell/antipattern.md +1 -2
- package/dist/collection/components/mds-calendar-cell/documentation.json +81 -40
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +2 -2
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +4 -1
- package/dist/collection/components/mds-calendar-cell/pattern.md +4 -5
- package/dist/collection/components/mds-card/AGENTS.md +1 -1
- package/dist/collection/components/mds-card/antipattern.md +2 -2
- package/dist/collection/components/mds-card/documentation.json +13 -6
- package/dist/collection/components/mds-card/mds-card.css +3 -3
- package/dist/collection/components/mds-card/mds-card.js +2 -1
- package/dist/collection/components/mds-card/pattern.md +4 -4
- package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-content/documentation.json +5 -1
- package/dist/collection/components/mds-card-content/mds-card-content.js +2 -1
- package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-footer/documentation.json +5 -1
- package/dist/collection/components/mds-card-footer/mds-card-footer.js +2 -1
- package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-header/documentation.json +5 -1
- package/dist/collection/components/mds-card-header/mds-card-header.js +2 -1
- package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-media/documentation.json +5 -1
- package/dist/collection/components/mds-card-media/mds-card-media.js +2 -1
- package/dist/collection/components/mds-chip/AGENTS.md +3 -10
- package/dist/collection/components/mds-chip/antipattern.md +2 -3
- package/dist/collection/components/mds-chip/documentation.json +35 -17
- package/dist/collection/components/mds-chip/mds-chip.css +4 -4
- package/dist/collection/components/mds-chip/mds-chip.js +4 -1
- package/dist/collection/components/mds-chip/pattern.md +4 -6
- package/dist/collection/components/mds-details/AGENTS.md +3 -7
- package/dist/collection/components/mds-details/antipattern.md +1 -5
- package/dist/collection/components/mds-details/documentation.json +14 -7
- package/dist/collection/components/mds-details/mds-details.js +2 -1
- package/dist/collection/components/mds-details/pattern.md +4 -6
- package/dist/collection/components/mds-dropdown/AGENTS.md +3 -9
- package/dist/collection/components/mds-dropdown/antipattern.md +1 -1
- package/dist/collection/components/mds-dropdown/documentation.json +31 -15
- package/dist/collection/components/mds-dropdown/mds-dropdown.css +4 -4
- package/dist/collection/components/mds-dropdown/mds-dropdown.js +3 -2
- package/dist/collection/components/mds-dropdown/pattern.md +2 -4
- package/dist/collection/components/mds-emoji/AGENTS.md +8 -32
- package/dist/collection/components/mds-emoji/antipattern.md +0 -18
- package/dist/collection/components/mds-emoji/documentation.json +73 -35
- package/dist/collection/components/mds-emoji/mds-emoji.css +8 -5
- package/dist/collection/components/mds-emoji/mds-emoji.js +4 -1
- package/dist/collection/components/mds-emoji/pattern.md +9 -25
- package/dist/collection/components/mds-entity/AGENTS.md +3 -4
- package/dist/collection/components/mds-entity/antipattern.md +10 -3
- package/dist/collection/components/mds-entity/documentation.json +17 -8
- package/dist/collection/components/mds-entity/mds-entity.css +2 -2
- package/dist/collection/components/mds-entity/mds-entity.js +2 -1
- package/dist/collection/components/mds-entity/pattern.md +1 -4
- package/dist/collection/components/mds-file/AGENTS.md +3 -3
- package/dist/collection/components/mds-file/antipattern.md +2 -3
- package/dist/collection/components/mds-file/documentation.json +15 -7
- package/dist/collection/components/mds-file/mds-file.css +1 -1
- package/dist/collection/components/mds-file/mds-file.js +4 -1
- package/dist/collection/components/mds-file/pattern.md +1 -3
- package/dist/collection/components/mds-file-preview/AGENTS.md +3 -3
- package/dist/collection/components/mds-file-preview/antipattern.md +1 -1
- package/dist/collection/components/mds-file-preview/documentation.json +17 -8
- package/dist/collection/components/mds-file-preview/mds-file-preview.css +3 -3
- package/dist/collection/components/mds-file-preview/mds-file-preview.js +3 -2
- package/dist/collection/components/mds-file-preview/pattern.md +2 -3
- package/dist/collection/components/mds-filter/AGENTS.md +3 -8
- package/dist/collection/components/mds-filter/antipattern.md +2 -2
- package/dist/collection/components/mds-filter/documentation.json +27 -13
- package/dist/collection/components/mds-filter/mds-filter.css +3 -3
- package/dist/collection/components/mds-filter/mds-filter.js +2 -1
- package/dist/collection/components/mds-filter/pattern.md +2 -5
- package/dist/collection/components/mds-filter-item/AGENTS.md +2 -7
- package/dist/collection/components/mds-filter-item/antipattern.md +4 -4
- package/dist/collection/components/mds-filter-item/documentation.json +17 -8
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +4 -1
- package/dist/collection/components/mds-filter-item/pattern.md +5 -7
- package/dist/collection/components/mds-header/AGENTS.md +4 -8
- package/dist/collection/components/mds-header/documentation.json +28 -13
- package/dist/collection/components/mds-header/mds-header.css +7 -7
- package/dist/collection/components/mds-header/mds-header.js +2 -1
- package/dist/collection/components/mds-header/pattern.md +1 -3
- package/dist/collection/components/mds-header-bar/AGENTS.md +2 -4
- package/dist/collection/components/mds-header-bar/antipattern.md +6 -8
- package/dist/collection/components/mds-header-bar/documentation.json +9 -4
- package/dist/collection/components/mds-header-bar/mds-header-bar.js +2 -1
- package/dist/collection/components/mds-header-bar/pattern.md +10 -6
- package/dist/collection/components/mds-help/AGENTS.md +1 -1
- package/dist/collection/components/mds-help/documentation.json +13 -5
- package/dist/collection/components/mds-help/mds-help.css +4 -4
- package/dist/collection/components/mds-help/mds-help.js +2 -1
- package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +5 -11
- package/dist/collection/components/mds-horizontal-scroll/antipattern.md +2 -2
- package/dist/collection/components/mds-horizontal-scroll/documentation.json +34 -14
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +2 -1
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +2 -1
- package/dist/collection/components/mds-horizontal-scroll/pattern.md +4 -15
- package/dist/collection/components/mds-hr/AGENTS.md +1 -1
- package/dist/collection/components/mds-hr/documentation.json +7 -2
- package/dist/collection/components/mds-hr/mds-hr.js +4 -1
- package/dist/collection/components/mds-icon/AGENTS.md +1 -1
- package/dist/collection/components/mds-icon/documentation.json +5 -1
- package/dist/collection/components/mds-icon/mds-icon.js +2 -1
- package/dist/collection/components/mds-img/AGENTS.md +3 -5
- package/dist/collection/components/mds-img/antipattern.md +1 -1
- package/dist/collection/components/mds-img/documentation.json +19 -9
- package/dist/collection/components/mds-img/mds-img.css +2 -2
- package/dist/collection/components/mds-img/mds-img.js +1 -0
- package/dist/collection/components/mds-img/pattern.md +1 -4
- package/dist/collection/components/mds-input/AGENTS.md +6 -10
- package/dist/collection/components/mds-input/antipattern.md +1 -1
- package/dist/collection/components/mds-input/documentation.json +40 -20
- package/dist/collection/components/mds-input/mds-input.css +8 -8
- package/dist/collection/components/mds-input/mds-input.js +13 -7
- package/dist/collection/components/mds-input/meta/input-type/InputValidationManager.js +3 -3
- package/dist/collection/components/mds-input/meta/validators.js +28 -13
- package/dist/collection/components/mds-input/meta/validity.js +8 -10
- package/dist/collection/components/mds-input/pattern.md +1 -3
- package/dist/collection/components/mds-input-date/AGENTS.md +3 -8
- package/dist/collection/components/mds-input-date/antipattern.md +1 -1
- package/dist/collection/components/mds-input-date/documentation.json +31 -15
- package/dist/collection/components/mds-input-date/mds-input-date.css +5 -5
- package/dist/collection/components/mds-input-date/mds-input-date.js +3 -2
- package/dist/collection/components/mds-input-date/pattern.md +1 -2
- package/dist/collection/components/mds-input-date-range/AGENTS.md +3 -4
- package/dist/collection/components/mds-input-date-range/documentation.json +22 -10
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +5 -5
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +3 -2
- package/dist/collection/components/mds-input-date-range/pattern.md +1 -2
- package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +3 -13
- package/dist/collection/components/mds-input-date-range-preselection/antipattern.md +11 -6
- package/dist/collection/components/mds-input-date-range-preselection/documentation.json +26 -13
- package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +2 -1
- package/dist/collection/components/mds-input-date-range-preselection/pattern.md +1 -11
- package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-field/documentation.json +9 -3
- package/dist/collection/components/mds-input-field/mds-input-field.css +2 -2
- package/dist/collection/components/mds-input-field/mds-input-field.js +2 -1
- package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-otp/documentation.json +7 -2
- package/dist/collection/components/mds-input-otp/mds-input-otp.js +4 -1
- package/dist/collection/components/mds-input-range/AGENTS.md +3 -13
- package/dist/collection/components/mds-input-range/antipattern.md +1 -5
- package/dist/collection/components/mds-input-range/documentation.json +26 -13
- package/dist/collection/components/mds-input-range/mds-input-range.css +26 -19
- package/dist/collection/components/mds-input-range/mds-input-range.js +2 -1
- package/dist/collection/components/mds-input-range/pattern.md +2 -12
- package/dist/collection/components/mds-input-select/AGENTS.md +4 -8
- package/dist/collection/components/mds-input-select/antipattern.md +1 -1
- package/dist/collection/components/mds-input-select/documentation.json +26 -13
- package/dist/collection/components/mds-input-select/mds-input-select.css +3 -3
- package/dist/collection/components/mds-input-select/mds-input-select.js +8 -3
- package/dist/collection/components/mds-input-select/pattern.md +1 -3
- package/dist/collection/components/mds-input-switch/AGENTS.md +2 -30
- package/dist/collection/components/mds-input-switch/antipattern.md +5 -6
- package/dist/collection/components/mds-input-switch/documentation.json +61 -30
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +2 -1
- package/dist/collection/components/mds-input-switch/pattern.md +2 -11
- package/dist/collection/components/mds-input-tip/AGENTS.md +3 -5
- package/dist/collection/components/mds-input-tip/antipattern.md +10 -6
- package/dist/collection/components/mds-input-tip/documentation.json +17 -8
- package/dist/collection/components/mds-input-tip/mds-input-tip.css +1 -1
- package/dist/collection/components/mds-input-tip/mds-input-tip.js +2 -1
- package/dist/collection/components/mds-input-tip/pattern.md +1 -4
- package/dist/collection/components/mds-input-tip-item/AGENTS.md +4 -3
- package/dist/collection/components/mds-input-tip-item/antipattern.md +2 -2
- package/dist/collection/components/mds-input-tip-item/documentation.json +14 -7
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.css +2 -2
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +3 -2
- package/dist/collection/components/mds-input-tip-item/pattern.md +1 -2
- package/dist/collection/components/mds-input-upload/AGENTS.md +3 -5
- package/dist/collection/components/mds-input-upload/antipattern.md +2 -3
- package/dist/collection/components/mds-input-upload/documentation.json +19 -9
- package/dist/collection/components/mds-input-upload/mds-input-upload.css +1 -1
- package/dist/collection/components/mds-input-upload/mds-input-upload.js +8 -5
- package/dist/collection/components/mds-input-upload/pattern.md +1 -5
- package/dist/collection/components/mds-keyboard/AGENTS.md +4 -19
- package/dist/collection/components/mds-keyboard/antipattern.md +3 -3
- package/dist/collection/components/mds-keyboard/documentation.json +48 -24
- package/dist/collection/components/mds-keyboard/mds-keyboard.css +17 -5
- package/dist/collection/components/mds-keyboard/mds-keyboard.js +7 -2
- package/dist/collection/components/mds-keyboard/pattern.md +1 -2
- package/dist/collection/components/mds-keyboard-key/AGENTS.md +3 -6
- package/dist/collection/components/mds-keyboard-key/antipattern.md +1 -2
- package/dist/collection/components/mds-keyboard-key/documentation.json +21 -10
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +7 -3
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +4 -1
- package/dist/collection/components/mds-keyboard-key/pattern.md +1 -12
- package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
- package/dist/collection/components/mds-kpi/documentation.json +10 -4
- package/dist/collection/components/mds-kpi/mds-kpi.css +2 -2
- package/dist/collection/components/mds-kpi/mds-kpi.js +2 -1
- package/dist/collection/components/mds-kpi/pattern.md +7 -4
- package/dist/collection/components/mds-kpi-item/AGENTS.md +3 -8
- package/dist/collection/components/mds-kpi-item/antipattern.md +2 -4
- package/dist/collection/components/mds-kpi-item/documentation.json +16 -8
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +2 -1
- package/dist/collection/components/mds-kpi-item/pattern.md +9 -7
- package/dist/collection/components/mds-label/AGENTS.md +3 -7
- package/dist/collection/components/mds-label/documentation.json +24 -11
- package/dist/collection/components/mds-label/mds-label.css +2 -2
- package/dist/collection/components/mds-label/mds-label.js +4 -1
- package/dist/collection/components/mds-label/pattern.md +1 -3
- package/dist/collection/components/mds-link/AGENTS.md +4 -9
- package/dist/collection/components/mds-link/documentation.json +22 -10
- package/dist/collection/components/mds-link/mds-link.css +1 -1
- package/dist/collection/components/mds-link/mds-link.js +4 -3
- package/dist/collection/components/mds-list/AGENTS.md +1 -1
- package/dist/collection/components/mds-list/documentation.json +6 -2
- package/dist/collection/components/mds-list/mds-list.js +2 -1
- package/dist/collection/components/mds-list/pattern.md +5 -5
- package/dist/collection/components/mds-list-item/AGENTS.md +2 -4
- package/dist/collection/components/mds-list-item/antipattern.md +1 -1
- package/dist/collection/components/mds-list-item/documentation.json +9 -4
- package/dist/collection/components/mds-list-item/mds-list-item.js +2 -1
- package/dist/collection/components/mds-list-item/pattern.md +4 -4
- package/dist/collection/components/mds-mention/AGENTS.md +2 -4
- package/dist/collection/components/mds-mention/antipattern.md +5 -5
- package/dist/collection/components/mds-mention/documentation.json +11 -5
- package/dist/collection/components/mds-mention/mds-mention.js +4 -1
- package/dist/collection/components/mds-mention/pattern.md +3 -5
- package/dist/collection/components/mds-modal/AGENTS.md +3 -9
- package/dist/collection/components/mds-modal/antipattern.md +1 -3
- package/dist/collection/components/mds-modal/documentation.json +37 -18
- package/dist/collection/components/mds-modal/mds-modal.css +7 -7
- package/dist/collection/components/mds-modal/mds-modal.js +4 -3
- package/dist/collection/components/mds-modal/pattern.md +2 -6
- package/dist/collection/components/mds-note/AGENTS.md +3 -5
- package/dist/collection/components/mds-note/documentation.json +18 -8
- package/dist/collection/components/mds-note/mds-note.css +2 -2
- package/dist/collection/components/mds-note/mds-note.js +2 -1
- package/dist/collection/components/mds-note/pattern.md +1 -3
- package/dist/collection/components/mds-notification/AGENTS.md +3 -11
- package/dist/collection/components/mds-notification/antipattern.md +2 -2
- package/dist/collection/components/mds-notification/documentation.json +33 -16
- package/dist/collection/components/mds-notification/mds-notification.css +2 -2
- package/dist/collection/components/mds-notification/mds-notification.js +4 -1
- package/dist/collection/components/mds-notification/pattern.md +3 -5
- package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
- package/dist/collection/components/mds-paginator/documentation.json +12 -5
- package/dist/collection/components/mds-paginator/mds-paginator.css +2 -2
- package/dist/collection/components/mds-paginator/mds-paginator.js +4 -1
- package/dist/collection/components/mds-paginator/pattern.md +1 -3
- package/dist/collection/components/mds-paginator-item/AGENTS.md +3 -10
- package/dist/collection/components/mds-paginator-item/documentation.json +34 -16
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +5 -5
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +2 -1
- package/dist/collection/components/mds-paginator-item/pattern.md +5 -6
- package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
- package/dist/collection/components/mds-policy-ai/documentation.json +6 -2
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +2 -1
- package/dist/collection/components/mds-policy-ai/pattern.md +4 -4
- package/dist/collection/components/mds-pref/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref/documentation.json +5 -5
- package/dist/collection/components/mds-pref/mds-pref.js +2 -2
- package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-animation/documentation.json +7 -2
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +4 -1
- package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-consumption/documentation.json +7 -2
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +4 -1
- package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-contrast/documentation.json +7 -2
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +4 -1
- package/dist/collection/components/mds-pref-language/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-language/documentation.json +5 -1
- package/dist/collection/components/mds-pref-language/mds-pref-language.js +2 -1
- package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-language-item/documentation.json +7 -2
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +4 -1
- package/dist/collection/components/mds-pref-mode/AGENTS.md +3 -3
- package/dist/collection/components/mds-pref-mode/antipattern.md +1 -2
- package/dist/collection/components/mds-pref-mode/documentation.json +15 -7
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +1 -1
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +4 -1
- package/dist/collection/components/mds-pref-mode/pattern.md +1 -3
- package/dist/collection/components/mds-pref-theme/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-theme/documentation.json +6 -2
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +2 -1
- package/dist/collection/components/mds-pref-theme/pattern.md +1 -2
- package/dist/collection/components/mds-pref-theme-item/AGENTS.md +3 -5
- package/dist/collection/components/mds-pref-theme-item/antipattern.md +1 -2
- package/dist/collection/components/mds-pref-theme-item/documentation.json +19 -9
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +1 -1
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +4 -1
- package/dist/collection/components/mds-pref-theme-item/pattern.md +2 -6
- package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table/documentation.json +6 -2
- package/dist/collection/components/mds-price-table/mds-price-table.js +2 -1
- package/dist/collection/components/mds-price-table/pattern.md +4 -4
- package/dist/collection/components/mds-price-table-features/AGENTS.md +4 -3
- package/dist/collection/components/mds-price-table-features/antipattern.md +0 -1
- package/dist/collection/components/mds-price-table-features/documentation.json +12 -6
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +1 -1
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +2 -1
- package/dist/collection/components/mds-price-table-features/pattern.md +2 -3
- package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +3 -6
- package/dist/collection/components/mds-price-table-features-cell/antipattern.md +3 -3
- package/dist/collection/components/mds-price-table-features-cell/documentation.json +19 -9
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +1 -1
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +2 -1
- package/dist/collection/components/mds-price-table-features-cell/pattern.md +1 -6
- package/dist/collection/components/mds-price-table-features-row/AGENTS.md +3 -3
- package/dist/collection/components/mds-price-table-features-row/documentation.json +14 -6
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +2 -2
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +2 -1
- package/dist/collection/components/mds-price-table-features-row/pattern.md +1 -3
- package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-header/documentation.json +5 -1
- package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +2 -1
- package/dist/collection/components/mds-price-table-list/AGENTS.md +3 -5
- package/dist/collection/components/mds-price-table-list/antipattern.md +1 -4
- package/dist/collection/components/mds-price-table-list/documentation.json +10 -5
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +2 -1
- package/dist/collection/components/mds-price-table-list/pattern.md +12 -7
- package/dist/collection/components/mds-price-table-list-item/AGENTS.md +2 -6
- package/dist/collection/components/mds-price-table-list-item/antipattern.md +1 -5
- package/dist/collection/components/mds-price-table-list-item/documentation.json +13 -6
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +2 -1
- package/dist/collection/components/mds-price-table-list-item/pattern.md +7 -4
- package/dist/collection/components/mds-progress/AGENTS.md +1 -1
- package/dist/collection/components/mds-progress/documentation.json +15 -6
- package/dist/collection/components/mds-progress/mds-progress.css +5 -5
- package/dist/collection/components/mds-progress/mds-progress.js +2 -1
- package/dist/collection/components/mds-push-notification/AGENTS.md +4 -7
- package/dist/collection/components/mds-push-notification/antipattern.md +2 -2
- package/dist/collection/components/mds-push-notification/documentation.json +24 -12
- package/dist/collection/components/mds-push-notification/mds-push-notification.css +11 -11
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +2 -1
- package/dist/collection/components/mds-push-notification/pattern.md +2 -5
- package/dist/collection/components/mds-push-notification-item/AGENTS.md +3 -5
- package/dist/collection/components/mds-push-notification-item/documentation.json +20 -9
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +3 -3
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +3 -2
- package/dist/collection/components/mds-push-notification-item/pattern.md +1 -3
- package/dist/collection/components/mds-quote/AGENTS.md +1 -1
- package/dist/collection/components/mds-quote/documentation.json +5 -1
- package/dist/collection/components/mds-quote/mds-quote.js +2 -1
- package/dist/collection/components/mds-radial-menu/AGENTS.md +4 -11
- package/dist/collection/components/mds-radial-menu/documentation.json +31 -15
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +3 -3
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +2 -1
- package/dist/collection/components/mds-radial-menu/pattern.md +2 -6
- package/dist/collection/components/mds-radial-menu-item/AGENTS.md +2 -5
- package/dist/collection/components/mds-radial-menu-item/antipattern.md +7 -5
- package/dist/collection/components/mds-radial-menu-item/documentation.json +13 -6
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +4 -1
- package/dist/collection/components/mds-radial-menu-item/pattern.md +6 -8
- package/dist/collection/components/mds-radial-progress/AGENTS.md +3 -3
- package/dist/collection/components/mds-radial-progress/documentation.json +15 -6
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +3 -3
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +2 -1
- package/dist/collection/components/mds-separator/AGENTS.md +1 -1
- package/dist/collection/components/mds-separator/documentation.json +9 -3
- package/dist/collection/components/mds-separator/mds-separator.css +1 -1
- package/dist/collection/components/mds-separator/mds-separator.js +4 -1
- package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
- package/dist/collection/components/mds-spinner/documentation.json +9 -3
- package/dist/collection/components/mds-spinner/mds-spinner.css +1 -1
- package/dist/collection/components/mds-spinner/mds-spinner.js +4 -1
- package/dist/collection/components/mds-status-bar/AGENTS.md +3 -3
- package/dist/collection/components/mds-status-bar/antipattern.md +0 -1
- package/dist/collection/components/mds-status-bar/documentation.json +13 -6
- package/dist/collection/components/mds-status-bar/mds-status-bar.css +2 -1
- package/dist/collection/components/mds-status-bar/mds-status-bar.js +2 -1
- package/dist/collection/components/mds-status-bar/pattern.md +1 -3
- package/dist/collection/components/mds-stepper-bar/AGENTS.md +3 -7
- package/dist/collection/components/mds-stepper-bar/documentation.json +22 -10
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.css +2 -2
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +2 -1
- package/dist/collection/components/mds-stepper-bar/pattern.md +2 -6
- package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +3 -11
- package/dist/collection/components/mds-stepper-bar-item/antipattern.md +3 -3
- package/dist/collection/components/mds-stepper-bar-item/documentation.json +31 -15
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +2 -2
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +7 -4
- package/dist/collection/components/mds-stepper-bar-item/pattern.md +2 -5
- package/dist/collection/components/mds-tab/AGENTS.md +3 -27
- package/dist/collection/components/mds-tab/antipattern.md +1 -3
- package/dist/collection/components/mds-tab/documentation.json +67 -33
- package/dist/collection/components/mds-tab/mds-tab.css +5 -5
- package/dist/collection/components/mds-tab/mds-tab.js +3 -2
- package/dist/collection/components/mds-tab/pattern.md +3 -13
- package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-bar/antipattern.md +2 -2
- package/dist/collection/components/mds-tab-bar/documentation.json +7 -3
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +2 -1
- package/dist/collection/components/mds-tab-bar/pattern.md +3 -3
- package/dist/collection/components/mds-tab-bar-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-tab-bar-item/documentation.json +15 -7
- 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 +2 -1
- package/dist/collection/components/mds-tab-bar-item/pattern.md +1 -3
- package/dist/collection/components/mds-tab-item/AGENTS.md +2 -8
- package/dist/collection/components/mds-tab-item/antipattern.md +3 -3
- package/dist/collection/components/mds-tab-item/documentation.json +17 -8
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +2 -1
- package/dist/collection/components/mds-tab-item/pattern.md +6 -5
- package/dist/collection/components/mds-table/AGENTS.md +3 -7
- package/dist/collection/components/mds-table/documentation.json +24 -11
- package/dist/collection/components/mds-table/mds-table.css +3 -3
- package/dist/collection/components/mds-table/mds-table.js +2 -1
- package/dist/collection/components/mds-table/pattern.md +2 -6
- package/dist/collection/components/mds-table-body/AGENTS.md +3 -4
- package/dist/collection/components/mds-table-body/antipattern.md +1 -2
- package/dist/collection/components/mds-table-body/documentation.json +17 -8
- package/dist/collection/components/mds-table-body/mds-table-body.css +2 -2
- package/dist/collection/components/mds-table-body/mds-table-body.js +2 -1
- package/dist/collection/components/mds-table-body/pattern.md +1 -4
- package/dist/collection/components/mds-table-cell/AGENTS.md +4 -4
- package/dist/collection/components/mds-table-cell/antipattern.md +1 -1
- package/dist/collection/components/mds-table-cell/documentation.json +16 -8
- package/dist/collection/components/mds-table-cell/mds-table-cell.css +2 -2
- package/dist/collection/components/mds-table-cell/mds-table-cell.js +2 -1
- package/dist/collection/components/mds-table-cell/pattern.md +1 -7
- package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-footer/antipattern.md +2 -2
- package/dist/collection/components/mds-table-footer/documentation.json +7 -3
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +2 -1
- package/dist/collection/components/mds-table-footer/pattern.md +2 -4
- package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-header/documentation.json +5 -1
- package/dist/collection/components/mds-table-header/mds-table-header.js +2 -1
- package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-header-cell/documentation.json +5 -1
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +2 -1
- package/dist/collection/components/mds-table-row/AGENTS.md +2 -8
- package/dist/collection/components/mds-table-row/antipattern.md +4 -5
- package/dist/collection/components/mds-table-row/documentation.json +17 -8
- package/dist/collection/components/mds-table-row/mds-table-row.js +4 -3
- package/dist/collection/components/mds-table-row/pattern.md +5 -8
- package/dist/collection/components/mds-text/AGENTS.md +3 -3
- package/dist/collection/components/mds-text/antipattern.md +1 -2
- package/dist/collection/components/mds-text/documentation.json +17 -8
- package/dist/collection/components/mds-text/mds-text.css +3 -3
- package/dist/collection/components/mds-text/mds-text.js +2 -1
- package/dist/collection/components/mds-text/pattern.md +0 -11
- package/dist/collection/components/mds-toast/AGENTS.md +3 -3
- package/dist/collection/components/mds-toast/antipattern.md +2 -2
- package/dist/collection/components/mds-toast/documentation.json +19 -9
- package/dist/collection/components/mds-toast/mds-toast.css +4 -4
- package/dist/collection/components/mds-toast/mds-toast.js +2 -1
- package/dist/collection/components/mds-toast/pattern.md +2 -3
- package/dist/collection/components/mds-toast-region/AGENTS.md +1 -1
- package/dist/collection/components/mds-toast-region/documentation.json +7 -2
- package/dist/collection/components/mds-toast-region/mds-toast-region.css +1 -1
- package/dist/collection/components/mds-toast-region/mds-toast-region.js +2 -1
- package/dist/collection/components/mds-tooltip/AGENTS.md +3 -8
- package/dist/collection/components/mds-tooltip/antipattern.md +1 -1
- package/dist/collection/components/mds-tooltip/documentation.json +27 -13
- package/dist/collection/components/mds-tooltip/mds-tooltip.css +5 -5
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +2 -1
- package/dist/collection/components/mds-tooltip/pattern.md +1 -3
- package/dist/collection/components/mds-tree/AGENTS.md +3 -28
- package/dist/collection/components/mds-tree/antipattern.md +3 -4
- package/dist/collection/components/mds-tree/documentation.json +63 -31
- package/dist/collection/components/mds-tree/mds-tree.css +1 -1
- package/dist/collection/components/mds-tree/mds-tree.js +2 -1
- package/dist/collection/components/mds-tree/pattern.md +3 -9
- package/dist/collection/components/mds-tree-item/AGENTS.md +2 -33
- package/dist/collection/components/mds-tree-item/antipattern.md +1 -5
- package/dist/collection/components/mds-tree-item/documentation.json +67 -33
- package/dist/collection/components/mds-tree-item/mds-tree-item.js +2 -1
- package/dist/collection/components/mds-tree-item/pattern.md +5 -10
- package/dist/collection/components/mds-url-view/AGENTS.md +3 -2
- package/dist/collection/components/mds-url-view/antipattern.md +1 -2
- package/dist/collection/components/mds-url-view/documentation.json +19 -9
- package/dist/collection/components/mds-url-view/mds-url-view.css +4 -4
- package/dist/collection/components/mds-url-view/mds-url-view.js +4 -1
- package/dist/collection/components/mds-url-view/pattern.md +1 -2
- package/dist/collection/components/mds-usage/AGENTS.md +2 -6
- package/dist/collection/components/mds-usage/antipattern.md +6 -4
- package/dist/collection/components/mds-usage/documentation.json +13 -6
- package/dist/collection/components/mds-usage/mds-usage.js +2 -1
- package/dist/collection/components/mds-usage/pattern.md +10 -6
- package/dist/collection/components/mds-video-wall/AGENTS.md +3 -4
- package/dist/collection/components/mds-video-wall/antipattern.md +5 -5
- package/dist/collection/components/mds-video-wall/documentation.json +15 -7
- package/dist/collection/components/mds-video-wall/mds-video-wall.css +1 -1
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +2 -1
- package/dist/collection/components/mds-video-wall/pattern.md +2 -4
- package/dist/collection/components/mds-zero/AGENTS.md +1 -1
- package/dist/collection/components/mds-zero/antipattern.md +6 -6
- package/dist/collection/components/mds-zero/documentation.json +9 -4
- package/dist/collection/components/mds-zero/mds-zero.css +1 -1
- package/dist/collection/components/mds-zero/mds-zero.js +2 -1
- package/dist/collection/components/mds-zero/pattern.md +3 -3
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +1 -1
- package/dist/components/mds-accordion-item.js +1 -1
- package/dist/components/mds-accordion-timer-item.js +1 -1
- package/dist/components/mds-accordion-timer.js +1 -1
- package/dist/components/mds-accordion.js +1 -1
- package/dist/components/mds-author.js +1 -1
- package/dist/components/mds-avatar-stack-item.js +1 -1
- package/dist/components/mds-avatar-stack.js +1 -1
- package/dist/components/mds-avatar.js +1 -1
- package/dist/components/mds-badge.js +1 -1
- package/dist/components/mds-banner.js +1 -1
- package/dist/components/mds-benchmark-bar.js +1 -1
- package/dist/components/mds-bibliography.js +1 -1
- package/dist/components/mds-book.d.ts +11 -0
- package/dist/components/mds-book.js +1 -0
- 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 +2 -2
- package/dist/components/mds-entity.js +1 -1
- package/dist/components/mds-file-preview.js +1 -1
- package/dist/components/mds-file.js +1 -1
- package/dist/components/mds-filter-item.js +1 -1
- package/dist/components/mds-filter.js +1 -1
- package/dist/components/mds-header-bar.js +1 -1
- package/dist/components/mds-header.js +1 -1
- package/dist/components/mds-help.js +1 -1
- package/dist/components/mds-horizontal-scroll.js +1 -1
- package/dist/components/mds-hr.js +1 -1
- package/dist/components/mds-icon.js +1 -1
- package/dist/components/mds-img.js +1 -1
- package/dist/components/mds-input-date-range-preselection.js +1 -1
- package/dist/components/mds-input-date-range.js +1 -1
- package/dist/components/mds-input-date.js +1 -1
- package/dist/components/mds-input-field.js +1 -1
- package/dist/components/mds-input-otp.js +1 -1
- package/dist/components/mds-input-range.js +1 -1
- package/dist/components/mds-input-select.js +1 -1
- package/dist/components/mds-input-switch.js +1 -1
- package/dist/components/mds-input-tip-item.js +1 -1
- package/dist/components/mds-input-tip.js +1 -1
- package/dist/components/mds-input-upload.js +1 -1
- package/dist/components/mds-input.js +1 -1
- package/dist/components/mds-keyboard-key.js +1 -1
- package/dist/components/mds-keyboard.js +1 -1
- package/dist/components/mds-kpi-item.js +1 -1
- package/dist/components/mds-kpi.js +1 -1
- package/dist/components/mds-label.js +1 -1
- package/dist/components/mds-link.js +1 -1
- package/dist/components/mds-list-item.js +1 -1
- package/dist/components/mds-list.js +1 -1
- package/dist/components/mds-mention.js +1 -1
- package/dist/components/mds-modal.js +1 -1
- package/dist/components/mds-note.js +1 -1
- package/dist/components/mds-notification.js +1 -1
- package/dist/components/mds-paginator-item.js +1 -1
- package/dist/components/mds-paginator.js +1 -1
- package/dist/components/mds-policy-ai.js +1 -1
- package/dist/components/mds-pref-animation.js +1 -1
- package/dist/components/mds-pref-consumption.js +1 -1
- package/dist/components/mds-pref-contrast.js +1 -1
- package/dist/components/mds-pref-language-item.js +1 -1
- package/dist/components/mds-pref-language.js +1 -1
- package/dist/components/mds-pref-mode.js +1 -1
- package/dist/components/mds-pref-theme-item.js +1 -1
- package/dist/components/mds-pref-theme.js +1 -1
- package/dist/components/mds-pref.js +1 -1
- package/dist/components/mds-price-table-features-cell.js +1 -1
- package/dist/components/mds-price-table-features-row.js +1 -1
- package/dist/components/mds-price-table-features.js +1 -1
- package/dist/components/mds-price-table-header.js +1 -1
- package/dist/components/mds-price-table-list-item.js +1 -1
- package/dist/components/mds-price-table-list.js +1 -1
- package/dist/components/mds-price-table.js +1 -1
- package/dist/components/mds-progress.js +1 -1
- package/dist/components/mds-push-notification-item.js +1 -1
- package/dist/components/mds-push-notification.js +1 -1
- package/dist/components/mds-quote.js +1 -1
- package/dist/components/mds-radial-menu-item.js +1 -1
- package/dist/components/mds-radial-menu.js +1 -1
- package/dist/components/mds-radial-progress.js +1 -1
- package/dist/components/mds-separator.js +1 -1
- package/dist/components/mds-spinner.js +1 -1
- package/dist/components/mds-status-bar.js +1 -1
- package/dist/components/mds-stepper-bar-item.js +1 -1
- package/dist/components/mds-stepper-bar.js +1 -1
- package/dist/components/mds-tab-bar-item.js +1 -1
- package/dist/components/mds-tab-bar.js +1 -1
- package/dist/components/mds-tab-item.js +1 -1
- package/dist/components/mds-tab.js +1 -1
- package/dist/components/mds-table-body.js +1 -1
- package/dist/components/mds-table-cell.js +1 -1
- package/dist/components/mds-table-footer.js +1 -1
- package/dist/components/mds-table-header-cell.js +1 -1
- package/dist/components/mds-table-header.js +1 -1
- package/dist/components/mds-table-row.js +1 -1
- package/dist/components/mds-table.js +1 -1
- package/dist/components/mds-text.js +1 -1
- package/dist/components/mds-toast-region.js +1 -1
- package/dist/components/mds-toast.js +1 -1
- package/dist/components/mds-tooltip.js +1 -1
- package/dist/components/mds-tree-item.js +1 -1
- package/dist/components/mds-tree.js +1 -1
- package/dist/components/mds-url-view.js +1 -1
- package/dist/components/mds-usage.js +1 -1
- package/dist/components/mds-video-wall.js +1 -1
- package/dist/components/mds-zero.js +1 -1
- package/dist/components/p-B8hgyXdE.js +1 -0
- package/dist/components/{p-DkUdrGHq.js → p-BBO_llcO.js} +1 -1
- package/dist/components/{p-nsbhb0lz.js → p-BM7joOdq.js} +1 -1
- package/dist/components/{p-DNeEn8Rr.js → p-BMIaZ4HY.js} +1 -1
- package/dist/components/{p-BwJQB6rG.js → p-BOJQ3tkp.js} +1 -1
- package/dist/components/{p-DCrdKrky.js → p-BU1O2DcC.js} +1 -1
- package/dist/components/{p-Cd8id3Br.js → p-Bo6ezD1p.js} +1 -1
- package/dist/components/p-C0H8bZpf.js +1 -0
- package/dist/components/{p-s1CktmPS.js → p-C1YH20BL.js} +1 -1
- package/dist/components/{p-Cmn1DJAB.js → p-CEw7GvM-.js} +1 -1
- package/dist/components/{p-D-DdDIb9.js → p-CNUWS_Mg.js} +1 -1
- package/dist/components/{p-uqwixjju.js → p-CNpL55c-.js} +1 -1
- package/dist/components/{p-DnySYX0L.js → p-CV7wjM1c.js} +1 -1
- package/dist/components/{p-BU3bsIX2.js → p-CWSIl1jl.js} +1 -1
- package/dist/components/{p-C99SMdU_.js → p-CYK2Xr_v.js} +1 -1
- package/dist/components/{p-B8x-d2fx.js → p-CZjwSwe5.js} +1 -1
- package/dist/components/p-Czqtt8kO.js +1 -0
- package/dist/components/{p-Dm-OUwDe.js → p-DD2muCqG.js} +1 -1
- package/dist/components/{p-ZuubAcA3.js → p-DDTJwlAd.js} +1 -1
- package/dist/components/{p-DF3PrYBI.js → p-DJ401QTd.js} +1 -1
- package/dist/components/{p-BbK4qeM7.js → p-DMyL4CYh.js} +1 -1
- package/dist/components/{p-DiUUZ7ZA.js → p-DTtmr_Y9.js} +1 -1
- package/dist/components/{p-CfQETwAK.js → p-DbVGGhs_.js} +1 -1
- package/dist/components/{p-C4XdTZQ-.js → p-DccBbfK8.js} +1 -1
- package/dist/components/{p-CNZ8_QvE.js → p-H0YXZ5fD.js} +2 -2
- package/dist/components/p-IaXq1Xsc.js +1 -0
- package/dist/components/{p-ClPv-Ljc.js → p-M8dGB4KH.js} +1 -1
- package/dist/components/{p-C1CTahjH.js → p-TNn_HE5x.js} +1 -1
- package/dist/components/{p-CNF3u0Li.js → p-aujz-VM9.js} +1 -1
- package/dist/components/{p-CSxW5f2f.js → p-e9NGNm7d.js} +1 -1
- package/dist/components/{p-D2d9eOLi.js → p-kZBPId_x.js} +1 -1
- package/dist/components/{p-CLe_N2_H.js → p-qnCVkeGX.js} +1 -1
- package/dist/documentation.json +2616 -921
- package/dist/esm/{index-D2_gI0qp.js → index-BJVvHlvf.js} +1 -1
- package/dist/esm/index-CvLLN-QH.js +4 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{locale-BQmO6K_S.js → locale-B6cOkl4I.js} +12 -6
- package/dist/esm/magma-components.js +1 -1
- package/dist/esm/mds-accordion-item.entry.js +1 -1
- package/dist/esm/mds-accordion-timer-item.entry.js +1 -1
- package/dist/esm/mds-accordion-timer.entry.js +1 -1
- package/dist/esm/mds-accordion.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/mds-badge.entry.js +1 -1
- package/dist/esm/mds-banner_3.entry.js +4 -4
- package/dist/esm/mds-benchmark-bar.entry.js +1 -1
- package/dist/esm/mds-bibliography.entry.js +1 -1
- package/dist/esm/mds-book.entry.js +701 -0
- package/dist/esm/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm/mds-breadcrumb.entry.js +2 -2
- package/dist/esm/mds-button-dropdown.entry.js +2 -2
- package/dist/esm/mds-button-group.entry.js +1 -1
- package/dist/esm/mds-button_3.entry.js +6 -6
- package/dist/esm/mds-calendar_2.entry.js +7 -7
- 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 +1 -1
- package/dist/esm/mds-details.entry.js +1 -1
- package/dist/esm/mds-dropdown.entry.js +2 -2
- package/dist/esm/mds-emoji.entry.js +2 -2
- package/dist/esm/mds-entity.entry.js +1 -1
- package/dist/esm/mds-file-preview.entry.js +3 -3
- package/dist/esm/mds-file.entry.js +2 -2
- package/dist/esm/mds-filter-item.entry.js +2 -2
- package/dist/esm/mds-filter.entry.js +2 -2
- package/dist/esm/mds-header-bar.entry.js +2 -2
- package/dist/esm/mds-header.entry.js +2 -2
- package/dist/esm/mds-horizontal-scroll.entry.js +2 -2
- package/dist/esm/mds-hr.entry.js +1 -1
- package/dist/esm/mds-img.entry.js +1 -1
- package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
- package/dist/esm/mds-input-date-range.entry.js +3 -3
- package/dist/esm/mds-input-date.entry.js +4 -4
- package/dist/esm/mds-input-field.entry.js +1 -1
- package/dist/esm/mds-input-otp.entry.js +2 -2
- package/dist/esm/mds-input-range.entry.js +2 -2
- package/dist/esm/mds-input-select.entry.js +9 -5
- package/dist/esm/mds-input-switch_2.entry.js +3 -3
- package/dist/esm/mds-input-tip_2.entry.js +4 -4
- package/dist/esm/mds-input-upload.entry.js +6 -6
- package/dist/esm/mds-input.entry.js +154 -37
- package/dist/esm/mds-keyboard-key.entry.js +3 -3
- package/dist/esm/mds-keyboard.entry.js +8 -4
- package/dist/esm/mds-kpi-item.entry.js +1 -1
- package/dist/esm/mds-kpi.entry.js +1 -1
- package/dist/esm/mds-label.entry.js +2 -2
- package/dist/esm/mds-link.entry.js +4 -4
- package/dist/esm/mds-list-item.entry.js +1 -1
- package/dist/esm/mds-list.entry.js +1 -1
- package/dist/esm/mds-mention.entry.js +2 -2
- package/dist/esm/mds-modal.entry.js +4 -4
- package/dist/esm/mds-note.entry.js +2 -2
- package/dist/esm/mds-notification.entry.js +1 -1
- package/dist/esm/mds-paginator-item.entry.js +1 -1
- package/dist/esm/mds-paginator.entry.js +2 -2
- package/dist/esm/mds-policy-ai.entry.js +2 -2
- package/dist/esm/mds-pref-animation.entry.js +2 -2
- package/dist/esm/mds-pref-consumption.entry.js +2 -2
- package/dist/esm/mds-pref-contrast.entry.js +2 -2
- package/dist/esm/mds-pref-language-item.entry.js +2 -2
- package/dist/esm/mds-pref-language.entry.js +2 -2
- package/dist/esm/mds-pref-mode.entry.js +2 -2
- package/dist/esm/mds-pref-theme-item.entry.js +1 -1
- package/dist/esm/mds-pref-theme.entry.js +2 -2
- package/dist/esm/mds-pref.entry.js +2 -2
- package/dist/esm/mds-price-table-features-cell.entry.js +1 -1
- package/dist/esm/mds-price-table-features-row.entry.js +1 -1
- package/dist/esm/mds-price-table-features.entry.js +1 -1
- package/dist/esm/mds-price-table-header.entry.js +1 -1
- package/dist/esm/mds-price-table-list-item.entry.js +1 -1
- package/dist/esm/mds-price-table-list.entry.js +1 -1
- package/dist/esm/mds-price-table.entry.js +1 -1
- package/dist/esm/mds-progress_2.entry.js +2 -2
- package/dist/esm/mds-push-notification-item.entry.js +3 -3
- package/dist/esm/mds-push-notification.entry.js +3 -3
- package/dist/esm/mds-quote.entry.js +1 -1
- package/dist/esm/mds-radial-menu-item.entry.js +1 -1
- package/dist/esm/mds-radial-menu.entry.js +2 -2
- package/dist/esm/mds-separator.entry.js +1 -1
- package/dist/esm/mds-status-bar.entry.js +2 -2
- package/dist/esm/mds-stepper-bar-item.entry.js +7 -5
- package/dist/esm/mds-stepper-bar.entry.js +1 -1
- package/dist/esm/mds-tab-bar-item.entry.js +1 -1
- package/dist/esm/mds-tab-bar.entry.js +1 -1
- package/dist/esm/mds-tab_2.entry.js +4 -4
- package/dist/esm/mds-table-body.entry.js +1 -1
- package/dist/esm/mds-table-footer.entry.js +1 -1
- package/dist/esm/mds-table-header-cell.entry.js +1 -1
- package/dist/esm/mds-table-header.entry.js +2 -2
- package/dist/esm/mds-table-row.entry.js +3 -3
- package/dist/esm/mds-table.entry.js +2 -2
- package/dist/esm/mds-text.entry.js +1 -1
- package/dist/esm/mds-toast-region.entry.js +1 -1
- package/dist/esm/mds-toast.entry.js +2 -2
- package/dist/esm/mds-tooltip.entry.js +2 -2
- package/dist/esm/mds-tree-item.entry.js +2 -2
- package/dist/esm/mds-tree.entry.js +1 -1
- package/dist/esm/mds-url-view.entry.js +2 -2
- package/dist/esm/mds-usage.entry.js +2 -2
- package/dist/esm/mds-video-wall.entry.js +1 -1
- package/dist/esm/mds-zero.entry.js +1 -1
- package/dist/esm-es5/{index-D2_gI0qp.js → index-BJVvHlvf.js} +1 -1
- package/dist/esm-es5/index-CvLLN-QH.js +8 -6
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{locale-BQmO6K_S.js → locale-B6cOkl4I.js} +22 -18
- 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 +5 -5
- package/dist/esm-es5/mds-badge.entry.js +1 -1
- package/dist/esm-es5/mds-banner_3.entry.js +4 -4
- package/dist/esm-es5/mds-benchmark-bar.entry.js +3 -3
- package/dist/esm-es5/mds-bibliography.entry.js +2 -2
- package/dist/esm-es5/mds-book.entry.js +207 -0
- package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb.entry.js +4 -4
- package/dist/esm-es5/mds-button-dropdown.entry.js +2 -2
- package/dist/esm-es5/mds-button-group.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +5 -5
- package/dist/esm-es5/mds-calendar_2.entry.js +4 -4
- package/dist/esm-es5/mds-card-content.entry.js +1 -1
- package/dist/esm-es5/mds-card-footer.entry.js +1 -1
- package/dist/esm-es5/mds-card-header.entry.js +1 -1
- package/dist/esm-es5/mds-card-media.entry.js +1 -1
- package/dist/esm-es5/mds-card.entry.js +1 -1
- package/dist/esm-es5/mds-details.entry.js +1 -1
- package/dist/esm-es5/mds-dropdown.entry.js +1 -1
- package/dist/esm-es5/mds-emoji.entry.js +2 -2
- package/dist/esm-es5/mds-entity.entry.js +1 -1
- package/dist/esm-es5/mds-file-preview.entry.js +8 -8
- package/dist/esm-es5/mds-file.entry.js +2 -2
- package/dist/esm-es5/mds-filter-item.entry.js +2 -2
- package/dist/esm-es5/mds-filter.entry.js +2 -2
- package/dist/esm-es5/mds-header-bar.entry.js +2 -2
- package/dist/esm-es5/mds-header.entry.js +2 -2
- 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 +3 -3
- package/dist/esm-es5/mds-input-date.entry.js +3 -3
- package/dist/esm-es5/mds-input-field.entry.js +1 -1
- package/dist/esm-es5/mds-input-otp.entry.js +2 -2
- package/dist/esm-es5/mds-input-range.entry.js +7 -7
- package/dist/esm-es5/mds-input-select.entry.js +5 -4
- package/dist/esm-es5/mds-input-switch_2.entry.js +2 -2
- package/dist/esm-es5/mds-input-tip_2.entry.js +3 -3
- package/dist/esm-es5/mds-input-upload.entry.js +2 -2
- package/dist/esm-es5/mds-input.entry.js +53 -50
- package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
- package/dist/esm-es5/mds-keyboard.entry.js +6 -3
- package/dist/esm-es5/mds-kpi-item.entry.js +3 -3
- package/dist/esm-es5/mds-kpi.entry.js +1 -1
- package/dist/esm-es5/mds-label.entry.js +2 -2
- package/dist/esm-es5/mds-link.entry.js +2 -2
- package/dist/esm-es5/mds-list-item.entry.js +1 -1
- package/dist/esm-es5/mds-list.entry.js +1 -1
- package/dist/esm-es5/mds-mention.entry.js +2 -2
- package/dist/esm-es5/mds-modal.entry.js +2 -2
- package/dist/esm-es5/mds-note.entry.js +2 -2
- package/dist/esm-es5/mds-notification.entry.js +1 -1
- package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
- package/dist/esm-es5/mds-paginator.entry.js +3 -3
- package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
- package/dist/esm-es5/mds-pref-animation.entry.js +2 -2
- package/dist/esm-es5/mds-pref-consumption.entry.js +2 -2
- package/dist/esm-es5/mds-pref-contrast.entry.js +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 +6 -6
- package/dist/esm-es5/mds-pref.entry.js +2 -2
- package/dist/esm-es5/mds-price-table-features-cell.entry.js +1 -1
- 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 +1 -1
- package/dist/esm-es5/mds-price-table-list.entry.js +1 -1
- package/dist/esm-es5/mds-price-table.entry.js +1 -1
- package/dist/esm-es5/mds-progress_2.entry.js +2 -2
- package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
- package/dist/esm-es5/mds-push-notification.entry.js +2 -2
- package/dist/esm-es5/mds-quote.entry.js +1 -1
- package/dist/esm-es5/mds-radial-menu-item.entry.js +1 -1
- package/dist/esm-es5/mds-radial-menu.entry.js +2 -2
- package/dist/esm-es5/mds-separator.entry.js +1 -1
- package/dist/esm-es5/mds-status-bar.entry.js +2 -2
- package/dist/esm-es5/mds-stepper-bar-item.entry.js +6 -3
- package/dist/esm-es5/mds-stepper-bar.entry.js +1 -1
- package/dist/esm-es5/mds-tab-bar-item.entry.js +1 -1
- package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
- 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 +1 -1
- package/dist/esm-es5/mds-table-header-cell.entry.js +1 -1
- package/dist/esm-es5/mds-table-header.entry.js +4 -4
- package/dist/esm-es5/mds-table-row.entry.js +2 -2
- package/dist/esm-es5/mds-table.entry.js +2 -2
- package/dist/esm-es5/mds-text.entry.js +1 -1
- package/dist/esm-es5/mds-toast-region.entry.js +1 -1
- package/dist/esm-es5/mds-toast.entry.js +2 -2
- package/dist/esm-es5/mds-tooltip.entry.js +2 -2
- package/dist/esm-es5/mds-tree-item.entry.js +2 -2
- package/dist/esm-es5/mds-tree.entry.js +1 -1
- package/dist/esm-es5/mds-url-view.entry.js +2 -2
- package/dist/esm-es5/mds-usage.entry.js +2 -2
- package/dist/esm-es5/mds-video-wall.entry.js +1 -1
- package/dist/esm-es5/mds-zero.entry.js +1 -1
- package/dist/hydrate/index.js +1228 -207
- package/dist/hydrate/index.mjs +1228 -207
- package/dist/lint/core/checks.d.ts +26 -0
- package/dist/lint/core/checks.js +135 -0
- package/dist/lint/core/colors.d.ts +2 -0
- package/dist/lint/core/colors.js +40 -0
- package/dist/lint/core/data.d.ts +82 -0
- package/dist/lint/core/data.js +171 -0
- package/dist/lint/core/element.d.ts +55 -0
- package/dist/lint/core/element.js +19 -0
- package/dist/lint/eslint/adapters.d.ts +53 -0
- package/dist/lint/eslint/adapters.js +217 -0
- package/dist/lint/eslint/index.d.ts +7 -0
- package/dist/lint/eslint/index.js +86 -0
- package/dist/lint/index.d.ts +4 -0
- package/dist/lint/index.js +10 -0
- package/dist/lint/mcp/checks.d.ts +15 -0
- package/dist/lint/mcp/checks.js +407 -0
- package/dist/lint/mcp/cli.d.ts +2 -0
- package/dist/lint/mcp/cli.js +29 -0
- package/dist/lint/mcp/color.d.ts +12 -0
- package/dist/lint/mcp/color.js +87 -0
- package/dist/lint/mcp/components.d.ts +5 -0
- package/dist/lint/mcp/components.js +362 -0
- package/dist/lint/mcp/context.d.ts +25 -0
- package/dist/lint/mcp/context.js +87 -0
- package/dist/lint/mcp/guides.d.ts +3 -0
- package/dist/lint/mcp/guides.js +137 -0
- package/dist/lint/mcp/icon.svg +11 -0
- package/dist/lint/mcp/icons.d.ts +3 -0
- package/dist/lint/mcp/icons.js +170 -0
- package/dist/lint/mcp/protocol.d.ts +42 -0
- package/dist/lint/mcp/protocol.js +106 -0
- package/dist/lint/mcp/server.d.ts +20 -0
- package/dist/lint/mcp/server.js +67 -0
- package/dist/lint/mcp/tokens.d.ts +22 -0
- package/dist/lint/mcp/tokens.js +507 -0
- package/dist/lint/package.json +3 -0
- package/dist/lint/stylelint/index.d.ts +3 -0
- package/dist/lint/stylelint/index.js +137 -0
- package/dist/lint/stylelint/recommended.d.ts +3 -0
- package/dist/lint/stylelint/recommended.js +10 -0
- package/dist/lint/stylelint/strict.d.ts +3 -0
- package/dist/lint/stylelint/strict.js +10 -0
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/{p-26451eb6.entry.js → p-00aa9a51.entry.js} +1 -1
- package/dist/magma-components/{p-5533b60d.system.entry.js → p-00acb2e1.system.entry.js} +3 -3
- package/dist/magma-components/{p-4bc3335f.system.entry.js → p-037126b7.system.entry.js} +1 -1
- package/dist/magma-components/{p-e5d41024.system.entry.js → p-03da0376.system.entry.js} +1 -1
- package/dist/magma-components/{p-25a6e977.entry.js → p-0417391b.entry.js} +1 -1
- package/dist/magma-components/{p-377d0661.entry.js → p-05ef91a5.entry.js} +1 -1
- package/dist/magma-components/{p-336f56a4.entry.js → p-07d35da6.entry.js} +1 -1
- package/dist/magma-components/{p-f4d80d9a.entry.js → p-09c80fdb.entry.js} +1 -1
- package/dist/magma-components/{p-5cfa0dce.entry.js → p-0b0ca53c.entry.js} +1 -1
- package/dist/magma-components/{p-617370e7.system.entry.js → p-0babf674.system.entry.js} +7 -7
- package/dist/magma-components/{p-29162c98.entry.js → p-0d90c991.entry.js} +1 -1
- package/dist/magma-components/{p-9745dc51.entry.js → p-103465cf.entry.js} +1 -1
- package/dist/magma-components/{p-919f9dce.entry.js → p-10983da0.entry.js} +1 -1
- package/dist/magma-components/{p-52d905fe.system.entry.js → p-109926ce.system.entry.js} +2 -2
- package/dist/magma-components/{p-70d38284.entry.js → p-14b13850.entry.js} +1 -1
- package/dist/magma-components/{p-bf0cb77d.system.entry.js → p-154ba354.system.entry.js} +2 -2
- package/dist/magma-components/{p-73833405.entry.js → p-160cd923.entry.js} +1 -1
- package/dist/magma-components/{p-5ef0fb69.system.entry.js → p-1685e74c.system.entry.js} +1 -1
- package/dist/magma-components/p-1748ca8b.system.entry.js +1 -0
- package/dist/magma-components/{p-729c89f9.system.entry.js → p-17a43cb6.system.entry.js} +2 -2
- package/dist/magma-components/p-17ccfc01.system.entry.js +208 -0
- package/dist/magma-components/{p-f670ed20.entry.js → p-198ea5d8.entry.js} +1 -1
- package/dist/magma-components/{p-d561062f.system.entry.js → p-1b415625.system.entry.js} +3 -3
- package/dist/magma-components/{p-4bc47ff0.system.entry.js → p-1b67b149.system.entry.js} +2 -2
- package/dist/magma-components/p-1c00d0f7.entry.js +1 -0
- package/dist/magma-components/{p-05ed801b.system.entry.js → p-1cd75adf.system.entry.js} +3 -3
- package/dist/magma-components/{p-244676d3.system.entry.js → p-1d8485de.system.entry.js} +4 -4
- package/dist/magma-components/{p-23c057a9.entry.js → p-2006cfeb.entry.js} +1 -1
- package/dist/magma-components/{p-02fe26b4.system.entry.js → p-2216f207.system.entry.js} +2 -2
- package/dist/magma-components/{p-edf003f1.system.entry.js → p-22f24125.system.entry.js} +1 -1
- package/dist/magma-components/{p-6560b426.system.entry.js → p-25c07b67.system.entry.js} +1 -1
- package/dist/magma-components/{p-e3a65644.entry.js → p-29fbb7cf.entry.js} +1 -1
- package/dist/magma-components/{p-f7147d05.entry.js → p-2a26b614.entry.js} +1 -1
- package/dist/magma-components/p-2a6c2a41.entry.js +1 -0
- package/dist/magma-components/{p-06fde29d.entry.js → p-2c28056d.entry.js} +1 -1
- package/dist/magma-components/{p-23722401.entry.js → p-2c5e5cd1.entry.js} +1 -1
- package/dist/magma-components/{p-d92ccce5.system.entry.js → p-2c7d091e.system.entry.js} +3 -3
- package/dist/magma-components/{p-3abaa053.entry.js → p-2c997b47.entry.js} +1 -1
- package/dist/magma-components/{p-0a8e8525.entry.js → p-2f39f4e4.entry.js} +1 -1
- package/dist/magma-components/{p-02298ed0.system.entry.js → p-31370fdb.system.entry.js} +1 -1
- package/dist/magma-components/{p-3df07021.system.entry.js → p-3139988c.system.entry.js} +1 -1
- package/dist/magma-components/p-32418266.entry.js +1 -0
- package/dist/magma-components/{p-cc9659e1.system.entry.js → p-33c80de3.system.entry.js} +1 -1
- package/dist/magma-components/{p-09a7b578.system.entry.js → p-34c0e63c.system.entry.js} +1 -1
- package/dist/magma-components/{p-ca1969c5.entry.js → p-354a5b47.entry.js} +1 -1
- package/dist/magma-components/{p-81e02997.system.entry.js → p-35c6341a.system.entry.js} +3 -3
- package/dist/magma-components/{p-b476435f.entry.js → p-379f51a6.entry.js} +1 -1
- package/dist/magma-components/{p-7c217aa5.entry.js → p-381f49ea.entry.js} +1 -1
- package/dist/magma-components/{p-221c2f0d.entry.js → p-384ab014.entry.js} +1 -1
- package/dist/magma-components/{p-29ab84bf.system.entry.js → p-386bb24e.system.entry.js} +4 -4
- package/dist/magma-components/{p-1e18fcc5.system.entry.js → p-39a2df98.system.entry.js} +1 -1
- package/dist/magma-components/{p-5c4e41d3.system.entry.js → p-3a7c4314.system.entry.js} +3 -3
- package/dist/magma-components/{p-e5950aee.entry.js → p-3a9a75e5.entry.js} +1 -1
- package/dist/magma-components/{p-5435f2a9.entry.js → p-3b691cc3.entry.js} +1 -1
- package/dist/magma-components/{p-3fd8ff0e.system.entry.js → p-3bdb541f.system.entry.js} +2 -2
- package/dist/magma-components/{p-dbd34e3b.entry.js → p-3ca004c3.entry.js} +1 -1
- package/dist/magma-components/{p-4776ac1f.entry.js → p-3caf6a26.entry.js} +1 -1
- package/dist/magma-components/{p-1faa4f71.entry.js → p-3dccd446.entry.js} +1 -1
- package/dist/magma-components/{p-396d95a1.system.entry.js → p-3dde41b0.system.entry.js} +3 -3
- package/dist/magma-components/{p-6f81c9ef.system.entry.js → p-3e8e0003.system.entry.js} +2 -2
- package/dist/magma-components/{p-21547758.system.entry.js → p-3f0e6729.system.entry.js} +3 -3
- package/dist/magma-components/{p-481897a7.entry.js → p-42ab27de.entry.js} +1 -1
- package/dist/magma-components/{p-80eea067.system.entry.js → p-430a4c4b.system.entry.js} +2 -2
- package/dist/magma-components/{p-d48c40ab.system.entry.js → p-47b05fa1.system.entry.js} +1 -1
- package/dist/magma-components/{p-e5eb2390.entry.js → p-47db3155.entry.js} +1 -1
- package/dist/magma-components/{p-2c845743.system.entry.js → p-48f86057.system.entry.js} +1 -1
- package/dist/magma-components/{p-7961c335.system.entry.js → p-4a72d72c.system.entry.js} +1 -1
- package/dist/magma-components/{p-2d3b5eb5.entry.js → p-4aa94380.entry.js} +1 -1
- package/dist/magma-components/{p-ab00b7b9.entry.js → p-4ab2eb7e.entry.js} +1 -1
- package/dist/magma-components/{p-c3c487aa.system.entry.js → p-4bea91e1.system.entry.js} +1 -1
- package/dist/magma-components/{p-f588cf9e.entry.js → p-4cd21f19.entry.js} +1 -1
- package/dist/magma-components/{p-287601bb.entry.js → p-4de89d1b.entry.js} +1 -1
- package/dist/magma-components/{p-23fabd66.system.entry.js → p-50c8f36c.system.entry.js} +1 -1
- package/dist/magma-components/{p-d0bfdb44.system.entry.js → p-5200ab23.system.entry.js} +2 -2
- package/dist/magma-components/{p-f35608b2.entry.js → p-52211fa3.entry.js} +1 -1
- package/dist/magma-components/{p-74f515c3.system.entry.js → p-53981624.system.entry.js} +2 -2
- package/dist/magma-components/p-53acdc6b.entry.js +1 -0
- package/dist/magma-components/p-5660182a.system.entry.js +1 -0
- package/dist/magma-components/{p-464e6431.entry.js → p-56c5ca6f.entry.js} +1 -1
- package/dist/magma-components/p-57e92942.system.entry.js +20 -0
- package/dist/magma-components/{p-63b10a6e.entry.js → p-59aa4994.entry.js} +1 -1
- package/dist/magma-components/{p-9a3ddc91.entry.js → p-59f06b9c.entry.js} +1 -1
- package/dist/magma-components/{p-3d95e688.system.entry.js → p-5aa78075.system.entry.js} +3 -3
- package/dist/magma-components/p-5cf87a7f.entry.js +1 -0
- package/dist/magma-components/{p-5da14e81.entry.js → p-5e8df58d.entry.js} +1 -1
- package/dist/magma-components/{p-880f3eac.system.entry.js → p-5ed74216.system.entry.js} +1 -1
- package/dist/magma-components/{p-84777b38.system.entry.js → p-5f064376.system.entry.js} +2 -2
- package/dist/magma-components/{p-8173ed07.entry.js → p-60727165.entry.js} +2 -2
- package/dist/magma-components/{p-278c362d.entry.js → p-6093aa8e.entry.js} +1 -1
- package/dist/magma-components/{p-29450db3.entry.js → p-62d9eaca.entry.js} +1 -1
- package/dist/magma-components/{p-4c6da1db.system.entry.js → p-6b402a09.system.entry.js} +9 -9
- package/dist/magma-components/p-6b55c5fe.system.entry.js +1 -0
- package/dist/magma-components/{p-3d162e99.system.entry.js → p-6d57674c.system.entry.js} +2 -2
- package/dist/magma-components/p-6d96d223.entry.js +1 -0
- package/dist/magma-components/{p-47717251.system.entry.js → p-6df26141.system.entry.js} +4 -4
- package/dist/magma-components/{p-5f8db04c.system.entry.js → p-6df7da52.system.entry.js} +1 -1
- package/dist/magma-components/{p-9250ec26.system.entry.js → p-6e751bcc.system.entry.js} +2 -2
- package/dist/magma-components/{p-656b00df.system.entry.js → p-718d6384.system.entry.js} +8 -8
- package/dist/magma-components/{p-8279056b.system.entry.js → p-71dab494.system.entry.js} +3 -3
- package/dist/magma-components/{p-b5789a7c.entry.js → p-732d09b6.entry.js} +1 -1
- package/dist/magma-components/{p-fac6f123.entry.js → p-73f4f67e.entry.js} +1 -1
- package/dist/magma-components/{p-772c18f4.entry.js → p-785fa112.entry.js} +1 -1
- package/dist/magma-components/{p-26b9f2b7.system.entry.js → p-79fd07e7.system.entry.js} +2 -2
- package/dist/magma-components/{p-0033cb92.system.entry.js → p-7acbc6ea.system.entry.js} +1 -1
- package/dist/magma-components/{p-67eb3881.entry.js → p-7dd0364b.entry.js} +1 -1
- package/dist/magma-components/{p-cbb80188.entry.js → p-7e7391fd.entry.js} +1 -1
- package/dist/magma-components/{p-f889d413.system.entry.js → p-7ec28ff1.system.entry.js} +2 -2
- package/dist/magma-components/{p-71cbc840.entry.js → p-7f74ec99.entry.js} +1 -1
- package/dist/magma-components/{p-0679c988.system.entry.js → p-7ffce9e8.system.entry.js} +1 -1
- package/dist/magma-components/{p-06ccc40d.entry.js → p-81212e34.entry.js} +1 -1
- package/dist/magma-components/{p-cf6f54e5.system.entry.js → p-8219e58f.system.entry.js} +2 -2
- package/dist/magma-components/{p-860bce85.system.entry.js → p-84711ab6.system.entry.js} +3 -3
- package/dist/magma-components/p-84bf333b.entry.js +1 -0
- package/dist/magma-components/{p-4792ff7f.entry.js → p-84d0d701.entry.js} +1 -1
- package/dist/magma-components/{p-30be5c39.entry.js → p-857ae762.entry.js} +1 -1
- package/dist/magma-components/{p-8f63f1a1.system.entry.js → p-87395a4d.system.entry.js} +1 -1
- package/dist/magma-components/{p-2431fbfa.system.entry.js → p-87831da2.system.entry.js} +1 -1
- package/dist/magma-components/{p-e39518b4.system.entry.js → p-896310aa.system.entry.js} +2 -2
- package/dist/magma-components/{p-dc1a5826.system.entry.js → p-8ac1ba5c.system.entry.js} +1 -1
- package/dist/magma-components/{p-86cf87fb.entry.js → p-8b8a6662.entry.js} +1 -1
- package/dist/magma-components/{p-62fc9695.entry.js → p-8d7093af.entry.js} +1 -1
- package/dist/magma-components/{p-8ab9ff37.system.entry.js → p-8e15c151.system.entry.js} +1 -1
- package/dist/magma-components/{p-a9ba496d.entry.js → p-8f1c529f.entry.js} +1 -1
- package/dist/magma-components/{p-94289f3d.system.entry.js → p-8f1e9021.system.entry.js} +5 -5
- package/dist/magma-components/{p-69abd1d1.entry.js → p-904c1222.entry.js} +1 -1
- package/dist/magma-components/{p-a70fb4fb.system.entry.js → p-907f06cd.system.entry.js} +9 -9
- package/dist/magma-components/{p-000c315c.entry.js → p-9332358d.entry.js} +1 -1
- package/dist/magma-components/{p-2eb4efcd.system.entry.js → p-93b9d39d.system.entry.js} +2 -2
- package/dist/magma-components/{p-d8ae0f02.system.entry.js → p-965e7a82.system.entry.js} +1 -1
- package/dist/magma-components/{p-c50e20cf.system.entry.js → p-96dfb60e.system.entry.js} +1 -1
- package/dist/magma-components/{p-835d79e5.system.entry.js → p-99bfa07e.system.entry.js} +1 -1
- package/dist/magma-components/{p-3beea731.system.entry.js → p-9c408768.system.entry.js} +1 -1
- package/dist/magma-components/{p-1d2220f0.system.entry.js → p-9e792bed.system.entry.js} +1 -1
- package/dist/magma-components/{p-8258733b.entry.js → p-9fdd477a.entry.js} +1 -1
- package/dist/magma-components/{p-f82c2b7e.system.entry.js → p-9fefa077.system.entry.js} +1 -1
- package/dist/magma-components/p-B8zYiZQY.system.js +2 -2
- package/dist/magma-components/{p-OOCOFWC0.system.js → p-CuHZXISO.system.js} +7 -3
- package/dist/magma-components/{p-DXAjcaHM.system.js → p-CxTugGM9.system.js} +1 -1
- package/dist/magma-components/{p-U5iXN1wy.js → p-Dx_cCOTw.js} +1 -1
- package/dist/magma-components/{p-Raj-urIN.js → p-OafT80hV.js} +1 -1
- package/dist/magma-components/{p-458eb34c.system.entry.js → p-a0d637b6.system.entry.js} +2 -2
- package/dist/magma-components/p-a26c05b6.entry.js +1 -0
- package/dist/magma-components/{p-ccc40c6a.system.entry.js → p-a7baf451.system.entry.js} +2 -2
- package/dist/magma-components/p-ac9feb04.entry.js +1 -0
- package/dist/magma-components/p-ad383f92.entry.js +1 -0
- package/dist/magma-components/{p-42e50f25.system.entry.js → p-ae4736a0.system.entry.js} +4 -4
- package/dist/magma-components/{p-9fc385aa.entry.js → p-b3332c5f.entry.js} +1 -1
- package/dist/magma-components/{p-d37fe692.system.entry.js → p-b3e2b68a.system.entry.js} +2 -2
- package/dist/magma-components/{p-808b9277.entry.js → p-b86144d4.entry.js} +1 -1
- package/dist/magma-components/{p-2cbd532a.system.entry.js → p-bbde5701.system.entry.js} +2 -2
- package/dist/magma-components/{p-577ae081.system.entry.js → p-bc075b3b.system.entry.js} +2 -2
- package/dist/magma-components/{p-068e30a5.entry.js → p-bc19b136.entry.js} +1 -1
- package/dist/magma-components/{p-254ee71d.entry.js → p-bcca26d9.entry.js} +1 -1
- package/dist/magma-components/{p-fc2d1134.entry.js → p-bf35627d.entry.js} +1 -1
- package/dist/magma-components/p-bfd95736.entry.js +1 -0
- package/dist/magma-components/{p-6a2d67d1.system.entry.js → p-c086a5a4.system.entry.js} +1 -1
- package/dist/magma-components/{p-41a0f896.entry.js → p-c27206ca.entry.js} +1 -1
- package/dist/magma-components/{p-762a6b7b.entry.js → p-c2758b81.entry.js} +1 -1
- package/dist/magma-components/{p-a76a9f92.system.entry.js → p-c2c693ed.system.entry.js} +2 -2
- package/dist/magma-components/{p-642925b7.system.entry.js → p-c4a5ab6e.system.entry.js} +1 -1
- package/dist/magma-components/{p-b23bee0c.entry.js → p-c58157cf.entry.js} +1 -1
- package/dist/magma-components/{p-8a9544aa.entry.js → p-c597ad47.entry.js} +1 -1
- package/dist/magma-components/{p-295d8fab.entry.js → p-c7b2ebb5.entry.js} +1 -1
- package/dist/magma-components/{p-ae3bf24c.system.entry.js → p-c8b06821.system.entry.js} +2 -2
- package/dist/magma-components/p-ca1143bc.entry.js +1 -0
- package/dist/magma-components/p-cb88fa71.entry.js +1 -0
- package/dist/magma-components/{p-471227f2.system.entry.js → p-cd783f9e.system.entry.js} +2 -2
- package/dist/magma-components/{p-bd97e368.system.entry.js → p-cd955bc7.system.entry.js} +1 -1
- package/dist/magma-components/{p-1f623b75.entry.js → p-ce42e251.entry.js} +1 -1
- package/dist/magma-components/{p-7bf46d43.entry.js → p-cf4f4561.entry.js} +1 -1
- package/dist/magma-components/{p-0d32e196.system.entry.js → p-d0a15a3a.system.entry.js} +5 -4
- package/dist/magma-components/{p-96bb36b9.entry.js → p-d218ae47.entry.js} +1 -1
- package/dist/magma-components/{p-b738d3c1.entry.js → p-d331ff5c.entry.js} +1 -1
- package/dist/magma-components/{p-34c2daa9.system.entry.js → p-d3844c9a.system.entry.js} +4 -4
- package/dist/magma-components/{p-837d31b8.entry.js → p-d3ac9a1a.entry.js} +1 -1
- package/dist/magma-components/{p-8740403e.system.entry.js → p-d4c3250f.system.entry.js} +2 -2
- package/dist/magma-components/p-d638bbb0.entry.js +1 -0
- package/dist/magma-components/{p-72ad419d.system.entry.js → p-d65e9f0a.system.entry.js} +1 -1
- package/dist/magma-components/{p-358aa5e7.entry.js → p-d87ecd68.entry.js} +1 -1
- package/dist/magma-components/{p-2e48f88d.system.entry.js → p-d93b48b4.system.entry.js} +1 -1
- package/dist/magma-components/{p-9855b517.entry.js → p-d94281cb.entry.js} +1 -1
- package/dist/magma-components/{p-55746791.entry.js → p-d9f92ff8.entry.js} +1 -1
- package/dist/magma-components/{p-4cabfdbc.entry.js → p-da9bc02a.entry.js} +1 -1
- package/dist/magma-components/{p-0148cf0a.entry.js → p-dc618cae.entry.js} +1 -1
- package/dist/magma-components/p-de38f745.entry.js +1 -0
- package/dist/magma-components/{p-0b3e4a97.system.entry.js → p-dee123c7.system.entry.js} +2 -2
- package/dist/magma-components/p-df387755.entry.js +1 -0
- package/dist/magma-components/p-dfab370b.entry.js +1 -0
- package/dist/magma-components/{p-0e887379.system.entry.js → p-e30d0684.system.entry.js} +2 -2
- package/dist/magma-components/{p-f66675f5.system.entry.js → p-e371f9e1.system.entry.js} +1 -1
- package/dist/magma-components/{p-8f7daab1.system.entry.js → p-e3b9ea0b.system.entry.js} +1 -1
- package/dist/magma-components/{p-104ba54e.system.entry.js → p-e3d262d9.system.entry.js} +2 -2
- package/dist/magma-components/{p-7fde3025.system.entry.js → p-e54587e7.system.entry.js} +3 -3
- package/dist/magma-components/{p-2cdf450c.system.entry.js → p-e5f893f9.system.entry.js} +2 -2
- package/dist/magma-components/{p-d0a93a14.system.entry.js → p-e709a52e.system.entry.js} +6 -3
- package/dist/magma-components/{p-8680f63e.entry.js → p-e8452cce.entry.js} +1 -1
- package/dist/magma-components/{p-09f621ea.entry.js → p-ea503851.entry.js} +1 -1
- package/dist/magma-components/{p-3dc81ab9.system.entry.js → p-ec44a4ea.system.entry.js} +4 -4
- package/dist/magma-components/{p-8645533a.entry.js → p-ed133270.entry.js} +1 -1
- package/dist/magma-components/{p-77939a25.system.entry.js → p-ee780f82.system.entry.js} +2 -2
- package/dist/magma-components/p-ef4ee9ca.entry.js +1 -0
- package/dist/magma-components/{p-15ffdcf6.entry.js → p-f045b018.entry.js} +1 -1
- package/dist/magma-components/{p-87ce9d6c.entry.js → p-f2211b1f.entry.js} +1 -1
- package/dist/magma-components/{p-2aac4003.entry.js → p-f267ff68.entry.js} +1 -1
- package/dist/magma-components/{p-41a28f2a.system.entry.js → p-f27de6cb.system.entry.js} +3 -3
- package/dist/magma-components/{p-1908f808.entry.js → p-f2ef884c.entry.js} +1 -1
- package/dist/magma-components/{p-9f8ce68f.entry.js → p-f3f88f32.entry.js} +1 -1
- package/dist/magma-components/{p-1eee93c8.system.entry.js → p-f40e3918.system.entry.js} +2 -2
- package/dist/magma-components/{p-6e32bf99.entry.js → p-f4181b35.entry.js} +1 -1
- package/dist/magma-components/{p-8a76097f.entry.js → p-f4351160.entry.js} +1 -1
- package/dist/magma-components/{p-c3a3caae.system.entry.js → p-f4fc9f29.system.entry.js} +1 -1
- package/dist/magma-components/{p-f2f992c2.system.entry.js → p-f5c7b147.system.entry.js} +2 -2
- package/dist/magma-components/{p-84ed22ea.system.entry.js → p-f7d5445c.system.entry.js} +1 -1
- package/dist/magma-components/{p-08370fc2.system.entry.js → p-f7e9af99.system.entry.js} +1 -1
- package/dist/magma-components/{p-95478664.system.entry.js → p-f8c85ad7.system.entry.js} +1 -1
- package/dist/magma-components/{p-c6819aad.entry.js → p-f9b601de.entry.js} +1 -1
- package/dist/magma-components/{p-357724ab.entry.js → p-fa44d0d2.entry.js} +1 -1
- package/dist/magma-components/{p-d3d74616.entry.js → p-fba648e0.entry.js} +1 -1
- package/dist/magma-components/p-fe8e3721.system.entry.js +225 -0
- package/dist/magma-components/{p-8d6470fb.system.entry.js → p-fe98a77e.system.entry.js} +2 -2
- package/dist/magma-components/{p-d980c3d2.system.entry.js → p-ff7fc1f6.system.entry.js} +2 -2
- package/dist/stats.json +3498 -1516
- package/dist/types/common/locale.d.ts +5 -0
- package/dist/types/components/mds-accordion/mds-accordion.d.ts +1 -0
- package/dist/types/components/mds-accordion-item/mds-accordion-item.d.ts +1 -0
- package/dist/types/components/mds-accordion-timer/mds-accordion-timer.d.ts +1 -0
- package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +1 -0
- package/dist/types/components/mds-author/mds-author.d.ts +1 -0
- package/dist/types/components/mds-avatar/mds-avatar.d.ts +1 -0
- package/dist/types/components/mds-avatar-stack/mds-avatar-stack.d.ts +1 -0
- package/dist/types/components/mds-avatar-stack-item/mds-avatar-stack-item.d.ts +3 -0
- package/dist/types/components/mds-badge/mds-badge.d.ts +1 -0
- package/dist/types/components/mds-banner/mds-banner.d.ts +1 -0
- package/dist/types/components/mds-benchmark-bar/mds-benchmark-bar.d.ts +1 -0
- package/dist/types/components/mds-bibliography/mds-bibliography.d.ts +3 -0
- package/dist/types/components/mds-book/mds-book.d.ts +114 -0
- package/dist/types/components/mds-book/meta/dictionary.d.ts +4 -0
- package/dist/types/components/mds-book/meta/format.d.ts +30 -0
- package/dist/types/components/mds-book/meta/pose.d.ts +64 -0
- package/dist/types/components/mds-book/meta/spine.d.ts +33 -0
- package/dist/types/components/mds-book/meta/types.d.ts +3 -0
- package/dist/types/components/mds-book/meta/volume.d.ts +22 -0
- package/dist/types/components/mds-breadcrumb/mds-breadcrumb.d.ts +1 -0
- package/dist/types/components/mds-breadcrumb-item/mds-breadcrumb-item.d.ts +1 -0
- package/dist/types/components/mds-button/mds-button.d.ts +1 -0
- package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +1 -0
- package/dist/types/components/mds-button-group/mds-button-group.d.ts +1 -0
- package/dist/types/components/mds-calendar/mds-calendar.d.ts +1 -0
- package/dist/types/components/mds-calendar-cell/mds-calendar-cell.d.ts +3 -0
- package/dist/types/components/mds-card/mds-card.d.ts +1 -0
- package/dist/types/components/mds-card-content/mds-card-content.d.ts +1 -0
- package/dist/types/components/mds-card-footer/mds-card-footer.d.ts +1 -0
- package/dist/types/components/mds-card-header/mds-card-header.d.ts +1 -0
- package/dist/types/components/mds-card-media/mds-card-media.d.ts +1 -0
- package/dist/types/components/mds-chip/mds-chip.d.ts +3 -0
- package/dist/types/components/mds-details/mds-details.d.ts +1 -0
- package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +1 -0
- package/dist/types/components/mds-emoji/mds-emoji.d.ts +3 -0
- package/dist/types/components/mds-entity/mds-entity.d.ts +1 -0
- package/dist/types/components/mds-file/mds-file.d.ts +3 -0
- package/dist/types/components/mds-file-preview/mds-file-preview.d.ts +1 -0
- package/dist/types/components/mds-filter/mds-filter.d.ts +1 -0
- package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +3 -0
- package/dist/types/components/mds-header/mds-header.d.ts +1 -0
- package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +1 -0
- package/dist/types/components/mds-help/mds-help.d.ts +1 -0
- package/dist/types/components/mds-horizontal-scroll/mds-horizontal-scroll.d.ts +1 -0
- package/dist/types/components/mds-hr/mds-hr.d.ts +3 -0
- package/dist/types/components/mds-icon/mds-icon.d.ts +1 -0
- package/dist/types/components/mds-img/mds-img.d.ts +1 -0
- package/dist/types/components/mds-input/mds-input.d.ts +1 -0
- package/dist/types/components/mds-input/meta/validators.d.ts +7 -2
- package/dist/types/components/mds-input/meta/validity.d.ts +3 -2
- package/dist/types/components/mds-input-date/mds-input-date.d.ts +1 -0
- package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +1 -0
- package/dist/types/components/mds-input-date-range-preselection/mds-input-date-range-preselection.d.ts +1 -0
- package/dist/types/components/mds-input-field/mds-input-field.d.ts +1 -0
- package/dist/types/components/mds-input-otp/mds-input-otp.d.ts +3 -0
- package/dist/types/components/mds-input-range/mds-input-range.d.ts +1 -0
- package/dist/types/components/mds-input-select/mds-input-select.d.ts +3 -1
- package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +1 -0
- package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +1 -0
- package/dist/types/components/mds-input-tip-item/mds-input-tip-item.d.ts +1 -0
- package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +3 -0
- package/dist/types/components/mds-keyboard/mds-keyboard.d.ts +1 -0
- package/dist/types/components/mds-keyboard-key/mds-keyboard-key.d.ts +3 -0
- package/dist/types/components/mds-kpi/mds-kpi.d.ts +1 -0
- package/dist/types/components/mds-kpi-item/mds-kpi-item.d.ts +1 -0
- package/dist/types/components/mds-label/mds-label.d.ts +3 -0
- package/dist/types/components/mds-link/mds-link.d.ts +1 -0
- package/dist/types/components/mds-list/mds-list.d.ts +1 -0
- package/dist/types/components/mds-list-item/mds-list-item.d.ts +1 -0
- package/dist/types/components/mds-mention/mds-mention.d.ts +3 -0
- package/dist/types/components/mds-modal/mds-modal.d.ts +1 -0
- package/dist/types/components/mds-note/mds-note.d.ts +1 -0
- package/dist/types/components/mds-notification/mds-notification.d.ts +3 -0
- package/dist/types/components/mds-paginator/mds-paginator.d.ts +3 -0
- package/dist/types/components/mds-paginator-item/mds-paginator-item.d.ts +1 -0
- package/dist/types/components/mds-policy-ai/mds-policy-ai.d.ts +1 -0
- package/dist/types/components/mds-pref/mds-pref.d.ts +1 -1
- package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +3 -0
- package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +3 -0
- package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +3 -0
- package/dist/types/components/mds-pref-language/mds-pref-language.d.ts +1 -0
- package/dist/types/components/mds-pref-language-item/mds-pref-language-item.d.ts +3 -0
- package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +3 -0
- package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +1 -0
- package/dist/types/components/mds-pref-theme-item/mds-pref-theme-item.d.ts +3 -0
- package/dist/types/components/mds-price-table/mds-price-table.d.ts +1 -0
- package/dist/types/components/mds-price-table-features/mds-price-table-features.d.ts +1 -0
- package/dist/types/components/mds-price-table-features-cell/mds-price-table-features-cell.d.ts +1 -0
- package/dist/types/components/mds-price-table-features-row/mds-price-table-features-row.d.ts +1 -0
- package/dist/types/components/mds-price-table-header/mds-price-table-header.d.ts +1 -0
- package/dist/types/components/mds-price-table-list/mds-price-table-list.d.ts +1 -0
- package/dist/types/components/mds-price-table-list-item/mds-price-table-list-item.d.ts +1 -0
- package/dist/types/components/mds-progress/mds-progress.d.ts +1 -0
- package/dist/types/components/mds-push-notification/mds-push-notification.d.ts +1 -0
- package/dist/types/components/mds-push-notification-item/mds-push-notification-item.d.ts +1 -0
- package/dist/types/components/mds-quote/mds-quote.d.ts +1 -0
- package/dist/types/components/mds-radial-menu/mds-radial-menu.d.ts +1 -0
- package/dist/types/components/mds-radial-menu-item/mds-radial-menu-item.d.ts +3 -0
- package/dist/types/components/mds-radial-progress/mds-radial-progress.d.ts +1 -0
- package/dist/types/components/mds-separator/mds-separator.d.ts +3 -0
- package/dist/types/components/mds-spinner/mds-spinner.d.ts +3 -0
- package/dist/types/components/mds-status-bar/mds-status-bar.d.ts +1 -0
- package/dist/types/components/mds-stepper-bar/mds-stepper-bar.d.ts +1 -0
- package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +1 -0
- package/dist/types/components/mds-tab/mds-tab.d.ts +1 -0
- package/dist/types/components/mds-tab-bar/mds-tab-bar.d.ts +1 -0
- package/dist/types/components/mds-tab-bar-item/mds-tab-bar-item.d.ts +1 -0
- package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +1 -0
- package/dist/types/components/mds-table/mds-table.d.ts +1 -0
- package/dist/types/components/mds-table-body/mds-table-body.d.ts +1 -0
- package/dist/types/components/mds-table-cell/mds-table-cell.d.ts +1 -0
- package/dist/types/components/mds-table-footer/mds-table-footer.d.ts +1 -0
- package/dist/types/components/mds-table-header/mds-table-header.d.ts +1 -0
- package/dist/types/components/mds-table-header-cell/mds-table-header-cell.d.ts +1 -0
- package/dist/types/components/mds-table-row/mds-table-row.d.ts +1 -0
- package/dist/types/components/mds-text/mds-text.d.ts +1 -0
- package/dist/types/components/mds-toast/mds-toast.d.ts +1 -0
- package/dist/types/components/mds-toast-region/mds-toast-region.d.ts +1 -0
- package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +1 -0
- package/dist/types/components/mds-tree/mds-tree.d.ts +1 -0
- package/dist/types/components/mds-tree-item/mds-tree-item.d.ts +1 -0
- package/dist/types/components/mds-url-view/mds-url-view.d.ts +3 -0
- package/dist/types/components/mds-usage/mds-usage.d.ts +1 -0
- package/dist/types/components/mds-video-wall/mds-video-wall.d.ts +1 -0
- package/dist/types/components/mds-zero/mds-zero.d.ts +1 -0
- package/dist/types/components.d.ts +1517 -6
- package/package.json +42 -5
- package/dist/components/p-B0AnE3sA.js +0 -1
- package/dist/components/p-BbTcXgbr.js +0 -1
- package/dist/components/p-CHHEp_7y.js +0 -1
- package/dist/components/p-D8wd-EZX.js +0 -1
- package/dist/magma-components/p-083dceb8.system.entry.js +0 -1
- package/dist/magma-components/p-0eb3558a.entry.js +0 -1
- package/dist/magma-components/p-2a964578.entry.js +0 -1
- package/dist/magma-components/p-335244bb.entry.js +0 -1
- package/dist/magma-components/p-3fb46ab9.system.entry.js +0 -1
- package/dist/magma-components/p-4d485e1f.system.entry.js +0 -1
- package/dist/magma-components/p-57839384.system.entry.js +0 -17
- package/dist/magma-components/p-632ad925.system.entry.js +0 -222
- package/dist/magma-components/p-6436178a.entry.js +0 -1
- package/dist/magma-components/p-644e64a0.entry.js +0 -1
- package/dist/magma-components/p-791a6a6f.entry.js +0 -1
- package/dist/magma-components/p-7ec1ea2e.entry.js +0 -1
- package/dist/magma-components/p-89d4b6e9.entry.js +0 -1
- package/dist/magma-components/p-984dd850.entry.js +0 -1
- package/dist/magma-components/p-a7c01334.entry.js +0 -1
- package/dist/magma-components/p-a8e1ce2f.entry.js +0 -1
- package/dist/magma-components/p-ab4b617d.entry.js +0 -1
- package/dist/magma-components/p-d6b38d8a.entry.js +0 -1
- package/dist/magma-components/p-da24a265.entry.js +0 -1
- package/dist/magma-components/p-e1383302.entry.js +0 -1
- package/dist/magma-components/p-f1aafe07.entry.js +0 -1
- package/dist/magma-components/p-f78c1699.entry.js +0 -1
|
@@ -44,12 +44,12 @@ When `icon` is not set, the item renders the default slot content as the page nu
|
|
|
44
44
|
|
|
45
45
|
#### Icon-Based Navigation Item
|
|
46
46
|
|
|
47
|
-
When `icon` is set, the item renders an icon instead of the text slot and is used for the back and forward arrow controls. The parent passes its own back and forward arrow icons, bundled in the component.
|
|
47
|
+
When `icon` is set, the item renders an icon instead of the text slot and is used for the back and forward arrow controls. The parent passes its own back and forward arrow icons, bundled in the component, and names each arrow with an `aria-label`: an icon alone gives the item no accessible name.
|
|
48
48
|
|
|
49
49
|
```html
|
|
50
50
|
<!-- Rendered internally by mds-paginator; shown here for reference only -->
|
|
51
|
-
<mds-paginator-item icon="mi/baseline/arrow-back" disabled></mds-paginator-item>
|
|
52
|
-
<mds-paginator-item icon="mi/baseline/arrow-forward"></mds-paginator-item>
|
|
51
|
+
<mds-paginator-item icon="mi/baseline/arrow-back" aria-label="Pagina precedente" disabled></mds-paginator-item>
|
|
52
|
+
<mds-paginator-item icon="mi/baseline/arrow-forward" aria-label="Pagina successiva"></mds-paginator-item>
|
|
53
53
|
```
|
|
54
54
|
|
|
55
55
|
#### Selected and Disabled States
|
|
@@ -61,17 +61,16 @@ When `icon` is set, the item renders an icon instead of the text slot and is use
|
|
|
61
61
|
<mds-paginator-item selected>3</mds-paginator-item>
|
|
62
62
|
|
|
63
63
|
<!-- Back arrow on page 1 - disabled, inert -->
|
|
64
|
-
<mds-paginator-item icon="mi/baseline/arrow-back" disabled></mds-paginator-item>
|
|
64
|
+
<mds-paginator-item icon="mi/baseline/arrow-back" aria-label="Pagina precedente" disabled></mds-paginator-item>
|
|
65
65
|
```
|
|
66
66
|
|
|
67
67
|
#### CSS Customization
|
|
68
68
|
|
|
69
|
-
The items live in the shadow DOM of the parent `mds-paginator`, so the
|
|
69
|
+
The items live in the shadow DOM of the parent `mds-paginator`, so the public `--mds-paginator-item-*` CSS custom properties reach them by inheritance: set them on the `mds-paginator` host or on a containing selector, next to the parent's own `--mds-paginator-background` and `--mds-paginator-scroll-behavior`. Use the semantic color roles so dark mode keeps working.
|
|
70
70
|
|
|
71
71
|
```css
|
|
72
72
|
mds-paginator {
|
|
73
73
|
--mds-paginator-background: rgb(var(--magma-wash-strong));
|
|
74
|
-
--mds-paginator-item-background-hover: rgb(var(--magma-wash-soft));
|
|
75
74
|
--mds-paginator-item-size: calc(var(--spacing) * 800);
|
|
76
75
|
}
|
|
77
76
|
```
|
|
@@ -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.6.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
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-10-
|
|
2
|
+
"timestamp": "2026-10-24T12:14:05",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.45.2",
|
|
@@ -31,11 +31,15 @@
|
|
|
31
31
|
{
|
|
32
32
|
"name": "part",
|
|
33
33
|
"text": "banner - Selects the `banner` component wrapped in shadowDOM, will be found only if attirbute `variant` is set to `banner`."
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "category",
|
|
37
|
+
"text": "tags"
|
|
34
38
|
}
|
|
35
39
|
],
|
|
36
40
|
"usage": {
|
|
37
41
|
"1. Description": "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).\n\n#### Semantic Behavior\n\n- **Variant-exclusive rendering**: Exactly one surface is mounted per the `variant` value, exposed through the matching shadow part (`icon`, `chip`, `card`, `banner`).\n- **Localization**: Supplies all default copy (headline, description, link labels) in `el`, `en`, `es`, `it`, resolved from the host language.\n- **Policy navigation**: Every variant routes the user to the policy `href` - the `icon` variant opens it in a new tab on click, while the other variants embed a button link to it.\n- **Content fallbacks**: `headline` and `description` override the localized defaults where the active variant uses them; otherwise the built-in MIA disclosure text is shown.\n\n#### Properties & Visual Configurations\n\n- **`variant`** selects the disclosure surface and is the primary configuration knob. Each value carries a distinct placement intent:\n - **`'chip'`** (default): a compact \"Generated with MIA\" chip with a hover dropdown holding the disclaimer and policy link - for inline placement next to generated text.\n - **`'icon'`**: a minimal help glyph with a tooltip - for the most space-constrained contexts.\n - **`'card'`**: a small card pairing the disclaimer with a policy button - for sidebars or standalone blocks.\n - **`'banner'`**: a full-width banner with title, description, and action - for prominent page-level notices.\n- **`headline`** sets the short title used by the `chip`, `icon`, and `banner` surfaces; **`description`** sets the longer disclaimer body shown across the variants that expose it.\n- **`href`** points to the AI policy page and defaults to the Maggioli EU AI-regulation article; override it to target a tenant-specific policy.\n\nThe internal surfaces are fixed to `variant=\"ai\"` of their underlying Magma components (the chip at its default `strong` tone, the banner and the buttons at `tone=\"weak\"`) and are not configurable from this component; the shared variant/tone ladder is documented in [`agents/variants.md`](../../../../agents/variants.md).\n",
|
|
38
|
-
"2. Pattern": "Correct and idiomatic ways to use the `<mds-policy-ai>` 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#### Default Chip - Inline Disclosure Next to Generated Text\n\nThe default form. Drop the component directly after AI-generated content with no additional attributes. The built-in \"Generato con MIA\" chip appears with a hover dropdown linking to the policy page.\n\n```html\n<mds-text typography=\"paragraph\">\n Il presente estratto e' stato generato automaticamente dall'intelligenza artificiale MIA.\n</mds-text>\n<mds-policy-ai></mds-policy-ai>\n```\n\n#### Explicit Chip Variant\n\nDeclare `variant=\"chip\"` explicitly when component selection is driven by configuration or template logic. Behavior is identical to the default.\n\n```html\n<mds-policy-ai variant=\"chip\"></mds-policy-ai>\n```\n\n#### Custom Headline and Description on the Chip\n\nOverride the localized defaults with `headline` and `description` when the tenant's disclosure copy differs from the built-in MIA text. Both attributes reflect on the host element and are safe to drive from CSS attribute selectors.\n\n```html\n<mds-policy-ai\n variant=\"chip\"\n headline=\"Estratto generato con AI\"\n description=\"L'estratto che stai leggendo e' stato generato tramite i nostri servizi di intelligenza artificiale e potrebbe contenere inesattezze.\"\n></mds-policy-ai>\n```\n\n#### Icon Variant - Space-Constrained Placement\n\nUse `variant=\"icon\"` when available space is too narrow for a chip - for example, overlaid on a thumbnail image. The icon opens the policy URL in a new tab on click and shows a tooltip with the disclosure text on hover.\n\n```html\n<div class=\"relative\">\n <mds-policy-ai variant=\"icon\" class=\"absolute bottom-200 right-200 z-10\"></mds-policy-ai>\n <mds-img src=\"./copertina-documento.webp\" class=\"rounded-(--magma-radius-md) shadow-sm\"></mds-img>\n</div>\n```\n\n#### Card Variant - Sidebar or Standalone Block\n\nUse `variant=\"card\"` when the disclosure needs more visual weight than a chip but is not a page-level notice. A compact card renders the disclaimer text and a policy button. Supply `description` to replace the default body copy.\n\n```html\n<mds-policy-ai\n variant=\"card\"\n description=\"Le FAQ che stai leggendo sono generate tramite i nostri servizi di intelligenza artificiale e potrebbero contenere inesattezze.\"\n></mds-policy-ai>\n```\n\n#### Banner Variant - Page-Level Notice\n\nUse `variant=\"banner\"` at the top or bottom of AI-heavy pages where a prominent notice is required. The banner renders a full-width tile with headline, description, and a policy action button. Override both props to match the page context.\n\n```html\n<mds-policy-ai\n variant=\"banner\"\n headline=\"Contenuto generato con intelligenza artificiale\"\n description=\"Questo testo e' stato generato automaticamente tramite MIA e potrebbe contenere inesattezze. Ti invitiamo a verificarne l'accuratezza e a consultare fonti ufficiali.\"\n></mds-policy-ai>\n```\n\n#### Custom Policy URL via `href`\n\nThe default `href` points to the Maggioli EU AI-regulation article. Override it to link to a tenant-specific policy page. All four variants route the user to the same `href`.\n\n```html\n<mds-policy-ai\n variant=\"banner\"\n href=\"https://example.com/informativa-intelligenza-artificiale\"\n></mds-policy-ai>\n```\n\n#### Styling via Shadow Parts\n\nEach variant exposes a named `::part()`: `icon`, `chip` and `banner` are the inner [`mds-help`](../mds-help/AGENTS.md), [`mds-chip`](../mds-chip/AGENTS.md) and [`mds-banner`](../mds-banner/AGENTS.md) elements, so their
|
|
42
|
+
"2. Pattern": "Correct and idiomatic ways to use the `<mds-policy-ai>` 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#### Default Chip - Inline Disclosure Next to Generated Text\n\nThe default form. Drop the component directly after AI-generated content with no additional attributes. The built-in \"Generato con MIA\" chip appears with a hover dropdown linking to the policy page.\n\n```html\n<mds-text typography=\"paragraph\">\n Il presente estratto e' stato generato automaticamente dall'intelligenza artificiale MIA.\n</mds-text>\n<mds-policy-ai></mds-policy-ai>\n```\n\n#### Explicit Chip Variant\n\nDeclare `variant=\"chip\"` explicitly when component selection is driven by configuration or template logic. Behavior is identical to the default.\n\n```html\n<mds-policy-ai variant=\"chip\"></mds-policy-ai>\n```\n\n#### Custom Headline and Description on the Chip\n\nOverride the localized defaults with `headline` and `description` when the tenant's disclosure copy differs from the built-in MIA text. Both attributes reflect on the host element and are safe to drive from CSS attribute selectors.\n\n```html\n<mds-policy-ai\n variant=\"chip\"\n headline=\"Estratto generato con AI\"\n description=\"L'estratto che stai leggendo e' stato generato tramite i nostri servizi di intelligenza artificiale e potrebbe contenere inesattezze.\"\n></mds-policy-ai>\n```\n\n#### Icon Variant - Space-Constrained Placement\n\nUse `variant=\"icon\"` when available space is too narrow for a chip - for example, overlaid on a thumbnail image. The icon opens the policy URL in a new tab on click and shows a tooltip with the disclosure text on hover.\n\n```html\n<div class=\"relative\">\n <mds-policy-ai variant=\"icon\" class=\"absolute bottom-200 right-200 z-10\"></mds-policy-ai>\n <mds-img src=\"./copertina-documento.webp\" alt=\"Copertina del documento\" class=\"rounded-(--magma-radius-md) shadow-sm\"></mds-img>\n</div>\n```\n\n#### Card Variant - Sidebar or Standalone Block\n\nUse `variant=\"card\"` when the disclosure needs more visual weight than a chip but is not a page-level notice. A compact card renders the disclaimer text and a policy button. Supply `description` to replace the default body copy.\n\n```html\n<mds-policy-ai\n variant=\"card\"\n description=\"Le FAQ che stai leggendo sono generate tramite i nostri servizi di intelligenza artificiale e potrebbero contenere inesattezze.\"\n></mds-policy-ai>\n```\n\n#### Banner Variant - Page-Level Notice\n\nUse `variant=\"banner\"` at the top or bottom of AI-heavy pages where a prominent notice is required. The banner renders a full-width tile with headline, description, and a policy action button. Override both props to match the page context.\n\n```html\n<mds-policy-ai\n variant=\"banner\"\n headline=\"Contenuto generato con intelligenza artificiale\"\n description=\"Questo testo e' stato generato automaticamente tramite MIA e potrebbe contenere inesattezze. Ti invitiamo a verificarne l'accuratezza e a consultare fonti ufficiali.\"\n></mds-policy-ai>\n```\n\n#### Custom Policy URL via `href`\n\nThe default `href` points to the Maggioli EU AI-regulation article. Override it to link to a tenant-specific policy page. All four variants route the user to the same `href`.\n\n```html\n<mds-policy-ai\n variant=\"banner\"\n href=\"https://example.com/informativa-intelligenza-artificiale\"\n></mds-policy-ai>\n```\n\n#### Styling via Shadow Parts\n\nEach variant exposes a named `::part()`: `icon`, `chip` and `banner` are the inner [`mds-help`](../mds-help/AGENTS.md), [`mds-chip`](../mds-chip/AGENTS.md) and [`mds-banner`](../mds-banner/AGENTS.md) elements, so their public CSS custom properties can be set there; `card` is the card container, and the chip variant adds `chip-wrapper`, the wrapper around the chip and its dropdown. Use these only for a deep customization.\n\n```css\n/* Increase the border radius of the card surface */\nmds-policy-ai::part(card) {\n border-radius: var(--magma-radius-xl);\n}\n\n/* A border on the chip itself: chip-wrapper would reach its dropdown too */\nmds-policy-ai::part(chip) {\n border: 1px solid rgb(var(--magma-accent-ai-border));\n}\n\n/* An AI tint for the banner surface */\nmds-policy-ai::part(banner) {\n --mds-banner-background: rgb(var(--magma-accent-ai-surface));\n}\n```\n",
|
|
39
43
|
"3. Antipattern": "Common incorrect uses of `<mds-policy-ai>`. 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 Slot Custom Content Into the Component\n\n`<mds-policy-ai>` has no public slots. All customization is done through the `headline`, `description`, and `href` props. Placing children inside the element has no effect - the shadow DOM ignores them entirely.\n\n```html\n<!-- INCORRECT -->\n<mds-policy-ai>\n <p>Contenuto generato con intelligenza artificiale.</p>\n</mds-policy-ai>\n\n<!-- CORRECT -->\n<mds-policy-ai\n description=\"Contenuto generato con intelligenza artificiale.\"\n></mds-policy-ai>\n```\n\n#### Do Not Use `variant` to Choose a Color - Use It to Choose a Surface\n\n`variant` is not a color knob. It selects the entire rendering surface (`icon`, `chip`, `card`, `banner`), each carrying a distinct placement intent. Choosing a value because it looks lighter or darker will produce the wrong layout for the context.\n\n```html\n<!-- INCORRECT - choosing \"icon\" because the space is small while also expecting the description on the page: the icon shows it only in a hover tooltip -->\n<mds-policy-ai\n variant=\"icon\"\n description=\"Questo testo e' stato generato con AI e potrebbe contenere inesattezze. Verifica le informazioni.\"\n></mds-policy-ai>\n\n<!-- CORRECT - \"card\" renders the description body as intended in compact contexts -->\n<mds-policy-ai\n variant=\"card\"\n description=\"Questo testo e' stato generato con AI e potrebbe contenere inesattezze. Verifica le informazioni.\"\n></mds-policy-ai>\n```\n\n#### Do Not Pierce the Shadow DOM to Restyle Inner Components\n\nThe shadow parts `chip`, `icon`, `card`, and `banner` are the documented customization surface. Reaching into undocumented internals with `>>>`, `/deep/`, or class selectors will break on any minor release.\n\n```css\n/* INCORRECT */\nmds-policy-ai >>> mds-chip {\n background-color: red;\n}\n\n/* CORRECT - target the part and set the inner component's own CSS custom property */\nmds-policy-ai::part(banner) {\n --mds-banner-radius: var(--magma-radius-xl);\n}\n```\n\n#### Do Not Wrap in a Native `<a>` to Override the Policy Link\n\nThe component manages its own `href` routing on every variant. Nesting it inside an `<a>` creates overlapping interactive controls, breaks keyboard navigation, and does not override the internal link - it adds a second, outer link on top.\n\n```html\n<!-- INCORRECT -->\n<a href=\"https://example.com/policy-ai\">\n <mds-policy-ai variant=\"chip\"></mds-policy-ai>\n</a>\n\n<!-- CORRECT - override the href prop to point to the tenant-specific page -->\n<mds-policy-ai\n variant=\"chip\"\n href=\"https://example.com/policy-ai\"\n></mds-policy-ai>\n```\n\n#### Do Not Use `headline` on the Card Variant - It Has No Effect There\n\nThe `card` variant does not render a headline - only `description` is shown. Passing `headline` to a card is silently ignored. Use `variant=\"banner\"` when both a title and a body are required.\n\n```html\n<!-- INCORRECT - headline is ignored by variant=\"card\" -->\n<mds-policy-ai\n variant=\"card\"\n headline=\"Contenuto generato con AI\"\n description=\"Questo estratto e' stato generato automaticamente.\"\n></mds-policy-ai>\n\n<!-- CORRECT - use banner when both headline and description must appear -->\n<mds-policy-ai\n variant=\"banner\"\n headline=\"Contenuto generato con AI\"\n description=\"Questo estratto e' stato generato automaticamente.\"\n></mds-policy-ai>\n```\n"
|
|
40
44
|
},
|
|
41
45
|
"props": [
|
|
@@ -13,6 +13,7 @@ import localeIt from "./meta/locale.it.json";
|
|
|
13
13
|
* @part chip-wrapper - Selects the wrapper of the chip and of its dropdown, will be found only if attirbute `variant` is set to `chip`.
|
|
14
14
|
* @part card - Selects the `card` component wrapped in shadowDOM, will be found only if attirbute `variant` is set to `card`.
|
|
15
15
|
* @part banner - Selects the `banner` component wrapped in shadowDOM, will be found only if attirbute `variant` is set to `banner`.
|
|
16
|
+
* @category tags
|
|
16
17
|
*/
|
|
17
18
|
export class MdsPolicyAi {
|
|
18
19
|
constructor() {
|
|
@@ -36,7 +37,7 @@ export class MdsPolicyAi {
|
|
|
36
37
|
}
|
|
37
38
|
render() {
|
|
38
39
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
39
|
-
return (h(Host, { key: '
|
|
40
|
+
return (h(Host, { key: 'e396029f5bfbf222ea96b6fd5b3a8e537662f545' }, this.variant === 'icon' && (h("mds-help", { key: '912ff694de75dc4e8ef6a173a9cbb3bd3b4f1839', icon: mggAiChatbot, class: "icon-help", onClick: this.handleIconClick, part: "icon" }, h("div", { key: '535c6c2abc0ae5a526281f460d05a234c836d251', class: "icon-tip-content" }, h("mds-text", { key: '23d6530d8e0bb947115e1fb246523f5e5a178bbc', typography: "tip" }, (_a = this.headline) !== null && _a !== void 0 ? _a : this.t.get('iconTooltip')), h("mds-text", { key: 'fbe3a65e8f80c8d518e1b83ce310d4b3387593d8', typography: "tip" }, (_b = this.description) !== null && _b !== void 0 ? _b : this.t.get('iconLinkLabel'))))), this.variant === 'chip' && (h("div", { key: 'ac4e56d1ff38beda6e08056c42fe0a94426a3048', class: "chip-wrapper", part: "chip-wrapper" }, h("mds-chip", { key: '7ef457c70df985f6445c8f4d826493320f40e56a', id: "chip", icon: mggAiChatbot, class: "chip", part: "chip", variant: "ai", label: (_c = this.headline) !== null && _c !== void 0 ? _c : this.t.get('chipLabel') }), h("mds-dropdown", { key: '3bdd4739442b7d55390a9a7af27071e31851b9d7', target: "#chip", class: "chip-dropdown", interaction: "mouseover", role: "group" }, h("mds-text", { key: '4070ca71a7c867f326f6ff2724110f3d92e39fb8', typography: "tip" }, (_d = this.description) !== null && _d !== void 0 ? _d : this.t.get('cardDescription')), h("mds-button", { key: '6e4fd66dd3b15601460f7cef69ee0e10e6def9c0', icon: miOutlinePolicy, href: this.href, variant: "ai", tone: "weak", size: "sm", label: this.t.get('linkLabel') })))), this.variant === 'card' && (h("div", { key: '00b442e4c52eb8b3736d21fab046da055feba94d', class: "mini-card", part: "card" }, h("mds-icon", { key: '66b11c2516b4ef5ca346d7a89998679d1885136e', name: mggAiChatbot, class: "mini-card-icon" }), h("div", { key: '17a4c3839f1e338be4ccc1e03ed92dd4a00d70b0', class: "mini-card-content" }, h("mds-text", { key: 'f09ada514361dad4ca98b9e4ad3307739787c043', typography: "caption" }, (_e = this.description) !== null && _e !== void 0 ? _e : this.t.get('iconTooltip')), h("mds-button", { key: 'bfeffbba85e9925c9920a16eeda457056997e45f', class: "mini-card-button", icon: miOutlinePolicy, href: this.href, variant: "ai", tone: "weak", size: "sm" }, h("span", { key: 'ea620c5b245bf129b88d63b60b4669d2ca510847', class: "link-label-long" }, this.t.get('linkLabel')), h("span", { key: 'cd9ff21de165f6bf202b1e4f0e0e422a44a71deb', class: "link-label-short" }, this.t.get('linkLabelShort')))))), this.variant === 'banner' && (h("mds-banner", { key: '586d6d4042d63c9e47ce3afa8c286a5c7278c878', class: "banner", variant: "ai", tone: "weak", icon: mggAiChatbot, headline: (_f = this.headline) !== null && _f !== void 0 ? _f : this.t.get('bannerTitle'), part: "banner" }, h("mds-text", { key: 'f0135bf6d2cfa451dbb086530a3ea9a5f2ed408c', typography: "caption" }, (_g = this.description) !== null && _g !== void 0 ? _g : this.t.get('bannerDescription')), h("mds-button", { key: '31f0cd851e57e3144bbc9fd70726372173eca2b0', icon: miOutlinePolicy, slot: "action", href: this.href, variant: "ai", tone: "weak", size: "sm" }, h("span", { key: 'c9f99cdcb14ac610111f7184b91f2b640a16603c', class: "link-label-long" }, this.t.get('linkLabel')), h("span", { key: 'b752c254af256f0f590f6332f74af60af65c9a48', class: "link-label-short" }, this.t.get('linkLabelShort')))))));
|
|
40
41
|
}
|
|
41
42
|
static get is() { return "mds-policy-ai"; }
|
|
42
43
|
static get encapsulation() { return "shadow"; }
|
|
@@ -47,7 +47,7 @@ Use `variant="icon"` when available space is too narrow for a chip - for example
|
|
|
47
47
|
```html
|
|
48
48
|
<div class="relative">
|
|
49
49
|
<mds-policy-ai variant="icon" class="absolute bottom-200 right-200 z-10"></mds-policy-ai>
|
|
50
|
-
<mds-img src="./copertina-documento.webp" class="rounded-(--magma-radius-md) shadow-sm"></mds-img>
|
|
50
|
+
<mds-img src="./copertina-documento.webp" alt="Copertina del documento" class="rounded-(--magma-radius-md) shadow-sm"></mds-img>
|
|
51
51
|
</div>
|
|
52
52
|
```
|
|
53
53
|
|
|
@@ -87,7 +87,7 @@ The default `href` points to the Maggioli EU AI-regulation article. Override it
|
|
|
87
87
|
|
|
88
88
|
#### Styling via Shadow Parts
|
|
89
89
|
|
|
90
|
-
Each variant exposes a named `::part()`: `icon`, `chip` and `banner` are the inner [`mds-help`](../mds-help/AGENTS.md), [`mds-chip`](../mds-chip/AGENTS.md) and [`mds-banner`](../mds-banner/AGENTS.md) elements, so their
|
|
90
|
+
Each variant exposes a named `::part()`: `icon`, `chip` and `banner` are the inner [`mds-help`](../mds-help/AGENTS.md), [`mds-chip`](../mds-chip/AGENTS.md) and [`mds-banner`](../mds-banner/AGENTS.md) elements, so their public CSS custom properties can be set there; `card` is the card container, and the chip variant adds `chip-wrapper`, the wrapper around the chip and its dropdown. Use these only for a deep customization.
|
|
91
91
|
|
|
92
92
|
```css
|
|
93
93
|
/* Increase the border radius of the card surface */
|
|
@@ -100,8 +100,8 @@ mds-policy-ai::part(chip) {
|
|
|
100
100
|
border: 1px solid rgb(var(--magma-accent-ai-border));
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
/*
|
|
103
|
+
/* An AI tint for the banner surface */
|
|
104
104
|
mds-policy-ai::part(banner) {
|
|
105
|
-
--mds-banner-
|
|
105
|
+
--mds-banner-background: rgb(var(--magma-accent-ai-surface));
|
|
106
106
|
}
|
|
107
107
|
```
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-pref
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.6.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
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-10-
|
|
2
|
+
"timestamp": "2026-10-24T12:14:05",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.45.2",
|
|
@@ -24,10 +24,6 @@
|
|
|
24
24
|
"name": "overview",
|
|
25
25
|
"text": " <mds-text>Accessibility preferences in web browsers allow users to customize their navigation to improve readability, interaction, and usability. Common options include dark mode, text resizing, screen reader support, keyboard navigation, and blocking animated content. These settings help people with visual, hearing, motor, or cognitive disabilities experience the web more effectively and inclusively.</mds-text>"
|
|
26
26
|
},
|
|
27
|
-
{
|
|
28
|
-
"name": "category",
|
|
29
|
-
"text": "Patterns"
|
|
30
|
-
},
|
|
31
27
|
{
|
|
32
28
|
"name": "tags",
|
|
33
29
|
"text": "pattern, user, tab"
|
|
@@ -39,6 +35,10 @@
|
|
|
39
35
|
{
|
|
40
36
|
"name": "example",
|
|
41
37
|
"text": "<mds-pref>\n<mds-pref-animation></mds-pref-animation>\n<mds-pref-consumption></mds-pref-consumption>\n<mds-pref-contrast></mds-pref-contrast>\n<mds-pref-mode></mds-pref-mode>\n<mds-pref-theme></mds-pref-theme>\n<mds-pref-language>\n<mds-pref-language-item code=\"it\"></mds-pref-language-item>\n<mds-pref-language-item code=\"en\"></mds-pref-language-item>\n</mds-pref-language>\n</mds-pref>"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "category",
|
|
41
|
+
"text": "preferences"
|
|
42
42
|
}
|
|
43
43
|
],
|
|
44
44
|
"usage": {
|
|
@@ -12,7 +12,6 @@ const mountedPrefs = new Set();
|
|
|
12
12
|
* @description This component is based on MdsTab component pattern
|
|
13
13
|
* @overview
|
|
14
14
|
* <mds-text>Accessibility preferences in web browsers allow users to customize their navigation to improve readability, interaction, and usability. Common options include dark mode, text resizing, screen reader support, keyboard navigation, and blocking animated content. These settings help people with visual, hearing, motor, or cognitive disabilities experience the web more effectively and inclusively.</mds-text>
|
|
15
|
-
* @category Patterns
|
|
16
15
|
* @tags pattern, user, tab
|
|
17
16
|
* @slot - Add `mds-pref-animation`, `mds-pref-consumption`, `mds-pref-contrast`, `mds-pref-language`, `mds-pref-mode` or `mds-pref-theme` element/s.
|
|
18
17
|
* @example <mds-pref>
|
|
@@ -26,6 +25,7 @@ const mountedPrefs = new Set();
|
|
|
26
25
|
* <mds-pref-language-item code="en"></mds-pref-language-item>
|
|
27
26
|
* </mds-pref-language>
|
|
28
27
|
* </mds-pref>
|
|
28
|
+
* @category preferences
|
|
29
29
|
*/
|
|
30
30
|
export class MdsPref {
|
|
31
31
|
constructor() {
|
|
@@ -120,7 +120,7 @@ export class MdsPref {
|
|
|
120
120
|
this.applySchemeLock((_a = e.detail) === null || _a === void 0 ? void 0 : _a.scheme);
|
|
121
121
|
}
|
|
122
122
|
render() {
|
|
123
|
-
return (h(Host, { key: '
|
|
123
|
+
return (h(Host, { key: '30bd8f30a00b2455586fe367bed1f7059d97cef7' }, h("slot", { key: '32d04eaa08e7758f393146d6d3100377645d70ed', onSlotchange: this.applySize }), this.showReload && (h("div", { key: '7670cfbf461d545f531357e450db72149ddba693', class: "reload-required" }, h("mds-text", { key: 'b35c1ad9a555600b6b461823e51f62be4309c56c', typography: "caption" }, this.t.get('reloadPageToSeeChanges'))))));
|
|
124
124
|
}
|
|
125
125
|
static get is() { return "mds-pref"; }
|
|
126
126
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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.6.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
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-10-
|
|
2
|
+
"timestamp": "2026-10-24T12:14:05",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.45.2",
|
|
@@ -11,7 +11,12 @@
|
|
|
11
11
|
"encapsulation": "shadow",
|
|
12
12
|
"tag": "mds-pref-animation",
|
|
13
13
|
"docs": "",
|
|
14
|
-
"docsTags": [
|
|
14
|
+
"docsTags": [
|
|
15
|
+
{
|
|
16
|
+
"name": "category",
|
|
17
|
+
"text": "preferences"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
15
20
|
"usage": {
|
|
16
21
|
"1. Description": "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.\n\n#### Semantic Behavior\n\n- **Usually inside `<mds-pref>`**: Placed as a direct default-slot child of `<mds-pref>`, which groups the preference controls in one panel; it also works on its own, since it applies and stores the preference by itself.\n- **Tab-group selection**: Renders three options (reduce / system / no-preference); the active one is driven by the `mode` value, and clicking an option sets that mode.\n- **Applies the preference globally**: Choosing a mode applies it across the whole document and persists the choice, so it is restored on later visits.\n- **Initial mode resolution**: The effective mode is resolved in order from the `mode` prop, then the persisted value, then the `system` default.\n- **Change event**: `mdsPrefChange` (detail `{ preference: 'animation' }`) fires once per change, after the new mode is applied; a pick of the mode already active and the first application on load do not emit it. It bubbles up to `<mds-pref>`; an animation change needs no reload, so it raises no reload notice.\n- **Instances stay in sync**: Instances mounted together (a hidden `<mds-pref controller>` and a visible settings panel) share the applied animation: a pick in one is mirrored by the others, which neither apply it again nor emit `mdsPrefChange`. A `pref-animation-*` class written on `<html>` by other code is mirrored the same way.\n\n#### Properties & Visual Configurations\n\n- **`mode`**: Sets which animation preference is active - `reduce` to suppress motion, `no-preference` to fully enable animations, or `system` to defer to the user's OS setting. Leave unset to fall back to the persisted or default (`system`) value.\n- **`size`**: Sizes the nested tab items (`sm` or `md`). Inside `<mds-pref>`, set it on the parent instead: the parent's `size` reaches every `mds-pref-*` child on load and when it changes, and overwrites the child's own.\n",
|
|
17
22
|
"2. Pattern": "Correct and idiomatic ways to use the `<mds-pref-animation>` 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#### Default Usage Inside `mds-pref`\n\nThe standard form. Place `<mds-pref-animation>` as a direct slot child of [`<mds-pref>`](../mds-pref/AGENTS.md). No `mode` or `size` is required - the component restores the last persisted choice and defaults to `system` on a first visit.\n\n```html\n<mds-pref>\n <mds-pref-animation></mds-pref-animation>\n</mds-pref>\n```\n\n#### Combined Preferences Panel\n\nPlace multiple `mds-pref-*` children inside the same `<mds-pref>`. The parent forwards its `size` to every child, on load and when it changes.\n\n```html\n<mds-pref>\n <mds-pref-animation></mds-pref-animation>\n <mds-pref-contrast></mds-pref-contrast>\n <mds-pref-mode></mds-pref-mode>\n <mds-pref-consumption></mds-pref-consumption>\n</mds-pref>\n```\n\n#### Pre-selecting a Mode via `mode`\n\nPass `mode` to override the persisted value and start from a known state - for example, a first-run onboarding screen that starts with reduced motion.\n\n```html\n<mds-pref>\n <mds-pref-animation mode=\"reduce\"></mds-pref-animation>\n</mds-pref>\n```\n\n#### Listening for Changes\n\nHandle `mdsPrefChange` when the host application needs to react - for example, to announce the new setting or trigger a soft refresh. The event fires once per change, after the new mode is applied, and not on page load: to know the mode a page starts with, read the `mode` property.\n\n```html\n<mds-pref id=\"prefs\">\n <mds-pref-animation></mds-pref-animation>\n</mds-pref>\n\n<script>\n document.getElementById('prefs').addEventListener('mdsPrefChange', (event) => {\n // event.detail.preference === 'animation'\n console.log('Preferenza animazioni aggiornata', event.detail);\n });\n</script>\n```\n\n#### Compact Size\n\nSet `size=\"sm\"` on the parent `<mds-pref>` to shrink the tab items of every `mds-pref-*` child consistently: the parent forwards its `size` on load and on every change.\n\n```html\n<!-- In the panel: on the parent only -->\n<mds-pref size=\"sm\">\n <mds-pref-animation></mds-pref-animation>\n <mds-pref-contrast></mds-pref-contrast>\n</mds-pref>\n\n<!-- Acceptable when used standalone -->\n<mds-pref-animation size=\"sm\"></mds-pref-animation>\n```\n\n#### Silent Controller (Hidden Preference Sync)\n\nWhen a `<mds-pref controller>` element is placed in the DOM, it applies preferences silently without rendering any UI. `<mds-pref-animation>` inside it restores the persisted animation class on `<html>` on load without showing the tab group.\n\n```html\n<!-- Place once, near the root - no UI is rendered -->\n<mds-pref controller>\n <mds-pref-animation></mds-pref-animation>\n</mds-pref>\n```\n",
|
|
@@ -8,6 +8,9 @@ import localeEl from "./meta/locale.el.json";
|
|
|
8
8
|
import localeEn from "./meta/locale.en.json";
|
|
9
9
|
import localeEs from "./meta/locale.es.json";
|
|
10
10
|
import localeIt from "./meta/locale.it.json";
|
|
11
|
+
/**
|
|
12
|
+
* @category preferences
|
|
13
|
+
*/
|
|
11
14
|
export class MdsPrefAnimation {
|
|
12
15
|
constructor() {
|
|
13
16
|
this.localStorageAlias = 'mdsPrefAnimation';
|
|
@@ -119,7 +122,7 @@ export class MdsPrefAnimation {
|
|
|
119
122
|
}
|
|
120
123
|
render() {
|
|
121
124
|
var _a;
|
|
122
|
-
return (h(Host, { key: '
|
|
125
|
+
return (h(Host, { key: '428bb5a4625df782d168fb5f380fadf0c413e348', "pref-contrast": preferenceStore.state.contrast }, h("mds-text", { key: 'a4f40eabe7223651d02a84eecf395cd324704d60', class: "info", typography: "caption" }, h("b", { key: '99ebfd5e700a86c29e08203da675247a552d327c' }, this.t.get('label')), ' ', this.t.get(this.animation[(_a = this.mode) !== null && _a !== void 0 ? _a : this.defaultMode].label)), h("mds-tab", { key: 'd1bc4e6dbb5658f9995ef351a7e500a32cbd2f29', fill: true, size: this.size }, h("mds-tab-item", { key: '8c4d7bdd22db2fd6d7be48b8f1707a309b65c235', selected: this.mode === 'reduce', onClick: this.handleModeClick('reduce'), class: "item item--reduce", icon: miOutlineCircle, title: this.t.get(this.animation.reduce.label) }), h("mds-tab-item", { key: '7e9d2a5602d84c756be013dcc40bea382ba35c1f', selected: this.mode === 'system', onClick: this.handleModeClick('system'), class: "item item--system", icon: miBaselineSettings, title: this.t.get(this.animation.system.label) }), h("mds-tab-item", { key: '0ec4356e24b277d1f1188b5f3b6d8b4feb664cb9', selected: this.mode === 'no-preference', onClick: this.handleModeClick('no-preference'), class: "item item--no-preference", icon: miBaselineAnimation, title: this.t.get(this.animation['no-preference'].label) }))));
|
|
123
126
|
}
|
|
124
127
|
static get is() { return "mds-pref-animation"; }
|
|
125
128
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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.6.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
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-10-
|
|
2
|
+
"timestamp": "2026-10-24T12:14:05",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.45.2",
|
|
@@ -11,7 +11,12 @@
|
|
|
11
11
|
"encapsulation": "shadow",
|
|
12
12
|
"tag": "mds-pref-consumption",
|
|
13
13
|
"docs": "",
|
|
14
|
-
"docsTags": [
|
|
14
|
+
"docsTags": [
|
|
15
|
+
{
|
|
16
|
+
"name": "category",
|
|
17
|
+
"text": "preferences"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
15
20
|
"usage": {
|
|
16
21
|
"1. Description": "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.\n\n#### Semantic Behavior\n\n- **Usually inside `<mds-pref>`**: Placed as a direct slot child of `<mds-pref>`, alongside the other `mds-pref-*` controls; it also works on its own, since it applies and stores the preference by itself.\n- **Mode resolution on load**: The active mode is resolved once, on load, in priority order - the `mode` prop, then the persisted value, then the `high` default - so the control restores the last user choice across reloads.\n- **Applies the preference globally**: Selecting a mode applies it across the whole document and persists the choice.\n- **Change event**: Each change emits `mdsPrefChange` with `{ preference: 'consumption' }`, once the new mode is applied and stored; a pick of the level already active and the first application on load do not emit it. `consumption` requires a reload to fully apply, so the parent `<mds-pref>` shows its \"reload required\" notice for it in a visible panel.\n- **Instances stay in sync**: Instances mounted together (a hidden `<mds-pref controller>` and a visible settings panel) share the applied consumption: a pick in one is mirrored by the others, which neither apply it again nor emit `mdsPrefChange`. A `pref-consumption-*` class written on `<html>` by other code is mirrored the same way.\n\n#### Properties & Visual Configurations\n\n- **`mode`**: The selected consumption preference (`low` / `medium` / `high`). Leave it unset to let the component restore the persisted value or fall back to `high`; set it explicitly only to force an initial mode.\n- **`size`**: Sizes the nested tab items (`sm` / `md`). Inside `<mds-pref>`, set it on the parent instead: the parent's `size` reaches every `mds-pref-*` child on load and when it changes, and overwrites the child's own.\n",
|
|
17
22
|
"2. Pattern": "Correct and idiomatic ways to use the `<mds-pref-consumption>` component, ordered from most common to most specialized. Patterns assume a working knowledge of the preference system documented in [`agents/theming.md`](../../../../agents/theming.md) and the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).\n\n#### Default Use Inside `mds-pref`\n\nThe canonical form. Place `<mds-pref-consumption>` as a direct slot child of [`<mds-pref>`](../mds-pref/AGENTS.md). Omit `mode` so the component restores the persisted user choice automatically; the parent forwards its own `size` to every `mds-pref-*` child.\n\n```html\n<mds-pref>\n <mds-pref-consumption></mds-pref-consumption>\n</mds-pref>\n```\n\n#### Forcing an Initial Mode\n\nSet `mode` explicitly only when the application needs to override the persisted value - for example, when seeding preferences from a server-side profile. All three accepted values are `\"low\"`, `\"medium\"`, and `\"high\"`.\n\n```html\n<mds-pref>\n <mds-pref-consumption mode=\"low\"></mds-pref-consumption>\n</mds-pref>\n```\n\n#### Controlling Size\n\nUse the `size` prop on the control itself when it stands outside `<mds-pref>`; inside it, set `size` on the parent, which forwards it to every child. Accepted values are `\"sm\"` and `\"md\"`.\n\n```html\n<mds-pref-consumption size=\"sm\"></mds-pref-consumption>\n```\n\n#### Reacting to Mode Changes\n\nListen for the `mdsPrefChange` event to detect when the user picks a new consumption level. The event detail always carries `{ preference: \"consumption\" }`; the event fires once per change, from a pick or from a new `mode` set by a script, and not on page load.\n\n```html\n<mds-pref-consumption id=\"consumption-pref\"></mds-pref-consumption>\n\n<script>\n document\n .querySelector('#consumption-pref')\n .addEventListener('mdsPrefChange', (event) => {\n console.log('Preferenza consumo cambiata:', event.detail.preference);\n });\n</script>\n```\n\n#### Reading the Active Mode After a Change\n\nThe `mode` prop is mutable and reflected as an attribute. The event is emitted once the new mode is applied and stored, so inside the handler the element already holds the new value.\n\n```html\n<mds-pref-consumption id=\"consumption-pref\"></mds-pref-consumption>\n\n<script>\n const pref = document.querySelector('#consumption-pref');\n pref.addEventListener('mdsPrefChange', () => {\n console.log('Modalita attiva:', pref.mode);\n });\n</script>\n```\n",
|
|
@@ -8,6 +8,9 @@ import localeEl from "./meta/locale.el.json";
|
|
|
8
8
|
import localeEn from "./meta/locale.en.json";
|
|
9
9
|
import localeEs from "./meta/locale.es.json";
|
|
10
10
|
import localeIt from "./meta/locale.it.json";
|
|
11
|
+
/**
|
|
12
|
+
* @category preferences
|
|
13
|
+
*/
|
|
11
14
|
export class MdsPrefContrast {
|
|
12
15
|
constructor() {
|
|
13
16
|
this.localStorageAlias = 'mdsPrefConsumption';
|
|
@@ -119,7 +122,7 @@ export class MdsPrefContrast {
|
|
|
119
122
|
}
|
|
120
123
|
render() {
|
|
121
124
|
var _a;
|
|
122
|
-
return (h(Host, { key: '
|
|
125
|
+
return (h(Host, { key: '9367f3e92755506d8b404e8c5aa248d0814cd7db', "pref-contrast": preferenceStore.state.contrast }, h("mds-text", { key: '52bd6278f1dfd82dac98cde7c13990942fdf06d1', class: "info", typography: "caption" }, h("b", { key: '432086ce482f81f100496eed9ec40114342f973c' }, this.t.get('label')), ' ', this.t.get(this.consumption[(_a = this.mode) !== null && _a !== void 0 ? _a : this.defaultMode].label)), h("mds-tab", { key: '665cd3ff4d33c2043666a2ad247cc7ada966c5ca', fill: true, size: this.size }, h("mds-tab-item", { key: 'becc9045f1ebc0d775e970b00acfef1f9ece3459', selected: this.mode === 'low', onClick: this.handleModeClick('low'), class: "item item--low", icon: mggConsumptionLow, title: this.t.get(this.consumption.low.label) }), h("mds-tab-item", { key: 'dd1bf365662e59f840549aa7600146d738d3328a', selected: this.mode === 'medium', onClick: this.handleModeClick('medium'), class: "item item--medium", icon: mggConsumptionMedium, title: this.t.get(this.consumption.medium.label) }), h("mds-tab-item", { key: '17179440e1f9ad67f35de6cc2721077f48938482', selected: this.mode === 'high', onClick: this.handleModeClick('high'), class: "item item--high", icon: mggConsumptionHigh, title: this.t.get(this.consumption.high.label) }))));
|
|
123
126
|
}
|
|
124
127
|
static get is() { return "mds-pref-consumption"; }
|
|
125
128
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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.6.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
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-10-
|
|
2
|
+
"timestamp": "2026-10-24T12:14:05",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.45.2",
|
|
@@ -11,7 +11,12 @@
|
|
|
11
11
|
"encapsulation": "shadow",
|
|
12
12
|
"tag": "mds-pref-contrast",
|
|
13
13
|
"docs": "",
|
|
14
|
-
"docsTags": [
|
|
14
|
+
"docsTags": [
|
|
15
|
+
{
|
|
16
|
+
"name": "category",
|
|
17
|
+
"text": "preferences"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
15
20
|
"usage": {
|
|
16
21
|
"1. Description": "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.\n\n#### Semantic Behavior\n\n- **Usually inside `<mds-pref>`**: It is designed to be placed as a direct slot child of `<mds-pref>` alongside the other preference children (`mds-pref-animation`, `mds-pref-consumption`, `mds-pref-language`, `mds-pref-mode`, `mds-pref-theme`); it also works on its own, since it applies and stores the preference by itself.\n- **Mode resolution on load**: The active mode is resolved once, on load, in order from the `mode` prop, the persisted value, then the `system` default, and applied immediately - so it acts on the document even before any user interaction.\n- **Applies the preference globally**: Selecting a mode applies it across the whole document and persists the choice.\n- **System resolution**: With `system` the component writes `pref-contrast-system` on `<html>`, and the styles follow the OS `prefers-contrast` setting through their own media query; the component does not map the OS value itself.\n- **Change event**: Every mode change emits `mdsPrefChange` with `{ preference: 'contrast' }`, once the new mode is applied; a pick of the mode already active and the first application on load do not emit it. It bubbles up to `<mds-pref>`; a contrast change needs no reload, so it raises no reload notice.\n- **Instances stay in sync**: Instances mounted together (a hidden `<mds-pref controller>` and a visible settings panel) share the applied contrast: a pick in one is mirrored by the others, which neither apply it again nor emit `mdsPrefChange`. A `pref-contrast-*` class written on `<html>` by other code is mirrored the same way.\n\n#### Properties & Visual Configurations\n\n- **`mode`** - the active contrast preference. Leave it unset to let the component restore the last persisted choice or fall back to `system`; set it explicitly (`more`, `system`, `no-preference`) only when the host wants to force a contrast level. Pick `more` for high-contrast output, `no-preference` for the default theme, and `system` to defer to the OS `prefers-contrast` setting.\n- **`size`** - sizes the nested tab items (`sm` / `md`). Inside `<mds-pref>`, set it on the parent instead: the parent's `size` reaches every `mds-pref-*` child on load and when it changes, and overwrites the child's own.\n\nThe component does not use the shared `variant` / `tone` ladders documented in [`agents/variants.md`](../../../../agents/variants.md); its visual states are driven entirely by the resolved `mode`.\n",
|
|
17
22
|
"2. Pattern": "Correct and idiomatic ways to use the `<mds-pref-contrast>` 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#### Inside the Full Preferences Panel\n\nThe canonical form. Slot `<mds-pref-contrast>` directly inside [`<mds-pref>`](../mds-pref/AGENTS.md) alongside the other preference controls. The parent panel forwards its `size` to every child.\n\n```html\n<mds-pref>\n <mds-pref-mode></mds-pref-mode>\n <mds-pref-contrast></mds-pref-contrast>\n <mds-pref-animation></mds-pref-animation>\n <mds-pref-consumption></mds-pref-consumption>\n</mds-pref>\n```\n\n#### Accessibility-Only Panel\n\nWhen an application exposes only accessibility controls, slot `<mds-pref-contrast>` together with [`<mds-pref-animation>`](../mds-pref-animation/AGENTS.md) inside a minimal `<mds-pref>`. Omitted preference controls are simply absent - no extra configuration is required.\n\n```html\n<mds-pref>\n <mds-pref-contrast></mds-pref-contrast>\n <mds-pref-animation></mds-pref-animation>\n</mds-pref>\n```\n\n#### Forcing a Contrast Level Programmatically\n\nSet the `mode` prop explicitly when the host application needs to impose a contrast level regardless of the user's last persisted choice. Valid values are `more` (high contrast), `system` (defers to OS `prefers-contrast`), and `no-preference` (design-system default).\n\n```html\n<!-- Force high contrast: the class goes on <html>, so it applies to the whole document -->\n<mds-pref-contrast mode=\"more\"></mds-pref-contrast>\n```\n\n#### Reacting to Contrast Changes\n\nListen for `mdsPrefChange` to act whenever the user switches the contrast mode. The event detail carries `{ preference: 'contrast' }` so a single handler can distinguish between the different preference controls; the event fires once per change, and not on page load.\n\n```html\n<mds-pref-contrast id=\"contrast-ctrl\"></mds-pref-contrast>\n\n<script>\n document\n .getElementById('contrast-ctrl')\n .addEventListener('mdsPrefChange', (event) => {\n if (event.detail.preference === 'contrast') {\n console.log('Preferenza contrasto aggiornata');\n }\n });\n</script>\n```\n\n#### Controlling Size\n\nUse the `size` prop when rendering `<mds-pref-contrast>` outside `<mds-pref>` and a specific tab-item size is required. Inside `<mds-pref>`, set `size` on the parent: it forwards it to this child, on load and when it changes.\n\n```html\n<!-- Compact size for a toolbar or narrow panel -->\n<mds-pref-contrast size=\"sm\"></mds-pref-contrast>\n\n<!-- Default (medium) size - equivalent to omitting the prop -->\n<mds-pref-contrast size=\"md\"></mds-pref-contrast>\n```\n\n#### Restoring the Last Persisted Choice on Page Load\n\nLeave `mode` unset. On load the component reads `localStorage` for the key `mdsPrefContrast` set during a previous session, falls back to `system` when nothing is stored, and applies the resolved class to `<html>` immediately - no application bootstrap code is needed.\n\n```html\n<!-- mode is intentionally absent: the component self-restores -->\n<mds-pref-contrast></mds-pref-contrast>\n```\n",
|
|
@@ -9,6 +9,9 @@ import localeEl from "./meta/locale.el.json";
|
|
|
9
9
|
import localeEn from "./meta/locale.en.json";
|
|
10
10
|
import localeEs from "./meta/locale.es.json";
|
|
11
11
|
import localeIt from "./meta/locale.it.json";
|
|
12
|
+
/**
|
|
13
|
+
* @category preferences
|
|
14
|
+
*/
|
|
12
15
|
export class MdsPrefContrast {
|
|
13
16
|
constructor() {
|
|
14
17
|
this.localStorageAlias = 'mdsPrefContrast';
|
|
@@ -120,7 +123,7 @@ export class MdsPrefContrast {
|
|
|
120
123
|
}
|
|
121
124
|
render() {
|
|
122
125
|
var _a;
|
|
123
|
-
return (h(Host, { key: '
|
|
126
|
+
return (h(Host, { key: '1f7f219d7a3c33550f11616d92ff49cf4fa06b68', "pref-contrast": preferenceStore.state.contrast }, h("mds-text", { key: '44cf8c9a3ce2c279d7290b33acc43eaece3aab39', class: "info", typography: "caption" }, h("b", { key: '4060396cd5a2c224c3df668b0912e0a0b341308c' }, this.t.get('label')), ' ', this.t.get(this.contrast[(_a = this.mode) !== null && _a !== void 0 ? _a : this.defaultMode].label)), h("mds-tab", { key: '13b99bae22c3a901f318834ee8ad0f34d3f20176', fill: true, size: this.size }, h("mds-tab-item", { key: '7bf8568caa1128ce60c9a92675e9353c60d4e180', selected: this.mode === 'more', onClick: this.handleModeClick('more'), class: "item item--more", icon: miBaselineContrast, title: this.t.get(this.contrast.more.label) }), h("mds-tab-item", { key: 'f8b439f1cb2e3e9047acccdc81d55c141b38894f', selected: this.mode === 'system', onClick: this.handleModeClick('system'), class: "item item--system", icon: miBaselineSettings, title: this.t.get(this.contrast.system.label) }), h("mds-tab-item", { key: 'ed5c810f80249768aed0c947b9324cb182873d60', selected: this.mode === 'no-preference', onClick: this.handleModeClick('no-preference'), class: "item item--default", icon: this.mode === 'no-preference' ? miBaselineAutoAwesome : miOutlineAutoAwesome, title: this.t.get(this.contrast['no-preference'].label) }))));
|
|
124
127
|
}
|
|
125
128
|
static get is() { return "mds-pref-contrast"; }
|
|
126
129
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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.6.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
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-10-
|
|
2
|
+
"timestamp": "2026-10-24T12:14:05",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.45.2",
|
|
@@ -15,6 +15,10 @@
|
|
|
15
15
|
{
|
|
16
16
|
"name": "slot",
|
|
17
17
|
"text": "- Add `mds-pref-language-item` element/s."
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "category",
|
|
21
|
+
"text": "preferences"
|
|
18
22
|
}
|
|
19
23
|
],
|
|
20
24
|
"usage": {
|
|
@@ -13,6 +13,7 @@ const LANGUAGE_CODE = /^[a-z]{2,3}(-[A-Za-z0-9]{1,8})*$/;
|
|
|
13
13
|
const isLanguageCode = (value) => value != null && LANGUAGE_CODE.test(value);
|
|
14
14
|
/**
|
|
15
15
|
* @slot - Add `mds-pref-language-item` element/s.
|
|
16
|
+
* @category preferences
|
|
16
17
|
*/
|
|
17
18
|
export class MdsPrefLanguage {
|
|
18
19
|
constructor() {
|
|
@@ -127,7 +128,7 @@ export class MdsPrefLanguage {
|
|
|
127
128
|
}
|
|
128
129
|
render() {
|
|
129
130
|
var _a;
|
|
130
|
-
return (h(Host, { key: '
|
|
131
|
+
return (h(Host, { key: '8b32b725ddce601609db53475859b2aa85c03d33' }, h("div", { key: 'bdef922d7164b935a12df6188d0ef56a6f911cde', class: "menu" }, h("mds-text", { key: '9562bbe7ef25020121082bab58850795eef236ca', class: "info", typography: "caption" }, h("b", { key: 'b704931108c89d12413f97e4e3643fc28974254c' }, this.t.get('label'))), h("mds-tab", { key: 'd694472d851c9d794ff5d65a11bdea5d66db59fd', fill: true, size: this.size }, h("mds-tab-item", { key: '7c2d180947fa64c9c8306b43f20bf90e98063bb8', selected: true, onClick: this.toggleDropdown, expanded: this.showDropdown, id: "mds-pref-language-nav", class: "item item--custom-language", "icon-position": "right", icon: this.showDropdown ? miBaselineKeyboardArrowUp : miBaselineKeyboardArrowDown, label: this.t.get((_a = this.set) !== null && _a !== void 0 ? _a : 'auto') }))), h("mds-dropdown", { key: '09ea686a6bda3163aedae2e1bb76e89f67a5b791', class: "mds-pref-language-dropdown", target: "#mds-pref-language-nav", interaction: "none", visible: this.showDropdown, onMdsDropdownHide: this.hideLanguageSelectDropdown }, h("slot", { key: '81024d5bc1441304a54c17eaa2210356c5802635', onSlotchange: this.checkLanguageSelect })), this.set !== this.defaultLanguage && (h("mds-text", { key: '10418f466459f5b207c3a571c3e9ddf75f3240b2', typography: "caption" }, this.t.get('defaultLanguage')))));
|
|
131
132
|
}
|
|
132
133
|
static get is() { return "mds-pref-language"; }
|
|
133
134
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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.6.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
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-10-
|
|
2
|
+
"timestamp": "2026-10-24T12:14:05",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.45.2",
|
|
@@ -11,7 +11,12 @@
|
|
|
11
11
|
"encapsulation": "shadow",
|
|
12
12
|
"tag": "mds-pref-language-item",
|
|
13
13
|
"docs": "",
|
|
14
|
-
"docsTags": [
|
|
14
|
+
"docsTags": [
|
|
15
|
+
{
|
|
16
|
+
"name": "parent",
|
|
17
|
+
"text": "mds-pref-language"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
15
20
|
"usage": {
|
|
16
21
|
"1. Description": "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.\n\n#### Semantic Behavior\n\n- **Compound child only**: Must be placed as a direct default-slot child of `<mds-pref-language>`; it is not used standalone or mixed with other child types.\n- **Code validation**: `code` must match an entry in the bundled language dictionary; an unknown `code` logs a console warning and the item shows the code itself in place of a language name. When `code` is empty the item renders an error-toned fallback button instead of a language label.\n- **Label is derived, not authored**: The visible language name is looked up from `code` (e.g. `it` to `Italiano`), so consumers supply only the code, not the display text.\n- **Selection is parent-driven**: The `selected` prop is owned and toggled by `<mds-pref-language>`, which clears every sibling and sets only the active item.\n- **Click emits, does not commit**: Clicking the item emits the bubbling `mdsPrefLanguageItemSelect` event carrying `{ language: code }`. The parent updates selection state, persists the preference, applies the document language, and emits its own `mdsPrefLanguageChange` - this child performs none of that.\n\n#### Properties & Visual Configurations\n\nThe only meaningful prop is `code`: the BCP 47 / RFC 5646 language tag (such as `it`, `en`, `es`) that both keys the label lookup and is the payload emitted on selection. The accepted codes are the keys of the bundled language dictionary: the two-letter ISO 639-1 codes (`it`, `en`, `fr`, `de`, `zh`, ...) plus `ceb`, `haw` and `hmn`, which the parent cannot apply (its `set` accepts only `xx` / `xx-XX` codes).\n\n`selected` is a state flag managed by the parent rather than a configuration choice. Sizing and styling are fixed by the parent's layout, so this item exposes no `variant` / `tone` of its own; the shared ladders in [`agents/variants.md`](../../../../agents/variants.md) are applied internally and are not configurable from the host.\n",
|
|
17
22
|
"2. Pattern": "Correct and idiomatic ways to use the `<mds-pref-language-item>` 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 Language List Inside the Parent\n\nThe canonical form. Place one `<mds-pref-language-item>` per supported language as a direct child of [`<mds-pref-language>`](../mds-pref-language/AGENTS.md). Set `code` to a BCP 47 tag that exists in the bundled dictionary; the component resolves the display name automatically.\n\n```html\n<mds-pref-language>\n <mds-pref-language-item code=\"it\"></mds-pref-language-item>\n <mds-pref-language-item code=\"en\"></mds-pref-language-item>\n <mds-pref-language-item code=\"fr\"></mds-pref-language-item>\n</mds-pref-language>\n```\n\n#### Pre-selecting the Active Language\n\nPre-select through the parent, not through `selected`: `<mds-pref-language>` marks the item whose `code` matches its resolved language when it loads, and overwrites any `selected` written in the markup. Pass the language to the parent's `set` (or leave `set` on `auto`).\n\n```html\n<mds-pref-language set=\"it\">\n <mds-pref-language-item code=\"it\"></mds-pref-language-item>\n <mds-pref-language-item code=\"en\"></mds-pref-language-item>\n <mds-pref-language-item code=\"de\"></mds-pref-language-item>\n</mds-pref-language>\n```\n\n#### Listening for a Language Selection\n\nThe item emits `mdsPrefLanguageItemSelect` with `{ language: code }` when clicked. In most cases you should listen on the parent (`mdsPrefLanguageChange`) rather than on individual items - but listening on the item directly is valid when you need fine-grained control.\n\n```html\n<mds-pref-language>\n <mds-pref-language-item code=\"it\" id=\"lang-it\"></mds-pref-language-item>\n <mds-pref-language-item code=\"en\" id=\"lang-en\"></mds-pref-language-item>\n</mds-pref-language>\n\n<script>\n document.querySelectorAll('mds-pref-language-item').forEach((item) => {\n item.addEventListener('mdsPrefLanguageItemSelect', (e) => {\n console.log('Lingua scelta:', e.detail.language);\n });\n });\n</script>\n```\n\n#### Offering a Large Language Set\n\nAdd as many items as needed - the parent lists them all in its dropdown. Each item only needs a `code`; the visible label is derived automatically.\n\n```html\n<mds-pref-language>\n <mds-pref-language-item code=\"it\"></mds-pref-language-item>\n <mds-pref-language-item code=\"en\"></mds-pref-language-item>\n <mds-pref-language-item code=\"es\"></mds-pref-language-item>\n <mds-pref-language-item code=\"fr\"></mds-pref-language-item>\n <mds-pref-language-item code=\"de\"></mds-pref-language-item>\n <mds-pref-language-item code=\"pt\"></mds-pref-language-item>\n <mds-pref-language-item code=\"zh\"></mds-pref-language-item>\n <mds-pref-language-item code=\"ar\"></mds-pref-language-item>\n</mds-pref-language>\n```\n\n#### Inside a Full Preferences Panel\n\n`<mds-pref-language>` and its items compose inside [`<mds-pref>`](../mds-pref/AGENTS.md) alongside the other preference controls. Place them as direct children of `<mds-pref>`.\n\n```html\n<mds-pref>\n <mds-pref-mode></mds-pref-mode>\n <mds-pref-contrast></mds-pref-contrast>\n <mds-pref-language>\n <mds-pref-language-item code=\"it\"></mds-pref-language-item>\n <mds-pref-language-item code=\"en\"></mds-pref-language-item>\n </mds-pref-language>\n</mds-pref>\n```\n",
|
|
@@ -5,6 +5,9 @@ import localeIt from "./meta/locale.it.json";
|
|
|
5
5
|
import localeEn from "./meta/locale.en.json";
|
|
6
6
|
import miBaselineCheckCircle from "@icon/mi/baseline/check-circle.svg";
|
|
7
7
|
import miOutlineCircle from "@icon/mi/outline/circle.svg";
|
|
8
|
+
/**
|
|
9
|
+
* @parent mds-pref-language
|
|
10
|
+
*/
|
|
8
11
|
export class MdsPrefLanguageItem {
|
|
9
12
|
constructor() {
|
|
10
13
|
this.t = new Locale({
|
|
@@ -40,7 +43,7 @@ export class MdsPrefLanguageItem {
|
|
|
40
43
|
return (
|
|
41
44
|
// the item is an entry of the `menu` the mds-dropdown of the controller opens:
|
|
42
45
|
// without the role axe rejects it as a child of that menu (aria-required-children)
|
|
43
|
-
h(Host, { key: '
|
|
46
|
+
h(Host, { key: 'd4315f73e815a9be621bafa3091e197f510a4f51', onClick: this.handleClick, role: "menuitem" }, ((_a = this.code) !== null && _a !== void 0 ? _a : '') !== '' ? (h("mds-button", { icon: this.selected ? miBaselineCheckCircle : miOutlineCircle, variant: "dark", tone: "text", label: (_b = localeDefault[this.code]) !== null && _b !== void 0 ? _b : this.code })) : (h("mds-button", { icon: miBaselineCheckCircle, variant: "error", tone: "text", label: this.t.get('noCode') }))));
|
|
44
47
|
}
|
|
45
48
|
static get is() { return "mds-pref-language-item"; }
|
|
46
49
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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.6.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
|
|
|
@@ -51,10 +51,10 @@ The `<mds-pref-mode>` web component is the mode preference control of the Magma
|
|
|
51
51
|
|
|
52
52
|
| Property | Description |
|
|
53
53
|
| --- | --- |
|
|
54
|
-
| `--mds-pref-mode-overlay-fadeout-duration` | Sets the fadeout duration of the overlay which hides UI color flash on theme change |
|
|
55
|
-
| `--mds-pref-mode-overlay-show-duration` | Sets the show duration of the overlay which hides UI color flash on theme change |
|
|
56
54
|
| `--mds-pref-mode-overlay-z-index` | Sets the z-index of the overlay which hides UI color flash on theme change |
|
|
57
55
|
|
|
56
|
+
Only these are public. Its other 2 are internal: they may change in any release, do not set them.
|
|
57
|
+
|
|
58
58
|
## Dependencies
|
|
59
59
|
|
|
60
60
|
Uses: `mds-text`, `mds-tab`, `mds-tab-item`.
|
|
@@ -87,7 +87,7 @@ Setting `size` on `<mds-pref-mode>` alone when siblings exist produces inconsist
|
|
|
87
87
|
|
|
88
88
|
#### Do Not Target the Injected Overlay to Customize It
|
|
89
89
|
|
|
90
|
-
The overlay element is injected into `document.body` at runtime with inline styles, which win over a class selector anyway. Do not target it by class name or adjust its properties through JavaScript. Use the
|
|
90
|
+
The overlay element is injected into `document.body` at runtime with inline styles, which win over a class selector anyway. Do not target it by class name or adjust its properties through JavaScript. Use the public `--mds-pref-mode-overlay-z-index` CSS custom property instead.
|
|
91
91
|
|
|
92
92
|
```css
|
|
93
93
|
/* INCORRECT */
|
|
@@ -98,7 +98,6 @@ The overlay element is injected into `document.body` at runtime with inline styl
|
|
|
98
98
|
|
|
99
99
|
/* CORRECT */
|
|
100
100
|
mds-pref-mode {
|
|
101
|
-
--mds-pref-mode-overlay-show-duration: 400ms;
|
|
102
101
|
--mds-pref-mode-overlay-z-index: 9000;
|
|
103
102
|
}
|
|
104
103
|
```
|