@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,270 +1 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { c as clsx } from './clsx.js';
|
|
3
|
-
import { c as cssDurationToMilliseconds } from './unit.js';
|
|
4
|
-
import { m as miBaselineClose } from './close.js';
|
|
5
|
-
import { d as defineCustomElement$4 } from './mds-button2.js';
|
|
6
|
-
import { d as defineCustomElement$3 } from './mds-icon2.js';
|
|
7
|
-
import { d as defineCustomElement$2 } from './mds-spinner2.js';
|
|
8
|
-
import { d as defineCustomElement$1 } from './mds-text2.js';
|
|
9
|
-
|
|
10
|
-
const mdsModalCss = "@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,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-modal-custom-closed-transform:rotateX(10deg)rotateY(0)scale(1.25)translateY(10%);--mds-modal-custom-window-distance:calc(var(--spacing,.0025rem)*600);--mds-modal-overlay-color:var(--magma-overlay-color,0 0 0);--mds-modal-overlay-opacity:var(--magma-overlay-opacity,.5);--mds-modal-transition-duration:.5s;--mds-modal-window-background:rgb(var(--tone-neutral,0 0 0));--mds-modal-window-distance:0;--mds-modal-window-max-width:33%;--mds-modal-window-min-width:400px;--mds-modal-window-overflow:auto;--mds-modal-window-radius:0;--mds-modal-z-index:var(--magma-modal-z-index);--tw-ease:initial}}}@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --mds-modal-custom-closed-transform{syntax:\"<transform-function>+\";inherits:false;initial-value:rotateX(10deg) rotateY(0) scale(1.25) translateY(10%)}@property --mds-modal-transition-duration{syntax:\"<time>\";inherits:false;initial-value:.5s}@property --mds-modal-window-distance{syntax:\"<length>\";inherits:false;initial-value:0}@property --mds-modal-window-max-width{syntax:\"<length>|<percentage>\";inherits:false;initial-value:33%}@property --mds-modal-window-min-width{syntax:\"<length>\";inherits:false;initial-value:400px}@property --mds-modal-window-overflow{syntax:\"auto|clip|hidden|scroll|visible\";inherits:false;initial-value:auto}@property --mds-modal-window-radius{syntax:\"<length>\";inherits:false;initial-value:0}:host{--mds-modal-custom-closed-transform:rotateX(10deg)rotateY(0)scale(1.25)translateY(10%);--mds-modal-custom-window-distance:calc(var(--spacing,.0025rem)*600);--mds-modal-overlay-color:var(--magma-overlay-color,0 0 0);--mds-modal-overlay-opacity:var(--magma-overlay-opacity,.5);--mds-modal-transition-duration:.5s;--mds-modal-transition-timing-funciton:var(--ease-in-out-quint,cubic-bezier(.86,0,.07,1));--mds-modal-window-background:rgb(var(--tone-neutral,0 0 0));--mds-modal-window-distance:0;--mds-modal-window-height:calc(100dvh - var(--mds-modal-window-distance,0)*2);--mds-modal-window-max-height:calc(100dvh - var(--mds-modal-window-distance,0)*2);--mds-modal-window-overflow:auto;--mds-modal-window-radius:0;--mds-modal-window-shadow:var(--shadow-2xl,0 25px 50px -12px #00000040);--mds-modal-window-max-width:33%;--mds-modal-window-min-width:400px;--mds-modal-z-index:var(--magma-modal-z-index);--private-modal-width:calc(100vw - var(--private-modal-window-close-margin));--private-modal-custom-opened-transform:translate(0);--private-modal-transition-window-transform:translate(0);--private-modal-window-close-margin:calc(var(--spacing,.0025rem)*2000);--tw-ease:var(--ease-in-out-quint,cubic-bezier(.86,0,.07,1));align-items:center;background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,0 0 0))/0);display:flex;fill:rgb(var(--tone-neutral,0 0 0));inset:0;justify-content:center;perspective:600px;pointer-events:none;position:fixed;-webkit-transition-duration:var(--mds-modal-transition-duration,.5s);transition-duration:var(--mds-modal-transition-duration,.5s);transition-property:background-color;transition-timing-function:var(--ease-in-out-quint,cubic-bezier(.86,0,.07,1));-webkit-transition-timing-function:var(--mds-modal-transition-timing-funciton);transition-timing-function:var(--mds-modal-transition-timing-funciton);z-index:var(--mds-modal-z-index,1000)}.action-close{--mds-button-color:rgb(var(--tone-neutral-10,60 60 60));opacity:0;pointer-events:none;position:absolute;-webkit-transition-duration:var(--mds-modal-transition-duration,.5s);transition-duration:var(--mds-modal-transition-duration,.5s);transition-property:background-color,bottom,color,fill,opacity,top,transform;-webkit-transition-timing-function:var(--mds-modal-transition-timing-function);transition-timing-function:var(--mds-modal-transition-timing-function)}.action-close::part(icon){height:calc(var(--spacing,.0025rem)*900);width:calc(var(--spacing,.0025rem)*900)}:host([position=top-left][animation=\"3d\"]:not([opened])){--private-modal-transition-window-transform:rotateX(22deg)rotateY(22deg)scale(.5)translate(-80%,80%)}:host([position=top][animation=\"3d\"]:not([opened])){--private-modal-transition-window-transform:rotateX(-22deg)rotateY(0)scale(.5)translateY(-80%)}:host([position=top-right][animation=\"3d\"]:not([opened])){--private-modal-transition-window-transform:rotateX(-22deg)rotateY(-22deg)scale(.5)translate(80%,80%)}:host([position=left][animation=\"3d\"]:not([opened])){--private-modal-transition-window-transform:rotateX(0)rotateY(22deg)rotate(0)scale(.5)translate(-100%)}:host([position=center][animation=\"3d\"]:not([opened])){--private-modal-transition-window-transform:rotateX(0)rotateY(22deg)scale(.5)translateY(40%)}:host([position=right][animation=\"3d\"]:not([opened])){--private-modal-transition-window-transform:rotateX(0)rotateY(-22deg)rotate(0)scale(.5)translate(100%)}:host([position=bottom-left][animation=\"3d\"]:not([opened])){--private-modal-transition-window-transform:rotateX(22deg)rotateY(22deg)scale(.5)translate(-80%,80%)}:host([position=bottom][animation=\"3d\"]:not([opened])){--private-modal-transition-window-transform:rotateX(22deg)rotateY(0)scale(.5)translateY(80%)}:host([position=bottom-right][animation=\"3d\"]:not([opened])){--private-modal-transition-window-transform:rotateX(-22deg)rotateY(-22deg)scale(.5)translate(80%,80%)}:host([animation=custom]:not([opened])){--private-modal-transition-window-transform:var(--mds-modal-custom-closed-transform,rotateX(10deg)rotateY(0)scale(1.25)translate(0,10%))}:host([animation=custom][opened]){--private-modal-transition-window-transform:var(--private-modal-custom-opened-transform)}:host([position=top-left][animation=slide]:not([opened])){--private-modal-transition-window-transform:translate(-50%,-100%)}:host([position=top][animation=slide]:not([opened])){--private-modal-transition-window-transform:translateY(-100%)}:host([position=top-right][animation=slide]:not([opened])){--private-modal-transition-window-transform:translate(50%,-100%)}:host([position=left][animation=slide]:not([opened])){--private-modal-transition-window-transform:translate(-100%)}:host([position=center][animation=slide]:not([opened])){--private-modal-transition-window-transform:translateY(25%)}:host([position=right][animation=slide]:not([opened])){--private-modal-transition-window-transform:translate(100%)}:host([position=bottom-left][animation=slide]:not([opened])){--private-modal-transition-window-transform:translate(-50%,100%)}:host([position=bottom][animation=slide]:not([opened])){--private-modal-transition-window-transform:translateY(50%)}:host([position=bottom-right][animation=slide]:not([opened])){--private-modal-transition-window-transform:translate(50%,100%)}:host([opened][backdrop]){--private-modal-transition-window-transform:none;background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,0 0 0))/var(--mds-modal-overlay-opacity,var(--magma-overlay-opacity,.5)));pointer-events:auto}:host ::slotted([slot=window]){margin:var(--mds-modal-custom-window-distance,calc(var(--spacing,.0025rem)*600))}.window{background-color:var(--mds-modal-window-background,rgb(var(--tone-neutral,0 0 0)));border-radius:var(--mds-modal-window-radius,0);-webkit-box-shadow:var(--mds-modal-window-shadow);box-shadow:var(--mds-modal-window-shadow);box-sizing:border-box;display:grid;gap:calc(var(--spacing,.0025rem)*0);grid-template-columns:repeat(1,minmax(0,100%));height:var(--mds-modal-window-height);margin:var(--mds-modal-window-distance,0);max-height:var(--mds-modal-window-max-height);max-width:var(--private-modal-width);min-width:var(--mds-modal-window-min-width,400px);overflow:var(--mds-modal-window-overflow,auto);position:relative;width:100%}.window-content--empty{display:none}.window-content-wrapper{max-height:calc(100dvh - var(--mds-modal-window-distance,0)*2);overflow:auto}.window-footer,.window-header{box-sizing:border-box;position:absolute}.window-header{inset:0 0 auto}.window-footer{inset:auto 0 0}:host .window,:host>::slotted([slot=window]){opacity:0;-webkit-transform:var(--private-modal-transition-window-transform);transform:var(--private-modal-transition-window-transform);-webkit-transition-duration:var(--mds-modal-transition-duration,.5s);transition-duration:var(--mds-modal-transition-duration,.5s);transition-property:transform,opacity;-webkit-transition-timing-function:var(--mds-modal-transition-timing-funciton);transition-timing-function:var(--mds-modal-transition-timing-funciton)}:host([opened]) .window,:host([opened])>::slotted([slot=window]){opacity:1;pointer-events:auto;-webkit-transition-timing-function:var(--mds-modal-transition-timing-funciton);transition-timing-function:var(--mds-modal-transition-timing-funciton)}:host([position=top]){--mds-modal-window-height:auto;align-items:flex-start;justify-content:center}:host([position=top]) .window{--mds-modal-window-max-width:100vw;--mds-modal-window-height:auto}:host([position=left]),:host([position=right]){--mds-modal-window-height:100%;--mds-modal-window-max-height:calc(100dvh - var(--mds-modal-window-distance,0)*2)}:host([position=top-left]){align-items:flex-start;justify-content:flex-start}:host([position=top-right]){align-items:flex-start;justify-content:flex-end}:host([position=left]){align-items:center;justify-content:flex-start}:host([position=left]) .action-close{right:calc(var(--spacing,.0025rem)*300);top:calc(var(--spacing,.0025rem)*300)}:host([position=left][opened]) .action-close{opacity:1;pointer-events:auto}:host([position=left]:not([opened])) .action-close{transform:translate(-120%)rotate(-45deg)}:host([position=center]){align-items:center;justify-content:center}:host([position=right]){align-items:center;justify-content:flex-end}:host([position=right]) .action-close{left:calc(var(--spacing,.0025rem)*300);top:calc(var(--spacing,.0025rem)*300)}:host([position=right]:not([opened])) .action-close{transform:translate(120%)rotate(45deg)}:host([position=right][opened]) .action-close{opacity:1;pointer-events:auto}:host([position=bottom-left]){align-items:flex-end;justify-content:flex-start}:host([position=bottom]){--mds-modal-window-height:auto;align-items:flex-end;justify-content:center}:host([position=bottom-right]){align-items:flex-end;justify-content:flex-end}:host-context(:root.pref-animation-reduce){--mds-modal-transition-duration:0s;transition-duration:0s!important}:is(:host-context(:root.pref-animation-reduce) .action-close,:host-context(:root.pref-animation-reduce) .window){transition-duration:0s!important}:host-context(:root.pref-contrast-more){--mds-modal-window-shadow:var(--shadow-outline-strong-50),var(--shadow-2xl,0 25px 50px -12px #00000040)}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)){--mds-modal-window-background:rgb(var(--tone-neutral-10,60 60 60));--mds-modal-window-shadow:var(--shadow-outline),var(--shadow-xl,0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a)}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)) .action-close{--mds-button-color:rgb(var(--tone-neutral-01,255 255 255))}@property --tw-ease{syntax:\"*\";inherits:false}@media (max-width:480px){:host{--mds-modal-window-min-width:0px}:host([position=bottom-left]),:host([position=bottom-right]),:host([position=bottom]),:host([position=center]),:host([position=top-left]),:host([position=top-right]),:host([position=top]){--private-modal-width:100vw}:host([position=left]),:host([position=right]){--private-modal-width:calc(100% - var(--private-modal-window-close-margin))}}@media not all and (max-width:480px){:host([position=bottom-left]),:host([position=bottom-right]),:host([position=bottom]),:host([position=center]),:host([position=top-left]),:host([position=top-right]),:host([position=top]){--mds-modal-window-height:auto}:host([position=left]),:host([position=right]){--private-modal-width:var(--mds-modal-window-max-width,33%)}}@media (prefers-reduced-motion){:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))){--mds-modal-transition-duration:0s;transition-duration:0s!important}:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))) .action-close,:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))) .window{transition-duration:0s!important}}@media (prefers-contrast:more){:is(:host-context(:root.pref-contrast-system),:host-context(:root:not([data-magma-pref]))){--mds-modal-window-shadow:var(--shadow-outline-strong-50),var(--shadow-2xl,0 25px 50px -12px #00000040)}}@media (prefers-color-scheme:dark){:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))){--mds-modal-window-background:rgb(var(--tone-neutral-10,60 60 60));--mds-modal-window-shadow:var(--shadow-outline),var(--shadow-xl,0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a)}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))) .action-close{--mds-button-color:rgb(var(--tone-neutral-01,255 255 255))}}";
|
|
11
|
-
|
|
12
|
-
const MdsModal = /*@__PURE__*/ proxyCustomElement(class MdsModal extends HTMLElement {
|
|
13
|
-
constructor(registerHost) {
|
|
14
|
-
super();
|
|
15
|
-
if (registerHost !== false) {
|
|
16
|
-
this.__registerHost();
|
|
17
|
-
}
|
|
18
|
-
this.__attachShadow();
|
|
19
|
-
this.openEvent = createEvent(this, "mdsModalOpen", 7);
|
|
20
|
-
this.showEvent = createEvent(this, "mdsModalShow", 7);
|
|
21
|
-
this.closeEvent = createEvent(this, "mdsModalClose", 7);
|
|
22
|
-
this.hideEvent = createEvent(this, "mdsModalHide", 7);
|
|
23
|
-
this.window = false;
|
|
24
|
-
this.top = false;
|
|
25
|
-
this.bottom = false;
|
|
26
|
-
this.cssTransitionDuration = '500';
|
|
27
|
-
this.touchMargin = 50;
|
|
28
|
-
/**
|
|
29
|
-
* Specifies if the modal is opened or not
|
|
30
|
-
*/
|
|
31
|
-
this.opened = false;
|
|
32
|
-
/**
|
|
33
|
-
* Specifies if the modal shows the backdrop
|
|
34
|
-
*/
|
|
35
|
-
this.backdrop = true;
|
|
36
|
-
/**
|
|
37
|
-
* Specifies the animation position of the modal window
|
|
38
|
-
*/
|
|
39
|
-
this.position = 'center';
|
|
40
|
-
/**
|
|
41
|
-
* Specifies if the component is animating itself or not
|
|
42
|
-
*/
|
|
43
|
-
this.animating = 'none';
|
|
44
|
-
/**
|
|
45
|
-
* Specifies if the component is animating itself or not
|
|
46
|
-
*/
|
|
47
|
-
this.animation = 'slide';
|
|
48
|
-
/**
|
|
49
|
-
* Specifies if the component prevents the body from scrolling when modal window is opened
|
|
50
|
-
*/
|
|
51
|
-
this.overflow = 'auto';
|
|
52
|
-
/**
|
|
53
|
-
* Specifies if the component can be closed with close button, or also if the backdrop background is cliccked.
|
|
54
|
-
* If `strict` is selected only the close button can dismiss the component via UI.
|
|
55
|
-
* If `relaxed` is selected the component can be dismissed also by cliccking the backdrop area.
|
|
56
|
-
*/
|
|
57
|
-
this.interaction = 'relaxed';
|
|
58
|
-
this.updateCSSCustomProps = () => {
|
|
59
|
-
var _a;
|
|
60
|
-
if (typeof window === 'undefined')
|
|
61
|
-
return;
|
|
62
|
-
const elementStyles = window.getComputedStyle(this.host);
|
|
63
|
-
this.cssTransitionDuration =
|
|
64
|
-
(_a = elementStyles.getPropertyValue('--mds-modal-transition-duration')) !== null && _a !== void 0 ? _a : '500';
|
|
65
|
-
};
|
|
66
|
-
this.stopIntroAnimationWindow = () => {
|
|
67
|
-
this.animating = 'none';
|
|
68
|
-
this.host.setAttribute('animating', 'none'); // wtf?
|
|
69
|
-
this.showEvent.emit();
|
|
70
|
-
clearTimeout(this.animationDelayTimeout);
|
|
71
|
-
};
|
|
72
|
-
this.stopOutroAnimationWindow = () => {
|
|
73
|
-
this.animating = 'none';
|
|
74
|
-
this.host.setAttribute('animating', 'none');
|
|
75
|
-
this.hideEvent.emit();
|
|
76
|
-
clearTimeout(this.animationDelayTimeout);
|
|
77
|
-
};
|
|
78
|
-
this.disableOverflow = () => {
|
|
79
|
-
if (document) {
|
|
80
|
-
if (document.body.style.overflow) {
|
|
81
|
-
this.bodyOverflow = document.body.style.overflow;
|
|
82
|
-
}
|
|
83
|
-
document.body.style.overflow = 'hidden';
|
|
84
|
-
}
|
|
85
|
-
};
|
|
86
|
-
this.enableOverflow = () => {
|
|
87
|
-
if (document) {
|
|
88
|
-
if (this.bodyOverflow) {
|
|
89
|
-
document.body.style.overflow = this.bodyOverflow;
|
|
90
|
-
}
|
|
91
|
-
else {
|
|
92
|
-
document.body.style.removeProperty('overflow');
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
};
|
|
96
|
-
this.animateOpenWindow = () => {
|
|
97
|
-
this.animating = 'intro';
|
|
98
|
-
clearTimeout(this.animationDelayTimeout);
|
|
99
|
-
this.animationDelayTimeout = setTimeout(this.stopIntroAnimationWindow.bind(this), cssDurationToMilliseconds(this.cssTransitionDuration));
|
|
100
|
-
};
|
|
101
|
-
this.animateCloseWindow = () => {
|
|
102
|
-
this.animating = 'outro';
|
|
103
|
-
clearTimeout(this.animationDelayTimeout);
|
|
104
|
-
this.animationDelayTimeout = setTimeout(this.stopOutroAnimationWindow.bind(this), cssDurationToMilliseconds(this.cssTransitionDuration));
|
|
105
|
-
};
|
|
106
|
-
this.setTouchStart = (event) => {
|
|
107
|
-
this.touchStartX = event.touches[0].clientX;
|
|
108
|
-
this.touchStartY = event.touches[0].clientY;
|
|
109
|
-
};
|
|
110
|
-
this.setTouchEnd = (event) => {
|
|
111
|
-
const endX = event.changedTouches[0].clientX;
|
|
112
|
-
const endY = event.changedTouches[0].clientY;
|
|
113
|
-
const diffX = this.touchStartX - endX;
|
|
114
|
-
const diffY = this.touchStartY - endY;
|
|
115
|
-
// if is NOT a diagonal swipe
|
|
116
|
-
if (Math.abs(diffX) > Math.abs(diffY)) {
|
|
117
|
-
if (this.position === 'right' && diffX > 0)
|
|
118
|
-
return;
|
|
119
|
-
if (this.position === 'left' && diffX < 0)
|
|
120
|
-
return;
|
|
121
|
-
if (Math.abs(diffX) > Math.abs(this.touchMargin)) {
|
|
122
|
-
this.opened = undefined;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
};
|
|
126
|
-
this.addMobileEvents = () => {
|
|
127
|
-
this.windowElement.addEventListener('touchstart', this.setTouchStart);
|
|
128
|
-
this.windowElement.addEventListener('touchend', this.setTouchEnd);
|
|
129
|
-
};
|
|
130
|
-
this.closeModal = (e, force) => {
|
|
131
|
-
var _a;
|
|
132
|
-
if (!force) {
|
|
133
|
-
if (this.interaction === 'strict')
|
|
134
|
-
return;
|
|
135
|
-
if (((_a = e.target) === null || _a === void 0 ? void 0 : _a.localName) !== 'mds-modal') {
|
|
136
|
-
return;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
this.opened = e.target !== e.currentTarget;
|
|
140
|
-
if (!this.opened) {
|
|
141
|
-
this.closeEvent.emit();
|
|
142
|
-
}
|
|
143
|
-
};
|
|
144
|
-
}
|
|
145
|
-
componentWillLoad() {
|
|
146
|
-
var _a;
|
|
147
|
-
this.bottom = this.host.querySelector(':scope > [slot="bottom"]') !== null;
|
|
148
|
-
this.top = this.host.querySelector(':scope > [slot="top"]') !== null;
|
|
149
|
-
this.window = this.host.querySelector(':scope > [slot="window"]') !== null;
|
|
150
|
-
if (this.overflow === 'auto' && this.opened) {
|
|
151
|
-
this.disableOverflow();
|
|
152
|
-
}
|
|
153
|
-
if (this.window) {
|
|
154
|
-
(_a = this.host.querySelector(':scope > [slot="window"]')) === null || _a === void 0 ? void 0 : _a.setAttribute('role', 'dialog');
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
componentWillRender() {
|
|
158
|
-
this.animating = this.opened ? 'intro' : 'outro';
|
|
159
|
-
}
|
|
160
|
-
componentDidLoad() {
|
|
161
|
-
var _a, _b, _c;
|
|
162
|
-
this.windowElement = (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.window');
|
|
163
|
-
this.windowHeaderElement = (_b = this.host.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('.window-header');
|
|
164
|
-
this.windowFooterElement = (_c = this.host.shadowRoot) === null || _c === void 0 ? void 0 : _c.querySelector('.window-footer');
|
|
165
|
-
if (this.windowHeaderElement) {
|
|
166
|
-
this.windowHeaderHeight = this.windowHeaderElement.offsetHeight;
|
|
167
|
-
}
|
|
168
|
-
if (this.windowFooterElement) {
|
|
169
|
-
this.windowFooterHeight = this.windowFooterElement.offsetHeight;
|
|
170
|
-
}
|
|
171
|
-
if (this.windowElement) {
|
|
172
|
-
this.addMobileEvents();
|
|
173
|
-
}
|
|
174
|
-
this.updateCSSCustomProps();
|
|
175
|
-
}
|
|
176
|
-
disconnectedCallback() {
|
|
177
|
-
this.enableOverflow();
|
|
178
|
-
if (this.windowElement) {
|
|
179
|
-
this.windowElement.removeEventListener('touchstart', this.setTouchStart);
|
|
180
|
-
this.windowElement.removeEventListener('touchend', this.setTouchEnd);
|
|
181
|
-
}
|
|
182
|
-
this.enableOverflow();
|
|
183
|
-
}
|
|
184
|
-
handleOpenProp(newValue) {
|
|
185
|
-
if (newValue) {
|
|
186
|
-
if (this.overflow === 'auto') {
|
|
187
|
-
this.disableOverflow();
|
|
188
|
-
}
|
|
189
|
-
this.animateOpenWindow();
|
|
190
|
-
this.openEvent.emit();
|
|
191
|
-
return;
|
|
192
|
-
}
|
|
193
|
-
this.opened = undefined;
|
|
194
|
-
if (this.overflow === 'auto') {
|
|
195
|
-
this.enableOverflow();
|
|
196
|
-
}
|
|
197
|
-
this.animateCloseWindow();
|
|
198
|
-
}
|
|
199
|
-
handleBackdropProp(newValue) {
|
|
200
|
-
if (newValue === false) {
|
|
201
|
-
this.backdrop = undefined;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
async close() {
|
|
205
|
-
this.opened = undefined;
|
|
206
|
-
}
|
|
207
|
-
render() {
|
|
208
|
-
return (h(Host, { key: 'ecade8e38b83c0576b5e073cf2ec243ba7eeb30f', "aria-modal": clsx(this.opened ? 'true' : 'false'), onMouseDown: (e) => {
|
|
209
|
-
this.closeModal(e);
|
|
210
|
-
} }, this.window ? (h("slot", { name: "window" })) : (h("div", { class: "window", part: "window" }, h("div", { class: clsx('window-header', this.top ? '' : 'window-content--empty') }, h("slot", { name: "top" })), h("div", { class: "window-content-wrapper" }, h("div", { class: "window-content", style: {
|
|
211
|
-
paddingTop: `${this.windowHeaderHeight}px`,
|
|
212
|
-
paddingBottom: `${this.windowFooterHeight}px`,
|
|
213
|
-
} }, h("slot", null))), h("div", { class: clsx('window-footer', this.bottom ? '' : 'window-content--empty') }, h("slot", { name: "bottom" })))), !this.window && (h("mds-button", { key: '6181aec117b9b237f9749926644c7bf591367e20', class: "action-close", icon: miBaselineClose, variant: "light", tone: "text", size: "xl", onClick: (e) => {
|
|
214
|
-
this.closeModal(e, true);
|
|
215
|
-
}, part: "action-close" }))));
|
|
216
|
-
}
|
|
217
|
-
get host() { return this; }
|
|
218
|
-
static get watchers() { return {
|
|
219
|
-
"opened": ["handleOpenProp"],
|
|
220
|
-
"backdrop": ["handleBackdropProp"]
|
|
221
|
-
}; }
|
|
222
|
-
static get style() { return mdsModalCss; }
|
|
223
|
-
}, [257, "mds-modal", {
|
|
224
|
-
"opened": [1540],
|
|
225
|
-
"backdrop": [1540],
|
|
226
|
-
"position": [1537],
|
|
227
|
-
"animating": [1537],
|
|
228
|
-
"animation": [513],
|
|
229
|
-
"overflow": [513],
|
|
230
|
-
"interaction": [513],
|
|
231
|
-
"close": [64]
|
|
232
|
-
}, undefined, {
|
|
233
|
-
"opened": ["handleOpenProp"],
|
|
234
|
-
"backdrop": ["handleBackdropProp"]
|
|
235
|
-
}]);
|
|
236
|
-
function defineCustomElement() {
|
|
237
|
-
if (typeof customElements === "undefined") {
|
|
238
|
-
return;
|
|
239
|
-
}
|
|
240
|
-
const components = ["mds-modal", "mds-button", "mds-icon", "mds-spinner", "mds-text"];
|
|
241
|
-
components.forEach(tagName => { switch (tagName) {
|
|
242
|
-
case "mds-modal":
|
|
243
|
-
if (!customElements.get(tagName)) {
|
|
244
|
-
customElements.define(tagName, MdsModal);
|
|
245
|
-
}
|
|
246
|
-
break;
|
|
247
|
-
case "mds-button":
|
|
248
|
-
if (!customElements.get(tagName)) {
|
|
249
|
-
defineCustomElement$4();
|
|
250
|
-
}
|
|
251
|
-
break;
|
|
252
|
-
case "mds-icon":
|
|
253
|
-
if (!customElements.get(tagName)) {
|
|
254
|
-
defineCustomElement$3();
|
|
255
|
-
}
|
|
256
|
-
break;
|
|
257
|
-
case "mds-spinner":
|
|
258
|
-
if (!customElements.get(tagName)) {
|
|
259
|
-
defineCustomElement$2();
|
|
260
|
-
}
|
|
261
|
-
break;
|
|
262
|
-
case "mds-text":
|
|
263
|
-
if (!customElements.get(tagName)) {
|
|
264
|
-
defineCustomElement$1();
|
|
265
|
-
}
|
|
266
|
-
break;
|
|
267
|
-
} });
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
export { MdsModal as M, defineCustomElement as d };
|
|
1
|
+
import{proxyCustomElement as t,HTMLElement as o,createEvent as i,h as n,Host as a,transformTag as e}from"@stencil/core/internal/client";import{c as s}from"./clsx.js";import{c as r}from"./unit.js";import{m as d}from"./close.js";import{d as m}from"./mds-button2.js";import{d as l}from"./mds-icon2.js";import{d as h}from"./mds-spinner2.js";import{d as c}from"./mds-text2.js";const p=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.openEvent=i(this,"mdsModalOpen",7),this.showEvent=i(this,"mdsModalShow",7),this.closeEvent=i(this,"mdsModalClose",7),this.hideEvent=i(this,"mdsModalHide",7),this.window=!1,this.top=!1,this.bottom=!1,this.cssTransitionDuration="500",this.touchMargin=50,this.opened=!1,this.backdrop=!0,this.position="center",this.animating="none",this.animation="slide",this.overflow="auto",this.interaction="relaxed",this.updateCSSCustomProps=()=>{var t;if("undefined"==typeof window)return;const o=window.getComputedStyle(this.host);this.cssTransitionDuration=null!==(t=o.getPropertyValue("--mds-modal-transition-duration"))&&void 0!==t?t:"500"},this.stopIntroAnimationWindow=()=>{this.animating="none",this.host.setAttribute("animating","none"),this.showEvent.emit(),clearTimeout(this.animationDelayTimeout)},this.stopOutroAnimationWindow=()=>{this.animating="none",this.host.setAttribute("animating","none"),this.hideEvent.emit(),clearTimeout(this.animationDelayTimeout)},this.disableOverflow=()=>{"undefined"!=typeof document&&(""!==document.body.style.overflow&&(this.bodyOverflow=document.body.style.overflow),document.body.style.overflow="hidden")},this.enableOverflow=()=>{"undefined"!=typeof document&&(""!==this.bodyOverflow?document.body.style.overflow=this.bodyOverflow:document.body.style.removeProperty("overflow"))},this.animateOpenWindow=()=>{this.animating="intro",clearTimeout(this.animationDelayTimeout),this.animationDelayTimeout=setTimeout(this.stopIntroAnimationWindow.bind(this),r(this.cssTransitionDuration))},this.animateCloseWindow=()=>{this.animating="outro",clearTimeout(this.animationDelayTimeout),this.animationDelayTimeout=setTimeout(this.stopOutroAnimationWindow.bind(this),r(this.cssTransitionDuration))},this.setTouchStart=t=>{this.touchStartX=t.touches[0].clientX,this.touchStartY=t.touches[0].clientY},this.setTouchEnd=t=>{const o=this.touchStartX-t.changedTouches[0].clientX,i=this.touchStartY-t.changedTouches[0].clientY;if(Math.abs(o)>Math.abs(i)){if("right"===this.position&&o>0)return;if("left"===this.position&&o<0)return;Math.abs(o)>Math.abs(this.touchMargin)&&(this.opened=void 0)}},this.addMobileEvents=()=>{this.windowElement.addEventListener("touchstart",this.setTouchStart),this.windowElement.addEventListener("touchend",this.setTouchEnd)},this.closeModal=(t,o)=>{var i;if(!o){if("strict"===this.interaction)return;if("mds-modal"!==(null===(i=t.target)||void 0===i?void 0:i.localName))return}this.opened=t.target!==t.currentTarget,this.opened||this.closeEvent.emit()}}componentWillLoad(){var t;this.bottom=null!==this.host.querySelector(':scope > [slot="bottom"]'),this.top=null!==this.host.querySelector(':scope > [slot="top"]'),this.window=null!==this.host.querySelector(':scope > [slot="window"]'),"auto"===this.overflow&&this.opened&&this.disableOverflow(),this.window&&(null===(t=this.host.querySelector(':scope > [slot="window"]'))||void 0===t||t.setAttribute("role","dialog"))}componentWillRender(){this.animating=this.opened?"intro":"outro"}componentDidLoad(){var t,o,i;this.windowElement=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".window"),this.windowHeaderElement=null===(o=this.host.shadowRoot)||void 0===o?void 0:o.querySelector(".window-header"),this.windowFooterElement=null===(i=this.host.shadowRoot)||void 0===i?void 0:i.querySelector(".window-footer"),null!=this.windowHeaderElement&&(this.windowHeaderHeight=this.windowHeaderElement.offsetHeight),null!=this.windowFooterElement&&(this.windowFooterHeight=this.windowFooterElement.offsetHeight),null!=this.windowElement&&this.addMobileEvents(),this.updateCSSCustomProps()}disconnectedCallback(){this.enableOverflow(),null!=this.windowElement&&(this.windowElement.removeEventListener("touchstart",this.setTouchStart),this.windowElement.removeEventListener("touchend",this.setTouchEnd)),this.enableOverflow()}handleOpenProp(t){if(t)return"auto"===this.overflow&&this.disableOverflow(),this.animateOpenWindow(),void this.openEvent.emit();this.opened=void 0,"auto"===this.overflow&&this.enableOverflow(),this.animateCloseWindow()}handleBackdropProp(t){!1===t&&(this.backdrop=void 0)}async close(){this.opened=void 0}render(){return n(a,{key:"9f4be0a30b1d3cae73348bf48a30dc180f0ac82f","aria-modal":s(this.opened?"true":"false"),onMouseDown:t=>{this.closeModal(t)}},this.window?n("slot",{name:"window"}):n("div",{class:"window",part:"window"},n("div",{class:s("window-header",this.top?"":"window-content--empty")},n("slot",{name:"top"})),n("div",{class:"window-content-wrapper"},n("div",{class:"window-content",style:{paddingTop:`${this.windowHeaderHeight}px`,paddingBottom:`${this.windowFooterHeight}px`}},n("slot",null))),n("div",{class:s("window-footer",this.bottom?"":"window-content--empty")},n("slot",{name:"bottom"}))),!this.window&&n("mds-button",{key:"37ff9d4c6556052e4c53c69d3b14d4f4f57eba5c",class:"action-close",icon:d,variant:"light",tone:"text",size:"xl",onClick:t=>{this.closeModal(t,!0)},part:"action-close"}))}get host(){return this}static get watchers(){return{opened:[{handleOpenProp:0}],backdrop:[{handleBackdropProp: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 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-modal-custom-closed-transform:rotateX(10deg) rotateY(0) scale(1.25) translateY(10%);--mds-modal-custom-window-distance:calc(var(--spacing,.0025rem)*600);--mds-modal-overlay-color:var(--magma-overlay-color,0 0 0);--mds-modal-overlay-opacity:var(--magma-overlay-opacity,.5);--mds-modal-transition-duration:.5s;--mds-modal-window-background:rgb(var(--tone-neutral,0 0 0));--mds-modal-window-distance:0;--mds-modal-window-max-width:33%;--mds-modal-window-min-width:400px;--mds-modal-window-overflow:auto;--mds-modal-window-radius:0;--mds-modal-z-index:var(--magma-modal-z-index);--tw-ease:initial}}}@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --mds-modal-custom-closed-transform{syntax:"<transform-function>+";inherits:false;initial-value:rotateX(10deg) rotateY(0) scale(1.25) translateY(10%)}@property --mds-modal-transition-duration{syntax:"<time>";inherits:false;initial-value:.5s}@property --mds-modal-window-distance{syntax:"<length>";inherits:false;initial-value:0}@property --mds-modal-window-max-width{syntax:"<length>|<percentage>";inherits:false;initial-value:33%}@property --mds-modal-window-min-width{syntax:"<length>";inherits:false;initial-value:400px}@property --mds-modal-window-overflow{syntax:"auto|clip|hidden|scroll|visible";inherits:false;initial-value:auto}@property --mds-modal-window-radius{syntax:"<length>";inherits:false;initial-value:0}:host{--mds-modal-custom-closed-transform:rotateX(10deg) rotateY(0) scale(1.25) translateY(10%);--mds-modal-custom-window-distance:calc(var(--spacing,.0025rem)*600);--mds-modal-overlay-color:var(--magma-overlay-color,0 0 0);--mds-modal-overlay-opacity:var(--magma-overlay-opacity,.5);--mds-modal-transition-duration:.5s;--mds-modal-transition-timing-funciton:var(--ease-in-out-quint,cubic-bezier(.86,0,.07,1));--mds-modal-window-background:rgb(var(--tone-neutral,0 0 0));--mds-modal-window-distance:0;--mds-modal-window-height:calc(100dvh - var(--mds-modal-window-distance,0)*2);--mds-modal-window-max-height:calc(100dvh - var(--mds-modal-window-distance,0)*2);--mds-modal-window-overflow:auto;--mds-modal-window-radius:0;--mds-modal-window-shadow:var(--shadow-2xl,0 25px 50px -12px #00000040);--mds-modal-window-max-width:33%;--mds-modal-window-min-width:400px;--mds-modal-z-index:var(--magma-modal-z-index);--private-modal-width:calc(100vw - var(--private-modal-window-close-margin));--private-modal-custom-opened-transform:translate(0);--private-modal-transition-window-transform:translate(0);--private-modal-window-close-margin:calc(var(--spacing,.0025rem)*2000);--tw-ease:var(--ease-in-out-quint,cubic-bezier(.86,0,.07,1));align-items:center;background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,0 0 0))/0);display:flex;fill:rgb(var(--tone-neutral,0 0 0));inset:0;justify-content:center;perspective:600px;pointer-events:none;position:fixed;-webkit-transition-duration:var(--mds-modal-transition-duration,.5s);transition-duration:var(--mds-modal-transition-duration,.5s);transition-property:background-color;transition-timing-function:var(--ease-in-out-quint,cubic-bezier(.86,0,.07,1));-webkit-transition-timing-function:var(--mds-modal-transition-timing-funciton);transition-timing-function:var(--mds-modal-transition-timing-funciton);z-index:var(--mds-modal-z-index,1000)}.action-close{--mds-button-color:rgb(var(--tone-neutral-10,60 60 60));opacity:0;pointer-events:none;position:absolute;-webkit-transition-duration:var(--mds-modal-transition-duration,.5s);transition-duration:var(--mds-modal-transition-duration,.5s);transition-property:background-color,bottom,color,fill,opacity,top,transform;-webkit-transition-timing-function:var(--mds-modal-transition-timing-function);transition-timing-function:var(--mds-modal-transition-timing-function)}.action-close::part(icon){height:calc(var(--spacing,.0025rem)*900);width:calc(var(--spacing,.0025rem)*900)}:host([position=top-left][animation="3d"]:not([opened])){--private-modal-transition-window-transform:rotateX(22deg) rotateY(22deg) scale(.5) translate(-80%,80%)}:host([position=top][animation="3d"]:not([opened])){--private-modal-transition-window-transform:rotateX(-22deg) rotateY(0) scale(.5) translateY(-80%)}:host([position=top-right][animation="3d"]:not([opened])){--private-modal-transition-window-transform:rotateX(-22deg) rotateY(-22deg) scale(.5) translate(80%,80%)}:host([position=left][animation="3d"]:not([opened])){--private-modal-transition-window-transform:rotateX(0) rotateY(22deg) rotate(0) scale(.5) translate(-100%)}:host([position=center][animation="3d"]:not([opened])){--private-modal-transition-window-transform:rotateX(0) rotateY(22deg) scale(.5) translateY(40%)}:host([position=right][animation="3d"]:not([opened])){--private-modal-transition-window-transform:rotateX(0) rotateY(-22deg) rotate(0) scale(.5) translate(100%)}:host([position=bottom-left][animation="3d"]:not([opened])){--private-modal-transition-window-transform:rotateX(22deg) rotateY(22deg) scale(.5) translate(-80%,80%)}:host([position=bottom][animation="3d"]:not([opened])){--private-modal-transition-window-transform:rotateX(22deg) rotateY(0) scale(.5) translateY(80%)}:host([position=bottom-right][animation="3d"]:not([opened])){--private-modal-transition-window-transform:rotateX(-22deg) rotateY(-22deg) scale(.5) translate(80%,80%)}:host([animation=custom]:not([opened])){--private-modal-transition-window-transform:var(--mds-modal-custom-closed-transform,rotateX(10deg) rotateY(0) scale(1.25) translate(0,10%))}:host([animation=custom][opened]){--private-modal-transition-window-transform:var(--private-modal-custom-opened-transform)}:host([position=top-left][animation=slide]:not([opened])){--private-modal-transition-window-transform:translate(-50%,-100%)}:host([position=top][animation=slide]:not([opened])){--private-modal-transition-window-transform:translateY(-100%)}:host([position=top-right][animation=slide]:not([opened])){--private-modal-transition-window-transform:translate(50%,-100%)}:host([position=left][animation=slide]:not([opened])){--private-modal-transition-window-transform:translate(-100%)}:host([position=center][animation=slide]:not([opened])){--private-modal-transition-window-transform:translateY(25%)}:host([position=right][animation=slide]:not([opened])){--private-modal-transition-window-transform:translate(100%)}:host([position=bottom-left][animation=slide]:not([opened])){--private-modal-transition-window-transform:translate(-50%,100%)}:host([position=bottom][animation=slide]:not([opened])){--private-modal-transition-window-transform:translateY(50%)}:host([position=bottom-right][animation=slide]:not([opened])){--private-modal-transition-window-transform:translate(50%,100%)}:host([opened][backdrop]){--private-modal-transition-window-transform:none;background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,0 0 0))/var(--mds-modal-overlay-opacity,var(--magma-overlay-opacity,.5)));pointer-events:auto}:host ::slotted([slot=window]){margin:var(--mds-modal-custom-window-distance,calc(var(--spacing,.0025rem)*600))}.window{background-color:var(--mds-modal-window-background,rgb(var(--tone-neutral,0 0 0)));border-radius:var(--mds-modal-window-radius,0);-webkit-box-shadow:var(--mds-modal-window-shadow);box-shadow:var(--mds-modal-window-shadow);box-sizing:border-box;display:grid;gap:calc(var(--spacing,.0025rem)*0);grid-template-columns:repeat(1,minmax(0,100%));height:var(--mds-modal-window-height);margin:var(--mds-modal-window-distance,0);max-height:var(--mds-modal-window-max-height);max-width:var(--private-modal-width);min-width:var(--mds-modal-window-min-width,400px);overflow:var(--mds-modal-window-overflow,auto);position:relative;width:100%}.window-content--empty{display:none}.window-content-wrapper{max-height:calc(100dvh - var(--mds-modal-window-distance,0)*2);overflow:auto}.window-footer,.window-header{box-sizing:border-box;position:absolute}.window-header{inset:0 0 auto}.window-footer{inset:auto 0 0}:host .window,:host>::slotted([slot=window]){opacity:0;-webkit-transform:var(--private-modal-transition-window-transform);transform:var(--private-modal-transition-window-transform);-webkit-transition-duration:var(--mds-modal-transition-duration,.5s);transition-duration:var(--mds-modal-transition-duration,.5s);transition-property:transform,opacity;-webkit-transition-timing-function:var(--mds-modal-transition-timing-funciton);transition-timing-function:var(--mds-modal-transition-timing-funciton)}:host([opened]) .window,:host([opened])>::slotted([slot=window]){opacity:1;pointer-events:auto;-webkit-transition-timing-function:var(--mds-modal-transition-timing-funciton);transition-timing-function:var(--mds-modal-transition-timing-funciton)}:host([position=top]){--mds-modal-window-height:auto;align-items:flex-start;justify-content:center}:host([position=top]) .window{--mds-modal-window-max-width:100vw;--mds-modal-window-height:auto}:host([position=left]),:host([position=right]){--mds-modal-window-height:100%;--mds-modal-window-max-height:calc(100dvh - var(--mds-modal-window-distance,0)*2)}:host([position=top-left]){align-items:flex-start;justify-content:flex-start}:host([position=top-right]){align-items:flex-start;justify-content:flex-end}:host([position=left]){align-items:center;justify-content:flex-start}:host([position=left]) .action-close{right:calc(var(--spacing,.0025rem)*300);top:calc(var(--spacing,.0025rem)*300)}:host([position=left][opened]) .action-close{opacity:1;pointer-events:auto}:host([position=left]:not([opened])) .action-close{transform:translate(-120%)rotate(-45deg)}:host([position=center]){align-items:center;justify-content:center}:host([position=right]){align-items:center;justify-content:flex-end}:host([position=right]) .action-close{left:calc(var(--spacing,.0025rem)*300);top:calc(var(--spacing,.0025rem)*300)}:host([position=right]:not([opened])) .action-close{transform:translate(120%)rotate(45deg)}:host([position=right][opened]) .action-close{opacity:1;pointer-events:auto}:host([position=bottom-left]){align-items:flex-end;justify-content:flex-start}:host([position=bottom]){--mds-modal-window-height:auto;align-items:flex-end;justify-content:center}:host([position=bottom-right]){align-items:flex-end;justify-content:flex-end}:host-context(:root.pref-animation-reduce){--mds-modal-transition-duration:0s;transition-duration:0s!important}:is(:host-context(:root.pref-animation-reduce) .action-close,:host-context(:root.pref-animation-reduce) .window){transition-duration:0s!important}:host-context(:root.pref-contrast-more){--mds-modal-window-shadow:var(--shadow-outline-strong-50),var(--shadow-2xl,0 25px 50px -12px #00000040)}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)){--mds-modal-window-background:rgb(var(--tone-neutral-10,60 60 60));--mds-modal-window-shadow:var(--shadow-outline),var(--shadow-xl,0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a)}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)) .action-close{--mds-button-color:rgb(var(--tone-neutral-01,255 255 255))}@property --tw-ease{syntax:"*";inherits:false}@media (max-width:480px){:host{--mds-modal-window-min-width:0px}:host([position=bottom-left]),:host([position=bottom-right]),:host([position=bottom]),:host([position=center]),:host([position=top-left]),:host([position=top-right]),:host([position=top]){--private-modal-width:100vw}:host([position=left]),:host([position=right]){--private-modal-width:calc(100% - var(--private-modal-window-close-margin))}}@media not all and (max-width:480px){:host([position=bottom-left]),:host([position=bottom-right]),:host([position=bottom]),:host([position=center]),:host([position=top-left]),:host([position=top-right]),:host([position=top]){--mds-modal-window-height:auto}:host([position=left]),:host([position=right]){--private-modal-width:var(--mds-modal-window-max-width,33%)}}@media (prefers-reduced-motion){:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))){--mds-modal-transition-duration:0s;transition-duration:0s!important}:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))) .action-close,:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))) .window{transition-duration:0s!important}}@media (prefers-contrast:more){:is(:host-context(:root.pref-contrast-system),:host-context(:root:not([data-magma-pref]))){--mds-modal-window-shadow:var(--shadow-outline-strong-50),var(--shadow-2xl,0 25px 50px -12px #00000040)}}@media (prefers-color-scheme:dark){:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))){--mds-modal-window-background:rgb(var(--tone-neutral-10,60 60 60));--mds-modal-window-shadow:var(--shadow-outline),var(--shadow-xl,0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a)}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))) .action-close{--mds-button-color:rgb(var(--tone-neutral-01,255 255 255))}}'}},[257,"mds-modal",{opened:[1540],backdrop:[1540],position:[1537],animating:[1537],animation:[513],overflow:[513],interaction:[513],close:[64]},void 0,{opened:[{handleOpenProp:0}],backdrop:[{handleBackdropProp:0}]}]);function w(){"undefined"!=typeof customElements&&["mds-modal","mds-button","mds-icon","mds-spinner","mds-text"].forEach((t=>{switch(t){case"mds-modal":customElements.get(e(t))||customElements.define(e(t),p);break;case"mds-button":customElements.get(e(t))||m();break;case"mds-icon":customElements.get(e(t))||l();break;case"mds-spinner":customElements.get(e(t))||h();break;case"mds-text":customElements.get(e(t))||c()}}))}export{p as M,w as d}
|
|
@@ -1,128 +1 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { m as miBaselineClose } from './close.js';
|
|
3
|
-
import { K as KeyboardManager } from './keyboard-manager.js';
|
|
4
|
-
import { L as Locale } from './locale.js';
|
|
5
|
-
import { d as defineCustomElement$5 } from './mds-button2.js';
|
|
6
|
-
import { d as defineCustomElement$4 } from './mds-icon2.js';
|
|
7
|
-
import { d as defineCustomElement$3 } from './mds-spinner2.js';
|
|
8
|
-
import { d as defineCustomElement$2 } from './mds-text2.js';
|
|
9
|
-
|
|
10
|
-
const deleteLabel$3 = "Αφαίρεση";
|
|
11
|
-
var localeEl = {
|
|
12
|
-
deleteLabel: deleteLabel$3
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
const deleteLabel$2 = "Remove";
|
|
16
|
-
var localeEn = {
|
|
17
|
-
deleteLabel: deleteLabel$2
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
const deleteLabel$1 = "Eliminar";
|
|
21
|
-
var localeEs = {
|
|
22
|
-
deleteLabel: deleteLabel$1
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
const deleteLabel = "Rimuovi";
|
|
26
|
-
var localeIt = {
|
|
27
|
-
deleteLabel: deleteLabel
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
const mdsNoteCss = "@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,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-note-background:rgb(var(--label-yellow-10,75 57 3));--mds-note-color:rgb(var(--label-yellow-02,253 238 190));--mds-note-fold-color:rgb(var(--tone-neutral-10,60 60 60));--mds-note-fold-size:40px;--mds-note-selection-background:var(--magma-selection-background,rgb(var(--label-yellow-09,89 68 3)));--mds-note-selection-color:var(--magma-selection-color,rgb(var(--label-yellow-02,253 238 190)));--tw-ease:initial}}}@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --mds-note-fold-size{syntax:\"<length>\";inherits:false;initial-value:40px}:host{--mds-note-background:rgb(var(--label-yellow-10,75 57 3));--mds-note-color:rgb(var(--label-yellow-02,253 238 190));--mds-note-fold-color:rgb(var(--tone-neutral-10,60 60 60));--mds-note-fold-size:40px;--mds-note-selection-background:var(--magma-selection-background,rgb(var(--label-yellow-09,89 68 3)));--mds-note-selection-color:var(--magma-selection-color,rgb(var(--label-yellow-02,253 238 190)));gap:calc(var(--spacing,.0025rem)*200);padding:calc(var(--spacing,.0025rem)*600);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-note-background,rgb(var(--label-yellow-10,75 57 3)));border-radius:.25rem;color:var(--mds-note-color,rgb(var(--label-yellow-02,253 238 190)));display:grid;overflow:hidden;position:relative;-webkit-transition-duration:var(--duration-300,.3s);transition-duration:var(--duration-300,.3s);transition-property:color,background-color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host ::slotted(mds-text){--mds-text-selection-background:var(--mds-note-selection-background,var(--magma-selection-background,rgb(var(--label-yellow-09,89 68 3))));--mds-text-selection-color:var(--mds-note-selection-color,var(--magma-selection-color,rgb(var(--label-yellow-02,253 238 190))))}:host([deletable]:not([deletable=false])){padding-right:calc(var(--spacing,.0025rem)*1600)}:host([deletable]:not([deletable=false])) .button-close{position:absolute;right:calc(var(--spacing,.0025rem)*400);top:calc(var(--spacing,.0025rem)*400)}.fold{border-color:transparent transparent var(--mds-note-fold-color,rgb(var(--tone-neutral-10,60 60 60)))transparent;border-style:solid;border-width:0 0 var(--mds-note-fold-size,40px)var(--mds-note-fold-size,40px);bottom:0;display:block;filter:drop-shadow(0 0 var(--mds-note-fold-size,40px)var(--mds-note-color,rgb(var(--label-yellow-02,253 238 190))));height:calc(var(--spacing,.0025rem)*0);opacity:.4;pointer-events:none;position:absolute;right:0;-webkit-transition-duration:inherit;transition-duration:inherit;transition-property:border;width:calc(var(--spacing,.0025rem)*0)}.button-close{border-radius:3.40282e+38px;border-radius:var(--radius-full,1000px);padding:calc(var(--spacing,.0025rem)*100);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:#0000;cursor:pointer;fill:var(--mds-note-color,rgb(var(--label-yellow-02,253 238 190)));-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);transition-property:background-color,fill,outline,outline-offset;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.button-close:hover{background-color:rgb(var(--tone-neutral,0 0 0)/.5)}.title{align-items:flex-start;display:flex;gap:calc(var(--spacing,.0025rem)*400)}.title .button-close{margin-left:auto}:host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-09,135 8 30));--mds-note-color:rgb(var(--label-amaranth-02,254 233 237));--mds-note-selection-background:rgb(var(--label-amaranth-08,193 11 42));--mds-note-selection-color:rgb(var(--label-amaranth-04,251 192 203))}:host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-09,3 77 90));--mds-note-color:rgb(var(--label-aqua-02,203 246 254));--mds-note-selection-background:rgb(var(--label-aqua-08,4 110 129));--mds-note-selection-color:rgb(var(--label-aqua-04,81 225 250))}:host([variant=blue]){--mds-note-background:rgb(var(--label-blue-09,7 40 196));--mds-note-color:rgb(var(--label-blue-02,234 238 254));--mds-note-selection-background:rgb(var(--label-blue-08,42 77 247));--mds-note-selection-color:rgb(var(--label-blue-04,196 206 253))}:host([variant=green]){--mds-note-background:rgb(var(--label-green-09,14 81 39));--mds-note-color:rgb(var(--label-green-02,211 247 224));--mds-note-selection-background:rgb(var(--label-green-08,20 116 56));--mds-note-selection-color:rgb(var(--label-green-04,113 230 156))}:host([variant=lime]){--mds-note-background:rgb(var(--label-lime-09,51 79 8));--mds-note-color:rgb(var(--label-lime-02,223 247 185));--mds-note-selection-background:rgb(var(--label-lime-08,73 112 12));--mds-note-selection-color:rgb(var(--label-lime-04,148 229 25))}:host([variant=orange]){--mds-note-background:rgb(var(--label-orange-09,116 49 3));--mds-note-color:rgb(var(--label-orange-02,254 235 222));--mds-note-selection-background:rgb(var(--label-orange-08,167 71 4));--mds-note-selection-color:rgb(var(--label-orange-04,252 196 158))}:host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-09,131 14 71));--mds-note-color:rgb(var(--label-orchid-02,253 233 243));--mds-note-selection-background:rgb(var(--label-orchid-08,187 19 102));--mds-note-selection-color:rgb(var(--label-orchid-04,248 192 220))}:host([variant=sky]){--mds-note-background:rgb(var(--label-sky-09,6 76 107));--mds-note-color:rgb(var(--label-sky-02,219 242 253));--mds-note-selection-background:rgb(var(--label-sky-08,9 107 152));--mds-note-selection-color:rgb(var(--label-sky-04,148 217 249))}:host([variant=violet]){--mds-note-background:rgb(var(--label-violet-09,67 11 195));--mds-note-color:rgb(var(--label-violet-02,241 235 254));--mds-note-selection-background:rgb(var(--label-violet-08,111 53 244));--mds-note-selection-color:rgb(var(--label-violet-04,216 200 252))}:host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-09,89 68 3));--mds-note-color:rgb(var(--label-yellow-02,253 238 190));--mds-note-selection-background:rgb(var(--label-yellow-08,127 97 4));--mds-note-selection-color:rgb(var(--label-yellow-04,248 202 60))}:host-context(:root.pref-animation-reduce){transition-duration:0s}:host-context(:root.pref-animation-reduce) .fold{transition-duration:0s}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)){-webkit-box-shadow:var(--shadow-outline)inset;box-shadow:var(--shadow-outline)inset}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-08,193 11 42));--mds-note-fold-color:rgb(var(--label-amaranth-06,246 99 125));--mds-note-color:rgb(var(--label-amaranth-02,254 233 237));--mds-note-selection-background:rgb(var(--label-amaranth-07,239 14 52));--mds-note-selection-color:rgb(var(--label-amaranth-03,253 217 223))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-08,4 110 129));--mds-note-fold-color:rgb(var(--label-aqua-06,5 163 190));--mds-note-color:rgb(var(--label-aqua-02,203 246 254));--mds-note-selection-background:rgb(var(--label-aqua-07,5 137 160));--mds-note-selection-color:rgb(var(--label-aqua-03,158 238 252))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=blue]){--mds-note-background:rgb(var(--label-blue-08,42 77 247));--mds-note-fold-color:rgb(var(--label-blue-06,121 143 250));--mds-note-color:rgb(var(--label-blue-02,234 238 254));--mds-note-selection-background:rgb(var(--label-blue-07,85 113 249));--mds-note-selection-color:rgb(var(--label-blue-03,218 224 254))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=green]){--mds-note-background:rgb(var(--label-green-08,20 116 56));--mds-note-fold-color:rgb(var(--label-green-06,30 171 82));--mds-note-color:rgb(var(--label-green-02,211 247 224));--mds-note-selection-background:rgb(var(--label-green-07,25 145 69));--mds-note-selection-color:rgb(var(--label-green-03,173 241 198))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=lime]){--mds-note-background:rgb(var(--label-lime-08,73 112 12));--mds-note-fold-color:rgb(var(--label-lime-06,108 167 18));--mds-note-color:rgb(var(--label-lime-02,223 247 185));--mds-note-selection-background:rgb(var(--label-lime-07,90 139 15));--mds-note-selection-color:rgb(var(--label-lime-03,193 241 122))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=orange]){--mds-note-background:rgb(var(--label-orange-08,167 71 4));--mds-note-fold-color:rgb(var(--label-orange-06,247 105 6));--mds-note-color:rgb(var(--label-orange-02,254 235 222));--mds-note-selection-background:rgb(var(--label-orange-07,208 88 5));--mds-note-selection-color:rgb(var(--label-orange-03,253 219 196))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-08,187 19 102));--mds-note-fold-color:rgb(var(--label-orchid-06,239 99 168));--mds-note-color:rgb(var(--label-orchid-02,253 233 243));--mds-note-selection-background:rgb(var(--label-orchid-07,231 28 129));--mds-note-selection-color:rgb(var(--label-orchid-03,251 216 234))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=sky]){--mds-note-background:rgb(var(--label-sky-08,9 107 152));--mds-note-fold-color:rgb(var(--label-sky-06,13 158 224));--mds-note-color:rgb(var(--label-sky-02,219 242 253));--mds-note-selection-background:rgb(var(--label-sky-07,11 133 188));--mds-note-selection-color:rgb(var(--label-sky-03,191 232 251))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=violet]){--mds-note-background:rgb(var(--label-violet-08,111 53 244));--mds-note-fold-color:rgb(var(--label-violet-06,166 129 248));--mds-note-color:rgb(var(--label-violet-02,241 235 254));--mds-note-selection-background:rgb(var(--label-violet-07,141 95 246));--mds-note-selection-color:rgb(var(--label-violet-03,231 221 253))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-08,127 97 4));--mds-note-fold-color:rgb(var(--label-yellow-06,188 143 6));--mds-note-color:rgb(var(--label-yellow-02,253 238 190));--mds-note-selection-background:rgb(var(--label-yellow-07,158 120 5));--mds-note-selection-color:rgb(var(--label-yellow-03,251 224 142))}:host-context(:root.pref-contrast-more){-webkit-box-shadow:var(--shadow-outline-50)inset;box-shadow:var(--shadow-outline-50)inset}:host-context(:root.pref-contrast-more) .fold{bottom:calc(var(--spacing,.0025rem)*50);right:calc(var(--spacing,.0025rem)*50)}@property --tw-ease{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]))) .fold{transition-duration:0s}}@media (prefers-color-scheme:dark){:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))){-webkit-box-shadow:var(--shadow-outline)inset;box-shadow:var(--shadow-outline)inset}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-08,193 11 42));--mds-note-fold-color:rgb(var(--label-amaranth-06,246 99 125));--mds-note-color:rgb(var(--label-amaranth-02,254 233 237));--mds-note-selection-background:rgb(var(--label-amaranth-07,239 14 52));--mds-note-selection-color:rgb(var(--label-amaranth-03,253 217 223))}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-08,4 110 129));--mds-note-fold-color:rgb(var(--label-aqua-06,5 163 190));--mds-note-color:rgb(var(--label-aqua-02,203 246 254));--mds-note-selection-background:rgb(var(--label-aqua-07,5 137 160));--mds-note-selection-color:rgb(var(--label-aqua-03,158 238 252))}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=blue]){--mds-note-background:rgb(var(--label-blue-08,42 77 247));--mds-note-fold-color:rgb(var(--label-blue-06,121 143 250));--mds-note-color:rgb(var(--label-blue-02,234 238 254));--mds-note-selection-background:rgb(var(--label-blue-07,85 113 249));--mds-note-selection-color:rgb(var(--label-blue-03,218 224 254))}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=green]){--mds-note-background:rgb(var(--label-green-08,20 116 56));--mds-note-fold-color:rgb(var(--label-green-06,30 171 82));--mds-note-color:rgb(var(--label-green-02,211 247 224));--mds-note-selection-background:rgb(var(--label-green-07,25 145 69));--mds-note-selection-color:rgb(var(--label-green-03,173 241 198))}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=lime]){--mds-note-background:rgb(var(--label-lime-08,73 112 12));--mds-note-fold-color:rgb(var(--label-lime-06,108 167 18));--mds-note-color:rgb(var(--label-lime-02,223 247 185));--mds-note-selection-background:rgb(var(--label-lime-07,90 139 15));--mds-note-selection-color:rgb(var(--label-lime-03,193 241 122))}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=orange]){--mds-note-background:rgb(var(--label-orange-08,167 71 4));--mds-note-fold-color:rgb(var(--label-orange-06,247 105 6));--mds-note-color:rgb(var(--label-orange-02,254 235 222));--mds-note-selection-background:rgb(var(--label-orange-07,208 88 5));--mds-note-selection-color:rgb(var(--label-orange-03,253 219 196))}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-08,187 19 102));--mds-note-fold-color:rgb(var(--label-orchid-06,239 99 168));--mds-note-color:rgb(var(--label-orchid-02,253 233 243));--mds-note-selection-background:rgb(var(--label-orchid-07,231 28 129));--mds-note-selection-color:rgb(var(--label-orchid-03,251 216 234))}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=sky]){--mds-note-background:rgb(var(--label-sky-08,9 107 152));--mds-note-fold-color:rgb(var(--label-sky-06,13 158 224));--mds-note-color:rgb(var(--label-sky-02,219 242 253));--mds-note-selection-background:rgb(var(--label-sky-07,11 133 188));--mds-note-selection-color:rgb(var(--label-sky-03,191 232 251))}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=violet]){--mds-note-background:rgb(var(--label-violet-08,111 53 244));--mds-note-fold-color:rgb(var(--label-violet-06,166 129 248));--mds-note-color:rgb(var(--label-violet-02,241 235 254));--mds-note-selection-background:rgb(var(--label-violet-07,141 95 246));--mds-note-selection-color:rgb(var(--label-violet-03,231 221 253))}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-08,127 97 4));--mds-note-fold-color:rgb(var(--label-yellow-06,188 143 6));--mds-note-color:rgb(var(--label-yellow-02,253 238 190));--mds-note-selection-background:rgb(var(--label-yellow-07,158 120 5));--mds-note-selection-color:rgb(var(--label-yellow-03,251 224 142))}}@media (prefers-contrast:more){:is(:host-context(:root.pref-contrast-system),:host-context(:root:not([data-magma-pref]))){-webkit-box-shadow:var(--shadow-outline-50)inset;box-shadow:var(--shadow-outline-50)inset}:is(:host-context(:root.pref-contrast-system),:host-context(:root:not([data-magma-pref]))) .fold{bottom:calc(var(--spacing,.0025rem)*50);right:calc(var(--spacing,.0025rem)*50)}}";
|
|
31
|
-
|
|
32
|
-
const MdsNote$1 = /*@__PURE__*/ proxyCustomElement(class MdsNote extends HTMLElement {
|
|
33
|
-
constructor(registerHost) {
|
|
34
|
-
super();
|
|
35
|
-
if (registerHost !== false) {
|
|
36
|
-
this.__registerHost();
|
|
37
|
-
}
|
|
38
|
-
this.__attachShadow();
|
|
39
|
-
this.deleteEvent = createEvent(this, "mdsNoteDelete", 7);
|
|
40
|
-
this.km = new KeyboardManager();
|
|
41
|
-
this.t = new Locale({
|
|
42
|
-
el: localeEl,
|
|
43
|
-
en: localeEn,
|
|
44
|
-
es: localeEs,
|
|
45
|
-
it: localeIt,
|
|
46
|
-
});
|
|
47
|
-
/**
|
|
48
|
-
* Enables the cross icon to perform cancel/delete action on element
|
|
49
|
-
*/
|
|
50
|
-
this.deletable = false;
|
|
51
|
-
/**
|
|
52
|
-
* Specifies the color variant for the element
|
|
53
|
-
*/
|
|
54
|
-
this.variant = 'yellow';
|
|
55
|
-
this.onClickClose = () => {
|
|
56
|
-
this.deleteEvent.emit();
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
async updateLang() {
|
|
60
|
-
this.language = this.t.lang(this.host);
|
|
61
|
-
}
|
|
62
|
-
componentWillLoad() {
|
|
63
|
-
this.t.lang(this.host);
|
|
64
|
-
}
|
|
65
|
-
componentDidLoad() {
|
|
66
|
-
this.km.addElement(this.host);
|
|
67
|
-
this.km.attachClickBehavior();
|
|
68
|
-
}
|
|
69
|
-
componentDidUpdate() {
|
|
70
|
-
if (this.deletable) {
|
|
71
|
-
this.km.addElement(this.host);
|
|
72
|
-
this.km.attachClickBehavior();
|
|
73
|
-
return;
|
|
74
|
-
}
|
|
75
|
-
this.km.detachClickBehavior();
|
|
76
|
-
}
|
|
77
|
-
disconnectedCallback() {
|
|
78
|
-
this.km.detachClickBehavior();
|
|
79
|
-
}
|
|
80
|
-
render() {
|
|
81
|
-
return (h(Host, { key: 'bb7105ecd6e6a7fe003e2b4aafde387305eb7ca4', role: "note" }, this.deletable && (h("mds-button", { key: '8770db0d4b69a2abf27d9a27d49b2db0a7e659b5', title: this.t.get('deleteLabel'), icon: miBaselineClose, class: "button-close", variant: "dark", tone: "text", onClick: this.onClickClose.bind(this) })), h("slot", { key: '74ddb954eb7b8919c414a6cbc2279746f55992bd', name: "title" }), h("slot", { key: '088ab53a3820f94d61951b9147cdce50f1a45304' }), h("div", { key: 'c1cfcab4a0657963b6b7846ccd145afc62934541', "aria-hidden": "true", class: "fold" })));
|
|
82
|
-
}
|
|
83
|
-
get host() { return this; }
|
|
84
|
-
static get style() { return mdsNoteCss; }
|
|
85
|
-
}, [257, "mds-note", {
|
|
86
|
-
"deletable": [4],
|
|
87
|
-
"variant": [513],
|
|
88
|
-
"language": [32],
|
|
89
|
-
"updateLang": [64]
|
|
90
|
-
}]);
|
|
91
|
-
function defineCustomElement$1() {
|
|
92
|
-
if (typeof customElements === "undefined") {
|
|
93
|
-
return;
|
|
94
|
-
}
|
|
95
|
-
const components = ["mds-note", "mds-button", "mds-icon", "mds-spinner", "mds-text"];
|
|
96
|
-
components.forEach(tagName => { switch (tagName) {
|
|
97
|
-
case "mds-note":
|
|
98
|
-
if (!customElements.get(tagName)) {
|
|
99
|
-
customElements.define(tagName, MdsNote$1);
|
|
100
|
-
}
|
|
101
|
-
break;
|
|
102
|
-
case "mds-button":
|
|
103
|
-
if (!customElements.get(tagName)) {
|
|
104
|
-
defineCustomElement$5();
|
|
105
|
-
}
|
|
106
|
-
break;
|
|
107
|
-
case "mds-icon":
|
|
108
|
-
if (!customElements.get(tagName)) {
|
|
109
|
-
defineCustomElement$4();
|
|
110
|
-
}
|
|
111
|
-
break;
|
|
112
|
-
case "mds-spinner":
|
|
113
|
-
if (!customElements.get(tagName)) {
|
|
114
|
-
defineCustomElement$3();
|
|
115
|
-
}
|
|
116
|
-
break;
|
|
117
|
-
case "mds-text":
|
|
118
|
-
if (!customElements.get(tagName)) {
|
|
119
|
-
defineCustomElement$2();
|
|
120
|
-
}
|
|
121
|
-
break;
|
|
122
|
-
} });
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
const MdsNote = MdsNote$1;
|
|
126
|
-
const defineCustomElement = defineCustomElement$1;
|
|
127
|
-
|
|
128
|
-
export { MdsNote, defineCustomElement };
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as o,createEvent as t,h as r,Host as a,transformTag as l}from"@stencil/core/internal/client";import{m as n}from"./close.js";import{K as s}from"./keyboard-manager.js";import{L as b}from"./locale.js";import{d}from"./mds-button2.js";import{d as i}from"./mds-icon2.js";import{d as c}from"./mds-spinner2.js";import{d as m}from"./mds-text2.js";var g={deleteLabel:"Αφαίρεση"},h={deleteLabel:"Remove"},v={deleteLabel:"Eliminar"},u={deleteLabel:"Rimuovi"};const p=e(class extends o{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.deleteEvent=t(this,"mdsNoteDelete",7),this.km=new s,this.t=new b({el:g,en:h,es:v,it:u}),this.deletable=!1,this.variant="yellow",this.onClickClose=()=>{this.deleteEvent.emit()}}async updateLang(){this.language=this.t.lang(this.host)}componentWillLoad(){this.t.lang(this.host)}componentDidLoad(){this.km.addElement(this.host),this.km.attachClickBehavior()}componentDidUpdate(){if(this.deletable)return this.km.addElement(this.host),void this.km.attachClickBehavior();this.km.detachClickBehavior()}disconnectedCallback(){this.km.detachClickBehavior()}render(){return r(a,{key:"50df66ebc4a5d691ec06b2afbe6aa3a8359e18a7",role:"note"},this.deletable&&r("mds-button",{key:"06dd4061821acea5f5b060f216693e9f42f10990",title:this.t.get("deleteLabel"),icon:n,class:"button-close",variant:"dark",tone:"text",onClick:this.onClickClose}),r("slot",{key:"1d070ff5a29efac7dd04928fc4e6a6a172f4a649",name:"title"}),r("slot",{key:"e90c46a1dc161ca4b1c42628d0d3e6fa5a2080bb"}),r("div",{key:"9019e08441d708477ef9d9099e283479ae49e4ae","aria-hidden":"true",class:"fold"}))}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 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-note-background:rgb(var(--label-yellow-10,75 57 3));--mds-note-color:rgb(var(--label-yellow-02,253 238 190));--mds-note-fold-color:rgb(var(--tone-neutral-10,60 60 60));--mds-note-fold-size:40px;--mds-note-selection-background:var(--magma-selection-background,rgb(var(--label-yellow-09,89 68 3)));--mds-note-selection-color:var(--magma-selection-color,rgb(var(--label-yellow-02,253 238 190)));--tw-ease:initial}}}@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --mds-note-fold-size{syntax:"<length>";inherits:false;initial-value:40px}:host{--mds-note-background:rgb(var(--label-yellow-10,75 57 3));--mds-note-color:rgb(var(--label-yellow-02,253 238 190));--mds-note-fold-color:rgb(var(--tone-neutral-10,60 60 60));--mds-note-fold-size:40px;--mds-note-selection-background:var(--magma-selection-background,rgb(var(--label-yellow-09,89 68 3)));--mds-note-selection-color:var(--magma-selection-color,rgb(var(--label-yellow-02,253 238 190)));gap:calc(var(--spacing,.0025rem)*200);padding:calc(var(--spacing,.0025rem)*600);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-note-background,rgb(var(--label-yellow-10,75 57 3)));border-radius:.25rem;color:var(--mds-note-color,rgb(var(--label-yellow-02,253 238 190)));display:grid;overflow:hidden;position:relative;-webkit-transition-duration:var(--duration-300,.3s);transition-duration:var(--duration-300,.3s);transition-property:color,background-color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host ::slotted(mds-text){--mds-text-selection-background:var(--mds-note-selection-background,var(--magma-selection-background,rgb(var(--label-yellow-09,89 68 3))));--mds-text-selection-color:var(--mds-note-selection-color,var(--magma-selection-color,rgb(var(--label-yellow-02,253 238 190))))}:host([deletable]:not([deletable=false])){padding-right:calc(var(--spacing,.0025rem)*1600)}:host([deletable]:not([deletable=false])) .button-close{position:absolute;right:calc(var(--spacing,.0025rem)*400);top:calc(var(--spacing,.0025rem)*400)}.fold{border-color:transparent transparent var(--mds-note-fold-color,rgb(var(--tone-neutral-10,60 60 60))) transparent;border-style:solid;border-width:0 0 var(--mds-note-fold-size,40px) var(--mds-note-fold-size,40px);bottom:0;display:block;filter:drop-shadow(0 0 var(--mds-note-fold-size,40px) var(--mds-note-color,rgb(var(--label-yellow-02,253 238 190))));height:calc(var(--spacing,.0025rem)*0);opacity:.4;pointer-events:none;position:absolute;right:0;-webkit-transition-duration:inherit;transition-duration:inherit;transition-property:border;width:calc(var(--spacing,.0025rem)*0)}.button-close{border-radius:var(--radius-full,1000px);padding:calc(var(--spacing,.0025rem)*100);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:#0000;cursor:pointer;fill:var(--mds-note-color,rgb(var(--label-yellow-02,253 238 190)));-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);transition-property:background-color,fill,outline,outline-offset;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.button-close:hover{background-color:rgb(var(--tone-neutral,0 0 0)/.5)}.title{align-items:flex-start;display:flex;gap:calc(var(--spacing,.0025rem)*400)}.title .button-close{margin-left:auto}:host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-09,135 8 30));--mds-note-color:rgb(var(--label-amaranth-02,254 233 237));--mds-note-selection-background:rgb(var(--label-amaranth-08,193 11 42));--mds-note-selection-color:rgb(var(--label-amaranth-04,251 192 203))}:host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-09,3 77 90));--mds-note-color:rgb(var(--label-aqua-02,203 246 254));--mds-note-selection-background:rgb(var(--label-aqua-08,4 110 129));--mds-note-selection-color:rgb(var(--label-aqua-04,81 225 250))}:host([variant=blue]){--mds-note-background:rgb(var(--label-blue-09,7 40 196));--mds-note-color:rgb(var(--label-blue-02,234 238 254));--mds-note-selection-background:rgb(var(--label-blue-08,42 77 247));--mds-note-selection-color:rgb(var(--label-blue-04,196 206 253))}:host([variant=green]){--mds-note-background:rgb(var(--label-green-09,14 81 39));--mds-note-color:rgb(var(--label-green-02,211 247 224));--mds-note-selection-background:rgb(var(--label-green-08,20 116 56));--mds-note-selection-color:rgb(var(--label-green-04,113 230 156))}:host([variant=lime]){--mds-note-background:rgb(var(--label-lime-09,51 79 8));--mds-note-color:rgb(var(--label-lime-02,223 247 185));--mds-note-selection-background:rgb(var(--label-lime-08,73 112 12));--mds-note-selection-color:rgb(var(--label-lime-04,148 229 25))}:host([variant=orange]){--mds-note-background:rgb(var(--label-orange-09,116 49 3));--mds-note-color:rgb(var(--label-orange-02,254 235 222));--mds-note-selection-background:rgb(var(--label-orange-08,167 71 4));--mds-note-selection-color:rgb(var(--label-orange-04,252 196 158))}:host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-09,131 14 71));--mds-note-color:rgb(var(--label-orchid-02,253 233 243));--mds-note-selection-background:rgb(var(--label-orchid-08,187 19 102));--mds-note-selection-color:rgb(var(--label-orchid-04,248 192 220))}:host([variant=sky]){--mds-note-background:rgb(var(--label-sky-09,6 76 107));--mds-note-color:rgb(var(--label-sky-02,219 242 253));--mds-note-selection-background:rgb(var(--label-sky-08,9 107 152));--mds-note-selection-color:rgb(var(--label-sky-04,148 217 249))}:host([variant=violet]){--mds-note-background:rgb(var(--label-violet-09,67 11 195));--mds-note-color:rgb(var(--label-violet-02,241 235 254));--mds-note-selection-background:rgb(var(--label-violet-08,111 53 244));--mds-note-selection-color:rgb(var(--label-violet-04,216 200 252))}:host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-09,89 68 3));--mds-note-color:rgb(var(--label-yellow-02,253 238 190));--mds-note-selection-background:rgb(var(--label-yellow-08,127 97 4));--mds-note-selection-color:rgb(var(--label-yellow-04,248 202 60))}:host-context(:root.pref-animation-reduce){transition-duration:0s}:host-context(:root.pref-animation-reduce) .fold{transition-duration:0s}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)){-webkit-box-shadow:var(--shadow-outline) inset;box-shadow:var(--shadow-outline) inset}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-08,193 11 42));--mds-note-fold-color:rgb(var(--label-amaranth-06,246 99 125));--mds-note-color:rgb(var(--label-amaranth-02,254 233 237));--mds-note-selection-background:rgb(var(--label-amaranth-07,239 14 52));--mds-note-selection-color:rgb(var(--label-amaranth-03,253 217 223))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-08,4 110 129));--mds-note-fold-color:rgb(var(--label-aqua-06,5 163 190));--mds-note-color:rgb(var(--label-aqua-02,203 246 254));--mds-note-selection-background:rgb(var(--label-aqua-07,5 137 160));--mds-note-selection-color:rgb(var(--label-aqua-03,158 238 252))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=blue]){--mds-note-background:rgb(var(--label-blue-08,42 77 247));--mds-note-fold-color:rgb(var(--label-blue-06,121 143 250));--mds-note-color:rgb(var(--label-blue-02,234 238 254));--mds-note-selection-background:rgb(var(--label-blue-07,85 113 249));--mds-note-selection-color:rgb(var(--label-blue-03,218 224 254))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=green]){--mds-note-background:rgb(var(--label-green-08,20 116 56));--mds-note-fold-color:rgb(var(--label-green-06,30 171 82));--mds-note-color:rgb(var(--label-green-02,211 247 224));--mds-note-selection-background:rgb(var(--label-green-07,25 145 69));--mds-note-selection-color:rgb(var(--label-green-03,173 241 198))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=lime]){--mds-note-background:rgb(var(--label-lime-08,73 112 12));--mds-note-fold-color:rgb(var(--label-lime-06,108 167 18));--mds-note-color:rgb(var(--label-lime-02,223 247 185));--mds-note-selection-background:rgb(var(--label-lime-07,90 139 15));--mds-note-selection-color:rgb(var(--label-lime-03,193 241 122))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=orange]){--mds-note-background:rgb(var(--label-orange-08,167 71 4));--mds-note-fold-color:rgb(var(--label-orange-06,247 105 6));--mds-note-color:rgb(var(--label-orange-02,254 235 222));--mds-note-selection-background:rgb(var(--label-orange-07,208 88 5));--mds-note-selection-color:rgb(var(--label-orange-03,253 219 196))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-08,187 19 102));--mds-note-fold-color:rgb(var(--label-orchid-06,239 99 168));--mds-note-color:rgb(var(--label-orchid-02,253 233 243));--mds-note-selection-background:rgb(var(--label-orchid-07,231 28 129));--mds-note-selection-color:rgb(var(--label-orchid-03,251 216 234))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=sky]){--mds-note-background:rgb(var(--label-sky-08,9 107 152));--mds-note-fold-color:rgb(var(--label-sky-06,13 158 224));--mds-note-color:rgb(var(--label-sky-02,219 242 253));--mds-note-selection-background:rgb(var(--label-sky-07,11 133 188));--mds-note-selection-color:rgb(var(--label-sky-03,191 232 251))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=violet]){--mds-note-background:rgb(var(--label-violet-08,111 53 244));--mds-note-fold-color:rgb(var(--label-violet-06,166 129 248));--mds-note-color:rgb(var(--label-violet-02,241 235 254));--mds-note-selection-background:rgb(var(--label-violet-07,141 95 246));--mds-note-selection-color:rgb(var(--label-violet-03,231 221 253))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-08,127 97 4));--mds-note-fold-color:rgb(var(--label-yellow-06,188 143 6));--mds-note-color:rgb(var(--label-yellow-02,253 238 190));--mds-note-selection-background:rgb(var(--label-yellow-07,158 120 5));--mds-note-selection-color:rgb(var(--label-yellow-03,251 224 142))}:host-context(:root.pref-contrast-more){-webkit-box-shadow:var(--shadow-outline-50) inset;box-shadow:var(--shadow-outline-50) inset}:host-context(:root.pref-contrast-more) .fold{bottom:calc(var(--spacing,.0025rem)*50);right:calc(var(--spacing,.0025rem)*50)}@property --tw-ease{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]))) .fold{transition-duration:0s}}@media (prefers-color-scheme:dark){:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))){-webkit-box-shadow:var(--shadow-outline) inset;box-shadow:var(--shadow-outline) inset}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-08,193 11 42));--mds-note-fold-color:rgb(var(--label-amaranth-06,246 99 125));--mds-note-color:rgb(var(--label-amaranth-02,254 233 237));--mds-note-selection-background:rgb(var(--label-amaranth-07,239 14 52));--mds-note-selection-color:rgb(var(--label-amaranth-03,253 217 223))}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-08,4 110 129));--mds-note-fold-color:rgb(var(--label-aqua-06,5 163 190));--mds-note-color:rgb(var(--label-aqua-02,203 246 254));--mds-note-selection-background:rgb(var(--label-aqua-07,5 137 160));--mds-note-selection-color:rgb(var(--label-aqua-03,158 238 252))}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=blue]){--mds-note-background:rgb(var(--label-blue-08,42 77 247));--mds-note-fold-color:rgb(var(--label-blue-06,121 143 250));--mds-note-color:rgb(var(--label-blue-02,234 238 254));--mds-note-selection-background:rgb(var(--label-blue-07,85 113 249));--mds-note-selection-color:rgb(var(--label-blue-03,218 224 254))}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=green]){--mds-note-background:rgb(var(--label-green-08,20 116 56));--mds-note-fold-color:rgb(var(--label-green-06,30 171 82));--mds-note-color:rgb(var(--label-green-02,211 247 224));--mds-note-selection-background:rgb(var(--label-green-07,25 145 69));--mds-note-selection-color:rgb(var(--label-green-03,173 241 198))}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=lime]){--mds-note-background:rgb(var(--label-lime-08,73 112 12));--mds-note-fold-color:rgb(var(--label-lime-06,108 167 18));--mds-note-color:rgb(var(--label-lime-02,223 247 185));--mds-note-selection-background:rgb(var(--label-lime-07,90 139 15));--mds-note-selection-color:rgb(var(--label-lime-03,193 241 122))}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=orange]){--mds-note-background:rgb(var(--label-orange-08,167 71 4));--mds-note-fold-color:rgb(var(--label-orange-06,247 105 6));--mds-note-color:rgb(var(--label-orange-02,254 235 222));--mds-note-selection-background:rgb(var(--label-orange-07,208 88 5));--mds-note-selection-color:rgb(var(--label-orange-03,253 219 196))}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-08,187 19 102));--mds-note-fold-color:rgb(var(--label-orchid-06,239 99 168));--mds-note-color:rgb(var(--label-orchid-02,253 233 243));--mds-note-selection-background:rgb(var(--label-orchid-07,231 28 129));--mds-note-selection-color:rgb(var(--label-orchid-03,251 216 234))}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=sky]){--mds-note-background:rgb(var(--label-sky-08,9 107 152));--mds-note-fold-color:rgb(var(--label-sky-06,13 158 224));--mds-note-color:rgb(var(--label-sky-02,219 242 253));--mds-note-selection-background:rgb(var(--label-sky-07,11 133 188));--mds-note-selection-color:rgb(var(--label-sky-03,191 232 251))}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=violet]){--mds-note-background:rgb(var(--label-violet-08,111 53 244));--mds-note-fold-color:rgb(var(--label-violet-06,166 129 248));--mds-note-color:rgb(var(--label-violet-02,241 235 254));--mds-note-selection-background:rgb(var(--label-violet-07,141 95 246));--mds-note-selection-color:rgb(var(--label-violet-03,231 221 253))}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-08,127 97 4));--mds-note-fold-color:rgb(var(--label-yellow-06,188 143 6));--mds-note-color:rgb(var(--label-yellow-02,253 238 190));--mds-note-selection-background:rgb(var(--label-yellow-07,158 120 5));--mds-note-selection-color:rgb(var(--label-yellow-03,251 224 142))}}@media (prefers-contrast:more){:is(:host-context(:root.pref-contrast-system),:host-context(:root:not([data-magma-pref]))){-webkit-box-shadow:var(--shadow-outline-50) inset;box-shadow:var(--shadow-outline-50) inset}:is(:host-context(:root.pref-contrast-system),:host-context(:root:not([data-magma-pref]))) .fold{bottom:calc(var(--spacing,.0025rem)*50);right:calc(var(--spacing,.0025rem)*50)}}'}},[257,"mds-note",{deletable:[4],variant:[513],language:[32],updateLang:[64]}]),f=p,k=function(){"undefined"!=typeof customElements&&["mds-note","mds-button","mds-icon","mds-spinner","mds-text"].forEach((e=>{switch(e){case"mds-note":customElements.get(l(e))||customElements.define(l(e),p);break;case"mds-button":customElements.get(l(e))||d();break;case"mds-icon":customElements.get(l(e))||i();break;case"mds-spinner":customElements.get(l(e))||c();break;case"mds-text":customElements.get(l(e))||m()}}))};export{f as MdsNote,k as defineCustomElement}
|