@maggioli-design-system/magma 2.12.0 → 2.14.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 +79 -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/mcp.md +12 -4
- package/agents/patterns/actions.md +7 -6
- package/agents/patterns/empty-state.md +5 -7
- 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/destructive-in-menu.dark.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/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/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/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.html +3 -12
- 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.html +2 -9
- 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.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.light.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/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-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-elsewhere.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/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-valid.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/field-valid.light.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/surfaces/band.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/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/titles/dialog.dark.webp +0 -0
- package/agents/patterns/previews/titles/dialog.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/page.dark.webp +0 -0
- package/agents/patterns/surfaces.md +49 -11
- package/agents/patterns/titles.md +15 -14
- package/agents/patterns.md +5 -4
- 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 +432 -30
- 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 +29 -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 +177 -6
- package/dist/collection/components/mds-input-range/mds-input-range.js +471 -30
- 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 +432 -30
- 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 +100 -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 +2128 -1009
- package/dist/hydrate/index.mjs +2128 -1009
- package/dist/lint/mcp/tools.json +21 -3
- 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-1e43613e.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-b20f811b.system.entry.js +120 -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-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-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 +50 -21
- package/dist/mcp/cli.js +8 -2
- package/dist/mcp/context.js +21 -0
- package/dist/mcp/guides.js +2 -1
- package/dist/mcp/patterns.js +19 -9
- package/dist/mcp/render.js +4 -4
- package/dist/mcp/root.js +63 -0
- package/dist/mcp/tools.json +21 -3
- package/dist/stats.json +4109 -3338
- 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 +105 -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,4 +1,4 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,o,i,n){function a(t){return t instanceof i?t:new i((function(o){o(t)}))}return new(i||(i=Promise))((function(i,e){function s(t){try{d(n.next(t))}catch(t){e(t)}}function r(t){try{d(n["throw"](t))}catch(t){e(t)}}function d(t){t.done?i(t.value):a(t.value).then(s,r)}d((n=n.apply(t,o||[])).next())}))};var __generator=this&&this.__generator||function(t,o){var i={label:0,sent:function(){if(e[0]&1)throw e[1];return e[1]},trys:[],ops:[]},n,a,e,s=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return s.next=r(0),s["throw"]=r(1),s["return"]=r(2),typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function r(t){return function(o){return d([t,o])}}function d(r){if(n)throw new TypeError("Generator is already executing.");while(s&&(s=0,r[0]&&(i=0)),i)try{if(n=1,a&&(e=r[0]&2?a["return"]:r[0]?a["throw"]||((e=a["return"])&&e.call(a),0):a.next)&&!(e=e.call(a,r[1])).done)return e;if(a=0,e)r=[r[0]&2,e.value];switch(r[0]){case 0:case 1:e=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;a=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(e=i.trys,e=e.length>0&&e[e.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!e||r[1]>e[0]&&r[1]<e[3])){i.label=r[1];break}if(r[0]===6&&i.label<e[1]){i.label=e[1];e=r;break}if(e&&i.label<e[2]){i.label=e[2];i.ops.push(r);break}if(e[2])i.ops.pop();i.trys.pop();continue}r=o.call(t,i)}catch(t){r=[6,t];a=0}finally{n=e=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};System.register(["./p-BZP13mns.system.js","./p-Qrub-hmK.system.js","./p-BeNKMPXR.system.js","./p-B-nayZ3E.system.js","./p-DOisMne4.system.js","./p-C61qxZLH.system.js","./p-BHdlb7Fr.system.js"],(function(t){"use strict";var o,i,n,a,e,s,r,d,l,c,m;return{setters:[function(t){o=t.r;i=t.d;n=t.h;a=t.e;e=t.g},function(t){s=t.c},function(t){r=t.h},function(t){d=t.c},function(t){l=t.p},function(t){c=t.m},function(t){m=t.L}],execute:function(){var h="Κλείσιμο";var p={close:h};var f="Close";var u={close:f};var w="Cerrar";var g={close:w};var v="Chiudi";var b={close:v};var y=function(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-modal-custom-closed-transform:rotateX(10deg) rotateY(0) scale(1.25) translateY(10%);--mds-modal-custom-window-distance:calc(var(--spacing,.0025rem)*600);--mds-modal-overlay-color:var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0));--mds-modal-overlay-opacity:var(--magma-overlay-opacity,.5);--mds-modal-transition-duration:var(--duration-500,.5s);--mds-modal-transition-timing-function:var(--mds-modal-transition-timing-funciton,var(--ease-in-out-quint,cubic-bezier(.86,0,.07,1)));--mds-modal-window-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--magma-field-fill:var(--magma-surface-default,var(--surface-neutral-default,242 242 242));--mds-modal-window-distance:0px;--mds-modal-window-height:calc(100dvh - var(--mds-modal-window-distance,0)*2);--mds-modal-window-max-height:calc(100dvh - var(--mds-modal-window-distance,0)*2);--mds-modal-window-overflow:auto;--mds-modal-window-radius:0;--mds-modal-window-shadow:var(--shadow-2xl,0 25px 50px -12px #00000040);--mds-modal-window-max-width:33%;--mds-modal-window-min-width:calc(var(--spacing,.0025rem)*10000);--mds-modal-z-index:var(--magma-modal-z-index,3000);--private-modal-transition-duration:var(--mds-modal-transition-duration,var(--duration-500,.5s));--private-modal-width:calc(100vw - var(--private-modal-window-close-margin));--private-modal-custom-opened-transform:translate(0);--private-modal-opened-transform:none;--private-modal-transition-window-transform:translate(0);--private-modal-window-close-margin:calc(var(--spacing,.0025rem)*2000);display:contents}.dialog{align-items:center;background-color:#0000;border:0;box-sizing:border-box;color:inherit;display:none;fill:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));height:auto;inset:0;justify-content:center;margin:0;max-height:none;max-width:none;overflow:clip;padding:0;perspective:calc(var(--spacing,.0025rem)*15000);position:fixed;transition-behavior:allow-discrete;transition-duration:var(--private-modal-transition-duration);transition-property:overlay,display;transition-timing-function:var(--mds-modal-transition-timing-function);width:auto;z-index:var(--mds-modal-z-index,1000)}.dialog[open]{display:flex}.dialog::backdrop{background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0)))/0);transition-behavior:allow-discrete;transition-duration:var(--private-modal-transition-duration);transition-property:background-color,overlay,display;transition-timing-function:var(--mds-modal-transition-timing-function)}:host([hide-backdrop]) .dialog{pointer-events:none}.action-close{--mds-button-color:rgb(var(--magma-on-backdrop,252 252 252));opacity:0;pointer-events:none;position:absolute;transition-duration:var(--private-modal-transition-duration);transition-property:background-color,bottom,color,fill,opacity,top,transform;transition-timing-function:var(--mds-modal-transition-timing-function)}.action-close::part(icon){height:calc(var(--spacing,.0025rem)*900);width:calc(var(--spacing,.0025rem)*900)}:host([position=top-left][animation="3d"]){--private-modal-transition-window-transform:rotateX(22deg) rotateY(22deg) scale(.5) translate(-80%,80%)}:host([position=top][animation="3d"]){--private-modal-transition-window-transform:rotateX(-22deg) rotateY(0) scale(.5) translateY(-80%)}:host([position=top-right][animation="3d"]){--private-modal-transition-window-transform:rotateX(-22deg) rotateY(-22deg) scale(.5) translate(80%,80%)}:host([position=left][animation="3d"]){--private-modal-transition-window-transform:rotateX(0) rotateY(22deg) rotate(0) scale(.5) translate(-100%)}:host([position=center][animation="3d"]){--private-modal-transition-window-transform:rotateX(0) rotateY(22deg) scale(.5) translateY(40%)}:host([position=right][animation="3d"]){--private-modal-transition-window-transform:rotateX(0) rotateY(-22deg) rotate(0) scale(.5) translate(100%)}:host([position=bottom-left][animation="3d"]){--private-modal-transition-window-transform:rotateX(22deg) rotateY(22deg) scale(.5) translate(-80%,80%)}:host([position=bottom][animation="3d"]){--private-modal-transition-window-transform:rotateX(22deg) rotateY(0) scale(.5) translateY(80%)}:host([position=bottom-right][animation="3d"]){--private-modal-transition-window-transform:rotateX(-22deg) rotateY(-22deg) scale(.5) translate(80%,80%)}:host([animation=custom]){--private-modal-opened-transform:var(--private-modal-custom-opened-transform);--private-modal-transition-window-transform:var(--mds-modal-custom-closed-transform,rotateX(10deg) rotateY(0) scale(1.25) translate(0,10%))}:host([position=top-left][animation=slide]){--private-modal-transition-window-transform:translate(-50%,-100%)}:host([position=top][animation=slide]){--private-modal-transition-window-transform:translateY(-100%)}:host([position=top-right][animation=slide]){--private-modal-transition-window-transform:translate(50%,-100%)}:host([position=left][animation=slide]){--private-modal-transition-window-transform:translate(-100%)}:host([position=center][animation=slide]){--private-modal-transition-window-transform:translateY(25%)}:host([position=right][animation=slide]){--private-modal-transition-window-transform:translate(100%)}:host([position=bottom-left][animation=slide]){--private-modal-transition-window-transform:translate(-50%,100%)}:host([position=bottom][animation=slide]){--private-modal-transition-window-transform:translateY(50%)}:host([position=bottom-right][animation=slide]){--private-modal-transition-window-transform:translate(50%,100%)}.dialog[open]::backdrop{background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0)))/var(--mds-modal-overlay-opacity,var(--magma-overlay-opacity,.5)))}@starting-style{.dialog[open]::backdrop{background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0)))/0)}}:host ::slotted([slot=window]){margin:var(--mds-modal-custom-window-distance,calc(var(--spacing,.0025rem)*600));max-width:var(--magma-width-dialog,calc(var(--magma-width-form,var(--magma-width-reading,56ch)) + var(--magma-rhythm-inset,24px)*2));width:100%}.window{background-color:var(--mds-modal-window-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));border-radius:var(--mds-modal-window-radius,0);box-shadow:var(--mds-modal-window-shadow);box-sizing:border-box;display:grid;gap:0;grid-template-columns:repeat(1,minmax(0,100%));height:var(--mds-modal-window-height);margin:var(--mds-modal-window-distance,0);max-height:var(--mds-modal-window-max-height);max-width:var(--private-modal-width);min-width:var(--mds-modal-window-min-width,calc(var(--spacing,.0025rem)*10000));overflow:var(--mds-modal-window-overflow,auto);position:relative;width:100%}.window-content--empty{display:none}.window-content-wrapper{max-height:var(--mds-modal-window-max-height);overflow:hidden}.window-footer,.window-header{box-sizing:border-box;position:absolute}.window-header{inset:0 0 auto}.window-footer{inset:auto 0 0}.dialog .window,.dialog ::slotted([slot=window]){opacity:0;transform:var(--private-modal-transition-window-transform);transition-duration:var(--private-modal-transition-duration);transition-property:transform,opacity;transition-timing-function:var(--mds-modal-transition-timing-function)}.dialog[open] .window,.dialog[open] ::slotted([slot=window]){opacity:1;pointer-events:auto;transform:var(--private-modal-opened-transform)}@starting-style{.dialog[open] .window,.dialog[open] ::slotted([slot=window]){opacity:0;transform:var(--private-modal-transition-window-transform)}.window-content-wrapper{overflow:hidden}}:host([position=top-left]) .dialog,:host([position=top-right]) .dialog,:host([position=top]) .dialog{align-items:flex-start}:host([position=center]) .dialog,:host([position=left]) .dialog,:host([position=right]) .dialog{align-items:center}:host([position=bottom-left]) .dialog,:host([position=bottom-right]) .dialog,:host([position=bottom]) .dialog{align-items:flex-end}:host([position=bottom-left]) .dialog,:host([position=left]) .dialog,:host([position=top-left]) .dialog{justify-content:flex-start}:host([position=bottom]) .dialog,:host([position=center]) .dialog,:host([position=top]) .dialog{justify-content:center}:host([position=bottom-right]) .dialog,:host([position=right]) .dialog,:host([position=top-right]) .dialog{justify-content:flex-end}:host([position=top]){--mds-modal-window-height:auto;align-items:flex-start;justify-content:center}:host([position=top]) .window{--mds-modal-window-max-width:100vw;--mds-modal-window-height:auto}:host([position=left]),:host([position=right]){--mds-modal-window-height:100%;--mds-modal-window-max-height:calc(100dvh - var(--mds-modal-window-distance,0)*2)}:host([position=top-left]){align-items:flex-start;justify-content:flex-start}:host([position=top-right]){align-items:flex-start;justify-content:flex-end}:host([position=left]){align-items:center;justify-content:flex-start}:host([position=left]) .action-close{right:calc(var(--spacing,.0025rem)*300);top:calc(var(--spacing,.0025rem)*300)}:host([position=left][opened]) .action-close{opacity:1;pointer-events:auto}:host([position=left]:not([opened])) .action-close{transform:translate(-120%)rotate(-45deg)}:host([position=center]){align-items:center;justify-content:center}:host([position=right]){align-items:center;justify-content:flex-end}:host([position=right]) .action-close{left:calc(var(--spacing,.0025rem)*300);top:calc(var(--spacing,.0025rem)*300)}:host([position=right]:not([opened])) .action-close{transform:translate(120%)rotate(45deg)}:host([position=right][opened]) .action-close{opacity:1;pointer-events:auto}:host([position=bottom-left]){align-items:flex-end;justify-content:flex-start}:host([position=bottom]){--mds-modal-window-height:auto;align-items:flex-end;justify-content:center}:host([position=bottom-right]){align-items:flex-end;justify-content:flex-end}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-modal-transition-duration:0s}:host([pref-contrast=more]){--mds-modal-window-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)),var(--shadow-2xl,0 25px 50px -12px #00000040)}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])) .action-close{--mds-button-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@media (max-width:480px){:host{--mds-modal-window-min-width:0px}:host([position=bottom-left]),:host([position=bottom-right]),:host([position=bottom]),:host([position=center]),:host([position=top-left]),:host([position=top-right]),:host([position=top]){--private-modal-width:100vw}:host([position=left]),:host([position=right]){--private-modal-width:calc(100% - var(--private-modal-window-close-margin))}:host([position=bottom-left]),:host([position=bottom-right]),:host([position=center]),:host([position=top-left]),:host([position=top-right]){--mds-modal-window-height:calc(100dvh - var(--private-modal-window-close-margin) - var(--mds-modal-window-distance,0)*2);--mds-modal-window-max-height:var(--mds-modal-window-height)}:host([position=bottom-left]) .dialog,:host([position=bottom-right]) .dialog,:host([position=center]) .dialog,:host([position=top-left]) .dialog,:host([position=top-right]) .dialog{align-items:flex-end}:host([position=bottom]),:host([position=top]){--mds-modal-window-max-height:calc(100dvh - var(--private-modal-window-close-margin) - var(--mds-modal-window-distance,0)*2)}:host([position=bottom-left]) .action-close,:host([position=bottom-right]) .action-close,:host([position=bottom]) .action-close,:host([position=center]) .action-close,:host([position=top-left]) .action-close,:host([position=top-right]) .action-close{right:calc(var(--spacing,.0025rem)*300);top:calc(var(--spacing,.0025rem)*300)}:host([position=top]) .action-close{bottom:calc(var(--spacing,.0025rem)*300);right:calc(var(--spacing,.0025rem)*300)}:host([position=bottom-left][opened]) .action-close,:host([position=bottom-right][opened]) .action-close,:host([position=bottom][opened]) .action-close,:host([position=center][opened]) .action-close,:host([position=top-left][opened]) .action-close,:host([position=top-right][opened]) .action-close,:host([position=top][opened]) .action-close{opacity:1;pointer-events:auto}:host([position=bottom-left]:not([opened])) .action-close,:host([position=bottom-right]:not([opened])) .action-close,:host([position=bottom]:not([opened])) .action-close,:host([position=center]:not([opened])) .action-close,:host([position=top-left]:not([opened])) .action-close,:host([position=top-right]:not([opened])) .action-close{transform:translateY(-120%)rotate(45deg)}:host([position=top]:not([opened])) .action-close{transform:translateY(120%)rotate(-45deg)}}@media not all and (max-width:480px){:host([position=bottom-left]),:host([position=bottom-right]),:host([position=bottom]),:host([position=center]),:host([position=top-left]),:host([position=top-right]),:host([position=top]){--mds-modal-window-height:auto}:host([position=left]),:host([position=right]){--private-modal-width:var(--mds-modal-window-max-width,33%)}:host([position=bottom]),:host([position=center]),:host([position=top]){--private-modal-width:calc(100vw - var(--private-modal-window-close-margin)*2)}:host([position=bottom-left]) .action-close,:host([position=bottom]) .action-close,:host([position=center]) .action-close,:host([position=top-left]) .action-close,:host([position=top]) .action-close{right:calc(var(--spacing,.0025rem)*300);top:calc(var(--spacing,.0025rem)*300)}:host([position=bottom-right]) .action-close,:host([position=top-right]) .action-close{left:calc(var(--spacing,.0025rem)*300);top:calc(var(--spacing,.0025rem)*300)}:host([position=bottom-left][opened]) .action-close,:host([position=bottom-right][opened]) .action-close,:host([position=bottom][opened]) .action-close,:host([position=center][opened]) .action-close,:host([position=top-left][opened]) .action-close,:host([position=top-right][opened]) .action-close,:host([position=top][opened]) .action-close{opacity:1;pointer-events:auto}:host([position=bottom-left]:not([opened])) .action-close,:host([position=bottom]:not([opened])) .action-close,:host([position=center]:not([opened])) .action-close,:host([position=top-left]:not([opened])) .action-close,:host([position=top]:not([opened])) .action-close{transform:translateY(-120%)rotate(45deg)}:host([position=bottom-right]:not([opened])) .action-close,:host([position=top-right]:not([opened])) .action-close{transform:translateY(-120%)rotate(-45deg)}}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-modal-transition-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-modal-window-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)),var(--shadow-2xl,0 25px 50px -12px #00000040)}}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))) .action-close{--mds-button-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}'};var x=t("mds_modal",/** @class */function(){function t(t){var n=this;o(this,t);this.openEvent=i(this,"mdsModalOpen",7);this.showEvent=i(this,"mdsModalShow",7);this.closeEvent=i(this,"mdsModalClose",7);this.hideEvent=i(this,"mdsModalHide",7);this.t=new m({el:p,en:u,es:g,it:b});
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,o,i,n){function a(t){return t instanceof i?t:new i((function(o){o(t)}))}return new(i||(i=Promise))((function(i,e){function s(t){try{d(n.next(t))}catch(t){e(t)}}function r(t){try{d(n["throw"](t))}catch(t){e(t)}}function d(t){t.done?i(t.value):a(t.value).then(s,r)}d((n=n.apply(t,o||[])).next())}))};var __generator=this&&this.__generator||function(t,o){var i={label:0,sent:function(){if(e[0]&1)throw e[1];return e[1]},trys:[],ops:[]},n,a,e,s=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return s.next=r(0),s["throw"]=r(1),s["return"]=r(2),typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function r(t){return function(o){return d([t,o])}}function d(r){if(n)throw new TypeError("Generator is already executing.");while(s&&(s=0,r[0]&&(i=0)),i)try{if(n=1,a&&(e=r[0]&2?a["return"]:r[0]?a["throw"]||((e=a["return"])&&e.call(a),0):a.next)&&!(e=e.call(a,r[1])).done)return e;if(a=0,e)r=[r[0]&2,e.value];switch(r[0]){case 0:case 1:e=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;a=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(e=i.trys,e=e.length>0&&e[e.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!e||r[1]>e[0]&&r[1]<e[3])){i.label=r[1];break}if(r[0]===6&&i.label<e[1]){i.label=e[1];e=r;break}if(e&&i.label<e[2]){i.label=e[2];i.ops.push(r);break}if(e[2])i.ops.pop();i.trys.pop();continue}r=o.call(t,i)}catch(t){r=[6,t];a=0}finally{n=e=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};System.register(["./p-EhfbAdzV.system.js","./p-Qrub-hmK.system.js","./p-BeNKMPXR.system.js","./p-B-nayZ3E.system.js","./p-DGfoeZMw.system.js","./p-C61qxZLH.system.js","./p-CzZWts7L.system.js"],(function(t){"use strict";var o,i,n,a,e,s,r,d,l,c,m;return{setters:[function(t){o=t.r;i=t.d;n=t.h;a=t.e;e=t.g},function(t){s=t.c},function(t){r=t.h},function(t){d=t.c},function(t){l=t.p},function(t){c=t.m},function(t){m=t.L}],execute:function(){var h="Κλείσιμο";var p={close:h};var f="Close";var u={close:f};var w="Cerrar";var g={close:w};var v="Chiudi";var b={close:v};var y=function(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-modal-custom-closed-transform:rotateX(10deg) rotateY(0) scale(1.25) translateY(10%);--mds-modal-custom-window-distance:calc(var(--spacing,.0025rem)*600);--mds-modal-overlay-color:var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0));--mds-modal-overlay-opacity:var(--magma-overlay-opacity,.5);--mds-modal-transition-duration:var(--duration-500,.5s);--mds-modal-transition-timing-function:var(--mds-modal-transition-timing-funciton,var(--ease-in-out-quint,cubic-bezier(.86,0,.07,1)));--mds-modal-window-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--magma-field-fill:var(--magma-surface-default,var(--surface-neutral-default,242 242 242));--mds-modal-window-distance:0px;--mds-modal-window-height:calc(100dvh - var(--mds-modal-window-distance,0)*2);--mds-modal-window-max-height:calc(100dvh - var(--mds-modal-window-distance,0)*2);--mds-modal-window-overflow:auto;--mds-modal-window-radius:0;--mds-modal-window-shadow:var(--shadow-2xl,0 25px 50px -12px #00000040);--mds-modal-window-max-width:33%;--mds-modal-window-min-width:calc(var(--spacing,.0025rem)*10000);--mds-modal-z-index:var(--magma-modal-z-index,3000);--private-modal-transition-duration:var(--mds-modal-transition-duration,var(--duration-500,.5s));--private-modal-width:calc(100vw - var(--private-modal-window-close-margin));--private-modal-custom-opened-transform:translate(0);--private-modal-opened-transform:none;--private-modal-transition-window-transform:translate(0);--private-modal-window-close-margin:calc(var(--spacing,.0025rem)*2000);display:contents}.dialog{align-items:center;background-color:#0000;border:0;box-sizing:border-box;color:inherit;display:none;fill:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));height:auto;inset:0;justify-content:center;margin:0;max-height:none;max-width:none;overflow:clip;padding:0;perspective:calc(var(--spacing,.0025rem)*15000);position:fixed;transition-behavior:allow-discrete;transition-duration:var(--private-modal-transition-duration);transition-property:overlay,display;transition-timing-function:var(--mds-modal-transition-timing-function);width:auto;z-index:var(--mds-modal-z-index,1000)}.dialog[open]{display:flex}.dialog::backdrop{background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0)))/0);transition-behavior:allow-discrete;transition-duration:var(--private-modal-transition-duration);transition-property:background-color,overlay,display;transition-timing-function:var(--mds-modal-transition-timing-function)}:host([hide-backdrop]) .dialog{pointer-events:none}.action-close{--mds-button-color:rgb(var(--magma-on-backdrop,252 252 252));opacity:0;pointer-events:none;position:absolute;transition-duration:var(--private-modal-transition-duration);transition-property:background-color,bottom,color,fill,opacity,top,transform;transition-timing-function:var(--mds-modal-transition-timing-function)}.action-close::part(icon){height:calc(var(--spacing,.0025rem)*900);width:calc(var(--spacing,.0025rem)*900)}:host([position=top-left][animation="3d"]){--private-modal-transition-window-transform:rotateX(22deg) rotateY(22deg) scale(.5) translate(-80%,80%)}:host([position=top][animation="3d"]){--private-modal-transition-window-transform:rotateX(-22deg) rotateY(0) scale(.5) translateY(-80%)}:host([position=top-right][animation="3d"]){--private-modal-transition-window-transform:rotateX(-22deg) rotateY(-22deg) scale(.5) translate(80%,80%)}:host([position=left][animation="3d"]){--private-modal-transition-window-transform:rotateX(0) rotateY(22deg) rotate(0) scale(.5) translate(-100%)}:host([position=center][animation="3d"]){--private-modal-transition-window-transform:rotateX(0) rotateY(22deg) scale(.5) translateY(40%)}:host([position=right][animation="3d"]){--private-modal-transition-window-transform:rotateX(0) rotateY(-22deg) rotate(0) scale(.5) translate(100%)}:host([position=bottom-left][animation="3d"]){--private-modal-transition-window-transform:rotateX(22deg) rotateY(22deg) scale(.5) translate(-80%,80%)}:host([position=bottom][animation="3d"]){--private-modal-transition-window-transform:rotateX(22deg) rotateY(0) scale(.5) translateY(80%)}:host([position=bottom-right][animation="3d"]){--private-modal-transition-window-transform:rotateX(-22deg) rotateY(-22deg) scale(.5) translate(80%,80%)}:host([animation=custom]){--private-modal-opened-transform:var(--private-modal-custom-opened-transform);--private-modal-transition-window-transform:var(--mds-modal-custom-closed-transform,rotateX(10deg) rotateY(0) scale(1.25) translate(0,10%))}:host([position=top-left][animation=slide]){--private-modal-transition-window-transform:translate(-50%,-100%)}:host([position=top][animation=slide]){--private-modal-transition-window-transform:translateY(-100%)}:host([position=top-right][animation=slide]){--private-modal-transition-window-transform:translate(50%,-100%)}:host([position=left][animation=slide]){--private-modal-transition-window-transform:translate(-100%)}:host([position=center][animation=slide]){--private-modal-transition-window-transform:translateY(25%)}:host([position=right][animation=slide]){--private-modal-transition-window-transform:translate(100%)}:host([position=bottom-left][animation=slide]){--private-modal-transition-window-transform:translate(-50%,100%)}:host([position=bottom][animation=slide]){--private-modal-transition-window-transform:translateY(50%)}:host([position=bottom-right][animation=slide]){--private-modal-transition-window-transform:translate(50%,100%)}.dialog[open]::backdrop{background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0)))/var(--mds-modal-overlay-opacity,var(--magma-overlay-opacity,.5)))}@starting-style{.dialog[open]::backdrop{background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0)))/0)}}:host ::slotted([slot=window]){margin:var(--mds-modal-custom-window-distance,calc(var(--spacing,.0025rem)*600));max-width:var(--magma-width-dialog,calc(var(--magma-width-form,var(--magma-width-reading,56ch)) + var(--magma-rhythm-inset,24px)*2));width:100%}.window{background-color:var(--mds-modal-window-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));border-radius:var(--mds-modal-window-radius,0);box-shadow:var(--mds-modal-window-shadow);box-sizing:border-box;display:grid;gap:0;grid-template-columns:repeat(1,minmax(0,100%));height:var(--mds-modal-window-height);margin:var(--mds-modal-window-distance,0);max-height:var(--mds-modal-window-max-height);max-width:var(--private-modal-width);min-width:var(--mds-modal-window-min-width,calc(var(--spacing,.0025rem)*10000));overflow:var(--mds-modal-window-overflow,auto);position:relative;width:100%}.window-content--empty{display:none}.window-content-wrapper{max-height:var(--mds-modal-window-max-height);overflow:hidden}.window-footer,.window-header{box-sizing:border-box;position:absolute}.window-header{inset:0 0 auto}.window-footer{inset:auto 0 0}.dialog .window,.dialog ::slotted([slot=window]){opacity:0;transform:var(--private-modal-transition-window-transform);transition-duration:var(--private-modal-transition-duration);transition-property:transform,opacity;transition-timing-function:var(--mds-modal-transition-timing-function)}.dialog[open] .window,.dialog[open] ::slotted([slot=window]){opacity:1;pointer-events:auto;transform:var(--private-modal-opened-transform)}@starting-style{.dialog[open] .window,.dialog[open] ::slotted([slot=window]){opacity:0;transform:var(--private-modal-transition-window-transform)}.window-content-wrapper{overflow:hidden}}:host([position=top-left]) .dialog,:host([position=top-right]) .dialog,:host([position=top]) .dialog{align-items:flex-start}:host([position=center]) .dialog,:host([position=left]) .dialog,:host([position=right]) .dialog{align-items:center}:host([position=bottom-left]) .dialog,:host([position=bottom-right]) .dialog,:host([position=bottom]) .dialog{align-items:flex-end}:host([position=bottom-left]) .dialog,:host([position=left]) .dialog,:host([position=top-left]) .dialog{justify-content:flex-start}:host([position=bottom]) .dialog,:host([position=center]) .dialog,:host([position=top]) .dialog{justify-content:center}:host([position=bottom-right]) .dialog,:host([position=right]) .dialog,:host([position=top-right]) .dialog{justify-content:flex-end}:host([position=top]){--mds-modal-window-height:auto;align-items:flex-start;justify-content:center}:host([position=top]) .window{--mds-modal-window-max-width:100vw;--mds-modal-window-height:auto}:host([position=left]),:host([position=right]){--mds-modal-window-height:100%;--mds-modal-window-max-height:calc(100dvh - var(--mds-modal-window-distance,0)*2)}:host([position=top-left]){align-items:flex-start;justify-content:flex-start}:host([position=top-right]){align-items:flex-start;justify-content:flex-end}:host([position=left]){align-items:center;justify-content:flex-start}:host([position=left]) .action-close{right:calc(var(--spacing,.0025rem)*300);top:calc(var(--spacing,.0025rem)*300)}:host([position=left][opened]) .action-close{opacity:1;pointer-events:auto}:host([position=left]:not([opened])) .action-close{transform:translate(-120%)rotate(-45deg)}:host([position=center]){align-items:center;justify-content:center}:host([position=right]){align-items:center;justify-content:flex-end}:host([position=right]) .action-close{left:calc(var(--spacing,.0025rem)*300);top:calc(var(--spacing,.0025rem)*300)}:host([position=right]:not([opened])) .action-close{transform:translate(120%)rotate(45deg)}:host([position=right][opened]) .action-close{opacity:1;pointer-events:auto}:host([position=bottom-left]){align-items:flex-end;justify-content:flex-start}:host([position=bottom]){--mds-modal-window-height:auto;align-items:flex-end;justify-content:center}:host([position=bottom-right]){align-items:flex-end;justify-content:flex-end}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-modal-transition-duration:0s}:host([pref-contrast=more]){--mds-modal-window-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)),var(--shadow-2xl,0 25px 50px -12px #00000040)}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])) .action-close{--mds-button-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@media (max-width:480px){:host{--mds-modal-window-min-width:0px}:host([position=bottom-left]),:host([position=bottom-right]),:host([position=bottom]),:host([position=center]),:host([position=top-left]),:host([position=top-right]),:host([position=top]){--private-modal-width:100vw}:host([position=left]),:host([position=right]){--private-modal-width:calc(100% - var(--private-modal-window-close-margin))}:host([position=bottom-left]),:host([position=bottom-right]),:host([position=center]),:host([position=top-left]),:host([position=top-right]){--mds-modal-window-height:calc(100dvh - var(--private-modal-window-close-margin) - var(--mds-modal-window-distance,0)*2);--mds-modal-window-max-height:var(--mds-modal-window-height)}:host([position=bottom-left]) .dialog,:host([position=bottom-right]) .dialog,:host([position=center]) .dialog,:host([position=top-left]) .dialog,:host([position=top-right]) .dialog{align-items:flex-end}:host([position=bottom]),:host([position=top]){--mds-modal-window-max-height:calc(100dvh - var(--private-modal-window-close-margin) - var(--mds-modal-window-distance,0)*2)}:host([position=bottom-left]) .action-close,:host([position=bottom-right]) .action-close,:host([position=bottom]) .action-close,:host([position=center]) .action-close,:host([position=top-left]) .action-close,:host([position=top-right]) .action-close{right:calc(var(--spacing,.0025rem)*300);top:calc(var(--spacing,.0025rem)*300)}:host([position=top]) .action-close{bottom:calc(var(--spacing,.0025rem)*300);right:calc(var(--spacing,.0025rem)*300)}:host([position=bottom-left][opened]) .action-close,:host([position=bottom-right][opened]) .action-close,:host([position=bottom][opened]) .action-close,:host([position=center][opened]) .action-close,:host([position=top-left][opened]) .action-close,:host([position=top-right][opened]) .action-close,:host([position=top][opened]) .action-close{opacity:1;pointer-events:auto}:host([position=bottom-left]:not([opened])) .action-close,:host([position=bottom-right]:not([opened])) .action-close,:host([position=bottom]:not([opened])) .action-close,:host([position=center]:not([opened])) .action-close,:host([position=top-left]:not([opened])) .action-close,:host([position=top-right]:not([opened])) .action-close{transform:translateY(-120%)rotate(45deg)}:host([position=top]:not([opened])) .action-close{transform:translateY(120%)rotate(-45deg)}}@media not all and (max-width:480px){:host([position=bottom-left]),:host([position=bottom-right]),:host([position=bottom]),:host([position=center]),:host([position=top-left]),:host([position=top-right]),:host([position=top]){--mds-modal-window-height:auto}:host([position=left]),:host([position=right]){--private-modal-width:var(--mds-modal-window-max-width,33%)}:host([position=bottom]),:host([position=center]),:host([position=top]){--private-modal-width:calc(100vw - var(--private-modal-window-close-margin)*2)}:host([position=bottom-left]) .action-close,:host([position=bottom]) .action-close,:host([position=center]) .action-close,:host([position=top-left]) .action-close,:host([position=top]) .action-close{right:calc(var(--spacing,.0025rem)*300);top:calc(var(--spacing,.0025rem)*300)}:host([position=bottom-right]) .action-close,:host([position=top-right]) .action-close{left:calc(var(--spacing,.0025rem)*300);top:calc(var(--spacing,.0025rem)*300)}:host([position=bottom-left][opened]) .action-close,:host([position=bottom-right][opened]) .action-close,:host([position=bottom][opened]) .action-close,:host([position=center][opened]) .action-close,:host([position=top-left][opened]) .action-close,:host([position=top-right][opened]) .action-close,:host([position=top][opened]) .action-close{opacity:1;pointer-events:auto}:host([position=bottom-left]:not([opened])) .action-close,:host([position=bottom]:not([opened])) .action-close,:host([position=center]:not([opened])) .action-close,:host([position=top-left]:not([opened])) .action-close,:host([position=top]:not([opened])) .action-close{transform:translateY(-120%)rotate(45deg)}:host([position=bottom-right]:not([opened])) .action-close,:host([position=top-right]:not([opened])) .action-close{transform:translateY(-120%)rotate(-45deg)}}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-modal-transition-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-modal-window-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)),var(--shadow-2xl,0 25px 50px -12px #00000040)}}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))) .action-close{--mds-button-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}'};var x=t("mds_modal",/** @class */function(){function t(t){var n=this.constructor;var a=this;if(n===x)o(this,t);this.openEvent=i(this,"mdsModalOpen",7);this.showEvent=i(this,"mdsModalShow",7);this.closeEvent=i(this,"mdsModalClose",7);this.hideEvent=i(this,"mdsModalHide",7);this.t=new m({el:p,en:u,es:g,it:b});
|
|
2
2
|
// Initialised on purpose: both readers compare it against '' (the strict boolean
|
|
3
3
|
// rules forbid the truthiness check this used to be), and an undeclared field is
|
|
4
4
|
// `undefined`, not ''. See enableOverflow.
|
|
@@ -30,50 +30,50 @@ this.pressedOnBackdrop=false;this.releasedOnBackdrop=false;this.hasBottom=false;
|
|
|
30
30
|
* If `strict` is selected only the close button can dismiss the component via UI.
|
|
31
31
|
* If `relaxed` is selected the component can be dismissed also by clicking the backdrop area: a click
|
|
32
32
|
* pressed and released on the backdrop, once the window has finished its entry.
|
|
33
|
-
*/this.interaction="relaxed";this.updateCSSCustomProps=function(){var t;if(typeof window==="undefined")return;var o=window.getComputedStyle(
|
|
33
|
+
*/this.interaction="relaxed";this.updateCSSCustomProps=function(){var t;if(typeof window==="undefined")return;var o=window.getComputedStyle(a.host);a.cssTransitionDuration=(t=o.getPropertyValue("--mds-modal-transition-duration"))!==null&&t!==void 0?t:"500"};this.stopIntroAnimationWindow=function(){a.entering=false;a.setContentOverflow("auto");a.showEvent.emit();clearTimeout(a.animationDelayTimeout)};this.stopOutroAnimationWindow=function(){a.hideEvent.emit();clearTimeout(a.animationDelayTimeout)};this.disableOverflow=function(){if(typeof document!=="undefined"){if(document.body.style.overflow!==""){a.bodyOverflow=document.body.style.overflow}document.body.style.overflow="hidden"}};this.enableOverflow=function(){if(typeof document!=="undefined"){if(a.bodyOverflow!==""){document.body.style.overflow=a.bodyOverflow}else{document.body.style.removeProperty("overflow")}}};
|
|
34
34
|
// Freeze the content scroll container (overflow:hidden) for the whole slide,
|
|
35
35
|
// re-enabling it only once the window's transform transition has finished. A
|
|
36
36
|
// live overflow:auto with overflowing content janks the transform. Applied
|
|
37
37
|
// inline on the element on purpose: toggling it via a host attribute + CSS
|
|
38
38
|
// selector triggers a shadow-wide style recalc at the settle frame, which is
|
|
39
39
|
// what caused the visible jump.
|
|
40
|
-
this.setContentOverflow=function(t){if(
|
|
40
|
+
this.setContentOverflow=function(t){if(a.windowContentWrapper){a.windowContentWrapper.style.overflow=t}};this.handleWindowTransitionEnd=function(t){if(t.propertyName!=="transform"){return}if(a.opened){a.stopIntroAnimationWindow()}else{a.stopOutroAnimationWindow()}};this.animateOpenWindow=function(){a.entering=true;a.setContentOverflow("hidden");clearTimeout(a.animationDelayTimeout);
|
|
41
41
|
// Fallback only: `handleWindowTransitionEnd` is the primary settle. The
|
|
42
42
|
// buffer keeps this from firing before the transition actually ends.
|
|
43
|
-
|
|
43
|
+
a.animationDelayTimeout=setTimeout(a.stopIntroAnimationWindow.bind(a),d(a.cssTransitionDuration)+100)};this.animateCloseWindow=function(){a.setContentOverflow("hidden");clearTimeout(a.animationDelayTimeout);a.animationDelayTimeout=setTimeout(a.stopOutroAnimationWindow.bind(a),d(a.cssTransitionDuration)+100)};this.setTouchStart=function(t){a.touchStartX=t.touches[0].clientX;a.touchStartY=t.touches[0].clientY};
|
|
44
44
|
// a swipe is one more way to dismiss the modal: `strict` vetoes it, as it does Esc and the
|
|
45
45
|
// backdrop
|
|
46
|
-
this.setTouchEnd=function(t){if(
|
|
46
|
+
this.setTouchEnd=function(t){if(a.interaction==="strict")return;var o=t.changedTouches[0].clientX;var i=t.changedTouches[0].clientY;var n=a.touchStartX-o;var e=a.touchStartY-i;
|
|
47
47
|
// if is NOT a diagonal swipe
|
|
48
|
-
if(Math.abs(
|
|
48
|
+
if(Math.abs(n)>Math.abs(e)){if(a.position==="right"&&n>0)return;if(a.position==="left"&&n<0)return;if(Math.abs(n)>Math.abs(a.touchMargin)){a.opened=undefined}}};this.addMobileEvents=function(){a.windowElement.addEventListener("touchstart",a.setTouchStart);a.windowElement.addEventListener("touchend",a.setTouchEnd)};this.updateSlots=function(){a.hasBottom=r(a.host,"bottom");a.hasTop=r(a.host,"top");a.hasWindow=r(a.host,"window");
|
|
49
49
|
// the slotted window is NOT given a role: the `<dialog>` below is the dialog already,
|
|
50
50
|
// opened with showModal(), and a second one inside it reads as a second window
|
|
51
51
|
};
|
|
52
52
|
/**
|
|
53
53
|
* Measures the header and the footer to pad the content: the states change
|
|
54
54
|
* only when a measure differs, so the update pass settles after one render.
|
|
55
|
-
*/this.updateWindowPaddings=function(){var t,o,i,
|
|
55
|
+
*/this.updateWindowPaddings=function(){var t,o,i,n;var e=(t=a.host.shadowRoot)===null||t===void 0?void 0:t.querySelector(".window-header");var s=(o=a.host.shadowRoot)===null||o===void 0?void 0:o.querySelector(".window-footer");var r=(i=e===null||e===void 0?void 0:e.offsetHeight)!==null&&i!==void 0?i:0;var d=(n=s===null||s===void 0?void 0:s.offsetHeight)!==null&&n!==void 0?n:0;if(r!==a.windowHeaderHeight)a.windowHeaderHeight=r;if(d!==a.windowFooterHeight)a.windowFooterHeight=d};this.showDialog=function(){if(!a.dialogEl||a.dialogEl.open){return}
|
|
56
56
|
// `showModal()` promotes the dialog to the top layer, traps focus and inerts
|
|
57
57
|
// the page. `show()` keeps it non-modal so the page behind stays interactive,
|
|
58
58
|
// preserving the legacy `hideBackdrop` click-through behaviour.
|
|
59
|
-
if(!
|
|
59
|
+
if(!a.hideBackdrop){a.dialogEl.showModal()}else{a.dialogEl.show()}
|
|
60
60
|
// Measure here, not only in the lifecycle hooks: until this call the dialog is
|
|
61
61
|
// `display: none`, so a header and a footer measure 0. A modal that mounts
|
|
62
62
|
// already open never renders again on its own, so that 0 would stay and the
|
|
63
63
|
// content would sit under both bars.
|
|
64
|
-
|
|
64
|
+
a.updateWindowPaddings()};this.closeDialog=function(){var t;if((t=a.dialogEl)===null||t===void 0?void 0:t.open){a.dialogEl.close()}};
|
|
65
65
|
// The target of a press or a release that is the dialog itself, not its window contents, is
|
|
66
66
|
// the backdrop area.
|
|
67
|
-
this.handleBackdropPointerDown=function(t){
|
|
67
|
+
this.handleBackdropPointerDown=function(t){a.pressedOnBackdrop=!a.entering&&t.target===a.dialogEl};this.handleBackdropPointerUp=function(t){a.releasedOnBackdrop=t.target===a.dialogEl};
|
|
68
68
|
// The browser sends a click to the nearest common ancestor of the press and the release: a
|
|
69
69
|
// press in a field of the window released on the backdrop, or the other way round, is a click
|
|
70
70
|
// on the dialog too. The modal closes only when both were on the backdrop (#1266).
|
|
71
|
-
this.handleBackdropClick=function(t){var o=
|
|
71
|
+
this.handleBackdropClick=function(t){var o=a.pressedOnBackdrop&&a.releasedOnBackdrop;a.pressedOnBackdrop=false;a.releasedOnBackdrop=false;if(a.interaction==="strict"){return}if(o&&t.target===a.dialogEl){a.opened=undefined}};this.handleCancel=function(t){
|
|
72
72
|
// Take over the native Esc dismissal so `strict` can veto it (and, later, so
|
|
73
73
|
// the outro animation can play).
|
|
74
|
-
t.preventDefault();if(
|
|
74
|
+
t.preventDefault();if(a.interaction==="strict"){return}a.opened=undefined};
|
|
75
75
|
// the built-in close button dismisses the modal whatever the interaction
|
|
76
|
-
this.handleCloseClick=function(){
|
|
76
|
+
this.handleCloseClick=function(){a.opened=undefined}}t.prototype.componentWillLoad=function(){this.updateSlots();if(this.overflow==="auto"&&this.opened){this.disableOverflow()}};t.prototype.componentDidLoad=function(){var t,o;this.windowElement=(t=this.host.shadowRoot)===null||t===void 0?void 0:t.querySelector(".window");this.windowContentWrapper=(o=this.host.shadowRoot)===null||o===void 0?void 0:o.querySelector(".window-content-wrapper");this.updateWindowPaddings();if(this.windowElement!=null){this.addMobileEvents();this.windowElement.addEventListener("transitionend",this.handleWindowTransitionEnd)}this.updateCSSCustomProps();
|
|
77
77
|
// The `opened` watcher does not fire for the initial value, so open the
|
|
78
78
|
// native dialog here when the component mounts already open.
|
|
79
79
|
if(this.opened){this.showDialog();this.animateOpenWindow();this.openEvent.emit()}};t.prototype.componentDidUpdate=function(){if(this.openAfterRender){this.openAfterRender=false;this.showDialog();this.animateOpenWindow();this.openEvent.emit()}
|
|
@@ -89,4 +89,4 @@ this.updateWindowPaddings()};t.prototype.disconnectedCallback=function(){this.en
|
|
|
89
89
|
this.openAfterRender=true;return}this.openAfterRender=false;if(!o){return}this.opened=undefined;this.closeDialog();if(this.overflow==="auto"){this.enableOverflow()}this.animateCloseWindow();this.closeEvent.emit()};t.prototype.handleHideBackdropProp=function(t){if(t===false){this.hideBackdrop=undefined}};
|
|
90
90
|
/**
|
|
91
91
|
* Closes the modal.
|
|
92
|
-
*/t.prototype.close=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.opened=undefined;return[2/*return*/]}))}))};t.prototype.render=function(){var t=this;return n(a,{key:"
|
|
92
|
+
*/t.prototype.close=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.opened=undefined;return[2/*return*/]}))}))};t.prototype.render=function(){var t=this;return n(a,{key:"4fa657c26f027629cbd1df8da0cda4a25940f858","pref-animation":l.state.animation,"pref-contrast":l.state.contrast,"pref-mode":l.state.mode,"pref-theme-scheme":l.state["theme-scheme"]},n("dialog",{key:"d7595ca45712003876da9c50de28bd81e0e4ddde","aria-label":this.accessibleName,class:"dialog",part:"dialog",ref:function(o){return t.dialogEl=o},onPointerDown:this.handleBackdropPointerDown,onPointerUp:this.handleBackdropPointerUp,onClick:this.handleBackdropClick,onCancel:this.handleCancel},n("slot",{key:"074b7b422d2029bacd4865d69aaafdf2048dc4be",name:"window",onSlotchange:this.updateSlots}),!this.hasWindow&&n("div",{key:"fdec1cd887eb09ecc73017e64d3404776908f84f",class:"window",part:"window"},n("div",{key:"5f2f6eaaf28f5e05d6033037d81955239a7ba47a",class:s("window-header",!this.hasTop&&"window-content--empty")},n("slot",{key:"95baad473882f73f97ac36b5bdd9771699183831",name:"top",onSlotchange:this.updateSlots})),n("div",{key:"da5f66a576530dc02c8a80124de33424dfeb21b8",class:"window-content-wrapper"},n("div",{key:"fad382c6b1ccdcbe3b77f3717a4f095df50ae200",class:"window-content",style:{paddingTop:"".concat(this.windowHeaderHeight,"px"),paddingBottom:"".concat(this.windowFooterHeight,"px")}},n("slot",{key:"6a05fe0e7cd31740ad7368b505b857df5509aff2"}))),n("div",{key:"cff0b26e531699c9933d71c534f9badb9ed61364",class:s("window-footer",!this.hasBottom&&"window-content--empty")},n("slot",{key:"0ad9eb5c8906d5ff5f32eb9a2aa126cebc3c65a4",name:"bottom",onSlotchange:this.updateSlots}))),!this.hasWindow&&n("mds-button",{key:"53214b1a180a354b98f973e6fef5d8c2a37f6500","aria-label":this.t.get("close"),class:"action-close",icon:c,variant:"light",tone:"text",size:"xl",onClick:this.handleCloseClick,part:"action-close"})))};Object.defineProperty(t.prototype,"host",{get:function(){return e(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{opened:[{handleOpenProp:0}],hideBackdrop:[{handleHideBackdropProp:0}]}},enumerable:false,configurable:true});return t}());x.style=y()}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as a,e}from"./p-CPibDZjX.js";import{p as i}from"./p-BXkIXROP.js";import{m as r}from"./p-CvUz9jjh.js";import{L as n}from"./p-BkfGbFba.js";const s=class{constructor(a){new.target===s&&t(this,a),this.active=!1,this.position="top"}render(){return a(e,{key:"ce8a6b1cf0aa48d221400d3a03dea438a713c6ce","pref-animation":i.state.animation},a("slot",{key:"b4c349c94eceb3bb68ad665e5c62a84b39282bda"}))}};s.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-input-tip-item:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-input-tip-transition-duration:var(--duration-300,.3s);--private-input-tip-transition-duration:var(--mds-input-tip-transition-duration);--mds-input-tip-active-translate:translate(0,0);--mds-input-tip-background:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-input-tip-field-radius:0px;--mds-input-tip-horizontal-offset-focused:0px;--mds-input-tip-horizontal-offset:calc(var(--spacing,.0025rem)*400);--mds-input-tip-vertical-offset:calc(var(--spacing,.0025rem)*100);display:flex;gap:calc(var(--spacing,.0025rem)*100);justify-content:flex-end;left:var(--mds-input-tip-horizontal-offset,calc(var(--spacing,.0025rem)*400));pointer-events:none;position:absolute;right:var(--mds-input-tip-horizontal-offset,calc(var(--spacing,.0025rem)*400));transform:var(--mds-input-tip-active-translate,translate(0,0));transition-duration:var(--private-input-tip-transition-duration);transition-property:transform;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}:host(:empty){display:none}:host([position=top]){left:calc(var(--mds-input-tip-field-radius) + var(--spacing,.0025rem)*200);right:calc(var(--mds-input-tip-field-radius) + var(--spacing,.0025rem)*200);top:calc(var(--spacing,.0025rem)*300/-2)}:host([position=bottom]){bottom:var(--mds-input-tip-vertical-offset,calc(var(--spacing,.0025rem)*100))}:host([position=bottom][active]:not([active=false])){--mds-input-tip-active-translate:translate(calc(var(--mds-input-tip-horizontal-offset-focused,0px)*-1),var(--mds-input-tip-vertical-offset,calc(var(--spacing,.0025rem)*100)))}:host([position=bottom][active]:not([active=false])) ::slotted(mds-input-tip-item){border-bottom-left-radius:0;border-bottom-right-radius:0}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-input-tip-transition-duration:0s}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-input-tip-transition-duration:0s}}";var o={required:"Απαιτείται",disabled:"Απενεργοποιημένο",readonly:"Μόνο για ανάγνωση"},m={required:"Required",disabled:"Disabled",readonly:"Read only"},d={required:"Requerido",disabled:"Deshabilitado",readonly:"Solo lectura"},p={required:"Obbligatorio",disabled:"Disattivato",readonly:"Sola lettura"};const c=class{constructor(a){new.target===c&&t(this,a),this.t=new n({en:m,el:o,es:d,it:p}),this.variant="required"}handleEcpandedChanged(t){!1===t&&(this.expanded=void 0)}render(){return a(e,{key:"f65a42529c365e01608a5d6314efea1f6ec97533","pref-animation":i.state.animation,"pref-contrast":i.state.contrast},a("div",{key:"91c48e1def9a4dbcb1120e452fe5ed096dace4cc",class:"content"},"text"===this.variant&&a("mds-text",{key:"3596ec6102133fda31969332a066ff232d42891c",typography:"option",truncate:"word"},a("span",{key:"5423dc4bcbe5aa9693db49c60f08eb8c7857935a",class:"text"},a("slot",{key:"95e74c8fbc1312cfc65dca3ba998de28bb0a28f7"}))),"readonly"===this.variant&&a("mds-text",{key:"f8c16b6de00a25001a7fede2264ae4f4f539e3d5",typography:"option",truncate:"word"},a("span",{key:"125bc0f5c5ce7500db750a5a0198dcb1601426dd",class:"text"},this.variant&&this.t.get(this.variant.toString()))),"disabled"===this.variant&&a("mds-text",{key:"8d490ecc65ffe4df574827c1918cd606aa8ee977",typography:"option",truncate:"word"},a("span",{key:"c350437bd4fb1560356fa78a48558a1dbccba6d4",class:"text"},this.variant&&this.t.get(this.variant.toString()))),"required"===this.variant&&a("mds-text",{key:"a0d5ffc9be60f6a2dd706abdd1d1f66e55ced2a4",typography:"option",truncate:"word"},a("span",{key:"bbd13d6cc2ca79ccac4a258dc321ee01da99b8ae",class:"text"},this.variant&&this.t.get(this.variant.toString()))),"required-success"===this.variant&&a("span",{key:"84f787b4ff8e726083978361f15d7b0b3e8c8e11",class:"icon",innerHTML:r}),("count-almost"===this.variant||"count-almost-full"===this.variant||"count-empty"===this.variant||"count-full"===this.variant||"count-incomplete"===this.variant)&&a("mds-text",{key:"5154d22c55fe7e0b2490848f91fa2ed2c9a133d1",typography:"option",truncate:"word"},a("span",{key:"f8b4c192c015f3b897ce98caa81107c4e19822e1",class:"text"},a("slot",{key:"ff7b0a18cc4c804a77ff2e01f03eb06b0f732a65"})))))}static get watchers(){return{expanded:[{handleEcpandedChanged:0}]}}};c.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-input-tip-item-transition-duration:var(--duration-300,.3s);--private-input-tip-item-transition-duration:var(--mds-input-tip-item-transition-duration);--mds-input-tip-item-content-transition-duration:var(--duration-200,.2s);--private-input-tip-item-content-transition-duration:var(--mds-input-tip-item-content-transition-duration);--mds-input-tip-item-background:var(--mds-input-tip-background,rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73))));--mds-input-tip-item-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-input-tip-item-icon-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));align-items:center;background-color:var(--mds-input-tip-item-background,rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));color:var(--mds-input-tip-item-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));display:flex;height:calc(var(--spacing,.0025rem)*300);justify-content:center;min-width:calc(var(--spacing,.0025rem)*300);padding:0;pointer-events:none;position:static;text-align:center;transform:translate(0);transition-duration:var(--private-input-tip-item-transition-duration);transition-property:background-color,border-radius,color,padding-left,padding-right,transform;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));-webkit-user-select:none;user-select:none}mds-text{display:flex;place-self:center}.content{display:grid;grid-template-columns:0fr;opacity:0;overflow:hidden;transition-duration:var(--private-input-tip-item-content-transition-duration);transition-property:grid-template-columns,opacity;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.content,.icon{height:calc(var(--spacing,.0025rem)*300)}.icon{display:flex;fill:var(--mds-input-tip-item-icon-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));transform:translateY(-1px);width:calc(var(--spacing,.0025rem)*300)}.icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}:host(:not([expanded])){color:#0000}:host([expanded]){--mds-input-tip-item-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}:host([expanded]) .content{grid-template-columns:1fr;opacity:1}:host([variant=required]){--mds-input-tip-item-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}:host([variant=required-success]){--mds-input-tip-item-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:host([variant=readonly]){--mds-input-tip-item-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)))}:host([variant=disabled]){--mds-input-tip-item-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-input-tip-item-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-tip-item-icon-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)))}:host([variant=count-empty]){--mds-input-tip-item-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-input-tip-item-background:rgb(var(--magma-info-wash-strong,var(--status-info-08,168 219 242)))}:host([variant=count-incomplete]){--mds-input-tip-item-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-input-tip-item-background:rgb(var(--magma-success-wash-strong,var(--status-success-08,165 225 186)))}:host([variant=count-almost]){--mds-input-tip-item-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-input-tip-item-background:rgb(var(--magma-warning-wash-strong,var(--status-warning-08,255 205 57)))}:host([variant=count-almost-full]){--mds-input-tip-item-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-input-tip-item-background:rgb(var(--magma-danger-wash-strong,var(--status-error-08,254 198 194)))}:host([variant=count-full]){--mds-input-tip-item-color:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-tip-item-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-input-tip-item-transition-duration:0s;--private-input-tip-item-content-transition-duration:0s}:host([pref-contrast=more]):host([variant=count-empty]){--mds-input-tip-item-color:rgb(var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-tip-item-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)))}:host([pref-contrast=more]):host([variant=count-incomplete]){--mds-input-tip-item-color:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-tip-item-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:host([pref-contrast=more]):host([variant=count-almost]){--mds-input-tip-item-color:rgb(var(--magma-warning-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-tip-item-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)))}:host([pref-contrast=more]):host([variant=count-almost-full]){--mds-input-tip-item-color:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-tip-item-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-input-tip-item-transition-duration:0s;--private-input-tip-item-content-transition-duration:0s}}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=count-empty]){--mds-input-tip-item-color:rgb(var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-tip-item-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=count-incomplete]){--mds-input-tip-item-color:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-tip-item-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=count-almost]){--mds-input-tip-item-color:rgb(var(--magma-warning-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-tip-item-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=count-almost-full]){--mds-input-tip-item-color:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-tip-item-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}}";export{s as mds_input_tip,c as mds_input_tip_item}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,d as r,h as e,e as a,g as s}from"./p-CPibDZjX.js";import{p as o}from"./p-BXkIXROP.js";const i=class{constructor(e){new.target===i&&t(this,e),this.changedEvent=r(this,"mdsAccordionChange",7),this.multiple=!1,this.disableClose=!1,this.queryItems=()=>this.element.querySelectorAll("mds-accordion-item"),this.announceSelection=()=>{const t=this.queryItems(),r=Array.from(t).map(((t,r)=>t.selected?r:-1)).filter((t=>-1!==t)).toString();r!==this.announcedSelection&&(this.announcedSelection=r,this.changedEvent.emit({children:t,selected:r}))},this.changedChildrenHandler=t=>{const r=this.queryItems();if(this.multiple){if(this.disableClose&&!t.detail.selected&&!Array.from(r).some((r=>r!==t.target&&r.selected))){const e=Array.from(r).find((r=>r===t.target));e&&(e.selected=!0)}this.announceSelection()}else r.forEach((r=>{r.selected=r===t.target&&(t.detail.selected||this.disableClose)})),this.announceSelection()}}componentWillLoad(){const t=this.queryItems();t.forEach(((t,r)=>{""===t.id&&(t.id=`item-${r}`)})),this.announcedSelection=Array.from(t).map(((t,r)=>t.selected?r:-1)).filter((t=>-1!==t)).toString()}selectedEventHandler(t){this.changedChildrenHandler(t)}unselectedEventHandler(t){this.changedChildrenHandler(t)}render(){return e(a,{key:"b3c109c76bc7253e19e8af0322acd688dfe405b2","pref-contrast":o.state.contrast,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},e("slot",{key:"9e4c4e60b22f8461b59a68ab7d0bee7bc225948b"}))}get element(){return s(this)}};i.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-accordion-border-color:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-accordion-border-width:calc(var(--spacing,.0025rem)*50);--mds-accordion-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-accordion-description-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-accordion-duration:var(--duration-300,.3s);--mds-accordion-padding-selected:calc(var(--spacing,.0025rem)*400) 0 calc(var(--spacing,.0025rem)*800) 0;--mds-accordion-padding-unselected:calc(var(--spacing,.0025rem)*400) 0;display:grid}:host([pref-contrast=more]){--mds-accordion-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-accordion-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}";export{i as mds_accordion}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var __spreadArray=this&&this.__spreadArray||function(e,t,i){if(i||arguments.length===2)for(var n=0,r=t.length,a;n<r;n++){if(a||!(n in t)){if(!a)a=Array.prototype.slice.call(t,0,n);a[n]=t[n]}}return e.concat(a||Array.prototype.slice.call(t))};System.register(["./p-
|
|
1
|
+
var __spreadArray=this&&this.__spreadArray||function(e,t,i){if(i||arguments.length===2)for(var n=0,r=t.length,a;n<r;n++){if(a||!(n in t)){if(!a)a=Array.prototype.slice.call(t,0,n);a[n]=t[n]}}return e.concat(a||Array.prototype.slice.call(t))};System.register(["./p-EhfbAdzV.system.js","./p-CzZWts7L.system.js","./p-DGfoeZMw.system.js","./p-pxyGaQ-P.system.js","./p-C0tqOovl.system.js","./p-BcI1w9tp.system.js"],(function(e){"use strict";var t,i,n,r,a,s,o,l,d,h,u,c,f,m,v;return{setters:[function(e){t=e.r;i=e.d;n=e.f;r=e.h;a=e.e;s=e.g;o=e.B},function(e){l=e.L},function(e){d=e.M;h=e.l;u=e.C;c=e.p},function(e){f=e.l},function(e){m=e.m},function(e){v=e.m}],execute:function(){var b=["bevel","notch","round","scoop","square","squircle"];
|
|
2
2
|
/**
|
|
3
3
|
* What a user can pick for the corner axis: a shape, or `default`.
|
|
4
4
|
*
|
|
@@ -7,12 +7,12 @@ var __spreadArray=this&&this.__spreadArray||function(e,t,i){if(i||arguments.leng
|
|
|
7
7
|
* today's default removes the attribute instead of freezing that default into
|
|
8
8
|
* the consumer's markup, which would keep a later change of default from
|
|
9
9
|
* reaching anybody who never chose.
|
|
10
|
-
*/var
|
|
10
|
+
*/var p=__spreadArray(__spreadArray([],b,true),["default"],false);var g="Θέμα";var y={label:g};var S="Theme";var k={label:S};var w="Tema";var x={label:w};var C="Tema";var j={label:C};var _=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-theme-dropdown{gap:calc(var(--spacing,.0025rem)*100);padding:calc(var(--spacing,.0025rem)*400)}.item{--mds-tab-item-default-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));flex-basis:0;flex-grow:1}.item--theme{cursor:pointer}.item--auto,.item--theme{--mds-tab-item-selected-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}"};
|
|
11
11
|
/**
|
|
12
12
|
* `default` is the old name of `business`, the base theme (the `themes` map of
|
|
13
13
|
* semantic.config.ts, #692): the same theme, so an item of either name stands for it. The
|
|
14
14
|
* component keeps `default` as the default of `name` until the next major makes it `business`.
|
|
15
|
-
*/var
|
|
15
|
+
*/var z=function(e,t){var i=function(e){return e==="default"?"business":e};return i(e)===i(t)};var A=e("mds_pref_theme",/** @class */function(){function e(e){var n=this.constructor;var r=this;if(n===A)t(this,e);this.themeChangeEvent=i(this,"mdsPrefThemeChange",7);this.prefChangeEvent=i(this,"mdsPrefChange",7);this.showDropdown=false;this.localStorageAliasThemeName="mdsPrefTheme";this.localStorageAliasThemeScheme="mdsPrefThemeScheme";this.localStorageAliasCornerShape="mdsPrefCornerShape";this.t=new l({el:y,en:k,es:x,it:j});this.clasNameThemeNamePrefix="pref-theme-";this.previousName=null;this.customPropertyAliasThemeScheme="--magma-pref-theme-scheme";this.customPropertyAliasThemeName="--magma-pref-theme";this.schemeSet={light:"pref-theme-scheme-light",dark:"pref-theme-scheme-dark",all:"pref-theme-scheme-all"};
|
|
16
16
|
/**
|
|
17
17
|
* Specifies the theme name attribute
|
|
18
18
|
* A string representing the theme name, in lowercase kebab-case.
|
|
@@ -31,13 +31,13 @@ var __spreadArray=this&&this.__spreadArray||function(e,t,i){if(i||arguments.leng
|
|
|
31
31
|
*/this.storedChoice=function(e,t){var i=localStorage.getItem(e);if(i===null||t(i))return i;localStorage.removeItem(e);return null};
|
|
32
32
|
// a mode value would be taken for a v1 mode by the storage migration, and a `scheme` name
|
|
33
33
|
// would write a `pref-theme-scheme-*` class of the scheme axis
|
|
34
|
-
this.isThemeName=function(e){return e!=null&&/^[a-z]+(-[a-z]+)*$/.test(e)&&!d.includes(e)&&e!=="scheme"&&!e.startsWith("scheme-")};this.isScheme=function(e){return e!=null&&{}.hasOwnProperty.call(
|
|
34
|
+
this.isThemeName=function(e){return e!=null&&/^[a-z]+(-[a-z]+)*$/.test(e)&&!d.includes(e)&&e!=="scheme"&&!e.startsWith("scheme-")};this.isScheme=function(e){return e!=null&&{}.hasOwnProperty.call(r.schemeSet,e)};this.isCornerShape=function(e){return p.includes(e)};
|
|
35
35
|
/**
|
|
36
36
|
* The text of the trigger: the label of the item for the active theme, as the open list
|
|
37
37
|
* shows it, or, when no item matches, the label an item derives from the name.
|
|
38
|
-
*/this.triggerLabel=function(){var e=Array.from(
|
|
38
|
+
*/this.triggerLabel=function(){var e=Array.from(r.element.querySelectorAll("mds-pref-theme-item")).find((function(e){var t,i;return z((i=(t=e.name)!==null&&t!==void 0?t:e.getAttribute("name"))!==null&&i!==void 0?i:"default",r.name)}));return(e===null||e===void 0?void 0:e.label)||(e===null||e===void 0?void 0:e.getAttribute("label"))||f(r.name)};this.toggleDropdown=function(){r.showDropdown=!r.showDropdown};this.hideThemeDropdownSelect=function(){r.showDropdown=false};this.changeThemeItem=function(){r.themeItems.forEach((function(e){e.selected=false}))};
|
|
39
39
|
// the items, read again when they change, mark the theme in place
|
|
40
|
-
this.checkThemeSelect=function(){
|
|
40
|
+
this.checkThemeSelect=function(){r.themeItems=r.element.querySelectorAll("mds-pref-theme-item");r.themeItems.forEach((function(e){e.selected=z(e.name,r.name)}))};
|
|
41
41
|
/**
|
|
42
42
|
* The scheme a theme is applied with: the one mode its stylesheet declares on `<html>`
|
|
43
43
|
* (`--magma-color-modes`, printed from `color.modes` of the theme file, #1274), or else the
|
|
@@ -48,18 +48,18 @@ this.checkThemeSelect=function(){n.themeItems=n.element.querySelectorAll("mds-pr
|
|
|
48
48
|
*/this.appliedSchemeOf=function(e,t){var i;if(!o.isBrowser||typeof getComputedStyle!=="function")return t;var n=document.documentElement;if(n.getAttribute("data-theme-name")!==e)n.setAttribute("data-theme-name",e);return(i=h(getComputedStyle(n).getPropertyValue(u)))!==null&&i!==void 0?i:t};this.setTheme=function(e,t){
|
|
49
49
|
// a theme the component cannot write is ignored, neither applied nor stored: it used to throw,
|
|
50
50
|
// and an unknown scheme was written as a class named `undefined` and stored (#825)
|
|
51
|
-
if(!
|
|
51
|
+
if(!r.isThemeName(e)){console.warn('mds-pref-theme: ignoring the invalid theme name "'.concat(e,'", a kebab-case name that is no mode or scheme name'));return}if(!r.isScheme(t)){console.warn('mds-pref-theme: ignoring the invalid scheme "'.concat(t,'", use one of: ').concat(Object.keys(r.schemeSet).join(", ")));return}r.name=e;r.scheme=t;
|
|
52
52
|
// the scheme it is applied with; the storage keeps the pick, so a theme that stops declaring
|
|
53
53
|
// a mode is not held to it by an old visit
|
|
54
|
-
var i=
|
|
54
|
+
var i=r.appliedSchemeOf(e,t);
|
|
55
55
|
// every render comes here (the storage is read again, so a pick made in another instance is
|
|
56
56
|
// followed): only a change is applied and announced, and the first application, the one of
|
|
57
57
|
// load, is no change. It used to emit mdsPrefChange on every render
|
|
58
|
-
var
|
|
58
|
+
var n="".concat(e,"/").concat(i);if(n===r.appliedTheme)return;var a=r.appliedTheme===undefined;r.appliedTheme=n;localStorage.setItem(r.localStorageAliasThemeName,r.name);localStorage.setItem(r.localStorageAliasThemeScheme,r.scheme);if(typeof document!=="undefined"){var s=document.querySelector("html");
|
|
59
59
|
// cleanup previeous selection
|
|
60
|
-
for(var o in
|
|
60
|
+
for(var o in r.schemeSet){if({}.hasOwnProperty.call(r.schemeSet,o)){s===null||s===void 0?void 0:s.classList.remove(r.schemeSet[o])}}if(r.previousName!==null&&r.previousName!==""){s===null||s===void 0?void 0:s.classList.remove(r.clasNameThemeNamePrefix+r.previousName)}
|
|
61
61
|
// set new selection
|
|
62
|
-
s===null||s===void 0?void 0:s.setAttribute("data-theme-name",
|
|
62
|
+
s===null||s===void 0?void 0:s.setAttribute("data-theme-name",r.name);s===null||s===void 0?void 0:s.classList.add(r.schemeSet[i]);s===null||s===void 0?void 0:s.classList.add(r.clasNameThemeNamePrefix+r.name);s===null||s===void 0?void 0:s.style.setProperty(r.customPropertyAliasThemeName,r.name);s===null||s===void 0?void 0:s.style.setProperty(r.customPropertyAliasThemeScheme,i);r.previousName=r.name}c.state["theme-scheme"]=i;if(!a){r.prefChangeEvent.emit({preference:"theme"})}};
|
|
63
63
|
/**
|
|
64
64
|
* Apply a corner choice, or do nothing at all when there is none: an unset prop
|
|
65
65
|
* with nothing in storage must leave the page exactly as the stylesheet ships
|
|
@@ -70,9 +70,9 @@ s===null||s===void 0?void 0:s.setAttribute("data-theme-name",n.name);s===null||s
|
|
|
70
70
|
* only because no CSS block defines a theme called `default`. Here the default
|
|
71
71
|
* IS a live block, so writing it would freeze today's default into the
|
|
72
72
|
* consumer's page - `default` removes the attribute instead.
|
|
73
|
-
*/this.setCornerShape=function(e){if(e===undefined||e===null){return}if(!
|
|
73
|
+
*/this.setCornerShape=function(e){if(e===undefined||e===null){return}if(!r.isCornerShape(e)){console.warn('mds-pref-theme: ignoring the invalid corner shape "'.concat(e,'", use one of: ').concat(p.join(", ")));return}r.cornerShape=e;
|
|
74
74
|
// as for the theme: applied and announced on a change only
|
|
75
|
-
if(e===
|
|
75
|
+
if(e===r.appliedCornerShape)return;var t=r.appliedCornerShape===undefined;r.appliedCornerShape=e;localStorage.setItem(r.localStorageAliasCornerShape,e);if(typeof document!=="undefined"){var i=document.querySelector("html");if(e==="default"){i===null||i===void 0?void 0:i.removeAttribute("data-corner-shape")}else{i===null||i===void 0?void 0:i.setAttribute("data-corner-shape",e)}}c.state["corner-shape"]=e==="default"?undefined:e;if(!t){r.prefChangeEvent.emit({preference:"corner-shape"})}}}
|
|
76
76
|
/*
|
|
77
77
|
* A `name`, `scheme` or `cornerShape` set from a script is stored, as a pick is. Every render
|
|
78
78
|
* reads the storage back before the props, so that an instance follows a pick made in another
|
|
@@ -81,11 +81,11 @@ if(e===n.appliedCornerShape)return;var t=n.appliedCornerShape===undefined;n.appl
|
|
|
81
81
|
* refuse to apply is not stored.
|
|
82
82
|
*/e.prototype.handleNameChange=function(e){if(e==null||!/^[a-z]+(-[a-z]+)*$/.test(e))return;
|
|
83
83
|
// the names the render refuses too: the mode values and the ones of the scheme classes
|
|
84
|
-
if(d.includes(e)||e==="scheme"||e.startsWith("scheme-"))return;localStorage.setItem(this.localStorageAliasThemeName,e)};e.prototype.handleSchemeChange=function(e){if(e==null||!{}.hasOwnProperty.call(this.schemeSet,e))return;localStorage.setItem(this.localStorageAliasThemeScheme,e)};e.prototype.handleCornerShapeChange=function(e){if(e==null||!
|
|
84
|
+
if(d.includes(e)||e==="scheme"||e.startsWith("scheme-"))return;localStorage.setItem(this.localStorageAliasThemeName,e)};e.prototype.handleSchemeChange=function(e){if(e==null||!{}.hasOwnProperty.call(this.schemeSet,e))return;localStorage.setItem(this.localStorageAliasThemeScheme,e)};e.prototype.handleCornerShapeChange=function(e){if(e==null||!p.includes(e)){return}localStorage.setItem(this.localStorageAliasCornerShape,e)};e.prototype.connectedCallback=function(){var e=this;if(!o.isBrowser)return;
|
|
85
85
|
// the trigger shows the label of an item: render again when one is renamed, relabelled
|
|
86
86
|
// (a page that switches language) or added, as the items reflect both attributes. Set up
|
|
87
87
|
// on every connection, since a move disconnects the host without loading it again
|
|
88
88
|
this.itemsObserver=new MutationObserver((function(){return n(e.element)}));this.itemsObserver.observe(this.element,{attributeFilter:["label","name"],childList:true,subtree:true})};e.prototype.componentDidLoad=function(){this.checkThemeSelect()};e.prototype.disconnectedCallback=function(){var e;(e=this.itemsObserver)===null||e===void 0?void 0:e.disconnect();this.itemsObserver=undefined};e.prototype.componentWillRender=function(){var e,t,i;this.userThemeName=this.storedChoice(this.localStorageAliasThemeName,this.isThemeName);this.userThemeScheme=this.storedChoice(this.localStorageAliasThemeScheme,this.isScheme);this.setTheme((e=this.userThemeName)!==null&&e!==void 0?e:this.name,(t=this.userThemeScheme)!==null&&t!==void 0?t:this.scheme);this.userCornerShape=this.storedChoice(this.localStorageAliasCornerShape,this.isCornerShape);this.setCornerShape((i=this.userCornerShape)!==null&&i!==void 0?i:this.cornerShape)};
|
|
89
89
|
// A pick reaches the component from any item, one added after load too: the listener sits on
|
|
90
90
|
// the host, where the event of the item bubbles, instead of on each item found on load (#826)
|
|
91
|
-
e.prototype.handleItemSelect=function(e){this.changeThemeItem();this.currentSelectedItem=e.target;this.currentSelectedItem.selected=true;var t=e.detail.name.toLowerCase();var i=e.detail.scheme.toLowerCase();var n=this.isThemeName(t)&&this.isScheme(i)?this.appliedSchemeOf(t,i):i;this.themeChangeEvent.emit({name:t,scheme:n});this.showDropdown=false;this.setTheme(t,i)};e.prototype.render=function(){return r(a,{key:"
|
|
91
|
+
e.prototype.handleItemSelect=function(e){this.changeThemeItem();this.currentSelectedItem=e.target;this.currentSelectedItem.selected=true;var t=e.detail.name.toLowerCase();var i=e.detail.scheme.toLowerCase();var n=this.isThemeName(t)&&this.isScheme(i)?this.appliedSchemeOf(t,i):i;this.themeChangeEvent.emit({name:t,scheme:n});this.showDropdown=false;this.setTheme(t,i)};e.prototype.render=function(){return r(a,{key:"c91c93e4a71ab286c99d99c30ab06cd2bd5023ff"},r("div",{key:"0ade8d5b241d82957604bf157412c2dc9b9aece5",class:"menu"},r("mds-text",{key:"beab5a66ec0a4e7917c4ff6914838a3e89bc3d62",class:"info",typography:"caption"},r("b",{key:"c7872cdbc74bb66d5edd62bba8416e3bb2497748"},this.t.get("label"))),r("mds-tab",{key:"f1c1c94e30505b5ba732488521ce1b3b8e47fb93",fill:true,size:this.size},r("mds-tab-item",{key:"6123a74291764fa98107d815933c5f5e55b3593c",selected:true,onClick:this.toggleDropdown,expanded:this.showDropdown,id:"mds-pref-theme-nav",class:"item item--theme","icon-position":"right",icon:this.showDropdown?v:m,label:this.triggerLabel()}))),r("mds-dropdown",{key:"bd15eb1e9a12eb6c92796a2b51ff092e81b89fc6",class:"mds-pref-theme-dropdown",target:"#mds-pref-theme-nav",interaction:"none",visible:this.showDropdown,onMdsDropdownHide:this.hideThemeDropdownSelect},r("slot",{key:"a7cc6d22fe922e78149175283addcbe1ccf8f75c",onSlotchange:this.checkThemeSelect})))};Object.defineProperty(e.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{name:[{handleNameChange:0}],scheme:[{handleSchemeChange:0}],cornerShape:[{handleCornerShapeChange:0}]}},enumerable:false,configurable:true});return e}());A.style=_()}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,d as a,h as e,e as r,g as s,B as i}from"./p-CPibDZjX.js";import{c as o}from"./p-ChV9xqsO.js";import{L as n}from"./p-BkfGbFba.js";import{p as d}from"./p-BXkIXROP.js";import{h as l,o as h}from"./p-AEckDMXh.js";var c={batchActions:"Επιλεγμένα στοιχεία"},b={batchActions:"Selected items"},m={batchActions:"Elementos seleccionados"},u={batchActions:"Elementi selezionati"};const f=class{constructor(e){new.target===f&&t(this,e),this.selectionEvent=a(this,"mdsTableSelectionChange",7),this.hasBatchActions=!1,this.cellsWidth=0,this.selectedRows=[],this.t=new n({el:c,en:b,es:m,it:u}),this.sorting="internal",this.selectionQueued=!1,this.selectionAnnounced=!1,this.countingOnItsOwn=!1,this.countSelection=()=>{this.countingOnItsOwn=!0,this.updateSelection(),this.countingOnItsOwn=!1},this.updateInteractive=()=>{var t;this.body&&(this.body.interactive=this.interactive),null===(t=this.rows)||void 0===t||t.forEach((t=>{t.interactive=this.interactive}))},this.updateCellsSize=()=>{var t,a;const e=null===(t=this.rows)||void 0===t?void 0:t[0];if(!e)return;const r=e.querySelectorAll("mds-table-cell"),s=null===(a=e.shadowRoot)||void 0===a?void 0:a.querySelector(".selection-cell");this.cellsWidth=null!=s?s.offsetWidth:0,r.forEach((t=>{this.cellsWidth+=t.offsetWidth}))},this.hasActions=()=>(this.updateCellsSize(),null!==this.host.querySelector('mds-table-row > [slot="action"]')),this.handleSelection=()=>{var t;null===(t=this.rows)||void 0===t||t.forEach((t=>{t.selectable=this.selectable}))},this.watchActions=()=>{var t;if(i.isBrowser){if(!this.scrollWrapper){const a=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".table-wrapper");if(!a)return;this.scrollWrapper=a,this.scrollWrapper.addEventListener("scroll",this.handleActions),this.resizeObserver=new ResizeObserver(this.handleActions),this.resizeObserver.observe(this.host)}this.handleActions()}},this.handleActions=()=>{var t;if(!this.scrollWrapper)return;this.updateCellsSize();const a=this.scrollWrapper.offsetWidth+this.scrollWrapper.scrollLeft<this.cellsWidth;null===(t=this.rows)||void 0===t||t.forEach((t=>{t.overlayActions=a}))},this.querySlottedElements=()=>{var t;this.body=this.host.querySelector("mds-table-body"),this.footer=this.host.querySelector("mds-table-footer"),this.header=this.host.querySelector("mds-table-header"),this.rows=this.host.querySelectorAll("mds-table-row"),this.body&&(null===(t=this.tableBodyObserver)||void 0===t||t.observe(this.body,{childList:!0}))},this.updateBatchActions=()=>{this.hasBatchActions=l(this.host,"batch-action")},this.updateSlottedElements=()=>{this.querySlottedElements(),this.updateInteractive(),this.handleSelection(),this.updateActions(),this.countSelection()}}onTableInteractive(){this.updateInteractive()}onTableSelectable(t){this.handleSelection(),this.header&&(this.header.selectable=t),this.footer&&(this.footer.selectable=t),this.countSelection()}async updateSelection(){var t,a;if(!this.selectable||!this.rows)return;if(this.selectionAnnounced||(this.selectionAnnounced=!this.countingOnItsOwn),this.selectionQueued)return;this.selectionQueued=!0,await Promise.resolve(),this.selectionQueued=!1;const e=this.selectionAnnounced;this.selectionAnnounced=!1;const r=this.rows,s=[];r.forEach(((t,a)=>{t.selected&&s.push({index:a,value:t.value})})),this.selectedRows=s,e&&this.selectionEvent.emit({rows:this.selectedRows}),null===(a=null===(t=this.header)||void 0===t?void 0:t.setSelection)||void 0===a||a.call(t,this.selectedRows.length,r.length),this.selection=this.selectedRows.length>0,this.body&&(this.body.selection=this.selection),r.forEach((t=>{t.selection=this.selection}))}async updateActions(){var t,a;const e=this.hasActions();null===(a=null===(t=this.header)||void 0===t?void 0:t.setActions)||void 0===a||a.call(t,e),e&&this.watchActions()}async selectAll(t=!0){this.selectable&&this.rows&&(this.rows.forEach((a=>{a.selected=t})),this.updateSelection())}componentWillLoad(){this.updateBatchActions(),h(this.host,this.updateBatchActions),"undefined"!=typeof MutationObserver&&(this.tableBodyObserver=new MutationObserver((()=>{this.updateSlottedElements()}))),this.querySlottedElements()}componentDidLoad(){this.footer&&(this.footer.selectable=this.selectable),this.header&&(this.header.selectable=this.selectable),this.updateActions(),this.countSelection()}connectedCallback(){this.updateActions()}disconnectedCallback(){var t,a,e;null===(t=this.scrollWrapper)||void 0===t||t.removeEventListener("scroll",this.handleActions),null===(a=this.resizeObserver)||void 0===a||a.disconnect(),this.scrollWrapper=void 0,this.resizeObserver=void 0,null===(e=this.tableBodyObserver)||void 0===e||e.disconnect()}render(){return e(r,{key:"3be5fab9c8dfb0e2c4871b5384385cb0f0b485ef","pref-animation":d.state.animation,"pref-contrast":d.state.contrast,"pref-mode":d.state.mode,"pref-theme-scheme":d.state["theme-scheme"]},e("div",{key:"ff58bea00847dd98fc4f4d7b9090a84b38116a22",class:"table-wrapper",part:"table-wrapper"},e("table",{key:"8860e1f321fda37a2cb96470f0cef20d78fd2f4d",class:o("table",this.interactive&&"table--interactive"),role:"table",part:"table"},e("slot",{key:"2630110678e9a7e9c0777f3087496a5145defc04",onSlotchange:this.updateSlottedElements}))),this.selectable&&this.hasBatchActions&&e("div",{key:"1d67c7c52fe5b050e87809524dcbdabbc80270a2",class:o("batch-actions-wrapper",this.selectedRows.length>0?"batch-actions-wrapper--has-selected-rows":""),part:"batch-actions-wrapper"},e("div",{key:"dc8da59b865b0ee085e0499a018c9ee799e9c077",class:"batch-actions",part:"batch-actions"},e("div",{key:"6779fe5dafd70aee12b1ebbb374cb02575cb1c57",class:"batch-actions-header"},e("mds-text",{key:"31408a6a4046ac7065d780e0994ae3b92008a122",class:"batch-actions-label",typography:"label"},this.t.get("batchActions")),e("mds-badge",{key:"0b74e751a51ff5210043595f01f57f222af03c1d",label:`${this.selectedRows.length}`,variant:"dark",tone:"outline",typography:"label"})),e("slot",{key:"f4828bb11710d02bef898f6677342afe665898bc",name:"batch-action"}))))}get host(){return s(this)}static get watchers(){return{interactive:[{onTableInteractive:0}],selectable:[{onTableSelectable:0}]}}};f.style='@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-table-body,mds-table-footer,mds-table-header):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-table-transition-duration:var(--duration-300,.3s);--private-table-transition-duration:var(--mds-table-transition-duration);--mds-table-actions-gap:calc(var(--spacing,.0025rem)*200);--mds-table-background-alt:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));--mds-table-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--magma-field-fill:var(--magma-surface-default,var(--surface-neutral-default,242 242 242));--mds-table-border-color:rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219)));--mds-table-border-width:calc(var(--spacing,.0025rem)*50);--mds-table-cell-padding:calc(var(--spacing,.0025rem)*400);--mds-table-color-alt:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-table-separator-color:rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219)));--mds-table-batch-actions-width:calc(var(--spacing,.0025rem)*4800);--private-cell-border-color:var(--mds-table-separator-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))));--private-cell-border-width:var(--mds-table-border-width);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-background-alt);border-color:var(--mds-table-border-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))));border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);border:var(--mds-table-border-width) solid var(--mds-table-border-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))))!important;display:flex;overflow:hidden;transition-duration:var(--duration-200,.2s);transition-property:background-color,border-color,color}.table-wrapper{background-color:rgb(var(--magma-surface-sunken,var(--surface-neutral-sunken,232 232 232)));corner-shape:inherit;display:flex;overflow:auto;width:100%}.table{border-collapse:initial;border-spacing:0;width:100%}.batch-actions-wrapper{corner-shape:inherit;display:flex;flex-shrink:0;max-width:0;transition-duration:var(--private-table-transition-duration);transition-property:max-width;transition-timing-function:var(--ease-in-out-circ,cubic-bezier(.785,.135,.15,.86));width:100%}.batch-actions-wrapper--has-selected-rows{max-width:var(--mds-table-batch-actions-width)}.batch-actions-header{align-items:center;display:flex;justify-content:space-between;padding:calc(var(--spacing,.0025rem)*300)}.batch-actions{background-color:var(--mds-table-background);border-left:var(--mds-table-border-width) solid var(--mds-table-separator-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))));box-sizing:border-box;display:grid;flex-grow:1;gap:calc(var(--spacing,.0025rem)*50);grid-auto-rows:min-content;grid-template-columns:repeat(1,minmax(1px,100%));min-width:var(--mds-table-batch-actions-width);padding:calc(var(--mds-table-cell-padding)/2);width:100%}::slotted([slot=batch-action]){justify-content:start;width:100%}:host([selection]:not([selection=false])){--mds-table-body-background:var(--mds-table-body-background-hover)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-transition-duration:0s}:host([pref-contrast=more][pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-contrast=more][pref-theme-scheme=dark]){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-transition-duration:0s}}@media (prefers-contrast:more){:host([pref-contrast=system][pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-contrast=system][pref-theme-scheme=dark]){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}@media (prefers-color-scheme:dark){:host([pref-contrast=more][pref-mode=system]:not([pref-theme-scheme=light])){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}@media (prefers-contrast:more) and (prefers-color-scheme:dark){:host([pref-contrast=system][pref-mode=system]:not([pref-theme-scheme=light])){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}';export{f as mds_table}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a,h as e,e as i}from"./p-CvLLN-QH.js";import{k as o}from"./p-C4ckbXOl.js";import{L as r}from"./p-CATyfc78.js";import{m as t}from"./p-0FAG3rkw.js";import{m as s}from"./p-DiWN48aq.js";import{m as n}from"./p-Ccz0jCNB.js";import{m as c}from"./p-DFyAGAnn.js";import"./p-DxR4rGsw.js";var l={keyCharacter:"Αλφαβητικός χαρακτήρας {{ character }} που χρησιμοποιείται συνήθως για τη δημιουργία συντομεύσεων πληκτρολογίου",keyFunction:"Πλήκτρο λειτουργίας {{ character }} που χρησιμοποιείται συχνά για καθολικές λειτουργίες ανάλογα με το λειτουργικό σύστημα και την έκδοσή του",keyNumber:"Αριθμητικός χαρακτήρας {{ character }} που χρησιμοποιείται συνήθως για τη δημιουργία συντομεύσεων πληκτρολογίου",modAlt:"Πλήκτρο τροποποίησης Alt{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}} (εναλλακτικό), που χρησιμοποιείται συχνά για συντομεύσεις συστήματος",modControl:"Πλήκτρο τροποποίησης Control ή Ctrl{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}}, που χρησιμοποιείται σε πολλές συντομεύσεις",modMeta:"Πλήκτρο τροποποίησης Meta{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}}, πλήκτρο Windows ⊞ στα Windows ή Command ⌘ στο macOS",modShift:"Πλήκτρο τροποποίησης Shift{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}}, που χρησιμοποιείται για κεφαλαία γράμματα",navArrowDown:"Πλήκτρο πλοήγησης Κάτω βέλος",navArrowLeft:"Πλήκτρο πλοήγησης Αριστερό βέλος",navArrowRight:"Πλήκτρο πλοήγησης Δεξί βέλος",navArrowUp:"Πλήκτρο πλοήγησης Πάνω βέλος",navEnd:"Πλήκτρο πλοήγησης Μετάβαση στο τέλος",navHome:"Πλήκτρο πλοήγησης Μετάβαση στην αρχή",navPageDown:"Πλήκτρο πλοήγησης Κύλιση προς τα κάτω",navPageUp:"Πλήκτρο πλοήγησης Κύλιση προς τα πάνω",numPadEnter:"Πλήκτρο Enter αριθμητικού πληκτρολογίου για επιβεβαίωση ενέργειας",specBackspace:"Ειδικό πλήκτρο Διαγραφή χαρακτήρα",specCapsLock:"Ειδικό πλήκτρο Caps Lock (συνήθως αποφεύγεται στις συντομεύσεις πληκτρολογίου)",specDelete:"Ειδικό πλήκτρο Διαγραφή επιλεγμένου στοιχείου",specEnter:"Ειδικό πλήκτρο Enter για επιβεβαίωση ενέργειας",specEscape:"Ειδικό πλήκτρο Έξοδος ή ακύρωση",specSpace:"Ειδικό πλήκτρο Διάστημα",specTab:"Ειδικό πλήκτρο Tab για εναλλαγή εστίασης μεταξύ στοιχείων"},d={keyCharacter:"Alphabetic character {{ character }} typically used for composing keyboard shortcuts",keyFunction:"Function key {{ character }} often used for global functions depending on the operating system and its version",keyNumber:"Numeric character {{ character }} typically used for composing keyboard shortcuts",modAlt:"Modifier key Alt{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}} (alternative), often used for system shortcuts",modControl:"Modifier key Control or Ctrl{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}}, used in many shortcuts",modMeta:"Modifier key Meta{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}}, Windows ⊞ key on Windows or Command ⌘ on macOS",modShift:"Modifier key Shift{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}}, used for uppercase letters",navArrowDown:"Navigation key Down Arrow",navArrowLeft:"Navigation key Left Arrow",navArrowRight:"Navigation key Right Arrow",navArrowUp:"Navigation key Up Arrow",navEnd:"Navigation key Go to End",navHome:"Navigation key Go to Home",navPageDown:"Navigation key Scroll Down",navPageUp:"Navigation key Scroll Up",numPadEnter:"Keypad Enter key to confirm an action",specBackspace:"Special key Delete character",specCapsLock:"Special key Caps Lock (generally avoided in keyboard shortcuts)",specDelete:"Special key Delete selected item",specEnter:"Special key Enter to confirm an action",specEscape:"Special key Exit or cancel",specSpace:"Special key Space bar",specTab:"Special key Tab to change focus between elements"},h={keyCharacter:"Carácter alfabético {{ character }} típicamente usado para componer atajos de teclado",keyFunction:"Tecla de función {{ character }} a menudo utilizada para funciones globales según el sistema operativo y su versión",keyNumber:"Carácter numérico {{ character }} típicamente usado para componer atajos de teclado",modAlt:"Tecla modificadora Alt{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}} (alternativa), a menudo usada para atajos de sistema",modControl:"Tecla modificadora Control o Ctrl{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}}, utilizada en muchos atajos",modMeta:"Tecla modificadora Meta{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}}, tecla Windows ⊞ en Windows o Command ⌘ en macOS",modShift:"Tecla modificadora Shift{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}}, utilizada para letras mayúsculas",navArrowDown:"Tecla de navegación Flecha abajo",navArrowLeft:"Tecla de navegación Flecha izquierda",navArrowRight:"Tecla de navegación Flecha derecha",navArrowUp:"Tecla de navegación Flecha arriba",navEnd:"Tecla de navegación Ir al final",navHome:"Tecla de navegación Ir al inicio",navPageDown:"Tecla de navegación Desplazar hacia abajo",navPageUp:"Tecla de navegación Desplazar hacia arriba",numPadEnter:"Tecla Enter del teclado numérico para confirmar una acción",specBackspace:"Tecla especial Borrar carácter",specCapsLock:"Tecla especial Bloq Mayús (generalmente evitada en atajos de teclado)",specDelete:"Tecla especial Eliminar elemento seleccionado",specEnter:"Tecla especial Enter para confirmar una acción",specEscape:"Tecla especial Salir o cancelar",specSpace:"Tecla especial Barra espaciadora",specTab:"Tecla especial Tab para cambiar el foco entre elementos"},m={keyCharacter:"Carattere alfabetico {{ character }} tipicamente usato per comporre le scorciatoie da tastiera",keyFunction:"Tasto funzione {{ character }} spesso usato per funzioni globali a seconda del sistema operativo e della sua versione",keyNumber:"Carattere numerico {{ character }} tipicamente usato per comporre le scorciatoie da tastiera",modAlt:"Tasto modificatore Alt{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}} (alternativo), spesso usato per shortcut di sistema",modControl:"Tasto modificatore Control o Ctrl{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}}, usato in molte scorciatoie",modMeta:"Tasto modificatore meta{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}}, Finestra ⊞ su Windows o Command ⌘ su macOS",modShift:"Tasto modificatore Shift{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}}, usato per maiuscole",navArrowDown:"Tasto navigazione Freccia giù",navArrowLeft:"Tasto navigazione Freccia sinistra",navArrowRight:"Tasto navigazione Freccia destra",navArrowUp:"Tasto navigazione Freccia su",navEnd:"Tasto navigazione Vai alla fine",navHome:"Tasto navigazione Vai all'inizio",navPageDown:"Tasto navigazione Scorri in giù",navPageUp:"Tasto navigazione Scorri in su",numPadEnter:"Tasto Invio per confermare una azione dal tastierino numerico",specBackspace:"Tasto speciale Cancella carattere",specCapsLock:"Tasto speciale Blocco maiuscole (generalmente evitato nelle scorciatoie da tastiera)",specDelete:"Tasto speciale Cancella elemento selezionato",specEnter:"Tasto speciale Invio per confermare una azione",specEscape:"Tasto speciale Esci o annulla",specSpace:"Tasto speciale Barra spaziatrice",specTab:"Tasto speciale Tab per cambiare focus tra elementi"},p='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M17.5 3C15.57 3 14 4.57 14 6.5V8h-4V6.5C10 4.57 8.43 3 6.5 3S3 4.57 3 6.5S4.57 10 6.5 10H8v4H6.5C4.57 14 3 15.57 3 17.5S4.57 21 6.5 21s3.5-1.57 3.5-3.5V16h4v1.5c0 1.93 1.57 3.5 3.5 3.5s3.5-1.57 3.5-3.5s-1.57-3.5-3.5-3.5H16v-4h1.5c1.93 0 3.5-1.57 3.5-3.5S19.43 3 17.5 3zM16 8V6.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S18.33 8 17.5 8H16zM6.5 8C5.67 8 5 7.33 5 6.5S5.67 5 6.5 5S8 5.67 8 6.5V8H6.5zm3.5 6v-4h4v4h-4zm7.5 5c-.83 0-1.5-.67-1.5-1.5V16h1.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5zm-11 0c-.83 0-1.5-.67-1.5-1.5S5.67 16 6.5 16H8v1.5c0 .83-.67 1.5-1.5 1.5z"/></svg>',g='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15 5h6v2h-6zM9 5H3v2h4.85l6.92 12H21v-2h-5.07z"/></svg>',v='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M3 3h8v8H3zm10 0h8v8h-8zM3 13h8v8H3zm10 0h8v8h-8z"/></svg>',y='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M22 3H7c-.69 0-1.23.35-1.59.88L0 12l5.41 8.11c.36.53.9.89 1.59.89h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H7.07L2.4 12l4.66-7H22v14zm-11.59-2L14 13.41L17.59 17L19 15.59L15.41 12L19 8.41L17.59 7L14 10.59L10.41 7L9 8.41L12.59 12L9 15.59z"/></svg>',k='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-apple-keyboard-shift" viewBox="0 0 24 24"><path d="M15,18V12H17.17L12,6.83L6.83,12H9V18H15M12,4L22,14H17V20H7V14H2L12,4Z" /></svg>';const w=new Map;w.set("arrowdown",s),w.set("arrowleft",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6l6 6l1.41-1.41z"/></svg>'),w.set("arrowright",c),w.set("arrowup",n),w.set("command",p),w.set("commandleft",p),w.set("commandright",p),w.set("delete",y),w.set("capslock",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 8.41L16.59 13L18 11.59l-6-6l-6 6L7.41 13L12 8.41zM6 18h12v-2H6v2z"/></svg>'),w.set("backspace",y),w.set("enter",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 7v4H5.83l3.58-3.59L8 6l-6 6l6 6l1.41-1.41L5.83 13H21V7z"/></svg>'),w.set("home",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M8 11h3v10h2V11h3l-4-4l-4 4zM4 3v2h16V3H4z"/></svg>'),w.set("end",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M16 13h-3V3h-2v10H8l4 4l4-4zM4 19v2h16v-2H4z"/></svg>'),w.set("option",g),w.set("optionleft",g),w.set("optionright",g),w.set("pagedown",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 15l-1.41-1.41L13 18.17V2h-2v16.17l-4.59-4.59L5 15l7 7l7-7z"/></svg>'),w.set("pageup",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M5 9l1.41 1.41L11 5.83V22h2V5.83l4.59 4.59L19 9l-7-7l-7 7z"/></svg>'),w.set("shift",k),w.set("shiftleft",k),w.set("shiftright",k),w.set("space",'<svg xmlns="http://www.w3.org/2000/svg" id="mdi-keyboard-space" viewBox="0 0 24 24"><path d="M3 15H5V19H19V15H21V19C21 20.1 20.1 21 19 21H5C3.9 21 3 20.1 3 19V15Z" /></svg>'),w.set("tab",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M11.59 7.41L15.17 11H1v2h14.17l-3.59 3.59L13 18l6-6l-6-6l-1.41 1.41zM20 6v12h2V6h-2z"/></svg>'),w.set("windows",v),w.set("windowsleft",v),w.set("windowsright",v);const u=class{constructor(e){a(this,e),this.t=new r({el:l,en:d,es:h,it:m}),this.keyboardKeys=o,this.getTitle=()=>{var a;const e=null!==(a=this.name)&&void 0!==a?a:"";if(""!==e)return this.t.get(this.keyboardKeys[e.toLowerCase()].description,{character:this.keyboardKeys[e.toLowerCase()].alias,keyboardPosition:this.keyboardKeys[e.toLowerCase()].keyboardPosition})}}render(){var a,o,r,s;return e(i,{key:"1c8d64e64357d4ebaab797d3fd182ec6a2b2ebf4",title:this.getTitle()},e("div",{key:"ea07aba65e7d7b5d3d33d942f4a8ef840e7b35a5",class:"physical-key"},this.name&&w.has(this.name)?e("mds-icon",{name:null!==(a=w.get(this.name))&&void 0!==a?a:t,class:"shortcut-icon"}):e("mds-text",{class:"shortcut-text",typography:"detail"},this.name&&e("b",null,this.keyboardKeys[this.name].alias)),this.name&&(null===(o=this.keyboardKeys[this.name])||void 0===o?void 0:o.keyboardPosition)&&e("mds-text",{key:"a82c73dde75bad541107ad0cab84901e964b151c",typography:"label"},(null===(r=this.keyboardKeys[this.name].keyboardPosition)||void 0===r?void 0:r.left)&&"l",(null===(s=this.keyboardKeys[this.name].keyboardPosition)||void 0===s?void 0:s.right)&&"r")))}};u.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-keyboard-key-illumination-dark-size:calc(var(--spacing,.0025rem)*150);--mds-keyboard-key-illumination-light-size:calc(var(--spacing,.0025rem)*50);--mds-keyboard-key-illumination-dark:0 calc(var(--mds-keyboard-key-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) * -1) 0 0 rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/var(--mds-keyboard-key-illumination-dark-opacity,.05)) inset;--mds-keyboard-key-illumination-light:0 var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem)*50)) 0 0 rgb(255 255 255/var(--mds-keyboard-key-illumination-light-opacity,.5)) inset;--mds-keyboard-key-padding:calc(var(--spacing,.0025rem)*100);--mds-keyboard-key-transition-duration:var(--duration-300,.3s);--icon-size:calc(var(--spacing,.0025rem)*600);--key-size-default:calc(var(--icon-size) + calc(var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) * 2) + var(--mds-keyboard-key-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) + var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)));--key-size-pressed:calc(var(--icon-size) + calc(var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) * 2) + calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) * 2));corner-shape:var(--magma-corner-shape,squircle);align-items:flex-end;display:inline-flex;min-height:var(--key-size-default);min-width:var(--key-size-default)}.physical-key{background-color:var(--mds-keyboard-key-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));box-shadow:var(--mds-keyboard-key-illumination-light),var(--mds-keyboard-key-illumination-dark),var(--mds-keyboard-key-illumination-shadow);box-sizing:border-box;corner-shape:inherit;align-items:baseline;display:inline-flex;flex-grow:1;flex-shrink:0;height:var(--key-size-default);justify-content:center;min-width:calc(var(--spacing,.0025rem)*1000);padding:calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) calc(var(--mds-keyboard-key-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100));position:relative;text-align:center;transition-duration:var(--mds-keyboard-key-transition-duration,var(--duration-300,.3s));transition-property:box-shadow,padding,height;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));-webkit-user-select:none;user-select:none}:host(:active) .physical-key,:host([pressed]:not([pressed=false])) .physical-key{--mds-keyboard-key-illumination-dark:0 calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) * -1) 0 0 rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/var(--mds-keyboard-key-illumination-dark-opacity)) inset;box-shadow:var(--mds-keyboard-key-illumination-light),var(--mds-keyboard-key-illumination-dark),var(--mds-keyboard-key-illumination-shadow);height:var(--key-size-pressed);padding:calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))}:host([name=space]) .physical-key{min-width:calc(var(--key-size-default)*2)}mds-badge{background-color:#0000;color:currentColor;margin-left:calc(var(--spacing,.0025rem)*50);padding:0;white-space:nowrap}.shortcut-icon{fill:currentColor}.shortcut-text{color:currentColor;text-transform:capitalize;white-space:nowrap}";export{u as mds_keyboard_key}
|
|
1
|
+
import{r as a,h as e,e as i}from"./p-CPibDZjX.js";import{k as o}from"./p-C4ckbXOl.js";import{L as r}from"./p-BkfGbFba.js";import{m as t}from"./p-0FAG3rkw.js";import{m as s}from"./p-DiWN48aq.js";import{m as n}from"./p-Ccz0jCNB.js";import{m as c}from"./p-DFyAGAnn.js";import"./p-BXkIXROP.js";var l={keyCharacter:"Αλφαβητικός χαρακτήρας {{ character }} που χρησιμοποιείται συνήθως για τη δημιουργία συντομεύσεων πληκτρολογίου",keyFunction:"Πλήκτρο λειτουργίας {{ character }} που χρησιμοποιείται συχνά για καθολικές λειτουργίες ανάλογα με το λειτουργικό σύστημα και την έκδοσή του",keyNumber:"Αριθμητικός χαρακτήρας {{ character }} που χρησιμοποιείται συνήθως για τη δημιουργία συντομεύσεων πληκτρολογίου",modAlt:"Πλήκτρο τροποποίησης Alt{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}} (εναλλακτικό), που χρησιμοποιείται συχνά για συντομεύσεις συστήματος",modControl:"Πλήκτρο τροποποίησης Control ή Ctrl{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}}, που χρησιμοποιείται σε πολλές συντομεύσεις",modMeta:"Πλήκτρο τροποποίησης Meta{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}}, πλήκτρο Windows ⊞ στα Windows ή Command ⌘ στο macOS",modShift:"Πλήκτρο τροποποίησης Shift{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}}, που χρησιμοποιείται για κεφαλαία γράμματα",navArrowDown:"Πλήκτρο πλοήγησης Κάτω βέλος",navArrowLeft:"Πλήκτρο πλοήγησης Αριστερό βέλος",navArrowRight:"Πλήκτρο πλοήγησης Δεξί βέλος",navArrowUp:"Πλήκτρο πλοήγησης Πάνω βέλος",navEnd:"Πλήκτρο πλοήγησης Μετάβαση στο τέλος",navHome:"Πλήκτρο πλοήγησης Μετάβαση στην αρχή",navPageDown:"Πλήκτρο πλοήγησης Κύλιση προς τα κάτω",navPageUp:"Πλήκτρο πλοήγησης Κύλιση προς τα πάνω",numPadEnter:"Πλήκτρο Enter αριθμητικού πληκτρολογίου για επιβεβαίωση ενέργειας",specBackspace:"Ειδικό πλήκτρο Διαγραφή χαρακτήρα",specCapsLock:"Ειδικό πλήκτρο Caps Lock (συνήθως αποφεύγεται στις συντομεύσεις πληκτρολογίου)",specDelete:"Ειδικό πλήκτρο Διαγραφή επιλεγμένου στοιχείου",specEnter:"Ειδικό πλήκτρο Enter για επιβεβαίωση ενέργειας",specEscape:"Ειδικό πλήκτρο Έξοδος ή ακύρωση",specSpace:"Ειδικό πλήκτρο Διάστημα",specTab:"Ειδικό πλήκτρο Tab για εναλλαγή εστίασης μεταξύ στοιχείων"},d={keyCharacter:"Alphabetic character {{ character }} typically used for composing keyboard shortcuts",keyFunction:"Function key {{ character }} often used for global functions depending on the operating system and its version",keyNumber:"Numeric character {{ character }} typically used for composing keyboard shortcuts",modAlt:"Modifier key Alt{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}} (alternative), often used for system shortcuts",modControl:"Modifier key Control or Ctrl{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}}, used in many shortcuts",modMeta:"Modifier key Meta{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}}, Windows ⊞ key on Windows or Command ⌘ on macOS",modShift:"Modifier key Shift{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}}, used for uppercase letters",navArrowDown:"Navigation key Down Arrow",navArrowLeft:"Navigation key Left Arrow",navArrowRight:"Navigation key Right Arrow",navArrowUp:"Navigation key Up Arrow",navEnd:"Navigation key Go to End",navHome:"Navigation key Go to Home",navPageDown:"Navigation key Scroll Down",navPageUp:"Navigation key Scroll Up",numPadEnter:"Keypad Enter key to confirm an action",specBackspace:"Special key Delete character",specCapsLock:"Special key Caps Lock (generally avoided in keyboard shortcuts)",specDelete:"Special key Delete selected item",specEnter:"Special key Enter to confirm an action",specEscape:"Special key Exit or cancel",specSpace:"Special key Space bar",specTab:"Special key Tab to change focus between elements"},h={keyCharacter:"Carácter alfabético {{ character }} típicamente usado para componer atajos de teclado",keyFunction:"Tecla de función {{ character }} a menudo utilizada para funciones globales según el sistema operativo y su versión",keyNumber:"Carácter numérico {{ character }} típicamente usado para componer atajos de teclado",modAlt:"Tecla modificadora Alt{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}} (alternativa), a menudo usada para atajos de sistema",modControl:"Tecla modificadora Control o Ctrl{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}}, utilizada en muchos atajos",modMeta:"Tecla modificadora Meta{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}}, tecla Windows ⊞ en Windows o Command ⌘ en macOS",modShift:"Tecla modificadora Shift{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}}, utilizada para letras mayúsculas",navArrowDown:"Tecla de navegación Flecha abajo",navArrowLeft:"Tecla de navegación Flecha izquierda",navArrowRight:"Tecla de navegación Flecha derecha",navArrowUp:"Tecla de navegación Flecha arriba",navEnd:"Tecla de navegación Ir al final",navHome:"Tecla de navegación Ir al inicio",navPageDown:"Tecla de navegación Desplazar hacia abajo",navPageUp:"Tecla de navegación Desplazar hacia arriba",numPadEnter:"Tecla Enter del teclado numérico para confirmar una acción",specBackspace:"Tecla especial Borrar carácter",specCapsLock:"Tecla especial Bloq Mayús (generalmente evitada en atajos de teclado)",specDelete:"Tecla especial Eliminar elemento seleccionado",specEnter:"Tecla especial Enter para confirmar una acción",specEscape:"Tecla especial Salir o cancelar",specSpace:"Tecla especial Barra espaciadora",specTab:"Tecla especial Tab para cambiar el foco entre elementos"},m={keyCharacter:"Carattere alfabetico {{ character }} tipicamente usato per comporre le scorciatoie da tastiera",keyFunction:"Tasto funzione {{ character }} spesso usato per funzioni globali a seconda del sistema operativo e della sua versione",keyNumber:"Carattere numerico {{ character }} tipicamente usato per comporre le scorciatoie da tastiera",modAlt:"Tasto modificatore Alt{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}} (alternativo), spesso usato per shortcut di sistema",modControl:"Tasto modificatore Control o Ctrl{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}}, usato in molte scorciatoie",modMeta:"Tasto modificatore meta{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}}, Finestra ⊞ su Windows o Command ⌘ su macOS",modShift:"Tasto modificatore Shift{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}}, usato per maiuscole",navArrowDown:"Tasto navigazione Freccia giù",navArrowLeft:"Tasto navigazione Freccia sinistra",navArrowRight:"Tasto navigazione Freccia destra",navArrowUp:"Tasto navigazione Freccia su",navEnd:"Tasto navigazione Vai alla fine",navHome:"Tasto navigazione Vai all'inizio",navPageDown:"Tasto navigazione Scorri in giù",navPageUp:"Tasto navigazione Scorri in su",numPadEnter:"Tasto Invio per confermare una azione dal tastierino numerico",specBackspace:"Tasto speciale Cancella carattere",specCapsLock:"Tasto speciale Blocco maiuscole (generalmente evitato nelle scorciatoie da tastiera)",specDelete:"Tasto speciale Cancella elemento selezionato",specEnter:"Tasto speciale Invio per confermare una azione",specEscape:"Tasto speciale Esci o annulla",specSpace:"Tasto speciale Barra spaziatrice",specTab:"Tasto speciale Tab per cambiare focus tra elementi"},p='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M17.5 3C15.57 3 14 4.57 14 6.5V8h-4V6.5C10 4.57 8.43 3 6.5 3S3 4.57 3 6.5S4.57 10 6.5 10H8v4H6.5C4.57 14 3 15.57 3 17.5S4.57 21 6.5 21s3.5-1.57 3.5-3.5V16h4v1.5c0 1.93 1.57 3.5 3.5 3.5s3.5-1.57 3.5-3.5s-1.57-3.5-3.5-3.5H16v-4h1.5c1.93 0 3.5-1.57 3.5-3.5S19.43 3 17.5 3zM16 8V6.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S18.33 8 17.5 8H16zM6.5 8C5.67 8 5 7.33 5 6.5S5.67 5 6.5 5S8 5.67 8 6.5V8H6.5zm3.5 6v-4h4v4h-4zm7.5 5c-.83 0-1.5-.67-1.5-1.5V16h1.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5zm-11 0c-.83 0-1.5-.67-1.5-1.5S5.67 16 6.5 16H8v1.5c0 .83-.67 1.5-1.5 1.5z"/></svg>',g='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15 5h6v2h-6zM9 5H3v2h4.85l6.92 12H21v-2h-5.07z"/></svg>',v='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M3 3h8v8H3zm10 0h8v8h-8zM3 13h8v8H3zm10 0h8v8h-8z"/></svg>',y='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M22 3H7c-.69 0-1.23.35-1.59.88L0 12l5.41 8.11c.36.53.9.89 1.59.89h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H7.07L2.4 12l4.66-7H22v14zm-11.59-2L14 13.41L17.59 17L19 15.59L15.41 12L19 8.41L17.59 7L14 10.59L10.41 7L9 8.41L12.59 12L9 15.59z"/></svg>',k='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-apple-keyboard-shift" viewBox="0 0 24 24"><path d="M15,18V12H17.17L12,6.83L6.83,12H9V18H15M12,4L22,14H17V20H7V14H2L12,4Z" /></svg>';const w=new Map;w.set("arrowdown",s),w.set("arrowleft",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6l6 6l1.41-1.41z"/></svg>'),w.set("arrowright",c),w.set("arrowup",n),w.set("command",p),w.set("commandleft",p),w.set("commandright",p),w.set("delete",y),w.set("capslock",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 8.41L16.59 13L18 11.59l-6-6l-6 6L7.41 13L12 8.41zM6 18h12v-2H6v2z"/></svg>'),w.set("backspace",y),w.set("enter",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 7v4H5.83l3.58-3.59L8 6l-6 6l6 6l1.41-1.41L5.83 13H21V7z"/></svg>'),w.set("home",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M8 11h3v10h2V11h3l-4-4l-4 4zM4 3v2h16V3H4z"/></svg>'),w.set("end",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M16 13h-3V3h-2v10H8l4 4l4-4zM4 19v2h16v-2H4z"/></svg>'),w.set("option",g),w.set("optionleft",g),w.set("optionright",g),w.set("pagedown",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 15l-1.41-1.41L13 18.17V2h-2v16.17l-4.59-4.59L5 15l7 7l7-7z"/></svg>'),w.set("pageup",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M5 9l1.41 1.41L11 5.83V22h2V5.83l4.59 4.59L19 9l-7-7l-7 7z"/></svg>'),w.set("shift",k),w.set("shiftleft",k),w.set("shiftright",k),w.set("space",'<svg xmlns="http://www.w3.org/2000/svg" id="mdi-keyboard-space" viewBox="0 0 24 24"><path d="M3 15H5V19H19V15H21V19C21 20.1 20.1 21 19 21H5C3.9 21 3 20.1 3 19V15Z" /></svg>'),w.set("tab",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M11.59 7.41L15.17 11H1v2h14.17l-3.59 3.59L13 18l6-6l-6-6l-1.41 1.41zM20 6v12h2V6h-2z"/></svg>'),w.set("windows",v),w.set("windowsleft",v),w.set("windowsright",v);const u=class{constructor(e){new.target===u&&a(this,e),this.t=new r({el:l,en:d,es:h,it:m}),this.keyboardKeys=o,this.getTitle=()=>{var a;const e=null!==(a=this.name)&&void 0!==a?a:"";if(""!==e)return this.t.get(this.keyboardKeys[e.toLowerCase()].description,{character:this.keyboardKeys[e.toLowerCase()].alias,keyboardPosition:this.keyboardKeys[e.toLowerCase()].keyboardPosition})}}render(){var a,o,r,s;return e(i,{key:"260d4bb1c76da1c9b1c6488772dc3b2eb20d25df",title:this.getTitle()},e("div",{key:"79f56473e623f917d5fb39c81577fa8d8b38697d",class:"physical-key"},this.name&&w.has(this.name)?e("mds-icon",{name:null!==(a=w.get(this.name))&&void 0!==a?a:t,class:"shortcut-icon"}):e("mds-text",{class:"shortcut-text",typography:"detail"},this.name&&e("b",null,this.keyboardKeys[this.name].alias)),this.name&&(null===(o=this.keyboardKeys[this.name])||void 0===o?void 0:o.keyboardPosition)&&e("mds-text",{key:"c31a702c91a05848a745f30cb01556c8317e48be",typography:"label"},(null===(r=this.keyboardKeys[this.name].keyboardPosition)||void 0===r?void 0:r.left)&&"l",(null===(s=this.keyboardKeys[this.name].keyboardPosition)||void 0===s?void 0:s.right)&&"r")))}};u.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-keyboard-key-illumination-dark-size:calc(var(--spacing,.0025rem)*150);--mds-keyboard-key-illumination-light-size:calc(var(--spacing,.0025rem)*50);--mds-keyboard-key-illumination-dark:0 calc(var(--mds-keyboard-key-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) * -1) 0 0 rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/var(--mds-keyboard-key-illumination-dark-opacity,.05)) inset;--mds-keyboard-key-illumination-light:0 var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem)*50)) 0 0 rgb(255 255 255/var(--mds-keyboard-key-illumination-light-opacity,.5)) inset;--mds-keyboard-key-padding:calc(var(--spacing,.0025rem)*100);--mds-keyboard-key-transition-duration:var(--duration-300,.3s);--icon-size:calc(var(--spacing,.0025rem)*600);--key-size-default:calc(var(--icon-size) + calc(var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) * 2) + var(--mds-keyboard-key-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) + var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)));--key-size-pressed:calc(var(--icon-size) + calc(var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) * 2) + calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) * 2));corner-shape:var(--magma-corner-shape,squircle);align-items:flex-end;display:inline-flex;min-height:var(--key-size-default);min-width:var(--key-size-default)}.physical-key{background-color:var(--mds-keyboard-key-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));box-shadow:var(--mds-keyboard-key-illumination-light),var(--mds-keyboard-key-illumination-dark),var(--mds-keyboard-key-illumination-shadow);box-sizing:border-box;corner-shape:inherit;align-items:baseline;display:inline-flex;flex-grow:1;flex-shrink:0;height:var(--key-size-default);justify-content:center;min-width:calc(var(--spacing,.0025rem)*1000);padding:calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) calc(var(--mds-keyboard-key-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100));position:relative;text-align:center;transition-duration:var(--mds-keyboard-key-transition-duration,var(--duration-300,.3s));transition-property:box-shadow,padding,height;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));-webkit-user-select:none;user-select:none}:host(:active) .physical-key,:host([pressed]:not([pressed=false])) .physical-key{--mds-keyboard-key-illumination-dark:0 calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) * -1) 0 0 rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/var(--mds-keyboard-key-illumination-dark-opacity)) inset;box-shadow:var(--mds-keyboard-key-illumination-light),var(--mds-keyboard-key-illumination-dark),var(--mds-keyboard-key-illumination-shadow);height:var(--key-size-pressed);padding:calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))}:host([name=space]) .physical-key{min-width:calc(var(--key-size-default)*2)}mds-badge{background-color:#0000;color:currentColor;margin-left:calc(var(--spacing,.0025rem)*50);padding:0;white-space:nowrap}.shortcut-icon{fill:currentColor}.shortcut-text{color:currentColor;text-transform:capitalize;white-space:nowrap}";export{u as mds_keyboard_key}
|