@maggioli-design-system/magma 2.0.0-beta.1 → 2.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -2
- package/dist/cjs/index-CNuKb6Lv.js +4 -4
- package/dist/cjs/index.cjs.js +257 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/magma-components.cjs.js +1 -1
- package/dist/cjs/mds-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +3 -3
- 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-stack-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar.cjs.entry.js +26 -7
- package/dist/cjs/mds-badge.cjs.entry.js +2 -2
- package/dist/cjs/mds-banner_3.cjs.entry.js +14 -8
- package/dist/cjs/mds-benchmark-bar.cjs.entry.js +2 -2
- package/dist/cjs/mds-bibliography.cjs.entry.js +5 -5
- package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-breadcrumb.cjs.entry.js +4 -1
- package/dist/cjs/mds-button-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
- package/dist/cjs/mds-button_3.cjs.entry.js +14 -235
- package/dist/cjs/mds-calendar_2.cjs.entry.js +276 -137
- 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 +8 -10
- package/dist/cjs/mds-details.cjs.entry.js +1 -1
- package/dist/cjs/mds-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/mds-emoji.cjs.entry.js +9 -2
- package/dist/cjs/mds-entity.cjs.entry.js +1 -1
- package/dist/cjs/mds-file-preview.cjs.entry.js +9 -1
- package/dist/cjs/mds-file.cjs.entry.js +4 -1
- package/dist/cjs/mds-filter-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-filter.cjs.entry.js +2 -2
- package/dist/cjs/mds-header-bar.cjs.entry.js +5 -1
- package/dist/cjs/mds-header.cjs.entry.js +15 -9
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +12 -9
- package/dist/cjs/mds-hr.cjs.entry.js +1 -1
- package/dist/cjs/mds-img.cjs.entry.js +6 -3
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-date-range.cjs.entry.js +212 -66
- package/dist/cjs/mds-input-date.cjs.entry.js +33 -12
- package/dist/cjs/mds-input-field.cjs.entry.js +4 -4
- package/dist/cjs/mds-input-otp.cjs.entry.js +3 -3
- package/dist/cjs/mds-input-range.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-select.cjs.entry.js +27 -13
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +5 -2
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +6 -3
- package/dist/cjs/mds-input-upload.cjs.entry.js +10 -7
- package/dist/cjs/mds-input.cjs.entry.js +24 -9
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +5 -2
- package/dist/cjs/mds-keyboard.cjs.entry.js +7 -4
- package/dist/cjs/mds-kpi-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-kpi.cjs.entry.js +1 -1
- package/dist/cjs/mds-label.cjs.entry.js +4 -1
- package/dist/cjs/mds-list-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-list.cjs.entry.js +1 -1
- package/dist/cjs/mds-mention.cjs.entry.js +1 -1
- package/dist/cjs/mds-modal.cjs.entry.js +13 -10
- package/dist/cjs/mds-note.cjs.entry.js +4 -1
- package/dist/cjs/mds-notification.cjs.entry.js +5 -5
- package/dist/cjs/mds-paginator-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-paginator.cjs.entry.js +1 -1
- package/dist/cjs/mds-policy-ai.cjs.entry.js +4 -1
- package/dist/cjs/mds-pref-animation.cjs.entry.js +7 -4
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +7 -4
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +8 -5
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +4 -1
- package/dist/cjs/mds-pref-language.cjs.entry.js +5 -2
- package/dist/cjs/mds-pref-theme-variant-item.cjs.entry.js +5 -2
- package/dist/cjs/mds-pref-theme-variant.cjs.entry.js +6 -3
- package/dist/cjs/mds-pref-theme.cjs.entry.js +11 -8
- package/dist/cjs/mds-pref.cjs.entry.js +6 -3
- 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 +1 -1
- package/dist/cjs/mds-price-table.cjs.entry.js +1 -1
- package/dist/cjs/mds-progress_2.cjs.entry.js +3 -3
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +6 -3
- package/dist/cjs/mds-push-notification.cjs.entry.js +16 -6
- package/dist/cjs/mds-quote.cjs.entry.js +1 -1
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +4 -1
- package/dist/cjs/mds-radial-menu.cjs.entry.js +3 -3
- package/dist/cjs/mds-separator.cjs.entry.js +1 -1
- package/dist/cjs/mds-status-bar.cjs.entry.js +4 -1
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +4 -1
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +2 -2
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +5 -2
- package/dist/cjs/mds-tab-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-tab_2.cjs.entry.js +5 -5
- package/dist/cjs/mds-table-body.cjs.entry.js +1 -1
- package/dist/cjs/mds-table-footer.cjs.entry.js +1 -1
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +18 -7
- package/dist/cjs/mds-table-header.cjs.entry.js +10 -2
- package/dist/cjs/mds-table-row.cjs.entry.js +9 -3
- package/dist/cjs/mds-table.cjs.entry.js +2 -2
- package/dist/cjs/mds-text.cjs.entry.js +3 -3
- package/dist/cjs/mds-toast.cjs.entry.js +3 -3
- package/dist/cjs/mds-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/mds-tree-item.cjs.entry.js +7 -1
- package/dist/cjs/mds-tree.cjs.entry.js +2 -2
- package/dist/cjs/mds-url-view.cjs.entry.js +7 -4
- package/dist/cjs/mds-usage.cjs.entry.js +4 -1
- package/dist/cjs/mds-video-wall.cjs.entry.js +1 -1
- package/dist/cjs/mds-zero.cjs.entry.js +1 -1
- package/dist/collection/components/mds-accordion/mds-accordion.js +2 -2
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +2 -2
- package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +4 -4
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +2 -2
- package/dist/collection/components/mds-author/mds-author.js +2 -2
- package/dist/collection/components/mds-avatar/mds-avatar.js +26 -7
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +4 -1
- package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.js +1 -1
- package/dist/collection/components/mds-badge/mds-badge.js +3 -3
- package/dist/collection/components/mds-banner/mds-banner.js +7 -4
- package/dist/collection/components/mds-benchmark-bar/mds-benchmark-bar.js +3 -3
- package/dist/collection/components/mds-bibliography/mds-bibliography.js +5 -5
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +6 -3
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +1 -1
- package/dist/collection/components/mds-button/mds-button.js +7 -5
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +4 -1
- package/dist/collection/components/mds-button-group/mds-button-group.js +4 -1
- package/dist/collection/components/mds-calendar/mds-calendar.css +63 -5
- package/dist/collection/components/mds-calendar/mds-calendar.js +450 -143
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +1 -1
- package/dist/collection/components/mds-card/mds-card.js +8 -10
- package/dist/collection/components/mds-card-content/mds-card-content.js +2 -2
- package/dist/collection/components/mds-card-footer/mds-card-footer.js +2 -2
- package/dist/collection/components/mds-card-header/mds-card-header.js +2 -2
- package/dist/collection/components/mds-card-media/mds-card-media.js +2 -2
- package/dist/collection/components/mds-chip/mds-chip.js +9 -6
- package/dist/collection/components/mds-details/mds-details.js +2 -2
- package/dist/collection/components/mds-dropdown/mds-dropdown.js +4 -4
- package/dist/collection/components/mds-emoji/mds-emoji.js +16 -6
- package/dist/collection/components/mds-entity/mds-entity.js +2 -2
- package/dist/collection/components/mds-file/mds-file.js +5 -2
- package/dist/collection/components/mds-file-preview/mds-file-preview.js +10 -2
- package/dist/collection/components/mds-filter/mds-filter.js +3 -3
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +4 -4
- package/dist/collection/components/mds-header/mds-header.js +22 -13
- package/dist/collection/components/mds-header-bar/mds-header-bar.js +12 -5
- package/dist/collection/components/mds-help/mds-help.js +2 -2
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +13 -10
- package/dist/collection/components/mds-hr/mds-hr.js +1 -1
- package/dist/collection/components/mds-icon/mds-icon.js +2 -2
- package/dist/collection/components/mds-icon/services/icons-set.service.js +33 -1
- package/dist/collection/components/mds-img/mds-img.js +7 -4
- package/dist/collection/components/mds-input/mds-input.js +42 -18
- package/dist/collection/components/mds-input-date/mds-input-date.js +48 -20
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +37 -1
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +245 -84
- package/dist/collection/components/mds-input-date-range/test/mds-input-date-range.stories.js +10 -0
- package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +4 -1
- package/dist/collection/components/mds-input-field/mds-input-field.js +7 -4
- package/dist/collection/components/mds-input-otp/mds-input-otp.js +3 -3
- package/dist/collection/components/mds-input-range/mds-input-range.js +2 -1
- package/dist/collection/components/mds-input-select/mds-input-select.js +29 -14
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +6 -3
- package/dist/collection/components/mds-input-tip/mds-input-tip.js +4 -1
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +9 -3
- package/dist/collection/components/mds-input-upload/mds-input-upload.js +11 -8
- package/dist/collection/components/mds-keyboard/mds-keyboard.js +11 -5
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +6 -3
- package/dist/collection/components/mds-kpi/mds-kpi.js +2 -2
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
- package/dist/collection/components/mds-label/mds-label.js +5 -2
- package/dist/collection/components/mds-list/mds-list.js +2 -2
- package/dist/collection/components/mds-list-item/mds-list-item.js +2 -2
- package/dist/collection/components/mds-mention/mds-mention.js +1 -1
- package/dist/collection/components/mds-modal/mds-modal.js +15 -12
- package/dist/collection/components/mds-note/mds-note.js +6 -3
- package/dist/collection/components/mds-notification/mds-notification.js +5 -5
- package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +5 -5
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +5 -2
- package/dist/collection/components/mds-pref/mds-pref.js +8 -5
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +8 -5
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +8 -5
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +9 -6
- package/dist/collection/components/mds-pref-language/mds-pref-language.js +7 -4
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +5 -2
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +12 -9
- package/dist/collection/components/mds-pref-theme-variant/mds-pref-theme-variant.js +8 -5
- package/dist/collection/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.js +6 -3
- package/dist/collection/components/mds-price-table/mds-price-table.js +4 -1
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +2 -2
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +2 -2
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +2 -2
- package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +4 -1
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +2 -2
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +4 -1
- package/dist/collection/components/mds-progress/mds-progress.js +2 -2
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +25 -14
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +7 -4
- package/dist/collection/components/mds-quote/mds-quote.js +2 -2
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +6 -3
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +5 -2
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
- package/dist/collection/components/mds-separator/mds-separator.js +1 -1
- package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
- package/dist/collection/components/mds-status-bar/mds-status-bar.js +6 -3
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +3 -3
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +5 -2
- package/dist/collection/components/mds-tab/mds-tab.js +5 -5
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +2 -2
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +7 -4
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
- package/dist/collection/components/mds-table/mds-table.js +5 -5
- package/dist/collection/components/mds-table-body/mds-table-body.js +4 -4
- package/dist/collection/components/mds-table-cell/mds-table-cell.js +2 -2
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +2 -2
- package/dist/collection/components/mds-table-header/mds-table-header.js +23 -9
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +19 -8
- package/dist/collection/components/mds-table-row/mds-table-row.js +16 -10
- package/dist/collection/components/mds-text/mds-text.js +4 -4
- package/dist/collection/components/mds-toast/mds-toast.js +4 -4
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +3 -3
- package/dist/collection/components/mds-tree/mds-tree.js +3 -3
- package/dist/collection/components/mds-tree-item/mds-tree-item.js +11 -5
- package/dist/collection/components/mds-url-view/mds-url-view.js +8 -5
- package/dist/collection/components/mds-usage/mds-usage.js +6 -3
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +2 -2
- package/dist/collection/components/mds-zero/mds-zero.js +2 -2
- package/dist/collection/index.js +15 -0
- package/dist/components/icons-set.service.js +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +1 -1
- package/dist/components/mds-accordion-item.js +1 -1
- package/dist/components/mds-accordion-timer-item.js +1 -1
- package/dist/components/mds-accordion-timer.js +1 -1
- package/dist/components/mds-accordion.js +1 -1
- package/dist/components/mds-author.js +1 -1
- package/dist/components/mds-avatar-stack-item2.js +1 -1
- package/dist/components/mds-avatar-stack.js +1 -1
- package/dist/components/mds-avatar2.js +1 -1
- package/dist/components/mds-badge2.js +1 -1
- package/dist/components/mds-banner2.js +1 -1
- package/dist/components/mds-benchmark-bar.js +1 -1
- package/dist/components/mds-bibliography.js +1 -1
- package/dist/components/mds-breadcrumb-item.js +1 -1
- package/dist/components/mds-breadcrumb.js +1 -1
- package/dist/components/mds-button-dropdown.js +1 -1
- package/dist/components/mds-button-group.js +1 -1
- package/dist/components/mds-button2.js +1 -1
- package/dist/components/mds-calendar-cell2.js +1 -1
- package/dist/components/mds-calendar2.js +1 -1
- package/dist/components/mds-card-content.js +1 -1
- package/dist/components/mds-card-footer.js +1 -1
- package/dist/components/mds-card-header.js +1 -1
- package/dist/components/mds-card-media.js +1 -1
- package/dist/components/mds-card.js +1 -1
- package/dist/components/mds-chip2.js +1 -1
- package/dist/components/mds-details.js +1 -1
- package/dist/components/mds-dropdown2.js +1 -1
- package/dist/components/mds-emoji.js +1 -1
- package/dist/components/mds-entity.js +1 -1
- package/dist/components/mds-file-preview2.js +1 -1
- package/dist/components/mds-file.js +1 -1
- package/dist/components/mds-filter-item2.js +1 -1
- package/dist/components/mds-filter.js +1 -1
- package/dist/components/mds-header-bar.js +1 -1
- package/dist/components/mds-header.js +1 -1
- package/dist/components/mds-help2.js +1 -1
- package/dist/components/mds-horizontal-scroll.js +1 -1
- package/dist/components/mds-hr.js +1 -1
- package/dist/components/mds-icon2.js +1 -1
- package/dist/components/mds-img2.js +1 -1
- package/dist/components/mds-input-date-range-preselection.js +1 -1
- package/dist/components/mds-input-date-range.js +1 -1
- package/dist/components/mds-input-date.js +1 -1
- package/dist/components/mds-input-field.js +1 -1
- package/dist/components/mds-input-otp.js +1 -1
- package/dist/components/mds-input-range.js +1 -1
- package/dist/components/mds-input-select.js +1 -1
- package/dist/components/mds-input-switch2.js +1 -1
- package/dist/components/mds-input-tip-item2.js +1 -1
- package/dist/components/mds-input-tip2.js +1 -1
- package/dist/components/mds-input-upload.js +1 -1
- package/dist/components/mds-input2.js +1 -1
- package/dist/components/mds-keyboard-key.js +1 -1
- package/dist/components/mds-keyboard.js +1 -1
- package/dist/components/mds-kpi-item.js +1 -1
- package/dist/components/mds-kpi.js +1 -1
- package/dist/components/mds-label.js +1 -1
- package/dist/components/mds-list-item.js +1 -1
- package/dist/components/mds-list.js +1 -1
- package/dist/components/mds-mention.js +1 -1
- package/dist/components/mds-modal2.js +1 -1
- package/dist/components/mds-note.js +1 -1
- package/dist/components/mds-notification.js +1 -1
- package/dist/components/mds-paginator-item2.js +1 -1
- package/dist/components/mds-paginator.js +1 -1
- package/dist/components/mds-policy-ai.js +1 -1
- package/dist/components/mds-pref-animation.js +1 -1
- package/dist/components/mds-pref-consumption.js +1 -1
- package/dist/components/mds-pref-contrast.js +1 -1
- package/dist/components/mds-pref-language-item.js +1 -1
- package/dist/components/mds-pref-language.js +1 -1
- package/dist/components/mds-pref-theme-variant-item.js +1 -1
- package/dist/components/mds-pref-theme-variant.js +1 -1
- package/dist/components/mds-pref-theme.js +1 -1
- package/dist/components/mds-pref.js +1 -1
- package/dist/components/mds-price-table-features-cell.js +1 -1
- package/dist/components/mds-price-table-features-row.js +1 -1
- package/dist/components/mds-price-table-features.js +1 -1
- package/dist/components/mds-price-table-header.js +1 -1
- package/dist/components/mds-price-table-list-item.js +1 -1
- package/dist/components/mds-price-table-list.js +1 -1
- package/dist/components/mds-price-table.js +1 -1
- package/dist/components/mds-progress2.js +1 -1
- package/dist/components/mds-push-notification-item.js +1 -1
- package/dist/components/mds-push-notification.js +1 -1
- package/dist/components/mds-quote.js +1 -1
- package/dist/components/mds-radial-menu-item.js +1 -1
- package/dist/components/mds-radial-menu.js +1 -1
- package/dist/components/mds-radial-progress2.js +1 -1
- package/dist/components/mds-separator2.js +1 -1
- package/dist/components/mds-spinner2.js +1 -1
- package/dist/components/mds-status-bar.js +1 -1
- package/dist/components/mds-stepper-bar-item.js +1 -1
- package/dist/components/mds-stepper-bar.js +1 -1
- package/dist/components/mds-tab-bar-item.js +1 -1
- package/dist/components/mds-tab-bar.js +1 -1
- package/dist/components/mds-tab-item2.js +1 -1
- package/dist/components/mds-tab2.js +1 -1
- package/dist/components/mds-table-body.js +1 -1
- package/dist/components/mds-table-cell2.js +1 -1
- package/dist/components/mds-table-footer.js +1 -1
- package/dist/components/mds-table-header-cell2.js +1 -1
- package/dist/components/mds-table-header.js +1 -1
- package/dist/components/mds-table-row.js +1 -1
- package/dist/components/mds-table.js +1 -1
- package/dist/components/mds-text2.js +1 -1
- package/dist/components/mds-toast.js +1 -1
- package/dist/components/mds-tooltip2.js +1 -1
- package/dist/components/mds-tree-item.js +1 -1
- package/dist/components/mds-tree.js +1 -1
- package/dist/components/mds-url-view.js +1 -1
- package/dist/components/mds-usage.js +1 -1
- package/dist/components/mds-video-wall.js +1 -1
- package/dist/components/mds-zero.js +1 -1
- package/dist/documentation.json +824 -348
- package/dist/esm/index-CAd5312P.js +4 -4
- package/dist/esm/index.js +256 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/magma-components.js +1 -1
- package/dist/esm/mds-accordion-item.entry.js +1 -1
- package/dist/esm/mds-accordion-timer-item.entry.js +1 -1
- package/dist/esm/mds-accordion-timer.entry.js +3 -3
- package/dist/esm/mds-accordion.entry.js +1 -1
- package/dist/esm/mds-author.entry.js +1 -1
- package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm/mds-avatar-stack.entry.js +1 -1
- package/dist/esm/mds-avatar.entry.js +26 -7
- package/dist/esm/mds-badge.entry.js +2 -2
- package/dist/esm/mds-banner_3.entry.js +14 -8
- package/dist/esm/mds-benchmark-bar.entry.js +2 -2
- package/dist/esm/mds-bibliography.entry.js +5 -5
- package/dist/esm/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm/mds-breadcrumb.entry.js +4 -1
- package/dist/esm/mds-button-dropdown.entry.js +1 -1
- package/dist/esm/mds-button-group.entry.js +1 -1
- package/dist/esm/mds-button_3.entry.js +10 -231
- package/dist/esm/mds-calendar_2.entry.js +276 -137
- 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 +8 -10
- package/dist/esm/mds-details.entry.js +1 -1
- package/dist/esm/mds-dropdown.entry.js +3 -3
- package/dist/esm/mds-emoji.entry.js +9 -2
- package/dist/esm/mds-entity.entry.js +1 -1
- package/dist/esm/mds-file-preview.entry.js +9 -1
- package/dist/esm/mds-file.entry.js +4 -1
- package/dist/esm/mds-filter-item.entry.js +4 -4
- package/dist/esm/mds-filter.entry.js +2 -2
- package/dist/esm/mds-header-bar.entry.js +5 -1
- package/dist/esm/mds-header.entry.js +15 -9
- package/dist/esm/mds-horizontal-scroll.entry.js +12 -9
- package/dist/esm/mds-hr.entry.js +1 -1
- package/dist/esm/mds-img.entry.js +6 -3
- package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
- package/dist/esm/mds-input-date-range.entry.js +212 -66
- package/dist/esm/mds-input-date.entry.js +33 -12
- package/dist/esm/mds-input-field.entry.js +4 -4
- package/dist/esm/mds-input-otp.entry.js +3 -3
- package/dist/esm/mds-input-range.entry.js +1 -1
- package/dist/esm/mds-input-select.entry.js +27 -13
- package/dist/esm/mds-input-switch_2.entry.js +5 -2
- package/dist/esm/mds-input-tip_2.entry.js +6 -3
- package/dist/esm/mds-input-upload.entry.js +10 -7
- package/dist/esm/mds-input.entry.js +24 -9
- package/dist/esm/mds-keyboard-key.entry.js +5 -2
- package/dist/esm/mds-keyboard.entry.js +7 -4
- package/dist/esm/mds-kpi-item.entry.js +1 -1
- package/dist/esm/mds-kpi.entry.js +1 -1
- package/dist/esm/mds-label.entry.js +4 -1
- package/dist/esm/mds-list-item.entry.js +1 -1
- package/dist/esm/mds-list.entry.js +1 -1
- package/dist/esm/mds-mention.entry.js +1 -1
- package/dist/esm/mds-modal.entry.js +13 -10
- package/dist/esm/mds-note.entry.js +4 -1
- package/dist/esm/mds-notification.entry.js +5 -5
- package/dist/esm/mds-paginator-item.entry.js +4 -4
- package/dist/esm/mds-paginator.entry.js +1 -1
- package/dist/esm/mds-policy-ai.entry.js +4 -1
- package/dist/esm/mds-pref-animation.entry.js +7 -4
- package/dist/esm/mds-pref-consumption.entry.js +7 -4
- package/dist/esm/mds-pref-contrast.entry.js +8 -5
- package/dist/esm/mds-pref-language-item.entry.js +4 -1
- package/dist/esm/mds-pref-language.entry.js +5 -2
- package/dist/esm/mds-pref-theme-variant-item.entry.js +5 -2
- package/dist/esm/mds-pref-theme-variant.entry.js +6 -3
- package/dist/esm/mds-pref-theme.entry.js +11 -8
- package/dist/esm/mds-pref.entry.js +6 -3
- 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 +1 -1
- package/dist/esm/mds-price-table.entry.js +1 -1
- package/dist/esm/mds-progress_2.entry.js +3 -3
- package/dist/esm/mds-push-notification-item.entry.js +6 -3
- package/dist/esm/mds-push-notification.entry.js +16 -6
- package/dist/esm/mds-quote.entry.js +1 -1
- package/dist/esm/mds-radial-menu-item.entry.js +4 -1
- package/dist/esm/mds-radial-menu.entry.js +3 -3
- package/dist/esm/mds-separator.entry.js +1 -1
- package/dist/esm/mds-status-bar.entry.js +4 -1
- package/dist/esm/mds-stepper-bar-item.entry.js +4 -1
- package/dist/esm/mds-stepper-bar.entry.js +2 -2
- package/dist/esm/mds-tab-bar-item.entry.js +5 -2
- package/dist/esm/mds-tab-bar.entry.js +1 -1
- package/dist/esm/mds-tab_2.entry.js +5 -5
- package/dist/esm/mds-table-body.entry.js +1 -1
- package/dist/esm/mds-table-footer.entry.js +1 -1
- package/dist/esm/mds-table-header-cell.entry.js +18 -7
- package/dist/esm/mds-table-header.entry.js +10 -2
- package/dist/esm/mds-table-row.entry.js +9 -3
- package/dist/esm/mds-table.entry.js +2 -2
- package/dist/esm/mds-text.entry.js +3 -3
- package/dist/esm/mds-toast.entry.js +3 -3
- package/dist/esm/mds-tooltip.entry.js +2 -2
- package/dist/esm/mds-tree-item.entry.js +7 -1
- package/dist/esm/mds-tree.entry.js +2 -2
- package/dist/esm/mds-url-view.entry.js +7 -4
- package/dist/esm/mds-usage.entry.js +4 -1
- package/dist/esm/mds-video-wall.entry.js +1 -1
- package/dist/esm/mds-zero.entry.js +1 -1
- package/dist/esm-es5/index-CAd5312P.js +1 -1
- package/dist/esm-es5/index.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/magma-components.js +1 -1
- package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
- package/dist/esm-es5/mds-accordion.entry.js +1 -1
- package/dist/esm-es5/mds-author.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
- package/dist/esm-es5/mds-avatar.entry.js +1 -1
- package/dist/esm-es5/mds-badge.entry.js +1 -1
- package/dist/esm-es5/mds-banner_3.entry.js +1 -1
- package/dist/esm-es5/mds-benchmark-bar.entry.js +1 -1
- package/dist/esm-es5/mds-bibliography.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb.entry.js +1 -1
- package/dist/esm-es5/mds-button-dropdown.entry.js +1 -1
- package/dist/esm-es5/mds-button-group.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +1 -1
- package/dist/esm-es5/mds-calendar_2.entry.js +1 -1
- package/dist/esm-es5/mds-card-content.entry.js +1 -1
- package/dist/esm-es5/mds-card-footer.entry.js +1 -1
- package/dist/esm-es5/mds-card-header.entry.js +1 -1
- package/dist/esm-es5/mds-card-media.entry.js +1 -1
- package/dist/esm-es5/mds-card.entry.js +1 -1
- package/dist/esm-es5/mds-details.entry.js +1 -1
- package/dist/esm-es5/mds-dropdown.entry.js +1 -1
- package/dist/esm-es5/mds-emoji.entry.js +1 -1
- package/dist/esm-es5/mds-entity.entry.js +1 -1
- package/dist/esm-es5/mds-file-preview.entry.js +1 -1
- package/dist/esm-es5/mds-file.entry.js +1 -1
- package/dist/esm-es5/mds-filter-item.entry.js +1 -1
- package/dist/esm-es5/mds-filter.entry.js +1 -1
- package/dist/esm-es5/mds-header-bar.entry.js +1 -1
- package/dist/esm-es5/mds-header.entry.js +1 -1
- package/dist/esm-es5/mds-horizontal-scroll.entry.js +1 -1
- package/dist/esm-es5/mds-hr.entry.js +1 -1
- package/dist/esm-es5/mds-img.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range.entry.js +1 -1
- package/dist/esm-es5/mds-input-date.entry.js +1 -1
- package/dist/esm-es5/mds-input-field.entry.js +1 -1
- package/dist/esm-es5/mds-input-otp.entry.js +1 -1
- package/dist/esm-es5/mds-input-range.entry.js +1 -1
- package/dist/esm-es5/mds-input-select.entry.js +1 -1
- package/dist/esm-es5/mds-input-switch_2.entry.js +1 -1
- package/dist/esm-es5/mds-input-tip_2.entry.js +1 -1
- package/dist/esm-es5/mds-input-upload.entry.js +1 -1
- package/dist/esm-es5/mds-input.entry.js +1 -1
- package/dist/esm-es5/mds-keyboard-key.entry.js +1 -1
- package/dist/esm-es5/mds-keyboard.entry.js +1 -1
- package/dist/esm-es5/mds-kpi-item.entry.js +1 -1
- package/dist/esm-es5/mds-kpi.entry.js +1 -1
- package/dist/esm-es5/mds-label.entry.js +1 -1
- package/dist/esm-es5/mds-list-item.entry.js +1 -1
- package/dist/esm-es5/mds-list.entry.js +1 -1
- package/dist/esm-es5/mds-mention.entry.js +1 -1
- package/dist/esm-es5/mds-modal.entry.js +1 -1
- package/dist/esm-es5/mds-note.entry.js +1 -1
- package/dist/esm-es5/mds-notification.entry.js +1 -1
- package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
- package/dist/esm-es5/mds-paginator.entry.js +1 -1
- package/dist/esm-es5/mds-policy-ai.entry.js +1 -1
- package/dist/esm-es5/mds-pref-animation.entry.js +1 -1
- package/dist/esm-es5/mds-pref-consumption.entry.js +1 -1
- package/dist/esm-es5/mds-pref-contrast.entry.js +1 -1
- package/dist/esm-es5/mds-pref-language-item.entry.js +1 -1
- package/dist/esm-es5/mds-pref-language.entry.js +1 -1
- package/dist/esm-es5/mds-pref-theme-variant-item.entry.js +1 -1
- package/dist/esm-es5/mds-pref-theme-variant.entry.js +1 -1
- package/dist/esm-es5/mds-pref-theme.entry.js +1 -1
- package/dist/esm-es5/mds-pref.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-features-cell.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-list-item.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-list.entry.js +1 -1
- package/dist/esm-es5/mds-price-table.entry.js +1 -1
- package/dist/esm-es5/mds-progress_2.entry.js +1 -1
- package/dist/esm-es5/mds-push-notification-item.entry.js +1 -1
- package/dist/esm-es5/mds-push-notification.entry.js +1 -1
- package/dist/esm-es5/mds-quote.entry.js +1 -1
- package/dist/esm-es5/mds-radial-menu-item.entry.js +1 -1
- package/dist/esm-es5/mds-radial-menu.entry.js +1 -1
- package/dist/esm-es5/mds-separator.entry.js +1 -1
- package/dist/esm-es5/mds-status-bar.entry.js +1 -1
- package/dist/esm-es5/mds-stepper-bar-item.entry.js +1 -1
- package/dist/esm-es5/mds-stepper-bar.entry.js +1 -1
- package/dist/esm-es5/mds-tab-bar-item.entry.js +1 -1
- package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
- package/dist/esm-es5/mds-tab_2.entry.js +1 -1
- package/dist/esm-es5/mds-table-body.entry.js +1 -1
- package/dist/esm-es5/mds-table-footer.entry.js +1 -1
- package/dist/esm-es5/mds-table-header-cell.entry.js +1 -1
- package/dist/esm-es5/mds-table-header.entry.js +1 -1
- package/dist/esm-es5/mds-table-row.entry.js +1 -1
- package/dist/esm-es5/mds-table.entry.js +1 -1
- package/dist/esm-es5/mds-text.entry.js +1 -1
- package/dist/esm-es5/mds-toast.entry.js +1 -1
- package/dist/esm-es5/mds-tooltip.entry.js +1 -1
- package/dist/esm-es5/mds-tree-item.entry.js +1 -1
- package/dist/esm-es5/mds-tree.entry.js +1 -1
- package/dist/esm-es5/mds-url-view.entry.js +1 -1
- package/dist/esm-es5/mds-usage.entry.js +1 -1
- package/dist/esm-es5/mds-video-wall.entry.js +1 -1
- package/dist/esm-es5/mds-zero.entry.js +1 -1
- package/dist/hydrate/index.js +1154 -554
- package/dist/hydrate/index.mjs +1154 -554
- package/dist/magma-components/index.esm.js +1 -0
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/{p-1e0826f3.entry.js → p-00313884.entry.js} +1 -1
- package/dist/magma-components/{p-14359b83.entry.js → p-01dc43dd.entry.js} +1 -1
- package/dist/magma-components/{p-423bad63.entry.js → p-01dca5e8.entry.js} +1 -1
- package/dist/magma-components/p-030d45e3.entry.js +1 -0
- package/dist/magma-components/{p-49b8def9.system.entry.js → p-0328a23e.system.entry.js} +1 -1
- package/dist/magma-components/{p-513533d1.entry.js → p-08c6869a.entry.js} +1 -1
- package/dist/magma-components/{p-83f1d211.system.entry.js → p-09de9fc5.system.entry.js} +1 -1
- package/dist/magma-components/{p-a36c6db2.entry.js → p-0acb46c8.entry.js} +1 -1
- package/dist/magma-components/{p-0856948f.system.entry.js → p-0b10ef9f.system.entry.js} +1 -1
- package/dist/magma-components/p-0b11f03b.entry.js +1 -0
- package/dist/magma-components/{p-8b204fe7.system.entry.js → p-0be56202.system.entry.js} +1 -1
- package/dist/magma-components/p-0de58147.entry.js +1 -0
- package/dist/magma-components/{p-2491f1e0.system.entry.js → p-0e481e5c.system.entry.js} +1 -1
- package/dist/magma-components/{p-7e23a883.system.entry.js → p-0f104850.system.entry.js} +1 -1
- package/dist/magma-components/p-1073bf63.entry.js +1 -0
- package/dist/magma-components/p-11490a89.entry.js +1 -0
- package/dist/magma-components/{p-fa6d02de.system.entry.js → p-137b0bbe.system.entry.js} +1 -1
- package/dist/magma-components/{p-5f027f21.entry.js → p-14a98729.entry.js} +1 -1
- package/dist/magma-components/p-14d858f8.system.entry.js +1 -0
- package/dist/magma-components/{p-5011da19.system.entry.js → p-14e918de.system.entry.js} +1 -1
- package/dist/magma-components/p-154ef5b9.entry.js +1 -0
- package/dist/magma-components/p-158af6e3.entry.js +1 -0
- package/dist/magma-components/{p-9f614c7c.system.entry.js → p-17427d8a.system.entry.js} +1 -1
- package/dist/magma-components/p-1805592d.entry.js +1 -0
- package/dist/magma-components/p-18563022.entry.js +1 -0
- package/dist/magma-components/{p-ced050bf.entry.js → p-19f99447.entry.js} +1 -1
- package/dist/magma-components/{p-fd4f6135.system.entry.js → p-1a56d383.system.entry.js} +1 -1
- package/dist/magma-components/{p-cc9db7f3.system.entry.js → p-1bb7895a.system.entry.js} +1 -1
- package/dist/magma-components/{p-13de0c57.system.entry.js → p-1ce791c1.system.entry.js} +1 -1
- package/dist/magma-components/{p-de98e8b6.system.entry.js → p-1da904c3.system.entry.js} +1 -1
- package/dist/magma-components/p-20961bf1.entry.js +1 -0
- package/dist/magma-components/{p-1199b3f5.system.entry.js → p-24a9ed63.system.entry.js} +1 -1
- package/dist/magma-components/{p-39d330ea.entry.js → p-26b131cf.entry.js} +1 -1
- package/dist/magma-components/{p-78fd3283.entry.js → p-28ebb626.entry.js} +1 -1
- package/dist/magma-components/{p-37989a99.system.entry.js → p-292f4566.system.entry.js} +1 -1
- package/dist/magma-components/{p-715f92d4.system.entry.js → p-2a1d3680.system.entry.js} +1 -1
- package/dist/magma-components/{p-17bfde04.system.entry.js → p-2ab75334.system.entry.js} +1 -1
- package/dist/magma-components/{p-79fdb37f.system.entry.js → p-2ccc796b.system.entry.js} +1 -1
- package/dist/magma-components/p-2d9d0887.system.entry.js +1 -0
- package/dist/magma-components/{p-035a9b2c.system.entry.js → p-2df01d02.system.entry.js} +1 -1
- package/dist/magma-components/{p-00980a98.entry.js → p-3145c7eb.entry.js} +1 -1
- package/dist/magma-components/{p-82337997.entry.js → p-34018dfe.entry.js} +1 -1
- package/dist/magma-components/{p-64609a40.system.entry.js → p-35a9f1b4.system.entry.js} +1 -1
- package/dist/magma-components/p-35ec8bbd.entry.js +1 -0
- package/dist/magma-components/{p-93b7d9c7.system.entry.js → p-370f9463.system.entry.js} +1 -1
- package/dist/magma-components/{p-f9691a57.system.entry.js → p-387948c4.system.entry.js} +1 -1
- package/dist/magma-components/{p-663e302d.system.entry.js → p-3aeecbba.system.entry.js} +1 -1
- package/dist/magma-components/{p-7d3a54a4.system.entry.js → p-3af9132f.system.entry.js} +1 -1
- package/dist/magma-components/{p-9061a2b0.system.entry.js → p-3bfd085f.system.entry.js} +1 -1
- package/dist/magma-components/{p-dafa88ad.entry.js → p-3c246a39.entry.js} +1 -1
- package/dist/magma-components/{p-4c8d8c76.entry.js → p-3c2bf79b.entry.js} +1 -1
- package/dist/magma-components/p-3ce52f3c.entry.js +1 -0
- package/dist/magma-components/p-3e5993b4.entry.js +1 -0
- package/dist/magma-components/{p-1680682d.system.entry.js → p-3ef80cd4.system.entry.js} +1 -1
- package/dist/magma-components/{p-cb2f2f0a.entry.js → p-3fc3b8b4.entry.js} +1 -1
- package/dist/magma-components/{p-53cd2333.system.entry.js → p-423955d1.system.entry.js} +1 -1
- package/dist/magma-components/{p-7bca3e2e.system.entry.js → p-42f336df.system.entry.js} +1 -1
- package/dist/magma-components/{p-315da7d0.system.entry.js → p-45a85712.system.entry.js} +1 -1
- package/dist/magma-components/{p-239ab62b.system.entry.js → p-460cd731.system.entry.js} +1 -1
- package/dist/magma-components/{p-ca36fc65.entry.js → p-473f6954.entry.js} +1 -1
- package/dist/magma-components/{p-5eee076f.entry.js → p-47fa0ecf.entry.js} +1 -1
- package/dist/magma-components/{p-2a222f3c.entry.js → p-4b07fe37.entry.js} +1 -1
- package/dist/magma-components/p-4b884441.entry.js +1 -0
- package/dist/magma-components/{p-a69d95b7.entry.js → p-4ba583c9.entry.js} +1 -1
- package/dist/magma-components/{p-769bf50e.entry.js → p-4c08fe3e.entry.js} +1 -1
- package/dist/magma-components/p-4f490917.entry.js +1 -0
- package/dist/magma-components/{p-d4cac1a1.system.entry.js → p-4f98fdba.system.entry.js} +1 -1
- package/dist/magma-components/{p-ee149fc3.system.entry.js → p-50553954.system.entry.js} +1 -1
- package/dist/magma-components/{p-4bdc69b2.entry.js → p-523d4716.entry.js} +1 -1
- package/dist/magma-components/{p-a5451192.system.entry.js → p-52ccfafc.system.entry.js} +1 -1
- package/dist/magma-components/p-52e2f903.entry.js +1 -0
- package/dist/magma-components/{p-8f7d632c.system.entry.js → p-53195d95.system.entry.js} +1 -1
- package/dist/magma-components/{p-f62cf5a9.system.entry.js → p-5488f51f.system.entry.js} +1 -1
- package/dist/magma-components/p-553927f9.system.entry.js +1 -0
- package/dist/magma-components/{p-9eaa277f.entry.js → p-55b4bbba.entry.js} +1 -1
- package/dist/magma-components/{p-1b8b598a.entry.js → p-583f5ffa.entry.js} +1 -1
- package/dist/magma-components/{p-f8dc6a25.entry.js → p-59d65cff.entry.js} +1 -1
- package/dist/magma-components/{p-a1a16873.system.entry.js → p-59f53701.system.entry.js} +1 -1
- package/dist/magma-components/p-5b881091.entry.js +1 -0
- package/dist/magma-components/{p-24b3cc0d.entry.js → p-5c44d208.entry.js} +1 -1
- package/dist/magma-components/{p-fbe46b32.system.entry.js → p-5fdcd8e2.system.entry.js} +1 -1
- package/dist/magma-components/{p-2a134cfe.system.entry.js → p-5fe7b875.system.entry.js} +1 -1
- package/dist/magma-components/{p-aed97a03.system.entry.js → p-614e7f83.system.entry.js} +1 -1
- package/dist/magma-components/{p-f9541d6b.system.entry.js → p-62cf9003.system.entry.js} +1 -1
- package/dist/magma-components/{p-a3c123e2.entry.js → p-63898681.entry.js} +1 -1
- package/dist/magma-components/p-663a510e.entry.js +1 -0
- package/dist/magma-components/{p-851df0fb.entry.js → p-68f57bb1.entry.js} +1 -1
- package/dist/magma-components/{p-0b4684f2.system.entry.js → p-6ae4df92.system.entry.js} +1 -1
- package/dist/magma-components/p-6d268a59.entry.js +1 -0
- package/dist/magma-components/{p-281bc999.system.entry.js → p-7306b02e.system.entry.js} +1 -1
- package/dist/magma-components/{p-e6a3c03b.system.entry.js → p-75011fed.system.entry.js} +1 -1
- package/dist/magma-components/{p-6f89537f.entry.js → p-7595afcf.entry.js} +1 -1
- package/dist/magma-components/p-77e9bd68.entry.js +1 -0
- package/dist/magma-components/p-7d836722.entry.js +1 -0
- package/dist/magma-components/p-7e037cf3.entry.js +8 -0
- package/dist/magma-components/{p-51f00e4f.system.entry.js → p-8106dbfd.system.entry.js} +1 -1
- package/dist/magma-components/{p-80904595.system.entry.js → p-82deeaa0.system.entry.js} +1 -1
- package/dist/magma-components/p-83589b83.entry.js +1 -0
- package/dist/magma-components/{p-bbd19da5.entry.js → p-83721814.entry.js} +1 -1
- package/dist/magma-components/{p-61043767.system.entry.js → p-83de0e53.system.entry.js} +1 -1
- package/dist/magma-components/{p-d480bc64.system.entry.js → p-849760e7.system.entry.js} +1 -1
- package/dist/magma-components/{p-0eec989d.system.entry.js → p-85ac6e54.system.entry.js} +1 -1
- package/dist/magma-components/p-87f8a213.entry.js +1 -0
- package/dist/magma-components/{p-67027e6e.system.entry.js → p-89bf698e.system.entry.js} +1 -1
- package/dist/magma-components/{p-66b6399b.system.entry.js → p-89f96753.system.entry.js} +1 -1
- package/dist/magma-components/p-8b3065b4.entry.js +1 -0
- package/dist/magma-components/{p-a5c774e1.system.entry.js → p-8bec8ad6.system.entry.js} +1 -1
- package/dist/magma-components/{p-c08e2e11.system.entry.js → p-8d76853c.system.entry.js} +1 -1
- package/dist/magma-components/{p-d9635f96.system.entry.js → p-8f1ce3f1.system.entry.js} +1 -1
- package/dist/magma-components/p-9021fa60.entry.js +1 -0
- package/dist/magma-components/{p-701757f6.system.entry.js → p-90b72c1c.system.entry.js} +1 -1
- package/dist/magma-components/{p-7599608a.system.entry.js → p-90d5b6df.system.entry.js} +1 -1
- package/dist/magma-components/p-913372ff.entry.js +1 -0
- package/dist/magma-components/{p-f5dd0163.system.entry.js → p-94093140.system.entry.js} +1 -1
- package/dist/magma-components/{p-03d883fa.system.entry.js → p-944d9b27.system.entry.js} +1 -1
- package/dist/magma-components/{p-922cb36e.entry.js → p-94713401.entry.js} +1 -1
- package/dist/magma-components/{p-dca87306.entry.js → p-956b5ae6.entry.js} +1 -1
- package/dist/magma-components/p-95eae04e.entry.js +1 -0
- package/dist/magma-components/{p-30ecdd0e.entry.js → p-961a2531.entry.js} +1 -1
- package/dist/magma-components/p-9658cb0c.entry.js +1 -0
- package/dist/magma-components/p-96d1a168.entry.js +1 -0
- package/dist/magma-components/p-96f6a646.entry.js +1 -0
- package/dist/magma-components/{p-2df71631.system.entry.js → p-98435b90.system.entry.js} +1 -1
- package/dist/magma-components/p-988b0c7c.entry.js +1 -0
- package/dist/magma-components/{p-14faa91d.system.entry.js → p-98a05642.system.entry.js} +1 -1
- package/dist/magma-components/{p-ba01df62.system.entry.js → p-99f7a1b6.system.entry.js} +1 -1
- package/dist/magma-components/{p-b95ba099.system.entry.js → p-9a1940c1.system.entry.js} +1 -1
- package/dist/magma-components/{p-e4c4824b.system.entry.js → p-9a89bc78.system.entry.js} +1 -1
- package/dist/magma-components/{p-5a96f6a1.system.entry.js → p-9ad586a7.system.entry.js} +1 -1
- package/dist/magma-components/{p-33183e9e.system.entry.js → p-9b52918e.system.entry.js} +1 -1
- package/dist/magma-components/p-DTZViJWJ.system.js +1 -1
- package/dist/magma-components/p-a1af65e8.entry.js +1 -0
- package/dist/magma-components/{p-4813db7c.system.entry.js → p-a5473293.system.entry.js} +1 -1
- package/dist/magma-components/{p-3736ff52.system.entry.js → p-a6caafcb.system.entry.js} +1 -1
- package/dist/magma-components/{p-99e541f0.entry.js → p-a7bd4585.entry.js} +1 -1
- package/dist/magma-components/{p-778a376a.system.entry.js → p-a88fba47.system.entry.js} +1 -1
- package/dist/magma-components/{p-f8be02b6.entry.js → p-a959ade4.entry.js} +1 -1
- package/dist/magma-components/p-aa7d8972.entry.js +1 -0
- package/dist/magma-components/p-aa98652f.entry.js +1 -0
- package/dist/magma-components/{p-d441e8c5.system.entry.js → p-aaeb0ee3.system.entry.js} +1 -1
- package/dist/magma-components/{p-9210f48f.system.entry.js → p-ab89bf5b.system.entry.js} +1 -1
- package/dist/magma-components/{p-195d6b05.entry.js → p-abc720e3.entry.js} +1 -1
- package/dist/magma-components/p-abe87810.entry.js +1 -0
- package/dist/magma-components/{p-77449970.entry.js → p-ac80aca8.entry.js} +1 -1
- package/dist/magma-components/{p-d25df1ff.system.entry.js → p-acb07134.system.entry.js} +1 -1
- package/dist/magma-components/p-acd4f96a.entry.js +1 -0
- package/dist/magma-components/{p-37f4699d.entry.js → p-af49bca2.entry.js} +1 -1
- package/dist/magma-components/{p-dcc5188d.entry.js → p-af670eaf.entry.js} +1 -1
- package/dist/magma-components/{p-a96d10ed.system.entry.js → p-b14a94e0.system.entry.js} +1 -1
- package/dist/magma-components/p-b2bc194a.entry.js +1 -0
- package/dist/magma-components/{p-d44cf903.system.entry.js → p-b2e76c18.system.entry.js} +1 -1
- package/dist/magma-components/{p-1fa503c2.system.entry.js → p-b37dff80.system.entry.js} +1 -1
- package/dist/magma-components/p-b3e3226e.entry.js +1 -0
- package/dist/magma-components/p-b40f1153.entry.js +1 -0
- package/dist/magma-components/p-b4709a95.entry.js +1 -0
- package/dist/magma-components/{p-6cf5f38d.system.entry.js → p-b5db6527.system.entry.js} +1 -1
- package/dist/magma-components/p-b764defa.entry.js +1 -0
- package/dist/magma-components/{p-52253115.system.entry.js → p-b9b2501e.system.entry.js} +1 -1
- package/dist/magma-components/{p-632b1bd2.system.entry.js → p-b9b5bcdd.system.entry.js} +1 -1
- package/dist/magma-components/{p-b826e9cf.system.entry.js → p-ba2a0bc1.system.entry.js} +1 -1
- package/dist/magma-components/p-bb4380cd.entry.js +1 -0
- package/dist/magma-components/{p-07a0d14c.system.entry.js → p-bce3a8b0.system.entry.js} +1 -1
- package/dist/magma-components/{p-21790967.system.entry.js → p-bd2998e6.system.entry.js} +1 -1
- package/dist/magma-components/p-bd3dbc2d.entry.js +1 -0
- package/dist/magma-components/p-bed57abb.entry.js +1 -0
- package/dist/magma-components/{p-21af5302.entry.js → p-bfed0b7a.entry.js} +1 -1
- package/dist/magma-components/{p-c1809ec1.system.entry.js → p-c6177cb9.system.entry.js} +1 -1
- package/dist/magma-components/p-c638556c.entry.js +1 -0
- package/dist/magma-components/{p-8aa8f2e0.entry.js → p-c6fa4a21.entry.js} +1 -1
- package/dist/magma-components/{p-ce1c17ae.system.entry.js → p-c8e99385.system.entry.js} +1 -1
- package/dist/magma-components/{p-be4b1fce.entry.js → p-c9231987.entry.js} +1 -1
- package/dist/magma-components/{p-0a5a2cd7.system.entry.js → p-c9c51ba6.system.entry.js} +1 -1
- package/dist/magma-components/{p-163d0a27.entry.js → p-cc53b30c.entry.js} +1 -1
- package/dist/magma-components/{p-b5077962.entry.js → p-ccc0521c.entry.js} +1 -1
- package/dist/magma-components/{p-788669f0.system.entry.js → p-cd71630e.system.entry.js} +1 -1
- package/dist/magma-components/{p-687f9261.system.entry.js → p-cd879243.system.entry.js} +1 -1
- package/dist/magma-components/{p-ccf7878a.entry.js → p-ce064d47.entry.js} +1 -1
- package/dist/magma-components/{p-e52285f2.system.entry.js → p-d1eea8ca.system.entry.js} +1 -1
- package/dist/magma-components/{p-647ca5e1.system.entry.js → p-d2537229.system.entry.js} +1 -1
- package/dist/magma-components/p-d2617a1a.entry.js +1 -0
- package/dist/magma-components/{p-cf26c62c.system.entry.js → p-d41c4637.system.entry.js} +1 -1
- package/dist/magma-components/{p-b8bb9b2a.entry.js → p-d88f44aa.entry.js} +1 -1
- package/dist/magma-components/{p-ac42ce64.system.entry.js → p-dae9ae8e.system.entry.js} +1 -1
- package/dist/magma-components/{p-81d21afc.entry.js → p-dd860de4.entry.js} +1 -1
- package/dist/magma-components/{p-0271b1f9.system.entry.js → p-df87e2f5.system.entry.js} +1 -1
- package/dist/magma-components/{p-f02b49c5.system.entry.js → p-dfe082be.system.entry.js} +1 -1
- package/dist/magma-components/{p-fcc3ab4c.entry.js → p-e00ba5a0.entry.js} +1 -1
- package/dist/magma-components/{p-b66fe79a.system.entry.js → p-e0d12fa2.system.entry.js} +1 -1
- package/dist/magma-components/{p-003dd017.entry.js → p-e2cd11c3.entry.js} +1 -1
- package/dist/magma-components/{p-0dffa327.system.entry.js → p-e5fb3081.system.entry.js} +1 -1
- package/dist/magma-components/{p-ab63d01d.entry.js → p-e67a6452.entry.js} +1 -1
- package/dist/magma-components/{p-6705b68b.system.entry.js → p-e6d8c9e3.system.entry.js} +1 -1
- package/dist/magma-components/p-e71aecc1.entry.js +1 -0
- package/dist/magma-components/{p-a7b5398f.system.entry.js → p-eac692ea.system.entry.js} +1 -1
- package/dist/magma-components/{p-a8ca0d68.system.entry.js → p-ecf2e98d.system.entry.js} +1 -1
- package/dist/magma-components/{p-7c49ca6c.system.entry.js → p-ed6d1453.system.entry.js} +1 -1
- package/dist/magma-components/p-f289eb5a.entry.js +1 -0
- package/dist/magma-components/{p-33268316.entry.js → p-f3604c99.entry.js} +1 -1
- package/dist/magma-components/{p-e07404ae.entry.js → p-f3dbca34.entry.js} +1 -1
- package/dist/magma-components/{p-38b33737.system.entry.js → p-f4b4bdf2.system.entry.js} +1 -1
- package/dist/magma-components/{p-3b637d6f.entry.js → p-f56d16f7.entry.js} +1 -1
- package/dist/magma-components/{p-91902df2.system.entry.js → p-f8014852.system.entry.js} +1 -1
- package/dist/magma-components/{p-1dea53fc.entry.js → p-f851100d.entry.js} +1 -1
- package/dist/magma-components/{p-5ac8fc7d.entry.js → p-f8d5adce.entry.js} +1 -1
- package/dist/magma-components/{p-a5a87d9b.system.entry.js → p-fa427f75.system.entry.js} +1 -1
- package/dist/magma-components/p-fa6a05b5.entry.js +1 -0
- package/dist/magma-components/{p-e01cb161.entry.js → p-fb8b0104.entry.js} +1 -1
- package/dist/magma-components/{p-73132558.system.entry.js → p-fcf59139.system.entry.js} +1 -1
- package/dist/magma-components/{p-ef82cbb3.system.entry.js → p-fe3d5720.system.entry.js} +1 -1
- package/dist/magma-components/{p-31a78457.system.entry.js → p-fe85ad8e.system.entry.js} +1 -1
- package/dist/magma-components/p-ffae137a.entry.js +1 -0
- package/dist/magma-components/p-oCzRm29V.system.js +1 -0
- package/dist/stats.json +2461 -1671
- package/dist/types/components/mds-accordion/mds-accordion.d.ts +1 -1
- package/dist/types/components/mds-accordion-item/mds-accordion-item.d.ts +1 -1
- package/dist/types/components/mds-accordion-timer/mds-accordion-timer.d.ts +1 -1
- package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +1 -1
- package/dist/types/components/mds-author/mds-author.d.ts +1 -1
- package/dist/types/components/mds-avatar-stack/mds-avatar-stack.d.ts +3 -0
- package/dist/types/components/mds-badge/mds-badge.d.ts +1 -1
- package/dist/types/components/mds-banner/mds-banner.d.ts +4 -1
- package/dist/types/components/mds-benchmark-bar/mds-benchmark-bar.d.ts +1 -1
- package/dist/types/components/mds-breadcrumb/mds-breadcrumb.d.ts +4 -1
- package/dist/types/components/mds-button/mds-button.d.ts +1 -1
- package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +3 -0
- package/dist/types/components/mds-button-group/mds-button-group.d.ts +3 -0
- package/dist/types/components/mds-calendar/mds-calendar.d.ts +75 -8
- package/dist/types/components/mds-card-content/mds-card-content.d.ts +1 -1
- package/dist/types/components/mds-card-footer/mds-card-footer.d.ts +1 -1
- package/dist/types/components/mds-card-header/mds-card-header.d.ts +1 -1
- package/dist/types/components/mds-card-media/mds-card-media.d.ts +1 -1
- package/dist/types/components/mds-chip/mds-chip.d.ts +3 -0
- package/dist/types/components/mds-details/mds-details.d.ts +1 -1
- package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +4 -4
- package/dist/types/components/mds-emoji/mds-emoji.d.ts +7 -0
- package/dist/types/components/mds-entity/mds-entity.d.ts +1 -1
- package/dist/types/components/mds-file/mds-file.d.ts +3 -0
- package/dist/types/components/mds-file-preview/mds-file-preview.d.ts +3 -0
- package/dist/types/components/mds-filter/mds-filter.d.ts +1 -1
- package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +1 -1
- package/dist/types/components/mds-header/mds-header.d.ts +5 -1
- package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +5 -1
- package/dist/types/components/mds-help/mds-help.d.ts +1 -1
- package/dist/types/components/mds-horizontal-scroll/mds-horizontal-scroll.d.ts +1 -1
- package/dist/types/components/mds-icon/services/icons-set.service.d.ts +2 -1
- package/dist/types/components/mds-img/mds-img.d.ts +3 -0
- package/dist/types/components/mds-input/mds-input.d.ts +15 -0
- package/dist/types/components/mds-input-date/mds-input-date.d.ts +19 -1
- package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +38 -4
- package/dist/types/components/mds-input-date-range/test/mds-input-date-range.stories.d.ts +12 -0
- package/dist/types/components/mds-input-date-range-preselection/mds-input-date-range-preselection.d.ts +3 -0
- package/dist/types/components/mds-input-field/mds-input-field.d.ts +3 -0
- package/dist/types/components/mds-input-range/mds-input-range.d.ts +2 -1
- package/dist/types/components/mds-input-select/mds-input-select.d.ts +4 -0
- package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +4 -1
- package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +3 -0
- package/dist/types/components/mds-input-tip-item/mds-input-tip-item.d.ts +6 -0
- package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +3 -0
- package/dist/types/components/mds-keyboard/mds-keyboard.d.ts +7 -1
- package/dist/types/components/mds-keyboard-key/mds-keyboard-key.d.ts +3 -0
- package/dist/types/components/mds-kpi/mds-kpi.d.ts +1 -1
- package/dist/types/components/mds-label/mds-label.d.ts +4 -1
- package/dist/types/components/mds-list/mds-list.d.ts +1 -1
- package/dist/types/components/mds-list-item/mds-list-item.d.ts +1 -1
- package/dist/types/components/mds-modal/mds-modal.d.ts +4 -1
- package/dist/types/components/mds-note/mds-note.d.ts +4 -1
- package/dist/types/components/mds-paginator-item/mds-paginator-item.d.ts +2 -2
- package/dist/types/components/mds-policy-ai/mds-policy-ai.d.ts +3 -0
- package/dist/types/components/mds-pref/mds-pref.d.ts +4 -1
- package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +3 -0
- package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +3 -0
- package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +3 -0
- package/dist/types/components/mds-pref-language/mds-pref-language.d.ts +4 -1
- package/dist/types/components/mds-pref-language-item/mds-pref-language-item.d.ts +3 -0
- package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +3 -0
- package/dist/types/components/mds-pref-theme-variant/mds-pref-theme-variant.d.ts +4 -1
- package/dist/types/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.d.ts +3 -0
- package/dist/types/components/mds-price-table/mds-price-table.d.ts +3 -0
- package/dist/types/components/mds-price-table-features/mds-price-table-features.d.ts +1 -1
- package/dist/types/components/mds-price-table-features-cell/mds-price-table-features-cell.d.ts +1 -1
- package/dist/types/components/mds-price-table-features-row/mds-price-table-features-row.d.ts +1 -1
- package/dist/types/components/mds-price-table-header/mds-price-table-header.d.ts +3 -0
- package/dist/types/components/mds-price-table-list/mds-price-table-list.d.ts +1 -1
- package/dist/types/components/mds-price-table-list-item/mds-price-table-list-item.d.ts +3 -0
- package/dist/types/components/mds-push-notification/mds-push-notification.d.ts +12 -4
- package/dist/types/components/mds-push-notification-item/mds-push-notification-item.d.ts +3 -0
- package/dist/types/components/mds-quote/mds-quote.d.ts +1 -1
- package/dist/types/components/mds-radial-menu/mds-radial-menu.d.ts +3 -0
- package/dist/types/components/mds-radial-menu-item/mds-radial-menu-item.d.ts +3 -0
- package/dist/types/components/mds-status-bar/mds-status-bar.d.ts +4 -1
- package/dist/types/components/mds-stepper-bar/mds-stepper-bar.d.ts +1 -1
- package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +3 -0
- package/dist/types/components/mds-tab/mds-tab.d.ts +1 -1
- package/dist/types/components/mds-tab-bar/mds-tab-bar.d.ts +1 -1
- package/dist/types/components/mds-tab-bar-item/mds-tab-bar-item.d.ts +4 -1
- package/dist/types/components/mds-table/mds-table.d.ts +5 -2
- package/dist/types/components/mds-table-body/mds-table-body.d.ts +7 -1
- package/dist/types/components/mds-table-cell/mds-table-cell.d.ts +1 -1
- package/dist/types/components/mds-table-footer/mds-table-footer.d.ts +1 -1
- package/dist/types/components/mds-table-header/mds-table-header.d.ts +12 -1
- package/dist/types/components/mds-table-header-cell/mds-table-header-cell.d.ts +3 -0
- package/dist/types/components/mds-table-row/mds-table-row.d.ts +19 -1
- package/dist/types/components/mds-text/mds-text.d.ts +1 -1
- package/dist/types/components/mds-toast/mds-toast.d.ts +1 -1
- package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +1 -1
- package/dist/types/components/mds-tree/mds-tree.d.ts +1 -1
- package/dist/types/components/mds-tree-item/mds-tree-item.d.ts +10 -1
- package/dist/types/components/mds-url-view/mds-url-view.d.ts +4 -1
- package/dist/types/components/mds-usage/mds-usage.d.ts +4 -1
- package/dist/types/components/mds-video-wall/mds-video-wall.d.ts +1 -1
- package/dist/types/components/mds-zero/mds-zero.d.ts +1 -1
- package/dist/types/components.d.ts +355 -8
- package/dist/types/index.d.ts +15 -0
- package/package.json +7 -1
- package/dist/magma-components/p-00a16156.entry.js +0 -1
- package/dist/magma-components/p-05208700.entry.js +0 -1
- package/dist/magma-components/p-065da3de.entry.js +0 -1
- package/dist/magma-components/p-0b3d7c4a.entry.js +0 -1
- package/dist/magma-components/p-11f0d03d.entry.js +0 -1
- package/dist/magma-components/p-1f61bdf7.entry.js +0 -1
- package/dist/magma-components/p-2035f817.entry.js +0 -1
- package/dist/magma-components/p-20502b9d.entry.js +0 -1
- package/dist/magma-components/p-2821c146.entry.js +0 -1
- package/dist/magma-components/p-2886d6f7.entry.js +0 -1
- package/dist/magma-components/p-2988a6c2.entry.js +0 -1
- package/dist/magma-components/p-2e0ebe5e.entry.js +0 -1
- package/dist/magma-components/p-3063ab9a.entry.js +0 -1
- package/dist/magma-components/p-3298569b.entry.js +0 -1
- package/dist/magma-components/p-37241fed.entry.js +0 -1
- package/dist/magma-components/p-3aadbc52.entry.js +0 -1
- package/dist/magma-components/p-430c41d6.entry.js +0 -1
- package/dist/magma-components/p-470e721b.entry.js +0 -1
- package/dist/magma-components/p-4a1f731e.system.entry.js +0 -1
- package/dist/magma-components/p-4cc70dac.entry.js +0 -1
- package/dist/magma-components/p-52ea2327.system.entry.js +0 -1
- package/dist/magma-components/p-57af1404.entry.js +0 -1
- package/dist/magma-components/p-5dc46946.entry.js +0 -1
- package/dist/magma-components/p-60c18f60.entry.js +0 -1
- package/dist/magma-components/p-62d83191.entry.js +0 -1
- package/dist/magma-components/p-67ab401f.entry.js +0 -1
- package/dist/magma-components/p-6a246ff8.entry.js +0 -1
- package/dist/magma-components/p-771786d1.entry.js +0 -1
- package/dist/magma-components/p-77251a16.entry.js +0 -1
- package/dist/magma-components/p-772d7b99.entry.js +0 -1
- package/dist/magma-components/p-773c04da.entry.js +0 -8
- package/dist/magma-components/p-7a166bc0.entry.js +0 -1
- package/dist/magma-components/p-825ee1e0.entry.js +0 -1
- package/dist/magma-components/p-8b1ff303.entry.js +0 -1
- package/dist/magma-components/p-8c21567b.entry.js +0 -1
- package/dist/magma-components/p-91a85141.entry.js +0 -1
- package/dist/magma-components/p-967a60aa.entry.js +0 -1
- package/dist/magma-components/p-97713e2b.entry.js +0 -1
- package/dist/magma-components/p-9cf753f5.entry.js +0 -1
- package/dist/magma-components/p-9ed636f2.entry.js +0 -1
- package/dist/magma-components/p-9f033f29.entry.js +0 -1
- package/dist/magma-components/p-YWpyar7R.system.js +0 -1
- package/dist/magma-components/p-a7fe6fd8.entry.js +0 -1
- package/dist/magma-components/p-aef79bb1.system.entry.js +0 -1
- package/dist/magma-components/p-b0bb1174.entry.js +0 -1
- package/dist/magma-components/p-b858d00e.entry.js +0 -1
- package/dist/magma-components/p-c179f3ca.entry.js +0 -1
- package/dist/magma-components/p-c4d8fe07.entry.js +0 -1
- package/dist/magma-components/p-c565e99c.entry.js +0 -1
- package/dist/magma-components/p-ca1023cf.entry.js +0 -1
- package/dist/magma-components/p-cb7a85da.entry.js +0 -1
- package/dist/magma-components/p-cfb54ef3.entry.js +0 -1
- package/dist/magma-components/p-ebd37b9e.entry.js +0 -1
- package/dist/magma-components/p-ef4393bf.entry.js +0 -1
- package/dist/magma-components/p-f950a39a.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as e,HTMLElement as t,createEvent as s,h as a,Host as i,transformTag as o}from"@stencil/core/internal/client";import{L as n}from"./locale.js";import{m as r}from"./check-circle.js";import{m}from"./circle.js";import{d as l}from"./mds-button2.js";import{d}from"./mds-icon2.js";import{d as u}from"./mds-spinner2.js";import{d as
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as t,createEvent as s,h as a,Host as i,transformTag as o}from"@stencil/core/internal/client";import{L as n}from"./locale.js";import{m as r}from"./check-circle.js";import{m}from"./circle.js";import{d as l}from"./mds-button2.js";import{d}from"./mds-icon2.js";import{d as u}from"./mds-spinner2.js";import{d as h}from"./mds-text2.js";var c={af:"Afrikaans",ar:"العربية",az:"Azərbaycanca",be:"Беларуская",bg:"Български",bn:"বাংলা",bs:"Bosanski",ca:"Català",ceb:"Cebuano",cs:"Čeština",cy:"Cymraeg",da:"Dansk",de:"Deutsch",el:"Ελληνικά",en:"English",eo:"Esperanto",es:"Español",et:"Eesti",eu:"Euskara",fa:"فارسی",fi:"Suomi",fr:"Français",fy:"Frysk",ga:"Gaeilge",gd:"Gàidhlig",gl:"Galego",gu:"ગુજરાતી",ha:"Hausa",haw:"ʻŌlelo Hawaiʻi",he:"עברית",hi:"हिन्दी",hmn:"Hmoob",hr:"Hrvatski",ht:"Kreyòl ayisyen",hu:"Magyar",hy:"Հայերեն",id:"Bahasa Indonesia",ig:"Igbo",is:"Íslenska",it:"Italiano",ja:"日本語",jv:"Basa Jawa",ka:"ქართული",kk:"Қазақ тілі",km:"ភាសាខ្មែរ",kn:"ಕನ್ನಡ",ko:"한국어",ku:"Kurdî",ky:"Кыргызча",la:"Latina",lb:"Lëtzebuergesch",lo:"ພາສາລາວ",lt:"Lietuvių",lv:"Latviešu",mg:"Malagasy",mi:"Māori",mk:"Македонски",ml:"മലയാളം",mn:"Монгол",mr:"मराठी",ms:"Bahasa Melayu",mt:"Malti",my:"မြန်မာ",ne:"नेपाली",nl:"Nederlands",no:"Norsk",ny:"Chinyanja",or:"ଓଡ଼ିଆ",pa:"ਪੰਜਾਬੀ",pl:"Polski",ps:"پښتو",pt:"Português",ro:"Română",ru:"Русский",sd:"سنڌي",si:"සිංහල",sk:"Slovenčina",sl:"Slovenščina",sm:"Gagana Sāmoa",sn:"ChiShona",so:"Soomaali",sq:"Shqip",sr:"Српски",st:"Sesotho",su:"Basa Sunda",sv:"Svenska",sw:"Kiswahili",ta:"தமிழ்",te:"తెలుగు",tg:"Тоҷикӣ",th:"ไทย",tr:"Türkçe",tt:"Tatarça",uk:"Українська",ur:"اردو",uz:"Oʻzbek",vi:"Tiếng Việt",xh:"isiXhosa",yi:"ייִדיש",yo:"Yorùbá",zh:"中文",zu:"isiZulu"},g={noCode:"Nessun code impostato"},p={noCode:"No code set"};const y=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.selectLanguageEvent=s(this,"mdsPrefLanguageItemSelect",7),this.t=new n({en:p,it:g}),this.selected=!1,this.handleClick=()=>{this.selectLanguageEvent.emit({language:this.code})}}async updateLang(){this.language=this.t.lang(this.element)}componentWillRender(){if(!c[this.code])throw Error("Language code not found: "+this.code);this.t.lang(this.element)}render(){return a(i,{key:"733f906b459d62d9dda8c353a30a74110e07b03a",onClick:this.handleClick},""!==this.code?a("mds-button",{icon:this.selected?r:m,variant:"dark",tone:"text"},c[this.code]):a("mds-button",{icon:r,variant:"error",tone:"text"},this.t.get("noCode")))}get element(){return this}static get style(){return"@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:block}"}},[1,"mds-pref-language-item",{code:[513],selected:[516],language:[32],updateLang:[64]}]),b=y,k=function(){"undefined"!=typeof customElements&&["mds-pref-language-item","mds-button","mds-icon","mds-spinner","mds-text"].forEach((e=>{switch(e){case"mds-pref-language-item":customElements.get(o(e))||customElements.define(o(e),y);break;case"mds-button":customElements.get(o(e))||l();break;case"mds-icon":customElements.get(o(e))||d();break;case"mds-spinner":customElements.get(o(e))||u();break;case"mds-text":customElements.get(o(e))||h()}}))};export{b as MdsPrefLanguageItem,k as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as a,HTMLElement as e,createEvent as s,h as i,Host as t,transformTag as o}from"@stencil/core/internal/client";import{L as n}from"./locale.js";import{m as r}from"./keyboard-arrow-down.js";import{m as l}from"./keyboard-arrow-up.js";import{d as m}from"./mds-button2.js";import{d}from"./mds-dropdown2.js";import{d as u}from"./mds-icon2.js";import{d as h}from"./mds-spinner2.js";import{d as c}from"./mds-tab2.js";import{d as g}from"./mds-tab-item2.js";import{d as b}from"./mds-text2.js";var p={auto:"Αυτόματο",label:"Γλώσσα",af:"Αφρικάανς",ar:"Αραβικά",az:"Αζερμπαϊτζανικά",be:"Λευκορωσικά",bg:"Βουλγαρικά",bn:"Μπενγκάλι",bs:"Βοσνιακά",ca:"Καταλανικά",ceb:"Σεμπουάνο",cs:"Τσεχικά",cy:"Ουαλικά",da:"Δανικά",de:"Γερμανικά",el:"Ελληνικά",en:"Αγγλικά",eo:"Εσπεράντο",es:"Ισπανικά",et:"Εσθονικά",eu:"Βασκικά",fa:"Περσικά",fi:"Φινλανδικά",fr:"Γαλλικά",fy:"Φριζικά",ga:"Ιρλανδικά",gd:"Σκωτικά Κέλτικα",gl:"Γαλικιανά",gu:"Γκουτζαράτι",ha:"Χάουσα",haw:"Χαβαϊκά",he:"Εβραϊκά",hi:"Χίντι",hmn:"Χμονγκ",hr:"Κροατικά",ht:"Κρεολικά Αϊτής",hu:"Ουγγρικά",hy:"Αρμενικά",id:"Ινδονησιακά",ig:"Ίγκμπο",is:"Ισλανδικά",it:"Ιταλικά",ja:"Ιαπωνικά",jv:"Ιαβανικά",ka:"Γεωργιανά",kk:"Καζακικά",km:"Χμερ",kn:"Κανάντα",ko:"Κορεατικά",ku:"Κουρδικά",ky:"Κιργιζικά",la:"Λατινικά",lb:"Λουξεμβουργιανά",lo:"Λάο",lt:"Λιθουανικά",lv:"Λετονικά",mg:"Μαλαγάσι",mi:"Μαορί",mk:"Μακεδονικά",ml:"Μαλαγιαλαμικά",mn:"Μογγολικά",mr:"Μαράθι",ms:"Μαλαϊκά",mt:"Μαλτέζικα",my:"Βιρμανικά",ne:"Νεπαλικά",nl:"Ολλανδικά",no:"Νορβηγικά",ny:"Τσιτσέουα",or:"Ορίγια",pa:"Παντζαπικά",pl:"Πολωνικά",ps:"Πάστο",pt:"Πορτογαλικά",ro:"Ρουμανικά",ru:"Ρωσικά",sd:"Σιντ",si:"Σινχαλέζικα",sk:"Σλοβακικά",sl:"Σλοβενικά",sm:"Σαμοανά",sn:"Σόνα",so:"Σομαλικά",sq:"Αλβανικά",sr:"Σερβικά",st:"Σόθο",su:"Σουνδανικά",sv:"Σουηδικά",sw:"Σουαχίλι",ta:"Ταμίλ",te:"Τελούγκου",tg:"Τατζικικά",th:"Ταϊλανδικά",tr:"Τουρκικά",tt:"Ταταρικά",uk:"Ουκρανικά",ur:"Ουρντού",uz:"Ουζμπεκικά",vi:"Βιετναμέζικα",xh:"Ξόσα",yi:"Γίντις",yo:"Γιορούμπα",zh:"Κινέζικα",zu:"Ζουλού",defaultLanguage:"Εάν η μετάφραση δεν είναι διαθέσιμη, θα χρησιμοποιηθούν τα Αγγλικά"},f={auto:"Automatic",label:"Language",af:"Afrikaans",ar:"Arabic",az:"Azerbaijani",be:"Belarusian",bg:"Bulgarian",bn:"Bengali",bs:"Bosnian",ca:"Catalan",ceb:"Cebuano",cs:"Czech",cy:"Welsh",da:"Danish",de:"German",el:"Greek",en:"English",eo:"Esperanto",es:"Spanish",et:"Estonian",eu:"Basque",fa:"Persian",fi:"Finnish",fr:"French",fy:"Frisian",ga:"Irish",gd:"Scottish Gaelic",gl:"Galician",gu:"Gujarati",ha:"Hausa",haw:"Hawaiian",he:"Hebrew",hi:"Hindi",hmn:"Hmong",hr:"Croatian",ht:"Haitian Creole",hu:"Hungarian",hy:"Armenian",id:"Indonesian",ig:"Igbo",is:"Icelandic",it:"Italian",ja:"Japanese",jv:"Javanese",ka:"Georgian",kk:"Kazakh",km:"Khmer",kn:"Kannada",ko:"Korean",ku:"Kurdish",ky:"Kyrgyz",la:"Latin",lb:"Luxembourgish",lo:"Lao",lt:"Lithuanian",lv:"Latvian",mg:"Malagasy",mi:"Maori",mk:"Macedonian",ml:"Malayalam",mn:"Mongolian",mr:"Marathi",ms:"Malay",mt:"Maltese",my:"Burmese",ne:"Nepali",nl:"Dutch",no:"Norwegian",ny:"Chichewa",or:"Odia",pa:"Punjabi",pl:"Polish",ps:"Pashto",pt:"Portuguese",ro:"Romanian",ru:"Russian",sd:"Sindhi",si:"Sinhala",sk:"Slovak",sl:"Slovenian",sm:"Samoan",sn:"Shona",so:"Somali",sq:"Albanian",sr:"Serbian",st:"Sesotho",su:"Sundanese",sv:"Swedish",sw:"Swahili",ta:"Tamil",te:"Telugu",tg:"Tajik",th:"Thai",tr:"Turkish",tt:"Tatar",uk:"Ukrainian",ur:"Urdu",uz:"Uzbek",vi:"Vietnamese",xh:"Xhosa",yi:"Yiddish",yo:"Yoruba",zh:"Chinese",zu:"Zulu",defaultLanguage:"If the translation is not available, English will be used"},y={auto:"Automático",label:"Idioma",af:"Afrikáans",ar:"Árabe",az:"Azerbaiyano",be:"Bielorruso",bg:"Búlgaro",bn:"Bengalí",bs:"Bosnio",ca:"Catalán",ceb:"Cebuano",cs:"Checo",cy:"Galés",da:"Danés",de:"Alemán",el:"Griego",en:"Inglés",eo:"Esperanto",es:"Español",et:"Estonio",eu:"Vasco",fa:"Persa",fi:"Finlandés",fr:"Francés",fy:"Frisón",ga:"Irlandés",gd:"Gaélico escocés",gl:"Gallego",gu:"Gujarati",ha:"Hausa",haw:"Hawaiano",he:"Hebreo",hi:"Hindi",hmn:"Hmong",hr:"Croata",ht:"Criollo haitiano",hu:"Húngaro",hy:"Armenio",id:"Indonesio",ig:"Igbo",is:"Islandés",it:"Italiano",ja:"Japonés",jv:"Javanés",ka:"Georgiano",kk:"Kazajo",km:"Jemer",kn:"Canarés",ko:"Coreano",ku:"Kurdo",ky:"Kirguís",la:"Latín",lb:"Luxemburgués",lo:"Lao",lt:"Lituano",lv:"Letón",mg:"Malgache",mi:"Maorí",mk:"Macedonio",ml:"Malayalam",mn:"Mongol",mr:"Maratí",ms:"Malayo",mt:"Maltés",my:"Birmano",ne:"Nepalí",nl:"Holandés",no:"Noruego",ny:"Chichewa",or:"Oriya",pa:"Panyabí",pl:"Polaco",ps:"Pastún",pt:"Portugués",ro:"Rumano",ru:"Ruso",sd:"Sindhi",si:"Cingalés",sk:"Eslovaco",sl:"Esloveno",sm:"Samoano",sn:"Shona",so:"Somalí",sq:"Albanés",sr:"Serbio",st:"Sesotho",su:"Sundanés",sv:"Sueco",sw:"Suajili",ta:"Tamil",te:"Telugu",tg:"Tayiko",th:"Tailandés",tr:"Turco",tt:"Tártaro",uk:"Ucraniano",ur:"Urdu",uz:"Uzbeko",vi:"Vietnamita",xh:"Xhosa",yi:"Yidis",yo:"Yoruba",zh:"Chino",zu:"Zulú",defaultLanguage:"Si la traducción no está disponible, se utilizará el inglés"},k={auto:"Automatico",label:"Lingua",af:"Afrikaans",ar:"Arabo",az:"Azero",be:"Bielorusso",bg:"Bulgaro",bn:"Bengalese",bs:"Bosniaco",ca:"Catalano",ceb:"Cebuano",cs:"Ceco",cy:"Gallese",da:"Danese",de:"Tedesco",el:"Greco",en:"Inglese",eo:"Esperanto",es:"Spagnolo",et:"Estone",eu:"Basco",fa:"Persiano",fi:"Finlandese",fr:"Francese",fy:"Frisone",ga:"Irlandese",gd:"Gaelico scozzese",gl:"Galiziano",gu:"Gujarati",ha:"Hausa",haw:"Hawaiano",he:"Ebraico",hi:"Hindi",hmn:"Hmong",hr:"Croato",ht:"Creolo haitiano",hu:"Ungherese",hy:"Armeno",id:"Indonesiano",ig:"Igbo",is:"Islandese",it:"Italiano",ja:"Giapponese",jv:"Giavanese",ka:"Georgiano",kk:"Kazako",km:"Khmer",kn:"Kannada",ko:"Coreano",ku:"Curdo",ky:"Kirghiso",la:"Latino",lb:"Lussemburghese",lo:"Lao",lt:"Lituano",lv:"Lettone",mg:"Malgascio",mi:"Maori",mk:"Macedone",ml:"Malayalam",mn:"Mongolo",mr:"Marathi",ms:"Malese",mt:"Maltese",my:"Birmano",ne:"Nepalese",nl:"Olandese",no:"Norvegese",ny:"Chichewa",or:"Oriya",pa:"Punjabi",pl:"Polacco",ps:"Pashtu",pt:"Portoghese",ro:"Rumeno",ru:"Russo",sd:"Sindhi",si:"Singalese",sk:"Slovacco",sl:"Sloveno",sm:"Samoano",sn:"Shona",so:"Somalo",sq:"Albanese",sr:"Serbo",st:"Sesotho",su:"Sundanese",sv:"Svedese",sw:"Swahili",ta:"Tamil",te:"Telugu",tg:"Tagico",th:"Thai",tr:"Turco",tt:"Tataro",uk:"Ucraino",ur:"Urdu",uz:"Uzbeko",vi:"Vietnamita",xh:"Xhosa",yi:"Yiddish",yo:"Yoruba",zh:"Cinese",zu:"Zulu",defaultLanguage:"Se la traduzione non è disponibile, verrà utilizzato l'Inglese"};const v=a(class extends e{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.languageChangeEvent=s(this,"mdsPrefLanguageChange",7),this.prefChangeEvent=s(this,"mdsPrefChange",7),this.showDropdown=!1,this.localStorageAlias="mdsPrefLanguage",this.defaultLanguage="en",this.t=new n({el:p,en:f,es:y,it:k}),this.set="auto",this.toggleDropdown=()=>{this.showDropdown=!this.showDropdown},this.hideLanguageSelectDropdown=()=>{this.showDropdown=!1},this.changeLanguageSelectItem=()=>{this.elPreferLanguageItems.forEach((a=>{a.selected=!1}))},this.checkLanguageSelect=()=>{this.elPreferLanguageItems=this.element.querySelectorAll("mds-pref-language-item"),this.elPreferLanguageItems.forEach((a=>{a.addEventListener("mdsPrefLanguageItemSelect",(a=>{this.changeLanguageSelectItem(),this.currentSelectedItem=a.currentTarget,this.currentSelectedItem.selected=!0,this.languageChangeEvent.emit({language:this.currentSelectedItem.code}),this.showDropdown=!1,this.setLanguage(a.detail.language),this.t.update(document)}))})),this.elPreferLanguageItems.forEach((a=>{a.selected=a.code===this.set}))},this.sanitizeLanguage=a=>a.includes("-")?a.split("-")[0].toLowerCase():a,this.setLanguage=a=>{var e,s;if(!/(auto)|^[a-z]{2}(-[A-Z]{2})?$/gm.exec(a))throw Error("Language code set not reconized: "+a);if(this.set="auto"===a?null!==(s=null!==(e=this.userLanguage)&&void 0!==e?e:this.pageLanguage)&&void 0!==s?s:this.systemLanguage:this.sanitizeLanguage(a),this.prefChangeEvent.emit({preference:"language"}),localStorage.setItem(this.localStorageAlias,this.set),document){const a=document.querySelector("html");null==a||a.setAttribute("lang",this.set)}}}async updateLang(){this.language=this.t.lang(this.element)}componentDidLoad(){this.checkLanguageSelect()}componentWillRender(){var a,e;this.systemLanguage=this.sanitizeLanguage(navigator.language),this.userLanguage=localStorage.getItem(this.localStorageAlias),this.pageLanguage=null!==(e=null===(a=document.querySelector("html"))||void 0===a?void 0:a.getAttribute("lang"))&&void 0!==e?e:null,this.setLanguage(this.set),this.t.lang(this.element)}render(){var a;return i(t,{key:"dc71143924209440f083fcec65bcb7bd504dd25a"},i("div",{key:"292239b82496f972e66d40c3545f744bbb3b3c7f",class:"menu"},i("mds-text",{key:"40a055e9e7b833b54be9d0a94bf3a3dcdfc0c8b8",class:"info",typography:"caption"},i("b",{key:"a18868d48b74d314e96b11a090910094dadc3f32"},this.t.get("label"))),i("mds-tab",{key:"565d66dfa81b0991ff2c456c20f0880b5608a5b3",fill:!0,size:this.size},i("mds-tab-item",{key:"5b9bccdca9afc5dacd2ded61f34001b7dffe39da",selected:!0,onClick:this.toggleDropdown,id:"mds-pref-language-nav",class:"item item--custom-language","icon-position":"right",icon:this.showDropdown?l:r},this.t.get(null!==(a=this.set)&&void 0!==a?a:"auto")))),i("mds-dropdown",{key:"82f77f40b5b589cf3ee6097ecdd27b2f55f50779",class:"mds-pref-language-dropdown",target:"#mds-pref-language-nav",interaction:"none",visible:this.showDropdown,onMdsDropdownHide:this.hideLanguageSelectDropdown,autoPlacement:!0},i("slot",{key:"f2ad1acf8456a7d8a284a802342138424f26628a"})),this.set!==this.defaultLanguage&&i("mds-text",{key:"fc2901f08f355fac291535936079e3d54ed6bcc9",typography:"caption"},this.t.get("defaultLanguage")))}get element(){return this}static get style(){return"@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-dropdown,mds-tab,mds-tab-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}mds-pref-language{display:grid;gap:calc(var(--spacing,.0025rem)*400)}.mds-pref-language-dropdown{gap:calc(var(--spacing,.0025rem)*100);padding:calc(var(--spacing,.0025rem)*400)}.item{--mds-tab-item-default-color:rgb(var(--tone-neutral-05,197 197 197));flex-basis:0;flex-grow:1}.item--custom-language{cursor:pointer}.item--auto,.item--custom-language{--mds-tab-item-selected-color:rgb(var(--tone-neutral-03,233 233 233))}"}},[257,"mds-pref-language",{size:[513],set:[1537],showDropdown:[32],language:[32],updateLang:[64]}]),S=v,w=function(){"undefined"!=typeof customElements&&["mds-pref-language","mds-button","mds-dropdown","mds-icon","mds-spinner","mds-tab","mds-tab-item","mds-text"].forEach((a=>{switch(a){case"mds-pref-language":customElements.get(o(a))||customElements.define(o(a),v);break;case"mds-button":customElements.get(o(a))||m();break;case"mds-dropdown":customElements.get(o(a))||d();break;case"mds-icon":customElements.get(o(a))||u();break;case"mds-spinner":customElements.get(o(a))||h();break;case"mds-tab":customElements.get(o(a))||c();break;case"mds-tab-item":customElements.get(o(a))||g();break;case"mds-text":customElements.get(o(a))||b()}}))};export{S as MdsPrefLanguage,w as defineCustomElement}
|
|
1
|
+
import{proxyCustomElement as a,HTMLElement as e,createEvent as s,h as i,Host as t,transformTag as o}from"@stencil/core/internal/client";import{L as n}from"./locale.js";import{m as r}from"./keyboard-arrow-down.js";import{m as l}from"./keyboard-arrow-up.js";import{d as m}from"./mds-button2.js";import{d}from"./mds-dropdown2.js";import{d as u}from"./mds-icon2.js";import{d as h}from"./mds-spinner2.js";import{d as c}from"./mds-tab2.js";import{d as g}from"./mds-tab-item2.js";import{d as b}from"./mds-text2.js";var p={auto:"Αυτόματο",label:"Γλώσσα",af:"Αφρικάανς",ar:"Αραβικά",az:"Αζερμπαϊτζανικά",be:"Λευκορωσικά",bg:"Βουλγαρικά",bn:"Μπενγκάλι",bs:"Βοσνιακά",ca:"Καταλανικά",ceb:"Σεμπουάνο",cs:"Τσεχικά",cy:"Ουαλικά",da:"Δανικά",de:"Γερμανικά",el:"Ελληνικά",en:"Αγγλικά",eo:"Εσπεράντο",es:"Ισπανικά",et:"Εσθονικά",eu:"Βασκικά",fa:"Περσικά",fi:"Φινλανδικά",fr:"Γαλλικά",fy:"Φριζικά",ga:"Ιρλανδικά",gd:"Σκωτικά Κέλτικα",gl:"Γαλικιανά",gu:"Γκουτζαράτι",ha:"Χάουσα",haw:"Χαβαϊκά",he:"Εβραϊκά",hi:"Χίντι",hmn:"Χμονγκ",hr:"Κροατικά",ht:"Κρεολικά Αϊτής",hu:"Ουγγρικά",hy:"Αρμενικά",id:"Ινδονησιακά",ig:"Ίγκμπο",is:"Ισλανδικά",it:"Ιταλικά",ja:"Ιαπωνικά",jv:"Ιαβανικά",ka:"Γεωργιανά",kk:"Καζακικά",km:"Χμερ",kn:"Κανάντα",ko:"Κορεατικά",ku:"Κουρδικά",ky:"Κιργιζικά",la:"Λατινικά",lb:"Λουξεμβουργιανά",lo:"Λάο",lt:"Λιθουανικά",lv:"Λετονικά",mg:"Μαλαγάσι",mi:"Μαορί",mk:"Μακεδονικά",ml:"Μαλαγιαλαμικά",mn:"Μογγολικά",mr:"Μαράθι",ms:"Μαλαϊκά",mt:"Μαλτέζικα",my:"Βιρμανικά",ne:"Νεπαλικά",nl:"Ολλανδικά",no:"Νορβηγικά",ny:"Τσιτσέουα",or:"Ορίγια",pa:"Παντζαπικά",pl:"Πολωνικά",ps:"Πάστο",pt:"Πορτογαλικά",ro:"Ρουμανικά",ru:"Ρωσικά",sd:"Σιντ",si:"Σινχαλέζικα",sk:"Σλοβακικά",sl:"Σλοβενικά",sm:"Σαμοανά",sn:"Σόνα",so:"Σομαλικά",sq:"Αλβανικά",sr:"Σερβικά",st:"Σόθο",su:"Σουνδανικά",sv:"Σουηδικά",sw:"Σουαχίλι",ta:"Ταμίλ",te:"Τελούγκου",tg:"Τατζικικά",th:"Ταϊλανδικά",tr:"Τουρκικά",tt:"Ταταρικά",uk:"Ουκρανικά",ur:"Ουρντού",uz:"Ουζμπεκικά",vi:"Βιετναμέζικα",xh:"Ξόσα",yi:"Γίντις",yo:"Γιορούμπα",zh:"Κινέζικα",zu:"Ζουλού",defaultLanguage:"Εάν η μετάφραση δεν είναι διαθέσιμη, θα χρησιμοποιηθούν τα Αγγλικά"},f={auto:"Automatic",label:"Language",af:"Afrikaans",ar:"Arabic",az:"Azerbaijani",be:"Belarusian",bg:"Bulgarian",bn:"Bengali",bs:"Bosnian",ca:"Catalan",ceb:"Cebuano",cs:"Czech",cy:"Welsh",da:"Danish",de:"German",el:"Greek",en:"English",eo:"Esperanto",es:"Spanish",et:"Estonian",eu:"Basque",fa:"Persian",fi:"Finnish",fr:"French",fy:"Frisian",ga:"Irish",gd:"Scottish Gaelic",gl:"Galician",gu:"Gujarati",ha:"Hausa",haw:"Hawaiian",he:"Hebrew",hi:"Hindi",hmn:"Hmong",hr:"Croatian",ht:"Haitian Creole",hu:"Hungarian",hy:"Armenian",id:"Indonesian",ig:"Igbo",is:"Icelandic",it:"Italian",ja:"Japanese",jv:"Javanese",ka:"Georgian",kk:"Kazakh",km:"Khmer",kn:"Kannada",ko:"Korean",ku:"Kurdish",ky:"Kyrgyz",la:"Latin",lb:"Luxembourgish",lo:"Lao",lt:"Lithuanian",lv:"Latvian",mg:"Malagasy",mi:"Maori",mk:"Macedonian",ml:"Malayalam",mn:"Mongolian",mr:"Marathi",ms:"Malay",mt:"Maltese",my:"Burmese",ne:"Nepali",nl:"Dutch",no:"Norwegian",ny:"Chichewa",or:"Odia",pa:"Punjabi",pl:"Polish",ps:"Pashto",pt:"Portuguese",ro:"Romanian",ru:"Russian",sd:"Sindhi",si:"Sinhala",sk:"Slovak",sl:"Slovenian",sm:"Samoan",sn:"Shona",so:"Somali",sq:"Albanian",sr:"Serbian",st:"Sesotho",su:"Sundanese",sv:"Swedish",sw:"Swahili",ta:"Tamil",te:"Telugu",tg:"Tajik",th:"Thai",tr:"Turkish",tt:"Tatar",uk:"Ukrainian",ur:"Urdu",uz:"Uzbek",vi:"Vietnamese",xh:"Xhosa",yi:"Yiddish",yo:"Yoruba",zh:"Chinese",zu:"Zulu",defaultLanguage:"If the translation is not available, English will be used"},y={auto:"Automático",label:"Idioma",af:"Afrikáans",ar:"Árabe",az:"Azerbaiyano",be:"Bielorruso",bg:"Búlgaro",bn:"Bengalí",bs:"Bosnio",ca:"Catalán",ceb:"Cebuano",cs:"Checo",cy:"Galés",da:"Danés",de:"Alemán",el:"Griego",en:"Inglés",eo:"Esperanto",es:"Español",et:"Estonio",eu:"Vasco",fa:"Persa",fi:"Finlandés",fr:"Francés",fy:"Frisón",ga:"Irlandés",gd:"Gaélico escocés",gl:"Gallego",gu:"Gujarati",ha:"Hausa",haw:"Hawaiano",he:"Hebreo",hi:"Hindi",hmn:"Hmong",hr:"Croata",ht:"Criollo haitiano",hu:"Húngaro",hy:"Armenio",id:"Indonesio",ig:"Igbo",is:"Islandés",it:"Italiano",ja:"Japonés",jv:"Javanés",ka:"Georgiano",kk:"Kazajo",km:"Jemer",kn:"Canarés",ko:"Coreano",ku:"Kurdo",ky:"Kirguís",la:"Latín",lb:"Luxemburgués",lo:"Lao",lt:"Lituano",lv:"Letón",mg:"Malgache",mi:"Maorí",mk:"Macedonio",ml:"Malayalam",mn:"Mongol",mr:"Maratí",ms:"Malayo",mt:"Maltés",my:"Birmano",ne:"Nepalí",nl:"Holandés",no:"Noruego",ny:"Chichewa",or:"Oriya",pa:"Panyabí",pl:"Polaco",ps:"Pastún",pt:"Portugués",ro:"Rumano",ru:"Ruso",sd:"Sindhi",si:"Cingalés",sk:"Eslovaco",sl:"Esloveno",sm:"Samoano",sn:"Shona",so:"Somalí",sq:"Albanés",sr:"Serbio",st:"Sesotho",su:"Sundanés",sv:"Sueco",sw:"Suajili",ta:"Tamil",te:"Telugu",tg:"Tayiko",th:"Tailandés",tr:"Turco",tt:"Tártaro",uk:"Ucraniano",ur:"Urdu",uz:"Uzbeko",vi:"Vietnamita",xh:"Xhosa",yi:"Yidis",yo:"Yoruba",zh:"Chino",zu:"Zulú",defaultLanguage:"Si la traducción no está disponible, se utilizará el inglés"},k={auto:"Automatico",label:"Lingua",af:"Afrikaans",ar:"Arabo",az:"Azero",be:"Bielorusso",bg:"Bulgaro",bn:"Bengalese",bs:"Bosniaco",ca:"Catalano",ceb:"Cebuano",cs:"Ceco",cy:"Gallese",da:"Danese",de:"Tedesco",el:"Greco",en:"Inglese",eo:"Esperanto",es:"Spagnolo",et:"Estone",eu:"Basco",fa:"Persiano",fi:"Finlandese",fr:"Francese",fy:"Frisone",ga:"Irlandese",gd:"Gaelico scozzese",gl:"Galiziano",gu:"Gujarati",ha:"Hausa",haw:"Hawaiano",he:"Ebraico",hi:"Hindi",hmn:"Hmong",hr:"Croato",ht:"Creolo haitiano",hu:"Ungherese",hy:"Armeno",id:"Indonesiano",ig:"Igbo",is:"Islandese",it:"Italiano",ja:"Giapponese",jv:"Giavanese",ka:"Georgiano",kk:"Kazako",km:"Khmer",kn:"Kannada",ko:"Coreano",ku:"Curdo",ky:"Kirghiso",la:"Latino",lb:"Lussemburghese",lo:"Lao",lt:"Lituano",lv:"Lettone",mg:"Malgascio",mi:"Maori",mk:"Macedone",ml:"Malayalam",mn:"Mongolo",mr:"Marathi",ms:"Malese",mt:"Maltese",my:"Birmano",ne:"Nepalese",nl:"Olandese",no:"Norvegese",ny:"Chichewa",or:"Oriya",pa:"Punjabi",pl:"Polacco",ps:"Pashtu",pt:"Portoghese",ro:"Rumeno",ru:"Russo",sd:"Sindhi",si:"Singalese",sk:"Slovacco",sl:"Sloveno",sm:"Samoano",sn:"Shona",so:"Somalo",sq:"Albanese",sr:"Serbo",st:"Sesotho",su:"Sundanese",sv:"Svedese",sw:"Swahili",ta:"Tamil",te:"Telugu",tg:"Tagico",th:"Thai",tr:"Turco",tt:"Tataro",uk:"Ucraino",ur:"Urdu",uz:"Uzbeko",vi:"Vietnamita",xh:"Xhosa",yi:"Yiddish",yo:"Yoruba",zh:"Cinese",zu:"Zulu",defaultLanguage:"Se la traduzione non è disponibile, verrà utilizzato l'Inglese"};const v=a(class extends e{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.languageChangeEvent=s(this,"mdsPrefLanguageChange",7),this.prefChangeEvent=s(this,"mdsPrefChange",7),this.showDropdown=!1,this.localStorageAlias="mdsPrefLanguage",this.defaultLanguage="en",this.t=new n({el:p,en:f,es:y,it:k}),this.set="auto",this.toggleDropdown=()=>{this.showDropdown=!this.showDropdown},this.hideLanguageSelectDropdown=()=>{this.showDropdown=!1},this.changeLanguageSelectItem=()=>{this.elPreferLanguageItems.forEach((a=>{a.selected=!1}))},this.checkLanguageSelect=()=>{this.elPreferLanguageItems=this.element.querySelectorAll("mds-pref-language-item"),this.elPreferLanguageItems.forEach((a=>{a.addEventListener("mdsPrefLanguageItemSelect",(a=>{this.changeLanguageSelectItem(),this.currentSelectedItem=a.currentTarget,this.currentSelectedItem.selected=!0,this.languageChangeEvent.emit({language:this.currentSelectedItem.code}),this.showDropdown=!1,this.setLanguage(a.detail.language),this.t.update(document)}))})),this.elPreferLanguageItems.forEach((a=>{a.selected=a.code===this.set}))},this.sanitizeLanguage=a=>a.includes("-")?a.split("-")[0].toLowerCase():a,this.setLanguage=a=>{var e,s;if(!/(auto)|^[a-z]{2}(-[A-Z]{2})?$/gm.exec(a))throw Error("Language code set not reconized: "+a);if(this.set="auto"===a?null!==(s=null!==(e=this.userLanguage)&&void 0!==e?e:this.pageLanguage)&&void 0!==s?s:this.systemLanguage:this.sanitizeLanguage(a),this.prefChangeEvent.emit({preference:"language"}),localStorage.setItem(this.localStorageAlias,this.set),"undefined"!=typeof document){const a=document.querySelector("html");null==a||a.setAttribute("lang",this.set)}}}async updateLang(){this.language=this.t.lang(this.element)}componentDidLoad(){this.checkLanguageSelect()}componentWillRender(){var a,e;this.systemLanguage=this.sanitizeLanguage(navigator.language),this.userLanguage=localStorage.getItem(this.localStorageAlias),this.pageLanguage=null!==(e=null===(a=document.querySelector("html"))||void 0===a?void 0:a.getAttribute("lang"))&&void 0!==e?e:null,this.setLanguage(this.set),this.t.lang(this.element)}render(){var a;return i(t,{key:"5817657d210b33095d874782e22a9474deb07186"},i("div",{key:"115825b394ff21c1cbd839592d08371fe4e9088b",class:"menu"},i("mds-text",{key:"cb0bcd46bedc0b7746147884ac26ffcfbf31e1af",class:"info",typography:"caption"},i("b",{key:"c9184216e4219ff8a2097cf1728903e16d0a1e07"},this.t.get("label"))),i("mds-tab",{key:"f71a4aa2177c36761317215d0e1fa81400f6bb8c",fill:!0,size:this.size},i("mds-tab-item",{key:"1991f5acca41b36d299deb007ff46755071c37f9",selected:!0,onClick:this.toggleDropdown,id:"mds-pref-language-nav",class:"item item--custom-language","icon-position":"right",icon:this.showDropdown?l:r},this.t.get(null!==(a=this.set)&&void 0!==a?a:"auto")))),i("mds-dropdown",{key:"f7fd96c2eef84b5b2230cfd5f8a74083d00d9846",class:"mds-pref-language-dropdown",target:"#mds-pref-language-nav",interaction:"none",visible:this.showDropdown,onMdsDropdownHide:this.hideLanguageSelectDropdown,autoPlacement:!0},i("slot",{key:"ce4d781b3b08cae00029bb36e8ea6d1f86461b30"})),this.set!==this.defaultLanguage&&i("mds-text",{key:"6ea5f8ca5cdc07692204f1b3635d4393ababfda9",typography:"caption"},this.t.get("defaultLanguage")))}get element(){return this}static get style(){return"@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-dropdown,mds-tab,mds-tab-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}mds-pref-language{display:grid;gap:calc(var(--spacing,.0025rem)*400)}.mds-pref-language-dropdown{gap:calc(var(--spacing,.0025rem)*100);padding:calc(var(--spacing,.0025rem)*400)}.item{--mds-tab-item-default-color:rgb(var(--tone-neutral-05,197 197 197));flex-basis:0;flex-grow:1}.item--custom-language{cursor:pointer}.item--auto,.item--custom-language{--mds-tab-item-selected-color:rgb(var(--tone-neutral-03,233 233 233))}"}},[257,"mds-pref-language",{size:[513],set:[1537],showDropdown:[32],language:[32],updateLang:[64]}]),S=v,w=function(){"undefined"!=typeof customElements&&["mds-pref-language","mds-button","mds-dropdown","mds-icon","mds-spinner","mds-tab","mds-tab-item","mds-text"].forEach((a=>{switch(a){case"mds-pref-language":customElements.get(o(a))||customElements.define(o(a),v);break;case"mds-button":customElements.get(o(a))||m();break;case"mds-dropdown":customElements.get(o(a))||d();break;case"mds-icon":customElements.get(o(a))||u();break;case"mds-spinner":customElements.get(o(a))||h();break;case"mds-tab":customElements.get(o(a))||c();break;case"mds-tab-item":customElements.get(o(a))||g();break;case"mds-text":customElements.get(o(a))||b()}}))};export{S as MdsPrefLanguage,w as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as e,HTMLElement as t,createEvent as r,h as a,Host as s,transformTag as o}from"@stencil/core/internal/client";import{L as i}from"./locale.js";import{m as n}from"./check-circle.js";import{m}from"./circle.js";import{d as c}from"./mds-button2.js";import{d as l}from"./mds-icon2.js";import{d}from"./mds-spinner2.js";import{d as h}from"./mds-text2.js";var u={noCode:"Nessun code impostato"},v={noCode:"No code set"};const
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as t,createEvent as r,h as a,Host as s,transformTag as o}from"@stencil/core/internal/client";import{L as i}from"./locale.js";import{m as n}from"./check-circle.js";import{m}from"./circle.js";import{d as c}from"./mds-button2.js";import{d as l}from"./mds-icon2.js";import{d}from"./mds-spinner2.js";import{d as h}from"./mds-text2.js";var u={noCode:"Nessun code impostato"},v={noCode:"No code set"};const b=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.selectVariantEvent=r(this,"mdsPrefThemeVariantItemSelect",7),this.t=new i({en:v,it:u}),this.name="default",this.scheme="all",this.selected=!1,this.handleClick=()=>{this.selectVariantEvent.emit({name:this.name,scheme:this.scheme})}}async updateLang(){this.language=this.t.lang(this.element)}componentWillRender(){this.t.lang(this.element),void 0!==this.label&&""!==this.label||(this.label=this.name.charAt(0).toUpperCase()+this.name.slice(1).replace(/-/g," "))}render(){return a(s,{key:"7c67e626a1111e762cf384dd1e07cca9e8ab3025",onClick:this.handleClick},a("mds-button",{key:"12b4207889f201e6b4424aa28472fcd4a637fb0b",icon:this.selected?n:m,variant:"dark",tone:"text"},a("div",{key:"7ab3d3e6667f2ff83d578579210888af336b7170",class:"label"},a("div",{key:"fadd43f41276b708742e4cf1a3902d2bb6c7dddf",class:"theme-preview"},a("div",{key:"0338afc3745f1212f9e924d7b7fb9e55d7f455fb",class:"theme-color theme-color--variant-primary"}),a("div",{key:"23acf3c5f95614ee9b83562f1061a612ee139332",class:"theme-color theme-color--status-success"}),a("div",{key:"bdefd9b571f74615d63a4e015626a096a92446dd",class:"theme-color theme-color--status-warning"}),a("div",{key:"fc128b9b30699cf52881ee3f559dc10d9323486a",class:"theme-color theme-color--status-error"})),this.label)))}get element(){return this}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-pref-theme-variant-item-color-background:rgb(var(--tint-base-lv1,var(--tone-neutral-09,76 76 76)));--mds-pref-theme-variant-item-color-status-error:rgb(var(--status-error-06,239 108 105));--mds-pref-theme-variant-item-color-status-success:rgb(var(--status-success-06,0 171 97));--mds-pref-theme-variant-item-color-status-warning:rgb(var(--status-warning-06,190 142 0));--mds-pref-theme-variant-item-color-variant-primary:rgb(var(--variant-primary-03,211 226 255))}}}@layer reset,vendor,theme,base,components,utilities;:host{--mds-pref-theme-variant-item-color-background:rgb(var(--tint-base-lv1,var(--tone-neutral-09,76 76 76)));--mds-pref-theme-variant-item-color-status-error:rgb(var(--status-error-06,239 108 105));--mds-pref-theme-variant-item-color-status-success:rgb(var(--status-success-06,0 171 97));--mds-pref-theme-variant-item-color-status-warning:rgb(var(--status-warning-06,190 142 0));--mds-pref-theme-variant-item-color-variant-primary:rgb(var(--variant-primary-03,211 226 255));display:flex}.label{align-items:center;display:flex;gap:calc(var(--spacing,.0025rem)*200)}.theme-preview{background-color:var(--mds-pref-theme-variant-item-color-background,rgb(var(--tint-base-lv1,var(--tone-neutral-09,76 76 76))));border-radius:var(--radius-md,12px);-webkit-box-shadow:var(--shadow-outline-light);box-shadow:var(--shadow-outline-light);box-sizing:border-box;display:inline-flex;flex-wrap:wrap;gap:calc(var(--spacing,.0025rem)*100);height:calc(var(--spacing,.0025rem)*600);margin:1px;padding:calc(var(--spacing,.0025rem)*100);width:calc(var(--spacing,.0025rem)*600)}.theme-color{background-color:var(--color-tone-neutral-09,rgb(var(--tone-neutral-09,228 228 228)));border-radius:var(--radius-lg,16px);height:calc(var(--spacing,.0025rem)*150);position:relative;width:calc(var(--spacing,.0025rem)*150)}.theme-color:after{border-radius:inherit;-webkit-box-shadow:var(--shadow-outline-light) inset;box-shadow:var(--shadow-outline-light) inset;content:"";display:flex;inset:0;position:absolute}.theme-color--variant-primary{background-color:var(--mds-pref-theme-variant-item-color-variant-primary,rgb(var(--variant-primary-03,211 226 255)))}.theme-color--status-success{background-color:var(--mds-pref-theme-variant-item-color-status-success,rgb(var(--status-success-06,0 171 97)))}.theme-color--status-warning{background-color:var(--mds-pref-theme-variant-item-color-status-warning,rgb(var(--status-warning-06,190 142 0)))}.theme-color--status-error{background-color:var(--mds-pref-theme-variant-item-color-status-error,rgb(var(--status-error-06,239 108 105)))}'}},[1,"mds-pref-theme-variant-item",{label:[1537],name:[513],scheme:[513],selected:[516],language:[32],updateLang:[64]}]),p=b,f=function(){"undefined"!=typeof customElements&&["mds-pref-theme-variant-item","mds-button","mds-icon","mds-spinner","mds-text"].forEach((e=>{switch(e){case"mds-pref-theme-variant-item":customElements.get(o(e))||customElements.define(o(e),b);break;case"mds-button":customElements.get(o(e))||c();break;case"mds-icon":customElements.get(o(e))||l();break;case"mds-spinner":customElements.get(o(e))||d();break;case"mds-text":customElements.get(o(e))||h()}}))};export{p as MdsPrefThemeVariantItem,f as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as e,HTMLElement as t,createEvent as s,h as i,Host as a,transformTag as m}from"@stencil/core/internal/client";import{L as r}from"./locale.js";import{m as
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as t,createEvent as s,h as i,Host as a,transformTag as m}from"@stencil/core/internal/client";import{L as r}from"./locale.js";import{m as n}from"./keyboard-arrow-down.js";import{m as o}from"./keyboard-arrow-up.js";import{d}from"./mds-button2.js";import{d as h}from"./mds-dropdown2.js";import{d as l}from"./mds-icon2.js";import{d as c}from"./mds-spinner2.js";import{d as b}from"./mds-tab2.js";import{d as p}from"./mds-tab-item2.js";import{d as f}from"./mds-text2.js";var u={label:"Θέμα"},v={label:"Theme"},y={label:"Tema"},g={label:"Tema"};const k=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.themeChangeEvent=s(this,"mdsPrefThemeVariantChange",7),this.prefChangeEvent=s(this,"mdsPrefChange",7),this.showDropdown=!1,this.localStorageAliasThemeName="mdsPrefThemeName",this.localStorageAliasThemeScheme="mdsPrefThemeScheme",this.defaultTheme="default",this.t=new r({el:u,en:v,es:y,it:g}),this.clasNameThemeNamePrefix="pref-theme-name-",this.previousName=null,this.customPropertyAliasThemeScheme="--magma-pref-theme-scheme",this.customPropertyAliasThemeName="--magma-pref-theme-name",this.schemeSet={light:"pref-theme-scheme-light",dark:"pref-theme-scheme-dark",all:"pref-theme-scheme-all"},this.name="default",this.scheme="all",this.toggleDropdown=()=>{this.showDropdown=!this.showDropdown},this.hideThemeVariantDropdownSelect=()=>{this.showDropdown=!1},this.changeThemeVariantItem=()=>{this.elPreferThemeVariantItems.forEach((e=>{e.selected=!1}))},this.checkThemeVariantSelect=()=>{this.elPreferThemeVariantItems=this.element.querySelectorAll("mds-pref-theme-variant-item"),this.elPreferThemeVariantItems.forEach((e=>{e.addEventListener("mdsPrefThemeVariantItemSelect",(e=>{this.changeThemeVariantItem(),this.currentSelectedItem=e.currentTarget,this.currentSelectedItem.selected=!0;const t=e.detail.name.toLowerCase(),s=e.detail.scheme.toLowerCase();this.themeChangeEvent.emit({name:t,scheme:s}),this.showDropdown=!1,this.setThemeVariant(t,s),this.t.update(document)}))})),this.elPreferThemeVariantItems.forEach((e=>{e.selected=e.name===this.name}))},this.setThemeVariant=(e,t)=>{if(!/^[a-z]+(-[a-z]+)*$/gm.exec(e))throw Error("Theme variant name not valid: "+e);if(this.name=e,this.scheme=t,this.prefChangeEvent.emit({preference:"theme-variant"}),localStorage.setItem(this.localStorageAliasThemeName,this.name),localStorage.setItem(this.localStorageAliasThemeScheme,this.scheme),"undefined"!=typeof document){const e=document.querySelector("html");for(const t in this.schemeSet)({}).hasOwnProperty.call(this.schemeSet,t)&&(null==e||e.classList.remove(this.schemeSet[t]));null!==this.previousName&&""!==this.previousName&&(null==e||e.classList.remove(this.clasNameThemeNamePrefix+this.previousName)),null==e||e.setAttribute("data-theme-name",this.name),null==e||e.classList.add(this.schemeSet[this.scheme]),null==e||e.classList.add(this.clasNameThemeNamePrefix+this.name),null==e||e.style.setProperty(this.customPropertyAliasThemeName,this.name),null==e||e.style.setProperty(this.customPropertyAliasThemeScheme,this.scheme),this.previousName=this.name}}}async updateLang(){this.language=this.t.lang(this.element)}componentDidLoad(){this.checkThemeVariantSelect()}componentWillRender(){var e,t;this.userThemeName=localStorage.getItem(this.localStorageAliasThemeName),this.userThemeScheme=localStorage.getItem(this.localStorageAliasThemeScheme),this.setThemeVariant(null!==(e=this.userThemeName)&&void 0!==e?e:this.name,null!==(t=this.userThemeScheme)&&void 0!==t?t:this.scheme),this.t.lang(this.element)}render(){return i(a,{key:"5232c814c636b1f3cf3351e67460cdfd9b9c1b56"},i("div",{key:"a2a255a4c62cc2aa4cbac79886e629bebce294f7",class:"menu"},i("mds-text",{key:"02a7f081c306907d973009a3a7e73b8059940352",class:"info",typography:"caption"},i("b",{key:"01967f8b9aea1f6324ef1f15d5ae958b92e005b4"},this.t.get("label"))),i("mds-tab",{key:"ef02c8b82bbadcad95541f67be2dcf4ba0ddc2fc",fill:!0,size:this.size},i("mds-tab-item",{key:"663e683eac4d520e61fbc76cf4d048feacb798d2",selected:!0,onClick:this.toggleDropdown,id:"mds-pref-theme-variant-nav",class:"item item--custom-theme-variant","icon-position":"right",icon:this.showDropdown?o:n},this.name))),i("mds-dropdown",{key:"e86ce5ba509a6b015add47622fe94d6d59aba713",class:"mds-pref-theme-variant-dropdown",target:"#mds-pref-theme-variant-nav",interaction:"none",visible:this.showDropdown,onMdsDropdownHide:this.hideThemeVariantDropdownSelect,autoPlacement:!0},i("slot",{key:"9b18d8d7f8d5bdb1b75150ee0559c12f8d385bda"})),this.name!==this.defaultTheme&&i("mds-text",{key:"60cb41f838f81abdbf7e7d78fb56ea6faca48c26",typography:"caption"},this.t.get("defaultTheme")))}get element(){return this}static get style(){return"@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-dropdown,mds-tab,mds-tab-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}mds-pref-language{display:grid;gap:calc(var(--spacing,.0025rem)*400)}.mds-pref-theme-variant-dropdown{gap:calc(var(--spacing,.0025rem)*100);padding:calc(var(--spacing,.0025rem)*400)}.item{--mds-tab-item-default-color:rgb(var(--tone-neutral-05,197 197 197));flex-basis:0;flex-grow:1}.item--custom-theme-variant{cursor:pointer}.item--auto,.item--custom-theme-variant{--mds-tab-item-selected-color:rgb(var(--tone-neutral-03,233 233 233))}"}},[257,"mds-pref-theme-variant",{size:[513],name:[1537],scheme:[1537],showDropdown:[32],language:[32],updateLang:[64]}]),w=k,x=function(){"undefined"!=typeof customElements&&["mds-pref-theme-variant","mds-button","mds-dropdown","mds-icon","mds-spinner","mds-tab","mds-tab-item","mds-text"].forEach((e=>{switch(e){case"mds-pref-theme-variant":customElements.get(m(e))||customElements.define(m(e),k);break;case"mds-button":customElements.get(m(e))||d();break;case"mds-dropdown":customElements.get(m(e))||h();break;case"mds-icon":customElements.get(m(e))||l();break;case"mds-spinner":customElements.get(m(e))||c();break;case"mds-tab":customElements.get(m(e))||b();break;case"mds-tab-item":customElements.get(m(e))||p();break;case"mds-text":customElements.get(m(e))||f()}}))};export{w as MdsPrefThemeVariant,x as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as e,HTMLElement as t,createEvent as s,h as i,Host as o,transformTag as a}from"@stencil/core/internal/client";import{c as r}from"./unit.js";import{m}from"./settings.js";import{L as h}from"./locale.js";import{i as d}from"./browser.js";import{d as l}from"./mds-button2.js";import{d as n}from"./mds-icon2.js";import{d as c}from"./mds-spinner2.js";import{d as f}from"./mds-tab2.js";import{d as b}from"./mds-tab-item2.js";import{d as p}from"./mds-text2.js";var u={darkMode:"Σκούρο",label:"Λειτουργία θέματος",lightMode:"Ανοιχτό{{#forced}} (επιβεβλημένο στο Safari){{/forced}}",systemSettings:"Με βάση το λειτουργικό σύστημα"},g={darkMode:"Dark",label:"Theme mode",lightMode:"Light{{#forced}} (forced on Safari){{/forced}}",systemSettings:"Based on operating system"},y={darkMode:"Oscura",label:"Modo de tema",lightMode:"Clara{{#forced}} (forzada en Safari){{/forced}}",systemSettings:"Basado en el sistema operativo"},v={darkMode:"Scura",label:"Modalità tema",lightMode:"Chiara{{#forced}} (forzata su Safari){{/forced}}",systemSettings:"Basato sul sistema operativo"};const k=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.prefChangeEvent=s(this,"mdsPrefChange",7),this.defaultMode="system",this.t=new h({el:u,en:g,es:y,it:v}),this.localStorageAlias="mdsPrefTheme",this.customPropertyAlias="--magma-pref-user-theme",this.overlayBackgroundVisible="rgb(var(--tone-neutral))",this.overlayBackgroundHidden="rgb(var(--tone-neutral) / 0)",this.cssOverlayShowDuration="300",this.cssOverlayFadeoutDuration="200",this.cssOverlayZIndex="6000",this.overlayId="mds-pref-theme-overlay",this.overlayShow=!1,this.disabled=!1,this.updateCSSCustomProps=()=>{var e,t,s;if("undefined"==typeof window)return;const i=window.getComputedStyle(this.element);this.cssOverlayShowDuration=null!==(e=i.getPropertyValue("--mds-pref-theme-overlay-show-duration"))&&void 0!==e?e:"300",this.cssOverlayFadeoutDuration=null!==(t=i.getPropertyValue("--mds-pref-theme-overlay-fadeout-duration"))&&void 0!==t?t:"200",this.cssOverlayZIndex=null!==(s=i.getPropertyValue("--mds-pref-theme-overlay-z-index"))&&void 0!==s?s:"6000"},this.transition="smooth",this.theme={dark:{selector:"pref-theme-dark",label:"darkMode"},system:{selector:"pref-theme-system",label:"systemSettings"},light:{selector:"pref-theme-light",label:"lightMode"}},this.setTheme=e=>{if(this.prefChangeEvent.emit({preference:"theme-mode"}),this.mode=e,localStorage.setItem(this.localStorageAlias,this.mode),document){const t=document.querySelector("html");for(const e in this.theme)({}).hasOwnProperty.call(this.theme,e)&&(null==t||t.classList.remove(this.theme[e].selector));null==t||t.classList.add(this.theme[e].selector),null==t||t.style.setProperty(this.customPropertyAlias,this.mode)}},this.isDarkMode=()=>window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches,this.getColorScheme=e=>e?"system"===e?this.isDarkMode()?"dark":"light":e:"system"===this.mode?this.isDarkMode()?"dark":"light":this.mode,this.instanceOverlay=()=>{this.overlayEl||(this.overlayEl=document.createElement("div"),this.overlayEl.className=this.overlayId,this.overlayEl.style.inset="0",this.overlayEl.style.pointerEvents="none",this.overlayEl.style.position="fixed",this.overlayEl.style.transition=`background-color ${this.cssOverlayFadeoutDuration} ease-out`,this.overlayEl.style.zIndex=this.cssOverlayZIndex),this.overlayEl.style.backgroundColor=this.overlayBackgroundHidden},this.attachFlashOverlayTransition=()=>{this.overlayShow=!0,this.instanceOverlay(),this.overlayEl.style.backgroundColor=this.overlayBackgroundVisible,document.body.appendChild(this.overlayEl),clearTimeout(this.overlayTimer),this.overlayTimer=setTimeout((()=>{this.overlayShow=!1,this.detachOverlayTransition()}),r(this.cssOverlayShowDuration))},this.attachSmoothOverlayTransition=e=>{this.overlayShow=!0,this.instanceOverlay(),document.body.appendChild(this.overlayEl),clearTimeout(this.overlaySmoothTimer),this.overlaySmoothTimer=setTimeout((()=>{this.overlayEl.style.backgroundColor=this.overlayBackgroundVisible,clearTimeout(this.overlayTimer),this.overlayTimer=setTimeout((()=>{this.setTheme(e),clearTimeout(this.overlayTimer),this.overlayTimer=setTimeout((()=>{this.overlayShow=!1,this.detachOverlayTransition()}),r(this.cssOverlayFadeoutDuration))}),r(this.cssOverlayShowDuration))}),1)},this.changeTheme=e=>{if(!this.disabled)if(this.getColorScheme()!==this.getColorScheme(e))switch(this.transition){case"none":default:this.setTheme(e);break;case"flash":this.setTheme(e),this.attachFlashOverlayTransition();break;case"smooth":this.attachSmoothOverlayTransition(e)}else this.setTheme(e)}}async updateLang(){this.language=this.t.lang(this.element)}componentWillRender(){var e,t;this.t.lang(this.element),d()?(this.disabled=!0,this.mode="light"):this.setTheme(null!==(t=null!==(e=this.mode)&&void 0!==e?e:localStorage.getItem(this.localStorageAlias))&&void 0!==t?t:this.defaultMode)}componentDidLoad(){this.updateCSSCustomProps()}modeChanged(e,t){e!==t&&this.setTheme(e)}detachOverlayTransition(){this.overlayEl&&(this.overlayEl.style.backgroundColor=this.overlayBackgroundHidden,clearTimeout(this.overlayTimer),this.overlayTimer=setTimeout((()=>{this.overlayEl.remove()}),r(this.cssOverlayFadeoutDuration)))}render(){var e,t;return i(o,{key:"c78474ccae6afb47766f571d86fe235c7d61d1ba"},i("mds-text",{key:"3535c07209e5465959044593d89cce53ab128180",class:"info",typography:"caption"},i("b",{key:"68be38f8895654dd40214f66fb7241012d392199"},this.t.get("label"))," ",this.disabled?this.t.get(this.theme[null!==(e=this.mode)&&void 0!==e?e:this.defaultMode].label,{forced:!0}):this.t.get(this.theme[null!==(t=this.mode)&&void 0!==t?t:this.defaultMode].label,{forced:!1})),i("mds-tab",{key:"22fe4bd6c21908dc356a322226cfe7518952f68d",fill:!0,size:this.size},i("mds-tab-item",{key:"c40a7c19794324a2156bd0cfa6a085e4ed98194e",disabled:this.disabled,selected:"light"===this.mode,onClick:()=>{this.overlayShow||this.changeTheme("light")},class:"item item--light",icon:'<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>'}),i("mds-tab-item",{key:"4986b3c390f38ffbe292d36180ab8b6799eda730",disabled:this.disabled,selected:"system"===this.mode,onClick:()=>{this.overlayShow||this.changeTheme("system")},class:"item item--system",icon:m}),i("mds-tab-item",{key:"5e211984d3891daa894fe391277a1574d98ea1a1",disabled:this.disabled,selected:"dark"===this.mode,onClick:()=>{this.overlayShow||this.changeTheme("dark")},class:"item item--dark",icon:"dark"===this.mode?'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 3a9 9 0 1 0 9 9c0-.46-.04-.92-.1-1.36a5.389 5.389 0 0 1-4.4 2.26a5.403 5.403 0 0 1-3.14-9.8c-.44-.06-.9-.1-1.36-.1z"/></svg>':'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M9.37 5.51A7.35 7.35 0 0 0 9.1 7.5c0 4.08 3.32 7.4 7.4 7.4c.68 0 1.35-.09 1.99-.27A7.014 7.014 0 0 1 12 19c-3.86 0-7-3.14-7-7c0-2.93 1.81-5.45 4.37-6.49zM12 3a9 9 0 1 0 9 9c0-.46-.04-.92-.1-1.36a5.389 5.389 0 0 1-4.4 2.26a5.403 5.403 0 0 1-3.14-9.8c-.44-.06-.9-.1-1.36-.1z"/></svg>'})))}get element(){return this}static get watchers(){return{mode:[{modeChanged:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-pref-theme-overlay-fadeout-duration:.2s;--mds-pref-theme-overlay-show-duration:.3s;--mds-pref-theme-overlay-z-index:var(--magma-theme-overlay-z-index,6000)}}}@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-tab,mds-tab-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --mds-pref-theme-overlay-fadeout-duration{syntax:"<time>";inherits:false;initial-value:.2s}@property --mds-pref-theme-overlay-show-duration{syntax:"<time>";inherits:false;initial-value:.3s}:host{--mds-pref-theme-overlay-fadeout-duration:.2s;--mds-pref-theme-overlay-show-duration:.3s;--mds-pref-theme-overlay-z-index:var(--magma-theme-overlay-z-index,6000);display:grid;gap:calc(var(--spacing,.0025rem)*100)}.item{--mds-tab-item-default-color:rgb(var(--tone-neutral-05,197 197 197));flex-basis:0;flex-grow:1}.item--system{--mds-tab-item-selected-color:rgb(var(--tone-neutral-03,233 233 233))}.item--light{--mds-tab-item-selected-color:rgb(var(--label-yellow-06,188 143 6))}.item--dark{--mds-tab-item-selected-color:rgb(var(--label-sky-06,13 158 224))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)) .item{--mds-tab-item-default-color:rgb(var(--tone-neutral-01,255 255 255))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)) .item--system{--mds-tab-item-selected-color:rgb(var(--tone-neutral-03,233 233 233))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)) .item--light{--mds-tab-item-selected-color:rgb(var(--label-yellow-03,251 224 142))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)) .item--dark{--mds-tab-item-selected-color:rgb(var(--label-sky-03,191 232 251))}@media (prefers-color-scheme:dark){:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))) .item{--mds-tab-item-default-color:rgb(var(--tone-neutral-01,255 255 255))}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))) .item--system{--mds-tab-item-selected-color:rgb(var(--tone-neutral-03,233 233 233))}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))) .item--light{--mds-tab-item-selected-color:rgb(var(--label-yellow-03,251 224 142))}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))) .item--dark{--mds-tab-item-selected-color:rgb(var(--label-sky-03,191 232 251))}}'}},[1,"mds-pref-theme",{size:[513],mode:[1537],transition:[1537],language:[32],disabled:[32],updateLang:[64]},void 0,{mode:[{modeChanged:0}]}]),w=k,x=function(){"undefined"!=typeof customElements&&["mds-pref-theme","mds-button","mds-icon","mds-spinner","mds-tab","mds-tab-item","mds-text"].forEach((e=>{switch(e){case"mds-pref-theme":customElements.get(a(e))||customElements.define(a(e),k);break;case"mds-button":customElements.get(a(e))||l();break;case"mds-icon":customElements.get(a(e))||n();break;case"mds-spinner":customElements.get(a(e))||c();break;case"mds-tab":customElements.get(a(e))||f();break;case"mds-tab-item":customElements.get(a(e))||b();break;case"mds-text":customElements.get(a(e))||p()}}))};export{w as MdsPrefTheme,x as defineCustomElement}
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as t,createEvent as s,h as i,Host as o,transformTag as a}from"@stencil/core/internal/client";import{c as r}from"./unit.js";import{m}from"./settings.js";import{L as h}from"./locale.js";import{i as d}from"./browser.js";import{d as l}from"./mds-button2.js";import{d as n}from"./mds-icon2.js";import{d as c}from"./mds-spinner2.js";import{d as f}from"./mds-tab2.js";import{d as b}from"./mds-tab-item2.js";import{d as p}from"./mds-text2.js";var u={darkMode:"Σκούρο",label:"Λειτουργία θέματος",lightMode:"Ανοιχτό{{#forced}} (επιβεβλημένο στο Safari){{/forced}}",systemSettings:"Με βάση το λειτουργικό σύστημα"},g={darkMode:"Dark",label:"Theme mode",lightMode:"Light{{#forced}} (forced on Safari){{/forced}}",systemSettings:"Based on operating system"},y={darkMode:"Oscura",label:"Modo de tema",lightMode:"Clara{{#forced}} (forzada en Safari){{/forced}}",systemSettings:"Basado en el sistema operativo"},v={darkMode:"Scura",label:"Modalità tema",lightMode:"Chiara{{#forced}} (forzata su Safari){{/forced}}",systemSettings:"Basato sul sistema operativo"};const k=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.prefChangeEvent=s(this,"mdsPrefChange",7),this.defaultMode="system",this.t=new h({el:u,en:g,es:y,it:v}),this.localStorageAlias="mdsPrefTheme",this.customPropertyAlias="--magma-pref-user-theme",this.overlayBackgroundVisible="rgb(var(--tone-neutral))",this.overlayBackgroundHidden="rgb(var(--tone-neutral) / 0)",this.cssOverlayShowDuration="300",this.cssOverlayFadeoutDuration="200",this.cssOverlayZIndex="6000",this.overlayId="mds-pref-theme-overlay",this.overlayShow=!1,this.disabled=!1,this.updateCSSCustomProps=()=>{var e,t,s;if("undefined"==typeof window)return;const i=window.getComputedStyle(this.element);this.cssOverlayShowDuration=null!==(e=i.getPropertyValue("--mds-pref-theme-overlay-show-duration"))&&void 0!==e?e:"300",this.cssOverlayFadeoutDuration=null!==(t=i.getPropertyValue("--mds-pref-theme-overlay-fadeout-duration"))&&void 0!==t?t:"200",this.cssOverlayZIndex=null!==(s=i.getPropertyValue("--mds-pref-theme-overlay-z-index"))&&void 0!==s?s:"6000"},this.transition="smooth",this.theme={dark:{selector:"pref-theme-dark",label:"darkMode"},system:{selector:"pref-theme-system",label:"systemSettings"},light:{selector:"pref-theme-light",label:"lightMode"}},this.setTheme=e=>{if(this.prefChangeEvent.emit({preference:"theme-mode"}),this.mode=e,localStorage.setItem(this.localStorageAlias,this.mode),"undefined"!=typeof document){const t=document.querySelector("html");for(const e in this.theme)({}).hasOwnProperty.call(this.theme,e)&&(null==t||t.classList.remove(this.theme[e].selector));null==t||t.classList.add(this.theme[e].selector),null==t||t.style.setProperty(this.customPropertyAlias,this.mode)}},this.isDarkMode=()=>window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches,this.getColorScheme=e=>void 0!==e?"system"===e?this.isDarkMode()?"dark":"light":e:"system"===this.mode?this.isDarkMode()?"dark":"light":this.mode,this.instanceOverlay=()=>{null==this.overlayEl&&(this.overlayEl=document.createElement("div"),this.overlayEl.className=this.overlayId,this.overlayEl.style.inset="0",this.overlayEl.style.pointerEvents="none",this.overlayEl.style.position="fixed",this.overlayEl.style.transition=`background-color ${this.cssOverlayFadeoutDuration} ease-out`,this.overlayEl.style.zIndex=this.cssOverlayZIndex),this.overlayEl.style.backgroundColor=this.overlayBackgroundHidden},this.attachFlashOverlayTransition=()=>{this.overlayShow=!0,this.instanceOverlay(),this.overlayEl.style.backgroundColor=this.overlayBackgroundVisible,document.body.appendChild(this.overlayEl),clearTimeout(this.overlayTimer),this.overlayTimer=setTimeout((()=>{this.overlayShow=!1,this.detachOverlayTransition()}),r(this.cssOverlayShowDuration))},this.attachSmoothOverlayTransition=e=>{this.overlayShow=!0,this.instanceOverlay(),document.body.appendChild(this.overlayEl),clearTimeout(this.overlaySmoothTimer),this.overlaySmoothTimer=setTimeout((()=>{this.overlayEl.style.backgroundColor=this.overlayBackgroundVisible,clearTimeout(this.overlayTimer),this.overlayTimer=setTimeout((()=>{this.setTheme(e),clearTimeout(this.overlayTimer),this.overlayTimer=setTimeout((()=>{this.overlayShow=!1,this.detachOverlayTransition()}),r(this.cssOverlayFadeoutDuration))}),r(this.cssOverlayShowDuration))}),1)},this.changeTheme=e=>{if(!this.disabled)if(this.getColorScheme()!==this.getColorScheme(e))switch(this.transition){case"none":default:this.setTheme(e);break;case"flash":this.setTheme(e),this.attachFlashOverlayTransition();break;case"smooth":this.attachSmoothOverlayTransition(e)}else this.setTheme(e)}}async updateLang(){this.language=this.t.lang(this.element)}componentWillRender(){var e,t;this.t.lang(this.element),d()?(this.disabled=!0,this.mode="light"):this.setTheme(null!==(t=null!==(e=this.mode)&&void 0!==e?e:localStorage.getItem(this.localStorageAlias))&&void 0!==t?t:this.defaultMode)}componentDidLoad(){this.updateCSSCustomProps()}modeChanged(e,t){e!==t&&this.setTheme(e)}detachOverlayTransition(){null!=this.overlayEl&&(this.overlayEl.style.backgroundColor=this.overlayBackgroundHidden,clearTimeout(this.overlayTimer),this.overlayTimer=setTimeout((()=>{this.overlayEl.remove()}),r(this.cssOverlayFadeoutDuration)))}render(){var e,t;return i(o,{key:"d39c062c0ddd2b9f321ce4d153613ab35628ba07"},i("mds-text",{key:"547812a4d5c9e790fdb71e19e39156842a1635e2",class:"info",typography:"caption"},i("b",{key:"343a8359be692988c9ec734d52246d16950e6185"},this.t.get("label"))," ",this.disabled?this.t.get(this.theme[null!==(e=this.mode)&&void 0!==e?e:this.defaultMode].label,{forced:!0}):this.t.get(this.theme[null!==(t=this.mode)&&void 0!==t?t:this.defaultMode].label,{forced:!1})),i("mds-tab",{key:"86baac9e84e019c9367a521fcc6d1a61adbc43ce",fill:!0,size:this.size},i("mds-tab-item",{key:"8c1d7742877300f0efe7c9e93ddb99aa24722cca",disabled:this.disabled,selected:"light"===this.mode,onClick:()=>{this.overlayShow||this.changeTheme("light")},class:"item item--light",icon:'<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>'}),i("mds-tab-item",{key:"1974867e21420238c2e8000091dd2e5dfaf4d0c1",disabled:this.disabled,selected:"system"===this.mode,onClick:()=>{this.overlayShow||this.changeTheme("system")},class:"item item--system",icon:m}),i("mds-tab-item",{key:"1c433c2879c2165b08d896bdb8fff6d7d8fe1b2e",disabled:this.disabled,selected:"dark"===this.mode,onClick:()=>{this.overlayShow||this.changeTheme("dark")},class:"item item--dark",icon:"dark"===this.mode?'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 3a9 9 0 1 0 9 9c0-.46-.04-.92-.1-1.36a5.389 5.389 0 0 1-4.4 2.26a5.403 5.403 0 0 1-3.14-9.8c-.44-.06-.9-.1-1.36-.1z"/></svg>':'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M9.37 5.51A7.35 7.35 0 0 0 9.1 7.5c0 4.08 3.32 7.4 7.4 7.4c.68 0 1.35-.09 1.99-.27A7.014 7.014 0 0 1 12 19c-3.86 0-7-3.14-7-7c0-2.93 1.81-5.45 4.37-6.49zM12 3a9 9 0 1 0 9 9c0-.46-.04-.92-.1-1.36a5.389 5.389 0 0 1-4.4 2.26a5.403 5.403 0 0 1-3.14-9.8c-.44-.06-.9-.1-1.36-.1z"/></svg>'})))}get element(){return this}static get watchers(){return{mode:[{modeChanged:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-pref-theme-overlay-fadeout-duration:.2s;--mds-pref-theme-overlay-show-duration:.3s;--mds-pref-theme-overlay-z-index:var(--magma-theme-overlay-z-index,6000)}}}@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-tab,mds-tab-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --mds-pref-theme-overlay-fadeout-duration{syntax:"<time>";inherits:false;initial-value:.2s}@property --mds-pref-theme-overlay-show-duration{syntax:"<time>";inherits:false;initial-value:.3s}:host{--mds-pref-theme-overlay-fadeout-duration:.2s;--mds-pref-theme-overlay-show-duration:.3s;--mds-pref-theme-overlay-z-index:var(--magma-theme-overlay-z-index,6000);display:grid;gap:calc(var(--spacing,.0025rem)*100)}.item{--mds-tab-item-default-color:rgb(var(--tone-neutral-05,197 197 197));flex-basis:0;flex-grow:1}.item--system{--mds-tab-item-selected-color:rgb(var(--tone-neutral-03,233 233 233))}.item--light{--mds-tab-item-selected-color:rgb(var(--label-yellow-06,188 143 6))}.item--dark{--mds-tab-item-selected-color:rgb(var(--label-sky-06,13 158 224))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)) .item{--mds-tab-item-default-color:rgb(var(--tone-neutral-01,255 255 255))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)) .item--system{--mds-tab-item-selected-color:rgb(var(--tone-neutral-03,233 233 233))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)) .item--light{--mds-tab-item-selected-color:rgb(var(--label-yellow-03,251 224 142))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)) .item--dark{--mds-tab-item-selected-color:rgb(var(--label-sky-03,191 232 251))}@media (prefers-color-scheme:dark){:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))) .item{--mds-tab-item-default-color:rgb(var(--tone-neutral-01,255 255 255))}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))) .item--system{--mds-tab-item-selected-color:rgb(var(--tone-neutral-03,233 233 233))}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))) .item--light{--mds-tab-item-selected-color:rgb(var(--label-yellow-03,251 224 142))}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))) .item--dark{--mds-tab-item-selected-color:rgb(var(--label-sky-03,191 232 251))}}'}},[1,"mds-pref-theme",{size:[513],mode:[1537],transition:[1537],language:[32],disabled:[32],updateLang:[64]},void 0,{mode:[{modeChanged:0}]}]),w=k,x=function(){"undefined"!=typeof customElements&&["mds-pref-theme","mds-button","mds-icon","mds-spinner","mds-tab","mds-tab-item","mds-text"].forEach((e=>{switch(e){case"mds-pref-theme":customElements.get(a(e))||customElements.define(a(e),k);break;case"mds-button":customElements.get(a(e))||l();break;case"mds-icon":customElements.get(a(e))||n();break;case"mds-spinner":customElements.get(a(e))||c();break;case"mds-tab":customElements.get(a(e))||f();break;case"mds-tab-item":customElements.get(a(e))||b();break;case"mds-text":customElements.get(a(e))||p()}}))};export{w as MdsPrefTheme,x as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as e,HTMLElement as t,h as s,Host as a,transformTag as i}from"@stencil/core/internal/client";import{L as o}from"./locale.js";import{d as
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as t,h as s,Host as a,transformTag as i}from"@stencil/core/internal/client";import{L as o}from"./locale.js";import{d as n}from"./mds-text2.js";var r={reloadPageToSeeChanges:"Πρέπει να ανανεώσετε τη σελίδα για να δείτε όλες τις αλλαγές, διαφορετικά θα είναι ορατές μόνο για τα πρόσφατα μεταφορτωμένα στοιχεία."},d={reloadPageToSeeChanges:"You must refresh the page to see all changes, or they will only be visible for new items uploaded."},h={reloadPageToSeeChanges:"Es necesario actualizar la página para ver todos los cambios, o solo serán visibles para los nuevos elementos cargados."},l={reloadPageToSeeChanges:"È necessario aggiornare la pagina per vedere tutti i cambiamenti, oppure saranno visibili solo per i nuovi elementi caricati."};const c=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.showReload=!1,this.prefNeedsReload=["consumption","language"],this.t=new o({el:r,en:d,es:h,it:l}),this.addPerfEvents=()=>{this.addEvent(this.host.querySelector("mds-pref-consumption")),this.addEvent(this.host.querySelector("mds-pref-contrast")),this.addEvent(this.host.querySelector("mds-pref-language")),this.addEvent(this.host.querySelector("mds-pref-theme")),this.addEvent(this.host.querySelector("mds-pref-theme-variant"))},this.removePerfEvents=()=>{this.removeEvent(this.host.querySelector("mds-pref-consumption")),this.removeEvent(this.host.querySelector("mds-pref-contrast")),this.removeEvent(this.host.querySelector("mds-pref-language")),this.removeEvent(this.host.querySelector("mds-pref-theme")),this.removeEvent(this.host.querySelector("mds-pref-theme-variant"))},this.handlePrefChangeEvent=e=>{this.prefNeedsReload.includes(e.detail.preference)&&(this.showReload=!0,"language"===e.detail.preference&&this.t.lang(this.host))},this.addEvent=e=>{e&&e.addEventListener("mdsPrefChange",this.handlePrefChangeEvent.bind(this))},this.removeEvent=e=>{e&&e.removeEventListener("mdsPrefChange",this.handlePrefChangeEvent.bind(this))}}async updateLang(){this.language=this.t.lang(this.host)}handleControllerChange(e){!1===e&&(this.controller=void 0)}handleSizeChange(e){Array.from(this.host.querySelectorAll("*")).filter((e=>e.tagName.toLowerCase().startsWith("mds-pref-"))).forEach((t=>{t.size=e}))}componentWillRender(){this.t.lang(this.host)}componentDidLoad(){var e;"undefined"!=typeof window&&(null===(e=document.documentElement)||void 0===e||e.setAttribute("data-magma-pref","")),this.controller&&this.addPerfEvents()}disconnectedCallback(){var e;"undefined"!=typeof window&&(null===(e=document.documentElement)||void 0===e||e.removeAttribute("data-magma-pref")),this.removePerfEvents()}render(){return s(a,{key:"9b6e06abc8d530f2e148f4823bb70ace4cfd786b"},s("slot",{key:"5be136360ee11b12cec8664a1e6c228c924a4123"}),this.showReload&&s("div",{key:"a10b658b7a064be2b89101422e273402235c92c8",class:"reload-required"},s("mds-text",{key:"d66a8213bfc744d590817f72e4ae63e8b3684d40",typography:"caption"},this.t.get("reloadPageToSeeChanges"))))}get host(){return this}static get watchers(){return{controller:[{handleControllerChange:0}],size:[{handleSizeChange:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*400)}:host(:empty),:host([controller]){display:none}.reload-required{display:grid;gap:calc(var(--spacing,.0025rem)*200)}"}},[257,"mds-pref",{size:[513],controller:[1540],showReload:[32],language:[32],updateLang:[64]},void 0,{controller:[{handleControllerChange:0}],size:[{handleSizeChange:0}]}]),m=c,p=function(){"undefined"!=typeof customElements&&["mds-pref","mds-text"].forEach((e=>{switch(e){case"mds-pref":customElements.get(i(e))||customElements.define(i(e),c);break;case"mds-text":customElements.get(i(e))||n()}}))};export{m as MdsPref,p as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as e,HTMLElement as r,h as t,Host as o,transformTag as a}from"@stencil/core/internal/client";import{m as l}from"./check-circle.js";import{m as s}from"./horizontal-rule.js";import{d as c}from"./mds-text2.js";const n=e(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.type="text"}render(){return t(o,{key:"
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as r,h as t,Host as o,transformTag as a}from"@stencil/core/internal/client";import{m as l}from"./check-circle.js";import{m as s}from"./horizontal-rule.js";import{d as c}from"./mds-text2.js";const n=e(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.type="text"}render(){return t(o,{key:"c2128e191ac5c1b87f07094c22ec8933b7a21874"},"supported"===this.type&&t("i",{key:"af9fc4de6bdf3698ce80126b5166809920ec209c",class:"icon icon--supported",innerHTML:l,part:"icon"}),"unsupported"===this.type&&t("i",{key:"ca1fd3835fa926af3989f75e79354512d46ae37a",class:"icon icon--unsupported",innerHTML:s,part:"icon"}),"text"===this.type&&t("mds-text",{key:"6ad51db1f44912c8e175edf8530234d947bda5a5",part:"text",typography:"detail"},t("slot",{key:"856ddd5a1d444fe3127379f2d7b2c2ce1a27c292"})),"custom"===this.type&&t("slot",{key:"0a206aad7c9d1e7ba0e647db8ebb47a8eef396aa"}),"label"===this.type&&t("slot",{key:"17d326be1ffeb2fb4f0dc832e0233a8cf5fcd197"}))}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-price-table-features-cell-padding:var(--mds-price-table-features-padding,calc(var(--spacing,.0025rem)*300));--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-06,30 171 82));--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-06,30 171 82));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--tone-neutral-06,158 158 158));--mds-price-table-features-cell-icon-unsupported-color:rgb(var(--tone-neutral-06,158 158 158));--mds-price-table-features-cell-border-color:rgb(var(--tone-neutral-08,107 107 107));--tw-duration:initial;--tw-ease:initial}}}@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-price-table-features-cell-padding:var(--mds-price-table-features-padding,calc(var(--spacing,.0025rem)*300));--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-06,30 171 82));--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-06,30 171 82));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--tone-neutral-06,158 158 158));--mds-price-table-features-cell-icon-unsupported-color:rgb(var(--tone-neutral-06,158 158 158));--mds-price-table-features-cell-border-color:rgb(var(--tone-neutral-08,107 107 107));--tw-duration:.2s;--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-bottom:1px solid var(--mds-price-table-features-cell-border-color,rgb(var(--tone-neutral-08,107 107 107)));display:table-cell;padding:var(--mds-price-table-features-cell-padding,var(--mds-price-table-features-padding,calc(var(--spacing,.0025rem)*300)));transition-duration:.2s;transition-property:border-color,transform;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));vertical-align:top}.icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}.icon{height:calc(var(--spacing,.0025rem)*600);width:calc(var(--spacing,.0025rem)*600);--tw-duration:.2s;--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));display:flex;fill:var(--icon-fill-color,currentColor);transition-duration:.2s;transition-property:fill;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.icon--supported{--icon-fill-color:var(--mds-price-table-features-cell-icon-supported-color,rgb(var(--label-green-06,30 171 82)))}.icon--unsupported{--icon-fill-color:var(--mds-price-table-features-cell-icon-unsupported-color,rgb(var(--tone-neutral-06,158 158 158)))}:host-context(:root.pref-animation-reduce){transition-duration:0s}:host-context(:root.pref-animation-reduce) .icon{transition-duration:0s}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)){--mds-price-table-features-cell-border-color:rgb(var(--tone-neutral-07,134 134 134));--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-03,173 241 198));--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-02,211 247 224));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--tone-neutral-04,218 218 218))}:host-context(:root.pref-contrast-more){--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-01,231 251 239));--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-02,211 247 224));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--tone-neutral-02,244 244 244));--mds-price-table-features-cell-icon-unsupported-color:rgb(var(--tone-neutral-02,244 244 244));--mds-price-table-features-cell-border-color:rgb(var(--tone-neutral-04,218 218 218))}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion){:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))),:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))) .icon{transition-duration:0s}}@media (prefers-color-scheme:dark){:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))){--mds-price-table-features-cell-border-color:rgb(var(--tone-neutral-07,134 134 134));--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-03,173 241 198));--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-02,211 247 224));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--tone-neutral-04,218 218 218))}}@media (prefers-contrast:more){:is(:host-context(:root.pref-contrast-system),:host-context(:root:not([data-magma-pref]))){--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-01,231 251 239));--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-02,211 247 224));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--tone-neutral-02,244 244 244));--mds-price-table-features-cell-icon-unsupported-color:rgb(var(--tone-neutral-02,244 244 244));--mds-price-table-features-cell-border-color:rgb(var(--tone-neutral-04,218 218 218))}}'}},[257,"mds-price-table-features-cell",{type:[513]}]),i=n,d=function(){"undefined"!=typeof customElements&&["mds-price-table-features-cell","mds-text"].forEach((e=>{switch(e){case"mds-price-table-features-cell":customElements.get(a(e))||customElements.define(a(e),n);break;case"mds-text":customElements.get(a(e))||c()}}))};export{i as MdsPriceTableFeaturesCell,d as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as e,HTMLElement as r,h as t,Host as o,transformTag as a}from"@stencil/core/internal/client";const s=e(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}componentWillRender(){this.horizontalCells=this.host.querySelectorAll("mds-price-table-features-cell"),this.cellPercWidth=Number(100/this.horizontalCells.length).toFixed(4)+"%",this.horizontalCells.forEach((e=>{e.style.width=this.cellPercWidth}))}render(){return t(o,{key:"
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as r,h as t,Host as o,transformTag as a}from"@stencil/core/internal/client";const s=e(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}componentWillRender(){this.horizontalCells=this.host.querySelectorAll("mds-price-table-features-cell"),this.cellPercWidth=Number(100/this.horizontalCells.length).toFixed(4)+"%",this.horizontalCells.forEach((e=>{e.style.width=this.cellPercWidth}))}render(){return t(o,{key:"49b215263ed6aad599fcf7371fc88091febf16de"},t("slot",{key:"edbfb6111c9363ecf3510f29a3d2ce137e303472"}))}get host(){return this}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-price-table-features-row-background:transparent;--mds-price-table-features-row-background-hover:rgb(var(--tone-neutral-10,60 60 60));--mds-price-table-features-row-color:rgb(var(--tone-neutral-04,218 218 218));--mds-price-table-features-row-color-hover:rgb(var(--tone-neutral-01,255 255 255));--tw-duration:initial;--tw-ease:initial}}}@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-price-table-features-cell:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --mds-price-table-features-row-background{syntax:"<color>";inherits:false;initial-value:#0000}:host{--mds-price-table-features-row-background:transparent;--mds-price-table-features-row-background-hover:rgb(var(--tone-neutral-10,60 60 60));--mds-price-table-features-row-color:rgb(var(--tone-neutral-04,218 218 218));--mds-price-table-features-row-color-hover:rgb(var(--tone-neutral-01,255 255 255));--tw-duration:.2s;--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-price-table-features-row-background,transparent);color:var(--mds-price-table-features-row-color,rgb(var(--tone-neutral-04,218 218 218)));display:table-row;transition-duration:.2s;transition-property:background-color,color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host-context(:not(.safari)):host(:hover){--mds-price-table-features-row-background:var(--mds-price-table-features-row-background-hover,rgb(var(--tone-neutral-10,60 60 60)));--mds-price-table-features-row-color:var(--mds-price-table-features-row-color-hover,rgb(var(--tone-neutral-01,255 255 255)))}:host-context(:not(.safari)):host(:hover)>::slotted(mds-price-table-features-cell){--mds-price-table-features-cell-icon-supported-color:var(--mds-price-table-features-cell-icon-supported-color-hover,rgb(var(--label-green-06,30 171 82)));--mds-price-table-features-cell-icon-unsupported-color:var(--mds-price-table-features-cell-icon-unsupported-color-hover,rgb(var(--tone-neutral-06,158 158 158)))}:host>::slotted([type=label]){padding-left:0}:host-context(:not(.safari)):host(:hover)>::slotted([type=label]){-webkit-transform:translate(calc(var(--spacing,.0025rem)*200));transform:translate(calc(var(--spacing,.0025rem)*200))}:host-context(:root.pref-animation-reduce){transition-duration:0s}:host-context(:root.pref-contrast-more){--mds-price-table-features-row-color:rgb(var(--tone-neutral-01,255 255 255));--mds-price-table-features-row-color-hover:rgb(var(--tone-neutral-01,255 255 255))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)){--mds-price-table-features-row-background-hover:rgb(var(--tone-neutral-09,76 76 76))}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion){:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))){transition-duration:0s}}@media (prefers-contrast:more){:is(:host-context(:root.pref-contrast-system),:host-context(:root:not([data-magma-pref]))){--mds-price-table-features-row-color:rgb(var(--tone-neutral-01,255 255 255));--mds-price-table-features-row-color-hover:rgb(var(--tone-neutral-01,255 255 255))}}@media (prefers-color-scheme:dark){:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))){--mds-price-table-features-row-background-hover:rgb(var(--tone-neutral-09,76 76 76))}}'}},[257,"mds-price-table-features-row",{cellPercWidth:[32]}]),n=s,i=function(){"undefined"!=typeof customElements&&["mds-price-table-features-row"].forEach((e=>{"mds-price-table-features-row"===e&&(customElements.get(a(e))||customElements.define(a(e),s))}))};export{n as MdsPriceTableFeaturesRow,i as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as e,HTMLElement as t,h as r,Host as a,transformTag as o}from"@stencil/core/internal/client";import{d as s}from"./mds-text2.js";const i=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return r(a,{key:"
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as t,h as r,Host as a,transformTag as o}from"@stencil/core/internal/client";import{d as s}from"./mds-text2.js";const i=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return r(a,{key:"e7f9344d10b9d60dc268381a74eccf8514b3c398"},r("div",{key:"5b705f564d319faeac9d4eb622e462eabeee7031",class:"table-wrapper"},this.label&&r("header",{key:"5f84a45d54385488a527afc523448756624170f9",part:"header"},r("mds-text",{key:"7316e7c2d5793513f582643b76974c266faedc10",typography:"detail"},r("b",{key:"baa6b6737d4cdd98c8405d3eb4421a1fb0b1b518"},this.label))),r("table",{key:"f20e7627f4e4770b1e4bd475a945acc111e5ce8a"},r("tbody",{key:"6f4d54def644b954a56e8a7ada75ca913f65a837"},r("slot",{key:"2b96abcc2dc865bd55ec953d429f345d89904dc7"})))))}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-price-table-features-border-color:rgb(var(--tone-neutral-06,158 158 158));--mds-price-table-features-padding:calc(var(--spacing,.0025rem)*300);--tw-duration:initial;--tw-ease:initial}}}@layer reset,vendor,theme,base,components,utilities;:host{--mds-price-table-features-border-color:rgb(var(--tone-neutral-06,158 158 158));--mds-price-table-features-padding:calc(var(--spacing,.0025rem)*300);--tw-duration:.2s;--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));display:flex;transition-duration:.2s;transition-property:border-color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));width:100%}.table-wrapper{scroll-margin-inline:calc(var(--spacing,.0025rem)*600);width:100%}table{border-collapse:collapse;min-width:100%;table-layout:fixed}header{border-bottom:1px solid var(--mds-price-table-features-border-color,rgb(var(--tone-neutral-06,158 158 158)));padding:var(--mds-price-table-features-padding,calc(var(--spacing,.0025rem)*300)) var(--mds-price-table-features-padding,calc(var(--spacing,.0025rem)*300)) var(--mds-price-table-features-padding,calc(var(--spacing,.0025rem)*300)) 0}:host-context(:root.pref-animation-reduce){transition-duration:0s}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)){--mds-price-table-features-border-color:rgb(var(--tone-neutral-05,197 197 197))}:host-context(:root.pref-contrast-more){--mds-price-table-features-border-color:rgb(var(--tone-neutral-03,233 233 233))}:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion){:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))){transition-duration:0s}}@media (prefers-color-scheme:dark){:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))){--mds-price-table-features-border-color:rgb(var(--tone-neutral-05,197 197 197))}}@media (prefers-contrast:more){:is(:host-context(:root.pref-contrast-system),:host-context(:root:not([data-magma-pref]))){--mds-price-table-features-border-color:rgb(var(--tone-neutral-03,233 233 233))}}'}},[257,"mds-price-table-features",{label:[1]}]),n=i,d=function(){"undefined"!=typeof customElements&&["mds-price-table-features","mds-text"].forEach((e=>{switch(e){case"mds-price-table-features":customElements.get(o(e))||customElements.define(o(e),i);break;case"mds-text":customElements.get(o(e))||s()}}))};export{n as MdsPriceTableFeatures,d as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as e,HTMLElement as t,h as r,Host as s,transformTag as i}from"@stencil/core/internal/client";const a=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return r(s,{key:"
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as t,h as r,Host as s,transformTag as i}from"@stencil/core/internal/client";const a=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return r(s,{key:"b882376c905d6e22fddcc441877d7b2ffd2eda12"},r("slot",{key:"cc100d18a2026ea3223fefb6207969e8e2ac46ab"}))}static get style(){return"@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-price-table-list:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*600);grid-template-columns:repeat(auto-fit,minmax(1px,1fr))}"}},[257,"mds-price-table-header"]),o=a,d=function(){"undefined"!=typeof customElements&&["mds-price-table-header"].forEach((e=>{"mds-price-table-header"===e&&(customElements.get(i(e))||customElements.define(i(e),a))}))};export{o as MdsPriceTableHeader,d as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as e,HTMLElement as t,h as r,Host as i,transformTag as o}from"@stencil/core/internal/client";import{m as s}from"./check-circle.js";import{m as a}from"./horizontal-rule.js";import{d as n}from"./mds-text2.js";const l=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.supported=!1,this.typography="detail"}render(){return r(i,{key:"
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as t,h as r,Host as i,transformTag as o}from"@stencil/core/internal/client";import{m as s}from"./check-circle.js";import{m as a}from"./horizontal-rule.js";import{d as n}from"./mds-text2.js";const l=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.supported=!1,this.typography="detail"}render(){return r(i,{key:"10cdc06ed8d528e21a4d5c9d40752e61e5a670a0",slot:"item"},r("mds-text",{key:"93487f55363206856aa655044df9b4190b486a77",class:"icon-container",typography:this.typography},r("i",this.supported?{class:"icon",innerHTML:s,part:"icon"}:{class:"icon",innerHTML:a,part:"icon"})),r("mds-text",{key:"8e91a53122918c3629d7d2db466f66e8f0a2d838",class:"text",typography:this.typography},r("slot",{key:"9d6d6071ca509914c1b6f467b6cda11d4eb51fec"})))}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-price-table-list-item-supported-icon-color-hover:rgb(var(--label-green-05,37 213 102));--mds-price-table-list-item-supported-icon-color:rgb(var(--label-green-06,30 171 82));--mds-price-table-list-item-unsupported-icon-color-hover:rgb(var(--tone-neutral-04,218 218 218));--mds-price-table-list-item-unsupported-icon-color:rgb(var(--tone-neutral-05,197 197 197));--tw-ease:initial}}}@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-price-table-list-item-supported-icon-color-hover:rgb(var(--label-green-05,37 213 102));--mds-price-table-list-item-supported-icon-color:rgb(var(--label-green-06,30 171 82));--mds-price-table-list-item-unsupported-icon-color-hover:rgb(var(--tone-neutral-04,218 218 218));--mds-price-table-list-item-unsupported-icon-color:rgb(var(--tone-neutral-05,197 197 197));align-items:flex-start;display:flex;gap:calc(var(--spacing,.0025rem)*100)}.text{flex-grow:1}.icon-container{flex-shrink:0}.icon{display:flex;height:calc(var(--spacing,.0025rem)*600);width:calc(var(--spacing,.0025rem)*600);--tw-ease:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));fill:var(--mds-price-table-list-item-unsupported-icon-color,rgb(var(--tone-neutral-05,197 197 197)));-webkit-transition-duration:var(--duration-500,.5s);transition-duration:var(--duration-500,.5s);transition-property:fill;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}:host([supported]:not([supported=false])) .icon{fill:var(--mds-price-table-list-item-supported-icon-color,rgb(var(--label-green-06,30 171 82)))}@property --tw-ease{syntax:"*";inherits:false}'}},[257,"mds-price-table-list-item",{supported:[516],typography:[513]}]),c=l,d=function(){"undefined"!=typeof customElements&&["mds-price-table-list-item","mds-text"].forEach((e=>{switch(e){case"mds-price-table-list-item":customElements.get(o(e))||customElements.define(o(e),l);break;case"mds-text":customElements.get(o(e))||n()}}))};export{c as MdsPriceTableListItem,d as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as e,HTMLElement as t,h as r,Host as a,transformTag as o}from"@stencil/core/internal/client";import{d as s}from"./mds-separator2.js";const i=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}componentWillLoad(){this.hasItems=this.hostElement.querySelectorAll('[slot="item"], mds-price-table-list-item').length>0}render(){return r(a,{key:"
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as t,h as r,Host as a,transformTag as o}from"@stencil/core/internal/client";import{d as s}from"./mds-separator2.js";const i=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}componentWillLoad(){this.hasItems=this.hostElement.querySelectorAll('[slot="item"], mds-price-table-list-item').length>0}render(){return r(a,{key:"bb6d784c26371390055494e96fb4194f6525113f"},r("div",{key:"4158b4739e07535d56db97ff286f6c6339da5f76",class:"header",part:"header"},r("slot",{key:"bccecac7c5f63db407b2658e6a9d5ef1eb2f5468",name:"header"})),this.hasItems&&r("mds-separator",{key:"2822bfea0edcf58ea26f5ac8f3b2c4f0751f0318",class:"separator"}),this.hasItems&&r("main",{key:"32c5d76670faf634a9d386a78e2e201c16b270b2",class:"main",part:"content"},r("slot",{key:"d3c61f5f594a1e4e323e86ecded79587deb875ae",name:"item"})),r("div",{key:"422d6ac5f00182b404b32fd7adf7bf9214e5bedd",class:"footer",part:"footer"},r("slot",{key:"74fdaaf493a48a6251f4ca7d38abea6e560d201b",name:"price"}),r("slot",{key:"eff0dfa6116d33f667f342ccd79b9bff13364511",name:"action"})))}get hostElement(){return this}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-price-table-list-separator-color:rgb(var(--tone-neutral-03,233 233 233)/.5);--tw-duration:initial;--tw-ease:initial}}}@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-separator:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-price-table-list-separator-color:rgb(var(--tone-neutral-03,233 233 233)/.5);border-radius:var(--radius-xl,20px);gap:calc(var(--spacing,.0025rem)*600);padding:calc(var(--spacing,.0025rem)*600);--tw-duration:.2s;--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:rgb(var(--label-green-10,12 68 33));display:grid;transition-duration:.2s;transition-property:background-color,color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.separator{--tw-duration:.2s;--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-price-table-list-separator-color,rgb(var(--tone-neutral-03,233 233 233)/.5));transition-duration:.2s;transition-property:background-color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.header,.main{display:grid}.main{gap:calc(var(--spacing,.0025rem)*300)}.footer{display:grid;gap:calc(var(--spacing,.0025rem)*400)}:host-context(:root.pref-animation-reduce){transition-duration:0s}:host-context(:root.pref-animation-reduce) .separator{transition-duration:0s}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)){--mds-price-table-list-separator-color:rgb(var(--tone-neutral-01,255 255 255)/.5);background-color:rgb(var(--label-green-09,14 81 39));-webkit-box-shadow:var(--shadow-outline);box-shadow:var(--shadow-outline)}:host-context(:root.pref-contrast-more){--mds-price-table-list-separator-color:rgb(var(--tone-neutral-01,255 255 255)/.5);-webkit-box-shadow:var(--shadow-outline-50) inset;box-shadow:var(--shadow-outline-50) inset;color:rgb(var(--tone-neutral-01,255 255 255))}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion){:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))),:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))) .separator{transition-duration:0s}}@media (prefers-color-scheme:dark){:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))){--mds-price-table-list-separator-color:rgb(var(--tone-neutral-01,255 255 255)/.5);background-color:rgb(var(--label-green-09,14 81 39));-webkit-box-shadow:var(--shadow-outline);box-shadow:var(--shadow-outline)}}@media (prefers-contrast:more){:is(:host-context(:root.pref-contrast-system),:host-context(:root:not([data-magma-pref]))){--mds-price-table-list-separator-color:rgb(var(--tone-neutral-01,255 255 255)/.5);-webkit-box-shadow:var(--shadow-outline-50) inset;box-shadow:var(--shadow-outline-50) inset;color:rgb(var(--tone-neutral-01,255 255 255))}}'}},[257,"mds-price-table-list",{hasItems:[32]}]),n=i,d=function(){"undefined"!=typeof customElements&&["mds-price-table-list","mds-separator"].forEach((e=>{switch(e){case"mds-price-table-list":customElements.get(o(e))||customElements.define(o(e),i);break;case"mds-separator":customElements.get(o(e))||s()}}))};export{n as MdsPriceTableList,d as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as e,HTMLElement as t,h as s,Host as i,transformTag as r}from"@stencil/core/internal/client";const a=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return s(i,{key:"
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as t,h as s,Host as i,transformTag as r}from"@stencil/core/internal/client";const a=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return s(i,{key:"4a7524eda2d51d229b579063684f617d686bca52"},s("slot",{key:"c6eeb79e4b5439383b992832d6e346221a8ee067"}))}static get style(){return"@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-price-table-features,mds-price-table-header,mds-price-table-list):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*600)}"}},[257,"mds-price-table"]),o=a,n=function(){"undefined"!=typeof customElements&&["mds-price-table"].forEach((e=>{"mds-price-table"===e&&(customElements.get(r(e))||customElements.define(r(e),a))}))};export{o as MdsPriceTable,n as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as r,HTMLElement as e,h as s,Host as t,transformTag as o}from"@stencil/core/internal/client";import{r as a,i}from"./aria.js";import{d as n}from"./mds-icon2.js";import{d as m}from"./mds-radial-progress2.js";import{d}from"./mds-text2.js";const h=r(class extends e{constructor(r){super(),!1!==r&&this.__registerHost(),this.__attachShadow(),this.stepsList=new Array,this.progress=0,this.direction="horizontal",this.variant="primary",this.typography="option",this.size="sm",this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}componentWillLoad(){this.stepsList=this.steps.split(","),this.setProgress(this.progress)}componentDidLoad(){a(this.element,"aria-hidden","true",["aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","role"])}setProgress(r){this.steps&&(this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))],i(this.element,"aria-hidden")||this.element.setAttribute("aria-valuetext",this.currentStep))}progressChanged(r){this.setProgress(r)}stepsChanged(r){this.stepsList=r.split(",")}render(){return s(t,{key:"b515b4bc8d9bb3e124374ad1adc90a50016c1434","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":!i(this.element,"aria-hidden")&&Math.round(100*this.progress),role:"progressbar"},"radial"===this.direction?s("mds-radial-progress",{progress:this.progress,part:"radial-progress",typography:this.typography,variant:this.variant}):s("div",{class:"progress",part:"progress",style:"horizontal"===this.direction?{flexGrow:`${this.progress}`}:{flexGrow:`${this.progress}`,width:"100%"}}))}get element(){return this}static get watchers(){return{progress:[{progressChanged:0}],steps:[{stepsChanged:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-progress-background:rgb(var(--tone-neutral-08,107 107 107));--mds-progress-color:rgb(var(--variant-primary-03,211 226 255));--mds-progress-duration:.75s;--mds-progress-radius:var(--radius-lg,16px);--mds-progress-thickness:var(--height-200);--tw-ease:initial}}}@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --mds-progress-duration{syntax:"<time>";inherits:false;initial-value:.75s}:host{--mds-progress-background:rgb(var(--tone-neutral-08,107 107 107));--mds-progress-color:rgb(var(--variant-primary-03,211 226 255));--mds-progress-duration:.75s;--mds-progress-thickness:var(--height-200);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-progress-background,rgb(var(--tone-neutral-08,107 107 107)));border-radius:var(--radius-2xl,24px);transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));corner-shape:var(--magma-corner-shape,round);display:flex;height:var(--mds-progress-thickness,var(--height-200));min-height:var(--mds-progress-thickness,var(--height-200));min-width:var(--mds-progress-thickness,var(--height-200));overflow:hidden;position:relative;-webkit-transition-duration:var(--duration-300,.3s);transition-duration:var(--duration-300,.3s);transition-property:background-color;width:100%}:host([direction=vertical]){flex-direction:column;height:unset;min-height:var(--mds-progress-thickness,var(--height-200));width:var(--mds-progress-thickness,var(--height-200))}:host([direction=radial]){aspect-ratio:1;background-color:#0000;height:auto}:host([direction=radial]) mds-radial-progress{width:inherit}.progress{--tw-ease:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));background-color:var(--mds-progress-color,rgb(var(--variant-primary-03,211 226 255)));border-radius:inherit;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));corner-shape:inherit;-webkit-transition-duration:var(--mds-progress-duration,.75s);transition-duration:var(--mds-progress-duration,.75s);transition-property:background-color,flex-grow,-ms-flex-positive}:host([variant=dark]){--mds-progress-color:rgb(var(--tone-neutral-03,233 233 233));--mds-progress-background:rgb(var(--tone-neutral-10,60 60 60))}:host([variant=light]){--mds-progress-color:rgb(var(--tone-neutral,0 0 0));--mds-progress-background:rgb(var(--tone-neutral-05,197 197 197))}:host([variant=error]){--mds-progress-color:rgb(var(--status-error-05,250 165 160));--mds-progress-background:rgb(var(--status-error-09,135 0 14))}:host([variant=warning]){--mds-progress-color:rgb(var(--status-warning-05,237 177 0));--mds-progress-background:rgb(var(--status-warning-09,90 67 0))}:host([variant=success]){--mds-progress-color:rgb(var(--status-success-05,107 206 147));--mds-progress-background:rgb(var(--status-success-09,0 82 9))}:host([variant=info]){--mds-progress-color:rgb(var(--status-info-05,112 198 234));--mds-progress-background:rgb(var(--status-info-09,0 73 116))}:host([variant=primary]){--mds-progress-color:rgb(var(--variant-primary-03,211 226 255));--mds-progress-background:rgb(var(--tone-neutral-08,107 107 107))}:host([variant=ai]){--mds-progress-color:rgb(var(--variant-ai-05,202 174 251));--mds-progress-background:rgb(var(--variant-ai-09,75 8 189))}:host([size=sm]){--mds-progress-thickness:calc(var(--spacing,.0025rem)*200)}:host([size=md]){--mds-progress-thickness:calc(var(--spacing,.0025rem)*300)}:host([size=lg]){--mds-progress-thickness:calc(var(--spacing,.0025rem)*400)}:host([size=xl]){--mds-progress-thickness:calc(var(--spacing,.0025rem)*600)}:host-context(:root.pref-animation-reduce){transition-duration:0s}:host-context(:root.pref-animation-reduce) .progress{transition-duration:0s}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)){--mds-progress-color:rgb(var(--variant-primary-05,152 188 255));--mds-progress-background:rgb(var(--tone-neutral-07,134 134 134))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=primary]){--mds-progress-color:rgb(var(--variant-primary-05,152 188 255));--mds-progress-background:rgb(var(--tone-neutral-07,134 134 134))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=error]){--mds-progress-color:rgb(var(--status-error-04,254 193 189));--mds-progress-background:rgb(var(--status-error-07,212 80 79))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=warning]){--mds-progress-color:rgb(var(--status-warning-04,255 200 33));--mds-progress-background:rgb(var(--status-warning-07,159 120 0))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=success]){--mds-progress-color:rgb(var(--status-success-04,158 222 181));--mds-progress-background:rgb(var(--status-success-07,0 144 72))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=info]){--mds-progress-color:rgb(var(--status-info-04,159 216 241));--mds-progress-background:rgb(var(--status-info-07,0 134 180))}:host-context(:root.pref-contrast-more){--mds-progress-color:rgb(var(--variant-primary-05,152 188 255));--mds-progress-background:rgb(var(--tone-neutral-07,134 134 134))}:host-context(:root.pref-contrast-more):host([variant=primary]){--mds-progress-color:rgb(var(--variant-primary-05,152 188 255));--mds-progress-background:rgb(var(--tone-neutral-07,134 134 134))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion){:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))),:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))) .progress{transition-duration:0s}}@media (prefers-color-scheme:dark){:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))),:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=primary]){--mds-progress-color:rgb(var(--variant-primary-05,152 188 255));--mds-progress-background:rgb(var(--tone-neutral-07,134 134 134))}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=error]){--mds-progress-color:rgb(var(--status-error-04,254 193 189));--mds-progress-background:rgb(var(--status-error-07,212 80 79))}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=warning]){--mds-progress-color:rgb(var(--status-warning-04,255 200 33));--mds-progress-background:rgb(var(--status-warning-07,159 120 0))}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=success]){--mds-progress-color:rgb(var(--status-success-04,158 222 181));--mds-progress-background:rgb(var(--status-success-07,0 144 72))}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=info]){--mds-progress-color:rgb(var(--status-info-04,159 216 241));--mds-progress-background:rgb(var(--status-info-07,0 134 180))}}@media (prefers-contrast:more){:is(:host-context(:root.pref-contrast-system),:host-context(:root:not([data-magma-pref]))),:is(:host-context(:root.pref-contrast-system),:host-context(:root:not([data-magma-pref]))):host([variant=primary]){--mds-progress-color:rgb(var(--variant-primary-05,152 188 255));--mds-progress-background:rgb(var(--tone-neutral-07,134 134 134))}}'}},[1,"mds-progress",{progress:[2],direction:[513],variant:[513],typography:[1],size:[513],steps:[1],currentStep:[32]},void 0,{progress:[{progressChanged:0}],steps:[{stepsChanged:0}]}]);function c(){"undefined"!=typeof customElements&&["mds-progress","mds-icon","mds-radial-progress","mds-text"].forEach((r=>{switch(r){case"mds-progress":customElements.get(o(r))||customElements.define(o(r),h);break;case"mds-icon":customElements.get(o(r))||n();break;case"mds-radial-progress":customElements.get(o(r))||m();break;case"mds-text":customElements.get(o(r))||d()}}))}export{h as M,c as d}
|
|
1
|
+
import{proxyCustomElement as r,HTMLElement as e,h as s,Host as t,transformTag as o}from"@stencil/core/internal/client";import{r as a,i}from"./aria.js";import{d as n}from"./mds-icon2.js";import{d as m}from"./mds-radial-progress2.js";import{d}from"./mds-text2.js";const h=r(class extends e{constructor(r){super(),!1!==r&&this.__registerHost(),this.__attachShadow(),this.stepsList=new Array,this.progress=0,this.direction="horizontal",this.variant="primary",this.typography="option",this.size="sm",this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}componentWillLoad(){this.stepsList=this.steps.split(","),this.setProgress(this.progress)}componentDidLoad(){a(this.element,"aria-hidden","true",["aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","role"])}setProgress(r){""!==this.steps&&(this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))],i(this.element,"aria-hidden")||this.element.setAttribute("aria-valuetext",this.currentStep))}progressChanged(r){this.setProgress(r)}stepsChanged(r){this.stepsList=r.split(",")}render(){return s(t,{key:"55ba8cb650c555ca15fd05464edfed54eb419787","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":!i(this.element,"aria-hidden")&&Math.round(100*this.progress),role:"progressbar"},"radial"===this.direction?s("mds-radial-progress",{progress:this.progress,part:"radial-progress",typography:this.typography,variant:this.variant}):s("div",{class:"progress",part:"progress",style:"horizontal"===this.direction?{flexGrow:`${this.progress}`}:{flexGrow:`${this.progress}`,width:"100%"}}))}get element(){return this}static get watchers(){return{progress:[{progressChanged:0}],steps:[{stepsChanged:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-progress-background:rgb(var(--tone-neutral-08,107 107 107));--mds-progress-color:rgb(var(--variant-primary-03,211 226 255));--mds-progress-duration:.75s;--mds-progress-radius:var(--radius-lg,16px);--mds-progress-thickness:var(--height-200);--tw-ease:initial}}}@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --mds-progress-duration{syntax:"<time>";inherits:false;initial-value:.75s}:host{--mds-progress-background:rgb(var(--tone-neutral-08,107 107 107));--mds-progress-color:rgb(var(--variant-primary-03,211 226 255));--mds-progress-duration:.75s;--mds-progress-thickness:var(--height-200);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-progress-background,rgb(var(--tone-neutral-08,107 107 107)));border-radius:var(--radius-2xl,24px);transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));corner-shape:var(--magma-corner-shape,round);display:flex;height:var(--mds-progress-thickness,var(--height-200));min-height:var(--mds-progress-thickness,var(--height-200));min-width:var(--mds-progress-thickness,var(--height-200));overflow:hidden;position:relative;-webkit-transition-duration:var(--duration-300,.3s);transition-duration:var(--duration-300,.3s);transition-property:background-color;width:100%}:host([direction=vertical]){flex-direction:column;height:unset;min-height:var(--mds-progress-thickness,var(--height-200));width:var(--mds-progress-thickness,var(--height-200))}:host([direction=radial]){aspect-ratio:1;background-color:#0000;height:auto}:host([direction=radial]) mds-radial-progress{width:inherit}.progress{--tw-ease:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));background-color:var(--mds-progress-color,rgb(var(--variant-primary-03,211 226 255)));border-radius:inherit;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));corner-shape:inherit;-webkit-transition-duration:var(--mds-progress-duration,.75s);transition-duration:var(--mds-progress-duration,.75s);transition-property:background-color,flex-grow,-ms-flex-positive}:host([variant=dark]){--mds-progress-color:rgb(var(--tone-neutral-03,233 233 233));--mds-progress-background:rgb(var(--tone-neutral-10,60 60 60))}:host([variant=light]){--mds-progress-color:rgb(var(--tone-neutral,0 0 0));--mds-progress-background:rgb(var(--tone-neutral-05,197 197 197))}:host([variant=error]){--mds-progress-color:rgb(var(--status-error-05,250 165 160));--mds-progress-background:rgb(var(--status-error-09,135 0 14))}:host([variant=warning]){--mds-progress-color:rgb(var(--status-warning-05,237 177 0));--mds-progress-background:rgb(var(--status-warning-09,90 67 0))}:host([variant=success]){--mds-progress-color:rgb(var(--status-success-05,107 206 147));--mds-progress-background:rgb(var(--status-success-09,0 82 9))}:host([variant=info]){--mds-progress-color:rgb(var(--status-info-05,112 198 234));--mds-progress-background:rgb(var(--status-info-09,0 73 116))}:host([variant=primary]){--mds-progress-color:rgb(var(--variant-primary-03,211 226 255));--mds-progress-background:rgb(var(--tone-neutral-08,107 107 107))}:host([variant=ai]){--mds-progress-color:rgb(var(--variant-ai-05,202 174 251));--mds-progress-background:rgb(var(--variant-ai-09,75 8 189))}:host([size=sm]){--mds-progress-thickness:calc(var(--spacing,.0025rem)*200)}:host([size=md]){--mds-progress-thickness:calc(var(--spacing,.0025rem)*300)}:host([size=lg]){--mds-progress-thickness:calc(var(--spacing,.0025rem)*400)}:host([size=xl]){--mds-progress-thickness:calc(var(--spacing,.0025rem)*600)}:host-context(:root.pref-animation-reduce){transition-duration:0s}:host-context(:root.pref-animation-reduce) .progress{transition-duration:0s}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)){--mds-progress-color:rgb(var(--variant-primary-05,152 188 255));--mds-progress-background:rgb(var(--tone-neutral-07,134 134 134))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=primary]){--mds-progress-color:rgb(var(--variant-primary-05,152 188 255));--mds-progress-background:rgb(var(--tone-neutral-07,134 134 134))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=error]){--mds-progress-color:rgb(var(--status-error-04,254 193 189));--mds-progress-background:rgb(var(--status-error-07,212 80 79))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=warning]){--mds-progress-color:rgb(var(--status-warning-04,255 200 33));--mds-progress-background:rgb(var(--status-warning-07,159 120 0))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=success]){--mds-progress-color:rgb(var(--status-success-04,158 222 181));--mds-progress-background:rgb(var(--status-success-07,0 144 72))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([variant=info]){--mds-progress-color:rgb(var(--status-info-04,159 216 241));--mds-progress-background:rgb(var(--status-info-07,0 134 180))}:host-context(:root.pref-contrast-more){--mds-progress-color:rgb(var(--variant-primary-05,152 188 255));--mds-progress-background:rgb(var(--tone-neutral-07,134 134 134))}:host-context(:root.pref-contrast-more):host([variant=primary]){--mds-progress-color:rgb(var(--variant-primary-05,152 188 255));--mds-progress-background:rgb(var(--tone-neutral-07,134 134 134))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion){:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))),:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))) .progress{transition-duration:0s}}@media (prefers-color-scheme:dark){:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))),:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=primary]){--mds-progress-color:rgb(var(--variant-primary-05,152 188 255));--mds-progress-background:rgb(var(--tone-neutral-07,134 134 134))}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=error]){--mds-progress-color:rgb(var(--status-error-04,254 193 189));--mds-progress-background:rgb(var(--status-error-07,212 80 79))}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=warning]){--mds-progress-color:rgb(var(--status-warning-04,255 200 33));--mds-progress-background:rgb(var(--status-warning-07,159 120 0))}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=success]){--mds-progress-color:rgb(var(--status-success-04,158 222 181));--mds-progress-background:rgb(var(--status-success-07,0 144 72))}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([variant=info]){--mds-progress-color:rgb(var(--status-info-04,159 216 241));--mds-progress-background:rgb(var(--status-info-07,0 134 180))}}@media (prefers-contrast:more){:is(:host-context(:root.pref-contrast-system),:host-context(:root:not([data-magma-pref]))),:is(:host-context(:root.pref-contrast-system),:host-context(:root:not([data-magma-pref]))):host([variant=primary]){--mds-progress-color:rgb(var(--variant-primary-05,152 188 255));--mds-progress-background:rgb(var(--tone-neutral-07,134 134 134))}}'}},[1,"mds-progress",{progress:[2],direction:[513],variant:[513],typography:[1],size:[513],steps:[1],currentStep:[32]},void 0,{progress:[{progressChanged:0}],steps:[{stepsChanged:0}]}]);function c(){"undefined"!=typeof customElements&&["mds-progress","mds-icon","mds-radial-progress","mds-text"].forEach((r=>{switch(r){case"mds-progress":customElements.get(o(r))||customElements.define(o(r),h);break;case"mds-icon":customElements.get(o(r))||n();break;case"mds-radial-progress":customElements.get(o(r))||m();break;case"mds-text":customElements.get(o(r))||d()}}))}export{h as M,c as d}
|