@maggioli-design-system/magma 2.0.0-beta.2 → 2.0.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +46 -6
- package/dist/cjs/date-B28IitWe.js +24 -0
- package/dist/cjs/floating-controller-Cd_vNLLD.js +369 -0
- package/dist/cjs/floating-ui.dom-DflSHZIo.js +1688 -0
- package/dist/cjs/form-DTCBh5WK.js +22 -0
- package/dist/cjs/index--6wz7eWi.js +5183 -0
- package/dist/cjs/index.cjs.js +17 -0
- package/dist/cjs/keyboard-manager-C_Eaxw-C.js +52 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/locale-CB5_Z7PE.js +816 -0
- package/dist/cjs/magma-components.cjs.js +31 -4
- package/dist/cjs/mds-accordion-item.cjs.entry.js +7 -6
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +8 -7
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +3 -3
- package/dist/cjs/mds-accordion.cjs.entry.js +17 -7
- package/dist/cjs/mds-author.cjs.entry.js +9 -4
- package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-avatar-stack.cjs.entry.js +5 -4
- package/dist/cjs/mds-avatar.cjs.entry.js +15 -12
- package/dist/cjs/mds-badge.cjs.entry.js +5 -4
- package/dist/cjs/mds-banner_3.cjs.entry.js +40 -36
- package/dist/cjs/mds-benchmark-bar.cjs.entry.js +3 -3
- package/dist/cjs/mds-bibliography.cjs.entry.js +2 -2
- package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-breadcrumb.cjs.entry.js +12 -20
- package/dist/cjs/mds-button-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/mds-button-group.cjs.entry.js +3 -3
- package/dist/cjs/mds-button_3.cjs.entry.js +13 -14
- package/dist/cjs/mds-calendar_2.cjs.entry.js +183 -160
- package/dist/cjs/mds-card-content.cjs.entry.js +2 -2
- package/dist/cjs/mds-card-footer.cjs.entry.js +2 -2
- package/dist/cjs/mds-card-header.cjs.entry.js +9 -4
- package/dist/cjs/mds-card-media.cjs.entry.js +2 -2
- package/dist/cjs/mds-card.cjs.entry.js +6 -5
- package/dist/cjs/mds-details.cjs.entry.js +8 -6
- package/dist/cjs/mds-dropdown.cjs.entry.js +201 -55
- package/dist/cjs/mds-emoji.cjs.entry.js +301 -181
- package/dist/cjs/mds-entity.cjs.entry.js +11 -5
- package/dist/cjs/mds-file-preview.cjs.entry.js +8 -14
- package/dist/cjs/mds-file.cjs.entry.js +8 -14
- package/dist/cjs/mds-filter-item.cjs.entry.js +6 -5
- package/dist/cjs/mds-filter.cjs.entry.js +19 -10
- package/dist/cjs/mds-header-bar.cjs.entry.js +11 -5
- package/dist/cjs/mds-header.cjs.entry.js +10 -8
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +2 -2
- package/dist/cjs/mds-hr.cjs.entry.js +4 -3
- package/dist/cjs/mds-img.cjs.entry.js +11 -18
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-date-range.cjs.entry.js +61 -30
- package/dist/cjs/mds-input-date.cjs.entry.js +28 -34
- package/dist/cjs/mds-input-field.cjs.entry.js +42 -6
- package/dist/cjs/mds-input-otp.cjs.entry.js +38 -4
- package/dist/cjs/mds-input-range.cjs.entry.js +9 -7
- package/dist/cjs/mds-input-select.cjs.entry.js +11 -19
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +19 -32
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +8 -17
- package/dist/cjs/mds-input-upload.cjs.entry.js +45 -37
- package/dist/cjs/mds-input.cjs.entry.js +26 -32
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +5 -14
- package/dist/cjs/mds-keyboard.cjs.entry.js +20 -21
- package/dist/cjs/mds-kpi-item.cjs.entry.js +12 -3
- package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
- package/dist/cjs/mds-label.cjs.entry.js +7 -13
- package/dist/cjs/mds-list-item.cjs.entry.js +4 -3
- package/dist/cjs/mds-list.cjs.entry.js +2 -2
- package/dist/cjs/mds-mention.cjs.entry.js +38 -4
- package/dist/cjs/mds-modal.cjs.entry.js +150 -65
- package/dist/cjs/mds-note.cjs.entry.js +7 -15
- package/dist/cjs/mds-notification.cjs.entry.js +16 -8
- package/dist/cjs/mds-paginator-item.cjs.entry.js +5 -4
- package/dist/cjs/mds-paginator.cjs.entry.js +42 -10
- package/dist/cjs/mds-policy-ai.cjs.entry.js +8 -15
- package/dist/cjs/mds-pref-animation.cjs.entry.js +10 -19
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +10 -19
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +13 -20
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +28 -16
- package/dist/cjs/mds-pref-language.cjs.entry.js +38 -28
- package/dist/cjs/mds-pref-mode.cjs.entry.js +273 -0
- package/dist/cjs/mds-pref-theme-item.cjs.entry.js +43 -0
- package/dist/cjs/mds-pref-theme.cjs.entry.js +148 -222
- package/dist/cjs/mds-pref.cjs.entry.js +41 -18
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +4 -3
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +4 -3
- package/dist/cjs/mds-price-table-features.cjs.entry.js +4 -3
- package/dist/cjs/mds-price-table-header.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table-list.cjs.entry.js +4 -3
- package/dist/cjs/mds-price-table.cjs.entry.js +3 -3
- package/dist/cjs/mds-progress_2.cjs.entry.js +7 -11
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +19 -20
- package/dist/cjs/mds-push-notification.cjs.entry.js +7 -6
- package/dist/cjs/mds-quote.cjs.entry.js +4 -3
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-radial-menu.cjs.entry.js +7 -6
- package/dist/cjs/mds-separator.cjs.entry.js +4 -3
- package/dist/cjs/mds-status-bar.cjs.entry.js +5 -4
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +14 -17
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +21 -12
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +6 -5
- package/dist/cjs/mds-tab-bar.cjs.entry.js +5 -4
- package/dist/cjs/mds-tab_2.cjs.entry.js +28 -11
- package/dist/cjs/mds-table-body.cjs.entry.js +4 -3
- package/dist/cjs/mds-table-footer.cjs.entry.js +4 -3
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +4 -3
- package/dist/cjs/mds-table-header.cjs.entry.js +19 -21
- package/dist/cjs/mds-table-row.cjs.entry.js +20 -21
- package/dist/cjs/mds-table.cjs.entry.js +62 -30
- package/dist/cjs/mds-text.cjs.entry.js +36 -11
- package/dist/cjs/mds-toast.cjs.entry.js +10 -5
- package/dist/cjs/mds-tooltip.cjs.entry.js +30 -21
- package/dist/cjs/mds-tree-item.cjs.entry.js +36 -14
- package/dist/cjs/mds-tree.cjs.entry.js +44 -6
- package/dist/cjs/mds-url-view.cjs.entry.js +21 -21
- package/dist/cjs/mds-usage.cjs.entry.js +5 -11
- package/dist/cjs/mds-video-wall.cjs.entry.js +8 -4
- package/dist/cjs/mds-zero.cjs.entry.js +4 -3
- package/dist/cjs/preference-eJcbLLAn.js +389 -0
- package/dist/cjs/slot-RmXfgH4P.js +69 -0
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/common/date.js +9 -1
- package/dist/collection/common/floating-controller.js +180 -14
- package/dist/collection/common/form.js +18 -0
- package/dist/collection/common/keyboard-manager.js +5 -5
- package/dist/collection/common/locale.js +9 -31
- package/dist/collection/common/preference.js +102 -0
- package/dist/collection/common/slot.js +14 -1
- package/dist/collection/common/yugop/random-text.js +12 -3
- package/dist/collection/components/mds-accordion/mds-accordion.css +16 -72
- package/dist/collection/components/mds-accordion/mds-accordion.js +18 -8
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +89 -96
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +2 -1
- package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +2 -37
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +66 -44
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +2 -1
- package/dist/collection/components/mds-author/mds-author.css +5 -1
- package/dist/collection/components/mds-author/mds-author.js +14 -2
- package/dist/collection/components/mds-avatar/mds-avatar.css +151 -129
- package/dist/collection/components/mds-avatar/mds-avatar.js +13 -10
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.css +30 -77
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +3 -2
- package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.css +11 -137
- package/dist/collection/components/mds-badge/mds-badge.css +197 -164
- package/dist/collection/components/mds-badge/mds-badge.js +2 -1
- package/dist/collection/components/mds-banner/mds-banner.css +174 -196
- package/dist/collection/components/mds-banner/mds-banner.js +16 -40
- package/dist/collection/components/mds-bibliography/mds-bibliography.css +8 -26
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.css +6 -82
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +11 -46
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +15 -67
- package/dist/collection/components/mds-button/mds-button.css +307 -357
- package/dist/collection/components/mds-button/mds-button.js +4 -3
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +24 -34
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +1 -1
- package/dist/collection/components/mds-button-group/mds-button-group.css +24 -0
- package/dist/collection/components/mds-button-group/mds-button-group.js +2 -2
- package/dist/collection/components/mds-calendar/mds-calendar.css +13 -69
- package/dist/collection/components/mds-calendar/mds-calendar.js +210 -185
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +88 -299
- package/dist/collection/components/mds-card/mds-card.css +18 -31
- package/dist/collection/components/mds-card/mds-card.js +8 -7
- package/dist/collection/components/mds-card-content/mds-card-content.css +1 -0
- package/dist/collection/components/mds-card-footer/mds-card-footer.css +1 -0
- package/dist/collection/components/mds-card-header/mds-card-header.css +5 -0
- package/dist/collection/components/mds-card-header/mds-card-header.js +14 -2
- package/dist/collection/components/mds-card-media/mds-card-media.css +1 -1
- package/dist/collection/components/mds-chip/mds-chip.css +350 -297
- package/dist/collection/components/mds-chip/mds-chip.js +19 -37
- package/dist/collection/components/mds-details/mds-details.css +75 -38
- package/dist/collection/components/mds-details/mds-details.js +4 -2
- package/dist/collection/components/mds-dropdown/mds-dropdown.css +126 -124
- package/dist/collection/components/mds-dropdown/mds-dropdown.js +210 -62
- package/dist/collection/components/mds-emoji/asset/mia.svg +3 -3
- package/dist/collection/components/mds-emoji/mds-emoji.css +15 -179
- package/dist/collection/components/mds-emoji/mds-emoji.js +297 -177
- package/dist/collection/components/mds-entity/mds-entity.css +35 -77
- package/dist/collection/components/mds-entity/mds-entity.js +17 -3
- package/dist/collection/components/mds-file/mds-file.css +131 -95
- package/dist/collection/components/mds-file/mds-file.js +8 -36
- package/dist/collection/components/mds-file-preview/mds-file-preview.css +313 -236
- package/dist/collection/components/mds-file-preview/mds-file-preview.js +4 -36
- package/dist/collection/components/mds-filter/mds-filter.css +103 -98
- package/dist/collection/components/mds-filter/mds-filter.js +16 -7
- package/dist/collection/components/mds-filter-item/mds-filter-item.css +102 -62
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +2 -1
- package/dist/collection/components/mds-header/mds-header.css +29 -71
- package/dist/collection/components/mds-header/mds-header.js +10 -8
- package/dist/collection/components/mds-header-bar/mds-header-bar.css +82 -33
- package/dist/collection/components/mds-header-bar/mds-header-bar.js +9 -2
- package/dist/collection/components/mds-help/mds-help.css +1 -19
- package/dist/collection/components/mds-help/mds-help.js +7 -7
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +23 -118
- package/dist/collection/components/mds-hr/mds-hr.css +6 -12
- package/dist/collection/components/mds-hr/mds-hr.js +2 -1
- package/dist/collection/components/mds-icon/mds-icon.js +2 -4
- package/dist/collection/components/mds-icon/services/icons-set.service.js +16 -0
- package/dist/collection/components/mds-img/mds-img.css +12 -48
- package/dist/collection/components/mds-img/mds-img.js +8 -38
- package/dist/collection/components/mds-input/mds-input.css +147 -211
- package/dist/collection/components/mds-input/mds-input.js +36 -41
- package/dist/collection/components/mds-input-date/mds-input-date.css +137 -135
- package/dist/collection/components/mds-input-date/mds-input-date.js +63 -48
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +130 -100
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +81 -45
- package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.css +19 -73
- package/dist/collection/components/mds-input-field/mds-input-field.css +65 -29
- package/dist/collection/components/mds-input-field/mds-input-field.js +41 -4
- package/dist/collection/components/mds-input-otp/mds-input-otp.js +38 -2
- package/dist/collection/components/mds-input-range/mds-input-range.css +92 -49
- package/dist/collection/components/mds-input-range/mds-input-range.js +6 -4
- package/dist/collection/components/mds-input-select/mds-input-select.css +158 -179
- package/dist/collection/components/mds-input-select/mds-input-select.js +28 -35
- package/dist/collection/components/mds-input-switch/mds-input-switch.css +96 -249
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +12 -47
- package/dist/collection/components/mds-input-tip/mds-input-tip.css +61 -38
- package/dist/collection/components/mds-input-tip/mds-input-tip.js +2 -1
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.css +113 -72
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +3 -38
- package/dist/collection/components/mds-input-upload/mds-input-upload.css +28 -42
- package/dist/collection/components/mds-input-upload/mds-input-upload.js +41 -52
- package/dist/collection/components/mds-keyboard/mds-keyboard.css +37 -125
- package/dist/collection/components/mds-keyboard/mds-keyboard.js +17 -40
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +4 -28
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -37
- package/dist/collection/components/mds-kpi/mds-kpi.css +6 -11
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.css +139 -72
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +10 -1
- package/dist/collection/components/mds-label/mds-label.css +278 -356
- package/dist/collection/components/mds-label/mds-label.js +3 -35
- package/dist/collection/components/mds-list/mds-list.css +4 -5
- package/dist/collection/components/mds-list-item/mds-list-item.css +14 -17
- package/dist/collection/components/mds-list-item/mds-list-item.js +2 -1
- package/dist/collection/components/mds-mention/mds-mention.css +19 -10
- package/dist/collection/components/mds-mention/mds-mention.js +62 -2
- package/dist/collection/components/mds-modal/mds-modal.css +256 -155
- package/dist/collection/components/mds-modal/mds-modal.js +177 -91
- package/dist/collection/components/mds-note/mds-note.css +262 -228
- package/dist/collection/components/mds-note/mds-note.js +3 -37
- package/dist/collection/components/mds-notification/mds-notification.css +88 -114
- package/dist/collection/components/mds-notification/mds-notification.js +17 -9
- package/dist/collection/components/mds-paginator/mds-paginator.css +111 -55
- package/dist/collection/components/mds-paginator/mds-paginator.js +39 -7
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +103 -107
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +2 -1
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.css +19 -16
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +4 -38
- package/dist/collection/components/mds-pref/mds-pref.js +40 -40
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.css +58 -9
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +7 -42
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.css +20 -15
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +7 -42
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.css +12 -7
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +10 -43
- package/dist/collection/components/mds-pref-language/mds-pref-language.css +3 -3
- package/dist/collection/components/mds-pref-language/mds-pref-language.js +35 -46
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +24 -38
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +79 -0
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +372 -0
- package/dist/collection/components/mds-pref-mode/meta/dictionary.js +3 -0
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.css +12 -77
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +184 -228
- package/dist/collection/components/mds-pref-theme/meta/dictionary.js +2 -3
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +70 -0
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +160 -0
- package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +69 -41
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +2 -1
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +106 -87
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +2 -1
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +99 -55
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +2 -1
- package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +99 -48
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +2 -1
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.css +9 -36
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
- package/dist/collection/components/mds-progress/mds-progress.css +132 -108
- package/dist/collection/components/mds-progress/mds-progress.js +2 -1
- package/dist/collection/components/mds-push-notification/mds-push-notification.css +17 -41
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +2 -1
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +211 -162
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +18 -39
- package/dist/collection/components/mds-quote/mds-quote.css +11 -7
- package/dist/collection/components/mds-quote/mds-quote.js +2 -1
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +6 -60
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +3 -2
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.css +1 -7
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +24 -30
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +3 -7
- package/dist/collection/components/mds-separator/mds-separator.css +14 -34
- package/dist/collection/components/mds-separator/mds-separator.js +2 -1
- package/dist/collection/components/mds-spinner/mds-spinner.css +32 -32
- package/dist/collection/components/mds-spinner/mds-spinner.js +2 -1
- package/dist/collection/components/mds-status-bar/mds-status-bar.css +31 -38
- package/dist/collection/components/mds-status-bar/mds-status-bar.js +3 -2
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.css +21 -88
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +18 -9
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +101 -163
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +10 -35
- package/dist/collection/components/mds-tab/mds-tab.css +125 -199
- package/dist/collection/components/mds-tab/mds-tab.js +19 -4
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.css +85 -20
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +2 -1
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +94 -56
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +2 -1
- package/dist/collection/components/mds-tab-item/mds-tab-item.css +33 -43
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +75 -1
- package/dist/collection/components/mds-table/mds-table.css +102 -126
- package/dist/collection/components/mds-table/mds-table.js +59 -28
- package/dist/collection/components/mds-table-body/mds-table-body.css +72 -49
- package/dist/collection/components/mds-table-body/mds-table-body.js +2 -1
- package/dist/collection/components/mds-table-cell/mds-table-cell.css +79 -40
- package/dist/collection/components/mds-table-cell/mds-table-cell.js +2 -1
- package/dist/collection/components/mds-table-footer/mds-table-footer.css +62 -8
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +2 -1
- package/dist/collection/components/mds-table-header/mds-table-header.css +62 -8
- package/dist/collection/components/mds-table-header/mds-table-header.js +17 -37
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.css +67 -17
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +2 -1
- package/dist/collection/components/mds-table-row/mds-table-row.css +92 -63
- package/dist/collection/components/mds-table-row/mds-table-row.js +38 -41
- package/dist/collection/components/mds-text/mds-text.css +25 -43
- package/dist/collection/components/mds-text/mds-text.js +23 -7
- package/dist/collection/components/mds-toast/mds-toast.css +139 -105
- package/dist/collection/components/mds-toast/mds-toast.js +13 -3
- package/dist/collection/components/mds-tooltip/mds-tooltip.css +96 -96
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +37 -28
- package/dist/collection/components/mds-tree/mds-tree.css +22 -214
- package/dist/collection/components/mds-tree/mds-tree.js +42 -4
- package/dist/collection/components/mds-tree-item/mds-tree-item.css +193 -343
- package/dist/collection/components/mds-tree-item/mds-tree-item.js +87 -14
- package/dist/collection/components/mds-url-view/mds-url-view.css +97 -59
- package/dist/collection/components/mds-url-view/mds-url-view.js +17 -43
- package/dist/collection/components/mds-usage/mds-usage.css +100 -97
- package/dist/collection/components/mds-usage/mds-usage.js +2 -34
- package/dist/collection/components/mds-video-wall/mds-video-wall.css +24 -40
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +12 -2
- package/dist/collection/components/mds-zero/mds-zero.css +88 -34
- package/dist/collection/components/mds-zero/mds-zero.js +2 -1
- package/dist/collection/event-detail/theme.js +1 -0
- package/dist/collection/type/preference.js +22 -3
- package/dist/components/index.d.ts +230 -0
- package/dist/components/index.js +1 -1
- package/dist/components/mds-accordion-item.js +1 -1
- package/dist/components/mds-accordion-timer-item.js +1 -1
- package/dist/components/mds-accordion-timer.js +1 -1
- package/dist/components/mds-accordion.js +1 -1
- package/dist/components/mds-author.js +1 -1
- package/dist/components/mds-avatar-stack-item.js +1 -1
- package/dist/components/mds-avatar-stack.js +1 -1
- package/dist/components/mds-avatar.js +1 -1
- package/dist/components/mds-badge.js +1 -1
- package/dist/components/mds-banner.js +1 -1
- package/dist/components/mds-benchmark-bar.js +1 -1
- package/dist/components/mds-bibliography.js +1 -1
- package/dist/components/mds-breadcrumb-item.js +1 -1
- package/dist/components/mds-breadcrumb.js +1 -1
- package/dist/components/mds-button-dropdown.js +1 -1
- package/dist/components/mds-button-group.js +1 -1
- package/dist/components/mds-button.js +1 -1
- package/dist/components/mds-calendar-cell.js +1 -1
- package/dist/components/mds-calendar.js +1 -1
- package/dist/components/mds-card-content.js +1 -1
- package/dist/components/mds-card-footer.js +1 -1
- package/dist/components/mds-card-header.js +1 -1
- package/dist/components/mds-card-media.js +1 -1
- package/dist/components/mds-card.js +1 -1
- package/dist/components/mds-chip.js +1 -1
- package/dist/components/mds-details.js +1 -1
- package/dist/components/mds-dropdown.js +1 -1
- package/dist/components/mds-emoji.js +3 -3
- package/dist/components/mds-entity.js +1 -1
- package/dist/components/mds-file-preview.js +1 -1
- package/dist/components/mds-file.js +3 -3
- package/dist/components/mds-filter-item.js +1 -1
- package/dist/components/mds-filter.js +1 -1
- package/dist/components/mds-header-bar.js +1 -1
- package/dist/components/mds-header.js +1 -1
- package/dist/components/mds-help.js +1 -1
- package/dist/components/mds-horizontal-scroll.js +1 -1
- package/dist/components/mds-hr.js +1 -1
- package/dist/components/mds-icon.js +1 -1
- package/dist/components/mds-img.js +1 -1
- package/dist/components/mds-input-date-range-preselection.js +1 -1
- package/dist/components/mds-input-date-range.js +1 -1
- package/dist/components/mds-input-date.js +1 -1
- package/dist/components/mds-input-field.js +1 -1
- package/dist/components/mds-input-otp.js +1 -1
- package/dist/components/mds-input-range.js +1 -1
- package/dist/components/mds-input-select.js +1 -1
- package/dist/components/mds-input-switch.js +1 -1
- package/dist/components/mds-input-tip-item.js +1 -1
- package/dist/components/mds-input-tip.js +1 -1
- package/dist/components/mds-input-upload.js +1 -1
- package/dist/components/mds-input.js +1 -1
- package/dist/components/mds-keyboard-key.js +1 -1
- package/dist/components/mds-keyboard.js +1 -1
- package/dist/components/mds-kpi-item.js +1 -1
- package/dist/components/mds-kpi.js +1 -1
- package/dist/components/mds-label.js +1 -1
- package/dist/components/mds-list-item.js +1 -1
- package/dist/components/mds-list.js +1 -1
- package/dist/components/mds-mention.js +1 -1
- package/dist/components/mds-modal.js +1 -1
- package/dist/components/mds-note.js +1 -1
- package/dist/components/mds-notification.js +1 -1
- package/dist/components/mds-paginator-item.js +1 -1
- package/dist/components/mds-paginator.js +1 -1
- package/dist/components/mds-policy-ai.js +1 -1
- package/dist/components/mds-pref-animation.js +1 -1
- package/dist/components/mds-pref-consumption.js +1 -1
- package/dist/components/mds-pref-contrast.js +1 -1
- package/dist/components/mds-pref-language-item.js +1 -1
- package/dist/components/mds-pref-language.js +1 -1
- package/dist/components/mds-pref-mode.d.ts +11 -0
- package/dist/components/mds-pref-mode.js +1 -0
- package/dist/components/mds-pref-theme-item.d.ts +11 -0
- package/dist/components/mds-pref-theme-item.js +1 -0
- package/dist/components/mds-pref-theme.js +1 -1
- package/dist/components/mds-pref.js +1 -1
- package/dist/components/mds-price-table-features-cell.js +1 -1
- package/dist/components/mds-price-table-features-row.js +1 -1
- package/dist/components/mds-price-table-features.js +1 -1
- package/dist/components/mds-price-table-header.js +1 -1
- package/dist/components/mds-price-table-list-item.js +1 -1
- package/dist/components/mds-price-table-list.js +1 -1
- package/dist/components/mds-price-table.js +1 -1
- package/dist/components/mds-progress.js +1 -1
- package/dist/components/mds-push-notification-item.js +1 -1
- package/dist/components/mds-push-notification.js +1 -1
- package/dist/components/mds-quote.js +1 -1
- package/dist/components/mds-radial-menu-item.js +1 -1
- package/dist/components/mds-radial-menu.js +1 -1
- package/dist/components/mds-radial-progress.js +1 -1
- package/dist/components/mds-separator.js +1 -1
- package/dist/components/mds-spinner.js +1 -1
- package/dist/components/mds-status-bar.js +1 -1
- package/dist/components/mds-stepper-bar-item.js +1 -1
- package/dist/components/mds-stepper-bar.js +1 -1
- package/dist/components/mds-tab-bar-item.js +1 -1
- package/dist/components/mds-tab-bar.js +1 -1
- package/dist/components/mds-tab-item.js +1 -1
- package/dist/components/mds-tab.js +1 -1
- package/dist/components/mds-table-body.js +1 -1
- package/dist/components/mds-table-cell.js +1 -1
- package/dist/components/mds-table-footer.js +1 -1
- package/dist/components/mds-table-header-cell.js +1 -1
- package/dist/components/mds-table-header.js +1 -1
- package/dist/components/mds-table-row.js +1 -1
- package/dist/components/mds-table.js +1 -1
- package/dist/components/mds-text.js +1 -1
- package/dist/components/mds-toast.js +1 -1
- package/dist/components/mds-tooltip.js +1 -1
- package/dist/components/mds-tree-item.js +1 -1
- package/dist/components/mds-tree.js +1 -1
- package/dist/components/mds-url-view.js +1 -1
- package/dist/components/mds-usage.js +1 -1
- package/dist/components/mds-video-wall.js +1 -1
- package/dist/components/mds-zero.js +1 -1
- package/dist/components/p--8aaJX-p.js +1 -0
- package/dist/components/p-A9TZf0Ii.js +1 -0
- package/dist/components/p-B14Ci2fO.js +1 -0
- package/dist/components/p-B2A_hlV2.js +1 -0
- package/dist/components/p-B9DJLgwr.js +1 -0
- package/dist/components/p-BH3bWzRT.js +1 -0
- package/dist/components/p-BJNK4p33.js +1 -0
- package/dist/components/p-BNHXZ-JR.js +1 -0
- package/dist/components/p-BSxuG1vZ.js +1 -0
- package/dist/components/p-BTHR4xXu.js +1 -0
- package/dist/components/p-BhFTcUD0.js +3 -0
- package/dist/components/p-BouRLCYL.js +1 -0
- package/dist/components/p-Bss3F51Q.js +5 -0
- package/dist/components/p-Bt4xX5ww.js +1 -0
- package/dist/components/p-C03KYHGv.js +1 -0
- package/dist/components/p-C58NKMEE.js +1 -0
- package/dist/components/p-CACEYk42.js +1 -0
- package/dist/components/p-CBLAz3_J.js +1 -0
- package/dist/components/p-CHAGzQT-.js +1 -0
- package/dist/components/p-CVgKDZPF.js +1 -0
- package/dist/components/p-CVpjH8Un.js +1 -0
- package/dist/components/p-Caksrfcd.js +1 -0
- package/dist/components/p-CatD1iUY.js +1 -0
- package/dist/components/p-CbufYCNj.js +1 -0
- package/dist/components/p-Cehcn85x.js +1 -0
- package/dist/components/p-CsgCQiHG.js +1 -0
- package/dist/components/p-CvIFS8oA.js +1 -0
- package/dist/components/p-D3-GP4KF.js +1 -0
- package/dist/components/p-D8I1RblC.js +1 -0
- package/dist/components/p-DLE5TNTp.js +1 -0
- package/dist/components/p-DaI5QqNu.js +1 -0
- package/dist/components/p-Deh5Aia-.js +1 -0
- package/dist/components/p-Dj_oN194.js +1 -0
- package/dist/components/p-DmELzfvf.js +1 -0
- package/dist/components/p-DtxB7DYE.js +1 -0
- package/dist/components/p-KRu9I7dw.js +1 -0
- package/dist/components/p-cBZsPiMJ.js +1 -0
- package/dist/components/p-sUKtonkE.js +8 -0
- package/dist/components/p-sqRs6oj4.js +1 -0
- package/dist/components/p-wq6nWuWE.js +1 -0
- package/dist/documentation.json +1203 -1484
- package/dist/esm/date-CACEYk42.js +22 -0
- package/dist/esm/floating-controller-DVldZ5mh.js +366 -0
- package/dist/esm/floating-ui.dom-CHAGzQT-.js +1680 -0
- package/dist/esm/form-A9TZf0Ii.js +19 -0
- package/dist/esm/index-DIiEV39g.js +5149 -0
- package/dist/esm/index.js +17 -0
- package/dist/esm/keyboard-manager-KRu9I7dw.js +50 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/locale-CbJbTW_c.js +814 -0
- package/dist/esm/magma-components.js +32 -5
- package/dist/esm/mds-accordion-item.entry.js +7 -6
- package/dist/esm/mds-accordion-timer-item.entry.js +8 -7
- package/dist/esm/mds-accordion-timer.entry.js +3 -3
- package/dist/esm/mds-accordion.entry.js +17 -7
- package/dist/esm/mds-author.entry.js +9 -4
- package/dist/esm/mds-avatar-stack-item.entry.js +2 -2
- package/dist/esm/mds-avatar-stack.entry.js +5 -4
- package/dist/esm/mds-avatar.entry.js +15 -12
- package/dist/esm/mds-badge.entry.js +5 -4
- package/dist/esm/mds-banner_3.entry.js +40 -36
- package/dist/esm/mds-benchmark-bar.entry.js +3 -3
- package/dist/esm/mds-bibliography.entry.js +2 -2
- package/dist/esm/mds-breadcrumb-item.entry.js +3 -3
- package/dist/esm/mds-breadcrumb.entry.js +12 -20
- package/dist/esm/mds-button-dropdown.entry.js +3 -3
- package/dist/esm/mds-button-group.entry.js +3 -3
- package/dist/esm/mds-button_3.entry.js +13 -14
- package/dist/esm/mds-calendar_2.entry.js +183 -160
- package/dist/esm/mds-card-content.entry.js +2 -2
- package/dist/esm/mds-card-footer.entry.js +2 -2
- package/dist/esm/mds-card-header.entry.js +9 -4
- package/dist/esm/mds-card-media.entry.js +2 -2
- package/dist/esm/mds-card.entry.js +6 -5
- package/dist/esm/mds-details.entry.js +8 -6
- package/dist/esm/mds-dropdown.entry.js +201 -55
- package/dist/esm/mds-emoji.entry.js +301 -181
- package/dist/esm/mds-entity.entry.js +11 -5
- package/dist/esm/mds-file-preview.entry.js +8 -14
- package/dist/esm/mds-file.entry.js +8 -14
- package/dist/esm/mds-filter-item.entry.js +6 -5
- package/dist/esm/mds-filter.entry.js +19 -10
- package/dist/esm/mds-header-bar.entry.js +11 -5
- package/dist/esm/mds-header.entry.js +10 -8
- package/dist/esm/mds-horizontal-scroll.entry.js +2 -2
- package/dist/esm/mds-hr.entry.js +4 -3
- package/dist/esm/mds-img.entry.js +11 -18
- package/dist/esm/mds-input-date-range-preselection.entry.js +2 -2
- package/dist/esm/mds-input-date-range.entry.js +61 -30
- package/dist/esm/mds-input-date.entry.js +28 -34
- package/dist/esm/mds-input-field.entry.js +42 -6
- package/dist/esm/mds-input-otp.entry.js +38 -4
- package/dist/esm/mds-input-range.entry.js +9 -7
- package/dist/esm/mds-input-select.entry.js +11 -19
- package/dist/esm/mds-input-switch_2.entry.js +19 -32
- package/dist/esm/mds-input-tip_2.entry.js +8 -17
- package/dist/esm/mds-input-upload.entry.js +45 -37
- package/dist/esm/mds-input.entry.js +26 -32
- package/dist/esm/mds-keyboard-key.entry.js +5 -14
- package/dist/esm/mds-keyboard.entry.js +20 -21
- package/dist/esm/mds-kpi-item.entry.js +12 -3
- package/dist/esm/mds-kpi.entry.js +2 -2
- package/dist/esm/mds-label.entry.js +7 -13
- package/dist/esm/mds-list-item.entry.js +4 -3
- package/dist/esm/mds-list.entry.js +2 -2
- package/dist/esm/mds-mention.entry.js +38 -4
- package/dist/esm/mds-modal.entry.js +150 -65
- package/dist/esm/mds-note.entry.js +7 -15
- package/dist/esm/mds-notification.entry.js +16 -8
- package/dist/esm/mds-paginator-item.entry.js +5 -4
- package/dist/esm/mds-paginator.entry.js +42 -10
- package/dist/esm/mds-policy-ai.entry.js +8 -15
- package/dist/esm/mds-pref-animation.entry.js +10 -19
- package/dist/esm/mds-pref-consumption.entry.js +10 -19
- package/dist/esm/mds-pref-contrast.entry.js +13 -20
- package/dist/esm/mds-pref-language-item.entry.js +28 -16
- package/dist/esm/mds-pref-language.entry.js +38 -28
- package/dist/esm/mds-pref-mode.entry.js +271 -0
- package/dist/esm/mds-pref-theme-item.entry.js +41 -0
- package/dist/esm/mds-pref-theme.entry.js +148 -222
- package/dist/esm/mds-pref.entry.js +41 -18
- package/dist/esm/mds-price-table-features-cell.entry.js +4 -3
- package/dist/esm/mds-price-table-features-row.entry.js +4 -3
- package/dist/esm/mds-price-table-features.entry.js +4 -3
- package/dist/esm/mds-price-table-header.entry.js +3 -3
- package/dist/esm/mds-price-table-list-item.entry.js +3 -3
- package/dist/esm/mds-price-table-list.entry.js +4 -3
- package/dist/esm/mds-price-table.entry.js +3 -3
- package/dist/esm/mds-progress_2.entry.js +7 -11
- package/dist/esm/mds-push-notification-item.entry.js +19 -20
- package/dist/esm/mds-push-notification.entry.js +7 -6
- package/dist/esm/mds-quote.entry.js +4 -3
- package/dist/esm/mds-radial-menu-item.entry.js +3 -3
- package/dist/esm/mds-radial-menu.entry.js +7 -6
- package/dist/esm/mds-separator.entry.js +4 -3
- package/dist/esm/mds-status-bar.entry.js +5 -4
- package/dist/esm/mds-stepper-bar-item.entry.js +14 -17
- package/dist/esm/mds-stepper-bar.entry.js +21 -12
- package/dist/esm/mds-tab-bar-item.entry.js +6 -5
- package/dist/esm/mds-tab-bar.entry.js +5 -4
- package/dist/esm/mds-tab_2.entry.js +28 -11
- package/dist/esm/mds-table-body.entry.js +4 -3
- package/dist/esm/mds-table-footer.entry.js +4 -3
- package/dist/esm/mds-table-header-cell.entry.js +4 -3
- package/dist/esm/mds-table-header.entry.js +19 -21
- package/dist/esm/mds-table-row.entry.js +20 -21
- package/dist/esm/mds-table.entry.js +62 -30
- package/dist/esm/mds-text.entry.js +36 -11
- package/dist/esm/mds-toast.entry.js +10 -5
- package/dist/esm/mds-tooltip.entry.js +30 -21
- package/dist/esm/mds-tree-item.entry.js +36 -14
- package/dist/esm/mds-tree.entry.js +44 -6
- package/dist/esm/mds-url-view.entry.js +21 -21
- package/dist/esm/mds-usage.entry.js +5 -11
- package/dist/esm/mds-video-wall.entry.js +8 -4
- package/dist/esm/mds-zero.entry.js +4 -3
- package/dist/esm/preference-CKerJx2M.js +385 -0
- package/dist/esm/slot-C0o_l0td.js +61 -0
- package/dist/esm-es5/date-CACEYk42.js +6 -0
- package/dist/esm-es5/datetime-BJtA1qmE.js +2732 -1
- package/dist/esm-es5/floating-controller-DVldZ5mh.js +66 -0
- package/dist/esm-es5/floating-ui.dom-CHAGzQT-.js +201 -0
- package/dist/esm-es5/form-A9TZf0Ii.js +8 -0
- package/dist/esm-es5/index-DIiEV39g.js +371 -0
- package/dist/esm-es5/index.js +79 -1
- package/dist/esm-es5/keyboard-manager-KRu9I7dw.js +5 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/locale-CbJbTW_c.js +230 -0
- package/dist/esm-es5/magma-components.js +4 -1
- package/dist/esm-es5/mds-accordion-item.entry.js +4 -1
- package/dist/esm-es5/mds-accordion-timer-item.entry.js +17 -1
- package/dist/esm-es5/mds-accordion-timer.entry.js +4 -1
- package/dist/esm-es5/mds-accordion.entry.js +7 -1
- package/dist/esm-es5/mds-author.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack-item.entry.js +4 -1
- package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
- package/dist/esm-es5/mds-avatar.entry.js +8 -1
- package/dist/esm-es5/mds-badge.entry.js +12 -1
- package/dist/esm-es5/mds-banner_3.entry.js +40 -1
- package/dist/esm-es5/mds-benchmark-bar.entry.js +15 -1
- package/dist/esm-es5/mds-bibliography.entry.js +14 -1
- package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb.entry.js +4 -1
- package/dist/esm-es5/mds-button-dropdown.entry.js +19 -1
- package/dist/esm-es5/mds-button-group.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +42 -1
- package/dist/esm-es5/mds-calendar_2.entry.js +81 -1
- package/dist/esm-es5/mds-card-content.entry.js +1 -1
- package/dist/esm-es5/mds-card-footer.entry.js +1 -1
- package/dist/esm-es5/mds-card-header.entry.js +1 -1
- package/dist/esm-es5/mds-card-media.entry.js +1 -1
- package/dist/esm-es5/mds-card.entry.js +7 -1
- package/dist/esm-es5/mds-details.entry.js +4 -1
- package/dist/esm-es5/mds-dropdown.entry.js +102 -1
- package/dist/esm-es5/mds-emoji.entry.js +899 -3
- package/dist/esm-es5/mds-entity.entry.js +1 -1
- package/dist/esm-es5/mds-file-preview.entry.js +23 -2
- package/dist/esm-es5/mds-file.entry.js +2823 -3
- package/dist/esm-es5/mds-filter-item.entry.js +1 -1
- package/dist/esm-es5/mds-filter.entry.js +11 -1
- package/dist/esm-es5/mds-header-bar.entry.js +11 -1
- package/dist/esm-es5/mds-header.entry.js +30 -1
- package/dist/esm-es5/mds-horizontal-scroll.entry.js +45 -1
- package/dist/esm-es5/mds-hr.entry.js +1 -1
- package/dist/esm-es5/mds-img.entry.js +15 -1
- package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range.entry.js +39 -1
- package/dist/esm-es5/mds-input-date.entry.js +50 -1
- package/dist/esm-es5/mds-input-field.entry.js +22 -1
- package/dist/esm-es5/mds-input-otp.entry.js +13 -1
- package/dist/esm-es5/mds-input-range.entry.js +24 -1
- package/dist/esm-es5/mds-input-select.entry.js +39 -1
- package/dist/esm-es5/mds-input-switch_2.entry.js +27 -1
- package/dist/esm-es5/mds-input-tip_2.entry.js +10 -1
- package/dist/esm-es5/mds-input-upload.entry.js +63 -1
- package/dist/esm-es5/mds-input.entry.js +134 -1
- package/dist/esm-es5/mds-keyboard-key.entry.js +1 -1
- package/dist/esm-es5/mds-keyboard.entry.js +11 -1
- package/dist/esm-es5/mds-kpi-item.entry.js +11 -1
- package/dist/esm-es5/mds-kpi.entry.js +1 -1
- package/dist/esm-es5/mds-label.entry.js +16 -1
- package/dist/esm-es5/mds-list-item.entry.js +7 -1
- package/dist/esm-es5/mds-list.entry.js +1 -1
- package/dist/esm-es5/mds-mention.entry.js +4 -1
- package/dist/esm-es5/mds-modal.entry.js +68 -1
- package/dist/esm-es5/mds-note.entry.js +7 -1
- package/dist/esm-es5/mds-notification.entry.js +13 -1
- package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
- package/dist/esm-es5/mds-paginator.entry.js +14 -1
- package/dist/esm-es5/mds-policy-ai.entry.js +7 -1
- package/dist/esm-es5/mds-pref-animation.entry.js +1 -1
- package/dist/esm-es5/mds-pref-consumption.entry.js +1 -1
- package/dist/esm-es5/mds-pref-contrast.entry.js +4 -1
- package/dist/esm-es5/mds-pref-language-item.entry.js +13 -1
- package/dist/esm-es5/mds-pref-language.entry.js +15 -1
- package/dist/esm-es5/mds-pref-mode.entry.js +4 -0
- package/dist/esm-es5/mds-pref-theme-item.entry.js +13 -0
- package/dist/esm-es5/mds-pref-theme.entry.js +38 -1
- package/dist/esm-es5/mds-pref.entry.js +9 -1
- package/dist/esm-es5/mds-price-table-features-cell.entry.js +4 -1
- package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-list-item.entry.js +7 -1
- package/dist/esm-es5/mds-price-table-list.entry.js +1 -1
- package/dist/esm-es5/mds-price-table.entry.js +1 -1
- package/dist/esm-es5/mds-progress_2.entry.js +32 -1
- package/dist/esm-es5/mds-push-notification-item.entry.js +16 -1
- package/dist/esm-es5/mds-push-notification.entry.js +49 -1
- package/dist/esm-es5/mds-quote.entry.js +7 -1
- package/dist/esm-es5/mds-radial-menu-item.entry.js +10 -1
- package/dist/esm-es5/mds-radial-menu.entry.js +28 -1
- package/dist/esm-es5/mds-separator.entry.js +1 -1
- package/dist/esm-es5/mds-status-bar.entry.js +10 -1
- package/dist/esm-es5/mds-stepper-bar-item.entry.js +16 -1
- package/dist/esm-es5/mds-stepper-bar.entry.js +19 -1
- package/dist/esm-es5/mds-tab-bar-item.entry.js +9 -1
- package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
- package/dist/esm-es5/mds-tab_2.entry.js +26 -1
- package/dist/esm-es5/mds-table-body.entry.js +1 -1
- package/dist/esm-es5/mds-table-footer.entry.js +1 -1
- package/dist/esm-es5/mds-table-header-cell.entry.js +4 -1
- package/dist/esm-es5/mds-table-header.entry.js +14 -1
- package/dist/esm-es5/mds-table-row.entry.js +8 -1
- package/dist/esm-es5/mds-table.entry.js +15 -1
- package/dist/esm-es5/mds-text.entry.js +27 -1
- package/dist/esm-es5/mds-toast.entry.js +15 -1
- package/dist/esm-es5/mds-tooltip.entry.js +37 -1
- package/dist/esm-es5/mds-tree-item.entry.js +16 -1
- package/dist/esm-es5/mds-tree.entry.js +20 -1
- package/dist/esm-es5/mds-url-view.entry.js +7 -1
- package/dist/esm-es5/mds-usage.entry.js +4 -1
- package/dist/esm-es5/mds-video-wall.entry.js +16 -1
- package/dist/esm-es5/mds-zero.entry.js +1 -1
- package/dist/esm-es5/preference-CKerJx2M.js +58 -0
- package/dist/esm-es5/slot-C0o_l0td.js +23 -0
- package/dist/hydrate/index.js +4695 -2035
- package/dist/hydrate/index.mjs +4695 -2035
- package/dist/magma-components/index.esm.js +1 -1
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/magma-components.js +1 -1
- package/dist/magma-components/p-03be5c0c.entry.js +1 -0
- package/dist/magma-components/p-0715a2cb.system.entry.js +12 -0
- package/dist/magma-components/p-071f18c6.system.entry.js +27 -0
- package/dist/magma-components/p-0798b0bf.system.entry.js +24 -0
- package/dist/magma-components/p-07fde74d.system.entry.js +39 -0
- package/dist/magma-components/p-086fb3aa.entry.js +1 -0
- package/dist/magma-components/p-0a088e7d.system.entry.js +10 -0
- package/dist/magma-components/p-0a691082.entry.js +1 -0
- package/dist/magma-components/p-0ad3b4da.system.entry.js +102 -0
- package/dist/magma-components/p-0af8d821.entry.js +1 -0
- package/dist/magma-components/p-0ec21574.system.entry.js +10 -0
- package/dist/magma-components/p-0f6bb54d.system.entry.js +22 -0
- package/dist/magma-components/p-102d3bd3.system.entry.js +1 -0
- package/dist/magma-components/p-10704ede.system.entry.js +4 -0
- package/dist/magma-components/p-15f63bf3.entry.js +1 -0
- package/dist/magma-components/p-16e9fb14.system.entry.js +7 -0
- package/dist/magma-components/p-1780b8ba.entry.js +1 -0
- package/dist/magma-components/p-181dfb04.entry.js +1 -0
- package/dist/magma-components/p-184720be.system.entry.js +1 -0
- package/dist/magma-components/p-18f7b970.system.entry.js +4 -0
- package/dist/magma-components/p-1a8c5086.system.entry.js +19 -0
- package/dist/magma-components/p-1afc0452.entry.js +1 -0
- package/dist/magma-components/p-1c0a7e24.system.entry.js +30 -0
- package/dist/magma-components/p-1cce738a.system.entry.js +32 -0
- package/dist/magma-components/p-1dcfb13e.entry.js +1 -0
- package/dist/magma-components/p-1df6ac96.system.entry.js +7 -0
- package/dist/magma-components/p-209063b6.system.entry.js +50 -0
- package/dist/magma-components/p-216f95cc.system.entry.js +1 -0
- package/dist/magma-components/p-21891a24.entry.js +1 -0
- package/dist/magma-components/p-21d6687a.system.entry.js +7 -0
- package/dist/magma-components/p-231505e8.entry.js +1 -0
- package/dist/magma-components/p-23e61db9.system.entry.js +4 -0
- package/dist/magma-components/p-241dbf61.entry.js +1 -0
- package/dist/magma-components/p-25935d33.system.entry.js +1 -0
- package/dist/magma-components/p-284c40cd.system.entry.js +4 -0
- package/dist/magma-components/p-29684655.system.entry.js +16 -0
- package/dist/magma-components/p-2b73fee6.entry.js +1 -0
- package/dist/magma-components/p-2d5aadba.system.entry.js +7 -0
- package/dist/magma-components/p-2de17848.entry.js +1 -0
- package/dist/magma-components/p-34482514.entry.js +1 -0
- package/dist/magma-components/p-34c0890e.entry.js +1 -0
- package/dist/magma-components/p-3635eca6.system.entry.js +1 -0
- package/dist/magma-components/p-3b0c1202.entry.js +1 -0
- package/dist/magma-components/p-3d8e63a2.system.entry.js +63 -0
- package/dist/magma-components/p-3db23b5f.system.entry.js +16 -0
- package/dist/magma-components/p-3ec7d3ea.entry.js +1 -0
- package/dist/magma-components/p-3f7d3060.system.entry.js +42 -0
- package/dist/magma-components/p-40563e33.entry.js +1 -0
- package/dist/magma-components/p-41bf6f25.system.entry.js +81 -0
- package/dist/magma-components/p-421a630e.entry.js +1 -0
- package/dist/magma-components/p-4297da23.system.entry.js +1 -0
- package/dist/magma-components/p-4299b76b.system.entry.js +4 -0
- package/dist/magma-components/p-4543501c.entry.js +1 -0
- package/dist/magma-components/p-454c4774.entry.js +1 -0
- package/dist/magma-components/p-4616bc07.entry.js +1 -0
- package/dist/magma-components/p-46786d71.system.entry.js +14 -0
- package/dist/magma-components/p-470e5ac8.system.entry.js +1 -0
- package/dist/magma-components/p-481008e9.system.entry.js +13 -0
- package/dist/magma-components/p-48d37230.entry.js +1 -0
- package/dist/magma-components/p-4b3a8132.system.entry.js +13 -0
- package/dist/magma-components/p-4c8316a8.entry.js +1 -0
- package/dist/magma-components/p-4c95442e.entry.js +1 -0
- package/dist/magma-components/p-4e4bdbf8.entry.js +1 -0
- package/dist/magma-components/p-4e5ab0e4.system.entry.js +16 -0
- package/dist/magma-components/p-54b995c2.system.entry.js +4 -0
- package/dist/magma-components/p-56ad5bf2.entry.js +1 -0
- package/dist/magma-components/p-59de81ac.entry.js +1 -0
- package/dist/magma-components/p-5a7ead55.system.entry.js +37 -0
- package/dist/magma-components/p-5e43274a.system.entry.js +15 -0
- package/dist/magma-components/p-5f545f85.system.entry.js +1 -0
- package/dist/magma-components/p-61a5ac3d.system.entry.js +17 -0
- package/dist/magma-components/p-636cc471.entry.js +1 -0
- package/dist/magma-components/p-66ce2dee.entry.js +1 -0
- package/dist/magma-components/p-67d80d37.system.entry.js +1 -0
- package/dist/magma-components/p-6937f340.entry.js +1 -0
- package/dist/magma-components/p-69d1b815.entry.js +1 -0
- package/dist/magma-components/p-6b7e449f.entry.js +1 -0
- package/dist/magma-components/p-6c417ea1.system.entry.js +913 -0
- package/dist/magma-components/p-6cd7cfe3.entry.js +1 -0
- package/dist/magma-components/p-6ce60d59.entry.js +1 -0
- package/dist/magma-components/p-6cf760ea.system.entry.js +45 -0
- package/dist/magma-components/p-6dc27543.entry.js +1 -0
- package/dist/magma-components/p-6de37588.entry.js +1 -0
- package/dist/magma-components/p-6edc4f16.system.entry.js +14 -0
- package/dist/magma-components/p-6f6b5eb5.entry.js +1 -0
- package/dist/magma-components/p-7090184f.entry.js +1 -0
- package/dist/magma-components/p-716ad14c.entry.js +1 -0
- package/dist/magma-components/p-71804224.entry.js +1 -0
- package/dist/magma-components/p-735dc594.system.entry.js +1 -0
- package/dist/magma-components/p-739fdf76.system.entry.js +1 -0
- package/dist/magma-components/p-74b0902a.entry.js +1 -0
- package/dist/magma-components/p-7530a2f2.entry.js +1 -0
- package/dist/magma-components/p-75dd012a.system.entry.js +11 -0
- package/dist/magma-components/p-75fcf1a4.entry.js +1 -0
- package/dist/magma-components/p-76ae22d6.entry.js +1 -0
- package/dist/magma-components/p-78248693.entry.js +1 -0
- package/dist/magma-components/p-78fef00a.entry.js +1 -0
- package/dist/magma-components/p-7c0d202c.entry.js +1 -0
- package/dist/magma-components/p-7d317ff0.entry.js +8 -0
- package/dist/magma-components/p-7f2e3b74.system.entry.js +2838 -0
- package/dist/magma-components/p-7fc29447.entry.js +1 -0
- package/dist/magma-components/p-8103d4d4.system.entry.js +30 -0
- package/dist/magma-components/p-81b72b6e.entry.js +1 -0
- package/dist/magma-components/p-859ab5a2.entry.js +18 -0
- package/dist/magma-components/p-896ae0ee.entry.js +1 -0
- package/dist/magma-components/p-89a3bc7a.system.entry.js +16 -0
- package/dist/magma-components/p-8b7fa8d7.entry.js +1 -0
- package/dist/magma-components/p-8dff6606.system.entry.js +11 -0
- package/dist/magma-components/p-8e40eda3.system.entry.js +9 -0
- package/dist/magma-components/p-91b9d4e7.system.entry.js +4 -0
- package/dist/magma-components/p-92e1001f.entry.js +1 -0
- package/dist/magma-components/p-9378b373.system.entry.js +49 -0
- package/dist/magma-components/p-960dc9b5.system.entry.js +15 -0
- package/dist/magma-components/p-9626eaff.system.entry.js +134 -0
- package/dist/magma-components/p-9741d95e.system.entry.js +7 -0
- package/dist/magma-components/p-97ea9e6e.system.entry.js +68 -0
- package/dist/magma-components/p-9846fe89.system.entry.js +1 -0
- package/dist/magma-components/p-998721b9.system.entry.js +1 -0
- package/dist/magma-components/p-9a5296c0.system.entry.js +7 -0
- package/dist/magma-components/p-9b2ee3fe.entry.js +1 -0
- package/dist/magma-components/p-9be4a736.entry.js +1 -0
- package/dist/magma-components/p-9ca7932d.system.entry.js +8 -0
- package/dist/magma-components/p-9d86477d.system.entry.js +1 -0
- package/dist/magma-components/p-9d9a947b.entry.js +18 -0
- package/dist/magma-components/p-9e3bc553.system.entry.js +26 -0
- package/dist/magma-components/p-9e58467e.system.entry.js +10 -0
- package/dist/magma-components/p-9e9a1ebd.system.entry.js +15 -0
- package/dist/magma-components/p-A9TZf0Ii.js +1 -0
- package/dist/magma-components/p-BFnx_0hM.js +5 -0
- package/dist/magma-components/p-BJKToXNf.system.js +2733 -1
- package/dist/magma-components/p-BbMKuVem.js +1 -0
- package/dist/magma-components/p-C0o_l0td.js +1 -0
- package/dist/magma-components/p-C2FHijr2.system.js +231 -0
- package/dist/magma-components/p-CACEYk42.js +1 -0
- package/dist/magma-components/p-CBam2PI8.system.js +79 -0
- package/dist/magma-components/p-CDTiTqY0.system.js +58 -0
- package/dist/magma-components/p-CHAGzQT-.js +1 -0
- package/dist/magma-components/p-CI85vVs8.system.js +9 -0
- package/dist/magma-components/p-CnXBPjmc.system.js +5 -0
- package/dist/magma-components/p-DB8Rm54c.js +1 -0
- package/dist/magma-components/p-DIiEV39g.js +3 -0
- package/dist/magma-components/p-Dg8nxRUX.system.js +201 -0
- package/dist/magma-components/p-DmC-b-ZK.system.js +67 -0
- package/dist/magma-components/p-KRu9I7dw.js +1 -0
- package/dist/magma-components/p-LerCJgfP.system.js +5 -0
- package/dist/magma-components/p-MGv0i39Y.system.js +162 -0
- package/dist/magma-components/p-RJ5ZA1kY.system.js +23 -0
- package/dist/magma-components/p-a3279a73.system.entry.js +11 -0
- package/dist/magma-components/p-a3b0f586.entry.js +1 -0
- package/dist/magma-components/p-a3fc2ea4.system.entry.js +39 -0
- package/dist/magma-components/p-a5ac5e0b.entry.js +1 -0
- package/dist/magma-components/p-a8ec3080.system.entry.js +27 -0
- package/dist/magma-components/p-a906a02f.system.entry.js +16 -0
- package/dist/magma-components/p-a93b2a39.entry.js +1 -0
- package/dist/magma-components/p-aa267e7b.entry.js +1 -0
- package/dist/magma-components/p-ab9095ae.system.entry.js +4 -0
- package/dist/magma-components/p-ac544ab1.entry.js +1 -0
- package/dist/magma-components/p-ace198e9.entry.js +1 -0
- package/dist/magma-components/p-ad3983b2.entry.js +1 -0
- package/dist/magma-components/p-af41c8b8.system.entry.js +1 -0
- package/dist/magma-components/p-af45f0a5.system.entry.js +20 -0
- package/dist/magma-components/p-b23a6c83.entry.js +1 -0
- package/dist/magma-components/p-b3a3578c.entry.js +1 -0
- package/dist/magma-components/p-b49e0321.system.entry.js +1 -0
- package/dist/magma-components/p-b71e0d51.entry.js +1 -0
- package/dist/magma-components/p-b8d4a14e.entry.js +1 -0
- package/dist/magma-components/p-b9fecfd5.entry.js +1 -0
- package/dist/magma-components/p-ba035f90.entry.js +1 -0
- package/dist/magma-components/p-bc51d310.system.entry.js +1 -0
- package/dist/magma-components/p-bd490a8e.entry.js +1 -0
- package/dist/magma-components/p-be198039.system.entry.js +4 -0
- package/dist/magma-components/p-be692266.system.entry.js +13 -0
- package/dist/magma-components/p-bf7168b4.entry.js +1 -0
- package/dist/magma-components/p-bf84d9fa.entry.js +1 -0
- package/dist/magma-components/p-c1fb2eb7.entry.js +1 -0
- package/dist/magma-components/p-c4e58240.entry.js +1 -0
- package/dist/magma-components/p-c573de10.entry.js +1 -0
- package/dist/magma-components/p-c6be3db7.system.entry.js +1 -0
- package/dist/magma-components/p-c70d7159.entry.js +1 -0
- package/dist/magma-components/p-c7517884.system.entry.js +38 -0
- package/dist/magma-components/p-c9be79bd.entry.js +1 -0
- package/dist/magma-components/p-c9e12c2b.system.entry.js +7 -0
- package/dist/magma-components/p-cb6a1908.entry.js +1 -0
- package/dist/magma-components/p-cbd5aef4.system.entry.js +14 -0
- package/dist/magma-components/p-cd21137b.system.entry.js +1 -0
- package/dist/magma-components/p-cd5866c8.entry.js +1 -0
- package/dist/magma-components/p-ce0ecc75.system.entry.js +15 -0
- package/dist/magma-components/p-ce4e1a41.system.entry.js +1 -0
- package/dist/magma-components/p-d3116844.entry.js +1 -0
- package/dist/magma-components/p-d38165ed.system.entry.js +1 -0
- package/dist/magma-components/p-d3933a22.entry.js +1 -0
- package/dist/magma-components/p-d44c49d6.system.entry.js +8 -0
- package/dist/magma-components/p-d4a529ce.entry.js +1 -0
- package/dist/magma-components/p-d6d4aa1a.entry.js +1 -0
- package/dist/magma-components/p-d81e7100.system.entry.js +15 -0
- package/dist/magma-components/p-d8c27f4b.entry.js +1 -0
- package/dist/magma-components/p-d921d876.entry.js +1 -0
- package/dist/magma-components/p-da1ac3e1.entry.js +1 -0
- package/dist/magma-components/p-ddbdce09.entry.js +1 -0
- package/dist/magma-components/p-de6bc3c8.entry.js +1 -0
- package/dist/magma-components/p-df2b7607.system.entry.js +4 -0
- package/dist/magma-components/p-e05d2df8.system.entry.js +4 -0
- package/dist/magma-components/p-e0b2ef8f.system.entry.js +1 -0
- package/dist/magma-components/p-e0c50a2d.entry.js +1 -0
- package/dist/magma-components/p-e1277efe.system.entry.js +1 -0
- package/dist/magma-components/p-e1e6dd97.entry.js +1 -0
- package/dist/magma-components/p-e2f7a9bd.system.entry.js +1 -0
- package/dist/magma-components/p-e3e893c4.entry.js +1 -0
- package/dist/magma-components/p-e4868ade.entry.js +1 -0
- package/dist/magma-components/p-e5c6f9a9.system.entry.js +7 -0
- package/dist/magma-components/p-e5da7036.entry.js +1 -0
- package/dist/magma-components/p-e6dccab5.system.entry.js +1 -0
- package/dist/magma-components/p-ec59ec9a.entry.js +1 -0
- package/dist/magma-components/p-eddcef53.system.entry.js +1 -0
- package/dist/magma-components/p-eed00e7f.system.entry.js +1 -0
- package/dist/magma-components/p-ef8cb401.entry.js +1 -0
- package/dist/magma-components/p-efe8d359.entry.js +1 -0
- package/dist/magma-components/p-f070a5b5.system.entry.js +11 -0
- package/dist/magma-components/p-f0a168f4.system.entry.js +13 -0
- package/dist/magma-components/p-f1462410.system.entry.js +9 -0
- package/dist/magma-components/p-f23d4974.entry.js +1 -0
- package/dist/magma-components/p-f542246f.system.entry.js +1 -0
- package/dist/magma-components/p-f5c680dd.entry.js +1 -0
- package/dist/magma-components/p-f60c6e8e.system.entry.js +40 -0
- package/dist/magma-components/p-f8369939.entry.js +1 -0
- package/dist/magma-components/p-f97ede3e.system.entry.js +19 -0
- package/dist/magma-components/p-f97ff5b2.entry.js +1 -0
- package/dist/magma-components/p-fe1662e8.system.entry.js +28 -0
- package/dist/magma-components/p-ff133cbd.entry.js +1 -0
- package/dist/magma-components/p-fff44704.entry.js +1 -0
- package/dist/magma-components/p-opeIIa7t.system.js +7 -0
- package/dist/stats.json +5873 -5582
- package/dist/types/common/date.d.ts +5 -1
- package/dist/types/common/floating-controller.d.ts +59 -5
- package/dist/types/common/form.d.ts +10 -0
- package/dist/types/common/locale.d.ts +0 -5
- package/dist/types/common/preference.d.ts +54 -0
- package/dist/types/common/slot.d.ts +11 -1
- package/dist/types/common/yugop/random-text.d.ts +8 -0
- package/dist/types/components/mds-accordion/mds-accordion.d.ts +2 -2
- package/dist/types/components/mds-author/mds-author.d.ts +2 -1
- package/dist/types/components/mds-avatar/mds-avatar.d.ts +2 -0
- package/dist/types/components/mds-banner/mds-banner.d.ts +4 -9
- package/dist/types/components/mds-breadcrumb/mds-breadcrumb.d.ts +2 -8
- package/dist/types/components/mds-button/mds-button.d.ts +0 -1
- package/dist/types/components/mds-button-group/mds-button-group.d.ts +1 -1
- package/dist/types/components/mds-calendar/mds-calendar.d.ts +33 -18
- package/dist/types/components/mds-card/mds-card.d.ts +2 -2
- package/dist/types/components/mds-card-header/mds-card-header.d.ts +2 -1
- package/dist/types/components/mds-chip/mds-chip.d.ts +0 -6
- package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +44 -14
- package/dist/types/components/mds-emoji/mds-emoji.d.ts +9 -2
- package/dist/types/components/mds-entity/mds-entity.d.ts +3 -2
- package/dist/types/components/mds-file/mds-file.d.ts +2 -7
- package/dist/types/components/mds-file-preview/mds-file-preview.d.ts +0 -5
- package/dist/types/components/mds-filter/mds-filter.d.ts +10 -0
- package/dist/types/components/mds-header/mds-header.d.ts +2 -2
- package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +2 -1
- package/dist/types/components/mds-help/mds-help.d.ts +2 -2
- package/dist/types/components/mds-icon/mds-icon.d.ts +0 -1
- package/dist/types/components/mds-img/mds-img.d.ts +2 -7
- package/dist/types/components/mds-input/mds-input.d.ts +8 -6
- package/dist/types/components/mds-input-date/mds-input-date.d.ts +11 -4
- package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +11 -3
- package/dist/types/components/mds-input-field/mds-input-field.d.ts +3 -0
- package/dist/types/components/mds-input-otp/mds-input-otp.d.ts +7 -0
- package/dist/types/components/mds-input-select/mds-input-select.d.ts +5 -4
- package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +0 -5
- package/dist/types/components/mds-input-tip-item/mds-input-tip-item.d.ts +0 -7
- package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +5 -7
- package/dist/types/components/mds-input-upload/meta/types.d.ts +1 -1
- package/dist/types/components/mds-keyboard/mds-keyboard.d.ts +1 -7
- package/dist/types/components/mds-keyboard-key/mds-keyboard-key.d.ts +0 -7
- package/dist/types/components/mds-keyboard-key/meta/icons.d.ts +1 -1
- package/dist/types/components/mds-kpi-item/mds-kpi-item.d.ts +8 -0
- package/dist/types/components/mds-label/mds-label.d.ts +0 -5
- package/dist/types/components/mds-mention/mds-mention.d.ts +13 -0
- package/dist/types/components/mds-mention/meta/interface.d.ts +5 -0
- package/dist/types/components/mds-modal/mds-modal.d.ts +31 -19
- package/dist/types/components/mds-modal/meta/types.d.ts +0 -1
- package/dist/types/components/mds-note/mds-note.d.ts +0 -6
- package/dist/types/components/mds-notification/mds-notification.d.ts +2 -2
- package/dist/types/components/mds-paginator/mds-paginator.d.ts +14 -1
- package/dist/types/components/mds-policy-ai/mds-policy-ai.d.ts +1 -7
- package/dist/types/components/mds-pref/mds-pref.d.ts +12 -8
- package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +1 -6
- package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +1 -6
- package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +1 -6
- package/dist/types/components/mds-pref-language/mds-pref-language.d.ts +3 -9
- package/dist/types/components/mds-pref-language-item/mds-pref-language-item.d.ts +3 -7
- package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +62 -0
- package/dist/types/components/mds-pref-mode/meta/dictionary.d.ts +3 -0
- package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +63 -36
- package/dist/types/components/mds-pref-theme/meta/dictionary.d.ts +2 -3
- package/dist/types/components/mds-pref-theme-item/mds-pref-theme-item.d.ts +28 -0
- package/dist/types/components/mds-push-notification-item/mds-push-notification-item.d.ts +4 -8
- package/dist/types/components/mds-radial-progress/mds-radial-progress.d.ts +0 -1
- package/dist/types/components/mds-stepper-bar/mds-stepper-bar.d.ts +10 -0
- package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +0 -6
- package/dist/types/components/mds-tab/mds-tab.d.ts +2 -1
- package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +17 -0
- package/dist/types/components/mds-table/mds-table.d.ts +10 -5
- package/dist/types/components/mds-table-header/mds-table-header.d.ts +0 -5
- package/dist/types/components/mds-table-row/mds-table-row.d.ts +8 -7
- package/dist/types/components/mds-toast/mds-toast.d.ts +2 -1
- package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +8 -8
- package/dist/types/components/mds-tree/mds-tree.d.ts +5 -0
- package/dist/types/components/mds-tree-item/mds-tree-item.d.ts +26 -6
- package/dist/types/components/mds-url-view/mds-url-view.d.ts +0 -6
- package/dist/types/components/mds-usage/mds-usage.d.ts +0 -6
- package/dist/types/components/mds-video-wall/mds-video-wall.d.ts +2 -1
- package/dist/types/components.d.ts +437 -393
- package/dist/types/event-detail/preference.d.ts +2 -2
- package/dist/types/event-detail/theme.d.ts +5 -0
- package/dist/types/stencil-public-runtime.d.ts +12 -0
- package/dist/types/type/preference.d.ts +16 -3
- package/loader/index.d.ts +1 -1
- package/package.json +61 -64
- package/dist/cjs/date-dnDGaLCn.js +0 -16
- package/dist/cjs/floating-controller-DA8xyqCa.js +0 -203
- package/dist/cjs/floating-ui.dom-DW-02Mib.js +0 -1703
- package/dist/cjs/index-CNuKb6Lv.js +0 -2896
- package/dist/cjs/keyboard-manager-BXKT5TGW.js +0 -52
- package/dist/cjs/locale-oGW3SvGJ.js +0 -837
- package/dist/cjs/mds-pref-theme-variant-item.cjs.entry.js +0 -63
- package/dist/cjs/mds-pref-theme-variant.cjs.entry.js +0 -149
- package/dist/cjs/slot-CI0KpgtY.js +0 -52
- package/dist/collection/components/mds-accordion/test/mds-accordion.stories.js +0 -38
- package/dist/collection/components/mds-accordion-item/test/mds-accordion-item.stories.js +0 -35
- package/dist/collection/components/mds-accordion-timer/test/mds-accordion-timer.stories.js +0 -51
- package/dist/collection/components/mds-accordion-timer-item/test/mds-accordion-timer-item.stories.js +0 -52
- package/dist/collection/components/mds-author/test/mds-author.stories.js +0 -12
- package/dist/collection/components/mds-avatar/test/mds-avatar.stories.js +0 -71
- package/dist/collection/components/mds-avatar-stack/test/mds-avatar-stack.stories.js +0 -34
- package/dist/collection/components/mds-avatar-stack-item/test/mds-avatar-stack-item.stories.js +0 -60
- package/dist/collection/components/mds-badge/test/mds-badge.stories.js +0 -46
- package/dist/collection/components/mds-banner/test/mds-banner.stories.js +0 -106
- package/dist/collection/components/mds-benchmark-bar/test/mds-benchmark-bar.stories.js +0 -64
- package/dist/collection/components/mds-bibliography/test/mds-bibliography.stories.js +0 -104
- package/dist/collection/components/mds-breadcrumb/test/mds-breadcrumb.stories.js +0 -14
- package/dist/collection/components/mds-breadcrumb-item/test/mds-breadcrumb-item.stories.js +0 -24
- package/dist/collection/components/mds-button/test/mds-button.stories.js +0 -346
- package/dist/collection/components/mds-button-dropdown/test/mds-button-dropdown.stories.js +0 -73
- package/dist/collection/components/mds-button-group/test/mds-button-group.stories.js +0 -12
- package/dist/collection/components/mds-calendar/test/mds-calendar.stories.js +0 -24
- package/dist/collection/components/mds-card/test/mds-card.stories.js +0 -82
- package/dist/collection/components/mds-chip/test/mds-chip.stories.js +0 -120
- package/dist/collection/components/mds-details/test/mds-details.stories.js +0 -20
- package/dist/collection/components/mds-dropdown/test/mds-dropdown.stories.js +0 -256
- package/dist/collection/components/mds-emoji/test/mds-emoji.stories.js +0 -87
- package/dist/collection/components/mds-entity/test/mds-entity.stories.js +0 -101
- package/dist/collection/components/mds-file/test/mds-file.stories.js +0 -73
- package/dist/collection/components/mds-file-preview/test/mds-file-preview.stories.js +0 -154
- package/dist/collection/components/mds-filter/test/mds-filter.stories.js +0 -49
- package/dist/collection/components/mds-filter-item/test/mds-filter-item.stories.js +0 -36
- package/dist/collection/components/mds-header/test/mds-header.stories.js +0 -71
- package/dist/collection/components/mds-header-bar/test/mds-header-bar.stories.js +0 -21
- package/dist/collection/components/mds-help/test/mds-help.stories.js +0 -23
- package/dist/collection/components/mds-horizontal-scroll/test/mds-horizontal-scroll.stories.js +0 -48
- package/dist/collection/components/mds-hr/test/mds-hr.stories.js +0 -14
- package/dist/collection/components/mds-icon/test/mds-icon.stories.js +0 -76
- package/dist/collection/components/mds-img/test/mds-img-accessibility.stories.js +0 -34
- package/dist/collection/components/mds-img/test/mds-img.stories.js +0 -62
- package/dist/collection/components/mds-input/test/mds-input.stories.js +0 -302
- package/dist/collection/components/mds-input-date/test/mds-input-date.stories.js +0 -70
- package/dist/collection/components/mds-input-date-range/test/mds-input-date-range.stories.js +0 -109
- package/dist/collection/components/mds-input-field/test/mds-input-field.stories.js +0 -90
- package/dist/collection/components/mds-input-otp/test/mds-input-otp.stories.js +0 -68
- package/dist/collection/components/mds-input-range/test/mds-input-range.stories.js +0 -92
- package/dist/collection/components/mds-input-select/test/mds-input-select.stories.js +0 -97
- package/dist/collection/components/mds-input-switch/test/mds-input-switch.stories.js +0 -169
- package/dist/collection/components/mds-input-tip/test/mds-input-tip.stories.js +0 -20
- package/dist/collection/components/mds-input-tip-item/test/mds-input-tip.stories.js +0 -20
- package/dist/collection/components/mds-input-upload/test/mds-input-upload.stories.js +0 -48
- package/dist/collection/components/mds-keyboard/test/mds-keyboard.stories.js +0 -30
- package/dist/collection/components/mds-keyboard-key/test/mds-keyboard-key.stories.js +0 -20
- package/dist/collection/components/mds-kpi/test/mds-kpi.stories.js +0 -22
- package/dist/collection/components/mds-kpi-item/test/mds-kpi-item.stories.js +0 -34
- package/dist/collection/components/mds-label/test/mds-label.stories.js +0 -72
- package/dist/collection/components/mds-list/test/mds-list.stories.js +0 -8
- package/dist/collection/components/mds-list-item/test/mds-list-item.stories.js +0 -29
- package/dist/collection/components/mds-mention/test/mds-mention.stories.js +0 -31
- package/dist/collection/components/mds-modal/test/mds-modal.stories.js +0 -347
- package/dist/collection/components/mds-note/test/mds-note.stories.js +0 -31
- package/dist/collection/components/mds-notification/test/mds-notification.stories.js +0 -64
- package/dist/collection/components/mds-paginator/test/mds-paginator.stories.js +0 -28
- package/dist/collection/components/mds-policy-ai/test/mds-policy.stories.js +0 -82
- package/dist/collection/components/mds-pref/test/mds-pref.stories.js +0 -26
- package/dist/collection/components/mds-pref-animation/test/mds-pref-animation.stories.js +0 -18
- package/dist/collection/components/mds-pref-consumption/test/mds-pref-consumption.stories.js +0 -18
- package/dist/collection/components/mds-pref-contrast/test/mds-pref-contrast.stories.js +0 -18
- package/dist/collection/components/mds-pref-language/test/mds-pref-language.stories.js +0 -18
- package/dist/collection/components/mds-pref-theme/test/mds-pref-theme.stories.js +0 -24
- package/dist/collection/components/mds-pref-theme-variant/mds-pref-theme-variant.css +0 -40
- package/dist/collection/components/mds-pref-theme-variant/mds-pref-theme-variant.js +0 -288
- package/dist/collection/components/mds-pref-theme-variant/meta/dictionary.js +0 -2
- package/dist/collection/components/mds-pref-theme-variant/test/mds-pref-theme-variant.stories.js +0 -27
- package/dist/collection/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.css +0 -100
- package/dist/collection/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.js +0 -198
- package/dist/collection/components/mds-price-table/test/mds-price-table.stories.js +0 -11
- package/dist/collection/components/mds-price-table-features/test/mds-price-table-features.stories.js +0 -11
- package/dist/collection/components/mds-price-table-features-cell/test/mds-price-table-features-cell.stories.js +0 -11
- package/dist/collection/components/mds-price-table-header/test/mds-price-table-header.stories.js +0 -8
- package/dist/collection/components/mds-price-table-list/test/mds-price-table-list.stories.js +0 -12
- package/dist/collection/components/mds-progress/test/mds-progress.stories.js +0 -66
- package/dist/collection/components/mds-push-notification/test/mds-push-notification.stories.js +0 -104
- package/dist/collection/components/mds-push-notification-item/test/mds-push-notification-item.stories.js +0 -194
- package/dist/collection/components/mds-quote/test/mds-quote.stories.js +0 -33
- package/dist/collection/components/mds-radial-menu/test/mds-radial-menu.stories.js +0 -98
- package/dist/collection/components/mds-radial-menu-item/test/mds-radial-menu-item.stories.js +0 -37
- package/dist/collection/components/mds-radial-progress/test/mds-radial-progress.stories.js +0 -45
- package/dist/collection/components/mds-separator/test/mds-separator.stories.js +0 -8
- package/dist/collection/components/mds-spinner/test/mds-spinner.stories.js +0 -20
- package/dist/collection/components/mds-status-bar/test/mds-status-bar.stories.js +0 -80
- package/dist/collection/components/mds-stepper-bar/test/mds-stepper-bar.stories.js +0 -100
- package/dist/collection/components/mds-stepper-bar-item/test/mds-stepper-bar-item.stories.js +0 -70
- package/dist/collection/components/mds-tab/test/mds-tab.stories.js +0 -152
- package/dist/collection/components/mds-tab-bar/test/mds-tab-bar.stories.js +0 -8
- package/dist/collection/components/mds-tab-bar-item/test/mds-tab-bar-item.stories.js +0 -21
- package/dist/collection/components/mds-tab-item/test/mds-tab-item.stories.js +0 -54
- package/dist/collection/components/mds-table/test/mds-table.stories.js +0 -107
- package/dist/collection/components/mds-text/test/mds-text.stories.js +0 -183
- package/dist/collection/components/mds-toast/test/mds-toast.stories.js +0 -52
- package/dist/collection/components/mds-tooltip/test/mds-tooltip.stories.js +0 -155
- package/dist/collection/components/mds-tree/test/mds-tree-apk.stories.js +0 -66
- package/dist/collection/components/mds-tree/test/mds-tree.stories.js +0 -83
- package/dist/collection/components/mds-tree-item/test/mds-tree-item.stories.js +0 -71
- package/dist/collection/components/mds-url-view/test/mds-url-view.stories.js +0 -75
- package/dist/collection/components/mds-usage/test/mds-usage.stories.js +0 -33
- package/dist/collection/components/mds-video-wall/test/mds-video-wall.stories.js +0 -104
- package/dist/collection/components/mds-zero/test/mds-zero.stories.js +0 -8
- package/dist/collection/storybook/box-shadows.stories.js +0 -53
- package/dist/collection/storybook/color-scale.stories.js +0 -465
- package/dist/collection/storybook/components-preview.stories.js +0 -36
- package/dist/collection/storybook/example-page.stories.js +0 -10
- package/dist/collection/storybook/fouc-hydrated.stories.js +0 -20
- package/dist/collection/storybook/input-form.stories.js +0 -40
- package/dist/collection/storybook/same-childrend-slot-names.stories.js +0 -10
- package/dist/collection/test/file.js +0 -53
- package/dist/collection/test/mock.js +0 -19
- package/dist/components/date.js +0 -1
- package/dist/components/floating-controller.js +0 -1
- package/dist/components/floating-ui.dom.js +0 -1
- package/dist/components/icons-set.service.js +0 -1
- package/dist/components/keyboard-manager.js +0 -1
- package/dist/components/locale.it.js +0 -1
- package/dist/components/locale.js +0 -5
- package/dist/components/mds-avatar-stack-item2.js +0 -1
- package/dist/components/mds-avatar2.js +0 -1
- package/dist/components/mds-badge2.js +0 -1
- package/dist/components/mds-banner2.js +0 -1
- package/dist/components/mds-button2.js +0 -1
- package/dist/components/mds-calendar-cell2.js +0 -1
- package/dist/components/mds-calendar2.js +0 -1
- package/dist/components/mds-chip2.js +0 -1
- package/dist/components/mds-dropdown2.js +0 -1
- package/dist/components/mds-file-preview2.js +0 -8
- package/dist/components/mds-filter-item2.js +0 -1
- package/dist/components/mds-help2.js +0 -1
- package/dist/components/mds-icon2.js +0 -1
- package/dist/components/mds-img2.js +0 -1
- package/dist/components/mds-input-switch2.js +0 -1
- package/dist/components/mds-input-tip-item2.js +0 -1
- package/dist/components/mds-input-tip2.js +0 -1
- package/dist/components/mds-input2.js +0 -1
- package/dist/components/mds-modal2.js +0 -1
- package/dist/components/mds-paginator-item2.js +0 -1
- package/dist/components/mds-pref-theme-variant-item.d.ts +0 -11
- package/dist/components/mds-pref-theme-variant-item.js +0 -1
- package/dist/components/mds-pref-theme-variant.d.ts +0 -11
- package/dist/components/mds-pref-theme-variant.js +0 -1
- package/dist/components/mds-progress2.js +0 -1
- package/dist/components/mds-radial-progress2.js +0 -1
- package/dist/components/mds-separator2.js +0 -1
- package/dist/components/mds-spinner2.js +0 -1
- package/dist/components/mds-tab-item2.js +0 -1
- package/dist/components/mds-tab2.js +0 -1
- package/dist/components/mds-table-cell2.js +0 -1
- package/dist/components/mds-table-header-cell2.js +0 -1
- package/dist/components/mds-text2.js +0 -1
- package/dist/components/mds-tooltip2.js +0 -1
- package/dist/components/slot.js +0 -1
- package/dist/esm/date-C1oxPa_J.js +0 -14
- package/dist/esm/floating-controller-CP3-OFb9.js +0 -200
- package/dist/esm/floating-ui.dom-8RYXTPXs.js +0 -1695
- package/dist/esm/index-CAd5312P.js +0 -2869
- package/dist/esm/keyboard-manager-BudfaWhu.js +0 -50
- package/dist/esm/locale-a4oAcjYG.js +0 -835
- package/dist/esm/mds-pref-theme-variant-item.entry.js +0 -61
- package/dist/esm/mds-pref-theme-variant.entry.js +0 -147
- package/dist/esm/slot-ttrRC6OE.js +0 -48
- package/dist/esm-es5/date-C1oxPa_J.js +0 -1
- package/dist/esm-es5/floating-controller-CP3-OFb9.js +0 -1
- package/dist/esm-es5/floating-ui.dom-8RYXTPXs.js +0 -1
- package/dist/esm-es5/index-CAd5312P.js +0 -1
- package/dist/esm-es5/keyboard-manager-BudfaWhu.js +0 -1
- package/dist/esm-es5/locale-a4oAcjYG.js +0 -5
- package/dist/esm-es5/mds-pref-theme-variant-item.entry.js +0 -1
- package/dist/esm-es5/mds-pref-theme-variant.entry.js +0 -1
- package/dist/esm-es5/slot-ttrRC6OE.js +0 -1
- package/dist/magma-components/p-00313884.entry.js +0 -1
- package/dist/magma-components/p-01dc43dd.entry.js +0 -1
- package/dist/magma-components/p-01dca5e8.entry.js +0 -1
- package/dist/magma-components/p-030d45e3.entry.js +0 -1
- package/dist/magma-components/p-0328a23e.system.entry.js +0 -1
- package/dist/magma-components/p-08c6869a.entry.js +0 -1
- package/dist/magma-components/p-09de9fc5.system.entry.js +0 -1
- package/dist/magma-components/p-0acb46c8.entry.js +0 -1
- package/dist/magma-components/p-0b10ef9f.system.entry.js +0 -1
- package/dist/magma-components/p-0b11f03b.entry.js +0 -1
- package/dist/magma-components/p-0be56202.system.entry.js +0 -1
- package/dist/magma-components/p-0de58147.entry.js +0 -1
- package/dist/magma-components/p-0e481e5c.system.entry.js +0 -1
- package/dist/magma-components/p-0f104850.system.entry.js +0 -1
- package/dist/magma-components/p-1073bf63.entry.js +0 -1
- package/dist/magma-components/p-11490a89.entry.js +0 -1
- package/dist/magma-components/p-137b0bbe.system.entry.js +0 -1
- package/dist/magma-components/p-14a98729.entry.js +0 -1
- package/dist/magma-components/p-14d858f8.system.entry.js +0 -1
- package/dist/magma-components/p-14e918de.system.entry.js +0 -1
- package/dist/magma-components/p-154ef5b9.entry.js +0 -1
- package/dist/magma-components/p-158af6e3.entry.js +0 -1
- package/dist/magma-components/p-17427d8a.system.entry.js +0 -1
- package/dist/magma-components/p-1805592d.entry.js +0 -1
- package/dist/magma-components/p-18563022.entry.js +0 -1
- package/dist/magma-components/p-19f99447.entry.js +0 -1
- package/dist/magma-components/p-1a56d383.system.entry.js +0 -1
- package/dist/magma-components/p-1bb7895a.system.entry.js +0 -1
- package/dist/magma-components/p-1ce791c1.system.entry.js +0 -1
- package/dist/magma-components/p-1da904c3.system.entry.js +0 -1
- package/dist/magma-components/p-20961bf1.entry.js +0 -1
- package/dist/magma-components/p-24a9ed63.system.entry.js +0 -1
- package/dist/magma-components/p-26b131cf.entry.js +0 -1
- package/dist/magma-components/p-28ebb626.entry.js +0 -1
- package/dist/magma-components/p-292f4566.system.entry.js +0 -1
- package/dist/magma-components/p-2a1d3680.system.entry.js +0 -1
- package/dist/magma-components/p-2ab75334.system.entry.js +0 -1
- package/dist/magma-components/p-2ccc796b.system.entry.js +0 -1
- package/dist/magma-components/p-2d9d0887.system.entry.js +0 -1
- package/dist/magma-components/p-2df01d02.system.entry.js +0 -1
- package/dist/magma-components/p-3145c7eb.entry.js +0 -1
- package/dist/magma-components/p-34018dfe.entry.js +0 -1
- package/dist/magma-components/p-35a9f1b4.system.entry.js +0 -18
- package/dist/magma-components/p-35ec8bbd.entry.js +0 -1
- package/dist/magma-components/p-370f9463.system.entry.js +0 -1
- package/dist/magma-components/p-387948c4.system.entry.js +0 -1
- package/dist/magma-components/p-3aeecbba.system.entry.js +0 -1
- package/dist/magma-components/p-3af9132f.system.entry.js +0 -1
- package/dist/magma-components/p-3bfd085f.system.entry.js +0 -1
- package/dist/magma-components/p-3c246a39.entry.js +0 -1
- package/dist/magma-components/p-3c2bf79b.entry.js +0 -1
- package/dist/magma-components/p-3ce52f3c.entry.js +0 -1
- package/dist/magma-components/p-3e5993b4.entry.js +0 -1
- package/dist/magma-components/p-3ef80cd4.system.entry.js +0 -1
- package/dist/magma-components/p-3fc3b8b4.entry.js +0 -1
- package/dist/magma-components/p-423955d1.system.entry.js +0 -1
- package/dist/magma-components/p-42f336df.system.entry.js +0 -1
- package/dist/magma-components/p-45a85712.system.entry.js +0 -1
- package/dist/magma-components/p-460cd731.system.entry.js +0 -1
- package/dist/magma-components/p-473f6954.entry.js +0 -1
- package/dist/magma-components/p-47fa0ecf.entry.js +0 -1
- package/dist/magma-components/p-4b07fe37.entry.js +0 -1
- package/dist/magma-components/p-4b884441.entry.js +0 -1
- package/dist/magma-components/p-4ba583c9.entry.js +0 -1
- package/dist/magma-components/p-4c08fe3e.entry.js +0 -1
- package/dist/magma-components/p-4f490917.entry.js +0 -1
- package/dist/magma-components/p-4f98fdba.system.entry.js +0 -1
- package/dist/magma-components/p-50553954.system.entry.js +0 -1
- package/dist/magma-components/p-523d4716.entry.js +0 -1
- package/dist/magma-components/p-52ccfafc.system.entry.js +0 -1
- package/dist/magma-components/p-52e2f903.entry.js +0 -1
- package/dist/magma-components/p-53195d95.system.entry.js +0 -1
- package/dist/magma-components/p-5488f51f.system.entry.js +0 -1
- package/dist/magma-components/p-553927f9.system.entry.js +0 -1
- package/dist/magma-components/p-55b4bbba.entry.js +0 -1
- package/dist/magma-components/p-583f5ffa.entry.js +0 -1
- package/dist/magma-components/p-59d65cff.entry.js +0 -1
- package/dist/magma-components/p-59f53701.system.entry.js +0 -1
- package/dist/magma-components/p-5b881091.entry.js +0 -1
- package/dist/magma-components/p-5c44d208.entry.js +0 -1
- package/dist/magma-components/p-5fdcd8e2.system.entry.js +0 -1
- package/dist/magma-components/p-5fe7b875.system.entry.js +0 -1
- package/dist/magma-components/p-614e7f83.system.entry.js +0 -1
- package/dist/magma-components/p-62cf9003.system.entry.js +0 -1
- package/dist/magma-components/p-63898681.entry.js +0 -1
- package/dist/magma-components/p-663a510e.entry.js +0 -1
- package/dist/magma-components/p-68f57bb1.entry.js +0 -1
- package/dist/magma-components/p-6ae4df92.system.entry.js +0 -1
- package/dist/magma-components/p-6d268a59.entry.js +0 -1
- package/dist/magma-components/p-7306b02e.system.entry.js +0 -17
- package/dist/magma-components/p-75011fed.system.entry.js +0 -9
- package/dist/magma-components/p-7595afcf.entry.js +0 -18
- package/dist/magma-components/p-77e9bd68.entry.js +0 -1
- package/dist/magma-components/p-7d836722.entry.js +0 -1
- package/dist/magma-components/p-7e037cf3.entry.js +0 -8
- package/dist/magma-components/p-8106dbfd.system.entry.js +0 -1
- package/dist/magma-components/p-82deeaa0.system.entry.js +0 -1
- package/dist/magma-components/p-83589b83.entry.js +0 -1
- package/dist/magma-components/p-83721814.entry.js +0 -18
- package/dist/magma-components/p-83de0e53.system.entry.js +0 -1
- package/dist/magma-components/p-849760e7.system.entry.js +0 -1
- package/dist/magma-components/p-85ac6e54.system.entry.js +0 -1
- package/dist/magma-components/p-87f8a213.entry.js +0 -1
- package/dist/magma-components/p-89bf698e.system.entry.js +0 -1
- package/dist/magma-components/p-89f96753.system.entry.js +0 -1
- package/dist/magma-components/p-8RYXTPXs.js +0 -1
- package/dist/magma-components/p-8b3065b4.entry.js +0 -1
- package/dist/magma-components/p-8bec8ad6.system.entry.js +0 -1
- package/dist/magma-components/p-8d76853c.system.entry.js +0 -1
- package/dist/magma-components/p-8f1ce3f1.system.entry.js +0 -1
- package/dist/magma-components/p-9021fa60.entry.js +0 -1
- package/dist/magma-components/p-90b72c1c.system.entry.js +0 -1
- package/dist/magma-components/p-90d5b6df.system.entry.js +0 -1
- package/dist/magma-components/p-913372ff.entry.js +0 -1
- package/dist/magma-components/p-94093140.system.entry.js +0 -1
- package/dist/magma-components/p-944d9b27.system.entry.js +0 -1
- package/dist/magma-components/p-94713401.entry.js +0 -1
- package/dist/magma-components/p-956b5ae6.entry.js +0 -1
- package/dist/magma-components/p-95eae04e.entry.js +0 -1
- package/dist/magma-components/p-961a2531.entry.js +0 -1
- package/dist/magma-components/p-9658cb0c.entry.js +0 -1
- package/dist/magma-components/p-96d1a168.entry.js +0 -1
- package/dist/magma-components/p-96f6a646.entry.js +0 -1
- package/dist/magma-components/p-98435b90.system.entry.js +0 -1
- package/dist/magma-components/p-988b0c7c.entry.js +0 -1
- package/dist/magma-components/p-98a05642.system.entry.js +0 -1
- package/dist/magma-components/p-99f7a1b6.system.entry.js +0 -1
- package/dist/magma-components/p-9a1940c1.system.entry.js +0 -1
- package/dist/magma-components/p-9a89bc78.system.entry.js +0 -1
- package/dist/magma-components/p-9ad586a7.system.entry.js +0 -1
- package/dist/magma-components/p-9b52918e.system.entry.js +0 -1
- package/dist/magma-components/p-9yaIBCJC.system.js +0 -1
- package/dist/magma-components/p-BMAK4u5Y.system.js +0 -1
- package/dist/magma-components/p-Bh89IjzU.system.js +0 -1
- package/dist/magma-components/p-BudfaWhu.js +0 -1
- package/dist/magma-components/p-C1oxPa_J.js +0 -1
- package/dist/magma-components/p-CAd5312P.js +0 -2
- package/dist/magma-components/p-CJPnuGyH.system.js +0 -1
- package/dist/magma-components/p-CxU_BeBE.js +0 -1
- package/dist/magma-components/p-DI5DWqw4.system.js +0 -2
- package/dist/magma-components/p-DTZViJWJ.system.js +0 -1
- package/dist/magma-components/p-DcKeJ0td.system.js +0 -6
- package/dist/magma-components/p-a1af65e8.entry.js +0 -1
- package/dist/magma-components/p-a4oAcjYG.js +0 -5
- package/dist/magma-components/p-a5473293.system.entry.js +0 -1
- package/dist/magma-components/p-a6caafcb.system.entry.js +0 -1
- package/dist/magma-components/p-a7bd4585.entry.js +0 -1
- package/dist/magma-components/p-a88fba47.system.entry.js +0 -1
- package/dist/magma-components/p-a959ade4.entry.js +0 -1
- package/dist/magma-components/p-aa7d8972.entry.js +0 -1
- package/dist/magma-components/p-aa98652f.entry.js +0 -1
- package/dist/magma-components/p-aaeb0ee3.system.entry.js +0 -1
- package/dist/magma-components/p-ab89bf5b.system.entry.js +0 -1
- package/dist/magma-components/p-abc720e3.entry.js +0 -1
- package/dist/magma-components/p-abe87810.entry.js +0 -1
- package/dist/magma-components/p-ac80aca8.entry.js +0 -1
- package/dist/magma-components/p-acb07134.system.entry.js +0 -1
- package/dist/magma-components/p-acd4f96a.entry.js +0 -1
- package/dist/magma-components/p-af49bca2.entry.js +0 -1
- package/dist/magma-components/p-af670eaf.entry.js +0 -1
- package/dist/magma-components/p-b14a94e0.system.entry.js +0 -1
- package/dist/magma-components/p-b2bc194a.entry.js +0 -1
- package/dist/magma-components/p-b2e76c18.system.entry.js +0 -1
- package/dist/magma-components/p-b37dff80.system.entry.js +0 -1
- package/dist/magma-components/p-b3e3226e.entry.js +0 -1
- package/dist/magma-components/p-b40f1153.entry.js +0 -1
- package/dist/magma-components/p-b4709a95.entry.js +0 -1
- package/dist/magma-components/p-b5db6527.system.entry.js +0 -1
- package/dist/magma-components/p-b764defa.entry.js +0 -1
- package/dist/magma-components/p-b9b2501e.system.entry.js +0 -1
- package/dist/magma-components/p-b9b5bcdd.system.entry.js +0 -1
- package/dist/magma-components/p-ba2a0bc1.system.entry.js +0 -1
- package/dist/magma-components/p-bb4380cd.entry.js +0 -1
- package/dist/magma-components/p-bce3a8b0.system.entry.js +0 -1
- package/dist/magma-components/p-bd2998e6.system.entry.js +0 -1
- package/dist/magma-components/p-bd3dbc2d.entry.js +0 -1
- package/dist/magma-components/p-bed57abb.entry.js +0 -1
- package/dist/magma-components/p-bfed0b7a.entry.js +0 -1
- package/dist/magma-components/p-c6177cb9.system.entry.js +0 -1
- package/dist/magma-components/p-c638556c.entry.js +0 -1
- package/dist/magma-components/p-c6fa4a21.entry.js +0 -1
- package/dist/magma-components/p-c8e99385.system.entry.js +0 -1
- package/dist/magma-components/p-c9231987.entry.js +0 -1
- package/dist/magma-components/p-c9c51ba6.system.entry.js +0 -1
- package/dist/magma-components/p-cc53b30c.entry.js +0 -1
- package/dist/magma-components/p-ccc0521c.entry.js +0 -1
- package/dist/magma-components/p-cd71630e.system.entry.js +0 -1
- package/dist/magma-components/p-cd879243.system.entry.js +0 -1
- package/dist/magma-components/p-ce064d47.entry.js +0 -1
- package/dist/magma-components/p-d1eea8ca.system.entry.js +0 -1
- package/dist/magma-components/p-d2537229.system.entry.js +0 -1
- package/dist/magma-components/p-d2617a1a.entry.js +0 -1
- package/dist/magma-components/p-d41c4637.system.entry.js +0 -1
- package/dist/magma-components/p-d88f44aa.entry.js +0 -1
- package/dist/magma-components/p-dae9ae8e.system.entry.js +0 -1
- package/dist/magma-components/p-dd860de4.entry.js +0 -1
- package/dist/magma-components/p-df87e2f5.system.entry.js +0 -1
- package/dist/magma-components/p-dfe082be.system.entry.js +0 -1
- package/dist/magma-components/p-e00ba5a0.entry.js +0 -1
- package/dist/magma-components/p-e0d12fa2.system.entry.js +0 -1
- package/dist/magma-components/p-e2cd11c3.entry.js +0 -1
- package/dist/magma-components/p-e5fb3081.system.entry.js +0 -1
- package/dist/magma-components/p-e67a6452.entry.js +0 -1
- package/dist/magma-components/p-e6d8c9e3.system.entry.js +0 -1
- package/dist/magma-components/p-e71aecc1.entry.js +0 -1
- package/dist/magma-components/p-eac692ea.system.entry.js +0 -1
- package/dist/magma-components/p-ecf2e98d.system.entry.js +0 -1
- package/dist/magma-components/p-ed6d1453.system.entry.js +0 -1
- package/dist/magma-components/p-f289eb5a.entry.js +0 -1
- package/dist/magma-components/p-f3604c99.entry.js +0 -1
- package/dist/magma-components/p-f3dbca34.entry.js +0 -1
- package/dist/magma-components/p-f4b4bdf2.system.entry.js +0 -1
- package/dist/magma-components/p-f56d16f7.entry.js +0 -1
- package/dist/magma-components/p-f8014852.system.entry.js +0 -1
- package/dist/magma-components/p-f851100d.entry.js +0 -1
- package/dist/magma-components/p-f8d5adce.entry.js +0 -1
- package/dist/magma-components/p-fa427f75.system.entry.js +0 -1
- package/dist/magma-components/p-fa6a05b5.entry.js +0 -1
- package/dist/magma-components/p-fb8b0104.entry.js +0 -1
- package/dist/magma-components/p-fcf59139.system.entry.js +0 -1
- package/dist/magma-components/p-fe3d5720.system.entry.js +0 -1
- package/dist/magma-components/p-fe85ad8e.system.entry.js +0 -1
- package/dist/magma-components/p-ffae137a.entry.js +0 -1
- package/dist/magma-components/p-oCzRm29V.system.js +0 -1
- package/dist/magma-components/p-ttrRC6OE.js +0 -1
- package/dist/magma-components/p-vYOT2M2B.system.js +0 -1
- package/dist/types/components/mds-accordion/test/mds-accordion.stories.d.ts +0 -39
- package/dist/types/components/mds-accordion-item/test/mds-accordion-item.stories.d.ts +0 -41
- package/dist/types/components/mds-accordion-timer/test/mds-accordion-timer.stories.d.ts +0 -45
- package/dist/types/components/mds-accordion-timer-item/test/mds-accordion-timer-item.stories.d.ts +0 -67
- package/dist/types/components/mds-author/test/mds-author.stories.d.ts +0 -10
- package/dist/types/components/mds-avatar/test/mds-avatar.stories.d.ts +0 -82
- package/dist/types/components/mds-avatar-stack/test/mds-avatar-stack.stories.d.ts +0 -38
- package/dist/types/components/mds-avatar-stack-item/test/mds-avatar-stack-item.stories.d.ts +0 -71
- package/dist/types/components/mds-badge/test/mds-badge.stories.d.ts +0 -56
- package/dist/types/components/mds-banner/test/mds-banner.stories.d.ts +0 -115
- package/dist/types/components/mds-benchmark-bar/test/mds-benchmark-bar.stories.d.ts +0 -85
- package/dist/types/components/mds-bibliography/test/mds-bibliography.stories.d.ts +0 -129
- package/dist/types/components/mds-breadcrumb/test/mds-breadcrumb.stories.d.ts +0 -16
- package/dist/types/components/mds-breadcrumb-item/test/mds-breadcrumb-item.stories.d.ts +0 -26
- package/dist/types/components/mds-button/test/mds-button.stories.d.ts +0 -253
- package/dist/types/components/mds-button-dropdown/test/mds-button-dropdown.stories.d.ts +0 -104
- package/dist/types/components/mds-button-group/test/mds-button-group.stories.d.ts +0 -10
- package/dist/types/components/mds-calendar/test/mds-calendar.stories.d.ts +0 -23
- package/dist/types/components/mds-card/test/mds-card.stories.d.ts +0 -66
- package/dist/types/components/mds-chip/test/mds-chip.stories.d.ts +0 -121
- package/dist/types/components/mds-details/test/mds-details.stories.d.ts +0 -21
- package/dist/types/components/mds-dropdown/test/mds-dropdown.stories.d.ts +0 -275
- package/dist/types/components/mds-emoji/test/mds-emoji.stories.d.ts +0 -19
- package/dist/types/components/mds-entity/test/mds-entity.stories.d.ts +0 -84
- package/dist/types/components/mds-file/test/mds-file.stories.d.ts +0 -145
- package/dist/types/components/mds-file-preview/test/mds-file-preview.stories.d.ts +0 -157
- package/dist/types/components/mds-filter/test/mds-filter.stories.d.ts +0 -56
- package/dist/types/components/mds-filter-item/test/mds-filter-item.stories.d.ts +0 -43
- package/dist/types/components/mds-header/test/mds-header.stories.d.ts +0 -68
- package/dist/types/components/mds-header-bar/test/mds-header-bar.stories.d.ts +0 -23
- package/dist/types/components/mds-help/test/mds-help.stories.d.ts +0 -25
- package/dist/types/components/mds-horizontal-scroll/test/mds-horizontal-scroll.stories.d.ts +0 -57
- package/dist/types/components/mds-hr/test/mds-hr.stories.d.ts +0 -13
- package/dist/types/components/mds-icon/test/mds-icon.stories.d.ts +0 -55
- package/dist/types/components/mds-img/test/mds-img-accessibility.stories.d.ts +0 -93
- package/dist/types/components/mds-img/test/mds-img.stories.d.ts +0 -122
- package/dist/types/components/mds-input/test/mds-input.stories.d.ts +0 -332
- package/dist/types/components/mds-input-date/test/mds-input-date.stories.d.ts +0 -73
- package/dist/types/components/mds-input-date-range/test/mds-input-date-range.stories.d.ts +0 -70
- package/dist/types/components/mds-input-field/test/mds-input-field.stories.d.ts +0 -86
- package/dist/types/components/mds-input-otp/test/mds-input-otp.stories.d.ts +0 -36
- package/dist/types/components/mds-input-range/test/mds-input-range.stories.d.ts +0 -75
- package/dist/types/components/mds-input-select/test/mds-input-select.stories.d.ts +0 -105
- package/dist/types/components/mds-input-switch/test/mds-input-switch.stories.d.ts +0 -195
- package/dist/types/components/mds-input-tip/test/mds-input-tip.stories.d.ts +0 -22
- package/dist/types/components/mds-input-tip-item/test/mds-input-tip.stories.d.ts +0 -22
- package/dist/types/components/mds-input-upload/test/mds-input-upload.stories.d.ts +0 -55
- package/dist/types/components/mds-keyboard/test/mds-keyboard.stories.d.ts +0 -27
- package/dist/types/components/mds-keyboard-key/test/mds-keyboard-key.stories.d.ts +0 -22
- package/dist/types/components/mds-kpi/test/mds-kpi.stories.d.ts +0 -26
- package/dist/types/components/mds-kpi-item/test/mds-kpi-item.stories.d.ts +0 -42
- package/dist/types/components/mds-label/test/mds-label.stories.d.ts +0 -86
- package/dist/types/components/mds-list/test/mds-list.stories.d.ts +0 -7
- package/dist/types/components/mds-list-item/test/mds-list-item.stories.d.ts +0 -38
- package/dist/types/components/mds-mention/test/mds-mention.stories.d.ts +0 -38
- package/dist/types/components/mds-modal/test/mds-modal.stories.d.ts +0 -142
- package/dist/types/components/mds-note/test/mds-note.stories.d.ts +0 -34
- package/dist/types/components/mds-notification/test/mds-notification.stories.d.ts +0 -68
- package/dist/types/components/mds-paginator/test/mds-paginator.stories.d.ts +0 -33
- package/dist/types/components/mds-policy-ai/test/mds-policy.stories.d.ts +0 -83
- package/dist/types/components/mds-pref/test/mds-pref.stories.d.ts +0 -29
- package/dist/types/components/mds-pref-animation/test/mds-pref-animation.stories.d.ts +0 -20
- package/dist/types/components/mds-pref-consumption/test/mds-pref-consumption.stories.d.ts +0 -20
- package/dist/types/components/mds-pref-contrast/test/mds-pref-contrast.stories.d.ts +0 -20
- package/dist/types/components/mds-pref-language/test/mds-pref-language.stories.d.ts +0 -20
- package/dist/types/components/mds-pref-theme/test/mds-pref-theme.stories.d.ts +0 -30
- package/dist/types/components/mds-pref-theme-variant/mds-pref-theme-variant.d.ts +0 -62
- package/dist/types/components/mds-pref-theme-variant/meta/dictionary.d.ts +0 -2
- package/dist/types/components/mds-pref-theme-variant/test/mds-pref-theme-variant.stories.d.ts +0 -30
- package/dist/types/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.d.ts +0 -35
- package/dist/types/components/mds-price-table/test/mds-price-table.stories.d.ts +0 -10
- package/dist/types/components/mds-price-table-features/test/mds-price-table-features.stories.d.ts +0 -10
- package/dist/types/components/mds-price-table-features-cell/test/mds-price-table-features-cell.stories.d.ts +0 -10
- package/dist/types/components/mds-price-table-header/test/mds-price-table-header.stories.d.ts +0 -7
- package/dist/types/components/mds-price-table-list/test/mds-price-table-list.stories.d.ts +0 -10
- package/dist/types/components/mds-progress/test/mds-progress.stories.d.ts +0 -89
- package/dist/types/components/mds-push-notification/test/mds-push-notification.stories.d.ts +0 -28
- package/dist/types/components/mds-push-notification-item/test/mds-push-notification-item.stories.d.ts +0 -210
- package/dist/types/components/mds-quote/test/mds-quote.stories.d.ts +0 -34
- package/dist/types/components/mds-radial-menu/test/mds-radial-menu.stories.d.ts +0 -123
- package/dist/types/components/mds-radial-menu-item/test/mds-radial-menu-item.stories.d.ts +0 -48
- package/dist/types/components/mds-radial-progress/test/mds-radial-progress.stories.d.ts +0 -68
- package/dist/types/components/mds-separator/test/mds-separator.stories.d.ts +0 -7
- package/dist/types/components/mds-spinner/test/mds-spinner.stories.d.ts +0 -21
- package/dist/types/components/mds-status-bar/test/mds-status-bar.stories.d.ts +0 -34
- package/dist/types/components/mds-stepper-bar/test/mds-stepper-bar.stories.d.ts +0 -45
- package/dist/types/components/mds-stepper-bar-item/test/mds-stepper-bar-item.stories.d.ts +0 -102
- package/dist/types/components/mds-tab/test/mds-tab.stories.d.ts +0 -111
- package/dist/types/components/mds-tab-bar/test/mds-tab-bar.stories.d.ts +0 -7
- package/dist/types/components/mds-tab-bar-item/test/mds-tab-bar-item.stories.d.ts +0 -25
- package/dist/types/components/mds-tab-item/test/mds-tab-item.stories.d.ts +0 -69
- package/dist/types/components/mds-table/test/mds-table.stories.d.ts +0 -63
- package/dist/types/components/mds-text/test/mds-text.stories.d.ts +0 -181
- package/dist/types/components/mds-toast/test/mds-toast.stories.d.ts +0 -59
- package/dist/types/components/mds-tooltip/test/mds-tooltip.stories.d.ts +0 -192
- package/dist/types/components/mds-tree/test/mds-tree-apk.stories.d.ts +0 -16
- package/dist/types/components/mds-tree/test/mds-tree.stories.d.ts +0 -86
- package/dist/types/components/mds-tree-item/test/mds-tree-item.stories.d.ts +0 -48
- package/dist/types/components/mds-url-view/test/mds-url-view.stories.d.ts +0 -63
- package/dist/types/components/mds-usage/test/mds-usage.stories.d.ts +0 -37
- package/dist/types/components/mds-video-wall/test/mds-video-wall.stories.d.ts +0 -119
- package/dist/types/components/mds-zero/test/mds-zero.stories.d.ts +0 -7
- package/dist/types/event-detail/theme-variant.d.ts +0 -5
- package/dist/types/storybook/box-shadows.stories.d.ts +0 -7
- package/dist/types/storybook/color-scale.stories.d.ts +0 -7
- package/dist/types/storybook/components-preview.stories.d.ts +0 -33
- package/dist/types/storybook/example-page.stories.d.ts +0 -7
- package/dist/types/storybook/fouc-hydrated.stories.d.ts +0 -7
- package/dist/types/storybook/input-form.stories.d.ts +0 -7
- package/dist/types/storybook/same-childrend-slot-names.stories.d.ts +0 -7
- package/dist/types/test/file.d.ts +0 -35
- package/dist/types/test/mock.d.ts +0 -2
- /package/dist/collection/{event-detail/theme-variant.js → components/mds-mention/meta/interface.js} +0 -0
- /package/dist/components/{broken-image.js → p-0FAG3rkw.js} +0 -0
- /package/dist/components/{horizontal-rule.js → p-BE8xuIpS.js} +0 -0
- /package/dist/components/{check-circle.js → p-BFhO-KUe.js} +0 -0
- /package/dist/components/{cancel.js → p-BJ8rpzfj.js} +0 -0
- /package/dist/components/{calendar-today.js → p-BVQMG7KJ.js} +0 -0
- /package/dist/components/{arrow-forward.js → p-Bd0uuNDE.js} +0 -0
- /package/dist/components/{keys.js → p-C4ckbXOl.js} +0 -0
- /package/dist/components/{panorama.js → p-CGFwoK_U.js} +0 -0
- /package/dist/components/{aria.js → p-CSCy6TMW.js} +0 -0
- /package/dist/components/{keyboard-arrow-up.js → p-Ccz0jCNB.js} +0 -0
- /package/dist/components/{clsx.js → p-ChV9xqsO.js} +0 -0
- /package/dist/components/{done.js → p-CvUz9jjh.js} +0 -0
- /package/dist/components/{remove.js → p-D17B058a.js} +0 -0
- /package/dist/components/{unit.js → p-D8eZRaSQ.js} +0 -0
- /package/dist/components/{keyboard-arrow-right.js → p-DFyAGAnn.js} +0 -0
- /package/dist/components/{keyboard-arrow-down.js → p-DiWN48aq.js} +0 -0
- /package/dist/components/{browser.js → p-Dje8Mggf.js} +0 -0
- /package/dist/components/{arrow-back.js → p-DnEUG7st.js} +0 -0
- /package/dist/components/{_commonjsHelpers.js → p-E-ZsRS8r.js} +0 -0
- /package/dist/components/{close.js → p-J-ikDhyq.js} +0 -0
- /package/dist/components/{settings.js → p-XQgkfNpn.js} +0 -0
- /package/dist/components/{circle.js → p-lZldSMeV.js} +0 -0
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
3
|
-
/* stencil non utilizza jsdom come enviroment per i test che vengono eseguiti su node.js,
|
|
4
|
-
* per la creazione di File si utilizza il seguente workaround
|
|
5
|
-
* https://github.com/ionic-team/stencil/issues/3539
|
|
6
|
-
*/
|
|
7
|
-
class MockFileImpl {
|
|
8
|
-
constructor(_globalObject, [_fileBits, fileName, options], _privateData) {
|
|
9
|
-
var _a;
|
|
10
|
-
this.name = fileName;
|
|
11
|
-
this.lastModified = (_a = options.lastModified) !== null && _a !== void 0 ? _a : Date.now();
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
class MockDataTransfer {
|
|
15
|
-
constructor() {
|
|
16
|
-
this.data = { dragX: '', dragY: '' };
|
|
17
|
-
this.dropEffect = 'none';
|
|
18
|
-
this.effectAllowed = 'all';
|
|
19
|
-
this.img = '';
|
|
20
|
-
this.items = [];
|
|
21
|
-
this.types = [];
|
|
22
|
-
this.xOffset = 0;
|
|
23
|
-
this.yOffset = 0;
|
|
24
|
-
}
|
|
25
|
-
clearData() {
|
|
26
|
-
this.data = { dragX: '', dragY: '' };
|
|
27
|
-
}
|
|
28
|
-
getData(format) {
|
|
29
|
-
return this.data[format];
|
|
30
|
-
}
|
|
31
|
-
setData(format, data) {
|
|
32
|
-
this.data[format] = data;
|
|
33
|
-
}
|
|
34
|
-
setDragImage(img, xOffset, yOffset) {
|
|
35
|
-
this.img = img;
|
|
36
|
-
this.xOffset = xOffset;
|
|
37
|
-
this.yOffset = yOffset;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
function mockFile(name, size) {
|
|
41
|
-
const file = new MockFileImpl([''], name);
|
|
42
|
-
Object.defineProperty(file, 'size', { value: size });
|
|
43
|
-
return file;
|
|
44
|
-
}
|
|
45
|
-
function mockFileList(files) {
|
|
46
|
-
const fileList = Object.create({});
|
|
47
|
-
for (let i = 0; i < files.length; i++) {
|
|
48
|
-
fileList[i] = files[i];
|
|
49
|
-
}
|
|
50
|
-
Object.defineProperty(fileList, 'length', { value: files.length });
|
|
51
|
-
return fileList;
|
|
52
|
-
}
|
|
53
|
-
export { MockFileImpl as FileImpl, MockDataTransfer, mockFile, mockFileList };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// cant mock directly request on E2EPage
|
|
2
|
-
// https://github.com/ionic-team/stencil/issues/2434#issuecomment-714776773
|
|
3
|
-
export function mockIconResponse(page) {
|
|
4
|
-
page.on('response', () => {
|
|
5
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
6
|
-
page.removeAllListeners('request');
|
|
7
|
-
page.on('request', (request) => {
|
|
8
|
-
if (!request.url().endsWith('js')) {
|
|
9
|
-
request.respond({
|
|
10
|
-
status: 202,
|
|
11
|
-
body: '',
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
else {
|
|
15
|
-
request.continue();
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
});
|
|
19
|
-
}
|
package/dist/components/date.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const d=d=>(d=>new RegExp("^\\d{4}(-\\d{2})?(-\\d{2})?(T\\d{2}(:\\d{2})?(:\\d{2})?(\\.\\d{3})?)?([+-]\\d{2}:\\d{2}|Z)?$").test(d))(d)?d:new Date(d).toISOString();export{d as s}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as t,o as s,f as i,s as r,b as e,c as a,d as o}from"./floating-ui.dom.js";import{c as h}from"./unit.js";import{s as n}from"./aria.js";class c{constructor(o,h){this.arrowInset=(t,s)=>{const{arrow:i}=t,r={bottom:"",left:"",right:"",top:""};if(void 0===i)return{};switch(s){case"bottom":r.left=null!==i.x?`${i.x}px`:"",r.top="100%";break;case"left":r.right="100%",r.top=null!==i.y?`${i.y}px`:"";break;case"right":r.left="100%",r.top=null!==i.y?`${i.y}px`:"";break;case"top":r.left=null!==i.x?`${i.x}px`:"",r.top=""}return r},this.arrowTransform=t=>{let s=this._host.arrow&&this._host.visible?"scale(1)":"scale(0)";switch(t){case"bottom":s=`rotate(180deg) ${s} translate(0, -100%)`;break;case"left":s=`rotate(-90deg) ${s} translate(50%, -50%)`;break;case"right":s=`rotate(90deg) ${s} translate(-50%, -50%)`;break;case"top":s=`rotate(0deg) ${s} translate(0, 0)`}return{transform:s}},this.arrowTransformOrigin=t=>{switch(t){case"bottom":default:return{transformOrigin:"center top"};case"left":return{transformOrigin:"right center"};case"right":return{transformOrigin:"left center"};case"top":return{transformOrigin:"center bottom"}}},this.convertToTransformOrigin=t=>({top:"center bottom",right:"left center",bottom:"center top",left:"right center","bottom-end":"top right","bottom-start":"top left","left-end":"right bottom","left-start":"right top","right-end":"left bottom","right-start":"left top","top-end":"bottom right","top-start":"bottom left"}[t]),this.calculatePosition=()=>{if(!this._caller)return;const o=new Array,h={};this._host.shiftPadding&&(h.padding=this._host.shiftPadding),this._host.autoPlacement&&o.push(t()),this._host.offset&&o.push(s(this._host.offset)),!this._host.autoPlacement&&this._host.flip&&o.push(i(h)),this._host.shift&&o.push(r(h)),this.arrowEl&&this._host.arrow&&o.push(e({element:this.arrowEl,padding:this._host.arrowPadding})),a(this._caller,this._host,{middleware:o,placement:this._host.placement,strategy:this._host.strategy}).then((({x:t,y:s,placement:i,middlewareData:r})=>{Object.assign(this._host.style,{left:`${t}px`,top:`${s}px`,transformOrigin:this.convertToTransformOrigin(i),position:this._host.strategy});const e={},a={top:"bottom",right:"left",bottom:"top",left:"right"}[i.split("-")[0]];a&&this.arrowEl&&(Object.assign(e,this.arrowTransform(a)),Object.assign(e,this.arrowInset(r,a)),Object.assign(e,this.arrowTransformOrigin(a)),Object.assign(this.arrowEl.style,e))}))},this._host=o,this.arrowEl=h}updateCaller(t){var s,i,r;const e=null!==(r=null===(i=null===(s=this._host.parentElement)||void 0===s?void 0:s.shadowRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==r?r:this._host.getRootNode().querySelector(t);if(!e)throw Error(`Target not found: ${t}`);return this._caller=e,n(this._caller,"aria-haspopup","true"),n(this._caller,"aria-controls",t),n(this._host,"role","menu"),n(this._host,"aria-labelledby",t),e}updatePosition(){this._host.visible&&(this.dismiss(),this.cleanupAutoUpdate=o(this._caller,this._host,this.calculatePosition))}dismiss(){this.cleanupAutoUpdate&&this.cleanupAutoUpdate()}}class l{constructor(t){this.defaultBackdropId="magma-backdrop",this.backdropBackgroundVisible="rgba(var(--magma-backdrop-color, 0 0 0) / var(--magma-backdrop-opacity, 0.1))",this.backdropBackgroundHidden="rgba(var(--magma-backdrop-color, 0 0 0) / 0)",this.backdropId=null!=t?t:this.defaultBackdropId,this.cssBackdropZIndex=`var(--${this.backdropId}-z-index, 4000)`,this.cssBackdropDuration=`var(--${this.backdropId}-animation-duration, 300ms)`}attachBackdrop(){this.backdropEl||(this.backdropEl=document.createElement("div"),this.backdropEl.className=this.backdropId,this.backdropEl.style.inset="0",this.backdropEl.style.pointerEvents="none",this.backdropEl.style.position="fixed",this.backdropEl.style.transition=`background-color ${this.cssBackdropDuration} ease-out`,this.backdropEl.style.zIndex=this.cssBackdropZIndex),this.backdropEl.style.backgroundColor=this.backdropBackgroundHidden,document.body.appendChild(this.backdropEl),clearTimeout(this.backdropTimer),this.backdropTimer=setTimeout((()=>{this.backdropEl.style.backgroundColor=this.backdropBackgroundVisible}),1)}detachBackdrop(){this.backdropEl&&(this.backdropEl.style.backgroundColor="transparent",clearTimeout(this.backdropTimer),this.backdropTimer=setTimeout((()=>{this.backdropEl.remove()}),h(this.cssBackdropDuration)))}}export{l as B,c as F}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const t=["start","end"],n=["top","right","bottom","left"].reduce(((n,e)=>n.concat(e,e+"-"+t[0],e+"-"+t[1])),[]),e=Math.min,o=Math.max,r=Math.round,i=Math.floor,l=t=>({x:t,y:t}),c={left:"right",right:"left",bottom:"top",top:"bottom"};function a(t,n,r){return o(t,e(n,r))}function s(t,n){return"function"==typeof t?t(n):t}function u(t){return t.split("-")[0]}function f(t){return t.split("-")[1]}function d(t){return"x"===t?"y":"x"}function m(t){return"y"===t?"height":"width"}function y(t){const n=t[0];return"t"===n||"b"===n?"y":"x"}function p(t){return d(y(t))}function h(t,n,e){void 0===e&&(e=!1);const o=f(t),r=p(t),i=m(r);let l="x"===r?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[i]>n.floating[i]&&(l=A(l)),[l,A(l)]}function w(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const x=["left","right"],v=["right","left"],g=["top","bottom"],b=["bottom","top"];function A(t){const n=u(t);return c[n]+t.slice(n.length)}function R(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function S(t){const{x:n,y:e,width:o,height:r}=t;return{width:o,height:r,top:e,left:n,right:n+o,bottom:e+r,x:n,y:e}}function k(t,n,e){let{reference:o,floating:r}=t;const i=y(n),l=p(n),c=m(l),a=u(n),s="y"===i,d=o.x+o.width/2-r.width/2,h=o.y+o.height/2-r.height/2,w=o[c]/2-r[c]/2;let x;switch(a){case"top":x={x:d,y:o.y-r.height};break;case"bottom":x={x:d,y:o.y+o.height};break;case"right":x={x:o.x+o.width,y:h};break;case"left":x={x:o.x-r.width,y:h};break;default:x={x:o.x,y:o.y}}switch(f(n)){case"start":x[l]-=w*(e&&s?-1:1);break;case"end":x[l]+=w*(e&&s?-1:1)}return x}async function F(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:l,elements:c,strategy:a}=t,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:m=!1,padding:y=0}=s(n,t),p=R(y),h=c[m?"floating"===d?"reference":"floating":d],w=S(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(h)))||e?h:h.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(c.floating)),boundary:u,rootBoundary:f,strategy:a})),x="floating"===d?{x:o,y:r,width:l.floating.width,height:l.floating.height}:l.reference,v=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c.floating)),g=await(null==i.isElement?void 0:i.isElement(v))&&await(null==i.getScale?void 0:i.getScale(v))||{x:1,y:1},b=S(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:x,offsetParent:v,strategy:a}):x);return{top:(w.top-b.top+p.top)/g.y,bottom:(b.bottom-w.bottom+p.bottom)/g.y,left:(w.left-b.left+p.left)/g.x,right:(b.right-w.right+p.right)/g.x}}const O=new Set(["left","top"]);function P(){return"undefined"!=typeof window}function D(t){return z(t)?(t.nodeName||"").toLowerCase():"#document"}function T(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function M(t){var n;return null==(n=(z(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function z(t){return!!P()&&(t instanceof Node||t instanceof T(t).Node)}function C(t){return!!P()&&(t instanceof Element||t instanceof T(t).Element)}function L(t){return!!P()&&(t instanceof HTMLElement||t instanceof T(t).HTMLElement)}function E(t){return!(!P()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof T(t).ShadowRoot)}function B(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=Y(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&"inline"!==r&&"contents"!==r}function $(t){return/^(table|td|th)$/.test(D(t))}function I(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}const N=/transform|translate|scale|rotate|perspective|filter/,j=/paint|layout|strict|content/,q=t=>!!t&&"none"!==t;let H;function V(t){const n=C(t)?Y(t):t;return q(n.transform)||q(n.translate)||q(n.scale)||q(n.rotate)||q(n.perspective)||!W()&&(q(n.backdropFilter)||q(n.filter))||N.test(n.willChange||"")||j.test(n.contain||"")}function W(){return null==H&&(H="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),H}function X(t){return/^(html|body|#document)$/.test(D(t))}function Y(t){return T(t).getComputedStyle(t)}function _(t){return C(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function G(t){if("html"===D(t))return t;const n=t.assignedSlot||t.parentNode||E(t)&&t.host||M(t);return E(n)?n.host:n}function J(t){const n=G(t);return X(n)?t.ownerDocument?t.ownerDocument.body:t.body:L(n)&&B(n)?n:J(n)}function K(t,n,e){var o;void 0===n&&(n=[]),void 0===e&&(e=!0);const r=J(t),i=r===(null==(o=t.ownerDocument)?void 0:o.body),l=T(r);if(i){const t=Q(l);return n.concat(l,l.visualViewport||[],B(r)?r:[],t&&e?K(t):[])}return n.concat(r,K(r,[],e))}function Q(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function U(t){const n=Y(t);let e=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const i=L(t),l=i?t.offsetWidth:e,c=i?t.offsetHeight:o,a=r(e)!==l||r(o)!==c;return a&&(e=l,o=c),{width:e,height:o,$:a}}function Z(t){return C(t)?t:t.contextElement}function tt(t){const n=Z(t);if(!L(n))return l(1);const e=n.getBoundingClientRect(),{width:o,height:i,$:c}=U(n);let a=(c?r(e.width):e.width)/o,s=(c?r(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const nt=l(0);function et(t){const n=T(t);return W()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:nt}function ot(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),i=Z(t);let c=l(1);n&&(o?C(o)&&(c=tt(o)):c=tt(t));const a=function(t,n,e){return void 0===n&&(n=!1),!(!e||n&&e!==T(t))&&n}(i,e,o)?et(i):l(0);let s=(r.left+a.x)/c.x,u=(r.top+a.y)/c.y,f=r.width/c.x,d=r.height/c.y;if(i){const t=T(i),n=o&&C(o)?T(o):o;let e=t,r=Q(e);for(;r&&o&&n!==e;){const t=tt(r),n=r.getBoundingClientRect(),o=Y(r),i=n.left+(r.clientLeft+parseFloat(o.paddingLeft))*t.x,l=n.top+(r.clientTop+parseFloat(o.paddingTop))*t.y;s*=t.x,u*=t.y,f*=t.x,d*=t.y,s+=i,u+=l,e=T(r),r=Q(e)}}return S({width:f,height:d,x:s,y:u})}function rt(t,n){const e=_(t).scrollLeft;return n?n.left+e:ot(M(t)).left+e}function it(t,n,e){void 0===e&&(e=!1);const o=t.getBoundingClientRect();return{x:o.left+n.scrollLeft-(e?0:rt(t,o)),y:o.top+n.scrollTop}}function lt(t,n,e){let r;if("viewport"===n)r=function(t,n){const e=T(t),o=M(t),r=e.visualViewport;let i=o.clientWidth,l=o.clientHeight,c=0,a=0;if(r){i=r.width,l=r.height;const t=W();(!t||t&&"fixed"===n)&&(c=r.offsetLeft,a=r.offsetTop)}return{width:i,height:l,x:c,y:a}}(t,e);else if("document"===n)r=function(t){const n=M(t),e=_(t),r=t.ownerDocument.body,i=o(n.scrollWidth,n.clientWidth,r.scrollWidth,r.clientWidth),l=o(n.scrollHeight,n.clientHeight,r.scrollHeight,r.clientHeight);let c=-e.scrollLeft+rt(t);const a=-e.scrollTop;return"rtl"===Y(r).direction&&(c+=o(n.clientWidth,r.clientWidth)-i),{width:i,height:l,x:c,y:a}}(M(t));else if(C(n))r=function(t,n){const e=ot(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=L(t)?tt(t):l(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(n,e);else{const e=et(t);r={x:n.x-e.x,y:n.y-e.y,width:n.width,height:n.height}}return S(r)}function ct(t,n){const e=G(t);return!(e===n||!C(e)||X(e))&&("fixed"===Y(e).position||ct(e,n))}function at(t,n,e){const o=L(n),r=M(n),i="fixed"===e,c=ot(t,!0,i,n);let a={scrollLeft:0,scrollTop:0};const s=l(0);if(o||!o&&!i)if(("body"!==D(n)||B(r))&&(a=_(n)),o){const t=ot(n,!0,i,n);s.x=t.x+n.clientLeft,s.y=t.y+n.clientTop}else r&&(s.x=rt(r));const u=!r||o||i?l(0):it(r,a);return{x:c.left+a.scrollLeft-s.x-u.x,y:c.top+a.scrollTop-s.y-u.y,width:c.width,height:c.height}}function st(t){return"static"===Y(t).position}function ut(t,n){if(!L(t)||"fixed"===Y(t).position)return null;if(n)return n(t);let e=t.offsetParent;return M(t)===e&&(e=e.ownerDocument.body),e}function ft(t,n){const e=T(t);if(I(t))return e;if(!L(t)){let n=G(t);for(;n&&!X(n);){if(C(n)&&!st(n))return n;n=G(n)}return e}let o=ut(t,n);for(;o&&$(o)&&st(o);)o=ut(o,n);return o&&X(o)&&st(o)&&!V(o)?e:o||function(t){let n=G(t);for(;L(n)&&!X(n);){if(V(n))return n;if(I(n))return null;n=G(n)}return null}(t)||e}const dt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:n,rect:e,offsetParent:o,strategy:r}=t;const i="fixed"===r,c=M(o),a=!!n&&I(n.floating);if(o===c||a&&i)return e;let s={scrollLeft:0,scrollTop:0},u=l(1);const f=l(0),d=L(o);if((d||!d&&!i)&&(("body"!==D(o)||B(c))&&(s=_(o)),L(o))){const t=ot(o);u=tt(o),f.x=t.x+o.clientLeft,f.y=t.y+o.clientTop}const m=!c||d||i?l(0):it(c,s,!0);return{width:e.width*u.x,height:e.height*u.y,x:e.x*u.x-s.scrollLeft*u.x+f.x+m.x,y:e.y*u.y-s.scrollTop*u.y+f.y+m.y}},getDocumentElement:M,getClippingRect:function(t){let{element:n,boundary:r,rootBoundary:i,strategy:l}=t;const c=[..."clippingAncestors"===r?I(n)?[]:function(t,n){const e=n.get(t);if(e)return e;let o=K(t,[],!1).filter((t=>C(t)&&"body"!==D(t))),r=null;const i="fixed"===Y(t).position;let l=i?G(t):t;for(;C(l)&&!X(l);){const n=Y(l),e=V(l);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&["absolute","fixed"].includes(r.position)||B(l)&&!e&&ct(t,l))?o=o.filter((t=>t!==l)):r=n,l=G(l)}return n.set(t,o),o}(n,this._c):[].concat(r),i],a=c.reduce(((t,r)=>{const i=lt(n,r,l);return t.top=o(i.top,t.top),t.right=e(i.right,t.right),t.bottom=e(i.bottom,t.bottom),t.left=o(i.left,t.left),t}),lt(n,c[0],l));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:ft,getElementRects:async function(t){const n=this.getOffsetParent||ft,e=this.getDimensions,o=await e(t.floating);return{reference:at(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:n,height:e}=U(t);return{width:n,height:e}},getScale:tt,isElement:C,isRTL:function(t){return"rtl"===Y(t).direction}};function mt(t,n,r,l){void 0===l&&(l={});const{ancestorScroll:c=!0,ancestorResize:a=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:f=!1}=l,d=Z(t),m=c||a?[...d?K(d):[],...K(n)]:[];m.forEach((t=>{c&&t.addEventListener("scroll",r,{passive:!0}),a&&t.addEventListener("resize",r)}));const y=d&&u?function(t,n){let r,l=null;const c=M(t);function a(){var t;clearTimeout(r),null==(t=l)||t.disconnect(),l=null}return function s(u,f){void 0===u&&(u=!1),void 0===f&&(f=1),a();const{left:d,top:m,width:y,height:p}=t.getBoundingClientRect();if(u||n(),!y||!p)return;const h={rootMargin:-i(m)+"px "+-i(c.clientWidth-(d+y))+"px "+-i(c.clientHeight-(m+p))+"px "+-i(d)+"px",threshold:o(0,e(1,f))||1};let w=!0;function x(t){const n=t[0].intersectionRatio;if(n!==f){if(!w)return s();n?s(!1,n):r=setTimeout((()=>{s(!1,1e-7)}),1e3)}w=!1}try{l=new IntersectionObserver(x,{...h,root:c.ownerDocument})}catch(t){l=new IntersectionObserver(x,h)}l.observe(t)}(!0),a}(d,r):null;let p,h=-1,w=null;s&&(w=new ResizeObserver((t=>{let[e]=t;e&&e.target===d&&w&&(w.unobserve(n),cancelAnimationFrame(h),h=requestAnimationFrame((()=>{var t;null==(t=w)||t.observe(n)}))),r()})),d&&!f&&w.observe(d),w.observe(n));let x=f?ot(t):null;return f&&function n(){const e=ot(t);!x||e.x===x.x&&e.y===x.y&&e.width===x.width&&e.height===x.height||r(),x=e,p=requestAnimationFrame(n)}(),r(),()=>{var t;m.forEach((t=>{c&&t.removeEventListener("scroll",r),a&&t.removeEventListener("resize",r)})),null==y||y(),null==(t=w)||t.disconnect(),w=null,f&&cancelAnimationFrame(p)}}const yt=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){var e,o;const{x:r,y:i,placement:l,middlewareData:c}=n,a=await async function(t,n){const{placement:e,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),l=u(e),c=f(e),a="y"===y(e),d=O.has(l)?-1:1,m=i&&a?-1:1,p=s(n,t);let{mainAxis:h,crossAxis:w,alignmentAxis:x}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return c&&"number"==typeof x&&(w="end"===c?-1*x:x),a?{x:w*m,y:h*d}:{x:h*d,y:w*m}}(n,t);return l===(null==(e=c.offset)?void 0:e.placement)&&null!=(o=c.arrow)&&o.alignmentOffset?{}:{x:r+a.x,y:i+a.y,data:{...a,placement:l}}}}},pt=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,r,i;const{rects:l,middlewareData:c,placement:a,platform:d,elements:m}=e,{crossAxis:y=!1,alignment:p,allowedPlacements:x=n,autoAlignment:v=!0,...g}=s(t,e),b=void 0!==p||x===n?function(t,n,e){return(t?[...e.filter((n=>f(n)===t)),...e.filter((n=>f(n)!==t))]:e.filter((t=>u(t)===t))).filter((e=>!t||f(e)===t||!!n&&w(e)!==e))}(p||null,v,x):x,A=await d.detectOverflow(e,g),R=(null==(o=c.autoPlacement)?void 0:o.index)||0,S=b[R];if(null==S)return{};const k=h(S,l,await(null==d.isRTL?void 0:d.isRTL(m.floating)));if(a!==S)return{reset:{placement:b[0]}};const F=[A[u(S)],A[k[0]],A[k[1]]],O=[...(null==(r=c.autoPlacement)?void 0:r.overflows)||[],{placement:S,overflows:F}],P=b[R+1];if(P)return{data:{index:R+1,overflows:O},reset:{placement:P}};const D=O.map((t=>{const n=f(t.placement);return[t.placement,n&&y?t.overflows.slice(0,2).reduce(((t,n)=>t+n),0):t.overflows[0],t.overflows]})).sort(((t,n)=>t[1]-n[1])),T=(null==(i=D.filter((t=>t[2].slice(0,f(t[0])?2:3).every((t=>t<=0))))[0])?void 0:i[0])||D[0][0];return T!==a?{data:{index:R+1,overflows:O},reset:{placement:T}}:{}}}},ht=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(n){const{x:e,y:o,placement:r,platform:i}=n,{mainAxis:l=!0,crossAxis:c=!1,limiter:f={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...m}=s(t,n),p={x:e,y:o},h=await i.detectOverflow(n,m),w=y(u(r)),x=d(w);let v=p[x],g=p[w];l&&(v=a(v+h["y"===x?"top":"left"],v,v-h["y"===x?"bottom":"right"])),c&&(g=a(g+h["y"===w?"top":"left"],g,g-h["y"===w?"bottom":"right"]));const b=f.fn({...n,[x]:v,[w]:g});return{...b,data:{x:b.x-e,y:b.y-o,enabled:{[x]:l,[w]:c}}}}}},wt=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e,o;const{placement:r,middlewareData:i,rects:l,initialPlacement:c,platform:a,elements:d}=n,{mainAxis:m=!0,crossAxis:p=!0,fallbackPlacements:R,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:F=!0,...O}=s(t,n);if(null!=(e=i.arrow)&&e.alignmentOffset)return{};const P=u(r),D=y(c),T=u(c)===c,M=await(null==a.isRTL?void 0:a.isRTL(d.floating)),z=R||(T||!F?[A(c)]:function(t){const n=A(t);return[w(t),n,w(n)]}(c)),C="none"!==k;!R&&C&&z.push(...function(t,n,e,o){const r=f(t);let i=function(t,n,e){switch(t){case"top":case"bottom":return e?n?v:x:n?x:v;case"left":case"right":return n?g:b;default:return[]}}(u(t),"start"===e,o);return r&&(i=i.map((t=>t+"-"+r)),n&&(i=i.concat(i.map(w)))),i}(c,F,k,M));const L=[c,...z],E=await a.detectOverflow(n,O),B=[];let $=(null==(o=i.flip)?void 0:o.overflows)||[];if(m&&B.push(E[P]),p){const t=h(r,l,M);B.push(E[t[0]],E[t[1]])}if($=[...$,{placement:r,overflows:B}],!B.every((t=>t<=0))){var I,N;const t=((null==(I=i.flip)?void 0:I.index)||0)+1,n=L[t];if(n&&("alignment"!==p||D===y(n)||$.every((t=>y(t.placement)!==D||t.overflows[0]>0))))return{data:{index:t,overflows:$},reset:{placement:n}};let e=null==(N=$.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:N.placement;if(!e)switch(S){case"bestFit":{var j;const t=null==(j=$.filter((t=>{if(C){const n=y(t.placement);return n===D||"y"===n}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:j[0];t&&(e=t);break}case"initialPlacement":e=c}if(r!==e)return{reset:{placement:e}}}return{}}}},xt=t=>({name:"arrow",options:t,async fn(n){const{x:o,y:r,placement:i,rects:l,platform:c,elements:u,middlewareData:d}=n,{element:y,padding:h=0}=s(t,n)||{};if(null==y)return{};const w=R(h),x={x:o,y:r},v=p(i),g=m(v),b=await c.getDimensions(y),A="y"===v,S=A?"top":"left",k=A?"bottom":"right",F=A?"clientHeight":"clientWidth",O=l.reference[g]+l.reference[v]-x[v]-l.floating[g],P=x[v]-l.reference[v],D=await(null==c.getOffsetParent?void 0:c.getOffsetParent(y));let T=D?D[F]:0;T&&await(null==c.isElement?void 0:c.isElement(D))||(T=u.floating[F]||l.floating[g]);const M=O/2-P/2,z=T/2-b[g]/2-1,C=e(w[S],z),L=e(w[k],z),E=C,B=T-b[g]-L,$=T/2-b[g]/2+M,I=a(E,$,B),N=!d.arrow&&null!=f(i)&&$!==I&&l.reference[g]/2-($<E?C:L)-b[g]/2<0,j=N?$<E?$-E:$-B:0;return{[v]:x[v]+j,data:{[v]:I,centerOffset:$-I-j,...N&&{alignmentOffset:j}},reset:N}}}),vt=(t,n,e)=>{const o=new Map,r={platform:dt,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:l}=e,c=l.detectOverflow?l:{...l,detectOverflow:F},a=await(null==l.isRTL?void 0:l.isRTL(n));let s=await l.getElementRects({reference:t,floating:n,strategy:r}),{x:u,y:f}=k(s,o,a),d=o,m=0;const y={};for(let e=0;e<i.length;e++){const p=i[e];if(!p)continue;const{name:h,fn:w}=p,{x,y:v,data:g,reset:b}=await w({x:u,y:f,initialPlacement:o,placement:d,strategy:r,middlewareData:y,rects:s,platform:c,elements:{reference:t,floating:n}});u=null!=x?x:u,f=null!=v?v:f,y[h]={...y[h],...g},b&&m<50&&(m++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(s=!0===b.rects?await l.getElementRects({reference:t,floating:n,strategy:r}):b.rects),({x:u,y:f}=k(s,d,a))),e=-1)}return{x:u,y:f,placement:d,strategy:r,middlewareData:y}})(t,n,{...r,platform:i})};export{pt as a,xt as b,vt as c,mt as d,wt as f,yt as o,ht as s}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function t(t){return new Promise(((e,n)=>{t.oncomplete=t.onsuccess=()=>e(t.result),t.onabort=t.onerror=()=>n(t.error)}))}let e;function n(){return e||(e=function(e,n){const s=indexedDB.open("keyval-store");s.onupgradeneeded=()=>s.result.createObjectStore(n);const r=t(s);return(t,e)=>r.then((s=>e(s.transaction(n,t).objectStore(n))))}(0,"keyval")),e}class s{resolveIconName(t){return this._resolveIconName(t,this.name,this.path)}constructor(t,e,n){this.name=t,this.path=e,this._resolveIconName=n}get resolver(){return this._resolveIconName}}const r=Symbol.for("@maggioli-design-system/magma:mdsIconSvgPath"),i=new class{constructor(){this._svgPathKey="mdsIconSvgPath",this._iconsSets=new Map,this._svgPathUpdate="mdsIconSvgPathUpdate",this.cacheExp=864e5,this.listeners=[],this.memoryCache={},this.isCacheAvailable=async e=>{try{const s=await function(e,s=n()){return s("readonly",(n=>t(n.get(e))))}(`loader_${e}`);if(!s)return!1;const r=JSON.parse(s);return Date.now()<r.expiry?r.data:(function(e,s=n()){s("readwrite",(n=>(n.delete(e),t(n.transaction))))}(`loader_${e}`),!1)}catch(t){return console.error("isCacheAvailable error",t),!1}},this.setCache=async(e,s)=>{try{await function(e,s,r=n()){return r("readwrite",(n=>(n.put(s,e),t(n.transaction))))}(`loader_${e}`,JSON.stringify({data:s,expiry:Date.now()+this.cacheExp}))}catch(t){console.error("setCache error",t)}},this.setUpListener()}get _svgPath(){var t;return"undefined"==typeof globalThis?"":null!==(t=globalThis[r])&&void 0!==t?t:""}set _svgPath(t){"undefined"!=typeof globalThis&&(globalThis[r]=t)}addIconSet(t,e,n){let r=n;const i=this._iconsSets.get(t);if(!r&&i&&"function"==typeof i.resolver)r=i.resolver;else{if(r&&"function"!=typeof r)return console.error("MdsIconSvg: the third input of addIconSet should be a function that parses and returns the icons's filename."),!1;if(!r)return console.error(`MdsIconSvg: the set ${t} needs a resolve function for the icon names.`),!1}return this._iconsSets.set(t,new s(t,e,r)),!0}getIconSet(t){return t?{set:this._iconsSets.get(t.split("/")[0])}:{set:null}}setSvgPath(t){const e=/^(((https?:\/\/)?[.\w]+(:\d+)?)|\/)([\w/-]+)*/.exec(t);if(!e)throw Error(`Svg path not recognize ${t}, ensure is a absolute path starting with '/' or a url`);"undefined"!=typeof window&&(this._svgPath=e[1]?e[0]:window.location.origin.concat(e[0]),window.dispatchEvent(new Event(this._svgPathUpdate)))}getSvgPath(){return this._svgPath}registerListener(t){this.listeners.push(t)}setUpListener(){"undefined"!=typeof window&&window.addEventListener(this._svgPathUpdate,(()=>{for(const t of this.listeners)t()}))}async fetchSvg(t){var e;try{if(!this._svgPath&&"undefined"==typeof window)throw Error("Cant find svgPath, ensure you set it");if(!this._svgPath){let t="";try{t=null!==(e=window.sessionStorage.getItem(i._svgPathKey))&&void 0!==e?e:""}catch(t){}t&&this.setSvgPath(t)}const n=this._svgPath&&!t.startsWith("http")?this._svgPath.concat(t,".svg"):t,s=await this.isCacheAvailable(n);if(this.memoryCache[n]||s)return this.memoryCache[n]||s;const r=await fetch(n);if(!r.ok)throw Error(`Request for '${n}' returned ${r.status} (${r.statusText})`);const o=await r.text(),a=o.toLowerCase().trim();if(!a.startsWith("<svg")&&!a.startsWith("<?xml"))throw Error(`Resource '${n}' returned an invalid SVG file`);return this.setCache(n,o),this.memoryCache[n]=o,o}catch(t){return console.error("fetchSvg error",t),""}}};export{i as I}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
class t{constructor(){this.elements=new Map,this.handleClickBehaviorDispatchEvent=t=>{"Enter"!==t.code&&"NumpadEnter"!==t.code||t.target.click()},this.handleEscapeBehaviorDispatchEvent=t=>{"Escape"===t.code&&this.escapeCallback&&this.escapeCallback()},this.addElement=(t,e="element")=>{if(!t)throw Error(`Passed an ${t} element parameter to KeyboardManager.addElement`);this.elements.set(e,t)},this.removeElement=(t="element")=>{this.detachClickBehavior(t),this.elements.delete(t)},this.attachClickBehavior=(t="element")=>{var e,i;null===(e=this.elements.get(t))||void 0===e||e.removeEventListener("keydown",this.handleClickBehaviorDispatchEvent),null===(i=this.elements.get(t))||void 0===i||i.addEventListener("keydown",this.handleClickBehaviorDispatchEvent)},this.detachClickBehavior=(t="element")=>{var e;null===(e=this.elements.get(t))||void 0===e||e.removeEventListener("keydown",this.handleClickBehaviorDispatchEvent)},this.attachEscapeBehavior=t=>{this.escapeCallback=t,"undefined"!=typeof window&&window.addEventListener("keydown",this.handleEscapeBehaviorDispatchEvent.bind(this))},this.detachEscapeBehavior=()=>{this.escapeCallback=()=>{},"undefined"!=typeof window&&window.removeEventListener("keydown",this.handleEscapeBehaviorDispatchEvent.bind(this))}}}export{t as K}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as e}from"./panorama.js";const i={"7z":{format:"archive",description:"compressedArchive"},ace:{format:"archive",description:"compressedArchive"},ai:{format:"vector",description:"fileAI"},dart:{format:"code",description:"dart"},db:{format:"data",description:"fileDB"},default:{format:"attachment",description:"unknown"},dmg:{format:"executable",description:"appleDiskImage"},doc:{format:"text",description:"documentMS"},docm:{format:"text",description:"documentMS"},docx:{format:"text",description:"compressedDocumentMS"},eml:{format:"email",description:"email"},eps:{format:"vector",description:"fileEPS"},exe:{format:"executable",description:"fileEXE"},flac:{format:"audio",description:"uncompressedAudio"},gif:{format:"image",description:"compressedImage",preview:!0},heic:{format:"image",description:"imageHEFF"},htm:{format:"markup",description:"documentWeb"},html:{format:"markup",description:"documentWeb"},jpe:{format:"image",description:"compressedImage",preview:!0},jpeg:{format:"image",description:"compressedImage",preview:!0},jpg:{format:"image",description:"compressedImage",preview:!0},js:{format:"code",description:"fileJS"},json:{format:"data",description:"fileJSON"},jsx:{format:"code",description:"fileJS"},m2v:{format:"video",description:"videoSD"},mp2:{format:"audio",description:"compressedAudio"},mp3:{format:"audio",description:"compressedAudio"},mp4:{format:"video",description:"videoHD"},mp4v:{format:"video",description:"videoHD"},mpeg:{format:"video",description:"videoSD"},mpg4:{format:"video",description:"videoSD"},mpg:{format:"video",description:"videoSD"},mpga:{format:"audio",description:"compressedAudio"},odf:{format:"document",description:"openDocumentFormat"},odp:{format:"slide",description:"slideLO"},ods:{format:"spreadsheet",description:"spreadsheetLO"},odt:{format:"text",description:"documentLO"},ole:{format:"document",description:"objectLinkingAndEmbedding"},p7m:{format:"certificate",description:"documentDigitalSingnature"},pdf:{format:"document",description:"documentAdobe"},php:{format:"code",description:"filePHP"},png:{format:"image",description:"imagePNG",preview:!0},ppt:{format:"slide",description:"slidePowerPoint"},rar:{format:"archive",description:"compressedArchive"},rtf:{format:"text",description:"documentRTF"},sass:{format:"code",description:"fileSASS"},shtml:{format:"markup",description:"documentWeb"},svg:{format:"vector",description:"imageSVG",preview:!0},tar:{format:"archive",description:"uncompressedArchive"},tiff:{format:"image",description:"imageTIFF"},ts:{format:"code",description:"fileTS"},tsd:{format:"certificate",description:"certificateTSD"},tsx:{format:"code",description:"fileTSX"},txt:{format:"text",description:"documentTXT"},wav:{format:"audio",description:"uncompressedAudio"},webp:{format:"image",description:"imageWEBP",preview:!0},xar:{format:"archive",description:"compressedArchive"},xls:{format:"spreadsheet",description:"spreadsheetMS"},xlsx:{format:"spreadsheet",description:"spreadsheetMS"},xml:{format:"markup",description:"extensibleMarkupLanguage"},zip:{format:"archive",description:"compressedArchive"}},o=new Map([["image",[".png",".jpg",".jpeg",".tiff",".webp",".jpe",".gif",".heic"]],["audio",[".mp2",".mp3",".mpga",".wav",".flac"]],["video",[".mv2",".mp4",".mp4v",".mpeg",".mpg4",".mpg"]]]);var t='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-vector-curve" viewBox="0 0 24 24"><path d="M18.5,2A1.5,1.5 0 0,1 20,3.5A1.5,1.5 0 0,1 18.5,5C18.27,5 18.05,4.95 17.85,4.85L14.16,8.55L14.5,9C16.69,7.74 19.26,7 22,7L23,7.03V9.04L22,9C19.42,9 17,9.75 15,11.04A3.96,3.96 0 0,1 11.04,15C9.75,17 9,19.42 9,22L9.04,23H7.03L7,22C7,19.26 7.74,16.69 9,14.5L8.55,14.16L4.85,17.85C4.95,18.05 5,18.27 5,18.5A1.5,1.5 0 0,1 3.5,20A1.5,1.5 0 0,1 2,18.5A1.5,1.5 0 0,1 3.5,17C3.73,17 3.95,17.05 4.15,17.15L7.84,13.45C7.31,12.78 7,11.92 7,11A4,4 0 0,1 11,7C11.92,7 12.78,7.31 13.45,7.84L17.15,4.15C17.05,3.95 17,3.73 17,3.5A1.5,1.5 0 0,1 18.5,2M11,9A2,2 0 0,0 9,11A2,2 0 0,0 11,13A2,2 0 0,0 13,11A2,2 0 0,0 11,9Z" /></svg>';const a={archive:{icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-2 6h-2v2h2v2h-2v2h-2v-2h2v-2h-2v-2h2v-2h-2V8h2v2h2v2z"/></svg>',variant:"amaranth"},attachment:{icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M16.5 6v11.5c0 2.21-1.79 4-4 4s-4-1.79-4-4V5a2.5 2.5 0 0 1 5 0v10.5c0 .55-.45 1-1 1s-1-.45-1-1V6H10v9.5a2.5 2.5 0 0 0 5 0V5c0-2.21-1.79-4-4-4S7 2.79 7 5v12.5c0 3.04 2.46 5.5 5.5 5.5s5.5-2.46 5.5-5.5V6h-1.5z"/></svg>',variant:"dark"},audio:{icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 3v9.28a4.39 4.39 0 0 0-1.5-.28C8.01 12 6 14.01 6 16.5S8.01 21 10.5 21c2.31 0 4.2-1.75 4.45-4H15V6h4V3h-7z"/></svg>',variant:"violet"},certificate:{icon:'<svg xmlns="http://www.w3.org/2000/svg" id="mdi-license" viewBox="0 0 24 24"><path d="M9 10A3.04 3.04 0 0 1 12 7A3.04 3.04 0 0 1 15 10A3.04 3.04 0 0 1 12 13A3.04 3.04 0 0 1 9 10M12 19L16 20V16.92A7.54 7.54 0 0 1 12 18A7.54 7.54 0 0 1 8 16.92V20M12 4A5.78 5.78 0 0 0 7.76 5.74A5.78 5.78 0 0 0 6 10A5.78 5.78 0 0 0 7.76 14.23A5.78 5.78 0 0 0 12 16A5.78 5.78 0 0 0 16.24 14.23A5.78 5.78 0 0 0 18 10A5.78 5.78 0 0 0 16.24 5.74A5.78 5.78 0 0 0 12 4M20 10A8.04 8.04 0 0 1 19.43 12.8A7.84 7.84 0 0 1 18 15.28V23L12 21L6 23V15.28A7.9 7.9 0 0 1 4 10A7.68 7.68 0 0 1 6.33 4.36A7.73 7.73 0 0 1 12 2A7.73 7.73 0 0 1 17.67 4.36A7.68 7.68 0 0 1 20 10Z" /></svg>',variant:"orange"},code:{icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16c1.1 0 2-.9 2-2V6a2 2 0 0 0-2-2zm0 14H4V8h16v10zm-2-1h-6v-2h6v2zM7.5 17l-1.41-1.41L8.67 13l-2.59-2.59L7.5 9l4 4l-4 4z"/></svg>',variant:"yellow"},data:{icon:'<svg xmlns="http://www.w3.org/2000/svg" id="mdi-harddisk" viewBox="0 0 24 24"><path d="M6,2H18A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2M12,4A6,6 0 0,0 6,10C6,13.31 8.69,16 12.1,16L11.22,13.77C10.95,13.29 11.11,12.68 11.59,12.4L12.45,11.9C12.93,11.63 13.54,11.79 13.82,12.27L15.74,14.69C17.12,13.59 18,11.9 18,10A6,6 0 0,0 12,4M12,9A1,1 0 0,1 13,10A1,1 0 0,1 12,11A1,1 0 0,1 11,10A1,1 0 0,1 12,9M7,18A1,1 0 0,0 6,19A1,1 0 0,0 7,20A1,1 0 0,0 8,19A1,1 0 0,0 7,18M12.09,13.27L14.58,19.58L17.17,18.08L12.95,12.77L12.09,13.27Z" /></svg>',variant:"yellow"},document:{icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6H6zm7 7V3.5L18.5 9H13z"/></svg>',variant:"orange"},email:{icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5l-8-5V6l8 5l8-5v2z"/></svg>',variant:"blue"},executable:{icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V5a2 2 0 0 0-2-2zm0 16H5V7h14v12zm-2-7H7v-2h10v2zm-4 4H7v-2h6v2z"/></svg>',variant:"amaranth"},image:{icon:e,variant:"green"},imageRaster:{icon:e,variant:"green"},markup:{icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-5 14H4v-4h11v4zm0-5H4V9h11v4zm5 5h-4V9h4v9z"/></svg>',variant:"yellow"},slide:{icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21 3H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h5v2h8v-2h5c1.1 0 1.99-.9 1.99-2L23 5c0-1.1-.9-2-2-2zm0 14H3V5h18v12z"/></svg>',variant:"orchid"},spreadsheet:{icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M3 3v18h18V3H3zm8 16H5v-6h6v6zm0-8H5V5h6v6zm8 8h-6v-6h6v6zm0-8h-6V5h6v6z"/></svg>',variant:"lime"},text:{icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"/></svg>',variant:"blue"},vectorImage:{icon:t,variant:"aqua"},vector:{icon:t,variant:"aqua"},video:{icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11l-4 4z"/></svg>',variant:"violet"}},r=(e,i='Attribute "filename" is undefined.')=>{var o;if(void 0===e)throw console.error(i);return e.includes("/")?null!==(o=e.split("/").pop())&&void 0!==o?o:"":e},c=e=>{var i;const o=r(e);return o.includes(".")?null!==(i=o.split(".")[0])&&void 0!==i?i:"":o},d=(e,i)=>{const o=(e=>{var i;const o=r(e);return o.includes(".")?null!==(i=o.split(".").pop())&&void 0!==i?i:"":o})(e),t=r(e);return null!=i?i.toLowerCase():o!==t?o:"default"},m=(e,o)=>{var t;const a=d(e,o).toLocaleLowerCase();return null!==(t=i[a])&&void 0!==t?t:i.default},n=(e,i)=>a[m(e,i).format];var s={appleDiskImage:"Εικόνα δίσκου Apple",certificateTSD:"Πιστοποιητικό χρονικής σήμανσης",compressedArchive:"Συμπιεσμένο αρχείο",compressedAudio:"Συμπιεσμένος ήχος",compressedDocumentMS:"Συμπιεσμένο έγγραφο Microsoft Word",compressedImage:"Συμπιεσμένη εικόνα",dart:"Αρχείο Dart",documentAdobe:"Έγγραφο Adobe",documentDigitalSingnature:"Έγγραφο με ψηφιακή υπογραφή",documentLO:"Έγγραφο LibreOffice",documentMS:"Έγγραφο Microsoft Word",documentRTF:"Έγγραφο μορφής εμπλουτισμένου κειμένου",documentTXT:"Απλό έγγραφο κειμένου",documentWeb:"Ιστοσελίδα",email:"Ηλεκτρονικό ταχυδρομείο",extensibleMarkupLanguage:"Γλώσσα σήμανσης για δεδομένα",fileAI:"Διανυσματικό αρχείο Adobe Illustrator",fileDB:"Αρχείο βάσης δεδομένων",fileEPS:"Διανυσματικό αρχείο Corel Draw",fileEXE:"Εκτελέσιμο αρχείο Windows",fileJS:"Αρχείο JavaScript",fileJSON:"Αρχείο JavaScript Object Notation",filePHP:"Αρχείο Hypertext Preprocessor",fileSASS:"Αρχείο Syntactically Awesome StyleSheets",fileTS:"Αρχείο TypeScript",fileTSX:"Αρχείο TypeScript Extended Syntax",imageHEIC:"Μορφή αρχείου εικόνας υψηλής αποδοτικότητας",imagePNG:"Εικόνα Portable Network Graphics",imageSVG:"Διανυσματική εικόνα Scalable Vector Graphics",imageTIFF:"Εικόνα Tag Image File Format",imageWEBP:"Εικόνα Google Web Picture",objectLinkingAndEmbedding:"Σύνδεση και ενσωμάτωση αντικειμένων",openDocumentFormat:"Έγγραφο OpenDocument",slideLO:"Διαφάνεια παρουσίασης LibreOffice",slidePowerPoint:"Διαφάνεια παρουσίασης PowerPoint",spreadsheetLO:"Υπολογιστικό φύλλο LibreOffice",spreadsheetMS:"Υπολογιστικό φύλλο Microsoft Office",uncompressedArchive:"Μη συμπιεσμένο αρχείο",uncompressedAudio:"Μη συμπιεσμένος ήχος",unknown:"Άγνωστη μορφή αρχείου",videoHD:"Βίντεο υψηλής ανάλυσης",videoSD:"Βίντεο χαμηλής ανάλυσης"},p={appleDiskImage:"Apple Disk Image",certificateTSD:"Timestamp Certificate",compressedArchive:"Compressed Archive",compressedAudio:"Compressed Audio",compressedDocumentMS:"Compressed Microsoft Word Document",compressedImage:"Compressed Image",dart:"Dart File",documentAdobe:"Adobe Document",documentDigitalSingnature:"Document with digital signature",documentLO:"LibreOffice Document",documentMS:"Microsoft Word Document",documentRTF:"Rich Text Format Document",documentTXT:"Plain Text Document",documentWeb:"Web Page",email:"E-mail",extensibleMarkupLanguage:"Markup language for data",fileAI:"Adobe Illustrator Vector File",fileDB:"Database File",fileEPS:"Corel Draw Vector File",fileEXE:"Windows Executable File",fileJS:"JavaScript File",fileJSON:"JavaScript Object Notation File",filePHP:"Hypertext Preprocessor File",fileSASS:"Syntactically Awesome StyleSheets File",fileTS:"TypeScript File",fileTSX:"TypeScript Extended Syntax File",imageHEIC:"High Efficiency Image File Format",imagePNG:"Portable Network Graphics Image",imageSVG:"Scalable Vector Graphics Image",imageTIFF:"Tag Image File Format Image",imageWEBP:"Google Web Picture Image",objectLinkingAndEmbedding:"Object Linking and Embedding",openDocumentFormat:"OpenDocument Document",slideLO:"LibreOffice Presentation Slide",slidePowerPoint:"PowerPoint Presentation Slide",spreadsheetLO:"LibreOffice Spreadsheet",spreadsheetMS:"Microsoft Office Spreadsheet",uncompressedArchive:"Uncompressed Archive",uncompressedAudio:"Uncompressed Audio",unknown:"Unknown File Format",videoHD:"High Definition Video",videoSD:"Standard Definition Video"},l={appleDiskImage:"Imagen de disco Apple",certificateTSD:"Certificado de sello de tiempo",compressedArchive:"Archivo comprimido",compressedAudio:"Audio comprimido",compressedDocumentMS:"Documento comprimido de Microsoft Word",compressedImage:"Imagen comprimida",dart:"Archivo Dart",documentAdobe:"Documento Adobe",documentDigitalSingnature:"Documento con firma digital",documentLO:"Documento de LibreOffice",documentMS:"Documento de Microsoft Word",documentRTF:"Documento de formato de texto enriquecido",documentTXT:"Documento de texto sin formato",documentWeb:"Página web",email:"Correo electrónico",extensibleMarkupLanguage:"Lenguaje de marcado para datos",fileAI:"Archivo vectorial de Adobe Illustrator",fileDB:"Archivo de base de datos",fileEPS:"Archivo vectorial de Corel Draw",fileEXE:"Archivo ejecutable de Windows",fileJS:"Archivo JavaScript",fileJSON:"Archivo de notación de objetos de JavaScript",filePHP:"Archivo de preprocesador de hipertexto",fileSASS:"Archivo de Syntactically Awesome StyleSheets",fileTS:"Archivo TypeScript",fileTSX:"Archivo de sintaxis extendida de TypeScript",imageHEIC:"Formato de archivo de imagen de alta eficiencia",imagePNG:"Imagen Portable Network Graphics",imageSVG:"Imagen de gráficos vectoriales escalables",imageTIFF:"Imagen de formato de archivo de imagen etiquetado",imageWEBP:"Imagen Google Web Picture",objectLinkingAndEmbedding:"Vinculación e incrustación de objetos",openDocumentFormat:"Documento OpenDocument",slideLO:"Diapositiva de presentación de LibreOffice",slidePowerPoint:"Diapositiva de presentación de PowerPoint",spreadsheetLO:"Hoja de cálculo de LibreOffice",spreadsheetMS:"Hoja de cálculo de Microsoft Office",uncompressedArchive:"Archivo no comprimido",uncompressedAudio:"Audio no comprimido",unknown:"Formato de archivo desconocido",videoHD:"Video de alta definición",videoSD:"Video de definición estándar"},v={appleDiskImage:"Immagine Disco Apple",certificateTSD:"Marca temporale",compressedArchive:"Archivio compresso",compressedAudio:"Audio compresso",compressedDocumentMS:"Documento di testo Microsoft Word Compresso",compressedImage:"Immagine compressa",dart:"File Dart",documentAdobe:"Documento Adobe",documentDigitalSingnature:"Documento con firma digitale",documentLO:"Documento di testo LibreOffice",documentMS:"Documento di testo Microsoft Word",documentRTF:"Documento di testo Rich Text Format",documentTXT:"Documento di testo senza formattazione",documentWeb:"Pagina web",email:"E-mail",extensibleMarkupLanguage:"Linguaggio markup per dati",fileAI:"File vettoriale Adobe Illustrator",fileDB:"File di database",fileEPS:"File vettoriale Corel Draw",fileEXE:"File eseguibile Windows",fileJS:"File JavaScript",fileJSON:"File JavaScript Object Notation",filePHP:"File Hypertext Preprocessor",fileSASS:"File Syntactically Awesome StyleSheets",fileTS:"File TypeScript",fileTSX:"File TypeScript Extended Syntax",imageHEIC:"High Efficiency Image File Format",imagePNG:"Immagine Portable Network Graphics",imageSVG:"Immagine vettoriale Scalable Vector Graphics",imageTIFF:"Immagine Tag Image File Format",imageWEBP:"Immagine Google Web Picture",objectLinkingAndEmbedding:"Integrazione oggetti nei file",openDocumentFormat:"Documento OpenDocument",slideLO:"Slide di presentazione LibreOffice",slidePowerPoint:"Slide di presentazione PowerPoint",spreadsheetLO:"Foglio di calcolo LibreOffice",spreadsheetMS:"Foglio di calcolo Office",uncompressedArchive:"Archivio non compresso",uncompressedAudio:"Audio non compresso",unknown:"Formato file sconosciuto",videoHD:"Filmato HD ad alta risoluzione",videoSD:"Filmato SD a bassa risoluzione"};export{l as a,p as b,s as c,d,n as e,v as f,m as g,o as h,c as i}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* mustache.js - Logic-less {{mustache}} templates with JavaScript
|
|
3
|
-
* http://github.com/janl/mustache.js
|
|
4
|
-
*/
|
|
5
|
-
var t=Object.prototype.toString,i=Array.isArray||function(i){return"[object Array]"===t.call(i)};function n(t){return"function"==typeof t}function r(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function e(t,i){return null!=t&&"object"==typeof t&&i in t}var s=RegExp.prototype.test,o=/\S/;var h={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="},u=/\s*/,f=/\s+/,a=/\s*=/,c=/\s*\}/,l=/#|\^|\/|>|\{|&|=|!/;function v(t){this.string=t,this.tail=t,this.pos=0}function p(t,i){this.view=t,this.cache={".":this.view},this.parent=i}function d(){this.templateCache={_cache:{},set:function(t,i){this._cache[t]=i},get:function(t){return this._cache[t]},clear:function(){this._cache={}}}}v.prototype.eos=function(){return""===this.tail},v.prototype.scan=function(t){var i=this.tail.match(t);if(!i||0!==i.index)return"";var n=i[0];return this.tail=this.tail.substring(n.length),this.pos+=n.length,n},v.prototype.scanUntil=function(t){var i,n=this.tail.search(t);switch(n){case-1:i=this.tail,this.tail="";break;case 0:i="";break;default:i=this.tail.substring(0,n),this.tail=this.tail.substring(n)}return this.pos+=i.length,i},p.prototype.push=function(t){return new p(t,this)},p.prototype.lookup=function(t){var i,r,s=this.cache;if(s.hasOwnProperty(t))i=s[t];else{for(var o,h,u,f=this,a=!1;f;){if(t.indexOf(".")>0)for(o=f.view,h=t.split("."),u=0;null!=o&&u<h.length;)u===h.length-1&&(a=e(o,h[u])||null!=(r=o)&&"object"!=typeof r&&r.hasOwnProperty&&r.hasOwnProperty(h[u])),o=o[h[u++]];else o=f.view[t],a=e(f.view,t);if(a){i=o;break}f=f.parent}s[t]=i}return n(i)&&(i=i.call(this.view)),i},d.prototype.clearCache=function(){void 0!==this.templateCache&&this.templateCache.clear()},d.prototype.parse=function(t,n){var e=this.templateCache,h=t+":"+(n||g.tags).join(":"),p=void 0!==e,d=p?e.get(h):void 0;return null==d&&(d=function(t,n){if(!t)return[];var e,h,p,d=!1,w=[],b=[],y=[],m=!1,x=!1,E="",j=0;function k(){if(m&&!x)for(;y.length;)delete b[y.pop()];else y=[];m=!1,x=!1}function C(t){if("string"==typeof t&&(t=t.split(f,2)),!i(t)||2!==t.length)throw new Error("Invalid tags: "+t);e=new RegExp(r(t[0])+"\\s*"),h=new RegExp("\\s*"+r(t[1])),p=new RegExp("\\s*"+r("}"+t[1]))}C(n||g.tags);for(var R,S,U,A,I,L,O=new v(t);!O.eos();){if(R=O.pos,U=O.scanUntil(e))for(var T=0,$=U.length;T<$;++T)(function(t,i){return s.call(o,i)})(0,A=U.charAt(T))?(x=!0,d=!0,E+=" "):(y.push(b.length),E+=A),b.push(["text",A,R,R+1]),R+=1,"\n"===A&&(k(),E="",j=0,d=!1);if(!O.scan(e))break;if(m=!0,S=O.scan(l)||"name",O.scan(u),"="===S?(U=O.scanUntil(a),O.scan(a),O.scanUntil(h)):"{"===S?(U=O.scanUntil(p),O.scan(c),O.scanUntil(h),S="&"):U=O.scanUntil(h),!O.scan(h))throw new Error("Unclosed tag at "+O.pos);if(I=">"==S?[S,U,R,O.pos,E,j,d]:[S,U,R,O.pos],j++,b.push(I),"#"===S||"^"===S)w.push(I);else if("/"===S){if(!(L=w.pop()))throw new Error('Unopened section "'+U+'" at '+R);if(L[1]!==U)throw new Error('Unclosed section "'+L[1]+'" at '+R)}else"name"===S||"{"===S||"&"===S?x=!0:"="===S&&C(U)}if(k(),L=w.pop())throw new Error('Unclosed section "'+L[1]+'" at '+O.pos);return function(t){for(var i,n=[],r=n,e=[],s=0,o=t.length;s<o;++s)switch((i=t[s])[0]){case"#":case"^":r.push(i),e.push(i),r=i[4]=[];break;case"/":e.pop()[5]=i[2],r=e.length>0?e[e.length-1][4]:n;break;default:r.push(i)}return n}(function(t){for(var i,n,r=[],e=0,s=t.length;e<s;++e)(i=t[e])&&("text"===i[0]&&n&&"text"===n[0]?(n[1]+=i[1],n[3]=i[3]):(r.push(i),n=i));return r}(b))}(t,n),p&&e.set(h,d)),d},d.prototype.render=function(t,i,n,r){var e=this.getConfigTags(r),s=this.parse(t,e),o=i instanceof p?i:new p(i,void 0);return this.renderTokens(s,o,n,t,r)},d.prototype.renderTokens=function(t,i,n,r,e){for(var s,o,h,u="",f=0,a=t.length;f<a;++f)h=void 0,"#"===(o=(s=t[f])[0])?h=this.renderSection(s,i,n,r,e):"^"===o?h=this.renderInverted(s,i,n,r,e):">"===o?h=this.renderPartial(s,i,n,e):"&"===o?h=this.unescapedValue(s,i):"name"===o?h=this.escapedValue(s,i,e):"text"===o&&(h=this.rawValue(s)),void 0!==h&&(u+=h);return u},d.prototype.renderSection=function(t,r,e,s,o){var h=this,u="",f=r.lookup(t[1]);if(f){if(i(f))for(var a=0,c=f.length;a<c;++a)u+=this.renderTokens(t[4],r.push(f[a]),e,s,o);else if("object"==typeof f||"string"==typeof f||"number"==typeof f)u+=this.renderTokens(t[4],r.push(f),e,s,o);else if(n(f)){if("string"!=typeof s)throw new Error("Cannot use higher-order sections without the original template");null!=(f=f.call(r.view,s.slice(t[3],t[5]),(function(t){return h.render(t,r,e,o)})))&&(u+=f)}else u+=this.renderTokens(t[4],r,e,s,o);return u}},d.prototype.renderInverted=function(t,n,r,e,s){var o=n.lookup(t[1]);if(!o||i(o)&&0===o.length)return this.renderTokens(t[4],n,r,e,s)},d.prototype.indentPartial=function(t,i,n){for(var r=i.replace(/[^ \t]/g,""),e=t.split("\n"),s=0;s<e.length;s++)e[s].length&&(s>0||!n)&&(e[s]=r+e[s]);return e.join("\n")},d.prototype.renderPartial=function(t,i,r,e){if(r){var s=this.getConfigTags(e),o=n(r)?r(t[1]):r[t[1]];if(null!=o){var h=t[4],u=o;0==t[5]&&h&&(u=this.indentPartial(o,h,t[6]));var f=this.parse(u,s);return this.renderTokens(f,i,r,u,e)}}},d.prototype.unescapedValue=function(t,i){var n=i.lookup(t[1]);if(null!=n)return n},d.prototype.escapedValue=function(t,i,n){var r=this.getConfigEscape(n)||g.escape,e=i.lookup(t[1]);if(null!=e)return"number"==typeof e&&r===g.escape?String(e):r(e)},d.prototype.rawValue=function(t){return t[1]},d.prototype.getConfigTags=function(t){return i(t)?t:t&&"object"==typeof t?t.tags:void 0},d.prototype.getConfigEscape=function(t){return t&&"object"==typeof t&&!i(t)?t.escape:void 0};var g={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:void 0,escape:void 0,parse:void 0,render:void 0,Scanner:void 0,Context:void 0,Writer:void 0,set templateCache(t){w.templateCache=t},get templateCache(){return w.templateCache}},w=new d;g.clearCache=function(){return w.clearCache()},g.parse=function(t,i){return w.parse(t,i)},g.render=function(t,n,r,e){if("string"!=typeof t)throw new TypeError('Invalid template! Template should be a "string" but "'+(i(s=t)?"array":typeof s)+'" was given as the first argument for mustache#render(template, view, partials)');var s;return w.render(t,n,r,e)},g.escape=function(t){return String(t).replace(/[&<>"'`=\/]/g,(function(t){return h[t]}))},g.Scanner=v,g.Context=p,g.Writer=d;class b{constructor(t){this.rollbackLanguage="en",this.set=t=>{this.config=t},this.lang=t=>(this.element=t,this.closestElement=this.element.closest("[lang]"),this.closestElement&&this.closestElement.lang?(this.language=this.closestElement.lang,this.language):(this.language=this.rollbackLanguage,this.language)),this.update=t=>{const i=null!=t?t:this.element.shadowRoot;i&&i.querySelectorAll("*").forEach((t=>{t.tagName.toLowerCase().startsWith("mds-")&&t&&"updateLang"in t&&t.updateLang()}))},this.pluralize=(t,i)=>{const n=this.config[this.language]?this.config[this.language][t]:this.config[this.rollbackLanguage][t],r=[];Array.isArray(n)?(r.push(n[0]),r.push(n[1])):(r.push(n),r.push(n));const[e]=r;let s=e;const o=Object.keys(i);if(o.length>0){const[t]=o;"number"==typeof i[t]&&1!==i[t]&&(s=r[1])}return g.render(s,i)},this.get=(t,i)=>i?this.pluralize(t,i):this.config[this.language]?this.config[this.language][t]:this.config[this.rollbackLanguage][t],t&&this.set(t)}}export{b as L}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{proxyCustomElement as a,HTMLElement as t,h as s,Host as r,transformTag as e}from"@stencil/core/internal/client";import{d as m}from"./mds-avatar2.js";import{d as o}from"./mds-button2.js";import{d as i}from"./mds-icon2.js";import{d}from"./mds-img2.js";import{d as c}from"./mds-spinner2.js";import{d as v}from"./mds-text2.js";const n=a(class extends t{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.tone="weak"}render(){return s(r,{key:"8ad5051f47c51387c968570afd0934423f8c48dd"},s("mds-avatar",{key:"6b51faaa7960a47e919d0b486f2418d8d6acceb6",class:"avatar",count:this.count,initials:this.initials,src:this.src,tone:this.tone,variant:this.variant}))}static get style(){return"@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@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)))){:host,:root{--mds-avatar-stack-item-lg-size:var(--mds-avatar-stack-lg-size,var(--spacing-1500,3.75rem));--mds-avatar-stack-item-md-size:var(--mds-avatar-stack-md-size,var(--spacing-1200,3rem));--mds-avatar-stack-item-sm-size:var(--mds-avatar-stack-sm-size,var(--spacing-900,2.25rem));--mds-avatar-stack-item-lg-border:var(--mds-avatar-stack-lg-border,var(--spacing-100,.25rem));--mds-avatar-stack-item-md-border:var(--mds-avatar-stack-md-border,var(--spacing-100,.25rem));--mds-avatar-stack-item-sm-border:var(--mds-avatar-stack-sm-border,var(--spacing-50,.125rem));--mds-avatar-stack-item-lg-offset:var(--mds-avatar-stack-lg-offset,2);--mds-avatar-stack-item-md-offset:var(--mds-avatar-stack-md-offset,1.75);--mds-avatar-stack-item-sm-offset:var(--mds-avatar-stack-sm-offset,1.5)}*,::backdrop,:after,:before{--mds-avatar-stack-item-background:var(--mds-avatar-stack-background,rgb(var(--tone-neutral,0 0 0)));--mds-avatar-stack-item-count-background-color:var(--mds-avatar-stack-count-background-color,rgb(var(--tone-neutral-09,76 76 76)));--mds-avatar-stack-item-count-color:var(--mds-avatar-stack-count-color,rgb(var(--tone-neutral-04,218 218 218)))}}}@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-avatar: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-avatar-stack-item-background:var(--mds-avatar-stack-background,rgb(var(--tone-neutral,0 0 0)));--mds-avatar-stack-item-count-background-color:var(--mds-avatar-stack-count-background-color,rgb(var(--tone-neutral-09,76 76 76)));--mds-avatar-stack-item-count-color:var(--mds-avatar-stack-count-color,rgb(var(--tone-neutral-04,218 218 218)));--mds-avatar-stack-item-lg-size:var(--mds-avatar-stack-lg-size,calc(var(--spacing,.0025rem)*1500));--mds-avatar-stack-item-md-size:var(--mds-avatar-stack-md-size,calc(var(--spacing,.0025rem)*1200));--mds-avatar-stack-item-sm-size:var(--mds-avatar-stack-sm-size,calc(var(--spacing,.0025rem)*900));--mds-avatar-stack-item-lg-border:var(--mds-avatar-stack-lg-border,calc(var(--spacing,.0025rem)*100));--mds-avatar-stack-item-md-border:var(--mds-avatar-stack-md-border,calc(var(--spacing,.0025rem)*100));--mds-avatar-stack-item-sm-border:var(--mds-avatar-stack-sm-border,calc(var(--spacing,.0025rem)*100));--mds-avatar-stack-item-lg-offset:var(--mds-avatar-stack-lg-offset,2);--mds-avatar-stack-item-md-offset:var(--mds-avatar-stack-md-offset,1.75);--mds-avatar-stack-item-sm-offset:var(--mds-avatar-stack-sm-offset,1.5);--mds-avatar-stack-item-border:var(--mds-avatar-stack-md-border,var(--spacing-100,.25rem));--mds-avatar-stack-item-size:var(--mds-avatar-stack-item-md-size,var(--mds-avatar-stack-md-size,var(--spacing-1200,3rem)));--mds-avatar-stack-item-offset:var(--mds-avatar-stack-item-md-offset,var(--mds-avatar-stack-md-offset,1.75));--mds-avatar-stack-item-offset-margin:calc(var(--mds-avatar-stack-item-size)/var(--mds-avatar-stack-item-offset));display:inline-flex;height:var(--mds-avatar-stack-item-size);position:relative;width:var(--mds-avatar-stack-item-size)}:host(:not(:first-child)){margin-left:calc(var(--mds-avatar-stack-item-size)*-1 - var(--mds-avatar-stack-item-offset-margin)*-1)}.avatar{border:var(--mds-avatar-stack-item-border) solid var(--mds-avatar-stack-item-background,var(--mds-avatar-stack-background,rgb(var(--tone-neutral,0 0 0))));box-sizing:border-box;height:var(--mds-avatar-stack-item-size);min-width:var(--mds-avatar-stack-item-size);position:absolute;width:var(--mds-avatar-stack-item-size)}:host([count]) .avatar{--mds-avatar-background-color:var(--mds-avatar-stack-item-count-background-color,var(--mds-avatar-stack-count-background-color,rgb(var(--tone-neutral-09,76 76 76))));--mds-avatar-color:var(--mds-avatar-stack-item-count-color,var(--mds-avatar-stack-count-color,rgb(var(--tone-neutral-04,218 218 218))))}:host-context(mds-avatar-stack[size=sm]){--mds-avatar-stack-item-size:var(--mds-avatar-stack-item-sm-size,var(--mds-avatar-stack-sm-size,var(--spacing-900,2.25rem)));--mds-avatar-stack-item-border:var(--mds-avatar-stack-item-sm-border,var(--mds-avatar-stack-sm-border,var(--spacing-50,.125rem)));--mds-avatar-stack-item-offset:var(--mds-avatar-stack-item-sm-offset,var(--mds-avatar-stack-sm-offset,1.5))}:host-context(mds-avatar-stack[size=md]){--mds-avatar-stack-item-size:var(--mds-avatar-stack-item-md-size,var(--mds-avatar-stack-md-size,var(--spacing-1200,3rem)));--mds-avatar-stack-item-border:var(--mds-avatar-stack-item-md-border,var(--mds-avatar-stack-md-border,var(--spacing-100,.25rem)));--mds-avatar-stack-item-offset:var(--mds-avatar-stack-item-md-offset,var(--mds-avatar-stack-md-offset,1.75))}:host-context(mds-avatar-stack[size=lg]){--mds-avatar-stack-item-size:var(--mds-avatar-stack-item-lg-size,var(--mds-avatar-stack-lg-size,var(--spacing-1500,3.75rem)));--mds-avatar-stack-item-border:var(--mds-avatar-stack-item-lg-border,var(--mds-avatar-stack-lg-border,var(--spacing-100,.25rem)));--mds-avatar-stack-item-offset:var(--mds-avatar-stack-item-lg-offset,var(--mds-avatar-stack-lg-offset,2))}"}},[1,"mds-avatar-stack-item",{count:[514],initials:[1537],src:[513],tone:[513],variant:[513]}]);function k(){"undefined"!=typeof customElements&&["mds-avatar-stack-item","mds-avatar","mds-button","mds-icon","mds-img","mds-spinner","mds-text"].forEach((a=>{switch(a){case"mds-avatar-stack-item":customElements.get(e(a))||customElements.define(e(a),n);break;case"mds-avatar":customElements.get(e(a))||m();break;case"mds-button":customElements.get(e(a))||o();break;case"mds-icon":customElements.get(e(a))||i();break;case"mds-img":customElements.get(e(a))||d();break;case"mds-spinner":customElements.get(e(a))||c();break;case"mds-text":customElements.get(e(a))||v()}}))}export{n as M,k as d}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{proxyCustomElement as a,HTMLElement as t,h as r,Host as e,transformTag as o}from"@stencil/core/internal/client";import{c as s}from"./clsx.js";import{g as i}from"./_commonjsHelpers.js";import{d as n}from"./mds-button2.js";import{d as l}from"./mds-icon2.js";import{d}from"./mds-img2.js";import{d as c}from"./mds-spinner2.js";import{d as v}from"./mds-text2.js";var m,b={exports:{}},h=(m||(m=1,b.exports=function(a){if(a){var t=function(a){return[].slice.call(a)},r=3,e=[],o=null,s="requestAnimationFrame"in a?function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{sync:!1};a.cancelAnimationFrame(o);var r=function(){return n(e.filter((function(a){return a.dirty&&a.active})))};if(t.sync)return r();o=a.requestAnimationFrame(r)}:function(){},i=function(a){return function(t){e.forEach((function(t){return t.dirty=a})),s(t)}},n=function(a){a.filter((function(a){return!a.styleComputed})).forEach((function(a){a.styleComputed=v(a)})),a.filter(m).forEach(b);var t=a.filter(c);t.forEach(d),t.forEach((function(a){b(a),l(a)})),t.forEach(h)},l=function(a){return a.dirty=0},d=function(a){a.availableWidth=a.element.parentNode.clientWidth,a.currentWidth=a.element.scrollWidth,a.previousFontSize=a.currentFontSize,a.currentFontSize=Math.min(Math.max(a.minSize,a.availableWidth/a.currentWidth*a.previousFontSize),a.maxSize),a.whiteSpace=a.multiLine&&a.currentFontSize===a.minSize?"normal":"nowrap"},c=function(a){return 2!==a.dirty||2===a.dirty&&a.element.parentNode.clientWidth!==a.availableWidth},v=function(t){var r=a.getComputedStyle(t.element,null);return t.currentFontSize=parseFloat(r.getPropertyValue("font-size")),t.display=r.getPropertyValue("display"),t.whiteSpace=r.getPropertyValue("white-space"),!0},m=function(a){var t=!1;return!a.preStyleTestCompleted&&(/inline-/.test(a.display)||(t=!0,a.display="inline-block"),"nowrap"!==a.whiteSpace&&(t=!0,a.whiteSpace="nowrap"),a.preStyleTestCompleted=!0,t)},b=function(a){a.element.style.whiteSpace=a.whiteSpace,a.element.style.display=a.display,a.element.style.fontSize=a.currentFontSize+"px"},h=function(a){a.element.dispatchEvent(new CustomEvent("fit",{detail:{oldValue:a.previousFontSize,newValue:a.currentFontSize,scaleFactor:a.currentFontSize/a.previousFontSize}}))},u=function(a,t){return function(r){a.dirty=t,a.active&&s(r)}},g=function(a){return function(){e=e.filter((function(t){return t.element!==a.element})),a.observeMutations&&a.observer.disconnect(),a.element.style.whiteSpace=a.originalStyle.whiteSpace,a.element.style.display=a.originalStyle.display,a.element.style.fontSize=a.originalStyle.fontSize}},p=function(a){return function(){a.active||(a.active=!0,s())}},f=function(a){return function(){return a.active=!1}},y=function(a){a.observeMutations&&(a.observer=new MutationObserver(u(a,1)),a.observer.observe(a.element,a.observeMutations))},k={minSize:16,maxSize:512,multiLine:!0,observeMutations:"MutationObserver"in a&&{subtree:!0,childList:!0,characterData:!0}},w=null,x=function(){a.clearTimeout(w),w=a.setTimeout(i(2),j.observeWindowDelay)},z=["resize","orientationchange"];return Object.defineProperty(j,"observeWindow",{set:function(t){var r="".concat(t?"add":"remove","EventListener");z.forEach((function(t){a[r](t,x)}))}}),j.observeWindow=!0,j.observeWindowDelay=100,j.fitAll=i(r),j}function H(a,t){var o=Object.assign({},k,t),i=a.map((function(a){var t=Object.assign({},o,{element:a,active:!0});return function(a){a.originalStyle={whiteSpace:a.element.style.whiteSpace,display:a.element.style.display,fontSize:a.element.style.fontSize},y(a),a.newbie=!0,a.dirty=!0,e.push(a)}(t),{element:a,fit:u(t,r),unfreeze:p(t),freeze:f(t),unsubscribe:g(t)}}));return s(),i}function j(a){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof a?H(t(document.querySelectorAll(a)),r):H([a],r)[0]}}("undefined"==typeof window?null:window)),b.exports),u=i(h);const g=["bg-brand-maggioli-05","bg-label-amaranth-05","bg-label-aqua-05","bg-label-blue-05","bg-label-green-05","bg-label-lime-05","bg-label-orange-05","bg-label-orchid-05","bg-label-purple-05","bg-label-red-05","bg-label-sky-05","bg-label-violet-05","bg-label-yellow-05","bg-status-error-05","bg-status-info-05","bg-status-success-05","bg-status-warning-05"],p=a(class extends t{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.fallback=!1,this.loaded=!0,this.fittyInitialized=!1,this.textChanged=!1,this.variants=["amaranth","aqua","blue","error","green","info","lime","orange","orchid","primary","sky","success","violet","warning","yellow"],this.addFontResize=()=>{var a;if(this.fittyInitialized)return;const t=null===(a=this.element.shadowRoot)||void 0===a?void 0:a.querySelector(".fit");this.fittyElements=u(t,{minSize:10}),this.observer=new ResizeObserver((a=>{a.forEach((()=>{this.fittyElements.fit()}))})),this.observer.observe(this.element),this.fittyInitialized=!0},this.removeFontResize=()=>{this.fittyInitialized&&(this.fittyInitialized=!1,this.observer.unobserve(this.element))},this.checkText=a=>{if(""===a||void 0===a)this.fittyInitialized&&this.removeFontResize();else{if(this.fittyInitialized)return;this.fittyInitialized||this.addFontResize()}},this.checkInitialsVariant=()=>{if(void 0!==this.initials&&""!==this.initials){let a=this.initials.toLowerCase().replace(/[^a-zA-Z0-9]+/g,"").substring(0,2);1===a.length&&(a+=a),this.variant=this.variants[(a.substring(0,1).charCodeAt(0)+a.substring(1,2).charCodeAt(0))%g.length]}}}componentWillLoad(){this.checkInitialsVariant()}componentDidLoad(){void 0!==this.src&&(this.loaded=!1),void 0!==this.initials&&""!==this.initials&&this.checkText(this.initials),void 0===this.count||0===this.count||Number.isNaN(this.count)||this.checkText(this.count.toString())}componentDidRender(){this.textChanged&&(void 0!==this.initials&&""!==this.initials&&this.checkText(this.initials),void 0===this.count||0===this.count||Number.isNaN(this.count)||this.checkText(this.count.toString()),this.textChanged=!1)}initialsHandler(){this.textChanged=!0,this.checkInitialsVariant()}countHandler(){this.textChanged=!0,this.checkInitialsVariant()}srcHandler(a){void 0===a&&(this.loaded=!0)}iconHandler(a){void 0!==a&&(this.loaded=!0)}render(){return r(e,{key:"07722662312e0060753fac4b5db088d291fd4e44"},r("div",{key:"deea787618ef936db82200106b9a7cc06f59cb07",class:s("avatar",this.initials&&!this.fallback&&(void 0===this.src||""===this.src)&&"avatar--initials",(this.fallback||(void 0===this.icon||""===this.icon)&&(void 0===this.initials||""===this.initials)&&(void 0===this.src||""===this.src))&&"avatar--fallback",this.icon&&"avatar--icon",this.loaded?"avatar--loaded":"avatar--pending"),part:"wrapper"},this.initials&&(void 0===this.count||0===this.count||Number.isNaN(this.count))&&!this.fallback&&(void 0===this.src||""===this.src)&&r("div",{key:"5373fafa0241fd295c12ca0349a86b221de5ae7a",class:"initials-text"},r("span",{key:"d771f1f77354bdd0daf3fee4e124bcac2b8c92ed",class:"fit"},this.initials.substring(0,2))),this.count&&!this.fallback&&(void 0===this.src||""===this.src)&&r("div",{key:"e7e0ba534f34c0cff2f79224a5ffdde499345aa8",class:"initials-text"},r("span",{key:"4150adcaeed46edfe4a739bc894b712c394e9bf4",class:"fit"},"+",this.count)),this.src&&(void 0===this.count||0===this.count||Number.isNaN(this.count))&&!this.fallback&&(void 0===this.icon||""===this.icon)&&r("mds-img",{key:"1fae5e0e557de2adaa52f9cddcabd8cf8d0dd236",class:"image",loading:"lazy",onMdsImgLoadError:()=>{this.loaded=!0,this.fallback=!0},onMdsImgLoadSuccess:()=>{this.loaded=!0},part:"media",src:this.src}),this.icon&&(void 0===this.initials||""===this.initials)&&(void 0===this.count||0===this.count||Number.isNaN(this.count))&&r("mds-icon",{key:"ada49c8dde83c842fc9e73f85d09ff8ce1d680e8",class:"icon",part:"icon",name:this.icon}),(this.fallback||(void 0===this.icon||""===this.icon)&&(void 0===this.initials||""===this.initials)&&(void 0===this.count||0===this.count||Number.isNaN(this.count))&&(void 0===this.src||""===this.src))&&r("i",{key:"86182aed0f562e731682e465ee5c33df43fa5b0f",class:"fallback-icon",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4s-4 1.79-4 4s1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>'})))}get element(){return this}static get watchers(){return{initials:[{initialsHandler:0}],count:[{countHandler:0}],src:[{srcHandler:0}],icon:[{iconHandler:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@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-avatar-background-color-pending:rgb(var(--tone-neutral-08,107 107 107));--mds-avatar-background-color:rgb(var(--variant-primary-05,152 188 255));--mds-avatar-color:rgb(var(--variant-primary-10,0 49 142));--mds-avatar-radius:1000px;--mds-avatar-initials-padding:20%;--tw-font-weight:initial}}}@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-img):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-avatar-radius{syntax:"<length>";inherits:false;initial-value:1000px}@property --mds-avatar-initials-padding{syntax:"<percentage>";inherits:false;initial-value:20%}:host{--mds-avatar-background-color-pending:rgb(var(--tone-neutral-08,107 107 107));--mds-avatar-background-color:rgb(var(--variant-primary-05,152 188 255));--mds-avatar-color:rgb(var(--variant-primary-10,0 49 142));--mds-avatar-radius:var(--radius-full,1000px);--mds-avatar-initials-padding:20%;aspect-ratio:1;border-radius:var(--mds-avatar-radius,1000px);container:mds-avatar/inline-size;display:inline-flex;overflow:hidden;width:calc(var(--spacing,.0025rem)*1200)}.avatar{aspect-ratio:1;border-radius:var(--mds-avatar-radius,1000px);color:#0000;display:inline-flex;overflow:hidden;-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);transition-property:color,background-color,box-shadow,fill;width:100%}.avatar--pending{background-color:var(--mds-avatar-background-color-pending,rgb(var(--tone-neutral-08,107 107 107)))}.avatar--loaded{animation:none}.avatar--fallback,.avatar--icon,.avatar--initials{background-color:var(--mds-avatar-background-color,rgb(var(--variant-primary-05,152 188 255)));-webkit-box-shadow:none;box-shadow:none}.avatar--fallback,.avatar--initials{display:flex;place-items:stretch stretch}.avatar--fallback,.avatar--icon{padding:20%}.avatar--initials{padding:30% var(--mds-avatar-initials-padding,20%) 25%}.image{aspect-ratio:1;border-radius:var(--mds-avatar-radius,1000px)}.fallback-icon{aspect-ratio:1;display:flex;fill:var(--mds-avatar-color,rgb(var(--variant-primary-10,0 49 142)));width:100%}.fallback-icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}.initials-text{font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);--tw-font-weight:var(--font-weight-bold,700);align-items:center;color:var(--mds-avatar-color,rgb(var(--variant-primary-10,0 49 142)));display:flex;font-weight:var(--font-weight-bold,700);height:100%;justify-content:center;text-transform:uppercase;-webkit-user-select:none;user-select:none;width:100%}.fit{display:inline-block;white-space:nowrap!important}.icon{fill:var(--mds-avatar-color,rgb(var(--variant-primary-10,0 49 142)));height:100%;-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);transition-property:fill;-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));width:100%}@container (max-width:24px){:host-context(:not(.safari)) .avatar--initials{padding:0 var(--mds-avatar-initials-padding,20%)}:host-context(:not(.safari)) .initials-text{--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900)}}:host,:host([variant=primary]){--mds-avatar-background-color:rgb(var(--variant-primary-05,152 188 255));--mds-avatar-color:rgb(var(--variant-primary-10,0 49 142))}:is(:host,:host([variant=primary])):host([tone=weak]){--mds-avatar-background-color:rgb(var(--variant-primary-09,0 58 168));--mds-avatar-color:rgb(var(--variant-primary-05,152 188 255))}:host([variant=red]){--mds-avatar-background-color:rgb(var(--label-red-05,244 167 167));--mds-avatar-color:rgb(var(--label-red-10,115 15 15))}:host([variant=red]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-red-09,134 17 17));--mds-avatar-color:rgb(var(--label-red-05,244 167 167))}:host([variant=amaranth]){--mds-avatar-background-color:rgb(var(--label-amaranth-05,250 163 178));--mds-avatar-color:rgb(var(--label-amaranth-10,114 7 25))}:host([variant=amaranth]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-amaranth-09,135 8 30));--mds-avatar-color:rgb(var(--label-amaranth-05,250 163 178))}:host([variant=orchid]){--mds-avatar-background-color:rgb(var(--label-orchid-05,245 163 203));--mds-avatar-color:rgb(var(--label-orchid-10,111 12 61))}:host([variant=orchid]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-orchid-09,131 14 71));--mds-avatar-color:rgb(var(--label-orchid-05,245 163 203))}:host([variant=violet]){--mds-avatar-background-color:rgb(var(--label-violet-05,198 175 251));--mds-avatar-color:rgb(var(--label-violet-10,57 9 165))}:host([variant=violet]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-violet-09,67 11 195));--mds-avatar-color:rgb(var(--label-violet-05,198 175 251))}:host([variant=purple]){--mds-avatar-background-color:rgb(var(--label-purple-05,212 170 251));--mds-avatar-color:rgb(var(--label-purple-10,78 7 146))}:host([variant=purple]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-purple-09,92 8 173));--mds-avatar-color:rgb(var(--label-purple-05,212 170 251))}:host([variant=blue]){--mds-avatar-background-color:rgb(var(--label-blue-05,170 184 252));--mds-avatar-color:rgb(var(--label-blue-10,6 34 166))}:host([variant=blue]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-blue-09,7 40 196));--mds-avatar-color:rgb(var(--label-blue-05,170 184 252))}:host([variant=sky]){--mds-avatar-background-color:rgb(var(--label-sky-05,94 198 245));--mds-avatar-color:rgb(var(--label-sky-10,5 63 90))}:host([variant=sky]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-sky-09,6 76 107));--mds-avatar-color:rgb(var(--label-sky-05,94 198 245))}:host([variant=aqua]){--mds-avatar-background-color:rgb(var(--label-aqua-05,7 203 237));--mds-avatar-color:rgb(var(--label-aqua-10,2 65 76))}:host([variant=aqua]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-aqua-09,3 77 90));--mds-avatar-color:rgb(var(--label-aqua-05,7 203 237))}:host([variant=green]){--mds-avatar-background-color:rgb(var(--label-green-05,37 213 102));--mds-avatar-color:rgb(var(--label-green-10,12 68 33))}:host([variant=green]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-green-09,14 81 39));--mds-avatar-color:rgb(var(--label-green-05,37 213 102))}:host([variant=lime]){--mds-avatar-background-color:rgb(var(--label-lime-05,134 207 22));--mds-avatar-color:rgb(var(--label-lime-10,43 66 7))}:host([variant=lime]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-lime-09,51 79 8));--mds-avatar-color:rgb(var(--label-lime-05,134 207 22))}:host([variant=yellow]){--mds-avatar-background-color:rgb(var(--label-yellow-05,234 179 8));--mds-avatar-color:rgb(var(--label-yellow-10,75 57 3))}:host([variant=yellow]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-yellow-09,89 68 3));--mds-avatar-color:rgb(var(--label-yellow-05,234 179 8))}:host([variant=orange]){--mds-avatar-background-color:rgb(var(--label-orange-05,251 168 111));--mds-avatar-color:rgb(var(--label-orange-10,99 42 3))}:host([variant=orange]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-orange-09,116 49 3));--mds-avatar-color:rgb(var(--label-orange-05,251 168 111))}:host([variant=error]){--mds-avatar-background-color:rgb(var(--status-error-05,250 165 160));--mds-avatar-color:rgb(var(--status-error-10,115 0 0))}:host([variant=error]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--status-error-09,135 0 14));--mds-avatar-color:rgb(var(--status-error-05,250 165 160))}:host([variant=warning]){--mds-avatar-background-color:rgb(var(--status-warning-05,237 177 0));--mds-avatar-color:rgb(var(--status-warning-10,77 57 0))}:host([variant=warning]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--status-warning-09,90 67 0));--mds-avatar-color:rgb(var(--status-warning-05,237 177 0))}:host([variant=info]){--mds-avatar-background-color:rgb(var(--status-info-05,112 198 234));--mds-avatar-color:rgb(var(--status-info-10,0 61 103))}:host([variant=info]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--status-info-09,0 73 116));--mds-avatar-color:rgb(var(--status-info-05,112 198 234))}:host([variant=success]){--mds-avatar-background-color:rgb(var(--status-success-05,107 206 147));--mds-avatar-color:rgb(var(--status-success-10,0 69 0))}:host([variant=success]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--status-success-09,0 82 9));--mds-avatar-color:rgb(var(--status-success-05,107 206 147))}:is(:host-context(:root.pref-animation-reduce) .avatar,:host-context(:root.pref-animation-reduce) .icon){transition-duration:0s}:is(:host-context(:root.pref-contrast-more) .avatar--icon,:host-context(:root.pref-contrast-more) .avatar--fallback,:host-context(:root.pref-contrast-more) .avatar--initials){-webkit-box-shadow:var(--shadow-outline-50) inset;box-shadow:var(--shadow-outline-50) inset}@property --tw-font-weight{syntax:"*";inherits:false}@media (prefers-reduced-motion){:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))),:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))) .avatar,:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))) .icon{transition-duration:0s}}@media (prefers-contrast:more){:is(:host-context(:root.pref-contrast-system),:host-context(:root:not([data-magma-pref]))) .avatar--fallback,:is(:host-context(:root.pref-contrast-system),:host-context(:root:not([data-magma-pref]))) .avatar--icon,:is(:host-context(:root.pref-contrast-system),:host-context(:root:not([data-magma-pref]))) .avatar--initials{-webkit-box-shadow:var(--shadow-outline-50),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a);box-shadow:var(--shadow-outline-50),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a)}}'}},[1,"mds-avatar",{icon:[513],initials:[1537],count:[1538],src:[513],tone:[513],variant:[1537],fallback:[32],loaded:[32]},void 0,{initials:[{initialsHandler:0}],count:[{countHandler:0}],src:[{srcHandler:0}],icon:[{iconHandler:0}]}]);function f(){"undefined"!=typeof customElements&&["mds-avatar","mds-button","mds-icon","mds-img","mds-spinner","mds-text"].forEach((a=>{switch(a){case"mds-avatar":customElements.get(o(a))||customElements.define(o(a),p);break;case"mds-button":customElements.get(o(a))||n();break;case"mds-icon":customElements.get(o(a))||l();break;case"mds-img":customElements.get(o(a))||d();break;case"mds-spinner":customElements.get(o(a))||c();break;case"mds-text":customElements.get(o(a))||v()}}))}export{p as M,f as d}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{proxyCustomElement as e,HTMLElement as r,h as t,Host as o,transformTag as a}from"@stencil/core/internal/client";import{r as s,s as n}from"./slot.js";import{d}from"./mds-text2.js";const b=e(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.variant="green",this.tone="weak",this.typography="option",this.onSlotChangeHandler=()=>{void 0!==this.label&&""!==this.label||(this.label=s(this.host))}}labelChanged(e){this.label=n(e)}render(){return t(o,{key:"1c990216eae1dd3ad54815cd9ce69cf06bac9d19"},t("mds-text",{key:"32185147bbdec26ce093679d8162482710782f61",tag:"span",typography:this.typography,variant:"info",text:this.label},this.label||t("slot",{key:"b3ce51b1012d918804f37a0a765fd23c081d4e26",onSlotchange:this.onSlotChangeHandler})))}get host(){return this}static get watchers(){return{label:[{labelChanged:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@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)))){:host,:root{--mds-badge-border-width:1px;--mds-badge-radius:10px}*,::backdrop,:after,:before{--mds-badge-background:rgb(var(--label-sky-09,6 76 107));--mds-badge-border-color:rgb(var(--label-sky-06,13 158 224));--mds-badge-color:rgb(var(--label-sky-03,191 232 251))}}}@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text: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-badge-border-width{syntax:"<length>";inherits:true;initial-value:1px}@property --mds-badge-radius{syntax:"<length>";inherits:true;initial-value:10px}:host{--mds-badge-background:rgb(var(--label-sky-09,6 76 107));--mds-badge-border-color:rgb(var(--label-sky-06,13 158 224));--mds-badge-border-width:1px;--mds-badge-color:rgb(var(--label-sky-03,191 232 251));--mds-badge-radius:var(--radius-lg,10px);align-items:center;background-color:var(--mds-badge-background,rgb(var(--label-sky-09,6 76 107)));border-radius:var(--mds-badge-radius,10px);color:var(--mds-badge-color,rgb(var(--label-sky-03,191 232 251)));display:inline-flex;min-width:min-content;padding:calc(var(--spacing,.0025rem)*100) calc(var(--spacing,.0025rem)*200);-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);transition-property:background-color,border-color,border-width,color;-webkit-transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94));transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94));--mds-badge-color:rgb(var(--tone-neutral,0 0 0))}:host([tone=outline]){border-color:var(--mds-badge-border-color,rgb(var(--label-sky-06,13 158 224)));border-style:solid;border-width:var(--mds-badge-border-width,1px)}:host([tone=text]){--mds-badge-background:rgb(var(--tone-neutral,0 0 0))}:host([variant=red]){--mds-badge-background:rgb(var(--label-red-04,247 195 195))}:host([variant=red]):host([tone=weak]){--mds-badge-background:rgb(var(--label-red-09,134 17 17));--mds-badge-color:rgb(var(--label-red-02,252 234 234))}:host([variant=red]):host([tone=outline]){--mds-badge-border-color:rgb(var(--label-red-06,236 110 110));--mds-badge-color:rgb(var(--label-red-04,247 195 195))}:host([variant=amaranth]){--mds-badge-background:rgb(var(--label-amaranth-04,251 192 203))}:host([variant=amaranth]):host([tone=weak]){--mds-badge-background:rgb(var(--label-amaranth-09,135 8 30));--mds-badge-color:rgb(var(--label-amaranth-02,254 233 237))}:host([variant=amaranth]):host([tone=outline]){--mds-badge-border-color:rgb(var(--label-amaranth-06,246 99 125));--mds-badge-color:rgb(var(--label-amaranth-04,251 192 203))}:host([variant=aqua]){--mds-badge-background:rgb(var(--label-aqua-04,81 225 250))}:host([variant=aqua]):host([tone=weak]){--mds-badge-background:rgb(var(--label-aqua-09,3 77 90));--mds-badge-color:rgb(var(--label-aqua-02,203 246 254))}:host([variant=aqua]):host([tone=outline]){--mds-badge-border-color:rgb(var(--label-aqua-06,5 163 190));--mds-badge-color:rgb(var(--label-aqua-04,81 225 250))}:host([variant=blue]){--mds-badge-background:rgb(var(--label-blue-04,196 206 253))}:host([variant=blue]):host([tone=weak]){--mds-badge-background:rgb(var(--label-blue-09,7 40 196));--mds-badge-color:rgb(var(--label-blue-02,234 238 254))}:host([variant=blue]):host([tone=outline]){--mds-badge-border-color:rgb(var(--label-blue-06,121 143 250));--mds-badge-color:rgb(var(--label-blue-04,196 206 253))}:host([variant=green]){--mds-badge-background:rgb(var(--label-green-04,113 230 156))}:host([variant=green]):host([tone=weak]){--mds-badge-background:rgb(var(--label-green-09,14 81 39));--mds-badge-color:rgb(var(--label-green-02,211 247 224))}:host([variant=green]):host([tone=outline]){--mds-badge-border-color:rgb(var(--label-green-06,30 171 82));--mds-badge-color:rgb(var(--label-green-04,113 230 156))}:host([variant=lime]){--mds-badge-background:rgb(var(--label-lime-04,148 229 25))}:host([variant=lime]):host([tone=weak]){--mds-badge-background:rgb(var(--label-lime-09,51 79 8));--mds-badge-color:rgb(var(--label-lime-02,223 247 185))}:host([variant=lime]):host([tone=outline]){--mds-badge-border-color:rgb(var(--label-lime-06,108 167 18));--mds-badge-color:rgb(var(--label-lime-04,148 229 25))}:host([variant=orange]){--mds-badge-background:rgb(var(--label-orange-04,252 196 158))}:host([variant=orange]):host([tone=weak]){--mds-badge-background:rgb(var(--label-orange-09,116 49 3));--mds-badge-color:rgb(var(--label-orange-02,254 235 222))}:host([variant=orange]):host([tone=outline]){--mds-badge-border-color:rgb(var(--label-orange-06,247 105 6));--mds-badge-color:rgb(var(--label-orange-04,252 196 158))}:host([variant=orchid]){--mds-badge-background:rgb(var(--label-orchid-04,248 192 220))}:host([variant=orchid]):host([tone=weak]){--mds-badge-background:rgb(var(--label-orchid-09,131 14 71));--mds-badge-color:rgb(var(--label-orchid-02,253 233 243))}:host([variant=orchid]):host([tone=outline]){--mds-badge-border-color:rgb(var(--label-orchid-06,239 99 168));--mds-badge-color:rgb(var(--label-orchid-04,248 192 220))}:host([variant=sky]){--mds-badge-background:rgb(var(--label-sky-04,148 217 249))}:host([variant=sky]):host([tone=weak]){--mds-badge-background:rgb(var(--label-sky-09,6 76 107));--mds-badge-color:rgb(var(--label-sky-02,219 242 253))}:host([variant=sky]):host([tone=outline]){--mds-badge-border-color:rgb(var(--label-sky-06,13 158 224));--mds-badge-color:rgb(var(--label-sky-04,148 217 249))}:host([variant=violet]){--mds-badge-background:rgb(var(--label-violet-04,216 200 252))}:host([variant=violet]):host([tone=weak]){--mds-badge-background:rgb(var(--label-violet-09,67 11 195));--mds-badge-color:rgb(var(--label-violet-02,241 235 254))}:host([variant=violet]):host([tone=outline]){--mds-badge-border-color:rgb(var(--label-violet-06,166 129 248));--mds-badge-color:rgb(var(--label-violet-04,216 200 252))}:host([variant=purple]){--mds-badge-background:rgb(var(--label-purple-04,225 196 252))}:host([variant=purple]):host([tone=weak]){--mds-badge-background:rgb(var(--label-purple-09,92 8 173));--mds-badge-color:rgb(var(--label-purple-02,245 234 254))}:host([variant=purple]):host([tone=outline]){--mds-badge-border-color:rgb(var(--label-purple-06,186 119 249));--mds-badge-color:rgb(var(--label-purple-04,225 196 252))}:host([variant=yellow]){--mds-badge-background:rgb(var(--label-yellow-04,248 202 60))}:host([variant=yellow]):host([tone=weak]){--mds-badge-background:rgb(var(--label-yellow-09,89 68 3));--mds-badge-color:rgb(var(--label-yellow-02,253 238 190))}:host([variant=yellow]):host([tone=outline]){--mds-badge-border-color:rgb(var(--label-yellow-06,188 143 6));--mds-badge-color:rgb(var(--label-yellow-04,248 202 60))}:host([variant=warning]){--mds-badge-background:rgb(var(--status-warning-04,255 200 33))}:host([variant=warning]):host([tone=weak]){--mds-badge-background:rgb(var(--status-warning-09,90 67 0));--mds-badge-color:rgb(var(--status-warning-02,255 237 185))}:host([variant=warning]):host([tone=outline]){--mds-badge-border-color:rgb(var(--status-warning-06,190 142 0));--mds-badge-color:rgb(var(--status-warning-04,255 200 33))}:host([variant=error]){--mds-badge-background:rgb(var(--status-error-04,254 193 189))}:host([variant=error]):host([tone=weak]){--mds-badge-background:rgb(var(--status-error-09,135 0 14));--mds-badge-color:rgb(var(--status-error-02,255 234 231))}:host([variant=error]):host([tone=outline]){--mds-badge-border-color:rgb(var(--status-error-06,239 108 105));--mds-badge-color:rgb(var(--status-error-04,254 193 189))}:host([variant=success]){--mds-badge-background:rgb(var(--status-success-04,158 222 181))}:host([variant=success]):host([tone=weak]){--mds-badge-background:rgb(var(--status-success-09,0 82 9));--mds-badge-color:rgb(var(--status-success-02,222 244 228))}:host([variant=success]):host([tone=outline]){--mds-badge-border-color:rgb(var(--status-success-06,0 171 97));--mds-badge-color:rgb(var(--status-success-04,158 222 181))}:host([variant=info]){--mds-badge-background:rgb(var(--status-info-04,159 216 241))}:host([variant=info]):host([tone=weak]){--mds-badge-background:rgb(var(--status-info-09,0 73 116));--mds-badge-color:rgb(var(--status-info-02,222 242 250))}:host([variant=info]):host([tone=outline]){--mds-badge-border-color:rgb(var(--status-info-06,0 161 208));--mds-badge-color:rgb(var(--status-info-04,159 216 241))}:host([variant=light]){--mds-badge-background:rgb(var(--tone-neutral,0 0 0));--mds-badge-color:rgb(var(--tone-neutral-03,233 233 233))}:host([variant=light]):host([tone=weak]){--mds-badge-background:rgb(var(--tone-neutral-10,60 60 60));--mds-badge-color:rgb(var(--tone-neutral-03,233 233 233))}:host([variant=light]):host([tone=outline]){--mds-badge-background:rgb(var(--tone-neutral,0 0 0));--mds-badge-color:rgb(var(--tone-neutral-02,244 244 244));--mds-badge-border-color:rgb(var(--tone-neutral-06,158 158 158))}:host([variant=dark]){--mds-badge-background:rgb(var(--tone-neutral-03,233 233 233));--mds-badge-color:rgb(var(--tone-neutral,0 0 0))}:host([variant=dark]):host([tone=weak]){--mds-badge-background:rgb(var(--tone-neutral-10,60 60 60));--mds-badge-color:rgb(var(--tone-neutral-03,233 233 233))}:host([variant=dark]):host([tone=outline]){--mds-badge-background:rgb(var(--tone-neutral,0 0 0));--mds-badge-color:rgb(var(--tone-neutral-02,244 244 244));--mds-badge-border-color:rgb(var(--tone-neutral-06,158 158 158))}:host([tone=outline]),:host([tone=text]){--mds-badge-background:transparent}:host-context(:root.pref-animation-reduce){transition-duration:0s}:is(:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([tone=strong]),:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([tone=weak])){-webkit-box-shadow:var(--shadow-outline) inset;box-shadow:var(--shadow-outline) inset}:host-context(:root.pref-contrast-more):host([tone=weak]){-webkit-box-shadow:var(--shadow-outline) inset;box-shadow:var(--shadow-outline) inset}:is(:host-context(:root.pref-contrast-more.pref-theme-dark):host([tone=strong]),:host-context(:root.pref-contrast-more.pref-theme-dark):host([tone=weak])){-webkit-box-shadow:var(--shadow-outline-strong,#00000040 0 1px 1px,#00000021 0 0 1px 1px) inset;box-shadow:var(--shadow-outline-strong,#00000040 0 1px 1px,#00000021 0 0 1px 1px) inset}@media (prefers-reduced-motion){:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))){transition-duration:0s}}@media (prefers-color-scheme:dark){:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([tone=strong]),:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([tone=weak]){-webkit-box-shadow:var(--shadow-outline) inset;box-shadow:var(--shadow-outline) inset}:is(:host-context(:root.pref-contrast-more.pref-theme-system):host([tone=strong]),:host-context(:root.pref-contrast-more.pref-theme-system):host([tone=weak])){-webkit-box-shadow:var(--shadow-outline-strong,#00000040 0 1px 1px,#00000021 0 0 1px 1px) inset;box-shadow:var(--shadow-outline-strong,#00000040 0 1px 1px,#00000021 0 0 1px 1px) inset}}@media (prefers-contrast:more){:host-context(:root.pref-contrast-system){-webkit-box-shadow:var(--shadow-outline) inset;box-shadow:var(--shadow-outline) inset}:host-context(:root:not([data-magma-pref])):host([tone=weak]){-webkit-box-shadow:var(--shadow-outline) inset;box-shadow:var(--shadow-outline) inset}:is(:host-context(:root.pref-contrast-system.pref-theme-dark):host([tone=strong]),:host-context(:root.pref-contrast-system.pref-theme-dark):host([tone=weak])){-webkit-box-shadow:var(--shadow-outline-strong,#00000040 0 1px 1px,#00000021 0 0 1px 1px) inset;box-shadow:var(--shadow-outline-strong,#00000040 0 1px 1px,#00000021 0 0 1px 1px) inset}}@media (prefers-contrast:more) and (prefers-color-scheme:dark){:is(:host-context(:root.pref-contrast-system.pref-theme-system):host([tone=strong]),:host-context(:root.pref-contrast-system.pref-theme-system):host([tone=weak])){-webkit-box-shadow:var(--shadow-outline-strong,#00000040 0 1px 1px,#00000021 0 0 1px 1px) inset;box-shadow:var(--shadow-outline-strong,#00000040 0 1px 1px,#00000021 0 0 1px 1px) inset}}'}},[257,"mds-badge",{label:[1537],variant:[513],tone:[513],typography:[513]},void 0,{label:[{labelChanged:0}]}]);function l(){"undefined"!=typeof customElements&&["mds-badge","mds-text"].forEach((e=>{switch(e){case"mds-badge":customElements.get(a(e))||customElements.define(a(e),b);break;case"mds-text":customElements.get(a(e))||d()}}))}export{b as M,l as d}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{proxyCustomElement as a,HTMLElement as r,createEvent as n,h as e,Host as o,transformTag as t}from"@stencil/core/internal/client";import{m as s}from"./close.js";import{K as i}from"./keyboard-manager.js";import{L as d}from"./locale.js";import{d as c}from"./mds-button2.js";import{d as b}from"./mds-icon2.js";import{d as l}from"./mds-spinner2.js";import{d as m}from"./mds-text2.js";var v={cancel:"Ακύρωση"},u={cancel:"Cancel"},g={cancel:"Cancelar"},p={cancel:"Annulla"};const h=a(class extends r{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.closeEvent=n(this,"mdsBannerClose",7),this.km=new i,this.t=new d({el:v,en:u,es:g,it:p}),this.variant="primary",this.tone="weak",this.cockade=!0,this.ariaVariants={ai:{role:"status",live:"polite"},dark:{role:"presentation",live:void 0},error:{role:"alert",live:"assertive"},info:{role:"status",live:"polite"},light:{role:"presentation",live:void 0},primary:{role:"status",live:"polite"},success:{role:"status",live:"polite"},warning:{role:"alert",live:"assertive"}},this.deletableHandler=()=>{var a;if(this.deletable){const r=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector(".close-button");return this.km.addElement(r),void this.km.attachClickBehavior()}this.km.detachClickBehavior()},this.setCloseButtonVariant=a=>{this.closeButtonVariant="dark"!==a?"light"!==a?null!=a?a:"primary":"dark":"light"},this.closeBanner=()=>{var a;this.closeEvent.emit();const r=null===(a=this.host)||void 0===a?void 0:a.closest("mds-modal");null!=r&&(r.opened=!1)}}async updateLang(){this.language=this.t.lang(this.host)}componentWillRender(){this.t.lang(this.host)}componentWillLoad(){this.actions=null!==this.host.querySelector(':scope > [slot="action"]'),this.setCloseButtonVariant(this.variant)}componentDidLoad(){this.deletableHandler()}componentDidUpdate(){this.deletableHandler()}disconnectedCallback(){this.km.detachClickBehavior()}variantHandler(a){this.setCloseButtonVariant(a)}render(){var a,r;return e(o,{key:"8a3293e558bb74ac6b6f2da1f8716de46d6e1c0e","aria-label":this.headline,role:this.ariaVariants[null!==(a=this.variant)&&void 0!==a?a:"primary"].role,"aria-live":this.ariaVariants[null!==(r=this.variant)&&void 0!==r?r:"primary"].live},e("div",{key:"57b677034bdb2c45e838b5f0bfd285fb1588fb2d",class:"body"},this.icon&&e("mds-icon",{key:"e721e46b80995d2fa81cff4bd60a5d8ad453e197","aria-hidden":"true",class:"icon",name:this.icon}),e("div",{key:"6c6af935817431e4d89c29752d0ec32d1a204259",class:"content"},this.headline&&e("mds-text",{key:"cb3e60f23d08876841e635a61c2b67534e5d2833","aria-hidden":"true",class:"headline",typography:"h6"},this.headline),e("div",{key:"248ed7b3b4e89099fa327d4954e6d56a35c781ca",class:"text",part:"text"},e("slot",{key:"26a6b47c16abf4ac990c2f77b17f6a461dc94c1f"}))),this.deletable&&e("mds-button",{key:"f6dce72fed0e6d32ad2cdef1d10521a9aee6ad71",class:"close-button",icon:s,onClick:this.closeBanner,title:this.t.get("cancel"),variant:this.closeButtonVariant,tone:"text"})),this.actions&&e("div",{key:"28e0a3870b0d05250729d75b26c72c96f45e5bbc",class:"actions"},e("slot",{key:"2b0f51b34cf364ac7efc27fb33d586e59ef3ddda",name:"action"})))}get host(){return this}static get watchers(){return{variant:[{variantHandler:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@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)))){:host,:root{--mds-banner-cockade-distance:calc(var(--spacing,.0025rem)*600);--mds-banner-content-gap:calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*400);--mds-banner-radius:var(--radius-lg,16px);--mds-banner-transition-duration:.3s}*,::backdrop,:after,:before{--mds-banner-background:rgb(var(--tone-neutral-10,60 60 60));--mds-banner-close-icon-hover-background:rgb(var(--tone-neutral-09,76 76 76));--mds-banner-cockade-background:rgb(var(--tone-neutral-09,76 76 76));--mds-banner-color:rgb(var(--tone-neutral-02,244 244 244));--mds-banner-headline-color:rgb(var(--tone-neutral-02,244 244 244));--mds-banner-icon-color:rgb(var(--tone-neutral-04,218 218 218))}}}@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-icon,mds-text):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-banner-transition-duration{syntax:"<time>";inherits:true;initial-value:.3s}:host{--mds-banner-background:rgb(var(--tone-neutral-10,60 60 60));--mds-banner-close-icon-hover-background:rgb(var(--tone-neutral-09,76 76 76));--mds-banner-cockade-background:rgb(var(--tone-neutral-09,76 76 76));--mds-banner-cockade-distance:calc(var(--spacing,.0025rem)*600);--mds-banner-color:rgb(var(--tone-neutral-02,244 244 244));--mds-banner-content-gap:calc(var(--spacing,.0025rem)*400);--mds-banner-headline-color:var(--mds-banner-color,rgb(var(--tone-neutral-02,244 244 244)));--mds-banner-icon-color:rgb(var(--tone-neutral-04,218 218 218));--mds-banner-radius:var(--radius-2xl,24px);--mds-banner-shadow:none;--mds-banner-transition-duration:.3s;--mds-banner-transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));background-color:var(--mds-banner-background,rgb(var(--tone-neutral-10,60 60 60)));border-radius:var(--mds-banner-radius,var(--radius-lg,16px));-webkit-box-shadow:var(--mds-banner-shadow);box-shadow:var(--mds-banner-shadow);color:var(--mds-banner-color,rgb(var(--tone-neutral-02,244 244 244)));corner-shape:var(--magma-corner-shape,round);container:mds-banner/inline-size;display:grid;gap:calc(var(--spacing,.0025rem)*600);grid-template-columns:repeat(1,minmax(1px,100%));padding:calc(var(--spacing,.0025rem)*600);position:relative;-webkit-transition-duration:var(--mds-banner-transition-duration,.3s);transition-duration:var(--mds-banner-transition-duration,.3s);transition-property:background-color,box-shadow,color;-webkit-transition-timing-function:var(--mds-banner-transition-timing-function);transition-timing-function:var(--mds-banner-transition-timing-function);width:100%}.body{align-items:flex-start;display:flex;gap:var(--mds-banner-content-gap,calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*400));justify-content:space-between}.headline{color:var(--mds-banner-headline-color,rgb(var(--tone-neutral-02,244 244 244)))}.content{box-sizing:border-box;flex-direction:column;flex-grow:1;justify-content:center}.actions,.content{display:flex;gap:var(--mds-banner-content-gap,calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*400))}.actions{flex-wrap:wrap;justify-content:flex-end}.icon{fill:var(--mds-banner-icon-color,rgb(var(--tone-neutral-04,218 218 218)));flex-shrink:0;-webkit-transition-duration:var(--mds-banner-transition-duration,.3s);transition-duration:var(--mds-banner-transition-duration,.3s);transition-property:background-color,fill;-webkit-transition-timing-function:var(--mds-banner-transition-timing-function);transition-timing-function:var(--mds-banner-transition-timing-function)}.text{display:grid;flex-grow:1;gap:var(--mds-banner-content-gap,calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*400))}@container mds-banner (max-width:300px){:host([deletable]:not([deletable=false])) .headline,:host([deletable]:not([deletable=false])):host(:not([headline])) .content{padding-right:calc(var(--spacing,.0025rem)*800)}::slotted([slot=action]){flex-basis:100%;flex-grow:1}}:host([cockade]:not([cockade=false])) .icon{background-color:var(--mds-banner-cockade-background,rgb(var(--tone-neutral-09,76 76 76)));border-bottom-left-radius:var(--radius-lg,16px);border-bottom-right-radius:var(--radius-lg,16px);margin-top:calc(-1 * var(--mds-banner-cockade-distance,calc(var(--spacing,.0025rem) * 600)));padding:calc(var(--spacing,.0025rem)*200);padding-top:var(--mds-banner-cockade-distance,calc(var(--spacing,.0025rem)*600))}@container mds-banner (max-width:300px){:host([cockade]:not([cockade=false])) .icon{padding-top:calc(var(--spacing,.0025rem)*200)}.body{flex-direction:column}.close-button{position:absolute;right:calc(var(--mds-banner-cockade-distance,calc(var(--spacing,.0025rem) * 600)) / 2);top:calc(var(--mds-banner-cockade-distance,calc(var(--spacing,.0025rem) * 600)) / 2)}}:host,:host([variant=primary]){--mds-banner-background:rgb(var(--tone-neutral,0 0 0));--mds-banner-close-icon-hover-background:rgb(var(--variant-primary-09,0 58 168));--mds-banner-color:rgb(var(--tone-neutral-02,244 244 244));--mds-banner-icon-color:rgb(var(--variant-primary-05,152 188 255));--mds-banner-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-banner-headline-color:rgb(var(--variant-primary-02,230 239 255));--mds-banner-cockade-background:rgb(var(--variant-primary-09,0 58 168))}:host([variant=primary]):host([tone=weak]){--mds-banner-background:rgb(var(--tone-neutral,0 0 0));--mds-banner-close-icon-hover-background:rgb(var(--variant-primary-10,0 49 142));--mds-banner-color:rgb(var(--tone-neutral-02,244 244 244));--mds-banner-icon-color:rgb(var(--variant-primary-05,152 188 255));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-banner-cockade-background:rgb(var(--variant-primary-10,0 49 142))}:host([variant=ai]){--mds-banner-background:rgb(var(--tone-neutral,0 0 0));--mds-banner-close-icon-hover-background:rgb(var(--variant-ai-09,75 8 189));--mds-banner-color:rgb(var(--tone-neutral-02,244 244 244));--mds-banner-icon-color:rgb(var(--variant-ai-05,202 174 251));--mds-banner-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-banner-headline-color:rgb(var(--variant-ai-02,242 235 254));--mds-banner-cockade-background:rgb(var(--variant-ai-09,75 8 189))}:host([variant=ai]):host([tone=weak]){--mds-banner-background:rgb(var(--tone-neutral,0 0 0));--mds-banner-close-icon-hover-background:rgb(var(--variant-ai-10,63 7 161));--mds-banner-color:rgb(var(--tone-neutral-02,244 244 244));--mds-banner-icon-color:rgb(var(--variant-ai-05,202 174 251));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-banner-cockade-background:rgb(var(--variant-ai-10,63 7 161))}:host([variant=error]){--mds-banner-headline-color:rgb(var(--status-error-03,255 217 214));--mds-banner-background:rgb(var(--status-error-10,115 0 0));--mds-banner-close-icon-hover-background:rgb(var(--status-error-08,182 50 54));--mds-banner-color:rgb(var(--status-error-02,255 234 231));--mds-banner-icon-color:rgb(var(--status-error-05,250 165 160));--mds-banner-shadow:none;--mds-banner-cockade-background:rgb(var(--status-error-08,182 50 54))}:host([variant=error]):host([tone=weak]){--mds-banner-background:rgb(var(--tone-neutral,0 0 0));--mds-banner-close-icon-hover-background:rgb(var(--status-error-10,115 0 0));--mds-banner-color:rgb(var(--tone-neutral-02,244 244 244));--mds-banner-icon-color:rgb(var(--status-error-05,250 165 160));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-banner-cockade-background:rgb(var(--status-error-10,115 0 0))}:host([variant=warning]){--mds-banner-headline-color:rgb(var(--status-warning-03,255 223 129));--mds-banner-background:rgb(var(--status-warning-10,77 57 0));--mds-banner-close-icon-hover-background:rgb(var(--status-warning-08,129 96 0));--mds-banner-color:rgb(var(--status-warning-02,255 237 185));--mds-banner-icon-color:rgb(var(--status-warning-05,237 177 0));--mds-banner-shadow:none;--mds-banner-cockade-background:rgb(var(--status-warning-08,129 96 0))}:host([variant=warning]):host([tone=weak]){--mds-banner-background:rgb(var(--tone-neutral,0 0 0));--mds-banner-close-icon-hover-background:rgb(var(--status-warning-10,77 57 0));--mds-banner-color:rgb(var(--tone-neutral-02,244 244 244));--mds-banner-icon-color:rgb(var(--status-warning-05,237 177 0));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-banner-cockade-background:rgb(var(--status-warning-10,77 57 0))}:host([variant=info]){--mds-banner-headline-color:rgb(var(--status-info-03,198 231 247));--mds-banner-background:rgb(var(--status-info-10,0 61 103));--mds-banner-close-icon-hover-background:rgb(var(--status-info-08,0 107 151));--mds-banner-color:rgb(var(--status-info-02,222 242 250));--mds-banner-icon-color:rgb(var(--status-info-05,112 198 234));--mds-banner-shadow:none;--mds-banner-cockade-background:rgb(var(--status-info-08,0 107 151))}:host([variant=info]):host([tone=weak]){--mds-banner-background:rgb(var(--tone-neutral,0 0 0));--mds-banner-close-icon-hover-background:rgb(var(--status-info-10,0 61 103));--mds-banner-color:rgb(var(--tone-neutral-02,244 244 244));--mds-banner-icon-color:rgb(var(--status-info-05,112 198 234));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-banner-cockade-background:rgb(var(--status-info-10,0 61 103))}:host([variant=success]){--mds-banner-headline-color:rgb(var(--status-success-03,196 235 209));--mds-banner-background:rgb(var(--status-success-10,0 69 0));--mds-banner-close-icon-hover-background:rgb(var(--status-success-08,0 116 46));--mds-banner-color:rgb(var(--status-success-02,222 244 228));--mds-banner-icon-color:rgb(var(--status-success-05,107 206 147));--mds-banner-shadow:none;--mds-banner-cockade-background:rgb(var(--status-success-08,0 116 46))}:host([variant=success]):host([tone=weak]){--mds-banner-background:rgb(var(--tone-neutral,0 0 0));--mds-banner-close-icon-hover-background:rgb(var(--status-success-10,0 69 0));--mds-banner-color:rgb(var(--tone-neutral-02,244 244 244));--mds-banner-icon-color:rgb(var(--status-success-05,107 206 147));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-banner-cockade-background:rgb(var(--status-success-10,0 69 0))}:host([variant=dark]){--mds-banner-background:rgb(var(--tone-neutral-01,255 255 255));--mds-banner-close-icon-hover-background:rgb(var(--tone-neutral-03,233 233 233));--mds-banner-cockade-background:rgb(var(--tone-neutral-04,218 218 218));--mds-banner-color:rgb(var(--tone-neutral-08,107 107 107));--mds-banner-headline-color:rgb(var(--tone-neutral,0 0 0));--mds-banner-icon-color:rgb(var(--tone-neutral-07,134 134 134));--mds-banner-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d)}:host([variant=dark]):host([tone=weak]){--mds-banner-background:rgb(var(--tone-neutral-03,233 233 233));--mds-banner-close-icon-hover-background:rgb(var(--tone-neutral-05,197 197 197));--mds-banner-color:rgb(var(--tone-neutral-09,76 76 76));--mds-banner-icon-color:rgb(var(--tone-neutral-07,134 134 134));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a)}:host([variant=light]){--mds-banner-background:rgb(var(--tone-neutral,0 0 0));--mds-banner-close-icon-hover-background:rgb(var(--tone-neutral-09,76 76 76));--mds-banner-color:rgb(var(--tone-neutral-02,244 244 244));--mds-banner-icon-color:rgb(var(--tone-neutral-05,197 197 197));--mds-banner-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-banner-headline-color:rgb(var(--tone-neutral-02,244 244 244));--mds-banner-cockade-background:rgb(var(--tone-neutral-10,60 60 60))}:host([variant=light]):host([tone=weak]){--mds-banner-background:rgb(var(--tone-neutral,0 0 0));--mds-banner-close-icon-hover-background:rgb(var(--tone-neutral-10,60 60 60));--mds-banner-color:rgb(var(--tone-neutral-02,244 244 244));--mds-banner-icon-color:rgb(var(--tone-neutral-05,197 197 197));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-banner-cockade-background:rgb(var(--tone-neutral-09,76 76 76))}:host([tone=box]){-webkit-box-shadow:var(--shadow-box-solid-weak,#0000004d 0 2px 4px,#00000008 0 0 0 1px,#0000001a 0 7px 13px -3px,#0003 0 -3px 0 inset,#ffffff1a 0 -8px 10px inset,#ffffff26 0 -4px 0 inset);box-shadow:var(--shadow-box-solid-weak,#0000004d 0 2px 4px,#00000008 0 0 0 1px,#0000001a 0 7px 13px -3px,#0003 0 -3px 0 inset,#ffffff1a 0 -8px 10px inset,#ffffff26 0 -4px 0 inset)}:host-context(:root.pref-animation-reduce){transition-duration:0s}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)){-webkit-box-shadow:var(--shadow-outline);box-shadow:var(--shadow-outline)}:host-context(:root.pref-contrast-more){-webkit-box-shadow:var(--shadow-outline-strong-50),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a);box-shadow:var(--shadow-outline-strong-50),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a)}@media (prefers-reduced-motion){:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))){transition-duration:0s}}@media (prefers-color-scheme:dark){:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))){-webkit-box-shadow:var(--shadow-outline);box-shadow:var(--shadow-outline)}}@media (prefers-contrast:more){:is(:host-context(:root.pref-contrast-system),:host-context(:root:not([data-magma-pref]))){-webkit-box-shadow:var(--shadow-outline-strong-50),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a);box-shadow:var(--shadow-outline-strong-50),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a)}}'}},[257,"mds-banner",{variant:[513],tone:[513],cockade:[516],deletable:[4],headline:[1],icon:[1],language:[32],closeButtonVariant:[32],updateLang:[64]},void 0,{variant:[{variantHandler:0}]}]);function x(){"undefined"!=typeof customElements&&["mds-banner","mds-button","mds-icon","mds-spinner","mds-text"].forEach((a=>{switch(a){case"mds-banner":customElements.get(t(a))||customElements.define(t(a),h);break;case"mds-button":customElements.get(t(a))||c();break;case"mds-icon":customElements.get(t(a))||b();break;case"mds-spinner":customElements.get(t(a))||l();break;case"mds-text":customElements.get(t(a))||m()}}))}export{h as M,x as d}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{proxyCustomElement as e,HTMLElement as t,h as r,Host as o,transformTag as s}from"@stencil/core/internal/client";import{K as n}from"./keyboard-manager.js";import{u as a,s as i}from"./aria.js";import{i as l,a as m,d}from"./mds-icon2.js";import{r as b,s as u}from"./slot.js";import{d as c}from"./mds-spinner2.js";import{d as h}from"./mds-text2.js";const v={sm:"action",md:"action",lg:"h6",xl:"h5"},p=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.internals=this.attachInternals(),this.km=new n,this.animation="none",this.iconPosition="left",this.type="submit",this.variant="primary",this.tone="strong",this.size="md",this.target="self",this.truncate="word",this.handleRequestSubmitForm=e=>{var t;e.preventDefault(),null===(t=this.internals.form)||void 0===t||t.requestSubmit()},this.handleReset=e=>{var t;e.preventDefault(),null===(t=this.internals.form)||void 0===t||t.reset()},this.mouseDown=()=>{this.active=!0},this.mouseUp=()=>{this.active=!1},this.redirectBlank=()=>{if("undefined"==typeof window)throw Error("Object window is not defined");window.open(this.href,"_blank")},this.onSlotChangeHandler=()=>{void 0!==this.label&&""!==this.label||(this.label=b(this.host))}}disabledChanged(e){e?this.km.attachClickBehavior():(this.km.detachClickBehavior(),this.disabled=void 0)}labelChanged(e){this.label=u(e)}awaitChanged(e){this.host.setAttribute("aria-busy",(!!e).toString()),e?this.km.attachClickBehavior():this.km.detachClickBehavior()}handleTypeChange(e){this.internals.form&&("submit"===e?(this.host.removeEventListener("click",this.handleReset),this.host.addEventListener("click",this.handleRequestSubmitForm)):"reset"===e?(this.host.removeEventListener("click",this.handleRequestSubmitForm),this.host.addEventListener("click",this.handleReset)):(this.host.removeEventListener("click",this.handleRequestSubmitForm),this.host.removeEventListener("click",this.handleReset)))}handleVariantChange(e){"google"!==e?"apple"!==e||(this.icon='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-apple" viewBox="0 0 24 24"><path d="M18.71,19.5C17.88,20.74 17,21.95 15.66,21.97C14.32,22 13.89,21.18 12.37,21.18C10.84,21.18 10.37,21.95 9.1,22C7.79,22.05 6.8,20.68 5.96,19.47C4.25,17 2.94,12.45 4.7,9.39C5.57,7.87 7.13,6.91 8.82,6.88C10.1,6.86 11.32,7.75 12.11,7.75C12.89,7.75 14.37,6.68 15.92,6.84C16.57,6.87 18.39,7.1 19.56,8.82C19.47,8.88 17.39,10.1 17.41,12.63C17.44,15.65 20.06,16.66 20.09,16.67C20.06,16.74 19.67,18.11 18.71,19.5M13,3.5C13.73,2.67 14.94,2.04 15.94,2C16.07,3.17 15.6,4.35 14.9,5.19C14.21,6.04 13.07,6.7 11.95,6.61C11.8,5.46 12.36,4.26 13,3.5Z" /></svg>'):this.icon='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" xmlnsXlink="http://www.w3.org/1999/xlink"><path fill="#EA4335" d="M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z"></path><path fill="#4285F4" d="M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z"></path><path fill="#FBBC05" d="M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z"></path><path fill="#34A853" d="M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z"></path><path fill="none" d="M0 0h48v48H0z"></path></svg>\n'}componentWillLoad(){this.hasNotification=null!==this.host.querySelector(':scope > [slot="notification"]'),this.handleVariantChange(this.variant),void 0!==this.href&&""!==this.href?this.host.addEventListener("click",(e=>{var t;e.preventDefault(),"blank"!==this.target?"undefined"!=typeof window&&(window.location.href=null!==(t=this.href)&&void 0!==t?t:""):this.redirectBlank()})):this.internals.form&&("submit"===this.type?this.host.addEventListener("click",this.handleRequestSubmitForm):"reset"===this.type&&this.host.addEventListener("click",this.handleReset))}componentDidLoad(){if(this.km.addElement(this.host),this.await||this.km.attachClickBehavior(),this.host.setAttribute("aria-busy",this.await?"true":"false"),this.autoFocus&&this.host.focus(),!l(this.icon)&&!m(this.icon)){if(""===this.label&&(this.label=void 0),(void 0===this.label||""===this.label)&&void 0!==this.icon&&""!==this.icon){const e=a(this.icon);this.host.hasAttribute("aria-label")||i(this.host,"title",e),this.host.hasAttribute("title")||i(this.host,"aria-label",e)}i(this.host,"role","button")}}handleAwaitChange(e){if(!1===e)return this.await=void 0,void this.km.detachClickBehavior();this.km.attachClickBehavior()}connectedCallback(){this.disabled||this.host.removeAttribute("disabled")}disconnectedCallback(){this.km.detachClickBehavior()}render(){return this.typography=v[this.size],r(o,{key:"742df7f0ff9096e2af56b47970cad3ce1d97ded9",onMouseDown:this.mouseDown,onMouseUp:this.mouseUp,onMouseOut:this.mouseUp,tabindex:"0"},r("div",{key:"feb94db67f8782363ff7cd8bc2472617ef668c1c",class:"await"},r("mds-spinner",{key:"f43ddd7651ff63bde32e58b21ae688ad9f99e3fc",class:"spinner",running:this.await})),this.icon&&"left"===this.iconPosition&&r("mds-icon",{key:"9977013bc0251f8c3184c09a7718e7b111191941","aria-hidden":"true",class:"icon",name:this.icon,part:"icon"}),r("mds-text",{key:"c77755a17e22c8e00457a093a3041d42936c807c",class:"text",part:"label",tag:"span",typography:this.typography,truncate:this.truncate,animation:this.animation,text:this.label},this.label||r("slot",{key:"da65921ecf3fdcf43a9a657ca79b9c31d1c1f4d4",onSlotchange:this.onSlotChangeHandler})),this.hasNotification&&r("slot",{key:"6fa74b557775f3ac3b13898c2b6271c7cfac74e8",name:"notification"}),this.icon&&"right"===this.iconPosition&&r("mds-icon",{key:"bf6d2d99d3e9c405edec7d1778df8197cd3b453e","aria-hidden":"true",class:"icon",name:this.icon,part:"icon"}))}static get formAssociated(){return!0}get host(){return this}static get watchers(){return{disabled:[{disabledChanged:0}],label:[{labelChanged:0}],await:[{awaitChanged:0},{handleAwaitChange:0}],type:[{handleTypeChange:0}],variant:[{handleVariantChange:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@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)))){:host,:root{--mds-button-await-duration:.725s;--mds-button-background:rgb(var(--variant-primary-02,230 239 255));--mds-button-border-color-rgb:0 0 0;--mds-button-border-hover-opacity:.75;--mds-button-border-tone-strong-hover-width:.0625rem;--mds-button-border-tone-outline-hover-width:3px;--mds-button-border-tone-weak-hover-width:.0625rem;--mds-button-border-high-contrast-width:.125rem;--mds-button-border-high-contrast-hover-width:3px;--mds-button-border-default-opacity:0;--mds-button-border-opacity:0;--mds-button-border-width:.125rem;--mds-button-color:rgb(var(--tone-neutral,0 0 0));--mds-button-gap:.5rem;--mds-button-line-clamp:1;--mds-button-radius:var(--radius-xs,8px)}*,::backdrop,:after,:before{--tw-duration:initial;--tw-font-weight:initial}}}@layer reset,vendor,theme,base,components,utilities;@keyframes focus-bounce{0%,75%,to{outline-offset:var(--magma-outline-focus-offset,6px)}50%{outline-offset:var(--magma-outline-blur-offset,2px)}}: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-button-background:rgb(var(--variant-primary-04,184 208 255));--mds-button-border-color-rgb:var(--variant-primary-04,184 208 255);min-height:calc(var(--spacing,.0025rem)*900);min-width:calc(var(--spacing,.0025rem)*900);--mds-button-await-duration:.725s;--mds-button-background:rgb(var(--mds-button-border-color-rgb,0 0 0));--mds-button-border-color-rgb:var(--variant-primary-02,230 239 255);--mds-button-border-hover-opacity:.75;--mds-button-border-high-contrast-hover-width:3px;--mds-button-border-high-contrast-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-tone-outline-hover-width:3px;--mds-button-border-tone-outline-opacity:.3;--mds-button-border-tone-strong-hover-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-tone-weak-hover-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-default-opacity:0;--mds-button-border-opacity:0;--mds-button-border-width:calc(var(--spacing,.0025rem)*50);--mds-button-color:rgb(var(--tone-neutral,0 0 0));--mds-button-gap:calc(var(--spacing,.0025rem)*200);--mds-button-line-clamp:1;--mds-button-radius:var(--radius-2xl,24px);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));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));--tw-duration:.2s;background-color:var(--mds-button-background,rgb(var(--variant-primary-02,230 239 255)));border-radius:var(--mds-button-radius,var(--radius-xs,8px));-webkit-box-shadow:0 0 0 var(--mds-button-border-width,.125rem) rgb(var(--mds-button-border-color-rgb,0 0 0)/var(--mds-button-border-opacity,0));box-shadow:0 0 0 var(--mds-button-border-width,.125rem) rgb(var(--mds-button-border-color-rgb,0 0 0)/var(--mds-button-border-opacity,0));box-sizing:border-box;color:var(--mds-button-color,rgb(var(--tone-neutral,0 0 0)));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out;corner-shape:var(--magma-corner-shape,round);align-items:center;cursor:pointer;display:inline-flex;fill:currentColor;gap:var(--mds-button-gap,.5rem);justify-content:center;padding:0 calc(var(--spacing,.0025rem)*400);position:relative;transition-property:background-color,border-color,box-shadow,color,outline,outline-offset,transform;-webkit-transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94));transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94));-webkit-user-select:none;user-select:none}:is(mds-icon,mds-spinner,mds-text):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-button-await-duration{syntax:"<time>";inherits:true;initial-value:.725s}@property --mds-button-border-color-rgb{syntax:"<number>+";inherits:true;initial-value:0 0 0}@property --mds-button-border-hover-opacity{syntax:"<number>";inherits:true;initial-value:.75}@property --mds-button-border-tone-strong-hover-width{syntax:"<length>";inherits:true;initial-value:.0625rem}@property --mds-button-border-tone-outline-hover-width{syntax:"<length>";inherits:true;initial-value:3px}@property --mds-button-border-tone-weak-hover-width{syntax:"<length>";inherits:true;initial-value:.0625rem}@property --mds-button-border-high-contrast-width{syntax:"<length>";inherits:true;initial-value:.125rem}@property --mds-button-border-high-contrast-hover-width{syntax:"<length>";inherits:true;initial-value:3px}@property --mds-button-border-default-opacity{syntax:"<number>";inherits:true;initial-value:0}@property --mds-button-border-opacity{syntax:"<number>";inherits:true;initial-value:0}@property --mds-button-border-width{syntax:"<length>";inherits:true;initial-value:.125rem}@property --mds-button-gap{syntax:"<length>";inherits:true;initial-value:.5rem}@property --mds-button-line-clamp{syntax:"<integer>";inherits:true;initial-value:1}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running;z-index:10}.text{--mds-text-line-clamp:var(--mds-button-line-clamp,1)}.text:first-letter{text-transform:uppercase}.icon{align-items:center;display:inline-flex;fill:inherit;flex-shrink:0;justify-content:center;pointer-events:none;-webkit-transition-duration:var(--duration-300,.3s);transition-duration:var(--duration-300,.3s);transition-property:fill;-webkit-transition-timing-function:var(--ease-in-out-quad,cubic-bezier(.455,.03,.515,.955));transition-timing-function:var(--ease-in-out-quad,cubic-bezier(.455,.03,.515,.955))}:host-context(mds-button-group):host(:not(:first-child)){border-bottom-left-radius:0;border-top-left-radius:0}:host-context(mds-button-group):host(:not(:last-child)){border-bottom-right-radius:0;border-top-right-radius:0}.await{display:none;margin-right:calc(var(--mds-button-gap,.5rem)*-1 - var(--spacing,.0025rem)*600);transform:scale(0);transition-behavior:allow-discrete;-webkit-transition-duration:var(--duration-300,.3s);transition-duration:var(--duration-300,.3s);transition-property:display,margin-right,opacity,transform,width;-webkit-transition-timing-function:var(--ease-in-out-quad,cubic-bezier(.455,.03,.515,.955));transition-timing-function:var(--ease-in-out-quad,cubic-bezier(.455,.03,.515,.955))}.await,.spinner{height:calc(var(--spacing,.0025rem)*600);width:calc(var(--spacing,.0025rem)*600)}.spinner{--mds-spinner-duration:var(--mds-button-await-duration,.725s);color:currentColor}:is(:host(:not([await])),:host([await=false])) .spinner{-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);-webkit-transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94));transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94))}:host([await]:not([await=false])) .await{display:flex;margin-right:0;opacity:1;transform:scale(1)}@starting-style{:host([await]:not([await=false])) .await{margin-right:calc(var(--mds-button-gap,.5rem)*-1 - var(--spacing,.0025rem)*600);opacity:0;transform:scale(0)}}:host([await]:not([await=false])){pointer-events:none}:host([disabled]:not([disabled=false])){opacity:.5;pointer-events:none}:host([size=sm]){--mds-button-radius:var(--radius-md,12px);min-height:calc(var(--spacing,.0025rem)*700);min-width:calc(var(--spacing,.0025rem)*700);padding:0 calc(var(--spacing,.0025rem)*300)}:host([size=sm]) .icon{height:calc(var(--spacing,.0025rem)*400);width:calc(var(--spacing,.0025rem)*400)}:host([size=sm]) .text{--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500)}:host([size=sm]):host([await]:not([await=false])) .await{transform:scale(75)}:host([size=md]){min-height:calc(var(--spacing,.0025rem)*900);min-width:calc(var(--spacing,.0025rem)*900);padding-left:calc(var(--spacing,.0025rem)*400);padding-right:calc(var(--spacing,.0025rem)*400)}:host([size=md]):host([icon][icon-position=left]){padding-left:calc(var(--spacing,.0025rem)*300)}:host([size=md]):host([icon][icon-position=right]){padding-right:calc(var(--spacing,.0025rem)*300)}:host([size=lg]){min-height:calc(var(--spacing,.0025rem)*1200);min-width:calc(var(--spacing,.0025rem)*1200);padding-left:calc(var(--spacing,.0025rem)*500);padding-right:calc(var(--spacing,.0025rem)*500)}:host([size=lg]):host([icon][icon-position=left]){padding-left:calc(var(--spacing,.0025rem)*400)}:host([size=lg]):host([icon][icon-position=right]){padding-right:calc(var(--spacing,.0025rem)*400)}:host([size=xl]){min-height:calc(var(--spacing,.0025rem)*1300);min-width:calc(var(--spacing,.0025rem)*1300);padding-left:calc(var(--spacing,.0025rem)*600);padding-right:calc(var(--spacing,.0025rem)*600)}:host([size=xl]) .icon{height:calc(var(--spacing,.0025rem)*800);width:calc(var(--spacing,.0025rem)*800)}:host([size][icon][icon-position]:not([label])){aspect-ratio:1;padding:0}:host(:not([label])) .text,:host([label=""]) .text{display:none}:host([variant=primary]){--mds-button-background:rgb(var(--variant-primary-04,184 208 255));--mds-button-border-color-rgb:var(--variant-primary-04,184 208 255);--mds-button-color:rgb(var(--tone-neutral,0 0 0))}:host([variant=primary]):host([tone=strong]:hover){--mds-button-background:rgb(var(--variant-primary-03,211 226 255));--mds-button-border-color-rgb:var(--variant-primary-03,211 226 255)}:host([variant=primary]):host([tone=weak]){--mds-button-background:rgb(var(--variant-primary-09,0 58 168));--mds-button-border-color-rgb:var(--variant-primary-09,0 58 168);--mds-button-color:rgb(var(--variant-primary-03,211 226 255));fill:rgb(var(--variant-primary-03,211 226 255))}:host([variant=primary]):host([tone=weak]:hover){--mds-button-background:rgb(var(--variant-primary-08,0 83 239));--mds-button-border-color-rgb:var(--variant-primary-08,0 83 239)}:host([variant=primary]):host([tone=outline]){--mds-button-border-color-rgb:var(--variant-primary-04,184 208 255);--mds-button-color:rgb(var(--variant-primary-03,211 226 255))}:host([variant=primary]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--variant-primary-04,184 208 255);--mds-button-color:rgb(var(--variant-primary-02,230 239 255))}:host([variant=primary]):host([tone=text]){--mds-button-color:rgb(var(--variant-primary-02,230 239 255))}:host([variant=primary]):host([tone=text]:hover){--mds-button-color:rgb(var(--variant-primary-04,184 208 255));--mds-button-background:rgb(var(--variant-primary-10,0 49 142))}:host([variant=primary]):host([tone=text][active]){--mds-button-color:rgb(var(--variant-primary-01,242 246 255))}:host([variant=secondary]){--mds-button-background:rgb(var(--variant-secondary-04,190 208 250));--mds-button-border-color-rgb:var(--variant-secondary-04,190 208 250);--mds-button-color:rgb(var(--tone-neutral,0 0 0))}:host([variant=secondary]):host([tone=strong]:hover){--mds-button-background:rgb(var(--variant-secondary-03,215 226 252));--mds-button-border-color-rgb:var(--variant-secondary-03,215 226 252)}:host([variant=secondary]):host([tone=weak]){--mds-button-background:rgb(var(--variant-secondary-09,12 58 168));--mds-button-border-color-rgb:var(--variant-secondary-09,12 58 168);--mds-button-color:rgb(var(--variant-secondary-03,215 226 252));fill:rgb(var(--variant-secondary-03,215 226 252))}:host([variant=secondary]):host([tone=weak]:hover){--mds-button-background:rgb(var(--variant-secondary-08,18 83 238));--mds-button-border-color-rgb:var(--variant-secondary-08,18 83 238)}:host([variant=secondary]):host([tone=outline]){--mds-button-border-color-rgb:var(--variant-secondary-04,190 208 250);--mds-button-color:rgb(var(--variant-secondary-03,215 226 252))}:host([variant=secondary]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--variant-secondary-04,190 208 250);--mds-button-color:rgb(var(--variant-secondary-02,232 238 253))}:host([variant=secondary]):host([tone=text]){--mds-button-color:rgb(var(--variant-secondary-02,232 238 253))}:host([variant=secondary]):host([tone=text]:hover){--mds-button-color:rgb(var(--variant-secondary-04,190 208 250));--mds-button-background:rgb(var(--variant-secondary-10,10 49 142))}:host([variant=secondary]):host([tone=text][active]){--mds-button-color:rgb(var(--variant-secondary-01,243 246 254))}:host([variant=ai]){--mds-button-background:rgb(var(--variant-ai-04,218 199 253));--mds-button-border-color-rgb:var(--variant-ai-04,218 199 253);--mds-button-color:rgb(var(--tone-neutral,0 0 0))}:host([variant=ai]):host([tone=strong]:hover){--mds-button-background:rgb(var(--variant-ai-03,233 220 254));--mds-button-border-color-rgb:var(--variant-ai-03,233 220 254)}:host([variant=ai]):host([tone=weak]){--mds-button-background:rgb(var(--variant-ai-09,75 8 189));--mds-button-border-color-rgb:var(--variant-ai-09,75 8 189);--mds-button-color:rgb(var(--variant-ai-03,233 220 254));fill:rgb(var(--variant-ai-03,233 220 254))}:host([variant=ai]):host([tone=weak]:hover){--mds-button-background:rgb(var(--variant-ai-08,118 44 246));--mds-button-border-color-rgb:var(--variant-ai-08,118 44 246)}:host([variant=ai]):host([tone=outline]){--mds-button-border-color-rgb:var(--variant-ai-04,218 199 253);--mds-button-color:rgb(var(--variant-ai-03,233 220 254))}:host([variant=ai]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--variant-ai-04,218 199 253);--mds-button-color:rgb(var(--variant-ai-02,242 235 254))}:host([variant=ai]):host([tone=text]){--mds-button-color:rgb(var(--variant-ai-02,242 235 254))}:host([variant=ai]):host([tone=text]:hover){--mds-button-color:rgb(var(--variant-ai-04,218 199 253));--mds-button-background:rgb(var(--variant-ai-10,63 7 161))}:host([variant=ai]):host([tone=text][active]){--mds-button-color:rgb(var(--variant-ai-01,248 244 255))}:host([variant=info]){--mds-button-background:rgb(var(--status-info-05,112 198 234));--mds-button-border-color-rgb:var(--status-info-05,112 198 234);--mds-button-color:rgb(var(--tone-neutral,0 0 0))}:host([variant=info]):host([tone=strong]:hover){--mds-button-background:rgb(var(--status-info-04,159 216 241));--mds-button-border-color-rgb:var(--status-info-04,159 216 241)}:host([variant=info]):host([tone=weak]){--mds-button-background:rgb(var(--status-info-09,0 73 116));--mds-button-border-color-rgb:var(--status-info-09,0 73 116);--mds-button-color:rgb(var(--status-info-03,198 231 247));fill:rgb(var(--status-info-03,198 231 247))}:host([variant=info]):host([tone=weak]:hover){--mds-button-background:rgb(var(--status-info-08,0 107 151));--mds-button-border-color-rgb:var(--status-info-08,0 107 151);--mds-button-color:rgb(var(--status-info-01,237 248 253))}:host([variant=info]):host([tone=outline]){--mds-button-border-color-rgb:var(--status-info-04,159 216 241);--mds-button-color:rgb(var(--status-info-03,198 231 247))}:host([variant=info]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--status-info-04,159 216 241);--mds-button-color:rgb(var(--status-info-02,222 242 250))}:host([variant=info]):host([tone=text]){--mds-button-color:rgb(var(--status-info-02,222 242 250))}:host([variant=info]):host([tone=text]:hover){--mds-button-color:rgb(var(--status-info-04,159 216 241));--mds-button-background:rgb(var(--status-info-10,0 61 103))}:host([variant=info]):host([tone=text][active]){--mds-button-color:rgb(var(--status-info-01,237 248 253))}:host([variant=success]){--mds-button-background:rgb(var(--status-success-05,107 206 147));--mds-button-border-color-rgb:var(--status-success-05,107 206 147);--mds-button-color:rgb(var(--tone-neutral,0 0 0))}:host([variant=success]):host([tone=strong]:hover){--mds-button-background:rgb(var(--status-success-04,158 222 181));--mds-button-border-color-rgb:var(--status-success-04,158 222 181)}:host([variant=success]):host([tone=weak]){--mds-button-background:rgb(var(--status-success-09,0 82 9));--mds-button-border-color-rgb:var(--status-success-09,0 82 9);--mds-button-color:rgb(var(--status-success-03,196 235 209));fill:rgb(var(--status-success-03,196 235 209))}:host([variant=success]):host([tone=weak]:hover){--mds-button-background:rgb(var(--status-success-08,0 116 46));--mds-button-border-color-rgb:var(--status-success-08,0 116 46);--mds-button-color:rgb(var(--status-success-01,237 249 241))}:host([variant=success]):host([tone=outline]){--mds-button-border-color-rgb:var(--status-success-04,158 222 181);--mds-button-color:rgb(var(--status-success-03,196 235 209))}:host([variant=success]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--status-success-04,158 222 181);--mds-button-color:rgb(var(--status-success-02,222 244 228))}:host([variant=success]):host([tone=text]){--mds-button-color:rgb(var(--status-success-02,222 244 228))}:host([variant=success]):host([tone=text]:hover){--mds-button-color:rgb(var(--status-success-04,158 222 181));--mds-button-background:rgb(var(--status-success-10,0 69 0))}:host([variant=success]):host([tone=text][active]){--mds-button-color:rgb(var(--status-success-01,237 249 241))}:host([variant=warning]){--mds-button-background:rgb(var(--status-warning-05,237 177 0));--mds-button-border-color-rgb:var(--status-warning-05,237 177 0);--mds-button-color:rgb(var(--tone-neutral,0 0 0))}:host([variant=warning]):host([tone=strong]:hover){--mds-button-background:rgb(var(--status-warning-04,255 200 33));--mds-button-border-color-rgb:var(--status-warning-04,255 200 33)}:host([variant=warning]):host([tone=weak]){--mds-button-background:rgb(var(--status-warning-09,90 67 0));--mds-button-border-color-rgb:var(--status-warning-09,90 67 0);--mds-button-color:rgb(var(--status-warning-03,255 223 129));fill:rgb(var(--status-warning-03,255 223 129))}:host([variant=warning]):host([tone=weak]:hover){--mds-button-background:rgb(var(--status-warning-08,129 96 0));--mds-button-border-color-rgb:var(--status-warning-08,129 96 0);--mds-button-color:rgb(var(--status-warning-01,255 246 217))}:host([variant=warning]):host([tone=outline]){--mds-button-border-color-rgb:var(--status-warning-04,255 200 33);--mds-button-color:rgb(var(--status-warning-03,255 223 129))}:host([variant=warning]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--status-warning-04,255 200 33);--mds-button-color:rgb(var(--status-warning-02,255 237 185))}:host([variant=warning]):host([tone=text]){--mds-button-color:rgb(var(--status-warning-02,255 237 185))}:host([variant=warning]):host([tone=text]:hover){--mds-button-color:rgb(var(--status-warning-04,255 200 33));--mds-button-background:rgb(var(--status-warning-10,77 57 0))}:host([variant=warning]):host([tone=text][active]){--mds-button-color:rgb(var(--status-warning-01,255 246 217))}:host([variant=error]){--mds-button-background:rgb(var(--status-error-05,250 165 160));--mds-button-border-color-rgb:var(--status-error-05,250 165 160);--mds-button-color:rgb(var(--tone-neutral,0 0 0))}:host([variant=error]):host([tone=strong]:hover){--mds-button-background:rgb(var(--status-error-04,254 193 189));--mds-button-border-color-rgb:var(--status-error-04,254 193 189)}:host([variant=error]):host([tone=weak]){--mds-button-background:rgb(var(--status-error-09,135 0 14));--mds-button-border-color-rgb:var(--status-error-09,135 0 14);--mds-button-color:rgb(var(--status-error-03,255 217 214));fill:rgb(var(--status-error-03,255 217 214))}:host([variant=error]):host([tone=weak]:hover){--mds-button-background:rgb(var(--status-error-08,182 50 54));--mds-button-border-color-rgb:var(--status-error-08,182 50 54);--mds-button-color:rgb(var(--status-error-01,255 243 242))}:host([variant=error]):host([tone=outline]){--mds-button-border-color-rgb:var(--status-error-04,254 193 189);--mds-button-color:rgb(var(--status-error-03,255 217 214))}:host([variant=error]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--status-error-04,254 193 189);--mds-button-color:rgb(var(--status-error-02,255 234 231))}:host([variant=error]):host([tone=text]){--mds-button-color:rgb(var(--status-error-02,255 234 231))}:host([variant=error]):host([tone=text]:hover){--mds-button-color:rgb(var(--status-error-04,254 193 189));--mds-button-background:rgb(var(--status-error-10,115 0 0))}:host([variant=error]):host([tone=text][active]){--mds-button-color:rgb(var(--status-error-01,255 243 242))}:host([variant=light]){--mds-button-background:rgb(var(--tone-neutral,0 0 0));--mds-button-border-color-rgb:var(--tone-neutral,0 0 0);--mds-button-color:rgb(var(--tone-neutral-03,233 233 233))}:host([variant=light]):host([tone=strong]:hover){--mds-button-background:rgb(var(--tone-neutral,0 0 0));--mds-button-border-color-rgb:var(--tone-neutral,0 0 0)}:host([variant=light]):host([tone=weak]){--mds-button-background:rgb(var(--tone-neutral,0 0 0));--mds-button-border-color-rgb:var(--tone-neutral,0 0 0);--mds-button-color:rgb(var(--tone-neutral-03,233 233 233));fill:rgb(var(--tone-neutral-03,233 233 233))}:host([variant=light]):host([tone=weak]:hover){--mds-button-background:rgb(var(--tone-neutral,0 0 0));--mds-button-border-color-rgb:var(--tone-neutral,0 0 0);--mds-button-color:rgb(var(--tone-neutral-02,244 244 244))}:host([variant=light]):host([tone=outline]),:host([variant=light]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--tone-neutral,0 0 0);--mds-button-color:rgb(var(--tone-neutral,0 0 0))}:host([variant=light]):host([tone=text]){--mds-button-color:rgb(var(--tone-neutral,0 0 0))}:host([variant=light]):host([tone=text]:hover){--mds-button-color:rgb(var(--tone-neutral-10,60 60 60));--mds-button-background:rgb(var(--tone-neutral-03,233 233 233))}:host([variant=light]):host([tone=text][active]){--mds-button-color:rgb(var(--tone-neutral,0 0 0))}:host([variant=dark]){--mds-button-background:rgb(var(--tone-neutral-04,218 218 218));--mds-button-border-color-rgb:var(--tone-neutral-04,218 218 218);--mds-button-color:rgb(var(--tone-neutral,0 0 0))}:host([variant=dark]):host([tone=strong]:hover){--mds-button-background:rgb(var(--tone-neutral-05,197 197 197));--mds-button-border-color-rgb:var(--tone-neutral-05,197 197 197)}:host([variant=dark]):host([tone=weak]){--mds-button-background:rgb(var(--tone-neutral-08,107 107 107));--mds-button-border-color-rgb:var(--tone-neutral-08,107 107 107);--mds-button-color:rgb(var(--tone-neutral-03,233 233 233));fill:rgb(var(--tone-neutral-03,233 233 233))}:host([variant=dark]):host([tone=weak]:hover){--mds-button-background:rgb(var(--tone-neutral-07,134 134 134));--mds-button-border-color-rgb:var(--tone-neutral-07,134 134 134);--mds-button-color:rgb(var(--tone-neutral-02,244 244 244))}:host([variant=dark]):host([tone=outline]){--mds-button-border-color-rgb:var(--tone-neutral-04,218 218 218);--mds-button-color:rgb(var(--tone-neutral-03,233 233 233))}:host([variant=dark]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--tone-neutral-04,218 218 218);--mds-button-color:rgb(var(--tone-neutral-02,244 244 244))}:host([variant=dark]):host([tone=text]){--mds-button-color:rgb(var(--tone-neutral-02,244 244 244))}:host([variant=dark]):host([tone=text]:hover){--mds-button-color:rgb(var(--tone-neutral-01,255 255 255));--mds-button-background:rgb(var(--tone-neutral-10,60 60 60))}:host([variant=dark]):host([tone=text][active]){--mds-button-color:rgb(var(--tone-neutral-01,255 255 255))}:host([variant=google]),:host([variant=google][tone]){--mds-button-background:rgb(var(--tone-neutral,0 0 0));--mds-button-border-hover-opacity:50%;--mds-button-border-hover-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-opacity:20%;--mds-button-border-width:calc(var(--spacing,.0025rem)*25);--mds-button-color:rgb(var(--tone-neutral-03,233 233 233));--mds-button-border-color-rgb:var(--tone-neutral-01,255 255 255);-webkit-box-shadow:0 0 0 var(--mds-button-border-width,.125rem) rgb(var(--mds-button-border-color-rgb,0 0 0)/var(--mds-button-border-opacity,0));box-shadow:0 0 0 var(--mds-button-border-width,.125rem) rgb(var(--mds-button-border-color-rgb,0 0 0)/var(--mds-button-border-opacity,0))}:host([variant=google]:hover),:host([variant=google][tone]:hover){--mds-button-background:rgb(var(--tone-neutral,0 0 0));--mds-button-border-width:var(--mds-button-border-hover-width);--mds-button-border-opacity:var(--mds-button-border-hover-opacity,.75)}:host([variant=apple]) .icon{transform:translateY(-5%)}:host([variant=apple]),:host([variant=apple][tone]){--mds-button-background:rgb(var(--tone-neutral-02,244 244 244));--mds-button-color:rgb(var(--tone-neutral,0 0 0));--mds-button-border-width:0;--mds-button-border-color-rgb:var(--tone-neutral-02,244 244 244)}:host([variant=apple]:hover),:host([variant=apple][tone]:hover){--mds-button-background:rgb(var(--tone-neutral-02,244 244 244));--mds-button-border-opacity:100%}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=google]){--mds-button-border-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-opacity:30%}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=google][tone]){--mds-button-border-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-opacity:30%}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=google]:hover){--mds-button-border-opacity:50%}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=google][tone]:hover){--mds-button-border-opacity:50%}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=apple]){--mds-button-background:rgb(var(--tone-neutral-01,255 255 255))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=apple][tone]){--mds-button-background:rgb(var(--tone-neutral-01,255 255 255))}:host([tone=outline]),:host([tone=text]){--mds-button-background:transparent}:host([tone=box]),:host([tone=strong]),:host([tone=weak]){--mds-button-border-default-opacity:1;--mds-button-border-width:0;--mds-button-border-opacity:var(--mds-button-border-default-opacity,0)}:host([tone=strong]:hover),:host([tone=strong][active]){--mds-button-border-width:var(--mds-button-border-tone-strong-hover-width,.0625rem)}:host([tone=weak]:hover),:host([tone=weak][active]){--mds-button-border-width:var(--mds-button-border-tone-weak-hover-width,.0625rem)}:host([tone=outline]){--mds-button-border-opacity:var(--mds-button-border-tone-outline-opacity)}:host([tone=outline]:hover),:host([tone=outline][active]){--mds-button-background:transparent;--mds-button-border-width:var(--mds-button-border-tone-outline-hover-width,3px);--mds-button-border-opacity:var(--mds-button-border-hover-opacity,.75)}:host([tone=box]){-webkit-box-shadow:var(--shadow-box-solid-strong,#0006 0 2px 4px,#0000004d 0 7px 13px -3px,#00000059 0 -3px 0 inset,#ffffff1a 0 -8px 10px inset,#ffffff26 0 -4px 0 inset);box-shadow:var(--shadow-box-solid-strong,#0006 0 2px 4px,#0000004d 0 7px 13px -3px,#00000059 0 -3px 0 inset,#ffffff1a 0 -8px 10px inset,#ffffff26 0 -4px 0 inset);transition-property:background-color,border-color,box-shadow,color,outline,filter,outline-offset,transform}:host([tone=box]):host(:hover){filter:brightness(1.1)}:is(:host-context(:root.pref-animation-reduce) .await,:host-context(:root.pref-animation-reduce) .icon){transition-duration:0s}@property --tw-duration{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@media (prefers-color-scheme:dark){:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=apple]),:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=apple][tone]){--mds-button-background:rgb(var(--tone-neutral-01,255 255 255))}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=google]),:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=google][tone]){--mds-button-border-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-opacity:30%}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=google]:hover),:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=google][tone]:hover){--mds-button-border-opacity:50%}}@media (prefers-reduced-motion){:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))) .await,:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))) .icon{transition-duration:0s}}'}},[321,"mds-button",{autoFocus:[4,"auto-focus"],label:[1537],animation:[513],icon:[1537],iconPosition:[513,"icon-position"],type:[513],variant:[513],tone:[513],size:[513],active:[1540],disabled:[1540],await:[1540],href:[513],target:[1],truncate:[513]},void 0,{disabled:[{disabledChanged:0}],label:[{labelChanged:0}],await:[{awaitChanged:0},{handleAwaitChange:0}],type:[{handleTypeChange:0}],variant:[{handleVariantChange:0}]}]);function g(){"undefined"!=typeof customElements&&["mds-button","mds-icon","mds-spinner","mds-text"].forEach((e=>{switch(e){case"mds-button":customElements.get(s(e))||customElements.define(s(e),p);break;case"mds-icon":customElements.get(s(e))||d();break;case"mds-spinner":customElements.get(s(e))||c();break;case"mds-text":customElements.get(s(e))||h()}}))}export{p as M,g as d}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{proxyCustomElement as e,HTMLElement as r,h as a,Host as n,transformTag as t}from"@stencil/core/internal/client";import{d as o}from"./mds-button2.js";import{d as l}from"./mds-icon2.js";import{d as c}from"./mds-spinner2.js";import{d}from"./mds-text2.js";const s=e(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.month="current",this.orientation="horizontal",this.preview=!1,this.disabled=void 0,this.today=void 0}render(){return a(n,{key:"eea49336dfecb6f76ef93509fb42228417bac55a"},a("div",{key:"ea9d3de623b5e1edf19bba5cab930022e790f8f8",class:"inner-dot"}),a("div",{key:"f973bf80d0456cbb7151db3dfebc6f80f9afc5ff",class:"area-background"}),a("mds-button",{key:"755324a7827cc9be52f8500f079df1f6f8285bde",class:"action",variant:"dark",tone:"text",disabled:this.disabled,label:this.label}))}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@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-calendar-cell-background:transparent;--mds-calendar-cell-boundaries-background:transparent;--mds-calendar-cell-boundaries-color:rgb(var(--tone-neutral-01,255 255 255));--mds-calendar-cell-boundaries-padding:.25rem;--mds-calendar-cell-color:rgb(var(--tone-neutral-01,255 255 255));--mds-calendar-cell-other-month-background:transparent;--mds-calendar-cell-other-month-color:rgb(var(--tone-neutral-07,134 134 134));--mds-calendar-cell-disabled-background:transparent;--mds-calendar-cell-disabled-color:rgb(var(--tone-neutral-07,134 134 134));--mds-calendar-cell-weekend-background:transparent;--mds-calendar-cell-weekend-color:rgb(var(--tone-neutral-06,158 158 158));--mds-calendar-cell-size:3rem;--mds-calendar-cell-selection-boundaries-border-radius:1.5rem;--mds-calendar-cell-selection-week-boundaries-border-radius:1.5rem;--mds-calendar-cell-preselection-today-background:rgb(var(--variant-primary-09,0 58 168));--mds-calendar-cell-preselection-today-color:rgb(var(--variant-primary-03,211 226 255));--mds-calendar-cell-preselection-current-month-background:rgb(var(--variant-primary-08,0 83 239));--mds-calendar-cell-preselection-current-month-color:rgb(var(--tone-neutral-05,197 197 197));--mds-calendar-cell-preselection-current-month-boundaries-color:rgb(var(--tone-neutral-05,197 197 197));--mds-calendar-cell-preselection-current-month-boundaries-background:rgb(var(--variant-primary-10,0 49 142));--mds-calendar-cell-preselection-other-month-background:rgb(var(--variant-primary-09,0 58 168));--mds-calendar-cell-preselection-other-month-color:rgb(var(--tone-neutral-05,197 197 197));--mds-calendar-cell-preselection-other-month-boundaries-color:rgb(var(--tone-neutral-05,197 197 197));--mds-calendar-cell-preselection-other-month-boundaries-background:rgb(var(--tone-neutral,0 0 0));--mds-calendar-cell-selection-current-month-background:rgb(var(--variant-primary-04,184 208 255));--mds-calendar-cell-selection-current-month-color:rgb(var(--tone-neutral,0 0 0));--mds-calendar-cell-selection-current-month-boundaries-background:rgb(var(--tone-neutral,0 0 0));--mds-calendar-cell-selection-current-month-boundaries-color:rgb(var(--tone-neutral-03,233 233 233));--mds-calendar-cell-selection-current-month-weekend-background:rgb(var(--variant-primary-03,211 226 255));--mds-calendar-cell-selection-current-month-weekend-color:rgb(var(--variant-primary-07,44 117 255));--mds-calendar-cell-selection-current-month-weekend-boundaries-background:rgb(var(--variant-primary-03,211 226 255));--mds-calendar-cell-selection-current-month-weekend-boundaries-color:rgb(var(--tone-neutral-03,233 233 233));--mds-calendar-cell-selection-other-month-background:rgb(var(--variant-primary-07,44 117 255));--mds-calendar-cell-selection-other-month-color:rgb(var(--tone-neutral-04,218 218 218));--mds-calendar-cell-selection-other-month-boundaries-background:rgb(var(--variant-primary-10,0 49 142));--mds-calendar-cell-selection-other-month-boundaries-color:rgb(var(--tone-neutral-05,197 197 197))}}}@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button: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-calendar-cell-background{syntax:"<color>";inherits:false;initial-value:#0000}@property --mds-calendar-cell-boundaries-background{syntax:"<color>";inherits:false;initial-value:#0000}@property --mds-calendar-cell-boundaries-padding{syntax:"<length>";inherits:false;initial-value:.25rem}@property --mds-calendar-cell-other-month-background{syntax:"<color>";inherits:false;initial-value:#0000}@property --mds-calendar-cell-disabled-background{syntax:"<color>";inherits:false;initial-value:#0000}@property --mds-calendar-cell-weekend-background{syntax:"<color>";inherits:false;initial-value:#0000}@property --mds-calendar-cell-size{syntax:"<length>";inherits:false;initial-value:3rem}@property --mds-calendar-cell-selection-boundaries-border-radius{syntax:"<length>";inherits:false;initial-value:1.5rem}@property --mds-calendar-cell-selection-week-boundaries-border-radius{syntax:"<length>";inherits:false;initial-value:1.5rem}:host{--mds-calendar-cell-background:transparent;--mds-calendar-cell-boundaries-background:transparent;--mds-calendar-cell-boundaries-color:rgb(var(--tone-neutral-01,255 255 255));--mds-calendar-cell-boundaries-padding:calc(var(--spacing,.0025rem)*100);--mds-calendar-cell-color:rgb(var(--tone-neutral-01,255 255 255));--mds-calendar-cell-other-month-background:transparent;--mds-calendar-cell-other-month-color:rgb(var(--tone-neutral-07,134 134 134));--mds-calendar-cell-disabled-background:transparent;--mds-calendar-cell-disabled-color:rgb(var(--tone-neutral-07,134 134 134));--mds-calendar-cell-weekend-background:transparent;--mds-calendar-cell-weekend-color:rgb(var(--tone-neutral-06,158 158 158));--mds-calendar-cell-size:calc(var(--spacing,.0025rem)*1200);--mds-calendar-cell-selection-boundaries-border-radius:200px;--mds-calendar-cell-selection-week-boundaries-border-radius:200px;--mds-calendar-cell-preselection-today-background:rgb(var(--variant-primary-09,0 58 168));--mds-calendar-cell-preselection-today-color:rgb(var(--variant-primary-03,211 226 255));--mds-calendar-cell-preselection-current-month-background:rgb(var(--variant-primary-08,0 83 239));--mds-calendar-cell-preselection-current-month-color:rgb(var(--tone-neutral-05,197 197 197));--mds-calendar-cell-preselection-current-month-boundaries-color:rgb(var(--tone-neutral-05,197 197 197));--mds-calendar-cell-preselection-current-month-boundaries-background:rgb(var(--variant-primary-10,0 49 142));--mds-calendar-cell-preselection-other-month-background:rgb(var(--variant-primary-09,0 58 168));--mds-calendar-cell-preselection-other-month-color:rgb(var(--tone-neutral-05,197 197 197));--mds-calendar-cell-preselection-other-month-boundaries-color:rgb(var(--tone-neutral-05,197 197 197));--mds-calendar-cell-preselection-other-month-boundaries-background:rgb(var(--tone-neutral,0 0 0));--mds-calendar-cell-selection-current-month-background:rgb(var(--variant-primary-04,184 208 255));--mds-calendar-cell-selection-current-month-color:rgb(var(--tone-neutral,0 0 0));--mds-calendar-cell-selection-current-month-boundaries-background:rgb(var(--tone-neutral,0 0 0));--mds-calendar-cell-selection-current-month-boundaries-color:rgb(var(--tone-neutral-03,233 233 233));--mds-calendar-cell-selection-current-month-weekend-background:rgb(var(--variant-primary-03,211 226 255));--mds-calendar-cell-selection-current-month-weekend-color:rgb(var(--variant-primary-07,44 117 255));--mds-calendar-cell-selection-current-month-weekend-boundaries-background:rgb(var(--variant-primary-03,211 226 255));--mds-calendar-cell-selection-current-month-weekend-boundaries-color:rgb(var(--tone-neutral-03,233 233 233));--mds-calendar-cell-selection-other-month-background:rgb(var(--variant-primary-07,44 117 255));--mds-calendar-cell-selection-other-month-color:rgb(var(--tone-neutral-04,218 218 218));--mds-calendar-cell-selection-other-month-boundaries-background:rgb(var(--variant-primary-10,0 49 142));--mds-calendar-cell-selection-other-month-boundaries-color:rgb(var(--tone-neutral-05,197 197 197));align-items:center;aspect-ratio:1;display:flex;justify-content:center;padding:var(--mds-calendar-cell-boundaries-padding,.25rem);position:relative}:host([month=other]){visibility:var(--mds-calendar-cell-other-month-visibility,hidden)}.inner-dot{aspect-ratio:1;background-color:var(--mds-calendar-cell-inner-background);border-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem);display:flex;min-height:0;min-width:0;width:100%;z-index:1}.area-background{background-color:var(--mds-calendar-cell-background,transparent);inset:0;z-index:0}.action,.area-background{color:var(--mds-calendar-cell-color,rgb(var(--tone-neutral-01,255 255 255)));position:absolute}.action{align-items:center;aspect-ratio:1;background-color:#0000;border-radius:0;display:flex;inset:calc(var(--mds-calendar-cell-gap,var(--gap-50))*-1);justify-content:center;min-height:0;min-width:0;padding:0;width:auto;z-index:2}:host([selection][orientation=horizontal]) .area-background{margin-left:calc(var(--mds-calendar-cell-gap,var(--gap-50))*-1);margin-right:calc(var(--mds-calendar-cell-gap,var(--gap-50))*-1)}:host([selection=start][orientation=horizontal]) .area-background{border-bottom-left-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem);border-top-left-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem);margin-left:0}:host([selection=end][orientation=horizontal]) .area-background{border-bottom-right-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem);border-top-right-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem);margin-right:0}:host([selection][orientation=vertical]) .area-background{margin-bottom:calc(var(--mds-calendar-cell-gap,var(--gap-50))*-1);margin-top:calc(var(--mds-calendar-cell-gap,var(--gap-50))*-1)}:host([selection=start][orientation=vertical]) .area-background{border-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem) var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem) 0 0;margin-top:0}:host([selection=end][orientation=vertical]) .area-background{border-radius:0 0 var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem) var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem);margin-bottom:0}:host([orientation=vertical]:not([selection=start],[selection=end])) .area-background{border-radius:0}:host(:nth-child(7n-6)) .area-background,:host([selection=end][orientation=horizontal]:nth-child(7n-6)) .area-background{border-bottom-left-radius:var(--mds-calendar-cell-selection-week-boundaries-border-radius,1.5rem);border-top-left-radius:var(--mds-calendar-cell-selection-week-boundaries-border-radius,1.5rem)}:host(:nth-child(7n)) .area-background,:host([selection=end][orientation=horizontal]:nth-child(7n)) .area-background{border-bottom-right-radius:var(--mds-calendar-cell-selection-week-boundaries-border-radius,1.5rem);border-top-right-radius:var(--mds-calendar-cell-selection-week-boundaries-border-radius,1.5rem)}:host([selection=end][orientation=horizontal]:nth-child(7n)) .area-background{border-bottom-right-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem);border-top-right-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem)}:host([selection][orientation=horizontal]:nth-child(7n-6)) .area-background{margin-left:0}:host([selection][orientation=horizontal]:nth-child(7n)) .area-background{margin-right:0}:host([selection=single][orientation=horizontal]) .area-background{border-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem);margin-left:0;margin-right:0}:host(:nth-child(7n)),:host(:nth-child(7n-1)){--mds-calendar-cell-color:var(--mds-calendar-cell-weekend-color,rgb(var(--tone-neutral-06,158 158 158)));--mds-calendar-cell-background:var(--mds-calendar-cell-weekend-background,transparent)}:host([month=other]:not([selection])){--mds-calendar-cell-color:var(--mds-calendar-cell-other-month-color,rgb(var(--tone-neutral-07,134 134 134)));--mds-calendar-cell-background:var(--mds-calendar-cell-other-month-background,transparent)}:host([disabled]){--mds-calendar-cell-color:var(--mds-calendar-cell-disabled-color,rgb(var(--tone-neutral-07,134 134 134)));--mds-calendar-cell-background:var(--mds-calendar-cell-disabled-background,transparent);cursor:auto;pointer-events:none}:host(:not([selection])[today]){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-preselection-today-background,rgb(var(--variant-primary-09,0 58 168)));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-today-color,rgb(var(--variant-primary-03,211 226 255)))}:host([selection][month=current]){--mds-calendar-cell-background:var(--mds-calendar-cell-selection-current-month-background,rgb(var(--variant-primary-04,184 208 255)));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-current-month-color,rgb(var(--tone-neutral,0 0 0)))}:host([selection][month=current]:nth-child(7n)),:host([selection][month=current]:nth-child(7n-1)){--mds-calendar-cell-background:var(--mds-calendar-cell-selection-current-month-weekend-background,rgb(var(--variant-primary-03,211 226 255)));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-current-month-weekend-color,rgb(var(--variant-primary-07,44 117 255)))}:host([selection=end][month=current]:nth-child(7n)),:host([selection=end][month=current]:nth-child(7n-1)),:host([selection=start][month=current]:nth-child(7n)),:host([selection=start][month=current]:nth-child(7n-1)){--mds-calendar-cell-background:var(--mds-calendar-cell-selection-current-month-weekend-boundaries-background,rgb(var(--variant-primary-03,211 226 255)));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-current-month-weekend-boundaries-color,rgb(var(--tone-neutral-03,233 233 233)))}:host([selection][month=other]){--mds-calendar-cell-background:var(--mds-calendar-cell-selection-other-month-background,rgb(var(--variant-primary-07,44 117 255)));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-other-month-color,rgb(var(--tone-neutral-04,218 218 218)))}:host([selection=end][month=current]),:host([selection=start][month=current]){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-selection-current-month-boundaries-background,rgb(var(--tone-neutral,0 0 0)));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-current-month-boundaries-color,rgb(var(--tone-neutral-03,233 233 233)))}:host([selection=end][month=other]),:host([selection=start][month=other]){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-selection-other-month-boundaries-background,rgb(var(--variant-primary-10,0 49 142)));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-other-month-boundaries-color,rgb(var(--tone-neutral-05,197 197 197)))}:host([selection][month=current][preview]:not([preview=false])){--mds-calendar-cell-background:var(--mds-calendar-cell-preselection-current-month-background,rgb(var(--variant-primary-08,0 83 239)));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-current-month-color,rgb(var(--tone-neutral-05,197 197 197)))}:host([selection][month=other][preview]:not([preview=false])){--mds-calendar-cell-background:var(--mds-calendar-cell-preselection-other-month-background,rgb(var(--variant-primary-09,0 58 168)));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-other-month-color,rgb(var(--tone-neutral-05,197 197 197)))}:host([selection=end][month=current][preview]:not([preview=false])),:host([selection=start][month=current][preview]:not([preview=false])){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-preselection-current-month-boundaries-background,rgb(var(--variant-primary-10,0 49 142)));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-current-month-boundaries-color,rgb(var(--tone-neutral-05,197 197 197)))}:host([selection=end][month=other][preview]:not([preview=false])),:host([selection=start][month=other][preview]:not([preview=false])){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-preselection-other-month-boundaries-background,rgb(var(--tone-neutral,0 0 0)));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-other-month-boundaries-color,rgb(var(--tone-neutral-05,197 197 197)))}:host([selection=single][month=current]){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-preselection-current-month-boundaries-background,rgb(var(--variant-primary-10,0 49 142)));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-current-month-boundaries-color,rgb(var(--tone-neutral-05,197 197 197)))}:host([selection=single][month=other]){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-preselection-other-month-boundaries-background,rgb(var(--tone-neutral,0 0 0)));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-other-month-boundaries-color,rgb(var(--tone-neutral-05,197 197 197)))}'}},[1,"mds-calendar-cell",{month:[513],label:[513],date:[513],orientation:[513],preview:[516],selection:[513],disabled:[516],today:[516]}]);function i(){"undefined"!=typeof customElements&&["mds-calendar-cell","mds-button","mds-icon","mds-spinner","mds-text"].forEach((e=>{switch(e){case"mds-calendar-cell":customElements.get(t(e))||customElements.define(t(e),s);break;case"mds-button":customElements.get(t(e))||o();break;case"mds-icon":customElements.get(t(e))||l();break;case"mds-spinner":customElements.get(t(e))||c();break;case"mds-text":customElements.get(t(e))||d()}}))}export{s as M,i as d}
|