@maggioli-design-system/magma 2.1.0 → 2.2.0
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/AGENTS.md +2 -1
- package/agents/install.md +17 -0
- package/agents/reporting.md +118 -0
- package/dist/cjs/index.cjs.js +62 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/magma-components.cjs.js +1 -1
- package/dist/cjs/mds-banner_3.cjs.entry.js +3 -3
- 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 +76 -24
- package/dist/cjs/mds-calendar_2.cjs.entry.js +5 -5
- package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
- package/dist/cjs/mds-card.cjs.entry.js +1 -1
- package/dist/cjs/mds-details.cjs.entry.js +1 -1
- package/dist/cjs/mds-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/mds-emoji.cjs.entry.js +1 -1
- package/dist/cjs/mds-entity.cjs.entry.js +1 -1
- package/dist/cjs/mds-file-preview.cjs.entry.js +2 -2
- package/dist/cjs/mds-file.cjs.entry.js +1 -1
- package/dist/cjs/mds-filter-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-filter.cjs.entry.js +1 -1
- package/dist/cjs/mds-header-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-header.cjs.entry.js +1 -1
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +1 -1
- package/dist/cjs/mds-hr.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-date.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-field.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-otp.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-range.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-select.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +3 -3
- package/dist/cjs/mds-input-upload.cjs.entry.js +5 -5
- package/dist/cjs/mds-input.cjs.entry.js +2 -2
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +1 -1
- package/dist/cjs/mds-keyboard.cjs.entry.js +1 -1
- 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-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 +3 -3
- package/dist/cjs/mds-note.cjs.entry.js +1 -1
- package/dist/cjs/mds-notification.cjs.entry.js +1 -1
- package/dist/cjs/mds-paginator-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-paginator.cjs.entry.js +1 -1
- package/dist/cjs/mds-policy-ai.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-animation.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-language.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-mode.cjs.entry.js +2 -2
- package/dist/cjs/mds-pref-theme-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-theme.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref.cjs.entry.js +1 -1
- 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 +2 -2
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-push-notification.cjs.entry.js +1 -1
- package/dist/cjs/mds-quote.cjs.entry.js +1 -1
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-radial-menu.cjs.entry.js +1 -1
- package/dist/cjs/mds-separator.cjs.entry.js +1 -1
- package/dist/cjs/mds-status-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-tab-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-tab_2.cjs.entry.js +27 -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 +1 -1
- package/dist/cjs/mds-table-header.cjs.entry.js +1 -1
- package/dist/cjs/mds-table-row.cjs.entry.js +21 -15
- package/dist/cjs/mds-table.cjs.entry.js +1 -1
- package/dist/cjs/mds-text.cjs.entry.js +1 -1
- package/dist/cjs/mds-toast.cjs.entry.js +1 -1
- package/dist/cjs/mds-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/mds-tree-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-tree.cjs.entry.js +1 -1
- package/dist/cjs/mds-url-view.cjs.entry.js +1 -1
- package/dist/cjs/mds-usage.cjs.entry.js +1 -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/common/navigation.js +60 -0
- package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion/documentation.json +1 -1
- package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-item/documentation.json +1 -1
- package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-timer/documentation.json +1 -1
- package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-timer-item/documentation.json +1 -1
- package/dist/collection/components/mds-author/AGENTS.md +1 -1
- package/dist/collection/components/mds-author/documentation.json +1 -1
- package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar/documentation.json +1 -1
- package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar-stack/documentation.json +1 -1
- package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar-stack-item/documentation.json +1 -1
- package/dist/collection/components/mds-badge/AGENTS.md +1 -1
- package/dist/collection/components/mds-badge/documentation.json +1 -1
- package/dist/collection/components/mds-banner/AGENTS.md +1 -1
- package/dist/collection/components/mds-banner/documentation.json +1 -1
- package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-benchmark-bar/documentation.json +1 -1
- package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
- package/dist/collection/components/mds-bibliography/documentation.json +1 -1
- package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
- package/dist/collection/components/mds-breadcrumb/documentation.json +1 -1
- package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-breadcrumb-item/documentation.json +1 -1
- package/dist/collection/components/mds-button/AGENTS.md +5 -5
- package/dist/collection/components/mds-button/antipattern.md +19 -1
- package/dist/collection/components/mds-button/documentation.json +5 -5
- package/dist/collection/components/mds-button/mds-button.css +13 -0
- package/dist/collection/components/mds-button/mds-button.js +75 -22
- package/dist/collection/components/mds-button/pattern.md +27 -1
- package/dist/collection/components/mds-button-dropdown/AGENTS.md +1 -1
- package/dist/collection/components/mds-button-dropdown/documentation.json +1 -1
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +1 -1
- package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
- package/dist/collection/components/mds-button-group/documentation.json +1 -1
- package/dist/collection/components/mds-button-group/mds-button-group.js +1 -1
- package/dist/collection/components/mds-calendar/AGENTS.md +1 -1
- package/dist/collection/components/mds-calendar/documentation.json +1 -1
- package/dist/collection/components/mds-calendar/mds-calendar.js +4 -4
- package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-calendar-cell/documentation.json +1 -1
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +1 -1
- package/dist/collection/components/mds-card/AGENTS.md +1 -1
- package/dist/collection/components/mds-card/documentation.json +1 -1
- package/dist/collection/components/mds-card/mds-card.js +1 -1
- package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-content/documentation.json +1 -1
- package/dist/collection/components/mds-card-content/mds-card-content.js +1 -1
- package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-footer/documentation.json +1 -1
- package/dist/collection/components/mds-card-footer/mds-card-footer.js +1 -1
- package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-header/documentation.json +1 -1
- package/dist/collection/components/mds-card-header/mds-card-header.js +1 -1
- package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-media/documentation.json +1 -1
- package/dist/collection/components/mds-card-media/mds-card-media.js +1 -1
- package/dist/collection/components/mds-chip/AGENTS.md +1 -1
- package/dist/collection/components/mds-chip/documentation.json +1 -1
- package/dist/collection/components/mds-chip/mds-chip.js +2 -2
- package/dist/collection/components/mds-details/AGENTS.md +1 -1
- package/dist/collection/components/mds-details/documentation.json +1 -1
- package/dist/collection/components/mds-details/mds-details.js +1 -1
- package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
- package/dist/collection/components/mds-dropdown/documentation.json +1 -1
- package/dist/collection/components/mds-dropdown/mds-dropdown.js +2 -2
- package/dist/collection/components/mds-emoji/AGENTS.md +1 -1
- package/dist/collection/components/mds-emoji/documentation.json +1 -1
- package/dist/collection/components/mds-emoji/mds-emoji.js +1 -1
- package/dist/collection/components/mds-entity/AGENTS.md +1 -1
- package/dist/collection/components/mds-entity/documentation.json +1 -1
- package/dist/collection/components/mds-entity/mds-entity.js +1 -1
- package/dist/collection/components/mds-file/AGENTS.md +1 -1
- package/dist/collection/components/mds-file/documentation.json +1 -1
- package/dist/collection/components/mds-file/mds-file.js +1 -1
- package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
- package/dist/collection/components/mds-file-preview/documentation.json +1 -1
- package/dist/collection/components/mds-file-preview/mds-file-preview.js +2 -2
- package/dist/collection/components/mds-filter/AGENTS.md +1 -1
- package/dist/collection/components/mds-filter/documentation.json +1 -1
- package/dist/collection/components/mds-filter/mds-filter.js +1 -1
- package/dist/collection/components/mds-filter-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-filter-item/documentation.json +1 -1
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +1 -1
- package/dist/collection/components/mds-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-header/documentation.json +1 -1
- package/dist/collection/components/mds-header/mds-header.js +1 -1
- package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-header-bar/documentation.json +1 -1
- package/dist/collection/components/mds-header-bar/mds-header-bar.js +1 -1
- package/dist/collection/components/mds-help/AGENTS.md +1 -1
- package/dist/collection/components/mds-help/documentation.json +1 -1
- package/dist/collection/components/mds-help/mds-help.js +1 -1
- package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
- package/dist/collection/components/mds-horizontal-scroll/documentation.json +1 -1
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +1 -1
- package/dist/collection/components/mds-hr/AGENTS.md +1 -1
- package/dist/collection/components/mds-hr/documentation.json +1 -1
- package/dist/collection/components/mds-hr/mds-hr.js +1 -1
- package/dist/collection/components/mds-icon/AGENTS.md +1 -1
- package/dist/collection/components/mds-icon/documentation.json +1 -1
- package/dist/collection/components/mds-icon/mds-icon.js +1 -1
- package/dist/collection/components/mds-img/AGENTS.md +1 -1
- package/dist/collection/components/mds-img/documentation.json +1 -1
- package/dist/collection/components/mds-input/AGENTS.md +1 -1
- package/dist/collection/components/mds-input/documentation.json +1 -1
- package/dist/collection/components/mds-input/mds-input.js +2 -2
- package/dist/collection/components/mds-input-date/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-date/documentation.json +1 -1
- package/dist/collection/components/mds-input-date/mds-input-date.js +2 -2
- package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-date-range/documentation.json +1 -1
- package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-date-range-preselection/documentation.json +1 -1
- package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +1 -1
- package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-field/documentation.json +1 -1
- package/dist/collection/components/mds-input-field/mds-input-field.js +1 -1
- package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-otp/documentation.json +1 -1
- package/dist/collection/components/mds-input-otp/mds-input-otp.js +1 -1
- package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-range/documentation.json +1 -1
- package/dist/collection/components/mds-input-range/mds-input-range.js +1 -1
- package/dist/collection/components/mds-input-select/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-select/documentation.json +1 -1
- package/dist/collection/components/mds-input-select/mds-input-select.js +2 -2
- package/dist/collection/components/mds-input-switch/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-switch/documentation.json +1 -1
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +1 -1
- package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-tip/documentation.json +1 -1
- package/dist/collection/components/mds-input-tip/mds-input-tip.js +1 -1
- package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-tip-item/documentation.json +1 -1
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
- package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-upload/documentation.json +1 -1
- package/dist/collection/components/mds-input-upload/mds-input-upload.js +5 -5
- package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
- package/dist/collection/components/mds-keyboard/documentation.json +1 -1
- package/dist/collection/components/mds-keyboard/mds-keyboard.js +1 -1
- package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
- package/dist/collection/components/mds-keyboard-key/documentation.json +1 -1
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
- package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
- package/dist/collection/components/mds-kpi/documentation.json +1 -1
- package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
- package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-kpi-item/documentation.json +1 -1
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
- package/dist/collection/components/mds-label/AGENTS.md +1 -1
- package/dist/collection/components/mds-label/documentation.json +1 -1
- package/dist/collection/components/mds-list/AGENTS.md +1 -1
- package/dist/collection/components/mds-list/documentation.json +1 -1
- package/dist/collection/components/mds-list/mds-list.js +1 -1
- package/dist/collection/components/mds-list-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-list-item/documentation.json +1 -1
- package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
- package/dist/collection/components/mds-mention/AGENTS.md +1 -1
- package/dist/collection/components/mds-mention/documentation.json +1 -1
- package/dist/collection/components/mds-mention/mds-mention.js +1 -1
- package/dist/collection/components/mds-modal/AGENTS.md +1 -1
- package/dist/collection/components/mds-modal/documentation.json +1 -1
- package/dist/collection/components/mds-modal/mds-modal.js +3 -3
- package/dist/collection/components/mds-note/AGENTS.md +1 -1
- package/dist/collection/components/mds-note/documentation.json +1 -1
- package/dist/collection/components/mds-note/mds-note.js +1 -1
- package/dist/collection/components/mds-notification/AGENTS.md +1 -1
- package/dist/collection/components/mds-notification/documentation.json +1 -1
- package/dist/collection/components/mds-notification/mds-notification.js +1 -1
- package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
- package/dist/collection/components/mds-paginator/documentation.json +1 -1
- package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
- package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-paginator-item/documentation.json +1 -1
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
- package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
- package/dist/collection/components/mds-policy-ai/documentation.json +1 -1
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
- package/dist/collection/components/mds-pref/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref/documentation.json +1 -1
- package/dist/collection/components/mds-pref/mds-pref.js +1 -1
- package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-animation/documentation.json +1 -1
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +1 -1
- package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-consumption/documentation.json +1 -1
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +1 -1
- package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-contrast/documentation.json +1 -1
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
- package/dist/collection/components/mds-pref-language/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-language/documentation.json +1 -1
- package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
- package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-language-item/documentation.json +1 -1
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
- package/dist/collection/components/mds-pref-mode/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-mode/documentation.json +1 -1
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +2 -2
- package/dist/collection/components/mds-pref-theme/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-theme/documentation.json +1 -1
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +1 -1
- package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-theme-item/documentation.json +1 -1
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +1 -1
- package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table/documentation.json +1 -1
- package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
- package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-features/documentation.json +1 -1
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
- package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-features-cell/documentation.json +1 -1
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
- package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-features-row/documentation.json +1 -1
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
- package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-header/documentation.json +1 -1
- package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
- package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-list/documentation.json +1 -1
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
- package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-list-item/documentation.json +1 -1
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
- package/dist/collection/components/mds-progress/AGENTS.md +1 -1
- package/dist/collection/components/mds-progress/documentation.json +1 -1
- package/dist/collection/components/mds-progress/mds-progress.js +1 -1
- package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
- package/dist/collection/components/mds-push-notification/documentation.json +1 -1
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
- package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-push-notification-item/documentation.json +1 -1
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
- package/dist/collection/components/mds-quote/AGENTS.md +1 -1
- package/dist/collection/components/mds-quote/documentation.json +1 -1
- package/dist/collection/components/mds-quote/mds-quote.js +1 -1
- package/dist/collection/components/mds-radial-menu/AGENTS.md +1 -1
- package/dist/collection/components/mds-radial-menu/documentation.json +1 -1
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
- package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-radial-menu-item/documentation.json +1 -1
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
- package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
- package/dist/collection/components/mds-radial-progress/documentation.json +1 -1
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
- package/dist/collection/components/mds-separator/AGENTS.md +1 -1
- package/dist/collection/components/mds-separator/documentation.json +1 -1
- package/dist/collection/components/mds-separator/mds-separator.js +1 -1
- package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
- package/dist/collection/components/mds-spinner/documentation.json +1 -1
- package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
- package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-status-bar/documentation.json +1 -1
- package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
- package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-stepper-bar/documentation.json +1 -1
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
- package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-stepper-bar-item/documentation.json +1 -1
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
- package/dist/collection/components/mds-tab/AGENTS.md +5 -4
- package/dist/collection/components/mds-tab/antipattern.md +27 -0
- package/dist/collection/components/mds-tab/documentation.json +6 -6
- package/dist/collection/components/mds-tab/mds-tab.css +10 -1
- package/dist/collection/components/mds-tab/mds-tab.js +18 -4
- package/dist/collection/components/mds-tab/pattern.md +33 -1
- package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-bar/documentation.json +1 -1
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
- package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-bar-item/documentation.json +1 -1
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
- package/dist/collection/components/mds-tab-item/AGENTS.md +5 -4
- package/dist/collection/components/mds-tab-item/antipattern.md +22 -1
- package/dist/collection/components/mds-tab-item/documentation.json +5 -5
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +15 -3
- package/dist/collection/components/mds-tab-item/pattern.md +25 -7
- package/dist/collection/components/mds-table/AGENTS.md +1 -1
- package/dist/collection/components/mds-table/documentation.json +1 -1
- package/dist/collection/components/mds-table/mds-table.js +1 -1
- package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-body/documentation.json +1 -1
- package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
- package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-cell/documentation.json +1 -1
- package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
- package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-footer/documentation.json +1 -1
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
- package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-header/documentation.json +1 -1
- package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
- package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-header-cell/documentation.json +1 -1
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
- package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-row/documentation.json +1 -1
- package/dist/collection/components/mds-table-row/mds-table-row.js +22 -16
- package/dist/collection/components/mds-text/AGENTS.md +1 -1
- package/dist/collection/components/mds-text/documentation.json +1 -1
- package/dist/collection/components/mds-text/mds-text.js +1 -1
- package/dist/collection/components/mds-toast/AGENTS.md +1 -1
- package/dist/collection/components/mds-toast/documentation.json +1 -1
- package/dist/collection/components/mds-toast/mds-toast.js +1 -1
- package/dist/collection/components/mds-tooltip/AGENTS.md +1 -1
- package/dist/collection/components/mds-tooltip/documentation.json +1 -1
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +1 -1
- package/dist/collection/components/mds-tree/AGENTS.md +1 -1
- package/dist/collection/components/mds-tree/documentation.json +1 -1
- package/dist/collection/components/mds-tree/mds-tree.js +1 -1
- package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-tree-item/documentation.json +1 -1
- package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
- package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
- package/dist/collection/components/mds-url-view/documentation.json +1 -1
- package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
- package/dist/collection/components/mds-usage/AGENTS.md +1 -1
- package/dist/collection/components/mds-usage/documentation.json +1 -1
- package/dist/collection/components/mds-usage/mds-usage.js +1 -1
- package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
- package/dist/collection/components/mds-video-wall/documentation.json +1 -1
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
- package/dist/collection/components/mds-zero/AGENTS.md +1 -1
- package/dist/collection/components/mds-zero/documentation.json +1 -1
- package/dist/collection/components/mds-zero/mds-zero.js +1 -1
- package/dist/collection/index.js +11 -4
- 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-avatar-stack-item.js +1 -1
- package/dist/components/mds-avatar-stack.js +1 -1
- package/dist/components/mds-avatar.js +1 -1
- package/dist/components/mds-badge.js +1 -1
- package/dist/components/mds-banner.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-button.js +1 -1
- package/dist/components/mds-calendar-cell.js +1 -1
- package/dist/components/mds-calendar.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-chip.js +1 -1
- package/dist/components/mds-details.js +1 -1
- package/dist/components/mds-dropdown.js +1 -1
- package/dist/components/mds-emoji.js +1 -1
- package/dist/components/mds-entity.js +1 -1
- package/dist/components/mds-file-preview.js +1 -1
- package/dist/components/mds-file.js +3 -3
- package/dist/components/mds-filter-item.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-help.js +1 -1
- package/dist/components/mds-horizontal-scroll.js +1 -1
- package/dist/components/mds-hr.js +1 -1
- package/dist/components/mds-icon.js +1 -1
- package/dist/components/mds-img.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-switch.js +1 -1
- package/dist/components/mds-input-tip-item.js +1 -1
- package/dist/components/mds-input-tip.js +1 -1
- package/dist/components/mds-input-upload.js +1 -1
- package/dist/components/mds-input.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-modal.js +1 -1
- package/dist/components/mds-note.js +1 -1
- package/dist/components/mds-notification.js +1 -1
- package/dist/components/mds-paginator-item.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-mode.js +1 -1
- package/dist/components/mds-pref-theme-item.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-progress.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-progress.js +1 -1
- package/dist/components/mds-separator.js +1 -1
- package/dist/components/mds-spinner.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-item.js +1 -1
- package/dist/components/mds-tab.js +1 -1
- package/dist/components/mds-table-body.js +1 -1
- package/dist/components/mds-table-cell.js +1 -1
- package/dist/components/mds-table-footer.js +1 -1
- package/dist/components/mds-table-header-cell.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-text.js +1 -1
- package/dist/components/mds-toast.js +1 -1
- package/dist/components/mds-tooltip.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/components/{p-Dpf8NWF9.js → p-B3Z2Goa-.js} +1 -1
- package/dist/components/p-B3dWp2vS.js +1 -0
- package/dist/components/p-B6FOPjps.js +1 -0
- package/dist/components/{p-CIcshx6K.js → p-B7CR1EtF.js} +1 -1
- package/dist/components/{p-C3Sn8bRc.js → p-BBPQjm8h.js} +1 -1
- package/dist/components/{p-CsL9U6eU.js → p-BCiJ4PRD.js} +1 -1
- package/dist/components/p-BHJDW5JC.js +1 -0
- package/dist/components/p-BSs0SO-j.js +1 -0
- package/dist/components/{p-DR46G4-6.js → p-BY6Qu1V4.js} +1 -1
- package/dist/components/{p-CmHMhHMt.js → p-BhmePCyA.js} +1 -1
- package/dist/components/{p-DwA-5c8G.js → p-BpGzrg1C.js} +1 -1
- package/dist/components/{p-DmPLOktp.js → p-Bv2IVRzI.js} +1 -1
- package/dist/components/{p-CGkSDkOY.js → p-C-J9fW51.js} +1 -1
- package/dist/components/{p-BW24ByN-.js → p-C7EyV0z3.js} +1 -1
- package/dist/components/{p-akEzGmDD.js → p-CAa2kI72.js} +1 -1
- package/dist/components/{p-BVw5aqzn.js → p-CBV19-8O.js} +1 -1
- package/dist/components/{p-B05zwjTY.js → p-CCv9tBZK.js} +1 -1
- package/dist/components/{p-Cyj1BFxx.js → p-CDf607TB.js} +1 -1
- package/dist/components/{p-x_c_51aL.js → p-CEMAGNly.js} +1 -1
- package/dist/components/{p-BWpSxp3h.js → p-CGYDZBMv.js} +1 -1
- package/dist/components/{p-DebgFlHq.js → p-CHAvkoj3.js} +1 -1
- package/dist/components/{p-BzvYQBdf.js → p-CMFUEkte.js} +1 -1
- package/dist/components/p-CR2GGKXK.js +1 -0
- package/dist/components/{p-1aH7xiMs.js → p-Cb5kuO7B.js} +1 -1
- package/dist/components/{p-BOu_NOgd.js → p-CiNNzAa3.js} +1 -1
- package/dist/components/{p-BXPIlPIF.js → p-DGDdPv_Y.js} +1 -1
- package/dist/components/{p-Cnt6G6GK.js → p-D_wD-Pyk.js} +1 -1
- package/dist/components/{p-K3QNYRhf.js → p-HR2JwDjG.js} +1 -1
- package/dist/components/{p-Dws02cT2.js → p-LE7qQIFR.js} +2 -2
- package/dist/components/{p-bDVBqkn0.js → p-vgIKH234.js} +1 -1
- package/dist/documentation.json +14 -14
- package/dist/esm/index.js +62 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/magma-components.js +1 -1
- package/dist/esm/mds-banner_3.entry.js +3 -3
- 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 +77 -25
- package/dist/esm/mds-calendar_2.entry.js +5 -5
- package/dist/esm/mds-card-content.entry.js +1 -1
- package/dist/esm/mds-card-footer.entry.js +1 -1
- package/dist/esm/mds-card-header.entry.js +1 -1
- package/dist/esm/mds-card-media.entry.js +1 -1
- package/dist/esm/mds-card.entry.js +1 -1
- package/dist/esm/mds-details.entry.js +1 -1
- package/dist/esm/mds-dropdown.entry.js +2 -2
- package/dist/esm/mds-emoji.entry.js +1 -1
- package/dist/esm/mds-entity.entry.js +1 -1
- package/dist/esm/mds-file-preview.entry.js +2 -2
- package/dist/esm/mds-file.entry.js +1 -1
- package/dist/esm/mds-filter-item.entry.js +1 -1
- package/dist/esm/mds-filter.entry.js +1 -1
- package/dist/esm/mds-header-bar.entry.js +1 -1
- package/dist/esm/mds-header.entry.js +1 -1
- package/dist/esm/mds-horizontal-scroll.entry.js +1 -1
- package/dist/esm/mds-hr.entry.js +1 -1
- package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
- package/dist/esm/mds-input-date.entry.js +2 -2
- package/dist/esm/mds-input-field.entry.js +1 -1
- package/dist/esm/mds-input-otp.entry.js +1 -1
- package/dist/esm/mds-input-range.entry.js +1 -1
- package/dist/esm/mds-input-select.entry.js +2 -2
- package/dist/esm/mds-input-switch_2.entry.js +2 -2
- package/dist/esm/mds-input-tip_2.entry.js +3 -3
- package/dist/esm/mds-input-upload.entry.js +5 -5
- package/dist/esm/mds-input.entry.js +2 -2
- package/dist/esm/mds-keyboard-key.entry.js +1 -1
- package/dist/esm/mds-keyboard.entry.js +1 -1
- package/dist/esm/mds-kpi-item.entry.js +1 -1
- package/dist/esm/mds-kpi.entry.js +1 -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 +3 -3
- package/dist/esm/mds-note.entry.js +1 -1
- package/dist/esm/mds-notification.entry.js +1 -1
- package/dist/esm/mds-paginator-item.entry.js +1 -1
- package/dist/esm/mds-paginator.entry.js +1 -1
- package/dist/esm/mds-policy-ai.entry.js +1 -1
- package/dist/esm/mds-pref-animation.entry.js +1 -1
- package/dist/esm/mds-pref-consumption.entry.js +1 -1
- package/dist/esm/mds-pref-contrast.entry.js +1 -1
- package/dist/esm/mds-pref-language-item.entry.js +1 -1
- package/dist/esm/mds-pref-language.entry.js +1 -1
- package/dist/esm/mds-pref-mode.entry.js +2 -2
- package/dist/esm/mds-pref-theme-item.entry.js +1 -1
- package/dist/esm/mds-pref-theme.entry.js +1 -1
- package/dist/esm/mds-pref.entry.js +1 -1
- 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 +2 -2
- package/dist/esm/mds-push-notification-item.entry.js +2 -2
- package/dist/esm/mds-push-notification.entry.js +1 -1
- package/dist/esm/mds-quote.entry.js +1 -1
- package/dist/esm/mds-radial-menu-item.entry.js +1 -1
- package/dist/esm/mds-radial-menu.entry.js +1 -1
- package/dist/esm/mds-separator.entry.js +1 -1
- package/dist/esm/mds-status-bar.entry.js +1 -1
- package/dist/esm/mds-stepper-bar-item.entry.js +1 -1
- package/dist/esm/mds-stepper-bar.entry.js +1 -1
- package/dist/esm/mds-tab-bar-item.entry.js +1 -1
- package/dist/esm/mds-tab-bar.entry.js +1 -1
- package/dist/esm/mds-tab_2.entry.js +27 -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 +1 -1
- package/dist/esm/mds-table-header.entry.js +1 -1
- package/dist/esm/mds-table-row.entry.js +22 -16
- package/dist/esm/mds-table.entry.js +1 -1
- package/dist/esm/mds-text.entry.js +1 -1
- package/dist/esm/mds-toast.entry.js +1 -1
- package/dist/esm/mds-tooltip.entry.js +1 -1
- package/dist/esm/mds-tree-item.entry.js +1 -1
- package/dist/esm/mds-tree.entry.js +1 -1
- package/dist/esm/mds-url-view.entry.js +1 -1
- package/dist/esm/mds-usage.entry.js +1 -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.js +37 -20
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/magma-components.js +1 -1
- package/dist/esm-es5/mds-banner_3.entry.js +3 -3
- 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 +28 -6
- package/dist/esm-es5/mds-calendar_2.entry.js +2 -2
- 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 +4 -4
- 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-input-date-range-preselection.entry.js +1 -1
- package/dist/esm-es5/mds-input-date.entry.js +2 -2
- 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 +2 -2
- 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-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-mode.entry.js +1 -1
- package/dist/esm-es5/mds-pref-theme-item.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 +2 -2
- package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
- 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 +2 -2
- package/dist/esm-es5/mds-tab-bar-item.entry.js +3 -3
- package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
- package/dist/esm-es5/mds-tab_2.entry.js +15 -4
- 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 +4 -4
- package/dist/esm-es5/mds-table-row.entry.js +12 -4
- package/dist/esm-es5/mds-table.entry.js +2 -2
- 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 +300 -155
- package/dist/hydrate/index.mjs +300 -155
- package/dist/magma-components/index.esm.js +1 -1
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/{p-2723caa7.system.entry.js → p-019e8a95.system.entry.js} +2 -2
- package/dist/magma-components/{p-835fc007.entry.js → p-01dd1f55.entry.js} +1 -1
- package/dist/magma-components/{p-a64bbb36.system.entry.js → p-02119624.system.entry.js} +3 -3
- package/dist/magma-components/{p-d2f134ac.entry.js → p-02fc7592.entry.js} +1 -1
- package/dist/magma-components/{p-b295e4ab.system.entry.js → p-03cd0069.system.entry.js} +1 -1
- package/dist/magma-components/p-05fbca60.system.entry.js +37 -0
- package/dist/magma-components/{p-b431ca8a.entry.js → p-06d9af89.entry.js} +1 -1
- package/dist/magma-components/p-07e4701d.entry.js +1 -0
- package/dist/magma-components/{p-bab4c75e.system.entry.js → p-081a19b1.system.entry.js} +5 -5
- package/dist/magma-components/p-09d0b6a8.entry.js +1 -0
- package/dist/magma-components/{p-d282a929.entry.js → p-0b300de7.entry.js} +1 -1
- package/dist/magma-components/{p-0a551e86.entry.js → p-0d3c3de9.entry.js} +1 -1
- package/dist/magma-components/{p-3d56e3f4.entry.js → p-115a5e47.entry.js} +1 -1
- package/dist/magma-components/p-1314d80e.entry.js +1 -0
- package/dist/magma-components/{p-8aafbfdf.system.entry.js → p-133a6ffd.system.entry.js} +1 -1
- package/dist/magma-components/{p-0a904a12.entry.js → p-13db55de.entry.js} +1 -1
- package/dist/magma-components/{p-2c44c961.system.entry.js → p-1a2731ec.system.entry.js} +4 -4
- package/dist/magma-components/{p-5a911e7b.system.entry.js → p-1a602906.system.entry.js} +2 -2
- package/dist/magma-components/{p-ec9cc7b9.entry.js → p-1c975156.entry.js} +1 -1
- package/dist/magma-components/{p-3e0eed90.system.entry.js → p-1d154234.system.entry.js} +3 -3
- package/dist/magma-components/{p-d9804d2f.entry.js → p-1d9d7666.entry.js} +1 -1
- package/dist/magma-components/{p-ccb14076.system.entry.js → p-1ddaaa6d.system.entry.js} +1 -1
- package/dist/magma-components/{p-7afec7ee.entry.js → p-21aa0a74.entry.js} +1 -1
- package/dist/magma-components/{p-106f39c6.entry.js → p-2399b7e8.entry.js} +1 -1
- package/dist/magma-components/{p-92d9b537.entry.js → p-25407d89.entry.js} +1 -1
- package/dist/magma-components/{p-91ff1560.system.entry.js → p-27547a7a.system.entry.js} +2 -2
- package/dist/magma-components/{p-03c2060d.entry.js → p-289a874e.entry.js} +1 -1
- package/dist/magma-components/{p-77615947.system.entry.js → p-2be3bd23.system.entry.js} +1 -1
- package/dist/magma-components/{p-4dd6a39b.entry.js → p-2c586431.entry.js} +1 -1
- package/dist/magma-components/{p-832883c4.entry.js → p-2d324edc.entry.js} +1 -1
- package/dist/magma-components/{p-5c94e0c2.system.entry.js → p-2da2cdf3.system.entry.js} +2 -2
- package/dist/magma-components/{p-dcc3be64.system.entry.js → p-2e01e057.system.entry.js} +2 -2
- package/dist/magma-components/{p-2ec0db8e.entry.js → p-2e9b80e8.entry.js} +1 -1
- package/dist/magma-components/{p-493fb2f4.system.entry.js → p-32361702.system.entry.js} +1 -1
- package/dist/magma-components/{p-a7e7f2c0.entry.js → p-3448d0ce.entry.js} +1 -1
- package/dist/magma-components/{p-e1e69217.system.entry.js → p-367cee40.system.entry.js} +1 -1
- package/dist/magma-components/{p-f5bb8c0c.entry.js → p-3a1a6945.entry.js} +1 -1
- package/dist/magma-components/{p-915c5f06.system.entry.js → p-3a8870e4.system.entry.js} +1 -1
- package/dist/magma-components/{p-0255924b.system.entry.js → p-3b68fbcd.system.entry.js} +2 -2
- package/dist/magma-components/p-3f05ec8a.entry.js +1 -0
- package/dist/magma-components/{p-c22887f7.system.entry.js → p-4073c5f2.system.entry.js} +4 -4
- package/dist/magma-components/p-40bd2e6d.entry.js +1 -0
- package/dist/magma-components/{p-883c223a.system.entry.js → p-423597db.system.entry.js} +2 -2
- package/dist/magma-components/{p-58b82b40.system.entry.js → p-443c2a29.system.entry.js} +2 -2
- package/dist/magma-components/{p-52793bdb.system.entry.js → p-45a91f1c.system.entry.js} +1 -1
- package/dist/magma-components/{p-e887a14c.entry.js → p-487af9d3.entry.js} +1 -1
- package/dist/magma-components/{p-4658154f.entry.js → p-4909070e.entry.js} +1 -1
- package/dist/magma-components/{p-00e47e49.system.entry.js → p-4d966161.system.entry.js} +3 -3
- package/dist/magma-components/p-4ddf891e.system.entry.js +69 -0
- package/dist/magma-components/{p-dc59b764.entry.js → p-4e15cde7.entry.js} +1 -1
- package/dist/magma-components/{p-44e2a945.system.entry.js → p-4ffec31a.system.entry.js} +1 -1
- package/dist/magma-components/{p-ccb6898a.system.entry.js → p-50b266e9.system.entry.js} +1 -1
- package/dist/magma-components/{p-5a7267e8.system.entry.js → p-5165b09f.system.entry.js} +2 -2
- package/dist/magma-components/{p-7927010f.system.entry.js → p-544cc9c7.system.entry.js} +1 -1
- package/dist/magma-components/p-562bb482.system.entry.js +16 -0
- package/dist/magma-components/p-5ae5ec95.entry.js +1 -0
- package/dist/magma-components/{p-79421ee1.system.entry.js → p-5d2d8ffe.system.entry.js} +1 -1
- package/dist/magma-components/{p-4ac94b84.system.entry.js → p-5e180f53.system.entry.js} +1 -1
- package/dist/magma-components/{p-837fbbf7.system.entry.js → p-61ff1d85.system.entry.js} +1 -1
- package/dist/magma-components/{p-283b0548.system.entry.js → p-62b17608.system.entry.js} +2 -2
- package/dist/magma-components/{p-ecd3c27f.entry.js → p-63e7c98f.entry.js} +1 -1
- package/dist/magma-components/{p-bc53c19e.entry.js → p-6474c850.entry.js} +1 -1
- package/dist/magma-components/{p-20e4f7dd.system.entry.js → p-660657ac.system.entry.js} +3 -3
- package/dist/magma-components/{p-18c8628c.entry.js → p-66237a64.entry.js} +1 -1
- package/dist/magma-components/{p-0646392d.entry.js → p-6702e489.entry.js} +1 -1
- package/dist/magma-components/p-694ed534.entry.js +1 -0
- package/dist/magma-components/{p-88f99a4f.system.entry.js → p-6b446fd9.system.entry.js} +2 -2
- package/dist/magma-components/{p-10ad73e3.system.entry.js → p-6c414bc2.system.entry.js} +1 -1
- package/dist/magma-components/{p-6f74cdf5.system.entry.js → p-6cbd8a6d.system.entry.js} +3 -3
- package/dist/magma-components/{p-b24b5179.entry.js → p-6d0dc1fd.entry.js} +1 -1
- package/dist/magma-components/{p-1be45c75.entry.js → p-6f2471b1.entry.js} +1 -1
- package/dist/magma-components/{p-188f4b1d.system.entry.js → p-6fa03aab.system.entry.js} +1 -1
- package/dist/magma-components/{p-774ce1d2.entry.js → p-70141ccd.entry.js} +1 -1
- package/dist/magma-components/{p-8afc9bc4.system.entry.js → p-707d8626.system.entry.js} +1 -1
- package/dist/magma-components/{p-5fd04ce1.entry.js → p-71dafc3f.entry.js} +1 -1
- package/dist/magma-components/{p-ffa1a0b4.system.entry.js → p-726209f4.system.entry.js} +1 -1
- package/dist/magma-components/{p-a6af4083.system.entry.js → p-745ee76b.system.entry.js} +2 -2
- package/dist/magma-components/{p-d47df503.system.entry.js → p-761415b3.system.entry.js} +1 -1
- package/dist/magma-components/{p-dd58f9ee.entry.js → p-771720b7.entry.js} +1 -1
- package/dist/magma-components/{p-1e700f0a.entry.js → p-7a7c308b.entry.js} +1 -1
- package/dist/magma-components/{p-439c9ce3.system.entry.js → p-7bea6c05.system.entry.js} +1 -1
- package/dist/magma-components/{p-64f78149.system.entry.js → p-7c940015.system.entry.js} +1 -1
- package/dist/magma-components/{p-474c5d53.system.entry.js → p-7ca990d4.system.entry.js} +2 -2
- package/dist/magma-components/{p-de091be7.system.entry.js → p-7d6ca97d.system.entry.js} +1 -1
- package/dist/magma-components/{p-7e7cf986.system.entry.js → p-8097dfc8.system.entry.js} +1 -1
- package/dist/magma-components/{p-8183b7ed.entry.js → p-843ab1b4.entry.js} +1 -1
- package/dist/magma-components/{p-9dcfc247.entry.js → p-8765dc11.entry.js} +1 -1
- package/dist/magma-components/{p-218d8254.system.entry.js → p-876a5fb9.system.entry.js} +1 -1
- package/dist/magma-components/{p-aba96089.entry.js → p-8a838a1a.entry.js} +1 -1
- package/dist/magma-components/{p-35aa29c5.entry.js → p-8bcb2a5f.entry.js} +1 -1
- package/dist/magma-components/p-8c93550d.entry.js +1 -0
- package/dist/magma-components/{p-ac81f63a.system.entry.js → p-91451e37.system.entry.js} +1 -1
- package/dist/magma-components/{p-1e3d89cd.system.entry.js → p-91c8960a.system.entry.js} +1 -1
- package/dist/magma-components/{p-1673225e.system.entry.js → p-939da879.system.entry.js} +1 -1
- package/dist/magma-components/{p-15d4846d.entry.js → p-97bde480.entry.js} +1 -1
- package/dist/magma-components/{p-5d119459.entry.js → p-97d02403.entry.js} +1 -1
- package/dist/magma-components/{p-05014374.entry.js → p-983f3e40.entry.js} +1 -1
- package/dist/magma-components/{p-dfe8552c.system.entry.js → p-99227c78.system.entry.js} +1 -1
- package/dist/magma-components/{p-eb681207.system.entry.js → p-9a583f6b.system.entry.js} +1 -1
- package/dist/magma-components/{p-84645c60.system.entry.js → p-9a86e0ce.system.entry.js} +1 -1
- package/dist/magma-components/{p-6c800411.entry.js → p-9e5982b6.entry.js} +1 -1
- package/dist/magma-components/{p-021f96f8.entry.js → p-9eef2f79.entry.js} +1 -1
- package/dist/magma-components/{p-12c5ae26.entry.js → p-9fe7035a.entry.js} +1 -1
- package/dist/magma-components/p-CKfEQ187.system.js +107 -0
- package/dist/magma-components/p-ZDRIVCAt.system.js +1 -1
- package/dist/magma-components/{p-e2ef5996.entry.js → p-a0972ec9.entry.js} +1 -1
- package/dist/magma-components/{p-c34d9e61.system.entry.js → p-a0d9e01f.system.entry.js} +1 -1
- package/dist/magma-components/{p-632bc44c.entry.js → p-a1851e6f.entry.js} +1 -1
- package/dist/magma-components/{p-e213640b.entry.js → p-a1b5bd58.entry.js} +1 -1
- package/dist/magma-components/{p-83394280.system.entry.js → p-a2d9549d.system.entry.js} +1 -1
- package/dist/magma-components/{p-05f73994.entry.js → p-a5a13b20.entry.js} +1 -1
- package/dist/magma-components/{p-7e085c82.entry.js → p-a6a71c77.entry.js} +1 -1
- package/dist/magma-components/{p-c28fce23.entry.js → p-a96312c1.entry.js} +1 -1
- package/dist/magma-components/{p-eaff7300.entry.js → p-a9e4efa3.entry.js} +1 -1
- package/dist/magma-components/{p-ef3424e3.entry.js → p-aa0bd826.entry.js} +1 -1
- package/dist/magma-components/{p-231b604f.system.entry.js → p-aa74169f.system.entry.js} +1 -1
- package/dist/magma-components/{p-90993b0b.system.entry.js → p-ab4ffbd4.system.entry.js} +1 -1
- package/dist/magma-components/{p-a4a83a63.entry.js → p-ad09a06b.entry.js} +1 -1
- package/dist/magma-components/{p-34401d35.entry.js → p-ad9cb1f5.entry.js} +1 -1
- package/dist/magma-components/{p-c0136138.entry.js → p-afbef2fc.entry.js} +1 -1
- package/dist/magma-components/{p-3eefca33.system.entry.js → p-b183d698.system.entry.js} +2 -2
- package/dist/magma-components/{p-2507f5cf.entry.js → p-b49196da.entry.js} +1 -1
- package/dist/magma-components/{p-d1faf129.entry.js → p-b77a2832.entry.js} +1 -1
- package/dist/magma-components/{p-4c73f14b.system.entry.js → p-b925c109.system.entry.js} +2 -2
- package/dist/magma-components/{p-73fde271.system.entry.js → p-b9e3281a.system.entry.js} +5 -5
- package/dist/magma-components/p-bb0538b6.entry.js +1 -0
- package/dist/magma-components/{p-c48bad95.entry.js → p-bb055583.entry.js} +1 -1
- package/dist/magma-components/{p-7770b989.system.entry.js → p-bc6a41a9.system.entry.js} +1 -1
- package/dist/magma-components/{p-4cb88b06.system.entry.js → p-bd9324f3.system.entry.js} +1 -1
- package/dist/magma-components/{p-57762bae.entry.js → p-c48e3460.entry.js} +1 -1
- package/dist/magma-components/{p-d04ac65d.entry.js → p-c4beed1b.entry.js} +1 -1
- package/dist/magma-components/{p-7ab15184.entry.js → p-c4ccb710.entry.js} +1 -1
- package/dist/magma-components/{p-436f9b27.system.entry.js → p-c4e4ba90.system.entry.js} +7 -7
- package/dist/magma-components/{p-13a1d35f.entry.js → p-c573e136.entry.js} +1 -1
- package/dist/magma-components/{p-5f1132b8.entry.js → p-c5ad848f.entry.js} +1 -1
- package/dist/magma-components/{p-cc0c6ae7.entry.js → p-c6841b21.entry.js} +1 -1
- package/dist/magma-components/{p-21865dd2.entry.js → p-c89a44b2.entry.js} +1 -1
- package/dist/magma-components/{p-69c21eae.entry.js → p-c94575de.entry.js} +1 -1
- package/dist/magma-components/{p-3a1339bb.system.entry.js → p-cabe9133.system.entry.js} +2 -2
- package/dist/magma-components/p-cb571b55.system.entry.js +1 -0
- package/dist/magma-components/{p-8a3d2259.system.entry.js → p-cbc0f01f.system.entry.js} +2 -2
- package/dist/magma-components/{p-86f4b6eb.system.entry.js → p-cc1ee10a.system.entry.js} +1 -1
- package/dist/magma-components/{p-cc9d9458.entry.js → p-cd1dc29a.entry.js} +1 -1
- package/dist/magma-components/{p-4211ce6c.system.entry.js → p-cd5cf28b.system.entry.js} +1 -1
- package/dist/magma-components/{p-277444bc.entry.js → p-cd952369.entry.js} +1 -1
- package/dist/magma-components/{p-6e03b83a.entry.js → p-d35aebe5.entry.js} +1 -1
- package/dist/magma-components/{p-b626c69f.system.entry.js → p-d5e53364.system.entry.js} +1 -1
- package/dist/magma-components/{p-93d39066.entry.js → p-d74fa7af.entry.js} +1 -1
- package/dist/magma-components/{p-577db922.entry.js → p-d7515aae.entry.js} +1 -1
- package/dist/magma-components/{p-b2c62b6e.system.entry.js → p-d7a94afb.system.entry.js} +1 -1
- package/dist/magma-components/{p-6c18c40e.system.entry.js → p-d93c9a11.system.entry.js} +1 -1
- package/dist/magma-components/{p-314abfba.entry.js → p-d9fbbf3f.entry.js} +1 -1
- package/dist/magma-components/{p-88287207.system.entry.js → p-db492cf5.system.entry.js} +2 -2
- package/dist/magma-components/{p-a462aadd.entry.js → p-dc399372.entry.js} +1 -1
- package/dist/magma-components/{p-e8ed096b.entry.js → p-dcf841d5.entry.js} +1 -1
- package/dist/magma-components/{p-97f6166e.system.entry.js → p-dfb4a965.system.entry.js} +1 -1
- package/dist/magma-components/{p-b5559b28.system.entry.js → p-e1a91e9e.system.entry.js} +1 -1
- package/dist/magma-components/{p-474047fa.system.entry.js → p-e5438280.system.entry.js} +1 -1
- package/dist/magma-components/{p-6a6326c6.entry.js → p-e95f2a48.entry.js} +1 -1
- package/dist/magma-components/{p-7787ebaf.system.entry.js → p-eb113725.system.entry.js} +1 -1
- package/dist/magma-components/{p-36a67b51.entry.js → p-ec5eccbb.entry.js} +1 -1
- package/dist/magma-components/{p-cc2a09f2.system.entry.js → p-eea815ca.system.entry.js} +1 -1
- package/dist/magma-components/{p-f733ae92.system.entry.js → p-ef4cd904.system.entry.js} +2 -2
- package/dist/magma-components/{p-0141c597.system.entry.js → p-eff1fd6c.system.entry.js} +2 -2
- package/dist/magma-components/{p-faa1f22c.entry.js → p-eff38775.entry.js} +1 -1
- package/dist/magma-components/{p-9344a234.entry.js → p-f01874a8.entry.js} +1 -1
- package/dist/magma-components/p-f05d7005.entry.js +1 -0
- package/dist/magma-components/{p-f29a059d.system.entry.js → p-f0c67a70.system.entry.js} +2 -2
- package/dist/magma-components/{p-e7751639.entry.js → p-f215496c.entry.js} +1 -1
- package/dist/magma-components/{p-8d53bd61.system.entry.js → p-f28cfb33.system.entry.js} +2 -2
- package/dist/magma-components/{p-6fdb3fe7.system.entry.js → p-f3dbebdd.system.entry.js} +1 -1
- package/dist/magma-components/{p-0a38e4ce.system.entry.js → p-f65e29e0.system.entry.js} +1 -1
- package/dist/magma-components/{p-74b51db8.entry.js → p-f830793e.entry.js} +1 -1
- package/dist/magma-components/{p-5ccf493c.system.entry.js → p-f835c307.system.entry.js} +1 -1
- package/dist/magma-components/{p-50ea11c9.system.entry.js → p-f89c3a01.system.entry.js} +1 -1
- package/dist/magma-components/{p-ee1e7f07.system.entry.js → p-f8da21a1.system.entry.js} +1 -1
- package/dist/magma-components/{p-bf2fe278.system.entry.js → p-f97b4ff4.system.entry.js} +2 -2
- package/dist/magma-components/{p-2f520704.entry.js → p-fc8f8a0c.entry.js} +1 -1
- package/dist/magma-components/{p-76ecad2f.entry.js → p-fcaa5967.entry.js} +3 -3
- package/dist/magma-components/{p-6ff8be3e.system.entry.js → p-ff970859.system.entry.js} +1 -1
- package/dist/stats.json +797 -772
- package/dist/types/common/navigation.d.ts +32 -0
- package/dist/types/components/mds-button/mds-button.d.ts +23 -2
- package/dist/types/components/mds-tab/mds-tab.d.ts +6 -1
- package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +6 -1
- package/dist/types/components/mds-table-row/mds-table-row.d.ts +3 -2
- package/dist/types/components.d.ts +4 -4
- package/dist/types/index.d.ts +12 -4
- package/package.json +6 -6
- package/dist/components/p-CKS4r32k.js +0 -1
- package/dist/components/p-COkF_8bh.js +0 -1
- package/dist/components/p-DQqUzCGR.js +0 -1
- package/dist/components/p-DcW0iRnZ.js +0 -1
- package/dist/components/p-PQ_EO5-U.js +0 -1
- package/dist/magma-components/p-322a5452.entry.js +0 -1
- package/dist/magma-components/p-35ee2d77.entry.js +0 -1
- package/dist/magma-components/p-4e7f21ac.entry.js +0 -1
- package/dist/magma-components/p-514d0fcb.entry.js +0 -1
- package/dist/magma-components/p-5299f709.system.entry.js +0 -26
- package/dist/magma-components/p-60f67c37.entry.js +0 -1
- package/dist/magma-components/p-789c1b93.system.entry.js +0 -1
- package/dist/magma-components/p-8ccd187a.entry.js +0 -1
- package/dist/magma-components/p-D7BrzK-C.system.js +0 -90
- package/dist/magma-components/p-a41e52f7.entry.js +0 -1
- package/dist/magma-components/p-b897c97d.entry.js +0 -1
- package/dist/magma-components/p-c166ec50.system.entry.js +0 -47
- package/dist/magma-components/p-d07d227b.system.entry.js +0 -8
- package/dist/magma-components/p-d5bd6bef.entry.js +0 -1
- package/dist/magma-components/p-f654eafe.entry.js +0 -1
package/dist/hydrate/index.mjs
CHANGED
|
@@ -9582,12 +9582,73 @@ const requestSubmitAs = (form, name, value) => {
|
|
|
9582
9582
|
}
|
|
9583
9583
|
};
|
|
9584
9584
|
|
|
9585
|
+
// Shared, cross-realm slot for the registered handler. Stencil emits several bundled copies of
|
|
9586
|
+
// this module (lazy chunks, dist/components, the public `services` entry); `Symbol.for` returns
|
|
9587
|
+
// the same symbol in every copy, so storing the handler under it on `globalThis` gives them all
|
|
9588
|
+
// one source of truth, whichever copy the consumer registered it through.
|
|
9589
|
+
const HANDLER_GLOBAL = Symbol.for('@maggioli-design-system/magma:navigationHandler');
|
|
9590
|
+
const isPlainClick = (event) => event.button === 0 && !event.ctrlKey && !event.metaKey && !event.shiftKey && !event.altKey;
|
|
9591
|
+
const isSameOrigin = (href) => {
|
|
9592
|
+
if (typeof window === 'undefined')
|
|
9593
|
+
return false;
|
|
9594
|
+
try {
|
|
9595
|
+
return new URL(href, document.baseURI).origin === window.location.origin;
|
|
9596
|
+
}
|
|
9597
|
+
catch (_a) {
|
|
9598
|
+
return false;
|
|
9599
|
+
}
|
|
9600
|
+
};
|
|
9601
|
+
class NavigationController {
|
|
9602
|
+
get handler() {
|
|
9603
|
+
if (typeof globalThis === 'undefined')
|
|
9604
|
+
return undefined;
|
|
9605
|
+
return globalThis[HANDLER_GLOBAL];
|
|
9606
|
+
}
|
|
9607
|
+
set handler(value) {
|
|
9608
|
+
if (typeof globalThis === 'undefined')
|
|
9609
|
+
return;
|
|
9610
|
+
globalThis[HANDLER_GLOBAL] = value;
|
|
9611
|
+
}
|
|
9612
|
+
/**
|
|
9613
|
+
* Registers the handler of the app, replacing the previous one; `undefined` removes it.
|
|
9614
|
+
* Returns the function that removes this handler, for the cleanup of an effect.
|
|
9615
|
+
*/
|
|
9616
|
+
setHandler(handler) {
|
|
9617
|
+
this.handler = handler;
|
|
9618
|
+
return () => {
|
|
9619
|
+
if (this.handler === handler)
|
|
9620
|
+
this.handler = undefined;
|
|
9621
|
+
};
|
|
9622
|
+
}
|
|
9623
|
+
getHandler() {
|
|
9624
|
+
return this.handler;
|
|
9625
|
+
}
|
|
9626
|
+
/**
|
|
9627
|
+
* Whether the registered handler is to take this click on this link: there is one, the click
|
|
9628
|
+
* is a plain one and the link stays on the origin of the page.
|
|
9629
|
+
*/
|
|
9630
|
+
canHandle(href, event) {
|
|
9631
|
+
return this.handler !== undefined && isPlainClick(event) && isSameOrigin(href);
|
|
9632
|
+
}
|
|
9633
|
+
/**
|
|
9634
|
+
* Hands the link to the registered handler. `true` when it took it; `false` when there is
|
|
9635
|
+
* none or it declined, and the caller follows the link itself.
|
|
9636
|
+
*/
|
|
9637
|
+
handle(href, event) {
|
|
9638
|
+
const handler = this.handler;
|
|
9639
|
+
if (handler === undefined)
|
|
9640
|
+
return false;
|
|
9641
|
+
return handler(href, event) !== false;
|
|
9642
|
+
}
|
|
9643
|
+
}
|
|
9644
|
+
const NavigationService = new NavigationController();
|
|
9645
|
+
|
|
9585
9646
|
var mdiApple = `<svg xmlns="http://www.w3.org/2000/svg" id="mdi-apple" viewBox="0 0 24 24"><path d="M18.71,19.5C17.88,20.74 17,21.95 15.66,21.97C14.32,22 13.89,21.18 12.37,21.18C10.84,21.18 10.37,21.95 9.1,22C7.79,22.05 6.8,20.68 5.96,19.47C4.25,17 2.94,12.45 4.7,9.39C5.57,7.87 7.13,6.91 8.82,6.88C10.1,6.86 11.32,7.75 12.11,7.75C12.89,7.75 14.37,6.68 15.92,6.84C16.57,6.87 18.39,7.1 19.56,8.82C19.47,8.88 17.39,10.1 17.41,12.63C17.44,15.65 20.06,16.66 20.09,16.67C20.06,16.74 19.67,18.11 18.71,19.5M13,3.5C13.73,2.67 14.94,2.04 15.94,2C16.07,3.17 15.6,4.35 14.9,5.19C14.21,6.04 13.07,6.7 11.95,6.61C11.8,5.46 12.36,4.26 13,3.5Z" /></svg>`;
|
|
9586
9647
|
|
|
9587
9648
|
var logoGoogle = `<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" xmlnsXlink="http://www.w3.org/1999/xlink"><path fill="#EA4335" d="M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z"></path><path fill="#4285F4" d="M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z"></path><path fill="#FBBC05" d="M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z"></path><path fill="#34A853" d="M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z"></path><path fill="none" d="M0 0h48v48H0z"></path></svg>
|
|
9588
9649
|
`;
|
|
9589
9650
|
|
|
9590
|
-
const mdsButtonCss = () => `@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{--tw-font-weight:initial}}}@keyframes focus-bounce{0%,75%,to{outline-offset:var(--magma-outline-focus-offset,2px)}50%{outline-offset:var(--magma-outline-blur-offset,6px)}}:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-spinner,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-button-await-duration:.725s;--mds-button-transition-duration:var(--duration-300,.3s);--private-button-transition-duration:var(--mds-button-transition-duration);--mds-button-background:rgb(var(--mds-button-border-color-rgb,var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)))));--mds-button-border-color-rgb:var(--magma-accent-emphasis-active,var(--magma-tint-accent-emphasis-active,var(--variant-primary-02,0 57 163)));--mds-button-border-hover-opacity:.75;--mds-button-border-high-contrast-hover-width:3px;--mds-button-border-high-contrast-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-tone-outline-hover-width:3px;--mds-button-border-tone-outline-opacity:.3;--mds-button-border-tone-strong-hover-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-tone-weak-hover-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-default-opacity:0;--mds-button-border-opacity:0;--mds-button-border-width:calc(var(--spacing,.0025rem)*50);--mds-button-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-button-gap:calc(var(--spacing,.0025rem)*200);--mds-button-line-clamp:1;--mds-button-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-button-background,rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)))));border-radius:var(--mds-button-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));-webkit-box-shadow:0 0 0 var(--mds-button-border-width,calc(var(--spacing,.0025rem)*50)) rgb(var(--mds-button-border-color-rgb,var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))))/var(--mds-button-border-opacity,0));box-shadow:0 0 0 var(--mds-button-border-width,calc(var(--spacing,.0025rem)*50)) rgb(var(--mds-button-border-color-rgb,var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))))/var(--mds-button-border-opacity,0));box-sizing:border-box;color:var(--mds-button-color,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out;corner-shape:var(--mds-button-corner-shape,var(--magma-corner-shape,squircle));align-items:center;align-self:flex-start;cursor:pointer;display:inline-flex;fill:currentColor;gap:var(--mds-button-gap,calc(var(--spacing,.0025rem)*200));justify-content:center;justify-self:flex-start;min-height:calc(var(--spacing,.0025rem)*900);min-width:calc(var(--spacing,.0025rem)*900);padding:0 calc(var(--spacing,.0025rem)*400);position:relative;-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);transition-property:background-color,border-color,box-shadow,color,outline,outline-offset,transform;-webkit-transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94));transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94));-webkit-user-select:none;user-select:none}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running;z-index:10}.text{--mds-text-line-clamp:var(--mds-button-line-clamp,1)}.text:first-letter{text-transform:uppercase}.icon{align-items:center;display:inline-flex;fill:inherit;flex-shrink:0;justify-content:center;pointer-events:none;transition-property:fill;-webkit-transition-timing-function:var(--ease-in-out-quad,cubic-bezier(.455,.03,.515,.955));transition-timing-function:var(--ease-in-out-quad,cubic-bezier(.455,.03,.515,.955))}.await,.icon{-webkit-transition-duration:var(--private-button-transition-duration);transition-duration:var(--private-button-transition-duration)}.await{display:none;margin-right:calc(calc(-1 * var(--mds-button-gap,calc(var(--spacing,.0025rem) * 200))) - calc(var(--spacing,.0025rem) * 600));transform:scale(0);transition-behavior:allow-discrete;transition-property:display,margin-right,opacity,transform,width;-webkit-transition-timing-function:var(--ease-in-out-quad,cubic-bezier(.455,.03,.515,.955));transition-timing-function:var(--ease-in-out-quad,cubic-bezier(.455,.03,.515,.955))}.await,.spinner{height:calc(var(--spacing,.0025rem)*600);width:calc(var(--spacing,.0025rem)*600)}.spinner{--mds-spinner-duration:var(--mds-button-await-duration,.725s);color:currentColor}:is(:host(:not([await])),:host([await=false])) .spinner{-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);-webkit-transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94));transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94))}:host([await]:not([await=false])) .await{display:flex;margin-right:0;opacity:1;transform:scale(1)}@starting-style{:host([await]:not([await=false])) .await{margin-right:calc(calc(-1 * var(--mds-button-gap,calc(var(--spacing,.0025rem) * 200))) - calc(var(--spacing,.0025rem) * 600));opacity:0;transform:scale(0)}}:host([await]:not([await=false])){pointer-events:none}:host([icon]:not([label])[await]:not([await=false])) .icon{display:none}:host(:disabled:not([disabled=false])),:host([disabled]:not([disabled=false])){opacity:.5;pointer-events:none}:host([size=sm]){--mds-button-radius:var(--magma-radius-md,var(--radius-squircle-md,20px));min-height:calc(var(--spacing,.0025rem)*700);min-width:calc(var(--spacing,.0025rem)*700);padding:0 calc(var(--spacing,.0025rem)*300)}:host([size=sm]) .icon{height:calc(var(--spacing,.0025rem)*400);width:calc(var(--spacing,.0025rem)*400)}:host([size=sm]) .text{--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500)}:host([size=sm]):host([await]:not([await=false])) .await{transform:scale(.75)}:host([size=md]){min-height:calc(var(--spacing,.0025rem)*900);min-width:calc(var(--spacing,.0025rem)*900);padding-left:calc(var(--spacing,.0025rem)*400);padding-right:calc(var(--spacing,.0025rem)*400)}:host([size=md]):host([icon][icon-position=left]){padding-left:calc(var(--spacing,.0025rem)*300)}:host([size=md]):host([icon][icon-position=right]){padding-right:calc(var(--spacing,.0025rem)*300)}:host([size=lg]){min-height:calc(var(--spacing,.0025rem)*1200);min-width:calc(var(--spacing,.0025rem)*1200);padding-left:calc(var(--spacing,.0025rem)*500);padding-right:calc(var(--spacing,.0025rem)*500)}:host([size=lg]):host([icon][icon-position=left]){padding-left:calc(var(--spacing,.0025rem)*400)}:host([size=lg]):host([icon][icon-position=right]){padding-right:calc(var(--spacing,.0025rem)*400)}:host([size=xl]){min-height:calc(var(--spacing,.0025rem)*1300);min-width:calc(var(--spacing,.0025rem)*1300);padding-left:calc(var(--spacing,.0025rem)*600);padding-right:calc(var(--spacing,.0025rem)*600)}:host([size=xl]) .icon{height:calc(var(--spacing,.0025rem)*800);width:calc(var(--spacing,.0025rem)*800)}:host([size][icon][icon-position]:not([label])){aspect-ratio:1;padding:0}:host(:not([label])) .text,:host([label=""]) .text{display:none}:host([variant=primary]){--mds-button-background:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-button-border-color-rgb:var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-button-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=primary]):host([tone=strong]:hover){--mds-button-background:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--mds-button-border-color-rgb:var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204)))}:host([variant=primary]):host([tone=weak]){--mds-button-background:rgb(var(--magma-accent-surface,var(--magma-tint-accent-surface,var(--variant-primary-09,220 224 231))));--mds-button-border-color-rgb:var(--magma-accent-surface,var(--magma-tint-accent-surface,var(--variant-primary-09,220 224 231)));--mds-button-color:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));fill:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))))}:host([variant=primary]):host([tone=weak]:hover){--mds-button-background:rgb(var(--magma-accent-surface-hover,var(--magma-tint-accent-surface-hover,var(--variant-primary-08,204 212 226))));--mds-button-border-color-rgb:var(--magma-accent-surface-hover,var(--magma-tint-accent-surface-hover,var(--variant-primary-08,204 212 226)))}:host([variant=primary]):host([tone=outline]){--mds-button-border-color-rgb:var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-button-color:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))))}:host([variant=primary]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-button-color:rgb(var(--magma-accent-emphasis-active,var(--magma-tint-accent-emphasis-active,var(--variant-primary-02,0 57 163))))}:host([variant=primary]):host([tone=text]){--mds-button-color:rgb(var(--magma-accent-emphasis-active,var(--magma-tint-accent-emphasis-active,var(--variant-primary-02,0 57 163))))}:host([variant=primary]):host([tone=text]:hover){--mds-button-color:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-button-background:rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240))))}:host([variant=primary]):host([tone=text][active]){--mds-button-color:rgb(var(--magma-accent-emphasis-active,var(--magma-tint-accent-emphasis-active,var(--variant-primary-02,0 57 163))))}:host([variant=secondary]){--mds-button-background:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-button-border-color-rgb:var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-button-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=secondary]):host([tone=strong]:hover){--mds-button-background:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--mds-button-border-color-rgb:var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204)))}:host([variant=secondary]):host([tone=weak]){--mds-button-background:rgb(var(--magma-accent-surface,var(--magma-tint-accent-surface,var(--variant-primary-09,220 224 231))));--mds-button-border-color-rgb:var(--magma-accent-surface,var(--magma-tint-accent-surface,var(--variant-primary-09,220 224 231)));--mds-button-color:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));fill:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))))}:host([variant=secondary]):host([tone=weak]:hover){--mds-button-background:rgb(var(--magma-accent-surface-hover,var(--magma-tint-accent-surface-hover,var(--variant-primary-08,204 212 226))));--mds-button-border-color-rgb:var(--magma-accent-surface-hover,var(--magma-tint-accent-surface-hover,var(--variant-primary-08,204 212 226)))}:host([variant=secondary]):host([tone=outline]){--mds-button-border-color-rgb:var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-button-color:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))))}:host([variant=secondary]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-button-color:rgb(var(--magma-accent-emphasis-active,var(--magma-tint-accent-emphasis-active,var(--variant-primary-02,0 57 163))))}:host([variant=secondary]):host([tone=text]){--mds-button-color:rgb(var(--magma-accent-emphasis-active,var(--magma-tint-accent-emphasis-active,var(--variant-primary-02,0 57 163))))}:host([variant=secondary]):host([tone=text]:hover){--mds-button-color:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-button-background:rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240))))}:host([variant=secondary]):host([tone=text][active]){--mds-button-color:rgb(var(--magma-accent-emphasis-active,var(--magma-tint-accent-emphasis-active,var(--variant-primary-02,0 57 163))))}:host([variant=ai]){--mds-button-background:rgb(var(--magma-accent-ai-emphasis,var(--magma-tint-accent-ai-emphasis,var(--variant-ai-04,126 73 245))));--mds-button-border-color-rgb:var(--magma-accent-ai-emphasis,var(--magma-tint-accent-ai-emphasis,var(--variant-ai-04,126 73 245)));--mds-button-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=ai]):host([tone=strong]:hover){--mds-button-background:rgb(var(--magma-accent-ai-emphasis-hover,var(--magma-tint-accent-ai-emphasis-hover,var(--variant-ai-03,87 20 242))));--mds-button-border-color-rgb:var(--magma-accent-ai-emphasis-hover,var(--magma-tint-accent-ai-emphasis-hover,var(--variant-ai-03,87 20 242)))}:host([variant=ai]):host([tone=weak]){--mds-button-background:rgb(var(--magma-accent-ai-surface,var(--magma-tint-accent-ai-surface,var(--variant-ai-09,229 218 253))));--mds-button-border-color-rgb:var(--magma-accent-ai-surface,var(--magma-tint-accent-ai-surface,var(--variant-ai-09,229 218 253)));--mds-button-color:rgb(var(--magma-accent-ai-emphasis-hover,var(--magma-tint-accent-ai-emphasis-hover,var(--variant-ai-03,87 20 242))));fill:rgb(var(--magma-accent-ai-emphasis-hover,var(--magma-tint-accent-ai-emphasis-hover,var(--variant-ai-03,87 20 242))))}:host([variant=ai]):host([tone=weak]:hover){--mds-button-background:rgb(var(--magma-accent-ai-surface-hover,var(--magma-tint-accent-ai-surface-hover,var(--variant-ai-08,219 205 252))));--mds-button-border-color-rgb:var(--magma-accent-ai-surface-hover,var(--magma-tint-accent-ai-surface-hover,var(--variant-ai-08,219 205 252)))}:host([variant=ai]):host([tone=outline]){--mds-button-border-color-rgb:var(--magma-accent-ai-emphasis,var(--magma-tint-accent-ai-emphasis,var(--variant-ai-04,126 73 245)));--mds-button-color:rgb(var(--magma-accent-ai-emphasis-hover,var(--magma-tint-accent-ai-emphasis-hover,var(--variant-ai-03,87 20 242))))}:host([variant=ai]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--magma-accent-ai-emphasis,var(--magma-tint-accent-ai-emphasis,var(--variant-ai-04,126 73 245)));--mds-button-color:rgb(var(--magma-accent-ai-emphasis-active,var(--magma-tint-accent-ai-emphasis-active,var(--variant-ai-02,65 11 190))))}:host([variant=ai]):host([tone=text]){--mds-button-color:rgb(var(--magma-accent-ai-emphasis-active,var(--magma-tint-accent-ai-emphasis-active,var(--variant-ai-02,65 11 190))))}:host([variant=ai]):host([tone=text]:hover){--mds-button-color:rgb(var(--magma-accent-ai-emphasis,var(--magma-tint-accent-ai-emphasis,var(--variant-ai-04,126 73 245))));--mds-button-background:rgb(var(--magma-accent-ai-surface-subtle,var(--magma-tint-accent-ai-surface-subtle,var(--variant-ai-10,240 234 254))))}:host([variant=ai]):host([tone=text][active]){--mds-button-color:rgb(var(--magma-accent-ai-emphasis-active,var(--magma-tint-accent-ai-emphasis-active,var(--variant-ai-02,65 11 190))))}:host([variant=info]){--mds-button-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-button-border-color-rgb:var(--magma-info-emphasis,var(--status-info-04,0 119 164));--mds-button-color:rgb(var(--magma-info-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=info]):host([tone=strong]:hover){--mds-button-background:rgb(var(--magma-info-emphasis-hover,var(--status-info-03,0 94 137)));--mds-button-border-color-rgb:var(--magma-info-emphasis-hover,var(--status-info-03,0 94 137))}:host([variant=info]):host([tone=weak]){--mds-button-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-button-border-color-rgb:var(--magma-info-wash-base,var(--status-info-09,193 230 246));--mds-button-color:rgb(var(--magma-info-text-subtle,var(--text-info-subtle,0 94 137)));fill:rgb(var(--magma-info-text-subtle,var(--text-info-subtle,0 94 137)))}:host([variant=info]):host([tone=weak]:hover){--mds-button-background:rgb(var(--magma-info-wash-strong,var(--status-info-08,168 219 242)));--mds-button-border-color-rgb:var(--magma-info-wash-strong,var(--status-info-08,168 219 242));--mds-button-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([variant=info]):host([tone=outline]){--mds-button-border-color-rgb:var(--magma-info-emphasis,var(--status-info-04,0 119 164));--mds-button-color:rgb(var(--magma-info-text-subtle,var(--text-info-subtle,0 94 137)))}:host([variant=info]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--magma-info-emphasis,var(--status-info-04,0 119 164));--mds-button-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)))}:host([variant=info]):host([tone=text]){--mds-button-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)))}:host([variant=info]):host([tone=text]:hover){--mds-button-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)));--mds-button-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)))}:host([variant=info]):host([tone=text][active]){--mds-button-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([variant=success]){--mds-button-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-button-border-color-rgb:var(--magma-success-emphasis,var(--status-success-04,0 128 57));--mds-button-color:rgb(var(--magma-success-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=success]):host([tone=strong]:hover){--mds-button-background:rgb(var(--magma-success-emphasis-hover,var(--status-success-03,0 102 32)));--mds-button-border-color-rgb:var(--magma-success-emphasis-hover,var(--status-success-03,0 102 32))}:host([variant=success]):host([tone=weak]){--mds-button-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-button-border-color-rgb:var(--magma-success-wash-base,var(--status-success-09,191 233 205));--mds-button-color:rgb(var(--magma-success-text-subtle,var(--text-success-subtle,0 102 32)));fill:rgb(var(--magma-success-text-subtle,var(--text-success-subtle,0 102 32)))}:host([variant=success]):host([tone=weak]:hover){--mds-button-background:rgb(var(--magma-success-wash-strong,var(--status-success-08,165 225 186)));--mds-button-border-color-rgb:var(--magma-success-wash-strong,var(--status-success-08,165 225 186));--mds-button-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=success]):host([tone=outline]){--mds-button-border-color-rgb:var(--magma-success-emphasis,var(--status-success-04,0 128 57));--mds-button-color:rgb(var(--magma-success-text-subtle,var(--text-success-subtle,0 102 32)))}:host([variant=success]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--magma-success-emphasis,var(--status-success-04,0 128 57));--mds-button-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)))}:host([variant=success]):host([tone=text]){--mds-button-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)))}:host([variant=success]):host([tone=text]:hover){--mds-button-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)));--mds-button-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)))}:host([variant=success]):host([tone=text][active]){--mds-button-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=warning]){--mds-button-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-button-border-color-rgb:var(--magma-warning-emphasis,var(--status-warning-04,142 106 0));--mds-button-color:rgb(var(--magma-warning-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=warning]):host([tone=strong]:hover){--mds-button-background:rgb(var(--magma-warning-emphasis-hover,var(--status-warning-03,113 85 0)));--mds-button-border-color-rgb:var(--magma-warning-emphasis-hover,var(--status-warning-03,113 85 0))}:host([variant=warning]):host([tone=weak]){--mds-button-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-button-border-color-rgb:var(--magma-warning-wash-base,var(--status-warning-09,255 220 117));--mds-button-color:rgb(var(--magma-warning-text-subtle,var(--text-warning-subtle,113 85 0)));fill:rgb(var(--magma-warning-text-subtle,var(--text-warning-subtle,113 85 0)))}:host([variant=warning]):host([tone=weak]:hover){--mds-button-background:rgb(var(--magma-warning-wash-strong,var(--status-warning-08,255 205 57)));--mds-button-border-color-rgb:var(--magma-warning-wash-strong,var(--status-warning-08,255 205 57));--mds-button-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([variant=warning]):host([tone=outline]){--mds-button-border-color-rgb:var(--magma-warning-emphasis,var(--status-warning-04,142 106 0));--mds-button-color:rgb(var(--magma-warning-text-subtle,var(--text-warning-subtle,113 85 0)))}:host([variant=warning]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--magma-warning-emphasis,var(--status-warning-04,142 106 0));--mds-button-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)))}:host([variant=warning]):host([tone=text]){--mds-button-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)))}:host([variant=warning]):host([tone=text]:hover){--mds-button-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)));--mds-button-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)))}:host([variant=warning]):host([tone=text][active]){--mds-button-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([variant=error]){--mds-button-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-button-border-color-rgb:var(--magma-danger-emphasis,var(--status-error-04,196 64 65));--mds-button-color:rgb(var(--magma-danger-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=error]):host([tone=strong]:hover){--mds-button-background:rgb(var(--magma-danger-emphasis-hover,var(--status-error-03,165 33 40)));--mds-button-border-color-rgb:var(--magma-danger-emphasis-hover,var(--status-error-03,165 33 40))}:host([variant=error]):host([tone=weak]){--mds-button-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-button-border-color-rgb:var(--magma-danger-wash-base,var(--status-error-09,255 214 211));--mds-button-color:rgb(var(--magma-danger-text-subtle,var(--text-error-subtle,165 33 40)));fill:rgb(var(--magma-danger-text-subtle,var(--text-error-subtle,165 33 40)))}:host([variant=error]):host([tone=weak]:hover){--mds-button-background:rgb(var(--magma-danger-wash-strong,var(--status-error-08,254 198 194)));--mds-button-border-color-rgb:var(--magma-danger-wash-strong,var(--status-error-08,254 198 194));--mds-button-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=error]):host([tone=outline]){--mds-button-border-color-rgb:var(--magma-danger-emphasis,var(--status-error-04,196 64 65));--mds-button-color:rgb(var(--magma-danger-text-subtle,var(--text-error-subtle,165 33 40)))}:host([variant=error]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--magma-danger-emphasis,var(--status-error-04,196 64 65));--mds-button-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)))}:host([variant=error]):host([tone=text]){--mds-button-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)))}:host([variant=error]):host([tone=text]:hover){--mds-button-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-button-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)))}:host([variant=error]):host([tone=text][active]){--mds-button-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=light]){--mds-button-background:rgb(var(--tone-neutral-seed,255 255 255));--mds-button-border-color-rgb:var(--tone-neutral-seed,255 255 255);--mds-button-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))))}:host([variant=light]):host([tone=strong]:hover){--mds-button-background:rgb(var(--tone-neutral-seed,255 255 255));--mds-button-border-color-rgb:var(--tone-neutral-seed,255 255 255)}:host([variant=light]):host([tone=weak]){--mds-button-background:rgb(var(--tone-neutral-seed,255 255 255));--mds-button-border-color-rgb:var(--tone-neutral-seed,255 255 255);--mds-button-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));fill:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))))}:host([variant=light]):host([tone=weak]:hover){--mds-button-background:rgb(var(--tone-neutral-seed,255 255 255));--mds-button-border-color-rgb:var(--tone-neutral-seed,255 255 255);--mds-button-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([variant=light]):host([tone=outline]),:host([variant=light]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-button-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=light]):host([tone=text]){--mds-button-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=light]):host([tone=text]:hover){--mds-button-color:rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-button-background:rgb(var(--magma-surface-inverse-muted,var(--magma-tint-scale-03,var(--tone-neutral-03,73 73 73))))}:host([variant=light]):host([tone=text][active]){--mds-button-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=dark]){--mds-button-background:rgb(var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42))));--mds-button-border-color-rgb:var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42)));--mds-button-color:rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=dark]):host([tone=strong]:hover){--mds-button-background:rgb(var(--magma-surface-inverse-muted,var(--magma-tint-scale-03,var(--tone-neutral-03,73 73 73))));--mds-button-border-color-rgb:var(--magma-surface-inverse-muted,var(--magma-tint-scale-03,var(--tone-neutral-03,73 73 73)))}:host([variant=dark]):host([tone=weak]){--mds-button-background:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-button-border-color-rgb:var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208)));--mds-button-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));fill:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([variant=dark]):host([tone=weak]:hover){--mds-button-background:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-button-border-color-rgb:var(--magma-border-strong,var(--magma-tint-border-strong,var(--border-neutral-strong,140 140 140)));--mds-button-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([variant=dark]):host([tone=outline]){--mds-button-border-color-rgb:var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42)));--mds-button-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))))}:host([variant=dark]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42)));--mds-button-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([variant=dark]):host([tone=text]){--mds-button-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([variant=dark]):host([tone=text]:hover){--mds-button-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-button-background:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))))}:host([variant=dark]):host([tone=text][active]){--mds-button-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([variant=google]),:host([variant=google][tone]){--mds-button-background:rgb(var(--tone-neutral-seed,255 255 255));--mds-button-border-hover-opacity:.5;--mds-button-border-hover-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-opacity:.2;--mds-button-border-width:calc(var(--spacing,.0025rem)*25);--mds-button-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));--mds-button-border-color-rgb:var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)));-webkit-box-shadow:0 0 0 var(--mds-button-border-width,calc(var(--spacing,.0025rem)*50)) rgb(var(--mds-button-border-color-rgb,var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))))/var(--mds-button-border-opacity,0));box-shadow:0 0 0 var(--mds-button-border-width,calc(var(--spacing,.0025rem)*50)) rgb(var(--mds-button-border-color-rgb,var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))))/var(--mds-button-border-opacity,0))}:host([variant=google]:hover),:host([variant=google][tone]:hover){--mds-button-background:rgb(var(--tone-neutral-seed,255 255 255));--mds-button-border-width:var(--mds-button-border-hover-width);--mds-button-border-opacity:var(--mds-button-border-hover-opacity,.75)}:host([variant=apple]) .icon{transform:translateY(-5%)}:host([variant=apple]),:host([variant=apple][tone]){--mds-button-background:rgb(var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42))));--mds-button-color:rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-button-border-width:0;--mds-button-border-color-rgb:var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42)))}:host([variant=apple]:hover),:host([variant=apple][tone]:hover){--mds-button-background:rgb(var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42))));--mds-button-border-opacity:1}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=google]),:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=google][tone]){--mds-button-border-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-opacity:.3}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=google]:hover),:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=google][tone]:hover){--mds-button-border-opacity:.5}:host([tone=outline]),:host([tone=text]){--mds-button-background:#0000}:host([tone=box]),:host([tone=strong]),:host([tone=weak]){--mds-button-border-default-opacity:1;--mds-button-border-width:0;--mds-button-border-opacity:var(--mds-button-border-default-opacity,0)}:host([tone=strong]:hover),:host([tone=strong][active]){--mds-button-border-width:var(--mds-button-border-tone-strong-hover-width,calc(var(--spacing,.0025rem)*50))}:host([tone=weak]:hover),:host([tone=weak][active]){--mds-button-border-width:var(--mds-button-border-tone-weak-hover-width,calc(var(--spacing,.0025rem)*50))}:host([tone=outline]){--mds-button-border-opacity:var(--mds-button-border-tone-outline-opacity)}:host([tone=outline]:hover),:host([tone=outline][active]){--mds-button-background:#0000;--mds-button-border-width:var(--mds-button-border-tone-outline-hover-width,3px);--mds-button-border-opacity:var(--mds-button-border-hover-opacity,.75)}:host([tone=box]){-webkit-box-shadow:var(--shadow-box-solid-strong,#0006 0 2px 4px,#0000004d 0 7px 13px -3px,#00000059 0 -3px 0 inset,#ffffff1a 0 -8px 10px inset,#ffffff26 0 -4px 0 inset);box-shadow:var(--shadow-box-solid-strong,#0006 0 2px 4px,#0000004d 0 7px 13px -3px,#00000059 0 -3px 0 inset,#ffffff1a 0 -8px 10px inset,#ffffff26 0 -4px 0 inset);transition-property:background-color,border-color,box-shadow,color,outline,filter,outline-offset,transform}:host([tone=box]):host(:hover){filter:brightness(1.1)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-button-transition-duration:0s}@property --tw-font-weight{syntax:"*";inherits:false}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=google]),:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=google][tone]){--mds-button-border-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-opacity:.3}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=google]:hover),:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=google][tone]:hover){--mds-button-border-opacity:.5}}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-button-transition-duration:0s}}`;
|
|
9651
|
+
const mdsButtonCss = () => `@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{--tw-font-weight:initial}}}@keyframes focus-bounce{0%,75%,to{outline-offset:var(--magma-outline-focus-offset,2px)}50%{outline-offset:var(--magma-outline-blur-offset,6px)}}:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-spinner,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-button-await-duration:.725s;--mds-button-transition-duration:var(--duration-300,.3s);--private-button-transition-duration:var(--mds-button-transition-duration);--mds-button-background:rgb(var(--mds-button-border-color-rgb,var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)))));--mds-button-border-color-rgb:var(--magma-accent-emphasis-active,var(--magma-tint-accent-emphasis-active,var(--variant-primary-02,0 57 163)));--mds-button-border-hover-opacity:.75;--mds-button-border-high-contrast-hover-width:3px;--mds-button-border-high-contrast-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-tone-outline-hover-width:3px;--mds-button-border-tone-outline-opacity:.3;--mds-button-border-tone-strong-hover-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-tone-weak-hover-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-default-opacity:0;--mds-button-border-opacity:0;--mds-button-border-width:calc(var(--spacing,.0025rem)*50);--mds-button-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-button-gap:calc(var(--spacing,.0025rem)*200);--mds-button-line-clamp:1;--mds-button-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-button-background,rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)))));border-radius:var(--mds-button-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));-webkit-box-shadow:0 0 0 var(--mds-button-border-width,calc(var(--spacing,.0025rem)*50)) rgb(var(--mds-button-border-color-rgb,var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))))/var(--mds-button-border-opacity,0));box-shadow:0 0 0 var(--mds-button-border-width,calc(var(--spacing,.0025rem)*50)) rgb(var(--mds-button-border-color-rgb,var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))))/var(--mds-button-border-opacity,0));box-sizing:border-box;color:var(--mds-button-color,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out;corner-shape:var(--mds-button-corner-shape,var(--magma-corner-shape,squircle));align-items:center;align-self:flex-start;cursor:pointer;display:inline-flex;fill:currentColor;gap:var(--mds-button-gap,calc(var(--spacing,.0025rem)*200));justify-content:center;justify-self:flex-start;min-height:calc(var(--spacing,.0025rem)*900);min-width:calc(var(--spacing,.0025rem)*900);padding:0 calc(var(--spacing,.0025rem)*400);position:relative;-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);transition-property:background-color,border-color,box-shadow,color,outline,outline-offset,transform;-webkit-transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94));transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94));-webkit-user-select:none;user-select:none}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running;z-index:10}.link{border-radius:inherit;corner-shape:inherit;inset:0;outline:none;position:absolute;z-index:1}.text{--mds-text-line-clamp:var(--mds-button-line-clamp,1)}.text:first-letter{text-transform:uppercase}.icon{align-items:center;display:inline-flex;fill:inherit;flex-shrink:0;justify-content:center;pointer-events:none;transition-property:fill;-webkit-transition-timing-function:var(--ease-in-out-quad,cubic-bezier(.455,.03,.515,.955));transition-timing-function:var(--ease-in-out-quad,cubic-bezier(.455,.03,.515,.955))}.await,.icon{-webkit-transition-duration:var(--private-button-transition-duration);transition-duration:var(--private-button-transition-duration)}.await{display:none;margin-right:calc(calc(-1 * var(--mds-button-gap,calc(var(--spacing,.0025rem) * 200))) - calc(var(--spacing,.0025rem) * 600));transform:scale(0);transition-behavior:allow-discrete;transition-property:display,margin-right,opacity,transform,width;-webkit-transition-timing-function:var(--ease-in-out-quad,cubic-bezier(.455,.03,.515,.955));transition-timing-function:var(--ease-in-out-quad,cubic-bezier(.455,.03,.515,.955))}.await,.spinner{height:calc(var(--spacing,.0025rem)*600);width:calc(var(--spacing,.0025rem)*600)}.spinner{--mds-spinner-duration:var(--mds-button-await-duration,.725s);color:currentColor}:is(:host(:not([await])),:host([await=false])) .spinner{-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);-webkit-transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94));transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94))}:host([await]:not([await=false])) .await{display:flex;margin-right:0;opacity:1;transform:scale(1)}@starting-style{:host([await]:not([await=false])) .await{margin-right:calc(calc(-1 * var(--mds-button-gap,calc(var(--spacing,.0025rem) * 200))) - calc(var(--spacing,.0025rem) * 600));opacity:0;transform:scale(0)}}:host([await]:not([await=false])){pointer-events:none}:host([icon]:not([label])[await]:not([await=false])) .icon{display:none}:host(:disabled:not([disabled=false])),:host([disabled]:not([disabled=false])){opacity:.5;pointer-events:none}:host([size=sm]){--mds-button-radius:var(--magma-radius-md,var(--radius-squircle-md,20px));min-height:calc(var(--spacing,.0025rem)*700);min-width:calc(var(--spacing,.0025rem)*700);padding:0 calc(var(--spacing,.0025rem)*300)}:host([size=sm]) .icon{height:calc(var(--spacing,.0025rem)*400);width:calc(var(--spacing,.0025rem)*400)}:host([size=sm]) .text{--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500)}:host([size=sm]):host([await]:not([await=false])) .await{transform:scale(.75)}:host([size=md]){min-height:calc(var(--spacing,.0025rem)*900);min-width:calc(var(--spacing,.0025rem)*900);padding-left:calc(var(--spacing,.0025rem)*400);padding-right:calc(var(--spacing,.0025rem)*400)}:host([size=md]):host([icon][icon-position=left]){padding-left:calc(var(--spacing,.0025rem)*300)}:host([size=md]):host([icon][icon-position=right]){padding-right:calc(var(--spacing,.0025rem)*300)}:host([size=lg]){min-height:calc(var(--spacing,.0025rem)*1200);min-width:calc(var(--spacing,.0025rem)*1200);padding-left:calc(var(--spacing,.0025rem)*500);padding-right:calc(var(--spacing,.0025rem)*500)}:host([size=lg]):host([icon][icon-position=left]){padding-left:calc(var(--spacing,.0025rem)*400)}:host([size=lg]):host([icon][icon-position=right]){padding-right:calc(var(--spacing,.0025rem)*400)}:host([size=xl]){min-height:calc(var(--spacing,.0025rem)*1300);min-width:calc(var(--spacing,.0025rem)*1300);padding-left:calc(var(--spacing,.0025rem)*600);padding-right:calc(var(--spacing,.0025rem)*600)}:host([size=xl]) .icon{height:calc(var(--spacing,.0025rem)*800);width:calc(var(--spacing,.0025rem)*800)}:host([size][icon][icon-position]:not([label])){aspect-ratio:1;padding:0}:host(:not([label])) .text,:host([label=""]) .text{display:none}:host([variant=primary]){--mds-button-background:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-button-border-color-rgb:var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-button-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=primary]):host([tone=strong]:hover){--mds-button-background:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--mds-button-border-color-rgb:var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204)))}:host([variant=primary]):host([tone=weak]){--mds-button-background:rgb(var(--magma-accent-surface,var(--magma-tint-accent-surface,var(--variant-primary-09,220 224 231))));--mds-button-border-color-rgb:var(--magma-accent-surface,var(--magma-tint-accent-surface,var(--variant-primary-09,220 224 231)));--mds-button-color:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));fill:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))))}:host([variant=primary]):host([tone=weak]:hover){--mds-button-background:rgb(var(--magma-accent-surface-hover,var(--magma-tint-accent-surface-hover,var(--variant-primary-08,204 212 226))));--mds-button-border-color-rgb:var(--magma-accent-surface-hover,var(--magma-tint-accent-surface-hover,var(--variant-primary-08,204 212 226)))}:host([variant=primary]):host([tone=outline]){--mds-button-border-color-rgb:var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-button-color:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))))}:host([variant=primary]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-button-color:rgb(var(--magma-accent-emphasis-active,var(--magma-tint-accent-emphasis-active,var(--variant-primary-02,0 57 163))))}:host([variant=primary]):host([tone=text]){--mds-button-color:rgb(var(--magma-accent-emphasis-active,var(--magma-tint-accent-emphasis-active,var(--variant-primary-02,0 57 163))))}:host([variant=primary]):host([tone=text]:hover){--mds-button-color:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-button-background:rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240))))}:host([variant=primary]):host([tone=text][active]){--mds-button-color:rgb(var(--magma-accent-emphasis-active,var(--magma-tint-accent-emphasis-active,var(--variant-primary-02,0 57 163))))}:host([variant=secondary]){--mds-button-background:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-button-border-color-rgb:var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-button-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=secondary]):host([tone=strong]:hover){--mds-button-background:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--mds-button-border-color-rgb:var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204)))}:host([variant=secondary]):host([tone=weak]){--mds-button-background:rgb(var(--magma-accent-surface,var(--magma-tint-accent-surface,var(--variant-primary-09,220 224 231))));--mds-button-border-color-rgb:var(--magma-accent-surface,var(--magma-tint-accent-surface,var(--variant-primary-09,220 224 231)));--mds-button-color:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));fill:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))))}:host([variant=secondary]):host([tone=weak]:hover){--mds-button-background:rgb(var(--magma-accent-surface-hover,var(--magma-tint-accent-surface-hover,var(--variant-primary-08,204 212 226))));--mds-button-border-color-rgb:var(--magma-accent-surface-hover,var(--magma-tint-accent-surface-hover,var(--variant-primary-08,204 212 226)))}:host([variant=secondary]):host([tone=outline]){--mds-button-border-color-rgb:var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-button-color:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))))}:host([variant=secondary]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-button-color:rgb(var(--magma-accent-emphasis-active,var(--magma-tint-accent-emphasis-active,var(--variant-primary-02,0 57 163))))}:host([variant=secondary]):host([tone=text]){--mds-button-color:rgb(var(--magma-accent-emphasis-active,var(--magma-tint-accent-emphasis-active,var(--variant-primary-02,0 57 163))))}:host([variant=secondary]):host([tone=text]:hover){--mds-button-color:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-button-background:rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240))))}:host([variant=secondary]):host([tone=text][active]){--mds-button-color:rgb(var(--magma-accent-emphasis-active,var(--magma-tint-accent-emphasis-active,var(--variant-primary-02,0 57 163))))}:host([variant=ai]){--mds-button-background:rgb(var(--magma-accent-ai-emphasis,var(--magma-tint-accent-ai-emphasis,var(--variant-ai-04,126 73 245))));--mds-button-border-color-rgb:var(--magma-accent-ai-emphasis,var(--magma-tint-accent-ai-emphasis,var(--variant-ai-04,126 73 245)));--mds-button-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=ai]):host([tone=strong]:hover){--mds-button-background:rgb(var(--magma-accent-ai-emphasis-hover,var(--magma-tint-accent-ai-emphasis-hover,var(--variant-ai-03,87 20 242))));--mds-button-border-color-rgb:var(--magma-accent-ai-emphasis-hover,var(--magma-tint-accent-ai-emphasis-hover,var(--variant-ai-03,87 20 242)))}:host([variant=ai]):host([tone=weak]){--mds-button-background:rgb(var(--magma-accent-ai-surface,var(--magma-tint-accent-ai-surface,var(--variant-ai-09,229 218 253))));--mds-button-border-color-rgb:var(--magma-accent-ai-surface,var(--magma-tint-accent-ai-surface,var(--variant-ai-09,229 218 253)));--mds-button-color:rgb(var(--magma-accent-ai-emphasis-hover,var(--magma-tint-accent-ai-emphasis-hover,var(--variant-ai-03,87 20 242))));fill:rgb(var(--magma-accent-ai-emphasis-hover,var(--magma-tint-accent-ai-emphasis-hover,var(--variant-ai-03,87 20 242))))}:host([variant=ai]):host([tone=weak]:hover){--mds-button-background:rgb(var(--magma-accent-ai-surface-hover,var(--magma-tint-accent-ai-surface-hover,var(--variant-ai-08,219 205 252))));--mds-button-border-color-rgb:var(--magma-accent-ai-surface-hover,var(--magma-tint-accent-ai-surface-hover,var(--variant-ai-08,219 205 252)))}:host([variant=ai]):host([tone=outline]){--mds-button-border-color-rgb:var(--magma-accent-ai-emphasis,var(--magma-tint-accent-ai-emphasis,var(--variant-ai-04,126 73 245)));--mds-button-color:rgb(var(--magma-accent-ai-emphasis-hover,var(--magma-tint-accent-ai-emphasis-hover,var(--variant-ai-03,87 20 242))))}:host([variant=ai]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--magma-accent-ai-emphasis,var(--magma-tint-accent-ai-emphasis,var(--variant-ai-04,126 73 245)));--mds-button-color:rgb(var(--magma-accent-ai-emphasis-active,var(--magma-tint-accent-ai-emphasis-active,var(--variant-ai-02,65 11 190))))}:host([variant=ai]):host([tone=text]){--mds-button-color:rgb(var(--magma-accent-ai-emphasis-active,var(--magma-tint-accent-ai-emphasis-active,var(--variant-ai-02,65 11 190))))}:host([variant=ai]):host([tone=text]:hover){--mds-button-color:rgb(var(--magma-accent-ai-emphasis,var(--magma-tint-accent-ai-emphasis,var(--variant-ai-04,126 73 245))));--mds-button-background:rgb(var(--magma-accent-ai-surface-subtle,var(--magma-tint-accent-ai-surface-subtle,var(--variant-ai-10,240 234 254))))}:host([variant=ai]):host([tone=text][active]){--mds-button-color:rgb(var(--magma-accent-ai-emphasis-active,var(--magma-tint-accent-ai-emphasis-active,var(--variant-ai-02,65 11 190))))}:host([variant=info]){--mds-button-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-button-border-color-rgb:var(--magma-info-emphasis,var(--status-info-04,0 119 164));--mds-button-color:rgb(var(--magma-info-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=info]):host([tone=strong]:hover){--mds-button-background:rgb(var(--magma-info-emphasis-hover,var(--status-info-03,0 94 137)));--mds-button-border-color-rgb:var(--magma-info-emphasis-hover,var(--status-info-03,0 94 137))}:host([variant=info]):host([tone=weak]){--mds-button-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-button-border-color-rgb:var(--magma-info-wash-base,var(--status-info-09,193 230 246));--mds-button-color:rgb(var(--magma-info-text-subtle,var(--text-info-subtle,0 94 137)));fill:rgb(var(--magma-info-text-subtle,var(--text-info-subtle,0 94 137)))}:host([variant=info]):host([tone=weak]:hover){--mds-button-background:rgb(var(--magma-info-wash-strong,var(--status-info-08,168 219 242)));--mds-button-border-color-rgb:var(--magma-info-wash-strong,var(--status-info-08,168 219 242));--mds-button-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([variant=info]):host([tone=outline]){--mds-button-border-color-rgb:var(--magma-info-emphasis,var(--status-info-04,0 119 164));--mds-button-color:rgb(var(--magma-info-text-subtle,var(--text-info-subtle,0 94 137)))}:host([variant=info]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--magma-info-emphasis,var(--status-info-04,0 119 164));--mds-button-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)))}:host([variant=info]):host([tone=text]){--mds-button-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)))}:host([variant=info]):host([tone=text]:hover){--mds-button-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)));--mds-button-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)))}:host([variant=info]):host([tone=text][active]){--mds-button-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([variant=success]){--mds-button-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-button-border-color-rgb:var(--magma-success-emphasis,var(--status-success-04,0 128 57));--mds-button-color:rgb(var(--magma-success-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=success]):host([tone=strong]:hover){--mds-button-background:rgb(var(--magma-success-emphasis-hover,var(--status-success-03,0 102 32)));--mds-button-border-color-rgb:var(--magma-success-emphasis-hover,var(--status-success-03,0 102 32))}:host([variant=success]):host([tone=weak]){--mds-button-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-button-border-color-rgb:var(--magma-success-wash-base,var(--status-success-09,191 233 205));--mds-button-color:rgb(var(--magma-success-text-subtle,var(--text-success-subtle,0 102 32)));fill:rgb(var(--magma-success-text-subtle,var(--text-success-subtle,0 102 32)))}:host([variant=success]):host([tone=weak]:hover){--mds-button-background:rgb(var(--magma-success-wash-strong,var(--status-success-08,165 225 186)));--mds-button-border-color-rgb:var(--magma-success-wash-strong,var(--status-success-08,165 225 186));--mds-button-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=success]):host([tone=outline]){--mds-button-border-color-rgb:var(--magma-success-emphasis,var(--status-success-04,0 128 57));--mds-button-color:rgb(var(--magma-success-text-subtle,var(--text-success-subtle,0 102 32)))}:host([variant=success]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--magma-success-emphasis,var(--status-success-04,0 128 57));--mds-button-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)))}:host([variant=success]):host([tone=text]){--mds-button-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)))}:host([variant=success]):host([tone=text]:hover){--mds-button-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)));--mds-button-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)))}:host([variant=success]):host([tone=text][active]){--mds-button-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=warning]){--mds-button-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-button-border-color-rgb:var(--magma-warning-emphasis,var(--status-warning-04,142 106 0));--mds-button-color:rgb(var(--magma-warning-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=warning]):host([tone=strong]:hover){--mds-button-background:rgb(var(--magma-warning-emphasis-hover,var(--status-warning-03,113 85 0)));--mds-button-border-color-rgb:var(--magma-warning-emphasis-hover,var(--status-warning-03,113 85 0))}:host([variant=warning]):host([tone=weak]){--mds-button-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-button-border-color-rgb:var(--magma-warning-wash-base,var(--status-warning-09,255 220 117));--mds-button-color:rgb(var(--magma-warning-text-subtle,var(--text-warning-subtle,113 85 0)));fill:rgb(var(--magma-warning-text-subtle,var(--text-warning-subtle,113 85 0)))}:host([variant=warning]):host([tone=weak]:hover){--mds-button-background:rgb(var(--magma-warning-wash-strong,var(--status-warning-08,255 205 57)));--mds-button-border-color-rgb:var(--magma-warning-wash-strong,var(--status-warning-08,255 205 57));--mds-button-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([variant=warning]):host([tone=outline]){--mds-button-border-color-rgb:var(--magma-warning-emphasis,var(--status-warning-04,142 106 0));--mds-button-color:rgb(var(--magma-warning-text-subtle,var(--text-warning-subtle,113 85 0)))}:host([variant=warning]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--magma-warning-emphasis,var(--status-warning-04,142 106 0));--mds-button-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)))}:host([variant=warning]):host([tone=text]){--mds-button-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)))}:host([variant=warning]):host([tone=text]:hover){--mds-button-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)));--mds-button-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)))}:host([variant=warning]):host([tone=text][active]){--mds-button-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([variant=error]){--mds-button-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-button-border-color-rgb:var(--magma-danger-emphasis,var(--status-error-04,196 64 65));--mds-button-color:rgb(var(--magma-danger-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=error]):host([tone=strong]:hover){--mds-button-background:rgb(var(--magma-danger-emphasis-hover,var(--status-error-03,165 33 40)));--mds-button-border-color-rgb:var(--magma-danger-emphasis-hover,var(--status-error-03,165 33 40))}:host([variant=error]):host([tone=weak]){--mds-button-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-button-border-color-rgb:var(--magma-danger-wash-base,var(--status-error-09,255 214 211));--mds-button-color:rgb(var(--magma-danger-text-subtle,var(--text-error-subtle,165 33 40)));fill:rgb(var(--magma-danger-text-subtle,var(--text-error-subtle,165 33 40)))}:host([variant=error]):host([tone=weak]:hover){--mds-button-background:rgb(var(--magma-danger-wash-strong,var(--status-error-08,254 198 194)));--mds-button-border-color-rgb:var(--magma-danger-wash-strong,var(--status-error-08,254 198 194));--mds-button-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=error]):host([tone=outline]){--mds-button-border-color-rgb:var(--magma-danger-emphasis,var(--status-error-04,196 64 65));--mds-button-color:rgb(var(--magma-danger-text-subtle,var(--text-error-subtle,165 33 40)))}:host([variant=error]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--magma-danger-emphasis,var(--status-error-04,196 64 65));--mds-button-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)))}:host([variant=error]):host([tone=text]){--mds-button-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)))}:host([variant=error]):host([tone=text]:hover){--mds-button-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-button-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)))}:host([variant=error]):host([tone=text][active]){--mds-button-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=light]){--mds-button-background:rgb(var(--tone-neutral-seed,255 255 255));--mds-button-border-color-rgb:var(--tone-neutral-seed,255 255 255);--mds-button-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))))}:host([variant=light]):host([tone=strong]:hover){--mds-button-background:rgb(var(--tone-neutral-seed,255 255 255));--mds-button-border-color-rgb:var(--tone-neutral-seed,255 255 255)}:host([variant=light]):host([tone=weak]){--mds-button-background:rgb(var(--tone-neutral-seed,255 255 255));--mds-button-border-color-rgb:var(--tone-neutral-seed,255 255 255);--mds-button-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));fill:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))))}:host([variant=light]):host([tone=weak]:hover){--mds-button-background:rgb(var(--tone-neutral-seed,255 255 255));--mds-button-border-color-rgb:var(--tone-neutral-seed,255 255 255);--mds-button-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([variant=light]):host([tone=outline]),:host([variant=light]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-button-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=light]):host([tone=text]){--mds-button-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=light]):host([tone=text]:hover){--mds-button-color:rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-button-background:rgb(var(--magma-surface-inverse-muted,var(--magma-tint-scale-03,var(--tone-neutral-03,73 73 73))))}:host([variant=light]):host([tone=text][active]){--mds-button-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=dark]){--mds-button-background:rgb(var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42))));--mds-button-border-color-rgb:var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42)));--mds-button-color:rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=dark]):host([tone=strong]:hover){--mds-button-background:rgb(var(--magma-surface-inverse-muted,var(--magma-tint-scale-03,var(--tone-neutral-03,73 73 73))));--mds-button-border-color-rgb:var(--magma-surface-inverse-muted,var(--magma-tint-scale-03,var(--tone-neutral-03,73 73 73)))}:host([variant=dark]):host([tone=weak]){--mds-button-background:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-button-border-color-rgb:var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208)));--mds-button-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));fill:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([variant=dark]):host([tone=weak]:hover){--mds-button-background:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-button-border-color-rgb:var(--magma-border-strong,var(--magma-tint-border-strong,var(--border-neutral-strong,140 140 140)));--mds-button-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([variant=dark]):host([tone=outline]){--mds-button-border-color-rgb:var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42)));--mds-button-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))))}:host([variant=dark]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42)));--mds-button-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([variant=dark]):host([tone=text]){--mds-button-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([variant=dark]):host([tone=text]:hover){--mds-button-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-button-background:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))))}:host([variant=dark]):host([tone=text][active]){--mds-button-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([variant=google]),:host([variant=google][tone]){--mds-button-background:rgb(var(--tone-neutral-seed,255 255 255));--mds-button-border-hover-opacity:.5;--mds-button-border-hover-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-opacity:.2;--mds-button-border-width:calc(var(--spacing,.0025rem)*25);--mds-button-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));--mds-button-border-color-rgb:var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)));-webkit-box-shadow:0 0 0 var(--mds-button-border-width,calc(var(--spacing,.0025rem)*50)) rgb(var(--mds-button-border-color-rgb,var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))))/var(--mds-button-border-opacity,0));box-shadow:0 0 0 var(--mds-button-border-width,calc(var(--spacing,.0025rem)*50)) rgb(var(--mds-button-border-color-rgb,var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))))/var(--mds-button-border-opacity,0))}:host([variant=google]:hover),:host([variant=google][tone]:hover){--mds-button-background:rgb(var(--tone-neutral-seed,255 255 255));--mds-button-border-width:var(--mds-button-border-hover-width);--mds-button-border-opacity:var(--mds-button-border-hover-opacity,.75)}:host([variant=apple]) .icon{transform:translateY(-5%)}:host([variant=apple]),:host([variant=apple][tone]){--mds-button-background:rgb(var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42))));--mds-button-color:rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-button-border-width:0;--mds-button-border-color-rgb:var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42)))}:host([variant=apple]:hover),:host([variant=apple][tone]:hover){--mds-button-background:rgb(var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42))));--mds-button-border-opacity:1}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=google]),:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=google][tone]){--mds-button-border-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-opacity:.3}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=google]:hover),:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=google][tone]:hover){--mds-button-border-opacity:.5}:host([tone=outline]),:host([tone=text]){--mds-button-background:#0000}:host([tone=box]),:host([tone=strong]),:host([tone=weak]){--mds-button-border-default-opacity:1;--mds-button-border-width:0;--mds-button-border-opacity:var(--mds-button-border-default-opacity,0)}:host([tone=strong]:hover),:host([tone=strong][active]){--mds-button-border-width:var(--mds-button-border-tone-strong-hover-width,calc(var(--spacing,.0025rem)*50))}:host([tone=weak]:hover),:host([tone=weak][active]){--mds-button-border-width:var(--mds-button-border-tone-weak-hover-width,calc(var(--spacing,.0025rem)*50))}:host([tone=outline]){--mds-button-border-opacity:var(--mds-button-border-tone-outline-opacity)}:host([tone=outline]:hover),:host([tone=outline][active]){--mds-button-background:#0000;--mds-button-border-width:var(--mds-button-border-tone-outline-hover-width,3px);--mds-button-border-opacity:var(--mds-button-border-hover-opacity,.75)}:host([tone=box]){-webkit-box-shadow:var(--shadow-box-solid-strong,#0006 0 2px 4px,#0000004d 0 7px 13px -3px,#00000059 0 -3px 0 inset,#ffffff1a 0 -8px 10px inset,#ffffff26 0 -4px 0 inset);box-shadow:var(--shadow-box-solid-strong,#0006 0 2px 4px,#0000004d 0 7px 13px -3px,#00000059 0 -3px 0 inset,#ffffff1a 0 -8px 10px inset,#ffffff26 0 -4px 0 inset);transition-property:background-color,border-color,box-shadow,color,outline,filter,outline-offset,transform}:host([tone=box]):host(:hover){filter:brightness(1.1)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-button-transition-duration:0s}@property --tw-font-weight{syntax:"*";inherits:false}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=google]),:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=google][tone]){--mds-button-border-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-opacity:.3}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=google]:hover),:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=google][tone]:hover){--mds-button-border-opacity:.5}}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-button-transition-duration:0s}}`;
|
|
9591
9652
|
|
|
9592
9653
|
/**
|
|
9593
9654
|
* @slot - Add `text string` to this slot, **avoid** to add `HTML elements` or `components` here.
|
|
@@ -9653,12 +9714,59 @@ class MdsButton {
|
|
|
9653
9714
|
this.mouseUp = () => {
|
|
9654
9715
|
this.active = false;
|
|
9655
9716
|
};
|
|
9656
|
-
this.
|
|
9657
|
-
|
|
9658
|
-
|
|
9717
|
+
this.isLink = () => { var _a; return ((_a = this.href) !== null && _a !== void 0 ? _a : '') !== ''; };
|
|
9718
|
+
// a link the browser opens in a new tab or window: asked by the button, or by the user
|
|
9719
|
+
this.opensElsewhere = (event) => this.target === 'blank' || event.ctrlKey || event.metaKey || event.shiftKey;
|
|
9720
|
+
/**
|
|
9721
|
+
* A click on the anchor is the browser's to follow, unless the router registered with
|
|
9722
|
+
* `NavigationService` takes it over: then the navigation is cancelled here, before the page
|
|
9723
|
+
* loads, and the router renders the route.
|
|
9724
|
+
*
|
|
9725
|
+
* A click that did not land on the anchor comes from the keyboard, a script or an assistive
|
|
9726
|
+
* technology: the host follows the link as the anchor would, once every listener on the page
|
|
9727
|
+
* had its say. The timeout is what lets a listener added after this one, or delegated to the
|
|
9728
|
+
* document by a framework, cancel the navigation: a microtask could run between two listeners.
|
|
9729
|
+
*/
|
|
9730
|
+
this.handleLinkClick = (event) => {
|
|
9731
|
+
var _a;
|
|
9732
|
+
if (!this.isLink() || this.disabled || this.await)
|
|
9733
|
+
return;
|
|
9734
|
+
const href = (_a = this.href) !== null && _a !== void 0 ? _a : '';
|
|
9735
|
+
if (this.anchor && event.composedPath().includes(this.anchor)) {
|
|
9736
|
+
if (this.opensElsewhere(event) || !NavigationService.canHandle(href, event))
|
|
9737
|
+
return;
|
|
9738
|
+
event.preventDefault();
|
|
9739
|
+
this.route(href, event);
|
|
9740
|
+
return;
|
|
9741
|
+
}
|
|
9742
|
+
setTimeout(() => {
|
|
9743
|
+
if (!event.defaultPrevented)
|
|
9744
|
+
this.follow(event);
|
|
9745
|
+
});
|
|
9746
|
+
};
|
|
9747
|
+
this.follow = (event) => {
|
|
9748
|
+
var _a;
|
|
9749
|
+
if (typeof window === 'undefined')
|
|
9750
|
+
return;
|
|
9751
|
+
const href = (_a = this.href) !== null && _a !== void 0 ? _a : '';
|
|
9752
|
+
if (this.opensElsewhere(event)) {
|
|
9753
|
+
window.open(href, '_blank');
|
|
9659
9754
|
return;
|
|
9660
9755
|
}
|
|
9661
|
-
|
|
9756
|
+
if (NavigationService.canHandle(href, event)) {
|
|
9757
|
+
this.route(href, event);
|
|
9758
|
+
return;
|
|
9759
|
+
}
|
|
9760
|
+
window.location.assign(href);
|
|
9761
|
+
};
|
|
9762
|
+
// the registered router renders the route; a link it declines is loaded as the browser would
|
|
9763
|
+
this.route = (href, event) => {
|
|
9764
|
+
if (!NavigationService.handle(href, event))
|
|
9765
|
+
window.location.assign(href);
|
|
9766
|
+
};
|
|
9767
|
+
// the host is the only tab stop: a click still focuses the anchor, which hands the focus back
|
|
9768
|
+
this.focusHost = () => {
|
|
9769
|
+
this.host.focus();
|
|
9662
9770
|
};
|
|
9663
9771
|
this.onSlotChangeHandler = () => {
|
|
9664
9772
|
var _a;
|
|
@@ -9709,6 +9817,16 @@ class MdsButton {
|
|
|
9709
9817
|
this.host.removeEventListener('click', this.handleReset);
|
|
9710
9818
|
}
|
|
9711
9819
|
}
|
|
9820
|
+
// the role tells the assistive technology what the host is; one set by the caller
|
|
9821
|
+
// (mds-tab-item names its button a tab) is theirs and stays
|
|
9822
|
+
handleHrefChange() {
|
|
9823
|
+
var _a;
|
|
9824
|
+
const role = this.host.getAttribute('role');
|
|
9825
|
+
if (role === null || role === 'button' || role === 'link') {
|
|
9826
|
+
this.host.setAttribute('role', this.isLink() ? 'link' : 'button');
|
|
9827
|
+
}
|
|
9828
|
+
this.handleTypeChange(this.isLink() ? 'link' : ((_a = this.type) !== null && _a !== void 0 ? _a : ''));
|
|
9829
|
+
}
|
|
9712
9830
|
handleVariantChange(newValue) {
|
|
9713
9831
|
if (newValue === 'google') {
|
|
9714
9832
|
this.icon = logoGoogle;
|
|
@@ -9720,22 +9838,10 @@ class MdsButton {
|
|
|
9720
9838
|
}
|
|
9721
9839
|
}
|
|
9722
9840
|
componentWillLoad() {
|
|
9723
|
-
var _a;
|
|
9724
9841
|
this.handleVariantChange(this.variant);
|
|
9725
|
-
if (
|
|
9726
|
-
|
|
9727
|
-
|
|
9728
|
-
e.preventDefault();
|
|
9729
|
-
if (this.target === 'blank') {
|
|
9730
|
-
this.redirectBlank();
|
|
9731
|
-
return;
|
|
9732
|
-
}
|
|
9733
|
-
if (typeof window !== 'undefined') {
|
|
9734
|
-
window.location.href = (_a = this.href) !== null && _a !== void 0 ? _a : ''; // TypeScript 5.0.2 bug: if (this.href) not checked
|
|
9735
|
-
}
|
|
9736
|
-
});
|
|
9737
|
-
}
|
|
9738
|
-
else if (this.internals.form) {
|
|
9842
|
+
if (this.isLink())
|
|
9843
|
+
return;
|
|
9844
|
+
if (this.internals.form) {
|
|
9739
9845
|
if (this.type === 'submit') {
|
|
9740
9846
|
this.host.addEventListener('click', this.handleRequestSubmitForm);
|
|
9741
9847
|
}
|
|
@@ -9772,7 +9878,7 @@ class MdsButton {
|
|
|
9772
9878
|
setAttributeIfEmpty(this.host, 'aria-label', iconTitle);
|
|
9773
9879
|
}
|
|
9774
9880
|
}
|
|
9775
|
-
setAttributeIfEmpty(this.host, 'role', 'button');
|
|
9881
|
+
setAttributeIfEmpty(this.host, 'role', this.isLink() ? 'link' : 'button');
|
|
9776
9882
|
}
|
|
9777
9883
|
handleAwaitChange(newValue) {
|
|
9778
9884
|
if (newValue === false) {
|
|
@@ -9792,7 +9898,11 @@ class MdsButton {
|
|
|
9792
9898
|
render() {
|
|
9793
9899
|
var _a;
|
|
9794
9900
|
this.typography = ((_a = buttonSizeTypographyVariant[this.size]) !== null && _a !== void 0 ? _a : buttonSizeTypographyVariant.md);
|
|
9795
|
-
return (hAsync(Host, { key: '
|
|
9901
|
+
return (hAsync(Host, { key: '10a34bcfd7dab93716396ed8a3b3f13192cffea3', onClick: this.handleLinkClick, onMouseDown: this.mouseDown, onMouseUp: this.mouseUp, onMouseOut: this.mouseUp, tabindex: "0", "pref-animation": preferenceStore.state.animation, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, this.isLink() && (
|
|
9902
|
+
// the link under the pointer, over the whole button: the host keeps the focus, the
|
|
9903
|
+
// role and the name, so the anchor is out of the tab order and hidden from the
|
|
9904
|
+
// assistive technology
|
|
9905
|
+
hAsync("a", { key: 'a34fb61fd7860d7d24be936824f1d4f2dc7f246e', "aria-hidden": "true", class: "link", href: this.href, onFocus: this.focusHost, ref: (el) => (this.anchor = el), tabindex: "-1", target: this.target === 'blank' ? '_blank' : undefined })), hAsync("div", { key: 'e551d9e831c62fbc449f1bab19cce2216fa58e90', class: "await" }, hAsync("mds-spinner", { key: 'c2c37adb259d435b2ccbe26c46524e07e5b958a5', class: "spinner", running: this.await })), this.icon && this.iconPosition === 'left' && (hAsync("mds-icon", { key: 'e4c410d632a98f4660c33e97490391623c74bf12', "aria-hidden": "true", class: "icon", name: this.icon, part: "icon" })), hAsync("mds-text", { key: '28f23056bbcdba2decaa6e1e8f38d6cb93fa9088', class: "text", part: "label", tag: "span", typography: this.typography, truncate: this.truncate, animation: this.animation, text: this.label }, this.label || hAsync("slot", { key: '753363db487d6a31a7a26590bed082322cd49c4f', onSlotchange: this.onSlotChangeHandler })), hAsync("slot", { key: 'f8ae298fbdedb9f3669b2c13005300b1107b9d84', name: "notification" }), this.icon && this.iconPosition === 'right' && (hAsync("mds-icon", { key: '4e52d3ea0280497a0eefc0a2486f94e17ecf9824', "aria-hidden": "true", class: "icon", name: this.icon, part: "icon" }))));
|
|
9796
9906
|
}
|
|
9797
9907
|
static get formAssociated() { return true; }
|
|
9798
9908
|
get host() { return getElement(this); }
|
|
@@ -9811,6 +9921,9 @@ class MdsButton {
|
|
|
9811
9921
|
"type": [{
|
|
9812
9922
|
"handleTypeChange": 0
|
|
9813
9923
|
}],
|
|
9924
|
+
"href": [{
|
|
9925
|
+
"handleHrefChange": 0
|
|
9926
|
+
}],
|
|
9814
9927
|
"variant": [{
|
|
9815
9928
|
"handleVariantChange": 0
|
|
9816
9929
|
}]
|
|
@@ -9912,7 +10025,7 @@ class MdsButtonDropdown {
|
|
|
9912
10025
|
this.formDisabled = disabled;
|
|
9913
10026
|
}
|
|
9914
10027
|
render() {
|
|
9915
|
-
return (hAsync(Host, { key: '
|
|
10028
|
+
return (hAsync(Host, { key: '3b1dcefd3fe6159bdf50f5c90e61783ff309c9e6' }, hAsync("mds-button", { key: '8f7608ad5d88b877c4c3df9175064adbec11914a', active: this.active, autoFocus: this.autoFocus, class: "dropdown-primary-action", await: this.await, disabled: this.isDisabled(), href: this.href, icon: this.icon, onClick: this.primaryActionClick, size: this.size, target: this.target, tone: this.tone, variant: this.variant, label: this.label }), hAsync("mds-button", { key: '5cf7efb24db13465de28ba8600641697c96cd253', active: this.active, autoFocus: this.autoFocus, await: this.await, class: "dropdown-action", disabled: this.isDisabled(), href: this.href, icon: miBaselineKeyboardArrowDown, size: this.size, target: this.target, tone: this.tone, variant: this.variant }), hAsync("mds-dropdown", { key: 'fec67e583d78a12851f09274186a5f5e5aee6993', target: ".dropdown-action", part: "dropdown" }, hAsync("slot", { key: '45ca099a677e9b75769feb6960d3cc0440b35f5c' }))));
|
|
9916
10029
|
}
|
|
9917
10030
|
static get formAssociated() { return true; }
|
|
9918
10031
|
static get style() { return mdsButtonDropdownCss(); }
|
|
@@ -9953,7 +10066,7 @@ class MdsButtonGroup {
|
|
|
9953
10066
|
registerInstance(this, hostRef);
|
|
9954
10067
|
}
|
|
9955
10068
|
render() {
|
|
9956
|
-
return (hAsync(Host, { key: '
|
|
10069
|
+
return (hAsync(Host, { key: '20a4638b7cfbc9329338ca9379ec6ea02e4590ce' }, hAsync("slot", { key: 'dc8aab31d76d5db4e7c0f8cf71acbc76f11ac415' })));
|
|
9957
10070
|
}
|
|
9958
10071
|
static get style() { return mdsButtonGroupCss(); }
|
|
9959
10072
|
static get cmpMeta() { return {
|
|
@@ -18647,19 +18760,19 @@ class MdsCalendar {
|
|
|
18647
18760
|
return undefined;
|
|
18648
18761
|
}
|
|
18649
18762
|
render() {
|
|
18650
|
-
return (hAsync(Host, { key: '
|
|
18763
|
+
return (hAsync(Host, { key: '0e1b73688c5c431dd309205bdb10532b1333e838' }, hAsync("div", { key: 'c90c9c6d8edfd9222d9967f22e18846c1a99b2bb', class: clsx('calendar-preselection', this.hasPreselection &&
|
|
18651
18764
|
!this.hidePreselection &&
|
|
18652
|
-
'calendar-preselection--has-preselection') }, hAsync("slot", { key: '
|
|
18765
|
+
'calendar-preselection--has-preselection') }, hAsync("slot", { key: '4991c7e1a3bd0412760d4d23978052895db706e5', name: "preselection" })), hAsync("div", { key: 'cfc6119113ee8915f52022cc77a3dc3a5a6c4f58', class: "calendar-view" }, hAsync("nav", { key: '5299d5c3e02ba9dbece40cda041bed3ee0512916' }, !this.hidePreviousButton && (hAsync("mds-button", { key: 'ba19e6908d23d40121420846dd5d88c6f169b919', class: "action-back", icon: miBaselineBackIosNew, variant: "dark", tone: "text", onClick: this.handlePrev })), hAsync("div", { key: '195ee2766a159a61e1e84758c47f5fe9d283fd56', class: "select-month-or-year" }, (this.currentView === 'calendar' || this.currentView === 'months') && (hAsync("mds-button", { key: '6bab8d2f45c2ca99e2136e2ed18b0e70f06dfb49', class: "action-month", truncate: "none", variant: "dark", tone: "text", label: this.currentMonth, onClick: this.handleMonthActionClick })), (this.currentView === 'calendar' || this.currentView === 'years') && (hAsync("mds-button", { key: '29e01349237df24148eb1c963db8824757267bd5', class: "action-year", truncate: "none", variant: "dark", tone: "text", label: this.currentYear, onClick: this.handleYearActionClick }))), !this.hideNextButton && (hAsync("mds-button", { key: '2bd92f2706f829fa547c2b4534b942c7d6bfe411', class: "action-forward", icon: miBaselineForwardIos, variant: "dark", tone: "text", onClick: this.handleNext }))), this.currentView === 'calendar' && (hAsync("section", { key: 'f532e9ffca64af0e755c4eccda7811eeeaa94606', class: "month-view" }, hAsync("header", { key: 'd3ef7e069ba07fb4cb7e12a5df522cd16f97b545', class: "month-view__days-names" }, this.weekdays.map((day) => (hAsync("mds-button", { class: "week-day-name", variant: "dark", tone: "text", label: day })))), hAsync("div", { key: 'c364906ed8deb299b39382f98df52135f5b0fd38', class: "month-view__cells" }, this.weekDaysinMonth.map((dayInfo, index) => (hAsync("mds-calendar-cell", { key: index, today: !this.hideToday &&
|
|
18653
18766
|
DateTime.now().toFormat('yyyy-MM-dd') === dayInfo.date.toFormat('yyyy-MM-dd'), date: dayInfo.date.toFormat('yyyy-MM-dd'), month: dayInfo.isCurrentMonth ? 'current' : 'other', disabled: this.isDateDisabled(dayInfo.date), onClick: this.handleCellClick(dayInfo.date), title: dayInfo.date
|
|
18654
18767
|
.setLocale(preferenceStore.state.language)
|
|
18655
18768
|
.toFormat('cccc d LLLL')
|
|
18656
|
-
.replace(/^./, (char) => char.toUpperCase()), label: dayInfo.date.toFormat('dd') })))))), this.currentView === 'months' && (hAsync("section", { key: '
|
|
18769
|
+
.replace(/^./, (char) => char.toUpperCase()), label: dayInfo.date.toFormat('dd') })))))), this.currentView === 'months' && (hAsync("section", { key: '38810ce12897e53aa661e0c48f68cb8072854123', class: "month-selection" }, hAsync("header", { key: 'd840009228adbabaae94116c8a01fde42637b9d6', class: "month-view__month-names" }, Array.from({ length: 12 }).map((_, index) => {
|
|
18657
18770
|
const monthName = DateTime.local()
|
|
18658
18771
|
.set({ month: index + 1 })
|
|
18659
18772
|
.setLocale(preferenceStore.state.language)
|
|
18660
18773
|
.toFormat('MMMM');
|
|
18661
18774
|
return (hAsync("mds-button", { class: "action", variant: "dark", tone: "text", label: monthName, onClick: this.handleMonthSelect(index + 1) }));
|
|
18662
|
-
})))), this.currentView === 'years' && (hAsync("section", { key: '
|
|
18775
|
+
})))), this.currentView === 'years' && (hAsync("section", { key: '7732d814d09d1d8b1e0e18dc98477ad036d20537', class: "year-selection" }, hAsync("header", { key: 'c813ff8735b908398ed6398bc99633c290d2edb6', class: "month-view__years" }, Array.from({ length: 12 }).map((_, index) => {
|
|
18663
18776
|
const year = this.selectedYear + index;
|
|
18664
18777
|
return (hAsync("mds-button", { class: "action", variant: "dark", tone: "text", label: `${year}`, onClick: this.handleYearSelect(year) }));
|
|
18665
18778
|
})))))));
|
|
@@ -18745,7 +18858,7 @@ class MdsCalendarCell {
|
|
|
18745
18858
|
this.today = undefined;
|
|
18746
18859
|
}
|
|
18747
18860
|
render() {
|
|
18748
|
-
return (hAsync(Host, { key: '
|
|
18861
|
+
return (hAsync(Host, { key: '12b007d92609ffed0e0a51ee2232475130f40dde' }, hAsync("div", { key: '0faa7516774e96b79d677c94b0d2d49837ce8c30', class: "inner-dot" }), hAsync("div", { key: '3007ffc396b7f6a6d1ca79c7fbf1cf50ae601044', class: "area-background" }), hAsync("mds-button", { key: '153be126aab6e325130d3fc62c2243baf7aee7cb', class: "action", variant: "dark", tone: "text", disabled: this.disabled, label: this.label })));
|
|
18749
18862
|
}
|
|
18750
18863
|
static get style() { return mdsCalendarCellCss(); }
|
|
18751
18864
|
static get cmpMeta() { return {
|
|
@@ -18799,7 +18912,7 @@ class MdsCard {
|
|
|
18799
18912
|
.reduce((prev, curr) => prev + curr.charAt(0), '');
|
|
18800
18913
|
}
|
|
18801
18914
|
render() {
|
|
18802
|
-
return (hAsync(Host, { key: '
|
|
18915
|
+
return (hAsync(Host, { key: '31eaa183eb0cb5bc9a007f69efe3b0f852b6ef7d', "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("div", { key: '0f3c4c537f04a1d2ca179479d9b3cea416fe6d25', class: clsx('layout', this.layout && `layout--${this.layout}`, this.disableAutoGrid ? 'layout--disabled' : ''), part: "layout" }, hAsync("slot", { key: 'f1940bfd01e4cc0c977cb0dc2b1769e20a6cbdfd', name: "media" }), hAsync("slot", { key: '09b1e2cdbeff759ee3ce63dae5536a54251c43f5', name: "header" }), hAsync("slot", { key: '9ad5ac00277e9fefc07d00d49c82072bf433e9db', name: "content" }), hAsync("slot", { key: '8cf768e1c45773e1fc8b54a34bb8859b228ed1fd', name: "footer" }))));
|
|
18803
18916
|
}
|
|
18804
18917
|
get host() { return getElement(this); }
|
|
18805
18918
|
static get style() { return mdsCardCss(); }
|
|
@@ -18826,7 +18939,7 @@ class MdsCardContent {
|
|
|
18826
18939
|
registerInstance(this, hostRef);
|
|
18827
18940
|
}
|
|
18828
18941
|
render() {
|
|
18829
|
-
return (hAsync(Host, { key: '
|
|
18942
|
+
return (hAsync(Host, { key: '017516f166ace490d0c2bee3f2cbba89af6a1cf0', slot: "content" }, hAsync("slot", { key: 'd66e00f7d93cb19be23e223fa4b182b2188a880e' })));
|
|
18830
18943
|
}
|
|
18831
18944
|
static get style() { return mdsCardContentCss(); }
|
|
18832
18945
|
static get cmpMeta() { return {
|
|
@@ -18849,7 +18962,7 @@ class MdsCardFooter {
|
|
|
18849
18962
|
registerInstance(this, hostRef);
|
|
18850
18963
|
}
|
|
18851
18964
|
render() {
|
|
18852
|
-
return (hAsync(Host, { key: '
|
|
18965
|
+
return (hAsync(Host, { key: 'b0307dc07679da23466df61739b9819f8d232f0a', slot: "footer" }, hAsync("slot", { key: 'fd24418758303f5e63537fc6b54a8d9ef4a04201' })));
|
|
18853
18966
|
}
|
|
18854
18967
|
static get style() { return mdsCardFooterCss(); }
|
|
18855
18968
|
static get cmpMeta() { return {
|
|
@@ -18879,7 +18992,7 @@ class MdsCardHeader {
|
|
|
18879
18992
|
this.hasActions = hasChildWithSlot(this.hostElement, 'action');
|
|
18880
18993
|
}
|
|
18881
18994
|
render() {
|
|
18882
|
-
return (hAsync(Host, { key: '
|
|
18995
|
+
return (hAsync(Host, { key: '34f82475ed90227e7c06b153bd024a1c744c276b', slot: "header" }, hAsync("slot", { key: '0c32b469a184b8c641e08dfdeb786f346f3b14a9' }), hAsync("div", { key: '022d73764e88be466f4ad569be128a00723c6980', class: clsx('actions', !this.hasActions && 'actions--hidden') }, hAsync("slot", { key: '7235c45967fbd557ee2649f8c35e7e283c932262', name: "action", onSlotchange: this.onActionSlotChange }))));
|
|
18883
18996
|
}
|
|
18884
18997
|
get hostElement() { return getElement(this); }
|
|
18885
18998
|
static get style() { return mdsCardHeaderCss(); }
|
|
@@ -18906,7 +19019,7 @@ class MdsCardMedia {
|
|
|
18906
19019
|
registerInstance(this, hostRef);
|
|
18907
19020
|
}
|
|
18908
19021
|
render() {
|
|
18909
|
-
return (hAsync(Host, { key: '
|
|
19022
|
+
return (hAsync(Host, { key: '45d54d45b07a9723fcee327fed5d6ef2fe8b739d', slot: "media" }, hAsync("div", { key: '826bc9dd4ac1aae4ac3ad6fe00b741a17a5ec9d2', class: "content", part: "content" }, hAsync("slot", { key: '9fa54849445b6594eca43c2a506c2e64df124ca8', name: "content" })), hAsync("slot", { key: '6af043f162a93dc4314bd89fd18297a187f49226' })));
|
|
18910
19023
|
}
|
|
18911
19024
|
static get style() { return mdsCardMediaCss(); }
|
|
18912
19025
|
static get cmpMeta() { return {
|
|
@@ -19045,13 +19158,13 @@ class MdsChip {
|
|
|
19045
19158
|
this.km.detachClickBehavior('label');
|
|
19046
19159
|
}
|
|
19047
19160
|
render() {
|
|
19048
|
-
return (hAsync(Host, { key: '
|
|
19161
|
+
return (hAsync(Host, { key: '58af854a372c93eb2eba1084c77d8776cfa412ed', "aria-disabled": this.disabled ? 'true' : 'false', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, this.icon && (hAsync("div", { key: '1531ef9781919823fb0cd07e82fa95e357bb0818', "aria-hidden": "true", class: "icon-area" }, hAsync("mds-icon", { key: 'b2116d13da07bf2dd74c6abd29950793f2b63339', class: "icon", name: this.icon }))), hAsync("div", { key: '74e7f2e09bcee7108b6a89b67ffcde72001c9806', class: "label-wrapper" }, this.clickable ? (
|
|
19049
19162
|
/* The label carries role="button" (see handleClickableElement), and a toggle
|
|
19050
19163
|
* button states its state through aria-pressed: without it `selected` reaches
|
|
19051
19164
|
* the eye through the border and reaches a screen reader not at all (WCAG
|
|
19052
19165
|
* 4.1.2). Only when selectable, because aria-pressed on something that is not
|
|
19053
19166
|
* a button is invalid, and a merely clickable chip toggles nothing. */
|
|
19054
|
-
hAsync("mds-text", { "aria-pressed": this.selectable ? (this.selected ? 'true' : 'false') : undefined, class: "label label--interactive", tabindex: "0", typography: "caption", truncate: "word" }, this.label)) : (hAsync("mds-text", { class: "label", typography: "caption", truncate: "word" }, this.label))), this.deletable && (hAsync("mds-button", { key: '
|
|
19167
|
+
hAsync("mds-text", { "aria-pressed": this.selectable ? (this.selected ? 'true' : 'false') : undefined, class: "label label--interactive", tabindex: "0", typography: "caption", truncate: "word" }, this.label)) : (hAsync("mds-text", { class: "label", typography: "caption", truncate: "word" }, this.label))), this.deletable && (hAsync("mds-button", { key: 'e70b7aa67e12b8f3f3d6cd9f538877231a4e96db', class: "button-delete", icon: miBaselineCancel, onClick: this.onDeleteHandler, title: `${this.t.get('deleteLabel')} ${this.label}`, variant: "dark", tone: "text", size: "sm" }))));
|
|
19055
19168
|
}
|
|
19056
19169
|
get host() { return getElement(this); }
|
|
19057
19170
|
static get watchers() { return {
|
|
@@ -19135,7 +19248,7 @@ class MdsDetails {
|
|
|
19135
19248
|
this.km.detachClickBehavior();
|
|
19136
19249
|
}
|
|
19137
19250
|
render() {
|
|
19138
|
-
return (hAsync(Host, { key: '
|
|
19251
|
+
return (hAsync(Host, { key: '3a875435aae154931410535e4d1e9045bf30cd91', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast }, hAsync("div", { key: '432d547901620cd57ffcff313fbce05a94240ea1', class: clsx('icon', this.hasIcon ? '' : 'icon--hidden'), onClick: this.toggle }, hAsync("slot", { key: 'f5f50a9c2f2533c5003339449fcc7ec82694c4eb', name: "icon", onSlotchange: this.onSlotChangeHandler })), hAsync("div", { key: '768988b92347da9a372aecd2c0a3829b004762da', class: "content" }, hAsync("div", { key: '7a93c41ac2079c6ce543f343ceb212e7e41190fd', class: "header", part: "header", role: "button", "aria-expanded": this.isOpened ? 'true' : 'false', tabindex: "0", onClick: this.toggle }, hAsync("div", { key: '080bdc82cff5a5b4d70c918fb191eec0ef148243', class: "title", part: "title" }, hAsync("slot", { key: '35e4e6809f2d5f4d9d6a9cf64f4facbe7b05fdf4', name: "title" })), hAsync("i", { key: 'beb447bde01c624915ec083690cf59bfa2351d1a', class: clsx('helper-icon', this.isOpened && 'opened'), innerHTML: miBaselineKeyboardArrowRight })), hAsync("div", { key: '85cc149f5111d7b394c213def2fc6bbc66d272a0', class: clsx('details', this.isOpened && 'opened') }, hAsync("div", { key: '30590821834ceafc900fd2e646573803e1cfb5c3', class: "content-expander", part: "content" }, hAsync("slot", { key: '88c485edcfb354f060045ebc5ce209fa615a7054' }), hAsync("div", { key: 'e66882f8191300f4c9e973f881c75a04651181a9', class: "actions" }, hAsync("slot", { key: 'dc36dfddad7ac2b0e2b59491fe5157c84a7b1a19', name: "action" })))))));
|
|
19139
19252
|
}
|
|
19140
19253
|
get host() { return getElement(this); }
|
|
19141
19254
|
static get watchers() { return {
|
|
@@ -21597,9 +21710,9 @@ class MdsDropdown {
|
|
|
21597
21710
|
this.km.detachEscapeBehavior();
|
|
21598
21711
|
}
|
|
21599
21712
|
render() {
|
|
21600
|
-
return (hAsync(Host, { key: '
|
|
21713
|
+
return (hAsync(Host, { key: '46e09e22fcbc884a36a6f5356819c2a3b436cd79', style: {
|
|
21601
21714
|
zIndex: `${this.zIndex}`,
|
|
21602
|
-
}, "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("div", { key: '
|
|
21715
|
+
}, "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("div", { key: 'ed3e86870a594d20a22698fb0fb756425bbda4d8', class: "arrow", innerHTML: arrowSvg$1 }), hAsync("slot", { key: '829ff27e7d860a7340a5208365b7de33a880dbfe' })));
|
|
21603
21716
|
}
|
|
21604
21717
|
get host() { return getElement(this); }
|
|
21605
21718
|
static get watchers() { return {
|
|
@@ -28733,7 +28846,7 @@ class MdsEmoji {
|
|
|
28733
28846
|
return element;
|
|
28734
28847
|
}
|
|
28735
28848
|
render() {
|
|
28736
|
-
return hAsync(Host, { key: '
|
|
28849
|
+
return hAsync(Host, { key: 'd5c2b10613e8cb0cc091c6cb9b598225562605fe' });
|
|
28737
28850
|
}
|
|
28738
28851
|
get host() { return getElement(this); }
|
|
28739
28852
|
static get watchers() { return {
|
|
@@ -28800,7 +28913,7 @@ class MdsEntity {
|
|
|
28800
28913
|
this.onSlotChange();
|
|
28801
28914
|
}
|
|
28802
28915
|
render() {
|
|
28803
|
-
return (hAsync(Host, { key: '
|
|
28916
|
+
return (hAsync(Host, { key: 'cb3c2be3e506034cbf78fc582883ec70fe4ce52c', "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("div", { key: 'c210813741661e3effca7d633acadd8ee7ba0c68', class: "spinner", part: "spinner" }, hAsync("mds-spinner", { key: '0f9d434d5ae11f3c21d80652d5cc8658e2b79598', running: true })), this.checkAvatar() && (hAsync("mds-avatar", { key: '51856b623d394a415440040d70e5c70f0361f042', class: "preview", icon: this.icon, initials: this.initials, src: this.src, tone: this.tone, variant: this.variant, part: "avatar" })), hAsync("div", { key: '2dc821793ac9eb240396d9473ec1273f575163bd', class: "infos" }, hAsync("slot", { key: '7c5966d531f51e026ca026ce2a8ffe10ad05b1fe' }), hAsync("div", { key: 'deb20b1879f70df94a6021017f5a44a293e2f77c', class: clsx('details', !this.hasDetails && 'details--hidden') }, hAsync("slot", { key: '6f5a7db95c7d9d5c53c6685e27379fa44022e58b', name: "detail", onSlotchange: this.onSlotChange }))), hAsync("div", { key: '3eedebf789952f6e1ebae3b138e676b1b0a715cc', class: clsx('actions', !this.hasActions && 'actions--hidden') }, hAsync("slot", { key: '412bb98abc59738d75516e805bbc082ffcb00797', name: "action", onSlotchange: this.onSlotChange }))));
|
|
28804
28917
|
}
|
|
28805
28918
|
get hostElement() { return getElement(this); }
|
|
28806
28919
|
static get style() { return mdsEntityCss(); }
|
|
@@ -36972,7 +37085,7 @@ class MdsFile {
|
|
|
36972
37085
|
}
|
|
36973
37086
|
render() {
|
|
36974
37087
|
var _a, _b;
|
|
36975
|
-
return (hAsync(Host, { key: '
|
|
37088
|
+
return (hAsync(Host, { key: 'a7569beadc70ced9e083a67aa5ff922d5e6b6c9c', tabindex: "0", onClick: this.handleOnClick, "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("div", { key: 'b42ca35d33921685146aba9ce59459c190037fa9', class: "preview" }, this.preview !== undefined ? (hAsync("div", { class: "image-preview", style: { backgroundImage: `url(${this.preview})` } })) : (hAsync("mds-icon", { class: "icon-preview", name: getFormatsVariant(this.filename, this.suffix).icon })), hAsync("div", { key: '21c5746101264baf341b404204d418686beca118', class: "download-icon" }, hAsync("mds-icon", { key: '5e4742a3b0f572abc73d7647c12d421bbf9fa723', name: miOutlineFileDownload }))), hAsync("div", { key: '79a99da7111321b1382f56cb4759b053c369c4ff', class: "info" }, hAsync("div", { key: '9d5033f9a25a606b9d4cc450d97ebe0ce1643dcd', class: "filename", title: this.filename }, hAsync("mds-text", { key: '7f1c204127cc3001944ffe49dd7aed44d042a83a', truncate: "word", typography: "h6", class: "name" }, getName(this.filename)), this.suffix === undefined && getSuffix(this.filename, this.suffix) && (hAsync("mds-text", { key: 'a971b52ac83f70070a889b140b431a31d60f9d37', typography: "h6", class: "extension" }, ".", getSuffix(this.filename, this.suffix)))), hAsync("div", { key: '0edb80fd5e9df3012f51200deb70add0d1bc7603', class: "detail" }, getSuffix(this.filename, this.suffix) && (hAsync("mds-badge", { key: '8bde2d5430dd23d473cb2ca5df3dea7d64949d9a', variant: getFormatsVariant(this.filename, this.suffix).variant, tone: "weak", class: "suffix" }, getSuffix(this.filename, this.suffix))), hAsync("mds-text", { key: '0cd357e7d7e8c447b2db492c28c0cf946b1f726f', truncate: "word", typography: "caption", class: "description", title: (_a = this.description) !== null && _a !== void 0 ? _a : this.t.get(this.getDefaultDescription()) }, (_b = this.description) !== null && _b !== void 0 ? _b : this.t.get(this.getDefaultDescription())))), this.wasDownloaded && !this.hideDownloadedIcon && (hAsync("div", { key: '7e63f04da4052566f6ccd67c7ed36aea9e9375f0', class: "indicator" }, hAsync("i", { key: 'c8da7bf9bd7b970c966b5a922f2c736c44632751', class: "downloaded", innerHTML: miBaselineFileDownloadDone, title: this.t.get('alreadyDownloaded') })))));
|
|
36976
37089
|
}
|
|
36977
37090
|
get host() { return getElement(this); }
|
|
36978
37091
|
static get watchers() { return {
|
|
@@ -37269,9 +37382,9 @@ class MdsFilePreview {
|
|
|
37269
37382
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
37270
37383
|
// a removed attribute or a null bound by a framework counts as not set, like an empty value
|
|
37271
37384
|
const hasMessage = ((_a = this.message) !== null && _a !== void 0 ? _a : '') !== '';
|
|
37272
|
-
return (hAsync(Host, { key: '
|
|
37385
|
+
return (hAsync(Host, { key: '3dfcd0adebb194607f09059b859efc36c7f8c419', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, this.deletable && (hAsync("mds-button", { key: 'a9721af0da102784e72b248557d702a4911a3eee', title: this.t.get('remove'), class: "action-delete", icon: miBaselineCancel, variant: "light", onClick: this.onClickDeletedEvent })), hAsync("div", { key: 'abe1cc2fcfa71cdaaffc7b2412a05bbec4480072', class: "card", part: "card", onClick: this.onClickDownloadEvent }, ((_b = this.src) !== null && _b !== void 0 ? _b : '') !== '' &&
|
|
37273
37386
|
!hasMessage &&
|
|
37274
|
-
getExtensionInfos(this.filename, this.suffix).preview ? (hAsync("mds-img", { src: this.src, class: "preview preview--image", "aspect-ratio": "1/1" })) : (hAsync("div", { class: clsx('preview', hasMessage ? 'preview--status' : 'preview--icon') }, ((_c = this.icon) !== null && _c !== void 0 ? _c : '') !== '' ? (hAsync("mds-icon", { class: "icon", name: this.icon })) : (hAsync("mds-icon", { class: "icon", name: getFormatsVariant(this.filename, this.suffix).icon })), this.message && (hAsync("mds-text", { class: "message", typography: "caption", variant: "info" }, this.message)))), hAsync("mds-text", { key: '
|
|
37387
|
+
getExtensionInfos(this.filename, this.suffix).preview ? (hAsync("mds-img", { src: this.src, class: "preview preview--image", "aspect-ratio": "1/1" })) : (hAsync("div", { class: clsx('preview', hasMessage ? 'preview--status' : 'preview--icon') }, ((_c = this.icon) !== null && _c !== void 0 ? _c : '') !== '' ? (hAsync("mds-icon", { class: "icon", name: this.icon })) : (hAsync("mds-icon", { class: "icon", name: getFormatsVariant(this.filename, this.suffix).icon })), this.message && (hAsync("mds-text", { class: "message", typography: "caption", variant: "info" }, this.message)))), hAsync("mds-text", { key: 'da5cd27701dae36012571aec0b6ada348eab9d15', class: "file-name", typography: "h6", variant: "title", truncate: this.truncate, title: this.filename }, this.filename), hAsync("div", { key: '311f77393d21ecb12319b4964171855724b40315', class: clsx('infos', this.filesize && 'infos--has-file-size') }, this.filesize && this.filesize === Number(this.filesize).toString() && (hAsync("mds-text", { key: 'e11d7800b706b534e93aacbc6d2c7d943e772275', class: "file-size", truncate: "word", typography: "caption", variant: "info" }, filesize(Number(this.filesize), { standard: 'jedec' }))), this.filesize && this.filesize !== Number(this.filesize).toString() && (hAsync("mds-text", { key: '6190d766cb15cf6d34446afeb7903da818bdf3c5', class: "file-size", truncate: "word", typography: "caption", variant: "info" }, this.filesize)), getSuffix(this.filename, this.suffix) && (hAsync("mds-badge", { key: 'ea11e936c57147b2f51f2057d55e8ba2cbe582d3', variant: getFormatsVariant(this.filename, this.suffix).variant, tone: "weak", class: "suffix", title: (_d = this.description) !== null && _d !== void 0 ? _d : this.t.get(this.getDefaultKeyDescription()) }, getSuffix(this.filename, this.suffix))), ((_e = this.filesize) !== null && _e !== void 0 ? _e : '') === '' && (hAsync("mds-text", { key: '728174520eed258ee35da25ef9dc172b5388dbbb', class: "description", truncate: "word", typography: "caption", variant: "info", title: (_f = this.description) !== null && _f !== void 0 ? _f : this.t.get(this.getDefaultKeyDescription()) }, (_g = this.description) !== null && _g !== void 0 ? _g : this.t.get(this.getDefaultKeyDescription())))))));
|
|
37275
37388
|
}
|
|
37276
37389
|
get host() { return getElement(this); }
|
|
37277
37390
|
static get watchers() { return {
|
|
@@ -37412,7 +37525,7 @@ class MdsFilter {
|
|
|
37412
37525
|
this.changedEvent.emit({ children: items, value: this.itemsValues() });
|
|
37413
37526
|
}
|
|
37414
37527
|
render() {
|
|
37415
|
-
return (hAsync(Host, { key: '
|
|
37528
|
+
return (hAsync(Host, { key: 'f7272fd66e4e5da125840b6ec74f6aeb2c854470', "aria-label": this.label, role: "menubar", "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, this.label && (hAsync("mds-text", { key: '5ada299850e7f46e357338b8762ffd14eaf91784', class: "label", typography: "label" }, this.label)), hAsync("div", { key: '97d2193549bfd6dc37d6182626d79452bb0fb76e', class: "items-wrapper" }, hAsync("div", { key: 'db941f2d23bc8685e03e76b80bedfbf6c2124e82', class: clsx('items', this.active && 'active') }, hAsync("slot", { key: '914d507af61d326a9d2bcc7030dc31efeb03e459' }), hAsync("div", { key: '31704b2f44a7f8ad330021ac111dac0e64f131fe', class: clsx('reset', this.active && 'reset--opened') }, hAsync("mds-filter-item", { key: 'c4dc236a8b1d8c7affb3870761cf6fe9c2e3a7bb', selected: this.active, disabled: !this.active && this.reset, class: clsx('reset-button', this.active && 'reset-button-opened'), icon: miBaselineClose, onClick: this.resetItems }))))));
|
|
37416
37529
|
}
|
|
37417
37530
|
get element() { return getElement(this); }
|
|
37418
37531
|
static get style() { return mdsFilterCss(); }
|
|
@@ -37454,7 +37567,7 @@ class MdsFilterItem {
|
|
|
37454
37567
|
}
|
|
37455
37568
|
render() {
|
|
37456
37569
|
var _a;
|
|
37457
|
-
return (hAsync(Host, { key: '
|
|
37570
|
+
return (hAsync(Host, { key: 'e0095f3607dde18236360b9ab24b32accb878740', tabindex: this.disabled ? '-1' : '0', role: "menuitem", "aria-label": (_a = this.label) !== null && _a !== void 0 ? _a : this.icon, onClick: this.toggle, "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, this.icon && hAsync("mds-icon", { key: 'abcf112630159a5a88cb710cd0597ae498722efb', "aria-hidden": "true", name: this.icon }), this.label && (hAsync("mds-text", { key: '28cf85c91d976fb605373f795d23608711788bdb', "aria-hidden": "true", variant: "info", typography: "caption" }, this.label)), this.count && (hAsync("div", { key: 'ac255ce9be868abd07f5d9164c4e38471928e911', class: "count" }, hAsync("mds-text", { key: 'ef720718aec411e2a8f08d5ba4af51f630402645', "aria-hidden": "true", variant: "info", typography: "option" }, this.count)))));
|
|
37458
37571
|
}
|
|
37459
37572
|
get element() { return getElement(this); }
|
|
37460
37573
|
static get style() { return mdsFilterItemCss(); }
|
|
@@ -37670,7 +37783,7 @@ class MdsHeader {
|
|
|
37670
37783
|
}
|
|
37671
37784
|
}
|
|
37672
37785
|
render() {
|
|
37673
|
-
return (hAsync(Host, { key: '
|
|
37786
|
+
return (hAsync(Host, { key: '49f28a5629b6a1ba884dfb31eaf8281b0da9905a', "pref-consumption": preferenceStore.state.consumption, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, !this.hideBackdrop && (hAsync("div", { key: '312289e3e63a0b6f148b20d81d60c27a8c8674ed', class: "backdrop" }, hAsync("div", { key: '43a8bfb091488a6329385892ab7292eafd7f35d4', class: "backdrop-blur-item" }), hAsync("div", { key: 'd0886fe257d4d37b0e2f44daf3f2ecbe7d05e34e', class: "backdrop-blur-item" }), hAsync("div", { key: '5852718eaef0df557501e6920e8e95951f5ed34f', class: "backdrop-blur-item" }), hAsync("div", { key: 'f3ed9d1ed3866d18ae85f18dbba52a4c2ecd0fc6', class: "backdrop-blur-item" }), hAsync("div", { key: '5bf4a0f3704b522aeec1331bb011bdb3150d6936', class: "backdrop-blur-item" }), hAsync("div", { key: 'a6bd3da2294c656f7652bfe80b15be7b1e7feef4', class: "backdrop-blur-item" }), hAsync("div", { key: '88e6473193ccf6e16c26787c7766e4e63dc16623', class: "backdrop-blur-item" }), hAsync("div", { key: '6df3c63302f395f4c9ee7d44159f5e5591ac49e1', class: "backdrop-blur-item" }), hAsync("div", { key: '68927f94100b0c4018a974b2066733bf01865175', class: "backdrop-blur-item" }), hAsync("div", { key: '0f8650234e62902ee7e2798409d963f3a3046c32', class: "backdrop-blur-item" }))), hAsync("slot", { key: 'a4e3724bf13c9d5e1aa71148cc1dc57ee5b3a8a9' }), this.hasMenu && (hAsync("div", { key: '2ec630982983b7128d884cb441ef19d4e82ebad7', class: "menu", part: "menu" }, hAsync("mds-modal", { key: '14a50429601f18aa9608fbea79cf6c47390f1859', class: "modal", opened: this.isOpened, onMdsModalClose: this.close, position: "right" }, hAsync("slot", { key: '6dbffc0f91d2701baa08b1a3b77d6a9e4924611e', name: "menu" }))))));
|
|
37674
37787
|
}
|
|
37675
37788
|
get host() { return getElement(this); }
|
|
37676
37789
|
static get watchers() { return {
|
|
@@ -37754,7 +37867,7 @@ class MdsHeaderBar {
|
|
|
37754
37867
|
this.isOpened = isOpened;
|
|
37755
37868
|
}
|
|
37756
37869
|
render() {
|
|
37757
|
-
return (hAsync(Host, { key: '
|
|
37870
|
+
return (hAsync(Host, { key: '5ab62e4340b87f9ef4a8c8eeb90a002ec7a7a6f2', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("div", { key: '45ef11874d9836bcdf57767daf77a5547dcb04bd', class: "content", part: "content" }, hAsync("div", { key: '6fe2e58eddac17d5eec6c20b194e442cfc0193af', class: "logo" }, hAsync("slot", { key: '573994ad3d8585dcda59336ff50f26f1c8fc83ca' })), hAsync("div", { key: 'd24c19e82922d7ca9bd5066f1a43d50a55c097dc', class: "actions", part: "actions" }, hAsync("nav", { key: '65c3634aaff95f91b29264b2e2849fc5497ae6e8', class: clsx('nav', !this.hasNav && 'nav--hidden'), part: "nav" }, hAsync("slot", { key: 'bb57216f622403bd0f10440c7168a8cd39643da2', name: "nav", onSlotchange: this.onNavSlotChange })), this.menu !== 'none' && (hAsync("mds-button", { key: 'df0b387e2a4dd179a4ee1ea586bcc497d39802dc', class: "menu", variant: "dark", tone: "text", icon: miRoundMenu, onClick: this.open, part: "hamburger" }))))));
|
|
37758
37871
|
}
|
|
37759
37872
|
get host() { return getElement(this); }
|
|
37760
37873
|
static get style() { return mdsHeaderBarCss(); }
|
|
@@ -37795,7 +37908,7 @@ class MdsHelp {
|
|
|
37795
37908
|
}
|
|
37796
37909
|
render() {
|
|
37797
37910
|
var _a;
|
|
37798
|
-
return (hAsync(Host, { key: '
|
|
37911
|
+
return (hAsync(Host, { key: '47be4f8d32a0473642832d4c1ba4ab42c591fac6' }, hAsync("mds-icon", { key: 'a2e84a0ce5069c42464b309a371eb2053ee8123c', class: "icon", name: (_a = this.icon) !== null && _a !== void 0 ? _a : miOutlineHelp, part: "icon" }), hAsync("mds-tooltip", { key: 'a62d5a65bf6becb25c420ec3fd8cfa2266141f18', placement: this.placement, disableAutoPlacement: this.disableAutoPlacement, strategy: "absolute", target: ".icon" }, hAsync("slot", { key: '1b8ab6df32ba2ef3a69ef6bf28973d9da5d2b9ce' }))));
|
|
37799
37912
|
}
|
|
37800
37913
|
static get style() { return mdsHelpCss(); }
|
|
37801
37914
|
static get cmpMeta() { return {
|
|
@@ -38020,7 +38133,7 @@ class MdsHorizontalScroll {
|
|
|
38020
38133
|
this.contents.removeEventListener('scroll', this.translateNavigationDot);
|
|
38021
38134
|
}
|
|
38022
38135
|
render() {
|
|
38023
|
-
return (hAsync(Host, { key: '
|
|
38136
|
+
return (hAsync(Host, { key: 'caa1dd792f58816dd8c146e0e0d922f31f580f44' }, hAsync("div", { key: '10014a42e23606f5032411defcae22b3afda99dd', class: "contents", part: "content" }, hAsync("div", { key: 'ae6b5a71bbec1ba04dbb36299e24fd402360ae2d', class: "spacer" }), hAsync("slot", { key: '3d0267992f33e4a550596320139e41b99150939a', onSlotchange: this.updateElements }), hAsync("div", { key: 'f28b6c3eac536834987dfd17e1d34c827714dcc2', class: "spacer" })), hAsync("div", { key: '419441c61f6a1664b4cdbff1fc3c25987afbf573', class: "dot-navigation" }, hAsync("div", { key: '6f48a726a3b7ad24b298c201f8027cee2f0ce34f', class: "dot" })), this.controls && this.controls !== 'none' && (hAsync("mds-button", { key: '4a919ee1739a29b3235fd810d1d6aa7fef1dcd7a', onClick: this.moveBack, size: "lg", class: clsx('navigation navigation--back', !this.showBack && 'navigation--disabled'), icon: miBaselineArrowBack })), this.controls && this.controls !== 'none' && (hAsync("mds-button", { key: '38bc0e527a7b6b435bb369e4ae404abab8b11c12', onClick: this.moveForward, size: "lg", class: clsx('navigation navigation--forward', !this.showForward && 'navigation--disabled'), icon: miBaselineArrowForward }))));
|
|
38024
38137
|
}
|
|
38025
38138
|
get host() { return getElement(this); }
|
|
38026
38139
|
static get watchers() { return {
|
|
@@ -38053,7 +38166,7 @@ class MdsHr {
|
|
|
38053
38166
|
registerInstance(this, hostRef);
|
|
38054
38167
|
}
|
|
38055
38168
|
render() {
|
|
38056
|
-
return (hAsync(Host, { key: '
|
|
38169
|
+
return (hAsync(Host, { key: '24837c75a65334f2219553e2f170001469da4e5a', "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }));
|
|
38057
38170
|
}
|
|
38058
38171
|
static get style() { return mdsHrCss(); }
|
|
38059
38172
|
static get cmpMeta() { return {
|
|
@@ -38443,7 +38556,7 @@ class MdsIcon {
|
|
|
38443
38556
|
}
|
|
38444
38557
|
}
|
|
38445
38558
|
render() {
|
|
38446
|
-
return (hAsync(Host, { key: '
|
|
38559
|
+
return (hAsync(Host, { key: '2a77f179b2600ca971f3a9911665fd3293059520' }, this.svgHTML && hAsync("i", { key: '7fc8525343e0f1c40e36f994cee12e5e8cba93ea', "aria-hidden": "true", class: "icon", part: "svg", innerHTML: this.svgHTML })));
|
|
38447
38560
|
}
|
|
38448
38561
|
get hostElement() { return getElement(this); }
|
|
38449
38562
|
static get watchers() { return {
|
|
@@ -39723,9 +39836,9 @@ class MdsInput {
|
|
|
39723
39836
|
}
|
|
39724
39837
|
render() {
|
|
39725
39838
|
var _a, _b, _c;
|
|
39726
|
-
return (hAsync(Host, { key: '
|
|
39839
|
+
return (hAsync(Host, { key: 'e98dfd4911f9049d49f6bb2cbcc854d83f7bcc2e', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, this.type === 'number' && this.controlsLayout === 'horizontal' && (hAsync("mds-button", { key: '8aa4d89a26efecca98c6218df9fd3f2e4aebfaab', class: "counter-button counter-button--horizontal counter-button--decrease", icon: this.controlsIcon === 'arrow' ? miBaselineKeyboardArrowDown : miBaselineRemove, disabled: !this.canEdit(), onClick: this.stepDown, tabindex: "0", title: this.t.get('decrease'), variant: "dark", tone: "text", part: "counter-button-decrease" })), this.type === 'textarea' ? (hAsync("textarea", { "aria-label": this.accessibleName, class: clsx('input', ((_a = this.icon) !== null && _a !== void 0 ? _a : this.await) && 'has-icon', this.mic && 'has-right-icon'), autoFocus: this.autofocus, disabled: this.isDisabled(), maxLength: this.maxlength, minLength: this.minlength, name: this.name, onBlur: this.onBlur, onFocus: this.onFocus, onInput: this.onInput, onKeyDown: this.onKeyDown, part: "field", placeholder: this.placeholder, readOnly: this.readonly, ref: (input) => (this.nativeInput = input), required: this.required, tabIndex: this.tabindex, value: this.value })) : (hAsync("input", { "aria-label": this.accessibleName, class: clsx('input', ((_b = this.icon) !== null && _b !== void 0 ? _b : this.await) && 'has-icon', this.mic && 'has-right-icon'), autoComplete: this.autocomplete, autoFocus: this.autofocus, disabled: this.isDisabled(), max: this.max, maxLength: this.maxlength, min: this.min, minLength: this.minlength, name: this.name, onBlur: this.onBlur, onFocus: this.onFocus, onInput: this.onInput, onKeyDown: this.onKeyDown, pattern: this.pattern, list: this.datalistId, part: "field", placeholder: this.placeholder, readOnly: this.readonly, ref: (input) => (this.nativeInput = input), required: this.required, step: this.step, tabIndex: this.tabindex, type: this.type === 'password' && this.isPasswordVisible ? 'text' : this.type, value: this.value })), this.type === 'number' && this.controlsLayout === 'vertical' && (hAsync("div", { key: 'ea18b72e539be1a3999cf021646ae1977b6905d0', class: "counter counter--vertical" }, hAsync("mds-button", { key: 'be0db9bc9f9d673ba7e59842949069f86f9b2a1f', class: "counter-button", icon: this.controlsIcon === 'arrow' ? miBaselineKeyboardArrowUp : miBaselineAdd, disabled: !this.canEdit(), onClick: this.stepUp, tabindex: "0", title: this.t.get('increase'), variant: "dark", size: "sm", tone: "text", part: "counter-button-increase" }), hAsync("mds-button", { key: '0f2addcae6099723b48d445fa86466af27a18438', class: "counter-button", icon: this.controlsIcon === 'arrow' ? miBaselineKeyboardArrowDown : miBaselineRemove, disabled: !this.canEdit(), onClick: this.stepDown, tabindex: "0", title: this.t.get('decrease'), variant: "dark", size: "sm", tone: "text", part: "counter-button-decrease" }))), this.type === 'number' && this.controlsLayout === 'horizontal' && (hAsync("mds-button", { key: 'f0220f216f7fdfde34069bccc87d88daae4427f8', class: "counter-button counter-button--horizontal counter-button--increase", variant: "dark", tone: "text", icon: this.controlsIcon === 'arrow' ? miBaselineKeyboardArrowUp : miBaselineAdd, disabled: !this.canEdit(), onClick: this.stepUp, tabindex: "0", title: this.t.get('increase'), part: "counter-button-increase" })), this.type === 'password' && (hAsync("mds-button", { key: '1fdde24093d50873386726672a73fbc9e635290a', class: "password-toggle-button", variant: "dark", tone: "text", icon: this.isPasswordVisible ? miBaselineVisibleOff : miBaselineVisible, disabled: this.isDisabled(), onClick: this.handlePasswordToggleClick, tabindex: "0", title: this.isPasswordVisible ? this.t.get('hidePassword') : this.t.get('showPassword'), part: "password-toggle-button" })), this.type === 'password' && !this.isPasswordVisible && ((_c = this.value) === null || _c === void 0 ? void 0 : _c.length) > 0 && (hAsync("div", { key: '350eae292f70f47749102cfc22eb43bee44b84d3', class: "password-mask" }, hAsync("div", { key: '11520490050edd2e0ef20f2c93b616b07a736638', class: "password-mask-items", part: "password-mask-items" }, Array.from({ length: this.value.length }).map((_, index) => (hAsync("div", { key: index, class: "password-mask-item", part: "password-mask-item" })))))), this.mic && (hAsync("mds-button", { key: '288dec6380c3804d378e92b30f4290887eb38caa', class: clsx('mic-toggle-button', this.isRecording && 'mic-toggle-button--recording'), icon: this.speechToTextIcon, disabled: !this.canEdit(), onClick: this.toggleTextRecognition, tabindex: "0", title: this.t.get(this.speechToTextLabelKey), variant: "dark", tone: "text", part: "mic-toggle-button" })), hAsync("mds-input-tip", { key: 'bdb119be3d5cdb758d99d63a5dfba1b2658b9545', position: "top", active: this.hasFocus, part: "tip-top" }, this.isDisabled() && (hAsync("mds-input-tip-item", { key: '526ef86e195dfaa581363f4990fcaff881dd429d', expanded: true, variant: "disabled" })), this.readonly && hAsync("mds-input-tip-item", { key: '6d7e2a71f19619c2bb1f40f7d63c7e4f708d2de4', expanded: true, variant: "readonly" }), this.required && (hAsync("mds-input-tip-item", { key: '3cdc383bf5b268b0ec56398f3ee31297ecb5d269', expanded: this.hasFocus, variant: this.isValid ? 'required-success' : 'required' }))), hAsync("mds-input-tip", { key: 'b392c1a2cfdc1c6e1ee89b411947c33eab59966b', position: "bottom", active: this.hasFocus, part: "tip-bottom" }, this.tip && (hAsync("mds-input-tip-item", { key: '0e226662f231385374584108bc697b2e3ed1c966', expanded: true, variant: "text" }, this.tip)), this.maxlength && (hAsync("mds-input-tip-item", { key: 'da1f2b47314195e49f1eafb7ece178bee9a7e6ea', part: "tip-count", expanded: true, variant: this.countVariant }, this.currentLengthLabel))), this.datalist && (hAsync("datalist", { key: '8e9c0db9f8fbc793837c8303fb341ac6b4c25329', id: this.datalistId, class: "datalist" }, this.datalist.map((element, i) => {
|
|
39727
39840
|
return hAsync("option", { key: i, value: element });
|
|
39728
|
-
}))), this.icon && !this.await && (hAsync("mds-icon", { key: '
|
|
39841
|
+
}))), this.icon && !this.await && (hAsync("mds-icon", { key: '99288349ffca9f7a7ceb586636dd2ad5be8c8363', class: clsx('icon', this.variant), name: this.icon })), hAsync("mds-spinner", { key: 'cd35aa63243adb128254d7b4a488f63d9ab4bac5', running: this.await, class: clsx('await', this.variant) })));
|
|
39729
39842
|
}
|
|
39730
39843
|
static get formAssociated() { return true; }
|
|
39731
39844
|
get el() { return getElement(this); }
|
|
@@ -40065,9 +40178,9 @@ class MdsInputDate {
|
|
|
40065
40178
|
this.validateValue();
|
|
40066
40179
|
}
|
|
40067
40180
|
render() {
|
|
40068
|
-
return (hAsync(Host, { key: '
|
|
40181
|
+
return (hAsync(Host, { key: '13e487563964002ae6ee19e0f9629f8fb79072fb', empty: this.empty, "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("input", { key: '429990cdcb5a89e235593a865031dc215b563d33', "aria-label": this.accessibleName, value: this.value, id: "dateInput", class: "input", part: "input-date", type: "date", disabled: this.isDisabled(), name: this.name, readOnly: this.readonly, onBlur: this.onBlur, onFocus: this.onFocus, onInput: this.handleChange, onChange: this.handleChange }), !this.isSlotted && (hAsync("div", { key: 'a8a8541a35bd617419f01414924bf6124085ea7a', class: "action-open-calendar-wrapper" }, hAsync("mds-button", { key: '015006dc305b61b5e81e71527fb04581e51e6968', id: "calendar-dropdown", class: "action-open-calendar",
|
|
40069
40182
|
// a read-only date cannot change, from the calendar either
|
|
40070
|
-
disabled: this.isDisabled() || this.readonly, variant: "dark", tone: "text", icon: miBaselineCalendarToday, onClick: this.handleOpenCalendarClick }))), hAsync("mds-input-tip", { key: '
|
|
40183
|
+
disabled: this.isDisabled() || this.readonly, variant: "dark", tone: "text", icon: miBaselineCalendarToday, onClick: this.handleOpenCalendarClick }))), hAsync("mds-input-tip", { key: '76f13d1e3879d81d1845cad5e600dd5d2e77e96d', position: "top", active: this.hasFocus }, this.isDisabled() && (hAsync("mds-input-tip-item", { key: '594fbd6019219838a16a8b9eed6b21363a0359ed', expanded: true, variant: "disabled" })), this.readonly && hAsync("mds-input-tip-item", { key: '52ee7ba2815321e60b1157c79b7daea2710693e9', expanded: true, variant: "readonly" }), this.required && (hAsync("mds-input-tip-item", { key: '59456d7e37af91c8ca628125e37e2f840e68b27b', expanded: this.hasFocus, variant: this.isValid ? 'required-success' : 'required' }))), !this.isSlotted && (hAsync("mds-dropdown", { key: 'a6d248f985d7c286c6dd8cbdaf31afbac4fa4e10', placement: "bottom-end", "disable-auto-placement": true, ref: (el) => (this.dropdownRef = el), role: "group", target: "#calendar-dropdown" }, hAsync("mds-calendar", Object.assign({ key: this.calendarKey, singlePicker: true, hideToday: this.hideToday, onMdsCalendarChange: this.handleCalendarChange, startDate: this.value }, (this.min !== null && this.min !== '' ? { min: this.min } : {}), (this.max !== null && this.max !== '' ? { max: this.max } : {})))))));
|
|
40071
40184
|
}
|
|
40072
40185
|
static get formAssociated() { return true; }
|
|
40073
40186
|
get host() { return getElement(this); }
|
|
@@ -40769,7 +40882,7 @@ class MdsInputDateRangePreselection {
|
|
|
40769
40882
|
};
|
|
40770
40883
|
}
|
|
40771
40884
|
render() {
|
|
40772
|
-
return (hAsync(Host, { key: '
|
|
40885
|
+
return (hAsync(Host, { key: 'da6b1c6e85b790664bbeb428825cfd715c4ebf91', slot: "calendar-preselection" }, hAsync("mds-button", { key: '5f56cd47f2dad2aff8bf72c9938df24ec98124db', onClick: this.onClick, class: "action", variant: "primary", tone: "strong" }, hAsync("slot", { key: '82106ab98d3e942a4bb786b6d7f4e0762c43f286' }))));
|
|
40773
40886
|
}
|
|
40774
40887
|
get host() { return getElement(this); }
|
|
40775
40888
|
static get style() { return mdsInputDateRangePreselectionCss(); }
|
|
@@ -40856,7 +40969,7 @@ class MdsInputField {
|
|
|
40856
40969
|
}
|
|
40857
40970
|
render() {
|
|
40858
40971
|
var _a;
|
|
40859
|
-
return (hAsync(Host, { key: '
|
|
40972
|
+
return (hAsync(Host, { key: '632203a1cff0f34e720f49d4675c78839e91af6d' }, hAsync("mds-text", { key: '30860478ead5e3864927400a5d1a87446668badb', class: "label", typography: "label" }, this.label), hAsync("div", { key: '5bebb90ae68ec9cc03279626192a1c37e07faa8d', class: "message-window" }, hAsync("div", { key: '2099540b05c94169777a2793b03dd1420e210b18', class: "content", part: "content" }, hAsync("slot", { key: 'a732030c31e1faba9436244ef88f3884949a5c06', onSlotchange: this.nameSlottedControls, ref: (i) => (this.slotInput = i) })), hAsync("div", { key: 'bac1730d493bdef3cda8d5bb330370849680f187', class: "message" }, (_a = this.message) === null || _a === void 0 ? void 0 : _a.split(';').map((m, i) => (hAsync("mds-text", { typography: "caption", key: i }, m)))))));
|
|
40860
40973
|
}
|
|
40861
40974
|
static get formAssociated() { return true; }
|
|
40862
40975
|
get host() { return getElement(this); }
|
|
@@ -41035,7 +41148,7 @@ class MdsInputOtp {
|
|
|
41035
41148
|
setFormValue(this.internals, this.value);
|
|
41036
41149
|
}
|
|
41037
41150
|
render() {
|
|
41038
|
-
return (hAsync(Host, { key: '
|
|
41151
|
+
return (hAsync(Host, { key: 'a092071d96dde4767e7c9422b06242de7e244b8c' }, Array.from({ length: this.length }).map((_, index) => {
|
|
41039
41152
|
var _a;
|
|
41040
41153
|
return (hAsync("mds-input", { "aria-label": this.digitName(index), class: "input", disabled: this.isDisabled(), maxlength: 1, onKeyDown: this.handleKeyDown, onPaste: this.handlePaste, value: (_a = this.digits[index]) !== null && _a !== void 0 ? _a : '' }));
|
|
41041
41154
|
})));
|
|
@@ -41188,7 +41301,7 @@ class MdsInputRange {
|
|
|
41188
41301
|
}
|
|
41189
41302
|
render() {
|
|
41190
41303
|
var _a;
|
|
41191
|
-
return (hAsync(Host, { key: '
|
|
41304
|
+
return (hAsync(Host, { key: '7588d9e5f1f0657ae63ba23cad5d3d8faee3ff17', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("header", { key: 'fbd890516bc521d3dc46c63ad98ee981a08cc459', class: "header", part: "header" }, hAsync("mds-text", { key: '361e2b3f13dfc017e873865853ef77ef47332434', class: "label", typography: "label" }, hAsync("slot", { key: '95335d7a71e2674d95e850fa9a45074e060daff4' })), hAsync("mds-text", { key: '6897c798d09be9f92b1295eb67177ef1bd30f98c', class: "value", typography: "label" }, this.formatValue ? this.formatValue(this.value) : this.value)), hAsync("div", { key: '47550ba3617f33dafcf2547ad57ecedf11cffc6b', class: "range" }, hAsync("div", { key: 'bf3c5e9a8f4b15a8c6e545670e628952fcd19393', class: "track", part: "track" }, hAsync("div", { key: '95626574ed8adb96f06a8a321a68a2e6bbe37401', class: "contrast-area" }), hAsync("div", { key: '6e15a6d2c583415382af4eec1e142e22698c8079', class: "track-total" }, hAsync("div", { key: 'ea257f325270545f8f76bb6b911dfe17a5f2efd7', class: "track-progress", style: { '--mds-input-range-progress': `${(_a = this.progress) !== null && _a !== void 0 ? _a : 0}` } }))), hAsync("input", { key: '7302c7d6348c7844c90804676c29236082204e87', ref: (el) => (this.inputElement = el), class: "field", "aria-label": this.label, disabled: this.isDisabled(), max: this.max, min: this.min, onInput: this.onInput, step: this.step, type: "range", value: this.value, name: this.name }))));
|
|
41192
41305
|
}
|
|
41193
41306
|
static get formAssociated() { return true; }
|
|
41194
41307
|
get element() { return getElement(this); }
|
|
@@ -41525,12 +41638,12 @@ class MdsInputSelect {
|
|
|
41525
41638
|
}
|
|
41526
41639
|
render() {
|
|
41527
41640
|
var _a;
|
|
41528
|
-
return (hAsync(Host, { key: '
|
|
41641
|
+
return (hAsync(Host, { key: '39445a71195494b40c2bb5b5f258cb182c1ae4df', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("select", { key: '9795f23fd09ff9bfbfbf89860c6cf2928517802d', "aria-label": this.accessibleName, class: "input", onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, name: this.name, required: this.required, disabled: this.isDisabled(), multiple: this.multiple, size: this.size, part: "select", ref: (el) => (this.selectEl = el) }, hAsync("option", { key: 'b7bdd1b3771c0c49c7025e82db337bf3459f15e7', class: "placeholder-option", value: "", disabled: !this.required ? undefined : true, selected: this.defaultValue != null &&
|
|
41529
41642
|
this.defaultValue !== '' &&
|
|
41530
41643
|
this.defaultValue !== 0 &&
|
|
41531
41644
|
!Number.isNaN(this.defaultValue)
|
|
41532
41645
|
? undefined
|
|
41533
|
-
: true }, this.placeholder)), hAsync("div", { key: '
|
|
41646
|
+
: true }, this.placeholder)), hAsync("div", { key: '5d8e87d30a3a2a409553285c58cae328aa2a50bc', class: "icon-container" }, hAsync("mds-icon", { key: '9725203039482f2bcfd766c5ccd03ed728dd14a4', class: "icon", name: miBaselineKeyboardArrowDown })), hAsync("div", { key: '1c5c276419b32919b2c131141fdf5ba74c3da4fe', class: "option-container" }, hAsync("slot", { key: '3b3558926175375fae01276ee7f8a317a61c2d77', onSlotchange: this.onSlotChangeHandler })), hAsync("mds-input-tip", { key: '039569e0ca1ab6622da2d162483ea51e8dad4d2b', position: "top", active: this.hasFocus, part: "tip-top" }, this.isDisabled() && (hAsync("mds-input-tip-item", { key: 'bb6e2430bc3613deaa3143dd5d30213d199b2e3f', expanded: true, variant: "disabled" })), this.required && (hAsync("mds-input-tip-item", { key: '4304f852a0a35478c1149095d1b18dd45dc968f6', expanded: this.hasFocus, variant: ((_a = this.value) !== null && _a !== void 0 ? _a : '') === '' ? 'required' : 'required-success' })))));
|
|
41534
41647
|
}
|
|
41535
41648
|
static get formAssociated() { return true; }
|
|
41536
41649
|
get host() { return getElement(this); }
|
|
@@ -41797,7 +41910,7 @@ class MdsInputSwitch {
|
|
|
41797
41910
|
var _a;
|
|
41798
41911
|
const { iconChecked, iconUnchecked, iconIndeterminate } = inputSwitchIconVariant[this.type];
|
|
41799
41912
|
const iconCheckedUser = this.icon !== '' ? this.icon : iconChecked;
|
|
41800
|
-
return (hAsync(Host, { key: '
|
|
41913
|
+
return (hAsync(Host, { key: '8cbff5043c78dfd9a21309b2d8201dba68cfd32e', onClick: this.handleDirty, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("input", { key: 'bc4f3770e7434421018e76cc996a59cd4f1da798', "aria-label": this.t.get(this.checked ? 'unselect' : 'select', { label: this.label }), autoFocus: this.autofocus, checked: this.checked, class: "field", disabled: this.isDisabled(), id: "field", indeterminate: this.indeterminate, name: this.name, onChange: this.handleInputOnChange, role: this.type === 'switch' ? 'switch' : undefined, type: this.type === 'switch' ? 'checkbox' : this.type, value: (_a = this.value) !== null && _a !== void 0 ? _a : undefined }), this.type === 'switch' ? (hAsync("label", { htmlFor: "field", class: clsx('switch-container', this.dirty !== false && 'dirty') }, hAsync("div", { class: "switch" }, hAsync("div", { class: "switch-toggle" }, this.explicit && (hAsync("mds-icon", { class: "icon-explicit", name: this.checked ? miBaselineChecked : miBaselineRemove })))))) : (hAsync("label", { htmlFor: "field", class: "label-icon" }, hAsync("mds-text", { class: "icon-typography-unchecked", tag: "div", typography: this.typography, variant: this.variant }, hAsync("mds-icon", { class: "icon-unchecked", name: clsx(this.indeterminate ? iconIndeterminate : iconUnchecked) })), this.checked && (hAsync("mds-text", { class: "icon-typography-checked", tag: "div", typography: this.typography, variant: this.variant }, hAsync("mds-icon", { class: "icon-checked", name: clsx(this.indeterminate ? iconIndeterminate : iconCheckedUser) }))))), hAsync("label", { key: 'd081522893af8884966d1262c10c5035f95c5482', htmlFor: "field", class: clsx('label-text', !this.hasText && 'label-text--empty') }, hAsync("mds-text", { key: '687317f8e20908718ec6ff5be4ea02c4c0b8a5e0', tag: "p", typography: this.typography, variant: this.variant }, hAsync("slot", { key: 'd6a57f0c2d15b0116e6d61755ae926a3ad2186e7' })))));
|
|
41801
41914
|
}
|
|
41802
41915
|
static get formAssociated() { return true; }
|
|
41803
41916
|
get host() { return getElement(this); }
|
|
@@ -41860,7 +41973,7 @@ class MdsInputTip {
|
|
|
41860
41973
|
this.position = 'top';
|
|
41861
41974
|
}
|
|
41862
41975
|
render() {
|
|
41863
|
-
return (hAsync(Host, { key: '
|
|
41976
|
+
return (hAsync(Host, { key: '0e4fddfdc8dbb7f8a649d03de0f5402368572e76', "pref-animation": preferenceStore.state.animation }, hAsync("slot", { key: 'e7095557c8965c623d04dfe4bfce52b155b72106' })));
|
|
41864
41977
|
}
|
|
41865
41978
|
static get style() { return mdsInputTipCss(); }
|
|
41866
41979
|
static get cmpMeta() { return {
|
|
@@ -41937,11 +42050,11 @@ class MdsInputTipItem {
|
|
|
41937
42050
|
}
|
|
41938
42051
|
}
|
|
41939
42052
|
render() {
|
|
41940
|
-
return (hAsync(Host, { key: '
|
|
42053
|
+
return (hAsync(Host, { key: '54a901f320e022d0939000c7a2f63cd48a1289f9', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast }, hAsync("div", { key: '7b3f24cef9fd616b4c6010327d6aaf29f9bed64a', class: "content" }, this.variant === 'text' && (hAsync("mds-text", { key: '7c759464c8f51381b6e79fc17adc240c0bd26aee', typography: "option", truncate: "word" }, hAsync("span", { key: '86b063b536793f3e94f6b5587938cac6c95c2723', class: "text" }, hAsync("slot", { key: 'ed7b39dec49b55a656c4d20f3eda076e3051b88f' })))), this.variant === 'readonly' && (hAsync("mds-text", { key: 'b82960abfea10bb1e37d291b0ccc9fefaa6f73ea', typography: "option", truncate: "word" }, hAsync("span", { key: '23b8d435a02b9a9fd618883d275da655408dd4f5', class: "text" }, this.variant && this.t.get(this.variant.toString())))), this.variant === 'disabled' && (hAsync("mds-text", { key: '54a2fde10d46178719a38666b1a6befa8c9269d1', typography: "option", truncate: "word" }, hAsync("span", { key: 'dead10a37f4ad0be7e2bfcc7bd1db49a3277a206', class: "text" }, this.variant && this.t.get(this.variant.toString())))), this.variant === 'required' && (hAsync("mds-text", { key: '59609354936a9f873c3d88dc3331d3ebd53933c9', typography: "option", truncate: "word" }, hAsync("span", { key: '0356a2e52cc4ebfca869dc616388e90d9d7a8c07', class: "text" }, this.variant && this.t.get(this.variant.toString())))), this.variant === 'required-success' && (hAsync("span", { key: 'dba13be0ce60e6e9b7568975decac42b8242d650', class: "icon", innerHTML: miBaselineDone })), (this.variant === 'count-almost' ||
|
|
41941
42054
|
this.variant === 'count-almost-full' ||
|
|
41942
42055
|
this.variant === 'count-empty' ||
|
|
41943
42056
|
this.variant === 'count-full' ||
|
|
41944
|
-
this.variant === 'count-incomplete') && (hAsync("mds-text", { key: '
|
|
42057
|
+
this.variant === 'count-incomplete') && (hAsync("mds-text", { key: '37175dd8e33b7728442e607e1cc34bec95d9a5da', typography: "option", truncate: "word" }, hAsync("span", { key: 'ec87f7274c462782708094261194f38e3223aaa4', class: "text" }, hAsync("slot", { key: '6620df269116f733039d95f1f4b71ac27b271982' })))))));
|
|
41945
42058
|
}
|
|
41946
42059
|
static get watchers() { return {
|
|
41947
42060
|
"expanded": [{
|
|
@@ -42658,18 +42771,18 @@ class MdsInputUpload {
|
|
|
42658
42771
|
}
|
|
42659
42772
|
render() {
|
|
42660
42773
|
var _a;
|
|
42661
|
-
return (hAsync(Host, { key: '
|
|
42774
|
+
return (hAsync(Host, { key: 'e4d3a3aab59e94bf029a3c36e0f824b4262edca5' }, hAsync("div", { key: '656382073323d4b3827b3fab35ffedac163cfcb2', class: clsx('drag-area', this.dragging && 'drag-area--on-drag-enter'), onDrop: this.onDropHandler, onDragOver: this.onDragOverHandler, onDragEnter: this.onDragEnterHandler, onDragLeave: this.onDragLeaveHandler }, hAsync("div", { key: '7772e259152e7e4a711fdc097c4cf7ee0dd2582d', class: "main-action" }, hAsync("div", { key: '65e4cd88396ae57aa6f4fd619841d1b7426ceb23', class: "main-action-icon" }, hAsync("mds-icon", { key: '11dcada9754bfb4b469997a6a654bd627a626643', class: "icon", name: miOutlineFileUpload })), hAsync("mds-text", { key: 'af5bf08faa2891351a48d114f95b0c58af2f229d', animation: this.animateText ? 'yugop' : 'none', variant: "title", typography: "action", text: this.dragging
|
|
42662
42775
|
? this.t.get('dragEnter')
|
|
42663
|
-
: this.t.get('clickOrDrag', { maxFiles: this.maxFiles }) })), hAsync("div", { key: '
|
|
42776
|
+
: this.t.get('clickOrDrag', { maxFiles: this.maxFiles }) })), hAsync("div", { key: 'bf3ca87dff11738e3c120deb8ff81c314cfcf68e', class: "main-actions" }, hAsync("mds-button", { key: '9b63969161be650699480c7e63e39dbc7bab46eb', variant: "primary", disabled: this.isDisabled(), onClick: this.handleAddFileClick, label: this.files != null
|
|
42664
42777
|
? this.t.get('addFile', { maxFiles: this.maxFiles })
|
|
42665
|
-
: this.t.get('selectFile') }), this.files.length > 0 && (hAsync("mds-button", { key: '
|
|
42778
|
+
: this.t.get('selectFile') }), this.files.length > 0 && (hAsync("mds-button", { key: '04c4fa739edfac19d2d52dab7b6e62c699361c77', variant: "error", disabled: this.isDisabled(), onClick: this.onReset, label: this.t.get('cancel') }))), hAsync("div", { key: 'a4b02a6236e5aa55f70fbb5cc4fadae76f990f03', class: "main-infos" }, hAsync("mds-progress", { key: '10a82e174f63863d5787c82548e69b33b98f86dc', "aria-hidden": "true", class: "progress-bar", progress: this.progress }), this.files.length < 1 ? (hAsync("mds-text", { variant: "info", typography: "caption" }, this.t.get('maxFilesUpload', { maxFiles: this.maxFiles }))) : (hAsync("mds-text", { variant: "info", typography: "caption" }, ((_a = this.maxFiles) !== null && _a !== void 0 ? _a : 0) !== 0 && !Number.isNaN(this.maxFiles)
|
|
42666
42779
|
? this.t.get('currentFilesWithMax', {
|
|
42667
42780
|
currentFiles: this.files.length,
|
|
42668
42781
|
maxFiles: this.maxFiles,
|
|
42669
42782
|
})
|
|
42670
|
-
: this.t.get('currentFilesNoMax', { currentFiles: this.files.length }))))), hAsync("input", { key: '
|
|
42783
|
+
: this.t.get('currentFilesNoMax', { currentFiles: this.files.length }))))), hAsync("input", { key: 'c96003e307b7927902032824df5e03e3e2e0c06e', type: "file", accept: this.accept, disabled: this.isDisabled(), hidden: true, ref: (i) => (this.nativeInput = i), onChange: this.onInputChange, multiple: this.maxFiles > 1 }), hAsync("div", { key: 'bb5e01408704790d0a8fb10734ad939a5a50352a', class: "additional-infos" }, hAsync("div", { key: '48ba40aba47adc42c360606f6be54ba89f84c7af', class: clsx('file-specs', this.isSortTabShown() && 'file-specs-sort') }, hAsync("mds-text", { key: '6f4576e691f44a303c6bdb9bf56fcc76f9ac98b8', variant: "info", typography: "caption" }, this.extensions !== ''
|
|
42671
42784
|
? `${this.t.get('canUpload')} ${this.extensions}`
|
|
42672
|
-
: this.t.get('canUploadAll')), hAsync("mds-text", { key: '
|
|
42785
|
+
: this.t.get('canUploadAll')), hAsync("mds-text", { key: '146a76a2d488e86175583f37a780f17ccd2dccc6', variant: "info", typography: "caption" }, this.t.get('maxFileSizePerFile', { maxFileSize: this.maxFileSize }))), this.isSortTabShown() && (hAsync("mds-tab", { key: 'd2382cdee3beb1c2cf3518ec9dd68819a6bd8e0a', class: "action-sort", onMdsTabChange: this.handleTabChange }, hAsync("mds-tab-item", { key: 'a3d6db1181d42945b386ba069421fbd1c0ca5d0f', disabled: this.isDisabled(), icon: iconSortById, selected: this.activeSort === 'date', title: this.t.get('sortByDate'), value: "date" }), hAsync("mds-tab-item", { key: '2199791ccb2b9a2687c1674110455df093d31432', disabled: this.isDisabled(), icon: iconSortByStatus, selected: this.activeSort === 'status', title: this.t.get('sortByStatus'), value: "status" })))), hAsync("div", { key: '9c981084ab4a5d488f3f3cf7fbd38c8f13a8022c', class: clsx('file-list', this.files.length > this.cssMinCols && 'file-list--more-items') }, this.files.map((file) => {
|
|
42673
42786
|
switch (file.status) {
|
|
42674
42787
|
case Status.ERROR:
|
|
42675
42788
|
return (hAsync("mds-file-preview", { deletable: !this.isDisabled(), variant: "error", filename: file.file.name, filesize: file.file.size.toString(), onMdsFileDelete: this.handleFileDelete(file.key), message: this.t.get(file.errorKey) }));
|
|
@@ -43698,7 +43811,7 @@ class MdsKeyboard {
|
|
|
43698
43811
|
}
|
|
43699
43812
|
}
|
|
43700
43813
|
render() {
|
|
43701
|
-
return (hAsync(Host, { key: '
|
|
43814
|
+
return (hAsync(Host, { key: 'ae7e02d59c5073a394c024f0c48cfcafcd8824b6', "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("div", { key: '489ecda8c992192c5abeb96533bdd4c31ff4612c', class: "shortcuts" }, hAsync("slot", { key: 'b2216a214f02dd62ed5a7185f1ba73a835b4ab9a' })), this.try && (hAsync("mds-button", { key: '2a8d7cbaec7b2e3405e95bb9e236fd3b1c01f667', icon: this.getButtonIcon(), "aria-label": this.t.get('testKeyCombination'), class: "combination-checker", variant: "dark", tone: "text", onClick: this.startKeyboardShortcutTest })), this.try && (hAsync("mds-tooltip", { key: 'e781bc624be4e03211e5d56c4c9c91f7215236a5', target: ".combination-checker" }, this.testPassed === undefined && this.t.get('testKeyCombination'), this.testPassed === true && this.t.get('testPassed'), this.testPassed === false && (hAsync("div", { key: '845c90a36f63f7c180bfe738430bd282ed73d971', class: "errors" }, [...this.errors].map((error) => (hAsync("mds-text", { typography: "tip" }, this.t.get(error))))))))));
|
|
43702
43815
|
}
|
|
43703
43816
|
get host() { return getElement(this); }
|
|
43704
43817
|
static get watchers() { return {
|
|
@@ -44000,7 +44113,7 @@ class MdsKeyboardKey {
|
|
|
44000
44113
|
}
|
|
44001
44114
|
render() {
|
|
44002
44115
|
var _a, _b, _c, _d;
|
|
44003
|
-
return (hAsync(Host, { key: '
|
|
44116
|
+
return (hAsync(Host, { key: 'f46b31794208c55037687258d3b63d2d0137020e', title: this.getTitle() }, hAsync("div", { key: 'a6f963089abd301ceb06587651ae287bae1f1a21', class: "physical-key" }, this.name && icons.has(this.name) ? (hAsync("mds-icon", { name: (_a = icons.get(this.name)) !== null && _a !== void 0 ? _a : miBaselineBrokenImage, class: "shortcut-icon" })) : (hAsync("mds-text", { class: "shortcut-text", typography: "detail" }, this.name && hAsync("b", null, this.keyboardKeys[this.name].alias))), this.name && ((_b = this.keyboardKeys[this.name]) === null || _b === void 0 ? void 0 : _b.keyboardPosition) && (hAsync("mds-text", { key: '616b3394a2af2bc381d53d6ee1b3f6aa3e369e55', typography: "label" }, ((_c = this.keyboardKeys[this.name].keyboardPosition) === null || _c === void 0 ? void 0 : _c.left) && 'l', ((_d = this.keyboardKeys[this.name].keyboardPosition) === null || _d === void 0 ? void 0 : _d.right) && 'r')))));
|
|
44004
44117
|
}
|
|
44005
44118
|
static get style() { return mdsKeyboardKeyCss(); }
|
|
44006
44119
|
static get cmpMeta() { return {
|
|
@@ -44026,7 +44139,7 @@ class MdsKpi {
|
|
|
44026
44139
|
registerInstance(this, hostRef);
|
|
44027
44140
|
}
|
|
44028
44141
|
render() {
|
|
44029
|
-
return (hAsync(Host, { key: '
|
|
44142
|
+
return (hAsync(Host, { key: 'efc7c5f2d0b3edb52ea3d67df78cd460edf2c46c', role: "list" }, hAsync("slot", { key: 'ba0f918fc0fe6f3dbe848843bb9c12f071fb7883' })));
|
|
44030
44143
|
}
|
|
44031
44144
|
static get style() { return mdsKpiCss(); }
|
|
44032
44145
|
static get cmpMeta() { return {
|
|
@@ -44079,7 +44192,7 @@ class MdsKpiItem {
|
|
|
44079
44192
|
}
|
|
44080
44193
|
}
|
|
44081
44194
|
render() {
|
|
44082
|
-
return (hAsync(Host, { key: '
|
|
44195
|
+
return (hAsync(Host, { key: '133dc043784d33c6f3b48d9d1bfe020cdfe49d70', "aria-label": `${this.label}: ${this.description}`, role: "listitem", "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, this.icon && (hAsync("div", { key: '96dbfc8939fb79e8f26d4622bc9cfee741bb2499', class: "icon-container", part: "icon-container" }, hAsync("mds-icon", { key: 'fe3a86d295e91524fc095937a0cc6b4ee5ad0e33', class: "icon", name: this.icon, part: "icon" }))), hAsync("div", { key: '6bd3e3906ca404b0215b2210120ef1c10e2371b3', class: "info", part: "content", "aria-hidden": "true" }, this.label && this.threshold !== 0 && (hAsync("mds-text", { key: '3050e0c3cf188c9fb649b8412a9a8a07f8279079', class: "value", typography: "h2", text: this.isIntersecting ? this.label : this.reserveLine(this.label), animation: "yugop" })), this.label && this.threshold === 0 && (hAsync("mds-text", { key: 'f04a0e74191be6f558d38f1028e48bf2046b4521', class: "value", typography: "h2" }, this.label)), this.description && this.threshold !== 0 && (hAsync("mds-text", { key: 'b16b238da05724d9056bfa8c24c0e765a28f2b21', class: "description", typography: "label", text: this.isIntersecting ? this.description : this.reserveLine(this.description), animation: "yugop" })), this.description && this.threshold === 0 && (hAsync("mds-text", { key: 'bfb061f5aa8ab6b39a2509324b4674511878d3fd', class: "description", typography: "label" }, this.description)))));
|
|
44083
44196
|
}
|
|
44084
44197
|
get hostElement() { return getElement(this); }
|
|
44085
44198
|
static get style() { return mdsKpiItemCss(); }
|
|
@@ -44204,7 +44317,7 @@ class MdsList {
|
|
|
44204
44317
|
registerInstance(this, hostRef);
|
|
44205
44318
|
}
|
|
44206
44319
|
render() {
|
|
44207
|
-
return (hAsync(Host, { key: '
|
|
44320
|
+
return (hAsync(Host, { key: '98e0965a6f27061ee301b4f6ef10a2c4547ac14b', role: "list" }, hAsync("slot", { key: '01767929b805b2546266057a66ea8539589d6de6' })));
|
|
44208
44321
|
}
|
|
44209
44322
|
static get style() { return mdsListCss(); }
|
|
44210
44323
|
static get cmpMeta() { return {
|
|
@@ -44241,7 +44354,7 @@ class MdsListItem {
|
|
|
44241
44354
|
}
|
|
44242
44355
|
render() {
|
|
44243
44356
|
var _a;
|
|
44244
|
-
return (hAsync(Host, { key: '
|
|
44357
|
+
return (hAsync(Host, { key: '81d440b15e3f8e3532db3e68af2faf1ae1bd167e', role: "listitem", "pref-contrast": preferenceStore.state.contrast }, hAsync("mds-icon", { key: '37f337e2e64150d1a388718e1a230d1e5b5f17b5', "aria-hidden": "true", class: "icon", name: (_a = this.icon) !== null && _a !== void 0 ? _a : mggListDot, part: "icon" }), hAsync("mds-text", { key: '854751513d90907268c44cdcea37668ee3e5cacf', tag: "span", typography: this.typography, variant: this.variant, part: "text" }, hAsync("slot", { key: '50e49d34c2cafe64a555e0ab7f2579a7f885bccc' }))));
|
|
44245
44358
|
}
|
|
44246
44359
|
static get style() { return mdsListItemCss(); }
|
|
44247
44360
|
static get cmpMeta() { return {
|
|
@@ -44309,7 +44422,7 @@ class MdsMention {
|
|
|
44309
44422
|
render() {
|
|
44310
44423
|
var _a, _b, _c;
|
|
44311
44424
|
const icon = (_a = this.icon) !== null && _a !== void 0 ? _a : '';
|
|
44312
|
-
return (hAsync(Host, { key: '
|
|
44425
|
+
return (hAsync(Host, { key: '2812ae8c58c65fa79af8e7eeac085aa53dff3b98' }, hAsync("mds-icon", { key: 'a2d7cb277ce2885c272042e7c6a18e934ed09ceb', name: icon !== '' ? icon : miBaselineAlternateEmail }), hAsync("mds-text", { key: '5096d04c72aaf44f83deeb4fa25caace40b1aa3c', typography: this.sizeTypography[(_b = this.size) !== null && _b !== void 0 ? _b : 'md'] }, this.size === 'lg' ? this.label : hAsync("b", null, this.label)), this.deletable && (hAsync("mds-button", { key: '8241e5fdcf6c55924fc8e2cd932bf408e957317e', class: "action-remove", icon: miBaselineCancel, onClick: this.onDeleteHandler, size: "sm", title: `${this.t.get('remove')} ${(_c = this.label) !== null && _c !== void 0 ? _c : ''}`.trim(), tone: "text", variant: "dark" }))));
|
|
44313
44426
|
}
|
|
44314
44427
|
get host() { return getElement(this); }
|
|
44315
44428
|
static get style() { return mdsMentionCss(); }
|
|
@@ -44614,14 +44727,14 @@ class MdsModal {
|
|
|
44614
44727
|
this.opened = undefined;
|
|
44615
44728
|
}
|
|
44616
44729
|
render() {
|
|
44617
|
-
return (hAsync(Host, { key: '
|
|
44730
|
+
return (hAsync(Host, { key: '80dfb2b729228d988b8dc7ad887a363b14241904', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("dialog", { key: 'ae1943be37e5ce95e471cd818f5fbfebc3b74642', "aria-label": this.accessibleName, class: "dialog", part: "dialog", ref: (el) => (this.dialogEl = el), onClick: (e) => {
|
|
44618
44731
|
this.handleBackdropClick(e);
|
|
44619
44732
|
}, onCancel: (e) => {
|
|
44620
44733
|
this.handleCancel(e);
|
|
44621
|
-
} }, hAsync("slot", { key: '
|
|
44734
|
+
} }, hAsync("slot", { key: '20db008d701b039e8cc5eb0e12888d7dd28d9f79', name: "window", onSlotchange: this.updateSlots }), !this.hasWindow && (hAsync("div", { key: 'ec74762802359a4296ba9a910860f3321c120f8c', class: "window", part: "window" }, hAsync("div", { key: '7becbbe9d55dd7f2ad43d04a846d0b76261bb602', class: clsx('window-header', !this.hasTop && 'window-content--empty') }, hAsync("slot", { key: 'd493500242939acb006ebd3b4dde34170c5bf505', name: "top", onSlotchange: this.updateSlots })), hAsync("div", { key: '2d97e267cd3b126836ab4417361a7eb1a086591a', class: "window-content-wrapper" }, hAsync("div", { key: '417ea278a98822af957a4df0dd13a5133dbd21fc', class: "window-content", style: {
|
|
44622
44735
|
paddingTop: `${this.windowHeaderHeight}px`,
|
|
44623
44736
|
paddingBottom: `${this.windowFooterHeight}px`,
|
|
44624
|
-
} }, hAsync("slot", { key: '
|
|
44737
|
+
} }, hAsync("slot", { key: '5c03937fb8558b56f0a461169dc01a1ea35c32c1' }))), hAsync("div", { key: '308f987984a943b12c6e0e1380b8d21e65ee33c8', class: clsx('window-footer', !this.hasBottom && 'window-content--empty') }, hAsync("slot", { key: 'aa54ab5dbdda1338fb5913a269fb502838e064c6', name: "bottom", onSlotchange: this.updateSlots })))), !this.hasWindow && (hAsync("mds-button", { key: '77d5c743ab4212629c73b35062901bd815c4f0a4', class: "action-close", icon: miBaselineClose, variant: "light", tone: "text", size: "xl", onClick: () => {
|
|
44625
44738
|
this.opened = undefined;
|
|
44626
44739
|
}, part: "action-close" })))));
|
|
44627
44740
|
}
|
|
@@ -44724,7 +44837,7 @@ class MdsNote {
|
|
|
44724
44837
|
this.km.detachClickBehavior();
|
|
44725
44838
|
}
|
|
44726
44839
|
render() {
|
|
44727
|
-
return (hAsync(Host, { key: '
|
|
44840
|
+
return (hAsync(Host, { key: '5fa5dcf9100b06cb5b73409e52f996ea5e3ef522', role: "note", "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, this.deletable && (hAsync("mds-button", { key: '0398601f421b887269dd1154cfffcaae1d51f149', title: this.t.get('deleteLabel'), icon: miBaselineClose, class: "button-close", variant: "dark", tone: "text", onClick: this.onClickClose })), hAsync("slot", { key: 'ef58bae8f4ecad6a6ba60bc5ec2c46864a657f2a', name: "title" }), hAsync("slot", { key: 'd65c929ed8203511da2d165c5bd6458c6be47c53' }), hAsync("div", { key: '889894130a24414255bd4ca39d7a89662f520ef3', "aria-hidden": "true", class: "fold" })));
|
|
44728
44841
|
}
|
|
44729
44842
|
get host() { return getElement(this); }
|
|
44730
44843
|
static get style() { return mdsNoteCss(); }
|
|
@@ -44824,7 +44937,7 @@ class MdsNotification {
|
|
|
44824
44937
|
}
|
|
44825
44938
|
render() {
|
|
44826
44939
|
var _a;
|
|
44827
|
-
return (hAsync(Host, { key: '
|
|
44940
|
+
return (hAsync(Host, { key: '6f20481d7094ef6e9106748cc899e057279c7aee', "aria-labelledby": this.target, "aria-label": (_a = this.value) !== null && _a !== void 0 ? _a : '0', "pref-animation": preferenceStore.state.animation }, hAsync("mds-text", { key: 'a8483047d880b3520fb6b99952ad574f5326ee52', typography: "caption", class: "dot", "aria-hidden": "true" }, this.clean(this.value))));
|
|
44828
44941
|
}
|
|
44829
44942
|
get host() { return getElement(this); }
|
|
44830
44943
|
static get watchers() { return {
|
|
@@ -44944,7 +45057,7 @@ class MdsPaginator {
|
|
|
44944
45057
|
}, 10);
|
|
44945
45058
|
}
|
|
44946
45059
|
render() {
|
|
44947
|
-
return (hAsync(Host, { key: '
|
|
45060
|
+
return (hAsync(Host, { key: '216ea37a64f9f8e3c98c48f5f441f91bae352c4e', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("mds-paginator-item", { key: 'a4a6b8ffbce0dab57a70f3181be4b8445bf4d0f0', class: "item-icon", icon: miBaselineArrowBack, disabled: this.currentPage === 1, onClick: this.handlePrevClick }), this.pages > 0 && (hAsync("mds-paginator-item", { key: '80537156bc62910b7ef524c6e4fe594182504f27', class: "item-first", selected: this.currentPage === 1, onClick: this.handleFirstClick }, "1")), this.pages > 2 && (hAsync("div", { key: 'bdecf37cf7e02c976801b4700f1945cb221db1cf', class: "pages" }, Array.from(Array(this.pages - 2).keys()).map((i) => (hAsync("mds-paginator-item", { key: i, class: "item", selected: this.currentPage === i + 2, onClick: this.handlePageClick(i + 2), onFocus: this.handleItemFocus }, i + 2))))), this.pages > 1 && (hAsync("mds-paginator-item", { key: 'd7994b8ba5192445b7af2b3b16ae01b4f5d6025e', class: "item-last", selected: this.currentPage === this.pages, onClick: this.handleLastClick }, this.pages)), hAsync("mds-paginator-item", { key: '71a7b52e0c5e5e3ee2e31acef1a543b867100c6e', class: "item-icon", icon: miBaselineArrowForward, disabled: this.currentPage === this.pages, onClick: this.handleNextClick })));
|
|
44948
45061
|
}
|
|
44949
45062
|
get element() { return getElement(this); }
|
|
44950
45063
|
static get style() { return mdsPaginatorCss(); }
|
|
@@ -44986,7 +45099,7 @@ class MdsPaginatorItem {
|
|
|
44986
45099
|
this.km.detachClickBehavior();
|
|
44987
45100
|
}
|
|
44988
45101
|
render() {
|
|
44989
|
-
return (hAsync(Host, { key: '
|
|
45102
|
+
return (hAsync(Host, { key: '9171ce4c3fc2d7162cefada51171e23f47b795b8', tabindex: "0", "pref-animation": preferenceStore.state.animation, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, this.icon !== undefined ? (hAsync("mds-icon", { class: "icon", name: this.icon })) : (hAsync("mds-text", { class: "text", typography: "caption" }, hAsync("b", null, hAsync("slot", null))))));
|
|
44990
45103
|
}
|
|
44991
45104
|
get host() { return getElement(this); }
|
|
44992
45105
|
static get style() { return mdsPaginatorItemCss(); }
|
|
@@ -45134,7 +45247,7 @@ class MdsPolicyAi {
|
|
|
45134
45247
|
}
|
|
45135
45248
|
render() {
|
|
45136
45249
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
45137
|
-
return (hAsync(Host, { key: '
|
|
45250
|
+
return (hAsync(Host, { key: '72020f034e491a13a78386f734c3b63448ca6018' }, this.variant === 'icon' && (hAsync("mds-help", { key: '34c2fd6eecf613c295969d33630fb9e3b827485f', icon: mggAiChatbot, class: "icon-help", onClick: this.handleIconClick, part: "icon" }, hAsync("div", { key: '3d375fbf556e9f5e13645617d9acf237c2b867f5', class: "icon-tip-content" }, hAsync("mds-text", { key: 'a90e2850a7e4e167da89beefa61d54166beed8a4', typography: "tip" }, (_a = this.headline) !== null && _a !== void 0 ? _a : this.t.get('iconTooltip')), hAsync("mds-text", { key: 'd77e60e47786baa7cb798c0f7e635945edec7c87', typography: "tip" }, (_b = this.description) !== null && _b !== void 0 ? _b : this.t.get('iconLinkLabel'))))), this.variant === 'chip' && (hAsync("div", { key: '808f086bd1c1ac77779dd57711e75934cd6e0ad7', class: "chip-wrapper", part: "chip" }, hAsync("mds-chip", { key: '0c69d55d73c8332a4c0b776b144be037ee861c05', id: "chip", icon: mggAiChatbot, class: "chip", variant: "ai", label: (_c = this.headline) !== null && _c !== void 0 ? _c : this.t.get('chipLabel') }), hAsync("mds-dropdown", { key: '89e1a4de429ef32a45dd5354bf9dd232e30f1308', target: "#chip", class: "chip-dropdown", interaction: "mouseover", role: "group" }, hAsync("mds-text", { key: 'fee7a56a09660fdf0861f89579e9a10fbc1f0478', typography: "tip" }, (_d = this.description) !== null && _d !== void 0 ? _d : this.t.get('cardDescription')), hAsync("mds-button", { key: '19ee82e37362274544c7f420ba37792a858fc4bd', icon: miOutlinePolicy, href: this.href, variant: "ai", tone: "weak", size: "sm", label: this.t.get('linkLabel') })))), this.variant === 'card' && (hAsync("div", { key: '950bcd67aec93287533d677c39fa92ef3f4b0e03', class: "mini-card", part: "card" }, hAsync("mds-icon", { key: 'de765a8c68c1c5d0c0fe5e5567dd389fc0a7f172', name: mggAiChatbot, class: "mini-card-icon" }), hAsync("div", { key: '195903418c300ea8f9d4723b01f9f5edaa0d95db', class: "mini-card-content" }, hAsync("mds-text", { key: 'b7b3363c1af8a08709790fce2745807517e1895c', typography: "caption" }, (_e = this.description) !== null && _e !== void 0 ? _e : this.t.get('iconTooltip')), hAsync("mds-button", { key: 'f2783e8ca707db5e7e08be746f0043e882d1f8b1', class: "mini-card-button", icon: miOutlinePolicy, href: this.href, variant: "ai", tone: "weak", size: "sm" }, hAsync("span", { key: 'aab907da7460626798058e2e4c05448794046621', class: "link-label-long" }, this.t.get('linkLabel')), hAsync("span", { key: '7ad10636c18897d04d0754f2f232a411c5abfb35', class: "link-label-short" }, this.t.get('linkLabelShort')))))), this.variant === 'banner' && (hAsync("mds-banner", { key: '120740f29f04fd2336303dbcdd53a4149c24aaea', class: "banner", variant: "ai", tone: "weak", icon: mggAiChatbot, headline: (_f = this.headline) !== null && _f !== void 0 ? _f : this.t.get('bannerTitle'), part: "banner" }, hAsync("mds-text", { key: 'c4be5263b0b78b398990615c10a061b82b4d279d', typography: "caption" }, (_g = this.description) !== null && _g !== void 0 ? _g : this.t.get('bannerDescription')), hAsync("mds-button", { key: '06b2be6c135123aa4e1315ac906d0451d37acc45', icon: miOutlinePolicy, slot: "action", href: this.href, variant: "ai", tone: "weak", size: "sm" }, hAsync("span", { key: '8ed092557b5bcb501aaf15c538c09c934bd90a5c', class: "link-label-long" }, this.t.get('linkLabel')), hAsync("span", { key: 'b6263d54b95f393a3f806eea64750b168958bb1f', class: "link-label-short" }, this.t.get('linkLabelShort')))))));
|
|
45138
45251
|
}
|
|
45139
45252
|
static get style() { return mdsPolicyAiCss(); }
|
|
45140
45253
|
static get cmpMeta() { return {
|
|
@@ -45302,7 +45415,7 @@ class MdsPref {
|
|
|
45302
45415
|
this.removeThemeEvent(this.host.querySelector('mds-pref-theme'));
|
|
45303
45416
|
}
|
|
45304
45417
|
render() {
|
|
45305
|
-
return (hAsync(Host, { key: '
|
|
45418
|
+
return (hAsync(Host, { key: '56692bdb8729fd14f8f11bfe4b196d6ed912da6a' }, hAsync("slot", { key: '9ef17da6e606849b39902677a23b78d00178a344' }), this.showReload && (hAsync("div", { key: '5f453be2e5cd057fc51122b5c8ca5e00eef7ca54', class: "reload-required" }, hAsync("mds-text", { key: '4da7774a74d737f303702d36f087ed9c64561ccc', typography: "caption" }, this.t.get('reloadPageToSeeChanges'))))));
|
|
45306
45419
|
}
|
|
45307
45420
|
get host() { return getElement(this); }
|
|
45308
45421
|
static get watchers() { return {
|
|
@@ -45460,7 +45573,7 @@ class MdsPrefAnimation {
|
|
|
45460
45573
|
}
|
|
45461
45574
|
render() {
|
|
45462
45575
|
var _a;
|
|
45463
|
-
return (hAsync(Host, { key: '
|
|
45576
|
+
return (hAsync(Host, { key: 'c52dd6e021819ba4951c24f0a8a9b395613a5e98', "pref-contrast": preferenceStore.state.contrast }, hAsync("mds-text", { key: '316695a4da3a980088c47f2f6ecffc01720dfd2c', class: "info", typography: "caption" }, hAsync("b", { key: '4f1606877ad49c8fd039d6bd31db6397672ba413' }, this.t.get('label')), ' ', this.t.get(this.animation[(_a = this.mode) !== null && _a !== void 0 ? _a : this.defaultMode].label)), hAsync("mds-tab", { key: '9813c2a9ffee2dce37e50400e170d5f761b5bd12', fill: true, size: this.size }, hAsync("mds-tab-item", { key: '67aa02b86950f546d742d4cee0687d4ee84e3566', selected: this.mode === 'reduce', onClick: this.handleModeClick('reduce'), class: "item item--reduce", icon: miOutlineCircle, title: this.t.get(this.animation.reduce.label) }), hAsync("mds-tab-item", { key: '8c186e4cc7c392b9c3ecbd74f4aaf60a99a2bf17', selected: this.mode === 'system', onClick: this.handleModeClick('system'), class: "item item--system", icon: miBaselineSettings, title: this.t.get(this.animation.system.label) }), hAsync("mds-tab-item", { key: 'edf06c75cb165ecad69f0c980269ff94be84bb37', selected: this.mode === 'no-preference', onClick: this.handleModeClick('no-preference'), class: "item item--no-preference", icon: miBaselineAnimation, title: this.t.get(this.animation['no-preference'].label) }))));
|
|
45464
45577
|
}
|
|
45465
45578
|
static get watchers() { return {
|
|
45466
45579
|
"mode": [{
|
|
@@ -45625,7 +45738,7 @@ let MdsPrefContrast$1 = class MdsPrefContrast {
|
|
|
45625
45738
|
}
|
|
45626
45739
|
render() {
|
|
45627
45740
|
var _a;
|
|
45628
|
-
return (hAsync(Host, { key: '
|
|
45741
|
+
return (hAsync(Host, { key: '0ad40142c51e1498a7cb632f7a43b3d918f2e6af', "pref-contrast": preferenceStore.state.contrast }, hAsync("mds-text", { key: '9b5bd506c8bc10a38e9a075a23f0dc91bd9978c5', class: "info", typography: "caption" }, hAsync("b", { key: '9f2a4efbb5fcd9417d7f9f34c08be92749ebbe45' }, this.t.get('label')), ' ', this.t.get(this.consumption[(_a = this.mode) !== null && _a !== void 0 ? _a : this.defaultMode].label)), hAsync("mds-tab", { key: '8d57a54e2ec047d0e580e4413845769c595a6843', fill: true, size: this.size }, hAsync("mds-tab-item", { key: 'df426d3499441bbe4eb3f1d8ab46b2e6a660f407', selected: this.mode === 'low', onClick: this.handleModeClick('low'), class: "item item--low", icon: mggConsumptionLow, title: this.t.get(this.consumption.low.label) }), hAsync("mds-tab-item", { key: '54a0924fbb7a1e814f5771d514ef6aec1727b095', selected: this.mode === 'medium', onClick: this.handleModeClick('medium'), class: "item item--medium", icon: mggConsumptionMedium, title: this.t.get(this.consumption.medium.label) }), hAsync("mds-tab-item", { key: '7dce520e7dfdf8d2cc54930d73fa07a411621c82', selected: this.mode === 'high', onClick: this.handleModeClick('high'), class: "item item--high", icon: mggConsumptionHigh, title: this.t.get(this.consumption.high.label) }))));
|
|
45629
45742
|
}
|
|
45630
45743
|
static get watchers() { return {
|
|
45631
45744
|
"mode": [{
|
|
@@ -45799,7 +45912,7 @@ class MdsPrefContrast {
|
|
|
45799
45912
|
}
|
|
45800
45913
|
render() {
|
|
45801
45914
|
var _a;
|
|
45802
|
-
return (hAsync(Host, { key: '
|
|
45915
|
+
return (hAsync(Host, { key: '14acd166d97af6c70ef51e035e79d9beb904aab6', "pref-contrast": preferenceStore.state.contrast }, hAsync("mds-text", { key: '33e8416b3de015cb02c3f3bb9c1d2ef48dfba301', class: "info", typography: "caption" }, hAsync("b", { key: '64638e342b45803737dcbac8427dc60f8819899a' }, this.t.get('label')), ' ', this.t.get(this.contrast[(_a = this.mode) !== null && _a !== void 0 ? _a : this.defaultMode].label)), hAsync("mds-tab", { key: '32327ec23798464a712714ca4a26673b53324612', fill: true, size: this.size }, hAsync("mds-tab-item", { key: 'd7ba28a08ff0cc3d3c91b3d3e45e44f7e5a36688', selected: this.mode === 'more', onClick: this.handleModeClick('more'), class: "item item--more", icon: miBaselineContrast, title: this.t.get(this.contrast.more.label) }), hAsync("mds-tab-item", { key: '091d09e85dd26aab1b2ef95cecb8758fa076b7c2', selected: this.mode === 'system', onClick: this.handleModeClick('system'), class: "item item--system", icon: miBaselineSettings, title: this.t.get(this.contrast.system.label) }), hAsync("mds-tab-item", { key: '91d06cb1c92acca9706beb992ea8b354d530b65f', selected: this.mode === 'no-preference', onClick: this.handleModeClick('no-preference'), class: "item item--default", icon: this.mode === 'no-preference' ? miBaselineAutoAwesome : miOutlineAutoAwesome, title: this.t.get(this.contrast['no-preference'].label) }))));
|
|
45803
45916
|
}
|
|
45804
45917
|
static get watchers() { return {
|
|
45805
45918
|
"mode": [{
|
|
@@ -46775,7 +46888,7 @@ class MdsPrefLanguage {
|
|
|
46775
46888
|
}
|
|
46776
46889
|
render() {
|
|
46777
46890
|
var _a;
|
|
46778
|
-
return (hAsync(Host, { key: '
|
|
46891
|
+
return (hAsync(Host, { key: 'f753d55dfd605c997e59a8a1aa39fc62653c9772' }, hAsync("div", { key: '4c9f06c2804071445be6c37961d8bd1184bf091f', class: "menu" }, hAsync("mds-text", { key: 'dad3f9ec779317dd67f2aa219e8a806baa8d3b91', class: "info", typography: "caption" }, hAsync("b", { key: '1e12a95464d4b5d87b003bdf2f1efde66a73228a' }, this.t.get('label'))), hAsync("mds-tab", { key: 'a196380b5a19c6f0ca2fd45f78ecb11923704991', fill: true, size: this.size }, hAsync("mds-tab-item", { key: 'e55bc4fdea471cb561b7730fd66a1ef50204b3e5', selected: true, onClick: this.toggleDropdown, expanded: this.showDropdown, id: "mds-pref-language-nav", class: "item item--custom-language", "icon-position": "right", icon: this.showDropdown ? miBaselineKeyboardArrowUp : miBaselineKeyboardArrowDown, label: this.t.get((_a = this.set) !== null && _a !== void 0 ? _a : 'auto') }))), hAsync("mds-dropdown", { key: '3d7bbdfc99e528698dd6183791592728dc519aa7', class: "mds-pref-language-dropdown", target: "#mds-pref-language-nav", interaction: "none", visible: this.showDropdown, onMdsDropdownHide: this.hideLanguageSelectDropdown }, hAsync("slot", { key: 'c22037a520eb1e3b625b7dd03e9bce8b1bd93e2e' })), this.set !== this.defaultLanguage && (hAsync("mds-text", { key: 'd9dc8555ff4379634eb541790fe683a45523951c', typography: "caption" }, this.t.get('defaultLanguage')))));
|
|
46779
46892
|
}
|
|
46780
46893
|
get element() { return getElement(this); }
|
|
46781
46894
|
static get watchers() { return {
|
|
@@ -47056,7 +47169,7 @@ class MdsPrefLanguageItem {
|
|
|
47056
47169
|
return (
|
|
47057
47170
|
// the item is an entry of the `menu` the mds-dropdown of the controller opens:
|
|
47058
47171
|
// without the role axe rejects it as a child of that menu (aria-required-children)
|
|
47059
|
-
hAsync(Host, { key: '
|
|
47172
|
+
hAsync(Host, { key: '714a3e699f569f51f26bed7040591e987db1f50b', onClick: this.handleClick, role: "menuitem" }, ((_a = this.code) !== null && _a !== void 0 ? _a : '') !== '' ? (hAsync("mds-button", { icon: this.selected ? miBaselineCheckCircle : miOutlineCircle, variant: "dark", tone: "text", label: localeDefault[this.code] })) : (hAsync("mds-button", { icon: miBaselineCheckCircle, variant: "error", tone: "text", label: this.t.get('noCode') }))));
|
|
47060
47173
|
}
|
|
47061
47174
|
static get watchers() { return {
|
|
47062
47175
|
"code": [{
|
|
@@ -47357,9 +47470,9 @@ class MdsPrefMode {
|
|
|
47357
47470
|
}
|
|
47358
47471
|
render() {
|
|
47359
47472
|
var _a, _b;
|
|
47360
|
-
return (hAsync(Host, { key: '
|
|
47473
|
+
return (hAsync(Host, { key: '7cd1902d2bbb1707f0fd08777a0e509b63ed75e7', "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("mds-text", { key: '9be2e723c633331e0303b9d713572a0d81cc83f3', class: "info", typography: "caption" }, hAsync("b", { key: '7e4002d2bea7c59b08eb47bb71d4b7afa40f65e7' }, this.t.get('label')), ' ', this.disabled
|
|
47361
47474
|
? this.t.get(this.modes[(_a = this.mode) !== null && _a !== void 0 ? _a : this.defaultMode].label, { forced: true })
|
|
47362
|
-
: this.t.get(this.modes[(_b = this.mode) !== null && _b !== void 0 ? _b : this.defaultMode].label, { forced: false })), hAsync("mds-tab", { key: '
|
|
47475
|
+
: this.t.get(this.modes[(_b = this.mode) !== null && _b !== void 0 ? _b : this.defaultMode].label, { forced: false })), hAsync("mds-tab", { key: '59cbe510ef71c438ee1836506bb8767698bd0e2c', fill: true, size: this.size }, hAsync("mds-tab-item", { key: 'a396dfff77f1c267e53a1427fc650691dc8a9c87', disabled: this.isModeDisabled('light'), selected: this.mode === 'light', onClick: this.handleModeClick('light'), class: "item item--light", icon: miBaselineLightMode, title: this.t.get(this.modes.light.label, { forced: false }) }), hAsync("mds-tab-item", { key: '8448bd8e297945b9e80d3a010af13c62241d1e31', disabled: this.isModeDisabled('system'), selected: this.mode === 'system', onClick: this.handleModeClick('system'), class: "item item--system", icon: miBaselineSettings, title: this.t.get(this.modes.system.label) }), hAsync("mds-tab-item", { key: 'e3aaf2dc231e62ab732d65dd2eb38585fb29ecbf', disabled: this.isModeDisabled('dark'), selected: this.mode === 'dark', onClick: this.handleModeClick('dark'), class: "item item--dark", icon: this.mode === 'dark' ? miBaselineDarkMode : miOutlineDarkMode, title: this.t.get(this.modes.dark.label) }))));
|
|
47363
47476
|
}
|
|
47364
47477
|
get element() { return getElement(this); }
|
|
47365
47478
|
static get watchers() { return {
|
|
@@ -47573,7 +47686,7 @@ class MdsPrefTheme {
|
|
|
47573
47686
|
this.setCornerShape((_c = this.userCornerShape) !== null && _c !== void 0 ? _c : this.cornerShape);
|
|
47574
47687
|
}
|
|
47575
47688
|
render() {
|
|
47576
|
-
return (hAsync(Host, { key: '
|
|
47689
|
+
return (hAsync(Host, { key: '655bab98d714ab020ae56308aa1fa456587ba500' }, hAsync("div", { key: '071144a78bd76ee76e66ef360e59f36c1609802e', class: "menu" }, hAsync("mds-text", { key: '3a2211ba231dc918619022b63f5334245a820d13', class: "info", typography: "caption" }, hAsync("b", { key: 'b8ee6f47be3a388797107d6fd2a456d1c934d88d' }, this.t.get('label'))), hAsync("mds-tab", { key: 'd38a2f1af05ccf9ffd18039bc8313fdf4e7253f0', fill: true, size: this.size }, hAsync("mds-tab-item", { key: '14b35f4bab9c48411debd0ae7daccd537012e9cd', selected: true, onClick: this.toggleDropdown, expanded: this.showDropdown, id: "mds-pref-theme-nav", class: "item item--theme", "icon-position": "right", icon: this.showDropdown ? miBaselineKeyboardArrowUp : miBaselineKeyboardArrowDown, label: this.name }))), hAsync("mds-dropdown", { key: 'd0955d813387b5e3d429f65e2efdf22ae6593a00', class: "mds-pref-theme-dropdown", target: "#mds-pref-theme-nav", interaction: "none", visible: this.showDropdown, onMdsDropdownHide: this.hideThemeDropdownSelect }, hAsync("slot", { key: '0fff1ca40365164fe32974677fcf798d187e2b75' }))));
|
|
47577
47690
|
}
|
|
47578
47691
|
get element() { return getElement(this); }
|
|
47579
47692
|
static get style() { return mdsPrefThemeCss(); }
|
|
@@ -47625,7 +47738,7 @@ class MdsPrefThemeItem {
|
|
|
47625
47738
|
return (
|
|
47626
47739
|
// the item is an entry of the `menu` the mds-dropdown of the controller opens:
|
|
47627
47740
|
// without the role axe rejects it as a child of that menu (aria-required-children)
|
|
47628
|
-
hAsync(Host, { key: '
|
|
47741
|
+
hAsync(Host, { key: '1a7f7fa19f420bf6cd30415afc126589db30597e', onClick: this.handleClick, role: "menuitem" }, hAsync("mds-button", { key: '2e401fe22b1a8e51e6064b159b67caae27d7425f', icon: this.selected ? miBaselineCheckCircle : miOutlineCircle, variant: "dark", tone: "text" }, hAsync("div", { key: '94040159477ad1dd46e0cbc68569494edd11425a', class: "label" }, hAsync("div", { key: '6c5e36287431f4844a368645ec2fec34cfd65cff', class: "theme-preview" }, hAsync("div", { key: '29b4e378282da0371c73a4f1ed7db5717b67442e', class: "theme-color theme-color--variant-primary" }), hAsync("div", { key: '75b088ef27b14cd66e1513b919c89a10676a9431', class: "theme-color theme-color--status-success" }), hAsync("div", { key: 'b9c939b2cd79e49d7e6503df3d95474a242108f0', class: "theme-color theme-color--status-warning" }), hAsync("div", { key: '12ff1f878853532987171db48d9e892b6b0cb64e', class: "theme-color theme-color--status-error" })), this.label))));
|
|
47629
47742
|
}
|
|
47630
47743
|
static get style() { return mdsPrefThemeItemCss(); }
|
|
47631
47744
|
static get cmpMeta() { return {
|
|
@@ -47653,7 +47766,7 @@ class MdsPriceTable {
|
|
|
47653
47766
|
registerInstance(this, hostRef);
|
|
47654
47767
|
}
|
|
47655
47768
|
render() {
|
|
47656
|
-
return (hAsync(Host, { key: '
|
|
47769
|
+
return (hAsync(Host, { key: 'caf66d039cf01848537a794bef732c49ec866bdb' }, hAsync("slot", { key: '71787a906bc949b35c67798212e58af9456d1fbf' })));
|
|
47657
47770
|
}
|
|
47658
47771
|
static get style() { return mdsPriceTableCss(); }
|
|
47659
47772
|
static get cmpMeta() { return {
|
|
@@ -47677,7 +47790,7 @@ class MdsPriceTableFeatures {
|
|
|
47677
47790
|
registerInstance(this, hostRef);
|
|
47678
47791
|
}
|
|
47679
47792
|
render() {
|
|
47680
|
-
return (hAsync(Host, { key: '
|
|
47793
|
+
return (hAsync(Host, { key: 'd70c4af7518a4280b71393333027f3e067019b60', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("div", { key: '87bfba63057a0aeacb866b4bfa497b7ec488d55e', class: "table-wrapper" }, this.label && (hAsync("header", { key: '56de561592a74bcb1527f597e82e6490850f548d', part: "header" }, hAsync("mds-text", { key: '95d9b062f696eb256b977285bb0323a7ae24b025', typography: "detail" }, hAsync("b", { key: '85df0236c37b1964cc27fcad7309fe71364ad0c0' }, this.label)))), hAsync("table", { key: '481d988c1ed0cfc67a26bc10f291bb3db44ee774' }, hAsync("tbody", { key: 'f793c21d2d3e833d893defb8edb39c4623128387' }, hAsync("slot", { key: '00a86da6bf07888f31f3a2e1df0fa85bdb99eae9' }))))));
|
|
47681
47794
|
}
|
|
47682
47795
|
static get style() { return mdsPriceTableFeaturesCss(); }
|
|
47683
47796
|
static get cmpMeta() { return {
|
|
@@ -47710,7 +47823,7 @@ class MdsPriceTableFeaturesCell {
|
|
|
47710
47823
|
this.type = 'text';
|
|
47711
47824
|
}
|
|
47712
47825
|
render() {
|
|
47713
|
-
return (hAsync(Host, { key: '
|
|
47826
|
+
return (hAsync(Host, { key: '9cfaab006638d2a790879acc60daf629d40ab701', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, this.type === 'supported' && (hAsync("i", { key: '203b524a6e202148afb5934922acd4e130a46d71', class: "icon icon--supported", innerHTML: miBaselineCheckCircle, part: "icon" })), this.type === 'unsupported' && (hAsync("i", { key: 'd3f5218dd824a1a32d78a4e4269e511cdcd691c8', class: "icon icon--unsupported", innerHTML: miBaselineHorizontalRule, part: "icon" })), this.type === 'text' && (hAsync("mds-text", { key: 'bd5df8325aeeb706c91f83afbfd1ac43b4b20b15', part: "text", typography: "detail" }, hAsync("slot", { key: '6d04b08d480ed84faccbbb4725aec62f72f541f3' }))), this.type === 'custom' && hAsync("slot", { key: 'e7877e32b6f0364e05afd440708ae5ec46e9a0a7' }), this.type === 'label' && hAsync("slot", { key: 'cc6c6234cbfcbd50275e6ec951b75b3440f68558' })));
|
|
47714
47827
|
}
|
|
47715
47828
|
static get style() { return mdsPriceTableFeaturesCellCss(); }
|
|
47716
47829
|
static get cmpMeta() { return {
|
|
@@ -47742,7 +47855,7 @@ class MdsPriceTableFeaturesRow {
|
|
|
47742
47855
|
});
|
|
47743
47856
|
}
|
|
47744
47857
|
render() {
|
|
47745
|
-
return (hAsync(Host, { key: '
|
|
47858
|
+
return (hAsync(Host, { key: 'e51aa5b5c122ef55bb2a6c8dcf589e336cadf6d5', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("slot", { key: '3bc6d211c57c314c4df3f311609bd06195358a19' })));
|
|
47746
47859
|
}
|
|
47747
47860
|
get host() { return getElement(this); }
|
|
47748
47861
|
static get style() { return mdsPriceTableFeaturesRowCss(); }
|
|
@@ -47768,7 +47881,7 @@ class MdsPriceTableHeader {
|
|
|
47768
47881
|
registerInstance(this, hostRef);
|
|
47769
47882
|
}
|
|
47770
47883
|
render() {
|
|
47771
|
-
return (hAsync(Host, { key: '
|
|
47884
|
+
return (hAsync(Host, { key: 'd2dd005b554bf8aa3d05cafd8948a883144d1c7b' }, hAsync("slot", { key: '96beafef46bc93ff413e8fed2d9cf045e027f2fa' })));
|
|
47772
47885
|
}
|
|
47773
47886
|
static get style() { return mdsPriceTableHeaderCss(); }
|
|
47774
47887
|
static get cmpMeta() { return {
|
|
@@ -47801,7 +47914,7 @@ class MdsPriceTableList {
|
|
|
47801
47914
|
this.hostElement.querySelectorAll('[slot="item"], mds-price-table-list-item').length > 0;
|
|
47802
47915
|
}
|
|
47803
47916
|
render() {
|
|
47804
|
-
return (hAsync(Host, { key: '
|
|
47917
|
+
return (hAsync(Host, { key: '93acfd389f7c4d5e30abacb57646f5a024caff5b', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("div", { key: '4e05c08b5b4bffb736c55d9c671843da34e099c1', class: "header", part: "header" }, hAsync("slot", { key: 'b3af254fa051177ea61b03527143856ec50bbfe1', name: "header" })), this.hasItems && hAsync("mds-separator", { key: '824c2933a3414563e93f58bd70ead05419b78454', class: "separator" }), this.hasItems && (hAsync("main", { key: 'ace71bad20872f85fee8a0218829f45d2387b823', class: "main", part: "content" }, hAsync("slot", { key: '6460bf21617109fb44e7fc6813b20c4d0bd11119', name: "item" }))), hAsync("div", { key: '29bae6928363dc49659b31aa21231a48bf600c99', class: "footer", part: "footer" }, hAsync("slot", { key: '848ba7c6eed967169146022759a32db5f251d351', name: "price" }), hAsync("slot", { key: 'cfd31dab6cfda08581960176f56bcc2e4fcc715d', name: "action" }))));
|
|
47805
47918
|
}
|
|
47806
47919
|
get hostElement() { return getElement(this); }
|
|
47807
47920
|
static get style() { return mdsPriceTableListCss(); }
|
|
@@ -47835,7 +47948,7 @@ class MdsPriceTableListItem {
|
|
|
47835
47948
|
this.typography = 'detail';
|
|
47836
47949
|
}
|
|
47837
47950
|
render() {
|
|
47838
|
-
return (hAsync(Host, { key: '
|
|
47951
|
+
return (hAsync(Host, { key: '2c4d187715e04f32a989eaf8358a427ff52e02cf', slot: "item" }, hAsync("mds-text", { key: '58d45fa5da8d10ebed428bdd5e8befd0b3e595c5', class: "icon-container", typography: this.typography }, this.supported ? (hAsync("i", { class: "icon", innerHTML: miBaselineCheckCircle, part: "icon" })) : (hAsync("i", { class: "icon", innerHTML: miBaselineHorizontalRule, part: "icon" }))), hAsync("mds-text", { key: '86e26bc1f132a173a86a67dd9c156b44eff35c65', class: "text", typography: this.typography }, hAsync("slot", { key: 'd7babfc9729cfc73d0dd901e2b6d5d23db5865a2' }))));
|
|
47839
47952
|
}
|
|
47840
47953
|
static get style() { return mdsPriceTableListItemCss(); }
|
|
47841
47954
|
static get cmpMeta() { return {
|
|
@@ -47914,7 +48027,7 @@ class MdsProgress {
|
|
|
47914
48027
|
this.stepsList = steps.split(',');
|
|
47915
48028
|
}
|
|
47916
48029
|
render() {
|
|
47917
|
-
return (hAsync(Host, { key: '
|
|
48030
|
+
return (hAsync(Host, { key: '0bfe7c25998fb95a6184861307bc0bebbc24df58', "aria-valuemax": "100", "aria-valuemin": "0", "aria-valuenow": !ifAttribute(this.element, 'aria-hidden') && Math.round(this.progress * 100), role: "progressbar", "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, this.direction === 'radial' ? (hAsync("mds-radial-progress", { "aria-hidden": "true", progress: this.progress, part: "radial-progress", typography: this.typography, variant: this.variant })) : (hAsync("div", { class: "progress", part: "progress", style: this.direction === 'horizontal'
|
|
47918
48031
|
? { flexGrow: `${this.progress}` }
|
|
47919
48032
|
: { flexGrow: `${this.progress}`, width: '100%' } }))));
|
|
47920
48033
|
}
|
|
@@ -48100,7 +48213,7 @@ class MdsPushNotification {
|
|
|
48100
48213
|
this.visible = undefined;
|
|
48101
48214
|
}
|
|
48102
48215
|
render() {
|
|
48103
|
-
return (hAsync(Host, { key: '
|
|
48216
|
+
return (hAsync(Host, { key: 'f4daa137935544f4e809de82e99cbb7e5836b296', "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("mds-button", { key: '3df02b625af33465288e49ab0587fe492051ecb4', variant: "dark", onClick: this.clear, label: "Cancella notifiche" }), hAsync("div", { key: '6d83e4b5c9e6a07838b11f82c7f5b0846ee70977', class: "notifications", part: "notifications" }, hAsync("slot", { key: 'c49dae557c47fd09f36ceb59c55b6b6dc1aafb45', ref: (el) => (this.slotNotifications = el) }))));
|
|
48104
48217
|
}
|
|
48105
48218
|
get host() { return getElement(this); }
|
|
48106
48219
|
static get watchers() { return {
|
|
@@ -48368,9 +48481,9 @@ class MdsPushNotificationItem {
|
|
|
48368
48481
|
}
|
|
48369
48482
|
render() {
|
|
48370
48483
|
var _a;
|
|
48371
|
-
return (hAsync(Host, { key: '
|
|
48484
|
+
return (hAsync(Host, { key: '65eb8aadda38ab214f203b9efd269cdadabf19c7', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, ((_a = this.icon) !== null && _a !== void 0 ? _a : this.preview === 'avatar') && (hAsync("mds-avatar", { key: 'd921bb735ca4027cec2c8a0e2eb1d91eea6c44bb', class: "avatar", icon: this.icon, initials: this.initials, part: "avatar", src: this.src, tone: this.tone, variant: this.variant })), this.src && this.preview !== 'avatar' && (hAsync("mds-img", { key: '626cd19cedb75aa24e1fae8f3dd2359de2f997b9', class: "picture", part: "picture", src: this.src })), hAsync("div", { key: '434afc0f0bd8a7d6fc7a758f690d7297971db13d', class: "content", part: "content" }, hAsync("div", { key: 'cc54a0fafb80b5831cbc654875dd4de6422f8f46', class: "header" }, hAsync("div", { key: '5e27cc2117ddf176ab3df99d46a6e6b3932fc01f', class: "infos" }, hAsync("div", { key: '38cb8cbb0468ba5f0445952c6fc2f11f5d1fa488', class: clsx('badge', !this.hasBadge && 'badge--hidden') }, hAsync("slot", { key: '13608d5ed61fe43cfdb8355922d472ef2281a26d', name: "badge", onSlotchange: this.onSlotChange })), this.subject && (hAsync("mds-text", { key: 'e123b120cd8b61e4e29dd5b73572aa1263614c8c', class: "subject", typography: "h6", variant: "title", truncate: "all" }, this.subject))), this.datetime && (hAsync("mds-text", { key: '9beda7c1bda6b51ace8b1cfdc7ffafe911b597f2', class: "time", typography: "option" }, this.dateFormat === 'timeago'
|
|
48372
48485
|
? dayjs(this.datetime).fromNow()
|
|
48373
|
-
: dayjs(this.datetime).format(this.dateFormat)))), hAsync("mds-text", { key: '
|
|
48486
|
+
: dayjs(this.datetime).format(this.dateFormat)))), hAsync("mds-text", { key: 'ec0e80b1cb472bca884add80eaa4d55d9c820c66', class: "message", truncate: "all", typography: "caption", variant: "info" }, this.message), hAsync("div", { key: '0133e0a437f2286a8f83f18a94ac770ba6223ad4', class: clsx('actions', !this.hasActions && 'actions--hidden'), part: "actions" }, hAsync("slot", { key: 'c16ca8d8465c5c9dfb1ed37229b3aa2961e7e394', name: "action", onSlotchange: this.onSlotChange }))), this.deletable && (hAsync("mds-button", { key: 'a69962af562d9680900b03892ce0ecf0e4482276', class: "close-button", variant: "dark", tone: "text", title: this.t.get('dismiss'), icon: miBaselineCancel, onClick: this.onClickClose }))));
|
|
48374
48487
|
}
|
|
48375
48488
|
get host() { return getElement(this); }
|
|
48376
48489
|
static get watchers() { return {
|
|
@@ -48422,7 +48535,7 @@ class MdsQuote {
|
|
|
48422
48535
|
this.tag = 'h3';
|
|
48423
48536
|
}
|
|
48424
48537
|
render() {
|
|
48425
|
-
return (hAsync(Host, { key: '
|
|
48538
|
+
return (hAsync(Host, { key: 'b2420d27656f92fcd45b5b84b1d3e6760f293f47', "pref-contrast": preferenceStore.state.contrast }, hAsync("mds-text", { key: '09f1ebe2c5ae6e8479600a353f5d413919546674', class: "open-quote", tag: "div", typography: this.typography }, hAsync("span", { key: 'f85c307485a25057fde6ceee8a19aea5be191df9' }, hAsync("i", { key: 'ad9bb2d28c10a86539c9f05d7392ad379e6e0351' }, "\u275D\u00A0"))), hAsync("div", { key: 'ca6ec3f4aef754325c424f50a084b4c2021392cf', class: "quote" }, hAsync("mds-text", { key: '76f17e8fe122287969a99a36f53eba06d638cedc', tag: this.tag, typography: this.typography }, hAsync("i", { key: 'ecda34563574602a065090f43b91fe40cd9f519f' }, hAsync("slot", { key: '2570cc9ce48a9c7fb009afa34b9bf8e683fab914' }), hAsync("span", { key: 'dca3936e9aede37e252f724c95f95cdbce5da391' }, "\u00A0\u275E"))), hAsync("slot", { key: '200d2f9c855e7d80e8cb0a6e2828264f28b0ab70', name: "author" }))));
|
|
48426
48539
|
}
|
|
48427
48540
|
static get style() { return mdsQuoteCss(); }
|
|
48428
48541
|
static get cmpMeta() { return {
|
|
@@ -48601,7 +48714,7 @@ class MdsRadialMenu {
|
|
|
48601
48714
|
this.handleBackdrop();
|
|
48602
48715
|
}
|
|
48603
48716
|
render() {
|
|
48604
|
-
return (hAsync(Host, { key: '
|
|
48717
|
+
return (hAsync(Host, { key: 'e8b1b70fe069c88a36d1dc2500a14100d38f5649' }, hAsync("mds-button", { key: '814d13c6866c143f2b0da867b993e77fa258cbdb', class: clsx('menu-button', this.interaction !== 'click' && 'menu-button--hidden'), icon: this.opened ? miBaselineClose : this.icon, tone: this.tone, variant: this.variant, size: this.size, onClick: this.toggleMenu }), hAsync("div", { key: '2b33ebb023d2f1fdb8ebb83f721521687ce6993d', class: "radial-menu", part: "radial-menu" }, hAsync("slot", { key: 'd93fb4f0448bf8494a6d0074a810e389c27a973b', name: "item", onSlotchange: this.updateItems })), hAsync("div", { key: '0235404156f36bd46ad251013aef1025949b0e4f', class: "disc" })));
|
|
48605
48718
|
}
|
|
48606
48719
|
get hostElement() { return getElement(this); }
|
|
48607
48720
|
static get watchers() { return {
|
|
@@ -48673,7 +48786,7 @@ class MdsRadialMenuItem {
|
|
|
48673
48786
|
this.size = 'lg';
|
|
48674
48787
|
}
|
|
48675
48788
|
render() {
|
|
48676
|
-
return (hAsync(Host, { key: '
|
|
48789
|
+
return (hAsync(Host, { key: '794c7c91ce365ffa9a3a6445857ac35c843c8867', slot: "item" }, hAsync("mds-button", { key: '829b309c656016f6ea0d1b4fb982d1f7907ae1a9', "aria-label": this.tooltip, class: "button", icon: this.icon, variant: this.variant, tone: this.tone, size: this.size }), this.tooltip && (hAsync("mds-tooltip", { key: '44c017b54e81666d2ca3510dff7049d876d24d4f', class: "tooltip", target: ".button", placement: "top", disableAutoPlacement: true }, this.tooltip))));
|
|
48677
48790
|
}
|
|
48678
48791
|
static get style() { return mdsRadialMenuItemCss(); }
|
|
48679
48792
|
static get cmpMeta() { return {
|
|
@@ -48762,7 +48875,7 @@ class MdsRadialProgress {
|
|
|
48762
48875
|
render() {
|
|
48763
48876
|
const progressVar = `${(this.animatedProgress * 100).toFixed(2)}%`;
|
|
48764
48877
|
const progressText = this.progressPercentage(this.clampProgress(this.progress));
|
|
48765
|
-
return (hAsync(Host, { key: '
|
|
48878
|
+
return (hAsync(Host, { key: '51d6f52cc7f222ecb9487f60b9eb9c0567d8ca71', "aria-valuemax": "100", "aria-valuemin": "0", "aria-valuenow": progressText, role: "progressbar", style: { '--mds-radial-progress': progressVar } }, hAsync("div", { key: '07f9c631a5d422ec071d32da953a5b33d3d6e18c', class: "value-container", part: "value-container" }, this.icon && hAsync("mds-icon", { key: 'a5fdc3ae18c6edbe1c76af97258183cd1a73e422', class: "icon", name: this.icon, part: "icon" }), hAsync("div", { key: '132ba58dfe376cbdf95dd813bf4efab00f45eb4c', class: "value-container__text" }, hAsync("mds-text", { key: '30701799e78e43d96e91c1c5d73ec00335cf80e4', class: "value", typography: this.typography }, progressText)))));
|
|
48766
48879
|
}
|
|
48767
48880
|
static get watchers() { return {
|
|
48768
48881
|
"progress": [{
|
|
@@ -48793,7 +48906,7 @@ class MdsSeparator {
|
|
|
48793
48906
|
registerInstance(this, hostRef);
|
|
48794
48907
|
}
|
|
48795
48908
|
render() {
|
|
48796
|
-
return (hAsync(Host, { key: '
|
|
48909
|
+
return (hAsync(Host, { key: '32a48c2043ee02eea52400563f4d036984452348', "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }));
|
|
48797
48910
|
}
|
|
48798
48911
|
static get style() { return mdsSeparatorCss(); }
|
|
48799
48912
|
static get cmpMeta() { return {
|
|
@@ -48828,7 +48941,7 @@ class MdsSpinner {
|
|
|
48828
48941
|
}
|
|
48829
48942
|
}
|
|
48830
48943
|
render() {
|
|
48831
|
-
return (hAsync(Host, { key: '
|
|
48944
|
+
return (hAsync(Host, { key: '87759c4a0ec1f2eb7b745da581e6a6fe20c8d28a', "pref-contrast": preferenceStore.state.contrast }, hAsync("i", { key: 'ba687bcea5509ff7fe5beb761e78884c6dd0c701', class: "await-icon", innerHTML: awaitIcon })));
|
|
48832
48945
|
}
|
|
48833
48946
|
static get watchers() { return {
|
|
48834
48947
|
"running": [{
|
|
@@ -48885,7 +48998,7 @@ class MdsStatusBar {
|
|
|
48885
48998
|
this.visible = undefined;
|
|
48886
48999
|
}
|
|
48887
49000
|
render() {
|
|
48888
|
-
return (hAsync(Host, { key: '
|
|
49001
|
+
return (hAsync(Host, { key: 'bd6bfd16462641ae9615244e07cf6763132a306d', "pref-consumption": preferenceStore.state.consumption, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("mds-modal", { key: '732b0dfe1a9381af936223368fb465fbddc92ec5', class: "modal", opened: this.visible, position: this.position, animation: "custom", overflow: this.overflow }, hAsync("div", { key: '4bf29ca7e0a5c2a3b6de185a9a46b9bd7fec303a', class: "status-bar-area", part: "status-bar-area", slot: "window" }, hAsync("div", { key: '4c75b2debf61033643adcfdd081e183ea307e0df', class: "status-bar", part: "status-bar" }, this.description && (hAsync("mds-text", { key: '7d84aea317475f83ad108087b4ed69d3fff2442b', typography: "caption", class: "description" }, this.description)), hAsync("div", { key: 'def363df5232c8299c886cc17a5e82722297c858', class: "actions", part: "actions" }, hAsync("slot", { key: '8a19184549793d1f7471af3c65366eca56a3687a' })))))));
|
|
48889
49002
|
}
|
|
48890
49003
|
get host() { return getElement(this); }
|
|
48891
49004
|
static get watchers() { return {
|
|
@@ -49025,7 +49138,7 @@ class MdsStepperBar {
|
|
|
49025
49138
|
});
|
|
49026
49139
|
}
|
|
49027
49140
|
render() {
|
|
49028
|
-
return (hAsync(Host, { key: '
|
|
49141
|
+
return (hAsync(Host, { key: '6e70673f49ffcf8c703307b6571ba2b822036d8c' }, hAsync("div", { key: '1e0443df8ad7034c5af6e1a014a30702e5f973f4', class: "items", part: "items" }, hAsync("slot", { key: '5138d0f6c4acc13cc4ef6b074df127a69a13de37' })), hAsync("div", { key: '01282be7099ae99fc3f4aadbd148e4df4570a7a1', class: "contents", part: "contents" }, hAsync("slot", { key: '806b797ff756d258e43f46517c2522a99c43c44a', name: "content" }))));
|
|
49029
49142
|
}
|
|
49030
49143
|
get element() { return getElement(this); }
|
|
49031
49144
|
static get watchers() { return {
|
|
@@ -49160,7 +49273,7 @@ class MdsStepperBarItem {
|
|
|
49160
49273
|
this.isCurrent = newValue;
|
|
49161
49274
|
}
|
|
49162
49275
|
render() {
|
|
49163
|
-
return (hAsync(Host, { key: '
|
|
49276
|
+
return (hAsync(Host, { key: '32426f578d3c59b6aef858e86cf8c655cd3e6a77', "pref-animation": preferenceStore.state.animation }, hAsync("div", { key: '5dd6a64bf11e982e1a1e0b1fdf650574e3c3d28d', class: "header" }, hAsync("mds-icon", { key: '5955690265e97034af19660a8ea6e3dabdd1b64c', class: "icon", name: clsx(this.isDone && !this.isCurrent ? this.iconChecked : this.icon) }), hAsync("mds-progress", { key: 'f82e8b00a1e98457abb9fe51619d409f117234f3', "aria-hidden": "true", class: "progress", progress: this.isDone ? 1 : 0 })), hAsync("div", { key: '26559ee3895161f4dc4d4ccc723c7de4266391c8', class: "infos" }, this.step && (hAsync("mds-text", { key: '3a8cad7a0216497e584e9c6ad3f05d0564a8d519', class: "step", typography: "option" }, this.t.get('step', { index: this.index + 1 }))), this.label && (hAsync("mds-text", { key: '269771ed702836a71bf397662b7691d36bc75113', class: "text", typography: this.typography }, this.label)), this.badge && hAsync("div", { key: '17bb222483ec1e05d2c5a0aef793ffa537f90806', part: "badge" }, this.showBadge()))));
|
|
49164
49277
|
}
|
|
49165
49278
|
get host() { return getElement(this); }
|
|
49166
49279
|
static get watchers() { return {
|
|
@@ -49195,13 +49308,15 @@ class MdsStepperBarItem {
|
|
|
49195
49308
|
}; }
|
|
49196
49309
|
}
|
|
49197
49310
|
|
|
49198
|
-
const mdsTabCss = () => `@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-tab-item:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-tab-direction-vertical-columns:auto auto;--mds-tab-item-default-background:#0000;--mds-tab-item-default-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));--mds-tab-item-default-shadow:#0000;--mds-tab-item-hover-background:#0000;--mds-tab-item-hover-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-tab-item-hover-shadow:#0000;--mds-tab-item-radius:calc(var(--mds-tab-tabs-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px))) - var(--mds-tab-tabs-padding,calc(var(--spacing,.0025rem) * 200)));--mds-tab-item-selected-background:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255))));--mds-tab-item-selected-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-tab-item-selected-shadow:var(--shadow-sm,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a);--mds-tab-scroll-behavior:smooth;--mds-tab-scroll-scrollbar-margin:0;--mds-tab-scroll-scrollbar-radius:0;--mds-tab-scroll-scrollbar-size:calc(var(--spacing,.0025rem)*200);--mds-tab-scroll-scrollbar-thumb-background:rgb(var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42)))/.3);--mds-tab-scroll-scrollbar-track-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));--mds-tab-slide-delay:.125s;--mds-tab-tabs-background:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));--mds-tab-tabs-gap:calc(var(--spacing,.0025rem)*200);--mds-tab-tabs-overflow-shadow-size:calc(var(--spacing,.0025rem)*600);--mds-tab-tabs-overflow-shadow:0 0 var(--mds-tab-tabs-overflow-shadow-size,calc(var(--spacing,.0025rem)*600)) -2px #00000060;--mds-tab-tabs-padding:calc(var(--spacing,.0025rem)*200);--mds-tab-tabs-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));--mds-tab-tabs-wrapper-margin:0;--mds-tab-tabs-wrapper-outline-opacity:.7;--mds-tab-tabs-wrapper-shadow-color:var(--mds-tab-tabs-background,rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237)))));--mds-tab-tabs-wrapper-shadow:0 0 0 2px var(--mds-tab-tabs-wrapper-shadow-color,rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))))) inset;--mds-tab-transition-duration:.5s;--private-tab-transition-duration:var(--mds-tab-transition-duration,.5s);--mds-tab-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));--mds-tab-corner-shape:var(--magma-corner-shape,squircle);border-radius:var(--mds-tab-tabs-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));corner-shape:var(--mds-tab-corner-shape,round);display:grid;gap:0 calc(var(--spacing,.0025rem)*600);grid-template-rows:-webkit-min-content auto;grid-template-rows:min-content auto;position:relative}:host([animation=slide]) ::slotted(mds-tab-item){--mds-tab-item-hover-background:#0000;--mds-tab-item-selected-background:#0000;--mds-tab-item-selected-shadow:#0000;--mds-tab-item-default-background:#0000;--mds-tab-item-default-shadow:#0000}.tabs{align-items:flex-start;background-color:var(--mds-tab-tabs-background,rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237)))));box-sizing:border-box;display:flex;gap:var(--mds-tab-tabs-gap,calc(var(--spacing,.0025rem)*200));overflow:auto;padding:var(--mds-tab-tabs-padding,calc(var(--spacing,.0025rem)*200));scroll-behavior:var(--mds-tab-scroll-behavior);-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;-webkit-transition-duration:var(--private-tab-transition-duration);transition-duration:var(--private-tab-transition-duration);transition-property:background-color;-webkit-transition-timing-function:var(--mds-tab-transition-timing-function);transition-timing-function:var(--mds-tab-transition-timing-function);z-index:0}.tabs,.tabs-wrapper{border-radius:inherit;corner-shape:inherit;position:relative}.tabs-wrapper{display:grid;flex-shrink:0;margin:var(--mds-tab-tabs-wrapper-margin,0);max-width:max-content;overflow:hidden}.tabs-wrapper--fill{max-width:100%}.tabs-wrapper:after{border-radius:inherit;corner-shape:inherit;border-radius:var(--mds-tab-tabs-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));-webkit-box-shadow:var(--mds-tab-tabs-wrapper-shadow);box-shadow:var(--mds-tab-tabs-wrapper-shadow);content:"";inset:0;opacity:var(--mds-tab-tabs-wrapper-outline-opacity,.7);pointer-events:none;position:absolute;-webkit-transition-duration:var(--private-tab-transition-duration);transition-duration:var(--private-tab-transition-duration);-webkit-transition-duration:var(--mds-tab-transition-duration,.5s);transition-duration:var(--mds-tab-transition-duration,.5s);transition-property:box-shadow,opacity;-webkit-transition-timing-function:var(--mds-tab-transition-timing-function);transition-timing-function:var(--mds-tab-transition-timing-function);z-index:1}.contents{--mds-tab-contents-height:auto;-webkit-overflow-scrolling:touch;-ms-overflow-style:none;align-items:stretch;box-sizing:border-box;display:flex;flex-grow:1;gap:calc(var(--spacing,.0025rem)*600);height:var(--mds-tab-contents-height);overflow:auto hidden;position:relative;scroll-behavior:var(--mds-tab-scroll-behavior);-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-transition-duration:var(--private-tab-transition-duration);transition-duration:var(--private-tab-transition-duration);transition-property:height;-webkit-transition-timing-function:var(--mds-tab-transition-timing-function);transition-timing-function:var(--mds-tab-transition-timing-function)}.contents::-webkit-scrollbar{display:none}.contents:empty{display:none}::slotted([slot=content]){flex-basis:0;flex-grow:1;min-width:100%;scroll-snap-align:start;width:100%}::slotted([slot=content][mds-tab-content-hidden]){display:none!important}.slider{--mds-tab-slider-offset-x:0;--mds-tab-slider-offset-y:0;--mds-tab-slider-width:0;--mds-tab-slider-height:0;background-color:var(--mds-tab-item-selected-background);border-radius:var(--mds-tab-item-radius);-webkit-box-shadow:var(--mds-tab-item-selected-shadow);box-shadow:var(--mds-tab-item-selected-shadow);corner-shape:var(--mds-tab-corner-shape);height:var(--mds-tab-slider-height);inset:0 auto auto 0;pointer-events:none;position:absolute;-webkit-transform:translate(var(--mds-tab-slider-offset-x),var(--mds-tab-slider-offset-y));transform:translate(var(--mds-tab-slider-offset-x),var(--mds-tab-slider-offset-y));-webkit-transition-duration:var(--mds-tab-transition-duration,.5s);transition-duration:var(--mds-tab-transition-duration,.5s);transition-property:background-color,box-shadow,transform,width;-webkit-transition-timing-function:var(--mds-tab-transition-timing-function);transition-timing-function:var(--mds-tab-transition-timing-function);width:var(--mds-tab-slider-width);will-change:height,transform,width;z-index:-1}::slotted(mds-tab-item){position:relative;z-index:1}:host([direction=vertical]){grid-template-columns:var(--mds-tab-direction-vertical-columns,auto auto);grid-template-rows:1fr}:host([direction=vertical]) .tabs{align-self:start;flex-direction:column}:host([direction=vertical]) .tabs-wrapper{align-self:start;max-width:none}:host([direction=vertical][fill]) :is(.tabs,.tabs-wrapper){align-self:auto}:host([direction=vertical])::slotted(mds-tab-item){width:100%}:host(:not([scrollbar])) .tabs{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none}:host(:not([scrollbar])) .tabs::-webkit-scrollbar{display:none}:host([scrollbar]) .tabs::-webkit-scrollbar{height:var(--mds-tab-scroll-scrollbar-size,calc(var(--spacing,.0025rem)*200));width:var(--mds-tab-scroll-scrollbar-size,calc(var(--spacing,.0025rem)*200))}:host([scrollbar]) .tabs::-webkit-scrollbar-track{background-color:var(--mds-tab-scroll-scrollbar-track-background,rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225)))));border-radius:var(--mds-tab-scroll-scrollbar-radius,0);margin-block:var(--mds-tab-scroll-scrollbar-margin,0);margin-inline:var(--mds-tab-scroll-scrollbar-margin,0)}:host([scrollbar]) .tabs::-webkit-scrollbar-thumb{background-color:var(--mds-tab-scroll-scrollbar-thumb-background,rgb(var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42)))/.3));border-radius:var(--mds-tab-scroll-scrollbar-radius,0)}@supports (scrollbar-color:transparent transparent){.tabs{scrollbar-color:var(--mds-tab-scroll-scrollbar-thumb-background,rgb(var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42)))/.3)) var(--mds-tab-scroll-scrollbar-track-background,rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225)))));scrollbar-width:thin}}.tabs-wrapper-overflow-left,.tabs-wrapper-overflow-right{--size:calc(var(--mds-tab-tabs-padding,calc(var(--spacing,.0025rem) * 200)) * 2);--offset-outside:calc(var(--size) + var(--mds-tab-tabs-overflow-shadow-size,calc(var(--spacing,.0025rem) * 600)));background-color:var(--mds-tab-tabs-background,rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237)))));border-radius:100%;-webkit-box-shadow:var(--mds-tab-tabs-overflow-shadow);box-shadow:var(--mds-tab-tabs-overflow-shadow);content:"";display:inline-flex;height:auto;pointer-events:none;position:absolute;transition-duration:.5s;transition-property:transform;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:var(--size);z-index:2}.tabs-wrapper-overflow-left{inset:0 auto 0 0;-webkit-transform:translateX(calc(var(--offset-outside)*-1));transform:translateX(calc(var(--offset-outside)*-1))}.tabs-wrapper-overflow-right{inset:0 0 0 auto;-webkit-transform:translateX(var(--offset-outside));transform:translateX(var(--offset-outside))}.tabs-wrapper-overflow-left--show{transform:translate(-100%)}.tabs-wrapper-overflow-right--show{transform:translate(100%)}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-tab-item-selected-background:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))))}:host([pref-contrast=more]){--mds-tab-item-selected-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));--mds-tab-tabs-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-tab-tabs-wrapper-shadow-color,rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))))) inset;--mds-tab-tabs-wrapper-shadow-color:rgb(var(--magma-border-strong,var(--magma-tint-border-strong,var(--border-neutral-strong,140 140 140))));--mds-tab-tabs-wrapper-outline-opacity:.3}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-tab-transition-duration:0s}@media (prefers-reduced-motion:reduce){:host{--mds-tab-scroll-behavior:auto}:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-tab-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-tab-item-selected-background:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-tab-item-selected-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));--mds-tab-tabs-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-tab-tabs-wrapper-shadow-color,rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))))) inset;--mds-tab-tabs-wrapper-shadow-color:rgb(var(--magma-border-strong,var(--magma-tint-border-strong,var(--border-neutral-strong,140 140 140))));--mds-tab-tabs-wrapper-outline-opacity:.3}}`;
|
|
49311
|
+
const mdsTabCss = () => `@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-tab-item:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-tab-direction-vertical-columns:auto auto;--mds-tab-item-default-background:#0000;--mds-tab-item-default-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));--mds-tab-item-default-shadow:#0000;--mds-tab-item-hover-background:#0000;--mds-tab-item-hover-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-tab-item-hover-shadow:#0000;--mds-tab-item-radius:calc(var(--mds-tab-tabs-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px))) - var(--mds-tab-tabs-padding,calc(var(--spacing,.0025rem) * 200)));--mds-tab-item-selected-background:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255))));--mds-tab-item-selected-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-tab-item-selected-shadow:var(--shadow-sm,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a);--mds-tab-scroll-behavior:smooth;--mds-tab-scroll-scrollbar-margin:0;--mds-tab-scroll-scrollbar-radius:0;--mds-tab-scroll-scrollbar-size:calc(var(--spacing,.0025rem)*200);--mds-tab-scroll-scrollbar-thumb-background:rgb(var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42)))/.3);--mds-tab-scroll-scrollbar-track-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));--mds-tab-slide-delay:.125s;--mds-tab-tabs-background:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));--mds-tab-tabs-gap:calc(var(--spacing,.0025rem)*200);--mds-tab-tabs-overflow-shadow-size:calc(var(--spacing,.0025rem)*600);--mds-tab-tabs-overflow-shadow:0 0 var(--mds-tab-tabs-overflow-shadow-size,calc(var(--spacing,.0025rem)*600)) -2px #00000060;--mds-tab-tabs-padding:calc(var(--spacing,.0025rem)*200);--mds-tab-tabs-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));--mds-tab-tabs-wrapper-margin:0;--mds-tab-tabs-wrapper-outline-opacity:.7;--mds-tab-tabs-wrapper-shadow-color:var(--mds-tab-tabs-background,rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237)))));--mds-tab-tabs-wrapper-shadow:0 0 0 2px var(--mds-tab-tabs-wrapper-shadow-color,rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))))) inset;--mds-tab-transition-duration:.5s;--private-tab-transition-duration:var(--mds-tab-transition-duration,.5s);--mds-tab-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));--mds-tab-corner-shape:var(--magma-corner-shape,squircle);border-radius:var(--mds-tab-tabs-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));corner-shape:var(--mds-tab-corner-shape,round);display:grid;gap:0 calc(var(--spacing,.0025rem)*600);grid-template-rows:-webkit-min-content auto;grid-template-rows:min-content auto;position:relative}:host([animation=slide]) ::slotted(mds-tab-item){--mds-tab-item-hover-background:#0000;--mds-tab-item-selected-background:#0000;--mds-tab-item-selected-shadow:#0000;--mds-tab-item-default-background:#0000;--mds-tab-item-default-shadow:#0000}.tabs{align-items:flex-start;background-color:var(--mds-tab-tabs-background,rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237)))));box-sizing:border-box;display:flex;gap:var(--mds-tab-tabs-gap,calc(var(--spacing,.0025rem)*200));overflow:auto;padding:var(--mds-tab-tabs-padding,calc(var(--spacing,.0025rem)*200));scroll-behavior:var(--mds-tab-scroll-behavior);-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;-webkit-transition-duration:var(--private-tab-transition-duration);transition-duration:var(--private-tab-transition-duration);transition-property:background-color;-webkit-transition-timing-function:var(--mds-tab-transition-timing-function);transition-timing-function:var(--mds-tab-transition-timing-function);z-index:0}.tabs,.tabs-wrapper{border-radius:inherit;corner-shape:inherit;position:relative}.tabs-wrapper{display:grid;flex-shrink:0;margin:var(--mds-tab-tabs-wrapper-margin,0);max-width:max-content;overflow:hidden}.tabs-wrapper--fill{max-width:100%}.tabs-wrapper:after{border-radius:inherit;corner-shape:inherit;border-radius:var(--mds-tab-tabs-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));-webkit-box-shadow:var(--mds-tab-tabs-wrapper-shadow);box-shadow:var(--mds-tab-tabs-wrapper-shadow);content:"";inset:0;opacity:var(--mds-tab-tabs-wrapper-outline-opacity,.7);pointer-events:none;position:absolute;-webkit-transition-duration:var(--private-tab-transition-duration);transition-duration:var(--private-tab-transition-duration);-webkit-transition-duration:var(--mds-tab-transition-duration,.5s);transition-duration:var(--mds-tab-transition-duration,.5s);transition-property:box-shadow,opacity;-webkit-transition-timing-function:var(--mds-tab-transition-timing-function);transition-timing-function:var(--mds-tab-transition-timing-function);z-index:1}.contents{--mds-tab-contents-height:auto;-webkit-overflow-scrolling:touch;-ms-overflow-style:none;align-items:stretch;box-sizing:border-box;display:flex;flex-grow:1;gap:calc(var(--spacing,.0025rem)*600);height:var(--mds-tab-contents-height);overflow:auto hidden;position:relative;scroll-behavior:var(--mds-tab-scroll-behavior);-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-transition-duration:var(--private-tab-transition-duration);transition-duration:var(--private-tab-transition-duration);transition-property:height;-webkit-transition-timing-function:var(--mds-tab-transition-timing-function);transition-timing-function:var(--mds-tab-transition-timing-function)}.contents::-webkit-scrollbar{display:none}.contents--empty{display:none}::slotted([slot=content]){flex-basis:0;flex-grow:1;min-width:100%;scroll-snap-align:start;width:100%}::slotted([slot=content][mds-tab-content-hidden]){display:none!important}.slider{--mds-tab-slider-offset-x:0;--mds-tab-slider-offset-y:0;--mds-tab-slider-width:0;--mds-tab-slider-height:0;background-color:var(--mds-tab-item-selected-background);border-radius:var(--mds-tab-item-radius);-webkit-box-shadow:var(--mds-tab-item-selected-shadow);box-shadow:var(--mds-tab-item-selected-shadow);corner-shape:var(--mds-tab-corner-shape);height:var(--mds-tab-slider-height);inset:0 auto auto 0;pointer-events:none;position:absolute;-webkit-transform:translate(var(--mds-tab-slider-offset-x),var(--mds-tab-slider-offset-y));transform:translate(var(--mds-tab-slider-offset-x),var(--mds-tab-slider-offset-y));-webkit-transition-duration:var(--mds-tab-transition-duration,.5s);transition-duration:var(--mds-tab-transition-duration,.5s);transition-property:background-color,box-shadow,transform,width;-webkit-transition-timing-function:var(--mds-tab-transition-timing-function);transition-timing-function:var(--mds-tab-transition-timing-function);width:var(--mds-tab-slider-width);will-change:height,transform,width;z-index:-1}::slotted(mds-tab-item){position:relative;z-index:1}:host([direction=vertical]){grid-template-columns:var(--mds-tab-direction-vertical-columns,auto auto);grid-template-rows:1fr}:host([direction=vertical]) .tabs{align-self:start;flex-direction:column}:host([direction=vertical]) .tabs-wrapper{align-self:start;max-width:none}:host([direction=vertical][fill]) :is(.tabs,.tabs-wrapper){align-self:auto}:host([direction=vertical]) .tabs-wrapper--no-content{grid-column:1/-1}:host([direction=vertical])::slotted(mds-tab-item){width:100%}:host(:not([scrollbar])) .tabs{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none}:host(:not([scrollbar])) .tabs::-webkit-scrollbar{display:none}:host([scrollbar]) .tabs::-webkit-scrollbar{height:var(--mds-tab-scroll-scrollbar-size,calc(var(--spacing,.0025rem)*200));width:var(--mds-tab-scroll-scrollbar-size,calc(var(--spacing,.0025rem)*200))}:host([scrollbar]) .tabs::-webkit-scrollbar-track{background-color:var(--mds-tab-scroll-scrollbar-track-background,rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225)))));border-radius:var(--mds-tab-scroll-scrollbar-radius,0);margin-block:var(--mds-tab-scroll-scrollbar-margin,0);margin-inline:var(--mds-tab-scroll-scrollbar-margin,0)}:host([scrollbar]) .tabs::-webkit-scrollbar-thumb{background-color:var(--mds-tab-scroll-scrollbar-thumb-background,rgb(var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42)))/.3));border-radius:var(--mds-tab-scroll-scrollbar-radius,0)}@supports (scrollbar-color:transparent transparent){.tabs{scrollbar-color:var(--mds-tab-scroll-scrollbar-thumb-background,rgb(var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42)))/.3)) var(--mds-tab-scroll-scrollbar-track-background,rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225)))));scrollbar-width:thin}}.tabs-wrapper-overflow-left,.tabs-wrapper-overflow-right{--size:calc(var(--mds-tab-tabs-padding,calc(var(--spacing,.0025rem) * 200)) * 2);--offset-outside:calc(var(--size) + var(--mds-tab-tabs-overflow-shadow-size,calc(var(--spacing,.0025rem) * 600)));background-color:var(--mds-tab-tabs-background,rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237)))));border-radius:100%;-webkit-box-shadow:var(--mds-tab-tabs-overflow-shadow);box-shadow:var(--mds-tab-tabs-overflow-shadow);content:"";display:inline-flex;height:auto;pointer-events:none;position:absolute;transition-duration:.5s;transition-property:transform;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:var(--size);z-index:2}.tabs-wrapper-overflow-left{inset:0 auto 0 0;-webkit-transform:translateX(calc(var(--offset-outside)*-1));transform:translateX(calc(var(--offset-outside)*-1))}.tabs-wrapper-overflow-right{inset:0 0 0 auto;-webkit-transform:translateX(var(--offset-outside));transform:translateX(var(--offset-outside))}.tabs-wrapper-overflow-left--show{transform:translate(-100%)}.tabs-wrapper-overflow-right--show{transform:translate(100%)}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-tab-item-selected-background:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))))}:host([pref-contrast=more]){--mds-tab-item-selected-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));--mds-tab-tabs-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-tab-tabs-wrapper-shadow-color,rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))))) inset;--mds-tab-tabs-wrapper-shadow-color:rgb(var(--magma-border-strong,var(--magma-tint-border-strong,var(--border-neutral-strong,140 140 140))));--mds-tab-tabs-wrapper-outline-opacity:.3}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-tab-transition-duration:0s}@media (prefers-reduced-motion:reduce){:host{--mds-tab-scroll-behavior:auto}:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-tab-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-tab-item-selected-background:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-tab-item-selected-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));--mds-tab-tabs-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-tab-tabs-wrapper-shadow-color,rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))))) inset;--mds-tab-tabs-wrapper-shadow-color:rgb(var(--magma-border-strong,var(--magma-tint-border-strong,var(--border-neutral-strong,140 140 140))));--mds-tab-tabs-wrapper-outline-opacity:.3}}`;
|
|
49199
49312
|
|
|
49200
49313
|
/**
|
|
49201
49314
|
* @part contents - Selects the container of the tabbed contents elements.
|
|
49202
49315
|
* @part slider - Selects the slider element which is visible when attribute `animation` is set to `slide`.
|
|
49203
49316
|
* @part tabs - Selects the container of `mds-tab-item` list elements.
|
|
49204
|
-
* @slot content - Add `HTML elements` or `components`, one per mds-tab-item added
|
|
49317
|
+
* @slot content - Add `HTML elements` or `components`, one per mds-tab-item added; or none, when the
|
|
49318
|
+
* items are links (`href`) to other pages or places and the page, not the component, shows the
|
|
49319
|
+
* content.
|
|
49205
49320
|
* @slot - Add `mds-tab-item` element/s.
|
|
49206
49321
|
*/
|
|
49207
49322
|
class MdsTab {
|
|
@@ -49217,6 +49332,9 @@ class MdsTab {
|
|
|
49217
49332
|
this.sliderOffsetY = -1;
|
|
49218
49333
|
this.overflowLeft = false;
|
|
49219
49334
|
this.overflowRight = false;
|
|
49335
|
+
/** every item is a link: the strip is a navigation, not a tablist */
|
|
49336
|
+
this.navigation = false;
|
|
49337
|
+
this.hasContent = false;
|
|
49220
49338
|
/**
|
|
49221
49339
|
* Sets if the component distributes item vertically or horzontally
|
|
49222
49340
|
*/
|
|
@@ -49228,6 +49346,7 @@ class MdsTab {
|
|
|
49228
49346
|
this.queryContentItems = () => queryChildrenBySlot(this.element, 'content');
|
|
49229
49347
|
this.updateContentItems = () => {
|
|
49230
49348
|
this.contentItems = this.queryContentItems();
|
|
49349
|
+
this.hasContent = this.contentItems.length > 0;
|
|
49231
49350
|
this.contentItems.forEach((item, key) => {
|
|
49232
49351
|
setAttributeIfEmpty(item, 'role', 'tabpanel');
|
|
49233
49352
|
setAttributeIfEmpty(item, 'aria-labelledby', this.tabItems[key].id);
|
|
@@ -49237,6 +49356,8 @@ class MdsTab {
|
|
|
49237
49356
|
this.setTabsItems = () => {
|
|
49238
49357
|
this.tabItems = Array.from(this.element.querySelectorAll('mds-tab-item'));
|
|
49239
49358
|
this.currentItemIndex = -1;
|
|
49359
|
+
this.navigation =
|
|
49360
|
+
this.tabItems.length > 0 && this.tabItems.every((item) => { var _a; return ((_a = item.href) !== null && _a !== void 0 ? _a : '') !== ''; });
|
|
49240
49361
|
this.tabItems.forEach((item) => {
|
|
49241
49362
|
item.size = this.size;
|
|
49242
49363
|
item.direction = this.direction;
|
|
@@ -49303,6 +49424,9 @@ class MdsTab {
|
|
|
49303
49424
|
}
|
|
49304
49425
|
};
|
|
49305
49426
|
this.scrollTabs = (key) => {
|
|
49427
|
+
// no item selected: nothing to bring into view
|
|
49428
|
+
if (key < 0 || key >= this.tabItems.length)
|
|
49429
|
+
return;
|
|
49306
49430
|
const tabItem = this.tabItems[key];
|
|
49307
49431
|
setTimeout(() => {
|
|
49308
49432
|
this.tabs.scrollLeft =
|
|
@@ -49330,6 +49454,7 @@ class MdsTab {
|
|
|
49330
49454
|
}
|
|
49331
49455
|
componentWillLoad() {
|
|
49332
49456
|
this.setTabsItems();
|
|
49457
|
+
this.hasContent = this.queryContentItems().length > 0;
|
|
49333
49458
|
}
|
|
49334
49459
|
disconnectedCallback() {
|
|
49335
49460
|
this.unsetOverflowCheck();
|
|
@@ -49413,12 +49538,12 @@ class MdsTab {
|
|
|
49413
49538
|
});
|
|
49414
49539
|
}
|
|
49415
49540
|
render() {
|
|
49416
|
-
return (hAsync(Host, { key: '
|
|
49541
|
+
return (hAsync(Host, { key: '95954e67d020c8bbd6a8bfa5202d5dc2826c899e', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("div", { key: '03e8631ae4dd52aa9621992b8a70059ce34b2773', class: clsx('tabs-wrapper', this.fill && 'tabs-wrapper--fill', !this.hasContent && 'tabs-wrapper--no-content') }, this.overflow && (hAsync("div", { key: 'f614eaa74ef4198be3f58ebe7bcd5dfa666b6c32', class: clsx('tabs-wrapper-overflow-left', this.overflowLeft && 'tabs-wrapper-overflow-left--show') })), this.overflow && (hAsync("div", { key: '8b1da6dcb73502dfa2697e053bcc7d1df8f24fbd', class: clsx('tabs-wrapper-overflow-right', this.overflowRight && 'tabs-wrapper-overflow-right--show') })), hAsync("div", { key: '998af9afa3f706f3558f99b73e18c4d4bcff80af', class: "tabs", part: "tabs", role: this.navigation ? undefined : 'tablist' }, hAsync("slot", { key: '867a44aa7b40eed8acf6a93b69312249b20e6954' }), this.animation === 'slide' && (hAsync("div", { key: '846cf260fdd6323ac4eb1a2dbe00528f7a0499c6', class: "slider", part: "slider", style: {
|
|
49417
49542
|
'--mds-tab-slider-width': `${this.sliderWidth}px`,
|
|
49418
49543
|
'--mds-tab-slider-height': `${this.sliderHeight}px`,
|
|
49419
49544
|
'--mds-tab-slider-offset-x': `${this.sliderOffsetX}px`,
|
|
49420
49545
|
'--mds-tab-slider-offset-y': `${this.sliderOffsetY}px`,
|
|
49421
|
-
} })))), hAsync("div", { key: '
|
|
49546
|
+
} })))), hAsync("div", { key: '39dae6e7ace6c90017fb71a6bdd82fa73e06bf8b', class: clsx('contents', !this.hasContent && 'contents--empty'), part: "contents" }, hAsync("slot", { key: '145cabbcd7640c1c121a2c7cdac3974c9c593f79', name: "content", onSlotchange: this.updateContentItems }))));
|
|
49422
49547
|
}
|
|
49423
49548
|
get element() { return getElement(this); }
|
|
49424
49549
|
static get watchers() { return {
|
|
@@ -49457,7 +49582,9 @@ class MdsTab {
|
|
|
49457
49582
|
"sliderOffsetX": [32],
|
|
49458
49583
|
"sliderOffsetY": [32],
|
|
49459
49584
|
"overflowLeft": [32],
|
|
49460
|
-
"overflowRight": [32]
|
|
49585
|
+
"overflowRight": [32],
|
|
49586
|
+
"navigation": [32],
|
|
49587
|
+
"hasContent": [32]
|
|
49461
49588
|
},
|
|
49462
49589
|
"$listeners$": [[0, "mdsTabItemSelect", "changeEventHandler"], [0, "mdsTabItemFocus", "focusEventHandler"]],
|
|
49463
49590
|
"$lazyBundleId$": "-",
|
|
@@ -49490,7 +49617,7 @@ class MdsTabBar {
|
|
|
49490
49617
|
});
|
|
49491
49618
|
}
|
|
49492
49619
|
render() {
|
|
49493
|
-
return (hAsync(Host, { key: '
|
|
49620
|
+
return (hAsync(Host, { key: '284ebcda6507599c6b167cf7fb8d4b5befad7b8a', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("slot", { key: 'fded167bbaca31ccb37e255bc713a54c4c3a6d68' })));
|
|
49494
49621
|
}
|
|
49495
49622
|
get element() { return getElement(this); }
|
|
49496
49623
|
static get style() { return mdsTabBarCss(); }
|
|
@@ -49545,7 +49672,7 @@ class MdsTabBarItem {
|
|
|
49545
49672
|
this.label = sanitizeLabel(newValue);
|
|
49546
49673
|
}
|
|
49547
49674
|
render() {
|
|
49548
|
-
return (hAsync(Host, { key: '
|
|
49675
|
+
return (hAsync(Host, { key: '5b6de7f61e288aa4c50c3b7d36b81f927f2eec21', onClick: this.select, "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("mds-icon", { key: '8eeb467147bb540e5b8e83dc2bfa34f8d9aee634', name: this.icon }), hAsync("mds-text", { key: '147a8156c8931681dc1b29986dc29d6d06832fae', typography: this.typography }, this.label || hAsync("slot", { key: '40f0070c916bafe6b90455197b95b8d1ab5a28c7', onSlotchange: this.onSlotChangeHandler }))));
|
|
49549
49676
|
}
|
|
49550
49677
|
get element() { return getElement(this); }
|
|
49551
49678
|
static get watchers() { return {
|
|
@@ -49592,10 +49719,15 @@ class MdsTabItem {
|
|
|
49592
49719
|
* Specifies the size for the tab item
|
|
49593
49720
|
*/
|
|
49594
49721
|
this.size = 'md';
|
|
49595
|
-
this.
|
|
49722
|
+
this.isLink = () => { var _a; return ((_a = this.href) !== null && _a !== void 0 ? _a : '') !== ''; };
|
|
49723
|
+
this.toggle = (event) => {
|
|
49596
49724
|
if (this.disabled) {
|
|
49597
49725
|
return;
|
|
49598
49726
|
}
|
|
49727
|
+
// a modifier click on a link opens it elsewhere (new tab or window): the strip stays as it is
|
|
49728
|
+
if (this.isLink() && (event.ctrlKey || event.metaKey || event.shiftKey || event.altKey)) {
|
|
49729
|
+
return;
|
|
49730
|
+
}
|
|
49599
49731
|
this.isSelected = !this.isSelected;
|
|
49600
49732
|
if (this.isSelected) {
|
|
49601
49733
|
this.selectedEvent.emit({ target: this.element, value: this.value });
|
|
@@ -49606,6 +49738,10 @@ class MdsTabItem {
|
|
|
49606
49738
|
};
|
|
49607
49739
|
}
|
|
49608
49740
|
validateActive(newValue) {
|
|
49741
|
+
// the item that announced its selection gets `selected` back from the parent: it has
|
|
49742
|
+
// announced it already, a second time would double the parent's mdsTabChange
|
|
49743
|
+
if (this.isSelected === newValue)
|
|
49744
|
+
return;
|
|
49609
49745
|
this.isSelected = newValue;
|
|
49610
49746
|
if (this.isSelected) {
|
|
49611
49747
|
this.selectedEvent.emit({ target: this.element, value: this.value });
|
|
@@ -49616,7 +49752,10 @@ class MdsTabItem {
|
|
|
49616
49752
|
}
|
|
49617
49753
|
render() {
|
|
49618
49754
|
var _a;
|
|
49619
|
-
return (hAsync(Host, { key: '
|
|
49755
|
+
return (hAsync(Host, { key: '1184f88f6c767b249b142cd43c7ac6c47d058093', "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("mds-button", { key: '8f50d5f3ea760886de48ce4b8d45a2c6fac963d2', class: clsx('button', this.selected ? 'selected' : ''), await: this.await, disabled: (_a = this.disabled) !== null && _a !== void 0 ? _a : undefined, href: this.href, icon: this.icon, iconPosition: this.iconPosition, onKeyDown: this.focus, onClick: this.toggle, part: "button",
|
|
49756
|
+
// a tab controls a panel; one with href is a link to another page or place, which
|
|
49757
|
+
// ARIA names as such, the selected one being the current one
|
|
49758
|
+
role: this.isLink() ? 'link' : 'tab', "aria-current": this.isLink() && this.selected ? 'true' : undefined, "aria-expanded": this.expanded === undefined ? undefined : `${this.expanded}`, label: this.label, size: this.size,
|
|
49620
49759
|
// the tab is the inner button: an icon-only item takes its accessible name from the host title
|
|
49621
49760
|
title: this.element.title || undefined, type: this.type })));
|
|
49622
49761
|
}
|
|
@@ -49833,7 +49972,7 @@ class MdsTable {
|
|
|
49833
49972
|
(_b = this.tableBodyObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
|
|
49834
49973
|
}
|
|
49835
49974
|
render() {
|
|
49836
|
-
return (hAsync(Host, { key: '
|
|
49975
|
+
return (hAsync(Host, { key: 'fae3110a4e1c8e8ecd5be52da1a925d8a7ae539f', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("div", { key: '446f011466e88cb6e3e3edda947727351369f76b', class: "table-wrapper", part: "table-wrapper" }, hAsync("table", { key: '960688a9d9024f093c36c4b764253026154fc05e', class: clsx('table', this.interactive && 'table--interactive'), role: "table", part: "table" }, hAsync("slot", { key: '167c9cb9dd5376b5cfede35042516b440bf68964', onSlotchange: this.updateSlottedElements }))), this.selectable && this.hasBatchActions && (hAsync("div", { key: '2357eb34126e9e2798c036d350ec51159704f924', class: clsx('batch-actions-wrapper', this.selectedRows.length > 0 ? 'batch-actions-wrapper--has-selected-rows' : ''), part: "batch-actions-wrapper" }, hAsync("div", { key: '6521689a3e256cbc75ad80608e1b038efdd4eef6', class: "batch-actions", part: "batch-actions" }, hAsync("div", { key: 'd642abba120e8e5d3e6ee31efe4084d4acefe91f', class: "batch-actions-header" }, hAsync("mds-text", { key: '02ddbe7033e04e4a51a736773324bd6edc404549', class: "batch-actions-label", typography: "label" }, this.t.get('batchActions')), hAsync("mds-badge", { key: 'd55060c0e4b0f2efbde5a32c944686183d7a32e2', label: `${this.selectedRows.length}`, variant: "dark", tone: "outline", typography: "label" })), hAsync("slot", { key: '447c233a53e49dc41b005f1f6df0fdc0ca2ece06', name: "batch-action" }))))));
|
|
49837
49976
|
}
|
|
49838
49977
|
get host() { return getElement(this); }
|
|
49839
49978
|
static get watchers() { return {
|
|
@@ -49872,7 +50011,7 @@ class MdsTableBody {
|
|
|
49872
50011
|
registerInstance(this, hostRef);
|
|
49873
50012
|
}
|
|
49874
50013
|
render() {
|
|
49875
|
-
return (hAsync(Host, { key: '
|
|
50014
|
+
return (hAsync(Host, { key: '79b5e5d003a209b6e7d1e8fc257be5fbe4001bfa', role: "rowgroup", "pref-animation": preferenceStore.state.animation }, hAsync("slot", { key: 'd4c784157c6b2cc0d0888229b7962dcade8de7a8' })));
|
|
49876
50015
|
}
|
|
49877
50016
|
static get style() { return mdsTableBodyCss(); }
|
|
49878
50017
|
static get cmpMeta() { return {
|
|
@@ -49901,7 +50040,7 @@ class MdsTableCell {
|
|
|
49901
50040
|
setAttributeIfEmpty(this.host, 'role', 'cell');
|
|
49902
50041
|
}
|
|
49903
50042
|
render() {
|
|
49904
|
-
return (hAsync(Host, { key: '
|
|
50043
|
+
return (hAsync(Host, { key: '93291756376d56269a5e8849be629d6b07f51d43', "pref-animation": preferenceStore.state.animation }, hAsync("slot", { key: 'be5d3de3a506b377eb3178aa5bc21d8aaffa2b47' })));
|
|
49905
50044
|
}
|
|
49906
50045
|
get host() { return getElement(this); }
|
|
49907
50046
|
static get style() { return mdsTableCellCss(); }
|
|
@@ -49927,7 +50066,7 @@ class MdsTableFooter {
|
|
|
49927
50066
|
registerInstance(this, hostRef);
|
|
49928
50067
|
}
|
|
49929
50068
|
render() {
|
|
49930
|
-
return (hAsync(Host, { key: '
|
|
50069
|
+
return (hAsync(Host, { key: 'f7cb67bab4d05fc44b64f5b510939d0c4b4cc8a0', role: "row", "pref-animation": preferenceStore.state.animation }, hAsync("slot", { key: '2be0d385f84d0c9c9b5648618995868651432a62' })));
|
|
49931
50070
|
}
|
|
49932
50071
|
static get style() { return mdsTableFooterCss(); }
|
|
49933
50072
|
static get cmpMeta() { return {
|
|
@@ -50031,7 +50170,7 @@ class MdsTableHeader {
|
|
|
50031
50170
|
this.hasActions = ((_a = this.table) === null || _a === void 0 ? void 0 : _a.querySelector('mds-table-row > [slot="action"]')) != null;
|
|
50032
50171
|
}
|
|
50033
50172
|
render() {
|
|
50034
|
-
return (hAsync(Host, { key: '
|
|
50173
|
+
return (hAsync(Host, { key: 'faae9c3b8aa85843f270e0ea611549c2b68624ca', role: "row", "pref-animation": preferenceStore.state.animation }, this.selectable && (hAsync("mds-table-cell", { key: '36eadb6943b2f3522c02b6d8d5b57ddc3bed5e29', class: "selection", role: "columnheader" }, hAsync("div", { key: '27b619999706261e58fd888491203466605c85b9', class: "checkbox-wrapper" }, hAsync("mds-input-switch", { key: 'ee0b1be23bfa82dba11df8ed5d28bd5449f88783', class: "checkbox", title: this.t.get(this.selectAll ? 'selectNoneRows' : 'selectAllRows'), type: "checkbox", onMdsInputSwitchChange: this.handleSelectAllChange, indeterminate: this.indeterminate })))), hAsync("slot", { key: 'e0df4fb360d6c12aa05d0b2996a2023a8857ca9d' }), this.hasActions && (hAsync("mds-table-header-cell", { key: 'bd3a131a71c4c615e01995bdf83983051f7ccdd4', part: "actions", class: "actions", label: this.t.get('actions') }))));
|
|
50035
50174
|
}
|
|
50036
50175
|
get host() { return getElement(this); }
|
|
50037
50176
|
static get style() { return mdsTableHeaderCss(); }
|
|
@@ -50171,7 +50310,7 @@ class MdsTableHeaderCell {
|
|
|
50171
50310
|
}
|
|
50172
50311
|
}
|
|
50173
50312
|
render() {
|
|
50174
|
-
return (hAsync(Host, { key: '
|
|
50313
|
+
return (hAsync(Host, { key: '70a39842606dfe5bcb7cc9d83069c4595df522d3', role: "columnheader", "aria-sort": this.direction, "pref-animation": preferenceStore.state.animation }, this.sortable ? (hAsync("mds-button", { class: "action", icon: clsx(this.direction === 'none' && miBaselineUnfoldMore, this.direction === 'ascending' && miBaselineKeyboardArrowUp, this.direction === 'descending' && miBaselineKeyboardArrowDown), "icon-position": "right", onClick: this.sort, tone: "text", variant: "dark", size: "sm", part: "action", label: this.label })) : (hAsync("mds-text", { class: "label", typography: "label", part: "label" }, this.label))));
|
|
50175
50314
|
}
|
|
50176
50315
|
get element() { return getElement(this); }
|
|
50177
50316
|
static get watchers() { return {
|
|
@@ -50258,31 +50397,37 @@ class MdsTableRow {
|
|
|
50258
50397
|
componentWillLoad() {
|
|
50259
50398
|
this.hasActions = hasChildWithSlot(this.host, 'action');
|
|
50260
50399
|
}
|
|
50400
|
+
connectedCallback() {
|
|
50401
|
+
// a row moved or re-attached after its first load lost the observer in disconnectedCallback:
|
|
50402
|
+
// React reveals a streamed SSR boundary that way, moving the rows hydrated in a hidden
|
|
50403
|
+
// container, so the width measured there (0, or nothing yet) would never be updated
|
|
50404
|
+
this.observeActions();
|
|
50405
|
+
}
|
|
50261
50406
|
componentDidLoad() {
|
|
50262
50407
|
// needed to capture sizer width when become visible
|
|
50263
|
-
|
|
50264
|
-
this.initObserver(this.actions);
|
|
50408
|
+
this.observeActions();
|
|
50265
50409
|
}
|
|
50266
|
-
|
|
50267
|
-
|
|
50410
|
+
observeActions() {
|
|
50411
|
+
var _a;
|
|
50412
|
+
// nothing to measure on the server; the actions are not rendered before the first load
|
|
50413
|
+
if (!Build.isBrowser || !this.actions)
|
|
50414
|
+
return;
|
|
50415
|
+
(_a = this.observer) !== null && _a !== void 0 ? _a : (this.observer = new ResizeObserver((entry) => {
|
|
50268
50416
|
var _a, _b, _c;
|
|
50269
50417
|
// the cell is hidden while the slot is empty: no border box to read
|
|
50270
50418
|
this.sizerWidth = `${(_c = (_b = (_a = entry[0].borderBoxSize) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.inlineSize) !== null && _c !== void 0 ? _c : 0}px`;
|
|
50271
|
-
});
|
|
50272
|
-
|
|
50419
|
+
}));
|
|
50420
|
+
// a new observation always reports the current size first
|
|
50421
|
+
this.observer.observe(this.actions);
|
|
50273
50422
|
}
|
|
50274
50423
|
disconnectedCallback() {
|
|
50275
|
-
|
|
50276
|
-
|
|
50424
|
+
var _a;
|
|
50425
|
+
(_a = this.observer) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
50277
50426
|
}
|
|
50278
50427
|
render() {
|
|
50279
|
-
return (hAsync(Host, { key: '
|
|
50280
|
-
|
|
50281
|
-
|
|
50282
|
-
minWidth: this.sizerWidth,
|
|
50283
|
-
} }), hAsync("div", { key: '18505dd8b6199426bd08b5944336bd1405cdad3c', class: "actions-view" }, hAsync("div", { key: '8f61f4a774ca45f304d5fb3db75ff442d6336881', class: "actions", ref: (el) => (this.actions = el), style: {
|
|
50284
|
-
marginRight: `calc(${this.sizerWidth} + var(--mds-table-cell-padding))`,
|
|
50285
|
-
} }, hAsync("slot", { key: '903ab2118cf6c450e9065a5d9ae5773ab6f3f96e', name: "action", onSlotchange: this.onActionSlotChange })))))));
|
|
50428
|
+
return (hAsync(Host, { key: '70da55c262cfaea7b79716c601b1e4114ef19ef4', role: "row", "pref-animation": preferenceStore.state.animation }, this.selectable && (hAsync("mds-table-cell", { key: 'd1ba66ad6eca2e3d56a7cc0735f8b24efe3c2080', class: "selection-cell" }, hAsync("div", { key: 'cb46c8c646a5b91d263ea4db7d0b3cbf7a4113a1', class: "checkbox-wrapper" }, hAsync("mds-input-switch", { key: '797af982d61b9c1b203b9f8bf89f7106e071321a', title: this.t.get(this.selected ? 'unselectRow' : 'selectRow'), type: "checkbox", checked: this.selected, onMdsInputSwitchChange: this.handleSelectionChange })))), hAsync("slot", { key: '6947f346831bb2c4c79efeafe6205373cbebc939' }), isSafari() && (hAsync("mds-table-cell", { key: '0ff41dc7c501018e350e8d854bda54446c1d54cb', class: clsx('actions-cell', 'actions-cell--disable', !this.hasActions && 'actions-cell--hidden') }, hAsync("div", { key: 'ab6e6b3847b8b78b76c686ec8dd6dc6a609f9d8e', class: "actions" }, hAsync("slot", { key: 'b274d100df1dd6d6e759f39c5bb2bf6a66ead01c', name: "action", onSlotchange: this.onActionSlotChange })))), !isSafari() && (hAsync("mds-table-cell", { key: '91e52c9c97a3ee56909311556bd0e345721acee8', class: clsx('actions-cell', !this.hasActions && 'actions-cell--hidden') }, hAsync("div", { key: 'bbd385157d1fc6e71f732a01e96ecf7d7ce8d373', class: "actions-sizer", style: Object.assign({ minHeight: '1px' }, (this.sizerWidth && { maxWidth: this.sizerWidth, minWidth: this.sizerWidth })) }), hAsync("div", { key: 'bb3918db5cb10fccef1b5fd5ebd630517c28516f', class: "actions-view" }, hAsync("div", { key: '8ee6cc2d2a6957ead0193c52f5f292e8a3b011f8', class: "actions", ref: (el) => (this.actions = el), style: this.sizerWidth !== undefined
|
|
50429
|
+
? { marginRight: `calc(${this.sizerWidth} + var(--mds-table-cell-padding))` }
|
|
50430
|
+
: undefined }, hAsync("slot", { key: '531dcef1d4a17059e9f15f4383e6c3c70b2f59d9', name: "action", onSlotchange: this.onActionSlotChange })))))));
|
|
50286
50431
|
}
|
|
50287
50432
|
get host() { return getElement(this); }
|
|
50288
50433
|
static get style() { return mdsTableRowCss(); }
|
|
@@ -50619,7 +50764,7 @@ class MdsText {
|
|
|
50619
50764
|
}
|
|
50620
50765
|
render() {
|
|
50621
50766
|
var _a;
|
|
50622
|
-
return (hAsync(Host, { key: '
|
|
50767
|
+
return (hAsync(Host, { key: '3733097939e752ca80b499361e2503e34a8574ce', "pref-animation": preferenceStore.state.animation }, hAsync(this.tag, { key: '66b7974e158a00d4776c7948320aef68a5e1767f', class: "text" }, ((_a = this.text) !== null && _a !== void 0 ? _a : '') === '' ? hAsync("slot", null) : this.text)));
|
|
50623
50768
|
}
|
|
50624
50769
|
get host() { return getElement(this); }
|
|
50625
50770
|
static get watchers() { return {
|
|
@@ -50736,7 +50881,7 @@ class MdsToast {
|
|
|
50736
50881
|
this.reloadTimeListeners(!!this.visible);
|
|
50737
50882
|
}
|
|
50738
50883
|
render() {
|
|
50739
|
-
return (hAsync(Host, { key: '
|
|
50884
|
+
return (hAsync(Host, { key: 'cad012d09a27f0ba79bff9862780688a6221f41f', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("div", { key: '4da6c79193f6f786e862560a2405bb3edb0b815d', class: clsx('dialog', this.position && `to-${this.position}`, this.visible && 'dialog--visible') }, hAsync("slot", { key: 'dc21826b3cfe6bc1a49918b15a6718b525985913', name: "icon" }), this.hasText && (hAsync("mds-text", { key: '341d370fb89f96825b1fd0eae0b9c13bf19ac3c5', typography: "caption" }, hAsync("slot", { key: '5376e8f9f2595fd839cab929e1cb3dc359626dd4' }))), hAsync("div", { key: '594b9b028d9ba258461bc25f7287b4daf21fcca8', class: clsx('actions', !this.hasActions && 'actions--hidden') }, hAsync("slot", { key: 'ca1090e8720cc4629a89f44323498d5ee7dc1447', name: "action", onSlotchange: this.onActionSlotChange })))));
|
|
50740
50885
|
}
|
|
50741
50886
|
get hostElement() { return getElement(this); }
|
|
50742
50887
|
static get watchers() { return {
|
|
@@ -50884,7 +51029,7 @@ class MdsTooltip {
|
|
|
50884
51029
|
this.floatingController.dismiss();
|
|
50885
51030
|
}
|
|
50886
51031
|
render() {
|
|
50887
|
-
return (hAsync(Host, { key: '
|
|
51032
|
+
return (hAsync(Host, { key: 'e4ba07cc2a4c5e90fb6bb8592418456478442956', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("div", { key: '516c2ef0b98acf756b6e4687b55d88e39ce45089', class: "arrow", innerHTML: arrowSvg }), hAsync("mds-text", { key: '4911f499cdd3aaf71b3f95afe60824a73e2118c2', class: "text", typography: this.typography, part: "text" }, hAsync("slot", { key: 'fa654afb39b1052afc68e4f7f2abb6d6f7253899' }))));
|
|
50888
51033
|
}
|
|
50889
51034
|
get host() { return getElement(this); }
|
|
50890
51035
|
static get watchers() { return {
|
|
@@ -51048,7 +51193,7 @@ class MdsTree {
|
|
|
51048
51193
|
}
|
|
51049
51194
|
}
|
|
51050
51195
|
render() {
|
|
51051
|
-
return (hAsync(Host, { key: '
|
|
51196
|
+
return (hAsync(Host, { key: '78fb744b2ced74fab6bbbfe7ef272b25d3f90c89' }, hAsync("slot", { key: '8187084c990a6b59ce8d8abcfa6dba4c47bc53e9', onSlotchange: this.updateElements })));
|
|
51052
51197
|
}
|
|
51053
51198
|
get host() { return getElement(this); }
|
|
51054
51199
|
static get watchers() { return {
|
|
@@ -51242,7 +51387,7 @@ class MdsTreeItem {
|
|
|
51242
51387
|
this.childrenElement.removeEventListener('transitionend', this.checkChildrenTransitionEnd);
|
|
51243
51388
|
}
|
|
51244
51389
|
render() {
|
|
51245
|
-
return (hAsync(Host, { key: '
|
|
51390
|
+
return (hAsync(Host, { key: 'c492eae01432eccf6db389a411828c41c4e5b617', "resolved-actions": this.resolvedActions }, hAsync("div", { key: 'e1c6e1444188aecc1121b4320524fcdfe8c01fc8', class: clsx('header', this.hasChildren && 'header--has-children') }, hAsync("div", { key: '01fc9e13817f3066538352a96923b9f32df30b83', class: "tree-node" }, hAsync("div", { key: '9f5c3c743112a1deac8f427720b567bdb52dcd9c', class: "tree-branch" }), hAsync("div", { key: 'b4e5124438fddaf903852b473ed150eb7a1f557a', class: "tree-dot" })), hAsync("div", { key: 'cf33e2eebeebc07ada3010bf090ef0b28c95bb25', class: "toggle-icon" }, hAsync("mds-button", { key: '8c395b5cff84e4084402c8c7ef9153faaf1d2df8', await: this.await, onClick: this.onClick, icon: !this.await ? this.currentToggleIcon : undefined, title: this.t.get(this.expanded ? 'collapse' : 'expand', { label: this.label }), variant: "dark", tone: "text", size: "sm" })), hAsync("div", { key: '069373193cdb746766238011e9c7703ebdf5e2a2', class: "title" }, hAsync("mds-button", { key: 'fafece4aafad4443669ae50cdc81e951c83c3300', class: clsx('label-action', this.await && 'label-action--await'), disabled: this.await, icon: this.icon, onClick: this.onClick, variant: "dark", tone: "text", truncate: this.truncate, label: this.label }), hAsync("div", { key: 'd285800720401b130c9264604ec263f8db3a0664', class: clsx('actions-container', this.hasActions && 'actions-container--has-actions'), part: "actions-container" }, hAsync("div", { key: 'cb3eb7c5955d1368225eebd60551f8955d7b9235', class: "actions", part: "actions-list" }, hAsync("slot", { key: 'f64107d9d9fd87881657665d4604ee12f9ad3250', name: "action", onSlotchange: this.onActionSlotChange }))))), hAsync("div", { key: 'df2d3d4750310be51fe225c0ca8ed5897dfff283', class: clsx('children', this.hasChildren && 'children--has-children', this.expanded && 'children--expanded') }, hAsync("slot", { key: '7c12146a94b60e43383ba0208c0bc64ccbf9304d' }))));
|
|
51246
51391
|
}
|
|
51247
51392
|
get host() { return getElement(this); }
|
|
51248
51393
|
static get watchers() { return {
|
|
@@ -51370,7 +51515,7 @@ class MdsUrlView {
|
|
|
51370
51515
|
}
|
|
51371
51516
|
render() {
|
|
51372
51517
|
var _a, _b;
|
|
51373
|
-
return (hAsync(Host, { key: '
|
|
51518
|
+
return (hAsync(Host, { key: '5d5b18b08ab6248208ed93e40072c4d04876e9d7', "aria-label": this.t.get('previewURL', { url: this.urlDomain(this.src) }), "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("div", { key: '3218cf559118a33ac33941392baeb1677f007fdb', class: "window" }, hAsync("div", { key: '21efea0113b7fd6a05af0e74d5274bea0e5d7270', class: "header" }, hAsync("mds-icon", { key: '6424c1bce6d7d3f9a0a5a155574c2b310b825a4e', class: "window-icon", name: (_a = this.icon) !== null && _a !== void 0 ? _a : miBaselineExplore }), hAsync("mds-text", { key: '7d6117345c8401c6fdbf90ec22855c380c5c5af1', class: "title", typography: "caption" }, (_b = this.label) !== null && _b !== void 0 ? _b : this.urlDomain(this.src)), hAsync("mds-button", { key: 'b179e9ec2295fd5dcd22db2d63cc0eb6aaf2ed9e', title: this.t.get('close'), class: "action-close", variant: "dark", tone: "text", icon: miBaselineClose, onClick: this.closeUrlView })), hAsync("iframe", { key: 'cbefb075bb231e5dbf1db14dd456758e27f757a7', class: "iframe", "aria-label": this.t.get('iframeURL', { url: this.urlDomain(this.src) }), src: this.src, loading: this.loading }))));
|
|
51374
51519
|
}
|
|
51375
51520
|
get host() { return getElement(this); }
|
|
51376
51521
|
static get style() { return mdsUrlViewCss(); }
|
|
@@ -51450,7 +51595,7 @@ class MdsUsage {
|
|
|
51450
51595
|
}
|
|
51451
51596
|
render() {
|
|
51452
51597
|
var _a;
|
|
51453
|
-
return (hAsync(Host, { key: '
|
|
51598
|
+
return (hAsync(Host, { key: 'cf0c6b62fc4f8f7a297605ca77ff16067bb542d3', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("div", { key: 'd7c92de2944edd302cb06525c0ee4a43a6528a14', class: "header", part: "header" }, hAsync("mds-icon", { key: '7bdfd0cf86f2e47ba2c1ffe3d6346652be3ed8d1', name: "mi/baseline/info", part: "icon" }), hAsync("mds-text", { key: '335f96253125a0019a03233e0367595f3bc53be1', typography: "label", class: "label", part: "label" }, (_a = this.alias) !== null && _a !== void 0 ? _a : this.t.get(this.variant))), hAsync("div", { key: 'b70f017128d80ff0bfc24b0ff3935212d17b0a08', class: "content", role: this.variant === 'do' || this.variant === 'info' ? 'insertion' : 'deletion' }, hAsync("slot", { key: 'ea81f6077c8842d48ef63d7f041d92199b64925e' }))));
|
|
51454
51599
|
}
|
|
51455
51600
|
static get style() { return mdsUsageCss(); }
|
|
51456
51601
|
static get cmpMeta() { return {
|
|
@@ -51503,7 +51648,7 @@ class MdsVideoWall {
|
|
|
51503
51648
|
this.hasContent = hasChildWithSlot(this.hostElement, 'content');
|
|
51504
51649
|
}
|
|
51505
51650
|
render() {
|
|
51506
|
-
return (hAsync(Host, { key: '
|
|
51651
|
+
return (hAsync(Host, { key: '94928e6afc0142c8082518a25b2f594a05325ac2' }, this.noise !== 'none' && (hAsync("div", { key: 'e7a8161a371b621804bfac37d10ba4bf883ed3f8', "aria-hidden": "true", class: clsx('noise', `noise--${this.noise}`) })), hAsync("video", { key: 'dd8e93a8571d735b0815074c5303d8b4ae2df0f5', "aria-hidden": "true", autoplay: this.autoplay, loop: this.loop, muted: this.muted, poster: this.poster, preload: this.preload, src: this.src }, hAsync("slot", { key: 'a40be3e398a343c0bfdeab3b434be926aa88db37' })), hAsync("div", { key: '1c9b4531760bb68227dbaf1372d570baa56816b2', class: clsx('content', !this.hasContent && 'content--hidden') }, hAsync("slot", { key: '9d71e618a2662408f1dc48fc2191f187529f816b', name: "content", onSlotchange: this.onContentSlotChange }))));
|
|
51507
51652
|
}
|
|
51508
51653
|
get hostElement() { return getElement(this); }
|
|
51509
51654
|
static get style() { return mdsVideoWallCss(); }
|
|
@@ -51540,7 +51685,7 @@ class MdsZero {
|
|
|
51540
51685
|
registerInstance(this, hostRef);
|
|
51541
51686
|
}
|
|
51542
51687
|
render() {
|
|
51543
|
-
return (hAsync(Host, { key: '
|
|
51688
|
+
return (hAsync(Host, { key: 'c81499814fbed3b55f7428fa30386d7896575d11', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("slot", { key: '9a564f05cc0aae68807d70d1ae293daae88d17f7' }), hAsync("div", { key: '6bb77e2d7e8779b2c377d63a7b2c634993c97f69', class: "contents", part: "contents" }, hAsync("slot", { key: '6043e14df46b00260d660e85fc04ebd6510ea10b', name: "content" })), hAsync("footer", { key: '9431be5fb6ef039047d1e9bab5cd26faf2054449', class: "actions", part: "actions" }, hAsync("slot", { key: '99702bdea1306673e30956b8c7a3c72e37060d56', name: "action" }))));
|
|
51544
51689
|
}
|
|
51545
51690
|
static get style() { return mdsZeroCss(); }
|
|
51546
51691
|
static get cmpMeta() { return {
|