@maggioli-design-system/magma 2.0.0-beta.2 → 2.0.0-beta.5
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/README.md +46 -6
- package/dist/cjs/date-B28IitWe.js +24 -0
- package/dist/cjs/floating-controller-Cd_vNLLD.js +369 -0
- package/dist/cjs/floating-ui.dom-DflSHZIo.js +1688 -0
- package/dist/cjs/form-DTCBh5WK.js +22 -0
- package/dist/cjs/index--6wz7eWi.js +5183 -0
- package/dist/cjs/index.cjs.js +17 -0
- package/dist/cjs/keyboard-manager-C_Eaxw-C.js +52 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/locale-CB5_Z7PE.js +816 -0
- package/dist/cjs/magma-components.cjs.js +31 -4
- package/dist/cjs/mds-accordion-item.cjs.entry.js +7 -6
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +8 -7
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +3 -3
- package/dist/cjs/mds-accordion.cjs.entry.js +17 -7
- package/dist/cjs/mds-author.cjs.entry.js +9 -4
- package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-avatar-stack.cjs.entry.js +5 -4
- package/dist/cjs/mds-avatar.cjs.entry.js +15 -12
- package/dist/cjs/mds-badge.cjs.entry.js +5 -4
- package/dist/cjs/mds-banner_3.cjs.entry.js +40 -36
- package/dist/cjs/mds-benchmark-bar.cjs.entry.js +3 -3
- package/dist/cjs/mds-bibliography.cjs.entry.js +2 -2
- package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-breadcrumb.cjs.entry.js +12 -20
- package/dist/cjs/mds-button-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/mds-button-group.cjs.entry.js +3 -3
- package/dist/cjs/mds-button_3.cjs.entry.js +13 -14
- package/dist/cjs/mds-calendar_2.cjs.entry.js +183 -160
- package/dist/cjs/mds-card-content.cjs.entry.js +2 -2
- package/dist/cjs/mds-card-footer.cjs.entry.js +2 -2
- package/dist/cjs/mds-card-header.cjs.entry.js +9 -4
- package/dist/cjs/mds-card-media.cjs.entry.js +2 -2
- package/dist/cjs/mds-card.cjs.entry.js +6 -5
- package/dist/cjs/mds-details.cjs.entry.js +8 -6
- package/dist/cjs/mds-dropdown.cjs.entry.js +201 -55
- package/dist/cjs/mds-emoji.cjs.entry.js +301 -181
- package/dist/cjs/mds-entity.cjs.entry.js +11 -5
- package/dist/cjs/mds-file-preview.cjs.entry.js +8 -14
- package/dist/cjs/mds-file.cjs.entry.js +8 -14
- package/dist/cjs/mds-filter-item.cjs.entry.js +6 -5
- package/dist/cjs/mds-filter.cjs.entry.js +19 -10
- package/dist/cjs/mds-header-bar.cjs.entry.js +11 -5
- package/dist/cjs/mds-header.cjs.entry.js +10 -8
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +2 -2
- package/dist/cjs/mds-hr.cjs.entry.js +4 -3
- package/dist/cjs/mds-img.cjs.entry.js +11 -18
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-date-range.cjs.entry.js +61 -30
- package/dist/cjs/mds-input-date.cjs.entry.js +28 -34
- package/dist/cjs/mds-input-field.cjs.entry.js +42 -6
- package/dist/cjs/mds-input-otp.cjs.entry.js +38 -4
- package/dist/cjs/mds-input-range.cjs.entry.js +9 -7
- package/dist/cjs/mds-input-select.cjs.entry.js +11 -19
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +19 -32
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +8 -17
- package/dist/cjs/mds-input-upload.cjs.entry.js +45 -37
- package/dist/cjs/mds-input.cjs.entry.js +26 -32
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +5 -14
- package/dist/cjs/mds-keyboard.cjs.entry.js +20 -21
- package/dist/cjs/mds-kpi-item.cjs.entry.js +12 -3
- package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
- package/dist/cjs/mds-label.cjs.entry.js +7 -13
- package/dist/cjs/mds-list-item.cjs.entry.js +4 -3
- package/dist/cjs/mds-list.cjs.entry.js +2 -2
- package/dist/cjs/mds-mention.cjs.entry.js +38 -4
- package/dist/cjs/mds-modal.cjs.entry.js +150 -65
- package/dist/cjs/mds-note.cjs.entry.js +7 -15
- package/dist/cjs/mds-notification.cjs.entry.js +16 -8
- package/dist/cjs/mds-paginator-item.cjs.entry.js +5 -4
- package/dist/cjs/mds-paginator.cjs.entry.js +42 -10
- package/dist/cjs/mds-policy-ai.cjs.entry.js +8 -15
- package/dist/cjs/mds-pref-animation.cjs.entry.js +10 -19
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +10 -19
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +13 -20
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +28 -16
- package/dist/cjs/mds-pref-language.cjs.entry.js +38 -28
- package/dist/cjs/mds-pref-mode.cjs.entry.js +273 -0
- package/dist/cjs/mds-pref-theme-item.cjs.entry.js +43 -0
- package/dist/cjs/mds-pref-theme.cjs.entry.js +148 -222
- package/dist/cjs/mds-pref.cjs.entry.js +41 -18
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +4 -3
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +4 -3
- package/dist/cjs/mds-price-table-features.cjs.entry.js +4 -3
- package/dist/cjs/mds-price-table-header.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table-list.cjs.entry.js +4 -3
- package/dist/cjs/mds-price-table.cjs.entry.js +3 -3
- package/dist/cjs/mds-progress_2.cjs.entry.js +7 -11
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +19 -20
- package/dist/cjs/mds-push-notification.cjs.entry.js +7 -6
- package/dist/cjs/mds-quote.cjs.entry.js +4 -3
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-radial-menu.cjs.entry.js +7 -6
- package/dist/cjs/mds-separator.cjs.entry.js +4 -3
- package/dist/cjs/mds-status-bar.cjs.entry.js +5 -4
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +14 -17
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +21 -12
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +6 -5
- package/dist/cjs/mds-tab-bar.cjs.entry.js +5 -4
- package/dist/cjs/mds-tab_2.cjs.entry.js +28 -11
- package/dist/cjs/mds-table-body.cjs.entry.js +4 -3
- package/dist/cjs/mds-table-footer.cjs.entry.js +4 -3
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +4 -3
- package/dist/cjs/mds-table-header.cjs.entry.js +19 -21
- package/dist/cjs/mds-table-row.cjs.entry.js +20 -21
- package/dist/cjs/mds-table.cjs.entry.js +62 -30
- package/dist/cjs/mds-text.cjs.entry.js +36 -11
- package/dist/cjs/mds-toast.cjs.entry.js +10 -5
- package/dist/cjs/mds-tooltip.cjs.entry.js +30 -21
- package/dist/cjs/mds-tree-item.cjs.entry.js +36 -14
- package/dist/cjs/mds-tree.cjs.entry.js +44 -6
- package/dist/cjs/mds-url-view.cjs.entry.js +21 -21
- package/dist/cjs/mds-usage.cjs.entry.js +5 -11
- package/dist/cjs/mds-video-wall.cjs.entry.js +8 -4
- package/dist/cjs/mds-zero.cjs.entry.js +4 -3
- package/dist/cjs/preference-eJcbLLAn.js +389 -0
- package/dist/cjs/slot-RmXfgH4P.js +69 -0
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/common/date.js +9 -1
- package/dist/collection/common/floating-controller.js +180 -14
- package/dist/collection/common/form.js +18 -0
- package/dist/collection/common/keyboard-manager.js +5 -5
- package/dist/collection/common/locale.js +9 -31
- package/dist/collection/common/preference.js +102 -0
- package/dist/collection/common/slot.js +14 -1
- package/dist/collection/common/yugop/random-text.js +12 -3
- package/dist/collection/components/mds-accordion/mds-accordion.css +16 -72
- package/dist/collection/components/mds-accordion/mds-accordion.js +18 -8
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +89 -96
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +2 -1
- package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +2 -37
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +66 -44
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +2 -1
- package/dist/collection/components/mds-author/mds-author.css +5 -1
- package/dist/collection/components/mds-author/mds-author.js +14 -2
- package/dist/collection/components/mds-avatar/mds-avatar.css +151 -129
- package/dist/collection/components/mds-avatar/mds-avatar.js +13 -10
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.css +30 -77
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +3 -2
- package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.css +11 -137
- package/dist/collection/components/mds-badge/mds-badge.css +197 -164
- package/dist/collection/components/mds-badge/mds-badge.js +2 -1
- package/dist/collection/components/mds-banner/mds-banner.css +174 -196
- package/dist/collection/components/mds-banner/mds-banner.js +16 -40
- package/dist/collection/components/mds-bibliography/mds-bibliography.css +8 -26
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.css +6 -82
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +11 -46
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +15 -67
- package/dist/collection/components/mds-button/mds-button.css +307 -357
- package/dist/collection/components/mds-button/mds-button.js +4 -3
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +24 -34
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +1 -1
- package/dist/collection/components/mds-button-group/mds-button-group.css +24 -0
- package/dist/collection/components/mds-button-group/mds-button-group.js +2 -2
- package/dist/collection/components/mds-calendar/mds-calendar.css +13 -69
- package/dist/collection/components/mds-calendar/mds-calendar.js +210 -185
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +88 -299
- package/dist/collection/components/mds-card/mds-card.css +18 -31
- package/dist/collection/components/mds-card/mds-card.js +8 -7
- package/dist/collection/components/mds-card-content/mds-card-content.css +1 -0
- package/dist/collection/components/mds-card-footer/mds-card-footer.css +1 -0
- package/dist/collection/components/mds-card-header/mds-card-header.css +5 -0
- package/dist/collection/components/mds-card-header/mds-card-header.js +14 -2
- package/dist/collection/components/mds-card-media/mds-card-media.css +1 -1
- package/dist/collection/components/mds-chip/mds-chip.css +350 -297
- package/dist/collection/components/mds-chip/mds-chip.js +19 -37
- package/dist/collection/components/mds-details/mds-details.css +75 -38
- package/dist/collection/components/mds-details/mds-details.js +4 -2
- package/dist/collection/components/mds-dropdown/mds-dropdown.css +126 -124
- package/dist/collection/components/mds-dropdown/mds-dropdown.js +210 -62
- package/dist/collection/components/mds-emoji/asset/mia.svg +3 -3
- package/dist/collection/components/mds-emoji/mds-emoji.css +15 -179
- package/dist/collection/components/mds-emoji/mds-emoji.js +297 -177
- package/dist/collection/components/mds-entity/mds-entity.css +35 -77
- package/dist/collection/components/mds-entity/mds-entity.js +17 -3
- package/dist/collection/components/mds-file/mds-file.css +131 -95
- package/dist/collection/components/mds-file/mds-file.js +8 -36
- package/dist/collection/components/mds-file-preview/mds-file-preview.css +313 -236
- package/dist/collection/components/mds-file-preview/mds-file-preview.js +4 -36
- package/dist/collection/components/mds-filter/mds-filter.css +103 -98
- package/dist/collection/components/mds-filter/mds-filter.js +16 -7
- package/dist/collection/components/mds-filter-item/mds-filter-item.css +102 -62
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +2 -1
- package/dist/collection/components/mds-header/mds-header.css +29 -71
- package/dist/collection/components/mds-header/mds-header.js +10 -8
- package/dist/collection/components/mds-header-bar/mds-header-bar.css +82 -33
- package/dist/collection/components/mds-header-bar/mds-header-bar.js +9 -2
- package/dist/collection/components/mds-help/mds-help.css +1 -19
- package/dist/collection/components/mds-help/mds-help.js +7 -7
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +23 -118
- package/dist/collection/components/mds-hr/mds-hr.css +6 -12
- package/dist/collection/components/mds-hr/mds-hr.js +2 -1
- package/dist/collection/components/mds-icon/mds-icon.js +2 -4
- package/dist/collection/components/mds-icon/services/icons-set.service.js +16 -0
- package/dist/collection/components/mds-img/mds-img.css +12 -48
- package/dist/collection/components/mds-img/mds-img.js +8 -38
- package/dist/collection/components/mds-input/mds-input.css +147 -211
- package/dist/collection/components/mds-input/mds-input.js +36 -41
- package/dist/collection/components/mds-input-date/mds-input-date.css +137 -135
- package/dist/collection/components/mds-input-date/mds-input-date.js +63 -48
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +130 -100
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +81 -45
- package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.css +19 -73
- package/dist/collection/components/mds-input-field/mds-input-field.css +65 -29
- package/dist/collection/components/mds-input-field/mds-input-field.js +41 -4
- package/dist/collection/components/mds-input-otp/mds-input-otp.js +38 -2
- package/dist/collection/components/mds-input-range/mds-input-range.css +92 -49
- package/dist/collection/components/mds-input-range/mds-input-range.js +6 -4
- package/dist/collection/components/mds-input-select/mds-input-select.css +158 -179
- package/dist/collection/components/mds-input-select/mds-input-select.js +28 -35
- package/dist/collection/components/mds-input-switch/mds-input-switch.css +96 -249
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +12 -47
- package/dist/collection/components/mds-input-tip/mds-input-tip.css +61 -38
- package/dist/collection/components/mds-input-tip/mds-input-tip.js +2 -1
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.css +113 -72
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +3 -38
- package/dist/collection/components/mds-input-upload/mds-input-upload.css +28 -42
- package/dist/collection/components/mds-input-upload/mds-input-upload.js +41 -52
- package/dist/collection/components/mds-keyboard/mds-keyboard.css +37 -125
- package/dist/collection/components/mds-keyboard/mds-keyboard.js +17 -40
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +4 -28
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -37
- package/dist/collection/components/mds-kpi/mds-kpi.css +6 -11
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.css +139 -72
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +10 -1
- package/dist/collection/components/mds-label/mds-label.css +278 -356
- package/dist/collection/components/mds-label/mds-label.js +3 -35
- package/dist/collection/components/mds-list/mds-list.css +4 -5
- package/dist/collection/components/mds-list-item/mds-list-item.css +14 -17
- package/dist/collection/components/mds-list-item/mds-list-item.js +2 -1
- package/dist/collection/components/mds-mention/mds-mention.css +19 -10
- package/dist/collection/components/mds-mention/mds-mention.js +62 -2
- package/dist/collection/components/mds-modal/mds-modal.css +256 -155
- package/dist/collection/components/mds-modal/mds-modal.js +177 -91
- package/dist/collection/components/mds-note/mds-note.css +262 -228
- package/dist/collection/components/mds-note/mds-note.js +3 -37
- package/dist/collection/components/mds-notification/mds-notification.css +88 -114
- package/dist/collection/components/mds-notification/mds-notification.js +17 -9
- package/dist/collection/components/mds-paginator/mds-paginator.css +111 -55
- package/dist/collection/components/mds-paginator/mds-paginator.js +39 -7
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +103 -107
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +2 -1
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.css +19 -16
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +4 -38
- package/dist/collection/components/mds-pref/mds-pref.js +40 -40
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.css +58 -9
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +7 -42
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.css +20 -15
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +7 -42
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.css +12 -7
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +10 -43
- package/dist/collection/components/mds-pref-language/mds-pref-language.css +3 -3
- package/dist/collection/components/mds-pref-language/mds-pref-language.js +35 -46
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +24 -38
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +79 -0
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +372 -0
- package/dist/collection/components/mds-pref-mode/meta/dictionary.js +3 -0
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.css +12 -77
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +184 -228
- package/dist/collection/components/mds-pref-theme/meta/dictionary.js +2 -3
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +70 -0
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +160 -0
- package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +69 -41
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +2 -1
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +106 -87
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +2 -1
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +99 -55
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +2 -1
- package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +99 -48
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +2 -1
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.css +9 -36
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
- package/dist/collection/components/mds-progress/mds-progress.css +132 -108
- package/dist/collection/components/mds-progress/mds-progress.js +2 -1
- package/dist/collection/components/mds-push-notification/mds-push-notification.css +17 -41
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +2 -1
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +211 -162
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +18 -39
- package/dist/collection/components/mds-quote/mds-quote.css +11 -7
- package/dist/collection/components/mds-quote/mds-quote.js +2 -1
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +6 -60
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +3 -2
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.css +1 -7
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +24 -30
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +3 -7
- package/dist/collection/components/mds-separator/mds-separator.css +14 -34
- package/dist/collection/components/mds-separator/mds-separator.js +2 -1
- package/dist/collection/components/mds-spinner/mds-spinner.css +32 -32
- package/dist/collection/components/mds-spinner/mds-spinner.js +2 -1
- package/dist/collection/components/mds-status-bar/mds-status-bar.css +31 -38
- package/dist/collection/components/mds-status-bar/mds-status-bar.js +3 -2
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.css +21 -88
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +18 -9
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +101 -163
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +10 -35
- package/dist/collection/components/mds-tab/mds-tab.css +125 -199
- package/dist/collection/components/mds-tab/mds-tab.js +19 -4
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.css +85 -20
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +2 -1
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +94 -56
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +2 -1
- package/dist/collection/components/mds-tab-item/mds-tab-item.css +33 -43
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +75 -1
- package/dist/collection/components/mds-table/mds-table.css +102 -126
- package/dist/collection/components/mds-table/mds-table.js +59 -28
- package/dist/collection/components/mds-table-body/mds-table-body.css +72 -49
- package/dist/collection/components/mds-table-body/mds-table-body.js +2 -1
- package/dist/collection/components/mds-table-cell/mds-table-cell.css +79 -40
- package/dist/collection/components/mds-table-cell/mds-table-cell.js +2 -1
- package/dist/collection/components/mds-table-footer/mds-table-footer.css +62 -8
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +2 -1
- package/dist/collection/components/mds-table-header/mds-table-header.css +62 -8
- package/dist/collection/components/mds-table-header/mds-table-header.js +17 -37
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.css +67 -17
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +2 -1
- package/dist/collection/components/mds-table-row/mds-table-row.css +92 -63
- package/dist/collection/components/mds-table-row/mds-table-row.js +38 -41
- package/dist/collection/components/mds-text/mds-text.css +25 -43
- package/dist/collection/components/mds-text/mds-text.js +23 -7
- package/dist/collection/components/mds-toast/mds-toast.css +139 -105
- package/dist/collection/components/mds-toast/mds-toast.js +13 -3
- package/dist/collection/components/mds-tooltip/mds-tooltip.css +96 -96
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +37 -28
- package/dist/collection/components/mds-tree/mds-tree.css +22 -214
- package/dist/collection/components/mds-tree/mds-tree.js +42 -4
- package/dist/collection/components/mds-tree-item/mds-tree-item.css +193 -343
- package/dist/collection/components/mds-tree-item/mds-tree-item.js +87 -14
- package/dist/collection/components/mds-url-view/mds-url-view.css +97 -59
- package/dist/collection/components/mds-url-view/mds-url-view.js +17 -43
- package/dist/collection/components/mds-usage/mds-usage.css +100 -97
- package/dist/collection/components/mds-usage/mds-usage.js +2 -34
- package/dist/collection/components/mds-video-wall/mds-video-wall.css +24 -40
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +12 -2
- package/dist/collection/components/mds-zero/mds-zero.css +88 -34
- package/dist/collection/components/mds-zero/mds-zero.js +2 -1
- package/dist/collection/event-detail/theme.js +1 -0
- package/dist/collection/type/preference.js +22 -3
- package/dist/components/index.d.ts +230 -0
- package/dist/components/index.js +1 -1
- package/dist/components/mds-accordion-item.js +1 -1
- package/dist/components/mds-accordion-timer-item.js +1 -1
- package/dist/components/mds-accordion-timer.js +1 -1
- package/dist/components/mds-accordion.js +1 -1
- package/dist/components/mds-author.js +1 -1
- package/dist/components/mds-avatar-stack-item.js +1 -1
- package/dist/components/mds-avatar-stack.js +1 -1
- package/dist/components/mds-avatar.js +1 -1
- package/dist/components/mds-badge.js +1 -1
- package/dist/components/mds-banner.js +1 -1
- package/dist/components/mds-benchmark-bar.js +1 -1
- package/dist/components/mds-bibliography.js +1 -1
- package/dist/components/mds-breadcrumb-item.js +1 -1
- package/dist/components/mds-breadcrumb.js +1 -1
- package/dist/components/mds-button-dropdown.js +1 -1
- package/dist/components/mds-button-group.js +1 -1
- package/dist/components/mds-button.js +1 -1
- package/dist/components/mds-calendar-cell.js +1 -1
- package/dist/components/mds-calendar.js +1 -1
- package/dist/components/mds-card-content.js +1 -1
- package/dist/components/mds-card-footer.js +1 -1
- package/dist/components/mds-card-header.js +1 -1
- package/dist/components/mds-card-media.js +1 -1
- package/dist/components/mds-card.js +1 -1
- package/dist/components/mds-chip.js +1 -1
- package/dist/components/mds-details.js +1 -1
- package/dist/components/mds-dropdown.js +1 -1
- package/dist/components/mds-emoji.js +3 -3
- package/dist/components/mds-entity.js +1 -1
- package/dist/components/mds-file-preview.js +1 -1
- package/dist/components/mds-file.js +3 -3
- package/dist/components/mds-filter-item.js +1 -1
- package/dist/components/mds-filter.js +1 -1
- package/dist/components/mds-header-bar.js +1 -1
- package/dist/components/mds-header.js +1 -1
- package/dist/components/mds-help.js +1 -1
- package/dist/components/mds-horizontal-scroll.js +1 -1
- package/dist/components/mds-hr.js +1 -1
- package/dist/components/mds-icon.js +1 -1
- package/dist/components/mds-img.js +1 -1
- package/dist/components/mds-input-date-range-preselection.js +1 -1
- package/dist/components/mds-input-date-range.js +1 -1
- package/dist/components/mds-input-date.js +1 -1
- package/dist/components/mds-input-field.js +1 -1
- package/dist/components/mds-input-otp.js +1 -1
- package/dist/components/mds-input-range.js +1 -1
- package/dist/components/mds-input-select.js +1 -1
- package/dist/components/mds-input-switch.js +1 -1
- package/dist/components/mds-input-tip-item.js +1 -1
- package/dist/components/mds-input-tip.js +1 -1
- package/dist/components/mds-input-upload.js +1 -1
- package/dist/components/mds-input.js +1 -1
- package/dist/components/mds-keyboard-key.js +1 -1
- package/dist/components/mds-keyboard.js +1 -1
- package/dist/components/mds-kpi-item.js +1 -1
- package/dist/components/mds-kpi.js +1 -1
- package/dist/components/mds-label.js +1 -1
- package/dist/components/mds-list-item.js +1 -1
- package/dist/components/mds-list.js +1 -1
- package/dist/components/mds-mention.js +1 -1
- package/dist/components/mds-modal.js +1 -1
- package/dist/components/mds-note.js +1 -1
- package/dist/components/mds-notification.js +1 -1
- package/dist/components/mds-paginator-item.js +1 -1
- package/dist/components/mds-paginator.js +1 -1
- package/dist/components/mds-policy-ai.js +1 -1
- package/dist/components/mds-pref-animation.js +1 -1
- package/dist/components/mds-pref-consumption.js +1 -1
- package/dist/components/mds-pref-contrast.js +1 -1
- package/dist/components/mds-pref-language-item.js +1 -1
- package/dist/components/mds-pref-language.js +1 -1
- package/dist/components/mds-pref-mode.d.ts +11 -0
- package/dist/components/mds-pref-mode.js +1 -0
- package/dist/components/mds-pref-theme-item.d.ts +11 -0
- package/dist/components/mds-pref-theme-item.js +1 -0
- 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--8aaJX-p.js +1 -0
- package/dist/components/p-A9TZf0Ii.js +1 -0
- package/dist/components/p-B14Ci2fO.js +1 -0
- package/dist/components/p-B2A_hlV2.js +1 -0
- package/dist/components/p-B9DJLgwr.js +1 -0
- package/dist/components/p-BH3bWzRT.js +1 -0
- package/dist/components/p-BJNK4p33.js +1 -0
- package/dist/components/p-BNHXZ-JR.js +1 -0
- package/dist/components/p-BSxuG1vZ.js +1 -0
- package/dist/components/p-BTHR4xXu.js +1 -0
- package/dist/components/p-BhFTcUD0.js +3 -0
- package/dist/components/p-BouRLCYL.js +1 -0
- package/dist/components/p-Bss3F51Q.js +5 -0
- package/dist/components/p-Bt4xX5ww.js +1 -0
- package/dist/components/p-C03KYHGv.js +1 -0
- package/dist/components/p-C58NKMEE.js +1 -0
- package/dist/components/p-CACEYk42.js +1 -0
- package/dist/components/p-CBLAz3_J.js +1 -0
- package/dist/components/p-CHAGzQT-.js +1 -0
- package/dist/components/p-CVgKDZPF.js +1 -0
- package/dist/components/p-CVpjH8Un.js +1 -0
- package/dist/components/p-Caksrfcd.js +1 -0
- package/dist/components/p-CatD1iUY.js +1 -0
- package/dist/components/p-CbufYCNj.js +1 -0
- package/dist/components/p-Cehcn85x.js +1 -0
- package/dist/components/p-CsgCQiHG.js +1 -0
- package/dist/components/p-CvIFS8oA.js +1 -0
- package/dist/components/p-D3-GP4KF.js +1 -0
- package/dist/components/p-D8I1RblC.js +1 -0
- package/dist/components/p-DLE5TNTp.js +1 -0
- package/dist/components/p-DaI5QqNu.js +1 -0
- package/dist/components/p-Deh5Aia-.js +1 -0
- package/dist/components/p-Dj_oN194.js +1 -0
- package/dist/components/p-DmELzfvf.js +1 -0
- package/dist/components/p-DtxB7DYE.js +1 -0
- package/dist/components/p-KRu9I7dw.js +1 -0
- package/dist/components/p-cBZsPiMJ.js +1 -0
- package/dist/components/p-sUKtonkE.js +8 -0
- package/dist/components/p-sqRs6oj4.js +1 -0
- package/dist/components/p-wq6nWuWE.js +1 -0
- package/dist/documentation.json +1203 -1484
- package/dist/esm/date-CACEYk42.js +22 -0
- package/dist/esm/floating-controller-DVldZ5mh.js +366 -0
- package/dist/esm/floating-ui.dom-CHAGzQT-.js +1680 -0
- package/dist/esm/form-A9TZf0Ii.js +19 -0
- package/dist/esm/index-DIiEV39g.js +5149 -0
- package/dist/esm/index.js +17 -0
- package/dist/esm/keyboard-manager-KRu9I7dw.js +50 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/locale-CbJbTW_c.js +814 -0
- package/dist/esm/magma-components.js +32 -5
- package/dist/esm/mds-accordion-item.entry.js +7 -6
- package/dist/esm/mds-accordion-timer-item.entry.js +8 -7
- package/dist/esm/mds-accordion-timer.entry.js +3 -3
- package/dist/esm/mds-accordion.entry.js +17 -7
- package/dist/esm/mds-author.entry.js +9 -4
- package/dist/esm/mds-avatar-stack-item.entry.js +2 -2
- package/dist/esm/mds-avatar-stack.entry.js +5 -4
- package/dist/esm/mds-avatar.entry.js +15 -12
- package/dist/esm/mds-badge.entry.js +5 -4
- package/dist/esm/mds-banner_3.entry.js +40 -36
- package/dist/esm/mds-benchmark-bar.entry.js +3 -3
- package/dist/esm/mds-bibliography.entry.js +2 -2
- package/dist/esm/mds-breadcrumb-item.entry.js +3 -3
- package/dist/esm/mds-breadcrumb.entry.js +12 -20
- package/dist/esm/mds-button-dropdown.entry.js +3 -3
- package/dist/esm/mds-button-group.entry.js +3 -3
- package/dist/esm/mds-button_3.entry.js +13 -14
- package/dist/esm/mds-calendar_2.entry.js +183 -160
- package/dist/esm/mds-card-content.entry.js +2 -2
- package/dist/esm/mds-card-footer.entry.js +2 -2
- package/dist/esm/mds-card-header.entry.js +9 -4
- package/dist/esm/mds-card-media.entry.js +2 -2
- package/dist/esm/mds-card.entry.js +6 -5
- package/dist/esm/mds-details.entry.js +8 -6
- package/dist/esm/mds-dropdown.entry.js +201 -55
- package/dist/esm/mds-emoji.entry.js +301 -181
- package/dist/esm/mds-entity.entry.js +11 -5
- package/dist/esm/mds-file-preview.entry.js +8 -14
- package/dist/esm/mds-file.entry.js +8 -14
- package/dist/esm/mds-filter-item.entry.js +6 -5
- package/dist/esm/mds-filter.entry.js +19 -10
- package/dist/esm/mds-header-bar.entry.js +11 -5
- package/dist/esm/mds-header.entry.js +10 -8
- package/dist/esm/mds-horizontal-scroll.entry.js +2 -2
- package/dist/esm/mds-hr.entry.js +4 -3
- package/dist/esm/mds-img.entry.js +11 -18
- package/dist/esm/mds-input-date-range-preselection.entry.js +2 -2
- package/dist/esm/mds-input-date-range.entry.js +61 -30
- package/dist/esm/mds-input-date.entry.js +28 -34
- package/dist/esm/mds-input-field.entry.js +42 -6
- package/dist/esm/mds-input-otp.entry.js +38 -4
- package/dist/esm/mds-input-range.entry.js +9 -7
- package/dist/esm/mds-input-select.entry.js +11 -19
- package/dist/esm/mds-input-switch_2.entry.js +19 -32
- package/dist/esm/mds-input-tip_2.entry.js +8 -17
- package/dist/esm/mds-input-upload.entry.js +45 -37
- package/dist/esm/mds-input.entry.js +26 -32
- package/dist/esm/mds-keyboard-key.entry.js +5 -14
- package/dist/esm/mds-keyboard.entry.js +20 -21
- package/dist/esm/mds-kpi-item.entry.js +12 -3
- package/dist/esm/mds-kpi.entry.js +2 -2
- package/dist/esm/mds-label.entry.js +7 -13
- package/dist/esm/mds-list-item.entry.js +4 -3
- package/dist/esm/mds-list.entry.js +2 -2
- package/dist/esm/mds-mention.entry.js +38 -4
- package/dist/esm/mds-modal.entry.js +150 -65
- package/dist/esm/mds-note.entry.js +7 -15
- package/dist/esm/mds-notification.entry.js +16 -8
- package/dist/esm/mds-paginator-item.entry.js +5 -4
- package/dist/esm/mds-paginator.entry.js +42 -10
- package/dist/esm/mds-policy-ai.entry.js +8 -15
- package/dist/esm/mds-pref-animation.entry.js +10 -19
- package/dist/esm/mds-pref-consumption.entry.js +10 -19
- package/dist/esm/mds-pref-contrast.entry.js +13 -20
- package/dist/esm/mds-pref-language-item.entry.js +28 -16
- package/dist/esm/mds-pref-language.entry.js +38 -28
- package/dist/esm/mds-pref-mode.entry.js +271 -0
- package/dist/esm/mds-pref-theme-item.entry.js +41 -0
- package/dist/esm/mds-pref-theme.entry.js +148 -222
- package/dist/esm/mds-pref.entry.js +41 -18
- package/dist/esm/mds-price-table-features-cell.entry.js +4 -3
- package/dist/esm/mds-price-table-features-row.entry.js +4 -3
- package/dist/esm/mds-price-table-features.entry.js +4 -3
- package/dist/esm/mds-price-table-header.entry.js +3 -3
- package/dist/esm/mds-price-table-list-item.entry.js +3 -3
- package/dist/esm/mds-price-table-list.entry.js +4 -3
- package/dist/esm/mds-price-table.entry.js +3 -3
- package/dist/esm/mds-progress_2.entry.js +7 -11
- package/dist/esm/mds-push-notification-item.entry.js +19 -20
- package/dist/esm/mds-push-notification.entry.js +7 -6
- package/dist/esm/mds-quote.entry.js +4 -3
- package/dist/esm/mds-radial-menu-item.entry.js +3 -3
- package/dist/esm/mds-radial-menu.entry.js +7 -6
- package/dist/esm/mds-separator.entry.js +4 -3
- package/dist/esm/mds-status-bar.entry.js +5 -4
- package/dist/esm/mds-stepper-bar-item.entry.js +14 -17
- package/dist/esm/mds-stepper-bar.entry.js +21 -12
- package/dist/esm/mds-tab-bar-item.entry.js +6 -5
- package/dist/esm/mds-tab-bar.entry.js +5 -4
- package/dist/esm/mds-tab_2.entry.js +28 -11
- package/dist/esm/mds-table-body.entry.js +4 -3
- package/dist/esm/mds-table-footer.entry.js +4 -3
- package/dist/esm/mds-table-header-cell.entry.js +4 -3
- package/dist/esm/mds-table-header.entry.js +19 -21
- package/dist/esm/mds-table-row.entry.js +20 -21
- package/dist/esm/mds-table.entry.js +62 -30
- package/dist/esm/mds-text.entry.js +36 -11
- package/dist/esm/mds-toast.entry.js +10 -5
- package/dist/esm/mds-tooltip.entry.js +30 -21
- package/dist/esm/mds-tree-item.entry.js +36 -14
- package/dist/esm/mds-tree.entry.js +44 -6
- package/dist/esm/mds-url-view.entry.js +21 -21
- package/dist/esm/mds-usage.entry.js +5 -11
- package/dist/esm/mds-video-wall.entry.js +8 -4
- package/dist/esm/mds-zero.entry.js +4 -3
- package/dist/esm/preference-CKerJx2M.js +385 -0
- package/dist/esm/slot-C0o_l0td.js +61 -0
- package/dist/esm-es5/date-CACEYk42.js +6 -0
- package/dist/esm-es5/datetime-BJtA1qmE.js +2732 -1
- package/dist/esm-es5/floating-controller-DVldZ5mh.js +66 -0
- package/dist/esm-es5/floating-ui.dom-CHAGzQT-.js +201 -0
- package/dist/esm-es5/form-A9TZf0Ii.js +8 -0
- package/dist/esm-es5/index-DIiEV39g.js +371 -0
- package/dist/esm-es5/index.js +79 -1
- package/dist/esm-es5/keyboard-manager-KRu9I7dw.js +5 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/locale-CbJbTW_c.js +230 -0
- package/dist/esm-es5/magma-components.js +4 -1
- package/dist/esm-es5/mds-accordion-item.entry.js +4 -1
- package/dist/esm-es5/mds-accordion-timer-item.entry.js +17 -1
- package/dist/esm-es5/mds-accordion-timer.entry.js +4 -1
- package/dist/esm-es5/mds-accordion.entry.js +7 -1
- package/dist/esm-es5/mds-author.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack-item.entry.js +4 -1
- package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
- package/dist/esm-es5/mds-avatar.entry.js +8 -1
- package/dist/esm-es5/mds-badge.entry.js +12 -1
- package/dist/esm-es5/mds-banner_3.entry.js +40 -1
- package/dist/esm-es5/mds-benchmark-bar.entry.js +15 -1
- package/dist/esm-es5/mds-bibliography.entry.js +14 -1
- package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb.entry.js +4 -1
- package/dist/esm-es5/mds-button-dropdown.entry.js +19 -1
- package/dist/esm-es5/mds-button-group.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +42 -1
- package/dist/esm-es5/mds-calendar_2.entry.js +81 -1
- package/dist/esm-es5/mds-card-content.entry.js +1 -1
- package/dist/esm-es5/mds-card-footer.entry.js +1 -1
- package/dist/esm-es5/mds-card-header.entry.js +1 -1
- package/dist/esm-es5/mds-card-media.entry.js +1 -1
- package/dist/esm-es5/mds-card.entry.js +7 -1
- package/dist/esm-es5/mds-details.entry.js +4 -1
- package/dist/esm-es5/mds-dropdown.entry.js +102 -1
- package/dist/esm-es5/mds-emoji.entry.js +899 -3
- package/dist/esm-es5/mds-entity.entry.js +1 -1
- package/dist/esm-es5/mds-file-preview.entry.js +23 -2
- package/dist/esm-es5/mds-file.entry.js +2823 -3
- package/dist/esm-es5/mds-filter-item.entry.js +1 -1
- package/dist/esm-es5/mds-filter.entry.js +11 -1
- package/dist/esm-es5/mds-header-bar.entry.js +11 -1
- package/dist/esm-es5/mds-header.entry.js +30 -1
- package/dist/esm-es5/mds-horizontal-scroll.entry.js +45 -1
- package/dist/esm-es5/mds-hr.entry.js +1 -1
- package/dist/esm-es5/mds-img.entry.js +15 -1
- package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range.entry.js +39 -1
- package/dist/esm-es5/mds-input-date.entry.js +50 -1
- package/dist/esm-es5/mds-input-field.entry.js +22 -1
- package/dist/esm-es5/mds-input-otp.entry.js +13 -1
- package/dist/esm-es5/mds-input-range.entry.js +24 -1
- package/dist/esm-es5/mds-input-select.entry.js +39 -1
- package/dist/esm-es5/mds-input-switch_2.entry.js +27 -1
- package/dist/esm-es5/mds-input-tip_2.entry.js +10 -1
- package/dist/esm-es5/mds-input-upload.entry.js +63 -1
- package/dist/esm-es5/mds-input.entry.js +134 -1
- package/dist/esm-es5/mds-keyboard-key.entry.js +1 -1
- package/dist/esm-es5/mds-keyboard.entry.js +11 -1
- package/dist/esm-es5/mds-kpi-item.entry.js +11 -1
- package/dist/esm-es5/mds-kpi.entry.js +1 -1
- package/dist/esm-es5/mds-label.entry.js +16 -1
- package/dist/esm-es5/mds-list-item.entry.js +7 -1
- package/dist/esm-es5/mds-list.entry.js +1 -1
- package/dist/esm-es5/mds-mention.entry.js +4 -1
- package/dist/esm-es5/mds-modal.entry.js +68 -1
- package/dist/esm-es5/mds-note.entry.js +7 -1
- package/dist/esm-es5/mds-notification.entry.js +13 -1
- package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
- package/dist/esm-es5/mds-paginator.entry.js +14 -1
- package/dist/esm-es5/mds-policy-ai.entry.js +7 -1
- package/dist/esm-es5/mds-pref-animation.entry.js +1 -1
- package/dist/esm-es5/mds-pref-consumption.entry.js +1 -1
- package/dist/esm-es5/mds-pref-contrast.entry.js +4 -1
- package/dist/esm-es5/mds-pref-language-item.entry.js +13 -1
- package/dist/esm-es5/mds-pref-language.entry.js +15 -1
- package/dist/esm-es5/mds-pref-mode.entry.js +4 -0
- package/dist/esm-es5/mds-pref-theme-item.entry.js +13 -0
- package/dist/esm-es5/mds-pref-theme.entry.js +38 -1
- package/dist/esm-es5/mds-pref.entry.js +9 -1
- package/dist/esm-es5/mds-price-table-features-cell.entry.js +4 -1
- 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 +7 -1
- 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 +32 -1
- package/dist/esm-es5/mds-push-notification-item.entry.js +16 -1
- package/dist/esm-es5/mds-push-notification.entry.js +49 -1
- package/dist/esm-es5/mds-quote.entry.js +7 -1
- package/dist/esm-es5/mds-radial-menu-item.entry.js +10 -1
- package/dist/esm-es5/mds-radial-menu.entry.js +28 -1
- package/dist/esm-es5/mds-separator.entry.js +1 -1
- package/dist/esm-es5/mds-status-bar.entry.js +10 -1
- package/dist/esm-es5/mds-stepper-bar-item.entry.js +16 -1
- package/dist/esm-es5/mds-stepper-bar.entry.js +19 -1
- package/dist/esm-es5/mds-tab-bar-item.entry.js +9 -1
- package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
- package/dist/esm-es5/mds-tab_2.entry.js +26 -1
- 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 +4 -1
- package/dist/esm-es5/mds-table-header.entry.js +14 -1
- package/dist/esm-es5/mds-table-row.entry.js +8 -1
- package/dist/esm-es5/mds-table.entry.js +15 -1
- package/dist/esm-es5/mds-text.entry.js +27 -1
- package/dist/esm-es5/mds-toast.entry.js +15 -1
- package/dist/esm-es5/mds-tooltip.entry.js +37 -1
- package/dist/esm-es5/mds-tree-item.entry.js +16 -1
- package/dist/esm-es5/mds-tree.entry.js +20 -1
- package/dist/esm-es5/mds-url-view.entry.js +7 -1
- package/dist/esm-es5/mds-usage.entry.js +4 -1
- package/dist/esm-es5/mds-video-wall.entry.js +16 -1
- package/dist/esm-es5/mds-zero.entry.js +1 -1
- package/dist/esm-es5/preference-CKerJx2M.js +58 -0
- package/dist/esm-es5/slot-C0o_l0td.js +23 -0
- package/dist/hydrate/index.js +4695 -2035
- package/dist/hydrate/index.mjs +4695 -2035
- package/dist/magma-components/index.esm.js +1 -1
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/magma-components.js +1 -1
- package/dist/magma-components/p-03be5c0c.entry.js +1 -0
- package/dist/magma-components/p-0715a2cb.system.entry.js +12 -0
- package/dist/magma-components/p-071f18c6.system.entry.js +27 -0
- package/dist/magma-components/p-0798b0bf.system.entry.js +24 -0
- package/dist/magma-components/p-07fde74d.system.entry.js +39 -0
- package/dist/magma-components/p-086fb3aa.entry.js +1 -0
- package/dist/magma-components/p-0a088e7d.system.entry.js +10 -0
- package/dist/magma-components/p-0a691082.entry.js +1 -0
- package/dist/magma-components/p-0ad3b4da.system.entry.js +102 -0
- package/dist/magma-components/p-0af8d821.entry.js +1 -0
- package/dist/magma-components/p-0ec21574.system.entry.js +10 -0
- package/dist/magma-components/p-0f6bb54d.system.entry.js +22 -0
- package/dist/magma-components/p-102d3bd3.system.entry.js +1 -0
- package/dist/magma-components/p-10704ede.system.entry.js +4 -0
- package/dist/magma-components/p-15f63bf3.entry.js +1 -0
- package/dist/magma-components/p-16e9fb14.system.entry.js +7 -0
- package/dist/magma-components/p-1780b8ba.entry.js +1 -0
- package/dist/magma-components/p-181dfb04.entry.js +1 -0
- package/dist/magma-components/p-184720be.system.entry.js +1 -0
- package/dist/magma-components/p-18f7b970.system.entry.js +4 -0
- package/dist/magma-components/p-1a8c5086.system.entry.js +19 -0
- package/dist/magma-components/p-1afc0452.entry.js +1 -0
- package/dist/magma-components/p-1c0a7e24.system.entry.js +30 -0
- package/dist/magma-components/p-1cce738a.system.entry.js +32 -0
- package/dist/magma-components/p-1dcfb13e.entry.js +1 -0
- package/dist/magma-components/p-1df6ac96.system.entry.js +7 -0
- package/dist/magma-components/p-209063b6.system.entry.js +50 -0
- package/dist/magma-components/p-216f95cc.system.entry.js +1 -0
- package/dist/magma-components/p-21891a24.entry.js +1 -0
- package/dist/magma-components/p-21d6687a.system.entry.js +7 -0
- package/dist/magma-components/p-231505e8.entry.js +1 -0
- package/dist/magma-components/p-23e61db9.system.entry.js +4 -0
- package/dist/magma-components/p-241dbf61.entry.js +1 -0
- package/dist/magma-components/p-25935d33.system.entry.js +1 -0
- package/dist/magma-components/p-284c40cd.system.entry.js +4 -0
- package/dist/magma-components/p-29684655.system.entry.js +16 -0
- package/dist/magma-components/p-2b73fee6.entry.js +1 -0
- package/dist/magma-components/p-2d5aadba.system.entry.js +7 -0
- package/dist/magma-components/p-2de17848.entry.js +1 -0
- package/dist/magma-components/p-34482514.entry.js +1 -0
- package/dist/magma-components/p-34c0890e.entry.js +1 -0
- package/dist/magma-components/p-3635eca6.system.entry.js +1 -0
- package/dist/magma-components/p-3b0c1202.entry.js +1 -0
- package/dist/magma-components/p-3d8e63a2.system.entry.js +63 -0
- package/dist/magma-components/p-3db23b5f.system.entry.js +16 -0
- package/dist/magma-components/p-3ec7d3ea.entry.js +1 -0
- package/dist/magma-components/p-3f7d3060.system.entry.js +42 -0
- package/dist/magma-components/p-40563e33.entry.js +1 -0
- package/dist/magma-components/p-41bf6f25.system.entry.js +81 -0
- package/dist/magma-components/p-421a630e.entry.js +1 -0
- package/dist/magma-components/p-4297da23.system.entry.js +1 -0
- package/dist/magma-components/p-4299b76b.system.entry.js +4 -0
- package/dist/magma-components/p-4543501c.entry.js +1 -0
- package/dist/magma-components/p-454c4774.entry.js +1 -0
- package/dist/magma-components/p-4616bc07.entry.js +1 -0
- package/dist/magma-components/p-46786d71.system.entry.js +14 -0
- package/dist/magma-components/p-470e5ac8.system.entry.js +1 -0
- package/dist/magma-components/p-481008e9.system.entry.js +13 -0
- package/dist/magma-components/p-48d37230.entry.js +1 -0
- package/dist/magma-components/p-4b3a8132.system.entry.js +13 -0
- package/dist/magma-components/p-4c8316a8.entry.js +1 -0
- package/dist/magma-components/p-4c95442e.entry.js +1 -0
- package/dist/magma-components/p-4e4bdbf8.entry.js +1 -0
- package/dist/magma-components/p-4e5ab0e4.system.entry.js +16 -0
- package/dist/magma-components/p-54b995c2.system.entry.js +4 -0
- package/dist/magma-components/p-56ad5bf2.entry.js +1 -0
- package/dist/magma-components/p-59de81ac.entry.js +1 -0
- package/dist/magma-components/p-5a7ead55.system.entry.js +37 -0
- package/dist/magma-components/p-5e43274a.system.entry.js +15 -0
- package/dist/magma-components/p-5f545f85.system.entry.js +1 -0
- package/dist/magma-components/p-61a5ac3d.system.entry.js +17 -0
- package/dist/magma-components/p-636cc471.entry.js +1 -0
- package/dist/magma-components/p-66ce2dee.entry.js +1 -0
- package/dist/magma-components/p-67d80d37.system.entry.js +1 -0
- package/dist/magma-components/p-6937f340.entry.js +1 -0
- package/dist/magma-components/p-69d1b815.entry.js +1 -0
- package/dist/magma-components/p-6b7e449f.entry.js +1 -0
- package/dist/magma-components/p-6c417ea1.system.entry.js +913 -0
- package/dist/magma-components/p-6cd7cfe3.entry.js +1 -0
- package/dist/magma-components/p-6ce60d59.entry.js +1 -0
- package/dist/magma-components/p-6cf760ea.system.entry.js +45 -0
- package/dist/magma-components/p-6dc27543.entry.js +1 -0
- package/dist/magma-components/p-6de37588.entry.js +1 -0
- package/dist/magma-components/p-6edc4f16.system.entry.js +14 -0
- package/dist/magma-components/p-6f6b5eb5.entry.js +1 -0
- package/dist/magma-components/p-7090184f.entry.js +1 -0
- package/dist/magma-components/p-716ad14c.entry.js +1 -0
- package/dist/magma-components/p-71804224.entry.js +1 -0
- package/dist/magma-components/p-735dc594.system.entry.js +1 -0
- package/dist/magma-components/p-739fdf76.system.entry.js +1 -0
- package/dist/magma-components/p-74b0902a.entry.js +1 -0
- package/dist/magma-components/p-7530a2f2.entry.js +1 -0
- package/dist/magma-components/p-75dd012a.system.entry.js +11 -0
- package/dist/magma-components/p-75fcf1a4.entry.js +1 -0
- package/dist/magma-components/p-76ae22d6.entry.js +1 -0
- package/dist/magma-components/p-78248693.entry.js +1 -0
- package/dist/magma-components/p-78fef00a.entry.js +1 -0
- package/dist/magma-components/p-7c0d202c.entry.js +1 -0
- package/dist/magma-components/p-7d317ff0.entry.js +8 -0
- package/dist/magma-components/p-7f2e3b74.system.entry.js +2838 -0
- package/dist/magma-components/p-7fc29447.entry.js +1 -0
- package/dist/magma-components/p-8103d4d4.system.entry.js +30 -0
- package/dist/magma-components/p-81b72b6e.entry.js +1 -0
- package/dist/magma-components/p-859ab5a2.entry.js +18 -0
- package/dist/magma-components/p-896ae0ee.entry.js +1 -0
- package/dist/magma-components/p-89a3bc7a.system.entry.js +16 -0
- package/dist/magma-components/p-8b7fa8d7.entry.js +1 -0
- package/dist/magma-components/p-8dff6606.system.entry.js +11 -0
- package/dist/magma-components/p-8e40eda3.system.entry.js +9 -0
- package/dist/magma-components/p-91b9d4e7.system.entry.js +4 -0
- package/dist/magma-components/p-92e1001f.entry.js +1 -0
- package/dist/magma-components/p-9378b373.system.entry.js +49 -0
- package/dist/magma-components/p-960dc9b5.system.entry.js +15 -0
- package/dist/magma-components/p-9626eaff.system.entry.js +134 -0
- package/dist/magma-components/p-9741d95e.system.entry.js +7 -0
- package/dist/magma-components/p-97ea9e6e.system.entry.js +68 -0
- package/dist/magma-components/p-9846fe89.system.entry.js +1 -0
- package/dist/magma-components/p-998721b9.system.entry.js +1 -0
- package/dist/magma-components/p-9a5296c0.system.entry.js +7 -0
- package/dist/magma-components/p-9b2ee3fe.entry.js +1 -0
- package/dist/magma-components/p-9be4a736.entry.js +1 -0
- package/dist/magma-components/p-9ca7932d.system.entry.js +8 -0
- package/dist/magma-components/p-9d86477d.system.entry.js +1 -0
- package/dist/magma-components/p-9d9a947b.entry.js +18 -0
- package/dist/magma-components/p-9e3bc553.system.entry.js +26 -0
- package/dist/magma-components/p-9e58467e.system.entry.js +10 -0
- package/dist/magma-components/p-9e9a1ebd.system.entry.js +15 -0
- package/dist/magma-components/p-A9TZf0Ii.js +1 -0
- package/dist/magma-components/p-BFnx_0hM.js +5 -0
- package/dist/magma-components/p-BJKToXNf.system.js +2733 -1
- package/dist/magma-components/p-BbMKuVem.js +1 -0
- package/dist/magma-components/p-C0o_l0td.js +1 -0
- package/dist/magma-components/p-C2FHijr2.system.js +231 -0
- package/dist/magma-components/p-CACEYk42.js +1 -0
- package/dist/magma-components/p-CBam2PI8.system.js +79 -0
- package/dist/magma-components/p-CDTiTqY0.system.js +58 -0
- package/dist/magma-components/p-CHAGzQT-.js +1 -0
- package/dist/magma-components/p-CI85vVs8.system.js +9 -0
- package/dist/magma-components/p-CnXBPjmc.system.js +5 -0
- package/dist/magma-components/p-DB8Rm54c.js +1 -0
- package/dist/magma-components/p-DIiEV39g.js +3 -0
- package/dist/magma-components/p-Dg8nxRUX.system.js +201 -0
- package/dist/magma-components/p-DmC-b-ZK.system.js +67 -0
- package/dist/magma-components/p-KRu9I7dw.js +1 -0
- package/dist/magma-components/p-LerCJgfP.system.js +5 -0
- package/dist/magma-components/p-MGv0i39Y.system.js +162 -0
- package/dist/magma-components/p-RJ5ZA1kY.system.js +23 -0
- package/dist/magma-components/p-a3279a73.system.entry.js +11 -0
- package/dist/magma-components/p-a3b0f586.entry.js +1 -0
- package/dist/magma-components/p-a3fc2ea4.system.entry.js +39 -0
- package/dist/magma-components/p-a5ac5e0b.entry.js +1 -0
- package/dist/magma-components/p-a8ec3080.system.entry.js +27 -0
- package/dist/magma-components/p-a906a02f.system.entry.js +16 -0
- package/dist/magma-components/p-a93b2a39.entry.js +1 -0
- package/dist/magma-components/p-aa267e7b.entry.js +1 -0
- package/dist/magma-components/p-ab9095ae.system.entry.js +4 -0
- package/dist/magma-components/p-ac544ab1.entry.js +1 -0
- package/dist/magma-components/p-ace198e9.entry.js +1 -0
- package/dist/magma-components/p-ad3983b2.entry.js +1 -0
- package/dist/magma-components/p-af41c8b8.system.entry.js +1 -0
- package/dist/magma-components/p-af45f0a5.system.entry.js +20 -0
- package/dist/magma-components/p-b23a6c83.entry.js +1 -0
- package/dist/magma-components/p-b3a3578c.entry.js +1 -0
- package/dist/magma-components/p-b49e0321.system.entry.js +1 -0
- package/dist/magma-components/p-b71e0d51.entry.js +1 -0
- package/dist/magma-components/p-b8d4a14e.entry.js +1 -0
- package/dist/magma-components/p-b9fecfd5.entry.js +1 -0
- package/dist/magma-components/p-ba035f90.entry.js +1 -0
- package/dist/magma-components/p-bc51d310.system.entry.js +1 -0
- package/dist/magma-components/p-bd490a8e.entry.js +1 -0
- package/dist/magma-components/p-be198039.system.entry.js +4 -0
- package/dist/magma-components/p-be692266.system.entry.js +13 -0
- package/dist/magma-components/p-bf7168b4.entry.js +1 -0
- package/dist/magma-components/p-bf84d9fa.entry.js +1 -0
- package/dist/magma-components/p-c1fb2eb7.entry.js +1 -0
- package/dist/magma-components/p-c4e58240.entry.js +1 -0
- package/dist/magma-components/p-c573de10.entry.js +1 -0
- package/dist/magma-components/p-c6be3db7.system.entry.js +1 -0
- package/dist/magma-components/p-c70d7159.entry.js +1 -0
- package/dist/magma-components/p-c7517884.system.entry.js +38 -0
- package/dist/magma-components/p-c9be79bd.entry.js +1 -0
- package/dist/magma-components/p-c9e12c2b.system.entry.js +7 -0
- package/dist/magma-components/p-cb6a1908.entry.js +1 -0
- package/dist/magma-components/p-cbd5aef4.system.entry.js +14 -0
- package/dist/magma-components/p-cd21137b.system.entry.js +1 -0
- package/dist/magma-components/p-cd5866c8.entry.js +1 -0
- package/dist/magma-components/p-ce0ecc75.system.entry.js +15 -0
- package/dist/magma-components/p-ce4e1a41.system.entry.js +1 -0
- package/dist/magma-components/p-d3116844.entry.js +1 -0
- package/dist/magma-components/p-d38165ed.system.entry.js +1 -0
- package/dist/magma-components/p-d3933a22.entry.js +1 -0
- package/dist/magma-components/p-d44c49d6.system.entry.js +8 -0
- package/dist/magma-components/p-d4a529ce.entry.js +1 -0
- package/dist/magma-components/p-d6d4aa1a.entry.js +1 -0
- package/dist/magma-components/p-d81e7100.system.entry.js +15 -0
- package/dist/magma-components/p-d8c27f4b.entry.js +1 -0
- package/dist/magma-components/p-d921d876.entry.js +1 -0
- package/dist/magma-components/p-da1ac3e1.entry.js +1 -0
- package/dist/magma-components/p-ddbdce09.entry.js +1 -0
- package/dist/magma-components/p-de6bc3c8.entry.js +1 -0
- package/dist/magma-components/p-df2b7607.system.entry.js +4 -0
- package/dist/magma-components/p-e05d2df8.system.entry.js +4 -0
- package/dist/magma-components/p-e0b2ef8f.system.entry.js +1 -0
- package/dist/magma-components/p-e0c50a2d.entry.js +1 -0
- package/dist/magma-components/p-e1277efe.system.entry.js +1 -0
- package/dist/magma-components/p-e1e6dd97.entry.js +1 -0
- package/dist/magma-components/p-e2f7a9bd.system.entry.js +1 -0
- package/dist/magma-components/p-e3e893c4.entry.js +1 -0
- package/dist/magma-components/p-e4868ade.entry.js +1 -0
- package/dist/magma-components/p-e5c6f9a9.system.entry.js +7 -0
- package/dist/magma-components/p-e5da7036.entry.js +1 -0
- package/dist/magma-components/p-e6dccab5.system.entry.js +1 -0
- package/dist/magma-components/p-ec59ec9a.entry.js +1 -0
- package/dist/magma-components/p-eddcef53.system.entry.js +1 -0
- package/dist/magma-components/p-eed00e7f.system.entry.js +1 -0
- package/dist/magma-components/p-ef8cb401.entry.js +1 -0
- package/dist/magma-components/p-efe8d359.entry.js +1 -0
- package/dist/magma-components/p-f070a5b5.system.entry.js +11 -0
- package/dist/magma-components/p-f0a168f4.system.entry.js +13 -0
- package/dist/magma-components/p-f1462410.system.entry.js +9 -0
- package/dist/magma-components/p-f23d4974.entry.js +1 -0
- package/dist/magma-components/p-f542246f.system.entry.js +1 -0
- package/dist/magma-components/p-f5c680dd.entry.js +1 -0
- package/dist/magma-components/p-f60c6e8e.system.entry.js +40 -0
- package/dist/magma-components/p-f8369939.entry.js +1 -0
- package/dist/magma-components/p-f97ede3e.system.entry.js +19 -0
- package/dist/magma-components/p-f97ff5b2.entry.js +1 -0
- package/dist/magma-components/p-fe1662e8.system.entry.js +28 -0
- package/dist/magma-components/p-ff133cbd.entry.js +1 -0
- package/dist/magma-components/p-fff44704.entry.js +1 -0
- package/dist/magma-components/p-opeIIa7t.system.js +7 -0
- package/dist/stats.json +5873 -5582
- package/dist/types/common/date.d.ts +5 -1
- package/dist/types/common/floating-controller.d.ts +59 -5
- package/dist/types/common/form.d.ts +10 -0
- package/dist/types/common/locale.d.ts +0 -5
- package/dist/types/common/preference.d.ts +54 -0
- package/dist/types/common/slot.d.ts +11 -1
- package/dist/types/common/yugop/random-text.d.ts +8 -0
- package/dist/types/components/mds-accordion/mds-accordion.d.ts +2 -2
- package/dist/types/components/mds-author/mds-author.d.ts +2 -1
- package/dist/types/components/mds-avatar/mds-avatar.d.ts +2 -0
- package/dist/types/components/mds-banner/mds-banner.d.ts +4 -9
- package/dist/types/components/mds-breadcrumb/mds-breadcrumb.d.ts +2 -8
- package/dist/types/components/mds-button/mds-button.d.ts +0 -1
- package/dist/types/components/mds-button-group/mds-button-group.d.ts +1 -1
- package/dist/types/components/mds-calendar/mds-calendar.d.ts +33 -18
- package/dist/types/components/mds-card/mds-card.d.ts +2 -2
- package/dist/types/components/mds-card-header/mds-card-header.d.ts +2 -1
- package/dist/types/components/mds-chip/mds-chip.d.ts +0 -6
- package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +44 -14
- package/dist/types/components/mds-emoji/mds-emoji.d.ts +9 -2
- package/dist/types/components/mds-entity/mds-entity.d.ts +3 -2
- package/dist/types/components/mds-file/mds-file.d.ts +2 -7
- package/dist/types/components/mds-file-preview/mds-file-preview.d.ts +0 -5
- package/dist/types/components/mds-filter/mds-filter.d.ts +10 -0
- package/dist/types/components/mds-header/mds-header.d.ts +2 -2
- package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +2 -1
- package/dist/types/components/mds-help/mds-help.d.ts +2 -2
- package/dist/types/components/mds-icon/mds-icon.d.ts +0 -1
- package/dist/types/components/mds-img/mds-img.d.ts +2 -7
- package/dist/types/components/mds-input/mds-input.d.ts +8 -6
- package/dist/types/components/mds-input-date/mds-input-date.d.ts +11 -4
- package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +11 -3
- package/dist/types/components/mds-input-field/mds-input-field.d.ts +3 -0
- package/dist/types/components/mds-input-otp/mds-input-otp.d.ts +7 -0
- package/dist/types/components/mds-input-select/mds-input-select.d.ts +5 -4
- package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +0 -5
- package/dist/types/components/mds-input-tip-item/mds-input-tip-item.d.ts +0 -7
- package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +5 -7
- package/dist/types/components/mds-input-upload/meta/types.d.ts +1 -1
- package/dist/types/components/mds-keyboard/mds-keyboard.d.ts +1 -7
- package/dist/types/components/mds-keyboard-key/mds-keyboard-key.d.ts +0 -7
- package/dist/types/components/mds-keyboard-key/meta/icons.d.ts +1 -1
- package/dist/types/components/mds-kpi-item/mds-kpi-item.d.ts +8 -0
- package/dist/types/components/mds-label/mds-label.d.ts +0 -5
- package/dist/types/components/mds-mention/mds-mention.d.ts +13 -0
- package/dist/types/components/mds-mention/meta/interface.d.ts +5 -0
- package/dist/types/components/mds-modal/mds-modal.d.ts +31 -19
- package/dist/types/components/mds-modal/meta/types.d.ts +0 -1
- package/dist/types/components/mds-note/mds-note.d.ts +0 -6
- package/dist/types/components/mds-notification/mds-notification.d.ts +2 -2
- package/dist/types/components/mds-paginator/mds-paginator.d.ts +14 -1
- package/dist/types/components/mds-policy-ai/mds-policy-ai.d.ts +1 -7
- package/dist/types/components/mds-pref/mds-pref.d.ts +12 -8
- package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +1 -6
- package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +1 -6
- package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +1 -6
- package/dist/types/components/mds-pref-language/mds-pref-language.d.ts +3 -9
- package/dist/types/components/mds-pref-language-item/mds-pref-language-item.d.ts +3 -7
- package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +62 -0
- package/dist/types/components/mds-pref-mode/meta/dictionary.d.ts +3 -0
- package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +63 -36
- package/dist/types/components/mds-pref-theme/meta/dictionary.d.ts +2 -3
- package/dist/types/components/mds-pref-theme-item/mds-pref-theme-item.d.ts +28 -0
- package/dist/types/components/mds-push-notification-item/mds-push-notification-item.d.ts +4 -8
- package/dist/types/components/mds-radial-progress/mds-radial-progress.d.ts +0 -1
- package/dist/types/components/mds-stepper-bar/mds-stepper-bar.d.ts +10 -0
- package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +0 -6
- package/dist/types/components/mds-tab/mds-tab.d.ts +2 -1
- package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +17 -0
- package/dist/types/components/mds-table/mds-table.d.ts +10 -5
- package/dist/types/components/mds-table-header/mds-table-header.d.ts +0 -5
- package/dist/types/components/mds-table-row/mds-table-row.d.ts +8 -7
- package/dist/types/components/mds-toast/mds-toast.d.ts +2 -1
- package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +8 -8
- package/dist/types/components/mds-tree/mds-tree.d.ts +5 -0
- package/dist/types/components/mds-tree-item/mds-tree-item.d.ts +26 -6
- package/dist/types/components/mds-url-view/mds-url-view.d.ts +0 -6
- package/dist/types/components/mds-usage/mds-usage.d.ts +0 -6
- package/dist/types/components/mds-video-wall/mds-video-wall.d.ts +2 -1
- package/dist/types/components.d.ts +437 -393
- package/dist/types/event-detail/preference.d.ts +2 -2
- package/dist/types/event-detail/theme.d.ts +5 -0
- package/dist/types/stencil-public-runtime.d.ts +12 -0
- package/dist/types/type/preference.d.ts +16 -3
- package/loader/index.d.ts +1 -1
- package/package.json +61 -64
- package/dist/cjs/date-dnDGaLCn.js +0 -16
- package/dist/cjs/floating-controller-DA8xyqCa.js +0 -203
- package/dist/cjs/floating-ui.dom-DW-02Mib.js +0 -1703
- package/dist/cjs/index-CNuKb6Lv.js +0 -2896
- package/dist/cjs/keyboard-manager-BXKT5TGW.js +0 -52
- package/dist/cjs/locale-oGW3SvGJ.js +0 -837
- package/dist/cjs/mds-pref-theme-variant-item.cjs.entry.js +0 -63
- package/dist/cjs/mds-pref-theme-variant.cjs.entry.js +0 -149
- package/dist/cjs/slot-CI0KpgtY.js +0 -52
- package/dist/collection/components/mds-accordion/test/mds-accordion.stories.js +0 -38
- package/dist/collection/components/mds-accordion-item/test/mds-accordion-item.stories.js +0 -35
- package/dist/collection/components/mds-accordion-timer/test/mds-accordion-timer.stories.js +0 -51
- package/dist/collection/components/mds-accordion-timer-item/test/mds-accordion-timer-item.stories.js +0 -52
- package/dist/collection/components/mds-author/test/mds-author.stories.js +0 -12
- package/dist/collection/components/mds-avatar/test/mds-avatar.stories.js +0 -71
- package/dist/collection/components/mds-avatar-stack/test/mds-avatar-stack.stories.js +0 -34
- package/dist/collection/components/mds-avatar-stack-item/test/mds-avatar-stack-item.stories.js +0 -60
- package/dist/collection/components/mds-badge/test/mds-badge.stories.js +0 -46
- package/dist/collection/components/mds-banner/test/mds-banner.stories.js +0 -106
- package/dist/collection/components/mds-benchmark-bar/test/mds-benchmark-bar.stories.js +0 -64
- package/dist/collection/components/mds-bibliography/test/mds-bibliography.stories.js +0 -104
- package/dist/collection/components/mds-breadcrumb/test/mds-breadcrumb.stories.js +0 -14
- package/dist/collection/components/mds-breadcrumb-item/test/mds-breadcrumb-item.stories.js +0 -24
- package/dist/collection/components/mds-button/test/mds-button.stories.js +0 -346
- package/dist/collection/components/mds-button-dropdown/test/mds-button-dropdown.stories.js +0 -73
- package/dist/collection/components/mds-button-group/test/mds-button-group.stories.js +0 -12
- package/dist/collection/components/mds-calendar/test/mds-calendar.stories.js +0 -24
- package/dist/collection/components/mds-card/test/mds-card.stories.js +0 -82
- package/dist/collection/components/mds-chip/test/mds-chip.stories.js +0 -120
- package/dist/collection/components/mds-details/test/mds-details.stories.js +0 -20
- package/dist/collection/components/mds-dropdown/test/mds-dropdown.stories.js +0 -256
- package/dist/collection/components/mds-emoji/test/mds-emoji.stories.js +0 -87
- package/dist/collection/components/mds-entity/test/mds-entity.stories.js +0 -101
- package/dist/collection/components/mds-file/test/mds-file.stories.js +0 -73
- package/dist/collection/components/mds-file-preview/test/mds-file-preview.stories.js +0 -154
- package/dist/collection/components/mds-filter/test/mds-filter.stories.js +0 -49
- package/dist/collection/components/mds-filter-item/test/mds-filter-item.stories.js +0 -36
- package/dist/collection/components/mds-header/test/mds-header.stories.js +0 -71
- package/dist/collection/components/mds-header-bar/test/mds-header-bar.stories.js +0 -21
- package/dist/collection/components/mds-help/test/mds-help.stories.js +0 -23
- package/dist/collection/components/mds-horizontal-scroll/test/mds-horizontal-scroll.stories.js +0 -48
- package/dist/collection/components/mds-hr/test/mds-hr.stories.js +0 -14
- package/dist/collection/components/mds-icon/test/mds-icon.stories.js +0 -76
- package/dist/collection/components/mds-img/test/mds-img-accessibility.stories.js +0 -34
- package/dist/collection/components/mds-img/test/mds-img.stories.js +0 -62
- package/dist/collection/components/mds-input/test/mds-input.stories.js +0 -302
- package/dist/collection/components/mds-input-date/test/mds-input-date.stories.js +0 -70
- package/dist/collection/components/mds-input-date-range/test/mds-input-date-range.stories.js +0 -109
- package/dist/collection/components/mds-input-field/test/mds-input-field.stories.js +0 -90
- package/dist/collection/components/mds-input-otp/test/mds-input-otp.stories.js +0 -68
- package/dist/collection/components/mds-input-range/test/mds-input-range.stories.js +0 -92
- package/dist/collection/components/mds-input-select/test/mds-input-select.stories.js +0 -97
- package/dist/collection/components/mds-input-switch/test/mds-input-switch.stories.js +0 -169
- package/dist/collection/components/mds-input-tip/test/mds-input-tip.stories.js +0 -20
- package/dist/collection/components/mds-input-tip-item/test/mds-input-tip.stories.js +0 -20
- package/dist/collection/components/mds-input-upload/test/mds-input-upload.stories.js +0 -48
- package/dist/collection/components/mds-keyboard/test/mds-keyboard.stories.js +0 -30
- package/dist/collection/components/mds-keyboard-key/test/mds-keyboard-key.stories.js +0 -20
- package/dist/collection/components/mds-kpi/test/mds-kpi.stories.js +0 -22
- package/dist/collection/components/mds-kpi-item/test/mds-kpi-item.stories.js +0 -34
- package/dist/collection/components/mds-label/test/mds-label.stories.js +0 -72
- package/dist/collection/components/mds-list/test/mds-list.stories.js +0 -8
- package/dist/collection/components/mds-list-item/test/mds-list-item.stories.js +0 -29
- package/dist/collection/components/mds-mention/test/mds-mention.stories.js +0 -31
- package/dist/collection/components/mds-modal/test/mds-modal.stories.js +0 -347
- package/dist/collection/components/mds-note/test/mds-note.stories.js +0 -31
- package/dist/collection/components/mds-notification/test/mds-notification.stories.js +0 -64
- package/dist/collection/components/mds-paginator/test/mds-paginator.stories.js +0 -28
- package/dist/collection/components/mds-policy-ai/test/mds-policy.stories.js +0 -82
- package/dist/collection/components/mds-pref/test/mds-pref.stories.js +0 -26
- package/dist/collection/components/mds-pref-animation/test/mds-pref-animation.stories.js +0 -18
- package/dist/collection/components/mds-pref-consumption/test/mds-pref-consumption.stories.js +0 -18
- package/dist/collection/components/mds-pref-contrast/test/mds-pref-contrast.stories.js +0 -18
- package/dist/collection/components/mds-pref-language/test/mds-pref-language.stories.js +0 -18
- package/dist/collection/components/mds-pref-theme/test/mds-pref-theme.stories.js +0 -24
- package/dist/collection/components/mds-pref-theme-variant/mds-pref-theme-variant.css +0 -40
- package/dist/collection/components/mds-pref-theme-variant/mds-pref-theme-variant.js +0 -288
- package/dist/collection/components/mds-pref-theme-variant/meta/dictionary.js +0 -2
- package/dist/collection/components/mds-pref-theme-variant/test/mds-pref-theme-variant.stories.js +0 -27
- package/dist/collection/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.css +0 -100
- package/dist/collection/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.js +0 -198
- package/dist/collection/components/mds-price-table/test/mds-price-table.stories.js +0 -11
- package/dist/collection/components/mds-price-table-features/test/mds-price-table-features.stories.js +0 -11
- package/dist/collection/components/mds-price-table-features-cell/test/mds-price-table-features-cell.stories.js +0 -11
- package/dist/collection/components/mds-price-table-header/test/mds-price-table-header.stories.js +0 -8
- package/dist/collection/components/mds-price-table-list/test/mds-price-table-list.stories.js +0 -12
- package/dist/collection/components/mds-progress/test/mds-progress.stories.js +0 -66
- package/dist/collection/components/mds-push-notification/test/mds-push-notification.stories.js +0 -104
- package/dist/collection/components/mds-push-notification-item/test/mds-push-notification-item.stories.js +0 -194
- package/dist/collection/components/mds-quote/test/mds-quote.stories.js +0 -33
- package/dist/collection/components/mds-radial-menu/test/mds-radial-menu.stories.js +0 -98
- package/dist/collection/components/mds-radial-menu-item/test/mds-radial-menu-item.stories.js +0 -37
- package/dist/collection/components/mds-radial-progress/test/mds-radial-progress.stories.js +0 -45
- package/dist/collection/components/mds-separator/test/mds-separator.stories.js +0 -8
- package/dist/collection/components/mds-spinner/test/mds-spinner.stories.js +0 -20
- package/dist/collection/components/mds-status-bar/test/mds-status-bar.stories.js +0 -80
- package/dist/collection/components/mds-stepper-bar/test/mds-stepper-bar.stories.js +0 -100
- package/dist/collection/components/mds-stepper-bar-item/test/mds-stepper-bar-item.stories.js +0 -70
- package/dist/collection/components/mds-tab/test/mds-tab.stories.js +0 -152
- package/dist/collection/components/mds-tab-bar/test/mds-tab-bar.stories.js +0 -8
- package/dist/collection/components/mds-tab-bar-item/test/mds-tab-bar-item.stories.js +0 -21
- package/dist/collection/components/mds-tab-item/test/mds-tab-item.stories.js +0 -54
- package/dist/collection/components/mds-table/test/mds-table.stories.js +0 -107
- package/dist/collection/components/mds-text/test/mds-text.stories.js +0 -183
- package/dist/collection/components/mds-toast/test/mds-toast.stories.js +0 -52
- package/dist/collection/components/mds-tooltip/test/mds-tooltip.stories.js +0 -155
- package/dist/collection/components/mds-tree/test/mds-tree-apk.stories.js +0 -66
- package/dist/collection/components/mds-tree/test/mds-tree.stories.js +0 -83
- package/dist/collection/components/mds-tree-item/test/mds-tree-item.stories.js +0 -71
- package/dist/collection/components/mds-url-view/test/mds-url-view.stories.js +0 -75
- package/dist/collection/components/mds-usage/test/mds-usage.stories.js +0 -33
- package/dist/collection/components/mds-video-wall/test/mds-video-wall.stories.js +0 -104
- package/dist/collection/components/mds-zero/test/mds-zero.stories.js +0 -8
- package/dist/collection/storybook/box-shadows.stories.js +0 -53
- package/dist/collection/storybook/color-scale.stories.js +0 -465
- package/dist/collection/storybook/components-preview.stories.js +0 -36
- package/dist/collection/storybook/example-page.stories.js +0 -10
- package/dist/collection/storybook/fouc-hydrated.stories.js +0 -20
- package/dist/collection/storybook/input-form.stories.js +0 -40
- package/dist/collection/storybook/same-childrend-slot-names.stories.js +0 -10
- package/dist/collection/test/file.js +0 -53
- package/dist/collection/test/mock.js +0 -19
- package/dist/components/date.js +0 -1
- package/dist/components/floating-controller.js +0 -1
- package/dist/components/floating-ui.dom.js +0 -1
- package/dist/components/icons-set.service.js +0 -1
- package/dist/components/keyboard-manager.js +0 -1
- package/dist/components/locale.it.js +0 -1
- package/dist/components/locale.js +0 -5
- package/dist/components/mds-avatar-stack-item2.js +0 -1
- package/dist/components/mds-avatar2.js +0 -1
- package/dist/components/mds-badge2.js +0 -1
- package/dist/components/mds-banner2.js +0 -1
- package/dist/components/mds-button2.js +0 -1
- package/dist/components/mds-calendar-cell2.js +0 -1
- package/dist/components/mds-calendar2.js +0 -1
- package/dist/components/mds-chip2.js +0 -1
- package/dist/components/mds-dropdown2.js +0 -1
- package/dist/components/mds-file-preview2.js +0 -8
- package/dist/components/mds-filter-item2.js +0 -1
- package/dist/components/mds-help2.js +0 -1
- package/dist/components/mds-icon2.js +0 -1
- package/dist/components/mds-img2.js +0 -1
- package/dist/components/mds-input-switch2.js +0 -1
- package/dist/components/mds-input-tip-item2.js +0 -1
- package/dist/components/mds-input-tip2.js +0 -1
- package/dist/components/mds-input2.js +0 -1
- package/dist/components/mds-modal2.js +0 -1
- package/dist/components/mds-paginator-item2.js +0 -1
- package/dist/components/mds-pref-theme-variant-item.d.ts +0 -11
- package/dist/components/mds-pref-theme-variant-item.js +0 -1
- package/dist/components/mds-pref-theme-variant.d.ts +0 -11
- package/dist/components/mds-pref-theme-variant.js +0 -1
- package/dist/components/mds-progress2.js +0 -1
- package/dist/components/mds-radial-progress2.js +0 -1
- package/dist/components/mds-separator2.js +0 -1
- package/dist/components/mds-spinner2.js +0 -1
- package/dist/components/mds-tab-item2.js +0 -1
- package/dist/components/mds-tab2.js +0 -1
- package/dist/components/mds-table-cell2.js +0 -1
- package/dist/components/mds-table-header-cell2.js +0 -1
- package/dist/components/mds-text2.js +0 -1
- package/dist/components/mds-tooltip2.js +0 -1
- package/dist/components/slot.js +0 -1
- package/dist/esm/date-C1oxPa_J.js +0 -14
- package/dist/esm/floating-controller-CP3-OFb9.js +0 -200
- package/dist/esm/floating-ui.dom-8RYXTPXs.js +0 -1695
- package/dist/esm/index-CAd5312P.js +0 -2869
- package/dist/esm/keyboard-manager-BudfaWhu.js +0 -50
- package/dist/esm/locale-a4oAcjYG.js +0 -835
- package/dist/esm/mds-pref-theme-variant-item.entry.js +0 -61
- package/dist/esm/mds-pref-theme-variant.entry.js +0 -147
- package/dist/esm/slot-ttrRC6OE.js +0 -48
- package/dist/esm-es5/date-C1oxPa_J.js +0 -1
- package/dist/esm-es5/floating-controller-CP3-OFb9.js +0 -1
- package/dist/esm-es5/floating-ui.dom-8RYXTPXs.js +0 -1
- package/dist/esm-es5/index-CAd5312P.js +0 -1
- package/dist/esm-es5/keyboard-manager-BudfaWhu.js +0 -1
- package/dist/esm-es5/locale-a4oAcjYG.js +0 -5
- package/dist/esm-es5/mds-pref-theme-variant-item.entry.js +0 -1
- package/dist/esm-es5/mds-pref-theme-variant.entry.js +0 -1
- package/dist/esm-es5/slot-ttrRC6OE.js +0 -1
- package/dist/magma-components/p-00313884.entry.js +0 -1
- package/dist/magma-components/p-01dc43dd.entry.js +0 -1
- package/dist/magma-components/p-01dca5e8.entry.js +0 -1
- package/dist/magma-components/p-030d45e3.entry.js +0 -1
- package/dist/magma-components/p-0328a23e.system.entry.js +0 -1
- package/dist/magma-components/p-08c6869a.entry.js +0 -1
- package/dist/magma-components/p-09de9fc5.system.entry.js +0 -1
- package/dist/magma-components/p-0acb46c8.entry.js +0 -1
- package/dist/magma-components/p-0b10ef9f.system.entry.js +0 -1
- package/dist/magma-components/p-0b11f03b.entry.js +0 -1
- package/dist/magma-components/p-0be56202.system.entry.js +0 -1
- package/dist/magma-components/p-0de58147.entry.js +0 -1
- package/dist/magma-components/p-0e481e5c.system.entry.js +0 -1
- package/dist/magma-components/p-0f104850.system.entry.js +0 -1
- package/dist/magma-components/p-1073bf63.entry.js +0 -1
- package/dist/magma-components/p-11490a89.entry.js +0 -1
- package/dist/magma-components/p-137b0bbe.system.entry.js +0 -1
- package/dist/magma-components/p-14a98729.entry.js +0 -1
- package/dist/magma-components/p-14d858f8.system.entry.js +0 -1
- package/dist/magma-components/p-14e918de.system.entry.js +0 -1
- package/dist/magma-components/p-154ef5b9.entry.js +0 -1
- package/dist/magma-components/p-158af6e3.entry.js +0 -1
- package/dist/magma-components/p-17427d8a.system.entry.js +0 -1
- package/dist/magma-components/p-1805592d.entry.js +0 -1
- package/dist/magma-components/p-18563022.entry.js +0 -1
- package/dist/magma-components/p-19f99447.entry.js +0 -1
- package/dist/magma-components/p-1a56d383.system.entry.js +0 -1
- package/dist/magma-components/p-1bb7895a.system.entry.js +0 -1
- package/dist/magma-components/p-1ce791c1.system.entry.js +0 -1
- package/dist/magma-components/p-1da904c3.system.entry.js +0 -1
- package/dist/magma-components/p-20961bf1.entry.js +0 -1
- package/dist/magma-components/p-24a9ed63.system.entry.js +0 -1
- package/dist/magma-components/p-26b131cf.entry.js +0 -1
- package/dist/magma-components/p-28ebb626.entry.js +0 -1
- package/dist/magma-components/p-292f4566.system.entry.js +0 -1
- package/dist/magma-components/p-2a1d3680.system.entry.js +0 -1
- package/dist/magma-components/p-2ab75334.system.entry.js +0 -1
- package/dist/magma-components/p-2ccc796b.system.entry.js +0 -1
- package/dist/magma-components/p-2d9d0887.system.entry.js +0 -1
- package/dist/magma-components/p-2df01d02.system.entry.js +0 -1
- package/dist/magma-components/p-3145c7eb.entry.js +0 -1
- package/dist/magma-components/p-34018dfe.entry.js +0 -1
- package/dist/magma-components/p-35a9f1b4.system.entry.js +0 -18
- package/dist/magma-components/p-35ec8bbd.entry.js +0 -1
- package/dist/magma-components/p-370f9463.system.entry.js +0 -1
- package/dist/magma-components/p-387948c4.system.entry.js +0 -1
- package/dist/magma-components/p-3aeecbba.system.entry.js +0 -1
- package/dist/magma-components/p-3af9132f.system.entry.js +0 -1
- package/dist/magma-components/p-3bfd085f.system.entry.js +0 -1
- package/dist/magma-components/p-3c246a39.entry.js +0 -1
- package/dist/magma-components/p-3c2bf79b.entry.js +0 -1
- package/dist/magma-components/p-3ce52f3c.entry.js +0 -1
- package/dist/magma-components/p-3e5993b4.entry.js +0 -1
- package/dist/magma-components/p-3ef80cd4.system.entry.js +0 -1
- package/dist/magma-components/p-3fc3b8b4.entry.js +0 -1
- package/dist/magma-components/p-423955d1.system.entry.js +0 -1
- package/dist/magma-components/p-42f336df.system.entry.js +0 -1
- package/dist/magma-components/p-45a85712.system.entry.js +0 -1
- package/dist/magma-components/p-460cd731.system.entry.js +0 -1
- package/dist/magma-components/p-473f6954.entry.js +0 -1
- package/dist/magma-components/p-47fa0ecf.entry.js +0 -1
- package/dist/magma-components/p-4b07fe37.entry.js +0 -1
- package/dist/magma-components/p-4b884441.entry.js +0 -1
- package/dist/magma-components/p-4ba583c9.entry.js +0 -1
- package/dist/magma-components/p-4c08fe3e.entry.js +0 -1
- package/dist/magma-components/p-4f490917.entry.js +0 -1
- package/dist/magma-components/p-4f98fdba.system.entry.js +0 -1
- package/dist/magma-components/p-50553954.system.entry.js +0 -1
- package/dist/magma-components/p-523d4716.entry.js +0 -1
- package/dist/magma-components/p-52ccfafc.system.entry.js +0 -1
- package/dist/magma-components/p-52e2f903.entry.js +0 -1
- package/dist/magma-components/p-53195d95.system.entry.js +0 -1
- package/dist/magma-components/p-5488f51f.system.entry.js +0 -1
- package/dist/magma-components/p-553927f9.system.entry.js +0 -1
- package/dist/magma-components/p-55b4bbba.entry.js +0 -1
- package/dist/magma-components/p-583f5ffa.entry.js +0 -1
- package/dist/magma-components/p-59d65cff.entry.js +0 -1
- package/dist/magma-components/p-59f53701.system.entry.js +0 -1
- package/dist/magma-components/p-5b881091.entry.js +0 -1
- package/dist/magma-components/p-5c44d208.entry.js +0 -1
- package/dist/magma-components/p-5fdcd8e2.system.entry.js +0 -1
- package/dist/magma-components/p-5fe7b875.system.entry.js +0 -1
- package/dist/magma-components/p-614e7f83.system.entry.js +0 -1
- package/dist/magma-components/p-62cf9003.system.entry.js +0 -1
- package/dist/magma-components/p-63898681.entry.js +0 -1
- package/dist/magma-components/p-663a510e.entry.js +0 -1
- package/dist/magma-components/p-68f57bb1.entry.js +0 -1
- package/dist/magma-components/p-6ae4df92.system.entry.js +0 -1
- package/dist/magma-components/p-6d268a59.entry.js +0 -1
- package/dist/magma-components/p-7306b02e.system.entry.js +0 -17
- package/dist/magma-components/p-75011fed.system.entry.js +0 -9
- package/dist/magma-components/p-7595afcf.entry.js +0 -18
- package/dist/magma-components/p-77e9bd68.entry.js +0 -1
- package/dist/magma-components/p-7d836722.entry.js +0 -1
- package/dist/magma-components/p-7e037cf3.entry.js +0 -8
- package/dist/magma-components/p-8106dbfd.system.entry.js +0 -1
- package/dist/magma-components/p-82deeaa0.system.entry.js +0 -1
- package/dist/magma-components/p-83589b83.entry.js +0 -1
- package/dist/magma-components/p-83721814.entry.js +0 -18
- package/dist/magma-components/p-83de0e53.system.entry.js +0 -1
- package/dist/magma-components/p-849760e7.system.entry.js +0 -1
- package/dist/magma-components/p-85ac6e54.system.entry.js +0 -1
- package/dist/magma-components/p-87f8a213.entry.js +0 -1
- package/dist/magma-components/p-89bf698e.system.entry.js +0 -1
- package/dist/magma-components/p-89f96753.system.entry.js +0 -1
- package/dist/magma-components/p-8RYXTPXs.js +0 -1
- package/dist/magma-components/p-8b3065b4.entry.js +0 -1
- package/dist/magma-components/p-8bec8ad6.system.entry.js +0 -1
- package/dist/magma-components/p-8d76853c.system.entry.js +0 -1
- package/dist/magma-components/p-8f1ce3f1.system.entry.js +0 -1
- package/dist/magma-components/p-9021fa60.entry.js +0 -1
- package/dist/magma-components/p-90b72c1c.system.entry.js +0 -1
- package/dist/magma-components/p-90d5b6df.system.entry.js +0 -1
- package/dist/magma-components/p-913372ff.entry.js +0 -1
- package/dist/magma-components/p-94093140.system.entry.js +0 -1
- package/dist/magma-components/p-944d9b27.system.entry.js +0 -1
- package/dist/magma-components/p-94713401.entry.js +0 -1
- package/dist/magma-components/p-956b5ae6.entry.js +0 -1
- package/dist/magma-components/p-95eae04e.entry.js +0 -1
- package/dist/magma-components/p-961a2531.entry.js +0 -1
- package/dist/magma-components/p-9658cb0c.entry.js +0 -1
- package/dist/magma-components/p-96d1a168.entry.js +0 -1
- package/dist/magma-components/p-96f6a646.entry.js +0 -1
- package/dist/magma-components/p-98435b90.system.entry.js +0 -1
- package/dist/magma-components/p-988b0c7c.entry.js +0 -1
- package/dist/magma-components/p-98a05642.system.entry.js +0 -1
- package/dist/magma-components/p-99f7a1b6.system.entry.js +0 -1
- package/dist/magma-components/p-9a1940c1.system.entry.js +0 -1
- package/dist/magma-components/p-9a89bc78.system.entry.js +0 -1
- package/dist/magma-components/p-9ad586a7.system.entry.js +0 -1
- package/dist/magma-components/p-9b52918e.system.entry.js +0 -1
- package/dist/magma-components/p-9yaIBCJC.system.js +0 -1
- package/dist/magma-components/p-BMAK4u5Y.system.js +0 -1
- package/dist/magma-components/p-Bh89IjzU.system.js +0 -1
- package/dist/magma-components/p-BudfaWhu.js +0 -1
- package/dist/magma-components/p-C1oxPa_J.js +0 -1
- package/dist/magma-components/p-CAd5312P.js +0 -2
- package/dist/magma-components/p-CJPnuGyH.system.js +0 -1
- package/dist/magma-components/p-CxU_BeBE.js +0 -1
- package/dist/magma-components/p-DI5DWqw4.system.js +0 -2
- package/dist/magma-components/p-DTZViJWJ.system.js +0 -1
- package/dist/magma-components/p-DcKeJ0td.system.js +0 -6
- package/dist/magma-components/p-a1af65e8.entry.js +0 -1
- package/dist/magma-components/p-a4oAcjYG.js +0 -5
- package/dist/magma-components/p-a5473293.system.entry.js +0 -1
- package/dist/magma-components/p-a6caafcb.system.entry.js +0 -1
- package/dist/magma-components/p-a7bd4585.entry.js +0 -1
- package/dist/magma-components/p-a88fba47.system.entry.js +0 -1
- package/dist/magma-components/p-a959ade4.entry.js +0 -1
- package/dist/magma-components/p-aa7d8972.entry.js +0 -1
- package/dist/magma-components/p-aa98652f.entry.js +0 -1
- package/dist/magma-components/p-aaeb0ee3.system.entry.js +0 -1
- package/dist/magma-components/p-ab89bf5b.system.entry.js +0 -1
- package/dist/magma-components/p-abc720e3.entry.js +0 -1
- package/dist/magma-components/p-abe87810.entry.js +0 -1
- package/dist/magma-components/p-ac80aca8.entry.js +0 -1
- package/dist/magma-components/p-acb07134.system.entry.js +0 -1
- package/dist/magma-components/p-acd4f96a.entry.js +0 -1
- package/dist/magma-components/p-af49bca2.entry.js +0 -1
- package/dist/magma-components/p-af670eaf.entry.js +0 -1
- package/dist/magma-components/p-b14a94e0.system.entry.js +0 -1
- package/dist/magma-components/p-b2bc194a.entry.js +0 -1
- package/dist/magma-components/p-b2e76c18.system.entry.js +0 -1
- package/dist/magma-components/p-b37dff80.system.entry.js +0 -1
- package/dist/magma-components/p-b3e3226e.entry.js +0 -1
- package/dist/magma-components/p-b40f1153.entry.js +0 -1
- package/dist/magma-components/p-b4709a95.entry.js +0 -1
- package/dist/magma-components/p-b5db6527.system.entry.js +0 -1
- package/dist/magma-components/p-b764defa.entry.js +0 -1
- package/dist/magma-components/p-b9b2501e.system.entry.js +0 -1
- package/dist/magma-components/p-b9b5bcdd.system.entry.js +0 -1
- package/dist/magma-components/p-ba2a0bc1.system.entry.js +0 -1
- package/dist/magma-components/p-bb4380cd.entry.js +0 -1
- package/dist/magma-components/p-bce3a8b0.system.entry.js +0 -1
- package/dist/magma-components/p-bd2998e6.system.entry.js +0 -1
- package/dist/magma-components/p-bd3dbc2d.entry.js +0 -1
- package/dist/magma-components/p-bed57abb.entry.js +0 -1
- package/dist/magma-components/p-bfed0b7a.entry.js +0 -1
- package/dist/magma-components/p-c6177cb9.system.entry.js +0 -1
- package/dist/magma-components/p-c638556c.entry.js +0 -1
- package/dist/magma-components/p-c6fa4a21.entry.js +0 -1
- package/dist/magma-components/p-c8e99385.system.entry.js +0 -1
- package/dist/magma-components/p-c9231987.entry.js +0 -1
- package/dist/magma-components/p-c9c51ba6.system.entry.js +0 -1
- package/dist/magma-components/p-cc53b30c.entry.js +0 -1
- package/dist/magma-components/p-ccc0521c.entry.js +0 -1
- package/dist/magma-components/p-cd71630e.system.entry.js +0 -1
- package/dist/magma-components/p-cd879243.system.entry.js +0 -1
- package/dist/magma-components/p-ce064d47.entry.js +0 -1
- package/dist/magma-components/p-d1eea8ca.system.entry.js +0 -1
- package/dist/magma-components/p-d2537229.system.entry.js +0 -1
- package/dist/magma-components/p-d2617a1a.entry.js +0 -1
- package/dist/magma-components/p-d41c4637.system.entry.js +0 -1
- package/dist/magma-components/p-d88f44aa.entry.js +0 -1
- package/dist/magma-components/p-dae9ae8e.system.entry.js +0 -1
- package/dist/magma-components/p-dd860de4.entry.js +0 -1
- package/dist/magma-components/p-df87e2f5.system.entry.js +0 -1
- package/dist/magma-components/p-dfe082be.system.entry.js +0 -1
- package/dist/magma-components/p-e00ba5a0.entry.js +0 -1
- package/dist/magma-components/p-e0d12fa2.system.entry.js +0 -1
- package/dist/magma-components/p-e2cd11c3.entry.js +0 -1
- package/dist/magma-components/p-e5fb3081.system.entry.js +0 -1
- package/dist/magma-components/p-e67a6452.entry.js +0 -1
- package/dist/magma-components/p-e6d8c9e3.system.entry.js +0 -1
- package/dist/magma-components/p-e71aecc1.entry.js +0 -1
- package/dist/magma-components/p-eac692ea.system.entry.js +0 -1
- package/dist/magma-components/p-ecf2e98d.system.entry.js +0 -1
- package/dist/magma-components/p-ed6d1453.system.entry.js +0 -1
- package/dist/magma-components/p-f289eb5a.entry.js +0 -1
- package/dist/magma-components/p-f3604c99.entry.js +0 -1
- package/dist/magma-components/p-f3dbca34.entry.js +0 -1
- package/dist/magma-components/p-f4b4bdf2.system.entry.js +0 -1
- package/dist/magma-components/p-f56d16f7.entry.js +0 -1
- package/dist/magma-components/p-f8014852.system.entry.js +0 -1
- package/dist/magma-components/p-f851100d.entry.js +0 -1
- package/dist/magma-components/p-f8d5adce.entry.js +0 -1
- package/dist/magma-components/p-fa427f75.system.entry.js +0 -1
- package/dist/magma-components/p-fa6a05b5.entry.js +0 -1
- package/dist/magma-components/p-fb8b0104.entry.js +0 -1
- package/dist/magma-components/p-fcf59139.system.entry.js +0 -1
- package/dist/magma-components/p-fe3d5720.system.entry.js +0 -1
- package/dist/magma-components/p-fe85ad8e.system.entry.js +0 -1
- package/dist/magma-components/p-ffae137a.entry.js +0 -1
- package/dist/magma-components/p-oCzRm29V.system.js +0 -1
- package/dist/magma-components/p-ttrRC6OE.js +0 -1
- package/dist/magma-components/p-vYOT2M2B.system.js +0 -1
- package/dist/types/components/mds-accordion/test/mds-accordion.stories.d.ts +0 -39
- package/dist/types/components/mds-accordion-item/test/mds-accordion-item.stories.d.ts +0 -41
- package/dist/types/components/mds-accordion-timer/test/mds-accordion-timer.stories.d.ts +0 -45
- package/dist/types/components/mds-accordion-timer-item/test/mds-accordion-timer-item.stories.d.ts +0 -67
- package/dist/types/components/mds-author/test/mds-author.stories.d.ts +0 -10
- package/dist/types/components/mds-avatar/test/mds-avatar.stories.d.ts +0 -82
- package/dist/types/components/mds-avatar-stack/test/mds-avatar-stack.stories.d.ts +0 -38
- package/dist/types/components/mds-avatar-stack-item/test/mds-avatar-stack-item.stories.d.ts +0 -71
- package/dist/types/components/mds-badge/test/mds-badge.stories.d.ts +0 -56
- package/dist/types/components/mds-banner/test/mds-banner.stories.d.ts +0 -115
- package/dist/types/components/mds-benchmark-bar/test/mds-benchmark-bar.stories.d.ts +0 -85
- package/dist/types/components/mds-bibliography/test/mds-bibliography.stories.d.ts +0 -129
- package/dist/types/components/mds-breadcrumb/test/mds-breadcrumb.stories.d.ts +0 -16
- package/dist/types/components/mds-breadcrumb-item/test/mds-breadcrumb-item.stories.d.ts +0 -26
- package/dist/types/components/mds-button/test/mds-button.stories.d.ts +0 -253
- package/dist/types/components/mds-button-dropdown/test/mds-button-dropdown.stories.d.ts +0 -104
- package/dist/types/components/mds-button-group/test/mds-button-group.stories.d.ts +0 -10
- package/dist/types/components/mds-calendar/test/mds-calendar.stories.d.ts +0 -23
- package/dist/types/components/mds-card/test/mds-card.stories.d.ts +0 -66
- package/dist/types/components/mds-chip/test/mds-chip.stories.d.ts +0 -121
- package/dist/types/components/mds-details/test/mds-details.stories.d.ts +0 -21
- package/dist/types/components/mds-dropdown/test/mds-dropdown.stories.d.ts +0 -275
- package/dist/types/components/mds-emoji/test/mds-emoji.stories.d.ts +0 -19
- package/dist/types/components/mds-entity/test/mds-entity.stories.d.ts +0 -84
- package/dist/types/components/mds-file/test/mds-file.stories.d.ts +0 -145
- package/dist/types/components/mds-file-preview/test/mds-file-preview.stories.d.ts +0 -157
- package/dist/types/components/mds-filter/test/mds-filter.stories.d.ts +0 -56
- package/dist/types/components/mds-filter-item/test/mds-filter-item.stories.d.ts +0 -43
- package/dist/types/components/mds-header/test/mds-header.stories.d.ts +0 -68
- package/dist/types/components/mds-header-bar/test/mds-header-bar.stories.d.ts +0 -23
- package/dist/types/components/mds-help/test/mds-help.stories.d.ts +0 -25
- package/dist/types/components/mds-horizontal-scroll/test/mds-horizontal-scroll.stories.d.ts +0 -57
- package/dist/types/components/mds-hr/test/mds-hr.stories.d.ts +0 -13
- package/dist/types/components/mds-icon/test/mds-icon.stories.d.ts +0 -55
- package/dist/types/components/mds-img/test/mds-img-accessibility.stories.d.ts +0 -93
- package/dist/types/components/mds-img/test/mds-img.stories.d.ts +0 -122
- package/dist/types/components/mds-input/test/mds-input.stories.d.ts +0 -332
- package/dist/types/components/mds-input-date/test/mds-input-date.stories.d.ts +0 -73
- package/dist/types/components/mds-input-date-range/test/mds-input-date-range.stories.d.ts +0 -70
- package/dist/types/components/mds-input-field/test/mds-input-field.stories.d.ts +0 -86
- package/dist/types/components/mds-input-otp/test/mds-input-otp.stories.d.ts +0 -36
- package/dist/types/components/mds-input-range/test/mds-input-range.stories.d.ts +0 -75
- package/dist/types/components/mds-input-select/test/mds-input-select.stories.d.ts +0 -105
- package/dist/types/components/mds-input-switch/test/mds-input-switch.stories.d.ts +0 -195
- package/dist/types/components/mds-input-tip/test/mds-input-tip.stories.d.ts +0 -22
- package/dist/types/components/mds-input-tip-item/test/mds-input-tip.stories.d.ts +0 -22
- package/dist/types/components/mds-input-upload/test/mds-input-upload.stories.d.ts +0 -55
- package/dist/types/components/mds-keyboard/test/mds-keyboard.stories.d.ts +0 -27
- package/dist/types/components/mds-keyboard-key/test/mds-keyboard-key.stories.d.ts +0 -22
- package/dist/types/components/mds-kpi/test/mds-kpi.stories.d.ts +0 -26
- package/dist/types/components/mds-kpi-item/test/mds-kpi-item.stories.d.ts +0 -42
- package/dist/types/components/mds-label/test/mds-label.stories.d.ts +0 -86
- package/dist/types/components/mds-list/test/mds-list.stories.d.ts +0 -7
- package/dist/types/components/mds-list-item/test/mds-list-item.stories.d.ts +0 -38
- package/dist/types/components/mds-mention/test/mds-mention.stories.d.ts +0 -38
- package/dist/types/components/mds-modal/test/mds-modal.stories.d.ts +0 -142
- package/dist/types/components/mds-note/test/mds-note.stories.d.ts +0 -34
- package/dist/types/components/mds-notification/test/mds-notification.stories.d.ts +0 -68
- package/dist/types/components/mds-paginator/test/mds-paginator.stories.d.ts +0 -33
- package/dist/types/components/mds-policy-ai/test/mds-policy.stories.d.ts +0 -83
- package/dist/types/components/mds-pref/test/mds-pref.stories.d.ts +0 -29
- package/dist/types/components/mds-pref-animation/test/mds-pref-animation.stories.d.ts +0 -20
- package/dist/types/components/mds-pref-consumption/test/mds-pref-consumption.stories.d.ts +0 -20
- package/dist/types/components/mds-pref-contrast/test/mds-pref-contrast.stories.d.ts +0 -20
- package/dist/types/components/mds-pref-language/test/mds-pref-language.stories.d.ts +0 -20
- package/dist/types/components/mds-pref-theme/test/mds-pref-theme.stories.d.ts +0 -30
- package/dist/types/components/mds-pref-theme-variant/mds-pref-theme-variant.d.ts +0 -62
- package/dist/types/components/mds-pref-theme-variant/meta/dictionary.d.ts +0 -2
- package/dist/types/components/mds-pref-theme-variant/test/mds-pref-theme-variant.stories.d.ts +0 -30
- package/dist/types/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.d.ts +0 -35
- package/dist/types/components/mds-price-table/test/mds-price-table.stories.d.ts +0 -10
- package/dist/types/components/mds-price-table-features/test/mds-price-table-features.stories.d.ts +0 -10
- package/dist/types/components/mds-price-table-features-cell/test/mds-price-table-features-cell.stories.d.ts +0 -10
- package/dist/types/components/mds-price-table-header/test/mds-price-table-header.stories.d.ts +0 -7
- package/dist/types/components/mds-price-table-list/test/mds-price-table-list.stories.d.ts +0 -10
- package/dist/types/components/mds-progress/test/mds-progress.stories.d.ts +0 -89
- package/dist/types/components/mds-push-notification/test/mds-push-notification.stories.d.ts +0 -28
- package/dist/types/components/mds-push-notification-item/test/mds-push-notification-item.stories.d.ts +0 -210
- package/dist/types/components/mds-quote/test/mds-quote.stories.d.ts +0 -34
- package/dist/types/components/mds-radial-menu/test/mds-radial-menu.stories.d.ts +0 -123
- package/dist/types/components/mds-radial-menu-item/test/mds-radial-menu-item.stories.d.ts +0 -48
- package/dist/types/components/mds-radial-progress/test/mds-radial-progress.stories.d.ts +0 -68
- package/dist/types/components/mds-separator/test/mds-separator.stories.d.ts +0 -7
- package/dist/types/components/mds-spinner/test/mds-spinner.stories.d.ts +0 -21
- package/dist/types/components/mds-status-bar/test/mds-status-bar.stories.d.ts +0 -34
- package/dist/types/components/mds-stepper-bar/test/mds-stepper-bar.stories.d.ts +0 -45
- package/dist/types/components/mds-stepper-bar-item/test/mds-stepper-bar-item.stories.d.ts +0 -102
- package/dist/types/components/mds-tab/test/mds-tab.stories.d.ts +0 -111
- package/dist/types/components/mds-tab-bar/test/mds-tab-bar.stories.d.ts +0 -7
- package/dist/types/components/mds-tab-bar-item/test/mds-tab-bar-item.stories.d.ts +0 -25
- package/dist/types/components/mds-tab-item/test/mds-tab-item.stories.d.ts +0 -69
- package/dist/types/components/mds-table/test/mds-table.stories.d.ts +0 -63
- package/dist/types/components/mds-text/test/mds-text.stories.d.ts +0 -181
- package/dist/types/components/mds-toast/test/mds-toast.stories.d.ts +0 -59
- package/dist/types/components/mds-tooltip/test/mds-tooltip.stories.d.ts +0 -192
- package/dist/types/components/mds-tree/test/mds-tree-apk.stories.d.ts +0 -16
- package/dist/types/components/mds-tree/test/mds-tree.stories.d.ts +0 -86
- package/dist/types/components/mds-tree-item/test/mds-tree-item.stories.d.ts +0 -48
- package/dist/types/components/mds-url-view/test/mds-url-view.stories.d.ts +0 -63
- package/dist/types/components/mds-usage/test/mds-usage.stories.d.ts +0 -37
- package/dist/types/components/mds-video-wall/test/mds-video-wall.stories.d.ts +0 -119
- package/dist/types/components/mds-zero/test/mds-zero.stories.d.ts +0 -7
- package/dist/types/event-detail/theme-variant.d.ts +0 -5
- package/dist/types/storybook/box-shadows.stories.d.ts +0 -7
- package/dist/types/storybook/color-scale.stories.d.ts +0 -7
- package/dist/types/storybook/components-preview.stories.d.ts +0 -33
- package/dist/types/storybook/example-page.stories.d.ts +0 -7
- package/dist/types/storybook/fouc-hydrated.stories.d.ts +0 -7
- package/dist/types/storybook/input-form.stories.d.ts +0 -7
- package/dist/types/storybook/same-childrend-slot-names.stories.d.ts +0 -7
- package/dist/types/test/file.d.ts +0 -35
- package/dist/types/test/mock.d.ts +0 -2
- /package/dist/collection/{event-detail/theme-variant.js → components/mds-mention/meta/interface.js} +0 -0
- /package/dist/components/{broken-image.js → p-0FAG3rkw.js} +0 -0
- /package/dist/components/{horizontal-rule.js → p-BE8xuIpS.js} +0 -0
- /package/dist/components/{check-circle.js → p-BFhO-KUe.js} +0 -0
- /package/dist/components/{cancel.js → p-BJ8rpzfj.js} +0 -0
- /package/dist/components/{calendar-today.js → p-BVQMG7KJ.js} +0 -0
- /package/dist/components/{arrow-forward.js → p-Bd0uuNDE.js} +0 -0
- /package/dist/components/{keys.js → p-C4ckbXOl.js} +0 -0
- /package/dist/components/{panorama.js → p-CGFwoK_U.js} +0 -0
- /package/dist/components/{aria.js → p-CSCy6TMW.js} +0 -0
- /package/dist/components/{keyboard-arrow-up.js → p-Ccz0jCNB.js} +0 -0
- /package/dist/components/{clsx.js → p-ChV9xqsO.js} +0 -0
- /package/dist/components/{done.js → p-CvUz9jjh.js} +0 -0
- /package/dist/components/{remove.js → p-D17B058a.js} +0 -0
- /package/dist/components/{unit.js → p-D8eZRaSQ.js} +0 -0
- /package/dist/components/{keyboard-arrow-right.js → p-DFyAGAnn.js} +0 -0
- /package/dist/components/{keyboard-arrow-down.js → p-DiWN48aq.js} +0 -0
- /package/dist/components/{browser.js → p-Dje8Mggf.js} +0 -0
- /package/dist/components/{arrow-back.js → p-DnEUG7st.js} +0 -0
- /package/dist/components/{_commonjsHelpers.js → p-E-ZsRS8r.js} +0 -0
- /package/dist/components/{close.js → p-J-ikDhyq.js} +0 -0
- /package/dist/components/{settings.js → p-XQgkfNpn.js} +0 -0
- /package/dist/components/{circle.js → p-lZldSMeV.js} +0 -0
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import miRoundMenu from "@icon/mi/round/menu.svg";
|
|
2
2
|
import { Host, h, } from "@stencil/core";
|
|
3
|
+
import { hasChildWithSlot } from "../../common/slot";
|
|
4
|
+
import clsx from "clsx";
|
|
5
|
+
import { preferenceStore } from "../../common/preference";
|
|
3
6
|
/**
|
|
4
7
|
* @part actions - Selects the element which wraps `nav` and `hamburger` parts
|
|
5
8
|
* @part hamburger - Selects the `hamburger` menu action element
|
|
@@ -17,6 +20,9 @@ export class MdsHeaderBar {
|
|
|
17
20
|
* Sets the visibility type of the navigation menu
|
|
18
21
|
*/
|
|
19
22
|
this.nav = 'desktop';
|
|
23
|
+
this.onNavSlotChange = () => {
|
|
24
|
+
this.hasNav = hasChildWithSlot(this.host, 'nav');
|
|
25
|
+
};
|
|
20
26
|
this.open = () => {
|
|
21
27
|
var _a;
|
|
22
28
|
this.isOpened = true;
|
|
@@ -25,7 +31,7 @@ export class MdsHeaderBar {
|
|
|
25
31
|
};
|
|
26
32
|
}
|
|
27
33
|
componentWillLoad() {
|
|
28
|
-
this.hasNav = this.host
|
|
34
|
+
this.hasNav = hasChildWithSlot(this.host, 'nav');
|
|
29
35
|
}
|
|
30
36
|
/**
|
|
31
37
|
* Opens or closes the header bar.
|
|
@@ -35,7 +41,7 @@ export class MdsHeaderBar {
|
|
|
35
41
|
this.isOpened = isOpened;
|
|
36
42
|
}
|
|
37
43
|
render() {
|
|
38
|
-
return (h(Host, { key: '
|
|
44
|
+
return (h(Host, { key: '848abd1a4a640f8fc9bbadb08d518e0c064ba3f2', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, h("div", { key: '3bdc021363f378a22111db1e3d365ea0087e0de9', class: "content", part: "content" }, h("div", { key: 'fd4f5370797081384e1f9efa84ab47bea58195e4', class: "logo" }, h("slot", { key: 'd8b302d8f12877534561aea9b61d6059717c1fa3' })), h("div", { key: '86f582e0cf5c32a6d5861d2ab25c060f5324c038', class: "actions", part: "actions" }, h("nav", { key: '8a99497aa17aacf29fefac4896dacbbf1f35fb08', class: clsx('nav', !this.hasNav && 'nav--hidden'), part: "nav" }, h("slot", { key: 'f5319e185992a842fcece1ae079dcdc94877acd6', name: "nav", onSlotchange: this.onNavSlotChange })), this.menu !== 'none' && (h("mds-button", { key: '75d2a39af02589e860237823703b0da68b77ca56', class: "menu", variant: "dark", tone: "text", icon: miRoundMenu, onClick: this.open, part: "hamburger" }))))));
|
|
39
45
|
}
|
|
40
46
|
static get is() { return "mds-header-bar"; }
|
|
41
47
|
static get encapsulation() { return "shadow"; }
|
|
@@ -109,6 +115,7 @@ export class MdsHeaderBar {
|
|
|
109
115
|
}
|
|
110
116
|
static get states() {
|
|
111
117
|
return {
|
|
118
|
+
"hasNav": {},
|
|
112
119
|
"isOpened": {}
|
|
113
120
|
};
|
|
114
121
|
}
|
|
@@ -26,31 +26,13 @@ mds-tooltip {
|
|
|
26
26
|
}
|
|
27
27
|
*/
|
|
28
28
|
|
|
29
|
-
@property --mds-help-tooltip-max-width {
|
|
30
|
-
inherits: false;
|
|
31
|
-
initial-value: 300px;
|
|
32
|
-
syntax: '<length>';
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
@property --mds-help-tooltip-min-width {
|
|
36
|
-
inherits: false;
|
|
37
|
-
initial-value: 200px;
|
|
38
|
-
syntax: '<length>';
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
@property --mds-help-tooltip-delay {
|
|
42
|
-
inherits: false;
|
|
43
|
-
initial-value: 0.25s;
|
|
44
|
-
syntax: '<time>';
|
|
45
|
-
}
|
|
46
|
-
|
|
47
29
|
:host {
|
|
48
30
|
--mds-help-tooltip-width: fit-content;
|
|
49
31
|
--mds-help-tooltip-max-width: 300px;
|
|
50
32
|
--mds-help-tooltip-min-width: 200px;
|
|
51
33
|
--mds-help-tooltip-delay: 0.25s;
|
|
52
34
|
|
|
53
|
-
color: rgb(var(--
|
|
35
|
+
color: rgb(var(--magma-text-muted, var(--magma-tint-text-muted, var(--text-neutral-muted, 73 73 73))));
|
|
54
36
|
cursor: help;
|
|
55
37
|
display: inline-flex;
|
|
56
38
|
fill: currentcolor;
|
|
@@ -6,9 +6,9 @@ import miOutlineHelp from "@icon/mi/outline/help-outline.svg";
|
|
|
6
6
|
export class MdsHelp {
|
|
7
7
|
constructor() {
|
|
8
8
|
/**
|
|
9
|
-
* If set, the component will be placed automatically near it's caller.
|
|
9
|
+
* If set, the component will not be placed automatically near it's caller.
|
|
10
10
|
*/
|
|
11
|
-
this.
|
|
11
|
+
this.disableAutoPlacement = false;
|
|
12
12
|
/**
|
|
13
13
|
* Specifies where the component should be placed relative to the caller.
|
|
14
14
|
*/
|
|
@@ -16,7 +16,7 @@ export class MdsHelp {
|
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
18
|
var _a;
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: 'b56b6de29019db8bf7f8b6ae1f133f8625e15e22' }, h("mds-icon", { key: '927cf78c5d30794947cf5898568ae44847ef4749', class: "icon", name: (_a = this.icon) !== null && _a !== void 0 ? _a : miOutlineHelp, part: "icon" }), h("mds-tooltip", { key: '6422a433ec9bab77e9331efeef28e0cbbcb18393', placement: this.placement, disableAutoPlacement: this.disableAutoPlacement, strategy: "absolute", target: ".icon" }, h("slot", { key: '5b238d4131de924165a9d2986cd172e122ceacda' }))));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "mds-help"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -51,7 +51,7 @@ export class MdsHelp {
|
|
|
51
51
|
"reflect": false,
|
|
52
52
|
"attribute": "icon"
|
|
53
53
|
},
|
|
54
|
-
"
|
|
54
|
+
"disableAutoPlacement": {
|
|
55
55
|
"type": "boolean",
|
|
56
56
|
"mutable": false,
|
|
57
57
|
"complexType": {
|
|
@@ -63,13 +63,13 @@ export class MdsHelp {
|
|
|
63
63
|
"optional": true,
|
|
64
64
|
"docs": {
|
|
65
65
|
"tags": [],
|
|
66
|
-
"text": "If set, the component will be placed automatically near it's caller."
|
|
66
|
+
"text": "If set, the component will not be placed automatically near it's caller."
|
|
67
67
|
},
|
|
68
68
|
"getter": false,
|
|
69
69
|
"setter": false,
|
|
70
70
|
"reflect": true,
|
|
71
|
-
"attribute": "auto-placement",
|
|
72
|
-
"defaultValue": "
|
|
71
|
+
"attribute": "disable-auto-placement",
|
|
72
|
+
"defaultValue": "false"
|
|
73
73
|
},
|
|
74
74
|
"placement": {
|
|
75
75
|
"type": "string",
|
|
@@ -11,7 +11,6 @@ mds-button {
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
|
-
* @prop --mds-horizontal-scroll-background: Sets the background-color of the component
|
|
15
14
|
* @prop --mds-horizontal-scroll-behavior: Sets the scroll-behavior animation
|
|
16
15
|
* @prop --mds-horizontal-scroll-dot-area-background: Sets the dot container area color
|
|
17
16
|
* @prop --mds-horizontal-scroll-dot-background: Sets the navigation dot color
|
|
@@ -24,26 +23,6 @@ mds-button {
|
|
|
24
23
|
* @prop --mds-horizontal-scroll-scrollbar-track-background: Sets the background-color of the browser scroll bar track (if supported)
|
|
25
24
|
*/
|
|
26
25
|
|
|
27
|
-
/* ❌ Not supported: scroll-behavior cannot be expressed in @property syntax
|
|
28
|
-
@property --mds-horizontal-scroll-behavior {
|
|
29
|
-
inherits: false;
|
|
30
|
-
syntax: "auto | smooth";
|
|
31
|
-
initial-value: smooth;
|
|
32
|
-
}
|
|
33
|
-
*/
|
|
34
|
-
|
|
35
|
-
@property --mds-horizontal-scroll-dots-gap {
|
|
36
|
-
inherits: false;
|
|
37
|
-
initial-value: --spacing(100);
|
|
38
|
-
syntax: '<length>';
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
@property --mds-horizontal-scroll-dot-size {
|
|
42
|
-
inherits: false;
|
|
43
|
-
initial-value: --spacing(200);
|
|
44
|
-
syntax: '<length>';
|
|
45
|
-
}
|
|
46
|
-
|
|
47
26
|
/* ❌ Not supported: 'auto' is not a <length>
|
|
48
27
|
|
|
49
28
|
@property --mds-horizontal-scroll-dot-max-width {
|
|
@@ -53,85 +32,13 @@ mds-button {
|
|
|
53
32
|
}
|
|
54
33
|
*/
|
|
55
34
|
|
|
56
|
-
@property --mds-horizontal-scroll-contents-padding {
|
|
57
|
-
inherits: false;
|
|
58
|
-
initial-value: --spacing(600);
|
|
59
|
-
syntax: '<length>';
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
@property --mds-horizontal-scroll-contents-scroll-padding {
|
|
63
|
-
inherits: false;
|
|
64
|
-
initial-value: 0 --spacing(600);
|
|
65
|
-
syntax: '<length>+';
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
@property --mds-horizontal-scroll-controls-margin {
|
|
69
|
-
inherits: false;
|
|
70
|
-
initial-value: --spacing(1200);
|
|
71
|
-
syntax: '<length>';
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
@property --mds-horizontal-scroll-gap {
|
|
75
|
-
inherits: false;
|
|
76
|
-
initial-value: --spacing(600);
|
|
77
|
-
syntax: '<length>';
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
@property --mds-horizontal-scroll-max-width {
|
|
81
|
-
inherits: false;
|
|
82
|
-
initial-value: var(--breakpoint-wide, 1280px);
|
|
83
|
-
syntax: '<length>';
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
@property --mds-horizontal-scroll-scrollbar-margin {
|
|
87
|
-
inherits: false;
|
|
88
|
-
initial-value: 0;
|
|
89
|
-
syntax: '<length>';
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
@property --mds-horizontal-scroll-scrollbar-radius {
|
|
93
|
-
inherits: false;
|
|
94
|
-
initial-value: 0;
|
|
95
|
-
syntax: '<length>';
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
@property --mds-horizontal-scroll-scrollbar-size {
|
|
99
|
-
inherits: false;
|
|
100
|
-
initial-value: --spacing(200);
|
|
101
|
-
syntax: '<length>';
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
@property --mds-horizontal-scroll-dot-background {
|
|
105
|
-
inherits: false;
|
|
106
|
-
initial-value: rgb(var(--tone-neutral, 0 0 0));
|
|
107
|
-
syntax: '<color>';
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
@property --mds-horizontal-scroll-dot-area-background {
|
|
111
|
-
inherits: false;
|
|
112
|
-
initial-value: rgb(var(--tone-neutral-08, 107 107 107));
|
|
113
|
-
syntax: '<color>';
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
@property --mds-horizontal-scroll-scrollbar-thumb-background {
|
|
117
|
-
inherits: false;
|
|
118
|
-
initial-value: rgb(var(--tone-neutral-02, 244 244 244) / 0.3);
|
|
119
|
-
syntax: '<color>';
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
@property --mds-horizontal-scroll-scrollbar-track-background {
|
|
123
|
-
inherits: false;
|
|
124
|
-
initial-value: rgb(var(--tone-neutral-06, 158 158 158) / 0.3);
|
|
125
|
-
syntax: '<color>';
|
|
126
|
-
}
|
|
127
|
-
|
|
128
35
|
:host {
|
|
129
36
|
--mds-horizontal-scroll-behavior: smooth;
|
|
130
37
|
--mds-horizontal-scroll-dots-gap: --spacing(100);
|
|
131
38
|
--mds-horizontal-scroll-dot-size: --spacing(200);
|
|
132
39
|
--mds-horizontal-scroll-dot-max-width: auto;
|
|
133
|
-
--mds-horizontal-scroll-dot-background: rgb(var(--
|
|
134
|
-
--mds-horizontal-scroll-dot-area-background: rgb(var(--tone-neutral-08,
|
|
40
|
+
--mds-horizontal-scroll-dot-background: rgb(var(--magma-surface-overlay, var(--magma-tint-overlay, var(--surface-neutral-overlay, 255 255 255))));
|
|
41
|
+
--mds-horizontal-scroll-dot-area-background: rgb(var(--magma-wash-strong, var(--magma-tint-scale-08, var(--tone-neutral-08, 208 208 208))));
|
|
135
42
|
--mds-horizontal-scroll-contents-padding: --spacing(600);
|
|
136
43
|
--mds-horizontal-scroll-contents-scroll-padding: 0 --spacing(600);
|
|
137
44
|
--mds-horizontal-scroll-controls-margin: --spacing(1200);
|
|
@@ -140,8 +47,8 @@ mds-button {
|
|
|
140
47
|
--mds-horizontal-scroll-scrollbar-margin: 0;
|
|
141
48
|
--mds-horizontal-scroll-scrollbar-radius: 0;
|
|
142
49
|
--mds-horizontal-scroll-scrollbar-size: --spacing(200);
|
|
143
|
-
--mds-horizontal-scroll-scrollbar-thumb-background: rgb(var(--tone-neutral-02,
|
|
144
|
-
--mds-horizontal-scroll-scrollbar-track-background: rgb(var(--tone-neutral-
|
|
50
|
+
--mds-horizontal-scroll-scrollbar-thumb-background: rgb(var(--magma-surface-inverse, var(--magma-tint-scale-02, var(--tone-neutral-02, 42 42 42))) / 0.3);
|
|
51
|
+
--mds-horizontal-scroll-scrollbar-track-background: rgb(var(--magma-wash-base, var(--magma-tint-scale-09, var(--tone-neutral-09, 225 225 225))));
|
|
145
52
|
|
|
146
53
|
/* private custom props, DO NOT OVERRIDE from outside */
|
|
147
54
|
--max-width: var(--mds-horizontal-scroll-max-width, var(--breakpoint-wide, 1280px));
|
|
@@ -159,8 +66,17 @@ mds-button {
|
|
|
159
66
|
width: 100%;
|
|
160
67
|
}
|
|
161
68
|
|
|
69
|
+
/* Animation preference: scroll-behavior is a keyword, so its reduced-motion state
|
|
70
|
+
* is handled here, cross-browser, via @media following the OS preference. */
|
|
71
|
+
|
|
72
|
+
@media (prefers-reduced-motion: reduce) {
|
|
73
|
+
:host {
|
|
74
|
+
--mds-horizontal-scroll-behavior: auto;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
162
78
|
.navigation {
|
|
163
|
-
border-radius: 1000px;
|
|
79
|
+
border-radius: var(--radius-full, 1000px);
|
|
164
80
|
display: none;
|
|
165
81
|
padding: 0;
|
|
166
82
|
position: absolute;
|
|
@@ -178,7 +94,7 @@ mds-button {
|
|
|
178
94
|
padding-bottom: var(--mds-horizontal-scroll-contents-padding, --spacing(600));
|
|
179
95
|
padding-top: var(--mds-horizontal-scroll-contents-padding, --spacing(600));
|
|
180
96
|
position: relative;
|
|
181
|
-
scroll-behavior: var(--mds-horizontal-scroll-behavior);
|
|
97
|
+
scroll-behavior: var(--mds-horizontal-scroll-behavior, smooth);
|
|
182
98
|
scroll-padding: var(--mds-horizontal-scroll-contents-scroll-padding, 0 --spacing(600));
|
|
183
99
|
scroll-snap-type: x mandatory;
|
|
184
100
|
width: 100%;
|
|
@@ -233,17 +149,6 @@ right: clamp(calc(var(--mds-horizontal-scroll-gap) / 2), var(--position), var(--
|
|
|
233
149
|
}
|
|
234
150
|
}
|
|
235
151
|
|
|
236
|
-
:host-context(:root.pref-animation-reduce) {
|
|
237
|
-
--mds-horizontal-scroll-behavior: auto;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
@media (prefers-reduced-motion) {
|
|
241
|
-
:host-context(:root.pref-animation-system),
|
|
242
|
-
:host-context(:root:not([data-magma-pref])) {
|
|
243
|
-
--mds-horizontal-scroll-behavior: auto;
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
|
|
247
152
|
.navigation--back {
|
|
248
153
|
--position: calc(
|
|
249
154
|
var(--scroll-margin) - var(--mds-horizontal-scroll-gap, --spacing(600)) -
|
|
@@ -298,8 +203,8 @@ right: clamp(calc(var(--mds-horizontal-scroll-gap) / 2), var(--position), var(--
|
|
|
298
203
|
|
|
299
204
|
.dot-navigation {
|
|
300
205
|
align-self: center;
|
|
301
|
-
background-color: var(--mds-horizontal-scroll-dot-area-background, rgb(var(--tone-neutral-08,
|
|
302
|
-
border-radius:
|
|
206
|
+
background-color: var(--mds-horizontal-scroll-dot-area-background, rgb(var(--magma-wash-strong, var(--magma-tint-scale-08, var(--tone-neutral-08, 208 208 208)))));
|
|
207
|
+
border-radius: var(--radius-full, 1000px);
|
|
303
208
|
display: none;
|
|
304
209
|
gap: var(--mds-horizontal-scroll-dots-gap, --spacing(100));
|
|
305
210
|
justify-content: start;
|
|
@@ -314,8 +219,8 @@ right: clamp(calc(var(--mds-horizontal-scroll-gap) / 2), var(--position), var(--
|
|
|
314
219
|
}
|
|
315
220
|
|
|
316
221
|
.dot {
|
|
317
|
-
background-color: var(--mds-horizontal-scroll-dot-background, rgb(var(--
|
|
318
|
-
border-radius:
|
|
222
|
+
background-color: var(--mds-horizontal-scroll-dot-background, rgb(var(--magma-surface-overlay, var(--magma-tint-overlay, var(--surface-neutral-overlay, 255 255 255)))));
|
|
223
|
+
border-radius: var(--radius-full, 1000px);
|
|
319
224
|
height: var(--mds-horizontal-scroll-dot-size, --spacing(200));
|
|
320
225
|
max-width: var(--mds-horizontal-scroll-dot-max-width);
|
|
321
226
|
min-width: var(--mds-horizontal-scroll-dot-size, --spacing(200));
|
|
@@ -335,21 +240,21 @@ right: clamp(calc(var(--mds-horizontal-scroll-gap) / 2), var(--position), var(--
|
|
|
335
240
|
}
|
|
336
241
|
|
|
337
242
|
:host([navigation='scrollbar']) .contents::-webkit-scrollbar-track {
|
|
338
|
-
background-color: var(--mds-horizontal-scroll-scrollbar-track-background, rgb(var(--tone-neutral-
|
|
243
|
+
background-color: var(--mds-horizontal-scroll-scrollbar-track-background, rgb(var(--magma-wash-base, var(--magma-tint-scale-09, var(--tone-neutral-09, 225 225 225)))));
|
|
339
244
|
border-radius: var(--mds-horizontal-scroll-scrollbar-radius, 0);
|
|
340
245
|
margin-block: var(--mds-horizontal-scroll-scrollbar-margin, 0);
|
|
341
246
|
margin-inline: var(--mds-horizontal-scroll-scrollbar-margin, 0);
|
|
342
247
|
}
|
|
343
248
|
|
|
344
249
|
:host([navigation='scrollbar']) .contents::-webkit-scrollbar-thumb {
|
|
345
|
-
background-color: var(--mds-horizontal-scroll-scrollbar-thumb-background, rgb(var(--tone-neutral-02,
|
|
250
|
+
background-color: var(--mds-horizontal-scroll-scrollbar-thumb-background, rgb(var(--magma-surface-inverse, var(--magma-tint-scale-02, var(--tone-neutral-02, 42 42 42))) / 0.3));
|
|
346
251
|
border-radius: var(--mds-horizontal-scroll-scrollbar-radius, 0);
|
|
347
252
|
}
|
|
348
253
|
|
|
349
254
|
@supports (scrollbar-color: transparent transparent) {
|
|
350
255
|
.contents {
|
|
351
|
-
scrollbar-color: var(--mds-horizontal-scroll-scrollbar-thumb-background, rgb(var(--tone-neutral-02,
|
|
352
|
-
var(--mds-horizontal-scroll-scrollbar-track-background, rgb(var(--tone-neutral-
|
|
256
|
+
scrollbar-color: var(--mds-horizontal-scroll-scrollbar-thumb-background, rgb(var(--magma-surface-inverse, var(--magma-tint-scale-02, var(--tone-neutral-02, 42 42 42))) / 0.3))
|
|
257
|
+
var(--mds-horizontal-scroll-scrollbar-track-background, rgb(var(--magma-wash-base, var(--magma-tint-scale-09, var(--tone-neutral-09, 225 225 225)))));
|
|
353
258
|
scrollbar-width: thin;
|
|
354
259
|
}
|
|
355
260
|
}
|
|
@@ -4,22 +4,16 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
:host {
|
|
7
|
-
background-color: rgb(var(--tone-neutral-08,
|
|
7
|
+
background-color: rgb(var(--magma-wash-strong, var(--magma-tint-scale-08, var(--tone-neutral-08, 208 208 208))));
|
|
8
8
|
border: 0;
|
|
9
|
-
border-radius: 1000px;
|
|
9
|
+
border-radius: var(--radius-full, 1000px);
|
|
10
10
|
display: flex;
|
|
11
11
|
height: 1px;
|
|
12
12
|
width: 100%;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
@media (prefers-color-scheme: dark) {
|
|
20
|
-
:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),
|
|
21
|
-
:host-context(:root:not([data-magma-pref])) {
|
|
22
|
-
background-color: rgb(var(--tone-neutral-07, 134 134 134));
|
|
23
|
-
}
|
|
24
|
-
}
|
|
15
|
+
/* Theme preference. The component takes its colours from semantic roles that
|
|
16
|
+
* flip per mode at :root (spec 6.1-6.3) and inherit into the shadow DOM, so it
|
|
17
|
+
* needs no per-mode dark refinement. The former dark override (a ramp step
|
|
18
|
+
* re-set to lift the colour off the old flat-black canvas) is intentionally gone. */
|
|
25
19
|
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
|
+
import { preferenceStore } from "../../common/preference";
|
|
2
3
|
export class MdsHr {
|
|
3
4
|
render() {
|
|
4
|
-
return h(Host, { key: '
|
|
5
|
+
return (h(Host, { key: '66fec928d07078c3e67a050c2ad63146a447785f', "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }));
|
|
5
6
|
}
|
|
6
7
|
static get is() { return "mds-hr"; }
|
|
7
8
|
static get encapsulation() { return "shadow"; }
|
|
@@ -15,15 +15,13 @@ export class MdsIcon {
|
|
|
15
15
|
this.updateIcon();
|
|
16
16
|
IconsSetService.registerListener(() => this.updateIcon());
|
|
17
17
|
}
|
|
18
|
-
static setSvgPathStatic(path) {
|
|
19
|
-
IconsSetService.setSvgPath(path);
|
|
20
|
-
}
|
|
21
18
|
/**
|
|
22
19
|
* Set the path to the directory of svg files
|
|
23
20
|
* @param svgPath path to the directory of svg files
|
|
24
21
|
*/
|
|
25
22
|
async setSvgPath(svgPath) {
|
|
26
23
|
IconsSetService.setSvgPath(svgPath);
|
|
24
|
+
return Promise.resolve();
|
|
27
25
|
}
|
|
28
26
|
async updateIcon() {
|
|
29
27
|
if (this.name === '')
|
|
@@ -39,7 +37,7 @@ export class MdsIcon {
|
|
|
39
37
|
this.svgHTML = await IconsSetService.fetchSvg(this.name);
|
|
40
38
|
}
|
|
41
39
|
render() {
|
|
42
|
-
return (h(Host, { key: '
|
|
40
|
+
return (h(Host, { key: '8d95b94dbe7f22e136567cb681e44479f5c1be7a' }, this.svgHTML && h("i", { key: 'e9808177023e9521abf570b85302b65e43f9e0d8', "aria-hidden": "true", class: "icon", part: "svg", innerHTML: this.svgHTML })));
|
|
43
41
|
}
|
|
44
42
|
static get is() { return "mds-icon"; }
|
|
45
43
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Build } from "@stencil/core";
|
|
1
2
|
import { get, set, del } from "idb-keyval";
|
|
2
3
|
import { MdsIconSet } from "../meta/icon-set";
|
|
3
4
|
// Shared, cross-realm key for the configured SVG base path. Stencil emits several bundled
|
|
@@ -15,6 +16,10 @@ class IconsSetController {
|
|
|
15
16
|
this.memoryCache = {};
|
|
16
17
|
// Try to retrieve svg from cache
|
|
17
18
|
this.isCacheAvailable = async (url) => {
|
|
19
|
+
// idb-keyval requires indexedDB, missing in the hydrate/SSR runtime
|
|
20
|
+
if (typeof indexedDB === 'undefined') {
|
|
21
|
+
return false;
|
|
22
|
+
}
|
|
18
23
|
try {
|
|
19
24
|
const loaderItem = await get(`loader_${url}`);
|
|
20
25
|
if (!loaderItem) {
|
|
@@ -34,6 +39,9 @@ class IconsSetController {
|
|
|
34
39
|
};
|
|
35
40
|
// Set svg to cache
|
|
36
41
|
this.setCache = async (url, data) => {
|
|
42
|
+
if (typeof indexedDB === 'undefined') {
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
37
45
|
try {
|
|
38
46
|
await set(`loader_${url}`, JSON.stringify({
|
|
39
47
|
data,
|
|
@@ -125,6 +133,14 @@ class IconsSetController {
|
|
|
125
133
|
}
|
|
126
134
|
async fetchSvg(name) {
|
|
127
135
|
var _a;
|
|
136
|
+
// No fetch during SSR: relative icon paths have no origin to resolve
|
|
137
|
+
// against, and the client re-fetches after hydration anyway. The empty
|
|
138
|
+
// icon causes no layout shift because mds-icon's :host reserves the box
|
|
139
|
+
// (aspect-ratio + width). Spec tests also run with isServer=true but mock
|
|
140
|
+
// fetch, so they are excluded via isTesting.
|
|
141
|
+
if (Build.isServer && !Build.isTesting) {
|
|
142
|
+
return '';
|
|
143
|
+
}
|
|
128
144
|
try {
|
|
129
145
|
if (!this._svgPath && typeof window === 'undefined') {
|
|
130
146
|
throw Error('Cant find svgPath, ensure you set it');
|
|
@@ -21,49 +21,13 @@ mds-text {
|
|
|
21
21
|
* @prop --mds-img-error-icon-color: The icon color used in the error state.
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
|
-
@property --mds-img-background {
|
|
25
|
-
inherits: false;
|
|
26
|
-
initial-value: rgb(var(--variant-primary-03, 211 226 255));
|
|
27
|
-
syntax: '<color>';
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
@property --mds-img-color {
|
|
31
|
-
inherits: false;
|
|
32
|
-
initial-value: rgb(var(--variant-primary-09, 0 58 168));
|
|
33
|
-
syntax: '<color>';
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
@property --mds-img-icon-color {
|
|
37
|
-
inherits: false;
|
|
38
|
-
initial-value: rgb(var(--variant-primary-07, 44 117 255));
|
|
39
|
-
syntax: '<color>';
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
@property --mds-img-error-background {
|
|
43
|
-
inherits: false;
|
|
44
|
-
initial-value: rgb(var(--status-error-09, 135 0 14));
|
|
45
|
-
syntax: '<color>';
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
@property --mds-img-error-color {
|
|
49
|
-
inherits: false;
|
|
50
|
-
initial-value: rgb(var(--status-error-04, 254 193 189));
|
|
51
|
-
syntax: '<color>';
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
@property --mds-img-error-icon-color {
|
|
55
|
-
inherits: false;
|
|
56
|
-
initial-value: rgb(var(--status-error-06, 239 108 105));
|
|
57
|
-
syntax: '<color>';
|
|
58
|
-
}
|
|
59
|
-
|
|
60
24
|
:host {
|
|
61
|
-
--mds-img-background: rgb(var(--variant-primary-03,
|
|
62
|
-
--mds-img-color: rgb(var(--variant-primary-09,
|
|
63
|
-
--mds-img-icon-color: rgb(var(--variant-primary-
|
|
64
|
-
--mds-img-error-background: rgb(var(--status-error-09,
|
|
65
|
-
--mds-img-error-color: rgb(var(--
|
|
66
|
-
--mds-img-error-icon-color: rgb(var(--
|
|
25
|
+
--mds-img-background: rgb(var(--magma-accent-emphasis-hover, var(--magma-tint-accent-emphasis-hover, var(--variant-primary-03, 7 76 204))));
|
|
26
|
+
--mds-img-color: rgb(var(--magma-accent-surface, var(--magma-tint-accent-surface, var(--variant-primary-09, 220 224 231))));
|
|
27
|
+
--mds-img-icon-color: rgb(var(--magma-accent-border, var(--magma-tint-accent-border, var(--variant-primary-06, 148 172 218))));
|
|
28
|
+
--mds-img-error-background: rgb(var(--magma-danger-wash-base, var(--status-error-09, 255 214 211)));
|
|
29
|
+
--mds-img-error-color: rgb(var(--magma-danger-text-default, var(--text-error-default, 89 0 0)));
|
|
30
|
+
--mds-img-error-icon-color: rgb(var(--magma-danger-text-default, var(--text-error-default, 89 0 0)));
|
|
67
31
|
|
|
68
32
|
display: flex;
|
|
69
33
|
height: auto;
|
|
@@ -81,8 +45,8 @@ img {
|
|
|
81
45
|
|
|
82
46
|
.alt-text-container {
|
|
83
47
|
align-items: center;
|
|
84
|
-
background-color: var(--mds-img-background, rgb(var(--variant-primary-03,
|
|
85
|
-
color: var(--mds-img-color, rgb(var(--variant-primary-09,
|
|
48
|
+
background-color: var(--mds-img-background, rgb(var(--magma-accent-emphasis-hover, var(--magma-tint-accent-emphasis-hover, var(--variant-primary-03, 7 76 204)))));
|
|
49
|
+
color: var(--mds-img-color, rgb(var(--magma-accent-surface, var(--magma-tint-accent-surface, var(--variant-primary-09, 220 224 231)))));
|
|
86
50
|
display: flex;
|
|
87
51
|
flex-direction: column;
|
|
88
52
|
gap: --spacing(600);
|
|
@@ -98,9 +62,9 @@ img {
|
|
|
98
62
|
}
|
|
99
63
|
|
|
100
64
|
.alt-text-container--error {
|
|
101
|
-
--mds-img-background: var(--mds-img-error-background, rgb(var(--status-error-09,
|
|
102
|
-
--mds-img-color: var(--mds-img-error-color, rgb(var(--
|
|
103
|
-
--mds-img-icon-color: var(--mds-img-error-icon-color, rgb(var(--
|
|
65
|
+
--mds-img-background: var(--mds-img-error-background, rgb(var(--magma-danger-wash-base, var(--status-error-09, 255 214 211))));
|
|
66
|
+
--mds-img-color: var(--mds-img-error-color, rgb(var(--magma-danger-text-default, var(--text-error-default, 89 0 0))));
|
|
67
|
+
--mds-img-icon-color: var(--mds-img-error-icon-color, rgb(var(--magma-danger-text-default, var(--text-error-default, 89 0 0))));
|
|
104
68
|
|
|
105
69
|
cursor: not-allowed;
|
|
106
70
|
}
|
|
@@ -115,6 +79,6 @@ img {
|
|
|
115
79
|
}
|
|
116
80
|
|
|
117
81
|
.icon {
|
|
118
|
-
fill: var(--mds-img-icon-color, rgb(var(--variant-primary-
|
|
82
|
+
fill: var(--mds-img-icon-color, rgb(var(--magma-accent-border, var(--magma-tint-accent-border, var(--variant-primary-06, 148 172 218)))));
|
|
119
83
|
width: --spacing(900);
|
|
120
84
|
}
|
|
@@ -65,7 +65,7 @@ export class MdsImg {
|
|
|
65
65
|
return imageConsumptionData;
|
|
66
66
|
};
|
|
67
67
|
this.autoAltName = () => {
|
|
68
|
-
if (this.src !== '') {
|
|
68
|
+
if (this.src !== undefined && this.src !== '') {
|
|
69
69
|
const index = this.src.lastIndexOf('/') + 1;
|
|
70
70
|
return this.src.substring(index);
|
|
71
71
|
}
|
|
@@ -74,12 +74,9 @@ export class MdsImg {
|
|
|
74
74
|
this.setAriaAttributes = () => {
|
|
75
75
|
setAttributeIfEmpty(this.host, 'aria-label', this.alt);
|
|
76
76
|
};
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
*/
|
|
81
|
-
async updateLang() {
|
|
82
|
-
this.language = this.t.lang(this.host);
|
|
77
|
+
this.handleConsumptionLoadClick = () => {
|
|
78
|
+
this.imageConsumptionLoaded = true;
|
|
79
|
+
};
|
|
83
80
|
}
|
|
84
81
|
srcsetConsumptionHandler(newValue) {
|
|
85
82
|
this.srcsetConsumptionData = this.formatConsumptionData(newValue);
|
|
@@ -99,9 +96,6 @@ export class MdsImg {
|
|
|
99
96
|
this.alt = this.autoAltName();
|
|
100
97
|
}
|
|
101
98
|
}
|
|
102
|
-
componentWillRender() {
|
|
103
|
-
this.t.lang(this.host);
|
|
104
|
-
}
|
|
105
99
|
componentDidLoad() {
|
|
106
100
|
this.setAriaAttributes();
|
|
107
101
|
}
|
|
@@ -112,9 +106,7 @@ export class MdsImg {
|
|
|
112
106
|
}
|
|
113
107
|
if (this.srcsetConsumptionData) {
|
|
114
108
|
if (this.consumptionMode === 'low') {
|
|
115
|
-
return (h(Host, { "aria-label": this.alt, role: "img", onClick: ()
|
|
116
|
-
this.imageConsumptionLoaded = true;
|
|
117
|
-
} }, h("div", { class: "contrast-area-50" }), !this.imageConsumptionLoaded ? (h("div", { "aria-hidden": "true", class: "alt-text-container alt-text-container--default-aspect-ratio" }, h("mds-icon", { class: "icon", name: miBaselinePanorama }), h("mds-text", { class: "alt-text", typography: "h6" }, h("i", null, this.alt)), h("mds-button", { "aria-hidden": "true", role: "none", class: "click-to-load", tabIndex: -1, variant: "light", tone: "outline" }, this.t.get('clickToLoad')))) : (h("img", { alt: this.alt, "aria-hidden": "true", height: this.height, loading: this.loading, onError: this.onError, onLoad: this.onSuccess, part: "media", sizes: this.sizes, src: (_a = this.srcsetConsumptionData[this.consumptionMode]) !== null && _a !== void 0 ? _a : this.src, srcset: this.srcset, width: this.width }))));
|
|
109
|
+
return (h(Host, { "aria-label": this.alt, role: "img", onClick: this.handleConsumptionLoadClick }, h("div", { class: "contrast-area-50" }), !this.imageConsumptionLoaded ? (h("div", { "aria-hidden": "true", class: "alt-text-container alt-text-container--default-aspect-ratio" }, h("mds-icon", { class: "icon", name: miBaselinePanorama }), h("mds-text", { class: "alt-text", typography: "h6" }, h("i", null, this.alt)), h("mds-button", { "aria-hidden": "true", role: "none", class: "click-to-load", tabIndex: -1, variant: "light", tone: "outline", label: this.t.get('clickToLoad') }))) : (h("img", { alt: this.alt, "aria-hidden": "true", height: this.height, loading: this.loading, onError: this.onError, onLoad: this.onSuccess, part: "media", sizes: this.sizes, src: (_a = this.srcsetConsumptionData[this.consumptionMode]) !== null && _a !== void 0 ? _a : this.src, srcset: this.srcset, width: this.width }))));
|
|
118
110
|
}
|
|
119
111
|
return (h(Host, { "aria-label": this.alt, role: "img" }, h("div", { class: "contrast-area-50" }), h("img", { alt: this.alt, "aria-hidden": "true", height: this.height, loading: this.loading, onError: this.onError, onLoad: this.onSuccess, part: "media", sizes: this.sizes, src: (_b = this.srcsetConsumptionData[this.consumptionMode]) !== null && _b !== void 0 ? _b : this.src, srcset: this.srcset, width: this.width })));
|
|
120
112
|
}
|
|
@@ -278,11 +270,11 @@ export class MdsImg {
|
|
|
278
270
|
"mutable": false,
|
|
279
271
|
"complexType": {
|
|
280
272
|
"original": "string",
|
|
281
|
-
"resolved": "string",
|
|
273
|
+
"resolved": "string | undefined",
|
|
282
274
|
"references": {}
|
|
283
275
|
},
|
|
284
276
|
"required": false,
|
|
285
|
-
"optional":
|
|
277
|
+
"optional": true,
|
|
286
278
|
"docs": {
|
|
287
279
|
"tags": [],
|
|
288
280
|
"text": "Specifies the path to the image"
|
|
@@ -354,8 +346,7 @@ export class MdsImg {
|
|
|
354
346
|
static get states() {
|
|
355
347
|
return {
|
|
356
348
|
"imageConsumptionLoaded": {},
|
|
357
|
-
"imageError": {}
|
|
358
|
-
"language": {}
|
|
349
|
+
"imageError": {}
|
|
359
350
|
};
|
|
360
351
|
}
|
|
361
352
|
static get events() {
|
|
@@ -405,27 +396,6 @@ export class MdsImg {
|
|
|
405
396
|
}
|
|
406
397
|
}];
|
|
407
398
|
}
|
|
408
|
-
static get methods() {
|
|
409
|
-
return {
|
|
410
|
-
"updateLang": {
|
|
411
|
-
"complexType": {
|
|
412
|
-
"signature": "() => Promise<void>",
|
|
413
|
-
"parameters": [],
|
|
414
|
-
"references": {
|
|
415
|
-
"Promise": {
|
|
416
|
-
"location": "global",
|
|
417
|
-
"id": "global::Promise"
|
|
418
|
-
}
|
|
419
|
-
},
|
|
420
|
-
"return": "Promise<void>"
|
|
421
|
-
},
|
|
422
|
-
"docs": {
|
|
423
|
-
"text": "Updates the component's texts to the locale currently set on the host element.",
|
|
424
|
-
"tags": []
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
};
|
|
428
|
-
}
|
|
429
399
|
static get elementRef() { return "host"; }
|
|
430
400
|
static get watchers() {
|
|
431
401
|
return [{
|