@maggioli-design-system/magma 2.11.0 → 2.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +2 -2
- package/CHANGELOG.md +110 -0
- package/README.md +15 -11
- package/agents/assets.md +7 -6
- package/agents/color.md +8 -4
- package/agents/components.md +3 -2
- package/agents/conventions.md +11 -1
- package/agents/install.md +10 -3
- package/agents/mcp.md +5 -5
- package/agents/patterns/actions.md +11 -9
- package/agents/patterns/app-shell.md +70 -22
- package/agents/patterns/density.md +4 -3
- package/agents/patterns/empty-state.md +5 -7
- package/agents/patterns/previews/actions/banner.dark.webp +0 -0
- package/agents/patterns/previews/actions/banner.light.webp +0 -0
- package/agents/patterns/previews/actions/confirm.dark.webp +0 -0
- package/agents/patterns/previews/actions/confirm.light.webp +0 -0
- package/agents/patterns/previews/actions/danger-zone.dark.webp +0 -0
- package/agents/patterns/previews/actions/danger-zone.light.webp +0 -0
- package/agents/patterns/previews/actions/dismiss-message.light.webp +0 -0
- package/agents/patterns/previews/actions/dismiss.dark.webp +0 -0
- package/agents/patterns/previews/actions/dismiss.light.webp +0 -0
- package/agents/patterns/previews/actions/part-primary.light.webp +0 -0
- package/agents/patterns/previews/actions/stacked.light.webp +0 -0
- package/agents/patterns/previews/app-shell/back-office.dark.webp +0 -0
- package/agents/patterns/previews/app-shell/back-office.html +2 -2
- package/agents/patterns/previews/app-shell/back-office.light.webp +0 -0
- package/agents/patterns/previews/app-shell/many-sections.dark.webp +0 -0
- package/agents/patterns/previews/app-shell/many-sections.html +1 -1
- package/agents/patterns/previews/app-shell/many-sections.light.webp +0 -0
- package/agents/patterns/previews/app-shell/public-service.dark.webp +0 -0
- package/agents/patterns/previews/app-shell/public-service.html +2 -2
- package/agents/patterns/previews/app-shell/public-service.light.webp +0 -0
- package/agents/patterns/previews/app-shell/section-menus.dark.webp +0 -0
- package/agents/patterns/previews/app-shell/section-menus.html +68 -0
- package/agents/patterns/previews/app-shell/section-menus.light.webp +0 -0
- package/agents/patterns/previews/confirm-action/ask-before-sending.dark.webp +0 -0
- package/agents/patterns/previews/confirm-action/ask-before-sending.light.webp +0 -0
- package/agents/patterns/previews/confirm-action/ask-first-many.dark.webp +0 -0
- package/agents/patterns/previews/confirm-action/ask-first-many.light.webp +0 -0
- package/agents/patterns/previews/confirm-action/ask-first.dark.webp +0 -0
- package/agents/patterns/previews/confirm-action/ask-first.light.webp +0 -0
- package/agents/patterns/previews/confirm-action/make-reversible.dark.webp +0 -0
- package/agents/patterns/previews/confirm-action/make-reversible.light.webp +0 -0
- package/agents/patterns/previews/confirm-action/send-as-shown.dark.webp +0 -0
- package/agents/patterns/previews/confirm-action/send-as-shown.light.webp +0 -0
- package/agents/patterns/previews/empty-state/add-the-first.dark.webp +0 -0
- package/agents/patterns/previews/empty-state/add-the-first.html +5 -7
- package/agents/patterns/previews/empty-state/add-the-first.light.webp +0 -0
- package/agents/patterns/previews/empty-state/all-done.dark.webp +0 -0
- package/agents/patterns/previews/empty-state/all-done.html +5 -7
- package/agents/patterns/previews/empty-state/all-done.light.webp +0 -0
- package/agents/patterns/previews/empty-state/clear-filters.dark.webp +0 -0
- package/agents/patterns/previews/empty-state/clear-filters.html +4 -6
- package/agents/patterns/previews/empty-state/clear-filters.light.webp +0 -0
- package/agents/patterns/previews/empty-state/filled-by-others.dark.webp +0 -0
- package/agents/patterns/previews/empty-state/filled-by-others.html +5 -7
- package/agents/patterns/previews/empty-state/filled-by-others.light.webp +0 -0
- package/agents/patterns/previews/empty-state/not-found.dark.webp +0 -0
- package/agents/patterns/previews/empty-state/not-found.html +7 -9
- package/agents/patterns/previews/empty-state/not-found.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/changed-meanwhile.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/changed-meanwhile.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/check-or-repeat.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/content-another-way.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/partial.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/partial.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/retry-action.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/retry-content.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/sign-in-again.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/sign-in-again.light.webp +0 -0
- package/agents/patterns/previews/item-list/documents-of-a-request.dark.webp +0 -0
- package/agents/patterns/previews/item-list/documents-of-a-request.light.webp +0 -0
- package/agents/patterns/previews/item-list/queue-of-a-desk.dark.webp +0 -0
- package/agents/patterns/previews/item-list/queue-of-a-desk.html +1 -1
- package/agents/patterns/previews/item-list/queue-of-a-desk.light.webp +0 -0
- package/agents/patterns/previews/item-list/requests-of-an-office.dark.webp +0 -0
- package/agents/patterns/previews/item-list/requests-of-an-office.light.webp +0 -0
- package/agents/patterns/previews/item-list/requests-to-assign.dark.webp +0 -0
- package/agents/patterns/previews/item-list/requests-to-assign.html +3 -12
- package/agents/patterns/previews/item-list/requests-to-assign.light.webp +0 -0
- package/agents/patterns/previews/labels-and-values/payment-before-paying.dark.webp +0 -0
- package/agents/patterns/previews/labels-and-values/what-is-sent.dark.webp +0 -0
- package/agents/patterns/previews/labels-and-values/what-is-sent.light.webp +0 -0
- package/agents/patterns/previews/list-with-filters/act-on-many.dark.webp +0 -0
- package/agents/patterns/previews/list-with-filters/act-on-many.html +4 -11
- package/agents/patterns/previews/list-with-filters/act-on-many.light.webp +0 -0
- package/agents/patterns/previews/list-with-filters/find-and-open.dark.webp +0 -0
- package/agents/patterns/previews/list-with-filters/find-and-open.html +2 -2
- package/agents/patterns/previews/list-with-filters/find-and-open.light.webp +0 -0
- package/agents/patterns/previews/list-with-filters/show-new-items.dark.webp +0 -0
- package/agents/patterns/previews/list-with-filters/show-new-items.html +3 -3
- package/agents/patterns/previews/list-with-filters/show-new-items.light.webp +0 -0
- package/agents/patterns/previews/loading/await-and-say.dark.webp +0 -0
- package/agents/patterns/previews/loading/await-and-say.html +2 -5
- package/agents/patterns/previews/loading/first-load.dark.webp +0 -0
- package/agents/patterns/previews/loading/first-load.light.webp +0 -0
- package/agents/patterns/previews/loading/keep-while-reloading.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/loading/progress-in-place.light.webp +0 -0
- package/agents/patterns/previews/message-placement/action-done-elsewhere.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/action-done-elsewhere.light.webp +0 -0
- package/agents/patterns/previews/message-placement/action-failed-elsewhere.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/action-failed-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-in-place.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/action-partial-in-place.light.webp +0 -0
- package/agents/patterns/previews/message-placement/app-deadline.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/app-deadline.light.webp +0 -0
- package/agents/patterns/previews/message-placement/app-failed.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/app-failed.html +2 -2
- package/agents/patterns/previews/message-placement/app-failed.light.webp +0 -0
- package/agents/patterns/previews/message-placement/decision.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/decision.light.webp +0 -0
- package/agents/patterns/previews/message-placement/field-error.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/field-error.light.webp +0 -0
- package/agents/patterns/previews/message-placement/field-hint.light.webp +0 -0
- package/agents/patterns/previews/message-placement/field-valid.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/field-valid.light.webp +0 -0
- package/agents/patterns/previews/message-placement/region-failed.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/region-info.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/region-info.light.webp +0 -0
- package/agents/patterns/previews/page-header/contact-being-edited.dark.webp +0 -0
- package/agents/patterns/previews/page-header/contact-being-edited.light.webp +0 -0
- package/agents/patterns/previews/page-header/members-of-a-group.light.webp +0 -0
- package/agents/patterns/previews/page-header/request-from-the-list.dark.webp +0 -0
- package/agents/patterns/previews/record-detail/ask-for-words.dark.webp +0 -0
- package/agents/patterns/previews/record-detail/ask-for-words.html +2 -2
- package/agents/patterns/previews/record-detail/ask-for-words.light.webp +0 -0
- package/agents/patterns/previews/record-detail/edit-data.dark.webp +0 -0
- package/agents/patterns/previews/record-detail/edit-data.html +2 -2
- package/agents/patterns/previews/record-detail/edit-data.light.webp +0 -0
- package/agents/patterns/previews/record-detail/read-the-data.dark.webp +0 -0
- package/agents/patterns/previews/record-detail/read-the-data.html +2 -2
- package/agents/patterns/previews/record-detail/read-the-data.light.webp +0 -0
- package/agents/patterns/previews/record-detail/record-changed.dark.webp +0 -0
- package/agents/patterns/previews/record-detail/record-changed.html +2 -2
- package/agents/patterns/previews/record-detail/record-changed.light.webp +0 -0
- package/agents/patterns/previews/record-detail/run-at-once.dark.webp +0 -0
- package/agents/patterns/previews/record-detail/run-at-once.html +2 -2
- package/agents/patterns/previews/record-detail/run-at-once.light.webp +0 -0
- package/agents/patterns/previews/record-detail/work-on-it.dark.webp +0 -0
- package/agents/patterns/previews/record-detail/work-on-it.html +2 -2
- package/agents/patterns/previews/record-detail/work-on-it.light.webp +0 -0
- package/agents/patterns/previews/rhythm/between-containers.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/between-containers.light.webp +0 -0
- package/agents/patterns/previews/rhythm/between-fields.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/between-fields.light.webp +0 -0
- package/agents/patterns/previews/rhythm/between-groups.light.webp +0 -0
- package/agents/patterns/previews/rhythm/between-sections.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/between-sections.light.webp +0 -0
- package/agents/patterns/previews/rhythm/inline.light.webp +0 -0
- package/agents/patterns/previews/rhythm/inset.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/inset.light.webp +0 -0
- package/agents/patterns/previews/rhythm/title-content.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/title-content.light.webp +0 -0
- package/agents/patterns/previews/surfaces/band.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/band.html +2 -2
- package/agents/patterns/previews/surfaces/band.light.webp +0 -0
- package/agents/patterns/previews/surfaces/canvas.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/canvas.html +2 -2
- package/agents/patterns/previews/surfaces/canvas.light.webp +0 -0
- package/agents/patterns/previews/surfaces/card.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/card.light.webp +0 -0
- package/agents/patterns/previews/surfaces/dialog.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/dialog.light.webp +0 -0
- package/agents/patterns/previews/surfaces/edit-actions.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/edit-actions.light.webp +0 -0
- package/agents/patterns/previews/surfaces/intro-band.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/intro-band.html +66 -0
- package/agents/patterns/previews/surfaces/intro-band.light.webp +0 -0
- package/agents/patterns/previews/surfaces/section.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/section.light.webp +0 -0
- package/agents/patterns/previews/titles/dialog.dark.webp +0 -0
- package/agents/patterns/previews/titles/dialog.light.webp +0 -0
- package/agents/patterns/previews/titles/group.light.webp +0 -0
- package/agents/patterns/previews/titles/page.dark.webp +0 -0
- package/agents/patterns/previews/titles/page.light.webp +0 -0
- package/agents/patterns/previews/titles/part.light.webp +0 -0
- package/agents/patterns/previews/titles/section.light.webp +0 -0
- package/agents/patterns/previews/widths/dialog.dark.webp +0 -0
- package/agents/patterns/previews/widths/dialog.light.webp +0 -0
- package/agents/patterns/previews/widths/field.dark.webp +0 -0
- package/agents/patterns/previews/widths/field.light.webp +0 -0
- package/agents/patterns/previews/widths/form.dark.webp +0 -0
- package/agents/patterns/previews/widths/form.light.webp +0 -0
- package/agents/patterns/previews/widths/page.dark.webp +0 -0
- package/agents/patterns/previews/widths/page.html +2 -2
- package/agents/patterns/previews/widths/page.light.webp +0 -0
- package/agents/patterns/previews/widths/reading.dark.webp +0 -0
- package/agents/patterns/previews/widths/reading.light.webp +0 -0
- package/agents/patterns/rhythm.md +2 -1
- package/agents/patterns/surfaces.md +53 -14
- package/agents/patterns/titles.md +19 -17
- package/agents/patterns/widths.md +4 -3
- package/agents/patterns.md +9 -8
- package/agents/theming.md +12 -0
- package/dist/cjs/{aria-CzO5Rp1y.js → aria-r1anAHBr.js} +12 -0
- package/dist/cjs/{floating-controller-DaFymQCT.js → floating-controller-B21tqid0.js} +52 -5
- 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-Bg68W-da.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-CaR39iYg.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 +6 -5
- 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 +10 -7
- package/dist/cjs/mds-button-group.cjs.entry.js +5 -4
- package/dist/cjs/mds-button_3.cjs.entry.js +86 -21
- 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 +48 -19
- 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 +8 -7
- package/dist/cjs/mds-file.cjs.entry.js +8 -7
- package/dist/cjs/mds-filter-item.cjs.entry.js +8 -7
- package/dist/cjs/mds-filter.cjs.entry.js +7 -6
- package/dist/cjs/mds-header-bar.cjs.entry.js +6 -5
- package/dist/cjs/mds-header.cjs.entry.js +6 -5
- 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 +3 -2
- package/dist/cjs/mds-input-date-range.cjs.entry.js +127 -32
- package/dist/cjs/mds-input-date.cjs.entry.js +26 -12
- package/dist/cjs/mds-input-field.cjs.entry.js +3 -2
- package/dist/cjs/mds-input-otp.cjs.entry.js +5 -4
- package/dist/cjs/mds-input-range-value.cjs.entry.js +18 -0
- package/dist/cjs/mds-input-range.cjs.entry.js +410 -29
- package/dist/cjs/mds-input-select.cjs.entry.js +9 -8
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +11 -9
- 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 +293 -36
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +6 -5
- package/dist/cjs/mds-keyboard.cjs.entry.js +7 -6
- package/dist/cjs/mds-kpi-item.cjs.entry.js +6 -5
- package/dist/cjs/mds-kpi.cjs.entry.js +4 -3
- package/dist/cjs/mds-label.cjs.entry.js +7 -6
- 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 +37 -17
- package/dist/cjs/mds-note.cjs.entry.js +7 -6
- package/dist/cjs/mds-notification.cjs.entry.js +7 -6
- package/dist/cjs/mds-paginator-item.cjs.entry.js +5 -4
- package/dist/cjs/mds-paginator.cjs.entry.js +7 -6
- 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 +25 -15
- package/dist/cjs/mds-pref-theme-item.cjs.entry.js +4 -3
- package/dist/cjs/mds-pref-theme.cjs.entry.js +34 -10
- package/dist/cjs/mds-pref.cjs.entry.js +12 -28
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +6 -5
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +6 -5
- 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 +6 -5
- package/dist/cjs/mds-price-table.cjs.entry.js +4 -3
- package/dist/cjs/mds-progress_2.cjs.entry.js +14 -9
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +7 -6
- package/dist/cjs/mds-push-notification.cjs.entry.js +7 -6
- 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 +9 -8
- package/dist/cjs/mds-separator.cjs.entry.js +5 -4
- package/dist/cjs/mds-status-bar.cjs.entry.js +6 -5
- 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 +7 -6
- package/dist/cjs/mds-tab-bar.cjs.entry.js +6 -5
- package/dist/cjs/mds-tab_2.cjs.entry.js +43 -19
- 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 +43 -15
- 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 +35 -16
- 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 +7 -19
- package/dist/cjs/mds-usage.cjs.entry.js +7 -6
- 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-CQQ3eb9W.js → preference-DTUJPGHS.js} +21 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/common/aria.js +12 -1
- package/dist/collection/common/floating-controller.js +50 -3
- package/dist/collection/common/navigation.js +7 -0
- package/dist/collection/common/preference.js +19 -1
- 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 +4 -3
- 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 +4 -3
- 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 +4 -3
- 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.css +15 -10
- 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 +45 -6
- 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 +4 -3
- 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 +4 -3
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +1 -1
- package/dist/collection/components/mds-button/AGENTS.md +9 -4
- package/dist/collection/components/mds-button/documentation.json +102 -8
- package/dist/collection/components/mds-button/examples.md +73 -0
- package/dist/collection/components/mds-button/mds-button.css +122 -14
- package/dist/collection/components/mds-button/mds-button.js +139 -13
- package/dist/collection/components/mds-button/mistakes.md +35 -0
- package/dist/collection/components/mds-button-dropdown/AGENTS.md +9 -2
- package/dist/collection/components/mds-button-dropdown/documentation.json +100 -6
- 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 +69 -3
- 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 +45 -6
- 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 +38 -25
- 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 +38 -6
- package/dist/collection/components/mds-chip/examples.md +10 -0
- package/dist/collection/components/mds-chip/mds-chip.css +21 -2
- 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.css +12 -14
- 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 +4 -3
- 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.css +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 +4 -3
- package/dist/collection/components/mds-file-preview/mds-file-preview.css +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.css +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.css +3 -2
- 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 +4 -3
- package/dist/collection/components/mds-header/mds-header.css +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 +4 -3
- 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 +4 -3
- 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 +4 -3
- package/dist/collection/components/mds-input/AGENTS.md +22 -18
- package/dist/collection/components/mds-input/documentation.json +33 -20
- package/dist/collection/components/mds-input/examples.md +20 -3
- package/dist/collection/components/mds-input/mds-input.css +131 -16
- 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 +8 -25
- package/dist/collection/components/mds-input-date/examples.md +1 -1
- package/dist/collection/components/mds-input-date/mds-input-date.css +20 -17
- 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 +17 -9
- 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 +18 -2
- 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 +4 -3
- 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-otp/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-otp/documentation.json +4 -3
- package/dist/collection/components/mds-input-range/AGENTS.md +27 -8
- package/dist/collection/components/mds-input-range/documentation.json +31 -9
- package/dist/collection/components/mds-input-range/examples.md +41 -0
- package/dist/collection/components/mds-input-range/mds-input-range.css +71 -7
- package/dist/collection/components/mds-input-range/mds-input-range.js +440 -29
- package/dist/collection/components/mds-input-range/meta/event-detail.js +1 -0
- package/dist/collection/components/mds-input-range/mistakes.md +37 -0
- package/dist/collection/components/mds-input-range-value/AGENTS.md +43 -0
- package/dist/collection/components/mds-input-range-value/documentation.json +77 -0
- package/dist/collection/components/mds-input-range-value/examples.md +66 -0
- package/dist/collection/components/mds-input-range-value/mds-input-range-value.css +6 -0
- package/dist/collection/components/mds-input-range-value/mds-input-range-value.js +50 -0
- package/dist/collection/components/mds-input-range-value/mistakes.md +56 -0
- package/dist/collection/components/mds-input-select/AGENTS.md +2 -2
- package/dist/collection/components/mds-input-select/documentation.json +4 -3
- package/dist/collection/components/mds-input-select/mds-input-select.css +24 -30
- 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.css +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 +4 -3
- 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 +4 -3
- package/dist/collection/components/mds-keyboard/mds-keyboard.css +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.css +9 -6
- 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 +4 -3
- package/dist/collection/components/mds-label/mds-label.css +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 +4 -3
- package/dist/collection/components/mds-mention/mds-mention.js +1 -1
- package/dist/collection/components/mds-modal/AGENTS.md +4 -3
- package/dist/collection/components/mds-modal/documentation.json +7 -6
- package/dist/collection/components/mds-modal/examples.md +2 -0
- package/dist/collection/components/mds-modal/mds-modal.css +3 -2
- package/dist/collection/components/mds-modal/mds-modal.js +32 -13
- package/dist/collection/components/mds-note/AGENTS.md +1 -1
- package/dist/collection/components/mds-note/documentation.json +4 -3
- package/dist/collection/components/mds-note/mds-note.css +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.css +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 +4 -3
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
- package/dist/collection/components/mds-pref/AGENTS.md +6 -3
- package/dist/collection/components/mds-pref/documentation.json +32 -10
- package/dist/collection/components/mds-pref/examples.md +15 -1
- package/dist/collection/components/mds-pref/mds-pref.js +26 -30
- package/dist/collection/components/mds-pref/mistakes.md +1 -1
- package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-animation/documentation.json +4 -3
- 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 +4 -3
- 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 +4 -3
- 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 +5 -4
- 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 +4 -3
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
- package/dist/collection/components/mds-pref-mode/AGENTS.md +3 -2
- package/dist/collection/components/mds-pref-mode/documentation.json +7 -6
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +2 -1
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +20 -11
- package/dist/collection/components/mds-pref-mode/mistakes.md +1 -1
- package/dist/collection/components/mds-pref-theme/AGENTS.md +6 -5
- package/dist/collection/components/mds-pref-theme/documentation.json +9 -8
- package/dist/collection/components/mds-pref-theme/examples.md +1 -1
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +32 -9
- package/dist/collection/components/mds-pref-theme/mistakes.md +1 -1
- package/dist/collection/components/mds-pref-theme-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-pref-theme-item/documentation.json +5 -4
- 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.css +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.css +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.css +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.css +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 +4 -3
- package/dist/collection/components/mds-push-notification/mds-push-notification.css +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 +4 -3
- 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 +4 -3
- 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 +4 -3
- 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 +4 -3
- package/dist/collection/components/mds-status-bar/mds-status-bar.css +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.css +3 -2
- 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.css +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.css +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 +8 -3
- 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.css +6 -4
- 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 +6 -9
- 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 +4 -3
- 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 +4 -3
- 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.css +4 -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 +4 -3
- 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 +4 -3
- package/dist/collection/components/mds-url-view/mds-url-view.css +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.css +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 -23
- 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/button.js +3 -0
- 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-CVRN4LDc.js → p-AWCYh8Xe.js} +1 -1
- package/dist/components/{p-CKnbQQUb.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-DvDB_L_5.js → p-BFZN4zJ9.js} +1 -1
- package/dist/components/p-BG1fjwnd.js +1 -0
- package/dist/components/{p-ikNX7XDH.js → p-BNl6YWNN.js} +1 -1
- package/dist/components/p-Bg11_7lt.js +1 -0
- package/dist/components/p-BiJ4xa4V.js +1 -0
- package/dist/components/{p-CZjwSwe5.js → p-BmlDGlcB.js} +2 -2
- package/dist/components/p-C0m6B_kt.js +1 -0
- package/dist/components/{p-D_RIY063.js → p-C589Hkfn.js} +1 -1
- package/dist/{magma-components/p-BaFfIZGB.js → components/p-C7p9e0P3.js} +1 -1
- package/dist/components/{p-DdzJfsw7.js → p-C878c9Nu.js} +1 -1
- package/dist/components/{p-Br6-kva-.js → p-CDcB9Zdz.js} +1 -1
- package/dist/components/{p-BFDRt7-n.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-DhpcFZrc.js → p-Cjy1i94z.js} +1 -1
- package/dist/components/{p-gLo3t_qO.js → p-Cs80Zm2b.js} +2 -2
- package/dist/components/{p-BaynxVRZ.js → p-Cs8RIbsQ.js} +1 -1
- package/dist/components/p-CtEHhdv4.js +1 -0
- package/dist/components/{p-DOdUioZq.js → p-Cty6fegI.js} +1 -1
- package/dist/components/{p-COkn4Vtq.js → p-D7C-gjL6.js} +1 -1
- package/dist/components/{p-BiW6luA5.js → p-DKYN6Ikh.js} +1 -1
- package/dist/components/p-DvccsLwr.js +1 -0
- package/dist/components/p-DwKxtKwS.js +1 -0
- package/dist/components/{p-C_Pc94vn.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-DqdlT4UG.js → p-WFNxKo1V.js} +1 -1
- package/dist/components/{p-D8CloC8I.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-C7rDjrH4.js → p-oHBGZ2Av.js} +1 -1
- package/dist/documentation.json +788 -229
- package/dist/esm/{aria-Cvhn9asj.js → aria-DwKxtKwS.js} +12 -1
- package/dist/esm/{floating-controller-BVlbYYkf.js → floating-controller-DlFrvBTG.js} +52 -5
- 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-BJVvHlvf.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-B6cOkl4I.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 +6 -5
- 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 +10 -7
- package/dist/esm/mds-button-group.entry.js +5 -4
- package/dist/esm/mds-button_3.entry.js +86 -21
- 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 +48 -19
- 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 +8 -7
- package/dist/esm/mds-file.entry.js +8 -7
- package/dist/esm/mds-filter-item.entry.js +8 -7
- package/dist/esm/mds-filter.entry.js +7 -6
- package/dist/esm/mds-header-bar.entry.js +6 -5
- package/dist/esm/mds-header.entry.js +6 -5
- 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 +3 -2
- package/dist/esm/mds-input-date-range.entry.js +127 -32
- package/dist/esm/mds-input-date.entry.js +26 -12
- package/dist/esm/mds-input-field.entry.js +3 -2
- package/dist/esm/mds-input-otp.entry.js +5 -4
- package/dist/esm/mds-input-range-value.entry.js +16 -0
- package/dist/esm/mds-input-range.entry.js +410 -29
- package/dist/esm/mds-input-select.entry.js +9 -8
- package/dist/esm/mds-input-switch_2.entry.js +11 -9
- 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 +293 -36
- package/dist/esm/mds-keyboard-key.entry.js +6 -5
- package/dist/esm/mds-keyboard.entry.js +7 -6
- package/dist/esm/mds-kpi-item.entry.js +6 -5
- package/dist/esm/mds-kpi.entry.js +4 -3
- package/dist/esm/mds-label.entry.js +7 -6
- 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 +37 -17
- package/dist/esm/mds-note.entry.js +7 -6
- package/dist/esm/mds-notification.entry.js +7 -6
- package/dist/esm/mds-paginator-item.entry.js +5 -4
- package/dist/esm/mds-paginator.entry.js +7 -6
- 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 +25 -15
- package/dist/esm/mds-pref-theme-item.entry.js +4 -3
- package/dist/esm/mds-pref-theme.entry.js +34 -10
- package/dist/esm/mds-pref.entry.js +12 -28
- package/dist/esm/mds-price-table-features-cell.entry.js +6 -5
- package/dist/esm/mds-price-table-features-row.entry.js +6 -5
- 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 +6 -5
- package/dist/esm/mds-price-table.entry.js +4 -3
- package/dist/esm/mds-progress_2.entry.js +14 -9
- package/dist/esm/mds-push-notification-item.entry.js +7 -6
- package/dist/esm/mds-push-notification.entry.js +7 -6
- 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 +9 -8
- package/dist/esm/mds-separator.entry.js +5 -4
- package/dist/esm/mds-status-bar.entry.js +6 -5
- 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 +7 -6
- package/dist/esm/mds-tab-bar.entry.js +6 -5
- package/dist/esm/mds-tab_2.entry.js +43 -19
- 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 +43 -15
- 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 +35 -16
- 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 +7 -19
- package/dist/esm/mds-usage.entry.js +7 -6
- 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-C5XjgGCb.js → preference-CBMLGSf7.js} +20 -2
- package/dist/esm-es5/aria-DwKxtKwS.js +12 -0
- package/dist/esm-es5/{floating-controller-BVlbYYkf.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-B6cOkl4I.js → locale-B7Hw4niB.js} +18 -18
- 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 +6 -4
- package/dist/esm-es5/mds-button-group.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +45 -23
- 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 +30 -15
- 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 +8 -8
- 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 +2 -2
- 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 +3 -3
- package/dist/esm-es5/mds-input-otp.entry.js +5 -5
- package/dist/esm-es5/mds-input-range-value.entry.js +1 -0
- package/dist/esm-es5/mds-input-range.entry.js +93 -12
- package/dist/esm-es5/mds-input-select.entry.js +8 -8
- 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 +28 -16
- 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 +14 -4
- package/dist/esm-es5/mds-pref-theme-item.entry.js +5 -5
- package/dist/esm-es5/mds-pref-theme.entry.js +25 -12
- package/dist/esm-es5/mds-pref.entry.js +8 -13
- 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 +2 -2
- 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-C5XjgGCb.js → preference-CBMLGSf7.js} +15 -5
- package/dist/hydrate/index.js +2307 -1091
- package/dist/hydrate/index.mjs +2307 -1091
- package/dist/lint/core/patterns.d.ts +26 -16
- package/dist/lint/core/patterns.js +55 -38
- package/dist/lint/mcp/tools.json +7 -7
- 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-2a445b98.system.entry.js → p-009e4359.system.entry.js} +137 -137
- package/dist/magma-components/{p-b523fabe.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-4646cdc0.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-0e7bb90b.system.entry.js +127 -0
- package/dist/magma-components/{p-03fb86a6.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-6c73689a.system.entry.js → p-11543f44.system.entry.js} +4 -4
- package/dist/magma-components/{p-e0049e96.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-387fa36d.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-ad13ade5.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-b30b487c.system.entry.js → p-19f3b524.system.entry.js} +6 -6
- package/dist/magma-components/{p-87831da2.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-fae9612b.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-445bc62a.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-3b578659.system.entry.js → p-275d7968.system.entry.js} +14 -14
- package/dist/magma-components/{p-f181c679.system.entry.js → p-28ecae1e.system.entry.js} +2 -2
- package/dist/magma-components/{p-9f55fa7a.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-05455645.system.entry.js → p-2dc9499c.system.entry.js} +3 -3
- package/dist/magma-components/{p-0384db44.system.entry.js → p-2dd32b3f.system.entry.js} +7 -7
- package/dist/magma-components/p-2e5684a0.system.entry.js +5 -0
- package/dist/magma-components/{p-b0749f83.system.entry.js → p-303173d5.system.entry.js} +3 -3
- package/dist/magma-components/{p-625de2e6.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-37470fef.system.entry.js +51 -0
- 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-d85f3e5e.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-a9caed77.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-8b8cd213.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-ae9735e4.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-d81fcbde.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-555bd3f8.system.entry.js +29 -0
- package/dist/magma-components/{p-35c170ba.system.entry.js → p-56715bbc.system.entry.js} +4 -4
- package/dist/magma-components/{p-a65ce11a.system.entry.js → p-586878a2.system.entry.js} +2 -2
- package/dist/magma-components/{p-aac622ef.system.entry.js → p-58bbada6.system.entry.js} +1 -1
- package/dist/magma-components/{p-99bfa07e.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-0c8f22dc.system.entry.js → p-6471c0a4.system.entry.js} +2 -2
- package/dist/magma-components/{p-3be9b384.system.entry.js → p-6619b3c0.system.entry.js} +8 -8
- package/dist/magma-components/p-67fa6fd7.entry.js +1 -0
- package/dist/magma-components/{p-4f48c171.system.entry.js → p-68d83e18.system.entry.js} +1 -1
- package/dist/magma-components/{p-fff26731.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-1a20f239.system.entry.js → p-73a6ee3b.system.entry.js} +1 -1
- package/dist/magma-components/{p-0a0dfdf4.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-4669334a.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-bc054ffa.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-efe27253.system.entry.js → p-96ece2cc.system.entry.js} +3 -3
- package/dist/magma-components/p-96f66b8f.entry.js +1 -0
- package/dist/magma-components/{p-6129954d.system.entry.js → p-97e55f7e.system.entry.js} +5 -5
- package/dist/magma-components/p-98a3802b.system.entry.js +126 -0
- package/dist/magma-components/{p-18244fd7.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-0fc41e34.system.entry.js → p-9c0d1025.system.entry.js} +1 -1
- package/dist/magma-components/{p-12be0f43.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-BXVzhErg.system.js +12 -0
- package/dist/magma-components/{p-iX3kcwYg.js → p-BXkIXROP.js} +1 -1
- package/dist/magma-components/{p-OafT80hV.js → p-BkfGbFba.js} +2 -2
- package/dist/{components/p-BaFfIZGB.js → magma-components/p-C7p9e0P3.js} +1 -1
- package/dist/magma-components/p-CPibDZjX.js +3 -0
- package/dist/magma-components/{p-CZuIEo2v.system.js → p-CyPLJo0p.system.js} +34 -14
- package/dist/magma-components/{p-CuHZXISO.system.js → p-CzZWts7L.system.js} +18 -18
- package/dist/magma-components/{p-VOjLCGlK.system.js → p-D5Yayq7E.system.js} +47 -5
- package/dist/magma-components/{p-mGgjNqBm.system.js → p-DGfoeZMw.system.js} +19 -9
- package/dist/magma-components/p-DwKxtKwS.js +1 -0
- 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-3139988c.system.entry.js → p-a171c096.system.entry.js} +4 -4
- package/dist/magma-components/{p-6d009b42.system.entry.js → p-a190c325.system.entry.js} +3 -3
- package/dist/magma-components/{p-8bf8e032.entry.js → p-a33a235e.entry.js} +1 -1
- package/dist/magma-components/{p-45b19935.system.entry.js → p-a4aaf1c6.system.entry.js} +8 -8
- package/dist/magma-components/{p-9ef64212.entry.js → p-a9c7fb3f.entry.js} +3 -3
- package/dist/magma-components/{p-9c2b67fc.system.entry.js → p-a9d100e5.system.entry.js} +6 -6
- package/dist/magma-components/{p-8239e526.system.entry.js → p-aa601247.system.entry.js} +2 -2
- package/dist/magma-components/{p-b781c932.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-30f95d10.entry.js → p-ac401f1a.entry.js} +1 -1
- package/dist/magma-components/{p-11210b60.system.entry.js → p-ad12fa89.system.entry.js} +3 -3
- package/dist/magma-components/p-ad6b5fc1.system.entry.js +16 -0
- 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-cfbf3a76.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-b47c444e.system.entry.js +5 -0
- 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-b6412ddd.system.entry.js → p-b8e5411d.system.entry.js} +1 -1
- package/dist/magma-components/{p-adab176e.system.entry.js → p-b95f648f.system.entry.js} +3 -3
- package/dist/magma-components/{p-98e167e8.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-c2d9cf4e.system.entry.js +1 -0
- package/dist/magma-components/{p-4fd0fdb8.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-ccffdf0b.system.entry.js → p-c8430552.system.entry.js} +28 -16
- 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-9e07535e.system.entry.js → p-ca5867f5.system.entry.js} +27 -14
- package/dist/magma-components/p-cc5518b1.entry.js +1 -0
- package/dist/magma-components/{p-d360e4c5.entry.js → p-ccb23b6a.entry.js} +1 -1
- package/dist/magma-components/p-ccb64689.system.entry.js +113 -0
- package/dist/magma-components/p-cf8cfcac.system.entry.js +10 -0
- 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-90d50492.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-8a8cad6c.system.entry.js → p-d173ae2f.system.entry.js} +1 -1
- package/dist/magma-components/p-d1751ff6.entry.js +1 -0
- package/dist/magma-components/p-d32ca6ce.entry.js +1 -0
- package/dist/magma-components/p-d4452e41.entry.js +1 -0
- package/dist/magma-components/p-d5dec64d.entry.js +1 -0
- package/dist/magma-components/p-d7813f9b.system.entry.js +13 -0
- package/dist/magma-components/{p-c35ea44d.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-4748378e.system.entry.js → p-df70af5f.system.entry.js} +39 -39
- 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-f09f3fe1.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-eb4f76d8.system.entry.js +22 -0
- package/dist/magma-components/p-ecf29ffa.entry.js +1 -0
- package/dist/magma-components/{p-bba4f1f0.system.entry.js → p-ede31d27.system.entry.js} +11 -11
- package/dist/magma-components/{p-cf42d6ea.system.entry.js → p-ee247029.system.entry.js} +3 -3
- package/dist/magma-components/{p-c915fba5.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-f40e3918.system.entry.js → p-f01e7a7e.system.entry.js} +4 -4
- package/dist/magma-components/{p-95ddc950.system.entry.js → p-f0d93b22.system.entry.js} +9 -6
- package/dist/magma-components/{p-60acbc5f.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-9303fb16.system.entry.js → p-f3f1da06.system.entry.js} +5 -5
- package/dist/magma-components/{p-e79eb427.system.entry.js → p-f4e8f507.system.entry.js} +2 -2
- package/dist/magma-components/{p-384d93dc.system.entry.js → p-f5c82548.system.entry.js} +1 -1
- package/dist/magma-components/p-f6f6d914.system.entry.js +14 -0
- 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-f4fc9f29.system.entry.js → p-ffcfa9e3.system.entry.js} +2 -2
- package/dist/magma-components/p-kW8cjKIa.js +1 -0
- package/dist/{lint/mcp → mcp}/checks.js +5 -5
- package/dist/{lint/mcp → mcp}/components.js +4 -6
- package/dist/{lint/mcp → mcp}/guides.js +11 -9
- package/dist/{lint/mcp → mcp}/icons.js +21 -0
- package/dist/mcp/package.json +3 -0
- package/dist/{lint/mcp → mcp}/patterns.js +8 -9
- package/dist/{lint/mcp → mcp}/protocol.js +1 -1
- package/dist/{lint/mcp → mcp}/render.js +61 -33
- package/dist/{lint/mcp → mcp}/server.js +4 -4
- package/dist/{lint/mcp → mcp}/tokens.js +1 -2
- package/dist/mcp/tools.json +1374 -0
- package/dist/stats.json +4506 -3454
- package/dist/types/common/aria.d.ts +8 -1
- 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 +26 -2
- 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-button/mds-button.d.ts +50 -4
- package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +22 -2
- package/dist/types/components/mds-calendar/mds-calendar.d.ts +60 -16
- package/dist/types/components/mds-calendar/meta/types.d.ts +2 -0
- package/dist/types/components/mds-chip/mds-chip.d.ts +10 -0
- package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +1 -0
- package/dist/types/components/mds-icon/services/icons-set.service.d.ts +42 -0
- package/dist/types/components/mds-input/mds-input.d.ts +114 -10
- package/dist/types/components/mds-input/meta/color.d.ts +13 -0
- package/dist/types/components/mds-input/meta/types.d.ts +1 -1
- package/dist/types/components/mds-input/meta/validators.d.ts +5 -0
- package/dist/types/components/mds-input/meta/validity.d.ts +3 -2
- package/dist/types/components/mds-input-date/mds-input-date.d.ts +13 -2
- package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +34 -3
- package/dist/types/components/mds-input-range/mds-input-range.d.ts +96 -4
- package/dist/types/components/mds-input-range/meta/event-detail.d.ts +7 -0
- package/dist/types/components/mds-input-range-value/mds-input-range-value.d.ts +18 -0
- package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +6 -3
- package/dist/types/components/mds-input-tip-item/meta/dictionary.d.ts +1 -1
- package/dist/types/components/mds-modal/mds-modal.d.ts +8 -1
- package/dist/types/components/mds-pref/mds-pref.d.ts +6 -9
- package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +16 -5
- package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +14 -1
- 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 +224 -51
- 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/button.d.ts +2 -0
- package/dist/types/type/file-types.d.ts +1 -1
- package/dist/types/type/input.d.ts +2 -2
- package/package.json +22 -19
- package/dist/components/p-4LbHmDXv.js +0 -1
- package/dist/components/p-B6AFku7a.js +0 -1
- package/dist/components/p-BwT0RJip.js +0 -1
- package/dist/components/p-COUgBzJ4.js +0 -1
- package/dist/components/p-CP5Qw9_T.js +0 -1
- package/dist/components/p-Cvhn9asj.js +0 -1
- package/dist/components/p-DGhzWuCS.js +0 -1
- package/dist/components/p-DJd8f8dz.js +0 -1
- package/dist/components/p-DTtmr_Y9.js +0 -1
- package/dist/components/p-DW6ie49j.js +0 -1
- package/dist/components/p-DlglisEn.js +0 -1
- package/dist/components/p-FsctOap9.js +0 -1
- package/dist/components/p-G7Udw5H5.js +0 -1
- package/dist/components/p-Ic8cYsgt.js +0 -1
- package/dist/components/p-TZJN-ygm.js +0 -3
- package/dist/components/p-jasGzfhE.js +0 -1
- package/dist/components/p-l0KS6hTQ.js +0 -1
- package/dist/esm-es5/aria-Cvhn9asj.js +0 -6
- package/dist/esm-es5/index-BJVvHlvf.js +0 -10
- package/dist/lint/mcp/checks.d.ts +0 -29
- package/dist/lint/mcp/cli.d.ts +0 -2
- package/dist/lint/mcp/color.d.ts +0 -12
- package/dist/lint/mcp/components.d.ts +0 -5
- package/dist/lint/mcp/context.d.ts +0 -45
- package/dist/lint/mcp/guides.d.ts +0 -3
- package/dist/lint/mcp/icons.d.ts +0 -9
- package/dist/lint/mcp/patterns.d.ts +0 -75
- package/dist/lint/mcp/protocol.d.ts +0 -77
- package/dist/lint/mcp/render-page.d.ts +0 -40
- package/dist/lint/mcp/render.d.ts +0 -130
- package/dist/lint/mcp/server.d.ts +0 -39
- package/dist/lint/mcp/tokens.d.ts +0 -37
- package/dist/magma-components/p-02b106c2.entry.js +0 -1
- package/dist/magma-components/p-0417391b.entry.js +0 -1
- package/dist/magma-components/p-06691ab3.system.entry.js +0 -27
- package/dist/magma-components/p-074d7b75.entry.js +0 -1
- package/dist/magma-components/p-08da465d.entry.js +0 -1
- package/dist/magma-components/p-0d3da482.system.entry.js +0 -1
- package/dist/magma-components/p-0d42ac4a.entry.js +0 -1
- package/dist/magma-components/p-10d52280.entry.js +0 -1
- package/dist/magma-components/p-13cfc01a.entry.js +0 -1
- package/dist/magma-components/p-14122f2d.entry.js +0 -1
- package/dist/magma-components/p-1467ded5.system.entry.js +0 -7
- package/dist/magma-components/p-18b27217.entry.js +0 -1
- package/dist/magma-components/p-198ea5d8.entry.js +0 -1
- package/dist/magma-components/p-1d8485de.system.entry.js +0 -28
- package/dist/magma-components/p-1f746ad1.system.entry.js +0 -82
- package/dist/magma-components/p-2111aa67.system.entry.js +0 -1
- package/dist/magma-components/p-21345ecc.entry.js +0 -1
- package/dist/magma-components/p-25dcbf22.entry.js +0 -1
- package/dist/magma-components/p-27254fbd.entry.js +0 -1
- package/dist/magma-components/p-299dab17.entry.js +0 -1
- package/dist/magma-components/p-29dd6d94.entry.js +0 -1
- package/dist/magma-components/p-2d199db0.system.entry.js +0 -25
- package/dist/magma-components/p-2d2cdf0d.entry.js +0 -1
- package/dist/magma-components/p-2e68180d.system.entry.js +0 -32
- package/dist/magma-components/p-308a4ae5.system.entry.js +0 -1
- package/dist/magma-components/p-34421ef2.system.entry.js +0 -77
- package/dist/magma-components/p-37881115.system.entry.js +0 -14
- package/dist/magma-components/p-3af8a86a.system.entry.js +0 -111
- package/dist/magma-components/p-3b494de7.entry.js +0 -1
- package/dist/magma-components/p-445198a1.entry.js +0 -1
- package/dist/magma-components/p-45a3e7eb.entry.js +0 -1
- package/dist/magma-components/p-4606d11f.entry.js +0 -1
- package/dist/magma-components/p-46a928c3.entry.js +0 -1
- package/dist/magma-components/p-4cd21f19.entry.js +0 -1
- package/dist/magma-components/p-4da1c089.entry.js +0 -1
- package/dist/magma-components/p-4e5b8618.system.entry.js +0 -1
- package/dist/magma-components/p-4e8c5b68.entry.js +0 -1
- package/dist/magma-components/p-4f0153cd.entry.js +0 -1
- package/dist/magma-components/p-4fc0e294.entry.js +0 -1
- package/dist/magma-components/p-52211fa3.entry.js +0 -1
- package/dist/magma-components/p-5575f198.entry.js +0 -1
- package/dist/magma-components/p-5686da49.system.entry.js +0 -13
- package/dist/magma-components/p-56a25ec6.entry.js +0 -1
- package/dist/magma-components/p-57ee6e32.entry.js +0 -1
- package/dist/magma-components/p-5931fdfc.system.entry.js +0 -41
- package/dist/magma-components/p-59aa4994.entry.js +0 -1
- package/dist/magma-components/p-5a8fa2d0.entry.js +0 -1
- package/dist/magma-components/p-5aa8f150.entry.js +0 -1
- package/dist/magma-components/p-5c8f408e.entry.js +0 -1
- package/dist/magma-components/p-5d1cba9c.system.entry.js +0 -1
- package/dist/magma-components/p-5d56a7cd.system.entry.js +0 -47
- package/dist/magma-components/p-60b21db7.entry.js +0 -1
- package/dist/magma-components/p-60d6e60f.entry.js +0 -1
- package/dist/magma-components/p-61e11cd0.system.entry.js +0 -16
- package/dist/magma-components/p-627c2780.entry.js +0 -1
- package/dist/magma-components/p-6896786e.entry.js +0 -1
- package/dist/magma-components/p-69319301.system.entry.js +0 -10
- package/dist/magma-components/p-6a994dc1.entry.js +0 -1
- package/dist/magma-components/p-72971cf7.system.entry.js +0 -7
- package/dist/magma-components/p-741f8f45.system.entry.js +0 -13
- package/dist/magma-components/p-7837856f.entry.js +0 -1
- package/dist/magma-components/p-797c64f4.system.entry.js +0 -19
- package/dist/magma-components/p-7a920b70.entry.js +0 -1
- package/dist/magma-components/p-7b06b2f2.entry.js +0 -1
- package/dist/magma-components/p-7c055074.entry.js +0 -1
- package/dist/magma-components/p-7c3a7521.entry.js +0 -1
- package/dist/magma-components/p-7d61f442.entry.js +0 -1
- package/dist/magma-components/p-7ee31f2e.entry.js +0 -1
- package/dist/magma-components/p-7f418ae1.entry.js +0 -1
- package/dist/magma-components/p-7ff5552f.entry.js +0 -1
- package/dist/magma-components/p-81212e34.entry.js +0 -1
- package/dist/magma-components/p-81d2582a.entry.js +0 -1
- package/dist/magma-components/p-844bce77.entry.js +0 -1
- package/dist/magma-components/p-84aac233.entry.js +0 -1
- package/dist/magma-components/p-84d0d701.entry.js +0 -1
- package/dist/magma-components/p-85376ff5.entry.js +0 -1
- package/dist/magma-components/p-85bf9c93.entry.js +0 -1
- package/dist/magma-components/p-86f11a5a.entry.js +0 -1
- package/dist/magma-components/p-8aa4cd10.entry.js +0 -1
- package/dist/magma-components/p-8b8a6662.entry.js +0 -1
- package/dist/magma-components/p-8feba226.entry.js +0 -1
- package/dist/magma-components/p-948ecde4.entry.js +0 -8
- package/dist/magma-components/p-97217527.system.entry.js +0 -1
- package/dist/magma-components/p-97c6e10a.entry.js +0 -1
- package/dist/magma-components/p-9a0f8eb1.entry.js +0 -1
- package/dist/magma-components/p-9c784173.entry.js +0 -1
- package/dist/magma-components/p-9e2b1a29.entry.js +0 -1
- package/dist/magma-components/p-9ed54db1.entry.js +0 -1
- package/dist/magma-components/p-9ef0d4e5.system.entry.js +0 -7
- package/dist/magma-components/p-B8zYiZQY.system.js +0 -5
- package/dist/magma-components/p-CLhuNxYQ.js +0 -1
- package/dist/magma-components/p-CvLLN-QH.js +0 -3
- package/dist/magma-components/p-Cvhn9asj.js +0 -1
- package/dist/magma-components/p-CxTugGM9.system.js +0 -10
- package/dist/magma-components/p-Dx_cCOTw.js +0 -1
- package/dist/magma-components/p-a2e3a545.entry.js +0 -1
- package/dist/magma-components/p-a3156523.system.entry.js +0 -98
- package/dist/magma-components/p-a3d09996.entry.js +0 -1
- package/dist/magma-components/p-a8206d9c.entry.js +0 -1
- package/dist/magma-components/p-ac099ed6.entry.js +0 -1
- package/dist/magma-components/p-ac161cb5.entry.js +0 -1
- package/dist/magma-components/p-b0850daa.entry.js +0 -1
- package/dist/magma-components/p-b2763352.entry.js +0 -1
- package/dist/magma-components/p-b464668b.system.entry.js +0 -105
- package/dist/magma-components/p-b61546fd.entry.js +0 -1
- package/dist/magma-components/p-b85f56d7.entry.js +0 -1
- package/dist/magma-components/p-b8f4938a.entry.js +0 -1
- package/dist/magma-components/p-be2ca282.entry.js +0 -1
- package/dist/magma-components/p-bfd95736.entry.js +0 -1
- package/dist/magma-components/p-c0286dc3.system.entry.js +0 -94
- package/dist/magma-components/p-c2758b81.entry.js +0 -1
- package/dist/magma-components/p-c683cd13.entry.js +0 -1
- package/dist/magma-components/p-c7dc17f8.entry.js +0 -1
- package/dist/magma-components/p-c9553777.entry.js +0 -1
- package/dist/magma-components/p-c9bd81c5.system.entry.js +0 -225
- package/dist/magma-components/p-cd6dd836.entry.js +0 -1
- package/dist/magma-components/p-d29c959d.entry.js +0 -1
- package/dist/magma-components/p-d43e2a9a.entry.js +0 -1
- package/dist/magma-components/p-d50d4023.entry.js +0 -1
- package/dist/magma-components/p-dcb5f965.entry.js +0 -1
- package/dist/magma-components/p-ddfb4da3.entry.js +0 -1
- package/dist/magma-components/p-dfab370b.entry.js +0 -1
- package/dist/magma-components/p-e059aaa9.entry.js +0 -1
- package/dist/magma-components/p-e428490d.system.entry.js +0 -5
- package/dist/magma-components/p-e7f717ab.entry.js +0 -1
- package/dist/magma-components/p-e92327a2.entry.js +0 -1
- package/dist/magma-components/p-ecc2893d.system.entry.js +0 -24
- package/dist/magma-components/p-ed4fd7a4.entry.js +0 -1
- package/dist/magma-components/p-ef1bdd44.entry.js +0 -1
- package/dist/magma-components/p-f045b018.entry.js +0 -1
- package/dist/magma-components/p-f22b8091.entry.js +0 -1
- package/dist/magma-components/p-f493fdc3.entry.js +0 -1
- package/dist/magma-components/p-f5d9f625.entry.js +0 -1
- package/dist/magma-components/p-f7426a75.entry.js +0 -1
- package/dist/magma-components/p-fa387b74.system.entry.js +0 -5
- package/dist/magma-components/p-fba648e0.entry.js +0 -1
- package/dist/magma-components/p-fbf563c8.entry.js +0 -1
- package/dist/magma-components/p-fd81c4ef.system.entry.js +0 -29
- package/dist/magma-components/p-fdedc0ba.entry.js +0 -1
- package/dist/magma-components/p-ff65fc97.entry.js +0 -1
- package/dist/magma-components/p-ff82edad.entry.js +0 -1
- package/dist/magma-components/p-sm_-_oFY.system.js +0 -6
- /package/dist/components/{p-Bz1eiKqd.js → p-To9IeLHs.js} +0 -0
- /package/dist/magma-components/{p-Bz1eiKqd.js → p-To9IeLHs.js} +0 -0
- /package/dist/{lint/mcp → mcp}/cli.js +0 -0
- /package/dist/{lint/mcp → mcp}/color.js +0 -0
- /package/dist/{lint/mcp → mcp}/context.js +0 -0
- /package/dist/{lint/mcp → mcp}/icon.svg +0 -0
- /package/dist/{lint/mcp → mcp}/render-page.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as a,d as r,h as o,c as e,t as i}from"./p-
|
|
1
|
+
import{p as t,H as a,d as r,h as o,c as e,t as i}from"./p-g2_CekDc.js";import{m as n}from"./p-DFyAGAnn.js";import{p as d}from"./p-AWCYh8Xe.js";import{d as c}from"./p-aZlZ1XB9.js";const s=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.selectedEvent=r(this,"mdsAccordionItemSelect",7),this.unselectedEvent=r(this,"mdsAccordionItemUnselect",7),this.changedEvent=r(this,"mdsAccordionItemChange",7),this.typography="h5",this.toggle=()=>{this.selected=!this.selected,this.changedEvent.emit({id:this.element.id,selected:this.selected}),this.selected?this.selectedEvent.emit({id:this.element.id,selected:this.selected}):this.unselectedEvent.emit({id:this.element.id,selected:this.selected})}}render(){const t=o("button",{key:"4004ca61251ba6ee0cdfcc96f7991fca8d27917b","aria-controls":"content","aria-expanded":this.selected?"true":"false",class:"action",id:"action",onClick:this.toggle,role:"button",tabindex:"0"},o("mds-text",{key:"37f2973e1beedaf8e18df1cc250790c1a3bc6726",tag:"span",typography:this.typography,part:"label"},this.label),o("mds-text",{key:"a883e5eca116944a77d2b6734c9e497272fdd3ee","aria-hidden":"true",class:"icon-button",tag:"span",typography:this.typography,part:"icon"},o("i",{key:"82a6684a7e13b15550dab3fb4ffa14d75e61518c",class:"icon",innerHTML:n})));return o(e,{key:"b14d77e9db9c745554045d1f2e3c1d2f8edf0050","pref-animation":d.state.animation,"pref-contrast":d.state.contrast,"pref-mode":d.state.mode,"pref-theme-scheme":d.state["theme-scheme"]},null!=this.tag?o(this.tag,{class:"heading"},t):t,o("div",{key:"1ba803648246e6ec8d42d51f4a39fa06090b1e01",class:"content",id:"content"},o("div",{key:"ff0d86afd9591cba8cf013e0096482c87d062182","aria-labelledby":"action",class:"content-expander",part:"content",role:"region"},o("slot",{key:"34d712278e3c47553d4f3f1011f84e20d1a590b6"}))))}get element(){return this}static get style(){return'@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-font-weight:initial}}}@keyframes focus-bounce{0%,75%,to{outline-offset:var(--magma-outline-focus-offset,2px)}50%{outline-offset:var(--magma-outline-blur-offset,6px)}}:host(:not(:is([hydrated],.hydrated))),:is(mds-button,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-accordion-item-border-color:var(--mds-accordion-border-color,rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196))));--mds-accordion-item-border-width:var(--mds-accordion-border-width,calc(var(--spacing,.0025rem)*50));--mds-accordion-item-color:var(--mds-accordion-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--mds-accordion-item-description-color:var(--mds-accordion-description-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-accordion-item-duration:var(--mds-accordion-duration,var(--duration-300,.3s));--private-accordion-item-duration:var(--mds-accordion-item-duration,var(--duration-300,.3s));--mds-accordion-item-transition-duration:var(--duration-500,.5s);--private-accordion-item-transition-duration:var(--mds-accordion-item-transition-duration);--mds-accordion-item-padding-selected:var(--mds-accordion-padding-selected,calc(var(--spacing,.0025rem)*400) 0 calc(var(--spacing,.0025rem)*800) 0);--mds-accordion-item-padding-unselected:var(--mds-accordion-padding-unselected,calc(var(--spacing,.0025rem)*400) 0 calc(var(--spacing,.0025rem)*400) 0);border-bottom:var(--mds-accordion-item-border-width,calc(var(--spacing,.0025rem)*50)) solid #0000;border-top:var(--mds-accordion-item-border-width,calc(var(--spacing,.0025rem)*50)) solid #0000;color:var(--mds-accordion-item-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));display:grid;fill:var(--mds-accordion-item-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));margin-top:calc(-1 * var(--mds-accordion-item-border-width,calc(var(--spacing,.0025rem) * 50)));padding:var(--mds-accordion-item-padding-unselected,calc(var(--spacing,.0025rem)*400) 0 calc(var(--spacing,.0025rem)*400) 0);position:relative;transition-duration:var(--private-accordion-item-transition-duration);transition-property:background-color,border-color,color,fill,margin,padding;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}:host(:first-child){margin-top:0}.heading{display:grid;font:inherit;margin:0}.action{animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:min(var(--magma-radius-md,var(--radius-squircle-md,20px)),var(--magma-corner-cap,.5) * calc(var(--spacing,.0025rem)*600));color:var(--mds-accordion-item-description-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out;corner-shape:var(--magma-corner-shape,squircle);background-color:#0000;border:0;cursor:pointer;display:grid;gap:calc(var(--spacing,.0025rem)*400);grid-auto-columns:min-content;grid-template-columns:auto calc(var(--spacing,.0025rem)*600);padding:0;text-align:left}.action:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.icon-button{--tw-font-weight:var(--font-weight-normal,400);display:block;font-weight:var(--font-weight-normal,400)}.content{display:grid;gap:calc(var(--spacing,.0025rem)*400);grid-template-rows:0fr;min-height:0;opacity:0;overflow:hidden;padding-top:0;transition-duration:var(--private-accordion-item-duration);transition-property:grid-template-rows,opacity,padding;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.content-expander{display:grid;grid-template-columns:minmax(0,100%);min-height:0;transition-duration:var(--private-accordion-item-duration);transition-property:opacity,padding;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.icon{display:flex;fill:var(--mds-accordion-item-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));transform:rotate(0);transition-duration:var(--private-accordion-item-transition-duration);transition-property:transform;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}:host([selected]:not([selected=false])){border-bottom:var(--mds-accordion-item-border-width,calc(var(--spacing,.0025rem)*50)) solid var(--mds-accordion-item-border-color,rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196))));border-top:var(--mds-accordion-item-border-width,calc(var(--spacing,.0025rem)*50)) solid var(--mds-accordion-item-border-color,rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196))));padding:var(--mds-accordion-item-padding-selected,calc(var(--spacing,.0025rem)*400) 0 calc(var(--spacing,.0025rem)*800) 0)}:host([selected]:not([selected=false]):first-child){border-top-color:#0000;margin-top:0}:host([selected]:not([selected=false]):last-child){border-bottom-color:#0000;margin-bottom:0}:host([selected]:not([selected=false])) .content{grid-template-rows:1fr;opacity:1;padding-top:calc(var(--spacing,.0025rem)*400)}:host([selected]:not([selected=false])) .icon{transform:rotate(90deg)}: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-accordion-item-duration:0s;--private-accordion-item-transition-duration:0s}:host([pref-contrast=more]){--mds-accordion-item-color:var(--mds-accordion-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))))}@property --tw-font-weight{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-accordion-item-duration:0s;--private-accordion-item-transition-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-accordion-item-color:var(--mds-accordion-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))))}}'}},[257,"mds-accordion-item",{typography:[1],tag:[1],selected:[1540],label:[1]}]),m=s,l=function(){"undefined"!=typeof customElements&&["mds-accordion-item","mds-text"].forEach((t=>{switch(t){case"mds-accordion-item":customElements.get(i(t))||customElements.define(i(t),s);break;case"mds-text":customElements.get(i(t))||c()}}))};export{m as MdsAccordionItem,l as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,H as t,d as r,h as a,c as i,t as s}from"./p-
|
|
1
|
+
import{p as e,H as t,d as r,h as a,c as i,t as s}from"./p-g2_CekDc.js";import{m as o}from"./p-DFyAGAnn.js";import{p as n}from"./p-AWCYh8Xe.js";import{d}from"./p-oHBGZ2Av.js";import{d as c}from"./p-C878c9Nu.js";import{d as m}from"./p-BG1fjwnd.js";import{d as p}from"./p-aZlZ1XB9.js";const l=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.clickSelectEvent=r(this,"mdsAccordionTimerItemClickSelect",7),this.selectEvent=r(this,"mdsAccordionTimerItemSelect",7),this.selectedMouseEnterEvent=r(this,"mdsAccordionTimerItemMouseEnterSelect",7),this.selectedMouseLeaveEvent=r(this,"mdsAccordionTimerItemMouseLeaveSelect",7),this.typography="h5",this.selected=!1,this.progress=0,this.uuid=0,this.toggle=()=>{this.selected||this.clickSelectEvent.emit({selected:!0,uuid:this.uuid})},this.mouseEnter=()=>{this.selected&&this.selectedMouseEnterEvent.emit({selected:this.selected,uuid:this.uuid})},this.mouseLeave=()=>{this.selected&&this.selectedMouseLeaveEvent.emit({selected:this.selected,uuid:this.uuid})}}handleSelected(e){this.progress=0,e&&this.selectEvent.emit({selected:this.selected,uuid:this.uuid})}render(){var e;const t=a("button",{key:"6306f1cfe8a3ec0491ddb2e819f608bbaae45b8d","aria-controls":"content","aria-expanded":this.selected?"true":"false",class:"action",id:"action",onClick:this.toggle,role:"button",tabindex:"0"},a("mds-text",{key:"bf1f59f54be2a50e6e716d4abc7d078dc7954bfa",tag:"span",typography:this.typography,part:"label"},this.description),a("mds-text",{key:"d5f0a6ed2c533414c24706e9291c918c2e3563b2","aria-hidden":"true",class:"icon-button",tag:"span",typography:this.typography,part:"icon"},a("i",{key:"4101cebb83c70e529e2031adb4c2f8b56e981b30",class:"icon",innerHTML:o})));return a(i,{key:"86f21a4d97a6cd1a912da72ce0f1e78b1a44f412",onMouseEnter:this.mouseEnter,onMouseLeave:this.mouseLeave,"pref-animation":n.state.animation},a("div",{key:"906f46ef00beb0f9431204665041aea13df12ac1",class:"row"},a("mds-progress",{key:"50e6faa31578a5e0120ae3844efba8535c635dea","aria-hidden":"true",class:"progress-bar",progress:Number(null===(e=this.progress)||void 0===e?void 0:e.toFixed(2)),direction:"vertical",size:"sm",part:"progress"}),a("div",{key:"c97497833ca067c55a05328fd85f731837297361",class:"accordion"},null!=this.tag?a(this.tag,{class:"heading"},t):t,a("div",{key:"32d7e2fc817c039d35ef745d1d815da0f2a165de",class:"content",id:"content"},a("div",{key:"cd02a0d0f162f8c5b5eb255fa3544b2e05a874d0","aria-label":this.description,class:"content-expander",part:"content",role:"region"},a("slot",{key:"4ddc4b7df10d56a73ba6d0ab57131fd2a04a9029"}))))))}static get watchers(){return{selected:[{handleSelected:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-progress,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-accordion-timer-item-color:var(--mds-accordion-timer-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-accordion-timer-item-progress-bar-color:var(--mds-accordion-timer-progress-bar-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--mds-accordion-timer-item-progress-bar-background:var(--mds-accordion-timer-progress-bar-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));--mds-accordion-timer-item-progress-bar-thickness:var(--mds-accordion-timer-progress-bar-thickness,calc(var(--spacing,.0025rem)*100));--mds-accordion-timer-item-duration:var(--mds-accordion-timer-duration,var(--duration-500,.5s));--private-accordion-timer-item-duration:var(--mds-accordion-timer-item-duration,var(--duration-500,.5s));color:var(--mds-accordion-timer-item-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));display:grid;padding-bottom:calc(var(--spacing,.0025rem)*400);padding-top:calc(var(--spacing,.0025rem)*400);position:relative;transition-duration:var(--private-accordion-timer-item-duration);transition-property:color;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.row{display:flex;gap:calc(var(--spacing,.0025rem)*400)}.accordion{display:grid}.progress-bar{--mds-progress-color:var(--mds-accordion-timer-item-progress-bar-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--mds-progress-background:var(--mds-accordion-timer-item-progress-bar-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));--mds-progress-thickness:var(--mds-accordion-timer-item-progress-bar-thickness,calc(var(--spacing,.0025rem)*100));flex-shrink:0}.heading{display:grid;font:inherit;margin:0}.action{border-radius:min(var(--magma-radius-xs,var(--radius-squircle-xs,14px)),var(--magma-corner-cap,.5) * calc(var(--spacing,.0025rem)*600));color:inherit;corner-shape:var(--magma-corner-shape,squircle);background-color:#0000;border:0;cursor:pointer;display:flex;justify-content:space-between;padding:0;text-align:left}.action,.content{gap:calc(var(--spacing,.0025rem)*400)}.content{display:grid;grid-template-rows:0fr;opacity:0;overflow:hidden;padding-top:0;transition-duration:var(--private-accordion-timer-item-duration);transition-property:grid-template-rows,opacity,padding;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.content,.content-expander{min-height:0}.icon{display:flex;fill:currentColor;transform:rotate(0);transition-duration:var(--duration-500,.5s);transition-property:transform;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}:host([selected]:not([selected=false])) .action{cursor:auto}:host([selected]:not([selected=false])) .icon{transform:rotate(90deg)}:host([selected]:not([selected=false])) .content{grid-template-rows:1fr;opacity:1;padding-top:calc(var(--spacing,.0025rem)*400)}: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-accordion-timer-item-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-accordion-timer-item-duration:0s}}"}},[257,"mds-accordion-timer-item",{typography:[1],tag:[1],selected:[516],description:[1],duration:[514],progress:[2],uuid:[2]},void 0,{selected:[{handleSelected:0}]}]),u=l,h=function(){"undefined"!=typeof customElements&&["mds-accordion-timer-item","mds-icon","mds-progress","mds-radial-progress","mds-text"].forEach((e=>{switch(e){case"mds-accordion-timer-item":customElements.get(s(e))||customElements.define(s(e),l);break;case"mds-icon":customElements.get(s(e))||d();break;case"mds-progress":customElements.get(s(e))||c();break;case"mds-radial-progress":customElements.get(s(e))||m();break;case"mds-text":customElements.get(s(e))||p()}}))};export{u as MdsAccordionTimerItem,h as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as s,d as i,h as e,c as h,t as o}from"./p-
|
|
1
|
+
import{p as t,H as s,d as i,h as e,c as h,t as o}from"./p-g2_CekDc.js";const r=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.changeEvent=i(this,"mdsAccordionTimerChange",7),this.currentDuration=0,this.time=0,this.duration=1e4,this.clearIntervals=()=>{"undefined"!=typeof window&&window.clearInterval(this.timeChecker),this.timeChecker=0},this.remainingTime=()=>{const t=this.selectedItemRemainingTime-((new Date).getTime()-this.timeStarted);return t>=0?t:0},this.progress=()=>Math.abs(this.remainingTime()/this.currentDuration-1),this.addTimeListener=()=>{"undefined"!=typeof window&&(this.timeChecker=window.setInterval((()=>{const t=this.progress();void 0!==this.selectedItem&&(this.selectedItem.progress=t),1===t&&(this.selectedItem.progress=0,this.startNext())}),100))},this.beginningTime=()=>(this.timeStarted=(new Date).getTime(),this.timeStarted),this.selecting=!1,this.setSelectedItem=t=>{this.selecting=!0,this.children.forEach(((s,i)=>{var e;i===t?(s.selected=!0,this.currentDuration=null!==(e=s.duration)&&void 0!==e?e:this.duration,this.selectedItem=s,this.changeEvent.emit({index:i})):s.selected=!1})),this.selecting=!1},this.startNext=()=>{this.setSelectedItem(this.selectedItem.uuid+1>this.children.length-1?0:this.selectedItem.uuid+1),this.startTimer()},this.startTimer=()=>{this.clearIntervals(),this.time=this.beginningTime(),this.selectedItemRemainingTime=this.currentDuration,this.addTimeListener()},this.playTimer=()=>{this.beginningTime(),this.addTimeListener()},this.pauseTimer=()=>{this.clearIntervals(),this.selectedItemRemainingTime=this.remainingTime()},this.stopTimer=()=>{this.clearIntervals()}}componentDidLoad(){this.children=this.element.querySelectorAll("mds-accordion-timer-item"),this.children.forEach(((t,s)=>{var i;t.uuid=s,t.selected&&(this.currentDuration=null!==(i=t.duration)&&void 0!==i?i:this.duration,this.selectedItem=t)})),void 0!==this.selectedItem&&this.startTimer(),this.paused&&this.pauseTimer()}disconnectedCallback(){this.stopTimer(),this.clearIntervals()}onClickSelect(t){this.paused=!1,this.clearIntervals(),null!=this.selectedItem&&(this.selectedItem.progress=0),this.setSelectedItem(t.detail.uuid),this.startTimer(),this.pauseTimer()}onSelect(t){this.selecting||(this.clearIntervals(),this.paused=!1,null!=this.selectedItem&&(this.selectedItem.progress=0),this.setSelectedItem(t.detail.uuid),this.startTimer())}onMouseEnterSelect(){this.paused||this.pauseTimer()}onMouseLeaveSelect(){this.paused||0===this.timeChecker&&this.playTimer()}handlePaused(t){t?this.pauseTimer():this.playTimer()}render(){return e(h,{key:"4ae7150977501d75bb391b989318d92fbdc6879b"},e("slot",{key:"9492360f3fd283d14809024851821ae2b856dc70"}))}get element(){return this}static get watchers(){return{paused:[{handlePaused:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-accordion-timer-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-accordion-timer-progress-bar-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-accordion-timer-progress-bar-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-accordion-timer-progress-bar-thickness:calc(var(--spacing,.0025rem)*100);--mds-accordion-timer-duration:var(--duration-500,.5s);display:block}"}},[257,"mds-accordion-timer",{duration:[514],paused:[516],time:[32]},[[0,"mdsAccordionTimerItemClickSelect","onClickSelect"],[0,"mdsAccordionTimerItemSelect","onSelect"],[0,"mdsAccordionTimerItemMouseEnterSelect","onMouseEnterSelect"],[0,"mdsAccordionTimerItemMouseLeaveSelect","onMouseLeaveSelect"]],{paused:[{handlePaused:0}]}]),n=r,d=function(){"undefined"!=typeof customElements&&["mds-accordion-timer"].forEach((t=>{"mds-accordion-timer"===t&&(customElements.get(o(t))||customElements.define(o(t),r))}))};export{n as MdsAccordionTimer,d as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,t,H as r,d as s,h as a,c as o}from"./p-
|
|
1
|
+
import{p as e,t,H as r,d as s,h as a,c as o}from"./p-g2_CekDc.js";import{p as c}from"./p-AWCYh8Xe.js";const d=e(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.changedEvent=s(this,"mdsAccordionChange",7),this.multiple=!1,this.disableClose=!1,this.queryItems=()=>this.element.querySelectorAll("mds-accordion-item"),this.announceSelection=()=>{const e=this.queryItems(),t=""+Array.from(e).map(((e,t)=>e.selected?t:-1)).filter((e=>-1!==e));t!==this.announcedSelection&&(this.announcedSelection=t,this.changedEvent.emit({children:e,selected:t}))},this.changedChildrenHandler=e=>{const t=this.queryItems();if(this.multiple){if(this.disableClose&&!e.detail.selected&&!Array.from(t).some((t=>t!==e.target&&t.selected))){const r=Array.from(t).find((t=>t===e.target));r&&(r.selected=!0)}this.announceSelection()}else t.forEach((t=>{t.selected=t===e.target&&(e.detail.selected||this.disableClose)})),this.announceSelection()}}componentWillLoad(){const e=this.queryItems();e.forEach(((e,t)=>{""===e.id&&(e.id="item-"+t)})),this.announcedSelection=""+Array.from(e).map(((e,t)=>e.selected?t:-1)).filter((e=>-1!==e))}selectedEventHandler(e){this.changedChildrenHandler(e)}unselectedEventHandler(e){this.changedChildrenHandler(e)}render(){return a(o,{key:"b3c109c76bc7253e19e8af0322acd688dfe405b2","pref-contrast":c.state.contrast,"pref-mode":c.state.mode,"pref-theme-scheme":c.state["theme-scheme"]},a("slot",{key:"9e4c4e60b22f8461b59a68ab7d0bee7bc225948b"}))}get element(){return this}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-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)))}}"}},[257,"mds-accordion",{multiple:[4],disableClose:[4,"disable-close"]},[[0,"mdsAccordionItemSelect","selectedEventHandler"],[0,"mdsAccordionItemUnselect","unselectedEventHandler"]]]),i=d,n=function(){"undefined"!=typeof customElements&&["mds-accordion"].forEach((e=>{"mds-accordion"===e&&(customElements.get(t(e))||customElements.define(t(e),d))}))};export{i as MdsAccordion,n as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,h as a,c as s,t as i}from"./p-
|
|
1
|
+
import{p as t,H as e,h as a,c as s,t as i}from"./p-g2_CekDc.js";import{h as n}from"./p-DWIIDHSa.js";import{c as o}from"./p-ChV9xqsO.js";const r=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.onAvatarSlotChange=()=>{this.hasAvatar=n(this.hostElement,"avatar")}}componentWillLoad(){this.hasAvatar=n(this.hostElement,"avatar")}render(){return a(s,{key:"2a2ac2878bfb8e29f8319c412f55385c1842a363"},a("div",{key:"482d4f343d9b052ce52549ae3f2e469e5be39846",class:o("avatar",!this.hasAvatar&&"avatar--hidden")},a("slot",{key:"f153efb4d84596066156182256e6cd23a4373ae5",name:"avatar",onSlotchange:this.onAvatarSlotChange})),a("div",{key:"95f87b1a51c03d84ad702e9c3b2dd9bb5032d211",class:"info"},a("slot",{key:"ba9ff4fd53c208a2ab5fe3bc6dcfdcd28cf0bec0"})))}get hostElement(){return this}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-avatar: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{align-items:center;container:mds-author/inline-size;display:flex;gap:calc(var(--spacing,.0025rem)*400);width:100%}.avatar{display:flex;flex-shrink:0;-webkit-user-select:none;user-select:none}.avatar--hidden{display:none}.info{display:grid;flex-grow:1;min-width:0}@container (max-width:200px){:host{flex-direction:column;justify-content:center;text-align:center}}"}},[257,"mds-author",{hasAvatar:[32]}]),d=r,c=function(){"undefined"!=typeof customElements&&["mds-author"].forEach((t=>{"mds-author"===t&&(customElements.get(i(t))||customElements.define(i(t),r))}))};export{d as MdsAuthor,c as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{M as o,d as
|
|
1
|
+
import{M as o,d as s}from"./p-CDcB9Zdz.js";const p=o,r=s;export{p as MdsAvatarStackItem,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as a,H as s,h as t,c as r,t as e}from"./p-
|
|
1
|
+
import{p as a,H as s,h as t,c as r,t as e}from"./p-g2_CekDc.js";import{a as m}from"./p-DWIIDHSa.js";import{d as c}from"./p-Cty6fegI.js";import{d}from"./p-CDcB9Zdz.js";import{d as o}from"./p-Bg11_7lt.js";import{d as i}from"./p-oHBGZ2Av.js";import{d as v}from"./p-CS8s4gRV.js";import{d as n}from"./p-D7C-gjL6.js";import{d as l}from"./p-aZlZ1XB9.js";const k=a(class extends s{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.itemsCount=0,this.updateItems=()=>{this.itemsCount=m(this.host,"mds-avatar-stack-item").length}}componentWillLoad(){this.updateItems()}render(){return t(r,{key:"4f4157c0ed9a6bba7014cdb4d8592cc3000966c3"},t("slot",{key:"c559091f12cc9373e977a062e540cf73bbaab419",onSlotchange:this.updateItems}),void 0!==this.total&&this.total-this.itemsCount>0&&t("mds-avatar-stack-item",{key:"adaeda0e22d0ae5951a0819940880e884bc9ed46",count:this.total-this.itemsCount}))}get host(){return this}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-avatar-stack-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([size=sm]) ::slotted(mds-avatar-stack-item){--mds-avatar-stack-item-size:var(--mds-avatar-stack-sm-size,calc(var(--spacing,.0025rem)*900));--mds-avatar-stack-item-border:var(--mds-avatar-stack-sm-border,calc(var(--spacing,.0025rem)*50));--mds-avatar-stack-item-offset:var(--mds-avatar-stack-sm-offset,1.5)}:host([size=md]) ::slotted(mds-avatar-stack-item){--mds-avatar-stack-item-size:var(--mds-avatar-stack-md-size);--mds-avatar-stack-item-border:var(--mds-avatar-stack-md-border);--mds-avatar-stack-item-offset:var(--mds-avatar-stack-md-offset)}:host([size=lg]) ::slotted(mds-avatar-stack-item){--mds-avatar-stack-item-size:var(--mds-avatar-stack-lg-size,calc(var(--spacing,.0025rem)*1500));--mds-avatar-stack-item-border:var(--mds-avatar-stack-lg-border,calc(var(--spacing,.0025rem)*100));--mds-avatar-stack-item-offset:var(--mds-avatar-stack-lg-offset,2)}:host{--mds-avatar-stack-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-avatar-stack-count-background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-avatar-stack-count-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-avatar-stack-lg-border:calc(var(--spacing,.0025rem)*100);--mds-avatar-stack-lg-offset:2;--mds-avatar-stack-lg-size:calc(var(--spacing,.0025rem)*1500);--mds-avatar-stack-md-border:calc(var(--spacing,.0025rem)*100);--mds-avatar-stack-md-offset:1.75;--mds-avatar-stack-md-size:calc(var(--spacing,.0025rem)*1200);--mds-avatar-stack-sm-border:calc(var(--spacing,.0025rem)*50);--mds-avatar-stack-sm-offset:1.5;--mds-avatar-stack-sm-size:calc(var(--spacing,.0025rem)*900);background-color:var(--mds-avatar-stack-background);border-radius:var(--magma-radius-full,var(--radius-full,1000px));display:inline-flex}"}},[257,"mds-avatar-stack",{size:[513],total:[514],itemsCount:[32]}]),u=k,b=function(){"undefined"!=typeof customElements&&["mds-avatar-stack","mds-avatar","mds-avatar-stack-item","mds-button","mds-icon","mds-img","mds-spinner","mds-text"].forEach((a=>{switch(a){case"mds-avatar-stack":customElements.get(e(a))||customElements.define(e(a),k);break;case"mds-avatar":customElements.get(e(a))||c();break;case"mds-avatar-stack-item":customElements.get(e(a))||d();break;case"mds-button":customElements.get(e(a))||o();break;case"mds-icon":customElements.get(e(a))||i();break;case"mds-img":customElements.get(e(a))||v();break;case"mds-spinner":customElements.get(e(a))||n();break;case"mds-text":customElements.get(e(a))||l()}}))};export{u as MdsAvatarStack,b as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{M as o,d as s}from"./p-
|
|
1
|
+
import{M as o,d as s}from"./p-Cty6fegI.js";const t=o,p=s;export{t as MdsAvatar,p as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{M as o,d as s}from"./p-
|
|
1
|
+
import{M as o,d as s}from"./p-DKYN6Ikh.js";const p=o,r=s;export{p as MdsBadge,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{M as o,d as s}from"./p-
|
|
1
|
+
import{M as o,d as s}from"./p-BD9VWE7b.js";const p=o,r=s;export{p as MdsBanner,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as s,H as e,h as a,c as t,t as r}from"./p-
|
|
1
|
+
import{p as s,H as e,h as a,c as t,t as r}from"./p-g2_CekDc.js";import{r as i,s as o}from"./p-DWIIDHSa.js";import{d}from"./p-oHBGZ2Av.js";import{d as l}from"./p-C878c9Nu.js";import{d as c}from"./p-BG1fjwnd.js";import{d as n}from"./p-aZlZ1XB9.js";const m=s(class extends e{constructor(s){super(),!1!==s&&this.__registerHost(),this.__attachShadow(),this.typography="label",this.value=0,this.variant="dark",this.size="md",this.onSlotChangeHandler=()=>{var s;""===(null!==(s=this.label)&&void 0!==s?s:"")&&(this.label=i(this.host))}}labelChanged(s){this.label=o(s)}render(){var s;const e=null!==(s=this.alias)&&void 0!==s?s:this.value+"";return a(t,{key:"1e5947b6e2c7ac60a78deba32888f03a4ff28b37"},a("div",{key:"d2f65f69f076a170bac8bb5c9ef98241ba3dd882",class:"infos"},a("mds-text",{key:"e0e4590fc89f66f0f4342b82e293865286b4c6bd",typography:this.typography,class:"label",id:"label",truncate:"word"},this.label||a("slot",{key:"c75b8d577269aeafaaed6abe81d735a8d74a904c",onSlotchange:this.onSlotChangeHandler})),a("mds-text",{key:"34c931a3210e80e7418e0d91f1f2822f2d170639",typography:this.typography,class:"value",truncate:"word"},e)),a("mds-progress",{key:"d5808efc795a7cb763bc67e83685b190585d63a6","aria-labelledby":"label","aria-valuetext":e,steps:"",class:"progress",variant:this.variant,progress:this.value/100,size:this.size,part:"progress-bar"}))}get host(){return this}static get watchers(){return{label:[{labelChanged:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-progress,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)*100);grid-template-columns:repeat(1,minmax(1px,100%))}.infos{display:flex;gap:calc(var(--spacing,.0025rem)*200);justify-content:space-between;width:100%}.value{flex-shrink:0}.label{min-width:0}:host([size=md]),:host([size=sm]){gap:calc(var(--spacing,.0025rem)*200)}:host([size=lg]),:host([size=xl]){gap:calc(var(--spacing,.0025rem)*300)}"}},[257,"mds-benchmark-bar",{label:[1537],alias:[1],typography:[1],value:[2],variant:[513],size:[513]},void 0,{label:[{labelChanged:0}]}]),h=m,p=function(){"undefined"!=typeof customElements&&["mds-benchmark-bar","mds-icon","mds-progress","mds-radial-progress","mds-text"].forEach((s=>{switch(s){case"mds-benchmark-bar":customElements.get(r(s))||customElements.define(r(s),m);break;case"mds-icon":customElements.get(r(s))||d();break;case"mds-progress":customElements.get(r(s))||l();break;case"mds-radial-progress":customElements.get(r(s))||c();break;case"mds-text":customElements.get(r(s))||n()}}))};export{h as MdsBenchmarkBar,p as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as a,h as i,c as e,t as r}from"./p-
|
|
1
|
+
import{p as t,H as a,h as i,c as e,t as r}from"./p-g2_CekDc.js";import{d as s}from"./p-aZlZ1XB9.js";const o=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.separator={apa:"&",mla:"e",turabian:"&"},this.format="apa",this.rel="external",this.typography="detail",this.monthName=t=>["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"][t],this.getDate=t=>new Date(isNaN(Number(t))?t:parseInt(t)),this.dateFormatAPA=t=>{const a=this.getDate(t);return""+a=="Invalid Date"?"":`${a.getFullYear()}, ${this.monthName(a.getMonth())} ${a.getDate()}`},this.dateFormatMLA=t=>{const a=this.getDate(t);return""+a=="Invalid Date"?"":`${a.getDate()} ${this.monthName(a.getMonth())} ${a.getFullYear()}`},this.fullNameAPA=(t,a)=>{var i;let e="";if(t.includes(" ")){const a=RegExp(/(\w+)/,"g");null===(i=t.match(a))||void 0===i||i.forEach((t=>{e=`${e} ${t.substring(0,1)}.`}))}else e=` ${t.substring(0,1)}.`;return`${a}${""!==a?",":""}${e}`},this.fullNameMLA=(t,a)=>{var i;let e="";if(t.includes(" ")){const a=RegExp(/(\w+)/,"g");null===(i=t.match(a))||void 0===i||i.forEach(((t,a)=>{e=0===a?t:`${e} ${t.substring(0,1)}.`}))}else e=t;return`${a}${""!==a?",":""} ${e}`},this.formatAuthors=t=>{var a,i;const e=t.trim().replace(/"/g,"'"),r=RegExp(/([A-Za-z ]{2,})/g),s=null!==(a=e.match(r))&&void 0!==a?a:e;if(s.length>1){const t=s[0].trim(),a=""!==s[1]?s[1].trim():"";return{apa:this.fullNameAPA(t,a),firstName:t,lastName:a,mla:this.fullNameMLA(t,a),turabian:this.fullNameMLA(t,a)}}const o=s[0].split(" ")[0].trim(),n=(null!==(i=s[0].split(" ")[1])&&void 0!==i?i:"").trim();return{apa:this.fullNameAPA(o,n),firstName:o,lastName:n,mla:this.fullNameMLA(o,n),turabian:this.fullNameMLA(o,n)}},this.normalizeAuthors=t=>(Array.isArray(t)?t:(t+"").split(",")).map((t=>this.formatAuthors(t+""))),this.showAuthors=t=>{let a="";return t.forEach(((t,i)=>{a=0===i?t[this.format]:`${a}, ${this.separator[this.format]} ${t[this.format]}`})),a},this.renderName=t=>{var a,e;if(""===(null!==(a=this.name)&&void 0!==a?a:""))return null;const r=i("b",null,i("i",null,t&&" ",this.name,"."));return""===(null!==(e=this.url)&&void 0!==e?e:"")?r:i("a",{class:"link",href:this.url,target:"_blank",rel:this.rel},r)}}render(){return i(e,{key:"086a187134fd1648a4f7f8daf47cd47c7cc42f3e"},i("mds-text",{key:"430c7486eb9e5bf2be165d1dae08a9ebc2663aab",typography:this.typography,variant:this.variant},this.author&&i("span",{key:"8aefa3f07ccc39a2f982274eac2778b920a52f2b"},this.showAuthors(this.normalizeAuthors(this.author))),"mla"===this.format&&i("span",{key:"b98bf97de4e8f21e98ffc4d4c1fd1f4c799eb836"},this.name&&" ",this.renderName(!1),this.location&&i("span",{key:"89d6304a6c0eb4f07cb5489af56adf8d40c2af48"}," ",this.location,void 0!==this.publisher?":":"."),this.publisher&&i("span",{key:"801b30c940ced4121e37fed325ed4ba7260a0f1c"}," ",this.publisher,void 0!==this.date?",":"."),this.date&&i("time",{key:"938f0c6dd1b141ba54e5722f67fba461a680bac7",dateTime:this.date}," ",this.dateFormatMLA(this.date),".")),"apa"===this.format&&i("span",{key:"94ae239af7f65504a55e7c00644280071baf4903"},this.date&&i("time",{key:"a35307dc43770e4922d687cdff16a5d4a6d34590",dateTime:this.date}," (",this.dateFormatAPA(this.date),")."),this.name&&" ",this.renderName(!0),this.location&&i("span",{key:"a18b8ee0b4a4bc6a4d3084f59dc5117ea285dd54"}," ",this.location,void 0!==this.publisher?":":"."),this.publisher&&i("span",{key:"7c8d3e1853fe4c577736751dcfc79bc80bb2cd55"}," ",this.publisher,".")),"turabian"===this.format&&i("span",{key:"51c7b5719841ece2223c71f8449a162bbe51fac4"},this.name&&" ",this.renderName(!0),this.location&&i("span",{key:"b8a37ae4d20ff74d5f64af40c7bc032b973f9a70"}," ",this.location,void 0!==this.publisher?":":","),this.publisher&&i("span",{key:"013d487957d6235fa84245189605d18429463c56"}," ",this.publisher,void 0!==this.date?",":"."),this.date&&i("time",{key:"4aac79557e7fe89940dae99a2cee2039bb4d8714",dateTime:this.date}," ",this.dateFormatMLA(this.date),"."))))}static get style(){return"@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-bibliography-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-bibliography-text-decoration-hover:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-bibliography-text-decoration:rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)));display:inline}.link{animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--magma-radius-full,var(--radius-full,1000px));color:var(--mds-bibliography-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));-webkit-text-decoration-color:var(--mds-bibliography-text-decoration,rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140))));text-decoration-color:var(--mds-bibliography-text-decoration,rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140))));transition-duration:.2s;transition-duration:var(--duration-200,.2s);transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-property:-webkit-text-decoration,text-decoration,color,outline,outline-offset;transition-timing-function:ease-in-out}.link:hover{-webkit-text-decoration-color:var(--mds-bibliography-text-decoration-hover,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));text-decoration-color:var(--mds-bibliography-text-decoration-hover,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))))}.link:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}"}},[1,"mds-bibliography",{format:[1],author:[1],name:[1],publisher:[1],date:[1],location:[1],rel:[1],typography:[1],variant:[1],url:[1]}]),n=o,d=function(){"undefined"!=typeof customElements&&["mds-bibliography","mds-text"].forEach((t=>{switch(t){case"mds-bibliography":customElements.get(r(t))||customElements.define(r(t),o);break;case"mds-text":customElements.get(r(t))||s()}}))};export{n as MdsBibliography,d as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as o,H as t,h as a,c as e,t as r,B as i}from"./p-TZJN-ygm.js";import{L as s}from"./p-CZjwSwe5.js";import{p as n}from"./p-CVRN4LDc.js";const p={a4:[21,29.7],a5:[14.8,21],b5:[17.6,25]},l=17/24,h=/^(\d+(?:\.\d+)?)x(\d+(?:\.\d+)?)$/,d=o=>(null!=o?o:"").trim().toLowerCase(),c=o=>{const t=d(o);if(Object.prototype.hasOwnProperty.call(p,t))return p[t];const a=h.exec(t);if(null===a)return;const e=Number(a[1]),r=Number(a[2]);return e>0&&r>0?[e,r]:void 0},b=o=>{const t=c(o);return void 0===t?void 0:t[0]/t[1]},v=o=>`url("${o.replace(/[\\"]/g,"\\$&").replace(/[\n\r\f]/g,"")}")`,g=o=>null!=o&&Number.isFinite(o)&&o>0?Math.max(4,Math.min(3e3,Math.round(o))):300,m={spine:{lay:0,tilt:-6,turn:28},"fore-edge":{lay:0,tilt:-6,turn:-28},front:{lay:0,tilt:0,turn:0},lying:{lay:90,tilt:-30,turn:0},"lying-turned":{lay:90,tilt:-34,turn:32}},f=o=>Object.assign({glare:0,lift:0},Object.prototype.hasOwnProperty.call(m,null!=o?o:"")?m[o]:m.spine),k=120,u=260,w=(o,t)=>o[0]*t[0]+o[1]*t[1]+o[2]*t[2],y=o=>o*Math.PI/180,q=(([o,t,a])=>{const e=Math.hypot(o,t,a);return[o/e,t/e,a/e]})([.15,-.4,.9]),x=([o,t,a],e)=>{const r=y(e);return[o,t*Math.cos(r)-a*Math.sin(r),t*Math.sin(r)+a*Math.cos(r)]},M=(o,{lay:t,tilt:a,turn:e})=>x((([o,t,a],e)=>{const r=y(e);return[o*Math.cos(r)+a*Math.sin(r),t,-o*Math.sin(r)+a*Math.cos(r)]})(x(o,t),e),a),z=o=>[Math.sin(y(o)),0,Math.cos(y(o))],H={bottom:[0,1,0],fore:z(90),front:z(0),spine:z(-90),top:[0,-1,0]},$=(o,t,a)=>Math.max(-1,Math.min(1,1.4*(w(M(o,t),q)-a))),L=(o,t)=>{const a=(.25+t*t)/(2*t),e=a-t,r=Math.asin(.5/a);return{angle:t=>r-2*r*t/o,point:o=>({x:e-a*Math.cos(o),z:a*Math.sin(o)-.5})}},E=(()=>{const{angle:o,point:t}=L(6,.14);return Array.from({length:6},((a,e)=>{const r=o(e),i=o(e+1),s=t(r),n=t(i),p=(r+i)/2;return{width:1.04*Math.hypot(s.x-n.x,s.z-n.z),x:(s.x+n.x)/2,yaw:180*Math.atan2(-Math.cos(p),Math.sin(p))/Math.PI,z:(s.z+n.z)/2}}))})(),X=(()=>{const{angle:o,point:t}=L(6,.14),a=o=>(100*o).toFixed(3)+"%";return`polygon(${Array.from({length:7},((e,r)=>{const{x:i,z:s}=t(o(r));return`${a(1+i/.14)} ${a(-s)}`})).join(", ")})`})();var j={book:"Βιβλίο",byAuthor:"{{{name}}}, {{{author}}}"},C={book:"Book",byAuthor:"{{{name}}} by {{{author}}}"},Y={book:"Libro",byAuthor:"{{{name}}} de {{{author}}}"},A={book:"Libro",byAuthor:"{{{name}}} di {{{author}}}"};const O=o(class extends t{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.imageError=!1,this.logoError=!1,this.current=f(),this.dragged=!1,this.goal=f(),this.hovering=!1,this.pointer={x:0,y:0},this.slats=[],this.t=new s({el:j,en:C,es:Y,it:A}),this.binding="paperback",this.format="auto",this.loading="lazy",this.pages=300,this.pose="spine",this.watchDrag=()=>{var o;null===(o=this.dragWatch)||void 0===o||o.abort(),this.dragWatch=new AbortController;const{signal:t}=this.dragWatch,a=()=>{this.hovering=!1,this.pointer={x:0,y:0},this.endDrag(!1)},e=o=>{null===o.relatedTarget&&a()};window.addEventListener("pointerout",e,{signal:t}),window.addEventListener("mouseout",e,{signal:t}),window.addEventListener("blur",a,{signal:t}),document.addEventListener("visibilitychange",(()=>document.hidden&&a()),{signal:t})},this.endDrag=o=>{var t,a;void 0!==this.drag&&(this.dragged=o,this.drag=void 0,null===(t=this.dragWatch)||void 0===t||t.abort(),this.dragWatch=void 0,null===(a=this.scene)||void 0===a||a.classList.remove("scene--dragging"),this.aim())},this.reducedMotion=()=>{const o=this.host.getAttribute("pref-animation");return"reduce"===o||(null===o||"system"===o)&&"function"==typeof matchMedia&&matchMedia("(prefers-reduced-motion: reduce)").matches},this.consumption=()=>{var o;return null!==(o=this.host.getAttribute("pref-consumption"))&&void 0!==o?o:"high"},this.still=()=>this.reducedMotion()||"low"===this.consumption(),this.aim=()=>{const o=f(this.pose);if(this.still())return this.current=this.goal=o,void this.writePose();const t=this.hovering||void 0!==this.drag,a=void 0!==this.drag?1:this.hovering?.45:0;this.goal={glare:"high"===this.consumption()?a:0,lay:o.lay,lift:t?1:0,tilt:this.hovering?o.tilt-4*this.pointer.y:o.tilt,turn:void 0!==this.drag?this.goal.turn:this.hovering?o.turn+6*this.pointer.x:o.turn},this.wake()},this.wake=()=>{var o;null!==(o=this.frame)&&void 0!==o||(this.frame=requestAnimationFrame(this.tick))},this.tick=o=>{this.frame=void 0,this.current=((o,t,a)=>{const e=1-Math.exp(-a/(void 0===this.drag&&!this.hovering?u:k)),r=Object.assign({},o);for(const a of Object.keys(t)){r[a]+=(t[a]-o[a])*e;const i="glare"===a||"lift"===a?.002:.05;Math.abs(t[a]-r[a])<i&&(r[a]=t[a])}return r})(this.current,this.goal,void 0===this.lastTime?1e3/60:o-this.lastTime),this.writePose(),((o,t)=>Object.keys(o).every((a=>o[a]===t[a])))(this.current,this.goal)?this.lastTime=void 0:(this.lastTime=o,this.wake())},this.writePose=()=>{var o;const t=null===(o=this.scene)||void 0===o?void 0:o.style;if(!t)return;const a=f(this.pose),e=(o=>w(M(H.front,o),q))(a),{glare:r,lay:i,lift:s,tilt:n,turn:p}=this.current,l=((o,t)=>({bottom:$(H.bottom,o,t),fore:$(H.fore,o,t),front:$(H.front,o,t),spine:$(H.spine,o,t),top:$(H.top,o,t)}))(this.current,e);t.setProperty("--private-book-lay",i.toFixed(2)+"deg"),t.setProperty("--private-book-turn",p.toFixed(2)+"deg"),t.setProperty("--private-book-tilt",n.toFixed(2)+"deg"),t.setProperty("--private-book-lift",s.toFixed(3));const h=Math.max(0,Math.min(1,i/90));t.setProperty("--private-book-lie",h.toFixed(3)),t.setProperty("--private-book-stand",(1-h).toFixed(3)),t.setProperty("--private-book-glare",r.toFixed(3)),t.setProperty("--private-book-glare-x",((o,t)=>Math.max(0,Math.min(100,50+.8*(o-t.turn)+10*this.pointer.x)))(p,a).toFixed(1));for(const o of Object.keys(l))t.setProperty(`--private-book-${o}-light`,l[o].toFixed(3));const d=((o,t,a)=>o.map((o=>$(z(o),t,a))))(E.map((({yaw:o})=>o)),this.current,e);this.slats.forEach(((o,t)=>o.style.setProperty("--private-book-light",d[t].toFixed(3))))},this.warnInvalidFormat=o=>{(o=>{const t=d(o);return""===t||"auto"===t||void 0!==b(t)})(o)||console.warn(`mds-book: "${o}" is not a format, the book takes the proportions of its image. Use auto, a4, a5, b5 or WxH in centimetres`)},this.warnInvalidPages=o=>{(o=>null==o||Number.isFinite(o)&&o>0)(o)||console.warn(`mds-book: "${o}" is not a number of pages, the book is drawn with 300. Use a positive number, up to 3000`)},this.onLoad=o=>{const t=o.target;t.naturalWidth>0&&t.naturalHeight>0&&(this.imageRatio=t.naturalWidth/t.naturalHeight),this.coverUrl=t.currentSrc||t.src},this.onError=()=>{this.coverUrl=void 0,this.imageError=!0},this.hasImage=()=>{var o;return""!==(null!==(o=this.src)&&void 0!==o?o:"")&&!this.imageError},this.loadLogo=()=>{var o;this.logoLoader&&(this.logoLoader.onload=null,this.logoLoader.onerror=null),this.logoLoader=void 0,this.logoError=!1,this.logoUrl=void 0;const t=(null!==(o=this.publisherLogo)&&void 0!==o?o:"").trim();if(""===t||!i.isBrowser)return;const a=new Image;a.crossOrigin="anonymous",a.onload=()=>{this.logoUrl=a.src},a.onerror=()=>{this.logoError=!0},a.src=t,this.logoLoader=a},this.logoPending=()=>{var o;return""!==(null!==(o=this.publisherLogo)&&void 0!==o?o:"").trim()&&void 0===this.logoUrl&&!this.logoError},this.ratio=()=>{var o,t;return null!==(t=null!==(o=b(this.format))&&void 0!==o?o:this.imageRatio)&&void 0!==t?t:l},this.label=()=>{var o,t;if(null!=this.alt)return this.alt;const a=(null!==(o=this.name)&&void 0!==o?o:"").trim(),e=(null!==(t=this.author)&&void 0!==t?t:"").trim();return""!==e?this.t.get("byAuthor",{name:""!==a?a:this.t.get("book"),author:e}):""!==a?a:this.t.get("book")},this.hostRole=()=>{const o=this.label();return""===o?{role:"presentation"}:{role:"img","aria-label":o}},this.bookStyle=()=>{const o=(()=>{var o,t;return null!==(t=null===(o=c(this.format))||void 0===o?void 0:o[0])&&void 0!==t?t:17})(),t=((o,t)=>({board:t?.25/o:0,square:t?.3/o:0}))(o,"hardcover"===this.binding),a=o=>(100*o).toFixed(3)+"cqi",e={"--private-book-board":a(t.board),"--private-book-page-count":g(this.pages)+"","--private-book-square":a(t.square),"--private-book-width-mm":10*o+""};return void 0!==this.coverUrl&&this.hasImage()&&(e["--private-book-cover"]=v(this.coverUrl)),void 0!==this.logoUrl&&(e["--private-book-logo"]=v(this.logoUrl)),e},this.renderPublisher=o=>{var t;return void 0!==this.logoUrl?a("span",{class:o+"-logo"}):this.logoPending()||""===(null!==(t=this.publisher)&&void 0!==t?t:"")?null:a("span",{class:o+"-publisher"},this.publisher)},this.renderSpineText=()=>a("div",{class:"spine-text"},this.name&&a("span",{class:"spine-name"},this.name),this.author&&a("span",{class:"spine-author"},this.author),this.renderPublisher("spine")),this.shade=()=>a("span",{class:"shade"}),this.renderHardcover=()=>[...["top","bottom"].flatMap((o=>[a("div",{key:`board-${o}-front`,class:`face board-${o} board-${o}--front lit-${o}`},this.shade()),a("div",{key:`board-${o}-back`,class:`face board-${o} board-${o}--back lit-${o}`},this.shade()),a("div",{key:"endpaper-"+o,class:`face endpaper endpaper--${o} lit-front`},this.shade()),a("div",{key:"pages-"+o,class:`face pages-${o} lit-${o}`},this.shade()),a("div",{key:"cap-"+o,class:`face cap cap--${o} lit-${o}`,style:{clipPath:X}},this.shade())])),a("div",{key:"board-fore-front",class:"face board-fore board-fore--front lit-fore"},this.shade()),a("div",{key:"board-fore-back",class:"face board-fore board-fore--back lit-fore"},this.shade()),a("div",{key:"endpaper-fore",class:"face endpaper endpaper--fore lit-front"},this.shade()),a("div",{key:"pages-fore",class:"face pages-fore lit-fore"},this.shade()),...E.map((({width:o,x:t,yaw:e,z:r},i)=>a("div",{key:"slat-"+i,class:"face slat",ref:o=>o&&(this.slats[i]=o),style:{"--private-book-slat-width":o+"","--private-book-slat-x":t+"","--private-book-slat-yaw":e+"deg","--private-book-slat-z":r+""}},this.shade()))),a("div",{key:"spine-label","aria-hidden":"true",class:"face spine-label"},this.renderSpineText())],this.renderPaperback=()=>[a("div",{key:"pages-top",class:"face pages-top pages-flush pages-flush--across lit-top"},this.shade()),a("div",{key:"pages-bottom",class:"face pages-bottom pages-flush pages-flush--across lit-bottom"},this.shade()),a("div",{key:"pages-fore",class:"face pages-fore pages-flush pages-flush--along lit-fore"},this.shade()),a("div",{key:"spine","aria-hidden":"true",class:"face spine lit-spine"},this.renderSpineText(),this.shade())],this.renderLoose=()=>[a("div",{key:"pages-top",class:"face pages-top pages-flush pages-flush--across pages-loose lit-top"},this.shade()),a("div",{key:"pages-bottom",class:"face pages-bottom pages-flush pages-flush--across pages-loose lit-bottom"},this.shade()),a("div",{key:"pages-fore",class:"face pages-fore pages-flush pages-flush--along pages-loose lit-fore"},this.shade()),a("div",{key:"pages-spine",class:"face pages-spine lit-spine"},this.shade())],this.renderBinding=()=>"hardcover"===this.binding?this.renderHardcover():"none"===this.binding?this.renderLoose():this.renderPaperback()}formatHandler(o){this.warnInvalidFormat(o)}pagesHandler(o){this.warnInvalidPages(o)}poseHandler(){this.aim()}publisherLogoHandler(){this.loadLogo()}srcHandler(){this.coverUrl=void 0,this.imageError=!1,this.imageRatio=void 0}pointerEnterHandler(o){"touch"===o.pointerType||this.still()||(this.hovering=!0,this.aim())}pointerMoveHandler(o){var t,a;if(this.still())return;const{left:e,top:r,width:i,height:s}=this.host.getBoundingClientRect();if(0===i||0===s)return;const n=o=>Math.max(-1,Math.min(1,o));if("touch"!==o.pointerType&&(this.pointer={x:n((o.clientX-e)/i*2-1),y:n((o.clientY-r)/s*2-1)}),(null===(t=this.drag)||void 0===t?void 0:t.pointerId)===o.pointerId&&"touch"!==o.pointerType&&0===o.buttons&&this.endDrag(!1),(null===(a=this.drag)||void 0===a?void 0:a.pointerId)===o.pointerId){const t=o.clientX-this.drag.startX;Math.abs(t)>4&&(this.drag.moved=!0);const{max:a,min:e}=(o=>0===o.lay?{max:64,min:-64}:{max:o.turn+70,min:o.turn-70})(f(this.pose));return this.goal.turn=Math.max(e,Math.min(a,this.drag.startTurn+t/i*110)),void this.wake()}this.aim()}pointerDownHandler(o){var t;if(0===o.button&&!this.still()){this.dragged=!1,this.drag={moved:!1,pointerId:o.pointerId,startTurn:this.current.turn,startX:o.clientX};try{this.host.setPointerCapture(o.pointerId)}catch(o){}null===(t=this.scene)||void 0===t||t.classList.add("scene--dragging"),this.watchDrag(),this.aim()}}pointerUpHandler(o){var t;(null===(t=this.drag)||void 0===t?void 0:t.pointerId)===o.pointerId&&this.endDrag(this.drag.moved)}pointerLostHandler(o){var t;(null===(t=this.drag)||void 0===t?void 0:t.pointerId)===o.pointerId&&this.endDrag(!1)}pointerLeaveHandler(){void 0===this.drag&&(this.hovering=!1,this.pointer={x:0,y:0},this.aim())}clickHandler(o){this.dragged&&(this.dragged=!1,o.preventDefault(),o.stopPropagation())}componentWillLoad(){this.warnInvalidFormat(this.format),this.warnInvalidPages(this.pages),this.current=this.goal=f(this.pose),this.loadLogo()}componentDidRender(){i.isBrowser&&(this.still()&&(this.current=this.goal=f(this.pose)),this.writePose())}disconnectedCallback(){var o;void 0!==this.frame&&cancelAnimationFrame(this.frame),this.frame=void 0,this.drag=void 0,null===(o=this.dragWatch)||void 0===o||o.abort(),this.dragWatch=void 0,this.hovering=!1}render(){return"hardcover"!==this.binding&&(this.slats=[]),a(e,Object.assign({key:"f0ce935a9fdb6afa1a3aa76e70dd24fd2c8ee57f"},this.hostRole(),{"pref-animation":n.state.animation,"pref-consumption":n.state.consumption,style:{"--private-book-ratio":this.ratio()+""}}),a("div",{key:"dc1c6c8d722e40d86f188175b25cac58bc32d062",class:"scene",ref:o=>this.scene=o},a("div",{key:"55ddc220f95462b6d9779a9e9f23b02b88171fc7",class:"stage"},a("div",{key:"c30d526674723afe1316740ec0a8cf0a4b080849",class:{book:!0,"book--printed":this.hasImage()},style:this.bookStyle()},a("div",{key:"00af30c2cf058b356950d38916a709cb321cd3e6",class:"floor floor--stand"}),a("div",{key:"1f011b91c5a8f7ecf2b8920e58a5cd2e03882a52",class:"floor floor--lie"}),a("div",{key:"3ed9b3088b542bd45d371167b69ad7e08ad94b16",class:"body"},a("div",{key:"e34b335a4b3e857a219be69563198cb4f11fac1f",class:"face front lit-front"},this.hasImage()?a("img",{alt:"","aria-hidden":"true",class:"cover",draggable:!1,loading:this.loading,onError:this.onError,onLoad:this.onLoad,part:"cover",src:this.src}):a("div",{"aria-hidden":"true",class:"drawn-cover"},this.author&&a("span",{class:"drawn-author"},this.author),this.name&&a("span",{class:"drawn-name"},this.name),this.renderPublisher("drawn")),a("span",{key:"2463ab970ae56290ce4c331976c07de58c03dcba",class:"gloss"}),this.shade()),this.renderBinding())))))}get host(){return this}static get watchers(){return{format:[{formatHandler:0}],pages:[{pagesHandler:0}],pose:[{poseHandler:0}],publisherLogo:[{publisherLogoHandler:0}],src:[{srcHandler:0}]}}static get style(){return"@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-font-weight:initial}}}:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host([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]){cursor:auto;touch-action:auto}:host([pref-consumption=low]){cursor:auto;touch-action:auto}:host([pref-consumption=low]) .gloss,:host([pref-consumption=medium]) .gloss{display:none}:host([pref-consumption=low]) .scene,:host([pref-consumption=medium]) .scene{filter:none}:host{--mds-book-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-book-paper-color:#faf8f2;--mds-book-text-color:rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-book-publisher-color:var(--mds-book-text-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-book-page-weight-max:.05;--mds-book-page-weight-min:.1;--private-book-grain:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='a'%3E%3CfeTurbulence baseFrequency='1.1' numOctaves='2' stitchTiles='stitch' type='fractalNoise'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E\");--private-book-glare:0;--private-book-glare-x:50;--private-book-lay:0deg;--private-book-lie:0;--private-book-lift:0;--private-book-stand:1;--private-book-tilt:-6deg;--private-book-turn:28deg;aspect-ratio:var(--private-book-ratio,17/24);cursor:ew-resize;display:block;min-width:0;touch-action:pan-y;-webkit-user-select:none;user-select:none}:host([pose=fore-edge]){--private-book-turn:-28deg}:host([pose=front]){--private-book-tilt:0deg;--private-book-turn:0deg}:host([pose=lying]){--private-book-lay:90deg;--private-book-lie:1;--private-book-stand:0;--private-book-tilt:-30deg;--private-book-turn:0deg}:host([pose=lying-turned]){--private-book-lay:90deg;--private-book-lie:1;--private-book-stand:0;--private-book-tilt:-34deg;--private-book-turn:32deg}.scene{contain-intrinsic-inline-size:calc(var(--spacing,.0025rem)*5000);container-type:inline-size;filter:drop-shadow(0 1.2cqi 2cqi rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.08));position:relative}.scene--dragging{-webkit-user-select:none;user-select:none}.stage{perspective:600cqi;perspective-origin:50% -80%}.book{--private-book-binding:var(--mds-book-color,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));--private-book-bulge:0cqi;--private-book-height:calc(100cqi/var(--private-book-ratio));--private-book-page-weight:calc(var(--mds-book-page-weight-min,.1) + (var(--mds-book-page-weight-max,.05) - var(--mds-book-page-weight-min,.1))*(min(var(--private-book-page-count), 1000) - 1)/999);--private-book-pages-mm:calc(var(--private-book-page-count)*var(--private-book-page-weight));--private-book-pages:calc(var(--private-book-pages-mm)/var(--private-book-width-mm)*100cqi);--private-book-depth:calc(var(--private-book-pages) + var(--private-book-board)*2);--private-book-solid:linear-gradient(var(--mds-book-spine-color),var(--mds-book-spine-color));--private-book-wrap:var(--private-book-solid,var(--private-book-cover,none));aspect-ratio:var(--private-book-ratio);position:relative;transform:rotateX(var(--private-book-tilt)) rotateY(var(--private-book-turn)) rotateX(var(--private-book-lay));transform-origin:50% 50% calc(var(--private-book-depth)/-2);transform-style:preserve-3d;width:100%}:host([binding=hardcover]) .book{--private-book-bulge:calc(var(--private-book-depth)*0.14)}.body{inset:0;transform:translate3d(0,calc(var(--private-book-lift)*var(--private-book-stand)*-3cqi),calc(var(--private-book-lift)*var(--private-book-lie)*3cqi));transform-style:preserve-3d}.body,.floor{position:absolute}.floor{background-color:rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.27);border-radius:1cqi;box-shadow:0 0 3cqi .6cqi rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.34),0 0 9cqi 2cqi rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.1);left:0;pointer-events:none;top:0;transform-origin:0 0}.floor--stand{height:var(--private-book-depth);opacity:calc(var(--private-book-stand)*(1 - var(--private-book-lift)*0.6));transform:translate3d(0,var(--private-book-height),calc(var(--private-book-depth)*-1)) rotateX(90deg);width:100%}.floor--lie,:host([pose=lying-turned]) .floor--stand,:host([pose=lying]) .floor--stand{display:none}:host([pose=lying-turned]) .floor--lie,:host([pose=lying]) .floor--lie{display:block}.floor--lie{height:100%;opacity:calc(var(--private-book-lie)*(1 - var(--private-book-lift)*0.6));transform:translateZ(calc(var(--private-book-depth)*-1 - .2cqi));width:100%}.book--printed{--private-book-binding:var(--mds-book-paper-color,#faf8f2)}.face{--private-book-light:0;backface-visibility:hidden;left:0;position:absolute;top:0;transform-origin:0 0}.lit-front{--private-book-light:var(--private-book-front-light,0)}.lit-top{--private-book-light:var(--private-book-top-light,0)}.lit-bottom{--private-book-light:var(--private-book-bottom-light,0)}.lit-fore{--private-book-light:var(--private-book-fore-light,0)}.lit-spine{--private-book-light:var(--private-book-spine-light,0)}.shade{background-color:rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5)));inset:0;opacity:calc(max(0, var(--private-book-light) * -1)*.24);pointer-events:none;position:absolute}.front{background-color:var(--private-book-binding);height:100%;overflow:hidden;width:100%}.gloss{background-image:linear-gradient(105deg,#0000 34%,var(--mds-book-paper-color,#faf8f2) 44%,var(--mds-book-paper-color,#faf8f2) 50%,var(--mds-book-paper-color,#faf8f2) 56%,#0000 66%);height:100%;left:0;mix-blend-mode:screen;opacity:var(--private-book-glare);pointer-events:none;position:absolute;top:0;translate:calc(var(--private-book-glare-x)*-.6%) 0;width:250%}@supports (color:color-mix(in lab,red,red)){.gloss{background-image:linear-gradient(105deg,#0000 34%,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 6%,#0000) 44%,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 14%,#0000) 50%,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 6%,#0000) 56%,#0000 66%)}}.front:after{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.12),#0000 1.2cqi,var(--mds-book-paper-color,#faf8f2) 1.6cqi,#0000 2.4cqi),linear-gradient(105deg,var(--mds-book-paper-color,#faf8f2),#0000 45%);content:\"\";inset:0;pointer-events:none;position:absolute}@supports (color:color-mix(in lab,red,red)){.front:after{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.12),#0000 1.2cqi,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 18%,#0000) 1.6cqi,#0000 2.4cqi),linear-gradient(105deg,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 16%,#0000),#0000 45%)}}:host([binding=hardcover]) .front:after{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.04) 2.6cqi,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.32) 3.4cqi,var(--mds-book-paper-color,#faf8f2) 4cqi,#0000 5cqi),linear-gradient(105deg,var(--mds-book-paper-color,#faf8f2),#0000 45%)}@supports (color:color-mix(in lab,red,red)){:host([binding=hardcover]) .front:after{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.04) 2.6cqi,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.32) 3.4cqi,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 28%,#0000) 4cqi,#0000 5cqi),linear-gradient(105deg,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 16%,#0000),#0000 45%)}}:host([binding=none]) .front:after{background-image:linear-gradient(105deg,var(--mds-book-paper-color,#faf8f2),#0000 45%)}@supports (color:color-mix(in lab,red,red)){:host([binding=none]) .front:after{background-image:linear-gradient(105deg,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 16%,#0000),#0000 45%)}}:host([binding=none]) .gloss{display:none}.cover{object-fit:cover;-webkit-user-drag:none;display:block;height:100%;width:100%}.drawn-cover{box-sizing:border-box;color:var(--mds-book-text-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))));display:flex;flex-direction:column;gap:3cqi;height:100%;padding:12cqi 9cqi 9cqi 12cqi}.drawn-author{font-size:5cqi;line-height:1.2}.drawn-name{font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,\"Segoe UI\",sans-serif);--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-line-clamp:6;line-clamp:6;overflow-wrap:anywhere;-webkit-box-orient:vertical;display:-webkit-box;font-size:10cqi;line-height:1.1;overflow:hidden}.drawn-logo,.drawn-publisher{margin-top:auto}.drawn-publisher{color:var(--mds-book-publisher-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))));font-size:4.5cqi}.drawn-logo,.spine-logo{background-color:var(--mds-book-publisher-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))));flex-shrink:0;-webkit-mask-image:var(--private-book-logo);mask-image:var(--private-book-logo);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain}.drawn-logo{height:15cqi;-webkit-mask-position:0 100%;mask-position:0 100%;width:50cqi}.board-bottom,.board-fore,.board-top,.cap,.slat{background-color:var(--private-book-binding);background-image:var(--private-book-wrap);background-position:var(--private-book-wrap-position);background-repeat:no-repeat;background-size:var(--private-book-wrap-size)}.board-bottom,.board-top{--private-book-wrap-size:100% 4000%;height:var(--private-book-board);width:100%}.board-top{--private-book-wrap-position:center top}.board-bottom{--private-book-wrap-position:center bottom}.board-top--front{transform:translateZ(calc(var(--private-book-board)*-1)) rotateX(90deg)}.board-top--back{transform:translateZ(calc(var(--private-book-depth)*-1)) rotateX(90deg)}.board-bottom--front{transform:translateY(var(--private-book-height)) rotateX(-90deg)}.board-bottom--back{transform:translate3d(0,var(--private-book-height),calc(var(--private-book-board) - var(--private-book-depth))) rotateX(-90deg)}.board-fore{--private-book-wrap-position:right center;--private-book-wrap-size:4000% 100%;height:100%;width:var(--private-book-board)}.board-fore--front{transform:translate(100cqi)rotateY(90deg)}.board-fore--back{transform:translate3d(100cqi,0,calc(var(--private-book-board) - var(--private-book-depth))) rotateY(90deg)}.endpaper{background-color:var(--mds-book-paper-color,#faf8f2);background-image:linear-gradient(var(--private-book-endpaper-fall),#0000,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.22))}@supports (color:color-mix(in lab,red,red)){.endpaper{background-color:color-mix(in srgb,var(--mds-book-paper-color,#faf8f2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))) 5%)}}.endpaper--top{--private-book-endpaper-fall:to bottom;transform:translateZ(calc(var(--private-book-board) - var(--private-book-depth)))}.endpaper--bottom,.endpaper--top{height:var(--private-book-square);width:100%}.endpaper--bottom{--private-book-endpaper-fall:to top;transform:translate3d(0,calc(var(--private-book-height) - var(--private-book-square)),calc(var(--private-book-board) - var(--private-book-depth)))}.endpaper--fore{--private-book-endpaper-fall:to left;height:100%;transform:translate3d(calc(100cqi - var(--private-book-square)),0,calc(var(--private-book-board) - var(--private-book-depth)));width:var(--private-book-square)}.pages-bottom,.pages-fore,.pages-spine,.pages-top{background-color:var(--mds-book-paper-color,#faf8f2);background-repeat:no-repeat,repeat,no-repeat;background-size:100% 100%,auto,100% 100%}.pages-bottom,.pages-top{background-image:linear-gradient(to bottom,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16),#0000 22%,#0000 78%,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16)),var(--private-book-grain),repeating-linear-gradient(to bottom,#0000 0 .45cqi,var(--mds-book-paper-color,#faf8f2) .45cqi .55cqi);height:var(--private-book-pages);width:calc(100cqi - var(--private-book-square))}@supports (color:color-mix(in lab,red,red)){.pages-bottom,.pages-top{background-image:linear-gradient(to bottom,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16),#0000 22%,#0000 78%,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16)),var(--private-book-grain),repeating-linear-gradient(to bottom,#0000 0 .45cqi,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))) 9%) .45cqi .55cqi)}}.pages-top{transform:translate3d(0,var(--private-book-square),calc(var(--private-book-board) - var(--private-book-depth))) rotateX(90deg)}.pages-bottom{transform:translate3d(0,calc(var(--private-book-height) - var(--private-book-square)),calc(var(--private-book-board)*-1)) rotateX(-90deg)}.pages-bottom:before,.pages-top:before{background-image:repeating-linear-gradient(to bottom,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.55) 0 .35cqi,var(--mds-book-paper-color,#faf8f2) .35cqi .7cqi);bottom:0;content:\"\";left:0;position:absolute;top:0;width:1cqi}.pages-fore,.pages-spine{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16),#0000 22%,#0000 78%,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16)),var(--private-book-grain),repeating-linear-gradient(to right,#0000 0 .45cqi,var(--mds-book-paper-color,#faf8f2) .45cqi .55cqi)}@supports (color:color-mix(in lab,red,red)){.pages-fore,.pages-spine{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16),#0000 22%,#0000 78%,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16)),var(--private-book-grain),repeating-linear-gradient(to right,#0000 0 .45cqi,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))) 9%) .45cqi .55cqi)}}.pages-fore{height:calc(100% - var(--private-book-square)*2);transform:translate3d(calc(100cqi - var(--private-book-square)),var(--private-book-square),calc(var(--private-book-board)*-1)) rotateY(90deg);width:var(--private-book-pages)}.pages-flush:after,.pages-flush:before{background-color:var(--private-book-binding);background-image:var(--private-book-wrap);background-position:var(--private-book-wrap-position);background-repeat:no-repeat;background-size:var(--private-book-wrap-size);content:\"\";position:absolute}.pages-flush--across{--private-book-wrap-size:100% 4000%;height:var(--private-book-depth);width:100%}.pages-flush--across:after,.pages-flush--across:before{height:1px;inset:0 0 auto;width:auto}.pages-flush--across:after{bottom:0;top:auto}.pages-top.pages-flush{--private-book-wrap-position:center top;transform:translateZ(calc(var(--private-book-depth)*-1)) rotateX(90deg)}.pages-bottom.pages-flush{--private-book-wrap-position:center bottom;transform:translateY(var(--private-book-height)) rotateX(-90deg)}.pages-flush--along{--private-book-wrap-position:right center;--private-book-wrap-size:4000% 100%;height:100%;transform:translate(100cqi)rotateY(90deg);width:var(--private-book-depth)}.pages-flush--along:after,.pages-flush--along:before{bottom:0;left:0;top:0;width:1px}.pages-flush--along:after{left:auto;right:0}.pages-loose:after,.pages-loose:before{content:none}.pages-spine{transform:translateZ(calc(var(--private-book-depth)*-1)) rotateY(-90deg)}.pages-spine,.spine,.spine-label{height:100%;width:var(--private-book-depth)}.spine,.spine-label{box-sizing:border-box;container-type:inline-size;display:flex;font-size:min(calc(var(--private-book-depth)*.42),4.5cqi);justify-content:center;padding-block:7cqi}.spine{background-color:var(--private-book-binding);background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.1),#0000 .6cqi,#0000 calc(100% - .6cqi),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.1)),var(--private-book-wrap);background-position:0 0,0;background-repeat:no-repeat;background-size:100% 100%,4000% 100%;transform:translateZ(calc(var(--private-book-depth)*-1)) rotateY(-90deg)}.slat{--private-book-wrap-position:left center;--private-book-wrap-size:4000% 100%;height:100%;transform:translate3d(calc(var(--private-book-slat-x)*var(--private-book-depth)),0,calc(var(--private-book-slat-z)*var(--private-book-depth))) rotateY(var(--private-book-slat-yaw)) translateX(-50%);width:calc(var(--private-book-slat-width)*var(--private-book-depth))}.spine-label{transform:translate3d(calc(var(--private-book-bulge)*-1 - .2cqi),0,calc(var(--private-book-depth)*-1)) rotateY(-90deg)}.cap{--private-book-wrap-position:left top;--private-book-wrap-size:4000% 4000%;height:var(--private-book-depth);width:var(--private-book-bulge)}.cap--top{transform:translate3d(calc(var(--private-book-bulge)*-1),0,calc(var(--private-book-depth)*-1)) rotateX(90deg)}.cap--bottom{transform:translate3d(calc(var(--private-book-bulge)*-1),var(--private-book-height),0) rotateX(-90deg)}.spine-text{align-items:center;color:var(--mds-book-text-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))));display:flex;gap:.8lh;line-height:1.2;min-block-size:0;opacity:clamp(0,(var(--private-book-pages-mm) - 5) * 2,1);text-shadow:0 0 .3lh rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.4);writing-mode:vertical-rl}.spine-text>span{min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.spine-author{flex-shrink:4}.spine-name{font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,\"Segoe UI\",sans-serif);--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.spine-logo,.spine-publisher{flex-shrink:0;margin-inline-start:auto}.spine-publisher{color:var(--mds-book-publisher-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))))}.spine-logo{height:2lh;-webkit-mask-position:bottom;mask-position:bottom;width:1.4lh}@container (min-width:3em){.spine-text{display:grid;gap:0 .8lh;grid-template-columns:minmax(0,1fr) auto}.spine-name{grid-area:1/1}.spine-author{font-size:80%;grid-area:2/1}.spine-logo,.spine-publisher{grid-area:1/2/span 2}}@property --tw-font-weight{syntax:\"*\";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){cursor:auto;touch-action:auto}}"}},[1,"mds-book",{alt:[1],author:[1],binding:[513],format:[513],loading:[1],name:[1],pages:[2],pose:[513],publisher:[1],publisherLogo:[1,"publisher-logo"],src:[1],coverUrl:[32],imageError:[32],imageRatio:[32],logoError:[32],logoUrl:[32]},[[1,"pointerenter","pointerEnterHandler"],[1,"pointermove","pointerMoveHandler"],[1,"pointerdown","pointerDownHandler"],[1,"pointerup","pointerUpHandler"],[1,"pointercancel","pointerLostHandler"],[0,"lostpointercapture","pointerLostHandler"],[1,"pointerleave","pointerLeaveHandler"],[2,"click","clickHandler"]],{format:[{formatHandler:0}],pages:[{pagesHandler:0}],pose:[{poseHandler:0}],publisherLogo:[{publisherLogoHandler:0}],src:[{srcHandler:0}]}]),Z=O,U=function(){"undefined"!=typeof customElements&&["mds-book"].forEach((o=>{"mds-book"===o&&(customElements.get(r(o))||customElements.define(r(o),O))}))};export{Z as MdsBook,U as defineCustomElement}
|
|
1
|
+
import{p as o,H as t,h as a,c as e,t as r,B as i}from"./p-g2_CekDc.js";import{L as s}from"./p-BmlDGlcB.js";import{p as n}from"./p-AWCYh8Xe.js";const p={a4:[21,29.7],a5:[14.8,21],b5:[17.6,25]},l=17/24,h=/^(\d+(?:\.\d+)?)x(\d+(?:\.\d+)?)$/,d=o=>(null!=o?o:"").trim().toLowerCase(),c=o=>{const t=d(o);if(Object.prototype.hasOwnProperty.call(p,t))return p[t];const a=h.exec(t);if(null===a)return;const e=Number(a[1]),r=Number(a[2]);return e>0&&r>0?[e,r]:void 0},b=o=>{const t=c(o);return void 0===t?void 0:t[0]/t[1]},v=o=>`url("${o.replace(/[\\"]/g,"\\$&").replace(/[\n\r\f]/g,"")}")`,g=o=>null!=o&&Number.isFinite(o)&&o>0?Math.max(4,Math.min(3e3,Math.round(o))):300,m={spine:{lay:0,tilt:-6,turn:28},"fore-edge":{lay:0,tilt:-6,turn:-28},front:{lay:0,tilt:0,turn:0},lying:{lay:90,tilt:-30,turn:0},"lying-turned":{lay:90,tilt:-34,turn:32}},f=o=>Object.assign({glare:0,lift:0},Object.prototype.hasOwnProperty.call(m,null!=o?o:"")?m[o]:m.spine),k=120,u=260,w=(o,t)=>o[0]*t[0]+o[1]*t[1]+o[2]*t[2],y=o=>o*Math.PI/180,q=(([o,t,a])=>{const e=Math.hypot(o,t,a);return[o/e,t/e,a/e]})([.15,-.4,.9]),x=([o,t,a],e)=>{const r=y(e);return[o,t*Math.cos(r)-a*Math.sin(r),t*Math.sin(r)+a*Math.cos(r)]},M=(o,{lay:t,tilt:a,turn:e})=>x((([o,t,a],e)=>{const r=y(e);return[o*Math.cos(r)+a*Math.sin(r),t,-o*Math.sin(r)+a*Math.cos(r)]})(x(o,t),e),a),z=o=>[Math.sin(y(o)),0,Math.cos(y(o))],H={bottom:[0,1,0],fore:z(90),front:z(0),spine:z(-90),top:[0,-1,0]},$=(o,t,a)=>Math.max(-1,Math.min(1,1.4*(w(M(o,t),q)-a))),L=(o,t)=>{const a=(.25+t*t)/(2*t),e=a-t,r=Math.asin(.5/a);return{angle:t=>r-2*r*t/o,point:o=>({x:e-a*Math.cos(o),z:a*Math.sin(o)-.5})}},X=(()=>{const{angle:o,point:t}=L(6,.14);return Array.from({length:6},((a,e)=>{const r=o(e),i=o(e+1),s=t(r),n=t(i),p=(r+i)/2;return{width:1.04*Math.hypot(s.x-n.x,s.z-n.z),x:(s.x+n.x)/2,yaw:180*Math.atan2(-Math.cos(p),Math.sin(p))/Math.PI,z:(s.z+n.z)/2}}))})(),E=(()=>{const{angle:o,point:t}=L(6,.14),a=o=>(100*o).toFixed(3)+"%";return`polygon(${Array.from({length:7},((e,r)=>{const{x:i,z:s}=t(o(r));return`${a(1+i/.14)} ${a(-s)}`})).join(", ")})`})();var j={book:"Βιβλίο",byAuthor:"{{{name}}}, {{{author}}}"},C={book:"Book",byAuthor:"{{{name}}} by {{{author}}}"},Y={book:"Libro",byAuthor:"{{{name}}} de {{{author}}}"},A={book:"Libro",byAuthor:"{{{name}}} di {{{author}}}"};const O=o(class extends t{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.imageError=!1,this.logoError=!1,this.current=f(),this.dragged=!1,this.goal=f(),this.hovering=!1,this.pointer={x:0,y:0},this.slats=[],this.t=new s({el:j,en:C,es:Y,it:A}),this.binding="paperback",this.format="auto",this.loading="lazy",this.pages=300,this.pose="spine",this.watchDrag=()=>{var o;null===(o=this.dragWatch)||void 0===o||o.abort(),this.dragWatch=new AbortController;const{signal:t}=this.dragWatch,a=()=>{this.hovering=!1,this.pointer={x:0,y:0},this.endDrag(!1)},e=o=>{null===o.relatedTarget&&a()};window.addEventListener("pointerout",e,{signal:t}),window.addEventListener("mouseout",e,{signal:t}),window.addEventListener("blur",a,{signal:t}),document.addEventListener("visibilitychange",(()=>document.hidden&&a()),{signal:t})},this.endDrag=o=>{var t,a;void 0!==this.drag&&(this.dragged=o,this.drag=void 0,null===(t=this.dragWatch)||void 0===t||t.abort(),this.dragWatch=void 0,null===(a=this.scene)||void 0===a||a.classList.remove("scene--dragging"),this.aim())},this.reducedMotion=()=>{const o=this.host.getAttribute("pref-animation");return"reduce"===o||(null===o||"system"===o)&&"function"==typeof matchMedia&&matchMedia("(prefers-reduced-motion: reduce)").matches},this.consumption=()=>{var o;return null!==(o=this.host.getAttribute("pref-consumption"))&&void 0!==o?o:"high"},this.still=()=>this.reducedMotion()||"low"===this.consumption(),this.aim=()=>{const o=f(this.pose);if(this.still())return this.current=this.goal=o,void this.writePose();const t=this.hovering||void 0!==this.drag,a=void 0!==this.drag?1:this.hovering?.45:0;this.goal={glare:"high"===this.consumption()?a:0,lay:o.lay,lift:t?1:0,tilt:this.hovering?o.tilt-4*this.pointer.y:o.tilt,turn:void 0!==this.drag?this.goal.turn:this.hovering?o.turn+6*this.pointer.x:o.turn},this.wake()},this.wake=()=>{var o;null!==(o=this.frame)&&void 0!==o||(this.frame=requestAnimationFrame(this.tick))},this.tick=o=>{this.frame=void 0,this.current=((o,t,a)=>{const e=1-Math.exp(-a/(void 0===this.drag&&!this.hovering?u:k)),r=Object.assign({},o);for(const a of Object.keys(t)){r[a]+=(t[a]-o[a])*e;const i="glare"===a||"lift"===a?.002:.05;Math.abs(t[a]-r[a])<i&&(r[a]=t[a])}return r})(this.current,this.goal,void 0===this.lastTime?1e3/60:o-this.lastTime),this.writePose(),((o,t)=>Object.keys(o).every((a=>o[a]===t[a])))(this.current,this.goal)?this.lastTime=void 0:(this.lastTime=o,this.wake())},this.writePose=()=>{var o;const t=null===(o=this.scene)||void 0===o?void 0:o.style;if(!t)return;const a=f(this.pose),e=(o=>w(M(H.front,o),q))(a),{glare:r,lay:i,lift:s,tilt:n,turn:p}=this.current,l=((o,t)=>({bottom:$(H.bottom,o,t),fore:$(H.fore,o,t),front:$(H.front,o,t),spine:$(H.spine,o,t),top:$(H.top,o,t)}))(this.current,e);t.setProperty("--private-book-lay",i.toFixed(2)+"deg"),t.setProperty("--private-book-turn",p.toFixed(2)+"deg"),t.setProperty("--private-book-tilt",n.toFixed(2)+"deg"),t.setProperty("--private-book-lift",s.toFixed(3));const h=Math.max(0,Math.min(1,i/90));t.setProperty("--private-book-lie",h.toFixed(3)),t.setProperty("--private-book-stand",(1-h).toFixed(3)),t.setProperty("--private-book-glare",r.toFixed(3)),t.setProperty("--private-book-glare-x",((o,t)=>Math.max(0,Math.min(100,50+.8*(o-t.turn)+10*this.pointer.x)))(p,a).toFixed(1));for(const o of Object.keys(l))t.setProperty(`--private-book-${o}-light`,l[o].toFixed(3));const d=((o,t,a)=>o.map((o=>$(z(o),t,a))))(X.map((({yaw:o})=>o)),this.current,e);this.slats.forEach(((o,t)=>o.style.setProperty("--private-book-light",d[t].toFixed(3))))},this.warnInvalidFormat=o=>{(o=>{const t=d(o);return""===t||"auto"===t||void 0!==b(t)})(o)||console.warn(`mds-book: "${o}" is not a format, the book takes the proportions of its image. Use auto, a4, a5, b5 or WxH in centimetres`)},this.warnInvalidPages=o=>{(o=>null==o||Number.isFinite(o)&&o>0)(o)||console.warn(`mds-book: "${o}" is not a number of pages, the book is drawn with 300. Use a positive number, up to 3000`)},this.onLoad=o=>{const t=o.target;t.naturalWidth>0&&t.naturalHeight>0&&(this.imageRatio=t.naturalWidth/t.naturalHeight),this.coverUrl=t.currentSrc||t.src},this.onError=()=>{this.coverUrl=void 0,this.imageError=!0},this.hasImage=()=>{var o;return""!==(null!==(o=this.src)&&void 0!==o?o:"")&&!this.imageError},this.loadLogo=()=>{var o;this.logoLoader&&(this.logoLoader.onload=null,this.logoLoader.onerror=null),this.logoLoader=void 0,this.logoError=!1,this.logoUrl=void 0;const t=(null!==(o=this.publisherLogo)&&void 0!==o?o:"").trim();if(""===t||!i.isBrowser)return;const a=new Image;a.crossOrigin="anonymous",a.onload=()=>{this.logoUrl=a.src},a.onerror=()=>{this.logoError=!0},a.src=t,this.logoLoader=a},this.logoPending=()=>{var o;return""!==(null!==(o=this.publisherLogo)&&void 0!==o?o:"").trim()&&void 0===this.logoUrl&&!this.logoError},this.ratio=()=>{var o,t;return null!==(t=null!==(o=b(this.format))&&void 0!==o?o:this.imageRatio)&&void 0!==t?t:l},this.label=()=>{var o,t;if(null!=this.alt)return this.alt;const a=(null!==(o=this.name)&&void 0!==o?o:"").trim(),e=(null!==(t=this.author)&&void 0!==t?t:"").trim();return""!==e?this.t.get("byAuthor",{name:""!==a?a:this.t.get("book"),author:e}):""!==a?a:this.t.get("book")},this.hostRole=()=>{const o=this.label();return""===o?{role:"presentation"}:{role:"img","aria-label":o}},this.bookStyle=()=>{const o=(()=>{var o,t;return null!==(t=null===(o=c(this.format))||void 0===o?void 0:o[0])&&void 0!==t?t:17})(),t=((o,t)=>({board:t?.25/o:0,square:t?.3/o:0}))(o,"hardcover"===this.binding),a=o=>(100*o).toFixed(3)+"cqi",e={"--private-book-board":a(t.board),"--private-book-page-count":g(this.pages)+"","--private-book-square":a(t.square),"--private-book-width-mm":10*o+""};return void 0!==this.coverUrl&&this.hasImage()&&(e["--private-book-cover"]=v(this.coverUrl)),void 0!==this.logoUrl&&(e["--private-book-logo"]=v(this.logoUrl)),e},this.renderPublisher=o=>{var t;return void 0!==this.logoUrl?a("span",{class:o+"-logo"}):this.logoPending()||""===(null!==(t=this.publisher)&&void 0!==t?t:"")?null:a("span",{class:o+"-publisher"},this.publisher)},this.renderSpineText=()=>a("div",{class:"spine-text"},this.name&&a("span",{class:"spine-name"},this.name),this.author&&a("span",{class:"spine-author"},this.author),this.renderPublisher("spine")),this.shade=()=>a("span",{class:"shade"}),this.renderHardcover=()=>[...["top","bottom"].flatMap((o=>[a("div",{key:`board-${o}-front`,class:`face board-${o} board-${o}--front lit-${o}`},this.shade()),a("div",{key:`board-${o}-back`,class:`face board-${o} board-${o}--back lit-${o}`},this.shade()),a("div",{key:"endpaper-"+o,class:`face endpaper endpaper--${o} lit-front`},this.shade()),a("div",{key:"pages-"+o,class:`face pages-${o} lit-${o}`},this.shade()),a("div",{key:"cap-"+o,class:`face cap cap--${o} lit-${o}`,style:{clipPath:E}},this.shade())])),a("div",{key:"board-fore-front",class:"face board-fore board-fore--front lit-fore"},this.shade()),a("div",{key:"board-fore-back",class:"face board-fore board-fore--back lit-fore"},this.shade()),a("div",{key:"endpaper-fore",class:"face endpaper endpaper--fore lit-front"},this.shade()),a("div",{key:"pages-fore",class:"face pages-fore lit-fore"},this.shade()),...X.map((({width:o,x:t,yaw:e,z:r},i)=>a("div",{key:"slat-"+i,class:"face slat",ref:o=>o&&(this.slats[i]=o),style:{"--private-book-slat-width":o+"","--private-book-slat-x":t+"","--private-book-slat-yaw":e+"deg","--private-book-slat-z":r+""}},this.shade()))),a("div",{key:"spine-label","aria-hidden":"true",class:"face spine-label"},this.renderSpineText())],this.renderPaperback=()=>[a("div",{key:"pages-top",class:"face pages-top pages-flush pages-flush--across lit-top"},this.shade()),a("div",{key:"pages-bottom",class:"face pages-bottom pages-flush pages-flush--across lit-bottom"},this.shade()),a("div",{key:"pages-fore",class:"face pages-fore pages-flush pages-flush--along lit-fore"},this.shade()),a("div",{key:"spine","aria-hidden":"true",class:"face spine lit-spine"},this.renderSpineText(),this.shade())],this.renderLoose=()=>[a("div",{key:"pages-top",class:"face pages-top pages-flush pages-flush--across pages-loose lit-top"},this.shade()),a("div",{key:"pages-bottom",class:"face pages-bottom pages-flush pages-flush--across pages-loose lit-bottom"},this.shade()),a("div",{key:"pages-fore",class:"face pages-fore pages-flush pages-flush--along pages-loose lit-fore"},this.shade()),a("div",{key:"pages-spine",class:"face pages-spine lit-spine"},this.shade())],this.renderBinding=()=>"hardcover"===this.binding?this.renderHardcover():"none"===this.binding?this.renderLoose():this.renderPaperback()}formatHandler(o){this.warnInvalidFormat(o)}pagesHandler(o){this.warnInvalidPages(o)}poseHandler(){this.aim()}publisherLogoHandler(){this.loadLogo()}srcHandler(){this.coverUrl=void 0,this.imageError=!1,this.imageRatio=void 0}pointerEnterHandler(o){"touch"===o.pointerType||this.still()||(this.hovering=!0,this.aim())}pointerMoveHandler(o){var t,a;if(this.still())return;const{left:e,top:r,width:i,height:s}=this.host.getBoundingClientRect();if(0===i||0===s)return;const n=o=>Math.max(-1,Math.min(1,o));if("touch"!==o.pointerType&&(this.pointer={x:n((o.clientX-e)/i*2-1),y:n((o.clientY-r)/s*2-1)}),(null===(t=this.drag)||void 0===t?void 0:t.pointerId)===o.pointerId&&"touch"!==o.pointerType&&0===o.buttons&&this.endDrag(!1),(null===(a=this.drag)||void 0===a?void 0:a.pointerId)===o.pointerId){const t=o.clientX-this.drag.startX;Math.abs(t)>4&&(this.drag.moved=!0);const{max:a,min:e}=(o=>0===o.lay?{max:64,min:-64}:{max:o.turn+70,min:o.turn-70})(f(this.pose));return this.goal.turn=Math.max(e,Math.min(a,this.drag.startTurn+t/i*110)),void this.wake()}this.aim()}pointerDownHandler(o){var t;if(0===o.button&&!this.still()){this.dragged=!1,this.drag={moved:!1,pointerId:o.pointerId,startTurn:this.current.turn,startX:o.clientX};try{this.host.setPointerCapture(o.pointerId)}catch(o){}null===(t=this.scene)||void 0===t||t.classList.add("scene--dragging"),this.watchDrag(),this.aim()}}pointerUpHandler(o){var t;(null===(t=this.drag)||void 0===t?void 0:t.pointerId)===o.pointerId&&this.endDrag(this.drag.moved)}pointerLostHandler(o){var t;(null===(t=this.drag)||void 0===t?void 0:t.pointerId)===o.pointerId&&this.endDrag(!1)}pointerLeaveHandler(){void 0===this.drag&&(this.hovering=!1,this.pointer={x:0,y:0},this.aim())}clickHandler(o){this.dragged&&(this.dragged=!1,o.preventDefault(),o.stopPropagation())}componentWillLoad(){this.warnInvalidFormat(this.format),this.warnInvalidPages(this.pages),this.current=this.goal=f(this.pose),this.loadLogo()}componentDidRender(){i.isBrowser&&(this.still()&&(this.current=this.goal=f(this.pose)),this.writePose())}disconnectedCallback(){var o;void 0!==this.frame&&cancelAnimationFrame(this.frame),this.frame=void 0,this.drag=void 0,null===(o=this.dragWatch)||void 0===o||o.abort(),this.dragWatch=void 0,this.hovering=!1}render(){return"hardcover"!==this.binding&&(this.slats=[]),a(e,Object.assign({key:"189416eac39457abc13f106d61cc733d07f7acf9"},this.hostRole(),{"pref-animation":n.state.animation,"pref-consumption":n.state.consumption,style:{"--private-book-ratio":this.ratio()+""}}),a("div",{key:"4067643ee27f41c3ddd81fb172af390ed386238a",class:"scene",ref:o=>this.scene=o},a("div",{key:"324b710d3401b5d12a395b531080e03cf465dad6",class:"stage"},a("div",{key:"879af39d34004173d1addcb0663396fc54ac3266",class:{book:!0,"book--printed":this.hasImage()},style:this.bookStyle()},a("div",{key:"3d3751f8082acdceea5b6887246969543a174d77",class:"floor floor--stand"}),a("div",{key:"d5442edfbd0f57b1b217b1f764276a2ed0015d9d",class:"floor floor--lie"}),a("div",{key:"2a6b472273e36ba50b3053cdbc304a66a9ee13b1",class:"body"},a("div",{key:"286a76c9a7d0e560f173759fb381fbfea0d810ab",class:"face front lit-front"},this.hasImage()?a("img",{alt:"","aria-hidden":"true",class:"cover",draggable:!1,loading:this.loading,onError:this.onError,onLoad:this.onLoad,part:"cover",src:this.src}):a("div",{"aria-hidden":"true",class:"drawn-cover"},this.author&&a("span",{class:"drawn-author"},this.author),this.name&&a("span",{class:"drawn-name"},this.name),this.renderPublisher("drawn")),a("span",{key:"c8a61f0f77e734e1032b74454ecbdc73d8bf0970",class:"gloss"}),this.shade()),this.renderBinding())))))}get host(){return this}static get watchers(){return{format:[{formatHandler:0}],pages:[{pagesHandler:0}],pose:[{poseHandler:0}],publisherLogo:[{publisherLogoHandler:0}],src:[{srcHandler:0}]}}static get style(){return"@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-font-weight:initial}}}:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host([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]){cursor:auto;touch-action:auto}:host([pref-consumption=low]){cursor:auto;touch-action:auto}:host([pref-consumption=low]) .gloss,:host([pref-consumption=medium]) .gloss{display:none}:host([pref-consumption=low]) .scene,:host([pref-consumption=medium]) .scene{filter:none}:host{--mds-book-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-book-paper-color:#faf8f2;--mds-book-text-color:rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-book-publisher-color:var(--mds-book-text-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-book-page-weight-max:.05;--mds-book-page-weight-min:.1;--private-book-grain:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='a'%3E%3CfeTurbulence baseFrequency='1.1' numOctaves='2' stitchTiles='stitch' type='fractalNoise'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E\");--private-book-glare:0;--private-book-glare-x:50;--private-book-lay:0deg;--private-book-lie:0;--private-book-lift:0;--private-book-stand:1;--private-book-tilt:-6deg;--private-book-turn:28deg;aspect-ratio:var(--private-book-ratio,17/24);cursor:ew-resize;display:block;min-width:0;touch-action:pan-y;-webkit-user-select:none;user-select:none}:host([pose=fore-edge]){--private-book-turn:-28deg}:host([pose=front]){--private-book-tilt:0deg;--private-book-turn:0deg}:host([pose=lying]){--private-book-lay:90deg;--private-book-lie:1;--private-book-stand:0;--private-book-tilt:-30deg;--private-book-turn:0deg}:host([pose=lying-turned]){--private-book-lay:90deg;--private-book-lie:1;--private-book-stand:0;--private-book-tilt:-34deg;--private-book-turn:32deg}.scene{contain-intrinsic-inline-size:calc(var(--spacing,.0025rem)*5000);container-type:inline-size;filter:drop-shadow(0 1.2cqi 2cqi rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.08));position:relative}.scene--dragging{-webkit-user-select:none;user-select:none}.stage{perspective:600cqi;perspective-origin:50% -80%}.book{--private-book-binding:var(--mds-book-color,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));--private-book-bulge:0cqi;--private-book-height:calc(100cqi/var(--private-book-ratio));--private-book-page-weight:calc(var(--mds-book-page-weight-min,.1) + (var(--mds-book-page-weight-max,.05) - var(--mds-book-page-weight-min,.1))*(min(var(--private-book-page-count), 1000) - 1)/999);--private-book-pages-mm:calc(var(--private-book-page-count)*var(--private-book-page-weight));--private-book-pages:calc(var(--private-book-pages-mm)/var(--private-book-width-mm)*100cqi);--private-book-depth:calc(var(--private-book-pages) + var(--private-book-board)*2);--private-book-solid:linear-gradient(var(--mds-book-spine-color),var(--mds-book-spine-color));--private-book-wrap:var(--private-book-solid,var(--private-book-cover,none));aspect-ratio:var(--private-book-ratio);position:relative;transform:rotateX(var(--private-book-tilt)) rotateY(var(--private-book-turn)) rotateX(var(--private-book-lay));transform-origin:50% 50% calc(var(--private-book-depth)/-2);transform-style:preserve-3d;width:100%}:host([binding=hardcover]) .book{--private-book-bulge:calc(var(--private-book-depth)*0.14)}.body{inset:0;transform:translate3d(0,calc(var(--private-book-lift)*var(--private-book-stand)*-3cqi),calc(var(--private-book-lift)*var(--private-book-lie)*3cqi));transform-style:preserve-3d}.body,.floor{position:absolute}.floor{background-color:rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.27);border-radius:1cqi;box-shadow:0 0 3cqi .6cqi rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.34),0 0 9cqi 2cqi rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.1);left:0;pointer-events:none;top:0;transform-origin:0 0}.floor--stand{height:var(--private-book-depth);opacity:calc(var(--private-book-stand)*(1 - var(--private-book-lift)*0.6));transform:translate3d(0,var(--private-book-height),calc(var(--private-book-depth)*-1)) rotateX(90deg);width:100%}.floor--lie,:host([pose=lying-turned]) .floor--stand,:host([pose=lying]) .floor--stand{display:none}:host([pose=lying-turned]) .floor--lie,:host([pose=lying]) .floor--lie{display:block}.floor--lie{height:100%;opacity:calc(var(--private-book-lie)*(1 - var(--private-book-lift)*0.6));transform:translateZ(calc(var(--private-book-depth)*-1 - .2cqi));width:100%}.book--printed{--private-book-binding:var(--mds-book-paper-color,#faf8f2)}.face{--private-book-light:0;backface-visibility:hidden;left:0;position:absolute;top:0;transform-origin:0 0}.lit-front{--private-book-light:var(--private-book-front-light,0)}.lit-top{--private-book-light:var(--private-book-top-light,0)}.lit-bottom{--private-book-light:var(--private-book-bottom-light,0)}.lit-fore{--private-book-light:var(--private-book-fore-light,0)}.lit-spine{--private-book-light:var(--private-book-spine-light,0)}.shade{background-color:rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5)));inset:0;opacity:calc(max(0, var(--private-book-light) * -1)*.24);pointer-events:none;position:absolute}.front{background-color:var(--private-book-binding);height:100%;overflow:hidden;width:100%}.gloss{background-image:linear-gradient(105deg,#0000 34%,var(--mds-book-paper-color,#faf8f2) 44%,var(--mds-book-paper-color,#faf8f2) 50%,var(--mds-book-paper-color,#faf8f2) 56%,#0000 66%);height:100%;left:0;mix-blend-mode:screen;opacity:var(--private-book-glare);pointer-events:none;position:absolute;top:0;translate:calc(var(--private-book-glare-x)*-.6%) 0;width:250%}@supports (color:color-mix(in lab,red,red)){.gloss{background-image:linear-gradient(105deg,#0000 34%,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 6%,#0000) 44%,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 14%,#0000) 50%,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 6%,#0000) 56%,#0000 66%)}}.front:after{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.12),#0000 1.2cqi,var(--mds-book-paper-color,#faf8f2) 1.6cqi,#0000 2.4cqi),linear-gradient(105deg,var(--mds-book-paper-color,#faf8f2),#0000 45%);content:\"\";inset:0;pointer-events:none;position:absolute}@supports (color:color-mix(in lab,red,red)){.front:after{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.12),#0000 1.2cqi,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 18%,#0000) 1.6cqi,#0000 2.4cqi),linear-gradient(105deg,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 16%,#0000),#0000 45%)}}:host([binding=hardcover]) .front:after{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.04) 2.6cqi,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.32) 3.4cqi,var(--mds-book-paper-color,#faf8f2) 4cqi,#0000 5cqi),linear-gradient(105deg,var(--mds-book-paper-color,#faf8f2),#0000 45%)}@supports (color:color-mix(in lab,red,red)){:host([binding=hardcover]) .front:after{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.04) 2.6cqi,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.32) 3.4cqi,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 28%,#0000) 4cqi,#0000 5cqi),linear-gradient(105deg,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 16%,#0000),#0000 45%)}}:host([binding=none]) .front:after{background-image:linear-gradient(105deg,var(--mds-book-paper-color,#faf8f2),#0000 45%)}@supports (color:color-mix(in lab,red,red)){:host([binding=none]) .front:after{background-image:linear-gradient(105deg,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 16%,#0000),#0000 45%)}}:host([binding=none]) .gloss{display:none}.cover{object-fit:cover;-webkit-user-drag:none;display:block;height:100%;width:100%}.drawn-cover{box-sizing:border-box;color:var(--mds-book-text-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))));display:flex;flex-direction:column;gap:3cqi;height:100%;padding:12cqi 9cqi 9cqi 12cqi}.drawn-author{font-size:5cqi;line-height:1.2}.drawn-name{font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,\"Segoe UI\",sans-serif);--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-line-clamp:6;line-clamp:6;overflow-wrap:anywhere;-webkit-box-orient:vertical;display:-webkit-box;font-size:10cqi;line-height:1.1;overflow:hidden}.drawn-logo,.drawn-publisher{margin-top:auto}.drawn-publisher{color:var(--mds-book-publisher-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))));font-size:4.5cqi}.drawn-logo,.spine-logo{background-color:var(--mds-book-publisher-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))));flex-shrink:0;-webkit-mask-image:var(--private-book-logo);mask-image:var(--private-book-logo);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain}.drawn-logo{height:15cqi;-webkit-mask-position:0 100%;mask-position:0 100%;width:50cqi}.board-bottom,.board-fore,.board-top,.cap,.slat{background-color:var(--private-book-binding);background-image:var(--private-book-wrap);background-position:var(--private-book-wrap-position);background-repeat:no-repeat;background-size:var(--private-book-wrap-size)}.board-bottom,.board-top{--private-book-wrap-size:100% 4000%;height:var(--private-book-board);width:100%}.board-top{--private-book-wrap-position:center top}.board-bottom{--private-book-wrap-position:center bottom}.board-top--front{transform:translateZ(calc(var(--private-book-board)*-1)) rotateX(90deg)}.board-top--back{transform:translateZ(calc(var(--private-book-depth)*-1)) rotateX(90deg)}.board-bottom--front{transform:translateY(var(--private-book-height)) rotateX(-90deg)}.board-bottom--back{transform:translate3d(0,var(--private-book-height),calc(var(--private-book-board) - var(--private-book-depth))) rotateX(-90deg)}.board-fore{--private-book-wrap-position:right center;--private-book-wrap-size:4000% 100%;height:100%;width:var(--private-book-board)}.board-fore--front{transform:translate(100cqi)rotateY(90deg)}.board-fore--back{transform:translate3d(100cqi,0,calc(var(--private-book-board) - var(--private-book-depth))) rotateY(90deg)}.endpaper{background-color:var(--mds-book-paper-color,#faf8f2);background-image:linear-gradient(var(--private-book-endpaper-fall),#0000,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.22))}@supports (color:color-mix(in lab,red,red)){.endpaper{background-color:color-mix(in srgb,var(--mds-book-paper-color,#faf8f2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))) 5%)}}.endpaper--top{--private-book-endpaper-fall:to bottom;transform:translateZ(calc(var(--private-book-board) - var(--private-book-depth)))}.endpaper--bottom,.endpaper--top{height:var(--private-book-square);width:100%}.endpaper--bottom{--private-book-endpaper-fall:to top;transform:translate3d(0,calc(var(--private-book-height) - var(--private-book-square)),calc(var(--private-book-board) - var(--private-book-depth)))}.endpaper--fore{--private-book-endpaper-fall:to left;height:100%;transform:translate3d(calc(100cqi - var(--private-book-square)),0,calc(var(--private-book-board) - var(--private-book-depth)));width:var(--private-book-square)}.pages-bottom,.pages-fore,.pages-spine,.pages-top{background-color:var(--mds-book-paper-color,#faf8f2);background-repeat:no-repeat,repeat,no-repeat;background-size:100% 100%,auto,100% 100%}.pages-bottom,.pages-top{background-image:linear-gradient(to bottom,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16),#0000 22%,#0000 78%,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16)),var(--private-book-grain),repeating-linear-gradient(to bottom,#0000 0 .45cqi,var(--mds-book-paper-color,#faf8f2) .45cqi .55cqi);height:var(--private-book-pages);width:calc(100cqi - var(--private-book-square))}@supports (color:color-mix(in lab,red,red)){.pages-bottom,.pages-top{background-image:linear-gradient(to bottom,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16),#0000 22%,#0000 78%,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16)),var(--private-book-grain),repeating-linear-gradient(to bottom,#0000 0 .45cqi,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))) 9%) .45cqi .55cqi)}}.pages-top{transform:translate3d(0,var(--private-book-square),calc(var(--private-book-board) - var(--private-book-depth))) rotateX(90deg)}.pages-bottom{transform:translate3d(0,calc(var(--private-book-height) - var(--private-book-square)),calc(var(--private-book-board)*-1)) rotateX(-90deg)}.pages-bottom:before,.pages-top:before{background-image:repeating-linear-gradient(to bottom,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.55) 0 .35cqi,var(--mds-book-paper-color,#faf8f2) .35cqi .7cqi);bottom:0;content:\"\";left:0;position:absolute;top:0;width:1cqi}.pages-fore,.pages-spine{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16),#0000 22%,#0000 78%,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16)),var(--private-book-grain),repeating-linear-gradient(to right,#0000 0 .45cqi,var(--mds-book-paper-color,#faf8f2) .45cqi .55cqi)}@supports (color:color-mix(in lab,red,red)){.pages-fore,.pages-spine{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16),#0000 22%,#0000 78%,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16)),var(--private-book-grain),repeating-linear-gradient(to right,#0000 0 .45cqi,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))) 9%) .45cqi .55cqi)}}.pages-fore{height:calc(100% - var(--private-book-square)*2);transform:translate3d(calc(100cqi - var(--private-book-square)),var(--private-book-square),calc(var(--private-book-board)*-1)) rotateY(90deg);width:var(--private-book-pages)}.pages-flush:after,.pages-flush:before{background-color:var(--private-book-binding);background-image:var(--private-book-wrap);background-position:var(--private-book-wrap-position);background-repeat:no-repeat;background-size:var(--private-book-wrap-size);content:\"\";position:absolute}.pages-flush--across{--private-book-wrap-size:100% 4000%;height:var(--private-book-depth);width:100%}.pages-flush--across:after,.pages-flush--across:before{height:1px;inset:0 0 auto;width:auto}.pages-flush--across:after{bottom:0;top:auto}.pages-top.pages-flush{--private-book-wrap-position:center top;transform:translateZ(calc(var(--private-book-depth)*-1)) rotateX(90deg)}.pages-bottom.pages-flush{--private-book-wrap-position:center bottom;transform:translateY(var(--private-book-height)) rotateX(-90deg)}.pages-flush--along{--private-book-wrap-position:right center;--private-book-wrap-size:4000% 100%;height:100%;transform:translate(100cqi)rotateY(90deg);width:var(--private-book-depth)}.pages-flush--along:after,.pages-flush--along:before{bottom:0;left:0;top:0;width:1px}.pages-flush--along:after{left:auto;right:0}.pages-loose:after,.pages-loose:before{content:none}.pages-spine{transform:translateZ(calc(var(--private-book-depth)*-1)) rotateY(-90deg)}.pages-spine,.spine,.spine-label{height:100%;width:var(--private-book-depth)}.spine,.spine-label{box-sizing:border-box;container-type:inline-size;display:flex;font-size:min(calc(var(--private-book-depth)*.42),4.5cqi);justify-content:center;padding-block:7cqi}.spine{background-color:var(--private-book-binding);background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.1),#0000 .6cqi,#0000 calc(100% - .6cqi),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.1)),var(--private-book-wrap);background-position:0 0,0;background-repeat:no-repeat;background-size:100% 100%,4000% 100%;transform:translateZ(calc(var(--private-book-depth)*-1)) rotateY(-90deg)}.slat{--private-book-wrap-position:left center;--private-book-wrap-size:4000% 100%;height:100%;transform:translate3d(calc(var(--private-book-slat-x)*var(--private-book-depth)),0,calc(var(--private-book-slat-z)*var(--private-book-depth))) rotateY(var(--private-book-slat-yaw)) translateX(-50%);width:calc(var(--private-book-slat-width)*var(--private-book-depth))}.spine-label{transform:translate3d(calc(var(--private-book-bulge)*-1 - .2cqi),0,calc(var(--private-book-depth)*-1)) rotateY(-90deg)}.cap{--private-book-wrap-position:left top;--private-book-wrap-size:4000% 4000%;height:var(--private-book-depth);width:var(--private-book-bulge)}.cap--top{transform:translate3d(calc(var(--private-book-bulge)*-1),0,calc(var(--private-book-depth)*-1)) rotateX(90deg)}.cap--bottom{transform:translate3d(calc(var(--private-book-bulge)*-1),var(--private-book-height),0) rotateX(-90deg)}.spine-text{align-items:center;color:var(--mds-book-text-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))));display:flex;gap:.8lh;line-height:1.2;min-block-size:0;opacity:clamp(0,(var(--private-book-pages-mm) - 5) * 2,1);text-shadow:0 0 .3lh rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.4);writing-mode:vertical-rl}.spine-text>span{min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.spine-author{flex-shrink:4}.spine-name{font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,\"Segoe UI\",sans-serif);--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.spine-logo,.spine-publisher{flex-shrink:0;margin-inline-start:auto}.spine-publisher{color:var(--mds-book-publisher-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))))}.spine-logo{height:2lh;-webkit-mask-position:bottom;mask-position:bottom;width:1.4lh}@container (min-width:3em){.spine-text{display:grid;gap:0 .8lh;grid-template-columns:minmax(0,1fr) auto}.spine-name{grid-area:1/1}.spine-author{font-size:80%;grid-area:2/1}.spine-logo,.spine-publisher{grid-area:1/2/span 2}}@property --tw-font-weight{syntax:\"*\";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){cursor:auto;touch-action:auto}}"}},[1,"mds-book",{alt:[1],author:[1],binding:[513],format:[513],loading:[1],name:[1],pages:[2],pose:[513],publisher:[1],publisherLogo:[1,"publisher-logo"],src:[1],coverUrl:[32],imageError:[32],imageRatio:[32],logoError:[32],logoUrl:[32]},[[1,"pointerenter","pointerEnterHandler"],[1,"pointermove","pointerMoveHandler"],[1,"pointerdown","pointerDownHandler"],[1,"pointerup","pointerUpHandler"],[1,"pointercancel","pointerLostHandler"],[0,"lostpointercapture","pointerLostHandler"],[1,"pointerleave","pointerLeaveHandler"],[2,"click","clickHandler"]],{format:[{formatHandler:0}],pages:[{pagesHandler:0}],pose:[{poseHandler:0}],publisherLogo:[{publisherLogoHandler:0}],src:[{srcHandler:0}]}]),U=O,Z=function(){"undefined"!=typeof customElements&&["mds-book"].forEach((o=>{"mds-book"===o&&(customElements.get(r(o))||customElements.define(r(o),O))}))};export{U as MdsBook,Z as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as r,d as e,h as a,c as o,t as
|
|
1
|
+
import{p as t,H as r,d as e,h as a,c as o,t as b}from"./p-g2_CekDc.js";import{d as s}from"./p-Bg11_7lt.js";import{d}from"./p-oHBGZ2Av.js";import{d as m}from"./p-D7C-gjL6.js";import{d as u}from"./p-aZlZ1XB9.js";const n=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.selectedEvent=e(this,"mdsBreadcrumbItemSelect",7),this.select=()=>{this.selected||(this.selected=!0,this.selectedEvent.emit({id:this.element.id,selected:this.selected}))}}render(){return a(o,{key:"04761ce3e9a921e3a2b0068ce66f101450c4b3fc"},a("mds-button",{key:"a1e5c3fe78d6293db83c0bd85f490f231b7bc3dc","aria-current":this.selected?"page":void 0,label:this.label,onClick:this.select,part:"button"}),a("i",{key:"e44bf566cb8932ababb3827bd042face84c5e2ff","aria-hidden":"true",class:"icon",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41L13.17 12l-4.58 4.59L10 18l6-6z"/></svg>'}))}get element(){return this}static get style(){return"@layer reset,vendor,theme,base,components,utilities;@keyframes focus-bounce{0%,75%,to{outline-offset:var(--magma-outline-focus-offset,2px)}50%{outline-offset:var(--magma-outline-blur-offset,6px)}}: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-breadcrumb-item-arrow-depth-color:var(--mds-breadcrumb-arrow-depth-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-breadcrumb-item-button-background-selected:var(--mds-breadcrumb-button-background-selected,rgb(var(--mds-breadcrumb-item-button-border-color-rgb-selected)));--mds-breadcrumb-item-button-background-hover:var(--mds-breadcrumb-button-background-hover,rgb(var(--mds-breadcrumb-item-button-border-color-rgb-hover)));--mds-breadcrumb-item-button-background:var(--mds-breadcrumb-button-background,#0000);--mds-breadcrumb-item-button-border-color-rgb-selected:var(--magma-wash-base,var(--tone-neutral-09,225 225 225));--mds-breadcrumb-item-button-border-color-rgb-hover:var(--magma-wash-soft,var(--tone-neutral-10,237 237 237));--mds-breadcrumb-item-button-border-color-rgb:var(--mds-breadcrumb-item-button-border-color-rgb-hover);--mds-breadcrumb-item-button-color-selected:var(--mds-breadcrumb-button-color-selected,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-breadcrumb-item-button-color-hover:var(--mds-breadcrumb-button-color-hover,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-breadcrumb-item-button-color:var(--mds-breadcrumb-button-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-breadcrumb-item-button-border-radius:var(--magma-radius-full,var(--radius-full,1000px));align-items:center;display:flex;flex-shrink:0;gap:0;transition-duration:var(--duration-200,.2s);transition-property:box-shadow,outline,outline-offset;transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94));-webkit-user-select:none;user-select:none}:host mds-button{--mds-button-background:var(--mds-breadcrumb-item-button-background,#0000);--mds-button-border-color-rgb:var(--mds-breadcrumb-item-button-border-color-rgb);--mds-button-color:var(--mds-breadcrumb-item-button-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-button-radius:var(--mds-breadcrumb-item-button-border-radius,var(--magma-radius-full,var(--radius-full,1000px)))}:host mds-button:hover{--mds-button-background:var(--mds-breadcrumb-item-button-background-hover,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));--mds-button-border-color-rgb:var(--mds-breadcrumb-item-button-border-color-rgb-hover);--mds-button-color:var(--mds-breadcrumb-item-button-color-hover,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))))}:host([selected]) mds-button{--mds-button-background:var(--mds-breadcrumb-item-button-background-selected,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));--mds-button-border-color-rgb:var(--mds-breadcrumb-item-button-border-color-rgb-selected);--mds-button-color:var(--mds-breadcrumb-item-button-color-selected,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));pointer-events:none}.icon{display:flex;fill:var(--mds-breadcrumb-item-arrow-depth-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))))}.icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}:host(:last-child) .icon{display:none}"}},[1,"mds-breadcrumb-item",{selected:[1540],label:[513]}]),c=n,i=function(){"undefined"!=typeof customElements&&["mds-breadcrumb-item","mds-button","mds-icon","mds-spinner","mds-text"].forEach((t=>{switch(t){case"mds-breadcrumb-item":customElements.get(b(t))||customElements.define(b(t),n);break;case"mds-button":customElements.get(b(t))||s();break;case"mds-icon":customElements.get(b(t))||d();break;case"mds-spinner":customElements.get(b(t))||m();break;case"mds-text":customElements.get(b(t))||u()}}))};export{c as MdsBreadcrumbItem,i as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,d as r,h as s,c as a,t as d}from"./p-
|
|
1
|
+
import{p as t,H as e,d as r,h as s,c as a,t as d}from"./p-g2_CekDc.js";import{m as o}from"./p-DnEUG7st.js";import{L as n}from"./p-BmlDGlcB.js";import{d as m}from"./p-Bg11_7lt.js";import{d as c}from"./p-oHBGZ2Av.js";import{d as i}from"./p-D7C-gjL6.js";import{d as b}from"./p-aZlZ1XB9.js";var l={back:"Πήγαινε πίσω"},u={back:"Go back"},h={back:"Volver atrás"},f={back:"Indietro"};const v=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.changedEvent=r(this,"mdsBreadcrumbChange",7),this.t=new n({el:l,en:u,es:h,it:f}),this.hideBack=!1,this.queryItems=()=>this.element.querySelectorAll("mds-breadcrumb-item"),this.updateBackButton=t=>{var e;if(this.hideBack)return;const r=null===(e=this.element.shadowRoot)||void 0===e?void 0:e.querySelector(".back");0!==t?r.removeAttribute("disabled"):r.setAttribute("disabled","")},this.togglePrevious=()=>{const t=this.element.querySelector("mds-breadcrumb-item[selected]");if(!t)return;const e=Array.from(this.queryItems()).indexOf(t),r=this.queryItems();let s=0;r.forEach(((t,r)=>{t.selected=r===e-1,t.selected&&(s=r)})),this.updateBackButton(s),this.onChanged(s,r[s])},this.onChanged=(t,e)=>{this.changedEvent.emit({id:""+t,caller:e})}}componentDidLoad(){const t=this.queryItems();t.forEach(((t,e)=>{""===t.id&&(t.id="item-"+e)}));const e=this.element.querySelector("mds-breadcrumb-item[selected]");e&&e!==t[0]||this.updateBackButton(0)}activedEventHandler(t){const e=this.queryItems();let r=0;e.forEach(((e,s)=>{e.selected=e===t.target&&t.detail.selected,e.selected&&(r=s)})),this.updateBackButton(r),this.onChanged(r,t.target)}render(){return s(a,{key:"0b459e70607007fff838ee1df0b077210ffcfe3c"},!this.hideBack&&s("mds-button",{key:"3cef9214d2fbe83f8e51e536e3f2e0bc072ef6f5",title:this.t.get("back"),class:"back",tone:"text",variant:"dark",icon:o,onClick:this.togglePrevious}),s("slot",{key:"3d7dcd3861818309dd4dfd67e2749ae603b57efa"}))}get element(){return this}static get style(){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-breadcrumb-arrow-depth-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-breadcrumb-button-background-disabled:#0000;--mds-breadcrumb-button-background-hover:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-breadcrumb-button-background-selected:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-breadcrumb-button-background:#0000;--mds-breadcrumb-button-color-hover:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-breadcrumb-button-color-selected:var(--mds-breadcrumb-button-color-current,var(--mds-breadcrumb-current-button-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))));--mds-breadcrumb-button-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));-webkit-overflow-scrolling:touch;-ms-overflow-style:none;align-items:center;display:flex;gap:0;overflow:auto;padding:calc(var(--spacing,.0025rem)*200);scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none;width:100%}.back[disabled]{--mds-button-background:var(--mds-breadcrumb-button-background-disabled,#0000)}:host::-webkit-scrollbar{display:none}"}},[257,"mds-breadcrumb",{hideBack:[4,"hide-back"]},[[0,"mdsBreadcrumbItemSelect","activedEventHandler"]]]),p=v,g=function(){"undefined"!=typeof customElements&&["mds-breadcrumb","mds-button","mds-icon","mds-spinner","mds-text"].forEach((t=>{switch(t){case"mds-breadcrumb":customElements.get(d(t))||customElements.define(d(t),v);break;case"mds-button":customElements.get(d(t))||m();break;case"mds-icon":customElements.get(d(t))||c();break;case"mds-spinner":customElements.get(d(t))||i();break;case"mds-text":customElements.get(d(t))||b()}}))};export{p as MdsBreadcrumb,g as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as
|
|
1
|
+
import{p as r,H as a,d as t,h as o,c as s,t as i}from"./p-g2_CekDc.js";import{m as n}from"./p-DiWN48aq.js";import{r as e}from"./p-wI0alRSO.js";import{c as d}from"./p-DwKxtKwS.js";import{L as c}from"./p-BmlDGlcB.js";import{d as m}from"./p-Bg11_7lt.js";import{d as u}from"./p-C0m6B_kt.js";import{d as h}from"./p-oHBGZ2Av.js";import{d as v}from"./p-D7C-gjL6.js";import{d as g}from"./p-aZlZ1XB9.js";var b={moreActions:"Περισσότερες ενέργειες"},l={moreActions:"More actions"},p={moreActions:"Más acciones"},w={moreActions:"Altre azioni"};const f=r(class extends a{constructor(r){super(),!1!==r&&this.__registerHost(),this.__attachShadow(),this.clickEvent=t(this,"mdsButtonDropdownClick",7),this.internals=this.attachInternals(),this.t=new c({el:b,en:l,es:p,it:w}),this.formDisabled=!1,this.type="button",this.variant="primary",this.tone="strong",this.size="md",this.target="self",this.truncate="word",this.isDisabled=()=>!!this.disabled||this.formDisabled,this.primaryActionClick=()=>{var r;if(this.isDisabled()||this.await||"page"===d(this.current))return;this.clickEvent.emit();const{form:a}=this.internals;a&&""===(null!==(r=this.href)&&void 0!==r?r:"")&&("submit"===this.type?e(a,this.name,this.value):"reset"===this.type&&a.reset())}}formDisabledCallback(r){this.formDisabled=r}componentDidLoad(){var r,a;this.autoFocus&&(null===(a=null===(r=this.host.shadowRoot)||void 0===r?void 0:r.querySelector(".dropdown-primary-action"))||void 0===a||a.focus())}render(){return o(s,{key:"e53782de6dd7562751dba97e22c3f908766ddeab"},o("mds-button",{key:"55d393a8257e498b1c3c26b917ccd2b8073d82ec",active:this.active,class:"dropdown-primary-action",await:this.await,current:this.current,disabled:this.isDisabled(),href:this.href,icon:this.icon,iconCurrent:this.iconCurrent,iconHover:this.iconHover,onClick:this.primaryActionClick,size:this.size,target:this.target,tone:this.tone,truncate:this.truncate,variant:this.variant,label:this.label}),o("mds-button",{key:"ab645c60bbb95e28e61ed68d81ec19ee8a3c9580",active:this.active,"aria-current":d(this.current)?"false":void 0,"aria-label":this.t.get("moreActions"),await:this.await,current:d(this.current)?"section":void 0,class:"dropdown-action",disabled:this.isDisabled(),icon:n,size:this.size,tone:this.tone,variant:this.variant}),o("mds-dropdown",{key:"bd97b05b9725d16ffa32739eea96f7ad727ba1a0",target:".dropdown-action",part:"dropdown"},o("slot",{key:"623f7a623390f52446fcf1296b96e04c90c28fdd"})))}static get formAssociated(){return!0}get host(){return this}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-dropdown):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-button-dropdown-window-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));--mds-button-dropdown-radius:min(var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)),var(--magma-corner-cap,.5) * var(--private-button-dropdown-height));--private-button-dropdown-height:calc(var(--spacing,.0025rem)*900);border-radius:var(--mds-button-dropdown-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));corner-shape:var(--magma-corner-shape,squircle);display:inline-flex;place-self:flex-start;transition-duration:var(--duration-200,.2s);transition-property:background-color,box-shadow;transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94))}mds-dropdown{border-radius:var(--mds-button-dropdown-window-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));gap:calc(var(--spacing,.0025rem)*50);padding:calc(var(--spacing,.0025rem)*200)}mds-button{--mds-button-radius:var(--mds-button-dropdown-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));--mds-button-border-tone-strong-hover-width:0;--mds-button-border-tone-outline-hover-width:0;--mds-button-border-tone-weak-hover-width:0}.dropdown-primary-action{border-bottom-left-radius:inherit;border-bottom-right-radius:0;border-top-left-radius:inherit;border-top-right-radius:0;flex-grow:1}.dropdown-action{border-bottom-left-radius:0;border-bottom-right-radius:inherit;border-top-left-radius:0;border-top-right-radius:inherit}::slotted(mds-button){justify-content:flex-start}:host([size=sm]){--mds-button-dropdown-radius:min(var(--magma-radius-md,var(--radius-squircle-md,20px)),var(--magma-corner-cap,.5) * var(--private-button-dropdown-height));--private-button-dropdown-height:calc(var(--spacing,.0025rem)*700)}:host([size=lg]){--private-button-dropdown-height:calc(var(--spacing,.0025rem)*1200)}:host([size=xl]){--private-button-dropdown-height:calc(var(--spacing,.0025rem)*1300)}:host([variant=error][tone=strong]){background-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}:host([variant=error][tone=weak]){background-color:rgb(var(--magma-danger-wash-strong,var(--status-error-08,254 198 194)))}:host([variant=success][tone=strong]){background-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:host([variant=success][tone=weak]){background-color:rgb(var(--magma-success-wash-strong,var(--status-success-08,165 225 186)))}:host([variant=warning][tone=strong]){background-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)))}:host([variant=warning][tone=weak]){background-color:rgb(var(--magma-warning-wash-strong,var(--status-warning-08,255 205 57)))}:host([variant=info][tone=strong]){background-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)))}:host([variant=info][tone=weak]){background-color:rgb(var(--magma-info-wash-strong,var(--status-info-08,168 219 242)))}:host([variant=ai][tone=strong]){background-color:rgb(var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245)))}:host([variant=ai][tone=weak]){background-color:rgb(var(--magma-accent-ai-surface-hover,var(--variant-ai-08,219 205 252)))}:host([variant=primary][tone=strong]){background-color:rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)))}:host([variant=primary][tone=weak]){background-color:rgb(var(--magma-accent-surface-hover,var(--variant-primary-08,204 212 226)))}:host([variant=secondary][tone=strong]){background-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)))}:host([variant=secondary][tone=weak]){background-color:rgb(var(--magma-accent-surface-hover,var(--variant-primary-08,204 212 226)))}:host([variant=dark][tone=strong]){background-color:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)))}:host([variant=dark][tone=weak]){background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:host([variant=light][tone=strong]){background-color:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([variant=light][tone=weak]){background-color:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));box-shadow:var(--shadow-ring-weak-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.15))}"}},[321,"mds-button-dropdown",{label:[1],autoFocus:[4,"auto-focus"],icon:[1537],iconCurrent:[1,"icon-current"],iconHover:[1,"icon-hover"],type:[513],name:[513],value:[513],variant:[513],tone:[513],size:[513],active:[1540],disabled:[1540],await:[1540],href:[513],target:[1],current:[520],truncate:[513],formDisabled:[32]}]),k=f,x=function(){"undefined"!=typeof customElements&&["mds-button-dropdown","mds-button","mds-dropdown","mds-icon","mds-spinner","mds-text"].forEach((r=>{switch(r){case"mds-button-dropdown":customElements.get(i(r))||customElements.define(i(r),f);break;case"mds-button":customElements.get(i(r))||m();break;case"mds-dropdown":customElements.get(i(r))||u();break;case"mds-icon":customElements.get(i(r))||h();break;case"mds-spinner":customElements.get(i(r))||v();break;case"mds-text":customElements.get(i(r))||g()}}))};export{k as MdsButtonDropdown,x as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as o,h as d,c as s,t as n}from"./p-
|
|
1
|
+
import{p as t,H as o,h as d,c as s,t as n}from"./p-g2_CekDc.js";const e=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}render(){return d(s,{key:"a7065c4b1c6ff62d6250f09902519b8fcf2ba3ba"},d("slot",{key:"a77e3acea709be39b3fa81cbc3edd2c2d6a2a9cc"}))}static get style(){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}::slotted(mds-button-dropdown:not(:nth-child(1 of mds-button,mds-button-dropdown))),::slotted(mds-button:not(:nth-child(1 of mds-button,mds-button-dropdown))){border-bottom-left-radius:0;border-top-left-radius:0}::slotted(mds-button-dropdown:not(:nth-last-child(1 of mds-button,mds-button-dropdown))),::slotted(mds-button:not(:nth-last-child(1 of mds-button,mds-button-dropdown))){border-bottom-right-radius:0;border-top-right-radius:0}:host{display:inline-flex;gap:calc(var(--spacing,.0025rem)*50)}::slotted(mds-button-dropdown),::slotted(mds-button[label]){flex-grow:1}"}},[257,"mds-button-group"]),r=e,a=function(){"undefined"!=typeof customElements&&["mds-button-group"].forEach((t=>{"mds-button-group"===t&&(customElements.get(n(t))||customElements.define(n(t),e))}))};export{r as MdsButtonGroup,a as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{M as
|
|
1
|
+
import{M as o,d as s}from"./p-Bg11_7lt.js";const t=o,p=s;export{t as MdsButton,p as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{M as
|
|
1
|
+
import{M as o,d as s}from"./p-VoGfNJRY.js";const p=o,r=s;export{p as MdsCalendarCell,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{M as o,d as s}from"./p-
|
|
1
|
+
import{M as o,d as s}from"./p-CUT9aFzz.js";const a=o,p=s;export{a as MdsCalendar,p as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,h as o,c as n,t as s}from"./p-
|
|
1
|
+
import{p as t,H as e,h as o,c as n,t as s}from"./p-g2_CekDc.js";const a=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}render(){return o(n,{key:"8cb0fc15f5de742611fa0745f22f6ef0beae3fbf",slot:"content"},o("slot",{key:"ca011bfccc597e2b2f4ad1b424f0091f6bea5dd6"}))}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{background-color:var(--mds-card-background);display:grid;gap:var(--magma-rhythm-title-content,12px);grid-template-columns:repeat(auto-fit,minmax(1px,100%));min-width:0}"}},[257,"mds-card-content"]),r=a,c=function(){"undefined"!=typeof customElements&&["mds-card-content"].forEach((t=>{"mds-card-content"===t&&(customElements.get(s(t))||customElements.define(s(t),a))}))};export{r as MdsCardContent,c as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,H as t,h as o,c as s,t as n}from"./p-
|
|
1
|
+
import{p as e,H as t,h as o,c as s,t as n}from"./p-g2_CekDc.js";const a=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return o(s,{key:"12660a62ac2112ec5cdd4a6f9603a247ce19fcd7",slot:"footer"},o("div",{key:"cda5db8e77150c68ee7b6398e89d4982fee59ce6",class:"actions"},o("slot",{key:"ac851179174a1dd6afc3cb14a6950727ac3e5caf"})))}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{background-color:var(--mds-card-background);container-type:inline-size;display:block;flex-grow:1;min-width:0}.actions{align-items:center;display:flex;gap:var(--magma-rhythm-inline,12px);justify-content:flex-end}@container not (min-width:23.75rem){.actions{flex-direction:column}::slotted(*){align-self:stretch}::slotted(:only-child){align-self:flex-end}}"}},[257,"mds-card-footer"]),i=a,c=function(){"undefined"!=typeof customElements&&["mds-card-footer"].forEach((e=>{"mds-card-footer"===e&&(customElements.get(n(e))||customElements.define(n(e),a))}))};export{i as MdsCardFooter,c as defineCustomElement}
|