@maggioli-design-system/magma 2.0.0-beta.3 → 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 +35 -3
- 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 -28
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +8 -17
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +3 -3
- package/dist/cjs/mds-accordion.cjs.entry.js +5 -22
- 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 +8 -21
- package/dist/cjs/mds-badge.cjs.entry.js +5 -26
- package/dist/cjs/mds-banner_3.cjs.entry.js +35 -70
- package/dist/cjs/mds-benchmark-bar.cjs.entry.js +2 -2
- 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 +7 -15
- 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 +10 -32
- package/dist/cjs/mds-calendar_2.cjs.entry.js +123 -102
- 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 +4 -21
- package/dist/cjs/mds-details.cjs.entry.js +8 -18
- package/dist/cjs/mds-dropdown.cjs.entry.js +184 -58
- package/dist/cjs/mds-emoji.cjs.entry.js +301 -181
- package/dist/cjs/mds-entity.cjs.entry.js +11 -23
- package/dist/cjs/mds-file-preview.cjs.entry.js +8 -36
- package/dist/cjs/mds-file.cjs.entry.js +6 -34
- package/dist/cjs/mds-filter-item.cjs.entry.js +6 -25
- package/dist/cjs/mds-filter.cjs.entry.js +19 -32
- package/dist/cjs/mds-header-bar.cjs.entry.js +11 -27
- package/dist/cjs/mds-header.cjs.entry.js +8 -22
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +2 -2
- package/dist/cjs/mds-hr.cjs.entry.js +4 -17
- package/dist/cjs/mds-img.cjs.entry.js +8 -16
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-date-range.cjs.entry.js +57 -43
- package/dist/cjs/mds-input-date.cjs.entry.js +14 -44
- package/dist/cjs/mds-input-field.cjs.entry.js +42 -6
- package/dist/cjs/mds-input-otp.cjs.entry.js +37 -3
- package/dist/cjs/mds-input-range.cjs.entry.js +9 -29
- package/dist/cjs/mds-input-select.cjs.entry.js +11 -41
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +19 -55
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +8 -40
- package/dist/cjs/mds-input-upload.cjs.entry.js +34 -36
- package/dist/cjs/mds-input.cjs.entry.js +23 -52
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +5 -14
- package/dist/cjs/mds-keyboard.cjs.entry.js +5 -25
- package/dist/cjs/mds-kpi-item.cjs.entry.js +12 -25
- package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
- package/dist/cjs/mds-label.cjs.entry.js +7 -29
- package/dist/cjs/mds-list-item.cjs.entry.js +4 -13
- package/dist/cjs/mds-list.cjs.entry.js +1 -1
- package/dist/cjs/mds-mention.cjs.entry.js +38 -4
- package/dist/cjs/mds-modal.cjs.entry.js +54 -47
- package/dist/cjs/mds-note.cjs.entry.js +7 -35
- package/dist/cjs/mds-notification.cjs.entry.js +12 -14
- package/dist/cjs/mds-paginator-item.cjs.entry.js +5 -20
- package/dist/cjs/mds-paginator.cjs.entry.js +27 -32
- package/dist/cjs/mds-policy-ai.cjs.entry.js +5 -15
- package/dist/cjs/mds-pref-animation.cjs.entry.js +7 -23
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +7 -23
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +10 -24
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +27 -15
- 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 +147 -230
- package/dist/cjs/mds-pref.cjs.entry.js +40 -17
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +4 -25
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +4 -25
- package/dist/cjs/mds-price-table-features.cjs.entry.js +4 -25
- package/dist/cjs/mds-price-table-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table-list.cjs.entry.js +4 -25
- package/dist/cjs/mds-price-table.cjs.entry.js +2 -2
- package/dist/cjs/mds-progress_2.cjs.entry.js +7 -33
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +16 -39
- package/dist/cjs/mds-push-notification.cjs.entry.js +7 -20
- package/dist/cjs/mds-quote.cjs.entry.js +4 -13
- 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 -21
- package/dist/cjs/mds-status-bar.cjs.entry.js +4 -25
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +14 -25
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +21 -12
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +6 -27
- package/dist/cjs/mds-tab-bar.cjs.entry.js +5 -26
- package/dist/cjs/mds-tab_2.cjs.entry.js +14 -47
- package/dist/cjs/mds-table-body.cjs.entry.js +4 -13
- package/dist/cjs/mds-table-footer.cjs.entry.js +4 -13
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +4 -13
- package/dist/cjs/mds-table-header.cjs.entry.js +19 -31
- package/dist/cjs/mds-table-row.cjs.entry.js +20 -29
- package/dist/cjs/mds-table.cjs.entry.js +60 -50
- package/dist/cjs/mds-text.cjs.entry.js +36 -21
- package/dist/cjs/mds-toast.cjs.entry.js +10 -27
- package/dist/cjs/mds-tooltip.cjs.entry.js +16 -27
- package/dist/cjs/mds-tree-item.cjs.entry.js +12 -14
- package/dist/cjs/mds-tree.cjs.entry.js +12 -6
- package/dist/cjs/mds-url-view.cjs.entry.js +21 -41
- package/dist/cjs/mds-usage.cjs.entry.js +5 -33
- package/dist/cjs/mds-video-wall.cjs.entry.js +8 -4
- package/dist/cjs/mds-zero.cjs.entry.js +4 -25
- 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 +175 -9
- 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 +83 -59
- 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 +9 -65
- package/dist/collection/components/mds-accordion/mds-accordion.js +3 -27
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +63 -81
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +2 -31
- package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +2 -26
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +50 -36
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +2 -16
- package/dist/collection/components/mds-author/mds-author.css +4 -0
- package/dist/collection/components/mds-author/mds-author.js +14 -2
- package/dist/collection/components/mds-avatar/mds-avatar.css +125 -111
- package/dist/collection/components/mds-avatar/mds-avatar.js +6 -21
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.css +12 -84
- 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 +6 -24
- package/dist/collection/components/mds-badge/mds-badge.css +168 -155
- package/dist/collection/components/mds-badge/mds-badge.js +2 -31
- package/dist/collection/components/mds-banner/mds-banner.css +149 -192
- package/dist/collection/components/mds-banner/mds-banner.js +10 -58
- package/dist/collection/components/mds-bibliography/mds-bibliography.css +6 -24
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.css +6 -70
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +2 -37
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +15 -67
- package/dist/collection/components/mds-button/mds-button.css +285 -333
- package/dist/collection/components/mds-button/mds-button.js +4 -24
- 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 +13 -4
- 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 +150 -127
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +88 -299
- package/dist/collection/components/mds-card/mds-card.css +11 -35
- package/dist/collection/components/mds-card/mds-card.js +2 -22
- 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 +317 -278
- package/dist/collection/components/mds-chip/mds-chip.js +19 -61
- package/dist/collection/components/mds-details/mds-details.css +52 -28
- package/dist/collection/components/mds-details/mds-details.js +4 -16
- package/dist/collection/components/mds-dropdown/mds-dropdown.css +102 -121
- package/dist/collection/components/mds-dropdown/mds-dropdown.js +179 -59
- 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 +25 -76
- package/dist/collection/components/mds-entity/mds-entity.js +13 -24
- package/dist/collection/components/mds-file/mds-file.css +103 -79
- package/dist/collection/components/mds-file/mds-file.js +2 -56
- package/dist/collection/components/mds-file-preview/mds-file-preview.css +277 -218
- package/dist/collection/components/mds-file-preview/mds-file-preview.js +4 -62
- package/dist/collection/components/mds-filter/mds-filter.css +66 -78
- package/dist/collection/components/mds-filter/mds-filter.js +16 -33
- package/dist/collection/components/mds-filter-item/mds-filter-item.css +73 -53
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +2 -29
- package/dist/collection/components/mds-header/mds-header.css +15 -68
- package/dist/collection/components/mds-header/mds-header.js +5 -22
- package/dist/collection/components/mds-header-bar/mds-header-bar.css +60 -31
- package/dist/collection/components/mds-header-bar/mds-header-bar.js +9 -28
- package/dist/collection/components/mds-help/mds-help.css +1 -19
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +13 -104
- package/dist/collection/components/mds-hr/mds-hr.css +6 -18
- package/dist/collection/components/mds-hr/mds-hr.js +2 -21
- 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 +5 -36
- package/dist/collection/components/mds-input/mds-input.css +120 -158
- package/dist/collection/components/mds-input/mds-input.js +33 -65
- package/dist/collection/components/mds-input-date/mds-input-date.css +107 -124
- package/dist/collection/components/mds-input-date/mds-input-date.js +49 -62
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +100 -90
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +77 -62
- 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 +33 -45
- 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 +61 -19
- package/dist/collection/components/mds-input-range/mds-input-range.js +7 -31
- package/dist/collection/components/mds-input-select/mds-input-select.css +123 -156
- package/dist/collection/components/mds-input-select/mds-input-select.js +28 -61
- package/dist/collection/components/mds-input-switch/mds-input-switch.css +91 -250
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +12 -63
- package/dist/collection/components/mds-input-tip/mds-input-tip.css +45 -31
- package/dist/collection/components/mds-input-tip/mds-input-tip.js +2 -16
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.css +84 -56
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +3 -54
- package/dist/collection/components/mds-input-upload/mds-input-upload.css +26 -37
- package/dist/collection/components/mds-input-upload/mds-input-upload.js +30 -51
- package/dist/collection/components/mds-keyboard/mds-keyboard.css +32 -126
- package/dist/collection/components/mds-keyboard/mds-keyboard.js +2 -46
- 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 +103 -40
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +10 -27
- package/dist/collection/components/mds-label/mds-label.css +265 -354
- package/dist/collection/components/mds-label/mds-label.js +3 -54
- package/dist/collection/components/mds-list-item/mds-list-item.css +3 -9
- package/dist/collection/components/mds-list-item/mds-list-item.js +2 -16
- 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 +71 -101
- package/dist/collection/components/mds-modal/mds-modal.js +72 -45
- package/dist/collection/components/mds-note/mds-note.css +220 -198
- package/dist/collection/components/mds-note/mds-note.js +3 -61
- package/dist/collection/components/mds-notification/mds-notification.css +55 -89
- package/dist/collection/components/mds-notification/mds-notification.js +9 -16
- package/dist/collection/components/mds-paginator/mds-paginator.css +71 -35
- package/dist/collection/components/mds-paginator/mds-paginator.js +24 -37
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +78 -96
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +2 -24
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.css +9 -9
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -38
- package/dist/collection/components/mds-pref/mds-pref.js +40 -40
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.css +50 -6
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +4 -47
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.css +12 -12
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +4 -47
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.css +4 -4
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +7 -48
- 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 +183 -239
- 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 +56 -47
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +2 -31
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +71 -67
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +2 -31
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +66 -42
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +3 -28
- 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 +63 -25
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +3 -28
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.css +5 -31
- 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 +100 -94
- package/dist/collection/components/mds-progress/mds-progress.js +2 -27
- package/dist/collection/components/mds-push-notification/mds-push-notification.css +7 -37
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +2 -21
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +172 -136
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +13 -60
- package/dist/collection/components/mds-quote/mds-quote.css +2 -2
- package/dist/collection/components/mds-quote/mds-quote.js +2 -16
- 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 +12 -42
- package/dist/collection/components/mds-separator/mds-separator.js +2 -26
- package/dist/collection/components/mds-spinner/mds-spinner.css +3 -9
- package/dist/collection/components/mds-spinner/mds-spinner.js +2 -16
- package/dist/collection/components/mds-status-bar/mds-status-bar.css +13 -23
- package/dist/collection/components/mds-status-bar/mds-status-bar.js +2 -31
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.css +8 -56
- 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 +68 -120
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +10 -44
- package/dist/collection/components/mds-tab/mds-tab.css +85 -189
- package/dist/collection/components/mds-tab/mds-tab.js +5 -27
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.css +54 -10
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +2 -31
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +62 -44
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +2 -27
- package/dist/collection/components/mds-tab-item/mds-tab-item.css +22 -37
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +23 -22
- package/dist/collection/components/mds-table/mds-table.css +86 -130
- package/dist/collection/components/mds-table/mds-table.js +57 -52
- package/dist/collection/components/mds-table-body/mds-table-body.css +54 -40
- package/dist/collection/components/mds-table-body/mds-table-body.js +2 -16
- package/dist/collection/components/mds-table-cell/mds-table-cell.css +62 -32
- package/dist/collection/components/mds-table-cell/mds-table-cell.js +2 -16
- package/dist/collection/components/mds-table-footer/mds-table-footer.css +44 -0
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +2 -16
- package/dist/collection/components/mds-table-header/mds-table-header.css +44 -0
- package/dist/collection/components/mds-table-header/mds-table-header.js +17 -48
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.css +47 -7
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +3 -13
- package/dist/collection/components/mds-table-row/mds-table-row.css +67 -49
- package/dist/collection/components/mds-table-row/mds-table-row.js +19 -50
- package/dist/collection/components/mds-text/mds-text.css +18 -38
- package/dist/collection/components/mds-text/mds-text.js +23 -22
- package/dist/collection/components/mds-toast/mds-toast.css +99 -90
- package/dist/collection/components/mds-toast/mds-toast.js +8 -28
- package/dist/collection/components/mds-tooltip/mds-tooltip.css +68 -85
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +12 -31
- package/dist/collection/components/mds-tree/mds-tree.css +20 -212
- package/dist/collection/components/mds-tree/mds-tree.js +10 -4
- package/dist/collection/components/mds-tree-item/mds-tree-item.css +146 -267
- package/dist/collection/components/mds-tree-item/mds-tree-item.js +7 -28
- package/dist/collection/components/mds-url-view/mds-url-view.css +59 -33
- package/dist/collection/components/mds-url-view/mds-url-view.js +17 -67
- package/dist/collection/components/mds-usage/mds-usage.css +80 -95
- package/dist/collection/components/mds-usage/mds-usage.js +2 -60
- package/dist/collection/components/mds-video-wall/mds-video-wall.css +11 -26
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +11 -2
- package/dist/collection/components/mds-zero/mds-zero.css +56 -18
- package/dist/collection/components/mds-zero/mds-zero.js +2 -31
- 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 +750 -1137
- 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 -28
- package/dist/esm/mds-accordion-timer-item.entry.js +8 -17
- package/dist/esm/mds-accordion-timer.entry.js +3 -3
- package/dist/esm/mds-accordion.entry.js +5 -22
- 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 +8 -21
- package/dist/esm/mds-badge.entry.js +5 -26
- package/dist/esm/mds-banner_3.entry.js +35 -70
- package/dist/esm/mds-benchmark-bar.entry.js +2 -2
- 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 +7 -15
- 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 +10 -32
- package/dist/esm/mds-calendar_2.entry.js +123 -102
- 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 +4 -21
- package/dist/esm/mds-details.entry.js +8 -18
- package/dist/esm/mds-dropdown.entry.js +184 -58
- package/dist/esm/mds-emoji.entry.js +301 -181
- package/dist/esm/mds-entity.entry.js +11 -23
- package/dist/esm/mds-file-preview.entry.js +8 -36
- package/dist/esm/mds-file.entry.js +6 -34
- package/dist/esm/mds-filter-item.entry.js +6 -25
- package/dist/esm/mds-filter.entry.js +19 -32
- package/dist/esm/mds-header-bar.entry.js +11 -27
- package/dist/esm/mds-header.entry.js +8 -22
- package/dist/esm/mds-horizontal-scroll.entry.js +2 -2
- package/dist/esm/mds-hr.entry.js +4 -17
- package/dist/esm/mds-img.entry.js +8 -16
- package/dist/esm/mds-input-date-range-preselection.entry.js +2 -2
- package/dist/esm/mds-input-date-range.entry.js +57 -43
- package/dist/esm/mds-input-date.entry.js +14 -44
- package/dist/esm/mds-input-field.entry.js +42 -6
- package/dist/esm/mds-input-otp.entry.js +37 -3
- package/dist/esm/mds-input-range.entry.js +9 -29
- package/dist/esm/mds-input-select.entry.js +11 -41
- package/dist/esm/mds-input-switch_2.entry.js +19 -55
- package/dist/esm/mds-input-tip_2.entry.js +8 -40
- package/dist/esm/mds-input-upload.entry.js +34 -36
- package/dist/esm/mds-input.entry.js +23 -52
- package/dist/esm/mds-keyboard-key.entry.js +5 -14
- package/dist/esm/mds-keyboard.entry.js +5 -25
- package/dist/esm/mds-kpi-item.entry.js +12 -25
- package/dist/esm/mds-kpi.entry.js +2 -2
- package/dist/esm/mds-label.entry.js +7 -29
- package/dist/esm/mds-list-item.entry.js +4 -13
- package/dist/esm/mds-list.entry.js +1 -1
- package/dist/esm/mds-mention.entry.js +38 -4
- package/dist/esm/mds-modal.entry.js +54 -47
- package/dist/esm/mds-note.entry.js +7 -35
- package/dist/esm/mds-notification.entry.js +12 -14
- package/dist/esm/mds-paginator-item.entry.js +5 -20
- package/dist/esm/mds-paginator.entry.js +27 -32
- package/dist/esm/mds-policy-ai.entry.js +5 -15
- package/dist/esm/mds-pref-animation.entry.js +7 -23
- package/dist/esm/mds-pref-consumption.entry.js +7 -23
- package/dist/esm/mds-pref-contrast.entry.js +10 -24
- package/dist/esm/mds-pref-language-item.entry.js +27 -15
- 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 +147 -230
- package/dist/esm/mds-pref.entry.js +40 -17
- package/dist/esm/mds-price-table-features-cell.entry.js +4 -25
- package/dist/esm/mds-price-table-features-row.entry.js +4 -25
- package/dist/esm/mds-price-table-features.entry.js +4 -25
- package/dist/esm/mds-price-table-header.entry.js +2 -2
- package/dist/esm/mds-price-table-list-item.entry.js +3 -3
- package/dist/esm/mds-price-table-list.entry.js +4 -25
- package/dist/esm/mds-price-table.entry.js +2 -2
- package/dist/esm/mds-progress_2.entry.js +7 -33
- package/dist/esm/mds-push-notification-item.entry.js +16 -39
- package/dist/esm/mds-push-notification.entry.js +7 -20
- package/dist/esm/mds-quote.entry.js +4 -13
- 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 -21
- package/dist/esm/mds-status-bar.entry.js +4 -25
- package/dist/esm/mds-stepper-bar-item.entry.js +14 -25
- package/dist/esm/mds-stepper-bar.entry.js +21 -12
- package/dist/esm/mds-tab-bar-item.entry.js +6 -27
- package/dist/esm/mds-tab-bar.entry.js +5 -26
- package/dist/esm/mds-tab_2.entry.js +14 -47
- package/dist/esm/mds-table-body.entry.js +4 -13
- package/dist/esm/mds-table-footer.entry.js +4 -13
- package/dist/esm/mds-table-header-cell.entry.js +4 -13
- package/dist/esm/mds-table-header.entry.js +19 -31
- package/dist/esm/mds-table-row.entry.js +20 -29
- package/dist/esm/mds-table.entry.js +60 -50
- package/dist/esm/mds-text.entry.js +36 -21
- package/dist/esm/mds-toast.entry.js +10 -27
- package/dist/esm/mds-tooltip.entry.js +16 -27
- package/dist/esm/mds-tree-item.entry.js +12 -14
- package/dist/esm/mds-tree.entry.js +12 -6
- package/dist/esm/mds-url-view.entry.js +21 -41
- package/dist/esm/mds-usage.entry.js +5 -33
- package/dist/esm/mds-video-wall.entry.js +8 -4
- package/dist/esm/mds-zero.entry.js +4 -25
- 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 +4268 -3165
- package/dist/hydrate/index.mjs +4268 -3165
- 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 +5337 -7124
- package/dist/types/common/date.d.ts +5 -1
- package/dist/types/common/floating-controller.d.ts +56 -2
- 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 +48 -16
- 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 +0 -8
- package/dist/types/components/mds-accordion-item/mds-accordion-item.d.ts +0 -10
- package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +0 -4
- package/dist/types/components/mds-author/mds-author.d.ts +2 -1
- package/dist/types/components/mds-avatar/mds-avatar.d.ts +0 -6
- package/dist/types/components/mds-badge/mds-badge.d.ts +0 -10
- package/dist/types/components/mds-banner/mds-banner.d.ts +2 -16
- package/dist/types/components/mds-breadcrumb/mds-breadcrumb.d.ts +0 -6
- package/dist/types/components/mds-button/mds-button.d.ts +0 -7
- package/dist/types/components/mds-button-group/mds-button-group.d.ts +1 -1
- package/dist/types/components/mds-calendar/mds-calendar.d.ts +27 -18
- package/dist/types/components/mds-card/mds-card.d.ts +0 -8
- 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 -15
- package/dist/types/components/mds-details/mds-details.d.ts +0 -5
- package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +33 -12
- package/dist/types/components/mds-emoji/mds-emoji.d.ts +9 -2
- package/dist/types/components/mds-entity/mds-entity.d.ts +3 -10
- package/dist/types/components/mds-file/mds-file.d.ts +0 -15
- package/dist/types/components/mds-file-preview/mds-file-preview.d.ts +0 -15
- package/dist/types/components/mds-filter/mds-filter.d.ts +10 -10
- package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +0 -9
- package/dist/types/components/mds-header/mds-header.d.ts +0 -7
- package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +2 -11
- package/dist/types/components/mds-hr/mds-hr.d.ts +0 -6
- package/dist/types/components/mds-img/mds-img.d.ts +1 -7
- package/dist/types/components/mds-input/mds-input.d.ts +7 -15
- package/dist/types/components/mds-input-date/mds-input-date.d.ts +9 -14
- package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +9 -12
- 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-range/mds-input-range.d.ts +0 -10
- package/dist/types/components/mds-input-select/mds-input-select.d.ts +5 -14
- package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +0 -11
- package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +0 -4
- package/dist/types/components/mds-input-tip-item/mds-input-tip-item.d.ts +0 -13
- package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +2 -7
- package/dist/types/components/mds-input-upload/meta/types.d.ts +1 -1
- package/dist/types/components/mds-keyboard/mds-keyboard.d.ts +0 -11
- 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 -10
- package/dist/types/components/mds-label/mds-label.d.ts +0 -12
- package/dist/types/components/mds-list-item/mds-list-item.d.ts +0 -4
- 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 +17 -16
- package/dist/types/components/mds-note/mds-note.d.ts +0 -15
- package/dist/types/components/mds-notification/mds-notification.d.ts +0 -3
- package/dist/types/components/mds-paginator/mds-paginator.d.ts +9 -11
- package/dist/types/components/mds-paginator-item/mds-paginator-item.d.ts +0 -7
- package/dist/types/components/mds-policy-ai/mds-policy-ai.d.ts +0 -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 +0 -10
- package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +0 -10
- package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +0 -10
- 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 -45
- 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-price-table-features/mds-price-table-features.d.ts +0 -10
- package/dist/types/components/mds-price-table-features-cell/mds-price-table-features-cell.d.ts +0 -10
- package/dist/types/components/mds-price-table-features-row/mds-price-table-features-row.d.ts +0 -10
- package/dist/types/components/mds-price-table-list/mds-price-table-list.d.ts +0 -10
- package/dist/types/components/mds-progress/mds-progress.d.ts +0 -10
- package/dist/types/components/mds-push-notification/mds-push-notification.d.ts +0 -6
- package/dist/types/components/mds-push-notification-item/mds-push-notification-item.d.ts +3 -17
- package/dist/types/components/mds-quote/mds-quote.d.ts +0 -4
- package/dist/types/components/mds-radial-progress/mds-radial-progress.d.ts +0 -1
- package/dist/types/components/mds-separator/mds-separator.d.ts +0 -8
- package/dist/types/components/mds-spinner/mds-spinner.d.ts +0 -4
- package/dist/types/components/mds-status-bar/mds-status-bar.d.ts +0 -10
- 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 -9
- package/dist/types/components/mds-tab/mds-tab.d.ts +0 -9
- package/dist/types/components/mds-tab-bar/mds-tab-bar.d.ts +0 -10
- package/dist/types/components/mds-tab-bar-item/mds-tab-bar-item.d.ts +0 -10
- package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +5 -8
- package/dist/types/components/mds-table/mds-table.d.ts +10 -14
- package/dist/types/components/mds-table-body/mds-table-body.d.ts +0 -4
- package/dist/types/components/mds-table-cell/mds-table-cell.d.ts +0 -4
- package/dist/types/components/mds-table-footer/mds-table-footer.d.ts +0 -4
- package/dist/types/components/mds-table-header/mds-table-header.d.ts +0 -9
- package/dist/types/components/mds-table-header-cell/mds-table-header-cell.d.ts +0 -4
- package/dist/types/components/mds-table-row/mds-table-row.d.ts +3 -10
- package/dist/types/components/mds-text/mds-text.d.ts +0 -4
- package/dist/types/components/mds-toast/mds-toast.d.ts +2 -11
- package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +0 -9
- package/dist/types/components/mds-tree-item/mds-tree-item.d.ts +1 -5
- package/dist/types/components/mds-url-view/mds-url-view.d.ts +0 -15
- package/dist/types/components/mds-usage/mds-usage.d.ts +0 -16
- package/dist/types/components/mds-video-wall/mds-video-wall.d.ts +2 -1
- package/dist/types/components/mds-zero/mds-zero.d.ts +0 -10
- package/dist/types/components.d.ts +243 -239
- 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 +58 -64
- package/dist/cjs/date-dnDGaLCn.js +0 -16
- package/dist/cjs/floating-controller-CXEVR1wX.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/preference-BdpIXWLP.js +0 -81
- package/dist/cjs/slot-CI0KpgtY.js +0 -52
- package/dist/collection/components/mds-accordion/test/mds-accordion.stories.js +0 -39
- 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 -388
- 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/preference.js +0 -1
- package/dist/components/slot.js +0 -1
- package/dist/esm/date-C1oxPa_J.js +0 -14
- package/dist/esm/floating-controller-D5eXU5Mk.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/preference-fMwnXhio.js +0 -79
- package/dist/esm/slot-ttrRC6OE.js +0 -48
- package/dist/esm-es5/date-C1oxPa_J.js +0 -1
- package/dist/esm-es5/floating-controller-D5eXU5Mk.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/preference-fMwnXhio.js +0 -1
- package/dist/esm-es5/slot-ttrRC6OE.js +0 -1
- package/dist/magma-components/p-0105d7c7.entry.js +0 -8
- package/dist/magma-components/p-022defe8.entry.js +0 -1
- package/dist/magma-components/p-02d858d0.entry.js +0 -1
- package/dist/magma-components/p-0607a2b3.entry.js +0 -1
- package/dist/magma-components/p-0af4d0ef.entry.js +0 -1
- package/dist/magma-components/p-0b91aae4.entry.js +0 -1
- package/dist/magma-components/p-0bb29dbd.system.entry.js +0 -1
- package/dist/magma-components/p-0c1a5df0.entry.js +0 -1
- package/dist/magma-components/p-0e986d85.entry.js +0 -18
- package/dist/magma-components/p-0ea42813.entry.js +0 -1
- package/dist/magma-components/p-0fe5aeaf.system.entry.js +0 -1
- package/dist/magma-components/p-10ddec99.system.entry.js +0 -1
- package/dist/magma-components/p-11567740.entry.js +0 -1
- package/dist/magma-components/p-116238cf.system.entry.js +0 -1
- package/dist/magma-components/p-1239667c.system.entry.js +0 -1
- package/dist/magma-components/p-1518fda3.system.entry.js +0 -1
- package/dist/magma-components/p-16c94506.system.entry.js +0 -1
- package/dist/magma-components/p-18823bfc.system.entry.js +0 -1
- package/dist/magma-components/p-188e94ef.system.entry.js +0 -1
- package/dist/magma-components/p-19446c9e.entry.js +0 -1
- package/dist/magma-components/p-1a73c7b0.system.entry.js +0 -1
- package/dist/magma-components/p-1ad03ee9.entry.js +0 -1
- package/dist/magma-components/p-1c4038f7.system.entry.js +0 -1
- package/dist/magma-components/p-2035564c.system.entry.js +0 -1
- package/dist/magma-components/p-2128ce5a.system.entry.js +0 -1
- package/dist/magma-components/p-21ee64ec.entry.js +0 -1
- package/dist/magma-components/p-224d2f55.entry.js +0 -1
- package/dist/magma-components/p-23791e85.system.entry.js +0 -1
- package/dist/magma-components/p-248c1b2c.system.entry.js +0 -1
- package/dist/magma-components/p-249b80a5.entry.js +0 -1
- package/dist/magma-components/p-262daf4f.entry.js +0 -1
- package/dist/magma-components/p-288ce251.entry.js +0 -1
- package/dist/magma-components/p-2a804b82.entry.js +0 -1
- package/dist/magma-components/p-2aff9851.system.entry.js +0 -1
- package/dist/magma-components/p-2b0667f6.system.entry.js +0 -1
- package/dist/magma-components/p-2bd03b3d.system.entry.js +0 -1
- package/dist/magma-components/p-2bfa7ed9.system.entry.js +0 -1
- package/dist/magma-components/p-2c6c80e8.entry.js +0 -1
- package/dist/magma-components/p-2e88e014.system.entry.js +0 -1
- package/dist/magma-components/p-2f5cc981.system.entry.js +0 -1
- package/dist/magma-components/p-31403b12.entry.js +0 -1
- package/dist/magma-components/p-31616d0b.entry.js +0 -1
- package/dist/magma-components/p-33b03c17.system.entry.js +0 -1
- package/dist/magma-components/p-353f30cc.system.entry.js +0 -1
- package/dist/magma-components/p-35482f9d.system.entry.js +0 -1
- package/dist/magma-components/p-35b5889a.system.entry.js +0 -1
- package/dist/magma-components/p-36d9d329.system.entry.js +0 -1
- package/dist/magma-components/p-36fd1ed7.system.entry.js +0 -1
- package/dist/magma-components/p-377c94ee.system.entry.js +0 -1
- package/dist/magma-components/p-385f395d.system.entry.js +0 -1
- package/dist/magma-components/p-39c09a42.system.entry.js +0 -1
- package/dist/magma-components/p-3_AKUQtJ.system.js +0 -1
- package/dist/magma-components/p-3c306ed0.system.entry.js +0 -1
- package/dist/magma-components/p-3de6fa18.entry.js +0 -1
- package/dist/magma-components/p-41da539f.entry.js +0 -1
- package/dist/magma-components/p-422bb9e2.system.entry.js +0 -1
- package/dist/magma-components/p-447c2d1b.entry.js +0 -1
- package/dist/magma-components/p-44e2965d.entry.js +0 -1
- package/dist/magma-components/p-46266f27.entry.js +0 -1
- package/dist/magma-components/p-4630472f.entry.js +0 -1
- package/dist/magma-components/p-4671336c.entry.js +0 -1
- package/dist/magma-components/p-4803d24f.system.entry.js +0 -1
- package/dist/magma-components/p-4a929c1c.entry.js +0 -1
- package/dist/magma-components/p-4bc7756a.system.entry.js +0 -1
- package/dist/magma-components/p-4f8ae676.system.entry.js +0 -1
- package/dist/magma-components/p-50c922ad.system.entry.js +0 -1
- package/dist/magma-components/p-50cdb70c.system.entry.js +0 -1
- package/dist/magma-components/p-52c10dbf.system.entry.js +0 -1
- package/dist/magma-components/p-52e35c13.system.entry.js +0 -1
- package/dist/magma-components/p-56a8f1d0.system.entry.js +0 -1
- package/dist/magma-components/p-5724212b.entry.js +0 -1
- package/dist/magma-components/p-5be1c273.entry.js +0 -1
- package/dist/magma-components/p-5d05fa1a.entry.js +0 -1
- package/dist/magma-components/p-5de4bf4f.entry.js +0 -1
- package/dist/magma-components/p-5e626696.entry.js +0 -1
- package/dist/magma-components/p-5f1532c0.system.entry.js +0 -1
- package/dist/magma-components/p-5fe8c814.entry.js +0 -1
- package/dist/magma-components/p-60e8812c.system.entry.js +0 -17
- package/dist/magma-components/p-611fa0a4.entry.js +0 -1
- package/dist/magma-components/p-61fefe1b.system.entry.js +0 -1
- package/dist/magma-components/p-62c9216f.system.entry.js +0 -1
- package/dist/magma-components/p-652b4e43.entry.js +0 -1
- package/dist/magma-components/p-6a92f533.entry.js +0 -1
- package/dist/magma-components/p-6b3569a0.entry.js +0 -1
- package/dist/magma-components/p-6b9175f1.system.entry.js +0 -1
- package/dist/magma-components/p-6ecfec17.entry.js +0 -1
- package/dist/magma-components/p-6ed096d3.system.entry.js +0 -1
- package/dist/magma-components/p-6ee86191.entry.js +0 -1
- package/dist/magma-components/p-70719b58.entry.js +0 -1
- package/dist/magma-components/p-70e1a436.entry.js +0 -1
- package/dist/magma-components/p-725d9e09.entry.js +0 -1
- package/dist/magma-components/p-726a76f0.entry.js +0 -1
- package/dist/magma-components/p-72d91c6f.system.entry.js +0 -1
- package/dist/magma-components/p-73926a10.entry.js +0 -1
- package/dist/magma-components/p-7499262d.system.entry.js +0 -1
- package/dist/magma-components/p-750214a3.entry.js +0 -1
- package/dist/magma-components/p-7590a160.entry.js +0 -1
- package/dist/magma-components/p-75fa7e6f.system.entry.js +0 -1
- package/dist/magma-components/p-765447d4.system.entry.js +0 -1
- package/dist/magma-components/p-76cb480d.entry.js +0 -1
- package/dist/magma-components/p-79e12ac8.entry.js +0 -1
- package/dist/magma-components/p-7b4b9b88.system.entry.js +0 -1
- package/dist/magma-components/p-7c464f28.entry.js +0 -1
- package/dist/magma-components/p-7d338f59.system.entry.js +0 -1
- package/dist/magma-components/p-81e16f90.system.entry.js +0 -1
- package/dist/magma-components/p-82c6cdb9.system.entry.js +0 -1
- package/dist/magma-components/p-83b01f8e.system.entry.js +0 -1
- package/dist/magma-components/p-8546f46f.system.entry.js +0 -1
- package/dist/magma-components/p-85a2d99d.entry.js +0 -1
- package/dist/magma-components/p-8620f425.entry.js +0 -1
- package/dist/magma-components/p-89581b08.system.entry.js +0 -1
- package/dist/magma-components/p-8964a9fe.entry.js +0 -1
- package/dist/magma-components/p-899cd759.entry.js +0 -1
- package/dist/magma-components/p-8RYXTPXs.js +0 -1
- package/dist/magma-components/p-8b2408b2.entry.js +0 -1
- package/dist/magma-components/p-8b9f6896.entry.js +0 -1
- package/dist/magma-components/p-8bde0c42.entry.js +0 -1
- package/dist/magma-components/p-8d5955ca.system.entry.js +0 -1
- package/dist/magma-components/p-91a1d3d5.entry.js +0 -1
- package/dist/magma-components/p-93538408.system.entry.js +0 -1
- package/dist/magma-components/p-94ff105b.system.entry.js +0 -1
- package/dist/magma-components/p-96f7ec63.entry.js +0 -1
- package/dist/magma-components/p-97144490.entry.js +0 -1
- package/dist/magma-components/p-999b0698.system.entry.js +0 -1
- package/dist/magma-components/p-9e533765.system.entry.js +0 -18
- 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-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-DssKRrAV.system.js +0 -1
- package/dist/magma-components/p-MSUJeuJp.js +0 -1
- package/dist/magma-components/p-a24d6d4a.system.entry.js +0 -1
- package/dist/magma-components/p-a24dadaa.system.entry.js +0 -1
- package/dist/magma-components/p-a2b84011.system.entry.js +0 -1
- package/dist/magma-components/p-a2d761d6.entry.js +0 -1
- package/dist/magma-components/p-a379adca.entry.js +0 -1
- package/dist/magma-components/p-a46f7424.system.entry.js +0 -1
- package/dist/magma-components/p-a47708f1.system.entry.js +0 -1
- package/dist/magma-components/p-a4d11055.system.entry.js +0 -1
- package/dist/magma-components/p-a4oAcjYG.js +0 -5
- package/dist/magma-components/p-a5ef9d32.entry.js +0 -18
- package/dist/magma-components/p-a6103622.entry.js +0 -1
- package/dist/magma-components/p-a6b8b861.entry.js +0 -1
- package/dist/magma-components/p-a6bdaa85.entry.js +0 -1
- package/dist/magma-components/p-a716833c.system.entry.js +0 -1
- package/dist/magma-components/p-a877906d.system.entry.js +0 -1
- package/dist/magma-components/p-a8a2d90e.system.entry.js +0 -1
- package/dist/magma-components/p-a92edada.entry.js +0 -1
- package/dist/magma-components/p-aafec5fe.entry.js +0 -1
- package/dist/magma-components/p-abce0c57.system.entry.js +0 -1
- package/dist/magma-components/p-ac2ee475.entry.js +0 -1
- package/dist/magma-components/p-ac5baffa.system.entry.js +0 -1
- package/dist/magma-components/p-ad1ad433.system.entry.js +0 -1
- package/dist/magma-components/p-ae433eb9.entry.js +0 -1
- package/dist/magma-components/p-afaef9a1.entry.js +0 -1
- package/dist/magma-components/p-b257222c.system.entry.js +0 -1
- package/dist/magma-components/p-b472ed3c.entry.js +0 -1
- package/dist/magma-components/p-b4fc19e9.entry.js +0 -1
- package/dist/magma-components/p-b53ef2c1.entry.js +0 -1
- package/dist/magma-components/p-b7dedc9f.entry.js +0 -1
- package/dist/magma-components/p-b97edfb5.entry.js +0 -1
- package/dist/magma-components/p-bc851caf.entry.js +0 -1
- package/dist/magma-components/p-bc8ef479.system.entry.js +0 -9
- package/dist/magma-components/p-bdc54840.system.entry.js +0 -1
- package/dist/magma-components/p-bf29ca5a.entry.js +0 -1
- package/dist/magma-components/p-bfc29d3b.system.entry.js +0 -1
- package/dist/magma-components/p-bff1e84c.system.entry.js +0 -1
- package/dist/magma-components/p-c01c49b6.entry.js +0 -1
- package/dist/magma-components/p-c0296d86.system.entry.js +0 -1
- package/dist/magma-components/p-c036f516.entry.js +0 -1
- package/dist/magma-components/p-c3d8aa52.entry.js +0 -1
- package/dist/magma-components/p-c4e7b103.system.entry.js +0 -1
- package/dist/magma-components/p-c7a0a746.system.entry.js +0 -1
- package/dist/magma-components/p-c92a772e.entry.js +0 -1
- package/dist/magma-components/p-ca09ab1d.system.entry.js +0 -1
- package/dist/magma-components/p-cc9212ce.system.entry.js +0 -1
- package/dist/magma-components/p-cc95225c.system.entry.js +0 -1
- package/dist/magma-components/p-cd49c455.entry.js +0 -1
- package/dist/magma-components/p-d0542487.entry.js +0 -1
- package/dist/magma-components/p-d0dfe659.entry.js +0 -1
- package/dist/magma-components/p-d0eb94ea.system.entry.js +0 -1
- package/dist/magma-components/p-d3e5c4eb.system.entry.js +0 -1
- package/dist/magma-components/p-d4295773.entry.js +0 -1
- package/dist/magma-components/p-d5700423.system.entry.js +0 -1
- package/dist/magma-components/p-d838cb1c.system.entry.js +0 -1
- package/dist/magma-components/p-d9605a5d.system.entry.js +0 -1
- package/dist/magma-components/p-daa8f835.entry.js +0 -1
- package/dist/magma-components/p-db4e2a0b.system.entry.js +0 -1
- package/dist/magma-components/p-de0dac8f.entry.js +0 -1
- package/dist/magma-components/p-de8204f9.entry.js +0 -1
- package/dist/magma-components/p-e0b841e3.entry.js +0 -1
- package/dist/magma-components/p-e35ab355.entry.js +0 -1
- package/dist/magma-components/p-e44e2652.system.entry.js +0 -1
- package/dist/magma-components/p-e48d23f4.system.entry.js +0 -1
- package/dist/magma-components/p-e570aec5.system.entry.js +0 -1
- package/dist/magma-components/p-e57698df.system.entry.js +0 -1
- package/dist/magma-components/p-e669739e.entry.js +0 -1
- package/dist/magma-components/p-e8fa7a07.entry.js +0 -1
- package/dist/magma-components/p-ea2c8dd1.entry.js +0 -1
- package/dist/magma-components/p-ea881c45.system.entry.js +0 -1
- package/dist/magma-components/p-ebfb6963.system.entry.js +0 -1
- package/dist/magma-components/p-eca8523b.system.entry.js +0 -1
- package/dist/magma-components/p-ef142420.system.entry.js +0 -1
- package/dist/magma-components/p-ef56af85.system.entry.js +0 -1
- package/dist/magma-components/p-f0762290.entry.js +0 -1
- package/dist/magma-components/p-f1832c1e.system.entry.js +0 -1
- package/dist/magma-components/p-f4b1974a.entry.js +0 -1
- package/dist/magma-components/p-f7cfc9a7.system.entry.js +0 -1
- package/dist/magma-components/p-f83a9e08.entry.js +0 -1
- package/dist/magma-components/p-f8ee5fec.system.entry.js +0 -1
- package/dist/magma-components/p-f91dab2b.entry.js +0 -1
- package/dist/magma-components/p-fMwnXhio.js +0 -1
- package/dist/magma-components/p-fa61d03c.entry.js +0 -1
- package/dist/magma-components/p-fbf423a7.system.entry.js +0 -1
- package/dist/magma-components/p-fbfb589c.entry.js +0 -1
- package/dist/magma-components/p-fc56d9ae.entry.js +0 -1
- package/dist/magma-components/p-fc862fe2.system.entry.js +0 -1
- package/dist/magma-components/p-fd574e21.entry.js +0 -1
- package/dist/magma-components/p-fd649ac2.entry.js +0 -1
- package/dist/magma-components/p-fed36619.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 -40
- 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 -156
- 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 +1,7 @@
|
|
|
1
|
-
import{r as registerInstance,h,
|
|
1
|
+
import{r as registerInstance,h,e as Host,g as getElement}from"./index-DIiEV39g.js";import{p as preferenceStore}from"./preference-CKerJx2M.js";import{c as clsx}from"./clsx-ChV9xqsO.js";var mdsCardCss=function(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-card-content,mds-card-footer,mds-card-header,mds-card-media):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-card-gap:0;--mds-card-padding:0;--mds-card-background:rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248))));background-color:rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248))));border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));-webkit-box-shadow:var(--shadow-md-sharp,0 0 1px 1px #0000000f,0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f);box-shadow:var(--shadow-md-sharp,0 0 1px 1px #0000000f,0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f);corner-shape:var(--magma-corner-shape,squircle);container:mds-card/inline-size;display:grid;min-height:calc(var(--spacing,.0025rem)*400);overflow:hidden}.layout:not(.layout--disabled) ::slotted([slot=media]){grid-area:media}.layout:not(.layout--disabled) ::slotted([slot=header]){grid-area:header}.layout:not(.layout--disabled) ::slotted([slot=content]){grid-area:content}.layout:not(.layout--disabled) ::slotted([slot=footer]){grid-area:footer}.layout{display:grid;gap:var(--mds-card-gap,0);grid-template-columns:repeat(auto-fit,minmax(1px,100%));padding:var(--mds-card-padding,0)}.layout--cfhm:not(.layout--disabled){grid-template-areas:"header""media""content""footer";grid-template-rows:-webkit-min-content -webkit-min-content 1fr -webkit-min-content;grid-template-rows:min-content min-content 1fr min-content}.layout--chm:not(.layout--disabled){grid-template-areas:"header""media""content";grid-template-rows:-webkit-min-content -webkit-min-content 1fr;grid-template-rows:min-content min-content 1fr}.layout--cfm:not(.layout--disabled){grid-template-areas:"media""content""footer"}.layout--cfm:not(.layout--disabled),.layout--fhm:not(.layout--disabled){grid-template-rows:-webkit-min-content 1fr -webkit-min-content;grid-template-rows:min-content 1fr min-content}.layout--fhm:not(.layout--disabled){grid-template-areas:"header""media""footer"}.layout--cfh:not(.layout--disabled){grid-template-areas:"header""content""footer";grid-template-rows:-webkit-min-content 1fr -webkit-min-content;grid-template-rows:min-content 1fr min-content}.layout--hm:not(.layout--disabled){grid-template-areas:"header""media";grid-template-rows:-webkit-min-content 1fr;grid-template-rows:min-content 1fr}.layout--fm:not(.layout--disabled){grid-template-areas:"media""footer";grid-template-rows:1fr -webkit-min-content;grid-template-rows:1fr min-content}.layout--cm:not(.layout--disabled){grid-template-areas:"media""content"}.layout--cm:not(.layout--disabled),.layout--fh:not(.layout--disabled){grid-template-rows:-webkit-min-content 1fr;grid-template-rows:min-content 1fr}.layout--fh:not(.layout--disabled){grid-template-areas:"header""footer"}.layout--ch:not(.layout--disabled){grid-template-areas:"header""content";grid-template-rows:-webkit-min-content 1fr;grid-template-rows:min-content 1fr}.layout--cf:not(.layout--disabled){grid-template-areas:"content""footer";grid-template-rows:1fr -webkit-min-content;grid-template-rows:1fr min-content}.layout--h:not(.layout--disabled){grid-template-areas:"header";grid-template-rows:1fr}.layout--m:not(.layout--disabled){grid-template-areas:"media";grid-template-rows:1fr}.layout--c:not(.layout--disabled){grid-template-areas:"content";grid-template-rows:1fr}.layout--f:not(.layout--disabled){grid-template-areas:"footer";grid-template-rows:1fr}@container mds-card not (max-width:30em){.layout--cfhm:not(.layout--disabled){grid-template-areas:"media header""media content""media footer";grid-template-columns:minmax(240px,1fr) 2fr;grid-template-rows:-webkit-min-content 1fr -webkit-min-content;grid-template-rows:min-content 1fr min-content}.layout--chm:not(.layout--disabled){grid-template-areas:"media header""media content""media content";grid-template-columns:minmax(240px,1fr) 2fr;grid-template-rows:-webkit-min-content 1fr 1fr;grid-template-rows:min-content 1fr 1fr}.layout--fhm:not(.layout--disabled){grid-template-areas:"media header""media footer";grid-template-columns:minmax(240px,1fr) 2fr;grid-template-rows:-webkit-min-content 1fr;grid-template-rows:min-content 1fr}.layout--cfm:not(.layout--disabled){grid-template-areas:"media content""media footer"}.layout--cfm:not(.layout--disabled),.layout--cm:not(.layout--disabled){grid-template-columns:minmax(240px,1fr) 2fr;grid-template-rows:1fr -webkit-min-content;grid-template-rows:1fr min-content}.layout--cm:not(.layout--disabled){grid-template-areas:"media content"}}:host([pref-contrast=more]){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a);box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a)}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a);box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a)}}'};var MdsCard=/** @class */function(){function t(t){registerInstance(this,t);
|
|
2
|
+
/**
|
|
3
|
+
* Disables the automatic responsive behavior based on container queries
|
|
4
|
+
*/this.disableAutoGrid=false}t.prototype.componentWillLoad=function(){this.layout=Array.from(this.host.children).map((function(t){return(t.getAttribute("slot")!=null?t.getAttribute("slot")!=="":// if no custom slot find mds-card-{component}
|
|
5
|
+
t.tagName.startsWith("MDS-CARD-"))?// replace mds-card-header with header (for all mds-card-{component})
|
|
6
|
+
t.tagName.toLocaleLowerCase().replace("mds-card-",""):// if find other tag do nothing
|
|
7
|
+
""})).sort().reduce((function(t,e){return t+e.charAt(0)}),"")};t.prototype.render=function(){return h(Host,{key:"700b5644069cd6a7d4bfc3bea54079caf47ca59c","pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("div",{key:"9aed1455a96800a5a02fcac985a10068a09843da",class:clsx("layout",this.layout&&"layout--".concat(this.layout),this.disableAutoGrid?"layout--disabled":""),part:"layout"},h("slot",{key:"fa2fbd0bc71d9eaf6bf140dd499237ffae0ccb2d",name:"media"}),h("slot",{key:"7a3baf27222a6ff33a21b2bc7b8f95845aff8d56",name:"header"}),h("slot",{key:"65c90c6b1fd22dc4234e97c5ddd8a049835f018b",name:"content"}),h("slot",{key:"1977d445c55d24de92a933e0fc6d659641c0f439",name:"footer"})))};Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();MdsCard.style=mdsCardCss();export{MdsCard as mds_card};
|
|
@@ -1 +1,4 @@
|
|
|
1
|
-
import{r as registerInstance,
|
|
1
|
+
import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-DIiEV39g.js";import{h as hasChildWithSlot}from"./slot-C0o_l0td.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{m as miBaselineKeyboardArrowRight}from"./keyboard-arrow-right-DFyAGAnn.js";import{K as KeyboardManager}from"./keyboard-manager-KRu9I7dw.js";import{p as preferenceStore}from"./preference-CKerJx2M.js";var mdsDetailsCss=function(){return"@layer reset,vendor,theme,base,components,utilities;@keyframes focus-bounce{0%,75%,to{outline-offset:var(--magma-outline-focus-offset,2px)}50%{outline-offset:var(--magma-outline-blur-offset,6px)}}:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-details-duration:.3s;--private-details-duration:var(--mds-details-duration,.3s);--mds-details-icon-color:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-details-helper-icon-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));align-items:flex-start;display:flex;gap:calc(var(--spacing,.0025rem)*200)}.content{animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));display:grid;outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out}.content:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.details{display:grid;gap:calc(var(--spacing,.0025rem)*400);grid-template-rows:0fr;opacity:0;overflow:hidden;padding-top:0;pointer-events:none;-webkit-transition-duration:var(--private-details-duration);transition-duration:var(--private-details-duration);transition-property:grid-template-rows,opacity,padding,-ms-grid-rows}.content-expander{display:grid;gap:calc(var(--spacing,.0025rem)*500);min-height:0}.details.opened{grid-template-rows:1fr;opacity:1;overflow:visible;padding-top:calc(var(--spacing,.0025rem)*300);pointer-events:auto}.header{align-items:center;animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--radius-xs,8px);display:inline-flex;gap:calc(var(--spacing,.0025rem)*200);outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out}.header:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.icon{cursor:pointer;fill:var(--mds-details-icon-color,rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)))))}.icon--hidden{display:none}.helper-icon,.title{cursor:pointer}.helper-icon{display:flex;fill:var(--mds-details-helper-icon-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))));flex-shrink:0;rotate:0deg;-webkit-transition-duration:var(--duration-300,.3s);transition-duration:var(--duration-300,.3s);transition-property:rotate;-webkit-transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.helper-icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}.helper-icon.opened{rotate:90deg}.actions{display:flex;gap:calc(var(--spacing,.0025rem)*400)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-details-duration:0s}:host([pref-contrast=more]){--mds-details-icon-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))))}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-details-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-details-icon-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))))}}"};var MdsDetails=/** @class */function(){function a(a){var t=this;registerInstance(this,a);this.changedEvent=createEvent(this,"mdsDetailsChange",7);this.hasIcon=true;this.km=new KeyboardManager;
|
|
2
|
+
/**
|
|
3
|
+
* Specifies if the component is opened
|
|
4
|
+
*/this.opened=false;this.toggle=function(){t.isOpened=!t.isOpened;t.changedEvent.emit(t.isOpened)};this.checkIcon=function(){t.hasIcon=hasChildWithSlot(t.host,"icon")};this.onSlotChangeHandler=function(){t.checkIcon()}}a.prototype.validateOpened=function(a){this.isOpened=a};a.prototype.componentWillLoad=function(){this.isOpened=this.opened;this.checkIcon()};a.prototype.componentDidLoad=function(){var a;var t=(a=this.host.shadowRoot)===null||a===void 0?void 0:a.querySelector(".header");this.km.addElement(t);this.km.attachClickBehavior()};a.prototype.disconnectedCallback=function(){this.km.detachClickBehavior()};a.prototype.render=function(){return h(Host,{key:"8e641d8744634b75a7ab100fff2fdd044e9578be","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast},h("div",{key:"437e4afc2322c2ceb604ed5a9e4a914633be2eb7",class:clsx("icon",this.hasIcon?"":"icon--hidden"),onClick:this.toggle},h("slot",{key:"35e82720b20db64e0297b43a9720d9c99ef202c0",name:"icon",onSlotchange:this.onSlotChangeHandler})),h("div",{key:"ca32bc9444f09223b02370fbb6fc712daf56b1ab",class:"content"},h("div",{key:"92f9b60a40930ec514cc05b66dc71856d5cbc55b",class:"header",part:"header",role:"button","aria-expanded":this.isOpened?"true":"false",tabindex:"0",onClick:this.toggle},h("div",{key:"82a2d6ad0e835e9d203070cb48a0b0bef0aa2d22",class:"title",part:"title"},h("slot",{key:"5e54697ea87164ce24efd308806c75cb914ccf66",name:"title"})),h("i",{key:"5365901ecffafb409f0f67d7f8879f8d936e026e",class:clsx("helper-icon",this.isOpened&&"opened"),innerHTML:miBaselineKeyboardArrowRight})),h("div",{key:"a4dc952e107c165d80a78dfc273d7f44938ee0d4",class:clsx("details",this.isOpened&&"opened")},h("div",{key:"e6602015f7509fe9fe7cb130a2f29dde53667679",class:"content-expander",part:"content"},h("slot",{key:"fbc903eff1abd02c608a7a8160cf0e301229400c"}),h("div",{key:"c2dd1a86cf6680a19baaf0ca4a5b94f340bfcb4c",class:"actions"},h("slot",{key:"0b3ec5f035285941d457202619961dafa27367dc",name:"action"}))))))};Object.defineProperty(a.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{opened:[{validateOpened:0}]}},enumerable:false,configurable:true});return a}();MdsDetails.style=mdsDetailsCss();export{MdsDetails as mds_details};
|
|
@@ -1 +1,102 @@
|
|
|
1
|
-
import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-CAd5312P.js";import{K as KeyboardManager}from"./keyboard-manager-BudfaWhu.js";import{c as cssDurationToMilliseconds}from"./unit-D8eZRaSQ.js";import{B as Backdrop,F as FloatingController}from"./floating-controller-D5eXU5Mk.js";import{s as subscribePreference}from"./preference-fMwnXhio.js";import"./floating-ui.dom-8RYXTPXs.js";import"./aria-CSCy6TMW.js";var arrowSvg='<svg width="30" height="16" viewBox="0 0 30 16" xmlns="http://www.w3.org/2000/svg">\n <path d="M10.2 2.4C12.6 -0.800001 17.4 -0.800001 19.8 2.4L30 16H0L10.2 2.4Z"/>\n</svg>\n';var mdsDropdownCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-dropdown-arrow-background:var(--mds-dropdown-background,rgb(var(--tone-neutral,0 0 0)));--mds-dropdown-backdrop-duration:.2s;--mds-dropdown-backdrop-z-index:3000;--mds-dropdown-background:rgb(var(--tone-neutral,0 0 0));--mds-dropdown-mouseover-delay:.5s;--mds-dropdown-drop-shadow-color-rgb:0 0 0;--mds-dropdown-duration:.5s;--mds-dropdown-z-index:4000;--mds-dropdown-transform-from:scale(.9) translateY(-3%);--mds-dropdown-transform-to:scale(.9) translateY(-3%)}}}:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --mds-dropdown-backdrop-duration{syntax:"<time>";inherits:false;initial-value:.2s}@property --mds-dropdown-backdrop-z-index{syntax:"<integer>";inherits:false;initial-value:3000}@property --mds-dropdown-mouseover-delay{syntax:"<time>";inherits:false;initial-value:.5s}@property --mds-dropdown-drop-shadow-color-rgb{syntax:"<number>+";inherits:false;initial-value:0 0 0}@property --mds-dropdown-duration{syntax:"<time>";inherits:false;initial-value:.5s}@property --mds-dropdown-z-index{syntax:"<integer>";inherits:false;initial-value:4000}@property --mds-dropdown-transform-from{syntax:"<transform-list>";inherits:false;initial-value:scale(.9)translateY(-3%)}@property --mds-dropdown-transform-to{syntax:"<transform-list>";inherits:false;initial-value:scale(.9)translateY(-3%)}:host{--mds-dropdown-arrow-background:var(--mds-dropdown-background,rgb(var(--tone-neutral,0 0 0)));--private-dropdown-backdrop-duration:.2s;--mds-dropdown-backdrop-duration:var(--private-dropdown-backdrop-duration);--mds-dropdown-backdrop-z-index:var(--magma-backdrop-z-index,3000);--mds-dropdown-background:rgb(var(--tone-neutral,0 0 0));--mds-dropdown-drop-shadow-color-rgb:var(--tone-neutral-01,255 255 255);--mds-dropdown-drop-shadow:drop-shadow(0 10px 8px rgb(var(--mds-dropdown-drop-shadow-color-rgb,0 0 0)/.05)) drop-shadow(0 4px 3px rgb(var(--mds-dropdown-drop-shadow-color-rgb,0 0 0)/.15)) drop-shadow(0 0 1px rgb(var(--mds-dropdown-drop-shadow-color-rgb,0 0 0)/.15));--mds-dropdown-duration:.5s;--private-dropdown-duration:var(--mds-dropdown-duration,.5s);--mds-dropdown-ease:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));--mds-dropdown-mouseover-delay:.5s;--mds-dropdown-transform-from:scale(.9) translateY(-3%);--mds-dropdown-transform-to:scale(1) translate(0,0);--mds-dropdown-z-index:var(--magma-dropdown-z-index,4000);background-color:var(--mds-dropdown-background,rgb(var(--tone-neutral,0 0 0)));border-radius:var(--radius-md,12px);box-sizing:border-box;corner-shape:var(--magma-corner-shape,round);display:none;filter:var(--mds-dropdown-drop-shadow);gap:calc(var(--spacing,.0025rem)*400);opacity:0;padding:calc(var(--spacing,.0025rem)*600);pointer-events:none;position:fixed;-webkit-transform:var(--mds-dropdown-transform-from,scale(.9) translateY(-3%));transform:var(--mds-dropdown-transform-from,scale(.9) translateY(-3%));transition-behavior:allow-discrete;-webkit-transition-duration:var(--private-dropdown-duration);transition-duration:var(--private-dropdown-duration);transition-property:opacity,transform,transform-origin,display;-webkit-transition-timing-function:var(--mds-dropdown-ease);transition-timing-function:var(--mds-dropdown-ease);z-index:var(--mds-dropdown-z-index,4000)}:host([visible]:not([visible=false])){display:grid;opacity:1;pointer-events:auto;-webkit-transform:var(--mds-dropdown-transform-to,scale(.9) translateY(-3%));transform:var(--mds-dropdown-transform-to,scale(.9) translateY(-3%))}@starting-style{:host([visible]:not([visible=false])){opacity:0;transform:scale(0)}}:host(:not([disable-smooth])),:host([disable-smooth=false]){transition-property:bottom,left,opacity,right,top,transform,transform-origin}.arrow{display:flex;fill:var(--mds-dropdown-arrow-background,var(--mds-dropdown-background,rgb(var(--tone-neutral,0 0 0))));pointer-events:none;position:fixed;top:calc(var(--spacing,.0025rem)*-400)}::slotted(*){position:relative;z-index:10}:host([pref-animation=reduce]){--private-dropdown-duration:0s;--mds-dropdown-backdrop-duration:0s}:host([pref-theme=dark]:not([pref-theme-scheme=light])){--mds-dropdown-drop-shadow:drop-shadow(0 0 2px rgb(var(--tone-neutral-01,255 255 255)/.05)) drop-shadow(0 0 2px rgb(var(--tone-neutral-01,255 255 255)/.3)) drop-shadow(0 0 2px rgb(var(--tone-neutral-01,255 255 255)/.3))}:host([pref-contrast=more]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.05)) drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.3)) drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.3))}:host([pref-contrast=more][pref-theme=dark]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.075)) drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.45)) drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.45))}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host([pref-animation=system]){--private-dropdown-duration:0s;--mds-dropdown-backdrop-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-theme])),:host([pref-theme=system]:not([pref-theme-scheme=light])){--mds-dropdown-drop-shadow:drop-shadow(0 0 2px rgb(var(--tone-neutral-01,255 255 255)/.05)) drop-shadow(0 0 2px rgb(var(--tone-neutral-01,255 255 255)/.3)) drop-shadow(0 0 2px rgb(var(--tone-neutral-01,255 255 255)/.3))}:host([pref-contrast=more][pref-theme=system]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.05)) drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.3)) drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.05)) drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.3)) drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.3))}:host([pref-contrast=system][pref-theme=dark]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.05)) drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.3)) drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.3))}}@media (prefers-contrast:more) and (prefers-color-scheme:dark){:host([pref-contrast=system][pref-theme=system]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.05)) drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.3)) drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.3))}}'};var MdsDropdown=function(){function r(r){var o=this;registerInstance(this,r);this.visibleEvent=createEvent(this,"mdsDropdownVisible");this.hiddenEvent=createEvent(this,"mdsDropdownHide");this.changedEvent=createEvent(this,"mdsDropdownChange");this.km=new KeyboardManager;this.backdropController=new Backdrop;this.hideArrow=false;this.arrowPadding=24;this.disableAutoPlacement=false;this.backdrop=false;this.flip=false;this.interaction="click";this.offset=24;this.placement="bottom";this.disableShift=false;this.shiftPadding=24;this.disableSmooth=false;this.strategy="absolute";this.visible=false;this.updateCSSCustomProps=function(){if(typeof window==="undefined")return;var r=window.getComputedStyle(o.host);o.cssMouseOverDelayDuration=r.getPropertyValue("--mds-dropdown-mouseover-delay")};this.handleCloseDropdown=function(r){if(r.type==="mouseleave"){o.host.removeEventListener("mouseleave",o.handleCloseDropdown);o.caller.removeEventListener("mouseleave",o.handleCloseDropdown);o.visible=false;return}if(!o.host.contains(r.target)&&r.target!==o.caller){o.visible=false;document.removeEventListener("click",o.handleCloseDropdown)}};this.setInteractionBehaviour=function(){if(o.interaction==="none"){return}if(o.interaction==="click"){o.caller.addEventListener("click",o.onClickTarget.bind(o))}if(o.interaction==="mouseover"){o.caller.addEventListener("mouseover",o.onMouseOverTarget.bind(o));o.caller.addEventListener("mouseout",o.onMouseOutTarget.bind(o));o.host.addEventListener("mouseover",o.handleCloseDropdownMouseLeave.bind(o))}};this.handleCloseDropdownMouseLeave=function(){clearTimeout(o.mouseoverTimer);o.host.removeEventListener("mouseover",o.handleCloseDropdownMouseLeave.bind(o));o.host.addEventListener("mouseleave",o.handleCloseDropdown.bind(o))}}r.prototype.hideArrowChanged=function(){this.floatingController.updatePosition()};r.prototype.arrowPaddingChanged=function(){this.floatingController.updatePosition()};r.prototype.disableAutoPlacementChanged=function(){this.floatingController.updatePosition()};r.prototype.backdropChanged=function(r){if(r===false){this.backdrop=undefined}if(!this.visible){return}if(r){this.backdropController.attachBackdrop();return}this.backdropController.detachBackdrop()};r.prototype.flipChanged=function(){this.floatingController.updatePosition()};r.prototype.offsetChanged=function(){this.floatingController.updatePosition()};r.prototype.placementChanged=function(){this.floatingController.updatePosition()};r.prototype.disableShiftChanged=function(){this.floatingController.updatePosition()};r.prototype.shiftPaddingChanged=function(){this.floatingController.updatePosition()};r.prototype.strategyChanged=function(){this.floatingController.updatePosition()};r.prototype.targetChanged=function(){var r=this;if(this.target===""||this.floatingController==null)return;this.caller=this.floatingController.updateCaller(this.target);this.setInteractionBehaviour();this.km.addElement(this.host);this.km.attachEscapeBehavior((function(){return r.visibleChanged(false)}))};r.prototype.visibleChanged=function(r){this.changedEvent.emit({caller:this.caller,visible:r});if(r){document.addEventListener("click",this.handleCloseDropdown);this.floatingController.updatePosition();if(this.backdrop){this.backdropController.attachBackdrop()}this.visibleEvent.emit({caller:this.caller,visible:true});return}this.floatingController.dismiss();if(this.backdrop){this.backdropController.detachBackdrop()}this.hiddenEvent.emit({caller:this.caller,visible:false})};r.prototype.onClickTarget=function(r){r.stopPropagation();document.body.click();this.visible=!this.visible};r.prototype.onMouseOverTarget=function(){var r=this;this.mouseoverTimer=setTimeout((function(){clearTimeout(r.mouseoverTimer);r.visible=true}),cssDurationToMilliseconds(this.cssMouseOverDelayDuration))};r.prototype.onMouseOutTarget=function(){var r=this;clearTimeout(this.mouseoverTimer);this.mouseoverTimer=setTimeout((function(){clearTimeout(r.mouseoverTimer);r.visible=false}),cssDurationToMilliseconds(this.cssMouseOverDelayDuration))};r.prototype.componentDidLoad=function(){var r;var o=(r=this.host.shadowRoot)===null||r===void 0?void 0:r.querySelector(".arrow");this.floatingController=new FloatingController(this.host,o);this.updateCSSCustomProps();this.targetChanged()};r.prototype.connectedCallback=function(){var r=this;this.unsubscribePrefAnimation=subscribePreference("animation",(function(o){r.prefAnimation=o}));this.unsubscribePrefContrast=subscribePreference("contrast",(function(o){r.prefContrast=o}));this.unsubscribePrefTheme=subscribePreference("theme",(function(o){r.prefTheme=o}));this.unsubscribePrefThemeScheme=subscribePreference("theme-scheme",(function(o){r.prefThemeScheme=o}))};r.prototype.disconnectedCallback=function(){var r,o,t,e;(r=this.unsubscribePrefAnimation)===null||r===void 0?void 0:r.call(this);(o=this.unsubscribePrefContrast)===null||o===void 0?void 0:o.call(this);(t=this.unsubscribePrefTheme)===null||t===void 0?void 0:t.call(this);(e=this.unsubscribePrefThemeScheme)===null||e===void 0?void 0:e.call(this);this.floatingController.dismiss();this.backdropController.detachBackdrop();this.km.detachEscapeBehavior()};r.prototype.render=function(){return h(Host,{key:"2e3c41bd53bb87f70425d3fd6df36ec2ab12dd4c",style:{zIndex:"".concat(this.zIndex)},"pref-animation":this.prefAnimation,"pref-contrast":this.prefContrast,"pref-theme":this.prefTheme,"pref-theme-scheme":this.prefThemeScheme},h("div",{key:"17df9d0926a2c68cd8064a44d043e96838ea4c5c",class:"arrow",innerHTML:arrowSvg}),h("slot",{key:"716255642006bdb212b9ff740e957791b3af127f"}))};Object.defineProperty(r.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{hideArrow:[{hideArrowChanged:0}],arrowPadding:[{arrowPaddingChanged:0}],disableAutoPlacement:[{disableAutoPlacementChanged:0}],backdrop:[{backdropChanged:0}],flip:[{flipChanged:0}],offset:[{offsetChanged:0}],placement:[{placementChanged:0}],disableShift:[{disableShiftChanged:0}],shiftPadding:[{shiftPaddingChanged:0}],strategy:[{strategyChanged:0}],target:[{targetChanged:0}],visible:[{visibleChanged:0}]}},enumerable:false,configurable:true});return r}();MdsDropdown.style=mdsDropdownCss();export{MdsDropdown as mds_dropdown};
|
|
1
|
+
import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-DIiEV39g.js";import{K as KeyboardManager}from"./keyboard-manager-KRu9I7dw.js";import{c as cssDurationToMilliseconds}from"./unit-D8eZRaSQ.js";import{B as Backdrop,F as FloatingController}from"./floating-controller-DVldZ5mh.js";import{p as preferenceStore}from"./preference-CKerJx2M.js";import"./floating-ui.dom-CHAGzQT-.js";import"./aria-CSCy6TMW.js";var arrowSvg='<svg width="30" height="16" viewBox="0 0 30 16" xmlns="http://www.w3.org/2000/svg">\n <path d="M10.2 2.4C12.6 -0.800001 17.4 -0.800001 19.8 2.4L30 16H0L10.2 2.4Z"/>\n</svg>\n';var mdsDropdownCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-dropdown-arrow-background:var(--mds-dropdown-background,rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255)))));--private-dropdown-backdrop-duration:.2s;--mds-dropdown-backdrop-duration:var(--private-dropdown-backdrop-duration);--mds-dropdown-backdrop-z-index:var(--magma-backdrop-z-index,4000);--mds-dropdown-background:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255))));--mds-dropdown-drop-shadow-color-rgb:var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)));--mds-dropdown-drop-shadow:drop-shadow(0 10px 8px rgb(var(--mds-dropdown-drop-shadow-color-rgb,var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5))))/.05)) drop-shadow(0 4px 3px rgb(var(--mds-dropdown-drop-shadow-color-rgb,var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5))))/.15)) drop-shadow(0 0 1px rgb(var(--mds-dropdown-drop-shadow-color-rgb,var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5))))/.15));--mds-dropdown-duration:.5s;--private-dropdown-duration:var(--mds-dropdown-duration,.5s);--mds-dropdown-ease:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));--mds-dropdown-mouseover-delay:.5s;--mds-dropdown-transform-from:scale(.9) translateY(-3%);--mds-dropdown-transform-to:scale(1) translate(0,0);--mds-dropdown-z-index:var(--magma-dropdown-z-index,5000);background-color:var(--mds-dropdown-background,rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255)))));border-radius:var(--magma-radius-md,var(--radius-squircle-md,20px));box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);display:none;filter:var(--mds-dropdown-drop-shadow);gap:calc(var(--spacing,.0025rem)*400);opacity:0;padding:calc(var(--spacing,.0025rem)*600);pointer-events:none;position:fixed;-webkit-transform:var(--mds-dropdown-transform-from,scale(.9) translateY(-3%));transform:var(--mds-dropdown-transform-from,scale(.9) translateY(-3%));transition-behavior:allow-discrete;-webkit-transition-duration:var(--private-dropdown-duration);transition-duration:var(--private-dropdown-duration);transition-property:opacity,transform,display;-webkit-transition-timing-function:var(--mds-dropdown-ease);transition-timing-function:var(--mds-dropdown-ease);z-index:var(--mds-dropdown-z-index,var(--magma-dropdown-z-index,5000))}:host([visible]:not([visible=false])){display:grid;opacity:1;pointer-events:auto;-webkit-transform:var(--mds-dropdown-transform-to,scale(1) translate(0,0));transform:var(--mds-dropdown-transform-to,scale(1) translate(0,0))}@starting-style{:host([visible]:not([visible=false])){opacity:0;transform:scale(0)}}:host([data-floating-placed]:not([disable-smooth])),:host([data-floating-placed][disable-smooth=false]){transition-property:bottom,left,display,opacity,right,top,transform}.arrow{display:flex;fill:var(--mds-dropdown-arrow-background,rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255)))));pointer-events:none;position:fixed;top:calc(var(--spacing,.0025rem)*-400)}::slotted(*){position:relative;z-index:10}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-dropdown-duration:0s;--mds-dropdown-backdrop-duration:0s}:host([pref-contrast=more]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.05)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3))}:host([pref-contrast=more][pref-mode=dark]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.075)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.45)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.45))}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-dropdown-duration:0s;--mds-dropdown-backdrop-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.05)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3))}:host([pref-contrast=system][pref-mode=dark]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.05)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3))}}@media (prefers-color-scheme:dark){:host([pref-contrast=more][pref-mode=system]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.05)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3))}}@media (prefers-contrast:more) and (prefers-color-scheme:dark){:host([pref-contrast=system][pref-mode=system]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.05)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3))}}"};var MdsDropdown=/** @class */function(){function a(a){var r=this;registerInstance(this,a);this.visibleEvent=createEvent(this,"mdsDropdownVisible",7);this.hiddenEvent=createEvent(this,"mdsDropdownHide",7);this.changedEvent=createEvent(this,"mdsDropdownChange",7);this.km=new KeyboardManager;this.backdropController=new Backdrop;
|
|
2
|
+
/**
|
|
3
|
+
* If set, the component will not have an arrow pointing to the caller.
|
|
4
|
+
*/this.hideArrow=false;
|
|
5
|
+
/**
|
|
6
|
+
* Sets the distance between arrow and dropdown margins.
|
|
7
|
+
*/this.arrowPadding=24;
|
|
8
|
+
/**
|
|
9
|
+
* If set, the component will not be placed automatically near it's caller.
|
|
10
|
+
*/this.disableAutoPlacement=false;
|
|
11
|
+
/**
|
|
12
|
+
* Specifies if the component has a backdrop background
|
|
13
|
+
*/this.backdrop=false;
|
|
14
|
+
/**
|
|
15
|
+
* Specifies the placement of the component if no space is available where it is placed.
|
|
16
|
+
*/this.flip=false;
|
|
17
|
+
/**
|
|
18
|
+
* Specifies if the component is triggered from the caller on mouseover or click event
|
|
19
|
+
*/this.interaction="click";
|
|
20
|
+
/**
|
|
21
|
+
* Sets distance between the dropdown and the caller.
|
|
22
|
+
*/this.offset=24;
|
|
23
|
+
/**
|
|
24
|
+
* Specifies where the component should be placed relative to the caller.
|
|
25
|
+
*/this.placement="bottom";
|
|
26
|
+
/**
|
|
27
|
+
* If set, the component will not be kept inside the viewport.
|
|
28
|
+
*/this.disableShift=false;
|
|
29
|
+
/**
|
|
30
|
+
* Sets a safe area distance between the dropdown and the viewport.
|
|
31
|
+
*/this.shiftPadding=24;
|
|
32
|
+
/**
|
|
33
|
+
* If set, the component will not follow the caller smoothly when the page scrolls.
|
|
34
|
+
*/this.disableSmooth=false;
|
|
35
|
+
/**
|
|
36
|
+
* Sets the CSS position strategy of the component.
|
|
37
|
+
*/this.strategy="absolute";
|
|
38
|
+
/**
|
|
39
|
+
* Specifies the visibility of the component.
|
|
40
|
+
*/this.visible=false;
|
|
41
|
+
// the handlers of the caller are held as they are attached: `removeEventListener` answers to
|
|
42
|
+
// the reference it was given, and a `.bind(this)` written at the call site makes a new one
|
|
43
|
+
// every time, which is why nothing the caller was given was ever taken back
|
|
44
|
+
this.onClickTarget=function(a){
|
|
45
|
+
// stop propagation event for when target is a element cointainer
|
|
46
|
+
a.stopPropagation();
|
|
47
|
+
// trigger a body click to execute handleCloseDropdown on other dropdowns
|
|
48
|
+
document.body.click();r.visible=!r.visible;
|
|
49
|
+
// a click with no coordinates behind it came from Enter on the caller, and a menu opened
|
|
50
|
+
// from the keyboard has to land on an entry - a mouse leaves the focus where it is
|
|
51
|
+
if(r.visible&&r.isMenu&&a.detail===0){r.focusEntry(0)}};this.onMouseOverTarget=function(){r.mouseoverTimer=setTimeout((function(){clearTimeout(r.mouseoverTimer);r.visible=true}),cssDurationToMilliseconds(r.cssMouseOverDelayDuration))};this.onMouseOutTarget=function(){clearTimeout(r.mouseoverTimer);r.mouseoverTimer=setTimeout((function(){clearTimeout(r.mouseoverTimer);r.visible=false}),cssDurationToMilliseconds(r.cssMouseOverDelayDuration))};
|
|
52
|
+
/**
|
|
53
|
+
* The panel declares itself a `menu`, whose children axe only accepts as entries
|
|
54
|
+
* (`aria-required-children`), so what the slot receives is what has to carry the role. And what
|
|
55
|
+
* it receives can be a slot of its own, when the dropdown is rendered by a component that hands
|
|
56
|
+
* over the slot of its own host - `mds-button-dropdown`, `mds-pref-language`. An `mds-button`
|
|
57
|
+
* names itself a button as soon as it loads and which of the two loads first is not guaranteed,
|
|
58
|
+
* so `button` is the role an entry overwrites, any other being a deliberate choice of the
|
|
59
|
+
* consumer. A panel that declares another role holds no entries at all: its children are left
|
|
60
|
+
* alone, a calendar being no menu item.
|
|
61
|
+
*/this.markEntries=function(){if(!r.isMenu)return;r.entries().forEach((function(a){var r=a.getAttribute("role");if(r===null||r==="button"){a.setAttribute("role","menuitem")}
|
|
62
|
+
// an entry the arrows can reach has to be focusable, and an entry of a menu is reached
|
|
63
|
+
// by the arrows and not by Tab, the menu being one stop of its own
|
|
64
|
+
if(!a.hasAttribute("tabindex")){a.setAttribute("tabindex","-1")}}))};this.entries=function(){var a,o;var t=(a=r.host.shadowRoot)===null||a===void 0?void 0:a.querySelector("slot");return r.slottedEntries((o=t===null||t===void 0?void 0:t.assignedElements())!==null&&o!==void 0?o:[])};this.slottedEntries=function(a){return a.flatMap((function(a){return a.tagName==="SLOT"?r.slottedEntries(a.assignedElements()):[a]}))};
|
|
65
|
+
/**
|
|
66
|
+
* Walks the entries the way the menu button pattern asks for: the arrows open the menu and
|
|
67
|
+
* land on an entry, Home and End go to the ends, Escape gives the focus back and Tab lets it
|
|
68
|
+
* leave from the caller. A panel that declares another role is none of this - the arrows of a
|
|
69
|
+
* calendar or of a form belong to what the panel holds.
|
|
70
|
+
*/this.focusEntry=function(a,o){if(o===void 0){o=3}var t=r.entries();if(t.length===0||!r.visible)return;var e=t[(a+t.length)%t.length];
|
|
71
|
+
// the panel is display:none until `visible` reaches the render, and nothing hidden takes
|
|
72
|
+
// the focus: the first frame after opening is the earliest the entry can have it
|
|
73
|
+
if(e.offsetWidth===0&&o>0){requestAnimationFrame((function(){return r.focusEntry(a,o-1)}));return}e.focus()};this.onCallerKeydown=function(a){if(!r.isMenu||a.key!=="ArrowDown"&&a.key!=="ArrowUp")return;a.preventDefault();// the arrows would scroll the page under the menu
|
|
74
|
+
r.visible=true;r.focusEntry(a.key==="ArrowUp"?-1:0)};this.onPanelKeydown=function(a){var o;if(!r.isMenu||!r.visible)return;var t=r.entries();if(t.length===0)return;var e=t.findIndex((function(a){return a.contains(document.activeElement)}));var n=e===-1?null:e;switch(a.key){case"ArrowDown":a.preventDefault();r.focusEntry(n===null?0:n+1);break;case"ArrowUp":a.preventDefault();r.focusEntry(n===null?-1:n-1);break;case"Home":a.preventDefault();r.focusEntry(0);break;case"End":a.preventDefault();r.focusEntry(-1);break;case"Tab":
|
|
75
|
+
// no preventDefault: the focus is handed to the caller and Tab carries on from there,
|
|
76
|
+
// which is where it would have gone had the menu never opened
|
|
77
|
+
r.visible=false;(o=r.caller)===null||o===void 0?void 0:o.focus();break}};
|
|
78
|
+
/** Escape is heard on window, so it closes the panel wherever the focus is. Giving the focus
|
|
79
|
+
* back is only right when the panel was holding it: a panel that goes display:none under the
|
|
80
|
+
* focus drops it on the body, and the place in the page is lost */this.closeFromKeyboard=function(){var a;if(!r.visible)return;var o=r.host.contains(document.activeElement);r.visible=false;if(o)(a=r.caller)===null||a===void 0?void 0:a.focus()};this.updateCSSCustomProps=function(){if(typeof window==="undefined")return;var a=window.getComputedStyle(r.host);r.cssMouseOverDelayDuration=a.getPropertyValue("--mds-dropdown-mouseover-delay")};this.handleCloseDropdown=function(a){if(a.type==="mouseleave"){r.host.removeEventListener("mouseleave",r.handleCloseDropdown);r.caller.removeEventListener("mouseleave",r.handleCloseDropdown);r.visible=false;return}if(!r.host.contains(a.target)&&a.target!==r.caller){r.visible=false;document.removeEventListener("click",r.handleCloseDropdown)}};this.setInteractionBehaviour=function(){if(r.interaction==="none"){return}if(r.interaction==="click"){r.caller.addEventListener("click",r.onClickTarget);r.caller.addEventListener("keydown",r.onCallerKeydown)}if(r.interaction==="mouseover"){r.caller.addEventListener("mouseover",r.onMouseOverTarget);r.caller.addEventListener("mouseout",r.onMouseOutTarget);r.host.addEventListener("mouseover",r.handleCloseDropdownMouseLeave)}};
|
|
81
|
+
/** Hands the caller back what it was given: a caller the target no longer names would go on
|
|
82
|
+
* opening a panel that is not its own */this.unsetInteractionBehaviour=function(a){a.removeEventListener("click",r.onClickTarget);a.removeEventListener("keydown",r.onCallerKeydown);a.removeEventListener("mouseover",r.onMouseOverTarget);a.removeEventListener("mouseout",r.onMouseOutTarget)};this.handleCloseDropdownMouseLeave=function(){clearTimeout(r.mouseoverTimer);r.host.removeEventListener("mouseover",r.handleCloseDropdownMouseLeave);r.host.addEventListener("mouseleave",r.handleCloseDropdown)}}a.prototype.hideArrowChanged=function(){this.floatingController.updatePosition()};a.prototype.arrowPaddingChanged=function(){this.floatingController.updatePosition()};a.prototype.disableAutoPlacementChanged=function(){this.floatingController.updatePosition()};a.prototype.backdropChanged=function(a){if(a===false){this.backdrop=undefined}if(!this.visible){return}if(a){this.backdropController.attachBackdrop();return}this.backdropController.detachBackdrop()};a.prototype.flipChanged=function(){this.floatingController.updatePosition()};a.prototype.offsetChanged=function(){this.floatingController.updatePosition()};a.prototype.placementChanged=function(){this.floatingController.updatePosition()};a.prototype.disableShiftChanged=function(){this.floatingController.updatePosition()};a.prototype.shiftPaddingChanged=function(){this.floatingController.updatePosition()};a.prototype.strategyChanged=function(){this.floatingController.updatePosition()};a.prototype.targetChanged=function(){if(this.target===""||this.floatingController==null)return;var a=this.floatingController.updateCaller(this.target);if(!a)return;if(this.caller&&this.caller!==a)this.unsetInteractionBehaviour(this.caller);this.caller=a;
|
|
83
|
+
// the role of the panel arrives with the caller, so the entries are named once it resolves
|
|
84
|
+
this.markEntries();this.setInteractionBehaviour();this.km.addElement(this.host);this.km.attachEscapeBehavior(this.closeFromKeyboard)};a.prototype.visibleChanged=function(a){this.changedEvent.emit({caller:this.caller,visible:a});this.floatingController.syncExpanded(a);if(a){document.addEventListener("click",this.handleCloseDropdown);this.floatingController.updatePosition();if(this.backdrop){this.backdropController.attachBackdrop()}this.visibleEvent.emit({caller:this.caller,visible:true});return}this.floatingController.dismiss();if(this.backdrop){this.backdropController.detachBackdrop()}this.hiddenEvent.emit({caller:this.caller,visible:false})};Object.defineProperty(a.prototype,"isMenu",{get:function(){return this.host.getAttribute("role")==="menu"},enumerable:false,configurable:true});a.prototype.componentDidLoad=function(){var a,r,o;var t=(a=this.host.shadowRoot)===null||a===void 0?void 0:a.querySelector(".arrow");
|
|
85
|
+
/**
|
|
86
|
+
* When binding values in frameworks such as Angular
|
|
87
|
+
* it is possible for the value to be set after the Web Component
|
|
88
|
+
* initializes but before the value watcher is set up in Stencil.
|
|
89
|
+
* As a result, the watcher callback may not be fired.
|
|
90
|
+
* We work around this by manually calling the watcher
|
|
91
|
+
* callback when the component has loaded and the watcher
|
|
92
|
+
* is configured.
|
|
93
|
+
*/this.floatingController=new FloatingController(this.host,t);this.updateCSSCustomProps();this.targetChanged();(o=(r=this.host.shadowRoot)===null||r===void 0?void 0:r.querySelector("slot"))===null||o===void 0?void 0:o.addEventListener("slotchange",this.markEntries);
|
|
94
|
+
// a nested slot lives in the tree of the host, where the slot of the shadow root, which is
|
|
95
|
+
// the one the entries reach us through, never hears its slotchange
|
|
96
|
+
this.host.addEventListener("slotchange",this.markEntries);
|
|
97
|
+
// the entries are slotted children, so their keys reach the host by bubbling
|
|
98
|
+
this.host.addEventListener("keydown",this.onPanelKeydown);
|
|
99
|
+
// The watcher does not fire for the initial value, so a dropdown that mounts
|
|
100
|
+
// with `visible` set was never positioned at all: no left, no top, no origin,
|
|
101
|
+
// parked at the top left corner of the page.
|
|
102
|
+
if(this.visible){this.visibleChanged(true)}};a.prototype.disconnectedCallback=function(){this.floatingController.dismiss();this.backdropController.detachBackdrop();this.km.detachEscapeBehavior()};a.prototype.render=function(){return h(Host,{key:"909529db1b7f90da7fef23235ac276e133aef6cf",style:{zIndex:"".concat(this.zIndex)},"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:"fe65713f1e3f849a57f05ad7e3be0eede40198d4",class:"arrow",innerHTML:arrowSvg}),h("slot",{key:"2c438ff28af51844e5e399e07b31773edf745447"}))};Object.defineProperty(a.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{hideArrow:[{hideArrowChanged:0}],arrowPadding:[{arrowPaddingChanged:0}],disableAutoPlacement:[{disableAutoPlacementChanged:0}],backdrop:[{backdropChanged:0}],flip:[{flipChanged:0}],offset:[{offsetChanged:0}],placement:[{placementChanged:0}],disableShift:[{disableShiftChanged:0}],shiftPadding:[{shiftPaddingChanged:0}],strategy:[{strategyChanged:0}],target:[{targetChanged:0}],visible:[{visibleChanged:0}]}},enumerable:false,configurable:true});return a}();MdsDropdown.style=mdsDropdownCss();export{MdsDropdown as mds_dropdown};
|