@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
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,d as o,h as r,e as a,g as t}from"./p-BxPbQB28.js";import{m as l}from"./p-J-ikDhyq.js";import{K as n}from"./p-KRu9I7dw.js";import{L as s}from"./p-Kv1yahtR.js";import{p as b}from"./p-7-TP6wnI.js";var d={deleteLabel:"Αφαίρεση"},i={deleteLabel:"Remove"},c={deleteLabel:"Eliminar"},m={deleteLabel:"Rimuovi"};const g=class{constructor(r){e(this,r),this.deleteEvent=o(this,"mdsNoteDelete",7),this.km=new n,this.t=new s({el:d,en:i,es:c,it:m}),this.deletable=!1,this.variant="yellow",this.onClickClose=()=>{this.deleteEvent.emit()}}componentDidLoad(){this.km.addElement(this.host),this.km.attachClickBehavior()}componentDidUpdate(){if(this.deletable)return this.km.addElement(this.host),void this.km.attachClickBehavior();this.km.detachClickBehavior()}disconnectedCallback(){this.km.detachClickBehavior()}render(){return r(a,{key:"834eb96c0cefd2758cf3c6d0e202031e7b050b40",role:"note","pref-animation":b.state.animation,"pref-contrast":b.state.contrast,"pref-mode":b.state.mode,"pref-theme-scheme":b.state["theme-scheme"]},this.deletable&&r("mds-button",{key:"f7e74b040a88d1509eece4348230331e4d570068",title:this.t.get("deleteLabel"),icon:l,class:"button-close",variant:"dark",tone:"text",onClick:this.onClickClose}),r("slot",{key:"5e107d543fd238ab2e65f6fc8a8f4e6ab7861a67",name:"title"}),r("slot",{key:"afa35d6ba742b9e99d057ecc0ed252cd344b1a6d"}),r("div",{key:"5c94a3d5154fc4743ac862faee7c41b36969ab1f","aria-hidden":"true",class:"fold"}))}get host(){return t(this)}};g.style='@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-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-note-background:rgb(var(--label-yellow-10,253 236 186));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-fold-color:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));--mds-note-fold-size:40px;--mds-note-selection-background:var(--magma-selection-background,rgb(var(--label-sky-09,185 231 251)));--mds-note-selection-color:var(--magma-selection-color,rgb(var(--label-sky-01,4 48 68)));--mds-note-transition-duration:var(--duration-300,.3s);--private-note-transition-duration:var(--mds-note-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-note-background,rgb(var(--label-yellow-10,253 236 186)));border-radius:var(--radius-3xs,4px);color:var(--mds-note-color,rgb(var(--label-yellow-02,87 67 3)));display:grid;gap:calc(var(--spacing,.0025rem)*200);overflow:hidden;padding:calc(var(--spacing,.0025rem)*600);position:relative;-webkit-transition-duration:var(--private-note-transition-duration);transition-duration:var(--private-note-transition-duration);transition-property:color,background-color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host ::slotted(mds-text){--mds-text-selection-background:var(--mds-note-selection-background,var(--magma-selection-background,rgb(var(--label-sky-09,185 231 251))));--mds-text-selection-color:var(--mds-note-selection-color,var(--magma-selection-color,rgb(var(--label-sky-01,4 48 68))))}:host([deletable]:not([deletable=false])){padding-right:calc(var(--spacing,.0025rem)*1600)}:host([deletable]:not([deletable=false])) .button-close{position:absolute;right:calc(var(--spacing,.0025rem)*400);top:calc(var(--spacing,.0025rem)*400)}.fold{border-color:#0000 #0000 var(--mds-note-fold-color,rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))))) #0000;border-style:solid;border-width:0 0 var(--mds-note-fold-size,40px) var(--mds-note-fold-size,40px);bottom:0;display:block;filter:drop-shadow(0 0 var(--mds-note-fold-size,40px) var(--mds-note-color,rgb(var(--label-yellow-02,87 67 3))));height:0;opacity:.4;pointer-events:none;position:absolute;right:0;-webkit-transition-duration:inherit;transition-duration:inherit;transition-property:border;width:0}.button-close{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:#0000;border-radius:var(--radius-full,1000px);cursor:pointer;fill:var(--mds-note-color,rgb(var(--label-yellow-02,87 67 3)));padding:calc(var(--spacing,.0025rem)*100);-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);transition-property:background-color,fill,outline,outline-offset;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.button-close:hover{background-color:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255)))/.5)}.title{align-items:flex-start;display:flex;gap:calc(var(--spacing,.0025rem)*400)}.title .button-close{margin-left:auto}:host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-09,253 214 221));--mds-note-color:rgb(var(--label-amaranth-02,131 8 29));--mds-note-selection-background:rgb(var(--label-amaranth-08,252 197 207));--mds-note-selection-color:rgb(var(--label-amaranth-04,213 12 47))}:host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-09,151 237 252));--mds-note-color:rgb(var(--label-aqua-02,2 75 88));--mds-note-selection-background:rgb(var(--label-aqua-08,99 229 251));--mds-note-selection-color:rgb(var(--label-aqua-04,4 122 143))}:host([variant=blue]){--mds-note-background:rgb(var(--label-blue-09,216 222 254));--mds-note-color:rgb(var(--label-blue-02,7 39 192));--mds-note-selection-background:rgb(var(--label-blue-08,200 210 253));--mds-note-selection-color:rgb(var(--label-blue-04,63 94 248))}:host([variant=green]){--mds-note-background:rgb(var(--label-green-09,165 240 193));--mds-note-color:rgb(var(--label-green-02,14 80 38));--mds-note-selection-background:rgb(var(--label-green-08,125 232 164));--mds-note-selection-color:rgb(var(--label-green-04,22 128 61))}:host([variant=lime]){--mds-note-background:rgb(var(--label-lime-09,189 239 111));--mds-note-color:rgb(var(--label-lime-02,49 76 8));--mds-note-selection-background:rgb(var(--label-lime-08,159 232 46));--mds-note-selection-color:rgb(var(--label-lime-04,81 124 13))}:host([variant=orange]){--mds-note-background:rgb(var(--label-orange-09,253 217 191));--mds-note-color:rgb(var(--label-orange-02,114 48 3));--mds-note-selection-background:rgb(var(--label-orange-08,253 201 166));--mds-note-selection-color:rgb(var(--label-orange-04,185 78 5))}:host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-09,251 213 232));--mds-note-color:rgb(var(--label-orchid-02,127 13 70));--mds-note-selection-background:rgb(var(--label-orchid-08,249 197 223));--mds-note-selection-color:rgb(var(--label-orchid-04,206 21 113))}:host([variant=purple]){--mds-note-background:rgb(var(--label-purple-09,235 216 253));--mds-note-color:rgb(var(--label-purple-02,90 8 168));--mds-note-selection-background:rgb(var(--label-purple-08,228 202 252));--mds-note-selection-color:rgb(var(--label-purple-04,150 51 245))}:host([variant=red]){--mds-note-background:rgb(var(--label-red-09,250 215 215));--mds-note-color:rgb(var(--label-red-02,131 17 17));--mds-note-selection-background:rgb(var(--label-red-08,248 201 201));--mds-note-selection-color:rgb(var(--label-red-04,212 28 28))}:host([variant=sky]){--mds-note-background:rgb(var(--label-sky-09,185 231 251));--mds-note-color:rgb(var(--label-sky-02,6 73 104));--mds-note-selection-background:rgb(var(--label-sky-08,157 220 249));--mds-note-selection-color:rgb(var(--label-sky-04,10 118 167))}:host([variant=violet]){--mds-note-background:rgb(var(--label-violet-09,229 218 253));--mds-note-color:rgb(var(--label-violet-02,65 11 190));--mds-note-selection-background:rgb(var(--label-violet-08,219 205 252));--mds-note-selection-color:rgb(var(--label-violet-04,126 73 245))}:host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-09,251 221 131));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-selection-background:rgb(var(--label-yellow-08,249 207 78));--mds-note-selection-color:rgb(var(--label-yellow-04,141 107 5))}: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-note-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-08,252 197 207));--mds-note-fold-color:rgb(var(--label-amaranth-06,248 138 157));--mds-note-color:rgb(var(--label-amaranth-02,131 8 29));--mds-note-selection-background:rgb(var(--label-amaranth-07,250 170 183));--mds-note-selection-color:rgb(var(--label-amaranth-03,170 10 37))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-08,99 229 251));--mds-note-fold-color:rgb(var(--label-aqua-06,6 186 217));--mds-note-color:rgb(var(--label-aqua-02,2 75 88));--mds-note-selection-background:rgb(var(--label-aqua-07,7 208 243));--mds-note-selection-color:rgb(var(--label-aqua-03,3 97 114))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=blue]){--mds-note-background:rgb(var(--label-blue-08,200 210 253));--mds-note-fold-color:rgb(var(--label-blue-06,149 166 251));--mds-note-color:rgb(var(--label-blue-02,7 39 192));--mds-note-selection-background:rgb(var(--label-blue-07,175 189 252));--mds-note-selection-color:rgb(var(--label-blue-03,11 51 246))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=green]){--mds-note-background:rgb(var(--label-green-08,125 232 164));--mds-note-fold-color:rgb(var(--label-green-06,34 195 93));--mds-note-color:rgb(var(--label-green-02,14 80 38));--mds-note-selection-background:rgb(var(--label-green-07,44 218 108));--mds-note-selection-color:rgb(var(--label-green-03,18 103 49))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=lime]){--mds-note-background:rgb(var(--label-lime-08,159 232 46));--mds-note-fold-color:rgb(var(--label-lime-06,123 189 20));--mds-note-color:rgb(var(--label-lime-02,49 76 8));--mds-note-selection-background:rgb(var(--label-lime-07,137 211 23));--mds-note-selection-color:rgb(var(--label-lime-03,64 99 11))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=orange]){--mds-note-background:rgb(var(--label-orange-08,253 201 166));--mds-note-fold-color:rgb(var(--label-orange-06,250 143 69));--mds-note-color:rgb(var(--label-orange-02,114 48 3));--mds-note-selection-background:rgb(var(--label-orange-07,252 174 121));--mds-note-selection-color:rgb(var(--label-orange-03,147 63 4))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-08,249 197 223));--mds-note-fold-color:rgb(var(--label-orchid-06,243 137 189));--mds-note-color:rgb(var(--label-orchid-02,127 13 70));--mds-note-selection-background:rgb(var(--label-orchid-07,246 169 207));--mds-note-selection-color:rgb(var(--label-orchid-03,165 17 90))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=sky]){--mds-note-background:rgb(var(--label-sky-08,157 220 249));--mds-note-fold-color:rgb(var(--label-sky-06,47 182 243));--mds-note-color:rgb(var(--label-sky-02,6 73 104));--mds-note-selection-background:rgb(var(--label-sky-07,106 203 246));--mds-note-selection-color:rgb(var(--label-sky-03,8 94 133))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=violet]){--mds-note-background:rgb(var(--label-violet-08,219 205 252));--mds-note-fold-color:rgb(var(--label-violet-06,184 156 250));--mds-note-color:rgb(var(--label-violet-02,65 11 190));--mds-note-selection-background:rgb(var(--label-violet-07,202 181 251));--mds-note-selection-color:rgb(var(--label-violet-03,87 20 242))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-08,249 207 78));--mds-note-fold-color:rgb(var(--label-yellow-06,214 163 7));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-selection-background:rgb(var(--label-yellow-07,239 183 8));--mds-note-selection-color:rgb(var(--label-yellow-03,112 85 4))}:host([pref-contrast=more]){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-contrast=more]) .fold{bottom:calc(var(--spacing,.0025rem)*50);right:calc(var(--spacing,.0025rem)*50)}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion: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-note-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-08,252 197 207));--mds-note-fold-color:rgb(var(--label-amaranth-06,248 138 157));--mds-note-color:rgb(var(--label-amaranth-02,131 8 29));--mds-note-selection-background:rgb(var(--label-amaranth-07,250 170 183));--mds-note-selection-color:rgb(var(--label-amaranth-03,170 10 37))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-08,99 229 251));--mds-note-fold-color:rgb(var(--label-aqua-06,6 186 217));--mds-note-color:rgb(var(--label-aqua-02,2 75 88));--mds-note-selection-background:rgb(var(--label-aqua-07,7 208 243));--mds-note-selection-color:rgb(var(--label-aqua-03,3 97 114))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=blue]){--mds-note-background:rgb(var(--label-blue-08,200 210 253));--mds-note-fold-color:rgb(var(--label-blue-06,149 166 251));--mds-note-color:rgb(var(--label-blue-02,7 39 192));--mds-note-selection-background:rgb(var(--label-blue-07,175 189 252));--mds-note-selection-color:rgb(var(--label-blue-03,11 51 246))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=green]){--mds-note-background:rgb(var(--label-green-08,125 232 164));--mds-note-fold-color:rgb(var(--label-green-06,34 195 93));--mds-note-color:rgb(var(--label-green-02,14 80 38));--mds-note-selection-background:rgb(var(--label-green-07,44 218 108));--mds-note-selection-color:rgb(var(--label-green-03,18 103 49))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=lime]){--mds-note-background:rgb(var(--label-lime-08,159 232 46));--mds-note-fold-color:rgb(var(--label-lime-06,123 189 20));--mds-note-color:rgb(var(--label-lime-02,49 76 8));--mds-note-selection-background:rgb(var(--label-lime-07,137 211 23));--mds-note-selection-color:rgb(var(--label-lime-03,64 99 11))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=orange]){--mds-note-background:rgb(var(--label-orange-08,253 201 166));--mds-note-fold-color:rgb(var(--label-orange-06,250 143 69));--mds-note-color:rgb(var(--label-orange-02,114 48 3));--mds-note-selection-background:rgb(var(--label-orange-07,252 174 121));--mds-note-selection-color:rgb(var(--label-orange-03,147 63 4))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-08,249 197 223));--mds-note-fold-color:rgb(var(--label-orchid-06,243 137 189));--mds-note-color:rgb(var(--label-orchid-02,127 13 70));--mds-note-selection-background:rgb(var(--label-orchid-07,246 169 207));--mds-note-selection-color:rgb(var(--label-orchid-03,165 17 90))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=sky]){--mds-note-background:rgb(var(--label-sky-08,157 220 249));--mds-note-fold-color:rgb(var(--label-sky-06,47 182 243));--mds-note-color:rgb(var(--label-sky-02,6 73 104));--mds-note-selection-background:rgb(var(--label-sky-07,106 203 246));--mds-note-selection-color:rgb(var(--label-sky-03,8 94 133))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=violet]){--mds-note-background:rgb(var(--label-violet-08,219 205 252));--mds-note-fold-color:rgb(var(--label-violet-06,184 156 250));--mds-note-color:rgb(var(--label-violet-02,65 11 190));--mds-note-selection-background:rgb(var(--label-violet-07,202 181 251));--mds-note-selection-color:rgb(var(--label-violet-03,87 20 242))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-08,249 207 78));--mds-note-fold-color:rgb(var(--label-yellow-06,214 163 7));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-selection-background:rgb(var(--label-yellow-07,239 183 8));--mds-note-selection-color:rgb(var(--label-yellow-03,112 85 4))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .fold{bottom:calc(var(--spacing,.0025rem)*50);right:calc(var(--spacing,.0025rem)*50)}}';export{g as mds_note}
|
|
1
|
+
import{r as e,d as o,h as r,e as a,g as t}from"./p-BxPbQB28.js";import{m as l}from"./p-J-ikDhyq.js";import{K as n}from"./p-KRu9I7dw.js";import{L as s}from"./p-Kv1yahtR.js";import{p as b}from"./p-7-TP6wnI.js";var d={deleteLabel:"Αφαίρεση"},i={deleteLabel:"Remove"},c={deleteLabel:"Eliminar"},m={deleteLabel:"Rimuovi"};const g=class{constructor(r){e(this,r),this.deleteEvent=o(this,"mdsNoteDelete",7),this.km=new n,this.t=new s({el:d,en:i,es:c,it:m}),this.deletable=!1,this.variant="yellow",this.onClickClose=()=>{this.deleteEvent.emit()}}componentDidLoad(){this.km.addElement(this.host),this.km.attachClickBehavior()}componentDidUpdate(){if(this.deletable)return this.km.addElement(this.host),void this.km.attachClickBehavior();this.km.detachClickBehavior()}disconnectedCallback(){this.km.detachClickBehavior()}render(){return r(a,{key:"5fa5dcf9100b06cb5b73409e52f996ea5e3ef522",role:"note","pref-animation":b.state.animation,"pref-contrast":b.state.contrast,"pref-mode":b.state.mode,"pref-theme-scheme":b.state["theme-scheme"]},this.deletable&&r("mds-button",{key:"0398601f421b887269dd1154cfffcaae1d51f149",title:this.t.get("deleteLabel"),icon:l,class:"button-close",variant:"dark",tone:"text",onClick:this.onClickClose}),r("slot",{key:"ef58bae8f4ecad6a6ba60bc5ec2c46864a657f2a",name:"title"}),r("slot",{key:"d65c929ed8203511da2d165c5bd6458c6be47c53"}),r("div",{key:"889894130a24414255bd4ca39d7a89662f520ef3","aria-hidden":"true",class:"fold"}))}get host(){return t(this)}};g.style='@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-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-note-background:rgb(var(--label-yellow-10,253 236 186));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-fold-color:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));--mds-note-fold-size:40px;--mds-note-selection-background:var(--magma-selection-background,rgb(var(--label-sky-09,185 231 251)));--mds-note-selection-color:var(--magma-selection-color,rgb(var(--label-sky-01,4 48 68)));--mds-note-transition-duration:var(--duration-300,.3s);--private-note-transition-duration:var(--mds-note-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-note-background,rgb(var(--label-yellow-10,253 236 186)));border-radius:var(--radius-3xs,4px);color:var(--mds-note-color,rgb(var(--label-yellow-02,87 67 3)));display:grid;gap:calc(var(--spacing,.0025rem)*200);overflow:hidden;padding:calc(var(--spacing,.0025rem)*600);position:relative;-webkit-transition-duration:var(--private-note-transition-duration);transition-duration:var(--private-note-transition-duration);transition-property:color,background-color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host ::slotted(mds-text){--mds-text-selection-background:var(--mds-note-selection-background,var(--magma-selection-background,rgb(var(--label-sky-09,185 231 251))));--mds-text-selection-color:var(--mds-note-selection-color,var(--magma-selection-color,rgb(var(--label-sky-01,4 48 68))))}:host([deletable]:not([deletable=false])){padding-right:calc(var(--spacing,.0025rem)*1600)}:host([deletable]:not([deletable=false])) .button-close{position:absolute;right:calc(var(--spacing,.0025rem)*400);top:calc(var(--spacing,.0025rem)*400)}.fold{border-color:#0000 #0000 var(--mds-note-fold-color,rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))))) #0000;border-style:solid;border-width:0 0 var(--mds-note-fold-size,40px) var(--mds-note-fold-size,40px);bottom:0;display:block;filter:drop-shadow(0 0 var(--mds-note-fold-size,40px) var(--mds-note-color,rgb(var(--label-yellow-02,87 67 3))));height:0;opacity:.4;pointer-events:none;position:absolute;right:0;-webkit-transition-duration:inherit;transition-duration:inherit;transition-property:border;width:0}.button-close{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:#0000;border-radius:var(--radius-full,1000px);cursor:pointer;fill:var(--mds-note-color,rgb(var(--label-yellow-02,87 67 3)));padding:calc(var(--spacing,.0025rem)*100);-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);transition-property:background-color,fill,outline,outline-offset;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.button-close:hover{background-color:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255)))/.5)}.title{align-items:flex-start;display:flex;gap:calc(var(--spacing,.0025rem)*400)}.title .button-close{margin-left:auto}:host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-09,253 214 221));--mds-note-color:rgb(var(--label-amaranth-02,131 8 29));--mds-note-selection-background:rgb(var(--label-amaranth-08,252 197 207));--mds-note-selection-color:rgb(var(--label-amaranth-04,213 12 47))}:host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-09,151 237 252));--mds-note-color:rgb(var(--label-aqua-02,2 75 88));--mds-note-selection-background:rgb(var(--label-aqua-08,99 229 251));--mds-note-selection-color:rgb(var(--label-aqua-04,4 122 143))}:host([variant=blue]){--mds-note-background:rgb(var(--label-blue-09,216 222 254));--mds-note-color:rgb(var(--label-blue-02,7 39 192));--mds-note-selection-background:rgb(var(--label-blue-08,200 210 253));--mds-note-selection-color:rgb(var(--label-blue-04,63 94 248))}:host([variant=green]){--mds-note-background:rgb(var(--label-green-09,165 240 193));--mds-note-color:rgb(var(--label-green-02,14 80 38));--mds-note-selection-background:rgb(var(--label-green-08,125 232 164));--mds-note-selection-color:rgb(var(--label-green-04,22 128 61))}:host([variant=lime]){--mds-note-background:rgb(var(--label-lime-09,189 239 111));--mds-note-color:rgb(var(--label-lime-02,49 76 8));--mds-note-selection-background:rgb(var(--label-lime-08,159 232 46));--mds-note-selection-color:rgb(var(--label-lime-04,81 124 13))}:host([variant=orange]){--mds-note-background:rgb(var(--label-orange-09,253 217 191));--mds-note-color:rgb(var(--label-orange-02,114 48 3));--mds-note-selection-background:rgb(var(--label-orange-08,253 201 166));--mds-note-selection-color:rgb(var(--label-orange-04,185 78 5))}:host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-09,251 213 232));--mds-note-color:rgb(var(--label-orchid-02,127 13 70));--mds-note-selection-background:rgb(var(--label-orchid-08,249 197 223));--mds-note-selection-color:rgb(var(--label-orchid-04,206 21 113))}:host([variant=purple]){--mds-note-background:rgb(var(--label-purple-09,235 216 253));--mds-note-color:rgb(var(--label-purple-02,90 8 168));--mds-note-selection-background:rgb(var(--label-purple-08,228 202 252));--mds-note-selection-color:rgb(var(--label-purple-04,150 51 245))}:host([variant=red]){--mds-note-background:rgb(var(--label-red-09,250 215 215));--mds-note-color:rgb(var(--label-red-02,131 17 17));--mds-note-selection-background:rgb(var(--label-red-08,248 201 201));--mds-note-selection-color:rgb(var(--label-red-04,212 28 28))}:host([variant=sky]){--mds-note-background:rgb(var(--label-sky-09,185 231 251));--mds-note-color:rgb(var(--label-sky-02,6 73 104));--mds-note-selection-background:rgb(var(--label-sky-08,157 220 249));--mds-note-selection-color:rgb(var(--label-sky-04,10 118 167))}:host([variant=violet]){--mds-note-background:rgb(var(--label-violet-09,229 218 253));--mds-note-color:rgb(var(--label-violet-02,65 11 190));--mds-note-selection-background:rgb(var(--label-violet-08,219 205 252));--mds-note-selection-color:rgb(var(--label-violet-04,126 73 245))}:host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-09,251 221 131));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-selection-background:rgb(var(--label-yellow-08,249 207 78));--mds-note-selection-color:rgb(var(--label-yellow-04,141 107 5))}: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-note-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-08,252 197 207));--mds-note-fold-color:rgb(var(--label-amaranth-06,248 138 157));--mds-note-color:rgb(var(--label-amaranth-02,131 8 29));--mds-note-selection-background:rgb(var(--label-amaranth-07,250 170 183));--mds-note-selection-color:rgb(var(--label-amaranth-03,170 10 37))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-08,99 229 251));--mds-note-fold-color:rgb(var(--label-aqua-06,6 186 217));--mds-note-color:rgb(var(--label-aqua-02,2 75 88));--mds-note-selection-background:rgb(var(--label-aqua-07,7 208 243));--mds-note-selection-color:rgb(var(--label-aqua-03,3 97 114))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=blue]){--mds-note-background:rgb(var(--label-blue-08,200 210 253));--mds-note-fold-color:rgb(var(--label-blue-06,149 166 251));--mds-note-color:rgb(var(--label-blue-02,7 39 192));--mds-note-selection-background:rgb(var(--label-blue-07,175 189 252));--mds-note-selection-color:rgb(var(--label-blue-03,11 51 246))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=green]){--mds-note-background:rgb(var(--label-green-08,125 232 164));--mds-note-fold-color:rgb(var(--label-green-06,34 195 93));--mds-note-color:rgb(var(--label-green-02,14 80 38));--mds-note-selection-background:rgb(var(--label-green-07,44 218 108));--mds-note-selection-color:rgb(var(--label-green-03,18 103 49))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=lime]){--mds-note-background:rgb(var(--label-lime-08,159 232 46));--mds-note-fold-color:rgb(var(--label-lime-06,123 189 20));--mds-note-color:rgb(var(--label-lime-02,49 76 8));--mds-note-selection-background:rgb(var(--label-lime-07,137 211 23));--mds-note-selection-color:rgb(var(--label-lime-03,64 99 11))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=orange]){--mds-note-background:rgb(var(--label-orange-08,253 201 166));--mds-note-fold-color:rgb(var(--label-orange-06,250 143 69));--mds-note-color:rgb(var(--label-orange-02,114 48 3));--mds-note-selection-background:rgb(var(--label-orange-07,252 174 121));--mds-note-selection-color:rgb(var(--label-orange-03,147 63 4))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-08,249 197 223));--mds-note-fold-color:rgb(var(--label-orchid-06,243 137 189));--mds-note-color:rgb(var(--label-orchid-02,127 13 70));--mds-note-selection-background:rgb(var(--label-orchid-07,246 169 207));--mds-note-selection-color:rgb(var(--label-orchid-03,165 17 90))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=sky]){--mds-note-background:rgb(var(--label-sky-08,157 220 249));--mds-note-fold-color:rgb(var(--label-sky-06,47 182 243));--mds-note-color:rgb(var(--label-sky-02,6 73 104));--mds-note-selection-background:rgb(var(--label-sky-07,106 203 246));--mds-note-selection-color:rgb(var(--label-sky-03,8 94 133))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=violet]){--mds-note-background:rgb(var(--label-violet-08,219 205 252));--mds-note-fold-color:rgb(var(--label-violet-06,184 156 250));--mds-note-color:rgb(var(--label-violet-02,65 11 190));--mds-note-selection-background:rgb(var(--label-violet-07,202 181 251));--mds-note-selection-color:rgb(var(--label-violet-03,87 20 242))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-08,249 207 78));--mds-note-fold-color:rgb(var(--label-yellow-06,214 163 7));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-selection-background:rgb(var(--label-yellow-07,239 183 8));--mds-note-selection-color:rgb(var(--label-yellow-03,112 85 4))}:host([pref-contrast=more]){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-contrast=more]) .fold{bottom:calc(var(--spacing,.0025rem)*50);right:calc(var(--spacing,.0025rem)*50)}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion: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-note-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-08,252 197 207));--mds-note-fold-color:rgb(var(--label-amaranth-06,248 138 157));--mds-note-color:rgb(var(--label-amaranth-02,131 8 29));--mds-note-selection-background:rgb(var(--label-amaranth-07,250 170 183));--mds-note-selection-color:rgb(var(--label-amaranth-03,170 10 37))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-08,99 229 251));--mds-note-fold-color:rgb(var(--label-aqua-06,6 186 217));--mds-note-color:rgb(var(--label-aqua-02,2 75 88));--mds-note-selection-background:rgb(var(--label-aqua-07,7 208 243));--mds-note-selection-color:rgb(var(--label-aqua-03,3 97 114))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=blue]){--mds-note-background:rgb(var(--label-blue-08,200 210 253));--mds-note-fold-color:rgb(var(--label-blue-06,149 166 251));--mds-note-color:rgb(var(--label-blue-02,7 39 192));--mds-note-selection-background:rgb(var(--label-blue-07,175 189 252));--mds-note-selection-color:rgb(var(--label-blue-03,11 51 246))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=green]){--mds-note-background:rgb(var(--label-green-08,125 232 164));--mds-note-fold-color:rgb(var(--label-green-06,34 195 93));--mds-note-color:rgb(var(--label-green-02,14 80 38));--mds-note-selection-background:rgb(var(--label-green-07,44 218 108));--mds-note-selection-color:rgb(var(--label-green-03,18 103 49))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=lime]){--mds-note-background:rgb(var(--label-lime-08,159 232 46));--mds-note-fold-color:rgb(var(--label-lime-06,123 189 20));--mds-note-color:rgb(var(--label-lime-02,49 76 8));--mds-note-selection-background:rgb(var(--label-lime-07,137 211 23));--mds-note-selection-color:rgb(var(--label-lime-03,64 99 11))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=orange]){--mds-note-background:rgb(var(--label-orange-08,253 201 166));--mds-note-fold-color:rgb(var(--label-orange-06,250 143 69));--mds-note-color:rgb(var(--label-orange-02,114 48 3));--mds-note-selection-background:rgb(var(--label-orange-07,252 174 121));--mds-note-selection-color:rgb(var(--label-orange-03,147 63 4))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-08,249 197 223));--mds-note-fold-color:rgb(var(--label-orchid-06,243 137 189));--mds-note-color:rgb(var(--label-orchid-02,127 13 70));--mds-note-selection-background:rgb(var(--label-orchid-07,246 169 207));--mds-note-selection-color:rgb(var(--label-orchid-03,165 17 90))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=sky]){--mds-note-background:rgb(var(--label-sky-08,157 220 249));--mds-note-fold-color:rgb(var(--label-sky-06,47 182 243));--mds-note-color:rgb(var(--label-sky-02,6 73 104));--mds-note-selection-background:rgb(var(--label-sky-07,106 203 246));--mds-note-selection-color:rgb(var(--label-sky-03,8 94 133))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=violet]){--mds-note-background:rgb(var(--label-violet-08,219 205 252));--mds-note-fold-color:rgb(var(--label-violet-06,184 156 250));--mds-note-color:rgb(var(--label-violet-02,65 11 190));--mds-note-selection-background:rgb(var(--label-violet-07,202 181 251));--mds-note-selection-color:rgb(var(--label-violet-03,87 20 242))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-08,249 207 78));--mds-note-fold-color:rgb(var(--label-yellow-06,214 163 7));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-selection-background:rgb(var(--label-yellow-07,239 183 8));--mds-note-selection-color:rgb(var(--label-yellow-03,112 85 4))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .fold{bottom:calc(var(--spacing,.0025rem)*50);right:calc(var(--spacing,.0025rem)*50)}}';export{g as mds_note}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t,e as r}from"./p-BxPbQB28.js";import{p as a}from"./p-7-TP6wnI.js";import{m as o}from"./p-BFhO-KUe.js";import{m as i}from"./p-BE8xuIpS.js";const s=class{constructor(t){e(this,t),this.type="text"}render(){return t(r,{key:"
|
|
1
|
+
import{r as e,h as t,e as r}from"./p-BxPbQB28.js";import{p as a}from"./p-7-TP6wnI.js";import{m as o}from"./p-BFhO-KUe.js";import{m as i}from"./p-BE8xuIpS.js";const s=class{constructor(t){e(this,t),this.type="text"}render(){return t(r,{key:"9cfaab006638d2a790879acc60daf629d40ab701","pref-animation":a.state.animation,"pref-contrast":a.state.contrast,"pref-mode":a.state.mode,"pref-theme-scheme":a.state["theme-scheme"]},"supported"===this.type&&t("i",{key:"203b524a6e202148afb5934922acd4e130a46d71",class:"icon icon--supported",innerHTML:o,part:"icon"}),"unsupported"===this.type&&t("i",{key:"d3f5218dd824a1a32d78a4e4269e511cdcd691c8",class:"icon icon--unsupported",innerHTML:i,part:"icon"}),"text"===this.type&&t("mds-text",{key:"bd5df8325aeeb706c91f83afbfd1ac43b4b20b15",part:"text",typography:"detail"},t("slot",{key:"6d04b08d480ed84faccbbb4725aec62f72f541f3"})),"custom"===this.type&&t("slot",{key:"e7877e32b6f0364e05afd440708ae5ec46e9a0a7"}),"label"===this.type&&t("slot",{key:"cc6c6234cbfcbd50275e6ec951b75b3440f68558"}))}};s.style='@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-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-price-table-features-cell-padding:var(--mds-price-table-features-padding,calc(var(--spacing,.0025rem)*300));--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-06,34 195 93));--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-06,34 195 93));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-price-table-features-cell-icon-unsupported-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-price-table-features-cell-border-color:rgb(var(--magma-border-muted,var(--magma-tint-border-muted,var(--border-neutral-muted,219 219 219))));--mds-price-table-features-cell-transition-duration:var(--duration-200,.2s);--private-price-table-features-cell-transition-duration:var(--mds-price-table-features-cell-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-bottom:1px solid var(--mds-price-table-features-cell-border-color,rgb(var(--magma-border-muted,var(--magma-tint-border-muted,var(--border-neutral-muted,219 219 219)))));display:table-cell;padding:var(--mds-price-table-features-cell-padding,calc(var(--spacing,.0025rem)*300));-webkit-transition-duration:var(--private-price-table-features-cell-transition-duration);transition-duration:var(--private-price-table-features-cell-transition-duration);transition-property:border-color,transform;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));vertical-align:top}.icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}.icon{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));display:flex;fill:var(--icon-fill-color,currentColor);height:calc(var(--spacing,.0025rem)*600);-webkit-transition-duration:var(--private-price-table-features-cell-transition-duration);transition-duration:var(--private-price-table-features-cell-transition-duration);transition-property:fill;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));width:calc(var(--spacing,.0025rem)*600)}.icon--supported{--icon-fill-color:var(--mds-price-table-features-cell-icon-supported-color,rgb(var(--label-green-06,34 195 93)))}.icon--unsupported{--icon-fill-color:var(--mds-price-table-features-cell-icon-unsupported-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))))}: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-price-table-features-cell-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-03,18 103 49));--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-02,14 80 38));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))))}:host([pref-contrast=more]){--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-01,9 52 25));--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-02,14 80 38));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-price-table-features-cell-icon-unsupported-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}@property --tw-ease{syntax:"*";inherits:false}@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-price-table-features-cell-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-03,18 103 49));--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-02,14 80 38));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-01,9 52 25));--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-02,14 80 38));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-price-table-features-cell-icon-unsupported-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}';export{s as mds_price_table_features_cell}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a,d as t,h as r,e as o,g as s}from"./p-BxPbQB28.js";import{K as i}from"./p-KRu9I7dw.js";import{c as e}from"./p-D8eZRaSQ.js";import{B as n,F as d}from"./p-BpVYIPkx.js";import{p as h}from"./p-7-TP6wnI.js";import"./p-CHAGzQT-.js";import"./p-CSCy6TMW.js";const m=class{constructor(r){a(this,r),this.visibleEvent=t(this,"mdsDropdownVisible",7),this.hiddenEvent=t(this,"mdsDropdownHide",7),this.changedEvent=t(this,"mdsDropdownChange",7),this.km=new i,this.backdropController=new n,this.hideArrow=!1,this.arrowPadding=24,this.disableAutoPlacement=!1,this.backdrop=!1,this.flip=!1,this.interaction="click",this.offset=24,this.placement="bottom",this.disableShift=!1,this.shiftPadding=24,this.disableSmooth=!1,this.strategy="absolute",this.visible=!1,this.onClickTarget=a=>{a.stopPropagation(),document.body.click(),this.visible=!this.visible,this.visible&&this.isMenu&&0===a.detail&&this.focusEntry(0)},this.onMouseOverTarget=()=>{this.mouseoverTimer=setTimeout((()=>{clearTimeout(this.mouseoverTimer),this.visible=!0}),e(this.cssMouseOverDelayDuration))},this.onMouseOutTarget=()=>{clearTimeout(this.mouseoverTimer),this.mouseoverTimer=setTimeout((()=>{clearTimeout(this.mouseoverTimer),this.visible=!1}),e(this.cssMouseOverDelayDuration))},this.markEntries=()=>{this.isMenu&&this.entries().forEach((a=>{const t=a.getAttribute("role");null!==t&&"button"!==t||a.setAttribute("role","menuitem"),a.hasAttribute("tabindex")||a.setAttribute("tabindex","-1")}))},this.entries=()=>{var a,t;const r=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector("slot");return this.slottedEntries(null!==(t=null==r?void 0:r.assignedElements())&&void 0!==t?t:[])},this.slottedEntries=a=>a.flatMap((a=>"SLOT"===a.tagName?this.slottedEntries(a.assignedElements()):[a])),this.focusEntry=(a,t=3)=>{const r=this.entries();if(0===r.length||!this.visible)return;const o=r[(a+r.length)%r.length];0===o.offsetWidth&&t>0?requestAnimationFrame((()=>this.focusEntry(a,t-1))):o.focus()},this.onCallerKeydown=a=>{!this.isMenu||"ArrowDown"!==a.key&&"ArrowUp"!==a.key||(a.preventDefault(),this.visible=!0,this.focusEntry("ArrowUp"===a.key?-1:0))},this.onPanelKeydown=a=>{var t;if(!this.isMenu||!this.visible)return;const r=this.entries();if(0===r.length)return;const o=r.findIndex((a=>a.contains(document.activeElement))),s=-1===o?null:o;switch(a.key){case"ArrowDown":a.preventDefault(),this.focusEntry(null===s?0:s+1);break;case"ArrowUp":a.preventDefault(),this.focusEntry(null===s?-1:s-1);break;case"Home":a.preventDefault(),this.focusEntry(0);break;case"End":a.preventDefault(),this.focusEntry(-1);break;case"Tab":this.visible=!1,null===(t=this.caller)||void 0===t||t.focus()}},this.closeFromKeyboard=()=>{var a;if(!this.visible)return;const t=this.host.contains(document.activeElement);this.visible=!1,t&&(null===(a=this.caller)||void 0===a||a.focus())},this.updateCSSCustomProps=()=>{if("undefined"==typeof window)return;const a=window.getComputedStyle(this.host);this.cssMouseOverDelayDuration=a.getPropertyValue("--mds-dropdown-mouseover-delay")},this.handleCloseDropdown=a=>{if("mouseleave"===a.type)return this.host.removeEventListener("mouseleave",this.handleCloseDropdown),this.caller.removeEventListener("mouseleave",this.handleCloseDropdown),void(this.visible=!1);this.host.contains(a.target)||a.target===this.caller||(this.visible=!1,document.removeEventListener("click",this.handleCloseDropdown))},this.setInteractionBehaviour=()=>{"none"!==this.interaction&&("click"===this.interaction&&(this.caller.addEventListener("click",this.onClickTarget),this.caller.addEventListener("keydown",this.onCallerKeydown)),"mouseover"===this.interaction&&(this.caller.addEventListener("mouseover",this.onMouseOverTarget),this.caller.addEventListener("mouseout",this.onMouseOutTarget),this.host.addEventListener("mouseover",this.handleCloseDropdownMouseLeave)))},this.unsetInteractionBehaviour=a=>{a.removeEventListener("click",this.onClickTarget),a.removeEventListener("keydown",this.onCallerKeydown),a.removeEventListener("mouseover",this.onMouseOverTarget),a.removeEventListener("mouseout",this.onMouseOutTarget)},this.handleCloseDropdownMouseLeave=()=>{clearTimeout(this.mouseoverTimer),this.host.removeEventListener("mouseover",this.handleCloseDropdownMouseLeave),this.host.addEventListener("mouseleave",this.handleCloseDropdown)}}hideArrowChanged(){this.floatingController.updatePosition()}arrowPaddingChanged(){this.floatingController.updatePosition()}disableAutoPlacementChanged(){this.floatingController.updatePosition()}backdropChanged(a){!1===a&&(this.backdrop=void 0),this.visible&&(a?this.backdropController.attachBackdrop():this.backdropController.detachBackdrop())}flipChanged(){this.floatingController.updatePosition()}offsetChanged(){this.floatingController.updatePosition()}placementChanged(){this.floatingController.updatePosition()}disableShiftChanged(){this.floatingController.updatePosition()}shiftPaddingChanged(){this.floatingController.updatePosition()}strategyChanged(){this.floatingController.updatePosition()}targetChanged(){var a;if(""===(null!==(a=this.target)&&void 0!==a?a:"")||null==this.floatingController)return;const t=this.floatingController.updateCaller(this.target);t&&(this.caller&&this.caller!==t&&this.unsetInteractionBehaviour(this.caller),this.caller=t,this.markEntries(),this.setInteractionBehaviour(),this.km.addElement(this.host),this.km.attachEscapeBehavior(this.closeFromKeyboard))}visibleChanged(a){if(this.changedEvent.emit({caller:this.caller,visible:a}),this.floatingController.syncExpanded(a),a)return document.addEventListener("click",this.handleCloseDropdown),this.floatingController.updatePosition(),this.backdrop&&this.backdropController.attachBackdrop(),void this.visibleEvent.emit({caller:this.caller,visible:!0});this.floatingController.dismiss(),this.backdrop&&this.backdropController.detachBackdrop(),this.hiddenEvent.emit({caller:this.caller,visible:!1})}get isMenu(){return"menu"===this.host.getAttribute("role")}componentDidLoad(){var a,t,r;const o=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector(".arrow");this.floatingController=new d(this.host,o),this.updateCSSCustomProps(),this.targetChanged(),null===(r=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector("slot"))||void 0===r||r.addEventListener("slotchange",this.markEntries),this.host.addEventListener("slotchange",this.markEntries),this.host.addEventListener("keydown",this.onPanelKeydown),this.visible&&this.visibleChanged(!0)}disconnectedCallback(){this.floatingController.dismiss(),this.backdropController.detachBackdrop(),this.km.detachEscapeBehavior()}render(){return r(o,{key:"42bb1259088a7cc15869cd0cbf007ce9f34331cb",style:{zIndex:`${this.zIndex}`},"pref-animation":h.state.animation,"pref-contrast":h.state.contrast,"pref-mode":h.state.mode,"pref-theme-scheme":h.state["theme-scheme"]},r("div",{key:"6a2caa47a6dca50fe6ae209229daddcd7791473d",class:"arrow",innerHTML:'<svg width="30" height="16" viewBox="0 0 30 16" xmlns="http://www.w3.org/2000/svg">\n <path d="M10.2 2.4C12.6 -0.800001 17.4 -0.800001 19.8 2.4L30 16H0L10.2 2.4Z"/>\n</svg>\n'}),r("slot",{key:"656a32363daa94dc4433cd5fb86d689d80502221"}))}get host(){return s(this)}static get watchers(){return{hideArrow:[{hideArrowChanged:0}],arrowPadding:[{arrowPaddingChanged:0}],disableAutoPlacement:[{disableAutoPlacementChanged:0}],backdrop:[{backdropChanged:0}],flip:[{flipChanged:0}],offset:[{offsetChanged:0}],placement:[{placementChanged:0}],disableShift:[{disableShiftChanged:0}],shiftPadding:[{shiftPaddingChanged:0}],strategy:[{strategyChanged:0}],target:[{targetChanged:0}],visible:[{visibleChanged:0}]}}};m.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-dropdown-arrow-background:var(--mds-dropdown-background,rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255)))));--private-dropdown-backdrop-duration:.2s;--mds-dropdown-backdrop-duration:var(--private-dropdown-backdrop-duration);--mds-dropdown-backdrop-z-index:var(--magma-backdrop-z-index,4000);--mds-dropdown-background:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255))));--mds-dropdown-drop-shadow-color-rgb:var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)));--mds-dropdown-drop-shadow:drop-shadow(0 10px 8px rgb(var(--mds-dropdown-drop-shadow-color-rgb,var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5))))/.05)) drop-shadow(0 4px 3px rgb(var(--mds-dropdown-drop-shadow-color-rgb,var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5))))/.15)) drop-shadow(0 0 1px rgb(var(--mds-dropdown-drop-shadow-color-rgb,var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5))))/.15));--mds-dropdown-duration:.5s;--private-dropdown-duration:var(--mds-dropdown-duration,.5s);--mds-dropdown-ease:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));--mds-dropdown-mouseover-delay:.5s;--mds-dropdown-transform-from:scale(.9) translateY(-3%);--mds-dropdown-transform-to:scale(1) translate(0,0);--mds-dropdown-z-index:var(--magma-dropdown-z-index,5000);background-color:var(--mds-dropdown-background,rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255)))));border-radius:var(--magma-radius-md,var(--radius-squircle-md,20px));box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);display:none;filter:var(--mds-dropdown-drop-shadow);gap:calc(var(--spacing,.0025rem)*400);opacity:0;padding:calc(var(--spacing,.0025rem)*600);pointer-events:none;position:fixed;-webkit-transform:var(--mds-dropdown-transform-from,scale(.9) translateY(-3%));transform:var(--mds-dropdown-transform-from,scale(.9) translateY(-3%));transition-behavior:allow-discrete;-webkit-transition-duration:var(--private-dropdown-duration);transition-duration:var(--private-dropdown-duration);transition-property:opacity,transform,display;-webkit-transition-timing-function:var(--mds-dropdown-ease);transition-timing-function:var(--mds-dropdown-ease);z-index:var(--mds-dropdown-z-index,var(--magma-dropdown-z-index,5000))}:host([visible]:not([visible=false])){display:grid;opacity:1;pointer-events:auto;-webkit-transform:var(--mds-dropdown-transform-to,scale(1) translate(0,0));transform:var(--mds-dropdown-transform-to,scale(1) translate(0,0))}@starting-style{:host([visible]:not([visible=false])){opacity:0;transform:scale(0)}}:host([data-floating-placed]:not([disable-smooth])),:host([data-floating-placed][disable-smooth=false]){transition-property:bottom,left,display,opacity,right,top,transform}.arrow{display:flex;fill:var(--mds-dropdown-arrow-background,rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255)))));pointer-events:none;position:fixed;top:calc(var(--spacing,.0025rem)*-400)}::slotted(*){position:relative;z-index:10}: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-dropdown-duration:0s;--mds-dropdown-backdrop-duration:0s}:host([pref-contrast=more]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.05)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3))}:host([pref-contrast=more][pref-mode=dark]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.075)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.45)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.45))}@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-dropdown-duration:0s;--mds-dropdown-backdrop-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.05)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3))}:host([pref-contrast=system][pref-mode=dark]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.05)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3))}}@media (prefers-color-scheme:dark){:host([pref-contrast=more][pref-mode=system]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.05)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3))}}@media (prefers-contrast:more) and (prefers-color-scheme:dark){:host([pref-contrast=system][pref-mode=system]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.05)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3))}}";export{m as mds_dropdown}
|
|
1
|
+
import{r as a,d as t,h as r,e as o,g as s}from"./p-BxPbQB28.js";import{K as i}from"./p-KRu9I7dw.js";import{c as e}from"./p-D8eZRaSQ.js";import{B as n,F as d}from"./p-BpVYIPkx.js";import{p as h}from"./p-7-TP6wnI.js";import"./p-CHAGzQT-.js";import"./p-CSCy6TMW.js";const m=class{constructor(r){a(this,r),this.visibleEvent=t(this,"mdsDropdownVisible",7),this.hiddenEvent=t(this,"mdsDropdownHide",7),this.changedEvent=t(this,"mdsDropdownChange",7),this.km=new i,this.backdropController=new n,this.hideArrow=!1,this.arrowPadding=24,this.disableAutoPlacement=!1,this.backdrop=!1,this.flip=!1,this.interaction="click",this.offset=24,this.placement="bottom",this.disableShift=!1,this.shiftPadding=24,this.disableSmooth=!1,this.strategy="absolute",this.visible=!1,this.onClickTarget=a=>{a.stopPropagation(),document.body.click(),this.visible=!this.visible,this.visible&&this.isMenu&&0===a.detail&&this.focusEntry(0)},this.onMouseOverTarget=()=>{this.mouseoverTimer=setTimeout((()=>{clearTimeout(this.mouseoverTimer),this.visible=!0}),e(this.cssMouseOverDelayDuration))},this.onMouseOutTarget=()=>{clearTimeout(this.mouseoverTimer),this.mouseoverTimer=setTimeout((()=>{clearTimeout(this.mouseoverTimer),this.visible=!1}),e(this.cssMouseOverDelayDuration))},this.markEntries=()=>{this.isMenu&&this.entries().forEach((a=>{const t=a.getAttribute("role");null!==t&&"button"!==t||a.setAttribute("role","menuitem"),a.hasAttribute("tabindex")||a.setAttribute("tabindex","-1")}))},this.entries=()=>{var a,t;const r=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector("slot");return this.slottedEntries(null!==(t=null==r?void 0:r.assignedElements())&&void 0!==t?t:[])},this.slottedEntries=a=>a.flatMap((a=>"SLOT"===a.tagName?this.slottedEntries(a.assignedElements()):[a])),this.focusEntry=(a,t=3)=>{const r=this.entries();if(0===r.length||!this.visible)return;const o=r[(a+r.length)%r.length];0===o.offsetWidth&&t>0?requestAnimationFrame((()=>this.focusEntry(a,t-1))):o.focus()},this.onCallerKeydown=a=>{!this.isMenu||"ArrowDown"!==a.key&&"ArrowUp"!==a.key||(a.preventDefault(),this.visible=!0,this.focusEntry("ArrowUp"===a.key?-1:0))},this.onPanelKeydown=a=>{var t;if(!this.isMenu||!this.visible)return;const r=this.entries();if(0===r.length)return;const o=r.findIndex((a=>a.contains(document.activeElement))),s=-1===o?null:o;switch(a.key){case"ArrowDown":a.preventDefault(),this.focusEntry(null===s?0:s+1);break;case"ArrowUp":a.preventDefault(),this.focusEntry(null===s?-1:s-1);break;case"Home":a.preventDefault(),this.focusEntry(0);break;case"End":a.preventDefault(),this.focusEntry(-1);break;case"Tab":this.visible=!1,null===(t=this.caller)||void 0===t||t.focus()}},this.closeFromKeyboard=()=>{var a;if(!this.visible)return;const t=this.host.contains(document.activeElement);this.visible=!1,t&&(null===(a=this.caller)||void 0===a||a.focus())},this.updateCSSCustomProps=()=>{if("undefined"==typeof window)return;const a=window.getComputedStyle(this.host);this.cssMouseOverDelayDuration=a.getPropertyValue("--mds-dropdown-mouseover-delay")},this.handleCloseDropdown=a=>{if("mouseleave"===a.type)return this.host.removeEventListener("mouseleave",this.handleCloseDropdown),this.caller.removeEventListener("mouseleave",this.handleCloseDropdown),void(this.visible=!1);this.host.contains(a.target)||a.target===this.caller||(this.visible=!1,document.removeEventListener("click",this.handleCloseDropdown))},this.setInteractionBehaviour=()=>{"none"!==this.interaction&&("click"===this.interaction&&(this.caller.addEventListener("click",this.onClickTarget),this.caller.addEventListener("keydown",this.onCallerKeydown)),"mouseover"===this.interaction&&(this.caller.addEventListener("mouseover",this.onMouseOverTarget),this.caller.addEventListener("mouseout",this.onMouseOutTarget),this.host.addEventListener("mouseover",this.handleCloseDropdownMouseLeave)))},this.unsetInteractionBehaviour=a=>{a.removeEventListener("click",this.onClickTarget),a.removeEventListener("keydown",this.onCallerKeydown),a.removeEventListener("mouseover",this.onMouseOverTarget),a.removeEventListener("mouseout",this.onMouseOutTarget)},this.handleCloseDropdownMouseLeave=()=>{clearTimeout(this.mouseoverTimer),this.host.removeEventListener("mouseover",this.handleCloseDropdownMouseLeave),this.host.addEventListener("mouseleave",this.handleCloseDropdown)}}hideArrowChanged(){this.floatingController.updatePosition()}arrowPaddingChanged(){this.floatingController.updatePosition()}disableAutoPlacementChanged(){this.floatingController.updatePosition()}backdropChanged(a){!1===a&&(this.backdrop=void 0),this.visible&&(a?this.backdropController.attachBackdrop():this.backdropController.detachBackdrop())}flipChanged(){this.floatingController.updatePosition()}offsetChanged(){this.floatingController.updatePosition()}placementChanged(){this.floatingController.updatePosition()}disableShiftChanged(){this.floatingController.updatePosition()}shiftPaddingChanged(){this.floatingController.updatePosition()}strategyChanged(){this.floatingController.updatePosition()}targetChanged(){var a;if(""===(null!==(a=this.target)&&void 0!==a?a:"")||null==this.floatingController)return;const t=this.floatingController.updateCaller(this.target);t&&(this.caller&&this.caller!==t&&this.unsetInteractionBehaviour(this.caller),this.caller=t,this.markEntries(),this.setInteractionBehaviour(),this.km.addElement(this.host),this.km.attachEscapeBehavior(this.closeFromKeyboard))}visibleChanged(a){if(this.changedEvent.emit({caller:this.caller,visible:a}),this.floatingController.syncExpanded(a),a)return document.addEventListener("click",this.handleCloseDropdown),this.floatingController.updatePosition(),this.backdrop&&this.backdropController.attachBackdrop(),void this.visibleEvent.emit({caller:this.caller,visible:!0});this.floatingController.dismiss(),this.backdrop&&this.backdropController.detachBackdrop(),this.hiddenEvent.emit({caller:this.caller,visible:!1})}get isMenu(){return"menu"===this.host.getAttribute("role")}componentDidLoad(){var a,t,r;const o=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector(".arrow");this.floatingController=new d(this.host,o),this.updateCSSCustomProps(),this.targetChanged(),null===(r=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector("slot"))||void 0===r||r.addEventListener("slotchange",this.markEntries),this.host.addEventListener("slotchange",this.markEntries),this.host.addEventListener("keydown",this.onPanelKeydown),this.visible&&this.visibleChanged(!0)}disconnectedCallback(){this.floatingController.dismiss(),this.backdropController.detachBackdrop(),this.km.detachEscapeBehavior()}render(){return r(o,{key:"46e09e22fcbc884a36a6f5356819c2a3b436cd79",style:{zIndex:`${this.zIndex}`},"pref-animation":h.state.animation,"pref-contrast":h.state.contrast,"pref-mode":h.state.mode,"pref-theme-scheme":h.state["theme-scheme"]},r("div",{key:"ed3e86870a594d20a22698fb0fb756425bbda4d8",class:"arrow",innerHTML:'<svg width="30" height="16" viewBox="0 0 30 16" xmlns="http://www.w3.org/2000/svg">\n <path d="M10.2 2.4C12.6 -0.800001 17.4 -0.800001 19.8 2.4L30 16H0L10.2 2.4Z"/>\n</svg>\n'}),r("slot",{key:"829ff27e7d860a7340a5208365b7de33a880dbfe"}))}get host(){return s(this)}static get watchers(){return{hideArrow:[{hideArrowChanged:0}],arrowPadding:[{arrowPaddingChanged:0}],disableAutoPlacement:[{disableAutoPlacementChanged:0}],backdrop:[{backdropChanged:0}],flip:[{flipChanged:0}],offset:[{offsetChanged:0}],placement:[{placementChanged:0}],disableShift:[{disableShiftChanged:0}],shiftPadding:[{shiftPaddingChanged:0}],strategy:[{strategyChanged:0}],target:[{targetChanged:0}],visible:[{visibleChanged:0}]}}};m.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-dropdown-arrow-background:var(--mds-dropdown-background,rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255)))));--private-dropdown-backdrop-duration:.2s;--mds-dropdown-backdrop-duration:var(--private-dropdown-backdrop-duration);--mds-dropdown-backdrop-z-index:var(--magma-backdrop-z-index,4000);--mds-dropdown-background:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255))));--mds-dropdown-drop-shadow-color-rgb:var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)));--mds-dropdown-drop-shadow:drop-shadow(0 10px 8px rgb(var(--mds-dropdown-drop-shadow-color-rgb,var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5))))/.05)) drop-shadow(0 4px 3px rgb(var(--mds-dropdown-drop-shadow-color-rgb,var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5))))/.15)) drop-shadow(0 0 1px rgb(var(--mds-dropdown-drop-shadow-color-rgb,var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5))))/.15));--mds-dropdown-duration:.5s;--private-dropdown-duration:var(--mds-dropdown-duration,.5s);--mds-dropdown-ease:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));--mds-dropdown-mouseover-delay:.5s;--mds-dropdown-transform-from:scale(.9) translateY(-3%);--mds-dropdown-transform-to:scale(1) translate(0,0);--mds-dropdown-z-index:var(--magma-dropdown-z-index,5000);background-color:var(--mds-dropdown-background,rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255)))));border-radius:var(--magma-radius-md,var(--radius-squircle-md,20px));box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);display:none;filter:var(--mds-dropdown-drop-shadow);gap:calc(var(--spacing,.0025rem)*400);opacity:0;padding:calc(var(--spacing,.0025rem)*600);pointer-events:none;position:fixed;-webkit-transform:var(--mds-dropdown-transform-from,scale(.9) translateY(-3%));transform:var(--mds-dropdown-transform-from,scale(.9) translateY(-3%));transition-behavior:allow-discrete;-webkit-transition-duration:var(--private-dropdown-duration);transition-duration:var(--private-dropdown-duration);transition-property:opacity,transform,display;-webkit-transition-timing-function:var(--mds-dropdown-ease);transition-timing-function:var(--mds-dropdown-ease);z-index:var(--mds-dropdown-z-index,var(--magma-dropdown-z-index,5000))}:host([visible]:not([visible=false])){display:grid;opacity:1;pointer-events:auto;-webkit-transform:var(--mds-dropdown-transform-to,scale(1) translate(0,0));transform:var(--mds-dropdown-transform-to,scale(1) translate(0,0))}@starting-style{:host([visible]:not([visible=false])){opacity:0;transform:scale(0)}}:host([data-floating-placed]:not([disable-smooth])),:host([data-floating-placed][disable-smooth=false]){transition-property:bottom,left,display,opacity,right,top,transform}.arrow{display:flex;fill:var(--mds-dropdown-arrow-background,rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255)))));pointer-events:none;position:fixed;top:calc(var(--spacing,.0025rem)*-400)}::slotted(*){position:relative;z-index:10}: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-dropdown-duration:0s;--mds-dropdown-backdrop-duration:0s}:host([pref-contrast=more]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.05)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3))}:host([pref-contrast=more][pref-mode=dark]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.075)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.45)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.45))}@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-dropdown-duration:0s;--mds-dropdown-backdrop-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.05)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3))}:host([pref-contrast=system][pref-mode=dark]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.05)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3))}}@media (prefers-color-scheme:dark){:host([pref-contrast=more][pref-mode=system]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.05)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3))}}@media (prefers-contrast:more) and (prefers-color-scheme:dark){:host([pref-contrast=system][pref-mode=system]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.05)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3))}}";export{m as mds_dropdown}
|
|
@@ -8,4 +8,4 @@ System.register(["./p-DaONbL_w.system.js","./p-hVpoPUxI.system.js"],(function(a)
|
|
|
8
8
|
* arrived, with the icon sliding up behind it. Waiting on a run of spaces as long as the
|
|
9
9
|
* value holds that line box open - mds-text keeps the whitespace of an animated text, so
|
|
10
10
|
* this is the same picture the animation itself starts from.
|
|
11
|
-
*/this.reserveLine=function(a){return" ".repeat(a.length)};this.setObserver=function(){if(typeof window==="undefined")return;r.observer=new window.IntersectionObserver((function(a){var t=a[0];r.isIntersecting=t.isIntersecting}),{root:null,threshold:r.threshold});r.observer.observe(r.hostElement)}}a.prototype.componentWillLoad=function(){if(this.threshold!==0){this.setObserver()}};a.prototype.render=function(){return r(i,{key:"
|
|
11
|
+
*/this.reserveLine=function(a){return" ".repeat(a.length)};this.setObserver=function(){if(typeof window==="undefined")return;r.observer=new window.IntersectionObserver((function(a){var t=a[0];r.isIntersecting=t.isIntersecting}),{root:null,threshold:r.threshold});r.observer.observe(r.hostElement)}}a.prototype.componentWillLoad=function(){if(this.threshold!==0){this.setObserver()}};a.prototype.render=function(){return r(i,{key:"133dc043784d33c6f3b48d9d1bfe020cdfe49d70","aria-label":"".concat(this.label,": ").concat(this.description),role:"listitem","pref-animation":n.state.animation,"pref-contrast":n.state.contrast,"pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},this.icon&&r("div",{key:"96dbfc8939fb79e8f26d4622bc9cfee741bb2499",class:"icon-container",part:"icon-container"},r("mds-icon",{key:"fe3a86d295e91524fc095937a0cc6b4ee5ad0e33",class:"icon",name:this.icon,part:"icon"})),r("div",{key:"6bd3e3906ca404b0215b2210120ef1c10e2371b3",class:"info",part:"content","aria-hidden":"true"},this.label&&this.threshold!==0&&r("mds-text",{key:"3050e0c3cf188c9fb649b8412a9a8a07f8279079",class:"value",typography:"h2",text:this.isIntersecting?this.label:this.reserveLine(this.label),animation:"yugop"}),this.label&&this.threshold===0&&r("mds-text",{key:"f04a0e74191be6f558d38f1028e48bf2046b4521",class:"value",typography:"h2"},this.label),this.description&&this.threshold!==0&&r("mds-text",{key:"b16b238da05724d9056bfa8c24c0e765a28f2b21",class:"description",typography:"label",text:this.isIntersecting?this.description:this.reserveLine(this.description),animation:"yugop"}),this.description&&this.threshold===0&&r("mds-text",{key:"bfb061f5aa8ab6b39a2509324b4674511878d3fd",class:"description",typography:"label"},this.description)))};Object.defineProperty(a.prototype,"hostElement",{get:function(){return e(this)},enumerable:false,configurable:true});return a}());s.style=o()}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-DaONbL_w.system.js","./p-hVpoPUxI.system.js"],(function(t){"use strict";var r,a,e,o,n,i;return{setters:[function(t){r=t.r;a=t.d;e=t.h;o=t.e;n=t.g},function(t){i=t.p}],execute:function(){var s=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-tab-bar-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-bar-transition-duration:var(--duration-200,.2s);--private-tab-bar-transition-duration:var(--mds-tab-bar-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248))));bottom:0;-webkit-box-shadow:var(--shadow-ring-weak-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.15));box-shadow:var(--shadow-ring-weak-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.15));display:flex;justify-content:space-around;left:0;position:fixed;right:0;-webkit-transition-duration:var(--private-tab-bar-transition-duration);transition-duration:var(--private-tab-bar-transition-duration);transition-property:background-color,color,box-shadow;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,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-tab-bar-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}@property --tw-ease{syntax:"*";inherits:false}@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-tab-bar-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}'};var d=t("mds_tab_bar",/** @class */function(){function t(t){var e=this;r(this,t);this.changedEvent=a(this,"mdsTabBarChange",7);this.queryItems=function(){return e.element.querySelectorAll("mds-tab-bar-item")}}t.prototype.componentWillLoad=function(){var t=this.queryItems();t.forEach((function(t,r){return t.id="mds-tab-bar-item-".concat(r)}))};t.prototype.changeEventHandler=function(t){var r=this;var a=this.queryItems();a.forEach((function(a,e){a.selected="mds-tab-bar-item-".concat(e)===t.detail;if(a.selected){r.changedEvent.emit({index:e})}}))};t.prototype.render=function(){return e(o,{key:"
|
|
1
|
+
System.register(["./p-DaONbL_w.system.js","./p-hVpoPUxI.system.js"],(function(t){"use strict";var r,a,e,o,n,i;return{setters:[function(t){r=t.r;a=t.d;e=t.h;o=t.e;n=t.g},function(t){i=t.p}],execute:function(){var s=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-tab-bar-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-bar-transition-duration:var(--duration-200,.2s);--private-tab-bar-transition-duration:var(--mds-tab-bar-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248))));bottom:0;-webkit-box-shadow:var(--shadow-ring-weak-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.15));box-shadow:var(--shadow-ring-weak-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.15));display:flex;justify-content:space-around;left:0;position:fixed;right:0;-webkit-transition-duration:var(--private-tab-bar-transition-duration);transition-duration:var(--private-tab-bar-transition-duration);transition-property:background-color,color,box-shadow;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,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-tab-bar-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}@property --tw-ease{syntax:"*";inherits:false}@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-tab-bar-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}'};var d=t("mds_tab_bar",/** @class */function(){function t(t){var e=this;r(this,t);this.changedEvent=a(this,"mdsTabBarChange",7);this.queryItems=function(){return e.element.querySelectorAll("mds-tab-bar-item")}}t.prototype.componentWillLoad=function(){var t=this.queryItems();t.forEach((function(t,r){return t.id="mds-tab-bar-item-".concat(r)}))};t.prototype.changeEventHandler=function(t){var r=this;var a=this.queryItems();a.forEach((function(a,e){a.selected="mds-tab-bar-item-".concat(e)===t.detail;if(a.selected){r.changedEvent.emit({index:e})}}))};t.prototype.render=function(){return e(o,{key:"284ebcda6507599c6b167cf7fb8d4b5befad7b8a","pref-animation":i.state.animation,"pref-contrast":i.state.contrast,"pref-mode":i.state.mode,"pref-theme-scheme":i.state["theme-scheme"]},e("slot",{key:"fded167bbaca31ccb37e255bc713a54c4c3a6d68"}))};Object.defineProperty(t.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());d.style=s()}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-DaONbL_w.system.js","./p-hVpoPUxI.system.js"],(function(t){"use strict";var a,e,r,i,o;return{setters:[function(t){a=t.r;e=t.h;r=t.e;i=t.g},function(t){o=t.p}],execute:function(){var n=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-separator:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-price-table-list-separator-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))/.5);--mds-price-table-list-transition-duration:var(--duration-200,.2s);--private-price-table-list-transition-duration:var(--mds-price-table-list-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:rgb(var(--label-green-10,206 247 221));border-radius:var(--radius-xl,20px);display:grid;gap:calc(var(--spacing,.0025rem)*600);padding:calc(var(--spacing,.0025rem)*600);-webkit-transition-duration:var(--private-price-table-list-transition-duration);transition-duration:var(--private-price-table-list-transition-duration);transition-property:background-color,color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.separator{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-price-table-list-separator-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))/.5));-webkit-transition-duration:var(--private-price-table-list-transition-duration);transition-duration:var(--private-price-table-list-transition-duration);transition-property:background-color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.header,.main{display:grid}.main{gap:calc(var(--spacing,.0025rem)*300)}.footer{display:grid;gap:calc(var(--spacing,.0025rem)*400)}:host([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-price-table-list-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))/.5);background-color:rgb(var(--label-green-09,165 240 193));-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))/.5);-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}@property --tw-ease{syntax:"*";inherits:false}@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-price-table-list-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))/.5);background-color:rgb(var(--label-green-09,165 240 193));-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))/.5);-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}'};var s=t("mds_price_table_list",/** @class */function(){function t(t){a(this,t)}t.prototype.componentWillLoad=function(){this.hasItems=this.hostElement.querySelectorAll('[slot="item"], mds-price-table-list-item').length>0};t.prototype.render=function(){return e(r,{key:"
|
|
1
|
+
System.register(["./p-DaONbL_w.system.js","./p-hVpoPUxI.system.js"],(function(t){"use strict";var a,e,r,i,o;return{setters:[function(t){a=t.r;e=t.h;r=t.e;i=t.g},function(t){o=t.p}],execute:function(){var n=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-separator:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-price-table-list-separator-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))/.5);--mds-price-table-list-transition-duration:var(--duration-200,.2s);--private-price-table-list-transition-duration:var(--mds-price-table-list-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:rgb(var(--label-green-10,206 247 221));border-radius:var(--radius-xl,20px);display:grid;gap:calc(var(--spacing,.0025rem)*600);padding:calc(var(--spacing,.0025rem)*600);-webkit-transition-duration:var(--private-price-table-list-transition-duration);transition-duration:var(--private-price-table-list-transition-duration);transition-property:background-color,color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.separator{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-price-table-list-separator-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))/.5));-webkit-transition-duration:var(--private-price-table-list-transition-duration);transition-duration:var(--private-price-table-list-transition-duration);transition-property:background-color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.header,.main{display:grid}.main{gap:calc(var(--spacing,.0025rem)*300)}.footer{display:grid;gap:calc(var(--spacing,.0025rem)*400)}:host([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-price-table-list-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))/.5);background-color:rgb(var(--label-green-09,165 240 193));-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))/.5);-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}@property --tw-ease{syntax:"*";inherits:false}@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-price-table-list-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))/.5);background-color:rgb(var(--label-green-09,165 240 193));-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))/.5);-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}'};var s=t("mds_price_table_list",/** @class */function(){function t(t){a(this,t)}t.prototype.componentWillLoad=function(){this.hasItems=this.hostElement.querySelectorAll('[slot="item"], mds-price-table-list-item').length>0};t.prototype.render=function(){return e(r,{key:"93acfd389f7c4d5e30abacb57646f5a024caff5b","pref-animation":o.state.animation,"pref-contrast":o.state.contrast,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},e("div",{key:"4e05c08b5b4bffb736c55d9c671843da34e099c1",class:"header",part:"header"},e("slot",{key:"b3af254fa051177ea61b03527143856ec50bbfe1",name:"header"})),this.hasItems&&e("mds-separator",{key:"824c2933a3414563e93f58bd70ead05419b78454",class:"separator"}),this.hasItems&&e("main",{key:"ace71bad20872f85fee8a0218829f45d2387b823",class:"main",part:"content"},e("slot",{key:"6460bf21617109fb44e7fc6813b20c4d0bd11119",name:"item"})),e("div",{key:"29bae6928363dc49659b31aa21231a48bf600c99",class:"footer",part:"footer"},e("slot",{key:"848ba7c6eed967169146022759a32db5f251d351",name:"price"}),e("slot",{key:"cfd31dab6cfda08581960176f56bcc2e4fcc715d",name:"action"})))};Object.defineProperty(t.prototype,"hostElement",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());s.style=n()}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a,h as r,e as t,g as s}from"./p-BxPbQB28.js";import{p as e}from"./p-7-TP6wnI.js";const o=class{constructor(r){a(this,r),this.overflow="manual",this.position="bottom-right"}componentDidLoad(){var a;this.modal=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector(".modal"),this.modal.hideBackdrop=!0}handleVisbilityProp(a){!1===a&&(this.visible=void 0)}async hide(){this.visible=void 0}render(){return r(t,{key:"
|
|
1
|
+
import{r as a,h as r,e as t,g as s}from"./p-BxPbQB28.js";import{p as e}from"./p-7-TP6wnI.js";const o=class{constructor(r){a(this,r),this.overflow="manual",this.position="bottom-right"}componentDidLoad(){var a;this.modal=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector(".modal"),this.modal.hideBackdrop=!0}handleVisbilityProp(a){!1===a&&(this.visible=void 0)}async hide(){this.visible=void 0}render(){return r(t,{key:"bd6bfd16462641ae9615244e07cf6763132a306d","pref-consumption":e.state.consumption,"pref-contrast":e.state.contrast,"pref-mode":e.state.mode,"pref-theme-scheme":e.state["theme-scheme"]},r("mds-modal",{key:"732b0dfe1a9381af936223368fb465fbddc92ec5",class:"modal",opened:this.visible,position:this.position,animation:"custom",overflow:this.overflow},r("div",{key:"4bf29ca7e0a5c2a3b6de185a9a46b9bd7fec303a",class:"status-bar-area",part:"status-bar-area",slot:"window"},r("div",{key:"4c75b2debf61033643adcfdd081e183ea307e0df",class:"status-bar",part:"status-bar"},this.description&&r("mds-text",{key:"7d84aea317475f83ad108087b4ed69d3fff2442b",typography:"caption",class:"description"},this.description),r("div",{key:"def363df5232c8299c886cc17a5e82722297c858",class:"actions",part:"actions"},r("slot",{key:"8a19184549793d1f7471af3c65366eca56a3687a"}))))))}get host(){return s(this)}static get watchers(){return{visible:[{handleVisbilityProp:0}]}}};o.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-modal,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-status-bar-max-width:500px;--mds-status-bar-backdrop:rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.1);--mds-status-bar-backdrop-filter:blur(10px);display:block}mds-modal{--mds-modal-custom-window-distance:0;--mds-modal-custom-closed-transform:translateY(100%)}.status-bar-area{-webkit-backdrop-filter:var(--mds-status-bar-backdrop-filter);backdrop-filter:var(--mds-status-bar-backdrop-filter);background-color:var(--mds-status-bar-backdrop,rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.1));border-radius:var(--radius-xl,20px) var(--radius-xl,20px) 0 0;margin-left:calc(var(--spacing,.0025rem)*600);margin-right:calc(var(--spacing,.0025rem)*600);padding:calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*600);transition-property:background-color,transform,opacity}.status-bar{align-items:flex-start;background-color:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255))));border-radius:var(--radius-lg,16px);-webkit-box-shadow:var(--shadow-md,0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a);box-shadow:var(--shadow-md,0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a);max-width:var(--mds-status-bar-max-width,500px);padding:calc(var(--spacing,.0025rem)*600)}.actions,.status-bar{display:inline-flex;flex-wrap:wrap;gap:calc(var(--spacing,.0025rem)*400)}.actions{flex-grow:1}:host([pref-consumption=medium]){--mds-status-bar-backdrop-filter:none}:host([pref-contrast=more]){--mds-status-bar-backdrop:rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3)}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .status-bar{-webkit-box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15));box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15))}@media (max-width:480px){.status-bar-area{border-radius:0;margin-left:0;margin-right:0;padding:calc(var(--spacing,.0025rem)*400);width:100%}.status-bar{width:100%}.actions{gap:calc(var(--spacing,.0025rem)*200)}::slotted(*){flex-grow:1}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-status-bar-backdrop:rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3)}}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))) .status-bar{-webkit-box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15));box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15))}}";export{o as mds_status_bar}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,d as t,h as s,e as i,g as a}from"./p-BxPbQB28.js";import{L as h}from"./p-Kv1yahtR.js";import{M as r,p as d}from"./p-7-TP6wnI.js";import{m}from"./p-DiWN48aq.js";import{m as o}from"./p-Ccz0jCNB.js";const l=["bevel","notch","round","scoop","square","squircle","default"];var n={label:"Θέμα"},c={label:"Theme"},f={label:"Tema"},p={label:"Tema"};const
|
|
1
|
+
import{r as e,d as t,h as s,e as i,g as a}from"./p-BxPbQB28.js";import{L as h}from"./p-Kv1yahtR.js";import{M as r,p as d}from"./p-7-TP6wnI.js";import{m}from"./p-DiWN48aq.js";import{m as o}from"./p-Ccz0jCNB.js";const l=["bevel","notch","round","scoop","square","squircle","default"];var n={label:"Θέμα"},c={label:"Theme"},f={label:"Tema"},p={label:"Tema"};const u=class{constructor(s){e(this,s),this.themeChangeEvent=t(this,"mdsPrefThemeChange",7),this.prefChangeEvent=t(this,"mdsPrefChange",7),this.showDropdown=!1,this.localStorageAliasThemeName="mdsPrefTheme",this.localStorageAliasThemeScheme="mdsPrefThemeScheme",this.localStorageAliasCornerShape="mdsPrefCornerShape",this.t=new h({el:n,en:c,es:f,it:p}),this.clasNameThemeNamePrefix="pref-theme-",this.previousName=null,this.customPropertyAliasThemeScheme="--magma-pref-theme-scheme",this.customPropertyAliasThemeName="--magma-pref-theme",this.schemeSet={light:"pref-theme-scheme-light",dark:"pref-theme-scheme-dark",all:"pref-theme-scheme-all"},this.name="default",this.scheme="all",this.toggleDropdown=()=>{this.showDropdown=!this.showDropdown},this.hideThemeDropdownSelect=()=>{this.showDropdown=!1},this.changeThemeItem=()=>{this.themeItems.forEach((e=>{e.selected=!1}))},this.checkThemeSelect=()=>{this.themeItems=this.element.querySelectorAll("mds-pref-theme-item"),this.themeItems.forEach((e=>{e.addEventListener("mdsPrefThemeItemSelect",(e=>{this.changeThemeItem(),this.currentSelectedItem=e.currentTarget,this.currentSelectedItem.selected=!0;const t=e.detail.name.toLowerCase(),s=e.detail.scheme.toLowerCase();this.themeChangeEvent.emit({name:t,scheme:s}),this.showDropdown=!1,this.setTheme(t,s)}))})),this.themeItems.forEach((e=>{e.selected=e.name===this.name}))},this.setTheme=(e,t)=>{if(!/^[a-z]+(-[a-z]+)*$/gm.exec(e))throw Error(`Theme name not valid: ${e}`);if(r.includes(e)||"scheme"===e||e.startsWith("scheme-"))throw Error(`Theme name reserved: ${e}`);if(this.name=e,this.scheme=t,this.prefChangeEvent.emit({preference:"theme"}),localStorage.setItem(this.localStorageAliasThemeName,this.name),localStorage.setItem(this.localStorageAliasThemeScheme,this.scheme),"undefined"!=typeof document){const e=document.querySelector("html");for(const t in this.schemeSet)({}).hasOwnProperty.call(this.schemeSet,t)&&(null==e||e.classList.remove(this.schemeSet[t]));null!==this.previousName&&""!==this.previousName&&(null==e||e.classList.remove(this.clasNameThemeNamePrefix+this.previousName)),null==e||e.setAttribute("data-theme-name",this.name),null==e||e.classList.add(this.schemeSet[this.scheme]),null==e||e.classList.add(this.clasNameThemeNamePrefix+this.name),null==e||e.style.setProperty(this.customPropertyAliasThemeName,this.name),null==e||e.style.setProperty(this.customPropertyAliasThemeScheme,this.scheme),this.previousName=this.name}d.state["theme-scheme"]=this.scheme},this.setCornerShape=e=>{if(null!=e){if(!l.includes(e))throw Error(`Corner shape not valid: ${e}`);if(this.cornerShape=e,this.prefChangeEvent.emit({preference:"corner-shape"}),localStorage.setItem(this.localStorageAliasCornerShape,e),"undefined"!=typeof document){const t=document.querySelector("html");"default"===e?null==t||t.removeAttribute("data-corner-shape"):null==t||t.setAttribute("data-corner-shape",e)}d.state["corner-shape"]="default"===e?void 0:e}}}componentDidLoad(){this.checkThemeSelect()}componentWillRender(){var e,t,s;this.userThemeName=localStorage.getItem(this.localStorageAliasThemeName),this.userThemeScheme=localStorage.getItem(this.localStorageAliasThemeScheme),this.setTheme(null!==(e=this.userThemeName)&&void 0!==e?e:this.name,null!==(t=this.userThemeScheme)&&void 0!==t?t:this.scheme),this.userCornerShape=localStorage.getItem(this.localStorageAliasCornerShape),this.setCornerShape(null!==(s=this.userCornerShape)&&void 0!==s?s:this.cornerShape)}render(){return s(i,{key:"655bab98d714ab020ae56308aa1fa456587ba500"},s("div",{key:"071144a78bd76ee76e66ef360e59f36c1609802e",class:"menu"},s("mds-text",{key:"3a2211ba231dc918619022b63f5334245a820d13",class:"info",typography:"caption"},s("b",{key:"b8ee6f47be3a388797107d6fd2a456d1c934d88d"},this.t.get("label"))),s("mds-tab",{key:"d38a2f1af05ccf9ffd18039bc8313fdf4e7253f0",fill:!0,size:this.size},s("mds-tab-item",{key:"14b35f4bab9c48411debd0ae7daccd537012e9cd",selected:!0,onClick:this.toggleDropdown,expanded:this.showDropdown,id:"mds-pref-theme-nav",class:"item item--theme","icon-position":"right",icon:this.showDropdown?o:m,label:this.name}))),s("mds-dropdown",{key:"d0955d813387b5e3d429f65e2efdf22ae6593a00",class:"mds-pref-theme-dropdown",target:"#mds-pref-theme-nav",interaction:"none",visible:this.showDropdown,onMdsDropdownHide:this.hideThemeDropdownSelect},s("slot",{key:"0fff1ca40365164fe32974677fcf798d187e2b75"})))}get element(){return a(this)}};u.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-dropdown,mds-tab,mds-tab-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*400)}.mds-pref-theme-dropdown{gap:calc(var(--spacing,.0025rem)*100);padding:calc(var(--spacing,.0025rem)*400)}.item{--mds-tab-item-default-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));flex-basis:0;flex-grow:1}.item--theme{cursor:pointer}.item--auto,.item--theme{--mds-tab-item-selected-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))))}";export{u as mds_pref_theme}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,h as a,e as n,g as t}from"./p-BxPbQB28.js";import{b as s}from"./p-C0o_l0td.js";import{m as e}from"./p-J-ikDhyq.js";import{c as d}from"./p-ChV9xqsO.js";import{B as r}from"./p-BpVYIPkx.js";import"./p-CHAGzQT-.js";import"./p-D8eZRaSQ.js";import"./p-CSCy6TMW.js";const m=class{constructor(a){i(this,a),this.backdropController=new r("mds-radial-menu-backdrop"),this.angleStart=0,this.angleEnd=360,this.radius=5,this.direction="clockwise",this.backdrop=!1,this.interaction="click",this.variant="dark",this.tone="strong",this.size="lg",this.toggleMenu=()=>{this.opened=!0!==this.opened||void 0},this.setItemSize=()=>{var i;null===(i=this.items)||void 0===i||i.forEach((i=>{i.size=this.size}))},this.setItemIndex=()=>{this.items.forEach(((i,a)=>{i.style.setProperty("--mds-radial-menu-item-index",a.toString())}))},this.setIsFullCircle=()=>{this.hostElement.style.setProperty("--mds-radial-menu-is-full-circle",this.angleEnd-this.angleStart==360?"1":"0")},this.setIsStartGreaterThanEnd=()=>{this.hostElement.style.setProperty("--mds-radial-menu-is-start-greater-than-end",this.angleStart>this.angleEnd?"-1":"1")},this.updateItems=()=>{this.items=s(this.hostElement,"item"),this.setItemSize(),this.setItemIndex(),this.hostElement.style.setProperty("--mds-radial-menu-nth-siblings",(this.items.length-1).toString())},this.toggleRightClickMenu=i=>{i.preventDefault(),this.hostElement.style.top=i.clientY-this.hostElement.offsetHeight/2+"px",this.hostElement.style.left=i.clientX-this.hostElement.offsetWidth/2+"px",this.toggleMenu()},this.handleBackdrop=()=>{this.backdrop&&this.opened?this.backdropController.attachBackdrop():this.backdropController.detachBackdrop()}}componentWillLoad(){var i;this.icon=null!==(i=this.icon)&&void 0!==i?i:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2s-2 .9-2 2s.9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2z"/></svg>',this.onAngleStartChange(this.angleStart),this.onAngleEndChange(this.angleEnd),this.onRadiusChange(this.radius),this.onSizeChange()}componentDidLoad(){this.updateItems(),this.setIsFullCircle(),this.setIsStartGreaterThanEnd(),this.onOpenedChange(this.opened),this.onInteractionChange(this.interaction)}disconnectedCallback(){"undefined"!=typeof document&&document.removeEventListener("contextmenu",this.toggleRightClickMenu)}onDiscChanged(i){!1===i&&(this.disc=void 0)}backdropChanged(i){!1===i&&(this.backdrop=void 0),this.handleBackdrop()}onInteractionChange(i){"undefined"!=typeof document&&("rightclick"!==i?document.removeEventListener("contextmenu",this.toggleRightClickMenu):document.addEventListener("contextmenu",this.toggleRightClickMenu))}onAngleStartChange(i){this.hostElement.style.setProperty("--mds-radial-menu-angle-start",`${i}deg`),this.setIsFullCircle(),this.setIsStartGreaterThanEnd()}onAngleEndChange(i){this.hostElement.style.setProperty("--mds-radial-menu-angle-end",`${i}deg`),this.setIsFullCircle(),this.setIsStartGreaterThanEnd()}onRadiusChange(i){this.hostElement.style.setProperty("--mds-radial-menu-radius",`${i}rem`)}onSizeChange(){this.setItemSize()}onOpenedChange(i){!1===i&&(this.opened=void 0),this.handleBackdrop()}render(){return a(n,{key:"
|
|
1
|
+
import{r as i,h as a,e as n,g as t}from"./p-BxPbQB28.js";import{b as s}from"./p-C0o_l0td.js";import{m as e}from"./p-J-ikDhyq.js";import{c as d}from"./p-ChV9xqsO.js";import{B as r}from"./p-BpVYIPkx.js";import"./p-CHAGzQT-.js";import"./p-D8eZRaSQ.js";import"./p-CSCy6TMW.js";const m=class{constructor(a){i(this,a),this.backdropController=new r("mds-radial-menu-backdrop"),this.angleStart=0,this.angleEnd=360,this.radius=5,this.direction="clockwise",this.backdrop=!1,this.interaction="click",this.variant="dark",this.tone="strong",this.size="lg",this.toggleMenu=()=>{this.opened=!0!==this.opened||void 0},this.setItemSize=()=>{var i;null===(i=this.items)||void 0===i||i.forEach((i=>{i.size=this.size}))},this.setItemIndex=()=>{this.items.forEach(((i,a)=>{i.style.setProperty("--mds-radial-menu-item-index",a.toString())}))},this.setIsFullCircle=()=>{this.hostElement.style.setProperty("--mds-radial-menu-is-full-circle",this.angleEnd-this.angleStart==360?"1":"0")},this.setIsStartGreaterThanEnd=()=>{this.hostElement.style.setProperty("--mds-radial-menu-is-start-greater-than-end",this.angleStart>this.angleEnd?"-1":"1")},this.updateItems=()=>{this.items=s(this.hostElement,"item"),this.setItemSize(),this.setItemIndex(),this.hostElement.style.setProperty("--mds-radial-menu-nth-siblings",(this.items.length-1).toString())},this.toggleRightClickMenu=i=>{i.preventDefault(),this.hostElement.style.top=i.clientY-this.hostElement.offsetHeight/2+"px",this.hostElement.style.left=i.clientX-this.hostElement.offsetWidth/2+"px",this.toggleMenu()},this.handleBackdrop=()=>{this.backdrop&&this.opened?this.backdropController.attachBackdrop():this.backdropController.detachBackdrop()}}componentWillLoad(){var i;this.icon=null!==(i=this.icon)&&void 0!==i?i:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2s-2 .9-2 2s.9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2z"/></svg>',this.onAngleStartChange(this.angleStart),this.onAngleEndChange(this.angleEnd),this.onRadiusChange(this.radius),this.onSizeChange()}componentDidLoad(){this.updateItems(),this.setIsFullCircle(),this.setIsStartGreaterThanEnd(),this.onOpenedChange(this.opened),this.onInteractionChange(this.interaction)}disconnectedCallback(){"undefined"!=typeof document&&document.removeEventListener("contextmenu",this.toggleRightClickMenu)}onDiscChanged(i){!1===i&&(this.disc=void 0)}backdropChanged(i){!1===i&&(this.backdrop=void 0),this.handleBackdrop()}onInteractionChange(i){"undefined"!=typeof document&&("rightclick"!==i?document.removeEventListener("contextmenu",this.toggleRightClickMenu):document.addEventListener("contextmenu",this.toggleRightClickMenu))}onAngleStartChange(i){this.hostElement.style.setProperty("--mds-radial-menu-angle-start",`${i}deg`),this.setIsFullCircle(),this.setIsStartGreaterThanEnd()}onAngleEndChange(i){this.hostElement.style.setProperty("--mds-radial-menu-angle-end",`${i}deg`),this.setIsFullCircle(),this.setIsStartGreaterThanEnd()}onRadiusChange(i){this.hostElement.style.setProperty("--mds-radial-menu-radius",`${i}rem`)}onSizeChange(){this.setItemSize()}onOpenedChange(i){!1===i&&(this.opened=void 0),this.handleBackdrop()}render(){return a(n,{key:"e8b1b70fe069c88a36d1dc2500a14100d38f5649"},a("mds-button",{key:"814d13c6866c143f2b0da867b993e77fa258cbdb",class:d("menu-button","click"!==this.interaction&&"menu-button--hidden"),icon:this.opened?e:this.icon,tone:this.tone,variant:this.variant,size:this.size,onClick:this.toggleMenu}),a("div",{key:"2b33ebb023d2f1fdb8ebb83f721521687ce6993d",class:"radial-menu",part:"radial-menu"},a("slot",{key:"d93fb4f0448bf8494a6d0074a810e389c27a973b",name:"item",onSlotchange:this.updateItems})),a("div",{key:"0235404156f36bd46ad251013aef1025949b0e4f",class:"disc"}))}get hostElement(){return t(this)}static get watchers(){return{disc:[{onDiscChanged:0}],backdrop:[{backdropChanged:0}],interaction:[{onInteractionChange:0}],angleStart:[{onAngleStartChange:0}],angleEnd:[{onAngleEndChange:0}],radius:[{onRadiusChange:0}],size:[{onSizeChange:0}],opened:[{onOpenedChange:0}]}}};m.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-radial-menu-angle-start:0deg;--mds-radial-menu-angle-end:360deg;--mds-radial-menu-context-menu-z-index:var(--magma-context-menu-z-index,8000);--mds-radial-menu-delay:10ms;--mds-radial-menu-direction:-1;--mds-radial-menu-disc-background:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255)))/.5);--mds-radial-menu-disc-filter:blur(8px);--mds-radial-menu-disc-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-radial-menu-disc-size:calc(var(--mds-radial-menu-radius,5rem)*2);--mds-radial-menu-radius:5rem;--mds-radial-menu-transition-duration:.5s;--mds-radial-menu-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));--mds-radial-menu-nth-siblings:0;--mds-radial-menu-disc-delay:0s;--mds-radial-menu-disc-scale:0;--mds-radial-menu-radius-current:0;--mds-radial-menu-is-full-circle:1;--mds-radial-menu-is-start-greater-than-end:1;display:inline-flex;position:relative;-webkit-transition-duration:var(--mds-radial-menu-transition-duration);transition-duration:var(--mds-radial-menu-transition-duration);transition-property:top,left;-webkit-transition-timing-function:var(--mds-radial-menu-transition-timing-function);transition-timing-function:var(--mds-radial-menu-transition-timing-function);z-index:var(--magma-dropdown-z-index,5000)}:host([direction=clockwise]){--mds-radial-menu-direction:calc(var(--mds-radial-menu-is-start-greater-than-end)*-1)}:host([direction=counterclockwise]){--mds-radial-menu-direction:calc(var(--mds-radial-menu-is-start-greater-than-end)*1)}.menu-button{border-radius:100%;position:relative;transform:scale(1);-webkit-transition-duration:var(--mds-radial-menu-transition-duration);transition-duration:var(--mds-radial-menu-transition-duration);-webkit-transition-timing-function:var(--mds-radial-menu-transition-timing-function);transition-timing-function:var(--mds-radial-menu-transition-timing-function);z-index:2}:host(:not([opened])) .menu-button--hidden{transform:scale(0)}.radial-menu{inset:0;pointer-events:none;position:absolute;-webkit-transition-delay:calc((var(--mds-radial-menu-nth-siblings)*2)*var(--mds-radial-menu-delay,10ms));transition-delay:calc((var(--mds-radial-menu-nth-siblings)*2)*var(--mds-radial-menu-delay,10ms));transition-property:z-index;z-index:3}:host(:not([opened])) .radial-menu{transition-delay:0s;z-index:1}:host(:not([opened])){--mds-radial-menu-radius-current:0}:host([opened]){--mds-radial-menu-radius-current:var(--mds-radial-menu-radius,5rem)}:host([opened]) ::slotted(mds-radial-menu-item){pointer-events:auto;transform:scale(1)}::slotted(mds-radial-menu-item){--mds-radial-menu-item-offset-per-child:calc((var(--mds-radial-menu-angle-end,360deg) - var(--mds-radial-menu-angle-start,0deg))/(var(--mds-radial-menu-nth-siblings) + var(--mds-radial-menu-is-full-circle)));--mds-radial-menu-item-angle-offset:calc(var(--mds-radial-menu-direction,-1)*var(--mds-radial-menu-item-index)*var(--mds-radial-menu-item-offset-per-child));--mds-radial-menu-item-delay:calc((var(--mds-radial-menu-item-index) + 1)*var(--mds-radial-menu-delay,10ms));--mds-radial-menu-item-translate:calc(cos((var(--mds-radial-menu-angle-start,0deg) + var(--mds-radial-menu-item-angle-offset))) * var(--mds-radial-menu-radius-current)) calc(sin((var(--mds-radial-menu-angle-start,0deg) + var(--mds-radial-menu-item-angle-offset))) * var(--mds-radial-menu-radius-current) * -1)}.disc{--size:calc(var(--mds-radial-menu-disc-size,calc(5rem * 2)) + var(--mds-radial-menu-radius,5rem));-webkit-backdrop-filter:var(--mds-radial-menu-disc-filter);backdrop-filter:var(--mds-radial-menu-disc-filter);background-color:var(--mds-radial-menu-disc-background,rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255)))/.5));border-radius:100%;-webkit-box-shadow:var(--mds-radial-menu-disc-shadow);box-shadow:var(--mds-radial-menu-disc-shadow);display:inline-flex;height:var(--size);inset:50%;position:absolute;-webkit-transform:translate(-50%,-50%) scale(var(--mds-radial-menu-disc-scale));transform:translate(-50%,-50%) scale(var(--mds-radial-menu-disc-scale));-webkit-transition-delay:var(--mds-radial-menu-disc-delay);transition-delay:var(--mds-radial-menu-disc-delay);-webkit-transition-duration:var(--mds-radial-menu-transition-duration);transition-duration:var(--mds-radial-menu-transition-duration);transition-property:height,transform,width;-webkit-transition-timing-function:var(--mds-radial-menu-transition-timing-function);transition-timing-function:var(--mds-radial-menu-transition-timing-function);width:var(--size);z-index:0}:host(:not([opened][disc])){--mds-radial-menu-disc-scale:0;--mds-radial-menu-disc-delay:calc((var(--mds-radial-menu-nth-siblings) + 1)*var(--mds-radial-menu-delay,10ms))}:host([opened][disc]){--mds-radial-menu-disc-scale:1;--mds-radial-menu-disc-delay:0s}:host([interaction=rightclick]){position:fixed;z-index:var(--mds-radial-menu-context-menu-z-index,var(--magma-context-menu-z-index,8000))}";export{m as mds_radial_menu}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(n,t,e,r){function i(n){return n instanceof e?n:new e((function(t){t(n)}))}return new(e||(e=Promise))((function(e,u){function o(n){try{a(r.next(n))}catch(n){u(n)}}function f(n){try{a(r["throw"](n))}catch(n){u(n)}}function a(n){n.done?e(n.value):i(n.value).then(o,f)}a((r=r.apply(n,t||[])).next())}))};var __generator=this&&this.__generator||function(n,t){var e={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},r,i,u,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=f(0),o["throw"]=f(1),o["return"]=f(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function f(n){return function(t){return a([n,t])}}function a(f){if(r)throw new TypeError("Generator is already executing.");while(o&&(o=0,f[0]&&(e=0)),e)try{if(r=1,i&&(u=f[0]&2?i["return"]:f[0]?i["throw"]||((u=i["return"])&&u.call(i),0):i.next)&&!(u=u.call(i,f[1])).done)return u;if(i=0,u)f=[f[0]&2,u.value];switch(f[0]){case 0:case 1:u=f;break;case 4:e.label++;return{value:f[1],done:false};case 5:e.label++;i=f[1];f=[0];continue;case 7:f=e.ops.pop();e.trys.pop();continue;default:if(!(u=e.trys,u=u.length>0&&u[u.length-1])&&(f[0]===6||f[0]===2)){e=0;continue}if(f[0]===3&&(!u||f[1]>u[0]&&f[1]<u[3])){e.label=f[1];break}if(f[0]===6&&e.label<u[1]){e.label=u[1];u=f;break}if(u&&e.label<u[2]){e.label=u[2];e.ops.push(f);break}if(u[2])e.ops.pop();e.trys.pop();continue}f=t.call(n,e)}catch(n){f=[6,n];i=0}finally{r=u=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:true}}};System.register(["./p-DaONbL_w.system.js"],(function(n){"use strict";var t;return{setters:[function(n){t=n.B}],execute:function(){function e(n){return new Promise((function(t,e){
|
|
2
|
+
// @ts-ignore - file size hacks
|
|
3
|
+
n.oncomplete=n.onsuccess=function(){return t(n.result)};
|
|
4
|
+
// @ts-ignore - file size hacks
|
|
5
|
+
n.onabort=n.onerror=function(){return e(n.error)}}))}function r(n,t){var r;var i=function(){if(r)return r;var i=indexedDB.open(n);i.onupgradeneeded=function(){return i.result.createObjectStore(t)};r=e(i);r.then((function(n){
|
|
6
|
+
// It seems like Safari sometimes likes to just close the connection.
|
|
7
|
+
// It's supposed to fire this event when that happens. Let's hope it does!
|
|
8
|
+
n.onclose=function(){return r=undefined}}),(function(){r=undefined}));return r};return function(n,e){return i().then((function(r){return e(r.transaction(t,n).objectStore(t))}))}}var i;function u(){if(!i){i=r("keyval-store","keyval")}return i}
|
|
9
|
+
/**
|
|
10
|
+
* Get a value by its key.
|
|
11
|
+
*
|
|
12
|
+
* @param key
|
|
13
|
+
* @param customStore Method to get a custom store. Use with caution (see the docs).
|
|
14
|
+
*/function o(n,t){if(t===void 0){t=u()}return t("readonly",(function(t){return e(t.get(n))}))}
|
|
15
|
+
/**
|
|
16
|
+
* Set a value with a key.
|
|
17
|
+
*
|
|
18
|
+
* @param key
|
|
19
|
+
* @param value
|
|
20
|
+
* @param customStore Method to get a custom store. Use with caution (see the docs).
|
|
21
|
+
*/function f(n,t,r){if(r===void 0){r=u()}return r("readwrite",(function(r){r.put(t,n);return e(r.transaction)}))}
|
|
22
|
+
/**
|
|
23
|
+
* Delete a particular key from the store.
|
|
24
|
+
*
|
|
25
|
+
* @param key
|
|
26
|
+
* @param customStore Method to get a custom store. Use with caution (see the docs).
|
|
27
|
+
*/function a(n,t){if(t===void 0){t=u()}return t("readwrite",(function(t){t.delete(n);return e(t.transaction)}))}var s=/** @class */function(){
|
|
28
|
+
/**
|
|
29
|
+
* Create a new icon set. Icon sets have a name (ie, a namespace). For
|
|
30
|
+
* example, an icon with a name of "rh-logo" represents a "logo" icon from the
|
|
31
|
+
* "rh" set. Icon set names are always separated from the rest of the icon
|
|
32
|
+
* name with a hyphen `-`. This means that set names cannot contain a hyphen.
|
|
33
|
+
*
|
|
34
|
+
* @param name the namespace of the icon set
|
|
35
|
+
* @param path the web-accessible path to the icon set (for instance, a CDN)
|
|
36
|
+
* @param resolveIconName an optional function to combine the path and an icon name into a final path. The function will be passed the namespaced icon name (for example, "rh-api" where rh is the namespace and api is the individual icon's name)
|
|
37
|
+
* @returns an object with the status of the icon set installation, such as `{ result: true, text: 'icon set installed' }` or `{ result: false, text: 'icon set is already installed' }`
|
|
38
|
+
*/
|
|
39
|
+
function n(n,t,e){this.name=n;this.path=t;this._resolveIconName=e}
|
|
40
|
+
/**
|
|
41
|
+
* Run the icon set's name resolver to turn an icon name into an icon path, id, etc.
|
|
42
|
+
*/n.prototype.resolveIconName=function(n){
|
|
43
|
+
// console.log(`resolveIconName - iconName: ${iconName} | name: ${this.name} | path: ${this.path}`)
|
|
44
|
+
return this._resolveIconName(n,this.name,this.path)};Object.defineProperty(n.prototype,"resolver",{get:function(){return this._resolveIconName},enumerable:false,configurable:true});return n}();
|
|
45
|
+
// Shared, cross-realm key for the configured SVG base path. Stencil emits several bundled
|
|
46
|
+
// copies of this singleton (lazy chunks, the esm/esm-es5 variants, dist/components, and the
|
|
47
|
+
// public `services` entry); `Symbol.for` returns the same symbol in every copy, so storing
|
|
48
|
+
// the path under it on `globalThis` gives them all one source of truth.
|
|
49
|
+
var c=Symbol.for("@maggioli-design-system/magma:mdsIconSvgPath");var h=/** @class */function(){function n(){var n=this;this._svgPathKey="mdsIconSvgPath";this._iconsSets=new Map;this._svgPathUpdate="mdsIconSvgPathUpdate";this.cacheExp=60*60*1e3*24;this.listeners=new Set;this.memoryCache={};
|
|
50
|
+
// Try to retrieve svg from cache
|
|
51
|
+
this.isCacheAvailable=function(t){return __awaiter(n,void 0,void 0,(function(){var n,e,r;return __generator(this,(function(i){switch(i.label){case 0:
|
|
52
|
+
// idb-keyval requires indexedDB, missing in the hydrate/SSR runtime
|
|
53
|
+
if(typeof indexedDB==="undefined"){return[2/*return*/,false]}i.label=1;case 1:i.trys.push([1,3,,4]);return[4/*yield*/,o("loader_".concat(t))];case 2:n=i.sent();if(!n){return[2/*return*/,false]}e=JSON.parse(n);if(Date.now()<e.expiry){return[2/*return*/,e.data]}a("loader_".concat(t));return[2/*return*/,false];case 3:r=i.sent();console.error("isCacheAvailable error",r);return[2/*return*/,false];case 4:return[2/*return*/]}}))}))};
|
|
54
|
+
// Set svg to cache
|
|
55
|
+
this.setCache=function(t,e){return __awaiter(n,void 0,void 0,(function(){var n;return __generator(this,(function(r){switch(r.label){case 0:if(typeof indexedDB==="undefined"){return[2/*return*/]}r.label=1;case 1:r.trys.push([1,3,,4]);return[4/*yield*/,f("loader_".concat(t),JSON.stringify({data:e,expiry:Date.now()+this.cacheExp}))];case 2:r.sent();return[3/*break*/,4];case 3:n=r.sent();console.error("setCache error",n);return[3/*break*/,4];case 4:return[2/*return*/]}}))}))};this.setUpListener()}Object.defineProperty(n.prototype,"_svgPath",{
|
|
56
|
+
// Backed by `globalThis` (see SVG_PATH_GLOBAL) rather than an instance field, so that every
|
|
57
|
+
// bundled copy of this singleton reads/writes the same path and stays in sync regardless of
|
|
58
|
+
// how the consumer imports the service. No sessionStorage involved.
|
|
59
|
+
get:function(){var n;if(typeof globalThis==="undefined")return"";return(n=globalThis[c])!==null&&n!==void 0?n:""},set:function(n){if(typeof globalThis==="undefined")return;globalThis[c]=n},enumerable:false,configurable:true});n.prototype.addIconSet=function(n,t,e){var r=e;var i=this._iconsSets.get(n);if(!r&&i&&typeof i.resolver==="function"){r=i.resolver}else if(r&&typeof r!=="function"){console.error("MdsIconSvg: the third input of addIconSet should be a function that parses and returns the icons's filename.");return false}else if(!r){console.error("MdsIconSvg: the set ".concat(n," needs a resolve function for the icon names."));return false}this._iconsSets.set(n,new s(n,t,r));return true};n.prototype.getIconSet=function(n){if(!n)return{set:null};return{set:this._iconsSets.get(n.split("/")[0])}};
|
|
60
|
+
/**
|
|
61
|
+
* Sets the directory of the svg files. Query and fragment are dropped: the icon name is
|
|
62
|
+
* appended to the path.
|
|
63
|
+
*
|
|
64
|
+
* input path: https://www.abc.com/svg/path/
|
|
65
|
+
* svgPath = https://www.abc.com/svg/path/
|
|
66
|
+
*
|
|
67
|
+
* input path: localhost:9000/svg/path/
|
|
68
|
+
* svgPath = //localhost:9000/svg/path/ (with the protocol of the page)
|
|
69
|
+
*
|
|
70
|
+
* input path: /svg/path/ or svg/path/
|
|
71
|
+
* svgPath = unchanged, resolved by `fetch` against the document base URL on each request
|
|
72
|
+
*
|
|
73
|
+
* input path: empty or not a URL
|
|
74
|
+
* throw error
|
|
75
|
+
*/n.prototype.setSvgPath=function(n){var t=Error("Svg path not recognize ".concat(n,", ensure is a absolute path starting with '/' or a url"));if(typeof n!=="string"||n.trim()===""){throw t}var e=n.trim();
|
|
76
|
+
// a host with a port and no scheme (`localhost:9000/svg/`) would be read as the scheme `localhost:`
|
|
77
|
+
var r=/^[\w.-]+:\d+(\/|$)/.test(e)?"//".concat(e):e;var i;try{
|
|
78
|
+
// the placeholder base only validates a path, which is kept as it is
|
|
79
|
+
i=new URL(r,"http://localhost/")}catch(n){throw t}if(typeof window!=="undefined"){if(/^[a-z][a-z\d+.-]*:/i.test(r)){i.search="";i.hash="";this._svgPath=i.href}else{this._svgPath=r.replace(/[?#].*$/,"")}window.dispatchEvent(new Event(this._svgPathUpdate))}};n.prototype.getSvgPath=function(){return this._svgPath};n.prototype.registerListener=function(n){this.listeners.add(n)};n.prototype.unregisterListener=function(n){this.listeners.delete(n)};n.prototype.setUpListener=function(){var n=this;if(typeof window!=="undefined"){window.addEventListener(this._svgPathUpdate,(function(){for(var t=0,e=n.listeners;t<e.length;t++){var r=e[t];r()}}))}};n.prototype.fetchSvg=function(n){return __awaiter(this,void 0,void 0,(function(){var e,r,i,u,o,f,a,s;return __generator(this,(function(c){switch(c.label){case 0:
|
|
80
|
+
// No fetch during SSR: relative icon paths have no origin to resolve
|
|
81
|
+
// against, and the client re-fetches after hydration anyway. The empty
|
|
82
|
+
// icon causes no layout shift because mds-icon's :host reserves the box
|
|
83
|
+
// (aspect-ratio + width). Spec tests also run with isServer=true but mock
|
|
84
|
+
// fetch, so they are excluded via isTesting.
|
|
85
|
+
if(t.isServer&&!t.isTesting){return[2/*return*/,""]}
|
|
86
|
+
// an icon without the attribute passes an undefined (or null) name: there is nothing to load
|
|
87
|
+
if(!n){return[2/*return*/,""]}c.label=1;case 1:c.trys.push([1,5,,6]);if(!this._svgPath&&typeof window==="undefined"){throw Error("Cant find svgPath, ensure you set it")}if(!this._svgPath){r="";try{r=(e=window.sessionStorage.getItem(d._svgPathKey))!==null&&e!==void 0?e:""}catch(n){
|
|
88
|
+
/* sessionStorage unavailable — ignore */}if(r){this.setSvgPath(r)}}i=this._svgPath&&!n.startsWith("http")?this._svgPath.concat(n,".svg"):n;
|
|
89
|
+
// Memory first: every instance of an icon already loaded skips the IndexedDB round-trip
|
|
90
|
+
if(this.memoryCache[i]){return[2/*return*/,this.memoryCache[i]]}return[4/*yield*/,this.isCacheAvailable(i)];case 2:u=c.sent();if(u){this.memoryCache[i]=u;return[2/*return*/,u]}return[4/*yield*/,fetch(i)];case 3:o=c.sent();if(!o.ok){throw Error("Request for '".concat(i,"' returned ").concat(o.status," (").concat(o.statusText,")"))}return[4/*yield*/,o.text()];case 4:f=c.sent();a=f.toLowerCase().trim();if(!(a.startsWith("<svg")||a.startsWith("<?xml"))){throw Error("Resource '".concat(i,"' returned an invalid SVG file"))}this.setCache(i,f);this.memoryCache[i]=f;return[2/*return*/,f];case 5:s=c.sent();console.error("fetchSvg error",s);return[2/*return*/,""];case 6:return[2/*return*/]}}))}))};return n}();var d=n("IconsSetService",new h);
|
|
91
|
+
// Shared, cross-realm slot for the registered handler. Stencil emits several bundled copies of
|
|
92
|
+
// this module (lazy chunks, dist/components, the public `services` entry); `Symbol.for` returns
|
|
93
|
+
// the same symbol in every copy, so storing the handler under it on `globalThis` gives them all
|
|
94
|
+
// one source of truth, whichever copy the consumer registered it through.
|
|
95
|
+
var l=Symbol.for("@maggioli-design-system/magma:navigationHandler");var v=function(n){return n.button===0&&!n.ctrlKey&&!n.metaKey&&!n.shiftKey&&!n.altKey};var w=function(n){if(typeof window==="undefined")return false;try{return new URL(n,document.baseURI).origin===window.location.origin}catch(n){return false}};var g=/** @class */function(){function n(){}Object.defineProperty(n.prototype,"handler",{get:function(){if(typeof globalThis==="undefined")return undefined;return globalThis[l]},set:function(n){if(typeof globalThis==="undefined")return;globalThis[l]=n},enumerable:false,configurable:true});
|
|
96
|
+
/**
|
|
97
|
+
* Registers the handler of the app, replacing the previous one; `undefined` removes it.
|
|
98
|
+
* Returns the function that removes this handler, for the cleanup of an effect.
|
|
99
|
+
*/n.prototype.setHandler=function(n){var t=this;this.handler=n;return function(){if(t.handler===n)t.handler=undefined}};n.prototype.getHandler=function(){return this.handler};
|
|
100
|
+
/**
|
|
101
|
+
* Whether the registered handler is to take this click on this link: there is one, the click
|
|
102
|
+
* is a plain one and the link stays on the origin of the page.
|
|
103
|
+
*/n.prototype.canHandle=function(n,t){return this.handler!==undefined&&v(t)&&w(n)};
|
|
104
|
+
/**
|
|
105
|
+
* Hands the link to the registered handler. `true` when it took it; `false` when there is
|
|
106
|
+
* none or it declined, and the caller follows the link itself.
|
|
107
|
+
*/n.prototype.handle=function(n,t){var e=this.handler;if(e===undefined)return false;return e(n,t)!==false};return n}();var y=n("NavigationService",new g)}}}));
|