@maggioli-design-system/magma 2.2.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +25 -10
- package/CHANGELOG.md +712 -0
- package/README.md +5 -2
- package/agents/anti-patterns.md +7 -4
- package/agents/assets.md +231 -28
- package/agents/color.md +7 -5
- package/agents/components.md +5 -4
- package/agents/conventions.md +16 -0
- package/agents/install.md +8 -4
- package/agents/reporting.md +11 -2
- package/agents/theming.md +15 -0
- package/dist/cjs/_commonjsHelpers-CFO10eej.js +7 -0
- package/dist/cjs/{aria-BbJUuU9_.js → aria-CzO5Rp1y.js} +23 -15
- package/dist/cjs/{floating-controller-uOCBLTk2.js → floating-controller-BxER7sig.js} +37 -14
- package/dist/cjs/{floating-ui.dom-DflSHZIo.js → floating-ui.dom-VQ_HnnRe.js} +146 -209
- package/dist/cjs/icon-BhokFNM7.js +22 -0
- package/dist/cjs/{index-MyEb-PfD.js → index-B5DKRaVO.js} +1 -1
- package/dist/cjs/{index-UmmmCMIG.js → index-B_qgSpWL.js} +125 -96
- 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 +17 -3
- package/dist/cjs/mds-accordion.cjs.entry.js +37 -22
- package/dist/cjs/mds-author.cjs.entry.js +2 -2
- package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-avatar-stack.cjs.entry.js +11 -5
- package/dist/cjs/mds-avatar.cjs.entry.js +58 -91
- 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 +41 -4
- package/dist/cjs/mds-button-group.cjs.entry.js +2 -2
- package/dist/cjs/mds-button_3.cjs.entry.js +98 -67
- package/dist/cjs/mds-calendar_2.cjs.entry.js +125 -50
- package/dist/cjs/mds-card-content.cjs.entry.js +2 -2
- package/dist/cjs/mds-card-footer.cjs.entry.js +2 -2
- package/dist/cjs/mds-card-header.cjs.entry.js +3 -3
- package/dist/cjs/mds-card-media.cjs.entry.js +3 -3
- 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 +31 -15
- package/dist/cjs/mds-emoji.cjs.entry.js +192 -135
- package/dist/cjs/mds-entity.cjs.entry.js +4 -4
- package/dist/cjs/mds-file-preview.cjs.entry.js +30 -23
- package/dist/cjs/mds-file.cjs.entry.js +52 -7525
- package/dist/cjs/mds-filter-item.cjs.entry.js +81 -7
- package/dist/cjs/mds-filter.cjs.entry.js +120 -22
- package/dist/cjs/mds-header-bar.cjs.entry.js +38 -10
- package/dist/cjs/mds-header.cjs.entry.js +9 -11
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +44 -13
- package/dist/cjs/mds-hr.cjs.entry.js +3 -3
- package/dist/cjs/mds-img.cjs.entry.js +39 -47
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +16 -8
- package/dist/cjs/mds-input-date-range.cjs.entry.js +44 -26
- package/dist/cjs/mds-input-date.cjs.entry.js +49 -14
- package/dist/cjs/mds-input-field.cjs.entry.js +3 -3
- package/dist/cjs/mds-input-otp.cjs.entry.js +57 -22
- package/dist/cjs/mds-input-range.cjs.entry.js +3 -3
- package/dist/cjs/mds-input-select.cjs.entry.js +36 -9
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +27 -14
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +8 -7
- package/dist/cjs/mds-input-upload.cjs.entry.js +1097 -15
- package/dist/cjs/mds-input.cjs.entry.js +17 -8
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +4 -4
- package/dist/cjs/mds-keyboard.cjs.entry.js +15 -7
- package/dist/cjs/mds-kpi-item.cjs.entry.js +18 -4
- package/dist/cjs/mds-kpi.cjs.entry.js +1 -1
- package/dist/cjs/mds-label.cjs.entry.js +13 -30
- package/dist/cjs/mds-list-item.cjs.entry.js +3 -4
- package/dist/cjs/mds-list.cjs.entry.js +1 -1
- package/dist/cjs/mds-mention.cjs.entry.js +7 -6
- package/dist/cjs/mds-modal.cjs.entry.js +55 -11
- 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 +42 -9
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +42 -9
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +45 -33
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +8 -8
- package/dist/cjs/mds-pref-language.cjs.entry.js +44 -22
- package/dist/cjs/mds-pref-mode.cjs.entry.js +29 -25
- package/dist/cjs/mds-pref-theme-item.cjs.entry.js +6 -4
- package/dist/cjs/mds-pref-theme.cjs.entry.js +137 -32
- package/dist/cjs/mds-pref.cjs.entry.js +47 -59
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +4 -4
- 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 +13 -10
- package/dist/cjs/mds-push-notification.cjs.entry.js +37 -14
- package/dist/cjs/mds-quote.cjs.entry.js +4 -4
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-radial-menu.cjs.entry.js +81 -36
- 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 +9 -18
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +25 -16
- package/dist/cjs/mds-tab-bar.cjs.entry.js +12 -6
- package/dist/cjs/mds-tab_2.cjs.entry.js +31 -12
- 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 +118 -79
- 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 +87 -23
- package/dist/cjs/mds-text.cjs.entry.js +39 -29
- package/dist/cjs/mds-toast-region.cjs.entry.js +119 -0
- package/dist/cjs/mds-toast.cjs.entry.js +163 -33
- package/dist/cjs/mds-tooltip.cjs.entry.js +84 -16
- package/dist/cjs/mds-tree-item.cjs.entry.js +24 -10
- 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 +26 -7
- 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/string-RoXIuD3q.js +7 -0
- 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 +35 -12
- package/dist/collection/common/hash.js +15 -0
- 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/string.js +3 -1
- package/dist/collection/common/yugop/random-text.js +5 -0
- 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 +6 -6
- 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 +16 -12
- 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.css +2 -2
- 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 +11 -7
- 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 +3 -3
- package/dist/collection/components/mds-author/mds-author.css +2 -1
- package/dist/collection/components/mds-avatar/AGENTS.md +4 -4
- package/dist/collection/components/mds-avatar/documentation.json +5 -5
- package/dist/collection/components/mds-avatar/mds-avatar.css +33 -21
- 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 +4 -4
- 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-avatar-stack-item/mds-avatar-stack-item.css +6 -6
- 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 +17 -15
- 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 +63 -59
- 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 +17 -8
- package/dist/collection/components/mds-bibliography/mds-bibliography.css +11 -7
- 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 +20 -9
- 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 +15 -14
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +10 -3
- package/dist/collection/components/mds-button/AGENTS.md +11 -8
- package/dist/collection/components/mds-button/antipattern.md +1 -1
- package/dist/collection/components/mds-button/documentation.json +22 -9
- package/dist/collection/components/mds-button/mds-button.css +238 -423
- package/dist/collection/components/mds-button/mds-button.js +73 -39
- package/dist/collection/components/mds-button/pattern.md +13 -0
- package/dist/collection/components/mds-button-dropdown/AGENTS.md +10 -9
- 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 +38 -17
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +26 -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-button-group/mds-button-group.js +1 -1
- package/dist/collection/components/mds-calendar/AGENTS.md +5 -5
- package/dist/collection/components/mds-calendar/documentation.json +5 -5
- package/dist/collection/components/mds-calendar/mds-calendar.css +17 -9
- package/dist/collection/components/mds-calendar/mds-calendar.js +52 -19
- 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 +3 -2
- 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-content/mds-card-content.js +1 -1
- 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-footer/mds-card-footer.js +1 -1
- package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-header/documentation.json +2 -2
- package/dist/collection/components/mds-card-header/mds-card-header.js +1 -1
- 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 +98 -95
- 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 +20 -8
- 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 +16 -11
- package/dist/collection/components/mds-dropdown/mds-dropdown.css +71 -38
- 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 +12 -12
- package/dist/collection/components/mds-emoji/antipattern.md +1 -1
- package/dist/collection/components/mds-emoji/documentation.json +35 -65
- package/dist/collection/components/mds-emoji/mds-emoji.css +5 -5
- package/dist/collection/components/mds-emoji/mds-emoji.js +101 -77
- 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 +17 -12
- package/dist/collection/components/mds-file/AGENTS.md +6 -6
- package/dist/collection/components/mds-file/documentation.json +5 -5
- package/dist/collection/components/mds-file/mds-file.css +15 -15
- package/dist/collection/components/mds-file/mds-file.js +35 -11
- package/dist/collection/components/mds-file/pattern.md +1 -1
- 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 +48 -22
- 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 +5 -3
- package/dist/collection/components/mds-filter/documentation.json +4 -4
- package/dist/collection/components/mds-filter/mds-filter.css +19 -19
- package/dist/collection/components/mds-filter/mds-filter.js +102 -20
- package/dist/collection/components/mds-filter/pattern.md +34 -4
- package/dist/collection/components/mds-filter-item/AGENTS.md +10 -9
- package/dist/collection/components/mds-filter-item/documentation.json +5 -5
- package/dist/collection/components/mds-filter-item/mds-filter-item.css +34 -21
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +54 -4
- package/dist/collection/components/mds-filter-item/pattern.md +5 -5
- 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 +26 -16
- 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 +6 -6
- package/dist/collection/components/mds-header-bar/documentation.json +14 -10
- package/dist/collection/components/mds-header-bar/mds-header-bar.css +15 -6
- package/dist/collection/components/mds-header-bar/mds-header-bar.js +22 -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 +12 -8
- package/dist/collection/components/mds-help/mds-help.css +23 -1
- 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 +3 -3
- package/dist/collection/components/mds-horizontal-scroll/documentation.json +8 -4
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +13 -13
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +18 -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 +2 -2
- package/dist/collection/components/mds-icon/AGENTS.md +2 -2
- package/dist/collection/components/mds-icon/documentation.json +5 -5
- 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.css +6 -6
- package/dist/collection/components/mds-img/mds-img.js +58 -56
- package/dist/collection/components/mds-input/AGENTS.md +17 -15
- package/dist/collection/components/mds-input/antipattern.md +1 -1
- package/dist/collection/components/mds-input/documentation.json +134 -25
- package/dist/collection/components/mds-input/mds-input.css +136 -65
- package/dist/collection/components/mds-input/mds-input.js +69 -9
- package/dist/collection/components/mds-input/pattern.md +15 -0
- package/dist/collection/components/mds-input-date/AGENTS.md +7 -4
- package/dist/collection/components/mds-input-date/antipattern.md +1 -1
- package/dist/collection/components/mds-input-date/documentation.json +72 -7
- package/dist/collection/components/mds-input-date/mds-input-date.css +53 -28
- package/dist/collection/components/mds-input-date/mds-input-date.js +61 -2
- package/dist/collection/components/mds-input-date-range/AGENTS.md +4 -2
- package/dist/collection/components/mds-input-date-range/documentation.json +67 -3
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +51 -25
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +50 -1
- 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.css +18 -18
- 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 +8 -8
- 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 +16 -15
- package/dist/collection/components/mds-input-select/AGENTS.md +7 -4
- package/dist/collection/components/mds-input-select/documentation.json +59 -8
- package/dist/collection/components/mds-input-select/mds-input-select.css +112 -31
- package/dist/collection/components/mds-input-select/mds-input-select.js +61 -7
- package/dist/collection/components/mds-input-select/pattern.md +3 -3
- package/dist/collection/components/mds-input-switch/AGENTS.md +2 -2
- package/dist/collection/components/mds-input-switch/antipattern.md +1 -1
- package/dist/collection/components/mds-input-switch/documentation.json +4 -4
- package/dist/collection/components/mds-input-switch/mds-input-switch.css +93 -71
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +19 -6
- 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.css +1 -1
- 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 +24 -21
- 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 +17 -15
- 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 +28 -16
- 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 +4 -3
- 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-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.css +13 -13
- 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 +18 -13
- package/dist/collection/components/mds-label/mds-label.js +2 -24
- package/dist/collection/components/mds-list/AGENTS.md +2 -2
- package/dist/collection/components/mds-list/documentation.json +3 -3
- package/dist/collection/components/mds-list-item/AGENTS.md +4 -3
- package/dist/collection/components/mds-list-item/documentation.json +14 -6
- package/dist/collection/components/mds-list-item/mds-list-item.css +0 -18
- package/dist/collection/components/mds-list-item/mds-list-item.js +3 -2
- package/dist/collection/components/mds-list-item/pattern.md +11 -0
- 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 +4 -13
- package/dist/collection/components/mds-mention/mds-mention.js +4 -3
- package/dist/collection/components/mds-modal/AGENTS.md +8 -7
- package/dist/collection/components/mds-modal/documentation.json +16 -7
- package/dist/collection/components/mds-modal/mds-modal.css +23 -14
- package/dist/collection/components/mds-modal/mds-modal.js +36 -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 +7 -15
- 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 +11 -6
- package/dist/collection/components/mds-notification/mds-notification.css +13 -6
- 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 +8 -8
- 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 +69 -71
- 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 +21 -15
- 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 +6 -6
- package/dist/collection/components/mds-pref/antipattern.md +1 -1
- package/dist/collection/components/mds-pref/documentation.json +20 -9
- package/dist/collection/components/mds-pref/mds-pref.js +61 -57
- 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.css +7 -7
- 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.css +4 -4
- 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.css +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 +7 -7
- 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.css +10 -2
- 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 +13 -6
- 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 +6 -6
- 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 +9 -7
- 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.css +10 -2
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +149 -31
- 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 +30 -12
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +8 -3
- 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 +3 -3
- 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 +15 -12
- 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.css +12 -12
- 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 +10 -9
- 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 +7 -3
- 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 +22 -21
- 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 +20 -103
- 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.css +6 -4
- package/dist/collection/components/mds-quote/mds-quote.js +1 -1
- package/dist/collection/components/mds-radial-menu/AGENTS.md +13 -12
- 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 +29 -10
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +57 -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 +24 -16
- 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 +3 -3
- 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 +67 -16
- 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 +14 -8
- 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.css +6 -6
- 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 +37 -20
- 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 +4 -4
- package/dist/collection/components/mds-tab/documentation.json +5 -5
- package/dist/collection/components/mds-tab/mds-tab.css +55 -27
- package/dist/collection/components/mds-tab/mds-tab.js +25 -5
- 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.css +1 -1
- 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 +36 -15
- 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 +13 -3
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +4 -1
- package/dist/collection/components/mds-table/AGENTS.md +12 -8
- package/dist/collection/components/mds-table/antipattern.md +1 -1
- package/dist/collection/components/mds-table/documentation.json +85 -10
- package/dist/collection/components/mds-table/mds-table.css +36 -26
- package/dist/collection/components/mds-table/mds-table.js +131 -21
- package/dist/collection/components/mds-table/pattern.md +34 -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 +13 -10
- 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 +16 -7
- package/dist/collection/components/mds-table-header-cell/antipattern.md +17 -10
- package/dist/collection/components/mds-table-header-cell/documentation.json +72 -10
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +166 -82
- package/dist/collection/components/mds-table-header-cell/meta/event-detail.js +1 -0
- package/dist/collection/components/mds-table-header-cell/pattern.md +27 -6
- 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 +17 -16
- 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 +4 -4
- package/dist/collection/components/mds-text/documentation.json +3 -3
- package/dist/collection/components/mds-text/mds-text.css +89 -6
- package/dist/collection/components/mds-text/mds-text.js +31 -26
- 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 +70 -21
- 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 +9 -7
- package/dist/collection/components/mds-tooltip/antipattern.md +14 -0
- package/dist/collection/components/mds-tooltip/documentation.json +61 -11
- package/dist/collection/components/mds-tooltip/mds-tooltip.css +47 -12
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +113 -14
- package/dist/collection/components/mds-tooltip/pattern.md +11 -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 +18 -17
- 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 +47 -15
- 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 +10 -9
- package/dist/collection/components/mds-url-view/mds-url-view.js +2 -2
- package/dist/collection/components/mds-usage/AGENTS.md +15 -11
- package/dist/collection/components/mds-usage/antipattern.md +17 -1
- package/dist/collection/components/mds-usage/documentation.json +48 -10
- package/dist/collection/components/mds-usage/mds-usage.css +11 -9
- package/dist/collection/components/mds-usage/mds-usage.js +30 -5
- package/dist/collection/components/mds-usage/meta/variants.js +14 -18
- package/dist/collection/components/mds-usage/pattern.md +13 -3
- 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 +13 -8
- 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 +5 -4
- package/dist/collection/components/mds-zero/mds-zero.js +1 -1
- package/dist/collection/type/floating-ui.js +1 -0
- package/dist/collection/type/input.js +2 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +1 -1
- package/dist/components/mds-accordion-item.js +1 -1
- package/dist/components/mds-accordion-timer-item.js +1 -1
- package/dist/components/mds-accordion-timer.js +1 -1
- package/dist/components/mds-accordion.js +1 -1
- package/dist/components/mds-author.js +1 -1
- package/dist/components/mds-avatar-stack-item.js +1 -1
- package/dist/components/mds-avatar-stack.js +1 -1
- package/dist/components/mds-avatar.js +1 -1
- package/dist/components/mds-badge.js +1 -1
- package/dist/components/mds-banner.js +1 -1
- package/dist/components/mds-benchmark-bar.js +1 -1
- package/dist/components/mds-bibliography.js +1 -1
- package/dist/components/mds-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 -18
- 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-2gaGDQwL.js +1 -0
- package/dist/components/p-6pgPWpGI.js +1 -0
- package/dist/components/p-AFBkzOrP.js +1 -0
- 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-BL220gRU.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/{magma-components/p-8yWTOQiz.js → components/p-Bg5E4Wnq.js} +1 -1
- package/dist/components/p-BjFCjSw6.js +1 -0
- package/dist/components/{p-zHpei4x6.js → p-BlnEiKN4.js} +1 -1
- 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-Cvhn9asj.js +1 -0
- package/dist/components/p-CylHulxe.js +1 -0
- package/dist/components/p-D3_jgpKd.js +1 -0
- package/dist/components/p-D4JiVIoh.js +1 -0
- package/dist/components/p-DACnmwad.js +1 -0
- package/dist/components/p-DGGk8PS_.js +1 -0
- 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-D_0rjNZp.js +1 -0
- package/dist/components/p-DaptTdaU.js +1 -0
- package/dist/components/{p-C7EyV0z3.js → p-DezdwzYQ.js} +1 -1
- package/dist/components/{p-s2Gu6hY7.js → p-DhIGZbIo.js} +1 -1
- package/dist/components/p-Didp833Z.js +1 -0
- package/dist/components/p-Dleapw-k.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-Bv2IVRzI.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/components/p-wHQGpA62.js +1 -0
- package/dist/documentation.json +1503 -511
- package/dist/esm/_commonjsHelpers-B85MJLTf.js +5 -0
- package/dist/esm/aria-Cvhn9asj.js +53 -0
- package/dist/esm/{floating-controller-BTYkH_Ih.js → floating-controller-BV0E_Juq.js} +37 -14
- package/dist/esm/{floating-ui.dom-CHAGzQT-.js → floating-ui.dom-BaFfIZGB.js} +147 -209
- package/dist/esm/icon-B7RVWU-q.js +18 -0
- package/dist/esm/{index-BxPbQB28.js → index-CPRkNQdE.js} +125 -96
- 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 +17 -3
- package/dist/esm/mds-accordion.entry.js +37 -22
- package/dist/esm/mds-author.entry.js +2 -2
- package/dist/esm/mds-avatar-stack-item.entry.js +2 -2
- package/dist/esm/mds-avatar-stack.entry.js +11 -5
- package/dist/esm/mds-avatar.entry.js +58 -91
- 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 +41 -4
- package/dist/esm/mds-button-group.entry.js +2 -2
- package/dist/esm/mds-button_3.entry.js +96 -65
- package/dist/esm/mds-calendar_2.entry.js +101 -26
- package/dist/esm/mds-card-content.entry.js +2 -2
- package/dist/esm/mds-card-footer.entry.js +2 -2
- package/dist/esm/mds-card-header.entry.js +3 -3
- package/dist/esm/mds-card-media.entry.js +3 -3
- 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 +31 -15
- package/dist/esm/mds-emoji.entry.js +192 -135
- package/dist/esm/mds-entity.entry.js +4 -4
- package/dist/esm/mds-file-preview.entry.js +30 -23
- package/dist/esm/mds-file.entry.js +52 -7525
- package/dist/esm/mds-filter-item.entry.js +81 -7
- package/dist/esm/mds-filter.entry.js +120 -22
- package/dist/esm/mds-header-bar.entry.js +38 -10
- package/dist/esm/mds-header.entry.js +9 -11
- package/dist/esm/mds-horizontal-scroll.entry.js +44 -13
- package/dist/esm/mds-hr.entry.js +3 -3
- package/dist/esm/mds-img.entry.js +39 -47
- package/dist/esm/mds-input-date-range-preselection.entry.js +16 -8
- package/dist/esm/mds-input-date-range.entry.js +25 -7
- package/dist/esm/mds-input-date.entry.js +43 -8
- package/dist/esm/mds-input-field.entry.js +3 -3
- package/dist/esm/mds-input-otp.entry.js +57 -22
- package/dist/esm/mds-input-range.entry.js +3 -3
- package/dist/esm/mds-input-select.entry.js +36 -9
- package/dist/esm/mds-input-switch_2.entry.js +27 -14
- package/dist/esm/mds-input-tip_2.entry.js +8 -7
- package/dist/esm/mds-input-upload.entry.js +1097 -15
- package/dist/esm/mds-input.entry.js +17 -8
- package/dist/esm/mds-keyboard-key.entry.js +4 -4
- package/dist/esm/mds-keyboard.entry.js +15 -7
- package/dist/esm/mds-kpi-item.entry.js +18 -4
- package/dist/esm/mds-kpi.entry.js +1 -1
- package/dist/esm/mds-label.entry.js +13 -30
- package/dist/esm/mds-list-item.entry.js +3 -4
- package/dist/esm/mds-list.entry.js +1 -1
- package/dist/esm/mds-mention.entry.js +7 -6
- package/dist/esm/mds-modal.entry.js +54 -10
- 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 +42 -9
- package/dist/esm/mds-pref-consumption.entry.js +42 -9
- package/dist/esm/mds-pref-contrast.entry.js +45 -33
- package/dist/esm/mds-pref-language-item.entry.js +8 -8
- package/dist/esm/mds-pref-language.entry.js +44 -22
- package/dist/esm/mds-pref-mode.entry.js +29 -25
- package/dist/esm/mds-pref-theme-item.entry.js +6 -4
- package/dist/esm/mds-pref-theme.entry.js +137 -32
- package/dist/esm/mds-pref.entry.js +47 -59
- package/dist/esm/mds-price-table-features-cell.entry.js +4 -4
- package/dist/esm/mds-price-table-features-row.entry.js +4 -4
- 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 +13 -10
- package/dist/esm/mds-push-notification.entry.js +37 -14
- package/dist/esm/mds-quote.entry.js +4 -4
- package/dist/esm/mds-radial-menu-item.entry.js +3 -3
- package/dist/esm/mds-radial-menu.entry.js +81 -36
- 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 +9 -18
- package/dist/esm/mds-tab-bar-item.entry.js +25 -16
- package/dist/esm/mds-tab-bar.entry.js +12 -6
- package/dist/esm/mds-tab_2.entry.js +31 -12
- 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 +118 -79
- 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 +87 -23
- package/dist/esm/mds-text.entry.js +39 -29
- package/dist/esm/mds-toast-region.entry.js +117 -0
- package/dist/esm/mds-toast.entry.js +163 -33
- package/dist/esm/mds-tooltip.entry.js +84 -16
- package/dist/esm/mds-tree-item.entry.js +24 -10
- 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 +26 -7
- package/dist/esm/mds-video-wall.entry.js +5 -4
- package/dist/esm/mds-zero.entry.js +4 -4
- 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/string-6pgPWpGI.js +5 -0
- package/dist/esm-es5/_commonjsHelpers-B85MJLTf.js +1 -0
- package/dist/esm-es5/aria-Cvhn9asj.js +6 -0
- package/dist/esm-es5/{floating-controller-BTYkH_Ih.js → floating-controller-BV0E_Juq.js} +22 -7
- package/dist/esm-es5/{floating-ui.dom-CHAGzQT-.js → floating-ui.dom-BaFfIZGB.js} +69 -60
- package/dist/esm-es5/icon-B7RVWU-q.js +4 -0
- package/dist/esm-es5/{index-BxPbQB28.js → index-CPRkNQdE.js} +75 -73
- 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 +7 -4
- package/dist/esm-es5/mds-button-group.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +48 -12
- package/dist/esm-es5/mds-calendar_2.entry.js +21 -8
- 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 +28 -19
- package/dist/esm-es5/mds-emoji.entry.js +334 -302
- 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 +22 -2835
- package/dist/esm-es5/mds-filter-item.entry.js +13 -1
- package/dist/esm-es5/mds-filter.entry.js +22 -2
- package/dist/esm-es5/mds-header-bar.entry.js +7 -5
- package/dist/esm-es5/mds-header.entry.js +10 -7
- package/dist/esm-es5/mds-horizontal-scroll.entry.js +16 -13
- 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 +20 -11
- package/dist/esm-es5/mds-input-date.entry.js +11 -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 +7 -7
- package/dist/esm-es5/mds-input-select.entry.js +14 -5
- package/dist/esm-es5/mds-input-switch_2.entry.js +17 -9
- package/dist/esm-es5/mds-input-tip_2.entry.js +4 -3
- package/dist/esm-es5/mds-input-upload.entry.js +5 -3
- package/dist/esm-es5/mds-input.entry.js +30 -25
- 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 +20 -8
- package/dist/esm-es5/mds-note.entry.js +5 -2
- package/dist/esm-es5/mds-notification.entry.js +24 -4
- 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 +46 -11
- package/dist/esm-es5/mds-pref.entry.js +21 -6
- 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 +10 -5
- 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 +16 -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 +22 -3
- package/dist/esm-es5/mds-table-header.entry.js +10 -5
- package/dist/esm-es5/mds-table-row.entry.js +12 -6
- package/dist/esm-es5/mds-table.entry.js +38 -7
- package/dist/esm-es5/mds-text.entry.js +26 -8
- 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 +21 -6
- package/dist/esm-es5/mds-tree-item.entry.js +15 -4
- package/dist/esm-es5/mds-tree.entry.js +16 -3
- package/dist/esm-es5/mds-url-view.entry.js +2 -2
- package/dist/esm-es5/mds-usage.entry.js +9 -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/string-6pgPWpGI.js +2 -0
- package/dist/hydrate/index.js +5339 -9639
- package/dist/hydrate/index.mjs +5339 -9639
- 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-0727d8f9.entry.js +1 -0
- 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-0bcf3bb6.entry.js +1 -0
- package/dist/magma-components/{p-a0d9e01f.system.entry.js → p-0c9bdfff.system.entry.js} +1 -1
- package/dist/magma-components/p-0dd4b006.entry.js +1 -0
- 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-11feeebf.system.entry.js +4 -0
- 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-166c0190.entry.js +1 -0
- package/dist/magma-components/p-176e6d9d.system.entry.js +4 -0
- package/dist/magma-components/{p-91451e37.system.entry.js → p-1809e47d.system.entry.js} +455 -422
- 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-1f5cd2b5.entry.js +1 -0
- package/dist/magma-components/p-1f9ebc0d.entry.js +1 -0
- package/dist/magma-components/p-1fe66383.system.entry.js +1 -0
- 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-c48e3460.entry.js → p-23ce0824.entry.js} +1 -1
- package/dist/magma-components/p-25576b51.system.entry.js +14 -0
- 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-2a2b7c43.entry.js +1 -0
- package/dist/magma-components/p-2aab3752.entry.js +1 -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-2f3c6105.entry.js +1 -0
- package/dist/magma-components/p-3093af30.system.entry.js +4 -0
- package/dist/magma-components/p-32bfb09c.entry.js +1 -0
- package/dist/magma-components/p-342770d2.system.entry.js +7 -0
- package/dist/magma-components/p-36ad5759.system.entry.js +10 -0
- package/dist/magma-components/p-3725c2c1.entry.js +1 -0
- package/dist/magma-components/p-37b801d0.system.entry.js +22 -0
- package/dist/magma-components/p-3871807a.entry.js +1 -0
- package/dist/magma-components/p-38a9e862.entry.js +1 -0
- 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-3ba5ddae.entry.js +1 -0
- 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-3eaeb263.system.entry.js +25 -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-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-4f24ccf3.entry.js +1 -0
- package/dist/magma-components/{p-f3dbebdd.system.entry.js → p-4fdda209.system.entry.js} +26 -8
- package/dist/magma-components/p-505fb7d4.entry.js +1 -0
- 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-53bcfdbb.entry.js +1 -0
- package/dist/magma-components/p-5439125d.system.entry.js +10 -0
- 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-5b21eb78.entry.js +1 -0
- package/dist/magma-components/p-5d9b1fe5.entry.js +1 -0
- package/dist/magma-components/p-5ea3be82.system.entry.js +23 -0
- package/dist/magma-components/{p-BPNsbMrg.system.js → p-5vJawLPw.system.js} +29 -14
- 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-69b37755.system.entry.js +17 -0
- package/dist/magma-components/p-6b01ef3b.entry.js +1 -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-6pgPWpGI.js +1 -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-61bedbe7.system.entry.js → p-721b625a.system.entry.js} +17 -8
- package/dist/magma-components/p-72cc4977.system.entry.js +21 -0
- package/dist/magma-components/p-7497b39d.system.entry.js +7 -0
- package/dist/magma-components/p-765ff9a3.system.entry.js +98 -0
- 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-87b15008.entry.js +1 -0
- package/dist/magma-components/p-88ac5d50.entry.js +1 -0
- package/dist/magma-components/p-88be542e.system.entry.js +7 -0
- package/dist/magma-components/{p-7c940015.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-8d8c9c90.entry.js +1 -0
- package/dist/magma-components/p-8e08ae08.system.entry.js +94 -0
- package/dist/magma-components/p-8f5f2dfe.system.entry.js +19 -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-916a26e4.entry.js +1 -0
- package/dist/magma-components/p-926ef760.entry.js +1 -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-3a1a6945.entry.js → p-96f973e3.entry.js} +1 -1
- package/dist/magma-components/p-972ff8a9.entry.js +18 -0
- 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-9e4e1a86.system.entry.js +111 -0
- package/dist/magma-components/{p-3f05ec8a.entry.js → p-9e7d02e5.entry.js} +1 -1
- package/dist/magma-components/p-AEckDMXh.js +1 -0
- package/dist/magma-components/p-B7RVWU-q.js +1 -0
- package/dist/magma-components/p-B85MJLTf.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-DaONbL_w.system.js → p-CmzGV0XD.system.js} +44 -44
- package/dist/magma-components/p-Cvhn9asj.js +1 -0
- package/dist/magma-components/p-D6-Ny6z1.system.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-DbyXf6dF.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-ZaZnuNvg.js +1 -0
- package/dist/magma-components/{p-876a5fb9.system.entry.js → p-a08d20c2.system.entry.js} +1 -1
- package/dist/magma-components/p-a136e6fe.system.entry.js +6 -0
- package/dist/magma-components/p-a1443292.entry.js +1 -0
- package/dist/magma-components/p-a1ca2441.system.entry.js +22 -0
- package/dist/magma-components/{p-f8da21a1.system.entry.js → p-a2d10402.system.entry.js} +1 -1
- package/dist/magma-components/p-a2ec6eac.entry.js +1 -0
- package/dist/magma-components/{p-d5e53364.system.entry.js → p-a40443ca.system.entry.js} +1 -1
- package/dist/magma-components/p-a47a9f11.system.entry.js +1 -0
- package/dist/magma-components/p-a4f46de1.system.entry.js +24 -0
- package/dist/magma-components/p-a51f849a.entry.js +1 -0
- package/dist/magma-components/p-a53f6a94.system.entry.js +5 -0
- package/dist/magma-components/p-a61623f9.system.entry.js +52 -0
- 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-b36d54e1.system.entry.js +41 -0
- package/dist/magma-components/p-b40ef7ab.system.entry.js +23 -0
- package/dist/magma-components/p-b48fc62e.entry.js +1 -0
- package/dist/magma-components/p-b509fb36.entry.js +1 -0
- package/dist/magma-components/{p-f65e29e0.system.entry.js → p-b514bd3a.system.entry.js} +1 -1
- package/dist/magma-components/p-b58363e2.system.entry.js +31 -0
- package/dist/magma-components/{p-a9e4efa3.entry.js → p-b62bbd07.entry.js} +1 -1
- package/dist/magma-components/p-b6b7dc40.entry.js +1 -0
- package/dist/magma-components/p-b728638c.system.entry.js +46 -0
- package/dist/magma-components/p-b919ce62.entry.js +1 -0
- package/dist/magma-components/{p-c4beed1b.entry.js → p-b940888d.entry.js} +1 -1
- package/dist/magma-components/p-b9e0b31d.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-be32b7a9.system.entry.js +13 -0
- package/dist/magma-components/p-be741e35.entry.js +1 -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-c6db7a0f.system.entry.js +22 -0
- package/dist/magma-components/p-c89c2e30.entry.js +1 -0
- package/dist/magma-components/p-ca8e0927.system.entry.js +7 -0
- package/dist/magma-components/p-cc0cb701.entry.js +1 -0
- package/dist/magma-components/{p-dcf841d5.entry.js → p-cc109576.entry.js} +1 -1
- package/dist/magma-components/p-cc88c963.system.entry.js +1 -0
- package/dist/magma-components/p-ce2ef293.system.entry.js +48 -0
- package/dist/magma-components/p-d0c0c195.entry.js +1 -0
- package/dist/magma-components/p-d0f257d9.system.entry.js +80 -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-d9551916.system.entry.js +222 -0
- package/dist/magma-components/p-da532544.system.entry.js +25 -0
- package/dist/magma-components/p-da6cf595.system.entry.js +7 -0
- 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-db75bf05.system.entry.js +49 -0
- package/dist/magma-components/p-dba5a6da.entry.js +1 -0
- package/dist/magma-components/p-dbb82d72.system.entry.js +54 -0
- package/dist/magma-components/p-dbf69d54.system.entry.js +5 -0
- package/dist/magma-components/p-dc3ef031.system.entry.js +27 -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-e471decd.system.entry.js +32 -0
- package/dist/magma-components/p-e49818c4.entry.js +1 -0
- package/dist/magma-components/p-e5ab1f4f.entry.js +1 -0
- package/dist/magma-components/p-e6ed6e12.entry.js +1 -0
- package/dist/magma-components/{p-ad09a06b.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-8c93550d.entry.js → p-ecb87d38.entry.js} +1 -1
- 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-f28e048b.system.entry.js +55 -0
- package/dist/magma-components/p-f30cdd34.system.entry.js +1 -0
- 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-f7f6881a.entry.js +1 -0
- 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-dc399372.entry.js → p-fd53a51c.entry.js} +1 -1
- package/dist/magma-components/p-ff4276d3.system.entry.js +16 -0
- package/dist/magma-components/p-nFkaC8l_.system.js +210 -0
- package/dist/magma-components/p-pxyGaQ-P.system.js +2 -0
- package/dist/magma-components/p-sm_-_oFY.system.js +6 -0
- package/dist/{components/p-faViX-qz.js → magma-components/p-zQY2FlcD.js} +1 -1
- package/dist/stats.json +6762 -4706
- 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 +16 -2
- package/dist/types/common/hash.d.ts +8 -0
- package/dist/types/common/keyboard-manager.d.ts +8 -1
- package/dist/types/common/slot.d.ts +9 -1
- package/dist/types/common/string.d.ts +3 -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 +17 -1
- package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +8 -3
- package/dist/types/components/mds-calendar/mds-calendar.d.ts +8 -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 +18 -10
- package/dist/types/components/mds-emoji/meta/gaze.d.ts +19 -0
- package/dist/types/components/mds-file/mds-file.d.ts +13 -2
- package/dist/types/components/mds-file-preview/mds-file-preview.d.ts +15 -4
- package/dist/types/components/mds-filter/mds-filter.d.ts +15 -0
- package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +16 -1
- 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 +4 -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 +2 -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 +30 -8
- package/dist/types/components/mds-input-date/mds-input-date.d.ts +12 -0
- package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +9 -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-select/mds-input-select.d.ts +15 -2
- package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +8 -3
- 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 +5 -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 +11 -9
- 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 +24 -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 +12 -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/mds-tab.d.ts +8 -0
- 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 +23 -3
- package/dist/types/components/mds-table/meta/type.d.ts +1 -0
- 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 +38 -14
- package/dist/types/components/mds-table-header-cell/meta/event-detail.d.ts +6 -0
- package/dist/types/components/mds-table-row/mds-table-row.d.ts +1 -0
- package/dist/types/components/mds-text/mds-text.d.ts +8 -4
- 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 +32 -6
- 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 +8 -1
- package/dist/types/components/mds-usage/meta/variants.d.ts +7 -19
- package/dist/types/components.d.ts +376 -137
- package/dist/types/stencil-public-runtime.d.ts +61 -55
- package/dist/types/type/floating-ui.d.ts +2 -0
- package/dist/types/type/input.d.ts +3 -0
- package/package.json +30 -29
- package/dist/cjs/_commonjsHelpers-B83fTs8d.js +0 -36
- 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/collection/dictionary/icon.js +0 -10
- package/dist/collection/type/icon.js +0 -1
- package/dist/components/p-B3Z2Goa-.js +0 -1
- package/dist/components/p-B3dWp2vS.js +0 -1
- package/dist/components/p-B6FOPjps.js +0 -1
- package/dist/components/p-B7CR1EtF.js +0 -1
- package/dist/components/p-BBPQjm8h.js +0 -1
- package/dist/components/p-BCiJ4PRD.js +0 -1
- package/dist/components/p-BHJDW5JC.js +0 -1
- package/dist/components/p-BSs0SO-j.js +0 -1
- package/dist/components/p-BTpjOy0A.js +0 -1
- package/dist/components/p-BY6Qu1V4.js +0 -1
- package/dist/components/p-BhmePCyA.js +0 -1
- package/dist/components/p-BpGzrg1C.js +0 -1
- package/dist/components/p-C-J9fW51.js +0 -1
- package/dist/components/p-CAa2kI72.js +0 -1
- package/dist/components/p-CBV19-8O.js +0 -1
- package/dist/components/p-CCv9tBZK.js +0 -1
- package/dist/components/p-CDf607TB.js +0 -1
- package/dist/components/p-CEMAGNly.js +0 -1
- package/dist/components/p-CGYDZBMv.js +0 -1
- package/dist/components/p-CHAGzQT-.js +0 -1
- package/dist/components/p-CHAvkoj3.js +0 -1
- package/dist/components/p-CMFUEkte.js +0 -1
- package/dist/components/p-CR2GGKXK.js +0 -1
- package/dist/components/p-CSCy6TMW.js +0 -1
- package/dist/components/p-Cb5kuO7B.js +0 -1
- package/dist/components/p-CiNNzAa3.js +0 -1
- package/dist/components/p-CsgCQiHG.js +0 -1
- package/dist/components/p-DGDdPv_Y.js +0 -1
- package/dist/components/p-D_wD-Pyk.js +0 -1
- package/dist/components/p-Dje8Mggf.js +0 -1
- package/dist/components/p-E-ZsRS8r.js +0 -1
- package/dist/components/p-HR2JwDjG.js +0 -1
- package/dist/components/p-KRu9I7dw.js +0 -1
- package/dist/components/p-LE7qQIFR.js +0 -8
- package/dist/components/p-pBvN1uAc.js +0 -3
- package/dist/components/p-vgIKH234.js +0 -1
- package/dist/esm/_commonjsHelpers-E-ZsRS8r.js +0 -32
- 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/_commonjsHelpers-E-ZsRS8r.js +0 -1
- package/dist/esm-es5/aria-CSCy6TMW.js +0 -1
- package/dist/esm-es5/browser-Dje8Mggf.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/magma-components/p-019e8a95.system.entry.js +0 -13
- package/dist/magma-components/p-01dd1f55.entry.js +0 -1
- package/dist/magma-components/p-02119624.system.entry.js +0 -40
- package/dist/magma-components/p-02fc7592.entry.js +0 -1
- package/dist/magma-components/p-03cd0069.system.entry.js +0 -1
- package/dist/magma-components/p-05fbca60.system.entry.js +0 -37
- package/dist/magma-components/p-06d9af89.entry.js +0 -1
- package/dist/magma-components/p-07e4701d.entry.js +0 -1
- package/dist/magma-components/p-081a19b1.system.entry.js +0 -45
- package/dist/magma-components/p-09d0b6a8.entry.js +0 -1
- package/dist/magma-components/p-0b300de7.entry.js +0 -1
- package/dist/magma-components/p-0d3c3de9.entry.js +0 -1
- package/dist/magma-components/p-1150ffb8.system.entry.js +0 -10
- package/dist/magma-components/p-115a5e47.entry.js +0 -1
- package/dist/magma-components/p-1314d80e.entry.js +0 -1
- package/dist/magma-components/p-133a6ffd.system.entry.js +0 -49
- package/dist/magma-components/p-13db55de.entry.js +0 -1
- package/dist/magma-components/p-1a2731ec.system.entry.js +0 -10
- package/dist/magma-components/p-1a602906.system.entry.js +0 -13
- package/dist/magma-components/p-1c975156.entry.js +0 -1
- package/dist/magma-components/p-1d154234.system.entry.js +0 -12
- package/dist/magma-components/p-1d9d7666.entry.js +0 -1
- package/dist/magma-components/p-1ddaaa6d.system.entry.js +0 -217
- package/dist/magma-components/p-21aa0a74.entry.js +0 -1
- package/dist/magma-components/p-21c46e74.system.entry.js +0 -4
- package/dist/magma-components/p-2399b7e8.entry.js +0 -1
- package/dist/magma-components/p-25407d89.entry.js +0 -1
- package/dist/magma-components/p-27547a7a.system.entry.js +0 -7
- package/dist/magma-components/p-289a874e.entry.js +0 -1
- package/dist/magma-components/p-2be3bd23.system.entry.js +0 -1
- package/dist/magma-components/p-2c586431.entry.js +0 -1
- package/dist/magma-components/p-2d324edc.entry.js +0 -1
- package/dist/magma-components/p-2da2cdf3.system.entry.js +0 -7
- package/dist/magma-components/p-2e01e057.system.entry.js +0 -7
- package/dist/magma-components/p-2e9b80e8.entry.js +0 -1
- package/dist/magma-components/p-30c3872d.entry.js +0 -1
- package/dist/magma-components/p-3231a6a3.entry.js +0 -1
- package/dist/magma-components/p-32361702.system.entry.js +0 -7
- package/dist/magma-components/p-3448d0ce.entry.js +0 -1
- package/dist/magma-components/p-367cee40.system.entry.js +0 -1
- package/dist/magma-components/p-3a8870e4.system.entry.js +0 -47
- package/dist/magma-components/p-3b68fbcd.system.entry.js +0 -22
- package/dist/magma-components/p-3ecade3c.system.entry.js +0 -11
- package/dist/magma-components/p-4073c5f2.system.entry.js +0 -90
- package/dist/magma-components/p-40bd2e6d.entry.js +0 -1
- package/dist/magma-components/p-423597db.system.entry.js +0 -4
- package/dist/magma-components/p-443c2a29.system.entry.js +0 -10
- package/dist/magma-components/p-45a91f1c.system.entry.js +0 -1
- package/dist/magma-components/p-487af9d3.entry.js +0 -1
- package/dist/magma-components/p-4909070e.entry.js +0 -1
- package/dist/magma-components/p-4d966161.system.entry.js +0 -14
- package/dist/magma-components/p-4ddf891e.system.entry.js +0 -69
- package/dist/magma-components/p-4e15cde7.entry.js +0 -1
- package/dist/magma-components/p-4f14a166.entry.js +0 -1
- package/dist/magma-components/p-4ffec31a.system.entry.js +0 -1
- package/dist/magma-components/p-4oB0woT9.system.js +0 -6
- package/dist/magma-components/p-50b266e9.system.entry.js +0 -4
- package/dist/magma-components/p-5165b09f.system.entry.js +0 -4
- package/dist/magma-components/p-544cc9c7.system.entry.js +0 -25
- package/dist/magma-components/p-562bb482.system.entry.js +0 -16
- package/dist/magma-components/p-5ac9e2f4.entry.js +0 -1
- package/dist/magma-components/p-5ae5ec95.entry.js +0 -1
- package/dist/magma-components/p-5d2d8ffe.system.entry.js +0 -11
- package/dist/magma-components/p-5e180f53.system.entry.js +0 -32
- package/dist/magma-components/p-61ff1d85.system.entry.js +0 -1
- package/dist/magma-components/p-62b17608.system.entry.js +0 -102
- package/dist/magma-components/p-63e7c98f.entry.js +0 -1
- package/dist/magma-components/p-6474c850.entry.js +0 -8
- package/dist/magma-components/p-660657ac.system.entry.js +0 -15
- package/dist/magma-components/p-66237a64.entry.js +0 -1
- package/dist/magma-components/p-6702e489.entry.js +0 -1
- package/dist/magma-components/p-694ed534.entry.js +0 -1
- package/dist/magma-components/p-6b446fd9.system.entry.js +0 -81
- package/dist/magma-components/p-6c414bc2.system.entry.js +0 -19
- package/dist/magma-components/p-6cbd8a6d.system.entry.js +0 -12
- package/dist/magma-components/p-6d0dc1fd.entry.js +0 -1
- package/dist/magma-components/p-6ed05d99.entry.js +0 -1
- package/dist/magma-components/p-6f2471b1.entry.js +0 -1
- package/dist/magma-components/p-6fa03aab.system.entry.js +0 -7
- package/dist/magma-components/p-70141ccd.entry.js +0 -1
- package/dist/magma-components/p-707d8626.system.entry.js +0 -2838
- package/dist/magma-components/p-71dafc3f.entry.js +0 -1
- package/dist/magma-components/p-726209f4.system.entry.js +0 -1
- package/dist/magma-components/p-745ee76b.system.entry.js +0 -32
- package/dist/magma-components/p-761415b3.system.entry.js +0 -37
- package/dist/magma-components/p-771720b7.entry.js +0 -18
- package/dist/magma-components/p-7a7c308b.entry.js +0 -1
- package/dist/magma-components/p-7bea6c05.system.entry.js +0 -10
- package/dist/magma-components/p-7ca990d4.system.entry.js +0 -11
- package/dist/magma-components/p-7d6ca97d.system.entry.js +0 -7
- package/dist/magma-components/p-7ffda4f5.entry.js +0 -1
- package/dist/magma-components/p-8097dfc8.system.entry.js +0 -7
- package/dist/magma-components/p-809adece.system.entry.js +0 -17
- package/dist/magma-components/p-843ab1b4.entry.js +0 -1
- package/dist/magma-components/p-87026d34.entry.js +0 -1
- package/dist/magma-components/p-8765dc11.entry.js +0 -1
- package/dist/magma-components/p-87faaa8e.system.entry.js +0 -16
- package/dist/magma-components/p-8a838a1a.entry.js +0 -1
- package/dist/magma-components/p-8bcb2a5f.entry.js +0 -1
- package/dist/magma-components/p-8ca1d30d.system.entry.js +0 -1
- package/dist/magma-components/p-91c4015f.system.entry.js +0 -4
- package/dist/magma-components/p-91c8960a.system.entry.js +0 -1
- package/dist/magma-components/p-932620b6.entry.js +0 -1
- package/dist/magma-components/p-939da879.system.entry.js +0 -8
- package/dist/magma-components/p-97bde480.entry.js +0 -1
- package/dist/magma-components/p-97d02403.entry.js +0 -1
- package/dist/magma-components/p-983f3e40.entry.js +0 -1
- package/dist/magma-components/p-99227c78.system.entry.js +0 -11
- package/dist/magma-components/p-9a583f6b.system.entry.js +0 -1
- package/dist/magma-components/p-9a86e0ce.system.entry.js +0 -1
- package/dist/magma-components/p-9d1cdb42.system.entry.js +0 -15
- package/dist/magma-components/p-9e5982b6.entry.js +0 -1
- package/dist/magma-components/p-9eb1e154.system.entry.js +0 -14
- package/dist/magma-components/p-9eef2f79.entry.js +0 -1
- package/dist/magma-components/p-9fe14430.system.entry.js +0 -7
- package/dist/magma-components/p-9fe7035a.entry.js +0 -1
- package/dist/magma-components/p-B6mQg6yQ.js +0 -1
- package/dist/magma-components/p-BJtA1qmE.js +0 -1
- package/dist/magma-components/p-BpVYIPkx.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-CHAGzQT-.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-DIUTGDX_.system.js +0 -1
- package/dist/magma-components/p-Dg8nxRUX.system.js +0 -201
- package/dist/magma-components/p-Dje8Mggf.js +0 -1
- package/dist/magma-components/p-E-ZsRS8r.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-a0972ec9.entry.js +0 -1
- package/dist/magma-components/p-a1851e6f.entry.js +0 -1
- package/dist/magma-components/p-a1b5bd58.entry.js +0 -1
- package/dist/magma-components/p-a2d9549d.system.entry.js +0 -32
- package/dist/magma-components/p-a5a13b20.entry.js +0 -1
- package/dist/magma-components/p-a6a71c77.entry.js +0 -1
- package/dist/magma-components/p-a96312c1.entry.js +0 -1
- package/dist/magma-components/p-aa0bd826.entry.js +0 -1
- package/dist/magma-components/p-aa74169f.system.entry.js +0 -1
- package/dist/magma-components/p-ab4ffbd4.system.entry.js +0 -68
- package/dist/magma-components/p-ad9cb1f5.entry.js +0 -1
- package/dist/magma-components/p-aed8b119.entry.js +0 -1
- package/dist/magma-components/p-afbef2fc.entry.js +0 -1
- package/dist/magma-components/p-b183d698.system.entry.js +0 -16
- package/dist/magma-components/p-b49196da.entry.js +0 -1
- package/dist/magma-components/p-b77a2832.entry.js +0 -1
- package/dist/magma-components/p-b925c109.system.entry.js +0 -14
- package/dist/magma-components/p-b9e3281a.system.entry.js +0 -72
- package/dist/magma-components/p-bb0538b6.entry.js +0 -1
- package/dist/magma-components/p-bb055583.entry.js +0 -1
- package/dist/magma-components/p-bc6a41a9.system.entry.js +0 -1
- package/dist/magma-components/p-bd9324f3.system.entry.js +0 -1
- package/dist/magma-components/p-c4ccb710.entry.js +0 -1
- package/dist/magma-components/p-c4e4ba90.system.entry.js +0 -38
- package/dist/magma-components/p-c573e136.entry.js +0 -1
- package/dist/magma-components/p-c5ad848f.entry.js +0 -1
- package/dist/magma-components/p-c6841b21.entry.js +0 -1
- package/dist/magma-components/p-c89a44b2.entry.js +0 -1
- package/dist/magma-components/p-c94575de.entry.js +0 -1
- package/dist/magma-components/p-cabe9133.system.entry.js +0 -4
- package/dist/magma-components/p-cb2c5f1b.entry.js +0 -1
- package/dist/magma-components/p-cb571b55.system.entry.js +0 -1
- package/dist/magma-components/p-cbc0f01f.system.entry.js +0 -17
- package/dist/magma-components/p-cc1ee10a.system.entry.js +0 -20
- package/dist/magma-components/p-cd1dc29a.entry.js +0 -1
- package/dist/magma-components/p-cd5cf28b.system.entry.js +0 -1
- package/dist/magma-components/p-cd952369.entry.js +0 -1
- package/dist/magma-components/p-d35aebe5.entry.js +0 -1
- package/dist/magma-components/p-d74fa7af.entry.js +0 -1
- package/dist/magma-components/p-d7515aae.entry.js +0 -1
- package/dist/magma-components/p-d7a94afb.system.entry.js +0 -7
- package/dist/magma-components/p-d93c9a11.system.entry.js +0 -89
- package/dist/magma-components/p-d9fbbf3f.entry.js +0 -1
- package/dist/magma-components/p-db492cf5.system.entry.js +0 -13
- package/dist/magma-components/p-dc06b29e.entry.js +0 -1
- package/dist/magma-components/p-dc7bada4.entry.js +0 -1
- package/dist/magma-components/p-dfb4a965.system.entry.js +0 -28
- package/dist/magma-components/p-e1a91e9e.system.entry.js +0 -1
- package/dist/magma-components/p-e2ef1d6f.entry.js +0 -1
- package/dist/magma-components/p-e5438280.system.entry.js +0 -10
- package/dist/magma-components/p-e8cd2b93.system.entry.js +0 -4
- package/dist/magma-components/p-e95f2a48.entry.js +0 -1
- package/dist/magma-components/p-eb113725.system.entry.js +0 -1
- package/dist/magma-components/p-ec5eccbb.entry.js +0 -1
- package/dist/magma-components/p-eca99a0a.system.entry.js +0 -1
- package/dist/magma-components/p-ed897f9f.entry.js +0 -1
- package/dist/magma-components/p-eea815ca.system.entry.js +0 -16
- package/dist/magma-components/p-ef4cd904.system.entry.js +0 -16
- package/dist/magma-components/p-eff1fd6c.system.entry.js +0 -15
- package/dist/magma-components/p-eff38775.entry.js +0 -1
- package/dist/magma-components/p-f01874a8.entry.js +0 -1
- package/dist/magma-components/p-f05d7005.entry.js +0 -1
- package/dist/magma-components/p-f0c67a70.system.entry.js +0 -15
- package/dist/magma-components/p-f215496c.entry.js +0 -1
- package/dist/magma-components/p-f28cfb33.system.entry.js +0 -4
- package/dist/magma-components/p-f830793e.entry.js +0 -1
- package/dist/magma-components/p-f835c307.system.entry.js +0 -7
- package/dist/magma-components/p-f89c3a01.system.entry.js +0 -32
- package/dist/magma-components/p-f8eb19b3.entry.js +0 -1
- package/dist/magma-components/p-f8feee93.system.entry.js +0 -4
- package/dist/magma-components/p-f97b4ff4.system.entry.js +0 -16
- package/dist/magma-components/p-fc8f8a0c.entry.js +0 -1
- package/dist/magma-components/p-fcaa5967.entry.js +0 -18
- package/dist/magma-components/p-ff970859.system.entry.js +0 -30
- package/dist/magma-components/p-lozaO1BU.system.js +0 -1
- package/dist/types/components/mds-avatar/meta/variants.d.ts +0 -2
- package/dist/types/dictionary/icon.d.ts +0 -4
- package/dist/types/type/icon.d.ts +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-10-
|
|
2
|
+
"timestamp": "2026-10-20T14:19:46",
|
|
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
|
{
|
|
@@ -19,8 +19,8 @@ mds-text {
|
|
|
19
19
|
*/
|
|
20
20
|
|
|
21
21
|
:host {
|
|
22
|
-
--mds-kpi-item-icon-color: rgb(var(--magma-accent-emphasis, var(--
|
|
23
|
-
--mds-kpi-item-info-background: rgb(var(--magma-surface-raised, var(--
|
|
22
|
+
--mds-kpi-item-icon-color: rgb(var(--magma-accent-emphasis, var(--variant-primary-04, 36 103 231)));
|
|
23
|
+
--mds-kpi-item-info-background: rgb(var(--magma-surface-raised, var(--surface-neutral-raised, 248 248 248)));
|
|
24
24
|
--mds-kpi-item-text-animation-placeholder-char: var(
|
|
25
25
|
--mds-kpi-text-animation-placeholder-char,
|
|
26
26
|
' '
|
|
@@ -34,7 +34,7 @@ mds-text {
|
|
|
34
34
|
@apply ease-out;
|
|
35
35
|
|
|
36
36
|
aspect-ratio: 1;
|
|
37
|
-
background-color: rgb(var(--magma-accent-surface-subtle, var(--
|
|
37
|
+
background-color: rgb(var(--magma-accent-surface-subtle, var(--variant-primary-10, 236 237 240)));
|
|
38
38
|
border-radius: var(--private-kpi-item-radius);
|
|
39
39
|
corner-shape: var(--magma-corner-shape, squircle);
|
|
40
40
|
display: flex;
|
|
@@ -180,18 +180,18 @@ mds-text {
|
|
|
180
180
|
* OS via @media; the scheme axis gates it. Cross-browser, no :host-context. */
|
|
181
181
|
|
|
182
182
|
:host([pref-mode='dark']:not([pref-theme-scheme='light'])) {
|
|
183
|
-
--mds-kpi-item-info-background: rgb(var(--magma-wash-base, var(--
|
|
183
|
+
--mds-kpi-item-info-background: rgb(var(--magma-wash-base, var(--tone-neutral-09, 225 225 225)));
|
|
184
184
|
|
|
185
|
-
background-color: rgb(var(--magma-accent-surface, var(--
|
|
185
|
+
background-color: rgb(var(--magma-accent-surface, var(--variant-primary-09, 220 224 231)));
|
|
186
186
|
box-shadow: var(--shadow-ring, 0 0 0 1px rgb(var(--tone-neutral-01, 5 5 5) / 0.3));
|
|
187
187
|
}
|
|
188
188
|
|
|
189
189
|
@media (prefers-color-scheme: dark) {
|
|
190
190
|
:host([pref-mode='system']:not([pref-theme-scheme='light'])),
|
|
191
191
|
:host(:not([pref-mode])) {
|
|
192
|
-
--mds-kpi-item-info-background: rgb(var(--magma-wash-base, var(--
|
|
192
|
+
--mds-kpi-item-info-background: rgb(var(--magma-wash-base, var(--tone-neutral-09, 225 225 225)));
|
|
193
193
|
|
|
194
|
-
background-color: rgb(var(--magma-accent-surface, var(--
|
|
194
|
+
background-color: rgb(var(--magma-accent-surface, var(--variant-primary-09, 220 224 231)));
|
|
195
195
|
box-shadow: var(--shadow-ring, 0 0 0 1px rgb(var(--tone-neutral-01, 5 5 5) / 0.3));
|
|
196
196
|
}
|
|
197
197
|
}
|
|
@@ -203,7 +203,7 @@ mds-text {
|
|
|
203
203
|
|
|
204
204
|
:host([pref-contrast='more']) {
|
|
205
205
|
box-shadow: var(--shadow-lg, 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)), var(--shadow-ring, 0 0 0 1px rgb(var(--tone-neutral-01, 5 5 5) / 0.3));
|
|
206
|
-
color: rgb(var(--magma-text-default, var(--
|
|
206
|
+
color: rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)));
|
|
207
207
|
|
|
208
208
|
.info {
|
|
209
209
|
box-shadow: var(--shadow-ring, 0 0 0 1px rgb(var(--tone-neutral-01, 5 5 5) / 0.3));
|
|
@@ -214,7 +214,7 @@ mds-text {
|
|
|
214
214
|
:host([pref-contrast='system']),
|
|
215
215
|
:host(:not([pref-contrast])) {
|
|
216
216
|
box-shadow: var(--shadow-lg, 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)), var(--shadow-ring, 0 0 0 1px rgb(var(--tone-neutral-01, 5 5 5) / 0.3));
|
|
217
|
-
color: rgb(var(--magma-text-default, var(--
|
|
217
|
+
color: rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)));
|
|
218
218
|
|
|
219
219
|
.info {
|
|
220
220
|
box-shadow: var(--shadow-ring, 0 0 0 1px rgb(var(--tone-neutral-01, 5 5 5) / 0.3));
|
|
@@ -227,14 +227,14 @@ mds-text {
|
|
|
227
227
|
* page the layer promotes under pref-contrast-more (spec 9.3). */
|
|
228
228
|
|
|
229
229
|
:host([pref-contrast='more'][pref-mode='dark']) {
|
|
230
|
-
--mds-kpi-item-info-background: rgb(var(--magma-surface-raised, var(--
|
|
230
|
+
--mds-kpi-item-info-background: rgb(var(--magma-surface-raised, var(--surface-neutral-raised, 248 248 248)));
|
|
231
231
|
|
|
232
232
|
box-shadow: var(--shadow-ring-2, 0 0 0 2px rgb(var(--tone-neutral-01, 5 5 5) / 0.3));
|
|
233
233
|
}
|
|
234
234
|
|
|
235
235
|
@media (prefers-contrast: more) {
|
|
236
236
|
:host([pref-contrast='system'][pref-mode='dark']) {
|
|
237
|
-
--mds-kpi-item-info-background: rgb(var(--magma-surface-raised, var(--
|
|
237
|
+
--mds-kpi-item-info-background: rgb(var(--magma-surface-raised, var(--surface-neutral-raised, 248 248 248)));
|
|
238
238
|
|
|
239
239
|
box-shadow: var(--shadow-ring-2, 0 0 0 2px rgb(var(--tone-neutral-01, 5 5 5) / 0.3));
|
|
240
240
|
}
|
|
@@ -242,7 +242,7 @@ mds-text {
|
|
|
242
242
|
|
|
243
243
|
@media (prefers-color-scheme: dark) {
|
|
244
244
|
:host([pref-contrast='more'][pref-mode='system']) {
|
|
245
|
-
--mds-kpi-item-info-background: rgb(var(--magma-surface-raised, var(--
|
|
245
|
+
--mds-kpi-item-info-background: rgb(var(--magma-surface-raised, var(--surface-neutral-raised, 248 248 248)));
|
|
246
246
|
|
|
247
247
|
box-shadow: var(--shadow-ring-2, 0 0 0 2px rgb(var(--tone-neutral-01, 5 5 5) / 0.3));
|
|
248
248
|
}
|
|
@@ -252,7 +252,7 @@ mds-text {
|
|
|
252
252
|
|
|
253
253
|
@media (prefers-color-scheme: dark) {
|
|
254
254
|
:host([pref-contrast='system'][pref-mode='system']) {
|
|
255
|
-
--mds-kpi-item-info-background: rgb(var(--magma-surface-raised, var(--
|
|
255
|
+
--mds-kpi-item-info-background: rgb(var(--magma-surface-raised, var(--surface-neutral-raised, 248 248 248)));
|
|
256
256
|
|
|
257
257
|
box-shadow: var(--shadow-ring-2, 0 0 0 2px rgb(var(--tone-neutral-01, 5 5 5) / 0.3));
|
|
258
258
|
}
|
|
@@ -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>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-label
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.4.0. Shadow DOM: style it only through the CSS custom properties and parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-label>` web component is the Magma Design System tag/chip used to display a short, non-interactive piece of text such as a status, a category, or a removable selection.
|
|
12
12
|
|
|
@@ -27,7 +27,7 @@ The `variant` and `tone` props follow the shared ladders defined in [`agents/var
|
|
|
27
27
|
|
|
28
28
|
#### Other behavioral props
|
|
29
29
|
|
|
30
|
-
- **`truncate`** controls overflow handling of the inner text: `'word'` (default) keeps it on one line, `'all'` wraps and clamps it to three lines with an ellipsis, and `'none'` allows multiline wrapping.
|
|
30
|
+
- **`truncate`** controls overflow handling of the inner text: `'word'` (default) keeps it on one line, `'all'` wraps and clamps it to three lines with an ellipsis, and `'none'` allows multiline wrapping. In every mode the label is as wide as its text, up to the width it is given (its own `width` or its container's), and `'all'` and `'none'` wrap the text at that width.
|
|
31
31
|
- **`typography`** selects a compact type scale (`'caption'`, `'detail'`, `'tip'`) appropriate to the label's small footprint, defaulting to `'caption'`.
|
|
32
32
|
|
|
33
33
|
## Read next
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-10-
|
|
2
|
+
"timestamp": "2026-10-20T14:19:46",
|
|
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": "This is a web-component from Maggioli Design System [Magma](https://magma.maggiolicloud.it), built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScript framework you are using.",
|
|
14
14
|
"docsTags": [],
|
|
15
15
|
"usage": {
|
|
16
|
-
"1. Description": "The `<mds-label>` web component is the Magma Design System tag/chip used to display a short, non-interactive piece of text such as a status, a category, or a removable selection.\n\n#### Semantic Behavior\n\n- **Text content**: The visible text comes from the `label` prop only; the component renders no `<slot>`, so content placed between the tags is not displayed.\n- **Deletable affordance**: When `deletable` is set, the component renders a trailing close button and emits the `mdsLabelDelete` event on activation; the click is stopped at the close button, so it does not reach a surrounding clickable container.\n- **Keyboard interaction**: While `deletable`, the close button can be triggered by keyboard as well as pointer.\n- **Localization**: The close button's `title` is localized (el/en/it; `es` currently gets the English string).\n\n#### Properties & Visual Configurations\n\nThe `variant` and `tone` props follow the shared ladders defined in [`agents/variants.md`](../../../../agents/variants.md); `tone` is limited to the minimal `'strong'` / `'weak'` set and defaults to `'weak'`.\n\n#### Component-specific variants and tones\n\n`variant` accepts both the theme label palette (e.g. `'sky'`, the default) and the status palette (`'error'`, `'warning'`, `'success'`, `'info'`). Pick a status value when the label communicates an outcome or state; pick a theme color when it is a neutral category or decorative tag.\n\n#### Other behavioral props\n\n- **`truncate`** controls overflow handling of the inner text: `'word'` (default) keeps it on one line, `'all'` wraps and clamps it to three lines with an ellipsis, and `'none'` allows multiline wrapping.\n- **`typography`** selects a compact type scale (`'caption'`, `'detail'`, `'tip'`) appropriate to the label's small footprint, defaulting to `'caption'`.\n",
|
|
16
|
+
"1. Description": "The `<mds-label>` web component is the Magma Design System tag/chip used to display a short, non-interactive piece of text such as a status, a category, or a removable selection.\n\n#### Semantic Behavior\n\n- **Text content**: The visible text comes from the `label` prop only; the component renders no `<slot>`, so content placed between the tags is not displayed.\n- **Deletable affordance**: When `deletable` is set, the component renders a trailing close button and emits the `mdsLabelDelete` event on activation; the click is stopped at the close button, so it does not reach a surrounding clickable container.\n- **Keyboard interaction**: While `deletable`, the close button can be triggered by keyboard as well as pointer.\n- **Localization**: The close button's `title` is localized (el/en/it; `es` currently gets the English string).\n\n#### Properties & Visual Configurations\n\nThe `variant` and `tone` props follow the shared ladders defined in [`agents/variants.md`](../../../../agents/variants.md); `tone` is limited to the minimal `'strong'` / `'weak'` set and defaults to `'weak'`.\n\n#### Component-specific variants and tones\n\n`variant` accepts both the theme label palette (e.g. `'sky'`, the default) and the status palette (`'error'`, `'warning'`, `'success'`, `'info'`). Pick a status value when the label communicates an outcome or state; pick a theme color when it is a neutral category or decorative tag.\n\n#### Other behavioral props\n\n- **`truncate`** controls overflow handling of the inner text: `'word'` (default) keeps it on one line, `'all'` wraps and clamps it to three lines with an ellipsis, and `'none'` allows multiline wrapping. In every mode the label is as wide as its text, up to the width it is given (its own `width` or its container's), and `'all'` and `'none'` wrap the text at that width.\n- **`typography`** selects a compact type scale (`'caption'`, `'detail'`, `'tip'`) appropriate to the label's small footprint, defaulting to `'caption'`.\n",
|
|
17
17
|
"2. Pattern": "Correct and idiomatic ways to use the `<mds-label>` component, ordered from most common to most specialized. Patterns assume a working knowledge of the variant / tone ladders documented in [`agents/variants.md`](../../../../agents/variants.md) and the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).\n\n#### Basic Label via `label` Prop\n\nThe canonical form. Use the `label` prop for the text; it is the only way to set visible content because the component renders no `<slot>` element.\n\n```html\n<mds-label label=\"Categoria\"></mds-label>\n```\n\n#### Decorative Color via `variant`\n\nPick from the twelve label palette colors for neutral, decorative tags. Default is `sky`; change only when the color carries meaning to the user.\n\n```html\n<mds-label label=\"Ambiente\" variant=\"green\"></mds-label>\n<mds-label label=\"Priorita'\" variant=\"orange\"></mds-label>\n<mds-label label=\"Archivio\" variant=\"violet\"></mds-label>\n<mds-label label=\"Bozza\" variant=\"sky\"></mds-label>\n```\n\n#### Status Variant for Outcome Communication\n\nUse a status variant when the label communicates a system outcome or validation state, not just a decorative category.\n\n```html\n<mds-label label=\"Approvato\" variant=\"success\"></mds-label>\n<mds-label label=\"In attesa\" variant=\"warning\"></mds-label>\n<mds-label label=\"Rifiutato\" variant=\"error\"></mds-label>\n<mds-label label=\"Informazione\" variant=\"info\"></mds-label>\n```\n\n#### Tone for Emphasis\n\nPair `tone=\"strong\"` for higher-contrast situations; the default `weak` is lighter and suits most inline contexts.\n\n```html\n<!-- Default: subtle tinted background -->\n<mds-label label=\"Etichetta\" variant=\"blue\" tone=\"weak\"></mds-label>\n\n<!-- Higher contrast: solid background -->\n<mds-label label=\"Etichetta\" variant=\"blue\" tone=\"strong\"></mds-label>\n```\n\n#### Deletable Label with `mdsLabelDelete` Event\n\nSet `deletable` to render the trailing close button. Listen to `mdsLabelDelete` to remove the label from your model; the close button stops event propagation so clicks do not reach a surrounding interactive container.\n\n```html\n<mds-label label=\"Tag rimovibile\" variant=\"purple\" deletable></mds-label>\n```\n\n```javascript\ndocument.querySelector('mds-label').addEventListener('mdsLabelDelete', () => {\n // rimuovi il tag dal modello\n});\n```\n\n#### Truncation Control via `truncate`\n\nUse `truncate=\"word\"` (default) to keep the text on one line, cut with an ellipsis. Use `truncate=\"none\"` to allow multiline wrapping inside a constrained container.\n\n```html\n<!-- Single-line truncation (default) -->\n<mds-label\n label=\"Testo molto lungo che supera il limite\"\n truncate=\"word\"\n variant=\"lime\"\n class=\"w-3200\"\n></mds-label>\n\n<!-- Multiline inside a narrow container -->\n<mds-label\n label=\"Testo molto lungo che supera il limite\"\n truncate=\"none\"\n variant=\"lime\"\n class=\"w-3200\"\n></mds-label>\n```\n\n#### Typography Scale\n\nChoose `typography` to match the surrounding text hierarchy. The default `caption` suits most label contexts; use `detail` (larger) next to body-size text and `tip` (smaller) only when the label sits alongside even smaller text.\n\n```html\n<mds-label label=\"Caption (default)\" variant=\"aqua\" typography=\"caption\"></mds-label>\n<mds-label label=\"Detail\" variant=\"aqua\" typography=\"detail\"></mds-label>\n<mds-label label=\"Tip\" variant=\"aqua\" typography=\"tip\"></mds-label>\n```\n\n#### Styling Customization\n\nStyle the label only through its documented `--mds-label-*` CSS custom properties. Set them on the host or a parent selector; use Magma color tokens via `rgb(var(--<token>))` so dark mode and high-contrast modes keep working.\n\n```css\n.categoria-speciale mds-label {\n --mds-label-background: rgb(var(--label-orchid-08));\n --mds-label-color: rgb(var(--label-orchid-02));\n --mds-label-button-background: rgb(var(--label-orchid-07));\n --mds-label-button-icon-color: rgb(var(--label-orchid-03));\n}\n```\n",
|
|
18
18
|
"3. Antipattern": "Common incorrect uses of `<mds-label>`. 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 Rely on the Default Slot for Visible Text\n\nThe component's `render()` method does not include a `<slot>` element, so content placed in the default slot is never rendered. Use the `label` prop exclusively.\n\n```html\n<!-- INCORRECT -->\n<mds-label>Stato documento</mds-label>\n\n<!-- CORRECT -->\n<mds-label label=\"Stato documento\"></mds-label>\n```\n\n#### Do Not Use `<mds-label>` as a Form Input Label\n\n`<mds-label>` is a standalone decorative tag for categories and statuses. It is not a replacement for `<label>` or for the `label` prop of `mds-input-field`, and it has no `for` / `htmlFor` association with form controls.\n\n```html\n<!-- INCORRECT -->\n<mds-label label=\"Nome utente\"></mds-label>\n<mds-input name=\"username\"></mds-input>\n\n<!-- CORRECT -->\n<mds-input-field label=\"Nome utente\">\n <mds-input name=\"username\"></mds-input>\n</mds-input-field>\n```\n\n#### Do Not Set `deletable=\"false\"` as a String\n\n`deletable` is a boolean prop, and a false boolean is an absent attribute ([`agents/conventions.md`](../../../../agents/conventions.md)). The runtime parses the string `\"false\"` as `false`, but the prop is not reflected, so the attribute stays on the element and `[deletable]` selectors or any code that reads the markup see a deletable tag. Remove the attribute entirely to disable the affordance.\n\n```html\n<!-- INCORRECT -->\n<mds-label label=\"Tag\" deletable=\"false\"></mds-label>\n\n<!-- CORRECT -->\n<mds-label label=\"Tag\"></mds-label>\n```\n\n#### Do Not Use a Status Variant for Decorative Tags\n\nStatus variants (`error`, `warning`, `success`, `info`) communicate system outcomes. Using them for neutral categories misleads users about the meaning of the label.\n\n```html\n<!-- INCORRECT: \"Fauna\" is a category, not an error state -->\n<mds-label label=\"Fauna\" variant=\"error\"></mds-label>\n\n<!-- CORRECT: use a decorative palette color -->\n<mds-label label=\"Fauna\" variant=\"green\"></mds-label>\n```\n\n#### Do Not Nest Interactive Elements Inside `<mds-label>`\n\nThe component renders no slot; placing buttons or links in the default slot position has no effect. For a deletable label use `deletable` and listen to `mdsLabelDelete`.\n\n```html\n<!-- INCORRECT -->\n<mds-label label=\"Categoria\">\n <button onclick=\"remove()\">x</button>\n</mds-label>\n\n<!-- CORRECT -->\n<mds-label label=\"Categoria\" deletable></mds-label>\n```\n\n#### Customize via Documented Vars, Not Internal Selectors\n\nThe supported customization surface is `--mds-label-*` CSS custom properties. Targeting shadow internals via `::part()`, `>>>`, or undocumented class names couples your code to the Shadow DOM implementation and will break on minor releases.\n\n```css\n/* INCORRECT */\nmds-label >>> .text {\n font-weight: bold;\n}\n\n/* CORRECT */\nmds-label {\n --mds-label-background: rgb(var(--label-blue-08));\n --mds-label-color: rgb(var(--label-blue-02));\n}\n```\n"
|
|
19
19
|
},
|
|
@@ -44,7 +44,12 @@ mds-text {
|
|
|
44
44
|
fill: var(--mds-label-icon-color, rgb(var(--label-blue-02, 7 39 192)));
|
|
45
45
|
flex: 1;
|
|
46
46
|
gap: --spacing(50);
|
|
47
|
-
|
|
47
|
+
|
|
48
|
+
/* The label is as wide as its text and no wider than the space it is given. fit-content and
|
|
49
|
+
* not min-content: a text that wraps (truncate none or all) has the narrowest box it can wrap
|
|
50
|
+
* into as min-content, a single letter under the overflow-wrap: anywhere of the styles reset,
|
|
51
|
+
* and it capped the width the label was given down to a column of letters (#1008). */
|
|
52
|
+
max-width: fit-content;
|
|
48
53
|
min-height: --spacing(700);
|
|
49
54
|
padding: 0 --spacing(200);
|
|
50
55
|
transition-duration: var(--duration-200, 200ms);
|
|
@@ -356,9 +361,9 @@ mds-text {
|
|
|
356
361
|
:host([variant='error']) {
|
|
357
362
|
--mds-label-background: rgb(var(--magma-danger-emphasis, var(--status-error-04, 196 64 65)));
|
|
358
363
|
--mds-label-button-background-hover: rgb(var(--magma-danger-emphasis-hover, var(--status-error-03, 165 33 40)));
|
|
359
|
-
--mds-label-button-icon-color: rgb(var(--magma-danger-on-emphasis, var(--
|
|
360
|
-
--mds-label-color: rgb(var(--magma-danger-on-emphasis, var(--
|
|
361
|
-
--mds-label-icon-color: rgb(var(--magma-danger-on-emphasis, var(--
|
|
364
|
+
--mds-label-button-icon-color: rgb(var(--magma-danger-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
365
|
+
--mds-label-color: rgb(var(--magma-danger-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
366
|
+
--mds-label-icon-color: rgb(var(--magma-danger-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
362
367
|
--mds-label-selection-background: rgb(var(--magma-danger-wash-strong, var(--status-error-08, 254 198 194)));
|
|
363
368
|
--mds-label-selection-color: rgb(var(--magma-danger-text-muted, var(--text-error-muted, 132 0 11)));
|
|
364
369
|
|
|
@@ -376,9 +381,9 @@ mds-text {
|
|
|
376
381
|
:host([variant='warning']) {
|
|
377
382
|
--mds-label-background: rgb(var(--magma-warning-emphasis, var(--status-warning-04, 142 106 0)));
|
|
378
383
|
--mds-label-button-background-hover: rgb(var(--magma-warning-emphasis-hover, var(--status-warning-03, 113 85 0)));
|
|
379
|
-
--mds-label-button-icon-color: rgb(var(--magma-warning-on-emphasis, var(--
|
|
380
|
-
--mds-label-color: rgb(var(--magma-warning-on-emphasis, var(--
|
|
381
|
-
--mds-label-icon-color: rgb(var(--magma-warning-on-emphasis, var(--
|
|
384
|
+
--mds-label-button-icon-color: rgb(var(--magma-warning-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
385
|
+
--mds-label-color: rgb(var(--magma-warning-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
386
|
+
--mds-label-icon-color: rgb(var(--magma-warning-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
382
387
|
--mds-label-selection-background: rgb(var(--magma-warning-wash-strong, var(--status-warning-08, 255 205 57)));
|
|
383
388
|
--mds-label-selection-color: rgb(var(--magma-warning-text-muted, var(--text-warning-muted, 88 66 0)));
|
|
384
389
|
|
|
@@ -396,9 +401,9 @@ mds-text {
|
|
|
396
401
|
:host([variant='success']) {
|
|
397
402
|
--mds-label-background: rgb(var(--magma-success-emphasis, var(--status-success-04, 0 128 57)));
|
|
398
403
|
--mds-label-button-background-hover: rgb(var(--magma-success-emphasis-hover, var(--status-success-03, 0 102 32)));
|
|
399
|
-
--mds-label-button-icon-color: rgb(var(--magma-success-on-emphasis, var(--
|
|
400
|
-
--mds-label-color: rgb(var(--magma-success-on-emphasis, var(--
|
|
401
|
-
--mds-label-icon-color: rgb(var(--magma-success-on-emphasis, var(--
|
|
404
|
+
--mds-label-button-icon-color: rgb(var(--magma-success-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
405
|
+
--mds-label-color: rgb(var(--magma-success-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
406
|
+
--mds-label-icon-color: rgb(var(--magma-success-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
402
407
|
--mds-label-selection-background: rgb(var(--magma-success-wash-strong, var(--status-success-08, 165 225 186)));
|
|
403
408
|
--mds-label-selection-color: rgb(var(--magma-success-text-muted, var(--text-success-muted, 0 80 7)));
|
|
404
409
|
|
|
@@ -416,9 +421,9 @@ mds-text {
|
|
|
416
421
|
:host([variant='info']) {
|
|
417
422
|
--mds-label-background: rgb(var(--magma-info-emphasis, var(--status-info-04, 0 119 164)));
|
|
418
423
|
--mds-label-button-background-hover: rgb(var(--magma-info-emphasis-hover, var(--status-info-03, 0 94 137)));
|
|
419
|
-
--mds-label-button-icon-color: rgb(var(--magma-info-on-emphasis, var(--
|
|
420
|
-
--mds-label-color: rgb(var(--magma-info-on-emphasis, var(--
|
|
421
|
-
--mds-label-icon-color: rgb(var(--magma-info-on-emphasis, var(--
|
|
424
|
+
--mds-label-button-icon-color: rgb(var(--magma-info-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
425
|
+
--mds-label-color: rgb(var(--magma-info-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
426
|
+
--mds-label-icon-color: rgb(var(--magma-info-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
422
427
|
--mds-label-selection-background: rgb(var(--magma-info-wash-strong, var(--status-info-08, 168 219 242)));
|
|
423
428
|
--mds-label-selection-color: rgb(var(--magma-info-text-muted, var(--text-info-muted, 0 71 114)));
|
|
424
429
|
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import miBaselineCancel from "@icon/mi/baseline/cancel.svg";
|
|
2
2
|
import { Host, h } from "@stencil/core";
|
|
3
|
-
import { KeyboardManager } from "../../common/keyboard-manager";
|
|
4
3
|
import { Locale } from "../../common/locale";
|
|
5
4
|
import { preferenceStore } from "../../common/preference";
|
|
6
5
|
import localeEl from "./meta/locale.el.json";
|
|
7
6
|
import localeEn from "./meta/locale.en.json";
|
|
8
|
-
import localeEs from "./meta/locale.
|
|
7
|
+
import localeEs from "./meta/locale.es.json";
|
|
9
8
|
import localeIt from "./meta/locale.it.json";
|
|
10
9
|
export class MdsLabel {
|
|
11
10
|
constructor() {
|
|
12
|
-
this.km = new KeyboardManager();
|
|
13
11
|
this.t = new Locale({
|
|
14
12
|
el: localeEl,
|
|
15
13
|
en: localeEn,
|
|
@@ -41,28 +39,9 @@ export class MdsLabel {
|
|
|
41
39
|
ev.preventDefault();
|
|
42
40
|
this.deletedEvent.emit();
|
|
43
41
|
};
|
|
44
|
-
this.handleKeyboard = () => {
|
|
45
|
-
var _a;
|
|
46
|
-
if (this.deletable) {
|
|
47
|
-
const close = (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.close');
|
|
48
|
-
this.km.addElement(close);
|
|
49
|
-
this.km.attachClickBehavior();
|
|
50
|
-
return;
|
|
51
|
-
}
|
|
52
|
-
this.km.detachClickBehavior();
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
componentDidLoad() {
|
|
56
|
-
this.handleKeyboard();
|
|
57
|
-
}
|
|
58
|
-
componentDidUpdate() {
|
|
59
|
-
this.handleKeyboard();
|
|
60
|
-
}
|
|
61
|
-
disconnectedCallback() {
|
|
62
|
-
this.km.detachClickBehavior();
|
|
63
42
|
}
|
|
64
43
|
render() {
|
|
65
|
-
return (h(Host, { key: '
|
|
44
|
+
return (h(Host, { key: '8f6ca08bbc9cfa1ea3998c2d375b7adbc19dee80', "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, h("mds-text", { key: 'a02aa83c34deff7dfd83dcd3d586da5d06106e69', class: "text", truncate: this.truncate, typography: this.typography }, this.label), this.deletable && (h("mds-button", { key: '074e518bf6aae0dda189a6ccc52d8f81d8663a04', class: "button-close", icon: miBaselineCancel, onClick: this.onClickDelete, title: this.t.get('remove'), size: "sm" }))));
|
|
66
45
|
}
|
|
67
46
|
static get is() { return "mds-label"; }
|
|
68
47
|
static get encapsulation() { return "shadow"; }
|
|
@@ -244,5 +223,4 @@ export class MdsLabel {
|
|
|
244
223
|
}
|
|
245
224
|
}];
|
|
246
225
|
}
|
|
247
|
-
static get elementRef() { return "host"; }
|
|
248
226
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-list
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.4.0. Shadow DOM: style it only through the CSS custom properties and parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-list>` web component is the structural container of the Magma Design System list family. It is a thin compound parent that groups one or more `<mds-list-item>` children and replaces the native `<ul>`/`<ol>` primitive with an accessible, design-system-aware wrapper.
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ The `<mds-list>` web component is the structural container of the Magma Design S
|
|
|
18
18
|
|
|
19
19
|
#### Properties & Visual Configurations
|
|
20
20
|
|
|
21
|
-
This component exposes no configurable props; it carries no `variant`, `tone`,
|
|
21
|
+
This component exposes no configurable props; it carries no `variant`, `tone`, `size` or text colour of its own: the items take the colour of the container, and a class such as `text-fg-muted` on `<mds-list>` makes the whole list secondary. All appearance and behavior are delegated to the slotted `<mds-list-item>` children. For the shared ladders that govern the children, see [`agents/variants.md`](../../../../agents/variants.md).
|
|
22
22
|
|
|
23
23
|
## Read next
|
|
24
24
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-10-
|
|
2
|
+
"timestamp": "2026-10-20T14:19:46",
|
|
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,7 +18,7 @@
|
|
|
18
18
|
}
|
|
19
19
|
],
|
|
20
20
|
"usage": {
|
|
21
|
-
"1. Description": "The `<mds-list>` web component is the structural container of the Magma Design System list family. It is a thin compound parent that groups one or more `<mds-list-item>` children and replaces the native `<ul>`/`<ol>` primitive with an accessible, design-system-aware wrapper.\n\n#### Semantic Behavior\n\n- **List role**: Exposes the group as a semantic list to assistive technology regardless of the surrounding markup.\n- **Compound parent**: Acts purely as the container; the visual rows (leading glyph and text) live in the slotted `<mds-list-item>` children.\n- **Default slot is structural**: The default slot is meant to receive `<mds-list-item>` element(s) rather than free text.\n\n#### Properties & Visual Configurations\n\nThis component exposes no configurable props; it carries no `variant`, `tone`,
|
|
21
|
+
"1. Description": "The `<mds-list>` web component is the structural container of the Magma Design System list family. It is a thin compound parent that groups one or more `<mds-list-item>` children and replaces the native `<ul>`/`<ol>` primitive with an accessible, design-system-aware wrapper.\n\n#### Semantic Behavior\n\n- **List role**: Exposes the group as a semantic list to assistive technology regardless of the surrounding markup.\n- **Compound parent**: Acts purely as the container; the visual rows (leading glyph and text) live in the slotted `<mds-list-item>` children.\n- **Default slot is structural**: The default slot is meant to receive `<mds-list-item>` element(s) rather than free text.\n\n#### Properties & Visual Configurations\n\nThis component exposes no configurable props; it carries no `variant`, `tone`, `size` or text colour of its own: the items take the colour of the container, and a class such as `text-fg-muted` on `<mds-list>` makes the whole list secondary. All appearance and behavior are delegated to the slotted `<mds-list-item>` children. For the shared ladders that govern the children, see [`agents/variants.md`](../../../../agents/variants.md).\n",
|
|
22
22
|
"2. Pattern": "Correct and idiomatic ways to use the `<mds-list>` component, ordered from most common to most specialized. Patterns assume a working knowledge of the typography scale documented in [`agents/typography.md`](../../../../agents/typography.md) and the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).\n\n#### Basic List\n\nThe canonical form. Place `<mds-list-item>` children directly inside `<mds-list>`. Each item renders a leading bullet glyph (the default list-dot icon) and the slotted text.\n\n```html\n<mds-list>\n <mds-list-item>Rinnova la licenza annuale</mds-list-item>\n <mds-list-item>Verifica i dati di fatturazione</mds-list-item>\n <mds-list-item>Scarica la ricevuta in PDF</mds-list-item>\n</mds-list>\n```\n\n#### Overriding the Item Icon\n\nPass an icon slug to `<mds-list-item>` via the `icon` prop to replace the default bullet with a meaningful glyph. Leave the prop unset to keep the standard dot.\n\n```html\n<mds-list>\n <mds-list-item icon=\"mi/baseline/check-circle\">Profilo aggiornato</mds-list-item>\n <mds-list-item icon=\"mi/baseline/check-circle\">Password modificata</mds-list-item>\n <mds-list-item icon=\"mi/baseline/pending\">Verifica email in attesa</mds-list-item>\n</mds-list>\n```\n\n#### Choosing the Typography Scale\n\nUse the `typography` prop on each `<mds-list-item>` to match the visual density of the surrounding content. The default is `detail`; use `paragraph` for body-copy contexts and `caption` or `tip` for compact secondary lists.\n\n```html\n<!-- Body-copy density - long paragraphs nearby -->\n<mds-list>\n <mds-list-item typography=\"paragraph\">Seleziona il piano adatto alle tue esigenze</mds-list-item>\n <mds-list-item typography=\"paragraph\">Inserisci i dati di pagamento</mds-list-item>\n <mds-list-item typography=\"paragraph\">Conferma l'ordine e ricevi la ricevuta</mds-list-item>\n</mds-list>\n\n<!-- Compact secondary list -->\n<mds-list>\n <mds-list-item typography=\"caption\">Aggiornato il 01/06/2026</mds-list-item>\n <mds-list-item typography=\"caption\">Versione 3.2.1</mds-list-item>\n</mds-list>\n```\n\n#### Reading Variant for Long-Form Content\n\nSet `variant=\"read\"` when list items appear inside a reading-optimized context (article, tutorial, legal text). Use the default `variant=\"info\"` for compact informational lists.\n\n```html\n<mds-list>\n <mds-list-item typography=\"paragraph\" variant=\"read\">\n Il servizio e' disponibile per tutti gli enti pubblici italiani\n </mds-list-item>\n <mds-list-item typography=\"paragraph\" variant=\"read\">\n L'accesso avviene tramite credenziali SPID o CIE\n </mds-list-item>\n <mds-list-item typography=\"paragraph\" variant=\"read\">\n I dati sono trattati in conformita' al GDPR\n </mds-list-item>\n</mds-list>\n```\n\n#### Mixed Icon and Default Bullet in the Same List\n\nYou can mix items with an explicit `icon` and items that fall back to the default bullet within the same `<mds-list>`. Each item is independent.\n\n```html\n<mds-list>\n <mds-list-item icon=\"mi/baseline/warning\">Modulo non compilato</mds-list-item>\n <mds-list-item>Campo facoltativo ignorato</mds-list-item>\n <mds-list-item icon=\"mi/baseline/error\">Firma digitale mancante</mds-list-item>\n</mds-list>\n```\n\n#### Styling Customization via CSS Custom Property\n\nAdjust icon spacing through the documented `--mds-list-item-icon-margin` CSS custom property. Set it on the `<mds-list-item>` host or on a parent selector; use Magma spacing tokens.\n\n```css\n.sidebar-checklist mds-list-item {\n --mds-list-item-icon-margin: 0 calc(var(--spacing) * 300) 0 0;\n}\n```\n\n#### Shadow Part Customization\n\nReach the icon or text nodes through the documented `::part(icon)` and `::part(text)` parts of `<mds-list-item>` when CSS custom properties are insufficient. Do not pierce the shadow DOM via `>>>` or undocumented selectors.\n\n```css\n/* Tint the leading icon of every item in a warning context */\n.alert-list mds-list-item::part(icon) {\n fill: rgb(var(--magma-warning-fg));\n}\n```\n",
|
|
23
23
|
"3. Antipattern": "Common incorrect uses of `<mds-list>` and `<mds-list-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 Replace `<mds-list>` with a Native `<ul>` or `<ol>`\n\nUsing a raw list element bypasses the design-system layout, typography defaults, and FOUC handling built into the component pair.\n\n```html\n<!-- INCORRECT -->\n<ul>\n <li>Primo elemento</li>\n <li>Secondo elemento</li>\n</ul>\n\n<!-- CORRECT -->\n<mds-list>\n <mds-list-item>Primo elemento</mds-list-item>\n <mds-list-item>Secondo elemento</mds-list-item>\n</mds-list>\n```\n\n#### Do Not Put HTML Elements in the Default Slot of `<mds-list-item>`\n\nThe default slot of `<mds-list-item>` accepts a plain text string only; placing HTML elements or other components there is explicitly discouraged in the component's API and can break layout and compound-component communication.\n\n```html\n<!-- INCORRECT -->\n<mds-list>\n <mds-list-item>\n <strong>Allegato 1</strong> - Contratto firmato\n </mds-list-item>\n</mds-list>\n\n<!-- CORRECT -->\n<mds-list>\n <mds-list-item>Allegato 1 - Contratto firmato</mds-list-item>\n</mds-list>\n```\n\n#### Do Not Use `<mds-list-item>` Outside `<mds-list>`\n\n`<mds-list-item>` is a compound child designed to work exclusively inside `<mds-list>`. Using it standalone or wrapping it in a plain `<div>` breaks the accessible list context.\n\n```html\n<!-- INCORRECT -->\n<div class=\"my-list\">\n <mds-list-item>Voce autonoma</mds-list-item>\n</div>\n\n<!-- CORRECT -->\n<mds-list>\n <mds-list-item>Voce autonoma</mds-list-item>\n</mds-list>\n```\n\n#### Do Not Slot `<mds-icon>` to Override the Bullet\n\nThe `icon` prop on `<mds-list-item>` is the supported way to change the leading glyph. Slotting `<mds-icon>` into the default slot puts it inline in a text-only slot, misaligned, while the default bullet still renders.\n\n```html\n<!-- INCORRECT -->\n<mds-list>\n <mds-list-item>\n <mds-icon name=\"mi/baseline/check\"></mds-icon>\n Voce completata\n </mds-list-item>\n</mds-list>\n\n<!-- CORRECT -->\n<mds-list>\n <mds-list-item icon=\"mi/baseline/check\">Voce completata</mds-list-item>\n</mds-list>\n```\n\n#### Do Not Add Non-Item Children Directly to `<mds-list>`\n\nThe default slot of `<mds-list>` is documented to receive `<mds-list-item>` elements. Mixing in headings, paragraphs, or other components breaks the expected structure and removes the semantic list context.\n\n```html\n<!-- INCORRECT -->\n<mds-list>\n <mds-text typography=\"h6\">Documenti richiesti</mds-text>\n <mds-list-item>Documento d'identita'</mds-list-item>\n <mds-list-item>Codice fiscale</mds-list-item>\n</mds-list>\n\n<!-- CORRECT -->\n<mds-text typography=\"h6\">Documenti richiesti</mds-text>\n<mds-list>\n <mds-list-item>Documento d'identita'</mds-list-item>\n <mds-list-item>Codice fiscale</mds-list-item>\n</mds-list>\n```\n\n#### Do Not Apply an Invalid `typography` Value to `<mds-list-item>`\n\n`mds-list-item.typography` accepts `TypographyInfoType | TypographyReadType` - the allowed values are `caption`, `detail`, `label`, `option`, `paragraph`, and `tip`. Heading values such as `h1`-`h6` or `action` are outside the type and are not checked at runtime: the inner text renders the heading style next to a bullet aligned for body text.\n\n```html\n<!-- INCORRECT -->\n<mds-list>\n <mds-list-item typography=\"h3\">Titolo non valido</mds-list-item>\n</mds-list>\n\n<!-- CORRECT -->\n<mds-list>\n <mds-list-item typography=\"paragraph\">Testo valido</mds-list-item>\n</mds-list>\n```\n"
|
|
24
24
|
},
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-list-item
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.4.0. Shadow DOM: style it only through the CSS custom properties and parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-list-item>` web component is the single entry of a Magma list, designed to be slotted exclusively inside its parent [`<mds-list>`](../mds-list/AGENTS.md). It plays the role of a native `<li>`, pairing a leading icon with a text string so that the parent `<mds-list>` can present a coherent, accessible list.
|
|
12
12
|
|
|
@@ -15,6 +15,7 @@ The `<mds-list-item>` web component is the single entry of a Magma list, designe
|
|
|
15
15
|
- **Compound child only**: Must be placed as a direct default-slot child of `<mds-list>`; it is not used standalone or mixed with other element types.
|
|
16
16
|
- **Leading icon is always present**: The component renders an icon before its text; when no `icon` is supplied it falls back to a built-in list-dot glyph, which is decorative.
|
|
17
17
|
- **Text-only default slot**: The default slot is intended for a plain text string; adding HTML elements or other components here is discouraged.
|
|
18
|
+
- **Inherited text colour**: The item sets no colour of its own: its text and its leading icon take the colour of the container, as `<mds-text>` does, so a list reads like the paragraphs around it and follows a container that sets its own colour (a tinted card, a banner). For a secondary list, set the muted role on `<mds-list>` or on its container (`text-fg-muted`).
|
|
18
19
|
|
|
19
20
|
#### Properties & Visual Configurations
|
|
20
21
|
|
|
@@ -46,8 +47,8 @@ The `<mds-list-item>` web component is the single entry of a Magma list, designe
|
|
|
46
47
|
|
|
47
48
|
| Part | Description |
|
|
48
49
|
| --- | --- |
|
|
49
|
-
| `icon` |
|
|
50
|
-
| `text` |
|
|
50
|
+
| `icon` | The bullet icon before the text, the one `icon` sets |
|
|
51
|
+
| `text` | The text of the item, around the default slot |
|
|
51
52
|
|
|
52
53
|
## CSS custom properties
|
|
53
54
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-10-
|
|
2
|
+
"timestamp": "2026-10-20T14:19:46",
|
|
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": [
|
|
@@ -15,11 +15,19 @@
|
|
|
15
15
|
{
|
|
16
16
|
"name": "slot",
|
|
17
17
|
"text": "- Add `text string` to this slot, **avoid** to add `HTML elements` or `components` here."
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "part",
|
|
21
|
+
"text": "icon - The bullet icon before the text, the one `icon` sets"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "part",
|
|
25
|
+
"text": "text - The text of the item, around the default slot"
|
|
18
26
|
}
|
|
19
27
|
],
|
|
20
28
|
"usage": {
|
|
21
|
-
"1. Description": "The `<mds-list-item>` web component is the single entry of a Magma list, designed to be slotted exclusively inside its parent [`<mds-list>`](../mds-list/AGENTS.md). It plays the role of a native `<li>`, pairing a leading icon with a text string so that the parent `<mds-list>` can present a coherent, accessible list.\n\n#### Semantic Behavior\n\n- **Compound child only**: Must be placed as a direct default-slot child of `<mds-list>`; it is not used standalone or mixed with other element types.\n- **Leading icon is always present**: The component renders an icon before its text; when no `icon` is supplied it falls back to a built-in list-dot glyph, which is decorative.\n- **Text-only default slot**: The default slot is intended for a plain text string; adding HTML elements or other components here is discouraged.\n\n#### Properties & Visual Configurations\n\n- **`typography`**: Selects the text style of the item (default `detail`), drawn from the shared typography scale; pick the value that matches the density and hierarchy of the surrounding list content.\n- **`variant`**: Refines the chosen `typography` (default `info`); use `read` for long-form reading contexts and `info` for compact informational lists.\n- **`icon`**: Overrides the default list-dot with a named icon when a list entry benefits from a meaningful leading glyph; leave unset to keep the standard bullet.\n",
|
|
22
|
-
"2. Pattern": "Correct and idiomatic ways to use the `<mds-list-item>` component, ordered from most common to most specialized. Patterns assume a working knowledge of the typography scale documented in [`agents/typography.md`](../../../../agents/typography.md) and the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).\n\n#### Basic List with Default Bullet\n\nThe canonical form. Place one or more `<mds-list-item>` elements as direct children of [`<mds-list>`](../mds-list/AGENTS.md). Text content goes in the default slot. When no `icon` is provided the component renders the built-in list-dot glyph automatically.\n\n```html\n<mds-list>\n <mds-list-item>Pane</mds-list-item>\n <mds-list-item>Acqua</mds-list-item>\n <mds-list-item>Pasta</mds-list-item>\n</mds-list>\n```\n\n#### Typography Scale\n\nUse the `typography` prop to match the text density of the surrounding content. The default is `detail`; switch to `paragraph` for body-text contexts or `caption` / `tip` for fine-print lists.\n\n```html\n<mds-list>\n <!-- Body-text list -->\n <mds-list-item typography=\"paragraph\">Seleziona un elemento dalla lista</mds-list-item>\n <mds-list-item typography=\"paragraph\">Conferma la scelta effettuata</mds-list-item>\n <mds-list-item typography=\"paragraph\">Salva le modifiche apportate</mds-list-item>\n</mds-list>\n\n<mds-list>\n <!-- Fine-print annotation list -->\n <mds-list-item typography=\"caption\">I campi contrassegnati sono obbligatori</mds-list-item>\n <mds-list-item typography=\"caption\">La password deve contenere almeno 8 caratteri</mds-list-item>\n</mds-list>\n```\n\n#### Reading Variant\n\nUse `variant=\"read\"` for long-form reading contexts (articles, documentation); keep the default `variant=\"info\"` for compact informational lists in UI panels.\n\n```html\n<!-- Long-form reading context -->\n<mds-list>\n <mds-list-item typography=\"paragraph\" variant=\"read\">\n Il servizio e disponibile dal lunedi al venerdi, dalle 9 alle 18.\n </mds-list-item>\n <mds-list-item typography=\"paragraph\" variant=\"read\">\n Per assistenza urgente contattare il numero verde dedicato.\n </mds-list-item>\n</mds-list>\n```\n\n#### Custom Leading Icon\n\nSupply an icon slug via the `icon` prop to replace the default bullet with a meaningful glyph. Use this when each entry maps to a distinct category or action.\n\n```html\n<mds-list>\n <mds-list-item icon=\"mi/baseline/check-circle\">Account verificato</mds-list-item>\n <mds-list-item icon=\"mi/baseline/lock\">Accesso sicuro attivato</mds-list-item>\n <mds-list-item icon=\"mi/baseline/notifications\">Notifiche abilitate</mds-list-item>\n</mds-list>\n```\n\n#### Uniform Icon Across All Items\n\nWhen every item shares the same icon - for example a checklist or a feature list - set the same `icon` on each item for visual consistency.\n\n```html\n<mds-list>\n <mds-list-item icon=\"mi/baseline/check\">Supporto multilingua incluso</mds-list-item>\n <mds-list-item icon=\"mi/baseline/check\">Aggiornamenti automatici</mds-list-item>\n <mds-list-item icon=\"mi/baseline/check\">Assistenza prioritaria 24/7</mds-list-item>\n</mds-list>\n```\n\n#### Styling Customization via CSS Custom Property\n\nAdjust the icon margin through the documented `--mds-list-item-icon-margin` CSS custom property. Set it on the host or a parent selector; use Magma spacing tokens for consistency.\n\n```css\n.compact-list mds-list-item {\n --mds-list-item-icon-margin: 0 calc(var(--spacing) * 100) 0 0;\n}\n```\n\n#### Styling the Icon Part\n\nUse the documented `::part(icon)` surface to tint or resize the leading icon. Prefer Magma color tokens to keep dark-mode compatibility.\n\n```css\n.status-list mds-list-item::part(icon) {\n fill: rgb(var(--magma-success-fg));\n}\n```\n",
|
|
29
|
+
"1. Description": "The `<mds-list-item>` web component is the single entry of a Magma list, designed to be slotted exclusively inside its parent [`<mds-list>`](../mds-list/AGENTS.md). It plays the role of a native `<li>`, pairing a leading icon with a text string so that the parent `<mds-list>` can present a coherent, accessible list.\n\n#### Semantic Behavior\n\n- **Compound child only**: Must be placed as a direct default-slot child of `<mds-list>`; it is not used standalone or mixed with other element types.\n- **Leading icon is always present**: The component renders an icon before its text; when no `icon` is supplied it falls back to a built-in list-dot glyph, which is decorative.\n- **Text-only default slot**: The default slot is intended for a plain text string; adding HTML elements or other components here is discouraged.\n- **Inherited text colour**: The item sets no colour of its own: its text and its leading icon take the colour of the container, as `<mds-text>` does, so a list reads like the paragraphs around it and follows a container that sets its own colour (a tinted card, a banner). For a secondary list, set the muted role on `<mds-list>` or on its container (`text-fg-muted`).\n\n#### Properties & Visual Configurations\n\n- **`typography`**: Selects the text style of the item (default `detail`), drawn from the shared typography scale; pick the value that matches the density and hierarchy of the surrounding list content.\n- **`variant`**: Refines the chosen `typography` (default `info`); use `read` for long-form reading contexts and `info` for compact informational lists.\n- **`icon`**: Overrides the default list-dot with a named icon when a list entry benefits from a meaningful leading glyph; leave unset to keep the standard bullet.\n",
|
|
30
|
+
"2. Pattern": "Correct and idiomatic ways to use the `<mds-list-item>` component, ordered from most common to most specialized. Patterns assume a working knowledge of the typography scale documented in [`agents/typography.md`](../../../../agents/typography.md) and the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).\n\n#### Basic List with Default Bullet\n\nThe canonical form. Place one or more `<mds-list-item>` elements as direct children of [`<mds-list>`](../mds-list/AGENTS.md). Text content goes in the default slot. When no `icon` is provided the component renders the built-in list-dot glyph automatically.\n\n```html\n<mds-list>\n <mds-list-item>Pane</mds-list-item>\n <mds-list-item>Acqua</mds-list-item>\n <mds-list-item>Pasta</mds-list-item>\n</mds-list>\n```\n\n#### Typography Scale\n\nUse the `typography` prop to match the text density of the surrounding content. The default is `detail`; switch to `paragraph` for body-text contexts or `caption` / `tip` for fine-print lists.\n\n```html\n<mds-list>\n <!-- Body-text list -->\n <mds-list-item typography=\"paragraph\">Seleziona un elemento dalla lista</mds-list-item>\n <mds-list-item typography=\"paragraph\">Conferma la scelta effettuata</mds-list-item>\n <mds-list-item typography=\"paragraph\">Salva le modifiche apportate</mds-list-item>\n</mds-list>\n\n<mds-list>\n <!-- Fine-print annotation list -->\n <mds-list-item typography=\"caption\">I campi contrassegnati sono obbligatori</mds-list-item>\n <mds-list-item typography=\"caption\">La password deve contenere almeno 8 caratteri</mds-list-item>\n</mds-list>\n```\n\n#### Reading Variant\n\nUse `variant=\"read\"` for long-form reading contexts (articles, documentation); keep the default `variant=\"info\"` for compact informational lists in UI panels.\n\n```html\n<!-- Long-form reading context -->\n<mds-list>\n <mds-list-item typography=\"paragraph\" variant=\"read\">\n Il servizio e disponibile dal lunedi al venerdi, dalle 9 alle 18.\n </mds-list-item>\n <mds-list-item typography=\"paragraph\" variant=\"read\">\n Per assistenza urgente contattare il numero verde dedicato.\n </mds-list-item>\n</mds-list>\n```\n\n#### Custom Leading Icon\n\nSupply an icon slug via the `icon` prop to replace the default bullet with a meaningful glyph. Use this when each entry maps to a distinct category or action.\n\n```html\n<mds-list>\n <mds-list-item icon=\"mi/baseline/check-circle\">Account verificato</mds-list-item>\n <mds-list-item icon=\"mi/baseline/lock\">Accesso sicuro attivato</mds-list-item>\n <mds-list-item icon=\"mi/baseline/notifications\">Notifiche abilitate</mds-list-item>\n</mds-list>\n```\n\n#### Uniform Icon Across All Items\n\nWhen every item shares the same icon - for example a checklist or a feature list - set the same `icon` on each item for visual consistency.\n\n```html\n<mds-list>\n <mds-list-item icon=\"mi/baseline/check\">Supporto multilingua incluso</mds-list-item>\n <mds-list-item icon=\"mi/baseline/check\">Aggiornamenti automatici</mds-list-item>\n <mds-list-item icon=\"mi/baseline/check\">Assistenza prioritaria 24/7</mds-list-item>\n</mds-list>\n```\n\n#### Muted List\n\nThe items take the colour of their container. When a list is secondary information (an address, a list of contacts under a title), give the muted role to `<mds-list>` or to its container rather than to each item.\n\n```html\n<mds-list class=\"text-fg-muted\">\n <mds-list-item>Via Carlo Farini 1, Santarcangelo di Romagna</mds-list-item>\n <mds-list-item>0541 628111</mds-list-item>\n</mds-list>\n```\n\n#### Styling Customization via CSS Custom Property\n\nAdjust the icon margin through the documented `--mds-list-item-icon-margin` CSS custom property. Set it on the host or a parent selector; use Magma spacing tokens for consistency.\n\n```css\n.compact-list mds-list-item {\n --mds-list-item-icon-margin: 0 calc(var(--spacing) * 100) 0 0;\n}\n```\n\n#### Styling the Icon Part\n\nUse the documented `::part(icon)` surface to tint or resize the leading icon. Prefer Magma color tokens to keep dark-mode compatibility.\n\n```css\n.status-list mds-list-item::part(icon) {\n fill: rgb(var(--magma-success-fg));\n}\n```\n",
|
|
23
31
|
"3. Antipattern": "Common incorrect uses of `<mds-list-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-list-item>` Outside `<mds-list>`\n\n`<mds-list-item>` is a compound child; it must be a direct default-slot child of [`<mds-list>`](../mds-list/AGENTS.md). Using it standalone removes the list context that assistive technology relies on.\n\n```html\n<!-- INCORRECT -->\n<div>\n <mds-list-item>Primo elemento</mds-list-item>\n <mds-list-item>Secondo elemento</mds-list-item>\n</div>\n\n<!-- CORRECT -->\n<mds-list>\n <mds-list-item>Primo elemento</mds-list-item>\n <mds-list-item>Secondo elemento</mds-list-item>\n</mds-list>\n```\n\n#### Do Not Put HTML Elements in the Default Slot\n\nThe default slot is meant for plain text only; nested elements are not stripped, they render inline and can break layout. Use the `typography` and `variant` props to control text style instead.\n\n```html\n<!-- INCORRECT -->\n<mds-list>\n <mds-list-item>\n <strong>Titolo voce</strong>\n <small> - descrizione aggiuntiva</small>\n </mds-list-item>\n</mds-list>\n\n<!-- CORRECT -->\n<mds-list>\n <mds-list-item typography=\"detail\">Titolo voce - descrizione aggiuntiva</mds-list-item>\n</mds-list>\n```\n\n#### Do Not Slot `<mds-icon>` to Add a Leading Icon\n\nThe `icon` prop renders the glyph through the shared icon service and positions it correctly. Slotting `<mds-icon>` puts it in the text-only default slot, where it is misaligned and the default bullet still renders.\n\n```html\n<!-- INCORRECT -->\n<mds-list>\n <mds-list-item>\n <mds-icon name=\"mi/baseline/check\"></mds-icon>\n Servizio attivo\n </mds-list-item>\n</mds-list>\n\n<!-- CORRECT -->\n<mds-list>\n <mds-list-item icon=\"mi/baseline/check\">Servizio attivo</mds-list-item>\n</mds-list>\n```\n\n#### Do Not Use a `typography` Value Outside the Accepted Set\n\n`<mds-list-item>` accepts only `TypographyInfoType | TypographyReadType`: `caption`, `detail`, `label`, `option`, `paragraph`, `tip`. Heading values like `h1`-`h6` or `action` are outside the type and are not checked at runtime: the inner text renders the heading style next to a bullet aligned for body text.\n\n```html\n<!-- INCORRECT -->\n<mds-list>\n <mds-list-item typography=\"h3\">Titolo sezione</mds-list-item>\n <mds-list-item typography=\"action\">Azione</mds-list-item>\n</mds-list>\n\n<!-- CORRECT -->\n<mds-list>\n <mds-list-item typography=\"detail\">Voce elenco</mds-list-item>\n <mds-list-item typography=\"paragraph\">Descrizione estesa della voce</mds-list-item>\n</mds-list>\n```\n\n#### Do Not Pierce Shadow DOM to Style the Icon or Text\n\nThe supported customization surface is `--mds-list-item-icon-margin` for layout and `::part(icon)` / `::part(text)` for the two documented shadow parts. Targeting internals via `>>>` or undocumented class names couples code to the implementation.\n\n```css\n/* INCORRECT */\nmds-list-item >>> .icon {\n fill: red;\n}\n\n/* CORRECT */\nmds-list-item::part(icon) {\n fill: rgb(var(--magma-danger-fg));\n}\n```\n\n#### Do Not Replace `<mds-list>` + `<mds-list-item>` with a Raw `<ul>` + `<li>`\n\nWhen a Magma list is needed, use the component pair - not raw HTML. Raw elements bypass the design-system theming, token integration, and high-contrast support.\n\n```html\n<!-- INCORRECT -->\n<ul>\n <li>Documento ricevuto</li>\n <li>In attesa di approvazione</li>\n</ul>\n\n<!-- CORRECT -->\n<mds-list>\n <mds-list-item>Documento ricevuto</mds-list-item>\n <mds-list-item>In attesa di approvazione</mds-list-item>\n</mds-list>\n```\n"
|
|
24
32
|
},
|
|
25
33
|
"props": [
|
|
@@ -176,11 +184,11 @@
|
|
|
176
184
|
"parts": [
|
|
177
185
|
{
|
|
178
186
|
"name": "icon",
|
|
179
|
-
"docs": ""
|
|
187
|
+
"docs": "The bullet icon before the text, the one `icon` sets"
|
|
180
188
|
},
|
|
181
189
|
{
|
|
182
190
|
"name": "text",
|
|
183
|
-
"docs": ""
|
|
191
|
+
"docs": "The text of the item, around the default slot"
|
|
184
192
|
}
|
|
185
193
|
],
|
|
186
194
|
"states": [],
|