@maggioli-design-system/magma 2.0.1 → 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 +72 -0
- package/agents/anti-patterns.md +39 -0
- package/agents/assets.md +203 -0
- package/agents/color.md +193 -0
- package/agents/components.md +129 -0
- package/agents/conventions.md +188 -0
- package/agents/install.md +169 -0
- package/agents/reporting.md +118 -0
- package/agents/theming.md +140 -0
- package/agents/typography.md +32 -0
- package/agents/variants.md +112 -0
- package/dist/cjs/floating-controller-uOCBLTk2.js +369 -0
- package/dist/cjs/form-Bk2OHlHM.js +46 -0
- package/dist/cjs/index-MyEb-PfD.js +198 -0
- package/dist/cjs/index-UmmmCMIG.js +5184 -0
- package/dist/cjs/index.cjs.js +63 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/locale-CnorkBwF.js +816 -0
- package/dist/cjs/magma-components.cjs.js +2 -2
- package/dist/cjs/mds-accordion-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +1 -1
- package/dist/cjs/mds-accordion.cjs.entry.js +2 -2
- package/dist/cjs/mds-author.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar.cjs.entry.js +2 -2
- package/dist/cjs/mds-badge.cjs.entry.js +2 -2
- package/dist/cjs/mds-banner_3.cjs.entry.js +6 -6
- package/dist/cjs/mds-benchmark-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-bibliography.cjs.entry.js +1 -1
- package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-breadcrumb.cjs.entry.js +3 -3
- package/dist/cjs/mds-button-dropdown.cjs.entry.js +38 -4
- package/dist/cjs/mds-button-group.cjs.entry.js +2 -2
- package/dist/cjs/mds-button_3.cjs.entry.js +81 -28
- package/dist/cjs/mds-calendar_2.cjs.entry.js +7 -7
- package/dist/cjs/mds-card-content.cjs.entry.js +2 -2
- package/dist/cjs/mds-card-footer.cjs.entry.js +2 -2
- package/dist/cjs/mds-card-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-card-media.cjs.entry.js +2 -2
- package/dist/cjs/mds-card.cjs.entry.js +3 -3
- package/dist/cjs/mds-details.cjs.entry.js +3 -3
- package/dist/cjs/mds-dropdown.cjs.entry.js +5 -5
- package/dist/cjs/mds-emoji.cjs.entry.js +3 -3
- package/dist/cjs/mds-entity.cjs.entry.js +3 -3
- package/dist/cjs/mds-file-preview.cjs.entry.js +5 -5
- package/dist/cjs/mds-file.cjs.entry.js +4 -4
- package/dist/cjs/mds-filter-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-filter.cjs.entry.js +3 -3
- package/dist/cjs/mds-header-bar.cjs.entry.js +3 -3
- package/dist/cjs/mds-header.cjs.entry.js +3 -3
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +2 -2
- package/dist/cjs/mds-hr.cjs.entry.js +3 -3
- package/dist/cjs/mds-img.cjs.entry.js +3 -3
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-date-range.cjs.entry.js +89 -9
- package/dist/cjs/mds-input-date.cjs.entry.js +124 -27
- package/dist/cjs/mds-input-field.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-otp.cjs.entry.js +65 -19
- package/dist/cjs/mds-input-range.cjs.entry.js +32 -16
- package/dist/cjs/mds-input-select.cjs.entry.js +159 -30
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +64 -22
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +6 -6
- package/dist/cjs/mds-input-upload.cjs.entry.js +136 -67
- package/dist/cjs/mds-input.cjs.entry.js +320 -36
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +4 -4
- package/dist/cjs/mds-keyboard.cjs.entry.js +4 -4
- package/dist/cjs/mds-kpi-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
- package/dist/cjs/mds-label.cjs.entry.js +3 -3
- package/dist/cjs/mds-list-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-list.cjs.entry.js +2 -2
- package/dist/cjs/mds-mention.cjs.entry.js +4 -4
- package/dist/cjs/mds-modal.cjs.entry.js +5 -5
- package/dist/cjs/mds-note.cjs.entry.js +4 -4
- package/dist/cjs/mds-notification.cjs.entry.js +3 -3
- package/dist/cjs/mds-paginator-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-paginator.cjs.entry.js +3 -3
- package/dist/cjs/mds-policy-ai.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-animation.cjs.entry.js +29 -5
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +29 -5
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +27 -6
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-language.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-mode.cjs.entry.js +30 -7
- package/dist/cjs/mds-pref-theme-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-pref-theme.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref.cjs.entry.js +10 -5
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table-features.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-list.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table.cjs.entry.js +2 -2
- package/dist/cjs/mds-progress_2.cjs.entry.js +4 -4
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +5 -5
- package/dist/cjs/mds-push-notification.cjs.entry.js +3 -3
- package/dist/cjs/mds-quote.cjs.entry.js +3 -3
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-radial-menu.cjs.entry.js +3 -3
- package/dist/cjs/mds-separator.cjs.entry.js +3 -3
- package/dist/cjs/mds-status-bar.cjs.entry.js +3 -3
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +2 -2
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-tab-bar.cjs.entry.js +3 -3
- package/dist/cjs/mds-tab_2.cjs.entry.js +29 -7
- package/dist/cjs/mds-table-body.cjs.entry.js +3 -3
- package/dist/cjs/mds-table-footer.cjs.entry.js +3 -3
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +3 -3
- package/dist/cjs/mds-table-header.cjs.entry.js +4 -4
- package/dist/cjs/mds-table-row.cjs.entry.js +24 -18
- package/dist/cjs/mds-table.cjs.entry.js +4 -4
- package/dist/cjs/mds-text.cjs.entry.js +3 -3
- package/dist/cjs/mds-toast.cjs.entry.js +3 -3
- package/dist/cjs/mds-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/mds-tree-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-tree.cjs.entry.js +2 -2
- package/dist/cjs/mds-url-view.cjs.entry.js +4 -4
- package/dist/cjs/mds-usage.cjs.entry.js +4 -4
- package/dist/cjs/mds-video-wall.cjs.entry.js +2 -2
- package/dist/cjs/mds-zero.cjs.entry.js +3 -3
- package/dist/cjs/preference-DRkzNp5a.js +389 -0
- package/dist/collection/common/form.js +24 -1
- package/dist/collection/common/navigation.js +60 -0
- package/dist/collection/common/validity/index.js +42 -0
- package/dist/collection/components/mds-accordion/AGENTS.md +65 -0
- package/dist/collection/components/mds-accordion/antipattern.md +123 -0
- package/dist/collection/components/mds-accordion/documentation.json +172 -0
- package/dist/collection/components/mds-accordion/pattern.md +150 -0
- package/dist/collection/components/mds-accordion-item/AGENTS.md +76 -0
- package/dist/collection/components/mds-accordion-item/antipattern.md +137 -0
- package/dist/collection/components/mds-accordion-item/documentation.json +288 -0
- package/dist/collection/components/mds-accordion-item/pattern.md +156 -0
- package/dist/collection/components/mds-accordion-timer/AGENTS.md +65 -0
- package/dist/collection/components/mds-accordion-timer/antipattern.md +133 -0
- package/dist/collection/components/mds-accordion-timer/documentation.json +168 -0
- package/dist/collection/components/mds-accordion-timer/pattern.md +137 -0
- package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +82 -0
- package/dist/collection/components/mds-accordion-timer-item/antipattern.md +143 -0
- package/dist/collection/components/mds-accordion-timer-item/documentation.json +400 -0
- package/dist/collection/components/mds-accordion-timer-item/pattern.md +136 -0
- package/dist/collection/components/mds-author/AGENTS.md +40 -0
- package/dist/collection/components/mds-author/antipattern.md +106 -0
- package/dist/collection/components/mds-author/documentation.json +51 -0
- package/dist/collection/components/mds-author/pattern.md +101 -0
- package/dist/collection/components/mds-avatar/AGENTS.md +70 -0
- package/dist/collection/components/mds-avatar/antipattern.md +96 -0
- package/dist/collection/components/mds-avatar/documentation.json +362 -0
- package/dist/collection/components/mds-avatar/pattern.md +108 -0
- package/dist/collection/components/mds-avatar-stack/AGENTS.md +65 -0
- package/dist/collection/components/mds-avatar-stack/antipattern.md +122 -0
- package/dist/collection/components/mds-avatar-stack/documentation.json +196 -0
- package/dist/collection/components/mds-avatar-stack/pattern.md +125 -0
- package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +60 -0
- package/dist/collection/components/mds-avatar-stack-item/antipattern.md +113 -0
- package/dist/collection/components/mds-avatar-stack-item/documentation.json +315 -0
- package/dist/collection/components/mds-avatar-stack-item/pattern.md +105 -0
- package/dist/collection/components/mds-badge/AGENTS.md +63 -0
- package/dist/collection/components/mds-badge/antipattern.md +104 -0
- package/dist/collection/components/mds-badge/documentation.json +316 -0
- package/dist/collection/components/mds-badge/pattern.md +130 -0
- package/dist/collection/components/mds-banner/AGENTS.md +87 -0
- package/dist/collection/components/mds-banner/antipattern.md +141 -0
- package/dist/collection/components/mds-banner/documentation.json +378 -0
- package/dist/collection/components/mds-banner/pattern.md +176 -0
- package/dist/collection/components/mds-benchmark-bar/AGENTS.md +59 -0
- package/dist/collection/components/mds-benchmark-bar/antipattern.md +77 -0
- package/dist/collection/components/mds-benchmark-bar/documentation.json +313 -0
- package/dist/collection/components/mds-benchmark-bar/pattern.md +102 -0
- package/dist/collection/components/mds-bibliography/AGENTS.md +61 -0
- package/dist/collection/components/mds-bibliography/antipattern.md +130 -0
- package/dist/collection/components/mds-bibliography/documentation.json +407 -0
- package/dist/collection/components/mds-bibliography/pattern.md +142 -0
- package/dist/collection/components/mds-breadcrumb/AGENTS.md +68 -0
- package/dist/collection/components/mds-breadcrumb/antipattern.md +112 -0
- package/dist/collection/components/mds-breadcrumb/documentation.json +156 -0
- package/dist/collection/components/mds-breadcrumb/pattern.md +103 -0
- package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +67 -0
- package/dist/collection/components/mds-breadcrumb-item/antipattern.md +109 -0
- package/dist/collection/components/mds-breadcrumb-item/documentation.json +160 -0
- package/dist/collection/components/mds-breadcrumb-item/pattern.md +85 -0
- package/dist/collection/components/mds-button/AGENTS.md +102 -0
- package/dist/collection/components/mds-button/antipattern.md +144 -0
- package/dist/collection/components/mds-button/documentation.json +922 -0
- package/dist/collection/components/mds-button/mds-button.css +17 -1
- package/dist/collection/components/mds-button/mds-button.js +116 -24
- package/dist/collection/components/mds-button/pattern.md +198 -0
- package/dist/collection/components/mds-button-dropdown/AGENTS.md +88 -0
- package/dist/collection/components/mds-button-dropdown/antipattern.md +158 -0
- package/dist/collection/components/mds-button-dropdown/documentation.json +614 -0
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +94 -6
- package/dist/collection/components/mds-button-dropdown/pattern.md +164 -0
- package/dist/collection/components/mds-button-group/AGENTS.md +33 -0
- package/dist/collection/components/mds-button-group/antipattern.md +105 -0
- package/dist/collection/components/mds-button-group/documentation.json +43 -0
- package/dist/collection/components/mds-button-group/mds-button-group.js +1 -1
- package/dist/collection/components/mds-button-group/pattern.md +89 -0
- package/dist/collection/components/mds-calendar/AGENTS.md +96 -0
- package/dist/collection/components/mds-calendar/antipattern.md +113 -0
- package/dist/collection/components/mds-calendar/documentation.json +626 -0
- package/dist/collection/components/mds-calendar/mds-calendar.js +4 -4
- package/dist/collection/components/mds-calendar/pattern.md +128 -0
- package/dist/collection/components/mds-calendar-cell/AGENTS.md +94 -0
- package/dist/collection/components/mds-calendar-cell/antipattern.md +58 -0
- package/dist/collection/components/mds-calendar-cell/documentation.json +539 -0
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +1 -1
- package/dist/collection/components/mds-calendar-cell/pattern.md +82 -0
- package/dist/collection/components/mds-card/AGENTS.md +60 -0
- package/dist/collection/components/mds-card/antipattern.md +133 -0
- package/dist/collection/components/mds-card/documentation.json +117 -0
- package/dist/collection/components/mds-card/mds-card.js +1 -1
- package/dist/collection/components/mds-card/pattern.md +160 -0
- package/dist/collection/components/mds-card-content/AGENTS.md +34 -0
- package/dist/collection/components/mds-card-content/antipattern.md +110 -0
- package/dist/collection/components/mds-card-content/documentation.json +43 -0
- package/dist/collection/components/mds-card-content/mds-card-content.js +1 -1
- package/dist/collection/components/mds-card-content/pattern.md +91 -0
- package/dist/collection/components/mds-card-footer/AGENTS.md +34 -0
- package/dist/collection/components/mds-card-footer/antipattern.md +112 -0
- package/dist/collection/components/mds-card-footer/documentation.json +43 -0
- package/dist/collection/components/mds-card-footer/mds-card-footer.js +1 -1
- package/dist/collection/components/mds-card-footer/pattern.md +95 -0
- package/dist/collection/components/mds-card-header/AGENTS.md +38 -0
- package/dist/collection/components/mds-card-header/antipattern.md +114 -0
- package/dist/collection/components/mds-card-header/documentation.json +51 -0
- package/dist/collection/components/mds-card-header/mds-card-header.js +1 -1
- package/dist/collection/components/mds-card-header/pattern.md +143 -0
- package/dist/collection/components/mds-card-media/AGENTS.md +46 -0
- package/dist/collection/components/mds-card-media/antipattern.md +128 -0
- package/dist/collection/components/mds-card-media/documentation.json +56 -0
- package/dist/collection/components/mds-card-media/mds-card-media.js +1 -1
- package/dist/collection/components/mds-card-media/pattern.md +93 -0
- package/dist/collection/components/mds-chip/AGENTS.md +84 -0
- package/dist/collection/components/mds-chip/antipattern.md +119 -0
- package/dist/collection/components/mds-chip/documentation.json +535 -0
- package/dist/collection/components/mds-chip/mds-chip.js +2 -2
- package/dist/collection/components/mds-chip/pattern.md +166 -0
- package/dist/collection/components/mds-details/AGENTS.md +72 -0
- package/dist/collection/components/mds-details/antipattern.md +128 -0
- package/dist/collection/components/mds-details/documentation.json +153 -0
- package/dist/collection/components/mds-details/mds-details.js +1 -1
- package/dist/collection/components/mds-details/pattern.md +138 -0
- package/dist/collection/components/mds-dropdown/AGENTS.md +95 -0
- package/dist/collection/components/mds-dropdown/antipattern.md +137 -0
- package/dist/collection/components/mds-dropdown/documentation.json +701 -0
- package/dist/collection/components/mds-dropdown/mds-dropdown.js +2 -2
- package/dist/collection/components/mds-dropdown/pattern.md +201 -0
- package/dist/collection/components/mds-emoji/AGENTS.md +88 -0
- package/dist/collection/components/mds-emoji/antipattern.md +134 -0
- package/dist/collection/components/mds-emoji/documentation.json +506 -0
- package/dist/collection/components/mds-emoji/mds-emoji.js +1 -1
- package/dist/collection/components/mds-emoji/pattern.md +219 -0
- package/dist/collection/components/mds-entity/AGENTS.md +76 -0
- package/dist/collection/components/mds-entity/antipattern.md +112 -0
- package/dist/collection/components/mds-entity/documentation.json +365 -0
- package/dist/collection/components/mds-entity/mds-entity.js +1 -1
- package/dist/collection/components/mds-entity/pattern.md +125 -0
- package/dist/collection/components/mds-file/AGENTS.md +63 -0
- package/dist/collection/components/mds-file/antipattern.md +92 -0
- package/dist/collection/components/mds-file/documentation.json +484 -0
- package/dist/collection/components/mds-file/mds-file.js +1 -1
- package/dist/collection/components/mds-file/pattern.md +109 -0
- package/dist/collection/components/mds-file-preview/AGENTS.md +88 -0
- package/dist/collection/components/mds-file-preview/antipattern.md +129 -0
- package/dist/collection/components/mds-file-preview/documentation.json +780 -0
- package/dist/collection/components/mds-file-preview/mds-file-preview.js +2 -2
- package/dist/collection/components/mds-file-preview/pattern.md +164 -0
- package/dist/collection/components/mds-filter/AGENTS.md +72 -0
- package/dist/collection/components/mds-filter/antipattern.md +140 -0
- package/dist/collection/components/mds-filter/documentation.json +239 -0
- package/dist/collection/components/mds-filter/mds-filter.js +1 -1
- package/dist/collection/components/mds-filter/pattern.md +129 -0
- package/dist/collection/components/mds-filter-item/AGENTS.md +64 -0
- package/dist/collection/components/mds-filter-item/antipattern.md +127 -0
- package/dist/collection/components/mds-filter-item/documentation.json +240 -0
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +1 -1
- package/dist/collection/components/mds-filter-item/pattern.md +125 -0
- package/dist/collection/components/mds-header/AGENTS.md +95 -0
- package/dist/collection/components/mds-header/antipattern.md +120 -0
- package/dist/collection/components/mds-header/documentation.json +491 -0
- package/dist/collection/components/mds-header/mds-header.js +1 -1
- package/dist/collection/components/mds-header/pattern.md +182 -0
- package/dist/collection/components/mds-header-bar/AGENTS.md +80 -0
- package/dist/collection/components/mds-header-bar/antipattern.md +119 -0
- package/dist/collection/components/mds-header-bar/documentation.json +251 -0
- package/dist/collection/components/mds-header-bar/mds-header-bar.js +1 -1
- package/dist/collection/components/mds-header-bar/pattern.md +134 -0
- package/dist/collection/components/mds-help/AGENTS.md +65 -0
- package/dist/collection/components/mds-help/antipattern.md +73 -0
- package/dist/collection/components/mds-help/documentation.json +228 -0
- package/dist/collection/components/mds-help/mds-help.js +1 -1
- package/dist/collection/components/mds-help/pattern.md +106 -0
- package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +72 -0
- package/dist/collection/components/mds-horizontal-scroll/antipattern.md +120 -0
- package/dist/collection/components/mds-horizontal-scroll/documentation.json +279 -0
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +1 -1
- package/dist/collection/components/mds-horizontal-scroll/pattern.md +154 -0
- package/dist/collection/components/mds-hr/AGENTS.md +27 -0
- package/dist/collection/components/mds-hr/antipattern.md +84 -0
- package/dist/collection/components/mds-hr/documentation.json +33 -0
- package/dist/collection/components/mds-hr/mds-hr.js +1 -1
- package/dist/collection/components/mds-hr/pattern.md +88 -0
- package/dist/collection/components/mds-icon/AGENTS.md +52 -0
- package/dist/collection/components/mds-icon/antipattern.md +118 -0
- package/dist/collection/components/mds-icon/documentation.json +205 -0
- package/dist/collection/components/mds-icon/mds-icon.js +1 -1
- package/dist/collection/components/mds-icon/pattern.md +135 -0
- package/dist/collection/components/mds-img/AGENTS.md +78 -0
- package/dist/collection/components/mds-img/antipattern.md +106 -0
- package/dist/collection/components/mds-img/documentation.json +470 -0
- package/dist/collection/components/mds-img/pattern.md +128 -0
- package/dist/collection/components/mds-input/AGENTS.md +138 -0
- package/dist/collection/components/mds-input/antipattern.md +128 -0
- package/dist/collection/components/mds-input/documentation.json +1574 -0
- package/dist/collection/components/mds-input/mds-input.js +185 -30
- package/dist/collection/components/mds-input/meta/input-type/InputValidationManager.js +8 -1
- package/dist/collection/components/mds-input/meta/validators.js +100 -2
- package/dist/collection/components/mds-input/meta/validity.js +35 -0
- package/dist/collection/components/mds-input/pattern.md +252 -0
- package/dist/collection/components/mds-input-date/AGENTS.md +98 -0
- package/dist/collection/components/mds-input-date/antipattern.md +107 -0
- package/dist/collection/components/mds-input-date/documentation.json +638 -0
- package/dist/collection/components/mds-input-date/mds-input-date.js +130 -24
- package/dist/collection/components/mds-input-date/pattern.md +158 -0
- package/dist/collection/components/mds-input-date-range/AGENTS.md +90 -0
- package/dist/collection/components/mds-input-date-range/antipattern.md +168 -0
- package/dist/collection/components/mds-input-date-range/documentation.json +502 -0
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +13 -0
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +106 -5
- package/dist/collection/components/mds-input-date-range/pattern.md +122 -0
- package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +62 -0
- package/dist/collection/components/mds-input-date-range-preselection/antipattern.md +147 -0
- package/dist/collection/components/mds-input-date-range-preselection/documentation.json +176 -0
- package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +1 -1
- package/dist/collection/components/mds-input-date-range-preselection/pattern.md +101 -0
- package/dist/collection/components/mds-input-field/AGENTS.md +60 -0
- package/dist/collection/components/mds-input-field/antipattern.md +115 -0
- package/dist/collection/components/mds-input-field/documentation.json +178 -0
- package/dist/collection/components/mds-input-field/mds-input-field.js +1 -1
- package/dist/collection/components/mds-input-field/pattern.md +95 -0
- package/dist/collection/components/mds-input-otp/AGENTS.md +48 -0
- package/dist/collection/components/mds-input-otp/antipattern.md +105 -0
- package/dist/collection/components/mds-input-otp/documentation.json +203 -0
- package/dist/collection/components/mds-input-otp/mds-input-otp.css +4 -1
- package/dist/collection/components/mds-input-otp/mds-input-otp.js +88 -15
- package/dist/collection/components/mds-input-otp/pattern.md +107 -0
- package/dist/collection/components/mds-input-range/AGENTS.md +84 -0
- package/dist/collection/components/mds-input-range/antipattern.md +127 -0
- package/dist/collection/components/mds-input-range/documentation.json +315 -0
- package/dist/collection/components/mds-input-range/mds-input-range.css +6 -2
- package/dist/collection/components/mds-input-range/mds-input-range.js +30 -13
- package/dist/collection/components/mds-input-range/pattern.md +110 -0
- package/dist/collection/components/mds-input-select/AGENTS.md +99 -0
- package/dist/collection/components/mds-input-select/antipattern.md +126 -0
- package/dist/collection/components/mds-input-select/documentation.json +552 -0
- package/dist/collection/components/mds-input-select/mds-input-select.js +164 -35
- package/dist/collection/components/mds-input-select/meta/event-detail.js +1 -0
- package/dist/collection/components/mds-input-select/pattern.md +168 -0
- package/dist/collection/components/mds-input-switch/AGENTS.md +106 -0
- package/dist/collection/components/mds-input-switch/antipattern.md +117 -0
- package/dist/collection/components/mds-input-switch/documentation.json +638 -0
- package/dist/collection/components/mds-input-switch/mds-input-switch.css +4 -1
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +59 -16
- package/dist/collection/components/mds-input-switch/pattern.md +133 -0
- package/dist/collection/components/mds-input-tip/AGENTS.md +56 -0
- package/dist/collection/components/mds-input-tip/antipattern.md +108 -0
- package/dist/collection/components/mds-input-tip/documentation.json +160 -0
- package/dist/collection/components/mds-input-tip/mds-input-tip.js +1 -1
- package/dist/collection/components/mds-input-tip/pattern.md +125 -0
- package/dist/collection/components/mds-input-tip-item/AGENTS.md +58 -0
- package/dist/collection/components/mds-input-tip-item/antipattern.md +98 -0
- package/dist/collection/components/mds-input-tip-item/documentation.json +181 -0
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
- package/dist/collection/components/mds-input-tip-item/pattern.md +107 -0
- package/dist/collection/components/mds-input-upload/AGENTS.md +78 -0
- package/dist/collection/components/mds-input-upload/antipattern.md +144 -0
- package/dist/collection/components/mds-input-upload/documentation.json +425 -0
- package/dist/collection/components/mds-input-upload/mds-input-upload.css +15 -0
- package/dist/collection/components/mds-input-upload/mds-input-upload.js +176 -66
- package/dist/collection/components/mds-input-upload/pattern.md +165 -0
- package/dist/collection/components/mds-keyboard/AGENTS.md +76 -0
- package/dist/collection/components/mds-keyboard/antipattern.md +111 -0
- package/dist/collection/components/mds-keyboard/documentation.json +227 -0
- package/dist/collection/components/mds-keyboard/mds-keyboard.js +1 -1
- package/dist/collection/components/mds-keyboard/pattern.md +129 -0
- package/dist/collection/components/mds-keyboard-key/AGENTS.md +55 -0
- package/dist/collection/components/mds-keyboard-key/antipattern.md +117 -0
- package/dist/collection/components/mds-keyboard-key/documentation.json +450 -0
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
- package/dist/collection/components/mds-keyboard-key/pattern.md +98 -0
- package/dist/collection/components/mds-kpi/AGENTS.md +44 -0
- package/dist/collection/components/mds-kpi/antipattern.md +93 -0
- package/dist/collection/components/mds-kpi/documentation.json +54 -0
- package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
- package/dist/collection/components/mds-kpi/pattern.md +109 -0
- package/dist/collection/components/mds-kpi-item/AGENTS.md +62 -0
- package/dist/collection/components/mds-kpi-item/antipattern.md +119 -0
- package/dist/collection/components/mds-kpi-item/documentation.json +199 -0
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
- package/dist/collection/components/mds-kpi-item/pattern.md +115 -0
- package/dist/collection/components/mds-label/AGENTS.md +71 -0
- package/dist/collection/components/mds-label/antipattern.md +92 -0
- package/dist/collection/components/mds-label/documentation.json +388 -0
- package/dist/collection/components/mds-label/pattern.md +111 -0
- package/dist/collection/components/mds-list/AGENTS.md +33 -0
- package/dist/collection/components/mds-list/antipattern.md +117 -0
- package/dist/collection/components/mds-list/documentation.json +43 -0
- package/dist/collection/components/mds-list/mds-list.js +1 -1
- package/dist/collection/components/mds-list/pattern.md +104 -0
- package/dist/collection/components/mds-list-item/AGENTS.md +60 -0
- package/dist/collection/components/mds-list-item/antipattern.md +118 -0
- package/dist/collection/components/mds-list-item/documentation.json +200 -0
- package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
- package/dist/collection/components/mds-list-item/pattern.md +101 -0
- package/dist/collection/components/mds-mention/AGENTS.md +55 -0
- package/dist/collection/components/mds-mention/antipattern.md +86 -0
- package/dist/collection/components/mds-mention/documentation.json +203 -0
- package/dist/collection/components/mds-mention/mds-mention.js +1 -1
- package/dist/collection/components/mds-mention/pattern.md +91 -0
- package/dist/collection/components/mds-modal/AGENTS.md +107 -0
- package/dist/collection/components/mds-modal/antipattern.md +96 -0
- package/dist/collection/components/mds-modal/documentation.json +552 -0
- package/dist/collection/components/mds-modal/mds-modal.js +3 -3
- package/dist/collection/components/mds-modal/pattern.md +228 -0
- package/dist/collection/components/mds-note/AGENTS.md +68 -0
- package/dist/collection/components/mds-note/antipattern.md +99 -0
- package/dist/collection/components/mds-note/documentation.json +220 -0
- package/dist/collection/components/mds-note/mds-note.js +1 -1
- package/dist/collection/components/mds-note/pattern.md +108 -0
- package/dist/collection/components/mds-notification/AGENTS.md +67 -0
- package/dist/collection/components/mds-notification/antipattern.md +86 -0
- package/dist/collection/components/mds-notification/documentation.json +253 -0
- package/dist/collection/components/mds-notification/mds-notification.js +1 -1
- package/dist/collection/components/mds-notification/pattern.md +98 -0
- package/dist/collection/components/mds-paginator/AGENTS.md +57 -0
- package/dist/collection/components/mds-paginator/antipattern.md +95 -0
- package/dist/collection/components/mds-paginator/documentation.json +135 -0
- package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
- package/dist/collection/components/mds-paginator/pattern.md +92 -0
- package/dist/collection/components/mds-paginator-item/AGENTS.md +74 -0
- package/dist/collection/components/mds-paginator-item/antipattern.md +95 -0
- package/dist/collection/components/mds-paginator-item/documentation.json +206 -0
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
- package/dist/collection/components/mds-paginator-item/pattern.md +75 -0
- package/dist/collection/components/mds-policy-ai/AGENTS.md +58 -0
- package/dist/collection/components/mds-policy-ai/antipattern.md +97 -0
- package/dist/collection/components/mds-policy-ai/documentation.json +244 -0
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
- package/dist/collection/components/mds-policy-ai/pattern.md +102 -0
- package/dist/collection/components/mds-pref/AGENTS.md +50 -0
- package/dist/collection/components/mds-pref/antipattern.md +85 -0
- package/dist/collection/components/mds-pref/documentation.json +138 -0
- package/dist/collection/components/mds-pref/mds-pref.js +7 -2
- package/dist/collection/components/mds-pref/pattern.md +93 -0
- package/dist/collection/components/mds-pref-animation/AGENTS.md +48 -0
- package/dist/collection/components/mds-pref-animation/antipattern.md +67 -0
- package/dist/collection/components/mds-pref-animation/documentation.json +154 -0
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +26 -2
- package/dist/collection/components/mds-pref-animation/pattern.md +86 -0
- package/dist/collection/components/mds-pref-consumption/AGENTS.md +47 -0
- package/dist/collection/components/mds-pref-consumption/antipattern.md +84 -0
- package/dist/collection/components/mds-pref-consumption/documentation.json +154 -0
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +26 -2
- package/dist/collection/components/mds-pref-consumption/pattern.md +70 -0
- package/dist/collection/components/mds-pref-contrast/AGENTS.md +50 -0
- package/dist/collection/components/mds-pref-contrast/antipattern.md +71 -0
- package/dist/collection/components/mds-pref-contrast/documentation.json +154 -0
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +24 -3
- package/dist/collection/components/mds-pref-contrast/pattern.md +82 -0
- package/dist/collection/components/mds-pref-language/AGENTS.md +56 -0
- package/dist/collection/components/mds-pref-language/antipattern.md +130 -0
- package/dist/collection/components/mds-pref-language/documentation.json +174 -0
- package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
- package/dist/collection/components/mds-pref-language/pattern.md +104 -0
- package/dist/collection/components/mds-pref-language-item/AGENTS.md +48 -0
- package/dist/collection/components/mds-pref-language-item/antipattern.md +99 -0
- package/dist/collection/components/mds-pref-language-item/documentation.json +122 -0
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
- package/dist/collection/components/mds-pref-language-item/pattern.md +85 -0
- package/dist/collection/components/mds-pref-mode/AGENTS.md +53 -0
- package/dist/collection/components/mds-pref-mode/antipattern.md +104 -0
- package/dist/collection/components/mds-pref-mode/documentation.json +241 -0
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +27 -4
- package/dist/collection/components/mds-pref-mode/pattern.md +94 -0
- package/dist/collection/components/mds-pref-theme/AGENTS.md +60 -0
- package/dist/collection/components/mds-pref-theme/antipattern.md +104 -0
- package/dist/collection/components/mds-pref-theme/documentation.json +277 -0
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +1 -1
- package/dist/collection/components/mds-pref-theme/pattern.md +97 -0
- package/dist/collection/components/mds-pref-theme-item/AGENTS.md +60 -0
- package/dist/collection/components/mds-pref-theme-item/antipattern.md +98 -0
- package/dist/collection/components/mds-pref-theme-item/documentation.json +228 -0
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +1 -1
- package/dist/collection/components/mds-pref-theme-item/pattern.md +98 -0
- package/dist/collection/components/mds-price-table/AGENTS.md +34 -0
- package/dist/collection/components/mds-price-table/antipattern.md +131 -0
- package/dist/collection/components/mds-price-table/documentation.json +43 -0
- package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
- package/dist/collection/components/mds-price-table/pattern.md +182 -0
- package/dist/collection/components/mds-price-table-features/AGENTS.md +61 -0
- package/dist/collection/components/mds-price-table-features/antipattern.md +152 -0
- package/dist/collection/components/mds-price-table-features/documentation.json +96 -0
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
- package/dist/collection/components/mds-price-table-features/pattern.md +157 -0
- package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +69 -0
- package/dist/collection/components/mds-price-table-features-cell/antipattern.md +105 -0
- package/dist/collection/components/mds-price-table-features-cell/documentation.json +154 -0
- 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-cell/pattern.md +128 -0
- package/dist/collection/components/mds-price-table-features-row/AGENTS.md +43 -0
- package/dist/collection/components/mds-price-table-features-row/antipattern.md +135 -0
- package/dist/collection/components/mds-price-table-features-row/documentation.json +64 -0
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
- package/dist/collection/components/mds-price-table-features-row/pattern.md +125 -0
- package/dist/collection/components/mds-price-table-header/AGENTS.md +34 -0
- package/dist/collection/components/mds-price-table-header/antipattern.md +133 -0
- package/dist/collection/components/mds-price-table-header/documentation.json +43 -0
- package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
- package/dist/collection/components/mds-price-table-header/pattern.md +176 -0
- package/dist/collection/components/mds-price-table-list/AGENTS.md +63 -0
- package/dist/collection/components/mds-price-table-list/antipattern.md +133 -0
- package/dist/collection/components/mds-price-table-list/documentation.json +104 -0
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
- package/dist/collection/components/mds-price-table-list/pattern.md +134 -0
- package/dist/collection/components/mds-price-table-list-item/AGENTS.md +61 -0
- package/dist/collection/components/mds-price-table-list-item/antipattern.md +90 -0
- package/dist/collection/components/mds-price-table-list-item/documentation.json +145 -0
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
- package/dist/collection/components/mds-price-table-list-item/pattern.md +105 -0
- package/dist/collection/components/mds-progress/AGENTS.md +68 -0
- package/dist/collection/components/mds-progress/antipattern.md +94 -0
- package/dist/collection/components/mds-progress/documentation.json +375 -0
- package/dist/collection/components/mds-progress/mds-progress.js +1 -1
- package/dist/collection/components/mds-progress/pattern.md +139 -0
- package/dist/collection/components/mds-push-notification/AGENTS.md +88 -0
- package/dist/collection/components/mds-push-notification/antipattern.md +154 -0
- package/dist/collection/components/mds-push-notification/documentation.json +306 -0
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
- package/dist/collection/components/mds-push-notification/pattern.md +203 -0
- package/dist/collection/components/mds-push-notification-item/AGENTS.md +91 -0
- package/dist/collection/components/mds-push-notification-item/antipattern.md +129 -0
- package/dist/collection/components/mds-push-notification-item/documentation.json +586 -0
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
- package/dist/collection/components/mds-push-notification-item/pattern.md +201 -0
- package/dist/collection/components/mds-quote/AGENTS.md +51 -0
- package/dist/collection/components/mds-quote/antipattern.md +122 -0
- package/dist/collection/components/mds-quote/documentation.json +176 -0
- package/dist/collection/components/mds-quote/mds-quote.js +1 -1
- package/dist/collection/components/mds-quote/pattern.md +108 -0
- package/dist/collection/components/mds-radial-menu/AGENTS.md +87 -0
- package/dist/collection/components/mds-radial-menu/antipattern.md +104 -0
- package/dist/collection/components/mds-radial-menu/documentation.json +581 -0
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
- package/dist/collection/components/mds-radial-menu/pattern.md +150 -0
- package/dist/collection/components/mds-radial-menu-item/AGENTS.md +51 -0
- package/dist/collection/components/mds-radial-menu-item/antipattern.md +106 -0
- package/dist/collection/components/mds-radial-menu-item/documentation.json +294 -0
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
- package/dist/collection/components/mds-radial-menu-item/pattern.md +98 -0
- package/dist/collection/components/mds-radial-progress/AGENTS.md +58 -0
- package/dist/collection/components/mds-radial-progress/antipattern.md +99 -0
- package/dist/collection/components/mds-radial-progress/documentation.json +232 -0
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
- package/dist/collection/components/mds-radial-progress/pattern.md +132 -0
- package/dist/collection/components/mds-separator/AGENTS.md +39 -0
- package/dist/collection/components/mds-separator/antipattern.md +98 -0
- package/dist/collection/components/mds-separator/documentation.json +45 -0
- package/dist/collection/components/mds-separator/mds-separator.js +1 -1
- package/dist/collection/components/mds-separator/pattern.md +82 -0
- package/dist/collection/components/mds-spinner/AGENTS.md +49 -0
- package/dist/collection/components/mds-spinner/antipattern.md +93 -0
- package/dist/collection/components/mds-spinner/documentation.json +86 -0
- package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
- package/dist/collection/components/mds-spinner/pattern.md +102 -0
- package/dist/collection/components/mds-status-bar/AGENTS.md +75 -0
- package/dist/collection/components/mds-status-bar/antipattern.md +128 -0
- package/dist/collection/components/mds-status-bar/documentation.json +262 -0
- package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
- package/dist/collection/components/mds-status-bar/pattern.md +123 -0
- package/dist/collection/components/mds-stepper-bar/AGENTS.md +74 -0
- package/dist/collection/components/mds-stepper-bar/antipattern.md +123 -0
- package/dist/collection/components/mds-stepper-bar/documentation.json +208 -0
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
- package/dist/collection/components/mds-stepper-bar/pattern.md +182 -0
- package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +84 -0
- package/dist/collection/components/mds-stepper-bar-item/antipattern.md +115 -0
- package/dist/collection/components/mds-stepper-bar-item/documentation.json +453 -0
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
- package/dist/collection/components/mds-stepper-bar-item/pattern.md +203 -0
- package/dist/collection/components/mds-tab/AGENTS.md +110 -0
- package/dist/collection/components/mds-tab/antipattern.md +191 -0
- package/dist/collection/components/mds-tab/documentation.json +495 -0
- 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 +233 -0
- package/dist/collection/components/mds-tab-bar/AGENTS.md +46 -0
- package/dist/collection/components/mds-tab-bar/antipattern.md +105 -0
- package/dist/collection/components/mds-tab-bar/documentation.json +71 -0
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
- package/dist/collection/components/mds-tab-bar/pattern.md +87 -0
- package/dist/collection/components/mds-tab-bar-item/AGENTS.md +67 -0
- package/dist/collection/components/mds-tab-bar-item/antipattern.md +116 -0
- package/dist/collection/components/mds-tab-bar-item/documentation.json +210 -0
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
- package/dist/collection/components/mds-tab-bar-item/pattern.md +110 -0
- package/dist/collection/components/mds-tab-item/AGENTS.md +83 -0
- package/dist/collection/components/mds-tab-item/antipattern.md +159 -0
- package/dist/collection/components/mds-tab-item/documentation.json +577 -0
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +15 -3
- package/dist/collection/components/mds-tab-item/pattern.md +173 -0
- package/dist/collection/components/mds-table/AGENTS.md +90 -0
- package/dist/collection/components/mds-table/antipattern.md +169 -0
- package/dist/collection/components/mds-table/documentation.json +304 -0
- package/dist/collection/components/mds-table/mds-table.js +1 -1
- package/dist/collection/components/mds-table/pattern.md +288 -0
- package/dist/collection/components/mds-table-body/AGENTS.md +55 -0
- package/dist/collection/components/mds-table-body/antipattern.md +118 -0
- package/dist/collection/components/mds-table-body/documentation.json +122 -0
- package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
- package/dist/collection/components/mds-table-body/pattern.md +154 -0
- package/dist/collection/components/mds-table-cell/AGENTS.md +56 -0
- package/dist/collection/components/mds-table-cell/antipattern.md +100 -0
- package/dist/collection/components/mds-table-cell/documentation.json +104 -0
- package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
- package/dist/collection/components/mds-table-cell/pattern.md +168 -0
- package/dist/collection/components/mds-table-footer/AGENTS.md +33 -0
- package/dist/collection/components/mds-table-footer/antipattern.md +114 -0
- package/dist/collection/components/mds-table-footer/documentation.json +43 -0
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
- package/dist/collection/components/mds-table-footer/pattern.md +116 -0
- package/dist/collection/components/mds-table-header/AGENTS.md +61 -0
- package/dist/collection/components/mds-table-header/antipattern.md +157 -0
- package/dist/collection/components/mds-table-header/documentation.json +156 -0
- package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
- package/dist/collection/components/mds-table-header/pattern.md +158 -0
- package/dist/collection/components/mds-table-header-cell/AGENTS.md +51 -0
- package/dist/collection/components/mds-table-header-cell/antipattern.md +108 -0
- package/dist/collection/components/mds-table-header-cell/documentation.json +158 -0
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
- package/dist/collection/components/mds-table-header-cell/pattern.md +145 -0
- package/dist/collection/components/mds-table-row/AGENTS.md +68 -0
- package/dist/collection/components/mds-table-row/antipattern.md +142 -0
- package/dist/collection/components/mds-table-row/documentation.json +252 -0
- package/dist/collection/components/mds-table-row/mds-table-row.js +22 -16
- package/dist/collection/components/mds-table-row/pattern.md +157 -0
- package/dist/collection/components/mds-text/AGENTS.md +64 -0
- package/dist/collection/components/mds-text/antipattern.md +113 -0
- package/dist/collection/components/mds-text/documentation.json +746 -0
- package/dist/collection/components/mds-text/mds-text.js +1 -1
- package/dist/collection/components/mds-text/pattern.md +139 -0
- package/dist/collection/components/mds-toast/AGENTS.md +78 -0
- package/dist/collection/components/mds-toast/antipattern.md +131 -0
- package/dist/collection/components/mds-toast/documentation.json +339 -0
- package/dist/collection/components/mds-toast/mds-toast.js +1 -1
- package/dist/collection/components/mds-toast/pattern.md +161 -0
- package/dist/collection/components/mds-tooltip/AGENTS.md +80 -0
- package/dist/collection/components/mds-tooltip/antipattern.md +108 -0
- package/dist/collection/components/mds-tooltip/documentation.json +483 -0
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +1 -1
- package/dist/collection/components/mds-tooltip/pattern.md +128 -0
- package/dist/collection/components/mds-tree/AGENTS.md +88 -0
- package/dist/collection/components/mds-tree/antipattern.md +153 -0
- package/dist/collection/components/mds-tree/documentation.json +472 -0
- package/dist/collection/components/mds-tree/mds-tree.js +1 -1
- package/dist/collection/components/mds-tree/pattern.md +198 -0
- package/dist/collection/components/mds-tree-item/AGENTS.md +119 -0
- package/dist/collection/components/mds-tree-item/antipattern.md +152 -0
- package/dist/collection/components/mds-tree-item/documentation.json +646 -0
- package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
- package/dist/collection/components/mds-tree-item/pattern.md +201 -0
- package/dist/collection/components/mds-url-view/AGENTS.md +63 -0
- package/dist/collection/components/mds-url-view/antipattern.md +107 -0
- package/dist/collection/components/mds-url-view/documentation.json +209 -0
- package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
- package/dist/collection/components/mds-url-view/pattern.md +106 -0
- package/dist/collection/components/mds-usage/AGENTS.md +70 -0
- package/dist/collection/components/mds-usage/antipattern.md +87 -0
- package/dist/collection/components/mds-usage/documentation.json +156 -0
- package/dist/collection/components/mds-usage/mds-usage.js +1 -1
- package/dist/collection/components/mds-usage/pattern.md +117 -0
- package/dist/collection/components/mds-video-wall/AGENTS.md +65 -0
- package/dist/collection/components/mds-video-wall/antipattern.md +97 -0
- package/dist/collection/components/mds-video-wall/documentation.json +316 -0
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
- package/dist/collection/components/mds-video-wall/pattern.md +101 -0
- package/dist/collection/components/mds-zero/AGENTS.md +55 -0
- package/dist/collection/components/mds-zero/antipattern.md +106 -0
- package/dist/collection/components/mds-zero/documentation.json +82 -0
- package/dist/collection/components/mds-zero/mds-zero.js +1 -1
- package/dist/collection/components/mds-zero/pattern.md +118 -0
- 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-accordion-timer.js +1 -1
- package/dist/components/mds-accordion.js +1 -1
- package/dist/components/mds-author.js +1 -1
- package/dist/components/mds-avatar-stack-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 +3 -3
- 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--miH951G.js +5 -0
- package/dist/components/p-B3Z2Goa-.js +1 -0
- package/dist/components/p-B3dWp2vS.js +1 -0
- package/dist/components/p-B6FOPjps.js +1 -0
- package/dist/components/p-B7CR1EtF.js +1 -0
- package/dist/components/p-BBPQjm8h.js +1 -0
- package/dist/components/p-BCiJ4PRD.js +1 -0
- package/dist/components/p-BHJDW5JC.js +1 -0
- package/dist/components/p-BSs0SO-j.js +1 -0
- package/dist/components/p-BTpjOy0A.js +1 -0
- package/dist/components/p-BY6Qu1V4.js +1 -0
- package/dist/components/p-BhmePCyA.js +1 -0
- package/dist/components/p-BpGzrg1C.js +1 -0
- package/dist/components/p-Bv2IVRzI.js +1 -0
- package/dist/components/p-C-J9fW51.js +1 -0
- package/dist/components/p-C7EyV0z3.js +1 -0
- package/dist/components/p-CAa2kI72.js +1 -0
- package/dist/components/p-CBV19-8O.js +1 -0
- package/dist/components/p-CCv9tBZK.js +1 -0
- package/dist/components/p-CDf607TB.js +1 -0
- package/dist/components/p-CEMAGNly.js +1 -0
- package/dist/components/p-CGYDZBMv.js +1 -0
- package/dist/components/p-CHAvkoj3.js +1 -0
- package/dist/components/p-CMFUEkte.js +1 -0
- package/dist/components/p-CR2GGKXK.js +1 -0
- package/dist/components/p-Cb5kuO7B.js +1 -0
- package/dist/components/p-CiNNzAa3.js +1 -0
- package/dist/components/p-DGDdPv_Y.js +1 -0
- package/dist/components/p-D_wD-Pyk.js +1 -0
- package/dist/components/p-HR2JwDjG.js +1 -0
- package/dist/components/p-LE7qQIFR.js +8 -0
- package/dist/components/p-faViX-qz.js +1 -0
- package/dist/components/p-pBvN1uAc.js +3 -0
- package/dist/components/p-vgIKH234.js +1 -0
- package/dist/components/p-wI0alRSO.js +1 -0
- package/dist/components/p-zHpei4x6.js +1 -0
- package/dist/documentation.json +623 -365
- package/dist/esm/floating-controller-BTYkH_Ih.js +366 -0
- package/dist/esm/form-wI0alRSO.js +42 -0
- package/dist/esm/index-BhCZiGfL.js +196 -0
- package/dist/esm/index-BxPbQB28.js +5149 -0
- package/dist/esm/index.js +63 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/locale-CVJm6KFD.js +814 -0
- package/dist/esm/magma-components.js +3 -3
- package/dist/esm/mds-accordion-item.entry.js +2 -2
- package/dist/esm/mds-accordion-timer-item.entry.js +2 -2
- package/dist/esm/mds-accordion-timer.entry.js +1 -1
- package/dist/esm/mds-accordion.entry.js +2 -2
- package/dist/esm/mds-author.entry.js +1 -1
- package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm/mds-avatar-stack.entry.js +1 -1
- package/dist/esm/mds-avatar.entry.js +2 -2
- package/dist/esm/mds-badge.entry.js +2 -2
- package/dist/esm/mds-banner_3.entry.js +6 -6
- package/dist/esm/mds-benchmark-bar.entry.js +1 -1
- package/dist/esm/mds-bibliography.entry.js +1 -1
- package/dist/esm/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm/mds-breadcrumb.entry.js +3 -3
- package/dist/esm/mds-button-dropdown.entry.js +38 -4
- package/dist/esm/mds-button-group.entry.js +2 -2
- package/dist/esm/mds-button_3.entry.js +82 -29
- package/dist/esm/mds-calendar_2.entry.js +7 -7
- package/dist/esm/mds-card-content.entry.js +2 -2
- package/dist/esm/mds-card-footer.entry.js +2 -2
- package/dist/esm/mds-card-header.entry.js +2 -2
- package/dist/esm/mds-card-media.entry.js +2 -2
- package/dist/esm/mds-card.entry.js +3 -3
- package/dist/esm/mds-details.entry.js +3 -3
- package/dist/esm/mds-dropdown.entry.js +5 -5
- package/dist/esm/mds-emoji.entry.js +3 -3
- package/dist/esm/mds-entity.entry.js +3 -3
- package/dist/esm/mds-file-preview.entry.js +5 -5
- package/dist/esm/mds-file.entry.js +4 -4
- package/dist/esm/mds-filter-item.entry.js +3 -3
- package/dist/esm/mds-filter.entry.js +3 -3
- package/dist/esm/mds-header-bar.entry.js +3 -3
- package/dist/esm/mds-header.entry.js +3 -3
- package/dist/esm/mds-horizontal-scroll.entry.js +2 -2
- package/dist/esm/mds-hr.entry.js +3 -3
- package/dist/esm/mds-img.entry.js +3 -3
- package/dist/esm/mds-input-date-range-preselection.entry.js +2 -2
- package/dist/esm/mds-input-date-range.entry.js +89 -9
- package/dist/esm/mds-input-date.entry.js +124 -27
- package/dist/esm/mds-input-field.entry.js +2 -2
- package/dist/esm/mds-input-otp.entry.js +65 -19
- package/dist/esm/mds-input-range.entry.js +32 -16
- package/dist/esm/mds-input-select.entry.js +159 -30
- package/dist/esm/mds-input-switch_2.entry.js +64 -22
- package/dist/esm/mds-input-tip_2.entry.js +6 -6
- package/dist/esm/mds-input-upload.entry.js +136 -67
- package/dist/esm/mds-input.entry.js +320 -36
- package/dist/esm/mds-keyboard-key.entry.js +4 -4
- package/dist/esm/mds-keyboard.entry.js +4 -4
- package/dist/esm/mds-kpi-item.entry.js +3 -3
- package/dist/esm/mds-kpi.entry.js +2 -2
- package/dist/esm/mds-label.entry.js +3 -3
- package/dist/esm/mds-list-item.entry.js +3 -3
- package/dist/esm/mds-list.entry.js +2 -2
- package/dist/esm/mds-mention.entry.js +4 -4
- package/dist/esm/mds-modal.entry.js +5 -5
- package/dist/esm/mds-note.entry.js +4 -4
- package/dist/esm/mds-notification.entry.js +3 -3
- package/dist/esm/mds-paginator-item.entry.js +3 -3
- package/dist/esm/mds-paginator.entry.js +3 -3
- package/dist/esm/mds-policy-ai.entry.js +4 -4
- package/dist/esm/mds-pref-animation.entry.js +29 -5
- package/dist/esm/mds-pref-consumption.entry.js +29 -5
- package/dist/esm/mds-pref-contrast.entry.js +27 -6
- package/dist/esm/mds-pref-language-item.entry.js +4 -4
- package/dist/esm/mds-pref-language.entry.js +4 -4
- package/dist/esm/mds-pref-mode.entry.js +30 -7
- package/dist/esm/mds-pref-theme-item.entry.js +2 -2
- package/dist/esm/mds-pref-theme.entry.js +4 -4
- package/dist/esm/mds-pref.entry.js +10 -5
- package/dist/esm/mds-price-table-features-cell.entry.js +3 -3
- package/dist/esm/mds-price-table-features-row.entry.js +3 -3
- package/dist/esm/mds-price-table-features.entry.js +3 -3
- package/dist/esm/mds-price-table-header.entry.js +2 -2
- package/dist/esm/mds-price-table-list-item.entry.js +2 -2
- package/dist/esm/mds-price-table-list.entry.js +3 -3
- package/dist/esm/mds-price-table.entry.js +2 -2
- package/dist/esm/mds-progress_2.entry.js +4 -4
- package/dist/esm/mds-push-notification-item.entry.js +5 -5
- package/dist/esm/mds-push-notification.entry.js +3 -3
- package/dist/esm/mds-quote.entry.js +3 -3
- package/dist/esm/mds-radial-menu-item.entry.js +2 -2
- package/dist/esm/mds-radial-menu.entry.js +3 -3
- package/dist/esm/mds-separator.entry.js +3 -3
- package/dist/esm/mds-status-bar.entry.js +3 -3
- package/dist/esm/mds-stepper-bar-item.entry.js +4 -4
- package/dist/esm/mds-stepper-bar.entry.js +2 -2
- package/dist/esm/mds-tab-bar-item.entry.js +3 -3
- package/dist/esm/mds-tab-bar.entry.js +3 -3
- package/dist/esm/mds-tab_2.entry.js +29 -7
- package/dist/esm/mds-table-body.entry.js +3 -3
- package/dist/esm/mds-table-footer.entry.js +3 -3
- package/dist/esm/mds-table-header-cell.entry.js +3 -3
- package/dist/esm/mds-table-header.entry.js +4 -4
- package/dist/esm/mds-table-row.entry.js +24 -18
- package/dist/esm/mds-table.entry.js +4 -4
- package/dist/esm/mds-text.entry.js +3 -3
- package/dist/esm/mds-toast.entry.js +3 -3
- package/dist/esm/mds-tooltip.entry.js +4 -4
- package/dist/esm/mds-tree-item.entry.js +4 -4
- package/dist/esm/mds-tree.entry.js +2 -2
- package/dist/esm/mds-url-view.entry.js +4 -4
- package/dist/esm/mds-usage.entry.js +4 -4
- package/dist/esm/mds-video-wall.entry.js +2 -2
- package/dist/esm/mds-zero.entry.js +3 -3
- package/dist/esm/preference-DNNqH7BU.js +385 -0
- package/dist/esm-es5/floating-controller-BTYkH_Ih.js +66 -0
- package/dist/esm-es5/form-wI0alRSO.js +16 -0
- package/dist/esm-es5/index-BhCZiGfL.js +10 -0
- package/dist/esm-es5/index-BxPbQB28.js +371 -0
- package/dist/esm-es5/index.js +37 -20
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/locale-CVJm6KFD.js +230 -0
- package/dist/esm-es5/magma-components.js +2 -2
- package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
- package/dist/esm-es5/mds-accordion.entry.js +1 -1
- package/dist/esm-es5/mds-author.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
- package/dist/esm-es5/mds-avatar.entry.js +2 -2
- package/dist/esm-es5/mds-badge.entry.js +1 -1
- package/dist/esm-es5/mds-banner_3.entry.js +4 -4
- package/dist/esm-es5/mds-benchmark-bar.entry.js +1 -1
- package/dist/esm-es5/mds-bibliography.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb.entry.js +2 -2
- package/dist/esm-es5/mds-button-dropdown.entry.js +10 -4
- 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 +3 -3
- 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 +2 -2
- package/dist/esm-es5/mds-details.entry.js +2 -2
- package/dist/esm-es5/mds-dropdown.entry.js +2 -2
- package/dist/esm-es5/mds-emoji.entry.js +2 -2
- package/dist/esm-es5/mds-entity.entry.js +1 -1
- package/dist/esm-es5/mds-file-preview.entry.js +12 -12
- package/dist/esm-es5/mds-file.entry.js +12 -12
- package/dist/esm-es5/mds-filter-item.entry.js +1 -1
- package/dist/esm-es5/mds-filter.entry.js +2 -2
- package/dist/esm-es5/mds-header-bar.entry.js +2 -2
- package/dist/esm-es5/mds-header.entry.js +4 -4
- package/dist/esm-es5/mds-horizontal-scroll.entry.js +2 -2
- package/dist/esm-es5/mds-hr.entry.js +1 -1
- package/dist/esm-es5/mds-img.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range.entry.js +33 -6
- package/dist/esm-es5/mds-input-date.entry.js +47 -7
- package/dist/esm-es5/mds-input-field.entry.js +2 -2
- package/dist/esm-es5/mds-input-otp.entry.js +21 -4
- package/dist/esm-es5/mds-input-range.entry.js +15 -7
- package/dist/esm-es5/mds-input-select.entry.js +37 -6
- package/dist/esm-es5/mds-input-switch_2.entry.js +24 -4
- package/dist/esm-es5/mds-input-tip_2.entry.js +3 -3
- package/dist/esm-es5/mds-input-upload.entry.js +42 -18
- package/dist/esm-es5/mds-input.entry.js +105 -22
- package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
- package/dist/esm-es5/mds-keyboard.entry.js +2 -2
- package/dist/esm-es5/mds-kpi-item.entry.js +2 -2
- package/dist/esm-es5/mds-kpi.entry.js +1 -1
- package/dist/esm-es5/mds-label.entry.js +1 -1
- package/dist/esm-es5/mds-list-item.entry.js +2 -2
- package/dist/esm-es5/mds-list.entry.js +1 -1
- package/dist/esm-es5/mds-mention.entry.js +2 -2
- package/dist/esm-es5/mds-modal.entry.js +2 -2
- package/dist/esm-es5/mds-note.entry.js +2 -2
- package/dist/esm-es5/mds-notification.entry.js +2 -2
- package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
- package/dist/esm-es5/mds-paginator.entry.js +2 -2
- package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
- package/dist/esm-es5/mds-pref-animation.entry.js +7 -1
- package/dist/esm-es5/mds-pref-consumption.entry.js +7 -1
- package/dist/esm-es5/mds-pref-contrast.entry.js +8 -2
- package/dist/esm-es5/mds-pref-language-item.entry.js +2 -2
- package/dist/esm-es5/mds-pref-language.entry.js +2 -2
- package/dist/esm-es5/mds-pref-mode.entry.js +10 -2
- package/dist/esm-es5/mds-pref-theme-item.entry.js +2 -2
- package/dist/esm-es5/mds-pref-theme.entry.js +2 -2
- package/dist/esm-es5/mds-pref.entry.js +6 -3
- package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
- 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 +2 -2
- 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 +3 -3
- package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
- package/dist/esm-es5/mds-push-notification.entry.js +2 -2
- package/dist/esm-es5/mds-quote.entry.js +2 -2
- package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
- package/dist/esm-es5/mds-radial-menu.entry.js +2 -2
- package/dist/esm-es5/mds-separator.entry.js +1 -1
- package/dist/esm-es5/mds-status-bar.entry.js +2 -2
- package/dist/esm-es5/mds-stepper-bar-item.entry.js +2 -2
- package/dist/esm-es5/mds-stepper-bar.entry.js +3 -3
- 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 +2 -2
- 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 +2 -2
- package/dist/esm-es5/mds-toast.entry.js +2 -2
- package/dist/esm-es5/mds-tooltip.entry.js +2 -2
- package/dist/esm-es5/mds-tree-item.entry.js +2 -2
- package/dist/esm-es5/mds-tree.entry.js +2 -2
- package/dist/esm-es5/mds-url-view.entry.js +2 -2
- package/dist/esm-es5/mds-usage.entry.js +2 -2
- package/dist/esm-es5/mds-video-wall.entry.js +2 -2
- package/dist/esm-es5/mds-zero.entry.js +1 -1
- package/dist/esm-es5/preference-DNNqH7BU.js +58 -0
- package/dist/hydrate/index.js +1708 -441
- package/dist/hydrate/index.mjs +1708 -441
- package/dist/magma-components/index.esm.js +1 -1
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/magma-components.js +1 -1
- package/dist/magma-components/p-019e8a95.system.entry.js +13 -0
- package/dist/magma-components/p-01dd1f55.entry.js +1 -0
- package/dist/magma-components/p-02119624.system.entry.js +40 -0
- package/dist/magma-components/p-02fc7592.entry.js +1 -0
- package/dist/magma-components/p-03cd0069.system.entry.js +1 -0
- package/dist/magma-components/p-05fbca60.system.entry.js +37 -0
- package/dist/magma-components/p-06d9af89.entry.js +1 -0
- package/dist/magma-components/p-07e4701d.entry.js +1 -0
- package/dist/magma-components/p-081a19b1.system.entry.js +45 -0
- package/dist/magma-components/p-09d0b6a8.entry.js +1 -0
- package/dist/magma-components/p-0a9fb138.system.entry.js +1 -0
- package/dist/magma-components/p-0b300de7.entry.js +1 -0
- package/dist/magma-components/p-0d3c3de9.entry.js +1 -0
- package/dist/magma-components/p-1150ffb8.system.entry.js +10 -0
- package/dist/magma-components/p-115a5e47.entry.js +1 -0
- package/dist/magma-components/p-1314d80e.entry.js +1 -0
- package/dist/magma-components/p-133a6ffd.system.entry.js +49 -0
- package/dist/magma-components/p-13db55de.entry.js +1 -0
- package/dist/magma-components/p-1a2731ec.system.entry.js +10 -0
- package/dist/magma-components/p-1a602906.system.entry.js +13 -0
- package/dist/magma-components/p-1c975156.entry.js +1 -0
- package/dist/magma-components/p-1cb495d3.entry.js +1 -0
- package/dist/magma-components/p-1d154234.system.entry.js +12 -0
- package/dist/magma-components/p-1d9d7666.entry.js +1 -0
- package/dist/magma-components/p-1ddaaa6d.system.entry.js +217 -0
- package/dist/magma-components/p-21aa0a74.entry.js +1 -0
- package/dist/magma-components/p-21c46e74.system.entry.js +4 -0
- package/dist/magma-components/p-2399b7e8.entry.js +1 -0
- package/dist/magma-components/p-25407d89.entry.js +1 -0
- package/dist/magma-components/p-27547a7a.system.entry.js +7 -0
- package/dist/magma-components/p-289a874e.entry.js +1 -0
- package/dist/magma-components/p-2be3bd23.system.entry.js +1 -0
- package/dist/magma-components/p-2c586431.entry.js +1 -0
- package/dist/magma-components/p-2d324edc.entry.js +1 -0
- package/dist/magma-components/p-2da2cdf3.system.entry.js +7 -0
- package/dist/magma-components/p-2e01e057.system.entry.js +7 -0
- package/dist/magma-components/p-2e9b80e8.entry.js +1 -0
- package/dist/magma-components/p-30c3872d.entry.js +1 -0
- package/dist/magma-components/p-3231a6a3.entry.js +1 -0
- package/dist/magma-components/p-32361702.system.entry.js +7 -0
- package/dist/magma-components/p-3448d0ce.entry.js +1 -0
- package/dist/magma-components/p-367cee40.system.entry.js +1 -0
- package/dist/magma-components/p-3a1a6945.entry.js +1 -0
- package/dist/magma-components/p-3a8870e4.system.entry.js +47 -0
- package/dist/magma-components/p-3b68fbcd.system.entry.js +22 -0
- package/dist/magma-components/p-3ecade3c.system.entry.js +11 -0
- package/dist/magma-components/p-3f05ec8a.entry.js +1 -0
- package/dist/magma-components/p-4073c5f2.system.entry.js +90 -0
- package/dist/magma-components/p-40bd2e6d.entry.js +1 -0
- package/dist/magma-components/p-423597db.system.entry.js +4 -0
- package/dist/magma-components/p-443c2a29.system.entry.js +10 -0
- package/dist/magma-components/p-45a91f1c.system.entry.js +1 -0
- package/dist/magma-components/p-487af9d3.entry.js +1 -0
- package/dist/magma-components/p-4909070e.entry.js +1 -0
- package/dist/magma-components/p-4d966161.system.entry.js +14 -0
- package/dist/magma-components/p-4ddf891e.system.entry.js +69 -0
- package/dist/magma-components/p-4e15cde7.entry.js +1 -0
- package/dist/magma-components/p-4f14a166.entry.js +1 -0
- package/dist/magma-components/p-4ffec31a.system.entry.js +1 -0
- package/dist/magma-components/p-50b266e9.system.entry.js +4 -0
- package/dist/magma-components/p-5165b09f.system.entry.js +4 -0
- package/dist/magma-components/p-544cc9c7.system.entry.js +25 -0
- package/dist/magma-components/p-562bb482.system.entry.js +16 -0
- package/dist/magma-components/p-5ac9e2f4.entry.js +1 -0
- package/dist/magma-components/p-5ae5ec95.entry.js +1 -0
- package/dist/magma-components/p-5d2d8ffe.system.entry.js +11 -0
- package/dist/magma-components/p-5e180f53.system.entry.js +32 -0
- package/dist/magma-components/p-61bedbe7.system.entry.js +68 -0
- package/dist/magma-components/p-61ff1d85.system.entry.js +1 -0
- package/dist/magma-components/p-62b17608.system.entry.js +102 -0
- package/dist/magma-components/p-63e7c98f.entry.js +1 -0
- package/dist/magma-components/p-6474c850.entry.js +8 -0
- package/dist/magma-components/p-660657ac.system.entry.js +15 -0
- package/dist/magma-components/p-66237a64.entry.js +1 -0
- package/dist/magma-components/p-6702e489.entry.js +1 -0
- package/dist/magma-components/p-694ed534.entry.js +1 -0
- package/dist/magma-components/p-6b446fd9.system.entry.js +81 -0
- package/dist/magma-components/p-6c414bc2.system.entry.js +19 -0
- package/dist/magma-components/p-6cbd8a6d.system.entry.js +12 -0
- package/dist/magma-components/p-6d0dc1fd.entry.js +1 -0
- package/dist/magma-components/p-6ed05d99.entry.js +1 -0
- package/dist/magma-components/p-6f2471b1.entry.js +1 -0
- package/dist/magma-components/p-6fa03aab.system.entry.js +7 -0
- package/dist/magma-components/p-7-TP6wnI.js +1 -0
- package/dist/magma-components/p-70141ccd.entry.js +1 -0
- package/dist/magma-components/p-707d8626.system.entry.js +2838 -0
- package/dist/magma-components/p-71dafc3f.entry.js +1 -0
- package/dist/magma-components/p-726209f4.system.entry.js +1 -0
- package/dist/magma-components/p-745ee76b.system.entry.js +32 -0
- package/dist/magma-components/p-761415b3.system.entry.js +37 -0
- package/dist/magma-components/p-771720b7.entry.js +18 -0
- package/dist/magma-components/p-7a7c308b.entry.js +1 -0
- package/dist/magma-components/p-7bea6c05.system.entry.js +10 -0
- package/dist/magma-components/p-7c940015.system.entry.js +1 -0
- package/dist/magma-components/p-7ca990d4.system.entry.js +11 -0
- package/dist/magma-components/p-7d6ca97d.system.entry.js +7 -0
- package/dist/magma-components/p-7ffda4f5.entry.js +1 -0
- package/dist/magma-components/p-8097dfc8.system.entry.js +7 -0
- package/dist/magma-components/p-809adece.system.entry.js +17 -0
- package/dist/magma-components/p-843ab1b4.entry.js +1 -0
- package/dist/magma-components/p-87026d34.entry.js +1 -0
- package/dist/magma-components/p-8765dc11.entry.js +1 -0
- package/dist/magma-components/p-876a5fb9.system.entry.js +1 -0
- package/dist/magma-components/p-87faaa8e.system.entry.js +16 -0
- package/dist/magma-components/p-8a838a1a.entry.js +1 -0
- package/dist/magma-components/p-8bcb2a5f.entry.js +1 -0
- package/dist/magma-components/p-8c93550d.entry.js +1 -0
- package/dist/magma-components/p-8ca1d30d.system.entry.js +1 -0
- package/dist/magma-components/p-8yWTOQiz.js +1 -0
- package/dist/magma-components/p-91451e37.system.entry.js +913 -0
- package/dist/magma-components/p-91c4015f.system.entry.js +4 -0
- package/dist/magma-components/p-91c8960a.system.entry.js +1 -0
- package/dist/magma-components/p-932620b6.entry.js +1 -0
- package/dist/magma-components/p-939da879.system.entry.js +8 -0
- package/dist/magma-components/p-97bde480.entry.js +1 -0
- package/dist/magma-components/p-97d02403.entry.js +1 -0
- package/dist/magma-components/p-983f3e40.entry.js +1 -0
- package/dist/magma-components/p-99227c78.system.entry.js +11 -0
- package/dist/magma-components/p-9a583f6b.system.entry.js +1 -0
- package/dist/magma-components/p-9a86e0ce.system.entry.js +1 -0
- package/dist/magma-components/p-9d1cdb42.system.entry.js +15 -0
- package/dist/magma-components/p-9e5982b6.entry.js +1 -0
- package/dist/magma-components/p-9eb1e154.system.entry.js +14 -0
- package/dist/magma-components/p-9eef2f79.entry.js +1 -0
- package/dist/magma-components/p-9fe14430.system.entry.js +7 -0
- package/dist/magma-components/p-9fe7035a.entry.js +1 -0
- package/dist/magma-components/p-BPNsbMrg.system.js +67 -0
- package/dist/magma-components/p-BS7eEvwu.system.js +17 -0
- package/dist/magma-components/p-BTF_aRDG.system.js +231 -0
- package/dist/magma-components/p-BpVYIPkx.js +1 -0
- package/dist/magma-components/p-BxPbQB28.js +3 -0
- package/dist/magma-components/p-CKfEQ187.system.js +107 -0
- package/dist/magma-components/p-CdsZyFQ-.system.js +10 -0
- package/dist/magma-components/p-DaONbL_w.system.js +162 -0
- package/dist/magma-components/p-Kv1yahtR.js +5 -0
- package/dist/magma-components/p-ZDRIVCAt.system.js +5 -0
- package/dist/magma-components/p-a0972ec9.entry.js +1 -0
- package/dist/magma-components/p-a0d9e01f.system.entry.js +1 -0
- package/dist/magma-components/p-a1851e6f.entry.js +1 -0
- package/dist/magma-components/p-a1b5bd58.entry.js +1 -0
- package/dist/magma-components/p-a2d9549d.system.entry.js +32 -0
- package/dist/magma-components/p-a5a13b20.entry.js +1 -0
- package/dist/magma-components/p-a6a71c77.entry.js +1 -0
- package/dist/magma-components/p-a96312c1.entry.js +1 -0
- package/dist/magma-components/p-a9e4efa3.entry.js +1 -0
- package/dist/magma-components/p-aa0bd826.entry.js +1 -0
- package/dist/magma-components/p-aa74169f.system.entry.js +1 -0
- package/dist/magma-components/p-ab4ffbd4.system.entry.js +68 -0
- package/dist/magma-components/p-ad09a06b.entry.js +1 -0
- package/dist/magma-components/p-ad9cb1f5.entry.js +1 -0
- package/dist/magma-components/p-aed8b119.entry.js +1 -0
- package/dist/magma-components/p-afbef2fc.entry.js +1 -0
- package/dist/magma-components/p-b183d698.system.entry.js +16 -0
- package/dist/magma-components/p-b49196da.entry.js +1 -0
- package/dist/magma-components/p-b77a2832.entry.js +1 -0
- package/dist/magma-components/p-b925c109.system.entry.js +14 -0
- package/dist/magma-components/p-b9e3281a.system.entry.js +72 -0
- package/dist/magma-components/p-bb0538b6.entry.js +1 -0
- package/dist/magma-components/p-bb055583.entry.js +1 -0
- package/dist/magma-components/p-bba04b08.system.entry.js +14 -0
- package/dist/magma-components/p-bc6a41a9.system.entry.js +1 -0
- package/dist/magma-components/p-bd9324f3.system.entry.js +1 -0
- package/dist/magma-components/p-c48e3460.entry.js +1 -0
- package/dist/magma-components/p-c4beed1b.entry.js +1 -0
- package/dist/magma-components/p-c4ccb710.entry.js +1 -0
- package/dist/magma-components/p-c4e4ba90.system.entry.js +38 -0
- package/dist/magma-components/p-c573e136.entry.js +1 -0
- package/dist/magma-components/p-c5ad848f.entry.js +1 -0
- package/dist/magma-components/p-c6841b21.entry.js +1 -0
- package/dist/magma-components/p-c89a44b2.entry.js +1 -0
- package/dist/magma-components/p-c94575de.entry.js +1 -0
- package/dist/magma-components/p-cabe9133.system.entry.js +4 -0
- package/dist/magma-components/p-cb2c5f1b.entry.js +1 -0
- package/dist/magma-components/p-cb571b55.system.entry.js +1 -0
- package/dist/magma-components/p-cbc0f01f.system.entry.js +17 -0
- package/dist/magma-components/p-cc1ee10a.system.entry.js +20 -0
- package/dist/magma-components/p-cd1dc29a.entry.js +1 -0
- package/dist/magma-components/p-cd5cf28b.system.entry.js +1 -0
- package/dist/magma-components/p-cd952369.entry.js +1 -0
- package/dist/magma-components/p-d35aebe5.entry.js +1 -0
- package/dist/magma-components/p-d5e53364.system.entry.js +1 -0
- package/dist/magma-components/p-d74fa7af.entry.js +1 -0
- package/dist/magma-components/p-d7515aae.entry.js +1 -0
- package/dist/magma-components/p-d7a94afb.system.entry.js +7 -0
- package/dist/magma-components/p-d93c9a11.system.entry.js +89 -0
- package/dist/magma-components/p-d9fbbf3f.entry.js +1 -0
- package/dist/magma-components/p-db492cf5.system.entry.js +13 -0
- package/dist/magma-components/p-dc06b29e.entry.js +1 -0
- package/dist/magma-components/p-dc399372.entry.js +1 -0
- package/dist/magma-components/p-dc7bada4.entry.js +1 -0
- package/dist/magma-components/p-dcf841d5.entry.js +1 -0
- package/dist/magma-components/p-dfb4a965.system.entry.js +28 -0
- package/dist/magma-components/p-e1a91e9e.system.entry.js +1 -0
- package/dist/magma-components/p-e2ef1d6f.entry.js +1 -0
- package/dist/magma-components/p-e5438280.system.entry.js +10 -0
- package/dist/magma-components/p-e8cd2b93.system.entry.js +4 -0
- package/dist/magma-components/p-e95f2a48.entry.js +1 -0
- package/dist/magma-components/p-eb113725.system.entry.js +1 -0
- package/dist/magma-components/p-ec5eccbb.entry.js +1 -0
- package/dist/magma-components/p-eca99a0a.system.entry.js +1 -0
- package/dist/magma-components/p-ed897f9f.entry.js +1 -0
- package/dist/magma-components/p-eea815ca.system.entry.js +16 -0
- package/dist/magma-components/p-ef4cd904.system.entry.js +16 -0
- package/dist/magma-components/p-eff1fd6c.system.entry.js +15 -0
- package/dist/magma-components/p-eff38775.entry.js +1 -0
- package/dist/magma-components/p-f01874a8.entry.js +1 -0
- package/dist/magma-components/p-f05d7005.entry.js +1 -0
- package/dist/magma-components/p-f0c67a70.system.entry.js +15 -0
- package/dist/magma-components/p-f215496c.entry.js +1 -0
- package/dist/magma-components/p-f28cfb33.system.entry.js +4 -0
- package/dist/magma-components/p-f3dbebdd.system.entry.js +27 -0
- package/dist/magma-components/p-f65e29e0.system.entry.js +1 -0
- package/dist/magma-components/p-f830793e.entry.js +1 -0
- package/dist/magma-components/p-f835c307.system.entry.js +7 -0
- package/dist/magma-components/p-f89c3a01.system.entry.js +32 -0
- package/dist/magma-components/p-f8da21a1.system.entry.js +3 -0
- package/dist/magma-components/p-f8eb19b3.entry.js +1 -0
- package/dist/magma-components/p-f8feee93.system.entry.js +4 -0
- package/dist/magma-components/p-f97b4ff4.system.entry.js +16 -0
- package/dist/magma-components/p-fc8f8a0c.entry.js +1 -0
- package/dist/magma-components/p-fcaa5967.entry.js +18 -0
- package/dist/magma-components/p-ff970859.system.entry.js +30 -0
- package/dist/magma-components/p-hVpoPUxI.system.js +58 -0
- package/dist/magma-components/p-wI0alRSO.js +1 -0
- package/dist/stats.json +3235 -2557
- package/dist/types/common/form.d.ts +8 -1
- package/dist/types/common/navigation.d.ts +32 -0
- package/dist/types/common/preference.d.ts +1 -1
- package/dist/types/common/validity/index.d.ts +22 -0
- package/dist/types/components/mds-button/mds-button.d.ts +32 -2
- package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +23 -1
- package/dist/types/components/mds-input/mds-input.d.ts +41 -2
- package/dist/types/components/mds-input/meta/validators.d.ts +22 -0
- package/dist/types/components/mds-input/meta/validity.d.ts +14 -0
- package/dist/types/components/mds-input-date/mds-input-date.d.ts +38 -0
- package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +26 -0
- package/dist/types/components/mds-input-otp/mds-input-otp.d.ts +21 -2
- package/dist/types/components/mds-input-range/mds-input-range.d.ts +8 -1
- package/dist/types/components/mds-input-select/mds-input-select.d.ts +41 -4
- package/dist/types/components/mds-input-select/meta/event-detail.d.ts +8 -0
- package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +17 -0
- package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +27 -5
- package/dist/types/components/mds-keyboard-key/meta/icons.d.ts +1 -1
- package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +10 -1
- package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +10 -1
- package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +10 -1
- package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +10 -1
- 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 +106 -23
- package/dist/types/index.d.ts +12 -4
- package/package.json +27 -14
- package/dist/cjs/floating-controller-Cd_vNLLD.js +0 -369
- package/dist/cjs/form-DTCBh5WK.js +0 -22
- package/dist/cjs/index--6wz7eWi.js +0 -5183
- package/dist/cjs/locale-CB5_Z7PE.js +0 -816
- package/dist/cjs/preference-eJcbLLAn.js +0 -389
- package/dist/components/p-6K9sFzLr.js +0 -1
- package/dist/components/p-A9TZf0Ii.js +0 -1
- package/dist/components/p-BBhbQT2f.js +0 -1
- package/dist/components/p-BFpRu7yD.js +0 -1
- package/dist/components/p-BL63WAAq.js +0 -8
- package/dist/components/p-BNHXZ-JR.js +0 -1
- package/dist/components/p-BShLEry5.js +0 -1
- package/dist/components/p-BSxuG1vZ.js +0 -1
- package/dist/components/p-BTHR4xXu.js +0 -1
- package/dist/components/p-BYxxgEE_.js +0 -1
- package/dist/components/p-BZFyAX-6.js +0 -1
- package/dist/components/p-BhFTcUD0.js +0 -3
- package/dist/components/p-Bss3F51Q.js +0 -5
- package/dist/components/p-BtMdmkID.js +0 -1
- package/dist/components/p-ByaUOMp0.js +0 -1
- package/dist/components/p-C1xZO_fq.js +0 -1
- package/dist/components/p-C58NKMEE.js +0 -1
- package/dist/components/p-C6Q4zFh6.js +0 -1
- package/dist/components/p-CUQ7WIXh.js +0 -1
- package/dist/components/p-CVpjH8Un.js +0 -1
- package/dist/components/p-Cd_8zD_I.js +0 -1
- package/dist/components/p-CnAeawmf.js +0 -1
- package/dist/components/p-CvIFS8oA.js +0 -1
- package/dist/components/p-DCrjf0F0.js +0 -1
- package/dist/components/p-DlHJvYE7.js +0 -1
- package/dist/components/p-DlaJNPdd.js +0 -1
- package/dist/components/p-DnrQaRnh.js +0 -1
- package/dist/components/p-OPg_Naue.js +0 -1
- package/dist/components/p-RS4yyl41.js +0 -1
- package/dist/components/p-gv3eu44S.js +0 -1
- package/dist/components/p-kff6xSdW.js +0 -1
- package/dist/components/p-pys1EQ60.js +0 -1
- package/dist/components/p-qketFgr0.js +0 -1
- package/dist/components/p-wq6nWuWE.js +0 -1
- package/dist/components/p-zml3K7nx.js +0 -1
- package/dist/esm/floating-controller-DVldZ5mh.js +0 -366
- package/dist/esm/form-A9TZf0Ii.js +0 -19
- package/dist/esm/index-DIiEV39g.js +0 -5149
- package/dist/esm/locale-CbJbTW_c.js +0 -814
- package/dist/esm/preference-CKerJx2M.js +0 -385
- package/dist/esm-es5/floating-controller-DVldZ5mh.js +0 -66
- package/dist/esm-es5/form-A9TZf0Ii.js +0 -8
- package/dist/esm-es5/index-DIiEV39g.js +0 -371
- package/dist/esm-es5/locale-CbJbTW_c.js +0 -230
- package/dist/esm-es5/preference-CKerJx2M.js +0 -58
- package/dist/magma-components/p-005172ba.entry.js +0 -1
- package/dist/magma-components/p-05fa40aa.system.entry.js +0 -10
- package/dist/magma-components/p-071f18c6.system.entry.js +0 -27
- package/dist/magma-components/p-0798b0bf.system.entry.js +0 -24
- package/dist/magma-components/p-0827a5bd.entry.js +0 -1
- package/dist/magma-components/p-086fb3aa.entry.js +0 -1
- package/dist/magma-components/p-0a088e7d.system.entry.js +0 -10
- package/dist/magma-components/p-0a691082.entry.js +0 -1
- package/dist/magma-components/p-0ec21574.system.entry.js +0 -10
- package/dist/magma-components/p-0f6bb54d.system.entry.js +0 -22
- package/dist/magma-components/p-102d3bd3.system.entry.js +0 -1
- package/dist/magma-components/p-10704ede.system.entry.js +0 -4
- package/dist/magma-components/p-15c77a98.system.entry.js +0 -19
- package/dist/magma-components/p-15f63bf3.entry.js +0 -1
- package/dist/magma-components/p-16e9fb14.system.entry.js +0 -7
- package/dist/magma-components/p-181dfb04.entry.js +0 -1
- package/dist/magma-components/p-184720be.system.entry.js +0 -1
- package/dist/magma-components/p-18473d2f.entry.js +0 -1
- package/dist/magma-components/p-18667ae7.system.entry.js +0 -13
- package/dist/magma-components/p-18f7b970.system.entry.js +0 -4
- package/dist/magma-components/p-19adde9d.entry.js +0 -1
- package/dist/magma-components/p-1afc0452.entry.js +0 -1
- package/dist/magma-components/p-1cce738a.system.entry.js +0 -32
- package/dist/magma-components/p-1df6ac96.system.entry.js +0 -7
- package/dist/magma-components/p-209063b6.system.entry.js +0 -50
- package/dist/magma-components/p-216f95cc.system.entry.js +0 -1
- package/dist/magma-components/p-21891a24.entry.js +0 -1
- package/dist/magma-components/p-21d6687a.system.entry.js +0 -7
- package/dist/magma-components/p-2217a7be.entry.js +0 -1
- package/dist/magma-components/p-231505e8.entry.js +0 -1
- package/dist/magma-components/p-2386f0d6.system.entry.js +0 -37
- package/dist/magma-components/p-23e61db9.system.entry.js +0 -4
- package/dist/magma-components/p-25935d33.system.entry.js +0 -1
- package/dist/magma-components/p-284c40cd.system.entry.js +0 -4
- package/dist/magma-components/p-29684655.system.entry.js +0 -16
- package/dist/magma-components/p-2b56fc14.entry.js +0 -1
- package/dist/magma-components/p-2b73fee6.entry.js +0 -1
- package/dist/magma-components/p-2d5aadba.system.entry.js +0 -7
- package/dist/magma-components/p-2de17848.entry.js +0 -1
- package/dist/magma-components/p-34482514.entry.js +0 -1
- package/dist/magma-components/p-34c0890e.entry.js +0 -1
- package/dist/magma-components/p-3635eca6.system.entry.js +0 -1
- package/dist/magma-components/p-3b0c1202.entry.js +0 -1
- package/dist/magma-components/p-3db23b5f.system.entry.js +0 -16
- package/dist/magma-components/p-3ec7d3ea.entry.js +0 -1
- package/dist/magma-components/p-3f747a63.system.entry.js +0 -1
- package/dist/magma-components/p-3ff30842.system.entry.js +0 -16
- package/dist/magma-components/p-40563e33.entry.js +0 -1
- package/dist/magma-components/p-41bf6f25.system.entry.js +0 -81
- package/dist/magma-components/p-421a630e.entry.js +0 -1
- package/dist/magma-components/p-4299b76b.system.entry.js +0 -4
- package/dist/magma-components/p-4543501c.entry.js +0 -1
- package/dist/magma-components/p-4616bc07.entry.js +0 -1
- package/dist/magma-components/p-46786d71.system.entry.js +0 -14
- package/dist/magma-components/p-470e5ac8.system.entry.js +0 -1
- package/dist/magma-components/p-48d37230.entry.js +0 -1
- package/dist/magma-components/p-49b120cb.system.entry.js +0 -13
- package/dist/magma-components/p-4af76eb3.entry.js +0 -1
- package/dist/magma-components/p-4b3a8132.system.entry.js +0 -13
- package/dist/magma-components/p-4ba6cb3f.entry.js +0 -1
- package/dist/magma-components/p-4c8316a8.entry.js +0 -1
- package/dist/magma-components/p-4c95442e.entry.js +0 -1
- package/dist/magma-components/p-4cadbd49.entry.js +0 -1
- package/dist/magma-components/p-4e4bdbf8.entry.js +0 -1
- package/dist/magma-components/p-4e5ab0e4.system.entry.js +0 -16
- package/dist/magma-components/p-4f107cb2.system.entry.js +0 -2838
- package/dist/magma-components/p-518b55f3.entry.js +0 -1
- package/dist/magma-components/p-56ad5bf2.entry.js +0 -1
- package/dist/magma-components/p-5eec629c.system.entry.js +0 -17
- package/dist/magma-components/p-5f545f85.system.entry.js +0 -1
- package/dist/magma-components/p-61a5ac3d.system.entry.js +0 -17
- package/dist/magma-components/p-636cc471.entry.js +0 -1
- package/dist/magma-components/p-646034cb.system.entry.js +0 -27
- package/dist/magma-components/p-677ab154.system.entry.js +0 -3
- package/dist/magma-components/p-67d80d37.system.entry.js +0 -1
- package/dist/magma-components/p-6937f340.entry.js +0 -1
- package/dist/magma-components/p-6b7e449f.entry.js +0 -1
- package/dist/magma-components/p-6c417ea1.system.entry.js +0 -913
- package/dist/magma-components/p-6ce60d59.entry.js +0 -1
- package/dist/magma-components/p-6cf760ea.system.entry.js +0 -45
- package/dist/magma-components/p-6dc27543.entry.js +0 -1
- package/dist/magma-components/p-6de37588.entry.js +0 -1
- package/dist/magma-components/p-6f6b5eb5.entry.js +0 -1
- package/dist/magma-components/p-7090184f.entry.js +0 -1
- package/dist/magma-components/p-716ad14c.entry.js +0 -1
- package/dist/magma-components/p-71804224.entry.js +0 -1
- package/dist/magma-components/p-735dc594.system.entry.js +0 -1
- package/dist/magma-components/p-739fdf76.system.entry.js +0 -1
- package/dist/magma-components/p-74b0902a.entry.js +0 -1
- package/dist/magma-components/p-7530a2f2.entry.js +0 -1
- package/dist/magma-components/p-759133b3.entry.js +0 -1
- package/dist/magma-components/p-75dd012a.system.entry.js +0 -11
- package/dist/magma-components/p-76ae22d6.entry.js +0 -1
- package/dist/magma-components/p-78248693.entry.js +0 -1
- package/dist/magma-components/p-7912f877.entry.js +0 -1
- package/dist/magma-components/p-7c0d202c.entry.js +0 -1
- package/dist/magma-components/p-7d304fd4.system.entry.js +0 -65
- package/dist/magma-components/p-7f6d708c.system.entry.js +0 -41
- package/dist/magma-components/p-81b72b6e.entry.js +0 -1
- package/dist/magma-components/p-859ab5a2.entry.js +0 -18
- package/dist/magma-components/p-88564e9b.system.entry.js +0 -14
- package/dist/magma-components/p-896ae0ee.entry.js +0 -1
- package/dist/magma-components/p-89a3bc7a.system.entry.js +0 -16
- package/dist/magma-components/p-8b1abf81.system.entry.js +0 -32
- package/dist/magma-components/p-8bbee38d.entry.js +0 -1
- package/dist/magma-components/p-8bf680d6.system.entry.js +0 -15
- package/dist/magma-components/p-8cb3a071.system.entry.js +0 -15
- package/dist/magma-components/p-8dff6606.system.entry.js +0 -11
- package/dist/magma-components/p-8e40eda3.system.entry.js +0 -9
- package/dist/magma-components/p-8f229eaf.entry.js +0 -1
- package/dist/magma-components/p-91b9d4e7.system.entry.js +0 -4
- package/dist/magma-components/p-92e1001f.entry.js +0 -1
- package/dist/magma-components/p-9378b373.system.entry.js +0 -49
- package/dist/magma-components/p-94fa3396.system.entry.js +0 -47
- package/dist/magma-components/p-9741d95e.system.entry.js +0 -7
- package/dist/magma-components/p-97ea9e6e.system.entry.js +0 -68
- package/dist/magma-components/p-9846fe89.system.entry.js +0 -1
- package/dist/magma-components/p-998721b9.system.entry.js +0 -1
- package/dist/magma-components/p-9a5296c0.system.entry.js +0 -7
- package/dist/magma-components/p-9bbd4193.system.entry.js +0 -102
- package/dist/magma-components/p-9be4a736.entry.js +0 -1
- package/dist/magma-components/p-9caffe14.entry.js +0 -1
- package/dist/magma-components/p-9d86477d.system.entry.js +0 -1
- package/dist/magma-components/p-9de1ac7f.entry.js +0 -1
- package/dist/magma-components/p-9e3bc553.system.entry.js +0 -26
- package/dist/magma-components/p-9e58467e.system.entry.js +0 -10
- package/dist/magma-components/p-9e9a1ebd.system.entry.js +0 -15
- package/dist/magma-components/p-A9TZf0Ii.js +0 -1
- package/dist/magma-components/p-BFnx_0hM.js +0 -5
- package/dist/magma-components/p-BbMKuVem.js +0 -1
- package/dist/magma-components/p-C2FHijr2.system.js +0 -231
- package/dist/magma-components/p-CDTiTqY0.system.js +0 -58
- package/dist/magma-components/p-CI85vVs8.system.js +0 -9
- package/dist/magma-components/p-CnXBPjmc.system.js +0 -5
- package/dist/magma-components/p-DB8Rm54c.js +0 -1
- package/dist/magma-components/p-DIiEV39g.js +0 -3
- package/dist/magma-components/p-DVd2EM-q.system.js +0 -90
- package/dist/magma-components/p-DmC-b-ZK.system.js +0 -67
- package/dist/magma-components/p-MGv0i39Y.system.js +0 -162
- package/dist/magma-components/p-a15da479.system.entry.js +0 -8
- package/dist/magma-components/p-a3b0f586.entry.js +0 -1
- package/dist/magma-components/p-a93b2a39.entry.js +0 -1
- package/dist/magma-components/p-aa267e7b.entry.js +0 -1
- package/dist/magma-components/p-ab9095ae.system.entry.js +0 -4
- package/dist/magma-components/p-ab997243.system.entry.js +0 -4
- package/dist/magma-components/p-ace198e9.entry.js +0 -1
- package/dist/magma-components/p-ad3983b2.entry.js +0 -1
- package/dist/magma-components/p-aea6081f.entry.js +0 -1
- package/dist/magma-components/p-af41c8b8.system.entry.js +0 -1
- package/dist/magma-components/p-af45f0a5.system.entry.js +0 -20
- package/dist/magma-components/p-b0539d61.system.entry.js +0 -32
- package/dist/magma-components/p-b35c26f8.entry.js +0 -18
- package/dist/magma-components/p-b3a3578c.entry.js +0 -1
- package/dist/magma-components/p-b49e0321.system.entry.js +0 -1
- package/dist/magma-components/p-b71e0d51.entry.js +0 -1
- package/dist/magma-components/p-b8d4a14e.entry.js +0 -1
- package/dist/magma-components/p-ba035f90.entry.js +0 -1
- package/dist/magma-components/p-bc51d310.system.entry.js +0 -1
- package/dist/magma-components/p-bd490a8e.entry.js +0 -1
- package/dist/magma-components/p-be198039.system.entry.js +0 -4
- package/dist/magma-components/p-bf7168b4.entry.js +0 -1
- package/dist/magma-components/p-bf84d9fa.entry.js +0 -1
- package/dist/magma-components/p-c4e58240.entry.js +0 -1
- package/dist/magma-components/p-c573de10.entry.js +0 -1
- package/dist/magma-components/p-c6be3db7.system.entry.js +0 -1
- package/dist/magma-components/p-c7517884.system.entry.js +0 -38
- package/dist/magma-components/p-c9be79bd.entry.js +0 -1
- package/dist/magma-components/p-c9e12c2b.system.entry.js +0 -7
- package/dist/magma-components/p-cb6a1908.entry.js +0 -1
- package/dist/magma-components/p-cbd5aef4.system.entry.js +0 -14
- package/dist/magma-components/p-cc033985.system.entry.js +0 -14
- package/dist/magma-components/p-cd21137b.system.entry.js +0 -1
- package/dist/magma-components/p-cd84a264.system.entry.js +0 -41
- package/dist/magma-components/p-d0457835.entry.js +0 -1
- package/dist/magma-components/p-d3116844.entry.js +0 -1
- package/dist/magma-components/p-d38165ed.system.entry.js +0 -1
- package/dist/magma-components/p-d3933a22.entry.js +0 -1
- package/dist/magma-components/p-d44c49d6.system.entry.js +0 -8
- package/dist/magma-components/p-d4a529ce.entry.js +0 -1
- package/dist/magma-components/p-d64311e2.entry.js +0 -1
- package/dist/magma-components/p-d6d4aa1a.entry.js +0 -1
- package/dist/magma-components/p-d81e7100.system.entry.js +0 -15
- package/dist/magma-components/p-d8c27f4b.entry.js +0 -1
- package/dist/magma-components/p-d921d876.entry.js +0 -1
- package/dist/magma-components/p-da1ac3e1.entry.js +0 -1
- package/dist/magma-components/p-da4dc390.system.entry.js +0 -4
- package/dist/magma-components/p-dda7a33b.entry.js +0 -1
- package/dist/magma-components/p-de6bc3c8.entry.js +0 -1
- package/dist/magma-components/p-df2b7607.system.entry.js +0 -4
- package/dist/magma-components/p-e0b2ef8f.system.entry.js +0 -1
- package/dist/magma-components/p-e0c50a2d.entry.js +0 -1
- package/dist/magma-components/p-e1277efe.system.entry.js +0 -1
- package/dist/magma-components/p-e1e6dd97.entry.js +0 -1
- package/dist/magma-components/p-e2f7a9bd.system.entry.js +0 -1
- package/dist/magma-components/p-e375c8b1.entry.js +0 -1
- package/dist/magma-components/p-e3fce8ca.entry.js +0 -1
- package/dist/magma-components/p-e5c6f9a9.system.entry.js +0 -7
- package/dist/magma-components/p-e5da7036.entry.js +0 -1
- package/dist/magma-components/p-e6dccab5.system.entry.js +0 -1
- package/dist/magma-components/p-e9a16f22.system.entry.js +0 -134
- package/dist/magma-components/p-ea0091b6.entry.js +0 -1
- package/dist/magma-components/p-ec00defc.system.entry.js +0 -13
- package/dist/magma-components/p-ec59ec9a.entry.js +0 -1
- package/dist/magma-components/p-eddcef53.system.entry.js +0 -1
- package/dist/magma-components/p-edfb0d7a.entry.js +0 -1
- package/dist/magma-components/p-eed00e7f.system.entry.js +0 -1
- package/dist/magma-components/p-ef8cb401.entry.js +0 -1
- package/dist/magma-components/p-f070a5b5.system.entry.js +0 -11
- package/dist/magma-components/p-f23d4974.entry.js +0 -1
- package/dist/magma-components/p-f542246f.system.entry.js +0 -1
- package/dist/magma-components/p-f5c680dd.entry.js +0 -1
- package/dist/magma-components/p-f60c6e8e.system.entry.js +0 -40
- package/dist/magma-components/p-f8369939.entry.js +0 -1
- package/dist/magma-components/p-f97ede3e.system.entry.js +0 -19
- package/dist/magma-components/p-f97ff5b2.entry.js +0 -1
- package/dist/magma-components/p-f9d9cf7c.system.entry.js +0 -11
- package/dist/magma-components/p-fa163e86.entry.js +0 -1
- package/dist/magma-components/p-fe1662e8.system.entry.js +0 -28
- package/dist/magma-components/p-fe19080a.entry.js +0 -8
- package/dist/magma-components/p-ff133cbd.entry.js +0 -1
- package/dist/magma-components/p-ff49fb35.entry.js +0 -1
- package/dist/magma-components/p-fff44704.entry.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,h as i,e}from"./p-BxPbQB28.js";import{L as n}from"./p-Kv1yahtR.js";import"./p-7-TP6wnI.js";var t='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill-rule="evenodd" d="M15.318 3a3 3 0 0 1 2.56 1.436l3.666 6a3 3 0 0 1 0 3.129l-3.667 6A3 3 0 0 1 15.317 21H8.684a3 3 0 0 1-2.56-1.436l-3.667-6a3 3 0 0 1 0-3.129l3.666-6A3 3 0 0 1 8.682 3zm-.025 11.293c-.77.77-1.991 1.207-3.293 1.207-1.301 0-2.523-.437-3.293-1.207l-1.414 1.414C8.523 16.937 10.302 17.5 12 17.5c1.699 0 3.477-.563 4.707-1.793zM8 11h2V8H8zm6 0h2V8h-2z" clip-rule="evenodd"/>\n</svg>\n',c='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12c5.16-1.26 9-6.45 9-12V5l-9-4zm7 10c0 1.85-.51 3.65-1.38 5.21l-1.45-1.45a4.994 4.994 0 0 0-.64-6.29a5.003 5.003 0 0 0-7.07 0a5.003 5.003 0 0 0 0 7.07a5.006 5.006 0 0 0 6.29.64l1.72 1.72c-1.19 1.42-2.73 2.51-4.47 3.04c-4.02-1.25-7-5.42-7-9.94V6.3l7-3.11l7 3.11V11zm-7 4c-1.66 0-3-1.34-3-3s1.34-3 3-3s3 1.34 3 3s-1.34 3-3 3z"/></svg>',r={bannerDescription:"Αυτό το περιεχόμενο δημιουργήθηκε αυτόματα από την τεχνητή μας νοημοσύνη MIA και ενδέχεται να περιέχει ανακρίβειες. Σας συνιστούμε να επαληθεύσετε την ακρίβειά του και να συμβουλευτείτε επίσημες πηγές για οριστικές πληροφορίες.",bannerTitle:"Περιεχόμενο που δημιουργήθηκε με την MIA",cardDescription:"Αυτό το περιεχόμενο δημιουργήθηκε αυτόματα από την τεχνητή μας νοημοσύνη MIA και ενδέχεται να περιέχει ανακρίβειες.",cardTitle:"Περιεχόμενο που δημιουργήθηκε με την MIA",chipLabel:"Δημιουργήθηκε με MIA",iconTooltip:"Αυτό το περιεχόμενο δημιουργήθηκε αυτόματα από την τεχνητή μας νοημοσύνη MIA και ενδέχεται να περιέχει ανακρίβειες.",iconLinkLabel:"Κάντε κλικ για να διαβάσετε τις πολιτικές μας για την τεχνητή νοημοσύνη",linkLabel:"Πολιτική τεχνητής νοημοσύνης MIA",linkLabelShort:"Πολιτική MIA",linkLabelTitle:"Διαβάστε τις πολιτικές μας για τη χρήση της MIA, της τεχνητής μας νοημοσύνης, και τη δημιουργία αυτόματου περιεχομένου"},o={bannerDescription:"This content was automatically generated by our artificial intelligence MIA and may contain inaccuracies. Please verify its accuracy and consult official sources for definitive information.",bannerTitle:"Content generated with MIA",cardDescription:"This content was automatically generated by our artificial intelligence MIA and may contain inaccuracies.",cardTitle:"Content generated with MIA",chipLabel:"Generated with MIA",iconTooltip:"This content was automatically generated by our artificial intelligence MIA and may contain inaccuracies.",iconLinkLabel:"Click to read our artificial intelligence policies",linkLabel:"MIA Artificial Intelligence Policy",linkLabelShort:"MIA Policy",linkLabelTitle:"Read our policies on the use of MIA, our artificial intelligence, and the automatic generation of content"},l={bannerDescription:"Este contenido fue generado automáticamente por nuestra inteligencia artificial MIA y puede contener inexactitudes. Te recomendamos verificar su precisión y consultar fuentes oficiales para obtener información definitiva.",bannerTitle:"Contenido generado con MIA",cardDescription:"Este contenido fue generado automáticamente por nuestra inteligencia artificial MIA y puede contener inexactitudes.",cardTitle:"Contenido generado con MIA",chipLabel:"Generado con MIA",iconTooltip:"Este contenido fue generado automáticamente por nuestra inteligencia artificial MIA y puede contener inexactitudes.",iconLinkLabel:"Haz clic para leer nuestras políticas sobre inteligencia artificial",linkLabel:"Política de inteligencia artificial de MIA",linkLabelShort:"Política MIA",linkLabelTitle:"Lee nuestras políticas sobre el uso de MIA, nuestra inteligencia artificial, y la generación automática de contenidos"},s={bannerDescription:"Questo contenuto è stato generato automaticamente tramite la nostra intelligenza artificiale MIA e potrebbe contenere inesattezze, ti invitiamo a verificarne l'accuratezza e a consultare fonti ufficiali per informazioni definitive.",bannerTitle:"Contenuto generato con MIA",cardDescription:"Questo contenuto è stato generato automaticamente tramite la nostra intelligenza artificiale MIA e potrebbe contenere inesattezze.",cardTitle:"Contenuto generato con MIA",chipLabel:"Generato con MIA",iconTooltip:"Questo contenuto è stato generato automaticamente dalla nostra intelligenza artificiale MIA e potrebbe contenere inesattezze.",iconLinkLabel:"Clicca per leggere le nostre policy sulla intelligenza artificiale",linkLabel:"Policy MIA intelligenza artificiale",linkLabelShort:"Policy MIA",linkLabelTitle:"Leggi le nostre policy sull'utilizzo di MIA, la nostra intelligenza artificiale e la generazione automatica dei contenuti"};const d=class{constructor(i){a(this,i),this.t=new n({el:r,en:o,es:l,it:s}),this.variant="chip",this.href="https://www.maggiolieditore.it/il-regolamento-europeo-sull-intelligenza-artificiale.html",this.handleIconClick=()=>{window.open(this.href,"_blank")}}render(){var a,n,r,o,l,s,d;return i(e,{key:"72020f034e491a13a78386f734c3b63448ca6018"},"icon"===this.variant&&i("mds-help",{key:"34c2fd6eecf613c295969d33630fb9e3b827485f",icon:t,class:"icon-help",onClick:this.handleIconClick,part:"icon"},i("div",{key:"3d375fbf556e9f5e13645617d9acf237c2b867f5",class:"icon-tip-content"},i("mds-text",{key:"a90e2850a7e4e167da89beefa61d54166beed8a4",typography:"tip"},null!==(a=this.headline)&&void 0!==a?a:this.t.get("iconTooltip")),i("mds-text",{key:"d77e60e47786baa7cb798c0f7e635945edec7c87",typography:"tip"},null!==(n=this.description)&&void 0!==n?n:this.t.get("iconLinkLabel")))),"chip"===this.variant&&i("div",{key:"808f086bd1c1ac77779dd57711e75934cd6e0ad7",class:"chip-wrapper",part:"chip"},i("mds-chip",{key:"0c69d55d73c8332a4c0b776b144be037ee861c05",id:"chip",icon:t,class:"chip",variant:"ai",label:null!==(r=this.headline)&&void 0!==r?r:this.t.get("chipLabel")}),i("mds-dropdown",{key:"89e1a4de429ef32a45dd5354bf9dd232e30f1308",target:"#chip",class:"chip-dropdown",interaction:"mouseover",role:"group"},i("mds-text",{key:"fee7a56a09660fdf0861f89579e9a10fbc1f0478",typography:"tip"},null!==(o=this.description)&&void 0!==o?o:this.t.get("cardDescription")),i("mds-button",{key:"19ee82e37362274544c7f420ba37792a858fc4bd",icon:c,href:this.href,variant:"ai",tone:"weak",size:"sm",label:this.t.get("linkLabel")}))),"card"===this.variant&&i("div",{key:"950bcd67aec93287533d677c39fa92ef3f4b0e03",class:"mini-card",part:"card"},i("mds-icon",{key:"de765a8c68c1c5d0c0fe5e5567dd389fc0a7f172",name:t,class:"mini-card-icon"}),i("div",{key:"195903418c300ea8f9d4723b01f9f5edaa0d95db",class:"mini-card-content"},i("mds-text",{key:"b7b3363c1af8a08709790fce2745807517e1895c",typography:"caption"},null!==(l=this.description)&&void 0!==l?l:this.t.get("iconTooltip")),i("mds-button",{key:"f2783e8ca707db5e7e08be746f0043e882d1f8b1",class:"mini-card-button",icon:c,href:this.href,variant:"ai",tone:"weak",size:"sm"},i("span",{key:"aab907da7460626798058e2e4c05448794046621",class:"link-label-long"},this.t.get("linkLabel")),i("span",{key:"7ad10636c18897d04d0754f2f232a411c5abfb35",class:"link-label-short"},this.t.get("linkLabelShort"))))),"banner"===this.variant&&i("mds-banner",{key:"120740f29f04fd2336303dbcdd53a4149c24aaea",class:"banner",variant:"ai",tone:"weak",icon:t,headline:null!==(s=this.headline)&&void 0!==s?s:this.t.get("bannerTitle"),part:"banner"},i("mds-text",{key:"c4be5263b0b78b398990615c10a061b82b4d279d",typography:"caption"},null!==(d=this.description)&&void 0!==d?d:this.t.get("bannerDescription")),i("mds-button",{key:"06b2be6c135123aa4e1315ac906d0451d37acc45",icon:c,slot:"action",href:this.href,variant:"ai",tone:"weak",size:"sm"},i("span",{key:"8ed092557b5bcb501aaf15c538c09c934bd90a5c",class:"link-label-long"},this.t.get("linkLabel")),i("span",{key:"b6263d54b95f393a3f806eea64750b168958bb1f",class:"link-label-short"},this.t.get("linkLabelShort")))))}};d.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-banner,mds-button,mds-chip,mds-dropdown,mds-help,mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:inline-flex}:host(:not([variant=icon])){container:mds-policy-ai/inline-size;width:100%}mds-button{justify-self:start}.banner{--mds-banner-cockade-background:rgb(var(--magma-accent-ai-fg,var(--magma-tint-accent-ai-fg,var(--variant-ai-03,87 20 242))));--mds-banner-icon-color:rgb(var(--magma-accent-ai-surface-subtle,var(--magma-tint-accent-ai-surface-subtle,var(--variant-ai-10,240 234 254))))}.mini-card{background-color:rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248))));border-radius:var(--radius-lg,16px);-webkit-box-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);box-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);display:inline-flex;gap:calc(var(--spacing,.0025rem)*300);grid-template-columns:repeat(1,minmax(1px,100%));padding:calc(var(--spacing,.0025rem)*400)}.mini-card-icon{background-color:rgb(var(--magma-accent-ai-fg,var(--magma-tint-accent-ai-fg,var(--variant-ai-03,87 20 242))));border-radius:var(--radius-2xl,24px);border-top-left-radius:var(--radius-none,0);border-top-right-radius:var(--radius-none,0);fill:rgb(var(--magma-accent-ai-surface-subtle,var(--magma-tint-accent-ai-surface-subtle,var(--variant-ai-10,240 234 254))));height:calc(var(--spacing,.0025rem)*600);margin-top:calc(var(--spacing,.0025rem)*-400);padding:calc(var(--spacing,.0025rem)*100);padding-top:calc(var(--spacing,.0025rem)*400);width:calc(var(--spacing,.0025rem)*600)}.link-label-short{display:none}.mini-card-content{display:grid;gap:calc(var(--spacing,.0025rem)*300);grid-template-columns:repeat(1,minmax(1px,100%))}.mini-card-button{max-width:min-content;min-width:0;width:100%}@container mds-policy-ai (max-width:260px){.mini-card{display:grid}.mini-card-icon{border-top-left-radius:var(--radius-none,0);border-top-right-radius:var(--radius-none,0);margin-top:calc(var(--spacing,.0025rem)*-400);padding-top:calc(var(--spacing,.0025rem)*200)}.mini-card-button{max-width:none}.link-label-long{display:none}.link-label-short{display:inline}}.chip{cursor:help}.chip-dropdown{max-width:calc(var(--spacing,.0025rem)*7200);padding:calc(var(--spacing,.0025rem)*300) calc(var(--spacing,.0025rem)*400)}.icon-help{background-color:rgb(var(--magma-accent-ai-fg,var(--magma-tint-accent-ai-fg,var(--variant-ai-03,87 20 242))));border:1px solid rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248))));border-radius:var(--radius-2xl,24px);cursor:pointer;fill:rgb(var(--magma-accent-ai-surface-subtle,var(--magma-tint-accent-ai-surface-subtle,var(--variant-ai-10,240 234 254))));height:min-content;width:min-content}.icon-tip-content{display:grid;gap:calc(var(--spacing,.0025rem)*200)}.icon-help::part(icon){height:calc(var(--spacing,.0025rem)*600);padding:calc(var(--spacing,.0025rem)*100);width:calc(var(--spacing,.0025rem)*600)}";export{d as mds_policy_ai}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,a,r){function i(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,n){function d(e){try{s(r.next(e))}catch(e){n(e)}}function o(e){try{s(r["throw"](e))}catch(e){n(e)}}function s(e){e.done?a(e.value):i(e.value).then(d,o)}s((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var a={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,i,n,d=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return d.next=o(0),d["throw"]=o(1),d["return"]=o(2),typeof Symbol==="function"&&(d[Symbol.iterator]=function(){return this}),d;function o(e){return function(t){return s([e,t])}}function s(o){if(r)throw new TypeError("Generator is already executing.");while(d&&(d=0,o[0]&&(a=0)),a)try{if(r=1,i&&(n=o[0]&2?i["return"]:o[0]?i["throw"]||((n=i["return"])&&n.call(i),0):i.next)&&!(n=n.call(i,o[1])).done)return n;if(i=0,n)o=[o[0]&2,n.value];switch(o[0]){case 0:case 1:n=o;break;case 4:a.label++;return{value:o[1],done:false};case 5:a.label++;i=o[1];o=[0];continue;case 7:o=a.ops.pop();a.trys.pop();continue;default:if(!(n=a.trys,n=n.length>0&&n[n.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!n||o[1]>n[0]&&o[1]<n[3])){a.label=o[1];break}if(o[0]===6&&a.label<n[1]){a.label=n[1];n=o;break}if(n&&a.label<n[2]){a.label=n[2];a.ops.push(o);break}if(n[2])a.ops.pop();a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e];i=0}finally{r=n=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-DaONbL_w.system.js","./p-RJ5ZA1kY.system.js","./p-hVpoPUxI.system.js"],(function(e){"use strict";var t,a,r,i,n,d,o;return{setters:[function(e){t=e.r;a=e.d;r=e.h;i=e.e;n=e.g},function(e){d=e.a},function(e){o=e.p}],execute:function(){var s=function(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-modal: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-header-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-header-hidden-bar-translate-inline:translateY(-150%);--mds-header-hidden-bar-translate-stripe:translateY(-110%);--mds-header-icon-color:var(--mds-header-color,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))));--mds-header-modal-icon-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-header-backdrop-blur-strength:2px;--mds-header-backdrop-height:calc(var(--spacing,.0025rem)*1600);--mds-header-backdrop-show:true;--mds-header-z-index:var(--magma-header-z-index,1000);--mds-header-inline-margin-mobile:calc(var(--spacing,.0025rem)*400);--mds-header-inline-margin:calc(var(--spacing,.0025rem)*600);--mds-header-backdrop-background-image:linear-gradient(0deg,#0000,#00000026);--private-mask-opacity:1;color:var(--mds-header-color,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))));display:block;fill:var(--mds-header-icon-color,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))));position:relative;z-index:var(--mds-header-z-index)}.modal{--mds-modal-close-icon-color:var(--mds-header-modal-icon-color,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));z-index:var(--mds-header-z-index)}:host([appearance=inline]) ::slotted(mds-header-bar){--mds-header-inline-margin-current:var(--mds-header-inline-margin,calc(var(--spacing,.0025rem)*600));border-radius:var(--radius-lg,16px);margin-bottom:var(--mds-header-inline-margin-current);margin-top:var(--mds-header-inline-margin-current);max-width:var(--breakpoint-wide,1280px);width:calc(100% - var(--mds-header-inline-margin-current)*2)}:host([menu=none]) .menu{display:none}:host([visibility=hidden][appearance=stripe]) ::slotted(mds-header-bar){-webkit-transform:var(--mds-header-hidden-bar-translate-stripe);transform:var(--mds-header-hidden-bar-translate-stripe)}:host([visibility=hidden][appearance=inline]) ::slotted(mds-header-bar){-webkit-transform:var(--mds-header-hidden-bar-translate-inline);transform:var(--mds-header-hidden-bar-translate-inline)}.backdrop{align-items:center;-webkit-backdrop-filter:blur(var(--mds-header-backdrop-blur-strength,10px));backdrop-filter:blur(var(--mds-header-backdrop-blur-strength,10px));background-image:var(--mds-header-backdrop-background-image);content:"";display:flex;height:var(--mds-header-backdrop-height,calc(var(--spacing,.0025rem)*1600));inset:0;opacity:1;position:fixed;transform:translate(0);transition-duration:.2s;transition-property:opacity,transform;width:100%}.backdrop-blur-item{--private-gradient-position:calc(100% - (sibling-count() - sibling-index())*5%);display:none}.backdrop-blur-item:first-child{--private-gradient-position:100%}.backdrop-blur-item:nth-child(2){--private-gradient-position:95%}.backdrop-blur-item:nth-child(3){--private-gradient-position:90%}.backdrop-blur-item:nth-child(4){--private-gradient-position:85%}.backdrop-blur-item:nth-child(5){--private-gradient-position:80%}.backdrop-blur-item:nth-child(6){--private-gradient-position:75%}.backdrop-blur-item:nth-child(7){--private-gradient-position:70%}.backdrop-blur-item:nth-child(8){--private-gradient-position:65%}.backdrop-blur-item:nth-child(9){--private-gradient-position:60%}.backdrop-blur-item:nth-child(10){--private-gradient-position:55%}.backdrop-blur-item:nth-child(11){--private-gradient-position:50%}@supports ((-webkit-mask-image:linear-gradient(rgb(0 0 0/1),transparent)) or (mask-image:linear-gradient(rgb(0 0 0/1),transparent))){.backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;background-image:none}.backdrop-blur-item{-webkit-backdrop-filter:blur(var(--mds-header-backdrop-blur-strength,1px));backdrop-filter:blur(var(--mds-header-backdrop-blur-strength,1px));display:flex;inset:0;-webkit-mask-image:-webkit-gradient(linear,left top,left bottom,color-stop(40%,rgb(0 0 0/var(--private-mask-opacity,1))),to(#0000));mask-image:-webkit-gradient(linear,left top,left bottom,color-stop(40%,rgb(0 0 0/var(--private-mask-opacity,1))),to(#0000));-webkit-mask-image:linear-gradient(to bottom,rgb(0 0 0/var(--private-mask-opacity,1)) 40%,#0000 var(--private-gradient-position,100%));mask-image:linear-gradient(to bottom,rgb(0 0 0/var(--private-mask-opacity,1)) 40%,#0000 var(--private-gradient-position,100%));pointer-events:none;position:absolute}}:host([appearance=inline]) .backdrop{transform:translate(0)}:host([appearance=stripe]) .backdrop,:host([visibility=hidden]) .backdrop{--mds-header-backdrop-blur-strength:0px;transform:translateY(-100%)}@container style(--mds-header-backdrop-show:false){.backdrop{display:none}}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-header-modal-icon-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([pref-consumption=high]) .backdrop{--mds-header-backdrop-background-image:none}:host([pref-consumption=medium]) .backdrop{--mds-header-backdrop-blur-strength:1px}:host([pref-consumption=low]) .backdrop{--mds-header-backdrop-blur-strength:0px;display:none}@media (max-width:767px){:host([appearance=inline]) ::slotted(mds-header-bar){--mds-header-inline-margin-current:var(--mds-header-inline-margin-mobile,calc(var(--spacing,.0025rem)*400))}}@media not all and (min-width:768px){:host([menu=desktop]) .menu{display:none}}@media (min-width:1024px){:host([menu=mobile]) .menu{display:none}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-header-modal-icon-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}'};var c=e("mds_header",/** @class */function(){function e(e){var r=this;t(this,e);this.closedEvent=a(this,"mdsHeaderClose",7);this.visibleEvent=a(this,"mdsHeaderVisibilityChange",7);this.relativeTresholdDown=0;this.relativePosition=0;this.relativeThresholdUp=0;this.sanitizedAppearance=["stripe"];this.appearanceThreshold=300;
|
|
2
|
+
/**
|
|
3
|
+
* Sets the appearance of the header bar element when loaded,
|
|
4
|
+
* it can be changed depending on how `appearance-set` attribute is set
|
|
5
|
+
*/this.appearance="stripe";
|
|
6
|
+
/**
|
|
7
|
+
* Hides the backdrop shown when the mds-header-bar attribute appearace is set to `inline`
|
|
8
|
+
*/this.hideBackdrop=false;
|
|
9
|
+
/**
|
|
10
|
+
* Sets the visibility type of the hamburger menu of mds-header-bar
|
|
11
|
+
*/this.menu="mobile";
|
|
12
|
+
/**
|
|
13
|
+
* Sets the visibility type of the navigation menu of mds-header-bar
|
|
14
|
+
*/this.nav="desktop";
|
|
15
|
+
/**
|
|
16
|
+
* Sets the threshold margin to trigger hide or show status of the `mds-header-bar` when the page is scrolled
|
|
17
|
+
*/this.threshold=1;
|
|
18
|
+
/**
|
|
19
|
+
* Sets the visibility type of the navigation menu of mds-header-bar
|
|
20
|
+
*/this.visibility="visible";this.mobileMenu=function(){return d(r.host,"menu")};this.close=function(){r.isOpened=false;r.closedEvent.emit({bar:r.headerBar});r.headerBar.setOpened(false)};
|
|
21
|
+
// a removed attribute leaves null, which turns the auto hide off like 0
|
|
22
|
+
this.getAutoHide=function(){var e;var t=(e=r.autoHide)!==null&&e!==void 0?e:0;return Number.isNaN(t)?0:t};this.handleVisibility=function(){var e=r.getAutoHide();if(e===0){return}
|
|
23
|
+
// reset var if the page is scrolled to top
|
|
24
|
+
if(window.scrollY<e){r.visibility="visible";r.relativeThresholdUp=0;r.relativeTresholdDown=0;r.relativePosition=0;return}if(r.relativeTresholdDown-window.scrollY<=0){r.visibility="hidden";r.relativePosition=r.relativeTresholdDown}if(r.relativeThresholdUp-window.scrollY>=r.threshold){r.visibility="visible";r.relativeThresholdUp=window.scrollY;r.relativePosition=r.relativeThresholdUp}
|
|
25
|
+
// set hidden for the first scroll from top
|
|
26
|
+
if(r.relativePosition<e&&e-window.scrollY<=0){r.visibility="hidden";r.relativePosition=e}
|
|
27
|
+
// update respective threshold if page is scrolled up or down
|
|
28
|
+
if(window.scrollY>r.relativeThresholdUp){r.relativeThresholdUp=window.scrollY}else{r.relativeTresholdDown=window.scrollY+r.threshold}};this.sanitizeAppearance=function(){var e;var t=(e=r.appearanceSet)!==null&&e!==void 0?e:"";if(t===""){return[r.appearance]}var a=/\b(\w+)\b/g;var i=t.match(a);if(i){return i}return[r.appearance]};this.handleAppearance=function(){var e,t;if(window.scrollY>=r.appearanceThreshold){r.appearance=(e=r.sanitizedAppearance[1])!==null&&e!==void 0?e:r.appearance;return}r.appearance=(t=r.sanitizedAppearance[0])!==null&&t!==void 0?t:r.appearance};this.handleScroll=function(){if(typeof window==="undefined")return;if(r.getAutoHide()!==0){r.handleVisibility()}if(r.sanitizedAppearance.length>1){r.handleAppearance()}};this.setAppearanceSetData=function(){r.sanitizedAppearance=r.sanitizeAppearance();if(r.sanitizedAppearance[2]!==undefined&&r.sanitizedAppearance[2]!==0&&!Number.isNaN(r.sanitizedAppearance[2])){r.appearanceThreshold=r.sanitizedAppearance[2]}r.relativeTresholdDown=r.threshold};this.initScrollListener=function(){if(typeof window==="undefined"){return}r.setAppearanceSetData();window.addEventListener("scroll",r.handleScroll)};this.defineHeaderBar=function(){r.headerBar=r.host.querySelector("mds-header-bar")}}
|
|
29
|
+
/**
|
|
30
|
+
* Opens or closes the header.
|
|
31
|
+
* @param isOpened whether the header should be opened
|
|
32
|
+
*/e.prototype.setOpened=function(){return __awaiter(this,arguments,void 0,(function(e){if(e===void 0){e=true}return __generator(this,(function(t){this.isOpened=e;return[2/*return*/]}))}))};e.prototype.disconnectedCallback=function(){if(typeof window==="undefined"){return}window.removeEventListener("scroll",this.handleScroll)};e.prototype.componentWillLoad=function(){this.hasMenu=this.mobileMenu()!==null;if(this.hasMenu){this.onMenuChangedHandler(this.menu);return}this.onMenuChangedHandler("none")};e.prototype.componentDidLoad=function(){this.defineHeaderBar();this.onMenuChangedHandler(this.menu);this.onNavChangedHandler(this.nav);this.initScrollListener()};e.prototype.onMenuChangedHandler=function(e,t){if(e===t){return}if(this.headerBar!=null){this.headerBar.menu=e}};e.prototype.onNavChangedHandler=function(e,t){if(e===t){return}if(this.headerBar!=null){this.headerBar.nav=e}};e.prototype.onAppearanceSetChangedHandler=function(){this.setAppearanceSetData()};e.prototype.handleVisibilityChange=function(e,t){if(e!==t){this.visibleEvent.emit({visibility:e})}};e.prototype.render=function(){return r(i,{key:"49f28a5629b6a1ba884dfb31eaf8281b0da9905a","pref-consumption":o.state.consumption,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},!this.hideBackdrop&&r("div",{key:"312289e3e63a0b6f148b20d81d60c27a8c8674ed",class:"backdrop"},r("div",{key:"43a8bfb091488a6329385892ab7292eafd7f35d4",class:"backdrop-blur-item"}),r("div",{key:"d0886fe257d4d37b0e2f44daf3f2ecbe7d05e34e",class:"backdrop-blur-item"}),r("div",{key:"5852718eaef0df557501e6920e8e95951f5ed34f",class:"backdrop-blur-item"}),r("div",{key:"f3ed9d1ed3866d18ae85f18dbba52a4c2ecd0fc6",class:"backdrop-blur-item"}),r("div",{key:"5bf4a0f3704b522aeec1331bb011bdb3150d6936",class:"backdrop-blur-item"}),r("div",{key:"a6bd3da2294c656f7652bfe80b15be7b1e7feef4",class:"backdrop-blur-item"}),r("div",{key:"88e6473193ccf6e16c26787c7766e4e63dc16623",class:"backdrop-blur-item"}),r("div",{key:"6df3c63302f395f4c9ee7d44159f5e5591ac49e1",class:"backdrop-blur-item"}),r("div",{key:"68927f94100b0c4018a974b2066733bf01865175",class:"backdrop-blur-item"}),r("div",{key:"0f8650234e62902ee7e2798409d963f3a3046c32",class:"backdrop-blur-item"})),r("slot",{key:"a4e3724bf13c9d5e1aa71148cc1dc57ee5b3a8a9"}),this.hasMenu&&r("div",{key:"2ec630982983b7128d884cb441ef19d4e82ebad7",class:"menu",part:"menu"},r("mds-modal",{key:"14a50429601f18aa9608fbea79cf6c47390f1859",class:"modal",opened:this.isOpened,onMdsModalClose:this.close,position:"right"},r("slot",{key:"6dbffc0f91d2701baa08b1a3b77d6a9e4924611e",name:"menu"}))))};Object.defineProperty(e.prototype,"host",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{menu:[{onMenuChangedHandler:0}],nav:[{onNavChangedHandler:0}],appearanceSet:[{onAppearanceSetChangedHandler:0}],visibility:[{handleVisibilityChange:0}]}},enumerable:false,configurable:true});return e}());c.style=s()}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,d as a,h as r,e,g as i}from"./p-BxPbQB28.js";import{p as s}from"./p-7-TP6wnI.js";import{m as o}from"./p-DnEUG7st.js";import{m as n}from"./p-Bd0uuNDE.js";const m=class{constructor(r){t(this,r),this.pageChangedEvent=a(this,"mdsPaginatorChange",7),this.pages=0,this.currentPage=1,this.scrollPage=t=>{var a;const r=t,e=null===(a=this.element.shadowRoot)||void 0===a?void 0:a.querySelector(".pages"),i=null==e?void 0:e.querySelectorAll("mds-paginator-item");if(!e||!i)return;if(r<0)return void(e.scrollLeft=0);if(r>i.length-1)return void(e.scrollLeft=i[i.length-1].offsetLeft-e.offsetLeft);const s=i[r];e.scrollLeft=s.offsetLeft-e.offsetLeft-e.offsetWidth/2+s.offsetWidth/2},this.isKeyboardFocus=t=>{try{return t.matches(":focus-visible")}catch(t){return!0}},this.handleItemFocus=t=>{var a;const r=t.target;if(!r||!this.isKeyboardFocus(r))return;const e=null===(a=this.element.shadowRoot)||void 0===a?void 0:a.querySelector(".pages"),i=null==e?void 0:e.querySelectorAll("mds-paginator-item");i&&this.scrollPage(Array.from(i).indexOf(r))},this.goToPage=(t,a)=>{t<1||t>this.pages||(this.currentPage=t,this.pages>2&&this.scrollPage(this.currentPage-2),this.pageChangedEvent.emit({page:this.currentPage,caller:a}))},this.handlePrevClick=t=>{this.goToPage(this.currentPage-1,t.target)},this.handleFirstClick=t=>{this.goToPage(1,t.target)},this.handlePageClick=t=>a=>{this.goToPage(t,a.target)},this.handleLastClick=t=>{this.goToPage(this.pages,t.target)},this.handleNextClick=t=>{this.goToPage(this.currentPage+1,t.target)}}componentDidLoad(){setTimeout((()=>{this.goToPage(this.currentPage)}),10)}render(){return r(e,{key:"216ea37a64f9f8e3c98c48f5f441f91bae352c4e","pref-animation":s.state.animation,"pref-contrast":s.state.contrast,"pref-mode":s.state.mode,"pref-theme-scheme":s.state["theme-scheme"]},r("mds-paginator-item",{key:"a4a6b8ffbce0dab57a70f3181be4b8445bf4d0f0",class:"item-icon",icon:o,disabled:1===this.currentPage,onClick:this.handlePrevClick}),this.pages>0&&r("mds-paginator-item",{key:"80537156bc62910b7ef524c6e4fe594182504f27",class:"item-first",selected:1===this.currentPage,onClick:this.handleFirstClick},"1"),this.pages>2&&r("div",{key:"bdecf37cf7e02c976801b4700f1945cb221db1cf",class:"pages"},Array.from(Array(this.pages-2).keys()).map((t=>r("mds-paginator-item",{key:t,class:"item",selected:this.currentPage===t+2,onClick:this.handlePageClick(t+2),onFocus:this.handleItemFocus},t+2)))),this.pages>1&&r("mds-paginator-item",{key:"d7994b8ba5192445b7af2b3b16ae01b4f5d6025e",class:"item-last",selected:this.currentPage===this.pages,onClick:this.handleLastClick},this.pages),r("mds-paginator-item",{key:"71a7b52e0c5e5e3ee2e31acef1a543b867100c6e",class:"item-icon",icon:n,disabled:this.currentPage===this.pages,onClick:this.handleNextClick}))}get element(){return i(this)}};m.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-paginator-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-paginator-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));--mds-paginator-scroll-behavior:smooth;--mds-paginator-transition-duration:var(--duration-200,.2s);--private-paginator-transition-duration:var(--mds-paginator-transition-duration);align-items:center;display:flex;gap:calc(var(--spacing,.0025rem)*100)}.pages{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none;--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));align-items:center;background-color:var(--mds-paginator-background,rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225)))));border-radius:var(--radius-full,1000px);display:flex;flex-shrink:1;gap:2px;margin-inline:calc(var(--spacing,.0025rem)*200);overflow:auto;padding:calc(var(--spacing,.0025rem)*200);scroll-behavior:var(--mds-paginator-scroll-behavior,smooth);-webkit-transition-duration:var(--private-paginator-transition-duration);transition-duration:var(--private-paginator-transition-duration);transition-property:background-color,box-shadow;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.pages::-webkit-scrollbar{display:none}: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-paginator-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-paginator-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))))}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .pages{-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-contrast=more]) .pages{-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]) .item{--mds-paginator-item-background-hover:rgb(var(--magma-surface-default,var(--magma-tint-default,var(--surface-neutral-default,242 242 242))));--mds-paginator-item-shadow-hover:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow:none}:host([pref-contrast=more]) :is(.item-first,.item-icon,.item-last){--mds-paginator-item-shadow-disabled:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow-hover:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host{--mds-paginator-scroll-behavior:auto}:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-paginator-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-paginator-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))) .pages{-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}}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .pages{-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]))) .item{--mds-paginator-item-background-hover:rgb(var(--magma-surface-default,var(--magma-tint-default,var(--surface-neutral-default,242 242 242))));--mds-paginator-item-shadow-hover:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow:none}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) :is(.item-first,.item-icon,.item-last){--mds-paginator-item-shadow-disabled:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow-hover:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}}';export{m as mds_paginator}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as a,e}from"./p-BxPbQB28.js";import{p as r}from"./p-7-TP6wnI.js";const o=class{constructor(a){t(this,a)}render(){return a(e,{key:"c81499814fbed3b55f7428fa30386d7896575d11","pref-animation":r.state.animation,"pref-contrast":r.state.contrast,"pref-mode":r.state.mode,"pref-theme-scheme":r.state["theme-scheme"]},a("slot",{key:"9a564f05cc0aae68807d70d1ae293daae88d17f7"}),a("div",{key:"6bb77e2d7e8779b2c377d63a7b2c634993c97f69",class:"contents",part:"contents"},a("slot",{key:"6043e14df46b00260d660e85fc04ebd6510ea10b",name:"content"})),a("footer",{key:"9431be5fb6ef039047d1e9bab5cd26faf2054449",class:"actions",part:"actions"},a("slot",{key:"99702bdea1306673e30956b8c7a3c72e37060d56",name:"action"})))}};o.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{--mds-zero-contents-max-width:400px;--mds-zero-transition-duration:var(--duration-200,.2s);--private-zero-transition-duration:var(--mds-zero-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));align-items:center;background-color:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));border-radius:var(--radius-xl,20px);display:flex;flex-direction:column;gap:calc(var(--spacing,.0025rem)*600);justify-items:center;padding:calc(var(--spacing,.0025rem)*1200);-webkit-transition-duration:var(--private-zero-transition-duration);transition-duration:var(--private-zero-transition-duration);transition-property:box-shadow,background-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}:host .contents{display:flex;flex-direction:column;max-width:var(--mds-zero-contents-max-width,400px);place-items:center;text-align:center}:host .actions{align-items:center;display:flex;gap:calc(var(--spacing,.0025rem)*200);justify-items:center;width:100%}:host ::slotted([slot=action]){margin:auto}: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-zero-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){background-color:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));-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]){-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(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --tw-ease{syntax:"*";inherits:false}@media (min-width:480px){:host{padding-inline:calc(var(--spacing,.0025rem)*600)}}@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-zero-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){background-color:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));-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]){-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))}}';export{o as mds_zero}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,d as t,h as e,e as r,g as i}from"./p-BxPbQB28.js";import{c as s}from"./p-ChV9xqsO.js";import{L as o}from"./p-Kv1yahtR.js";import{p as n}from"./p-7-TP6wnI.js";var d={batchActions:"Επιλεγμένα στοιχεία"},l={batchActions:"Selected items"},c={batchActions:"Elementos seleccionados"},b={batchActions:"Elementi selezionati"};const m=class{constructor(e){a(this,e),this.selectionEvent=t(this,"mdsTableSelectionChange",7),this.hasBatchActions=!1,this.cellsWidth=0,this.selectedRows=[],this.t=new o({el:d,en:l,es:c,it:b}),this.updateInteractive=()=>{var a;this.body&&(this.body.interactive=this.interactive),null===(a=this.rows)||void 0===a||a.forEach((a=>{a.interactive=this.interactive}))},this.updateCellsSize=()=>{var a,t;const e=null===(a=this.rows)||void 0===a?void 0:a[0];if(!e)return;const r=e.querySelectorAll("mds-table-cell"),i=null===(t=e.shadowRoot)||void 0===t?void 0:t.querySelector(".selection-cell");this.cellsWidth=null!=i?i.offsetWidth:0,r.forEach((a=>{this.cellsWidth+=a.offsetWidth}))},this.hasActions=()=>(this.updateCellsSize(),null!==this.host.querySelector('mds-table-row > [slot="action"]')),this.handleSelection=()=>{var a;null===(a=this.rows)||void 0===a||a.forEach((a=>{a.selectable=this.selectable}))},this.handleActions=()=>{var a;this.updateCellsSize();const t=this.scrollWrapper.offsetWidth+this.scrollWrapper.scrollLeft<this.cellsWidth;null===(a=this.rows)||void 0===a||a.forEach((a=>{a.overlayActions=t}))},this.querySlottedElements=()=>{var a;this.body=this.host.querySelector("mds-table-body"),this.header=this.host.querySelector("mds-table-header"),this.rows=this.host.querySelectorAll("mds-table-row"),this.body&&(null===(a=this.tableBodyObserver)||void 0===a||a.observe(this.body,{childList:!0}))},this.updateSlottedElements=()=>{this.querySlottedElements(),this.updateInteractive(),this.handleSelection()}}onTableInteractive(){this.updateInteractive()}onTableSelectable(a){this.handleSelection(),this.header&&(this.header.selectable=a)}async updateSelection(){var a;this.selectable&&this.rows&&(this.selectedRows=[],this.rows.forEach(((a,t)=>{a.selected&&this.selectedRows.push({index:t,value:a.value})})),this.selectionEvent.emit({rows:this.selectedRows}),null===(a=this.header)||void 0===a||a.setSelection(this.selectedRows.length,this.rows.length),this.selection=this.selectedRows.length>0,this.body&&(this.body.selection=this.selection),this.rows.forEach((a=>{a.selection=this.selection})))}async selectAll(a=!0){this.selectable&&this.rows&&(this.rows.forEach((t=>{t.selected=a})),this.updateSelection())}componentWillLoad(){this.hasBatchActions=Array.from(this.host.children).some((a=>"batch-action"===a.getAttribute("slot"))),"undefined"!=typeof MutationObserver&&(this.tableBodyObserver=new MutationObserver((()=>{this.updateSlottedElements()}))),this.querySlottedElements()}componentDidLoad(){var a;if(this.header&&(this.header.selectable=this.selectable),this.hasActions()){const t=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector(".table-wrapper");if(!t)throw new Error("Table element table-wrapper not found");this.scrollWrapper=t,this.scrollWrapper.addEventListener("scroll",this.handleActions),this.resizeObserver=new ResizeObserver(this.handleActions),this.resizeObserver.observe(this.host),this.handleActions()}}disconnectedCallback(){var a,t;this.host.removeEventListener("scroll",this.handleActions),null===(a=this.resizeObserver)||void 0===a||a.disconnect(),null===(t=this.tableBodyObserver)||void 0===t||t.disconnect()}render(){return e(r,{key:"fae3110a4e1c8e8ecd5be52da1a925d8a7ae539f","pref-animation":n.state.animation,"pref-contrast":n.state.contrast,"pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},e("div",{key:"446f011466e88cb6e3e3edda947727351369f76b",class:"table-wrapper",part:"table-wrapper"},e("table",{key:"960688a9d9024f093c36c4b764253026154fc05e",class:s("table",this.interactive&&"table--interactive"),role:"table",part:"table"},e("slot",{key:"167c9cb9dd5376b5cfede35042516b440bf68964",onSlotchange:this.updateSlottedElements}))),this.selectable&&this.hasBatchActions&&e("div",{key:"2357eb34126e9e2798c036d350ec51159704f924",class:s("batch-actions-wrapper",this.selectedRows.length>0?"batch-actions-wrapper--has-selected-rows":""),part:"batch-actions-wrapper"},e("div",{key:"6521689a3e256cbc75ad80608e1b038efdd4eef6",class:"batch-actions",part:"batch-actions"},e("div",{key:"d642abba120e8e5d3e6ee31efe4084d4acefe91f",class:"batch-actions-header"},e("mds-text",{key:"02ddbe7033e04e4a51a736773324bd6edc404549",class:"batch-actions-label",typography:"label"},this.t.get("batchActions")),e("mds-badge",{key:"d55060c0e4b0f2efbde5a32c944686183d7a32e2",label:`${this.selectedRows.length}`,variant:"dark",tone:"outline",typography:"label"})),e("slot",{key:"447c233a53e49dc41b005f1f6df0fdc0ca2ece06",name:"batch-action"}))))}get host(){return i(this)}static get watchers(){return{interactive:[{onTableInteractive:0}],selectable:[{onTableSelectable:0}]}}};m.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))),:is(mds-table-body,mds-table-footer,mds-table-header):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-table-transition-duration:var(--duration-300,.3s);--private-table-transition-duration:var(--mds-table-transition-duration);--mds-table-actions-gap:calc(var(--spacing,.0025rem)*200);--mds-table-background-alt:rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248))));--mds-table-background:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255))));--mds-table-border-color:rgb(var(--magma-border-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196))));--mds-table-border-width:2px;--mds-table-cell-padding:calc(var(--spacing,.0025rem)*400);--mds-table-color-alt:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));--mds-table-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-table-batch-actions-width:calc(var(--spacing,.0025rem)*4800);--private-cell-border-color:var(--mds-table-border-color,rgb(var(--magma-border-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196)))));--private-cell-border-width:var(--mds-table-border-width);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-background-alt);border-color:var(--mds-table-border-color,rgb(var(--magma-border-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196)))));border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);border:var(--mds-table-border-width) solid var(--mds-table-border-color,rgb(var(--magma-border-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196)))))!important;display:flex;overflow:hidden;-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);transition-property:background-color,border-color,color}.table-wrapper{background-color:var(--mds-table-background);corner-shape:inherit;display:flex;overflow:auto;width:100%}.table{border-collapse:initial;border-spacing:0;width:100%}.batch-actions-wrapper{corner-shape:inherit;display:flex;flex-shrink:0;max-width:0;-webkit-transition-duration:var(--private-table-transition-duration);transition-duration:var(--private-table-transition-duration);transition-property:max-width;-webkit-transition-timing-function:var(--ease-in-out-circ,cubic-bezier(.785,.135,.15,.86));transition-timing-function:var(--ease-in-out-circ,cubic-bezier(.785,.135,.15,.86));width:100%}.batch-actions-wrapper--has-selected-rows{max-width:var(--mds-table-batch-actions-width)}.batch-actions-header{align-items:center;display:flex;justify-content:space-between;padding:calc(var(--spacing,.0025rem)*300)}.batch-actions{background-color:var(--mds-table-background);border-left:var(--mds-table-border-width) solid var(--mds-table-border-color,rgb(var(--magma-border-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196)))));box-sizing:border-box;display:grid;flex-grow:1;gap:calc(var(--spacing,.0025rem)*50);grid-auto-rows:min-content;grid-template-columns:repeat(1,minmax(1px,100%));min-width:var(--mds-table-batch-actions-width);padding:calc(var(--mds-table-cell-padding)/2);width:100%}::slotted([slot=batch-action]){justify-content:start;width:100%}:host([selection]:not([selection=false])){--mds-table-body-background:var(--mds-table-body-background-hover)}: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-table-transition-duration:0s}:host([pref-contrast=more][pref-mode=dark]){--mds-table-background:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--magma-tint-default,var(--surface-neutral-default,242 242 242))));--mds-table-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-table-transition-duration:0s}}@media (prefers-contrast:more){:host([pref-contrast=system][pref-mode=dark]){--mds-table-background:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--magma-tint-default,var(--surface-neutral-default,242 242 242))));--mds-table-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}@media (prefers-color-scheme:dark){:host([pref-contrast=more][pref-mode=system]){--mds-table-background:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--magma-tint-default,var(--surface-neutral-default,242 242 242))));--mds-table-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}@media (prefers-contrast:more) and (prefers-color-scheme:dark){:host([pref-contrast=system][pref-mode=system]){--mds-table-background:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--magma-tint-default,var(--surface-neutral-default,242 242 242))));--mds-table-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}';export{m as mds_table}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,h as e,e as i}from"./p-BxPbQB28.js";import{k as o}from"./p-C4ckbXOl.js";import{L as t}from"./p-Kv1yahtR.js";import{m as r}from"./p-0FAG3rkw.js";import{m as s}from"./p-DiWN48aq.js";import{m as n}from"./p-Ccz0jCNB.js";import{m as c}from"./p-DFyAGAnn.js";import"./p-7-TP6wnI.js";var l={keyCharacter:"Αλφαβητικός χαρακτήρας {{ character }} που χρησιμοποιείται συνήθως για τη δημιουργία συντομεύσεων πληκτρολογίου",keyFunction:"Πλήκτρο λειτουργίας {{ character }} που χρησιμοποιείται συχνά για καθολικές λειτουργίες ανάλογα με το λειτουργικό σύστημα και την έκδοσή του",keyNumber:"Αριθμητικός χαρακτήρας {{ character }} που χρησιμοποιείται συνήθως για τη δημιουργία συντομεύσεων πληκτρολογίου",modAlt:"Πλήκτρο τροποποίησης Alt{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}} (εναλλακτικό), που χρησιμοποιείται συχνά για συντομεύσεις συστήματος",modControl:"Πλήκτρο τροποποίησης Control ή Ctrl{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}}, που χρησιμοποιείται σε πολλές συντομεύσεις",modMeta:"Πλήκτρο τροποποίησης Meta{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}}, πλήκτρο Windows ⊞ στα Windows ή Command ⌘ στο macOS",modShift:"Πλήκτρο τροποποίησης Shift{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}}, που χρησιμοποιείται για κεφαλαία γράμματα",navArrowDown:"Πλήκτρο πλοήγησης Κάτω βέλος",navArrowLeft:"Πλήκτρο πλοήγησης Αριστερό βέλος",navArrowRight:"Πλήκτρο πλοήγησης Δεξί βέλος",navArrowUp:"Πλήκτρο πλοήγησης Πάνω βέλος",navEnd:"Πλήκτρο πλοήγησης Μετάβαση στο τέλος",navHome:"Πλήκτρο πλοήγησης Μετάβαση στην αρχή",navPageDown:"Πλήκτρο πλοήγησης Κύλιση προς τα κάτω",navPageUp:"Πλήκτρο πλοήγησης Κύλιση προς τα πάνω",numPadEnter:"Πλήκτρο Enter αριθμητικού πληκτρολογίου για επιβεβαίωση ενέργειας",specBackspace:"Ειδικό πλήκτρο Διαγραφή χαρακτήρα",specCapsLock:"Ειδικό πλήκτρο Caps Lock (συνήθως αποφεύγεται στις συντομεύσεις πληκτρολογίου)",specDelete:"Ειδικό πλήκτρο Διαγραφή επιλεγμένου στοιχείου",specEnter:"Ειδικό πλήκτρο Enter για επιβεβαίωση ενέργειας",specEscape:"Ειδικό πλήκτρο Έξοδος ή ακύρωση",specSpace:"Ειδικό πλήκτρο Διάστημα",specTab:"Ειδικό πλήκτρο Tab για εναλλαγή εστίασης μεταξύ στοιχείων"},d={keyCharacter:"Alphabetic character {{ character }} typically used for composing keyboard shortcuts",keyFunction:"Function key {{ character }} often used for global functions depending on the operating system and its version",keyNumber:"Numeric character {{ character }} typically used for composing keyboard shortcuts",modAlt:"Modifier key Alt{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}} (alternative), often used for system shortcuts",modControl:"Modifier key Control or Ctrl{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}}, used in many shortcuts",modMeta:"Modifier key Meta{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}}, Windows ⊞ key on Windows or Command ⌘ on macOS",modShift:"Modifier key Shift{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}}, used for uppercase letters",navArrowDown:"Navigation key Down Arrow",navArrowLeft:"Navigation key Left Arrow",navArrowRight:"Navigation key Right Arrow",navArrowUp:"Navigation key Up Arrow",navEnd:"Navigation key Go to End",navHome:"Navigation key Go to Home",navPageDown:"Navigation key Scroll Down",navPageUp:"Navigation key Scroll Up",numPadEnter:"Keypad Enter key to confirm an action",specBackspace:"Special key Delete character",specCapsLock:"Special key Caps Lock (generally avoided in keyboard shortcuts)",specDelete:"Special key Delete selected item",specEnter:"Special key Enter to confirm an action",specEscape:"Special key Exit or cancel",specSpace:"Special key Space bar",specTab:"Special key Tab to change focus between elements"},h={keyCharacter:"Carácter alfabético {{ character }} típicamente usado para componer atajos de teclado",keyFunction:"Tecla de función {{ character }} a menudo utilizada para funciones globales según el sistema operativo y su versión",keyNumber:"Carácter numérico {{ character }} típicamente usado para componer atajos de teclado",modAlt:"Tecla modificadora Alt{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}} (alternativa), a menudo usada para atajos de sistema",modControl:"Tecla modificadora Control o Ctrl{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}}, utilizada en muchos atajos",modMeta:"Tecla modificadora Meta{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}}, tecla Windows ⊞ en Windows o Command ⌘ en macOS",modShift:"Tecla modificadora Shift{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}}, utilizada para letras mayúsculas",navArrowDown:"Tecla de navegación Flecha abajo",navArrowLeft:"Tecla de navegación Flecha izquierda",navArrowRight:"Tecla de navegación Flecha derecha",navArrowUp:"Tecla de navegación Flecha arriba",navEnd:"Tecla de navegación Ir al final",navHome:"Tecla de navegación Ir al inicio",navPageDown:"Tecla de navegación Desplazar hacia abajo",navPageUp:"Tecla de navegación Desplazar hacia arriba",numPadEnter:"Tecla Enter del teclado numérico para confirmar una acción",specBackspace:"Tecla especial Borrar carácter",specCapsLock:"Tecla especial Bloq Mayús (generalmente evitada en atajos de teclado)",specDelete:"Tecla especial Eliminar elemento seleccionado",specEnter:"Tecla especial Enter para confirmar una acción",specEscape:"Tecla especial Salir o cancelar",specSpace:"Tecla especial Barra espaciadora",specTab:"Tecla especial Tab para cambiar el foco entre elementos"},m={keyCharacter:"Carattere alfabetico {{ character }} tipicamente usato per comporre le scorciatoie da tastiera",keyFunction:"Tasto funzione {{ character }} spesso usato per funzioni globali a seconda del sistema operativo e della sua versione",keyNumber:"Carattere numerico {{ character }} tipicamente usato per comporre le scorciatoie da tastiera",modAlt:"Tasto modificatore Alt{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}} (alternativo), spesso usato per shortcut di sistema",modControl:"Tasto modificatore Control o Ctrl{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}}, usato in molte scorciatoie",modMeta:"Tasto modificatore meta{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}}, Finestra ⊞ su Windows o Command ⌘ su macOS",modShift:"Tasto modificatore Shift{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}}, usato per maiuscole",navArrowDown:"Tasto navigazione Freccia giù",navArrowLeft:"Tasto navigazione Freccia sinistra",navArrowRight:"Tasto navigazione Freccia destra",navArrowUp:"Tasto navigazione Freccia su",navEnd:"Tasto navigazione Vai alla fine",navHome:"Tasto navigazione Vai all'inizio",navPageDown:"Tasto navigazione Scorri in giù",navPageUp:"Tasto navigazione Scorri in su",numPadEnter:"Tasto Invio per confermare una azione dal tastierino numerico",specBackspace:"Tasto speciale Cancella carattere",specCapsLock:"Tasto speciale Blocco maiuscole (generalmente evitato nelle scorciatoie da tastiera)",specDelete:"Tasto speciale Cancella elemento selezionato",specEnter:"Tasto speciale Invio per confermare una azione",specEscape:"Tasto speciale Esci o annulla",specSpace:"Tasto speciale Barra spaziatrice",specTab:"Tasto speciale Tab per cambiare focus tra elementi"},p='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M17.5 3C15.57 3 14 4.57 14 6.5V8h-4V6.5C10 4.57 8.43 3 6.5 3S3 4.57 3 6.5S4.57 10 6.5 10H8v4H6.5C4.57 14 3 15.57 3 17.5S4.57 21 6.5 21s3.5-1.57 3.5-3.5V16h4v1.5c0 1.93 1.57 3.5 3.5 3.5s3.5-1.57 3.5-3.5s-1.57-3.5-3.5-3.5H16v-4h1.5c1.93 0 3.5-1.57 3.5-3.5S19.43 3 17.5 3zM16 8V6.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S18.33 8 17.5 8H16zM6.5 8C5.67 8 5 7.33 5 6.5S5.67 5 6.5 5S8 5.67 8 6.5V8H6.5zm3.5 6v-4h4v4h-4zm7.5 5c-.83 0-1.5-.67-1.5-1.5V16h1.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5zm-11 0c-.83 0-1.5-.67-1.5-1.5S5.67 16 6.5 16H8v1.5c0 .83-.67 1.5-1.5 1.5z"/></svg>',v='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15 5h6v2h-6zM9 5H3v2h4.85l6.92 12H21v-2h-5.07z"/></svg>',g='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M3 3h8v8H3zm10 0h8v8h-8zM3 13h8v8H3zm10 0h8v8h-8z"/></svg>',y='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M22 3H7c-.69 0-1.23.35-1.59.88L0 12l5.41 8.11c.36.53.9.89 1.59.89h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H7.07L2.4 12l4.66-7H22v14zm-11.59-2L14 13.41L17.59 17L19 15.59L15.41 12L19 8.41L17.59 7L14 10.59L10.41 7L9 8.41L12.59 12L9 15.59z"/></svg>',k='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-apple-keyboard-shift" viewBox="0 0 24 24"><path d="M15,18V12H17.17L12,6.83L6.83,12H9V18H15M12,4L22,14H17V20H7V14H2L12,4Z" /></svg>';const w=new Map;w.set("arrowdown",s),w.set("arrowleft",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6l6 6l1.41-1.41z"/></svg>'),w.set("arrowright",c),w.set("arrowup",n),w.set("command",p),w.set("commandleft",p),w.set("commandright",p),w.set("delete",y),w.set("capslock",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 8.41L16.59 13L18 11.59l-6-6l-6 6L7.41 13L12 8.41zM6 18h12v-2H6v2z"/></svg>'),w.set("backspace",y),w.set("enter",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 7v4H5.83l3.58-3.59L8 6l-6 6l6 6l1.41-1.41L5.83 13H21V7z"/></svg>'),w.set("home",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M8 11h3v10h2V11h3l-4-4l-4 4zM4 3v2h16V3H4z"/></svg>'),w.set("end",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M16 13h-3V3h-2v10H8l4 4l4-4zM4 19v2h16v-2H4z"/></svg>'),w.set("option",v),w.set("optionleft",v),w.set("optionright",v),w.set("pagedown",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 15l-1.41-1.41L13 18.17V2h-2v16.17l-4.59-4.59L5 15l7 7l7-7z"/></svg>'),w.set("pageup",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M5 9l1.41 1.41L11 5.83V22h2V5.83l4.59 4.59L19 9l-7-7l-7 7z"/></svg>'),w.set("shift",k),w.set("shiftleft",k),w.set("shiftright",k),w.set("space",'<svg xmlns="http://www.w3.org/2000/svg" id="mdi-keyboard-space" viewBox="0 0 24 24"><path d="M3 15H5V19H19V15H21V19C21 20.1 20.1 21 19 21H5C3.9 21 3 20.1 3 19V15Z" /></svg>'),w.set("tab",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M11.59 7.41L15.17 11H1v2h14.17l-3.59 3.59L13 18l6-6l-6-6l-1.41 1.41zM20 6v12h2V6h-2z"/></svg>'),w.set("windows",g),w.set("windowsleft",g),w.set("windowsright",g);const b=class{constructor(e){a(this,e),this.t=new t({el:l,en:d,es:h,it:m}),this.keyboardKeys=o,this.getTitle=()=>{var a;const e=null!==(a=this.name)&&void 0!==a?a:"";if(""!==e)return this.t.get(this.keyboardKeys[e.toLowerCase()].description,{character:this.keyboardKeys[e.toLowerCase()].alias,keyboardPosition:this.keyboardKeys[e.toLowerCase()].keyboardPosition})}}render(){var a,o,t,s;return e(i,{key:"f46b31794208c55037687258d3b63d2d0137020e",title:this.getTitle()},e("div",{key:"a6f963089abd301ceb06587651ae287bae1f1a21",class:"physical-key"},this.name&&w.has(this.name)?e("mds-icon",{name:null!==(a=w.get(this.name))&&void 0!==a?a:r,class:"shortcut-icon"}):e("mds-text",{class:"shortcut-text",typography:"detail"},this.name&&e("b",null,this.keyboardKeys[this.name].alias)),this.name&&(null===(o=this.keyboardKeys[this.name])||void 0===o?void 0:o.keyboardPosition)&&e("mds-text",{key:"616b3394a2af2bc381d53d6ee1b3f6aa3e369e55",typography:"label"},(null===(t=this.keyboardKeys[this.name].keyboardPosition)||void 0===t?void 0:t.left)&&"l",(null===(s=this.keyboardKeys[this.name].keyboardPosition)||void 0===s?void 0:s.right)&&"r")))}};b.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-keyboard-key-illumination-dark-size:calc(var(--spacing,.0025rem)*150);--mds-keyboard-key-illumination-light-size:calc(var(--spacing,.0025rem)*50);--mds-keyboard-key-illumination-dark:0 calc(var(--mds-keyboard-key-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) * -1) 0 0 rgb(0 0 0/var(--mds-keyboard-key-illumination-dark-opacity,.05)) inset;--mds-keyboard-key-illumination-light:0 var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem)*50)) 0 0 rgb(255 255 255/var(--mds-keyboard-key-illumination-light-opacity,.5)) inset;--mds-keyboard-key-padding:calc(var(--spacing,.0025rem)*100);--mds-keyboard-key-transition-duration:.3s;--icon-size:calc(var(--spacing,.0025rem)*600);--key-size-default:calc(var(--icon-size) + calc(var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) * 2) + var(--mds-keyboard-key-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) + var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)));--key-size-pressed:calc(var(--icon-size) + calc(var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) * 2) + calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) * 2));corner-shape:var(--magma-corner-shape,squircle);align-items:flex-end;display:inline-flex;min-height:var(--key-size-default);min-width:var(--key-size-default)}.physical-key{background-color:var(--mds-keyboard-key-background,rgb(var(--tone-bisque-08,214 206 204)));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));-webkit-box-shadow:var(--mds-keyboard-key-illumination-light),var(--mds-keyboard-key-illumination-dark),var(--mds-keyboard-key-illumination-shadow);box-shadow:var(--mds-keyboard-key-illumination-light),var(--mds-keyboard-key-illumination-dark),var(--mds-keyboard-key-illumination-shadow);box-sizing:border-box;corner-shape:inherit;align-items:baseline;display:inline-flex;flex-grow:1;flex-shrink:0;height:var(--key-size-default);justify-content:center;min-width:calc(var(--spacing,.0025rem)*1000);padding:calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) calc(var(--mds-keyboard-key-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100));position:relative;text-align:center;-webkit-transition-duration:var(--mds-keyboard-key-transition-duration,.3s);transition-duration:var(--mds-keyboard-key-transition-duration,.3s);transition-property:box-shadow,padding,height;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));-webkit-user-select:none;user-select:none}:host(:active) .physical-key,:host([pressed]:not([pressed=false])) .physical-key{--mds-keyboard-key-illumination-dark:0 calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) * -1) 0 0 rgb(0 0 0/var(--mds-keyboard-key-illumination-dark-opacity)) inset;-webkit-box-shadow:var(--mds-keyboard-key-illumination-light),var(--mds-keyboard-key-illumination-dark),var(--mds-keyboard-key-illumination-shadow);box-shadow:var(--mds-keyboard-key-illumination-light),var(--mds-keyboard-key-illumination-dark),var(--mds-keyboard-key-illumination-shadow);height:var(--key-size-pressed);padding:calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))}:host([code=space]) .physical-key{min-width:calc(var(--key-size-default)*2)}mds-badge{background-color:#0000;color:currentColor;margin-left:calc(var(--spacing,.0025rem)*50);padding:0;white-space:nowrap}.shortcut-icon{fill:currentColor}.shortcut-text{color:currentColor;text-transform:capitalize;white-space:nowrap}";export{b as mds_keyboard_key}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as t,e as r,g as a}from"./p-BxPbQB28.js";import{p as o}from"./p-7-TP6wnI.js";const s=class{constructor(t){e(this,t)}componentWillRender(){this.horizontalCells=this.host.querySelectorAll("mds-price-table-features-cell"),this.cellPercWidth=Number(100/this.horizontalCells.length).toFixed(4)+"%",this.horizontalCells.forEach((e=>{e.style.width=this.cellPercWidth}))}render(){return t(r,{key:"e51aa5b5c122ef55bb2a6c8dcf589e336cadf6d5","pref-animation":o.state.animation,"pref-contrast":o.state.contrast,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},t("slot",{key:"3bc6d211c57c314c4df3f311609bd06195358a19"}))}get host(){return a(this)}};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-price-table-features-cell:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-price-table-features-row-background:#0000;--mds-price-table-features-row-background-hover:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));--mds-price-table-features-row-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-price-table-features-row-color-hover:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-price-table-features-row-transition-duration:var(--duration-200,.2s);--private-price-table-features-row-transition-duration:var(--mds-price-table-features-row-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-price-table-features-row-background,#0000);color:var(--mds-price-table-features-row-color,rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99)))));display:table-row;-webkit-transition-duration:var(--private-price-table-features-row-transition-duration);transition-duration:var(--private-price-table-features-row-transition-duration);transition-property:background-color,color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host(:hover){--mds-price-table-features-row-background:var(--mds-price-table-features-row-background-hover,rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237)))));--mds-price-table-features-row-color:var(--mds-price-table-features-row-color-hover,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))))}:host(:hover)>::slotted(mds-price-table-features-cell){--mds-price-table-features-cell-icon-supported-color:var(--mds-price-table-features-cell-icon-supported-color-hover);--mds-price-table-features-cell-icon-unsupported-color:var(--mds-price-table-features-cell-icon-unsupported-color-hover)}:host>::slotted([type=label]){padding-left:0}:host(:hover)>::slotted([type=label]){-webkit-transform:translate(calc(var(--spacing,.0025rem)*200));transform:translate(calc(var(--spacing,.0025rem)*200))}: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-row-transition-duration:0s}:host([pref-contrast=more]){--mds-price-table-features-row-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-price-table-features-row-color-hover:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-price-table-features-row-background-hover:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))))}@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-row-transition-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-price-table-features-row-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-price-table-features-row-color-hover:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-price-table-features-row-background-hover:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))))}}';export{s as mds_price_table_features_row}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-DaONbL_w.system.js","./p-hVpoPUxI.system.js"],(function(t){"use strict";var e,a,r,o;return{setters:[function(t){e=t.r;a=t.h;r=t.e},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{--mds-zero-contents-max-width:400px;--mds-zero-transition-duration:var(--duration-200,.2s);--private-zero-transition-duration:var(--mds-zero-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));align-items:center;background-color:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));border-radius:var(--radius-xl,20px);display:flex;flex-direction:column;gap:calc(var(--spacing,.0025rem)*600);justify-items:center;padding:calc(var(--spacing,.0025rem)*1200);-webkit-transition-duration:var(--private-zero-transition-duration);transition-duration:var(--private-zero-transition-duration);transition-property:box-shadow,background-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}:host .contents{display:flex;flex-direction:column;max-width:var(--mds-zero-contents-max-width,400px);place-items:center;text-align:center}:host .actions{align-items:center;display:flex;gap:calc(var(--spacing,.0025rem)*200);justify-items:center;width:100%}:host ::slotted([slot=action]){margin:auto}: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-zero-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){background-color:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));-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]){-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(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --tw-ease{syntax:"*";inherits:false}@media (min-width:480px){:host{padding-inline:calc(var(--spacing,.0025rem)*600)}}@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-zero-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){background-color:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));-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]){-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 i=t("mds_zero",/** @class */function(){function t(t){e(this,t)}t.prototype.render=function(){return a(r,{key:"c81499814fbed3b55f7428fa30386d7896575d11","pref-animation":o.state.animation,"pref-contrast":o.state.contrast,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},a("slot",{key:"9a564f05cc0aae68807d70d1ae293daae88d17f7"}),a("div",{key:"6bb77e2d7e8779b2c377d63a7b2c634993c97f69",class:"contents",part:"contents"},a("slot",{key:"6043e14df46b00260d660e85fc04ebd6510ea10b",name:"content"})),a("footer",{key:"9431be5fb6ef039047d1e9bab5cd26faf2054449",class:"actions",part:"actions"},a("slot",{key:"99702bdea1306673e30956b8c7a3c72e37060d56",name:"action"})))};return t}());i.style=n()}}}));
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,o,i,a){function n(t){return t instanceof i?t:new i((function(o){o(t)}))}return new(i||(i=Promise))((function(i,r){function e(t){try{d(a.next(t))}catch(t){r(t)}}function s(t){try{d(a["throw"](t))}catch(t){r(t)}}function d(t){t.done?i(t.value):n(t.value).then(e,s)}d((a=a.apply(t,o||[])).next())}))};var __generator=this&&this.__generator||function(t,o){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,n,r,e=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return e.next=s(0),e["throw"]=s(1),e["return"]=s(2),typeof Symbol==="function"&&(e[Symbol.iterator]=function(){return this}),e;function s(t){return function(o){return d([t,o])}}function d(s){if(a)throw new TypeError("Generator is already executing.");while(e&&(e=0,s[0]&&(i=0)),i)try{if(a=1,n&&(r=s[0]&2?n["return"]:s[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,s[1])).done)return r;if(n=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;n=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){i.label=s[1];break}if(s[0]===6&&i.label<r[1]){i.label=r[1];r=s;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(s);break}if(r[2])i.ops.pop();i.trys.pop();continue}s=o.call(t,i)}catch(t){s=[6,t];n=0}finally{a=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-DaONbL_w.system.js","./p-Qrub-hmK.system.js","./p-RJ5ZA1kY.system.js","./p-_X0N_X__.system.js","./p-hVpoPUxI.system.js","./p-C61qxZLH.system.js"],(function(t){"use strict";var o,i,a,n,r,e,s,d,l,m;return{setters:[function(t){o=t.r;i=t.d;a=t.h;n=t.e;r=t.g},function(t){e=t.c},function(t){s=t.h},function(t){d=t.c},function(t){l=t.p},function(t){m=t.m}],execute:function(){var c=function(){return'@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-modal-custom-closed-transform:rotateX(10deg) rotateY(0) scale(1.25) translateY(10%);--mds-modal-custom-window-distance:calc(var(--spacing,.0025rem)*600);--mds-modal-overlay-color:var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0));--mds-modal-overlay-opacity:var(--magma-overlay-opacity,.5);--mds-modal-transition-duration:.5s;--mds-modal-transition-timing-funciton:var(--ease-in-out-quint,cubic-bezier(.86,0,.07,1));--mds-modal-window-background:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255))));--mds-modal-window-distance:0;--mds-modal-window-height:calc(100dvh - var(--mds-modal-window-distance,0)*2);--mds-modal-window-max-height:calc(100dvh - var(--mds-modal-window-distance,0)*2);--mds-modal-window-overflow:auto;--mds-modal-window-radius:0;--mds-modal-window-shadow:var(--shadow-2xl,0 25px 50px -12px #00000040);--mds-modal-window-max-width:33%;--mds-modal-window-min-width:400px;--mds-modal-z-index:var(--magma-modal-z-index,3000);--private-modal-transition-duration:var(--mds-modal-transition-duration,.5s);--private-modal-width:calc(100vw - var(--private-modal-window-close-margin));--private-modal-custom-opened-transform:translate(0);--private-modal-opened-transform:none;--private-modal-transition-window-transform:translate(0);--private-modal-window-close-margin:calc(var(--spacing,.0025rem)*2000);display:contents}.dialog{align-items:center;background-color:#0000;border:0;box-sizing:border-box;color:inherit;display:none;fill:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));height:auto;inset:0;justify-content:center;margin:0;max-height:none;max-width:none;overflow:hidden;padding:0;perspective:600px;position:fixed;transition-behavior:allow-discrete;-webkit-transition-duration:var(--private-modal-transition-duration);transition-duration:var(--private-modal-transition-duration);transition-property:overlay,display;-webkit-transition-timing-function:var(--mds-modal-transition-timing-funciton);transition-timing-function:var(--mds-modal-transition-timing-funciton);width:auto;z-index:var(--mds-modal-z-index,1000)}.dialog[open]{display:flex}.dialog::-webkit-backdrop{background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0)))/0);transition-behavior:allow-discrete;-webkit-transition-duration:var(--private-modal-transition-duration);transition-duration:var(--private-modal-transition-duration);transition-property:background-color,overlay,display;-webkit-transition-timing-function:var(--mds-modal-transition-timing-funciton);transition-timing-function:var(--mds-modal-transition-timing-funciton)}.dialog::-ms-backdrop{background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0)))/0);transition-behavior:allow-discrete;transition-duration:var(--private-modal-transition-duration);transition-property:background-color,overlay,display;transition-timing-function:var(--mds-modal-transition-timing-funciton)}.dialog::backdrop{background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0)))/0);transition-behavior:allow-discrete;-webkit-transition-duration:var(--private-modal-transition-duration);transition-duration:var(--private-modal-transition-duration);transition-property:background-color,overlay,display;-webkit-transition-timing-function:var(--mds-modal-transition-timing-funciton);transition-timing-function:var(--mds-modal-transition-timing-funciton)}:host([hide-backdrop]) .dialog{pointer-events:none}.action-close{--mds-button-color:rgb(var(--magma-on-backdrop,252 252 252));opacity:0;pointer-events:none;position:absolute;-webkit-transition-duration:var(--private-modal-transition-duration);transition-duration:var(--private-modal-transition-duration);transition-property:background-color,bottom,color,fill,opacity,top,transform;-webkit-transition-timing-function:var(--mds-modal-transition-timing-function);transition-timing-function:var(--mds-modal-transition-timing-function)}.action-close::part(icon){height:calc(var(--spacing,.0025rem)*900);width:calc(var(--spacing,.0025rem)*900)}:host([position=top-left][animation="3d"]){--private-modal-transition-window-transform:rotateX(22deg) rotateY(22deg) scale(.5) translate(-80%,80%)}:host([position=top][animation="3d"]){--private-modal-transition-window-transform:rotateX(-22deg) rotateY(0) scale(.5) translateY(-80%)}:host([position=top-right][animation="3d"]){--private-modal-transition-window-transform:rotateX(-22deg) rotateY(-22deg) scale(.5) translate(80%,80%)}:host([position=left][animation="3d"]){--private-modal-transition-window-transform:rotateX(0) rotateY(22deg) rotate(0) scale(.5) translate(-100%)}:host([position=center][animation="3d"]){--private-modal-transition-window-transform:rotateX(0) rotateY(22deg) scale(.5) translateY(40%)}:host([position=right][animation="3d"]){--private-modal-transition-window-transform:rotateX(0) rotateY(-22deg) rotate(0) scale(.5) translate(100%)}:host([position=bottom-left][animation="3d"]){--private-modal-transition-window-transform:rotateX(22deg) rotateY(22deg) scale(.5) translate(-80%,80%)}:host([position=bottom][animation="3d"]){--private-modal-transition-window-transform:rotateX(22deg) rotateY(0) scale(.5) translateY(80%)}:host([position=bottom-right][animation="3d"]){--private-modal-transition-window-transform:rotateX(-22deg) rotateY(-22deg) scale(.5) translate(80%,80%)}:host([animation=custom]){--private-modal-opened-transform:var(--private-modal-custom-opened-transform);--private-modal-transition-window-transform:var(--mds-modal-custom-closed-transform,rotateX(10deg) rotateY(0) scale(1.25) translate(0,10%))}:host([position=top-left][animation=slide]){--private-modal-transition-window-transform:translate(-50%,-100%)}:host([position=top][animation=slide]){--private-modal-transition-window-transform:translateY(-100%)}:host([position=top-right][animation=slide]){--private-modal-transition-window-transform:translate(50%,-100%)}:host([position=left][animation=slide]){--private-modal-transition-window-transform:translate(-100%)}:host([position=center][animation=slide]){--private-modal-transition-window-transform:translateY(25%)}:host([position=right][animation=slide]){--private-modal-transition-window-transform:translate(100%)}:host([position=bottom-left][animation=slide]){--private-modal-transition-window-transform:translate(-50%,100%)}:host([position=bottom][animation=slide]){--private-modal-transition-window-transform:translateY(50%)}:host([position=bottom-right][animation=slide]){--private-modal-transition-window-transform:translate(50%,100%)}.dialog[open]::-webkit-backdrop{background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0)))/var(--mds-modal-overlay-opacity,var(--magma-overlay-opacity,.5)))}.dialog[open]::-ms-backdrop{background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0)))/var(--mds-modal-overlay-opacity,var(--magma-overlay-opacity,.5)))}.dialog[open]::backdrop{background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0)))/var(--mds-modal-overlay-opacity,var(--magma-overlay-opacity,.5)))}@starting-style{.dialog[open]::-webkit-backdrop{background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0)))/0)}.dialog[open]::-ms-backdrop{background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0)))/0)}.dialog[open]::backdrop{background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0)))/0)}}:host ::slotted([slot=window]){margin:var(--mds-modal-custom-window-distance,calc(var(--spacing,.0025rem)*600))}.window{background-color:var(--mds-modal-window-background,rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255)))));border-radius:var(--mds-modal-window-radius,0);-webkit-box-shadow:var(--mds-modal-window-shadow);box-shadow:var(--mds-modal-window-shadow);box-sizing:border-box;display:grid;gap:0;grid-template-columns:repeat(1,minmax(0,100%));height:var(--mds-modal-window-height);margin:var(--mds-modal-window-distance,0);max-height:var(--mds-modal-window-max-height);max-width:var(--private-modal-width);min-width:var(--mds-modal-window-min-width,400px);overflow:var(--mds-modal-window-overflow,auto);position:relative;width:100%}.window-content--empty{display:none}.window-content-wrapper{max-height:calc(100dvh - var(--mds-modal-window-distance,0)*2);overflow:hidden}.window-footer,.window-header{box-sizing:border-box;position:absolute}.window-header{inset:0 0 auto}.window-footer{inset:auto 0 0}.dialog .window,.dialog ::slotted([slot=window]){opacity:0;-webkit-transform:var(--private-modal-transition-window-transform);transform:var(--private-modal-transition-window-transform);-webkit-transition-duration:var(--private-modal-transition-duration);transition-duration:var(--private-modal-transition-duration);transition-property:transform,opacity;-webkit-transition-timing-function:var(--mds-modal-transition-timing-funciton);transition-timing-function:var(--mds-modal-transition-timing-funciton)}.dialog[open] .window,.dialog[open] ::slotted([slot=window]){opacity:1;pointer-events:auto;-webkit-transform:var(--private-modal-opened-transform);transform:var(--private-modal-opened-transform)}@starting-style{.dialog[open] .window,.dialog[open] ::slotted([slot=window]){opacity:0;-webkit-transform:var(--private-modal-transition-window-transform);transform:var(--private-modal-transition-window-transform)}.window-content-wrapper{overflow:hidden}}:host([position=top-left]) .dialog,:host([position=top-right]) .dialog,:host([position=top]) .dialog{align-items:flex-start}:host([position=center]) .dialog,:host([position=left]) .dialog,:host([position=right]) .dialog{align-items:center}:host([position=bottom-left]) .dialog,:host([position=bottom-right]) .dialog,:host([position=bottom]) .dialog{align-items:flex-end}:host([position=bottom-left]) .dialog,:host([position=left]) .dialog,:host([position=top-left]) .dialog{justify-content:flex-start}:host([position=bottom]) .dialog,:host([position=center]) .dialog,:host([position=top]) .dialog{justify-content:center}:host([position=bottom-right]) .dialog,:host([position=right]) .dialog,:host([position=top-right]) .dialog{justify-content:flex-end}:host([position=top]){--mds-modal-window-height:auto;align-items:flex-start;justify-content:center}:host([position=top]) .window{--mds-modal-window-max-width:100vw;--mds-modal-window-height:auto}:host([position=left]),:host([position=right]){--mds-modal-window-height:100%;--mds-modal-window-max-height:calc(100dvh - var(--mds-modal-window-distance,0)*2)}:host([position=top-left]){align-items:flex-start;justify-content:flex-start}:host([position=top-right]){align-items:flex-start;justify-content:flex-end}:host([position=left]){align-items:center;justify-content:flex-start}:host([position=left]) .action-close{right:calc(var(--spacing,.0025rem)*300);top:calc(var(--spacing,.0025rem)*300)}:host([position=left][opened]) .action-close{opacity:1;pointer-events:auto}:host([position=left]:not([opened])) .action-close{transform:translate(-120%)rotate(-45deg)}:host([position=center]){align-items:center;justify-content:center}:host([position=right]){align-items:center;justify-content:flex-end}:host([position=right]) .action-close{left:calc(var(--spacing,.0025rem)*300);top:calc(var(--spacing,.0025rem)*300)}:host([position=right]:not([opened])) .action-close{transform:translate(120%)rotate(45deg)}:host([position=right][opened]) .action-close{opacity:1;pointer-events:auto}:host([position=bottom-left]){align-items:flex-end;justify-content:flex-start}:host([position=bottom]){--mds-modal-window-height:auto;align-items:flex-end;justify-content:center}:host([position=bottom-right]){align-items:flex-end;justify-content:flex-end}:host([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-modal-transition-duration:0s}:host([pref-contrast=more]){--mds-modal-window-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)),var(--shadow-2xl,0 25px 50px -12px #00000040)}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .action-close{--mds-button-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}@media (max-width:480px){:host{--mds-modal-window-min-width:0px}:host([position=bottom-left]),:host([position=bottom-right]),:host([position=bottom]),:host([position=center]),:host([position=top-left]),:host([position=top-right]),:host([position=top]){--private-modal-width:100vw}:host([position=left]),:host([position=right]){--private-modal-width:calc(100% - var(--private-modal-window-close-margin))}}@media not all and (max-width:480px){:host([position=bottom-left]),:host([position=bottom-right]),:host([position=bottom]),:host([position=center]),:host([position=top-left]),:host([position=top-right]),:host([position=top]){--mds-modal-window-height:auto}:host([position=left]),:host([position=right]){--private-modal-width:var(--mds-modal-window-max-width,33%)}}@media (prefers-reduced-motion: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-modal-transition-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-modal-window-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)),var(--shadow-2xl,0 25px 50px -12px #00000040)}}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))) .action-close{--mds-button-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}'};var h=t("mds_modal",/** @class */function(){function t(t){var a=this;o(this,t);this.openEvent=i(this,"mdsModalOpen",7);this.showEvent=i(this,"mdsModalShow",7);this.closeEvent=i(this,"mdsModalClose",7);this.hideEvent=i(this,"mdsModalHide",7);
|
|
2
|
+
// Initialised on purpose: both readers compare it against '' (the strict boolean
|
|
3
|
+
// rules forbid the truthiness check this used to be), and an undeclared field is
|
|
4
|
+
// `undefined`, not ''. See enableOverflow.
|
|
5
|
+
this.bodyOverflow="";this.cssTransitionDuration="500";this.touchMargin=50;this.hasBottom=false;this.hasTop=false;this.hasWindow=false;this.windowHeaderHeight=0;this.windowFooterHeight=0;
|
|
6
|
+
/**
|
|
7
|
+
* Specifies if the modal is opened or not
|
|
8
|
+
*/this.opened=false;
|
|
9
|
+
/**
|
|
10
|
+
* Hides the modal backdrop
|
|
11
|
+
*/this.hideBackdrop=false;
|
|
12
|
+
/**
|
|
13
|
+
* Specifies the animation position of the modal window
|
|
14
|
+
*/this.position="center";
|
|
15
|
+
/**
|
|
16
|
+
* Specifies the animation style of the modal window
|
|
17
|
+
*/this.animation="slide";
|
|
18
|
+
/**
|
|
19
|
+
* Specifies if the component prevents the body from scrolling when modal window is opened
|
|
20
|
+
*/this.overflow="auto";
|
|
21
|
+
/**
|
|
22
|
+
* Specifies if the component can be closed with close button, or also if the backdrop background is cliccked.
|
|
23
|
+
* If `strict` is selected only the close button can dismiss the component via UI.
|
|
24
|
+
* If `relaxed` is selected the component can be dismissed also by cliccking the backdrop area.
|
|
25
|
+
*/this.interaction="relaxed";this.updateCSSCustomProps=function(){var t;if(typeof window==="undefined")return;var o=window.getComputedStyle(a.host);a.cssTransitionDuration=(t=o.getPropertyValue("--mds-modal-transition-duration"))!==null&&t!==void 0?t:"500"};this.stopIntroAnimationWindow=function(){a.setContentOverflow("auto");a.showEvent.emit();clearTimeout(a.animationDelayTimeout)};this.stopOutroAnimationWindow=function(){a.hideEvent.emit();clearTimeout(a.animationDelayTimeout)};this.disableOverflow=function(){if(typeof document!=="undefined"){if(document.body.style.overflow!==""){a.bodyOverflow=document.body.style.overflow}document.body.style.overflow="hidden"}};this.enableOverflow=function(){if(typeof document!=="undefined"){if(a.bodyOverflow!==""){document.body.style.overflow=a.bodyOverflow}else{document.body.style.removeProperty("overflow")}}};
|
|
26
|
+
// Freeze the content scroll container (overflow:hidden) for the whole slide,
|
|
27
|
+
// re-enabling it only once the window's transform transition has finished. A
|
|
28
|
+
// live overflow:auto with overflowing content janks the transform. Applied
|
|
29
|
+
// inline on the element on purpose: toggling it via a host attribute + CSS
|
|
30
|
+
// selector triggers a shadow-wide style recalc at the settle frame, which is
|
|
31
|
+
// what caused the visible jump.
|
|
32
|
+
this.setContentOverflow=function(t){if(a.windowContentWrapper){a.windowContentWrapper.style.overflow=t}};this.handleWindowTransitionEnd=function(t){if(t.propertyName!=="transform"){return}if(a.opened){a.stopIntroAnimationWindow()}else{a.stopOutroAnimationWindow()}};this.animateOpenWindow=function(){a.setContentOverflow("hidden");clearTimeout(a.animationDelayTimeout);
|
|
33
|
+
// Fallback only: `handleWindowTransitionEnd` is the primary settle. The
|
|
34
|
+
// buffer keeps this from firing before the transition actually ends.
|
|
35
|
+
a.animationDelayTimeout=setTimeout(a.stopIntroAnimationWindow.bind(a),d(a.cssTransitionDuration)+100)};this.animateCloseWindow=function(){a.setContentOverflow("hidden");clearTimeout(a.animationDelayTimeout);a.animationDelayTimeout=setTimeout(a.stopOutroAnimationWindow.bind(a),d(a.cssTransitionDuration)+100)};this.setTouchStart=function(t){a.touchStartX=t.touches[0].clientX;a.touchStartY=t.touches[0].clientY};this.setTouchEnd=function(t){var o=t.changedTouches[0].clientX;var i=t.changedTouches[0].clientY;var n=a.touchStartX-o;var r=a.touchStartY-i;
|
|
36
|
+
// if is NOT a diagonal swipe
|
|
37
|
+
if(Math.abs(n)>Math.abs(r)){if(a.position==="right"&&n>0)return;if(a.position==="left"&&n<0)return;if(Math.abs(n)>Math.abs(a.touchMargin)){a.opened=undefined}}};this.addMobileEvents=function(){a.windowElement.addEventListener("touchstart",a.setTouchStart);a.windowElement.addEventListener("touchend",a.setTouchEnd)};this.updateSlots=function(){a.hasBottom=s(a.host,"bottom");a.hasTop=s(a.host,"top");a.hasWindow=s(a.host,"window");
|
|
38
|
+
// the slotted window is NOT given a role: the `<dialog>` below is the dialog already,
|
|
39
|
+
// opened with showModal(), and a second one inside it reads as a second window
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Measures the header and the footer to pad the content: the states change
|
|
43
|
+
* only when a measure differs, so the update pass settles after one render.
|
|
44
|
+
*/this.updateWindowPaddings=function(){var t,o,i,n;var r=(t=a.host.shadowRoot)===null||t===void 0?void 0:t.querySelector(".window-header");var e=(o=a.host.shadowRoot)===null||o===void 0?void 0:o.querySelector(".window-footer");var s=(i=r===null||r===void 0?void 0:r.offsetHeight)!==null&&i!==void 0?i:0;var d=(n=e===null||e===void 0?void 0:e.offsetHeight)!==null&&n!==void 0?n:0;if(s!==a.windowHeaderHeight)a.windowHeaderHeight=s;if(d!==a.windowFooterHeight)a.windowFooterHeight=d};this.showDialog=function(){if(!a.dialogEl||a.dialogEl.open){return}
|
|
45
|
+
// `showModal()` promotes the dialog to the top layer, traps focus and inerts
|
|
46
|
+
// the page. `show()` keeps it non-modal so the page behind stays interactive,
|
|
47
|
+
// preserving the legacy `hideBackdrop` click-through behaviour.
|
|
48
|
+
if(!a.hideBackdrop){a.dialogEl.showModal()}else{a.dialogEl.show()}
|
|
49
|
+
// Measure here, not only in the lifecycle hooks: until this call the dialog is
|
|
50
|
+
// `display: none`, so a header and a footer measure 0. A modal that mounts
|
|
51
|
+
// already open never renders again on its own, so that 0 would stay and the
|
|
52
|
+
// content would sit under both bars.
|
|
53
|
+
a.updateWindowPaddings()};this.closeDialog=function(){var t;if((t=a.dialogEl)===null||t===void 0?void 0:t.open){a.dialogEl.close()}};this.handleBackdropClick=function(t){if(a.interaction==="strict"){return}
|
|
54
|
+
// A click whose target is the dialog itself (not its window contents) is a
|
|
55
|
+
// click on the backdrop area.
|
|
56
|
+
if(t.target===a.dialogEl){a.opened=undefined}};this.handleCancel=function(t){
|
|
57
|
+
// Take over the native Esc dismissal so `strict` can veto it (and, later, so
|
|
58
|
+
// the outro animation can play).
|
|
59
|
+
t.preventDefault();if(a.interaction==="strict"){return}a.opened=undefined}}t.prototype.componentWillLoad=function(){this.updateSlots();if(this.overflow==="auto"&&this.opened){this.disableOverflow()}};t.prototype.componentDidLoad=function(){var t,o;this.windowElement=(t=this.host.shadowRoot)===null||t===void 0?void 0:t.querySelector(".window");this.windowContentWrapper=(o=this.host.shadowRoot)===null||o===void 0?void 0:o.querySelector(".window-content-wrapper");this.updateWindowPaddings();if(this.windowElement!=null){this.addMobileEvents();this.windowElement.addEventListener("transitionend",this.handleWindowTransitionEnd)}this.updateCSSCustomProps();
|
|
60
|
+
// The `opened` watcher does not fire for the initial value, so open the
|
|
61
|
+
// native dialog here when the component mounts already open.
|
|
62
|
+
if(this.opened){this.showDialog();this.animateOpenWindow();this.openEvent.emit()}};t.prototype.componentDidUpdate=function(){
|
|
63
|
+
// the header and the footer are hidden while their slots are empty: refresh
|
|
64
|
+
// the paddings of the content once a late `top` or `bottom` child shows them
|
|
65
|
+
this.updateWindowPaddings()};t.prototype.disconnectedCallback=function(){this.enableOverflow();clearTimeout(this.animationDelayTimeout);if(this.windowElement){this.windowElement.removeEventListener("touchstart",this.setTouchStart);this.windowElement.removeEventListener("touchend",this.setTouchEnd);this.windowElement.removeEventListener("transitionend",this.handleWindowTransitionEnd)}this.enableOverflow()};t.prototype.handleOpenProp=function(t,o){if(t){if(this.overflow==="auto"){this.disableOverflow()}this.showDialog();this.animateOpenWindow();this.openEvent.emit();return}if(!o){return}this.opened=undefined;this.closeDialog();if(this.overflow==="auto"){this.enableOverflow()}this.animateCloseWindow();this.closeEvent.emit()};t.prototype.handleHideBackdropProp=function(t){if(t===false){this.hideBackdrop=undefined}};
|
|
66
|
+
/**
|
|
67
|
+
* Closes the modal.
|
|
68
|
+
*/t.prototype.close=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.opened=undefined;return[2/*return*/]}))}))};t.prototype.render=function(){var t=this;return a(n,{key:"80dfb2b729228d988b8dc7ad887a363b14241904","pref-animation":l.state.animation,"pref-contrast":l.state.contrast,"pref-mode":l.state.mode,"pref-theme-scheme":l.state["theme-scheme"]},a("dialog",{key:"ae1943be37e5ce95e471cd818f5fbfebc3b74642","aria-label":this.accessibleName,class:"dialog",part:"dialog",ref:function(o){return t.dialogEl=o},onClick:function(o){t.handleBackdropClick(o)},onCancel:function(o){t.handleCancel(o)}},a("slot",{key:"20db008d701b039e8cc5eb0e12888d7dd28d9f79",name:"window",onSlotchange:this.updateSlots}),!this.hasWindow&&a("div",{key:"ec74762802359a4296ba9a910860f3321c120f8c",class:"window",part:"window"},a("div",{key:"7becbbe9d55dd7f2ad43d04a846d0b76261bb602",class:e("window-header",!this.hasTop&&"window-content--empty")},a("slot",{key:"d493500242939acb006ebd3b4dde34170c5bf505",name:"top",onSlotchange:this.updateSlots})),a("div",{key:"2d97e267cd3b126836ab4417361a7eb1a086591a",class:"window-content-wrapper"},a("div",{key:"417ea278a98822af957a4df0dd13a5133dbd21fc",class:"window-content",style:{paddingTop:"".concat(this.windowHeaderHeight,"px"),paddingBottom:"".concat(this.windowFooterHeight,"px")}},a("slot",{key:"5c03937fb8558b56f0a461169dc01a1ea35c32c1"}))),a("div",{key:"308f987984a943b12c6e0e1380b8d21e65ee33c8",class:e("window-footer",!this.hasBottom&&"window-content--empty")},a("slot",{key:"aa54ab5dbdda1338fb5913a269fb502838e064c6",name:"bottom",onSlotchange:this.updateSlots}))),!this.hasWindow&&a("mds-button",{key:"77d5c743ab4212629c73b35062901bd815c4f0a4",class:"action-close",icon:m,variant:"light",tone:"text",size:"xl",onClick:function(){t.opened=undefined},part:"action-close"})))};Object.defineProperty(t.prototype,"host",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{opened:[{handleOpenProp:0}],hideBackdrop:[{handleHideBackdropProp:0}]}},enumerable:false,configurable:true});return t}());h.style=c()}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as t,e as a}from"./p-BxPbQB28.js";const r=class{constructor(t){e(this,t)}render(){return t(a,{key:"caf66d039cf01848537a794bef732c49ec866bdb"},t("slot",{key:"71787a906bc949b35c67798212e58af9456d1fbf"}))}};r.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-price-table-features,mds-price-table-header,mds-price-table-list):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*600)}";export{r as mds_price_table}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,d as a,h as r,e as i,g as e}from"./p-BxPbQB28.js";import{p as s}from"./p-7-TP6wnI.js";import{m as o}from"./p-DiWN48aq.js";import{s as n}from"./p-wI0alRSO.js";import{u as c}from"./p-8yWTOQiz.js";import"./p-Kv1yahtR.js";const l=class{constructor(r){t(this,r),this.changeEvent=a(this,"mdsInputSelectChange",7),r.$hostElement$["s-ei"]?this.internals=r.$hostElement$["s-ei"]:(this.internals=r.$hostElement$.attachInternals(),r.$hostElement$["s-ei"]=this.internals),this.adoptingSelection=!1,this.hasFocus=!1,this.formDisabled=!1,this.disabled=!1,this.required=!1,this.multiple=!1,this.size=0,this.value="",this.isDisabled=()=>!!this.disabled||this.formDisabled,this.onInput=()=>{this.adoptSelection(),this.syncSelection()},this.onBlur=()=>{this.hasFocus=!1},this.onFocus=()=>{this.hasFocus=!0},this.hasPlaceholder=()=>{var t;return""!==(null!==(t=this.placeholder)&&void 0!==t?t:"")},this.placeholderOption=()=>{var t,a;return null!==(a=null===(t=this.selectEl)||void 0===t?void 0:t.querySelector(".placeholder-option"))&&void 0!==a?a:null},this.emptyOptions=()=>{var t;const a=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector("select"),r=null==a?void 0:a.querySelectorAll("option");r&&r.forEach(((t,a)=>{this.hasPlaceholder()||t.remove(),this.hasPlaceholder()&&a>0&&t.remove()}))},this.onSlotChangeHandler=()=>{var t,a,r;const i=null===(a=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelectorAll("slot")[0])||void 0===a?void 0:a.assignedNodes(),e=null===(r=this.selectEl)||void 0===r?void 0:r.querySelectorAll("option");null!=e&&(!this.hasPlaceholder()&&e.length>0&&this.emptyOptions(),this.hasPlaceholder()&&e.length>1&&this.emptyOptions(),null==i||i.forEach((t=>{var a;null===(a=this.selectEl)||void 0===a||a.appendChild(t.cloneNode(!0))})),this.applySelection(!0),this.syncSelection())}}async setValue(t){return this.value=t,Promise.resolve()}valueChanged(){this.adoptingSelection||(this.applySelection(!1),this.syncSelection())}requiredChanged(){this.updateFormValidity()}nameChanged(){this.updateFormValue(this.selectedValues())}selectedValues(){var t;return null==this.selectEl?""===(null!==(t=this.value)&&void 0!==t?t:"")?[]:[this.value.toString()]:Array.from(this.selectEl.selectedOptions).filter((t=>!t.classList.contains("placeholder-option"))).map((t=>t.value))}syncSelection(){var t;const a=this.selectedValues();this.updateFormValue(a),this.updateFormValidity();const r=null===(t=this.value)||void 0===t?void 0:t.toString(),i=JSON.stringify([r,a]);i!==this.emittedSelection&&(this.emittedSelection=i,this.changeEvent.emit({value:r,values:a}))}updateFormValue(t){var a,r,i;if(!this.multiple)return void n(this.internals,null!==(r=null===(a=this.value)||void 0===a?void 0:a.toString())&&void 0!==r?r:null);const e=null!==(i=this.name)&&void 0!==i?i:"";if(""===e||0===t.length)return void n(this.internals,null);const s=new FormData;t.forEach((t=>s.append(e,t))),n(this.internals,s)}updateFormValidity(){var t;const a=this.required&&""===(null!==(t=this.value)&&void 0!==t?t:"");c(this.internals,a?{rule:"requiredSelect"}:void 0,this.selectEl)}disabledChanged(t){t&&n(this.internals,null)}placeholderChanged(t,a){if(null!=this.selectEl&&null!=t&&""!==t&&""===(null!=a?a:"")){let a=this.placeholderOption();a&&a.remove(),a=document.createElement("option"),a.className="placeholder-option",this.selectEl.insertBefore(a,this.selectEl.firstChild),a.value="",a.text=t,(null==this.defaultValue||""===this.defaultValue||0===this.defaultValue||Number.isNaN(this.defaultValue))&&(a.selected=!0,this.value=void 0),this.required&&(a.disabled=!0)}}formDisabledCallback(t){this.formDisabled=t}formResetCallback(){if(null==this.selectEl)return;const t=Array.from(this.selectEl.querySelectorAll("option"));t.forEach((t=>{t.selected=t.defaultSelected}));const a=this.placeholderOption();a&&this.hasPlaceholder()&&!t.some((t=>t.defaultSelected))&&(a.selected=!0),this.adoptingSelection=!0,this.value=this.loadValue,this.adoptingSelection=!1,this.applySelection(!0),this.syncSelection()}componentWillLoad(){null==this.defaultValue||""===this.defaultValue||0===this.defaultValue||Number.isNaN(this.defaultValue)||(this.value=this.defaultValue),this.loadValue=this.value}componentDidRender(){this.updateFormValidity()}componentDidLoad(){this.multiple||null==this.value||""===this.value||0===this.value||Number.isNaN(this.value)||n(this.internals,this.value.toString())}adoptSelection(){null!=this.selectEl&&(this.adoptingSelection=!0,this.value=this.selectEl.value,this.adoptingSelection=!1)}applySelection(t){if(null==this.selectEl)return;if(null!=this.value&&""!==this.value&&0!==this.value&&!Number.isNaN(this.value))return void this.selectEl.querySelectorAll("option").forEach((t=>{t.selected=t.value===this.value}));if(t)return void this.adoptSelection();this.selectEl.querySelectorAll("option").forEach((t=>{t.selected=!1}));const a=this.placeholderOption();a&&this.hasPlaceholder()&&(a.selected=!0),this.adoptSelection()}render(){var t;return r(i,{key:"39445a71195494b40c2bb5b5f258cb182c1ae4df","pref-animation":s.state.animation,"pref-contrast":s.state.contrast,"pref-mode":s.state.mode,"pref-theme-scheme":s.state["theme-scheme"]},r("select",{key:"9795f23fd09ff9bfbfbf89860c6cf2928517802d","aria-label":this.accessibleName,class:"input",onInput:this.onInput,onBlur:this.onBlur,onFocus:this.onFocus,name:this.name,required:this.required,disabled:this.isDisabled(),multiple:this.multiple,size:this.size,part:"select",ref:t=>this.selectEl=t},r("option",{key:"b7bdd1b3771c0c49c7025e82db337bf3459f15e7",class:"placeholder-option",value:"",disabled:!!this.required||void 0,selected:!(null!=this.defaultValue&&""!==this.defaultValue&&0!==this.defaultValue&&!Number.isNaN(this.defaultValue))||void 0},this.placeholder)),r("div",{key:"5d8e87d30a3a2a409553285c58cae328aa2a50bc",class:"icon-container"},r("mds-icon",{key:"9725203039482f2bcfd766c5ccd03ed728dd14a4",class:"icon",name:o})),r("div",{key:"1c5c276419b32919b2c131141fdf5ba74c3da4fe",class:"option-container"},r("slot",{key:"3b3558926175375fae01276ee7f8a317a61c2d77",onSlotchange:this.onSlotChangeHandler})),r("mds-input-tip",{key:"039569e0ca1ab6622da2d162483ea51e8dad4d2b",position:"top",active:this.hasFocus,part:"tip-top"},this.isDisabled()&&r("mds-input-tip-item",{key:"bb6e2430bc3613deaa3143dd5d30213d199b2e3f",expanded:!0,variant:"disabled"}),this.required&&r("mds-input-tip-item",{key:"4304f852a0a35478c1149095d1b18dd45dc968f6",expanded:this.hasFocus,variant:""===(null!==(t=this.value)&&void 0!==t?t:"")?"required":"required-success"})))}static get formAssociated(){return!0}get host(){return e(this)}static get watchers(){return{value:[{valueChanged:0}],required:[{requiredChanged:0}],name:[{nameChanged:0}],disabled:[{disabledChanged:0}],placeholder:[{placeholderChanged:0}]}}};l.style='@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-input-tip,mds-input-tip-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-input-select-variant-color-rgb:var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)));--mds-input-select-ring:0 0 0 1px rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.1);--mds-input-select-shadow:0 1px 3px 0 rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.1),0 1px 2px 0 rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.06);--mds-input-select-arrow-icon-background-color:var(--mds-input-select-arrow-icon-blur-background-color,#0000);--mds-input-select-arrow-icon-blur-background-color:rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/0);--mds-input-select-arrow-icon-blur-color:rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.5);--mds-input-select-arrow-icon-color:var(--mds-input-select-arrow-icon-blur-color,rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)))));--mds-input-select-arrow-icon-hover-background-color:rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.5);--mds-input-select-arrow-icon-hover-color:rgb(var(--mds-input-select-variant-color-rgb,0 0 0));--mds-input-tip-horizontal-offset:calc(var(--spacing,.0025rem)*100);--mds-input-tip-horizontal-offset-focused:calc(var(--spacing,.0025rem)*1000);--mds-input-tip-vertical-offset:calc(var(--spacing,.0025rem)*100);--mds-input-tip-background:rgb(var(--magma-surface-inverse-muted,var(--magma-tint-scale-03,var(--tone-neutral-03,73 73 73))));--mds-input-select-transition-duration:var(--duration-300,.3s);--mds-input-select-icon-transition-duration:var(--duration-200,.2s);--private-input-select-transition-duration:var(--mds-input-select-transition-duration);--private-input-select-icon-transition-duration:var(--mds-input-select-icon-transition-duration);font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-detail,1rem);font-weight:var(--tw-font-weight,var(--text-size-info-detail--font-weight,400));line-height:var(--tw-leading,var(--text-size-info-detail--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));display:flex;position:relative;-webkit-user-select:none;user-select:none;--mds-input-select-variant-color-rgb:0 0 0;--mds-input-select-arrow-icon-blur-background-color:#0000;--mds-input-select-arrow-icon-hover-background-color:#0000;--mds-input-select-arrow-icon-blur-color:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-input-select-arrow-icon-hover-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))))}:host([required]:not([required=false]):focus-within) .icon{-webkit-transform:translate(calc(var(--spacing,.0025rem)*150),calc(var(--spacing,.0025rem)*150));transform:translate(calc(var(--spacing,.0025rem)*150),calc(var(--spacing,.0025rem)*150))}:host(:focus-within),:host(:hover){--mds-input-select-variant-color-rgb:var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204)));--mds-input-select-ring:0 0 0 3px rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/1);--mds-input-select-shadow:0 4px 6px -1px rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.1),0 2px 4px -1px rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.06);--mds-input-select-arrow-icon-background-color:var(--mds-input-select-arrow-icon-hover-background-color,#0000);--mds-input-select-arrow-icon-color:var(--mds-input-select-arrow-icon-hover-color,rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204)))));--mds-input-select-variant-color-rgb:var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)))}.input{font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-detail,1rem);font-weight:var(--tw-font-weight,var(--text-size-info-detail--font-weight,400));line-height:var(--tw-leading,var(--text-size-info-detail--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;appearance:none;background-color:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255))));border:0;border-radius:var(--radius-xs,8px);-webkit-box-shadow:var(--mds-input-select-ring),var(--mds-input-select-shadow);box-shadow:var(--mds-input-select-ring),var(--mds-input-select-shadow);box-sizing:border-box;color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));cursor:pointer;margin:0;min-height:calc(var(--spacing,.0025rem)*1200);overflow:hidden;padding-left:calc(var(--spacing,.0025rem)*400);padding-right:calc(var(--spacing,.0025rem)*1200);text-overflow:ellipsis;transition-property:background-color,border-color,box-shadow,color,fill;width:100%}.input,.input:focus,.input:hover{-webkit-transition-duration:var(--private-input-select-transition-duration);transition-duration:var(--private-input-select-transition-duration);-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.input:focus,.input:hover{--tw-outline-style:none;color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));outline-style:none}:host([value]:not([value=""])) .input{color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))))}:host([required]:not([required=false])) .input{color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))))}.input:disabled{background-color:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));opacity:1}:host([disabled]:not([disabled=false])),:host([disabled]:not([disabled=false])) .input{pointer-events:none}:host([disabled]:not([disabled=false])) .icon{fill:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));-webkit-transform:translate(calc(var(--spacing,.0025rem)*250),calc(var(--spacing,.0025rem)*200));transform:translate(calc(var(--spacing,.0025rem)*250),calc(var(--spacing,.0025rem)*200))}.icon-container{align-items:center;color:inherit;display:flex;height:calc(var(--spacing,.0025rem)*1200);pointer-events:none;position:absolute;right:calc(var(--spacing,.0025rem)*400)}.icon{background-color:var(--mds-input-select-arrow-icon-background-color,#0000);border-radius:var(--radius-full,1000px);display:flex;fill:var(--mds-input-select-arrow-icon-color,rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)))));-webkit-transition-duration:var(--private-input-select-icon-transition-duration);transition-duration:var(--private-input-select-icon-transition-duration);transition-property:background-color,fill}.icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}.option-container{display:none}mds-input-tip{--mds-input-tip-horizontal-offset:inherit;--mds-input-tip-horizontal-offset-focused:inherit;--mds-input-tip-vertical-offset:inherit;--mds-input-tip-background:inherit}@container (max-width:210px){:host .tip__content,:host(:focus-within) .tip__content{grid-template-columns:0fr;opacity:0}:host .tip{padding-left:0;padding-right:0}}:host([variant=info]){--mds-input-tip-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-select-arrow-icon-blur-background-color:#0000;--mds-input-select-arrow-icon-hover-background-color:#0000;--mds-input-select-arrow-icon-blur-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-select-arrow-icon-hover-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-select-variant-color-rgb:0 0 0}:host([variant=info]:focus-within),:host([variant=info]:hover){--mds-input-select-variant-color-rgb:var(--magma-info-emphasis,var(--status-info-04,0 119 164))}:host([variant=success]){--mds-input-tip-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-select-arrow-icon-blur-background-color:#0000;--mds-input-select-arrow-icon-hover-background-color:#0000;--mds-input-select-arrow-icon-blur-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-select-arrow-icon-hover-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-select-variant-color-rgb:0 0 0}:host([variant=success]:focus-within),:host([variant=success]:hover){--mds-input-select-variant-color-rgb:var(--magma-success-emphasis,var(--status-success-04,0 128 57))}:host([variant=warning]){--mds-input-tip-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-select-arrow-icon-blur-background-color:#0000;--mds-input-select-arrow-icon-hover-background-color:#0000;--mds-input-select-arrow-icon-blur-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-select-arrow-icon-hover-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-select-variant-color-rgb:0 0 0}:host([variant=warning]:focus-within),:host([variant=warning]:hover){--mds-input-select-variant-color-rgb:var(--magma-warning-emphasis,var(--status-warning-04,142 106 0))}:host([variant=error]){--mds-input-tip-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-select-arrow-icon-blur-background-color:#0000;--mds-input-select-arrow-icon-hover-background-color:#0000;--mds-input-select-arrow-icon-blur-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-select-arrow-icon-hover-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-select-variant-color-rgb:0 0 0}:host([variant=error]:focus-within),:host([variant=error]:hover){--mds-input-select-variant-color-rgb:var(--magma-danger-emphasis,var(--status-error-04,196 64 65))}: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-input-select-transition-duration:0s;--private-input-select-icon-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-input-select-ring:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .input{color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))))}:host([pref-contrast=more]){--mds-input-select-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}:host([pref-contrast=more]) .input{color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}@media (forced-colors:active){.input:focus,.input:hover{outline:2px solid #0000;outline-offset:2px}}@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-input-select-transition-duration:0s;--private-input-select-icon-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-input-select-ring:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))) .input{color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-input-select-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .input{color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}';export{l as mds_input_select}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,d as a,h as e,e as i,g as s}from"./p-BxPbQB28.js";import{s as r}from"./p-CSCy6TMW.js";import{s as n}from"./p-wI0alRSO.js";import{m as o}from"./p-BVQMG7KJ.js";import{D as d}from"./p-BJtA1qmE.js";import{c as h}from"./p-ChV9xqsO.js";import{L as l}from"./p-Kv1yahtR.js";import{p as m}from"./p-7-TP6wnI.js";var c={endDate:"Ημερομηνία λήξης",from:"Από",startDate:"Ημερομηνία έναρξης",to:"έως"},u={endDate:"End date",from:"From",startDate:"Start date",to:"to"},g={endDate:"Fecha de fin",from:"De",startDate:"Fecha de inicio",to:"a"},p={endDate:"Data di fine",from:"Dal",startDate:"Data di inizio",to:"al"};const v=class{constructor(e){t(this,e),this.valueChanged=a(this,"mdsInputDateRangeValueChange",7),e.$hostElement$["s-ei"]?this.internals=e.$hostElement$["s-ei"]:(this.internals=e.$hostElement$.attachInternals(),e.$hostElement$["s-ei"]=this.internals),this.calendarKey=0,this.internalStartDate="",this.internalEndDate="",this.visibleCalendarDate="",this.hasPreselection=!1,this.formDisabled=!1,this.t=new l({el:c,en:u,es:g,it:p}),this.startDate="",this.endDate="",this.min=null,this.max=null,this.delay=500,this.hideToday=!1,this.dualCalendar=!1,this.disabled=!1,this.lastEmittedStartDate=null,this.lastEmittedEndDate=null,this.initialStartDate="",this.initialEndDate="",this.hoveredCalendarDate=null,this.syncingInputSlots=new Set,this.handleFocusOut=t=>{if(!this.host.contains(t.relatedTarget)){const t=d.fromISO(this.internalStartDate).isValid,a=d.fromISO(this.internalEndDate).isValid;t&&a&&(this.validateDateRange(),this.syncFormValue(),this.checkPreselections(),this.emitValueChanged())}},this.focusInput=t=>{t.focusInput()},this.focusDateInput=t=>{t.target===this.host&&this.focusStartDateInput(t)},this.focusStartDateInput=t=>{t.preventDefault(),t.stopPropagation(),this.focusInput(this.host.querySelector('mds-input-date[slot="start"]'))},this.focusEndDateInput=t=>{t.preventDefault(),t.stopPropagation(),this.focusInput(this.host.querySelector('mds-input-date[slot="end"]'))},this.nameSlottedFields=()=>{[["start",this.t.get("startDate")],["end",this.t.get("endDate")]].forEach((([t,a])=>{var e;const i=this.host.querySelector(`[slot="${t}"]`);null!==i&&r(i,"aria-label",""!==(null!==(e=this.accessibleName)&&void 0!==e?e:"")?`${this.accessibleName}, ${a}`:a)}))},this.isDisabled=()=>!!this.disabled||this.formDisabled,this.handleCalendarHover=t=>{if(""===this.internalStartDate||""!==this.internalEndDate)return void this.clearHoverPreview();const a=t.detail.hoverDate;this.hoveredCalendarDate!==a&&(this.hoveredCalendarDate=a,this.syncCalendarsHoverAttributes())},this.handleCalendarChange=t=>{this.clearHoverPreview(),this.internalStartDate=t.detail.startDate,this.updateInputValue("start",this.internalStartDate),void 0!==t.detail.endDate&&""!==t.detail.endDate?(this.internalEndDate=t.detail.endDate,this.updateInputValue("end",this.internalEndDate)):(this.internalEndDate="",this.updateInputValue("end",this.internalEndDate)),this.syncFormValue(),this.syncCalendarsSelectionAttributes(),""!==this.internalStartDate&&""!==this.internalEndDate&&(this.emitValueChanged(),this.closeDropdownAfterSelection())},this.handleCalendarNavigate=t=>{if(!this.dualCalendar)return;const a=this.getCalendars().indexOf(t.target),e=d.fromISO(t.detail.currentDate);e.isValid&&(this.visibleCalendarDate=e.minus({months:1===a?1:0}).startOf("month").toISODate())},this.handleCalendarPreselect=()=>{this.checkPreselections()},this.handleOpenCalendarClick=()=>{this.calendarKey+=1}}getCalendars(){var t,a;return Array.from(null!==(a=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelectorAll("mds-calendar"))&&void 0!==a?a:[])}resolveVisibleCalendarDate(t,a){var e;return(null!==(e=[t,a].map((t=>d.fromISO(null!=t?t:""))).filter((t=>t.isValid))[0])&&void 0!==e?e:d.now()).startOf("month").toISODate()}getCalendarViewDate(t=0){const a=d.fromISO(this.visibleCalendarDate),e=d.fromISO(this.internalStartDate);let i=d.now();return a.isValid?i=a:e.isValid&&(i=e),i.startOf("month").plus({months:t}).toISODate()}setVisibleCalendarDate(t){const a=d.fromISO(t);a.isValid&&(this.visibleCalendarDate=a.startOf("month").toISODate())}closeDropdownAfterSelection(){if(0===this.delay)return;const{dropdownRef:t}=this;t&&setTimeout((()=>{t.visible=!1}),this.delay)}syncCalendarsSelectionAttributes(){var t;null===(t=this.host.shadowRoot)||void 0===t||t.querySelectorAll("mds-calendar").forEach((t=>{""!==this.internalStartDate?t.setAttribute("start-date",this.internalStartDate):t.removeAttribute("start-date"),""!==this.internalEndDate?t.setAttribute("end-date",this.internalEndDate):t.removeAttribute("end-date")})),this.syncCalendarsHoverAttributes()}syncCalendarsHoverAttributes(){var t;null===(t=this.host.shadowRoot)||void 0===t||t.querySelectorAll("mds-calendar").forEach((t=>{null!==this.hoveredCalendarDate&&""!==this.hoveredCalendarDate?t.setAttribute("hover-date",this.hoveredCalendarDate):t.removeAttribute("hover-date")}))}clearHoverPreview(){null!==this.hoveredCalendarDate&&(this.hoveredCalendarDate=null,this.syncCalendarsHoverAttributes())}isWithinRange(t){var a,e;const i=d.fromISO(null!==(a=this.min)&&void 0!==a?a:""),s=d.fromISO(null!==(e=this.max)&&void 0!==e?e:"");return!(i.isValid&&t<i||s.isValid&&t>s)}getEmittableDateRangeDetail(){const t=d.fromISO(this.internalStartDate),a=d.fromISO(this.internalEndDate);return t.isValid&&a.isValid&&this.isWithinRange(t)&&this.isWithinRange(a)?{startDate:this.internalStartDate,endDate:this.internalEndDate}:null}emitValueChanged(){const t=this.getEmittableDateRangeDetail();return!(!t||t.startDate===this.lastEmittedStartDate&&t.endDate===this.lastEmittedEndDate||(this.valueChanged.emit(t),this.lastEmittedStartDate=t.startDate,this.lastEmittedEndDate=t.endDate,0))}handleStartDateChange(t){this.syncExternalDate("start",t)}handleEndDateChange(t){this.syncExternalDate("end",t)}handleRangeChange(){this.forwardRange(!0)}handleDisabledChange(){this.forwardDisabled(!0)}forwardRange(t){["start","end"].forEach((a=>{var e,i;const s=this.slottedField(a);null!=s&&((t||""!==(null!==(e=this.min)&&void 0!==e?e:""))&&(s.min=this.min),(t||""!==(null!==(i=this.max)&&void 0!==i?i:""))&&(s.max=this.max))}))}forwardDisabled(t){["start","end"].forEach((a=>{const e=this.slottedField(a);null!=e&&(t||this.disabled)&&(e.disabled=!!this.disabled)}))}slottedField(t){var a;const e=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector(`slot[name="${t}"]`);return null==e?void 0:e.assignedElements()[0]}componentWillLoad(){var t,a;if(this.internalStartDate=null!==(t=this.startDate)&&void 0!==t?t:"",this.internalEndDate=null!==(a=this.endDate)&&void 0!==a?a:"",this.initialStartDate=this.internalStartDate,this.initialEndDate=this.internalEndDate,this.visibleCalendarDate=this.resolveVisibleCalendarDate(this.internalStartDate,this.internalEndDate),null!==this.min&&""!==this.min&&null!==this.max&&""!==this.max){const t=d.fromISO(this.min);d.fromISO(this.max)<t&&(this.max=this.min)}this.syncFormValue()}disconnectedCallback(){var t;this.host.removeEventListener("focusout",this.handleFocusOut),null===(t=this.host.shadowRoot)||void 0===t||t.removeEventListener("mdsCalendarHover",this.handleCalendarHover)}async preselect(t){null==this.togglePreselection&&(this.togglePreselection=Array.from(this.host.querySelectorAll("mds-input-date-range-preselection"))),this.togglePreselection.forEach((t=>{t.selected=!1})),t.caller.selected=!0,this.clearHoverPreview(),d.fromISO(t.start).isValid&&(this.internalStartDate=t.start,this.setVisibleCalendarDate(this.internalStartDate),this.updateInputValue("start",this.internalStartDate)),void 0!==t.end?d.fromISO(t.end).isValid&&(this.internalEndDate=t.end):this.internalEndDate=t.start,this.validateDateRange(),this.updateInputValue("end",this.internalEndDate),this.syncFormValue();const a=this.getCalendars();return 0!==a.length&&(await Promise.all(a.map(((t,a)=>t.updateCurrentDate(this.getCalendarViewDate(a))))),this.closeDropdownAfterSelection()),this.emitValueChanged(),Promise.resolve()}componentDidLoad(){var t;this.nameSlottedFields(),this.forwardRange(!1),this.forwardDisabled(!1),this.updateInputListeners(),this.updateInputValue("start",this.internalStartDate),this.updateInputValue("end",this.internalEndDate),this.checkPreselections(),this.syncFormValue(),this.host.addEventListener("focusout",this.handleFocusOut),null===(t=this.host.shadowRoot)||void 0===t||t.addEventListener("mdsCalendarHover",this.handleCalendarHover)}formDisabledCallback(t){this.formDisabled=t,t&&this.dropdownRef&&(this.dropdownRef.visible=!1)}formResetCallback(){this.clearHoverPreview(),this.internalStartDate=this.initialStartDate,this.internalEndDate=this.initialEndDate,this.visibleCalendarDate=this.resolveVisibleCalendarDate(this.initialStartDate,this.initialEndDate),this.updateInputValue("start",this.internalStartDate),this.updateInputValue("end",this.internalEndDate),this.checkPreselections(),this.syncFormValue()}syncExternalDate(t,a){const e=null!=a?a:"";if(this.clearHoverPreview(),"start"===t){if(e===this.internalStartDate)return;this.internalStartDate=e,this.setVisibleCalendarDate(this.internalStartDate)}else{if(e===this.internalEndDate)return;this.internalEndDate=e}this.validateDateRange(),this.updateInputValue("start",this.internalStartDate),this.updateInputValue("end",this.internalEndDate),this.checkPreselections(),this.syncFormValue()}updateInputValue(t,a){const e=this.slottedField(t);null!=e&&(this.syncingInputSlots.add(t),e.setValue(a).finally((()=>{requestAnimationFrame((()=>{this.syncingInputSlots.delete(t)}))})))}updateInputListeners(){var t,a;const e=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector('slot[name="start"]'),i=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector('slot[name="end"]');this.hasPreselection=null!==this.host.querySelector("mds-input-date-range-preselection");const s=null==e?void 0:e.assignedElements()[0];null!=s&&s.addEventListener("mdsInputDateSelect",this.createFocusoutListener("start"));const r=null==i?void 0:i.assignedElements()[0];null!=r&&r.addEventListener("mdsInputDateSelect",this.createFocusoutListener("end"))}createFocusoutListener(t){return a=>{if(this.syncingInputSlots.has(t))return;const e=a;this.clearHoverPreview(),"start"===t?(this.internalStartDate=e.detail,this.setVisibleCalendarDate(this.internalStartDate)):this.internalEndDate=e.detail,this.syncFormValue()}}validateDateRange(){if(""!==this.internalStartDate&&""!==this.internalEndDate){const t=d.fromISO(this.internalStartDate);d.fromISO(this.internalEndDate)<t&&(this.internalEndDate=this.internalStartDate,this.updateInputValue("end",this.internalEndDate))}}checkPreselections(){const t=Array.from(this.host.querySelectorAll("mds-input-date-range-preselection"));null!=t&&t.forEach((t=>{t.selected=!!(t.start===this.internalStartDate&&t.end===this.internalEndDate||t.start===this.internalStartDate&&this.internalStartDate===this.internalEndDate&&void 0===t.end)}))}renderCalendarPreselectionPanel(){return this.hasPreselection?e("div",{class:"calendar-preselection-panel"},e("div",{class:h("date-preselection",this.hasPreselection&&"date-preselection--has-preselection")},e("slot",{name:"calendar-preselection"}))):null}renderSingleCalendar(){return e("div",{class:"calendar-single"},this.renderCalendarPreselectionPanel(),e("mds-calendar",Object.assign({key:this.calendarKey,hideToday:this.hideToday,onMdsCalendarChange:this.handleCalendarChange,onMdsCalendarPreselect:this.handleCalendarPreselect,startDate:this.internalStartDate,endDate:this.internalEndDate},null!==this.min&&""!==this.min?{min:this.min}:{},null!==this.max&&""!==this.max?{max:this.max}:{})))}renderDualCalendars(){return e("div",{class:"calendars"},this.renderCalendarPreselectionPanel(),e("mds-calendar",Object.assign({key:`${this.calendarKey}-start`,hideToday:this.hideToday,hideNextButton:!0,disableMonthYearSelection:!0,viewDate:this.getCalendarViewDate(),onMdsCalendarNavigate:this.handleCalendarNavigate,onMdsCalendarChange:this.handleCalendarChange,onMdsCalendarPreselect:this.handleCalendarPreselect,startDate:this.internalStartDate,endDate:this.internalEndDate},null!==this.min&&""!==this.min?{min:this.min}:{},null!==this.max&&""!==this.max?{max:this.max}:{})),e("mds-calendar",Object.assign({key:`${this.calendarKey}-end`,hideToday:this.hideToday,hidePreviousButton:!0,disableMonthYearSelection:!0,viewDate:this.getCalendarViewDate(1),onMdsCalendarNavigate:this.handleCalendarNavigate,onMdsCalendarChange:this.handleCalendarChange,onMdsCalendarPreselect:this.handleCalendarPreselect,startDate:this.internalStartDate,endDate:this.internalEndDate},null!==this.min&&""!==this.min?{min:this.min}:{},null!==this.max&&""!==this.max?{max:this.max}:{})))}render(){return e(i,{key:"a4e8ec428307b1f97e36c7bb9043161492402c55",onClick:this.focusDateInput,"pref-animation":m.state.animation,"pref-contrast":m.state.contrast,"pref-mode":m.state.mode,"pref-theme-scheme":m.state["theme-scheme"]},e("div",{key:"b268dca893e7aed56b485ab2d4aac7da87cd2281",class:"inputs"},e("div",{key:"956cd85c968e0b390643e7faba8dbdb129c8f7ca",class:"input-element"},e("mds-text",{key:"c87e22b6dca6c6128d01cfa0344650839727b457",class:"date-label",typography:"detail",onClick:this.focusStartDateInput},this.t.get("from")),e("div",{key:"ee0e90044817fab1ea582e8a21bcb886771f5e28",class:"input-wrapper"},e("slot",{key:"85362085edd727aca5c20e969294c8d3e79f2c8a",name:"start"}))),e("div",{key:"e3839ed897233bf7a3f10f37304abc636bb9f595",class:"input-element"},e("mds-text",{key:"674476a4fcb3c532f4b06f55518d01405e1ade51",class:"date-label",typography:"detail",onClick:this.focusEndDateInput},this.t.get("to")),e("div",{key:"f50b01476fa382d240b620e1036c05f7726f12b5",class:"input-wrapper"},e("slot",{key:"f114e11c0715a6257374d40a16c2f8ab74ca68a2",name:"end"})))),e("div",{key:"641ea2c039b9c275b0bcf37237fab78d17f9f0b2",class:"action-open-calendar-wrapper"},e("mds-button",{key:"d24d7b2d4b0ba45e87388208499181031785ceb3",class:"action-open-calendar",disabled:this.isDisabled(),variant:"dark",tone:"text",icon:o,id:"calendar-dropdown",onClick:this.handleOpenCalendarClick})),e("mds-dropdown",{key:"74b9b52ea2c08752de62593cc7d92db3552502ed",ref:t=>this.dropdownRef=t,target:"#calendar-dropdown","disable-auto-placement":!0,placement:"bottom-end",role:"group"},this.dualCalendar?this.renderDualCalendars():this.renderSingleCalendar()))}syncFormValue(){var t,a,e,i;const s=null!==(a=null===(t=this.internalStartDate)||void 0===t?void 0:t.trim())&&void 0!==a?a:"",r=null!==(i=null===(e=this.internalEndDate)||void 0===e?void 0:e.trim())&&void 0!==i?i:"";n(this.internals,""!==s||""!==r?JSON.stringify({startDate:s,endDate:r}):null)}static get formAssociated(){return!0}get host(){return s(this)}static get watchers(){return{startDate:[{handleStartDateChange:0}],endDate:[{handleEndDateChange:0}],min:[{handleRangeChange:0}],max:[{handleRangeChange:0}],disabled:[{handleDisabledChange:0}]}}};v.style='@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-calendar,mds-dropdown,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-input-date-range-background:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255))));--mds-input-date-range-calendar-width:22rem;--mds-input-date-range-fields-firefox-justify-content:start;--mds-input-date-range-fields-gap:0 calc(var(--spacing,.0025rem)*200);--mds-input-date-range-icon-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))));--mds-input-date-range-ring:0 0 0 1px rgb(var(--mds-input-date-range-variant-color-rgb,0 0 0)/.1);--mds-input-date-range-shadow:0 1px 3px 0 rgb(var(--mds-input-date-range-variant-color-rgb,0 0 0)/.1),0 1px 2px 0 rgb(var(--mds-input-date-range-variant-color-rgb,0 0 0)/.06);--mds-input-date-range-transition-duration:var(--duration-300,.3s);--private-input-date-range-transition-duration:var(--mds-input-date-range-transition-duration);font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-detail,1rem);font-weight:var(--tw-font-weight,var(--text-size-info-detail--font-weight,400));line-height:var(--tw-leading,var(--text-size-info-detail--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));corner-shape:var(--magma-corner-shape,squircle);container-type:inline-size;cursor:text;display:flex;gap:calc(var(--spacing,.0025rem)*200);overflow:visible;position:relative;--mds-input-date-range-icon-color:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-input-date-range-variant-color-rgb:0 0 0}.date-preselection{display:grid;gap:calc(var(--spacing,.0025rem)*200)}.inputs{font-family:var(--font-code,"Roboto Mono","Courier New",monospace);font-size:var(--text-size-code-hack,.875rem);font-weight:var(--tw-font-weight,var(--text-size-code-hack--font-weight,400));line-height:var(--tw-leading,var(--text-size-code-hack--line-height,1.25rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--mds-input-date-range-background,rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255)))));border-radius:inherit;-webkit-box-shadow:var(--mds-input-date-range-ring),var(--mds-input-date-range-shadow);box-shadow:var(--mds-input-date-range-ring),var(--mds-input-date-range-shadow);box-sizing:border-box;color:inherit;corner-shape:inherit;align-items:center;border:0;display:inline-flex;flex-wrap:wrap;gap:var(--mds-input-date-range-fields-gap,0 calc(var(--spacing,.0025rem)*200));margin:0;min-height:3rem;overflow:hidden;padding-left:calc(var(--spacing,.0025rem)*400);padding-right:calc(var(--spacing,.0025rem)*1200);text-overflow:ellipsis;-webkit-transition-duration:var(--private-input-date-range-transition-duration);transition-duration:var(--private-input-date-range-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,margin,opacity,padding,transform;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:100%}.input-element{align-items:baseline;display:inline-flex}:host(:focus-within) .inputs{--tw-outline-style:none;outline-style:none;transition-duration:var(--default-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,width;transition-timing-function:var(--default-transition-timing-function);--mds-input-date-range-ring:0 0 0 3px rgb(var(--mds-input-date-range-variant-color-rgb,0 0 0)/1);--mds-input-date-range-shadow:0 4px 6px 3px rgb(var(--mds-input-date-range-variant-color-rgb,0 0 0)/.1),0 2px 4px -1px rgb(var(--mds-input-date-range-variant-color-rgb,0 0 0)/.06);-webkit-transition-duration:var(--duration-300,.3s);transition-duration:var(--duration-300,.3s);-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.input-wrapper{display:flex;flex-shrink:0}:host ::slotted(mds-input-date){color:inherit}.date-label{margin-left:calc(var(--spacing,.0025rem)*50);margin-right:calc(var(--spacing,.0025rem)*50);min-width:min-content;white-space:nowrap}.date-label:first-child{margin-left:0}.calendars{display:flex;flex-wrap:nowrap;gap:calc(var(--spacing,.0025rem)*200);min-width:max-content}.calendar-preselection-panel{align-content:start;background-color:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));box-sizing:border-box;display:grid;min-inline-size:max-content;padding:calc(var(--spacing,.0025rem)*400)}.calendar-single{display:flex;flex-wrap:nowrap;gap:calc(var(--spacing,.0025rem)*200);min-width:max-content}:is(.calendar-single,.calendars) mds-calendar{-ms-flex:0 0 var(--mds-input-date-range-calendar-width,22rem);flex:0 0 var(--mds-input-date-range-calendar-width,22rem);inline-size:var(--mds-input-date-range-calendar-width,22rem);max-inline-size:var(--mds-input-date-range-calendar-width,22rem);min-inline-size:var(--mds-input-date-range-calendar-width,22rem)}.action-open-calendar-wrapper{align-items:center;aspect-ratio:1;bottom:0;display:flex;justify-content:center;position:absolute;right:0;top:0}.action-open-calendar{--mds-button-color:var(--mds-input-date-range-icon-color,rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)))));align-self:center}mds-dropdown{padding:0}:host(:disabled:not([disabled=false])),:host([disabled]:not([disabled=false])){color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));cursor:default}:host(:disabled:not([disabled=false])) .inputs,:host([disabled]:not([disabled=false])) .inputs{background-color:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))))}: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-input-date-range-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-input-date-range-ring:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .counter-button:hover{--mds-button-background:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))))}:host([pref-contrast=more]){--mds-input-date-range-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6));--mds-input-date-range-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))))}:host([pref-contrast=more]) .input::placeholder{color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))))}:host([pref-contrast=more]) .input:-ms-placeholder-shown{color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))))}@supports ((-moz-appearance:none)){.action-open-calendar{display:none}.inputs{-ms-flex-pack:var(--mds-input-date-range-fields-firefox-justify-content,start);justify-content:var(--mds-input-date-range-fields-firefox-justify-content,start);padding-right:calc(var(--spacing,.0025rem)*400)}}:host(:focus-within){--mds-input-date-range-icon-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))));--mds-input-date-range-variant-color-rgb:var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)))}:host([variant=ai]){--mds-input-date-range-icon-color:rgb(var(--magma-accent-ai-emphasis,var(--magma-tint-accent-ai-emphasis,var(--variant-ai-04,126 73 245))));--mds-input-tip-background:rgb(var(--magma-accent-ai-fg,var(--magma-tint-accent-ai-fg,var(--variant-ai-03,87 20 242))));--mds-input-date-range-variant-color-rgb:0 0 0}:host([variant=ai]:focus-within){--mds-input-date-range-icon-color:rgb(var(--magma-accent-ai-fg,var(--magma-tint-accent-ai-fg,var(--variant-ai-03,87 20 242))));--mds-input-date-range-variant-color-rgb:var(--magma-accent-ai-emphasis,var(--magma-tint-accent-ai-emphasis,var(--variant-ai-04,126 73 245)))}:host([variant=info]){--mds-input-date-range-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-tip-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-date-range-variant-color-rgb:0 0 0}:host([variant=info]:focus-within){--mds-input-date-range-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-date-range-variant-color-rgb:var(--magma-info-emphasis,var(--status-info-04,0 119 164))}:host([variant=success]){--mds-input-date-range-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-tip-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-date-range-variant-color-rgb:0 0 0}:host([variant=success]:focus-within){--mds-input-date-range-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-date-range-variant-color-rgb:var(--magma-success-emphasis,var(--status-success-04,0 128 57))}:host([variant=warning]){--mds-input-date-range-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-tip-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-date-range-variant-color-rgb:0 0 0}:host([variant=warning]:focus-within){--mds-input-date-range-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-date-range-variant-color-rgb:var(--magma-warning-emphasis,var(--status-warning-04,142 106 0))}:host([variant=error]){--mds-input-date-range-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-tip-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-date-range-variant-color-rgb:0 0 0}:host([variant=error]:focus-within){--mds-input-date-range-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-date-range-variant-color-rgb:var(--magma-danger-emphasis,var(--status-error-04,196 64 65))}@media (forced-colors:active){:host(:focus-within) .inputs{outline:2px solid #0000;outline-offset:2px}}@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-input-date-range-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-input-date-range-ring:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))) .counter-button:hover{--mds-button-background:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-input-date-range-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6));--mds-input-date-range-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .input::-webkit-input-placeholder{color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .input:-ms-placeholder-shown{color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .input::placeholder{color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))))}}';export{v as mds_input_date_range}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as t,e as a}from"./p-BxPbQB28.js";import{p as r}from"./p-7-TP6wnI.js";const i=class{constructor(t){e(this,t)}render(){return t(a,{key:"d70c4af7518a4280b71393333027f3e067019b60","pref-animation":r.state.animation,"pref-contrast":r.state.contrast,"pref-mode":r.state.mode,"pref-theme-scheme":r.state["theme-scheme"]},t("div",{key:"87bfba63057a0aeacb866b4bfa497b7ec488d55e",class:"table-wrapper"},this.label&&t("header",{key:"56de561592a74bcb1527f597e82e6490850f548d",part:"header"},t("mds-text",{key:"95d9b062f696eb256b977285bb0323a7ae24b025",typography:"detail"},t("b",{key:"85df0236c37b1964cc27fcad7309fe71364ad0c0"},this.label))),t("table",{key:"481d988c1ed0cfc67a26bc10f291bb3db44ee774"},t("tbody",{key:"f793c21d2d3e833d893defb8edb39c4623128387"},t("slot",{key:"00a86da6bf07888f31f3a2e1df0fa85bdb99eae9"})))))}};i.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{--mds-price-table-features-border-color:rgb(var(--magma-border-muted,var(--magma-tint-border-muted,var(--border-neutral-muted,219 219 219))));--mds-price-table-features-padding:calc(var(--spacing,.0025rem)*300);--mds-price-table-features-transition-duration:var(--duration-200,.2s);--private-price-table-features-transition-duration:var(--mds-price-table-features-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));display:flex;-webkit-transition-duration:var(--private-price-table-features-transition-duration);transition-duration:var(--private-price-table-features-transition-duration);transition-property:border-color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));width:100%}.table-wrapper{scroll-margin-inline:calc(var(--spacing,.0025rem)*600);width:100%}table{border-collapse:collapse;min-width:100%;table-layout:fixed}header{border-bottom:1px solid var(--mds-price-table-features-border-color,rgb(var(--magma-border-muted,var(--magma-tint-border-muted,var(--border-neutral-muted,219 219 219)))));padding:var(--mds-price-table-features-padding) var(--mds-price-table-features-padding) var(--mds-price-table-features-padding) 0}: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-transition-duration:0s}:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --tw-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-transition-duration:0s}}';export{i as mds_price_table_features}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
System.register(["./p-DaONbL_w.system.js","./p-RJ5ZA1kY.system.js","./p-Qrub-hmK.system.js"],(function(e){"use strict";var a,i,t,o,n,s;return{setters:[function(e){a=e.r;i=e.h;t=e.e;o=e.g},function(e){n=e.h},function(e){s=e.c}],execute:function(){var A=function(){return"@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-video-wall-noise-background-color:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204)))/.8);--mds-video-wall-noise-background-size:auto;--mds-video-wall-noise-filter:none;--mds-video-wall-video-fit:cover;aspect-ratio:var(--aspect-video,16/9);background-color:rgb(var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42))));display:flex;position:relative}.content{align-items:center;display:flex;height:100%;justify-content:center;position:relative;width:100%;z-index:3}.content--hidden{display:none}.noise,video{height:100%;inset:0;position:absolute;width:100%}video{-o-object-fit:var(--mds-video-wall-video-fit,cover);object-fit:var(--mds-video-wall-video-fit,cover);z-index:1}.noise{background-color:var(--mds-video-wall-noise-background-color,rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204)))/.8));background-size:var(--mds-video-wall-noise-background-size,auto);filter:var(--mds-video-wall-noise-filter);z-index:2}.noise--classic{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAALElEQVQYV2NkwAEYoeIzGRgYtjAwMGxmYGAAs2ESvlBBkDowGyaBYSDpRgEAkLwKoa+v7O8AAAAASUVORK5CYII=)}.noise--sharp{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAOklEQVQoU2NkYGAwZoCAs2hssCAjNkFkMZACGMBqEswErMaDTEJWgNUkmBU4HYpNAYpJyI4ESWCYBAAe2A7Vb66lfAAAAABJRU5ErkJggg==)}.noise--soft{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAYAAAD+Bd/7AAAAOElEQVQYV2NkYGAwZoCA51BaEpnPiKTgLFQCpgHMR1aA0wQpbEYzMDCArQKZAAMoRsOsBinAawIAOXkJ1Ff0CjwAAAAASUVORK5CYII=)}.noise--tv{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMElEQVQYV2NkYGDwZcABGP8zKBuD5Bj/P4coEf0Kod8wSjH+Z5CVgki+RZc0HghJADPEICMR8Ep/AAAAAElFTkSuQmCC)}@media (prefers-reduced-motion:reduce){video{display:none}}"};var r=e("mds_video_wall",/** @class */function(){function e(e){var i=this;a(this,e);
|
|
2
|
+
/**
|
|
3
|
+
* Specifies that the video will start playing as soon as it is ready
|
|
4
|
+
*/this.autoplay=true;
|
|
5
|
+
/**
|
|
6
|
+
* Specifies that the video will start over again, every time it is finished
|
|
7
|
+
*/this.loop=true;
|
|
8
|
+
/**
|
|
9
|
+
* Specifies that the audio output of the video should be muted
|
|
10
|
+
*/this.muted=true;
|
|
11
|
+
/**
|
|
12
|
+
* Specifies if the video has a noise overlay effect
|
|
13
|
+
*/this.noise="none";
|
|
14
|
+
/**
|
|
15
|
+
* Specifies if and how the author thinks the video should be loaded when the page loads. Note: The preload attribute is ignored if autoplay is present
|
|
16
|
+
*/this.preload="auto";this.onContentSlotChange=function(){i.hasContent=n(i.hostElement,"content")}}e.prototype.componentWillLoad=function(){this.hasContent=n(this.hostElement,"content")};e.prototype.render=function(){return i(t,{key:"94928e6afc0142c8082518a25b2f594a05325ac2"},this.noise!=="none"&&i("div",{key:"e7a8161a371b621804bfac37d10ba4bf883ed3f8","aria-hidden":"true",class:s("noise","noise--".concat(this.noise))}),i("video",{key:"dd8e93a8571d735b0815074c5303d8b4ae2df0f5","aria-hidden":"true",autoplay:this.autoplay,loop:this.loop,muted:this.muted,poster:this.poster,preload:this.preload,src:this.src},i("slot",{key:"a40be3e398a343c0bfdeab3b434be926aa88db37"})),i("div",{key:"1c9b4531760bb68227dbaf1372d570baa56816b2",class:s("content",!this.hasContent&&"content--hidden")},i("slot",{key:"9d71e618a2662408f1dc48fc2191f187529f816b",name:"content",onSlotchange:this.onContentSlotChange})))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());r.style=A()}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,h as o,e as t,g as r}from"./p-BxPbQB28.js";import{m as s}from"./p-DnEUG7st.js";import{m as i}from"./p-Bd0uuNDE.js";import{c as l}from"./p-ChV9xqsO.js";import{a as n}from"./p-D8eZRaSQ.js";const c=class{constructor(o){a(this,o),this.hasCompatibility=!0,this.showForward=!0,this.showBack=!1,this.controls="desktop",this.navigation="position",this.snap="start",this.updateElements=()=>{var a,o;this.elements=null===(o=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelectorAll("slot")[0])||void 0===o?void 0:o.assignedNodes()},this.updateCSSCustomProps=()=>{if("undefined"==typeof window)return;const a=window.getComputedStyle(this.host);this.scrollGap=n(a.getPropertyValue("--mds-horizontal-scroll-gap"))},this.isInViewport=a=>{if(null==this.contents)return!1;const o=this.spacer.offsetWidth+this.scrollGap,t=a.getBoundingClientRect(),r=this.contents.getBoundingClientRect();return t.top>=0&&t.left>=o&&t.bottom<=r.height&&t.right<=r.width-2*o},this.checkNavigationButtons=()=>{if(null==this.elements)throw Error("No elements slotted to the component");this.showBack=!0,this.showForward=!0,this.elements.forEach(((a,o)=>{0===o&&this.isInViewport(a)&&(this.showBack=!1),this.elements.length-1===o&&this.isInViewport(a)&&(this.showForward=!1)}))},this.moveBack=()=>{if(null==this.elements)throw Error("No elements slotted to the component");let a,o,t=0;this.elements.forEach(((r,s)=>{this.isInViewport(r)&&(a||(t=s,a=r),o=r)})),this.elements.forEach(((r,s)=>{this.isInViewport(r)||s!==t-1||void 0===a||void 0===o||(this.contents.scrollLeft=this.contents.scrollLeft+r.offsetLeft-o.offsetLeft-a.offsetWidth-this.scrollGap)}))},this.moveForward=()=>{if(null==this.elements)throw Error("No elements slotted to the component");let a=!0;this.elements.forEach((o=>{this.isInViewport(o)||o.offsetLeft>this.contents.scrollLeft&&a&&(a=!1,this.lastElementOffsetLeft=o.offsetLeft,this.contents.scrollLeft=this.lastElementOffsetLeft)}))},this.translateNavigationDot=()=>{if(null==this.elements||null==this.contents||null==this.navigationDot||null==this.navigationDots)return void console.error("mds-horizontal-scroll.translateNavigationDot: One of the shadowRoot elements is missing.");const{scrollLeft:a,scrollWidth:o,offsetWidth:t}=this.contents,r=window.getComputedStyle(this.navigationDots),s=parseFloat(r.paddingLeft)||0,i=parseFloat(r.paddingRight)||0;0!==t&&0!==o?this.navigationDot.style.transform=`translateX(${a/(o-t)*(this.navigationDots.offsetWidth-s-i-this.navigationDot.offsetWidth)}px)`:console.error("mds-horizontal-scroll.translateNavigationDot: offsetWidth or scrollWidth is 0, impossible to calculate position")},this.updateNavigationDotSize=()=>{if(null==this.contents||null==this.navigationDot||null==this.navigationDots)return void console.error("mds-horizontal-scroll.updateNavigationDotSize: One of the shadowRoot elements is missing.");const{scrollWidth:a,offsetWidth:o}=this.contents,t=this.navigationDots.offsetWidth;this.navigationDot.style.width=a<=o?`${t}px`:o/a*t+"px"},this.addNavigationDots=()=>{var a,o;this.contents.removeEventListener("scroll",this.translateNavigationDot),this.navigationDot=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector(".dot"),this.navigationDots=null===(o=this.host.shadowRoot)||void 0===o?void 0:o.querySelector(".dot-navigation"),this.updateNavigationDotSize(),null!=this.navigationDot&&this.contents.addEventListener("scroll",this.translateNavigationDot)}}watchNavigation(a){"position"===a&&this.addNavigationDots()}componentWillLoad(){this.updateCSSCustomProps()}componentDidLoad(){var a,o;this.contents=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector(".contents"),this.spacer=null===(o=this.host.shadowRoot)||void 0===o?void 0:o.querySelector(".spacer"),"position"===this.navigation&&this.addNavigationDots(),window&&void 0!==window.onscrollend?this.contents.addEventListener("scrollend",this.checkNavigationButtons):void 0!==this.controls&&(this.controls=void 0)}disconnectedCallback(){this.contents.removeEventListener("scrollend",this.checkNavigationButtons),this.contents.removeEventListener("scroll",this.translateNavigationDot)}render(){return o(t,{key:"caa1dd792f58816dd8c146e0e0d922f31f580f44"},o("div",{key:"10014a42e23606f5032411defcae22b3afda99dd",class:"contents",part:"content"},o("div",{key:"ae6b5a71bbec1ba04dbb36299e24fd402360ae2d",class:"spacer"}),o("slot",{key:"3d0267992f33e4a550596320139e41b99150939a",onSlotchange:this.updateElements}),o("div",{key:"f28b6c3eac536834987dfd17e1d34c827714dcc2",class:"spacer"})),o("div",{key:"419441c61f6a1664b4cdbff1fc3c25987afbf573",class:"dot-navigation"},o("div",{key:"6f48a726a3b7ad24b298c201f8027cee2f0ce34f",class:"dot"})),this.controls&&"none"!==this.controls&&o("mds-button",{key:"4a919ee1739a29b3235fd810d1d6aa7fef1dcd7a",onClick:this.moveBack,size:"lg",class:l("navigation navigation--back",!this.showBack&&"navigation--disabled"),icon:s}),this.controls&&"none"!==this.controls&&o("mds-button",{key:"38bc0e527a7b6b435bb369e4ae404abab8b11c12",onClick:this.moveForward,size:"lg",class:l("navigation navigation--forward",!this.showForward&&"navigation--disabled"),icon:i}))}get host(){return r(this)}static get watchers(){return{navigation:[{watchNavigation:0}]}}};c.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-horizontal-scroll-behavior:smooth;--mds-horizontal-scroll-dots-gap:calc(var(--spacing,.0025rem)*100);--mds-horizontal-scroll-dot-size:calc(var(--spacing,.0025rem)*200);--mds-horizontal-scroll-dot-max-width:auto;--mds-horizontal-scroll-dot-background:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255))));--mds-horizontal-scroll-dot-area-background:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-horizontal-scroll-contents-padding:calc(var(--spacing,.0025rem)*600);--mds-horizontal-scroll-contents-scroll-padding:0 calc(var(--spacing,.0025rem)*600);--mds-horizontal-scroll-controls-margin:calc(var(--spacing,.0025rem)*1200);--mds-horizontal-scroll-gap:calc(var(--spacing,.0025rem)*600);--mds-horizontal-scroll-max-width:var(--breakpoint-wide,1280px);--mds-horizontal-scroll-scrollbar-margin:0;--mds-horizontal-scroll-scrollbar-radius:0;--mds-horizontal-scroll-scrollbar-size:calc(var(--spacing,.0025rem)*200);--mds-horizontal-scroll-scrollbar-thumb-background:rgb(var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42)))/.3);--mds-horizontal-scroll-scrollbar-track-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));--max-width:var(--mds-horizontal-scroll-max-width,var(--breakpoint-wide,1280px));--scroll-margin:calc(((100svw - var(--max-width)) / 2) + (var(--mds-horizontal-scroll-controls-margin,calc(var(--spacing,.0025rem) * 1200)) * 2));align-items:center;container:mds-horizontal-scroll/inline-size;display:flex;flex-direction:column;justify-content:center;position:relative;width:100%}.navigation{border-radius:var(--radius-full,1000px);display:none;padding:0;position:absolute;top:50%;transform:translateY(-50%);transition-duration:.2s;transition-property:opacity,scale,transform}.contents{box-sizing:border-box;display:flex;gap:var(--mds-horizontal-scroll-gap,calc(var(--spacing,.0025rem)*600));overflow:auto;padding-bottom:var(--mds-horizontal-scroll-contents-padding,calc(var(--spacing,.0025rem)*600));padding-top:var(--mds-horizontal-scroll-contents-padding,calc(var(--spacing,.0025rem)*600));position:relative;scroll-behavior:var(--mds-horizontal-scroll-behavior,smooth);scroll-padding:var(--mds-horizontal-scroll-contents-scroll-padding,0 calc(var(--spacing,.0025rem)*600));-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;width:100%}.contents>::slotted(*){flex:0 0 0;scroll-margin:0 var(--scroll-margin)}.spacer{--width:calc(var(--scroll-margin) - var(--mds-horizontal-scroll-gap,calc(var(--spacing,.0025rem) * 600)));content:"";display:block;flex:0 0 0;min-width:clamp(1px,var(--width),var(--width));scroll-margin:0 var(--scroll-margin)}@container (max-width:1024px){:host{--scroll-margin:var(--mds-horizontal-scroll-contents-scroll-padding,0 calc(var(--spacing,.0025rem)*600))}.contents{scroll-padding:var(--mds-horizontal-scroll-contents-scroll-padding,0 calc(var(--spacing,.0025rem)*600))}.contents>::slotted(*){scroll-margin:0 var(--mds-horizontal-scroll-contents-scroll-padding,0 calc(var(--spacing,.0025rem)*600))}}.navigation--back{left:clamp(calc(var(--mds-horizontal-scroll-gap,calc(var(--spacing,.0025rem) * 600)) / 2),var(--position),var(--position))}.navigation--back,.navigation--forward{--position:calc(var(--scroll-margin) - var(--mds-horizontal-scroll-gap,calc(var(--spacing,.0025rem) * 600)) - var(--mds-horizontal-scroll-controls-margin,calc(var(--spacing,.0025rem) * 1200)))}.navigation--forward{right:clamp(calc(var(--mds-horizontal-scroll-gap,calc(var(--spacing,.0025rem) * 600)) / 2),var(--position),var(--position))}.navigation--disabled{opacity:0;pointer-events:none;transform:translateY(-50%)scale(.5)}:host([controls=all]) .navigation{display:flex}.dot-navigation{align-self:center;background-color:var(--mds-horizontal-scroll-dot-area-background,rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208)))));border-radius:var(--radius-full,1000px);display:none;gap:var(--mds-horizontal-scroll-dots-gap,calc(var(--spacing,.0025rem)*100));justify-content:start;margin:0 auto var(--mds-horizontal-scroll-contents-padding,calc(var(--spacing,.0025rem)*600)) auto;max-width:calc(var(--spacing,.0025rem)*4000);padding:calc(var(--spacing,.0025rem)*50);width:100%}:host([navigation=position]) .dot-navigation{display:inline-flex}.dot{background-color:var(--mds-horizontal-scroll-dot-background,rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255)))));border-radius:var(--radius-full,1000px);height:var(--mds-horizontal-scroll-dot-size,calc(var(--spacing,.0025rem)*200));max-width:var(--mds-horizontal-scroll-dot-max-width);min-width:var(--mds-horizontal-scroll-dot-size,calc(var(--spacing,.0025rem)*200));transition-duration:.3s;transition-property:width;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:calc(var(--mds-horizontal-scroll-dot-size,calc(var(--spacing,.0025rem) * 200)) * 2)}:host(:not([navigation=scrollbar])) .contents{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none}:host(:not([navigation=scrollbar])) .contents::-webkit-scrollbar{display:none}:host([navigation=scrollbar]) .contents::-webkit-scrollbar{height:var(--mds-horizontal-scroll-scrollbar-size,calc(var(--spacing,.0025rem)*200));width:var(--mds-horizontal-scroll-scrollbar-size,calc(var(--spacing,.0025rem)*200))}:host([navigation=scrollbar]) .contents::-webkit-scrollbar-track{background-color:var(--mds-horizontal-scroll-scrollbar-track-background,rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225)))));border-radius:var(--mds-horizontal-scroll-scrollbar-radius,0);margin-block:var(--mds-horizontal-scroll-scrollbar-margin,0);margin-inline:var(--mds-horizontal-scroll-scrollbar-margin,0)}:host([navigation=scrollbar]) .contents::-webkit-scrollbar-thumb{background-color:var(--mds-horizontal-scroll-scrollbar-thumb-background,rgb(var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42)))/.3));border-radius:var(--mds-horizontal-scroll-scrollbar-radius,0)}@supports (scrollbar-color:transparent transparent){.contents{scrollbar-color:var(--mds-horizontal-scroll-scrollbar-thumb-background,rgb(var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42)))/.3)) var(--mds-horizontal-scroll-scrollbar-track-background,rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225)))));scrollbar-width:thin}}:host([snap=start]) .contents>::slotted(*){scroll-snap-align:start}:host([snap=center]) .contents>::slotted(*){scroll-snap-align:center}:host([snap=end]) .contents>::slotted(*){scroll-snap-align:end}@media (prefers-reduced-motion:reduce){:host{--mds-horizontal-scroll-behavior:auto}}@media (min-width:1920px){:host([controls=tv]) .navigation{display:flex}}@media (min-width:1600px){:host([controls=xlarge]) .navigation{display:flex}}@media (min-width:1440px){:host([controls=large]) .navigation{display:flex}}@media (min-width:1280px){:host([controls=wide]) .navigation{display:flex}}@media (min-width:1024px){:host([controls=desktop]) .navigation{display:flex}}@media (min-width:768px){:host([controls=tablet]) .navigation{display:flex}}';export{c as mds_horizontal_scroll}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,h as r,e}from"./p-BxPbQB28.js";import{L as o}from"./p-Kv1yahtR.js";import{p as t}from"./p-7-TP6wnI.js";var n={do:"Επιτρέπεται",dont:"Δεν επιτρέπεται",info:"Πληροφορία",warn:"Προειδοποίηση"},s={do:"Allowed",dont:"Not allowed",info:"Information",warn:"Warning"},i={do:"Permitido",dont:"No permitido",info:"Información",warn:"Advertencia"},d={do:"Consentito",dont:"Non consentito",info:"Informazione",warn:"Attenzione"};const m=class{constructor(r){a(this,r),this.t=new o({el:n,en:s,es:i,it:d}),this.variant="info"}render(){var a;return r(e,{key:"cf0c6b62fc4f8f7a297605ca77ff16067bb542d3","pref-animation":t.state.animation,"pref-contrast":t.state.contrast,"pref-mode":t.state.mode,"pref-theme-scheme":t.state["theme-scheme"]},r("div",{key:"d7c92de2944edd302cb06525c0ee4a43a6528a14",class:"header",part:"header"},r("mds-icon",{key:"7bdfd0cf86f2e47ba2c1ffe3d6346652be3ed8d1",name:"mi/baseline/info",part:"icon"}),r("mds-text",{key:"335f96253125a0019a03233e0367595f3bc53be1",typography:"label",class:"label",part:"label"},null!==(a=this.alias)&&void 0!==a?a:this.t.get(this.variant))),r("div",{key:"b70f017128d80ff0bfc24b0ff3935212d17b0a08",class:"content",role:"do"===this.variant||"info"===this.variant?"insertion":"deletion"},r("slot",{key:"ea81f6077c8842d48ef63d7f041d92199b64925e"})))}};m.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))),:is(mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-usage-border-color:rgb(var(--magma-info-border-strong,var(--border-info-strong,18 154 196)));--mds-usage-header-background:var(--mds-usage-border-color,rgb(var(--magma-info-border-strong,var(--border-info-strong,18 154 196))));--mds-usage-header-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-usage-transition-duration:var(--duration-200,.2s);--private-usage-transition-duration:var(--mds-usage-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-color:var(--mds-usage-border-color,rgb(var(--magma-info-border-strong,var(--border-info-strong,18 154 196))));border-radius:var(--radius-lg,16px);border-style:solid;border-width:calc(var(--spacing,.0025rem)*50);display:grid;gap:calc(var(--spacing,.0025rem)*200);grid-auto-rows:-webkit-min-content;grid-auto-rows:min-content;grid-template-columns:minmax(0,100%);padding:calc(var(--spacing,.0025rem)*400);padding-top:0;position:relative;-webkit-transition-duration:var(--private-usage-transition-duration);transition-duration:var(--private-usage-transition-duration);transition-property:background-color,box-shadow,color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));width:100%}.label{color:var(--mds-usage-header-color,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))))}mds-icon{fill:var(--mds-usage-header-color,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));height:calc(var(--spacing,.0025rem)*400);width:calc(var(--spacing,.0025rem)*400)}.header{align-items:center;background-color:var(--mds-usage-header-background,rgb(var(--magma-info-border-strong,var(--border-info-strong,18 154 196))));border-bottom-left-radius:var(--radius-xs,8px);border-bottom-right-radius:var(--radius-xs,8px);display:inline-flex;gap:calc(var(--spacing,.0025rem)*200);height:calc(var(--spacing,.0025rem)*600);justify-self:start;padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}: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-usage-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));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([variant=do]){--mds-usage-border-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-usage-header-color:rgb(var(--magma-success-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=info]){--mds-usage-border-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-usage-header-color:rgb(var(--magma-info-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=dont]){--mds-usage-border-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-usage-header-color:rgb(var(--magma-danger-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=warn]){--mds-usage-border-color:rgb(var(--magma-warning-wash-strong,var(--status-warning-08,255 205 57)));--mds-usage-header-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)))}@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-usage-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));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}';export{m as mds_usage}
|