@maggioli-design-system/magma 2.0.0-alpha.1 → 2.0.0-beta.2
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 +15 -2
- package/dist/cjs/{datetime-CVIe4VUc.js → datetime-DHnUzK2K.js} +1 -1
- package/dist/cjs/{index-BoL6yK0y.js → index-CNuKb6Lv.js} +482 -370
- package/dist/cjs/index.cjs.js +257 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/magma-components.cjs.js +3 -3
- package/dist/cjs/mds-accordion-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +7 -5
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +9 -7
- package/dist/cjs/mds-accordion.cjs.entry.js +4 -4
- package/dist/cjs/mds-author.cjs.entry.js +4 -4
- package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-avatar-stack.cjs.entry.js +4 -4
- package/dist/cjs/mds-avatar.cjs.entry.js +41 -14
- package/dist/cjs/mds-badge.cjs.entry.js +8 -6
- package/dist/cjs/mds-banner_3.cjs.entry.js +33 -19
- package/dist/cjs/mds-benchmark-bar.cjs.entry.js +8 -6
- package/dist/cjs/mds-bibliography.cjs.entry.js +8 -8
- package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-breadcrumb.cjs.entry.js +7 -4
- package/dist/cjs/mds-button-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/mds-button-group.cjs.entry.js +4 -4
- package/dist/cjs/mds-button_3.cjs.entry.js +44 -249
- package/dist/cjs/mds-calendar_2.cjs.entry.js +287 -144
- package/dist/cjs/mds-card-content.cjs.entry.js +4 -4
- package/dist/cjs/mds-card-footer.cjs.entry.js +4 -4
- package/dist/cjs/mds-card-header.cjs.entry.js +4 -4
- package/dist/cjs/mds-card-media.cjs.entry.js +4 -4
- package/dist/cjs/mds-card.cjs.entry.js +11 -13
- package/dist/cjs/mds-details.cjs.entry.js +7 -5
- package/dist/cjs/mds-dropdown.cjs.entry.js +42 -18
- package/dist/cjs/mds-emoji.cjs.entry.js +29 -20
- package/dist/cjs/mds-entity.cjs.entry.js +4 -4
- package/dist/cjs/mds-file-preview.cjs.entry.js +18 -6
- package/dist/cjs/mds-file.cjs.entry.js +10 -5
- package/dist/cjs/mds-filter-item.cjs.entry.js +7 -7
- package/dist/cjs/mds-filter.cjs.entry.js +5 -5
- package/dist/cjs/mds-header-bar.cjs.entry.js +8 -4
- package/dist/cjs/mds-header.cjs.entry.js +30 -16
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +18 -13
- package/dist/cjs/mds-hr.cjs.entry.js +4 -4
- package/dist/cjs/mds-img.cjs.entry.js +15 -8
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +4 -4
- package/dist/cjs/mds-input-date-range.cjs.entry.js +221 -71
- package/dist/cjs/mds-input-date.cjs.entry.js +40 -17
- package/dist/cjs/mds-input-field.cjs.entry.js +7 -7
- package/dist/cjs/mds-input-otp.cjs.entry.js +6 -6
- package/dist/cjs/mds-input-range.cjs.entry.js +19 -9
- package/dist/cjs/mds-input-select.cjs.entry.js +39 -19
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +19 -10
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +14 -9
- package/dist/cjs/mds-input-upload.cjs.entry.js +19 -12
- package/dist/cjs/mds-input.cjs.entry.js +39 -16
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +8 -5
- package/dist/cjs/mds-keyboard.cjs.entry.js +13 -8
- package/dist/cjs/mds-kpi-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-kpi.cjs.entry.js +4 -4
- package/dist/cjs/mds-label.cjs.entry.js +7 -4
- package/dist/cjs/mds-list-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-list.cjs.entry.js +4 -4
- package/dist/cjs/mds-mention.cjs.entry.js +4 -4
- package/dist/cjs/mds-modal.cjs.entry.js +22 -15
- package/dist/cjs/mds-note.cjs.entry.js +7 -4
- package/dist/cjs/mds-notification.cjs.entry.js +11 -9
- package/dist/cjs/mds-paginator-item.cjs.entry.js +7 -7
- package/dist/cjs/mds-paginator.cjs.entry.js +4 -4
- package/dist/cjs/mds-policy-ai.cjs.entry.js +7 -4
- package/dist/cjs/mds-pref-animation.cjs.entry.js +13 -8
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +13 -8
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +14 -9
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +7 -4
- package/dist/cjs/mds-pref-language.cjs.entry.js +8 -5
- package/dist/cjs/mds-pref-theme-variant-item.cjs.entry.js +8 -5
- package/dist/cjs/mds-pref-theme-variant.cjs.entry.js +9 -6
- package/dist/cjs/mds-pref-theme.cjs.entry.js +17 -12
- package/dist/cjs/mds-pref.cjs.entry.js +15 -8
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-features.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-header.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-list.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table.cjs.entry.js +4 -4
- package/dist/cjs/mds-progress_2.cjs.entry.js +17 -11
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +12 -7
- package/dist/cjs/mds-push-notification.cjs.entry.js +22 -10
- package/dist/cjs/mds-quote.cjs.entry.js +4 -4
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +7 -4
- package/dist/cjs/mds-radial-menu.cjs.entry.js +30 -14
- package/dist/cjs/mds-separator.cjs.entry.js +4 -4
- package/dist/cjs/mds-status-bar.cjs.entry.js +10 -5
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +13 -6
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +8 -6
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +14 -7
- package/dist/cjs/mds-tab-bar.cjs.entry.js +4 -4
- package/dist/cjs/mds-tab_2.cjs.entry.js +28 -16
- package/dist/cjs/mds-table-body.cjs.entry.js +4 -4
- package/dist/cjs/mds-table-footer.cjs.entry.js +4 -4
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +27 -12
- package/dist/cjs/mds-table-header.cjs.entry.js +13 -5
- package/dist/cjs/mds-table-row.cjs.entry.js +12 -6
- package/dist/cjs/mds-table.cjs.entry.js +11 -7
- package/dist/cjs/mds-text.cjs.entry.js +9 -7
- package/dist/cjs/mds-toast.cjs.entry.js +12 -8
- package/dist/cjs/mds-tooltip.cjs.entry.js +35 -15
- package/dist/cjs/mds-tree-item.cjs.entry.js +16 -6
- package/dist/cjs/mds-tree.cjs.entry.js +14 -8
- package/dist/cjs/mds-url-view.cjs.entry.js +10 -7
- package/dist/cjs/mds-usage.cjs.entry.js +7 -4
- package/dist/cjs/mds-video-wall.cjs.entry.js +4 -4
- package/dist/cjs/mds-zero.cjs.entry.js +4 -4
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/mds-accordion/mds-accordion.js +4 -3
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +10 -6
- package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +6 -5
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +12 -7
- package/dist/collection/components/mds-author/mds-author.js +2 -2
- package/dist/collection/components/mds-avatar/mds-avatar.js +30 -9
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +6 -2
- package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.js +5 -3
- package/dist/collection/components/mds-badge/mds-badge.js +9 -6
- package/dist/collection/components/mds-banner/mds-banner.js +11 -6
- package/dist/collection/components/mds-benchmark-bar/mds-benchmark-bar.js +9 -6
- package/dist/collection/components/mds-bibliography/mds-bibliography.js +15 -10
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +8 -4
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +3 -2
- package/dist/collection/components/mds-button/mds-button.js +23 -13
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +16 -7
- package/dist/collection/components/mds-button-group/mds-button-group.js +4 -1
- package/dist/collection/components/mds-calendar/mds-calendar.css +63 -5
- package/dist/collection/components/mds-calendar/mds-calendar.js +450 -143
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +7 -4
- package/dist/collection/components/mds-card/mds-card.js +8 -10
- package/dist/collection/components/mds-card-content/mds-card-content.js +2 -2
- package/dist/collection/components/mds-card-footer/mds-card-footer.js +2 -2
- package/dist/collection/components/mds-card-header/mds-card-header.js +2 -2
- package/dist/collection/components/mds-card-media/mds-card-media.js +2 -2
- package/dist/collection/components/mds-chip/mds-chip.js +20 -12
- package/dist/collection/components/mds-details/mds-details.js +2 -2
- package/dist/collection/components/mds-dropdown/mds-dropdown.js +16 -10
- package/dist/collection/components/mds-emoji/mds-emoji.js +18 -7
- package/dist/collection/components/mds-entity/mds-entity.js +6 -4
- package/dist/collection/components/mds-file/mds-file.js +10 -5
- package/dist/collection/components/mds-file-preview/mds-file-preview.js +21 -8
- package/dist/collection/components/mds-filter/mds-filter.js +5 -4
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +6 -5
- package/dist/collection/components/mds-header/mds-header.js +30 -17
- package/dist/collection/components/mds-header-bar/mds-header-bar.js +16 -7
- package/dist/collection/components/mds-help/mds-help.js +4 -3
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +19 -13
- package/dist/collection/components/mds-hr/mds-hr.js +1 -1
- package/dist/collection/components/mds-icon/mds-icon.js +2 -2
- package/dist/collection/components/mds-icon/services/icons-set.service.js +33 -1
- package/dist/collection/components/mds-img/mds-img.js +17 -9
- package/dist/collection/components/mds-input/mds-input.js +65 -30
- package/dist/collection/components/mds-input-date/mds-input-date.js +52 -22
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +37 -1
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +245 -84
- package/dist/collection/components/mds-input-date-range/test/mds-input-date-range.stories.js +10 -0
- package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +4 -1
- package/dist/collection/components/mds-input-field/mds-input-field.js +9 -5
- package/dist/collection/components/mds-input-otp/mds-input-otp.js +3 -3
- package/dist/collection/components/mds-input-range/mds-input-range.js +2 -1
- package/dist/collection/components/mds-input-select/mds-input-select.js +33 -16
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +18 -9
- package/dist/collection/components/mds-input-tip/mds-input-tip.js +6 -2
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +11 -4
- package/dist/collection/components/mds-input-upload/mds-input-upload.js +15 -10
- package/dist/collection/components/mds-keyboard/mds-keyboard.js +13 -6
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +9 -5
- package/dist/collection/components/mds-kpi/mds-kpi.js +2 -2
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
- package/dist/collection/components/mds-label/mds-label.js +11 -5
- package/dist/collection/components/mds-list/mds-list.js +2 -2
- package/dist/collection/components/mds-list-item/mds-list-item.js +8 -5
- package/dist/collection/components/mds-mention/mds-mention.js +3 -2
- package/dist/collection/components/mds-modal/mds-modal.js +25 -17
- package/dist/collection/components/mds-note/mds-note.js +8 -4
- package/dist/collection/components/mds-notification/mds-notification.js +7 -6
- package/dist/collection/components/mds-paginator/mds-paginator.js +3 -2
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +5 -5
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +7 -3
- package/dist/collection/components/mds-pref/mds-pref.js +10 -6
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +14 -8
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +14 -8
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +15 -9
- package/dist/collection/components/mds-pref-language/mds-pref-language.js +13 -7
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +7 -3
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +20 -13
- package/dist/collection/components/mds-pref-theme-variant/mds-pref-theme-variant.js +16 -9
- package/dist/collection/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.js +10 -5
- package/dist/collection/components/mds-price-table/mds-price-table.js +4 -1
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +2 -2
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +4 -3
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +2 -2
- package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +4 -1
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +2 -2
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +6 -2
- package/dist/collection/components/mds-progress/mds-progress.js +10 -6
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +27 -15
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +17 -9
- package/dist/collection/components/mds-quote/mds-quote.js +6 -4
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +16 -8
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +11 -5
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +5 -3
- package/dist/collection/components/mds-separator/mds-separator.js +1 -1
- package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
- package/dist/collection/components/mds-status-bar/mds-status-bar.js +10 -5
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +7 -5
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +9 -4
- package/dist/collection/components/mds-tab/mds-tab.js +13 -9
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +4 -3
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +9 -5
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +11 -6
- package/dist/collection/components/mds-table/mds-table.js +9 -7
- package/dist/collection/components/mds-table-body/mds-table-body.js +4 -4
- package/dist/collection/components/mds-table-cell/mds-table-cell.js +2 -2
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +2 -2
- package/dist/collection/components/mds-table-header/mds-table-header.js +23 -9
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +21 -9
- package/dist/collection/components/mds-table-row/mds-table-row.js +16 -10
- package/dist/collection/components/mds-text/mds-text.js +15 -10
- package/dist/collection/components/mds-toast/mds-toast.js +10 -7
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +9 -6
- package/dist/collection/components/mds-tree/mds-tree.js +13 -8
- package/dist/collection/components/mds-tree-item/mds-tree-item.js +21 -10
- package/dist/collection/components/mds-url-view/mds-url-view.js +10 -6
- package/dist/collection/components/mds-usage/mds-usage.js +8 -4
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +6 -4
- package/dist/collection/components/mds-zero/mds-zero.js +2 -2
- package/dist/collection/index.js +15 -0
- package/dist/components/_commonjsHelpers.js +1 -32
- package/dist/components/aria.js +1 -45
- package/dist/components/arrow-back.js +1 -3
- package/dist/components/arrow-forward.js +1 -3
- package/dist/components/broken-image.js +1 -3
- package/dist/components/browser.js +1 -8
- package/dist/components/calendar-today.js +1 -3
- package/dist/components/cancel.js +1 -3
- package/dist/components/check-circle.js +1 -3
- package/dist/components/circle.js +1 -3
- package/dist/components/close.js +1 -3
- package/dist/components/clsx.js +1 -3
- package/dist/components/date.js +1 -14
- package/dist/components/done.js +1 -3
- package/dist/components/floating-controller.js +1 -200
- package/dist/components/floating-ui.dom.js +1 -1695
- package/dist/components/horizontal-rule.js +1 -3
- package/dist/components/icons-set.service.js +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +1 -1
- package/dist/components/keyboard-arrow-down.js +1 -3
- package/dist/components/keyboard-arrow-right.js +1 -3
- package/dist/components/keyboard-arrow-up.js +1 -3
- package/dist/components/keyboard-manager.js +1 -50
- package/dist/components/keys.js +1 -775
- package/dist/components/locale.it.js +1 -571
- package/dist/components/locale.js +1 -831
- package/dist/components/mds-accordion-item.js +1 -63
- package/dist/components/mds-accordion-timer-item.js +1 -120
- package/dist/components/mds-accordion-timer.js +1 -179
- package/dist/components/mds-accordion.js +1 -83
- package/dist/components/mds-author.js +1 -39
- package/dist/components/mds-avatar-stack-item.js +1 -6
- package/dist/components/mds-avatar-stack-item2.js +1 -78
- package/dist/components/mds-avatar-stack.js +1 -84
- package/dist/components/mds-avatar.js +1 -6
- package/dist/components/mds-avatar2.js +1 -246
- package/dist/components/mds-badge.js +1 -6
- package/dist/components/mds-badge2.js +1 -71
- package/dist/components/mds-banner.js +1 -6
- package/dist/components/mds-banner2.js +1 -177
- package/dist/components/mds-benchmark-bar.js +1 -99
- package/dist/components/mds-bibliography.js +1 -179
- package/dist/components/mds-breadcrumb-item.js +1 -70
- package/dist/components/mds-breadcrumb.js +1 -177
- package/dist/components/mds-button-dropdown.js +1 -104
- package/dist/components/mds-button-group.js +1 -35
- package/dist/components/mds-button.js +1 -6
- package/dist/components/mds-button2.js +1 -280
- package/dist/components/mds-calendar-cell.js +1 -6
- package/dist/components/mds-calendar-cell2.js +1 -86
- package/dist/components/mds-calendar.js +1 -6
- package/dist/components/mds-calendar2.js +1 -8602
- package/dist/components/mds-card-content.js +1 -35
- package/dist/components/mds-card-footer.js +1 -35
- package/dist/components/mds-card-header.js +1 -39
- package/dist/components/mds-card-media.js +1 -35
- package/dist/components/mds-card.js +1 -60
- package/dist/components/mds-chip.js +1 -6
- package/dist/components/mds-chip2.js +1 -195
- package/dist/components/mds-details.js +1 -81
- package/dist/components/mds-dropdown.js +1 -6
- package/dist/components/mds-dropdown2.js +1 -285
- package/dist/components/mds-emoji.js +3 -6971
- package/dist/components/mds-entity.js +1 -99
- package/dist/components/mds-file-preview.js +1 -6
- package/dist/components/mds-file-preview2.js +8 -359
- package/dist/components/mds-file.js +14 -7649
- package/dist/components/mds-filter-item.js +1 -6
- package/dist/components/mds-filter-item2.js +1 -67
- package/dist/components/mds-filter.js +1 -151
- package/dist/components/mds-header-bar.js +1 -88
- package/dist/components/mds-header.js +1 -256
- package/dist/components/mds-help.js +1 -6
- package/dist/components/mds-help2.js +1 -65
- package/dist/components/mds-horizontal-scroll.js +1 -267
- package/dist/components/mds-hr.js +1 -35
- package/dist/components/mds-icon.js +1 -6
- package/dist/components/mds-icon2.js +1 -313
- package/dist/components/mds-img.js +1 -6
- package/dist/components/mds-img2.js +1 -209
- package/dist/components/mds-input-date-range-preselection.js +1 -73
- package/dist/components/mds-input-date-range.js +1 -420
- package/dist/components/mds-input-date.js +1 -257
- package/dist/components/mds-input-field.js +1 -75
- package/dist/components/mds-input-otp.js +1 -156
- package/dist/components/mds-input-range.js +1 -153
- package/dist/components/mds-input-select.js +1 -236
- package/dist/components/mds-input-switch.js +1 -6
- package/dist/components/mds-input-switch2.js +1 -253
- package/dist/components/mds-input-tip-item.js +1 -6
- package/dist/components/mds-input-tip-item2.js +1 -112
- package/dist/components/mds-input-tip.js +1 -6
- package/dist/components/mds-input-tip2.js +1 -43
- package/dist/components/mds-input-upload.js +1 -753
- package/dist/components/mds-input.js +1 -6
- package/dist/components/mds-input2.js +1 -738
- package/dist/components/mds-keyboard-key.js +1 -334
- package/dist/components/mds-keyboard.js +1 -269
- package/dist/components/mds-kpi-item.js +1 -74
- package/dist/components/mds-kpi.js +1 -35
- package/dist/components/mds-label.js +1 -143
- package/dist/components/mds-list-item.js +1 -65
- package/dist/components/mds-list.js +1 -35
- package/dist/components/mds-mention.js +1 -76
- package/dist/components/mds-modal.js +1 -6
- package/dist/components/mds-modal2.js +1 -270
- package/dist/components/mds-note.js +1 -128
- package/dist/components/mds-notification.js +1 -120
- package/dist/components/mds-paginator-item.js +1 -6
- package/dist/components/mds-paginator-item2.js +1 -65
- package/dist/components/mds-paginator.js +1 -116
- package/dist/components/mds-policy-ai.js +1 -219
- package/dist/components/mds-pref-animation.js +1 -188
- package/dist/components/mds-pref-consumption.js +1 -202
- package/dist/components/mds-pref-contrast.js +1 -213
- package/dist/components/mds-pref-language-item.js +1 -306
- package/dist/components/mds-pref-language.js +1 -1025
- package/dist/components/mds-pref-theme-variant-item.js +1 -109
- package/dist/components/mds-pref-theme-variant.js +1 -213
- package/dist/components/mds-pref-theme.js +1 -333
- package/dist/components/mds-pref.js +1 -150
- package/dist/components/mds-price-table-features-cell.js +1 -49
- package/dist/components/mds-price-table-features-row.js +1 -45
- package/dist/components/mds-price-table-features.js +1 -43
- package/dist/components/mds-price-table-header.js +1 -35
- package/dist/components/mds-price-table-list-item.js +1 -54
- package/dist/components/mds-price-table-list.js +1 -48
- package/dist/components/mds-price-table.js +1 -35
- package/dist/components/mds-progress.js +1 -6
- package/dist/components/mds-progress2.js +1 -121
- package/dist/components/mds-push-notification-item.js +1 -326
- package/dist/components/mds-push-notification.js +1 -205
- package/dist/components/mds-quote.js +1 -52
- package/dist/components/mds-radial-menu-item.js +1 -80
- package/dist/components/mds-radial-menu.js +1 -248
- package/dist/components/mds-radial-progress.js +1 -6
- package/dist/components/mds-radial-progress2.js +1 -119
- package/dist/components/mds-separator.js +1 -6
- package/dist/components/mds-separator2.js +1 -32
- package/dist/components/mds-spinner.js +1 -6
- package/dist/components/mds-spinner2.js +1 -54
- package/dist/components/mds-status-bar.js +1 -98
- package/dist/components/mds-stepper-bar-item.js +1 -194
- package/dist/components/mds-stepper-bar.js +1 -136
- package/dist/components/mds-tab-bar-item.js +1 -89
- package/dist/components/mds-tab-bar.js +1 -51
- package/dist/components/mds-tab-item.js +1 -6
- package/dist/components/mds-tab-item2.js +1 -112
- package/dist/components/mds-tab.js +1 -6
- package/dist/components/mds-tab2.js +1 -261
- package/dist/components/mds-table-body.js +1 -38
- package/dist/components/mds-table-cell.js +1 -6
- package/dist/components/mds-table-cell2.js +1 -39
- package/dist/components/mds-table-footer.js +1 -35
- package/dist/components/mds-table-header-cell.js +1 -6
- package/dist/components/mds-table-header-cell2.js +1 -173
- package/dist/components/mds-table-header.js +1 -164
- package/dist/components/mds-table-row.js +1 -141
- package/dist/components/mds-table.js +1 -200
- package/dist/components/mds-text.js +1 -6
- package/dist/components/mds-text2.js +1 -324
- package/dist/components/mds-toast.js +1 -127
- package/dist/components/mds-tooltip.js +1 -6
- package/dist/components/mds-tooltip2.js +1 -177
- package/dist/components/mds-tree-item.js +1 -201
- package/dist/components/mds-tree.js +1 -121
- package/dist/components/mds-url-view.js +1 -146
- package/dist/components/mds-usage.js +1 -108
- package/dist/components/mds-video-wall.js +1 -68
- package/dist/components/mds-zero.js +1 -35
- package/dist/components/panorama.js +1 -3
- package/dist/components/remove.js +1 -3
- package/dist/components/settings.js +1 -3
- package/dist/components/slot.js +1 -48
- package/dist/components/unit.js +1 -41
- package/dist/documentation.d.ts +37 -0
- package/dist/documentation.json +1520 -707
- package/dist/esm/{datetime-C4yPBff1.js → datetime-BJtA1qmE.js} +1 -1
- package/dist/esm/{index-BfAC4pqU.js → index-CAd5312P.js} +482 -370
- package/dist/esm/index.js +256 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/magma-components.js +4 -4
- package/dist/esm/mds-accordion-item.entry.js +4 -4
- package/dist/esm/mds-accordion-timer-item.entry.js +7 -5
- package/dist/esm/mds-accordion-timer.entry.js +9 -7
- package/dist/esm/mds-accordion.entry.js +4 -4
- package/dist/esm/mds-author.entry.js +4 -4
- package/dist/esm/mds-avatar-stack-item.entry.js +4 -4
- package/dist/esm/mds-avatar-stack.entry.js +4 -4
- package/dist/esm/mds-avatar.entry.js +41 -14
- package/dist/esm/mds-badge.entry.js +8 -6
- package/dist/esm/mds-banner_3.entry.js +33 -19
- package/dist/esm/mds-benchmark-bar.entry.js +8 -6
- package/dist/esm/mds-bibliography.entry.js +8 -8
- package/dist/esm/mds-breadcrumb-item.entry.js +4 -4
- package/dist/esm/mds-breadcrumb.entry.js +7 -4
- package/dist/esm/mds-button-dropdown.entry.js +4 -4
- package/dist/esm/mds-button-group.entry.js +4 -4
- package/dist/esm/mds-button_3.entry.js +40 -245
- package/dist/esm/mds-calendar_2.entry.js +287 -144
- package/dist/esm/mds-card-content.entry.js +4 -4
- package/dist/esm/mds-card-footer.entry.js +4 -4
- package/dist/esm/mds-card-header.entry.js +4 -4
- package/dist/esm/mds-card-media.entry.js +4 -4
- package/dist/esm/mds-card.entry.js +11 -13
- package/dist/esm/mds-details.entry.js +7 -5
- package/dist/esm/mds-dropdown.entry.js +42 -18
- package/dist/esm/mds-emoji.entry.js +29 -20
- package/dist/esm/mds-entity.entry.js +4 -4
- package/dist/esm/mds-file-preview.entry.js +18 -6
- package/dist/esm/mds-file.entry.js +10 -5
- package/dist/esm/mds-filter-item.entry.js +7 -7
- package/dist/esm/mds-filter.entry.js +5 -5
- package/dist/esm/mds-header-bar.entry.js +8 -4
- package/dist/esm/mds-header.entry.js +30 -16
- package/dist/esm/mds-horizontal-scroll.entry.js +18 -13
- package/dist/esm/mds-hr.entry.js +4 -4
- package/dist/esm/mds-img.entry.js +15 -8
- package/dist/esm/mds-input-date-range-preselection.entry.js +4 -4
- package/dist/esm/mds-input-date-range.entry.js +221 -71
- package/dist/esm/mds-input-date.entry.js +40 -17
- package/dist/esm/mds-input-field.entry.js +7 -7
- package/dist/esm/mds-input-otp.entry.js +6 -6
- package/dist/esm/mds-input-range.entry.js +19 -9
- package/dist/esm/mds-input-select.entry.js +39 -19
- package/dist/esm/mds-input-switch_2.entry.js +19 -10
- package/dist/esm/mds-input-tip_2.entry.js +14 -9
- package/dist/esm/mds-input-upload.entry.js +19 -12
- package/dist/esm/mds-input.entry.js +39 -16
- package/dist/esm/mds-keyboard-key.entry.js +8 -5
- package/dist/esm/mds-keyboard.entry.js +13 -8
- package/dist/esm/mds-kpi-item.entry.js +4 -4
- package/dist/esm/mds-kpi.entry.js +4 -4
- package/dist/esm/mds-label.entry.js +7 -4
- package/dist/esm/mds-list-item.entry.js +4 -4
- package/dist/esm/mds-list.entry.js +4 -4
- package/dist/esm/mds-mention.entry.js +4 -4
- package/dist/esm/mds-modal.entry.js +22 -15
- package/dist/esm/mds-note.entry.js +7 -4
- package/dist/esm/mds-notification.entry.js +11 -9
- package/dist/esm/mds-paginator-item.entry.js +7 -7
- package/dist/esm/mds-paginator.entry.js +4 -4
- package/dist/esm/mds-policy-ai.entry.js +7 -4
- package/dist/esm/mds-pref-animation.entry.js +13 -8
- package/dist/esm/mds-pref-consumption.entry.js +13 -8
- package/dist/esm/mds-pref-contrast.entry.js +14 -9
- package/dist/esm/mds-pref-language-item.entry.js +7 -4
- package/dist/esm/mds-pref-language.entry.js +8 -5
- package/dist/esm/mds-pref-theme-variant-item.entry.js +8 -5
- package/dist/esm/mds-pref-theme-variant.entry.js +9 -6
- package/dist/esm/mds-pref-theme.entry.js +17 -12
- package/dist/esm/mds-pref.entry.js +15 -8
- package/dist/esm/mds-price-table-features-cell.entry.js +4 -4
- package/dist/esm/mds-price-table-features-row.entry.js +4 -4
- package/dist/esm/mds-price-table-features.entry.js +4 -4
- package/dist/esm/mds-price-table-header.entry.js +4 -4
- package/dist/esm/mds-price-table-list-item.entry.js +4 -4
- package/dist/esm/mds-price-table-list.entry.js +4 -4
- package/dist/esm/mds-price-table.entry.js +4 -4
- package/dist/esm/mds-progress_2.entry.js +17 -11
- package/dist/esm/mds-push-notification-item.entry.js +12 -7
- package/dist/esm/mds-push-notification.entry.js +22 -10
- package/dist/esm/mds-quote.entry.js +4 -4
- package/dist/esm/mds-radial-menu-item.entry.js +7 -4
- package/dist/esm/mds-radial-menu.entry.js +30 -14
- package/dist/esm/mds-separator.entry.js +4 -4
- package/dist/esm/mds-status-bar.entry.js +10 -5
- package/dist/esm/mds-stepper-bar-item.entry.js +13 -6
- package/dist/esm/mds-stepper-bar.entry.js +8 -6
- package/dist/esm/mds-tab-bar-item.entry.js +14 -7
- package/dist/esm/mds-tab-bar.entry.js +4 -4
- package/dist/esm/mds-tab_2.entry.js +28 -16
- package/dist/esm/mds-table-body.entry.js +4 -4
- package/dist/esm/mds-table-footer.entry.js +4 -4
- package/dist/esm/mds-table-header-cell.entry.js +27 -12
- package/dist/esm/mds-table-header.entry.js +13 -5
- package/dist/esm/mds-table-row.entry.js +12 -6
- package/dist/esm/mds-table.entry.js +11 -7
- package/dist/esm/mds-text.entry.js +9 -7
- package/dist/esm/mds-toast.entry.js +12 -8
- package/dist/esm/mds-tooltip.entry.js +35 -15
- package/dist/esm/mds-tree-item.entry.js +16 -6
- package/dist/esm/mds-tree.entry.js +14 -8
- package/dist/esm/mds-url-view.entry.js +10 -7
- package/dist/esm/mds-usage.entry.js +7 -4
- package/dist/esm/mds-video-wall.entry.js +4 -4
- package/dist/esm/mds-zero.entry.js +4 -4
- package/dist/esm-es5/{datetime-C4yPBff1.js → datetime-BJtA1qmE.js} +1 -1
- package/dist/esm-es5/index-CAd5312P.js +1 -0
- package/dist/esm-es5/index.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/magma-components.js +1 -1
- package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
- package/dist/esm-es5/mds-accordion.entry.js +1 -1
- package/dist/esm-es5/mds-author.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
- package/dist/esm-es5/mds-avatar.entry.js +1 -1
- package/dist/esm-es5/mds-badge.entry.js +1 -1
- package/dist/esm-es5/mds-banner_3.entry.js +1 -1
- package/dist/esm-es5/mds-benchmark-bar.entry.js +1 -1
- package/dist/esm-es5/mds-bibliography.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb.entry.js +1 -1
- package/dist/esm-es5/mds-button-dropdown.entry.js +1 -1
- package/dist/esm-es5/mds-button-group.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +1 -1
- package/dist/esm-es5/mds-calendar_2.entry.js +1 -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 +1 -1
- package/dist/esm-es5/mds-details.entry.js +1 -1
- package/dist/esm-es5/mds-dropdown.entry.js +1 -1
- package/dist/esm-es5/mds-emoji.entry.js +3 -3
- package/dist/esm-es5/mds-entity.entry.js +1 -1
- package/dist/esm-es5/mds-file-preview.entry.js +2 -2
- package/dist/esm-es5/mds-file.entry.js +2 -2
- package/dist/esm-es5/mds-filter-item.entry.js +1 -1
- package/dist/esm-es5/mds-filter.entry.js +1 -1
- package/dist/esm-es5/mds-header-bar.entry.js +1 -1
- package/dist/esm-es5/mds-header.entry.js +1 -1
- package/dist/esm-es5/mds-horizontal-scroll.entry.js +1 -1
- package/dist/esm-es5/mds-hr.entry.js +1 -1
- package/dist/esm-es5/mds-img.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range.entry.js +1 -1
- package/dist/esm-es5/mds-input-date.entry.js +1 -1
- package/dist/esm-es5/mds-input-field.entry.js +1 -1
- package/dist/esm-es5/mds-input-otp.entry.js +1 -1
- package/dist/esm-es5/mds-input-range.entry.js +1 -1
- package/dist/esm-es5/mds-input-select.entry.js +1 -1
- package/dist/esm-es5/mds-input-switch_2.entry.js +1 -1
- package/dist/esm-es5/mds-input-tip_2.entry.js +1 -1
- package/dist/esm-es5/mds-input-upload.entry.js +1 -1
- package/dist/esm-es5/mds-input.entry.js +1 -1
- package/dist/esm-es5/mds-keyboard-key.entry.js +1 -1
- package/dist/esm-es5/mds-keyboard.entry.js +1 -1
- package/dist/esm-es5/mds-kpi-item.entry.js +1 -1
- package/dist/esm-es5/mds-kpi.entry.js +1 -1
- package/dist/esm-es5/mds-label.entry.js +1 -1
- package/dist/esm-es5/mds-list-item.entry.js +1 -1
- package/dist/esm-es5/mds-list.entry.js +1 -1
- package/dist/esm-es5/mds-mention.entry.js +1 -1
- package/dist/esm-es5/mds-modal.entry.js +1 -1
- package/dist/esm-es5/mds-note.entry.js +1 -1
- package/dist/esm-es5/mds-notification.entry.js +1 -1
- package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
- package/dist/esm-es5/mds-paginator.entry.js +1 -1
- package/dist/esm-es5/mds-policy-ai.entry.js +1 -1
- package/dist/esm-es5/mds-pref-animation.entry.js +1 -1
- package/dist/esm-es5/mds-pref-consumption.entry.js +1 -1
- package/dist/esm-es5/mds-pref-contrast.entry.js +1 -1
- package/dist/esm-es5/mds-pref-language-item.entry.js +1 -1
- package/dist/esm-es5/mds-pref-language.entry.js +1 -1
- package/dist/esm-es5/mds-pref-theme-variant-item.entry.js +1 -1
- package/dist/esm-es5/mds-pref-theme-variant.entry.js +1 -1
- package/dist/esm-es5/mds-pref-theme.entry.js +1 -1
- package/dist/esm-es5/mds-pref.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-features-cell.entry.js +1 -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 +1 -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 +1 -1
- package/dist/esm-es5/mds-push-notification-item.entry.js +1 -1
- package/dist/esm-es5/mds-push-notification.entry.js +1 -1
- package/dist/esm-es5/mds-quote.entry.js +1 -1
- package/dist/esm-es5/mds-radial-menu-item.entry.js +1 -1
- package/dist/esm-es5/mds-radial-menu.entry.js +1 -1
- package/dist/esm-es5/mds-separator.entry.js +1 -1
- package/dist/esm-es5/mds-status-bar.entry.js +1 -1
- package/dist/esm-es5/mds-stepper-bar-item.entry.js +1 -1
- package/dist/esm-es5/mds-stepper-bar.entry.js +1 -1
- package/dist/esm-es5/mds-tab-bar-item.entry.js +1 -1
- package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
- package/dist/esm-es5/mds-tab_2.entry.js +1 -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 +1 -1
- package/dist/esm-es5/mds-table-header.entry.js +1 -1
- package/dist/esm-es5/mds-table-row.entry.js +1 -1
- package/dist/esm-es5/mds-table.entry.js +1 -1
- package/dist/esm-es5/mds-text.entry.js +1 -1
- package/dist/esm-es5/mds-toast.entry.js +1 -1
- package/dist/esm-es5/mds-tooltip.entry.js +1 -1
- package/dist/esm-es5/mds-tree-item.entry.js +1 -1
- package/dist/esm-es5/mds-tree.entry.js +1 -1
- package/dist/esm-es5/mds-url-view.entry.js +1 -1
- package/dist/esm-es5/mds-usage.entry.js +1 -1
- package/dist/esm-es5/mds-video-wall.entry.js +1 -1
- package/dist/esm-es5/mds-zero.entry.js +1 -1
- package/dist/hydrate/index.d.ts +12 -0
- package/dist/hydrate/index.js +6687 -1804
- package/dist/hydrate/index.mjs +6686 -1805
- package/dist/magma-components/index.esm.js +1 -0
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/magma-components.js +1 -1
- package/dist/magma-components/{p-da1e08a8.system.entry.js → p-00313884.entry.js} +1 -1
- package/dist/magma-components/{p-8c757fad.entry.js → p-01dc43dd.entry.js} +1 -1
- package/dist/magma-components/p-01dca5e8.entry.js +1 -0
- package/dist/magma-components/p-030d45e3.entry.js +1 -0
- package/dist/magma-components/p-0328a23e.system.entry.js +1 -0
- package/dist/magma-components/{p-54a1e963.entry.js → p-08c6869a.entry.js} +1 -1
- package/dist/magma-components/p-09de9fc5.system.entry.js +1 -0
- package/dist/magma-components/{p-18412b69.entry.js → p-0acb46c8.entry.js} +1 -1
- package/dist/magma-components/p-0b10ef9f.system.entry.js +1 -0
- package/dist/magma-components/p-0b11f03b.entry.js +1 -0
- package/dist/magma-components/p-0be56202.system.entry.js +1 -0
- package/dist/magma-components/p-0de58147.entry.js +1 -0
- package/dist/magma-components/p-0e481e5c.system.entry.js +1 -0
- package/dist/magma-components/p-0f104850.system.entry.js +1 -0
- package/dist/magma-components/p-1073bf63.entry.js +1 -0
- package/dist/magma-components/p-11490a89.entry.js +1 -0
- package/dist/magma-components/p-137b0bbe.system.entry.js +1 -0
- package/dist/magma-components/{p-37c304a8.entry.js → p-14a98729.entry.js} +1 -1
- package/dist/magma-components/p-14d858f8.system.entry.js +1 -0
- package/dist/magma-components/p-14e918de.system.entry.js +1 -0
- package/dist/magma-components/p-154ef5b9.entry.js +1 -0
- package/dist/magma-components/p-158af6e3.entry.js +1 -0
- package/dist/magma-components/p-17427d8a.system.entry.js +1 -0
- package/dist/magma-components/p-1805592d.entry.js +1 -0
- package/dist/magma-components/p-18563022.entry.js +1 -0
- package/dist/magma-components/{p-7a88d5b1.entry.js → p-19f99447.entry.js} +1 -1
- package/dist/magma-components/p-1a56d383.system.entry.js +1 -0
- package/dist/magma-components/p-1bb7895a.system.entry.js +1 -0
- package/dist/magma-components/p-1ce791c1.system.entry.js +1 -0
- package/dist/magma-components/p-1da904c3.system.entry.js +1 -0
- package/dist/magma-components/p-20961bf1.entry.js +1 -0
- package/dist/magma-components/p-24a9ed63.system.entry.js +1 -0
- package/dist/magma-components/{p-2431bf5b.entry.js → p-26b131cf.entry.js} +1 -1
- package/dist/magma-components/p-28ebb626.entry.js +1 -0
- package/dist/magma-components/{p-25d96882.system.entry.js → p-292f4566.system.entry.js} +1 -1
- package/dist/magma-components/p-2a1d3680.system.entry.js +1 -0
- package/dist/magma-components/p-2ab75334.system.entry.js +1 -0
- package/dist/magma-components/p-2ccc796b.system.entry.js +1 -0
- package/dist/magma-components/p-2d9d0887.system.entry.js +1 -0
- package/dist/magma-components/p-2df01d02.system.entry.js +1 -0
- package/dist/magma-components/{p-2b47fe1f.entry.js → p-3145c7eb.entry.js} +1 -1
- package/dist/magma-components/p-34018dfe.entry.js +1 -0
- package/dist/magma-components/{p-86cdcab6.system.entry.js → p-35a9f1b4.system.entry.js} +3 -3
- package/dist/magma-components/p-35ec8bbd.entry.js +1 -0
- package/dist/magma-components/p-370f9463.system.entry.js +1 -0
- package/dist/magma-components/p-387948c4.system.entry.js +1 -0
- package/dist/magma-components/p-3aeecbba.system.entry.js +1 -0
- package/dist/magma-components/p-3af9132f.system.entry.js +1 -0
- package/dist/magma-components/p-3bfd085f.system.entry.js +1 -0
- package/dist/magma-components/{p-eca9aeea.entry.js → p-3c246a39.entry.js} +1 -1
- package/dist/magma-components/p-3c2bf79b.entry.js +1 -0
- package/dist/magma-components/p-3ce52f3c.entry.js +1 -0
- package/dist/magma-components/p-3e5993b4.entry.js +1 -0
- package/dist/magma-components/p-3ef80cd4.system.entry.js +1 -0
- package/dist/magma-components/{p-fb852b6f.entry.js → p-3fc3b8b4.entry.js} +1 -1
- package/dist/magma-components/p-423955d1.system.entry.js +1 -0
- package/dist/magma-components/p-42f336df.system.entry.js +1 -0
- package/dist/magma-components/p-45a85712.system.entry.js +1 -0
- package/dist/magma-components/p-460cd731.system.entry.js +1 -0
- package/dist/magma-components/p-473f6954.entry.js +1 -0
- package/dist/magma-components/p-47fa0ecf.entry.js +1 -0
- package/dist/magma-components/p-4b07fe37.entry.js +1 -0
- package/dist/magma-components/p-4b884441.entry.js +1 -0
- package/dist/magma-components/{p-1faa59ee.entry.js → p-4ba583c9.entry.js} +1 -1
- package/dist/magma-components/{p-e3090966.entry.js → p-4c08fe3e.entry.js} +1 -1
- package/dist/magma-components/p-4f490917.entry.js +1 -0
- package/dist/magma-components/p-4f98fdba.system.entry.js +1 -0
- package/dist/magma-components/p-50553954.system.entry.js +1 -0
- package/dist/magma-components/{p-74aeba83.entry.js → p-523d4716.entry.js} +1 -1
- package/dist/magma-components/p-52ccfafc.system.entry.js +1 -0
- package/dist/magma-components/p-52e2f903.entry.js +1 -0
- package/dist/magma-components/p-53195d95.system.entry.js +1 -0
- package/dist/magma-components/p-5488f51f.system.entry.js +1 -0
- package/dist/magma-components/p-553927f9.system.entry.js +1 -0
- package/dist/magma-components/p-55b4bbba.entry.js +1 -0
- package/dist/magma-components/{p-379a4998.entry.js → p-583f5ffa.entry.js} +1 -1
- package/dist/magma-components/{p-312e1512.entry.js → p-59d65cff.entry.js} +1 -1
- package/dist/magma-components/p-59f53701.system.entry.js +1 -0
- package/dist/magma-components/p-5b881091.entry.js +1 -0
- package/dist/magma-components/p-5c44d208.entry.js +1 -0
- package/dist/magma-components/p-5fdcd8e2.system.entry.js +1 -0
- package/dist/magma-components/p-5fe7b875.system.entry.js +1 -0
- package/dist/magma-components/p-614e7f83.system.entry.js +1 -0
- package/dist/magma-components/p-62cf9003.system.entry.js +1 -0
- package/dist/magma-components/{p-014d0127.entry.js → p-63898681.entry.js} +1 -1
- package/dist/magma-components/p-663a510e.entry.js +1 -0
- package/dist/magma-components/{p-a68b2bd1.entry.js → p-68f57bb1.entry.js} +1 -1
- package/dist/magma-components/p-6ae4df92.system.entry.js +1 -0
- package/dist/magma-components/p-6d268a59.entry.js +1 -0
- package/dist/magma-components/p-7306b02e.system.entry.js +17 -0
- package/dist/magma-components/p-75011fed.system.entry.js +9 -0
- package/dist/magma-components/{p-8cadef2a.entry.js → p-7595afcf.entry.js} +3 -3
- package/dist/magma-components/p-77e9bd68.entry.js +1 -0
- package/dist/magma-components/p-7d836722.entry.js +1 -0
- package/dist/magma-components/p-7e037cf3.entry.js +8 -0
- package/dist/magma-components/p-8106dbfd.system.entry.js +1 -0
- package/dist/magma-components/p-82deeaa0.system.entry.js +1 -0
- package/dist/magma-components/p-83589b83.entry.js +1 -0
- package/dist/magma-components/{p-1650e033.entry.js → p-83721814.entry.js} +2 -2
- package/dist/magma-components/p-83de0e53.system.entry.js +1 -0
- package/dist/magma-components/p-849760e7.system.entry.js +1 -0
- package/dist/magma-components/{p-76abcca3.system.entry.js → p-85ac6e54.system.entry.js} +1 -1
- package/dist/magma-components/p-87f8a213.entry.js +1 -0
- package/dist/magma-components/p-89bf698e.system.entry.js +1 -0
- package/dist/magma-components/p-89f96753.system.entry.js +1 -0
- package/dist/magma-components/p-8b3065b4.entry.js +1 -0
- package/dist/magma-components/p-8bec8ad6.system.entry.js +1 -0
- package/dist/magma-components/p-8d76853c.system.entry.js +1 -0
- package/dist/magma-components/p-8f1ce3f1.system.entry.js +1 -0
- package/dist/magma-components/p-9021fa60.entry.js +1 -0
- package/dist/magma-components/p-90b72c1c.system.entry.js +1 -0
- package/dist/magma-components/p-90d5b6df.system.entry.js +1 -0
- package/dist/magma-components/p-913372ff.entry.js +1 -0
- package/dist/magma-components/p-94093140.system.entry.js +1 -0
- package/dist/magma-components/p-944d9b27.system.entry.js +1 -0
- package/dist/magma-components/{p-2086a922.entry.js → p-94713401.entry.js} +1 -1
- package/dist/magma-components/{p-199d6fc7.entry.js → p-956b5ae6.entry.js} +1 -1
- package/dist/magma-components/p-95eae04e.entry.js +1 -0
- package/dist/magma-components/p-961a2531.entry.js +1 -0
- package/dist/magma-components/p-9658cb0c.entry.js +1 -0
- package/dist/magma-components/p-96d1a168.entry.js +1 -0
- package/dist/magma-components/p-96f6a646.entry.js +1 -0
- package/dist/magma-components/p-98435b90.system.entry.js +1 -0
- package/dist/magma-components/p-988b0c7c.entry.js +1 -0
- package/dist/magma-components/p-98a05642.system.entry.js +1 -0
- package/dist/magma-components/p-99f7a1b6.system.entry.js +1 -0
- package/dist/magma-components/p-9a1940c1.system.entry.js +1 -0
- package/dist/magma-components/p-9a89bc78.system.entry.js +1 -0
- package/dist/magma-components/p-9ad586a7.system.entry.js +1 -0
- package/dist/magma-components/p-9b52918e.system.entry.js +1 -0
- package/dist/magma-components/{p-B2gc1lkP.system.js → p-BJKToXNf.system.js} +1 -1
- package/dist/magma-components/{p-C4yPBff1.js → p-BJtA1qmE.js} +1 -1
- package/dist/magma-components/p-CAd5312P.js +2 -0
- package/dist/magma-components/p-DI5DWqw4.system.js +2 -0
- package/dist/magma-components/p-DTZViJWJ.system.js +1 -0
- package/dist/magma-components/p-a1af65e8.entry.js +1 -0
- package/dist/magma-components/p-a5473293.system.entry.js +1 -0
- package/dist/magma-components/p-a6caafcb.system.entry.js +1 -0
- package/dist/magma-components/p-a7bd4585.entry.js +1 -0
- package/dist/magma-components/p-a88fba47.system.entry.js +1 -0
- package/dist/magma-components/{p-408abcfd.entry.js → p-a959ade4.entry.js} +1 -1
- package/dist/magma-components/p-aa7d8972.entry.js +1 -0
- package/dist/magma-components/p-aa98652f.entry.js +1 -0
- package/dist/magma-components/p-aaeb0ee3.system.entry.js +1 -0
- package/dist/magma-components/p-ab89bf5b.system.entry.js +1 -0
- package/dist/magma-components/p-abc720e3.entry.js +1 -0
- package/dist/magma-components/p-abe87810.entry.js +1 -0
- package/dist/magma-components/{p-492e2cc1.entry.js → p-ac80aca8.entry.js} +1 -1
- package/dist/magma-components/p-acb07134.system.entry.js +1 -0
- package/dist/magma-components/p-acd4f96a.entry.js +1 -0
- package/dist/magma-components/{p-00649cfc.entry.js → p-af49bca2.entry.js} +1 -1
- package/dist/magma-components/{p-6ccffbff.entry.js → p-af670eaf.entry.js} +1 -1
- package/dist/magma-components/p-b14a94e0.system.entry.js +1 -0
- package/dist/magma-components/p-b2bc194a.entry.js +1 -0
- package/dist/magma-components/p-b2e76c18.system.entry.js +1 -0
- package/dist/magma-components/p-b37dff80.system.entry.js +1 -0
- package/dist/magma-components/p-b3e3226e.entry.js +1 -0
- package/dist/magma-components/p-b40f1153.entry.js +1 -0
- package/dist/magma-components/p-b4709a95.entry.js +1 -0
- package/dist/magma-components/p-b5db6527.system.entry.js +1 -0
- package/dist/magma-components/p-b764defa.entry.js +1 -0
- package/dist/magma-components/p-b9b2501e.system.entry.js +1 -0
- package/dist/magma-components/p-b9b5bcdd.system.entry.js +1 -0
- package/dist/magma-components/p-ba2a0bc1.system.entry.js +1 -0
- package/dist/magma-components/p-bb4380cd.entry.js +1 -0
- package/dist/magma-components/p-bce3a8b0.system.entry.js +1 -0
- package/dist/magma-components/p-bd2998e6.system.entry.js +1 -0
- package/dist/magma-components/p-bd3dbc2d.entry.js +1 -0
- package/dist/magma-components/p-bed57abb.entry.js +1 -0
- package/dist/magma-components/p-bfed0b7a.entry.js +1 -0
- package/dist/magma-components/p-c6177cb9.system.entry.js +1 -0
- package/dist/magma-components/p-c638556c.entry.js +1 -0
- package/dist/magma-components/{p-9b5cfdd8.entry.js → p-c6fa4a21.entry.js} +1 -1
- package/dist/magma-components/p-c8e99385.system.entry.js +1 -0
- package/dist/magma-components/{p-e69e24a3.entry.js → p-c9231987.entry.js} +1 -1
- package/dist/magma-components/p-c9c51ba6.system.entry.js +1 -0
- package/dist/magma-components/p-cc53b30c.entry.js +1 -0
- package/dist/magma-components/{p-823a5efc.entry.js → p-ccc0521c.entry.js} +1 -1
- package/dist/magma-components/p-cd71630e.system.entry.js +1 -0
- package/dist/magma-components/p-cd879243.system.entry.js +1 -0
- package/dist/magma-components/{p-c288b9a1.entry.js → p-ce064d47.entry.js} +1 -1
- package/dist/magma-components/{p-d4a1c10f.system.entry.js → p-d1eea8ca.system.entry.js} +1 -1
- package/dist/magma-components/p-d2537229.system.entry.js +1 -0
- package/dist/magma-components/p-d2617a1a.entry.js +1 -0
- package/dist/magma-components/p-d41c4637.system.entry.js +1 -0
- package/dist/magma-components/{p-a2d2cb35.entry.js → p-d88f44aa.entry.js} +1 -1
- package/dist/magma-components/p-dae9ae8e.system.entry.js +1 -0
- package/dist/magma-components/{p-b9d6a1f7.entry.js → p-dd860de4.entry.js} +1 -1
- package/dist/magma-components/p-df87e2f5.system.entry.js +1 -0
- package/dist/magma-components/p-dfe082be.system.entry.js +1 -0
- package/dist/magma-components/{p-1b165893.entry.js → p-e00ba5a0.entry.js} +1 -1
- package/dist/magma-components/p-e0d12fa2.system.entry.js +1 -0
- package/dist/magma-components/{p-6e94ea64.entry.js → p-e2cd11c3.entry.js} +1 -1
- package/dist/magma-components/p-e5fb3081.system.entry.js +1 -0
- package/dist/magma-components/{p-08f81a0c.entry.js → p-e67a6452.entry.js} +1 -1
- package/dist/magma-components/p-e6d8c9e3.system.entry.js +1 -0
- package/dist/magma-components/p-e71aecc1.entry.js +1 -0
- package/dist/magma-components/p-eac692ea.system.entry.js +1 -0
- package/dist/magma-components/p-ecf2e98d.system.entry.js +1 -0
- package/dist/magma-components/p-ed6d1453.system.entry.js +1 -0
- package/dist/magma-components/p-f289eb5a.entry.js +1 -0
- package/dist/magma-components/p-f3604c99.entry.js +1 -0
- package/dist/magma-components/{p-f56acab0.entry.js → p-f3dbca34.entry.js} +1 -1
- package/dist/magma-components/p-f4b4bdf2.system.entry.js +1 -0
- package/dist/magma-components/p-f56d16f7.entry.js +1 -0
- package/dist/magma-components/p-f8014852.system.entry.js +1 -0
- package/dist/magma-components/{p-41e50837.entry.js → p-f851100d.entry.js} +1 -1
- package/dist/magma-components/{p-6f7bce81.entry.js → p-f8d5adce.entry.js} +1 -1
- package/dist/magma-components/p-fa427f75.system.entry.js +1 -0
- package/dist/magma-components/p-fa6a05b5.entry.js +1 -0
- package/dist/magma-components/p-fb8b0104.entry.js +1 -0
- package/dist/magma-components/p-fcf59139.system.entry.js +1 -0
- package/dist/magma-components/p-fe3d5720.system.entry.js +1 -0
- package/dist/magma-components/p-fe85ad8e.system.entry.js +1 -0
- package/dist/magma-components/p-ffae137a.entry.js +1 -0
- package/dist/magma-components/p-oCzRm29V.system.js +1 -0
- package/dist/stats.json +4561 -2983
- package/dist/types/components/mds-accordion/mds-accordion.d.ts +1 -1
- package/dist/types/components/mds-accordion-item/mds-accordion-item.d.ts +1 -1
- package/dist/types/components/mds-accordion-timer/mds-accordion-timer.d.ts +1 -1
- package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +1 -1
- package/dist/types/components/mds-author/mds-author.d.ts +1 -1
- package/dist/types/components/mds-avatar-stack/mds-avatar-stack.d.ts +3 -0
- package/dist/types/components/mds-badge/mds-badge.d.ts +1 -1
- package/dist/types/components/mds-banner/mds-banner.d.ts +4 -1
- package/dist/types/components/mds-benchmark-bar/mds-benchmark-bar.d.ts +1 -1
- package/dist/types/components/mds-breadcrumb/mds-breadcrumb.d.ts +4 -1
- package/dist/types/components/mds-button/mds-button.d.ts +1 -1
- package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +3 -0
- package/dist/types/components/mds-button-group/mds-button-group.d.ts +3 -0
- package/dist/types/components/mds-calendar/mds-calendar.d.ts +75 -8
- package/dist/types/components/mds-card-content/mds-card-content.d.ts +1 -1
- package/dist/types/components/mds-card-footer/mds-card-footer.d.ts +1 -1
- package/dist/types/components/mds-card-header/mds-card-header.d.ts +1 -1
- package/dist/types/components/mds-card-media/mds-card-media.d.ts +1 -1
- package/dist/types/components/mds-chip/mds-chip.d.ts +3 -0
- package/dist/types/components/mds-details/mds-details.d.ts +1 -1
- package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +4 -4
- package/dist/types/components/mds-emoji/mds-emoji.d.ts +7 -0
- package/dist/types/components/mds-entity/mds-entity.d.ts +1 -1
- package/dist/types/components/mds-file/mds-file.d.ts +3 -0
- package/dist/types/components/mds-file-preview/mds-file-preview.d.ts +3 -0
- package/dist/types/components/mds-filter/mds-filter.d.ts +1 -1
- package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +1 -1
- package/dist/types/components/mds-header/mds-header.d.ts +5 -1
- package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +5 -1
- package/dist/types/components/mds-help/mds-help.d.ts +1 -1
- package/dist/types/components/mds-horizontal-scroll/mds-horizontal-scroll.d.ts +1 -1
- package/dist/types/components/mds-icon/services/icons-set.service.d.ts +2 -1
- package/dist/types/components/mds-img/mds-img.d.ts +3 -0
- package/dist/types/components/mds-input/mds-input.d.ts +15 -0
- package/dist/types/components/mds-input-date/mds-input-date.d.ts +19 -1
- package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +38 -4
- package/dist/types/components/mds-input-date-range/test/mds-input-date-range.stories.d.ts +12 -0
- package/dist/types/components/mds-input-date-range-preselection/mds-input-date-range-preselection.d.ts +3 -0
- package/dist/types/components/mds-input-field/mds-input-field.d.ts +3 -0
- package/dist/types/components/mds-input-range/mds-input-range.d.ts +2 -1
- package/dist/types/components/mds-input-select/mds-input-select.d.ts +4 -0
- package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +4 -1
- package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +3 -0
- package/dist/types/components/mds-input-tip-item/mds-input-tip-item.d.ts +6 -0
- package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +3 -0
- package/dist/types/components/mds-keyboard/mds-keyboard.d.ts +7 -1
- package/dist/types/components/mds-keyboard-key/mds-keyboard-key.d.ts +3 -0
- package/dist/types/components/mds-keyboard-key/meta/icons.d.ts +1 -1
- package/dist/types/components/mds-kpi/mds-kpi.d.ts +1 -1
- package/dist/types/components/mds-label/mds-label.d.ts +4 -1
- package/dist/types/components/mds-list/mds-list.d.ts +1 -1
- package/dist/types/components/mds-list-item/mds-list-item.d.ts +1 -1
- package/dist/types/components/mds-modal/mds-modal.d.ts +4 -1
- package/dist/types/components/mds-note/mds-note.d.ts +4 -1
- package/dist/types/components/mds-paginator-item/mds-paginator-item.d.ts +2 -2
- package/dist/types/components/mds-policy-ai/mds-policy-ai.d.ts +3 -0
- package/dist/types/components/mds-pref/mds-pref.d.ts +4 -1
- package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +3 -0
- package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +3 -0
- package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +3 -0
- package/dist/types/components/mds-pref-language/mds-pref-language.d.ts +4 -1
- package/dist/types/components/mds-pref-language-item/mds-pref-language-item.d.ts +3 -0
- package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +3 -0
- package/dist/types/components/mds-pref-theme-variant/mds-pref-theme-variant.d.ts +4 -1
- package/dist/types/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.d.ts +3 -0
- package/dist/types/components/mds-price-table/mds-price-table.d.ts +3 -0
- package/dist/types/components/mds-price-table-features/mds-price-table-features.d.ts +1 -1
- package/dist/types/components/mds-price-table-features-cell/mds-price-table-features-cell.d.ts +1 -1
- package/dist/types/components/mds-price-table-features-row/mds-price-table-features-row.d.ts +1 -1
- package/dist/types/components/mds-price-table-header/mds-price-table-header.d.ts +3 -0
- package/dist/types/components/mds-price-table-list/mds-price-table-list.d.ts +1 -1
- package/dist/types/components/mds-price-table-list-item/mds-price-table-list-item.d.ts +3 -0
- package/dist/types/components/mds-push-notification/mds-push-notification.d.ts +12 -4
- package/dist/types/components/mds-push-notification-item/mds-push-notification-item.d.ts +3 -0
- package/dist/types/components/mds-quote/mds-quote.d.ts +1 -1
- package/dist/types/components/mds-radial-menu/mds-radial-menu.d.ts +3 -0
- package/dist/types/components/mds-radial-menu-item/mds-radial-menu-item.d.ts +3 -0
- package/dist/types/components/mds-status-bar/mds-status-bar.d.ts +4 -1
- package/dist/types/components/mds-stepper-bar/mds-stepper-bar.d.ts +1 -1
- package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +3 -0
- package/dist/types/components/mds-tab/mds-tab.d.ts +1 -1
- package/dist/types/components/mds-tab-bar/mds-tab-bar.d.ts +1 -1
- package/dist/types/components/mds-tab-bar-item/mds-tab-bar-item.d.ts +4 -1
- package/dist/types/components/mds-table/mds-table.d.ts +5 -2
- package/dist/types/components/mds-table-body/mds-table-body.d.ts +7 -1
- package/dist/types/components/mds-table-cell/mds-table-cell.d.ts +1 -1
- package/dist/types/components/mds-table-footer/mds-table-footer.d.ts +1 -1
- package/dist/types/components/mds-table-header/mds-table-header.d.ts +12 -1
- package/dist/types/components/mds-table-header-cell/mds-table-header-cell.d.ts +3 -0
- package/dist/types/components/mds-table-row/mds-table-row.d.ts +19 -1
- package/dist/types/components/mds-text/mds-text.d.ts +1 -1
- package/dist/types/components/mds-toast/mds-toast.d.ts +1 -1
- package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +1 -1
- package/dist/types/components/mds-tree/mds-tree.d.ts +1 -1
- package/dist/types/components/mds-tree-item/mds-tree-item.d.ts +10 -1
- package/dist/types/components/mds-url-view/mds-url-view.d.ts +4 -1
- package/dist/types/components/mds-usage/mds-usage.d.ts +4 -1
- package/dist/types/components/mds-video-wall/mds-video-wall.d.ts +1 -1
- package/dist/types/components/mds-zero/mds-zero.d.ts +1 -1
- package/dist/types/components.d.ts +1316 -219
- package/dist/types/index.d.ts +15 -0
- package/dist/types/stencil-public-runtime.d.ts +110 -5
- package/package.json +57 -11
- package/dist/esm-es5/index-BfAC4pqU.js +0 -1
- package/dist/magma-components/p-0130bb78.system.entry.js +0 -1
- package/dist/magma-components/p-01ed6d96.system.entry.js +0 -1
- package/dist/magma-components/p-01ff9d4c.system.entry.js +0 -1
- package/dist/magma-components/p-020e7201.entry.js +0 -1
- package/dist/magma-components/p-0228b956.entry.js +0 -1
- package/dist/magma-components/p-0291dd4c.entry.js +0 -1
- package/dist/magma-components/p-035d53f9.system.entry.js +0 -1
- package/dist/magma-components/p-03fc3cb6.system.entry.js +0 -1
- package/dist/magma-components/p-05069088.system.entry.js +0 -1
- package/dist/magma-components/p-0515681e.system.entry.js +0 -1
- package/dist/magma-components/p-0c530d94.system.entry.js +0 -1
- package/dist/magma-components/p-0e5f654a.entry.js +0 -1
- package/dist/magma-components/p-12a177ab.entry.js +0 -1
- package/dist/magma-components/p-12ba0511.system.entry.js +0 -1
- package/dist/magma-components/p-156af42d.entry.js +0 -1
- package/dist/magma-components/p-15b809ad.entry.js +0 -1
- package/dist/magma-components/p-15d3742b.entry.js +0 -1
- package/dist/magma-components/p-189867fe.system.entry.js +0 -1
- package/dist/magma-components/p-18b16f64.system.entry.js +0 -1
- package/dist/magma-components/p-1ed337e0.entry.js +0 -1
- package/dist/magma-components/p-1eebabf2.entry.js +0 -1
- package/dist/magma-components/p-1f29eafd.entry.js +0 -1
- package/dist/magma-components/p-1ffda3d3.entry.js +0 -1
- package/dist/magma-components/p-20a0e4ed.entry.js +0 -1
- package/dist/magma-components/p-23bdb4b9.entry.js +0 -1
- package/dist/magma-components/p-243cd6ac.entry.js +0 -1
- package/dist/magma-components/p-2445abc7.entry.js +0 -1
- package/dist/magma-components/p-262d9b35.system.entry.js +0 -1
- package/dist/magma-components/p-2634fdb6.system.entry.js +0 -1
- package/dist/magma-components/p-26a6c88d.system.entry.js +0 -1
- package/dist/magma-components/p-26aa7c0a.entry.js +0 -1
- package/dist/magma-components/p-273da050.system.entry.js +0 -1
- package/dist/magma-components/p-28d0a199.entry.js +0 -1
- package/dist/magma-components/p-29666107.system.entry.js +0 -1
- package/dist/magma-components/p-2c591bb6.system.entry.js +0 -1
- package/dist/magma-components/p-2ea972ee.entry.js +0 -1
- package/dist/magma-components/p-2f9a4987.entry.js +0 -1
- package/dist/magma-components/p-2ff9602e.system.entry.js +0 -1
- package/dist/magma-components/p-306e8c38.system.entry.js +0 -1
- package/dist/magma-components/p-311501ee.entry.js +0 -1
- package/dist/magma-components/p-3174b23d.entry.js +0 -1
- package/dist/magma-components/p-3310f321.entry.js +0 -1
- package/dist/magma-components/p-3498386e.entry.js +0 -1
- package/dist/magma-components/p-35347823.system.entry.js +0 -1
- package/dist/magma-components/p-366a19e8.entry.js +0 -1
- package/dist/magma-components/p-378f31a6.system.entry.js +0 -1
- package/dist/magma-components/p-37ed33dd.system.entry.js +0 -1
- package/dist/magma-components/p-37fc281b.system.entry.js +0 -1
- package/dist/magma-components/p-3d26511d.entry.js +0 -1
- package/dist/magma-components/p-3ee572f8.entry.js +0 -1
- package/dist/magma-components/p-40f01f36.system.entry.js +0 -1
- package/dist/magma-components/p-4173feeb.entry.js +0 -1
- package/dist/magma-components/p-424c3870.system.entry.js +0 -1
- package/dist/magma-components/p-425d8aa7.system.entry.js +0 -1
- package/dist/magma-components/p-4337ae15.system.entry.js +0 -1
- package/dist/magma-components/p-4576a939.entry.js +0 -1
- package/dist/magma-components/p-47af67d2.system.entry.js +0 -1
- package/dist/magma-components/p-4c135083.system.entry.js +0 -17
- package/dist/magma-components/p-4cec5cdd.system.entry.js +0 -1
- package/dist/magma-components/p-4dc6a848.system.entry.js +0 -1
- package/dist/magma-components/p-4de2320c.system.entry.js +0 -1
- package/dist/magma-components/p-4e62891c.system.entry.js +0 -1
- package/dist/magma-components/p-50260c87.entry.js +0 -1
- package/dist/magma-components/p-50dae232.entry.js +0 -1
- package/dist/magma-components/p-532ab129.system.entry.js +0 -1
- package/dist/magma-components/p-54c5f7c1.entry.js +0 -1
- package/dist/magma-components/p-54f4ca42.system.entry.js +0 -1
- package/dist/magma-components/p-5846c25b.system.entry.js +0 -1
- package/dist/magma-components/p-588942b7.system.entry.js +0 -1
- package/dist/magma-components/p-58dda765.system.entry.js +0 -1
- package/dist/magma-components/p-5cd12f3a.entry.js +0 -1
- package/dist/magma-components/p-5f73aa83.system.entry.js +0 -1
- package/dist/magma-components/p-6062f434.entry.js +0 -1
- package/dist/magma-components/p-60911cb6.system.entry.js +0 -1
- package/dist/magma-components/p-62e44706.entry.js +0 -1
- package/dist/magma-components/p-67586c4c.system.entry.js +0 -1
- package/dist/magma-components/p-67a980ba.system.entry.js +0 -1
- package/dist/magma-components/p-68489eef.system.entry.js +0 -1
- package/dist/magma-components/p-697204cf.system.entry.js +0 -1
- package/dist/magma-components/p-69f23add.system.entry.js +0 -1
- package/dist/magma-components/p-6ce95afa.entry.js +0 -1
- package/dist/magma-components/p-6f008516.system.entry.js +0 -1
- package/dist/magma-components/p-75ace8e3.entry.js +0 -1
- package/dist/magma-components/p-78657972.system.entry.js +0 -1
- package/dist/magma-components/p-7b437b69.system.entry.js +0 -1
- package/dist/magma-components/p-81cc57c3.system.entry.js +0 -1
- package/dist/magma-components/p-83f64f85.system.entry.js +0 -1
- package/dist/magma-components/p-85f80db8.system.entry.js +0 -1
- package/dist/magma-components/p-862cabb7.entry.js +0 -1
- package/dist/magma-components/p-88a64306.system.entry.js +0 -1
- package/dist/magma-components/p-8904037f.system.entry.js +0 -1
- package/dist/magma-components/p-8a06e18f.system.entry.js +0 -1
- package/dist/magma-components/p-8b3a86e9.system.entry.js +0 -1
- package/dist/magma-components/p-8dc2ff30.entry.js +0 -1
- package/dist/magma-components/p-8e65b812.system.entry.js +0 -1
- package/dist/magma-components/p-9671bf48.system.entry.js +0 -1
- package/dist/magma-components/p-96b887e1.system.entry.js +0 -1
- package/dist/magma-components/p-9a9197b4.system.entry.js +0 -1
- package/dist/magma-components/p-9d276d82.entry.js +0 -1
- package/dist/magma-components/p-9d413aae.system.entry.js +0 -1
- package/dist/magma-components/p-9ed86996.entry.js +0 -1
- package/dist/magma-components/p-BfAC4pqU.js +0 -2
- package/dist/magma-components/p-C3FmKB70.system.js +0 -1
- package/dist/magma-components/p-DQqgZ0cY.system.js +0 -2
- package/dist/magma-components/p-YWpyar7R.system.js +0 -1
- package/dist/magma-components/p-a301089d.system.entry.js +0 -1
- package/dist/magma-components/p-a3b7c3a4.system.entry.js +0 -1
- package/dist/magma-components/p-a8045692.entry.js +0 -8
- package/dist/magma-components/p-a80cccaf.system.entry.js +0 -1
- package/dist/magma-components/p-a97f5bcf.entry.js +0 -1
- package/dist/magma-components/p-aa36fa23.system.entry.js +0 -1
- package/dist/magma-components/p-ab9f8323.system.entry.js +0 -1
- package/dist/magma-components/p-ac58144b.system.entry.js +0 -1
- package/dist/magma-components/p-ac83e397.system.entry.js +0 -1
- package/dist/magma-components/p-b095c76c.system.entry.js +0 -1
- package/dist/magma-components/p-b099c62f.system.entry.js +0 -1
- package/dist/magma-components/p-b1ed5b11.system.entry.js +0 -1
- package/dist/magma-components/p-b357828f.entry.js +0 -1
- package/dist/magma-components/p-b3a2264a.system.entry.js +0 -1
- package/dist/magma-components/p-b3c10df3.system.entry.js +0 -1
- package/dist/magma-components/p-b3f73660.system.entry.js +0 -1
- package/dist/magma-components/p-b4365088.entry.js +0 -1
- package/dist/magma-components/p-b56cbc41.entry.js +0 -1
- package/dist/magma-components/p-b7095315.entry.js +0 -1
- package/dist/magma-components/p-b73122dd.entry.js +0 -1
- package/dist/magma-components/p-b7c13b8f.entry.js +0 -1
- package/dist/magma-components/p-b9accbfe.entry.js +0 -1
- package/dist/magma-components/p-bc187c3e.system.entry.js +0 -1
- package/dist/magma-components/p-bcd19fac.entry.js +0 -1
- package/dist/magma-components/p-bd4d2dde.entry.js +0 -1
- package/dist/magma-components/p-be5f3afa.system.entry.js +0 -1
- package/dist/magma-components/p-bed25376.system.entry.js +0 -1
- package/dist/magma-components/p-c0c4d65e.system.entry.js +0 -1
- package/dist/magma-components/p-c409307f.system.entry.js +0 -1
- package/dist/magma-components/p-c6410cd5.entry.js +0 -1
- package/dist/magma-components/p-c8349720.entry.js +0 -1
- package/dist/magma-components/p-cb329d03.system.entry.js +0 -1
- package/dist/magma-components/p-cd80c3d4.entry.js +0 -1
- package/dist/magma-components/p-ce6e9905.system.entry.js +0 -1
- package/dist/magma-components/p-cfd475d8.system.entry.js +0 -1
- package/dist/magma-components/p-d057243f.system.entry.js +0 -1
- package/dist/magma-components/p-d1188a0a.system.entry.js +0 -9
- package/dist/magma-components/p-d1574fd4.system.entry.js +0 -1
- package/dist/magma-components/p-d1d1d3f9.entry.js +0 -1
- package/dist/magma-components/p-d5aa3d8f.system.entry.js +0 -1
- package/dist/magma-components/p-d7b05354.system.entry.js +0 -1
- package/dist/magma-components/p-d87a0a3c.system.entry.js +0 -1
- package/dist/magma-components/p-dd905ce6.entry.js +0 -1
- package/dist/magma-components/p-de2cf21a.entry.js +0 -1
- package/dist/magma-components/p-e285b234.system.entry.js +0 -1
- package/dist/magma-components/p-e4b2f4a5.entry.js +0 -1
- package/dist/magma-components/p-e5bb0588.system.entry.js +0 -1
- package/dist/magma-components/p-e8a68ec6.system.entry.js +0 -1
- package/dist/magma-components/p-eaf44e56.entry.js +0 -1
- package/dist/magma-components/p-ec80755e.entry.js +0 -1
- package/dist/magma-components/p-ec86fabf.system.entry.js +0 -1
- package/dist/magma-components/p-ed988ff9.entry.js +0 -1
- package/dist/magma-components/p-ef766346.system.entry.js +0 -1
- package/dist/magma-components/p-f02b5c85.system.entry.js +0 -1
- package/dist/magma-components/p-f0df5249.entry.js +0 -1
- package/dist/magma-components/p-f1418e28.system.entry.js +0 -1
- package/dist/magma-components/p-f483796b.system.entry.js +0 -1
- package/dist/magma-components/p-f528e98a.entry.js +0 -1
- package/dist/magma-components/p-f69095c5.entry.js +0 -1
- package/dist/magma-components/p-f6bffd82.entry.js +0 -1
- package/dist/magma-components/p-f7023e4e.system.entry.js +0 -1
- package/dist/magma-components/p-f8f2b590.system.entry.js +0 -1
- package/dist/magma-components/p-f902cb3a.system.entry.js +0 -1
- package/dist/magma-components/p-f962b4dc.entry.js +0 -1
- package/dist/magma-components/p-fa038ac2.entry.js +0 -1
- package/dist/magma-components/p-fbf60d0d.system.entry.js +0 -1
- package/dist/magma-components/p-fdf44de5.system.entry.js +0 -1
- package/dist/magma-components/p-ffeeb010.entry.js +0 -1
|
@@ -1,78 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { d as defineCustomElement$6 } from './mds-avatar2.js';
|
|
3
|
-
import { d as defineCustomElement$5 } from './mds-button2.js';
|
|
4
|
-
import { d as defineCustomElement$4 } from './mds-icon2.js';
|
|
5
|
-
import { d as defineCustomElement$3 } from './mds-img2.js';
|
|
6
|
-
import { d as defineCustomElement$2 } from './mds-spinner2.js';
|
|
7
|
-
import { d as defineCustomElement$1 } from './mds-text2.js';
|
|
8
|
-
|
|
9
|
-
const mdsAvatarStackItemCss = "@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,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))}";
|
|
10
|
-
|
|
11
|
-
const MdsAvatarStackItem = /*@__PURE__*/ proxyCustomElement(class MdsAvatarStackItem extends HTMLElement {
|
|
12
|
-
constructor(registerHost) {
|
|
13
|
-
super();
|
|
14
|
-
if (registerHost !== false) {
|
|
15
|
-
this.__registerHost();
|
|
16
|
-
}
|
|
17
|
-
this.__attachShadow();
|
|
18
|
-
/**
|
|
19
|
-
* Specifies the color tone of the component
|
|
20
|
-
*/
|
|
21
|
-
this.tone = 'weak';
|
|
22
|
-
}
|
|
23
|
-
render() {
|
|
24
|
-
return (h(Host, { key: '0626ca208c46043a55b76069f8c0c8de4a91f467' }, h("mds-avatar", { key: '376af8e3683bd2c4f19aa5c38728ca5e59ff4f57', class: "avatar", count: this.count, initials: this.initials, src: this.src, tone: this.tone, variant: this.variant })));
|
|
25
|
-
}
|
|
26
|
-
static get style() { return mdsAvatarStackItemCss; }
|
|
27
|
-
}, [257, "mds-avatar-stack-item", {
|
|
28
|
-
"count": [514],
|
|
29
|
-
"initials": [1537],
|
|
30
|
-
"src": [513],
|
|
31
|
-
"tone": [513],
|
|
32
|
-
"variant": [513]
|
|
33
|
-
}]);
|
|
34
|
-
function defineCustomElement() {
|
|
35
|
-
if (typeof customElements === "undefined") {
|
|
36
|
-
return;
|
|
37
|
-
}
|
|
38
|
-
const components = ["mds-avatar-stack-item", "mds-avatar", "mds-button", "mds-icon", "mds-img", "mds-spinner", "mds-text"];
|
|
39
|
-
components.forEach(tagName => { switch (tagName) {
|
|
40
|
-
case "mds-avatar-stack-item":
|
|
41
|
-
if (!customElements.get(tagName)) {
|
|
42
|
-
customElements.define(tagName, MdsAvatarStackItem);
|
|
43
|
-
}
|
|
44
|
-
break;
|
|
45
|
-
case "mds-avatar":
|
|
46
|
-
if (!customElements.get(tagName)) {
|
|
47
|
-
defineCustomElement$6();
|
|
48
|
-
}
|
|
49
|
-
break;
|
|
50
|
-
case "mds-button":
|
|
51
|
-
if (!customElements.get(tagName)) {
|
|
52
|
-
defineCustomElement$5();
|
|
53
|
-
}
|
|
54
|
-
break;
|
|
55
|
-
case "mds-icon":
|
|
56
|
-
if (!customElements.get(tagName)) {
|
|
57
|
-
defineCustomElement$4();
|
|
58
|
-
}
|
|
59
|
-
break;
|
|
60
|
-
case "mds-img":
|
|
61
|
-
if (!customElements.get(tagName)) {
|
|
62
|
-
defineCustomElement$3();
|
|
63
|
-
}
|
|
64
|
-
break;
|
|
65
|
-
case "mds-spinner":
|
|
66
|
-
if (!customElements.get(tagName)) {
|
|
67
|
-
defineCustomElement$2();
|
|
68
|
-
}
|
|
69
|
-
break;
|
|
70
|
-
case "mds-text":
|
|
71
|
-
if (!customElements.get(tagName)) {
|
|
72
|
-
defineCustomElement$1();
|
|
73
|
-
}
|
|
74
|
-
break;
|
|
75
|
-
} });
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
export { MdsAvatarStackItem as M, defineCustomElement as d };
|
|
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,84 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { d as defineCustomElement$8 } from './mds-avatar2.js';
|
|
3
|
-
import { d as defineCustomElement$7 } from './mds-avatar-stack-item2.js';
|
|
4
|
-
import { d as defineCustomElement$6 } from './mds-button2.js';
|
|
5
|
-
import { d as defineCustomElement$5 } from './mds-icon2.js';
|
|
6
|
-
import { d as defineCustomElement$4 } from './mds-img2.js';
|
|
7
|
-
import { d as defineCustomElement$3 } from './mds-spinner2.js';
|
|
8
|
-
import { d as defineCustomElement$2 } from './mds-text2.js';
|
|
9
|
-
|
|
10
|
-
const mdsAvatarStackCss = "@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,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-stack-background:rgb(var(--tone-neutral,0 0 0));--mds-avatar-stack-count-background-color:rgb(var(--tone-neutral-09,76 76 76));--mds-avatar-stack-count-color:rgb(var(--tone-neutral-04,218 218 218));--mds-avatar-stack-lg-border:var(--spacing-100,.25rem);--mds-avatar-stack-lg-offset:2;--mds-avatar-stack-lg-size:var(--spacing-1500,3.75rem);--mds-avatar-stack-md-border:var(--spacing-100,.25rem);--mds-avatar-stack-md-offset:1.75;--mds-avatar-stack-md-size:var(--spacing-1200,3rem);--mds-avatar-stack-sm-border:var(--spacing-50,.125rem);--mds-avatar-stack-sm-offset:1.5;--mds-avatar-stack-sm-size:var(--spacing-900,2.25rem)}}}@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-avatar-stack-item: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-stack-lg-offset{syntax:\"<integer>\";inherits:false;initial-value:2}@property --mds-avatar-stack-md-offset{syntax:\"<number>\";inherits:false;initial-value:1.75}@property --mds-avatar-stack-sm-offset{syntax:\"<number>\";inherits:false;initial-value:1.5}:host{--mds-avatar-stack-background:rgb(var(--tone-neutral,0 0 0));--mds-avatar-stack-count-background-color:rgb(var(--tone-neutral-09,76 76 76));--mds-avatar-stack-count-color:rgb(var(--tone-neutral-04,218 218 218));--mds-avatar-stack-lg-border:calc(var(--spacing,.0025rem)*100);--mds-avatar-stack-lg-offset:2;--mds-avatar-stack-lg-size:calc(var(--spacing,.0025rem)*1500);--mds-avatar-stack-md-border:calc(var(--spacing,.0025rem)*100);--mds-avatar-stack-md-offset:1.75;--mds-avatar-stack-md-size:calc(var(--spacing,.0025rem)*1200);--mds-avatar-stack-sm-border:calc(var(--spacing,.0025rem)*50);--mds-avatar-stack-sm-offset:1.5;--mds-avatar-stack-sm-size:calc(var(--spacing,.0025rem)*900);background-color:var(--mds-avatar-stack-background,rgb(var(--tone-neutral,0 0 0)));border-radius:1000px;display:inline-flex}";
|
|
11
|
-
|
|
12
|
-
const MdsAvatarStack$1 = /*@__PURE__*/ proxyCustomElement(class MdsAvatarStack extends HTMLElement {
|
|
13
|
-
constructor(registerHost) {
|
|
14
|
-
super();
|
|
15
|
-
if (registerHost !== false) {
|
|
16
|
-
this.__registerHost();
|
|
17
|
-
}
|
|
18
|
-
this.__attachShadow();
|
|
19
|
-
}
|
|
20
|
-
componentWillLoad() {
|
|
21
|
-
this.items = this.host.querySelectorAll(':scope > mds-avatar-stack-item');
|
|
22
|
-
}
|
|
23
|
-
render() {
|
|
24
|
-
return (h(Host, { key: 'e57b0bdda7fe40f3c914df1e2954985f5b124560' }, h("slot", { key: '05586f1f84de3e29fb66290c2bf44b8608154aa4' }), this.total !== undefined && this.total - this.items.length > 0 && (h("mds-avatar-stack-item", { key: 'd24631df49ea987384eb30e85bcfc07f20d41698', count: this.total - this.items.length }))));
|
|
25
|
-
}
|
|
26
|
-
get host() { return this; }
|
|
27
|
-
static get style() { return mdsAvatarStackCss; }
|
|
28
|
-
}, [257, "mds-avatar-stack", {
|
|
29
|
-
"size": [513],
|
|
30
|
-
"total": [514]
|
|
31
|
-
}]);
|
|
32
|
-
function defineCustomElement$1() {
|
|
33
|
-
if (typeof customElements === "undefined") {
|
|
34
|
-
return;
|
|
35
|
-
}
|
|
36
|
-
const components = ["mds-avatar-stack", "mds-avatar", "mds-avatar-stack-item", "mds-button", "mds-icon", "mds-img", "mds-spinner", "mds-text"];
|
|
37
|
-
components.forEach(tagName => { switch (tagName) {
|
|
38
|
-
case "mds-avatar-stack":
|
|
39
|
-
if (!customElements.get(tagName)) {
|
|
40
|
-
customElements.define(tagName, MdsAvatarStack$1);
|
|
41
|
-
}
|
|
42
|
-
break;
|
|
43
|
-
case "mds-avatar":
|
|
44
|
-
if (!customElements.get(tagName)) {
|
|
45
|
-
defineCustomElement$8();
|
|
46
|
-
}
|
|
47
|
-
break;
|
|
48
|
-
case "mds-avatar-stack-item":
|
|
49
|
-
if (!customElements.get(tagName)) {
|
|
50
|
-
defineCustomElement$7();
|
|
51
|
-
}
|
|
52
|
-
break;
|
|
53
|
-
case "mds-button":
|
|
54
|
-
if (!customElements.get(tagName)) {
|
|
55
|
-
defineCustomElement$6();
|
|
56
|
-
}
|
|
57
|
-
break;
|
|
58
|
-
case "mds-icon":
|
|
59
|
-
if (!customElements.get(tagName)) {
|
|
60
|
-
defineCustomElement$5();
|
|
61
|
-
}
|
|
62
|
-
break;
|
|
63
|
-
case "mds-img":
|
|
64
|
-
if (!customElements.get(tagName)) {
|
|
65
|
-
defineCustomElement$4();
|
|
66
|
-
}
|
|
67
|
-
break;
|
|
68
|
-
case "mds-spinner":
|
|
69
|
-
if (!customElements.get(tagName)) {
|
|
70
|
-
defineCustomElement$3();
|
|
71
|
-
}
|
|
72
|
-
break;
|
|
73
|
-
case "mds-text":
|
|
74
|
-
if (!customElements.get(tagName)) {
|
|
75
|
-
defineCustomElement$2();
|
|
76
|
-
}
|
|
77
|
-
break;
|
|
78
|
-
} });
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
const MdsAvatarStack = MdsAvatarStack$1;
|
|
82
|
-
const defineCustomElement = defineCustomElement$1;
|
|
83
|
-
|
|
84
|
-
export { MdsAvatarStack, defineCustomElement };
|
|
1
|
+
import{proxyCustomElement as a,HTMLElement as t,h as s,Host as e,transformTag as r}from"@stencil/core/internal/client";import{d as m}from"./mds-avatar2.js";import{d as o}from"./mds-avatar-stack-item2.js";import{d as n}from"./mds-button2.js";import{d as i}from"./mds-icon2.js";import{d as c}from"./mds-img2.js";import{d}from"./mds-spinner2.js";import{d as l}from"./mds-text2.js";const v=a(class extends t{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow()}componentWillLoad(){this.items=this.host.querySelectorAll(":scope > mds-avatar-stack-item")}render(){return s(e,{key:"a60bd68436a0006d48b550bdc7f9e134824c8ca6"},s("slot",{key:"9c600bfcf5b2baf490d431a75820b8d8d1bb4b9e"}),void 0!==this.total&&this.total-this.items.length>0&&s("mds-avatar-stack-item",{key:"6164b8f843f4455e83ff57391da3ddbf9840881b",count:this.total-this.items.length}))}get host(){return this}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 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-stack-background:rgb(var(--tone-neutral,0 0 0));--mds-avatar-stack-count-background-color:rgb(var(--tone-neutral-09,76 76 76));--mds-avatar-stack-count-color:rgb(var(--tone-neutral-04,218 218 218));--mds-avatar-stack-lg-border:var(--spacing-100,.25rem);--mds-avatar-stack-lg-offset:2;--mds-avatar-stack-lg-size:var(--spacing-1500,3.75rem);--mds-avatar-stack-md-border:var(--spacing-100,.25rem);--mds-avatar-stack-md-offset:1.75;--mds-avatar-stack-md-size:var(--spacing-1200,3rem);--mds-avatar-stack-sm-border:var(--spacing-50,.125rem);--mds-avatar-stack-sm-offset:1.5;--mds-avatar-stack-sm-size:var(--spacing-900,2.25rem)}}}@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-avatar-stack-item: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-stack-lg-offset{syntax:"<integer>";inherits:false;initial-value:2}@property --mds-avatar-stack-md-offset{syntax:"<number>";inherits:false;initial-value:1.75}@property --mds-avatar-stack-sm-offset{syntax:"<number>";inherits:false;initial-value:1.5}:host{--mds-avatar-stack-background:rgb(var(--tone-neutral,0 0 0));--mds-avatar-stack-count-background-color:rgb(var(--tone-neutral-09,76 76 76));--mds-avatar-stack-count-color:rgb(var(--tone-neutral-04,218 218 218));--mds-avatar-stack-lg-border:calc(var(--spacing,.0025rem)*100);--mds-avatar-stack-lg-offset:2;--mds-avatar-stack-lg-size:calc(var(--spacing,.0025rem)*1500);--mds-avatar-stack-md-border:calc(var(--spacing,.0025rem)*100);--mds-avatar-stack-md-offset:1.75;--mds-avatar-stack-md-size:calc(var(--spacing,.0025rem)*1200);--mds-avatar-stack-sm-border:calc(var(--spacing,.0025rem)*50);--mds-avatar-stack-sm-offset:1.5;--mds-avatar-stack-sm-size:calc(var(--spacing,.0025rem)*900);background-color:var(--mds-avatar-stack-background,rgb(var(--tone-neutral,0 0 0)));border-radius:1000px;display:inline-flex}'}},[257,"mds-avatar-stack",{size:[513],total:[514]}]),b=v,u=function(){"undefined"!=typeof customElements&&["mds-avatar-stack","mds-avatar","mds-avatar-stack-item","mds-button","mds-icon","mds-img","mds-spinner","mds-text"].forEach((a=>{switch(a){case"mds-avatar-stack":customElements.get(r(a))||customElements.define(r(a),v);break;case"mds-avatar":customElements.get(r(a))||m();break;case"mds-avatar-stack-item":customElements.get(r(a))||o();break;case"mds-button":customElements.get(r(a))||n();break;case"mds-icon":customElements.get(r(a))||i();break;case"mds-img":customElements.get(r(a))||c();break;case"mds-spinner":customElements.get(r(a))||d();break;case"mds-text":customElements.get(r(a))||l()}}))};export{b as MdsAvatarStack,u as defineCustomElement}
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const MdsAvatar = MdsAvatar$1;
|
|
4
|
-
const defineCustomElement = defineCustomElement$1;
|
|
5
|
-
|
|
6
|
-
export { MdsAvatar, defineCustomElement };
|
|
1
|
+
import{M as a,d as s}from"./mds-avatar2.js";const o=a,r=s;export{o as MdsAvatar,r as defineCustomElement}
|
|
@@ -1,246 +1 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { c as clsx } from './clsx.js';
|
|
3
|
-
import { g as getDefaultExportFromCjs } from './_commonjsHelpers.js';
|
|
4
|
-
import { d as defineCustomElement$5 } from './mds-button2.js';
|
|
5
|
-
import { d as defineCustomElement$4 } from './mds-icon2.js';
|
|
6
|
-
import { d as defineCustomElement$3 } from './mds-img2.js';
|
|
7
|
-
import { d as defineCustomElement$2 } from './mds-spinner2.js';
|
|
8
|
-
import { d as defineCustomElement$1 } from './mds-text2.js';
|
|
9
|
-
|
|
10
|
-
var fitty_min$1 = {exports: {}};
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* fitty v2.4.2 - Snugly resizes text to fit its parent container
|
|
14
|
-
* Copyright (c) 2023 Rik Schennink <rik@pqina.nl> (https://pqina.nl/)
|
|
15
|
-
*/
|
|
16
|
-
var fitty_min = fitty_min$1.exports;
|
|
17
|
-
|
|
18
|
-
var hasRequiredFitty_min;
|
|
19
|
-
|
|
20
|
-
function requireFitty_min () {
|
|
21
|
-
if (hasRequiredFitty_min) return fitty_min$1.exports;
|
|
22
|
-
hasRequiredFitty_min = 1;
|
|
23
|
-
(function (module, exports) {
|
|
24
|
-
!function(e,t){module.exports=t();}(fitty_min,(function(){return function(e){if(e){var t=function(e){return [].slice.call(e)},n=0,i=1,r=2,o=3,l=[],u=null,a="requestAnimationFrame"in e?function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{sync:false};e.cancelAnimationFrame(u);var n=function(){return s(l.filter((function(e){return e.dirty&&e.active})))};if(t.sync)return n();u=e.requestAnimationFrame(n);}:function(){},c=function(e){return function(t){l.forEach((function(t){return t.dirty=e})),a(t);}},s=function(e){e.filter((function(e){return !e.styleComputed})).forEach((function(e){e.styleComputed=y(e);})),e.filter(m).forEach(v);var t=e.filter(p);t.forEach(d),t.forEach((function(e){v(e),f(e);})),t.forEach(S);},f=function(e){return e.dirty=n},d=function(e){e.availableWidth=e.element.parentNode.clientWidth,e.currentWidth=e.element.scrollWidth,e.previousFontSize=e.currentFontSize,e.currentFontSize=Math.min(Math.max(e.minSize,e.availableWidth/e.currentWidth*e.previousFontSize),e.maxSize),e.whiteSpace=e.multiLine&&e.currentFontSize===e.minSize?"normal":"nowrap";},p=function(e){return e.dirty!==r||e.dirty===r&&e.element.parentNode.clientWidth!==e.availableWidth},y=function(t){var n=e.getComputedStyle(t.element,null);return t.currentFontSize=parseFloat(n.getPropertyValue("font-size")),t.display=n.getPropertyValue("display"),t.whiteSpace=n.getPropertyValue("white-space"),true},m=function(e){var t=false;return !e.preStyleTestCompleted&&(/inline-/.test(e.display)||(t=true,e.display="inline-block"),"nowrap"!==e.whiteSpace&&(t=true,e.whiteSpace="nowrap"),e.preStyleTestCompleted=true,t)},v=function(e){e.element.style.whiteSpace=e.whiteSpace,e.element.style.display=e.display,e.element.style.fontSize=e.currentFontSize+"px";},S=function(e){e.element.dispatchEvent(new CustomEvent("fit",{detail:{oldValue:e.previousFontSize,newValue:e.currentFontSize,scaleFactor:e.currentFontSize/e.previousFontSize}}));},h=function(e,t){return function(n){e.dirty=t,e.active&&a(n);}},b=function(e){return function(){l=l.filter((function(t){return t.element!==e.element})),e.observeMutations&&e.observer.disconnect(),e.element.style.whiteSpace=e.originalStyle.whiteSpace,e.element.style.display=e.originalStyle.display,e.element.style.fontSize=e.originalStyle.fontSize;}},w=function(e){return function(){e.active||(e.active=true,a());}},z=function(e){return function(){return e.active=false}},g=function(e){e.observeMutations&&(e.observer=new MutationObserver(h(e,i)),e.observer.observe(e.element,e.observeMutations));},F={minSize:16,maxSize:512,multiLine:true,observeMutations:"MutationObserver"in e&&{subtree:true,childList:true,characterData:true}},W=null,E=function(){e.clearTimeout(W),W=e.setTimeout(c(r),C.observeWindowDelay);},M=["resize","orientationchange"];return Object.defineProperty(C,"observeWindow",{set:function(t){var n="".concat(t?"add":"remove","EventListener");M.forEach((function(t){e[n](t,E);}));}}),C.observeWindow=true,C.observeWindowDelay=100,C.fitAll=c(o),C}function x(e,t){var n=Object.assign({},F,t),i=e.map((function(e){var t=Object.assign({},n,{element:e,active:true});return function(e){e.originalStyle={whiteSpace:e.element.style.whiteSpace,display:e.element.style.display,fontSize:e.element.style.fontSize},g(e),e.newbie=true,e.dirty=true,l.push(e);}(t),{element:e,fit:h(t,o),unfreeze:w(t),freeze:z(t),unsubscribe:b(t)}}));return a(),i}function C(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return "string"==typeof e?x(t(document.querySelectorAll(e)),n):x([e],n)[0]}}("undefined"==typeof window?null:window)}));
|
|
25
|
-
} (fitty_min$1));
|
|
26
|
-
return fitty_min$1.exports;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
var fitty_minExports = requireFitty_min();
|
|
30
|
-
var fitty = /*@__PURE__*/getDefaultExportFromCjs(fitty_minExports);
|
|
31
|
-
|
|
32
|
-
const avatarVariant = [
|
|
33
|
-
'bg-brand-maggioli-05',
|
|
34
|
-
'bg-label-amaranth-05',
|
|
35
|
-
'bg-label-aqua-05',
|
|
36
|
-
'bg-label-blue-05',
|
|
37
|
-
'bg-label-green-05',
|
|
38
|
-
'bg-label-lime-05',
|
|
39
|
-
'bg-label-orange-05',
|
|
40
|
-
'bg-label-orchid-05',
|
|
41
|
-
'bg-label-purple-05',
|
|
42
|
-
'bg-label-red-05',
|
|
43
|
-
'bg-label-sky-05',
|
|
44
|
-
'bg-label-violet-05',
|
|
45
|
-
'bg-label-yellow-05',
|
|
46
|
-
'bg-status-error-05',
|
|
47
|
-
'bg-status-info-05',
|
|
48
|
-
'bg-status-success-05',
|
|
49
|
-
'bg-status-warning-05',
|
|
50
|
-
];
|
|
51
|
-
|
|
52
|
-
var miBaselinePerson = `<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>`;
|
|
53
|
-
|
|
54
|
-
const mdsAvatarCss = "@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,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:1;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)}}";
|
|
55
|
-
|
|
56
|
-
const MdsAvatar = /*@__PURE__*/ proxyCustomElement(class MdsAvatar extends HTMLElement {
|
|
57
|
-
constructor(registerHost) {
|
|
58
|
-
super();
|
|
59
|
-
if (registerHost !== false) {
|
|
60
|
-
this.__registerHost();
|
|
61
|
-
}
|
|
62
|
-
this.__attachShadow();
|
|
63
|
-
this.fallback = false;
|
|
64
|
-
this.loaded = true;
|
|
65
|
-
this.fittyInitialized = false;
|
|
66
|
-
this.textChanged = false;
|
|
67
|
-
this.variants = [
|
|
68
|
-
'amaranth',
|
|
69
|
-
'aqua',
|
|
70
|
-
'blue',
|
|
71
|
-
'error',
|
|
72
|
-
'green',
|
|
73
|
-
'info',
|
|
74
|
-
'lime',
|
|
75
|
-
'orange',
|
|
76
|
-
'orchid',
|
|
77
|
-
'primary',
|
|
78
|
-
'sky',
|
|
79
|
-
'success',
|
|
80
|
-
'violet',
|
|
81
|
-
'warning',
|
|
82
|
-
'yellow',
|
|
83
|
-
];
|
|
84
|
-
this.addFontResize = () => {
|
|
85
|
-
var _a;
|
|
86
|
-
if (this.fittyInitialized) {
|
|
87
|
-
return;
|
|
88
|
-
}
|
|
89
|
-
const initialsElement = (_a = this.element.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.fit');
|
|
90
|
-
this.fittyElements = fitty(initialsElement, { minSize: 10 });
|
|
91
|
-
this.observer = new ResizeObserver((entries) => {
|
|
92
|
-
entries.forEach(() => {
|
|
93
|
-
this.fittyElements.fit();
|
|
94
|
-
});
|
|
95
|
-
});
|
|
96
|
-
this.observer.observe(this.element);
|
|
97
|
-
this.fittyInitialized = true;
|
|
98
|
-
};
|
|
99
|
-
this.removeFontResize = () => {
|
|
100
|
-
if (!this.fittyInitialized) {
|
|
101
|
-
return;
|
|
102
|
-
}
|
|
103
|
-
this.fittyInitialized = false;
|
|
104
|
-
this.observer.unobserve(this.element);
|
|
105
|
-
};
|
|
106
|
-
this.checkText = (value) => {
|
|
107
|
-
if (value !== '' && value !== undefined) {
|
|
108
|
-
if (this.fittyInitialized)
|
|
109
|
-
return;
|
|
110
|
-
if (!this.fittyInitialized)
|
|
111
|
-
this.addFontResize();
|
|
112
|
-
return;
|
|
113
|
-
}
|
|
114
|
-
if (this.fittyInitialized)
|
|
115
|
-
this.removeFontResize();
|
|
116
|
-
};
|
|
117
|
-
this.checkInitialsVariant = () => {
|
|
118
|
-
if (this.initials) {
|
|
119
|
-
let cleanedInitials = this.initials
|
|
120
|
-
.toLowerCase()
|
|
121
|
-
.replace(/[^a-zA-Z0-9]+/g, '')
|
|
122
|
-
.substring(0, 2);
|
|
123
|
-
if (cleanedInitials.length === 1) {
|
|
124
|
-
cleanedInitials = cleanedInitials + cleanedInitials;
|
|
125
|
-
}
|
|
126
|
-
this.variant =
|
|
127
|
-
this.variants[(cleanedInitials.substring(0, 1).charCodeAt(0) +
|
|
128
|
-
cleanedInitials.substring(1, 2).charCodeAt(0)) %
|
|
129
|
-
avatarVariant.length];
|
|
130
|
-
}
|
|
131
|
-
};
|
|
132
|
-
}
|
|
133
|
-
componentWillLoad() {
|
|
134
|
-
this.checkInitialsVariant();
|
|
135
|
-
}
|
|
136
|
-
componentDidLoad() {
|
|
137
|
-
if (this.src !== undefined) {
|
|
138
|
-
this.loaded = false;
|
|
139
|
-
}
|
|
140
|
-
if (this.initials) {
|
|
141
|
-
this.checkText(this.initials);
|
|
142
|
-
}
|
|
143
|
-
if (this.count) {
|
|
144
|
-
this.checkText(this.count.toString());
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
componentDidRender() {
|
|
148
|
-
if (this.textChanged) {
|
|
149
|
-
// placed here becase @Watch('initials') is fired
|
|
150
|
-
// BEFORE the element .fit is attached on shDOM
|
|
151
|
-
if (this.initials)
|
|
152
|
-
this.checkText(this.initials);
|
|
153
|
-
if (this.count)
|
|
154
|
-
this.checkText(this.count.toString());
|
|
155
|
-
this.textChanged = false;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
initialsHandler() {
|
|
159
|
-
this.textChanged = true;
|
|
160
|
-
this.checkInitialsVariant();
|
|
161
|
-
}
|
|
162
|
-
countHandler() {
|
|
163
|
-
this.textChanged = true;
|
|
164
|
-
this.checkInitialsVariant();
|
|
165
|
-
}
|
|
166
|
-
srcHandler(newValue) {
|
|
167
|
-
if (newValue === undefined) {
|
|
168
|
-
this.loaded = true;
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
iconHandler(newValue) {
|
|
172
|
-
if (newValue !== undefined) {
|
|
173
|
-
this.loaded = true;
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
render() {
|
|
177
|
-
return (h(Host, { key: 'dcb0ca706de79f07684daea4efee5d1a69e43494' }, h("div", { key: '784a3d4ed4cbb382c7091894ed15664e38d82979', class: clsx('avatar', this.initials && !this.fallback && !this.src && 'avatar--initials', (this.fallback || (!this.icon && !this.initials && !this.src)) && 'avatar--fallback', this.icon && 'avatar--icon', this.loaded ? 'avatar--loaded' : 'avatar--pending'), part: "wrapper" }, this.initials && !this.count && !this.fallback && !this.src && (h("div", { key: '8ed5b7a608b1ff8b6e36947d8069c4a4932b8dca', class: "initials-text" }, h("span", { key: '6438aafad3d6f87081c56d61838a1e4cbaf23351', class: "fit" }, this.initials.substring(0, 2)))), this.count && !this.fallback && !this.src && (h("div", { key: 'c00430118c9adc6fed1ac3480b41854bfe9a2029', class: "initials-text" }, h("span", { key: '671ca6880e8c8e337efcf4266a3caca3d93910ce', class: "fit" }, "+", this.count))), this.src && !this.count && !this.fallback && !this.icon && (h("mds-img", { key: '290236542764aa0eff224bef9093931d3a6cc650', class: "image", loading: "lazy", onMdsImgLoadError: () => {
|
|
178
|
-
this.loaded = true;
|
|
179
|
-
this.fallback = true;
|
|
180
|
-
}, onMdsImgLoadSuccess: () => {
|
|
181
|
-
this.loaded = true;
|
|
182
|
-
}, part: "media", src: this.src })), this.icon && !this.initials && !this.count && (h("mds-icon", { key: '1a0a2d01fb411772a00891e3a420310118145025', class: "icon", part: "icon", name: this.icon })), (this.fallback || (!this.icon && !this.initials && !this.count && !this.src)) && (h("i", { key: '2e41fa86a08a034ce59ff64e8d95a3b837c645ee', class: "fallback-icon", innerHTML: miBaselinePerson })))));
|
|
183
|
-
}
|
|
184
|
-
get element() { return this; }
|
|
185
|
-
static get watchers() { return {
|
|
186
|
-
"initials": ["initialsHandler"],
|
|
187
|
-
"count": ["countHandler"],
|
|
188
|
-
"src": ["srcHandler"],
|
|
189
|
-
"icon": ["iconHandler"]
|
|
190
|
-
}; }
|
|
191
|
-
static get style() { return mdsAvatarCss; }
|
|
192
|
-
}, [257, "mds-avatar", {
|
|
193
|
-
"icon": [513],
|
|
194
|
-
"initials": [1537],
|
|
195
|
-
"count": [1538],
|
|
196
|
-
"src": [513],
|
|
197
|
-
"tone": [513],
|
|
198
|
-
"variant": [1537],
|
|
199
|
-
"fallback": [32],
|
|
200
|
-
"loaded": [32]
|
|
201
|
-
}, undefined, {
|
|
202
|
-
"initials": ["initialsHandler"],
|
|
203
|
-
"count": ["countHandler"],
|
|
204
|
-
"src": ["srcHandler"],
|
|
205
|
-
"icon": ["iconHandler"]
|
|
206
|
-
}]);
|
|
207
|
-
function defineCustomElement() {
|
|
208
|
-
if (typeof customElements === "undefined") {
|
|
209
|
-
return;
|
|
210
|
-
}
|
|
211
|
-
const components = ["mds-avatar", "mds-button", "mds-icon", "mds-img", "mds-spinner", "mds-text"];
|
|
212
|
-
components.forEach(tagName => { switch (tagName) {
|
|
213
|
-
case "mds-avatar":
|
|
214
|
-
if (!customElements.get(tagName)) {
|
|
215
|
-
customElements.define(tagName, MdsAvatar);
|
|
216
|
-
}
|
|
217
|
-
break;
|
|
218
|
-
case "mds-button":
|
|
219
|
-
if (!customElements.get(tagName)) {
|
|
220
|
-
defineCustomElement$5();
|
|
221
|
-
}
|
|
222
|
-
break;
|
|
223
|
-
case "mds-icon":
|
|
224
|
-
if (!customElements.get(tagName)) {
|
|
225
|
-
defineCustomElement$4();
|
|
226
|
-
}
|
|
227
|
-
break;
|
|
228
|
-
case "mds-img":
|
|
229
|
-
if (!customElements.get(tagName)) {
|
|
230
|
-
defineCustomElement$3();
|
|
231
|
-
}
|
|
232
|
-
break;
|
|
233
|
-
case "mds-spinner":
|
|
234
|
-
if (!customElements.get(tagName)) {
|
|
235
|
-
defineCustomElement$2();
|
|
236
|
-
}
|
|
237
|
-
break;
|
|
238
|
-
case "mds-text":
|
|
239
|
-
if (!customElements.get(tagName)) {
|
|
240
|
-
defineCustomElement$1();
|
|
241
|
-
}
|
|
242
|
-
break;
|
|
243
|
-
} });
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
export { MdsAvatar as M, defineCustomElement as d };
|
|
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,6 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const MdsBadge = MdsBadge$1;
|
|
4
|
-
const defineCustomElement = defineCustomElement$1;
|
|
5
|
-
|
|
6
|
-
export { MdsBadge, defineCustomElement };
|
|
1
|
+
import{M as s,d as o}from"./mds-badge2.js";const a=s,d=o;export{a as MdsBadge,d as defineCustomElement}
|