@maggioli-design-system/magma 1.0.0-beta → 1.0.1
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 +44 -226
- package/dist/cjs/{_commonjsHelpers-0192c5b3.js → _commonjsHelpers-e6ff1d6e.js} +0 -5
- package/dist/cjs/{aria-8237fdab.js → aria-0b8ae8a3.js} +18 -2
- package/dist/cjs/file-extensions-cd2fa955.js +126 -0
- package/dist/cjs/{floating-ui.dom.esm-58e05c82.js → floating-ui.dom.esm-4d912aff.js} +484 -40
- package/dist/cjs/{index-9808fc83.js → index-eccfa195.js} +24 -297
- package/dist/cjs/{keyboard-manager-fa9d665b.js → keyboard-manager-952eef32.js} +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/locale-9add6645.js +845 -0
- package/dist/cjs/locale.it-e5e117c5.js +466 -0
- package/dist/cjs/magma-components.cjs.js +3 -3
- package/dist/cjs/mds-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +17 -13
- package/dist/cjs/mds-accordion.cjs.entry.js +1 -1
- package/dist/cjs/mds-author.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar.cjs.entry.js +3 -3
- package/dist/cjs/mds-badge.cjs.entry.js +2 -2
- package/dist/cjs/mds-banner.cjs.entry.js +24 -8
- package/dist/cjs/mds-benchmark-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-bibliography.cjs.entry.js +1 -1
- package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-breadcrumb.cjs.entry.js +39 -4
- package/dist/cjs/mds-button_3.cjs.entry.js +53 -20
- package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
- package/dist/cjs/mds-card.cjs.entry.js +1 -1
- package/dist/cjs/mds-chip.cjs.entry.js +83 -28
- package/dist/cjs/mds-details.cjs.entry.js +3 -3
- package/dist/cjs/{mds-dropdown_2.cjs.entry.js → mds-dropdown.cjs.entry.js} +12 -890
- package/dist/cjs/mds-entity.cjs.entry.js +5 -5
- package/dist/cjs/mds-file-preview.cjs.entry.js +44 -11
- package/dist/cjs/mds-file.cjs.entry.js +44 -13
- package/dist/cjs/mds-filter-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-filter.cjs.entry.js +2 -2
- package/dist/cjs/mds-header-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-header.cjs.entry.js +5 -3
- package/dist/cjs/mds-help.cjs.entry.js +4 -4
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +1 -1
- package/dist/cjs/mds-hr.cjs.entry.js +1 -1
- package/dist/cjs/mds-img.cjs.entry.js +23 -7
- package/dist/cjs/mds-input-field.cjs.entry.js +3 -3
- package/dist/cjs/mds-input-range.cjs.entry.js +6 -5
- package/dist/cjs/mds-input-select.cjs.entry.js +8 -8
- package/dist/cjs/mds-input-switch.cjs.entry.js +9 -8
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +36 -12
- package/dist/cjs/mds-input-upload.cjs.entry.js +159 -31
- package/dist/cjs/mds-input.cjs.entry.js +44 -16
- package/dist/cjs/mds-kpi-item.cjs.entry.js +6 -4
- package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
- package/dist/cjs/mds-label.cjs.entry.js +33 -5
- package/dist/cjs/mds-list-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-list.cjs.entry.js +2 -2
- package/dist/cjs/mds-modal.cjs.entry.js +6 -4
- package/dist/cjs/mds-note.cjs.entry.js +38 -3
- package/dist/cjs/mds-notification.cjs.entry.js +4 -3
- package/dist/cjs/mds-paginator-item.cjs.entry.js +5 -5
- package/dist/cjs/mds-paginator.cjs.entry.js +3 -3
- package/dist/cjs/mds-pref-animation.cjs.entry.js +9 -7
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +9 -7
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +9 -7
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +11 -4
- package/dist/cjs/mds-pref-language.cjs.entry.js +855 -12
- package/dist/cjs/mds-pref-theme.cjs.entry.js +14 -8
- package/dist/cjs/mds-pref.cjs.entry.js +8 -4
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-features.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-header.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-list.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table.cjs.entry.js +1 -1
- package/dist/cjs/mds-progress.cjs.entry.js +10 -4
- package/dist/cjs/mds-push-notification.cjs.entry.js +87 -19
- package/dist/cjs/mds-push-notifications.cjs.entry.js +1 -1
- package/dist/cjs/mds-quote.cjs.entry.js +3 -2
- package/dist/cjs/mds-separator.cjs.entry.js +2 -2
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-tab-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-tab_2.cjs.entry.js +2 -2
- package/dist/cjs/mds-table-body.cjs.entry.js +1 -1
- package/dist/cjs/mds-table-cell.cjs.entry.js +2 -2
- package/dist/cjs/mds-table-footer.cjs.entry.js +1 -1
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +8 -8
- package/dist/cjs/mds-table-header.cjs.entry.js +1 -1
- package/dist/cjs/mds-table-row.cjs.entry.js +16 -3
- package/dist/cjs/mds-table.cjs.entry.js +18 -3
- package/dist/cjs/mds-text.cjs.entry.js +4 -2
- package/dist/cjs/mds-toast.cjs.entry.js +8 -4
- package/dist/cjs/mds-tooltip.cjs.entry.js +10 -11
- package/dist/cjs/mds-url-view.cjs.entry.js +55 -4
- package/dist/cjs/mds-usage.cjs.entry.js +3 -13
- package/dist/cjs/mds-video-wall.cjs.entry.js +5 -5
- package/dist/cjs/mds-zero.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +2 -3
- package/dist/collection/common/aria.js +17 -1
- package/dist/collection/common/device.js +6 -0
- package/dist/collection/common/keyboard-manager.js +2 -2
- package/dist/collection/common/locale.js +17 -5
- package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +16 -12
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +1 -1
- package/dist/collection/components/mds-avatar/mds-avatar.css +6 -6
- package/dist/collection/components/mds-badge/mds-badge.css +70 -72
- package/dist/collection/components/mds-banner/mds-banner.css +5 -5
- package/dist/collection/components/mds-banner/mds-banner.js +36 -2
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +46 -2
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +3 -0
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +1 -1
- package/dist/collection/components/mds-button/mds-button.css +147 -133
- package/dist/collection/components/mds-button/mds-button.js +4 -2
- package/dist/collection/components/mds-chip/mds-chip.css +231 -33
- package/dist/collection/components/mds-chip/mds-chip.js +167 -48
- package/dist/collection/components/mds-chip/test/mds-chip.stories.js +27 -8
- package/dist/collection/components/mds-details/mds-details.css +4 -3
- package/dist/collection/components/mds-dropdown/mds-dropdown.js +9 -7
- package/dist/collection/components/mds-entity/mds-entity.js +4 -4
- package/dist/collection/components/mds-entity/test/mds-entity.stories.js +3 -3
- package/dist/collection/components/mds-file/mds-file.js +45 -22
- package/dist/collection/components/mds-file-preview/mds-file-preview.css +126 -82
- package/dist/collection/components/mds-file-preview/mds-file-preview.js +49 -3
- package/dist/collection/components/mds-filter/mds-filter.js +1 -1
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +1 -1
- package/dist/collection/components/mds-header/mds-header.js +4 -2
- package/dist/collection/components/mds-help/mds-help.css +4 -9
- package/dist/collection/components/mds-help/mds-help.js +2 -1
- package/dist/collection/components/mds-icon/mds-icon.js +2 -4
- package/dist/collection/components/mds-icon/services/icons-set.service.js +42 -9
- package/dist/collection/components/mds-icon/test/mds-icon.stories.js +15 -0
- package/dist/collection/components/mds-img/mds-img.css +3 -3
- package/dist/collection/components/mds-img/mds-img.js +32 -2
- package/dist/collection/components/mds-input/mds-input.css +4 -4
- package/dist/collection/components/mds-input/mds-input.js +40 -15
- package/dist/collection/components/mds-input/test/mds-input.stories.js +16 -7
- package/dist/collection/components/mds-input-field/mds-input-field.js +9 -9
- package/dist/collection/components/mds-input-range/mds-input-range.css +6 -6
- package/dist/collection/components/mds-input-range/mds-input-range.js +4 -3
- package/dist/collection/components/mds-input-range/test/mds-input-range.stories.js +4 -4
- package/dist/collection/components/mds-input-select/mds-input-select.css +12 -12
- package/dist/collection/components/mds-input-select/mds-input-select.js +11 -11
- package/dist/collection/components/mds-input-switch/mds-input-switch.css +2 -2
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +6 -5
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +41 -7
- package/dist/collection/components/mds-input-upload/mds-input-upload.css +1 -1
- package/dist/collection/components/mds-input-upload/mds-input-upload.js +41 -7
- package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.css +4 -4
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +5 -3
- package/dist/collection/components/mds-label/mds-label.css +2 -9
- package/dist/collection/components/mds-label/mds-label.js +44 -2
- package/dist/collection/components/mds-list/mds-list.js +1 -1
- package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
- package/dist/collection/components/mds-modal/mds-modal.js +5 -3
- package/dist/collection/components/mds-modal/test/mds-modal.stories.js +8 -4
- package/dist/collection/components/mds-note/mds-note.js +45 -1
- package/dist/collection/components/mds-notification/mds-notification.js +2 -1
- package/dist/collection/components/mds-paginator/mds-paginator.js +2 -2
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +3 -3
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +2 -2
- package/dist/collection/components/mds-pref/mds-pref.js +28 -2
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +32 -4
- package/dist/collection/components/mds-pref-animation/meta/dictionary.js +2 -2
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +32 -4
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +32 -4
- package/dist/collection/components/mds-pref-language/mds-pref-language.css +20 -2
- package/dist/collection/components/mds-pref-language/mds-pref-language.js +47 -19
- package/dist/collection/components/mds-pref-language/meta/dictionary.js +2 -0
- package/dist/collection/components/mds-pref-language/test/mds-pref-language.stories.js +1 -1
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +38 -11
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +37 -5
- package/dist/collection/components/mds-price-table/test/mds-price-table.stories.js +1 -1
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +2 -0
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +4 -4
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +2 -2
- package/dist/collection/components/mds-progress/mds-progress.css +16 -16
- package/dist/collection/components/mds-progress/mds-progress.js +8 -2
- package/dist/collection/components/mds-progress/test/mds-progress.stories.js +1 -1
- package/dist/collection/components/mds-push-notification/mds-push-notification.css +6 -6
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +36 -2
- package/dist/collection/components/mds-quote/mds-quote.js +26 -1
- package/dist/collection/components/mds-quote/test/mds-quote.stories.js +11 -0
- package/dist/collection/components/mds-spinner/mds-spinner.css +3 -3
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +1 -1
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
- package/dist/collection/components/mds-tab/mds-tab.css +1 -1
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +8 -8
- package/dist/collection/components/mds-table/mds-table.css +3 -3
- package/dist/collection/components/mds-table/mds-table.js +16 -1
- package/dist/collection/components/mds-table/test/mds-table.stories.js +5 -0
- package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.css +2 -6
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +7 -7
- package/dist/collection/components/mds-table-row/mds-table-row.css +59 -0
- package/dist/collection/components/mds-table-row/mds-table-row.js +26 -1
- package/dist/collection/components/mds-text/mds-text.js +6 -4
- package/dist/collection/components/mds-text/test/mds-text.stories.js +1 -1
- package/dist/collection/components/mds-toast/mds-toast.js +7 -3
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +8 -9
- package/dist/collection/components/mds-url-view/mds-url-view.js +45 -1
- package/dist/collection/components/mds-usage/mds-usage.css +14 -14
- package/dist/collection/components/mds-usage/mds-usage.js +1 -11
- package/dist/collection/components/mds-video-wall/mds-video-wall.css +19 -3
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +3 -3
- package/dist/collection/components/mds-zero/mds-zero.js +1 -1
- package/dist/collection/dictionary/file-extensions.js +114 -56
- package/dist/collection/dictionary/text.js +60 -1
- package/dist/collection/dictionary/variant.js +10 -1
- package/dist/components/aria.js +17 -2
- package/dist/components/floating-ui.dom.esm.js +484 -40
- package/dist/components/keyboard-manager.js +2 -2
- package/dist/components/locale.it.js +578 -0
- package/dist/components/locale.js +668 -4615
- package/dist/components/mds-accordion-timer-item.js +1 -1
- package/dist/components/mds-accordion-timer.js +16 -12
- package/dist/components/mds-avatar2.js +2 -2
- package/dist/components/mds-badge2.js +1 -1
- package/dist/components/mds-banner.js +23 -5
- package/dist/components/mds-breadcrumb-item.js +2 -2
- package/dist/components/mds-breadcrumb.js +39 -3
- package/dist/components/mds-button2.js +5 -3
- package/dist/components/mds-chip.js +91 -29
- package/dist/components/mds-details.js +1 -1
- package/dist/components/mds-dropdown2.js +9 -7
- package/dist/components/mds-entity.js +4 -4
- package/dist/components/mds-file-preview2.js +40 -6
- package/dist/components/mds-file.js +39 -8
- package/dist/components/mds-filter-item2.js +1 -1
- package/dist/components/mds-filter.js +1 -1
- package/dist/components/mds-header.js +4 -2
- package/dist/components/mds-help.js +5 -4
- package/dist/components/mds-icon2.js +44 -13
- package/dist/components/mds-img2.js +22 -4
- package/dist/components/mds-input-field.js +2 -2
- package/dist/components/mds-input-range.js +5 -4
- package/dist/components/mds-input-select.js +7 -7
- package/dist/components/mds-input-switch.js +7 -6
- package/dist/components/mds-input-tip-item2.js +36 -10
- package/dist/components/mds-input-upload.js +158 -28
- package/dist/components/mds-input2.js +42 -13
- package/dist/components/mds-kpi-item.js +5 -3
- package/dist/components/mds-kpi.js +1 -1
- package/dist/components/mds-label.js +33 -4
- package/dist/components/mds-list-item.js +1 -1
- package/dist/components/mds-list.js +1 -1
- package/dist/components/mds-modal2.js +5 -3
- package/dist/components/mds-note.js +38 -2
- package/dist/components/mds-notification.js +2 -1
- package/dist/components/mds-paginator-item2.js +3 -3
- package/dist/components/mds-paginator.js +2 -2
- package/dist/components/mds-pref-animation.js +9 -5
- package/dist/components/mds-pref-consumption.js +9 -5
- package/dist/components/mds-pref-contrast.js +9 -5
- package/dist/components/mds-pref-language-item.js +11 -2
- package/dist/components/mds-pref-language.js +863 -23
- package/dist/components/mds-pref-theme.js +14 -6
- package/dist/components/mds-pref.js +8 -2
- package/dist/components/mds-price-table-list.js +3 -3
- package/dist/components/mds-progress2.js +9 -3
- package/dist/components/mds-push-notification.js +89 -20
- package/dist/components/mds-quote.js +4 -2
- package/dist/components/mds-spinner2.js +1 -1
- package/dist/components/mds-stepper-bar-item.js +2 -2
- package/dist/components/mds-tab-bar-item.js +1 -1
- package/dist/components/mds-tab2.js +1 -1
- package/dist/components/mds-table-cell.js +1 -1
- package/dist/components/mds-table-header-cell.js +7 -7
- package/dist/components/mds-table-row.js +17 -3
- package/dist/components/mds-table.js +17 -2
- package/dist/components/mds-text2.js +3 -1
- package/dist/components/mds-toast.js +7 -3
- package/dist/components/mds-tooltip2.js +8 -9
- package/dist/components/mds-url-view.js +54 -2
- package/dist/components/mds-usage.js +2 -12
- package/dist/components/mds-video-wall.js +4 -4
- package/dist/components/mds-zero.js +1 -1
- package/dist/documentation.json +929 -484
- package/dist/{components/_commonjsHelpers.js → esm/_commonjsHelpers-bdec4bbd.js} +1 -5
- package/dist/esm/{aria-0e390d9c.js → aria-ed9d415d.js} +17 -2
- package/dist/esm/file-extensions-97006435.js +123 -0
- package/dist/esm/{floating-ui.dom.esm-f7b7f919.js → floating-ui.dom.esm-b6d2205c.js} +484 -40
- package/dist/esm/{index-f08bac5f.js → index-44fd80a1.js} +24 -297
- package/dist/esm/{keyboard-manager-f3d273fc.js → keyboard-manager-9f287ab7.js} +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/locale-149207d6.js +843 -0
- package/dist/esm/locale.it-94429e24.js +457 -0
- package/dist/esm/magma-components.js +4 -4
- package/dist/esm/mds-accordion-item.entry.js +1 -1
- package/dist/esm/mds-accordion-timer-item.entry.js +2 -2
- package/dist/esm/mds-accordion-timer.entry.js +17 -13
- package/dist/esm/mds-accordion.entry.js +1 -1
- package/dist/esm/mds-author.entry.js +1 -1
- package/dist/esm/mds-avatar.entry.js +3 -3
- package/dist/esm/mds-badge.entry.js +2 -2
- package/dist/esm/mds-banner.entry.js +24 -8
- package/dist/esm/mds-benchmark-bar.entry.js +1 -1
- package/dist/esm/mds-bibliography.entry.js +1 -1
- package/dist/esm/mds-breadcrumb-item.entry.js +4 -4
- package/dist/esm/mds-breadcrumb.entry.js +39 -4
- package/dist/esm/mds-button_3.entry.js +53 -20
- package/dist/esm/mds-card-content.entry.js +1 -1
- package/dist/esm/mds-card-footer.entry.js +1 -1
- package/dist/esm/mds-card-header.entry.js +1 -1
- package/dist/esm/mds-card-media.entry.js +1 -1
- package/dist/esm/mds-card.entry.js +1 -1
- package/dist/esm/mds-chip.entry.js +83 -28
- package/dist/esm/mds-details.entry.js +3 -3
- package/dist/esm/{mds-dropdown_2.entry.js → mds-dropdown.entry.js} +13 -890
- package/dist/esm/mds-entity.entry.js +5 -5
- package/dist/esm/mds-file-preview.entry.js +40 -7
- package/dist/esm/mds-file.entry.js +39 -8
- package/dist/esm/mds-filter-item.entry.js +3 -3
- package/dist/esm/mds-filter.entry.js +2 -2
- package/dist/esm/mds-header-bar.entry.js +1 -1
- package/dist/esm/mds-header.entry.js +5 -3
- package/dist/esm/mds-help.entry.js +4 -4
- package/dist/esm/mds-horizontal-scroll.entry.js +1 -1
- package/dist/esm/mds-hr.entry.js +1 -1
- package/dist/esm/mds-img.entry.js +23 -7
- package/dist/esm/mds-input-field.entry.js +3 -3
- package/dist/esm/mds-input-range.entry.js +6 -5
- package/dist/esm/mds-input-select.entry.js +8 -8
- package/dist/esm/mds-input-switch.entry.js +9 -8
- package/dist/esm/mds-input-tip_2.entry.js +36 -12
- package/dist/esm/mds-input-upload.entry.js +159 -31
- package/dist/esm/mds-input.entry.js +44 -16
- package/dist/esm/mds-kpi-item.entry.js +6 -4
- package/dist/esm/mds-kpi.entry.js +2 -2
- package/dist/esm/mds-label.entry.js +33 -5
- package/dist/esm/mds-list-item.entry.js +2 -2
- package/dist/esm/mds-list.entry.js +2 -2
- package/dist/esm/mds-modal.entry.js +6 -4
- package/dist/esm/mds-note.entry.js +38 -3
- package/dist/esm/mds-notification.entry.js +4 -3
- package/dist/esm/mds-paginator-item.entry.js +5 -5
- package/dist/esm/mds-paginator.entry.js +3 -3
- package/dist/esm/mds-pref-animation.entry.js +9 -7
- package/dist/esm/mds-pref-consumption.entry.js +9 -7
- package/dist/esm/mds-pref-contrast.entry.js +9 -7
- package/dist/esm/mds-pref-language-item.entry.js +11 -4
- package/dist/esm/mds-pref-language.entry.js +855 -12
- package/dist/esm/mds-pref-theme.entry.js +14 -8
- package/dist/esm/mds-pref.entry.js +8 -4
- package/dist/esm/mds-price-table-features-cell.entry.js +1 -1
- package/dist/esm/mds-price-table-features-row.entry.js +1 -1
- package/dist/esm/mds-price-table-features.entry.js +1 -1
- package/dist/esm/mds-price-table-header.entry.js +1 -1
- package/dist/esm/mds-price-table-list-item.entry.js +1 -1
- package/dist/esm/mds-price-table-list.entry.js +4 -4
- package/dist/esm/mds-price-table.entry.js +1 -1
- package/dist/esm/mds-progress.entry.js +10 -4
- package/dist/esm/mds-push-notification.entry.js +87 -19
- package/dist/esm/mds-push-notifications.entry.js +1 -1
- package/dist/esm/mds-quote.entry.js +3 -2
- package/dist/esm/mds-separator.entry.js +2 -2
- package/dist/esm/mds-stepper-bar-item.entry.js +3 -3
- package/dist/esm/mds-stepper-bar.entry.js +1 -1
- package/dist/esm/mds-tab-bar-item.entry.js +2 -2
- package/dist/esm/mds-tab-bar.entry.js +1 -1
- package/dist/esm/mds-tab_2.entry.js +2 -2
- package/dist/esm/mds-table-body.entry.js +1 -1
- package/dist/esm/mds-table-cell.entry.js +2 -2
- package/dist/esm/mds-table-footer.entry.js +1 -1
- package/dist/esm/mds-table-header-cell.entry.js +8 -8
- package/dist/esm/mds-table-header.entry.js +1 -1
- package/dist/esm/mds-table-row.entry.js +16 -3
- package/dist/esm/mds-table.entry.js +18 -3
- package/dist/esm/mds-text.entry.js +4 -2
- package/dist/esm/mds-toast.entry.js +8 -4
- package/dist/esm/mds-tooltip.entry.js +10 -11
- package/dist/esm/mds-url-view.entry.js +54 -3
- package/dist/esm/mds-usage.entry.js +3 -13
- package/dist/esm/mds-video-wall.entry.js +5 -5
- package/dist/esm/mds-zero.entry.js +2 -2
- package/dist/esm-es5/_commonjsHelpers-bdec4bbd.js +1 -0
- package/dist/esm-es5/aria-ed9d415d.js +1 -0
- package/dist/esm-es5/file-extensions-97006435.js +1 -0
- package/dist/esm-es5/floating-ui.dom.esm-b6d2205c.js +1 -0
- package/dist/esm-es5/index-44fd80a1.js +1 -0
- package/dist/esm-es5/{keyboard-manager-f3d273fc.js → keyboard-manager-9f287ab7.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/locale-149207d6.js +6 -0
- package/dist/esm-es5/locale.it-94429e24.js +1 -0
- 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.entry.js +1 -1
- package/dist/esm-es5/mds-badge.entry.js +1 -1
- package/dist/esm-es5/mds-banner.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_3.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-chip.entry.js +1 -1
- package/dist/esm-es5/mds-details.entry.js +1 -1
- package/dist/esm-es5/mds-dropdown.entry.js +1 -0
- 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 +3 -3
- 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-help.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-field.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.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-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-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-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.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.entry.js +1 -1
- package/dist/esm-es5/mds-push-notification.entry.js +1 -1
- package/dist/esm-es5/mds-push-notifications.entry.js +1 -1
- package/dist/esm-es5/mds-quote.entry.js +1 -1
- package/dist/esm-es5/mds-separator.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-cell.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-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 +6 -0
- package/dist/hydrate/index.js +3705 -5972
- package/dist/hydrate/index.mjs +3705 -5972
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/magma-components.js +1 -1
- package/dist/magma-components/p-03c13bdf.system.entry.js +1 -0
- package/dist/magma-components/p-0492e275.entry.js +1 -0
- package/dist/magma-components/p-04c61fa1.system.entry.js +1 -0
- package/dist/magma-components/p-05bf15c7.entry.js +1 -0
- package/dist/magma-components/{p-5f0f0448.system.entry.js → p-07253a21.system.entry.js} +1 -1
- package/dist/magma-components/p-086c8147.entry.js +1 -0
- package/dist/magma-components/p-0b2a9068.entry.js +1 -0
- package/dist/magma-components/p-0b6b57fb.js +1 -0
- package/dist/magma-components/p-0b77bb1c.system.entry.js +1 -0
- package/dist/magma-components/p-0f3e17bc.js +1 -0
- package/dist/magma-components/{p-7d460c08.system.entry.js → p-0f6c6757.system.entry.js} +1 -1
- package/dist/magma-components/p-13c6c73b.entry.js +1 -0
- package/dist/magma-components/p-13ce8757.system.entry.js +1 -0
- package/dist/magma-components/p-1400e3c3.system.entry.js +1 -0
- package/dist/magma-components/p-1581b10e.system.entry.js +1 -0
- package/dist/magma-components/{p-8980cf86.system.entry.js → p-17d63927.system.entry.js} +1 -1
- package/dist/magma-components/{p-ae612034.system.entry.js → p-19114f13.system.entry.js} +1 -1
- package/dist/magma-components/{p-53f8a981.entry.js → p-19c55d3e.entry.js} +1 -1
- package/dist/magma-components/{p-5258907f.system.entry.js → p-1b436c7c.system.entry.js} +1 -1
- package/dist/magma-components/{p-2f7dd737.system.entry.js → p-1bb949c2.system.entry.js} +1 -1
- package/dist/magma-components/p-217aed60.system.entry.js +1 -0
- package/dist/magma-components/p-21b1acec.system.js +1 -0
- package/dist/magma-components/{p-f62b4856.entry.js → p-22954bd0.entry.js} +1 -1
- package/dist/magma-components/{p-67f8aea1.entry.js → p-23c0e5bb.entry.js} +1 -1
- package/dist/magma-components/p-247e25c9.entry.js +1 -0
- package/dist/magma-components/p-2547e1c5.entry.js +1 -0
- package/dist/magma-components/p-25602048.system.entry.js +1 -0
- package/dist/magma-components/{p-dbde7f2c.system.entry.js → p-27923d25.system.entry.js} +1 -1
- package/dist/magma-components/p-2a0bffc8.entry.js +1 -0
- package/dist/magma-components/p-2bedaf5f.system.entry.js +1 -0
- package/dist/magma-components/p-2d5135c7.entry.js +1 -0
- package/dist/magma-components/p-2d58b5b8.system.entry.js +1 -0
- package/dist/magma-components/{p-b4c84e8e.entry.js → p-2e3e7ae9.entry.js} +1 -1
- package/dist/magma-components/{p-12c9e7c1.system.entry.js → p-30326380.system.entry.js} +1 -1
- package/dist/magma-components/p-304b1738.entry.js +1 -0
- package/dist/magma-components/{p-c7267a25.system.entry.js → p-30671bb6.system.entry.js} +1 -1
- package/dist/magma-components/p-31ad7005.entry.js +1 -0
- package/dist/magma-components/p-3213bed3.js +1 -0
- package/dist/magma-components/{p-06bbdfbc.system.js → p-32f55263.system.js} +1 -1
- package/dist/magma-components/{p-3ebb87fd.system.entry.js → p-332ef4c5.system.entry.js} +1 -1
- package/dist/magma-components/p-340717b1.entry.js +1 -0
- package/dist/magma-components/{p-19ffbf29.system.entry.js → p-3545d28a.system.entry.js} +1 -1
- package/dist/magma-components/p-3759b1b2.system.js +6 -0
- package/dist/magma-components/{p-57e85f09.entry.js → p-3c4114a1.entry.js} +1 -1
- package/dist/magma-components/{p-e1ae3377.entry.js → p-3c7584e0.entry.js} +1 -1
- package/dist/magma-components/p-3d9b24ed.system.entry.js +1 -0
- package/dist/magma-components/p-3dcee09b.entry.js +1 -0
- package/dist/magma-components/p-413e1924.entry.js +8 -0
- package/dist/magma-components/{p-7ff9ee47.system.entry.js → p-41b0013f.system.entry.js} +1 -1
- package/dist/magma-components/p-42aaebea.entry.js +1 -0
- package/dist/magma-components/p-42c66e40.entry.js +1 -0
- package/dist/magma-components/{p-eba07611.system.entry.js → p-438c83a4.system.entry.js} +1 -1
- package/dist/magma-components/p-4509e5dd.entry.js +1 -0
- package/dist/magma-components/{p-8b576fd8.entry.js → p-46df472e.entry.js} +1 -1
- package/dist/magma-components/{p-12a6692f.entry.js → p-47044832.entry.js} +1 -1
- package/dist/magma-components/{p-1a2e5af9.entry.js → p-4a57c918.entry.js} +1 -1
- package/dist/magma-components/p-4d469a01.entry.js +1 -0
- package/dist/magma-components/{p-d41cdc56.entry.js → p-4e0c9d47.entry.js} +1 -1
- package/dist/magma-components/{p-d219007f.system.entry.js → p-4f52b15e.system.entry.js} +1 -1
- package/dist/magma-components/p-5100bf68.system.entry.js +1 -0
- package/dist/magma-components/p-55842900.entry.js +1 -0
- package/dist/magma-components/{p-8f8fd8f5.entry.js → p-5629c1f5.entry.js} +1 -1
- package/dist/magma-components/p-5818b17b.system.entry.js +1 -0
- package/dist/magma-components/p-5a2c6a26.system.entry.js +1 -0
- package/dist/magma-components/p-5af31a47.system.js +1 -0
- package/dist/magma-components/{p-0e54cbdd.entry.js → p-5d39c94f.entry.js} +1 -1
- package/dist/magma-components/{p-8c185de1.system.entry.js → p-5e063b6a.system.entry.js} +1 -1
- package/dist/magma-components/{p-32c2e662.system.entry.js → p-5fbe3d63.system.entry.js} +1 -1
- package/dist/magma-components/{p-eb1dcb87.system.entry.js → p-600f012f.system.entry.js} +1 -1
- package/dist/magma-components/{p-3013e2cb.entry.js → p-605913ba.entry.js} +1 -1
- package/dist/magma-components/p-60ab906d.entry.js +1 -0
- package/dist/magma-components/{p-945820db.system.entry.js → p-62ac240e.system.entry.js} +1 -1
- package/dist/magma-components/{p-00c6b918.system.entry.js → p-63e3f820.system.entry.js} +1 -1
- package/dist/magma-components/p-65ba0450.entry.js +1 -0
- package/dist/magma-components/p-6617f185.entry.js +1 -0
- package/dist/magma-components/p-665f05ca.system.entry.js +1 -0
- package/dist/magma-components/p-66ef6f68.system.entry.js +1 -0
- package/dist/magma-components/{p-d1f52b0b.system.js → p-6803cf8d.system.js} +1 -1
- package/dist/magma-components/p-694ac497.entry.js +1 -0
- package/dist/magma-components/p-6a2ec000.entry.js +1 -0
- package/dist/magma-components/p-6aed6b97.system.entry.js +1 -0
- package/dist/magma-components/p-6c4c3d44.system.entry.js +1 -0
- package/dist/magma-components/{p-f43e59d4.entry.js → p-6dc71639.entry.js} +1 -1
- package/dist/magma-components/{p-63e8bc17.system.entry.js → p-6f15b2d9.system.entry.js} +1 -1
- package/dist/magma-components/{p-7f235611.system.entry.js → p-71601583.system.entry.js} +1 -1
- package/dist/magma-components/p-759c9af3.entry.js +1 -0
- package/dist/magma-components/{p-b5f501d2.system.entry.js → p-782313bb.system.entry.js} +1 -1
- package/dist/magma-components/p-7a7220e5.entry.js +1 -0
- package/dist/magma-components/p-7ad5eeb3.system.entry.js +1 -0
- package/dist/magma-components/p-7affff90.system.entry.js +1 -0
- package/dist/magma-components/p-810ba60f.system.entry.js +1 -0
- package/dist/magma-components/{p-5ddef57f.entry.js → p-813176b0.entry.js} +1 -1
- package/dist/magma-components/p-84a3bc2b.system.entry.js +1 -0
- package/dist/magma-components/p-85aa8e05.js +1 -0
- package/dist/magma-components/p-85e7baee.entry.js +1 -0
- package/dist/magma-components/{p-20143ec9.entry.js → p-892e949c.entry.js} +1 -1
- package/dist/magma-components/p-893a87dc.system.entry.js +1 -0
- package/dist/magma-components/p-89f9e0d2.entry.js +1 -0
- package/dist/magma-components/{p-0349e303.system.entry.js → p-8fe9a0a2.system.entry.js} +1 -1
- package/dist/magma-components/p-917ba0e2.entry.js +1 -0
- package/dist/magma-components/p-94db8071.system.js +1 -0
- package/dist/magma-components/p-96afff9f.system.entry.js +1 -0
- package/dist/magma-components/p-96d07c9f.system.entry.js +1 -0
- package/dist/magma-components/p-96e60eca.system.entry.js +1 -0
- package/dist/magma-components/{p-c4b093c4.entry.js → p-9bd6657b.entry.js} +1 -1
- package/dist/magma-components/p-9bd9e612.system.entry.js +1 -0
- package/dist/magma-components/p-9c7039f0.entry.js +1 -0
- package/dist/magma-components/p-9d991391.entry.js +1 -0
- package/dist/magma-components/p-9df056cb.entry.js +1 -0
- package/dist/magma-components/p-a191a987.entry.js +1 -0
- package/dist/magma-components/{p-99678cdd.system.entry.js → p-a1f69741.system.entry.js} +1 -1
- package/dist/magma-components/{p-36c13a31.entry.js → p-a306ff28.entry.js} +1 -1
- package/dist/magma-components/p-a44d3db9.entry.js +1 -0
- package/dist/magma-components/p-a47aae12.entry.js +1 -0
- package/dist/magma-components/p-a4fc1b0b.entry.js +1 -0
- package/dist/magma-components/p-a557bad7.system.entry.js +1 -0
- package/dist/magma-components/p-a9432fee.system.entry.js +1 -0
- package/dist/magma-components/p-a9f8f986.system.entry.js +9 -0
- package/dist/magma-components/p-aa133f48.entry.js +1 -0
- package/dist/magma-components/p-aa24e213.system.entry.js +1 -0
- package/dist/magma-components/{p-e49f99c2.entry.js → p-aa8999ba.entry.js} +1 -1
- package/dist/magma-components/p-ac7403b5.system.js +1 -0
- package/dist/magma-components/{p-8321c0d3.entry.js → p-ac97dd43.entry.js} +1 -1
- package/dist/magma-components/p-ae0b6dcb.system.entry.js +1 -0
- package/dist/magma-components/{p-2a670d3c.system.entry.js → p-ae0c3e38.system.entry.js} +1 -1
- package/dist/magma-components/{p-8323a952.system.entry.js → p-aead7eab.system.entry.js} +1 -1
- package/dist/magma-components/p-b0868749.entry.js +1 -0
- package/dist/magma-components/p-b0bb702b.entry.js +1 -0
- package/dist/magma-components/p-b44f3e19.entry.js +1 -0
- package/dist/magma-components/{p-3d741487.entry.js → p-b458a7b7.entry.js} +1 -1
- package/dist/magma-components/p-b5551799.system.entry.js +1 -0
- package/dist/magma-components/p-b5a65fcd.system.js +1 -0
- package/dist/magma-components/p-b62d164b.system.entry.js +1 -0
- package/dist/magma-components/{p-efdb9fda.entry.js → p-b6cc1d20.entry.js} +1 -1
- package/dist/magma-components/p-b7889230.system.entry.js +1 -0
- package/dist/magma-components/{p-ec8975f3.entry.js → p-b8fcf897.entry.js} +1 -1
- package/dist/magma-components/{p-73ccc008.entry.js → p-bbe19d86.entry.js} +1 -1
- package/dist/magma-components/p-bd7c0f2b.entry.js +1 -0
- package/dist/magma-components/p-c0611d00.system.entry.js +1 -0
- package/dist/magma-components/{p-cd60481a.system.entry.js → p-c2291312.system.entry.js} +1 -1
- package/dist/magma-components/{p-0b471b37.system.entry.js → p-c2c1ca38.system.entry.js} +1 -1
- package/dist/magma-components/p-c310b41f.js +6 -0
- package/dist/magma-components/p-c3b57b65.entry.js +1 -0
- package/dist/magma-components/{p-f0bf8d7e.entry.js → p-c55796f6.entry.js} +1 -1
- package/dist/magma-components/p-c6616cf4.entry.js +1 -0
- package/dist/magma-components/p-c6f72257.entry.js +1 -0
- package/dist/magma-components/p-c7d97a3c.entry.js +1 -0
- package/dist/magma-components/p-c94628eb.system.js +2 -0
- package/dist/magma-components/p-d06b650f.entry.js +1 -0
- package/dist/magma-components/{p-bebaf8c9.system.entry.js → p-d239736c.system.entry.js} +1 -1
- package/dist/magma-components/p-d3f2a762.system.entry.js +1 -0
- package/dist/magma-components/p-d4a14ac6.entry.js +1 -0
- package/dist/magma-components/{p-adafaeb1.system.entry.js → p-d4ad6446.system.entry.js} +1 -1
- package/dist/magma-components/{p-5f3b296e.system.entry.js → p-d4f60172.system.entry.js} +1 -1
- package/dist/magma-components/p-d7fe5fb4.entry.js +1 -0
- package/dist/magma-components/p-dd0f6f83.entry.js +1 -0
- package/dist/magma-components/{p-0a4fcd1d.system.entry.js → p-dd7b49e7.system.entry.js} +1 -1
- package/dist/magma-components/p-ddb91a8e.system.entry.js +1 -0
- package/dist/magma-components/p-de21d32b.system.entry.js +1 -0
- package/dist/magma-components/p-dea5d36c.entry.js +1 -0
- package/dist/magma-components/{p-bf66db4f.entry.js → p-df55c1ea.entry.js} +1 -1
- package/dist/magma-components/{p-56132185.system.entry.js → p-e0288f0c.system.entry.js} +1 -1
- package/dist/magma-components/p-e03788d9.entry.js +1 -0
- package/dist/magma-components/p-e290055a.entry.js +18 -0
- package/dist/magma-components/p-e3423b24.entry.js +1 -0
- package/dist/magma-components/{p-d60d99ac.entry.js → p-e3b9a60f.entry.js} +1 -1
- package/dist/magma-components/p-e420031e.js +1 -0
- package/dist/magma-components/{p-ac5f1e42.system.entry.js → p-e5c3a802.system.entry.js} +1 -1
- package/dist/magma-components/p-e6e67992.entry.js +1 -0
- package/dist/magma-components/p-e82d486e.system.entry.js +18 -0
- package/dist/magma-components/p-e95f01d6.system.entry.js +1 -0
- package/dist/magma-components/{p-c2938231.system.entry.js → p-e9940be7.system.entry.js} +1 -1
- package/dist/magma-components/p-eab621a7.js +2 -0
- package/dist/magma-components/{p-9a878d34.entry.js → p-eae957b3.entry.js} +1 -1
- package/dist/magma-components/p-eb4bc264.system.entry.js +1 -0
- package/dist/magma-components/p-eb8bbb53.entry.js +1 -0
- package/dist/magma-components/{p-a09946ab.entry.js → p-edbaf4ab.entry.js} +1 -1
- package/dist/magma-components/p-ee536517.entry.js +1 -0
- package/dist/magma-components/{p-c2a42118.system.entry.js → p-eef53c2a.system.entry.js} +1 -1
- package/dist/magma-components/p-f0027ed8.system.entry.js +1 -0
- package/dist/magma-components/p-f00c93f4.js +1 -0
- package/dist/magma-components/p-f060e8cc.system.entry.js +1 -0
- package/dist/magma-components/p-f142ee72.entry.js +1 -0
- package/dist/magma-components/{p-efa3471a.entry.js → p-f1d7b5ea.entry.js} +1 -1
- package/dist/magma-components/{p-a5183c20.system.entry.js → p-f63148da.system.entry.js} +1 -1
- package/dist/magma-components/{p-44aaca66.system.entry.js → p-f94593f9.system.entry.js} +1 -1
- package/dist/magma-components/{p-c4cf09ea.system.entry.js → p-fa5fb4be.system.entry.js} +1 -1
- package/dist/magma-components/p-fc8bce99.system.entry.js +1 -0
- package/dist/magma-components/p-fe13fac9.system.entry.js +1 -0
- package/dist/magma-components/{p-12a225e3.system.entry.js → p-feadfe43.system.entry.js} +1 -1
- package/dist/magma-components/{p-bf242a75.system.entry.js → p-ffa94d0f.system.entry.js} +1 -1
- package/dist/stats.json +3575 -2712
- package/dist/types/common/aria.d.ts +3 -1
- package/dist/types/common/date.d.ts +1 -1
- package/dist/types/common/device.d.ts +2 -0
- package/dist/types/common/file.d.ts +2 -2
- package/dist/types/common/locale.d.ts +3 -1
- 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-avatar/mds-avatar.d.ts +1 -1
- package/dist/types/components/mds-badge/mds-badge.d.ts +2 -2
- package/dist/types/components/mds-banner/mds-banner.d.ts +3 -1
- package/dist/types/components/mds-benchmark-bar/mds-benchmark-bar.d.ts +1 -1
- package/dist/types/components/mds-bibliography/mds-bibliography.d.ts +1 -1
- package/dist/types/components/mds-breadcrumb/mds-breadcrumb.d.ts +5 -1
- package/dist/types/components/mds-button/mds-button.d.ts +2 -2
- package/dist/types/components/mds-chip/mds-chip.d.ts +22 -7
- package/dist/types/components/mds-chip/test/mds-chip.stories.d.ts +30 -4
- package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +1 -1
- package/dist/types/components/mds-entity/mds-entity.d.ts +1 -1
- package/dist/types/components/mds-file/mds-file.d.ts +4 -5
- package/dist/types/components/mds-file-preview/mds-file-preview.d.ts +7 -4
- package/dist/types/components/mds-file-preview/meta/event-detail.d.ts +1 -1
- package/dist/types/components/mds-filter/mds-filter.d.ts +1 -1
- package/dist/types/components/mds-header/mds-header.d.ts +1 -1
- package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +1 -1
- package/dist/types/components/mds-help/mds-help.d.ts +1 -1
- package/dist/types/components/mds-icon/services/icons-set.service.d.ts +20 -4
- package/dist/types/components/mds-icon/test/mds-icon.stories.d.ts +1 -0
- package/dist/types/components/mds-img/mds-img.d.ts +3 -1
- package/dist/types/components/mds-input/mds-input.d.ts +6 -7
- package/dist/types/components/mds-input/test/mds-input.stories.d.ts +1 -0
- package/dist/types/components/mds-input-field/mds-input-field.d.ts +5 -6
- package/dist/types/components/mds-input-range/mds-input-range.d.ts +1 -0
- package/dist/types/components/mds-input-range/test/mds-input-range.stories.d.ts +0 -4
- package/dist/types/components/mds-input-select/mds-input-select.d.ts +3 -3
- package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +2 -1
- package/dist/types/components/mds-input-switch/meta/interfaces.d.ts +1 -1
- package/dist/types/components/mds-input-tip-item/mds-input-tip-item.d.ts +3 -1
- package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +13 -10
- package/dist/types/components/mds-kpi-item/mds-kpi-item.d.ts +1 -1
- package/dist/types/components/mds-label/mds-label.d.ts +6 -3
- package/dist/types/components/mds-list-item/mds-list-item.d.ts +1 -1
- package/dist/types/components/mds-modal/test/mds-modal.stories.d.ts +1 -2
- package/dist/types/components/mds-note/mds-note.d.ts +5 -1
- package/dist/types/components/mds-pref/mds-pref.d.ts +2 -0
- package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +9 -8
- package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +10 -9
- package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +11 -10
- package/dist/types/components/mds-pref-language/mds-pref-language.d.ts +20 -15
- package/dist/types/components/mds-pref-language/test/mds-pref-language.stories.d.ts +1 -1
- package/dist/types/components/mds-pref-language-item/mds-pref-language-item.d.ts +5 -4
- package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +14 -12
- package/dist/types/components/mds-price-table-list-item/mds-price-table-list-item.d.ts +1 -1
- package/dist/types/components/mds-progress/mds-progress.d.ts +2 -1
- package/dist/types/components/mds-push-notification/mds-push-notification.d.ts +4 -2
- package/dist/types/components/mds-quote/mds-quote.d.ts +6 -1
- package/dist/types/components/mds-quote/test/mds-quote.stories.d.ts +7 -0
- package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +1 -1
- package/dist/types/components/mds-tab/mds-tab.d.ts +1 -1
- package/dist/types/components/mds-tab-bar-item/mds-tab-bar-item.d.ts +1 -1
- package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +1 -1
- package/dist/types/components/mds-table/mds-table.d.ts +1 -0
- package/dist/types/components/mds-table/test/mds-table.stories.d.ts +1 -0
- package/dist/types/components/mds-table-header-cell/meta/types.d.ts +1 -1
- package/dist/types/components/mds-table-row/mds-table-row.d.ts +4 -0
- package/dist/types/components/mds-text/mds-text.d.ts +4 -3
- package/dist/types/components/mds-text/meta/types.d.ts +0 -1
- package/dist/types/components/mds-toast/mds-toast.d.ts +1 -1
- package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +2 -2
- package/dist/types/components/mds-url-view/mds-url-view.d.ts +5 -1
- package/dist/types/components/mds-usage/mds-usage.d.ts +0 -2
- package/dist/types/components.d.ts +99 -117
- package/dist/types/dictionary/file-extensions.d.ts +1 -1
- package/dist/types/dictionary/text.d.ts +3 -1
- package/dist/types/dictionary/variant.d.ts +2 -1
- package/dist/types/event-detail/language.d.ts +1 -2
- package/dist/types/event-detail/preference.d.ts +2 -2
- package/dist/types/stencil-public-runtime.d.ts +6 -0
- package/dist/types/type/autocomplete.d.ts +1 -1
- package/dist/types/type/input.d.ts +3 -0
- package/dist/types/type/text.d.ts +2 -0
- package/dist/types/type/variant-file-format.d.ts +1 -1
- package/dist/types/type/variant.d.ts +2 -1
- package/loader/cdn.js +2 -0
- package/loader/index.cjs.js +2 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +2 -0
- package/loader/index.js +3 -0
- package/loader/package.json +11 -0
- package/package.json +17 -13
- package/dist/cjs/file-0d013422.js +0 -154
- package/dist/cjs/file-extensions-b57dcf2c.js +0 -68
- package/dist/cjs/locale-c6c02a3a.js +0 -4796
- package/dist/collection/components/mds-input/meta/event-detail.js +0 -1
- package/dist/collection/components/mds-pref-language-nav/mds-pref-language-nav.css +0 -28
- package/dist/collection/components/mds-pref-language-nav/mds-pref-language-nav.js +0 -118
- package/dist/collection/interface/input-value.js +0 -1
- package/dist/collection/type/language.js +0 -1
- package/dist/components/file.js +0 -212
- package/dist/components/mds-pref-language-nav.d.ts +0 -11
- package/dist/components/mds-pref-language-nav.js +0 -6
- package/dist/components/mds-pref-language-nav2.js +0 -936
- package/dist/esm/_commonjsHelpers-e557d4a5.js +0 -11
- package/dist/esm/file-4e952d4d.js +0 -149
- package/dist/esm/file-extensions-e7320b03.js +0 -65
- package/dist/esm/locale-a730711f.js +0 -4794
- package/dist/esm-es5/_commonjsHelpers-e557d4a5.js +0 -1
- package/dist/esm-es5/aria-0e390d9c.js +0 -1
- package/dist/esm-es5/file-4e952d4d.js +0 -1
- package/dist/esm-es5/file-extensions-e7320b03.js +0 -1
- package/dist/esm-es5/floating-ui.dom.esm-f7b7f919.js +0 -1
- package/dist/esm-es5/index-f08bac5f.js +0 -1
- package/dist/esm-es5/locale-a730711f.js +0 -1
- package/dist/esm-es5/mds-dropdown_2.entry.js +0 -1
- package/dist/magma-components/p-00f83b1c.entry.js +0 -1
- package/dist/magma-components/p-02d1e968.entry.js +0 -1
- package/dist/magma-components/p-06adda46.system.entry.js +0 -1
- package/dist/magma-components/p-0d867719.entry.js +0 -1
- package/dist/magma-components/p-0e2ba962.entry.js +0 -1
- package/dist/magma-components/p-0fb85a5b.entry.js +0 -1
- package/dist/magma-components/p-19d5cfd1.system.entry.js +0 -1
- package/dist/magma-components/p-1a8bb922.system.entry.js +0 -1
- package/dist/magma-components/p-1c618541.entry.js +0 -1
- package/dist/magma-components/p-1ebc919c.system.entry.js +0 -1
- package/dist/magma-components/p-239398e3.entry.js +0 -1
- package/dist/magma-components/p-30c59b63.entry.js +0 -1
- package/dist/magma-components/p-348bfa69.system.entry.js +0 -1
- package/dist/magma-components/p-34b6dae4.entry.js +0 -1
- package/dist/magma-components/p-35010f4f.system.entry.js +0 -1
- package/dist/magma-components/p-369fc037.system.js +0 -2
- package/dist/magma-components/p-39379806.js +0 -1
- package/dist/magma-components/p-39f3c979.entry.js +0 -1
- package/dist/magma-components/p-3a1212f7.system.js +0 -1
- package/dist/magma-components/p-3b821237.entry.js +0 -1
- package/dist/magma-components/p-3bce2736.entry.js +0 -1
- package/dist/magma-components/p-3bd5921c.entry.js +0 -1
- package/dist/magma-components/p-3bd829b2.system.entry.js +0 -1
- package/dist/magma-components/p-3c7dd9e6.entry.js +0 -1
- package/dist/magma-components/p-3d6026a7.entry.js +0 -1
- package/dist/magma-components/p-40444810.entry.js +0 -1
- package/dist/magma-components/p-456e8f90.entry.js +0 -1
- package/dist/magma-components/p-45840cb9.js +0 -1
- package/dist/magma-components/p-4818acd8.entry.js +0 -1
- package/dist/magma-components/p-4852095e.system.entry.js +0 -1
- package/dist/magma-components/p-49457689.entry.js +0 -1
- package/dist/magma-components/p-498d8d1f.system.entry.js +0 -1
- package/dist/magma-components/p-4a21d75f.entry.js +0 -1
- package/dist/magma-components/p-4ba3ec43.entry.js +0 -1
- package/dist/magma-components/p-4bb672d5.system.entry.js +0 -1
- package/dist/magma-components/p-4cd1cddc.js +0 -1
- package/dist/magma-components/p-4cf59911.system.entry.js +0 -1
- package/dist/magma-components/p-5251fc6b.entry.js +0 -18
- package/dist/magma-components/p-53b343a8.js +0 -1
- package/dist/magma-components/p-56e687bd.entry.js +0 -1
- package/dist/magma-components/p-5958cf43.entry.js +0 -1
- package/dist/magma-components/p-5de2329f.entry.js +0 -1
- package/dist/magma-components/p-5ff768d2.system.entry.js +0 -1
- package/dist/magma-components/p-606200e3.entry.js +0 -1
- package/dist/magma-components/p-61fd38ea.system.entry.js +0 -1
- package/dist/magma-components/p-62358ead.entry.js +0 -1
- package/dist/magma-components/p-62bf3a83.system.entry.js +0 -1
- package/dist/magma-components/p-63f0d264.entry.js +0 -1
- package/dist/magma-components/p-66056cdc.system.js +0 -1
- package/dist/magma-components/p-663bb379.system.entry.js +0 -1
- package/dist/magma-components/p-66976b79.entry.js +0 -1
- package/dist/magma-components/p-66f540ac.system.entry.js +0 -1
- package/dist/magma-components/p-676db22b.entry.js +0 -1
- package/dist/magma-components/p-6810a806.system.entry.js +0 -1
- package/dist/magma-components/p-6c14d91c.entry.js +0 -1
- package/dist/magma-components/p-6e2784c9.entry.js +0 -1
- package/dist/magma-components/p-6eecbc9e.system.entry.js +0 -1
- package/dist/magma-components/p-71f86ae7.system.entry.js +0 -1
- package/dist/magma-components/p-728cf2dc.entry.js +0 -1
- package/dist/magma-components/p-763ed882.entry.js +0 -1
- package/dist/magma-components/p-7776a592.entry.js +0 -1
- package/dist/magma-components/p-7a41c057.system.entry.js +0 -1
- package/dist/magma-components/p-7cae0221.system.entry.js +0 -1
- package/dist/magma-components/p-7d19a7c6.entry.js +0 -1
- package/dist/magma-components/p-7d45974f.entry.js +0 -1
- package/dist/magma-components/p-7ff9abda.system.entry.js +0 -1
- package/dist/magma-components/p-82c83671.system.entry.js +0 -1
- package/dist/magma-components/p-846bafa4.system.js +0 -1
- package/dist/magma-components/p-85efbd11.entry.js +0 -1
- package/dist/magma-components/p-8a3e4d1f.system.entry.js +0 -1
- package/dist/magma-components/p-8ab85f10.entry.js +0 -1
- package/dist/magma-components/p-8c9bba00.system.entry.js +0 -1
- package/dist/magma-components/p-8ddbf6c1.system.entry.js +0 -1
- package/dist/magma-components/p-91391486.entry.js +0 -1
- package/dist/magma-components/p-91deec04.system.entry.js +0 -1
- package/dist/magma-components/p-934a4af6.system.entry.js +0 -18
- package/dist/magma-components/p-9381402f.entry.js +0 -1
- package/dist/magma-components/p-94bbfe16.entry.js +0 -1
- package/dist/magma-components/p-95e2abb6.js +0 -1
- package/dist/magma-components/p-9dfb1723.system.js +0 -1
- package/dist/magma-components/p-9f4b5a49.entry.js +0 -1
- package/dist/magma-components/p-9f80f36c.system.entry.js +0 -1
- package/dist/magma-components/p-9fefae6a.system.entry.js +0 -1
- package/dist/magma-components/p-a56a4fe4.entry.js +0 -1
- package/dist/magma-components/p-ac2a7c27.js +0 -1
- package/dist/magma-components/p-aebd1b47.entry.js +0 -1
- package/dist/magma-components/p-af75f100.entry.js +0 -1
- package/dist/magma-components/p-b3afbdcd.system.js +0 -1
- package/dist/magma-components/p-b3db90c1.entry.js +0 -1
- package/dist/magma-components/p-b435daa4.system.entry.js +0 -1
- package/dist/magma-components/p-b4395edb.system.entry.js +0 -1
- package/dist/magma-components/p-b4ce85d6.system.entry.js +0 -1
- package/dist/magma-components/p-b4ee4798.entry.js +0 -1
- package/dist/magma-components/p-b53e817c.system.entry.js +0 -1
- package/dist/magma-components/p-b6defcb6.js +0 -2
- package/dist/magma-components/p-b975c42a.js +0 -1
- package/dist/magma-components/p-bc867380.entry.js +0 -1
- package/dist/magma-components/p-bf08086c.system.entry.js +0 -1
- package/dist/magma-components/p-c6c8c32d.system.entry.js +0 -1
- package/dist/magma-components/p-c7343c40.system.entry.js +0 -9
- package/dist/magma-components/p-c852e0cb.entry.js +0 -8
- package/dist/magma-components/p-ca5f0f4d.entry.js +0 -1
- package/dist/magma-components/p-caf2dd9c.system.entry.js +0 -1
- package/dist/magma-components/p-cd9191a7.system.entry.js +0 -1
- package/dist/magma-components/p-d2cf0fd3.entry.js +0 -1
- package/dist/magma-components/p-dcc96bdb.entry.js +0 -1
- package/dist/magma-components/p-e203fbb0.system.entry.js +0 -1
- package/dist/magma-components/p-e249cc64.system.js +0 -1
- package/dist/magma-components/p-e307af8d.system.entry.js +0 -1
- package/dist/magma-components/p-e3b16a3f.entry.js +0 -1
- package/dist/magma-components/p-e72c4889.system.entry.js +0 -1
- package/dist/magma-components/p-e9042c7c.system.entry.js +0 -1
- package/dist/magma-components/p-eaade5d2.entry.js +0 -1
- package/dist/magma-components/p-ebfe7149.entry.js +0 -1
- package/dist/magma-components/p-ec231a39.system.entry.js +0 -1
- package/dist/magma-components/p-ee6d48f2.system.entry.js +0 -1
- package/dist/magma-components/p-f4bbd91e.system.entry.js +0 -1
- package/dist/magma-components/p-f855cdc0.entry.js +0 -1
- package/dist/types/components/mds-input/meta/event-detail.d.ts +0 -3
- package/dist/types/components/mds-pref-language-nav/mds-pref-language-nav.d.ts +0 -23
- package/dist/types/interface/input-value.d.ts +0 -4
- package/dist/types/type/language.d.ts +0 -2
|
@@ -1,8 +1,8 @@
|
|
|
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-44fd80a1.js';
|
|
2
2
|
import { c as cssDurationToMilliseconds } from './unit-dc091397.js';
|
|
3
3
|
import { m as miBaselineSettings } from './settings-649efd26.js';
|
|
4
|
-
import { L as Locale } from './locale-
|
|
5
|
-
import './_commonjsHelpers-
|
|
4
|
+
import { L as Locale } from './locale-149207d6.js';
|
|
5
|
+
import './_commonjsHelpers-bdec4bbd.js';
|
|
6
6
|
|
|
7
7
|
const miBaselineLightMode = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5s5-2.24 5-5s-2.24-5-5-5zM2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1zm18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1zM11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1zm0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1zM5.99 4.58a.996.996 0 0 0-1.41 0a.996.996 0 0 0 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41L5.99 4.58zm12.37 12.37a.996.996 0 0 0-1.41 0a.996.996 0 0 0 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0a.996.996 0 0 0 0-1.41l-1.06-1.06zm1.06-10.96a.996.996 0 0 0 0-1.41a.996.996 0 0 0-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06zM7.05 18.36a.996.996 0 0 0 0-1.41a.996.996 0 0 0-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06z"/></svg>`;
|
|
8
8
|
|
|
@@ -79,6 +79,8 @@ const MdsPrefTheme = class {
|
|
|
79
79
|
this.overlayShow = false;
|
|
80
80
|
this.updateCSSCustomProps = () => {
|
|
81
81
|
var _a, _b, _c;
|
|
82
|
+
if (typeof window === 'undefined')
|
|
83
|
+
return;
|
|
82
84
|
const elementStyles = window.getComputedStyle(this.element);
|
|
83
85
|
this.cssOverlayShowDuration = (_a = elementStyles.getPropertyValue('--mds-pref-theme-overlay-show-duration')) !== null && _a !== void 0 ? _a : '300';
|
|
84
86
|
this.cssOverlayFadeoutDuration = (_b = elementStyles.getPropertyValue('--mds-pref-theme-overlay-fadeout-duration')) !== null && _b !== void 0 ? _b : '200';
|
|
@@ -192,16 +194,20 @@ const MdsPrefTheme = class {
|
|
|
192
194
|
break;
|
|
193
195
|
}
|
|
194
196
|
};
|
|
197
|
+
this.language = undefined;
|
|
195
198
|
this.mode = undefined;
|
|
196
199
|
this.transition = 'smooth';
|
|
197
200
|
}
|
|
201
|
+
async updateLang() {
|
|
202
|
+
this.language = this.t.lang(this.element);
|
|
203
|
+
}
|
|
198
204
|
componentWillRender() {
|
|
205
|
+
var _a, _b;
|
|
199
206
|
this.t.lang(this.element);
|
|
207
|
+
this.setTheme((_b = (_a = this.mode) !== null && _a !== void 0 ? _a : localStorage.getItem(this.localStorageAlias)) !== null && _b !== void 0 ? _b : this.defaultMode);
|
|
200
208
|
}
|
|
201
209
|
componentDidLoad() {
|
|
202
|
-
var _a, _b;
|
|
203
210
|
this.updateCSSCustomProps();
|
|
204
|
-
this.setTheme((_b = (_a = this.mode) !== null && _a !== void 0 ? _a : localStorage.getItem(this.localStorageAlias)) !== null && _b !== void 0 ? _b : this.defaultMode);
|
|
205
211
|
}
|
|
206
212
|
modeChanged(newValue, oldValue) {
|
|
207
213
|
if (newValue === oldValue) {
|
|
@@ -221,17 +227,17 @@ const MdsPrefTheme = class {
|
|
|
221
227
|
}
|
|
222
228
|
render() {
|
|
223
229
|
var _a;
|
|
224
|
-
return (h(Host, { key: '
|
|
230
|
+
return (h(Host, { key: '8b4fdbfd57cac2dece783ae611672a711f561b8b' }, h("mds-text", { key: 'e6378045625e73131b96e3cc02e44411a5672bdf', class: "info", typography: "caption" }, h("b", { key: '12bb77a847664774b256b1344b7ec5e98890fb75' }, this.t.get('label')), " ", this.t.get(this.theme[(_a = this.mode) !== null && _a !== void 0 ? _a : this.defaultMode].label)), h("mds-tab", { key: '7a0ce9a18d73ae7aa4c5631f7f46d86d6ecaca83' }, h("mds-tab-item", { key: 'a8b1d57b0b8a05eeaf993f2bab7760eb781fcc7e', selected: this.mode === 'light', onClick: () => {
|
|
225
231
|
if (this.overlayShow) {
|
|
226
232
|
return;
|
|
227
233
|
}
|
|
228
234
|
this.changeTheme('light');
|
|
229
|
-
}, class: "item item--light", icon: miBaselineLightMode }), h("mds-tab-item", { key: '
|
|
235
|
+
}, class: "item item--light", icon: miBaselineLightMode }), h("mds-tab-item", { key: 'a33be13bf36905c68ded033d4f8f3d2682fb5358', selected: this.mode === 'system', onClick: () => {
|
|
230
236
|
if (this.overlayShow) {
|
|
231
237
|
return;
|
|
232
238
|
}
|
|
233
239
|
this.changeTheme('system');
|
|
234
|
-
}, class: "item item--system", icon: miBaselineSettings }), h("mds-tab-item", { key: '
|
|
240
|
+
}, class: "item item--system", icon: miBaselineSettings }), h("mds-tab-item", { key: '764e9f4722f053a0c1740ccefe887cf9cb6db317', selected: this.mode === 'dark', onClick: () => {
|
|
235
241
|
if (this.overlayShow) {
|
|
236
242
|
return;
|
|
237
243
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
2
|
-
import { L as Locale } from './locale-
|
|
3
|
-
import './_commonjsHelpers-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-44fd80a1.js';
|
|
2
|
+
import { L as Locale } from './locale-149207d6.js';
|
|
3
|
+
import './_commonjsHelpers-bdec4bbd.js';
|
|
4
4
|
|
|
5
5
|
const reloadPageToSeeChanges$3 = "Πρέπει να ανανεώσετε τη σελίδα για να δείτε όλες τις αλλαγές, διαφορετικά θα είναι ορατές μόνο για τα πρόσφατα μεταφορτωμένα στοιχεία.";
|
|
6
6
|
const localeEl = {
|
|
@@ -46,6 +46,10 @@ const MdsPref = class {
|
|
|
46
46
|
});
|
|
47
47
|
};
|
|
48
48
|
this.showReload = false;
|
|
49
|
+
this.language = undefined;
|
|
50
|
+
}
|
|
51
|
+
async updateLang() {
|
|
52
|
+
this.language = this.t.lang(this.host);
|
|
49
53
|
}
|
|
50
54
|
componentWillRender() {
|
|
51
55
|
this.t.lang(this.host);
|
|
@@ -58,7 +62,7 @@ const MdsPref = class {
|
|
|
58
62
|
this.host.querySelector('mds-pref-theme') && this.addEvent(this.host.querySelector('mds-pref-theme'));
|
|
59
63
|
}
|
|
60
64
|
render() {
|
|
61
|
-
return (h(Host, { key: '
|
|
65
|
+
return (h(Host, { key: 'ed9e2d6a5a70735b46fa37e47336a0b96b1da65d' }, h("slot", { key: '60d3e90abdbb050a6a60ee9d839467bd743560c3' }), this.showReload && h("div", { key: '95a1d0e9699b16a9dafba1dd51cd18a8efa9c360', class: "reload-required" }, h("mds-text", { key: '75a50e34a35e0eae92345a5babfa9187ec9bc190', typography: "caption" }, this.t.get('reloadPageToSeeChanges')))));
|
|
62
66
|
}
|
|
63
67
|
get host() { return getElement(this); }
|
|
64
68
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-44fd80a1.js';
|
|
2
2
|
import { m as miBaselineCheckCircle } from './check-circle-21109af0.js';
|
|
3
3
|
import { m as miBaselineHorizontalRule } from './horizontal-rule-51e0f935.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
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-44fd80a1.js';
|
|
2
2
|
|
|
3
3
|
const mdsPriceTableFeaturesRowCss = "@tailwind utilities;\n\n:host {\n\n --mds-price-table-features-row-background: transparent;\n --mds-price-table-features-row-background-hover: rgb(var(--tone-neutral-10));\n --mds-price-table-features-row-color: rgb(var(--tone-neutral-04));\n --mds-price-table-features-row-color-hover: rgb(var(--tone-neutral-01));\n -webkit-transition-duration: 200ms;\n transition-duration: 200ms;\n -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n background-color: var(--mds-price-table-features-row-background);\n color: var(--mds-price-table-features-row-color);\n display: table-row;\n -webkit-transition-property: background-color, color;\n transition-property: background-color, color;\n}\n\n:host(:hover) {\n\n --mds-price-table-features-row-background: var(--mds-price-table-features-row-background-hover);\n --mds-price-table-features-row-color: var(--mds-price-table-features-row-color-hover);\n}\n\n:host(:hover) > ::slotted(mds-price-table-features-cell) {\n\n --mds-price-table-features-cell-icon-supported-color: var(--mds-price-table-features-cell-icon-supported-color-hover);\n --mds-price-table-features-cell-icon-unsupported-color: var(--mds-price-table-features-cell-icon-unsupported-color-hover);\n}\n\n:host > ::slotted([type=\"label\"]) {\n padding-left: 0;\n}\n\n:host(:hover) > ::slotted([type=\"label\"]) {\n -webkit-transform: translate(0.5rem, 0);\n transform: translate(0.5rem, 0);\n}\n\n@tailwind utilities;\n\n@container style(--magma-pref-animation: reduce) {\n :host {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n\n@container style(--magma-pref-animation: system) {\n\n @media (prefers-reduced-motion) {\n :host {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n }\n}\n\n@tailwind utilities;\n\n@container style(--magma-pref-contrast: more) {\n :host {\n\n --mds-price-table-features-row-color: rgb(var(--tone-neutral-01));\n --mds-price-table-features-row-color-hover: rgb(var(--tone-neutral-01));\n }\n}\n\n@container style(--magma-pref-contrast: system) {\n\n @media (prefers-contrast: more) {\n :host {\n\n --mds-price-table-features-row-color: rgb(var(--tone-neutral-01));\n --mds-price-table-features-row-color-hover: rgb(var(--tone-neutral-01));\n }\n }\n}\n\n@container style(--magma-pref-theme: dark) {\n :host {\n\n --mds-price-table-features-row-background-hover: rgb(var(--tone-neutral-09));\n }\n}\n\n@container style(--magma-pref-theme: system) {\n\n @media (prefers-color-scheme: dark) {\n :host {\n\n --mds-price-table-features-row-background-hover: rgb(var(--tone-neutral-09));\n }\n }\n}\n\n";
|
|
4
4
|
const MdsPriceTableFeaturesRowStyle0 = mdsPriceTableFeaturesRowCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-44fd80a1.js';
|
|
2
2
|
|
|
3
3
|
const mdsPriceTableFeaturesCss = "@tailwind utilities;\n\n/**\n * @prop --mds-price-table-features-padding: Sets the cell padding of the children components\n */\n\n:host {\n\n --mds-price-table-features-border-color: rgb(var(--tone-neutral-06));\n --mds-price-table-features-padding: 0.75rem;\n -webkit-transition-duration: 200ms;\n transition-duration: 200ms;\n -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n display: -ms-flexbox;\n\n display: flex;\n -webkit-transition-property: border-color;\n transition-property: border-color;\n width: 100%;\n}\n\n.table-wrapper{\n\n scroll-margin-left: 1.5rem;\n\n scroll-margin-right: 1.5rem;\n\n width: 100%;\n}\n\ntable {\n border-collapse: collapse;\n min-width: 100%;\n table-layout: fixed;\n}\n\nheader {\n border-bottom: 1px solid var(--mds-price-table-features-border-color);\n padding: var(--mds-price-table-features-padding) var(--mds-price-table-features-padding) var(--mds-price-table-features-padding) 0;\n}\n\n@tailwind utilities;\n\n@container style(--magma-pref-animation: reduce) {\n :host {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n\n@container style(--magma-pref-animation: system) {\n\n @media (prefers-reduced-motion) {\n :host {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n }\n}\n\n@tailwind utilities;\n\n@container style(--magma-pref-theme: dark) {\n :host {\n\n --mds-price-table-features-border-color: rgb(var(--tone-neutral-05));\n }\n}\n\n@container style(--magma-pref-theme: system) {\n\n @media (prefers-color-scheme: dark) {\n :host {\n\n --mds-price-table-features-border-color: rgb(var(--tone-neutral-05));\n }\n }\n}\n\n@container style(--magma-pref-contrast: more) {\n :host {\n\n --mds-price-table-features-border-color: rgb(var(--tone-neutral-03));\n }\n}\n\n@container style(--magma-pref-contrast: system) {\n\n @media (prefers-contrast: more) {\n :host {\n\n --mds-price-table-features-border-color: rgb(var(--tone-neutral-03));\n }\n }\n}\n\n";
|
|
4
4
|
const MdsPriceTableFeaturesStyle0 = mdsPriceTableFeaturesCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-44fd80a1.js';
|
|
2
2
|
|
|
3
3
|
const mdsPriceTableHeaderCss = ":host{gap:1.5rem;display:grid;grid-template-columns:repeat(auto-fit, minmax(1px, 1fr))}";
|
|
4
4
|
const MdsPriceTableHeaderStyle0 = mdsPriceTableHeaderCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-44fd80a1.js';
|
|
2
2
|
import { m as miBaselineCheckCircle } from './check-circle-21109af0.js';
|
|
3
3
|
import { m as miBaselineHorizontalRule } from './horizontal-rule-51e0f935.js';
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
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-44fd80a1.js';
|
|
2
2
|
|
|
3
|
-
const mdsPriceTableListCss = "@tailwind utilities;\n\n:host {\n\n --mds-price-table-list-separator-color: rgb(var(--tone-neutral-03) / 0.5);\n\n gap: 1.5rem;\n\n border-radius: 0.75rem;\n\n padding: 1.5rem;\n\n -webkit-transition-duration: 200ms;\n\n transition-duration: 200ms;\n\n -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n background-color: rgb(var(--label-green-10));\n display: grid;\n -webkit-transition-property: background-color, color;\n transition-property: background-color, color;\n}\n\n\n.separator{\n\n -webkit-transition-duration: 200ms;\n\n transition-duration: 200ms;\n\n -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n
|
|
3
|
+
const mdsPriceTableListCss = "@tailwind utilities;\n\n:host {\n\n --mds-price-table-list-separator-color: rgb(var(--tone-neutral-03) / 0.5);\n\n gap: 1.5rem;\n\n border-radius: 0.75rem;\n\n padding: 1.5rem;\n\n -webkit-transition-duration: 200ms;\n\n transition-duration: 200ms;\n\n -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n background-color: rgb(var(--label-green-10));\n display: grid;\n -webkit-transition-property: background-color, color;\n transition-property: background-color, color;\n}\n\n\n.separator{\n\n -webkit-transition-duration: 200ms;\n\n transition-duration: 200ms;\n\n -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n background-color: var(--mds-price-table-list-separator-color);\n -webkit-transition-property: background-color;\n transition-property: background-color;\n}\n\n\n.header {\n display: grid;\n}\n\n.main{\n\n gap: 0.75rem;\n\n display: grid;\n}\n\n.footer{\n\n gap: 1rem;\n\n display: grid;\n}\n\n\n\n@tailwind utilities;\n\n@container style(--magma-pref-theme: dark) {\n :host {\n\n --mds-price-table-list-separator-color: rgb(var(--tone-neutral-01) / 0.5);\n\n background-color: rgb(var(--label-green-09));\n -webkit-box-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3);\n box-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3);\n }\n}\n\n@container style(--magma-pref-theme: system) {\n\n @media (prefers-color-scheme: dark) {\n :host {\n\n --mds-price-table-list-separator-color: rgb(var(--tone-neutral-01) / 0.5);\n\n background-color: rgb(var(--label-green-09));\n -webkit-box-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3);\n box-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3);\n }\n }\n}\n\n@container style(--magma-pref-contrast: more) {\n :host {\n\n --mds-price-table-list-separator-color: rgb(var(--tone-neutral-01) / 0.5);\n\n -webkit-box-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.3) inset;\n\n box-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.3) inset;\n color: rgb(var(--tone-neutral-01));\n }\n}\n\n@container style(--magma-pref-contrast: system) {\n\n @media (prefers-contrast: more) {\n :host {\n\n --mds-price-table-list-separator-color: rgb(var(--tone-neutral-01) / 0.5);\n\n -webkit-box-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.3) inset;\n\n box-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.3) inset;\n color: rgb(var(--tone-neutral-01));\n }\n }\n}\n\n";
|
|
4
4
|
const MdsPriceTableListStyle0 = mdsPriceTableListCss;
|
|
5
5
|
|
|
6
6
|
const MdsPriceTableList = class {
|
|
@@ -12,8 +12,8 @@ const MdsPriceTableList = class {
|
|
|
12
12
|
this.hasItems = this.hostElement.querySelectorAll('[slot="item"], mds-price-table-list-item').length > 0;
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h(Host, { key: '8848846da137075f1279ed2a3a0d802b247f7a4c' }, h("
|
|
16
|
-
h("main", { key: '
|
|
15
|
+
return (h(Host, { key: '8848846da137075f1279ed2a3a0d802b247f7a4c' }, h("div", { key: 'ffcc0524827624fd6d195ed5a517e8b7e1904e4a', class: "header", part: "header" }, h("slot", { key: 'e07351229478f6e654801e67598a75201f80ab7e', name: "header" })), this.hasItems && h("mds-separator", { key: 'd01804193430448ee78834f0358ab4ef9d71bf3c', class: "separator" }), this.hasItems &&
|
|
16
|
+
h("main", { key: 'a0d877c27f5b076d0561ed2e89aa54da7a9246ff', class: "main", part: "content" }, h("slot", { key: '3a9029359e46082062c2dbf435ad5d6f57451583', name: "item" })), h("div", { key: 'a95176bd6168f8b60ff9a75ed1b8752f785d0650', class: "footer", part: "footer" }, h("slot", { key: 'e21ad28632027ca11064584bb9e49d7977f3b80b', name: "price" }), h("slot", { key: 'c6e7ad45301d8b27ebf4af90c8654be9fde0c005', name: "action" }))));
|
|
17
17
|
}
|
|
18
18
|
get hostElement() { return getElement(this); }
|
|
19
19
|
};
|
|
@@ -1,6 +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-44fd80a1.js';
|
|
2
|
+
import { r as removeAttributesIf, i as ifAttribute } from './aria-ed9d415d.js';
|
|
2
3
|
|
|
3
|
-
const mdsProgressCss = "@tailwind components;\n@tailwind utilities;\n\n/**\n * @prop --mds-progress-background: Sets the background-color of the component\n * @prop --mds-progress-color: Sets the background-color of the progress\n * @prop --mds-progress-duration: Sets the duration of the progress bar animation\n * @prop --mds-progress-radius: Sets the border-radius of the component\n * @prop --mds-progress-thickness: Sets the thickness of the progress bar\n */\n\n:host {\n\n --mds-progress-background: rgb(var(--tone-neutral-08));\n --mds-progress-color: rgb(var(--
|
|
4
|
+
const mdsProgressCss = "@tailwind components;\n@tailwind utilities;\n\n/**\n * @prop --mds-progress-background: Sets the background-color of the component\n * @prop --mds-progress-color: Sets the background-color of the progress\n * @prop --mds-progress-duration: Sets the duration of the progress bar animation\n * @prop --mds-progress-radius: Sets the border-radius of the component\n * @prop --mds-progress-thickness: Sets the thickness of the progress bar\n */\n\n:host {\n\n --mds-progress-background: rgb(var(--tone-neutral-08));\n --mds-progress-color: rgb(var(--variant-primary-03));\n --mds-progress-duration: 750ms;\n --mds-progress-radius: 0.5rem;\n --mds-progress-thickness: 0.5rem;\n -webkit-transition-duration: 300ms;\n transition-duration: 300ms;\n -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n background-color: var(--mds-progress-background);\n border-radius: var(--mds-progress-radius);\n display: -ms-flexbox;\n display: flex;\n height: var(--mds-progress-thickness);\n min-width: var(--mds-progress-thickness);\n overflow: hidden;\n position: relative;\n -webkit-transition-property: background-color;\n transition-property: background-color;\n width: 100%;\n}\n\n:host( [direction=\"vertical\"] ) {\n -ms-flex-direction: column;\n flex-direction: column;\n height: unset;\n min-height: var(--mds-progress-thickness);\n width: var(--mds-progress-thickness);\n}\n\n.progress{\n\n -webkit-transition-duration: 500ms;\n\n transition-duration: 500ms;\n\n -webkit-transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n\n transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n\n background-color: var(--mds-progress-color);\n border-radius: var(--mds-progress-radius);\n -webkit-transition-duration: var(--mds-progress-duration);\n transition-duration: var(--mds-progress-duration);\n -webkit-transition-property: background-color, flex-grow;\n transition-property: background-color, flex-grow;\n transition-property: background-color, flex-grow, -ms-flex-positive;\n}\n\n@tailwind utilities;\n\n:host( [variant=\"dark\"] ) {\n\n --mds-progress-color: rgb(var(--tone-neutral-04));\n --mds-progress-background: rgb(var(--tone-neutral-08));\n}\n\n:host( [variant=\"light\"] ) {\n\n --mds-progress-color: rgb(var(--tone-neutral));\n --mds-progress-background: rgb(var(--tone-neutral-05));\n}\n\n:host( [variant=\"error\"] ) {\n\n --mds-progress-color: rgb(var(--status-error-06));\n --mds-progress-background: rgb(var(--status-error-09));\n}\n\n:host( [variant=\"warning\"] ) {\n\n --mds-progress-color: rgb(var(--status-warning-06));\n --mds-progress-background: rgb(var(--status-warning-09));\n}\n\n:host( [variant=\"success\"] ) {\n\n --mds-progress-color: rgb(var(--status-success-06));\n --mds-progress-background: rgb(var(--status-success-09));\n}\n\n:host( [variant=\"info\"] ) {\n\n --mds-progress-color: rgb(var(--status-info-06));\n --mds-progress-background: rgb(var(--status-info-09));\n}\n\n:host( [variant=\"primary\"] ) {\n\n --mds-progress-color: rgb(var(--variant-primary-03));\n --mds-progress-background: rgb(var(--tone-neutral-08));\n}\n\n@tailwind utilities;\n\n@container style(--magma-pref-animation: reduce) {\n :host,\n .progress {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n\n@container style(--magma-pref-animation: system) {\n\n @media (prefers-reduced-motion) {\n :host,\n .progress {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n }\n}\n\n@container style(--magma-pref-theme: dark) {\n :host,\n :host( [variant=\"primary\"] ) {\n\n --mds-progress-color: rgb(var(--variant-primary-05));\n --mds-progress-background: rgb(var(--tone-neutral-07));\n }\n\n :host( [variant=\"error\"] ) {\n\n --mds-progress-color: rgb(var(--status-error-04));\n --mds-progress-background: rgb(var(--status-error-07));\n }\n\n :host( [variant=\"warning\"] ) {\n\n --mds-progress-color: rgb(var(--status-warning-04));\n --mds-progress-background: rgb(var(--status-warning-07));\n }\n\n :host( [variant=\"success\"] ) {\n\n --mds-progress-color: rgb(var(--status-success-04));\n --mds-progress-background: rgb(var(--status-success-07));\n }\n\n :host( [variant=\"info\"] ) {\n\n --mds-progress-color: rgb(var(--status-info-04));\n --mds-progress-background: rgb(var(--status-info-07));\n }\n}\n\n@container style(--magma-pref-theme: system) {\n\n @media (prefers-color-scheme: dark) {\n :host,\n :host( [variant=\"primary\"] ) {\n\n --mds-progress-color: rgb(var(--variant-primary-05));\n --mds-progress-background: rgb(var(--tone-neutral-07));\n }\n\n :host( [variant=\"error\"] ) {\n\n --mds-progress-color: rgb(var(--status-error-04));\n --mds-progress-background: rgb(var(--status-error-07));\n }\n\n :host( [variant=\"warning\"] ) {\n\n --mds-progress-color: rgb(var(--status-warning-04));\n --mds-progress-background: rgb(var(--status-warning-07));\n }\n\n :host( [variant=\"success\"] ) {\n\n --mds-progress-color: rgb(var(--status-success-04));\n --mds-progress-background: rgb(var(--status-success-07));\n }\n\n :host( [variant=\"info\"] ) {\n\n --mds-progress-color: rgb(var(--status-info-04));\n --mds-progress-background: rgb(var(--status-info-07));\n }\n }\n}\n\n";
|
|
4
5
|
const MdsProgressStyle0 = mdsProgressCss;
|
|
5
6
|
|
|
6
7
|
const MdsProgress = class {
|
|
@@ -17,10 +18,15 @@ const MdsProgress = class {
|
|
|
17
18
|
this.stepsList = this.steps.split(',');
|
|
18
19
|
this.setProgress(this.progress);
|
|
19
20
|
}
|
|
21
|
+
componentDidLoad() {
|
|
22
|
+
removeAttributesIf(this.element, 'aria-hidden', 'true', ['aria-valuemax', 'aria-valuemin', 'aria-valuenow', 'aria-valuetext', 'role']);
|
|
23
|
+
}
|
|
20
24
|
setProgress(progress) {
|
|
21
25
|
if (this.steps) {
|
|
22
26
|
this.currentStep = this.stepsList[Math.round(progress * (this.stepsList.length - 1))];
|
|
23
|
-
this.element
|
|
27
|
+
if (!ifAttribute(this.element, 'aria-hidden')) {
|
|
28
|
+
this.element.setAttribute('aria-valuetext', this.currentStep);
|
|
29
|
+
}
|
|
24
30
|
}
|
|
25
31
|
}
|
|
26
32
|
progressChanged(progress) {
|
|
@@ -30,7 +36,7 @@ const MdsProgress = class {
|
|
|
30
36
|
this.stepsList = steps.split(',');
|
|
31
37
|
}
|
|
32
38
|
render() {
|
|
33
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: 'c72c3bb3b536cbe6b8ac8e1c65fa98514b55ac8b', "aria-valuemax": "100", "aria-valuemin": "0", "aria-valuenow": !ifAttribute(this.element, 'aria-hidden') && Math.round(this.progress * 100), role: "progressbar" }, h("div", { key: 'cf51b3291d06a782283cc73a615d88e9e7ada927', class: "contrast-area" }), h("div", { key: '6abdc6d4a5896ffb5ee482ef5c4401760efb3fcf', class: "progress", style: this.direction === 'horizontal'
|
|
34
40
|
? { flexGrow: `${this.progress}` }
|
|
35
41
|
: { flexGrow: `${this.progress}`, width: '100%' } })));
|
|
36
42
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h as h$
|
|
2
|
-
import {
|
|
1
|
+
import { r as registerInstance, c as createEvent, h as h$4, H as Host, g as getElement } from './index-44fd80a1.js';
|
|
2
|
+
import { c as commonjsGlobal } from './_commonjsHelpers-bdec4bbd.js';
|
|
3
3
|
import { m as miBaselineCancel } from './cancel-8698c6fc.js';
|
|
4
|
-
import { L as Locale } from './locale-
|
|
4
|
+
import { L as Locale } from './locale-149207d6.js';
|
|
5
5
|
|
|
6
6
|
var dayjs_min = {exports: {}};
|
|
7
7
|
|
|
@@ -11,21 +11,83 @@ var dayjs_min = {exports: {}};
|
|
|
11
11
|
|
|
12
12
|
const dayjs = dayjs_min.exports;
|
|
13
13
|
|
|
14
|
-
const dismiss$
|
|
15
|
-
const future$
|
|
16
|
-
const past$
|
|
17
|
-
const s$
|
|
14
|
+
const dismiss$3 = "Κλείσιμο";
|
|
15
|
+
const future$3 = "σε %s";
|
|
16
|
+
const past$3 = "πριν από %s";
|
|
17
|
+
const s$3 = "λίγα δευτ.";
|
|
18
|
+
const m$3 = "1 λεπτό";
|
|
19
|
+
const mm$3 = "%d λεπτά";
|
|
20
|
+
const h$3 = "1 ώρα";
|
|
21
|
+
const hh$3 = "%d ώρες";
|
|
22
|
+
const d$3 = "1 ημέρα";
|
|
23
|
+
const dd$3 = "%d ημέρες";
|
|
24
|
+
const M$3 = "1 μήνας";
|
|
25
|
+
const MM$3 = "%d μήνες";
|
|
26
|
+
const y$3 = "1 έτος";
|
|
27
|
+
const yy$3 = "%d έτη";
|
|
28
|
+
const localeEl = {
|
|
29
|
+
dismiss: dismiss$3,
|
|
30
|
+
future: future$3,
|
|
31
|
+
past: past$3,
|
|
32
|
+
s: s$3,
|
|
33
|
+
m: m$3,
|
|
34
|
+
mm: mm$3,
|
|
35
|
+
h: h$3,
|
|
36
|
+
hh: hh$3,
|
|
37
|
+
d: d$3,
|
|
38
|
+
dd: dd$3,
|
|
39
|
+
M: M$3,
|
|
40
|
+
MM: MM$3,
|
|
41
|
+
y: y$3,
|
|
42
|
+
yy: yy$3
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
const dismiss$2 = "Close";
|
|
46
|
+
const future$2 = "in %s";
|
|
47
|
+
const past$2 = "%s ago";
|
|
48
|
+
const s$2 = "few sec";
|
|
49
|
+
const m$2 = "1 min";
|
|
50
|
+
const mm$2 = "%d mins";
|
|
51
|
+
const h$2 = "1 hour";
|
|
52
|
+
const hh$2 = "%d hours";
|
|
53
|
+
const d$2 = "1 day";
|
|
54
|
+
const dd$2 = "%d days";
|
|
55
|
+
const M$2 = "1 month";
|
|
56
|
+
const MM$2 = "%d months";
|
|
57
|
+
const y$2 = "1 year";
|
|
58
|
+
const yy$2 = "%d years";
|
|
59
|
+
const localeEn = {
|
|
60
|
+
dismiss: dismiss$2,
|
|
61
|
+
future: future$2,
|
|
62
|
+
past: past$2,
|
|
63
|
+
s: s$2,
|
|
64
|
+
m: m$2,
|
|
65
|
+
mm: mm$2,
|
|
66
|
+
h: h$2,
|
|
67
|
+
hh: hh$2,
|
|
68
|
+
d: d$2,
|
|
69
|
+
dd: dd$2,
|
|
70
|
+
M: M$2,
|
|
71
|
+
MM: MM$2,
|
|
72
|
+
y: y$2,
|
|
73
|
+
yy: yy$2
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
const dismiss$1 = "Cerrar";
|
|
77
|
+
const future$1 = "en %s";
|
|
78
|
+
const past$1 = "hace %s";
|
|
79
|
+
const s$1 = "pocos seg";
|
|
18
80
|
const m$1 = "1 min";
|
|
19
81
|
const mm$1 = "%d mins";
|
|
20
|
-
const h$1 = "1
|
|
21
|
-
const hh$1 = "%d
|
|
22
|
-
const d$1 = "1
|
|
23
|
-
const dd$1 = "%d
|
|
24
|
-
const M$1 = "1
|
|
25
|
-
const MM$1 = "%d
|
|
26
|
-
const y$1 = "1
|
|
27
|
-
const yy$1 = "%d
|
|
28
|
-
const
|
|
82
|
+
const h$1 = "1 hora";
|
|
83
|
+
const hh$1 = "%d horas";
|
|
84
|
+
const d$1 = "1 día";
|
|
85
|
+
const dd$1 = "%d días";
|
|
86
|
+
const M$1 = "1 mes";
|
|
87
|
+
const MM$1 = "%d meses";
|
|
88
|
+
const y$1 = "1 año";
|
|
89
|
+
const yy$1 = "%d años";
|
|
90
|
+
const localeEs = {
|
|
29
91
|
dismiss: dismiss$1,
|
|
30
92
|
future: future$1,
|
|
31
93
|
past: past$1,
|
|
@@ -94,7 +156,7 @@ const sanitizeISO8601Date = (dateString) => {
|
|
|
94
156
|
return new Date(dateString).toISOString();
|
|
95
157
|
};
|
|
96
158
|
|
|
97
|
-
const mdsPushNotificationCss = "@tailwind components;\n@tailwind utilities;\n\n:host {\n\n --mds-push-notification-duration: 200ms;\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--tone-neutral-04));\n --mds-push-notification-message-line-clamp: 2;\n --mds-push-notification-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --mds-push-notification-subject-line-clamp: 1;\n --mds-push-notification-timing-function: cubic-bezier(1, 0, 0, 1);\n min-width: 18rem;\n max-width: 20rem;\n gap: 1rem;\n border-radius: 0.5rem;\n padding: 1rem;\n padding-right: 2rem;\n\n -ms-flex-align: start;\n\n align-items: flex-start;\n background-color: rgb(var(--tone-neutral));\n -webkit-box-shadow: var(--mds-push-notification-shadow);\n box-shadow: var(--mds-push-notification-shadow);\n color: rgb(var(--tone-neutral-02));\n display: -ms-flexbox;\n display: flex;\n pointer-events: auto;\n position: relative;\n -webkit-transition-duration: var(--mds-push-notification-duration);\n transition-duration: var(--mds-push-notification-duration);\n -webkit-transition-property: background-color, color, margin, -webkit-box-shadow, -webkit-transform;\n transition-property: background-color, color, margin, -webkit-box-shadow, -webkit-transform;\n transition-property: background-color, box-shadow, color, margin, transform;\n transition-property: background-color, box-shadow, color, margin, transform, -webkit-box-shadow, -webkit-transform;\n -webkit-transition-timing-function: var(--mds-push-notification-timing-function);\n transition-timing-function: var(--mds-push-notification-timing-function);\n}\n\n:host([deletable=\"false\"]){\n\n padding-right: 1rem;\n}\n\n.content {\n display: grid;\n -ms-flex-positive: 1;\n flex-grow: 1;\n}\n\n.actions{\n\n gap: 0.5rem;\n\n padding-top: 0.5rem;\n\n display: -ms-flexbox;\n\n display: flex;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n min-width: 1px;\n}\n\n.avatar,\n.picture {\n -ms-flex-negative: 0;\n flex-shrink: 0;\n}\n\n.picture{\n\n max-width: 3rem;\n\n border-radius: 0.25rem;\n\n -webkit-box-shadow: 0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 2px 0 rgb(0 0 0 / 0.05);\n\n box-shadow: 0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 2px 0 rgb(0 0 0 / 0.05);\n width: 100%;\n}\n\n.close-button{\n\n padding: 0.375rem;\n\n -webkit-transition-property: opacity;\n\n transition-property: opacity;\n\n -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n -webkit-transition-duration: 150ms;\n\n transition-duration: 150ms;\n\n background-color: transparent;\n fill: rgb(var(--tone-neutral-06));\n opacity: 0;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n:host(:hover) .close-button {\n opacity: 1;\n}\n\n.close-button:focus-visible,\n.close-button:hover {\n fill: rgb(var(--tone-neutral-03));\n opacity: 1;\n}\n\nheader{\n\n gap: 0.25rem;\n\n -ms-flex-align: baseline;\n\n align-items: baseline;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: justify;\n justify-content: space-between;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.infos {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n}\n\n.time{\n\n margin-right: 0.25rem;\n\n -ms-flex-negative: 0;\n\n flex-shrink: 0;\n white-space: nowrap;\n}\n\n.subject {\n\n --mds-text-line-clamp: var(--mds-push-notification-subject-line-clamp);\n\n line-height: 1.25rem;\n text-overflow: ellipsis;\n}\n\n.message {\n\n --mds-text-line-clamp: var(--mds-push-notification-message-line-clamp);\n\n line-height: 1.25rem;\n text-overflow: ellipsis;\n}\n\n.avatar{\n\n height: 2.25rem;\n\n width: 2.25rem;\n\n background-color: var(--mds-push-notification-icon-background-color);\n border-radius: 1000px;\n fill: var(--mds-push-notification-icon-color);\n}\n\n.avatar::part(svg){\n\n width: 1.5rem;\n}\n\n:host([src]) .avatar {\n background-color: transparent;\n}\n\n:host([icon]) .avatar::part(wrapper){\n\n padding: 0.375rem;\n}\n\n@tailwind utilities;\n\n:host( [variant=\"primary\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--brand-maggioli-05));\n --mds-push-notification-icon-color: rgb(var(--brand-maggioli-10));\n}\n\n:host( [variant=\"primary\"] ),\n:host( [variant=\"primary\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--brand-maggioli-09));\n --mds-push-notification-icon-color: rgb(var(--brand-maggioli-05));\n}\n\n:host( [variant=\"primary\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--brand-maggioli-05));\n}\n\n@tailwind utilities;\n\n:host( [variant=\"orange\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-orange-05));\n --mds-push-notification-icon-color: rgb(var(--label-orange-10));\n}\n\n:host( [variant=\"orange\"] ),\n:host( [variant=\"orange\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-orange-09));\n --mds-push-notification-icon-color: rgb(var(--label-orange-05));\n}\n\n:host( [variant=\"orange\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-orange-05));\n}\n\n:host( [variant=\"amaranth\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-amaranth-05));\n --mds-push-notification-icon-color: rgb(var(--label-amaranth-10));\n}\n\n:host( [variant=\"amaranth\"] ),\n:host( [variant=\"amaranth\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-amaranth-09));\n --mds-push-notification-icon-color: rgb(var(--label-amaranth-05));\n}\n\n:host( [variant=\"amaranth\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-amaranth-05));\n}\n\n:host( [variant=\"orchid\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-orchid-05));\n --mds-push-notification-icon-color: rgb(var(--label-orchid-10));\n}\n\n:host( [variant=\"orchid\"] ),\n:host( [variant=\"orchid\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-orchid-09));\n --mds-push-notification-icon-color: rgb(var(--label-orchid-05));\n}\n\n:host( [variant=\"orchid\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-orchid-05));\n}\n\n:host( [variant=\"violet\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-violet-05));\n --mds-push-notification-icon-color: rgb(var(--label-violet-10));\n}\n\n:host( [variant=\"violet\"] ),\n:host( [variant=\"violet\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-violet-09));\n --mds-push-notification-icon-color: rgb(var(--label-violet-05));\n}\n\n:host( [variant=\"violet\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-violet-05));\n}\n\n:host( [variant=\"blue\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-blue-05));\n --mds-push-notification-icon-color: rgb(var(--label-blue-10));\n}\n\n:host( [variant=\"blue\"] ),\n:host( [variant=\"blue\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-blue-09));\n --mds-push-notification-icon-color: rgb(var(--label-blue-05));\n}\n\n:host( [variant=\"blue\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-blue-05));\n}\n\n:host( [variant=\"sky\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-sky-05));\n --mds-push-notification-icon-color: rgb(var(--label-sky-10));\n}\n\n:host( [variant=\"sky\"] ),\n:host( [variant=\"sky\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-sky-09));\n --mds-push-notification-icon-color: rgb(var(--label-sky-05));\n}\n\n:host( [variant=\"sky\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-sky-05));\n}\n\n:host( [variant=\"aqua\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-aqua-05));\n --mds-push-notification-icon-color: rgb(var(--label-aqua-10));\n}\n\n:host( [variant=\"aqua\"] ),\n:host( [variant=\"aqua\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-aqua-09));\n --mds-push-notification-icon-color: rgb(var(--label-aqua-05));\n}\n\n:host( [variant=\"aqua\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-aqua-05));\n}\n\n:host( [variant=\"green\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-green-05));\n --mds-push-notification-icon-color: rgb(var(--label-green-10));\n}\n\n:host( [variant=\"green\"] ),\n:host( [variant=\"green\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-green-09));\n --mds-push-notification-icon-color: rgb(var(--label-green-05));\n}\n\n:host( [variant=\"green\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-green-05));\n}\n\n:host( [variant=\"lime\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-lime-05));\n --mds-push-notification-icon-color: rgb(var(--label-lime-10));\n}\n\n:host( [variant=\"lime\"] ),\n:host( [variant=\"lime\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-lime-09));\n --mds-push-notification-icon-color: rgb(var(--label-lime-05));\n}\n\n:host( [variant=\"lime\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-lime-05));\n}\n\n:host( [variant=\"yellow\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-yellow-05));\n --mds-push-notification-icon-color: rgb(var(--label-yellow-10));\n}\n\n:host( [variant=\"yellow\"] ),\n:host( [variant=\"yellow\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-yellow-09));\n --mds-push-notification-icon-color: rgb(var(--label-yellow-05));\n}\n\n:host( [variant=\"yellow\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-yellow-05));\n}\n\n@tailwind utilities;\n\n:host( [variant=\"error\"][tone=\"strong\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--status-error-05));\n --mds-push-notification-icon-color: rgb(var(--status-error-10));\n}\n\n:host( [variant=\"error\"] ),\n:host( [variant=\"error\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--status-error-09));\n --mds-push-notification-icon-color: rgb(var(--status-error-05));\n}\n\n:host( [variant=\"error\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--status-error-05));\n}\n\n:host( [variant=\"warning\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--status-warning-05));\n --mds-push-notification-icon-color: rgb(var(--status-warning-10));\n}\n\n:host( [variant=\"warning\"] ),\n:host( [variant=\"warning\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--status-warning-09));\n --mds-push-notification-icon-color: rgb(var(--status-warning-05));\n}\n\n:host( [variant=\"warning\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--status-warning-05));\n}\n\n:host( [variant=\"success\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--status-success-05));\n --mds-push-notification-icon-color: rgb(var(--status-success-10));\n}\n\n:host( [variant=\"success\"] ),\n:host( [variant=\"success\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--status-success-09));\n --mds-push-notification-icon-color: rgb(var(--status-success-05));\n}\n\n:host( [variant=\"success\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--status-success-05));\n}\n\n:host( [variant=\"info\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--status-info-05));\n --mds-push-notification-icon-color: rgb(var(--status-info-10));\n}\n\n:host( [variant=\"info\"] ),\n:host( [variant=\"info\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--status-info-09));\n --mds-push-notification-icon-color: rgb(var(--status-info-05));\n}\n\n:host( [variant=\"info\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--status-info-05));\n}\n\n@tailwind utilities;\n\n@container style(--magma-pref-animation: reduce) {\n :host,\n .close-button {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n\n@container style(--magma-pref-animation: system) {\n\n @media (prefers-reduced-motion) {\n :host,\n .close-button {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n }\n}\n\n@tailwind utilities;\n\n@container style(--magma-pref-theme: dark) {\n :host {\n\n --mds-push-notification-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3) inset;\n }\n}\n\n@container style(--magma-pref-theme: system) {\n\n @media (prefers-color-scheme: dark) {\n :host {\n\n --mds-push-notification-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3) inset;\n }\n }\n}\n\n@container style(--magma-pref-contrast: more) {\n :host {\n\n --mds-push-notification-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.6) inset;\n\n color: rgb(var(--tone-neutral-01));\n }\n}\n\n@container style(--magma-pref-contrast: system) {\n\n @media (prefers-contrast: more) {\n :host {\n\n --mds-push-notification-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.6) inset;\n\n color: rgb(var(--tone-neutral-01));\n }\n }\n}\n\n";
|
|
159
|
+
const mdsPushNotificationCss = "@tailwind components;\n@tailwind utilities;\n\n:host {\n\n --mds-push-notification-duration: 200ms;\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--tone-neutral-04));\n --mds-push-notification-message-line-clamp: 2;\n --mds-push-notification-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --mds-push-notification-subject-line-clamp: 1;\n --mds-push-notification-timing-function: cubic-bezier(1, 0, 0, 1);\n min-width: 18rem;\n max-width: 20rem;\n gap: 1rem;\n border-radius: 0.5rem;\n padding: 1rem;\n padding-right: 2rem;\n\n -ms-flex-align: start;\n\n align-items: flex-start;\n background-color: rgb(var(--tone-neutral));\n -webkit-box-shadow: var(--mds-push-notification-shadow);\n box-shadow: var(--mds-push-notification-shadow);\n color: rgb(var(--tone-neutral-02));\n display: -ms-flexbox;\n display: flex;\n pointer-events: auto;\n position: relative;\n -webkit-transition-duration: var(--mds-push-notification-duration);\n transition-duration: var(--mds-push-notification-duration);\n -webkit-transition-property: background-color, color, margin, -webkit-box-shadow, -webkit-transform;\n transition-property: background-color, color, margin, -webkit-box-shadow, -webkit-transform;\n transition-property: background-color, box-shadow, color, margin, transform;\n transition-property: background-color, box-shadow, color, margin, transform, -webkit-box-shadow, -webkit-transform;\n -webkit-transition-timing-function: var(--mds-push-notification-timing-function);\n transition-timing-function: var(--mds-push-notification-timing-function);\n}\n\n:host([deletable=\"false\"]){\n\n padding-right: 1rem;\n}\n\n.content {\n display: grid;\n -ms-flex-positive: 1;\n flex-grow: 1;\n}\n\n.actions{\n\n gap: 0.5rem;\n\n padding-top: 0.5rem;\n\n display: -ms-flexbox;\n\n display: flex;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n min-width: 1px;\n}\n\n.avatar,\n.picture {\n -ms-flex-negative: 0;\n flex-shrink: 0;\n}\n\n.picture{\n\n max-width: 3rem;\n\n border-radius: 0.25rem;\n\n -webkit-box-shadow: 0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 2px 0 rgb(0 0 0 / 0.05);\n\n box-shadow: 0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 2px 0 rgb(0 0 0 / 0.05);\n width: 100%;\n}\n\n.close-button{\n\n padding: 0.375rem;\n\n -webkit-transition-property: opacity;\n\n transition-property: opacity;\n\n -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n -webkit-transition-duration: 150ms;\n\n transition-duration: 150ms;\n\n background-color: transparent;\n fill: rgb(var(--tone-neutral-06));\n opacity: 0;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n:host(:hover) .close-button {\n opacity: 1;\n}\n\n.close-button:focus-visible,\n.close-button:hover {\n fill: rgb(var(--tone-neutral-03));\n opacity: 1;\n}\n\nheader{\n\n gap: 0.25rem;\n\n -ms-flex-align: baseline;\n\n align-items: baseline;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: justify;\n justify-content: space-between;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.infos {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n}\n\n.time{\n\n margin-right: 0.25rem;\n\n -ms-flex-negative: 0;\n\n flex-shrink: 0;\n white-space: nowrap;\n}\n\n.subject {\n\n --mds-text-line-clamp: var(--mds-push-notification-subject-line-clamp);\n\n line-height: 1.25rem;\n text-overflow: ellipsis;\n}\n\n.message {\n\n --mds-text-line-clamp: var(--mds-push-notification-message-line-clamp);\n\n line-height: 1.25rem;\n text-overflow: ellipsis;\n}\n\n.avatar{\n\n height: 2.25rem;\n\n width: 2.25rem;\n\n background-color: var(--mds-push-notification-icon-background-color);\n border-radius: 1000px;\n fill: var(--mds-push-notification-icon-color);\n}\n\n.avatar::part(svg){\n\n width: 1.5rem;\n}\n\n:host([src]) .avatar {\n background-color: transparent;\n}\n\n:host([icon]) .avatar::part(wrapper){\n\n padding: 0.375rem;\n}\n\n@tailwind utilities;\n\n:host( [variant=\"primary\"][tone=\"strong\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--variant-primary-05));\n --mds-push-notification-icon-color: rgb(var(--variant-primary-10));\n}\n\n:host( [variant=\"primary\"] ),\n:host( [variant=\"primary\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--variant-primary-09));\n --mds-push-notification-icon-color: rgb(var(--variant-primary-05));\n}\n\n:host( [variant=\"primary\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--variant-primary-05));\n}\n\n@tailwind utilities;\n\n:host( [variant=\"orange\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-orange-05));\n --mds-push-notification-icon-color: rgb(var(--label-orange-10));\n}\n\n:host( [variant=\"orange\"] ),\n:host( [variant=\"orange\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-orange-09));\n --mds-push-notification-icon-color: rgb(var(--label-orange-05));\n}\n\n:host( [variant=\"orange\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-orange-05));\n}\n\n:host( [variant=\"amaranth\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-amaranth-05));\n --mds-push-notification-icon-color: rgb(var(--label-amaranth-10));\n}\n\n:host( [variant=\"amaranth\"] ),\n:host( [variant=\"amaranth\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-amaranth-09));\n --mds-push-notification-icon-color: rgb(var(--label-amaranth-05));\n}\n\n:host( [variant=\"amaranth\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-amaranth-05));\n}\n\n:host( [variant=\"orchid\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-orchid-05));\n --mds-push-notification-icon-color: rgb(var(--label-orchid-10));\n}\n\n:host( [variant=\"orchid\"] ),\n:host( [variant=\"orchid\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-orchid-09));\n --mds-push-notification-icon-color: rgb(var(--label-orchid-05));\n}\n\n:host( [variant=\"orchid\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-orchid-05));\n}\n\n:host( [variant=\"violet\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-violet-05));\n --mds-push-notification-icon-color: rgb(var(--label-violet-10));\n}\n\n:host( [variant=\"violet\"] ),\n:host( [variant=\"violet\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-violet-09));\n --mds-push-notification-icon-color: rgb(var(--label-violet-05));\n}\n\n:host( [variant=\"violet\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-violet-05));\n}\n\n:host( [variant=\"blue\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-blue-05));\n --mds-push-notification-icon-color: rgb(var(--label-blue-10));\n}\n\n:host( [variant=\"blue\"] ),\n:host( [variant=\"blue\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-blue-09));\n --mds-push-notification-icon-color: rgb(var(--label-blue-05));\n}\n\n:host( [variant=\"blue\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-blue-05));\n}\n\n:host( [variant=\"sky\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-sky-05));\n --mds-push-notification-icon-color: rgb(var(--label-sky-10));\n}\n\n:host( [variant=\"sky\"] ),\n:host( [variant=\"sky\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-sky-09));\n --mds-push-notification-icon-color: rgb(var(--label-sky-05));\n}\n\n:host( [variant=\"sky\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-sky-05));\n}\n\n:host( [variant=\"aqua\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-aqua-05));\n --mds-push-notification-icon-color: rgb(var(--label-aqua-10));\n}\n\n:host( [variant=\"aqua\"] ),\n:host( [variant=\"aqua\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-aqua-09));\n --mds-push-notification-icon-color: rgb(var(--label-aqua-05));\n}\n\n:host( [variant=\"aqua\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-aqua-05));\n}\n\n:host( [variant=\"green\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-green-05));\n --mds-push-notification-icon-color: rgb(var(--label-green-10));\n}\n\n:host( [variant=\"green\"] ),\n:host( [variant=\"green\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-green-09));\n --mds-push-notification-icon-color: rgb(var(--label-green-05));\n}\n\n:host( [variant=\"green\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-green-05));\n}\n\n:host( [variant=\"lime\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-lime-05));\n --mds-push-notification-icon-color: rgb(var(--label-lime-10));\n}\n\n:host( [variant=\"lime\"] ),\n:host( [variant=\"lime\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-lime-09));\n --mds-push-notification-icon-color: rgb(var(--label-lime-05));\n}\n\n:host( [variant=\"lime\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-lime-05));\n}\n\n:host( [variant=\"yellow\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-yellow-05));\n --mds-push-notification-icon-color: rgb(var(--label-yellow-10));\n}\n\n:host( [variant=\"yellow\"] ),\n:host( [variant=\"yellow\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-yellow-09));\n --mds-push-notification-icon-color: rgb(var(--label-yellow-05));\n}\n\n:host( [variant=\"yellow\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-yellow-05));\n}\n\n@tailwind utilities;\n\n:host( [variant=\"error\"][tone=\"strong\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--status-error-05));\n --mds-push-notification-icon-color: rgb(var(--status-error-10));\n}\n\n:host( [variant=\"error\"] ),\n:host( [variant=\"error\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--status-error-09));\n --mds-push-notification-icon-color: rgb(var(--status-error-05));\n}\n\n:host( [variant=\"error\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--status-error-05));\n}\n\n:host( [variant=\"warning\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--status-warning-05));\n --mds-push-notification-icon-color: rgb(var(--status-warning-10));\n}\n\n:host( [variant=\"warning\"] ),\n:host( [variant=\"warning\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--status-warning-09));\n --mds-push-notification-icon-color: rgb(var(--status-warning-05));\n}\n\n:host( [variant=\"warning\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--status-warning-05));\n}\n\n:host( [variant=\"success\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--status-success-05));\n --mds-push-notification-icon-color: rgb(var(--status-success-10));\n}\n\n:host( [variant=\"success\"] ),\n:host( [variant=\"success\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--status-success-09));\n --mds-push-notification-icon-color: rgb(var(--status-success-05));\n}\n\n:host( [variant=\"success\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--status-success-05));\n}\n\n:host( [variant=\"info\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--status-info-05));\n --mds-push-notification-icon-color: rgb(var(--status-info-10));\n}\n\n:host( [variant=\"info\"] ),\n:host( [variant=\"info\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--status-info-09));\n --mds-push-notification-icon-color: rgb(var(--status-info-05));\n}\n\n:host( [variant=\"info\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--status-info-05));\n}\n\n@tailwind utilities;\n\n@container style(--magma-pref-animation: reduce) {\n :host,\n .close-button {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n\n@container style(--magma-pref-animation: system) {\n\n @media (prefers-reduced-motion) {\n :host,\n .close-button {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n }\n}\n\n@tailwind utilities;\n\n@container style(--magma-pref-theme: dark) {\n :host {\n\n --mds-push-notification-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3) inset;\n }\n}\n\n@container style(--magma-pref-theme: system) {\n\n @media (prefers-color-scheme: dark) {\n :host {\n\n --mds-push-notification-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3) inset;\n }\n }\n}\n\n@container style(--magma-pref-contrast: more) {\n :host {\n\n --mds-push-notification-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.6) inset;\n\n color: rgb(var(--tone-neutral-01));\n }\n}\n\n@container style(--magma-pref-contrast: system) {\n\n @media (prefers-contrast: more) {\n :host {\n\n --mds-push-notification-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.6) inset;\n\n color: rgb(var(--tone-neutral-01));\n }\n }\n}\n\n";
|
|
98
160
|
const MdsPushNotificationStyle0 = mdsPushNotificationCss;
|
|
99
161
|
|
|
100
162
|
dayjs.extend(relativeTime);
|
|
@@ -103,13 +165,16 @@ const MdsPushNotification = class {
|
|
|
103
165
|
registerInstance(this, hostRef);
|
|
104
166
|
this.closedEvent = createEvent(this, "mdsPushNotificationClose", 7);
|
|
105
167
|
this.t = new Locale({
|
|
168
|
+
el: localeEl,
|
|
106
169
|
en: localeEn,
|
|
170
|
+
es: localeEs,
|
|
107
171
|
it: localeIt,
|
|
108
172
|
});
|
|
109
173
|
this.onClickClose = (e) => {
|
|
110
174
|
e.stopPropagation();
|
|
111
175
|
this.closedEvent.emit();
|
|
112
176
|
};
|
|
177
|
+
this.language = undefined;
|
|
113
178
|
this.datetime = undefined;
|
|
114
179
|
this.dateFormat = 'timeago';
|
|
115
180
|
this.deletable = true;
|
|
@@ -122,6 +187,9 @@ const MdsPushNotification = class {
|
|
|
122
187
|
this.tone = 'weak';
|
|
123
188
|
this.variant = undefined;
|
|
124
189
|
}
|
|
190
|
+
async updateLang() {
|
|
191
|
+
this.language = this.t.lang(this.host);
|
|
192
|
+
}
|
|
125
193
|
componentWillLoad() {
|
|
126
194
|
var _a;
|
|
127
195
|
this.hasActions = this.host.querySelector('[slot="actions"]') !== null;
|
|
@@ -149,9 +217,9 @@ const MdsPushNotification = class {
|
|
|
149
217
|
}
|
|
150
218
|
render() {
|
|
151
219
|
var _a;
|
|
152
|
-
return (h$
|
|
220
|
+
return (h$4(Host, { key: 'fb0bb49a54e0059779a7507b6204a4fb95e6d416' }, ((_a = this.icon) !== null && _a !== void 0 ? _a : this.preview === 'avatar') && h$4("mds-avatar", { key: '36df14237eae97491ca677ed507419d587abe139', class: "avatar", icon: this.icon, initials: this.initials, part: "avatar", src: this.src, tone: this.tone, variant: this.variant }), this.src && this.preview !== 'avatar' && h$4("mds-img", { key: 'd1c26548d723f1b624294a561efbbae8e5e0a133', class: "picture", part: "picture", src: this.src }), h$4("div", { key: '19c9c55ab9f35433aaa17857ef637878e2c3674d', class: "content", part: "content" }, h$4("div", { key: 'bc1d02a555df4f14a4075f012b0b5a1d5a383a6c', class: "header" }, h$4("div", { key: 'dd1cfea1b3e978de93c06fb96e3d301b42155f10', class: "infos" }, this.hasBadge && h$4("div", { key: '17128b559b34384f4f20afab1a07654fd8f81f39' }, h$4("slot", { key: '5087eb822c4f1ac96b96e8bae51597583cf6f8b0', name: "badge" })), this.subject && h$4("mds-text", { key: '7b57beff77694fa4a7a0e95199060d9e8481c97a', class: "subject", typography: "h6", variant: "title", truncate: "all" }, this.subject)), this.datetime && h$4("mds-text", { key: 'f6138c1053bbeba3f7b0098f2b4d107f9a504792', class: "time", typography: "option" }, this.dateFormat === 'timeago'
|
|
153
221
|
? dayjs(this.datetime).fromNow()
|
|
154
|
-
: dayjs(this.datetime).format(this.dateFormat))), h$
|
|
222
|
+
: dayjs(this.datetime).format(this.dateFormat))), h$4("mds-text", { key: 'c870d5168b8bf0ac69cbd0c0b7f9544df1261e48', class: "message", truncate: "all", typography: "caption", variant: "info" }, this.message), this.hasActions && h$4("div", { key: 'a49ec7b8adbfc94d9f09ee6ebab2bb9831954877', class: "actions", part: "actions" }, h$4("slot", { key: 'bc30e20478153457a333a21eb5caee616dbdba7d', name: "actions" }))), this.deletable && h$4("mds-button", { key: '0fc28572cbfb9c53412ab5bb3eb5d3989f0cc1a1', class: "close-button", title: this.t.get('dismiss'), icon: miBaselineCancel, onClick: this.onClickClose.bind(this) })));
|
|
155
223
|
}
|
|
156
224
|
get host() { return getElement(this); }
|
|
157
225
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
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-44fd80a1.js';
|
|
2
2
|
import { a as cssSizeToNumber, c as cssDurationToMilliseconds } from './unit-dc091397.js';
|
|
3
3
|
|
|
4
4
|
const mdsPushNotificationsCss = ":host{--mds-push-notifications-fadeout-delay:3s;--mds-push-notifications-gap:0.5rem;--mds-push-notifications-items-delay:400ms;--mds-push-notifications-items-duration:300ms;--mds-push-notifications-items-gap:var(--mds-push-notifications-gap);--mds-push-notifications-items-timing-function:cubic-bezier(0.86, 0, 0.07, 1);min-width:18rem;max-width:360px;gap:0.5rem;padding:1rem;-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(1, 0, 0, 1);transition-timing-function:cubic-bezier(1, 0, 0, 1);bottom:0;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:auto;pointer-events:none;position:fixed;right:0;top:0;-webkit-transform:translate(100%, 0);transform:translate(100%, 0);-webkit-transition-delay:0;transition-delay:0;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;z-index:var(--magma-notification-z-index, 3000)}:host([visible]:not([visible=\"false\"])){-webkit-transform:translate(0, 0);transform:translate(0, 0);-webkit-transition-delay:var(--mds-push-notifications-fadeout-delay);transition-delay:var(--mds-push-notifications-fadeout-delay)}.notifications{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse;gap:var(--mds-push-notifications-items-gap)}.notifications ::slotted(mds-push-notification){--mds-push-notification-duration:var(--mds-push-notifications-items-duration);--mds-push-notification-timing-function:var(--mds-push-notifications-items-timing-function);position:absolute;-webkit-transform:translate(calc(100% + calc(var(--mds-push-notifications-gap) + var(--mds-push-notifications-gap))), 0);transform:translate(calc(100% + calc(var(--mds-push-notifications-gap) + var(--mds-push-notifications-gap))), 0);visibility:hidden}";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-44fd80a1.js';
|
|
2
2
|
|
|
3
3
|
const mdsQuoteCss = "@tailwind utilities;\n\n:host {\n display: -ms-inline-flexbox;\n display: inline-flex\n}\n\n.open-quote {\n -ms-flex-negative: 0;\n flex-shrink: 0;\n}\n\n.quote{\n gap: 1rem;\n\n display: grid;\n -webkit-user-select: all;\n -moz-user-select: all;\n user-select: all\n}\n\nspan {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n@container style(--magma-pref-contrast: more) {\n :host {\n color: rgb(var(--tone-neutral-01));\n }\n}\n\n@container style(--magma-pref-contrast: system) {\n\n @media (prefers-contrast: more) {\n :host {\n color: rgb(var(--tone-neutral-01));\n }\n }\n}\n\n";
|
|
4
4
|
const MdsQuoteStyle0 = mdsQuoteCss;
|
|
@@ -7,9 +7,10 @@ const MdsQuote = class {
|
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
this.typography = 'h3';
|
|
10
|
+
this.tag = 'h3';
|
|
10
11
|
}
|
|
11
12
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '0c7690c8a35c1cdeaf32476a37acffec7b8f323d' }, h("mds-text", { key: 'b3e21e3678fe93551b87f642f78fdda8a9525d60', class: "open-quote", tag: "div", typography: this.typography }, h("span", { key: '695196efbc951ec814efb9cb7421c21493ee60ab' }, h("i", { key: '8453cac06ebaf5e23127c5ecb4c8124e7916ce81' }, "\u275D\u00A0"))), h("div", { key: '0092ce2020ee2ccdc930fede05559c13a54f7134', class: "quote" }, h("mds-text", { key: 'a25408cfbee178885d94b7d9a6a6c135798a866f', tag: this.tag, typography: this.typography }, h("i", { key: 'f710bf1614b4532447fcec84e8209059b192bec9' }, h("slot", { key: '88c75e40ac0a6edbbc5ef0385b41059737522e9c' }), h("span", { key: '612a391d4da1efb238cc6da17a87bdf5146a6c85' }, "\u00A0\u275E"))), h("slot", { key: '8ee3f36a5fa48c2ef77813c00c91f94316805240', name: "author" }))));
|
|
13
14
|
}
|
|
14
15
|
};
|
|
15
16
|
MdsQuote.style = MdsQuoteStyle0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-44fd80a1.js';
|
|
2
2
|
|
|
3
|
-
const mdsSeparatorCss = "@tailwind utilities;\n\n:host {\n\n --mds-separator-background: rgb(var(--tone-neutral-08));\n\n height: 1px;\n\n border-radius: 9999px;\n\n background-color: var(--mds-separator-background);\n display: -ms-flexbox;\n display: flex;\n}\n\n@container style(--magma-pref-theme: dark) {\n :host {\n\n --mds-separator-background: rgb(var(--tone-neutral-07));\n }\n}\n\n@container style(--magma-pref-theme: system) {\n\n @media (prefers-color-scheme: dark) {\n :host {\n\n --mds-separator-background: rgb(var(--tone-neutral-07));\n }\n }\n}\n\n@container style(--magma-pref-contrast: more) {\n :host {\n\n --mds-separator-background: rgb(var(--tone-neutral-06));\n }\n}\n\n@container style(--magma-pref-contrast: system) {\n\n @media (prefers-contrast: more) {\n :host {\n\n --mds-separator-background: rgb(var(--tone-neutral-06));\n }\n }\n}\n\n";
|
|
3
|
+
const mdsSeparatorCss = "@tailwind utilities;\n\n:host {\n\n --mds-separator-background: rgb(var(--tone-neutral-08));\n\n height: 1px;\n\n border-radius: 9999px;\n\n background-color: var(--mds-separator-background);\n display: -ms-flexbox;\n display: flex;\n}\n\n@tailwind utilities;\n\n@container style(--magma-pref-theme: dark) {\n :host {\n\n --mds-separator-background: rgb(var(--tone-neutral-07));\n }\n}\n\n@container style(--magma-pref-theme: system) {\n\n @media (prefers-color-scheme: dark) {\n :host {\n\n --mds-separator-background: rgb(var(--tone-neutral-07));\n }\n }\n}\n\n@container style(--magma-pref-contrast: more) {\n :host {\n\n --mds-separator-background: rgb(var(--tone-neutral-06));\n }\n}\n\n@container style(--magma-pref-contrast: system) {\n\n @media (prefers-contrast: more) {\n :host {\n\n --mds-separator-background: rgb(var(--tone-neutral-06));\n }\n }\n}\n\n";
|
|
4
4
|
const MdsSeparatorStyle0 = mdsSeparatorCss;
|
|
5
5
|
|
|
6
6
|
const MdsSeparator = class {
|
|
@@ -1,7 +1,7 @@
|
|
|
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-44fd80a1.js';
|
|
2
2
|
import { c as clsx } from './clsx-297c1ffe.js';
|
|
3
3
|
|
|
4
|
-
const mdsStepperBarItemCss = "@tailwind components;\n@tailwind utilities;\n\n/**\n * @prop --mds-stepper-bar-item-color: Sets the color of the text\n * @prop --mds-stepper-bar-item-duaration: Sets the duration of the animation\n * @prop --mds-stepper-bar-item-icon-background-done: Sets the background-color of the icon when the component is done\n * @prop --mds-stepper-bar-item-icon-background-current: Sets the background-color of the icon when the component is current\n * @prop --mds-stepper-bar-item-icon-background: Sets the background-color of the icon\n * @prop --mds-stepper-bar-item-icon-color-done: Sets the color of the icon when the component is done\n * @prop --mds-stepper-bar-item-icon-color-current: Sets the color of the icon when the component is current\n * @prop --mds-stepper-bar-item-icon-color: Sets the color of the icon\n * @prop --mds-stepper-bar-item-icon-ring-size: Sets the size of the icon circle when the component is current\n * @prop --mds-stepper-bar-item-min-width: Sets the minimum width of the component\n * @prop --mds-stepper-bar-item-progress-background: Sets the background color of the progress bar\n * @prop --mds-stepper-bar-item-progress-color: Sets the color of the progress bar\n * @prop --mds-stepper-bar-item-progress-thickness: Sets the thickness of the progress bar\n */\n\n:host {\n\n --mds-stepper-bar-item-color: rgb(var(--tone-neutral-03));\n --mds-stepper-bar-item-duaration: 250ms;\n --mds-stepper-bar-item-icon-background-done: rgb(var(--status-success-05));\n --mds-stepper-bar-item-icon-background-current: rgb(var(--
|
|
4
|
+
const mdsStepperBarItemCss = "@tailwind components;\n@tailwind utilities;\n\n/**\n * @prop --mds-stepper-bar-item-color: Sets the color of the text\n * @prop --mds-stepper-bar-item-duaration: Sets the duration of the animation\n * @prop --mds-stepper-bar-item-icon-background-done: Sets the background-color of the icon when the component is done\n * @prop --mds-stepper-bar-item-icon-background-current: Sets the background-color of the icon when the component is current\n * @prop --mds-stepper-bar-item-icon-background: Sets the background-color of the icon\n * @prop --mds-stepper-bar-item-icon-color-done: Sets the color of the icon when the component is done\n * @prop --mds-stepper-bar-item-icon-color-current: Sets the color of the icon when the component is current\n * @prop --mds-stepper-bar-item-icon-color: Sets the color of the icon\n * @prop --mds-stepper-bar-item-icon-ring-size: Sets the size of the icon circle when the component is current\n * @prop --mds-stepper-bar-item-min-width: Sets the minimum width of the component\n * @prop --mds-stepper-bar-item-progress-background: Sets the background color of the progress bar\n * @prop --mds-stepper-bar-item-progress-color: Sets the color of the progress bar\n * @prop --mds-stepper-bar-item-progress-thickness: Sets the thickness of the progress bar\n */\n\n:host {\n\n --mds-stepper-bar-item-color: rgb(var(--tone-neutral-03));\n --mds-stepper-bar-item-duaration: 250ms;\n --mds-stepper-bar-item-icon-background-done: rgb(var(--status-success-05));\n --mds-stepper-bar-item-icon-background-current: rgb(var(--variant-primary-04));\n --mds-stepper-bar-item-icon-background: var(--mds-stepper-bar-item-progress-background, rgb(var(--tone-neutral-08)));\n --mds-stepper-bar-item-icon-color-done: rgb(var(--status-success-10));\n --mds-stepper-bar-item-icon-color-current: rgb(var(--tone-neutral));\n --mds-stepper-bar-item-icon-color: rgb(var(--tone-neutral-04));\n --mds-stepper-bar-item-icon-ring-color: var(--mds-stepper-bar-item-icon-background-current);\n --mds-stepper-bar-item-icon-ring-separator-color: rgb(var(--tone-neutral));\n --mds-stepper-bar-item-icon-ring-separator-size: 0.375rem;\n --mds-stepper-bar-item-icon-ring-size: 0.25rem;\n --mds-stepper-bar-item-min-width: 180px;\n --mds-stepper-bar-item-progress-background: rgb(var(--tone-neutral-08));\n --mds-stepper-bar-item-progress-color: rgb(var(--status-success-04));\n --mds-stepper-bar-item-progress-thickness: 0.5rem;\n gap: 1rem;\n\n -ms-flex-align: start;\n\n align-items: flex-start;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-positive: 1;\n flex-grow: 1;\n -ms-flex-negative: 0;\n flex-shrink: 0;\n min-width: var(--mds-stepper-bar-item-min-width);\n padding-left: calc(var(--mds-stepper-bar-item-icon-ring-size) + var(--mds-stepper-bar-item-icon-ring-separator-size));\n padding-top: calc(var(--mds-stepper-bar-item-icon-ring-size) + var(--mds-stepper-bar-item-icon-ring-separator-size));\n position: relative;\n scroll-snap-align: center;\n -webkit-transition-property: outline, outline-offset;\n transition-property: outline, outline-offset;\n}\n\n:host( :last-of-type ){\n\n -ms-flex-preferred-size: 0.25rem;\n\n flex-basis: 0.25rem;\n}\n\n:host( :last-of-type ) .progress {\n display: hidden;\n}\n\n:host([done]) .icon {\n\n --mds-stepper-bar-item-icon-background: var(--mds-stepper-bar-item-icon-background-done);\n --mds-stepper-bar-item-icon-color: var(--mds-stepper-bar-item-icon-color-done);\n\n -webkit-transition-delay: 0ms;\n\n transition-delay: 0ms;\n}\n\n:host([current]) .icon {\n\n --mds-stepper-bar-item-icon-background: var(--mds-stepper-bar-item-icon-background-current);\n --mds-stepper-bar-item-icon-color: var(--mds-stepper-bar-item-icon-color-current);\n\n -webkit-transition-delay: calc(var(--mds-stepper-bar-item-duaration) / 2);\n\n transition-delay: calc(var(--mds-stepper-bar-item-duaration) / 2);\n}\n\n:host(:not([done])) .icon,\n:host(:not([current])) .icon {\n\n --mds-stepper-bar-item-icon-ring-color: var(--mds-stepper-bar-item-icon-background);\n}\n\n.header{\n\n width: 100%;\n\n border-radius: 0.375rem;\n\n -webkit-transition-duration: 200ms;\n\n transition-duration: 200ms;\n\n -webkit-transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n\n transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n\n -ms-flex-align: center;\n\n align-items: center;\n display: -ms-flexbox;\n display: flex;\n -webkit-transition-property: outline, outline-offset;\n transition-property: outline, outline-offset;\n}\n\n.icon{\n\n border-radius: 9999px;\n\n padding: 0.5rem;\n\n -webkit-transition-duration: 150ms;\n\n transition-duration: 150ms;\n\n -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n background-color: var(--mds-stepper-bar-item-icon-background);\n -webkit-box-shadow: 0 0 0 var(--mds-stepper-bar-item-icon-ring-size) var(--mds-stepper-bar-item-icon-ring-color), 0 0 0 var(--mds-stepper-bar-item-icon-ring-separator-size) var(--mds-stepper-bar-item-icon-ring-separator-color);\n box-shadow: 0 0 0 var(--mds-stepper-bar-item-icon-ring-size) var(--mds-stepper-bar-item-icon-ring-color), 0 0 0 var(--mds-stepper-bar-item-icon-ring-separator-size) var(--mds-stepper-bar-item-icon-ring-separator-color);\n display: -ms-flexbox;\n display: flex;\n fill: var(--mds-stepper-bar-item-icon-color);\n -ms-flex-negative: 0;\n flex-shrink: 0;\n position: relative;\n -webkit-transition-duration: var(--mds-stepper-bar-item-duaration);\n transition-duration: var(--mds-stepper-bar-item-duaration);\n -webkit-transition-property: background-color, fill, -webkit-box-shadow;\n transition-property: background-color, fill, -webkit-box-shadow;\n transition-property: background-color, box-shadow, fill;\n transition-property: background-color, box-shadow, fill, -webkit-box-shadow;\n}\n\n.progress {\n\n --mds-stepper-bar-item-background: var(--mds-stepper-bar-item-progress-background);\n --mds-stepper-bar-item-color: var(--mds-stepper-bar-item-progress-color);\n --mds-stepper-bar-item-thickness: var(--mds-stepper-bar-item-progress-thickness);\n margin-left: -0.25rem;\n\n -ms-flex-positive: 1;\n\n flex-grow: 1;\n margin-right: calc(calc(calc(var(--mds-stepper-bar-item-icon-ring-size) + var(--mds-stepper-bar-item-icon-ring-separator-size)) * -1) - 0.25rem);\n position: relative;\n z-index: -1;\n}\n\n.infos{\n\n gap: 0.25rem;\n\n padding-left: 0.25rem;\n\n display: grid;\n}\n\n.text{\n\n -webkit-transition-duration: 150ms;\n\n transition-duration: 150ms;\n\n -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n color: var(--mds-stepper-bar-item-color);\n pointer-events: none;\n -webkit-transition-duration: var(--mds-stepper-bar-item-duaration);\n transition-duration: var(--mds-stepper-bar-item-duaration);\n -webkit-transition-property: color;\n transition-property: color;\n}\n\n.badge{\n\n border-radius: 9999px;\n\n pointer-events: none;\n}\n\n.step{\n\n border-radius: 9999px;\n\n color: rgb(var(--tone-neutral-04));\n pointer-events: none;\n}\n\n@container style(--magma-pref-animation: reduce) {\n :host,\n .header,\n .icon,\n .text {\n -webkit-transition-delay: 0s !important;\n transition-delay: 0s !important;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n\n@container style(--magma-pref-animation: system) {\n\n @media (prefers-reduced-motion) {\n :host,\n .header,\n .icon,\n .text {\n -webkit-transition-delay: 0s !important;\n transition-delay: 0s !important;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n }\n}\n\n";
|
|
5
5
|
const MdsStepperBarItemStyle0 = mdsStepperBarItemCss;
|
|
6
6
|
|
|
7
7
|
const MdsStepperBarItem = class {
|
|
@@ -44,7 +44,7 @@ const MdsStepperBarItem = class {
|
|
|
44
44
|
this.isCurrent = newValue;
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return (h(Host, { key: '715f4ed46dd375ba551e95e0aa7cb4efc4a31f63' }, h("
|
|
47
|
+
return (h(Host, { key: '715f4ed46dd375ba551e95e0aa7cb4efc4a31f63' }, h("div", { key: 'a95536046218a876f6b58972111e3579f7db0b5b', class: "header", tabindex: "0" }, h("mds-icon", { key: '572bfcd53c28c751ec923c19a83ad2da516a087d', class: "icon", name: clsx(this.isDone && !this.isCurrent ? this.iconChecked : this.icon) }), h("mds-progress", { key: '7afca827a100f9676cc61c700754105a946ad988', "aria-hidden": "true", class: "progress", progress: this.isDone ? 1 : 0 })), h("div", { key: 'a0b34eaba6a2b818c63e9a21de8c5bb160b6ccc2', class: "infos" }, this.step && h("mds-text", { key: '2ae5ce5ab77172373301b8c36e16c1131fa0c046', class: "step", typography: "option" }, "step ", this.index + 1), this.label && h("mds-text", { key: '63b5bf25b4ae174725af0340701577699e333951', class: "text", typography: this.typography }, this.label), this.badge && h("div", { key: '569ed53badb0ee775fdfb487680378090f782b15' }, this.showBadge()))));
|
|
48
48
|
}
|
|
49
49
|
get host() { return getElement(this); }
|
|
50
50
|
static get watchers() { return {
|
|
@@ -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-44fd80a1.js';
|
|
2
2
|
|
|
3
3
|
const mdsStepperBarCss = "@tailwind utilities;\n\n:host{\n\n gap: 1.5rem;\n\n display: grid;\n position: relative;\n}\n\n.items{\n\n z-index: 10;\n\n width: 100%;\n\n gap: 0rem;\n\n display: -ms-flexbox;\n\n display: flex;\n -ms-flex-positive: 1;\n flex-grow: 1;\n overflow: auto;\n position: relative;\n scroll-behavior: smooth;\n -webkit-scroll-snap-type: x mandatory;\n -ms-scroll-snap-type: x mandatory;\n scroll-snap-type: x mandatory;\n}\n\n:host( [linear=\"true\"] ) ::slotted( mds-stepper-bar-item ),\n:host( [linear] ) ::slotted( mds-stepper-bar-item ) {\n pointer-events: none;\n}\n\n:host( [linear=\"false\"] ) ::slotted( mds-stepper-bar-item ) {\n pointer-events: auto;\n}\n\n\n.contents{\n\n width: 100%;\n\n opacity: 0;\n\n -webkit-transition-property: opacity;\n\n transition-property: opacity;\n\n -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n -webkit-transition-duration: 150ms;\n\n transition-duration: 150ms;\n\n display: -ms-flexbox;\n\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n}\n\n:host( [hydrated] ) .contents {\n opacity: 1;\n}\n\n@container style(--magma-pref-animation: reduce) {\n .contents,\n .items {\n scroll-behavior: unset;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n\n@container style(--magma-pref-animation: system) {\n\n @media (prefers-reduced-motion) {\n .contents,\n .items {\n scroll-behavior: unset;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n }\n}\n\n";
|
|
4
4
|
const MdsStepperBarStyle0 = mdsStepperBarCss;
|