@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
|
@@ -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,7 +18,7 @@
|
|
|
18
18
|
}
|
|
19
19
|
],
|
|
20
20
|
"usage": {
|
|
21
|
-
"1. Description": "The `<mds-input-switch>` web component is the binary/selectable input control of the Magma Design System. A single tag covers three native primitives - it renders as a toggle switch by default and re-renders as a native `checkbox` or `radio` depending on `type`, wrapping `<input type=\"checkbox|radio\">` with form association, accessibility, and iconography handled natively.\n\n#### Semantic Behavior\n\n- **Type-driven rendering**: `type` selects the visual primitive. `'switch'` (default) renders the sliding toggle; `'checkbox'` and `'radio'` render the corresponding native control.\n- **Form association**: The host participates in a `<form>` natively - the form value is `value` while `checked` and enabled, nothing otherwise, and it follows every change of `checked`, `value` or `disabled`, by the user or by code. A form reset brings back the `checked` state of load, like a native input.\n- **Radio grouping**: When `type=\"radio\"`, checking one instance, by the user or by code, unchecks the other radios with the same `name` in the same form (or, outside a form, in the same document or shadow root), as native radios do, so the group submits one value. A radio without a `name` is a group of its own.\n- **Checked / indeterminate**: `checked` reflects selection; toggling it always clears `indeterminate`. The indeterminate glyph is only meaningful for `checkbox`.\n- **Disabled state**: Blocks interaction and clears the submitted form value while disabled. A disabled `<fieldset>` around the component does the same, as it does a native input.\n- **Keyboard operable**: The control responds to keyboard activation in addition to pointer clicks.\n- **Accessibility**: The control exposes a localized accessible label (\"select\"/\"unselect\") derived from slotted text (it/en/es/el).\n- **Change event**: `mdsInputSwitchChange` fires with `{ name, checked, value }` whenever the user changes the selection; setting `checked` from code does not emit it.\n- **Default slot**: The default slot is the visible text label rendered beside the control; when empty, the label region collapses.\n\n#### Properties & Visual Configurations\n\n- **`type`** is the primary configuration: pick `'switch'` for on/off settings, `'checkbox'` for multi-select selections, `'radio'` for mutually exclusive choices within a `name` group.\n- **`explicit`** applies only to `type=\"switch\"`: it surfaces a check/remove glyph inside the toggle knob so the on/off state is readable without relying on color alone.\n- **`size`** (`'sm'` / `'md'` / `'lg'`) scales the toggle and is honored only when `type=\"switch\"`.\n- **`icon`** overrides the default checked glyph (checkbox/radio variants); leave empty to use the type's built-in icon set.\n\n#### Other behavioral props\n\n- **`typography`** and **`variant`** style the slotted text label; they map to the shared typography ladders rather than the system tone/variant ladder defined in [`agents/variants.md`](../../../../agents/variants.md).\n",
|
|
21
|
+
"1. Description": "The `<mds-input-switch>` web component is the binary/selectable input control of the Magma Design System. A single tag covers three native primitives - it renders as a toggle switch by default and re-renders as a native `checkbox` or `radio` depending on `type`, wrapping `<input type=\"checkbox|radio\">` with form association, accessibility, and iconography handled natively.\n\n#### Semantic Behavior\n\n- **Type-driven rendering**: `type` selects the visual primitive. `'switch'` (default) renders the sliding toggle, whose knob slides only when `checked` changes (by the user or by code) and is already in place on load or when shown again after being hidden; `'checkbox'` and `'radio'` render the corresponding native control.\n- **Form association**: The host participates in a `<form>` natively - the form value is `value` while `checked` and enabled, nothing otherwise, and it follows every change of `checked`, `value` or `disabled`, by the user or by code. A form reset brings back the `checked` state of load, like a native input.\n- **Radio grouping**: When `type=\"radio\"`, checking one instance, by the user or by code, unchecks the other radios with the same `name` in the same form (or, outside a form, in the same document or shadow root), as native radios do, so the group submits one value. A radio without a `name` is a group of its own.\n- **Checked / indeterminate**: `checked` reflects selection; toggling it always clears `indeterminate`. The indeterminate glyph is only meaningful for `checkbox`.\n- **Disabled state**: Blocks interaction and clears the submitted form value while disabled. A disabled `<fieldset>` around the component does the same, as it does a native input.\n- **Keyboard operable**: The control responds to keyboard activation in addition to pointer clicks.\n- **Accessibility**: The control exposes a localized accessible label (\"select\"/\"unselect\") derived from slotted text (it/en/es/el).\n- **Change event**: `mdsInputSwitchChange` fires with `{ name, checked, value }` whenever the user changes the selection; setting `checked` from code does not emit it.\n- **Default slot**: The default slot is the visible text label rendered beside the control; when empty, the label region collapses.\n\n#### Properties & Visual Configurations\n\n- **`type`** is the primary configuration: pick `'switch'` for on/off settings, `'checkbox'` for multi-select selections, `'radio'` for mutually exclusive choices within a `name` group.\n- **`explicit`** applies only to `type=\"switch\"`: it surfaces a check/remove glyph inside the toggle knob so the on/off state is readable without relying on color alone.\n- **`size`** (`'sm'` / `'md'` / `'lg'`) scales the toggle and is honored only when `type=\"switch\"`.\n- **`icon`** overrides the default checked glyph (checkbox/radio variants); leave empty to use the type's built-in icon set.\n\n#### Other behavioral props\n\n- **`typography`** and **`variant`** style the slotted text label; they map to the shared typography ladders rather than the system tone/variant ladder defined in [`agents/variants.md`](../../../../agents/variants.md).\n",
|
|
22
22
|
"2. Pattern": "Correct and idiomatic ways to use the `<mds-input-switch>` 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#### Toggle Switch with a Text Label\n\nThe canonical form. Slot a plain text string as the visible label. The component collapses the label region automatically when the slot is empty.\n\n```html\n<mds-input-switch name=\"notifiche\" value=\"1\">Notifiche via e-mail</mds-input-switch>\n```\n\n#### Pre-selected and Disabled States\n\nUse `checked` to pre-select the control on load. Use `disabled` to block interaction. Both are boolean attributes - remove them to turn them off; never write `checked=\"false\"` or `disabled=\"false\"`.\n\n```html\n<!-- Pre-selected -->\n<mds-input-switch name=\"newsletter\" value=\"1\" checked>Iscrizione alla newsletter</mds-input-switch>\n\n<!-- Disabled and unchecked -->\n<mds-input-switch name=\"sms\" value=\"1\" disabled>Notifiche via SMS (non disponibili)</mds-input-switch>\n\n<!-- Disabled and checked -->\n<mds-input-switch name=\"email\" value=\"1\" checked disabled>Notifiche via e-mail (obbligatorio)</mds-input-switch>\n```\n\n#### Explicit Icon Mode\n\nAdd `explicit` to surface a check/remove glyph inside the toggle knob. This makes the on/off state readable without relying on color alone, which is required in high-contrast contexts. Only effective when `type=\"switch\"`.\n\n```html\n<mds-input-switch name=\"modalita\" value=\"1\" explicit>Modalita scura</mds-input-switch>\n<mds-input-switch name=\"animazioni\" value=\"1\" explicit checked>Animazioni ridotte</mds-input-switch>\n```\n\n#### Sizing the Toggle\n\nUse the `size` prop to scale the switch knob. Sizing only applies to `type=\"switch\"`.\n\n```html\n<mds-input-switch name=\"sm\" value=\"1\" size=\"sm\">Piccolo</mds-input-switch>\n<mds-input-switch name=\"md\" value=\"1\" size=\"md\">Medio (predefinito)</mds-input-switch>\n<mds-input-switch name=\"lg\" value=\"1\" size=\"lg\">Grande</mds-input-switch>\n```\n\n#### Checkbox Type\n\nSet `type=\"checkbox\"` for multi-select use cases. The component renders the standard checkbox glyph set; `indeterminate` shows the partial-selection glyph, which is meaningful only for this type.\n\n```html\n<!-- Basic checkboxes -->\n<mds-input-switch type=\"checkbox\" name=\"opt\" value=\"a\">Opzione A</mds-input-switch>\n<mds-input-switch type=\"checkbox\" name=\"opt\" value=\"b\" checked>Opzione B</mds-input-switch>\n\n<!-- Indeterminate (parent of a mixed selection) -->\n<mds-input-switch type=\"checkbox\" name=\"tutti\" value=\"all\" indeterminate>Seleziona tutto</mds-input-switch>\n```\n\n#### Radio Group\n\nSet `type=\"radio\"` and share the same `name` across instances. Checking one automatically unchecks the others with the same name in the same form, and the form submits the value of the checked one.\n\n```html\n<mds-input-switch type=\"radio\" name=\"piano\" value=\"base\">Piano base</mds-input-switch>\n<mds-input-switch type=\"radio\" name=\"piano\" value=\"pro\" checked>Piano Pro</mds-input-switch>\n<mds-input-switch type=\"radio\" name=\"piano\" value=\"enterprise\">Piano Enterprise</mds-input-switch>\n```\n\n#### Form Participation\n\n`<mds-input-switch>` is form-associated. The form receives `value` when `checked`; if unchecked, no value is submitted. A form reset brings back the `checked` state each switch had at load.\n\n```html\n<form action=\"/preferenze\" method=\"post\">\n <mds-input-switch name=\"notifiche\" value=\"attivo\" checked>Notifiche push</mds-input-switch>\n <mds-input-switch name=\"newsletter\" value=\"attivo\">Newsletter settimanale</mds-input-switch>\n <mds-button type=\"submit\" label=\"Salva preferenze\" variant=\"primary\" tone=\"strong\"></mds-button>\n</form>\n```\n\n#### Listening to Changes\n\nListen for the `mdsInputSwitchChange` event - it carries `{ name, checked, value }` in `event.detail`. Do not listen for the native `change` event; it does not bubble out of Shadow DOM reliably.\n\n```html\n<mds-input-switch id=\"toggle\" name=\"tema\" value=\"scuro\">Tema scuro</mds-input-switch>\n\n<script>\n document.querySelector('#toggle').addEventListener('mdsInputSwitchChange', (e) => {\n console.log(e.detail.name, e.detail.checked, e.detail.value);\n });\n</script>\n```\n\n#### Custom Checked Icon (Checkbox / Radio)\n\nSet `icon` to any slug from the Magma icon library to override the default checked glyph for `type=\"checkbox\"` or `type=\"radio\"`. Leave `icon` empty to use the built-in glyph.\n\n```html\n<mds-input-switch type=\"checkbox\" name=\"preferito\" value=\"1\" icon=\"mi/baseline/star\" checked>\n Segna come preferito\n</mds-input-switch>\n```\n\n#### Typography Customization of the Label\n\n`typography` and `variant` style the slotted text label and map to the shared typography ladder - not the tone/variant system.\n\n```html\n<mds-input-switch name=\"opzione\" value=\"1\" typography=\"caption\">Testo piccolo</mds-input-switch>\n<mds-input-switch name=\"lettura\" value=\"1\" typography=\"paragraph\" variant=\"read\">Testo di lettura</mds-input-switch>\n```\n\n#### CSS Custom Property Customization\n\nStyle the switch only through the documented `--mds-input-switch-*` CSS custom properties. Use the semantic color roles via `rgb(var(--magma-<role>))` ([`agents/color.md`](../../../../agents/color.md)) so dark mode and high-contrast modes keep working.\n\n```css\n.settings-panel mds-input-switch {\n --mds-input-switch-box-color-enabled-checked: rgb(var(--magma-success-emphasis));\n --mds-input-switch-toggle-color-enabled-checked: rgb(var(--magma-success-on-emphasis));\n --mds-input-switch-duration: 200ms;\n --mds-input-switch-toggle-size: var(--mds-input-switch-toggle-size-lg);\n}\n```\n",
|
|
23
23
|
"3. Antipattern": "Common incorrect uses of `<mds-input-switch>`. 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 Set Boolean Props to the String \"false\"\n\n`checked`, `disabled`, `explicit`, and `indeterminate` are boolean attributes. Stencil reads `\"false\"` as `false` and, since all four are reflected, removes the attribute at the first render, so this happens to work; but the markup says the opposite of what it does, and on a prop that is not reflected the attribute stays in the DOM, where `[attr]` selectors still match it. Remove the attribute entirely to turn it off.\n\n```html\n<!-- INCORRECT -->\n<mds-input-switch checked=\"false\" disabled=\"false\">Notifiche</mds-input-switch>\n\n<!-- CORRECT -->\n<mds-input-switch>Notifiche</mds-input-switch>\n```\n\n#### Do Not Use a Native `<input>` Instead of `<mds-input-switch>`\n\nReplacing the component with a raw `<input type=\"checkbox\">` or `<input type=\"radio\">` bypasses the design system's theming, accessibility defaults, label layout, and form integration.\n\n```html\n<!-- INCORRECT -->\n<label>\n <input type=\"checkbox\" name=\"notifiche\" value=\"1\"> Notifiche via e-mail\n</label>\n\n<!-- CORRECT -->\n<mds-input-switch name=\"notifiche\" value=\"1\">Notifiche via e-mail</mds-input-switch>\n```\n\n#### Do Not Use `explicit` or `size` with `type=\"checkbox\"` or `type=\"radio\"`\n\n`explicit` surfaces a glyph inside the switch knob and `size` scales the knob - both are only honored when `type=\"switch\"`. They are silently ignored on other types.\n\n```html\n<!-- INCORRECT -->\n<mds-input-switch type=\"checkbox\" name=\"opt\" value=\"1\" explicit size=\"lg\">Opzione</mds-input-switch>\n\n<!-- CORRECT -->\n<mds-input-switch type=\"checkbox\" name=\"opt\" value=\"1\">Opzione</mds-input-switch>\n\n<!-- correct use of explicit and size: only with type=\"switch\" -->\n<mds-input-switch type=\"switch\" name=\"opt\" value=\"1\" explicit size=\"lg\">Opzione</mds-input-switch>\n```\n\n#### Do Not Listen for Native `change` Instead of `mdsInputSwitchChange`\n\nThe component stops and prevents the native `change` event internally. Listen for the documented `mdsInputSwitchChange` event, which carries `{ name, checked, value }` in `event.detail`.\n\n```html\n<!-- INCORRECT -->\n<mds-input-switch id=\"toggle\" name=\"tema\" value=\"scuro\">Tema scuro</mds-input-switch>\n<script>\n document.querySelector('#toggle').addEventListener('change', handler);\n</script>\n\n<!-- CORRECT -->\n<mds-input-switch id=\"toggle\" name=\"tema\" value=\"scuro\">Tema scuro</mds-input-switch>\n<script>\n document.querySelector('#toggle').addEventListener('mdsInputSwitchChange', (e) => {\n console.log(e.detail.checked);\n });\n</script>\n```\n\n#### Do Not Use `indeterminate` on `type=\"switch\"` or `type=\"radio\"`\n\nThe indeterminate glyph (`indeterminate-check-box`) is part of the checkbox icon variant only. Setting `indeterminate` on a switch has no visual effect, on a radio it blanks the radio glyph, and on both it misleads consumers about the control state.\n\n```html\n<!-- INCORRECT -->\n<mds-input-switch type=\"switch\" name=\"opt\" value=\"1\" indeterminate>Tutti i permessi</mds-input-switch>\n\n<!-- CORRECT -->\n<mds-input-switch type=\"checkbox\" name=\"tutti\" value=\"all\" indeterminate>Seleziona tutto</mds-input-switch>\n```\n\n#### Do Not Omit `name` in a Radio Group\n\nWithout a shared `name`, the radios do not form a group: as with native radios, each nameless radio is a group of its own, so several can be checked at once, and none of them is submitted with the form.\n\n```html\n<!-- INCORRECT -->\n<mds-input-switch type=\"radio\" value=\"a\" checked>Opzione A</mds-input-switch>\n<mds-input-switch type=\"radio\" value=\"b\">Opzione B</mds-input-switch>\n\n<!-- CORRECT -->\n<mds-input-switch type=\"radio\" name=\"scelta\" value=\"a\" checked>Opzione A</mds-input-switch>\n<mds-input-switch type=\"radio\" name=\"scelta\" value=\"b\">Opzione B</mds-input-switch>\n```\n\n#### Do Not Customize with Undocumented CSS Parts or Internal Selectors\n\nThe only supported customization surface is the documented `--mds-input-switch-*` CSS custom properties. Targeting shadow internals via `::part()` on undocumented parts or via `>>>` will break on minor releases.\n\n```css\n/* INCORRECT */\nmds-input-switch >>> .switch {\n border-radius: 4px;\n}\nmds-input-switch::part(toggle) {\n box-shadow: none;\n}\n\n/* CORRECT */\nmds-input-switch {\n --mds-input-switch-box-color-enabled-checked: rgb(var(--magma-success-emphasis));\n --mds-input-switch-duration: 150ms;\n}\n```\n"
|
|
24
24
|
},
|
|
@@ -58,26 +58,26 @@ mds-text {
|
|
|
58
58
|
:host {
|
|
59
59
|
--mds-input-switch-animation-timing-adjust: 1.4;
|
|
60
60
|
--mds-input-switch-animation-timing-function: var(--ease-in-out-quad, cubic-bezier(0.455, 0.03, 0.515, 0.955));
|
|
61
|
-
--mds-input-switch-box-color-enabled-checked: rgb(var(--magma-accent-emphasis, var(--
|
|
62
|
-
--mds-input-switch-box-color-enabled-unchecked: rgb(var(--magma-border-strong, var(--
|
|
63
|
-
--mds-input-switch-box-color-disabled-checked: rgb(var(--magma-wash-strong, var(--
|
|
64
|
-
--mds-input-switch-box-color-disabled-unchecked: rgb(var(--magma-wash-strong, var(--
|
|
61
|
+
--mds-input-switch-box-color-enabled-checked: rgb(var(--magma-accent-emphasis, var(--variant-primary-04, 36 103 231)));
|
|
62
|
+
--mds-input-switch-box-color-enabled-unchecked: rgb(var(--magma-border-strong, var(--border-neutral-strong, 140 140 140)));
|
|
63
|
+
--mds-input-switch-box-color-disabled-checked: rgb(var(--magma-wash-strong, var(--tone-neutral-08, 208 208 208)));
|
|
64
|
+
--mds-input-switch-box-color-disabled-unchecked: rgb(var(--magma-wash-strong, var(--tone-neutral-08, 208 208 208)));
|
|
65
65
|
--mds-input-switch-box-padding-lg: --spacing(100);
|
|
66
66
|
--mds-input-switch-box-padding-md: --spacing(100);
|
|
67
67
|
--mds-input-switch-box-padding-sm: --spacing(100);
|
|
68
68
|
--mds-input-switch-box-padding: var(--mds-input-switch-box-padding-md, --spacing(100));
|
|
69
69
|
--mds-input-switch-duration: 300ms;
|
|
70
|
-
--mds-input-switch-icon-color-checked-disabled: rgb(var(--magma-text-disabled, var(--
|
|
71
|
-
--mds-input-switch-icon-color-checked: rgb(var(--magma-accent-emphasis, var(--
|
|
72
|
-
--mds-input-switch-icon-color-indeterminate-disabled: rgb(var(--magma-text-disabled, var(--
|
|
73
|
-
--mds-input-switch-icon-color-indeterminate: rgb(var(--magma-text-disabled, var(--
|
|
74
|
-
--mds-input-switch-icon-color-unchecked-disabled: rgb(var(--magma-text-disabled, var(--
|
|
75
|
-
--mds-input-switch-icon-color-unchecked: rgb(var(--magma-text-subtle, var(--
|
|
76
|
-
--mds-input-switch-icon-explicit-color: var(--mds-input-switch-icon-color-checked, rgb(var(--magma-accent-emphasis, var(--
|
|
77
|
-
--mds-input-switch-toggle-color-enabled-checked: rgb(var(--magma-text-on-emphasis, var(--
|
|
78
|
-
--mds-input-switch-toggle-color-enabled-unchecked: rgb(var(--magma-wash-soft, var(--
|
|
79
|
-
--mds-input-switch-toggle-color-disabled-checked: rgb(var(--magma-text-on-emphasis, var(--
|
|
80
|
-
--mds-input-switch-toggle-color-disabled-unchecked: rgb(var(--magma-text-on-emphasis, var(--
|
|
70
|
+
--mds-input-switch-icon-color-checked-disabled: rgb(var(--magma-text-disabled, var(--text-neutral-disabled, 119 119 119)));
|
|
71
|
+
--mds-input-switch-icon-color-checked: rgb(var(--magma-accent-emphasis, var(--variant-primary-04, 36 103 231)));
|
|
72
|
+
--mds-input-switch-icon-color-indeterminate-disabled: rgb(var(--magma-text-disabled, var(--text-neutral-disabled, 119 119 119)));
|
|
73
|
+
--mds-input-switch-icon-color-indeterminate: rgb(var(--magma-text-disabled, var(--text-neutral-disabled, 119 119 119)));
|
|
74
|
+
--mds-input-switch-icon-color-unchecked-disabled: rgb(var(--magma-text-disabled, var(--text-neutral-disabled, 119 119 119)));
|
|
75
|
+
--mds-input-switch-icon-color-unchecked: rgb(var(--magma-text-subtle, var(--text-neutral-subtle, 99 99 99)));
|
|
76
|
+
--mds-input-switch-icon-explicit-color: var(--mds-input-switch-icon-color-checked, rgb(var(--magma-accent-emphasis, var(--variant-primary-04, 36 103 231))));
|
|
77
|
+
--mds-input-switch-toggle-color-enabled-checked: rgb(var(--magma-text-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
78
|
+
--mds-input-switch-toggle-color-enabled-unchecked: rgb(var(--magma-wash-soft, var(--tone-neutral-10, 237 237 237)));
|
|
79
|
+
--mds-input-switch-toggle-color-disabled-checked: rgb(var(--magma-text-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
80
|
+
--mds-input-switch-toggle-color-disabled-unchecked: rgb(var(--magma-text-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
81
81
|
--mds-input-switch-toggle-container-size: calc(
|
|
82
82
|
calc(var(--mds-input-switch-toggle-size-md, --spacing(600)) * 2) +
|
|
83
83
|
calc(var(--mds-input-switch-box-padding-md, --spacing(100)) * 2)
|
|
@@ -134,7 +134,7 @@ mds-text {
|
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
.icon-explicit {
|
|
137
|
-
fill: var(--mds-input-switch-icon-explicit-color, rgb(var(--magma-accent-emphasis, var(--
|
|
137
|
+
fill: var(--mds-input-switch-icon-explicit-color, rgb(var(--magma-accent-emphasis, var(--variant-primary-04, 36 103 231))));
|
|
138
138
|
height: var(--mds-input-switch-toggle-size, --spacing(600));
|
|
139
139
|
width: var(--mds-input-switch-toggle-size, --spacing(600));
|
|
140
140
|
}
|
|
@@ -168,7 +168,7 @@ mds-text {
|
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
.switch {
|
|
171
|
-
background-color: var(--mds-input-switch-box-color-enabled-unchecked, rgb(var(--magma-border-strong, var(--
|
|
171
|
+
background-color: var(--mds-input-switch-box-color-enabled-unchecked, rgb(var(--magma-border-strong, var(--border-neutral-strong, 140 140 140))));
|
|
172
172
|
border-radius: var(--radius-full, 1000px);
|
|
173
173
|
box-sizing: border-box;
|
|
174
174
|
cursor: pointer;
|
|
@@ -184,15 +184,18 @@ mds-text {
|
|
|
184
184
|
width: var(--mds-input-switch-toggle-container-size, calc( calc(--spacing(600) * 2) + calc(--spacing(100) * 2) ));
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
+
/* The knob starts in the unchecked colour: it used to take the checked one until the first
|
|
188
|
+
change, because only the rule of a toggled switch (there to keep the uncheck animation from
|
|
189
|
+
running on load) painted it unchecked. In light the two are near (white and wash-soft); in
|
|
190
|
+
dark a switch that was never touched showed the knob of a checked one. */
|
|
191
|
+
|
|
187
192
|
.switch-toggle {
|
|
188
193
|
align-items: center;
|
|
189
194
|
animation-duration: calc(var(--mds-input-switch-duration, 300ms) * 1.5);
|
|
190
195
|
animation-fill-mode: forwards;
|
|
191
196
|
animation-iteration-count: 1;
|
|
192
|
-
animation-name: none;
|
|
193
|
-
animation-play-state: paused;
|
|
194
197
|
animation-timing-function: var(--mds-input-switch-animation-timing-function);
|
|
195
|
-
background-color: var(--mds-input-switch-toggle-color-enabled-
|
|
198
|
+
background-color: var(--mds-input-switch-toggle-color-enabled-unchecked, rgb(var(--magma-wash-soft, var(--tone-neutral-10, 237 237 237))));
|
|
196
199
|
border-radius: var(--radius-full, 1000px);
|
|
197
200
|
box-shadow: var(--shadow);
|
|
198
201
|
display: flex;
|
|
@@ -201,41 +204,47 @@ mds-text {
|
|
|
201
204
|
transition-duration: var(--duration-200, 200ms);
|
|
202
205
|
transition-property:
|
|
203
206
|
background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding,
|
|
204
|
-
|
|
207
|
+
width;
|
|
205
208
|
transition-timing-function: var(--ease-linear);
|
|
206
209
|
width: var(--mds-input-switch-toggle-size, --spacing(600));
|
|
207
210
|
}
|
|
208
211
|
|
|
209
212
|
.field:checked + .switch-container .switch {
|
|
210
|
-
background-color: var(--mds-input-switch-box-color-enabled-checked, rgb(var(--magma-accent-emphasis, var(--
|
|
213
|
+
background-color: var(--mds-input-switch-box-color-enabled-checked, rgb(var(--magma-accent-emphasis, var(--variant-primary-04, 36 103 231))));
|
|
211
214
|
}
|
|
212
215
|
|
|
213
216
|
.field:checked + .switch-container .switch-toggle {
|
|
217
|
+
background-color: var(--mds-input-switch-toggle-color-enabled-checked, rgb(var(--magma-text-on-emphasis, var(--tone-neutral-seed, 255 255 255))));
|
|
218
|
+
transform: translateX(100%);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/* The knob rests in the place of its state, and slides there only on a change of checked. Its
|
|
222
|
+
place used to be the last frame of the slide, which ran again every time the switch appeared,
|
|
223
|
+
on load and when shown again after being hidden (#924). The transitions above leave out
|
|
224
|
+
transform: a transition outranks an animation, and would cut the slide short. */
|
|
225
|
+
|
|
226
|
+
.field:checked + .switch-container--sliding .switch-toggle {
|
|
214
227
|
animation-name: check;
|
|
215
|
-
animation-play-state: initial;
|
|
216
|
-
background-color: var(--mds-input-switch-toggle-color-enabled-checked, rgb(var(--magma-text-on-emphasis, var(--magma-tint-text-on-emphasis, var(--tone-neutral-seed, 255 255 255)))));
|
|
217
228
|
}
|
|
218
229
|
|
|
219
|
-
.field:not(:checked) + .
|
|
230
|
+
.field:not(:checked) + .switch-container--sliding .switch-toggle {
|
|
220
231
|
animation-name: uncheck;
|
|
221
|
-
animation-play-state: initial;
|
|
222
|
-
background-color: var(--mds-input-switch-toggle-color-enabled-unchecked, rgb(var(--magma-wash-soft, var(--magma-tint-scale-10, var(--tone-neutral-10, 237 237 237)))));
|
|
223
232
|
}
|
|
224
233
|
|
|
225
234
|
.field:disabled + .switch-container .switch {
|
|
226
|
-
background-color: var(--mds-input-switch-box-color-disabled-unchecked, rgb(var(--magma-wash-strong, var(--
|
|
235
|
+
background-color: var(--mds-input-switch-box-color-disabled-unchecked, rgb(var(--magma-wash-strong, var(--tone-neutral-08, 208 208 208))));
|
|
227
236
|
}
|
|
228
237
|
|
|
229
238
|
.field:checked:disabled + .switch-container .switch {
|
|
230
|
-
background-color: var(--mds-input-switch-box-color-disabled-checked, rgb(var(--magma-wash-strong, var(--
|
|
239
|
+
background-color: var(--mds-input-switch-box-color-disabled-checked, rgb(var(--magma-wash-strong, var(--tone-neutral-08, 208 208 208))));
|
|
231
240
|
}
|
|
232
241
|
|
|
233
242
|
.field:disabled + .switch-container .switch-toggle {
|
|
234
|
-
background-color: var(--mds-input-switch-toggle-color-disabled-unchecked, rgb(var(--magma-text-on-emphasis, var(--
|
|
243
|
+
background-color: var(--mds-input-switch-toggle-color-disabled-unchecked, rgb(var(--magma-text-on-emphasis, var(--tone-neutral-seed, 255 255 255))));
|
|
235
244
|
}
|
|
236
245
|
|
|
237
246
|
.field:checked:disabled + .switch-container .switch-toggle {
|
|
238
|
-
background-color: var(--mds-input-switch-toggle-color-disabled-checked, rgb(var(--magma-text-on-emphasis, var(--
|
|
247
|
+
background-color: var(--mds-input-switch-toggle-color-disabled-checked, rgb(var(--magma-text-on-emphasis, var(--tone-neutral-seed, 255 255 255))));
|
|
239
248
|
}
|
|
240
249
|
|
|
241
250
|
@keyframes check {
|
|
@@ -293,14 +302,14 @@ mds-text {
|
|
|
293
302
|
}
|
|
294
303
|
|
|
295
304
|
.icon-unchecked {
|
|
296
|
-
fill: var(--mds-input-switch-icon-color-unchecked, rgb(var(--magma-text-subtle, var(--
|
|
305
|
+
fill: var(--mds-input-switch-icon-color-unchecked, rgb(var(--magma-text-subtle, var(--text-neutral-subtle, 99 99 99))));
|
|
297
306
|
opacity: 1;
|
|
298
307
|
transform: scale(1);
|
|
299
308
|
transition-duration: var(--mds-input-switch-duration, 300ms);
|
|
300
309
|
}
|
|
301
310
|
|
|
302
311
|
.icon-checked {
|
|
303
|
-
fill: var(--mds-input-switch-icon-color-checked, rgb(var(--magma-accent-emphasis, var(--
|
|
312
|
+
fill: var(--mds-input-switch-icon-color-checked, rgb(var(--magma-accent-emphasis, var(--variant-primary-04, 36 103 231))));
|
|
304
313
|
transform: scale(0);
|
|
305
314
|
transition-duration: var(--mds-input-switch-duration, 300ms);
|
|
306
315
|
}
|
|
@@ -325,36 +334,36 @@ mds-text {
|
|
|
325
334
|
}
|
|
326
335
|
|
|
327
336
|
.field:disabled + .label-icon .icon-unchecked {
|
|
328
|
-
fill: var(--mds-input-switch-icon-color-unchecked-disabled, rgb(var(--magma-text-disabled, var(--
|
|
337
|
+
fill: var(--mds-input-switch-icon-color-unchecked-disabled, rgb(var(--magma-text-disabled, var(--text-neutral-disabled, 119 119 119))));
|
|
329
338
|
}
|
|
330
339
|
|
|
331
340
|
.field:disabled + .label-icon .icon-checked {
|
|
332
|
-
fill: var(--mds-input-switch-icon-color-checked-disabled, rgb(var(--magma-text-disabled, var(--
|
|
341
|
+
fill: var(--mds-input-switch-icon-color-checked-disabled, rgb(var(--magma-text-disabled, var(--text-neutral-disabled, 119 119 119))));
|
|
333
342
|
}
|
|
334
343
|
|
|
335
344
|
.field:disabled:indeterminate + .label-icon .icon-checked {
|
|
336
|
-
fill: var(--mds-input-switch-icon-color-indeterminate-disabled, rgb(var(--magma-text-disabled, var(--
|
|
345
|
+
fill: var(--mds-input-switch-icon-color-indeterminate-disabled, rgb(var(--magma-text-disabled, var(--text-neutral-disabled, 119 119 119))));
|
|
337
346
|
}
|
|
338
347
|
|
|
339
348
|
.field:indeterminate + .label-icon .icon-checked {
|
|
340
|
-
fill: var(--mds-input-switch-icon-color-indeterminate, rgb(var(--magma-text-disabled, var(--
|
|
349
|
+
fill: var(--mds-input-switch-icon-color-indeterminate, rgb(var(--magma-text-disabled, var(--text-neutral-disabled, 119 119 119))));
|
|
341
350
|
transform: scale(1);
|
|
342
351
|
}
|
|
343
352
|
|
|
344
353
|
:host([explicit]:not([disabled]):not([checked])) {
|
|
345
|
-
--mds-input-switch-icon-explicit-color: var(--mds-input-switch-icon-color-unchecked, rgb(var(--magma-text-subtle, var(--
|
|
354
|
+
--mds-input-switch-icon-explicit-color: var(--mds-input-switch-icon-color-unchecked, rgb(var(--magma-text-subtle, var(--text-neutral-subtle, 99 99 99))));
|
|
346
355
|
}
|
|
347
356
|
|
|
348
357
|
:host([explicit][checked]:not([disabled])) {
|
|
349
|
-
--mds-input-switch-icon-explicit-color: var(--mds-input-switch-icon-color-checked, rgb(var(--magma-accent-emphasis, var(--
|
|
358
|
+
--mds-input-switch-icon-explicit-color: var(--mds-input-switch-icon-color-checked, rgb(var(--magma-accent-emphasis, var(--variant-primary-04, 36 103 231))));
|
|
350
359
|
}
|
|
351
360
|
|
|
352
361
|
:host([explicit][checked][disabled]) {
|
|
353
|
-
--mds-input-switch-icon-explicit-color: var(--mds-input-switch-icon-color-checked-disabled, rgb(var(--magma-text-disabled, var(--
|
|
362
|
+
--mds-input-switch-icon-explicit-color: var(--mds-input-switch-icon-color-checked-disabled, rgb(var(--magma-text-disabled, var(--text-neutral-disabled, 119 119 119))));
|
|
354
363
|
}
|
|
355
364
|
|
|
356
365
|
:host([explicit][disabled]:not([checked])) {
|
|
357
|
-
--mds-input-switch-icon-explicit-color: var(--mds-input-switch-icon-color-unchecked-disabled, rgb(var(--magma-text-disabled, var(--
|
|
366
|
+
--mds-input-switch-icon-explicit-color: var(--mds-input-switch-icon-color-unchecked-disabled, rgb(var(--magma-text-disabled, var(--text-neutral-disabled, 119 119 119))));
|
|
358
367
|
}
|
|
359
368
|
|
|
360
369
|
/* Theme preference. The component reflects the resolved theme mode and scheme
|
|
@@ -364,37 +373,49 @@ mds-text {
|
|
|
364
373
|
* OS via @media; the scheme axis gates it. Cross-browser, no :host-context.
|
|
365
374
|
*
|
|
366
375
|
* Unchecked in dark: border-strong (#ababab) made the off track almost as loud as
|
|
367
|
-
* the on one, so it drops to border-default
|
|
368
|
-
*
|
|
376
|
+
* the on one, so it drops to border-default. The knob on it is light, as in light mode:
|
|
377
|
+
* text-default, 4.90:1 on the track. It used to take the fill ink, which in dark is the
|
|
378
|
+
* page colour: 3.35:1, but a dark dot on a grey track reads as a hole, not as a handle.
|
|
379
|
+
* Checked, the knob stays the fill ink: the track is accent-emphasis, a light blue in
|
|
380
|
+
* dark, where the dark knob gets 10.19:1 and a light one would get 1.61:1, so the knob
|
|
381
|
+
* changes colour with the state, as in Material 3. Disabled, the unchecked knob is
|
|
382
|
+
* text-disabled: still light, 3.06:1 on wash-strong, below the enabled one.
|
|
383
|
+
* On the light off knob, the glyph of `explicit` takes the colour of the track, as if cut
|
|
384
|
+
* out of the knob: border-default at 4.90:1, wash-strong at 3.06:1 when disabled. The text
|
|
385
|
+
* roles it used are light in dark (text-subtle 1.46:1, text-disabled on itself 1:1). */
|
|
369
386
|
|
|
370
387
|
:host([pref-mode='dark']:not([pref-theme-scheme='light'])) {
|
|
371
|
-
--mds-input-switch-box-color-enabled-checked: rgb(var(--magma-accent-emphasis, var(--
|
|
372
|
-
--mds-input-switch-box-color-enabled-unchecked: rgb(var(--magma-border-default, var(--
|
|
373
|
-
--mds-input-switch-box-color-disabled-checked: rgb(var(--magma-wash-strong, var(--
|
|
374
|
-
--mds-input-switch-box-color-disabled-unchecked: rgb(var(--magma-wash-strong, var(--
|
|
375
|
-
--mds-input-switch-toggle-color-enabled-checked: rgb(var(--magma-text-on-emphasis, var(--
|
|
376
|
-
--mds-input-switch-toggle-color-enabled-unchecked: rgb(var(--magma-text-
|
|
377
|
-
--mds-input-switch-toggle-color-disabled-checked: rgb(var(--magma-text-on-emphasis, var(--
|
|
378
|
-
--mds-input-switch-toggle-color-disabled-unchecked: rgb(var(--magma-text-
|
|
379
|
-
--mds-input-switch-icon-color-checked: rgb(var(--magma-accent-border, var(--
|
|
380
|
-
--mds-input-switch-icon-color-
|
|
381
|
-
--mds-input-switch-icon-color-
|
|
388
|
+
--mds-input-switch-box-color-enabled-checked: rgb(var(--magma-accent-emphasis, var(--variant-primary-04, 36 103 231)));
|
|
389
|
+
--mds-input-switch-box-color-enabled-unchecked: rgb(var(--magma-border-default, var(--border-neutral-default, 196 196 196)));
|
|
390
|
+
--mds-input-switch-box-color-disabled-checked: rgb(var(--magma-wash-strong, var(--tone-neutral-08, 208 208 208)));
|
|
391
|
+
--mds-input-switch-box-color-disabled-unchecked: rgb(var(--magma-wash-strong, var(--tone-neutral-08, 208 208 208)));
|
|
392
|
+
--mds-input-switch-toggle-color-enabled-checked: rgb(var(--magma-text-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
393
|
+
--mds-input-switch-toggle-color-enabled-unchecked: rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)));
|
|
394
|
+
--mds-input-switch-toggle-color-disabled-checked: rgb(var(--magma-text-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
395
|
+
--mds-input-switch-toggle-color-disabled-unchecked: rgb(var(--magma-text-disabled, var(--text-neutral-disabled, 119 119 119)));
|
|
396
|
+
--mds-input-switch-icon-color-checked: rgb(var(--magma-accent-border, var(--variant-primary-06, 148 172 218)));
|
|
397
|
+
--mds-input-switch-icon-color-unchecked: rgb(var(--magma-border-default, var(--border-neutral-default, 196 196 196)));
|
|
398
|
+
--mds-input-switch-icon-color-unchecked-disabled: rgb(var(--magma-wash-strong, var(--tone-neutral-08, 208 208 208)));
|
|
399
|
+
--mds-input-switch-icon-color-indeterminate-disabled: rgb(var(--magma-text-disabled, var(--text-neutral-disabled, 119 119 119)));
|
|
400
|
+
--mds-input-switch-icon-color-indeterminate: rgb(var(--magma-text-disabled, var(--text-neutral-disabled, 119 119 119)));
|
|
382
401
|
}
|
|
383
402
|
|
|
384
403
|
@media (prefers-color-scheme: dark) {
|
|
385
404
|
:host([pref-mode='system']:not([pref-theme-scheme='light'])),
|
|
386
405
|
:host(:not([pref-mode])) {
|
|
387
|
-
--mds-input-switch-box-color-enabled-checked: rgb(var(--magma-accent-emphasis, var(--
|
|
388
|
-
--mds-input-switch-box-color-enabled-unchecked: rgb(var(--magma-border-default, var(--
|
|
389
|
-
--mds-input-switch-box-color-disabled-checked: rgb(var(--magma-wash-strong, var(--
|
|
390
|
-
--mds-input-switch-box-color-disabled-unchecked: rgb(var(--magma-wash-strong, var(--
|
|
391
|
-
--mds-input-switch-toggle-color-enabled-checked: rgb(var(--magma-text-on-emphasis, var(--
|
|
392
|
-
--mds-input-switch-toggle-color-enabled-unchecked: rgb(var(--magma-text-
|
|
393
|
-
--mds-input-switch-toggle-color-disabled-checked: rgb(var(--magma-text-on-emphasis, var(--
|
|
394
|
-
--mds-input-switch-toggle-color-disabled-unchecked: rgb(var(--magma-text-
|
|
395
|
-
--mds-input-switch-icon-color-checked: rgb(var(--magma-accent-border, var(--
|
|
396
|
-
--mds-input-switch-icon-color-
|
|
397
|
-
--mds-input-switch-icon-color-
|
|
406
|
+
--mds-input-switch-box-color-enabled-checked: rgb(var(--magma-accent-emphasis, var(--variant-primary-04, 36 103 231)));
|
|
407
|
+
--mds-input-switch-box-color-enabled-unchecked: rgb(var(--magma-border-default, var(--border-neutral-default, 196 196 196)));
|
|
408
|
+
--mds-input-switch-box-color-disabled-checked: rgb(var(--magma-wash-strong, var(--tone-neutral-08, 208 208 208)));
|
|
409
|
+
--mds-input-switch-box-color-disabled-unchecked: rgb(var(--magma-wash-strong, var(--tone-neutral-08, 208 208 208)));
|
|
410
|
+
--mds-input-switch-toggle-color-enabled-checked: rgb(var(--magma-text-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
411
|
+
--mds-input-switch-toggle-color-enabled-unchecked: rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)));
|
|
412
|
+
--mds-input-switch-toggle-color-disabled-checked: rgb(var(--magma-text-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
413
|
+
--mds-input-switch-toggle-color-disabled-unchecked: rgb(var(--magma-text-disabled, var(--text-neutral-disabled, 119 119 119)));
|
|
414
|
+
--mds-input-switch-icon-color-checked: rgb(var(--magma-accent-border, var(--variant-primary-06, 148 172 218)));
|
|
415
|
+
--mds-input-switch-icon-color-unchecked: rgb(var(--magma-border-default, var(--border-neutral-default, 196 196 196)));
|
|
416
|
+
--mds-input-switch-icon-color-unchecked-disabled: rgb(var(--magma-wash-strong, var(--tone-neutral-08, 208 208 208)));
|
|
417
|
+
--mds-input-switch-icon-color-indeterminate-disabled: rgb(var(--magma-text-disabled, var(--text-neutral-disabled, 119 119 119)));
|
|
418
|
+
--mds-input-switch-icon-color-indeterminate: rgb(var(--magma-text-disabled, var(--text-neutral-disabled, 119 119 119)));
|
|
398
419
|
}
|
|
399
420
|
}
|
|
400
421
|
|
|
@@ -24,7 +24,9 @@ export class MdsInputSwitch {
|
|
|
24
24
|
// the checked state of load, which a form reset brings back as the checked attribute of a
|
|
25
25
|
// native input
|
|
26
26
|
this.loadChecked = false;
|
|
27
|
-
|
|
27
|
+
// the knob slides only on a change of checked: on load, or shown again after being hidden, it
|
|
28
|
+
// is drawn in the place of its state (#924)
|
|
29
|
+
this.knobSliding = false;
|
|
28
30
|
this.hasText = false;
|
|
29
31
|
this.t = new Locale({
|
|
30
32
|
el: localeEl,
|
|
@@ -86,8 +88,17 @@ export class MdsInputSwitch {
|
|
|
86
88
|
this.indeterminate = false;
|
|
87
89
|
this.changeEvent.emit({ name: this.name, checked: this.checked, value });
|
|
88
90
|
};
|
|
89
|
-
|
|
90
|
-
|
|
91
|
+
/**
|
|
92
|
+
* The knob has landed, or its slide was cut short by hiding the switch: either way it rests in
|
|
93
|
+
* the place of its state. A quick second toggle cancels the first slide for the opposite one,
|
|
94
|
+
* which still has to run.
|
|
95
|
+
*/
|
|
96
|
+
this.handleKnobSlideEnd = (event) => {
|
|
97
|
+
if (event.target !== event.currentTarget)
|
|
98
|
+
return;
|
|
99
|
+
if (event.animationName !== (this.checked ? 'check' : 'uncheck'))
|
|
100
|
+
return;
|
|
101
|
+
this.knobSliding = false;
|
|
91
102
|
};
|
|
92
103
|
this.checkFocusElement = () => {
|
|
93
104
|
var _a;
|
|
@@ -119,7 +130,9 @@ export class MdsInputSwitch {
|
|
|
119
130
|
* The form value follows every change of checked, by the user or by code; a radio checked
|
|
120
131
|
* unchecks the others of its group, which clear their own form value.
|
|
121
132
|
*/
|
|
122
|
-
checkedChanged(newValue) {
|
|
133
|
+
checkedChanged(newValue, oldValue) {
|
|
134
|
+
if (this.type === 'switch' && !!newValue !== !!oldValue)
|
|
135
|
+
this.knobSliding = true;
|
|
123
136
|
if (newValue === false) {
|
|
124
137
|
// the watcher runs again with undefined
|
|
125
138
|
this.checked = undefined;
|
|
@@ -159,7 +172,7 @@ export class MdsInputSwitch {
|
|
|
159
172
|
var _a;
|
|
160
173
|
const { iconChecked, iconUnchecked, iconIndeterminate } = inputSwitchIconVariant[this.type];
|
|
161
174
|
const iconCheckedUser = this.icon !== '' ? this.icon : iconChecked;
|
|
162
|
-
return (h(Host, { key: '
|
|
175
|
+
return (h(Host, { key: 'fd0721519a8dab46b6b1d8c46775e765800ab078', "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, h("input", { key: '17948dabfc9c06fe5c6031bb8015431d864f6640', "aria-label": this.t.get(this.checked ? 'unselect' : 'select', { label: this.label }), autoFocus: this.autofocus, checked: this.checked, class: "field", disabled: this.isDisabled(), id: "field", indeterminate: this.indeterminate, name: this.name, onChange: this.handleInputOnChange, role: this.type === 'switch' ? 'switch' : undefined, type: this.type === 'switch' ? 'checkbox' : this.type, value: (_a = this.value) !== null && _a !== void 0 ? _a : undefined }), this.type === 'switch' ? (h("label", { htmlFor: "field", class: clsx('switch-container', this.knobSliding && 'switch-container--sliding') }, h("div", { class: "switch" }, h("div", { class: "switch-toggle", onAnimationEnd: this.handleKnobSlideEnd, "on-animationcancel": this.handleKnobSlideEnd }, this.explicit && (h("mds-icon", { class: "icon-explicit", name: this.checked ? miBaselineChecked : miBaselineRemove })))))) : (h("label", { htmlFor: "field", class: "label-icon" }, h("mds-text", { class: "icon-typography-unchecked", tag: "div", typography: this.typography, variant: this.variant }, h("mds-icon", { class: "icon-unchecked", name: clsx(this.indeterminate ? iconIndeterminate : iconUnchecked) })), this.checked && (h("mds-text", { class: "icon-typography-checked", tag: "div", typography: this.typography, variant: this.variant }, h("mds-icon", { class: "icon-checked", name: clsx(this.indeterminate ? iconIndeterminate : iconCheckedUser) }))))), h("label", { key: 'fa7b4af87901a008d46c88254c1a4534cf94bf1a', htmlFor: "field", class: clsx('label-text', !this.hasText && 'label-text--empty') }, h("mds-text", { key: 'dd6fe74cb6f7e41d454c59391a8da043dce26287', tag: "p", typography: this.typography, variant: this.variant }, h("slot", { key: '036df3bbc32983248bc0a3dcd750471198403433' })))));
|
|
163
176
|
}
|
|
164
177
|
static get is() { return "mds-input-switch"; }
|
|
165
178
|
static get encapsulation() { return "shadow"; }
|
|
@@ -449,7 +462,7 @@ export class MdsInputSwitch {
|
|
|
449
462
|
static get states() {
|
|
450
463
|
return {
|
|
451
464
|
"formDisabled": {},
|
|
452
|
-
"
|
|
465
|
+
"knobSliding": {},
|
|
453
466
|
"hasText": {}
|
|
454
467
|
};
|
|
455
468
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-input-tip
|
|
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-input-tip>` web component is the floating helper container of the Magma Design System input family: it overlays an input field and carries supplementary content (slotted `mds-input-tip-item` chips: status labels, hints, counters) that slides into place when the field becomes active. It is a presentational compound child positioned against its parent input rather than a standalone control.
|
|
12
12
|
|
|
@@ -22,7 +22,7 @@ mds-input-tip-item {
|
|
|
22
22
|
--mds-input-tip-transition-duration: var(--duration-300, 300ms);
|
|
23
23
|
--private-input-tip-transition-duration: var(--mds-input-tip-transition-duration);
|
|
24
24
|
--mds-input-tip-active-translate: translate(0, 0);
|
|
25
|
-
--mds-input-tip-background: rgb(var(--magma-surface-inverse-muted, var(--
|
|
25
|
+
--mds-input-tip-background: rgb(var(--magma-surface-inverse-muted, var(--tone-neutral-03, 73 73 73)));
|
|
26
26
|
--mds-input-tip-horizontal-offset-focused: 0px;
|
|
27
27
|
--mds-input-tip-horizontal-offset: --spacing(400);
|
|
28
28
|
--mds-input-tip-vertical-offset: --spacing(100);
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-input-tip-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-input-tip-item>` web component is a single contextual hint row rendered inside the [`<mds-input-tip>`](../mds-input-tip/AGENTS.md) container. It represents one validation/status message of a form field (required, read-only, disabled, character count, or free text) and is orchestrated by the input components (`<mds-input>`, `<mds-input-date>`, `<mds-input-select>`) that own the tip; it has no standalone HTML equivalent.
|
|
12
12
|
|
|
@@ -21,14 +21,14 @@ mds-text {
|
|
|
21
21
|
--private-input-tip-item-transition-duration: var(--mds-input-tip-item-transition-duration);
|
|
22
22
|
--mds-input-tip-item-content-transition-duration: var(--duration-200, 200ms);
|
|
23
23
|
--private-input-tip-item-content-transition-duration: var(--mds-input-tip-item-content-transition-duration);
|
|
24
|
-
--mds-input-tip-item-background: var(--mds-input-tip-background, rgb(var(--magma-surface-inverse-muted, var(--
|
|
25
|
-
--mds-input-tip-item-color: rgb(var(--magma-on-inverse, var(--
|
|
26
|
-
--mds-input-tip-item-icon-color: rgb(var(--magma-on-inverse, var(--
|
|
24
|
+
--mds-input-tip-item-background: var(--mds-input-tip-background, rgb(var(--magma-surface-inverse-muted, var(--tone-neutral-03, 73 73 73))));
|
|
25
|
+
--mds-input-tip-item-color: rgb(var(--magma-on-inverse, var(--tone-neutral-seed, 255 255 255)));
|
|
26
|
+
--mds-input-tip-item-icon-color: rgb(var(--magma-on-inverse, var(--tone-neutral-seed, 255 255 255)));
|
|
27
27
|
|
|
28
28
|
align-items: center;
|
|
29
|
-
background-color: var(--mds-input-tip-item-background, rgb(var(--magma-surface-inverse-muted, var(--
|
|
29
|
+
background-color: var(--mds-input-tip-item-background, rgb(var(--magma-surface-inverse-muted, var(--tone-neutral-03, 73 73 73))));
|
|
30
30
|
border-radius: var(--radius-2xs, 6px);
|
|
31
|
-
color: var(--mds-input-tip-item-color, rgb(var(--magma-text-on-emphasis, var(--
|
|
31
|
+
color: var(--mds-input-tip-item-color, rgb(var(--magma-text-on-emphasis, var(--tone-neutral-seed, 255 255 255))));
|
|
32
32
|
display: flex;
|
|
33
33
|
height: --spacing(300);
|
|
34
34
|
justify-content: center;
|
|
@@ -42,7 +42,8 @@ mds-text {
|
|
|
42
42
|
transition-property:
|
|
43
43
|
background-color, border-radius, color, padding-left, padding-right, transform;
|
|
44
44
|
transition-timing-function: var(--ease-out-expo, cubic-bezier(0.19, 1, 0.22, 1));
|
|
45
|
-
user-select: none;
|
|
45
|
+
-webkit-user-select: none;
|
|
46
|
+
user-select: none;
|
|
46
47
|
}
|
|
47
48
|
|
|
48
49
|
mds-text {
|
|
@@ -64,7 +65,7 @@ mds-text {
|
|
|
64
65
|
.icon {
|
|
65
66
|
@apply svg;
|
|
66
67
|
|
|
67
|
-
fill: var(--mds-input-tip-item-icon-color, rgb(var(--magma-text-on-emphasis, var(--
|
|
68
|
+
fill: var(--mds-input-tip-item-icon-color, rgb(var(--magma-text-on-emphasis, var(--tone-neutral-seed, 255 255 255))));
|
|
68
69
|
height: --spacing(300);
|
|
69
70
|
transform: translateY(-1px);
|
|
70
71
|
width: --spacing(300);
|
|
@@ -75,7 +76,7 @@ mds-text {
|
|
|
75
76
|
}
|
|
76
77
|
|
|
77
78
|
:host([expanded]) {
|
|
78
|
-
--mds-input-tip-item-color: rgb(var(--magma-text-on-emphasis, var(--
|
|
79
|
+
--mds-input-tip-item-color: rgb(var(--magma-text-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
79
80
|
|
|
80
81
|
padding-left: --spacing(200);
|
|
81
82
|
padding-right: --spacing(200);
|
|
@@ -99,9 +100,9 @@ mds-text {
|
|
|
99
100
|
}
|
|
100
101
|
|
|
101
102
|
:host([variant='disabled']) {
|
|
102
|
-
--mds-input-tip-item-background: rgb(var(--magma-wash-base, var(--
|
|
103
|
-
--mds-input-tip-item-color: rgb(var(--magma-text-disabled, var(--
|
|
104
|
-
--mds-input-tip-item-icon-color: rgb(var(--magma-text-disabled, var(--
|
|
103
|
+
--mds-input-tip-item-background: rgb(var(--magma-wash-base, var(--tone-neutral-09, 225 225 225)));
|
|
104
|
+
--mds-input-tip-item-color: rgb(var(--magma-text-disabled, var(--text-neutral-disabled, 119 119 119)));
|
|
105
|
+
--mds-input-tip-item-icon-color: rgb(var(--magma-text-disabled, var(--text-neutral-disabled, 119 119 119)));
|
|
105
106
|
}
|
|
106
107
|
|
|
107
108
|
/* :host([variant="text"]) {
|
|
@@ -129,7 +130,7 @@ mds-text {
|
|
|
129
130
|
}
|
|
130
131
|
|
|
131
132
|
:host([variant='count-full']) {
|
|
132
|
-
--mds-input-tip-item-color: rgb(var(--magma-danger-on-emphasis, var(--
|
|
133
|
+
--mds-input-tip-item-color: rgb(var(--magma-danger-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
133
134
|
--mds-input-tip-item-background: rgb(var(--magma-danger-emphasis, var(--status-error-04, 196 64 65)));
|
|
134
135
|
}
|
|
135
136
|
|
|
@@ -204,22 +205,22 @@ mds-text {
|
|
|
204
205
|
|
|
205
206
|
:host([pref-contrast='more']) {
|
|
206
207
|
&:host([variant='count-empty']) {
|
|
207
|
-
--mds-input-tip-item-color: rgb(var(--magma-info-on-emphasis, var(--
|
|
208
|
+
--mds-input-tip-item-color: rgb(var(--magma-info-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
208
209
|
--mds-input-tip-item-background: rgb(var(--magma-info-emphasis, var(--status-info-04, 0 119 164)));
|
|
209
210
|
}
|
|
210
211
|
|
|
211
212
|
&:host([variant='count-incomplete']) {
|
|
212
|
-
--mds-input-tip-item-color: rgb(var(--magma-success-on-emphasis, var(--
|
|
213
|
+
--mds-input-tip-item-color: rgb(var(--magma-success-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
213
214
|
--mds-input-tip-item-background: rgb(var(--magma-success-emphasis, var(--status-success-04, 0 128 57)));
|
|
214
215
|
}
|
|
215
216
|
|
|
216
217
|
&:host([variant='count-almost']) {
|
|
217
|
-
--mds-input-tip-item-color: rgb(var(--magma-warning-on-emphasis, var(--
|
|
218
|
+
--mds-input-tip-item-color: rgb(var(--magma-warning-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
218
219
|
--mds-input-tip-item-background: rgb(var(--magma-warning-emphasis, var(--status-warning-04, 142 106 0)));
|
|
219
220
|
}
|
|
220
221
|
|
|
221
222
|
&:host([variant='count-almost-full']) {
|
|
222
|
-
--mds-input-tip-item-color: rgb(var(--magma-danger-on-emphasis, var(--
|
|
223
|
+
--mds-input-tip-item-color: rgb(var(--magma-danger-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
223
224
|
--mds-input-tip-item-background: rgb(var(--magma-danger-emphasis, var(--status-error-04, 196 64 65)));
|
|
224
225
|
}
|
|
225
226
|
}
|
|
@@ -228,22 +229,22 @@ mds-text {
|
|
|
228
229
|
:host([pref-contrast='system']),
|
|
229
230
|
:host(:not([pref-contrast])) {
|
|
230
231
|
&:host([variant='count-empty']) {
|
|
231
|
-
--mds-input-tip-item-color: rgb(var(--magma-info-on-emphasis, var(--
|
|
232
|
+
--mds-input-tip-item-color: rgb(var(--magma-info-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
232
233
|
--mds-input-tip-item-background: rgb(var(--magma-info-emphasis, var(--status-info-04, 0 119 164)));
|
|
233
234
|
}
|
|
234
235
|
|
|
235
236
|
&:host([variant='count-incomplete']) {
|
|
236
|
-
--mds-input-tip-item-color: rgb(var(--magma-success-on-emphasis, var(--
|
|
237
|
+
--mds-input-tip-item-color: rgb(var(--magma-success-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
237
238
|
--mds-input-tip-item-background: rgb(var(--magma-success-emphasis, var(--status-success-04, 0 128 57)));
|
|
238
239
|
}
|
|
239
240
|
|
|
240
241
|
&:host([variant='count-almost']) {
|
|
241
|
-
--mds-input-tip-item-color: rgb(var(--magma-warning-on-emphasis, var(--
|
|
242
|
+
--mds-input-tip-item-color: rgb(var(--magma-warning-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
242
243
|
--mds-input-tip-item-background: rgb(var(--magma-warning-emphasis, var(--status-warning-04, 142 106 0)));
|
|
243
244
|
}
|
|
244
245
|
|
|
245
246
|
&:host([variant='count-almost-full']) {
|
|
246
|
-
--mds-input-tip-item-color: rgb(var(--magma-danger-on-emphasis, var(--
|
|
247
|
+
--mds-input-tip-item-color: rgb(var(--magma-danger-on-emphasis, var(--tone-neutral-seed, 255 255 255)));
|
|
247
248
|
--mds-input-tip-item-background: rgb(var(--magma-danger-emphasis, var(--status-error-04, 196 64 65)));
|
|
248
249
|
}
|
|
249
250
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-input-upload
|
|
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-input-upload>` web component is the Magma Design System file-upload control. It wraps a hidden native `<input type="file">` in a drag-and-drop drop zone with progress, per-file previews, validation and optional sorting, exposing the selected files to a surrounding `<form>` through form association.
|
|
12
12
|
|