@maggioli-design-system/magma 2.3.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 +1 -1
- package/CHANGELOG.md +237 -0
- package/agents/anti-patterns.md +7 -4
- package/agents/color.md +2 -2
- package/agents/components.md +2 -1
- package/agents/conventions.md +16 -0
- package/dist/cjs/{aria-BbJUuU9_.js → aria-CzO5Rp1y.js} +23 -15
- package/dist/cjs/{floating-controller-D7Ekjocg.js → floating-controller-BxER7sig.js} +20 -11
- package/dist/cjs/{floating-ui.dom-EMHL7uyZ.js → floating-ui.dom-VQ_HnnRe.js} +0 -115
- package/dist/cjs/{icon-MMHcqbgv.js → icon-BhokFNM7.js} +4 -2
- package/dist/cjs/{index-MyEb-PfD.js → index-B5DKRaVO.js} +1 -1
- package/dist/cjs/{index-UmmmCMIG.js → index-B_qgSpWL.js} +89 -60
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/keyboard-manager-BuCJdI8Q.js +75 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{locale-CnorkBwF.js → locale-D9XY8LN9.js} +1 -1
- package/dist/cjs/{locale.it-CfUV2hxK.js → locale.it-CQgfBg0W.js} +6 -1
- package/dist/cjs/{datetime-DHnUzK2K.js → luxon-8hyy5YD7.js} +164 -64
- package/dist/cjs/magma-components.cjs.js +3 -3
- package/dist/cjs/mds-accordion-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +11 -10
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +16 -2
- package/dist/cjs/mds-accordion.cjs.entry.js +36 -21
- package/dist/cjs/mds-author.cjs.entry.js +2 -2
- package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar-stack.cjs.entry.js +11 -5
- package/dist/cjs/mds-avatar.cjs.entry.js +57 -90
- package/dist/cjs/mds-badge.cjs.entry.js +4 -4
- package/dist/cjs/mds-banner_3.cjs.entry.js +51 -69
- package/dist/cjs/mds-benchmark-bar.cjs.entry.js +6 -3
- package/dist/cjs/mds-bibliography.cjs.entry.js +23 -17
- package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +9 -5
- package/dist/cjs/mds-breadcrumb.cjs.entry.js +17 -33
- package/dist/cjs/mds-button-dropdown.cjs.entry.js +15 -6
- package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
- package/dist/cjs/mds-button_3.cjs.entry.js +54 -38
- package/dist/cjs/mds-calendar_2.cjs.entry.js +74 -52
- package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-card-media.cjs.entry.js +2 -2
- package/dist/cjs/mds-card.cjs.entry.js +25 -16
- package/dist/cjs/mds-details.cjs.entry.js +18 -8
- package/dist/cjs/mds-dropdown.cjs.entry.js +31 -15
- package/dist/cjs/mds-emoji.cjs.entry.js +191 -134
- package/dist/cjs/mds-entity.cjs.entry.js +5 -5
- package/dist/cjs/mds-file-preview.cjs.entry.js +30 -23
- package/dist/cjs/mds-file.cjs.entry.js +25 -7
- package/dist/cjs/mds-filter-item.cjs.entry.js +9 -21
- package/dist/cjs/mds-filter.cjs.entry.js +10 -6
- package/dist/cjs/mds-header-bar.cjs.entry.js +12 -11
- package/dist/cjs/mds-header.cjs.entry.js +9 -11
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +10 -15
- package/dist/cjs/mds-hr.cjs.entry.js +4 -4
- package/dist/cjs/mds-img.cjs.entry.js +38 -46
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +15 -7
- package/dist/cjs/mds-input-date-range.cjs.entry.js +31 -27
- package/dist/cjs/mds-input-date.cjs.entry.js +17 -14
- package/dist/cjs/mds-input-field.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-otp.cjs.entry.js +57 -22
- package/dist/cjs/mds-input-range.cjs.entry.js +4 -4
- package/dist/cjs/mds-input-select.cjs.entry.js +7 -7
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +10 -10
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +9 -8
- package/dist/cjs/mds-input-upload.cjs.entry.js +1097 -15
- package/dist/cjs/mds-input.cjs.entry.js +8 -8
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +5 -5
- package/dist/cjs/mds-keyboard.cjs.entry.js +15 -7
- package/dist/cjs/mds-kpi-item.cjs.entry.js +17 -3
- package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
- package/dist/cjs/mds-label.cjs.entry.js +13 -30
- package/dist/cjs/mds-list-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-list.cjs.entry.js +2 -2
- package/dist/cjs/mds-mention.cjs.entry.js +7 -6
- package/dist/cjs/mds-modal.cjs.entry.js +28 -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 +41 -8
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +41 -8
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +44 -32
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +8 -8
- package/dist/cjs/mds-pref-language.cjs.entry.js +43 -21
- package/dist/cjs/mds-pref-mode.cjs.entry.js +28 -24
- package/dist/cjs/mds-pref-theme-item.cjs.entry.js +4 -3
- package/dist/cjs/mds-pref-theme.cjs.entry.js +109 -31
- package/dist/cjs/mds-pref.cjs.entry.js +28 -11
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table-features.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table-list.cjs.entry.js +14 -6
- package/dist/cjs/mds-price-table.cjs.entry.js +2 -2
- package/dist/cjs/mds-progress_2.cjs.entry.js +46 -33
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +12 -9
- package/dist/cjs/mds-push-notification.cjs.entry.js +36 -13
- package/dist/cjs/mds-quote.cjs.entry.js +3 -3
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-radial-menu.cjs.entry.js +47 -38
- package/dist/cjs/mds-separator.cjs.entry.js +4 -4
- package/dist/cjs/mds-status-bar.cjs.entry.js +8 -9
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +18 -6
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +8 -17
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +25 -16
- package/dist/cjs/mds-tab-bar.cjs.entry.js +11 -5
- package/dist/cjs/mds-tab_2.cjs.entry.js +16 -10
- package/dist/cjs/mds-table-body.cjs.entry.js +4 -4
- package/dist/cjs/mds-table-footer.cjs.entry.js +13 -4
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +3 -3
- package/dist/cjs/mds-table-header.cjs.entry.js +13 -5
- package/dist/cjs/mds-table-row.cjs.entry.js +35 -11
- package/dist/cjs/mds-table.cjs.entry.js +80 -23
- package/dist/cjs/mds-text.cjs.entry.js +4 -4
- package/dist/cjs/mds-toast-region.cjs.entry.js +119 -0
- package/dist/cjs/mds-toast.cjs.entry.js +163 -33
- package/dist/cjs/mds-tooltip.cjs.entry.js +71 -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 +5 -5
- package/dist/cjs/mds-video-wall.cjs.entry.js +5 -4
- package/dist/cjs/mds-zero.cjs.entry.js +4 -4
- package/dist/cjs/{preference-DRkzNp5a.js → preference-C8BcoA3M.js} +1 -1
- package/dist/cjs/{slot-RmXfgH4P.js → slot-Dku0TdVg.js} +15 -0
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/common/aria.js +25 -1
- package/dist/collection/common/file.js +6 -1
- package/dist/collection/common/floating-controller.js +18 -9
- package/dist/collection/common/icon.js +4 -1
- package/dist/collection/common/keyboard-manager.js +29 -6
- package/dist/collection/common/slot.js +15 -1
- package/dist/collection/components/mds-accordion/AGENTS.md +3 -2
- package/dist/collection/components/mds-accordion/antipattern.md +1 -1
- package/dist/collection/components/mds-accordion/documentation.json +9 -4
- package/dist/collection/components/mds-accordion/mds-accordion.css +1 -1
- package/dist/collection/components/mds-accordion/mds-accordion.js +34 -21
- package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-item/antipattern.md +2 -2
- package/dist/collection/components/mds-accordion-item/documentation.json +3 -3
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +5 -1
- package/dist/collection/components/mds-accordion-timer/AGENTS.md +2 -2
- package/dist/collection/components/mds-accordion-timer/documentation.json +3 -3
- package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +15 -1
- package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-accordion-timer-item/documentation.json +4 -4
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +5 -1
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +9 -8
- package/dist/collection/components/mds-author/AGENTS.md +1 -1
- package/dist/collection/components/mds-author/documentation.json +2 -2
- package/dist/collection/components/mds-avatar/AGENTS.md +4 -4
- package/dist/collection/components/mds-avatar/documentation.json +4 -4
- package/dist/collection/components/mds-avatar/mds-avatar.css +15 -4
- package/dist/collection/components/mds-avatar/mds-avatar.js +56 -70
- package/dist/collection/components/mds-avatar/pattern.md +13 -2
- package/dist/collection/components/mds-avatar-stack/AGENTS.md +2 -2
- package/dist/collection/components/mds-avatar-stack/documentation.json +3 -3
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.css +1 -1
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +15 -2
- package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar-stack-item/documentation.json +2 -2
- package/dist/collection/components/mds-badge/AGENTS.md +1 -1
- package/dist/collection/components/mds-badge/antipattern.md +0 -1
- package/dist/collection/components/mds-badge/documentation.json +4 -4
- package/dist/collection/components/mds-badge/mds-badge.css +4 -2
- package/dist/collection/components/mds-badge/pattern.md +0 -1
- package/dist/collection/components/mds-banner/AGENTS.md +1 -1
- package/dist/collection/components/mds-banner/documentation.json +2 -2
- package/dist/collection/components/mds-banner/mds-banner.css +18 -14
- package/dist/collection/components/mds-benchmark-bar/AGENTS.md +2 -2
- package/dist/collection/components/mds-benchmark-bar/antipattern.md +1 -1
- package/dist/collection/components/mds-benchmark-bar/documentation.json +5 -5
- package/dist/collection/components/mds-benchmark-bar/mds-benchmark-bar.js +4 -1
- package/dist/collection/components/mds-benchmark-bar/pattern.md +1 -1
- package/dist/collection/components/mds-bibliography/AGENTS.md +4 -4
- package/dist/collection/components/mds-bibliography/antipattern.md +1 -1
- package/dist/collection/components/mds-bibliography/documentation.json +16 -7
- package/dist/collection/components/mds-bibliography/mds-bibliography.css +3 -1
- package/dist/collection/components/mds-bibliography/mds-bibliography.js +29 -17
- package/dist/collection/components/mds-bibliography/pattern.md +2 -2
- package/dist/collection/components/mds-breadcrumb/AGENTS.md +8 -6
- package/dist/collection/components/mds-breadcrumb/antipattern.md +3 -3
- package/dist/collection/components/mds-breadcrumb/documentation.json +18 -8
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.css +16 -5
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +13 -29
- package/dist/collection/components/mds-breadcrumb/pattern.md +2 -5
- package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-breadcrumb-item/documentation.json +10 -5
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +1 -1
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +10 -3
- package/dist/collection/components/mds-button/AGENTS.md +10 -7
- package/dist/collection/components/mds-button/documentation.json +21 -8
- package/dist/collection/components/mds-button/mds-button.css +13 -7
- package/dist/collection/components/mds-button/mds-button.js +32 -27
- package/dist/collection/components/mds-button/pattern.md +6 -0
- package/dist/collection/components/mds-button-dropdown/AGENTS.md +9 -8
- package/dist/collection/components/mds-button-dropdown/antipattern.md +1 -1
- package/dist/collection/components/mds-button-dropdown/documentation.json +13 -9
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +28 -7
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +15 -5
- package/dist/collection/components/mds-button-dropdown/pattern.md +8 -1
- package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
- package/dist/collection/components/mds-button-group/documentation.json +2 -2
- package/dist/collection/components/mds-calendar/AGENTS.md +4 -4
- package/dist/collection/components/mds-calendar/documentation.json +5 -5
- package/dist/collection/components/mds-calendar/mds-calendar.css +12 -4
- package/dist/collection/components/mds-calendar/mds-calendar.js +40 -20
- package/dist/collection/components/mds-calendar/pattern.md +4 -3
- package/dist/collection/components/mds-calendar-cell/AGENTS.md +8 -8
- package/dist/collection/components/mds-calendar-cell/antipattern.md +2 -1
- package/dist/collection/components/mds-calendar-cell/documentation.json +14 -10
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +260 -109
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +8 -3
- package/dist/collection/components/mds-calendar-cell/pattern.md +3 -1
- package/dist/collection/components/mds-card/AGENTS.md +5 -4
- package/dist/collection/components/mds-card/antipattern.md +1 -1
- package/dist/collection/components/mds-card/documentation.json +10 -5
- package/dist/collection/components/mds-card/mds-card.css +2 -1
- package/dist/collection/components/mds-card/mds-card.js +22 -13
- package/dist/collection/components/mds-card/pattern.md +4 -3
- package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-content/documentation.json +2 -2
- package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-footer/documentation.json +2 -2
- package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-header/documentation.json +2 -2
- package/dist/collection/components/mds-card-media/AGENTS.md +2 -2
- package/dist/collection/components/mds-card-media/documentation.json +7 -3
- package/dist/collection/components/mds-card-media/mds-card-media.js +2 -1
- package/dist/collection/components/mds-chip/AGENTS.md +3 -3
- package/dist/collection/components/mds-chip/documentation.json +6 -6
- package/dist/collection/components/mds-chip/mds-chip.css +12 -9
- package/dist/collection/components/mds-chip/mds-chip.js +40 -60
- package/dist/collection/components/mds-chip/pattern.md +1 -1
- package/dist/collection/components/mds-details/AGENTS.md +5 -4
- package/dist/collection/components/mds-details/documentation.json +6 -6
- package/dist/collection/components/mds-details/mds-details.css +14 -2
- package/dist/collection/components/mds-details/mds-details.js +14 -4
- package/dist/collection/components/mds-details/pattern.md +2 -2
- package/dist/collection/components/mds-dropdown/AGENTS.md +7 -7
- package/dist/collection/components/mds-dropdown/documentation.json +15 -10
- package/dist/collection/components/mds-dropdown/mds-dropdown.css +66 -33
- package/dist/collection/components/mds-dropdown/mds-dropdown.js +31 -12
- package/dist/collection/components/mds-dropdown/pattern.md +4 -2
- package/dist/collection/components/mds-emoji/AGENTS.md +11 -11
- package/dist/collection/components/mds-emoji/antipattern.md +1 -1
- package/dist/collection/components/mds-emoji/documentation.json +34 -64
- package/dist/collection/components/mds-emoji/mds-emoji.js +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 +9 -4
- package/dist/collection/components/mds-entity/mds-entity.js +1 -1
- package/dist/collection/components/mds-file/AGENTS.md +5 -5
- package/dist/collection/components/mds-file/documentation.json +4 -4
- package/dist/collection/components/mds-file/mds-file.css +2 -2
- package/dist/collection/components/mds-file/mds-file.js +21 -3
- package/dist/collection/components/mds-file-preview/AGENTS.md +5 -5
- package/dist/collection/components/mds-file-preview/antipattern.md +1 -1
- package/dist/collection/components/mds-file-preview/documentation.json +20 -10
- package/dist/collection/components/mds-file-preview/mds-file-preview.css +27 -1
- package/dist/collection/components/mds-file-preview/mds-file-preview.js +34 -21
- package/dist/collection/components/mds-file-preview/pattern.md +1 -1
- package/dist/collection/components/mds-filter/AGENTS.md +1 -1
- package/dist/collection/components/mds-filter/documentation.json +2 -2
- package/dist/collection/components/mds-filter/mds-filter.css +3 -3
- package/dist/collection/components/mds-filter/mds-filter.js +6 -2
- package/dist/collection/components/mds-filter-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-filter-item/documentation.json +3 -3
- package/dist/collection/components/mds-filter-item/mds-filter-item.css +7 -4
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +2 -14
- package/dist/collection/components/mds-header/AGENTS.md +5 -5
- package/dist/collection/components/mds-header/antipattern.md +2 -2
- package/dist/collection/components/mds-header/documentation.json +14 -9
- package/dist/collection/components/mds-header/mds-header.css +8 -6
- package/dist/collection/components/mds-header/mds-header.js +10 -9
- package/dist/collection/components/mds-header/pattern.md +1 -1
- package/dist/collection/components/mds-header-bar/AGENTS.md +5 -5
- package/dist/collection/components/mds-header-bar/documentation.json +14 -10
- package/dist/collection/components/mds-header-bar/mds-header-bar.css +13 -4
- package/dist/collection/components/mds-header-bar/mds-header-bar.js +11 -9
- package/dist/collection/components/mds-header-bar/pattern.md +2 -2
- package/dist/collection/components/mds-help/AGENTS.md +7 -7
- package/dist/collection/components/mds-help/documentation.json +11 -7
- package/dist/collection/components/mds-help/mds-help.css +22 -0
- package/dist/collection/components/mds-help/mds-help.js +8 -5
- package/dist/collection/components/mds-help/pattern.md +2 -2
- package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +2 -2
- package/dist/collection/components/mds-horizontal-scroll/documentation.json +7 -3
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +3 -3
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +7 -11
- package/dist/collection/components/mds-hr/AGENTS.md +1 -1
- package/dist/collection/components/mds-hr/documentation.json +2 -2
- package/dist/collection/components/mds-hr/mds-hr.css +1 -1
- package/dist/collection/components/mds-hr/mds-hr.js +1 -1
- package/dist/collection/components/mds-icon/AGENTS.md +2 -2
- package/dist/collection/components/mds-icon/documentation.json +4 -4
- package/dist/collection/components/mds-icon/mds-icon.js +14 -3
- package/dist/collection/components/mds-icon/pattern.md +1 -1
- package/dist/collection/components/mds-img/AGENTS.md +9 -9
- package/dist/collection/components/mds-img/antipattern.md +1 -1
- package/dist/collection/components/mds-img/documentation.json +36 -34
- package/dist/collection/components/mds-img/mds-img.js +58 -56
- package/dist/collection/components/mds-input/AGENTS.md +15 -15
- package/dist/collection/components/mds-input/antipattern.md +1 -1
- package/dist/collection/components/mds-input/documentation.json +83 -22
- package/dist/collection/components/mds-input/mds-input.css +3 -3
- package/dist/collection/components/mds-input/mds-input.js +33 -9
- package/dist/collection/components/mds-input-date/AGENTS.md +3 -3
- package/dist/collection/components/mds-input-date/antipattern.md +1 -1
- package/dist/collection/components/mds-input-date/documentation.json +23 -6
- package/dist/collection/components/mds-input-date/mds-input-date.css +1 -2
- package/dist/collection/components/mds-input-date/mds-input-date.js +17 -2
- package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-date-range/documentation.json +18 -2
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +18 -2
- package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +3 -3
- package/dist/collection/components/mds-input-date-range-preselection/antipattern.md +1 -1
- package/dist/collection/components/mds-input-date-range-preselection/documentation.json +26 -8
- package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +31 -9
- package/dist/collection/components/mds-input-field/AGENTS.md +4 -4
- package/dist/collection/components/mds-input-field/documentation.json +10 -6
- package/dist/collection/components/mds-input-field/mds-input-field.css +1 -1
- package/dist/collection/components/mds-input-field/mds-input-field.js +5 -2
- package/dist/collection/components/mds-input-otp/AGENTS.md +5 -4
- package/dist/collection/components/mds-input-otp/antipattern.md +1 -1
- package/dist/collection/components/mds-input-otp/documentation.json +5 -5
- package/dist/collection/components/mds-input-otp/mds-input-otp.css +12 -0
- package/dist/collection/components/mds-input-otp/mds-input-otp.js +53 -18
- package/dist/collection/components/mds-input-otp/pattern.md +1 -1
- package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-range/antipattern.md +1 -1
- package/dist/collection/components/mds-input-range/documentation.json +3 -3
- package/dist/collection/components/mds-input-range/mds-input-range.css +3 -3
- package/dist/collection/components/mds-input-range/mds-input-range.js +1 -1
- package/dist/collection/components/mds-input-select/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-select/documentation.json +2 -2
- package/dist/collection/components/mds-input-select/mds-input-select.css +9 -2
- package/dist/collection/components/mds-input-select/mds-input-select.js +2 -2
- package/dist/collection/components/mds-input-switch/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-switch/antipattern.md +1 -1
- package/dist/collection/components/mds-input-switch/documentation.json +3 -3
- package/dist/collection/components/mds-input-switch/mds-input-switch.css +7 -6
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +1 -1
- package/dist/collection/components/mds-input-tip/AGENTS.md +2 -2
- package/dist/collection/components/mds-input-tip/documentation.json +3 -3
- package/dist/collection/components/mds-input-tip/mds-input-tip.js +4 -3
- package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-tip-item/documentation.json +2 -2
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.css +3 -1
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
- package/dist/collection/components/mds-input-tip-item/meta/dictionary.js +2 -8
- package/dist/collection/components/mds-input-upload/AGENTS.md +2 -2
- package/dist/collection/components/mds-input-upload/documentation.json +7 -3
- package/dist/collection/components/mds-input-upload/mds-input-upload.css +4 -3
- package/dist/collection/components/mds-input-upload/mds-input-upload.js +13 -8
- package/dist/collection/components/mds-keyboard/AGENTS.md +2 -2
- package/dist/collection/components/mds-keyboard/documentation.json +4 -4
- package/dist/collection/components/mds-keyboard/mds-keyboard.css +24 -13
- package/dist/collection/components/mds-keyboard/mds-keyboard.js +11 -3
- package/dist/collection/components/mds-keyboard/pattern.md +1 -1
- package/dist/collection/components/mds-keyboard-key/AGENTS.md +2 -2
- package/dist/collection/components/mds-keyboard-key/documentation.json +3 -3
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +2 -2
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
- package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
- package/dist/collection/components/mds-kpi/documentation.json +2 -2
- package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
- package/dist/collection/components/mds-kpi-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-kpi-item/antipattern.md +1 -1
- package/dist/collection/components/mds-kpi-item/documentation.json +5 -5
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +15 -1
- package/dist/collection/components/mds-kpi-item/pattern.md +2 -2
- package/dist/collection/components/mds-label/AGENTS.md +2 -2
- package/dist/collection/components/mds-label/documentation.json +3 -3
- package/dist/collection/components/mds-label/mds-label.css +6 -1
- package/dist/collection/components/mds-label/mds-label.js +2 -24
- package/dist/collection/components/mds-list/AGENTS.md +1 -1
- package/dist/collection/components/mds-list/documentation.json +2 -2
- package/dist/collection/components/mds-list/mds-list.js +1 -1
- package/dist/collection/components/mds-list-item/AGENTS.md +3 -3
- package/dist/collection/components/mds-list-item/documentation.json +12 -4
- package/dist/collection/components/mds-list-item/mds-list-item.js +3 -1
- package/dist/collection/components/mds-mention/AGENTS.md +2 -2
- package/dist/collection/components/mds-mention/documentation.json +3 -3
- package/dist/collection/components/mds-mention/mds-mention.css +2 -11
- package/dist/collection/components/mds-mention/mds-mention.js +4 -3
- package/dist/collection/components/mds-modal/AGENTS.md +7 -6
- package/dist/collection/components/mds-modal/documentation.json +16 -7
- package/dist/collection/components/mds-modal/mds-modal.css +18 -9
- package/dist/collection/components/mds-modal/mds-modal.js +25 -7
- package/dist/collection/components/mds-modal/pattern.md +1 -1
- package/dist/collection/components/mds-note/AGENTS.md +2 -1
- package/dist/collection/components/mds-note/documentation.json +8 -3
- package/dist/collection/components/mds-note/mds-note.css +4 -12
- package/dist/collection/components/mds-note/mds-note.js +13 -9
- package/dist/collection/components/mds-note/pattern.md +1 -0
- package/dist/collection/components/mds-notification/AGENTS.md +5 -5
- package/dist/collection/components/mds-notification/documentation.json +10 -5
- package/dist/collection/components/mds-notification/mds-notification.css +9 -2
- package/dist/collection/components/mds-notification/mds-notification.js +78 -13
- package/dist/collection/components/mds-paginator/AGENTS.md +4 -3
- package/dist/collection/components/mds-paginator/antipattern.md +2 -1
- package/dist/collection/components/mds-paginator/documentation.json +6 -6
- package/dist/collection/components/mds-paginator/mds-paginator.css +2 -2
- package/dist/collection/components/mds-paginator/mds-paginator.js +12 -1
- package/dist/collection/components/mds-paginator/pattern.md +9 -1
- package/dist/collection/components/mds-paginator-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-paginator-item/antipattern.md +2 -1
- package/dist/collection/components/mds-paginator-item/documentation.json +6 -6
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +67 -70
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +19 -7
- package/dist/collection/components/mds-paginator-item/pattern.md +3 -1
- package/dist/collection/components/mds-policy-ai/AGENTS.md +3 -2
- package/dist/collection/components/mds-policy-ai/documentation.json +13 -5
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.css +13 -7
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +3 -2
- package/dist/collection/components/mds-policy-ai/pattern.md +6 -1
- package/dist/collection/components/mds-pref/AGENTS.md +5 -5
- package/dist/collection/components/mds-pref/antipattern.md +1 -1
- package/dist/collection/components/mds-pref/documentation.json +8 -8
- package/dist/collection/components/mds-pref/mds-pref.js +27 -9
- package/dist/collection/components/mds-pref/pattern.md +5 -5
- package/dist/collection/components/mds-pref-animation/AGENTS.md +3 -3
- package/dist/collection/components/mds-pref-animation/antipattern.md +1 -1
- package/dist/collection/components/mds-pref-animation/documentation.json +5 -5
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +38 -5
- package/dist/collection/components/mds-pref-animation/pattern.md +6 -6
- package/dist/collection/components/mds-pref-consumption/AGENTS.md +3 -3
- package/dist/collection/components/mds-pref-consumption/antipattern.md +1 -1
- package/dist/collection/components/mds-pref-consumption/documentation.json +5 -5
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +38 -5
- package/dist/collection/components/mds-pref-consumption/pattern.md +5 -6
- package/dist/collection/components/mds-pref-contrast/AGENTS.md +3 -3
- package/dist/collection/components/mds-pref-contrast/antipattern.md +2 -2
- package/dist/collection/components/mds-pref-contrast/documentation.json +5 -5
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +41 -29
- package/dist/collection/components/mds-pref-contrast/pattern.md +3 -3
- package/dist/collection/components/mds-pref-language/AGENTS.md +5 -5
- package/dist/collection/components/mds-pref-language/antipattern.md +2 -2
- package/dist/collection/components/mds-pref-language/documentation.json +17 -7
- package/dist/collection/components/mds-pref-language/mds-pref-language.js +54 -20
- package/dist/collection/components/mds-pref-language/pattern.md +3 -3
- package/dist/collection/components/mds-pref-language-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-pref-language-item/antipattern.md +1 -1
- package/dist/collection/components/mds-pref-language-item/documentation.json +10 -5
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +9 -6
- package/dist/collection/components/mds-pref-mode/AGENTS.md +11 -4
- package/dist/collection/components/mds-pref-mode/antipattern.md +4 -4
- package/dist/collection/components/mds-pref-mode/documentation.json +22 -6
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +1 -1
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +22 -23
- package/dist/collection/components/mds-pref-mode/pattern.md +5 -5
- package/dist/collection/components/mds-pref-theme/AGENTS.md +6 -5
- package/dist/collection/components/mds-pref-theme/antipattern.md +4 -4
- package/dist/collection/components/mds-pref-theme/documentation.json +17 -7
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +121 -30
- package/dist/collection/components/mds-pref-theme/pattern.md +3 -3
- package/dist/collection/components/mds-pref-theme-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-pref-theme-item/antipattern.md +1 -1
- package/dist/collection/components/mds-pref-theme-item/documentation.json +8 -4
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +20 -3
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +6 -2
- package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table/documentation.json +2 -2
- package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
- package/dist/collection/components/mds-price-table-features/AGENTS.md +3 -3
- package/dist/collection/components/mds-price-table-features/documentation.json +4 -4
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +2 -2
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
- package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +2 -2
- package/dist/collection/components/mds-price-table-features-cell/documentation.json +3 -3
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +5 -2
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
- package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-features-row/documentation.json +2 -2
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
- package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-header/documentation.json +2 -2
- package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
- package/dist/collection/components/mds-price-table-list/AGENTS.md +3 -3
- package/dist/collection/components/mds-price-table-list/documentation.json +3 -3
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +2 -1
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +13 -3
- package/dist/collection/components/mds-price-table-list-item/AGENTS.md +3 -3
- package/dist/collection/components/mds-price-table-list-item/documentation.json +9 -5
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.css +5 -1
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +2 -1
- package/dist/collection/components/mds-price-table-list-item/pattern.md +1 -1
- package/dist/collection/components/mds-progress/AGENTS.md +3 -2
- package/dist/collection/components/mds-progress/documentation.json +4 -4
- package/dist/collection/components/mds-progress/mds-progress.css +2 -1
- package/dist/collection/components/mds-progress/mds-progress.js +42 -29
- package/dist/collection/components/mds-progress/pattern.md +1 -0
- package/dist/collection/components/mds-push-notification/AGENTS.md +4 -4
- package/dist/collection/components/mds-push-notification/documentation.json +4 -4
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +19 -12
- package/dist/collection/components/mds-push-notification-item/AGENTS.md +4 -5
- package/dist/collection/components/mds-push-notification-item/documentation.json +18 -13
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +5 -88
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +17 -8
- package/dist/collection/components/mds-push-notification-item/pattern.md +2 -3
- package/dist/collection/components/mds-quote/AGENTS.md +1 -1
- package/dist/collection/components/mds-quote/documentation.json +2 -2
- package/dist/collection/components/mds-quote/mds-quote.js +1 -1
- package/dist/collection/components/mds-radial-menu/AGENTS.md +12 -11
- package/dist/collection/components/mds-radial-menu/antipattern.md +1 -1
- package/dist/collection/components/mds-radial-menu/documentation.json +19 -33
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +24 -7
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +46 -39
- package/dist/collection/components/mds-radial-menu/pattern.md +14 -1
- package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-radial-menu-item/documentation.json +2 -2
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
- package/dist/collection/components/mds-radial-progress/AGENTS.md +11 -1
- package/dist/collection/components/mds-radial-progress/antipattern.md +8 -1
- package/dist/collection/components/mds-radial-progress/documentation.json +31 -5
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +9 -1
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
- package/dist/collection/components/mds-radial-progress/pattern.md +13 -1
- package/dist/collection/components/mds-separator/AGENTS.md +1 -1
- package/dist/collection/components/mds-separator/documentation.json +2 -2
- package/dist/collection/components/mds-separator/mds-separator.css +1 -1
- package/dist/collection/components/mds-separator/mds-separator.js +1 -1
- package/dist/collection/components/mds-spinner/AGENTS.md +2 -2
- package/dist/collection/components/mds-spinner/documentation.json +4 -4
- package/dist/collection/components/mds-spinner/mds-spinner.css +64 -13
- package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
- package/dist/collection/components/mds-spinner/pattern.md +1 -1
- package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-status-bar/antipattern.md +1 -1
- package/dist/collection/components/mds-status-bar/documentation.json +4 -4
- package/dist/collection/components/mds-status-bar/mds-status-bar.css +11 -6
- package/dist/collection/components/mds-status-bar/mds-status-bar.js +5 -6
- package/dist/collection/components/mds-status-bar/pattern.md +1 -1
- package/dist/collection/components/mds-stepper-bar/AGENTS.md +5 -5
- package/dist/collection/components/mds-stepper-bar/documentation.json +8 -14
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +9 -27
- package/dist/collection/components/mds-stepper-bar/pattern.md +1 -1
- package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-stepper-bar-item/documentation.json +6 -6
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +22 -5
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +15 -3
- package/dist/collection/components/mds-stepper-bar-item/pattern.md +1 -1
- package/dist/collection/components/mds-tab/AGENTS.md +3 -3
- package/dist/collection/components/mds-tab/documentation.json +5 -5
- package/dist/collection/components/mds-tab/mds-tab.css +4 -4
- package/dist/collection/components/mds-tab/mds-tab.js +9 -3
- package/dist/collection/components/mds-tab/pattern.md +9 -0
- package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-bar/antipattern.md +1 -1
- package/dist/collection/components/mds-tab-bar/documentation.json +3 -3
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +9 -3
- package/dist/collection/components/mds-tab-bar-item/AGENTS.md +3 -3
- package/dist/collection/components/mds-tab-bar-item/antipattern.md +2 -2
- package/dist/collection/components/mds-tab-bar-item/documentation.json +5 -5
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +22 -1
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +22 -18
- package/dist/collection/components/mds-tab-bar-item/pattern.md +1 -1
- package/dist/collection/components/mds-tab-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-tab-item/documentation.json +9 -4
- package/dist/collection/components/mds-tab-item/mds-tab-item.css +11 -1
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +4 -1
- package/dist/collection/components/mds-table/AGENTS.md +10 -8
- package/dist/collection/components/mds-table/antipattern.md +1 -1
- package/dist/collection/components/mds-table/documentation.json +41 -10
- package/dist/collection/components/mds-table/mds-table.css +20 -21
- package/dist/collection/components/mds-table/mds-table.js +97 -21
- package/dist/collection/components/mds-table/pattern.md +4 -1
- package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-body/documentation.json +2 -2
- package/dist/collection/components/mds-table-body/mds-table-body.css +4 -1
- package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
- package/dist/collection/components/mds-table-cell/AGENTS.md +5 -5
- package/dist/collection/components/mds-table-cell/antipattern.md +1 -1
- package/dist/collection/components/mds-table-cell/documentation.json +11 -7
- package/dist/collection/components/mds-table-cell/mds-table-cell.css +7 -11
- package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
- package/dist/collection/components/mds-table-cell/pattern.md +6 -0
- package/dist/collection/components/mds-table-footer/AGENTS.md +14 -4
- package/dist/collection/components/mds-table-footer/documentation.json +42 -9
- package/dist/collection/components/mds-table-footer/mds-table-footer.css +6 -1
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +41 -2
- package/dist/collection/components/mds-table-footer/pattern.md +2 -1
- package/dist/collection/components/mds-table-header/AGENTS.md +4 -3
- package/dist/collection/components/mds-table-header/documentation.json +49 -6
- package/dist/collection/components/mds-table-header/mds-table-header.css +7 -0
- package/dist/collection/components/mds-table-header/mds-table-header.js +36 -2
- package/dist/collection/components/mds-table-header/pattern.md +1 -1
- package/dist/collection/components/mds-table-header-cell/AGENTS.md +3 -3
- package/dist/collection/components/mds-table-header-cell/documentation.json +20 -6
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +9 -2
- package/dist/collection/components/mds-table-row/AGENTS.md +3 -3
- package/dist/collection/components/mds-table-row/documentation.json +5 -5
- package/dist/collection/components/mds-table-row/mds-table-row.css +5 -4
- package/dist/collection/components/mds-table-row/mds-table-row.js +24 -5
- package/dist/collection/components/mds-table-row/pattern.md +1 -2
- package/dist/collection/components/mds-text/AGENTS.md +2 -2
- package/dist/collection/components/mds-text/documentation.json +3 -3
- package/dist/collection/components/mds-text/mds-text.css +86 -3
- package/dist/collection/components/mds-text/mds-text.js +1 -1
- package/dist/collection/components/mds-toast/AGENTS.md +13 -7
- package/dist/collection/components/mds-toast/antipattern.md +18 -0
- package/dist/collection/components/mds-toast/documentation.json +53 -13
- package/dist/collection/components/mds-toast/mds-toast.css +52 -3
- package/dist/collection/components/mds-toast/mds-toast.js +174 -35
- package/dist/collection/components/mds-toast/meta/event-detail.js +1 -0
- package/dist/collection/components/mds-toast/pattern.md +18 -4
- package/dist/collection/components/mds-toast-region/AGENTS.md +51 -0
- package/dist/collection/components/mds-toast-region/antipattern.md +62 -0
- package/dist/collection/components/mds-toast-region/documentation.json +136 -0
- package/dist/collection/components/mds-toast-region/mds-toast-region.css +31 -0
- package/dist/collection/components/mds-toast-region/mds-toast-region.js +177 -0
- package/dist/collection/components/mds-toast-region/pattern.md +82 -0
- package/dist/collection/components/mds-tooltip/AGENTS.md +7 -7
- package/dist/collection/components/mds-tooltip/documentation.json +18 -9
- package/dist/collection/components/mds-tooltip/mds-tooltip.css +43 -8
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +73 -14
- package/dist/collection/components/mds-tooltip/pattern.md +2 -2
- package/dist/collection/components/mds-tree/AGENTS.md +6 -5
- package/dist/collection/components/mds-tree/documentation.json +13 -7
- package/dist/collection/components/mds-tree/mds-tree.css +5 -4
- package/dist/collection/components/mds-tree/mds-tree.js +41 -16
- package/dist/collection/components/mds-tree/pattern.md +5 -1
- package/dist/collection/components/mds-tree-item/AGENTS.md +7 -7
- package/dist/collection/components/mds-tree-item/documentation.json +7 -7
- package/dist/collection/components/mds-tree-item/mds-tree-item.css +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 +3 -2
- package/dist/collection/components/mds-url-view/mds-url-view.js +2 -2
- package/dist/collection/components/mds-usage/AGENTS.md +12 -10
- package/dist/collection/components/mds-usage/antipattern.md +1 -1
- package/dist/collection/components/mds-usage/documentation.json +21 -9
- package/dist/collection/components/mds-usage/mds-usage.css +5 -3
- package/dist/collection/components/mds-usage/mds-usage.js +5 -2
- package/dist/collection/components/mds-usage/pattern.md +4 -4
- package/dist/collection/components/mds-video-wall/AGENTS.md +2 -2
- package/dist/collection/components/mds-video-wall/documentation.json +3 -3
- package/dist/collection/components/mds-video-wall/mds-video-wall.css +10 -5
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +2 -1
- package/dist/collection/components/mds-zero/AGENTS.md +1 -1
- package/dist/collection/components/mds-zero/documentation.json +2 -2
- package/dist/collection/components/mds-zero/mds-zero.css +2 -1
- package/dist/collection/components/mds-zero/mds-zero.js +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +1 -1
- package/dist/components/mds-accordion-item.js +1 -1
- package/dist/components/mds-accordion-timer-item.js +1 -1
- package/dist/components/mds-accordion-timer.js +1 -1
- package/dist/components/mds-accordion.js +1 -1
- package/dist/components/mds-author.js +1 -1
- package/dist/components/mds-avatar-stack-item.js +1 -1
- package/dist/components/mds-avatar-stack.js +1 -1
- package/dist/components/mds-avatar.js +1 -1
- package/dist/components/mds-badge.js +1 -1
- package/dist/components/mds-banner.js +1 -1
- package/dist/components/mds-benchmark-bar.js +1 -1
- package/dist/components/mds-bibliography.js +1 -1
- package/dist/components/mds-breadcrumb-item.js +1 -1
- package/dist/components/mds-breadcrumb.js +1 -1
- package/dist/components/mds-button-dropdown.js +1 -1
- package/dist/components/mds-button-group.js +1 -1
- package/dist/components/mds-button.js +1 -1
- package/dist/components/mds-calendar-cell.js +1 -1
- package/dist/components/mds-calendar.js +1 -1
- package/dist/components/mds-card-content.js +1 -1
- package/dist/components/mds-card-footer.js +1 -1
- package/dist/components/mds-card-header.js +1 -1
- package/dist/components/mds-card-media.js +1 -1
- package/dist/components/mds-card.js +1 -1
- package/dist/components/mds-chip.js +1 -1
- package/dist/components/mds-details.js +1 -1
- package/dist/components/mds-dropdown.js +1 -1
- package/dist/components/mds-emoji.js +7 -7
- package/dist/components/mds-entity.js +1 -1
- package/dist/components/mds-file-preview.js +1 -1
- package/dist/components/mds-file.js +1 -1
- package/dist/components/mds-filter-item.js +1 -1
- package/dist/components/mds-filter.js +1 -1
- package/dist/components/mds-header-bar.js +1 -1
- package/dist/components/mds-header.js +1 -1
- package/dist/components/mds-help.js +1 -1
- package/dist/components/mds-horizontal-scroll.js +1 -1
- package/dist/components/mds-hr.js +1 -1
- package/dist/components/mds-icon.js +1 -1
- package/dist/components/mds-img.js +1 -1
- package/dist/components/mds-input-date-range-preselection.js +1 -1
- package/dist/components/mds-input-date-range.js +1 -1
- package/dist/components/mds-input-date.js +1 -1
- package/dist/components/mds-input-field.js +1 -1
- package/dist/components/mds-input-otp.js +1 -1
- package/dist/components/mds-input-range.js +1 -1
- package/dist/components/mds-input-select.js +1 -1
- package/dist/components/mds-input-switch.js +1 -1
- package/dist/components/mds-input-tip-item.js +1 -1
- package/dist/components/mds-input-tip.js +1 -1
- package/dist/components/mds-input-upload.js +1 -1
- package/dist/components/mds-input.js +1 -1
- package/dist/components/mds-keyboard-key.js +1 -1
- package/dist/components/mds-keyboard.js +1 -1
- package/dist/components/mds-kpi-item.js +1 -1
- package/dist/components/mds-kpi.js +1 -1
- package/dist/components/mds-label.js +1 -1
- package/dist/components/mds-list-item.js +1 -1
- package/dist/components/mds-list.js +1 -1
- package/dist/components/mds-mention.js +1 -1
- package/dist/components/mds-modal.js +1 -1
- package/dist/components/mds-note.js +1 -1
- package/dist/components/mds-notification.js +1 -1
- package/dist/components/mds-paginator-item.js +1 -1
- package/dist/components/mds-paginator.js +1 -1
- package/dist/components/mds-policy-ai.js +1 -1
- package/dist/components/mds-pref-animation.js +1 -1
- package/dist/components/mds-pref-consumption.js +1 -1
- package/dist/components/mds-pref-contrast.js +1 -1
- package/dist/components/mds-pref-language-item.js +1 -1
- package/dist/components/mds-pref-language.js +1 -1
- package/dist/components/mds-pref-mode.js +1 -1
- package/dist/components/mds-pref-theme-item.js +1 -1
- package/dist/components/mds-pref-theme.js +1 -1
- package/dist/components/mds-pref.js +1 -1
- package/dist/components/mds-price-table-features-cell.js +1 -1
- package/dist/components/mds-price-table-features-row.js +1 -1
- package/dist/components/mds-price-table-features.js +1 -1
- package/dist/components/mds-price-table-header.js +1 -1
- package/dist/components/mds-price-table-list-item.js +1 -1
- package/dist/components/mds-price-table-list.js +1 -1
- package/dist/components/mds-price-table.js +1 -1
- package/dist/components/mds-progress.js +1 -1
- package/dist/components/mds-push-notification-item.js +1 -1
- package/dist/components/mds-push-notification.js +1 -1
- package/dist/components/mds-quote.js +1 -1
- package/dist/components/mds-radial-menu-item.js +1 -1
- package/dist/components/mds-radial-menu.js +1 -1
- package/dist/components/mds-radial-progress.js +1 -1
- package/dist/components/mds-separator.js +1 -1
- package/dist/components/mds-spinner.js +1 -1
- package/dist/components/mds-status-bar.js +1 -1
- package/dist/components/mds-stepper-bar-item.js +1 -1
- package/dist/components/mds-stepper-bar.js +1 -1
- package/dist/components/mds-tab-bar-item.js +1 -1
- package/dist/components/mds-tab-bar.js +1 -1
- package/dist/components/mds-tab-item.js +1 -1
- package/dist/components/mds-tab.js +1 -1
- package/dist/components/mds-table-body.js +1 -1
- package/dist/components/mds-table-cell.js +1 -1
- package/dist/components/mds-table-footer.js +1 -1
- package/dist/components/mds-table-header-cell.js +1 -1
- package/dist/components/mds-table-header.js +1 -1
- package/dist/components/mds-table-row.js +1 -1
- package/dist/components/mds-table.js +1 -1
- package/dist/components/mds-text.js +1 -1
- package/dist/components/mds-toast-region.d.ts +11 -0
- package/dist/components/mds-toast-region.js +1 -0
- package/dist/components/mds-toast.js +1 -1
- package/dist/components/mds-tooltip.js +1 -1
- package/dist/components/mds-tree-item.js +1 -1
- package/dist/components/mds-tree.js +1 -1
- package/dist/components/mds-url-view.js +1 -1
- package/dist/components/mds-usage.js +1 -1
- package/dist/components/mds-video-wall.js +1 -1
- package/dist/components/mds-zero.js +1 -1
- package/dist/components/p-2gaGDQwL.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/components/{p-faViX-qz.js → 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-CUmJoPAI.js → p-DACnmwad.js} +1 -1
- 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-qYRtWYC8.js → p-D_0rjNZp.js} +1 -1
- package/dist/components/p-DaptTdaU.js +1 -0
- package/dist/components/{p-DLCcW1Q5.js → p-DezdwzYQ.js} +1 -1
- package/dist/components/{p-BcUY-9n7.js → p-DhIGZbIo.js} +1 -1
- package/dist/components/{p-ay5NzZ_x.js → p-Didp833Z.js} +1 -1
- package/dist/components/p-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-DmPLOktp.js → p-cIZniMh0.js} +1 -1
- package/dist/components/p-fhAmrBfl.js +1 -0
- package/dist/components/p-sM-eFjwq.js +1 -0
- package/dist/components/p-wHQGpA62.js +1 -0
- package/dist/documentation.json +1069 -462
- package/dist/esm/aria-Cvhn9asj.js +53 -0
- package/dist/esm/{floating-controller-D5-8D9mH.js → floating-controller-BV0E_Juq.js} +20 -11
- package/dist/esm/{floating-ui.dom-JMPfVnGv.js → floating-ui.dom-BaFfIZGB.js} +1 -115
- package/dist/esm/{icon-pNJmnrhq.js → icon-B7RVWU-q.js} +4 -2
- package/dist/esm/{index-BxPbQB28.js → index-CPRkNQdE.js} +89 -60
- package/dist/esm/{index-BhCZiGfL.js → index-DI_6NAg0.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/keyboard-manager-CGrPq3C4.js +73 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-CVJm6KFD.js → locale-DfpXg7qZ.js} +1 -1
- package/dist/esm/{locale.it-Cvxh7La5.js → locale.it-Diyps98n.js} +6 -1
- package/dist/esm/{datetime-BJtA1qmE.js → luxon-DbyXf6dF.js} +164 -64
- package/dist/esm/magma-components.js +4 -4
- package/dist/esm/mds-accordion-item.entry.js +3 -3
- package/dist/esm/mds-accordion-timer-item.entry.js +11 -10
- package/dist/esm/mds-accordion-timer.entry.js +16 -2
- package/dist/esm/mds-accordion.entry.js +36 -21
- package/dist/esm/mds-author.entry.js +2 -2
- package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm/mds-avatar-stack.entry.js +11 -5
- package/dist/esm/mds-avatar.entry.js +57 -90
- package/dist/esm/mds-badge.entry.js +4 -4
- package/dist/esm/mds-banner_3.entry.js +51 -69
- package/dist/esm/mds-benchmark-bar.entry.js +6 -3
- package/dist/esm/mds-bibliography.entry.js +23 -17
- package/dist/esm/mds-breadcrumb-item.entry.js +9 -5
- package/dist/esm/mds-breadcrumb.entry.js +17 -33
- package/dist/esm/mds-button-dropdown.entry.js +15 -6
- package/dist/esm/mds-button-group.entry.js +1 -1
- package/dist/esm/mds-button_3.entry.js +54 -38
- package/dist/esm/mds-calendar_2.entry.js +50 -28
- package/dist/esm/mds-card-content.entry.js +1 -1
- package/dist/esm/mds-card-footer.entry.js +1 -1
- package/dist/esm/mds-card-header.entry.js +2 -2
- package/dist/esm/mds-card-media.entry.js +2 -2
- package/dist/esm/mds-card.entry.js +25 -16
- package/dist/esm/mds-details.entry.js +18 -8
- package/dist/esm/mds-dropdown.entry.js +31 -15
- package/dist/esm/mds-emoji.entry.js +191 -134
- package/dist/esm/mds-entity.entry.js +5 -5
- package/dist/esm/mds-file-preview.entry.js +30 -23
- package/dist/esm/mds-file.entry.js +25 -7
- package/dist/esm/mds-filter-item.entry.js +9 -21
- package/dist/esm/mds-filter.entry.js +10 -6
- package/dist/esm/mds-header-bar.entry.js +12 -11
- package/dist/esm/mds-header.entry.js +9 -11
- package/dist/esm/mds-horizontal-scroll.entry.js +10 -15
- package/dist/esm/mds-hr.entry.js +4 -4
- package/dist/esm/mds-img.entry.js +38 -46
- package/dist/esm/mds-input-date-range-preselection.entry.js +15 -7
- package/dist/esm/mds-input-date-range.entry.js +12 -8
- package/dist/esm/mds-input-date.entry.js +11 -8
- package/dist/esm/mds-input-field.entry.js +2 -2
- package/dist/esm/mds-input-otp.entry.js +57 -22
- package/dist/esm/mds-input-range.entry.js +4 -4
- package/dist/esm/mds-input-select.entry.js +7 -7
- package/dist/esm/mds-input-switch_2.entry.js +10 -10
- package/dist/esm/mds-input-tip_2.entry.js +9 -8
- package/dist/esm/mds-input-upload.entry.js +1097 -15
- package/dist/esm/mds-input.entry.js +8 -8
- package/dist/esm/mds-keyboard-key.entry.js +5 -5
- package/dist/esm/mds-keyboard.entry.js +15 -7
- package/dist/esm/mds-kpi-item.entry.js +17 -3
- package/dist/esm/mds-kpi.entry.js +2 -2
- package/dist/esm/mds-label.entry.js +13 -30
- package/dist/esm/mds-list-item.entry.js +2 -2
- package/dist/esm/mds-list.entry.js +2 -2
- package/dist/esm/mds-mention.entry.js +7 -6
- package/dist/esm/mds-modal.entry.js +28 -11
- package/dist/esm/mds-note.entry.js +18 -14
- package/dist/esm/mds-notification.entry.js +72 -15
- package/dist/esm/mds-paginator-item.entry.js +23 -11
- package/dist/esm/mds-paginator.entry.js +39 -4
- package/dist/esm/mds-policy-ai.entry.js +5 -5
- package/dist/esm/mds-pref-animation.entry.js +41 -8
- package/dist/esm/mds-pref-consumption.entry.js +41 -8
- package/dist/esm/mds-pref-contrast.entry.js +44 -32
- package/dist/esm/mds-pref-language-item.entry.js +8 -8
- package/dist/esm/mds-pref-language.entry.js +43 -21
- package/dist/esm/mds-pref-mode.entry.js +28 -24
- package/dist/esm/mds-pref-theme-item.entry.js +4 -3
- package/dist/esm/mds-pref-theme.entry.js +109 -31
- package/dist/esm/mds-pref.entry.js +28 -11
- package/dist/esm/mds-price-table-features-cell.entry.js +4 -4
- package/dist/esm/mds-price-table-features-row.entry.js +3 -3
- package/dist/esm/mds-price-table-features.entry.js +4 -4
- package/dist/esm/mds-price-table-header.entry.js +2 -2
- package/dist/esm/mds-price-table-list-item.entry.js +3 -3
- package/dist/esm/mds-price-table-list.entry.js +14 -6
- package/dist/esm/mds-price-table.entry.js +2 -2
- package/dist/esm/mds-progress_2.entry.js +46 -33
- package/dist/esm/mds-push-notification-item.entry.js +12 -9
- package/dist/esm/mds-push-notification.entry.js +36 -13
- package/dist/esm/mds-quote.entry.js +3 -3
- package/dist/esm/mds-radial-menu-item.entry.js +2 -2
- package/dist/esm/mds-radial-menu.entry.js +47 -38
- package/dist/esm/mds-separator.entry.js +4 -4
- package/dist/esm/mds-status-bar.entry.js +8 -9
- package/dist/esm/mds-stepper-bar-item.entry.js +18 -6
- package/dist/esm/mds-stepper-bar.entry.js +8 -17
- package/dist/esm/mds-tab-bar-item.entry.js +25 -16
- package/dist/esm/mds-tab-bar.entry.js +11 -5
- package/dist/esm/mds-tab_2.entry.js +16 -10
- package/dist/esm/mds-table-body.entry.js +4 -4
- package/dist/esm/mds-table-footer.entry.js +13 -4
- package/dist/esm/mds-table-header-cell.entry.js +3 -3
- package/dist/esm/mds-table-header.entry.js +13 -5
- package/dist/esm/mds-table-row.entry.js +35 -11
- package/dist/esm/mds-table.entry.js +80 -23
- package/dist/esm/mds-text.entry.js +4 -4
- package/dist/esm/mds-toast-region.entry.js +117 -0
- package/dist/esm/mds-toast.entry.js +163 -33
- package/dist/esm/mds-tooltip.entry.js +71 -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 +5 -5
- 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-es5/aria-Cvhn9asj.js +6 -0
- package/dist/esm-es5/{floating-controller-D5-8D9mH.js → floating-controller-BV0E_Juq.js} +12 -3
- package/dist/esm-es5/{floating-ui.dom-JMPfVnGv.js → floating-ui.dom-BaFfIZGB.js} +40 -63
- package/dist/esm-es5/icon-B7RVWU-q.js +4 -0
- package/dist/esm-es5/{index-BxPbQB28.js → index-CPRkNQdE.js} +44 -42
- package/dist/esm-es5/{index-BhCZiGfL.js → index-DI_6NAg0.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/keyboard-manager-CGrPq3C4.js +9 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{locale-CVJm6KFD.js → locale-DfpXg7qZ.js} +1 -1
- package/dist/esm-es5/locale.it-Diyps98n.js +11 -0
- package/dist/esm-es5/{datetime-BJtA1qmE.js → luxon-DbyXf6dF.js} +51 -20
- package/dist/esm-es5/magma-components.js +3 -3
- package/dist/esm-es5/mds-accordion-item.entry.js +2 -2
- package/dist/esm-es5/mds-accordion-timer-item.entry.js +7 -3
- package/dist/esm-es5/mds-accordion-timer.entry.js +12 -2
- package/dist/esm-es5/mds-accordion.entry.js +14 -2
- package/dist/esm-es5/mds-author.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack.entry.js +4 -1
- package/dist/esm-es5/mds-avatar.entry.js +19 -6
- package/dist/esm-es5/mds-badge.entry.js +1 -1
- package/dist/esm-es5/mds-banner_3.entry.js +19 -18
- package/dist/esm-es5/mds-benchmark-bar.entry.js +5 -2
- package/dist/esm-es5/mds-bibliography.entry.js +13 -2
- package/dist/esm-es5/mds-breadcrumb-item.entry.js +4 -1
- package/dist/esm-es5/mds-breadcrumb.entry.js +8 -2
- package/dist/esm-es5/mds-button-dropdown.entry.js +6 -3
- package/dist/esm-es5/mds-button-group.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +26 -11
- package/dist/esm-es5/mds-calendar_2.entry.js +20 -9
- package/dist/esm-es5/mds-card-content.entry.js +1 -1
- package/dist/esm-es5/mds-card-footer.entry.js +1 -1
- package/dist/esm-es5/mds-card-header.entry.js +1 -1
- package/dist/esm-es5/mds-card-media.entry.js +1 -1
- package/dist/esm-es5/mds-card.entry.js +11 -5
- package/dist/esm-es5/mds-details.entry.js +7 -2
- package/dist/esm-es5/mds-dropdown.entry.js +26 -17
- package/dist/esm-es5/mds-emoji.entry.js +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 +11 -4
- package/dist/esm-es5/mds-filter-item.entry.js +2 -5
- package/dist/esm-es5/mds-filter.entry.js +7 -3
- package/dist/esm-es5/mds-header-bar.entry.js +7 -5
- package/dist/esm-es5/mds-header.entry.js +7 -4
- package/dist/esm-es5/mds-horizontal-scroll.entry.js +15 -12
- package/dist/esm-es5/mds-hr.entry.js +1 -1
- package/dist/esm-es5/mds-img.entry.js +17 -11
- package/dist/esm-es5/mds-input-date-range-preselection.entry.js +6 -1
- package/dist/esm-es5/mds-input-date-range.entry.js +16 -12
- package/dist/esm-es5/mds-input-date.entry.js +6 -3
- package/dist/esm-es5/mds-input-field.entry.js +2 -2
- package/dist/esm-es5/mds-input-otp.entry.js +16 -6
- package/dist/esm-es5/mds-input-range.entry.js +3 -3
- package/dist/esm-es5/mds-input-select.entry.js +2 -2
- package/dist/esm-es5/mds-input-switch_2.entry.js +2 -2
- package/dist/esm-es5/mds-input-tip_2.entry.js +5 -4
- package/dist/esm-es5/mds-input-upload.entry.js +5 -3
- package/dist/esm-es5/mds-input.entry.js +3 -3
- package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
- package/dist/esm-es5/mds-keyboard.entry.js +7 -3
- package/dist/esm-es5/mds-kpi-item.entry.js +7 -2
- package/dist/esm-es5/mds-kpi.entry.js +1 -1
- package/dist/esm-es5/mds-label.entry.js +2 -2
- package/dist/esm-es5/mds-list-item.entry.js +2 -2
- package/dist/esm-es5/mds-list.entry.js +1 -1
- package/dist/esm-es5/mds-mention.entry.js +4 -3
- package/dist/esm-es5/mds-modal.entry.js +19 -7
- package/dist/esm-es5/mds-note.entry.js +5 -2
- package/dist/esm-es5/mds-notification.entry.js +25 -5
- package/dist/esm-es5/mds-paginator-item.entry.js +8 -1
- package/dist/esm-es5/mds-paginator.entry.js +3 -3
- package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
- package/dist/esm-es5/mds-pref-animation.entry.js +14 -4
- package/dist/esm-es5/mds-pref-consumption.entry.js +14 -4
- package/dist/esm-es5/mds-pref-contrast.entry.js +14 -7
- package/dist/esm-es5/mds-pref-language-item.entry.js +5 -5
- package/dist/esm-es5/mds-pref-language.entry.js +20 -6
- package/dist/esm-es5/mds-pref-mode.entry.js +10 -3
- package/dist/esm-es5/mds-pref-theme-item.entry.js +4 -3
- package/dist/esm-es5/mds-pref-theme.entry.js +38 -11
- package/dist/esm-es5/mds-pref.entry.js +13 -7
- package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
- package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-list-item.entry.js +2 -2
- package/dist/esm-es5/mds-price-table-list.entry.js +5 -1
- package/dist/esm-es5/mds-price-table.entry.js +1 -1
- package/dist/esm-es5/mds-progress_2.entry.js +18 -3
- package/dist/esm-es5/mds-push-notification-item.entry.js +7 -3
- package/dist/esm-es5/mds-push-notification.entry.js +9 -12
- package/dist/esm-es5/mds-quote.entry.js +2 -2
- package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
- package/dist/esm-es5/mds-radial-menu.entry.js +8 -11
- package/dist/esm-es5/mds-separator.entry.js +1 -1
- package/dist/esm-es5/mds-status-bar.entry.js +5 -3
- package/dist/esm-es5/mds-stepper-bar-item.entry.js +9 -3
- package/dist/esm-es5/mds-stepper-bar.entry.js +9 -4
- package/dist/esm-es5/mds-tab-bar-item.entry.js +10 -3
- package/dist/esm-es5/mds-tab-bar.entry.js +5 -1
- package/dist/esm-es5/mds-tab_2.entry.js +6 -4
- package/dist/esm-es5/mds-table-body.entry.js +1 -1
- package/dist/esm-es5/mds-table-footer.entry.js +4 -1
- package/dist/esm-es5/mds-table-header-cell.entry.js +2 -2
- package/dist/esm-es5/mds-table-header.entry.js +10 -5
- package/dist/esm-es5/mds-table-row.entry.js +9 -3
- package/dist/esm-es5/mds-table.entry.js +33 -8
- package/dist/esm-es5/mds-text.entry.js +3 -3
- package/dist/esm-es5/mds-toast-region.entry.js +22 -0
- package/dist/esm-es5/mds-toast.entry.js +42 -5
- package/dist/esm-es5/mds-tooltip.entry.js +16 -6
- package/dist/esm-es5/mds-tree-item.entry.js +15 -4
- package/dist/esm-es5/mds-tree.entry.js +15 -2
- package/dist/esm-es5/mds-url-view.entry.js +2 -2
- package/dist/esm-es5/mds-usage.entry.js +3 -3
- package/dist/esm-es5/mds-video-wall.entry.js +2 -2
- package/dist/esm-es5/mds-zero.entry.js +1 -1
- package/dist/esm-es5/{preference-DNNqH7BU.js → preference-Ch1zJnqq.js} +4 -4
- package/dist/esm-es5/slot-AEckDMXh.js +30 -0
- package/dist/hydrate/index.js +4397 -1886
- package/dist/hydrate/index.mjs +4397 -1886
- package/dist/magma-components/index.esm.js +1 -1
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/magma-components.js +1 -1
- package/dist/magma-components/p-007968a8.system.entry.js +47 -0
- package/dist/magma-components/p-028f3717.entry.js +1 -0
- package/dist/magma-components/{p-808f6796.entry.js → p-0727d8f9.entry.js} +1 -1
- package/dist/magma-components/p-0b5fe949.entry.js +1 -0
- package/dist/magma-components/p-0b7a884e.system.entry.js +29 -0
- package/dist/magma-components/{p-ed897125.entry.js → p-0bcf3bb6.entry.js} +1 -1
- package/dist/magma-components/{p-c34d9e61.system.entry.js → p-0c9bdfff.system.entry.js} +1 -1
- package/dist/magma-components/{p-514d0fcb.entry.js → p-0dd4b006.entry.js} +1 -1
- package/dist/magma-components/p-0f47fd37.system.entry.js +16 -0
- package/dist/magma-components/p-11e50140.system.entry.js +19 -0
- package/dist/magma-components/{p-c644c5fc.system.entry.js → p-11feeebf.system.entry.js} +4 -1
- package/dist/magma-components/p-1287fb51.entry.js +1 -0
- package/dist/magma-components/p-12a2f8e2.system.entry.js +13 -0
- package/dist/magma-components/p-14b40c21.entry.js +1 -0
- package/dist/magma-components/p-166c0190.entry.js +1 -0
- package/dist/magma-components/{p-a9736d68.system.entry.js → p-176e6d9d.system.entry.js} +1 -1
- package/dist/magma-components/{p-508e10b5.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/{components/p-B8BWxSho.js → magma-components/p-1f9ebc0d.entry.js} +1 -1
- package/dist/magma-components/{p-837fbbf7.system.entry.js → p-1fe66383.system.entry.js} +1 -1
- package/dist/magma-components/p-20469b7a.system.entry.js +1 -0
- package/dist/magma-components/p-20608f69.system.entry.js +35 -0
- package/dist/magma-components/p-2061e567.entry.js +1 -0
- package/dist/magma-components/p-21c2d7bd.entry.js +1 -0
- package/dist/magma-components/p-21fe0fef.system.entry.js +14 -0
- package/dist/magma-components/p-2294945a.system.entry.js +34 -0
- package/dist/magma-components/p-2362b91a.entry.js +1 -0
- package/dist/magma-components/p-23bf1afa.system.entry.js +27 -0
- package/dist/magma-components/{p-c575cb7b.entry.js → p-23ce0824.entry.js} +1 -1
- package/dist/magma-components/p-25576b51.system.entry.js +14 -0
- package/dist/magma-components/p-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-35ee2d77.entry.js → p-32bfb09c.entry.js} +1 -1
- package/dist/magma-components/p-342770d2.system.entry.js +7 -0
- package/dist/magma-components/p-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-2de5f5fe.entry.js → p-3871807a.entry.js} +1 -1
- package/dist/magma-components/{p-154aff83.entry.js → p-38a9e862.entry.js} +1 -1
- package/dist/magma-components/p-3a88fc9b.system.entry.js +1 -0
- package/dist/magma-components/p-3ac09ace.entry.js +1 -0
- package/dist/magma-components/p-3b36319a.entry.js +1 -0
- package/dist/magma-components/{p-8cdad12f.entry.js → p-3ba5ddae.entry.js} +1 -1
- package/dist/magma-components/p-3bb26611.entry.js +1 -0
- package/dist/magma-components/p-3e1b21bd.entry.js +1 -0
- package/dist/magma-components/p-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-8d2a6896.entry.js → p-4f24ccf3.entry.js} +1 -1
- package/dist/magma-components/{p-ed6e287d.system.entry.js → p-4fdda209.system.entry.js} +4 -4
- package/dist/magma-components/p-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-c4ceaef6.system.entry.js → p-5439125d.system.entry.js} +2 -2
- package/dist/magma-components/p-547f657e.system.entry.js +91 -0
- package/dist/magma-components/p-5a2deba5.entry.js +1 -0
- package/dist/magma-components/{p-e238e2eb.entry.js → p-5b21eb78.entry.js} +1 -1
- package/dist/magma-components/p-5d9b1fe5.entry.js +1 -0
- package/dist/magma-components/{p-4dfeb655.system.entry.js → p-5ea3be82.system.entry.js} +2 -2
- package/dist/magma-components/{p-DhhAXEdA.system.js → p-5vJawLPw.system.js} +21 -12
- 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-70a911e8.entry.js +1 -0
- package/dist/magma-components/p-70f5536c.system.entry.js +15 -0
- package/dist/magma-components/{p-c69ec735.system.entry.js → p-721b625a.system.entry.js} +13 -9
- package/dist/magma-components/p-72cc4977.system.entry.js +21 -0
- package/dist/magma-components/p-7497b39d.system.entry.js +7 -0
- package/dist/magma-components/{p-73e593a2.system.entry.js → p-765ff9a3.system.entry.js} +6 -3
- package/dist/magma-components/p-7a568cbf.entry.js +1 -0
- package/dist/magma-components/p-7d548a19.entry.js +1 -0
- package/dist/magma-components/p-7f776dff.entry.js +1 -0
- package/dist/magma-components/p-8059aa67.system.entry.js +17 -0
- package/dist/magma-components/p-811272a9.entry.js +1 -0
- package/dist/magma-components/p-87b15008.entry.js +1 -0
- package/dist/magma-components/p-88ac5d50.entry.js +1 -0
- package/dist/magma-components/{p-add1a8d0.system.entry.js → p-88be542e.system.entry.js} +2 -2
- package/dist/magma-components/{p-64f78149.system.entry.js → p-890bae38.system.entry.js} +1 -1
- package/dist/magma-components/p-8a4a2b5a.entry.js +1 -0
- package/dist/magma-components/p-8b081ba9.entry.js +1 -0
- package/dist/magma-components/{p-0a9fb138.system.entry.js → p-8ba250d6.system.entry.js} +1 -1
- package/dist/magma-components/p-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-f5bb8c0c.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-9e7d02e5.entry.js +1 -0
- package/dist/magma-components/p-AEckDMXh.js +1 -0
- package/dist/magma-components/p-B7RVWU-q.js +1 -0
- package/dist/magma-components/{p-CKfEQ187.system.js → p-BHS0WXNt.system.js} +1 -1
- package/dist/magma-components/p-BaFfIZGB.js +1 -0
- package/dist/magma-components/{p-RJ5ZA1kY.system.js → p-BeNKMPXR.system.js} +9 -2
- package/dist/magma-components/{p-Kv1yahtR.js → p-BmT_DEV2.js} +2 -2
- package/dist/magma-components/{p-BTF_aRDG.system.js → p-C1ailvfu.system.js} +28 -28
- package/dist/magma-components/{p-7-TP6wnI.js → p-C25F_FlB.js} +1 -1
- package/dist/magma-components/p-CDjzBTsk.js +1 -0
- package/dist/magma-components/p-CGrPq3C4.js +1 -0
- package/dist/magma-components/p-CPRkNQdE.js +3 -0
- package/dist/magma-components/{p-DaONbL_w.system.js → p-CmzGV0XD.system.js} +44 -44
- package/dist/magma-components/p-Cvhn9asj.js +1 -0
- package/dist/magma-components/{p-hVpoPUxI.system.js → p-D8596ytD.system.js} +8 -8
- package/dist/magma-components/p-D9J8lbUv.system.js +9 -0
- package/dist/magma-components/p-DAifcgtS.system.js +4 -0
- package/dist/magma-components/p-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-584a4ee8.system.entry.js → p-a08d20c2.system.entry.js} +1 -1
- package/dist/magma-components/{p-26c85354.system.entry.js → p-a136e6fe.system.entry.js} +6 -1
- package/dist/magma-components/p-a1443292.entry.js +1 -0
- package/dist/magma-components/{p-634727e6.system.entry.js → p-a1ca2441.system.entry.js} +2 -2
- package/dist/magma-components/{p-0d97e28d.system.entry.js → p-a2d10402.system.entry.js} +2 -2
- package/dist/magma-components/p-a2ec6eac.entry.js +1 -0
- package/dist/magma-components/{p-b626c69f.system.entry.js → p-a40443ca.system.entry.js} +1 -1
- package/dist/magma-components/{p-c7d84d1c.system.entry.js → p-a47a9f11.system.entry.js} +1 -1
- package/dist/magma-components/{p-e388f1f2.system.entry.js → p-a4f46de1.system.entry.js} +9 -4
- package/dist/magma-components/p-a51f849a.entry.js +1 -0
- package/dist/magma-components/{p-3fa6cf85.system.entry.js → p-a53f6a94.system.entry.js} +5 -1
- package/dist/magma-components/p-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-569cbe13.entry.js → p-b48fc62e.entry.js} +1 -1
- package/dist/magma-components/p-b509fb36.entry.js +1 -0
- package/dist/magma-components/p-b514bd3a.system.entry.js +1 -0
- package/dist/magma-components/p-b58363e2.system.entry.js +31 -0
- package/dist/magma-components/{p-22e9a507.entry.js → p-b62bbd07.entry.js} +1 -1
- package/dist/magma-components/p-b6b7dc40.entry.js +1 -0
- package/dist/magma-components/p-b728638c.system.entry.js +46 -0
- package/dist/magma-components/{p-ac873ab4.entry.js → p-b919ce62.entry.js} +1 -1
- package/dist/magma-components/p-b940888d.entry.js +1 -0
- package/dist/magma-components/p-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-cefdc01f.system.entry.js → p-ca8e0927.system.entry.js} +2 -2
- package/dist/magma-components/p-cc0cb701.entry.js +1 -0
- package/dist/magma-components/{p-121730d1.entry.js → p-cc109576.entry.js} +1 -1
- package/dist/magma-components/p-cc88c963.system.entry.js +1 -0
- package/dist/magma-components/p-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-574c2c13.system.entry.js → p-d9551916.system.entry.js} +4 -4
- package/dist/magma-components/p-da532544.system.entry.js +25 -0
- package/dist/magma-components/{p-69d6cc9e.system.entry.js → p-da6cf595.system.entry.js} +2 -2
- package/dist/magma-components/p-da9afc4b.system.entry.js +8 -0
- package/dist/magma-components/p-daf9c8ca.system.entry.js +4 -0
- package/dist/magma-components/p-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-6f5a1248.entry.js → p-e5ab1f4f.entry.js} +1 -1
- package/dist/magma-components/p-e6ed6e12.entry.js +1 -0
- package/dist/magma-components/{p-2710ddc4.entry.js → p-e8b9d639.entry.js} +1 -1
- package/dist/magma-components/p-e954b5c5.entry.js +1 -0
- package/dist/magma-components/p-eba7cfb3.entry.js +1 -0
- package/dist/magma-components/p-ecb87d38.entry.js +1 -0
- package/dist/magma-components/p-eebf450c.system.entry.js +4 -0
- package/dist/magma-components/p-ef4d07ba.entry.js +1 -0
- package/dist/magma-components/p-f28e048b.system.entry.js +55 -0
- package/dist/magma-components/{p-789c1b93.system.entry.js → p-f30cdd34.system.entry.js} +1 -1
- package/dist/magma-components/p-f3763382.entry.js +1 -0
- package/dist/magma-components/p-f43379ef.entry.js +1 -0
- package/dist/magma-components/p-f454c06b.entry.js +1 -0
- package/dist/magma-components/p-f48843b7.system.entry.js +1 -0
- package/dist/magma-components/p-f5a08dca.system.entry.js +40 -0
- package/dist/magma-components/p-f7af41fb.system.entry.js +33 -0
- package/dist/magma-components/{p-5c17a324.entry.js → p-f7f6881a.entry.js} +1 -1
- package/dist/magma-components/p-f88c202e.entry.js +1 -0
- package/dist/magma-components/{p-1cb495d3.entry.js → p-f9b5a5ec.entry.js} +1 -1
- package/dist/magma-components/p-fcaa81b3.entry.js +1 -0
- package/dist/magma-components/{p-a462aadd.entry.js → p-fd53a51c.entry.js} +1 -1
- package/dist/magma-components/{p-94e9f2be.system.entry.js → p-ff4276d3.system.entry.js} +7 -2
- package/dist/magma-components/p-nFkaC8l_.system.js +210 -0
- package/dist/magma-components/p-sm_-_oFY.system.js +6 -0
- package/dist/magma-components/{p-8yWTOQiz.js → p-zQY2FlcD.js} +1 -1
- package/dist/stats.json +5466 -4158
- package/dist/types/common/aria.d.ts +8 -1
- package/dist/types/common/file.d.ts +5 -0
- package/dist/types/common/floating-controller.d.ts +8 -1
- package/dist/types/common/keyboard-manager.d.ts +8 -1
- package/dist/types/common/slot.d.ts +9 -1
- package/dist/types/components/mds-accordion/mds-accordion.d.ts +8 -1
- package/dist/types/components/mds-accordion-timer/mds-accordion-timer.d.ts +6 -0
- package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +2 -1
- package/dist/types/components/mds-avatar/mds-avatar.d.ts +13 -9
- package/dist/types/components/mds-avatar-stack/mds-avatar-stack.d.ts +2 -1
- package/dist/types/components/mds-bibliography/mds-bibliography.d.ts +10 -2
- package/dist/types/components/mds-breadcrumb/mds-breadcrumb.d.ts +0 -3
- package/dist/types/components/mds-breadcrumb-item/mds-breadcrumb-item.d.ts +4 -1
- package/dist/types/components/mds-button/mds-button.d.ts +7 -1
- package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +7 -3
- package/dist/types/components/mds-calendar/mds-calendar.d.ts +7 -0
- package/dist/types/components/mds-calendar-cell/mds-calendar-cell.d.ts +4 -1
- package/dist/types/components/mds-card/mds-card.d.ts +8 -0
- package/dist/types/components/mds-card-media/mds-card-media.d.ts +1 -0
- package/dist/types/components/mds-chip/mds-chip.d.ts +7 -5
- package/dist/types/components/mds-details/mds-details.d.ts +3 -1
- package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +8 -3
- package/dist/types/components/mds-emoji/mds-emoji.d.ts +18 -10
- package/dist/types/components/mds-emoji/meta/gaze.d.ts +19 -0
- package/dist/types/components/mds-file/mds-file.d.ts +7 -1
- package/dist/types/components/mds-file-preview/mds-file-preview.d.ts +15 -4
- package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +0 -2
- package/dist/types/components/mds-header/mds-header.d.ts +7 -5
- package/dist/types/components/mds-header/meta/event-detail.d.ts +2 -1
- package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +3 -2
- package/dist/types/components/mds-help/mds-help.d.ts +5 -2
- package/dist/types/components/mds-horizontal-scroll/mds-horizontal-scroll.d.ts +1 -0
- package/dist/types/components/mds-icon/mds-icon.d.ts +5 -0
- package/dist/types/components/mds-img/mds-img.d.ts +24 -14
- package/dist/types/components/mds-input/mds-input.d.ts +22 -7
- package/dist/types/components/mds-input-date/mds-input-date.d.ts +6 -0
- package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +4 -0
- package/dist/types/components/mds-input-date-range-preselection/mds-input-date-range-preselection.d.ts +8 -1
- package/dist/types/components/mds-input-field/mds-input-field.d.ts +4 -1
- package/dist/types/components/mds-input-otp/mds-input-otp.d.ts +8 -0
- package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +2 -1
- package/dist/types/components/mds-input-tip-item/meta/dictionary.d.ts +1 -2
- package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +3 -1
- package/dist/types/components/mds-kpi-item/mds-kpi-item.d.ts +7 -0
- package/dist/types/components/mds-label/mds-label.d.ts +0 -9
- package/dist/types/components/mds-list-item/mds-list-item.d.ts +2 -0
- package/dist/types/components/mds-mention/mds-mention.d.ts +2 -1
- package/dist/types/components/mds-modal/mds-modal.d.ts +4 -1
- package/dist/types/components/mds-note/mds-note.d.ts +1 -0
- package/dist/types/components/mds-notification/mds-notification.d.ts +25 -2
- package/dist/types/components/mds-paginator/mds-paginator.d.ts +1 -0
- package/dist/types/components/mds-paginator-item/mds-paginator-item.d.ts +7 -0
- package/dist/types/components/mds-policy-ai/mds-policy-ai.d.ts +2 -1
- package/dist/types/components/mds-pref/mds-pref.d.ts +6 -1
- package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +8 -0
- package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +8 -0
- package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +8 -2
- package/dist/types/components/mds-pref-language/mds-pref-language.d.ts +2 -2
- package/dist/types/components/mds-pref-language-item/mds-pref-language-item.d.ts +1 -0
- package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +6 -1
- package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +16 -2
- package/dist/types/components/mds-pref-theme-item/mds-pref-theme-item.d.ts +1 -0
- package/dist/types/components/mds-price-table-list/mds-price-table-list.d.ts +1 -0
- package/dist/types/components/mds-price-table-list-item/mds-price-table-list-item.d.ts +1 -0
- package/dist/types/components/mds-progress/mds-progress.d.ts +14 -4
- package/dist/types/components/mds-push-notification/mds-push-notification.d.ts +4 -9
- package/dist/types/components/mds-push-notification-item/mds-push-notification-item.d.ts +5 -2
- package/dist/types/components/mds-radial-menu/mds-radial-menu.d.ts +11 -5
- package/dist/types/components/mds-status-bar/mds-status-bar.d.ts +1 -2
- package/dist/types/components/mds-stepper-bar/mds-stepper-bar.d.ts +4 -3
- package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +10 -2
- package/dist/types/components/mds-tab-bar-item/mds-tab-bar-item.d.ts +4 -3
- package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +3 -0
- package/dist/types/components/mds-table/mds-table.d.ts +15 -2
- package/dist/types/components/mds-table-footer/mds-table-footer.d.ts +9 -1
- package/dist/types/components/mds-table-header/mds-table-header.d.ts +9 -1
- package/dist/types/components/mds-table-header-cell/mds-table-header-cell.d.ts +5 -0
- package/dist/types/components/mds-table-row/mds-table-row.d.ts +1 -0
- package/dist/types/components/mds-toast/mds-toast.d.ts +39 -8
- package/dist/types/components/mds-toast/meta/event-detail.d.ts +3 -0
- package/dist/types/components/mds-toast-region/mds-toast-region.d.ts +36 -0
- package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +24 -5
- package/dist/types/components/mds-tree/mds-tree.d.ts +12 -2
- package/dist/types/components/mds-tree-item/mds-tree-item.d.ts +7 -3
- package/dist/types/components/mds-url-view/mds-url-view.d.ts +2 -1
- package/dist/types/components/mds-usage/mds-usage.d.ts +3 -0
- package/dist/types/components.d.ts +253 -119
- package/dist/types/stencil-public-runtime.d.ts +61 -55
- package/package.json +18 -17
- package/dist/cjs/browser-C1BdXKu5.js +0 -10
- package/dist/cjs/keyboard-manager-C_Eaxw-C.js +0 -52
- package/dist/collection/components/mds-avatar/meta/variants.js +0 -20
- package/dist/components/p--5KZXaZp.js +0 -1
- package/dist/components/p--OCrgFeE.js +0 -1
- package/dist/components/p-6LGfUDQ4.js +0 -1
- package/dist/components/p-B9uIL9KO.js +0 -1
- package/dist/components/p-BBDliSai.js +0 -1
- package/dist/components/p-BCwcnHFh.js +0 -1
- package/dist/components/p-BRf-u585.js +0 -1
- package/dist/components/p-BSeokAdy.js +0 -1
- package/dist/components/p-BXUJgu8l.js +0 -1
- package/dist/components/p-BXYUyw7p.js +0 -1
- package/dist/components/p-BfgJ-hHQ.js +0 -1
- package/dist/components/p-CIfGjW_Z.js +0 -1
- package/dist/components/p-CMp9rP7L.js +0 -1
- package/dist/components/p-CSCy6TMW.js +0 -1
- package/dist/components/p-CZjHixVB.js +0 -1
- package/dist/components/p-Ck0q_n7I.js +0 -1
- package/dist/components/p-CrCa_6a1.js +0 -8
- package/dist/components/p-CsgCQiHG.js +0 -1
- package/dist/components/p-Cv7lqHIc.js +0 -1
- package/dist/components/p-Cw6_ooFx.js +0 -1
- package/dist/components/p-DGYRngAi.js +0 -1
- package/dist/components/p-DHu8X7zF.js +0 -1
- package/dist/components/p-DOzcuSrZ.js +0 -1
- package/dist/components/p-DZPHWQtD.js +0 -1
- package/dist/components/p-Dje8Mggf.js +0 -1
- package/dist/components/p-DlRjt7nE.js +0 -1
- package/dist/components/p-HSM_x8fD.js +0 -1
- package/dist/components/p-JMPfVnGv.js +0 -1
- package/dist/components/p-KRu9I7dw.js +0 -1
- package/dist/components/p-lNY_3s6S.js +0 -1
- package/dist/components/p-pBvN1uAc.js +0 -3
- package/dist/esm/aria-CSCy6TMW.js +0 -45
- package/dist/esm/browser-Dje8Mggf.js +0 -8
- package/dist/esm/keyboard-manager-KRu9I7dw.js +0 -50
- package/dist/esm-es5/aria-CSCy6TMW.js +0 -1
- package/dist/esm-es5/browser-Dje8Mggf.js +0 -1
- package/dist/esm-es5/icon-pNJmnrhq.js +0 -1
- package/dist/esm-es5/keyboard-manager-KRu9I7dw.js +0 -5
- package/dist/esm-es5/locale.it-Cvxh7La5.js +0 -6
- package/dist/esm-es5/slot-C0o_l0td.js +0 -23
- package/dist/magma-components/p-00ce5c81.entry.js +0 -1
- package/dist/magma-components/p-00ff586a.system.entry.js +0 -7
- package/dist/magma-components/p-01f05a56.entry.js +0 -1
- package/dist/magma-components/p-0345cbd0.system.entry.js +0 -83
- package/dist/magma-components/p-03a6a8bd.system.entry.js +0 -46
- package/dist/magma-components/p-05de42e1.system.entry.js +0 -1
- package/dist/magma-components/p-063bccb3.entry.js +0 -1
- package/dist/magma-components/p-0a38e4ce.system.entry.js +0 -1
- package/dist/magma-components/p-0c89c485.entry.js +0 -1
- package/dist/magma-components/p-0d94a2b8.entry.js +0 -8
- package/dist/magma-components/p-108e31e6.entry.js +0 -1
- package/dist/magma-components/p-114f0bb7.system.entry.js +0 -14
- package/dist/magma-components/p-137116df.entry.js +0 -1
- package/dist/magma-components/p-13b0babc.system.entry.js +0 -1
- package/dist/magma-components/p-14a108e8.system.entry.js +0 -8
- package/dist/magma-components/p-14eadf95.system.entry.js +0 -21
- package/dist/magma-components/p-155f79f4.system.entry.js +0 -47
- package/dist/magma-components/p-17b62839.entry.js +0 -1
- package/dist/magma-components/p-1802d6a7.entry.js +0 -1
- package/dist/magma-components/p-188d9770.system.entry.js +0 -4
- package/dist/magma-components/p-18ba4766.entry.js +0 -1
- package/dist/magma-components/p-1c63801f.system.entry.js +0 -11
- package/dist/magma-components/p-1c6a507c.system.entry.js +0 -17
- package/dist/magma-components/p-1e2388be.entry.js +0 -1
- package/dist/magma-components/p-24a9871a.system.entry.js +0 -1
- package/dist/magma-components/p-26332bce.system.entry.js +0 -1
- package/dist/magma-components/p-2708561b.system.entry.js +0 -10
- package/dist/magma-components/p-2723caa7.system.entry.js +0 -13
- package/dist/magma-components/p-294241fa.entry.js +0 -1
- package/dist/magma-components/p-2b2d0910.system.entry.js +0 -1
- package/dist/magma-components/p-2c940d19.entry.js +0 -1
- package/dist/magma-components/p-2e74231d.system.entry.js +0 -4
- package/dist/magma-components/p-2e83f801.system.entry.js +0 -1
- package/dist/magma-components/p-2f0815f3.entry.js +0 -18
- package/dist/magma-components/p-30d36dfe.entry.js +0 -1
- package/dist/magma-components/p-323c7aa4.system.entry.js +0 -25
- package/dist/magma-components/p-32e077c0.system.entry.js +0 -7
- package/dist/magma-components/p-334b305d.system.entry.js +0 -16
- package/dist/magma-components/p-341994b3.system.entry.js +0 -89
- package/dist/magma-components/p-35434d4b.system.entry.js +0 -32
- package/dist/magma-components/p-37495e03.entry.js +0 -1
- package/dist/magma-components/p-38e0379a.system.entry.js +0 -10
- package/dist/magma-components/p-3b91efd1.entry.js +0 -1
- package/dist/magma-components/p-3dc4db04.system.entry.js +0 -16
- package/dist/magma-components/p-3f0e82bc.entry.js +0 -1
- package/dist/magma-components/p-40e97485.entry.js +0 -1
- package/dist/magma-components/p-4159c306.entry.js +0 -1
- package/dist/magma-components/p-42411854.system.entry.js +0 -102
- package/dist/magma-components/p-42ebba8c.entry.js +0 -1
- package/dist/magma-components/p-4356d96e.system.entry.js +0 -21
- package/dist/magma-components/p-4577948d.system.entry.js +0 -12
- package/dist/magma-components/p-4658a200.entry.js +0 -1
- package/dist/magma-components/p-4cfa925a.entry.js +0 -1
- package/dist/magma-components/p-4ef19542.entry.js +0 -1
- package/dist/magma-components/p-4oB0woT9.system.js +0 -6
- package/dist/magma-components/p-522fd3d0.system.entry.js +0 -4
- package/dist/magma-components/p-528d913c.system.entry.js +0 -17
- package/dist/magma-components/p-595fde64.entry.js +0 -1
- package/dist/magma-components/p-5989cdf2.system.entry.js +0 -16
- package/dist/magma-components/p-5df91427.system.entry.js +0 -15
- package/dist/magma-components/p-5f1132b8.entry.js +0 -1
- package/dist/magma-components/p-5fcc1455.entry.js +0 -1
- package/dist/magma-components/p-61638aa3.entry.js +0 -1
- package/dist/magma-components/p-6465c8f4.entry.js +0 -1
- package/dist/magma-components/p-6764b13a.entry.js +0 -1
- package/dist/magma-components/p-6812f01b.entry.js +0 -1
- package/dist/magma-components/p-6901428b.system.entry.js +0 -1
- package/dist/magma-components/p-699a7926.entry.js +0 -1
- package/dist/magma-components/p-6a798061.entry.js +0 -1
- package/dist/magma-components/p-6d350c7c.entry.js +0 -1
- package/dist/magma-components/p-6fba5e6c.entry.js +0 -1
- package/dist/magma-components/p-6fd9a2ae.entry.js +0 -1
- package/dist/magma-components/p-6ff8be3e.system.entry.js +0 -30
- package/dist/magma-components/p-70caf05b.system.entry.js +0 -10
- package/dist/magma-components/p-70cc167f.entry.js +0 -1
- package/dist/magma-components/p-736c0e25.system.entry.js +0 -20
- package/dist/magma-components/p-7450a7a7.system.entry.js +0 -49
- package/dist/magma-components/p-7535328a.entry.js +0 -1
- package/dist/magma-components/p-76f02296.system.entry.js +0 -1
- package/dist/magma-components/p-79bc2e81.entry.js +0 -1
- package/dist/magma-components/p-79dc2243.entry.js +0 -1
- package/dist/magma-components/p-7b1c6eb0.entry.js +0 -1
- package/dist/magma-components/p-7b8b51c8.entry.js +0 -1
- package/dist/magma-components/p-7bc0a6c4.entry.js +0 -1
- package/dist/magma-components/p-7c8e79a7.system.entry.js +0 -4
- package/dist/magma-components/p-7c90298a.entry.js +0 -1
- package/dist/magma-components/p-7e02237b.entry.js +0 -1
- package/dist/magma-components/p-7f247e64.system.entry.js +0 -16
- package/dist/magma-components/p-82480df5.entry.js +0 -1
- package/dist/magma-components/p-842b1dfc.entry.js +0 -1
- package/dist/magma-components/p-88c7be3d.system.entry.js +0 -68
- package/dist/magma-components/p-89733d3a.system.entry.js +0 -14
- package/dist/magma-components/p-8c75425d.entry.js +0 -1
- package/dist/magma-components/p-8c76410b.entry.js +0 -1
- package/dist/magma-components/p-8d7835e2.system.entry.js +0 -10
- package/dist/magma-components/p-8f039ca0.system.entry.js +0 -7
- package/dist/magma-components/p-8f54cf62.system.entry.js +0 -4
- package/dist/magma-components/p-8f6bd147.entry.js +0 -1
- package/dist/magma-components/p-9017022c.system.entry.js +0 -15
- package/dist/magma-components/p-909f5b60.system.entry.js +0 -55
- package/dist/magma-components/p-976bb373.system.entry.js +0 -90
- package/dist/magma-components/p-97d82884.system.entry.js +0 -16
- package/dist/magma-components/p-97de86c6.system.entry.js +0 -16
- package/dist/magma-components/p-97e9a197.system.entry.js +0 -32
- package/dist/magma-components/p-9a936cae.system.entry.js +0 -45
- package/dist/magma-components/p-9c6d184f.entry.js +0 -1
- package/dist/magma-components/p-9db0a6e9.entry.js +0 -1
- package/dist/magma-components/p-9e662528.entry.js +0 -1
- package/dist/magma-components/p-9ff02a82.entry.js +0 -1
- package/dist/magma-components/p-B6mQg6yQ.js +0 -1
- package/dist/magma-components/p-BJqUjYIG.system.js +0 -1
- package/dist/magma-components/p-BJtA1qmE.js +0 -1
- package/dist/magma-components/p-BcYSdbK0.system.js +0 -233
- package/dist/magma-components/p-BeYLDgbf.js +0 -1
- package/dist/magma-components/p-BxPbQB28.js +0 -3
- package/dist/magma-components/p-C0o_l0td.js +0 -1
- package/dist/magma-components/p-CSCy6TMW.js +0 -1
- package/dist/magma-components/p-CYRMc5KW.system.js +0 -1
- package/dist/magma-components/p-Dje8Mggf.js +0 -1
- package/dist/magma-components/p-JMPfVnGv.js +0 -1
- package/dist/magma-components/p-KRu9I7dw.js +0 -1
- package/dist/magma-components/p-LerCJgfP.system.js +0 -5
- package/dist/magma-components/p-ZDRIVCAt.system.js +0 -5
- package/dist/magma-components/p-a3e3a653.system.entry.js +0 -81
- package/dist/magma-components/p-a41e52f7.entry.js +0 -1
- package/dist/magma-components/p-a4c26b4d.system.entry.js +0 -19
- package/dist/magma-components/p-a61c7ae9.system.entry.js +0 -7
- package/dist/magma-components/p-a653e096.entry.js +0 -1
- package/dist/magma-components/p-a8bf46cb.system.entry.js +0 -1
- package/dist/magma-components/p-ac4435e7.entry.js +0 -1
- package/dist/magma-components/p-acae292f.system.entry.js +0 -28
- package/dist/magma-components/p-b1a0e56e.system.entry.js +0 -42
- package/dist/magma-components/p-b33a6f7e.system.entry.js +0 -13
- package/dist/magma-components/p-b492dd4c.entry.js +0 -1
- package/dist/magma-components/p-b99cac43.entry.js +0 -1
- package/dist/magma-components/p-baf0359b.entry.js +0 -1
- package/dist/magma-components/p-bbd414dc.entry.js +0 -1
- package/dist/magma-components/p-be1aad5f.entry.js +0 -1
- package/dist/magma-components/p-bf05f9f3.entry.js +0 -1
- package/dist/magma-components/p-bf8c6647.system.entry.js +0 -11
- package/dist/magma-components/p-bfe19e4b.entry.js +0 -1
- package/dist/magma-components/p-c1a7266a.entry.js +0 -1
- package/dist/magma-components/p-c3585de7.system.entry.js +0 -7
- package/dist/magma-components/p-c45d9a64.system.entry.js +0 -32
- package/dist/magma-components/p-cb8b45fd.entry.js +0 -1
- package/dist/magma-components/p-cbfd8b10.system.entry.js +0 -16
- package/dist/magma-components/p-ce46191c.entry.js +0 -1
- package/dist/magma-components/p-cebe7b52.entry.js +0 -1
- package/dist/magma-components/p-d025a34f.system.entry.js +0 -15
- package/dist/magma-components/p-d1c47baa.entry.js +0 -1
- package/dist/magma-components/p-d269bfb0.entry.js +0 -1
- package/dist/magma-components/p-d42f267b.system.entry.js +0 -40
- package/dist/magma-components/p-d5bd6bef.entry.js +0 -1
- package/dist/magma-components/p-d65d8a09.system.entry.js +0 -1
- package/dist/magma-components/p-d6eca2ef.entry.js +0 -1
- package/dist/magma-components/p-d716efe9.system.entry.js +0 -1
- package/dist/magma-components/p-da6ccc03.entry.js +0 -1
- package/dist/magma-components/p-dbaf5368.system.entry.js +0 -7
- package/dist/magma-components/p-dc340618.entry.js +0 -1
- package/dist/magma-components/p-dc752e9b.entry.js +0 -1
- package/dist/magma-components/p-e2ef1d6f.entry.js +0 -1
- package/dist/magma-components/p-e50fdcee.entry.js +0 -1
- package/dist/magma-components/p-e779a67f.system.entry.js +0 -10
- package/dist/magma-components/p-e8ae4016.system.entry.js +0 -1
- package/dist/magma-components/p-e8d95868.system.entry.js +0 -14
- package/dist/magma-components/p-ed232c76.entry.js +0 -1
- package/dist/magma-components/p-ed87425c.system.entry.js +0 -13
- package/dist/magma-components/p-ee876b20.system.entry.js +0 -4
- package/dist/magma-components/p-efe0bb12.system.entry.js +0 -7
- package/dist/magma-components/p-f2412853.system.entry.js +0 -27
- package/dist/magma-components/p-f2743a2b.entry.js +0 -1
- package/dist/magma-components/p-f2f2945b.entry.js +0 -1
- package/dist/magma-components/p-f37f1343.entry.js +0 -1
- package/dist/magma-components/p-f3dd135e.system.entry.js +0 -32
- package/dist/magma-components/p-f5ce24e8.entry.js +0 -1
- package/dist/magma-components/p-f8a88f11.entry.js +0 -1
- package/dist/magma-components/p-f900fe90.entry.js +0 -1
- package/dist/magma-components/p-faa1f22c.entry.js +0 -1
- package/dist/magma-components/p-lozaO1BU.system.js +0 -1
- package/dist/magma-components/p-pNJmnrhq.js +0 -1
- package/dist/types/components/mds-avatar/meta/variants.d.ts +0 -2
|
@@ -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,9 +13,9 @@
|
|
|
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-paginator>` web component is the page-navigation control of the Magma Design System. It renders a horizontal strip of numbered page items framed by previous/next arrows, replacing an ad-hoc set of links or buttons with a single self-managing control.\n\n#### Semantic Behavior\n\n- **Self-rendered children**: The paginator generates its own page items internally from `pages`; authors do not slot the items.\n- **Page change event**: Selecting a page (or an arrow) emits `mdsPaginatorChange` with a detail of `{ page, caller }`, where `caller` is the `mds-paginator-item` that triggered the change.\n- **Bounds clamping**: Navigation requests below `1` or above `pages` are ignored, so the arrows can never move past the valid range.\n- **Arrow disabling**: The back arrow is disabled on the first page and the forward arrow on the last page.\n- **Auto-scroll into view**: When `pages` exceeds two, the strip scrolls so the active page is centered; selecting an item re-centers it, and so does focusing an item from the keyboard (tabbing through the pages). Pointer interaction never scrolls the strip before the click lands, so the clicked page is always the one selected. Scroll motion is themeable via `--mds-paginator-scroll-behavior`.\n- **Initial sync**: On load the component navigates to the provided `currentPage`, emitting the change event and scrolling the strip to match.\n\n#### Properties & Visual Configurations\n\n- **`pages`** is the total number of pages the control should represent and drives how many items are rendered; with `0` only the arrows appear.\n- **`currentPage`** marks which item is selected and which arrows are disabled; set it to control the paginator from outside, or read it back after a `mdsPaginatorChange` to follow user navigation.\n\nThis component does not use the shared `variant` / `tone` ladders defined in [`agents/variants.md`](../../../../agents/variants.md); its appearance is tuned only through the CSS custom properties documented in [`AGENTS.md`](AGENTS.md).\n",
|
|
17
|
-
"2. Pattern": "Correct and idiomatic ways to use the `<mds-paginator>` 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 Paginator\n\nProvide `pages` with the total number of pages. The component renders all items and the previous/next arrows automatically. The `pages` prop is all that is required for a working paginator.\n\n```html\n<mds-paginator pages=\"20\"></mds-paginator>\n```\n\n#### Starting on a Specific Page\n\nSet `current-page` to pre-select an initial page. On load the component emits `mdsPaginatorChange` and scrolls the strip to center the active item.\n\n```html\n<mds-paginator pages=\"32\" current-page=\"16\"></mds-paginator>\n```\n\n#### Listening to Page Changes\n\nListen for `mdsPaginatorChange` to react to navigation. The event detail carries `{ page, caller }` where `page` is the newly selected page number and `caller` is the `mds-paginator-item` that triggered the change.\n\n```html\n<mds-paginator id=\"pager\" pages=\"10\"></mds-paginator>\n\n<script>\n document.getElementById('pager').addEventListener('mdsPaginatorChange', (e) => {\n const nuovaPagina = e.detail.page;\n // Aggiorna la tabella o la lista con i dati della nuova pagina\n caricaDati(nuovaPagina);\n });\n</script>\n```\n\n#### Controlled Navigation from Outside\n\nWrite `current-page` programmatically to drive the paginator from application state - for example when a search resets pagination to page 1.\n\n```html\n<mds-paginator id=\"pager\" pages=\"15\" current-page=\"1\"></mds-paginator>\n\n<script>\n function resettaPaginazione() {\n document.getElementById('pager').currentPage = 1;\n }\n</script>\n```\n\n#### Single-Page and Two-Page Edge Cases\n\nWhen `pages` is `1` only the first/last item and the arrows appear (the scrollable strip is omitted). When `pages` is `2` both the first and last items render without the strip. Both are valid states - pass the real page count without special-casing.\n\n```html\n<!-- Una sola pagina: solo gli arrow e la pagina 1 -->\n<mds-paginator pages=\"1\"></mds-paginator>\n\n<!-- Due pagine: pagina 1 e pagina 2, nessuna strip -->\n<mds-paginator pages=\"2\"></mds-paginator>\n```\n\n#### Styling the Page Strip Background\n\nOverride `--mds-paginator-background` on the host to change the background of the scrollable pages area. Use a Magma color token wrapped in `rgb(var(...))` so dark mode keeps working.\n\n```css\n.mia-tabella mds-paginator {\n --mds-paginator-background: rgb(var(--magma-wash-strong));\n}\n```\n\n#### Disabling Scroll Animation\n\nSet `--mds-paginator-scroll-behavior` to `auto` to remove the animated scroll when jumping between pages - useful for contexts that already honour `prefers-reduced-motion` at application level.\n\n```css\n.stampa mds-paginator {\n --mds-paginator-scroll-behavior: auto;\n}\n```\n\n#### Styling Individual Items\n\nThe items
|
|
18
|
-
"3. Antipattern": "Common incorrect uses of `<mds-paginator>`. Each entry pairs the wrong form with the right one and a one-line reason. System-wide rules (boolean-as-string, shadow piercing, Tailwind color utilities, raw native event listening) live in [`agents/anti-patterns.md`](../../../../agents/anti-patterns.md) - they apply here too but are not repeated.\n\n#### Do Not Slot `mds-paginator-item` Manually\n\n`<mds-paginator>` generates all its child items from the `pages` prop and accepts no slots. Manually added `<mds-paginator-item>` children are never rendered, so they have no effect.\n\n```html\n<!-- INCORRECT -->\n<mds-paginator pages=\"5\">\n <mds-paginator-item selected>3</mds-paginator-item>\n</mds-paginator>\n\n<!-- CORRECT -->\n<mds-paginator pages=\"5\" current-page=\"3\"></mds-paginator>\n```\n\n#### Do Not Use `mds-paginator-item` Outside `mds-paginator`\n\n`<mds-paginator-item>` is an internal sub-part. Its `disabled`, `selected`, and `icon` props are managed exclusively by the parent. Using it standalone produces controls that look like page items but do nothing: the page logic lives in the parent.\n\n```html\n<!-- INCORRECT -->\n<mds-paginator-item>1</mds-paginator-item>\n<mds-paginator-item selected>2</mds-paginator-item>\n\n<!-- CORRECT -->\n<mds-paginator pages=\"5\" current-page=\"2\"></mds-paginator>\n```\n\n#### Do Not Set `pages` to Zero to \"Hide\" the Paginator\n\nWhen `pages` is `0` only the two arrows render, which is visually incomplete and confusing. To conditionally hide the paginator, remove it from the DOM entirely or set `display: none` on the host.\n\n```html\n<!-- INCORRECT -->\n<mds-paginator pages=\"0\"></mds-paginator>\n\n<!-- CORRECT: create the paginator only when there are pages -->\n<div id=\"paginazione\"></div>\n<script>\n if (totalePagine > 0) {\n const pager = document.createElement('mds-paginator');\n pager.pages = totalePagine;\n document.getElementById('paginazione').append(pager);\n }\n</script>\n```\n\n#### Do Not Listen for Native `click` to Detect Page Changes\n\nA native `click` bubbles out of the shadow DOM for any click on the control, but it carries no page number. Use the documented `mdsPaginatorChange` event instead, which carries the selected page number in `event.detail.page`.\n\n```html\n<!-- INCORRECT -->\n<mds-paginator id=\"pager\" pages=\"10\"></mds-paginator>\n<script>\n document.getElementById('pager').addEventListener('click', (e) => {\n // detail.page is undefined - this is the wrong event\n console.log(e.detail?.page);\n });\n</script>\n\n<!-- CORRECT -->\n<mds-paginator id=\"pager\" pages=\"10\"></mds-paginator>\n<script>\n document.getElementById('pager').addEventListener('mdsPaginatorChange', (e) => {\n console.log(e.detail.page);\n });\n</script>\n```\n\n#### Do Not Pierce Shadow DOM to Style Items\n\nInternal `mds-paginator-item` elements live in shadow DOM. Targeting them with `>>>`, `/deep/`, or unrecognised `::part()` names breaks on any release. Use the documented `--mds-paginator-*` CSS custom properties on the host instead
|
|
16
|
+
"1. Description": "The `<mds-paginator>` web component is the page-navigation control of the Magma Design System. It renders a horizontal strip of numbered page items framed by previous/next arrows, replacing an ad-hoc set of links or buttons with a single self-managing control.\n\n#### Semantic Behavior\n\n- **Self-rendered children**: The paginator generates its own page items internally from `pages`; authors do not slot the items.\n- **Page change event**: Selecting a page (or an arrow) emits `mdsPaginatorChange` with a detail of `{ page, caller }`, where `caller` is the `mds-paginator-item` that triggered the change.\n- **Bounds clamping**: Navigation requests below `1` or above `pages` are ignored, so the arrows can never move past the valid range.\n- **Arrow disabling**: The back arrow is disabled on the first page and the forward arrow on the last page; a disabled arrow leaves the tab order.\n- **Arrow names**: The arrows are icon-only buttons, named in the page language (the `lang` of `<html>`): \"Previous page\" and \"Next page\".\n- **Auto-scroll into view**: When `pages` exceeds two, the strip scrolls so the active page is centered; selecting an item re-centers it, and so does focusing an item from the keyboard (tabbing through the pages). Pointer interaction never scrolls the strip before the click lands, so the clicked page is always the one selected. Scroll motion is themeable via `--mds-paginator-scroll-behavior`.\n- **Initial sync**: On load the component navigates to the provided `currentPage`, emitting the change event and scrolling the strip to match.\n\n#### Properties & Visual Configurations\n\n- **`pages`** is the total number of pages the control should represent and drives how many items are rendered; with `0` only the arrows appear.\n- **`currentPage`** marks which item is selected and which arrows are disabled; set it to control the paginator from outside, or read it back after a `mdsPaginatorChange` to follow user navigation.\n\nThis component does not use the shared `variant` / `tone` ladders defined in [`agents/variants.md`](../../../../agents/variants.md); its appearance is tuned only through the CSS custom properties documented in [`AGENTS.md`](AGENTS.md).\n",
|
|
17
|
+
"2. Pattern": "Correct and idiomatic ways to use the `<mds-paginator>` 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 Paginator\n\nProvide `pages` with the total number of pages. The component renders all items and the previous/next arrows automatically. The `pages` prop is all that is required for a working paginator.\n\n```html\n<mds-paginator pages=\"20\"></mds-paginator>\n```\n\n#### Starting on a Specific Page\n\nSet `current-page` to pre-select an initial page. On load the component emits `mdsPaginatorChange` and scrolls the strip to center the active item.\n\n```html\n<mds-paginator pages=\"32\" current-page=\"16\"></mds-paginator>\n```\n\n#### Listening to Page Changes\n\nListen for `mdsPaginatorChange` to react to navigation. The event detail carries `{ page, caller }` where `page` is the newly selected page number and `caller` is the `mds-paginator-item` that triggered the change.\n\n```html\n<mds-paginator id=\"pager\" pages=\"10\"></mds-paginator>\n\n<script>\n document.getElementById('pager').addEventListener('mdsPaginatorChange', (e) => {\n const nuovaPagina = e.detail.page;\n // Aggiorna la tabella o la lista con i dati della nuova pagina\n caricaDati(nuovaPagina);\n });\n</script>\n```\n\n#### Controlled Navigation from Outside\n\nWrite `current-page` programmatically to drive the paginator from application state - for example when a search resets pagination to page 1.\n\n```html\n<mds-paginator id=\"pager\" pages=\"15\" current-page=\"1\"></mds-paginator>\n\n<script>\n function resettaPaginazione() {\n document.getElementById('pager').currentPage = 1;\n }\n</script>\n```\n\n#### Single-Page and Two-Page Edge Cases\n\nWhen `pages` is `1` only the first/last item and the arrows appear (the scrollable strip is omitted). When `pages` is `2` both the first and last items render without the strip. Both are valid states - pass the real page count without special-casing.\n\n```html\n<!-- Una sola pagina: solo gli arrow e la pagina 1 -->\n<mds-paginator pages=\"1\"></mds-paginator>\n\n<!-- Due pagine: pagina 1 e pagina 2, nessuna strip -->\n<mds-paginator pages=\"2\"></mds-paginator>\n```\n\n#### Styling the Page Strip Background\n\nOverride `--mds-paginator-background` on the host to change the background of the scrollable pages area. Use a Magma color token wrapped in `rgb(var(...))` so dark mode keeps working.\n\n```css\n.mia-tabella mds-paginator {\n --mds-paginator-background: rgb(var(--magma-wash-strong));\n}\n```\n\n#### Disabling Scroll Animation\n\nSet `--mds-paginator-scroll-behavior` to `auto` to remove the animated scroll when jumping between pages - useful for contexts that already honour `prefers-reduced-motion` at application level.\n\n```css\n.stampa mds-paginator {\n --mds-paginator-scroll-behavior: auto;\n}\n```\n\n#### Styling Individual Items\n\nThe items the paginator renders live in its shadow DOM and expose no shadow parts, but they inherit their `--mds-paginator-item-*` CSS custom properties, documented on [`mds-paginator-item`](../mds-paginator-item/AGENTS.md): set them on the `mds-paginator` host (or a parent selector) to restyle every page item at once. Use the semantic color roles so dark mode keeps working.\n\n```css\n.archivio mds-paginator {\n --mds-paginator-item-background-selected: rgb(var(--magma-accent-surface));\n --mds-paginator-item-color-selected: rgb(var(--magma-accent-fg));\n --mds-paginator-item-radius: var(--magma-radius-md);\n}\n```\n",
|
|
18
|
+
"3. Antipattern": "Common incorrect uses of `<mds-paginator>`. Each entry pairs the wrong form with the right one and a one-line reason. System-wide rules (boolean-as-string, shadow piercing, Tailwind color utilities, raw native event listening) live in [`agents/anti-patterns.md`](../../../../agents/anti-patterns.md) - they apply here too but are not repeated.\n\n#### Do Not Slot `mds-paginator-item` Manually\n\n`<mds-paginator>` generates all its child items from the `pages` prop and accepts no slots. Manually added `<mds-paginator-item>` children are never rendered, so they have no effect.\n\n```html\n<!-- INCORRECT -->\n<mds-paginator pages=\"5\">\n <mds-paginator-item selected>3</mds-paginator-item>\n</mds-paginator>\n\n<!-- CORRECT -->\n<mds-paginator pages=\"5\" current-page=\"3\"></mds-paginator>\n```\n\n#### Do Not Use `mds-paginator-item` Outside `mds-paginator`\n\n`<mds-paginator-item>` is an internal sub-part. Its `disabled`, `selected`, and `icon` props are managed exclusively by the parent. Using it standalone produces controls that look like page items but do nothing: the page logic lives in the parent.\n\n```html\n<!-- INCORRECT -->\n<mds-paginator-item>1</mds-paginator-item>\n<mds-paginator-item selected>2</mds-paginator-item>\n\n<!-- CORRECT -->\n<mds-paginator pages=\"5\" current-page=\"2\"></mds-paginator>\n```\n\n#### Do Not Set `pages` to Zero to \"Hide\" the Paginator\n\nWhen `pages` is `0` only the two arrows render, which is visually incomplete and confusing. To conditionally hide the paginator, remove it from the DOM entirely or set `display: none` on the host.\n\n```html\n<!-- INCORRECT -->\n<mds-paginator pages=\"0\"></mds-paginator>\n\n<!-- CORRECT: create the paginator only when there are pages -->\n<div id=\"paginazione\"></div>\n<script>\n if (totalePagine > 0) {\n const pager = document.createElement('mds-paginator');\n pager.pages = totalePagine;\n document.getElementById('paginazione').append(pager);\n }\n</script>\n```\n\n#### Do Not Listen for Native `click` to Detect Page Changes\n\nA native `click` bubbles out of the shadow DOM for any click on the control, but it carries no page number. Use the documented `mdsPaginatorChange` event instead, which carries the selected page number in `event.detail.page`.\n\n```html\n<!-- INCORRECT -->\n<mds-paginator id=\"pager\" pages=\"10\"></mds-paginator>\n<script>\n document.getElementById('pager').addEventListener('click', (e) => {\n // detail.page is undefined - this is the wrong event\n console.log(e.detail?.page);\n });\n</script>\n\n<!-- CORRECT -->\n<mds-paginator id=\"pager\" pages=\"10\"></mds-paginator>\n<script>\n document.getElementById('pager').addEventListener('mdsPaginatorChange', (e) => {\n console.log(e.detail.page);\n });\n</script>\n```\n\n#### Do Not Pierce Shadow DOM to Style Items\n\nInternal `mds-paginator-item` elements live in shadow DOM. Targeting them with `>>>`, `/deep/`, or unrecognised `::part()` names breaks on any release. Use the documented `--mds-paginator-*` CSS custom properties on the host instead, the `--mds-paginator-item-*` ones included: the items inherit them.\n\n```css\n/* INCORRECT */\nmds-paginator >>> mds-paginator-item {\n border-radius: 4px;\n}\n\n/* CORRECT */\nmds-paginator {\n --mds-paginator-background: rgb(var(--magma-wash-strong));\n --mds-paginator-item-radius: var(--magma-radius-sm);\n}\n```\n"
|
|
19
19
|
},
|
|
20
20
|
"props": [
|
|
21
21
|
{
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
{
|
|
107
107
|
"name": "--mds-paginator-background",
|
|
108
108
|
"annotation": "prop",
|
|
109
|
-
"docs": "Sets the background-color of the pages area
|
|
109
|
+
"docs": "Sets the background-color of the pages area, behind the items"
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
112
|
"name": "--mds-paginator-scroll-behavior",
|
|
@@ -11,7 +11,7 @@ mds-paginator-item {
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
|
-
* @prop --mds-paginator-background: Sets the background-color of the pages area
|
|
14
|
+
* @prop --mds-paginator-background: Sets the background-color of the pages area, behind the items
|
|
15
15
|
* @prop --mds-paginator-scroll-behavior: Sets the scroll-behavior animation
|
|
16
16
|
*/
|
|
17
17
|
|
|
@@ -43,7 +43,7 @@ mds-paginator-item {
|
|
|
43
43
|
|
|
44
44
|
align-items: center;
|
|
45
45
|
background-color: var(--mds-paginator-background, rgb(var(--magma-wash-base, var(--tone-neutral-09, 225 225 225))));
|
|
46
|
-
border-radius: var(--radius-full, 1000px);
|
|
46
|
+
border-radius: var(--magma-radius-full, var(--radius-full, 1000px));
|
|
47
47
|
display: flex;
|
|
48
48
|
flex-shrink: 1;
|
|
49
49
|
gap: 2px;
|
|
@@ -2,8 +2,19 @@ import { Host, h } from "@stencil/core";
|
|
|
2
2
|
import { preferenceStore } from "../../common/preference";
|
|
3
3
|
import miBaselineArrowBack from "@icon/mi/baseline/arrow-back.svg";
|
|
4
4
|
import miBaselineArrowForward from "@icon/mi/baseline/arrow-forward.svg";
|
|
5
|
+
import { Locale } from "../../common/locale";
|
|
6
|
+
import localeEl from "./meta/locale.el.json";
|
|
7
|
+
import localeEn from "./meta/locale.en.json";
|
|
8
|
+
import localeEs from "./meta/locale.es.json";
|
|
9
|
+
import localeIt from "./meta/locale.it.json";
|
|
5
10
|
export class MdsPaginator {
|
|
6
11
|
constructor() {
|
|
12
|
+
this.t = new Locale({
|
|
13
|
+
el: localeEl,
|
|
14
|
+
en: localeEn,
|
|
15
|
+
es: localeEs,
|
|
16
|
+
it: localeIt,
|
|
17
|
+
});
|
|
7
18
|
/**
|
|
8
19
|
* Specifies the number of total pages to be handled
|
|
9
20
|
*/
|
|
@@ -93,7 +104,7 @@ export class MdsPaginator {
|
|
|
93
104
|
}, 10);
|
|
94
105
|
}
|
|
95
106
|
render() {
|
|
96
|
-
return (h(Host, { key: '
|
|
107
|
+
return (h(Host, { key: 'e20e7b29c9fe42d766107ed7097cd08282ffcc73', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, h("mds-paginator-item", { key: 'd02d4d5ffcf0c85293a0143d5fe4d3f4c9a928be', "aria-label": this.t.get('previousPage'), class: "item-icon", icon: miBaselineArrowBack, disabled: this.currentPage === 1, onClick: this.handlePrevClick }), this.pages > 0 && (h("mds-paginator-item", { key: '4923f3b79bebc256d8ac606352921d8c1a09edb7', class: "item-first", selected: this.currentPage === 1, onClick: this.handleFirstClick }, "1")), this.pages > 2 && (h("div", { key: 'e365c0c4aa2491823adc3a392554c7255ec778c3', class: "pages" }, Array.from(Array(this.pages - 2).keys()).map((i) => (h("mds-paginator-item", { key: i, class: "item", selected: this.currentPage === i + 2, onClick: this.handlePageClick(i + 2), onFocus: this.handleItemFocus }, i + 2))))), this.pages > 1 && (h("mds-paginator-item", { key: '4d0243029c0124b09555ed3d5164b2224394ee88', class: "item-last", selected: this.currentPage === this.pages, onClick: this.handleLastClick }, this.pages)), h("mds-paginator-item", { key: '9f68afdf9e667ac6864f764c7e9a32049e9814af', "aria-label": this.t.get('nextPage'), class: "item-icon", icon: miBaselineArrowForward, disabled: this.currentPage === this.pages, onClick: this.handleNextClick })));
|
|
97
108
|
}
|
|
98
109
|
static get is() { return "mds-paginator"; }
|
|
99
110
|
static get encapsulation() { return "shadow"; }
|
|
@@ -89,4 +89,12 @@ Set `--mds-paginator-scroll-behavior` to `auto` to remove the animated scroll wh
|
|
|
89
89
|
|
|
90
90
|
#### Styling Individual Items
|
|
91
91
|
|
|
92
|
-
The items
|
|
92
|
+
The items the paginator renders live in its shadow DOM and expose no shadow parts, but they inherit their `--mds-paginator-item-*` CSS custom properties, documented on [`mds-paginator-item`](../mds-paginator-item/AGENTS.md): set them on the `mds-paginator` host (or a parent selector) to restyle every page item at once. Use the semantic color roles so dark mode keeps working.
|
|
93
|
+
|
|
94
|
+
```css
|
|
95
|
+
.archivio mds-paginator {
|
|
96
|
+
--mds-paginator-item-background-selected: rgb(var(--magma-accent-surface));
|
|
97
|
+
--mds-paginator-item-color-selected: rgb(var(--magma-accent-fg));
|
|
98
|
+
--mds-paginator-item-radius: var(--magma-radius-md);
|
|
99
|
+
}
|
|
100
|
+
```
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-paginator-item
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.4.0. Shadow DOM: style it only through the CSS custom properties and parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-paginator-item>` web component is a compound child of [`<mds-paginator>`](../mds-paginator/AGENTS.md) that renders a single clickable cell of the pagination control: either a numbered page or a navigation arrow. It has no standalone meaning and exists only to be orchestrated by its parent, which owns page state and emits the page-change event.
|
|
12
12
|
|
|
@@ -15,7 +15,7 @@ The `<mds-paginator-item>` web component is a compound child of [`<mds-paginator
|
|
|
15
15
|
- **Compound child only**: It is rendered exclusively by `<mds-paginator>` (one per page number plus the back/forward arrows) and is not used standalone or mixed with other child types; the parent manages count, ordering, scrolling, and selection.
|
|
16
16
|
- **State is parent-driven**: `selected` and `disabled` are not set by the consumer - the parent reflects them based on `currentPage` and the page boundaries, and the item only renders the resulting visual state.
|
|
17
17
|
- **Click reported upward**: The item carries no internal page logic; clicking it is resolved by the parent, which emits `mdsPaginatorChange`.
|
|
18
|
-
- **Keyboard activation**: The item is
|
|
18
|
+
- **Keyboard activation**: The item is a button (`role="button"`) that Enter and Space activate, but only while it is neither `disabled` nor `selected`. A `disabled` item leaves the tab order and carries `aria-disabled="true"`; the `selected` one stays in it, as the current page (`aria-current="page"`), and ignores activation.
|
|
19
19
|
- **Icon vs. text rendering**: When `icon` is set the item renders an icon (used for the back/forward arrows); otherwise it renders the default slot as the page number.
|
|
20
20
|
- **Text-only slot**: The default slot is meant for a plain text string (a page number); HTML elements or nested components should not be placed in it.
|
|
21
21
|
|
|
@@ -27,7 +27,7 @@ This child exposes only three props, none of which a consumer normally sets dire
|
|
|
27
27
|
- **`selected`**: Marks the cell as the current page. Set by the parent only; it switches the item to its selected visual treatment and makes it inert.
|
|
28
28
|
- **`disabled`**: Marks the cell as unavailable (e.g. the back arrow on page 1, the forward arrow on the last page). Set by the parent only; it blocks activation and applies the disabled styling.
|
|
29
29
|
|
|
30
|
-
Visual appearance (size, radius, colors, shadows for the default, hover, selected, and disabled states) is set through the `--mds-paginator-item-*` CSS custom properties listed in [`AGENTS.md`](AGENTS.md) rather than through props.
|
|
30
|
+
Visual appearance (size, radius, colors, shadows for the default, hover, selected, and disabled states) is set through the `--mds-paginator-item-*` CSS custom properties listed in [`AGENTS.md`](AGENTS.md) rather than through props. The items live in the shadow DOM of `mds-paginator`, so set them on the paginator (or a parent selector): the items inherit them.
|
|
31
31
|
|
|
32
32
|
## Read next
|
|
33
33
|
|
|
@@ -53,7 +53,7 @@ Visual appearance (size, radius, colors, shadows for the default, hover, selecte
|
|
|
53
53
|
|
|
54
54
|
| Property | Description |
|
|
55
55
|
| --- | --- |
|
|
56
|
-
| `--mds-paginator-item-background` | Sets the background-color of the
|
|
56
|
+
| `--mds-paginator-item-background` | Sets the background-color of the item |
|
|
57
57
|
| `--mds-paginator-item-background-disabled` | Sets the background-color of the item when is disabled |
|
|
58
58
|
| `--mds-paginator-item-background-hover` | Sets the background-color of the item when the mouse is over it |
|
|
59
59
|
| `--mds-paginator-item-background-selected` | Sets the background-color of the item when is selected |
|
|
@@ -80,7 +80,7 @@ Individual item clicks are handled internally by `<mds-paginator>`. Listening fo
|
|
|
80
80
|
|
|
81
81
|
#### Do Not Pierce Shadow DOM to Style Items
|
|
82
82
|
|
|
83
|
-
From outside, the supported customization surface is the
|
|
83
|
+
From outside, the supported customization surface is the documented `--mds-paginator-*` and `--mds-paginator-item-*` CSS custom properties, set on `mds-paginator`: the items inherit them. Targeting internals via `::part()`, `>>>`, or undocumented selectors couples your code to the implementation and will break on minor releases.
|
|
84
84
|
|
|
85
85
|
```css
|
|
86
86
|
/* INCORRECT */
|
|
@@ -91,5 +91,6 @@ mds-paginator-item >>> .text {
|
|
|
91
91
|
/* CORRECT */
|
|
92
92
|
mds-paginator {
|
|
93
93
|
--mds-paginator-background: rgb(var(--magma-wash-strong));
|
|
94
|
+
--mds-paginator-item-color: rgb(var(--magma-text-muted));
|
|
94
95
|
}
|
|
95
96
|
```
|
|
@@ -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,9 +18,9 @@
|
|
|
18
18
|
}
|
|
19
19
|
],
|
|
20
20
|
"usage": {
|
|
21
|
-
"1. Description": "The `<mds-paginator-item>` web component is a compound child of [`<mds-paginator>`](../mds-paginator/AGENTS.md) that renders a single clickable cell of the pagination control: either a numbered page or a navigation arrow. It has no standalone meaning and exists only to be orchestrated by its parent, which owns page state and emits the page-change event.\n\n#### Semantic Behavior\n\n- **Compound child only**: It is rendered exclusively by `<mds-paginator>` (one per page number plus the back/forward arrows) and is not used standalone or mixed with other child types; the parent manages count, ordering, scrolling, and selection.\n- **State is parent-driven**: `selected` and `disabled` are not set by the consumer - the parent reflects them based on `currentPage` and the page boundaries, and the item only renders the resulting visual state.\n- **Click reported upward**: The item carries no internal page logic; clicking it is resolved by the parent, which emits `mdsPaginatorChange`.\n- **Keyboard activation**: The item is
|
|
22
|
-
"2. Pattern": "Correct and idiomatic ways to use the `<mds-paginator-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> **Note:** `<mds-paginator-item>` is an internal sub-part of [`mds-paginator`](../mds-paginator/AGENTS.md). The idiomatic way to display page navigation is to use `<mds-paginator>` directly - it renders and manages all items automatically. The patterns below document the component's surface to show how the parent assembles it.\n\n#### Using mds-paginator (the normal case)\n\nRender a paginator by setting `pages` and `current-page` on the parent. The parent creates one `<mds-paginator-item>` per page number plus the back and forward arrow items; you never instantiate them yourself.\n\n```html\n<mds-paginator pages=\"12\" current-page=\"1\"></mds-paginator>\n```\n\n#### Listening for Page Changes\n\nThe page-change event is emitted by the parent `<mds-paginator>` as `mdsPaginatorChange`. Do not listen for click events on individual items.\n\n```html\n<mds-paginator id=\"paginatore\" pages=\"20\" current-page=\"1\"></mds-paginator>\n\n<script>\n document.querySelector('#paginatore').addEventListener('mdsPaginatorChange', (e) => {\n console.log('Pagina selezionata:', e.detail.page);\n });\n</script>\n```\n\n#### Numbered Page Item (text slot)\n\nWhen `icon` is not set, the item renders the default slot content as the page number label. The slot expects a plain text string - no HTML elements or components.\n\n```html\n<!-- Rendered internally by mds-paginator; shown here for reference only -->\n<mds-paginator-item>7</mds-paginator-item>\n```\n\n#### Icon-Based Navigation Item\n\nWhen `icon` is set, the item renders an icon instead of the text slot and is used for the back and forward arrow controls. The parent passes its own back and forward arrow icons, bundled in the component.\n\n```html\n<!-- Rendered internally by mds-paginator; shown here for reference only -->\n<mds-paginator-item icon=\"mi/baseline/arrow-back\" disabled></mds-paginator-item>\n<mds-paginator-item icon=\"mi/baseline/arrow-forward\"></mds-paginator-item>\n```\n\n#### Selected and Disabled States\n\n`selected` marks the current page and makes the item inert. `disabled` marks a navigation arrow as unavailable (e.g. back arrow on page 1) and also blocks activation. Both are boolean attributes that the parent manages.\n\n```html\n<!-- Current page - selected, inert -->\n<mds-paginator-item selected>3</mds-paginator-item>\n\n<!-- Back arrow on page 1 - disabled, inert -->\n<mds-paginator-item icon=\"mi/baseline/arrow-back\" disabled></mds-paginator-item>\n```\n\n#### CSS Customization\n\nThe documented `--mds-paginator-item-*` CSS custom properties
|
|
23
|
-
"3. Antipattern": "Common incorrect uses of `<mds-paginator-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-paginator-item Standalone\n\n`<mds-paginator-item>` is an internal sub-part rendered exclusively by `<mds-paginator>`. It has no standalone meaning; it relies on the parent to supply state (`selected`, `disabled`) and to handle page logic and the `mdsPaginatorChange` event.\n\n```html\n<!-- INCORRECT -->\n<mds-paginator-item>1</mds-paginator-item>\n<mds-paginator-item selected>2</mds-paginator-item>\n<mds-paginator-item>3</mds-paginator-item>\n\n<!-- CORRECT -->\n<mds-paginator pages=\"10\" current-page=\"2\"></mds-paginator>\n```\n\n#### Do Not Put HTML in the Default Slot\n\nThe default slot accepts a plain text string - the page number. Nested elements are not supported and break the item's layout.\n\n```html\n<!-- INCORRECT -->\n<mds-paginator-item>\n <strong>5</strong>\n</mds-paginator-item>\n\n<!-- CORRECT -->\n<mds-paginator-item>5</mds-paginator-item>\n```\n\n#### Do Not Set selected or disabled From Consumer Code\n\nBoth `selected` and `disabled` are driven by the parent paginator based on `currentPage` and page boundaries. Setting them manually from consumer code creates state conflicts with the parent's rendering logic.\n\n```html\n<!-- INCORRECT - consumer forcing selected state -->\n<mds-paginator pages=\"10\" current-page=\"3\">\n <!-- attempting to override individual item state externally -->\n</mds-paginator>\n<script>\n document.querySelector('mds-paginator')\n .shadowRoot.querySelectorAll('mds-paginator-item')[2]\n .setAttribute('selected', '');\n</script>\n\n<!-- CORRECT - drive state through the parent prop -->\n<mds-paginator pages=\"10\" current-page=\"3\"></mds-paginator>\n```\n\n#### Do Not Listen for Click Events on Items\n\nIndividual item clicks are handled internally by `<mds-paginator>`. Listening for `click` on items reaches into shadow DOM and bypasses the parent's page validation and scroll logic. Use the documented `mdsPaginatorChange` event on the parent.\n\n```html\n<!-- INCORRECT -->\n<mds-paginator id=\"pag\" pages=\"10\" current-page=\"1\"></mds-paginator>\n<script>\n document.querySelector('#pag').shadowRoot\n .querySelectorAll('mds-paginator-item')\n .forEach((item) => item.addEventListener('click', handleClick));\n</script>\n\n<!-- CORRECT -->\n<mds-paginator id=\"pag\" pages=\"10\" current-page=\"1\"></mds-paginator>\n<script>\n document.querySelector('#pag').addEventListener('mdsPaginatorChange', (e) => {\n console.log('Pagina:', e.detail.page);\n });\n</script>\n```\n\n#### Do Not Pierce Shadow DOM to Style Items\n\nFrom outside, the supported customization surface is the
|
|
21
|
+
"1. Description": "The `<mds-paginator-item>` web component is a compound child of [`<mds-paginator>`](../mds-paginator/AGENTS.md) that renders a single clickable cell of the pagination control: either a numbered page or a navigation arrow. It has no standalone meaning and exists only to be orchestrated by its parent, which owns page state and emits the page-change event.\n\n#### Semantic Behavior\n\n- **Compound child only**: It is rendered exclusively by `<mds-paginator>` (one per page number plus the back/forward arrows) and is not used standalone or mixed with other child types; the parent manages count, ordering, scrolling, and selection.\n- **State is parent-driven**: `selected` and `disabled` are not set by the consumer - the parent reflects them based on `currentPage` and the page boundaries, and the item only renders the resulting visual state.\n- **Click reported upward**: The item carries no internal page logic; clicking it is resolved by the parent, which emits `mdsPaginatorChange`.\n- **Keyboard activation**: The item is a button (`role=\"button\"`) that Enter and Space activate, but only while it is neither `disabled` nor `selected`. A `disabled` item leaves the tab order and carries `aria-disabled=\"true\"`; the `selected` one stays in it, as the current page (`aria-current=\"page\"`), and ignores activation.\n- **Icon vs. text rendering**: When `icon` is set the item renders an icon (used for the back/forward arrows); otherwise it renders the default slot as the page number.\n- **Text-only slot**: The default slot is meant for a plain text string (a page number); HTML elements or nested components should not be placed in it.\n\n#### Properties & Visual Configurations\n\nThis child exposes only three props, none of which a consumer normally sets directly:\n\n- **`icon`**: Provide an icon name to turn the cell into a navigation control (the parent passes the back/forward arrows); leave it unset for a numbered page that uses the text slot instead.\n- **`selected`**: Marks the cell as the current page. Set by the parent only; it switches the item to its selected visual treatment and makes it inert.\n- **`disabled`**: Marks the cell as unavailable (e.g. the back arrow on page 1, the forward arrow on the last page). Set by the parent only; it blocks activation and applies the disabled styling.\n\nVisual appearance (size, radius, colors, shadows for the default, hover, selected, and disabled states) is set through the `--mds-paginator-item-*` CSS custom properties listed in [`AGENTS.md`](AGENTS.md) rather than through props. The items live in the shadow DOM of `mds-paginator`, so set them on the paginator (or a parent selector): the items inherit them.\n",
|
|
22
|
+
"2. Pattern": "Correct and idiomatic ways to use the `<mds-paginator-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> **Note:** `<mds-paginator-item>` is an internal sub-part of [`mds-paginator`](../mds-paginator/AGENTS.md). The idiomatic way to display page navigation is to use `<mds-paginator>` directly - it renders and manages all items automatically. The patterns below document the component's surface to show how the parent assembles it.\n\n#### Using mds-paginator (the normal case)\n\nRender a paginator by setting `pages` and `current-page` on the parent. The parent creates one `<mds-paginator-item>` per page number plus the back and forward arrow items; you never instantiate them yourself.\n\n```html\n<mds-paginator pages=\"12\" current-page=\"1\"></mds-paginator>\n```\n\n#### Listening for Page Changes\n\nThe page-change event is emitted by the parent `<mds-paginator>` as `mdsPaginatorChange`. Do not listen for click events on individual items.\n\n```html\n<mds-paginator id=\"paginatore\" pages=\"20\" current-page=\"1\"></mds-paginator>\n\n<script>\n document.querySelector('#paginatore').addEventListener('mdsPaginatorChange', (e) => {\n console.log('Pagina selezionata:', e.detail.page);\n });\n</script>\n```\n\n#### Numbered Page Item (text slot)\n\nWhen `icon` is not set, the item renders the default slot content as the page number label. The slot expects a plain text string - no HTML elements or components.\n\n```html\n<!-- Rendered internally by mds-paginator; shown here for reference only -->\n<mds-paginator-item>7</mds-paginator-item>\n```\n\n#### Icon-Based Navigation Item\n\nWhen `icon` is set, the item renders an icon instead of the text slot and is used for the back and forward arrow controls. The parent passes its own back and forward arrow icons, bundled in the component.\n\n```html\n<!-- Rendered internally by mds-paginator; shown here for reference only -->\n<mds-paginator-item icon=\"mi/baseline/arrow-back\" disabled></mds-paginator-item>\n<mds-paginator-item icon=\"mi/baseline/arrow-forward\"></mds-paginator-item>\n```\n\n#### Selected and Disabled States\n\n`selected` marks the current page and makes the item inert. `disabled` marks a navigation arrow as unavailable (e.g. back arrow on page 1) and also blocks activation. Both are boolean attributes that the parent manages.\n\n```html\n<!-- Current page - selected, inert -->\n<mds-paginator-item selected>3</mds-paginator-item>\n\n<!-- Back arrow on page 1 - disabled, inert -->\n<mds-paginator-item icon=\"mi/baseline/arrow-back\" disabled></mds-paginator-item>\n```\n\n#### CSS Customization\n\nThe items live in the shadow DOM of the parent `mds-paginator`, so the documented `--mds-paginator-item-*` CSS custom properties reach them by inheritance: set them on the `mds-paginator` host or on a containing selector, next to the parent's own `--mds-paginator-background` and `--mds-paginator-scroll-behavior`. Use the semantic color roles so dark mode keeps working.\n\n```css\nmds-paginator {\n --mds-paginator-background: rgb(var(--magma-wash-strong));\n --mds-paginator-item-background-hover: rgb(var(--magma-wash-soft));\n --mds-paginator-item-size: calc(var(--spacing) * 800);\n}\n```\n",
|
|
23
|
+
"3. Antipattern": "Common incorrect uses of `<mds-paginator-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-paginator-item Standalone\n\n`<mds-paginator-item>` is an internal sub-part rendered exclusively by `<mds-paginator>`. It has no standalone meaning; it relies on the parent to supply state (`selected`, `disabled`) and to handle page logic and the `mdsPaginatorChange` event.\n\n```html\n<!-- INCORRECT -->\n<mds-paginator-item>1</mds-paginator-item>\n<mds-paginator-item selected>2</mds-paginator-item>\n<mds-paginator-item>3</mds-paginator-item>\n\n<!-- CORRECT -->\n<mds-paginator pages=\"10\" current-page=\"2\"></mds-paginator>\n```\n\n#### Do Not Put HTML in the Default Slot\n\nThe default slot accepts a plain text string - the page number. Nested elements are not supported and break the item's layout.\n\n```html\n<!-- INCORRECT -->\n<mds-paginator-item>\n <strong>5</strong>\n</mds-paginator-item>\n\n<!-- CORRECT -->\n<mds-paginator-item>5</mds-paginator-item>\n```\n\n#### Do Not Set selected or disabled From Consumer Code\n\nBoth `selected` and `disabled` are driven by the parent paginator based on `currentPage` and page boundaries. Setting them manually from consumer code creates state conflicts with the parent's rendering logic.\n\n```html\n<!-- INCORRECT - consumer forcing selected state -->\n<mds-paginator pages=\"10\" current-page=\"3\">\n <!-- attempting to override individual item state externally -->\n</mds-paginator>\n<script>\n document.querySelector('mds-paginator')\n .shadowRoot.querySelectorAll('mds-paginator-item')[2]\n .setAttribute('selected', '');\n</script>\n\n<!-- CORRECT - drive state through the parent prop -->\n<mds-paginator pages=\"10\" current-page=\"3\"></mds-paginator>\n```\n\n#### Do Not Listen for Click Events on Items\n\nIndividual item clicks are handled internally by `<mds-paginator>`. Listening for `click` on items reaches into shadow DOM and bypasses the parent's page validation and scroll logic. Use the documented `mdsPaginatorChange` event on the parent.\n\n```html\n<!-- INCORRECT -->\n<mds-paginator id=\"pag\" pages=\"10\" current-page=\"1\"></mds-paginator>\n<script>\n document.querySelector('#pag').shadowRoot\n .querySelectorAll('mds-paginator-item')\n .forEach((item) => item.addEventListener('click', handleClick));\n</script>\n\n<!-- CORRECT -->\n<mds-paginator id=\"pag\" pages=\"10\" current-page=\"1\"></mds-paginator>\n<script>\n document.querySelector('#pag').addEventListener('mdsPaginatorChange', (e) => {\n console.log('Pagina:', e.detail.page);\n });\n</script>\n```\n\n#### Do Not Pierce Shadow DOM to Style Items\n\nFrom outside, the supported customization surface is the documented `--mds-paginator-*` and `--mds-paginator-item-*` CSS custom properties, set on `mds-paginator`: the items inherit them. Targeting internals via `::part()`, `>>>`, or undocumented selectors couples your code to the implementation and will break on minor releases.\n\n```css\n/* INCORRECT */\nmds-paginator-item >>> .text {\n font-weight: 900;\n}\n\n/* CORRECT */\nmds-paginator {\n --mds-paginator-background: rgb(var(--magma-wash-strong));\n --mds-paginator-item-color: rgb(var(--magma-text-muted));\n}\n```\n"
|
|
24
24
|
},
|
|
25
25
|
"props": [
|
|
26
26
|
{
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
{
|
|
110
110
|
"name": "--mds-paginator-item-background",
|
|
111
111
|
"annotation": "prop",
|
|
112
|
-
"docs": "Sets the background-color of the
|
|
112
|
+
"docs": "Sets the background-color of the item"
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
115
|
"name": "--mds-paginator-item-background-disabled",
|
|
@@ -15,7 +15,7 @@ mds-text {
|
|
|
15
15
|
* @prop --mds-paginator-item-background-disabled: Sets the background-color of the item when is disabled
|
|
16
16
|
* @prop --mds-paginator-item-background-hover: Sets the background-color of the item when the mouse is over it
|
|
17
17
|
* @prop --mds-paginator-item-background-selected: Sets the background-color of the item when is selected
|
|
18
|
-
* @prop --mds-paginator-item-background: Sets the background-color of the
|
|
18
|
+
* @prop --mds-paginator-item-background: Sets the background-color of the item
|
|
19
19
|
* @prop --mds-paginator-item-color-disabled: Sets the color of the item when is disabled
|
|
20
20
|
* @prop --mds-paginator-item-color-hover: Sets the text color of the item when the mouse is over it
|
|
21
21
|
* @prop --mds-paginator-item-color-selected: Sets the text color of the item when is selected
|
|
@@ -28,6 +28,19 @@ mds-text {
|
|
|
28
28
|
* @prop --mds-paginator-item-size: Sets the height and the min-width of the paginator item
|
|
29
29
|
*/
|
|
30
30
|
|
|
31
|
+
/*
|
|
32
|
+
The items mds-paginator renders live in its shadow DOM, so these properties reach them only by
|
|
33
|
+
inheritance: set them on mds-paginator (or on any ancestor of it). The item therefore never
|
|
34
|
+
declares a public property on its own :host, which would beat the inherited value: it reads
|
|
35
|
+
each one through a var() fallback into a --private-paginator-item-* copy. The colours are
|
|
36
|
+
semantic roles, which already follow the mode, so no dark rule declares them again either.
|
|
37
|
+
|
|
38
|
+
No css/mds-paginator-item-property.css on purpose: a registered property always has a value,
|
|
39
|
+
its initial-value, so every one of those fallbacks would stop firing and an item would paint
|
|
40
|
+
the light value the registration was resolved to on a dark page. See
|
|
41
|
+
projects/styles/scripts/properties.ts for how the registrations are collected.
|
|
42
|
+
*/
|
|
43
|
+
|
|
31
44
|
/* ❌ Not supported
|
|
32
45
|
@property --mds-paginator-item-shadow-disabled {
|
|
33
46
|
inherits: false;
|
|
@@ -58,36 +71,57 @@ mds-text {
|
|
|
58
71
|
:host {
|
|
59
72
|
--mds-paginator-item-transition-duration: var(--duration-200, 200ms);
|
|
60
73
|
--private-paginator-item-transition-duration: var(--mds-paginator-item-transition-duration);
|
|
61
|
-
--
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
--
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
--
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
--
|
|
74
|
-
--
|
|
74
|
+
--private-paginator-item-background-disabled: var(
|
|
75
|
+
--mds-paginator-item-background-disabled,
|
|
76
|
+
rgb(var(--magma-wash-base, var(--tone-neutral-09, 225 225 225)))
|
|
77
|
+
);
|
|
78
|
+
--private-paginator-item-background-hover: var(
|
|
79
|
+
--mds-paginator-item-background-hover,
|
|
80
|
+
rgb(var(--magma-wash-strong, var(--tone-neutral-08, 208 208 208)))
|
|
81
|
+
);
|
|
82
|
+
--private-paginator-item-background-selected: var(
|
|
83
|
+
--mds-paginator-item-background-selected,
|
|
84
|
+
rgb(var(--magma-accent-emphasis-hover, var(--variant-primary-03, 7 76 204)))
|
|
85
|
+
);
|
|
86
|
+
--private-paginator-item-background: var(--mds-paginator-item-background, transparent);
|
|
87
|
+
--private-paginator-item-color-disabled: var(
|
|
88
|
+
--mds-paginator-item-color-disabled,
|
|
89
|
+
rgb(var(--magma-text-disabled, var(--text-neutral-disabled, 119 119 119)))
|
|
90
|
+
);
|
|
91
|
+
--private-paginator-item-color-hover: var(
|
|
92
|
+
--mds-paginator-item-color-hover,
|
|
93
|
+
rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)))
|
|
94
|
+
);
|
|
95
|
+
--private-paginator-item-color-selected: var(
|
|
96
|
+
--mds-paginator-item-color-selected,
|
|
97
|
+
rgb(var(--magma-text-on-emphasis, var(--tone-neutral-seed, 255 255 255)))
|
|
98
|
+
);
|
|
99
|
+
--private-paginator-item-color: var(--mds-paginator-item-color, rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5))));
|
|
100
|
+
--private-paginator-item-radius: var(--mds-paginator-item-radius, var(--magma-radius-full, var(--radius-full, 1000px)));
|
|
101
|
+
--private-paginator-item-shadow-disabled: var(--mds-paginator-item-shadow-disabled, none);
|
|
102
|
+
--private-paginator-item-shadow-hover: var(--mds-paginator-item-shadow-hover, none);
|
|
103
|
+
--private-paginator-item-shadow-selected: var(
|
|
104
|
+
--mds-paginator-item-shadow-selected,
|
|
105
|
+
var(--shadow-md-sharp, 0 0 1px 1px rgb(0 0 0 / 0.06), 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -1px rgb(0 0 0 / 0.06))
|
|
106
|
+
);
|
|
107
|
+
--private-paginator-item-shadow: var(--mds-paginator-item-shadow, none);
|
|
108
|
+
--private-paginator-item-size: var(--mds-paginator-item-size, --spacing(900));
|
|
75
109
|
|
|
76
110
|
@apply ease-out
|
|
77
111
|
focus-bounce;
|
|
78
112
|
|
|
79
113
|
align-items: center;
|
|
80
|
-
background-color: var(--
|
|
81
|
-
border-radius: var(--
|
|
82
|
-
box-shadow: var(--
|
|
114
|
+
background-color: var(--private-paginator-item-background);
|
|
115
|
+
border-radius: var(--private-paginator-item-radius);
|
|
116
|
+
box-shadow: var(--private-paginator-item-shadow);
|
|
83
117
|
box-sizing: border-box;
|
|
84
|
-
color: var(--
|
|
118
|
+
color: var(--private-paginator-item-color);
|
|
85
119
|
cursor: pointer;
|
|
86
120
|
display: inline-flex;
|
|
87
121
|
flex-shrink: 0;
|
|
88
|
-
height: var(--
|
|
122
|
+
height: var(--private-paginator-item-size);
|
|
89
123
|
justify-content: center;
|
|
90
|
-
min-width: var(--
|
|
124
|
+
min-width: var(--private-paginator-item-size);
|
|
91
125
|
padding-inline: --spacing(300);
|
|
92
126
|
transition-duration: var(--private-paginator-item-transition-duration);
|
|
93
127
|
transition-property: background-color, box-shadow, color, outline, outline-offset;
|
|
@@ -100,10 +134,10 @@ mds-text {
|
|
|
100
134
|
}
|
|
101
135
|
|
|
102
136
|
:host(:hover) {
|
|
103
|
-
background-color: var(--
|
|
104
|
-
box-shadow: var(--
|
|
105
|
-
color: var(--
|
|
106
|
-
fill: var(--
|
|
137
|
+
background-color: var(--private-paginator-item-background-hover);
|
|
138
|
+
box-shadow: var(--private-paginator-item-shadow-hover);
|
|
139
|
+
color: var(--private-paginator-item-color-hover);
|
|
140
|
+
fill: var(--private-paginator-item-color-hover);
|
|
107
141
|
}
|
|
108
142
|
|
|
109
143
|
:host([icon]) {
|
|
@@ -111,18 +145,18 @@ mds-text {
|
|
|
111
145
|
}
|
|
112
146
|
|
|
113
147
|
:host([selected]) {
|
|
114
|
-
background-color: var(--
|
|
115
|
-
box-shadow: var(--
|
|
116
|
-
color: var(--
|
|
117
|
-
fill: var(--
|
|
148
|
+
background-color: var(--private-paginator-item-background-selected);
|
|
149
|
+
box-shadow: var(--private-paginator-item-shadow-selected);
|
|
150
|
+
color: var(--private-paginator-item-color-selected);
|
|
151
|
+
fill: var(--private-paginator-item-color-selected);
|
|
118
152
|
pointer-events: none;
|
|
119
153
|
}
|
|
120
154
|
|
|
121
155
|
:host([disabled]) {
|
|
122
|
-
background-color: var(--
|
|
123
|
-
box-shadow: var(--
|
|
124
|
-
color: var(--
|
|
125
|
-
fill: var(--
|
|
156
|
+
background-color: var(--private-paginator-item-background-disabled);
|
|
157
|
+
box-shadow: var(--private-paginator-item-shadow-disabled);
|
|
158
|
+
color: var(--private-paginator-item-color-disabled);
|
|
159
|
+
fill: var(--private-paginator-item-color-disabled);
|
|
126
160
|
pointer-events: none;
|
|
127
161
|
}
|
|
128
162
|
|
|
@@ -193,40 +227,3 @@ mds-text {
|
|
|
193
227
|
}
|
|
194
228
|
}
|
|
195
229
|
|
|
196
|
-
/* Theme preference. The component reflects the resolved theme mode and scheme
|
|
197
|
-
* from <html> onto its host as pref-mode + pref-theme-scheme (see
|
|
198
|
-
* subscribePreference in @common/preference); these plain shadow selectors refine
|
|
199
|
-
* for dark. `dark` is the explicit choice; `system` and no controller follow the
|
|
200
|
-
* OS via @media; the scheme axis gates it. Cross-browser, no :host-context. */
|
|
201
|
-
|
|
202
|
-
:host([pref-mode='dark']:not([pref-theme-scheme='light'])) {
|
|
203
|
-
--mds-paginator-item-background-disabled: rgb(var(--magma-wash-base, var(--tone-neutral-09, 225 225 225)));
|
|
204
|
-
--mds-paginator-item-background-hover: rgb(var(--magma-wash-strong, var(--tone-neutral-08, 208 208 208)));
|
|
205
|
-
--mds-paginator-item-background-selected: rgb(var(--magma-accent-emphasis-hover, var(--variant-primary-03, 7 76 204)));
|
|
206
|
-
--mds-paginator-item-background: transparent;
|
|
207
|
-
--mds-paginator-item-color-hover: rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)));
|
|
208
|
-
--mds-paginator-item-color-selected: rgb(var(--magma-text-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
209
|
-
--mds-paginator-item-color: rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)));
|
|
210
|
-
--mds-paginator-item-shadow-disabled: none;
|
|
211
|
-
--mds-paginator-item-shadow-hover: none;
|
|
212
|
-
--mds-paginator-item-shadow-selected: var(--shadow-md-sharp, 0 0 1px 1px rgb(0 0 0 / 0.06), 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -1px rgb(0 0 0 / 0.06));
|
|
213
|
-
--mds-paginator-item-shadow: none;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
@media (prefers-color-scheme: dark) {
|
|
217
|
-
:host([pref-mode='system']:not([pref-theme-scheme='light'])),
|
|
218
|
-
:host(:not([pref-mode])) {
|
|
219
|
-
--mds-paginator-item-background-disabled: rgb(var(--magma-wash-base, var(--tone-neutral-09, 225 225 225)));
|
|
220
|
-
--mds-paginator-item-background-hover: rgb(var(--magma-wash-strong, var(--tone-neutral-08, 208 208 208)));
|
|
221
|
-
--mds-paginator-item-background-selected: rgb(var(--magma-accent-emphasis-hover, var(--variant-primary-03, 7 76 204)));
|
|
222
|
-
--mds-paginator-item-background: transparent;
|
|
223
|
-
--mds-paginator-item-color-hover: rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)));
|
|
224
|
-
--mds-paginator-item-color-selected: rgb(var(--magma-text-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
225
|
-
--mds-paginator-item-color: rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)));
|
|
226
|
-
--mds-paginator-item-shadow-disabled: none;
|
|
227
|
-
--mds-paginator-item-shadow-hover: none;
|
|
228
|
-
--mds-paginator-item-shadow-selected: var(--shadow-md-sharp, 0 0 1px 1px rgb(0 0 0 / 0.06), 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -1px rgb(0 0 0 / 0.06));
|
|
229
|
-
--mds-paginator-item-shadow: none;
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
|
|
@@ -7,23 +7,35 @@ import { preferenceStore } from "../../common/preference";
|
|
|
7
7
|
export class MdsPaginatorItem {
|
|
8
8
|
constructor() {
|
|
9
9
|
this.km = new KeyboardManager();
|
|
10
|
+
/**
|
|
11
|
+
* The item is a button: Enter and Space click it as the pointer does, never while it is
|
|
12
|
+
* disabled or is the selected page, which the pointer cannot click either. A disabled item
|
|
13
|
+
* leaves the tab order; the selected page stays in it, so the keyboard finds where it is.
|
|
14
|
+
*/
|
|
15
|
+
this.syncClickBehavior = () => {
|
|
16
|
+
if (this.disabled || this.selected) {
|
|
17
|
+
this.km.detachClickBehavior();
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
this.km.attachClickBehavior('element', { space: true });
|
|
21
|
+
};
|
|
10
22
|
}
|
|
11
23
|
componentDidLoad() {
|
|
12
24
|
this.km.addElement(this.host);
|
|
13
|
-
this.
|
|
25
|
+
this.syncClickBehavior();
|
|
14
26
|
}
|
|
15
27
|
componentDidUpdate() {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
this.
|
|
28
|
+
this.syncClickBehavior();
|
|
29
|
+
}
|
|
30
|
+
// an item moved in the page is disconnected and connected again, without loading again
|
|
31
|
+
connectedCallback() {
|
|
32
|
+
this.syncClickBehavior();
|
|
21
33
|
}
|
|
22
34
|
disconnectedCallback() {
|
|
23
35
|
this.km.detachClickBehavior();
|
|
24
36
|
}
|
|
25
37
|
render() {
|
|
26
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: '27536fa0dfdc6f379dae3399ca420e565002e386', "aria-current": this.selected ? 'page' : undefined, "aria-disabled": this.disabled ? 'true' : undefined, role: "button", tabindex: this.disabled ? undefined : '0', "pref-animation": preferenceStore.state.animation, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, this.icon !== undefined ? (h("mds-icon", { class: "icon", name: this.icon })) : (h("mds-text", { class: "text", typography: "caption" }, h("b", null, h("slot", null))))));
|
|
27
39
|
}
|
|
28
40
|
static get is() { return "mds-paginator-item"; }
|
|
29
41
|
static get encapsulation() { return "shadow"; }
|
|
@@ -66,10 +66,12 @@ When `icon` is set, the item renders an icon instead of the text slot and is use
|
|
|
66
66
|
|
|
67
67
|
#### CSS Customization
|
|
68
68
|
|
|
69
|
-
The documented `--mds-paginator-item-*` CSS custom properties
|
|
69
|
+
The items live in the shadow DOM of the parent `mds-paginator`, so the documented `--mds-paginator-item-*` CSS custom properties reach them by inheritance: set them on the `mds-paginator` host or on a containing selector, next to the parent's own `--mds-paginator-background` and `--mds-paginator-scroll-behavior`. Use the semantic color roles so dark mode keeps working.
|
|
70
70
|
|
|
71
71
|
```css
|
|
72
72
|
mds-paginator {
|
|
73
73
|
--mds-paginator-background: rgb(var(--magma-wash-strong));
|
|
74
|
+
--mds-paginator-item-background-hover: rgb(var(--magma-wash-soft));
|
|
75
|
+
--mds-paginator-item-size: calc(var(--spacing) * 800);
|
|
74
76
|
}
|
|
75
77
|
```
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-policy-ai
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.4.0. Shadow DOM: style it only through the CSS custom properties and parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-policy-ai>` web component is the Magma Design System disclosure marker that flags AI-generated content as produced by MIA (Maggioli's artificial intelligence) and links to the official AI usage policy. It is a presentational compound component with no native HTML primitive, rendering one of four interchangeable surfaces (icon, chip, card, banner).
|
|
12
12
|
|
|
@@ -50,7 +50,8 @@ The internal surfaces are fixed to `variant="ai"` of their underlying Magma comp
|
|
|
50
50
|
| --- | --- |
|
|
51
51
|
| `banner` | Selects the `banner` component wrapped in shadowDOM, will be found only if attirbute `variant` is set to `banner`. |
|
|
52
52
|
| `card` | Selects the `card` component wrapped in shadowDOM, will be found only if attirbute `variant` is set to `card`. |
|
|
53
|
-
| `chip` | Selects the `chip`
|
|
53
|
+
| `chip` | Selects the `mds-chip` wrapped in shadowDOM, will be found only if attirbute `variant` is set to `chip`. |
|
|
54
|
+
| `chip-wrapper` | Selects the wrapper of the chip and of its dropdown, will be found only if attirbute `variant` is set to `chip`. |
|
|
54
55
|
| `icon` | Selects the `icon` component wrapped in shadowDOM, will be found only if attirbute `variant` is set to `icon`. |
|
|
55
56
|
|
|
56
57
|
## Dependencies
|