@maggioli-design-system/magma 2.1.0 → 2.3.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 +26 -10
- package/CHANGELOG.md +475 -0
- package/README.md +5 -2
- package/agents/assets.md +231 -28
- package/agents/color.md +5 -3
- package/agents/components.md +3 -3
- package/agents/install.md +25 -4
- package/agents/reporting.md +127 -0
- package/agents/theming.md +15 -0
- package/dist/cjs/_commonjsHelpers-CFO10eej.js +7 -0
- package/dist/cjs/{floating-controller-uOCBLTk2.js → floating-controller-D7Ekjocg.js} +18 -4
- package/dist/cjs/{floating-ui.dom-DflSHZIo.js → floating-ui.dom-EMHL7uyZ.js} +146 -94
- package/dist/cjs/icon-MMHcqbgv.js +20 -0
- package/dist/cjs/index-UmmmCMIG.js +40 -40
- package/dist/cjs/index.cjs.js +62 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/magma-components.cjs.js +1 -1
- package/dist/cjs/mds-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +1 -1
- package/dist/cjs/mds-accordion.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar.cjs.entry.js +2 -2
- package/dist/cjs/mds-badge.cjs.entry.js +1 -1
- package/dist/cjs/mds-banner_3.cjs.entry.js +3 -3
- package/dist/cjs/mds-bibliography.cjs.entry.js +1 -1
- package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/mds-button-dropdown.cjs.entry.js +30 -2
- package/dist/cjs/mds-button_3.cjs.entry.js +125 -58
- package/dist/cjs/mds-calendar_2.cjs.entry.js +59 -6
- package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
- package/dist/cjs/mds-card.cjs.entry.js +1 -1
- package/dist/cjs/mds-details.cjs.entry.js +1 -1
- package/dist/cjs/mds-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/mds-emoji.cjs.entry.js +1 -1
- package/dist/cjs/mds-entity.cjs.entry.js +1 -1
- package/dist/cjs/mds-file-preview.cjs.entry.js +1 -1
- package/dist/cjs/mds-file.cjs.entry.js +29 -7520
- package/dist/cjs/mds-filter-item.cjs.entry.js +89 -3
- package/dist/cjs/mds-filter.cjs.entry.js +113 -19
- package/dist/cjs/mds-header-bar.cjs.entry.js +29 -2
- package/dist/cjs/mds-header.cjs.entry.js +1 -1
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +38 -2
- package/dist/cjs/mds-hr.cjs.entry.js +1 -1
- package/dist/cjs/mds-img.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-date-range.cjs.entry.js +16 -2
- package/dist/cjs/mds-input-date.cjs.entry.js +36 -4
- package/dist/cjs/mds-input-field.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-range.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-select.cjs.entry.js +32 -5
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +21 -8
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-upload.cjs.entry.js +1 -1
- package/dist/cjs/mds-input.cjs.entry.js +12 -3
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +1 -1
- package/dist/cjs/mds-keyboard.cjs.entry.js +1 -1
- package/dist/cjs/mds-kpi-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-label.cjs.entry.js +1 -1
- package/dist/cjs/mds-list-item.cjs.entry.js +2 -3
- package/dist/cjs/mds-mention.cjs.entry.js +1 -1
- package/dist/cjs/mds-modal.cjs.entry.js +32 -5
- package/dist/cjs/mds-note.cjs.entry.js +1 -1
- package/dist/cjs/mds-notification.cjs.entry.js +2 -2
- package/dist/cjs/mds-paginator-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-paginator.cjs.entry.js +1 -1
- package/dist/cjs/mds-policy-ai.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-animation.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-language.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-mode.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-theme-item.cjs.entry.js +4 -3
- package/dist/cjs/mds-pref-theme.cjs.entry.js +29 -2
- package/dist/cjs/mds-pref.cjs.entry.js +24 -53
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-features.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-header.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-list.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table.cjs.entry.js +1 -1
- package/dist/cjs/mds-progress_2.cjs.entry.js +4 -4
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-push-notification.cjs.entry.js +2 -2
- package/dist/cjs/mds-quote.cjs.entry.js +2 -2
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-radial-menu.cjs.entry.js +40 -4
- package/dist/cjs/mds-separator.cjs.entry.js +2 -2
- package/dist/cjs/mds-status-bar.cjs.entry.js +2 -2
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +2 -2
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-tab-bar.cjs.entry.js +2 -2
- package/dist/cjs/mds-tab_2.cjs.entry.js +43 -8
- package/dist/cjs/mds-table-body.cjs.entry.js +2 -2
- package/dist/cjs/mds-table-footer.cjs.entry.js +2 -2
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +116 -77
- package/dist/cjs/mds-table-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-table-row.cjs.entry.js +22 -16
- package/dist/cjs/mds-table.cjs.entry.js +9 -2
- package/dist/cjs/mds-text.cjs.entry.js +37 -27
- package/dist/cjs/mds-toast.cjs.entry.js +2 -2
- package/dist/cjs/mds-tooltip.cjs.entry.js +17 -4
- package/dist/cjs/mds-tree-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-tree.cjs.entry.js +2 -2
- package/dist/cjs/mds-url-view.cjs.entry.js +2 -2
- package/dist/cjs/mds-usage.cjs.entry.js +23 -4
- package/dist/cjs/mds-video-wall.cjs.entry.js +2 -2
- package/dist/cjs/mds-zero.cjs.entry.js +2 -2
- package/dist/cjs/string-RoXIuD3q.js +7 -0
- package/dist/collection/common/floating-controller.js +17 -3
- package/dist/collection/common/hash.js +15 -0
- package/dist/collection/common/navigation.js +60 -0
- package/dist/collection/common/string.js +3 -1
- package/dist/collection/common/yugop/random-text.js +5 -0
- package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion/documentation.json +1 -1
- package/dist/collection/components/mds-accordion/mds-accordion.css +5 -5
- package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-item/documentation.json +1 -1
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +11 -11
- package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-timer/documentation.json +1 -1
- package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +2 -2
- package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-timer-item/documentation.json +1 -1
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +6 -6
- 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-author/mds-author.css +2 -1
- package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar/documentation.json +2 -2
- package/dist/collection/components/mds-avatar/mds-avatar.css +18 -17
- package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar-stack/documentation.json +1 -1
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.css +3 -3
- package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar-stack-item/documentation.json +1 -1
- package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.css +6 -6
- package/dist/collection/components/mds-badge/AGENTS.md +1 -1
- package/dist/collection/components/mds-badge/documentation.json +1 -1
- package/dist/collection/components/mds-badge/mds-badge.css +13 -13
- package/dist/collection/components/mds-banner/AGENTS.md +1 -1
- package/dist/collection/components/mds-banner/documentation.json +1 -1
- package/dist/collection/components/mds-banner/mds-banner.css +56 -56
- package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-benchmark-bar/documentation.json +1 -1
- package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
- package/dist/collection/components/mds-bibliography/documentation.json +2 -2
- package/dist/collection/components/mds-bibliography/mds-bibliography.css +8 -6
- package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
- package/dist/collection/components/mds-breadcrumb/documentation.json +1 -1
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.css +6 -6
- package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-breadcrumb-item/documentation.json +1 -1
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +14 -13
- package/dist/collection/components/mds-button/AGENTS.md +5 -5
- package/dist/collection/components/mds-button/antipattern.md +20 -2
- package/dist/collection/components/mds-button/documentation.json +5 -5
- package/dist/collection/components/mds-button/mds-button.css +239 -417
- package/dist/collection/components/mds-button/mds-button.js +120 -38
- package/dist/collection/components/mds-button/pattern.md +34 -1
- package/dist/collection/components/mds-button-dropdown/AGENTS.md +2 -2
- package/dist/collection/components/mds-button-dropdown/documentation.json +2 -2
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +10 -10
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +12 -1
- package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
- package/dist/collection/components/mds-button-group/documentation.json +1 -1
- package/dist/collection/components/mds-calendar/AGENTS.md +2 -2
- package/dist/collection/components/mds-calendar/documentation.json +2 -2
- package/dist/collection/components/mds-calendar/mds-calendar.css +5 -5
- package/dist/collection/components/mds-calendar/mds-calendar.js +17 -4
- package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-calendar-cell/documentation.json +1 -1
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +58 -58
- package/dist/collection/components/mds-card/AGENTS.md +1 -1
- package/dist/collection/components/mds-card/documentation.json +1 -1
- package/dist/collection/components/mds-card/mds-card.css +2 -2
- package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-content/documentation.json +1 -1
- package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-footer/documentation.json +1 -1
- package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-header/documentation.json +1 -1
- package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-media/documentation.json +1 -1
- package/dist/collection/components/mds-chip/AGENTS.md +1 -1
- package/dist/collection/components/mds-chip/documentation.json +1 -1
- package/dist/collection/components/mds-chip/mds-chip.css +90 -90
- package/dist/collection/components/mds-details/AGENTS.md +1 -1
- package/dist/collection/components/mds-details/documentation.json +1 -1
- package/dist/collection/components/mds-details/mds-details.css +6 -6
- package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
- package/dist/collection/components/mds-dropdown/documentation.json +2 -2
- package/dist/collection/components/mds-dropdown/mds-dropdown.css +26 -26
- package/dist/collection/components/mds-emoji/AGENTS.md +2 -2
- package/dist/collection/components/mds-emoji/documentation.json +3 -3
- package/dist/collection/components/mds-emoji/mds-emoji.css +5 -5
- package/dist/collection/components/mds-entity/AGENTS.md +1 -1
- package/dist/collection/components/mds-entity/documentation.json +1 -1
- package/dist/collection/components/mds-entity/mds-entity.css +8 -8
- package/dist/collection/components/mds-file/AGENTS.md +2 -2
- package/dist/collection/components/mds-file/documentation.json +3 -3
- package/dist/collection/components/mds-file/mds-file.css +13 -13
- package/dist/collection/components/mds-file/mds-file.js +15 -9
- package/dist/collection/components/mds-file/pattern.md +1 -1
- package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
- package/dist/collection/components/mds-file-preview/documentation.json +1 -1
- package/dist/collection/components/mds-file-preview/mds-file-preview.css +21 -21
- package/dist/collection/components/mds-filter/AGENTS.md +5 -3
- package/dist/collection/components/mds-filter/documentation.json +3 -3
- package/dist/collection/components/mds-filter/mds-filter.css +16 -16
- package/dist/collection/components/mds-filter/mds-filter.js +97 -19
- package/dist/collection/components/mds-filter/pattern.md +34 -4
- package/dist/collection/components/mds-filter-item/AGENTS.md +9 -8
- package/dist/collection/components/mds-filter-item/documentation.json +4 -4
- package/dist/collection/components/mds-filter-item/mds-filter-item.css +27 -17
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +65 -3
- package/dist/collection/components/mds-filter-item/pattern.md +5 -5
- package/dist/collection/components/mds-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-header/documentation.json +1 -1
- package/dist/collection/components/mds-header/mds-header.css +21 -13
- package/dist/collection/components/mds-header-bar/AGENTS.md +2 -2
- package/dist/collection/components/mds-header-bar/documentation.json +2 -2
- package/dist/collection/components/mds-header-bar/mds-header-bar.css +5 -5
- package/dist/collection/components/mds-header-bar/mds-header-bar.js +12 -1
- package/dist/collection/components/mds-help/AGENTS.md +1 -1
- package/dist/collection/components/mds-help/documentation.json +2 -2
- package/dist/collection/components/mds-help/mds-help.css +1 -1
- package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +2 -2
- package/dist/collection/components/mds-horizontal-scroll/documentation.json +2 -2
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +10 -10
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +12 -1
- package/dist/collection/components/mds-hr/AGENTS.md +1 -1
- package/dist/collection/components/mds-hr/documentation.json +1 -1
- package/dist/collection/components/mds-hr/mds-hr.css +1 -1
- package/dist/collection/components/mds-icon/AGENTS.md +1 -1
- package/dist/collection/components/mds-icon/documentation.json +2 -2
- package/dist/collection/components/mds-img/AGENTS.md +1 -1
- package/dist/collection/components/mds-img/documentation.json +1 -1
- package/dist/collection/components/mds-img/mds-img.css +6 -6
- package/dist/collection/components/mds-input/AGENTS.md +3 -1
- package/dist/collection/components/mds-input/documentation.json +52 -4
- package/dist/collection/components/mds-input/mds-input.css +133 -62
- package/dist/collection/components/mds-input/mds-input.js +38 -2
- package/dist/collection/components/mds-input/pattern.md +15 -0
- package/dist/collection/components/mds-input-date/AGENTS.md +5 -2
- package/dist/collection/components/mds-input-date/documentation.json +50 -2
- package/dist/collection/components/mds-input-date/mds-input-date.css +52 -26
- package/dist/collection/components/mds-input-date/mds-input-date.js +46 -2
- package/dist/collection/components/mds-input-date-range/AGENTS.md +4 -2
- package/dist/collection/components/mds-input-date-range/documentation.json +50 -2
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +51 -25
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +34 -1
- package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-date-range-preselection/documentation.json +1 -1
- package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.css +18 -18
- package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-field/documentation.json +1 -1
- package/dist/collection/components/mds-input-field/mds-input-field.css +7 -7
- package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-otp/documentation.json +1 -1
- package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-range/documentation.json +1 -1
- package/dist/collection/components/mds-input-range/mds-input-range.css +13 -12
- package/dist/collection/components/mds-input-select/AGENTS.md +7 -4
- package/dist/collection/components/mds-input-select/documentation.json +58 -7
- package/dist/collection/components/mds-input-select/mds-input-select.css +103 -29
- package/dist/collection/components/mds-input-select/mds-input-select.js +61 -7
- package/dist/collection/components/mds-input-select/pattern.md +3 -3
- package/dist/collection/components/mds-input-switch/AGENTS.md +2 -2
- package/dist/collection/components/mds-input-switch/documentation.json +2 -2
- package/dist/collection/components/mds-input-switch/mds-input-switch.css +86 -65
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +19 -6
- package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-tip/documentation.json +1 -1
- package/dist/collection/components/mds-input-tip/mds-input-tip.css +1 -1
- package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-tip-item/documentation.json +1 -1
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.css +21 -20
- package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-upload/documentation.json +1 -1
- package/dist/collection/components/mds-input-upload/mds-input-upload.css +13 -12
- package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
- package/dist/collection/components/mds-keyboard/documentation.json +1 -1
- package/dist/collection/components/mds-keyboard/mds-keyboard.css +4 -3
- package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
- package/dist/collection/components/mds-keyboard-key/documentation.json +1 -1
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +2 -1
- package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
- package/dist/collection/components/mds-kpi/documentation.json +1 -1
- package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-kpi-item/documentation.json +1 -1
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.css +13 -13
- package/dist/collection/components/mds-label/AGENTS.md +1 -1
- package/dist/collection/components/mds-label/documentation.json +1 -1
- package/dist/collection/components/mds-label/mds-label.css +12 -12
- package/dist/collection/components/mds-list/AGENTS.md +2 -2
- package/dist/collection/components/mds-list/documentation.json +2 -2
- package/dist/collection/components/mds-list-item/AGENTS.md +2 -1
- package/dist/collection/components/mds-list-item/documentation.json +3 -3
- package/dist/collection/components/mds-list-item/mds-list-item.css +0 -18
- package/dist/collection/components/mds-list-item/mds-list-item.js +1 -2
- package/dist/collection/components/mds-list-item/pattern.md +11 -0
- package/dist/collection/components/mds-mention/AGENTS.md +1 -1
- package/dist/collection/components/mds-mention/documentation.json +1 -1
- package/dist/collection/components/mds-mention/mds-mention.css +2 -2
- package/dist/collection/components/mds-modal/AGENTS.md +2 -2
- package/dist/collection/components/mds-modal/documentation.json +2 -2
- package/dist/collection/components/mds-modal/mds-modal.css +5 -5
- package/dist/collection/components/mds-modal/mds-modal.js +14 -3
- package/dist/collection/components/mds-note/AGENTS.md +1 -1
- package/dist/collection/components/mds-note/documentation.json +1 -1
- package/dist/collection/components/mds-note/mds-note.css +3 -3
- package/dist/collection/components/mds-notification/AGENTS.md +1 -1
- package/dist/collection/components/mds-notification/documentation.json +2 -2
- package/dist/collection/components/mds-notification/mds-notification.css +4 -4
- package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
- package/dist/collection/components/mds-paginator/documentation.json +1 -1
- package/dist/collection/components/mds-paginator/mds-paginator.css +6 -6
- package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-paginator-item/documentation.json +1 -1
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +31 -30
- package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
- package/dist/collection/components/mds-policy-ai/documentation.json +1 -1
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.css +8 -8
- package/dist/collection/components/mds-pref/AGENTS.md +2 -2
- package/dist/collection/components/mds-pref/documentation.json +14 -3
- package/dist/collection/components/mds-pref/mds-pref.js +39 -53
- package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-animation/documentation.json +1 -1
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.css +7 -7
- package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-consumption/documentation.json +1 -1
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.css +4 -4
- package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-contrast/documentation.json +1 -1
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.css +5 -5
- package/dist/collection/components/mds-pref-language/AGENTS.md +3 -3
- package/dist/collection/components/mds-pref-language/documentation.json +2 -2
- package/dist/collection/components/mds-pref-language/mds-pref-language.css +10 -2
- package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-language-item/documentation.json +1 -1
- package/dist/collection/components/mds-pref-mode/AGENTS.md +3 -3
- package/dist/collection/components/mds-pref-mode/documentation.json +2 -2
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +5 -5
- package/dist/collection/components/mds-pref-theme/AGENTS.md +4 -3
- package/dist/collection/components/mds-pref-theme/documentation.json +2 -2
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.css +10 -2
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +29 -2
- package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-theme-item/documentation.json +1 -1
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +10 -9
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +3 -2
- package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table/documentation.json +1 -1
- package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
- package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-features/documentation.json +1 -1
- 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 +1 -1
- package/dist/collection/components/mds-price-table-features-cell/documentation.json +1 -1
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +11 -11
- 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 +1 -1
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +12 -12
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
- package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-header/documentation.json +1 -1
- 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 +1 -1
- package/dist/collection/components/mds-price-table-list/documentation.json +1 -1
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +8 -8
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
- package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-list-item/documentation.json +1 -1
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.css +2 -2
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
- package/dist/collection/components/mds-progress/AGENTS.md +1 -1
- package/dist/collection/components/mds-progress/documentation.json +1 -1
- package/dist/collection/components/mds-progress/mds-progress.css +20 -20
- package/dist/collection/components/mds-progress/mds-progress.js +1 -1
- package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
- package/dist/collection/components/mds-push-notification/documentation.json +1 -1
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
- package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-push-notification-item/documentation.json +1 -1
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +16 -16
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
- package/dist/collection/components/mds-quote/AGENTS.md +1 -1
- package/dist/collection/components/mds-quote/documentation.json +1 -1
- package/dist/collection/components/mds-quote/mds-quote.css +6 -4
- package/dist/collection/components/mds-quote/mds-quote.js +1 -1
- package/dist/collection/components/mds-radial-menu/AGENTS.md +2 -2
- package/dist/collection/components/mds-radial-menu/documentation.json +2 -2
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +5 -3
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +12 -1
- package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-radial-menu-item/documentation.json +1 -1
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
- package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
- package/dist/collection/components/mds-radial-progress/documentation.json +1 -1
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +15 -15
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
- package/dist/collection/components/mds-separator/AGENTS.md +1 -1
- package/dist/collection/components/mds-separator/documentation.json +1 -1
- package/dist/collection/components/mds-separator/mds-separator.css +2 -2
- package/dist/collection/components/mds-separator/mds-separator.js +1 -1
- package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
- package/dist/collection/components/mds-spinner/documentation.json +1 -1
- package/dist/collection/components/mds-spinner/mds-spinner.css +3 -3
- package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
- package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-status-bar/documentation.json +1 -1
- package/dist/collection/components/mds-status-bar/mds-status-bar.css +7 -6
- package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
- package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-stepper-bar/documentation.json +1 -1
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.css +6 -6
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
- package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-stepper-bar-item/documentation.json +1 -1
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +15 -15
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
- package/dist/collection/components/mds-tab/AGENTS.md +6 -5
- package/dist/collection/components/mds-tab/antipattern.md +27 -0
- package/dist/collection/components/mds-tab/documentation.json +6 -6
- package/dist/collection/components/mds-tab/mds-tab.css +61 -24
- package/dist/collection/components/mds-tab/mds-tab.js +34 -6
- package/dist/collection/components/mds-tab/pattern.md +33 -1
- package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-bar/documentation.json +1 -1
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.css +1 -1
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
- package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-bar-item/documentation.json +1 -1
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +14 -14
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
- package/dist/collection/components/mds-tab-item/AGENTS.md +5 -4
- package/dist/collection/components/mds-tab-item/antipattern.md +22 -1
- package/dist/collection/components/mds-tab-item/documentation.json +5 -5
- package/dist/collection/components/mds-tab-item/mds-tab-item.css +2 -2
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +15 -3
- package/dist/collection/components/mds-tab-item/pattern.md +25 -7
- package/dist/collection/components/mds-table/AGENTS.md +4 -2
- package/dist/collection/components/mds-table/documentation.json +48 -4
- package/dist/collection/components/mds-table/mds-table.css +33 -22
- package/dist/collection/components/mds-table/mds-table.js +35 -1
- package/dist/collection/components/mds-table/pattern.md +30 -0
- package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-body/documentation.json +1 -1
- package/dist/collection/components/mds-table-body/mds-table-body.css +8 -8
- package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
- package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-cell/documentation.json +1 -1
- package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
- package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-footer/documentation.json +1 -1
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
- package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-header/documentation.json +1 -1
- package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
- package/dist/collection/components/mds-table-header-cell/AGENTS.md +14 -5
- package/dist/collection/components/mds-table-header-cell/antipattern.md +17 -10
- package/dist/collection/components/mds-table-header-cell/documentation.json +54 -6
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +159 -82
- package/dist/collection/components/mds-table-header-cell/meta/event-detail.js +1 -0
- package/dist/collection/components/mds-table-header-cell/pattern.md +27 -6
- package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-row/documentation.json +1 -1
- package/dist/collection/components/mds-table-row/mds-table-row.css +12 -12
- package/dist/collection/components/mds-table-row/mds-table-row.js +22 -16
- package/dist/collection/components/mds-text/AGENTS.md +3 -3
- package/dist/collection/components/mds-text/documentation.json +2 -2
- package/dist/collection/components/mds-text/mds-text.css +3 -3
- package/dist/collection/components/mds-text/mds-text.js +31 -26
- package/dist/collection/components/mds-toast/AGENTS.md +1 -1
- package/dist/collection/components/mds-toast/documentation.json +1 -1
- package/dist/collection/components/mds-toast/mds-toast.css +18 -18
- package/dist/collection/components/mds-toast/mds-toast.js +1 -1
- package/dist/collection/components/mds-tooltip/AGENTS.md +4 -2
- package/dist/collection/components/mds-tooltip/antipattern.md +14 -0
- package/dist/collection/components/mds-tooltip/documentation.json +46 -5
- package/dist/collection/components/mds-tooltip/mds-tooltip.css +10 -10
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +41 -1
- package/dist/collection/components/mds-tooltip/pattern.md +9 -0
- package/dist/collection/components/mds-tree/AGENTS.md +1 -1
- package/dist/collection/components/mds-tree/documentation.json +1 -1
- package/dist/collection/components/mds-tree/mds-tree.css +13 -13
- package/dist/collection/components/mds-tree/mds-tree.js +1 -1
- package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-tree-item/documentation.json +1 -1
- package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
- package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
- package/dist/collection/components/mds-url-view/documentation.json +1 -1
- package/dist/collection/components/mds-url-view/mds-url-view.css +7 -7
- package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
- package/dist/collection/components/mds-usage/AGENTS.md +5 -3
- package/dist/collection/components/mds-usage/antipattern.md +17 -1
- package/dist/collection/components/mds-usage/documentation.json +31 -5
- package/dist/collection/components/mds-usage/mds-usage.css +6 -6
- package/dist/collection/components/mds-usage/mds-usage.js +26 -4
- package/dist/collection/components/mds-usage/meta/variants.js +14 -18
- package/dist/collection/components/mds-usage/pattern.md +10 -0
- package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
- package/dist/collection/components/mds-video-wall/documentation.json +1 -1
- package/dist/collection/components/mds-video-wall/mds-video-wall.css +3 -3
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
- package/dist/collection/components/mds-zero/AGENTS.md +1 -1
- package/dist/collection/components/mds-zero/documentation.json +1 -1
- package/dist/collection/components/mds-zero/mds-zero.css +3 -3
- package/dist/collection/components/mds-zero/mds-zero.js +1 -1
- package/dist/collection/index.js +11 -4
- package/dist/collection/type/floating-ui.js +1 -0
- package/dist/collection/type/input.js +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-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.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-media.js +1 -1
- package/dist/components/mds-card.js +1 -1
- package/dist/components/mds-chip.js +1 -1
- package/dist/components/mds-details.js +1 -1
- package/dist/components/mds-dropdown.js +1 -1
- package/dist/components/mds-emoji.js +2 -2
- package/dist/components/mds-entity.js +1 -1
- package/dist/components/mds-file-preview.js +1 -1
- package/dist/components/mds-file.js +1 -18
- package/dist/components/mds-filter-item.js +1 -1
- package/dist/components/mds-filter.js +1 -1
- package/dist/components/mds-header-bar.js +1 -1
- package/dist/components/mds-header.js +1 -1
- package/dist/components/mds-help.js +1 -1
- package/dist/components/mds-horizontal-scroll.js +1 -1
- package/dist/components/mds-hr.js +1 -1
- package/dist/components/mds-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-label.js +1 -1
- package/dist/components/mds-list-item.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.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--5KZXaZp.js +1 -0
- package/dist/components/p--OCrgFeE.js +1 -0
- package/dist/components/p-6LGfUDQ4.js +1 -0
- package/dist/components/p-6pgPWpGI.js +1 -0
- package/dist/components/p-B8BWxSho.js +1 -0
- package/dist/components/p-B9uIL9KO.js +1 -0
- package/dist/components/p-BBDliSai.js +1 -0
- package/dist/components/p-BCwcnHFh.js +1 -0
- package/dist/components/p-BRf-u585.js +1 -0
- package/dist/components/p-BSeokAdy.js +1 -0
- package/dist/components/p-BXUJgu8l.js +1 -0
- package/dist/components/p-BXYUyw7p.js +1 -0
- package/dist/components/{p-s2Gu6hY7.js → p-BcUY-9n7.js} +1 -1
- package/dist/components/p-BfgJ-hHQ.js +1 -0
- package/dist/components/{p-x_c_51aL.js → p-CIfGjW_Z.js} +1 -1
- package/dist/components/p-CMp9rP7L.js +1 -0
- package/dist/components/p-CUmJoPAI.js +1 -0
- package/dist/components/p-CZjHixVB.js +1 -0
- package/dist/components/p-Ck0q_n7I.js +1 -0
- package/dist/components/p-CrCa_6a1.js +8 -0
- package/dist/components/p-Cv7lqHIc.js +1 -0
- package/dist/components/p-Cw6_ooFx.js +1 -0
- package/dist/components/p-DGYRngAi.js +1 -0
- package/dist/components/p-DHu8X7zF.js +1 -0
- package/dist/components/{p-BW24ByN-.js → p-DLCcW1Q5.js} +1 -1
- package/dist/components/p-DOzcuSrZ.js +1 -0
- package/dist/components/p-DZPHWQtD.js +1 -0
- package/dist/components/p-DlRjt7nE.js +1 -0
- package/dist/components/p-HSM_x8fD.js +1 -0
- package/dist/components/p-JMPfVnGv.js +1 -0
- package/dist/components/p-ay5NzZ_x.js +1 -0
- package/dist/components/p-lNY_3s6S.js +1 -0
- package/dist/components/p-qYRtWYC8.js +1 -0
- package/dist/documentation.json +469 -84
- package/dist/esm/_commonjsHelpers-B85MJLTf.js +5 -0
- package/dist/esm/{floating-controller-BTYkH_Ih.js → floating-controller-D5-8D9mH.js} +18 -4
- package/dist/esm/{floating-ui.dom-CHAGzQT-.js → floating-ui.dom-JMPfVnGv.js} +146 -94
- package/dist/esm/icon-pNJmnrhq.js +16 -0
- package/dist/esm/index-BxPbQB28.js +40 -40
- package/dist/esm/index.js +62 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/magma-components.js +1 -1
- package/dist/esm/mds-accordion-item.entry.js +1 -1
- package/dist/esm/mds-accordion-timer-item.entry.js +1 -1
- package/dist/esm/mds-accordion-timer.entry.js +1 -1
- package/dist/esm/mds-accordion.entry.js +1 -1
- package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm/mds-avatar-stack.entry.js +1 -1
- package/dist/esm/mds-avatar.entry.js +2 -2
- package/dist/esm/mds-badge.entry.js +1 -1
- package/dist/esm/mds-banner_3.entry.js +3 -3
- package/dist/esm/mds-bibliography.entry.js +1 -1
- package/dist/esm/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm/mds-breadcrumb.entry.js +1 -1
- package/dist/esm/mds-button-dropdown.entry.js +30 -2
- package/dist/esm/mds-button_3.entry.js +123 -56
- package/dist/esm/mds-calendar_2.entry.js +59 -6
- package/dist/esm/mds-card-media.entry.js +1 -1
- package/dist/esm/mds-card.entry.js +1 -1
- package/dist/esm/mds-details.entry.js +1 -1
- package/dist/esm/mds-dropdown.entry.js +3 -3
- package/dist/esm/mds-emoji.entry.js +1 -1
- package/dist/esm/mds-entity.entry.js +1 -1
- package/dist/esm/mds-file-preview.entry.js +1 -1
- package/dist/esm/mds-file.entry.js +30 -7521
- package/dist/esm/mds-filter-item.entry.js +89 -3
- package/dist/esm/mds-filter.entry.js +114 -20
- package/dist/esm/mds-header-bar.entry.js +29 -2
- package/dist/esm/mds-header.entry.js +1 -1
- package/dist/esm/mds-horizontal-scroll.entry.js +38 -2
- package/dist/esm/mds-hr.entry.js +1 -1
- package/dist/esm/mds-img.entry.js +1 -1
- package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
- package/dist/esm/mds-input-date-range.entry.js +16 -2
- package/dist/esm/mds-input-date.entry.js +36 -4
- package/dist/esm/mds-input-field.entry.js +1 -1
- package/dist/esm/mds-input-range.entry.js +1 -1
- package/dist/esm/mds-input-select.entry.js +32 -5
- package/dist/esm/mds-input-switch_2.entry.js +21 -8
- package/dist/esm/mds-input-tip_2.entry.js +2 -2
- package/dist/esm/mds-input-upload.entry.js +1 -1
- package/dist/esm/mds-input.entry.js +12 -3
- package/dist/esm/mds-keyboard-key.entry.js +1 -1
- package/dist/esm/mds-keyboard.entry.js +1 -1
- package/dist/esm/mds-kpi-item.entry.js +1 -1
- package/dist/esm/mds-label.entry.js +1 -1
- package/dist/esm/mds-list-item.entry.js +2 -3
- package/dist/esm/mds-mention.entry.js +1 -1
- package/dist/esm/mds-modal.entry.js +31 -4
- package/dist/esm/mds-note.entry.js +1 -1
- package/dist/esm/mds-notification.entry.js +2 -2
- package/dist/esm/mds-paginator-item.entry.js +1 -1
- package/dist/esm/mds-paginator.entry.js +1 -1
- package/dist/esm/mds-policy-ai.entry.js +1 -1
- package/dist/esm/mds-pref-animation.entry.js +1 -1
- package/dist/esm/mds-pref-consumption.entry.js +1 -1
- package/dist/esm/mds-pref-contrast.entry.js +1 -1
- package/dist/esm/mds-pref-language.entry.js +1 -1
- package/dist/esm/mds-pref-mode.entry.js +1 -1
- package/dist/esm/mds-pref-theme-item.entry.js +4 -3
- package/dist/esm/mds-pref-theme.entry.js +30 -3
- package/dist/esm/mds-pref.entry.js +24 -53
- package/dist/esm/mds-price-table-features-cell.entry.js +2 -2
- package/dist/esm/mds-price-table-features-row.entry.js +2 -2
- package/dist/esm/mds-price-table-features.entry.js +2 -2
- package/dist/esm/mds-price-table-header.entry.js +1 -1
- package/dist/esm/mds-price-table-list-item.entry.js +2 -2
- package/dist/esm/mds-price-table-list.entry.js +2 -2
- package/dist/esm/mds-price-table.entry.js +1 -1
- package/dist/esm/mds-progress_2.entry.js +4 -4
- package/dist/esm/mds-push-notification-item.entry.js +4 -4
- package/dist/esm/mds-push-notification.entry.js +2 -2
- package/dist/esm/mds-quote.entry.js +2 -2
- package/dist/esm/mds-radial-menu-item.entry.js +2 -2
- package/dist/esm/mds-radial-menu.entry.js +40 -4
- package/dist/esm/mds-separator.entry.js +2 -2
- package/dist/esm/mds-status-bar.entry.js +2 -2
- package/dist/esm/mds-stepper-bar-item.entry.js +2 -2
- package/dist/esm/mds-stepper-bar.entry.js +2 -2
- package/dist/esm/mds-tab-bar-item.entry.js +2 -2
- package/dist/esm/mds-tab-bar.entry.js +2 -2
- package/dist/esm/mds-tab_2.entry.js +43 -8
- package/dist/esm/mds-table-body.entry.js +2 -2
- package/dist/esm/mds-table-footer.entry.js +2 -2
- package/dist/esm/mds-table-header-cell.entry.js +117 -78
- package/dist/esm/mds-table-header.entry.js +2 -2
- package/dist/esm/mds-table-row.entry.js +23 -17
- package/dist/esm/mds-table.entry.js +9 -2
- package/dist/esm/mds-text.entry.js +37 -27
- package/dist/esm/mds-toast.entry.js +2 -2
- package/dist/esm/mds-tooltip.entry.js +17 -4
- package/dist/esm/mds-tree-item.entry.js +2 -2
- package/dist/esm/mds-tree.entry.js +2 -2
- package/dist/esm/mds-url-view.entry.js +2 -2
- package/dist/esm/mds-usage.entry.js +23 -4
- package/dist/esm/mds-video-wall.entry.js +2 -2
- package/dist/esm/mds-zero.entry.js +2 -2
- package/dist/esm/string-6pgPWpGI.js +5 -0
- package/dist/esm-es5/_commonjsHelpers-B85MJLTf.js +1 -0
- package/dist/esm-es5/{floating-controller-BTYkH_Ih.js → floating-controller-D5-8D9mH.js} +11 -5
- package/dist/esm-es5/{floating-ui.dom-CHAGzQT-.js → floating-ui.dom-JMPfVnGv.js} +80 -48
- package/dist/esm-es5/icon-pNJmnrhq.js +1 -0
- package/dist/esm-es5/index-BxPbQB28.js +36 -36
- package/dist/esm-es5/index.js +37 -20
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/magma-components.js +1 -1
- package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer-item.entry.js +2 -2
- package/dist/esm-es5/mds-accordion-timer.entry.js +2 -2
- package/dist/esm-es5/mds-accordion.entry.js +2 -2
- package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
- package/dist/esm-es5/mds-avatar.entry.js +2 -2
- package/dist/esm-es5/mds-badge.entry.js +1 -1
- package/dist/esm-es5/mds-banner_3.entry.js +3 -3
- package/dist/esm-es5/mds-bibliography.entry.js +2 -2
- package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb.entry.js +2 -2
- package/dist/esm-es5/mds-button-dropdown.entry.js +3 -3
- package/dist/esm-es5/mds-button_3.entry.js +50 -7
- package/dist/esm-es5/mds-calendar_2.entry.js +8 -6
- package/dist/esm-es5/mds-card-media.entry.js +1 -1
- package/dist/esm-es5/mds-card.entry.js +5 -5
- package/dist/esm-es5/mds-details.entry.js +2 -2
- package/dist/esm-es5/mds-dropdown.entry.js +16 -16
- package/dist/esm-es5/mds-emoji.entry.js +18 -18
- package/dist/esm-es5/mds-entity.entry.js +1 -1
- package/dist/esm-es5/mds-file-preview.entry.js +7 -7
- package/dist/esm-es5/mds-file.entry.js +15 -2835
- package/dist/esm-es5/mds-filter-item.entry.js +16 -1
- package/dist/esm-es5/mds-filter.entry.js +18 -2
- package/dist/esm-es5/mds-header-bar.entry.js +3 -3
- package/dist/esm-es5/mds-header.entry.js +7 -7
- package/dist/esm-es5/mds-horizontal-scroll.entry.js +13 -13
- package/dist/esm-es5/mds-hr.entry.js +1 -1
- package/dist/esm-es5/mds-img.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range.entry.js +7 -2
- package/dist/esm-es5/mds-input-date.entry.js +8 -3
- package/dist/esm-es5/mds-input-field.entry.js +1 -1
- package/dist/esm-es5/mds-input-range.entry.js +7 -7
- package/dist/esm-es5/mds-input-select.entry.js +14 -5
- package/dist/esm-es5/mds-input-switch_2.entry.js +17 -9
- package/dist/esm-es5/mds-input-tip_2.entry.js +2 -2
- package/dist/esm-es5/mds-input-upload.entry.js +1 -1
- package/dist/esm-es5/mds-input.entry.js +30 -25
- package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
- package/dist/esm-es5/mds-keyboard.entry.js +1 -1
- package/dist/esm-es5/mds-kpi-item.entry.js +2 -2
- 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-mention.entry.js +1 -1
- package/dist/esm-es5/mds-modal.entry.js +5 -5
- package/dist/esm-es5/mds-note.entry.js +1 -1
- package/dist/esm-es5/mds-notification.entry.js +3 -3
- package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
- package/dist/esm-es5/mds-paginator.entry.js +3 -3
- package/dist/esm-es5/mds-policy-ai.entry.js +1 -1
- package/dist/esm-es5/mds-pref-animation.entry.js +1 -1
- package/dist/esm-es5/mds-pref-consumption.entry.js +2 -2
- package/dist/esm-es5/mds-pref-contrast.entry.js +2 -2
- package/dist/esm-es5/mds-pref-language.entry.js +1 -1
- package/dist/esm-es5/mds-pref-mode.entry.js +1 -1
- package/dist/esm-es5/mds-pref-theme-item.entry.js +3 -3
- package/dist/esm-es5/mds-pref-theme.entry.js +15 -7
- package/dist/esm-es5/mds-pref.entry.js +14 -5
- 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 +1 -1
- package/dist/esm-es5/mds-price-table.entry.js +1 -1
- package/dist/esm-es5/mds-progress_2.entry.js +3 -3
- package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
- package/dist/esm-es5/mds-push-notification.entry.js +2 -2
- package/dist/esm-es5/mds-quote.entry.js +2 -2
- package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
- package/dist/esm-es5/mds-radial-menu.entry.js +2 -2
- package/dist/esm-es5/mds-separator.entry.js +1 -1
- package/dist/esm-es5/mds-status-bar.entry.js +2 -2
- package/dist/esm-es5/mds-stepper-bar-item.entry.js +3 -3
- package/dist/esm-es5/mds-stepper-bar.entry.js +4 -4
- package/dist/esm-es5/mds-tab-bar-item.entry.js +3 -3
- package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
- package/dist/esm-es5/mds-tab_2.entry.js +25 -4
- package/dist/esm-es5/mds-table-body.entry.js +1 -1
- package/dist/esm-es5/mds-table-footer.entry.js +1 -1
- package/dist/esm-es5/mds-table-header-cell.entry.js +22 -3
- package/dist/esm-es5/mds-table-header.entry.js +4 -4
- package/dist/esm-es5/mds-table-row.entry.js +12 -4
- package/dist/esm-es5/mds-table.entry.js +11 -5
- package/dist/esm-es5/mds-text.entry.js +25 -7
- package/dist/esm-es5/mds-toast.entry.js +2 -2
- package/dist/esm-es5/mds-tooltip.entry.js +8 -3
- package/dist/esm-es5/mds-tree-item.entry.js +2 -2
- package/dist/esm-es5/mds-tree.entry.js +3 -3
- package/dist/esm-es5/mds-url-view.entry.js +2 -2
- package/dist/esm-es5/mds-usage.entry.js +9 -3
- package/dist/esm-es5/mds-video-wall.entry.js +2 -2
- package/dist/esm-es5/mds-zero.entry.js +1 -1
- package/dist/esm-es5/string-6pgPWpGI.js +2 -0
- package/dist/hydrate/index.js +1580 -8246
- package/dist/hydrate/index.mjs +1580 -8246
- package/dist/magma-components/index.esm.js +1 -1
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/p-00ce5c81.entry.js +1 -0
- package/dist/magma-components/{p-5c94e0c2.system.entry.js → p-00ff586a.system.entry.js} +2 -2
- package/dist/magma-components/p-01f05a56.entry.js +1 -0
- package/dist/magma-components/p-0345cbd0.system.entry.js +83 -0
- package/dist/magma-components/p-03a6a8bd.system.entry.js +46 -0
- package/dist/magma-components/p-05de42e1.system.entry.js +1 -0
- package/dist/magma-components/p-063bccb3.entry.js +1 -0
- package/dist/magma-components/p-0c89c485.entry.js +1 -0
- package/dist/magma-components/p-0d94a2b8.entry.js +8 -0
- package/dist/magma-components/{p-ee1e7f07.system.entry.js → p-0d97e28d.system.entry.js} +1 -1
- package/dist/magma-components/p-108e31e6.entry.js +1 -0
- package/dist/magma-components/p-114f0bb7.system.entry.js +14 -0
- package/dist/magma-components/{p-e8ed096b.entry.js → p-121730d1.entry.js} +1 -1
- package/dist/magma-components/p-137116df.entry.js +1 -0
- package/dist/magma-components/p-13b0babc.system.entry.js +1 -0
- package/dist/magma-components/p-14a108e8.system.entry.js +8 -0
- package/dist/magma-components/p-14eadf95.system.entry.js +21 -0
- package/dist/magma-components/p-154aff83.entry.js +1 -0
- package/dist/magma-components/p-155f79f4.system.entry.js +47 -0
- package/dist/magma-components/p-17b62839.entry.js +1 -0
- package/dist/magma-components/{p-0a551e86.entry.js → p-1802d6a7.entry.js} +1 -1
- package/dist/magma-components/{p-91c4015f.system.entry.js → p-188d9770.system.entry.js} +1 -1
- package/dist/magma-components/p-18ba4766.entry.js +1 -0
- package/dist/magma-components/p-1c63801f.system.entry.js +11 -0
- package/dist/magma-components/p-1c6a507c.system.entry.js +17 -0
- package/dist/magma-components/p-1e2388be.entry.js +1 -0
- package/dist/magma-components/{p-eaff7300.entry.js → p-22e9a507.entry.js} +1 -1
- package/dist/magma-components/p-24a9871a.system.entry.js +1 -0
- package/dist/magma-components/p-26332bce.system.entry.js +1 -0
- package/dist/magma-components/p-26c85354.system.entry.js +1 -0
- package/dist/magma-components/p-2708561b.system.entry.js +10 -0
- package/dist/magma-components/{p-a4a83a63.entry.js → p-2710ddc4.entry.js} +1 -1
- package/dist/magma-components/p-294241fa.entry.js +1 -0
- package/dist/magma-components/p-2b2d0910.system.entry.js +1 -0
- package/dist/magma-components/p-2c940d19.entry.js +1 -0
- package/dist/magma-components/{p-93d39066.entry.js → p-2de5f5fe.entry.js} +1 -1
- package/dist/magma-components/p-2e74231d.system.entry.js +4 -0
- package/dist/magma-components/p-2e83f801.system.entry.js +1 -0
- package/dist/magma-components/{p-dd58f9ee.entry.js → p-2f0815f3.entry.js} +1 -1
- package/dist/magma-components/p-30d36dfe.entry.js +1 -0
- package/dist/magma-components/p-323c7aa4.system.entry.js +25 -0
- package/dist/magma-components/{p-493fb2f4.system.entry.js → p-32e077c0.system.entry.js} +2 -2
- package/dist/magma-components/p-334b305d.system.entry.js +16 -0
- package/dist/magma-components/{p-6c18c40e.system.entry.js → p-341994b3.system.entry.js} +1 -1
- package/dist/magma-components/p-35434d4b.system.entry.js +32 -0
- package/dist/magma-components/p-37495e03.entry.js +1 -0
- package/dist/magma-components/{p-439c9ce3.system.entry.js → p-38e0379a.system.entry.js} +2 -2
- package/dist/magma-components/p-3b91efd1.entry.js +1 -0
- package/dist/magma-components/p-3dc4db04.system.entry.js +16 -0
- package/dist/magma-components/p-3f0e82bc.entry.js +1 -0
- package/dist/magma-components/p-3fa6cf85.system.entry.js +1 -0
- package/dist/magma-components/p-40e97485.entry.js +1 -0
- package/dist/magma-components/p-4159c306.entry.js +1 -0
- package/dist/magma-components/p-42411854.system.entry.js +102 -0
- package/dist/magma-components/{p-2f520704.entry.js → p-42ebba8c.entry.js} +1 -1
- package/dist/magma-components/p-4356d96e.system.entry.js +21 -0
- package/dist/magma-components/p-4577948d.system.entry.js +12 -0
- package/dist/magma-components/p-4658a200.entry.js +1 -0
- package/dist/magma-components/{p-b431ca8a.entry.js → p-4cfa925a.entry.js} +1 -1
- package/dist/magma-components/p-4dfeb655.system.entry.js +23 -0
- package/dist/magma-components/p-4ef19542.entry.js +1 -0
- package/dist/magma-components/{p-ac81f63a.system.entry.js → p-508e10b5.system.entry.js} +1 -1
- package/dist/magma-components/p-522fd3d0.system.entry.js +4 -0
- package/dist/magma-components/p-528d913c.system.entry.js +17 -0
- package/dist/magma-components/p-569cbe13.entry.js +1 -0
- package/dist/magma-components/p-574c2c13.system.entry.js +222 -0
- package/dist/magma-components/{p-218d8254.system.entry.js → p-584a4ee8.system.entry.js} +1 -1
- package/dist/magma-components/{p-577db922.entry.js → p-595fde64.entry.js} +1 -1
- package/dist/magma-components/p-5989cdf2.system.entry.js +16 -0
- package/dist/magma-components/p-5c17a324.entry.js +1 -0
- package/dist/magma-components/p-5df91427.system.entry.js +15 -0
- package/dist/magma-components/p-5fcc1455.entry.js +1 -0
- package/dist/magma-components/p-61638aa3.entry.js +1 -0
- package/dist/magma-components/p-634727e6.system.entry.js +22 -0
- package/dist/magma-components/{p-03c2060d.entry.js → p-6465c8f4.entry.js} +1 -1
- package/dist/magma-components/p-6764b13a.entry.js +1 -0
- package/dist/magma-components/p-6812f01b.entry.js +1 -0
- package/dist/magma-components/{p-4211ce6c.system.entry.js → p-6901428b.system.entry.js} +1 -1
- package/dist/magma-components/p-699a7926.entry.js +1 -0
- package/dist/magma-components/p-69d6cc9e.system.entry.js +7 -0
- package/dist/magma-components/p-6a798061.entry.js +1 -0
- package/dist/magma-components/p-6d350c7c.entry.js +1 -0
- package/dist/magma-components/p-6f5a1248.entry.js +1 -0
- package/dist/magma-components/p-6fba5e6c.entry.js +1 -0
- package/dist/magma-components/p-6fd9a2ae.entry.js +1 -0
- package/dist/magma-components/p-6pgPWpGI.js +1 -0
- package/dist/magma-components/p-70caf05b.system.entry.js +10 -0
- package/dist/magma-components/{p-832883c4.entry.js → p-70cc167f.entry.js} +1 -1
- package/dist/magma-components/{p-86f4b6eb.system.entry.js → p-736c0e25.system.entry.js} +2 -2
- package/dist/magma-components/p-73e593a2.system.entry.js +95 -0
- package/dist/magma-components/p-7450a7a7.system.entry.js +49 -0
- package/dist/magma-components/p-7535328a.entry.js +1 -0
- package/dist/magma-components/{p-4cb88b06.system.entry.js → p-76f02296.system.entry.js} +1 -1
- package/dist/magma-components/p-79bc2e81.entry.js +1 -0
- package/dist/magma-components/p-79dc2243.entry.js +1 -0
- package/dist/magma-components/p-7b1c6eb0.entry.js +1 -0
- package/dist/magma-components/p-7b8b51c8.entry.js +1 -0
- package/dist/magma-components/p-7bc0a6c4.entry.js +1 -0
- package/dist/magma-components/{p-8d53bd61.system.entry.js → p-7c8e79a7.system.entry.js} +1 -1
- package/dist/magma-components/p-7c90298a.entry.js +1 -0
- package/dist/magma-components/p-7e02237b.entry.js +1 -0
- package/dist/magma-components/{p-f733ae92.system.entry.js → p-7f247e64.system.entry.js} +2 -2
- package/dist/magma-components/p-808f6796.entry.js +1 -0
- package/dist/magma-components/{p-e213640b.entry.js → p-82480df5.entry.js} +1 -1
- package/dist/magma-components/p-842b1dfc.entry.js +1 -0
- package/dist/magma-components/p-88c7be3d.system.entry.js +68 -0
- package/dist/magma-components/p-89733d3a.system.entry.js +14 -0
- package/dist/magma-components/p-8c75425d.entry.js +1 -0
- package/dist/magma-components/{p-5ac9e2f4.entry.js → p-8c76410b.entry.js} +1 -1
- package/dist/magma-components/p-8cdad12f.entry.js +1 -0
- package/dist/magma-components/p-8d2a6896.entry.js +1 -0
- package/dist/magma-components/p-8d7835e2.system.entry.js +10 -0
- package/dist/magma-components/p-8f039ca0.system.entry.js +7 -0
- package/dist/magma-components/p-8f54cf62.system.entry.js +4 -0
- package/dist/magma-components/p-8f6bd147.entry.js +1 -0
- package/dist/magma-components/p-9017022c.system.entry.js +15 -0
- package/dist/magma-components/p-909f5b60.system.entry.js +55 -0
- package/dist/magma-components/p-94e9f2be.system.entry.js +11 -0
- package/dist/magma-components/p-976bb373.system.entry.js +90 -0
- package/dist/magma-components/p-97d82884.system.entry.js +16 -0
- package/dist/magma-components/p-97de86c6.system.entry.js +16 -0
- package/dist/magma-components/p-97e9a197.system.entry.js +32 -0
- package/dist/magma-components/p-9a936cae.system.entry.js +45 -0
- package/dist/magma-components/p-9c6d184f.entry.js +1 -0
- package/dist/magma-components/p-9db0a6e9.entry.js +1 -0
- package/dist/magma-components/p-9e662528.entry.js +1 -0
- package/dist/magma-components/{p-7ffda4f5.entry.js → p-9ff02a82.entry.js} +1 -1
- package/dist/magma-components/p-B85MJLTf.js +1 -0
- package/dist/magma-components/p-BJqUjYIG.system.js +1 -0
- package/dist/magma-components/{p-Dg8nxRUX.system.js → p-BcYSdbK0.system.js} +85 -53
- package/dist/magma-components/p-BeYLDgbf.js +1 -0
- package/dist/magma-components/p-CKfEQ187.system.js +107 -0
- package/dist/magma-components/p-D6-Ny6z1.system.js +1 -0
- package/dist/magma-components/{p-BPNsbMrg.system.js → p-DhhAXEdA.system.js} +11 -5
- package/dist/magma-components/p-JMPfVnGv.js +1 -0
- package/dist/magma-components/p-ZDRIVCAt.system.js +1 -1
- package/dist/magma-components/p-a3e3a653.system.entry.js +81 -0
- package/dist/magma-components/p-a4c26b4d.system.entry.js +19 -0
- package/dist/magma-components/{p-dcc3be64.system.entry.js → p-a61c7ae9.system.entry.js} +1 -1
- package/dist/magma-components/p-a653e096.entry.js +1 -0
- package/dist/magma-components/p-a8bf46cb.system.entry.js +1 -0
- package/dist/magma-components/p-a9736d68.system.entry.js +4 -0
- package/dist/magma-components/p-ac4435e7.entry.js +1 -0
- package/dist/magma-components/p-ac873ab4.entry.js +1 -0
- package/dist/magma-components/p-acae292f.system.entry.js +28 -0
- package/dist/magma-components/p-add1a8d0.system.entry.js +7 -0
- package/dist/magma-components/p-b1a0e56e.system.entry.js +42 -0
- package/dist/magma-components/p-b33a6f7e.system.entry.js +13 -0
- package/dist/magma-components/p-b492dd4c.entry.js +1 -0
- package/dist/magma-components/p-b99cac43.entry.js +1 -0
- package/dist/magma-components/p-baf0359b.entry.js +1 -0
- package/dist/magma-components/p-bbd414dc.entry.js +1 -0
- package/dist/magma-components/p-be1aad5f.entry.js +1 -0
- package/dist/magma-components/p-bf05f9f3.entry.js +1 -0
- package/dist/magma-components/p-bf8c6647.system.entry.js +11 -0
- package/dist/magma-components/p-bfe19e4b.entry.js +1 -0
- package/dist/magma-components/p-c1a7266a.entry.js +1 -0
- package/dist/magma-components/p-c3585de7.system.entry.js +7 -0
- package/dist/magma-components/p-c45d9a64.system.entry.js +32 -0
- package/dist/magma-components/p-c4ceaef6.system.entry.js +10 -0
- package/dist/magma-components/{p-57762bae.entry.js → p-c575cb7b.entry.js} +1 -1
- package/dist/magma-components/p-c644c5fc.system.entry.js +1 -0
- package/dist/magma-components/{p-61bedbe7.system.entry.js → p-c69ec735.system.entry.js} +8 -3
- package/dist/magma-components/p-c7d84d1c.system.entry.js +1 -0
- package/dist/magma-components/p-cb8b45fd.entry.js +1 -0
- package/dist/magma-components/p-cbfd8b10.system.entry.js +16 -0
- package/dist/magma-components/{p-ed897f9f.entry.js → p-ce46191c.entry.js} +1 -1
- package/dist/magma-components/p-cebe7b52.entry.js +1 -0
- package/dist/magma-components/p-cefdc01f.system.entry.js +7 -0
- package/dist/magma-components/{p-f29a059d.system.entry.js → p-d025a34f.system.entry.js} +1 -1
- package/dist/magma-components/p-d1c47baa.entry.js +1 -0
- package/dist/magma-components/p-d269bfb0.entry.js +1 -0
- package/dist/magma-components/p-d42f267b.system.entry.js +40 -0
- package/dist/magma-components/p-d65d8a09.system.entry.js +1 -0
- package/dist/magma-components/p-d6eca2ef.entry.js +1 -0
- package/dist/magma-components/p-d716efe9.system.entry.js +1 -0
- package/dist/magma-components/{p-314abfba.entry.js → p-da6ccc03.entry.js} +1 -1
- package/dist/magma-components/p-dbaf5368.system.entry.js +7 -0
- package/dist/magma-components/p-dc340618.entry.js +1 -0
- package/dist/magma-components/p-dc752e9b.entry.js +1 -0
- package/dist/magma-components/p-e238e2eb.entry.js +1 -0
- package/dist/magma-components/p-e388f1f2.system.entry.js +19 -0
- package/dist/magma-components/{p-74b51db8.entry.js → p-e50fdcee.entry.js} +1 -1
- package/dist/magma-components/{p-2c44c961.system.entry.js → p-e779a67f.system.entry.js} +3 -3
- package/dist/magma-components/p-e8ae4016.system.entry.js +1 -0
- package/dist/magma-components/{p-9eb1e154.system.entry.js → p-e8d95868.system.entry.js} +2 -2
- package/dist/magma-components/p-ed232c76.entry.js +1 -0
- package/dist/magma-components/{p-6fdb3fe7.system.entry.js → p-ed6e287d.system.entry.js} +25 -7
- package/dist/magma-components/{p-88287207.system.entry.js → p-ed87425c.system.entry.js} +1 -1
- package/dist/magma-components/p-ed897125.entry.js +1 -0
- package/dist/magma-components/p-ee876b20.system.entry.js +4 -0
- package/dist/magma-components/p-efe0bb12.system.entry.js +7 -0
- package/dist/magma-components/p-f2412853.system.entry.js +27 -0
- package/dist/magma-components/p-f2743a2b.entry.js +1 -0
- package/dist/magma-components/p-f2f2945b.entry.js +1 -0
- package/dist/magma-components/p-f37f1343.entry.js +1 -0
- package/dist/magma-components/p-f3dd135e.system.entry.js +32 -0
- package/dist/magma-components/p-f5ce24e8.entry.js +1 -0
- package/dist/magma-components/p-f8a88f11.entry.js +1 -0
- package/dist/magma-components/p-f900fe90.entry.js +1 -0
- package/dist/magma-components/p-pNJmnrhq.js +1 -0
- package/dist/magma-components/p-pxyGaQ-P.system.js +2 -0
- package/dist/stats.json +2920 -2147
- package/dist/types/common/floating-controller.d.ts +8 -1
- package/dist/types/common/hash.d.ts +8 -0
- package/dist/types/common/navigation.d.ts +32 -0
- package/dist/types/common/string.d.ts +3 -1
- package/dist/types/components/mds-button/mds-button.d.ts +33 -2
- package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +1 -0
- package/dist/types/components/mds-calendar/mds-calendar.d.ts +1 -0
- package/dist/types/components/mds-file/mds-file.d.ts +6 -1
- package/dist/types/components/mds-filter/mds-filter.d.ts +15 -0
- package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +18 -1
- package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +1 -0
- package/dist/types/components/mds-horizontal-scroll/mds-horizontal-scroll.d.ts +1 -0
- package/dist/types/components/mds-input/mds-input.d.ts +8 -1
- 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 +5 -0
- package/dist/types/components/mds-input-select/mds-input-select.d.ts +15 -2
- package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +8 -3
- package/dist/types/components/mds-modal/mds-modal.d.ts +1 -0
- package/dist/types/components/mds-pref/mds-pref.d.ts +5 -8
- package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +8 -0
- package/dist/types/components/mds-radial-menu/mds-radial-menu.d.ts +1 -0
- package/dist/types/components/mds-tab/mds-tab.d.ts +14 -1
- package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +6 -1
- package/dist/types/components/mds-table/mds-table.d.ts +8 -1
- package/dist/types/components/mds-table/meta/type.d.ts +1 -0
- package/dist/types/components/mds-table-header-cell/mds-table-header-cell.d.ts +33 -14
- package/dist/types/components/mds-table-header-cell/meta/event-detail.d.ts +6 -0
- package/dist/types/components/mds-table-row/mds-table-row.d.ts +3 -2
- package/dist/types/components/mds-text/mds-text.d.ts +8 -4
- package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +8 -1
- package/dist/types/components/mds-usage/mds-usage.d.ts +5 -1
- package/dist/types/components/mds-usage/meta/variants.d.ts +7 -19
- package/dist/types/components.d.ts +127 -22
- package/dist/types/index.d.ts +12 -4
- package/dist/types/type/floating-ui.d.ts +2 -0
- package/dist/types/type/input.d.ts +3 -0
- package/package.json +18 -18
- package/dist/cjs/_commonjsHelpers-B83fTs8d.js +0 -36
- package/dist/collection/dictionary/icon.js +0 -10
- package/dist/collection/type/icon.js +0 -1
- package/dist/components/p-1aH7xiMs.js +0 -1
- package/dist/components/p-B05zwjTY.js +0 -1
- package/dist/components/p-BOu_NOgd.js +0 -1
- package/dist/components/p-BTpjOy0A.js +0 -1
- package/dist/components/p-BVw5aqzn.js +0 -1
- package/dist/components/p-BWpSxp3h.js +0 -1
- package/dist/components/p-BXPIlPIF.js +0 -1
- package/dist/components/p-BzvYQBdf.js +0 -1
- package/dist/components/p-C3Sn8bRc.js +0 -1
- package/dist/components/p-CGkSDkOY.js +0 -1
- package/dist/components/p-CHAGzQT-.js +0 -1
- package/dist/components/p-CIcshx6K.js +0 -1
- package/dist/components/p-CKS4r32k.js +0 -1
- package/dist/components/p-COkF_8bh.js +0 -1
- package/dist/components/p-CmHMhHMt.js +0 -1
- package/dist/components/p-Cnt6G6GK.js +0 -1
- package/dist/components/p-CsL9U6eU.js +0 -1
- package/dist/components/p-Cyj1BFxx.js +0 -1
- package/dist/components/p-DQqUzCGR.js +0 -1
- package/dist/components/p-DR46G4-6.js +0 -1
- package/dist/components/p-DcW0iRnZ.js +0 -1
- package/dist/components/p-DebgFlHq.js +0 -1
- package/dist/components/p-Dpf8NWF9.js +0 -1
- package/dist/components/p-DwA-5c8G.js +0 -1
- package/dist/components/p-Dws02cT2.js +0 -8
- package/dist/components/p-E-ZsRS8r.js +0 -1
- package/dist/components/p-K3QNYRhf.js +0 -1
- package/dist/components/p-PQ_EO5-U.js +0 -1
- package/dist/components/p-akEzGmDD.js +0 -1
- package/dist/components/p-bDVBqkn0.js +0 -1
- package/dist/esm/_commonjsHelpers-E-ZsRS8r.js +0 -32
- package/dist/esm-es5/_commonjsHelpers-E-ZsRS8r.js +0 -1
- package/dist/magma-components/p-00e47e49.system.entry.js +0 -14
- package/dist/magma-components/p-0141c597.system.entry.js +0 -15
- package/dist/magma-components/p-021f96f8.entry.js +0 -1
- package/dist/magma-components/p-0255924b.system.entry.js +0 -22
- package/dist/magma-components/p-05014374.entry.js +0 -1
- package/dist/magma-components/p-05f73994.entry.js +0 -1
- package/dist/magma-components/p-0646392d.entry.js +0 -1
- package/dist/magma-components/p-0a904a12.entry.js +0 -1
- package/dist/magma-components/p-106f39c6.entry.js +0 -1
- package/dist/magma-components/p-10ad73e3.system.entry.js +0 -19
- package/dist/magma-components/p-1150ffb8.system.entry.js +0 -10
- package/dist/magma-components/p-12c5ae26.entry.js +0 -1
- package/dist/magma-components/p-13a1d35f.entry.js +0 -1
- package/dist/magma-components/p-15d4846d.entry.js +0 -1
- package/dist/magma-components/p-1673225e.system.entry.js +0 -8
- package/dist/magma-components/p-188f4b1d.system.entry.js +0 -7
- package/dist/magma-components/p-18c8628c.entry.js +0 -1
- package/dist/magma-components/p-1be45c75.entry.js +0 -1
- package/dist/magma-components/p-1e3d89cd.system.entry.js +0 -1
- package/dist/magma-components/p-1e700f0a.entry.js +0 -1
- package/dist/magma-components/p-20e4f7dd.system.entry.js +0 -15
- package/dist/magma-components/p-21865dd2.entry.js +0 -1
- package/dist/magma-components/p-21c46e74.system.entry.js +0 -4
- package/dist/magma-components/p-231b604f.system.entry.js +0 -1
- package/dist/magma-components/p-2507f5cf.entry.js +0 -1
- package/dist/magma-components/p-277444bc.entry.js +0 -1
- package/dist/magma-components/p-283b0548.system.entry.js +0 -102
- package/dist/magma-components/p-2ec0db8e.entry.js +0 -1
- package/dist/magma-components/p-30c3872d.entry.js +0 -1
- package/dist/magma-components/p-322a5452.entry.js +0 -1
- package/dist/magma-components/p-3231a6a3.entry.js +0 -1
- package/dist/magma-components/p-34401d35.entry.js +0 -1
- package/dist/magma-components/p-35aa29c5.entry.js +0 -1
- package/dist/magma-components/p-36a67b51.entry.js +0 -1
- package/dist/magma-components/p-3a1339bb.system.entry.js +0 -4
- package/dist/magma-components/p-3d56e3f4.entry.js +0 -1
- package/dist/magma-components/p-3e0eed90.system.entry.js +0 -12
- package/dist/magma-components/p-3ecade3c.system.entry.js +0 -11
- package/dist/magma-components/p-3eefca33.system.entry.js +0 -16
- package/dist/magma-components/p-436f9b27.system.entry.js +0 -38
- package/dist/magma-components/p-44e2a945.system.entry.js +0 -1
- package/dist/magma-components/p-4658154f.entry.js +0 -1
- package/dist/magma-components/p-474047fa.system.entry.js +0 -10
- package/dist/magma-components/p-474c5d53.system.entry.js +0 -11
- package/dist/magma-components/p-4ac94b84.system.entry.js +0 -32
- package/dist/magma-components/p-4c73f14b.system.entry.js +0 -14
- package/dist/magma-components/p-4dd6a39b.entry.js +0 -1
- package/dist/magma-components/p-4e7f21ac.entry.js +0 -1
- package/dist/magma-components/p-4f14a166.entry.js +0 -1
- package/dist/magma-components/p-50ea11c9.system.entry.js +0 -32
- package/dist/magma-components/p-52793bdb.system.entry.js +0 -1
- package/dist/magma-components/p-5299f709.system.entry.js +0 -26
- package/dist/magma-components/p-58b82b40.system.entry.js +0 -10
- package/dist/magma-components/p-5a7267e8.system.entry.js +0 -4
- package/dist/magma-components/p-5a911e7b.system.entry.js +0 -13
- package/dist/magma-components/p-5ccf493c.system.entry.js +0 -7
- package/dist/magma-components/p-5d119459.entry.js +0 -1
- package/dist/magma-components/p-5fd04ce1.entry.js +0 -1
- package/dist/magma-components/p-60f67c37.entry.js +0 -1
- package/dist/magma-components/p-632bc44c.entry.js +0 -1
- package/dist/magma-components/p-69c21eae.entry.js +0 -1
- package/dist/magma-components/p-6a6326c6.entry.js +0 -1
- package/dist/magma-components/p-6c800411.entry.js +0 -1
- package/dist/magma-components/p-6e03b83a.entry.js +0 -1
- package/dist/magma-components/p-6ed05d99.entry.js +0 -1
- package/dist/magma-components/p-6f74cdf5.system.entry.js +0 -12
- package/dist/magma-components/p-73fde271.system.entry.js +0 -72
- package/dist/magma-components/p-76ecad2f.entry.js +0 -18
- package/dist/magma-components/p-774ce1d2.entry.js +0 -1
- package/dist/magma-components/p-77615947.system.entry.js +0 -1
- package/dist/magma-components/p-7770b989.system.entry.js +0 -1
- package/dist/magma-components/p-7787ebaf.system.entry.js +0 -1
- package/dist/magma-components/p-7927010f.system.entry.js +0 -25
- package/dist/magma-components/p-79421ee1.system.entry.js +0 -11
- package/dist/magma-components/p-7ab15184.entry.js +0 -1
- package/dist/magma-components/p-7afec7ee.entry.js +0 -1
- package/dist/magma-components/p-7e085c82.entry.js +0 -1
- package/dist/magma-components/p-7e7cf986.system.entry.js +0 -7
- package/dist/magma-components/p-809adece.system.entry.js +0 -17
- package/dist/magma-components/p-8183b7ed.entry.js +0 -1
- package/dist/magma-components/p-83394280.system.entry.js +0 -32
- package/dist/magma-components/p-835fc007.entry.js +0 -1
- package/dist/magma-components/p-84645c60.system.entry.js +0 -1
- package/dist/magma-components/p-87026d34.entry.js +0 -1
- package/dist/magma-components/p-87faaa8e.system.entry.js +0 -16
- package/dist/magma-components/p-883c223a.system.entry.js +0 -4
- package/dist/magma-components/p-88f99a4f.system.entry.js +0 -81
- package/dist/magma-components/p-8a3d2259.system.entry.js +0 -17
- package/dist/magma-components/p-8aafbfdf.system.entry.js +0 -49
- package/dist/magma-components/p-8afc9bc4.system.entry.js +0 -2838
- package/dist/magma-components/p-8ca1d30d.system.entry.js +0 -1
- package/dist/magma-components/p-8ccd187a.entry.js +0 -1
- package/dist/magma-components/p-90993b0b.system.entry.js +0 -68
- package/dist/magma-components/p-915c5f06.system.entry.js +0 -47
- package/dist/magma-components/p-91ff1560.system.entry.js +0 -7
- package/dist/magma-components/p-92d9b537.entry.js +0 -1
- package/dist/magma-components/p-932620b6.entry.js +0 -1
- package/dist/magma-components/p-9344a234.entry.js +0 -1
- package/dist/magma-components/p-97f6166e.system.entry.js +0 -28
- package/dist/magma-components/p-9d1cdb42.system.entry.js +0 -15
- package/dist/magma-components/p-9dcfc247.entry.js +0 -1
- package/dist/magma-components/p-9fe14430.system.entry.js +0 -7
- package/dist/magma-components/p-BpVYIPkx.js +0 -1
- package/dist/magma-components/p-CHAGzQT-.js +0 -1
- package/dist/magma-components/p-D7BrzK-C.system.js +0 -90
- package/dist/magma-components/p-DIUTGDX_.system.js +0 -1
- package/dist/magma-components/p-E-ZsRS8r.js +0 -1
- package/dist/magma-components/p-a64bbb36.system.entry.js +0 -40
- package/dist/magma-components/p-a6af4083.system.entry.js +0 -32
- package/dist/magma-components/p-a7e7f2c0.entry.js +0 -1
- package/dist/magma-components/p-aba96089.entry.js +0 -1
- package/dist/magma-components/p-aed8b119.entry.js +0 -1
- package/dist/magma-components/p-b24b5179.entry.js +0 -1
- package/dist/magma-components/p-b295e4ab.system.entry.js +0 -1
- package/dist/magma-components/p-b2c62b6e.system.entry.js +0 -7
- package/dist/magma-components/p-b5559b28.system.entry.js +0 -1
- package/dist/magma-components/p-b897c97d.entry.js +0 -1
- package/dist/magma-components/p-bab4c75e.system.entry.js +0 -45
- package/dist/magma-components/p-bc53c19e.entry.js +0 -8
- package/dist/magma-components/p-bf2fe278.system.entry.js +0 -16
- package/dist/magma-components/p-c0136138.entry.js +0 -1
- package/dist/magma-components/p-c166ec50.system.entry.js +0 -47
- package/dist/magma-components/p-c22887f7.system.entry.js +0 -90
- package/dist/magma-components/p-c28fce23.entry.js +0 -1
- package/dist/magma-components/p-c48bad95.entry.js +0 -1
- package/dist/magma-components/p-cb2c5f1b.entry.js +0 -1
- package/dist/magma-components/p-cc0c6ae7.entry.js +0 -1
- package/dist/magma-components/p-cc2a09f2.system.entry.js +0 -16
- package/dist/magma-components/p-cc9d9458.entry.js +0 -1
- package/dist/magma-components/p-ccb14076.system.entry.js +0 -217
- package/dist/magma-components/p-ccb6898a.system.entry.js +0 -4
- package/dist/magma-components/p-d04ac65d.entry.js +0 -1
- package/dist/magma-components/p-d07d227b.system.entry.js +0 -8
- package/dist/magma-components/p-d1faf129.entry.js +0 -1
- package/dist/magma-components/p-d282a929.entry.js +0 -1
- package/dist/magma-components/p-d2f134ac.entry.js +0 -1
- package/dist/magma-components/p-d47df503.system.entry.js +0 -37
- package/dist/magma-components/p-d9804d2f.entry.js +0 -1
- package/dist/magma-components/p-dc06b29e.entry.js +0 -1
- package/dist/magma-components/p-dc59b764.entry.js +0 -1
- package/dist/magma-components/p-dc7bada4.entry.js +0 -1
- package/dist/magma-components/p-de091be7.system.entry.js +0 -7
- package/dist/magma-components/p-dfe8552c.system.entry.js +0 -11
- package/dist/magma-components/p-e1e69217.system.entry.js +0 -1
- package/dist/magma-components/p-e2ef5996.entry.js +0 -1
- package/dist/magma-components/p-e7751639.entry.js +0 -1
- package/dist/magma-components/p-e887a14c.entry.js +0 -1
- package/dist/magma-components/p-e8cd2b93.system.entry.js +0 -4
- package/dist/magma-components/p-eb681207.system.entry.js +0 -1
- package/dist/magma-components/p-ec9cc7b9.entry.js +0 -1
- package/dist/magma-components/p-eca99a0a.system.entry.js +0 -1
- package/dist/magma-components/p-ecd3c27f.entry.js +0 -1
- package/dist/magma-components/p-ef3424e3.entry.js +0 -1
- package/dist/magma-components/p-f654eafe.entry.js +0 -1
- package/dist/magma-components/p-f8eb19b3.entry.js +0 -1
- package/dist/magma-components/p-f8feee93.system.entry.js +0 -4
- package/dist/magma-components/p-ffa1a0b4.system.entry.js +0 -1
- package/dist/types/dictionary/icon.d.ts +0 -4
- package/dist/types/type/icon.d.ts +0 -1
|
@@ -37,8 +37,8 @@ mds-text {
|
|
|
37
37
|
*/
|
|
38
38
|
|
|
39
39
|
:host {
|
|
40
|
-
--mds-tooltip-arrow-background: var(--mds-tooltip-background, rgb(var(--magma-surface-overlay, var(--
|
|
41
|
-
--mds-tooltip-background: rgb(var(--magma-surface-overlay, var(--
|
|
40
|
+
--mds-tooltip-arrow-background: var(--mds-tooltip-background, rgb(var(--magma-surface-overlay, var(--surface-neutral-overlay, 255 255 255))));
|
|
41
|
+
--mds-tooltip-background: rgb(var(--magma-surface-overlay, var(--surface-neutral-overlay, 255 255 255)));
|
|
42
42
|
--mds-tooltip-delay: 1s;
|
|
43
43
|
--mds-tooltip-drop-shadow: drop-shadow(0 10px 8px rgb(0 0 0 / 0.04))
|
|
44
44
|
drop-shadow(0 4px 3px rgb(0 0 0 / 0.1)) drop-shadow(0 0 1px rgb(0 0 0 / 0.1));
|
|
@@ -50,7 +50,7 @@ mds-text {
|
|
|
50
50
|
--mds-tooltip-transform-to: scale(1) translate(0, 0);
|
|
51
51
|
--mds-tooltip-z-index: var(--magma-tooltip-z-index, 6000);
|
|
52
52
|
|
|
53
|
-
background-color: var(--mds-tooltip-background, rgb(var(--magma-surface-overlay, var(--
|
|
53
|
+
background-color: var(--mds-tooltip-background, rgb(var(--magma-surface-overlay, var(--surface-neutral-overlay, 255 255 255))));
|
|
54
54
|
border-radius: var(--radius-3xs, 4px);
|
|
55
55
|
box-sizing: border-box;
|
|
56
56
|
display: grid;
|
|
@@ -99,7 +99,7 @@ mds-text {
|
|
|
99
99
|
@apply ease-in-out;
|
|
100
100
|
|
|
101
101
|
display: flex;
|
|
102
|
-
fill: var(--mds-tooltip-arrow-background, rgb(var(--magma-surface-overlay, var(--
|
|
102
|
+
fill: var(--mds-tooltip-arrow-background, rgb(var(--magma-surface-overlay, var(--surface-neutral-overlay, 255 255 255))));
|
|
103
103
|
pointer-events: none;
|
|
104
104
|
position: fixed;
|
|
105
105
|
top: -9px;
|
|
@@ -187,17 +187,17 @@ mds-text {
|
|
|
187
187
|
* `system` and no controller follow the OS via @media. Cross-browser, no :host-context. */
|
|
188
188
|
|
|
189
189
|
:host([pref-contrast='more']) {
|
|
190
|
-
--mds-tooltip-drop-shadow: drop-shadow(0 0 4px rgb(var(--magma-shadow-ink, var(--
|
|
191
|
-
drop-shadow(0 0 4px rgb(var(--magma-shadow-ink, var(--
|
|
192
|
-
drop-shadow(0 0 4px rgb(var(--magma-shadow-ink, var(--
|
|
190
|
+
--mds-tooltip-drop-shadow: drop-shadow(0 0 4px rgb(var(--magma-shadow-ink, var(--tone-neutral-01, 5 5 5)) / 0.05))
|
|
191
|
+
drop-shadow(0 0 4px rgb(var(--magma-shadow-ink, var(--tone-neutral-01, 5 5 5)) / 0.3))
|
|
192
|
+
drop-shadow(0 0 4px rgb(var(--magma-shadow-ink, var(--tone-neutral-01, 5 5 5)) / 0.3));
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
@media (prefers-contrast: more) {
|
|
196
196
|
:host([pref-contrast='system']),
|
|
197
197
|
:host(:not([pref-contrast])) {
|
|
198
|
-
--mds-tooltip-drop-shadow: drop-shadow(0 0 4px rgb(var(--magma-shadow-ink, var(--
|
|
199
|
-
drop-shadow(0 0 4px rgb(var(--magma-shadow-ink, var(--
|
|
200
|
-
drop-shadow(0 0 4px rgb(var(--magma-shadow-ink, var(--
|
|
198
|
+
--mds-tooltip-drop-shadow: drop-shadow(0 0 4px rgb(var(--magma-shadow-ink, var(--tone-neutral-01, 5 5 5)) / 0.05))
|
|
199
|
+
drop-shadow(0 0 4px rgb(var(--magma-shadow-ink, var(--tone-neutral-01, 5 5 5)) / 0.3))
|
|
200
|
+
drop-shadow(0 0 4px rgb(var(--magma-shadow-ink, var(--tone-neutral-01, 5 5 5)) / 0.3));
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
203
|
|
|
@@ -31,6 +31,12 @@ export class MdsTooltip {
|
|
|
31
31
|
* Specifies where the component should be placed relative to the caller.
|
|
32
32
|
*/
|
|
33
33
|
this.placement = 'top';
|
|
34
|
+
/**
|
|
35
|
+
* Sets what the tooltip is to its caller: its `description` (`aria-describedby`), or its
|
|
36
|
+
* `label` (`aria-labelledby`), when the tooltip holds the only visible name of the caller, as on
|
|
37
|
+
* an icon-only button.
|
|
38
|
+
*/
|
|
39
|
+
this.relation = 'description';
|
|
34
40
|
/**
|
|
35
41
|
* Specifies the font typography of the element
|
|
36
42
|
*/
|
|
@@ -79,6 +85,10 @@ export class MdsTooltip {
|
|
|
79
85
|
strategyChanged() {
|
|
80
86
|
this.floatingController.updatePosition();
|
|
81
87
|
}
|
|
88
|
+
relationChanged() {
|
|
89
|
+
var _a;
|
|
90
|
+
(_a = this.floatingController) === null || _a === void 0 ? void 0 : _a.rewire();
|
|
91
|
+
}
|
|
82
92
|
visibleChanged(newValue) {
|
|
83
93
|
this.floatingController.updatePosition();
|
|
84
94
|
if (newValue) {
|
|
@@ -113,7 +123,7 @@ export class MdsTooltip {
|
|
|
113
123
|
this.floatingController.dismiss();
|
|
114
124
|
}
|
|
115
125
|
render() {
|
|
116
|
-
return (h(Host, { key: '
|
|
126
|
+
return (h(Host, { key: '4d1e2cf86547e98f44b79f0b8a66bb8bd1346df5', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, h("div", { key: '745c5c9f5e20ae177535f82134f7d08711422873', class: "arrow", innerHTML: arrowSvg }), h("mds-text", { key: 'c680e17d89feacb885f6b2d4cf6f7f4f5f0344ea', class: "text", typography: this.typography, part: "text" }, h("slot", { key: '6904d1ffebf553f4086de65236d5c064ae034b59' }))));
|
|
117
127
|
}
|
|
118
128
|
static get is() { return "mds-tooltip"; }
|
|
119
129
|
static get encapsulation() { return "shadow"; }
|
|
@@ -281,6 +291,33 @@ export class MdsTooltip {
|
|
|
281
291
|
"attribute": "placement",
|
|
282
292
|
"defaultValue": "'top'"
|
|
283
293
|
},
|
|
294
|
+
"relation": {
|
|
295
|
+
"type": "string",
|
|
296
|
+
"mutable": false,
|
|
297
|
+
"complexType": {
|
|
298
|
+
"original": "FloatingUIRelation",
|
|
299
|
+
"resolved": "\"description\" | \"label\"",
|
|
300
|
+
"references": {
|
|
301
|
+
"FloatingUIRelation": {
|
|
302
|
+
"location": "import",
|
|
303
|
+
"path": "@type/floating-ui",
|
|
304
|
+
"id": "src/type/floating-ui.ts::FloatingUIRelation",
|
|
305
|
+
"referenceLocation": "FloatingUIRelation"
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
"required": false,
|
|
310
|
+
"optional": false,
|
|
311
|
+
"docs": {
|
|
312
|
+
"tags": [],
|
|
313
|
+
"text": "Sets what the tooltip is to its caller: its `description` (`aria-describedby`), or its\n`label` (`aria-labelledby`), when the tooltip holds the only visible name of the caller, as on\nan icon-only button."
|
|
314
|
+
},
|
|
315
|
+
"getter": false,
|
|
316
|
+
"setter": false,
|
|
317
|
+
"reflect": true,
|
|
318
|
+
"attribute": "relation",
|
|
319
|
+
"defaultValue": "'description'"
|
|
320
|
+
},
|
|
284
321
|
"typography": {
|
|
285
322
|
"type": "string",
|
|
286
323
|
"mutable": false,
|
|
@@ -423,6 +460,9 @@ export class MdsTooltip {
|
|
|
423
460
|
}, {
|
|
424
461
|
"propName": "strategy",
|
|
425
462
|
"methodName": "strategyChanged"
|
|
463
|
+
}, {
|
|
464
|
+
"propName": "relation",
|
|
465
|
+
"methodName": "relationChanged"
|
|
426
466
|
}, {
|
|
427
467
|
"propName": "visible",
|
|
428
468
|
"methodName": "visibleChanged"
|
|
@@ -18,6 +18,15 @@ The most common form. Give the trigger element an `id` (or any unique CSS select
|
|
|
18
18
|
<mds-tooltip target="#salva-btn">Salva le modifiche correnti</mds-tooltip>
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
+
#### Naming an Icon-Only Button
|
|
22
|
+
|
|
23
|
+
On an icon-only button the tooltip usually shows the name of the button. Set `relation="label"` so that the tooltip is the name (`aria-labelledby`) and not a description: the button needs no `aria-label`, and a screen reader does not read the same text twice. Use it only on an interactive trigger, a button or a link: ARIA does not allow a name on a generic element.
|
|
24
|
+
|
|
25
|
+
```html
|
|
26
|
+
<mds-button id="tokens-btn" icon="mi/baseline/palette" variant="dark" tone="text"></mds-button>
|
|
27
|
+
<mds-tooltip target="#tokens-btn" relation="label">Tokens</mds-tooltip>
|
|
28
|
+
```
|
|
29
|
+
|
|
21
30
|
#### Tooltip on a Non-Interactive Element
|
|
22
31
|
|
|
23
32
|
`target` accepts any CSS selector, not just `#id`. Use a class or attribute selector when the trigger is a static element such as a status icon.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-tree
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.3.0. Shadow DOM: style it only through the CSS custom properties and parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-tree>` web component is the root container of the Magma Design System tree view, organizing a hierarchy of slotted `<mds-tree-item>` nodes into an expandable/collapsible structure. It owns no visual row of its own: it is a compound parent that configures, stacks, and propagates state to its children.
|
|
12
12
|
|
|
@@ -54,31 +54,31 @@ mds-tree-item {
|
|
|
54
54
|
--mds-tree-actions-border-radius: var(--radius-lg, 16px);
|
|
55
55
|
--mds-tree-actions-gap: --spacing(50);
|
|
56
56
|
--mds-tree-label-default-background: transparent;
|
|
57
|
-
--mds-tree-label-hover-background: rgb(var(--magma-wash-soft, var(--
|
|
58
|
-
--mds-tree-label-icon-default-color: rgb(var(--magma-accent-emphasis, var(--
|
|
57
|
+
--mds-tree-label-hover-background: rgb(var(--magma-wash-soft, var(--tone-neutral-10, 237 237 237)));
|
|
58
|
+
--mds-tree-label-icon-default-color: rgb(var(--magma-accent-emphasis, var(--variant-primary-04, 36 103 231)));
|
|
59
59
|
--mds-tree-label-icon-hover-color: var(--mds-tree-label-icon-default-color);
|
|
60
60
|
--mds-tree-line-clamp: 2;
|
|
61
|
-
--mds-tree-branch-border-color: rgb(var(--magma-border-default, var(--
|
|
61
|
+
--mds-tree-branch-border-color: rgb(var(--magma-border-default, var(--border-neutral-default, 196 196 196)));
|
|
62
62
|
--mds-tree-branch-use-rounded-border: true;
|
|
63
63
|
--mds-tree-branch-border-size: --spacing(50);
|
|
64
|
-
--mds-tree-branch-dot-default-color: rgb(var(--magma-border-default, var(--
|
|
65
|
-
--mds-tree-branch-dot-expanded-color: rgb(var(--magma-border-strong, var(--
|
|
64
|
+
--mds-tree-branch-dot-default-color: rgb(var(--magma-border-default, var(--border-neutral-default, 196 196 196)));
|
|
65
|
+
--mds-tree-branch-dot-expanded-color: rgb(var(--magma-border-strong, var(--border-neutral-strong, 140 140 140)));
|
|
66
66
|
--mds-tree-toggle-gap: --spacing(150);
|
|
67
|
-
--mds-tree-toggle-icon-async-background: rgb(var(--magma-wash-base, var(--
|
|
68
|
-
--mds-tree-toggle-icon-async-color: rgb(var(--magma-accent-fg, var(--
|
|
69
|
-
--mds-tree-toggle-icon-chevron-default-background: rgb(var(--magma-accent-emphasis, var(--
|
|
70
|
-
--mds-tree-toggle-icon-chevron-default-color: rgb(var(--magma-text-on-emphasis, var(--
|
|
67
|
+
--mds-tree-toggle-icon-async-background: rgb(var(--magma-wash-base, var(--tone-neutral-09, 225 225 225)));
|
|
68
|
+
--mds-tree-toggle-icon-async-color: rgb(var(--magma-accent-fg, var(--variant-primary-03, 7 76 204)));
|
|
69
|
+
--mds-tree-toggle-icon-chevron-default-background: rgb(var(--magma-accent-emphasis, var(--variant-primary-04, 36 103 231)));
|
|
70
|
+
--mds-tree-toggle-icon-chevron-default-color: rgb(var(--magma-text-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
71
71
|
--mds-tree-toggle-icon-chevron-expanded-background: var(
|
|
72
72
|
--mds-tree-toggle-icon-chevron-default-background
|
|
73
73
|
);
|
|
74
74
|
--mds-tree-toggle-icon-chevron-expanded-color: var(--mds-tree-toggle-icon-chevron-default-color);
|
|
75
|
-
--mds-tree-toggle-icon-folder-default-background: rgb(var(--magma-wash-strong, var(--
|
|
76
|
-
--mds-tree-toggle-icon-folder-default-color: rgb(var(--magma-accent-emphasis, var(--
|
|
75
|
+
--mds-tree-toggle-icon-folder-default-background: rgb(var(--magma-wash-strong, var(--tone-neutral-08, 208 208 208)));
|
|
76
|
+
--mds-tree-toggle-icon-folder-default-color: rgb(var(--magma-accent-emphasis, var(--variant-primary-04, 36 103 231)));
|
|
77
77
|
--mds-tree-toggle-icon-folder-expanded-color: var(--mds-tree-toggle-icon-folder-default-color);
|
|
78
78
|
--mds-tree-toggle-icon-position-right-default-background: transparent;
|
|
79
|
-
--mds-tree-toggle-icon-position-right-default-color: rgb(var(--magma-text-subtle, var(--
|
|
79
|
+
--mds-tree-toggle-icon-position-right-default-color: rgb(var(--magma-text-subtle, var(--text-neutral-subtle, 99 99 99)));
|
|
80
80
|
--mds-tree-toggle-icon-position-right-expanded-background: transparent;
|
|
81
|
-
--mds-tree-toggle-icon-position-right-expanded-color: rgb(var(--magma-text-subtle, var(--
|
|
81
|
+
--mds-tree-toggle-icon-position-right-expanded-color: rgb(var(--magma-text-subtle, var(--text-neutral-subtle, 99 99 99)));
|
|
82
82
|
--mds-tree-transition-duration: 300ms;
|
|
83
83
|
--mds-tree-transition-timing-function: var(--ease-in-out-expo, cubic-bezier(1, 0, 0, 1));
|
|
84
84
|
|
|
@@ -102,7 +102,7 @@ export class MdsTree {
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
render() {
|
|
105
|
-
return (h(Host, { key: '
|
|
105
|
+
return (h(Host, { key: '53ef93188d5e83639dd7ab8dd00e61ae45bf4b29' }, h("slot", { key: 'c13033ae239fb74ab1cc88603cec1249aaba7fbd', onSlotchange: this.updateElements })));
|
|
106
106
|
}
|
|
107
107
|
static get is() { return "mds-tree"; }
|
|
108
108
|
static get encapsulation() { return "shadow"; }
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-tree-item
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.3.0. Shadow DOM: style it only through the CSS custom properties and parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-tree-item>` web component is the node primitive of the Magma Design System tree view: it represents a single labeled, expandable/collapsible entry inside an [`<mds-tree>`](../mds-tree/AGENTS.md) and is also the recursive container for its own descendants. It replaces the role of an `<li>` within a nested disclosure list.
|
|
12
12
|
|
|
@@ -122,7 +122,7 @@ export class MdsTreeItem {
|
|
|
122
122
|
this.childrenElement.removeEventListener('transitionend', this.checkChildrenTransitionEnd);
|
|
123
123
|
}
|
|
124
124
|
render() {
|
|
125
|
-
return (h(Host, { key: '
|
|
125
|
+
return (h(Host, { key: 'd379a04bc50d2a8822b2c9bd9afa3286bf1049c9', "resolved-actions": this.resolvedActions }, h("div", { key: 'f8818459a7569259ca2de97d524aad1b28a5bc3e', class: clsx('header', this.hasChildren && 'header--has-children') }, h("div", { key: '61e46bdcfb645700a7a5877618d285fa8f669755', class: "tree-node" }, h("div", { key: '1f16e0cb50353dae965c934305b5f0a8c9cacdbe', class: "tree-branch" }), h("div", { key: '875b223dbdb3afc8b546b3658e83635e6a05691e', class: "tree-dot" })), h("div", { key: '3a6ac1bdb6c0d62cc8e7676e08159e1ced589856', class: "toggle-icon" }, h("mds-button", { key: 'a484d767f250873e1b4727ce616dcea39cad985a', await: this.await, onClick: this.onClick, icon: !this.await ? this.currentToggleIcon : undefined, title: this.t.get(this.expanded ? 'collapse' : 'expand', { label: this.label }), variant: "dark", tone: "text", size: "sm" })), h("div", { key: '6fb6aeac51e71e0693733d5015e41b8cf8b7e3ed', class: "title" }, h("mds-button", { key: '55c10a8b8f442612bc5fdcc044db92632d240dc8', class: clsx('label-action', this.await && 'label-action--await'), disabled: this.await, icon: this.icon, onClick: this.onClick, variant: "dark", tone: "text", truncate: this.truncate, label: this.label }), h("div", { key: '766927e3499deef9a551099f5551047c54b0eaea', class: clsx('actions-container', this.hasActions && 'actions-container--has-actions'), part: "actions-container" }, h("div", { key: 'a11f706c0605da9631807cee0ad8bc75f0b8b000', class: "actions", part: "actions-list" }, h("slot", { key: '98138d8403cfc3b3e9881ba109d5ae7ed04177f8', name: "action", onSlotchange: this.onActionSlotChange }))))), h("div", { key: '23d3dcbceb0afb21277bade5a49a17f57fa060d2', class: clsx('children', this.hasChildren && 'children--has-children', this.expanded && 'children--expanded') }, h("slot", { key: '1c02a9c285127cc48bd127ca76c459982271ad68' }))));
|
|
126
126
|
}
|
|
127
127
|
static get is() { return "mds-tree-item"; }
|
|
128
128
|
static get encapsulation() { return "shadow"; }
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-url-view
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.3.0. Shadow DOM: style it only through the CSS custom properties and parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-url-view>` web component renders an embedded preview of an external web page inside a framed browser-like window, wrapping a native `<iframe>` with a titled header, an identifying icon, and a dismiss control. It is the Magma way to surface remote content (typically inside a `mds-modal`) without hand-building chrome around the raw iframe.
|
|
12
12
|
|
|
@@ -41,8 +41,8 @@ mds-text {
|
|
|
41
41
|
|
|
42
42
|
/* stylelint-disable-next-line length-zero-no-unit */
|
|
43
43
|
--mds-modal-custom-window-distance: 0px;
|
|
44
|
-
--mds-url-view-background: rgb(var(--magma-wash-soft, var(--
|
|
45
|
-
--mds-url-view-color: rgb(var(--magma-text-default, var(--
|
|
44
|
+
--mds-url-view-background: rgb(var(--magma-wash-soft, var(--tone-neutral-10, 237 237 237)));
|
|
45
|
+
--mds-url-view-color: rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)));
|
|
46
46
|
--mds-url-view-radius: var(--radius-md, 12px);
|
|
47
47
|
--mds-url-view-header-shadow: var(--shadow-sm-sharp, 0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 3px 0 rgb(0 0 0 / 0.1));
|
|
48
48
|
--mds-url-view-shadow: var(--shadow-lg, 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1));
|
|
@@ -58,7 +58,7 @@ mds-text {
|
|
|
58
58
|
.window {
|
|
59
59
|
@apply ease-out;
|
|
60
60
|
|
|
61
|
-
background-color: var(--mds-url-view-background, rgb(var(--magma-wash-soft, var(--
|
|
61
|
+
background-color: var(--mds-url-view-background, rgb(var(--magma-wash-soft, var(--tone-neutral-10, 237 237 237))));
|
|
62
62
|
border-radius: var(--mds-url-view-radius, var(--radius-md, 12px));
|
|
63
63
|
box-shadow: var(--mds-url-view-shadow);
|
|
64
64
|
display: flex;
|
|
@@ -74,9 +74,9 @@ mds-text {
|
|
|
74
74
|
@apply ease-out;
|
|
75
75
|
|
|
76
76
|
align-items: center;
|
|
77
|
-
background-color: var(--mds-url-view-background, rgb(var(--magma-wash-soft, var(--
|
|
77
|
+
background-color: var(--mds-url-view-background, rgb(var(--magma-wash-soft, var(--tone-neutral-10, 237 237 237))));
|
|
78
78
|
box-shadow: var(--mds-url-view-header-shadow);
|
|
79
|
-
color: var(--mds-url-view-color, rgb(var(--magma-text-default, var(--
|
|
79
|
+
color: var(--mds-url-view-color, rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5))));
|
|
80
80
|
display: flex;
|
|
81
81
|
flex-shrink: 0;
|
|
82
82
|
gap: --spacing(200);
|
|
@@ -96,13 +96,13 @@ mds-text {
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
.window-icon {
|
|
99
|
-
fill: var(--mds-url-view-color, rgb(var(--magma-text-default, var(--
|
|
99
|
+
fill: var(--mds-url-view-color, rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5))));
|
|
100
100
|
flex-shrink: 0;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
.button-close {
|
|
104
104
|
cursor: pointer;
|
|
105
|
-
fill: var(--mds-url-view-color, rgb(var(--magma-text-default, var(--
|
|
105
|
+
fill: var(--mds-url-view-color, rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5))));
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
.iframe {
|
|
@@ -51,7 +51,7 @@ export class MdsUrlView {
|
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
53
|
var _a, _b;
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: '2bd97f93dcea354494a3bbfa121c313f24d2e5d5', "aria-label": this.t.get('previewURL', { url: this.urlDomain(this.src) }), "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, h("div", { key: '3bf74d549528a4c9bdd757d51d0a4808ba5654f9', class: "window" }, h("div", { key: 'ea6a7513971380653a6d57a5e82040384017d748', class: "header" }, h("mds-icon", { key: '209af200354c6257ac1dd386dfae8b685d394389', class: "window-icon", name: (_a = this.icon) !== null && _a !== void 0 ? _a : miBaselineExplore }), h("mds-text", { key: '8a43ab99147e1428f7fb2ce93cc0532660e016f9', class: "title", typography: "caption" }, (_b = this.label) !== null && _b !== void 0 ? _b : this.urlDomain(this.src)), h("mds-button", { key: 'c754f865ee312339354eff02518865b8ec7f524b', title: this.t.get('close'), class: "action-close", variant: "dark", tone: "text", icon: miBaselineClose, onClick: this.closeUrlView })), h("iframe", { key: 'da33348312dc2d6027d03b9f4df3951e018bd4c3', class: "iframe", "aria-label": this.t.get('iframeURL', { url: this.urlDomain(this.src) }), src: this.src, loading: this.loading }))));
|
|
55
55
|
}
|
|
56
56
|
static get is() { return "mds-url-view"; }
|
|
57
57
|
static get encapsulation() { return "shadow"; }
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-usage
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.3.0. Shadow DOM: style it only through the CSS custom properties and parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-usage>` web component is a documentation-oriented annotation block of the Magma Design System used to frame example content as a recommendation, a warning, or an informational note. It wraps slotted content in a labelled, status-colored container and has no native HTML primitive equivalent - it is a presentational guidance device, typically used inside design-system docs and Storybook.
|
|
12
12
|
|
|
13
13
|
#### Semantic Behavior
|
|
14
14
|
|
|
15
|
-
- **Status semantics via `variant`**: The chosen `variant` drives the border and header color from the shared status palette (success / info / error / warning), so the container reads as the matching guidance category.
|
|
15
|
+
- **Status semantics via `variant`**: The chosen `variant` drives the border and header color from the shared status palette (success / info / error / warning) and the header icon (a tick for `do`, an X for `dont`, an info sign for `info`, a warning triangle for `warn`), so the container reads as the matching guidance category even without its color.
|
|
16
16
|
- **Content role mapping**: The content region conveys an allowed-vs-disallowed nature to assistive technology - insertion for the `'do'` and `'info'` variants, deletion for `'dont'` and `'warn'`.
|
|
17
17
|
- **Localized header label**: When `alias` is not provided, the header text is resolved from the bundled locale dictionary (el / en / es / it) keyed by `variant`, so the label follows the document language.
|
|
18
18
|
- **Default slot is content**: The default (unnamed) slot accepts a text string, HTML elements, or other components - it is the body of the usage block, not the label.
|
|
@@ -29,6 +29,7 @@ The `<mds-usage>` web component is a documentation-oriented annotation block of
|
|
|
29
29
|
#### Other behavioral props
|
|
30
30
|
|
|
31
31
|
- **`alias`** overrides the auto-generated, localized header phrase with a custom string when the default category label is not specific enough for the example being shown.
|
|
32
|
+
- **`icon`** replaces the header icon of the `variant` with any icon slug; colors, label and content role still follow the `variant`. When not set or empty, the icon follows the `variant`. The header icon is decorative: the label carries the meaning.
|
|
32
33
|
|
|
33
34
|
## Read next
|
|
34
35
|
|
|
@@ -41,7 +42,8 @@ The `<mds-usage>` web component is a documentation-oriented annotation block of
|
|
|
41
42
|
| Prop | Attribute | Type | Default | Description |
|
|
42
43
|
| --- | --- | --- | --- | --- |
|
|
43
44
|
| `alias` | `alias` | `string \| undefined` | - | Specifies the alias of the usage phrase on the top of the component |
|
|
44
|
-
| `
|
|
45
|
+
| `icon` | `icon` | `string \| undefined` | - | Specifies the icon displayed in the header; when not set or empty, the icon follows the `variant` |
|
|
46
|
+
| `variant` | `variant` | `"do" \| "dont" \| "info" \| "warn"` | `'info'` | Specifies the guidance category of the content, which drives colors, header label and icon |
|
|
45
47
|
|
|
46
48
|
## Slots
|
|
47
49
|
|
|
@@ -11,7 +11,7 @@ Common incorrect uses of `<mds-usage>`. Each entry pairs the wrong form with the
|
|
|
11
11
|
|
|
12
12
|
#### Do Not Use `variant` as the Shared Tone/Variant Ladder
|
|
13
13
|
|
|
14
|
-
`<mds-usage>` does not use the system-wide `variant` ladder (`primary`, `secondary`, `error`, etc.). Its `variant` prop is component-specific (`do`, `dont`, `info`, `warn`). Passing a system variant silently falls back to the base info-like styling, with an empty header label (the locale has no entry for it).
|
|
14
|
+
`<mds-usage>` does not use the system-wide `variant` ladder (`primary`, `secondary`, `error`, etc.). Its `variant` prop is component-specific (`do`, `dont`, `info`, `warn`). Passing a system variant silently falls back to the base info-like styling and the info icon, with an empty header label (the locale has no entry for it).
|
|
15
15
|
|
|
16
16
|
```html
|
|
17
17
|
<!-- INCORRECT -->
|
|
@@ -25,6 +25,22 @@ Common incorrect uses of `<mds-usage>`. Each entry pairs the wrong form with the
|
|
|
25
25
|
</mds-usage>
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
+
#### Do Not Use an `icon` That Contradicts the `variant`
|
|
29
|
+
|
|
30
|
+
`icon` replaces only the glyph: colors, label and content role still follow the `variant`. An icon that means the opposite (a tick on a `dont` block, a cross on a `do` block) sends two conflicting signals. To change the meaning, change the `variant`; use `icon` only to make the same meaning more specific.
|
|
31
|
+
|
|
32
|
+
```html
|
|
33
|
+
<!-- INCORRECT -->
|
|
34
|
+
<mds-usage variant="dont" icon="mi/baseline/check-circle">
|
|
35
|
+
<mds-text>Non annidare mds-card all'interno di un'altra mds-card.</mds-text>
|
|
36
|
+
</mds-usage>
|
|
37
|
+
|
|
38
|
+
<!-- CORRECT -->
|
|
39
|
+
<mds-usage variant="dont">
|
|
40
|
+
<mds-text>Non annidare mds-card all'interno di un'altra mds-card.</mds-text>
|
|
41
|
+
</mds-usage>
|
|
42
|
+
```
|
|
43
|
+
|
|
28
44
|
#### Do Not Omit the Slot Content
|
|
29
45
|
|
|
30
46
|
`<mds-usage>` renders a labeled container; without slotted content the block displays only the colored header strip with no body - producing a visually broken annotation. Always provide meaningful content in the default slot.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-10-
|
|
2
|
+
"timestamp": "2026-10-15T16:08:09",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.44.2",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
}
|
|
19
19
|
],
|
|
20
20
|
"usage": {
|
|
21
|
-
"1. Description": "The `<mds-usage>` web component is a documentation-oriented annotation block of the Magma Design System used to frame example content as a recommendation, a warning, or an informational note. It wraps slotted content in a labelled, status-colored container and has no native HTML primitive equivalent - it is a presentational guidance device, typically used inside design-system docs and Storybook.\n\n#### Semantic Behavior\n\n- **Status semantics via `variant`**: The chosen `variant` drives the border and header color from the shared status palette (success / info / error / warning), so the container reads as the matching guidance category.\n- **Content role mapping**: The content region conveys an allowed-vs-disallowed nature to assistive technology - insertion for the `'do'` and `'info'` variants, deletion for `'dont'` and `'warn'`.\n- **Localized header label**: When `alias` is not provided, the header text is resolved from the bundled locale dictionary (el / en / es / it) keyed by `variant`, so the label follows the document language.\n- **Default slot is content**: The default (unnamed) slot accepts a text string, HTML elements, or other components - it is the body of the usage block, not the label.\n\n#### Properties & Visual Configurations\n\n`variant` is the primary configuration prop. Unlike most Magma components, this is NOT the shared variant/tone ladder defined in [`agents/variants.md`](../../../../agents/variants.md); it is a component-specific guidance category:\n\n- **`variant=\"do\"`**: marks recommended / allowed usage (success styling, insertion role).\n- **`variant=\"dont\"`**: marks discouraged / disallowed usage (error styling, deletion role).\n- **`variant=\"info\"`**: neutral informational note (info styling, insertion role); this is the default.\n- **`variant=\"warn\"`**: cautionary note (warning styling, deletion role).\n\n#### Other behavioral props\n\n- **`alias`** overrides the auto-generated, localized header phrase with a custom string when the default category label is not specific enough for the example being shown.\n",
|
|
22
|
-
"2. Pattern": "Correct and idiomatic ways to use the `<mds-usage>` component, ordered from most common to most specialized. Patterns assume a working knowledge of the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).\n\n#### Default Informational Note\n\nThe simplest form. Omit `variant` to get the `info` default - a neutral, blue-tinted container that draws attention to a usage note without implying correctness or incorrectness.\n\n```html\n<mds-usage>\n <mds-text>\n Utilizzare sempre il colore primario del tema per le azioni principali.\n </mds-text>\n</mds-usage>\n```\n\n#### Recommended Pattern (`variant=\"do\"`)\n\nUse `variant=\"do\"` to mark a component usage or design pattern as explicitly recommended. The container adopts success styling and the content region carries `role=\"insertion\"` for assistive technology.\n\n```html\n<mds-usage variant=\"do\">\n <mds-button label=\"Salva\" variant=\"primary\" tone=\"strong\"></mds-button>\n</mds-usage>\n```\n\n#### Discouraged Pattern (`variant=\"dont\"`)\n\nUse `variant=\"dont\"` to mark a usage as explicitly forbidden or inadvisable. The container adopts error styling and the content region carries `role=\"deletion\"`.\n\n```html\n<mds-usage variant=\"dont\">\n <button style=\"background: blue; color: white;\">Salva</button>\n</mds-usage>\n```\n\n#### Cautionary Note (`variant=\"warn\"`)\n\nUse `variant=\"warn\"` when a pattern is not forbidden but requires care - for example when a prop combination is valid but has side effects, or when a rare edge case exists. The container adopts warning styling and carries `role=\"deletion\"`.\n\n```html\n<mds-usage variant=\"warn\">\n <mds-text>\n Impostare type=\"button\" su ogni pulsante all'interno di un form\n per evitare invii accidentali.\n </mds-text>\n</mds-usage>\n```\n\n#### Custom Header Label via `alias`\n\nWhen the auto-generated, localized header (\"Consentito\", \"Non consentito\", etc.) is not specific enough for the context, pass `alias` to replace it with a custom string. The locale dictionary is bypassed entirely.\n\n```html\n<mds-usage variant=\"do\" alias=\"Struttura consigliata\">\n <mds-text>Usare mds-card con header, content e footer separati.</mds-text>\n</mds-usage>\n\n<mds-usage variant=\"dont\" alias=\"Struttura da evitare\">\n <mds-text>Non annidare mds-card all'interno di un'altra mds-card.</mds-text>\n</mds-usage>\n```\n\n#### Side-by-Side Do / Dont Pair\n\nPair a `do` block with a `dont` block to illustrate a correct and an incorrect approach in the same documentation section. No extra wrapper is needed - use a CSS grid or flex container.\n\n```html\n<div style=\"display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;\">\n <mds-usage variant=\"do\">\n <mds-button label=\"Conferma\" variant=\"primary\" tone=\"strong\"></mds-button>\n </mds-usage>\n\n <mds-usage variant=\"dont\">\n <mds-button label=\"Conferma\" tone=\"strong\" style=\"--mds-button-background: green;\"></mds-button>\n </mds-usage>\n</div>\n```\n\n#### Rich Slotted Content\n\nThe default slot accepts any HTML or Magma components. Use this to annotate a fully composed UI fragment rather than a single element.\n\n```html\n<mds-usage variant=\"do\" alias=\"Composizione corretta di mds-card\">\n <mds-card>\n <mds-card-header slot=\"header\">\n <mds-text typography=\"h5\">Titolo scheda</mds-text>\n </mds-card-header>\n <mds-card-content slot=\"content\">\n <mds-text>Contenuto principale della scheda.</mds-text>\n </mds-card-content>\n <mds-card-footer slot=\"footer\">\n <mds-button label=\"Azione\" variant=\"primary\"></mds-button>\n </mds-card-footer>\n </mds-card>\n</mds-usage>\n```\n\n#### CSS Custom Property Overrides\n\nCustomize the container appearance through the three documented `--mds-usage-*` CSS custom properties. Set them on the host or a parent selector and use the semantic color roles via `rgb(var(--magma-<role>))` to keep dark mode working.\n\n```css\n.docs-callout mds-usage {\n --mds-usage-border-color: rgb(var(--magma-accent-ai-border));\n --mds-usage-header-background: rgb(var(--magma-accent-ai-emphasis));\n --mds-usage-header-color: rgb(var(--magma-accent-ai-on-emphasis));\n}\n```\n",
|
|
23
|
-
"3. Antipattern": "Common incorrect uses of `<mds-usage>`. 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 `variant` as the Shared Tone/Variant Ladder\n\n`<mds-usage>` does not use the system-wide `variant` ladder (`primary`, `secondary`, `error`, etc.). Its `variant` prop is component-specific (`do`, `dont`, `info`, `warn`). Passing a system variant silently falls back to the base info-like styling, with an empty header label (the locale has no entry for it).\n\n```html\n<!-- INCORRECT -->\n<mds-usage variant=\"error\">\n <mds-text>Non consentito.</mds-text>\n</mds-usage>\n\n<!-- CORRECT -->\n<mds-usage variant=\"dont\">\n <mds-text>Non consentito.</mds-text>\n</mds-usage>\n```\n\n#### Do Not Omit the Slot Content\n\n`<mds-usage>` renders a labeled container; without slotted content the block displays only the colored header strip with no body - producing a visually broken annotation. Always provide meaningful content in the default slot.\n\n```html\n<!-- INCORRECT -->\n<mds-usage variant=\"do\"></mds-usage>\n\n<!-- CORRECT -->\n<mds-usage variant=\"do\">\n <mds-text>Usare sempre il colore del tema per i pulsanti primari.</mds-text>\n</mds-usage>\n```\n\n#### Do Not Put the Label in the Default Slot\n\nThe default slot is the body of the block. Placing a heading or label string there makes it look like body text, not a header. Use the `alias` prop to supply a custom header label.\n\n```html\n<!-- INCORRECT -->\n<mds-usage variant=\"do\">\n Struttura consigliata\n</mds-usage>\n\n<!-- CORRECT -->\n<mds-usage variant=\"do\" alias=\"Struttura consigliata\">\n <mds-text>Comporre mds-card con i suoi sotto-componenti dedicati.</mds-text>\n</mds-usage>\n```\n\n#### Do Not Pierce the Shadow DOM to Restyle the Header\n\n`::part(header)`, `::part(icon)`, and `::part(label)` are the only documented extension points for shadow internals. Targeting undocumented class names or using `>>>` couples code to implementation details that may change. For color overrides, use the documented `--mds-usage-*` CSS custom properties instead.\n\n```css\n/* INCORRECT */\nmds-usage >>> .header {\n background: rgb(var(--magma-accent-ai-emphasis));\n}\n\n/* CORRECT */\nmds-usage {\n --mds-usage-header-background: rgb(var(--magma-accent-ai-emphasis));\n --mds-usage-header-color: rgb(var(--magma-accent-ai-on-emphasis));\n}\n```\n\n#### Do Not Use `<mds-usage>` as a General-Purpose Card\n\n`<mds-usage>` is a documentation/Storybook annotation primitive - it is not a card, callout, or alert for production UIs. For in-app status messages use [`mds-banner`](../mds-banner/AGENTS.md), [`mds-note`](../mds-note/AGENTS.md), or [`mds-toast`](../mds-toast/AGENTS.md).\n\n```html\n<!-- INCORRECT - using mds-usage as a production alert -->\n<mds-usage variant=\"warn\">\n <mds-text>La sessione sta per scadere.</mds-text>\n</mds-usage>\n\n<!-- CORRECT - use the appropriate production component -->\n<mds-banner variant=\"warning\" tone=\"weak\">La sessione sta per scadere.</mds-banner>\n```\n"
|
|
21
|
+
"1. Description": "The `<mds-usage>` web component is a documentation-oriented annotation block of the Magma Design System used to frame example content as a recommendation, a warning, or an informational note. It wraps slotted content in a labelled, status-colored container and has no native HTML primitive equivalent - it is a presentational guidance device, typically used inside design-system docs and Storybook.\n\n#### Semantic Behavior\n\n- **Status semantics via `variant`**: The chosen `variant` drives the border and header color from the shared status palette (success / info / error / warning) and the header icon (a tick for `do`, an X for `dont`, an info sign for `info`, a warning triangle for `warn`), so the container reads as the matching guidance category even without its color.\n- **Content role mapping**: The content region conveys an allowed-vs-disallowed nature to assistive technology - insertion for the `'do'` and `'info'` variants, deletion for `'dont'` and `'warn'`.\n- **Localized header label**: When `alias` is not provided, the header text is resolved from the bundled locale dictionary (el / en / es / it) keyed by `variant`, so the label follows the document language.\n- **Default slot is content**: The default (unnamed) slot accepts a text string, HTML elements, or other components - it is the body of the usage block, not the label.\n\n#### Properties & Visual Configurations\n\n`variant` is the primary configuration prop. Unlike most Magma components, this is NOT the shared variant/tone ladder defined in [`agents/variants.md`](../../../../agents/variants.md); it is a component-specific guidance category:\n\n- **`variant=\"do\"`**: marks recommended / allowed usage (success styling, insertion role).\n- **`variant=\"dont\"`**: marks discouraged / disallowed usage (error styling, deletion role).\n- **`variant=\"info\"`**: neutral informational note (info styling, insertion role); this is the default.\n- **`variant=\"warn\"`**: cautionary note (warning styling, deletion role).\n\n#### Other behavioral props\n\n- **`alias`** overrides the auto-generated, localized header phrase with a custom string when the default category label is not specific enough for the example being shown.\n- **`icon`** replaces the header icon of the `variant` with any icon slug; colors, label and content role still follow the `variant`. When not set or empty, the icon follows the `variant`. The header icon is decorative: the label carries the meaning.\n",
|
|
22
|
+
"2. Pattern": "Correct and idiomatic ways to use the `<mds-usage>` component, ordered from most common to most specialized. Patterns assume a working knowledge of the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).\n\n#### Default Informational Note\n\nThe simplest form. Omit `variant` to get the `info` default - a neutral, blue-tinted container that draws attention to a usage note without implying correctness or incorrectness.\n\n```html\n<mds-usage>\n <mds-text>\n Utilizzare sempre il colore primario del tema per le azioni principali.\n </mds-text>\n</mds-usage>\n```\n\n#### Recommended Pattern (`variant=\"do\"`)\n\nUse `variant=\"do\"` to mark a component usage or design pattern as explicitly recommended. The container adopts success styling and the content region carries `role=\"insertion\"` for assistive technology.\n\n```html\n<mds-usage variant=\"do\">\n <mds-button label=\"Salva\" variant=\"primary\" tone=\"strong\"></mds-button>\n</mds-usage>\n```\n\n#### Discouraged Pattern (`variant=\"dont\"`)\n\nUse `variant=\"dont\"` to mark a usage as explicitly forbidden or inadvisable. The container adopts error styling and the content region carries `role=\"deletion\"`.\n\n```html\n<mds-usage variant=\"dont\">\n <button style=\"background: blue; color: white;\">Salva</button>\n</mds-usage>\n```\n\n#### Cautionary Note (`variant=\"warn\"`)\n\nUse `variant=\"warn\"` when a pattern is not forbidden but requires care - for example when a prop combination is valid but has side effects, or when a rare edge case exists. The container adopts warning styling and carries `role=\"deletion\"`.\n\n```html\n<mds-usage variant=\"warn\">\n <mds-text>\n Impostare type=\"button\" su ogni pulsante all'interno di un form\n per evitare invii accidentali.\n </mds-text>\n</mds-usage>\n```\n\n#### Custom Header Label via `alias`\n\nWhen the auto-generated, localized header (\"Consentito\", \"Non consentito\", etc.) is not specific enough for the context, pass `alias` to replace it with a custom string. The locale dictionary is bypassed entirely.\n\n```html\n<mds-usage variant=\"do\" alias=\"Struttura consigliata\">\n <mds-text>Usare mds-card con header, content e footer separati.</mds-text>\n</mds-usage>\n\n<mds-usage variant=\"dont\" alias=\"Struttura da evitare\">\n <mds-text>Non annidare mds-card all'interno di un'altra mds-card.</mds-text>\n</mds-usage>\n```\n\n#### Custom Header Icon via `icon`\n\nEach `variant` has its own header icon. When a custom `alias` names a more specific category, pass `icon` with a slug that illustrates it; the `variant` still drives the colors, the label fallback and the content role. Keep the icon coherent with the `variant`.\n\n```html\n<mds-usage variant=\"do\" alias=\"Struttura consigliata\" icon=\"mi/baseline/account-tree\">\n <mds-text>Usare mds-card con header, content e footer separati.</mds-text>\n</mds-usage>\n```\n\n#### Side-by-Side Do / Dont Pair\n\nPair a `do` block with a `dont` block to illustrate a correct and an incorrect approach in the same documentation section. No extra wrapper is needed - use a CSS grid or flex container.\n\n```html\n<div style=\"display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;\">\n <mds-usage variant=\"do\">\n <mds-button label=\"Conferma\" variant=\"primary\" tone=\"strong\"></mds-button>\n </mds-usage>\n\n <mds-usage variant=\"dont\">\n <mds-button label=\"Conferma\" tone=\"strong\" style=\"--mds-button-background: green;\"></mds-button>\n </mds-usage>\n</div>\n```\n\n#### Rich Slotted Content\n\nThe default slot accepts any HTML or Magma components. Use this to annotate a fully composed UI fragment rather than a single element.\n\n```html\n<mds-usage variant=\"do\" alias=\"Composizione corretta di mds-card\">\n <mds-card>\n <mds-card-header slot=\"header\">\n <mds-text typography=\"h5\">Titolo scheda</mds-text>\n </mds-card-header>\n <mds-card-content slot=\"content\">\n <mds-text>Contenuto principale della scheda.</mds-text>\n </mds-card-content>\n <mds-card-footer slot=\"footer\">\n <mds-button label=\"Azione\" variant=\"primary\"></mds-button>\n </mds-card-footer>\n </mds-card>\n</mds-usage>\n```\n\n#### CSS Custom Property Overrides\n\nCustomize the container appearance through the three documented `--mds-usage-*` CSS custom properties. Set them on the host or a parent selector and use the semantic color roles via `rgb(var(--magma-<role>))` to keep dark mode working.\n\n```css\n.docs-callout mds-usage {\n --mds-usage-border-color: rgb(var(--magma-accent-ai-border));\n --mds-usage-header-background: rgb(var(--magma-accent-ai-emphasis));\n --mds-usage-header-color: rgb(var(--magma-accent-ai-on-emphasis));\n}\n```\n",
|
|
23
|
+
"3. Antipattern": "Common incorrect uses of `<mds-usage>`. 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 `variant` as the Shared Tone/Variant Ladder\n\n`<mds-usage>` does not use the system-wide `variant` ladder (`primary`, `secondary`, `error`, etc.). Its `variant` prop is component-specific (`do`, `dont`, `info`, `warn`). Passing a system variant silently falls back to the base info-like styling and the info icon, with an empty header label (the locale has no entry for it).\n\n```html\n<!-- INCORRECT -->\n<mds-usage variant=\"error\">\n <mds-text>Non consentito.</mds-text>\n</mds-usage>\n\n<!-- CORRECT -->\n<mds-usage variant=\"dont\">\n <mds-text>Non consentito.</mds-text>\n</mds-usage>\n```\n\n#### Do Not Use an `icon` That Contradicts the `variant`\n\n`icon` replaces only the glyph: colors, label and content role still follow the `variant`. An icon that means the opposite (a tick on a `dont` block, a cross on a `do` block) sends two conflicting signals. To change the meaning, change the `variant`; use `icon` only to make the same meaning more specific.\n\n```html\n<!-- INCORRECT -->\n<mds-usage variant=\"dont\" icon=\"mi/baseline/check-circle\">\n <mds-text>Non annidare mds-card all'interno di un'altra mds-card.</mds-text>\n</mds-usage>\n\n<!-- CORRECT -->\n<mds-usage variant=\"dont\">\n <mds-text>Non annidare mds-card all'interno di un'altra mds-card.</mds-text>\n</mds-usage>\n```\n\n#### Do Not Omit the Slot Content\n\n`<mds-usage>` renders a labeled container; without slotted content the block displays only the colored header strip with no body - producing a visually broken annotation. Always provide meaningful content in the default slot.\n\n```html\n<!-- INCORRECT -->\n<mds-usage variant=\"do\"></mds-usage>\n\n<!-- CORRECT -->\n<mds-usage variant=\"do\">\n <mds-text>Usare sempre il colore del tema per i pulsanti primari.</mds-text>\n</mds-usage>\n```\n\n#### Do Not Put the Label in the Default Slot\n\nThe default slot is the body of the block. Placing a heading or label string there makes it look like body text, not a header. Use the `alias` prop to supply a custom header label.\n\n```html\n<!-- INCORRECT -->\n<mds-usage variant=\"do\">\n Struttura consigliata\n</mds-usage>\n\n<!-- CORRECT -->\n<mds-usage variant=\"do\" alias=\"Struttura consigliata\">\n <mds-text>Comporre mds-card con i suoi sotto-componenti dedicati.</mds-text>\n</mds-usage>\n```\n\n#### Do Not Pierce the Shadow DOM to Restyle the Header\n\n`::part(header)`, `::part(icon)`, and `::part(label)` are the only documented extension points for shadow internals. Targeting undocumented class names or using `>>>` couples code to implementation details that may change. For color overrides, use the documented `--mds-usage-*` CSS custom properties instead.\n\n```css\n/* INCORRECT */\nmds-usage >>> .header {\n background: rgb(var(--magma-accent-ai-emphasis));\n}\n\n/* CORRECT */\nmds-usage {\n --mds-usage-header-background: rgb(var(--magma-accent-ai-emphasis));\n --mds-usage-header-color: rgb(var(--magma-accent-ai-on-emphasis));\n}\n```\n\n#### Do Not Use `<mds-usage>` as a General-Purpose Card\n\n`<mds-usage>` is a documentation/Storybook annotation primitive - it is not a card, callout, or alert for production UIs. For in-app status messages use [`mds-banner`](../mds-banner/AGENTS.md), [`mds-note`](../mds-note/AGENTS.md), or [`mds-toast`](../mds-toast/AGENTS.md).\n\n```html\n<!-- INCORRECT - using mds-usage as a production alert -->\n<mds-usage variant=\"warn\">\n <mds-text>La sessione sta per scadere.</mds-text>\n</mds-usage>\n\n<!-- CORRECT - use the appropriate production component -->\n<mds-banner variant=\"warning\" tone=\"weak\">La sessione sta per scadere.</mds-banner>\n```\n"
|
|
24
24
|
},
|
|
25
25
|
"props": [
|
|
26
26
|
{
|
|
@@ -49,6 +49,32 @@
|
|
|
49
49
|
"getter": false,
|
|
50
50
|
"setter": false
|
|
51
51
|
},
|
|
52
|
+
{
|
|
53
|
+
"name": "icon",
|
|
54
|
+
"type": "string | undefined",
|
|
55
|
+
"complexType": {
|
|
56
|
+
"original": "string",
|
|
57
|
+
"resolved": "string | undefined",
|
|
58
|
+
"references": {}
|
|
59
|
+
},
|
|
60
|
+
"mutable": false,
|
|
61
|
+
"attr": "icon",
|
|
62
|
+
"reflectToAttr": false,
|
|
63
|
+
"docs": "Specifies the icon displayed in the header; when not set or empty, the icon follows the `variant`",
|
|
64
|
+
"docsTags": [],
|
|
65
|
+
"values": [
|
|
66
|
+
{
|
|
67
|
+
"type": "string"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"type": "undefined"
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"optional": true,
|
|
74
|
+
"required": false,
|
|
75
|
+
"getter": false,
|
|
76
|
+
"setter": false
|
|
77
|
+
},
|
|
52
78
|
{
|
|
53
79
|
"name": "variant",
|
|
54
80
|
"type": "\"do\" | \"dont\" | \"info\" | \"warn\"",
|
|
@@ -67,7 +93,7 @@
|
|
|
67
93
|
"mutable": false,
|
|
68
94
|
"attr": "variant",
|
|
69
95
|
"reflectToAttr": false,
|
|
70
|
-
"docs": "Specifies the
|
|
96
|
+
"docs": "Specifies the guidance category of the content, which drives colors, header label and icon",
|
|
71
97
|
"docsTags": [
|
|
72
98
|
{
|
|
73
99
|
"name": "default",
|
|
@@ -20,7 +20,7 @@ mds-text {
|
|
|
20
20
|
:host {
|
|
21
21
|
--mds-usage-border-color: rgb(var(--magma-info-border-strong, var(--border-info-strong, 18 154 196)));
|
|
22
22
|
--mds-usage-header-background: var(--mds-usage-border-color, rgb(var(--magma-info-border-strong, var(--border-info-strong, 18 154 196))));
|
|
23
|
-
--mds-usage-header-color: rgb(var(--magma-text-on-emphasis, var(--
|
|
23
|
+
--mds-usage-header-color: rgb(var(--magma-text-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
24
24
|
--mds-usage-transition-duration: var(--duration-200, 200ms);
|
|
25
25
|
--private-usage-transition-duration: var(--mds-usage-transition-duration);
|
|
26
26
|
|
|
@@ -48,11 +48,11 @@ mds-text {
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
.label {
|
|
51
|
-
color: var(--mds-usage-header-color, rgb(var(--magma-text-on-emphasis, var(--
|
|
51
|
+
color: var(--mds-usage-header-color, rgb(var(--magma-text-on-emphasis, var(--tone-neutral-seed, 255 255 255))));
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
mds-icon {
|
|
55
|
-
fill: var(--mds-usage-header-color, rgb(var(--magma-text-on-emphasis, var(--
|
|
55
|
+
fill: var(--mds-usage-header-color, rgb(var(--magma-text-on-emphasis, var(--tone-neutral-seed, 255 255 255))));
|
|
56
56
|
height: --spacing(400);
|
|
57
57
|
width: --spacing(400);
|
|
58
58
|
}
|
|
@@ -162,17 +162,17 @@ mds-icon {
|
|
|
162
162
|
|
|
163
163
|
:host([variant='do']) {
|
|
164
164
|
--mds-usage-border-color: rgb(var(--magma-success-emphasis, var(--status-success-04, 0 128 57)));
|
|
165
|
-
--mds-usage-header-color: rgb(var(--magma-success-on-emphasis, var(--
|
|
165
|
+
--mds-usage-header-color: rgb(var(--magma-success-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
:host([variant='info']) {
|
|
169
169
|
--mds-usage-border-color: rgb(var(--magma-info-emphasis, var(--status-info-04, 0 119 164)));
|
|
170
|
-
--mds-usage-header-color: rgb(var(--magma-info-on-emphasis, var(--
|
|
170
|
+
--mds-usage-header-color: rgb(var(--magma-info-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
:host([variant='dont']) {
|
|
174
174
|
--mds-usage-border-color: rgb(var(--magma-danger-emphasis, var(--status-error-04, 196 64 65)));
|
|
175
|
-
--mds-usage-header-color: rgb(var(--magma-danger-on-emphasis, var(--
|
|
175
|
+
--mds-usage-header-color: rgb(var(--magma-danger-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
:host([variant='warn']) {
|