@maggioli-design-system/magma 2.0.1 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +72 -0
- package/agents/anti-patterns.md +39 -0
- package/agents/assets.md +203 -0
- package/agents/color.md +193 -0
- package/agents/components.md +129 -0
- package/agents/conventions.md +188 -0
- package/agents/install.md +169 -0
- package/agents/reporting.md +118 -0
- package/agents/theming.md +140 -0
- package/agents/typography.md +32 -0
- package/agents/variants.md +112 -0
- package/dist/cjs/floating-controller-uOCBLTk2.js +369 -0
- package/dist/cjs/form-Bk2OHlHM.js +46 -0
- package/dist/cjs/index-MyEb-PfD.js +198 -0
- package/dist/cjs/index-UmmmCMIG.js +5184 -0
- package/dist/cjs/index.cjs.js +63 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/locale-CnorkBwF.js +816 -0
- package/dist/cjs/magma-components.cjs.js +2 -2
- package/dist/cjs/mds-accordion-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +1 -1
- package/dist/cjs/mds-accordion.cjs.entry.js +2 -2
- package/dist/cjs/mds-author.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar.cjs.entry.js +2 -2
- package/dist/cjs/mds-badge.cjs.entry.js +2 -2
- package/dist/cjs/mds-banner_3.cjs.entry.js +6 -6
- package/dist/cjs/mds-benchmark-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-bibliography.cjs.entry.js +1 -1
- package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-breadcrumb.cjs.entry.js +3 -3
- package/dist/cjs/mds-button-dropdown.cjs.entry.js +38 -4
- package/dist/cjs/mds-button-group.cjs.entry.js +2 -2
- package/dist/cjs/mds-button_3.cjs.entry.js +81 -28
- package/dist/cjs/mds-calendar_2.cjs.entry.js +7 -7
- package/dist/cjs/mds-card-content.cjs.entry.js +2 -2
- package/dist/cjs/mds-card-footer.cjs.entry.js +2 -2
- package/dist/cjs/mds-card-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-card-media.cjs.entry.js +2 -2
- package/dist/cjs/mds-card.cjs.entry.js +3 -3
- package/dist/cjs/mds-details.cjs.entry.js +3 -3
- package/dist/cjs/mds-dropdown.cjs.entry.js +5 -5
- package/dist/cjs/mds-emoji.cjs.entry.js +3 -3
- package/dist/cjs/mds-entity.cjs.entry.js +3 -3
- package/dist/cjs/mds-file-preview.cjs.entry.js +5 -5
- package/dist/cjs/mds-file.cjs.entry.js +4 -4
- package/dist/cjs/mds-filter-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-filter.cjs.entry.js +3 -3
- package/dist/cjs/mds-header-bar.cjs.entry.js +3 -3
- package/dist/cjs/mds-header.cjs.entry.js +3 -3
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +2 -2
- package/dist/cjs/mds-hr.cjs.entry.js +3 -3
- package/dist/cjs/mds-img.cjs.entry.js +3 -3
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-date-range.cjs.entry.js +89 -9
- package/dist/cjs/mds-input-date.cjs.entry.js +124 -27
- package/dist/cjs/mds-input-field.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-otp.cjs.entry.js +65 -19
- package/dist/cjs/mds-input-range.cjs.entry.js +32 -16
- package/dist/cjs/mds-input-select.cjs.entry.js +159 -30
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +64 -22
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +6 -6
- package/dist/cjs/mds-input-upload.cjs.entry.js +136 -67
- package/dist/cjs/mds-input.cjs.entry.js +320 -36
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +4 -4
- package/dist/cjs/mds-keyboard.cjs.entry.js +4 -4
- package/dist/cjs/mds-kpi-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
- package/dist/cjs/mds-label.cjs.entry.js +3 -3
- package/dist/cjs/mds-list-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-list.cjs.entry.js +2 -2
- package/dist/cjs/mds-mention.cjs.entry.js +4 -4
- package/dist/cjs/mds-modal.cjs.entry.js +5 -5
- package/dist/cjs/mds-note.cjs.entry.js +4 -4
- package/dist/cjs/mds-notification.cjs.entry.js +3 -3
- package/dist/cjs/mds-paginator-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-paginator.cjs.entry.js +3 -3
- package/dist/cjs/mds-policy-ai.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-animation.cjs.entry.js +29 -5
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +29 -5
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +27 -6
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-language.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-mode.cjs.entry.js +30 -7
- package/dist/cjs/mds-pref-theme-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-pref-theme.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref.cjs.entry.js +10 -5
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table-features.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-list.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table.cjs.entry.js +2 -2
- package/dist/cjs/mds-progress_2.cjs.entry.js +4 -4
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +5 -5
- package/dist/cjs/mds-push-notification.cjs.entry.js +3 -3
- package/dist/cjs/mds-quote.cjs.entry.js +3 -3
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-radial-menu.cjs.entry.js +3 -3
- package/dist/cjs/mds-separator.cjs.entry.js +3 -3
- package/dist/cjs/mds-status-bar.cjs.entry.js +3 -3
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +2 -2
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-tab-bar.cjs.entry.js +3 -3
- package/dist/cjs/mds-tab_2.cjs.entry.js +29 -7
- package/dist/cjs/mds-table-body.cjs.entry.js +3 -3
- package/dist/cjs/mds-table-footer.cjs.entry.js +3 -3
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +3 -3
- package/dist/cjs/mds-table-header.cjs.entry.js +4 -4
- package/dist/cjs/mds-table-row.cjs.entry.js +24 -18
- package/dist/cjs/mds-table.cjs.entry.js +4 -4
- package/dist/cjs/mds-text.cjs.entry.js +3 -3
- package/dist/cjs/mds-toast.cjs.entry.js +3 -3
- package/dist/cjs/mds-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/mds-tree-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-tree.cjs.entry.js +2 -2
- package/dist/cjs/mds-url-view.cjs.entry.js +4 -4
- package/dist/cjs/mds-usage.cjs.entry.js +4 -4
- package/dist/cjs/mds-video-wall.cjs.entry.js +2 -2
- package/dist/cjs/mds-zero.cjs.entry.js +3 -3
- package/dist/cjs/preference-DRkzNp5a.js +389 -0
- package/dist/collection/common/form.js +24 -1
- package/dist/collection/common/navigation.js +60 -0
- package/dist/collection/common/validity/index.js +42 -0
- package/dist/collection/components/mds-accordion/AGENTS.md +65 -0
- package/dist/collection/components/mds-accordion/antipattern.md +123 -0
- package/dist/collection/components/mds-accordion/documentation.json +172 -0
- package/dist/collection/components/mds-accordion/pattern.md +150 -0
- package/dist/collection/components/mds-accordion-item/AGENTS.md +76 -0
- package/dist/collection/components/mds-accordion-item/antipattern.md +137 -0
- package/dist/collection/components/mds-accordion-item/documentation.json +288 -0
- package/dist/collection/components/mds-accordion-item/pattern.md +156 -0
- package/dist/collection/components/mds-accordion-timer/AGENTS.md +65 -0
- package/dist/collection/components/mds-accordion-timer/antipattern.md +133 -0
- package/dist/collection/components/mds-accordion-timer/documentation.json +168 -0
- package/dist/collection/components/mds-accordion-timer/pattern.md +137 -0
- package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +82 -0
- package/dist/collection/components/mds-accordion-timer-item/antipattern.md +143 -0
- package/dist/collection/components/mds-accordion-timer-item/documentation.json +400 -0
- package/dist/collection/components/mds-accordion-timer-item/pattern.md +136 -0
- package/dist/collection/components/mds-author/AGENTS.md +40 -0
- package/dist/collection/components/mds-author/antipattern.md +106 -0
- package/dist/collection/components/mds-author/documentation.json +51 -0
- package/dist/collection/components/mds-author/pattern.md +101 -0
- package/dist/collection/components/mds-avatar/AGENTS.md +70 -0
- package/dist/collection/components/mds-avatar/antipattern.md +96 -0
- package/dist/collection/components/mds-avatar/documentation.json +362 -0
- package/dist/collection/components/mds-avatar/pattern.md +108 -0
- package/dist/collection/components/mds-avatar-stack/AGENTS.md +65 -0
- package/dist/collection/components/mds-avatar-stack/antipattern.md +122 -0
- package/dist/collection/components/mds-avatar-stack/documentation.json +196 -0
- package/dist/collection/components/mds-avatar-stack/pattern.md +125 -0
- package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +60 -0
- package/dist/collection/components/mds-avatar-stack-item/antipattern.md +113 -0
- package/dist/collection/components/mds-avatar-stack-item/documentation.json +315 -0
- package/dist/collection/components/mds-avatar-stack-item/pattern.md +105 -0
- package/dist/collection/components/mds-badge/AGENTS.md +63 -0
- package/dist/collection/components/mds-badge/antipattern.md +104 -0
- package/dist/collection/components/mds-badge/documentation.json +316 -0
- package/dist/collection/components/mds-badge/pattern.md +130 -0
- package/dist/collection/components/mds-banner/AGENTS.md +87 -0
- package/dist/collection/components/mds-banner/antipattern.md +141 -0
- package/dist/collection/components/mds-banner/documentation.json +378 -0
- package/dist/collection/components/mds-banner/pattern.md +176 -0
- package/dist/collection/components/mds-benchmark-bar/AGENTS.md +59 -0
- package/dist/collection/components/mds-benchmark-bar/antipattern.md +77 -0
- package/dist/collection/components/mds-benchmark-bar/documentation.json +313 -0
- package/dist/collection/components/mds-benchmark-bar/pattern.md +102 -0
- package/dist/collection/components/mds-bibliography/AGENTS.md +61 -0
- package/dist/collection/components/mds-bibliography/antipattern.md +130 -0
- package/dist/collection/components/mds-bibliography/documentation.json +407 -0
- package/dist/collection/components/mds-bibliography/pattern.md +142 -0
- package/dist/collection/components/mds-breadcrumb/AGENTS.md +68 -0
- package/dist/collection/components/mds-breadcrumb/antipattern.md +112 -0
- package/dist/collection/components/mds-breadcrumb/documentation.json +156 -0
- package/dist/collection/components/mds-breadcrumb/pattern.md +103 -0
- package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +67 -0
- package/dist/collection/components/mds-breadcrumb-item/antipattern.md +109 -0
- package/dist/collection/components/mds-breadcrumb-item/documentation.json +160 -0
- package/dist/collection/components/mds-breadcrumb-item/pattern.md +85 -0
- package/dist/collection/components/mds-button/AGENTS.md +102 -0
- package/dist/collection/components/mds-button/antipattern.md +144 -0
- package/dist/collection/components/mds-button/documentation.json +922 -0
- package/dist/collection/components/mds-button/mds-button.css +17 -1
- package/dist/collection/components/mds-button/mds-button.js +116 -24
- package/dist/collection/components/mds-button/pattern.md +198 -0
- package/dist/collection/components/mds-button-dropdown/AGENTS.md +88 -0
- package/dist/collection/components/mds-button-dropdown/antipattern.md +158 -0
- package/dist/collection/components/mds-button-dropdown/documentation.json +614 -0
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +94 -6
- package/dist/collection/components/mds-button-dropdown/pattern.md +164 -0
- package/dist/collection/components/mds-button-group/AGENTS.md +33 -0
- package/dist/collection/components/mds-button-group/antipattern.md +105 -0
- package/dist/collection/components/mds-button-group/documentation.json +43 -0
- package/dist/collection/components/mds-button-group/mds-button-group.js +1 -1
- package/dist/collection/components/mds-button-group/pattern.md +89 -0
- package/dist/collection/components/mds-calendar/AGENTS.md +96 -0
- package/dist/collection/components/mds-calendar/antipattern.md +113 -0
- package/dist/collection/components/mds-calendar/documentation.json +626 -0
- package/dist/collection/components/mds-calendar/mds-calendar.js +4 -4
- package/dist/collection/components/mds-calendar/pattern.md +128 -0
- package/dist/collection/components/mds-calendar-cell/AGENTS.md +94 -0
- package/dist/collection/components/mds-calendar-cell/antipattern.md +58 -0
- package/dist/collection/components/mds-calendar-cell/documentation.json +539 -0
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +1 -1
- package/dist/collection/components/mds-calendar-cell/pattern.md +82 -0
- package/dist/collection/components/mds-card/AGENTS.md +60 -0
- package/dist/collection/components/mds-card/antipattern.md +133 -0
- package/dist/collection/components/mds-card/documentation.json +117 -0
- package/dist/collection/components/mds-card/mds-card.js +1 -1
- package/dist/collection/components/mds-card/pattern.md +160 -0
- package/dist/collection/components/mds-card-content/AGENTS.md +34 -0
- package/dist/collection/components/mds-card-content/antipattern.md +110 -0
- package/dist/collection/components/mds-card-content/documentation.json +43 -0
- package/dist/collection/components/mds-card-content/mds-card-content.js +1 -1
- package/dist/collection/components/mds-card-content/pattern.md +91 -0
- package/dist/collection/components/mds-card-footer/AGENTS.md +34 -0
- package/dist/collection/components/mds-card-footer/antipattern.md +112 -0
- package/dist/collection/components/mds-card-footer/documentation.json +43 -0
- package/dist/collection/components/mds-card-footer/mds-card-footer.js +1 -1
- package/dist/collection/components/mds-card-footer/pattern.md +95 -0
- package/dist/collection/components/mds-card-header/AGENTS.md +38 -0
- package/dist/collection/components/mds-card-header/antipattern.md +114 -0
- package/dist/collection/components/mds-card-header/documentation.json +51 -0
- package/dist/collection/components/mds-card-header/mds-card-header.js +1 -1
- package/dist/collection/components/mds-card-header/pattern.md +143 -0
- package/dist/collection/components/mds-card-media/AGENTS.md +46 -0
- package/dist/collection/components/mds-card-media/antipattern.md +128 -0
- package/dist/collection/components/mds-card-media/documentation.json +56 -0
- package/dist/collection/components/mds-card-media/mds-card-media.js +1 -1
- package/dist/collection/components/mds-card-media/pattern.md +93 -0
- package/dist/collection/components/mds-chip/AGENTS.md +84 -0
- package/dist/collection/components/mds-chip/antipattern.md +119 -0
- package/dist/collection/components/mds-chip/documentation.json +535 -0
- package/dist/collection/components/mds-chip/mds-chip.js +2 -2
- package/dist/collection/components/mds-chip/pattern.md +166 -0
- package/dist/collection/components/mds-details/AGENTS.md +72 -0
- package/dist/collection/components/mds-details/antipattern.md +128 -0
- package/dist/collection/components/mds-details/documentation.json +153 -0
- package/dist/collection/components/mds-details/mds-details.js +1 -1
- package/dist/collection/components/mds-details/pattern.md +138 -0
- package/dist/collection/components/mds-dropdown/AGENTS.md +95 -0
- package/dist/collection/components/mds-dropdown/antipattern.md +137 -0
- package/dist/collection/components/mds-dropdown/documentation.json +701 -0
- package/dist/collection/components/mds-dropdown/mds-dropdown.js +2 -2
- package/dist/collection/components/mds-dropdown/pattern.md +201 -0
- package/dist/collection/components/mds-emoji/AGENTS.md +88 -0
- package/dist/collection/components/mds-emoji/antipattern.md +134 -0
- package/dist/collection/components/mds-emoji/documentation.json +506 -0
- package/dist/collection/components/mds-emoji/mds-emoji.js +1 -1
- package/dist/collection/components/mds-emoji/pattern.md +219 -0
- package/dist/collection/components/mds-entity/AGENTS.md +76 -0
- package/dist/collection/components/mds-entity/antipattern.md +112 -0
- package/dist/collection/components/mds-entity/documentation.json +365 -0
- package/dist/collection/components/mds-entity/mds-entity.js +1 -1
- package/dist/collection/components/mds-entity/pattern.md +125 -0
- package/dist/collection/components/mds-file/AGENTS.md +63 -0
- package/dist/collection/components/mds-file/antipattern.md +92 -0
- package/dist/collection/components/mds-file/documentation.json +484 -0
- package/dist/collection/components/mds-file/mds-file.js +1 -1
- package/dist/collection/components/mds-file/pattern.md +109 -0
- package/dist/collection/components/mds-file-preview/AGENTS.md +88 -0
- package/dist/collection/components/mds-file-preview/antipattern.md +129 -0
- package/dist/collection/components/mds-file-preview/documentation.json +780 -0
- package/dist/collection/components/mds-file-preview/mds-file-preview.js +2 -2
- package/dist/collection/components/mds-file-preview/pattern.md +164 -0
- package/dist/collection/components/mds-filter/AGENTS.md +72 -0
- package/dist/collection/components/mds-filter/antipattern.md +140 -0
- package/dist/collection/components/mds-filter/documentation.json +239 -0
- package/dist/collection/components/mds-filter/mds-filter.js +1 -1
- package/dist/collection/components/mds-filter/pattern.md +129 -0
- package/dist/collection/components/mds-filter-item/AGENTS.md +64 -0
- package/dist/collection/components/mds-filter-item/antipattern.md +127 -0
- package/dist/collection/components/mds-filter-item/documentation.json +240 -0
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +1 -1
- package/dist/collection/components/mds-filter-item/pattern.md +125 -0
- package/dist/collection/components/mds-header/AGENTS.md +95 -0
- package/dist/collection/components/mds-header/antipattern.md +120 -0
- package/dist/collection/components/mds-header/documentation.json +491 -0
- package/dist/collection/components/mds-header/mds-header.js +1 -1
- package/dist/collection/components/mds-header/pattern.md +182 -0
- package/dist/collection/components/mds-header-bar/AGENTS.md +80 -0
- package/dist/collection/components/mds-header-bar/antipattern.md +119 -0
- package/dist/collection/components/mds-header-bar/documentation.json +251 -0
- package/dist/collection/components/mds-header-bar/mds-header-bar.js +1 -1
- package/dist/collection/components/mds-header-bar/pattern.md +134 -0
- package/dist/collection/components/mds-help/AGENTS.md +65 -0
- package/dist/collection/components/mds-help/antipattern.md +73 -0
- package/dist/collection/components/mds-help/documentation.json +228 -0
- package/dist/collection/components/mds-help/mds-help.js +1 -1
- package/dist/collection/components/mds-help/pattern.md +106 -0
- package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +72 -0
- package/dist/collection/components/mds-horizontal-scroll/antipattern.md +120 -0
- package/dist/collection/components/mds-horizontal-scroll/documentation.json +279 -0
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +1 -1
- package/dist/collection/components/mds-horizontal-scroll/pattern.md +154 -0
- package/dist/collection/components/mds-hr/AGENTS.md +27 -0
- package/dist/collection/components/mds-hr/antipattern.md +84 -0
- package/dist/collection/components/mds-hr/documentation.json +33 -0
- package/dist/collection/components/mds-hr/mds-hr.js +1 -1
- package/dist/collection/components/mds-hr/pattern.md +88 -0
- package/dist/collection/components/mds-icon/AGENTS.md +52 -0
- package/dist/collection/components/mds-icon/antipattern.md +118 -0
- package/dist/collection/components/mds-icon/documentation.json +205 -0
- package/dist/collection/components/mds-icon/mds-icon.js +1 -1
- package/dist/collection/components/mds-icon/pattern.md +135 -0
- package/dist/collection/components/mds-img/AGENTS.md +78 -0
- package/dist/collection/components/mds-img/antipattern.md +106 -0
- package/dist/collection/components/mds-img/documentation.json +470 -0
- package/dist/collection/components/mds-img/pattern.md +128 -0
- package/dist/collection/components/mds-input/AGENTS.md +138 -0
- package/dist/collection/components/mds-input/antipattern.md +128 -0
- package/dist/collection/components/mds-input/documentation.json +1574 -0
- package/dist/collection/components/mds-input/mds-input.js +185 -30
- package/dist/collection/components/mds-input/meta/input-type/InputValidationManager.js +8 -1
- package/dist/collection/components/mds-input/meta/validators.js +100 -2
- package/dist/collection/components/mds-input/meta/validity.js +35 -0
- package/dist/collection/components/mds-input/pattern.md +252 -0
- package/dist/collection/components/mds-input-date/AGENTS.md +98 -0
- package/dist/collection/components/mds-input-date/antipattern.md +107 -0
- package/dist/collection/components/mds-input-date/documentation.json +638 -0
- package/dist/collection/components/mds-input-date/mds-input-date.js +130 -24
- package/dist/collection/components/mds-input-date/pattern.md +158 -0
- package/dist/collection/components/mds-input-date-range/AGENTS.md +90 -0
- package/dist/collection/components/mds-input-date-range/antipattern.md +168 -0
- package/dist/collection/components/mds-input-date-range/documentation.json +502 -0
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +13 -0
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +106 -5
- package/dist/collection/components/mds-input-date-range/pattern.md +122 -0
- package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +62 -0
- package/dist/collection/components/mds-input-date-range-preselection/antipattern.md +147 -0
- package/dist/collection/components/mds-input-date-range-preselection/documentation.json +176 -0
- package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +1 -1
- package/dist/collection/components/mds-input-date-range-preselection/pattern.md +101 -0
- package/dist/collection/components/mds-input-field/AGENTS.md +60 -0
- package/dist/collection/components/mds-input-field/antipattern.md +115 -0
- package/dist/collection/components/mds-input-field/documentation.json +178 -0
- package/dist/collection/components/mds-input-field/mds-input-field.js +1 -1
- package/dist/collection/components/mds-input-field/pattern.md +95 -0
- package/dist/collection/components/mds-input-otp/AGENTS.md +48 -0
- package/dist/collection/components/mds-input-otp/antipattern.md +105 -0
- package/dist/collection/components/mds-input-otp/documentation.json +203 -0
- package/dist/collection/components/mds-input-otp/mds-input-otp.css +4 -1
- package/dist/collection/components/mds-input-otp/mds-input-otp.js +88 -15
- package/dist/collection/components/mds-input-otp/pattern.md +107 -0
- package/dist/collection/components/mds-input-range/AGENTS.md +84 -0
- package/dist/collection/components/mds-input-range/antipattern.md +127 -0
- package/dist/collection/components/mds-input-range/documentation.json +315 -0
- package/dist/collection/components/mds-input-range/mds-input-range.css +6 -2
- package/dist/collection/components/mds-input-range/mds-input-range.js +30 -13
- package/dist/collection/components/mds-input-range/pattern.md +110 -0
- package/dist/collection/components/mds-input-select/AGENTS.md +99 -0
- package/dist/collection/components/mds-input-select/antipattern.md +126 -0
- package/dist/collection/components/mds-input-select/documentation.json +552 -0
- package/dist/collection/components/mds-input-select/mds-input-select.js +164 -35
- package/dist/collection/components/mds-input-select/meta/event-detail.js +1 -0
- package/dist/collection/components/mds-input-select/pattern.md +168 -0
- package/dist/collection/components/mds-input-switch/AGENTS.md +106 -0
- package/dist/collection/components/mds-input-switch/antipattern.md +117 -0
- package/dist/collection/components/mds-input-switch/documentation.json +638 -0
- package/dist/collection/components/mds-input-switch/mds-input-switch.css +4 -1
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +59 -16
- package/dist/collection/components/mds-input-switch/pattern.md +133 -0
- package/dist/collection/components/mds-input-tip/AGENTS.md +56 -0
- package/dist/collection/components/mds-input-tip/antipattern.md +108 -0
- package/dist/collection/components/mds-input-tip/documentation.json +160 -0
- package/dist/collection/components/mds-input-tip/mds-input-tip.js +1 -1
- package/dist/collection/components/mds-input-tip/pattern.md +125 -0
- package/dist/collection/components/mds-input-tip-item/AGENTS.md +58 -0
- package/dist/collection/components/mds-input-tip-item/antipattern.md +98 -0
- package/dist/collection/components/mds-input-tip-item/documentation.json +181 -0
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
- package/dist/collection/components/mds-input-tip-item/pattern.md +107 -0
- package/dist/collection/components/mds-input-upload/AGENTS.md +78 -0
- package/dist/collection/components/mds-input-upload/antipattern.md +144 -0
- package/dist/collection/components/mds-input-upload/documentation.json +425 -0
- package/dist/collection/components/mds-input-upload/mds-input-upload.css +15 -0
- package/dist/collection/components/mds-input-upload/mds-input-upload.js +176 -66
- package/dist/collection/components/mds-input-upload/pattern.md +165 -0
- package/dist/collection/components/mds-keyboard/AGENTS.md +76 -0
- package/dist/collection/components/mds-keyboard/antipattern.md +111 -0
- package/dist/collection/components/mds-keyboard/documentation.json +227 -0
- package/dist/collection/components/mds-keyboard/mds-keyboard.js +1 -1
- package/dist/collection/components/mds-keyboard/pattern.md +129 -0
- package/dist/collection/components/mds-keyboard-key/AGENTS.md +55 -0
- package/dist/collection/components/mds-keyboard-key/antipattern.md +117 -0
- package/dist/collection/components/mds-keyboard-key/documentation.json +450 -0
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
- package/dist/collection/components/mds-keyboard-key/pattern.md +98 -0
- package/dist/collection/components/mds-kpi/AGENTS.md +44 -0
- package/dist/collection/components/mds-kpi/antipattern.md +93 -0
- package/dist/collection/components/mds-kpi/documentation.json +54 -0
- package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
- package/dist/collection/components/mds-kpi/pattern.md +109 -0
- package/dist/collection/components/mds-kpi-item/AGENTS.md +62 -0
- package/dist/collection/components/mds-kpi-item/antipattern.md +119 -0
- package/dist/collection/components/mds-kpi-item/documentation.json +199 -0
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
- package/dist/collection/components/mds-kpi-item/pattern.md +115 -0
- package/dist/collection/components/mds-label/AGENTS.md +71 -0
- package/dist/collection/components/mds-label/antipattern.md +92 -0
- package/dist/collection/components/mds-label/documentation.json +388 -0
- package/dist/collection/components/mds-label/pattern.md +111 -0
- package/dist/collection/components/mds-list/AGENTS.md +33 -0
- package/dist/collection/components/mds-list/antipattern.md +117 -0
- package/dist/collection/components/mds-list/documentation.json +43 -0
- package/dist/collection/components/mds-list/mds-list.js +1 -1
- package/dist/collection/components/mds-list/pattern.md +104 -0
- package/dist/collection/components/mds-list-item/AGENTS.md +60 -0
- package/dist/collection/components/mds-list-item/antipattern.md +118 -0
- package/dist/collection/components/mds-list-item/documentation.json +200 -0
- package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
- package/dist/collection/components/mds-list-item/pattern.md +101 -0
- package/dist/collection/components/mds-mention/AGENTS.md +55 -0
- package/dist/collection/components/mds-mention/antipattern.md +86 -0
- package/dist/collection/components/mds-mention/documentation.json +203 -0
- package/dist/collection/components/mds-mention/mds-mention.js +1 -1
- package/dist/collection/components/mds-mention/pattern.md +91 -0
- package/dist/collection/components/mds-modal/AGENTS.md +107 -0
- package/dist/collection/components/mds-modal/antipattern.md +96 -0
- package/dist/collection/components/mds-modal/documentation.json +552 -0
- package/dist/collection/components/mds-modal/mds-modal.js +3 -3
- package/dist/collection/components/mds-modal/pattern.md +228 -0
- package/dist/collection/components/mds-note/AGENTS.md +68 -0
- package/dist/collection/components/mds-note/antipattern.md +99 -0
- package/dist/collection/components/mds-note/documentation.json +220 -0
- package/dist/collection/components/mds-note/mds-note.js +1 -1
- package/dist/collection/components/mds-note/pattern.md +108 -0
- package/dist/collection/components/mds-notification/AGENTS.md +67 -0
- package/dist/collection/components/mds-notification/antipattern.md +86 -0
- package/dist/collection/components/mds-notification/documentation.json +253 -0
- package/dist/collection/components/mds-notification/mds-notification.js +1 -1
- package/dist/collection/components/mds-notification/pattern.md +98 -0
- package/dist/collection/components/mds-paginator/AGENTS.md +57 -0
- package/dist/collection/components/mds-paginator/antipattern.md +95 -0
- package/dist/collection/components/mds-paginator/documentation.json +135 -0
- package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
- package/dist/collection/components/mds-paginator/pattern.md +92 -0
- package/dist/collection/components/mds-paginator-item/AGENTS.md +74 -0
- package/dist/collection/components/mds-paginator-item/antipattern.md +95 -0
- package/dist/collection/components/mds-paginator-item/documentation.json +206 -0
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
- package/dist/collection/components/mds-paginator-item/pattern.md +75 -0
- package/dist/collection/components/mds-policy-ai/AGENTS.md +58 -0
- package/dist/collection/components/mds-policy-ai/antipattern.md +97 -0
- package/dist/collection/components/mds-policy-ai/documentation.json +244 -0
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
- package/dist/collection/components/mds-policy-ai/pattern.md +102 -0
- package/dist/collection/components/mds-pref/AGENTS.md +50 -0
- package/dist/collection/components/mds-pref/antipattern.md +85 -0
- package/dist/collection/components/mds-pref/documentation.json +138 -0
- package/dist/collection/components/mds-pref/mds-pref.js +7 -2
- package/dist/collection/components/mds-pref/pattern.md +93 -0
- package/dist/collection/components/mds-pref-animation/AGENTS.md +48 -0
- package/dist/collection/components/mds-pref-animation/antipattern.md +67 -0
- package/dist/collection/components/mds-pref-animation/documentation.json +154 -0
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +26 -2
- package/dist/collection/components/mds-pref-animation/pattern.md +86 -0
- package/dist/collection/components/mds-pref-consumption/AGENTS.md +47 -0
- package/dist/collection/components/mds-pref-consumption/antipattern.md +84 -0
- package/dist/collection/components/mds-pref-consumption/documentation.json +154 -0
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +26 -2
- package/dist/collection/components/mds-pref-consumption/pattern.md +70 -0
- package/dist/collection/components/mds-pref-contrast/AGENTS.md +50 -0
- package/dist/collection/components/mds-pref-contrast/antipattern.md +71 -0
- package/dist/collection/components/mds-pref-contrast/documentation.json +154 -0
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +24 -3
- package/dist/collection/components/mds-pref-contrast/pattern.md +82 -0
- package/dist/collection/components/mds-pref-language/AGENTS.md +56 -0
- package/dist/collection/components/mds-pref-language/antipattern.md +130 -0
- package/dist/collection/components/mds-pref-language/documentation.json +174 -0
- package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
- package/dist/collection/components/mds-pref-language/pattern.md +104 -0
- package/dist/collection/components/mds-pref-language-item/AGENTS.md +48 -0
- package/dist/collection/components/mds-pref-language-item/antipattern.md +99 -0
- package/dist/collection/components/mds-pref-language-item/documentation.json +122 -0
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
- package/dist/collection/components/mds-pref-language-item/pattern.md +85 -0
- package/dist/collection/components/mds-pref-mode/AGENTS.md +53 -0
- package/dist/collection/components/mds-pref-mode/antipattern.md +104 -0
- package/dist/collection/components/mds-pref-mode/documentation.json +241 -0
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +27 -4
- package/dist/collection/components/mds-pref-mode/pattern.md +94 -0
- package/dist/collection/components/mds-pref-theme/AGENTS.md +60 -0
- package/dist/collection/components/mds-pref-theme/antipattern.md +104 -0
- package/dist/collection/components/mds-pref-theme/documentation.json +277 -0
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +1 -1
- package/dist/collection/components/mds-pref-theme/pattern.md +97 -0
- package/dist/collection/components/mds-pref-theme-item/AGENTS.md +60 -0
- package/dist/collection/components/mds-pref-theme-item/antipattern.md +98 -0
- package/dist/collection/components/mds-pref-theme-item/documentation.json +228 -0
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +1 -1
- package/dist/collection/components/mds-pref-theme-item/pattern.md +98 -0
- package/dist/collection/components/mds-price-table/AGENTS.md +34 -0
- package/dist/collection/components/mds-price-table/antipattern.md +131 -0
- package/dist/collection/components/mds-price-table/documentation.json +43 -0
- package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
- package/dist/collection/components/mds-price-table/pattern.md +182 -0
- package/dist/collection/components/mds-price-table-features/AGENTS.md +61 -0
- package/dist/collection/components/mds-price-table-features/antipattern.md +152 -0
- package/dist/collection/components/mds-price-table-features/documentation.json +96 -0
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
- package/dist/collection/components/mds-price-table-features/pattern.md +157 -0
- package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +69 -0
- package/dist/collection/components/mds-price-table-features-cell/antipattern.md +105 -0
- package/dist/collection/components/mds-price-table-features-cell/documentation.json +154 -0
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
- package/dist/collection/components/mds-price-table-features-cell/pattern.md +128 -0
- package/dist/collection/components/mds-price-table-features-row/AGENTS.md +43 -0
- package/dist/collection/components/mds-price-table-features-row/antipattern.md +135 -0
- package/dist/collection/components/mds-price-table-features-row/documentation.json +64 -0
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
- package/dist/collection/components/mds-price-table-features-row/pattern.md +125 -0
- package/dist/collection/components/mds-price-table-header/AGENTS.md +34 -0
- package/dist/collection/components/mds-price-table-header/antipattern.md +133 -0
- package/dist/collection/components/mds-price-table-header/documentation.json +43 -0
- package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
- package/dist/collection/components/mds-price-table-header/pattern.md +176 -0
- package/dist/collection/components/mds-price-table-list/AGENTS.md +63 -0
- package/dist/collection/components/mds-price-table-list/antipattern.md +133 -0
- package/dist/collection/components/mds-price-table-list/documentation.json +104 -0
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
- package/dist/collection/components/mds-price-table-list/pattern.md +134 -0
- package/dist/collection/components/mds-price-table-list-item/AGENTS.md +61 -0
- package/dist/collection/components/mds-price-table-list-item/antipattern.md +90 -0
- package/dist/collection/components/mds-price-table-list-item/documentation.json +145 -0
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
- package/dist/collection/components/mds-price-table-list-item/pattern.md +105 -0
- package/dist/collection/components/mds-progress/AGENTS.md +68 -0
- package/dist/collection/components/mds-progress/antipattern.md +94 -0
- package/dist/collection/components/mds-progress/documentation.json +375 -0
- package/dist/collection/components/mds-progress/mds-progress.js +1 -1
- package/dist/collection/components/mds-progress/pattern.md +139 -0
- package/dist/collection/components/mds-push-notification/AGENTS.md +88 -0
- package/dist/collection/components/mds-push-notification/antipattern.md +154 -0
- package/dist/collection/components/mds-push-notification/documentation.json +306 -0
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
- package/dist/collection/components/mds-push-notification/pattern.md +203 -0
- package/dist/collection/components/mds-push-notification-item/AGENTS.md +91 -0
- package/dist/collection/components/mds-push-notification-item/antipattern.md +129 -0
- package/dist/collection/components/mds-push-notification-item/documentation.json +586 -0
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
- package/dist/collection/components/mds-push-notification-item/pattern.md +201 -0
- package/dist/collection/components/mds-quote/AGENTS.md +51 -0
- package/dist/collection/components/mds-quote/antipattern.md +122 -0
- package/dist/collection/components/mds-quote/documentation.json +176 -0
- package/dist/collection/components/mds-quote/mds-quote.js +1 -1
- package/dist/collection/components/mds-quote/pattern.md +108 -0
- package/dist/collection/components/mds-radial-menu/AGENTS.md +87 -0
- package/dist/collection/components/mds-radial-menu/antipattern.md +104 -0
- package/dist/collection/components/mds-radial-menu/documentation.json +581 -0
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
- package/dist/collection/components/mds-radial-menu/pattern.md +150 -0
- package/dist/collection/components/mds-radial-menu-item/AGENTS.md +51 -0
- package/dist/collection/components/mds-radial-menu-item/antipattern.md +106 -0
- package/dist/collection/components/mds-radial-menu-item/documentation.json +294 -0
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
- package/dist/collection/components/mds-radial-menu-item/pattern.md +98 -0
- package/dist/collection/components/mds-radial-progress/AGENTS.md +58 -0
- package/dist/collection/components/mds-radial-progress/antipattern.md +99 -0
- package/dist/collection/components/mds-radial-progress/documentation.json +232 -0
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
- package/dist/collection/components/mds-radial-progress/pattern.md +132 -0
- package/dist/collection/components/mds-separator/AGENTS.md +39 -0
- package/dist/collection/components/mds-separator/antipattern.md +98 -0
- package/dist/collection/components/mds-separator/documentation.json +45 -0
- package/dist/collection/components/mds-separator/mds-separator.js +1 -1
- package/dist/collection/components/mds-separator/pattern.md +82 -0
- package/dist/collection/components/mds-spinner/AGENTS.md +49 -0
- package/dist/collection/components/mds-spinner/antipattern.md +93 -0
- package/dist/collection/components/mds-spinner/documentation.json +86 -0
- package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
- package/dist/collection/components/mds-spinner/pattern.md +102 -0
- package/dist/collection/components/mds-status-bar/AGENTS.md +75 -0
- package/dist/collection/components/mds-status-bar/antipattern.md +128 -0
- package/dist/collection/components/mds-status-bar/documentation.json +262 -0
- package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
- package/dist/collection/components/mds-status-bar/pattern.md +123 -0
- package/dist/collection/components/mds-stepper-bar/AGENTS.md +74 -0
- package/dist/collection/components/mds-stepper-bar/antipattern.md +123 -0
- package/dist/collection/components/mds-stepper-bar/documentation.json +208 -0
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
- package/dist/collection/components/mds-stepper-bar/pattern.md +182 -0
- package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +84 -0
- package/dist/collection/components/mds-stepper-bar-item/antipattern.md +115 -0
- package/dist/collection/components/mds-stepper-bar-item/documentation.json +453 -0
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
- package/dist/collection/components/mds-stepper-bar-item/pattern.md +203 -0
- package/dist/collection/components/mds-tab/AGENTS.md +110 -0
- package/dist/collection/components/mds-tab/antipattern.md +191 -0
- package/dist/collection/components/mds-tab/documentation.json +495 -0
- package/dist/collection/components/mds-tab/mds-tab.css +10 -1
- package/dist/collection/components/mds-tab/mds-tab.js +18 -4
- package/dist/collection/components/mds-tab/pattern.md +233 -0
- package/dist/collection/components/mds-tab-bar/AGENTS.md +46 -0
- package/dist/collection/components/mds-tab-bar/antipattern.md +105 -0
- package/dist/collection/components/mds-tab-bar/documentation.json +71 -0
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
- package/dist/collection/components/mds-tab-bar/pattern.md +87 -0
- package/dist/collection/components/mds-tab-bar-item/AGENTS.md +67 -0
- package/dist/collection/components/mds-tab-bar-item/antipattern.md +116 -0
- package/dist/collection/components/mds-tab-bar-item/documentation.json +210 -0
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
- package/dist/collection/components/mds-tab-bar-item/pattern.md +110 -0
- package/dist/collection/components/mds-tab-item/AGENTS.md +83 -0
- package/dist/collection/components/mds-tab-item/antipattern.md +159 -0
- package/dist/collection/components/mds-tab-item/documentation.json +577 -0
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +15 -3
- package/dist/collection/components/mds-tab-item/pattern.md +173 -0
- package/dist/collection/components/mds-table/AGENTS.md +90 -0
- package/dist/collection/components/mds-table/antipattern.md +169 -0
- package/dist/collection/components/mds-table/documentation.json +304 -0
- package/dist/collection/components/mds-table/mds-table.js +1 -1
- package/dist/collection/components/mds-table/pattern.md +288 -0
- package/dist/collection/components/mds-table-body/AGENTS.md +55 -0
- package/dist/collection/components/mds-table-body/antipattern.md +118 -0
- package/dist/collection/components/mds-table-body/documentation.json +122 -0
- package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
- package/dist/collection/components/mds-table-body/pattern.md +154 -0
- package/dist/collection/components/mds-table-cell/AGENTS.md +56 -0
- package/dist/collection/components/mds-table-cell/antipattern.md +100 -0
- package/dist/collection/components/mds-table-cell/documentation.json +104 -0
- package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
- package/dist/collection/components/mds-table-cell/pattern.md +168 -0
- package/dist/collection/components/mds-table-footer/AGENTS.md +33 -0
- package/dist/collection/components/mds-table-footer/antipattern.md +114 -0
- package/dist/collection/components/mds-table-footer/documentation.json +43 -0
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
- package/dist/collection/components/mds-table-footer/pattern.md +116 -0
- package/dist/collection/components/mds-table-header/AGENTS.md +61 -0
- package/dist/collection/components/mds-table-header/antipattern.md +157 -0
- package/dist/collection/components/mds-table-header/documentation.json +156 -0
- package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
- package/dist/collection/components/mds-table-header/pattern.md +158 -0
- package/dist/collection/components/mds-table-header-cell/AGENTS.md +51 -0
- package/dist/collection/components/mds-table-header-cell/antipattern.md +108 -0
- package/dist/collection/components/mds-table-header-cell/documentation.json +158 -0
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
- package/dist/collection/components/mds-table-header-cell/pattern.md +145 -0
- package/dist/collection/components/mds-table-row/AGENTS.md +68 -0
- package/dist/collection/components/mds-table-row/antipattern.md +142 -0
- package/dist/collection/components/mds-table-row/documentation.json +252 -0
- package/dist/collection/components/mds-table-row/mds-table-row.js +22 -16
- package/dist/collection/components/mds-table-row/pattern.md +157 -0
- package/dist/collection/components/mds-text/AGENTS.md +64 -0
- package/dist/collection/components/mds-text/antipattern.md +113 -0
- package/dist/collection/components/mds-text/documentation.json +746 -0
- package/dist/collection/components/mds-text/mds-text.js +1 -1
- package/dist/collection/components/mds-text/pattern.md +139 -0
- package/dist/collection/components/mds-toast/AGENTS.md +78 -0
- package/dist/collection/components/mds-toast/antipattern.md +131 -0
- package/dist/collection/components/mds-toast/documentation.json +339 -0
- package/dist/collection/components/mds-toast/mds-toast.js +1 -1
- package/dist/collection/components/mds-toast/pattern.md +161 -0
- package/dist/collection/components/mds-tooltip/AGENTS.md +80 -0
- package/dist/collection/components/mds-tooltip/antipattern.md +108 -0
- package/dist/collection/components/mds-tooltip/documentation.json +483 -0
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +1 -1
- package/dist/collection/components/mds-tooltip/pattern.md +128 -0
- package/dist/collection/components/mds-tree/AGENTS.md +88 -0
- package/dist/collection/components/mds-tree/antipattern.md +153 -0
- package/dist/collection/components/mds-tree/documentation.json +472 -0
- package/dist/collection/components/mds-tree/mds-tree.js +1 -1
- package/dist/collection/components/mds-tree/pattern.md +198 -0
- package/dist/collection/components/mds-tree-item/AGENTS.md +119 -0
- package/dist/collection/components/mds-tree-item/antipattern.md +152 -0
- package/dist/collection/components/mds-tree-item/documentation.json +646 -0
- package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
- package/dist/collection/components/mds-tree-item/pattern.md +201 -0
- package/dist/collection/components/mds-url-view/AGENTS.md +63 -0
- package/dist/collection/components/mds-url-view/antipattern.md +107 -0
- package/dist/collection/components/mds-url-view/documentation.json +209 -0
- package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
- package/dist/collection/components/mds-url-view/pattern.md +106 -0
- package/dist/collection/components/mds-usage/AGENTS.md +70 -0
- package/dist/collection/components/mds-usage/antipattern.md +87 -0
- package/dist/collection/components/mds-usage/documentation.json +156 -0
- package/dist/collection/components/mds-usage/mds-usage.js +1 -1
- package/dist/collection/components/mds-usage/pattern.md +117 -0
- package/dist/collection/components/mds-video-wall/AGENTS.md +65 -0
- package/dist/collection/components/mds-video-wall/antipattern.md +97 -0
- package/dist/collection/components/mds-video-wall/documentation.json +316 -0
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
- package/dist/collection/components/mds-video-wall/pattern.md +101 -0
- package/dist/collection/components/mds-zero/AGENTS.md +55 -0
- package/dist/collection/components/mds-zero/antipattern.md +106 -0
- package/dist/collection/components/mds-zero/documentation.json +82 -0
- package/dist/collection/components/mds-zero/mds-zero.js +1 -1
- package/dist/collection/components/mds-zero/pattern.md +118 -0
- package/dist/collection/index.js +11 -4
- package/dist/components/index.js +1 -1
- package/dist/components/mds-accordion-item.js +1 -1
- package/dist/components/mds-accordion-timer-item.js +1 -1
- package/dist/components/mds-accordion-timer.js +1 -1
- package/dist/components/mds-accordion.js +1 -1
- package/dist/components/mds-author.js +1 -1
- package/dist/components/mds-avatar-stack-item.js +1 -1
- package/dist/components/mds-avatar-stack.js +1 -1
- package/dist/components/mds-avatar.js +1 -1
- package/dist/components/mds-badge.js +1 -1
- package/dist/components/mds-banner.js +1 -1
- package/dist/components/mds-benchmark-bar.js +1 -1
- package/dist/components/mds-bibliography.js +1 -1
- package/dist/components/mds-breadcrumb-item.js +1 -1
- package/dist/components/mds-breadcrumb.js +1 -1
- package/dist/components/mds-button-dropdown.js +1 -1
- package/dist/components/mds-button-group.js +1 -1
- package/dist/components/mds-button.js +1 -1
- package/dist/components/mds-calendar-cell.js +1 -1
- package/dist/components/mds-calendar.js +1 -1
- package/dist/components/mds-card-content.js +1 -1
- package/dist/components/mds-card-footer.js +1 -1
- package/dist/components/mds-card-header.js +1 -1
- package/dist/components/mds-card-media.js +1 -1
- package/dist/components/mds-card.js +1 -1
- package/dist/components/mds-chip.js +1 -1
- package/dist/components/mds-details.js +1 -1
- package/dist/components/mds-dropdown.js +1 -1
- package/dist/components/mds-emoji.js +3 -3
- package/dist/components/mds-entity.js +1 -1
- package/dist/components/mds-file-preview.js +1 -1
- package/dist/components/mds-file.js +3 -3
- package/dist/components/mds-filter-item.js +1 -1
- package/dist/components/mds-filter.js +1 -1
- package/dist/components/mds-header-bar.js +1 -1
- package/dist/components/mds-header.js +1 -1
- package/dist/components/mds-help.js +1 -1
- package/dist/components/mds-horizontal-scroll.js +1 -1
- package/dist/components/mds-hr.js +1 -1
- package/dist/components/mds-icon.js +1 -1
- package/dist/components/mds-img.js +1 -1
- package/dist/components/mds-input-date-range-preselection.js +1 -1
- package/dist/components/mds-input-date-range.js +1 -1
- package/dist/components/mds-input-date.js +1 -1
- package/dist/components/mds-input-field.js +1 -1
- package/dist/components/mds-input-otp.js +1 -1
- package/dist/components/mds-input-range.js +1 -1
- package/dist/components/mds-input-select.js +1 -1
- package/dist/components/mds-input-switch.js +1 -1
- package/dist/components/mds-input-tip-item.js +1 -1
- package/dist/components/mds-input-tip.js +1 -1
- package/dist/components/mds-input-upload.js +1 -1
- package/dist/components/mds-input.js +1 -1
- package/dist/components/mds-keyboard-key.js +1 -1
- package/dist/components/mds-keyboard.js +1 -1
- package/dist/components/mds-kpi-item.js +1 -1
- package/dist/components/mds-kpi.js +1 -1
- package/dist/components/mds-label.js +1 -1
- package/dist/components/mds-list-item.js +1 -1
- package/dist/components/mds-list.js +1 -1
- package/dist/components/mds-mention.js +1 -1
- package/dist/components/mds-modal.js +1 -1
- package/dist/components/mds-note.js +1 -1
- package/dist/components/mds-notification.js +1 -1
- package/dist/components/mds-paginator-item.js +1 -1
- package/dist/components/mds-paginator.js +1 -1
- package/dist/components/mds-policy-ai.js +1 -1
- package/dist/components/mds-pref-animation.js +1 -1
- package/dist/components/mds-pref-consumption.js +1 -1
- package/dist/components/mds-pref-contrast.js +1 -1
- package/dist/components/mds-pref-language-item.js +1 -1
- package/dist/components/mds-pref-language.js +1 -1
- package/dist/components/mds-pref-mode.js +1 -1
- package/dist/components/mds-pref-theme-item.js +1 -1
- package/dist/components/mds-pref-theme.js +1 -1
- package/dist/components/mds-pref.js +1 -1
- package/dist/components/mds-price-table-features-cell.js +1 -1
- package/dist/components/mds-price-table-features-row.js +1 -1
- package/dist/components/mds-price-table-features.js +1 -1
- package/dist/components/mds-price-table-header.js +1 -1
- package/dist/components/mds-price-table-list-item.js +1 -1
- package/dist/components/mds-price-table-list.js +1 -1
- package/dist/components/mds-price-table.js +1 -1
- package/dist/components/mds-progress.js +1 -1
- package/dist/components/mds-push-notification-item.js +1 -1
- package/dist/components/mds-push-notification.js +1 -1
- package/dist/components/mds-quote.js +1 -1
- package/dist/components/mds-radial-menu-item.js +1 -1
- package/dist/components/mds-radial-menu.js +1 -1
- package/dist/components/mds-radial-progress.js +1 -1
- package/dist/components/mds-separator.js +1 -1
- package/dist/components/mds-spinner.js +1 -1
- package/dist/components/mds-status-bar.js +1 -1
- package/dist/components/mds-stepper-bar-item.js +1 -1
- package/dist/components/mds-stepper-bar.js +1 -1
- package/dist/components/mds-tab-bar-item.js +1 -1
- package/dist/components/mds-tab-bar.js +1 -1
- package/dist/components/mds-tab-item.js +1 -1
- package/dist/components/mds-tab.js +1 -1
- package/dist/components/mds-table-body.js +1 -1
- package/dist/components/mds-table-cell.js +1 -1
- package/dist/components/mds-table-footer.js +1 -1
- package/dist/components/mds-table-header-cell.js +1 -1
- package/dist/components/mds-table-header.js +1 -1
- package/dist/components/mds-table-row.js +1 -1
- package/dist/components/mds-table.js +1 -1
- package/dist/components/mds-text.js +1 -1
- package/dist/components/mds-toast.js +1 -1
- package/dist/components/mds-tooltip.js +1 -1
- package/dist/components/mds-tree-item.js +1 -1
- package/dist/components/mds-tree.js +1 -1
- package/dist/components/mds-url-view.js +1 -1
- package/dist/components/mds-usage.js +1 -1
- package/dist/components/mds-video-wall.js +1 -1
- package/dist/components/mds-zero.js +1 -1
- package/dist/components/p--miH951G.js +5 -0
- package/dist/components/p-B3Z2Goa-.js +1 -0
- package/dist/components/p-B3dWp2vS.js +1 -0
- package/dist/components/p-B6FOPjps.js +1 -0
- package/dist/components/p-B7CR1EtF.js +1 -0
- package/dist/components/p-BBPQjm8h.js +1 -0
- package/dist/components/p-BCiJ4PRD.js +1 -0
- package/dist/components/p-BHJDW5JC.js +1 -0
- package/dist/components/p-BSs0SO-j.js +1 -0
- package/dist/components/p-BTpjOy0A.js +1 -0
- package/dist/components/p-BY6Qu1V4.js +1 -0
- package/dist/components/p-BhmePCyA.js +1 -0
- package/dist/components/p-BpGzrg1C.js +1 -0
- package/dist/components/p-Bv2IVRzI.js +1 -0
- package/dist/components/p-C-J9fW51.js +1 -0
- package/dist/components/p-C7EyV0z3.js +1 -0
- package/dist/components/p-CAa2kI72.js +1 -0
- package/dist/components/p-CBV19-8O.js +1 -0
- package/dist/components/p-CCv9tBZK.js +1 -0
- package/dist/components/p-CDf607TB.js +1 -0
- package/dist/components/p-CEMAGNly.js +1 -0
- package/dist/components/p-CGYDZBMv.js +1 -0
- package/dist/components/p-CHAvkoj3.js +1 -0
- package/dist/components/p-CMFUEkte.js +1 -0
- package/dist/components/p-CR2GGKXK.js +1 -0
- package/dist/components/p-Cb5kuO7B.js +1 -0
- package/dist/components/p-CiNNzAa3.js +1 -0
- package/dist/components/p-DGDdPv_Y.js +1 -0
- package/dist/components/p-D_wD-Pyk.js +1 -0
- package/dist/components/p-HR2JwDjG.js +1 -0
- package/dist/components/p-LE7qQIFR.js +8 -0
- package/dist/components/p-faViX-qz.js +1 -0
- package/dist/components/p-pBvN1uAc.js +3 -0
- package/dist/components/p-vgIKH234.js +1 -0
- package/dist/components/p-wI0alRSO.js +1 -0
- package/dist/components/p-zHpei4x6.js +1 -0
- package/dist/documentation.json +623 -365
- package/dist/esm/floating-controller-BTYkH_Ih.js +366 -0
- package/dist/esm/form-wI0alRSO.js +42 -0
- package/dist/esm/index-BhCZiGfL.js +196 -0
- package/dist/esm/index-BxPbQB28.js +5149 -0
- package/dist/esm/index.js +63 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/locale-CVJm6KFD.js +814 -0
- package/dist/esm/magma-components.js +3 -3
- package/dist/esm/mds-accordion-item.entry.js +2 -2
- package/dist/esm/mds-accordion-timer-item.entry.js +2 -2
- package/dist/esm/mds-accordion-timer.entry.js +1 -1
- package/dist/esm/mds-accordion.entry.js +2 -2
- package/dist/esm/mds-author.entry.js +1 -1
- package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm/mds-avatar-stack.entry.js +1 -1
- package/dist/esm/mds-avatar.entry.js +2 -2
- package/dist/esm/mds-badge.entry.js +2 -2
- package/dist/esm/mds-banner_3.entry.js +6 -6
- package/dist/esm/mds-benchmark-bar.entry.js +1 -1
- package/dist/esm/mds-bibliography.entry.js +1 -1
- package/dist/esm/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm/mds-breadcrumb.entry.js +3 -3
- package/dist/esm/mds-button-dropdown.entry.js +38 -4
- package/dist/esm/mds-button-group.entry.js +2 -2
- package/dist/esm/mds-button_3.entry.js +82 -29
- package/dist/esm/mds-calendar_2.entry.js +7 -7
- package/dist/esm/mds-card-content.entry.js +2 -2
- package/dist/esm/mds-card-footer.entry.js +2 -2
- package/dist/esm/mds-card-header.entry.js +2 -2
- package/dist/esm/mds-card-media.entry.js +2 -2
- package/dist/esm/mds-card.entry.js +3 -3
- package/dist/esm/mds-details.entry.js +3 -3
- package/dist/esm/mds-dropdown.entry.js +5 -5
- package/dist/esm/mds-emoji.entry.js +3 -3
- package/dist/esm/mds-entity.entry.js +3 -3
- package/dist/esm/mds-file-preview.entry.js +5 -5
- package/dist/esm/mds-file.entry.js +4 -4
- package/dist/esm/mds-filter-item.entry.js +3 -3
- package/dist/esm/mds-filter.entry.js +3 -3
- package/dist/esm/mds-header-bar.entry.js +3 -3
- package/dist/esm/mds-header.entry.js +3 -3
- package/dist/esm/mds-horizontal-scroll.entry.js +2 -2
- package/dist/esm/mds-hr.entry.js +3 -3
- package/dist/esm/mds-img.entry.js +3 -3
- package/dist/esm/mds-input-date-range-preselection.entry.js +2 -2
- package/dist/esm/mds-input-date-range.entry.js +89 -9
- package/dist/esm/mds-input-date.entry.js +124 -27
- package/dist/esm/mds-input-field.entry.js +2 -2
- package/dist/esm/mds-input-otp.entry.js +65 -19
- package/dist/esm/mds-input-range.entry.js +32 -16
- package/dist/esm/mds-input-select.entry.js +159 -30
- package/dist/esm/mds-input-switch_2.entry.js +64 -22
- package/dist/esm/mds-input-tip_2.entry.js +6 -6
- package/dist/esm/mds-input-upload.entry.js +136 -67
- package/dist/esm/mds-input.entry.js +320 -36
- package/dist/esm/mds-keyboard-key.entry.js +4 -4
- package/dist/esm/mds-keyboard.entry.js +4 -4
- package/dist/esm/mds-kpi-item.entry.js +3 -3
- package/dist/esm/mds-kpi.entry.js +2 -2
- package/dist/esm/mds-label.entry.js +3 -3
- package/dist/esm/mds-list-item.entry.js +3 -3
- package/dist/esm/mds-list.entry.js +2 -2
- package/dist/esm/mds-mention.entry.js +4 -4
- package/dist/esm/mds-modal.entry.js +5 -5
- package/dist/esm/mds-note.entry.js +4 -4
- package/dist/esm/mds-notification.entry.js +3 -3
- package/dist/esm/mds-paginator-item.entry.js +3 -3
- package/dist/esm/mds-paginator.entry.js +3 -3
- package/dist/esm/mds-policy-ai.entry.js +4 -4
- package/dist/esm/mds-pref-animation.entry.js +29 -5
- package/dist/esm/mds-pref-consumption.entry.js +29 -5
- package/dist/esm/mds-pref-contrast.entry.js +27 -6
- package/dist/esm/mds-pref-language-item.entry.js +4 -4
- package/dist/esm/mds-pref-language.entry.js +4 -4
- package/dist/esm/mds-pref-mode.entry.js +30 -7
- package/dist/esm/mds-pref-theme-item.entry.js +2 -2
- package/dist/esm/mds-pref-theme.entry.js +4 -4
- package/dist/esm/mds-pref.entry.js +10 -5
- package/dist/esm/mds-price-table-features-cell.entry.js +3 -3
- package/dist/esm/mds-price-table-features-row.entry.js +3 -3
- package/dist/esm/mds-price-table-features.entry.js +3 -3
- package/dist/esm/mds-price-table-header.entry.js +2 -2
- package/dist/esm/mds-price-table-list-item.entry.js +2 -2
- package/dist/esm/mds-price-table-list.entry.js +3 -3
- package/dist/esm/mds-price-table.entry.js +2 -2
- package/dist/esm/mds-progress_2.entry.js +4 -4
- package/dist/esm/mds-push-notification-item.entry.js +5 -5
- package/dist/esm/mds-push-notification.entry.js +3 -3
- package/dist/esm/mds-quote.entry.js +3 -3
- package/dist/esm/mds-radial-menu-item.entry.js +2 -2
- package/dist/esm/mds-radial-menu.entry.js +3 -3
- package/dist/esm/mds-separator.entry.js +3 -3
- package/dist/esm/mds-status-bar.entry.js +3 -3
- package/dist/esm/mds-stepper-bar-item.entry.js +4 -4
- package/dist/esm/mds-stepper-bar.entry.js +2 -2
- package/dist/esm/mds-tab-bar-item.entry.js +3 -3
- package/dist/esm/mds-tab-bar.entry.js +3 -3
- package/dist/esm/mds-tab_2.entry.js +29 -7
- package/dist/esm/mds-table-body.entry.js +3 -3
- package/dist/esm/mds-table-footer.entry.js +3 -3
- package/dist/esm/mds-table-header-cell.entry.js +3 -3
- package/dist/esm/mds-table-header.entry.js +4 -4
- package/dist/esm/mds-table-row.entry.js +24 -18
- package/dist/esm/mds-table.entry.js +4 -4
- package/dist/esm/mds-text.entry.js +3 -3
- package/dist/esm/mds-toast.entry.js +3 -3
- package/dist/esm/mds-tooltip.entry.js +4 -4
- package/dist/esm/mds-tree-item.entry.js +4 -4
- package/dist/esm/mds-tree.entry.js +2 -2
- package/dist/esm/mds-url-view.entry.js +4 -4
- package/dist/esm/mds-usage.entry.js +4 -4
- package/dist/esm/mds-video-wall.entry.js +2 -2
- package/dist/esm/mds-zero.entry.js +3 -3
- package/dist/esm/preference-DNNqH7BU.js +385 -0
- package/dist/esm-es5/floating-controller-BTYkH_Ih.js +66 -0
- package/dist/esm-es5/form-wI0alRSO.js +16 -0
- package/dist/esm-es5/index-BhCZiGfL.js +10 -0
- package/dist/esm-es5/index-BxPbQB28.js +371 -0
- package/dist/esm-es5/index.js +37 -20
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/locale-CVJm6KFD.js +230 -0
- package/dist/esm-es5/magma-components.js +2 -2
- package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
- package/dist/esm-es5/mds-accordion.entry.js +1 -1
- package/dist/esm-es5/mds-author.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
- package/dist/esm-es5/mds-avatar.entry.js +2 -2
- package/dist/esm-es5/mds-badge.entry.js +1 -1
- package/dist/esm-es5/mds-banner_3.entry.js +4 -4
- package/dist/esm-es5/mds-benchmark-bar.entry.js +1 -1
- package/dist/esm-es5/mds-bibliography.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb.entry.js +2 -2
- package/dist/esm-es5/mds-button-dropdown.entry.js +10 -4
- package/dist/esm-es5/mds-button-group.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +28 -6
- package/dist/esm-es5/mds-calendar_2.entry.js +3 -3
- package/dist/esm-es5/mds-card-content.entry.js +1 -1
- package/dist/esm-es5/mds-card-footer.entry.js +1 -1
- package/dist/esm-es5/mds-card-header.entry.js +1 -1
- package/dist/esm-es5/mds-card-media.entry.js +1 -1
- package/dist/esm-es5/mds-card.entry.js +2 -2
- package/dist/esm-es5/mds-details.entry.js +2 -2
- package/dist/esm-es5/mds-dropdown.entry.js +2 -2
- package/dist/esm-es5/mds-emoji.entry.js +2 -2
- package/dist/esm-es5/mds-entity.entry.js +1 -1
- package/dist/esm-es5/mds-file-preview.entry.js +12 -12
- package/dist/esm-es5/mds-file.entry.js +12 -12
- package/dist/esm-es5/mds-filter-item.entry.js +1 -1
- package/dist/esm-es5/mds-filter.entry.js +2 -2
- package/dist/esm-es5/mds-header-bar.entry.js +2 -2
- package/dist/esm-es5/mds-header.entry.js +4 -4
- package/dist/esm-es5/mds-horizontal-scroll.entry.js +2 -2
- package/dist/esm-es5/mds-hr.entry.js +1 -1
- package/dist/esm-es5/mds-img.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range.entry.js +33 -6
- package/dist/esm-es5/mds-input-date.entry.js +47 -7
- package/dist/esm-es5/mds-input-field.entry.js +2 -2
- package/dist/esm-es5/mds-input-otp.entry.js +21 -4
- package/dist/esm-es5/mds-input-range.entry.js +15 -7
- package/dist/esm-es5/mds-input-select.entry.js +37 -6
- package/dist/esm-es5/mds-input-switch_2.entry.js +24 -4
- package/dist/esm-es5/mds-input-tip_2.entry.js +3 -3
- package/dist/esm-es5/mds-input-upload.entry.js +42 -18
- package/dist/esm-es5/mds-input.entry.js +105 -22
- package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
- package/dist/esm-es5/mds-keyboard.entry.js +2 -2
- package/dist/esm-es5/mds-kpi-item.entry.js +2 -2
- package/dist/esm-es5/mds-kpi.entry.js +1 -1
- package/dist/esm-es5/mds-label.entry.js +1 -1
- package/dist/esm-es5/mds-list-item.entry.js +2 -2
- package/dist/esm-es5/mds-list.entry.js +1 -1
- package/dist/esm-es5/mds-mention.entry.js +2 -2
- package/dist/esm-es5/mds-modal.entry.js +2 -2
- package/dist/esm-es5/mds-note.entry.js +2 -2
- package/dist/esm-es5/mds-notification.entry.js +2 -2
- package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
- package/dist/esm-es5/mds-paginator.entry.js +2 -2
- package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
- package/dist/esm-es5/mds-pref-animation.entry.js +7 -1
- package/dist/esm-es5/mds-pref-consumption.entry.js +7 -1
- package/dist/esm-es5/mds-pref-contrast.entry.js +8 -2
- package/dist/esm-es5/mds-pref-language-item.entry.js +2 -2
- package/dist/esm-es5/mds-pref-language.entry.js +2 -2
- package/dist/esm-es5/mds-pref-mode.entry.js +10 -2
- package/dist/esm-es5/mds-pref-theme-item.entry.js +2 -2
- package/dist/esm-es5/mds-pref-theme.entry.js +2 -2
- package/dist/esm-es5/mds-pref.entry.js +6 -3
- package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
- package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-list-item.entry.js +2 -2
- package/dist/esm-es5/mds-price-table-list.entry.js +1 -1
- package/dist/esm-es5/mds-price-table.entry.js +1 -1
- package/dist/esm-es5/mds-progress_2.entry.js +3 -3
- package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
- package/dist/esm-es5/mds-push-notification.entry.js +2 -2
- package/dist/esm-es5/mds-quote.entry.js +2 -2
- package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
- package/dist/esm-es5/mds-radial-menu.entry.js +2 -2
- package/dist/esm-es5/mds-separator.entry.js +1 -1
- package/dist/esm-es5/mds-status-bar.entry.js +2 -2
- package/dist/esm-es5/mds-stepper-bar-item.entry.js +2 -2
- package/dist/esm-es5/mds-stepper-bar.entry.js +3 -3
- package/dist/esm-es5/mds-tab-bar-item.entry.js +3 -3
- package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
- package/dist/esm-es5/mds-tab_2.entry.js +15 -4
- package/dist/esm-es5/mds-table-body.entry.js +1 -1
- package/dist/esm-es5/mds-table-footer.entry.js +1 -1
- package/dist/esm-es5/mds-table-header-cell.entry.js +2 -2
- package/dist/esm-es5/mds-table-header.entry.js +4 -4
- package/dist/esm-es5/mds-table-row.entry.js +12 -4
- package/dist/esm-es5/mds-table.entry.js +2 -2
- package/dist/esm-es5/mds-text.entry.js +2 -2
- package/dist/esm-es5/mds-toast.entry.js +2 -2
- package/dist/esm-es5/mds-tooltip.entry.js +2 -2
- package/dist/esm-es5/mds-tree-item.entry.js +2 -2
- package/dist/esm-es5/mds-tree.entry.js +2 -2
- package/dist/esm-es5/mds-url-view.entry.js +2 -2
- package/dist/esm-es5/mds-usage.entry.js +2 -2
- package/dist/esm-es5/mds-video-wall.entry.js +2 -2
- package/dist/esm-es5/mds-zero.entry.js +1 -1
- package/dist/esm-es5/preference-DNNqH7BU.js +58 -0
- package/dist/hydrate/index.js +1708 -441
- package/dist/hydrate/index.mjs +1708 -441
- package/dist/magma-components/index.esm.js +1 -1
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/magma-components.js +1 -1
- package/dist/magma-components/p-019e8a95.system.entry.js +13 -0
- package/dist/magma-components/p-01dd1f55.entry.js +1 -0
- package/dist/magma-components/p-02119624.system.entry.js +40 -0
- package/dist/magma-components/p-02fc7592.entry.js +1 -0
- package/dist/magma-components/p-03cd0069.system.entry.js +1 -0
- package/dist/magma-components/p-05fbca60.system.entry.js +37 -0
- package/dist/magma-components/p-06d9af89.entry.js +1 -0
- package/dist/magma-components/p-07e4701d.entry.js +1 -0
- package/dist/magma-components/p-081a19b1.system.entry.js +45 -0
- package/dist/magma-components/p-09d0b6a8.entry.js +1 -0
- package/dist/magma-components/p-0a9fb138.system.entry.js +1 -0
- package/dist/magma-components/p-0b300de7.entry.js +1 -0
- package/dist/magma-components/p-0d3c3de9.entry.js +1 -0
- package/dist/magma-components/p-1150ffb8.system.entry.js +10 -0
- package/dist/magma-components/p-115a5e47.entry.js +1 -0
- package/dist/magma-components/p-1314d80e.entry.js +1 -0
- package/dist/magma-components/p-133a6ffd.system.entry.js +49 -0
- package/dist/magma-components/p-13db55de.entry.js +1 -0
- package/dist/magma-components/p-1a2731ec.system.entry.js +10 -0
- package/dist/magma-components/p-1a602906.system.entry.js +13 -0
- package/dist/magma-components/p-1c975156.entry.js +1 -0
- package/dist/magma-components/p-1cb495d3.entry.js +1 -0
- package/dist/magma-components/p-1d154234.system.entry.js +12 -0
- package/dist/magma-components/p-1d9d7666.entry.js +1 -0
- package/dist/magma-components/p-1ddaaa6d.system.entry.js +217 -0
- package/dist/magma-components/p-21aa0a74.entry.js +1 -0
- package/dist/magma-components/p-21c46e74.system.entry.js +4 -0
- package/dist/magma-components/p-2399b7e8.entry.js +1 -0
- package/dist/magma-components/p-25407d89.entry.js +1 -0
- package/dist/magma-components/p-27547a7a.system.entry.js +7 -0
- package/dist/magma-components/p-289a874e.entry.js +1 -0
- package/dist/magma-components/p-2be3bd23.system.entry.js +1 -0
- package/dist/magma-components/p-2c586431.entry.js +1 -0
- package/dist/magma-components/p-2d324edc.entry.js +1 -0
- package/dist/magma-components/p-2da2cdf3.system.entry.js +7 -0
- package/dist/magma-components/p-2e01e057.system.entry.js +7 -0
- package/dist/magma-components/p-2e9b80e8.entry.js +1 -0
- package/dist/magma-components/p-30c3872d.entry.js +1 -0
- package/dist/magma-components/p-3231a6a3.entry.js +1 -0
- package/dist/magma-components/p-32361702.system.entry.js +7 -0
- package/dist/magma-components/p-3448d0ce.entry.js +1 -0
- package/dist/magma-components/p-367cee40.system.entry.js +1 -0
- package/dist/magma-components/p-3a1a6945.entry.js +1 -0
- package/dist/magma-components/p-3a8870e4.system.entry.js +47 -0
- package/dist/magma-components/p-3b68fbcd.system.entry.js +22 -0
- package/dist/magma-components/p-3ecade3c.system.entry.js +11 -0
- package/dist/magma-components/p-3f05ec8a.entry.js +1 -0
- package/dist/magma-components/p-4073c5f2.system.entry.js +90 -0
- package/dist/magma-components/p-40bd2e6d.entry.js +1 -0
- package/dist/magma-components/p-423597db.system.entry.js +4 -0
- package/dist/magma-components/p-443c2a29.system.entry.js +10 -0
- package/dist/magma-components/p-45a91f1c.system.entry.js +1 -0
- package/dist/magma-components/p-487af9d3.entry.js +1 -0
- package/dist/magma-components/p-4909070e.entry.js +1 -0
- package/dist/magma-components/p-4d966161.system.entry.js +14 -0
- package/dist/magma-components/p-4ddf891e.system.entry.js +69 -0
- package/dist/magma-components/p-4e15cde7.entry.js +1 -0
- package/dist/magma-components/p-4f14a166.entry.js +1 -0
- package/dist/magma-components/p-4ffec31a.system.entry.js +1 -0
- package/dist/magma-components/p-50b266e9.system.entry.js +4 -0
- package/dist/magma-components/p-5165b09f.system.entry.js +4 -0
- package/dist/magma-components/p-544cc9c7.system.entry.js +25 -0
- package/dist/magma-components/p-562bb482.system.entry.js +16 -0
- package/dist/magma-components/p-5ac9e2f4.entry.js +1 -0
- package/dist/magma-components/p-5ae5ec95.entry.js +1 -0
- package/dist/magma-components/p-5d2d8ffe.system.entry.js +11 -0
- package/dist/magma-components/p-5e180f53.system.entry.js +32 -0
- package/dist/magma-components/p-61bedbe7.system.entry.js +68 -0
- package/dist/magma-components/p-61ff1d85.system.entry.js +1 -0
- package/dist/magma-components/p-62b17608.system.entry.js +102 -0
- package/dist/magma-components/p-63e7c98f.entry.js +1 -0
- package/dist/magma-components/p-6474c850.entry.js +8 -0
- package/dist/magma-components/p-660657ac.system.entry.js +15 -0
- package/dist/magma-components/p-66237a64.entry.js +1 -0
- package/dist/magma-components/p-6702e489.entry.js +1 -0
- package/dist/magma-components/p-694ed534.entry.js +1 -0
- package/dist/magma-components/p-6b446fd9.system.entry.js +81 -0
- package/dist/magma-components/p-6c414bc2.system.entry.js +19 -0
- package/dist/magma-components/p-6cbd8a6d.system.entry.js +12 -0
- package/dist/magma-components/p-6d0dc1fd.entry.js +1 -0
- package/dist/magma-components/p-6ed05d99.entry.js +1 -0
- package/dist/magma-components/p-6f2471b1.entry.js +1 -0
- package/dist/magma-components/p-6fa03aab.system.entry.js +7 -0
- package/dist/magma-components/p-7-TP6wnI.js +1 -0
- package/dist/magma-components/p-70141ccd.entry.js +1 -0
- package/dist/magma-components/p-707d8626.system.entry.js +2838 -0
- package/dist/magma-components/p-71dafc3f.entry.js +1 -0
- package/dist/magma-components/p-726209f4.system.entry.js +1 -0
- package/dist/magma-components/p-745ee76b.system.entry.js +32 -0
- package/dist/magma-components/p-761415b3.system.entry.js +37 -0
- package/dist/magma-components/p-771720b7.entry.js +18 -0
- package/dist/magma-components/p-7a7c308b.entry.js +1 -0
- package/dist/magma-components/p-7bea6c05.system.entry.js +10 -0
- package/dist/magma-components/p-7c940015.system.entry.js +1 -0
- package/dist/magma-components/p-7ca990d4.system.entry.js +11 -0
- package/dist/magma-components/p-7d6ca97d.system.entry.js +7 -0
- package/dist/magma-components/p-7ffda4f5.entry.js +1 -0
- package/dist/magma-components/p-8097dfc8.system.entry.js +7 -0
- package/dist/magma-components/p-809adece.system.entry.js +17 -0
- package/dist/magma-components/p-843ab1b4.entry.js +1 -0
- package/dist/magma-components/p-87026d34.entry.js +1 -0
- package/dist/magma-components/p-8765dc11.entry.js +1 -0
- package/dist/magma-components/p-876a5fb9.system.entry.js +1 -0
- package/dist/magma-components/p-87faaa8e.system.entry.js +16 -0
- package/dist/magma-components/p-8a838a1a.entry.js +1 -0
- package/dist/magma-components/p-8bcb2a5f.entry.js +1 -0
- package/dist/magma-components/p-8c93550d.entry.js +1 -0
- package/dist/magma-components/p-8ca1d30d.system.entry.js +1 -0
- package/dist/magma-components/p-8yWTOQiz.js +1 -0
- package/dist/magma-components/p-91451e37.system.entry.js +913 -0
- package/dist/magma-components/p-91c4015f.system.entry.js +4 -0
- package/dist/magma-components/p-91c8960a.system.entry.js +1 -0
- package/dist/magma-components/p-932620b6.entry.js +1 -0
- package/dist/magma-components/p-939da879.system.entry.js +8 -0
- package/dist/magma-components/p-97bde480.entry.js +1 -0
- package/dist/magma-components/p-97d02403.entry.js +1 -0
- package/dist/magma-components/p-983f3e40.entry.js +1 -0
- package/dist/magma-components/p-99227c78.system.entry.js +11 -0
- package/dist/magma-components/p-9a583f6b.system.entry.js +1 -0
- package/dist/magma-components/p-9a86e0ce.system.entry.js +1 -0
- package/dist/magma-components/p-9d1cdb42.system.entry.js +15 -0
- package/dist/magma-components/p-9e5982b6.entry.js +1 -0
- package/dist/magma-components/p-9eb1e154.system.entry.js +14 -0
- package/dist/magma-components/p-9eef2f79.entry.js +1 -0
- package/dist/magma-components/p-9fe14430.system.entry.js +7 -0
- package/dist/magma-components/p-9fe7035a.entry.js +1 -0
- package/dist/magma-components/p-BPNsbMrg.system.js +67 -0
- package/dist/magma-components/p-BS7eEvwu.system.js +17 -0
- package/dist/magma-components/p-BTF_aRDG.system.js +231 -0
- package/dist/magma-components/p-BpVYIPkx.js +1 -0
- package/dist/magma-components/p-BxPbQB28.js +3 -0
- package/dist/magma-components/p-CKfEQ187.system.js +107 -0
- package/dist/magma-components/p-CdsZyFQ-.system.js +10 -0
- package/dist/magma-components/p-DaONbL_w.system.js +162 -0
- package/dist/magma-components/p-Kv1yahtR.js +5 -0
- package/dist/magma-components/p-ZDRIVCAt.system.js +5 -0
- package/dist/magma-components/p-a0972ec9.entry.js +1 -0
- package/dist/magma-components/p-a0d9e01f.system.entry.js +1 -0
- package/dist/magma-components/p-a1851e6f.entry.js +1 -0
- package/dist/magma-components/p-a1b5bd58.entry.js +1 -0
- package/dist/magma-components/p-a2d9549d.system.entry.js +32 -0
- package/dist/magma-components/p-a5a13b20.entry.js +1 -0
- package/dist/magma-components/p-a6a71c77.entry.js +1 -0
- package/dist/magma-components/p-a96312c1.entry.js +1 -0
- package/dist/magma-components/p-a9e4efa3.entry.js +1 -0
- package/dist/magma-components/p-aa0bd826.entry.js +1 -0
- package/dist/magma-components/p-aa74169f.system.entry.js +1 -0
- package/dist/magma-components/p-ab4ffbd4.system.entry.js +68 -0
- package/dist/magma-components/p-ad09a06b.entry.js +1 -0
- package/dist/magma-components/p-ad9cb1f5.entry.js +1 -0
- package/dist/magma-components/p-aed8b119.entry.js +1 -0
- package/dist/magma-components/p-afbef2fc.entry.js +1 -0
- package/dist/magma-components/p-b183d698.system.entry.js +16 -0
- package/dist/magma-components/p-b49196da.entry.js +1 -0
- package/dist/magma-components/p-b77a2832.entry.js +1 -0
- package/dist/magma-components/p-b925c109.system.entry.js +14 -0
- package/dist/magma-components/p-b9e3281a.system.entry.js +72 -0
- package/dist/magma-components/p-bb0538b6.entry.js +1 -0
- package/dist/magma-components/p-bb055583.entry.js +1 -0
- package/dist/magma-components/p-bba04b08.system.entry.js +14 -0
- package/dist/magma-components/p-bc6a41a9.system.entry.js +1 -0
- package/dist/magma-components/p-bd9324f3.system.entry.js +1 -0
- package/dist/magma-components/p-c48e3460.entry.js +1 -0
- package/dist/magma-components/p-c4beed1b.entry.js +1 -0
- package/dist/magma-components/p-c4ccb710.entry.js +1 -0
- package/dist/magma-components/p-c4e4ba90.system.entry.js +38 -0
- package/dist/magma-components/p-c573e136.entry.js +1 -0
- package/dist/magma-components/p-c5ad848f.entry.js +1 -0
- package/dist/magma-components/p-c6841b21.entry.js +1 -0
- package/dist/magma-components/p-c89a44b2.entry.js +1 -0
- package/dist/magma-components/p-c94575de.entry.js +1 -0
- package/dist/magma-components/p-cabe9133.system.entry.js +4 -0
- package/dist/magma-components/p-cb2c5f1b.entry.js +1 -0
- package/dist/magma-components/p-cb571b55.system.entry.js +1 -0
- package/dist/magma-components/p-cbc0f01f.system.entry.js +17 -0
- package/dist/magma-components/p-cc1ee10a.system.entry.js +20 -0
- package/dist/magma-components/p-cd1dc29a.entry.js +1 -0
- package/dist/magma-components/p-cd5cf28b.system.entry.js +1 -0
- package/dist/magma-components/p-cd952369.entry.js +1 -0
- package/dist/magma-components/p-d35aebe5.entry.js +1 -0
- package/dist/magma-components/p-d5e53364.system.entry.js +1 -0
- package/dist/magma-components/p-d74fa7af.entry.js +1 -0
- package/dist/magma-components/p-d7515aae.entry.js +1 -0
- package/dist/magma-components/p-d7a94afb.system.entry.js +7 -0
- package/dist/magma-components/p-d93c9a11.system.entry.js +89 -0
- package/dist/magma-components/p-d9fbbf3f.entry.js +1 -0
- package/dist/magma-components/p-db492cf5.system.entry.js +13 -0
- package/dist/magma-components/p-dc06b29e.entry.js +1 -0
- package/dist/magma-components/p-dc399372.entry.js +1 -0
- package/dist/magma-components/p-dc7bada4.entry.js +1 -0
- package/dist/magma-components/p-dcf841d5.entry.js +1 -0
- package/dist/magma-components/p-dfb4a965.system.entry.js +28 -0
- package/dist/magma-components/p-e1a91e9e.system.entry.js +1 -0
- package/dist/magma-components/p-e2ef1d6f.entry.js +1 -0
- package/dist/magma-components/p-e5438280.system.entry.js +10 -0
- package/dist/magma-components/p-e8cd2b93.system.entry.js +4 -0
- package/dist/magma-components/p-e95f2a48.entry.js +1 -0
- package/dist/magma-components/p-eb113725.system.entry.js +1 -0
- package/dist/magma-components/p-ec5eccbb.entry.js +1 -0
- package/dist/magma-components/p-eca99a0a.system.entry.js +1 -0
- package/dist/magma-components/p-ed897f9f.entry.js +1 -0
- package/dist/magma-components/p-eea815ca.system.entry.js +16 -0
- package/dist/magma-components/p-ef4cd904.system.entry.js +16 -0
- package/dist/magma-components/p-eff1fd6c.system.entry.js +15 -0
- package/dist/magma-components/p-eff38775.entry.js +1 -0
- package/dist/magma-components/p-f01874a8.entry.js +1 -0
- package/dist/magma-components/p-f05d7005.entry.js +1 -0
- package/dist/magma-components/p-f0c67a70.system.entry.js +15 -0
- package/dist/magma-components/p-f215496c.entry.js +1 -0
- package/dist/magma-components/p-f28cfb33.system.entry.js +4 -0
- package/dist/magma-components/p-f3dbebdd.system.entry.js +27 -0
- package/dist/magma-components/p-f65e29e0.system.entry.js +1 -0
- package/dist/magma-components/p-f830793e.entry.js +1 -0
- package/dist/magma-components/p-f835c307.system.entry.js +7 -0
- package/dist/magma-components/p-f89c3a01.system.entry.js +32 -0
- package/dist/magma-components/p-f8da21a1.system.entry.js +3 -0
- package/dist/magma-components/p-f8eb19b3.entry.js +1 -0
- package/dist/magma-components/p-f8feee93.system.entry.js +4 -0
- package/dist/magma-components/p-f97b4ff4.system.entry.js +16 -0
- package/dist/magma-components/p-fc8f8a0c.entry.js +1 -0
- package/dist/magma-components/p-fcaa5967.entry.js +18 -0
- package/dist/magma-components/p-ff970859.system.entry.js +30 -0
- package/dist/magma-components/p-hVpoPUxI.system.js +58 -0
- package/dist/magma-components/p-wI0alRSO.js +1 -0
- package/dist/stats.json +3235 -2557
- package/dist/types/common/form.d.ts +8 -1
- package/dist/types/common/navigation.d.ts +32 -0
- package/dist/types/common/preference.d.ts +1 -1
- package/dist/types/common/validity/index.d.ts +22 -0
- package/dist/types/components/mds-button/mds-button.d.ts +32 -2
- package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +23 -1
- package/dist/types/components/mds-input/mds-input.d.ts +41 -2
- package/dist/types/components/mds-input/meta/validators.d.ts +22 -0
- package/dist/types/components/mds-input/meta/validity.d.ts +14 -0
- package/dist/types/components/mds-input-date/mds-input-date.d.ts +38 -0
- package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +26 -0
- package/dist/types/components/mds-input-otp/mds-input-otp.d.ts +21 -2
- package/dist/types/components/mds-input-range/mds-input-range.d.ts +8 -1
- package/dist/types/components/mds-input-select/mds-input-select.d.ts +41 -4
- package/dist/types/components/mds-input-select/meta/event-detail.d.ts +8 -0
- package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +17 -0
- package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +27 -5
- package/dist/types/components/mds-keyboard-key/meta/icons.d.ts +1 -1
- package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +10 -1
- package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +10 -1
- package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +10 -1
- package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +10 -1
- package/dist/types/components/mds-tab/mds-tab.d.ts +6 -1
- package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +6 -1
- package/dist/types/components/mds-table-row/mds-table-row.d.ts +3 -2
- package/dist/types/components.d.ts +106 -23
- package/dist/types/index.d.ts +12 -4
- package/package.json +27 -14
- package/dist/cjs/floating-controller-Cd_vNLLD.js +0 -369
- package/dist/cjs/form-DTCBh5WK.js +0 -22
- package/dist/cjs/index--6wz7eWi.js +0 -5183
- package/dist/cjs/locale-CB5_Z7PE.js +0 -816
- package/dist/cjs/preference-eJcbLLAn.js +0 -389
- package/dist/components/p-6K9sFzLr.js +0 -1
- package/dist/components/p-A9TZf0Ii.js +0 -1
- package/dist/components/p-BBhbQT2f.js +0 -1
- package/dist/components/p-BFpRu7yD.js +0 -1
- package/dist/components/p-BL63WAAq.js +0 -8
- package/dist/components/p-BNHXZ-JR.js +0 -1
- package/dist/components/p-BShLEry5.js +0 -1
- package/dist/components/p-BSxuG1vZ.js +0 -1
- package/dist/components/p-BTHR4xXu.js +0 -1
- package/dist/components/p-BYxxgEE_.js +0 -1
- package/dist/components/p-BZFyAX-6.js +0 -1
- package/dist/components/p-BhFTcUD0.js +0 -3
- package/dist/components/p-Bss3F51Q.js +0 -5
- package/dist/components/p-BtMdmkID.js +0 -1
- package/dist/components/p-ByaUOMp0.js +0 -1
- package/dist/components/p-C1xZO_fq.js +0 -1
- package/dist/components/p-C58NKMEE.js +0 -1
- package/dist/components/p-C6Q4zFh6.js +0 -1
- package/dist/components/p-CUQ7WIXh.js +0 -1
- package/dist/components/p-CVpjH8Un.js +0 -1
- package/dist/components/p-Cd_8zD_I.js +0 -1
- package/dist/components/p-CnAeawmf.js +0 -1
- package/dist/components/p-CvIFS8oA.js +0 -1
- package/dist/components/p-DCrjf0F0.js +0 -1
- package/dist/components/p-DlHJvYE7.js +0 -1
- package/dist/components/p-DlaJNPdd.js +0 -1
- package/dist/components/p-DnrQaRnh.js +0 -1
- package/dist/components/p-OPg_Naue.js +0 -1
- package/dist/components/p-RS4yyl41.js +0 -1
- package/dist/components/p-gv3eu44S.js +0 -1
- package/dist/components/p-kff6xSdW.js +0 -1
- package/dist/components/p-pys1EQ60.js +0 -1
- package/dist/components/p-qketFgr0.js +0 -1
- package/dist/components/p-wq6nWuWE.js +0 -1
- package/dist/components/p-zml3K7nx.js +0 -1
- package/dist/esm/floating-controller-DVldZ5mh.js +0 -366
- package/dist/esm/form-A9TZf0Ii.js +0 -19
- package/dist/esm/index-DIiEV39g.js +0 -5149
- package/dist/esm/locale-CbJbTW_c.js +0 -814
- package/dist/esm/preference-CKerJx2M.js +0 -385
- package/dist/esm-es5/floating-controller-DVldZ5mh.js +0 -66
- package/dist/esm-es5/form-A9TZf0Ii.js +0 -8
- package/dist/esm-es5/index-DIiEV39g.js +0 -371
- package/dist/esm-es5/locale-CbJbTW_c.js +0 -230
- package/dist/esm-es5/preference-CKerJx2M.js +0 -58
- package/dist/magma-components/p-005172ba.entry.js +0 -1
- package/dist/magma-components/p-05fa40aa.system.entry.js +0 -10
- package/dist/magma-components/p-071f18c6.system.entry.js +0 -27
- package/dist/magma-components/p-0798b0bf.system.entry.js +0 -24
- package/dist/magma-components/p-0827a5bd.entry.js +0 -1
- package/dist/magma-components/p-086fb3aa.entry.js +0 -1
- package/dist/magma-components/p-0a088e7d.system.entry.js +0 -10
- package/dist/magma-components/p-0a691082.entry.js +0 -1
- package/dist/magma-components/p-0ec21574.system.entry.js +0 -10
- package/dist/magma-components/p-0f6bb54d.system.entry.js +0 -22
- package/dist/magma-components/p-102d3bd3.system.entry.js +0 -1
- package/dist/magma-components/p-10704ede.system.entry.js +0 -4
- package/dist/magma-components/p-15c77a98.system.entry.js +0 -19
- package/dist/magma-components/p-15f63bf3.entry.js +0 -1
- package/dist/magma-components/p-16e9fb14.system.entry.js +0 -7
- package/dist/magma-components/p-181dfb04.entry.js +0 -1
- package/dist/magma-components/p-184720be.system.entry.js +0 -1
- package/dist/magma-components/p-18473d2f.entry.js +0 -1
- package/dist/magma-components/p-18667ae7.system.entry.js +0 -13
- package/dist/magma-components/p-18f7b970.system.entry.js +0 -4
- package/dist/magma-components/p-19adde9d.entry.js +0 -1
- package/dist/magma-components/p-1afc0452.entry.js +0 -1
- package/dist/magma-components/p-1cce738a.system.entry.js +0 -32
- package/dist/magma-components/p-1df6ac96.system.entry.js +0 -7
- package/dist/magma-components/p-209063b6.system.entry.js +0 -50
- package/dist/magma-components/p-216f95cc.system.entry.js +0 -1
- package/dist/magma-components/p-21891a24.entry.js +0 -1
- package/dist/magma-components/p-21d6687a.system.entry.js +0 -7
- package/dist/magma-components/p-2217a7be.entry.js +0 -1
- package/dist/magma-components/p-231505e8.entry.js +0 -1
- package/dist/magma-components/p-2386f0d6.system.entry.js +0 -37
- package/dist/magma-components/p-23e61db9.system.entry.js +0 -4
- package/dist/magma-components/p-25935d33.system.entry.js +0 -1
- package/dist/magma-components/p-284c40cd.system.entry.js +0 -4
- package/dist/magma-components/p-29684655.system.entry.js +0 -16
- package/dist/magma-components/p-2b56fc14.entry.js +0 -1
- package/dist/magma-components/p-2b73fee6.entry.js +0 -1
- package/dist/magma-components/p-2d5aadba.system.entry.js +0 -7
- package/dist/magma-components/p-2de17848.entry.js +0 -1
- package/dist/magma-components/p-34482514.entry.js +0 -1
- package/dist/magma-components/p-34c0890e.entry.js +0 -1
- package/dist/magma-components/p-3635eca6.system.entry.js +0 -1
- package/dist/magma-components/p-3b0c1202.entry.js +0 -1
- package/dist/magma-components/p-3db23b5f.system.entry.js +0 -16
- package/dist/magma-components/p-3ec7d3ea.entry.js +0 -1
- package/dist/magma-components/p-3f747a63.system.entry.js +0 -1
- package/dist/magma-components/p-3ff30842.system.entry.js +0 -16
- package/dist/magma-components/p-40563e33.entry.js +0 -1
- package/dist/magma-components/p-41bf6f25.system.entry.js +0 -81
- package/dist/magma-components/p-421a630e.entry.js +0 -1
- package/dist/magma-components/p-4299b76b.system.entry.js +0 -4
- package/dist/magma-components/p-4543501c.entry.js +0 -1
- package/dist/magma-components/p-4616bc07.entry.js +0 -1
- package/dist/magma-components/p-46786d71.system.entry.js +0 -14
- package/dist/magma-components/p-470e5ac8.system.entry.js +0 -1
- package/dist/magma-components/p-48d37230.entry.js +0 -1
- package/dist/magma-components/p-49b120cb.system.entry.js +0 -13
- package/dist/magma-components/p-4af76eb3.entry.js +0 -1
- package/dist/magma-components/p-4b3a8132.system.entry.js +0 -13
- package/dist/magma-components/p-4ba6cb3f.entry.js +0 -1
- package/dist/magma-components/p-4c8316a8.entry.js +0 -1
- package/dist/magma-components/p-4c95442e.entry.js +0 -1
- package/dist/magma-components/p-4cadbd49.entry.js +0 -1
- package/dist/magma-components/p-4e4bdbf8.entry.js +0 -1
- package/dist/magma-components/p-4e5ab0e4.system.entry.js +0 -16
- package/dist/magma-components/p-4f107cb2.system.entry.js +0 -2838
- package/dist/magma-components/p-518b55f3.entry.js +0 -1
- package/dist/magma-components/p-56ad5bf2.entry.js +0 -1
- package/dist/magma-components/p-5eec629c.system.entry.js +0 -17
- package/dist/magma-components/p-5f545f85.system.entry.js +0 -1
- package/dist/magma-components/p-61a5ac3d.system.entry.js +0 -17
- package/dist/magma-components/p-636cc471.entry.js +0 -1
- package/dist/magma-components/p-646034cb.system.entry.js +0 -27
- package/dist/magma-components/p-677ab154.system.entry.js +0 -3
- package/dist/magma-components/p-67d80d37.system.entry.js +0 -1
- package/dist/magma-components/p-6937f340.entry.js +0 -1
- package/dist/magma-components/p-6b7e449f.entry.js +0 -1
- package/dist/magma-components/p-6c417ea1.system.entry.js +0 -913
- package/dist/magma-components/p-6ce60d59.entry.js +0 -1
- package/dist/magma-components/p-6cf760ea.system.entry.js +0 -45
- package/dist/magma-components/p-6dc27543.entry.js +0 -1
- package/dist/magma-components/p-6de37588.entry.js +0 -1
- package/dist/magma-components/p-6f6b5eb5.entry.js +0 -1
- package/dist/magma-components/p-7090184f.entry.js +0 -1
- package/dist/magma-components/p-716ad14c.entry.js +0 -1
- package/dist/magma-components/p-71804224.entry.js +0 -1
- package/dist/magma-components/p-735dc594.system.entry.js +0 -1
- package/dist/magma-components/p-739fdf76.system.entry.js +0 -1
- package/dist/magma-components/p-74b0902a.entry.js +0 -1
- package/dist/magma-components/p-7530a2f2.entry.js +0 -1
- package/dist/magma-components/p-759133b3.entry.js +0 -1
- package/dist/magma-components/p-75dd012a.system.entry.js +0 -11
- package/dist/magma-components/p-76ae22d6.entry.js +0 -1
- package/dist/magma-components/p-78248693.entry.js +0 -1
- package/dist/magma-components/p-7912f877.entry.js +0 -1
- package/dist/magma-components/p-7c0d202c.entry.js +0 -1
- package/dist/magma-components/p-7d304fd4.system.entry.js +0 -65
- package/dist/magma-components/p-7f6d708c.system.entry.js +0 -41
- package/dist/magma-components/p-81b72b6e.entry.js +0 -1
- package/dist/magma-components/p-859ab5a2.entry.js +0 -18
- package/dist/magma-components/p-88564e9b.system.entry.js +0 -14
- package/dist/magma-components/p-896ae0ee.entry.js +0 -1
- package/dist/magma-components/p-89a3bc7a.system.entry.js +0 -16
- package/dist/magma-components/p-8b1abf81.system.entry.js +0 -32
- package/dist/magma-components/p-8bbee38d.entry.js +0 -1
- package/dist/magma-components/p-8bf680d6.system.entry.js +0 -15
- package/dist/magma-components/p-8cb3a071.system.entry.js +0 -15
- package/dist/magma-components/p-8dff6606.system.entry.js +0 -11
- package/dist/magma-components/p-8e40eda3.system.entry.js +0 -9
- package/dist/magma-components/p-8f229eaf.entry.js +0 -1
- package/dist/magma-components/p-91b9d4e7.system.entry.js +0 -4
- package/dist/magma-components/p-92e1001f.entry.js +0 -1
- package/dist/magma-components/p-9378b373.system.entry.js +0 -49
- package/dist/magma-components/p-94fa3396.system.entry.js +0 -47
- package/dist/magma-components/p-9741d95e.system.entry.js +0 -7
- package/dist/magma-components/p-97ea9e6e.system.entry.js +0 -68
- package/dist/magma-components/p-9846fe89.system.entry.js +0 -1
- package/dist/magma-components/p-998721b9.system.entry.js +0 -1
- package/dist/magma-components/p-9a5296c0.system.entry.js +0 -7
- package/dist/magma-components/p-9bbd4193.system.entry.js +0 -102
- package/dist/magma-components/p-9be4a736.entry.js +0 -1
- package/dist/magma-components/p-9caffe14.entry.js +0 -1
- package/dist/magma-components/p-9d86477d.system.entry.js +0 -1
- package/dist/magma-components/p-9de1ac7f.entry.js +0 -1
- package/dist/magma-components/p-9e3bc553.system.entry.js +0 -26
- package/dist/magma-components/p-9e58467e.system.entry.js +0 -10
- package/dist/magma-components/p-9e9a1ebd.system.entry.js +0 -15
- package/dist/magma-components/p-A9TZf0Ii.js +0 -1
- package/dist/magma-components/p-BFnx_0hM.js +0 -5
- package/dist/magma-components/p-BbMKuVem.js +0 -1
- package/dist/magma-components/p-C2FHijr2.system.js +0 -231
- package/dist/magma-components/p-CDTiTqY0.system.js +0 -58
- package/dist/magma-components/p-CI85vVs8.system.js +0 -9
- package/dist/magma-components/p-CnXBPjmc.system.js +0 -5
- package/dist/magma-components/p-DB8Rm54c.js +0 -1
- package/dist/magma-components/p-DIiEV39g.js +0 -3
- package/dist/magma-components/p-DVd2EM-q.system.js +0 -90
- package/dist/magma-components/p-DmC-b-ZK.system.js +0 -67
- package/dist/magma-components/p-MGv0i39Y.system.js +0 -162
- package/dist/magma-components/p-a15da479.system.entry.js +0 -8
- package/dist/magma-components/p-a3b0f586.entry.js +0 -1
- package/dist/magma-components/p-a93b2a39.entry.js +0 -1
- package/dist/magma-components/p-aa267e7b.entry.js +0 -1
- package/dist/magma-components/p-ab9095ae.system.entry.js +0 -4
- package/dist/magma-components/p-ab997243.system.entry.js +0 -4
- package/dist/magma-components/p-ace198e9.entry.js +0 -1
- package/dist/magma-components/p-ad3983b2.entry.js +0 -1
- package/dist/magma-components/p-aea6081f.entry.js +0 -1
- package/dist/magma-components/p-af41c8b8.system.entry.js +0 -1
- package/dist/magma-components/p-af45f0a5.system.entry.js +0 -20
- package/dist/magma-components/p-b0539d61.system.entry.js +0 -32
- package/dist/magma-components/p-b35c26f8.entry.js +0 -18
- package/dist/magma-components/p-b3a3578c.entry.js +0 -1
- package/dist/magma-components/p-b49e0321.system.entry.js +0 -1
- package/dist/magma-components/p-b71e0d51.entry.js +0 -1
- package/dist/magma-components/p-b8d4a14e.entry.js +0 -1
- package/dist/magma-components/p-ba035f90.entry.js +0 -1
- package/dist/magma-components/p-bc51d310.system.entry.js +0 -1
- package/dist/magma-components/p-bd490a8e.entry.js +0 -1
- package/dist/magma-components/p-be198039.system.entry.js +0 -4
- package/dist/magma-components/p-bf7168b4.entry.js +0 -1
- package/dist/magma-components/p-bf84d9fa.entry.js +0 -1
- package/dist/magma-components/p-c4e58240.entry.js +0 -1
- package/dist/magma-components/p-c573de10.entry.js +0 -1
- package/dist/magma-components/p-c6be3db7.system.entry.js +0 -1
- package/dist/magma-components/p-c7517884.system.entry.js +0 -38
- package/dist/magma-components/p-c9be79bd.entry.js +0 -1
- package/dist/magma-components/p-c9e12c2b.system.entry.js +0 -7
- package/dist/magma-components/p-cb6a1908.entry.js +0 -1
- package/dist/magma-components/p-cbd5aef4.system.entry.js +0 -14
- package/dist/magma-components/p-cc033985.system.entry.js +0 -14
- package/dist/magma-components/p-cd21137b.system.entry.js +0 -1
- package/dist/magma-components/p-cd84a264.system.entry.js +0 -41
- package/dist/magma-components/p-d0457835.entry.js +0 -1
- package/dist/magma-components/p-d3116844.entry.js +0 -1
- package/dist/magma-components/p-d38165ed.system.entry.js +0 -1
- package/dist/magma-components/p-d3933a22.entry.js +0 -1
- package/dist/magma-components/p-d44c49d6.system.entry.js +0 -8
- package/dist/magma-components/p-d4a529ce.entry.js +0 -1
- package/dist/magma-components/p-d64311e2.entry.js +0 -1
- package/dist/magma-components/p-d6d4aa1a.entry.js +0 -1
- package/dist/magma-components/p-d81e7100.system.entry.js +0 -15
- package/dist/magma-components/p-d8c27f4b.entry.js +0 -1
- package/dist/magma-components/p-d921d876.entry.js +0 -1
- package/dist/magma-components/p-da1ac3e1.entry.js +0 -1
- package/dist/magma-components/p-da4dc390.system.entry.js +0 -4
- package/dist/magma-components/p-dda7a33b.entry.js +0 -1
- package/dist/magma-components/p-de6bc3c8.entry.js +0 -1
- package/dist/magma-components/p-df2b7607.system.entry.js +0 -4
- package/dist/magma-components/p-e0b2ef8f.system.entry.js +0 -1
- package/dist/magma-components/p-e0c50a2d.entry.js +0 -1
- package/dist/magma-components/p-e1277efe.system.entry.js +0 -1
- package/dist/magma-components/p-e1e6dd97.entry.js +0 -1
- package/dist/magma-components/p-e2f7a9bd.system.entry.js +0 -1
- package/dist/magma-components/p-e375c8b1.entry.js +0 -1
- package/dist/magma-components/p-e3fce8ca.entry.js +0 -1
- package/dist/magma-components/p-e5c6f9a9.system.entry.js +0 -7
- package/dist/magma-components/p-e5da7036.entry.js +0 -1
- package/dist/magma-components/p-e6dccab5.system.entry.js +0 -1
- package/dist/magma-components/p-e9a16f22.system.entry.js +0 -134
- package/dist/magma-components/p-ea0091b6.entry.js +0 -1
- package/dist/magma-components/p-ec00defc.system.entry.js +0 -13
- package/dist/magma-components/p-ec59ec9a.entry.js +0 -1
- package/dist/magma-components/p-eddcef53.system.entry.js +0 -1
- package/dist/magma-components/p-edfb0d7a.entry.js +0 -1
- package/dist/magma-components/p-eed00e7f.system.entry.js +0 -1
- package/dist/magma-components/p-ef8cb401.entry.js +0 -1
- package/dist/magma-components/p-f070a5b5.system.entry.js +0 -11
- package/dist/magma-components/p-f23d4974.entry.js +0 -1
- package/dist/magma-components/p-f542246f.system.entry.js +0 -1
- package/dist/magma-components/p-f5c680dd.entry.js +0 -1
- package/dist/magma-components/p-f60c6e8e.system.entry.js +0 -40
- package/dist/magma-components/p-f8369939.entry.js +0 -1
- package/dist/magma-components/p-f97ede3e.system.entry.js +0 -19
- package/dist/magma-components/p-f97ff5b2.entry.js +0 -1
- package/dist/magma-components/p-f9d9cf7c.system.entry.js +0 -11
- package/dist/magma-components/p-fa163e86.entry.js +0 -1
- package/dist/magma-components/p-fe1662e8.system.entry.js +0 -28
- package/dist/magma-components/p-fe19080a.entry.js +0 -8
- package/dist/magma-components/p-ff133cbd.entry.js +0 -1
- package/dist/magma-components/p-ff49fb35.entry.js +0 -1
- package/dist/magma-components/p-fff44704.entry.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, e as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, e as Host, g as getElement } from './index-BxPbQB28.js';
|
|
2
2
|
import { q as queryChildrenByTag } from './slot-C0o_l0td.js';
|
|
3
3
|
|
|
4
4
|
const mdsTreeCss = () => `@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-tree-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-tree-actions-border-radius:var(--radius-lg,16px);--mds-tree-actions-gap:calc(var(--spacing,.0025rem)*50);--mds-tree-label-default-background:#0000;--mds-tree-label-hover-background:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));--mds-tree-label-icon-default-color:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-tree-label-icon-hover-color:var(--mds-tree-label-icon-default-color);--mds-tree-line-clamp:2;--mds-tree-branch-border-color:rgb(var(--magma-border-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196))));--mds-tree-branch-use-rounded-border:true;--mds-tree-branch-border-size:calc(var(--spacing,.0025rem)*50);--mds-tree-branch-dot-default-color:rgb(var(--magma-border-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196))));--mds-tree-branch-dot-expanded-color:rgb(var(--magma-border-strong,var(--magma-tint-border-strong,var(--border-neutral-strong,140 140 140))));--mds-tree-toggle-gap:calc(var(--spacing,.0025rem)*150);--mds-tree-toggle-icon-async-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));--mds-tree-toggle-icon-async-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))));--mds-tree-toggle-icon-chevron-default-background:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-tree-toggle-icon-chevron-default-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-tree-toggle-icon-chevron-expanded-background:var(--mds-tree-toggle-icon-chevron-default-background);--mds-tree-toggle-icon-chevron-expanded-color:var(--mds-tree-toggle-icon-chevron-default-color);--mds-tree-toggle-icon-folder-default-background:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-tree-toggle-icon-folder-default-color:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-tree-toggle-icon-folder-expanded-color:var(--mds-tree-toggle-icon-folder-default-color);--mds-tree-toggle-icon-position-right-default-background:#0000;--mds-tree-toggle-icon-position-right-default-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-tree-toggle-icon-position-right-expanded-background:#0000;--mds-tree-toggle-icon-position-right-expanded-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-tree-transition-duration:.3s;--mds-tree-transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));--mds-tree-toggle-border-radius:var(--radius-lg,16px);--mds-tree-toggle-size:calc(var(--spacing,.0025rem)*900);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--radius-sm,10px);display:grid;padding:calc(var(--spacing,.0025rem)*50);-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);transition-property:background-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}@property --tw-ease{syntax:"*";inherits:false}`;
|
|
@@ -103,7 +103,7 @@ const MdsTree = class {
|
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
render() {
|
|
106
|
-
return (h(Host, { key: '
|
|
106
|
+
return (h(Host, { key: '78fb744b2ced74fab6bbbfe7ef272b25d3f90c89' }, h("slot", { key: '8187084c990a6b59ce8d8abcfa6dba4c47bc53e9', onSlotchange: this.updateElements })));
|
|
107
107
|
}
|
|
108
108
|
get host() { return getElement(this); }
|
|
109
109
|
static get watchers() { return {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, d as createEvent, h, e as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, d as createEvent, h, e as Host, g as getElement } from './index-BxPbQB28.js';
|
|
2
2
|
import { m as miBaselineClose } from './close-J-ikDhyq.js';
|
|
3
3
|
import { K as KeyboardManager } from './keyboard-manager-KRu9I7dw.js';
|
|
4
|
-
import { L as Locale } from './locale-
|
|
5
|
-
import { p as preferenceStore } from './preference-
|
|
4
|
+
import { L as Locale } from './locale-CVJm6KFD.js';
|
|
5
|
+
import { p as preferenceStore } from './preference-DNNqH7BU.js';
|
|
6
6
|
|
|
7
7
|
var miBaselineExplore = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 10.9c-.61 0-1.1.49-1.1 1.1s.49 1.1 1.1 1.1c.61 0 1.1-.49 1.1-1.1s-.49-1.1-1.1-1.1zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm2.19 12.19L6 18l3.81-8.19L18 6l-3.81 8.19z"/></svg>`;
|
|
8
8
|
|
|
@@ -89,7 +89,7 @@ const MdsUrlView = class {
|
|
|
89
89
|
}
|
|
90
90
|
render() {
|
|
91
91
|
var _a, _b;
|
|
92
|
-
return (h(Host, { key: '
|
|
92
|
+
return (h(Host, { key: '5d5b18b08ab6248208ed93e40072c4d04876e9d7', "aria-label": this.t.get('previewURL', { url: this.urlDomain(this.src) }), "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, h("div", { key: '3218cf559118a33ac33941392baeb1677f007fdb', class: "window" }, h("div", { key: '21efea0113b7fd6a05af0e74d5274bea0e5d7270', class: "header" }, h("mds-icon", { key: '6424c1bce6d7d3f9a0a5a155574c2b310b825a4e', class: "window-icon", name: (_a = this.icon) !== null && _a !== void 0 ? _a : miBaselineExplore }), h("mds-text", { key: '7d6117345c8401c6fdbf90ec22855c380c5c5af1', class: "title", typography: "caption" }, (_b = this.label) !== null && _b !== void 0 ? _b : this.urlDomain(this.src)), h("mds-button", { key: 'b179e9ec2295fd5dcd22db2d63cc0eb6aaf2ed9e', title: this.t.get('close'), class: "action-close", variant: "dark", tone: "text", icon: miBaselineClose, onClick: this.closeUrlView })), h("iframe", { key: 'cbefb075bb231e5dbf1db14dd456758e27f757a7', class: "iframe", "aria-label": this.t.get('iframeURL', { url: this.urlDomain(this.src) }), src: this.src, loading: this.loading }))));
|
|
93
93
|
}
|
|
94
94
|
get host() { return getElement(this); }
|
|
95
95
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h, e as Host } from './index-
|
|
2
|
-
import { L as Locale } from './locale-
|
|
3
|
-
import { p as preferenceStore } from './preference-
|
|
1
|
+
import { r as registerInstance, h, e as Host } from './index-BxPbQB28.js';
|
|
2
|
+
import { L as Locale } from './locale-CVJm6KFD.js';
|
|
3
|
+
import { p as preferenceStore } from './preference-DNNqH7BU.js';
|
|
4
4
|
|
|
5
5
|
const dont$3 = "Δεν επιτρέπεται";
|
|
6
6
|
const info$3 = "Πληροφορία";
|
|
@@ -60,7 +60,7 @@ const MdsUsage = class {
|
|
|
60
60
|
}
|
|
61
61
|
render() {
|
|
62
62
|
var _a;
|
|
63
|
-
return (h(Host, { key: '
|
|
63
|
+
return (h(Host, { key: 'cf0c6b62fc4f8f7a297605ca77ff16067bb542d3', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, h("div", { key: 'd7c92de2944edd302cb06525c0ee4a43a6528a14', class: "header", part: "header" }, h("mds-icon", { key: '7bdfd0cf86f2e47ba2c1ffe3d6346652be3ed8d1', name: "mi/baseline/info", part: "icon" }), h("mds-text", { key: '335f96253125a0019a03233e0367595f3bc53be1', typography: "label", class: "label", part: "label" }, (_a = this.alias) !== null && _a !== void 0 ? _a : this.t.get(this.variant))), h("div", { key: 'b70f017128d80ff0bfc24b0ff3935212d17b0a08', class: "content", role: this.variant === 'do' || this.variant === 'info' ? 'insertion' : 'deletion' }, h("slot", { key: 'ea81f6077c8842d48ef63d7f041d92199b64925e' }))));
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
66
|
MdsUsage.style = mdsUsageCss();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, e as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, e as Host, g as getElement } from './index-BxPbQB28.js';
|
|
2
2
|
import { h as hasChildWithSlot } from './slot-C0o_l0td.js';
|
|
3
3
|
import { c as clsx } from './clsx-ChV9xqsO.js';
|
|
4
4
|
|
|
@@ -35,7 +35,7 @@ const MdsVideoWall = class {
|
|
|
35
35
|
this.hasContent = hasChildWithSlot(this.hostElement, 'content');
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: '94928e6afc0142c8082518a25b2f594a05325ac2' }, this.noise !== 'none' && (h("div", { key: 'e7a8161a371b621804bfac37d10ba4bf883ed3f8', "aria-hidden": "true", class: clsx('noise', `noise--${this.noise}`) })), h("video", { key: 'dd8e93a8571d735b0815074c5303d8b4ae2df0f5', "aria-hidden": "true", autoplay: this.autoplay, loop: this.loop, muted: this.muted, poster: this.poster, preload: this.preload, src: this.src }, h("slot", { key: 'a40be3e398a343c0bfdeab3b434be926aa88db37' })), h("div", { key: '1c9b4531760bb68227dbaf1372d570baa56816b2', class: clsx('content', !this.hasContent && 'content--hidden') }, h("slot", { key: '9d71e618a2662408f1dc48fc2191f187529f816b', name: "content", onSlotchange: this.onContentSlotChange }))));
|
|
39
39
|
}
|
|
40
40
|
get hostElement() { return getElement(this); }
|
|
41
41
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h, e as Host } from './index-
|
|
2
|
-
import { p as preferenceStore } from './preference-
|
|
1
|
+
import { r as registerInstance, h, e as Host } from './index-BxPbQB28.js';
|
|
2
|
+
import { p as preferenceStore } from './preference-DNNqH7BU.js';
|
|
3
3
|
|
|
4
4
|
const mdsZeroCss = () => `@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host{--mds-zero-contents-max-width:400px;--mds-zero-transition-duration:var(--duration-200,.2s);--private-zero-transition-duration:var(--mds-zero-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));align-items:center;background-color:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));border-radius:var(--radius-xl,20px);display:flex;flex-direction:column;gap:calc(var(--spacing,.0025rem)*600);justify-items:center;padding:calc(var(--spacing,.0025rem)*1200);-webkit-transition-duration:var(--private-zero-transition-duration);transition-duration:var(--private-zero-transition-duration);transition-property:box-shadow,background-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}:host .contents{display:flex;flex-direction:column;max-width:var(--mds-zero-contents-max-width,400px);place-items:center;text-align:center}:host .actions{align-items:center;display:flex;gap:calc(var(--spacing,.0025rem)*200);justify-items:center;width:100%}:host ::slotted([slot=action]){margin:auto}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-zero-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){background-color:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --tw-ease{syntax:"*";inherits:false}@media (min-width:480px){:host{padding-inline:calc(var(--spacing,.0025rem)*600)}}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-zero-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){background-color:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}`;
|
|
5
5
|
|
|
@@ -8,7 +8,7 @@ const MdsZero = class {
|
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: 'c81499814fbed3b55f7428fa30386d7896575d11', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, h("slot", { key: '9a564f05cc0aae68807d70d1ae293daae88d17f7' }), h("div", { key: '6bb77e2d7e8779b2c377d63a7b2c634993c97f69', class: "contents", part: "contents" }, h("slot", { key: '6043e14df46b00260d660e85fc04ebd6510ea10b', name: "content" })), h("footer", { key: '9431be5fb6ef039047d1e9bab5cd26faf2054449', class: "actions", part: "actions" }, h("slot", { key: '99702bdea1306673e30956b8c7a3c72e37060d56', name: "action" }))));
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
14
|
MdsZero.style = mdsZeroCss();
|
|
@@ -0,0 +1,385 @@
|
|
|
1
|
+
import { S as StencilCore } from './index-BxPbQB28.js';
|
|
2
|
+
|
|
3
|
+
const appendToMap = (map, refsByValue, propName, value) => {
|
|
4
|
+
let ref = refsByValue.get(value);
|
|
5
|
+
if (!ref) {
|
|
6
|
+
ref = new WeakRef(value);
|
|
7
|
+
refsByValue.set(value, ref);
|
|
8
|
+
}
|
|
9
|
+
let refs = map.get(propName);
|
|
10
|
+
if (!refs) {
|
|
11
|
+
refs = new Set();
|
|
12
|
+
map.set(propName, refs);
|
|
13
|
+
}
|
|
14
|
+
refs.add(ref);
|
|
15
|
+
};
|
|
16
|
+
const debounce = (fn, ms) => {
|
|
17
|
+
let timeoutId;
|
|
18
|
+
return (...args) => {
|
|
19
|
+
if (timeoutId) {
|
|
20
|
+
clearTimeout(timeoutId);
|
|
21
|
+
}
|
|
22
|
+
timeoutId = setTimeout(() => {
|
|
23
|
+
timeoutId = 0;
|
|
24
|
+
fn(...args);
|
|
25
|
+
}, ms);
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Check if a possible element isConnected.
|
|
31
|
+
* The property might not be there, so we check for it.
|
|
32
|
+
*
|
|
33
|
+
* We want it to return true if isConnected is not a property,
|
|
34
|
+
* otherwise we would remove these elements and would not update.
|
|
35
|
+
*
|
|
36
|
+
* Better leak in Edge than to be useless.
|
|
37
|
+
*/
|
|
38
|
+
const isConnected = (maybeElement) => !('isConnected' in maybeElement) || maybeElement.isConnected;
|
|
39
|
+
const cleanupElements = debounce((map) => {
|
|
40
|
+
map.forEach((refs, key) => {
|
|
41
|
+
const nextRefs = new Set();
|
|
42
|
+
refs.forEach((ref) => {
|
|
43
|
+
const elm = ref.deref();
|
|
44
|
+
if (elm && isConnected(elm))
|
|
45
|
+
nextRefs.add(ref);
|
|
46
|
+
});
|
|
47
|
+
map.set(key, nextRefs);
|
|
48
|
+
});
|
|
49
|
+
}, 2_000);
|
|
50
|
+
const core = StencilCore;
|
|
51
|
+
const forceUpdate = core.forceUpdate;
|
|
52
|
+
const getRenderingRef = core.getRenderingRef;
|
|
53
|
+
const stencilSubscription = () => {
|
|
54
|
+
if (typeof getRenderingRef !== 'function' || typeof forceUpdate !== 'function') {
|
|
55
|
+
// If we are not in a stencil project, we do nothing.
|
|
56
|
+
// This function is not really exported by @stencil/core.
|
|
57
|
+
return {};
|
|
58
|
+
}
|
|
59
|
+
const ensureForceUpdate = forceUpdate;
|
|
60
|
+
const ensureGetRenderingRef = getRenderingRef;
|
|
61
|
+
const refsByElement = new WeakMap();
|
|
62
|
+
const elmsToUpdate = new Map();
|
|
63
|
+
return {
|
|
64
|
+
dispose: () => elmsToUpdate.clear(),
|
|
65
|
+
get: (propName) => {
|
|
66
|
+
const elm = ensureGetRenderingRef();
|
|
67
|
+
if (elm) {
|
|
68
|
+
appendToMap(elmsToUpdate, refsByElement, propName, elm);
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
set: (propName) => {
|
|
72
|
+
const refs = elmsToUpdate.get(propName);
|
|
73
|
+
if (refs) {
|
|
74
|
+
const nextRefs = new Set();
|
|
75
|
+
refs.forEach((ref) => {
|
|
76
|
+
const elm = ref.deref();
|
|
77
|
+
if (elm && ensureForceUpdate(elm))
|
|
78
|
+
nextRefs.add(ref);
|
|
79
|
+
});
|
|
80
|
+
elmsToUpdate.set(propName, nextRefs);
|
|
81
|
+
}
|
|
82
|
+
cleanupElements(elmsToUpdate);
|
|
83
|
+
},
|
|
84
|
+
reset: () => {
|
|
85
|
+
elmsToUpdate.forEach((refs) => {
|
|
86
|
+
refs.forEach((ref) => {
|
|
87
|
+
const elm = ref.deref();
|
|
88
|
+
if (elm)
|
|
89
|
+
ensureForceUpdate(elm);
|
|
90
|
+
});
|
|
91
|
+
});
|
|
92
|
+
cleanupElements(elmsToUpdate);
|
|
93
|
+
},
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
const unwrap = (val) => (typeof val === 'function' ? val() : val);
|
|
98
|
+
const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) => {
|
|
99
|
+
const resolveDefaultState = () => (unwrap(defaultState) ?? {});
|
|
100
|
+
const initialState = resolveDefaultState();
|
|
101
|
+
let states = new Map(Object.entries(initialState));
|
|
102
|
+
const proxyAvailable = typeof Proxy !== 'undefined';
|
|
103
|
+
const plainState = proxyAvailable ? null : {};
|
|
104
|
+
const handlers = {
|
|
105
|
+
dispose: [],
|
|
106
|
+
get: [],
|
|
107
|
+
set: [],
|
|
108
|
+
reset: [],
|
|
109
|
+
};
|
|
110
|
+
// Track onChange listeners to enable removeListener functionality
|
|
111
|
+
const changeListeners = new Map();
|
|
112
|
+
const reset = () => {
|
|
113
|
+
// When resetting the state, the default state may be a function - unwrap it to invoke it.
|
|
114
|
+
// otherwise, the state won't be properly reset
|
|
115
|
+
states = new Map(Object.entries(resolveDefaultState()));
|
|
116
|
+
if (!proxyAvailable) {
|
|
117
|
+
syncPlainStateKeys();
|
|
118
|
+
}
|
|
119
|
+
handlers.reset.forEach((cb) => cb());
|
|
120
|
+
};
|
|
121
|
+
const dispose = () => {
|
|
122
|
+
// Call first dispose as resetting the state would
|
|
123
|
+
// cause less updates ;)
|
|
124
|
+
handlers.dispose.forEach((cb) => cb());
|
|
125
|
+
reset();
|
|
126
|
+
};
|
|
127
|
+
const get = (propName) => {
|
|
128
|
+
handlers.get.forEach((cb) => cb(propName));
|
|
129
|
+
return states.get(propName);
|
|
130
|
+
};
|
|
131
|
+
const set = (propName, value) => {
|
|
132
|
+
const oldValue = states.get(propName);
|
|
133
|
+
if (shouldUpdate(value, oldValue, propName)) {
|
|
134
|
+
states.set(propName, value);
|
|
135
|
+
if (!proxyAvailable) {
|
|
136
|
+
ensurePlainProperty(propName);
|
|
137
|
+
}
|
|
138
|
+
handlers.set.forEach((cb) => cb(propName, value, oldValue));
|
|
139
|
+
}
|
|
140
|
+
};
|
|
141
|
+
const state = (proxyAvailable
|
|
142
|
+
? new Proxy(initialState, {
|
|
143
|
+
get(_, propName) {
|
|
144
|
+
return get(propName);
|
|
145
|
+
},
|
|
146
|
+
ownKeys(_) {
|
|
147
|
+
return Array.from(states.keys());
|
|
148
|
+
},
|
|
149
|
+
getOwnPropertyDescriptor() {
|
|
150
|
+
return {
|
|
151
|
+
enumerable: true,
|
|
152
|
+
configurable: true,
|
|
153
|
+
};
|
|
154
|
+
},
|
|
155
|
+
has(_, propName) {
|
|
156
|
+
return states.has(propName);
|
|
157
|
+
},
|
|
158
|
+
set(_, propName, value) {
|
|
159
|
+
set(propName, value);
|
|
160
|
+
return true;
|
|
161
|
+
},
|
|
162
|
+
})
|
|
163
|
+
: (() => {
|
|
164
|
+
syncPlainStateKeys();
|
|
165
|
+
return plainState;
|
|
166
|
+
})());
|
|
167
|
+
const on = (eventName, callback) => {
|
|
168
|
+
handlers[eventName].push(callback);
|
|
169
|
+
return () => {
|
|
170
|
+
removeFromArray(handlers[eventName], callback);
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
const onChange = (propName, cb) => {
|
|
174
|
+
const setHandler = (key, newValue) => {
|
|
175
|
+
if (key === propName) {
|
|
176
|
+
cb(newValue);
|
|
177
|
+
}
|
|
178
|
+
};
|
|
179
|
+
const resetHandler = () => {
|
|
180
|
+
const snapshot = resolveDefaultState();
|
|
181
|
+
cb(snapshot[propName]);
|
|
182
|
+
};
|
|
183
|
+
// Register the handlers
|
|
184
|
+
const unSet = on('set', setHandler);
|
|
185
|
+
const unReset = on('reset', resetHandler);
|
|
186
|
+
// Track the relationship between the user callback and internal handlers
|
|
187
|
+
changeListeners.set(cb, { setHandler, resetHandler, propName });
|
|
188
|
+
return () => {
|
|
189
|
+
unSet();
|
|
190
|
+
unReset();
|
|
191
|
+
changeListeners.delete(cb);
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
const use = (...subscriptions) => {
|
|
195
|
+
const unsubs = subscriptions.reduce((unsubs, subscription) => {
|
|
196
|
+
if (subscription.set) {
|
|
197
|
+
unsubs.push(on('set', subscription.set));
|
|
198
|
+
}
|
|
199
|
+
if (subscription.get) {
|
|
200
|
+
unsubs.push(on('get', subscription.get));
|
|
201
|
+
}
|
|
202
|
+
if (subscription.reset) {
|
|
203
|
+
unsubs.push(on('reset', subscription.reset));
|
|
204
|
+
}
|
|
205
|
+
if (subscription.dispose) {
|
|
206
|
+
unsubs.push(on('dispose', subscription.dispose));
|
|
207
|
+
}
|
|
208
|
+
return unsubs;
|
|
209
|
+
}, []);
|
|
210
|
+
return () => unsubs.forEach((unsub) => unsub());
|
|
211
|
+
};
|
|
212
|
+
const forceUpdate = (key) => {
|
|
213
|
+
const oldValue = states.get(key);
|
|
214
|
+
handlers.set.forEach((cb) => cb(key, oldValue, oldValue));
|
|
215
|
+
};
|
|
216
|
+
const removeListener = (propName, listener) => {
|
|
217
|
+
const listenerInfo = changeListeners.get(listener);
|
|
218
|
+
if (listenerInfo && listenerInfo.propName === propName) {
|
|
219
|
+
// Remove the specific handlers that were created for this listener
|
|
220
|
+
removeFromArray(handlers.set, listenerInfo.setHandler);
|
|
221
|
+
removeFromArray(handlers.reset, listenerInfo.resetHandler);
|
|
222
|
+
changeListeners.delete(listener);
|
|
223
|
+
}
|
|
224
|
+
};
|
|
225
|
+
function ensurePlainProperty(key) {
|
|
226
|
+
if (proxyAvailable || !plainState) {
|
|
227
|
+
return;
|
|
228
|
+
}
|
|
229
|
+
if (Object.prototype.hasOwnProperty.call(plainState, key)) {
|
|
230
|
+
return;
|
|
231
|
+
}
|
|
232
|
+
Object.defineProperty(plainState, key, {
|
|
233
|
+
configurable: true,
|
|
234
|
+
enumerable: true,
|
|
235
|
+
get() {
|
|
236
|
+
return get(key);
|
|
237
|
+
},
|
|
238
|
+
set(value) {
|
|
239
|
+
set(key, value);
|
|
240
|
+
},
|
|
241
|
+
});
|
|
242
|
+
}
|
|
243
|
+
function syncPlainStateKeys() {
|
|
244
|
+
if (proxyAvailable || !plainState) {
|
|
245
|
+
return;
|
|
246
|
+
}
|
|
247
|
+
const knownKeys = new Set(states.keys());
|
|
248
|
+
for (const key of Object.keys(plainState)) {
|
|
249
|
+
if (!knownKeys.has(key)) {
|
|
250
|
+
delete plainState[key];
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
for (const key of knownKeys) {
|
|
254
|
+
ensurePlainProperty(key);
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
return {
|
|
258
|
+
state,
|
|
259
|
+
get,
|
|
260
|
+
set,
|
|
261
|
+
on,
|
|
262
|
+
onChange,
|
|
263
|
+
use,
|
|
264
|
+
dispose,
|
|
265
|
+
reset,
|
|
266
|
+
forceUpdate,
|
|
267
|
+
removeListener,
|
|
268
|
+
};
|
|
269
|
+
};
|
|
270
|
+
const removeFromArray = (array, item) => {
|
|
271
|
+
const index = array.indexOf(item);
|
|
272
|
+
if (index >= 0) {
|
|
273
|
+
array[index] = array[array.length - 1];
|
|
274
|
+
array.length--;
|
|
275
|
+
}
|
|
276
|
+
};
|
|
277
|
+
|
|
278
|
+
const createStore = (defaultState, shouldUpdate) => {
|
|
279
|
+
const map = createObservableMap(defaultState, shouldUpdate);
|
|
280
|
+
map.use(stencilSubscription());
|
|
281
|
+
return map;
|
|
282
|
+
};
|
|
283
|
+
|
|
284
|
+
// Allowed values per preference, mirroring the pref-<dim>-<value> classes the
|
|
285
|
+
// controllers publish.
|
|
286
|
+
const PREFERENCE_VALUES = {
|
|
287
|
+
animation: ['reduce', 'system', 'no-preference'],
|
|
288
|
+
consumption: ['low', 'medium', 'high'],
|
|
289
|
+
contrast: ['more', 'no-preference', 'system'],
|
|
290
|
+
// Two independent axes: the mode (light / dark / system, mds-pref-mode) and the
|
|
291
|
+
// scheme the named theme allows (mds-pref-theme). Both reflected on the host.
|
|
292
|
+
mode: ['light', 'dark', 'system'],
|
|
293
|
+
'theme-scheme': ['light', 'dark', 'all'],
|
|
294
|
+
};
|
|
295
|
+
const preferenceStore = createStore({ language: 'en' });
|
|
296
|
+
const MODE_VALUES = PREFERENCE_VALUES.mode;
|
|
297
|
+
/**
|
|
298
|
+
* Carry the v1 storage keys over to the v2 ones, once, before any controller
|
|
299
|
+
* reads them.
|
|
300
|
+
*
|
|
301
|
+
* v1 called the mode `mdsPrefTheme` and the named theme `mdsPrefThemeName`; v2
|
|
302
|
+
* calls them `mdsPrefMode` and `mdsPrefTheme`. The key `mdsPrefTheme` exists in
|
|
303
|
+
* both with a different meaning, so it has to be moved before `mds-pref-theme`
|
|
304
|
+
* reads it: a v1 `dark` read as a theme name would be applied as a theme, and
|
|
305
|
+
* the v1 mode would be lost. A mode value cannot be a theme name
|
|
306
|
+
* (`mds-pref-theme` rejects the three), which is what tells the two apart. It
|
|
307
|
+
* runs here, at module load, because the controllers load in no fixed order.
|
|
308
|
+
*/
|
|
309
|
+
const migrateLegacyPreferenceStorage = (storage) => {
|
|
310
|
+
const legacyMode = storage.getItem('mdsPrefTheme');
|
|
311
|
+
if (legacyMode !== null && MODE_VALUES.includes(legacyMode)) {
|
|
312
|
+
if (storage.getItem('mdsPrefMode') === null) {
|
|
313
|
+
storage.setItem('mdsPrefMode', legacyMode);
|
|
314
|
+
}
|
|
315
|
+
storage.removeItem('mdsPrefTheme');
|
|
316
|
+
}
|
|
317
|
+
const legacyTheme = storage.getItem('mdsPrefThemeName');
|
|
318
|
+
if (legacyTheme !== null) {
|
|
319
|
+
if (storage.getItem('mdsPrefTheme') === null) {
|
|
320
|
+
storage.setItem('mdsPrefTheme', legacyTheme);
|
|
321
|
+
}
|
|
322
|
+
storage.removeItem('mdsPrefThemeName');
|
|
323
|
+
}
|
|
324
|
+
};
|
|
325
|
+
if (typeof localStorage !== 'undefined') {
|
|
326
|
+
try {
|
|
327
|
+
migrateLegacyPreferenceStorage(localStorage);
|
|
328
|
+
}
|
|
329
|
+
catch (_a) {
|
|
330
|
+
// Storage blocked (private mode, sandboxed frame): nothing to migrate.
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
const resolve = (preference) => {
|
|
334
|
+
const values = PREFERENCE_VALUES[preference];
|
|
335
|
+
const { classList } = document.documentElement;
|
|
336
|
+
return values.find((value) => classList.contains(`pref-${preference}-${value}`));
|
|
337
|
+
};
|
|
338
|
+
const resolveCornerShape = () => { var _a; return (_a = document.documentElement.getAttribute('data-corner-shape')) !== null && _a !== void 0 ? _a : undefined; };
|
|
339
|
+
// The store skips no-op assignments, so redundant syncs don't re-render consumers.
|
|
340
|
+
const syncPreferences = () => {
|
|
341
|
+
Object.keys(PREFERENCE_VALUES).forEach((preference) => {
|
|
342
|
+
preferenceStore.state[preference] = resolve(preference);
|
|
343
|
+
});
|
|
344
|
+
preferenceStore.state['corner-shape'] = resolveCornerShape();
|
|
345
|
+
};
|
|
346
|
+
const syncLanguage = () => {
|
|
347
|
+
preferenceStore.state.language = document.documentElement.lang || 'en';
|
|
348
|
+
};
|
|
349
|
+
if (typeof document !== 'undefined') {
|
|
350
|
+
syncPreferences();
|
|
351
|
+
syncLanguage();
|
|
352
|
+
if (typeof MutationObserver !== 'undefined') {
|
|
353
|
+
new MutationObserver(syncPreferences).observe(document.documentElement, {
|
|
354
|
+
attributes: true,
|
|
355
|
+
attributeFilter: ['class', 'data-corner-shape'],
|
|
356
|
+
});
|
|
357
|
+
new MutationObserver(syncLanguage).observe(document.documentElement, {
|
|
358
|
+
attributes: true,
|
|
359
|
+
attributeFilter: ['lang'],
|
|
360
|
+
});
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* Whether motion should be held back right now: the explicit `reduce` choice, or the OS
|
|
365
|
+
* preference when the choice is `system` and when no controller has published one at all.
|
|
366
|
+
*
|
|
367
|
+
* The stylesheets read the same three cases through `:host([pref-animation])`, but a
|
|
368
|
+
* stylesheet can only hold back what CSS drives. An animation written in JS - a GSAP
|
|
369
|
+
* timeline, a rAF loop, a tween of an attribute - has to ask for itself, and until it does
|
|
370
|
+
* the preference is only half kept.
|
|
371
|
+
*/
|
|
372
|
+
const prefersReducedMotion = () => {
|
|
373
|
+
const choice = preferenceStore.state.animation;
|
|
374
|
+
if (choice === 'reduce') {
|
|
375
|
+
return true;
|
|
376
|
+
}
|
|
377
|
+
if (choice === 'no-preference') {
|
|
378
|
+
return false;
|
|
379
|
+
}
|
|
380
|
+
return (typeof window !== 'undefined' &&
|
|
381
|
+
typeof window.matchMedia === 'function' &&
|
|
382
|
+
window.matchMedia('(prefers-reduced-motion: reduce)').matches);
|
|
383
|
+
};
|
|
384
|
+
|
|
385
|
+
export { MODE_VALUES as M, prefersReducedMotion as a, preferenceStore as p };
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,i,r,e){function n(t){return t instanceof r?t:new r((function(i){i(t)}))}return new(r||(r=Promise))((function(r,o){function a(t){try{u(e.next(t))}catch(t){o(t)}}function s(t){try{u(e["throw"](t))}catch(t){o(t)}}function u(t){t.done?r(t.value):n(t.value).then(a,s)}u((e=e.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},e,n,o,a=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return a.next=s(0),a["throw"]=s(1),a["return"]=s(2),typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(i){return u([t,i])}}function u(s){if(e)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(r=0)),r)try{if(e=1,n&&(o=s[0]&2?n["return"]:s[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;if(n=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;n=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){r.label=s[1];break}if(s[0]===6&&r.label<o[1]){r.label=o[1];o=s;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(s);break}if(o[2])r.ops.pop();r.trys.pop();continue}s=i.call(t,r)}catch(t){s=[6,t];n=0}finally{e=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{a as autoPlacement,o as offset,f as flip,s as shift,b as arrow,c as computePosition,d as autoUpdate}from"./floating-ui.dom-CHAGzQT-.js";import{c as cssDurationToMilliseconds}from"./unit-D8eZRaSQ.js";import{s as setAttributeIfEmpty,h as hashRandomValue}from"./aria-CSCy6TMW.js";import{B as Build}from"./index-BxPbQB28.js";
|
|
2
|
+
/** Roles of a popup that `aria-haspopup` knows how to name: a panel that calls itself a `group` has none */var HASPOPUP_ROLES=["dialog","grid","listbox","menu","tree"];
|
|
3
|
+
/**
|
|
4
|
+
* A caller is wired only when it exposes a role that accepts the wiring: on a generic element
|
|
5
|
+
* `aria-expanded` and `aria-haspopup` are attributes ARIA does not allow (axe `aria-allowed-attr`),
|
|
6
|
+
* and a host that keeps its control inside its shadow root is generic exactly like a `div` - an
|
|
7
|
+
* `mds-tab-item` renders the tab as its inner `mds-button[role="tab"]`, an `mds-chip` puts
|
|
8
|
+
* `role="button"` on its label. Written on those hosts the attributes describe the wrapper and not
|
|
9
|
+
* the control, and inside a tablist they even make the item a child the `tab` role no longer covers
|
|
10
|
+
* (axe `aria-required-children`). Moving them onto the inner control is not an option either: an
|
|
11
|
+
* IDREF does not cross the shadow boundary.
|
|
12
|
+
*/var CALLER_ROLES=["button","combobox","link","menuitem","tab","treeitem"];var NATIVE_CALLERS=["A","BUTTON","INPUT","SELECT","SUMMARY","TEXTAREA"];var FloatingController=/** @class */function(){function t(t,i,r){if(r===void 0){r="menu"}var e=this;this._wired=false;
|
|
13
|
+
/** what was written on the caller, to be taken back when the target moves to another one:
|
|
14
|
+
* an attribute that was already there belongs to whoever wrote it and is none of our business */this._written=[];this._labelledByOurs=false;
|
|
15
|
+
/**
|
|
16
|
+
* Lets go of the caller the target no longer names. Left alone it keeps pointing at a panel
|
|
17
|
+
* that is not its own, with a state frozen on the last time it was open, and the panel keeps
|
|
18
|
+
* being labelled by it - `setAttributeIfEmpty` writes the label once and the second caller
|
|
19
|
+
* would never get it.
|
|
20
|
+
*/this.unwireCaller=function(){e._written.forEach((function(t){return e._caller.removeAttribute(t)}));e._written=[];if(e._labelledByOurs){e._host.removeAttribute("aria-labelledby");e._labelledByOurs=false}};this.writeOnCaller=function(t,i){if(e._caller.hasAttribute(t))return;e._caller.setAttribute(t,i);e._written.push(t)};
|
|
21
|
+
/** An IDREF does not cross a shadow boundary: a caller the host shares no tree with keeps the
|
|
22
|
+
* attributes that need no reference and loses the ones that do */this.sameRoot=function(){return e._caller.getRootNode()===e._host.getRootNode()};this.callerAcceptsWiring=function(){var t=e._caller.getAttribute("role");return t!==null?CALLER_ROLES.includes(t):NATIVE_CALLERS.includes(e._caller.tagName)};
|
|
23
|
+
/**
|
|
24
|
+
* Ties caller and popup to each other with real IDREFs - the wiring used to write the selector
|
|
25
|
+
* of the caller, which names no element at all, on both sides and towards the caller itself.
|
|
26
|
+
* Our own callers are waited for first: an `mds-button` writes its `role="button"` in its own
|
|
27
|
+
* `componentDidLoad`, and which of the two components loads first is not guaranteed.
|
|
28
|
+
*/this.wireCaller=function(){return __awaiter(e,void 0,void 0,(function(){var t,i,r,e,n,o,a,s;return __generator(this,(function(u){switch(u.label){case 0:e=this._caller;if(!(Build.isBrowser&&e.tagName.startsWith("MDS-")))return[3/*break*/,3];return[4/*yield*/,customElements.whenDefined(e.tagName.toLowerCase())];case 1:u.sent();return[4/*yield*/,(i=(t=e).componentOnReady)===null||i===void 0?void 0:i.call(t)];case 2:u.sent();u.label=3;case 3:
|
|
29
|
+
// a target change while we waited has already wired another caller
|
|
30
|
+
if(e!==this._caller)return[2/*return*/];
|
|
31
|
+
// a tooltip is not a popup its caller controls: it only describes it, and a description
|
|
32
|
+
// reaches a screen reader whatever role the caller has, generic included
|
|
33
|
+
if(this._role==="tooltip"){if(this.sameRoot()){n=setAttributeIfEmpty(this._host,"id",hashRandomValue("mds-tooltip"));this.writeOnCaller("aria-describedby",n)}return[2/*return*/]}if(!this.callerAcceptsWiring())return[2/*return*/];if(this.sameRoot()){o=setAttributeIfEmpty(this._host,"id",hashRandomValue("mds-dropdown"));a=setAttributeIfEmpty(e,"id",hashRandomValue("mds-dropdown-caller"));this.writeOnCaller("aria-controls",o);this._labelledByOurs=!this._host.hasAttribute("aria-labelledby");setAttributeIfEmpty(this._host,"aria-labelledby",a)}s=(r=this._host.getAttribute("role"))!==null&&r!==void 0?r:"";if(HASPOPUP_ROLES.includes(s)){this.writeOnCaller("aria-haspopup",s)}if(!e.hasAttribute("aria-expanded"))this._written.push("aria-expanded");this._wired=true;this.syncExpanded(this._host.visible);return[2/*return*/]}}))}))};this.arrowInset=function(t,i){var r=t.arrow;var e={bottom:"",left:"",right:"",top:""};if(r===undefined){return{}}switch(i){case"bottom":e.left=r.x!==null?"".concat(r.x,"px"):"";e.top="100%";break;case"left":e.right="100%";e.top=r.y!==null?"".concat(r.y,"px"):"";break;case"right":e.left="100%";e.top=r.y!==null?"".concat(r.y,"px"):"";break;case"top":e.left=r.x!==null?"".concat(r.x,"px"):"";e.top="";break}return e};this.arrowTransform=function(t){var i=!e._host.hideArrow&&e._host.visible?"scale(1)":"scale(0)";switch(t){case"bottom":i="rotate(180deg) ".concat(i," translate(0, -100%)");break;case"left":i="rotate(-90deg) ".concat(i," translate(50%, -50%)");break;case"right":i="rotate(90deg) ".concat(i," translate(-50%, -50%)");break;case"top":i="rotate(0deg) ".concat(i," translate(0, 0)");break}return{transform:i}};this.arrowTransformOrigin=function(t){switch(t){case"bottom":return{transformOrigin:"center top"};case"left":return{transformOrigin:"right center"};case"right":return{transformOrigin:"left center"};case"top":return{transformOrigin:"center bottom"};default:return{transformOrigin:"center top"}}};
|
|
34
|
+
/**
|
|
35
|
+
* The pivot of the opening animation is the arrow, which the `arrow` middleware
|
|
36
|
+
* parks wherever it has to sit to keep pointing at the caller: after a shift it
|
|
37
|
+
* is nowhere near the centre of the panel. `convertToTransformOrigin` only knows
|
|
38
|
+
* the placement, so it answers `center top` for every bottom placement and the
|
|
39
|
+
* panel grows from a point that has nothing to do with the arrow - measured on a
|
|
40
|
+
* 408px panel pushed against the left edge, the two were 165px apart.
|
|
41
|
+
*/this.arrowOrigin=function(t,i){var r=i.arrow;if(!e.arrowEl||e._host.hideArrow||r===undefined){return null}var n=t.split("-")[0];if(r.x!==null&&r.x!==undefined){var o=r.x+e.arrowEl.offsetWidth/2;if(n==="bottom")return"".concat(o,"px top");if(n==="top")return"".concat(o,"px bottom")}if(r.y!==null&&r.y!==undefined){var a=r.y+e.arrowEl.offsetHeight/2;if(n==="right")return"left ".concat(a,"px");if(n==="left")return"right ".concat(a,"px")}return null};this.convertToTransformOrigin=function(t){var i={top:"center bottom",right:"left center",bottom:"center top",left:"right center","bottom-end":"top right","bottom-start":"top left","left-end":"right bottom","left-start":"right top","right-end":"left bottom","right-start":"left top","top-end":"bottom right","top-start":"bottom left"};return i[t]};this.calculatePosition=function(){if(!e._caller)return;var t=new Array;var i={};if(e._host.shiftPadding){i.padding=e._host.shiftPadding}if(!e._host.disableAutoPlacement){t.push(autoPlacement())}if(e._host.offset){t.push(offset(e._host.offset))}if(e._host.disableAutoPlacement&&e._host.flip){t.push(flip(i))}if(!e._host.disableShift){t.push(shift(i))}if(e.arrowEl&&!e._host.hideArrow){t.push(arrow({element:e.arrowEl,padding:e._host.arrowPadding}))}computePosition(e._caller,e._host,{middleware:t,placement:e._host.placement,strategy:e._host.strategy}).then((function(t){var i=t.x,r=t.y,n=t.placement,o=t.middlewareData;var a;
|
|
42
|
+
// The first placement must land instantly: until it happens the panel has no
|
|
43
|
+
// position at all, so animating left/top towards the caller would fly it in
|
|
44
|
+
// from the corner of the page. The mark goes on a frame LATER, because a
|
|
45
|
+
// value and the attribute that makes it transition, written in the same
|
|
46
|
+
// recalc, still animate - the frame in between is what makes the first
|
|
47
|
+
// placement a jump and every move after it a glide.
|
|
48
|
+
var s=!e._host.hasAttribute("data-floating-placed");Object.assign(e._host.style,{left:"".concat(i,"px"),top:"".concat(r,"px"),transformOrigin:(a=e.arrowOrigin(n,o))!==null&&a!==void 0?a:e.convertToTransformOrigin(n),position:e._host.strategy});if(s){requestAnimationFrame((function(){return e._host.setAttribute("data-floating-placed","")}))}var u={};var f={top:"bottom",right:"left",bottom:"top",left:"right"}[n.split("-")[0]];if(f&&e.arrowEl){Object.assign(u,e.arrowTransform(f));Object.assign(u,e.arrowInset(o,f));Object.assign(u,e.arrowTransformOrigin(f));Object.assign(e.arrowEl.style,u)}}))};
|
|
49
|
+
/**
|
|
50
|
+
* Starts positioning only once the panel has a box to measure. A closed panel is
|
|
51
|
+
* `display: none`, and Stencil reflects `visible` on its own render, so the tick
|
|
52
|
+
* that asks for the position still sees a panel of zero width: floating-ui then
|
|
53
|
+
* places a box that does not exist. On a `bottom` placement that lands it half a
|
|
54
|
+
* panel off; on `left` or `right` it lands it a whole panel off, which reads as
|
|
55
|
+
* the panel opening on the wrong side of the caller and sliding across to its
|
|
56
|
+
* place, because the correction that follows is transitioned like any other
|
|
57
|
+
* move.
|
|
58
|
+
*/this.startWhenMeasurable=function(t){if(!e._host.visible)return;if(e._host.offsetWidth===0&&t>0){requestAnimationFrame((function(){return e.startWhenMeasurable(t-1)}));return}e.cleanupAutoUpdate=autoUpdate(e._caller,e._host,e.calculatePosition)};this._host=t;this.arrowEl=i;this._role=r}t.prototype.updateCaller=function(t){var i,r,e;
|
|
59
|
+
// search caller in document or rootNode of host (if target is in shadowDOM)
|
|
60
|
+
var n=(e=(r=(i=this._host.parentElement)===null||i===void 0?void 0:i.shadowRoot)===null||r===void 0?void 0:r.querySelector(t))!==null&&e!==void 0?e:this._host.getRootNode().querySelector(t);if(!n){
|
|
61
|
+
// the target may legitimately be absent (e.g. during SSR the document
|
|
62
|
+
// only contains the component subtree being serialized)
|
|
63
|
+
console.warn("FloatingController: target not found: ".concat(t));return null}if(this._caller&&this._caller!==n)this.unwireCaller();this._caller=n;this._wired=false;setAttributeIfEmpty(this._host,"role",this._role);void this.wireCaller();return n};
|
|
64
|
+
/** Whether the popup is open is state, not a default: it is rewritten at every change, so it
|
|
65
|
+
* cannot go through `setAttributeIfEmpty` */t.prototype.syncExpanded=function(t){if(this._wired)this._caller.setAttribute("aria-expanded","".concat(t))};t.prototype.updatePosition=function(){if(this._host.visible){this.dismiss();// to clean the old update function before update function
|
|
66
|
+
this.startWhenMeasurable(3)}};t.prototype.dismiss=function(){if(this.cleanupAutoUpdate)this.cleanupAutoUpdate()};return t}();var Backdrop=/** @class */function(){function t(t){this.defaultBackdropId="magma-backdrop";this.backdropBackgroundVisible="rgba(var(--magma-backdrop-color, 0 0 0) / var(--magma-backdrop-opacity, 0.1))";this.backdropBackgroundHidden="rgba(var(--magma-backdrop-color, 0 0 0) / 0)";this.backdropId=t!==null&&t!==void 0?t:this.defaultBackdropId;this.cssBackdropZIndex="var(--".concat(this.backdropId,"-z-index, 4000)");this.cssBackdropDuration="var(--".concat(this.backdropId,"-animation-duration, 300ms)")}t.prototype.attachBackdrop=function(){var t=this;if(!this.backdropEl){this.backdropEl=document.createElement("div");this.backdropEl.className=this.backdropId;this.backdropEl.style.inset="0";this.backdropEl.style.pointerEvents="none";this.backdropEl.style.position="fixed";this.backdropEl.style.transition="background-color ".concat(this.cssBackdropDuration," ease-out");this.backdropEl.style.zIndex=this.cssBackdropZIndex}this.backdropEl.style.backgroundColor=this.backdropBackgroundHidden;document.body.appendChild(this.backdropEl);clearTimeout(this.backdropTimer);this.backdropTimer=setTimeout((function(){t.backdropEl.style.backgroundColor=t.backdropBackgroundVisible}),1)};t.prototype.detachBackdrop=function(){var t=this;if(!this.backdropEl){return}this.backdropEl.style.backgroundColor="transparent";clearTimeout(this.backdropTimer);this.backdropTimer=setTimeout((function(){t.backdropEl.remove()}),cssDurationToMilliseconds(this.cssBackdropDuration))};return t}();export{Backdrop as B,FloatingController as F};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Safe wrappers around ElementInternals methods. In Stencil's hydrate/SSR
|
|
3
|
+
* runtime (and in mock-doc spec tests) `@AttachInternals()` returns an inert
|
|
4
|
+
* proxy whose members are all `undefined`, so direct calls like
|
|
5
|
+
* `internals.setFormValue(...)` throw. Property reads (`internals.form`) are
|
|
6
|
+
* safe and don't need these wrappers.
|
|
7
|
+
*/
|
|
8
|
+
var setFormValue=function(t,i){if(typeof(t===null||t===void 0?void 0:t.setFormValue)==="function"){t.setFormValue(i)}};var setValidity=function(t,i,u,n){if(typeof(t===null||t===void 0?void 0:t.setValidity)==="function"){t.setValidity(i,u,n)}};
|
|
9
|
+
/**
|
|
10
|
+
* Submits `form` as a native submit button with this `name` and `value` would. A custom
|
|
11
|
+
* element cannot be the submitter of `requestSubmit()`, so a hidden native button stands in
|
|
12
|
+
* for it for the length of the call: the receiver gets `name=value`, `event.submitter`
|
|
13
|
+
* carries them, and `new FormData(form)` leaves them out unless it is given the submitter.
|
|
14
|
+
*/var requestSubmitAs=function(t,i,u){var n=t.ownerDocument.createElement("button");n.type="submit";n.hidden=true;
|
|
15
|
+
// Angular and Vue bind null for a missing value, which a native button would send as "null"
|
|
16
|
+
if(i!=null)n.name=i;if(u!=null)n.value=u;t.append(n);try{t.requestSubmit(n)}finally{n.remove()}};export{setValidity as a,requestSubmitAs as r,setFormValue as s};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import{a as setValidity}from"./form-wI0alRSO.js";import{L as Locale}from"./locale-CVJm6KFD.js";var cardNumber$3="Εισαγάγετε έναν έγκυρο αριθμό κάρτας.";var email$3="Εισαγάγετε μια διεύθυνση email.";var invalid$3="Εισαγάγετε μια έγκυρη τιμή.";var invalidDate$3="Εισαγάγετε μια έγκυρη ημερομηνία.";var max$3="Η τιμή πρέπει να είναι το πολύ {{max}}.";var maxDate$3="Η ημερομηνία δεν μπορεί να είναι μετά τις {{max}}.";var maxlength$3=["Χρησιμοποιήστε το πολύ {{maxlength}} χαρακτήρα.","Χρησιμοποιήστε το πολύ {{maxlength}} χαρακτήρες."];var min$3="Η τιμή πρέπει να είναι τουλάχιστον {{min}}.";var minDate$3="Η ημερομηνία δεν μπορεί να είναι πριν από τις {{min}}.";var minlength$3=["Χρησιμοποιήστε τουλάχιστον {{minlength}} χαρακτήρα.","Χρησιμοποιήστε τουλάχιστον {{minlength}} χαρακτήρες."];var pattern$3="Χρησιμοποιήστε τη μορφή που ζητείται.";var required$3="Συμπληρώστε αυτό το πεδίο.";var requiredSelect$3="Επιλέξτε ένα στοιχείο από τη λίστα.";var url$3="Εισαγάγετε μια διεύθυνση URL.";var vatNumber$3="Εισαγάγετε έναν έγκυρο αριθμό ΦΠΑ.";var localeEl={cardNumber:cardNumber$3,email:email$3,invalid:invalid$3,invalidDate:invalidDate$3,max:max$3,maxDate:maxDate$3,maxlength:maxlength$3,min:min$3,minDate:minDate$3,minlength:minlength$3,pattern:pattern$3,required:required$3,requiredSelect:requiredSelect$3,url:url$3,vatNumber:vatNumber$3};var cardNumber$2="Enter a valid card number.";var email$2="Enter an email address.";var invalid$2="Enter a valid value.";var invalidDate$2="Enter a valid date.";var max$2="The value must be {{max}} or less.";var maxDate$2="The date must be {{max}} or earlier.";var maxlength$2=["Use at most {{maxlength}} character.","Use at most {{maxlength}} characters."];var min$2="The value must be {{min}} or more.";var minDate$2="The date must be {{min}} or later.";var minlength$2=["Use at least {{minlength}} character.","Use at least {{minlength}} characters."];var pattern$2="Match the requested format.";var required$2="Fill in this field.";var requiredSelect$2="Select an item in the list.";var url$2="Enter a URL.";var vatNumber$2="Enter a valid VAT number.";var localeEn={cardNumber:cardNumber$2,email:email$2,invalid:invalid$2,invalidDate:invalidDate$2,max:max$2,maxDate:maxDate$2,maxlength:maxlength$2,min:min$2,minDate:minDate$2,minlength:minlength$2,pattern:pattern$2,required:required$2,requiredSelect:requiredSelect$2,url:url$2,vatNumber:vatNumber$2};var cardNumber$1="Introduce un número de tarjeta válido.";var email$1="Introduce una dirección de correo electrónico.";var invalid$1="Introduce un valor válido.";var invalidDate$1="Introduce una fecha válida.";var max$1="El valor debe ser como máximo {{max}}.";var maxDate$1="La fecha no puede ser posterior al {{max}}.";var maxlength$1=["Usa como máximo {{maxlength}} carácter.","Usa como máximo {{maxlength}} caracteres."];var min$1="El valor debe ser como mínimo {{min}}.";var minDate$1="La fecha no puede ser anterior al {{min}}.";var minlength$1=["Usa al menos {{minlength}} carácter.","Usa al menos {{minlength}} caracteres."];var pattern$1="Usa el formato solicitado.";var required$1="Completa este campo.";var requiredSelect$1="Selecciona un elemento de la lista.";var url$1="Introduce una URL.";var vatNumber$1="Introduce un número de IVA válido.";var localeEs={cardNumber:cardNumber$1,email:email$1,invalid:invalid$1,invalidDate:invalidDate$1,max:max$1,maxDate:maxDate$1,maxlength:maxlength$1,min:min$1,minDate:minDate$1,minlength:minlength$1,pattern:pattern$1,required:required$1,requiredSelect:requiredSelect$1,url:url$1,vatNumber:vatNumber$1};var cardNumber="Inserisci un numero di carta valido.";var email="Inserisci un indirizzo email.";var invalid="Inserisci un valore valido.";var invalidDate="Inserisci una data valida.";var max="Il valore deve essere al massimo {{max}}.";var maxDate="La data non può essere successiva al {{max}}.";var maxlength=["Usa al massimo {{maxlength}} carattere.","Usa al massimo {{maxlength}} caratteri."];var min="Il valore deve essere almeno {{min}}.";var minDate="La data non può essere precedente al {{min}}.";var minlength=["Usa almeno {{minlength}} carattere.","Usa almeno {{minlength}} caratteri."];var pattern="Rispetta il formato richiesto.";var required="Compila questo campo.";var requiredSelect="Seleziona un elemento dell'elenco.";var url="Inserisci un URL.";var vatNumber="Inserisci una partita IVA valida.";var localeIt={cardNumber:cardNumber,email:email,invalid:invalid,invalidDate:invalidDate,max:max,maxDate:maxDate,maxlength:maxlength,min:min,minDate:minDate,minlength:minlength,pattern:pattern,required:required,requiredSelect:requiredSelect,url:url,vatNumber:vatNumber};var flags={cardNumber:"typeMismatch",email:"typeMismatch",invalid:"customError",invalidDate:"badInput",max:"rangeOverflow",maxDate:"rangeOverflow",maxlength:"tooLong",min:"rangeUnderflow",minDate:"rangeUnderflow",minlength:"tooShort",pattern:"patternMismatch",required:"valueMissing",requiredSelect:"valueMissing",url:"typeMismatch",vatNumber:"typeMismatch"};var messages=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
|
|
2
|
+
/** The message of a problem, in the language of the page. */var validityMessage=function(a){var e=a.rule,r=a.context,t=a.message;return t||messages.get(e,r)};
|
|
3
|
+
/**
|
|
4
|
+
* Reports to the form the problem of a form-associated component, or clears it when there is
|
|
5
|
+
* none: like a native control, an invalid component matches `:invalid` and stops the submit of
|
|
6
|
+
* its form, which shows the message next to the anchor and focuses it.
|
|
7
|
+
* @param internals the ElementInternals of the component
|
|
8
|
+
* @param problem the rule the value breaks, `undefined` when the value is valid
|
|
9
|
+
* @param anchor the control of the shadow tree the browser points the message at
|
|
10
|
+
*/var updateValidity=function(a,e,r){var t;if(e===undefined){setValidity(a,{});return}setValidity(a,(t={},t[flags[e.rule]]=true,t),validityMessage(e),r)};export{updateValidity as u};
|