@maggioli-design-system/magma 2.0.1 → 2.1.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 +71 -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 +152 -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 +1 -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 +3 -3
- 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 +1 -1
- package/dist/cjs/mds-button_3.cjs.entry.js +7 -6
- package/dist/cjs/mds-calendar_2.cjs.entry.js +2 -2
- package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
- package/dist/cjs/mds-card.cjs.entry.js +2 -2
- package/dist/cjs/mds-details.cjs.entry.js +2 -2
- package/dist/cjs/mds-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/mds-emoji.cjs.entry.js +2 -2
- package/dist/cjs/mds-entity.cjs.entry.js +2 -2
- package/dist/cjs/mds-file-preview.cjs.entry.js +3 -3
- package/dist/cjs/mds-file.cjs.entry.js +3 -3
- package/dist/cjs/mds-filter-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-filter.cjs.entry.js +2 -2
- package/dist/cjs/mds-header-bar.cjs.entry.js +2 -2
- package/dist/cjs/mds-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +1 -1
- package/dist/cjs/mds-hr.cjs.entry.js +2 -2
- package/dist/cjs/mds-img.cjs.entry.js +3 -3
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
- 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 +1 -1
- 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 +63 -21
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +3 -3
- 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 +3 -3
- package/dist/cjs/mds-keyboard.cjs.entry.js +3 -3
- package/dist/cjs/mds-kpi-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-kpi.cjs.entry.js +1 -1
- package/dist/cjs/mds-label.cjs.entry.js +3 -3
- package/dist/cjs/mds-list-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-list.cjs.entry.js +1 -1
- package/dist/cjs/mds-mention.cjs.entry.js +3 -3
- package/dist/cjs/mds-modal.cjs.entry.js +2 -2
- package/dist/cjs/mds-note.cjs.entry.js +3 -3
- package/dist/cjs/mds-notification.cjs.entry.js +2 -2
- package/dist/cjs/mds-paginator-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-paginator.cjs.entry.js +2 -2
- package/dist/cjs/mds-policy-ai.cjs.entry.js +3 -3
- 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 +3 -3
- package/dist/cjs/mds-pref-language.cjs.entry.js +3 -3
- package/dist/cjs/mds-pref-mode.cjs.entry.js +30 -7
- package/dist/cjs/mds-pref-theme-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-theme.cjs.entry.js +3 -3
- package/dist/cjs/mds-pref.cjs.entry.js +10 -5
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-features.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-header.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-list.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table.cjs.entry.js +1 -1
- package/dist/cjs/mds-progress_2.cjs.entry.js +2 -2
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-push-notification.cjs.entry.js +2 -2
- package/dist/cjs/mds-quote.cjs.entry.js +2 -2
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-radial-menu.cjs.entry.js +2 -2
- package/dist/cjs/mds-separator.cjs.entry.js +2 -2
- package/dist/cjs/mds-status-bar.cjs.entry.js +2 -2
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-tab-bar.cjs.entry.js +2 -2
- package/dist/cjs/mds-tab_2.cjs.entry.js +2 -2
- package/dist/cjs/mds-table-body.cjs.entry.js +2 -2
- package/dist/cjs/mds-table-footer.cjs.entry.js +2 -2
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +2 -2
- package/dist/cjs/mds-table-header.cjs.entry.js +3 -3
- package/dist/cjs/mds-table-row.cjs.entry.js +3 -3
- package/dist/cjs/mds-table.cjs.entry.js +3 -3
- package/dist/cjs/mds-text.cjs.entry.js +2 -2
- package/dist/cjs/mds-toast.cjs.entry.js +2 -2
- package/dist/cjs/mds-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/mds-tree-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-tree.cjs.entry.js +1 -1
- package/dist/cjs/mds-url-view.cjs.entry.js +3 -3
- package/dist/cjs/mds-usage.cjs.entry.js +3 -3
- package/dist/cjs/mds-video-wall.cjs.entry.js +1 -1
- package/dist/cjs/mds-zero.cjs.entry.js +2 -2
- package/dist/cjs/preference-DRkzNp5a.js +389 -0
- package/dist/collection/common/form.js +24 -1
- 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 +126 -0
- package/dist/collection/components/mds-button/documentation.json +922 -0
- package/dist/collection/components/mds-button/mds-button.css +4 -1
- package/dist/collection/components/mds-button/mds-button.js +42 -3
- package/dist/collection/components/mds-button/pattern.md +172 -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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/pattern.md +203 -0
- package/dist/collection/components/mds-tab/AGENTS.md +109 -0
- package/dist/collection/components/mds-tab/antipattern.md +164 -0
- package/dist/collection/components/mds-tab/documentation.json +495 -0
- package/dist/collection/components/mds-tab/pattern.md +201 -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/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/pattern.md +110 -0
- package/dist/collection/components/mds-tab-item/AGENTS.md +82 -0
- package/dist/collection/components/mds-tab-item/antipattern.md +138 -0
- package/dist/collection/components/mds-tab-item/documentation.json +577 -0
- package/dist/collection/components/mds-tab-item/pattern.md +155 -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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/pattern.md +118 -0
- package/dist/components/index.js +1 -1
- package/dist/components/mds-accordion-item.js +1 -1
- package/dist/components/mds-accordion-timer-item.js +1 -1
- package/dist/components/mds-accordion-timer.js +1 -1
- package/dist/components/mds-accordion.js +1 -1
- package/dist/components/mds-author.js +1 -1
- package/dist/components/mds-avatar-stack-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-1aH7xiMs.js +1 -0
- package/dist/components/p-B05zwjTY.js +1 -0
- package/dist/components/p-BOu_NOgd.js +1 -0
- package/dist/components/p-BTpjOy0A.js +1 -0
- package/dist/components/p-BVw5aqzn.js +1 -0
- package/dist/components/p-BW24ByN-.js +1 -0
- package/dist/components/p-BWpSxp3h.js +1 -0
- package/dist/components/p-BXPIlPIF.js +1 -0
- package/dist/components/p-BzvYQBdf.js +1 -0
- package/dist/components/p-C3Sn8bRc.js +1 -0
- package/dist/components/p-CGkSDkOY.js +1 -0
- package/dist/components/p-CIcshx6K.js +1 -0
- package/dist/components/p-CKS4r32k.js +1 -0
- package/dist/components/p-COkF_8bh.js +1 -0
- package/dist/components/p-CmHMhHMt.js +1 -0
- package/dist/components/p-Cnt6G6GK.js +1 -0
- package/dist/components/p-CsL9U6eU.js +1 -0
- package/dist/components/p-Cyj1BFxx.js +1 -0
- package/dist/components/p-DQqUzCGR.js +1 -0
- package/dist/components/p-DR46G4-6.js +1 -0
- package/dist/components/p-DcW0iRnZ.js +1 -0
- package/dist/components/p-DebgFlHq.js +1 -0
- package/dist/components/p-DmPLOktp.js +1 -0
- package/dist/components/p-Dpf8NWF9.js +1 -0
- package/dist/components/p-DwA-5c8G.js +1 -0
- package/dist/components/p-Dws02cT2.js +8 -0
- package/dist/components/p-K3QNYRhf.js +1 -0
- package/dist/components/p-PQ_EO5-U.js +1 -0
- package/dist/components/p-akEzGmDD.js +1 -0
- package/dist/components/p-bDVBqkn0.js +1 -0
- package/dist/components/p-faViX-qz.js +1 -0
- package/dist/components/p-pBvN1uAc.js +3 -0
- package/dist/components/p-wI0alRSO.js +1 -0
- package/dist/components/p-x_c_51aL.js +1 -0
- package/dist/components/p-zHpei4x6.js +1 -0
- package/dist/documentation.json +618 -360
- 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 +1 -1
- 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 +3 -3
- 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 +1 -1
- package/dist/esm/mds-button_3.entry.js +7 -6
- package/dist/esm/mds-calendar_2.entry.js +2 -2
- package/dist/esm/mds-card-content.entry.js +1 -1
- package/dist/esm/mds-card-footer.entry.js +1 -1
- package/dist/esm/mds-card-header.entry.js +1 -1
- package/dist/esm/mds-card-media.entry.js +1 -1
- package/dist/esm/mds-card.entry.js +2 -2
- package/dist/esm/mds-details.entry.js +2 -2
- package/dist/esm/mds-dropdown.entry.js +3 -3
- package/dist/esm/mds-emoji.entry.js +2 -2
- package/dist/esm/mds-entity.entry.js +2 -2
- package/dist/esm/mds-file-preview.entry.js +3 -3
- package/dist/esm/mds-file.entry.js +3 -3
- package/dist/esm/mds-filter-item.entry.js +2 -2
- package/dist/esm/mds-filter.entry.js +2 -2
- package/dist/esm/mds-header-bar.entry.js +2 -2
- package/dist/esm/mds-header.entry.js +2 -2
- package/dist/esm/mds-horizontal-scroll.entry.js +1 -1
- package/dist/esm/mds-hr.entry.js +2 -2
- package/dist/esm/mds-img.entry.js +3 -3
- package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
- 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 +1 -1
- 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 +63 -21
- package/dist/esm/mds-input-tip_2.entry.js +3 -3
- 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 +3 -3
- package/dist/esm/mds-keyboard.entry.js +3 -3
- package/dist/esm/mds-kpi-item.entry.js +2 -2
- package/dist/esm/mds-kpi.entry.js +1 -1
- package/dist/esm/mds-label.entry.js +3 -3
- package/dist/esm/mds-list-item.entry.js +2 -2
- package/dist/esm/mds-list.entry.js +1 -1
- package/dist/esm/mds-mention.entry.js +3 -3
- package/dist/esm/mds-modal.entry.js +2 -2
- package/dist/esm/mds-note.entry.js +3 -3
- package/dist/esm/mds-notification.entry.js +2 -2
- package/dist/esm/mds-paginator-item.entry.js +2 -2
- package/dist/esm/mds-paginator.entry.js +2 -2
- package/dist/esm/mds-policy-ai.entry.js +3 -3
- 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 +3 -3
- package/dist/esm/mds-pref-language.entry.js +3 -3
- package/dist/esm/mds-pref-mode.entry.js +30 -7
- package/dist/esm/mds-pref-theme-item.entry.js +1 -1
- package/dist/esm/mds-pref-theme.entry.js +3 -3
- package/dist/esm/mds-pref.entry.js +10 -5
- package/dist/esm/mds-price-table-features-cell.entry.js +2 -2
- package/dist/esm/mds-price-table-features-row.entry.js +2 -2
- package/dist/esm/mds-price-table-features.entry.js +2 -2
- package/dist/esm/mds-price-table-header.entry.js +1 -1
- package/dist/esm/mds-price-table-list-item.entry.js +1 -1
- package/dist/esm/mds-price-table-list.entry.js +2 -2
- package/dist/esm/mds-price-table.entry.js +1 -1
- package/dist/esm/mds-progress_2.entry.js +2 -2
- package/dist/esm/mds-push-notification-item.entry.js +3 -3
- package/dist/esm/mds-push-notification.entry.js +2 -2
- package/dist/esm/mds-quote.entry.js +2 -2
- package/dist/esm/mds-radial-menu-item.entry.js +1 -1
- package/dist/esm/mds-radial-menu.entry.js +2 -2
- package/dist/esm/mds-separator.entry.js +2 -2
- package/dist/esm/mds-status-bar.entry.js +2 -2
- package/dist/esm/mds-stepper-bar-item.entry.js +3 -3
- package/dist/esm/mds-stepper-bar.entry.js +1 -1
- package/dist/esm/mds-tab-bar-item.entry.js +2 -2
- package/dist/esm/mds-tab-bar.entry.js +2 -2
- package/dist/esm/mds-tab_2.entry.js +2 -2
- package/dist/esm/mds-table-body.entry.js +2 -2
- package/dist/esm/mds-table-footer.entry.js +2 -2
- package/dist/esm/mds-table-header-cell.entry.js +2 -2
- package/dist/esm/mds-table-header.entry.js +3 -3
- package/dist/esm/mds-table-row.entry.js +3 -3
- package/dist/esm/mds-table.entry.js +3 -3
- package/dist/esm/mds-text.entry.js +2 -2
- package/dist/esm/mds-toast.entry.js +2 -2
- package/dist/esm/mds-tooltip.entry.js +3 -3
- package/dist/esm/mds-tree-item.entry.js +3 -3
- package/dist/esm/mds-tree.entry.js +1 -1
- package/dist/esm/mds-url-view.entry.js +3 -3
- package/dist/esm/mds-usage.entry.js +3 -3
- package/dist/esm/mds-video-wall.entry.js +1 -1
- package/dist/esm/mds-zero.entry.js +2 -2
- 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 +1 -1
- 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 +1 -1
- package/dist/esm-es5/mds-benchmark-bar.entry.js +1 -1
- package/dist/esm-es5/mds-bibliography.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb.entry.js +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 +3 -3
- package/dist/esm-es5/mds-calendar_2.entry.js +1 -1
- package/dist/esm-es5/mds-card-content.entry.js +1 -1
- package/dist/esm-es5/mds-card-footer.entry.js +1 -1
- package/dist/esm-es5/mds-card-header.entry.js +1 -1
- package/dist/esm-es5/mds-card-media.entry.js +1 -1
- package/dist/esm-es5/mds-card.entry.js +1 -1
- package/dist/esm-es5/mds-details.entry.js +1 -1
- package/dist/esm-es5/mds-dropdown.entry.js +1 -1
- package/dist/esm-es5/mds-emoji.entry.js +1 -1
- package/dist/esm-es5/mds-entity.entry.js +1 -1
- package/dist/esm-es5/mds-file-preview.entry.js +11 -11
- package/dist/esm-es5/mds-file.entry.js +11 -11
- package/dist/esm-es5/mds-filter-item.entry.js +1 -1
- package/dist/esm-es5/mds-filter.entry.js +1 -1
- package/dist/esm-es5/mds-header-bar.entry.js +1 -1
- package/dist/esm-es5/mds-header.entry.js +1 -1
- package/dist/esm-es5/mds-horizontal-scroll.entry.js +1 -1
- package/dist/esm-es5/mds-hr.entry.js +1 -1
- package/dist/esm-es5/mds-img.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range.entry.js +33 -6
- package/dist/esm-es5/mds-input-date.entry.js +47 -7
- package/dist/esm-es5/mds-input-field.entry.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/esm-es5/mds-keyboard.entry.js +1 -1
- package/dist/esm-es5/mds-kpi-item.entry.js +1 -1
- package/dist/esm-es5/mds-kpi.entry.js +1 -1
- package/dist/esm-es5/mds-label.entry.js +1 -1
- package/dist/esm-es5/mds-list-item.entry.js +1 -1
- package/dist/esm-es5/mds-list.entry.js +1 -1
- package/dist/esm-es5/mds-mention.entry.js +1 -1
- package/dist/esm-es5/mds-modal.entry.js +1 -1
- package/dist/esm-es5/mds-note.entry.js +1 -1
- package/dist/esm-es5/mds-notification.entry.js +1 -1
- package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
- package/dist/esm-es5/mds-paginator.entry.js +1 -1
- package/dist/esm-es5/mds-policy-ai.entry.js +1 -1
- package/dist/esm-es5/mds-pref-animation.entry.js +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 +1 -1
- package/dist/esm-es5/mds-pref-language.entry.js +1 -1
- package/dist/esm-es5/mds-pref-mode.entry.js +10 -2
- package/dist/esm-es5/mds-pref-theme-item.entry.js +1 -1
- package/dist/esm-es5/mds-pref-theme.entry.js +1 -1
- package/dist/esm-es5/mds-pref.entry.js +6 -3
- package/dist/esm-es5/mds-price-table-features-cell.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-list-item.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-list.entry.js +1 -1
- package/dist/esm-es5/mds-price-table.entry.js +1 -1
- package/dist/esm-es5/mds-progress_2.entry.js +1 -1
- package/dist/esm-es5/mds-push-notification-item.entry.js +1 -1
- package/dist/esm-es5/mds-push-notification.entry.js +1 -1
- package/dist/esm-es5/mds-quote.entry.js +1 -1
- package/dist/esm-es5/mds-radial-menu-item.entry.js +1 -1
- package/dist/esm-es5/mds-radial-menu.entry.js +1 -1
- package/dist/esm-es5/mds-separator.entry.js +1 -1
- package/dist/esm-es5/mds-status-bar.entry.js +1 -1
- package/dist/esm-es5/mds-stepper-bar-item.entry.js +1 -1
- package/dist/esm-es5/mds-stepper-bar.entry.js +1 -1
- package/dist/esm-es5/mds-tab-bar-item.entry.js +1 -1
- package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
- package/dist/esm-es5/mds-tab_2.entry.js +1 -1
- package/dist/esm-es5/mds-table-body.entry.js +1 -1
- package/dist/esm-es5/mds-table-footer.entry.js +1 -1
- package/dist/esm-es5/mds-table-header-cell.entry.js +1 -1
- package/dist/esm-es5/mds-table-header.entry.js +1 -1
- package/dist/esm-es5/mds-table-row.entry.js +1 -1
- package/dist/esm-es5/mds-table.entry.js +1 -1
- package/dist/esm-es5/mds-text.entry.js +1 -1
- package/dist/esm-es5/mds-toast.entry.js +1 -1
- package/dist/esm-es5/mds-tooltip.entry.js +1 -1
- package/dist/esm-es5/mds-tree-item.entry.js +1 -1
- package/dist/esm-es5/mds-tree.entry.js +1 -1
- package/dist/esm-es5/mds-url-view.entry.js +1 -1
- package/dist/esm-es5/mds-usage.entry.js +1 -1
- package/dist/esm-es5/mds-video-wall.entry.js +1 -1
- package/dist/esm-es5/mds-zero.entry.js +1 -1
- package/dist/esm-es5/preference-DNNqH7BU.js +58 -0
- package/dist/hydrate/index.js +1431 -309
- package/dist/hydrate/index.mjs +1431 -309
- 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-00e47e49.system.entry.js +14 -0
- package/dist/magma-components/p-0141c597.system.entry.js +15 -0
- package/dist/magma-components/p-021f96f8.entry.js +1 -0
- package/dist/magma-components/p-0255924b.system.entry.js +22 -0
- package/dist/magma-components/p-03c2060d.entry.js +1 -0
- package/dist/magma-components/p-05014374.entry.js +1 -0
- package/dist/magma-components/p-05f73994.entry.js +1 -0
- package/dist/magma-components/p-0646392d.entry.js +1 -0
- package/dist/magma-components/p-0a38e4ce.system.entry.js +1 -0
- package/dist/magma-components/p-0a551e86.entry.js +1 -0
- package/dist/magma-components/p-0a904a12.entry.js +1 -0
- package/dist/magma-components/p-0a9fb138.system.entry.js +1 -0
- package/dist/magma-components/p-106f39c6.entry.js +1 -0
- package/dist/magma-components/p-10ad73e3.system.entry.js +19 -0
- package/dist/magma-components/p-1150ffb8.system.entry.js +10 -0
- package/dist/magma-components/p-12c5ae26.entry.js +1 -0
- package/dist/magma-components/p-13a1d35f.entry.js +1 -0
- package/dist/magma-components/p-15d4846d.entry.js +1 -0
- package/dist/magma-components/p-1673225e.system.entry.js +8 -0
- package/dist/magma-components/p-188f4b1d.system.entry.js +7 -0
- package/dist/magma-components/p-18c8628c.entry.js +1 -0
- package/dist/magma-components/p-1be45c75.entry.js +1 -0
- package/dist/magma-components/p-1cb495d3.entry.js +1 -0
- package/dist/magma-components/p-1e3d89cd.system.entry.js +1 -0
- package/dist/magma-components/p-1e700f0a.entry.js +1 -0
- package/dist/magma-components/p-20e4f7dd.system.entry.js +15 -0
- package/dist/magma-components/p-21865dd2.entry.js +1 -0
- package/dist/magma-components/p-218d8254.system.entry.js +1 -0
- package/dist/magma-components/p-21c46e74.system.entry.js +4 -0
- package/dist/magma-components/p-231b604f.system.entry.js +1 -0
- package/dist/magma-components/p-2507f5cf.entry.js +1 -0
- package/dist/magma-components/p-2723caa7.system.entry.js +13 -0
- package/dist/magma-components/p-277444bc.entry.js +1 -0
- package/dist/magma-components/p-283b0548.system.entry.js +102 -0
- package/dist/magma-components/p-2c44c961.system.entry.js +10 -0
- package/dist/magma-components/p-2ec0db8e.entry.js +1 -0
- package/dist/magma-components/p-2f520704.entry.js +1 -0
- package/dist/magma-components/p-30c3872d.entry.js +1 -0
- package/dist/magma-components/p-314abfba.entry.js +1 -0
- package/dist/magma-components/p-322a5452.entry.js +1 -0
- package/dist/magma-components/p-3231a6a3.entry.js +1 -0
- package/dist/magma-components/p-34401d35.entry.js +1 -0
- package/dist/magma-components/p-35aa29c5.entry.js +1 -0
- package/dist/magma-components/p-35ee2d77.entry.js +1 -0
- package/dist/magma-components/p-36a67b51.entry.js +1 -0
- package/dist/magma-components/p-3a1339bb.system.entry.js +4 -0
- package/dist/magma-components/p-3d56e3f4.entry.js +1 -0
- package/dist/magma-components/p-3e0eed90.system.entry.js +12 -0
- package/dist/magma-components/p-3ecade3c.system.entry.js +11 -0
- package/dist/magma-components/p-3eefca33.system.entry.js +16 -0
- package/dist/magma-components/p-4211ce6c.system.entry.js +1 -0
- package/dist/magma-components/p-436f9b27.system.entry.js +38 -0
- package/dist/magma-components/p-439c9ce3.system.entry.js +10 -0
- package/dist/magma-components/p-44e2a945.system.entry.js +1 -0
- package/dist/magma-components/p-4658154f.entry.js +1 -0
- package/dist/magma-components/p-474047fa.system.entry.js +10 -0
- package/dist/magma-components/p-474c5d53.system.entry.js +11 -0
- package/dist/magma-components/p-493fb2f4.system.entry.js +7 -0
- package/dist/magma-components/p-4ac94b84.system.entry.js +32 -0
- package/dist/magma-components/p-4c73f14b.system.entry.js +14 -0
- package/dist/magma-components/p-4cb88b06.system.entry.js +1 -0
- package/dist/magma-components/p-4dd6a39b.entry.js +1 -0
- package/dist/magma-components/p-4e7f21ac.entry.js +1 -0
- package/dist/magma-components/p-4f14a166.entry.js +1 -0
- package/dist/magma-components/p-50ea11c9.system.entry.js +32 -0
- package/dist/magma-components/p-514d0fcb.entry.js +1 -0
- package/dist/magma-components/p-52793bdb.system.entry.js +1 -0
- package/dist/magma-components/p-5299f709.system.entry.js +26 -0
- package/dist/magma-components/p-57762bae.entry.js +1 -0
- package/dist/magma-components/p-577db922.entry.js +1 -0
- package/dist/magma-components/p-58b82b40.system.entry.js +10 -0
- package/dist/magma-components/p-5a7267e8.system.entry.js +4 -0
- package/dist/magma-components/p-5a911e7b.system.entry.js +13 -0
- package/dist/magma-components/p-5ac9e2f4.entry.js +1 -0
- package/dist/magma-components/p-5c94e0c2.system.entry.js +7 -0
- package/dist/magma-components/p-5ccf493c.system.entry.js +7 -0
- package/dist/magma-components/p-5d119459.entry.js +1 -0
- package/dist/magma-components/p-5f1132b8.entry.js +1 -0
- package/dist/magma-components/p-5fd04ce1.entry.js +1 -0
- package/dist/magma-components/p-60f67c37.entry.js +1 -0
- package/dist/magma-components/p-61bedbe7.system.entry.js +68 -0
- package/dist/magma-components/p-632bc44c.entry.js +1 -0
- package/dist/magma-components/p-64f78149.system.entry.js +1 -0
- package/dist/magma-components/p-69c21eae.entry.js +1 -0
- package/dist/magma-components/p-6a6326c6.entry.js +1 -0
- package/dist/magma-components/p-6c18c40e.system.entry.js +89 -0
- package/dist/magma-components/p-6c800411.entry.js +1 -0
- package/dist/magma-components/p-6e03b83a.entry.js +1 -0
- package/dist/magma-components/p-6ed05d99.entry.js +1 -0
- package/dist/magma-components/p-6f74cdf5.system.entry.js +12 -0
- package/dist/magma-components/p-6fdb3fe7.system.entry.js +27 -0
- package/dist/magma-components/p-6ff8be3e.system.entry.js +30 -0
- package/dist/magma-components/p-7-TP6wnI.js +1 -0
- package/dist/magma-components/p-73fde271.system.entry.js +72 -0
- package/dist/magma-components/p-74b51db8.entry.js +1 -0
- package/dist/magma-components/p-76ecad2f.entry.js +18 -0
- package/dist/magma-components/p-774ce1d2.entry.js +1 -0
- package/dist/magma-components/p-77615947.system.entry.js +1 -0
- package/dist/magma-components/p-7770b989.system.entry.js +1 -0
- package/dist/magma-components/p-7787ebaf.system.entry.js +1 -0
- package/dist/magma-components/p-789c1b93.system.entry.js +1 -0
- package/dist/magma-components/p-7927010f.system.entry.js +25 -0
- package/dist/magma-components/p-79421ee1.system.entry.js +11 -0
- package/dist/magma-components/p-7ab15184.entry.js +1 -0
- package/dist/magma-components/p-7afec7ee.entry.js +1 -0
- package/dist/magma-components/p-7e085c82.entry.js +1 -0
- package/dist/magma-components/p-7e7cf986.system.entry.js +7 -0
- package/dist/magma-components/p-7ffda4f5.entry.js +1 -0
- package/dist/magma-components/p-809adece.system.entry.js +17 -0
- package/dist/magma-components/p-8183b7ed.entry.js +1 -0
- package/dist/magma-components/p-832883c4.entry.js +1 -0
- package/dist/magma-components/p-83394280.system.entry.js +32 -0
- package/dist/magma-components/p-835fc007.entry.js +1 -0
- package/dist/magma-components/p-837fbbf7.system.entry.js +1 -0
- package/dist/magma-components/p-84645c60.system.entry.js +1 -0
- package/dist/magma-components/p-86f4b6eb.system.entry.js +20 -0
- package/dist/magma-components/p-87026d34.entry.js +1 -0
- package/dist/magma-components/p-87faaa8e.system.entry.js +16 -0
- package/dist/magma-components/p-88287207.system.entry.js +13 -0
- package/dist/magma-components/p-883c223a.system.entry.js +4 -0
- package/dist/magma-components/p-88f99a4f.system.entry.js +81 -0
- package/dist/magma-components/p-8a3d2259.system.entry.js +17 -0
- package/dist/magma-components/p-8aafbfdf.system.entry.js +49 -0
- package/dist/magma-components/p-8afc9bc4.system.entry.js +2838 -0
- package/dist/magma-components/p-8ca1d30d.system.entry.js +1 -0
- package/dist/magma-components/p-8ccd187a.entry.js +1 -0
- package/dist/magma-components/p-8d53bd61.system.entry.js +4 -0
- package/dist/magma-components/p-8yWTOQiz.js +1 -0
- package/dist/magma-components/p-90993b0b.system.entry.js +68 -0
- package/dist/magma-components/p-915c5f06.system.entry.js +47 -0
- package/dist/magma-components/p-91c4015f.system.entry.js +4 -0
- package/dist/magma-components/p-91ff1560.system.entry.js +7 -0
- package/dist/magma-components/p-92d9b537.entry.js +1 -0
- package/dist/magma-components/p-932620b6.entry.js +1 -0
- package/dist/magma-components/p-9344a234.entry.js +1 -0
- package/dist/magma-components/p-93d39066.entry.js +1 -0
- package/dist/magma-components/p-97f6166e.system.entry.js +28 -0
- package/dist/magma-components/p-9d1cdb42.system.entry.js +15 -0
- package/dist/magma-components/p-9dcfc247.entry.js +1 -0
- package/dist/magma-components/p-9eb1e154.system.entry.js +14 -0
- package/dist/magma-components/p-9fe14430.system.entry.js +7 -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-CdsZyFQ-.system.js +10 -0
- package/dist/magma-components/p-D7BrzK-C.system.js +90 -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-a41e52f7.entry.js +1 -0
- package/dist/magma-components/p-a462aadd.entry.js +1 -0
- package/dist/magma-components/p-a4a83a63.entry.js +1 -0
- package/dist/magma-components/p-a64bbb36.system.entry.js +40 -0
- package/dist/magma-components/p-a6af4083.system.entry.js +32 -0
- package/dist/magma-components/p-a7e7f2c0.entry.js +1 -0
- package/dist/magma-components/p-aba96089.entry.js +1 -0
- package/dist/magma-components/p-ac81f63a.system.entry.js +913 -0
- package/dist/magma-components/p-aed8b119.entry.js +1 -0
- package/dist/magma-components/p-b24b5179.entry.js +1 -0
- package/dist/magma-components/p-b295e4ab.system.entry.js +1 -0
- package/dist/magma-components/p-b2c62b6e.system.entry.js +7 -0
- package/dist/magma-components/p-b431ca8a.entry.js +1 -0
- package/dist/magma-components/p-b5559b28.system.entry.js +1 -0
- package/dist/magma-components/p-b626c69f.system.entry.js +1 -0
- package/dist/magma-components/p-b897c97d.entry.js +1 -0
- package/dist/magma-components/p-bab4c75e.system.entry.js +45 -0
- package/dist/magma-components/p-bba04b08.system.entry.js +14 -0
- package/dist/magma-components/p-bc53c19e.entry.js +8 -0
- package/dist/magma-components/p-bf2fe278.system.entry.js +16 -0
- package/dist/magma-components/p-c0136138.entry.js +1 -0
- package/dist/magma-components/p-c166ec50.system.entry.js +47 -0
- package/dist/magma-components/p-c22887f7.system.entry.js +90 -0
- package/dist/magma-components/p-c28fce23.entry.js +1 -0
- package/dist/magma-components/p-c34d9e61.system.entry.js +1 -0
- package/dist/magma-components/p-c48bad95.entry.js +1 -0
- package/dist/magma-components/p-cb2c5f1b.entry.js +1 -0
- package/dist/magma-components/p-cc0c6ae7.entry.js +1 -0
- package/dist/magma-components/p-cc2a09f2.system.entry.js +16 -0
- package/dist/magma-components/p-cc9d9458.entry.js +1 -0
- package/dist/magma-components/p-ccb14076.system.entry.js +217 -0
- package/dist/magma-components/p-ccb6898a.system.entry.js +4 -0
- package/dist/magma-components/p-d04ac65d.entry.js +1 -0
- package/dist/magma-components/p-d07d227b.system.entry.js +8 -0
- package/dist/magma-components/p-d1faf129.entry.js +1 -0
- package/dist/magma-components/p-d282a929.entry.js +1 -0
- package/dist/magma-components/p-d2f134ac.entry.js +1 -0
- package/dist/magma-components/p-d47df503.system.entry.js +37 -0
- package/dist/magma-components/p-d5bd6bef.entry.js +1 -0
- package/dist/magma-components/p-d9804d2f.entry.js +1 -0
- package/dist/magma-components/p-dc06b29e.entry.js +1 -0
- package/dist/magma-components/p-dc59b764.entry.js +1 -0
- package/dist/magma-components/p-dc7bada4.entry.js +1 -0
- package/dist/magma-components/p-dcc3be64.system.entry.js +7 -0
- package/dist/magma-components/p-dd58f9ee.entry.js +18 -0
- package/dist/magma-components/p-de091be7.system.entry.js +7 -0
- package/dist/magma-components/p-dfe8552c.system.entry.js +11 -0
- package/dist/magma-components/p-e1e69217.system.entry.js +1 -0
- package/dist/magma-components/p-e213640b.entry.js +1 -0
- package/dist/magma-components/p-e2ef1d6f.entry.js +1 -0
- package/dist/magma-components/p-e2ef5996.entry.js +1 -0
- package/dist/magma-components/p-e7751639.entry.js +1 -0
- package/dist/magma-components/p-e887a14c.entry.js +1 -0
- package/dist/magma-components/p-e8cd2b93.system.entry.js +4 -0
- package/dist/magma-components/p-e8ed096b.entry.js +1 -0
- package/dist/magma-components/p-eaff7300.entry.js +1 -0
- package/dist/magma-components/p-eb681207.system.entry.js +1 -0
- package/dist/magma-components/p-ec9cc7b9.entry.js +1 -0
- package/dist/magma-components/p-eca99a0a.system.entry.js +1 -0
- package/dist/magma-components/p-ecd3c27f.entry.js +1 -0
- package/dist/magma-components/p-ed897f9f.entry.js +1 -0
- package/dist/magma-components/p-ee1e7f07.system.entry.js +3 -0
- package/dist/magma-components/p-ef3424e3.entry.js +1 -0
- package/dist/magma-components/p-f29a059d.system.entry.js +15 -0
- package/dist/magma-components/p-f5bb8c0c.entry.js +1 -0
- package/dist/magma-components/p-f654eafe.entry.js +1 -0
- package/dist/magma-components/p-f733ae92.system.entry.js +16 -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-faa1f22c.entry.js +1 -0
- package/dist/magma-components/p-ffa1a0b4.system.entry.js +1 -0
- package/dist/magma-components/p-hVpoPUxI.system.js +58 -0
- package/dist/magma-components/p-wI0alRSO.js +1 -0
- package/dist/stats.json +3191 -2538
- package/dist/types/common/form.d.ts +8 -1
- 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 +9 -0
- 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.d.ts +102 -19
- package/package.json +25 -12
- 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 e,h as t,e as i}from"./p-BxPbQB28.js";import{m as a}from"./p-BFhO-KUe.js";import{m as r}from"./p-BE8xuIpS.js";const s=class{constructor(t){e(this,t),this.supported=!1,this.typography="detail"}render(){return t(i,{key:"9f970a01728c3729c604119a3f9e8ba520754ee9",slot:"item"},t("mds-text",{key:"07f98b7344b20804848c534460eaa84fa3d9c402",class:"icon-container",typography:this.typography},t("i",this.supported?{class:"icon",innerHTML:a,part:"icon"}:{class:"icon",innerHTML:r,part:"icon"})),t("mds-text",{key:"992dc84f0b8fd8ed025e971c3537ce98b675985a",class:"text",typography:this.typography},t("slot",{key:"ff21af191088a6f5555002508e1ef6bf71f61aaf"})))}};s.style='@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-price-table-list-item-supported-icon-color-hover:rgb(var(--label-green-05,26 148 71));--mds-price-table-list-item-supported-icon-color:rgb(var(--label-green-06,34 195 93));--mds-price-table-list-item-unsupported-icon-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));align-items:flex-start;display:flex;gap:calc(var(--spacing,.0025rem)*100)}.text{flex-grow:1}.icon-container{flex-shrink:0}.icon{display:flex;--tw-ease:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));fill:var(--mds-price-table-list-item-unsupported-icon-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))));height:calc(var(--spacing,.0025rem)*600);-webkit-transition-duration:var(--duration-500,.5s);transition-duration:var(--duration-500,.5s);transition-property:fill;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:calc(var(--spacing,.0025rem)*600)}.icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}:host([supported]:not([supported=false])) .icon{fill:var(--mds-price-table-list-item-supported-icon-color,rgb(var(--label-green-06,34 195 93)))}@property --tw-ease{syntax:"*";inherits:false}';export{s as mds_price_table_list_item}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,h as r,e as t,g as o}from"./p-BxPbQB28.js";import{c as e}from"./p-ChV9xqsO.js";import{g as n}from"./p-E-ZsRS8r.js";import{p as i}from"./p-7-TP6wnI.js";var s,l={exports:{}},v=(s||(s=1,l.exports=function(a){if(a){var r=function(a){return[].slice.call(a)},t=3,o=[],e=null,n="requestAnimationFrame"in a?function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{sync:!1};a.cancelAnimationFrame(e);var t=function(){return s(o.filter((function(a){return a.dirty&&a.active})))};if(r.sync)return t();e=a.requestAnimationFrame(t)}:function(){},i=function(a){return function(r){o.forEach((function(r){return r.dirty=a})),n(r)}},s=function(a){a.filter((function(a){return!a.styleComputed})).forEach((function(a){a.styleComputed=d(a)})),a.filter(m).forEach(b);var r=a.filter(c);r.forEach(v),r.forEach((function(a){b(a),l(a)})),r.forEach(g)},l=function(a){return a.dirty=0},v=function(a){a.availableWidth=a.element.parentNode.clientWidth,a.currentWidth=a.element.scrollWidth,a.previousFontSize=a.currentFontSize,a.currentFontSize=Math.min(Math.max(a.minSize,a.availableWidth/a.currentWidth*a.previousFontSize),a.maxSize),a.whiteSpace=a.multiLine&&a.currentFontSize===a.minSize?"normal":"nowrap"},c=function(a){return 2!==a.dirty||2===a.dirty&&a.element.parentNode.clientWidth!==a.availableWidth},d=function(r){var t=a.getComputedStyle(r.element,null);return r.currentFontSize=parseFloat(t.getPropertyValue("font-size")),r.display=t.getPropertyValue("display"),r.whiteSpace=t.getPropertyValue("white-space"),!0},m=function(a){var r=!1;return!a.preStyleTestCompleted&&(/inline-/.test(a.display)||(r=!0,a.display="inline-block"),"nowrap"!==a.whiteSpace&&(r=!0,a.whiteSpace="nowrap"),a.preStyleTestCompleted=!0,r)},b=function(a){a.element.style.whiteSpace=a.whiteSpace,a.element.style.display=a.display,a.element.style.fontSize=a.currentFontSize+"px"},g=function(a){a.element.dispatchEvent(new CustomEvent("fit",{detail:{oldValue:a.previousFontSize,newValue:a.currentFontSize,scaleFactor:a.currentFontSize/a.previousFontSize}}))},u=function(a,r){return function(t){a.dirty=r,a.active&&n(t)}},h=function(a){return function(){o=o.filter((function(r){return r.element!==a.element})),a.observeMutations&&a.observer.disconnect(),a.element.style.whiteSpace=a.originalStyle.whiteSpace,a.element.style.display=a.originalStyle.display,a.element.style.fontSize=a.originalStyle.fontSize}},f=function(a){return function(){a.active||(a.active=!0,n())}},p=function(a){return function(){return a.active=!1}},w=function(a){a.observeMutations&&(a.observer=new MutationObserver(u(a,1)),a.observer.observe(a.element,a.observeMutations))},k={minSize:16,maxSize:512,multiLine:!0,observeMutations:"MutationObserver"in a&&{subtree:!0,childList:!0,characterData:!0}},y=null,x=function(){a.clearTimeout(y),y=a.setTimeout(i(2),M.observeWindowDelay)},z=["resize","orientationchange"];return Object.defineProperty(M,"observeWindow",{set:function(r){var t="".concat(r?"add":"remove","EventListener");z.forEach((function(r){a[t](r,x)}))}}),M.observeWindow=!0,M.observeWindowDelay=100,M.fitAll=i(t),M}function q(a,r){var e=Object.assign({},k,r),i=a.map((function(a){var r=Object.assign({},e,{element:a,active:!0});return function(a){a.originalStyle={whiteSpace:a.element.style.whiteSpace,display:a.element.style.display,fontSize:a.element.style.fontSize},w(a),a.newbie=!0,a.dirty=!0,o.push(a)}(r),{element:a,fit:u(r,t),unfreeze:f(r),freeze:p(r),unsubscribe:h(r)}}));return n(),i}function M(a){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof a?q(r(document.querySelectorAll(a)),t):q([a],t)[0]}}("undefined"==typeof window?null:window)),l.exports),c=n(v);const d=["bg-brand-maggioli-05","bg-label-amaranth-05","bg-label-aqua-05","bg-label-blue-05","bg-label-green-05","bg-label-lime-05","bg-label-orange-05","bg-label-orchid-05","bg-label-purple-05","bg-label-red-05","bg-label-sky-05","bg-label-violet-05","bg-label-yellow-05","bg-status-error-05","bg-status-info-05","bg-status-success-05","bg-status-warning-05"],m=class{constructor(r){a(this,r),this.fallback=!1,this.loaded=!0,this.fittyInitialized=!1,this.textChanged=!1,this.variants=["amaranth","aqua","blue","error","green","info","lime","orange","orchid","primary","sky","success","violet","warning","yellow"],this.addFontResize=()=>{var a;if(this.fittyInitialized)return;const r=null===(a=this.element.shadowRoot)||void 0===a?void 0:a.querySelector(".fit");this.fittyElements=c(r,{minSize:10}),this.observer=new ResizeObserver((a=>{a.forEach((()=>{this.fittyElements.fit()}))})),this.observer.observe(this.element),this.fittyInitialized=!0},this.removeFontResize=()=>{this.fittyInitialized&&(this.fittyInitialized=!1,this.observer.unobserve(this.element))},this.checkText=a=>{if(""===a||void 0===a)this.fittyInitialized&&this.removeFontResize();else{if(this.fittyInitialized)return;this.fittyInitialized||this.addFontResize()}},this.handleImgLoadError=()=>{this.loaded=!0,this.fallback=!0},this.handleImgLoadSuccess=()=>{this.loaded=!0},this.hasCount=()=>{var a;const r=null!==(a=this.count)&&void 0!==a?a:0;return 0!==r&&!Number.isNaN(r)},this.checkTexts=()=>{var a;const r=null!==(a=this.initials)&&void 0!==a?a:"";""!==r&&this.checkText(r),this.hasCount()&&this.checkText(String(this.count))},this.checkInitialsVariant=()=>{var a;const r=null!==(a=this.initials)&&void 0!==a?a:"";if(""!==r){let a=r.toLowerCase().replace(/[^a-zA-Z0-9]+/g,"").substring(0,2);1===a.length&&(a+=a),this.variant=this.variants[(a.substring(0,1).charCodeAt(0)+a.substring(1,2).charCodeAt(0))%d.length]}}}componentWillLoad(){this.checkInitialsVariant()}componentDidLoad(){void 0!==this.src&&(this.loaded=!1),this.checkTexts()}componentDidRender(){this.textChanged&&(this.checkTexts(),this.textChanged=!1)}initialsHandler(){this.textChanged=!0,this.checkInitialsVariant()}countHandler(){this.textChanged=!0,this.checkInitialsVariant()}srcHandler(a){void 0===a&&(this.loaded=!0)}iconHandler(a){void 0!==a&&(this.loaded=!0)}render(){var a,o,n,s;const l=this.hasCount(),v=null!==(a=this.icon)&&void 0!==a?a:"",c=""!==v,d=""!==(null!==(o=this.initials)&&void 0!==o?o:""),m=""!==(null!==(n=this.src)&&void 0!==n?n:"");return r(t,{key:"87e19218bbfe6e9c79f5edd7b4dd0350572b4f84","pref-animation":i.state.animation,"pref-contrast":i.state.contrast},r("div",{key:"b8775a55b682778312539df8ba0d8107075873e1",class:e("avatar",d&&!this.fallback&&!m&&"avatar--initials",(this.fallback||!c&&!d&&!m)&&"avatar--fallback",c&&"avatar--icon",this.loaded?"avatar--loaded":"avatar--pending"),part:"wrapper"},d&&!l&&!this.fallback&&!m&&r("div",{key:"acea5faae52d0cfaaa8f03788a22c89c8f0095ad",class:"initials-text"},r("span",{key:"aedd03f85b197fc6ed24b4a0238804856145aa4c",class:"fit"},null===(s=this.initials)||void 0===s?void 0:s.substring(0,2))),l&&!this.fallback&&!m&&r("div",{key:"dd8af02204937c6558ab63b26d5993aa34e4df37",class:"initials-text"},r("span",{key:"fdf6930557054172bea785b8c6be0decb743887a",class:"fit"},"+",this.count)),m&&!l&&!this.fallback&&!c&&r("mds-img",{key:"4519cc0bd3e701abf9d7bdaf0189f2ca3bcd86ed",class:"image",loading:"lazy",onMdsImgLoadError:this.handleImgLoadError,onMdsImgLoadSuccess:this.handleImgLoadSuccess,part:"media",src:this.src}),c&&!d&&!l&&r("mds-icon",{key:"5958962b68d5797dd46f1322b0e12717bf70c93e",class:"icon",part:"icon",name:v}),(this.fallback||!c&&!d&&!l&&!m)&&r("i",{key:"e6509636da3e20d93144dde5f3ecce6f1cfc5506",class:"fallback-icon",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4s-4 1.79-4 4s1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>'})))}get element(){return o(this)}static get watchers(){return{initials:[{initialsHandler:0}],count:[{countHandler:0}],src:[{srcHandler:0}],icon:[{iconHandler: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-font-weight:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-img):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-avatar-background-color-pending:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-avatar-background-color:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-avatar-color:rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240))));--mds-avatar-radius:var(--radius-full,1000px);--mds-avatar-initials-padding:20%;--mds-avatar-transition-duration:var(--duration-200,.2s);--private-avatar-transition-duration:var(--mds-avatar-transition-duration);aspect-ratio:1;border-radius:var(--mds-avatar-radius,var(--radius-full,1000px));container:mds-avatar/inline-size;display:inline-flex;overflow:hidden;width:calc(var(--spacing,.0025rem)*1200)}.avatar{aspect-ratio:1;border-radius:var(--mds-avatar-radius,var(--radius-full,1000px));color:#0000;display:inline-flex;overflow:hidden;-webkit-transition-duration:var(--private-avatar-transition-duration);transition-duration:var(--private-avatar-transition-duration);transition-property:color,background-color,box-shadow,fill;width:100%}.avatar--pending{background-color:var(--mds-avatar-background-color-pending,rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208)))))}.avatar--loaded{animation:none}.avatar--fallback,.avatar--icon,.avatar--initials{background-color:var(--mds-avatar-background-color,rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204)))));-webkit-box-shadow:none;box-shadow:none}.avatar--fallback,.avatar--initials{display:flex;place-items:stretch stretch}.avatar--fallback,.avatar--icon{padding:20%}.avatar--initials{padding:30% var(--mds-avatar-initials-padding,20%) 25%}.image{aspect-ratio:1;border-radius:var(--mds-avatar-radius,var(--radius-full,1000px))}.fallback-icon{aspect-ratio:1;display:flex;fill:var(--mds-avatar-color,rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240)))));width:100%}.fallback-icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}.initials-text{font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);--tw-font-weight:var(--font-weight-bold,700);align-items:center;color:var(--mds-avatar-color,rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240)))));display:flex;font-weight:var(--font-weight-bold,700);height:100%;justify-content:center;text-transform:uppercase;-webkit-user-select:none;user-select:none;width:100%}.fit{display:inline-block;white-space:nowrap!important}.icon{fill:var(--mds-avatar-color,rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240)))));height:100%;-webkit-transition-duration:var(--private-avatar-transition-duration);transition-duration:var(--private-avatar-transition-duration);transition-property:fill;-webkit-transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));width:100%}@container (max-width:24px){.avatar--initials{padding:0 var(--mds-avatar-initials-padding,20%)}.initials-text{--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900)}}:host,:host([variant=primary]){--mds-avatar-background-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))));--mds-avatar-color:rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240))))}:is(:host,:host([variant=primary])):host([tone=weak]){--mds-avatar-background-color:rgb(var(--magma-accent-surface,var(--magma-tint-accent-surface,var(--variant-primary-09,220 224 231))));--mds-avatar-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))))}:host([variant=red]){--mds-avatar-background-color:rgb(var(--label-red-05,230 66 66));--mds-avatar-color:rgb(var(--label-red-10,252 233 233))}:host([variant=red]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-red-09,250 215 215));--mds-avatar-color:rgb(var(--label-red-05,230 66 66))}:host([variant=amaranth]){--mds-avatar-background-color:rgb(var(--label-amaranth-05,242 37 72));--mds-avatar-color:rgb(var(--label-amaranth-10,254 232 236))}:host([variant=amaranth]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-amaranth-09,253 214 221));--mds-avatar-color:rgb(var(--label-amaranth-05,242 37 72))}:host([variant=orchid]){--mds-avatar-background-color:rgb(var(--label-orchid-05,233 44 137));--mds-avatar-color:rgb(var(--label-orchid-10,253 231 242))}:host([variant=orchid]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-orchid-09,251 213 232));--mds-avatar-color:rgb(var(--label-orchid-05,233 44 137))}:host([variant=violet]){--mds-avatar-background-color:rgb(var(--label-violet-05,145 100 246));--mds-avatar-color:rgb(var(--label-violet-10,240 234 254))}:host([variant=violet]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-violet-09,229 218 253));--mds-avatar-color:rgb(var(--label-violet-05,145 100 246))}:host([variant=purple]){--mds-avatar-background-color:rgb(var(--label-purple-05,168 86 247));--mds-avatar-color:rgb(var(--label-purple-10,244 233 254))}:host([variant=purple]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-purple-09,235 216 253));--mds-avatar-color:rgb(var(--label-purple-05,168 86 247))}:host([variant=blue]){--mds-avatar-background-color:rgb(var(--label-blue-05,90 117 249));--mds-avatar-color:rgb(var(--label-blue-10,233 236 254))}:host([variant=blue]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-blue-09,216 222 254));--mds-avatar-color:rgb(var(--label-blue-05,90 117 249))}:host([variant=sky]){--mds-avatar-background-color:rgb(var(--label-sky-05,12 136 193));--mds-avatar-color:rgb(var(--label-sky-10,217 241 253))}:host([variant=sky]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-sky-09,185 231 251));--mds-avatar-color:rgb(var(--label-sky-05,12 136 193))}:host([variant=aqua]){--mds-avatar-background-color:rgb(var(--label-aqua-05,5 141 165));--mds-avatar-color:rgb(var(--label-aqua-10,199 245 253))}:host([variant=aqua]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-aqua-09,151 237 252));--mds-avatar-color:rgb(var(--label-aqua-05,5 141 165))}:host([variant=green]){--mds-avatar-background-color:rgb(var(--label-green-05,26 148 71));--mds-avatar-color:rgb(var(--label-green-10,206 247 221))}:host([variant=green]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-green-09,165 240 193));--mds-avatar-color:rgb(var(--label-green-05,26 148 71))}:host([variant=lime]){--mds-avatar-background-color:rgb(var(--label-lime-05,93 143 15));--mds-avatar-color:rgb(var(--label-lime-10,219 247 178))}:host([variant=lime]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-lime-09,189 239 111));--mds-avatar-color:rgb(var(--label-lime-05,93 143 15))}:host([variant=yellow]){--mds-avatar-background-color:rgb(var(--label-yellow-05,161 124 6));--mds-avatar-color:rgb(var(--label-yellow-10,253 236 186))}:host([variant=yellow]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-yellow-09,251 221 131));--mds-avatar-color:rgb(var(--label-yellow-05,161 124 6))}:host([variant=orange]){--mds-avatar-background-color:rgb(var(--label-orange-05,213 90 5));--mds-avatar-color:rgb(var(--label-orange-10,254 233 219))}:host([variant=orange]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-orange-09,253 217 191));--mds-avatar-color:rgb(var(--label-orange-05,213 90 5))}:host([variant=error]){--mds-avatar-background-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-avatar-color:rgb(var(--magma-danger-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=error]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-avatar-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=warning]){--mds-avatar-background-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-avatar-color:rgb(var(--magma-warning-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=warning]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-avatar-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([variant=info]){--mds-avatar-background-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-avatar-color:rgb(var(--magma-info-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=info]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-avatar-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([variant=success]){--mds-avatar-background-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-avatar-color:rgb(var(--magma-success-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=success]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-avatar-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 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-avatar-transition-duration:0s}:host([pref-contrast=more]) :is(.avatar--fallback,.avatar--icon,.avatar--initials){-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}@property --tw-font-weight{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-avatar-transition-duration:0s}}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) :is(.avatar--fallback,.avatar--icon,.avatar--initials){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a);box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a)}}';export{m as mds_avatar}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
System.register(["./p-DaONbL_w.system.js","./p-_X0N_X__.system.js","./p-Cg7Go_uc.system.js","./p-BTF_aRDG.system.js","./p-lozaO1BU.system.js","./p-hVpoPUxI.system.js"],(function(e){"use strict";var t,s,a,i,r,o,d,n,l,m;return{setters:[function(e){t=e.r;s=e.d;a=e.h;i=e.e;r=e.g},function(e){o=e.c},function(e){d=e.m},function(e){n=e.L},function(e){l=e.i},function(e){m=e.p}],execute:function(){var c='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5s5-2.24 5-5s-2.24-5-5-5zM2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1zm18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1zM11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1zm0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1zM5.99 4.58a.996.996 0 0 0-1.41 0a.996.996 0 0 0 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41L5.99 4.58zm12.37 12.37a.996.996 0 0 0-1.41 0a.996.996 0 0 0 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0a.996.996 0 0 0 0-1.41l-1.06-1.06zm1.06-10.96a.996.996 0 0 0 0-1.41a.996.996 0 0 0-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06zM7.05 18.36a.996.996 0 0 0 0-1.41a.996.996 0 0 0-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06z"/></svg>';var h='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M9.37 5.51A7.35 7.35 0 0 0 9.1 7.5c0 4.08 3.32 7.4 7.4 7.4c.68 0 1.35-.09 1.99-.27A7.014 7.014 0 0 1 12 19c-3.86 0-7-3.14-7-7c0-2.93 1.81-5.45 4.37-6.49zM12 3a9 9 0 1 0 9 9c0-.46-.04-.92-.1-1.36a5.389 5.389 0 0 1-4.4 2.26a5.403 5.403 0 0 1-3.14-9.8c-.44-.06-.9-.1-1.36-.1z"/></svg>';var f='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 3a9 9 0 1 0 9 9c0-.46-.04-.92-.1-1.36a5.389 5.389 0 0 1-4.4 2.26a5.403 5.403 0 0 1-3.14-9.8c-.44-.06-.9-.1-1.36-.1z"/></svg>';var u="Σκούρο";var v="Λειτουργία";var g="Ανοιχτό{{#forced}} (επιβεβλημένο στο Safari){{/forced}}";var b="Με βάση το λειτουργικό σύστημα";var y={darkMode:u,label:v,lightMode:g,systemSettings:b};var p="Dark";var k="Mode";var w="Light{{#forced}} (forced on Safari){{/forced}}";var x="Based on operating system";var M={darkMode:p,label:k,lightMode:w,systemSettings:x};var z="Oscura";var S="Modo";var T="Clara{{#forced}} (forzada en Safari){{/forced}}";var _="Basado en el sistema operativo";var j={darkMode:z,label:S,lightMode:T,systemSettings:_};var B="Scura";var C="Modalità";var O="Chiara{{#forced}} (forzata su Safari){{/forced}}";var D="Basato sul sistema operativo";var L={darkMode:B,label:C,lightMode:O,systemSettings:D};var P=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-tab,mds-tab-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-pref-mode-overlay-fadeout-duration:.2s;--mds-pref-mode-overlay-show-duration:.3s;--mds-pref-mode-overlay-z-index:var(--magma-theme-overlay-z-index,7000);display:grid;gap:calc(var(--spacing,.0025rem)*100)}.item{--mds-tab-item-default-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));flex-basis:0;flex-grow:1}.item--system{--mds-tab-item-selected-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))))}.item--light{--mds-tab-item-selected-color:rgb(var(--label-yellow-06,214 163 7))}.item--dark{--mds-tab-item-selected-color:rgb(var(--label-sky-06,47 182 243))}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .item{--mds-tab-item-default-color: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])) .item--light{--mds-tab-item-selected-color:rgb(var(--label-yellow-03,112 85 4))}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .item--dark{--mds-tab-item-selected-color:rgb(var(--label-sky-03,8 94 133))}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-contrast]))) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-contrast]))) .item--light{--mds-tab-item-selected-color:rgb(var(--label-yellow-03,112 85 4))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-contrast]))) .item--dark{--mds-tab-item-selected-color:rgb(var(--label-sky-03,8 94 133))}}"};var A=e("mds_pref_mode",/** @class */function(){function e(e){var a=this;t(this,e);this.prefChangeEvent=s(this,"mdsPrefChange",7);this.defaultMode="system";this.t=new n({el:y,en:M,es:j,it:L});this.localStorageAlias="mdsPrefMode";this.customPropertyAlias="--magma-pref-mode";this.overlayBackgroundVisible="rgb(var(--magma-surface-default))";this.overlayBackgroundHidden="rgb(var(--magma-surface-default) / 0)";this.cssOverlayShowDuration="300";this.cssOverlayFadeoutDuration="200";this.cssOverlayZIndex="6000";this.overlayId="mds-pref-mode-overlay";this.overlayShow=false;this.syncingFromStore=false;this.disabled=false;this.updateCSSCustomProps=function(){var e,t,s;if(typeof window==="undefined")return;var i=window.getComputedStyle(a.element);a.cssOverlayShowDuration=(e=i.getPropertyValue("--mds-pref-mode-overlay-show-duration"))!==null&&e!==void 0?e:"300";a.cssOverlayFadeoutDuration=(t=i.getPropertyValue("--mds-pref-mode-overlay-fadeout-duration"))!==null&&t!==void 0?t:"200";a.cssOverlayZIndex=(s=i.getPropertyValue("--mds-pref-mode-overlay-z-index"))!==null&&s!==void 0?s:"6000"};
|
|
2
|
+
/**
|
|
3
|
+
* Specifies the transition of switching from a mode to another one
|
|
4
|
+
*/this.transition="smooth";this.modes={dark:{selector:"pref-mode-dark",label:"darkMode"},system:{selector:"pref-mode-system",label:"systemSettings"},light:{selector:"pref-mode-light",label:"lightMode"}};
|
|
5
|
+
/**
|
|
6
|
+
* Follows a mode applied elsewhere (another instance, or a writer of the
|
|
7
|
+
* `<html>` classes) without applying it again: no event, no storage write.
|
|
8
|
+
*/this.syncMode=function(e){if(e===undefined||e===a.mode||a.disabled){return}a.syncingFromStore=true;a.mode=e;a.syncingFromStore=false};this.setMode=function(e){a.prefChangeEvent.emit({preference:"mode"});a.mode=e;localStorage.setItem(a.localStorageAlias,a.mode);if(typeof document!=="undefined"){var t=document.querySelector("html");for(var s in a.modes){if({}.hasOwnProperty.call(a.modes,s)){t===null||t===void 0?void 0:t.classList.remove(a.modes[s].selector)}}t===null||t===void 0?void 0:t.classList.add(a.modes[e].selector);t===null||t===void 0?void 0:t.style.setProperty(a.customPropertyAlias,a.mode)}m.state.mode=e};this.isDarkMode=function(){return window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches};this.getColorScheme=function(e){if(e!==undefined){if(e==="system"){return a.isDarkMode()?"dark":"light"}return e}if(a.mode==="system"){return a.isDarkMode()?"dark":"light"}return a.mode};this.instanceOverlay=function(){if(a.overlayEl==null){a.overlayEl=document.createElement("div");a.overlayEl.className=a.overlayId;a.overlayEl.style.inset="0";a.overlayEl.style.pointerEvents="none";a.overlayEl.style.position="fixed";a.overlayEl.style.transition="background-color ".concat(a.cssOverlayFadeoutDuration," ease-out");a.overlayEl.style.zIndex=a.cssOverlayZIndex}a.overlayEl.style.backgroundColor=a.overlayBackgroundHidden};this.attachFlashOverlayTransition=function(){a.overlayShow=true;a.instanceOverlay();a.overlayEl.style.backgroundColor=a.overlayBackgroundVisible;document.body.appendChild(a.overlayEl);clearTimeout(a.overlayTimer);a.overlayTimer=setTimeout((function(){a.overlayShow=false;a.detachOverlayTransition()}),o(a.cssOverlayShowDuration))};this.attachSmoothOverlayTransition=function(e){a.overlayShow=true;a.instanceOverlay();document.body.appendChild(a.overlayEl);clearTimeout(a.overlaySmoothTimer);a.overlaySmoothTimer=setTimeout((function(){a.overlayEl.style.backgroundColor=a.overlayBackgroundVisible;clearTimeout(a.overlayTimer);a.overlayTimer=setTimeout((function(){a.setMode(e);clearTimeout(a.overlayTimer);a.overlayTimer=setTimeout((function(){a.overlayShow=false;a.detachOverlayTransition()}),o(a.cssOverlayFadeoutDuration))}),o(a.cssOverlayShowDuration))}),1)};this.isModeDisabled=function(e){if(a.disabled){return true}if(a.lockedScheme==="light"){return e==="dark"}if(a.lockedScheme==="dark"){return e==="light"}return false};this.changeMode=function(e){if(a.isModeDisabled(e)){return}var t=a.getColorScheme();var s=a.getColorScheme(e);if(t===s){a.setMode(e);return}switch(a.transition){case"none":a.setMode(e);break;case"flash":a.setMode(e);a.attachFlashOverlayTransition();break;case"smooth":a.attachSmoothOverlayTransition(e);break;default:a.setMode(e);break}};this.handleModeClick=function(e){return function(){if(a.overlayShow){return}a.changeMode(e)}}}
|
|
9
|
+
// The stored mode is applied once, on load. After that each instance only mirrors
|
|
10
|
+
// the shared store: re-applying its own `mode` on every render made a second
|
|
11
|
+
// instance (a controller next to a settings page) revert what the other one chose.
|
|
12
|
+
e.prototype.componentWillLoad=function(){var e,t;if(!l()){this.setMode((t=(e=this.mode)!==null&&e!==void 0?e:localStorage.getItem(this.localStorageAlias))!==null&&t!==void 0?t:this.defaultMode);return}this.disabled=true;this.mode="light"};e.prototype.connectedCallback=function(){this.unsubscribeStore=m.onChange("mode",this.syncMode)};e.prototype.disconnectedCallback=function(){var e;(e=this.unsubscribeStore)===null||e===void 0?void 0:e.call(this)};e.prototype.componentDidLoad=function(){this.updateCSSCustomProps()};e.prototype.modeChanged=function(e,t){if(e===t||this.syncingFromStore){return}this.setMode(e)};e.prototype.detachOverlayTransition=function(){var e=this;if(this.overlayEl==null){return}this.overlayEl.style.backgroundColor=this.overlayBackgroundHidden;clearTimeout(this.overlayTimer);this.overlayTimer=setTimeout((function(){e.overlayEl.remove()}),o(this.cssOverlayFadeoutDuration))};e.prototype.render=function(){var e,t;return a(i,{key:"38b5a158f45cd24c544afceb41f0baf1e04910da","pref-contrast":m.state.contrast,"pref-mode":m.state.mode,"pref-theme-scheme":m.state["theme-scheme"]},a("mds-text",{key:"cc086f42401d84ab5ae370d406ba5e6b28cf1d29",class:"info",typography:"caption"},a("b",{key:"945bdb711e6038f86f3bf5ffcaaafb4c362191e5"},this.t.get("label"))," ",this.disabled?this.t.get(this.modes[(e=this.mode)!==null&&e!==void 0?e:this.defaultMode].label,{forced:true}):this.t.get(this.modes[(t=this.mode)!==null&&t!==void 0?t:this.defaultMode].label,{forced:false})),a("mds-tab",{key:"d40d4317bdcd1bf41b5d516c0d8a6c5c2f6e6689",fill:true,size:this.size},a("mds-tab-item",{key:"13ddcc4bab79d042f1171d383c800eb309c59299",disabled:this.isModeDisabled("light"),selected:this.mode==="light",onClick:this.handleModeClick("light"),class:"item item--light",icon:c,title:this.t.get(this.modes.light.label,{forced:false})}),a("mds-tab-item",{key:"84b9c4484e359a81e0cc57f447bc911c723aea30",disabled:this.isModeDisabled("system"),selected:this.mode==="system",onClick:this.handleModeClick("system"),class:"item item--system",icon:d,title:this.t.get(this.modes.system.label)}),a("mds-tab-item",{key:"6d4092d1145c98051a4fb526ca24e1d6caa1e900",disabled:this.isModeDisabled("dark"),selected:this.mode==="dark",onClick:this.handleModeClick("dark"),class:"item item--dark",icon:this.mode==="dark"?f:h,title:this.t.get(this.modes.dark.label)})))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{mode:[{modeChanged:0}]}},enumerable:false,configurable:true});return e}());A.style=P()}}}));
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
System.register(["./p-DaONbL_w.system.js","./p-hVpoPUxI.system.js"],(function(t){"use strict";var e,i,a,o,n,r;return{setters:[function(t){e=t.r;i=t.h;a=t.e;o=t.g},function(t){n=t.a;r=t.p}],execute:function(){var s={action:{tag:"span",selector:{default:"text-title-action",title:"text-title-action"}},caption:{tag:"span",selector:{default:"text-info-caption",info:"text-info-caption",read:"text-read-caption"}},detail:{tag:"p",selector:{default:"text-info-detail",info:"text-info-detail",read:"text-read-detail"}},h1:{tag:"h1",selector:{default:"text-title-h1",title:"text-title-h1"}},h2:{tag:"h2",selector:{default:"text-title-h2",title:"text-title-h2"}},h3:{tag:"h3",selector:{default:"text-title-h3",title:"text-title-h3"}},h4:{tag:"h4",selector:{default:"text-title-h4",title:"text-title-h4"}},h5:{tag:"h5",selector:{default:"text-title-h5",title:"text-title-h5"}},h6:{tag:"h6",selector:{default:"text-title-h6",title:"text-title-h6"}},hack:{tag:"code",selector:{default:"text-code-hack",mono:"text-code-hack"}},label:{tag:"label",selector:{default:"text-info-label",info:"text-info-label"}},option:{tag:"label",selector:{default:"text-info-option",info:"text-info-option"}},paragraph:{tag:"p",selector:{default:"text-info-paragraph",secondary:"text-secondary-paragraph",info:"text-info-paragraph",read:"text-read-paragraph"}},snippet:{tag:"code",selector:{default:"text-code-snippet",mono:"text-code-snippet"}},tip:{tag:"div",selector:{default:"text-info-tip",info:"text-info-tip"}}};var h=2147483647;var l=function(t){return t*16807%h};var g=function(t){return l(t)/h};var f=function(t){return l(t)};var m=function(t){if(t===void 0){t=1}var e=t<1?1:t;var i=function(){e=f(e);return e};return{random:function(){return i()},randomFloat:function(){return g(i())},range:function(t,e){var a=t-.4999;var o=e+.4999;return Math.round(a+(o-a)*g(i()))},rangeFloat:function(t,e){return t+(e-t)*g(i())}}};
|
|
2
|
+
// export const strToCharCodeArray: string => number[] = str => str.split('').map(item => item.charCodeAt(0));
|
|
3
|
+
var c=function(t){return t.split("").map((function(t){return t.charCodeAt(0)}))};var p=function(){return(Math.round(Math.random())-.5)*2};var d=function(t,e){return function(i){if(i>e)return t+(i-e);if(i<t)return e+(i-t);return i}};var v=m();var u=function(t,e){return function(){return(t+v.range(0,e))*p()}};var x=function(t,e){return function(i){return c(i).map(u(t,e))}};var w=function(t){var e=t.str,i=t.minCharCode,a=t.maxCharCode,o=t.placeholderChar,n=t.charStep;return function(t){return t.reduce((function(t,r,s){if(r!==0){if(Math.abs(r)>n){return t+o}return t+String.fromCharCode(d(i,a)(e.charCodeAt(s)+r))}return t+e.charAt(s)}),"")}};var b=function(){};var y=/** @class */function(){function t(e){var i=this;this.start=function(){var t=i,e=t.frameOffset,a=t.charOffset,o=t.str,n=t.speed;var r=x(e,a)(o);i.stop();i.rafId=requestAnimationFrame((function(){i.step(r,n,n)}))};Object.assign(this,Object.assign(Object.assign({},t.defaults),e))}t.prototype.stop=function(){cancelAnimationFrame(this.rafId)};
|
|
4
|
+
/**
|
|
5
|
+
* Every frame advances the first `stepCount` characters towards their target and leaves
|
|
6
|
+
* the rest where they are. The whole array is mapped, not a `slice` of it: a character
|
|
7
|
+
* that has not started yet is still far from its target, so it comes out as the
|
|
8
|
+
* placeholder instead of coming out as nothing. The string therefore has its final
|
|
9
|
+
* length from the very first frame, which is what keeps the box from collapsing - an
|
|
10
|
+
* output of zero characters has no line box at all, and everything around it jumps.
|
|
11
|
+
*/t.prototype.step=function(t,e,i){var a=this;var o=this,n=o.str,r=o.charStep,s=o.minCharCode,h=o.maxCharCode,l=o.placeholderChar,g=o.onProgress,f=o.onComplete;var m=t.map((function(t,i){if(i>=e)return t;if(t>0)return t-1;if(t<0)return t+1;return 0}));var c=w({str:n,minCharCode:s,maxCharCode:h,placeholderChar:l,charStep:r})(m);var p=m;g(c);if(c!==n){this.rafId=requestAnimationFrame((function(){a.step(p,e+i,i)}))}else{f(c)}};return t}();y.defaults={str:"",speed:2,placeholderChar:"_",frameOffset:30,charOffset:20,charStep:10,minCharCode:32,maxCharCode:122,onProgress:b,onComplete:b};var z=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-font-weight:initial;--tw-ease:initial}}}: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-text-selection-background:rgb(var(--label-sky-09,185 231 251));--mds-text-selection-color:rgb(var(--label-sky-01,4 48 68));--mds-text-line-clamp:3;--mds-text-animation-speed:.5;--mds-text-animation-placeholder-char:" ";--mds-text-transition-duration:var(--duration-200,.2s);--private-text-transition-duration:var(--mds-text-transition-duration);display:flex;min-width:0}.text::selection{background-color:var(--mds-text-selection-background,rgb(var(--label-sky-09,185 231 251)));color:var(--mds-text-selection-color,rgb(var(--label-sky-01,4 48 68)))}.text{cursor:inherit;display:inherit}:host([animation=yugop]) .text{white-space:pre-wrap}:host([typography=snippet]){font-family:var(--font-code,"Roboto Mono","Courier New",monospace);font-size:var(--text-size-code-snippet,1rem);font-weight:var(--tw-font-weight,var(--text-size-code-snippet--font-weight,400));line-height:var(--tw-leading,var(--text-size-code-snippet--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=hack]){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}:host([typography=h1]){font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-title-h1,3rem);font-weight:var(--tw-font-weight,var(--text-size-title-h1--font-weight,900));letter-spacing:var(--tw-tracking,var(--text-size-title-h1--letter-spacing,-.025em));line-height:var(--tw-leading,var(--text-size-title-h1--line-height,3rem));min-height:auto;text-box:trim-both text;--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=h2]){font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-title-h2,2.25rem);font-weight:var(--tw-font-weight,var(--text-size-title-h2--font-weight,900));letter-spacing:var(--tw-tracking,var(--text-size-title-h2--letter-spacing,-.025em));line-height:var(--tw-leading,var(--text-size-title-h2--line-height,2.5rem));min-height:auto;text-box:trim-both text;--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=h3]){font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-title-h3,1.875rem);font-weight:var(--tw-font-weight,var(--text-size-title-h3--font-weight,900));letter-spacing:var(--tw-tracking,var(--text-size-title-h3--letter-spacing,-.025em));line-height:var(--tw-leading,var(--text-size-title-h3--line-height,2.25rem));min-height:auto;text-box:trim-both text;--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=h4]){font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-title-h4,1.5rem);font-weight:var(--tw-font-weight,var(--text-size-title-h4--font-weight,900));letter-spacing:var(--tw-tracking,var(--text-size-title-h4--letter-spacing,-.025em));line-height:var(--tw-leading,var(--text-size-title-h4--line-height,2rem));min-height:auto;text-box:trim-both text;--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=h5]){font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-title-h5,1.25rem);font-weight:var(--tw-font-weight,var(--text-size-title-h5--font-weight,900));letter-spacing:var(--tw-tracking,var(--text-size-title-h5--letter-spacing,-.025em));line-height:var(--tw-leading,var(--text-size-title-h5--line-height,1.75rem));min-height:auto;text-box:trim-both text;--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=h6]){font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-title-h6,1rem);font-weight:var(--tw-font-weight,var(--text-size-title-h6--font-weight,700));letter-spacing:var(--tw-tracking,var(--text-size-title-h6--letter-spacing,-.025em));line-height:var(--tw-leading,var(--text-size-title-h6--line-height,1.5rem));min-height:auto;text-box:trim-both text;--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=h1]),:host([typography=h2]),:host([typography=h3]),:host([typography=h4]),:host([typography=h5]),:host([typography=h6]){text-wrap:balance}:host([typography=action]){font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-title-action,.875rem);font-weight:var(--tw-font-weight,var(--text-size-title-action--font-weight,500));line-height:var(--tw-leading,var(--text-size-title-action--line-height,1.5rem));min-height:auto;text-box:trim-both text;--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=paragraph]){font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-paragraph,1.25rem);font-weight:var(--tw-font-weight,var(--text-size-info-paragraph--font-weight,400));line-height:var(--tw-leading,var(--text-size-info-paragraph--line-height,2rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=detail]){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}:host([typography=caption]){font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-caption,.875rem);font-weight:var(--tw-font-weight,var(--text-size-info-caption--font-weight,400));line-height:var(--tw-leading,var(--text-size-info-caption--line-height,1.25rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=caption]),:host([typography=detail]),:host([typography=paragraph]){text-wrap:pretty}:host([typography=label]){font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-label,.75rem);font-weight:var(--tw-font-weight,var(--text-size-info-label--font-weight,700));line-height:var(--tw-leading,var(--text-size-info-label--line-height,1rem));min-height:auto;text-box:trim-both cap alphabetic;--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=tip]){font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-tip,.75rem);font-weight:var(--tw-font-weight,var(--text-size-info-tip--font-weight,400));line-height:var(--tw-leading,var(--text-size-info-tip--line-height,1rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=option]){font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-option,.625rem);font-weight:var(--tw-font-weight,var(--text-size-info-option--font-weight,700));letter-spacing:var(--tw-tracking,var(--text-size-info-option--letter-spacing,-.025em));line-height:var(--tw-leading,var(--text-size-info-option--line-height,.625rem));min-height:auto;text-box:trim-both cap alphabetic;--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=paragraph][variant=read]){font-family:var(--font-read,"Merriweather",Times,"Times New Roman",serif);font-size:var(--text-size-read-paragraph,1.25rem);font-weight:var(--tw-font-weight,var(--text-size-read-paragraph--font-weight,300));line-height:var(--tw-leading,var(--text-size-read-paragraph--line-height,2rem));min-height:auto;text-box:trim-both text;--tw-font-weight:var(--font-weight-light,300);font-weight:var(--font-weight-light,300);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=detail][variant=read]){font-family:var(--font-read,"Merriweather",Times,"Times New Roman",serif);font-size:var(--text-size-read-detail,1rem);font-weight:var(--tw-font-weight,var(--text-size-read-detail--font-weight,300));line-height:var(--tw-leading,var(--text-size-read-detail--line-height,1.5rem));min-height:auto;text-box:trim-both text;--tw-font-weight:var(--font-weight-light,300);font-weight:var(--font-weight-light,300);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=caption][variant=read]){font-family:var(--font-read,"Merriweather",Times,"Times New Roman",serif);font-size:var(--text-size-read-caption,.875rem);font-weight:var(--tw-font-weight,var(--text-size-read-caption--font-weight,400));line-height:var(--tw-leading,var(--text-size-read-caption--line-height,1.25rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([tag=article]),:host([tag=blockquote]),:host([tag=dd]),:host([tag=details]),:host([tag=div]),:host([tag=dl]),:host([tag=dt]),:host([tag=figcaption]),:host([tag=h1]),:host([tag=h2]),:host([tag=h3]),:host([tag=h4]),:host([tag=h5]),:host([tag=h6]),:host([tag=label]),:host([tag=legend]),:host([tag=li]),:host([tag=ol]),:host([tag=p]),:host([tag=pre]),:host([tag=summary]),:host([tag=ul]){display:block}:host([tag=abbr]),:host([tag=address]),:host([tag=b]),:host([tag=bdo]),:host([tag=cite]),:host([tag=code]),:host([tag=del]),:host([tag=dfn]),:host([tag=em]),:host([tag=i]),:host([tag=ins]),:host([tag=kbd]),:host([tag=mark]),:host([tag=q]),:host([tag=rb]),:host([tag=rt]),:host([tag=ruby]),:host([tag=s]),:host([tag=samp]),:host([tag=small]),:host([tag=span]),:host([tag=strong]),:host([tag=sub]),:host([tag=sup]),:host([tag=time]),:host([tag=u]),:host([tag=var]){display:inline}:host([tag=code]){--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));border-radius:var(--radius-3xs,4px);-webkit-box-shadow:rgb(var(--magma-border-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196)))) 0 0 0 1px;box-shadow:rgb(var(--magma-border-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196)))) 0 0 0 1px;color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));padding-block:calc(var(--spacing,.0025rem)*25);padding-inline:calc(var(--spacing,.0025rem)*100);-webkit-transition-duration:var(--private-text-transition-duration);transition-duration:var(--private-text-transition-duration);transition-property:color,background-color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host([truncate]) .text{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis}:host([truncate=word]) .text{white-space:nowrap}@supports (line-clamp:1){:host([truncate=all]) .text{line-clamp:var(--mds-text-line-clamp,1)}}@supports (display:-webkit-box){:host([truncate=all]) .text{-webkit-line-clamp:var(--mds-text-line-clamp,1);-webkit-box-orient:vertical;display:-webkit-box}}abbr,address,article,b,bdo,blockquote,cite,code,dd,del,details,dfn,div,dl,dt,em,figcaption,h1,h2,h3,h4,h5,h6,i,ins,kbd,label,legend,li,mark,ol,p,pre,q,rb,rt,ruby,s,samp,small,span,strong,sub,summary,sup,time,u,ul,var,wbr{font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;overflow:inherit;text-overflow:inherit}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}'};var k=t("mds_text",/** @class */function(){function t(t){var i=this;e(this,t);this.cssTextAnimationSpeed=2;this.cssTextAnimationPlaceholderChar=" ";this.randomTextOptions={speed:this.cssTextAnimationSpeed,placeholderChar:this.cssTextAnimationPlaceholderChar,frameOffset:10,charOffset:20,charStep:15};
|
|
12
|
+
/**
|
|
13
|
+
* Specifies if the text is animated when it is rendered
|
|
14
|
+
*/this.animation="none";
|
|
15
|
+
/**
|
|
16
|
+
* Specifies the font typography of the element
|
|
17
|
+
*/this.typography="detail";this.animateText=function(t){var e;var a=(e=i.host.shadowRoot)===null||e===void 0?void 0:e.querySelector(".text");i.randomTextOptions.speed=i.cssTextAnimationSpeed;i.randomTextOptions.placeholderChar=i.cssTextAnimationPlaceholderChar;
|
|
18
|
+
// console.info('animateText', this.cssTextAnimationPlaceholderChar)
|
|
19
|
+
i.randomText=new y(Object.assign({str:t,onProgress:function(t){a.innerHTML=t}},i.randomTextOptions));i.randomText.start()};this.updateCSSCustomProps=function(){if(typeof window==="undefined")return;var t=window.getComputedStyle(i.host);i.cssTextAnimationSpeed=Number(t.getPropertyValue("--mds-text-animation-speed"));var e=t.getPropertyValue("--mds-text-animation-placeholder-char");if(e==='" "'||e==="' '"){i.cssTextAnimationPlaceholderChar=" ";return}i.cssTextAnimationPlaceholderChar=e}}t.prototype.componentWillRender=function(){var t,e;
|
|
20
|
+
// Stencil sets a string @Prop to null when its attribute is removed, so `typography` can be
|
|
21
|
+
// outside TypographyType at runtime and the lookup misses; fall back to the documented default
|
|
22
|
+
// instead of throwing out of the lifecycle.
|
|
23
|
+
var i=((t=s[this.typography])!==null&&t!==void 0?t:s.detail).tag;this.tag=(e=this.tag)!==null&&e!==void 0?e:i};t.prototype.componentDidLoad=function(){if(this.animation==="yugop")this.updateCSSCustomProps()};t.prototype.textHandler=function(t){var e;if(this.animation==="none"){return}if(this.randomText!=null){this.randomText.stop()}if(t===undefined||t===""){return}
|
|
24
|
+
// The scramble is a rAF loop writing innerHTML: no stylesheet can hold it back, so it
|
|
25
|
+
// asks. The text is written out here rather than left to the render, because the loop
|
|
26
|
+
// may already have replaced the node the renderer holds.
|
|
27
|
+
if(n()){var i=(e=this.host.shadowRoot)===null||e===void 0?void 0:e.querySelector(".text");if(i){i.textContent=t}return}this.animateText(t)};t.prototype.render=function(){var t;return i(a,{key:"468c9b04797da9ab100c89474a7a67313aac829b","pref-animation":r.state.animation},i(this.tag,{key:"245ab42bd31cd0cb4be371f074fee956d3c1c13c",class:"text"},((t=this.text)!==null&&t!==void 0?t:"")===""?i("slot",null):this.text))};Object.defineProperty(t.prototype,"host",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{text:[{textHandler:0}]}},enumerable:false,configurable:true});return t}());k.style=z()}}}));
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
var __spreadArray=this&&this.__spreadArray||function(t,i,n){if(n||arguments.length===2)for(var e=0,r=i.length,s;e<r;e++){if(s||!(e in i)){if(!s)s=Array.prototype.slice.call(i,0,e);s[e]=i[e]}}return t.concat(s||Array.prototype.slice.call(i))};System.register(["./p-DaONbL_w.system.js","./p-BS7eEvwu.system.js","./p-BTF_aRDG.system.js","./p-hVpoPUxI.system.js"],(function(t){"use strict";var i,n,e,r,s,a;return{setters:[function(t){i=t.r;n=t.h;e=t.e;r=t.g},function(t){s=t.s},function(t){a=t.L},null],execute:function(){var u="Ψηφίο {{position}} από {{length}}";var o={digit:u};var l="Digit {{position}} of {{length}}";var f={digit:l};var h="Dígito {{position}} de {{length}}";var v={digit:h};var c="Cifra {{position}} di {{length}}";var d={digit:c};var p=function(){return"@layer reset,vendor,theme,base,components,utilities;:host{display:inline-flex;gap:calc(var(--spacing,.0025rem)*400)}.input{width:calc(var(--spacing,.0025rem)*1200)}.input::part(field){text-align:center}.input::part(tip-count),.input::part(tip-top){display:none}"};var g=t("mds_input_otp",/** @class */function(){function t(t){var n=this;i(this,t);if(t.$hostElement$["s-ei"]){this.internals=t.$hostElement$["s-ei"]}else{this.internals=t.$hostElement$.attachInternals();t.$hostElement$["s-ei"]=this.internals}
|
|
2
|
+
// the value of load, which a form reset brings back as the value attribute of a native input
|
|
3
|
+
this.loadValue="";
|
|
4
|
+
// the digit of each cell, by position: value joins them and drops the empty ones
|
|
5
|
+
this.digits=[];
|
|
6
|
+
// the disabled state of the host as a form control: its own disabled, or a disabled fieldset
|
|
7
|
+
// around it, which disables the host but not the cells in its shadow root
|
|
8
|
+
this.formDisabled=false;this.t=new a({el:o,en:f,es:v,it:d});
|
|
9
|
+
/**
|
|
10
|
+
* Number of digits in the OTP code
|
|
11
|
+
*/this.length=6;
|
|
12
|
+
/**
|
|
13
|
+
* Automatically submits the form when the OTP code is complete
|
|
14
|
+
*/this.autosubmit=false;
|
|
15
|
+
/**
|
|
16
|
+
* Disables every cell of the code, like a disabled native input: the code cannot be changed and
|
|
17
|
+
* is left out of the form. A disabled `<fieldset>` around the component does the same.
|
|
18
|
+
*/this.disabled=false;
|
|
19
|
+
/**
|
|
20
|
+
* The current value of the OTP code: a value set in the markup or by code fills the cells from
|
|
21
|
+
* the first one
|
|
22
|
+
*/this.value="";this.isDisabled=function(){return!!n.disabled||n.formDisabled};this.setOtpDigit=function(t,i){var e=Array.from(n.element.shadowRoot.querySelectorAll("mds-input")).indexOf(t);var r=__spreadArray([],n.digits,true);r[e]=i;n.digits=r;n.updateValue()};this.submit=function(t){var i,e;var r=((i=n.value)!==null&&i!==void 0?i:"").length===n.length;t.blur();if(n.autosubmit&&r){(e=n.internals.form)===null||e===void 0?void 0:e.requestSubmit()}};this.handleKeyDown=function(t){if(t.ctrlKey){return}
|
|
23
|
+
// e.preventDefault() must be called *outside* the ctrlKey check,
|
|
24
|
+
// otherwise the onPaste event won't be triggered correctly
|
|
25
|
+
t.preventDefault();if(isNaN(Number(t.key))){return}var i=t.target;n.setOtpDigit(i,t.key);var e=i.nextElementSibling;if(e!=null){e.setFocus()}else{n.submit(i)}};this.handlePaste=function(t){var i,e;t.preventDefault();var r=(i=t.clipboardData)===null||i===void 0?void 0:i.getData("text");if(isNaN(Number(r))){return}var s=(e=r===null||r===void 0?void 0:r.split(""))!==null&&e!==void 0?e:[];var a=t.target;for(var u=0,o=s;u<o.length;u++){var l=o[u];n.setOtpDigit(a,l);a=a.nextElementSibling;if(a!=null){a.setFocus()}else{n.submit(a);return}}};this.digitName=function(t){var i;var e=n.t.get("digit",{position:t+1,length:n.length});return((i=n.accessibleName)!==null&&i!==void 0?i:"")!==""?"".concat(n.accessibleName,", ").concat(e):e}}t.prototype.valueChanged=function(t){
|
|
26
|
+
// the value a typed digit writes already matches the cells
|
|
27
|
+
if((t!==null&&t!==void 0?t:"")===this.digits.join(""))return;this.fillCells(t!==null&&t!==void 0?t:"")};t.prototype.formDisabledCallback=function(t){this.formDisabled=t};
|
|
28
|
+
/** Like a native input, a form reset brings back the code of load. */t.prototype.formResetCallback=function(){this.fillCells(this.loadValue)};t.prototype.componentWillLoad=function(){var t;this.loadValue=(t=this.value)!==null&&t!==void 0?t:"";this.fillCells(this.loadValue)};
|
|
29
|
+
/** Puts a code in the cells, from the first one, as many digits as there are cells. */t.prototype.fillCells=function(t){this.digits=Array.from(t).slice(0,this.length);this.updateValue()};
|
|
30
|
+
/** Joins the cells into value, the code the form submits. */t.prototype.updateValue=function(){this.value=this.digits.join("");s(this.internals,this.value)};t.prototype.render=function(){var t=this;return n(e,{key:"a04c64edf256fa28b732e52380df22b2fa452ed7"},Array.from({length:this.length}).map((function(i,e){var r;return n("mds-input",{"aria-label":t.digitName(e),class:"input",disabled:t.isDisabled(),maxlength:1,onKeyDown:t.handleKeyDown,onPaste:t.handlePaste,value:(r=t.digits[e])!==null&&r!==void 0?r:""})})))};Object.defineProperty(t,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:[{valueChanged:0}]}},enumerable:false,configurable:true});return t}());g.style=p()}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{S as e}from"./p-BxPbQB28.js";const t=(()=>{let e;return(...t)=>{e&&clearTimeout(e),e=setTimeout((()=>{e=0,(e=>{e.forEach(((t,n)=>{const o=new Set;t.forEach((e=>{const t=e.deref();var n;t&&(!("isConnected"in(n=t))||n.isConnected)&&o.add(e)})),e.set(n,o)}))})(...t)}),2e3)}})(),n=e.forceUpdate,o=e.getRenderingRef,r=(e,t)=>{const n=e.indexOf(t);n>=0&&(e[n]=e[e.length-1],e.length--)},s={animation:["reduce","system","no-preference"],consumption:["low","medium","high"],contrast:["more","no-preference","system"],mode:["light","dark","system"],"theme-scheme":["light","dark","all"]},c=(()=>{const e=((e,t=(e,t)=>e!==t)=>{const n=()=>{return("function"==typeof(t=e)?t():t)??{};var t},o=n();let s=new Map(Object.entries(o));const c="undefined"!=typeof Proxy,a=c?null:{},u={dispose:[],get:[],set:[],reset:[]},d=new Map,i=()=>{s=new Map(Object.entries(n())),c||b(),u.reset.forEach((e=>e()))},f=e=>(u.get.forEach((t=>t(e))),s.get(e)),m=(e,n)=>{const o=s.get(e);t(n,o,e)&&(s.set(e,n),c||w(e),u.set.forEach((t=>t(e,n,o))))},l=c?new Proxy(o,{get:(e,t)=>f(t),ownKeys:()=>Array.from(s.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(e,t)=>s.has(t),set:(e,t,n)=>(m(t,n),!0)}):(b(),a),p=(e,t)=>(u[e].push(t),()=>{r(u[e],t)});function w(e){!c&&a&&(Object.prototype.hasOwnProperty.call(a,e)||Object.defineProperty(a,e,{configurable:!0,enumerable:!0,get:()=>f(e),set(t){m(e,t)}}))}function b(){if(c||!a)return;const e=new Set(s.keys());for(const t of Object.keys(a))e.has(t)||delete a[t];for(const t of e)w(t)}return{state:l,get:f,set:m,on:p,onChange:(e,t)=>{const o=(n,o)=>{n===e&&t(o)},r=()=>{const o=n();t(o[e])},s=p("set",o),c=p("reset",r);return d.set(t,{setHandler:o,resetHandler:r,propName:e}),()=>{s(),c(),d.delete(t)}},use:(...e)=>{const t=e.reduce(((e,t)=>(t.set&&e.push(p("set",t.set)),t.get&&e.push(p("get",t.get)),t.reset&&e.push(p("reset",t.reset)),t.dispose&&e.push(p("dispose",t.dispose)),e)),[]);return()=>t.forEach((e=>e()))},dispose:()=>{u.dispose.forEach((e=>e())),i()},reset:i,forceUpdate:e=>{const t=s.get(e);u.set.forEach((n=>n(e,t,t)))},removeListener:(e,t)=>{const n=d.get(t);n&&n.propName===e&&(r(u.set,n.setHandler),r(u.reset,n.resetHandler),d.delete(t))}}})({language:"en"},void 0);return e.use((()=>{if("function"!=typeof o||"function"!=typeof n)return{};const e=n,r=o,s=new WeakMap,c=new Map;return{dispose:()=>c.clear(),get:e=>{const t=r();t&&((e,t,n,o)=>{let r=t.get(o);r||(r=new WeakRef(o),t.set(o,r));let s=e.get(n);s||(s=new Set,e.set(n,s)),s.add(r)})(c,s,e,t)},set:n=>{const o=c.get(n);if(o){const t=new Set;o.forEach((n=>{const o=n.deref();o&&e(o)&&t.add(n)})),c.set(n,t)}t(c)},reset:()=>{c.forEach((t=>{t.forEach((t=>{const n=t.deref();n&&e(n)}))})),t(c)}}})()),e})(),a=s.mode;if("undefined"!=typeof localStorage)try{(e=>{const t=e.getItem("mdsPrefTheme");null!==t&&a.includes(t)&&(null===e.getItem("mdsPrefMode")&&e.setItem("mdsPrefMode",t),e.removeItem("mdsPrefTheme"));const n=e.getItem("mdsPrefThemeName");null!==n&&(null===e.getItem("mdsPrefTheme")&&e.setItem("mdsPrefTheme",n),e.removeItem("mdsPrefThemeName"))})(localStorage)}catch(e){}const u=()=>{var e;Object.keys(s).forEach((e=>{c.state[e]=(e=>{const t=s[e],{classList:n}=document.documentElement;return t.find((t=>n.contains(`pref-${e}-${t}`)))})(e)})),c.state["corner-shape"]=null!==(e=document.documentElement.getAttribute("data-corner-shape"))&&void 0!==e?e:void 0},d=()=>{c.state.language=document.documentElement.lang||"en"};"undefined"!=typeof document&&(u(),d(),"undefined"!=typeof MutationObserver&&(new MutationObserver(u).observe(document.documentElement,{attributes:!0,attributeFilter:["class","data-corner-shape"]}),new MutationObserver(d).observe(document.documentElement,{attributes:!0,attributeFilter:["lang"]})));const i=()=>{const e=c.state.animation;return"reduce"===e||"no-preference"!==e&&"undefined"!=typeof window&&"function"==typeof window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches};export{a as M,i as a,c as p}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,r,i,e){function a(t){return t instanceof i?t:new i((function(r){r(t)}))}return new(i||(i=Promise))((function(i,n){function o(t){try{c(e.next(t))}catch(t){n(t)}}function s(t){try{c(e["throw"](t))}catch(t){n(t)}}function c(t){t.done?i(t.value):a(t.value).then(o,s)}c((e=e.apply(t,r||[])).next())}))};var __generator=this&&this.__generator||function(t,r){var i={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},e,a,n,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=s(0),o["throw"]=s(1),o["return"]=s(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(r){return c([t,r])}}function c(s){if(e)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(i=0)),i)try{if(e=1,a&&(n=s[0]&2?a["return"]:s[0]?a["throw"]||((n=a["return"])&&n.call(a),0):a.next)&&!(n=n.call(a,s[1])).done)return n;if(a=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;a=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(n=i.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){i.label=s[1];break}if(s[0]===6&&i.label<n[1]){i.label=n[1];n=s;break}if(n&&i.label<n[2]){i.label=n[2];i.ops.push(s);break}if(n[2])i.ops.pop();i.trys.pop();continue}s=r.call(t,i)}catch(t){s=[6,t];a=0}finally{e=n=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-hVpoPUxI.system.js","./p-C0tqOovl.system.js","./p-BS7eEvwu.system.js","./p-CdsZyFQ-.system.js","./p-BTF_aRDG.system.js"],(function(t){"use strict";var r,i,e,a,n,o,s,c,u;return{setters:[function(t){r=t.r;i=t.d;e=t.h;a=t.e;n=t.g},function(t){o=t.p},function(t){s=t.m},function(t){c=t.s},function(t){u=t.u},null],execute:function(){var l=function(){return'@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))))}}'};var d=t("mds_input_select",/** @class */function(){function t(t){var e=this;r(this,t);this.changeEvent=i(this,"mdsInputSelectChange",7);if(t.$hostElement$["s-ei"]){this.internals=t.$hostElement$["s-ei"]}else{this.internals=t.$hostElement$.attachInternals();t.$hostElement$["s-ei"]=this.internals}
|
|
2
|
+
// true while value takes the selection of the native select, which must not be applied back:
|
|
3
|
+
// with multiple, selecting the first option alone would drop the others
|
|
4
|
+
this.adoptingSelection=false;
|
|
5
|
+
// @State() selected: boolean
|
|
6
|
+
this.hasFocus=false;
|
|
7
|
+
// the disabled state of the host as a form control: its own disabled, or a disabled fieldset
|
|
8
|
+
// around it, which disables the host but not the native control in its shadow root
|
|
9
|
+
this.formDisabled=false;
|
|
10
|
+
/**
|
|
11
|
+
* If true, the element is displayed as disabled
|
|
12
|
+
*/this.disabled=false;
|
|
13
|
+
/**
|
|
14
|
+
* Specifies that the element must be filled out before submitting the form
|
|
15
|
+
*/this.required=false;
|
|
16
|
+
/**
|
|
17
|
+
* Specifies if the select should allow multiple options to be selected in the list
|
|
18
|
+
*/this.multiple=false;
|
|
19
|
+
/**
|
|
20
|
+
* When `multiple` is set to `true`, represents the number or rows in the list that should be visible
|
|
21
|
+
*/this.size=0;
|
|
22
|
+
/**
|
|
23
|
+
* Specifies the value of the component
|
|
24
|
+
*/this.value="";this.isDisabled=function(){return!!e.disabled||e.formDisabled};this.onInput=function(){e.adoptSelection();e.syncSelection()};this.onBlur=function(){e.hasFocus=false};this.onFocus=function(){e.hasFocus=true};
|
|
25
|
+
// a removed attribute or a null bound by a framework counts as no placeholder, like ''
|
|
26
|
+
this.hasPlaceholder=function(){var t;return((t=e.placeholder)!==null&&t!==void 0?t:"")!==""};this.placeholderOption=function(){var t,r;return(r=(t=e.selectEl)===null||t===void 0?void 0:t.querySelector(".placeholder-option"))!==null&&r!==void 0?r:null};this.emptyOptions=function(){var t;var r=(t=e.host.shadowRoot)===null||t===void 0?void 0:t.querySelector("select");var i=r===null||r===void 0?void 0:r.querySelectorAll("option");if(!i){return}i.forEach((function(t,r){if(!e.hasPlaceholder()){t.remove()}if(e.hasPlaceholder()&&r>0){t.remove()}}))};this.onSlotChangeHandler=function(){var t,r,i;var a=(r=(t=e.host.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll("slot")[0])===null||r===void 0?void 0:r.assignedNodes();var n=(i=e.selectEl)===null||i===void 0?void 0:i.querySelectorAll("option");if(n==null){return}if(!e.hasPlaceholder()&&n.length>0){e.emptyOptions()}if(e.hasPlaceholder()&&n.length>1){e.emptyOptions()}a===null||a===void 0?void 0:a.forEach((function(t){var r;(r=e.selectEl)===null||r===void 0?void 0:r.appendChild(t.cloneNode(true))}));e.applySelection(true);e.syncSelection()}}
|
|
27
|
+
/**
|
|
28
|
+
* Sets the value of the component
|
|
29
|
+
*/t.prototype.setValue=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){this.value=t;return[2/*return*/,Promise.resolve()]}))}))};
|
|
30
|
+
/**
|
|
31
|
+
* Emits the change event when the component value changes
|
|
32
|
+
*/t.prototype.valueChanged=function(){if(this.adoptingSelection)return;this.applySelection(false);this.syncSelection()};t.prototype.requiredChanged=function(){this.updateFormValidity()};t.prototype.nameChanged=function(){this.updateFormValue(this.selectedValues())};
|
|
33
|
+
/** The values of the selected options, the placeholder left out. */t.prototype.selectedValues=function(){var t;if(this.selectEl==null){return((t=this.value)!==null&&t!==void 0?t:"")===""?[]:[this.value.toString()]}return Array.from(this.selectEl.selectedOptions).filter((function(t){return!t.classList.contains("placeholder-option")})).map((function(t){return t.value}))};
|
|
34
|
+
/**
|
|
35
|
+
* Reports the selection to the form and emits the change, once per selection: a single select
|
|
36
|
+
* submits its value, a multiple one an entry per selected option under `name`, as a native
|
|
37
|
+
* select.
|
|
38
|
+
*/t.prototype.syncSelection=function(){var t;var r=this.selectedValues();this.updateFormValue(r);this.updateFormValidity();var i=(t=this.value)===null||t===void 0?void 0:t.toString();var e=JSON.stringify([i,r]);if(e===this.emittedSelection)return;this.emittedSelection=e;this.changeEvent.emit({value:i,values:r})};t.prototype.updateFormValue=function(t){var r,i,e;if(!this.multiple){c(this.internals,(i=(r=this.value)===null||r===void 0?void 0:r.toString())!==null&&i!==void 0?i:null);return}var a=(e=this.name)!==null&&e!==void 0?e:"";if(a===""||t.length===0){c(this.internals,null);return}var n=new FormData;t.forEach((function(t){return n.append(a,t)}));c(this.internals,n)};
|
|
39
|
+
/**
|
|
40
|
+
* Reports to the form a required select left empty: like a native `required`, it stops the
|
|
41
|
+
* submit of its form.
|
|
42
|
+
*/t.prototype.updateFormValidity=function(){var t;var r=this.required&&((t=this.value)!==null&&t!==void 0?t:"")==="";u(this.internals,r?{rule:"requiredSelect"}:undefined,this.selectEl)};t.prototype.disabledChanged=function(t){
|
|
43
|
+
/**
|
|
44
|
+
* This is related to ALL disabled attributes set on Magma input components
|
|
45
|
+
* if solved, please check mds-button, mds-input, mds-input-*
|
|
46
|
+
* https://github.com/ionic-team/stencil/issues/5461
|
|
47
|
+
*/
|
|
48
|
+
if(t){c(this.internals,null)}};
|
|
49
|
+
/**
|
|
50
|
+
* This is for the react component because placeholder is valued after didload
|
|
51
|
+
* and therefore the placeholder option is drawn as the last option.
|
|
52
|
+
* Here the option is brought back to the first position
|
|
53
|
+
* @param newValue placeholder new value
|
|
54
|
+
* @param oldValue placeholder old value
|
|
55
|
+
*/t.prototype.placeholderChanged=function(t,r){if(this.selectEl==null)return;if(t!=null&&t!==""&&(r!==null&&r!==void 0?r:"")===""){
|
|
56
|
+
// the placeholder of this select, in its shadow root, not one of the page
|
|
57
|
+
var i=this.placeholderOption();if(i)i.remove();i=document.createElement("option");i.className="placeholder-option";this.selectEl.insertBefore(i,this.selectEl.firstChild);i.value="";i.text=t;if(this.defaultValue==null||this.defaultValue===""||this.defaultValue===0||Number.isNaN(this.defaultValue)){i.selected=true;this.value=undefined}if(this.required)i.disabled=true}};t.prototype.formDisabledCallback=function(t){this.formDisabled=t};
|
|
58
|
+
/**
|
|
59
|
+
* Like a native select, a form reset brings the options back to the selection of the markup,
|
|
60
|
+
* the placeholder when the markup selects none, and the value of load on top.
|
|
61
|
+
*/t.prototype.formResetCallback=function(){if(this.selectEl==null)return;var t=Array.from(this.selectEl.querySelectorAll("option"));t.forEach((function(t){t.selected=t.defaultSelected}));var r=this.placeholderOption();if(r&&this.hasPlaceholder()&&!t.some((function(t){return t.defaultSelected}))){r.selected=true}this.adoptingSelection=true;this.value=this.loadValue;this.adoptingSelection=false;this.applySelection(true);this.syncSelection()};t.prototype.componentWillLoad=function(){
|
|
62
|
+
// needed for react component, this prop should be used as default-value html attributo instead of defaultValue prop
|
|
63
|
+
if(this.defaultValue!=null&&this.defaultValue!==""&&this.defaultValue!==0&&!Number.isNaN(this.defaultValue)){this.value=this.defaultValue}this.loadValue=this.value};t.prototype.componentDidRender=function(){
|
|
64
|
+
// the select the message points at exists from the first render on
|
|
65
|
+
this.updateFormValidity()};t.prototype.componentDidLoad=function(){if(!this.multiple&&this.value!=null&&this.value!==""&&this.value!==0&&!Number.isNaN(this.value)){c(this.internals,this.value.toString())}};
|
|
66
|
+
/** Sets value to the selection of the native select, without applying it back. */t.prototype.adoptSelection=function(){if(this.selectEl==null)return;this.adoptingSelection=true;this.value=this.selectEl.value;this.adoptingSelection=false};
|
|
67
|
+
/**
|
|
68
|
+
* Applies value to the options. A value selects its option alone, as `select.value` does, with
|
|
69
|
+
* `multiple` too. Without a value, the select keeps the options the markup selects, or its own
|
|
70
|
+
* default, when `fromMarkup`; a value cleared by code clears the selection instead, down to the
|
|
71
|
+
* placeholder or, without one, the first option a single select falls back to.
|
|
72
|
+
*/t.prototype.applySelection=function(t){var r=this;if(this.selectEl==null)return;if(this.value!=null&&this.value!==""&&this.value!==0&&!Number.isNaN(this.value)){this.selectEl.querySelectorAll("option").forEach((function(t){t.selected=t.value===r.value}));return}if(t){this.adoptSelection();return}this.selectEl.querySelectorAll("option").forEach((function(t){t.selected=false}));var i=this.placeholderOption();if(i&&this.hasPlaceholder())i.selected=true;this.adoptSelection()};t.prototype.render=function(){var t=this;var r;return e(a,{key:"cbdd53b56d64ee8ace9cf091d86ec6a529415f7b","pref-animation":o.state.animation,"pref-contrast":o.state.contrast,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},e("select",{key:"df3ffc167f4452b6b098720eff7b01abf6088d84","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:function(r){return t.selectEl=r}},e("option",{key:"3372af1fe267f93fe42751dc264c8fa1be41a681",class:"placeholder-option",value:"",disabled:!this.required?undefined:true,selected:this.defaultValue!=null&&this.defaultValue!==""&&this.defaultValue!==0&&!Number.isNaN(this.defaultValue)?undefined:true},this.placeholder)),e("div",{key:"2054fdad7eb96317127f0a5f5d3545c51be98a6e",class:"icon-container"},e("mds-icon",{key:"8f7c8a2377912ec8c62b04f95fcb15b97c46deed",class:"icon",name:s})),e("div",{key:"f9b5a34c5f60d2a8d2c8ee8be5e8b8a0f3bd3800",class:"option-container"},e("slot",{key:"5c03186b7deca1d7bd2aba50b03f7bf7e6038f29",onSlotchange:this.onSlotChangeHandler})),e("mds-input-tip",{key:"b7013f98b08bfa532df0cc602cc0683c762af2b7",position:"top",active:this.hasFocus,part:"tip-top"},this.isDisabled()&&e("mds-input-tip-item",{key:"2519d758e2ca30c6886b39c0fffbe50a7d33f016",expanded:true,variant:"disabled"}),this.required&&e("mds-input-tip-item",{key:"a6db53481ffe5d62cd31a3eae0be3ad3c4b77828",expanded:this.hasFocus,variant:((r=this.value)!==null&&r!==void 0?r:"")===""?"required":"required-success"})))};Object.defineProperty(t,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"host",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:[{valueChanged:0}],required:[{requiredChanged:0}],name:[{nameChanged:0}],disabled:[{disabledChanged:0}],placeholder:[{placeholderChanged:0}]}},enumerable:false,configurable:true});return t}());d.style=l()}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,h as t,e as i,g as s}from"./p-BxPbQB28.js";import{m as e}from"./p-CvUz9jjh.js";import{m as r}from"./p-J-ikDhyq.js";import{L as o}from"./p-Kv1yahtR.js";import{p as d}from"./p-7-TP6wnI.js";import{k as n}from"./p-C4ckbXOl.js";var l={testKeyCombination:"Κάντε κλικ για να δοκιμάσετε τον συνδυασμό πληκτρολογώντας στο πληκτρολόγιο",testPassed:"Ο συνδυασμός είναι σωστός",wrongKeysCombination:"Ο συνδυασμός που πληκτρολογήσατε δεν φαίνεται να είναι σωστός. Δοκιμάστε ξανά."},c={testKeyCombination:"Click to test the combination by typing on the keyboard",testPassed:"The combination is correct",wrongKeysCombination:"The combination you entered does not seem to be correct. Please try again."},m={testKeyCombination:"Haz clic para probar la combinación escribiendo en el teclado",testPassed:"La combinación es correcta",wrongKeysCombination:"La combinación que introdujiste no parece ser correcta. Inténtalo de nuevo."},h={testKeyCombination:"Clicca per provare la combinazione digitando da tastiera",testPassed:"La combinazione è corretta",wrongKeysCombination:"La combinazione che hai digitato non sembra essere corretta, riprova."};const b=class{constructor(t){a(this,t),this.errors=new Set,this.keyEls=[],this.testInit=!1,this.pressedKeys=new Set,this.keyCombination=new Set,this.t=new o({el:l,en:c,es:m,it:h}),this.testPassed=void 0,this.initKeyboardTest=()=>{var a,t;this.testInit||(this.testInit=!0,this.updateElements(),this.shortcutsEl=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector(".shortcuts"),this.buttonTrigger=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".combination-checker"),this.buttonTrigger.removeAttribute("title"))},this.separateKeys=()=>{this.filteredNodes.forEach(((a,t)=>{if(t<this.filteredNodes.length-1){const t=document.createElement("mds-text");t.typography="detail",t.innerHTML="<b>+</b>",a.after(t)}}))},this.updateElements=()=>{this.filteredNodes.forEach((a=>{var t;const i=null!==(t=a.name)&&void 0!==t?t:"";""!==i&&(this.keyEls.push(a),this.keyCombination.add(this.keyCodes(i.toLowerCase()).toString()))}))},this.checkTest=()=>!0===this.testPassed?"pass":!1===this.testPassed?"fail":void 0,this.checkKeyboardShortcut=()=>{this.stopKeyboardShortcutTest(),this.testPassed=this.areEquivalent(this.keyCombination,this.pressedKeys),this.test=this.checkTest(),this.keyEls.forEach((a=>{a.removeAttribute("pressed")}))},this.keyCodes=a=>n[a.toLowerCase()].keyCodes,this.hasKeyCode=(a,t)=>n[a.toLowerCase()].keyCodes.includes(t),this.areEquivalent=(a,t)=>{const i=Array.from(a),s=Array.from(t);let e=!0;return i.length!==s.length?(this.errors.add("wrongKeysCombination"),!1):(e=i.every(((a,t)=>a.split(",").includes(s[t]))),e||this.errors.add("wrongKeysCombination"),e)},this.addKeyboardShortcut=a=>{if("undefined"==typeof document)return;a.stopPropagation(),a.preventDefault();const{code:t}=a;this.pressedKeys.add(t),this.keyEls.forEach((a=>{this.hasKeyCode(a.name,t)&&(a.pressed=!0)}))},this.startKeyboardShortcutTest=()=>{this.pressedKeys.clear(),this.testPassed=void 0,this.test=this.testPassed,this.buttonTrigger.blur(),this.buttonTrigger.await=!0,this.buttonTrigger.removeAttribute("tabindex"),this.shortcutsEl.setAttribute("tabindex","0"),this.shortcutsEl.focus(),this.shortcutsEl.addEventListener("blur",this.stopKeyboardShortcutTest),this.shortcutsEl.addEventListener("keydown",this.addKeyboardShortcut),this.shortcutsEl.addEventListener("keyup",this.checkKeyboardShortcut)},this.stopKeyboardShortcutTest=()=>{this.buttonTrigger.await=!1,this.buttonTrigger.setAttribute("tabindex","0"),this.shortcutsEl.removeAttribute("tabindex"),this.shortcutsEl.removeEventListener("blur",this.stopKeyboardShortcutTest),this.shortcutsEl.removeEventListener("keydown",this.addKeyboardShortcut),this.shortcutsEl.removeEventListener("keyup",this.checkKeyboardShortcut)},this.getButtonIcon=()=>"pass"===this.test?e:"fail"===this.test?r:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20 5H4c-1.1 0-1.99.9-1.99 2L2 17c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm-9 3h2v2h-2V8zm0 3h2v2h-2v-2zM8 8h2v2H8V8zm0 3h2v2H8v-2zm-1 2H5v-2h2v2zm0-3H5V8h2v2zm9 7H8v-2h8v2zm0-4h-2v-2h2v2zm0-3h-2V8h2v2zm3 3h-2v-2h2v2zm0-3h-2V8h2v2z"/></svg>'}disconnectedCallback(){this.testInit&&this.stopKeyboardShortcutTest()}handleTryProperty(a){a&&this.initKeyboardTest()}componentDidLoad(){var a,t;this.nodes=null===(t=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelectorAll("slot")[0])||void 0===t?void 0:t.assignedNodes(),this.filteredNodes=this.nodes.filter((a=>1===a.nodeType)),this.separateKeys(),this.try&&this.initKeyboardTest()}render(){return t(i,{key:"0f22438d7c2df4f9370f9daad1756c065720fded","pref-mode":d.state.mode,"pref-theme-scheme":d.state["theme-scheme"]},t("div",{key:"302124ad13826c7dc832a8d4dbfc3866f3bb5af9",class:"shortcuts"},t("slot",{key:"0e74fab3079d226dbb14d062e24f7e460984e1da"})),this.try&&t("mds-button",{key:"18ad345428615395f0a6e20453c57db4f8ed93f8",icon:this.getButtonIcon(),"aria-label":this.t.get("testKeyCombination"),class:"combination-checker",variant:"dark",tone:"text",onClick:this.startKeyboardShortcutTest}),this.try&&t("mds-tooltip",{key:"545d9abac32f56ce8199d75a1cc1dc114dd442ac",target:".combination-checker"},void 0===this.testPassed&&this.t.get("testKeyCombination"),!0===this.testPassed&&this.t.get("testPassed"),!1===this.testPassed&&t("div",{key:"f668a098b0b91658a9db962c2560d90169083a9c",class:"errors"},[...this.errors].map((a=>t("mds-text",{typography:"tip"},this.t.get(a)))))))}get host(){return s(this)}static get watchers(){return{try:[{handleTryProperty:0}]}}};b.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-text,mds-tooltip):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-background-default:var(--mds-keyboard-background,rgb(var(--tone-porcelain-08,201 208 219)));--mds-keyboard-background-fail:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-keyboard-background-pass:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-keyboard-background:rgb(var(--tone-porcelain-08,201 208 219));--mds-keyboard-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-keyboard-fill-fail:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-keyboard-fill-pass:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)));--mds-keyboard-illumination-dark-opacity:.05;--mds-keyboard-illumination-dark-size:calc(var(--spacing,.0025rem)*150);--mds-keyboard-illumination-dark:0 calc(var(--mds-keyboard-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) * -1) 0 0 rgb(0 0 0/var(--mds-keyboard-illumination-dark-opacity,.05)) inset;--mds-keyboard-illumination-light-opacity:.075;--mds-keyboard-illumination-light-size:calc(var(--spacing,.0025rem)*25);--mds-keyboard-illumination-light:0 var(--mds-keyboard-illumination-light-size,calc(var(--spacing,.0025rem)*25)) 0 0 rgb(255 255 255/var(--mds-keyboard-illumination-light-opacity,.075)) inset;--mds-keyboard-illumination-shadow:0 0 1px 0 #0000;--mds-keyboard-key-background:rgb(var(--tone-porcelain-10,235 237 241));--mds-keyboard-key-illumination-dark-opacity:.075;--mds-keyboard-key-illumination-light-opacity:.5;--mds-keyboard-key-illumination-shadow:var(--shadow-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-keyboard-padding:calc(var(--spacing,.0025rem)*200);--mds-keyboard-spinner-duration:1s;background-color:var(--mds-keyboard-background-default,rgb(var(--tone-porcelain-08,201 208 219)));border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));-webkit-box-shadow:var(--mds-keyboard-illumination-light),var(--mds-keyboard-illumination-dark),var(--mds-keyboard-illumination-shadow);box-shadow:var(--mds-keyboard-illumination-light),var(--mds-keyboard-illumination-dark),var(--mds-keyboard-illumination-shadow);color:var(--mds-keyboard-color,rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99)))));corner-shape:var(--magma-corner-shape,squircle);align-items:center;align-self:flex-start;display:inline-flex;gap:calc(var(--spacing,.0025rem)*200);justify-self:flex-start;padding:calc(var(--mds-keyboard-illumination-light-size,calc(var(--spacing,.0025rem) * 25)) + var(--mds-keyboard-padding,calc(var(--spacing,.0025rem) * 200))) var(--mds-keyboard-padding,calc(var(--spacing,.0025rem) * 200)) calc(var(--mds-keyboard-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) + var(--mds-keyboard-padding,calc(var(--spacing,.0025rem) * 200))) var(--mds-keyboard-padding,calc(var(--spacing,.0025rem) * 200));transition-duration:.2s;transition-property:background-color;-webkit-transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94));transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94));-webkit-user-select:none;user-select:none}.errors{display:grid}.errors,.shortcuts{gap:calc(var(--spacing,.0025rem)*100)}.shortcuts{align-items:center;display:inline-flex;outline:0}:host(:focus-within){--mds-keyboard-background:rgb(var(--tone-porcelain-07,179 189 204))}mds-tooltip{--mds-tooltip-delay:0}.combination-checker{--mds-button-await-duration:var(--mds-keyboard-spinner-duration,1s);border-radius:var(--radius-full,1000px)}::slotted(mds-keyboard-key){align-self:flex-end}:host([test=pass]){--mds-keyboard-background-default:var(--mds-keyboard-background-pass,rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205))))}:host([test=fail]){--mds-keyboard-background-default:var(--mds-keyboard-background-fail,rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211))))}:host([test=pass]) .combination-checker{background-color:var(--mds-keyboard-background-pass,rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205))));fill:var(--mds-keyboard-fill-pass,rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0))))}:host([test=fail]) .combination-checker{background-color:var(--mds-keyboard-background-fail,rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211))));fill:var(--mds-keyboard-fill-fail,rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0))))}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-keyboard-color:rgb(var(--tone-porcelain-01,4 5 6));--mds-keyboard-background:rgb(var(--tone-porcelain-07,179 189 204));--mds-keyboard-illumination-dark-opacity:.5;--mds-keyboard-illumination-light-opacity:.15;--mds-keyboard-illumination-shadow:0 0 3px 0 #ffffff80;--mds-keyboard-key-background:rgb(var(--tone-porcelain-06,153 168 187));--mds-keyboard-key-illumination-dark-opacity:.5;--mds-keyboard-key-illumination-light-opacity:.15;--mds-keyboard-key-illumination-shadow:0 0 1px 0 #ffffff80}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-keyboard-color:rgb(var(--tone-porcelain-01,4 5 6));--mds-keyboard-background:rgb(var(--tone-porcelain-07,179 189 204));--mds-keyboard-illumination-dark-opacity:.5;--mds-keyboard-illumination-light-opacity:.15;--mds-keyboard-illumination-shadow:0 0 3px 0 #ffffff80;--mds-keyboard-key-background:rgb(var(--tone-porcelain-06,153 168 187));--mds-keyboard-key-illumination-dark-opacity:.5;--mds-keyboard-key-illumination-light-opacity:.15;--mds-keyboard-key-illumination-shadow:0 0 1px 0 #ffffff80}}";export{b as mds_keyboard}
|