@maggioli-design-system/magma 2.3.0 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +1 -1
- package/CHANGELOG.md +250 -0
- package/agents/anti-patterns.md +7 -4
- package/agents/color.md +2 -2
- package/agents/components.md +2 -1
- package/agents/conventions.md +16 -0
- package/dist/cjs/{aria-BbJUuU9_.js → aria-CzO5Rp1y.js} +23 -15
- package/dist/cjs/{floating-controller-D7Ekjocg.js → floating-controller-BiwDIKXd.js} +21 -12
- package/dist/cjs/{floating-ui.dom-EMHL7uyZ.js → floating-ui.dom-VQ_HnnRe.js} +0 -115
- package/dist/cjs/{icon-MMHcqbgv.js → icon-BhokFNM7.js} +4 -2
- package/dist/cjs/{index-MyEb-PfD.js → index-B5DKRaVO.js} +1 -1
- package/dist/cjs/{index-UmmmCMIG.js → index-B_qgSpWL.js} +89 -60
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/keyboard-manager-BuCJdI8Q.js +75 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{locale-CnorkBwF.js → locale-D9XY8LN9.js} +1 -1
- package/dist/cjs/{locale.it-CfUV2hxK.js → locale.it-CQgfBg0W.js} +6 -1
- package/dist/cjs/{datetime-DHnUzK2K.js → luxon-8hyy5YD7.js} +164 -64
- package/dist/cjs/magma-components.cjs.js +3 -3
- package/dist/cjs/mds-accordion-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +11 -10
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +16 -2
- package/dist/cjs/mds-accordion.cjs.entry.js +36 -21
- package/dist/cjs/mds-author.cjs.entry.js +2 -2
- package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar-stack.cjs.entry.js +11 -5
- package/dist/cjs/mds-avatar.cjs.entry.js +57 -90
- package/dist/cjs/mds-badge.cjs.entry.js +4 -4
- package/dist/cjs/mds-banner_3.cjs.entry.js +51 -69
- package/dist/cjs/mds-benchmark-bar.cjs.entry.js +6 -3
- package/dist/cjs/mds-bibliography.cjs.entry.js +23 -17
- package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +9 -5
- package/dist/cjs/mds-breadcrumb.cjs.entry.js +17 -33
- package/dist/cjs/mds-button-dropdown.cjs.entry.js +15 -6
- package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
- package/dist/cjs/mds-button_3.cjs.entry.js +54 -38
- package/dist/cjs/mds-calendar_2.cjs.entry.js +74 -52
- 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 +2 -2
- package/dist/cjs/mds-card-media.cjs.entry.js +2 -2
- package/dist/cjs/mds-card.cjs.entry.js +25 -16
- package/dist/cjs/mds-details.cjs.entry.js +18 -8
- package/dist/cjs/mds-dropdown.cjs.entry.js +32 -16
- package/dist/cjs/mds-emoji.cjs.entry.js +225 -138
- package/dist/cjs/mds-entity.cjs.entry.js +5 -5
- package/dist/cjs/mds-file-preview.cjs.entry.js +30 -23
- package/dist/cjs/mds-file.cjs.entry.js +25 -7
- package/dist/cjs/mds-filter-item.cjs.entry.js +9 -21
- package/dist/cjs/mds-filter.cjs.entry.js +10 -6
- package/dist/cjs/mds-header-bar.cjs.entry.js +12 -11
- package/dist/cjs/mds-header.cjs.entry.js +9 -11
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +11 -16
- package/dist/cjs/mds-hr.cjs.entry.js +4 -4
- package/dist/cjs/mds-img.cjs.entry.js +38 -46
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +15 -7
- package/dist/cjs/mds-input-date-range.cjs.entry.js +31 -27
- package/dist/cjs/mds-input-date.cjs.entry.js +17 -14
- package/dist/cjs/mds-input-field.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-otp.cjs.entry.js +57 -22
- package/dist/cjs/mds-input-range.cjs.entry.js +4 -4
- package/dist/cjs/mds-input-select.cjs.entry.js +7 -7
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +10 -10
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +9 -8
- package/dist/cjs/mds-input-upload.cjs.entry.js +1097 -15
- package/dist/cjs/mds-input.cjs.entry.js +8 -8
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +5 -5
- package/dist/cjs/mds-keyboard.cjs.entry.js +15 -7
- package/dist/cjs/mds-kpi-item.cjs.entry.js +17 -3
- package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
- package/dist/cjs/mds-label.cjs.entry.js +13 -30
- package/dist/cjs/mds-list-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-list.cjs.entry.js +2 -2
- package/dist/cjs/mds-mention.cjs.entry.js +7 -6
- package/dist/cjs/mds-modal.cjs.entry.js +29 -12
- package/dist/cjs/mds-note.cjs.entry.js +18 -14
- package/dist/cjs/mds-notification.cjs.entry.js +72 -15
- package/dist/cjs/mds-paginator-item.cjs.entry.js +23 -11
- package/dist/cjs/mds-paginator.cjs.entry.js +39 -4
- package/dist/cjs/mds-policy-ai.cjs.entry.js +5 -5
- package/dist/cjs/mds-pref-animation.cjs.entry.js +41 -8
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +41 -8
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +44 -32
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +8 -8
- package/dist/cjs/mds-pref-language.cjs.entry.js +43 -21
- package/dist/cjs/mds-pref-mode.cjs.entry.js +29 -25
- package/dist/cjs/mds-pref-theme-item.cjs.entry.js +4 -3
- package/dist/cjs/mds-pref-theme.cjs.entry.js +109 -31
- package/dist/cjs/mds-pref.cjs.entry.js +28 -11
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table-features.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table-list.cjs.entry.js +14 -6
- package/dist/cjs/mds-price-table.cjs.entry.js +2 -2
- package/dist/cjs/mds-progress_2.cjs.entry.js +46 -33
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +12 -9
- package/dist/cjs/mds-push-notification.cjs.entry.js +37 -14
- package/dist/cjs/mds-quote.cjs.entry.js +3 -3
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-radial-menu.cjs.entry.js +48 -39
- package/dist/cjs/mds-separator.cjs.entry.js +4 -4
- package/dist/cjs/mds-status-bar.cjs.entry.js +8 -9
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +18 -6
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +8 -17
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +25 -16
- package/dist/cjs/mds-tab-bar.cjs.entry.js +11 -5
- package/dist/cjs/mds-tab_2.cjs.entry.js +17 -11
- package/dist/cjs/mds-table-body.cjs.entry.js +4 -4
- package/dist/cjs/mds-table-footer.cjs.entry.js +13 -4
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +3 -3
- package/dist/cjs/mds-table-header.cjs.entry.js +13 -5
- package/dist/cjs/mds-table-row.cjs.entry.js +35 -11
- package/dist/cjs/mds-table.cjs.entry.js +80 -23
- package/dist/cjs/mds-text.cjs.entry.js +4 -4
- package/dist/cjs/mds-toast-region.cjs.entry.js +119 -0
- package/dist/cjs/mds-toast.cjs.entry.js +164 -34
- package/dist/cjs/mds-tooltip.cjs.entry.js +72 -17
- package/dist/cjs/mds-tree-item.cjs.entry.js +25 -11
- package/dist/cjs/mds-tree.cjs.entry.js +37 -15
- package/dist/cjs/mds-url-view.cjs.entry.js +6 -6
- package/dist/cjs/mds-usage.cjs.entry.js +5 -5
- package/dist/cjs/mds-video-wall.cjs.entry.js +5 -4
- package/dist/cjs/mds-zero.cjs.entry.js +4 -4
- package/dist/cjs/{preference-DRkzNp5a.js → preference-C8BcoA3M.js} +1 -1
- package/dist/cjs/{slot-RmXfgH4P.js → slot-Dku0TdVg.js} +15 -0
- package/dist/cjs/{unit-Cm341q1R.js → unit-JdmHaLT3.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/common/aria.js +25 -1
- package/dist/collection/common/file.js +6 -1
- package/dist/collection/common/floating-controller.js +18 -9
- package/dist/collection/common/icon.js +4 -1
- package/dist/collection/common/keyboard-manager.js +29 -6
- package/dist/collection/common/slot.js +15 -1
- package/dist/collection/common/unit.js +1 -1
- package/dist/collection/components/mds-accordion/AGENTS.md +3 -2
- package/dist/collection/components/mds-accordion/antipattern.md +1 -1
- package/dist/collection/components/mds-accordion/documentation.json +9 -4
- package/dist/collection/components/mds-accordion/mds-accordion.css +1 -1
- package/dist/collection/components/mds-accordion/mds-accordion.js +34 -21
- package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-item/antipattern.md +2 -2
- package/dist/collection/components/mds-accordion-item/documentation.json +3 -3
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +5 -1
- package/dist/collection/components/mds-accordion-timer/AGENTS.md +2 -2
- package/dist/collection/components/mds-accordion-timer/documentation.json +3 -3
- package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +15 -1
- package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-accordion-timer-item/documentation.json +4 -4
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +5 -1
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +9 -8
- package/dist/collection/components/mds-author/AGENTS.md +1 -1
- package/dist/collection/components/mds-author/documentation.json +2 -2
- package/dist/collection/components/mds-avatar/AGENTS.md +4 -4
- package/dist/collection/components/mds-avatar/documentation.json +4 -4
- package/dist/collection/components/mds-avatar/mds-avatar.css +15 -4
- package/dist/collection/components/mds-avatar/mds-avatar.js +56 -70
- package/dist/collection/components/mds-avatar/pattern.md +13 -2
- package/dist/collection/components/mds-avatar-stack/AGENTS.md +2 -2
- package/dist/collection/components/mds-avatar-stack/documentation.json +3 -3
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.css +1 -1
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +15 -2
- package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar-stack-item/documentation.json +2 -2
- package/dist/collection/components/mds-badge/AGENTS.md +1 -1
- package/dist/collection/components/mds-badge/antipattern.md +0 -1
- package/dist/collection/components/mds-badge/documentation.json +4 -4
- package/dist/collection/components/mds-badge/mds-badge.css +4 -2
- package/dist/collection/components/mds-badge/pattern.md +0 -1
- package/dist/collection/components/mds-banner/AGENTS.md +1 -1
- package/dist/collection/components/mds-banner/documentation.json +2 -2
- package/dist/collection/components/mds-banner/mds-banner.css +18 -14
- package/dist/collection/components/mds-benchmark-bar/AGENTS.md +2 -2
- package/dist/collection/components/mds-benchmark-bar/antipattern.md +1 -1
- package/dist/collection/components/mds-benchmark-bar/documentation.json +5 -5
- package/dist/collection/components/mds-benchmark-bar/mds-benchmark-bar.js +4 -1
- package/dist/collection/components/mds-benchmark-bar/pattern.md +1 -1
- package/dist/collection/components/mds-bibliography/AGENTS.md +4 -4
- package/dist/collection/components/mds-bibliography/antipattern.md +1 -1
- package/dist/collection/components/mds-bibliography/documentation.json +16 -7
- package/dist/collection/components/mds-bibliography/mds-bibliography.css +3 -1
- package/dist/collection/components/mds-bibliography/mds-bibliography.js +29 -17
- package/dist/collection/components/mds-bibliography/pattern.md +2 -2
- package/dist/collection/components/mds-breadcrumb/AGENTS.md +8 -6
- package/dist/collection/components/mds-breadcrumb/antipattern.md +3 -3
- package/dist/collection/components/mds-breadcrumb/documentation.json +18 -8
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.css +16 -5
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +13 -29
- package/dist/collection/components/mds-breadcrumb/pattern.md +2 -5
- package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-breadcrumb-item/documentation.json +10 -5
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +1 -1
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +10 -3
- package/dist/collection/components/mds-button/AGENTS.md +10 -7
- package/dist/collection/components/mds-button/documentation.json +21 -8
- package/dist/collection/components/mds-button/mds-button.css +13 -7
- package/dist/collection/components/mds-button/mds-button.js +32 -27
- package/dist/collection/components/mds-button/pattern.md +6 -0
- package/dist/collection/components/mds-button-dropdown/AGENTS.md +9 -8
- package/dist/collection/components/mds-button-dropdown/antipattern.md +1 -1
- package/dist/collection/components/mds-button-dropdown/documentation.json +13 -9
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +28 -7
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +15 -5
- package/dist/collection/components/mds-button-dropdown/pattern.md +8 -1
- package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
- package/dist/collection/components/mds-button-group/documentation.json +2 -2
- package/dist/collection/components/mds-calendar/AGENTS.md +4 -4
- package/dist/collection/components/mds-calendar/documentation.json +5 -5
- package/dist/collection/components/mds-calendar/mds-calendar.css +12 -4
- package/dist/collection/components/mds-calendar/mds-calendar.js +40 -20
- package/dist/collection/components/mds-calendar/pattern.md +4 -3
- package/dist/collection/components/mds-calendar-cell/AGENTS.md +8 -8
- package/dist/collection/components/mds-calendar-cell/antipattern.md +2 -1
- package/dist/collection/components/mds-calendar-cell/documentation.json +14 -10
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +260 -109
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +8 -3
- package/dist/collection/components/mds-calendar-cell/pattern.md +3 -1
- package/dist/collection/components/mds-card/AGENTS.md +5 -4
- package/dist/collection/components/mds-card/antipattern.md +1 -1
- package/dist/collection/components/mds-card/documentation.json +10 -5
- package/dist/collection/components/mds-card/mds-card.css +2 -1
- package/dist/collection/components/mds-card/mds-card.js +22 -13
- package/dist/collection/components/mds-card/pattern.md +4 -3
- package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-content/documentation.json +2 -2
- package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-footer/documentation.json +2 -2
- package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-header/documentation.json +2 -2
- package/dist/collection/components/mds-card-media/AGENTS.md +2 -2
- package/dist/collection/components/mds-card-media/documentation.json +7 -3
- package/dist/collection/components/mds-card-media/mds-card-media.js +2 -1
- package/dist/collection/components/mds-chip/AGENTS.md +3 -3
- package/dist/collection/components/mds-chip/documentation.json +6 -6
- package/dist/collection/components/mds-chip/mds-chip.css +12 -9
- package/dist/collection/components/mds-chip/mds-chip.js +40 -60
- package/dist/collection/components/mds-chip/pattern.md +1 -1
- package/dist/collection/components/mds-details/AGENTS.md +5 -4
- package/dist/collection/components/mds-details/documentation.json +6 -6
- package/dist/collection/components/mds-details/mds-details.css +14 -2
- package/dist/collection/components/mds-details/mds-details.js +14 -4
- package/dist/collection/components/mds-details/pattern.md +2 -2
- package/dist/collection/components/mds-dropdown/AGENTS.md +7 -7
- package/dist/collection/components/mds-dropdown/documentation.json +15 -10
- package/dist/collection/components/mds-dropdown/mds-dropdown.css +66 -33
- package/dist/collection/components/mds-dropdown/mds-dropdown.js +31 -12
- package/dist/collection/components/mds-dropdown/pattern.md +4 -2
- package/dist/collection/components/mds-emoji/AGENTS.md +11 -11
- package/dist/collection/components/mds-emoji/antipattern.md +1 -1
- package/dist/collection/components/mds-emoji/documentation.json +34 -64
- package/dist/collection/components/mds-emoji/mds-emoji.js +134 -80
- package/dist/collection/components/mds-emoji/meta/gaze.js +22 -0
- package/dist/collection/components/mds-entity/AGENTS.md +1 -1
- package/dist/collection/components/mds-entity/documentation.json +2 -2
- package/dist/collection/components/mds-entity/mds-entity.css +9 -4
- package/dist/collection/components/mds-entity/mds-entity.js +1 -1
- package/dist/collection/components/mds-file/AGENTS.md +5 -5
- package/dist/collection/components/mds-file/documentation.json +4 -4
- package/dist/collection/components/mds-file/mds-file.css +2 -2
- package/dist/collection/components/mds-file/mds-file.js +21 -3
- package/dist/collection/components/mds-file-preview/AGENTS.md +5 -5
- package/dist/collection/components/mds-file-preview/antipattern.md +1 -1
- package/dist/collection/components/mds-file-preview/documentation.json +20 -10
- package/dist/collection/components/mds-file-preview/mds-file-preview.css +27 -1
- package/dist/collection/components/mds-file-preview/mds-file-preview.js +34 -21
- package/dist/collection/components/mds-file-preview/pattern.md +1 -1
- package/dist/collection/components/mds-filter/AGENTS.md +1 -1
- package/dist/collection/components/mds-filter/documentation.json +2 -2
- package/dist/collection/components/mds-filter/mds-filter.css +3 -3
- package/dist/collection/components/mds-filter/mds-filter.js +6 -2
- package/dist/collection/components/mds-filter-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-filter-item/documentation.json +3 -3
- package/dist/collection/components/mds-filter-item/mds-filter-item.css +7 -4
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +2 -14
- package/dist/collection/components/mds-header/AGENTS.md +5 -5
- package/dist/collection/components/mds-header/antipattern.md +2 -2
- package/dist/collection/components/mds-header/documentation.json +14 -9
- package/dist/collection/components/mds-header/mds-header.css +8 -6
- package/dist/collection/components/mds-header/mds-header.js +10 -9
- package/dist/collection/components/mds-header/pattern.md +1 -1
- package/dist/collection/components/mds-header-bar/AGENTS.md +5 -5
- package/dist/collection/components/mds-header-bar/documentation.json +14 -10
- package/dist/collection/components/mds-header-bar/mds-header-bar.css +13 -4
- package/dist/collection/components/mds-header-bar/mds-header-bar.js +11 -9
- package/dist/collection/components/mds-header-bar/pattern.md +2 -2
- package/dist/collection/components/mds-help/AGENTS.md +7 -7
- package/dist/collection/components/mds-help/documentation.json +11 -7
- package/dist/collection/components/mds-help/mds-help.css +22 -0
- package/dist/collection/components/mds-help/mds-help.js +8 -5
- package/dist/collection/components/mds-help/pattern.md +2 -2
- package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +2 -2
- package/dist/collection/components/mds-horizontal-scroll/documentation.json +7 -3
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +3 -3
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +7 -11
- package/dist/collection/components/mds-hr/AGENTS.md +1 -1
- package/dist/collection/components/mds-hr/documentation.json +2 -2
- package/dist/collection/components/mds-hr/mds-hr.css +1 -1
- package/dist/collection/components/mds-hr/mds-hr.js +1 -1
- package/dist/collection/components/mds-icon/AGENTS.md +2 -2
- package/dist/collection/components/mds-icon/documentation.json +4 -4
- package/dist/collection/components/mds-icon/mds-icon.js +14 -3
- package/dist/collection/components/mds-icon/pattern.md +1 -1
- package/dist/collection/components/mds-img/AGENTS.md +9 -9
- package/dist/collection/components/mds-img/antipattern.md +1 -1
- package/dist/collection/components/mds-img/documentation.json +36 -34
- package/dist/collection/components/mds-img/mds-img.js +58 -56
- package/dist/collection/components/mds-input/AGENTS.md +15 -15
- package/dist/collection/components/mds-input/antipattern.md +1 -1
- package/dist/collection/components/mds-input/documentation.json +83 -22
- package/dist/collection/components/mds-input/mds-input.css +3 -3
- package/dist/collection/components/mds-input/mds-input.js +33 -9
- package/dist/collection/components/mds-input-date/AGENTS.md +3 -3
- package/dist/collection/components/mds-input-date/antipattern.md +1 -1
- package/dist/collection/components/mds-input-date/documentation.json +23 -6
- package/dist/collection/components/mds-input-date/mds-input-date.css +1 -2
- package/dist/collection/components/mds-input-date/mds-input-date.js +17 -2
- package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-date-range/documentation.json +18 -2
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +18 -2
- package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +3 -3
- package/dist/collection/components/mds-input-date-range-preselection/antipattern.md +1 -1
- package/dist/collection/components/mds-input-date-range-preselection/documentation.json +26 -8
- package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +31 -9
- package/dist/collection/components/mds-input-field/AGENTS.md +4 -4
- package/dist/collection/components/mds-input-field/documentation.json +10 -6
- package/dist/collection/components/mds-input-field/mds-input-field.css +1 -1
- package/dist/collection/components/mds-input-field/mds-input-field.js +5 -2
- package/dist/collection/components/mds-input-otp/AGENTS.md +5 -4
- package/dist/collection/components/mds-input-otp/antipattern.md +1 -1
- package/dist/collection/components/mds-input-otp/documentation.json +5 -5
- package/dist/collection/components/mds-input-otp/mds-input-otp.css +12 -0
- package/dist/collection/components/mds-input-otp/mds-input-otp.js +53 -18
- package/dist/collection/components/mds-input-otp/pattern.md +1 -1
- package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-range/antipattern.md +1 -1
- package/dist/collection/components/mds-input-range/documentation.json +3 -3
- package/dist/collection/components/mds-input-range/mds-input-range.css +3 -3
- package/dist/collection/components/mds-input-range/mds-input-range.js +1 -1
- package/dist/collection/components/mds-input-select/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-select/documentation.json +2 -2
- package/dist/collection/components/mds-input-select/mds-input-select.css +9 -2
- package/dist/collection/components/mds-input-select/mds-input-select.js +2 -2
- package/dist/collection/components/mds-input-switch/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-switch/antipattern.md +1 -1
- package/dist/collection/components/mds-input-switch/documentation.json +3 -3
- package/dist/collection/components/mds-input-switch/mds-input-switch.css +12 -9
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +1 -1
- package/dist/collection/components/mds-input-tip/AGENTS.md +2 -2
- package/dist/collection/components/mds-input-tip/documentation.json +3 -3
- package/dist/collection/components/mds-input-tip/mds-input-tip.js +4 -3
- package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-tip-item/documentation.json +2 -2
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.css +3 -1
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
- package/dist/collection/components/mds-input-tip-item/meta/dictionary.js +2 -8
- package/dist/collection/components/mds-input-upload/AGENTS.md +2 -2
- package/dist/collection/components/mds-input-upload/documentation.json +7 -3
- package/dist/collection/components/mds-input-upload/mds-input-upload.css +4 -3
- package/dist/collection/components/mds-input-upload/mds-input-upload.js +13 -8
- package/dist/collection/components/mds-keyboard/AGENTS.md +2 -2
- package/dist/collection/components/mds-keyboard/documentation.json +4 -4
- package/dist/collection/components/mds-keyboard/mds-keyboard.css +24 -13
- package/dist/collection/components/mds-keyboard/mds-keyboard.js +11 -3
- package/dist/collection/components/mds-keyboard/pattern.md +1 -1
- package/dist/collection/components/mds-keyboard-key/AGENTS.md +2 -2
- package/dist/collection/components/mds-keyboard-key/documentation.json +3 -3
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +2 -2
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
- package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
- package/dist/collection/components/mds-kpi/documentation.json +2 -2
- package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
- package/dist/collection/components/mds-kpi-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-kpi-item/antipattern.md +1 -1
- package/dist/collection/components/mds-kpi-item/documentation.json +5 -5
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +15 -1
- package/dist/collection/components/mds-kpi-item/pattern.md +2 -2
- package/dist/collection/components/mds-label/AGENTS.md +2 -2
- package/dist/collection/components/mds-label/documentation.json +3 -3
- package/dist/collection/components/mds-label/mds-label.css +6 -1
- package/dist/collection/components/mds-label/mds-label.js +2 -24
- package/dist/collection/components/mds-list/AGENTS.md +1 -1
- package/dist/collection/components/mds-list/documentation.json +2 -2
- package/dist/collection/components/mds-list/mds-list.js +1 -1
- package/dist/collection/components/mds-list-item/AGENTS.md +3 -3
- package/dist/collection/components/mds-list-item/documentation.json +12 -4
- package/dist/collection/components/mds-list-item/mds-list-item.js +3 -1
- package/dist/collection/components/mds-mention/AGENTS.md +2 -2
- package/dist/collection/components/mds-mention/documentation.json +3 -3
- package/dist/collection/components/mds-mention/mds-mention.css +2 -11
- package/dist/collection/components/mds-mention/mds-mention.js +4 -3
- package/dist/collection/components/mds-modal/AGENTS.md +7 -6
- package/dist/collection/components/mds-modal/documentation.json +16 -7
- package/dist/collection/components/mds-modal/mds-modal.css +18 -9
- package/dist/collection/components/mds-modal/mds-modal.js +25 -7
- package/dist/collection/components/mds-modal/pattern.md +1 -1
- package/dist/collection/components/mds-note/AGENTS.md +2 -1
- package/dist/collection/components/mds-note/documentation.json +8 -3
- package/dist/collection/components/mds-note/mds-note.css +4 -12
- package/dist/collection/components/mds-note/mds-note.js +13 -9
- package/dist/collection/components/mds-note/pattern.md +1 -0
- package/dist/collection/components/mds-notification/AGENTS.md +5 -5
- package/dist/collection/components/mds-notification/documentation.json +10 -5
- package/dist/collection/components/mds-notification/mds-notification.css +9 -2
- package/dist/collection/components/mds-notification/mds-notification.js +78 -13
- package/dist/collection/components/mds-paginator/AGENTS.md +4 -3
- package/dist/collection/components/mds-paginator/antipattern.md +2 -1
- package/dist/collection/components/mds-paginator/documentation.json +6 -6
- package/dist/collection/components/mds-paginator/mds-paginator.css +2 -2
- package/dist/collection/components/mds-paginator/mds-paginator.js +12 -1
- package/dist/collection/components/mds-paginator/pattern.md +9 -1
- package/dist/collection/components/mds-paginator-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-paginator-item/antipattern.md +2 -1
- package/dist/collection/components/mds-paginator-item/documentation.json +6 -6
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +67 -70
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +19 -7
- package/dist/collection/components/mds-paginator-item/pattern.md +3 -1
- package/dist/collection/components/mds-policy-ai/AGENTS.md +3 -2
- package/dist/collection/components/mds-policy-ai/documentation.json +13 -5
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.css +13 -7
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +3 -2
- package/dist/collection/components/mds-policy-ai/pattern.md +6 -1
- package/dist/collection/components/mds-pref/AGENTS.md +5 -5
- package/dist/collection/components/mds-pref/antipattern.md +1 -1
- package/dist/collection/components/mds-pref/documentation.json +8 -8
- package/dist/collection/components/mds-pref/mds-pref.js +27 -9
- package/dist/collection/components/mds-pref/pattern.md +5 -5
- package/dist/collection/components/mds-pref-animation/AGENTS.md +3 -3
- package/dist/collection/components/mds-pref-animation/antipattern.md +1 -1
- package/dist/collection/components/mds-pref-animation/documentation.json +5 -5
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +38 -5
- package/dist/collection/components/mds-pref-animation/pattern.md +6 -6
- package/dist/collection/components/mds-pref-consumption/AGENTS.md +3 -3
- package/dist/collection/components/mds-pref-consumption/antipattern.md +1 -1
- package/dist/collection/components/mds-pref-consumption/documentation.json +5 -5
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +38 -5
- package/dist/collection/components/mds-pref-consumption/pattern.md +5 -6
- package/dist/collection/components/mds-pref-contrast/AGENTS.md +3 -3
- package/dist/collection/components/mds-pref-contrast/antipattern.md +2 -2
- package/dist/collection/components/mds-pref-contrast/documentation.json +5 -5
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +41 -29
- package/dist/collection/components/mds-pref-contrast/pattern.md +3 -3
- package/dist/collection/components/mds-pref-language/AGENTS.md +5 -5
- package/dist/collection/components/mds-pref-language/antipattern.md +2 -2
- package/dist/collection/components/mds-pref-language/documentation.json +17 -7
- package/dist/collection/components/mds-pref-language/mds-pref-language.js +54 -20
- package/dist/collection/components/mds-pref-language/pattern.md +3 -3
- package/dist/collection/components/mds-pref-language-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-pref-language-item/antipattern.md +1 -1
- package/dist/collection/components/mds-pref-language-item/documentation.json +10 -5
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +9 -6
- package/dist/collection/components/mds-pref-mode/AGENTS.md +11 -4
- package/dist/collection/components/mds-pref-mode/antipattern.md +4 -4
- package/dist/collection/components/mds-pref-mode/documentation.json +22 -6
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +1 -1
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +22 -23
- package/dist/collection/components/mds-pref-mode/pattern.md +5 -5
- package/dist/collection/components/mds-pref-theme/AGENTS.md +6 -5
- package/dist/collection/components/mds-pref-theme/antipattern.md +4 -4
- package/dist/collection/components/mds-pref-theme/documentation.json +17 -7
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +121 -30
- package/dist/collection/components/mds-pref-theme/pattern.md +3 -3
- package/dist/collection/components/mds-pref-theme-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-pref-theme-item/antipattern.md +1 -1
- package/dist/collection/components/mds-pref-theme-item/documentation.json +8 -4
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +20 -3
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +6 -2
- package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table/documentation.json +2 -2
- package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
- package/dist/collection/components/mds-price-table-features/AGENTS.md +3 -3
- package/dist/collection/components/mds-price-table-features/documentation.json +4 -4
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +2 -2
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
- package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +2 -2
- package/dist/collection/components/mds-price-table-features-cell/documentation.json +3 -3
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +5 -2
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
- package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-features-row/documentation.json +2 -2
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
- package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-header/documentation.json +2 -2
- package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
- package/dist/collection/components/mds-price-table-list/AGENTS.md +3 -3
- package/dist/collection/components/mds-price-table-list/documentation.json +3 -3
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +2 -1
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +13 -3
- package/dist/collection/components/mds-price-table-list-item/AGENTS.md +3 -3
- package/dist/collection/components/mds-price-table-list-item/documentation.json +9 -5
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.css +5 -1
- 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 +1 -1
- package/dist/collection/components/mds-progress/AGENTS.md +3 -2
- package/dist/collection/components/mds-progress/documentation.json +4 -4
- package/dist/collection/components/mds-progress/mds-progress.css +2 -1
- package/dist/collection/components/mds-progress/mds-progress.js +42 -29
- package/dist/collection/components/mds-progress/pattern.md +1 -0
- package/dist/collection/components/mds-push-notification/AGENTS.md +4 -4
- package/dist/collection/components/mds-push-notification/documentation.json +4 -4
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +19 -12
- package/dist/collection/components/mds-push-notification-item/AGENTS.md +4 -5
- package/dist/collection/components/mds-push-notification-item/documentation.json +18 -13
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +5 -88
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +17 -8
- package/dist/collection/components/mds-push-notification-item/pattern.md +2 -3
- package/dist/collection/components/mds-quote/AGENTS.md +1 -1
- package/dist/collection/components/mds-quote/documentation.json +2 -2
- package/dist/collection/components/mds-quote/mds-quote.js +1 -1
- package/dist/collection/components/mds-radial-menu/AGENTS.md +12 -11
- package/dist/collection/components/mds-radial-menu/antipattern.md +1 -1
- package/dist/collection/components/mds-radial-menu/documentation.json +19 -33
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +24 -7
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +46 -39
- package/dist/collection/components/mds-radial-menu/pattern.md +14 -1
- package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-radial-menu-item/documentation.json +2 -2
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
- package/dist/collection/components/mds-radial-progress/AGENTS.md +11 -1
- package/dist/collection/components/mds-radial-progress/antipattern.md +8 -1
- package/dist/collection/components/mds-radial-progress/documentation.json +31 -5
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +9 -1
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
- package/dist/collection/components/mds-radial-progress/pattern.md +13 -1
- package/dist/collection/components/mds-separator/AGENTS.md +1 -1
- package/dist/collection/components/mds-separator/documentation.json +2 -2
- package/dist/collection/components/mds-separator/mds-separator.css +1 -1
- package/dist/collection/components/mds-separator/mds-separator.js +1 -1
- package/dist/collection/components/mds-spinner/AGENTS.md +2 -2
- package/dist/collection/components/mds-spinner/documentation.json +4 -4
- package/dist/collection/components/mds-spinner/mds-spinner.css +64 -13
- package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
- package/dist/collection/components/mds-spinner/pattern.md +1 -1
- package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-status-bar/antipattern.md +1 -1
- package/dist/collection/components/mds-status-bar/documentation.json +4 -4
- package/dist/collection/components/mds-status-bar/mds-status-bar.css +11 -6
- package/dist/collection/components/mds-status-bar/mds-status-bar.js +5 -6
- package/dist/collection/components/mds-status-bar/pattern.md +1 -1
- package/dist/collection/components/mds-stepper-bar/AGENTS.md +5 -5
- package/dist/collection/components/mds-stepper-bar/documentation.json +8 -14
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +9 -27
- package/dist/collection/components/mds-stepper-bar/pattern.md +1 -1
- package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-stepper-bar-item/documentation.json +6 -6
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +22 -5
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +15 -3
- package/dist/collection/components/mds-stepper-bar-item/pattern.md +1 -1
- package/dist/collection/components/mds-tab/AGENTS.md +3 -3
- package/dist/collection/components/mds-tab/documentation.json +5 -5
- package/dist/collection/components/mds-tab/mds-tab.css +4 -4
- package/dist/collection/components/mds-tab/mds-tab.js +9 -3
- package/dist/collection/components/mds-tab/pattern.md +9 -0
- package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-bar/antipattern.md +1 -1
- package/dist/collection/components/mds-tab-bar/documentation.json +3 -3
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +9 -3
- package/dist/collection/components/mds-tab-bar-item/AGENTS.md +3 -3
- package/dist/collection/components/mds-tab-bar-item/antipattern.md +2 -2
- package/dist/collection/components/mds-tab-bar-item/documentation.json +5 -5
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +22 -1
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +22 -18
- package/dist/collection/components/mds-tab-bar-item/pattern.md +1 -1
- package/dist/collection/components/mds-tab-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-tab-item/documentation.json +9 -4
- package/dist/collection/components/mds-tab-item/mds-tab-item.css +11 -1
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +4 -1
- package/dist/collection/components/mds-table/AGENTS.md +10 -8
- package/dist/collection/components/mds-table/antipattern.md +1 -1
- package/dist/collection/components/mds-table/documentation.json +41 -10
- package/dist/collection/components/mds-table/mds-table.css +20 -21
- package/dist/collection/components/mds-table/mds-table.js +97 -21
- package/dist/collection/components/mds-table/pattern.md +4 -1
- package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-body/documentation.json +2 -2
- package/dist/collection/components/mds-table-body/mds-table-body.css +4 -1
- package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
- package/dist/collection/components/mds-table-cell/AGENTS.md +5 -5
- package/dist/collection/components/mds-table-cell/antipattern.md +1 -1
- package/dist/collection/components/mds-table-cell/documentation.json +11 -7
- package/dist/collection/components/mds-table-cell/mds-table-cell.css +7 -11
- package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
- package/dist/collection/components/mds-table-cell/pattern.md +6 -0
- package/dist/collection/components/mds-table-footer/AGENTS.md +14 -4
- package/dist/collection/components/mds-table-footer/documentation.json +42 -9
- package/dist/collection/components/mds-table-footer/mds-table-footer.css +6 -1
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +41 -2
- package/dist/collection/components/mds-table-footer/pattern.md +2 -1
- package/dist/collection/components/mds-table-header/AGENTS.md +4 -3
- package/dist/collection/components/mds-table-header/documentation.json +49 -6
- package/dist/collection/components/mds-table-header/mds-table-header.css +7 -0
- package/dist/collection/components/mds-table-header/mds-table-header.js +36 -2
- package/dist/collection/components/mds-table-header/pattern.md +1 -1
- package/dist/collection/components/mds-table-header-cell/AGENTS.md +3 -3
- package/dist/collection/components/mds-table-header-cell/documentation.json +20 -6
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +9 -2
- package/dist/collection/components/mds-table-row/AGENTS.md +3 -3
- package/dist/collection/components/mds-table-row/documentation.json +5 -5
- package/dist/collection/components/mds-table-row/mds-table-row.css +5 -4
- package/dist/collection/components/mds-table-row/mds-table-row.js +24 -5
- package/dist/collection/components/mds-table-row/pattern.md +1 -2
- package/dist/collection/components/mds-text/AGENTS.md +2 -2
- package/dist/collection/components/mds-text/documentation.json +3 -3
- package/dist/collection/components/mds-text/mds-text.css +86 -3
- package/dist/collection/components/mds-text/mds-text.js +1 -1
- package/dist/collection/components/mds-toast/AGENTS.md +13 -7
- package/dist/collection/components/mds-toast/antipattern.md +18 -0
- package/dist/collection/components/mds-toast/documentation.json +53 -13
- package/dist/collection/components/mds-toast/mds-toast.css +52 -3
- package/dist/collection/components/mds-toast/mds-toast.js +174 -35
- package/dist/collection/components/mds-toast/meta/event-detail.js +1 -0
- package/dist/collection/components/mds-toast/pattern.md +18 -4
- package/dist/collection/components/mds-toast-region/AGENTS.md +51 -0
- package/dist/collection/components/mds-toast-region/antipattern.md +62 -0
- package/dist/collection/components/mds-toast-region/documentation.json +136 -0
- package/dist/collection/components/mds-toast-region/mds-toast-region.css +31 -0
- package/dist/collection/components/mds-toast-region/mds-toast-region.js +177 -0
- package/dist/collection/components/mds-toast-region/pattern.md +82 -0
- package/dist/collection/components/mds-tooltip/AGENTS.md +7 -7
- package/dist/collection/components/mds-tooltip/documentation.json +18 -9
- package/dist/collection/components/mds-tooltip/mds-tooltip.css +43 -8
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +73 -14
- package/dist/collection/components/mds-tooltip/pattern.md +2 -2
- package/dist/collection/components/mds-tree/AGENTS.md +6 -5
- package/dist/collection/components/mds-tree/documentation.json +13 -7
- package/dist/collection/components/mds-tree/mds-tree.css +5 -4
- package/dist/collection/components/mds-tree/mds-tree.js +41 -16
- package/dist/collection/components/mds-tree/pattern.md +5 -1
- package/dist/collection/components/mds-tree-item/AGENTS.md +7 -7
- package/dist/collection/components/mds-tree-item/documentation.json +7 -7
- package/dist/collection/components/mds-tree-item/mds-tree-item.css +55 -20
- package/dist/collection/components/mds-tree-item/mds-tree-item.js +22 -8
- package/dist/collection/components/mds-tree-item/pattern.md +2 -1
- package/dist/collection/components/mds-url-view/AGENTS.md +2 -2
- package/dist/collection/components/mds-url-view/documentation.json +3 -3
- package/dist/collection/components/mds-url-view/mds-url-view.css +3 -2
- package/dist/collection/components/mds-url-view/mds-url-view.js +2 -2
- package/dist/collection/components/mds-usage/AGENTS.md +12 -10
- package/dist/collection/components/mds-usage/antipattern.md +1 -1
- package/dist/collection/components/mds-usage/documentation.json +21 -9
- package/dist/collection/components/mds-usage/mds-usage.css +5 -3
- package/dist/collection/components/mds-usage/mds-usage.js +5 -2
- package/dist/collection/components/mds-usage/pattern.md +4 -4
- package/dist/collection/components/mds-video-wall/AGENTS.md +2 -2
- package/dist/collection/components/mds-video-wall/documentation.json +3 -3
- package/dist/collection/components/mds-video-wall/mds-video-wall.css +10 -5
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +2 -1
- package/dist/collection/components/mds-zero/AGENTS.md +1 -1
- package/dist/collection/components/mds-zero/documentation.json +2 -2
- package/dist/collection/components/mds-zero/mds-zero.css +2 -1
- package/dist/collection/components/mds-zero/mds-zero.js +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +1 -1
- package/dist/components/mds-accordion-item.js +1 -1
- package/dist/components/mds-accordion-timer-item.js +1 -1
- package/dist/components/mds-accordion-timer.js +1 -1
- package/dist/components/mds-accordion.js +1 -1
- package/dist/components/mds-author.js +1 -1
- package/dist/components/mds-avatar-stack-item.js +1 -1
- package/dist/components/mds-avatar-stack.js +1 -1
- package/dist/components/mds-avatar.js +1 -1
- package/dist/components/mds-badge.js +1 -1
- package/dist/components/mds-banner.js +1 -1
- package/dist/components/mds-benchmark-bar.js +1 -1
- package/dist/components/mds-bibliography.js +1 -1
- package/dist/components/mds-breadcrumb-item.js +1 -1
- package/dist/components/mds-breadcrumb.js +1 -1
- package/dist/components/mds-button-dropdown.js +1 -1
- package/dist/components/mds-button-group.js +1 -1
- package/dist/components/mds-button.js +1 -1
- package/dist/components/mds-calendar-cell.js +1 -1
- package/dist/components/mds-calendar.js +1 -1
- package/dist/components/mds-card-content.js +1 -1
- package/dist/components/mds-card-footer.js +1 -1
- package/dist/components/mds-card-header.js +1 -1
- package/dist/components/mds-card-media.js +1 -1
- package/dist/components/mds-card.js +1 -1
- package/dist/components/mds-chip.js +1 -1
- package/dist/components/mds-details.js +1 -1
- package/dist/components/mds-dropdown.js +1 -1
- package/dist/components/mds-emoji.js +7 -7
- 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-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.d.ts +11 -0
- package/dist/components/mds-toast-region.js +1 -0
- 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-B1bYa-o0.js +1 -0
- package/dist/components/p-B2p5a1Y8.js +3 -0
- package/dist/components/p-B6B6q5kP.js +1 -0
- package/dist/components/{p--miH951G.js → p-B9dgiq4u.js} +1 -1
- package/dist/components/p-BFisF7aN.js +1 -0
- package/dist/components/p-BHy4k3pJ.js +1 -0
- package/dist/components/p-BL220gRU.js +1 -0
- package/dist/components/p-BLXRGNya.js +1 -0
- package/dist/components/p-BLiWCyrD.js +1 -0
- package/dist/components/p-BN5kmfLJ.js +8 -0
- package/dist/components/p-BUr3NqxM.js +1 -0
- package/dist/components/p-BaFfIZGB.js +1 -0
- package/dist/components/{p-faViX-qz.js → p-Bg5E4Wnq.js} +1 -1
- package/dist/components/{p-zHpei4x6.js → p-BlnEiKN4.js} +1 -1
- package/dist/components/p-C2fyy4Mv.js +1 -0
- package/dist/components/p-CGrPq3C4.js +1 -0
- package/dist/components/p-CIWWmisz.js +1 -0
- package/dist/components/p-CJyTL7Mj.js +1 -0
- package/dist/components/p-CWk1SCJg.js +1 -0
- package/dist/components/p-CWwWCzma.js +1 -0
- package/dist/components/p-ChrRK8N9.js +1 -0
- package/dist/components/p-Cvhn9asj.js +1 -0
- package/dist/components/p-D3_jgpKd.js +1 -0
- package/dist/components/p-D4JiVIoh.js +1 -0
- package/dist/components/{p-CUmJoPAI.js → p-DACnmwad.js} +1 -1
- package/dist/components/p-DSxDXNWp.js +1 -0
- package/dist/components/p-DWIIDHSa.js +1 -0
- package/dist/components/p-DYpfVn7a.js +1 -0
- package/dist/components/{p-qYRtWYC8.js → p-D_0rjNZp.js} +1 -1
- package/dist/components/p-DaptTdaU.js +1 -0
- package/dist/components/{p-DLCcW1Q5.js → p-DezdwzYQ.js} +1 -1
- package/dist/components/{p-BcUY-9n7.js → p-DhIGZbIo.js} +1 -1
- package/dist/components/{p-ay5NzZ_x.js → p-Didp833Z.js} +1 -1
- package/dist/components/p-Ea5ilDf6.js +1 -0
- package/dist/components/p-Ebefwvkw.js +1 -0
- package/dist/components/p-JPhOaOXe.js +1 -0
- package/dist/components/p-NOw8-OrM.js +1 -0
- package/dist/components/p-NlPseOAv.js +1 -0
- package/dist/components/{p-DmPLOktp.js → p-cIZniMh0.js} +1 -1
- package/dist/components/p-fhAmrBfl.js +1 -0
- package/dist/components/p-sM-eFjwq.js +1 -0
- package/dist/documentation.json +1069 -462
- package/dist/esm/aria-Cvhn9asj.js +53 -0
- package/dist/esm/{floating-controller-D5-8D9mH.js → floating-controller-CVVcyKew.js} +21 -12
- package/dist/esm/{floating-ui.dom-JMPfVnGv.js → floating-ui.dom-BaFfIZGB.js} +1 -115
- package/dist/esm/{icon-pNJmnrhq.js → icon-B7RVWU-q.js} +4 -2
- package/dist/esm/{index-BxPbQB28.js → index-CPRkNQdE.js} +89 -60
- package/dist/esm/{index-BhCZiGfL.js → index-DI_6NAg0.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/keyboard-manager-CGrPq3C4.js +73 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-CVJm6KFD.js → locale-DfpXg7qZ.js} +1 -1
- package/dist/esm/{locale.it-Cvxh7La5.js → locale.it-Diyps98n.js} +6 -1
- package/dist/esm/{datetime-BJtA1qmE.js → luxon-DbyXf6dF.js} +164 -64
- package/dist/esm/magma-components.js +4 -4
- package/dist/esm/mds-accordion-item.entry.js +3 -3
- package/dist/esm/mds-accordion-timer-item.entry.js +11 -10
- package/dist/esm/mds-accordion-timer.entry.js +16 -2
- package/dist/esm/mds-accordion.entry.js +36 -21
- package/dist/esm/mds-author.entry.js +2 -2
- package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm/mds-avatar-stack.entry.js +11 -5
- package/dist/esm/mds-avatar.entry.js +57 -90
- package/dist/esm/mds-badge.entry.js +4 -4
- package/dist/esm/mds-banner_3.entry.js +51 -69
- package/dist/esm/mds-benchmark-bar.entry.js +6 -3
- package/dist/esm/mds-bibliography.entry.js +23 -17
- package/dist/esm/mds-breadcrumb-item.entry.js +9 -5
- package/dist/esm/mds-breadcrumb.entry.js +17 -33
- package/dist/esm/mds-button-dropdown.entry.js +15 -6
- package/dist/esm/mds-button-group.entry.js +1 -1
- package/dist/esm/mds-button_3.entry.js +54 -38
- package/dist/esm/mds-calendar_2.entry.js +50 -28
- 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 +2 -2
- package/dist/esm/mds-card-media.entry.js +2 -2
- package/dist/esm/mds-card.entry.js +25 -16
- package/dist/esm/mds-details.entry.js +18 -8
- package/dist/esm/mds-dropdown.entry.js +32 -16
- package/dist/esm/mds-emoji.entry.js +225 -138
- package/dist/esm/mds-entity.entry.js +5 -5
- package/dist/esm/mds-file-preview.entry.js +30 -23
- package/dist/esm/mds-file.entry.js +25 -7
- package/dist/esm/mds-filter-item.entry.js +9 -21
- package/dist/esm/mds-filter.entry.js +10 -6
- package/dist/esm/mds-header-bar.entry.js +12 -11
- package/dist/esm/mds-header.entry.js +9 -11
- package/dist/esm/mds-horizontal-scroll.entry.js +11 -16
- package/dist/esm/mds-hr.entry.js +4 -4
- package/dist/esm/mds-img.entry.js +38 -46
- package/dist/esm/mds-input-date-range-preselection.entry.js +15 -7
- package/dist/esm/mds-input-date-range.entry.js +12 -8
- package/dist/esm/mds-input-date.entry.js +11 -8
- package/dist/esm/mds-input-field.entry.js +2 -2
- package/dist/esm/mds-input-otp.entry.js +57 -22
- package/dist/esm/mds-input-range.entry.js +4 -4
- package/dist/esm/mds-input-select.entry.js +7 -7
- package/dist/esm/mds-input-switch_2.entry.js +10 -10
- package/dist/esm/mds-input-tip_2.entry.js +9 -8
- package/dist/esm/mds-input-upload.entry.js +1097 -15
- package/dist/esm/mds-input.entry.js +8 -8
- package/dist/esm/mds-keyboard-key.entry.js +5 -5
- package/dist/esm/mds-keyboard.entry.js +15 -7
- package/dist/esm/mds-kpi-item.entry.js +17 -3
- package/dist/esm/mds-kpi.entry.js +2 -2
- package/dist/esm/mds-label.entry.js +13 -30
- package/dist/esm/mds-list-item.entry.js +2 -2
- package/dist/esm/mds-list.entry.js +2 -2
- package/dist/esm/mds-mention.entry.js +7 -6
- package/dist/esm/mds-modal.entry.js +29 -12
- package/dist/esm/mds-note.entry.js +18 -14
- package/dist/esm/mds-notification.entry.js +72 -15
- package/dist/esm/mds-paginator-item.entry.js +23 -11
- package/dist/esm/mds-paginator.entry.js +39 -4
- package/dist/esm/mds-policy-ai.entry.js +5 -5
- package/dist/esm/mds-pref-animation.entry.js +41 -8
- package/dist/esm/mds-pref-consumption.entry.js +41 -8
- package/dist/esm/mds-pref-contrast.entry.js +44 -32
- package/dist/esm/mds-pref-language-item.entry.js +8 -8
- package/dist/esm/mds-pref-language.entry.js +43 -21
- package/dist/esm/mds-pref-mode.entry.js +29 -25
- package/dist/esm/mds-pref-theme-item.entry.js +4 -3
- package/dist/esm/mds-pref-theme.entry.js +109 -31
- package/dist/esm/mds-pref.entry.js +28 -11
- package/dist/esm/mds-price-table-features-cell.entry.js +4 -4
- package/dist/esm/mds-price-table-features-row.entry.js +3 -3
- package/dist/esm/mds-price-table-features.entry.js +4 -4
- package/dist/esm/mds-price-table-header.entry.js +2 -2
- package/dist/esm/mds-price-table-list-item.entry.js +3 -3
- package/dist/esm/mds-price-table-list.entry.js +14 -6
- package/dist/esm/mds-price-table.entry.js +2 -2
- package/dist/esm/mds-progress_2.entry.js +46 -33
- package/dist/esm/mds-push-notification-item.entry.js +12 -9
- package/dist/esm/mds-push-notification.entry.js +37 -14
- package/dist/esm/mds-quote.entry.js +3 -3
- package/dist/esm/mds-radial-menu-item.entry.js +2 -2
- package/dist/esm/mds-radial-menu.entry.js +48 -39
- package/dist/esm/mds-separator.entry.js +4 -4
- package/dist/esm/mds-status-bar.entry.js +8 -9
- package/dist/esm/mds-stepper-bar-item.entry.js +18 -6
- package/dist/esm/mds-stepper-bar.entry.js +8 -17
- package/dist/esm/mds-tab-bar-item.entry.js +25 -16
- package/dist/esm/mds-tab-bar.entry.js +11 -5
- package/dist/esm/mds-tab_2.entry.js +17 -11
- package/dist/esm/mds-table-body.entry.js +4 -4
- package/dist/esm/mds-table-footer.entry.js +13 -4
- package/dist/esm/mds-table-header-cell.entry.js +3 -3
- package/dist/esm/mds-table-header.entry.js +13 -5
- package/dist/esm/mds-table-row.entry.js +35 -11
- package/dist/esm/mds-table.entry.js +80 -23
- package/dist/esm/mds-text.entry.js +4 -4
- package/dist/esm/mds-toast-region.entry.js +117 -0
- package/dist/esm/mds-toast.entry.js +164 -34
- package/dist/esm/mds-tooltip.entry.js +72 -17
- package/dist/esm/mds-tree-item.entry.js +25 -11
- package/dist/esm/mds-tree.entry.js +37 -15
- package/dist/esm/mds-url-view.entry.js +6 -6
- package/dist/esm/mds-usage.entry.js +5 -5
- package/dist/esm/mds-video-wall.entry.js +5 -4
- package/dist/esm/mds-zero.entry.js +4 -4
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/{preference-DNNqH7BU.js → preference-Ch1zJnqq.js} +1 -1
- package/dist/esm/{slot-C0o_l0td.js → slot-AEckDMXh.js} +15 -1
- package/dist/esm/{unit-D8eZRaSQ.js → unit-CWk1SCJg.js} +1 -1
- package/dist/esm-es5/aria-Cvhn9asj.js +6 -0
- package/dist/esm-es5/{floating-controller-D5-8D9mH.js → floating-controller-CVVcyKew.js} +12 -3
- package/dist/esm-es5/{floating-ui.dom-JMPfVnGv.js → floating-ui.dom-BaFfIZGB.js} +40 -63
- package/dist/esm-es5/icon-B7RVWU-q.js +4 -0
- package/dist/esm-es5/{index-BxPbQB28.js → index-CPRkNQdE.js} +44 -42
- package/dist/esm-es5/{index-BhCZiGfL.js → index-DI_6NAg0.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/keyboard-manager-CGrPq3C4.js +9 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{locale-CVJm6KFD.js → locale-DfpXg7qZ.js} +1 -1
- package/dist/esm-es5/locale.it-Diyps98n.js +11 -0
- package/dist/esm-es5/{datetime-BJtA1qmE.js → luxon-DbyXf6dF.js} +51 -20
- package/dist/esm-es5/magma-components.js +3 -3
- package/dist/esm-es5/mds-accordion-item.entry.js +2 -2
- package/dist/esm-es5/mds-accordion-timer-item.entry.js +7 -3
- package/dist/esm-es5/mds-accordion-timer.entry.js +12 -2
- package/dist/esm-es5/mds-accordion.entry.js +14 -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 +4 -1
- package/dist/esm-es5/mds-avatar.entry.js +19 -6
- package/dist/esm-es5/mds-badge.entry.js +1 -1
- package/dist/esm-es5/mds-banner_3.entry.js +19 -18
- package/dist/esm-es5/mds-benchmark-bar.entry.js +5 -2
- package/dist/esm-es5/mds-bibliography.entry.js +13 -2
- package/dist/esm-es5/mds-breadcrumb-item.entry.js +4 -1
- package/dist/esm-es5/mds-breadcrumb.entry.js +8 -2
- package/dist/esm-es5/mds-button-dropdown.entry.js +6 -3
- package/dist/esm-es5/mds-button-group.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +26 -11
- package/dist/esm-es5/mds-calendar_2.entry.js +20 -9
- 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 +11 -5
- package/dist/esm-es5/mds-details.entry.js +7 -2
- package/dist/esm-es5/mds-dropdown.entry.js +26 -17
- package/dist/esm-es5/mds-emoji.entry.js +151 -99
- package/dist/esm-es5/mds-entity.entry.js +1 -1
- package/dist/esm-es5/mds-file-preview.entry.js +15 -13
- package/dist/esm-es5/mds-file.entry.js +11 -4
- package/dist/esm-es5/mds-filter-item.entry.js +2 -5
- package/dist/esm-es5/mds-filter.entry.js +7 -3
- package/dist/esm-es5/mds-header-bar.entry.js +7 -5
- package/dist/esm-es5/mds-header.entry.js +7 -4
- package/dist/esm-es5/mds-horizontal-scroll.entry.js +15 -12
- package/dist/esm-es5/mds-hr.entry.js +1 -1
- package/dist/esm-es5/mds-img.entry.js +17 -11
- package/dist/esm-es5/mds-input-date-range-preselection.entry.js +6 -1
- package/dist/esm-es5/mds-input-date-range.entry.js +16 -12
- package/dist/esm-es5/mds-input-date.entry.js +6 -3
- package/dist/esm-es5/mds-input-field.entry.js +2 -2
- package/dist/esm-es5/mds-input-otp.entry.js +16 -6
- package/dist/esm-es5/mds-input-range.entry.js +3 -3
- package/dist/esm-es5/mds-input-select.entry.js +2 -2
- package/dist/esm-es5/mds-input-switch_2.entry.js +2 -2
- package/dist/esm-es5/mds-input-tip_2.entry.js +5 -4
- package/dist/esm-es5/mds-input-upload.entry.js +5 -3
- package/dist/esm-es5/mds-input.entry.js +3 -3
- package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
- package/dist/esm-es5/mds-keyboard.entry.js +7 -3
- package/dist/esm-es5/mds-kpi-item.entry.js +7 -2
- 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-list-item.entry.js +2 -2
- package/dist/esm-es5/mds-list.entry.js +1 -1
- package/dist/esm-es5/mds-mention.entry.js +4 -3
- package/dist/esm-es5/mds-modal.entry.js +19 -7
- package/dist/esm-es5/mds-note.entry.js +5 -2
- package/dist/esm-es5/mds-notification.entry.js +25 -5
- package/dist/esm-es5/mds-paginator-item.entry.js +8 -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 +14 -4
- package/dist/esm-es5/mds-pref-consumption.entry.js +14 -4
- package/dist/esm-es5/mds-pref-contrast.entry.js +14 -7
- package/dist/esm-es5/mds-pref-language-item.entry.js +5 -5
- package/dist/esm-es5/mds-pref-language.entry.js +20 -6
- package/dist/esm-es5/mds-pref-mode.entry.js +10 -3
- package/dist/esm-es5/mds-pref-theme-item.entry.js +4 -3
- package/dist/esm-es5/mds-pref-theme.entry.js +38 -11
- package/dist/esm-es5/mds-pref.entry.js +13 -7
- package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
- package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-list-item.entry.js +2 -2
- package/dist/esm-es5/mds-price-table-list.entry.js +5 -1
- package/dist/esm-es5/mds-price-table.entry.js +1 -1
- package/dist/esm-es5/mds-progress_2.entry.js +18 -3
- package/dist/esm-es5/mds-push-notification-item.entry.js +7 -3
- package/dist/esm-es5/mds-push-notification.entry.js +9 -12
- package/dist/esm-es5/mds-quote.entry.js +2 -2
- package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
- package/dist/esm-es5/mds-radial-menu.entry.js +8 -11
- package/dist/esm-es5/mds-separator.entry.js +1 -1
- package/dist/esm-es5/mds-status-bar.entry.js +5 -3
- package/dist/esm-es5/mds-stepper-bar-item.entry.js +9 -3
- package/dist/esm-es5/mds-stepper-bar.entry.js +9 -4
- package/dist/esm-es5/mds-tab-bar-item.entry.js +10 -3
- package/dist/esm-es5/mds-tab-bar.entry.js +5 -1
- package/dist/esm-es5/mds-tab_2.entry.js +6 -4
- package/dist/esm-es5/mds-table-body.entry.js +1 -1
- package/dist/esm-es5/mds-table-footer.entry.js +4 -1
- package/dist/esm-es5/mds-table-header-cell.entry.js +2 -2
- package/dist/esm-es5/mds-table-header.entry.js +10 -5
- package/dist/esm-es5/mds-table-row.entry.js +9 -3
- package/dist/esm-es5/mds-table.entry.js +33 -8
- package/dist/esm-es5/mds-text.entry.js +3 -3
- package/dist/esm-es5/mds-toast-region.entry.js +22 -0
- package/dist/esm-es5/mds-toast.entry.js +42 -5
- package/dist/esm-es5/mds-tooltip.entry.js +16 -6
- package/dist/esm-es5/mds-tree-item.entry.js +15 -4
- package/dist/esm-es5/mds-tree.entry.js +15 -2
- package/dist/esm-es5/mds-url-view.entry.js +2 -2
- package/dist/esm-es5/mds-usage.entry.js +3 -3
- package/dist/esm-es5/mds-video-wall.entry.js +2 -2
- package/dist/esm-es5/mds-zero.entry.js +1 -1
- package/dist/esm-es5/{preference-DNNqH7BU.js → preference-Ch1zJnqq.js} +4 -4
- package/dist/esm-es5/slot-AEckDMXh.js +30 -0
- package/dist/esm-es5/unit-CWk1SCJg.js +1 -0
- package/dist/hydrate/index.js +4431 -1890
- package/dist/hydrate/index.mjs +4431 -1890
- package/dist/magma-components/index.esm.js +1 -1
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/magma-components.js +1 -1
- package/dist/magma-components/p-007968a8.system.entry.js +47 -0
- package/dist/magma-components/p-028f3717.entry.js +1 -0
- package/dist/magma-components/{p-808f6796.entry.js → p-0727d8f9.entry.js} +1 -1
- package/dist/magma-components/p-0b5fe949.entry.js +1 -0
- package/dist/magma-components/p-0b7a884e.system.entry.js +29 -0
- package/dist/magma-components/{p-ed897125.entry.js → p-0bcf3bb6.entry.js} +1 -1
- package/dist/magma-components/{p-c34d9e61.system.entry.js → p-0c9bdfff.system.entry.js} +1 -1
- package/dist/magma-components/{p-514d0fcb.entry.js → p-0dd4b006.entry.js} +1 -1
- package/dist/magma-components/p-0f47fd37.system.entry.js +16 -0
- package/dist/magma-components/p-11e50140.system.entry.js +19 -0
- package/dist/magma-components/{p-c644c5fc.system.entry.js → p-11feeebf.system.entry.js} +4 -1
- package/dist/magma-components/p-1287fb51.entry.js +1 -0
- package/dist/magma-components/p-12a2f8e2.system.entry.js +13 -0
- package/dist/magma-components/p-14b40c21.entry.js +1 -0
- package/dist/magma-components/p-14ef1aec.entry.js +1 -0
- package/dist/magma-components/p-166c0190.entry.js +1 -0
- package/dist/magma-components/{p-a9736d68.system.entry.js → p-176e6d9d.system.entry.js} +1 -1
- package/dist/magma-components/p-1989c0b4.entry.js +8 -0
- package/dist/magma-components/p-1a5411a8.entry.js +1 -0
- package/dist/magma-components/p-1d68fc4a.system.entry.js +80 -0
- package/dist/magma-components/p-1f5cd2b5.entry.js +1 -0
- package/dist/{components/p-B8BWxSho.js → magma-components/p-1f9ebc0d.entry.js} +1 -1
- package/dist/magma-components/{p-837fbbf7.system.entry.js → p-1fe66383.system.entry.js} +1 -1
- package/dist/magma-components/p-20469b7a.system.entry.js +1 -0
- package/dist/magma-components/p-20608f69.system.entry.js +35 -0
- package/dist/magma-components/p-2061e567.entry.js +1 -0
- package/dist/magma-components/p-21c2d7bd.entry.js +1 -0
- package/dist/magma-components/p-21fe0fef.system.entry.js +14 -0
- package/dist/magma-components/p-2294945a.system.entry.js +34 -0
- package/dist/magma-components/p-2362b91a.entry.js +1 -0
- package/dist/magma-components/p-23bf1afa.system.entry.js +27 -0
- package/dist/magma-components/{p-c575cb7b.entry.js → p-23ce0824.entry.js} +1 -1
- package/dist/magma-components/p-25576b51.system.entry.js +14 -0
- package/dist/magma-components/{p-508e10b5.system.entry.js → p-287d1253.system.entry.js} +476 -423
- package/dist/magma-components/p-288f3cfe.entry.js +1 -0
- package/dist/magma-components/p-29d4605e.system.entry.js +10 -0
- package/dist/magma-components/p-2abfc393.entry.js +1 -0
- package/dist/magma-components/p-2c4d2717.entry.js +1 -0
- package/dist/magma-components/p-2d7d9e4f.entry.js +1 -0
- package/dist/magma-components/p-2e8f703e.entry.js +1 -0
- package/dist/magma-components/p-3093af30.system.entry.js +4 -0
- package/dist/magma-components/{p-35ee2d77.entry.js → p-32bfb09c.entry.js} +1 -1
- package/dist/magma-components/p-342770d2.system.entry.js +7 -0
- package/dist/magma-components/p-357ec8c0.entry.js +1 -0
- package/dist/magma-components/p-36ad5759.system.entry.js +10 -0
- package/dist/magma-components/p-37b801d0.system.entry.js +22 -0
- package/dist/magma-components/{p-2de5f5fe.entry.js → p-3871807a.entry.js} +1 -1
- package/dist/magma-components/{p-154aff83.entry.js → p-38a9e862.entry.js} +1 -1
- package/dist/magma-components/p-3a88fc9b.system.entry.js +1 -0
- package/dist/magma-components/p-3ac09ace.entry.js +1 -0
- package/dist/magma-components/p-3b36319a.entry.js +1 -0
- package/dist/magma-components/{p-8cdad12f.entry.js → p-3ba5ddae.entry.js} +1 -1
- package/dist/magma-components/p-3bb26611.entry.js +1 -0
- package/dist/magma-components/p-3e1b21bd.entry.js +1 -0
- package/dist/magma-components/p-3fb98529.system.entry.js +28 -0
- package/dist/magma-components/p-4116e328.system.entry.js +1 -0
- package/dist/magma-components/p-4191bf22.entry.js +1 -0
- package/dist/magma-components/p-4225484c.entry.js +1 -0
- package/dist/magma-components/p-4260da67.system.entry.js +12 -0
- package/dist/magma-components/p-43338a07.entry.js +1 -0
- package/dist/magma-components/p-4582aa3e.system.entry.js +16 -0
- package/dist/magma-components/p-47f7366c.entry.js +1 -0
- package/dist/magma-components/p-4800a310.entry.js +1 -0
- package/dist/magma-components/p-495a70e2.entry.js +1 -0
- package/dist/magma-components/p-4a051ef5.system.entry.js +46 -0
- package/dist/magma-components/p-4c2dad1e.system.entry.js +81 -0
- package/dist/magma-components/p-4d079b1a.system.entry.js +26 -0
- package/dist/magma-components/p-4ea00c22.entry.js +1 -0
- package/dist/magma-components/{p-8d2a6896.entry.js → p-4f24ccf3.entry.js} +1 -1
- package/dist/magma-components/{p-ed6e287d.system.entry.js → p-4fdda209.system.entry.js} +4 -4
- package/dist/magma-components/p-51a869ee.entry.js +1 -0
- package/dist/magma-components/p-5219eba6.system.entry.js +4 -0
- package/dist/magma-components/p-52a85b97.system.entry.js +9 -0
- package/dist/magma-components/p-52d5d104.system.entry.js +17 -0
- package/dist/magma-components/{p-c4ceaef6.system.entry.js → p-5439125d.system.entry.js} +2 -2
- package/dist/magma-components/p-547f657e.system.entry.js +91 -0
- package/dist/magma-components/p-5a2deba5.entry.js +1 -0
- package/dist/magma-components/{p-e238e2eb.entry.js → p-5b21eb78.entry.js} +1 -1
- package/dist/magma-components/p-5cef4711.entry.js +1 -0
- package/dist/magma-components/p-5d9b1fe5.entry.js +1 -0
- package/dist/magma-components/{p-4dfeb655.system.entry.js → p-5ea3be82.system.entry.js} +2 -2
- package/dist/magma-components/p-61f0ebf3.entry.js +1 -0
- package/dist/magma-components/p-62e65f3b.entry.js +1 -0
- package/dist/magma-components/p-648ec03b.system.entry.js +73 -0
- package/dist/magma-components/p-677ef2a3.system.entry.js +55 -0
- package/dist/magma-components/p-69b37755.system.entry.js +17 -0
- package/dist/magma-components/p-6b2fff4b.system.entry.js +11 -0
- package/dist/magma-components/p-6bc4114c.system.entry.js +19 -0
- package/dist/magma-components/p-6c91b00d.system.entry.js +22 -0
- package/dist/magma-components/p-6da68fd5.entry.js +1 -0
- package/dist/magma-components/p-6ebbcd7b.system.entry.js +14 -0
- package/dist/magma-components/p-70a911e8.entry.js +1 -0
- package/dist/magma-components/p-70f5536c.system.entry.js +15 -0
- package/dist/magma-components/{p-c69ec735.system.entry.js → p-721b625a.system.entry.js} +13 -9
- package/dist/magma-components/p-72cc4977.system.entry.js +21 -0
- package/dist/magma-components/p-7448435b.system.entry.js +46 -0
- package/dist/magma-components/p-7497b39d.system.entry.js +7 -0
- package/dist/magma-components/p-7502528c.entry.js +1 -0
- package/dist/magma-components/{p-73e593a2.system.entry.js → p-765ff9a3.system.entry.js} +6 -3
- package/dist/magma-components/p-7a568cbf.entry.js +1 -0
- package/dist/magma-components/p-7d548a19.entry.js +1 -0
- package/dist/magma-components/p-7f776dff.entry.js +1 -0
- package/dist/magma-components/p-8059aa67.system.entry.js +17 -0
- package/dist/magma-components/p-811272a9.entry.js +1 -0
- package/dist/magma-components/p-815801dd.system.entry.js +19 -0
- package/dist/magma-components/p-87b15008.entry.js +1 -0
- package/dist/magma-components/p-88ac5d50.entry.js +1 -0
- package/dist/magma-components/{p-add1a8d0.system.entry.js → p-88be542e.system.entry.js} +2 -2
- package/dist/magma-components/{p-64f78149.system.entry.js → p-890bae38.system.entry.js} +1 -1
- package/dist/magma-components/p-8a4a2b5a.entry.js +1 -0
- package/dist/magma-components/p-8b081ba9.entry.js +1 -0
- package/dist/magma-components/{p-0a9fb138.system.entry.js → p-8ba250d6.system.entry.js} +1 -1
- package/dist/magma-components/p-8c66c761.entry.js +1 -0
- package/dist/magma-components/p-8d8c9c90.entry.js +1 -0
- package/dist/magma-components/p-8e08ae08.system.entry.js +94 -0
- package/dist/magma-components/p-90fe332f.entry.js +1 -0
- package/dist/magma-components/p-911dc847.entry.js +1 -0
- package/dist/magma-components/p-914d1b2a.system.entry.js +111 -0
- package/dist/magma-components/p-916a26e4.entry.js +1 -0
- package/dist/magma-components/p-91ed604f.entry.js +1 -0
- package/dist/magma-components/p-926ef760.entry.js +1 -0
- package/dist/magma-components/p-938dbe67.system.entry.js +27 -0
- package/dist/magma-components/p-93d8b236.system.entry.js +10 -0
- package/dist/magma-components/p-95328cc7.system.entry.js +17 -0
- package/dist/magma-components/p-95486c6a.system.entry.js +5 -0
- package/dist/magma-components/{p-f5bb8c0c.entry.js → p-96f973e3.entry.js} +1 -1
- package/dist/magma-components/p-9a28bd8d.system.entry.js +20 -0
- package/dist/magma-components/p-9bdca8b4.entry.js +1 -0
- package/dist/magma-components/p-9caf411a.system.entry.js +13 -0
- package/dist/magma-components/p-9e7d02e5.entry.js +1 -0
- package/dist/magma-components/p-AEckDMXh.js +1 -0
- package/dist/magma-components/p-B-nayZ3E.system.js +1 -0
- package/dist/magma-components/p-B7RVWU-q.js +1 -0
- package/dist/magma-components/{p-CKfEQ187.system.js → p-BHS0WXNt.system.js} +1 -1
- package/dist/magma-components/p-BaFfIZGB.js +1 -0
- package/dist/magma-components/{p-RJ5ZA1kY.system.js → p-BeNKMPXR.system.js} +9 -2
- package/dist/magma-components/{p-Kv1yahtR.js → p-BmT_DEV2.js} +2 -2
- package/dist/magma-components/{p-BTF_aRDG.system.js → p-C1ailvfu.system.js} +28 -28
- package/dist/magma-components/{p-7-TP6wnI.js → p-C25F_FlB.js} +1 -1
- package/dist/magma-components/p-CDjzBTsk.js +1 -0
- package/dist/magma-components/p-CGrPq3C4.js +1 -0
- package/dist/magma-components/p-CPRkNQdE.js +3 -0
- package/dist/magma-components/p-CWk1SCJg.js +1 -0
- package/dist/magma-components/{p-DaONbL_w.system.js → p-CmzGV0XD.system.js} +44 -44
- package/dist/magma-components/p-Cvhn9asj.js +1 -0
- package/dist/magma-components/{p-hVpoPUxI.system.js → p-D8596ytD.system.js} +8 -8
- package/dist/magma-components/p-D9J8lbUv.system.js +9 -0
- package/dist/magma-components/p-DAifcgtS.system.js +4 -0
- package/dist/magma-components/{p-DhhAXEdA.system.js → p-DVjUXVFl.system.js} +21 -12
- package/dist/magma-components/p-DbyXf6dF.js +1 -0
- package/dist/magma-components/p-DmFo8_MF.js +1 -0
- package/dist/magma-components/p-JuViHg2B.system.js +11 -0
- package/dist/magma-components/{p-CdsZyFQ-.system.js → p-LUd56iG_.system.js} +1 -1
- package/dist/magma-components/p-QYez4sql.system.js +5 -0
- package/dist/magma-components/{p-BJKToXNf.system.js → p-WSL9tMdv.system.js} +81 -50
- package/dist/magma-components/{p-584a4ee8.system.entry.js → p-a08d20c2.system.entry.js} +1 -1
- package/dist/magma-components/{p-26c85354.system.entry.js → p-a136e6fe.system.entry.js} +6 -1
- package/dist/magma-components/p-a1443292.entry.js +1 -0
- package/dist/magma-components/{p-634727e6.system.entry.js → p-a1ca2441.system.entry.js} +2 -2
- package/dist/magma-components/{p-0d97e28d.system.entry.js → p-a2d10402.system.entry.js} +2 -2
- package/dist/magma-components/p-a2ec6eac.entry.js +1 -0
- package/dist/magma-components/{p-b626c69f.system.entry.js → p-a40443ca.system.entry.js} +1 -1
- package/dist/magma-components/{p-c7d84d1c.system.entry.js → p-a47a9f11.system.entry.js} +1 -1
- package/dist/magma-components/{p-e388f1f2.system.entry.js → p-a4f46de1.system.entry.js} +9 -4
- package/dist/magma-components/p-a51f849a.entry.js +1 -0
- package/dist/magma-components/{p-3fa6cf85.system.entry.js → p-a53f6a94.system.entry.js} +5 -1
- package/dist/magma-components/p-a6fe6b4c.system.entry.js +1 -0
- package/dist/magma-components/p-a7bad4e8.entry.js +1 -0
- package/dist/magma-components/p-a8593847.entry.js +1 -0
- package/dist/magma-components/p-aa8653b1.system.entry.js +13 -0
- package/dist/magma-components/p-ac4109e3.entry.js +1 -0
- package/dist/magma-components/{p-bba04b08.system.entry.js → p-af704402.system.entry.js} +5 -2
- package/dist/magma-components/p-b169ee9b.entry.js +1 -0
- package/dist/magma-components/p-b36d54e1.system.entry.js +41 -0
- package/dist/magma-components/p-b40ef7ab.system.entry.js +23 -0
- package/dist/magma-components/{p-569cbe13.entry.js → p-b48fc62e.entry.js} +1 -1
- package/dist/magma-components/p-b509fb36.entry.js +1 -0
- package/dist/magma-components/p-b514bd3a.system.entry.js +1 -0
- package/dist/magma-components/p-b58363e2.system.entry.js +31 -0
- package/dist/magma-components/{p-22e9a507.entry.js → p-b62bbd07.entry.js} +1 -1
- package/dist/magma-components/{p-ac873ab4.entry.js → p-b919ce62.entry.js} +1 -1
- package/dist/magma-components/p-b940888d.entry.js +1 -0
- package/dist/magma-components/p-bba4c7eb.entry.js +1 -0
- package/dist/magma-components/p-bc30508b.entry.js +1 -0
- package/dist/magma-components/p-bdd18c90.system.entry.js +25 -0
- package/dist/magma-components/p-be32b7a9.system.entry.js +13 -0
- package/dist/magma-components/p-c1d8a25e.entry.js +1 -0
- package/dist/magma-components/p-c3622315.entry.js +1 -0
- package/dist/magma-components/p-c4286fb7.system.entry.js +1 -0
- package/dist/magma-components/p-c6b16493.system.entry.js +49 -0
- package/dist/magma-components/p-c6b9a14e.system.entry.js +48 -0
- package/dist/magma-components/p-c6db7a0f.system.entry.js +22 -0
- package/dist/magma-components/p-c72651b2.entry.js +1 -0
- package/dist/magma-components/p-c89c2e30.entry.js +1 -0
- package/dist/magma-components/{p-cefdc01f.system.entry.js → p-ca8e0927.system.entry.js} +2 -2
- package/dist/magma-components/p-cc0cb701.entry.js +1 -0
- package/dist/magma-components/{p-121730d1.entry.js → p-cc109576.entry.js} +1 -1
- package/dist/magma-components/p-cc88c963.system.entry.js +1 -0
- package/dist/magma-components/p-cfe080ab.system.entry.js +54 -0
- package/dist/magma-components/p-d0c0c195.entry.js +1 -0
- package/dist/magma-components/p-d3678561.system.entry.js +35 -0
- package/dist/magma-components/p-d8d87750.system.entry.js +21 -0
- package/dist/magma-components/{p-574c2c13.system.entry.js → p-d9551916.system.entry.js} +4 -4
- package/dist/magma-components/p-da532544.system.entry.js +25 -0
- package/dist/magma-components/{p-69d6cc9e.system.entry.js → p-da6cf595.system.entry.js} +2 -2
- package/dist/magma-components/p-da9afc4b.system.entry.js +8 -0
- package/dist/magma-components/p-daf9c8ca.system.entry.js +4 -0
- package/dist/magma-components/p-dbf69d54.system.entry.js +5 -0
- package/dist/magma-components/p-dd8fb2f8.system.entry.js +105 -0
- package/dist/magma-components/p-dfbecf72.system.entry.js +11 -0
- package/dist/magma-components/p-e032e77f.system.entry.js +1 -0
- package/dist/magma-components/p-e15a874b.entry.js +1 -0
- package/dist/magma-components/p-e1ce306a.system.entry.js +52 -0
- package/dist/magma-components/p-e471decd.system.entry.js +32 -0
- package/dist/magma-components/p-e49818c4.entry.js +1 -0
- package/dist/magma-components/{p-6f5a1248.entry.js → p-e5ab1f4f.entry.js} +1 -1
- package/dist/magma-components/p-e6ed6e12.entry.js +1 -0
- package/dist/magma-components/p-e73cc6fc.entry.js +18 -0
- package/dist/magma-components/{p-2710ddc4.entry.js → p-e8b9d639.entry.js} +1 -1
- package/dist/magma-components/p-e954b5c5.entry.js +1 -0
- package/dist/magma-components/p-eba7cfb3.entry.js +1 -0
- package/dist/magma-components/p-ecb87d38.entry.js +1 -0
- package/dist/magma-components/p-eebf450c.system.entry.js +4 -0
- package/dist/magma-components/p-ef4d07ba.entry.js +1 -0
- package/dist/magma-components/{p-789c1b93.system.entry.js → p-f30cdd34.system.entry.js} +1 -1
- package/dist/magma-components/p-f3763382.entry.js +1 -0
- package/dist/magma-components/p-f43379ef.entry.js +1 -0
- package/dist/magma-components/p-f454c06b.entry.js +1 -0
- package/dist/magma-components/p-f48843b7.system.entry.js +1 -0
- package/dist/magma-components/p-f5a08dca.system.entry.js +40 -0
- package/dist/magma-components/p-f7af41fb.system.entry.js +33 -0
- package/dist/magma-components/{p-5c17a324.entry.js → p-f7f6881a.entry.js} +1 -1
- package/dist/magma-components/p-f88c202e.entry.js +1 -0
- package/dist/magma-components/{p-1cb495d3.entry.js → p-f9b5a5ec.entry.js} +1 -1
- package/dist/magma-components/p-fcaa81b3.entry.js +1 -0
- package/dist/magma-components/{p-a462aadd.entry.js → p-fd53a51c.entry.js} +1 -1
- package/dist/magma-components/{p-94e9f2be.system.entry.js → p-ff4276d3.system.entry.js} +7 -2
- package/dist/magma-components/p-nFkaC8l_.system.js +210 -0
- package/dist/magma-components/p-sm_-_oFY.system.js +6 -0
- package/dist/magma-components/{p-8yWTOQiz.js → p-zQY2FlcD.js} +1 -1
- package/dist/stats.json +5527 -4219
- package/dist/types/common/aria.d.ts +8 -1
- package/dist/types/common/file.d.ts +5 -0
- package/dist/types/common/floating-controller.d.ts +8 -1
- package/dist/types/common/keyboard-manager.d.ts +8 -1
- package/dist/types/common/slot.d.ts +9 -1
- package/dist/types/components/mds-accordion/mds-accordion.d.ts +8 -1
- package/dist/types/components/mds-accordion-timer/mds-accordion-timer.d.ts +6 -0
- package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +2 -1
- package/dist/types/components/mds-avatar/mds-avatar.d.ts +13 -9
- package/dist/types/components/mds-avatar-stack/mds-avatar-stack.d.ts +2 -1
- package/dist/types/components/mds-bibliography/mds-bibliography.d.ts +10 -2
- package/dist/types/components/mds-breadcrumb/mds-breadcrumb.d.ts +0 -3
- package/dist/types/components/mds-breadcrumb-item/mds-breadcrumb-item.d.ts +4 -1
- package/dist/types/components/mds-button/mds-button.d.ts +7 -1
- package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +7 -3
- package/dist/types/components/mds-calendar/mds-calendar.d.ts +7 -0
- package/dist/types/components/mds-calendar-cell/mds-calendar-cell.d.ts +4 -1
- package/dist/types/components/mds-card/mds-card.d.ts +8 -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 +7 -5
- package/dist/types/components/mds-details/mds-details.d.ts +3 -1
- package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +8 -3
- package/dist/types/components/mds-emoji/mds-emoji.d.ts +20 -10
- package/dist/types/components/mds-emoji/meta/gaze.d.ts +19 -0
- package/dist/types/components/mds-file/mds-file.d.ts +7 -1
- package/dist/types/components/mds-file-preview/mds-file-preview.d.ts +15 -4
- package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +0 -2
- package/dist/types/components/mds-header/mds-header.d.ts +7 -5
- package/dist/types/components/mds-header/meta/event-detail.d.ts +2 -1
- package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +3 -2
- package/dist/types/components/mds-help/mds-help.d.ts +5 -2
- package/dist/types/components/mds-horizontal-scroll/mds-horizontal-scroll.d.ts +1 -0
- package/dist/types/components/mds-icon/mds-icon.d.ts +5 -0
- package/dist/types/components/mds-img/mds-img.d.ts +24 -14
- package/dist/types/components/mds-input/mds-input.d.ts +22 -7
- package/dist/types/components/mds-input-date/mds-input-date.d.ts +6 -0
- package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +4 -0
- package/dist/types/components/mds-input-date-range-preselection/mds-input-date-range-preselection.d.ts +8 -1
- package/dist/types/components/mds-input-field/mds-input-field.d.ts +4 -1
- package/dist/types/components/mds-input-otp/mds-input-otp.d.ts +8 -0
- package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +2 -1
- package/dist/types/components/mds-input-tip-item/meta/dictionary.d.ts +1 -2
- package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +3 -1
- package/dist/types/components/mds-kpi-item/mds-kpi-item.d.ts +7 -0
- package/dist/types/components/mds-label/mds-label.d.ts +0 -9
- package/dist/types/components/mds-list-item/mds-list-item.d.ts +2 -0
- package/dist/types/components/mds-mention/mds-mention.d.ts +2 -1
- package/dist/types/components/mds-modal/mds-modal.d.ts +4 -1
- package/dist/types/components/mds-note/mds-note.d.ts +1 -0
- package/dist/types/components/mds-notification/mds-notification.d.ts +25 -2
- package/dist/types/components/mds-paginator/mds-paginator.d.ts +1 -0
- package/dist/types/components/mds-paginator-item/mds-paginator-item.d.ts +7 -0
- package/dist/types/components/mds-policy-ai/mds-policy-ai.d.ts +2 -1
- package/dist/types/components/mds-pref/mds-pref.d.ts +6 -1
- package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +8 -0
- package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +8 -0
- package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +8 -2
- package/dist/types/components/mds-pref-language/mds-pref-language.d.ts +2 -2
- package/dist/types/components/mds-pref-language-item/mds-pref-language-item.d.ts +1 -0
- package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +6 -1
- package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +16 -2
- package/dist/types/components/mds-pref-theme-item/mds-pref-theme-item.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 +14 -4
- package/dist/types/components/mds-push-notification/mds-push-notification.d.ts +4 -9
- package/dist/types/components/mds-push-notification-item/mds-push-notification-item.d.ts +5 -2
- package/dist/types/components/mds-radial-menu/mds-radial-menu.d.ts +11 -5
- package/dist/types/components/mds-status-bar/mds-status-bar.d.ts +1 -2
- package/dist/types/components/mds-stepper-bar/mds-stepper-bar.d.ts +4 -3
- package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +10 -2
- package/dist/types/components/mds-tab-bar-item/mds-tab-bar-item.d.ts +4 -3
- package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +3 -0
- package/dist/types/components/mds-table/mds-table.d.ts +15 -2
- package/dist/types/components/mds-table-footer/mds-table-footer.d.ts +9 -1
- package/dist/types/components/mds-table-header/mds-table-header.d.ts +9 -1
- package/dist/types/components/mds-table-header-cell/mds-table-header-cell.d.ts +5 -0
- package/dist/types/components/mds-table-row/mds-table-row.d.ts +1 -0
- package/dist/types/components/mds-toast/mds-toast.d.ts +39 -8
- package/dist/types/components/mds-toast/meta/event-detail.d.ts +3 -0
- package/dist/types/components/mds-toast-region/mds-toast-region.d.ts +36 -0
- package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +24 -5
- package/dist/types/components/mds-tree/mds-tree.d.ts +12 -2
- package/dist/types/components/mds-tree-item/mds-tree-item.d.ts +7 -3
- package/dist/types/components/mds-url-view/mds-url-view.d.ts +2 -1
- package/dist/types/components/mds-usage/mds-usage.d.ts +3 -0
- package/dist/types/components.d.ts +253 -119
- package/dist/types/stencil-public-runtime.d.ts +61 -55
- package/package.json +25 -24
- package/dist/cjs/browser-C1BdXKu5.js +0 -10
- package/dist/cjs/keyboard-manager-C_Eaxw-C.js +0 -52
- package/dist/collection/components/mds-avatar/meta/variants.js +0 -20
- package/dist/components/p--5KZXaZp.js +0 -1
- package/dist/components/p--OCrgFeE.js +0 -1
- package/dist/components/p-6LGfUDQ4.js +0 -1
- package/dist/components/p-B9uIL9KO.js +0 -1
- package/dist/components/p-BBDliSai.js +0 -1
- package/dist/components/p-BCwcnHFh.js +0 -1
- package/dist/components/p-BRf-u585.js +0 -1
- package/dist/components/p-BSeokAdy.js +0 -1
- package/dist/components/p-BXUJgu8l.js +0 -1
- package/dist/components/p-BXYUyw7p.js +0 -1
- package/dist/components/p-BfgJ-hHQ.js +0 -1
- package/dist/components/p-CIfGjW_Z.js +0 -1
- package/dist/components/p-CMp9rP7L.js +0 -1
- package/dist/components/p-CSCy6TMW.js +0 -1
- package/dist/components/p-CZjHixVB.js +0 -1
- package/dist/components/p-Ck0q_n7I.js +0 -1
- package/dist/components/p-CrCa_6a1.js +0 -8
- package/dist/components/p-CsgCQiHG.js +0 -1
- package/dist/components/p-Cv7lqHIc.js +0 -1
- package/dist/components/p-Cw6_ooFx.js +0 -1
- package/dist/components/p-D8eZRaSQ.js +0 -1
- package/dist/components/p-DGYRngAi.js +0 -1
- package/dist/components/p-DHu8X7zF.js +0 -1
- package/dist/components/p-DOzcuSrZ.js +0 -1
- package/dist/components/p-DZPHWQtD.js +0 -1
- package/dist/components/p-Dje8Mggf.js +0 -1
- package/dist/components/p-DlRjt7nE.js +0 -1
- package/dist/components/p-HSM_x8fD.js +0 -1
- package/dist/components/p-JMPfVnGv.js +0 -1
- package/dist/components/p-KRu9I7dw.js +0 -1
- package/dist/components/p-lNY_3s6S.js +0 -1
- package/dist/components/p-pBvN1uAc.js +0 -3
- package/dist/esm/aria-CSCy6TMW.js +0 -45
- package/dist/esm/browser-Dje8Mggf.js +0 -8
- package/dist/esm/keyboard-manager-KRu9I7dw.js +0 -50
- package/dist/esm-es5/aria-CSCy6TMW.js +0 -1
- package/dist/esm-es5/browser-Dje8Mggf.js +0 -1
- package/dist/esm-es5/icon-pNJmnrhq.js +0 -1
- package/dist/esm-es5/keyboard-manager-KRu9I7dw.js +0 -5
- package/dist/esm-es5/locale.it-Cvxh7La5.js +0 -6
- package/dist/esm-es5/slot-C0o_l0td.js +0 -23
- package/dist/esm-es5/unit-D8eZRaSQ.js +0 -1
- package/dist/magma-components/p-00ce5c81.entry.js +0 -1
- package/dist/magma-components/p-00ff586a.system.entry.js +0 -7
- package/dist/magma-components/p-01f05a56.entry.js +0 -1
- package/dist/magma-components/p-0345cbd0.system.entry.js +0 -83
- package/dist/magma-components/p-03a6a8bd.system.entry.js +0 -46
- package/dist/magma-components/p-05de42e1.system.entry.js +0 -1
- package/dist/magma-components/p-063bccb3.entry.js +0 -1
- package/dist/magma-components/p-0a38e4ce.system.entry.js +0 -1
- package/dist/magma-components/p-0c89c485.entry.js +0 -1
- package/dist/magma-components/p-0d94a2b8.entry.js +0 -8
- package/dist/magma-components/p-108e31e6.entry.js +0 -1
- package/dist/magma-components/p-114f0bb7.system.entry.js +0 -14
- package/dist/magma-components/p-137116df.entry.js +0 -1
- package/dist/magma-components/p-13b0babc.system.entry.js +0 -1
- package/dist/magma-components/p-14a108e8.system.entry.js +0 -8
- package/dist/magma-components/p-14eadf95.system.entry.js +0 -21
- package/dist/magma-components/p-155f79f4.system.entry.js +0 -47
- package/dist/magma-components/p-17b62839.entry.js +0 -1
- package/dist/magma-components/p-1802d6a7.entry.js +0 -1
- package/dist/magma-components/p-188d9770.system.entry.js +0 -4
- package/dist/magma-components/p-18ba4766.entry.js +0 -1
- package/dist/magma-components/p-1c63801f.system.entry.js +0 -11
- package/dist/magma-components/p-1c6a507c.system.entry.js +0 -17
- package/dist/magma-components/p-1e2388be.entry.js +0 -1
- package/dist/magma-components/p-24a9871a.system.entry.js +0 -1
- package/dist/magma-components/p-26332bce.system.entry.js +0 -1
- package/dist/magma-components/p-2708561b.system.entry.js +0 -10
- package/dist/magma-components/p-2723caa7.system.entry.js +0 -13
- package/dist/magma-components/p-294241fa.entry.js +0 -1
- package/dist/magma-components/p-2b2d0910.system.entry.js +0 -1
- package/dist/magma-components/p-2c940d19.entry.js +0 -1
- package/dist/magma-components/p-2e74231d.system.entry.js +0 -4
- package/dist/magma-components/p-2e83f801.system.entry.js +0 -1
- package/dist/magma-components/p-2f0815f3.entry.js +0 -18
- package/dist/magma-components/p-30d36dfe.entry.js +0 -1
- package/dist/magma-components/p-323c7aa4.system.entry.js +0 -25
- package/dist/magma-components/p-32e077c0.system.entry.js +0 -7
- package/dist/magma-components/p-334b305d.system.entry.js +0 -16
- package/dist/magma-components/p-341994b3.system.entry.js +0 -89
- package/dist/magma-components/p-35434d4b.system.entry.js +0 -32
- package/dist/magma-components/p-37495e03.entry.js +0 -1
- package/dist/magma-components/p-38e0379a.system.entry.js +0 -10
- package/dist/magma-components/p-3b91efd1.entry.js +0 -1
- package/dist/magma-components/p-3dc4db04.system.entry.js +0 -16
- package/dist/magma-components/p-3f0e82bc.entry.js +0 -1
- package/dist/magma-components/p-40e97485.entry.js +0 -1
- package/dist/magma-components/p-4159c306.entry.js +0 -1
- package/dist/magma-components/p-42411854.system.entry.js +0 -102
- package/dist/magma-components/p-42ebba8c.entry.js +0 -1
- package/dist/magma-components/p-4356d96e.system.entry.js +0 -21
- package/dist/magma-components/p-4577948d.system.entry.js +0 -12
- package/dist/magma-components/p-4658a200.entry.js +0 -1
- package/dist/magma-components/p-4cfa925a.entry.js +0 -1
- package/dist/magma-components/p-4ef19542.entry.js +0 -1
- package/dist/magma-components/p-4oB0woT9.system.js +0 -6
- package/dist/magma-components/p-522fd3d0.system.entry.js +0 -4
- package/dist/magma-components/p-528d913c.system.entry.js +0 -17
- package/dist/magma-components/p-595fde64.entry.js +0 -1
- package/dist/magma-components/p-5989cdf2.system.entry.js +0 -16
- package/dist/magma-components/p-5df91427.system.entry.js +0 -15
- package/dist/magma-components/p-5f1132b8.entry.js +0 -1
- package/dist/magma-components/p-5fcc1455.entry.js +0 -1
- package/dist/magma-components/p-61638aa3.entry.js +0 -1
- package/dist/magma-components/p-6465c8f4.entry.js +0 -1
- package/dist/magma-components/p-6764b13a.entry.js +0 -1
- package/dist/magma-components/p-6812f01b.entry.js +0 -1
- package/dist/magma-components/p-6901428b.system.entry.js +0 -1
- package/dist/magma-components/p-699a7926.entry.js +0 -1
- package/dist/magma-components/p-6a798061.entry.js +0 -1
- package/dist/magma-components/p-6d350c7c.entry.js +0 -1
- package/dist/magma-components/p-6fba5e6c.entry.js +0 -1
- package/dist/magma-components/p-6fd9a2ae.entry.js +0 -1
- package/dist/magma-components/p-6ff8be3e.system.entry.js +0 -30
- package/dist/magma-components/p-70caf05b.system.entry.js +0 -10
- package/dist/magma-components/p-70cc167f.entry.js +0 -1
- package/dist/magma-components/p-736c0e25.system.entry.js +0 -20
- package/dist/magma-components/p-7450a7a7.system.entry.js +0 -49
- package/dist/magma-components/p-7535328a.entry.js +0 -1
- package/dist/magma-components/p-76f02296.system.entry.js +0 -1
- package/dist/magma-components/p-79bc2e81.entry.js +0 -1
- package/dist/magma-components/p-79dc2243.entry.js +0 -1
- package/dist/magma-components/p-7b1c6eb0.entry.js +0 -1
- package/dist/magma-components/p-7b8b51c8.entry.js +0 -1
- package/dist/magma-components/p-7bc0a6c4.entry.js +0 -1
- package/dist/magma-components/p-7c8e79a7.system.entry.js +0 -4
- package/dist/magma-components/p-7c90298a.entry.js +0 -1
- package/dist/magma-components/p-7e02237b.entry.js +0 -1
- package/dist/magma-components/p-7f247e64.system.entry.js +0 -16
- package/dist/magma-components/p-82480df5.entry.js +0 -1
- package/dist/magma-components/p-842b1dfc.entry.js +0 -1
- package/dist/magma-components/p-88c7be3d.system.entry.js +0 -68
- package/dist/magma-components/p-89733d3a.system.entry.js +0 -14
- package/dist/magma-components/p-8c75425d.entry.js +0 -1
- package/dist/magma-components/p-8c76410b.entry.js +0 -1
- package/dist/magma-components/p-8d7835e2.system.entry.js +0 -10
- package/dist/magma-components/p-8f039ca0.system.entry.js +0 -7
- package/dist/magma-components/p-8f54cf62.system.entry.js +0 -4
- package/dist/magma-components/p-8f6bd147.entry.js +0 -1
- package/dist/magma-components/p-9017022c.system.entry.js +0 -15
- package/dist/magma-components/p-909f5b60.system.entry.js +0 -55
- package/dist/magma-components/p-976bb373.system.entry.js +0 -90
- package/dist/magma-components/p-97d82884.system.entry.js +0 -16
- package/dist/magma-components/p-97de86c6.system.entry.js +0 -16
- package/dist/magma-components/p-97e9a197.system.entry.js +0 -32
- package/dist/magma-components/p-9a936cae.system.entry.js +0 -45
- package/dist/magma-components/p-9c6d184f.entry.js +0 -1
- package/dist/magma-components/p-9db0a6e9.entry.js +0 -1
- package/dist/magma-components/p-9e662528.entry.js +0 -1
- package/dist/magma-components/p-9ff02a82.entry.js +0 -1
- package/dist/magma-components/p-B6mQg6yQ.js +0 -1
- package/dist/magma-components/p-BJqUjYIG.system.js +0 -1
- package/dist/magma-components/p-BJtA1qmE.js +0 -1
- package/dist/magma-components/p-BcYSdbK0.system.js +0 -233
- package/dist/magma-components/p-BeYLDgbf.js +0 -1
- package/dist/magma-components/p-BxPbQB28.js +0 -3
- package/dist/magma-components/p-C0o_l0td.js +0 -1
- package/dist/magma-components/p-CSCy6TMW.js +0 -1
- package/dist/magma-components/p-CYRMc5KW.system.js +0 -1
- package/dist/magma-components/p-D8eZRaSQ.js +0 -1
- package/dist/magma-components/p-Dje8Mggf.js +0 -1
- package/dist/magma-components/p-JMPfVnGv.js +0 -1
- package/dist/magma-components/p-KRu9I7dw.js +0 -1
- package/dist/magma-components/p-LerCJgfP.system.js +0 -5
- package/dist/magma-components/p-ZDRIVCAt.system.js +0 -5
- package/dist/magma-components/p-_X0N_X__.system.js +0 -1
- package/dist/magma-components/p-a3e3a653.system.entry.js +0 -81
- package/dist/magma-components/p-a41e52f7.entry.js +0 -1
- package/dist/magma-components/p-a4c26b4d.system.entry.js +0 -19
- package/dist/magma-components/p-a61c7ae9.system.entry.js +0 -7
- package/dist/magma-components/p-a653e096.entry.js +0 -1
- package/dist/magma-components/p-a8bf46cb.system.entry.js +0 -1
- package/dist/magma-components/p-ac4435e7.entry.js +0 -1
- package/dist/magma-components/p-acae292f.system.entry.js +0 -28
- package/dist/magma-components/p-b1a0e56e.system.entry.js +0 -42
- package/dist/magma-components/p-b33a6f7e.system.entry.js +0 -13
- package/dist/magma-components/p-b492dd4c.entry.js +0 -1
- package/dist/magma-components/p-b99cac43.entry.js +0 -1
- package/dist/magma-components/p-baf0359b.entry.js +0 -1
- package/dist/magma-components/p-bbd414dc.entry.js +0 -1
- package/dist/magma-components/p-be1aad5f.entry.js +0 -1
- package/dist/magma-components/p-bf05f9f3.entry.js +0 -1
- package/dist/magma-components/p-bf8c6647.system.entry.js +0 -11
- package/dist/magma-components/p-bfe19e4b.entry.js +0 -1
- package/dist/magma-components/p-c1a7266a.entry.js +0 -1
- package/dist/magma-components/p-c3585de7.system.entry.js +0 -7
- package/dist/magma-components/p-c45d9a64.system.entry.js +0 -32
- package/dist/magma-components/p-cb8b45fd.entry.js +0 -1
- package/dist/magma-components/p-cbfd8b10.system.entry.js +0 -16
- package/dist/magma-components/p-ce46191c.entry.js +0 -1
- package/dist/magma-components/p-cebe7b52.entry.js +0 -1
- package/dist/magma-components/p-d025a34f.system.entry.js +0 -15
- package/dist/magma-components/p-d1c47baa.entry.js +0 -1
- package/dist/magma-components/p-d269bfb0.entry.js +0 -1
- package/dist/magma-components/p-d42f267b.system.entry.js +0 -40
- package/dist/magma-components/p-d5bd6bef.entry.js +0 -1
- package/dist/magma-components/p-d65d8a09.system.entry.js +0 -1
- package/dist/magma-components/p-d6eca2ef.entry.js +0 -1
- package/dist/magma-components/p-d716efe9.system.entry.js +0 -1
- package/dist/magma-components/p-da6ccc03.entry.js +0 -1
- package/dist/magma-components/p-dbaf5368.system.entry.js +0 -7
- package/dist/magma-components/p-dc340618.entry.js +0 -1
- package/dist/magma-components/p-dc752e9b.entry.js +0 -1
- package/dist/magma-components/p-e2ef1d6f.entry.js +0 -1
- package/dist/magma-components/p-e50fdcee.entry.js +0 -1
- package/dist/magma-components/p-e779a67f.system.entry.js +0 -10
- package/dist/magma-components/p-e8ae4016.system.entry.js +0 -1
- package/dist/magma-components/p-e8d95868.system.entry.js +0 -14
- package/dist/magma-components/p-ed232c76.entry.js +0 -1
- package/dist/magma-components/p-ed87425c.system.entry.js +0 -13
- package/dist/magma-components/p-ee876b20.system.entry.js +0 -4
- package/dist/magma-components/p-efe0bb12.system.entry.js +0 -7
- package/dist/magma-components/p-f2412853.system.entry.js +0 -27
- package/dist/magma-components/p-f2743a2b.entry.js +0 -1
- package/dist/magma-components/p-f2f2945b.entry.js +0 -1
- package/dist/magma-components/p-f37f1343.entry.js +0 -1
- package/dist/magma-components/p-f3dd135e.system.entry.js +0 -32
- package/dist/magma-components/p-f5ce24e8.entry.js +0 -1
- package/dist/magma-components/p-f8a88f11.entry.js +0 -1
- package/dist/magma-components/p-f900fe90.entry.js +0 -1
- package/dist/magma-components/p-faa1f22c.entry.js +0 -1
- package/dist/magma-components/p-lozaO1BU.system.js +0 -1
- package/dist/magma-components/p-pNJmnrhq.js +0 -1
- package/dist/types/components/mds-avatar/meta/variants.d.ts +0 -2
|
@@ -36,7 +36,9 @@ export class MdsInputUpload {
|
|
|
36
36
|
// around it, which disables the host but not the controls in its shadow root
|
|
37
37
|
this.formDisabled = false;
|
|
38
38
|
/**
|
|
39
|
-
* Defines the file types the file input should accept
|
|
39
|
+
* Defines the file types the file input should accept, as the accept attribute of a native
|
|
40
|
+
* file input: MIME types (`image/*` included) and extensions, separated by commas
|
|
41
|
+
* @example '.pdf,image/*'
|
|
40
42
|
*/
|
|
41
43
|
this.accept = '';
|
|
42
44
|
/**
|
|
@@ -396,18 +398,18 @@ export class MdsInputUpload {
|
|
|
396
398
|
}
|
|
397
399
|
render() {
|
|
398
400
|
var _a;
|
|
399
|
-
return (h(Host, { key: '
|
|
401
|
+
return (h(Host, { key: '5e5a8ce6eb7472583f1098f5652b5d867cfa70d5' }, h("div", { key: '50d8c33089951f4f7efcb023e4e3bfd296a08924', class: clsx('drag-area', this.dragging && 'drag-area--on-drag-enter'), onDrop: this.onDropHandler, onDragOver: this.onDragOverHandler, onDragEnter: this.onDragEnterHandler, onDragLeave: this.onDragLeaveHandler }, h("div", { key: '7325cf208fb38b190c0ec4217a77e775e76ed22e', class: "main-action" }, h("div", { key: '7c5c7206e8d34f922197167a4673e6b50da2839b', class: "main-action-icon" }, h("mds-icon", { key: 'b1ccda2e0867ffe15072c98b667f57939df02a17', class: "icon", name: miOutlineFileUpload })), h("mds-text", { key: '6f2434070543063b48f64e3212a323acd18a7941', animation: this.animateText ? 'yugop' : 'none', variant: "title", typography: "action", text: this.dragging
|
|
400
402
|
? this.t.get('dragEnter')
|
|
401
|
-
: this.t.get('clickOrDrag', { maxFiles: this.maxFiles }) })), h("div", { key: '
|
|
403
|
+
: this.t.get('clickOrDrag', { maxFiles: this.maxFiles }) })), h("div", { key: 'b30bfca8c9546e1200f4df86595a61bc564bc8a5', class: "main-actions" }, h("mds-button", { key: 'f099d76acca86b839fb36a692e6ea9eb9a7b3223', variant: "primary", disabled: this.isDisabled(), onClick: this.handleAddFileClick, label: this.files != null
|
|
402
404
|
? this.t.get('addFile', { maxFiles: this.maxFiles })
|
|
403
|
-
: this.t.get('selectFile') }), this.files.length > 0 && (h("mds-button", { key: '
|
|
405
|
+
: this.t.get('selectFile') }), this.files.length > 0 && (h("mds-button", { key: '430c90d98deb4db83071d7fa622b1dcb80e3ec67', variant: "error", disabled: this.isDisabled(), onClick: this.onReset, label: this.t.get('cancel') }))), h("div", { key: '1f6c9c9d619ab8c554c03c9f8e9c79675c6e1861', class: "main-infos" }, h("mds-progress", { key: '22ba2e515664c5963b615a7cc1835a3dbc106867', "aria-hidden": "true", class: "progress-bar", progress: this.progress }), this.files.length < 1 ? (h("mds-text", { variant: "info", typography: "caption" }, this.t.get('maxFilesUpload', { maxFiles: this.maxFiles }))) : (h("mds-text", { variant: "info", typography: "caption" }, ((_a = this.maxFiles) !== null && _a !== void 0 ? _a : 0) !== 0 && !Number.isNaN(this.maxFiles)
|
|
404
406
|
? this.t.get('currentFilesWithMax', {
|
|
405
407
|
currentFiles: this.files.length,
|
|
406
408
|
maxFiles: this.maxFiles,
|
|
407
409
|
})
|
|
408
|
-
: this.t.get('currentFilesNoMax', { currentFiles: this.files.length }))))), h("input", { key: '
|
|
410
|
+
: this.t.get('currentFilesNoMax', { currentFiles: this.files.length }))))), h("input", { key: '8e27a624aacd06fd0f09d0d1f4fb3a820fd5433b', type: "file", accept: this.accept, disabled: this.isDisabled(), hidden: true, ref: (i) => (this.nativeInput = i), onChange: this.onInputChange, multiple: this.maxFiles > 1 }), h("div", { key: '8f5eb7af42dd78f7ddd2f00962450bddf0fd703d', class: "additional-infos" }, h("div", { key: '597d1ceb69105a86dd0749dd728bb65a0eff6042', class: clsx('file-specs', this.isSortTabShown() && 'file-specs-sort') }, h("mds-text", { key: '04b100999f0661a00b1be1b7c11fa0c2a39087cc', variant: "info", typography: "caption" }, this.extensions !== ''
|
|
409
411
|
? `${this.t.get('canUpload')} ${this.extensions}`
|
|
410
|
-
: this.t.get('canUploadAll')), h("mds-text", { key: '
|
|
412
|
+
: this.t.get('canUploadAll')), h("mds-text", { key: '92ff457a7a7aab6be2e5b5af7689aefde441b743', variant: "info", typography: "caption" }, this.t.get('maxFileSizePerFile', { maxFileSize: this.maxFileSize }))), this.isSortTabShown() && (h("mds-tab", { key: '008982e1e09f01e061fbac16dab985a80ee58a24', class: "action-sort", onMdsTabChange: this.handleTabChange }, h("mds-tab-item", { key: '9a9da80ca290a5191d9108c79a04d8656d4f0e73', disabled: this.isDisabled(), icon: iconSortById, selected: this.activeSort === 'date', title: this.t.get('sortByDate'), value: "date" }), h("mds-tab-item", { key: '186da1d4d9d10d2e42a7e1aff7009c427ea2fcb4', disabled: this.isDisabled(), icon: iconSortByStatus, selected: this.activeSort === 'status', title: this.t.get('sortByStatus'), value: "status" })))), h("div", { key: '6c8c473afa28c3739cb2569d2570729f0c937d1e', class: clsx('file-list', this.files.length > this.cssMinCols && 'file-list--more-items') }, this.files.map((file) => {
|
|
411
413
|
switch (file.status) {
|
|
412
414
|
case Status.ERROR:
|
|
413
415
|
return (h("mds-file-preview", { deletable: !this.isDisabled(), variant: "error", filename: file.file.name, filesize: file.file.size.toString(), onMdsFileDelete: this.handleFileDelete(file.key), message: this.t.get(file.errorKey) }));
|
|
@@ -442,8 +444,11 @@ export class MdsInputUpload {
|
|
|
442
444
|
"required": false,
|
|
443
445
|
"optional": false,
|
|
444
446
|
"docs": {
|
|
445
|
-
"tags": [
|
|
446
|
-
|
|
447
|
+
"tags": [{
|
|
448
|
+
"name": "example",
|
|
449
|
+
"text": "'.pdf,image/*'"
|
|
450
|
+
}],
|
|
451
|
+
"text": "Defines the file types the file input should accept, as the accept attribute of a native\nfile input: MIME types (`image/*` included) and extensions, separated by commas"
|
|
447
452
|
},
|
|
448
453
|
"getter": false,
|
|
449
454
|
"setter": false,
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-keyboard
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.4.1. Shadow DOM: style it only through the CSS custom properties and parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-keyboard>` web component renders a keyboard shortcut as a row of physical-looking keycaps, acting as the compound parent for one or more slotted `<mds-keyboard-key>` children. It has no direct HTML equivalent; it visualizes a key combination (e.g. `Ctrl + C`) and can optionally let the user verify that combination by typing it.
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ The `<mds-keyboard>` web component renders a keyboard shortcut as a row of physi
|
|
|
14
14
|
|
|
15
15
|
- **Default slot is the key sequence**: The component projects slotted `<mds-keyboard-key>` elements and automatically inserts a `+` separator between consecutive keys.
|
|
16
16
|
- **Compound parent**: It reads each child key's `name` to build the expected combination; during a test the children are toggled to their `pressed` state.
|
|
17
|
-
- **Test mode (`try`)**: When enabled the component appends a trigger button and a tooltip; clicking the button captures keystrokes and, at the first key release, compares the typed combination against the slotted keys, in
|
|
17
|
+
- **Test mode (`try`)**: When enabled the component appends a trigger button and a tooltip; clicking the button captures keystrokes and, at the first key release, compares the typed combination against the slotted keys, in any order.
|
|
18
18
|
- **Result feedback**: A pass shows a "done" icon, a fail shows a "close" icon, and the tooltip surfaces the localized success or error message; the outcome is also reflected on the host via the `test` attribute.
|
|
19
19
|
- **Localization**: Trigger label, tooltip copy, and error messages resolve through the locale system (el/en/es/it).
|
|
20
20
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-10-
|
|
2
|
+
"timestamp": "2026-10-21T15:26:40",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
|
-
"version": "4.
|
|
5
|
+
"version": "4.45.2",
|
|
6
6
|
"typescriptVersion": "5.8.3"
|
|
7
7
|
},
|
|
8
8
|
"components": [
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
}
|
|
19
19
|
],
|
|
20
20
|
"usage": {
|
|
21
|
-
"1. Description": "The `<mds-keyboard>` web component renders a keyboard shortcut as a row of physical-looking keycaps, acting as the compound parent for one or more slotted `<mds-keyboard-key>` children. It has no direct HTML equivalent; it visualizes a key combination (e.g. `Ctrl + C`) and can optionally let the user verify that combination by typing it.\n\n#### Semantic Behavior\n\n- **Default slot is the key sequence**: The component projects slotted `<mds-keyboard-key>` elements and automatically inserts a `+` separator between consecutive keys.\n- **Compound parent**: It reads each child key's `name` to build the expected combination; during a test the children are toggled to their `pressed` state.\n- **Test mode (`try`)**: When enabled the component appends a trigger button and a tooltip; clicking the button captures keystrokes and, at the first key release, compares the typed combination against the slotted keys, in
|
|
22
|
-
"2. Pattern": "Correct and idiomatic ways to use the `<mds-keyboard>` 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#### Single Key Display\n\nThe simplest use: one `<mds-keyboard-key>` child inside `<mds-keyboard>`. The `name` attribute selects a key from the built-in key dictionary; the component renders the physical-looking keycap with the key's alias (e.g. `F1`, `Ctrl`).\n\n```html\n<mds-keyboard>\n <mds-keyboard-key name=\"f1\"></mds-keyboard-key>\n</mds-keyboard>\n```\n\n#### Multi-Key Shortcut Combination\n\nSlot two or more `<mds-keyboard-key>` elements. The component automatically inserts a `+` separator between consecutive keys, so you never need to add it manually.\n\n```html\n<mds-keyboard>\n <mds-keyboard-key name=\"control\"></mds-keyboard-key>\n <mds-keyboard-key name=\"s\"></mds-keyboard-key>\n</mds-keyboard>\n```\n\n#### Specifying Key Side (Left / Right Modifier)\n\nUse the side-specific `name` values (`controlleft`, `controlright`, `shiftleft`, `shiftright`, `commandleft`, `commandright`, etc.) when the shortcut must be typed with a specific hand. The keycap renders a small positional indicator.\n\n```html\n<!-- Only the left Shift key is accepted during a test -->\n<mds-keyboard try>\n <mds-keyboard-key name=\"shiftleft\"></mds-keyboard-key>\n <mds-keyboard-key name=\"d\"></mds-keyboard-key>\n</mds-keyboard>\n```\n\n#### Interactive Verification Mode (`try`)\n\nAdd the `try` attribute to let the user confirm the shortcut by typing it. A trigger button appears; clicking it puts the component into capture mode. The keys
|
|
21
|
+
"1. Description": "The `<mds-keyboard>` web component renders a keyboard shortcut as a row of physical-looking keycaps, acting as the compound parent for one or more slotted `<mds-keyboard-key>` children. It has no direct HTML equivalent; it visualizes a key combination (e.g. `Ctrl + C`) and can optionally let the user verify that combination by typing it.\n\n#### Semantic Behavior\n\n- **Default slot is the key sequence**: The component projects slotted `<mds-keyboard-key>` elements and automatically inserts a `+` separator between consecutive keys.\n- **Compound parent**: It reads each child key's `name` to build the expected combination; during a test the children are toggled to their `pressed` state.\n- **Test mode (`try`)**: When enabled the component appends a trigger button and a tooltip; clicking the button captures keystrokes and, at the first key release, compares the typed combination against the slotted keys, in any order.\n- **Result feedback**: A pass shows a \"done\" icon, a fail shows a \"close\" icon, and the tooltip surfaces the localized success or error message; the outcome is also reflected on the host via the `test` attribute.\n- **Localization**: Trigger label, tooltip copy, and error messages resolve through the locale system (el/en/es/it).\n\n#### Properties & Visual Configurations\n\nThis component does not use the shared `variant` / `tone` ladders from [`agents/variants.md`](../../../../agents/variants.md).\n\n#### Other behavioral props\n\n- **`try`** opts the keyboard into interactive verification mode. Enable it only when you want the user to be able to confirm a shortcut by typing it; leave it unset for a purely presentational shortcut display.\n- **`test`** reflects the verification outcome (`'pass'` / `'fail'`) onto the host. It is primarily driven by the test flow and is mainly useful as a styling/state hook rather than a value you set yourself.\n",
|
|
22
|
+
"2. Pattern": "Correct and idiomatic ways to use the `<mds-keyboard>` 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#### Single Key Display\n\nThe simplest use: one `<mds-keyboard-key>` child inside `<mds-keyboard>`. The `name` attribute selects a key from the built-in key dictionary; the component renders the physical-looking keycap with the key's alias (e.g. `F1`, `Ctrl`).\n\n```html\n<mds-keyboard>\n <mds-keyboard-key name=\"f1\"></mds-keyboard-key>\n</mds-keyboard>\n```\n\n#### Multi-Key Shortcut Combination\n\nSlot two or more `<mds-keyboard-key>` elements. The component automatically inserts a `+` separator between consecutive keys, so you never need to add it manually.\n\n```html\n<mds-keyboard>\n <mds-keyboard-key name=\"control\"></mds-keyboard-key>\n <mds-keyboard-key name=\"s\"></mds-keyboard-key>\n</mds-keyboard>\n```\n\n#### Specifying Key Side (Left / Right Modifier)\n\nUse the side-specific `name` values (`controlleft`, `controlright`, `shiftleft`, `shiftright`, `commandleft`, `commandright`, etc.) when the shortcut must be typed with a specific hand. The keycap renders a small positional indicator.\n\n```html\n<!-- Only the left Shift key is accepted during a test -->\n<mds-keyboard try>\n <mds-keyboard-key name=\"shiftleft\"></mds-keyboard-key>\n <mds-keyboard-key name=\"d\"></mds-keyboard-key>\n</mds-keyboard>\n```\n\n#### Interactive Verification Mode (`try`)\n\nAdd the `try` attribute to let the user confirm the shortcut by typing it. A trigger button appears; clicking it puts the component into capture mode. The keys can be pressed in any order, all held down together: at the first key release the component reflects the outcome (`pass` / `fail`) on the `test` attribute and shows a localized tooltip.\n\n```html\n<mds-keyboard try>\n <mds-keyboard-key name=\"command\"></mds-keyboard-key>\n <mds-keyboard-key name=\"z\"></mds-keyboard-key>\n</mds-keyboard>\n```\n\n#### Shortcut Reference Table\n\nEmbed `<mds-keyboard>` inside a `<mds-table>` to build a keyboard-shortcut reference sheet. Each row pairs the visual shortcut with its description.\n\n```html\n<mds-table>\n <mds-table-header>\n <mds-table-header-cell label=\"Combinazione\"></mds-table-header-cell>\n <mds-table-header-cell label=\"Azione\"></mds-table-header-cell>\n </mds-table-header>\n <mds-table-body>\n <mds-table-row>\n <mds-table-cell>\n <mds-keyboard>\n <mds-keyboard-key name=\"control\"></mds-keyboard-key>\n <mds-keyboard-key name=\"c\"></mds-keyboard-key>\n </mds-keyboard>\n </mds-table-cell>\n <mds-table-cell><mds-text>Copia</mds-text></mds-table-cell>\n </mds-table-row>\n <mds-table-row>\n <mds-table-cell>\n <mds-keyboard>\n <mds-keyboard-key name=\"control\"></mds-keyboard-key>\n <mds-keyboard-key name=\"v\"></mds-keyboard-key>\n </mds-keyboard>\n </mds-table-cell>\n <mds-table-cell><mds-text>Incolla</mds-text></mds-table-cell>\n </mds-table-row>\n <mds-table-row>\n <mds-table-cell>\n <mds-keyboard>\n <mds-keyboard-key name=\"control\"></mds-keyboard-key>\n <mds-keyboard-key name=\"z\"></mds-keyboard-key>\n </mds-keyboard>\n </mds-table-cell>\n <mds-table-cell><mds-text>Annulla</mds-text></mds-table-cell>\n </mds-table-row>\n </mds-table-body>\n</mds-table>\n```\n\n#### Reading the `test` Outcome Attribute\n\nWhen `try` is set the `test` attribute is reflected onto the host as `\"pass\"` or `\"fail\"` after each attempt. Use it as a CSS attribute selector, or observe the attribute from JavaScript to drive follow-on UI (the component emits no event).\n\n```html\n<mds-keyboard id=\"shortcut-ctrl-s\" try>\n <mds-keyboard-key name=\"control\"></mds-keyboard-key>\n <mds-keyboard-key name=\"s\"></mds-keyboard-key>\n</mds-keyboard>\n```\n\n```javascript\nconst keyboard = document.querySelector('#shortcut-ctrl-s');\nnew MutationObserver(() => {\n if (keyboard.getAttribute('test') === 'pass') {\n console.log('Combinazione corretta!');\n }\n}).observe(keyboard, { attributes: true, attributeFilter: ['test'] });\n```\n\n#### Styling Customization\n\nAdjust colors and lighting only through the documented `--mds-keyboard-*` CSS custom properties. Use the semantic color roles via `rgb(var(--magma-<role>))` ([`agents/color.md`](../../../../agents/color.md)) so dark mode continues to work.\n\n```css\n.custom-keyboard mds-keyboard {\n --mds-keyboard-background: rgb(var(--magma-surface-inverse));\n --mds-keyboard-color: rgb(var(--magma-on-inverse));\n --mds-keyboard-key-background: rgb(var(--magma-surface-inverse-muted));\n --mds-keyboard-padding: calc(var(--spacing) * 300);\n}\n```\n",
|
|
23
23
|
"3. Antipattern": "Common incorrect uses of `<mds-keyboard>`. 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 Raw Text or `<kbd>` Elements\n\nThe default slot expects `<mds-keyboard-key>` children only. Slotting plain text, `<kbd>`, or other HTML breaks the separator injection logic and the test-mode key matching.\n\n```html\n<!-- INCORRECT -->\n<mds-keyboard>\n <kbd>Ctrl</kbd>\n <kbd>S</kbd>\n</mds-keyboard>\n\n<!-- CORRECT -->\n<mds-keyboard>\n <mds-keyboard-key name=\"control\"></mds-keyboard-key>\n <mds-keyboard-key name=\"s\"></mds-keyboard-key>\n</mds-keyboard>\n```\n\n#### Do Not Add `+` Separators Manually\n\nThe component inserts a styled `+` between consecutive keys automatically. Adding your own separator duplicates it and breaks the visual rhythm.\n\n```html\n<!-- INCORRECT -->\n<mds-keyboard>\n <mds-keyboard-key name=\"control\"></mds-keyboard-key>\n <span>+</span>\n <mds-keyboard-key name=\"c\"></mds-keyboard-key>\n</mds-keyboard>\n\n<!-- CORRECT -->\n<mds-keyboard>\n <mds-keyboard-key name=\"control\"></mds-keyboard-key>\n <mds-keyboard-key name=\"c\"></mds-keyboard-key>\n</mds-keyboard>\n```\n\n#### Do Not Set `try=\"false\"` to Disable Test Mode\n\n`try` is a boolean attribute: remove it (or leave it unset) to keep the component in display-only mode. A string value is fragile: `\"false\"` is read as `false` on this component, but the attribute stays on the element until the component renders (attribute selectors and scripts reading it see it set). Never write a boolean as a string.\n\n```html\n<!-- INCORRECT -->\n<mds-keyboard try=\"false\">\n <mds-keyboard-key name=\"escape\"></mds-keyboard-key>\n</mds-keyboard>\n\n<!-- CORRECT -->\n<mds-keyboard>\n <mds-keyboard-key name=\"escape\"></mds-keyboard-key>\n</mds-keyboard>\n```\n\n#### Do Not Set `test` as a Static Attribute to Signal State\n\n`test` is a reflected output prop driven by the component's own verification flow. Setting it as a static HTML attribute paints the pass / fail state without any attempt behind it, and the next attempt overwrites it.\n\n```html\n<!-- INCORRECT -->\n<mds-keyboard test=\"pass\">\n <mds-keyboard-key name=\"enter\"></mds-keyboard-key>\n</mds-keyboard>\n\n<!-- CORRECT -->\n<mds-keyboard try>\n <mds-keyboard-key name=\"enter\"></mds-keyboard-key>\n</mds-keyboard>\n```\n\n#### Do Not Use `<mds-keyboard-key>` Outside `<mds-keyboard>`\n\n`<mds-keyboard-key>` is a compound child and communicates with the parent via the Stencil DOM tree. Rendering it standalone loses the compound layout, the `+` separator, and test-mode driven `pressed` toggling.\n\n```html\n<!-- INCORRECT -->\n<mds-keyboard-key name=\"tab\"></mds-keyboard-key>\n\n<!-- CORRECT -->\n<mds-keyboard>\n <mds-keyboard-key name=\"tab\"></mds-keyboard-key>\n</mds-keyboard>\n```\n\n#### Do Not Customize Colors with Raw CSS Values Instead of Tokens\n\nSetting `--mds-keyboard-background` or `--mds-keyboard-key-background` to a raw hex or `rgba()` literal bypasses the palette layer and breaks dark mode. Always use a semantic color role, `rgb(var(--magma-<role>))` ([`agents/color.md`](../../../../agents/color.md)).\n\n```css\n/* INCORRECT */\nmds-keyboard {\n --mds-keyboard-background: #1a1a2e;\n --mds-keyboard-key-background: #16213e;\n}\n\n/* CORRECT */\nmds-keyboard {\n --mds-keyboard-background: rgb(var(--magma-surface-inverse));\n --mds-keyboard-key-background: rgb(var(--magma-surface-inverse-muted));\n}\n```\n"
|
|
24
24
|
},
|
|
25
25
|
"props": [
|
|
@@ -62,10 +62,10 @@ mds-tooltip {
|
|
|
62
62
|
*/
|
|
63
63
|
|
|
64
64
|
:host {
|
|
65
|
-
--mds-keyboard-background-default: var(--mds-keyboard-background, rgb(var(--tone-
|
|
65
|
+
--mds-keyboard-background-default: var(--mds-keyboard-background, rgb(var(--magma-wash-strong, var(--tone-neutral-08, 208 208 208))));
|
|
66
66
|
--mds-keyboard-background-fail: rgb(var(--magma-danger-wash-base, var(--status-error-09, 255 214 211)));
|
|
67
67
|
--mds-keyboard-background-pass: rgb(var(--magma-success-wash-base, var(--status-success-09, 191 233 205)));
|
|
68
|
-
--mds-keyboard-background:
|
|
68
|
+
--mds-keyboard-background: var(--private-keyboard-tray);
|
|
69
69
|
--mds-keyboard-color: rgb(var(--magma-text-subtle, var(--text-neutral-subtle, 99 99 99)));
|
|
70
70
|
--mds-keyboard-fill-fail: rgb(var(--magma-danger-text-default, var(--text-error-default, 89 0 0)));
|
|
71
71
|
--mds-keyboard-fill-pass: rgb(var(--magma-success-text-default, var(--text-success-default, 0 53 0)));
|
|
@@ -78,16 +78,20 @@ mds-tooltip {
|
|
|
78
78
|
--mds-keyboard-illumination-light: 0 var(--mds-keyboard-illumination-light-size, --spacing(25)) 0 0
|
|
79
79
|
rgb(255 255 255 / var(--mds-keyboard-illumination-light-opacity, 0.075)) inset;
|
|
80
80
|
--mds-keyboard-illumination-shadow: 0 0 1px 0 rgb(0 0 0 / 0);
|
|
81
|
-
--mds-keyboard-key-background: rgb(var(--tone-
|
|
81
|
+
--mds-keyboard-key-background: rgb(var(--magma-wash-soft, var(--tone-neutral-10, 237 237 237)));
|
|
82
82
|
--mds-keyboard-key-illumination-dark-opacity: 0.075;
|
|
83
83
|
--mds-keyboard-key-illumination-light-opacity: 0.5;
|
|
84
84
|
--mds-keyboard-key-illumination-shadow: var(--shadow-sharp, 0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 3px 0 rgb(0 0 0 / 0.1));
|
|
85
85
|
--mds-keyboard-padding: --spacing(200);
|
|
86
86
|
--mds-keyboard-spinner-duration: 1s;
|
|
87
87
|
|
|
88
|
+
/* the tray and the keys are washes of the active theme, which a named theme retints: they were
|
|
89
|
+
porcelain steps, the family of the cool theme, under every theme (#828) */
|
|
90
|
+
--private-keyboard-tray: rgb(var(--magma-wash-strong, var(--tone-neutral-08, 208 208 208)));
|
|
91
|
+
|
|
88
92
|
align-items: center;
|
|
89
93
|
align-self: flex-start;
|
|
90
|
-
background-color: var(--mds-keyboard-background-default, rgb(var(--tone-
|
|
94
|
+
background-color: var(--mds-keyboard-background-default, rgb(var(--magma-wash-strong, var(--tone-neutral-08, 208 208 208))));
|
|
91
95
|
border-radius: var(--magma-radius-2xl, var(--radius-squircle-2xl, 40px));
|
|
92
96
|
box-shadow:
|
|
93
97
|
var(--mds-keyboard-illumination-light), var(--mds-keyboard-illumination-dark),
|
|
@@ -120,8 +124,14 @@ mds-tooltip {
|
|
|
120
124
|
outline: 0;
|
|
121
125
|
}
|
|
122
126
|
|
|
127
|
+
/* the tray one shade toward the ink, darker in light and lighter in dark */
|
|
128
|
+
|
|
123
129
|
:host(:focus-within) {
|
|
124
|
-
--mds-keyboard-background:
|
|
130
|
+
--mds-keyboard-background: color-mix(
|
|
131
|
+
in oklab,
|
|
132
|
+
var(--private-keyboard-tray) 88%,
|
|
133
|
+
rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)))
|
|
134
|
+
);
|
|
125
135
|
}
|
|
126
136
|
|
|
127
137
|
mds-tooltip {
|
|
@@ -131,7 +141,7 @@ mds-tooltip {
|
|
|
131
141
|
.combination-checker {
|
|
132
142
|
--mds-button-await-duration: var(--mds-keyboard-spinner-duration, 1s);
|
|
133
143
|
|
|
134
|
-
border-radius: var(--radius-full, 1000px);
|
|
144
|
+
border-radius: var(--magma-radius-full, var(--radius-full, 1000px));
|
|
135
145
|
}
|
|
136
146
|
|
|
137
147
|
::slotted(mds-keyboard-key) {
|
|
@@ -160,15 +170,16 @@ mds-tooltip {
|
|
|
160
170
|
* from <html> onto its host as pref-mode + pref-theme-scheme (see
|
|
161
171
|
* subscribePreference in @common/preference); these plain shadow selectors refine
|
|
162
172
|
* for dark. `dark` is the explicit choice; `system` and no controller follow the
|
|
163
|
-
* OS via @media; the scheme axis gates it. Cross-browser, no :host-context.
|
|
173
|
+
* OS via @media; the scheme axis gates it. Cross-browser, no :host-context.
|
|
174
|
+
* In dark the two washes swap, so the keys stay lighter than the tray. */
|
|
164
175
|
|
|
165
176
|
:host([pref-mode='dark']:not([pref-theme-scheme='light'])) {
|
|
166
|
-
--
|
|
167
|
-
--mds-keyboard-
|
|
177
|
+
--private-keyboard-tray: rgb(var(--magma-wash-soft, var(--tone-neutral-10, 237 237 237)));
|
|
178
|
+
--mds-keyboard-color: rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)));
|
|
168
179
|
--mds-keyboard-illumination-dark-opacity: 0.5;
|
|
169
180
|
--mds-keyboard-illumination-light-opacity: 0.15;
|
|
170
181
|
--mds-keyboard-illumination-shadow: 0 0 3px 0 rgb(255 255 255 / 0.5);
|
|
171
|
-
--mds-keyboard-key-background: rgb(var(--tone-
|
|
182
|
+
--mds-keyboard-key-background: rgb(var(--magma-wash-strong, var(--tone-neutral-08, 208 208 208)));
|
|
172
183
|
--mds-keyboard-key-illumination-dark-opacity: 0.5;
|
|
173
184
|
--mds-keyboard-key-illumination-light-opacity: 0.15;
|
|
174
185
|
--mds-keyboard-key-illumination-shadow: 0 0 1px 0 rgb(255 255 255 / 0.5);
|
|
@@ -177,12 +188,12 @@ mds-tooltip {
|
|
|
177
188
|
@media (prefers-color-scheme: dark) {
|
|
178
189
|
:host([pref-mode='system']:not([pref-theme-scheme='light'])),
|
|
179
190
|
:host(:not([pref-mode])) {
|
|
180
|
-
--
|
|
181
|
-
--mds-keyboard-
|
|
191
|
+
--private-keyboard-tray: rgb(var(--magma-wash-soft, var(--tone-neutral-10, 237 237 237)));
|
|
192
|
+
--mds-keyboard-color: rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)));
|
|
182
193
|
--mds-keyboard-illumination-dark-opacity: 0.5;
|
|
183
194
|
--mds-keyboard-illumination-light-opacity: 0.15;
|
|
184
195
|
--mds-keyboard-illumination-shadow: 0 0 3px 0 rgb(255 255 255 / 0.5);
|
|
185
|
-
--mds-keyboard-key-background: rgb(var(--tone-
|
|
196
|
+
--mds-keyboard-key-background: rgb(var(--magma-wash-strong, var(--tone-neutral-08, 208 208 208)));
|
|
186
197
|
--mds-keyboard-key-illumination-dark-opacity: 0.5;
|
|
187
198
|
--mds-keyboard-key-illumination-light-opacity: 0.15;
|
|
188
199
|
--mds-keyboard-key-illumination-shadow: 0 0 1px 0 rgb(255 255 255 / 0.5);
|
|
@@ -91,9 +91,17 @@ export class MdsKeyboard {
|
|
|
91
91
|
this.errors.add('wrongKeysCombination');
|
|
92
92
|
return false;
|
|
93
93
|
}
|
|
94
|
-
|
|
94
|
+
// in any order: each key of the shortcut takes one pressed code among its own, so Shift then
|
|
95
|
+
// A passes for A then Shift, as for the user they are the same shortcut. They were compared
|
|
96
|
+
// by position, and the press order mattered
|
|
97
|
+
const pressed = [...array2];
|
|
98
|
+
isValid = array1.every((value) => {
|
|
95
99
|
const options = value.split(',');
|
|
96
|
-
|
|
100
|
+
const match = pressed.findIndex((code) => options.includes(code));
|
|
101
|
+
if (match === -1)
|
|
102
|
+
return false;
|
|
103
|
+
pressed.splice(match, 1);
|
|
104
|
+
return true;
|
|
97
105
|
});
|
|
98
106
|
if (!isValid) {
|
|
99
107
|
this.errors.add('wrongKeysCombination');
|
|
@@ -170,7 +178,7 @@ export class MdsKeyboard {
|
|
|
170
178
|
}
|
|
171
179
|
}
|
|
172
180
|
render() {
|
|
173
|
-
return (h(Host, { key: '
|
|
181
|
+
return (h(Host, { key: '6603e4de385bb9a42724bf3d05f7ebfc929181d8', "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, h("div", { key: 'c43f49f4328527e752a347fbfae3929d35e68f0e', class: "shortcuts" }, h("slot", { key: '11bf3ca3acbf3b70b00e946d0e429aa7b39f1ca4' })), this.try && (h("mds-button", { key: '98239fedca4b3b0621237328f119c2f58b7d503c', icon: this.getButtonIcon(), "aria-label": this.t.get('testKeyCombination'), class: "combination-checker", variant: "dark", tone: "text", onClick: this.startKeyboardShortcutTest })), this.try && (h("mds-tooltip", { key: '78bd07aa0fd0c472a414650b4a8595abca54d690', target: ".combination-checker" }, this.testPassed === undefined && this.t.get('testKeyCombination'), this.testPassed === true && this.t.get('testPassed'), this.testPassed === false && (h("div", { key: '8727138f2acef9497ebaca4974359577f1f087d4', class: "errors" }, [...this.errors].map((error) => (h("mds-text", { typography: "tip" }, this.t.get(error))))))))));
|
|
174
182
|
}
|
|
175
183
|
static get is() { return "mds-keyboard"; }
|
|
176
184
|
static get encapsulation() { return "shadow"; }
|
|
@@ -44,7 +44,7 @@ Use the side-specific `name` values (`controlleft`, `controlright`, `shiftleft`,
|
|
|
44
44
|
|
|
45
45
|
#### Interactive Verification Mode (`try`)
|
|
46
46
|
|
|
47
|
-
Add the `try` attribute to let the user confirm the shortcut by typing it. A trigger button appears; clicking it puts the component into capture mode. The keys
|
|
47
|
+
Add the `try` attribute to let the user confirm the shortcut by typing it. A trigger button appears; clicking it puts the component into capture mode. The keys can be pressed in any order, all held down together: at the first key release the component reflects the outcome (`pass` / `fail`) on the `test` attribute and shows a localized tooltip.
|
|
48
48
|
|
|
49
49
|
```html
|
|
50
50
|
<mds-keyboard try>
|
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-keyboard-key
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.4.1. Shadow DOM: style it only through the CSS custom properties and parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-keyboard-key>` web component renders a single physical-looking keycap inside a [`<mds-keyboard>`](../mds-keyboard/AGENTS.md) parent, supplying the visual unit for one key of a shortcut combination (e.g. the `Ctrl` or `C` in `Ctrl + C`). It has no direct HTML equivalent - it is a presentational glyph whose meaning and test behavior are orchestrated by the parent.
|
|
12
12
|
|
|
13
13
|
#### Semantic Behavior
|
|
14
14
|
|
|
15
15
|
- **Compound child only**: It must be a direct slot child of `<mds-keyboard>`; it is not used standalone or mixed with other element types, since the parent reads its `name` to build the key combination and inserts `+` separators between keys.
|
|
16
|
-
- **Glyph resolution from `name`**: When `name` maps to a known icon (arrows, command, shift, enter, tab, space, etc.) it renders that icon; otherwise it renders the key's alias from the dictionary (e.g. `Ctrl`, `Esc`).
|
|
16
|
+
- **Glyph resolution from `name`**: When `name` maps to a known icon (arrows, command, shift, enter, tab, space, etc.) it renders that icon; otherwise it renders the key's alias from the dictionary (e.g. `Ctrl`, `Esc`). The `space` key is drawn at least twice as wide as the others.
|
|
17
17
|
- **Keyboard-side indicator**: For the side-specific names (`shiftleft`, `controlright`, ...), it appends an `l` / `r` label.
|
|
18
18
|
- **Pressed state is parent-driven**: The `pressed` prop is toggled by `<mds-keyboard>` during a verification test as the user types; it is not meant to be set manually for presentational use.
|
|
19
19
|
- **Localized title**: The host receives a localized `title` describing the key (el/en/es/it).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-10-
|
|
2
|
+
"timestamp": "2026-10-21T15:26:40",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
|
-
"version": "4.
|
|
5
|
+
"version": "4.45.2",
|
|
6
6
|
"typescriptVersion": "5.8.3"
|
|
7
7
|
},
|
|
8
8
|
"components": [
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"docs": "",
|
|
14
14
|
"docsTags": [],
|
|
15
15
|
"usage": {
|
|
16
|
-
"1. Description": "The `<mds-keyboard-key>` web component renders a single physical-looking keycap inside a [`<mds-keyboard>`](../mds-keyboard/AGENTS.md) parent, supplying the visual unit for one key of a shortcut combination (e.g. the `Ctrl` or `C` in `Ctrl + C`). It has no direct HTML equivalent - it is a presentational glyph whose meaning and test behavior are orchestrated by the parent.\n\n#### Semantic Behavior\n\n- **Compound child only**: It must be a direct slot child of `<mds-keyboard>`; it is not used standalone or mixed with other element types, since the parent reads its `name` to build the key combination and inserts `+` separators between keys.\n- **Glyph resolution from `name`**: When `name` maps to a known icon (arrows, command, shift, enter, tab, space, etc.) it renders that icon; otherwise it renders the key's alias from the dictionary (e.g. `Ctrl`, `Esc`).\n- **Keyboard-side indicator**: For the side-specific names (`shiftleft`, `controlright`, ...), it appends an `l` / `r` label.\n- **Pressed state is parent-driven**: The `pressed` prop is toggled by `<mds-keyboard>` during a verification test as the user types; it is not meant to be set manually for presentational use.\n- **Localized title**: The host receives a localized `title` describing the key (el/en/es/it).\n- **No interactive role**: The keycap is purely visual - it exposes no role, focus handling, or emitted events of its own.\n\n#### Properties & Visual Configurations\n\nThis child has essentially no presentational configuration; it does not use the shared `variant` / `tone` ladders from [`agents/variants.md`](../../../../agents/variants.md).\n\n- **`name`** is the only meaningful authoring prop: set it to the canonical key code (one value from the keyboard key dictionary, e.g. `control`, `arrowup`, `c`) for the key this cap represents. It selects the displayed glyph or alias and feeds the parent's combination matching.\n- **`pressed`** is a state hook, not an authoring choice - let the parent set it during a test. Leave it unset for a static shortcut display.\n",
|
|
16
|
+
"1. Description": "The `<mds-keyboard-key>` web component renders a single physical-looking keycap inside a [`<mds-keyboard>`](../mds-keyboard/AGENTS.md) parent, supplying the visual unit for one key of a shortcut combination (e.g. the `Ctrl` or `C` in `Ctrl + C`). It has no direct HTML equivalent - it is a presentational glyph whose meaning and test behavior are orchestrated by the parent.\n\n#### Semantic Behavior\n\n- **Compound child only**: It must be a direct slot child of `<mds-keyboard>`; it is not used standalone or mixed with other element types, since the parent reads its `name` to build the key combination and inserts `+` separators between keys.\n- **Glyph resolution from `name`**: When `name` maps to a known icon (arrows, command, shift, enter, tab, space, etc.) it renders that icon; otherwise it renders the key's alias from the dictionary (e.g. `Ctrl`, `Esc`). The `space` key is drawn at least twice as wide as the others.\n- **Keyboard-side indicator**: For the side-specific names (`shiftleft`, `controlright`, ...), it appends an `l` / `r` label.\n- **Pressed state is parent-driven**: The `pressed` prop is toggled by `<mds-keyboard>` during a verification test as the user types; it is not meant to be set manually for presentational use.\n- **Localized title**: The host receives a localized `title` describing the key (el/en/es/it).\n- **No interactive role**: The keycap is purely visual - it exposes no role, focus handling, or emitted events of its own.\n\n#### Properties & Visual Configurations\n\nThis child has essentially no presentational configuration; it does not use the shared `variant` / `tone` ladders from [`agents/variants.md`](../../../../agents/variants.md).\n\n- **`name`** is the only meaningful authoring prop: set it to the canonical key code (one value from the keyboard key dictionary, e.g. `control`, `arrowup`, `c`) for the key this cap represents. It selects the displayed glyph or alias and feeds the parent's combination matching.\n- **`pressed`** is a state hook, not an authoring choice - let the parent set it during a test. Leave it unset for a static shortcut display.\n",
|
|
17
17
|
"2. Pattern": "Correct and idiomatic ways to use the `<mds-keyboard-key>` 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#### Single Key Inside `<mds-keyboard>`\n\nAlways nest `<mds-keyboard-key>` inside [`<mds-keyboard>`](../mds-keyboard/AGENTS.md). The parent inserts the `+` separators and wires up key-combination testing; the key is meaningless outside this context.\n\n```html\n<mds-keyboard>\n <mds-keyboard-key name=\"control\"></mds-keyboard-key>\n</mds-keyboard>\n```\n\n#### Multi-Key Shortcut Combination\n\nList every key in the combination as a direct child. The parent inserts `+` separators automatically - do not add them manually.\n\n```html\n<mds-keyboard>\n <mds-keyboard-key name=\"control\"></mds-keyboard-key>\n <mds-keyboard-key name=\"s\"></mds-keyboard-key>\n</mds-keyboard>\n\n<mds-keyboard>\n <mds-keyboard-key name=\"command\"></mds-keyboard-key>\n <mds-keyboard-key name=\"shift\"></mds-keyboard-key>\n <mds-keyboard-key name=\"z\"></mds-keyboard-key>\n</mds-keyboard>\n```\n\n#### Icon-Resolved Keys\n\nKeys such as arrows, enter, tab, space, command, shift, backspace, and others resolve to an icon automatically. No extra configuration is needed - `name` alone is sufficient.\n\n```html\n<mds-keyboard>\n <mds-keyboard-key name=\"arrowup\"></mds-keyboard-key>\n <mds-keyboard-key name=\"enter\"></mds-keyboard-key>\n</mds-keyboard>\n\n<mds-keyboard>\n <mds-keyboard-key name=\"tab\"></mds-keyboard-key>\n <mds-keyboard-key name=\"space\"></mds-keyboard-key>\n</mds-keyboard>\n```\n\n#### Keyboard-Side Disambiguation\n\nFor keys that exist on both sides of a physical keyboard, use the directional variant (`shiftleft`, `shiftright`, `controlleft`, etc.). The component appends an `l` / `r` indicator to disambiguate.\n\n```html\n<mds-keyboard>\n <mds-keyboard-key name=\"shiftleft\"></mds-keyboard-key>\n <mds-keyboard-key name=\"controlleft\"></mds-keyboard-key>\n <mds-keyboard-key name=\"a\"></mds-keyboard-key>\n</mds-keyboard>\n```\n\n#### Interactive Combination Test via `try`\n\nAdd `try` to `<mds-keyboard>` to let users verify they can type the shortcut. The parent drives `pressed` on child keys as the user types - do not set `pressed` yourself in this mode.\n\n```html\n<mds-keyboard try>\n <mds-keyboard-key name=\"control\"></mds-keyboard-key>\n <mds-keyboard-key name=\"z\"></mds-keyboard-key>\n</mds-keyboard>\n```\n\n#### Styling Customization via CSS Custom Properties\n\nAdjust the keycap appearance through the documented `--mds-keyboard-key-*` CSS custom properties. Set them on the host element or a parent selector.\n\n```css\n/* Increase padding for a larger keycap feel */\n.keycap-large mds-keyboard-key {\n --mds-keyboard-key-padding: calc(var(--spacing) * 300);\n}\n\n/* Slow down the press animation */\n.keycap-slow mds-keyboard-key {\n --mds-keyboard-key-transition-duration: 600ms;\n}\n\n/* Deepen the bottom shadow for more three-dimensional depth */\n.keycap-deep mds-keyboard-key {\n --mds-keyboard-key-illumination-dark-size: calc(var(--spacing) * 400);\n --mds-keyboard-key-illumination-light-size: calc(var(--spacing) * 100);\n}\n```\n",
|
|
18
18
|
"3. Antipattern": "Common incorrect uses of `<mds-keyboard-key>`. Each entry pairs the wrong form with the right one and a one-line reason. System-wide rules (boolean-as-string, shadow piercing, Tailwind color utilities, raw native event listening) live in [`agents/anti-patterns.md`](../../../../agents/anti-patterns.md) - they apply here too but are not repeated.\n\n#### Do Not Use `<mds-keyboard-key>` Outside `<mds-keyboard>`\n\nThe key is a compound child component and must be a direct slot child of [`<mds-keyboard>`](../mds-keyboard/AGENTS.md). Used standalone it renders visually but has no separator wiring, no test capability, and violates the compound component contract.\n\n```html\n<!-- INCORRECT -->\n<mds-keyboard-key name=\"control\"></mds-keyboard-key>\n<span>+</span>\n<mds-keyboard-key name=\"c\"></mds-keyboard-key>\n\n<!-- CORRECT -->\n<mds-keyboard>\n <mds-keyboard-key name=\"control\"></mds-keyboard-key>\n <mds-keyboard-key name=\"c\"></mds-keyboard-key>\n</mds-keyboard>\n```\n\n#### Do Not Add `+` Separators Manually\n\nThe parent `<mds-keyboard>` inserts `+` separators between child keys automatically. Adding them manually results in duplicate or misaligned separators.\n\n```html\n<!-- INCORRECT -->\n<mds-keyboard>\n <mds-keyboard-key name=\"command\"></mds-keyboard-key>\n <span>+</span>\n <mds-keyboard-key name=\"v\"></mds-keyboard-key>\n</mds-keyboard>\n\n<!-- CORRECT -->\n<mds-keyboard>\n <mds-keyboard-key name=\"command\"></mds-keyboard-key>\n <mds-keyboard-key name=\"v\"></mds-keyboard-key>\n</mds-keyboard>\n```\n\n#### Do Not Set `pressed` Manually When `try` Is Active\n\nWhen `<mds-keyboard try>` is enabled, the parent owns `pressed` and sets it as the user types. Setting it manually conflicts with the parent state machine and produces incorrect visual feedback.\n\n```html\n<!-- INCORRECT -->\n<mds-keyboard try>\n <mds-keyboard-key name=\"control\" pressed></mds-keyboard-key>\n <mds-keyboard-key name=\"z\"></mds-keyboard-key>\n</mds-keyboard>\n\n<!-- CORRECT -->\n<mds-keyboard try>\n <mds-keyboard-key name=\"control\"></mds-keyboard-key>\n <mds-keyboard-key name=\"z\"></mds-keyboard-key>\n</mds-keyboard>\n```\n\n#### Do Not Use a Generic `name` String Outside the Key Dictionary\n\n`name` is a `KeyboardKeyName` union type. Passing an arbitrary string (e.g. `\"ctrl\"`, `\"cmd\"`, `\"esc\"`) that is not in the dictionary causes a runtime lookup failure because the component reads `keyboardKeysData[name]` without a guard.\n\n```html\n<!-- INCORRECT -->\n<mds-keyboard>\n <mds-keyboard-key name=\"ctrl\"></mds-keyboard-key>\n <mds-keyboard-key name=\"cmd\"></mds-keyboard-key>\n <mds-keyboard-key name=\"esc\"></mds-keyboard-key>\n</mds-keyboard>\n\n<!-- CORRECT -->\n<mds-keyboard>\n <mds-keyboard-key name=\"control\"></mds-keyboard-key>\n <mds-keyboard-key name=\"command\"></mds-keyboard-key>\n <mds-keyboard-key name=\"escape\"></mds-keyboard-key>\n</mds-keyboard>\n```\n\n#### Do Not Slot Content Inside `<mds-keyboard-key>`\n\n`<mds-keyboard-key>` exposes no default or named slot. Any slotted content is ignored; the glyph is derived entirely from the `name` prop.\n\n```html\n<!-- INCORRECT -->\n<mds-keyboard>\n <mds-keyboard-key name=\"control\">Ctrl</mds-keyboard-key>\n</mds-keyboard>\n\n<!-- CORRECT -->\n<mds-keyboard>\n <mds-keyboard-key name=\"control\"></mds-keyboard-key>\n</mds-keyboard>\n```\n\n#### Customize via CSS Custom Properties, Not Shadow-Piercing Selectors\n\nThe supported customization surface is the documented `--mds-keyboard-key-*` CSS custom properties. Piercing shadow DOM via `::part()` on undocumented internals, `>>>`, or class hacks couples your code to the implementation and will break on minor releases.\n\n```css\n/* INCORRECT */\nmds-keyboard-key >>> .physical-key {\n background-color: blue;\n}\n\n/* CORRECT */\nmds-keyboard-key {\n --mds-keyboard-key-padding: calc(var(--spacing) * 300);\n --mds-keyboard-key-transition-duration: 400ms;\n}\n```\n"
|
|
19
19
|
},
|
|
@@ -66,7 +66,7 @@ mds-text {
|
|
|
66
66
|
|
|
67
67
|
.physical-key {
|
|
68
68
|
align-items: baseline;
|
|
69
|
-
background-color: var(--mds-keyboard-key-background, rgb(var(--tone-
|
|
69
|
+
background-color: var(--mds-keyboard-key-background, rgb(var(--magma-wash-strong, var(--tone-neutral-08, 208 208 208))));
|
|
70
70
|
border-radius: var(--magma-radius-lg, var(--radius-squircle-lg, 28px));
|
|
71
71
|
box-shadow:
|
|
72
72
|
var(--mds-keyboard-key-illumination-light), var(--mds-keyboard-key-illumination-dark),
|
|
@@ -107,7 +107,7 @@ mds-text {
|
|
|
107
107
|
var(--mds-keyboard-key-padding, --spacing(100));
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
:host([
|
|
110
|
+
:host([name='space']) .physical-key {
|
|
111
111
|
min-width: calc(var(--key-size-default) * 2);
|
|
112
112
|
}
|
|
113
113
|
|
|
@@ -31,7 +31,7 @@ export class MdsKeyboardKey {
|
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
33
|
var _a, _b, _c, _d;
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: 'f46b31794208c55037687258d3b63d2d0137020e', title: this.getTitle() }, h("div", { key: 'a6f963089abd301ceb06587651ae287bae1f1a21', class: "physical-key" }, this.name && icons.has(this.name) ? (h("mds-icon", { name: (_a = icons.get(this.name)) !== null && _a !== void 0 ? _a : miBaselineBrokenImage, class: "shortcut-icon" })) : (h("mds-text", { class: "shortcut-text", typography: "detail" }, this.name && h("b", null, this.keyboardKeys[this.name].alias))), this.name && ((_b = this.keyboardKeys[this.name]) === null || _b === void 0 ? void 0 : _b.keyboardPosition) && (h("mds-text", { key: '616b3394a2af2bc381d53d6ee1b3f6aa3e369e55', typography: "label" }, ((_c = this.keyboardKeys[this.name].keyboardPosition) === null || _c === void 0 ? void 0 : _c.left) && 'l', ((_d = this.keyboardKeys[this.name].keyboardPosition) === null || _d === void 0 ? void 0 : _d.right) && 'r')))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "mds-keyboard-key"; }
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-kpi
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.4.1. Shadow DOM: style it only through the CSS custom properties and parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-kpi>` web component is the layout container of the Magma Design System for presenting groups of key performance indicators. It is a compound parent with no props of its own: it establishes an accessible list region and hosts one or more `<mds-kpi-item>` children that render the actual figures.
|
|
12
12
|
|
|
@@ -4,7 +4,7 @@ import { Host, h } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class MdsKpi {
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: 'efc7c5f2d0b3edb52ea3d67df78cd460edf2c46c', role: "list" }, h("slot", { key: 'ba0f918fc0fe6f3dbe848843bb9c12f071fb7883' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "mds-kpi"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-kpi-item
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.4.1. Shadow DOM: style it only through the CSS custom properties and parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-kpi-item>` web component is a compound child that represents a single key-performance-indicator entry - a prominent numeric `label` with an optional `description` and `icon` - inside its parent container [`<mds-kpi>`](../mds-kpi/AGENTS.md). It carries no native HTML primitive of its own; it is a presentational list row that `<mds-kpi>` exposes as a list.
|
|
12
12
|
|
|
13
13
|
#### Semantic Behavior
|
|
14
14
|
|
|
15
15
|
- **Compound constraint**: Must be placed as a direct default-slot child of [`<mds-kpi>`](../mds-kpi/AGENTS.md); it is not used standalone, and the parent's list semantics only make sense when its children are `mds-kpi-item` elements (do not mix in other child types).
|
|
16
|
-
- **Accessible name**: Each item is announced as one list entry, with its spoken text consolidated as `"{label}: {description}"
|
|
16
|
+
- **Accessible name**: Each item is announced as one list entry, with its spoken text consolidated as `"{label}: {description}"`, leaving out the one that is missing; an `aria-label` on the host replaces it and stays.
|
|
17
17
|
- **Scroll-triggered animation**: When `threshold` is greater than `0`, the `label`/`description` reveal with the `yugop` text animation once the item scrolls into the viewport. With `threshold === 0` (the default) the text is rendered immediately with no animation.
|
|
18
18
|
- **Conditional rendering**: The icon, value, and description each render only when their respective prop is provided, so an item can show any subset of icon, value, and caption.
|
|
19
19
|
|
|
@@ -101,7 +101,7 @@ mds-kpi-item::part(content) {
|
|
|
101
101
|
|
|
102
102
|
#### Do Not Leave Icon-Only Items Without an Accessible Name
|
|
103
103
|
|
|
104
|
-
When both `label` and `description` are omitted the
|
|
104
|
+
When both `label` and `description` are omitted the item has no accessible name at all. Supply an explicit `aria-label` on the host when the item carries no text props (the component keeps it at first render, but writes its own name back at its next re-render).
|
|
105
105
|
|
|
106
106
|
```html
|
|
107
107
|
<!-- INCORRECT -->
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-10-
|
|
2
|
+
"timestamp": "2026-10-21T15:26:40",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
|
-
"version": "4.
|
|
5
|
+
"version": "4.45.2",
|
|
6
6
|
"typescriptVersion": "5.8.3"
|
|
7
7
|
},
|
|
8
8
|
"components": [
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
}
|
|
27
27
|
],
|
|
28
28
|
"usage": {
|
|
29
|
-
"1. Description": "The `<mds-kpi-item>` web component is a compound child that represents a single key-performance-indicator entry - a prominent numeric `label` with an optional `description` and `icon` - inside its parent container [`<mds-kpi>`](../mds-kpi/AGENTS.md). It carries no native HTML primitive of its own; it is a presentational list row that `<mds-kpi>` exposes as a list.\n\n#### Semantic Behavior\n\n- **Compound constraint**: Must be placed as a direct default-slot child of [`<mds-kpi>`](../mds-kpi/AGENTS.md); it is not used standalone, and the parent's list semantics only make sense when its children are `mds-kpi-item` elements (do not mix in other child types).\n- **Accessible name**: Each item is announced as one list entry, with its spoken text consolidated as `\"{label}: {description}\"
|
|
30
|
-
"2. Pattern": "Correct and idiomatic ways to use the `<mds-kpi-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 KPI Entry with Label and Description\n\nThe canonical form: a headline figure in `label` and a supporting caption in `description`, placed inside [`<mds-kpi>`](../mds-kpi/AGENTS.md). Both props feed the item's accessible spoken name automatically.\n\n```html\n<mds-kpi>\n <mds-kpi-item\n label=\"1.240\"\n description=\"Pratiche elaborate\"\n ></mds-kpi-item>\n</mds-kpi>\n```\n\n#### KPI Entry with an Icon\n\nAdd `icon` to display a visual marker above the figure. Use an icon slug from the Magma icon library - no `.svg` extension.\n\n```html\n<mds-kpi>\n <mds-kpi-item\n label=\"98%\"\n description=\"Soddisfazione clienti\"\n icon=\"mi/baseline/thumb-up\"\n ></mds-kpi-item>\n</mds-kpi>\n```\n\n#### Multiple KPI Items in a Panel\n\nGroup related metrics by placing several `<mds-kpi-item>` elements as direct children of `<mds-kpi>`. The parent sets up the `list` role; each item registers as a `listitem`.\n\n```html\n<mds-kpi>\n <mds-kpi-item label=\"3.500\" description=\"Utenti attivi\" icon=\"mi/baseline/group\"></mds-kpi-item>\n <mds-kpi-item label=\"128\" description=\"Servizi erogati\" icon=\"mi/baseline/work\"></mds-kpi-item>\n <mds-kpi-item label=\"99,9%\" description=\"Disponibilita del sistema\" icon=\"mi/baseline/check-circle\"></mds-kpi-item>\n</mds-kpi>\n```\n\n#### Scroll-Triggered Reveal Animation\n\nSet `threshold` to a value between `0` and `1` to defer the yugop text animation until the item enters the viewport. A value of `0.5` means at least 50 % of the item must be visible before the animation starts. Use this for KPI strips placed lower on a landing page.\n\n```html\n<mds-kpi>\n <mds-kpi-item\n label=\"45.000\"\n description=\"Documenti archiviati\"\n icon=\"mi/baseline/folder\"\n threshold=\"0.5\"\n ></mds-kpi-item>\n</mds-kpi>\n```\n\n#### Label-Only KPI (No Description)\n\nOmit `description` only when the figure is self-explanatory. The accessible name is
|
|
31
|
-
"3. Antipattern": "Common incorrect uses of `<mds-kpi-item>`. Each entry pairs the wrong form with the right one and a one-line reason. System-wide rules (boolean-as-string, shadow piercing, Tailwind color utilities, raw native event listening) live in [`agents/anti-patterns.md`](../../../../agents/anti-patterns.md) - they apply here too but are not repeated.\n\n#### Do Not Use `mds-kpi-item` Outside `mds-kpi`\n\n`<mds-kpi-item>` is a compound child designed to be a direct slot child of [`<mds-kpi>`](../mds-kpi/AGENTS.md). Using it standalone strips the list semantics that `<mds-kpi>` provides and breaks the expected visual layout.\n\n```html\n<!-- INCORRECT -->\n<mds-kpi-item label=\"1.240\" description=\"Pratiche elaborate\"></mds-kpi-item>\n\n<!-- CORRECT -->\n<mds-kpi>\n <mds-kpi-item label=\"1.240\" description=\"Pratiche elaborate\"></mds-kpi-item>\n</mds-kpi>\n```\n\n#### Do Not Slot HTML Content for the Label or Description\n\n`<mds-kpi-item>` has no default slot - all text content is driven by the `label` and `description` props. Slotting child nodes produces no output because the component renders nothing from its slot.\n\n```html\n<!-- INCORRECT -->\n<mds-kpi>\n <mds-kpi-item>\n <span>1.240</span>\n <small>Pratiche elaborate</small>\n </mds-kpi-item>\n</mds-kpi>\n\n<!-- CORRECT -->\n<mds-kpi>\n <mds-kpi-item label=\"1.240\" description=\"Pratiche elaborate\"></mds-kpi-item>\n</mds-kpi>\n```\n\n#### Do Not Slot `<mds-icon>` to Add an Icon\n\nThe `icon` prop passes the slug to the internal `<mds-icon>` instance. Slotting an `<mds-icon>` directly has no effect because the component has no named slot for icons.\n\n```html\n<!-- INCORRECT -->\n<mds-kpi>\n <mds-kpi-item label=\"98%\" description=\"Soddisfazione clienti\">\n <mds-icon name=\"mi/baseline/thumb-up\"></mds-icon>\n </mds-kpi-item>\n</mds-kpi>\n\n<!-- CORRECT -->\n<mds-kpi>\n <mds-kpi-item\n label=\"98%\"\n description=\"Soddisfazione clienti\"\n icon=\"mi/baseline/thumb-up\"\n ></mds-kpi-item>\n</mds-kpi>\n```\n\n#### Do Not Set `threshold=\"0\"` to Disable Animation - Omit It\n\n`threshold` defaults to `0`, so setting it explicitly to `\"0\"` is a no-op. More importantly, `threshold=\"false\"` or `threshold=\"none\"` is parsed to `NaN`, which the IntersectionObserver rejects with an error at runtime.\n\n```html\n<!-- INCORRECT -->\n<mds-kpi-item label=\"3.500\" description=\"Utenti\" threshold=\"false\"></mds-kpi-item>\n<mds-kpi-item label=\"3.500\" description=\"Utenti\" threshold=\"none\"></mds-kpi-item>\n\n<!-- CORRECT - omit threshold entirely for no animation (defaults to 0) -->\n<mds-kpi-item label=\"3.500\" description=\"Utenti\"></mds-kpi-item>\n```\n\n#### Do Not Pierce Shadow DOM to Style Internal Elements\n\nThe supported customization surface is `--mds-kpi-item-*` CSS custom properties and the three documented shadow parts (`icon-container`, `icon`, `content`). Reaching inside the shadow DOM via `>>>` or undocumented class names couples your code to the implementation and will break on minor releases.\n\n```css\n/* INCORRECT */\nmds-kpi-item >>> .info {\n background: white;\n}\nmds-kpi-item >>> .value {\n font-size: 3rem;\n}\n\n/* CORRECT */\nmds-kpi-item {\n --mds-kpi-item-info-background: rgb(var(--magma-surface-overlay));\n}\nmds-kpi-item::part(content) {\n padding: calc(var(--spacing) * 600);\n}\n```\n\n#### Do Not Leave Icon-Only Items Without an Accessible Name\n\nWhen both `label` and `description` are omitted the
|
|
29
|
+
"1. Description": "The `<mds-kpi-item>` web component is a compound child that represents a single key-performance-indicator entry - a prominent numeric `label` with an optional `description` and `icon` - inside its parent container [`<mds-kpi>`](../mds-kpi/AGENTS.md). It carries no native HTML primitive of its own; it is a presentational list row that `<mds-kpi>` exposes as a list.\n\n#### Semantic Behavior\n\n- **Compound constraint**: Must be placed as a direct default-slot child of [`<mds-kpi>`](../mds-kpi/AGENTS.md); it is not used standalone, and the parent's list semantics only make sense when its children are `mds-kpi-item` elements (do not mix in other child types).\n- **Accessible name**: Each item is announced as one list entry, with its spoken text consolidated as `\"{label}: {description}\"`, leaving out the one that is missing; an `aria-label` on the host replaces it and stays.\n- **Scroll-triggered animation**: When `threshold` is greater than `0`, the `label`/`description` reveal with the `yugop` text animation once the item scrolls into the viewport. With `threshold === 0` (the default) the text is rendered immediately with no animation.\n- **Conditional rendering**: The icon, value, and description each render only when their respective prop is provided, so an item can show any subset of icon, value, and caption.\n\n#### Properties & Visual Configurations\n\n- **`threshold`**: Controls the reveal-on-scroll behavior. Leave at `0` for static KPIs that should be visible immediately; set a value between `0` and `1` (the fraction of the element that must enter the viewport) to defer the scramble-in animation until the item is scrolled into view - useful for KPI strips lower on a page.\n- **`label`** holds the headline figure (rendered as `h2` typography) and **`description`** the supporting caption (rendered as `label` typography); together they form the item's spoken accessible name, so prefer concise, self-explanatory values.\n- **`icon`** takes an `mds-icon` name and adds a leading visual marker above the figure; omit it for text-only KPIs.\n\nAnimation pacing and colors are tunable per item via the CSS custom properties documented in [`AGENTS.md`](AGENTS.md) (`--mds-kpi-item-text-animation-speed`, `--mds-kpi-item-icon-color`, and related).\n",
|
|
30
|
+
"2. Pattern": "Correct and idiomatic ways to use the `<mds-kpi-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 KPI Entry with Label and Description\n\nThe canonical form: a headline figure in `label` and a supporting caption in `description`, placed inside [`<mds-kpi>`](../mds-kpi/AGENTS.md). Both props feed the item's accessible spoken name automatically.\n\n```html\n<mds-kpi>\n <mds-kpi-item\n label=\"1.240\"\n description=\"Pratiche elaborate\"\n ></mds-kpi-item>\n</mds-kpi>\n```\n\n#### KPI Entry with an Icon\n\nAdd `icon` to display a visual marker above the figure. Use an icon slug from the Magma icon library - no `.svg` extension.\n\n```html\n<mds-kpi>\n <mds-kpi-item\n label=\"98%\"\n description=\"Soddisfazione clienti\"\n icon=\"mi/baseline/thumb-up\"\n ></mds-kpi-item>\n</mds-kpi>\n```\n\n#### Multiple KPI Items in a Panel\n\nGroup related metrics by placing several `<mds-kpi-item>` elements as direct children of `<mds-kpi>`. The parent sets up the `list` role; each item registers as a `listitem`.\n\n```html\n<mds-kpi>\n <mds-kpi-item label=\"3.500\" description=\"Utenti attivi\" icon=\"mi/baseline/group\"></mds-kpi-item>\n <mds-kpi-item label=\"128\" description=\"Servizi erogati\" icon=\"mi/baseline/work\"></mds-kpi-item>\n <mds-kpi-item label=\"99,9%\" description=\"Disponibilita del sistema\" icon=\"mi/baseline/check-circle\"></mds-kpi-item>\n</mds-kpi>\n```\n\n#### Scroll-Triggered Reveal Animation\n\nSet `threshold` to a value between `0` and `1` to defer the yugop text animation until the item enters the viewport. A value of `0.5` means at least 50 % of the item must be visible before the animation starts. Use this for KPI strips placed lower on a landing page.\n\n```html\n<mds-kpi>\n <mds-kpi-item\n label=\"45.000\"\n description=\"Documenti archiviati\"\n icon=\"mi/baseline/folder\"\n threshold=\"0.5\"\n ></mds-kpi-item>\n</mds-kpi>\n```\n\n#### Label-Only KPI (No Description)\n\nOmit `description` only when the figure is self-explanatory. The accessible name is then the figure alone (`2026`); ensure the surrounding context provides enough meaning.\n\n```html\n<mds-kpi>\n <mds-kpi-item label=\"2026\"></mds-kpi-item>\n</mds-kpi>\n```\n\n#### Icon-Only Visual Accent (No Numeric Value)\n\nOmit `label` and `description` to display only the icon as a decorative tile. In this case the item has no name - add an explicit `aria-label` on the host to describe the tile to screen-reader users. The component keeps it at first render but writes its own name back at its next re-render (for example when a user preference changes).\n\n```html\n<mds-kpi>\n <mds-kpi-item\n icon=\"mi/baseline/star\"\n aria-label=\"Valutazione eccellente\"\n ></mds-kpi-item>\n</mds-kpi>\n```\n\n#### Styling Customization\n\nTune icon color, text-area background, and animation timing through the documented `--mds-kpi-item-*` CSS custom properties. Set them on the host or a parent selector; use the semantic color roles via `rgb(var(--magma-<role>))` ([`agents/color.md`](../../../../agents/color.md)) so dark mode keeps working.\n\n```css\n.highlight-kpi mds-kpi-item {\n --mds-kpi-item-icon-color: rgb(var(--magma-success-emphasis));\n --mds-kpi-item-info-background: rgb(var(--magma-surface-overlay));\n --mds-kpi-item-text-animation-speed: 0.08;\n --mds-kpi-item-text-animation-placeholder-char: \"0\";\n}\n```\n\n#### Targeting Shadow Parts for Deep Customization\n\nWhen the CSS custom properties are insufficient, target the three documented shadow parts: `icon-container`, `icon`, and `content`. Reserve this for exceptional cases - prefer `--mds-kpi-item-*` vars whenever they cover your need.\n\n```css\nmds-kpi-item::part(icon-container) {\n background-color: rgb(var(--magma-accent-surface));\n border-radius: var(--magma-radius-2xl);\n}\n\nmds-kpi-item::part(icon) {\n fill: rgb(var(--magma-accent-fg));\n}\n```\n",
|
|
31
|
+
"3. Antipattern": "Common incorrect uses of `<mds-kpi-item>`. Each entry pairs the wrong form with the right one and a one-line reason. System-wide rules (boolean-as-string, shadow piercing, Tailwind color utilities, raw native event listening) live in [`agents/anti-patterns.md`](../../../../agents/anti-patterns.md) - they apply here too but are not repeated.\n\n#### Do Not Use `mds-kpi-item` Outside `mds-kpi`\n\n`<mds-kpi-item>` is a compound child designed to be a direct slot child of [`<mds-kpi>`](../mds-kpi/AGENTS.md). Using it standalone strips the list semantics that `<mds-kpi>` provides and breaks the expected visual layout.\n\n```html\n<!-- INCORRECT -->\n<mds-kpi-item label=\"1.240\" description=\"Pratiche elaborate\"></mds-kpi-item>\n\n<!-- CORRECT -->\n<mds-kpi>\n <mds-kpi-item label=\"1.240\" description=\"Pratiche elaborate\"></mds-kpi-item>\n</mds-kpi>\n```\n\n#### Do Not Slot HTML Content for the Label or Description\n\n`<mds-kpi-item>` has no default slot - all text content is driven by the `label` and `description` props. Slotting child nodes produces no output because the component renders nothing from its slot.\n\n```html\n<!-- INCORRECT -->\n<mds-kpi>\n <mds-kpi-item>\n <span>1.240</span>\n <small>Pratiche elaborate</small>\n </mds-kpi-item>\n</mds-kpi>\n\n<!-- CORRECT -->\n<mds-kpi>\n <mds-kpi-item label=\"1.240\" description=\"Pratiche elaborate\"></mds-kpi-item>\n</mds-kpi>\n```\n\n#### Do Not Slot `<mds-icon>` to Add an Icon\n\nThe `icon` prop passes the slug to the internal `<mds-icon>` instance. Slotting an `<mds-icon>` directly has no effect because the component has no named slot for icons.\n\n```html\n<!-- INCORRECT -->\n<mds-kpi>\n <mds-kpi-item label=\"98%\" description=\"Soddisfazione clienti\">\n <mds-icon name=\"mi/baseline/thumb-up\"></mds-icon>\n </mds-kpi-item>\n</mds-kpi>\n\n<!-- CORRECT -->\n<mds-kpi>\n <mds-kpi-item\n label=\"98%\"\n description=\"Soddisfazione clienti\"\n icon=\"mi/baseline/thumb-up\"\n ></mds-kpi-item>\n</mds-kpi>\n```\n\n#### Do Not Set `threshold=\"0\"` to Disable Animation - Omit It\n\n`threshold` defaults to `0`, so setting it explicitly to `\"0\"` is a no-op. More importantly, `threshold=\"false\"` or `threshold=\"none\"` is parsed to `NaN`, which the IntersectionObserver rejects with an error at runtime.\n\n```html\n<!-- INCORRECT -->\n<mds-kpi-item label=\"3.500\" description=\"Utenti\" threshold=\"false\"></mds-kpi-item>\n<mds-kpi-item label=\"3.500\" description=\"Utenti\" threshold=\"none\"></mds-kpi-item>\n\n<!-- CORRECT - omit threshold entirely for no animation (defaults to 0) -->\n<mds-kpi-item label=\"3.500\" description=\"Utenti\"></mds-kpi-item>\n```\n\n#### Do Not Pierce Shadow DOM to Style Internal Elements\n\nThe supported customization surface is `--mds-kpi-item-*` CSS custom properties and the three documented shadow parts (`icon-container`, `icon`, `content`). Reaching inside the shadow DOM via `>>>` or undocumented class names couples your code to the implementation and will break on minor releases.\n\n```css\n/* INCORRECT */\nmds-kpi-item >>> .info {\n background: white;\n}\nmds-kpi-item >>> .value {\n font-size: 3rem;\n}\n\n/* CORRECT */\nmds-kpi-item {\n --mds-kpi-item-info-background: rgb(var(--magma-surface-overlay));\n}\nmds-kpi-item::part(content) {\n padding: calc(var(--spacing) * 600);\n}\n```\n\n#### Do Not Leave Icon-Only Items Without an Accessible Name\n\nWhen both `label` and `description` are omitted the item has no accessible name at all. Supply an explicit `aria-label` on the host when the item carries no text props (the component keeps it at first render, but writes its own name back at its next re-render).\n\n```html\n<!-- INCORRECT -->\n<mds-kpi>\n <mds-kpi-item icon=\"mi/baseline/star\"></mds-kpi-item>\n</mds-kpi>\n\n<!-- CORRECT -->\n<mds-kpi>\n <mds-kpi-item\n icon=\"mi/baseline/star\"\n aria-label=\"Valutazione eccellente\"\n ></mds-kpi-item>\n</mds-kpi>\n```\n"
|
|
32
32
|
},
|
|
33
33
|
"props": [
|
|
34
34
|
{
|
|
@@ -30,6 +30,20 @@ export class MdsKpiItem {
|
|
|
30
30
|
});
|
|
31
31
|
this.observer.observe(this.hostElement);
|
|
32
32
|
};
|
|
33
|
+
/**
|
|
34
|
+
* The spoken name joins the value and its description, leaving out the one that is missing
|
|
35
|
+
* (it used to read "undefined"). An aria-label written on the host by the author is the more
|
|
36
|
+
* specific name and stays; the one this item wrote before is its own to update.
|
|
37
|
+
*/
|
|
38
|
+
this.resolveName = () => {
|
|
39
|
+
const name = [this.label, this.description].filter((part) => (part !== null && part !== void 0 ? part : '') !== '').join(': ') || undefined;
|
|
40
|
+
const current = this.hostElement.getAttribute('aria-label');
|
|
41
|
+
if (current !== null && current !== this.appliedName && current !== name) {
|
|
42
|
+
return current;
|
|
43
|
+
}
|
|
44
|
+
this.appliedName = name;
|
|
45
|
+
return name;
|
|
46
|
+
};
|
|
33
47
|
}
|
|
34
48
|
componentWillLoad() {
|
|
35
49
|
if (this.threshold !== 0) {
|
|
@@ -37,7 +51,7 @@ export class MdsKpiItem {
|
|
|
37
51
|
}
|
|
38
52
|
}
|
|
39
53
|
render() {
|
|
40
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: '5cbed18a9cb97bbd03df61ec36cf86b91a06801c', "aria-label": this.resolveName(), role: "listitem", "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, this.icon && (h("div", { key: '490dc56de9a08150db81c337bccbd0aded6f7ef3', class: "icon-container", part: "icon-container" }, h("mds-icon", { key: '868e8cf72c9a2a40132ba1863338b37a1ac5370f', class: "icon", name: this.icon, part: "icon" }))), h("div", { key: 'cbc86abd25360a1483c11322c3c56defa08629c5', class: "info", part: "content", "aria-hidden": "true" }, this.label && this.threshold !== 0 && (h("mds-text", { key: '5e5b143e9cfd068cfa72b47faa71b71e18bafe5b', class: "value", typography: "h2", text: this.isIntersecting ? this.label : this.reserveLine(this.label), animation: "yugop" })), this.label && this.threshold === 0 && (h("mds-text", { key: 'bbeb36dcdab97c85338ecfc413d5014778aad53b', class: "value", typography: "h2" }, this.label)), this.description && this.threshold !== 0 && (h("mds-text", { key: 'ae02c0e2147ebfec870da601995bc207abd80ce8', class: "description", typography: "label", text: this.isIntersecting ? this.description : this.reserveLine(this.description), animation: "yugop" })), this.description && this.threshold === 0 && (h("mds-text", { key: 'bb070606b4c32f80e18e26e7ae94f491ee3a2838', class: "description", typography: "label" }, this.description)))));
|
|
41
55
|
}
|
|
42
56
|
static get is() { return "mds-kpi-item"; }
|
|
43
57
|
static get encapsulation() { return "shadow"; }
|
|
@@ -65,7 +65,7 @@ Set `threshold` to a value between `0` and `1` to defer the yugop text animation
|
|
|
65
65
|
|
|
66
66
|
#### Label-Only KPI (No Description)
|
|
67
67
|
|
|
68
|
-
Omit `description` only when the figure is self-explanatory. The accessible name is
|
|
68
|
+
Omit `description` only when the figure is self-explanatory. The accessible name is then the figure alone (`2026`); ensure the surrounding context provides enough meaning.
|
|
69
69
|
|
|
70
70
|
```html
|
|
71
71
|
<mds-kpi>
|
|
@@ -75,7 +75,7 @@ Omit `description` only when the figure is self-explanatory. The accessible name
|
|
|
75
75
|
|
|
76
76
|
#### Icon-Only Visual Accent (No Numeric Value)
|
|
77
77
|
|
|
78
|
-
Omit `label` and `description` to display only the icon as a decorative tile. In this case the
|
|
78
|
+
Omit `label` and `description` to display only the icon as a decorative tile. In this case the item has no name - add an explicit `aria-label` on the host to describe the tile to screen-reader users. The component keeps it at first render but writes its own name back at its next re-render (for example when a user preference changes).
|
|
79
79
|
|
|
80
80
|
```html
|
|
81
81
|
<mds-kpi>
|