@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,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-CAd5312P.js';
|
|
2
2
|
import { m as miBaselineCancel } from './cancel-BJ8rpzfj.js';
|
|
3
3
|
import { K as KeyboardManager } from './keyboard-manager-BudfaWhu.js';
|
|
4
4
|
import { L as Locale } from './locale-a4oAcjYG.js';
|
|
@@ -18,7 +18,7 @@ var localeIt = {
|
|
|
18
18
|
remove: remove
|
|
19
19
|
};
|
|
20
20
|
|
|
21
|
-
const mdsLabelCss = "@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,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-label-background:rgb(var(--label-yellow-09,89 68 3));--mds-label-color:rgb(var(--label-yellow-02,253 238 190));--mds-label-icon-color:var(--mds-label-color,rgb(var(--label-yellow-02,253 238 190)));--mds-label-radius:calc(var(--spacing,.0025rem)*150);--mds-label-selection-background:var(--magma-selection-background,rgb(var(--label-yellow-09,89 68 3)));--mds-label-selection-color:var(--magma-selection-color,rgb(var(--label-yellow-02,253 238 190)));--mds-label-button-background:rgb(var(--label-yellow-08,127 97 4));--mds-label-button-background-hover:rgb(var(--label-yellow-07,158 120 5));--mds-label-button-icon-color:rgb(var(--label-yellow-03,251 224 142));--tw-ease:initial}}}@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-label-background:rgb(var(--label-yellow-09,89 68 3));--mds-label-color:rgb(var(--label-yellow-02,253 238 190));--mds-label-icon-color:var(--mds-label-color,rgb(var(--label-yellow-02,253 238 190)));--mds-label-selection-background:var(--magma-selection-background,rgb(var(--label-yellow-09,89 68 3)));--mds-label-selection-color:var(--magma-selection-color,rgb(var(--label-yellow-02,253 238 190)));--mds-label-button-background:rgb(var(--label-yellow-08,127 97 4));--mds-label-button-background-hover:rgb(var(--label-yellow-07,158 120 5));--mds-label-button-icon-color:rgb(var(--label-yellow-03,251 224 142));--private-bevel-size:calc(var(--spacing,.0025rem)*900);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-label-background,rgb(var(--label-yellow-09,89 68 3)));color:var(--mds-label-color,rgb(var(--label-yellow-02,253 238 190)));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));corner-shape:round;align-items:center;border-radius:100px;display:flex;fill:var(--mds-label-icon-color,var(--mds-label-color,rgb(var(--label-yellow-02,253 238 190))));flex:1;gap:calc(var(--spacing,.0025rem)*50);max-width:min-content;min-height:calc(var(--spacing,.0025rem)*700);padding:0 calc(var(--spacing,.0025rem)*200);-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);transition-property:color,background-color,fill;--mds-label-background:rgb(var(--label-blue-08,42 77 247));--mds-label-button-background:rgb(var(--label-blue-09,7 40 196));--mds-label-button-background-hover:rgb(var(--label-blue-08,42 77 247));--mds-label-button-icon-color:rgb(var(--label-blue-04,196 206 253));--mds-label-color:rgb(var(--label-blue-02,234 238 254));--mds-label-icon-color:rgb(var(--label-blue-02,234 238 254));--mds-label-selection-background:rgb(var(--label-blue-06,121 143 250));--mds-label-selection-color:rgb(var(--label-blue-10,6 34 166))}@supports (corner-shape:bevel){:host{corner-left-shape:superellipse(.25);corner-right-shape:var(--magma-corner-shape,round);align-items:stretch;border-bottom-left-radius:100px;border-top-left-radius:100px;padding-left:calc(var(--private-bevel-size)/2);padding-right:0}}:host::selection{background-color:var(--mds-label-selection-background,var(--magma-selection-background,rgb(var(--label-yellow-09,89 68 3))));color:var(--mds-label-selection-color,var(--magma-selection-color,rgb(var(--label-yellow-02,253 238 190))))}:host([truncate=word]) .text{white-space:nowrap}.text{--mds-text-selection-background:var(--mds-label-selection-background,var(--magma-selection-background,rgb(var(--label-yellow-09,89 68 3))));--mds-text-selection-color:var(--mds-label-selection-color,var(--magma-selection-color,rgb(var(--label-yellow-02,253 238 190))));align-self:center;display:block;flex-grow:1}.text:last-child{padding-right:calc(var(--spacing,.0025rem)*200)}.button-close{--mds-button-background:var(--mds-label-button-background,rgb(var(--label-yellow-08,127 97 4)));--mds-button-border-opacity:0;align-self:center;fill:var(--mds-label-button-icon-color,rgb(var(--label-yellow-03,251 224 142)));flex-shrink:0}.button-close:hover{--mds-button-background:var(--mds-label-button-background-hover,rgb(var(--label-yellow-07,158 120 5)))}:host([variant=red]){--mds-label-background:rgb(var(--label-red-04,247 195 195));--mds-label-button-background:rgb(var(--label-red-04,247 195 195));--mds-label-button-background-hover:rgb(var(--label-red-05,244 167 167));--mds-label-button-icon-color:rgb(var(--label-red-10,115 15 15));--mds-label-color:rgb(var(--label-red-10,115 15 15));--mds-label-icon-color:rgb(var(--label-red-10,115 15 15));--mds-label-selection-background:rgb(var(--label-red-08,192 25 25));--mds-label-selection-color:rgb(var(--label-red-02,252 234 234))}:host([variant=red]):host([tone=weak]){--mds-label-background:rgb(var(--label-red-08,192 25 25));--mds-label-button-background:rgb(var(--label-red-09,134 17 17));--mds-label-button-background-hover:rgb(var(--label-red-08,192 25 25));--mds-label-button-icon-color:rgb(var(--label-red-04,247 195 195));--mds-label-color:rgb(var(--label-red-02,252 234 234));--mds-label-icon-color:rgb(var(--label-red-02,252 234 234));--mds-label-selection-background:rgb(var(--label-red-06,236 110 110));--mds-label-selection-color:rgb(var(--label-red-10,115 15 15))}:host([variant=amaranth]){--mds-label-background:rgb(var(--label-amaranth-04,251 192 203));--mds-label-button-background:rgb(var(--label-amaranth-04,251 192 203));--mds-label-button-background-hover:rgb(var(--label-amaranth-05,250 163 178));--mds-label-button-icon-color:rgb(var(--label-amaranth-10,114 7 25));--mds-label-color:rgb(var(--label-amaranth-10,114 7 25));--mds-label-icon-color:rgb(var(--label-amaranth-10,114 7 25));--mds-label-selection-background:rgb(var(--label-amaranth-08,193 11 42));--mds-label-selection-color:rgb(var(--label-amaranth-02,254 233 237))}:host([variant=amaranth]):host([tone=weak]){--mds-label-background:rgb(var(--label-amaranth-08,193 11 42));--mds-label-button-background:rgb(var(--label-amaranth-09,135 8 30));--mds-label-button-background-hover:rgb(var(--label-amaranth-08,193 11 42));--mds-label-button-icon-color:rgb(var(--label-amaranth-04,251 192 203));--mds-label-color:rgb(var(--label-amaranth-02,254 233 237));--mds-label-icon-color:rgb(var(--label-amaranth-02,254 233 237));--mds-label-selection-background:rgb(var(--label-amaranth-06,246 99 125));--mds-label-selection-color:rgb(var(--label-amaranth-10,114 7 25))}:host([variant=aqua]){--mds-label-background:rgb(var(--label-aqua-04,81 225 250));--mds-label-button-background:rgb(var(--label-aqua-04,81 225 250));--mds-label-button-background-hover:rgb(var(--label-aqua-05,7 203 237));--mds-label-button-icon-color:rgb(var(--label-aqua-10,2 65 76));--mds-label-color:rgb(var(--label-aqua-10,2 65 76));--mds-label-icon-color:rgb(var(--label-aqua-10,2 65 76));--mds-label-selection-background:rgb(var(--label-aqua-08,4 110 129));--mds-label-selection-color:rgb(var(--label-aqua-02,203 246 254))}:host([variant=aqua]):host([tone=weak]){--mds-label-background:rgb(var(--label-aqua-08,4 110 129));--mds-label-button-background:rgb(var(--label-aqua-09,3 77 90));--mds-label-button-background-hover:rgb(var(--label-aqua-08,4 110 129));--mds-label-button-icon-color:rgb(var(--label-aqua-04,81 225 250));--mds-label-color:rgb(var(--label-aqua-02,203 246 254));--mds-label-icon-color:rgb(var(--label-aqua-02,203 246 254));--mds-label-selection-background:rgb(var(--label-aqua-06,5 163 190));--mds-label-selection-color:rgb(var(--label-aqua-10,2 65 76))}:host([variant=blue]){--mds-label-background:rgb(var(--label-blue-04,196 206 253));--mds-label-button-background:rgb(var(--label-blue-04,196 206 253));--mds-label-button-background-hover:rgb(var(--label-blue-05,170 184 252));--mds-label-button-icon-color:rgb(var(--label-blue-10,6 34 166));--mds-label-color:rgb(var(--label-blue-10,6 34 166));--mds-label-icon-color:rgb(var(--label-blue-10,6 34 166));--mds-label-selection-background:rgb(var(--label-blue-08,42 77 247));--mds-label-selection-color:rgb(var(--label-blue-02,234 238 254))}:host([variant=blue]):host([tone=weak]){--mds-label-background:rgb(var(--label-blue-08,42 77 247));--mds-label-button-background:rgb(var(--label-blue-09,7 40 196));--mds-label-button-background-hover:rgb(var(--label-blue-08,42 77 247));--mds-label-button-icon-color:rgb(var(--label-blue-04,196 206 253));--mds-label-color:rgb(var(--label-blue-02,234 238 254));--mds-label-icon-color:rgb(var(--label-blue-02,234 238 254));--mds-label-selection-background:rgb(var(--label-blue-06,121 143 250));--mds-label-selection-color:rgb(var(--label-blue-10,6 34 166))}:host([variant=green]){--mds-label-background:rgb(var(--label-green-04,113 230 156));--mds-label-button-background:rgb(var(--label-green-04,113 230 156));--mds-label-button-background-hover:rgb(var(--label-green-05,37 213 102));--mds-label-button-icon-color:rgb(var(--label-green-10,12 68 33));--mds-label-color:rgb(var(--label-green-10,12 68 33));--mds-label-icon-color:rgb(var(--label-green-10,12 68 33));--mds-label-selection-background:rgb(var(--label-green-08,20 116 56));--mds-label-selection-color:rgb(var(--label-green-02,211 247 224))}:host([variant=green]):host([tone=weak]){--mds-label-background:rgb(var(--label-green-08,20 116 56));--mds-label-button-background:rgb(var(--label-green-09,14 81 39));--mds-label-button-background-hover:rgb(var(--label-green-08,20 116 56));--mds-label-button-icon-color:rgb(var(--label-green-04,113 230 156));--mds-label-color:rgb(var(--label-green-02,211 247 224));--mds-label-icon-color:rgb(var(--label-green-02,211 247 224));--mds-label-selection-background:rgb(var(--label-green-06,30 171 82));--mds-label-selection-color:rgb(var(--label-green-10,12 68 33))}:host([variant=lime]){--mds-label-background:rgb(var(--label-lime-04,148 229 25));--mds-label-button-background:rgb(var(--label-lime-04,148 229 25));--mds-label-button-background-hover:rgb(var(--label-lime-05,134 207 22));--mds-label-button-icon-color:rgb(var(--label-lime-10,43 66 7));--mds-label-color:rgb(var(--label-lime-10,43 66 7));--mds-label-icon-color:rgb(var(--label-lime-10,43 66 7));--mds-label-selection-background:rgb(var(--label-lime-08,73 112 12));--mds-label-selection-color:rgb(var(--label-lime-02,223 247 185))}:host([variant=lime]):host([tone=weak]){--mds-label-background:rgb(var(--label-lime-08,73 112 12));--mds-label-button-background:rgb(var(--label-lime-09,51 79 8));--mds-label-button-background-hover:rgb(var(--label-lime-08,73 112 12));--mds-label-button-icon-color:rgb(var(--label-lime-04,148 229 25));--mds-label-color:rgb(var(--label-lime-02,223 247 185));--mds-label-icon-color:rgb(var(--label-lime-02,223 247 185));--mds-label-selection-background:rgb(var(--label-lime-06,108 167 18));--mds-label-selection-color:rgb(var(--label-lime-10,43 66 7))}:host([variant=orange]){--mds-label-background:rgb(var(--label-orange-04,252 196 158));--mds-label-button-background:rgb(var(--label-orange-04,252 196 158));--mds-label-button-background-hover:rgb(var(--label-orange-05,251 168 111));--mds-label-button-icon-color:rgb(var(--label-orange-10,99 42 3));--mds-label-color:rgb(var(--label-orange-10,99 42 3));--mds-label-icon-color:rgb(var(--label-orange-10,99 42 3));--mds-label-selection-background:rgb(var(--label-orange-08,167 71 4));--mds-label-selection-color:rgb(var(--label-orange-02,254 235 222))}:host([variant=orange]):host([tone=weak]){--mds-label-background:rgb(var(--label-orange-08,167 71 4));--mds-label-button-background:rgb(var(--label-orange-09,116 49 3));--mds-label-button-background-hover:rgb(var(--label-orange-08,167 71 4));--mds-label-button-icon-color:rgb(var(--label-orange-04,252 196 158));--mds-label-color:rgb(var(--label-orange-02,254 235 222));--mds-label-icon-color:rgb(var(--label-orange-02,254 235 222));--mds-label-selection-background:rgb(var(--label-orange-06,247 105 6));--mds-label-selection-color:rgb(var(--label-orange-10,99 42 3))}:host([variant=orchid]){--mds-label-background:rgb(var(--label-orchid-04,248 192 220));--mds-label-button-background:rgb(var(--label-orchid-04,248 192 220));--mds-label-button-background-hover:rgb(var(--label-orchid-05,245 163 203));--mds-label-button-icon-color:rgb(var(--label-orchid-10,111 12 61));--mds-label-color:rgb(var(--label-orchid-10,111 12 61));--mds-label-icon-color:rgb(var(--label-orchid-10,111 12 61));--mds-label-selection-background:rgb(var(--label-orchid-08,187 19 102));--mds-label-selection-color:rgb(var(--label-orchid-02,253 233 243))}:host([variant=orchid]):host([tone=weak]){--mds-label-background:rgb(var(--label-orchid-08,187 19 102));--mds-label-button-background:rgb(var(--label-orchid-09,131 14 71));--mds-label-button-background-hover:rgb(var(--label-orchid-08,187 19 102));--mds-label-button-icon-color:rgb(var(--label-orchid-04,248 192 220));--mds-label-color:rgb(var(--label-orchid-02,253 233 243));--mds-label-icon-color:rgb(var(--label-orchid-02,253 233 243));--mds-label-selection-background:rgb(var(--label-orchid-06,239 99 168));--mds-label-selection-color:rgb(var(--label-orchid-10,111 12 61))}:host([variant=sky]){--mds-label-background:rgb(var(--label-sky-04,148 217 249));--mds-label-button-background:rgb(var(--label-sky-04,148 217 249));--mds-label-button-background-hover:rgb(var(--label-sky-05,94 198 245));--mds-label-button-icon-color:rgb(var(--label-sky-10,5 63 90));--mds-label-color:rgb(var(--label-sky-10,5 63 90));--mds-label-icon-color:rgb(var(--label-sky-10,5 63 90));--mds-label-selection-background:rgb(var(--label-sky-08,9 107 152));--mds-label-selection-color:rgb(var(--label-sky-02,219 242 253))}:host([variant=sky]):host([tone=weak]){--mds-label-background:rgb(var(--label-sky-08,9 107 152));--mds-label-button-background:rgb(var(--label-sky-09,6 76 107));--mds-label-button-background-hover:rgb(var(--label-sky-08,9 107 152));--mds-label-button-icon-color:rgb(var(--label-sky-04,148 217 249));--mds-label-color:rgb(var(--label-sky-02,219 242 253));--mds-label-icon-color:rgb(var(--label-sky-02,219 242 253));--mds-label-selection-background:rgb(var(--label-sky-06,13 158 224));--mds-label-selection-color:rgb(var(--label-sky-10,5 63 90))}:host([variant=violet]){--mds-label-background:rgb(var(--label-violet-04,216 200 252));--mds-label-button-background:rgb(var(--label-violet-04,216 200 252));--mds-label-button-background-hover:rgb(var(--label-violet-05,198 175 251));--mds-label-button-icon-color:rgb(var(--label-violet-10,57 9 165));--mds-label-color:rgb(var(--label-violet-10,57 9 165));--mds-label-icon-color:rgb(var(--label-violet-10,57 9 165));--mds-label-selection-background:rgb(var(--label-violet-08,111 53 244));--mds-label-selection-color:rgb(var(--label-violet-02,241 235 254))}:host([variant=violet]):host([tone=weak]){--mds-label-background:rgb(var(--label-violet-08,111 53 244));--mds-label-button-background:rgb(var(--label-violet-09,67 11 195));--mds-label-button-background-hover:rgb(var(--label-violet-08,111 53 244));--mds-label-button-icon-color:rgb(var(--label-violet-04,216 200 252));--mds-label-color:rgb(var(--label-violet-02,241 235 254));--mds-label-icon-color:rgb(var(--label-violet-02,241 235 254));--mds-label-selection-background:rgb(var(--label-violet-06,166 129 248));--mds-label-selection-color:rgb(var(--label-violet-10,57 9 165))}:host([variant=purple]){--mds-label-background:rgb(var(--label-purple-04,225 196 252));--mds-label-button-background:rgb(var(--label-purple-04,225 196 252));--mds-label-button-background-hover:rgb(var(--label-purple-05,212 170 251));--mds-label-button-icon-color:rgb(var(--label-purple-10,78 7 146));--mds-label-color:rgb(var(--label-purple-10,78 7 146));--mds-label-icon-color:rgb(var(--label-purple-10,78 7 146));--mds-label-selection-background:rgb(var(--label-purple-08,133 17 244));--mds-label-selection-color:rgb(var(--label-purple-02,245 234 254))}:host([variant=purple]):host([tone=weak]){--mds-label-background:rgb(var(--label-purple-08,133 17 244));--mds-label-button-background:rgb(var(--label-purple-09,92 8 173));--mds-label-button-background-hover:rgb(var(--label-purple-08,133 17 244));--mds-label-button-icon-color:rgb(var(--label-purple-04,225 196 252));--mds-label-color:rgb(var(--label-purple-02,245 234 254));--mds-label-icon-color:rgb(var(--label-purple-02,245 234 254));--mds-label-selection-background:rgb(var(--label-purple-06,186 119 249));--mds-label-selection-color:rgb(var(--label-purple-10,78 7 146))}:host([variant=yellow]){--mds-label-background:rgb(var(--label-yellow-04,248 202 60));--mds-label-button-background:rgb(var(--label-yellow-04,248 202 60));--mds-label-button-background-hover:rgb(var(--label-yellow-05,234 179 8));--mds-label-button-icon-color:rgb(var(--label-yellow-10,75 57 3));--mds-label-color:rgb(var(--label-yellow-10,75 57 3));--mds-label-icon-color:rgb(var(--label-yellow-10,75 57 3));--mds-label-selection-background:rgb(var(--label-yellow-08,127 97 4));--mds-label-selection-color:rgb(var(--label-yellow-02,253 238 190))}:host([variant=yellow]):host([tone=weak]){--mds-label-background:rgb(var(--label-yellow-08,127 97 4));--mds-label-button-background:rgb(var(--label-yellow-09,89 68 3));--mds-label-button-background-hover:rgb(var(--label-yellow-08,127 97 4));--mds-label-button-icon-color:rgb(var(--label-yellow-04,248 202 60));--mds-label-color:rgb(var(--label-yellow-02,253 238 190));--mds-label-icon-color:rgb(var(--label-yellow-02,253 238 190));--mds-label-selection-background:rgb(var(--label-yellow-06,188 143 6));--mds-label-selection-color:rgb(var(--label-yellow-10,75 57 3))}:host([variant=error]){--mds-label-background:rgb(var(--status-error-04,254 193 189));--mds-label-button-background:rgb(var(--status-error-04,254 193 189));--mds-label-button-background-hover:rgb(var(--status-error-05,250 165 160));--mds-label-button-icon-color:rgb(var(--status-error-10,115 0 0));--mds-label-color:rgb(var(--status-error-10,115 0 0));--mds-label-icon-color:rgb(var(--status-error-10,115 0 0));--mds-label-selection-background:rgb(var(--status-error-08,182 50 54));--mds-label-selection-color:rgb(var(--status-error-02,255 234 231))}:host([variant=error]):host([tone=weak]){--mds-label-background:rgb(var(--status-error-08,182 50 54));--mds-label-button-background:rgb(var(--status-error-09,135 0 14));--mds-label-button-background-hover:rgb(var(--status-error-08,182 50 54));--mds-label-button-icon-color:rgb(var(--status-error-04,254 193 189));--mds-label-color:rgb(var(--status-error-02,255 234 231));--mds-label-icon-color:rgb(var(--status-error-02,255 234 231));--mds-label-selection-background:rgb(var(--status-error-06,239 108 105));--mds-label-selection-color:rgb(var(--status-error-10,115 0 0))}:host([variant=warning]){--mds-label-background:rgb(var(--status-warning-04,255 200 33));--mds-label-button-background:rgb(var(--status-warning-04,255 200 33));--mds-label-button-background-hover:rgb(var(--status-warning-05,237 177 0));--mds-label-button-icon-color:rgb(var(--status-warning-10,77 57 0));--mds-label-color:rgb(var(--status-warning-10,77 57 0));--mds-label-icon-color:rgb(var(--status-warning-10,77 57 0));--mds-label-selection-background:rgb(var(--status-warning-08,129 96 0));--mds-label-selection-color:rgb(var(--status-warning-02,255 237 185))}:host([variant=warning]):host([tone=weak]){--mds-label-background:rgb(var(--status-warning-08,129 96 0));--mds-label-button-background:rgb(var(--status-warning-09,90 67 0));--mds-label-button-background-hover:rgb(var(--status-warning-08,129 96 0));--mds-label-button-icon-color:rgb(var(--status-warning-04,255 200 33));--mds-label-color:rgb(var(--status-warning-02,255 237 185));--mds-label-icon-color:rgb(var(--status-warning-02,255 237 185));--mds-label-selection-background:rgb(var(--status-warning-06,190 142 0));--mds-label-selection-color:rgb(var(--status-warning-10,77 57 0))}:host([variant=success]){--mds-label-background:rgb(var(--status-success-04,158 222 181));--mds-label-button-background:rgb(var(--status-success-04,158 222 181));--mds-label-button-background-hover:rgb(var(--status-success-05,107 206 147));--mds-label-button-icon-color:rgb(var(--status-success-10,0 69 0));--mds-label-color:rgb(var(--status-success-10,0 69 0));--mds-label-icon-color:rgb(var(--status-success-10,0 69 0));--mds-label-selection-background:rgb(var(--status-success-08,0 116 46));--mds-label-selection-color:rgb(var(--status-success-02,222 244 228))}:host([variant=success]):host([tone=weak]){--mds-label-background:rgb(var(--status-success-08,0 116 46));--mds-label-button-background:rgb(var(--status-success-09,0 82 9));--mds-label-button-background-hover:rgb(var(--status-success-08,0 116 46));--mds-label-button-icon-color:rgb(var(--status-success-04,158 222 181));--mds-label-color:rgb(var(--status-success-02,222 244 228));--mds-label-icon-color:rgb(var(--status-success-02,222 244 228));--mds-label-selection-background:rgb(var(--status-success-06,0 171 97));--mds-label-selection-color:rgb(var(--status-success-10,0 69 0))}:host([variant=info]){--mds-label-background:rgb(var(--status-info-04,159 216 241));--mds-label-button-background:rgb(var(--status-info-04,159 216 241));--mds-label-button-background-hover:rgb(var(--status-info-05,112 198 234));--mds-label-button-icon-color:rgb(var(--status-info-10,0 61 103));--mds-label-color:rgb(var(--status-info-10,0 61 103));--mds-label-icon-color:rgb(var(--status-info-10,0 61 103));--mds-label-selection-background:rgb(var(--status-info-08,0 107 151));--mds-label-selection-color:rgb(var(--status-info-02,222 242 250))}:host([variant=info]):host([tone=weak]){--mds-label-background:rgb(var(--status-info-08,0 107 151));--mds-label-button-background:rgb(var(--status-info-09,0 73 116));--mds-label-button-background-hover:rgb(var(--status-info-08,0 107 151));--mds-label-button-icon-color:rgb(var(--status-info-04,159 216 241));--mds-label-color:rgb(var(--status-info-02,222 242 250));--mds-label-icon-color:rgb(var(--status-info-02,222 242 250));--mds-label-selection-background:rgb(var(--status-info-06,0 161 208));--mds-label-selection-color:rgb(var(--status-info-10,0 61 103))}: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-contrast-more){-webkit-box-shadow:var(--shadow-outline-50)inset;box-shadow:var(--shadow-outline-50)inset}@property --tw-ease{syntax:\"*\";inherits:false}@media (prefers-color-scheme:dark){:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))){-webkit-box-shadow:var(--shadow-outline)inset;box-shadow:var(--shadow-outline)inset}}@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}}";
|
|
21
|
+
const mdsLabelCss = () => `@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,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-label-background:rgb(var(--label-yellow-09,89 68 3));--mds-label-color:rgb(var(--label-yellow-02,253 238 190));--mds-label-icon-color:var(--mds-label-color,rgb(var(--label-yellow-02,253 238 190)));--mds-label-radius:calc(var(--spacing,.0025rem)*150);--mds-label-selection-background:var(--magma-selection-background,rgb(var(--label-yellow-09,89 68 3)));--mds-label-selection-color:var(--magma-selection-color,rgb(var(--label-yellow-02,253 238 190)));--mds-label-button-background:rgb(var(--label-yellow-08,127 97 4));--mds-label-button-background-hover:rgb(var(--label-yellow-07,158 120 5));--mds-label-button-icon-color:rgb(var(--label-yellow-03,251 224 142));--tw-ease:initial}}}@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-label-background:rgb(var(--label-yellow-09,89 68 3));--mds-label-color:rgb(var(--label-yellow-02,253 238 190));--mds-label-icon-color:var(--mds-label-color,rgb(var(--label-yellow-02,253 238 190)));--mds-label-selection-background:var(--magma-selection-background,rgb(var(--label-yellow-09,89 68 3)));--mds-label-selection-color:var(--magma-selection-color,rgb(var(--label-yellow-02,253 238 190)));--mds-label-button-background:rgb(var(--label-yellow-08,127 97 4));--mds-label-button-background-hover:rgb(var(--label-yellow-07,158 120 5));--mds-label-button-icon-color:rgb(var(--label-yellow-03,251 224 142));--private-bevel-size:calc(var(--spacing,.0025rem)*900);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-label-background,rgb(var(--label-yellow-09,89 68 3)));color:var(--mds-label-color,rgb(var(--label-yellow-02,253 238 190)));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));corner-shape:round;align-items:center;border-radius:100px;display:flex;fill:var(--mds-label-icon-color,var(--mds-label-color,rgb(var(--label-yellow-02,253 238 190))));flex:1;gap:calc(var(--spacing,.0025rem)*50);max-width:min-content;min-height:calc(var(--spacing,.0025rem)*700);padding:0 calc(var(--spacing,.0025rem)*200);-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);transition-property:color,background-color,fill;--mds-label-background:rgb(var(--label-blue-08,42 77 247));--mds-label-button-background:rgb(var(--label-blue-09,7 40 196));--mds-label-button-background-hover:rgb(var(--label-blue-08,42 77 247));--mds-label-button-icon-color:rgb(var(--label-blue-04,196 206 253));--mds-label-color:rgb(var(--label-blue-02,234 238 254));--mds-label-icon-color:rgb(var(--label-blue-02,234 238 254));--mds-label-selection-background:rgb(var(--label-blue-06,121 143 250));--mds-label-selection-color:rgb(var(--label-blue-10,6 34 166))}@supports (corner-shape:bevel){:host{corner-left-shape:superellipse(.25);corner-right-shape:var(--magma-corner-shape,round);align-items:stretch;border-bottom-left-radius:100px;border-top-left-radius:100px;padding-left:calc(var(--private-bevel-size)/2);padding-right:0}}:host::selection{background-color:var(--mds-label-selection-background,var(--magma-selection-background,rgb(var(--label-yellow-09,89 68 3))));color:var(--mds-label-selection-color,var(--magma-selection-color,rgb(var(--label-yellow-02,253 238 190))))}:host([truncate=word]) .text{white-space:nowrap}.text{--mds-text-selection-background:var(--mds-label-selection-background,var(--magma-selection-background,rgb(var(--label-yellow-09,89 68 3))));--mds-text-selection-color:var(--mds-label-selection-color,var(--magma-selection-color,rgb(var(--label-yellow-02,253 238 190))));align-self:center;display:block;flex-grow:1}.text:last-child{padding-right:calc(var(--spacing,.0025rem)*200)}.button-close{--mds-button-background:var(--mds-label-button-background,rgb(var(--label-yellow-08,127 97 4)));--mds-button-border-opacity:0;align-self:center;fill:var(--mds-label-button-icon-color,rgb(var(--label-yellow-03,251 224 142)));flex-shrink:0}.button-close:hover{--mds-button-background:var(--mds-label-button-background-hover,rgb(var(--label-yellow-07,158 120 5)))}:host([variant=red]){--mds-label-background:rgb(var(--label-red-04,247 195 195));--mds-label-button-background:rgb(var(--label-red-04,247 195 195));--mds-label-button-background-hover:rgb(var(--label-red-05,244 167 167));--mds-label-button-icon-color:rgb(var(--label-red-10,115 15 15));--mds-label-color:rgb(var(--label-red-10,115 15 15));--mds-label-icon-color:rgb(var(--label-red-10,115 15 15));--mds-label-selection-background:rgb(var(--label-red-08,192 25 25));--mds-label-selection-color:rgb(var(--label-red-02,252 234 234))}:host([variant=red]):host([tone=weak]){--mds-label-background:rgb(var(--label-red-08,192 25 25));--mds-label-button-background:rgb(var(--label-red-09,134 17 17));--mds-label-button-background-hover:rgb(var(--label-red-08,192 25 25));--mds-label-button-icon-color:rgb(var(--label-red-04,247 195 195));--mds-label-color:rgb(var(--label-red-02,252 234 234));--mds-label-icon-color:rgb(var(--label-red-02,252 234 234));--mds-label-selection-background:rgb(var(--label-red-06,236 110 110));--mds-label-selection-color:rgb(var(--label-red-10,115 15 15))}:host([variant=amaranth]){--mds-label-background:rgb(var(--label-amaranth-04,251 192 203));--mds-label-button-background:rgb(var(--label-amaranth-04,251 192 203));--mds-label-button-background-hover:rgb(var(--label-amaranth-05,250 163 178));--mds-label-button-icon-color:rgb(var(--label-amaranth-10,114 7 25));--mds-label-color:rgb(var(--label-amaranth-10,114 7 25));--mds-label-icon-color:rgb(var(--label-amaranth-10,114 7 25));--mds-label-selection-background:rgb(var(--label-amaranth-08,193 11 42));--mds-label-selection-color:rgb(var(--label-amaranth-02,254 233 237))}:host([variant=amaranth]):host([tone=weak]){--mds-label-background:rgb(var(--label-amaranth-08,193 11 42));--mds-label-button-background:rgb(var(--label-amaranth-09,135 8 30));--mds-label-button-background-hover:rgb(var(--label-amaranth-08,193 11 42));--mds-label-button-icon-color:rgb(var(--label-amaranth-04,251 192 203));--mds-label-color:rgb(var(--label-amaranth-02,254 233 237));--mds-label-icon-color:rgb(var(--label-amaranth-02,254 233 237));--mds-label-selection-background:rgb(var(--label-amaranth-06,246 99 125));--mds-label-selection-color:rgb(var(--label-amaranth-10,114 7 25))}:host([variant=aqua]){--mds-label-background:rgb(var(--label-aqua-04,81 225 250));--mds-label-button-background:rgb(var(--label-aqua-04,81 225 250));--mds-label-button-background-hover:rgb(var(--label-aqua-05,7 203 237));--mds-label-button-icon-color:rgb(var(--label-aqua-10,2 65 76));--mds-label-color:rgb(var(--label-aqua-10,2 65 76));--mds-label-icon-color:rgb(var(--label-aqua-10,2 65 76));--mds-label-selection-background:rgb(var(--label-aqua-08,4 110 129));--mds-label-selection-color:rgb(var(--label-aqua-02,203 246 254))}:host([variant=aqua]):host([tone=weak]){--mds-label-background:rgb(var(--label-aqua-08,4 110 129));--mds-label-button-background:rgb(var(--label-aqua-09,3 77 90));--mds-label-button-background-hover:rgb(var(--label-aqua-08,4 110 129));--mds-label-button-icon-color:rgb(var(--label-aqua-04,81 225 250));--mds-label-color:rgb(var(--label-aqua-02,203 246 254));--mds-label-icon-color:rgb(var(--label-aqua-02,203 246 254));--mds-label-selection-background:rgb(var(--label-aqua-06,5 163 190));--mds-label-selection-color:rgb(var(--label-aqua-10,2 65 76))}:host([variant=blue]){--mds-label-background:rgb(var(--label-blue-04,196 206 253));--mds-label-button-background:rgb(var(--label-blue-04,196 206 253));--mds-label-button-background-hover:rgb(var(--label-blue-05,170 184 252));--mds-label-button-icon-color:rgb(var(--label-blue-10,6 34 166));--mds-label-color:rgb(var(--label-blue-10,6 34 166));--mds-label-icon-color:rgb(var(--label-blue-10,6 34 166));--mds-label-selection-background:rgb(var(--label-blue-08,42 77 247));--mds-label-selection-color:rgb(var(--label-blue-02,234 238 254))}:host([variant=blue]):host([tone=weak]){--mds-label-background:rgb(var(--label-blue-08,42 77 247));--mds-label-button-background:rgb(var(--label-blue-09,7 40 196));--mds-label-button-background-hover:rgb(var(--label-blue-08,42 77 247));--mds-label-button-icon-color:rgb(var(--label-blue-04,196 206 253));--mds-label-color:rgb(var(--label-blue-02,234 238 254));--mds-label-icon-color:rgb(var(--label-blue-02,234 238 254));--mds-label-selection-background:rgb(var(--label-blue-06,121 143 250));--mds-label-selection-color:rgb(var(--label-blue-10,6 34 166))}:host([variant=green]){--mds-label-background:rgb(var(--label-green-04,113 230 156));--mds-label-button-background:rgb(var(--label-green-04,113 230 156));--mds-label-button-background-hover:rgb(var(--label-green-05,37 213 102));--mds-label-button-icon-color:rgb(var(--label-green-10,12 68 33));--mds-label-color:rgb(var(--label-green-10,12 68 33));--mds-label-icon-color:rgb(var(--label-green-10,12 68 33));--mds-label-selection-background:rgb(var(--label-green-08,20 116 56));--mds-label-selection-color:rgb(var(--label-green-02,211 247 224))}:host([variant=green]):host([tone=weak]){--mds-label-background:rgb(var(--label-green-08,20 116 56));--mds-label-button-background:rgb(var(--label-green-09,14 81 39));--mds-label-button-background-hover:rgb(var(--label-green-08,20 116 56));--mds-label-button-icon-color:rgb(var(--label-green-04,113 230 156));--mds-label-color:rgb(var(--label-green-02,211 247 224));--mds-label-icon-color:rgb(var(--label-green-02,211 247 224));--mds-label-selection-background:rgb(var(--label-green-06,30 171 82));--mds-label-selection-color:rgb(var(--label-green-10,12 68 33))}:host([variant=lime]){--mds-label-background:rgb(var(--label-lime-04,148 229 25));--mds-label-button-background:rgb(var(--label-lime-04,148 229 25));--mds-label-button-background-hover:rgb(var(--label-lime-05,134 207 22));--mds-label-button-icon-color:rgb(var(--label-lime-10,43 66 7));--mds-label-color:rgb(var(--label-lime-10,43 66 7));--mds-label-icon-color:rgb(var(--label-lime-10,43 66 7));--mds-label-selection-background:rgb(var(--label-lime-08,73 112 12));--mds-label-selection-color:rgb(var(--label-lime-02,223 247 185))}:host([variant=lime]):host([tone=weak]){--mds-label-background:rgb(var(--label-lime-08,73 112 12));--mds-label-button-background:rgb(var(--label-lime-09,51 79 8));--mds-label-button-background-hover:rgb(var(--label-lime-08,73 112 12));--mds-label-button-icon-color:rgb(var(--label-lime-04,148 229 25));--mds-label-color:rgb(var(--label-lime-02,223 247 185));--mds-label-icon-color:rgb(var(--label-lime-02,223 247 185));--mds-label-selection-background:rgb(var(--label-lime-06,108 167 18));--mds-label-selection-color:rgb(var(--label-lime-10,43 66 7))}:host([variant=orange]){--mds-label-background:rgb(var(--label-orange-04,252 196 158));--mds-label-button-background:rgb(var(--label-orange-04,252 196 158));--mds-label-button-background-hover:rgb(var(--label-orange-05,251 168 111));--mds-label-button-icon-color:rgb(var(--label-orange-10,99 42 3));--mds-label-color:rgb(var(--label-orange-10,99 42 3));--mds-label-icon-color:rgb(var(--label-orange-10,99 42 3));--mds-label-selection-background:rgb(var(--label-orange-08,167 71 4));--mds-label-selection-color:rgb(var(--label-orange-02,254 235 222))}:host([variant=orange]):host([tone=weak]){--mds-label-background:rgb(var(--label-orange-08,167 71 4));--mds-label-button-background:rgb(var(--label-orange-09,116 49 3));--mds-label-button-background-hover:rgb(var(--label-orange-08,167 71 4));--mds-label-button-icon-color:rgb(var(--label-orange-04,252 196 158));--mds-label-color:rgb(var(--label-orange-02,254 235 222));--mds-label-icon-color:rgb(var(--label-orange-02,254 235 222));--mds-label-selection-background:rgb(var(--label-orange-06,247 105 6));--mds-label-selection-color:rgb(var(--label-orange-10,99 42 3))}:host([variant=orchid]){--mds-label-background:rgb(var(--label-orchid-04,248 192 220));--mds-label-button-background:rgb(var(--label-orchid-04,248 192 220));--mds-label-button-background-hover:rgb(var(--label-orchid-05,245 163 203));--mds-label-button-icon-color:rgb(var(--label-orchid-10,111 12 61));--mds-label-color:rgb(var(--label-orchid-10,111 12 61));--mds-label-icon-color:rgb(var(--label-orchid-10,111 12 61));--mds-label-selection-background:rgb(var(--label-orchid-08,187 19 102));--mds-label-selection-color:rgb(var(--label-orchid-02,253 233 243))}:host([variant=orchid]):host([tone=weak]){--mds-label-background:rgb(var(--label-orchid-08,187 19 102));--mds-label-button-background:rgb(var(--label-orchid-09,131 14 71));--mds-label-button-background-hover:rgb(var(--label-orchid-08,187 19 102));--mds-label-button-icon-color:rgb(var(--label-orchid-04,248 192 220));--mds-label-color:rgb(var(--label-orchid-02,253 233 243));--mds-label-icon-color:rgb(var(--label-orchid-02,253 233 243));--mds-label-selection-background:rgb(var(--label-orchid-06,239 99 168));--mds-label-selection-color:rgb(var(--label-orchid-10,111 12 61))}:host([variant=sky]){--mds-label-background:rgb(var(--label-sky-04,148 217 249));--mds-label-button-background:rgb(var(--label-sky-04,148 217 249));--mds-label-button-background-hover:rgb(var(--label-sky-05,94 198 245));--mds-label-button-icon-color:rgb(var(--label-sky-10,5 63 90));--mds-label-color:rgb(var(--label-sky-10,5 63 90));--mds-label-icon-color:rgb(var(--label-sky-10,5 63 90));--mds-label-selection-background:rgb(var(--label-sky-08,9 107 152));--mds-label-selection-color:rgb(var(--label-sky-02,219 242 253))}:host([variant=sky]):host([tone=weak]){--mds-label-background:rgb(var(--label-sky-08,9 107 152));--mds-label-button-background:rgb(var(--label-sky-09,6 76 107));--mds-label-button-background-hover:rgb(var(--label-sky-08,9 107 152));--mds-label-button-icon-color:rgb(var(--label-sky-04,148 217 249));--mds-label-color:rgb(var(--label-sky-02,219 242 253));--mds-label-icon-color:rgb(var(--label-sky-02,219 242 253));--mds-label-selection-background:rgb(var(--label-sky-06,13 158 224));--mds-label-selection-color:rgb(var(--label-sky-10,5 63 90))}:host([variant=violet]){--mds-label-background:rgb(var(--label-violet-04,216 200 252));--mds-label-button-background:rgb(var(--label-violet-04,216 200 252));--mds-label-button-background-hover:rgb(var(--label-violet-05,198 175 251));--mds-label-button-icon-color:rgb(var(--label-violet-10,57 9 165));--mds-label-color:rgb(var(--label-violet-10,57 9 165));--mds-label-icon-color:rgb(var(--label-violet-10,57 9 165));--mds-label-selection-background:rgb(var(--label-violet-08,111 53 244));--mds-label-selection-color:rgb(var(--label-violet-02,241 235 254))}:host([variant=violet]):host([tone=weak]){--mds-label-background:rgb(var(--label-violet-08,111 53 244));--mds-label-button-background:rgb(var(--label-violet-09,67 11 195));--mds-label-button-background-hover:rgb(var(--label-violet-08,111 53 244));--mds-label-button-icon-color:rgb(var(--label-violet-04,216 200 252));--mds-label-color:rgb(var(--label-violet-02,241 235 254));--mds-label-icon-color:rgb(var(--label-violet-02,241 235 254));--mds-label-selection-background:rgb(var(--label-violet-06,166 129 248));--mds-label-selection-color:rgb(var(--label-violet-10,57 9 165))}:host([variant=purple]){--mds-label-background:rgb(var(--label-purple-04,225 196 252));--mds-label-button-background:rgb(var(--label-purple-04,225 196 252));--mds-label-button-background-hover:rgb(var(--label-purple-05,212 170 251));--mds-label-button-icon-color:rgb(var(--label-purple-10,78 7 146));--mds-label-color:rgb(var(--label-purple-10,78 7 146));--mds-label-icon-color:rgb(var(--label-purple-10,78 7 146));--mds-label-selection-background:rgb(var(--label-purple-08,133 17 244));--mds-label-selection-color:rgb(var(--label-purple-02,245 234 254))}:host([variant=purple]):host([tone=weak]){--mds-label-background:rgb(var(--label-purple-08,133 17 244));--mds-label-button-background:rgb(var(--label-purple-09,92 8 173));--mds-label-button-background-hover:rgb(var(--label-purple-08,133 17 244));--mds-label-button-icon-color:rgb(var(--label-purple-04,225 196 252));--mds-label-color:rgb(var(--label-purple-02,245 234 254));--mds-label-icon-color:rgb(var(--label-purple-02,245 234 254));--mds-label-selection-background:rgb(var(--label-purple-06,186 119 249));--mds-label-selection-color:rgb(var(--label-purple-10,78 7 146))}:host([variant=yellow]){--mds-label-background:rgb(var(--label-yellow-04,248 202 60));--mds-label-button-background:rgb(var(--label-yellow-04,248 202 60));--mds-label-button-background-hover:rgb(var(--label-yellow-05,234 179 8));--mds-label-button-icon-color:rgb(var(--label-yellow-10,75 57 3));--mds-label-color:rgb(var(--label-yellow-10,75 57 3));--mds-label-icon-color:rgb(var(--label-yellow-10,75 57 3));--mds-label-selection-background:rgb(var(--label-yellow-08,127 97 4));--mds-label-selection-color:rgb(var(--label-yellow-02,253 238 190))}:host([variant=yellow]):host([tone=weak]){--mds-label-background:rgb(var(--label-yellow-08,127 97 4));--mds-label-button-background:rgb(var(--label-yellow-09,89 68 3));--mds-label-button-background-hover:rgb(var(--label-yellow-08,127 97 4));--mds-label-button-icon-color:rgb(var(--label-yellow-04,248 202 60));--mds-label-color:rgb(var(--label-yellow-02,253 238 190));--mds-label-icon-color:rgb(var(--label-yellow-02,253 238 190));--mds-label-selection-background:rgb(var(--label-yellow-06,188 143 6));--mds-label-selection-color:rgb(var(--label-yellow-10,75 57 3))}:host([variant=error]){--mds-label-background:rgb(var(--status-error-04,254 193 189));--mds-label-button-background:rgb(var(--status-error-04,254 193 189));--mds-label-button-background-hover:rgb(var(--status-error-05,250 165 160));--mds-label-button-icon-color:rgb(var(--status-error-10,115 0 0));--mds-label-color:rgb(var(--status-error-10,115 0 0));--mds-label-icon-color:rgb(var(--status-error-10,115 0 0));--mds-label-selection-background:rgb(var(--status-error-08,182 50 54));--mds-label-selection-color:rgb(var(--status-error-02,255 234 231))}:host([variant=error]):host([tone=weak]){--mds-label-background:rgb(var(--status-error-08,182 50 54));--mds-label-button-background:rgb(var(--status-error-09,135 0 14));--mds-label-button-background-hover:rgb(var(--status-error-08,182 50 54));--mds-label-button-icon-color:rgb(var(--status-error-04,254 193 189));--mds-label-color:rgb(var(--status-error-02,255 234 231));--mds-label-icon-color:rgb(var(--status-error-02,255 234 231));--mds-label-selection-background:rgb(var(--status-error-06,239 108 105));--mds-label-selection-color:rgb(var(--status-error-10,115 0 0))}:host([variant=warning]){--mds-label-background:rgb(var(--status-warning-04,255 200 33));--mds-label-button-background:rgb(var(--status-warning-04,255 200 33));--mds-label-button-background-hover:rgb(var(--status-warning-05,237 177 0));--mds-label-button-icon-color:rgb(var(--status-warning-10,77 57 0));--mds-label-color:rgb(var(--status-warning-10,77 57 0));--mds-label-icon-color:rgb(var(--status-warning-10,77 57 0));--mds-label-selection-background:rgb(var(--status-warning-08,129 96 0));--mds-label-selection-color:rgb(var(--status-warning-02,255 237 185))}:host([variant=warning]):host([tone=weak]){--mds-label-background:rgb(var(--status-warning-08,129 96 0));--mds-label-button-background:rgb(var(--status-warning-09,90 67 0));--mds-label-button-background-hover:rgb(var(--status-warning-08,129 96 0));--mds-label-button-icon-color:rgb(var(--status-warning-04,255 200 33));--mds-label-color:rgb(var(--status-warning-02,255 237 185));--mds-label-icon-color:rgb(var(--status-warning-02,255 237 185));--mds-label-selection-background:rgb(var(--status-warning-06,190 142 0));--mds-label-selection-color:rgb(var(--status-warning-10,77 57 0))}:host([variant=success]){--mds-label-background:rgb(var(--status-success-04,158 222 181));--mds-label-button-background:rgb(var(--status-success-04,158 222 181));--mds-label-button-background-hover:rgb(var(--status-success-05,107 206 147));--mds-label-button-icon-color:rgb(var(--status-success-10,0 69 0));--mds-label-color:rgb(var(--status-success-10,0 69 0));--mds-label-icon-color:rgb(var(--status-success-10,0 69 0));--mds-label-selection-background:rgb(var(--status-success-08,0 116 46));--mds-label-selection-color:rgb(var(--status-success-02,222 244 228))}:host([variant=success]):host([tone=weak]){--mds-label-background:rgb(var(--status-success-08,0 116 46));--mds-label-button-background:rgb(var(--status-success-09,0 82 9));--mds-label-button-background-hover:rgb(var(--status-success-08,0 116 46));--mds-label-button-icon-color:rgb(var(--status-success-04,158 222 181));--mds-label-color:rgb(var(--status-success-02,222 244 228));--mds-label-icon-color:rgb(var(--status-success-02,222 244 228));--mds-label-selection-background:rgb(var(--status-success-06,0 171 97));--mds-label-selection-color:rgb(var(--status-success-10,0 69 0))}:host([variant=info]){--mds-label-background:rgb(var(--status-info-04,159 216 241));--mds-label-button-background:rgb(var(--status-info-04,159 216 241));--mds-label-button-background-hover:rgb(var(--status-info-05,112 198 234));--mds-label-button-icon-color:rgb(var(--status-info-10,0 61 103));--mds-label-color:rgb(var(--status-info-10,0 61 103));--mds-label-icon-color:rgb(var(--status-info-10,0 61 103));--mds-label-selection-background:rgb(var(--status-info-08,0 107 151));--mds-label-selection-color:rgb(var(--status-info-02,222 242 250))}:host([variant=info]):host([tone=weak]){--mds-label-background:rgb(var(--status-info-08,0 107 151));--mds-label-button-background:rgb(var(--status-info-09,0 73 116));--mds-label-button-background-hover:rgb(var(--status-info-08,0 107 151));--mds-label-button-icon-color:rgb(var(--status-info-04,159 216 241));--mds-label-color:rgb(var(--status-info-02,222 242 250));--mds-label-icon-color:rgb(var(--status-info-02,222 242 250));--mds-label-selection-background:rgb(var(--status-info-06,0 161 208));--mds-label-selection-color:rgb(var(--status-info-10,0 61 103))}: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-contrast-more){-webkit-box-shadow:var(--shadow-outline-50) inset;box-shadow:var(--shadow-outline-50) inset}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-color-scheme:dark){:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))){-webkit-box-shadow:var(--shadow-outline) inset;box-shadow:var(--shadow-outline) inset}}@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}}`;
|
|
22
22
|
|
|
23
23
|
const MdsLabel = class {
|
|
24
24
|
constructor(hostRef) {
|
|
@@ -67,6 +67,9 @@ const MdsLabel = class {
|
|
|
67
67
|
this.km.detachClickBehavior();
|
|
68
68
|
};
|
|
69
69
|
}
|
|
70
|
+
/**
|
|
71
|
+
* Updates the component's texts to the locale currently set on the host element.
|
|
72
|
+
*/
|
|
70
73
|
async updateLang() {
|
|
71
74
|
this.language = this.t.lang(this.host);
|
|
72
75
|
}
|
|
@@ -81,10 +84,10 @@ const MdsLabel = class {
|
|
|
81
84
|
this.km.detachClickBehavior();
|
|
82
85
|
}
|
|
83
86
|
render() {
|
|
84
|
-
return (h(Host, { key: '
|
|
87
|
+
return (h(Host, { key: '479ecf8ecb56445fe7ce90aaffb48a5287d7d2d8' }, h("mds-text", { key: 'fba92e724fd68f1fd41fc5143865eb6f0563d1d7', class: "text", truncate: this.truncate, typography: this.typography }, this.label), this.deletable && (h("mds-button", { key: 'dd39ea8a9f20c24663e962d1d103ee646c802880', class: "button-close", icon: miBaselineCancel, onClick: this.onClickDelete, title: this.t.get('remove'), size: "sm" }))));
|
|
85
88
|
}
|
|
86
89
|
get host() { return getElement(this); }
|
|
87
90
|
};
|
|
88
|
-
MdsLabel.style = mdsLabelCss;
|
|
91
|
+
MdsLabel.style = mdsLabelCss();
|
|
89
92
|
|
|
90
93
|
export { MdsLabel as mds_label };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-CAd5312P.js';
|
|
2
2
|
|
|
3
3
|
var mggListDot = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
4
4
|
<path d="M12 17a5 5 0 1 0 0-10 5 5 0 0 0 0 10"/>
|
|
5
5
|
</svg>
|
|
6
6
|
`;
|
|
7
7
|
|
|
8
|
-
const mdsListItemCss =
|
|
8
|
+
const mdsListItemCss = () => `@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-list-item-icon-margin:0 calc(var(--spacing,.0025rem)*200) 0 0}}}@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-list-item-icon-margin:0 calc(var(--spacing,.0025rem)*200) 0 0;align-items:flex-start;color:rgb(var(--tone-neutral-03,233 233 233));display:flex;justify-content:flex-start;width:100%}.icon{fill:currentColor;height:calc(var(--spacing,.0025rem)*600);margin:var(--mds-list-item-icon-margin,0 calc(var(--spacing,.0025rem)*200) 0 0);width:calc(var(--spacing,.0025rem)*600)}:host([typography=paragraph]){--mds-list-item-icon-margin:.25rem calc(var(--spacing,.0025rem)*200) 0 0}:host([typography=caption]){--mds-list-item-icon-margin:-.125rem calc(var(--spacing,.0025rem)*200) 0 0}:host([typography=label]),:host([typography=tip]){--mds-list-item-icon-margin:-.25rem calc(var(--spacing,.0025rem)*200) 0 0}:host([typography=option]){--mds-list-item-icon-margin:-.5rem calc(var(--spacing,.0025rem)*200) 0 0}:host-context(:root.pref-contrast-more){color:rgb(var(--tone-neutral-01,255 255 255))}@media (prefers-contrast:more){:is(:host-context(:root.pref-contrast-system),:host-context(:root:not([data-magma-pref]))){color:rgb(var(--tone-neutral-01,255 255 255))}}`;
|
|
9
9
|
|
|
10
10
|
const MdsListItem = class {
|
|
11
11
|
constructor(hostRef) {
|
|
@@ -21,9 +21,9 @@ const MdsListItem = class {
|
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
23
|
var _a;
|
|
24
|
-
return (h(Host, { key: '
|
|
24
|
+
return (h(Host, { key: '07618503a5c3257ae34fdceb7273bcd8fa2ecb14', role: "listitem" }, h("mds-icon", { key: '9f22170dcdb6432905df8bbd6d448cb247a394fd', "aria-hidden": "true", class: "icon", name: (_a = this.icon) !== null && _a !== void 0 ? _a : mggListDot, part: "icon" }), h("mds-text", { key: 'c9984a427031b24c5f0f4af33b07a836b2d81289', tag: "span", typography: this.typography, variant: this.variant, part: "text" }, h("slot", { key: '3e16aba7cb14207c26a6b6b61ea895bc33cbc3de' }))));
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
|
-
MdsListItem.style = mdsListItemCss;
|
|
27
|
+
MdsListItem.style = mdsListItemCss();
|
|
28
28
|
|
|
29
29
|
export { MdsListItem as mds_list_item };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-CAd5312P.js';
|
|
2
2
|
|
|
3
|
-
const mdsListCss =
|
|
3
|
+
const mdsListCss = () => `@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-list-item:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*400);padding-left:calc(var(--spacing,.0025rem)*400)}ul{margin:calc(var(--spacing,.0025rem)*0);padding:calc(var(--spacing,.0025rem)*0)}`;
|
|
4
4
|
|
|
5
5
|
const MdsList = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: '61a4dc9195da0950bbf27a0403e37cfda7ba20ba', role: "list" }, h("slot", { key: 'f698fed656a47046f0b04bb9ce2f4f53a7c76033' })));
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
|
-
MdsList.style = mdsListCss;
|
|
13
|
+
MdsList.style = mdsListCss();
|
|
14
14
|
|
|
15
15
|
export { MdsList as mds_list };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-CAd5312P.js';
|
|
2
2
|
import { m as miBaselineCancel } from './cancel-BJ8rpzfj.js';
|
|
3
3
|
|
|
4
4
|
var miBaselineAlternateEmail = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8s8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57V12c0-2.76-2.24-5-5-5s-5 2.24-5 5s2.24 5 5 5c1.38 0 2.64-.56 3.54-1.47c.65.89 1.77 1.47 2.96 1.47c1.97 0 3.5-1.6 3.5-3.57V12c0-5.52-4.48-10-10-10zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3s3 1.34 3 3s-1.34 3-3 3z"/></svg>`;
|
|
5
5
|
|
|
6
|
-
const mdsMentionCss =
|
|
6
|
+
const mdsMentionCss = () => `@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,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-mention-icon-size:calc(var(--spacing,.0025rem)*600)}}}@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-mention-icon-size:calc(var(--spacing,.0025rem)*600);align-items:center;background-color:rgb(var(--tone-neutral-09,76 76 76));border-radius:100px;color:rgb(var(--tone-neutral-03,233 233 233));cursor:pointer;display:inline-flex;fill:currentColor;padding:calc(var(--spacing,.0025rem)*25);padding-right:calc(var(--spacing,.0025rem)*200);vertical-align:middle}mds-icon{height:var(--mds-mention-icon-size,calc(var(--spacing,.0025rem)*600));width:var(--mds-mention-icon-size,calc(var(--spacing,.0025rem)*600))}:host([size=sm]){--mds-mention-icon-size:calc(var(--spacing,.0025rem)*400)}:host([size=sm]) .badge{padding-left:calc(var(--spacing,.0025rem)*50);padding-right:calc(var(--spacing,.0025rem)*150)}:host([size=md]){--mds-mention-icon-size:calc(var(--spacing,.0025rem)*600)}:host([size=md]) .badge{padding-right:calc(var(--spacing,.0025rem)*200)}.action-remove{corner-shape:round;border-radius:100px;min-height:0;min-width:0;padding:0}`;
|
|
7
7
|
|
|
8
8
|
const MdsMention = class {
|
|
9
9
|
constructor(hostRef) {
|
|
@@ -20,9 +20,9 @@ const MdsMention = class {
|
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
22
|
var _a;
|
|
23
|
-
return (h(Host, { key: '
|
|
23
|
+
return (h(Host, { key: '47999ac9e8ee8efc5ca6a680a83681dd4f2d4010' }, h("mds-icon", { key: 'c8a9fceeef02c8501f9d65c90b4be304dad57318', name: this.icon !== undefined && this.icon !== '' ? this.icon : miBaselineAlternateEmail }), h("mds-text", { key: '1cb65d52dc8ebd0582197a7dd9a7259c9dfdf41a', typography: this.sizeTypography[(_a = this.size) !== null && _a !== void 0 ? _a : 'md'] }, this.size === 'lg' ? this.label : h("b", null, this.label)), h("mds-button", { key: '35c8ec7025eb109f514a3d6d99a4716a86968081', class: "action-remove", title: "Remove", variant: "dark", tone: "text", size: "sm", icon: miBaselineCancel })));
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
|
-
MdsMention.style = mdsMentionCss;
|
|
26
|
+
MdsMention.style = mdsMentionCss();
|
|
27
27
|
|
|
28
28
|
export { MdsMention as mds_mention };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-CAd5312P.js';
|
|
2
2
|
import { c as clsx } from './clsx-ChV9xqsO.js';
|
|
3
3
|
import { c as cssDurationToMilliseconds } from './unit-D8eZRaSQ.js';
|
|
4
4
|
import { m as miBaselineClose } from './close-J-ikDhyq.js';
|
|
5
5
|
|
|
6
|
-
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))}}";
|
|
6
|
+
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))}}`;
|
|
7
7
|
|
|
8
8
|
const MdsModal = class {
|
|
9
9
|
constructor(hostRef) {
|
|
@@ -68,16 +68,16 @@ const MdsModal = class {
|
|
|
68
68
|
clearTimeout(this.animationDelayTimeout);
|
|
69
69
|
};
|
|
70
70
|
this.disableOverflow = () => {
|
|
71
|
-
if (document) {
|
|
72
|
-
if (document.body.style.overflow) {
|
|
71
|
+
if (typeof document !== 'undefined') {
|
|
72
|
+
if (document.body.style.overflow !== '') {
|
|
73
73
|
this.bodyOverflow = document.body.style.overflow;
|
|
74
74
|
}
|
|
75
75
|
document.body.style.overflow = 'hidden';
|
|
76
76
|
}
|
|
77
77
|
};
|
|
78
78
|
this.enableOverflow = () => {
|
|
79
|
-
if (document) {
|
|
80
|
-
if (this.bodyOverflow) {
|
|
79
|
+
if (typeof document !== 'undefined') {
|
|
80
|
+
if (this.bodyOverflow !== '') {
|
|
81
81
|
document.body.style.overflow = this.bodyOverflow;
|
|
82
82
|
}
|
|
83
83
|
else {
|
|
@@ -154,20 +154,20 @@ const MdsModal = class {
|
|
|
154
154
|
this.windowElement = (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.window');
|
|
155
155
|
this.windowHeaderElement = (_b = this.host.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('.window-header');
|
|
156
156
|
this.windowFooterElement = (_c = this.host.shadowRoot) === null || _c === void 0 ? void 0 : _c.querySelector('.window-footer');
|
|
157
|
-
if (this.windowHeaderElement) {
|
|
157
|
+
if (this.windowHeaderElement != null) {
|
|
158
158
|
this.windowHeaderHeight = this.windowHeaderElement.offsetHeight;
|
|
159
159
|
}
|
|
160
|
-
if (this.windowFooterElement) {
|
|
160
|
+
if (this.windowFooterElement != null) {
|
|
161
161
|
this.windowFooterHeight = this.windowFooterElement.offsetHeight;
|
|
162
162
|
}
|
|
163
|
-
if (this.windowElement) {
|
|
163
|
+
if (this.windowElement != null) {
|
|
164
164
|
this.addMobileEvents();
|
|
165
165
|
}
|
|
166
166
|
this.updateCSSCustomProps();
|
|
167
167
|
}
|
|
168
168
|
disconnectedCallback() {
|
|
169
169
|
this.enableOverflow();
|
|
170
|
-
if (this.windowElement) {
|
|
170
|
+
if (this.windowElement != null) {
|
|
171
171
|
this.windowElement.removeEventListener('touchstart', this.setTouchStart);
|
|
172
172
|
this.windowElement.removeEventListener('touchend', this.setTouchEnd);
|
|
173
173
|
}
|
|
@@ -193,25 +193,32 @@ const MdsModal = class {
|
|
|
193
193
|
this.backdrop = undefined;
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
|
+
/**
|
|
197
|
+
* Closes the modal.
|
|
198
|
+
*/
|
|
196
199
|
async close() {
|
|
197
200
|
this.opened = undefined;
|
|
198
201
|
}
|
|
199
202
|
render() {
|
|
200
|
-
return (h(Host, { key: '
|
|
203
|
+
return (h(Host, { key: '9f4be0a30b1d3cae73348bf48a30dc180f0ac82f', "aria-modal": clsx(this.opened ? 'true' : 'false'), onMouseDown: (e) => {
|
|
201
204
|
this.closeModal(e);
|
|
202
205
|
} }, 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: {
|
|
203
206
|
paddingTop: `${this.windowHeaderHeight}px`,
|
|
204
207
|
paddingBottom: `${this.windowFooterHeight}px`,
|
|
205
|
-
} }, h("slot", null))), h("div", { class: clsx('window-footer', this.bottom ? '' : 'window-content--empty') }, h("slot", { name: "bottom" })))), !this.window && (h("mds-button", { key: '
|
|
208
|
+
} }, h("slot", null))), h("div", { class: clsx('window-footer', this.bottom ? '' : 'window-content--empty') }, h("slot", { name: "bottom" })))), !this.window && (h("mds-button", { key: '37ff9d4c6556052e4c53c69d3b14d4f4f57eba5c', class: "action-close", icon: miBaselineClose, variant: "light", tone: "text", size: "xl", onClick: (e) => {
|
|
206
209
|
this.closeModal(e, true);
|
|
207
210
|
}, part: "action-close" }))));
|
|
208
211
|
}
|
|
209
212
|
get host() { return getElement(this); }
|
|
210
213
|
static get watchers() { return {
|
|
211
|
-
"opened": [
|
|
212
|
-
|
|
214
|
+
"opened": [{
|
|
215
|
+
"handleOpenProp": 0
|
|
216
|
+
}],
|
|
217
|
+
"backdrop": [{
|
|
218
|
+
"handleBackdropProp": 0
|
|
219
|
+
}]
|
|
213
220
|
}; }
|
|
214
221
|
};
|
|
215
|
-
MdsModal.style = mdsModalCss;
|
|
222
|
+
MdsModal.style = mdsModalCss();
|
|
216
223
|
|
|
217
224
|
export { MdsModal as mds_modal };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-CAd5312P.js';
|
|
2
2
|
import { m as miBaselineClose } from './close-J-ikDhyq.js';
|
|
3
3
|
import { K as KeyboardManager } from './keyboard-manager-BudfaWhu.js';
|
|
4
4
|
import { L as Locale } from './locale-a4oAcjYG.js';
|
|
@@ -23,7 +23,7 @@ var localeIt = {
|
|
|
23
23
|
deleteLabel: deleteLabel
|
|
24
24
|
};
|
|
25
25
|
|
|
26
|
-
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)}}";
|
|
26
|
+
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: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)}}`;
|
|
27
27
|
|
|
28
28
|
const MdsNote = class {
|
|
29
29
|
constructor(hostRef) {
|
|
@@ -48,6 +48,9 @@ const MdsNote = class {
|
|
|
48
48
|
this.deleteEvent.emit();
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
|
+
/**
|
|
52
|
+
* Updates the component's texts to the locale currently set on the host element.
|
|
53
|
+
*/
|
|
51
54
|
async updateLang() {
|
|
52
55
|
this.language = this.t.lang(this.host);
|
|
53
56
|
}
|
|
@@ -70,10 +73,10 @@ const MdsNote = class {
|
|
|
70
73
|
this.km.detachClickBehavior();
|
|
71
74
|
}
|
|
72
75
|
render() {
|
|
73
|
-
return (h(Host, { key: '
|
|
76
|
+
return (h(Host, { key: '50df66ebc4a5d691ec06b2afbe6aa3a8359e18a7', role: "note" }, this.deletable && (h("mds-button", { key: '06dd4061821acea5f5b060f216693e9f42f10990', title: this.t.get('deleteLabel'), icon: miBaselineClose, class: "button-close", variant: "dark", tone: "text", onClick: this.onClickClose })), h("slot", { key: '1d070ff5a29efac7dd04928fc4e6a6a172f4a649', name: "title" }), h("slot", { key: 'e90c46a1dc161ca4b1c42628d0d3e6fa5a2080bb' }), h("div", { key: '9019e08441d708477ef9d9099e283479ae49e4ae', "aria-hidden": "true", class: "fold" })));
|
|
74
77
|
}
|
|
75
78
|
get host() { return getElement(this); }
|
|
76
79
|
};
|
|
77
|
-
MdsNote.style = mdsNoteCss;
|
|
80
|
+
MdsNote.style = mdsNoteCss();
|
|
78
81
|
|
|
79
82
|
export { MdsNote as mds_note };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-CAd5312P.js';
|
|
2
2
|
import { o as offset, s as shift, c as computePosition, d as autoUpdate } from './floating-ui.dom-8RYXTPXs.js';
|
|
3
3
|
|
|
4
|
-
const mdsNotificationCss =
|
|
4
|
+
const mdsNotificationCss = () => `@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-notification-color:rgb(var(--tone-neutral,0 0 0));--mds-notification-dot-background:rgb(var(--status-error-05,250 165 160));--mds-notification-dot-padding:6px;--mds-notification-min-width:var(--mds-notification-size,20px);--mds-notification-ring-color:rgb(var(--tone-neutral,0 0 0));--mds-notification-ring-size:2px;--mds-notification-size:20px;--mds-notification-transition-duration:.2s;--mds-notification-translate-offset-x:-1.75;--mds-notification-translate-offset-y:-2;--mds-notification-translate:translate(calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-x,-1.75)),calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-y,-2)));--tw-duration:initial;--tw-ease:initial}}}@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --mds-notification-dot-padding{syntax:"<length>";inherits:false;initial-value:6px}@property --mds-notification-ring-size{syntax:"<length>";inherits:false;initial-value:2px}@property --mds-notification-size{syntax:"<length>";inherits:false;initial-value:20px}@property --mds-notification-transition-duration{syntax:"<time>";inherits:false;initial-value:.2s}@property --mds-notification-translate-offset-x{syntax:"<number>";inherits:false;initial-value:-1.75}@property --mds-notification-translate-offset-y{syntax:"<number>";inherits:false;initial-value:-2}:host{--mds-notification-color:rgb(var(--tone-neutral,0 0 0));--mds-notification-dot-background:rgb(var(--status-error-05,250 165 160));--mds-notification-dot-padding:6px;--mds-notification-min-width:var(--mds-notification-size,20px);--mds-notification-ring-color:rgb(var(--tone-neutral,0 0 0));--mds-notification-ring-size:2px;--mds-notification-size:20px;--mds-notification-transition-duration:.2s;--mds-notification-transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));--mds-notification-translate-offset-x:-1.75;--mds-notification-translate-offset-y:-2;--mds-notification-translate:translate(calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-x,-1.75)),calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-y,-2)));align-items:center;border-radius:var(--radius-full,1000px);bottom:100%;color:var(--mds-notification-color,rgb(var(--tone-neutral,0 0 0)));display:inline-flex;height:var(--mds-notification-size,20px);justify-content:flex-end;min-width:max-content;pointer-events:none;width:var(--mds-notification-size,20px);z-index:10}:host([strategy=absolute]),:host([strategy=fixed]){opacity:0;right:100%;-webkit-transform:var(--mds-notification-translate,translate(calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-x,-1.75)),calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-y,-2)))) scale(0);transform:var(--mds-notification-translate,translate(calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-x,-1.75)),calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-y,-2)))) scale(0);-webkit-transform-origin:calc(100% - var(--mds-notification-size,20px)/2) 50%;transform-origin:calc(100% - var(--mds-notification-size,20px)/2) 50%;-webkit-transition-duration:var(--mds-notification-transition-duration,.2s);transition-duration:var(--mds-notification-transition-duration,.2s);transition-property:color,height,opacity,transform,width;-webkit-transition-timing-function:var(--mds-notification-transition-timing-function);transition-timing-function:var(--mds-notification-transition-timing-function)}:host([strategy=absolute]){position:absolute}:host([strategy=fixed]){position:fixed}.dot{border-radius:var(--radius-full,1000px);--tw-duration:.3s;--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));align-items:center;background-color:var(--mds-notification-dot-background,rgb(var(--status-error-05,250 165 160)));-webkit-box-shadow:0 0 0 var(--mds-notification-ring-size,2px) var(--mds-notification-ring-color,rgb(var(--tone-neutral,0 0 0)));box-shadow:0 0 0 var(--mds-notification-ring-size,2px) var(--mds-notification-ring-color,rgb(var(--tone-neutral,0 0 0)));box-sizing:border-box;display:inline-flex;justify-content:center;line-height:var(--mds-notification-size,20px);min-width:var(--mds-notification-min-width,var(--mds-notification-size,20px));padding-left:var(--mds-notification-dot-padding,6px);padding-right:var(--mds-notification-dot-padding,6px);position:static;transition-duration:.3s;transition-property:background-color,color,box-shadow;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));white-space:nowrap}:host([strategy=absolute]) .dot,:host([strategy=fixed]) .dot{position:absolute}.spacer{box-sizing:border-box;display:inline-flex;height:var(--mds-notification-size,20px);width:var(--mds-notification-min-width,var(--mds-notification-size,20px))}:host([visible=false][strategy=absolute]),:host([visible=false][strategy=fixed]){opacity:1;--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));-webkit-transform:var(--mds-notification-translate,translate(calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-x,-1.75)),calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-y,-2)))) scale(0);transform:var(--mds-notification-translate,translate(calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-x,-1.75)),calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-y,-2)))) scale(0);transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19))}:host([strategy=absolute]:not([visible=false])),:host([strategy=fixed]:not([visible=false])),:host([visible=true][strategy=absolute]),:host([visible=true][strategy=fixed]){opacity:1;--tw-ease:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));-webkit-transform:var(--mds-notification-translate,translate(calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-x,-1.75)),calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-y,-2)))) scale(1);transform:var(--mds-notification-translate,translate(calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-x,-1.75)),calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-y,-2)))) scale(1);transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1))}:host(:not([target])),:host([strategy=disabled]){opacity:1;position:static;transform:scale(1);-webkit-transform-origin:unset;transform-origin:unset;transition-duration:0s}:host(:not([target])) .dot,:host([strategy=disabled]) .dot{position:static}:host-context(.pref-animation-reduce){transition-duration:0s}:host-context(.pref-animation-reduce) .dot{transition-duration:0s}@property --tw-duration{syntax:"*";inherits:false}@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]))) .dot{transition-duration:0s}}`;
|
|
5
5
|
|
|
6
6
|
const MdsNotification = class {
|
|
7
7
|
constructor(hostRef) {
|
|
@@ -36,7 +36,7 @@ const MdsNotification = class {
|
|
|
36
36
|
});
|
|
37
37
|
};
|
|
38
38
|
this.clean = (value) => {
|
|
39
|
-
if (this.max) {
|
|
39
|
+
if (this.max !== undefined && this.max !== 0 && !Number.isNaN(this.max)) {
|
|
40
40
|
if (value > this.max) {
|
|
41
41
|
return `+${Number(this.max).toLocaleString()}`;
|
|
42
42
|
}
|
|
@@ -45,12 +45,12 @@ const MdsNotification = class {
|
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
47
|
componentDidRender() {
|
|
48
|
-
if (
|
|
48
|
+
if (this.target === '') {
|
|
49
49
|
this.strategy = 'disabled';
|
|
50
50
|
return;
|
|
51
51
|
}
|
|
52
52
|
const c = document.querySelector(this.target);
|
|
53
|
-
if (
|
|
53
|
+
if (c == null)
|
|
54
54
|
throw new Error('No valid target found');
|
|
55
55
|
this.caller = c;
|
|
56
56
|
}
|
|
@@ -58,7 +58,7 @@ const MdsNotification = class {
|
|
|
58
58
|
if (this.strategy === 'disabled') {
|
|
59
59
|
return;
|
|
60
60
|
}
|
|
61
|
-
if (this.target &&
|
|
61
|
+
if (this.target !== '' && this.cleanupAutoUpdate == null) {
|
|
62
62
|
setTimeout(() => {
|
|
63
63
|
this.cleanupAutoUpdate = autoUpdate(this.caller, this.host, this.updatePosition);
|
|
64
64
|
}, 100);
|
|
@@ -74,13 +74,15 @@ const MdsNotification = class {
|
|
|
74
74
|
}
|
|
75
75
|
render() {
|
|
76
76
|
var _a;
|
|
77
|
-
return (h(Host, { key: '
|
|
77
|
+
return (h(Host, { key: 'e4caa7112453beaebfde8d5144636410bed9121c', "aria-labelledby": this.target, "aria-label": (_a = this.value) !== null && _a !== void 0 ? _a : '0' }, h("mds-text", { key: '66204d238173dd8cf2db564907f8977728abf6c4', typography: "caption", class: "dot", "aria-hidden": "true" }, this.value !== 0 && !Number.isNaN(this.value) ? this.clean(this.value) : '')));
|
|
78
78
|
}
|
|
79
79
|
get host() { return getElement(this); }
|
|
80
80
|
static get watchers() { return {
|
|
81
|
-
"strategy": [
|
|
81
|
+
"strategy": [{
|
|
82
|
+
"strategyHandler": 0
|
|
83
|
+
}]
|
|
82
84
|
}; }
|
|
83
85
|
};
|
|
84
|
-
MdsNotification.style = mdsNotificationCss;
|
|
86
|
+
MdsNotification.style = mdsNotificationCss();
|
|
85
87
|
|
|
86
88
|
export { MdsNotification as mds_notification };
|