@maggioli-design-system/magma 2.12.0 → 2.13.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 +1 -1
- package/CHANGELOG.md +72 -0
- package/README.md +6 -5
- package/agents/assets.md +7 -6
- package/agents/color.md +7 -4
- package/agents/components.md +3 -2
- package/agents/conventions.md +11 -1
- package/agents/install.md +10 -3
- package/agents/patterns/actions.md +7 -6
- package/agents/patterns/empty-state.md +5 -7
- package/agents/patterns/previews/actions/banner.dark.webp +0 -0
- package/agents/patterns/previews/actions/banner.light.webp +0 -0
- package/agents/patterns/previews/actions/confirm.dark.webp +0 -0
- package/agents/patterns/previews/actions/confirm.light.webp +0 -0
- package/agents/patterns/previews/actions/danger-zone.dark.webp +0 -0
- package/agents/patterns/previews/actions/danger-zone.light.webp +0 -0
- package/agents/patterns/previews/actions/dismiss-message.light.webp +0 -0
- package/agents/patterns/previews/actions/dismiss.dark.webp +0 -0
- package/agents/patterns/previews/actions/dismiss.light.webp +0 -0
- package/agents/patterns/previews/actions/part-primary.light.webp +0 -0
- package/agents/patterns/previews/actions/stacked.light.webp +0 -0
- package/agents/patterns/previews/app-shell/back-office.light.webp +0 -0
- package/agents/patterns/previews/app-shell/many-sections.dark.webp +0 -0
- package/agents/patterns/previews/app-shell/many-sections.light.webp +0 -0
- package/agents/patterns/previews/app-shell/public-service.dark.webp +0 -0
- package/agents/patterns/previews/app-shell/public-service.light.webp +0 -0
- package/agents/patterns/previews/app-shell/section-menus.dark.webp +0 -0
- package/agents/patterns/previews/app-shell/section-menus.light.webp +0 -0
- package/agents/patterns/previews/confirm-action/ask-before-sending.dark.webp +0 -0
- package/agents/patterns/previews/confirm-action/ask-before-sending.light.webp +0 -0
- package/agents/patterns/previews/confirm-action/ask-first-many.dark.webp +0 -0
- package/agents/patterns/previews/confirm-action/ask-first-many.light.webp +0 -0
- package/agents/patterns/previews/confirm-action/ask-first.dark.webp +0 -0
- package/agents/patterns/previews/confirm-action/ask-first.light.webp +0 -0
- package/agents/patterns/previews/confirm-action/make-reversible.dark.webp +0 -0
- package/agents/patterns/previews/confirm-action/make-reversible.light.webp +0 -0
- package/agents/patterns/previews/confirm-action/send-as-shown.dark.webp +0 -0
- package/agents/patterns/previews/confirm-action/send-as-shown.light.webp +0 -0
- package/agents/patterns/previews/empty-state/add-the-first.dark.webp +0 -0
- package/agents/patterns/previews/empty-state/add-the-first.html +5 -7
- package/agents/patterns/previews/empty-state/add-the-first.light.webp +0 -0
- package/agents/patterns/previews/empty-state/all-done.dark.webp +0 -0
- package/agents/patterns/previews/empty-state/all-done.html +5 -7
- package/agents/patterns/previews/empty-state/all-done.light.webp +0 -0
- package/agents/patterns/previews/empty-state/clear-filters.dark.webp +0 -0
- package/agents/patterns/previews/empty-state/clear-filters.html +4 -6
- package/agents/patterns/previews/empty-state/clear-filters.light.webp +0 -0
- package/agents/patterns/previews/empty-state/filled-by-others.dark.webp +0 -0
- package/agents/patterns/previews/empty-state/filled-by-others.html +5 -7
- package/agents/patterns/previews/empty-state/filled-by-others.light.webp +0 -0
- package/agents/patterns/previews/empty-state/not-found.dark.webp +0 -0
- package/agents/patterns/previews/empty-state/not-found.html +5 -7
- package/agents/patterns/previews/empty-state/not-found.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/changed-meanwhile.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/changed-meanwhile.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/check-or-repeat.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/content-another-way.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/partial.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/partial.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/retry-action.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/retry-content.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/sign-in-again.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/sign-in-again.light.webp +0 -0
- package/agents/patterns/previews/item-list/documents-of-a-request.dark.webp +0 -0
- package/agents/patterns/previews/item-list/documents-of-a-request.light.webp +0 -0
- package/agents/patterns/previews/item-list/queue-of-a-desk.dark.webp +0 -0
- package/agents/patterns/previews/item-list/queue-of-a-desk.html +1 -1
- package/agents/patterns/previews/item-list/queue-of-a-desk.light.webp +0 -0
- package/agents/patterns/previews/item-list/requests-of-an-office.dark.webp +0 -0
- package/agents/patterns/previews/item-list/requests-of-an-office.light.webp +0 -0
- package/agents/patterns/previews/item-list/requests-to-assign.dark.webp +0 -0
- package/agents/patterns/previews/item-list/requests-to-assign.html +3 -12
- package/agents/patterns/previews/item-list/requests-to-assign.light.webp +0 -0
- package/agents/patterns/previews/labels-and-values/payment-before-paying.dark.webp +0 -0
- package/agents/patterns/previews/labels-and-values/what-is-sent.dark.webp +0 -0
- package/agents/patterns/previews/labels-and-values/what-is-sent.light.webp +0 -0
- package/agents/patterns/previews/list-with-filters/act-on-many.dark.webp +0 -0
- package/agents/patterns/previews/list-with-filters/act-on-many.html +2 -9
- package/agents/patterns/previews/list-with-filters/act-on-many.light.webp +0 -0
- package/agents/patterns/previews/list-with-filters/find-and-open.light.webp +0 -0
- package/agents/patterns/previews/list-with-filters/show-new-items.dark.webp +0 -0
- package/agents/patterns/previews/list-with-filters/show-new-items.html +1 -1
- package/agents/patterns/previews/list-with-filters/show-new-items.light.webp +0 -0
- package/agents/patterns/previews/loading/await-and-say.dark.webp +0 -0
- package/agents/patterns/previews/loading/await-and-say.html +2 -5
- package/agents/patterns/previews/loading/first-load.dark.webp +0 -0
- package/agents/patterns/previews/loading/first-load.light.webp +0 -0
- package/agents/patterns/previews/loading/keep-while-reloading.dark.webp +0 -0
- package/agents/patterns/previews/loading/long-load-measured.dark.webp +0 -0
- package/agents/patterns/previews/loading/long-load-measured.light.webp +0 -0
- package/agents/patterns/previews/loading/long-load.dark.webp +0 -0
- package/agents/patterns/previews/loading/long-load.light.webp +0 -0
- package/agents/patterns/previews/loading/progress-in-place.light.webp +0 -0
- package/agents/patterns/previews/message-placement/action-done-elsewhere.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/action-done-elsewhere.light.webp +0 -0
- package/agents/patterns/previews/message-placement/action-failed-elsewhere.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/action-failed-in-place.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/action-failed-in-place.light.webp +0 -0
- package/agents/patterns/previews/message-placement/action-partial-in-place.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/action-partial-in-place.light.webp +0 -0
- package/agents/patterns/previews/message-placement/app-deadline.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/app-deadline.light.webp +0 -0
- package/agents/patterns/previews/message-placement/app-failed.light.webp +0 -0
- package/agents/patterns/previews/message-placement/decision.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/decision.light.webp +0 -0
- package/agents/patterns/previews/message-placement/field-error.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/field-error.light.webp +0 -0
- package/agents/patterns/previews/message-placement/field-hint.light.webp +0 -0
- package/agents/patterns/previews/message-placement/field-valid.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/field-valid.light.webp +0 -0
- package/agents/patterns/previews/message-placement/region-failed.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/region-info.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/region-info.light.webp +0 -0
- package/agents/patterns/previews/page-header/contact-being-edited.dark.webp +0 -0
- package/agents/patterns/previews/page-header/contact-being-edited.light.webp +0 -0
- package/agents/patterns/previews/page-header/members-of-a-group.light.webp +0 -0
- package/agents/patterns/previews/page-header/request-from-the-list.dark.webp +0 -0
- package/agents/patterns/previews/record-detail/ask-for-words.dark.webp +0 -0
- package/agents/patterns/previews/record-detail/ask-for-words.light.webp +0 -0
- package/agents/patterns/previews/record-detail/edit-data.light.webp +0 -0
- package/agents/patterns/previews/record-detail/read-the-data.dark.webp +0 -0
- package/agents/patterns/previews/record-detail/read-the-data.light.webp +0 -0
- package/agents/patterns/previews/record-detail/record-changed.dark.webp +0 -0
- package/agents/patterns/previews/record-detail/record-changed.light.webp +0 -0
- package/agents/patterns/previews/record-detail/run-at-once.dark.webp +0 -0
- package/agents/patterns/previews/record-detail/run-at-once.light.webp +0 -0
- package/agents/patterns/previews/record-detail/work-on-it.dark.webp +0 -0
- package/agents/patterns/previews/record-detail/work-on-it.light.webp +0 -0
- package/agents/patterns/previews/rhythm/between-containers.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/between-containers.light.webp +0 -0
- package/agents/patterns/previews/rhythm/between-fields.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/between-fields.light.webp +0 -0
- package/agents/patterns/previews/rhythm/between-groups.light.webp +0 -0
- package/agents/patterns/previews/rhythm/between-sections.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/between-sections.light.webp +0 -0
- package/agents/patterns/previews/rhythm/inline.light.webp +0 -0
- package/agents/patterns/previews/rhythm/inset.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/inset.light.webp +0 -0
- package/agents/patterns/previews/rhythm/title-content.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/title-content.light.webp +0 -0
- package/agents/patterns/previews/surfaces/band.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/band.light.webp +0 -0
- package/agents/patterns/previews/surfaces/canvas.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/canvas.light.webp +0 -0
- package/agents/patterns/previews/surfaces/card.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/card.light.webp +0 -0
- package/agents/patterns/previews/surfaces/dialog.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/dialog.light.webp +0 -0
- package/agents/patterns/previews/surfaces/edit-actions.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/edit-actions.light.webp +0 -0
- package/agents/patterns/previews/surfaces/intro-band.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/intro-band.html +66 -0
- package/agents/patterns/previews/surfaces/intro-band.light.webp +0 -0
- package/agents/patterns/previews/surfaces/section.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/section.light.webp +0 -0
- package/agents/patterns/previews/titles/dialog.dark.webp +0 -0
- package/agents/patterns/previews/titles/dialog.light.webp +0 -0
- package/agents/patterns/previews/titles/group.light.webp +0 -0
- package/agents/patterns/previews/titles/page.light.webp +0 -0
- package/agents/patterns/previews/titles/part.light.webp +0 -0
- package/agents/patterns/previews/titles/section.light.webp +0 -0
- package/agents/patterns/previews/widths/dialog.dark.webp +0 -0
- package/agents/patterns/previews/widths/dialog.light.webp +0 -0
- package/agents/patterns/previews/widths/field.dark.webp +0 -0
- package/agents/patterns/previews/widths/field.light.webp +0 -0
- package/agents/patterns/previews/widths/form.dark.webp +0 -0
- package/agents/patterns/previews/widths/form.light.webp +0 -0
- package/agents/patterns/previews/widths/page.dark.webp +0 -0
- package/agents/patterns/previews/widths/page.light.webp +0 -0
- package/agents/patterns/previews/widths/reading.dark.webp +0 -0
- package/agents/patterns/previews/widths/reading.light.webp +0 -0
- package/agents/patterns/surfaces.md +49 -11
- package/agents/patterns/titles.md +15 -14
- package/agents/patterns.md +1 -1
- package/agents/theming.md +5 -0
- package/dist/cjs/{floating-controller-B4YhrWm8.js → floating-controller-B21tqid0.js} +51 -4
- package/dist/cjs/{floating-ui.dom-VQ_HnnRe.js → floating-ui.dom-1Z4VE-PH.js} +1 -0
- package/dist/cjs/{index-BQNHYWJg.js → index-B99V_UhC.js} +87 -44
- package/dist/cjs/{index-Csgx951d.js → index-CFEj7WVH.js} +12 -1
- package/dist/cjs/index.cjs.js +45 -3
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{locale-DgMC52AD.js → locale-6jikg4jE.js} +1 -1
- package/dist/cjs/magma-components.cjs.js +3 -3
- package/dist/cjs/mds-accordion-item.cjs.entry.js +10 -7
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +10 -7
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +4 -3
- package/dist/cjs/mds-accordion.cjs.entry.js +5 -4
- package/dist/cjs/mds-author.cjs.entry.js +4 -3
- package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +4 -3
- package/dist/cjs/mds-avatar-stack.cjs.entry.js +4 -3
- package/dist/cjs/mds-avatar.cjs.entry.js +5 -4
- package/dist/cjs/mds-badge.cjs.entry.js +5 -4
- package/dist/cjs/mds-banner_3.cjs.entry.js +56 -27
- package/dist/cjs/mds-benchmark-bar.cjs.entry.js +4 -3
- package/dist/cjs/mds-bibliography.cjs.entry.js +4 -3
- package/dist/cjs/mds-book.cjs.entry.js +8 -7
- package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +4 -3
- package/dist/cjs/mds-breadcrumb.cjs.entry.js +6 -5
- package/dist/cjs/mds-button-dropdown.cjs.entry.js +7 -6
- package/dist/cjs/mds-button-group.cjs.entry.js +5 -4
- package/dist/cjs/mds-button_3.cjs.entry.js +15 -12
- package/dist/cjs/mds-calendar_2.cjs.entry.js +190 -305
- package/dist/cjs/mds-card-content.cjs.entry.js +4 -3
- package/dist/cjs/mds-card-footer.cjs.entry.js +5 -4
- package/dist/cjs/mds-card-header.cjs.entry.js +4 -3
- package/dist/cjs/mds-card-media.cjs.entry.js +4 -3
- package/dist/cjs/mds-card.cjs.entry.js +6 -5
- package/dist/cjs/mds-details.cjs.entry.js +5 -4
- package/dist/cjs/mds-dropdown.cjs.entry.js +46 -17
- package/dist/cjs/mds-emoji.cjs.entry.js +5 -4
- package/dist/cjs/mds-entity.cjs.entry.js +5 -4
- package/dist/cjs/mds-file-preview.cjs.entry.js +7 -6
- package/dist/cjs/mds-file.cjs.entry.js +6 -5
- package/dist/cjs/mds-filter-item.cjs.entry.js +6 -5
- package/dist/cjs/mds-filter.cjs.entry.js +6 -5
- package/dist/cjs/mds-header-bar.cjs.entry.js +6 -5
- package/dist/cjs/mds-header.cjs.entry.js +5 -4
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +6 -5
- package/dist/cjs/mds-hr.cjs.entry.js +5 -4
- package/dist/cjs/mds-img.cjs.entry.js +5 -4
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +4 -3
- package/dist/cjs/mds-input-date-range.cjs.entry.js +126 -31
- package/dist/cjs/mds-input-date.cjs.entry.js +26 -12
- package/dist/cjs/mds-input-field.cjs.entry.js +4 -3
- package/dist/cjs/mds-input-otp.cjs.entry.js +6 -5
- package/dist/cjs/mds-input-range-value.cjs.entry.js +18 -0
- package/dist/cjs/mds-input-range.cjs.entry.js +410 -29
- package/dist/cjs/mds-input-select.cjs.entry.js +9 -8
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +9 -7
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +17 -12
- package/dist/cjs/mds-input-upload.cjs.entry.js +10 -9
- package/dist/cjs/mds-input.cjs.entry.js +292 -35
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +6 -5
- package/dist/cjs/mds-keyboard.cjs.entry.js +6 -5
- package/dist/cjs/mds-kpi-item.cjs.entry.js +5 -4
- package/dist/cjs/mds-kpi.cjs.entry.js +4 -3
- package/dist/cjs/mds-label.cjs.entry.js +6 -5
- package/dist/cjs/mds-link.cjs.entry.js +9 -8
- package/dist/cjs/mds-list-item.cjs.entry.js +4 -3
- package/dist/cjs/mds-list.cjs.entry.js +4 -3
- package/dist/cjs/mds-mention.cjs.entry.js +6 -5
- package/dist/cjs/mds-modal.cjs.entry.js +7 -6
- package/dist/cjs/mds-note.cjs.entry.js +6 -5
- package/dist/cjs/mds-notification.cjs.entry.js +6 -5
- package/dist/cjs/mds-paginator-item.cjs.entry.js +5 -4
- package/dist/cjs/mds-paginator.cjs.entry.js +6 -5
- package/dist/cjs/mds-policy-ai.cjs.entry.js +6 -5
- package/dist/cjs/mds-pref-animation.cjs.entry.js +6 -5
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +6 -5
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +6 -5
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +6 -5
- package/dist/cjs/mds-pref-language.cjs.entry.js +6 -5
- package/dist/cjs/mds-pref-mode.cjs.entry.js +6 -5
- package/dist/cjs/mds-pref-theme-item.cjs.entry.js +4 -3
- package/dist/cjs/mds-pref-theme.cjs.entry.js +6 -5
- package/dist/cjs/mds-pref.cjs.entry.js +12 -6
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +5 -4
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +5 -4
- package/dist/cjs/mds-price-table-features.cjs.entry.js +5 -4
- package/dist/cjs/mds-price-table-header.cjs.entry.js +4 -3
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +4 -3
- package/dist/cjs/mds-price-table-list.cjs.entry.js +5 -4
- package/dist/cjs/mds-price-table.cjs.entry.js +4 -3
- package/dist/cjs/mds-progress_2.cjs.entry.js +13 -8
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +7 -6
- package/dist/cjs/mds-push-notification.cjs.entry.js +6 -5
- package/dist/cjs/mds-quote.cjs.entry.js +5 -4
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +4 -3
- package/dist/cjs/mds-radial-menu.cjs.entry.js +8 -7
- package/dist/cjs/mds-separator.cjs.entry.js +5 -4
- package/dist/cjs/mds-status-bar.cjs.entry.js +5 -4
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +7 -6
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +6 -6
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +5 -4
- package/dist/cjs/mds-tab-bar.cjs.entry.js +5 -4
- package/dist/cjs/mds-tab_2.cjs.entry.js +41 -17
- package/dist/cjs/mds-table-body.cjs.entry.js +5 -4
- package/dist/cjs/mds-table-footer.cjs.entry.js +5 -4
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +5 -4
- package/dist/cjs/mds-table-header.cjs.entry.js +14 -14
- package/dist/cjs/mds-table-row.cjs.entry.js +7 -6
- package/dist/cjs/mds-table.cjs.entry.js +42 -14
- package/dist/cjs/mds-text.cjs.entry.js +5 -4
- package/dist/cjs/mds-toast-region.cjs.entry.js +4 -3
- package/dist/cjs/mds-toast.cjs.entry.js +6 -5
- package/dist/cjs/mds-tooltip.cjs.entry.js +33 -14
- package/dist/cjs/mds-tree-item.cjs.entry.js +6 -5
- package/dist/cjs/mds-tree.cjs.entry.js +4 -3
- package/dist/cjs/mds-url-view.cjs.entry.js +6 -18
- package/dist/cjs/mds-usage.cjs.entry.js +6 -5
- package/dist/cjs/mds-video-wall.cjs.entry.js +5 -4
- package/dist/cjs/mds-zero.cjs.entry.js +15 -5
- package/dist/cjs/{navigation-5yeOyO6F.js → navigation-Dxea9mKE.js} +7 -0
- package/dist/cjs/{preference-DhNxLZ4R.js → preference-DTUJPGHS.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/common/floating-controller.js +50 -3
- package/dist/collection/common/navigation.js +7 -0
- package/dist/collection/common/validity/index.js +3 -0
- package/dist/collection/components/mds-accordion/AGENTS.md +2 -2
- package/dist/collection/components/mds-accordion/documentation.json +5 -4
- package/dist/collection/components/mds-accordion/examples.md +3 -3
- package/dist/collection/components/mds-accordion/mds-accordion.js +1 -1
- package/dist/collection/components/mds-accordion-item/AGENTS.md +5 -3
- package/dist/collection/components/mds-accordion-item/documentation.json +60 -5
- package/dist/collection/components/mds-accordion-item/examples.md +5 -3
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +9 -0
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +32 -4
- package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-timer/documentation.json +3 -2
- package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +1 -1
- package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +6 -4
- package/dist/collection/components/mds-accordion-timer-item/documentation.json +64 -9
- package/dist/collection/components/mds-accordion-timer-item/examples.md +5 -3
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +9 -0
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +32 -4
- package/dist/collection/components/mds-author/AGENTS.md +1 -1
- package/dist/collection/components/mds-author/documentation.json +3 -2
- package/dist/collection/components/mds-author/mds-author.js +1 -1
- package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar/documentation.json +3 -2
- package/dist/collection/components/mds-avatar/mds-avatar.js +1 -1
- package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar-stack/documentation.json +3 -2
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +1 -1
- package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar-stack-item/documentation.json +3 -2
- package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.js +1 -1
- package/dist/collection/components/mds-badge/AGENTS.md +1 -1
- package/dist/collection/components/mds-badge/documentation.json +3 -2
- package/dist/collection/components/mds-badge/mds-badge.js +1 -1
- package/dist/collection/components/mds-banner/AGENTS.md +4 -1
- package/dist/collection/components/mds-banner/documentation.json +44 -5
- package/dist/collection/components/mds-banner/examples.md +15 -9
- package/dist/collection/components/mds-banner/mds-banner.js +63 -19
- package/dist/collection/components/mds-banner/meta/dictionary.js +7 -0
- package/dist/collection/components/mds-banner/meta/types.js +1 -0
- package/dist/collection/components/mds-banner/mistakes.md +20 -0
- package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-benchmark-bar/documentation.json +3 -2
- package/dist/collection/components/mds-benchmark-bar/mds-benchmark-bar.js +1 -1
- package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
- package/dist/collection/components/mds-bibliography/documentation.json +3 -2
- package/dist/collection/components/mds-bibliography/mds-bibliography.js +1 -1
- package/dist/collection/components/mds-book/AGENTS.md +1 -1
- package/dist/collection/components/mds-book/documentation.json +3 -2
- package/dist/collection/components/mds-book/mds-book.js +3 -3
- package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
- package/dist/collection/components/mds-breadcrumb/documentation.json +3 -2
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +1 -1
- package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-breadcrumb-item/documentation.json +3 -2
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +1 -1
- package/dist/collection/components/mds-button/AGENTS.md +1 -1
- package/dist/collection/components/mds-button/documentation.json +3 -2
- package/dist/collection/components/mds-button/mds-button.js +4 -4
- package/dist/collection/components/mds-button-dropdown/AGENTS.md +3 -1
- package/dist/collection/components/mds-button-dropdown/documentation.json +5 -4
- package/dist/collection/components/mds-button-dropdown/examples.md +16 -0
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +12 -0
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +1 -1
- package/dist/collection/components/mds-button-group/AGENTS.md +3 -2
- package/dist/collection/components/mds-button-group/documentation.json +5 -4
- package/dist/collection/components/mds-button-group/examples.md +16 -0
- package/dist/collection/components/mds-button-group/mds-button-group.css +13 -0
- package/dist/collection/components/mds-button-group/mds-button-group.js +1 -1
- package/dist/collection/components/mds-calendar/AGENTS.md +8 -4
- package/dist/collection/components/mds-calendar/documentation.json +44 -5
- package/dist/collection/components/mds-calendar/examples.md +17 -1
- package/dist/collection/components/mds-calendar/mds-calendar.css +4 -0
- package/dist/collection/components/mds-calendar/mds-calendar.js +206 -300
- package/dist/collection/components/mds-calendar/meta/types.js +1 -0
- package/dist/collection/components/mds-calendar/mistakes.md +1 -1
- package/dist/collection/components/mds-calendar-cell/AGENTS.md +4 -4
- package/dist/collection/components/mds-calendar-cell/documentation.json +37 -24
- package/dist/collection/components/mds-calendar-cell/examples.md +3 -3
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +121 -84
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +1 -1
- package/dist/collection/components/mds-card/AGENTS.md +4 -2
- package/dist/collection/components/mds-card/documentation.json +12 -5
- package/dist/collection/components/mds-card/examples.md +6 -1
- package/dist/collection/components/mds-card/mds-card.css +8 -0
- package/dist/collection/components/mds-card/mds-card.js +1 -1
- package/dist/collection/components/mds-card/mistakes.md +1 -1
- package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-content/documentation.json +3 -2
- package/dist/collection/components/mds-card-content/mds-card-content.js +1 -1
- package/dist/collection/components/mds-card-footer/AGENTS.md +2 -2
- package/dist/collection/components/mds-card-footer/documentation.json +5 -4
- package/dist/collection/components/mds-card-footer/examples.md +1 -1
- package/dist/collection/components/mds-card-footer/mds-card-footer.css +9 -0
- package/dist/collection/components/mds-card-footer/mds-card-footer.js +1 -1
- package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-header/documentation.json +3 -2
- package/dist/collection/components/mds-card-header/mds-card-header.js +1 -1
- package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-media/documentation.json +3 -2
- package/dist/collection/components/mds-card-media/mds-card-media.js +1 -1
- package/dist/collection/components/mds-chip/AGENTS.md +5 -2
- package/dist/collection/components/mds-chip/documentation.json +37 -5
- package/dist/collection/components/mds-chip/examples.md +10 -0
- package/dist/collection/components/mds-chip/mds-chip.css +18 -0
- package/dist/collection/components/mds-chip/mds-chip.js +25 -1
- package/dist/collection/components/mds-chip/mistakes.md +25 -1
- package/dist/collection/components/mds-details/AGENTS.md +1 -1
- package/dist/collection/components/mds-details/documentation.json +3 -2
- package/dist/collection/components/mds-details/mds-details.js +1 -1
- package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
- package/dist/collection/components/mds-dropdown/documentation.json +4 -3
- package/dist/collection/components/mds-dropdown/mds-dropdown.js +40 -12
- package/dist/collection/components/mds-dropdown/mistakes.md +1 -1
- package/dist/collection/components/mds-emoji/AGENTS.md +1 -1
- package/dist/collection/components/mds-emoji/documentation.json +3 -2
- package/dist/collection/components/mds-emoji/mds-emoji.js +1 -1
- package/dist/collection/components/mds-entity/AGENTS.md +1 -1
- package/dist/collection/components/mds-entity/documentation.json +3 -2
- package/dist/collection/components/mds-entity/mds-entity.js +1 -1
- package/dist/collection/components/mds-file/AGENTS.md +1 -1
- package/dist/collection/components/mds-file/documentation.json +3 -2
- package/dist/collection/components/mds-file/mds-file.js +1 -1
- package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
- package/dist/collection/components/mds-file-preview/documentation.json +3 -2
- package/dist/collection/components/mds-file-preview/mds-file-preview.js +2 -2
- package/dist/collection/components/mds-filter/AGENTS.md +1 -1
- package/dist/collection/components/mds-filter/documentation.json +3 -2
- package/dist/collection/components/mds-filter/mds-filter.js +1 -1
- package/dist/collection/components/mds-filter-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-filter-item/documentation.json +5 -4
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +1 -1
- package/dist/collection/components/mds-filter-item/mistakes.md +16 -0
- package/dist/collection/components/mds-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-header/documentation.json +3 -2
- package/dist/collection/components/mds-header/mds-header.js +1 -1
- package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-header-bar/documentation.json +3 -2
- package/dist/collection/components/mds-header-bar/mds-header-bar.js +1 -1
- package/dist/collection/components/mds-help/AGENTS.md +1 -1
- package/dist/collection/components/mds-help/documentation.json +3 -2
- package/dist/collection/components/mds-help/mds-help.js +1 -1
- package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
- package/dist/collection/components/mds-horizontal-scroll/documentation.json +3 -2
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +1 -1
- package/dist/collection/components/mds-hr/AGENTS.md +1 -1
- package/dist/collection/components/mds-hr/documentation.json +3 -2
- package/dist/collection/components/mds-hr/mds-hr.js +1 -1
- package/dist/collection/components/mds-icon/AGENTS.md +2 -2
- package/dist/collection/components/mds-icon/documentation.json +5 -4
- package/dist/collection/components/mds-icon/examples.md +3 -3
- package/dist/collection/components/mds-icon/mds-icon.js +1 -1
- package/dist/collection/components/mds-icon/services/icons-set.service.js +43 -1
- package/dist/collection/components/mds-img/AGENTS.md +1 -1
- package/dist/collection/components/mds-img/documentation.json +3 -2
- package/dist/collection/components/mds-input/AGENTS.md +22 -18
- package/dist/collection/components/mds-input/documentation.json +32 -19
- package/dist/collection/components/mds-input/examples.md +20 -3
- package/dist/collection/components/mds-input/mds-input.css +115 -8
- package/dist/collection/components/mds-input/mds-input.js +236 -37
- package/dist/collection/components/mds-input/meta/color.js +19 -0
- package/dist/collection/components/mds-input/meta/input-type/InputValidationManager.js +5 -1
- package/dist/collection/components/mds-input/meta/validators.js +10 -0
- package/dist/collection/components/mds-input/meta/validity.js +5 -2
- package/dist/collection/components/mds-input/mistakes.md +15 -1
- package/dist/collection/components/mds-input-date/AGENTS.md +7 -7
- package/dist/collection/components/mds-input-date/documentation.json +7 -24
- package/dist/collection/components/mds-input-date/examples.md +1 -1
- package/dist/collection/components/mds-input-date/mds-input-date.css +17 -15
- package/dist/collection/components/mds-input-date/mds-input-date.js +21 -8
- package/dist/collection/components/mds-input-date-range/AGENTS.md +10 -7
- package/dist/collection/components/mds-input-date-range/documentation.json +16 -8
- package/dist/collection/components/mds-input-date-range/examples.md +12 -1
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +15 -0
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +90 -27
- package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-date-range-preselection/documentation.json +3 -2
- package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +1 -1
- package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-field/documentation.json +3 -2
- package/dist/collection/components/mds-input-field/mds-input-field.js +1 -1
- package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-otp/documentation.json +3 -2
- package/dist/collection/components/mds-input-otp/mds-input-otp.js +1 -1
- package/dist/collection/components/mds-input-range/AGENTS.md +27 -8
- package/dist/collection/components/mds-input-range/documentation.json +31 -9
- package/dist/collection/components/mds-input-range/examples.md +41 -0
- package/dist/collection/components/mds-input-range/mds-input-range.css +68 -5
- package/dist/collection/components/mds-input-range/mds-input-range.js +440 -29
- package/dist/collection/components/mds-input-range/meta/event-detail.js +1 -0
- package/dist/collection/components/mds-input-range/mistakes.md +37 -0
- package/dist/collection/components/mds-input-range-value/AGENTS.md +43 -0
- package/dist/collection/components/mds-input-range-value/documentation.json +77 -0
- package/dist/collection/components/mds-input-range-value/examples.md +66 -0
- package/dist/collection/components/mds-input-range-value/mds-input-range-value.css +6 -0
- package/dist/collection/components/mds-input-range-value/mds-input-range-value.js +50 -0
- package/dist/collection/components/mds-input-range-value/mistakes.md +56 -0
- package/dist/collection/components/mds-input-select/AGENTS.md +2 -2
- package/dist/collection/components/mds-input-select/documentation.json +4 -3
- package/dist/collection/components/mds-input-select/mds-input-select.css +9 -19
- package/dist/collection/components/mds-input-select/mds-input-select.js +2 -2
- package/dist/collection/components/mds-input-switch/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-switch/documentation.json +3 -2
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +1 -1
- package/dist/collection/components/mds-input-tip/AGENTS.md +7 -6
- package/dist/collection/components/mds-input-tip/documentation.json +17 -10
- package/dist/collection/components/mds-input-tip/examples.md +2 -2
- package/dist/collection/components/mds-input-tip/mds-input-tip.css +15 -17
- package/dist/collection/components/mds-input-tip/mds-input-tip.js +9 -6
- package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-tip-item/documentation.json +3 -2
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
- package/dist/collection/components/mds-input-tip-item/meta/dictionary.js +1 -1
- package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-upload/documentation.json +3 -2
- package/dist/collection/components/mds-input-upload/mds-input-upload.js +5 -5
- package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
- package/dist/collection/components/mds-keyboard/documentation.json +3 -2
- package/dist/collection/components/mds-keyboard/mds-keyboard.js +1 -1
- package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
- package/dist/collection/components/mds-keyboard-key/documentation.json +3 -2
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
- package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
- package/dist/collection/components/mds-kpi/documentation.json +3 -2
- package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
- package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-kpi-item/documentation.json +3 -2
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
- package/dist/collection/components/mds-label/AGENTS.md +1 -1
- package/dist/collection/components/mds-label/documentation.json +3 -2
- package/dist/collection/components/mds-label/mds-label.js +1 -1
- package/dist/collection/components/mds-link/AGENTS.md +1 -1
- package/dist/collection/components/mds-link/documentation.json +3 -2
- package/dist/collection/components/mds-link/mds-link.js +3 -3
- package/dist/collection/components/mds-list/AGENTS.md +1 -1
- package/dist/collection/components/mds-list/documentation.json +3 -2
- package/dist/collection/components/mds-list/mds-list.js +1 -1
- package/dist/collection/components/mds-list-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-list-item/documentation.json +3 -2
- package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
- package/dist/collection/components/mds-mention/AGENTS.md +1 -1
- package/dist/collection/components/mds-mention/documentation.json +3 -2
- package/dist/collection/components/mds-mention/mds-mention.js +1 -1
- package/dist/collection/components/mds-modal/AGENTS.md +2 -1
- package/dist/collection/components/mds-modal/documentation.json +5 -4
- package/dist/collection/components/mds-modal/examples.md +2 -0
- package/dist/collection/components/mds-modal/mds-modal.js +2 -2
- package/dist/collection/components/mds-note/AGENTS.md +1 -1
- package/dist/collection/components/mds-note/documentation.json +3 -2
- package/dist/collection/components/mds-note/mds-note.js +1 -1
- package/dist/collection/components/mds-notification/AGENTS.md +1 -1
- package/dist/collection/components/mds-notification/documentation.json +3 -2
- package/dist/collection/components/mds-notification/mds-notification.js +1 -1
- package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
- package/dist/collection/components/mds-paginator/documentation.json +3 -2
- package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
- package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-paginator-item/documentation.json +3 -2
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
- package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
- package/dist/collection/components/mds-policy-ai/documentation.json +3 -2
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
- package/dist/collection/components/mds-pref/AGENTS.md +4 -1
- package/dist/collection/components/mds-pref/documentation.json +31 -4
- package/dist/collection/components/mds-pref/examples.md +14 -0
- package/dist/collection/components/mds-pref/mds-pref.js +26 -2
- package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-animation/documentation.json +3 -2
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +1 -1
- package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-consumption/documentation.json +3 -2
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +1 -1
- package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-contrast/documentation.json +3 -2
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
- package/dist/collection/components/mds-pref-language/AGENTS.md +2 -2
- package/dist/collection/components/mds-pref-language/documentation.json +4 -3
- package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
- package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-language-item/documentation.json +3 -2
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
- package/dist/collection/components/mds-pref-mode/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-mode/documentation.json +3 -2
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +1 -1
- package/dist/collection/components/mds-pref-theme/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-theme/documentation.json +3 -2
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +1 -1
- package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-theme-item/documentation.json +3 -2
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +1 -1
- package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table/documentation.json +3 -2
- package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
- package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-features/documentation.json +3 -2
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
- package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-features-cell/documentation.json +3 -2
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
- package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-features-row/documentation.json +3 -2
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
- package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-header/documentation.json +3 -2
- package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
- package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-list/documentation.json +3 -2
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
- package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-list-item/documentation.json +3 -2
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
- package/dist/collection/components/mds-progress/AGENTS.md +1 -1
- package/dist/collection/components/mds-progress/documentation.json +3 -2
- package/dist/collection/components/mds-progress/mds-progress.js +1 -1
- package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
- package/dist/collection/components/mds-push-notification/documentation.json +3 -2
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
- package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-push-notification-item/documentation.json +3 -2
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
- package/dist/collection/components/mds-quote/AGENTS.md +1 -1
- package/dist/collection/components/mds-quote/documentation.json +3 -2
- package/dist/collection/components/mds-quote/mds-quote.js +1 -1
- package/dist/collection/components/mds-radial-menu/AGENTS.md +1 -1
- package/dist/collection/components/mds-radial-menu/documentation.json +3 -2
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
- package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-radial-menu-item/documentation.json +3 -2
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
- package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
- package/dist/collection/components/mds-radial-progress/documentation.json +3 -2
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +4 -2
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +5 -2
- package/dist/collection/components/mds-separator/AGENTS.md +1 -1
- package/dist/collection/components/mds-separator/documentation.json +3 -2
- package/dist/collection/components/mds-separator/mds-separator.js +1 -1
- package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
- package/dist/collection/components/mds-spinner/documentation.json +3 -2
- package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
- package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-status-bar/documentation.json +3 -2
- package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
- package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-stepper-bar/documentation.json +3 -2
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +3 -4
- package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-stepper-bar-item/documentation.json +5 -4
- package/dist/collection/components/mds-stepper-bar-item/examples.md +1 -1
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +7 -2
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
- package/dist/collection/components/mds-tab/AGENTS.md +3 -3
- package/dist/collection/components/mds-tab/documentation.json +8 -3
- package/dist/collection/components/mds-tab/mds-tab.js +34 -12
- package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-bar/documentation.json +3 -2
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
- package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-bar-item/documentation.json +3 -2
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
- package/dist/collection/components/mds-tab-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-tab-item/documentation.json +7 -2
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
- package/dist/collection/components/mds-table/AGENTS.md +4 -4
- package/dist/collection/components/mds-table/documentation.json +10 -9
- package/dist/collection/components/mds-table/examples.md +21 -0
- package/dist/collection/components/mds-table/mds-table.js +42 -15
- package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-body/documentation.json +3 -2
- package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
- package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-cell/documentation.json +3 -2
- package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
- package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-footer/documentation.json +3 -2
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
- package/dist/collection/components/mds-table-header/AGENTS.md +3 -3
- package/dist/collection/components/mds-table-header/documentation.json +5 -8
- package/dist/collection/components/mds-table-header/mds-table-header.js +9 -14
- package/dist/collection/components/mds-table-header/mistakes.md +1 -1
- package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-header-cell/documentation.json +3 -2
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
- package/dist/collection/components/mds-table-row/AGENTS.md +2 -2
- package/dist/collection/components/mds-table-row/documentation.json +4 -3
- package/dist/collection/components/mds-table-row/mds-table-row.js +2 -2
- package/dist/collection/components/mds-text/AGENTS.md +1 -1
- package/dist/collection/components/mds-text/documentation.json +3 -2
- package/dist/collection/components/mds-text/mds-text.js +1 -1
- package/dist/collection/components/mds-toast/AGENTS.md +1 -1
- package/dist/collection/components/mds-toast/documentation.json +3 -2
- package/dist/collection/components/mds-toast/mds-toast.js +1 -1
- package/dist/collection/components/mds-toast-region/AGENTS.md +1 -1
- package/dist/collection/components/mds-toast-region/documentation.json +3 -2
- package/dist/collection/components/mds-toast-region/mds-toast-region.js +1 -1
- package/dist/collection/components/mds-tooltip/AGENTS.md +1 -1
- package/dist/collection/components/mds-tooltip/documentation.json +3 -2
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +27 -9
- package/dist/collection/components/mds-tree/AGENTS.md +1 -1
- package/dist/collection/components/mds-tree/documentation.json +3 -2
- package/dist/collection/components/mds-tree/mds-tree.js +1 -1
- package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-tree-item/documentation.json +3 -2
- package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
- package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
- package/dist/collection/components/mds-url-view/documentation.json +3 -2
- package/dist/collection/components/mds-url-view/mds-url-view.js +1 -14
- package/dist/collection/components/mds-usage/AGENTS.md +1 -1
- package/dist/collection/components/mds-usage/documentation.json +3 -2
- package/dist/collection/components/mds-usage/mds-usage.js +1 -1
- package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
- package/dist/collection/components/mds-video-wall/documentation.json +3 -2
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
- package/dist/collection/components/mds-zero/AGENTS.md +7 -6
- package/dist/collection/components/mds-zero/documentation.json +6 -5
- package/dist/collection/components/mds-zero/examples.md +37 -19
- package/dist/collection/components/mds-zero/mds-zero.css +22 -24
- package/dist/collection/components/mds-zero/mds-zero.js +17 -1
- package/dist/collection/components/mds-zero/mistakes.md +46 -8
- package/dist/collection/fixtures/dark-mode.js +16 -0
- package/dist/collection/index.js +2 -20
- package/dist/collection/type/file-types.js +1 -1
- package/dist/collection/type/input.js +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +1 -1
- package/dist/components/mds-accordion-item.js +1 -1
- package/dist/components/mds-accordion-timer-item.js +1 -1
- package/dist/components/mds-accordion-timer.js +1 -1
- package/dist/components/mds-accordion.js +1 -1
- package/dist/components/mds-author.js +1 -1
- package/dist/components/mds-avatar-stack-item.js +1 -1
- package/dist/components/mds-avatar-stack.js +1 -1
- package/dist/components/mds-avatar.js +1 -1
- package/dist/components/mds-badge.js +1 -1
- package/dist/components/mds-banner.js +1 -1
- package/dist/components/mds-benchmark-bar.js +1 -1
- package/dist/components/mds-bibliography.js +1 -1
- package/dist/components/mds-book.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 +1 -1
- 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-value.d.ts +11 -0
- package/dist/components/mds-input-range-value.js +1 -0
- 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-link.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-region.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-Bbrei_yQ.js → p-AWCYh8Xe.js} +1 -1
- package/dist/components/{p-ClvoVgmw.js → p-B-GgEAg7.js} +1 -1
- package/dist/components/p-B3npFzUR.js +1 -0
- package/dist/components/p-BD9VWE7b.js +1 -0
- package/dist/components/{p-BBZyH3mn.js → p-BFZN4zJ9.js} +1 -1
- package/dist/components/p-BG1fjwnd.js +1 -0
- package/dist/components/{p-BI1ShBQG.js → p-BNl6YWNN.js} +1 -1
- package/dist/components/{p-BE05D6Pe.js → p-Bg11_7lt.js} +1 -1
- package/dist/components/{p-3rr6yzu-.js → p-BiJ4xa4V.js} +1 -1
- package/dist/components/{p-CvbuCEYD.js → p-BmlDGlcB.js} +2 -2
- package/dist/components/p-C0m6B_kt.js +1 -0
- package/dist/components/{p-j5Hnbfv9.js → p-C589Hkfn.js} +1 -1
- package/dist/components/{p-BaFfIZGB.js → p-C7p9e0P3.js} +1 -1
- package/dist/components/{p-Vgo7t88R.js → p-C878c9Nu.js} +1 -1
- package/dist/components/{p-CWOW2Vna.js → p-CDcB9Zdz.js} +1 -1
- package/dist/components/{p-CZwKeFQT.js → p-CS8s4gRV.js} +1 -1
- package/dist/components/p-CSw6DbKp.js +1 -0
- package/dist/components/p-CUT9aFzz.js +1 -0
- package/dist/components/p-CfCw1XZP.js +1 -0
- package/dist/components/{p-BpND63Kl.js → p-Cjy1i94z.js} +1 -1
- package/dist/components/{p-Do7IoDLD.js → p-Cs80Zm2b.js} +2 -2
- package/dist/components/{p-NNPsVjnj.js → p-Cs8RIbsQ.js} +1 -1
- package/dist/components/p-CtEHhdv4.js +1 -0
- package/dist/components/{p-F0qhFsF0.js → p-Cty6fegI.js} +1 -1
- package/dist/components/{p-C6LU1s8K.js → p-D7C-gjL6.js} +1 -1
- package/dist/components/{p-DrtIqOQn.js → p-DKYN6Ikh.js} +1 -1
- package/dist/components/p-DvccsLwr.js +1 -0
- package/dist/components/{p-CrOv4KdL.js → p-DxNrlomi.js} +1 -1
- package/dist/components/p-G8GFHw3L.js +1 -0
- package/dist/components/p-MjWyZlga.js +1 -0
- package/dist/components/p-VoGfNJRY.js +1 -0
- package/dist/components/{p-BuhoBOYR.js → p-WFNxKo1V.js} +1 -1
- package/dist/components/{p-DN1yF-xO.js → p-aZlZ1XB9.js} +1 -1
- package/dist/components/p-g2_CekDc.js +3 -0
- package/dist/components/p-kS9VRIWa.js +1 -0
- package/dist/components/{p-BBrPpCNK.js → p-oHBGZ2Av.js} +1 -1
- package/dist/documentation.json +530 -157
- package/dist/esm/{floating-controller-xixU_s1w.js → floating-controller-DlFrvBTG.js} +51 -4
- package/dist/esm/{floating-ui.dom-BaFfIZGB.js → floating-ui.dom-C7p9e0P3.js} +1 -1
- package/dist/esm/{index-CvLLN-QH.js → index-CPibDZjX.js} +87 -44
- package/dist/esm/{index-DEL0bLpb.js → index-DWniH_Ge.js} +12 -1
- package/dist/esm/index.js +45 -3
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-DhP1Ge2o.js → locale-B7Hw4niB.js} +1 -1
- package/dist/esm/magma-components.js +4 -4
- package/dist/esm/mds-accordion-item.entry.js +10 -7
- package/dist/esm/mds-accordion-timer-item.entry.js +10 -7
- package/dist/esm/mds-accordion-timer.entry.js +4 -3
- package/dist/esm/mds-accordion.entry.js +5 -4
- package/dist/esm/mds-author.entry.js +4 -3
- package/dist/esm/mds-avatar-stack-item.entry.js +4 -3
- package/dist/esm/mds-avatar-stack.entry.js +4 -3
- package/dist/esm/mds-avatar.entry.js +5 -4
- package/dist/esm/mds-badge.entry.js +5 -4
- package/dist/esm/mds-banner_3.entry.js +56 -27
- package/dist/esm/mds-benchmark-bar.entry.js +4 -3
- package/dist/esm/mds-bibliography.entry.js +4 -3
- package/dist/esm/mds-book.entry.js +8 -7
- package/dist/esm/mds-breadcrumb-item.entry.js +4 -3
- package/dist/esm/mds-breadcrumb.entry.js +6 -5
- package/dist/esm/mds-button-dropdown.entry.js +7 -6
- package/dist/esm/mds-button-group.entry.js +5 -4
- package/dist/esm/mds-button_3.entry.js +15 -12
- package/dist/esm/mds-calendar_2.entry.js +190 -305
- package/dist/esm/mds-card-content.entry.js +4 -3
- package/dist/esm/mds-card-footer.entry.js +5 -4
- package/dist/esm/mds-card-header.entry.js +4 -3
- package/dist/esm/mds-card-media.entry.js +4 -3
- package/dist/esm/mds-card.entry.js +6 -5
- package/dist/esm/mds-details.entry.js +5 -4
- package/dist/esm/mds-dropdown.entry.js +46 -17
- package/dist/esm/mds-emoji.entry.js +5 -4
- package/dist/esm/mds-entity.entry.js +5 -4
- package/dist/esm/mds-file-preview.entry.js +7 -6
- package/dist/esm/mds-file.entry.js +6 -5
- package/dist/esm/mds-filter-item.entry.js +6 -5
- package/dist/esm/mds-filter.entry.js +6 -5
- package/dist/esm/mds-header-bar.entry.js +6 -5
- package/dist/esm/mds-header.entry.js +5 -4
- package/dist/esm/mds-horizontal-scroll.entry.js +6 -5
- package/dist/esm/mds-hr.entry.js +5 -4
- package/dist/esm/mds-img.entry.js +5 -4
- package/dist/esm/mds-input-date-range-preselection.entry.js +4 -3
- package/dist/esm/mds-input-date-range.entry.js +126 -31
- package/dist/esm/mds-input-date.entry.js +26 -12
- package/dist/esm/mds-input-field.entry.js +4 -3
- package/dist/esm/mds-input-otp.entry.js +6 -5
- package/dist/esm/mds-input-range-value.entry.js +16 -0
- package/dist/esm/mds-input-range.entry.js +410 -29
- package/dist/esm/mds-input-select.entry.js +9 -8
- package/dist/esm/mds-input-switch_2.entry.js +9 -7
- package/dist/esm/mds-input-tip_2.entry.js +17 -12
- package/dist/esm/mds-input-upload.entry.js +10 -9
- package/dist/esm/mds-input.entry.js +292 -35
- package/dist/esm/mds-keyboard-key.entry.js +6 -5
- package/dist/esm/mds-keyboard.entry.js +6 -5
- package/dist/esm/mds-kpi-item.entry.js +5 -4
- package/dist/esm/mds-kpi.entry.js +4 -3
- package/dist/esm/mds-label.entry.js +6 -5
- package/dist/esm/mds-link.entry.js +9 -8
- package/dist/esm/mds-list-item.entry.js +4 -3
- package/dist/esm/mds-list.entry.js +4 -3
- package/dist/esm/mds-mention.entry.js +6 -5
- package/dist/esm/mds-modal.entry.js +7 -6
- package/dist/esm/mds-note.entry.js +6 -5
- package/dist/esm/mds-notification.entry.js +6 -5
- package/dist/esm/mds-paginator-item.entry.js +5 -4
- package/dist/esm/mds-paginator.entry.js +6 -5
- package/dist/esm/mds-policy-ai.entry.js +6 -5
- package/dist/esm/mds-pref-animation.entry.js +6 -5
- package/dist/esm/mds-pref-consumption.entry.js +6 -5
- package/dist/esm/mds-pref-contrast.entry.js +6 -5
- package/dist/esm/mds-pref-language-item.entry.js +6 -5
- package/dist/esm/mds-pref-language.entry.js +6 -5
- package/dist/esm/mds-pref-mode.entry.js +6 -5
- package/dist/esm/mds-pref-theme-item.entry.js +4 -3
- package/dist/esm/mds-pref-theme.entry.js +6 -5
- package/dist/esm/mds-pref.entry.js +12 -6
- package/dist/esm/mds-price-table-features-cell.entry.js +5 -4
- package/dist/esm/mds-price-table-features-row.entry.js +5 -4
- package/dist/esm/mds-price-table-features.entry.js +5 -4
- package/dist/esm/mds-price-table-header.entry.js +4 -3
- package/dist/esm/mds-price-table-list-item.entry.js +4 -3
- package/dist/esm/mds-price-table-list.entry.js +5 -4
- package/dist/esm/mds-price-table.entry.js +4 -3
- package/dist/esm/mds-progress_2.entry.js +13 -8
- package/dist/esm/mds-push-notification-item.entry.js +7 -6
- package/dist/esm/mds-push-notification.entry.js +6 -5
- package/dist/esm/mds-quote.entry.js +5 -4
- package/dist/esm/mds-radial-menu-item.entry.js +4 -3
- package/dist/esm/mds-radial-menu.entry.js +8 -7
- package/dist/esm/mds-separator.entry.js +5 -4
- package/dist/esm/mds-status-bar.entry.js +5 -4
- package/dist/esm/mds-stepper-bar-item.entry.js +7 -6
- package/dist/esm/mds-stepper-bar.entry.js +6 -6
- package/dist/esm/mds-tab-bar-item.entry.js +5 -4
- package/dist/esm/mds-tab-bar.entry.js +5 -4
- package/dist/esm/mds-tab_2.entry.js +41 -17
- package/dist/esm/mds-table-body.entry.js +5 -4
- package/dist/esm/mds-table-footer.entry.js +5 -4
- package/dist/esm/mds-table-header-cell.entry.js +5 -4
- package/dist/esm/mds-table-header.entry.js +14 -14
- package/dist/esm/mds-table-row.entry.js +7 -6
- package/dist/esm/mds-table.entry.js +42 -14
- package/dist/esm/mds-text.entry.js +5 -4
- package/dist/esm/mds-toast-region.entry.js +4 -3
- package/dist/esm/mds-toast.entry.js +6 -5
- package/dist/esm/mds-tooltip.entry.js +33 -14
- package/dist/esm/mds-tree-item.entry.js +6 -5
- package/dist/esm/mds-tree.entry.js +4 -3
- package/dist/esm/mds-url-view.entry.js +6 -18
- package/dist/esm/mds-usage.entry.js +6 -5
- package/dist/esm/mds-video-wall.entry.js +5 -4
- package/dist/esm/mds-zero.entry.js +15 -5
- package/dist/esm/{navigation-Bz1eiKqd.js → navigation-To9IeLHs.js} +7 -0
- package/dist/esm/{preference-C8foBO86.js → preference-CBMLGSf7.js} +1 -1
- package/dist/esm-es5/{floating-controller-xixU_s1w.js → floating-controller-DlFrvBTG.js} +32 -12
- package/dist/esm-es5/{floating-ui.dom-BaFfIZGB.js → floating-ui.dom-C7p9e0P3.js} +18 -18
- package/dist/esm-es5/{index-CvLLN-QH.js → index-CPibDZjX.js} +30 -27
- package/dist/esm-es5/index-DWniH_Ge.js +13 -0
- package/dist/esm-es5/index.js +47 -5
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{locale-DhP1Ge2o.js → locale-B7Hw4niB.js} +1 -1
- package/dist/esm-es5/magma-components.js +3 -3
- package/dist/esm-es5/mds-accordion-item.entry.js +6 -4
- package/dist/esm-es5/mds-accordion-timer-item.entry.js +6 -4
- package/dist/esm-es5/mds-accordion-timer.entry.js +4 -4
- package/dist/esm-es5/mds-accordion.entry.js +4 -4
- package/dist/esm-es5/mds-author.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack-item.entry.js +2 -2
- package/dist/esm-es5/mds-avatar-stack.entry.js +2 -2
- package/dist/esm-es5/mds-avatar.entry.js +7 -7
- package/dist/esm-es5/mds-badge.entry.js +2 -2
- package/dist/esm-es5/mds-banner_3.entry.js +25 -6
- package/dist/esm-es5/mds-benchmark-bar.entry.js +3 -3
- package/dist/esm-es5/mds-bibliography.entry.js +6 -6
- package/dist/esm-es5/mds-book.entry.js +22 -22
- package/dist/esm-es5/mds-breadcrumb-item.entry.js +2 -2
- package/dist/esm-es5/mds-breadcrumb.entry.js +4 -4
- package/dist/esm-es5/mds-button-dropdown.entry.js +5 -5
- package/dist/esm-es5/mds-button-group.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +20 -20
- package/dist/esm-es5/mds-calendar_2.entry.js +56 -14
- 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 +3 -3
- package/dist/esm-es5/mds-details.entry.js +3 -3
- package/dist/esm-es5/mds-dropdown.entry.js +31 -16
- package/dist/esm-es5/mds-emoji.entry.js +44 -44
- package/dist/esm-es5/mds-entity.entry.js +1 -1
- package/dist/esm-es5/mds-file-preview.entry.js +5 -5
- package/dist/esm-es5/mds-file.entry.js +7 -7
- package/dist/esm-es5/mds-filter-item.entry.js +4 -4
- package/dist/esm-es5/mds-filter.entry.js +7 -7
- package/dist/esm-es5/mds-header-bar.entry.js +3 -3
- package/dist/esm-es5/mds-header.entry.js +8 -8
- package/dist/esm-es5/mds-horizontal-scroll.entry.js +13 -13
- package/dist/esm-es5/mds-hr.entry.js +1 -1
- package/dist/esm-es5/mds-img.entry.js +4 -4
- package/dist/esm-es5/mds-input-date-range-preselection.entry.js +3 -3
- package/dist/esm-es5/mds-input-date-range.entry.js +48 -15
- package/dist/esm-es5/mds-input-date.entry.js +19 -10
- package/dist/esm-es5/mds-input-field.entry.js +4 -4
- package/dist/esm-es5/mds-input-otp.entry.js +6 -6
- package/dist/esm-es5/mds-input-range-value.entry.js +1 -0
- package/dist/esm-es5/mds-input-range.entry.js +93 -12
- package/dist/esm-es5/mds-input-select.entry.js +4 -4
- package/dist/esm-es5/mds-input-switch_2.entry.js +5 -5
- package/dist/esm-es5/mds-input-tip_2.entry.js +9 -6
- package/dist/esm-es5/mds-input-upload.entry.js +8 -8
- package/dist/esm-es5/mds-input.entry.js +157 -52
- package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
- package/dist/esm-es5/mds-keyboard.entry.js +7 -7
- package/dist/esm-es5/mds-kpi-item.entry.js +3 -3
- package/dist/esm-es5/mds-kpi.entry.js +1 -1
- package/dist/esm-es5/mds-label.entry.js +2 -2
- package/dist/esm-es5/mds-link.entry.js +7 -7
- 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 +14 -14
- package/dist/esm-es5/mds-note.entry.js +3 -3
- package/dist/esm-es5/mds-notification.entry.js +8 -8
- package/dist/esm-es5/mds-paginator-item.entry.js +3 -3
- package/dist/esm-es5/mds-paginator.entry.js +3 -3
- package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
- package/dist/esm-es5/mds-pref-animation.entry.js +4 -4
- package/dist/esm-es5/mds-pref-consumption.entry.js +4 -4
- package/dist/esm-es5/mds-pref-contrast.entry.js +4 -4
- package/dist/esm-es5/mds-pref-language-item.entry.js +3 -3
- package/dist/esm-es5/mds-pref-language.entry.js +9 -9
- package/dist/esm-es5/mds-pref-mode.entry.js +7 -7
- package/dist/esm-es5/mds-pref-theme-item.entry.js +5 -5
- package/dist/esm-es5/mds-pref-theme.entry.js +14 -14
- package/dist/esm-es5/mds-pref.entry.js +7 -4
- 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 +2 -2
- package/dist/esm-es5/mds-price-table.entry.js +1 -1
- package/dist/esm-es5/mds-progress_2.entry.js +9 -5
- package/dist/esm-es5/mds-push-notification-item.entry.js +3 -3
- package/dist/esm-es5/mds-push-notification.entry.js +7 -7
- 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 +4 -4
- package/dist/esm-es5/mds-separator.entry.js +1 -1
- package/dist/esm-es5/mds-status-bar.entry.js +3 -3
- package/dist/esm-es5/mds-stepper-bar-item.entry.js +5 -5
- package/dist/esm-es5/mds-stepper-bar.entry.js +8 -5
- package/dist/esm-es5/mds-tab-bar-item.entry.js +4 -4
- package/dist/esm-es5/mds-tab-bar.entry.js +2 -2
- package/dist/esm-es5/mds-tab_2.entry.js +31 -11
- package/dist/esm-es5/mds-table-body.entry.js +1 -1
- package/dist/esm-es5/mds-table-footer.entry.js +2 -2
- package/dist/esm-es5/mds-table-header-cell.entry.js +7 -7
- package/dist/esm-es5/mds-table-header.entry.js +9 -8
- package/dist/esm-es5/mds-table-row.entry.js +4 -4
- package/dist/esm-es5/mds-table.entry.js +24 -11
- package/dist/esm-es5/mds-text.entry.js +7 -7
- package/dist/esm-es5/mds-toast-region.entry.js +5 -5
- package/dist/esm-es5/mds-toast.entry.js +7 -7
- package/dist/esm-es5/mds-tooltip.entry.js +12 -3
- package/dist/esm-es5/mds-tree-item.entry.js +7 -7
- package/dist/esm-es5/mds-tree.entry.js +5 -5
- package/dist/esm-es5/mds-url-view.entry.js +2 -2
- package/dist/esm-es5/mds-usage.entry.js +3 -3
- 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/{navigation-Bz1eiKqd.js → navigation-To9IeLHs.js} +8 -1
- package/dist/esm-es5/{preference-C8foBO86.js → preference-CBMLGSf7.js} +1 -1
- package/dist/hydrate/index.js +2097 -1008
- package/dist/hydrate/index.mjs +2097 -1008
- 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-c4c1ef48.system.entry.js → p-009e4359.system.entry.js} +118 -118
- package/dist/magma-components/{p-f0909679.system.entry.js → p-01d6d5a5.system.entry.js} +24 -11
- package/dist/magma-components/p-03285704.entry.js +1 -0
- package/dist/magma-components/p-03441f69.entry.js +1 -0
- package/dist/magma-components/p-03896fbd.entry.js +1 -0
- package/dist/magma-components/p-038fc1db.entry.js +1 -0
- package/dist/magma-components/{p-e3b9ea0b.system.entry.js → p-03a2f4e7.system.entry.js} +2 -2
- package/dist/magma-components/{p-caca78ff.system.entry.js → p-06ba1f71.system.entry.js} +4 -4
- package/dist/magma-components/p-0760e8a4.entry.js +1 -0
- package/dist/magma-components/p-082b787b.entry.js +1 -0
- package/dist/magma-components/p-09537867.entry.js +1 -0
- package/dist/magma-components/p-09675899.entry.js +1 -0
- package/dist/magma-components/p-0a914567.entry.js +1 -0
- package/dist/magma-components/p-0c8dd132.entry.js +1 -0
- package/dist/magma-components/p-0d7370d8.system.entry.js +1 -0
- package/dist/magma-components/{p-7a73fd19.system.entry.js → p-0e7bb90b.system.entry.js} +20 -20
- package/dist/magma-components/{p-dd348171.system.entry.js → p-10a68a4d.system.entry.js} +2 -2
- package/dist/magma-components/p-11312b0c.entry.js +1 -0
- package/dist/magma-components/{p-840c19ee.system.entry.js → p-11543f44.system.entry.js} +4 -4
- package/dist/magma-components/{p-3a836de8.system.entry.js → p-11ee7089.system.entry.js} +5 -5
- package/dist/magma-components/p-13e94501.entry.js +1 -0
- package/dist/magma-components/{p-c9baa3fb.system.entry.js → p-14f60718.system.entry.js} +1 -1
- package/dist/magma-components/p-16651356.entry.js +1 -0
- package/dist/magma-components/p-1686b36a.entry.js +1 -0
- package/dist/magma-components/{p-2e825656.system.entry.js → p-16a7e26a.system.entry.js} +4 -4
- package/dist/magma-components/p-1784d5fb.entry.js +1 -0
- package/dist/magma-components/p-18421a84.entry.js +1 -0
- package/dist/magma-components/p-1934151b.entry.js +1 -0
- package/dist/magma-components/p-193b58d0.entry.js +1 -0
- package/dist/magma-components/{p-720e9291.system.entry.js → p-19f3b524.system.entry.js} +6 -6
- package/dist/magma-components/{p-c54f2089.system.entry.js → p-1d101083.system.entry.js} +1 -1
- package/dist/magma-components/p-1db5ab39.entry.js +1 -0
- package/dist/magma-components/{p-24fb2c5c.system.entry.js → p-1e5d4854.system.entry.js} +7 -7
- package/dist/magma-components/p-1f756317.entry.js +1 -0
- package/dist/magma-components/p-2100343f.entry.js +1 -0
- package/dist/magma-components/p-211b2675.system.entry.js +1 -0
- package/dist/magma-components/{p-ca5427d4.system.entry.js → p-2289423c.system.entry.js} +1 -1
- package/dist/magma-components/p-26aad538.entry.js +1 -0
- package/dist/magma-components/p-270e9afa.entry.js +1 -0
- package/dist/magma-components/{p-9f0100f2.system.entry.js → p-275d7968.system.entry.js} +14 -14
- package/dist/magma-components/{p-5f20592f.system.entry.js → p-28ecae1e.system.entry.js} +2 -2
- package/dist/magma-components/{p-c94e7973.system.entry.js → p-2a5223df.system.entry.js} +7 -7
- package/dist/magma-components/p-2aa3e73a.system.entry.js +13 -0
- package/dist/magma-components/p-2c64ec7e.entry.js +1 -0
- package/dist/magma-components/{p-bcc6c358.system.entry.js → p-2dc9499c.system.entry.js} +3 -3
- package/dist/magma-components/{p-00d2ef14.system.entry.js → p-2dd32b3f.system.entry.js} +7 -7
- package/dist/magma-components/{p-380adee8.system.entry.js → p-2e5684a0.system.entry.js} +2 -2
- package/dist/magma-components/{p-390d0672.system.entry.js → p-303173d5.system.entry.js} +3 -3
- package/dist/magma-components/{p-7a4e8bc0.system.entry.js → p-33172d6f.system.entry.js} +8 -5
- package/dist/magma-components/p-333c0ae5.entry.js +1 -0
- package/dist/magma-components/p-3341ac50.entry.js +1 -0
- package/dist/magma-components/p-34183ce3.entry.js +1 -0
- package/dist/magma-components/p-35a77756.entry.js +1 -0
- package/dist/magma-components/p-37172440.entry.js +1 -0
- package/dist/magma-components/{p-3c911608.system.entry.js → p-37470fef.system.entry.js} +9 -5
- package/dist/magma-components/p-3b41f929.entry.js +1 -0
- package/dist/magma-components/p-3ccc1c10.entry.js +1 -0
- package/dist/magma-components/p-3d0578a7.entry.js +1 -0
- package/dist/magma-components/p-3d45d7a7.entry.js +1 -0
- package/dist/magma-components/{p-caf478ff.system.entry.js → p-3d60f528.system.entry.js} +2 -2
- package/dist/magma-components/p-3fb983e9.system.entry.js +1 -0
- package/dist/magma-components/p-4082973c.system.entry.js +30 -0
- package/dist/magma-components/p-41829c15.system.entry.js +7 -0
- package/dist/magma-components/p-420c5af4.entry.js +1 -0
- package/dist/magma-components/p-4242100c.entry.js +1 -0
- package/dist/magma-components/p-430239ca.entry.js +8 -0
- package/dist/magma-components/p-4564e7ad.entry.js +1 -0
- package/dist/magma-components/{p-6336d979.entry.js → p-47712df6.entry.js} +1 -1
- package/dist/magma-components/p-478bbfdb.entry.js +1 -0
- package/dist/magma-components/p-478e6930.entry.js +1 -0
- package/dist/magma-components/{p-c691f27e.system.entry.js → p-483480f9.system.entry.js} +31 -11
- package/dist/magma-components/p-4bb45501.entry.js +1 -0
- package/dist/magma-components/p-4e431466.entry.js +1 -0
- package/dist/magma-components/{p-1dc0d59c.system.entry.js → p-4e4dd1c1.system.entry.js} +5 -5
- package/dist/magma-components/{p-109926ce.system.entry.js → p-522968d1.system.entry.js} +6 -6
- package/dist/magma-components/{p-7e0a8194.system.entry.js → p-52b73a95.system.entry.js} +7 -7
- package/dist/magma-components/p-533bb401.system.entry.js +60 -0
- package/dist/magma-components/{p-9228db0b.system.entry.js → p-555bd3f8.system.entry.js} +7 -7
- package/dist/magma-components/{p-804f4794.system.entry.js → p-56715bbc.system.entry.js} +4 -4
- package/dist/magma-components/{p-527569a3.system.entry.js → p-586878a2.system.entry.js} +2 -2
- package/dist/magma-components/{p-3cf8ed46.system.entry.js → p-58bbada6.system.entry.js} +1 -1
- package/dist/magma-components/{p-eac943e5.system.entry.js → p-5b5d57b0.system.entry.js} +4 -4
- package/dist/magma-components/p-5c0f0517.entry.js +1 -0
- package/dist/magma-components/p-5c4aed7e.entry.js +1 -0
- package/dist/magma-components/p-5d8cb375.system.entry.js +107 -0
- package/dist/magma-components/p-62e42a62.entry.js +1 -0
- package/dist/magma-components/p-6443e40f.entry.js +1 -0
- package/dist/magma-components/{p-11456781.system.entry.js → p-6471c0a4.system.entry.js} +2 -2
- package/dist/magma-components/{p-b871ad36.system.entry.js → p-6619b3c0.system.entry.js} +11 -11
- package/dist/magma-components/p-67fa6fd7.entry.js +1 -0
- package/dist/magma-components/{p-79085c46.system.entry.js → p-68d83e18.system.entry.js} +1 -1
- package/dist/magma-components/{p-3ba14295.system.entry.js → p-6c6ec154.system.entry.js} +4 -4
- package/dist/magma-components/{p-8ac1ba5c.system.entry.js → p-6d7e8240.system.entry.js} +4 -4
- package/dist/magma-components/{p-3f0e6729.system.entry.js → p-6de384d0.system.entry.js} +3 -3
- package/dist/magma-components/p-6fb17347.system.entry.js +1 -0
- package/dist/magma-components/p-6fdf3b37.entry.js +1 -0
- package/dist/magma-components/p-70cf2c28.entry.js +1 -0
- package/dist/magma-components/p-73596a07.entry.js +1 -0
- package/dist/magma-components/{p-a5ca10ae.system.entry.js → p-73a6ee3b.system.entry.js} +1 -1
- package/dist/magma-components/{p-a9ab9eb0.system.entry.js → p-73b0b35f.system.entry.js} +2 -2
- package/dist/magma-components/p-73c0b53e.system.entry.js +82 -0
- package/dist/magma-components/p-73f22a7d.entry.js +1 -0
- package/dist/magma-components/p-756cd3dc.entry.js +1 -0
- package/dist/magma-components/p-757c3420.entry.js +1 -0
- package/dist/magma-components/p-778a46fa.entry.js +1 -0
- package/dist/magma-components/p-78cced59.entry.js +1 -0
- package/dist/magma-components/p-7caf244b.system.entry.js +7 -0
- package/dist/magma-components/p-7cfa2415.system.entry.js +1 -0
- package/dist/magma-components/p-7e87807d.entry.js +1 -0
- package/dist/magma-components/p-8193fd71.entry.js +1 -0
- package/dist/magma-components/p-82041de2.entry.js +1 -0
- package/dist/magma-components/{p-a2d4d849.system.entry.js → p-825713bc.system.entry.js} +2 -2
- package/dist/magma-components/p-851010c6.system.entry.js +25 -0
- package/dist/magma-components/p-857e893e.system.entry.js +26 -0
- package/dist/magma-components/p-8928d9b5.system.entry.js +110 -0
- package/dist/magma-components/p-8aa6524e.entry.js +1 -0
- package/dist/magma-components/p-8acbf50a.entry.js +1 -0
- package/dist/magma-components/p-8e471af5.entry.js +1 -0
- package/dist/magma-components/p-913123e6.entry.js +1 -0
- package/dist/magma-components/{p-724b7fff.system.entry.js → p-91406af1.system.entry.js} +9 -8
- package/dist/magma-components/p-95a29fd2.entry.js +1 -0
- package/dist/magma-components/{p-4a9ed4f7.system.entry.js → p-96ece2cc.system.entry.js} +4 -4
- package/dist/magma-components/p-96f66b8f.entry.js +1 -0
- package/dist/magma-components/{p-2a5167e3.system.entry.js → p-97e55f7e.system.entry.js} +5 -5
- package/dist/magma-components/{p-bc054fa3.system.entry.js → p-98a3802b.system.entry.js} +33 -18
- package/dist/magma-components/{p-0da5c696.system.entry.js → p-9b00051f.system.entry.js} +8 -8
- package/dist/magma-components/p-9be80c34.entry.js +1 -0
- package/dist/magma-components/{p-7701a318.system.entry.js → p-9c0d1025.system.entry.js} +1 -1
- package/dist/magma-components/{p-6f90c2c9.system.entry.js → p-9e3c1c28.system.entry.js} +9 -9
- package/dist/magma-components/{p-BoDvZoCN.system.js → p-B6f9M1Bj.system.js} +8 -1
- package/dist/magma-components/p-B7Jp0tqu.system.js +5 -0
- package/dist/magma-components/p-BAW1DAbr.system.js +13 -0
- package/dist/magma-components/{p-nFkaC8l_.system.js → p-BAcul0Zt.system.js} +1 -1
- package/dist/magma-components/{p-DxR4rGsw.js → p-BXkIXROP.js} +1 -1
- package/dist/magma-components/{p-CATyfc78.js → p-BkfGbFba.js} +2 -2
- package/dist/magma-components/{p-BaFfIZGB.js → p-C7p9e0P3.js} +1 -1
- package/dist/magma-components/p-CPibDZjX.js +3 -0
- package/dist/magma-components/{p-Cbabyppz.system.js → p-CyPLJo0p.system.js} +34 -14
- package/dist/magma-components/{p-BHdlb7Fr.system.js → p-CzZWts7L.system.js} +8 -8
- package/dist/magma-components/{p-VOjLCGlK.system.js → p-D5Yayq7E.system.js} +47 -5
- package/dist/magma-components/{p-DOisMne4.system.js → p-DGfoeZMw.system.js} +6 -6
- package/dist/magma-components/{p-BZP13mns.system.js → p-EhfbAdzV.system.js} +52 -51
- package/dist/magma-components/p-H8sVzFTL.js +1 -0
- package/dist/magma-components/p-a00805cd.system.entry.js +136 -0
- package/dist/magma-components/p-a025b35b.entry.js +1 -0
- package/dist/magma-components/p-a02819e3.entry.js +1 -0
- package/dist/magma-components/p-a0389821.entry.js +1 -0
- package/dist/magma-components/p-a075c069.entry.js +1 -0
- package/dist/magma-components/p-a0764f01.entry.js +1 -0
- package/dist/magma-components/{p-54abba52.system.entry.js → p-a171c096.system.entry.js} +4 -4
- package/dist/magma-components/{p-9b0b65f0.system.entry.js → p-a190c325.system.entry.js} +3 -3
- package/dist/magma-components/{p-f2649031.entry.js → p-a33a235e.entry.js} +1 -1
- package/dist/magma-components/{p-7fbdf896.system.entry.js → p-a4aaf1c6.system.entry.js} +8 -8
- package/dist/magma-components/{p-c8c918d2.entry.js → p-a9c7fb3f.entry.js} +3 -3
- package/dist/magma-components/{p-372fa5d4.system.entry.js → p-a9d100e5.system.entry.js} +7 -7
- package/dist/magma-components/{p-09a7c1de.system.entry.js → p-aa601247.system.entry.js} +2 -2
- package/dist/magma-components/{p-ca4e8601.system.entry.js → p-aa86018e.system.entry.js} +2 -2
- package/dist/magma-components/p-ab920e0b.entry.js +1 -0
- package/dist/magma-components/{p-f51ed098.entry.js → p-ac401f1a.entry.js} +1 -1
- package/dist/magma-components/{p-f5bd5b64.system.entry.js → p-ad12fa89.system.entry.js} +3 -3
- package/dist/magma-components/{p-3ddae677.system.entry.js → p-ad6b5fc1.system.entry.js} +3 -3
- package/dist/magma-components/p-ada93f68.entry.js +1 -0
- package/dist/magma-components/{p-4a72d72c.system.entry.js → p-ae258eca.system.entry.js} +2 -2
- package/dist/magma-components/{p-a48c73b1.system.entry.js → p-af1a93c6.system.entry.js} +7 -7
- package/dist/magma-components/p-b0406c51.entry.js +1 -0
- package/dist/magma-components/p-b18b0088.system.entry.js +9 -0
- package/dist/magma-components/p-b1fe6261.entry.js +1 -0
- package/dist/magma-components/{p-99d2ace2.system.entry.js → p-b47c444e.system.entry.js} +2 -2
- package/dist/magma-components/p-b4856322.entry.js +1 -0
- package/dist/magma-components/p-b7d90310.entry.js +1 -0
- package/dist/magma-components/{p-0e1d239b.system.entry.js → p-b8e5411d.system.entry.js} +1 -1
- package/dist/magma-components/{p-4a2ed30e.system.entry.js → p-b95f648f.system.entry.js} +3 -3
- package/dist/magma-components/{p-64f86e46.system.entry.js → p-ba148b89.system.entry.js} +7 -7
- package/dist/magma-components/p-bbbf8b89.system.entry.js +29 -0
- package/dist/magma-components/p-bca909d9.entry.js +1 -0
- package/dist/magma-components/p-bd4ad8c7.entry.js +1 -0
- package/dist/magma-components/p-bd539dbc.entry.js +1 -0
- package/dist/magma-components/{p-f7e9af99.system.entry.js → p-c0c69807.system.entry.js} +2 -2
- package/dist/magma-components/{p-22f24125.system.entry.js → p-c2a883b0.system.entry.js} +1 -1
- package/dist/magma-components/{p-b7d18d7a.system.entry.js → p-c2d9cf4e.system.entry.js} +1 -1
- package/dist/magma-components/{p-555ba0e0.system.entry.js → p-c3cfbc71.system.entry.js} +8 -8
- package/dist/magma-components/p-c5b7f820.system.entry.js +1 -0
- package/dist/magma-components/p-c67655fa.entry.js +1 -0
- package/dist/magma-components/p-c6cab2cb.entry.js +1 -0
- package/dist/magma-components/p-c6f56934.entry.js +1 -0
- package/dist/magma-components/{p-793072e1.system.entry.js → p-c8430552.system.entry.js} +14 -14
- package/dist/magma-components/p-c902d468.entry.js +1 -0
- package/dist/magma-components/p-ca0f3549.entry.js +1 -0
- package/dist/magma-components/{p-98cc6473.system.entry.js → p-ca5867f5.system.entry.js} +15 -15
- package/dist/magma-components/p-cc5518b1.entry.js +1 -0
- package/dist/magma-components/{p-32b3ad6f.entry.js → p-ccb23b6a.entry.js} +1 -1
- package/dist/magma-components/p-ccb64689.system.entry.js +113 -0
- package/dist/magma-components/{p-fe51c0cb.system.entry.js → p-cf8cfcac.system.entry.js} +3 -3
- package/dist/magma-components/p-cfb153b8.entry.js +1 -0
- package/dist/magma-components/p-cfcb8bb5.entry.js +1 -0
- package/dist/magma-components/p-d0b45a54.entry.js +1 -0
- package/dist/magma-components/{p-3f17a06f.system.entry.js → p-d0dfa8b5.system.entry.js} +2 -2
- package/dist/magma-components/p-d1281855.system.entry.js +330 -0
- package/dist/magma-components/{p-48a1871f.system.entry.js → p-d173ae2f.system.entry.js} +1 -1
- package/dist/magma-components/p-d1751ff6.entry.js +1 -0
- package/dist/magma-components/p-d32ca6ce.entry.js +1 -0
- package/dist/magma-components/p-d4452e41.entry.js +1 -0
- package/dist/magma-components/p-d5dec64d.entry.js +1 -0
- package/dist/magma-components/p-d7813f9b.system.entry.js +13 -0
- package/dist/magma-components/{p-27a32865.system.entry.js → p-dd4b04ed.system.entry.js} +3 -3
- package/dist/magma-components/p-ddc31c50.entry.js +1 -0
- package/dist/magma-components/{p-b129b127.system.entry.js → p-df70af5f.system.entry.js} +37 -37
- package/dist/magma-components/p-e009c632.entry.js +1 -0
- package/dist/magma-components/p-e160e4e1.entry.js +1 -0
- package/dist/magma-components/p-e497f0db.entry.js +1 -0
- package/dist/magma-components/p-e4db9ad2.entry.js +1 -0
- package/dist/magma-components/p-e63c1ba4.entry.js +1 -0
- package/dist/magma-components/p-e66db408.entry.js +1 -0
- package/dist/magma-components/{p-5c6fdabd.system.entry.js → p-e84361ee.system.entry.js} +12 -3
- package/dist/magma-components/p-ea93721d.entry.js +1 -0
- package/dist/magma-components/{p-f6358241.system.entry.js → p-eb4f76d8.system.entry.js} +9 -6
- package/dist/magma-components/p-ecf29ffa.entry.js +1 -0
- package/dist/magma-components/{p-5794053b.system.entry.js → p-ede31d27.system.entry.js} +6 -6
- package/dist/magma-components/{p-66f7f9b1.system.entry.js → p-ee247029.system.entry.js} +3 -3
- package/dist/magma-components/{p-45c26a24.system.entry.js → p-ee65f0eb.system.entry.js} +5 -5
- package/dist/magma-components/p-efcd8a1d.entry.js +1 -0
- package/dist/magma-components/{p-9b0d7f7d.system.entry.js → p-f01e7a7e.system.entry.js} +4 -4
- package/dist/magma-components/{p-188a55ac.system.entry.js → p-f0d93b22.system.entry.js} +9 -6
- package/dist/magma-components/{p-c0295a0e.system.entry.js → p-f2e5a2c7.system.entry.js} +7 -7
- package/dist/magma-components/p-f3041712.entry.js +1 -0
- package/dist/magma-components/{p-97a501cd.system.entry.js → p-f3f1da06.system.entry.js} +5 -5
- package/dist/magma-components/{p-b1cd3acf.system.entry.js → p-f4e8f507.system.entry.js} +2 -2
- package/dist/magma-components/{p-1e24aafa.system.entry.js → p-f5c82548.system.entry.js} +1 -1
- package/dist/magma-components/{p-411fca2f.system.entry.js → p-f6f6d914.system.entry.js} +3 -3
- package/dist/magma-components/p-f9d2316a.entry.js +1 -0
- package/dist/magma-components/p-fe4ae251.entry.js +1 -0
- package/dist/magma-components/{p-16bbff4e.system.entry.js → p-ffcfa9e3.system.entry.js} +2 -2
- package/dist/magma-components/p-kW8cjKIa.js +1 -0
- package/dist/mcp/checks.js +1 -1
- package/dist/stats.json +4106 -3337
- package/dist/types/common/floating-controller.d.ts +14 -0
- package/dist/types/common/navigation.d.ts +7 -0
- package/dist/types/common/preference.d.ts +13 -1
- package/dist/types/common/validity/index.d.ts +1 -1
- package/dist/types/components/mds-accordion-item/mds-accordion-item.d.ts +10 -2
- package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +10 -2
- package/dist/types/components/mds-banner/mds-banner.d.ts +13 -4
- package/dist/types/components/mds-banner/meta/dictionary.d.ts +7 -0
- package/dist/types/components/mds-banner/meta/types.d.ts +2 -0
- package/dist/types/components/mds-calendar/mds-calendar.d.ts +60 -16
- package/dist/types/components/mds-calendar/meta/types.d.ts +2 -0
- package/dist/types/components/mds-chip/mds-chip.d.ts +10 -0
- package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +1 -0
- package/dist/types/components/mds-icon/services/icons-set.service.d.ts +42 -0
- package/dist/types/components/mds-input/mds-input.d.ts +114 -10
- package/dist/types/components/mds-input/meta/color.d.ts +13 -0
- package/dist/types/components/mds-input/meta/types.d.ts +1 -1
- package/dist/types/components/mds-input/meta/validators.d.ts +5 -0
- package/dist/types/components/mds-input/meta/validity.d.ts +3 -2
- package/dist/types/components/mds-input-date/mds-input-date.d.ts +13 -2
- package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +34 -3
- package/dist/types/components/mds-input-range/mds-input-range.d.ts +96 -4
- package/dist/types/components/mds-input-range/meta/event-detail.d.ts +7 -0
- package/dist/types/components/mds-input-range-value/mds-input-range-value.d.ts +18 -0
- package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +6 -3
- package/dist/types/components/mds-input-tip-item/meta/dictionary.d.ts +1 -1
- package/dist/types/components/mds-pref/mds-pref.d.ts +6 -0
- package/dist/types/components/mds-tab/mds-tab.d.ts +2 -1
- package/dist/types/components/mds-table/mds-table.d.ts +6 -1
- package/dist/types/components/mds-table-header/mds-table-header.d.ts +1 -1
- package/dist/types/components/mds-url-view/mds-url-view.d.ts +0 -3
- package/dist/types/components/mds-zero/mds-zero.d.ts +4 -0
- package/dist/types/components.d.ts +157 -38
- package/dist/types/fixtures/dark-mode.d.ts +7 -0
- package/dist/types/index.d.ts +20 -8
- package/dist/types/stencil-public-runtime.d.ts +1 -1
- package/dist/types/type/file-types.d.ts +1 -1
- package/dist/types/type/input.d.ts +2 -2
- package/package.json +19 -17
- package/dist/components/p-BQSO-HFx.js +0 -1
- package/dist/components/p-Bw-eI2ca.js +0 -1
- package/dist/components/p-BwwiliWt.js +0 -1
- package/dist/components/p-CZX6N7ce.js +0 -1
- package/dist/components/p-CpuUmvdl.js +0 -1
- package/dist/components/p-DUgCzZw9.js +0 -1
- package/dist/components/p-DWOg4-dH.js +0 -1
- package/dist/components/p-DZ4_zLTp.js +0 -1
- package/dist/components/p-J48g0t65.js +0 -1
- package/dist/components/p-TZJN-ygm.js +0 -3
- package/dist/components/p-UfaGafRS.js +0 -1
- package/dist/components/p-k_Ly95Tj.js +0 -1
- package/dist/components/p-lXKBo6V3.js +0 -1
- package/dist/components/p-oFHbHRLX.js +0 -1
- package/dist/esm-es5/index-DEL0bLpb.js +0 -10
- package/dist/magma-components/p-02aed12a.entry.js +0 -1
- package/dist/magma-components/p-0417391b.entry.js +0 -1
- package/dist/magma-components/p-08f7a84b.entry.js +0 -1
- package/dist/magma-components/p-0df067b4.entry.js +0 -1
- package/dist/magma-components/p-0f4c2de6.entry.js +0 -1
- package/dist/magma-components/p-14de26d5.entry.js +0 -1
- package/dist/magma-components/p-163eccbd.entry.js +0 -1
- package/dist/magma-components/p-167ba07a.entry.js +0 -1
- package/dist/magma-components/p-17249b74.entry.js +0 -1
- package/dist/magma-components/p-1a53d9d0.system.entry.js +0 -225
- package/dist/magma-components/p-1cc379d6.entry.js +0 -1
- package/dist/magma-components/p-223efc32.entry.js +0 -1
- package/dist/magma-components/p-2454e4cd.system.entry.js +0 -7
- package/dist/magma-components/p-24a69c45.entry.js +0 -1
- package/dist/magma-components/p-259d9380.entry.js +0 -1
- package/dist/magma-components/p-26b08e33.entry.js +0 -1
- package/dist/magma-components/p-2940499f.entry.js +0 -1
- package/dist/magma-components/p-2f4a7253.system.entry.js +0 -1
- package/dist/magma-components/p-2ffa4d4a.entry.js +0 -1
- package/dist/magma-components/p-33129e0c.system.entry.js +0 -13
- package/dist/magma-components/p-397c0686.entry.js +0 -1
- package/dist/magma-components/p-3bf4f012.system.entry.js +0 -13
- package/dist/magma-components/p-3de37b32.entry.js +0 -1
- package/dist/magma-components/p-40c59c18.entry.js +0 -1
- package/dist/magma-components/p-43c307f5.entry.js +0 -1
- package/dist/magma-components/p-440d7942.entry.js +0 -1
- package/dist/magma-components/p-4541c233.entry.js +0 -1
- package/dist/magma-components/p-4612bc78.entry.js +0 -8
- package/dist/magma-components/p-4718a71d.entry.js +0 -1
- package/dist/magma-components/p-4a1f7eb5.entry.js +0 -1
- package/dist/magma-components/p-4c3b3913.system.entry.js +0 -25
- package/dist/magma-components/p-4c955367.entry.js +0 -1
- package/dist/magma-components/p-4ebb0a9e.entry.js +0 -1
- package/dist/magma-components/p-4f80bf37.entry.js +0 -1
- package/dist/magma-components/p-52211fa3.entry.js +0 -1
- package/dist/magma-components/p-52cc5a93.entry.js +0 -1
- package/dist/magma-components/p-56cf1cab.entry.js +0 -1
- package/dist/magma-components/p-59aa4994.entry.js +0 -1
- package/dist/magma-components/p-5a754d7b.entry.js +0 -1
- package/dist/magma-components/p-5ca6063a.entry.js +0 -1
- package/dist/magma-components/p-5cb581df.entry.js +0 -1
- package/dist/magma-components/p-5d825728.entry.js +0 -1
- package/dist/magma-components/p-5dfca9f0.entry.js +0 -1
- package/dist/magma-components/p-5f38e95b.entry.js +0 -1
- package/dist/magma-components/p-5f4bec31.entry.js +0 -1
- package/dist/magma-components/p-627f5956.entry.js +0 -1
- package/dist/magma-components/p-6352c2ea.entry.js +0 -1
- package/dist/magma-components/p-64884d84.entry.js +0 -1
- package/dist/magma-components/p-65ea6fc9.entry.js +0 -1
- package/dist/magma-components/p-68b0d45a.entry.js +0 -1
- package/dist/magma-components/p-6a4d44e2.entry.js +0 -1
- package/dist/magma-components/p-6a90caf5.system.entry.js +0 -1
- package/dist/magma-components/p-6c4f2de0.entry.js +0 -1
- package/dist/magma-components/p-70faf379.entry.js +0 -1
- package/dist/magma-components/p-71d03e56.entry.js +0 -1
- package/dist/magma-components/p-73dc7c66.entry.js +0 -1
- package/dist/magma-components/p-7476cf76.system.entry.js +0 -77
- package/dist/magma-components/p-77707706.entry.js +0 -1
- package/dist/magma-components/p-78d00f88.entry.js +0 -1
- package/dist/magma-components/p-79392a0a.entry.js +0 -1
- package/dist/magma-components/p-7a33ab3c.entry.js +0 -1
- package/dist/magma-components/p-7b552dbe.entry.js +0 -1
- package/dist/magma-components/p-7c13ccb0.entry.js +0 -1
- package/dist/magma-components/p-848d1b42.system.entry.js +0 -30
- package/dist/magma-components/p-84d0d701.entry.js +0 -1
- package/dist/magma-components/p-86494ea9.entry.js +0 -1
- package/dist/magma-components/p-8915347f.entry.js +0 -1
- package/dist/magma-components/p-8b8a6662.entry.js +0 -1
- package/dist/magma-components/p-8c20ac0c.entry.js +0 -1
- package/dist/magma-components/p-90c60c48.entry.js +0 -1
- package/dist/magma-components/p-90e20ad3.entry.js +0 -1
- package/dist/magma-components/p-94548d43.entry.js +0 -1
- package/dist/magma-components/p-95020326.entry.js +0 -1
- package/dist/magma-components/p-970f45df.entry.js +0 -1
- package/dist/magma-components/p-9aba3769.entry.js +0 -1
- package/dist/magma-components/p-9b8d15a8.system.entry.js +0 -1
- package/dist/magma-components/p-9e94f4a3.system.entry.js +0 -41
- package/dist/magma-components/p-B8zYiZQY.system.js +0 -5
- package/dist/magma-components/p-CvLLN-QH.js +0 -3
- package/dist/magma-components/p-CxzVgcYv.js +0 -1
- package/dist/magma-components/p-D3J9KZKy.system.js +0 -10
- package/dist/magma-components/p-Dx7iOdVP.js +0 -1
- package/dist/magma-components/p-a112a0e2.system.entry.js +0 -24
- package/dist/magma-components/p-a2767235.entry.js +0 -1
- package/dist/magma-components/p-a2c3b294.system.entry.js +0 -94
- package/dist/magma-components/p-a4f53c83.entry.js +0 -1
- package/dist/magma-components/p-a58e8a5c.entry.js +0 -1
- package/dist/magma-components/p-a9a872e1.entry.js +0 -1
- package/dist/magma-components/p-ab1c3fb0.system.entry.js +0 -7
- package/dist/magma-components/p-ab445c2b.entry.js +0 -1
- package/dist/magma-components/p-abe32d5b.entry.js +0 -1
- package/dist/magma-components/p-af56e3e4.system.entry.js +0 -32
- package/dist/magma-components/p-b1238d48.entry.js +0 -1
- package/dist/magma-components/p-b705b805.entry.js +0 -1
- package/dist/magma-components/p-ba871d9c.entry.js +0 -1
- package/dist/magma-components/p-ba95bf93.entry.js +0 -1
- package/dist/magma-components/p-bd489df9.entry.js +0 -1
- package/dist/magma-components/p-bfd95736.entry.js +0 -1
- package/dist/magma-components/p-c06d8b5a.entry.js +0 -1
- package/dist/magma-components/p-c131d726.entry.js +0 -1
- package/dist/magma-components/p-c2758b81.entry.js +0 -1
- package/dist/magma-components/p-c49676e6.entry.js +0 -1
- package/dist/magma-components/p-c8414ee6.entry.js +0 -1
- package/dist/magma-components/p-c91cb63a.entry.js +0 -1
- package/dist/magma-components/p-cb06839f.entry.js +0 -1
- package/dist/magma-components/p-ce42734f.entry.js +0 -1
- package/dist/magma-components/p-d1e4a032.entry.js +0 -1
- package/dist/magma-components/p-d25a47fa.entry.js +0 -1
- package/dist/magma-components/p-d29b32b4.system.entry.js +0 -1
- package/dist/magma-components/p-d2ba5851.system.entry.js +0 -82
- package/dist/magma-components/p-d365c6b6.entry.js +0 -1
- package/dist/magma-components/p-d3b06151.entry.js +0 -1
- package/dist/magma-components/p-d45f65e0.entry.js +0 -1
- package/dist/magma-components/p-d51ec950.entry.js +0 -1
- package/dist/magma-components/p-d760c1fa.entry.js +0 -1
- package/dist/magma-components/p-d785d7ee.entry.js +0 -1
- package/dist/magma-components/p-d9092133.entry.js +0 -1
- package/dist/magma-components/p-de423b11.entry.js +0 -1
- package/dist/magma-components/p-df78b7ac.system.entry.js +0 -1
- package/dist/magma-components/p-e39b5e12.entry.js +0 -1
- package/dist/magma-components/p-eb220deb.system.entry.js +0 -7
- package/dist/magma-components/p-eca42fe8.system.entry.js +0 -29
- package/dist/magma-components/p-ecda3e45.entry.js +0 -1
- package/dist/magma-components/p-f9f3ad86.entry.js +0 -1
- package/dist/magma-components/p-fb4b648a.entry.js +0 -1
- package/dist/magma-components/p-fd4588c5.entry.js +0 -1
- package/dist/magma-components/p-fdd17ee6.entry.js +0 -1
- package/dist/magma-components/p-ff6cf4f8.system.entry.js +0 -98
- package/dist/magma-components/p-ff76c614.entry.js +0 -1
- /package/dist/components/{p-Bz1eiKqd.js → p-To9IeLHs.js} +0 -0
- /package/dist/magma-components/{p-Bz1eiKqd.js → p-To9IeLHs.js} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import{r as registerInstance,d as createEvent,h,e as Host}from"./index-
|
|
1
|
+
import{r as registerInstance,d as createEvent,h,e as Host}from"./index-CPibDZjX.js";import{m as miOutlineCircle}from"./circle-lZldSMeV.js";import{m as miBaselineSettings}from"./settings-XQgkfNpn.js";import{L as Locale}from"./locale-B7Hw4niB.js";import{p as preferenceStore}from"./preference-CBMLGSf7.js";var miBaselineAnimation='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15 2c-2.71 0-5.05 1.54-6.22 3.78a7.062 7.062 0 0 0-3 3A7.014 7.014 0 0 0 2 15c0 3.87 3.13 7 7 7c2.71 0 5.05-1.54 6.22-3.78a7.062 7.062 0 0 0 3-3A7.014 7.014 0 0 0 22 9c0-3.87-3.13-7-7-7zM9 20a5.002 5.002 0 0 1-4-8c0 3.87 3.13 7 7 7c-.84.63-1.88 1-3 1zm3-3a5.002 5.002 0 0 1-4-8c0 3.86 3.13 6.99 7 7c-.84.63-1.88 1-3 1zm4.7-3.3c-.53.19-1.1.3-1.7.3c-2.76 0-5-2.24-5-5c0-.6.11-1.17.3-1.7c.53-.19 1.1-.3 1.7-.3c2.76 0 5 2.24 5 5c0 .6-.11 1.17-.3 1.7zM19 12c0-3.86-3.13-6.99-7-7a5.002 5.002 0 0 1 7 7z"/></svg>';var animationDisabled$3="Απενεργοποιημένο";var animationEnabled$3="Ενεργοποιημένο";var label$3="Κινηματογραφήσεις";var systemSettings$3="Ρυθμίσεις συστήματος";var localeEl={animationDisabled:animationDisabled$3,animationEnabled:animationEnabled$3,label:label$3,systemSettings:systemSettings$3};var animationDisabled$2="Disabled";var animationEnabled$2="Enabled";var label$2="Animations";var systemSettings$2="System settings";var localeEn={animationDisabled:animationDisabled$2,animationEnabled:animationEnabled$2,label:label$2,systemSettings:systemSettings$2};var animationDisabled$1="Deshabilitadas";var animationEnabled$1="Habilitadas";var label$1="Animaciones";var systemSettings$1="Sistema operativo";var localeEs={animationDisabled:animationDisabled$1,animationEnabled:animationEnabled$1,label:label$1,systemSettings:systemSettings$1};var animationDisabled="Disabilitate";var animationEnabled="Abilitate";var label="Animazioni";var systemSettings="Sistema operativo";var localeIt={animationDisabled:animationDisabled,animationEnabled:animationEnabled,label:label,systemSettings:systemSettings};var mdsPrefAnimationCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host(:not(:is([hydrated],.hydrated))),:is(mds-tab,mds-tab-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*200)}.item{--mds-tab-item-default-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));flex-basis:0;flex-grow:1}.item--disabled,.item--enabled,.item--system{--mds-tab-item-selected-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}:host([pref-contrast=more]) .item{--mds-tab-item-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item{--mds-tab-item-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}"};var MdsPrefAnimation=/** @class */function(){function e(t){var i=this.constructor;var a=this;if(i===e)registerInstance(this,t);this.prefChangeEvent=createEvent(this,"mdsPrefChange",7);this.localStorageAlias="mdsPrefAnimation";this.customPropertyAlias="--magma-pref-animation";this.defaultMode="system";this.syncingFromStore=false;this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.animation={reduce:{selector:"pref-animation-reduce",label:"animationDisabled"},system:{selector:"pref-animation-system",label:"systemSettings"},"no-preference":{selector:"pref-animation-no-preference",label:"animationEnabled"}};this.isMode=function(e){return e!=null&&{}.hasOwnProperty.call(a.animation,e)};this.warnInvalidMode=function(e){console.warn('mds-pref-animation: ignoring the invalid mode "'.concat(e,'", use one of: ').concat(Object.keys(a.animation).join(", ")))};
|
|
2
2
|
/**
|
|
3
3
|
* Follows an animation applied elsewhere (another instance, or a writer of the
|
|
4
4
|
* `<html>` classes) without applying it again: no event, no storage write.
|
|
5
|
-
*/this.syncAnimation=function(e){if(e===undefined||e===
|
|
5
|
+
*/this.syncAnimation=function(e){if(e===undefined||e===a.mode){return}a.syncingFromStore=true;a.mode=e;a.appliedMode=e;a.syncingFromStore=false};
|
|
6
6
|
/**
|
|
7
7
|
* Applies a animation once per change, and announces it once applied: the `mode` watcher
|
|
8
8
|
* calls this again for the value it has just been given, which used to emit a second
|
|
9
9
|
* mdsPrefChange, and the first application, the one of load, is no change to announce.
|
|
10
|
-
*/this.setAnimation=function(e){if(e===
|
|
10
|
+
*/this.setAnimation=function(e){if(e===a.appliedMode){a.mode=e;return}var t=a.appliedMode===undefined;a.appliedMode=e;a.mode=e;localStorage.setItem(a.localStorageAlias,a.mode);if(typeof document!=="undefined"){var i=document.querySelector("html");for(var n in a.animation){if({}.hasOwnProperty.call(a.animation,n)){i===null||i===void 0?void 0:i.classList.remove(a.animation[n].selector)}}i===null||i===void 0?void 0:i.classList.add(a.animation[a.mode].selector);i===null||i===void 0?void 0:i.style.setProperty(a.customPropertyAlias,a.mode)}preferenceStore.state.animation=e;if(!t){a.prefChangeEvent.emit({preference:"animation"})}};this.handleModeClick=function(e){return function(){a.setAnimation(e)}}}
|
|
11
11
|
// Applied once, on load, then mirrored from the shared store (see mds-pref-mode). A mode
|
|
12
12
|
// outside the union is ignored, and one an earlier page left in the storage is dropped: it was
|
|
13
13
|
// applied, threw, and broke every following load too (#825)
|
|
14
14
|
e.prototype.componentWillLoad=function(){var e;if(this.mode!=null&&!this.isMode(this.mode))this.warnInvalidMode(this.mode);var t=localStorage.getItem(this.localStorageAlias);if(t!==null&&!this.isMode(t))localStorage.removeItem(this.localStorageAlias);this.setAnimation((e=[this.mode,t].find(this.isMode))!==null&&e!==void 0?e:this.defaultMode)};e.prototype.connectedCallback=function(){this.unsubscribeStore=preferenceStore.onChange("animation",this.syncAnimation)};e.prototype.disconnectedCallback=function(){var e;(e=this.unsubscribeStore)===null||e===void 0?void 0:e.call(this)};e.prototype.modeChanged=function(e){if(this.syncingFromStore){return}
|
|
15
15
|
// a mode outside the union, or the attribute removed, is not applied: the instance goes back
|
|
16
16
|
// to the animation of the page
|
|
17
|
-
if(!this.isMode(e)){if(e!=null)this.warnInvalidMode(e);this.syncAnimation(preferenceStore.state.animation);return}this.setAnimation(e)};e.prototype.render=function(){var e;return h(Host,{key:"
|
|
17
|
+
if(!this.isMode(e)){if(e!=null)this.warnInvalidMode(e);this.syncAnimation(preferenceStore.state.animation);return}this.setAnimation(e)};e.prototype.render=function(){var e;return h(Host,{key:"1bd6300cfbb1bb78df7ef28928da01d559425339","pref-contrast":preferenceStore.state.contrast},h("mds-text",{key:"62ad64f48b6ffa69aa81742e52df1c19b7f13dea",class:"info",typography:"caption"},h("b",{key:"a9bc9a0b352771e57b5c2e7bdf595e841a7d4317"},this.t.get("label"))," ",this.t.get(this.animation[(e=this.mode)!==null&&e!==void 0?e:this.defaultMode].label)),h("mds-tab",{key:"8cfc532183faa4aae637590c707344af0c72c32c",fill:true,size:this.size},h("mds-tab-item",{key:"ef5ce343fc89a6f1ca326c398cd204b6e369f5a2",selected:this.mode==="reduce",onClick:this.handleModeClick("reduce"),class:"item item--reduce",icon:miOutlineCircle,title:this.t.get(this.animation.reduce.label)}),h("mds-tab-item",{key:"726a42f5581ec64654cac302d67c85aa4c490c7b",selected:this.mode==="system",onClick:this.handleModeClick("system"),class:"item item--system",icon:miBaselineSettings,title:this.t.get(this.animation.system.label)}),h("mds-tab-item",{key:"65f918c1f2b44f434cd85aa19fa8b49304a15971",selected:this.mode==="no-preference",onClick:this.handleModeClick("no-preference"),class:"item item--no-preference",icon:miBaselineAnimation,title:this.t.get(this.animation["no-preference"].label)})))};Object.defineProperty(e,"watchers",{get:function(){return{mode:[{modeChanged:0}]}},enumerable:false,configurable:true});return e}();MdsPrefAnimation.style=mdsPrefAnimationCss();export{MdsPrefAnimation as mds_pref_animation};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import{r as registerInstance,d as createEvent,h,e as Host}from"./index-
|
|
1
|
+
import{r as registerInstance,d as createEvent,h,e as Host}from"./index-CPibDZjX.js";import{L as Locale}from"./locale-B7Hw4niB.js";import{p as preferenceStore}from"./preference-CBMLGSf7.js";var mggConsumptionLow='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M13.314 12.492c-.943-.837-4.99-3.526-8.385-5.563 2.037 3.395 4.726 7.442 5.563 8.384q.045.052.094.101a2 2 0 1 0 2.728-2.922"/>\n <path d="M2 14c0 1.893.526 3.663 1.44 5.173.326.538.93.827 1.558.827h14.004c.629 0 1.232-.29 1.558-.827A9.95 9.95 0 0 0 22 14c0-5.523-4.477-10-10-10a9.95 9.95 0 0 0-5.416 1.592c.64.39 1.292.795 1.937 1.202A8 8 0 0 1 18.93 18H5.07A7.96 7.96 0 0 1 4 14c0-1.247.285-2.427.794-3.48-.407-.644-.812-1.297-1.202-1.936A9.95 9.95 0 0 0 2 14"/>\n</svg>\n';var mggConsumptionMedium='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M9.885 4.224C5.378 5.194 2 9.203 2 14c0 1.893.526 3.663 1.44 5.173.326.538.93.827 1.558.827h14.004c.629 0 1.232-.29 1.558-.827A9.95 9.95 0 0 0 22 14c0-4.797-3.378-8.805-7.885-9.776.177.728.352 1.476.52 2.22A8.003 8.003 0 0 1 18.93 18H5.07A8.003 8.003 0 0 1 9.365 6.444a137 137 0 0 1 .52-2.22"/>\n <path d="M13.995 13.862C13.921 12.605 12.96 7.842 12 4c-.96 3.841-1.92 8.605-1.995 9.862a2 2 0 1 0 3.99 0"/>\n</svg>\n';var mggConsumptionHigh='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M13.508 15.314c.837-.943 3.526-4.99 5.563-8.385-3.395 2.037-7.443 4.726-8.385 5.563q-.051.045-.1.094a2 2 0 1 0 2.922 2.728"/>\n <path d="M3.44 19.173A9.95 9.95 0 0 1 2 14C2 8.477 6.477 4 12 4c1.996 0 3.855.585 5.416 1.592-.64.39-1.292.795-1.937 1.202A8 8 0 0 0 5.07 18h13.86A7.96 7.96 0 0 0 20 14a8 8 0 0 0-.794-3.48c.407-.644.813-1.297 1.202-1.936A9.95 9.95 0 0 1 22 14a9.95 9.95 0 0 1-1.44 5.173c-.326.538-.93.827-1.558.827H4.998c-.629 0-1.232-.29-1.558-.827"/>\n</svg>\n';var consumptionHigh$3="Υψηλή";var consumptionLow$3="Χαμηλή";var consumptionMedium$3="Μεσαία";var label$3="Κατανάλωση";var localeEl={consumptionHigh:consumptionHigh$3,consumptionLow:consumptionLow$3,consumptionMedium:consumptionMedium$3,label:label$3};var consumptionHigh$2="High";var consumptionLow$2="Low";var consumptionMedium$2="Medium";var label$2="Consumption";var localeEn={consumptionHigh:consumptionHigh$2,consumptionLow:consumptionLow$2,consumptionMedium:consumptionMedium$2,label:label$2};var consumptionHigh$1="Alto";var consumptionLow$1="Bajo";var consumptionMedium$1="Medio";var label$1="Consumo";var localeEs={consumptionHigh:consumptionHigh$1,consumptionLow:consumptionLow$1,consumptionMedium:consumptionMedium$1,label:label$1};var consumptionHigh="Alto";var consumptionLow="Basso";var consumptionMedium="Medio";var label="Consumo";var localeIt={consumptionHigh:consumptionHigh,consumptionLow:consumptionLow,consumptionMedium:consumptionMedium,label:label};var mdsPrefConsumptionCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-tab,mds-tab-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*200)}.item{--mds-tab-item-default-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));flex-basis:0;flex-grow:1}.item--high{--mds-tab-item-selected-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}.item--medium{--mds-tab-item-selected-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)))}.item--low{--mds-tab-item-selected-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:host([pref-contrast=more]) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([pref-contrast=more]) .item--high{--mds-tab-item-default-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([pref-contrast=more]) .item--medium{--mds-tab-item-default-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([pref-contrast=more]) .item--low{--mds-tab-item-default-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item--high{--mds-tab-item-default-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item--medium{--mds-tab-item-default-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item--low{--mds-tab-item-default-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}}"};var MdsPrefContrast=/** @class */function(){function t(e){var o=this.constructor;var i=this;if(o===t)registerInstance(this,e);this.prefChangeEvent=createEvent(this,"mdsPrefChange",7);this.localStorageAlias="mdsPrefConsumption";this.customPropertyAlias="--magma-pref-consumption";this.defaultMode="high";this.syncingFromStore=false;this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.consumption={high:{selector:"pref-consumption-high",label:"consumptionHigh"},medium:{selector:"pref-consumption-medium",label:"consumptionMedium"},low:{selector:"pref-consumption-low",label:"consumptionLow"}};this.isMode=function(t){return t!=null&&{}.hasOwnProperty.call(i.consumption,t)};this.warnInvalidMode=function(t){console.warn('mds-pref-consumption: ignoring the invalid mode "'.concat(t,'", use one of: ').concat(Object.keys(i.consumption).join(", ")))};
|
|
2
2
|
/**
|
|
3
3
|
* Follows a consumption applied elsewhere (another instance, or a writer of the
|
|
4
4
|
* `<html>` classes) without applying it again: no event, no storage write.
|
|
5
|
-
*/this.syncConsumption=function(t){if(t===undefined||t===
|
|
5
|
+
*/this.syncConsumption=function(t){if(t===undefined||t===i.mode){return}i.syncingFromStore=true;i.mode=t;i.appliedMode=t;i.syncingFromStore=false};
|
|
6
6
|
/**
|
|
7
7
|
* Applies a consumption once per change, and announces it once applied: the `mode` watcher
|
|
8
8
|
* calls this again for the value it has just been given, which used to emit a second
|
|
9
9
|
* mdsPrefChange, and the first application, the one of load, is no change to announce.
|
|
10
|
-
*/this.setConsumption=function(t){if(t===
|
|
10
|
+
*/this.setConsumption=function(t){if(t===i.appliedMode){i.mode=t;return}var e=i.appliedMode===undefined;i.appliedMode=t;i.mode=t;localStorage.setItem(i.localStorageAlias,i.mode);if(typeof document!=="undefined"){var o=document.querySelector("html");for(var s in i.consumption){if({}.hasOwnProperty.call(i.consumption,s)){o===null||o===void 0?void 0:o.classList.remove(i.consumption[s].selector)}}o===null||o===void 0?void 0:o.classList.add(i.consumption[i.mode].selector);o===null||o===void 0?void 0:o.style.setProperty(i.customPropertyAlias,i.mode)}preferenceStore.state.consumption=t;if(!e){i.prefChangeEvent.emit({preference:"consumption"})}};this.handleModeClick=function(t){return function(){i.setConsumption(t)}}}
|
|
11
11
|
// Applied once, on load, then mirrored from the shared store (see mds-pref-mode). A mode
|
|
12
12
|
// outside the union is ignored, and one an earlier page left in the storage is dropped: it was
|
|
13
13
|
// applied, threw, and broke every following load too (#825)
|
|
14
14
|
t.prototype.componentWillLoad=function(){var t;if(this.mode!=null&&!this.isMode(this.mode))this.warnInvalidMode(this.mode);var e=localStorage.getItem(this.localStorageAlias);if(e!==null&&!this.isMode(e))localStorage.removeItem(this.localStorageAlias);this.setConsumption((t=[this.mode,e].find(this.isMode))!==null&&t!==void 0?t:this.defaultMode)};t.prototype.connectedCallback=function(){this.unsubscribeStore=preferenceStore.onChange("consumption",this.syncConsumption)};t.prototype.disconnectedCallback=function(){var t;(t=this.unsubscribeStore)===null||t===void 0?void 0:t.call(this)};t.prototype.modeChanged=function(t){if(this.syncingFromStore){return}
|
|
15
15
|
// a mode outside the union, or the attribute removed, is not applied: the instance goes back
|
|
16
16
|
// to the consumption of the page
|
|
17
|
-
if(!this.isMode(t)){if(t!=null)this.warnInvalidMode(t);this.syncConsumption(preferenceStore.state.consumption);return}this.setConsumption(t)};t.prototype.render=function(){var t;return h(Host,{key:"
|
|
17
|
+
if(!this.isMode(t)){if(t!=null)this.warnInvalidMode(t);this.syncConsumption(preferenceStore.state.consumption);return}this.setConsumption(t)};t.prototype.render=function(){var t;return h(Host,{key:"ba4e07cbe03c810a4d54f3eeb99f95fb9d8199c6","pref-contrast":preferenceStore.state.contrast},h("mds-text",{key:"1dc99d3ebe5f18327ae1e9facbcafdfd728a8152",class:"info",typography:"caption"},h("b",{key:"b1196867a8f776a1c60bff63a7d558d865a67dc8"},this.t.get("label"))," ",this.t.get(this.consumption[(t=this.mode)!==null&&t!==void 0?t:this.defaultMode].label)),h("mds-tab",{key:"fbe0939e688e76935ca05a0e5110bc9524776d26",fill:true,size:this.size},h("mds-tab-item",{key:"9ea622b8293fa353a9c5c440d88f541425f2b39a",selected:this.mode==="low",onClick:this.handleModeClick("low"),class:"item item--low",icon:mggConsumptionLow,title:this.t.get(this.consumption.low.label)}),h("mds-tab-item",{key:"e22e6188366d3293a7d78fad53eda567e23b0097",selected:this.mode==="medium",onClick:this.handleModeClick("medium"),class:"item item--medium",icon:mggConsumptionMedium,title:this.t.get(this.consumption.medium.label)}),h("mds-tab-item",{key:"419a5c85afd720383c2e2ceef3a346c4a9bf914a",selected:this.mode==="high",onClick:this.handleModeClick("high"),class:"item item--high",icon:mggConsumptionHigh,title:this.t.get(this.consumption.high.label)})))};Object.defineProperty(t,"watchers",{get:function(){return{mode:[{modeChanged:0}]}},enumerable:false,configurable:true});return t}();MdsPrefContrast.style=mdsPrefConsumptionCss();export{MdsPrefContrast as mds_pref_consumption};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import{r as registerInstance,d as createEvent,h,e as Host}from"./index-
|
|
1
|
+
import{r as registerInstance,d as createEvent,h,e as Host}from"./index-CPibDZjX.js";import{m as miBaselineSettings}from"./settings-XQgkfNpn.js";import{L as Locale}from"./locale-B7Hw4niB.js";import{p as preferenceStore}from"./preference-CBMLGSf7.js";var miBaselineContrast='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 22c5.52 0 10-4.48 10-10S17.52 2 12 2S2 6.48 2 12s4.48 10 10 10zm1-17.93c3.94.49 7 3.85 7 7.93s-3.05 7.44-7 7.93V4.07z"/></svg>';var miOutlineAutoAwesome='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 9l1.25-2.75L23 5l-2.75-1.25L19 1l-1.25 2.75L15 5l2.75 1.25zm0 6l-1.25 2.75L15 19l2.75 1.25L19 23l1.25-2.75L23 19l-2.75-1.25zm-7.5-5.5L9 4L6.5 9.5L1 12l5.5 2.5L9 20l2.5-5.5L17 12l-5.5-2.5zm-1.51 3.49L9 15.17l-.99-2.18L5.83 12l2.18-.99L9 8.83l.99 2.18l2.18.99l-2.18.99z"/></svg>';var miBaselineAutoAwesome='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 9l1.25-2.75L23 5l-2.75-1.25L19 1l-1.25 2.75L15 5l2.75 1.25L19 9zm-7.5.5L9 4L6.5 9.5L1 12l5.5 2.5L9 20l2.5-5.5L17 12l-5.5-2.5zM19 15l-1.25 2.75L15 19l2.75 1.25L19 23l1.25-2.75L23 19l-2.75-1.25L19 15z"/></svg>';var contrastMore$3="Περισσότερο";var contrastDefault$3="Προεπιλογή";var label$3="Αντίθεση";var systemSettings$3="Ρυθμίσεις συστήματος";var localeEl={contrastMore:contrastMore$3,contrastDefault:contrastDefault$3,label:label$3,systemSettings:systemSettings$3};var contrastMore$2="More";var contrastDefault$2="Default";var label$2="Contrast";var systemSettings$2="System settings";var localeEn={contrastMore:contrastMore$2,contrastDefault:contrastDefault$2,label:label$2,systemSettings:systemSettings$2};var contrastMore$1="Mayor";var contrastDefault$1="Predeterminado";var label$1="Contraste";var systemSettings$1="Sistema operativo";var localeEs={contrastMore:contrastMore$1,contrastDefault:contrastDefault$1,label:label$1,systemSettings:systemSettings$1};var contrastMore="Maggiore";var contrastDefault="Predefinito";var label="Contrasto";var systemSettings="Sistema operativo";var localeIt={contrastMore:contrastMore,contrastDefault:contrastDefault,label:label,systemSettings:systemSettings};var mdsPrefContrastCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-tab,mds-tab-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*200)}.item{--mds-tab-item-default-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));flex-basis:0;flex-grow:1}.item--default,.item--more,.item--system{--mds-tab-item-selected-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}:host([pref-contrast=more]) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}"};var MdsPrefContrast=/** @class */function(){function t(e){var s=this.constructor;var a=this;if(s===t)registerInstance(this,e);this.prefChangeEvent=createEvent(this,"mdsPrefChange",7);this.localStorageAlias="mdsPrefContrast";this.customPropertyAlias="--magma-pref-contrast";this.defaultMode="system";this.syncingFromStore=false;this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.contrast={more:{selector:"pref-contrast-more",label:"contrastMore"},system:{selector:"pref-contrast-system",label:"systemSettings"},"no-preference":{selector:"pref-contrast-no-preference",label:"contrastDefault"}};this.isMode=function(t){return t!=null&&{}.hasOwnProperty.call(a.contrast,t)};this.warnInvalidMode=function(t){console.warn('mds-pref-contrast: ignoring the invalid mode "'.concat(t,'", use one of: ').concat(Object.keys(a.contrast).join(", ")))};
|
|
2
2
|
/**
|
|
3
3
|
* Follows a contrast applied elsewhere (another instance, or a writer of the
|
|
4
4
|
* `<html>` classes) without applying it again: no event, no storage write.
|
|
5
|
-
*/this.syncContrast=function(t){if(t===undefined||t===
|
|
5
|
+
*/this.syncContrast=function(t){if(t===undefined||t===a.mode){return}a.syncingFromStore=true;a.mode=t;a.appliedMode=t;a.syncingFromStore=false};
|
|
6
6
|
/**
|
|
7
7
|
* Applies a contrast once per change, and announces it once applied: the `mode` watcher
|
|
8
8
|
* calls this again for the value it has just been given, which used to emit a second
|
|
9
9
|
* mdsPrefChange, and the first application, the one of load, is no change to announce.
|
|
10
|
-
*/this.setContrast=function(t){if(t===
|
|
10
|
+
*/this.setContrast=function(t){if(t===a.appliedMode){a.mode=t;return}var e=a.appliedMode===undefined;a.appliedMode=t;a.mode=t;localStorage.setItem(a.localStorageAlias,a.mode);if(typeof document!=="undefined"){var s=document.querySelector("html");for(var r in a.contrast){if({}.hasOwnProperty.call(a.contrast,r)){s===null||s===void 0?void 0:s.classList.remove(a.contrast[r].selector)}}s===null||s===void 0?void 0:s.classList.add(a.contrast[t].selector);s===null||s===void 0?void 0:s.style.setProperty(a.customPropertyAlias,a.mode)}preferenceStore.state.contrast=t;if(!e){a.prefChangeEvent.emit({preference:"contrast"})}};this.handleModeClick=function(t){return function(){a.setContrast(t)}}}
|
|
11
11
|
// Applied once, on load, then mirrored from the shared store (see mds-pref-mode). A mode
|
|
12
12
|
// outside the union is ignored, and one an earlier page left in the storage is dropped: it was
|
|
13
13
|
// applied, threw, and broke every following load too (#825)
|
|
14
14
|
t.prototype.componentWillLoad=function(){var t;if(this.mode!=null&&!this.isMode(this.mode))this.warnInvalidMode(this.mode);var e=localStorage.getItem(this.localStorageAlias);if(e!==null&&!this.isMode(e))localStorage.removeItem(this.localStorageAlias);this.setContrast((t=[this.mode,e].find(this.isMode))!==null&&t!==void 0?t:this.defaultMode)};t.prototype.connectedCallback=function(){this.unsubscribeStore=preferenceStore.onChange("contrast",this.syncContrast)};t.prototype.disconnectedCallback=function(){var t;(t=this.unsubscribeStore)===null||t===void 0?void 0:t.call(this)};t.prototype.modeChanged=function(t,e){if(t===e||this.syncingFromStore){return}
|
|
15
15
|
// a mode outside the union, or the attribute removed, is not applied: the instance goes back
|
|
16
16
|
// to the contrast of the page
|
|
17
|
-
if(!this.isMode(t)){if(t!=null)this.warnInvalidMode(t);this.syncContrast(preferenceStore.state.contrast);return}this.setContrast(t)};t.prototype.render=function(){var t;return h(Host,{key:"
|
|
17
|
+
if(!this.isMode(t)){if(t!=null)this.warnInvalidMode(t);this.syncContrast(preferenceStore.state.contrast);return}this.setContrast(t)};t.prototype.render=function(){var t;return h(Host,{key:"038e87f8273103dfed0df19453f460c009eb6b29","pref-contrast":preferenceStore.state.contrast},h("mds-text",{key:"799e8625bf96bcda369d029f35b487d80376cb8e",class:"info",typography:"caption"},h("b",{key:"2cb88c506782e895c7d5d816e71bafe2746a66a0"},this.t.get("label"))," ",this.t.get(this.contrast[(t=this.mode)!==null&&t!==void 0?t:this.defaultMode].label)),h("mds-tab",{key:"b9ed60cd66769407e8b8b338151e042daa6938fa",fill:true,size:this.size},h("mds-tab-item",{key:"9f560e0afab9d584e5fa4af23e1e6ca85f5167fe",selected:this.mode==="more",onClick:this.handleModeClick("more"),class:"item item--more",icon:miBaselineContrast,title:this.t.get(this.contrast.more.label)}),h("mds-tab-item",{key:"7acf038648771a4b7c410aa09248d9b4a22eb862",selected:this.mode==="system",onClick:this.handleModeClick("system"),class:"item item--system",icon:miBaselineSettings,title:this.t.get(this.contrast.system.label)}),h("mds-tab-item",{key:"697ff164179280f75100318f8786c5874cbeb050",selected:this.mode==="no-preference",onClick:this.handleModeClick("no-preference"),class:"item item--default",icon:this.mode==="no-preference"?miBaselineAutoAwesome:miOutlineAutoAwesome,title:this.t.get(this.contrast["no-preference"].label)})))};Object.defineProperty(t,"watchers",{get:function(){return{mode:[{modeChanged:0}]}},enumerable:false,configurable:true});return t}();MdsPrefContrast.style=mdsPrefContrastCss();export{MdsPrefContrast as mds_pref_contrast};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as registerInstance,d as createEvent,h,e as Host}from"./index-
|
|
1
|
+
import{r as registerInstance,d as createEvent,h,e as Host}from"./index-CPibDZjX.js";import{L as Locale}from"./locale-B7Hw4niB.js";import{m as miBaselineCheckCircle}from"./check-circle-BFhO-KUe.js";import{m as miOutlineCircle}from"./circle-lZldSMeV.js";import"./preference-CBMLGSf7.js";var af="Afrikaans";var ar="العربية";var az="Azərbaycanca";var be="Беларуская";var bg="Български";var bn="বাংলা";var bs="Bosanski";var ca="Català";var ceb="Cebuano";var cs="Čeština";var cy="Cymraeg";var da="Dansk";var de="Deutsch";var el="Ελληνικά";var en="English";var eo="Esperanto";var es="Español";var et="Eesti";var eu="Euskara";var fa="فارسی";var fi="Suomi";var fr="Français";var fy="Frysk";var ga="Gaeilge";var gd="Gàidhlig";var gl="Galego";var gu="ગુજરાતી";var ha="Hausa";var haw="ʻŌlelo Hawaiʻi";var he="עברית";var hi="हिन्दी";var hmn="Hmoob";var hr="Hrvatski";var ht="Kreyòl ayisyen";var hu="Magyar";var hy="Հայերեն";var id="Bahasa Indonesia";var ig="Igbo";var is="Íslenska";var it="Italiano";var ja="日本語";var jv="Basa Jawa";var ka="ქართული";var kk="Қазақ тілі";var km="ភាសាខ្មែរ";var kn="ಕನ್ನಡ";var ko="한국어";var ku="Kurdî";var ky="Кыргызча";var la="Latina";var lb="Lëtzebuergesch";var lo="ພາສາລາວ";var lt="Lietuvių";var lv="Latviešu";var mg="Malagasy";var mi="Māori";var mk="Македонски";var ml="മലയാളം";var mn="Монгол";var mr="मराठी";var ms="Bahasa Melayu";var mt="Malti";var my="မြန်မာ";var ne="नेपाली";var nl="Nederlands";var no="Norsk";var ny="Chinyanja";var or="ଓଡ଼ିଆ";var pa="ਪੰਜਾਬੀ";var pl="Polski";var ps="پښتو";var pt="Português";var ro="Română";var ru="Русский";var sd="سنڌي";var si="සිංහල";var sk="Slovenčina";var sl="Slovenščina";var sm="Gagana Sāmoa";var sn="ChiShona";var so="Soomaali";var sq="Shqip";var sr="Српски";var st="Sesotho";var su="Basa Sunda";var sv="Svenska";var sw="Kiswahili";var ta="தமிழ்";var te="తెలుగు";var tg="Тоҷикӣ";var th="ไทย";var tr="Türkçe";var tt="Tatarça";var uk="Українська";var ur="اردو";var uz="Oʻzbek";var vi="Tiếng Việt";var xh="isiXhosa";var yi="ייִדיש";var yo="Yorùbá";var zh="中文";var zu="isiZulu";var localeDefault={af:af,ar:ar,az:az,be:be,bg:bg,bn:bn,bs:bs,ca:ca,ceb:ceb,cs:cs,cy:cy,da:da,de:de,el:el,en:en,eo:eo,es:es,et:et,eu:eu,fa:fa,fi:fi,fr:fr,fy:fy,ga:ga,gd:gd,gl:gl,gu:gu,ha:ha,haw:haw,he:he,hi:hi,hmn:hmn,hr:hr,ht:ht,hu:hu,hy:hy,id:id,ig:ig,is:is,it:it,ja:ja,jv:jv,ka:ka,kk:kk,km:km,kn:kn,ko:ko,ku:ku,ky:ky,la:la,lb:lb,lo:lo,lt:lt,lv:lv,mg:mg,mi:mi,mk:mk,ml:ml,mn:mn,mr:mr,ms:ms,mt:mt,my:my,ne:ne,nl:nl,no:no,ny:ny,or:or,pa:pa,pl:pl,ps:ps,pt:pt,ro:ro,ru:ru,sd:sd,si:si,sk:sk,sl:sl,sm:sm,sn:sn,so:so,sq:sq,sr:sr,st:st,su:su,sv:sv,sw:sw,ta:ta,te:te,tg:tg,th:th,tr:tr,tt:tt,uk:uk,ur:ur,uz:uz,vi:vi,xh:xh,yi:yi,yo:yo,zh:zh,zu:zu};var noCode$1="Nessun code impostato";var localeIt={noCode:noCode$1};var noCode="No code set";var localeEn={noCode:noCode};var mdsPrefLanguageItemCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:block}"};var MdsPrefLanguageItem=/** @class */function(){function a(r){var e=this.constructor;var s=this;if(e===a)registerInstance(this,r);this.selectLanguageEvent=createEvent(this,"mdsPrefLanguageItemSelect",7);this.t=new Locale({en:localeEn,it:localeIt});
|
|
2
2
|
/**
|
|
3
3
|
* Specifies if the element is selected
|
|
4
4
|
*/this.selected=false;
|
|
@@ -7,7 +7,7 @@ import{r as registerInstance,d as createEvent,h,e as Host}from"./index-CvLLN-QH.
|
|
|
7
7
|
// render pass and the watcher re-validates once it lands. Only a non-empty,
|
|
8
8
|
// unrecognized code is a mistake, and the item shows the code itself in place of the name
|
|
9
9
|
// it has not got; empty codes fall back to the `noCode` branch already handled in render().
|
|
10
|
-
this.validateCode=function(a){if(a!=null&&a!==""&&localeDefault[a]===undefined){console.warn('mds-pref-language-item: no language name for the code "'.concat(a,'"'))}};this.handleClick=function(){
|
|
10
|
+
this.validateCode=function(a){if(a!=null&&a!==""&&localeDefault[a]===undefined){console.warn('mds-pref-language-item: no language name for the code "'.concat(a,'"'))}};this.handleClick=function(){s.selectLanguageEvent.emit({language:s.code})}}a.prototype.componentWillLoad=function(){this.validateCode(this.code)};a.prototype.handleCodeChange=function(a){this.validateCode(a)};a.prototype.render=function(){var a,r;
|
|
11
11
|
// the item is an entry of the `menu` the mds-dropdown of the controller opens:
|
|
12
12
|
// without the role axe rejects it as a child of that menu (aria-required-children)
|
|
13
|
-
return h(Host,{key:"
|
|
13
|
+
return h(Host,{key:"0f720c47a8e5debc98353c38c704961345db6c9a",onClick:this.handleClick,role:"menuitem"},((a=this.code)!==null&&a!==void 0?a:"")!==""?h("mds-button",{icon:this.selected?miBaselineCheckCircle:miOutlineCircle,variant:"dark",tone:"text",label:(r=localeDefault[this.code])!==null&&r!==void 0?r:this.code}):h("mds-button",{icon:miBaselineCheckCircle,variant:"error",tone:"text",label:this.t.get("noCode")}))};Object.defineProperty(a,"watchers",{get:function(){return{code:[{handleCodeChange:0}]}},enumerable:false,configurable:true});return a}();MdsPrefLanguageItem.style=mdsPrefLanguageItemCss();export{MdsPrefLanguageItem as mds_pref_language_item};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{L as Locale}from"./locale-DhP1Ge2o.js";import{p as preferenceStore}from"./preference-C8foBO86.js";import{m as miBaselineKeyboardArrowDown}from"./keyboard-arrow-down-DiWN48aq.js";import{m as miBaselineKeyboardArrowUp}from"./keyboard-arrow-up-Ccz0jCNB.js";var auto$3="Αυτόματο";var label$3="Γλώσσα";var af$3="Αφρικάανς";var ar$3="Αραβικά";var az$3="Αζερμπαϊτζανικά";var be$3="Λευκορωσικά";var bg$3="Βουλγαρικά";var bn$3="Μπενγκάλι";var bs$3="Βοσνιακά";var ca$3="Καταλανικά";var ceb$3="Σεμπουάνο";var cs$3="Τσεχικά";var cy$3="Ουαλικά";var da$3="Δανικά";var de$3="Γερμανικά";var el$3="Ελληνικά";var en$3="Αγγλικά";var eo$3="Εσπεράντο";var es$3="Ισπανικά";var et$3="Εσθονικά";var eu$3="Βασκικά";var fa$3="Περσικά";var fi$3="Φινλανδικά";var fr$3="Γαλλικά";var fy$3="Φριζικά";var ga$3="Ιρλανδικά";var gd$3="Σκωτικά Κέλτικα";var gl$3="Γαλικιανά";var gu$3="Γκουτζαράτι";var ha$3="Χάουσα";var haw$3="Χαβαϊκά";var he$3="Εβραϊκά";var hi$3="Χίντι";var hmn$3="Χμονγκ";var hr$3="Κροατικά";var ht$3="Κρεολικά Αϊτής";var hu$3="Ουγγρικά";var hy$3="Αρμενικά";var id$3="Ινδονησιακά";var ig$3="Ίγκμπο";var is$3="Ισλανδικά";var it$3="Ιταλικά";var ja$3="Ιαπωνικά";var jv$3="Ιαβανικά";var ka$3="Γεωργιανά";var kk$3="Καζακικά";var km$3="Χμερ";var kn$3="Κανάντα";var ko$3="Κορεατικά";var ku$3="Κουρδικά";var ky$3="Κιργιζικά";var la$3="Λατινικά";var lb$3="Λουξεμβουργιανά";var lo$3="Λάο";var lt$3="Λιθουανικά";var lv$3="Λετονικά";var mg$3="Μαλαγάσι";var mi$3="Μαορί";var mk$3="Μακεδονικά";var ml$3="Μαλαγιαλαμικά";var mn$3="Μογγολικά";var mr$3="Μαράθι";var ms$3="Μαλαϊκά";var mt$3="Μαλτέζικα";var my$3="Βιρμανικά";var ne$3="Νεπαλικά";var nl$3="Ολλανδικά";var no$3="Νορβηγικά";var ny$3="Τσιτσέουα";var or$3="Ορίγια";var pa$3="Παντζαπικά";var pl$3="Πολωνικά";var ps$3="Πάστο";var pt$3="Πορτογαλικά";var ro$3="Ρουμανικά";var ru$3="Ρωσικά";var sd$3="Σιντ";var si$3="Σινχαλέζικα";var sk$3="Σλοβακικά";var sl$3="Σλοβενικά";var sm$3="Σαμοανά";var sn$3="Σόνα";var so$3="Σομαλικά";var sq$3="Αλβανικά";var sr$3="Σερβικά";var st$3="Σόθο";var su$3="Σουνδανικά";var sv$3="Σουηδικά";var sw$3="Σουαχίλι";var ta$3="Ταμίλ";var te$3="Τελούγκου";var tg$3="Τατζικικά";var th$3="Ταϊλανδικά";var tr$3="Τουρκικά";var tt$3="Ταταρικά";var uk$3="Ουκρανικά";var ur$3="Ουρντού";var uz$3="Ουζμπεκικά";var vi$3="Βιετναμέζικα";var xh$3="Ξόσα";var yi$3="Γίντις";var yo$3="Γιορούμπα";var zh$3="Κινέζικα";var zu$3="Ζουλού";var defaultLanguage$3="Εάν η μετάφραση δεν είναι διαθέσιμη, θα χρησιμοποιηθούν τα Αγγλικά";var localeEl={auto:auto$3,label:label$3,af:af$3,ar:ar$3,az:az$3,be:be$3,bg:bg$3,bn:bn$3,bs:bs$3,ca:ca$3,ceb:ceb$3,cs:cs$3,cy:cy$3,da:da$3,de:de$3,el:el$3,en:en$3,eo:eo$3,es:es$3,et:et$3,eu:eu$3,fa:fa$3,fi:fi$3,fr:fr$3,fy:fy$3,ga:ga$3,gd:gd$3,gl:gl$3,gu:gu$3,ha:ha$3,haw:haw$3,he:he$3,hi:hi$3,hmn:hmn$3,hr:hr$3,ht:ht$3,hu:hu$3,hy:hy$3,id:id$3,ig:ig$3,is:is$3,it:it$3,ja:ja$3,jv:jv$3,ka:ka$3,kk:kk$3,km:km$3,kn:kn$3,ko:ko$3,ku:ku$3,ky:ky$3,la:la$3,lb:lb$3,lo:lo$3,lt:lt$3,lv:lv$3,mg:mg$3,mi:mi$3,mk:mk$3,ml:ml$3,mn:mn$3,mr:mr$3,ms:ms$3,mt:mt$3,my:my$3,ne:ne$3,nl:nl$3,no:no$3,ny:ny$3,or:or$3,pa:pa$3,pl:pl$3,ps:ps$3,pt:pt$3,ro:ro$3,ru:ru$3,sd:sd$3,si:si$3,sk:sk$3,sl:sl$3,sm:sm$3,sn:sn$3,so:so$3,sq:sq$3,sr:sr$3,st:st$3,su:su$3,sv:sv$3,sw:sw$3,ta:ta$3,te:te$3,tg:tg$3,th:th$3,tr:tr$3,tt:tt$3,uk:uk$3,ur:ur$3,uz:uz$3,vi:vi$3,xh:xh$3,yi:yi$3,yo:yo$3,zh:zh$3,zu:zu$3,defaultLanguage:defaultLanguage$3};var auto$2="Automatic";var label$2="Language";var af$2="Afrikaans";var ar$2="Arabic";var az$2="Azerbaijani";var be$2="Belarusian";var bg$2="Bulgarian";var bn$2="Bengali";var bs$2="Bosnian";var ca$2="Catalan";var ceb$2="Cebuano";var cs$2="Czech";var cy$2="Welsh";var da$2="Danish";var de$2="German";var el$2="Greek";var en$2="English";var eo$2="Esperanto";var es$2="Spanish";var et$2="Estonian";var eu$2="Basque";var fa$2="Persian";var fi$2="Finnish";var fr$2="French";var fy$2="Frisian";var ga$2="Irish";var gd$2="Scottish Gaelic";var gl$2="Galician";var gu$2="Gujarati";var ha$2="Hausa";var haw$2="Hawaiian";var he$2="Hebrew";var hi$2="Hindi";var hmn$2="Hmong";var hr$2="Croatian";var ht$2="Haitian Creole";var hu$2="Hungarian";var hy$2="Armenian";var id$2="Indonesian";var ig$2="Igbo";var is$2="Icelandic";var it$2="Italian";var ja$2="Japanese";var jv$2="Javanese";var ka$2="Georgian";var kk$2="Kazakh";var km$2="Khmer";var kn$2="Kannada";var ko$2="Korean";var ku$2="Kurdish";var ky$2="Kyrgyz";var la$2="Latin";var lb$2="Luxembourgish";var lo$2="Lao";var lt$2="Lithuanian";var lv$2="Latvian";var mg$2="Malagasy";var mi$2="Maori";var mk$2="Macedonian";var ml$2="Malayalam";var mn$2="Mongolian";var mr$2="Marathi";var ms$2="Malay";var mt$2="Maltese";var my$2="Burmese";var ne$2="Nepali";var nl$2="Dutch";var no$2="Norwegian";var ny$2="Chichewa";var or$2="Odia";var pa$2="Punjabi";var pl$2="Polish";var ps$2="Pashto";var pt$2="Portuguese";var ro$2="Romanian";var ru$2="Russian";var sd$2="Sindhi";var si$2="Sinhala";var sk$2="Slovak";var sl$2="Slovenian";var sm$2="Samoan";var sn$2="Shona";var so$2="Somali";var sq$2="Albanian";var sr$2="Serbian";var st$2="Sesotho";var su$2="Sundanese";var sv$2="Swedish";var sw$2="Swahili";var ta$2="Tamil";var te$2="Telugu";var tg$2="Tajik";var th$2="Thai";var tr$2="Turkish";var tt$2="Tatar";var uk$2="Ukrainian";var ur$2="Urdu";var uz$2="Uzbek";var vi$2="Vietnamese";var xh$2="Xhosa";var yi$2="Yiddish";var yo$2="Yoruba";var zh$2="Chinese";var zu$2="Zulu";var defaultLanguage$2="If the translation is not available, English will be used";var localeEn={auto:auto$2,label:label$2,af:af$2,ar:ar$2,az:az$2,be:be$2,bg:bg$2,bn:bn$2,bs:bs$2,ca:ca$2,ceb:ceb$2,cs:cs$2,cy:cy$2,da:da$2,de:de$2,el:el$2,en:en$2,eo:eo$2,es:es$2,et:et$2,eu:eu$2,fa:fa$2,fi:fi$2,fr:fr$2,fy:fy$2,ga:ga$2,gd:gd$2,gl:gl$2,gu:gu$2,ha:ha$2,haw:haw$2,he:he$2,hi:hi$2,hmn:hmn$2,hr:hr$2,ht:ht$2,hu:hu$2,hy:hy$2,id:id$2,ig:ig$2,is:is$2,it:it$2,ja:ja$2,jv:jv$2,ka:ka$2,kk:kk$2,km:km$2,kn:kn$2,ko:ko$2,ku:ku$2,ky:ky$2,la:la$2,lb:lb$2,lo:lo$2,lt:lt$2,lv:lv$2,mg:mg$2,mi:mi$2,mk:mk$2,ml:ml$2,mn:mn$2,mr:mr$2,ms:ms$2,mt:mt$2,my:my$2,ne:ne$2,nl:nl$2,no:no$2,ny:ny$2,or:or$2,pa:pa$2,pl:pl$2,ps:ps$2,pt:pt$2,ro:ro$2,ru:ru$2,sd:sd$2,si:si$2,sk:sk$2,sl:sl$2,sm:sm$2,sn:sn$2,so:so$2,sq:sq$2,sr:sr$2,st:st$2,su:su$2,sv:sv$2,sw:sw$2,ta:ta$2,te:te$2,tg:tg$2,th:th$2,tr:tr$2,tt:tt$2,uk:uk$2,ur:ur$2,uz:uz$2,vi:vi$2,xh:xh$2,yi:yi$2,yo:yo$2,zh:zh$2,zu:zu$2,defaultLanguage:defaultLanguage$2};var auto$1="Automático";var label$1="Idioma";var af$1="Afrikáans";var ar$1="Árabe";var az$1="Azerbaiyano";var be$1="Bielorruso";var bg$1="Búlgaro";var bn$1="Bengalí";var bs$1="Bosnio";var ca$1="Catalán";var ceb$1="Cebuano";var cs$1="Checo";var cy$1="Galés";var da$1="Danés";var de$1="Alemán";var el$1="Griego";var en$1="Inglés";var eo$1="Esperanto";var es$1="Español";var et$1="Estonio";var eu$1="Vasco";var fa$1="Persa";var fi$1="Finlandés";var fr$1="Francés";var fy$1="Frisón";var ga$1="Irlandés";var gd$1="Gaélico escocés";var gl$1="Gallego";var gu$1="Gujarati";var ha$1="Hausa";var haw$1="Hawaiano";var he$1="Hebreo";var hi$1="Hindi";var hmn$1="Hmong";var hr$1="Croata";var ht$1="Criollo haitiano";var hu$1="Húngaro";var hy$1="Armenio";var id$1="Indonesio";var ig$1="Igbo";var is$1="Islandés";var it$1="Italiano";var ja$1="Japonés";var jv$1="Javanés";var ka$1="Georgiano";var kk$1="Kazajo";var km$1="Jemer";var kn$1="Canarés";var ko$1="Coreano";var ku$1="Kurdo";var ky$1="Kirguís";var la$1="Latín";var lb$1="Luxemburgués";var lo$1="Lao";var lt$1="Lituano";var lv$1="Letón";var mg$1="Malgache";var mi$1="Maorí";var mk$1="Macedonio";var ml$1="Malayalam";var mn$1="Mongol";var mr$1="Maratí";var ms$1="Malayo";var mt$1="Maltés";var my$1="Birmano";var ne$1="Nepalí";var nl$1="Holandés";var no$1="Noruego";var ny$1="Chichewa";var or$1="Oriya";var pa$1="Panyabí";var pl$1="Polaco";var ps$1="Pastún";var pt$1="Portugués";var ro$1="Rumano";var ru$1="Ruso";var sd$1="Sindhi";var si$1="Cingalés";var sk$1="Eslovaco";var sl$1="Esloveno";var sm$1="Samoano";var sn$1="Shona";var so$1="Somalí";var sq$1="Albanés";var sr$1="Serbio";var st$1="Sesotho";var su$1="Sundanés";var sv$1="Sueco";var sw$1="Suajili";var ta$1="Tamil";var te$1="Telugu";var tg$1="Tayiko";var th$1="Tailandés";var tr$1="Turco";var tt$1="Tártaro";var uk$1="Ucraniano";var ur$1="Urdu";var uz$1="Uzbeko";var vi$1="Vietnamita";var xh$1="Xhosa";var yi$1="Yidis";var yo$1="Yoruba";var zh$1="Chino";var zu$1="Zulú";var defaultLanguage$1="Si la traducción no está disponible, se utilizará el inglés";var localeEs={auto:auto$1,label:label$1,af:af$1,ar:ar$1,az:az$1,be:be$1,bg:bg$1,bn:bn$1,bs:bs$1,ca:ca$1,ceb:ceb$1,cs:cs$1,cy:cy$1,da:da$1,de:de$1,el:el$1,en:en$1,eo:eo$1,es:es$1,et:et$1,eu:eu$1,fa:fa$1,fi:fi$1,fr:fr$1,fy:fy$1,ga:ga$1,gd:gd$1,gl:gl$1,gu:gu$1,ha:ha$1,haw:haw$1,he:he$1,hi:hi$1,hmn:hmn$1,hr:hr$1,ht:ht$1,hu:hu$1,hy:hy$1,id:id$1,ig:ig$1,is:is$1,it:it$1,ja:ja$1,jv:jv$1,ka:ka$1,kk:kk$1,km:km$1,kn:kn$1,ko:ko$1,ku:ku$1,ky:ky$1,la:la$1,lb:lb$1,lo:lo$1,lt:lt$1,lv:lv$1,mg:mg$1,mi:mi$1,mk:mk$1,ml:ml$1,mn:mn$1,mr:mr$1,ms:ms$1,mt:mt$1,my:my$1,ne:ne$1,nl:nl$1,no:no$1,ny:ny$1,or:or$1,pa:pa$1,pl:pl$1,ps:ps$1,pt:pt$1,ro:ro$1,ru:ru$1,sd:sd$1,si:si$1,sk:sk$1,sl:sl$1,sm:sm$1,sn:sn$1,so:so$1,sq:sq$1,sr:sr$1,st:st$1,su:su$1,sv:sv$1,sw:sw$1,ta:ta$1,te:te$1,tg:tg$1,th:th$1,tr:tr$1,tt:tt$1,uk:uk$1,ur:ur$1,uz:uz$1,vi:vi$1,xh:xh$1,yi:yi$1,yo:yo$1,zh:zh$1,zu:zu$1,defaultLanguage:defaultLanguage$1};var auto="Automatico";var label="Lingua";var af="Afrikaans";var ar="Arabo";var az="Azero";var be="Bielorusso";var bg="Bulgaro";var bn="Bengalese";var bs="Bosniaco";var ca="Catalano";var ceb="Cebuano";var cs="Ceco";var cy="Gallese";var da="Danese";var de="Tedesco";var el="Greco";var en="Inglese";var eo="Esperanto";var es="Spagnolo";var et="Estone";var eu="Basco";var fa="Persiano";var fi="Finlandese";var fr="Francese";var fy="Frisone";var ga="Irlandese";var gd="Gaelico scozzese";var gl="Galiziano";var gu="Gujarati";var ha="Hausa";var haw="Hawaiano";var he="Ebraico";var hi="Hindi";var hmn="Hmong";var hr="Croato";var ht="Creolo haitiano";var hu="Ungherese";var hy="Armeno";var id="Indonesiano";var ig="Igbo";var is="Islandese";var it="Italiano";var ja="Giapponese";var jv="Giavanese";var ka="Georgiano";var kk="Kazako";var km="Khmer";var kn="Kannada";var ko="Coreano";var ku="Curdo";var ky="Kirghiso";var la="Latino";var lb="Lussemburghese";var lo="Lao";var lt="Lituano";var lv="Lettone";var mg="Malgascio";var mi="Maori";var mk="Macedone";var ml="Malayalam";var mn="Mongolo";var mr="Marathi";var ms="Malese";var mt="Maltese";var my="Birmano";var ne="Nepalese";var nl="Olandese";var no="Norvegese";var ny="Chichewa";var or="Oriya";var pa="Punjabi";var pl="Polacco";var ps="Pashtu";var pt="Portoghese";var ro="Rumeno";var ru="Russo";var sd="Sindhi";var si="Singalese";var sk="Slovacco";var sl="Sloveno";var sm="Samoano";var sn="Shona";var so="Somalo";var sq="Albanese";var sr="Serbo";var st="Sesotho";var su="Sundanese";var sv="Svedese";var sw="Swahili";var ta="Tamil";var te="Telugu";var tg="Tagico";var th="Thai";var tr="Turco";var tt="Tataro";var uk="Ucraino";var ur="Urdu";var uz="Uzbeko";var vi="Vietnamita";var xh="Xhosa";var yi="Yiddish";var yo="Yoruba";var zh="Cinese";var zu="Zulu";var defaultLanguage="Se la traduzione non è disponibile, verrà utilizzato l'Inglese";var localeIt={auto:auto,label:label,af:af,ar:ar,az:az,be:be,bg:bg,bn:bn,bs:bs,ca:ca,ceb:ceb,cs:cs,cy:cy,da:da,de:de,el:el,en:en,eo:eo,es:es,et:et,eu:eu,fa:fa,fi:fi,fr:fr,fy:fy,ga:ga,gd:gd,gl:gl,gu:gu,ha:ha,haw:haw,he:he,hi:hi,hmn:hmn,hr:hr,ht:ht,hu:hu,hy:hy,id:id,ig:ig,is:is,it:it,ja:ja,jv:jv,ka:ka,kk:kk,km:km,kn:kn,ko:ko,ku:ku,ky:ky,la:la,lb:lb,lo:lo,lt:lt,lv:lv,mg:mg,mi:mi,mk:mk,ml:ml,mn:mn,mr:mr,ms:ms,mt:mt,my:my,ne:ne,nl:nl,no:no,ny:ny,or:or,pa:pa,pl:pl,ps:ps,pt:pt,ro:ro,ru:ru,sd:sd,si:si,sk:sk,sl:sl,sm:sm,sn:sn,so:so,sq:sq,sr:sr,st:st,su:su,sv:sv,sw:sw,ta:ta,te:te,tg:tg,th:th,tr:tr,tt:tt,uk:uk,ur:ur,uz:uz,vi:vi,xh:xh,yi:yi,yo:yo,zh:zh,zu:zu,defaultLanguage:defaultLanguage};var mdsPrefLanguageCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-dropdown,mds-tab,mds-tab-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*400)}.menu{display:grid;gap:calc(var(--spacing,.0025rem)*200)}.mds-pref-language-dropdown{gap:calc(var(--spacing,.0025rem)*100);padding:calc(var(--spacing,.0025rem)*400)}.item{--mds-tab-item-default-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));flex-basis:0;flex-grow:1}.item--custom-language{cursor:pointer}.item--auto,.item--custom-language{--mds-tab-item-selected-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}"};
|
|
1
|
+
import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CPibDZjX.js";import{L as Locale}from"./locale-B7Hw4niB.js";import{p as preferenceStore}from"./preference-CBMLGSf7.js";import{m as miBaselineKeyboardArrowDown}from"./keyboard-arrow-down-DiWN48aq.js";import{m as miBaselineKeyboardArrowUp}from"./keyboard-arrow-up-Ccz0jCNB.js";var auto$3="Αυτόματο";var label$3="Γλώσσα";var af$3="Αφρικάανς";var ar$3="Αραβικά";var az$3="Αζερμπαϊτζανικά";var be$3="Λευκορωσικά";var bg$3="Βουλγαρικά";var bn$3="Μπενγκάλι";var bs$3="Βοσνιακά";var ca$3="Καταλανικά";var ceb$3="Σεμπουάνο";var cs$3="Τσεχικά";var cy$3="Ουαλικά";var da$3="Δανικά";var de$3="Γερμανικά";var el$3="Ελληνικά";var en$3="Αγγλικά";var eo$3="Εσπεράντο";var es$3="Ισπανικά";var et$3="Εσθονικά";var eu$3="Βασκικά";var fa$3="Περσικά";var fi$3="Φινλανδικά";var fr$3="Γαλλικά";var fy$3="Φριζικά";var ga$3="Ιρλανδικά";var gd$3="Σκωτικά Κέλτικα";var gl$3="Γαλικιανά";var gu$3="Γκουτζαράτι";var ha$3="Χάουσα";var haw$3="Χαβαϊκά";var he$3="Εβραϊκά";var hi$3="Χίντι";var hmn$3="Χμονγκ";var hr$3="Κροατικά";var ht$3="Κρεολικά Αϊτής";var hu$3="Ουγγρικά";var hy$3="Αρμενικά";var id$3="Ινδονησιακά";var ig$3="Ίγκμπο";var is$3="Ισλανδικά";var it$3="Ιταλικά";var ja$3="Ιαπωνικά";var jv$3="Ιαβανικά";var ka$3="Γεωργιανά";var kk$3="Καζακικά";var km$3="Χμερ";var kn$3="Κανάντα";var ko$3="Κορεατικά";var ku$3="Κουρδικά";var ky$3="Κιργιζικά";var la$3="Λατινικά";var lb$3="Λουξεμβουργιανά";var lo$3="Λάο";var lt$3="Λιθουανικά";var lv$3="Λετονικά";var mg$3="Μαλαγάσι";var mi$3="Μαορί";var mk$3="Μακεδονικά";var ml$3="Μαλαγιαλαμικά";var mn$3="Μογγολικά";var mr$3="Μαράθι";var ms$3="Μαλαϊκά";var mt$3="Μαλτέζικα";var my$3="Βιρμανικά";var ne$3="Νεπαλικά";var nl$3="Ολλανδικά";var no$3="Νορβηγικά";var ny$3="Τσιτσέουα";var or$3="Ορίγια";var pa$3="Παντζαπικά";var pl$3="Πολωνικά";var ps$3="Πάστο";var pt$3="Πορτογαλικά";var ro$3="Ρουμανικά";var ru$3="Ρωσικά";var sd$3="Σιντ";var si$3="Σινχαλέζικα";var sk$3="Σλοβακικά";var sl$3="Σλοβενικά";var sm$3="Σαμοανά";var sn$3="Σόνα";var so$3="Σομαλικά";var sq$3="Αλβανικά";var sr$3="Σερβικά";var st$3="Σόθο";var su$3="Σουνδανικά";var sv$3="Σουηδικά";var sw$3="Σουαχίλι";var ta$3="Ταμίλ";var te$3="Τελούγκου";var tg$3="Τατζικικά";var th$3="Ταϊλανδικά";var tr$3="Τουρκικά";var tt$3="Ταταρικά";var uk$3="Ουκρανικά";var ur$3="Ουρντού";var uz$3="Ουζμπεκικά";var vi$3="Βιετναμέζικα";var xh$3="Ξόσα";var yi$3="Γίντις";var yo$3="Γιορούμπα";var zh$3="Κινέζικα";var zu$3="Ζουλού";var defaultLanguage$3="Εάν η μετάφραση δεν είναι διαθέσιμη, θα χρησιμοποιηθούν τα Αγγλικά";var localeEl={auto:auto$3,label:label$3,af:af$3,ar:ar$3,az:az$3,be:be$3,bg:bg$3,bn:bn$3,bs:bs$3,ca:ca$3,ceb:ceb$3,cs:cs$3,cy:cy$3,da:da$3,de:de$3,el:el$3,en:en$3,eo:eo$3,es:es$3,et:et$3,eu:eu$3,fa:fa$3,fi:fi$3,fr:fr$3,fy:fy$3,ga:ga$3,gd:gd$3,gl:gl$3,gu:gu$3,ha:ha$3,haw:haw$3,he:he$3,hi:hi$3,hmn:hmn$3,hr:hr$3,ht:ht$3,hu:hu$3,hy:hy$3,id:id$3,ig:ig$3,is:is$3,it:it$3,ja:ja$3,jv:jv$3,ka:ka$3,kk:kk$3,km:km$3,kn:kn$3,ko:ko$3,ku:ku$3,ky:ky$3,la:la$3,lb:lb$3,lo:lo$3,lt:lt$3,lv:lv$3,mg:mg$3,mi:mi$3,mk:mk$3,ml:ml$3,mn:mn$3,mr:mr$3,ms:ms$3,mt:mt$3,my:my$3,ne:ne$3,nl:nl$3,no:no$3,ny:ny$3,or:or$3,pa:pa$3,pl:pl$3,ps:ps$3,pt:pt$3,ro:ro$3,ru:ru$3,sd:sd$3,si:si$3,sk:sk$3,sl:sl$3,sm:sm$3,sn:sn$3,so:so$3,sq:sq$3,sr:sr$3,st:st$3,su:su$3,sv:sv$3,sw:sw$3,ta:ta$3,te:te$3,tg:tg$3,th:th$3,tr:tr$3,tt:tt$3,uk:uk$3,ur:ur$3,uz:uz$3,vi:vi$3,xh:xh$3,yi:yi$3,yo:yo$3,zh:zh$3,zu:zu$3,defaultLanguage:defaultLanguage$3};var auto$2="Automatic";var label$2="Language";var af$2="Afrikaans";var ar$2="Arabic";var az$2="Azerbaijani";var be$2="Belarusian";var bg$2="Bulgarian";var bn$2="Bengali";var bs$2="Bosnian";var ca$2="Catalan";var ceb$2="Cebuano";var cs$2="Czech";var cy$2="Welsh";var da$2="Danish";var de$2="German";var el$2="Greek";var en$2="English";var eo$2="Esperanto";var es$2="Spanish";var et$2="Estonian";var eu$2="Basque";var fa$2="Persian";var fi$2="Finnish";var fr$2="French";var fy$2="Frisian";var ga$2="Irish";var gd$2="Scottish Gaelic";var gl$2="Galician";var gu$2="Gujarati";var ha$2="Hausa";var haw$2="Hawaiian";var he$2="Hebrew";var hi$2="Hindi";var hmn$2="Hmong";var hr$2="Croatian";var ht$2="Haitian Creole";var hu$2="Hungarian";var hy$2="Armenian";var id$2="Indonesian";var ig$2="Igbo";var is$2="Icelandic";var it$2="Italian";var ja$2="Japanese";var jv$2="Javanese";var ka$2="Georgian";var kk$2="Kazakh";var km$2="Khmer";var kn$2="Kannada";var ko$2="Korean";var ku$2="Kurdish";var ky$2="Kyrgyz";var la$2="Latin";var lb$2="Luxembourgish";var lo$2="Lao";var lt$2="Lithuanian";var lv$2="Latvian";var mg$2="Malagasy";var mi$2="Maori";var mk$2="Macedonian";var ml$2="Malayalam";var mn$2="Mongolian";var mr$2="Marathi";var ms$2="Malay";var mt$2="Maltese";var my$2="Burmese";var ne$2="Nepali";var nl$2="Dutch";var no$2="Norwegian";var ny$2="Chichewa";var or$2="Odia";var pa$2="Punjabi";var pl$2="Polish";var ps$2="Pashto";var pt$2="Portuguese";var ro$2="Romanian";var ru$2="Russian";var sd$2="Sindhi";var si$2="Sinhala";var sk$2="Slovak";var sl$2="Slovenian";var sm$2="Samoan";var sn$2="Shona";var so$2="Somali";var sq$2="Albanian";var sr$2="Serbian";var st$2="Sesotho";var su$2="Sundanese";var sv$2="Swedish";var sw$2="Swahili";var ta$2="Tamil";var te$2="Telugu";var tg$2="Tajik";var th$2="Thai";var tr$2="Turkish";var tt$2="Tatar";var uk$2="Ukrainian";var ur$2="Urdu";var uz$2="Uzbek";var vi$2="Vietnamese";var xh$2="Xhosa";var yi$2="Yiddish";var yo$2="Yoruba";var zh$2="Chinese";var zu$2="Zulu";var defaultLanguage$2="If the translation is not available, English will be used";var localeEn={auto:auto$2,label:label$2,af:af$2,ar:ar$2,az:az$2,be:be$2,bg:bg$2,bn:bn$2,bs:bs$2,ca:ca$2,ceb:ceb$2,cs:cs$2,cy:cy$2,da:da$2,de:de$2,el:el$2,en:en$2,eo:eo$2,es:es$2,et:et$2,eu:eu$2,fa:fa$2,fi:fi$2,fr:fr$2,fy:fy$2,ga:ga$2,gd:gd$2,gl:gl$2,gu:gu$2,ha:ha$2,haw:haw$2,he:he$2,hi:hi$2,hmn:hmn$2,hr:hr$2,ht:ht$2,hu:hu$2,hy:hy$2,id:id$2,ig:ig$2,is:is$2,it:it$2,ja:ja$2,jv:jv$2,ka:ka$2,kk:kk$2,km:km$2,kn:kn$2,ko:ko$2,ku:ku$2,ky:ky$2,la:la$2,lb:lb$2,lo:lo$2,lt:lt$2,lv:lv$2,mg:mg$2,mi:mi$2,mk:mk$2,ml:ml$2,mn:mn$2,mr:mr$2,ms:ms$2,mt:mt$2,my:my$2,ne:ne$2,nl:nl$2,no:no$2,ny:ny$2,or:or$2,pa:pa$2,pl:pl$2,ps:ps$2,pt:pt$2,ro:ro$2,ru:ru$2,sd:sd$2,si:si$2,sk:sk$2,sl:sl$2,sm:sm$2,sn:sn$2,so:so$2,sq:sq$2,sr:sr$2,st:st$2,su:su$2,sv:sv$2,sw:sw$2,ta:ta$2,te:te$2,tg:tg$2,th:th$2,tr:tr$2,tt:tt$2,uk:uk$2,ur:ur$2,uz:uz$2,vi:vi$2,xh:xh$2,yi:yi$2,yo:yo$2,zh:zh$2,zu:zu$2,defaultLanguage:defaultLanguage$2};var auto$1="Automático";var label$1="Idioma";var af$1="Afrikáans";var ar$1="Árabe";var az$1="Azerbaiyano";var be$1="Bielorruso";var bg$1="Búlgaro";var bn$1="Bengalí";var bs$1="Bosnio";var ca$1="Catalán";var ceb$1="Cebuano";var cs$1="Checo";var cy$1="Galés";var da$1="Danés";var de$1="Alemán";var el$1="Griego";var en$1="Inglés";var eo$1="Esperanto";var es$1="Español";var et$1="Estonio";var eu$1="Vasco";var fa$1="Persa";var fi$1="Finlandés";var fr$1="Francés";var fy$1="Frisón";var ga$1="Irlandés";var gd$1="Gaélico escocés";var gl$1="Gallego";var gu$1="Gujarati";var ha$1="Hausa";var haw$1="Hawaiano";var he$1="Hebreo";var hi$1="Hindi";var hmn$1="Hmong";var hr$1="Croata";var ht$1="Criollo haitiano";var hu$1="Húngaro";var hy$1="Armenio";var id$1="Indonesio";var ig$1="Igbo";var is$1="Islandés";var it$1="Italiano";var ja$1="Japonés";var jv$1="Javanés";var ka$1="Georgiano";var kk$1="Kazajo";var km$1="Jemer";var kn$1="Canarés";var ko$1="Coreano";var ku$1="Kurdo";var ky$1="Kirguís";var la$1="Latín";var lb$1="Luxemburgués";var lo$1="Lao";var lt$1="Lituano";var lv$1="Letón";var mg$1="Malgache";var mi$1="Maorí";var mk$1="Macedonio";var ml$1="Malayalam";var mn$1="Mongol";var mr$1="Maratí";var ms$1="Malayo";var mt$1="Maltés";var my$1="Birmano";var ne$1="Nepalí";var nl$1="Holandés";var no$1="Noruego";var ny$1="Chichewa";var or$1="Oriya";var pa$1="Panyabí";var pl$1="Polaco";var ps$1="Pastún";var pt$1="Portugués";var ro$1="Rumano";var ru$1="Ruso";var sd$1="Sindhi";var si$1="Cingalés";var sk$1="Eslovaco";var sl$1="Esloveno";var sm$1="Samoano";var sn$1="Shona";var so$1="Somalí";var sq$1="Albanés";var sr$1="Serbio";var st$1="Sesotho";var su$1="Sundanés";var sv$1="Sueco";var sw$1="Suajili";var ta$1="Tamil";var te$1="Telugu";var tg$1="Tayiko";var th$1="Tailandés";var tr$1="Turco";var tt$1="Tártaro";var uk$1="Ucraniano";var ur$1="Urdu";var uz$1="Uzbeko";var vi$1="Vietnamita";var xh$1="Xhosa";var yi$1="Yidis";var yo$1="Yoruba";var zh$1="Chino";var zu$1="Zulú";var defaultLanguage$1="Si la traducción no está disponible, se utilizará el inglés";var localeEs={auto:auto$1,label:label$1,af:af$1,ar:ar$1,az:az$1,be:be$1,bg:bg$1,bn:bn$1,bs:bs$1,ca:ca$1,ceb:ceb$1,cs:cs$1,cy:cy$1,da:da$1,de:de$1,el:el$1,en:en$1,eo:eo$1,es:es$1,et:et$1,eu:eu$1,fa:fa$1,fi:fi$1,fr:fr$1,fy:fy$1,ga:ga$1,gd:gd$1,gl:gl$1,gu:gu$1,ha:ha$1,haw:haw$1,he:he$1,hi:hi$1,hmn:hmn$1,hr:hr$1,ht:ht$1,hu:hu$1,hy:hy$1,id:id$1,ig:ig$1,is:is$1,it:it$1,ja:ja$1,jv:jv$1,ka:ka$1,kk:kk$1,km:km$1,kn:kn$1,ko:ko$1,ku:ku$1,ky:ky$1,la:la$1,lb:lb$1,lo:lo$1,lt:lt$1,lv:lv$1,mg:mg$1,mi:mi$1,mk:mk$1,ml:ml$1,mn:mn$1,mr:mr$1,ms:ms$1,mt:mt$1,my:my$1,ne:ne$1,nl:nl$1,no:no$1,ny:ny$1,or:or$1,pa:pa$1,pl:pl$1,ps:ps$1,pt:pt$1,ro:ro$1,ru:ru$1,sd:sd$1,si:si$1,sk:sk$1,sl:sl$1,sm:sm$1,sn:sn$1,so:so$1,sq:sq$1,sr:sr$1,st:st$1,su:su$1,sv:sv$1,sw:sw$1,ta:ta$1,te:te$1,tg:tg$1,th:th$1,tr:tr$1,tt:tt$1,uk:uk$1,ur:ur$1,uz:uz$1,vi:vi$1,xh:xh$1,yi:yi$1,yo:yo$1,zh:zh$1,zu:zu$1,defaultLanguage:defaultLanguage$1};var auto="Automatico";var label="Lingua";var af="Afrikaans";var ar="Arabo";var az="Azero";var be="Bielorusso";var bg="Bulgaro";var bn="Bengalese";var bs="Bosniaco";var ca="Catalano";var ceb="Cebuano";var cs="Ceco";var cy="Gallese";var da="Danese";var de="Tedesco";var el="Greco";var en="Inglese";var eo="Esperanto";var es="Spagnolo";var et="Estone";var eu="Basco";var fa="Persiano";var fi="Finlandese";var fr="Francese";var fy="Frisone";var ga="Irlandese";var gd="Gaelico scozzese";var gl="Galiziano";var gu="Gujarati";var ha="Hausa";var haw="Hawaiano";var he="Ebraico";var hi="Hindi";var hmn="Hmong";var hr="Croato";var ht="Creolo haitiano";var hu="Ungherese";var hy="Armeno";var id="Indonesiano";var ig="Igbo";var is="Islandese";var it="Italiano";var ja="Giapponese";var jv="Giavanese";var ka="Georgiano";var kk="Kazako";var km="Khmer";var kn="Kannada";var ko="Coreano";var ku="Curdo";var ky="Kirghiso";var la="Latino";var lb="Lussemburghese";var lo="Lao";var lt="Lituano";var lv="Lettone";var mg="Malgascio";var mi="Maori";var mk="Macedone";var ml="Malayalam";var mn="Mongolo";var mr="Marathi";var ms="Malese";var mt="Maltese";var my="Birmano";var ne="Nepalese";var nl="Olandese";var no="Norvegese";var ny="Chichewa";var or="Oriya";var pa="Punjabi";var pl="Polacco";var ps="Pashtu";var pt="Portoghese";var ro="Rumeno";var ru="Russo";var sd="Sindhi";var si="Singalese";var sk="Slovacco";var sl="Sloveno";var sm="Samoano";var sn="Shona";var so="Somalo";var sq="Albanese";var sr="Serbo";var st="Sesotho";var su="Sundanese";var sv="Svedese";var sw="Swahili";var ta="Tamil";var te="Telugu";var tg="Tagico";var th="Thai";var tr="Turco";var tt="Tataro";var uk="Ucraino";var ur="Urdu";var uz="Uzbeko";var vi="Vietnamita";var xh="Xhosa";var yi="Yiddish";var yo="Yoruba";var zh="Cinese";var zu="Zulu";var defaultLanguage="Se la traduzione non è disponibile, verrà utilizzato l'Inglese";var localeIt={auto:auto,label:label,af:af,ar:ar,az:az,be:be,bg:bg,bn:bn,bs:bs,ca:ca,ceb:ceb,cs:cs,cy:cy,da:da,de:de,el:el,en:en,eo:eo,es:es,et:et,eu:eu,fa:fa,fi:fi,fr:fr,fy:fy,ga:ga,gd:gd,gl:gl,gu:gu,ha:ha,haw:haw,he:he,hi:hi,hmn:hmn,hr:hr,ht:ht,hu:hu,hy:hy,id:id,ig:ig,is:is,it:it,ja:ja,jv:jv,ka:ka,kk:kk,km:km,kn:kn,ko:ko,ku:ku,ky:ky,la:la,lb:lb,lo:lo,lt:lt,lv:lv,mg:mg,mi:mi,mk:mk,ml:ml,mn:mn,mr:mr,ms:ms,mt:mt,my:my,ne:ne,nl:nl,no:no,ny:ny,or:or,pa:pa,pl:pl,ps:ps,pt:pt,ro:ro,ru:ru,sd:sd,si:si,sk:sk,sl:sl,sm:sm,sn:sn,so:so,sq:sq,sr:sr,st:st,su:su,sv:sv,sw:sw,ta:ta,te:te,tg:tg,th:th,tr:tr,tt:tt,uk:uk,ur:ur,uz:uz,vi:vi,xh:xh,yi:yi,yo:yo,zh:zh,zu:zu,defaultLanguage:defaultLanguage};var mdsPrefLanguageCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-dropdown,mds-tab,mds-tab-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*400)}.menu{display:grid;gap:calc(var(--spacing,.0025rem)*200)}.mds-pref-language-dropdown{gap:calc(var(--spacing,.0025rem)*100);padding:calc(var(--spacing,.0025rem)*400)}.item{--mds-tab-item-default-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));flex-basis:0;flex-grow:1}.item--custom-language{cursor:pointer}.item--auto,.item--custom-language{--mds-tab-item-selected-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}"};
|
|
2
2
|
// a language tag as the component reads it (RFC 5646): a primary subtag of two or three letters,
|
|
3
3
|
// the item dictionary has `ceb`, `haw` and `hmn`, then the region, script or variant subtags
|
|
4
|
-
var LANGUAGE_CODE=/^[a-z]{2,3}(-[A-Za-z0-9]{1,8})*$/;var isLanguageCode=function(a){return a!=null&&LANGUAGE_CODE.test(a)};var MdsPrefLanguage=/** @class */function(){function a(
|
|
4
|
+
var LANGUAGE_CODE=/^[a-z]{2,3}(-[A-Za-z0-9]{1,8})*$/;var isLanguageCode=function(a){return a!=null&&LANGUAGE_CODE.test(a)};var MdsPrefLanguage=/** @class */function(){function a(r){var e=this.constructor;var $=this;if(e===a)registerInstance(this,r);this.languageChangeEvent=createEvent(this,"mdsPrefLanguageChange",7);this.prefChangeEvent=createEvent(this,"mdsPrefChange",7);this.showDropdown=false;this.localStorageAlias="mdsPrefLanguage";this.defaultLanguage="en";this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
|
|
5
5
|
/**
|
|
6
6
|
* Specifies the language code based on HTML `lang` attribute
|
|
7
7
|
*
|
|
@@ -9,21 +9,21 @@ var LANGUAGE_CODE=/^[a-z]{2,3}(-[A-Za-z0-9]{1,8})*$/;var isLanguageCode=function
|
|
|
9
9
|
*
|
|
10
10
|
* Supported languages are Italiano, English, Español, ελληνικά
|
|
11
11
|
* @example 'en-US'
|
|
12
|
-
*/this.set="auto";this.toggleDropdown=function(){
|
|
12
|
+
*/this.set="auto";this.toggleDropdown=function(){$.showDropdown=!$.showDropdown};this.hideLanguageSelectDropdown=function(){$.showDropdown=false};this.changeLanguageSelectItem=function(){$.elPreferLanguageItems.forEach((function(a){a.selected=false}))};
|
|
13
13
|
// the items, read again when they change, mark the language in place
|
|
14
|
-
this.checkLanguageSelect=function(){
|
|
14
|
+
this.checkLanguageSelect=function(){$.elPreferLanguageItems=$.element.querySelectorAll("mds-pref-language-item");$.elPreferLanguageItems.forEach((function(a){a.selected=a.code===$.set}))};this.sanitizeLanguage=function(a){if(a.includes("-")){return a.split("-")[0].toLowerCase()}return a};this.setLanguage=function(a){var r,e,v,s,n;
|
|
15
15
|
// a code that is no language tag, or the attribute removed, is ignored: the page keeps the
|
|
16
16
|
// language it has, and on load the one `auto` finds. It used to throw (#825)
|
|
17
|
-
if(a!=="auto"&&!isLanguageCode(a)){if(a!=null){console.warn('mds-pref-language: ignoring the invalid language code "'.concat(a,'"'))}if(
|
|
17
|
+
if(a!=="auto"&&!isLanguageCode(a)){if(a!=null){console.warn('mds-pref-language: ignoring the invalid language code "'.concat(a,'"'))}if($.appliedLanguage!==undefined){$.set=$.appliedLanguage;return}}var i=isLanguageCode(a)?a:"auto";
|
|
18
18
|
// navigator.language is missing in the hydrate/SSR runtime's MockNavigator
|
|
19
|
-
var t
|
|
19
|
+
var t=$.sanitizeLanguage((r=navigator.language)!==null&&r!==void 0?r:"en");var o=localStorage.getItem($.localStorageAlias);
|
|
20
20
|
// a value an earlier version stored without checking it would come back on every load
|
|
21
|
-
if(o!==null&&!isLanguageCode(o)){localStorage.removeItem(
|
|
21
|
+
if(o!==null&&!isLanguageCode(o)){localStorage.removeItem($.localStorageAlias)}var l=(v=(e=document.querySelector("html"))===null||e===void 0?void 0:e.getAttribute("lang"))!==null&&v!==void 0?v:null;var u=i==="auto"?(s=[o,l].find(isLanguageCode))!==null&&s!==void 0?s:t:$.sanitizeLanguage(i);$.set=u;
|
|
22
22
|
// Re-applying the same language must not emit or write again (the `set`
|
|
23
23
|
// watcher re-fires once after the normalization above)
|
|
24
|
-
if(u
|
|
24
|
+
if(u===$.appliedLanguage){return}var h=$.appliedLanguage===undefined;$.appliedLanguage=u;localStorage.setItem($.localStorageAlias,u);if(typeof document!=="undefined"){(n=document.querySelector("html"))===null||n===void 0?void 0:n.setAttribute("lang",u)}preferenceStore.state.language=u;if(!h){$.prefChangeEvent.emit({preference:"language"})}}}a.prototype.componentWillLoad=function(){this.setLanguage(this.set)};a.prototype.componentDidLoad=function(){this.checkLanguageSelect()};
|
|
25
25
|
// a language set from code is the selected item of the list too, as a pick is
|
|
26
26
|
a.prototype.handleSetChange=function(a){var r=this;var e;this.setLanguage(a);(e=this.elPreferLanguageItems)===null||e===void 0?void 0:e.forEach((function(a){a.selected=a.code===r.set}))};
|
|
27
27
|
// A pick reaches the component from any item, one added after load too: the listener sits on
|
|
28
28
|
// the host, where the event of the item bubbles, instead of on each item found on load (#826)
|
|
29
|
-
a.prototype.handleItemSelect=function(a){this.changeLanguageSelectItem();this.currentSelectedItem=a.target;this.currentSelectedItem.selected=true;this.languageChangeEvent.emit({language:this.currentSelectedItem.code});this.showDropdown=false;this.setLanguage(a.detail.language)};a.prototype.render=function(){var a;return h(Host,{key:"
|
|
29
|
+
a.prototype.handleItemSelect=function(a){this.changeLanguageSelectItem();this.currentSelectedItem=a.target;this.currentSelectedItem.selected=true;this.languageChangeEvent.emit({language:this.currentSelectedItem.code});this.showDropdown=false;this.setLanguage(a.detail.language)};a.prototype.render=function(){var a;return h(Host,{key:"87c13af2d1cdfb113c9d718f4bc39d0b8ecf96c2"},h("div",{key:"8bbf81d99abbdb0da8640bb76824cb1de6b41b09",class:"menu"},h("mds-text",{key:"407325f2d1356d9b8af69e3524c607f0457ced30",class:"info",typography:"caption"},h("b",{key:"871bc31414207ff58ebc542629836bf94219a2ac"},this.t.get("label"))),h("mds-tab",{key:"dd0ccb4371f5860c647e588b1f6b3a0d0dcd7c25",fill:true,size:this.size},h("mds-tab-item",{key:"3ca58b26b23f2786fdd09137f40cd16caf164329",selected:true,onClick:this.toggleDropdown,expanded:this.showDropdown,id:"mds-pref-language-nav",class:"item item--custom-language","icon-position":"right",icon:this.showDropdown?miBaselineKeyboardArrowUp:miBaselineKeyboardArrowDown,label:this.t.get((a=this.set)!==null&&a!==void 0?a:"auto")}))),h("mds-dropdown",{key:"402219e05bac03643541bf9a915c57af9ba753aa",class:"mds-pref-language-dropdown",target:"#mds-pref-language-nav",interaction:"none",visible:this.showDropdown,onMdsDropdownHide:this.hideLanguageSelectDropdown},h("slot",{key:"71eaac4220be9da75d5c4c72a730266105ec0d17",onSlotchange:this.checkLanguageSelect})),this.set!==this.defaultLanguage&&h("mds-text",{key:"fc42eece094e9461c73ca1cf0b24d0fc8a988823",typography:"caption"},this.t.get("defaultLanguage")))};Object.defineProperty(a.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{set:[{handleSetChange:0}]}},enumerable:false,configurable:true});return a}();MdsPrefLanguage.style=mdsPrefLanguageCss();export{MdsPrefLanguage as mds_pref_language};
|
|
@@ -1,29 +1,29 @@
|
|
|
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-CPibDZjX.js";import{c as cssDurationToMilliseconds}from"./unit-CWk1SCJg.js";import{m as miBaselineSettings}from"./settings-XQgkfNpn.js";import{L as Locale}from"./locale-B7Hw4niB.js";import{p as preferenceStore}from"./preference-CBMLGSf7.js";var miBaselineLightMode='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5s5-2.24 5-5s-2.24-5-5-5zM2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1zm18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1zM11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1zm0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1zM5.99 4.58a.996.996 0 0 0-1.41 0a.996.996 0 0 0 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41L5.99 4.58zm12.37 12.37a.996.996 0 0 0-1.41 0a.996.996 0 0 0 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0a.996.996 0 0 0 0-1.41l-1.06-1.06zm1.06-10.96a.996.996 0 0 0 0-1.41a.996.996 0 0 0-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06zM7.05 18.36a.996.996 0 0 0 0-1.41a.996.996 0 0 0-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06z"/></svg>';var miOutlineDarkMode='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M9.37 5.51A7.35 7.35 0 0 0 9.1 7.5c0 4.08 3.32 7.4 7.4 7.4c.68 0 1.35-.09 1.99-.27A7.014 7.014 0 0 1 12 19c-3.86 0-7-3.14-7-7c0-2.93 1.81-5.45 4.37-6.49zM12 3a9 9 0 1 0 9 9c0-.46-.04-.92-.1-1.36a5.389 5.389 0 0 1-4.4 2.26a5.403 5.403 0 0 1-3.14-9.8c-.44-.06-.9-.1-1.36-.1z"/></svg>';var miBaselineDarkMode='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 3a9 9 0 1 0 9 9c0-.46-.04-.92-.1-1.36a5.389 5.389 0 0 1-4.4 2.26a5.403 5.403 0 0 1-3.14-9.8c-.44-.06-.9-.1-1.36-.1z"/></svg>';var darkMode$3="Σκούρο";var label$3="Λειτουργία";var lightMode$3="Ανοιχτό";var systemSettings$3="Με βάση το λειτουργικό σύστημα";var localeEl={darkMode:darkMode$3,label:label$3,lightMode:lightMode$3,systemSettings:systemSettings$3};var darkMode$2="Dark";var label$2="Mode";var lightMode$2="Light";var systemSettings$2="Based on operating system";var localeEn={darkMode:darkMode$2,label:label$2,lightMode:lightMode$2,systemSettings:systemSettings$2};var darkMode$1="Oscura";var label$1="Modo";var lightMode$1="Clara";var systemSettings$1="Basado en el sistema operativo";var localeEs={darkMode:darkMode$1,label:label$1,lightMode:lightMode$1,systemSettings:systemSettings$1};var darkMode="Scura";var label="Modalità";var lightMode="Chiara";var systemSettings="Basato sul sistema operativo";var localeIt={darkMode:darkMode,label:label,lightMode:lightMode,systemSettings:systemSettings};var mdsPrefModeCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-tab,mds-tab-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-pref-mode-overlay-fadeout-duration:var(--duration-200,.2s);--mds-pref-mode-overlay-show-duration:var(--duration-300,.3s);--mds-pref-mode-overlay-z-index:var(--magma-theme-overlay-z-index,7000);display:grid;gap:calc(var(--spacing,.0025rem)*200)}.item{--mds-tab-item-default-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));flex-basis:0;flex-grow:1}.item--system{--mds-tab-item-selected-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}.item--light{--mds-tab-item-selected-color:rgb(var(--label-yellow-06,214 163 7))}.item--dark{--mds-tab-item-selected-color:rgb(var(--label-sky-06,47 182 243))}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])) .item--light{--mds-tab-item-selected-color:rgb(var(--label-yellow-03,112 85 4))}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])) .item--dark{--mds-tab-item-selected-color:rgb(var(--label-sky-03,8 94 133))}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-contrast]))) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-contrast]))) .item--light{--mds-tab-item-selected-color:rgb(var(--label-yellow-03,112 85 4))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-contrast]))) .item--dark{--mds-tab-item-selected-color:rgb(var(--label-sky-03,8 94 133))}}"};var MdsPrefMode=/** @class */function(){function e(t){var s=this.constructor;var i=this;if(s===e)registerInstance(this,t);this.prefChangeEvent=createEvent(this,"mdsPrefChange",7);this.defaultMode="system";this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.localStorageAlias="mdsPrefMode";this.customPropertyAlias="--magma-pref-mode";this.overlayBackgroundVisible="rgb(var(--magma-surface-default))";this.overlayBackgroundHidden="rgb(var(--magma-surface-default) / 0)";this.cssOverlayShowDuration="300";this.cssOverlayFadeoutDuration="200";this.cssOverlayZIndex="6000";this.overlayId="mds-pref-mode-overlay";this.overlayShow=false;this.syncingFromStore=false;this.updateCSSCustomProps=function(){var e,t,s;if(typeof window==="undefined")return;var a=window.getComputedStyle(i.element);i.cssOverlayShowDuration=(e=a.getPropertyValue("--mds-pref-mode-overlay-show-duration"))!==null&&e!==void 0?e:"300";i.cssOverlayFadeoutDuration=(t=a.getPropertyValue("--mds-pref-mode-overlay-fadeout-duration"))!==null&&t!==void 0?t:"200";i.cssOverlayZIndex=(s=a.getPropertyValue("--mds-pref-mode-overlay-z-index"))!==null&&s!==void 0?s:"6000"};
|
|
2
2
|
/**
|
|
3
3
|
* Specifies the transition of switching from a mode to another one
|
|
4
4
|
*/this.transition="smooth";this.modes={dark:{selector:"pref-mode-dark",label:"darkMode"},system:{selector:"pref-mode-system",label:"systemSettings"},light:{selector:"pref-mode-light",label:"lightMode"}};
|
|
5
5
|
/**
|
|
6
6
|
* Follows a mode applied elsewhere (another instance, or a writer of the
|
|
7
7
|
* `<html>` classes) without applying it again: no event, no storage write.
|
|
8
|
-
*/this.syncMode=function(e){if(e===undefined||e===
|
|
8
|
+
*/this.syncMode=function(e){if(e===undefined||e===i.mode){return}i.syncingFromStore=true;i.mode=e;i.appliedMode=e;i.syncingFromStore=false};
|
|
9
9
|
/**
|
|
10
10
|
* Applies a mode once per change, and announces it once applied: the `mode` watcher
|
|
11
11
|
* calls this again for the value it has just been given, which used to emit a second
|
|
12
12
|
* mdsPrefChange, and the first application, the one of load, is no change to announce.
|
|
13
|
-
*/this.setMode=function(e){if(e===
|
|
13
|
+
*/this.setMode=function(e){if(e===i.appliedMode){i.mode=e;return}var t=i.appliedMode===undefined;i.appliedMode=e;i.mode=e;localStorage.setItem(i.localStorageAlias,i.mode);if(typeof document!=="undefined"){var s=document.querySelector("html");for(var a in i.modes){if({}.hasOwnProperty.call(i.modes,a)){s===null||s===void 0?void 0:s.classList.remove(i.modes[a].selector)}}s===null||s===void 0?void 0:s.classList.add(i.modes[e].selector);s===null||s===void 0?void 0:s.style.setProperty(i.customPropertyAlias,i.mode)}preferenceStore.state.mode=e;if(!t){i.prefChangeEvent.emit({preference:"mode"})}};this.isDarkMode=function(){return window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches};this.getColorScheme=function(e){if(e!==undefined){if(e==="system"){return i.isDarkMode()?"dark":"light"}return e}if(i.mode==="system"){return i.isDarkMode()?"dark":"light"}return i.mode};this.instanceOverlay=function(){if(i.overlayEl==null){i.overlayEl=document.createElement("div");i.overlayEl.className=i.overlayId;i.overlayEl.style.inset="0";i.overlayEl.style.pointerEvents="none";i.overlayEl.style.position="fixed";i.overlayEl.style.transition="background-color ".concat(i.cssOverlayFadeoutDuration," ease-out");i.overlayEl.style.zIndex=i.cssOverlayZIndex}i.overlayEl.style.backgroundColor=i.overlayBackgroundHidden};this.attachFlashOverlayTransition=function(){i.overlayShow=true;i.instanceOverlay();i.overlayEl.style.backgroundColor=i.overlayBackgroundVisible;document.body.appendChild(i.overlayEl);clearTimeout(i.overlayTimer);i.overlayTimer=setTimeout((function(){i.overlayShow=false;i.detachOverlayTransition()}),cssDurationToMilliseconds(i.cssOverlayShowDuration))};this.attachSmoothOverlayTransition=function(e){i.overlayShow=true;i.instanceOverlay();document.body.appendChild(i.overlayEl);clearTimeout(i.overlaySmoothTimer);i.overlaySmoothTimer=setTimeout((function(){i.overlayEl.style.backgroundColor=i.overlayBackgroundVisible;clearTimeout(i.overlayTimer);i.overlayTimer=setTimeout((function(){i.setMode(e);clearTimeout(i.overlayTimer);i.overlayTimer=setTimeout((function(){i.overlayShow=false;i.detachOverlayTransition()}),cssDurationToMilliseconds(i.cssOverlayFadeoutDuration))}),cssDurationToMilliseconds(i.cssOverlayShowDuration))}),1)};
|
|
14
14
|
/**
|
|
15
15
|
* The mode the choice is locked to: the prop, or else the scheme of the active theme, which
|
|
16
16
|
* the store mirrors from `<html>`. Read in render, so a theme picked anywhere re-renders it.
|
|
17
|
-
*/this.lockedMode=function(){var e;var
|
|
17
|
+
*/this.lockedMode=function(){var e;var t=(e=i.lockedScheme)!==null&&e!==void 0?e:preferenceStore.state["theme-scheme"];return t==="light"||t==="dark"?t:undefined};
|
|
18
18
|
/**
|
|
19
19
|
* The mode the control shows: the one the theme locks the page to, since that is the mode
|
|
20
20
|
* the page is in whatever was picked, or else the person's choice.
|
|
21
|
-
*/this.shownMode=function(){var e,
|
|
21
|
+
*/this.shownMode=function(){var e,t;return(t=(e=i.lockedMode())!==null&&e!==void 0?e:i.mode)!==null&&t!==void 0?t:i.defaultMode};this.isModeDisabled=function(e){var t=i.lockedMode();return t!==undefined&&e!==t};this.changeMode=function(e){
|
|
22
22
|
// under a lock no item changes the mode: the shown one is the theme's, not a pick
|
|
23
|
-
if(
|
|
23
|
+
if(i.lockedMode()!==undefined){return}var t=i.getColorScheme();var s=i.getColorScheme(e);if(t===s){i.setMode(e);return}switch(i.transition){case"none":i.setMode(e);break;case"flash":i.setMode(e);i.attachFlashOverlayTransition();break;case"smooth":i.attachSmoothOverlayTransition(e);break;default:i.setMode(e);break}};this.handleModeClick=function(e){return function(){if(i.overlayShow){return}i.changeMode(e)}}}
|
|
24
24
|
// The stored mode is applied once, on load. After that each instance only mirrors
|
|
25
25
|
// the shared store: re-applying its own `mode` on every render made a second
|
|
26
26
|
// instance (a controller next to a settings page) revert what the other one chose.
|
|
27
27
|
// Safari is no exception any more: it used to be forced to light, written to the storage,
|
|
28
28
|
// while the dark refinements were Chromium-only `:host-context` rules (#960).
|
|
29
|
-
e.prototype.componentWillLoad=function(){var e,t;this.setMode((t=(e=this.mode)!==null&&e!==void 0?e:localStorage.getItem(this.localStorageAlias))!==null&&t!==void 0?t:this.defaultMode)};e.prototype.connectedCallback=function(){this.unsubscribeStore=preferenceStore.onChange("mode",this.syncMode)};e.prototype.disconnectedCallback=function(){var e;(e=this.unsubscribeStore)===null||e===void 0?void 0:e.call(this)};e.prototype.componentDidLoad=function(){this.updateCSSCustomProps()};e.prototype.modeChanged=function(e,t){if(e===t||this.syncingFromStore){return}this.setMode(e)};e.prototype.detachOverlayTransition=function(){var e=this;if(this.overlayEl==null){return}this.overlayEl.style.backgroundColor=this.overlayBackgroundHidden;clearTimeout(this.overlayTimer);this.overlayTimer=setTimeout((function(){e.overlayEl.remove()}),cssDurationToMilliseconds(this.cssOverlayFadeoutDuration))};e.prototype.render=function(){return h(Host,{key:"
|
|
29
|
+
e.prototype.componentWillLoad=function(){var e,t;this.setMode((t=(e=this.mode)!==null&&e!==void 0?e:localStorage.getItem(this.localStorageAlias))!==null&&t!==void 0?t:this.defaultMode)};e.prototype.connectedCallback=function(){this.unsubscribeStore=preferenceStore.onChange("mode",this.syncMode)};e.prototype.disconnectedCallback=function(){var e;(e=this.unsubscribeStore)===null||e===void 0?void 0:e.call(this)};e.prototype.componentDidLoad=function(){this.updateCSSCustomProps()};e.prototype.modeChanged=function(e,t){if(e===t||this.syncingFromStore){return}this.setMode(e)};e.prototype.detachOverlayTransition=function(){var e=this;if(this.overlayEl==null){return}this.overlayEl.style.backgroundColor=this.overlayBackgroundHidden;clearTimeout(this.overlayTimer);this.overlayTimer=setTimeout((function(){e.overlayEl.remove()}),cssDurationToMilliseconds(this.cssOverlayFadeoutDuration))};e.prototype.render=function(){return h(Host,{key:"d383f7e4aff56935cec65531c40c6ed42a0e0c5d","pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("mds-text",{key:"cc952aca8fe7e19c203d2bcfa609d8b185db2604",class:"info",typography:"caption"},h("b",{key:"be406d2a9fc46c455d3d917816d4dbe8f1609f03"},this.t.get("label"))," ",this.t.get(this.modes[this.shownMode()].label)),h("mds-tab",{key:"5e857d1ae9ba0ce80cc239d18ce4bbfc6759e81d",fill:true,size:this.size},h("mds-tab-item",{key:"698931c45c317b577ccdb5ce55f5ac32b6b77e9d",disabled:this.isModeDisabled("light"),selected:this.shownMode()==="light",onClick:this.handleModeClick("light"),class:"item item--light",icon:miBaselineLightMode,title:this.t.get(this.modes.light.label)}),h("mds-tab-item",{key:"adf07238598aac4ae5fee6a7d20418b5e3302978",disabled:this.isModeDisabled("system"),selected:this.shownMode()==="system",onClick:this.handleModeClick("system"),class:"item item--system",icon:miBaselineSettings,title:this.t.get(this.modes.system.label)}),h("mds-tab-item",{key:"7ec8459ce2d58ea150a00ee39257760f05b690aa",disabled:this.isModeDisabled("dark"),selected:this.shownMode()==="dark",onClick:this.handleModeClick("dark"),class:"item item--dark",icon:this.shownMode()==="dark"?miBaselineDarkMode:miOutlineDarkMode,title:this.t.get(this.modes.dark.label)})))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{mode:[{modeChanged:0}]}},enumerable:false,configurable:true});return e}();MdsPrefMode.style=mdsPrefModeCss();export{MdsPrefMode as mds_pref_mode};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{r as registerInstance,d as createEvent,h,e as Host}from"./index-
|
|
2
|
-
/** The names mds-pref-theme accepts: a theme's preview custom properties carry the name. */var THEME_NAME=/^[a-z]+(-[a-z]+)*$/;var MdsPrefThemeItem=/** @class */function(){function e(
|
|
1
|
+
import{r as registerInstance,d as createEvent,h,e as Host}from"./index-CPibDZjX.js";import{m as miBaselineCheckCircle}from"./check-circle-BFhO-KUe.js";import{m as miOutlineCircle}from"./circle-lZldSMeV.js";import{l as labelFromName}from"./string-6pgPWpGI.js";var mdsPrefThemeItemCss=function(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-pref-theme-item-color-background:rgb(var(--private-theme-wash,var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));--mds-pref-theme-item-color-status-error:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-pref-theme-item-color-status-success:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-pref-theme-item-color-status-warning:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-pref-theme-item-color-variant-primary:rgb(var(--private-theme-accent,var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));align-items:center;cursor:pointer;display:flex;gap:calc(var(--spacing,.0025rem)*400);justify-content:space-between}.theme-preview{box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15));box-sizing:border-box;display:inline-flex;flex:none;flex-wrap:wrap;gap:calc(var(--spacing,.0025rem)*100);height:calc(var(--spacing,.0025rem)*600);margin:1px;padding:calc(var(--spacing,.0025rem)*100);width:calc(var(--spacing,.0025rem)*600)}.theme-color,.theme-preview{background-color:var(--mds-pref-theme-item-color-background,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));border-radius:var(--magma-radius-full,var(--radius-full,1000px))}.theme-color{height:calc(var(--spacing,.0025rem)*150);position:relative;width:calc(var(--spacing,.0025rem)*150)}.theme-color:after{border-radius:inherit;box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15)) inset;content:"";display:flex;inset:0;position:absolute}.theme-color--variant-primary{background-color:var(--mds-pref-theme-item-color-variant-primary,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))))}.theme-color--status-success{background-color:var(--mds-pref-theme-item-color-status-success,rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57))))}.theme-color--status-warning{background-color:var(--mds-pref-theme-item-color-status-warning,rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0))))}.theme-color--status-error{background-color:var(--mds-pref-theme-item-color-status-error,rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65))))}'};
|
|
2
|
+
/** The names mds-pref-theme accepts: a theme's preview custom properties carry the name. */var THEME_NAME=/^[a-z]+(-[a-z]+)*$/;var MdsPrefThemeItem=/** @class */function(){function e(a){var r=this.constructor;var t=this;if(r===e)registerInstance(this,a);this.selectThemeEvent=createEvent(this,"mdsPrefThemeItemSelect",7);
|
|
3
3
|
/**
|
|
4
4
|
* Specifies the theme name; the swatch shows the preview that theme publishes,
|
|
5
5
|
* `--magma-preview-<name>-wash` and `--magma-preview-<name>-accent`
|
|
@@ -10,12 +10,12 @@ import{r as registerInstance,d as createEvent,h,e as Host}from"./index-CvLLN-QH.
|
|
|
10
10
|
*/this.scheme="all";
|
|
11
11
|
/**
|
|
12
12
|
* Specifies if the element is selected
|
|
13
|
-
*/this.selected=false;this.handleClick=function(){
|
|
13
|
+
*/this.selected=false;this.handleClick=function(){t.selectThemeEvent.emit({name:t.name,scheme:t.scheme})};
|
|
14
14
|
/**
|
|
15
15
|
* The preview of the theme the item names, which the styles of that theme publish on the page
|
|
16
16
|
* (`--magma-preview-<name>-{wash,accent}`, #692), so the item shows its own theme and not the
|
|
17
17
|
* active one. The stylesheet falls back to the active theme when a theme publishes none.
|
|
18
|
-
*/this.previewStyle=function(){return THEME_NAME.test(
|
|
18
|
+
*/this.previewStyle=function(){return THEME_NAME.test(t.name)?{"--private-theme-wash":"var(--magma-preview-".concat(t.name,"-wash)"),"--private-theme-accent":"var(--magma-preview-".concat(t.name,"-accent)")}:undefined}}e.prototype.componentWillRender=function(){var e;if(((e=this.label)!==null&&e!==void 0?e:"")===""){this.label=labelFromName(this.name)}};e.prototype.render=function(){
|
|
19
19
|
// the item is an entry of the `menu` the mds-dropdown of the controller opens:
|
|
20
20
|
// without the role axe rejects it as a child of that menu (aria-required-children)
|
|
21
|
-
return h(Host,{key:"
|
|
21
|
+
return h(Host,{key:"792b917cde7cf6078dbc66a793b39bbbe5684754",onClick:this.handleClick,role:"menuitem",style:this.previewStyle()},h("mds-button",{key:"4f00d2a653302976a6a34bc6c1323e3666e4c12b",icon:this.selected?miBaselineCheckCircle:miOutlineCircle,variant:"dark",tone:"text",label:this.label}),h("span",{key:"cf6ff7e8eff674063bca015a2f776d4021ee683f","aria-hidden":"true",class:"theme-preview"},h("span",{key:"6b9fa9e9d71a11568776bccfebf70e41350f1974",class:"theme-color theme-color--variant-primary"}),h("span",{key:"79355a968106a5afe5bc494c0fa57ee0cc2aa993",class:"theme-color theme-color--status-success"}),h("span",{key:"579336b575b020979767ff948a1b9ef501d83525",class:"theme-color theme-color--status-warning"}),h("span",{key:"4f69f1ef559992f63d78fcd1991c55bdaf483f35",class:"theme-color theme-color--status-error"})))};return e}();MdsPrefThemeItem.style=mdsPrefThemeItemCss();export{MdsPrefThemeItem as mds_pref_theme_item};
|