@maggioli-design-system/magma 2.5.0 → 2.6.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 +19 -4
- package/CHANGELOG.md +61 -0
- package/LICENSE +21 -0
- package/agents/assets.md +1 -1
- package/agents/color.md +22 -4
- package/agents/components.md +164 -92
- package/agents/conventions.md +24 -7
- package/agents/install.md +7 -0
- package/agents/lint.md +270 -0
- package/agents/mcp.md +103 -0
- package/agents/theming.md +8 -0
- package/dist/cjs/index-BQNHYWJg.js +4 -0
- package/dist/cjs/{index-CWTZb9W2.js → index-Bg68W-da.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{locale-Os4wg65H.js → locale-CaR39iYg.js} +12 -6
- package/dist/cjs/magma-components.cjs.js +1 -1
- package/dist/cjs/mds-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +1 -1
- package/dist/cjs/mds-accordion.cjs.entry.js +1 -1
- package/dist/cjs/mds-author.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar.cjs.entry.js +1 -1
- package/dist/cjs/mds-badge.cjs.entry.js +1 -1
- package/dist/cjs/mds-banner_3.cjs.entry.js +4 -4
- package/dist/cjs/mds-benchmark-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-bibliography.cjs.entry.js +1 -1
- package/dist/cjs/mds-book.cjs.entry.js +703 -0
- package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/mds-button-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
- package/dist/cjs/mds-button_3.cjs.entry.js +6 -6
- package/dist/cjs/mds-calendar_2.cjs.entry.js +7 -7
- package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
- package/dist/cjs/mds-card.cjs.entry.js +1 -1
- package/dist/cjs/mds-details.cjs.entry.js +1 -1
- package/dist/cjs/mds-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/mds-emoji.cjs.entry.js +2 -2
- package/dist/cjs/mds-entity.cjs.entry.js +1 -1
- package/dist/cjs/mds-file-preview.cjs.entry.js +3 -3
- package/dist/cjs/mds-file.cjs.entry.js +2 -2
- package/dist/cjs/mds-filter-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-filter.cjs.entry.js +2 -2
- package/dist/cjs/mds-header-bar.cjs.entry.js +2 -2
- package/dist/cjs/mds-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +2 -2
- package/dist/cjs/mds-hr.cjs.entry.js +1 -1
- package/dist/cjs/mds-img.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-date-range.cjs.entry.js +3 -3
- package/dist/cjs/mds-input-date.cjs.entry.js +4 -4
- package/dist/cjs/mds-input-field.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-otp.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-range.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-select.cjs.entry.js +9 -5
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +3 -3
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +4 -4
- package/dist/cjs/mds-input-upload.cjs.entry.js +6 -6
- package/dist/cjs/mds-input.cjs.entry.js +154 -37
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +3 -3
- package/dist/cjs/mds-keyboard.cjs.entry.js +8 -4
- package/dist/cjs/mds-kpi-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-kpi.cjs.entry.js +1 -1
- package/dist/cjs/mds-label.cjs.entry.js +2 -2
- package/dist/cjs/mds-link.cjs.entry.js +4 -4
- package/dist/cjs/mds-list-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-list.cjs.entry.js +1 -1
- package/dist/cjs/mds-mention.cjs.entry.js +2 -2
- package/dist/cjs/mds-modal.cjs.entry.js +4 -4
- package/dist/cjs/mds-note.cjs.entry.js +2 -2
- package/dist/cjs/mds-notification.cjs.entry.js +1 -1
- package/dist/cjs/mds-paginator-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-paginator.cjs.entry.js +2 -2
- package/dist/cjs/mds-policy-ai.cjs.entry.js +2 -2
- package/dist/cjs/mds-pref-animation.cjs.entry.js +2 -2
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +2 -2
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +2 -2
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-pref-language.cjs.entry.js +2 -2
- package/dist/cjs/mds-pref-mode.cjs.entry.js +2 -2
- package/dist/cjs/mds-pref-theme-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-theme.cjs.entry.js +2 -2
- package/dist/cjs/mds-pref.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-features.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-header.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-list.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table.cjs.entry.js +1 -1
- package/dist/cjs/mds-progress_2.cjs.entry.js +2 -2
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-push-notification.cjs.entry.js +3 -3
- package/dist/cjs/mds-quote.cjs.entry.js +1 -1
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-radial-menu.cjs.entry.js +2 -2
- package/dist/cjs/mds-separator.cjs.entry.js +1 -1
- package/dist/cjs/mds-status-bar.cjs.entry.js +2 -2
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +7 -5
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-tab-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-tab_2.cjs.entry.js +4 -4
- package/dist/cjs/mds-table-body.cjs.entry.js +1 -1
- package/dist/cjs/mds-table-footer.cjs.entry.js +1 -1
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +1 -1
- package/dist/cjs/mds-table-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-table-row.cjs.entry.js +3 -3
- package/dist/cjs/mds-table.cjs.entry.js +2 -2
- package/dist/cjs/mds-text.cjs.entry.js +1 -1
- package/dist/cjs/mds-toast-region.cjs.entry.js +1 -1
- package/dist/cjs/mds-toast.cjs.entry.js +2 -2
- package/dist/cjs/mds-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/mds-tree-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-tree.cjs.entry.js +1 -1
- package/dist/cjs/mds-url-view.cjs.entry.js +2 -2
- package/dist/cjs/mds-usage.cjs.entry.js +2 -2
- package/dist/cjs/mds-video-wall.cjs.entry.js +1 -1
- package/dist/cjs/mds-zero.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/common/locale.js +12 -6
- package/dist/collection/components/mds-accordion/AGENTS.md +3 -5
- package/dist/collection/components/mds-accordion/antipattern.md +1 -2
- package/dist/collection/components/mds-accordion/documentation.json +21 -10
- package/dist/collection/components/mds-accordion/mds-accordion.css +3 -3
- package/dist/collection/components/mds-accordion/mds-accordion.js +2 -1
- package/dist/collection/components/mds-accordion/pattern.md +1 -4
- package/dist/collection/components/mds-accordion-item/AGENTS.md +3 -7
- package/dist/collection/components/mds-accordion-item/documentation.json +20 -9
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +1 -1
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +2 -1
- package/dist/collection/components/mds-accordion-item/pattern.md +3 -5
- package/dist/collection/components/mds-accordion-timer/AGENTS.md +3 -5
- package/dist/collection/components/mds-accordion-timer/antipattern.md +5 -3
- package/dist/collection/components/mds-accordion-timer/documentation.json +17 -8
- package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +1 -1
- package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +2 -1
- package/dist/collection/components/mds-accordion-timer/pattern.md +6 -6
- package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +3 -5
- package/dist/collection/components/mds-accordion-timer-item/antipattern.md +1 -2
- package/dist/collection/components/mds-accordion-timer-item/documentation.json +17 -8
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +1 -1
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +2 -1
- package/dist/collection/components/mds-accordion-timer-item/pattern.md +1 -5
- package/dist/collection/components/mds-author/AGENTS.md +1 -1
- package/dist/collection/components/mds-author/documentation.json +5 -1
- package/dist/collection/components/mds-author/mds-author.js +2 -1
- package/dist/collection/components/mds-avatar/AGENTS.md +3 -3
- package/dist/collection/components/mds-avatar/antipattern.md +1 -1
- package/dist/collection/components/mds-avatar/documentation.json +17 -8
- package/dist/collection/components/mds-avatar/mds-avatar.css +3 -3
- package/dist/collection/components/mds-avatar/mds-avatar.js +2 -1
- package/dist/collection/components/mds-avatar/pattern.md +1 -2
- package/dist/collection/components/mds-avatar-stack/AGENTS.md +3 -12
- package/dist/collection/components/mds-avatar-stack/antipattern.md +1 -2
- package/dist/collection/components/mds-avatar-stack/documentation.json +31 -15
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.css +1 -1
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +2 -1
- package/dist/collection/components/mds-avatar-stack/pattern.md +2 -5
- package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +3 -6
- package/dist/collection/components/mds-avatar-stack-item/documentation.json +22 -10
- package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.css +2 -2
- package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.js +4 -1
- package/dist/collection/components/mds-avatar-stack-item/pattern.md +4 -5
- package/dist/collection/components/mds-badge/AGENTS.md +3 -3
- package/dist/collection/components/mds-badge/antipattern.md +1 -1
- package/dist/collection/components/mds-badge/documentation.json +17 -8
- package/dist/collection/components/mds-badge/mds-badge.css +3 -3
- package/dist/collection/components/mds-badge/mds-badge.js +2 -1
- package/dist/collection/components/mds-badge/pattern.md +4 -7
- package/dist/collection/components/mds-banner/AGENTS.md +3 -8
- package/dist/collection/components/mds-banner/antipattern.md +1 -2
- package/dist/collection/components/mds-banner/documentation.json +29 -14
- package/dist/collection/components/mds-banner/mds-banner.css +4 -4
- package/dist/collection/components/mds-banner/mds-banner.js +2 -1
- package/dist/collection/components/mds-banner/pattern.md +1 -2
- package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-benchmark-bar/documentation.json +5 -1
- package/dist/collection/components/mds-benchmark-bar/mds-benchmark-bar.js +2 -1
- package/dist/collection/components/mds-bibliography/AGENTS.md +3 -3
- package/dist/collection/components/mds-bibliography/antipattern.md +1 -3
- package/dist/collection/components/mds-bibliography/documentation.json +15 -7
- package/dist/collection/components/mds-bibliography/mds-bibliography.css +1 -1
- package/dist/collection/components/mds-bibliography/mds-bibliography.js +4 -1
- package/dist/collection/components/mds-bibliography/pattern.md +1 -3
- package/dist/collection/components/mds-book/AGENTS.md +79 -0
- package/dist/collection/components/mds-book/antipattern.md +88 -0
- package/dist/collection/components/mds-book/documentation.json +482 -0
- package/dist/collection/components/mds-book/mds-book.css +901 -0
- package/dist/collection/components/mds-book/mds-book.js +731 -0
- package/dist/collection/components/mds-book/meta/dictionary.js +5 -0
- package/dist/collection/components/mds-book/meta/format.js +57 -0
- package/dist/collection/components/mds-book/meta/pose.js +107 -0
- package/dist/collection/components/mds-book/meta/spine.js +61 -0
- package/dist/collection/components/mds-book/meta/types.js +1 -0
- package/dist/collection/components/mds-book/meta/volume.js +23 -0
- package/dist/collection/components/mds-book/pattern.md +111 -0
- package/dist/collection/components/mds-breadcrumb/AGENTS.md +3 -14
- package/dist/collection/components/mds-breadcrumb/antipattern.md +1 -1
- package/dist/collection/components/mds-breadcrumb/documentation.json +28 -14
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +2 -1
- package/dist/collection/components/mds-breadcrumb/pattern.md +6 -6
- package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +3 -11
- package/dist/collection/components/mds-breadcrumb-item/antipattern.md +3 -3
- package/dist/collection/components/mds-breadcrumb-item/documentation.json +22 -11
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +2 -1
- package/dist/collection/components/mds-breadcrumb-item/pattern.md +12 -14
- package/dist/collection/components/mds-button/AGENTS.md +3 -12
- package/dist/collection/components/mds-button/documentation.json +37 -17
- package/dist/collection/components/mds-button/mds-button.css +5 -5
- package/dist/collection/components/mds-button/mds-button.js +5 -4
- package/dist/collection/components/mds-button-dropdown/AGENTS.md +1 -1
- package/dist/collection/components/mds-button-dropdown/documentation.json +7 -2
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +1 -1
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +2 -1
- package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
- package/dist/collection/components/mds-button-group/documentation.json +5 -1
- package/dist/collection/components/mds-button-group/mds-button-group.js +2 -1
- package/dist/collection/components/mds-calendar/AGENTS.md +3 -6
- package/dist/collection/components/mds-calendar/antipattern.md +1 -1
- package/dist/collection/components/mds-calendar/documentation.json +25 -12
- package/dist/collection/components/mds-calendar/mds-calendar.css +4 -4
- package/dist/collection/components/mds-calendar/mds-calendar.js +6 -5
- package/dist/collection/components/mds-calendar/pattern.md +1 -3
- package/dist/collection/components/mds-calendar-cell/AGENTS.md +3 -35
- package/dist/collection/components/mds-calendar-cell/antipattern.md +1 -2
- package/dist/collection/components/mds-calendar-cell/documentation.json +81 -40
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +2 -2
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +4 -1
- package/dist/collection/components/mds-calendar-cell/pattern.md +4 -5
- package/dist/collection/components/mds-card/AGENTS.md +1 -1
- package/dist/collection/components/mds-card/antipattern.md +2 -2
- package/dist/collection/components/mds-card/documentation.json +13 -6
- package/dist/collection/components/mds-card/mds-card.css +3 -3
- package/dist/collection/components/mds-card/mds-card.js +2 -1
- package/dist/collection/components/mds-card/pattern.md +4 -4
- package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-content/documentation.json +5 -1
- package/dist/collection/components/mds-card-content/mds-card-content.js +2 -1
- package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-footer/documentation.json +5 -1
- package/dist/collection/components/mds-card-footer/mds-card-footer.js +2 -1
- package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-header/documentation.json +5 -1
- package/dist/collection/components/mds-card-header/mds-card-header.js +2 -1
- package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-media/documentation.json +5 -1
- package/dist/collection/components/mds-card-media/mds-card-media.js +2 -1
- package/dist/collection/components/mds-chip/AGENTS.md +3 -10
- package/dist/collection/components/mds-chip/antipattern.md +2 -3
- package/dist/collection/components/mds-chip/documentation.json +35 -17
- package/dist/collection/components/mds-chip/mds-chip.css +4 -4
- package/dist/collection/components/mds-chip/mds-chip.js +4 -1
- package/dist/collection/components/mds-chip/pattern.md +4 -6
- package/dist/collection/components/mds-details/AGENTS.md +3 -7
- package/dist/collection/components/mds-details/antipattern.md +1 -5
- package/dist/collection/components/mds-details/documentation.json +14 -7
- package/dist/collection/components/mds-details/mds-details.js +2 -1
- package/dist/collection/components/mds-details/pattern.md +4 -6
- package/dist/collection/components/mds-dropdown/AGENTS.md +3 -9
- package/dist/collection/components/mds-dropdown/antipattern.md +1 -1
- package/dist/collection/components/mds-dropdown/documentation.json +31 -15
- package/dist/collection/components/mds-dropdown/mds-dropdown.css +4 -4
- package/dist/collection/components/mds-dropdown/mds-dropdown.js +3 -2
- package/dist/collection/components/mds-dropdown/pattern.md +2 -4
- package/dist/collection/components/mds-emoji/AGENTS.md +8 -32
- package/dist/collection/components/mds-emoji/antipattern.md +0 -18
- package/dist/collection/components/mds-emoji/documentation.json +73 -35
- package/dist/collection/components/mds-emoji/mds-emoji.css +8 -5
- package/dist/collection/components/mds-emoji/mds-emoji.js +4 -1
- package/dist/collection/components/mds-emoji/pattern.md +9 -25
- package/dist/collection/components/mds-entity/AGENTS.md +3 -4
- package/dist/collection/components/mds-entity/antipattern.md +10 -3
- package/dist/collection/components/mds-entity/documentation.json +17 -8
- package/dist/collection/components/mds-entity/mds-entity.css +2 -2
- package/dist/collection/components/mds-entity/mds-entity.js +2 -1
- package/dist/collection/components/mds-entity/pattern.md +1 -4
- package/dist/collection/components/mds-file/AGENTS.md +3 -3
- package/dist/collection/components/mds-file/antipattern.md +2 -3
- package/dist/collection/components/mds-file/documentation.json +15 -7
- package/dist/collection/components/mds-file/mds-file.css +1 -1
- package/dist/collection/components/mds-file/mds-file.js +4 -1
- package/dist/collection/components/mds-file/pattern.md +1 -3
- package/dist/collection/components/mds-file-preview/AGENTS.md +3 -3
- package/dist/collection/components/mds-file-preview/antipattern.md +1 -1
- package/dist/collection/components/mds-file-preview/documentation.json +17 -8
- package/dist/collection/components/mds-file-preview/mds-file-preview.css +3 -3
- package/dist/collection/components/mds-file-preview/mds-file-preview.js +3 -2
- package/dist/collection/components/mds-file-preview/pattern.md +2 -3
- package/dist/collection/components/mds-filter/AGENTS.md +3 -8
- package/dist/collection/components/mds-filter/antipattern.md +2 -2
- package/dist/collection/components/mds-filter/documentation.json +27 -13
- package/dist/collection/components/mds-filter/mds-filter.css +3 -3
- package/dist/collection/components/mds-filter/mds-filter.js +2 -1
- package/dist/collection/components/mds-filter/pattern.md +2 -5
- package/dist/collection/components/mds-filter-item/AGENTS.md +2 -7
- package/dist/collection/components/mds-filter-item/antipattern.md +4 -4
- package/dist/collection/components/mds-filter-item/documentation.json +17 -8
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +4 -1
- package/dist/collection/components/mds-filter-item/pattern.md +5 -7
- package/dist/collection/components/mds-header/AGENTS.md +4 -8
- package/dist/collection/components/mds-header/documentation.json +28 -13
- package/dist/collection/components/mds-header/mds-header.css +7 -7
- package/dist/collection/components/mds-header/mds-header.js +2 -1
- package/dist/collection/components/mds-header/pattern.md +1 -3
- package/dist/collection/components/mds-header-bar/AGENTS.md +2 -4
- package/dist/collection/components/mds-header-bar/antipattern.md +6 -8
- package/dist/collection/components/mds-header-bar/documentation.json +9 -4
- package/dist/collection/components/mds-header-bar/mds-header-bar.js +2 -1
- package/dist/collection/components/mds-header-bar/pattern.md +10 -6
- package/dist/collection/components/mds-help/AGENTS.md +1 -1
- package/dist/collection/components/mds-help/documentation.json +13 -5
- package/dist/collection/components/mds-help/mds-help.css +4 -4
- package/dist/collection/components/mds-help/mds-help.js +2 -1
- package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +5 -11
- package/dist/collection/components/mds-horizontal-scroll/antipattern.md +2 -2
- package/dist/collection/components/mds-horizontal-scroll/documentation.json +34 -14
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +2 -1
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +2 -1
- package/dist/collection/components/mds-horizontal-scroll/pattern.md +4 -15
- package/dist/collection/components/mds-hr/AGENTS.md +1 -1
- package/dist/collection/components/mds-hr/documentation.json +7 -2
- package/dist/collection/components/mds-hr/mds-hr.js +4 -1
- package/dist/collection/components/mds-icon/AGENTS.md +1 -1
- package/dist/collection/components/mds-icon/documentation.json +5 -1
- package/dist/collection/components/mds-icon/mds-icon.js +2 -1
- package/dist/collection/components/mds-img/AGENTS.md +3 -5
- package/dist/collection/components/mds-img/antipattern.md +1 -1
- package/dist/collection/components/mds-img/documentation.json +19 -9
- package/dist/collection/components/mds-img/mds-img.css +2 -2
- package/dist/collection/components/mds-img/mds-img.js +1 -0
- package/dist/collection/components/mds-img/pattern.md +1 -4
- package/dist/collection/components/mds-input/AGENTS.md +6 -10
- package/dist/collection/components/mds-input/antipattern.md +1 -1
- package/dist/collection/components/mds-input/documentation.json +40 -20
- package/dist/collection/components/mds-input/mds-input.css +8 -8
- package/dist/collection/components/mds-input/mds-input.js +13 -7
- package/dist/collection/components/mds-input/meta/input-type/InputValidationManager.js +3 -3
- package/dist/collection/components/mds-input/meta/validators.js +28 -13
- package/dist/collection/components/mds-input/meta/validity.js +8 -10
- package/dist/collection/components/mds-input/pattern.md +1 -3
- package/dist/collection/components/mds-input-date/AGENTS.md +3 -8
- package/dist/collection/components/mds-input-date/antipattern.md +1 -1
- package/dist/collection/components/mds-input-date/documentation.json +31 -15
- package/dist/collection/components/mds-input-date/mds-input-date.css +5 -5
- package/dist/collection/components/mds-input-date/mds-input-date.js +3 -2
- package/dist/collection/components/mds-input-date/pattern.md +1 -2
- package/dist/collection/components/mds-input-date-range/AGENTS.md +3 -4
- package/dist/collection/components/mds-input-date-range/documentation.json +22 -10
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +5 -5
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +3 -2
- package/dist/collection/components/mds-input-date-range/pattern.md +1 -2
- package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +3 -13
- package/dist/collection/components/mds-input-date-range-preselection/antipattern.md +11 -6
- package/dist/collection/components/mds-input-date-range-preselection/documentation.json +26 -13
- package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +2 -1
- package/dist/collection/components/mds-input-date-range-preselection/pattern.md +1 -11
- package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-field/documentation.json +9 -3
- package/dist/collection/components/mds-input-field/mds-input-field.css +2 -2
- package/dist/collection/components/mds-input-field/mds-input-field.js +2 -1
- package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-otp/documentation.json +7 -2
- package/dist/collection/components/mds-input-otp/mds-input-otp.js +4 -1
- package/dist/collection/components/mds-input-range/AGENTS.md +3 -13
- package/dist/collection/components/mds-input-range/antipattern.md +1 -5
- package/dist/collection/components/mds-input-range/documentation.json +26 -13
- package/dist/collection/components/mds-input-range/mds-input-range.css +26 -19
- package/dist/collection/components/mds-input-range/mds-input-range.js +2 -1
- package/dist/collection/components/mds-input-range/pattern.md +2 -12
- package/dist/collection/components/mds-input-select/AGENTS.md +4 -8
- package/dist/collection/components/mds-input-select/antipattern.md +1 -1
- package/dist/collection/components/mds-input-select/documentation.json +26 -13
- package/dist/collection/components/mds-input-select/mds-input-select.css +3 -3
- package/dist/collection/components/mds-input-select/mds-input-select.js +8 -3
- package/dist/collection/components/mds-input-select/pattern.md +1 -3
- package/dist/collection/components/mds-input-switch/AGENTS.md +2 -30
- package/dist/collection/components/mds-input-switch/antipattern.md +5 -6
- package/dist/collection/components/mds-input-switch/documentation.json +61 -30
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +2 -1
- package/dist/collection/components/mds-input-switch/pattern.md +2 -11
- package/dist/collection/components/mds-input-tip/AGENTS.md +3 -5
- package/dist/collection/components/mds-input-tip/antipattern.md +10 -6
- package/dist/collection/components/mds-input-tip/documentation.json +17 -8
- package/dist/collection/components/mds-input-tip/mds-input-tip.css +1 -1
- package/dist/collection/components/mds-input-tip/mds-input-tip.js +2 -1
- package/dist/collection/components/mds-input-tip/pattern.md +1 -4
- package/dist/collection/components/mds-input-tip-item/AGENTS.md +4 -3
- package/dist/collection/components/mds-input-tip-item/antipattern.md +2 -2
- package/dist/collection/components/mds-input-tip-item/documentation.json +14 -7
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.css +2 -2
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +3 -2
- package/dist/collection/components/mds-input-tip-item/pattern.md +1 -2
- package/dist/collection/components/mds-input-upload/AGENTS.md +3 -5
- package/dist/collection/components/mds-input-upload/antipattern.md +2 -3
- package/dist/collection/components/mds-input-upload/documentation.json +19 -9
- package/dist/collection/components/mds-input-upload/mds-input-upload.css +1 -1
- package/dist/collection/components/mds-input-upload/mds-input-upload.js +8 -5
- package/dist/collection/components/mds-input-upload/pattern.md +1 -5
- package/dist/collection/components/mds-keyboard/AGENTS.md +4 -19
- package/dist/collection/components/mds-keyboard/antipattern.md +3 -3
- package/dist/collection/components/mds-keyboard/documentation.json +48 -24
- package/dist/collection/components/mds-keyboard/mds-keyboard.css +17 -5
- package/dist/collection/components/mds-keyboard/mds-keyboard.js +7 -2
- package/dist/collection/components/mds-keyboard/pattern.md +1 -2
- package/dist/collection/components/mds-keyboard-key/AGENTS.md +3 -6
- package/dist/collection/components/mds-keyboard-key/antipattern.md +1 -2
- package/dist/collection/components/mds-keyboard-key/documentation.json +21 -10
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +7 -3
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +4 -1
- package/dist/collection/components/mds-keyboard-key/pattern.md +1 -12
- package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
- package/dist/collection/components/mds-kpi/documentation.json +10 -4
- package/dist/collection/components/mds-kpi/mds-kpi.css +2 -2
- package/dist/collection/components/mds-kpi/mds-kpi.js +2 -1
- package/dist/collection/components/mds-kpi/pattern.md +7 -4
- package/dist/collection/components/mds-kpi-item/AGENTS.md +3 -8
- package/dist/collection/components/mds-kpi-item/antipattern.md +2 -4
- package/dist/collection/components/mds-kpi-item/documentation.json +16 -8
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +2 -1
- package/dist/collection/components/mds-kpi-item/pattern.md +9 -7
- package/dist/collection/components/mds-label/AGENTS.md +3 -7
- package/dist/collection/components/mds-label/documentation.json +24 -11
- package/dist/collection/components/mds-label/mds-label.css +2 -2
- package/dist/collection/components/mds-label/mds-label.js +4 -1
- package/dist/collection/components/mds-label/pattern.md +1 -3
- package/dist/collection/components/mds-link/AGENTS.md +4 -9
- package/dist/collection/components/mds-link/documentation.json +22 -10
- package/dist/collection/components/mds-link/mds-link.css +1 -1
- package/dist/collection/components/mds-link/mds-link.js +4 -3
- package/dist/collection/components/mds-list/AGENTS.md +1 -1
- package/dist/collection/components/mds-list/documentation.json +6 -2
- package/dist/collection/components/mds-list/mds-list.js +2 -1
- package/dist/collection/components/mds-list/pattern.md +5 -5
- package/dist/collection/components/mds-list-item/AGENTS.md +2 -4
- package/dist/collection/components/mds-list-item/antipattern.md +1 -1
- package/dist/collection/components/mds-list-item/documentation.json +9 -4
- package/dist/collection/components/mds-list-item/mds-list-item.js +2 -1
- package/dist/collection/components/mds-list-item/pattern.md +4 -4
- package/dist/collection/components/mds-mention/AGENTS.md +2 -4
- package/dist/collection/components/mds-mention/antipattern.md +5 -5
- package/dist/collection/components/mds-mention/documentation.json +11 -5
- package/dist/collection/components/mds-mention/mds-mention.js +4 -1
- package/dist/collection/components/mds-mention/pattern.md +3 -5
- package/dist/collection/components/mds-modal/AGENTS.md +3 -9
- package/dist/collection/components/mds-modal/antipattern.md +1 -3
- package/dist/collection/components/mds-modal/documentation.json +37 -18
- package/dist/collection/components/mds-modal/mds-modal.css +7 -7
- package/dist/collection/components/mds-modal/mds-modal.js +4 -3
- package/dist/collection/components/mds-modal/pattern.md +2 -6
- package/dist/collection/components/mds-note/AGENTS.md +3 -5
- package/dist/collection/components/mds-note/documentation.json +18 -8
- package/dist/collection/components/mds-note/mds-note.css +2 -2
- package/dist/collection/components/mds-note/mds-note.js +2 -1
- package/dist/collection/components/mds-note/pattern.md +1 -3
- package/dist/collection/components/mds-notification/AGENTS.md +3 -11
- package/dist/collection/components/mds-notification/antipattern.md +2 -2
- package/dist/collection/components/mds-notification/documentation.json +33 -16
- package/dist/collection/components/mds-notification/mds-notification.css +2 -2
- package/dist/collection/components/mds-notification/mds-notification.js +4 -1
- package/dist/collection/components/mds-notification/pattern.md +3 -5
- package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
- package/dist/collection/components/mds-paginator/documentation.json +12 -5
- package/dist/collection/components/mds-paginator/mds-paginator.css +2 -2
- package/dist/collection/components/mds-paginator/mds-paginator.js +4 -1
- package/dist/collection/components/mds-paginator/pattern.md +1 -3
- package/dist/collection/components/mds-paginator-item/AGENTS.md +3 -10
- package/dist/collection/components/mds-paginator-item/documentation.json +34 -16
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +5 -5
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +2 -1
- package/dist/collection/components/mds-paginator-item/pattern.md +5 -6
- package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
- package/dist/collection/components/mds-policy-ai/documentation.json +6 -2
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +2 -1
- package/dist/collection/components/mds-policy-ai/pattern.md +4 -4
- package/dist/collection/components/mds-pref/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref/documentation.json +5 -5
- package/dist/collection/components/mds-pref/mds-pref.js +2 -2
- package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-animation/documentation.json +7 -2
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +4 -1
- package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-consumption/documentation.json +7 -2
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +4 -1
- package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-contrast/documentation.json +7 -2
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +4 -1
- package/dist/collection/components/mds-pref-language/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-language/documentation.json +5 -1
- package/dist/collection/components/mds-pref-language/mds-pref-language.js +2 -1
- package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-language-item/documentation.json +7 -2
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +4 -1
- package/dist/collection/components/mds-pref-mode/AGENTS.md +3 -3
- package/dist/collection/components/mds-pref-mode/antipattern.md +1 -2
- package/dist/collection/components/mds-pref-mode/documentation.json +15 -7
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +1 -1
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +4 -1
- package/dist/collection/components/mds-pref-mode/pattern.md +1 -3
- package/dist/collection/components/mds-pref-theme/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-theme/documentation.json +6 -2
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +2 -1
- package/dist/collection/components/mds-pref-theme/pattern.md +1 -2
- package/dist/collection/components/mds-pref-theme-item/AGENTS.md +3 -5
- package/dist/collection/components/mds-pref-theme-item/antipattern.md +1 -2
- package/dist/collection/components/mds-pref-theme-item/documentation.json +19 -9
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +1 -1
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +4 -1
- package/dist/collection/components/mds-pref-theme-item/pattern.md +2 -6
- package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table/documentation.json +6 -2
- package/dist/collection/components/mds-price-table/mds-price-table.js +2 -1
- package/dist/collection/components/mds-price-table/pattern.md +4 -4
- package/dist/collection/components/mds-price-table-features/AGENTS.md +4 -3
- package/dist/collection/components/mds-price-table-features/antipattern.md +0 -1
- package/dist/collection/components/mds-price-table-features/documentation.json +12 -6
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +1 -1
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +2 -1
- package/dist/collection/components/mds-price-table-features/pattern.md +2 -3
- package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +3 -6
- package/dist/collection/components/mds-price-table-features-cell/antipattern.md +3 -3
- package/dist/collection/components/mds-price-table-features-cell/documentation.json +19 -9
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +1 -1
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +2 -1
- package/dist/collection/components/mds-price-table-features-cell/pattern.md +1 -6
- package/dist/collection/components/mds-price-table-features-row/AGENTS.md +3 -3
- package/dist/collection/components/mds-price-table-features-row/documentation.json +14 -6
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +2 -2
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +2 -1
- package/dist/collection/components/mds-price-table-features-row/pattern.md +1 -3
- package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-header/documentation.json +5 -1
- package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +2 -1
- package/dist/collection/components/mds-price-table-list/AGENTS.md +3 -5
- package/dist/collection/components/mds-price-table-list/antipattern.md +1 -4
- package/dist/collection/components/mds-price-table-list/documentation.json +10 -5
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +2 -1
- package/dist/collection/components/mds-price-table-list/pattern.md +12 -7
- package/dist/collection/components/mds-price-table-list-item/AGENTS.md +2 -6
- package/dist/collection/components/mds-price-table-list-item/antipattern.md +1 -5
- package/dist/collection/components/mds-price-table-list-item/documentation.json +13 -6
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +2 -1
- package/dist/collection/components/mds-price-table-list-item/pattern.md +7 -4
- package/dist/collection/components/mds-progress/AGENTS.md +1 -1
- package/dist/collection/components/mds-progress/documentation.json +15 -6
- package/dist/collection/components/mds-progress/mds-progress.css +5 -5
- package/dist/collection/components/mds-progress/mds-progress.js +2 -1
- package/dist/collection/components/mds-push-notification/AGENTS.md +4 -7
- package/dist/collection/components/mds-push-notification/antipattern.md +2 -2
- package/dist/collection/components/mds-push-notification/documentation.json +24 -12
- package/dist/collection/components/mds-push-notification/mds-push-notification.css +11 -11
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +2 -1
- package/dist/collection/components/mds-push-notification/pattern.md +2 -5
- package/dist/collection/components/mds-push-notification-item/AGENTS.md +3 -5
- package/dist/collection/components/mds-push-notification-item/documentation.json +20 -9
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +3 -3
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +3 -2
- package/dist/collection/components/mds-push-notification-item/pattern.md +1 -3
- package/dist/collection/components/mds-quote/AGENTS.md +1 -1
- package/dist/collection/components/mds-quote/documentation.json +5 -1
- package/dist/collection/components/mds-quote/mds-quote.js +2 -1
- package/dist/collection/components/mds-radial-menu/AGENTS.md +4 -11
- package/dist/collection/components/mds-radial-menu/documentation.json +31 -15
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +3 -3
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +2 -1
- package/dist/collection/components/mds-radial-menu/pattern.md +2 -6
- package/dist/collection/components/mds-radial-menu-item/AGENTS.md +2 -5
- package/dist/collection/components/mds-radial-menu-item/antipattern.md +7 -5
- package/dist/collection/components/mds-radial-menu-item/documentation.json +13 -6
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +4 -1
- package/dist/collection/components/mds-radial-menu-item/pattern.md +6 -8
- package/dist/collection/components/mds-radial-progress/AGENTS.md +3 -3
- package/dist/collection/components/mds-radial-progress/documentation.json +15 -6
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +3 -3
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +2 -1
- package/dist/collection/components/mds-separator/AGENTS.md +1 -1
- package/dist/collection/components/mds-separator/documentation.json +9 -3
- package/dist/collection/components/mds-separator/mds-separator.css +1 -1
- package/dist/collection/components/mds-separator/mds-separator.js +4 -1
- package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
- package/dist/collection/components/mds-spinner/documentation.json +9 -3
- package/dist/collection/components/mds-spinner/mds-spinner.css +1 -1
- package/dist/collection/components/mds-spinner/mds-spinner.js +4 -1
- package/dist/collection/components/mds-status-bar/AGENTS.md +3 -3
- package/dist/collection/components/mds-status-bar/antipattern.md +0 -1
- package/dist/collection/components/mds-status-bar/documentation.json +13 -6
- package/dist/collection/components/mds-status-bar/mds-status-bar.css +2 -1
- package/dist/collection/components/mds-status-bar/mds-status-bar.js +2 -1
- package/dist/collection/components/mds-status-bar/pattern.md +1 -3
- package/dist/collection/components/mds-stepper-bar/AGENTS.md +3 -7
- package/dist/collection/components/mds-stepper-bar/documentation.json +22 -10
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.css +2 -2
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +2 -1
- package/dist/collection/components/mds-stepper-bar/pattern.md +2 -6
- package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +3 -11
- package/dist/collection/components/mds-stepper-bar-item/antipattern.md +3 -3
- package/dist/collection/components/mds-stepper-bar-item/documentation.json +31 -15
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +2 -2
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +7 -4
- package/dist/collection/components/mds-stepper-bar-item/pattern.md +2 -5
- package/dist/collection/components/mds-tab/AGENTS.md +3 -27
- package/dist/collection/components/mds-tab/antipattern.md +1 -3
- package/dist/collection/components/mds-tab/documentation.json +67 -33
- package/dist/collection/components/mds-tab/mds-tab.css +5 -5
- package/dist/collection/components/mds-tab/mds-tab.js +3 -2
- package/dist/collection/components/mds-tab/pattern.md +3 -13
- package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-bar/antipattern.md +2 -2
- package/dist/collection/components/mds-tab-bar/documentation.json +7 -3
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +2 -1
- package/dist/collection/components/mds-tab-bar/pattern.md +3 -3
- package/dist/collection/components/mds-tab-bar-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-tab-bar-item/documentation.json +15 -7
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +2 -2
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +2 -1
- package/dist/collection/components/mds-tab-bar-item/pattern.md +1 -3
- package/dist/collection/components/mds-tab-item/AGENTS.md +2 -8
- package/dist/collection/components/mds-tab-item/antipattern.md +3 -3
- package/dist/collection/components/mds-tab-item/documentation.json +17 -8
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +2 -1
- package/dist/collection/components/mds-tab-item/pattern.md +6 -5
- package/dist/collection/components/mds-table/AGENTS.md +3 -7
- package/dist/collection/components/mds-table/documentation.json +24 -11
- package/dist/collection/components/mds-table/mds-table.css +3 -3
- package/dist/collection/components/mds-table/mds-table.js +2 -1
- package/dist/collection/components/mds-table/pattern.md +2 -6
- package/dist/collection/components/mds-table-body/AGENTS.md +3 -4
- package/dist/collection/components/mds-table-body/antipattern.md +1 -2
- package/dist/collection/components/mds-table-body/documentation.json +17 -8
- package/dist/collection/components/mds-table-body/mds-table-body.css +2 -2
- package/dist/collection/components/mds-table-body/mds-table-body.js +2 -1
- package/dist/collection/components/mds-table-body/pattern.md +1 -4
- package/dist/collection/components/mds-table-cell/AGENTS.md +4 -4
- package/dist/collection/components/mds-table-cell/antipattern.md +1 -1
- package/dist/collection/components/mds-table-cell/documentation.json +16 -8
- package/dist/collection/components/mds-table-cell/mds-table-cell.css +2 -2
- package/dist/collection/components/mds-table-cell/mds-table-cell.js +2 -1
- package/dist/collection/components/mds-table-cell/pattern.md +1 -7
- package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-footer/antipattern.md +2 -2
- package/dist/collection/components/mds-table-footer/documentation.json +7 -3
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +2 -1
- package/dist/collection/components/mds-table-footer/pattern.md +2 -4
- package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-header/documentation.json +5 -1
- package/dist/collection/components/mds-table-header/mds-table-header.js +2 -1
- package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-header-cell/documentation.json +5 -1
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +2 -1
- package/dist/collection/components/mds-table-row/AGENTS.md +2 -8
- package/dist/collection/components/mds-table-row/antipattern.md +4 -5
- package/dist/collection/components/mds-table-row/documentation.json +17 -8
- package/dist/collection/components/mds-table-row/mds-table-row.js +4 -3
- package/dist/collection/components/mds-table-row/pattern.md +5 -8
- package/dist/collection/components/mds-text/AGENTS.md +3 -3
- package/dist/collection/components/mds-text/antipattern.md +1 -2
- package/dist/collection/components/mds-text/documentation.json +17 -8
- package/dist/collection/components/mds-text/mds-text.css +3 -3
- package/dist/collection/components/mds-text/mds-text.js +2 -1
- package/dist/collection/components/mds-text/pattern.md +0 -11
- package/dist/collection/components/mds-toast/AGENTS.md +3 -3
- package/dist/collection/components/mds-toast/antipattern.md +2 -2
- package/dist/collection/components/mds-toast/documentation.json +19 -9
- package/dist/collection/components/mds-toast/mds-toast.css +4 -4
- package/dist/collection/components/mds-toast/mds-toast.js +2 -1
- package/dist/collection/components/mds-toast/pattern.md +2 -3
- package/dist/collection/components/mds-toast-region/AGENTS.md +1 -1
- package/dist/collection/components/mds-toast-region/documentation.json +7 -2
- package/dist/collection/components/mds-toast-region/mds-toast-region.css +1 -1
- package/dist/collection/components/mds-toast-region/mds-toast-region.js +2 -1
- package/dist/collection/components/mds-tooltip/AGENTS.md +3 -8
- package/dist/collection/components/mds-tooltip/antipattern.md +1 -1
- package/dist/collection/components/mds-tooltip/documentation.json +27 -13
- package/dist/collection/components/mds-tooltip/mds-tooltip.css +5 -5
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +2 -1
- package/dist/collection/components/mds-tooltip/pattern.md +1 -3
- package/dist/collection/components/mds-tree/AGENTS.md +3 -28
- package/dist/collection/components/mds-tree/antipattern.md +3 -4
- package/dist/collection/components/mds-tree/documentation.json +63 -31
- package/dist/collection/components/mds-tree/mds-tree.css +1 -1
- package/dist/collection/components/mds-tree/mds-tree.js +2 -1
- package/dist/collection/components/mds-tree/pattern.md +3 -9
- package/dist/collection/components/mds-tree-item/AGENTS.md +2 -33
- package/dist/collection/components/mds-tree-item/antipattern.md +1 -5
- package/dist/collection/components/mds-tree-item/documentation.json +67 -33
- package/dist/collection/components/mds-tree-item/mds-tree-item.js +2 -1
- package/dist/collection/components/mds-tree-item/pattern.md +5 -10
- package/dist/collection/components/mds-url-view/AGENTS.md +3 -2
- package/dist/collection/components/mds-url-view/antipattern.md +1 -2
- package/dist/collection/components/mds-url-view/documentation.json +19 -9
- package/dist/collection/components/mds-url-view/mds-url-view.css +4 -4
- package/dist/collection/components/mds-url-view/mds-url-view.js +4 -1
- package/dist/collection/components/mds-url-view/pattern.md +1 -2
- package/dist/collection/components/mds-usage/AGENTS.md +2 -6
- package/dist/collection/components/mds-usage/antipattern.md +6 -4
- package/dist/collection/components/mds-usage/documentation.json +13 -6
- package/dist/collection/components/mds-usage/mds-usage.js +2 -1
- package/dist/collection/components/mds-usage/pattern.md +10 -6
- package/dist/collection/components/mds-video-wall/AGENTS.md +3 -4
- package/dist/collection/components/mds-video-wall/antipattern.md +5 -5
- package/dist/collection/components/mds-video-wall/documentation.json +15 -7
- package/dist/collection/components/mds-video-wall/mds-video-wall.css +1 -1
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +2 -1
- package/dist/collection/components/mds-video-wall/pattern.md +2 -4
- package/dist/collection/components/mds-zero/AGENTS.md +1 -1
- package/dist/collection/components/mds-zero/antipattern.md +6 -6
- package/dist/collection/components/mds-zero/documentation.json +9 -4
- package/dist/collection/components/mds-zero/mds-zero.css +1 -1
- package/dist/collection/components/mds-zero/mds-zero.js +2 -1
- package/dist/collection/components/mds-zero/pattern.md +3 -3
- 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.d.ts +11 -0
- package/dist/components/mds-book.js +1 -0
- 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 +2 -2
- 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.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-B8hgyXdE.js +1 -0
- package/dist/components/{p-DkUdrGHq.js → p-BBO_llcO.js} +1 -1
- package/dist/components/{p-nsbhb0lz.js → p-BM7joOdq.js} +1 -1
- package/dist/components/{p-DNeEn8Rr.js → p-BMIaZ4HY.js} +1 -1
- package/dist/components/{p-BwJQB6rG.js → p-BOJQ3tkp.js} +1 -1
- package/dist/components/{p-DCrdKrky.js → p-BU1O2DcC.js} +1 -1
- package/dist/components/{p-Cd8id3Br.js → p-Bo6ezD1p.js} +1 -1
- package/dist/components/p-C0H8bZpf.js +1 -0
- package/dist/components/{p-s1CktmPS.js → p-C1YH20BL.js} +1 -1
- package/dist/components/{p-Cmn1DJAB.js → p-CEw7GvM-.js} +1 -1
- package/dist/components/{p-D-DdDIb9.js → p-CNUWS_Mg.js} +1 -1
- package/dist/components/{p-uqwixjju.js → p-CNpL55c-.js} +1 -1
- package/dist/components/{p-DnySYX0L.js → p-CV7wjM1c.js} +1 -1
- package/dist/components/{p-BU3bsIX2.js → p-CWSIl1jl.js} +1 -1
- package/dist/components/{p-C99SMdU_.js → p-CYK2Xr_v.js} +1 -1
- package/dist/components/{p-B8x-d2fx.js → p-CZjwSwe5.js} +1 -1
- package/dist/components/p-Czqtt8kO.js +1 -0
- package/dist/components/{p-Dm-OUwDe.js → p-DD2muCqG.js} +1 -1
- package/dist/components/{p-ZuubAcA3.js → p-DDTJwlAd.js} +1 -1
- package/dist/components/{p-DF3PrYBI.js → p-DJ401QTd.js} +1 -1
- package/dist/components/{p-BbK4qeM7.js → p-DMyL4CYh.js} +1 -1
- package/dist/components/{p-DiUUZ7ZA.js → p-DTtmr_Y9.js} +1 -1
- package/dist/components/{p-CfQETwAK.js → p-DbVGGhs_.js} +1 -1
- package/dist/components/{p-C4XdTZQ-.js → p-DccBbfK8.js} +1 -1
- package/dist/components/{p-CNZ8_QvE.js → p-H0YXZ5fD.js} +2 -2
- package/dist/components/p-IaXq1Xsc.js +1 -0
- package/dist/components/{p-ClPv-Ljc.js → p-M8dGB4KH.js} +1 -1
- package/dist/components/{p-C1CTahjH.js → p-TNn_HE5x.js} +1 -1
- package/dist/components/{p-CNF3u0Li.js → p-aujz-VM9.js} +1 -1
- package/dist/components/{p-CSxW5f2f.js → p-e9NGNm7d.js} +1 -1
- package/dist/components/{p-D2d9eOLi.js → p-kZBPId_x.js} +1 -1
- package/dist/components/{p-CLe_N2_H.js → p-qnCVkeGX.js} +1 -1
- package/dist/documentation.json +2616 -921
- package/dist/esm/{index-D2_gI0qp.js → index-BJVvHlvf.js} +1 -1
- package/dist/esm/index-CvLLN-QH.js +4 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{locale-BQmO6K_S.js → locale-B6cOkl4I.js} +12 -6
- package/dist/esm/magma-components.js +1 -1
- package/dist/esm/mds-accordion-item.entry.js +1 -1
- package/dist/esm/mds-accordion-timer-item.entry.js +1 -1
- package/dist/esm/mds-accordion-timer.entry.js +1 -1
- package/dist/esm/mds-accordion.entry.js +1 -1
- package/dist/esm/mds-author.entry.js +1 -1
- package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm/mds-avatar-stack.entry.js +1 -1
- package/dist/esm/mds-avatar.entry.js +1 -1
- package/dist/esm/mds-badge.entry.js +1 -1
- package/dist/esm/mds-banner_3.entry.js +4 -4
- package/dist/esm/mds-benchmark-bar.entry.js +1 -1
- package/dist/esm/mds-bibliography.entry.js +1 -1
- package/dist/esm/mds-book.entry.js +701 -0
- package/dist/esm/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm/mds-breadcrumb.entry.js +2 -2
- package/dist/esm/mds-button-dropdown.entry.js +2 -2
- package/dist/esm/mds-button-group.entry.js +1 -1
- package/dist/esm/mds-button_3.entry.js +6 -6
- package/dist/esm/mds-calendar_2.entry.js +7 -7
- package/dist/esm/mds-card-content.entry.js +1 -1
- package/dist/esm/mds-card-footer.entry.js +1 -1
- package/dist/esm/mds-card-header.entry.js +1 -1
- package/dist/esm/mds-card-media.entry.js +1 -1
- package/dist/esm/mds-card.entry.js +1 -1
- package/dist/esm/mds-details.entry.js +1 -1
- package/dist/esm/mds-dropdown.entry.js +2 -2
- package/dist/esm/mds-emoji.entry.js +2 -2
- package/dist/esm/mds-entity.entry.js +1 -1
- package/dist/esm/mds-file-preview.entry.js +3 -3
- package/dist/esm/mds-file.entry.js +2 -2
- package/dist/esm/mds-filter-item.entry.js +2 -2
- package/dist/esm/mds-filter.entry.js +2 -2
- package/dist/esm/mds-header-bar.entry.js +2 -2
- package/dist/esm/mds-header.entry.js +2 -2
- package/dist/esm/mds-horizontal-scroll.entry.js +2 -2
- package/dist/esm/mds-hr.entry.js +1 -1
- package/dist/esm/mds-img.entry.js +1 -1
- package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
- package/dist/esm/mds-input-date-range.entry.js +3 -3
- package/dist/esm/mds-input-date.entry.js +4 -4
- package/dist/esm/mds-input-field.entry.js +1 -1
- package/dist/esm/mds-input-otp.entry.js +2 -2
- package/dist/esm/mds-input-range.entry.js +2 -2
- package/dist/esm/mds-input-select.entry.js +9 -5
- package/dist/esm/mds-input-switch_2.entry.js +3 -3
- package/dist/esm/mds-input-tip_2.entry.js +4 -4
- package/dist/esm/mds-input-upload.entry.js +6 -6
- package/dist/esm/mds-input.entry.js +154 -37
- package/dist/esm/mds-keyboard-key.entry.js +3 -3
- package/dist/esm/mds-keyboard.entry.js +8 -4
- package/dist/esm/mds-kpi-item.entry.js +1 -1
- package/dist/esm/mds-kpi.entry.js +1 -1
- package/dist/esm/mds-label.entry.js +2 -2
- package/dist/esm/mds-link.entry.js +4 -4
- package/dist/esm/mds-list-item.entry.js +1 -1
- package/dist/esm/mds-list.entry.js +1 -1
- package/dist/esm/mds-mention.entry.js +2 -2
- package/dist/esm/mds-modal.entry.js +4 -4
- package/dist/esm/mds-note.entry.js +2 -2
- package/dist/esm/mds-notification.entry.js +1 -1
- package/dist/esm/mds-paginator-item.entry.js +1 -1
- package/dist/esm/mds-paginator.entry.js +2 -2
- package/dist/esm/mds-policy-ai.entry.js +2 -2
- package/dist/esm/mds-pref-animation.entry.js +2 -2
- package/dist/esm/mds-pref-consumption.entry.js +2 -2
- package/dist/esm/mds-pref-contrast.entry.js +2 -2
- package/dist/esm/mds-pref-language-item.entry.js +2 -2
- package/dist/esm/mds-pref-language.entry.js +2 -2
- package/dist/esm/mds-pref-mode.entry.js +2 -2
- package/dist/esm/mds-pref-theme-item.entry.js +1 -1
- package/dist/esm/mds-pref-theme.entry.js +2 -2
- package/dist/esm/mds-pref.entry.js +2 -2
- package/dist/esm/mds-price-table-features-cell.entry.js +1 -1
- package/dist/esm/mds-price-table-features-row.entry.js +1 -1
- package/dist/esm/mds-price-table-features.entry.js +1 -1
- package/dist/esm/mds-price-table-header.entry.js +1 -1
- package/dist/esm/mds-price-table-list-item.entry.js +1 -1
- package/dist/esm/mds-price-table-list.entry.js +1 -1
- package/dist/esm/mds-price-table.entry.js +1 -1
- package/dist/esm/mds-progress_2.entry.js +2 -2
- package/dist/esm/mds-push-notification-item.entry.js +3 -3
- package/dist/esm/mds-push-notification.entry.js +3 -3
- package/dist/esm/mds-quote.entry.js +1 -1
- package/dist/esm/mds-radial-menu-item.entry.js +1 -1
- package/dist/esm/mds-radial-menu.entry.js +2 -2
- package/dist/esm/mds-separator.entry.js +1 -1
- package/dist/esm/mds-status-bar.entry.js +2 -2
- package/dist/esm/mds-stepper-bar-item.entry.js +7 -5
- package/dist/esm/mds-stepper-bar.entry.js +1 -1
- package/dist/esm/mds-tab-bar-item.entry.js +1 -1
- package/dist/esm/mds-tab-bar.entry.js +1 -1
- package/dist/esm/mds-tab_2.entry.js +4 -4
- package/dist/esm/mds-table-body.entry.js +1 -1
- package/dist/esm/mds-table-footer.entry.js +1 -1
- package/dist/esm/mds-table-header-cell.entry.js +1 -1
- package/dist/esm/mds-table-header.entry.js +2 -2
- package/dist/esm/mds-table-row.entry.js +3 -3
- package/dist/esm/mds-table.entry.js +2 -2
- package/dist/esm/mds-text.entry.js +1 -1
- package/dist/esm/mds-toast-region.entry.js +1 -1
- package/dist/esm/mds-toast.entry.js +2 -2
- package/dist/esm/mds-tooltip.entry.js +2 -2
- package/dist/esm/mds-tree-item.entry.js +2 -2
- package/dist/esm/mds-tree.entry.js +1 -1
- package/dist/esm/mds-url-view.entry.js +2 -2
- package/dist/esm/mds-usage.entry.js +2 -2
- package/dist/esm/mds-video-wall.entry.js +1 -1
- package/dist/esm/mds-zero.entry.js +1 -1
- package/dist/esm-es5/{index-D2_gI0qp.js → index-BJVvHlvf.js} +1 -1
- package/dist/esm-es5/index-CvLLN-QH.js +8 -6
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{locale-BQmO6K_S.js → locale-B6cOkl4I.js} +22 -18
- package/dist/esm-es5/magma-components.js +2 -2
- package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
- package/dist/esm-es5/mds-accordion.entry.js +2 -2
- package/dist/esm-es5/mds-author.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
- package/dist/esm-es5/mds-avatar.entry.js +5 -5
- package/dist/esm-es5/mds-badge.entry.js +1 -1
- package/dist/esm-es5/mds-banner_3.entry.js +4 -4
- package/dist/esm-es5/mds-benchmark-bar.entry.js +3 -3
- package/dist/esm-es5/mds-bibliography.entry.js +2 -2
- package/dist/esm-es5/mds-book.entry.js +207 -0
- package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb.entry.js +4 -4
- package/dist/esm-es5/mds-button-dropdown.entry.js +2 -2
- package/dist/esm-es5/mds-button-group.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +5 -5
- package/dist/esm-es5/mds-calendar_2.entry.js +4 -4
- package/dist/esm-es5/mds-card-content.entry.js +1 -1
- package/dist/esm-es5/mds-card-footer.entry.js +1 -1
- package/dist/esm-es5/mds-card-header.entry.js +1 -1
- package/dist/esm-es5/mds-card-media.entry.js +1 -1
- package/dist/esm-es5/mds-card.entry.js +1 -1
- package/dist/esm-es5/mds-details.entry.js +1 -1
- package/dist/esm-es5/mds-dropdown.entry.js +1 -1
- package/dist/esm-es5/mds-emoji.entry.js +2 -2
- 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 +2 -2
- package/dist/esm-es5/mds-filter-item.entry.js +2 -2
- package/dist/esm-es5/mds-filter.entry.js +2 -2
- package/dist/esm-es5/mds-header-bar.entry.js +2 -2
- package/dist/esm-es5/mds-header.entry.js +2 -2
- package/dist/esm-es5/mds-horizontal-scroll.entry.js +2 -2
- package/dist/esm-es5/mds-hr.entry.js +1 -1
- package/dist/esm-es5/mds-img.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range.entry.js +3 -3
- package/dist/esm-es5/mds-input-date.entry.js +3 -3
- package/dist/esm-es5/mds-input-field.entry.js +1 -1
- package/dist/esm-es5/mds-input-otp.entry.js +2 -2
- package/dist/esm-es5/mds-input-range.entry.js +7 -7
- package/dist/esm-es5/mds-input-select.entry.js +5 -4
- package/dist/esm-es5/mds-input-switch_2.entry.js +2 -2
- package/dist/esm-es5/mds-input-tip_2.entry.js +3 -3
- package/dist/esm-es5/mds-input-upload.entry.js +2 -2
- package/dist/esm-es5/mds-input.entry.js +53 -50
- package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
- package/dist/esm-es5/mds-keyboard.entry.js +6 -3
- 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 +2 -2
- package/dist/esm-es5/mds-list-item.entry.js +1 -1
- package/dist/esm-es5/mds-list.entry.js +1 -1
- package/dist/esm-es5/mds-mention.entry.js +2 -2
- package/dist/esm-es5/mds-modal.entry.js +2 -2
- package/dist/esm-es5/mds-note.entry.js +2 -2
- package/dist/esm-es5/mds-notification.entry.js +1 -1
- package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
- 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 +2 -2
- package/dist/esm-es5/mds-pref-consumption.entry.js +2 -2
- package/dist/esm-es5/mds-pref-contrast.entry.js +2 -2
- package/dist/esm-es5/mds-pref-language-item.entry.js +2 -2
- package/dist/esm-es5/mds-pref-language.entry.js +2 -2
- package/dist/esm-es5/mds-pref-mode.entry.js +2 -2
- package/dist/esm-es5/mds-pref-theme-item.entry.js +3 -3
- package/dist/esm-es5/mds-pref-theme.entry.js +6 -6
- package/dist/esm-es5/mds-pref.entry.js +2 -2
- package/dist/esm-es5/mds-price-table-features-cell.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-list-item.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-list.entry.js +1 -1
- package/dist/esm-es5/mds-price-table.entry.js +1 -1
- package/dist/esm-es5/mds-progress_2.entry.js +2 -2
- package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
- package/dist/esm-es5/mds-push-notification.entry.js +2 -2
- package/dist/esm-es5/mds-quote.entry.js +1 -1
- package/dist/esm-es5/mds-radial-menu-item.entry.js +1 -1
- package/dist/esm-es5/mds-radial-menu.entry.js +2 -2
- package/dist/esm-es5/mds-separator.entry.js +1 -1
- package/dist/esm-es5/mds-status-bar.entry.js +2 -2
- package/dist/esm-es5/mds-stepper-bar-item.entry.js +6 -3
- package/dist/esm-es5/mds-stepper-bar.entry.js +1 -1
- package/dist/esm-es5/mds-tab-bar-item.entry.js +1 -1
- package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
- package/dist/esm-es5/mds-tab_2.entry.js +3 -3
- package/dist/esm-es5/mds-table-body.entry.js +1 -1
- package/dist/esm-es5/mds-table-footer.entry.js +1 -1
- package/dist/esm-es5/mds-table-header-cell.entry.js +1 -1
- package/dist/esm-es5/mds-table-header.entry.js +4 -4
- package/dist/esm-es5/mds-table-row.entry.js +2 -2
- package/dist/esm-es5/mds-table.entry.js +2 -2
- package/dist/esm-es5/mds-text.entry.js +1 -1
- package/dist/esm-es5/mds-toast-region.entry.js +1 -1
- package/dist/esm-es5/mds-toast.entry.js +2 -2
- package/dist/esm-es5/mds-tooltip.entry.js +2 -2
- package/dist/esm-es5/mds-tree-item.entry.js +2 -2
- package/dist/esm-es5/mds-tree.entry.js +1 -1
- package/dist/esm-es5/mds-url-view.entry.js +2 -2
- package/dist/esm-es5/mds-usage.entry.js +2 -2
- package/dist/esm-es5/mds-video-wall.entry.js +1 -1
- package/dist/esm-es5/mds-zero.entry.js +1 -1
- package/dist/hydrate/index.js +1228 -207
- package/dist/hydrate/index.mjs +1228 -207
- package/dist/lint/core/checks.d.ts +26 -0
- package/dist/lint/core/checks.js +135 -0
- package/dist/lint/core/colors.d.ts +2 -0
- package/dist/lint/core/colors.js +40 -0
- package/dist/lint/core/data.d.ts +82 -0
- package/dist/lint/core/data.js +171 -0
- package/dist/lint/core/element.d.ts +55 -0
- package/dist/lint/core/element.js +19 -0
- package/dist/lint/eslint/adapters.d.ts +53 -0
- package/dist/lint/eslint/adapters.js +217 -0
- package/dist/lint/eslint/index.d.ts +7 -0
- package/dist/lint/eslint/index.js +86 -0
- package/dist/lint/index.d.ts +4 -0
- package/dist/lint/index.js +10 -0
- package/dist/lint/mcp/checks.d.ts +15 -0
- package/dist/lint/mcp/checks.js +407 -0
- package/dist/lint/mcp/cli.d.ts +2 -0
- package/dist/lint/mcp/cli.js +29 -0
- package/dist/lint/mcp/color.d.ts +12 -0
- package/dist/lint/mcp/color.js +87 -0
- package/dist/lint/mcp/components.d.ts +5 -0
- package/dist/lint/mcp/components.js +362 -0
- package/dist/lint/mcp/context.d.ts +25 -0
- package/dist/lint/mcp/context.js +87 -0
- package/dist/lint/mcp/guides.d.ts +3 -0
- package/dist/lint/mcp/guides.js +137 -0
- package/dist/lint/mcp/icon.svg +11 -0
- package/dist/lint/mcp/icons.d.ts +3 -0
- package/dist/lint/mcp/icons.js +170 -0
- package/dist/lint/mcp/protocol.d.ts +42 -0
- package/dist/lint/mcp/protocol.js +106 -0
- package/dist/lint/mcp/server.d.ts +20 -0
- package/dist/lint/mcp/server.js +67 -0
- package/dist/lint/mcp/tokens.d.ts +22 -0
- package/dist/lint/mcp/tokens.js +507 -0
- package/dist/lint/package.json +3 -0
- package/dist/lint/stylelint/index.d.ts +3 -0
- package/dist/lint/stylelint/index.js +137 -0
- package/dist/lint/stylelint/recommended.d.ts +3 -0
- package/dist/lint/stylelint/recommended.js +10 -0
- package/dist/lint/stylelint/strict.d.ts +3 -0
- package/dist/lint/stylelint/strict.js +10 -0
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/{p-26451eb6.entry.js → p-00aa9a51.entry.js} +1 -1
- package/dist/magma-components/{p-5533b60d.system.entry.js → p-00acb2e1.system.entry.js} +3 -3
- package/dist/magma-components/{p-4bc3335f.system.entry.js → p-037126b7.system.entry.js} +1 -1
- package/dist/magma-components/{p-e5d41024.system.entry.js → p-03da0376.system.entry.js} +1 -1
- package/dist/magma-components/{p-25a6e977.entry.js → p-0417391b.entry.js} +1 -1
- package/dist/magma-components/{p-377d0661.entry.js → p-05ef91a5.entry.js} +1 -1
- package/dist/magma-components/{p-336f56a4.entry.js → p-07d35da6.entry.js} +1 -1
- package/dist/magma-components/{p-f4d80d9a.entry.js → p-09c80fdb.entry.js} +1 -1
- package/dist/magma-components/{p-5cfa0dce.entry.js → p-0b0ca53c.entry.js} +1 -1
- package/dist/magma-components/{p-617370e7.system.entry.js → p-0babf674.system.entry.js} +7 -7
- package/dist/magma-components/{p-29162c98.entry.js → p-0d90c991.entry.js} +1 -1
- package/dist/magma-components/{p-9745dc51.entry.js → p-103465cf.entry.js} +1 -1
- package/dist/magma-components/{p-919f9dce.entry.js → p-10983da0.entry.js} +1 -1
- package/dist/magma-components/{p-52d905fe.system.entry.js → p-109926ce.system.entry.js} +2 -2
- package/dist/magma-components/{p-70d38284.entry.js → p-14b13850.entry.js} +1 -1
- package/dist/magma-components/{p-bf0cb77d.system.entry.js → p-154ba354.system.entry.js} +2 -2
- package/dist/magma-components/{p-73833405.entry.js → p-160cd923.entry.js} +1 -1
- package/dist/magma-components/{p-5ef0fb69.system.entry.js → p-1685e74c.system.entry.js} +1 -1
- package/dist/magma-components/p-1748ca8b.system.entry.js +1 -0
- package/dist/magma-components/{p-729c89f9.system.entry.js → p-17a43cb6.system.entry.js} +2 -2
- package/dist/magma-components/p-17ccfc01.system.entry.js +208 -0
- package/dist/magma-components/{p-f670ed20.entry.js → p-198ea5d8.entry.js} +1 -1
- package/dist/magma-components/{p-d561062f.system.entry.js → p-1b415625.system.entry.js} +3 -3
- package/dist/magma-components/{p-4bc47ff0.system.entry.js → p-1b67b149.system.entry.js} +2 -2
- package/dist/magma-components/p-1c00d0f7.entry.js +1 -0
- package/dist/magma-components/{p-05ed801b.system.entry.js → p-1cd75adf.system.entry.js} +3 -3
- package/dist/magma-components/{p-244676d3.system.entry.js → p-1d8485de.system.entry.js} +4 -4
- package/dist/magma-components/{p-23c057a9.entry.js → p-2006cfeb.entry.js} +1 -1
- package/dist/magma-components/{p-02fe26b4.system.entry.js → p-2216f207.system.entry.js} +2 -2
- package/dist/magma-components/{p-edf003f1.system.entry.js → p-22f24125.system.entry.js} +1 -1
- package/dist/magma-components/{p-6560b426.system.entry.js → p-25c07b67.system.entry.js} +1 -1
- package/dist/magma-components/{p-e3a65644.entry.js → p-29fbb7cf.entry.js} +1 -1
- package/dist/magma-components/{p-f7147d05.entry.js → p-2a26b614.entry.js} +1 -1
- package/dist/magma-components/p-2a6c2a41.entry.js +1 -0
- package/dist/magma-components/{p-06fde29d.entry.js → p-2c28056d.entry.js} +1 -1
- package/dist/magma-components/{p-23722401.entry.js → p-2c5e5cd1.entry.js} +1 -1
- package/dist/magma-components/{p-d92ccce5.system.entry.js → p-2c7d091e.system.entry.js} +3 -3
- package/dist/magma-components/{p-3abaa053.entry.js → p-2c997b47.entry.js} +1 -1
- package/dist/magma-components/{p-0a8e8525.entry.js → p-2f39f4e4.entry.js} +1 -1
- package/dist/magma-components/{p-02298ed0.system.entry.js → p-31370fdb.system.entry.js} +1 -1
- package/dist/magma-components/{p-3df07021.system.entry.js → p-3139988c.system.entry.js} +1 -1
- package/dist/magma-components/p-32418266.entry.js +1 -0
- package/dist/magma-components/{p-cc9659e1.system.entry.js → p-33c80de3.system.entry.js} +1 -1
- package/dist/magma-components/{p-09a7b578.system.entry.js → p-34c0e63c.system.entry.js} +1 -1
- package/dist/magma-components/{p-ca1969c5.entry.js → p-354a5b47.entry.js} +1 -1
- package/dist/magma-components/{p-81e02997.system.entry.js → p-35c6341a.system.entry.js} +3 -3
- package/dist/magma-components/{p-b476435f.entry.js → p-379f51a6.entry.js} +1 -1
- package/dist/magma-components/{p-7c217aa5.entry.js → p-381f49ea.entry.js} +1 -1
- package/dist/magma-components/{p-221c2f0d.entry.js → p-384ab014.entry.js} +1 -1
- package/dist/magma-components/{p-29ab84bf.system.entry.js → p-386bb24e.system.entry.js} +4 -4
- package/dist/magma-components/{p-1e18fcc5.system.entry.js → p-39a2df98.system.entry.js} +1 -1
- package/dist/magma-components/{p-5c4e41d3.system.entry.js → p-3a7c4314.system.entry.js} +3 -3
- package/dist/magma-components/{p-e5950aee.entry.js → p-3a9a75e5.entry.js} +1 -1
- package/dist/magma-components/{p-5435f2a9.entry.js → p-3b691cc3.entry.js} +1 -1
- package/dist/magma-components/{p-3fd8ff0e.system.entry.js → p-3bdb541f.system.entry.js} +2 -2
- package/dist/magma-components/{p-dbd34e3b.entry.js → p-3ca004c3.entry.js} +1 -1
- package/dist/magma-components/{p-4776ac1f.entry.js → p-3caf6a26.entry.js} +1 -1
- package/dist/magma-components/{p-1faa4f71.entry.js → p-3dccd446.entry.js} +1 -1
- package/dist/magma-components/{p-396d95a1.system.entry.js → p-3dde41b0.system.entry.js} +3 -3
- package/dist/magma-components/{p-6f81c9ef.system.entry.js → p-3e8e0003.system.entry.js} +2 -2
- package/dist/magma-components/{p-21547758.system.entry.js → p-3f0e6729.system.entry.js} +3 -3
- package/dist/magma-components/{p-481897a7.entry.js → p-42ab27de.entry.js} +1 -1
- package/dist/magma-components/{p-80eea067.system.entry.js → p-430a4c4b.system.entry.js} +2 -2
- package/dist/magma-components/{p-d48c40ab.system.entry.js → p-47b05fa1.system.entry.js} +1 -1
- package/dist/magma-components/{p-e5eb2390.entry.js → p-47db3155.entry.js} +1 -1
- package/dist/magma-components/{p-2c845743.system.entry.js → p-48f86057.system.entry.js} +1 -1
- package/dist/magma-components/{p-7961c335.system.entry.js → p-4a72d72c.system.entry.js} +1 -1
- package/dist/magma-components/{p-2d3b5eb5.entry.js → p-4aa94380.entry.js} +1 -1
- package/dist/magma-components/{p-ab00b7b9.entry.js → p-4ab2eb7e.entry.js} +1 -1
- package/dist/magma-components/{p-c3c487aa.system.entry.js → p-4bea91e1.system.entry.js} +1 -1
- package/dist/magma-components/{p-f588cf9e.entry.js → p-4cd21f19.entry.js} +1 -1
- package/dist/magma-components/{p-287601bb.entry.js → p-4de89d1b.entry.js} +1 -1
- package/dist/magma-components/{p-23fabd66.system.entry.js → p-50c8f36c.system.entry.js} +1 -1
- package/dist/magma-components/{p-d0bfdb44.system.entry.js → p-5200ab23.system.entry.js} +2 -2
- package/dist/magma-components/{p-f35608b2.entry.js → p-52211fa3.entry.js} +1 -1
- package/dist/magma-components/{p-74f515c3.system.entry.js → p-53981624.system.entry.js} +2 -2
- package/dist/magma-components/p-53acdc6b.entry.js +1 -0
- package/dist/magma-components/p-5660182a.system.entry.js +1 -0
- package/dist/magma-components/{p-464e6431.entry.js → p-56c5ca6f.entry.js} +1 -1
- package/dist/magma-components/p-57e92942.system.entry.js +20 -0
- package/dist/magma-components/{p-63b10a6e.entry.js → p-59aa4994.entry.js} +1 -1
- package/dist/magma-components/{p-9a3ddc91.entry.js → p-59f06b9c.entry.js} +1 -1
- package/dist/magma-components/{p-3d95e688.system.entry.js → p-5aa78075.system.entry.js} +3 -3
- package/dist/magma-components/p-5cf87a7f.entry.js +1 -0
- package/dist/magma-components/{p-5da14e81.entry.js → p-5e8df58d.entry.js} +1 -1
- package/dist/magma-components/{p-880f3eac.system.entry.js → p-5ed74216.system.entry.js} +1 -1
- package/dist/magma-components/{p-84777b38.system.entry.js → p-5f064376.system.entry.js} +2 -2
- package/dist/magma-components/{p-8173ed07.entry.js → p-60727165.entry.js} +2 -2
- package/dist/magma-components/{p-278c362d.entry.js → p-6093aa8e.entry.js} +1 -1
- package/dist/magma-components/{p-29450db3.entry.js → p-62d9eaca.entry.js} +1 -1
- package/dist/magma-components/{p-4c6da1db.system.entry.js → p-6b402a09.system.entry.js} +9 -9
- package/dist/magma-components/p-6b55c5fe.system.entry.js +1 -0
- package/dist/magma-components/{p-3d162e99.system.entry.js → p-6d57674c.system.entry.js} +2 -2
- package/dist/magma-components/p-6d96d223.entry.js +1 -0
- package/dist/magma-components/{p-47717251.system.entry.js → p-6df26141.system.entry.js} +4 -4
- package/dist/magma-components/{p-5f8db04c.system.entry.js → p-6df7da52.system.entry.js} +1 -1
- package/dist/magma-components/{p-9250ec26.system.entry.js → p-6e751bcc.system.entry.js} +2 -2
- package/dist/magma-components/{p-656b00df.system.entry.js → p-718d6384.system.entry.js} +8 -8
- package/dist/magma-components/{p-8279056b.system.entry.js → p-71dab494.system.entry.js} +3 -3
- package/dist/magma-components/{p-b5789a7c.entry.js → p-732d09b6.entry.js} +1 -1
- package/dist/magma-components/{p-fac6f123.entry.js → p-73f4f67e.entry.js} +1 -1
- package/dist/magma-components/{p-772c18f4.entry.js → p-785fa112.entry.js} +1 -1
- package/dist/magma-components/{p-26b9f2b7.system.entry.js → p-79fd07e7.system.entry.js} +2 -2
- package/dist/magma-components/{p-0033cb92.system.entry.js → p-7acbc6ea.system.entry.js} +1 -1
- package/dist/magma-components/{p-67eb3881.entry.js → p-7dd0364b.entry.js} +1 -1
- package/dist/magma-components/{p-cbb80188.entry.js → p-7e7391fd.entry.js} +1 -1
- package/dist/magma-components/{p-f889d413.system.entry.js → p-7ec28ff1.system.entry.js} +2 -2
- package/dist/magma-components/{p-71cbc840.entry.js → p-7f74ec99.entry.js} +1 -1
- package/dist/magma-components/{p-0679c988.system.entry.js → p-7ffce9e8.system.entry.js} +1 -1
- package/dist/magma-components/{p-06ccc40d.entry.js → p-81212e34.entry.js} +1 -1
- package/dist/magma-components/{p-cf6f54e5.system.entry.js → p-8219e58f.system.entry.js} +2 -2
- package/dist/magma-components/{p-860bce85.system.entry.js → p-84711ab6.system.entry.js} +3 -3
- package/dist/magma-components/p-84bf333b.entry.js +1 -0
- package/dist/magma-components/{p-4792ff7f.entry.js → p-84d0d701.entry.js} +1 -1
- package/dist/magma-components/{p-30be5c39.entry.js → p-857ae762.entry.js} +1 -1
- package/dist/magma-components/{p-8f63f1a1.system.entry.js → p-87395a4d.system.entry.js} +1 -1
- package/dist/magma-components/{p-2431fbfa.system.entry.js → p-87831da2.system.entry.js} +1 -1
- package/dist/magma-components/{p-e39518b4.system.entry.js → p-896310aa.system.entry.js} +2 -2
- package/dist/magma-components/{p-dc1a5826.system.entry.js → p-8ac1ba5c.system.entry.js} +1 -1
- package/dist/magma-components/{p-86cf87fb.entry.js → p-8b8a6662.entry.js} +1 -1
- package/dist/magma-components/{p-62fc9695.entry.js → p-8d7093af.entry.js} +1 -1
- package/dist/magma-components/{p-8ab9ff37.system.entry.js → p-8e15c151.system.entry.js} +1 -1
- package/dist/magma-components/{p-a9ba496d.entry.js → p-8f1c529f.entry.js} +1 -1
- package/dist/magma-components/{p-94289f3d.system.entry.js → p-8f1e9021.system.entry.js} +5 -5
- package/dist/magma-components/{p-69abd1d1.entry.js → p-904c1222.entry.js} +1 -1
- package/dist/magma-components/{p-a70fb4fb.system.entry.js → p-907f06cd.system.entry.js} +9 -9
- package/dist/magma-components/{p-000c315c.entry.js → p-9332358d.entry.js} +1 -1
- package/dist/magma-components/{p-2eb4efcd.system.entry.js → p-93b9d39d.system.entry.js} +2 -2
- package/dist/magma-components/{p-d8ae0f02.system.entry.js → p-965e7a82.system.entry.js} +1 -1
- package/dist/magma-components/{p-c50e20cf.system.entry.js → p-96dfb60e.system.entry.js} +1 -1
- package/dist/magma-components/{p-835d79e5.system.entry.js → p-99bfa07e.system.entry.js} +1 -1
- package/dist/magma-components/{p-3beea731.system.entry.js → p-9c408768.system.entry.js} +1 -1
- package/dist/magma-components/{p-1d2220f0.system.entry.js → p-9e792bed.system.entry.js} +1 -1
- package/dist/magma-components/{p-8258733b.entry.js → p-9fdd477a.entry.js} +1 -1
- package/dist/magma-components/{p-f82c2b7e.system.entry.js → p-9fefa077.system.entry.js} +1 -1
- package/dist/magma-components/p-B8zYiZQY.system.js +2 -2
- package/dist/magma-components/{p-OOCOFWC0.system.js → p-CuHZXISO.system.js} +7 -3
- package/dist/magma-components/{p-DXAjcaHM.system.js → p-CxTugGM9.system.js} +1 -1
- package/dist/magma-components/{p-U5iXN1wy.js → p-Dx_cCOTw.js} +1 -1
- package/dist/magma-components/{p-Raj-urIN.js → p-OafT80hV.js} +1 -1
- package/dist/magma-components/{p-458eb34c.system.entry.js → p-a0d637b6.system.entry.js} +2 -2
- package/dist/magma-components/p-a26c05b6.entry.js +1 -0
- package/dist/magma-components/{p-ccc40c6a.system.entry.js → p-a7baf451.system.entry.js} +2 -2
- package/dist/magma-components/p-ac9feb04.entry.js +1 -0
- package/dist/magma-components/p-ad383f92.entry.js +1 -0
- package/dist/magma-components/{p-42e50f25.system.entry.js → p-ae4736a0.system.entry.js} +4 -4
- package/dist/magma-components/{p-9fc385aa.entry.js → p-b3332c5f.entry.js} +1 -1
- package/dist/magma-components/{p-d37fe692.system.entry.js → p-b3e2b68a.system.entry.js} +2 -2
- package/dist/magma-components/{p-808b9277.entry.js → p-b86144d4.entry.js} +1 -1
- package/dist/magma-components/{p-2cbd532a.system.entry.js → p-bbde5701.system.entry.js} +2 -2
- package/dist/magma-components/{p-577ae081.system.entry.js → p-bc075b3b.system.entry.js} +2 -2
- package/dist/magma-components/{p-068e30a5.entry.js → p-bc19b136.entry.js} +1 -1
- package/dist/magma-components/{p-254ee71d.entry.js → p-bcca26d9.entry.js} +1 -1
- package/dist/magma-components/{p-fc2d1134.entry.js → p-bf35627d.entry.js} +1 -1
- package/dist/magma-components/p-bfd95736.entry.js +1 -0
- package/dist/magma-components/{p-6a2d67d1.system.entry.js → p-c086a5a4.system.entry.js} +1 -1
- package/dist/magma-components/{p-41a0f896.entry.js → p-c27206ca.entry.js} +1 -1
- package/dist/magma-components/{p-762a6b7b.entry.js → p-c2758b81.entry.js} +1 -1
- package/dist/magma-components/{p-a76a9f92.system.entry.js → p-c2c693ed.system.entry.js} +2 -2
- package/dist/magma-components/{p-642925b7.system.entry.js → p-c4a5ab6e.system.entry.js} +1 -1
- package/dist/magma-components/{p-b23bee0c.entry.js → p-c58157cf.entry.js} +1 -1
- package/dist/magma-components/{p-8a9544aa.entry.js → p-c597ad47.entry.js} +1 -1
- package/dist/magma-components/{p-295d8fab.entry.js → p-c7b2ebb5.entry.js} +1 -1
- package/dist/magma-components/{p-ae3bf24c.system.entry.js → p-c8b06821.system.entry.js} +2 -2
- package/dist/magma-components/p-ca1143bc.entry.js +1 -0
- package/dist/magma-components/p-cb88fa71.entry.js +1 -0
- package/dist/magma-components/{p-471227f2.system.entry.js → p-cd783f9e.system.entry.js} +2 -2
- package/dist/magma-components/{p-bd97e368.system.entry.js → p-cd955bc7.system.entry.js} +1 -1
- package/dist/magma-components/{p-1f623b75.entry.js → p-ce42e251.entry.js} +1 -1
- package/dist/magma-components/{p-7bf46d43.entry.js → p-cf4f4561.entry.js} +1 -1
- package/dist/magma-components/{p-0d32e196.system.entry.js → p-d0a15a3a.system.entry.js} +5 -4
- package/dist/magma-components/{p-96bb36b9.entry.js → p-d218ae47.entry.js} +1 -1
- package/dist/magma-components/{p-b738d3c1.entry.js → p-d331ff5c.entry.js} +1 -1
- package/dist/magma-components/{p-34c2daa9.system.entry.js → p-d3844c9a.system.entry.js} +4 -4
- package/dist/magma-components/{p-837d31b8.entry.js → p-d3ac9a1a.entry.js} +1 -1
- package/dist/magma-components/{p-8740403e.system.entry.js → p-d4c3250f.system.entry.js} +2 -2
- package/dist/magma-components/p-d638bbb0.entry.js +1 -0
- package/dist/magma-components/{p-72ad419d.system.entry.js → p-d65e9f0a.system.entry.js} +1 -1
- package/dist/magma-components/{p-358aa5e7.entry.js → p-d87ecd68.entry.js} +1 -1
- package/dist/magma-components/{p-2e48f88d.system.entry.js → p-d93b48b4.system.entry.js} +1 -1
- package/dist/magma-components/{p-9855b517.entry.js → p-d94281cb.entry.js} +1 -1
- package/dist/magma-components/{p-55746791.entry.js → p-d9f92ff8.entry.js} +1 -1
- package/dist/magma-components/{p-4cabfdbc.entry.js → p-da9bc02a.entry.js} +1 -1
- package/dist/magma-components/{p-0148cf0a.entry.js → p-dc618cae.entry.js} +1 -1
- package/dist/magma-components/p-de38f745.entry.js +1 -0
- package/dist/magma-components/{p-0b3e4a97.system.entry.js → p-dee123c7.system.entry.js} +2 -2
- package/dist/magma-components/p-df387755.entry.js +1 -0
- package/dist/magma-components/p-dfab370b.entry.js +1 -0
- package/dist/magma-components/{p-0e887379.system.entry.js → p-e30d0684.system.entry.js} +2 -2
- package/dist/magma-components/{p-f66675f5.system.entry.js → p-e371f9e1.system.entry.js} +1 -1
- package/dist/magma-components/{p-8f7daab1.system.entry.js → p-e3b9ea0b.system.entry.js} +1 -1
- package/dist/magma-components/{p-104ba54e.system.entry.js → p-e3d262d9.system.entry.js} +2 -2
- package/dist/magma-components/{p-7fde3025.system.entry.js → p-e54587e7.system.entry.js} +3 -3
- package/dist/magma-components/{p-2cdf450c.system.entry.js → p-e5f893f9.system.entry.js} +2 -2
- package/dist/magma-components/{p-d0a93a14.system.entry.js → p-e709a52e.system.entry.js} +6 -3
- package/dist/magma-components/{p-8680f63e.entry.js → p-e8452cce.entry.js} +1 -1
- package/dist/magma-components/{p-09f621ea.entry.js → p-ea503851.entry.js} +1 -1
- package/dist/magma-components/{p-3dc81ab9.system.entry.js → p-ec44a4ea.system.entry.js} +4 -4
- package/dist/magma-components/{p-8645533a.entry.js → p-ed133270.entry.js} +1 -1
- package/dist/magma-components/{p-77939a25.system.entry.js → p-ee780f82.system.entry.js} +2 -2
- package/dist/magma-components/p-ef4ee9ca.entry.js +1 -0
- package/dist/magma-components/{p-15ffdcf6.entry.js → p-f045b018.entry.js} +1 -1
- package/dist/magma-components/{p-87ce9d6c.entry.js → p-f2211b1f.entry.js} +1 -1
- package/dist/magma-components/{p-2aac4003.entry.js → p-f267ff68.entry.js} +1 -1
- package/dist/magma-components/{p-41a28f2a.system.entry.js → p-f27de6cb.system.entry.js} +3 -3
- package/dist/magma-components/{p-1908f808.entry.js → p-f2ef884c.entry.js} +1 -1
- package/dist/magma-components/{p-9f8ce68f.entry.js → p-f3f88f32.entry.js} +1 -1
- package/dist/magma-components/{p-1eee93c8.system.entry.js → p-f40e3918.system.entry.js} +2 -2
- package/dist/magma-components/{p-6e32bf99.entry.js → p-f4181b35.entry.js} +1 -1
- package/dist/magma-components/{p-8a76097f.entry.js → p-f4351160.entry.js} +1 -1
- package/dist/magma-components/{p-c3a3caae.system.entry.js → p-f4fc9f29.system.entry.js} +1 -1
- package/dist/magma-components/{p-f2f992c2.system.entry.js → p-f5c7b147.system.entry.js} +2 -2
- package/dist/magma-components/{p-84ed22ea.system.entry.js → p-f7d5445c.system.entry.js} +1 -1
- package/dist/magma-components/{p-08370fc2.system.entry.js → p-f7e9af99.system.entry.js} +1 -1
- package/dist/magma-components/{p-95478664.system.entry.js → p-f8c85ad7.system.entry.js} +1 -1
- package/dist/magma-components/{p-c6819aad.entry.js → p-f9b601de.entry.js} +1 -1
- package/dist/magma-components/{p-357724ab.entry.js → p-fa44d0d2.entry.js} +1 -1
- package/dist/magma-components/{p-d3d74616.entry.js → p-fba648e0.entry.js} +1 -1
- package/dist/magma-components/p-fe8e3721.system.entry.js +225 -0
- package/dist/magma-components/{p-8d6470fb.system.entry.js → p-fe98a77e.system.entry.js} +2 -2
- package/dist/magma-components/{p-d980c3d2.system.entry.js → p-ff7fc1f6.system.entry.js} +2 -2
- package/dist/stats.json +3498 -1516
- package/dist/types/common/locale.d.ts +5 -0
- package/dist/types/components/mds-accordion/mds-accordion.d.ts +1 -0
- package/dist/types/components/mds-accordion-item/mds-accordion-item.d.ts +1 -0
- package/dist/types/components/mds-accordion-timer/mds-accordion-timer.d.ts +1 -0
- package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +1 -0
- package/dist/types/components/mds-author/mds-author.d.ts +1 -0
- package/dist/types/components/mds-avatar/mds-avatar.d.ts +1 -0
- package/dist/types/components/mds-avatar-stack/mds-avatar-stack.d.ts +1 -0
- package/dist/types/components/mds-avatar-stack-item/mds-avatar-stack-item.d.ts +3 -0
- package/dist/types/components/mds-badge/mds-badge.d.ts +1 -0
- package/dist/types/components/mds-banner/mds-banner.d.ts +1 -0
- package/dist/types/components/mds-benchmark-bar/mds-benchmark-bar.d.ts +1 -0
- package/dist/types/components/mds-bibliography/mds-bibliography.d.ts +3 -0
- package/dist/types/components/mds-book/mds-book.d.ts +114 -0
- package/dist/types/components/mds-book/meta/dictionary.d.ts +4 -0
- package/dist/types/components/mds-book/meta/format.d.ts +30 -0
- package/dist/types/components/mds-book/meta/pose.d.ts +64 -0
- package/dist/types/components/mds-book/meta/spine.d.ts +33 -0
- package/dist/types/components/mds-book/meta/types.d.ts +3 -0
- package/dist/types/components/mds-book/meta/volume.d.ts +22 -0
- package/dist/types/components/mds-breadcrumb/mds-breadcrumb.d.ts +1 -0
- package/dist/types/components/mds-breadcrumb-item/mds-breadcrumb-item.d.ts +1 -0
- package/dist/types/components/mds-button/mds-button.d.ts +1 -0
- package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +1 -0
- package/dist/types/components/mds-button-group/mds-button-group.d.ts +1 -0
- package/dist/types/components/mds-calendar/mds-calendar.d.ts +1 -0
- package/dist/types/components/mds-calendar-cell/mds-calendar-cell.d.ts +3 -0
- package/dist/types/components/mds-card/mds-card.d.ts +1 -0
- package/dist/types/components/mds-card-content/mds-card-content.d.ts +1 -0
- package/dist/types/components/mds-card-footer/mds-card-footer.d.ts +1 -0
- package/dist/types/components/mds-card-header/mds-card-header.d.ts +1 -0
- package/dist/types/components/mds-card-media/mds-card-media.d.ts +1 -0
- package/dist/types/components/mds-chip/mds-chip.d.ts +3 -0
- package/dist/types/components/mds-details/mds-details.d.ts +1 -0
- package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +1 -0
- package/dist/types/components/mds-emoji/mds-emoji.d.ts +3 -0
- package/dist/types/components/mds-entity/mds-entity.d.ts +1 -0
- package/dist/types/components/mds-file/mds-file.d.ts +3 -0
- package/dist/types/components/mds-file-preview/mds-file-preview.d.ts +1 -0
- package/dist/types/components/mds-filter/mds-filter.d.ts +1 -0
- package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +3 -0
- package/dist/types/components/mds-header/mds-header.d.ts +1 -0
- package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +1 -0
- package/dist/types/components/mds-help/mds-help.d.ts +1 -0
- package/dist/types/components/mds-horizontal-scroll/mds-horizontal-scroll.d.ts +1 -0
- package/dist/types/components/mds-hr/mds-hr.d.ts +3 -0
- package/dist/types/components/mds-icon/mds-icon.d.ts +1 -0
- package/dist/types/components/mds-img/mds-img.d.ts +1 -0
- package/dist/types/components/mds-input/mds-input.d.ts +1 -0
- package/dist/types/components/mds-input/meta/validators.d.ts +7 -2
- package/dist/types/components/mds-input/meta/validity.d.ts +3 -2
- package/dist/types/components/mds-input-date/mds-input-date.d.ts +1 -0
- package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +1 -0
- package/dist/types/components/mds-input-date-range-preselection/mds-input-date-range-preselection.d.ts +1 -0
- package/dist/types/components/mds-input-field/mds-input-field.d.ts +1 -0
- package/dist/types/components/mds-input-otp/mds-input-otp.d.ts +3 -0
- package/dist/types/components/mds-input-range/mds-input-range.d.ts +1 -0
- package/dist/types/components/mds-input-select/mds-input-select.d.ts +3 -1
- package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +1 -0
- package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +1 -0
- package/dist/types/components/mds-input-tip-item/mds-input-tip-item.d.ts +1 -0
- package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +3 -0
- package/dist/types/components/mds-keyboard/mds-keyboard.d.ts +1 -0
- package/dist/types/components/mds-keyboard-key/mds-keyboard-key.d.ts +3 -0
- package/dist/types/components/mds-kpi/mds-kpi.d.ts +1 -0
- package/dist/types/components/mds-kpi-item/mds-kpi-item.d.ts +1 -0
- package/dist/types/components/mds-label/mds-label.d.ts +3 -0
- package/dist/types/components/mds-link/mds-link.d.ts +1 -0
- package/dist/types/components/mds-list/mds-list.d.ts +1 -0
- package/dist/types/components/mds-list-item/mds-list-item.d.ts +1 -0
- package/dist/types/components/mds-mention/mds-mention.d.ts +3 -0
- package/dist/types/components/mds-modal/mds-modal.d.ts +1 -0
- package/dist/types/components/mds-note/mds-note.d.ts +1 -0
- package/dist/types/components/mds-notification/mds-notification.d.ts +3 -0
- package/dist/types/components/mds-paginator/mds-paginator.d.ts +3 -0
- package/dist/types/components/mds-paginator-item/mds-paginator-item.d.ts +1 -0
- package/dist/types/components/mds-policy-ai/mds-policy-ai.d.ts +1 -0
- package/dist/types/components/mds-pref/mds-pref.d.ts +1 -1
- package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +3 -0
- package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +3 -0
- package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +3 -0
- package/dist/types/components/mds-pref-language/mds-pref-language.d.ts +1 -0
- package/dist/types/components/mds-pref-language-item/mds-pref-language-item.d.ts +3 -0
- package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +3 -0
- package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +1 -0
- package/dist/types/components/mds-pref-theme-item/mds-pref-theme-item.d.ts +3 -0
- package/dist/types/components/mds-price-table/mds-price-table.d.ts +1 -0
- package/dist/types/components/mds-price-table-features/mds-price-table-features.d.ts +1 -0
- package/dist/types/components/mds-price-table-features-cell/mds-price-table-features-cell.d.ts +1 -0
- package/dist/types/components/mds-price-table-features-row/mds-price-table-features-row.d.ts +1 -0
- package/dist/types/components/mds-price-table-header/mds-price-table-header.d.ts +1 -0
- package/dist/types/components/mds-price-table-list/mds-price-table-list.d.ts +1 -0
- package/dist/types/components/mds-price-table-list-item/mds-price-table-list-item.d.ts +1 -0
- package/dist/types/components/mds-progress/mds-progress.d.ts +1 -0
- package/dist/types/components/mds-push-notification/mds-push-notification.d.ts +1 -0
- package/dist/types/components/mds-push-notification-item/mds-push-notification-item.d.ts +1 -0
- package/dist/types/components/mds-quote/mds-quote.d.ts +1 -0
- package/dist/types/components/mds-radial-menu/mds-radial-menu.d.ts +1 -0
- package/dist/types/components/mds-radial-menu-item/mds-radial-menu-item.d.ts +3 -0
- package/dist/types/components/mds-radial-progress/mds-radial-progress.d.ts +1 -0
- package/dist/types/components/mds-separator/mds-separator.d.ts +3 -0
- package/dist/types/components/mds-spinner/mds-spinner.d.ts +3 -0
- package/dist/types/components/mds-status-bar/mds-status-bar.d.ts +1 -0
- package/dist/types/components/mds-stepper-bar/mds-stepper-bar.d.ts +1 -0
- package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +1 -0
- package/dist/types/components/mds-tab/mds-tab.d.ts +1 -0
- package/dist/types/components/mds-tab-bar/mds-tab-bar.d.ts +1 -0
- package/dist/types/components/mds-tab-bar-item/mds-tab-bar-item.d.ts +1 -0
- package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +1 -0
- package/dist/types/components/mds-table/mds-table.d.ts +1 -0
- package/dist/types/components/mds-table-body/mds-table-body.d.ts +1 -0
- package/dist/types/components/mds-table-cell/mds-table-cell.d.ts +1 -0
- package/dist/types/components/mds-table-footer/mds-table-footer.d.ts +1 -0
- package/dist/types/components/mds-table-header/mds-table-header.d.ts +1 -0
- package/dist/types/components/mds-table-header-cell/mds-table-header-cell.d.ts +1 -0
- package/dist/types/components/mds-table-row/mds-table-row.d.ts +1 -0
- package/dist/types/components/mds-text/mds-text.d.ts +1 -0
- package/dist/types/components/mds-toast/mds-toast.d.ts +1 -0
- package/dist/types/components/mds-toast-region/mds-toast-region.d.ts +1 -0
- package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +1 -0
- package/dist/types/components/mds-tree/mds-tree.d.ts +1 -0
- package/dist/types/components/mds-tree-item/mds-tree-item.d.ts +1 -0
- package/dist/types/components/mds-url-view/mds-url-view.d.ts +3 -0
- package/dist/types/components/mds-usage/mds-usage.d.ts +1 -0
- package/dist/types/components/mds-video-wall/mds-video-wall.d.ts +1 -0
- package/dist/types/components/mds-zero/mds-zero.d.ts +1 -0
- package/dist/types/components.d.ts +1517 -6
- package/package.json +42 -5
- package/dist/components/p-B0AnE3sA.js +0 -1
- package/dist/components/p-BbTcXgbr.js +0 -1
- package/dist/components/p-CHHEp_7y.js +0 -1
- package/dist/components/p-D8wd-EZX.js +0 -1
- package/dist/magma-components/p-083dceb8.system.entry.js +0 -1
- package/dist/magma-components/p-0eb3558a.entry.js +0 -1
- package/dist/magma-components/p-2a964578.entry.js +0 -1
- package/dist/magma-components/p-335244bb.entry.js +0 -1
- package/dist/magma-components/p-3fb46ab9.system.entry.js +0 -1
- package/dist/magma-components/p-4d485e1f.system.entry.js +0 -1
- package/dist/magma-components/p-57839384.system.entry.js +0 -17
- package/dist/magma-components/p-632ad925.system.entry.js +0 -222
- package/dist/magma-components/p-6436178a.entry.js +0 -1
- package/dist/magma-components/p-644e64a0.entry.js +0 -1
- package/dist/magma-components/p-791a6a6f.entry.js +0 -1
- package/dist/magma-components/p-7ec1ea2e.entry.js +0 -1
- package/dist/magma-components/p-89d4b6e9.entry.js +0 -1
- package/dist/magma-components/p-984dd850.entry.js +0 -1
- package/dist/magma-components/p-a7c01334.entry.js +0 -1
- package/dist/magma-components/p-a8e1ce2f.entry.js +0 -1
- package/dist/magma-components/p-ab4b617d.entry.js +0 -1
- package/dist/magma-components/p-d6b38d8a.entry.js +0 -1
- package/dist/magma-components/p-da24a265.entry.js +0 -1
- package/dist/magma-components/p-e1383302.entry.js +0 -1
- package/dist/magma-components/p-f1aafe07.entry.js +0 -1
- package/dist/magma-components/p-f78c1699.entry.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as registerInstance,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{L as Locale}from"./locale-
|
|
1
|
+
import{r as registerInstance,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{L as Locale}from"./locale-B6cOkl4I.js";import"./preference-C5XjgGCb.js";var reloadPageToSeeChanges$3="Πρέπει να ανανεώσετε τη σελίδα για να δείτε όλες τις αλλαγές, διαφορετικά θα είναι ορατές μόνο για τα πρόσφατα μεταφορτωμένα στοιχεία.";var localeEl={reloadPageToSeeChanges:reloadPageToSeeChanges$3};var reloadPageToSeeChanges$2="You must refresh the page to see all changes, or they will only be visible for new items uploaded.";var localeEn={reloadPageToSeeChanges:reloadPageToSeeChanges$2};var reloadPageToSeeChanges$1="Es necesario actualizar la página para ver todos los cambios, o solo serán visibles para los nuevos elementos cargados.";var localeEs={reloadPageToSeeChanges:reloadPageToSeeChanges$1};var reloadPageToSeeChanges="È necessario aggiornare la pagina per vedere tutti i cambiamenti, oppure saranno visibili solo per i nuovi elementi caricati.";var localeIt={reloadPageToSeeChanges:reloadPageToSeeChanges};var mdsPrefCss=function(){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{display:grid;gap:calc(var(--spacing,.0025rem)*400)}:host(:empty),:host([controller]){display:none}.reload-required{display:grid;gap:calc(var(--spacing,.0025rem)*200)}"};
|
|
2
2
|
// The mounted instances: `data-magma-pref` stays on <html> while any of them is, so
|
|
3
3
|
// a settings page unmounting its own mds-pref leaves the app controller in charge.
|
|
4
4
|
var mountedPrefs=new Set;var MdsPref=/** @class */function(){function e(e){var a=this;registerInstance(this,e);this.showReload=false;this.prefNeedsReload=["consumption","language"];this.loaded=false;this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.sizeChildren=function(e){var o=Array.from(a.host.querySelectorAll("*"));var n=o.filter((function(e){return e.tagName.toLowerCase().startsWith("mds-pref-")}));n.forEach((function(a){a.size=e}))};
|
|
@@ -24,4 +24,4 @@ if(this.host.isConnected)return;mountedPrefs.delete(this.host);if(typeof window!
|
|
|
24
24
|
e.prototype.handlePrefChange=function(e){var a;if(this.loaded&&!this.controller&&this.prefNeedsReload.includes((a=e.detail)===null||a===void 0?void 0:a.preference)){this.showReload=true}};
|
|
25
25
|
// The lock coordination drives the visible-mode UI (the controller mode is hidden
|
|
26
26
|
// via CSS), so it does not depend on the controller prop.
|
|
27
|
-
e.prototype.handleThemeChange=function(e){var a;this.applySchemeLock((a=e.detail)===null||a===void 0?void 0:a.scheme)};e.prototype.render=function(){return h(Host,{key:"
|
|
27
|
+
e.prototype.handleThemeChange=function(e){var a;this.applySchemeLock((a=e.detail)===null||a===void 0?void 0:a.scheme)};e.prototype.render=function(){return h(Host,{key:"30bd8f30a00b2455586fe367bed1f7059d97cef7"},h("slot",{key:"32d04eaa08e7758f393146d6d3100377645d70ed",onSlotchange:this.applySize}),this.showReload&&h("div",{key:"7670cfbf461d545f531357e450db72149ddba693",class:"reload-required"},h("mds-text",{key:"b35c1ad9a555600b6b461823e51f62be4309c56c",typography:"caption"},this.t.get("reloadPageToSeeChanges"))))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{controller:[{handleControllerChange:0}],size:[{handleSizeChange:0}]}},enumerable:false,configurable:true});return e}();MdsPref.style=mdsPrefCss();export{MdsPref as mds_pref};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import{r as registerInstance,h,e as Host}from"./index-CvLLN-QH.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";import{m as miBaselineCheckCircle}from"./check-circle-BFhO-KUe.js";import{m as miBaselineHorizontalRule}from"./horizontal-rule-BE8xuIpS.js";var mdsPriceTableFeaturesCellCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-price-table-features-cell-padding:var(--mds-price-table-features-padding,calc(var(--spacing,.0025rem)*300));--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-06,34 195 93));--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-06,34 195 93));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-price-table-features-cell-icon-unsupported-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-price-table-features-cell-border-color:var(--mds-price-table-features-border-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))));--mds-price-table-features-cell-transition-duration:var(--duration-200,.2s);--private-price-table-features-cell-transition-duration:var(--mds-price-table-features-cell-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-bottom:1px solid var(--mds-price-table-features-cell-border-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))));display:table-cell;padding:var(--mds-price-table-features-cell-padding,calc(var(--spacing,.0025rem)*300));transition-duration:var(--private-price-table-features-cell-transition-duration);transition-property:border-color,transform;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));vertical-align:top}.icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}.icon{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));display:flex;fill:var(--icon-fill-color,currentColor);height:calc(var(--spacing,.0025rem)*600);transition-duration:var(--private-price-table-features-cell-transition-duration);transition-property:fill;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));width:calc(var(--spacing,.0025rem)*600)}.icon--supported{--icon-fill-color:var(--mds-price-table-features-cell-icon-supported-color,rgb(var(--label-green-06,34 195 93)))}.icon--unsupported{--icon-fill-color:var(--mds-price-table-features-cell-icon-unsupported-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))))}: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-price-table-features-cell-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-03,18 103 49));--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-02,14 80 38));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}:host([pref-contrast=more]){--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-01,9 52 25));--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-02,14 80 38));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-price-table-features-cell-icon-unsupported-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-price-table-features-cell-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-03,18 103 49));--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-02,14 80 38));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-01,9 52 25));--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-02,14 80 38));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-price-table-features-cell-icon-unsupported-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}'};var MdsPriceTableFeaturesCell=/** @class */function(){function e(e){registerInstance(this,e);
|
|
2
2
|
/**
|
|
3
3
|
* Specifies the support type which is represented
|
|
4
|
-
*/this.type="text"}e.prototype.render=function(){return h(Host,{key:"
|
|
4
|
+
*/this.type="text"}e.prototype.render=function(){return h(Host,{key:"6b664a8c9173cd1063a08e4c72254156a77010f4","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},this.type==="supported"&&h("i",{key:"f07cbc007529c0450cae5e1de65407ad3ab9fae7",class:"icon icon--supported",innerHTML:miBaselineCheckCircle,part:"icon"}),this.type==="unsupported"&&h("i",{key:"38fcdaaf74473d8b1d81cd1280ef5a591b4cf3c2",class:"icon icon--unsupported",innerHTML:miBaselineHorizontalRule,part:"icon"}),this.type==="text"&&h("mds-text",{key:"630ee8deb80284a583fd5f272f79de7d65ce0db1",part:"text",typography:"detail"},h("slot",{key:"c18c7b1c70434e0c06eaa9d5fbfad8da930cff0b"})),this.type==="custom"&&h("slot",{key:"02d281aa7df9ad04076b869a0d869ec54bf7c92b"}),this.type==="label"&&h("slot",{key:"59b84c57ff79b3f541404358bb12161513d4338a"}))};return e}();MdsPriceTableFeaturesCell.style=mdsPriceTableFeaturesCellCss();export{MdsPriceTableFeaturesCell as mds_price_table_features_cell};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as registerInstance,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";var mdsPriceTableFeaturesRowCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-price-table-features-cell:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-price-table-features-row-background:#0000;--mds-price-table-features-row-background-hover:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-price-table-features-row-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-price-table-features-row-color-hover:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-price-table-features-row-transition-duration:var(--duration-200,.2s);--private-price-table-features-row-transition-duration:var(--mds-price-table-features-row-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-price-table-features-row-background,#0000);color:var(--mds-price-table-features-row-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));display:table-row;transition-duration:var(--private-price-table-features-row-transition-duration);transition-property:background-color,color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host(:hover){--mds-price-table-features-row-background:var(--mds-price-table-features-row-background-hover,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));--mds-price-table-features-row-color:var(--mds-price-table-features-row-color-hover,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))))}:host(:hover)>::slotted(mds-price-table-features-cell){--mds-price-table-features-cell-icon-supported-color:var(--mds-price-table-features-cell-icon-supported-color-hover);--mds-price-table-features-cell-icon-unsupported-color:var(--mds-price-table-features-cell-icon-unsupported-color-hover)}:host>::slotted([type=label]){padding-left:0}:host(:hover)>::slotted([type=label]){transform:translate(calc(var(--spacing,.0025rem)*200))}: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-price-table-features-row-transition-duration:0s}:host([pref-contrast=more]){--mds-price-table-features-row-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-price-table-features-row-color-hover:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-price-table-features-row-background-hover:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-price-table-features-row-transition-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-price-table-features-row-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-price-table-features-row-color-hover:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-price-table-features-row-background-hover:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}}'};var MdsPriceTableFeaturesRow=/** @class */function(){function e(e){registerInstance(this,e)}e.prototype.componentWillRender=function(){var e=this;this.horizontalCells=this.host.querySelectorAll("mds-price-table-features-cell");this.cellPercWidth=Number(100/this.horizontalCells.length).toFixed(4)+"%";this.horizontalCells.forEach((function(r){r.style.width=e.cellPercWidth}))};e.prototype.render=function(){return h(Host,{key:"
|
|
1
|
+
import{r as registerInstance,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";var mdsPriceTableFeaturesRowCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-price-table-features-cell:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-price-table-features-row-background:#0000;--mds-price-table-features-row-background-hover:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-price-table-features-row-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-price-table-features-row-color-hover:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-price-table-features-row-transition-duration:var(--duration-200,.2s);--private-price-table-features-row-transition-duration:var(--mds-price-table-features-row-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-price-table-features-row-background,#0000);color:var(--mds-price-table-features-row-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));display:table-row;transition-duration:var(--private-price-table-features-row-transition-duration);transition-property:background-color,color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host(:hover){--mds-price-table-features-row-background:var(--mds-price-table-features-row-background-hover,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));--mds-price-table-features-row-color:var(--mds-price-table-features-row-color-hover,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))))}:host(:hover)>::slotted(mds-price-table-features-cell){--mds-price-table-features-cell-icon-supported-color:var(--mds-price-table-features-cell-icon-supported-color-hover);--mds-price-table-features-cell-icon-unsupported-color:var(--mds-price-table-features-cell-icon-unsupported-color-hover)}:host>::slotted([type=label]){padding-left:0}:host(:hover)>::slotted([type=label]){transform:translate(calc(var(--spacing,.0025rem)*200))}: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-price-table-features-row-transition-duration:0s}:host([pref-contrast=more]){--mds-price-table-features-row-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-price-table-features-row-color-hover:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-price-table-features-row-background-hover:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-price-table-features-row-transition-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-price-table-features-row-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-price-table-features-row-color-hover:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-price-table-features-row-background-hover:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}}'};var MdsPriceTableFeaturesRow=/** @class */function(){function e(e){registerInstance(this,e)}e.prototype.componentWillRender=function(){var e=this;this.horizontalCells=this.host.querySelectorAll("mds-price-table-features-cell");this.cellPercWidth=Number(100/this.horizontalCells.length).toFixed(4)+"%";this.horizontalCells.forEach((function(r){r.style.width=e.cellPercWidth}))};e.prototype.render=function(){return h(Host,{key:"d41f21d223d154e41ca4a2cc65c4ab23a66fa227","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("slot",{key:"71997d0c0b04dd775392ff3653a302080642c2d7"}))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsPriceTableFeaturesRow.style=mdsPriceTableFeaturesRowCss();export{MdsPriceTableFeaturesRow as mds_price_table_features_row};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as registerInstance,h,e as Host}from"./index-CvLLN-QH.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";var mdsPriceTableFeaturesCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host{--mds-price-table-features-border-color:rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219)));--mds-price-table-features-padding:calc(var(--spacing,.0025rem)*300);--mds-price-table-features-transition-duration:var(--duration-200,.2s);--private-price-table-features-transition-duration:var(--mds-price-table-features-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));display:flex;transition-duration:var(--private-price-table-features-transition-duration);transition-property:border-color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));width:100%}.table-wrapper{scroll-margin-inline:calc(var(--spacing,.0025rem)*600);width:100%}table{border-collapse:collapse;min-width:100%;table-layout:fixed}header{border-bottom:1px solid var(--mds-price-table-features-border-color);padding:var(--mds-price-table-features-padding) var(--mds-price-table-features-padding) var(--mds-price-table-features-padding) 0}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-price-table-features-transition-duration:0s}: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}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-price-table-features-transition-duration:0s}}'};var MdsPriceTableFeatures=/** @class */function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,{key:"
|
|
1
|
+
import{r as registerInstance,h,e as Host}from"./index-CvLLN-QH.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";var mdsPriceTableFeaturesCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host{--mds-price-table-features-border-color:rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219)));--mds-price-table-features-padding:calc(var(--spacing,.0025rem)*300);--mds-price-table-features-transition-duration:var(--duration-200,.2s);--private-price-table-features-transition-duration:var(--mds-price-table-features-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));display:flex;transition-duration:var(--private-price-table-features-transition-duration);transition-property:border-color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));width:100%}.table-wrapper{scroll-margin-inline:calc(var(--spacing,.0025rem)*600);width:100%}table{border-collapse:collapse;min-width:100%;table-layout:fixed}header{border-bottom:1px solid var(--mds-price-table-features-border-color);padding:var(--mds-price-table-features-padding) var(--mds-price-table-features-padding) var(--mds-price-table-features-padding) 0}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-price-table-features-transition-duration:0s}: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}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-price-table-features-transition-duration:0s}}'};var MdsPriceTableFeatures=/** @class */function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,{key:"fd780347090550a18136e4969079e1e07606cfbc","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("div",{key:"fac623347dd8aacf34f305b79e509899a6e0f6bf",class:"table-wrapper"},this.label&&h("header",{key:"7c9e3b8030f64bb02e793d21dbe1142a3025f6b3",part:"header"},h("mds-text",{key:"978b0a219f520271b370a5c465e01b30e2fe28de",typography:"detail"},h("b",{key:"f6038de8f324d7d355f16006fbcf8d09be349b39"},this.label))),h("table",{key:"2077b36b6c979c8e96e30989ff7cb2437d189844"},h("tbody",{key:"47912a9ae06c7db2b41db658272e70ce0b99f20e"},h("slot",{key:"91e19e971ebe3dcc5b36dccb9acb1d37a8cb3a8d"})))))};return e}();MdsPriceTableFeatures.style=mdsPriceTableFeaturesCss();export{MdsPriceTableFeatures as mds_price_table_features};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as registerInstance,h,e as Host}from"./index-CvLLN-QH.js";var mdsPriceTableHeaderCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-price-table-list: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)*600);grid-template-columns:repeat(auto-fit,minmax(1px,1fr))}"};var MdsPriceTableHeader=/** @class */function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,{key:"
|
|
1
|
+
import{r as registerInstance,h,e as Host}from"./index-CvLLN-QH.js";var mdsPriceTableHeaderCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-price-table-list: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)*600);grid-template-columns:repeat(auto-fit,minmax(1px,1fr))}"};var MdsPriceTableHeader=/** @class */function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,{key:"b401e09db75feb79fdb2f9dbaae3cbeb8d8c4380"},h("slot",{key:"fb9db117e8e948a182ba305590863a9d424f1ca4"}))};return e}();MdsPriceTableHeader.style=mdsPriceTableHeaderCss();export{MdsPriceTableHeader as mds_price_table_header};
|
|
@@ -4,4 +4,4 @@ import{r as registerInstance,h,e as Host}from"./index-CvLLN-QH.js";import{m as m
|
|
|
4
4
|
*/this.supported=false;
|
|
5
5
|
/**
|
|
6
6
|
* Specifies if the feature is supported or not
|
|
7
|
-
*/this.typography="detail"}e.prototype.render=function(){return h(Host,{key:"
|
|
7
|
+
*/this.typography="detail"}e.prototype.render=function(){return h(Host,{key:"1ed32d64bf8f0f19a7fd79291375a0b81b653db3",slot:"item"},h("mds-text",{key:"740618326dea32f10c1cc230f77d8ccdad273e05",class:"icon-container",typography:this.typography},this.supported?h("i",{class:"icon",innerHTML:miBaselineCheckCircle,part:"icon"}):h("i",{class:"icon",innerHTML:miBaselineHorizontalRule,part:"icon"})),h("mds-text",{key:"559ed559418643d87000f5240336d38ef61bba05",class:"text",typography:this.typography},h("slot",{key:"6447b837def3bbef302ae47d7ca69c9ffe008516"})))};return e}();MdsPriceTableListItem.style=mdsPriceTableListItemCss();export{MdsPriceTableListItem as mds_price_table_list_item};
|
|
@@ -2,4 +2,4 @@ import{r as registerInstance,h,e as Host,g as getElement}from"./index-CvLLN-QH.j
|
|
|
2
2
|
// The region of the items is rendered only with items, so no slotchange tells the list of the
|
|
3
3
|
// ones rendered after load, a page that fetches them (#826): it reads them again when its
|
|
4
4
|
// content changes. The observer stays on the host when it moves, and goes with it.
|
|
5
|
-
this.updateItems=function(){r.hasItems=r.hostElement.querySelectorAll('[slot="item"], mds-price-table-list-item').length>0}}e.prototype.componentWillLoad=function(){this.updateItems();observeChildren(this.hostElement,this.updateItems)};e.prototype.render=function(){return h(Host,{key:"
|
|
5
|
+
this.updateItems=function(){r.hasItems=r.hostElement.querySelectorAll('[slot="item"], mds-price-table-list-item').length>0}}e.prototype.componentWillLoad=function(){this.updateItems();observeChildren(this.hostElement,this.updateItems)};e.prototype.render=function(){return h(Host,{key:"a53ccc9cd3b0856544e89d4c65f1c17903be544e","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("div",{key:"86be76fa315daee8a2550facc782272b51f86193",class:"header",part:"header"},h("slot",{key:"fc5b2ef374e73b71183844608cb1c1a4b3a62652",name:"header"})),this.hasItems&&h("mds-separator",{key:"2b6628f2a286e66b21b87c903a2c9520673a99ea",class:"separator"}),this.hasItems&&h("div",{key:"09ae67ae1a6cf19e977c13ef8ac16fd7e8a8787e",class:"main",part:"content"},h("slot",{key:"481859b7af74ff9c803f74a299d504e430852e0a",name:"item"})),h("div",{key:"93014d3780b52ac36e77a840387844ba8c3e7658",class:"footer",part:"footer"},h("slot",{key:"0990b206ad3fb0f27379a0d63ffac5d70c7b3137",name:"price"}),h("slot",{key:"8a1e5ab8a0e3c29b1bcb5309288ae889fa226ffd",name:"action"})))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsPriceTableList.style=mdsPriceTableListCss();export{MdsPriceTableList as mds_price_table_list};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as registerInstance,h,e as Host}from"./index-CvLLN-QH.js";var mdsPriceTableCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-price-table-features,mds-price-table-header,mds-price-table-list):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)*600)}"};var MdsPriceTable=/** @class */function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,{key:"
|
|
1
|
+
import{r as registerInstance,h,e as Host}from"./index-CvLLN-QH.js";var mdsPriceTableCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-price-table-features,mds-price-table-header,mds-price-table-list):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)*600)}"};var MdsPriceTable=/** @class */function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,{key:"5b2c5ebe5e79a4ee796774ac55c0d868725224f4"},h("slot",{key:"a2bf66dfd60112fe2949cf7bc3d13f152d0934a4"}))};return e}();MdsPriceTable.style=mdsPriceTableCss();export{MdsPriceTable as mds_price_table};
|
|
@@ -31,7 +31,7 @@ this.clampedProgress=function(){var r=Number(a.progress);if(Number.isNaN(r))retu
|
|
|
31
31
|
*/
|
|
32
32
|
// Stencil watches a native attribute too (it joins observedAttributes), the lint rule predates it
|
|
33
33
|
// eslint-disable-next-line stencil/no-unused-watch
|
|
34
|
-
r.prototype.ariaHiddenChanged=function(){this.leftOut=this.element.getAttribute("aria-hidden")==="true"};r.prototype.render=function(){return h(Host,{key:"
|
|
34
|
+
r.prototype.ariaHiddenChanged=function(){this.leftOut=this.element.getAttribute("aria-hidden")==="true"};r.prototype.render=function(){return h(Host,{key:"ec1c7761abc77dc7bdc263a001002ed30fbfaf7e","aria-valuemax":this.leftOut?undefined:"100","aria-valuemin":this.leftOut?undefined:"0","aria-valuenow":this.leftOut?undefined:Math.round(this.clampedProgress()*100),"aria-valuetext":this.leftOut?undefined:this.resolveValueText(),role:this.leftOut?undefined:"progressbar","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},this.direction==="radial"?h("mds-radial-progress",{"aria-hidden":"true",progress:this.clampedProgress(),part:"radial-progress",typography:this.typography,variant:this.variant}):h("div",{class:"progress",part:"progress",style:this.direction==="horizontal"?{flexGrow:"".concat(this.clampedProgress())}:{flexGrow:"".concat(this.clampedProgress()),width:"100%"}}))};Object.defineProperty(r.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{steps:[{stepsChanged:0}],"aria-hidden":[{ariaHiddenChanged:0}]}},enumerable:false,configurable:true});return r}();MdsProgress.style=mdsProgressCss();var mdsRadialProgressCss=function(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-tooltip):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-radial-progress-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-radial-progress-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-radial-progress-text-background-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-radial-progress-text-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-radial-progress-text-suffix:"%";--mds-radial-progress:0%;align-items:center;aspect-ratio:1;background-color:var(--mds-radial-progress-background);background-image:conic-gradient(var(--mds-radial-progress-color) var(--mds-radial-progress,0),#0000 0);border-radius:var(--magma-radius-full,var(--radius-full,1000px));box-sizing:border-box;container:mds-radial-progress/inline-size;display:flex;height:auto;justify-content:center;padding:calc(var(--spacing,.0025rem)*200);transition-duration:var(--duration-500,.5s);transition-property:background-color,--mds-radial-progress-color,--mds-radial-progress;transition-timing-function:ease-out;width:calc(var(--spacing,.0025rem)*1200)}.value-container{aspect-ratio:1;background-color:var(--mds-radial-progress-text-background);border-radius:inherit;box-shadow:var(--mds-radial-progress-text-background-shadow);display:flex;flex-direction:column;gap:calc(var(--spacing,.0025rem)*50);padding:calc(var(--spacing,.0025rem)*50);width:100%}.value-container,.value-container__text{align-items:center;justify-content:center}.value,.value-container__text{display:inline-flex}.value{color:currentColor}.value:after{content:var(--mds-radial-progress-text-suffix)}.icon{aspect-ratio:1;fill:var(--mds-radial-progress-color);max-height:calc(var(--spacing,.0025rem)*600);max-width:calc(var(--spacing,.0025rem)*600);width:100%}@container mds-radial-progress (max-width:47px){:host([typography=label][icon]) .value-container__text,:host([typography=option][icon]) .value-container__text{display:none}}@container mds-radial-progress (max-width:35px){:host([typography=label]) .value{--mds-radial-progress-text-suffix:""}}@container mds-radial-progress (max-width:31px){:host([typography=option]) .value{--mds-radial-progress-text-suffix:""}}@container mds-radial-progress (max-width:23px){:host([typography=label]) .value{display:none}}@container mds-radial-progress (max-width:19px){:host([typography=option]) .value{display:none}}:host([variant=primary]),:host([variant=secondary]){--mds-radial-progress-color:rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-radial-progress-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:host([variant=ai]){--mds-radial-progress-color:rgb(var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245)));--mds-radial-progress-background:rgb(var(--magma-accent-ai-surface,var(--variant-ai-09,229 218 253)))}:host([variant=error]){--mds-radial-progress-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-radial-progress-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)))}:host([variant=warning]){--mds-radial-progress-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)));--mds-radial-progress-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)))}:host([variant=success]){--mds-radial-progress-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)));--mds-radial-progress-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)))}:host([variant=info]){--mds-radial-progress-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)));--mds-radial-progress-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)))}:host([variant=light]){--mds-radial-progress-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-radial-progress-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:host([variant=dark]){--mds-radial-progress-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-radial-progress-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42)));--mds-radial-progress-text-background:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255))/.15);color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)))}'};var MdsRadialProgress=/** @class */function(){function r(r){var a=this;registerInstance(this,r);
|
|
35
35
|
/**
|
|
36
36
|
* A value between 0 and 1 that rapresents the status progress
|
|
37
37
|
*/this.progress=0;this.animatedProgress=0;this.rafId=null;
|
|
@@ -44,4 +44,4 @@ r.prototype.ariaHiddenChanged=function(){this.leftOut=this.element.getAttribute(
|
|
|
44
44
|
/**
|
|
45
45
|
* Returns the displayed progress percentage
|
|
46
46
|
* @returns {string} The progress percentage
|
|
47
|
-
*/this.progressPercentage=function(r){return"".concat(Math.round(r*100))};this.clampProgress=function(r){return Math.min(1,Math.max(0,r))};this.easeOutExpo=function(r){return r===1?1:1-Math.pow(2,-10*r)};this.stopAnimation=function(){if(a.rafId!==null){cancelAnimationFrame(a.rafId);a.rafId=null}};this.animateTo=function(r){var s=a.clampProgress(r);var e=a.animatedProgress;a.stopAnimation();if(prefersReducedMotion()){a.animatedProgress=s;return}var t=500;var o=performance.now();var i=function(r){var n=Math.min(1,(r-o)/t);var m=a.easeOutExpo(n);a.animatedProgress=e+(s-e)*m;if(n<1)a.rafId=requestAnimationFrame(i);else a.rafId=null};a.rafId=requestAnimationFrame(i)}}r.prototype.componentWillLoad=function(){this.animatedProgress=this.clampProgress(this.progress)};r.prototype.disconnectedCallback=function(){this.stopAnimation()};r.prototype.onProgressChange=function(r){this.animateTo(r)};r.prototype.render=function(){var r="".concat((this.animatedProgress*100).toFixed(2),"%");var a=this.progressPercentage(this.clampProgress(this.progress));return h(Host,{key:"
|
|
47
|
+
*/this.progressPercentage=function(r){return"".concat(Math.round(r*100))};this.clampProgress=function(r){return Math.min(1,Math.max(0,r))};this.easeOutExpo=function(r){return r===1?1:1-Math.pow(2,-10*r)};this.stopAnimation=function(){if(a.rafId!==null){cancelAnimationFrame(a.rafId);a.rafId=null}};this.animateTo=function(r){var s=a.clampProgress(r);var e=a.animatedProgress;a.stopAnimation();if(prefersReducedMotion()){a.animatedProgress=s;return}var t=500;var o=performance.now();var i=function(r){var n=Math.min(1,(r-o)/t);var m=a.easeOutExpo(n);a.animatedProgress=e+(s-e)*m;if(n<1)a.rafId=requestAnimationFrame(i);else a.rafId=null};a.rafId=requestAnimationFrame(i)}}r.prototype.componentWillLoad=function(){this.animatedProgress=this.clampProgress(this.progress)};r.prototype.disconnectedCallback=function(){this.stopAnimation()};r.prototype.onProgressChange=function(r){this.animateTo(r)};r.prototype.render=function(){var r="".concat((this.animatedProgress*100).toFixed(2),"%");var a=this.progressPercentage(this.clampProgress(this.progress));return h(Host,{key:"c8c14e004a962629c91be2012b66fcc19c540207","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":a,role:"progressbar",style:{"--mds-radial-progress":r}},h("div",{key:"41d2cd52c56f2a77b062f60702c315e2b585b55f",class:"value-container",part:"value-container"},this.icon&&h("mds-icon",{key:"4a447ff84050ac84c3a591ae826482e841c3fbad",class:"icon",name:this.icon,part:"icon"}),h("div",{key:"73e0a6eb84ba9805fc6537efd1291ad662709277",class:"value-container__text"},h("mds-text",{key:"6b5040689dbf2664ac6e1ad3797c7119054c8518",class:"value",typography:this.typography},a))))};Object.defineProperty(r,"watchers",{get:function(){return{progress:[{onProgressChange:0}]}},enumerable:false,configurable:true});return r}();MdsRadialProgress.style=mdsRadialProgressCss();export{MdsProgress as mds_progress,MdsRadialProgress as mds_radial_progress};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as registerInstance,d as createEvent,h as h$4,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{g as getDefaultExportFromCjs}from"./_commonjsHelpers-B85MJLTf.js";import{m as miBaselineCancel}from"./cancel-BJ8rpzfj.js";import{h as hasChildWithSlot}from"./slot-AEckDMXh.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{L as Locale}from"./locale-BQmO6K_S.js";import{s as sanitizeISO8601Date}from"./date-CACEYk42.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";var dayjs_min$1={exports:{}};var dayjs_min=dayjs_min$1.exports;var hasRequiredDayjs_min;function requireDayjs_min(){if(hasRequiredDayjs_min)return dayjs_min$1.exports;hasRequiredDayjs_min=1;(function(t,a){!function(a,r){t.exports=r()}(dayjs_min,(function(){var t=1e3,a=6e4,r=36e5,i="millisecond",e="second",n="minute",o="hour",s="day",c="week",u="month",m="quarter",d="year",h="date",l="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var a=["th","st","nd","rd"],r=t%100;return"["+t+(a[(r-20)%10]||a[r]||a[0])+"]"}},p=function(t,a,r){var i=String(t);return!i||i.length>=a?t:""+Array(a+1-i.length).join(r)+t},b={s:p,z:function(t){var a=-t.utcOffset(),r=Math.abs(a),i=Math.floor(r/60),e=r%60;return(a<=0?"+":"-")+p(i,2,"0")+":"+p(e,2,"0")},m:function t(a,r){if(a.date()<r.date())return-t(r,a);var i=12*(r.year()-a.year())+(r.month()-a.month()),e=a.clone().add(i,u),n=r-e<0,o=a.clone().add(i+(n?-1:1),u);return+(-(i+(r-e)/(n?e-o:o-e))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:u,y:d,w:c,d:s,D:h,h:o,m:n,s:e,ms:i,Q:m}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},y="en",$={};$[y]=g;var k="$isDayjsObject",w=function(t){return t instanceof _||!(!t||!t[k])},M=function t(a,r,i){var e;if(!a)return y;if("string"==typeof a){var n=a.toLowerCase();$[n]&&(e=n),r&&($[n]=r,e=n);var o=a.split("-");if(!e&&o.length>1)return t(o[0])}else{var s=a.name;$[s]=a,e=s}return!i&&e&&(y=e),e||!i&&y},x=function(t,a){if(w(t))return t.clone();var r="object"==typeof a?a:{};return r.date=t,r.args=arguments,new _(r)},j=b;j.l=M,j.i=w,j.w=function(t,a){return x(t,{locale:a.$L,utc:a.$u,x:a.$x,$offset:a.$offset})};var _=function(){function g(t){this.$L=M(t.locale,null,true),this.parse(t),this.$x=this.$x||t.x||{},this[k]=true}var p=g.prototype;return p.parse=function(t){this.$d=function(t){var a=t.date,r=t.utc;if(null===a)return new Date(NaN);if(j.u(a))return new Date;if(a instanceof Date)return new Date(a);if("string"==typeof a&&!/Z$/i.test(a)){var i=a.match(f);if(i){var e=i[2]-1||0,n=(i[7]||"0").substring(0,3);return r?new Date(Date.UTC(i[1],e,i[3]||1,i[4]||0,i[5]||0,i[6]||0,n)):new Date(i[1],e,i[3]||1,i[4]||0,i[5]||0,i[6]||0,n)}}return new Date(a)}(t),this.init()},p.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},p.$utils=function(){return j},p.isValid=function(){return!(this.$d.toString()===l)},p.isSame=function(t,a){var r=x(t);return this.startOf(a)<=r&&r<=this.endOf(a)},p.isAfter=function(t,a){return x(t)<this.startOf(a)},p.isBefore=function(t,a){return this.endOf(a)<x(t)},p.$g=function(t,a,r){return j.u(t)?this[a]:this.set(r,t)},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this.$d.getTime()},p.startOf=function(t,a){var r=this,i=!!j.u(a)||a,m=j.p(t),l=function(t,a){var e=j.w(r.$u?Date.UTC(r.$y,a,t):new Date(r.$y,a,t),r);return i?e:e.endOf(s)},f=function(t,a){return j.w(r.toDate()[t].apply(r.toDate("s"),(i?[0,0,0,0]:[23,59,59,999]).slice(a)),r)},v=this.$W,g=this.$M,p=this.$D,b="set"+(this.$u?"UTC":"");switch(m){case d:return i?l(1,0):l(31,11);case u:return i?l(1,g):l(0,g+1);case c:var y=this.$locale().weekStart||0,$=(v<y?v+7:v)-y;return l(i?p-$:p+(6-$),g);case s:case h:return f(b+"Hours",0);case o:return f(b+"Minutes",1);case n:return f(b+"Seconds",2);case e:return f(b+"Milliseconds",3);default:return this.clone()}},p.endOf=function(t){return this.startOf(t,false)},p.$set=function(t,a){var r,c=j.p(t),m="set"+(this.$u?"UTC":""),l=(r={},r[s]=m+"Date",r[h]=m+"Date",r[u]=m+"Month",r[d]=m+"FullYear",r[o]=m+"Hours",r[n]=m+"Minutes",r[e]=m+"Seconds",r[i]=m+"Milliseconds",r)[c],f=c===s?this.$D+(a-this.$W):a;if(c===u||c===d){var v=this.clone().set(h,1);v.$d[l](f),v.init(),this.$d=v.set(h,Math.min(this.$D,v.daysInMonth())).$d}else l&&this.$d[l](f);return this.init(),this},p.set=function(t,a){return this.clone().$set(t,a)},p.get=function(t){return this[j.p(t)]()},p.add=function(i,m){var h,l=this;i=Number(i);var f=j.p(m),v=function(t){var a=x(l);return j.w(a.date(a.date()+Math.round(t*i)),l)};if(f===u)return this.set(u,this.$M+i);if(f===d)return this.set(d,this.$y+i);if(f===s)return v(1);if(f===c)return v(7);var g=(h={},h[n]=a,h[o]=r,h[e]=t,h)[f]||1,p=this.$d.getTime()+i*g;return j.w(p,this)},p.subtract=function(t,a){return this.add(-1*t,a)},p.format=function(t){var a=this,r=this.$locale();if(!this.isValid())return r.invalidDate||l;var i=t||"YYYY-MM-DDTHH:mm:ssZ",e=j.z(this),n=this.$H,o=this.$m,s=this.$M,c=r.weekdays,u=r.months,m=r.meridiem,d=function(t,r,e,n){return t&&(t[r]||t(a,i))||e[r].slice(0,n)},h=function(t){return j.s(n%12||12,t,"0")},f=m||function(t,a,r){var i=t<12?"AM":"PM";return r?i.toLowerCase():i};return i.replace(v,(function(t,i){return i||function(t){switch(t){case"YY":return String(a.$y).slice(-2);case"YYYY":return j.s(a.$y,4,"0");case"M":return s+1;case"MM":return j.s(s+1,2,"0");case"MMM":return d(r.monthsShort,s,u,3);case"MMMM":return d(u,s);case"D":return a.$D;case"DD":return j.s(a.$D,2,"0");case"d":return String(a.$W);case"dd":return d(r.weekdaysMin,a.$W,c,2);case"ddd":return d(r.weekdaysShort,a.$W,c,3);case"dddd":return c[a.$W];case"H":return String(n);case"HH":return j.s(n,2,"0");case"h":return h(1);case"hh":return h(2);case"a":return f(n,o,true);case"A":return f(n,o,false);case"m":return String(o);case"mm":return j.s(o,2,"0");case"s":return String(a.$s);case"ss":return j.s(a.$s,2,"0");case"SSS":return j.s(a.$ms,3,"0");case"Z":return e}return null}(t)||e.replace(":","")}))},p.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},p.diff=function(i,h,l){var f,v=this,g=j.p(h),p=x(i),b=(p.utcOffset()-this.utcOffset())*a,y=this-p,$=function(){return j.m(v,p)};switch(g){case d:f=$()/12;break;case u:f=$();break;case m:f=$()/3;break;case c:f=(y-b)/6048e5;break;case s:f=(y-b)/864e5;break;case o:f=y/r;break;case n:f=y/a;break;case e:f=y/t;break;default:f=y}return l?f:j.a(f)},p.daysInMonth=function(){return this.endOf(u).$D},p.$locale=function(){return $[this.$L]},p.locale=function(t,a){if(!t)return this.$L;var r=this.clone(),i=M(t,a,true);return i&&(r.$L=i),r},p.clone=function(){return j.w(this.$d,this)},p.toDate=function(){return new Date(this.valueOf())},p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toISOString=function(){return this.$d.toISOString()},p.toString=function(){return this.$d.toUTCString()},g}(),D=_.prototype;return x.prototype=D,[["$ms",i],["$s",e],["$m",n],["$H",o],["$W",s],["$M",u],["$y",d],["$D",h]].forEach((function(t){D[t[1]]=function(a){return this.$g(a,t[0],t[1])}})),x.extend=function(t,a){return t.$i||(t(a,_,x),t.$i=true),x},x.locale=M,x.isDayjs=w,x.unix=function(t){return x(1e3*t)},x.en=$[y],x.Ls=$,x.p={},x}))})(dayjs_min$1);return dayjs_min$1.exports}var dayjs_minExports=requireDayjs_min();var dayjs=getDefaultExportFromCjs(dayjs_minExports);var dismiss$3="Κλείσιμο";var future$3="σε %s";var past$3="πριν από %s";var s$3="λίγα δευτ.";var m$3="1 λεπτό";var mm$3="%d λεπτά";var h$3="1 ώρα";var hh$3="%d ώρες";var d$3="1 ημέρα";var dd$3="%d ημέρες";var M$3="1 μήνας";var MM$3="%d μήνες";var y$3="1 έτος";var yy$3="%d έτη";var localeEl={dismiss:dismiss$3,future:future$3,past:past$3,s:s$3,m:m$3,mm:mm$3,h:h$3,hh:hh$3,d:d$3,dd:dd$3,M:M$3,MM:MM$3,y:y$3,yy:yy$3};var dismiss$2="Close";var future$2="in %s";var past$2="%s ago";var s$2="few sec";var m$2="1 min";var mm$2="%d mins";var h$2="1 hour";var hh$2="%d hours";var d$2="1 day";var dd$2="%d days";var M$2="1 month";var MM$2="%d months";var y$2="1 year";var yy$2="%d years";var localeEn={dismiss:dismiss$2,future:future$2,past:past$2,s:s$2,m:m$2,mm:mm$2,h:h$2,hh:hh$2,d:d$2,dd:dd$2,M:M$2,MM:MM$2,y:y$2,yy:yy$2};var dismiss$1="Cerrar";var future$1="en %s";var past$1="hace %s";var s$1="pocos seg";var m$1="1 min";var mm$1="%d mins";var h$1="1 hora";var hh$1="%d horas";var d$1="1 día";var dd$1="%d días";var M$1="1 mes";var MM$1="%d meses";var y$1="1 año";var yy$1="%d años";var localeEs={dismiss:dismiss$1,future:future$1,past:past$1,s:s$1,m:m$1,mm:mm$1,h:h$1,hh:hh$1,d:d$1,dd:dd$1,M:M$1,MM:MM$1,y:y$1,yy:yy$1};var dismiss="Chiudi";var future="tra %s";var past="%s fa";var s="pochi sec";var m="1 min";var mm="%d min";var h="1 ora";var hh="%d ore";var d="1 giorno";var dd="%d giorni";var M="1 mese";var MM="%d mesi";var y="1 anno";var yy="%d anni";var localeIt={dismiss:dismiss,future:future,past:past,s:s,m:m,mm:mm,h:h,hh:hh,d:d,dd:dd,M:M,MM:MM,y:y,yy:yy};var relativeTime$2={exports:{}};var relativeTime$1=relativeTime$2.exports;var hasRequiredRelativeTime;function requireRelativeTime(){if(hasRequiredRelativeTime)return relativeTime$2.exports;hasRequiredRelativeTime=1;(function(t,a){!function(a,r){t.exports=r()}(relativeTime$1,(function(){return function(t,a,r){t=t||{};var i=a.prototype,e={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function n(t,a,r,e){return i.fromToBase(t,a,r,e)}r.en.relativeTime=e,i.fromToBase=function(a,i,n,o,s){for(var c,u,m,d=n.$locale().relativeTime||e,h=t.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],l=h.length,f=0;f<l;f+=1){var v=h[f];v.d&&(c=o?r(a).diff(n,v.d,true):n.diff(a,v.d,true));var g=(t.rounding||Math.round)(Math.abs(c));if(m=c>0,g<=v.r||!v.r){g<=1&&f>0&&(v=h[f-1]);var p=d[v.l];s&&(g=s(""+g)),u="string"==typeof p?p.replace("%d",g):p(g,i,v.l,m);break}}if(i)return u;var b=m?d.future:d.past;return"function"==typeof b?b(u):b.replace("%s",u)},i.to=function(t,a){return n(t,a,this,true)},i.from=function(t,a){return n(t,a,this)};var o=function(t){return t.$u?r.utc():r()};i.toNow=function(t){return this.to(o(this),t)},i.fromNow=function(t){return this.from(o(this),t)}}}))})(relativeTime$2);return relativeTime$2.exports}var relativeTimeExports=requireRelativeTime();var relativeTime=getDefaultExportFromCjs(relativeTimeExports);var mdsPushNotificationItemCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-avatar,mds-button,mds-img,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-push-notification-item-duration:var(--duration-300,.3s);--private-push-notification-item-duration:var(--mds-push-notification-item-duration,var(--duration-300,.3s));--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-push-notification-item-message-line-clamp:2;--mds-push-notification-item-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-push-notification-item-subject-line-clamp:1;--mds-push-notification-item-timing-function:var(--ease-in-out-quint,cubic-bezier(.86,0,.07,1));background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));box-shadow:var(--mds-push-notification-item-shadow);color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));corner-shape:var(--magma-corner-shape,squircle);align-items:flex-start;display:flex;gap:calc(var(--spacing,.0025rem)*400);max-width:calc(var(--spacing,.0025rem)*8000);min-width:calc(var(--spacing,.0025rem)*7200);padding:calc(var(--spacing,.0025rem)*400);pointer-events:auto;position:relative;transition-duration:var(--private-push-notification-item-duration);transition-property:background-color,box-shadow,color,margin,transform;transition-timing-function:var(--mds-push-notification-item-timing-function)}:host([deletable]:not([deletable=false])){padding-right:calc(var(--spacing,.0025rem)*800)}.content{display:grid;flex-grow:1}.actions{display:flex;flex-wrap:wrap;gap:calc(var(--spacing,.0025rem)*200);min-width:1px;padding-top:calc(var(--spacing,.0025rem)*200)}.actions--hidden,.badge--hidden{display:none}.avatar,.picture{flex-shrink:0}.picture{border-radius:var(--magma-radius-3xs,var(--radius-squircle-3xs,6px));box-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);corner-shape:var(--magma-corner-shape,squircle);max-width:calc(var(--spacing,.0025rem)*1200);width:100%}.close-button{opacity:0;padding:calc(var(--spacing,.0025rem)*150);position:absolute;right:0;top:0;transition-duration:var(--default-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,rotate,scale,transform,translate,width;transition-timing-function:var(--default-transition-timing-function)}:host(:hover) .close-button{opacity:1}.close-button:focus-visible,.close-button:hover{fill:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));opacity:1}.header{align-items:baseline;display:flex;gap:calc(var(--spacing,.0025rem)*100);justify-content:space-between;min-width:0;overflow:hidden;text-overflow:ellipsis}.infos{display:flex;flex-direction:column}.time{flex-shrink:0;margin-right:calc(var(--spacing,.0025rem)*100);white-space:nowrap}.subject{--mds-text-line-clamp:var(--mds-push-notification-item-subject-line-clamp,1);line-height:var(--leading-sm,1.25rem)}.message,.subject{text-overflow:ellipsis}.message{--mds-text-line-clamp:var(--mds-push-notification-item-message-line-clamp,2)}.avatar{background-color:var(--mds-push-notification-item-icon-background-color,#0000);border-radius:var(--magma-radius-full,var(--radius-full,1000px));fill:var(--mds-push-notification-item-icon-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));height:calc(var(--spacing,.0025rem)*900);width:calc(var(--spacing,.0025rem)*900)}.avatar::part(svg){width:calc(var(--spacing,.0025rem)*600)}:host([src]) .avatar{background-color:#0000}:host([icon]) .avatar::part(wrapper){padding:calc(var(--spacing,.0025rem)*150)}: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-push-notification-item-duration:0s}:host([pref-contrast=more]){--mds-push-notification-item-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)) inset;color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([variant=primary][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-push-notification-item-icon-color:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240)))}:host([variant=primary]),:host([variant=primary][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231)));--mds-push-notification-item-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)))}:host([variant=orange][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orange-05,213 90 5));--mds-push-notification-item-icon-color:rgb(var(--label-orange-10,254 233 219))}:host([variant=orange]),:host([variant=orange][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orange-09,253 217 191));--mds-push-notification-item-icon-color:rgb(var(--label-orange-05,213 90 5))}:host([variant=amaranth][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-amaranth-05,242 37 72));--mds-push-notification-item-icon-color:rgb(var(--label-amaranth-10,254 232 236))}:host([variant=amaranth]),:host([variant=amaranth][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-amaranth-09,253 214 221));--mds-push-notification-item-icon-color:rgb(var(--label-amaranth-05,242 37 72))}:host([variant=orchid][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orchid-05,233 44 137));--mds-push-notification-item-icon-color:rgb(var(--label-orchid-10,253 231 242))}:host([variant=orchid]),:host([variant=orchid][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orchid-09,251 213 232));--mds-push-notification-item-icon-color:rgb(var(--label-orchid-05,233 44 137))}:host([variant=purple][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-purple-05,168 86 247));--mds-push-notification-item-icon-color:rgb(var(--label-purple-10,244 233 254))}:host([variant=purple]),:host([variant=purple][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-purple-09,235 216 253));--mds-push-notification-item-icon-color:rgb(var(--label-purple-05,168 86 247))}:host([variant=red][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-red-05,230 66 66));--mds-push-notification-item-icon-color:rgb(var(--label-red-10,252 233 233))}:host([variant=red]),:host([variant=red][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-red-09,250 215 215));--mds-push-notification-item-icon-color:rgb(var(--label-red-05,230 66 66))}:host([variant=violet][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-violet-05,145 100 246));--mds-push-notification-item-icon-color:rgb(var(--label-violet-10,240 234 254))}:host([variant=violet]),:host([variant=violet][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-violet-09,229 218 253));--mds-push-notification-item-icon-color:rgb(var(--label-violet-05,145 100 246))}:host([variant=blue][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-blue-05,90 117 249));--mds-push-notification-item-icon-color:rgb(var(--label-blue-10,233 236 254))}:host([variant=blue]),:host([variant=blue][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-blue-09,216 222 254));--mds-push-notification-item-icon-color:rgb(var(--label-blue-05,90 117 249))}:host([variant=sky][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-sky-05,12 136 193));--mds-push-notification-item-icon-color:rgb(var(--label-sky-10,217 241 253))}:host([variant=sky]),:host([variant=sky][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-sky-09,185 231 251));--mds-push-notification-item-icon-color:rgb(var(--label-sky-05,12 136 193))}:host([variant=aqua][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-aqua-05,5 141 165));--mds-push-notification-item-icon-color:rgb(var(--label-aqua-10,199 245 253))}:host([variant=aqua]),:host([variant=aqua][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-aqua-09,151 237 252));--mds-push-notification-item-icon-color:rgb(var(--label-aqua-05,5 141 165))}:host([variant=green][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-green-05,26 148 71));--mds-push-notification-item-icon-color:rgb(var(--label-green-10,206 247 221))}:host([variant=green]),:host([variant=green][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-green-09,165 240 193));--mds-push-notification-item-icon-color:rgb(var(--label-green-05,26 148 71))}:host([variant=lime][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-lime-05,93 143 15));--mds-push-notification-item-icon-color:rgb(var(--label-lime-10,219 247 178))}:host([variant=lime]),:host([variant=lime][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-lime-09,189 239 111));--mds-push-notification-item-icon-color:rgb(var(--label-lime-05,93 143 15))}:host([variant=yellow][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-yellow-05,161 124 6));--mds-push-notification-item-icon-color:rgb(var(--label-yellow-10,253 236 186))}:host([variant=yellow]),:host([variant=yellow][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-yellow-09,251 221 131));--mds-push-notification-item-icon-color:rgb(var(--label-yellow-05,161 124 6))}:host([variant=error][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-push-notification-item-icon-color:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=error]),:host([variant=error][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-push-notification-item-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=warning][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-push-notification-item-icon-color:rgb(var(--magma-warning-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=warning]),:host([variant=warning][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-push-notification-item-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([variant=success][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-push-notification-item-icon-color:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=success]),:host([variant=success][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-push-notification-item-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=info][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-push-notification-item-icon-color:rgb(var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=info]),:host([variant=info][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-push-notification-item-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}@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-push-notification-item-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-push-notification-item-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)) inset;color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}"};var MdsPushNotificationItem=/** @class */function(){function t(t){var a=this;registerInstance(this,t);this.closedEvent=createEvent(this,"mdsPushNotificationItemClose",7);this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
|
|
1
|
+
import{r as registerInstance,d as createEvent,h as h$4,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{g as getDefaultExportFromCjs}from"./_commonjsHelpers-B85MJLTf.js";import{m as miBaselineCancel}from"./cancel-BJ8rpzfj.js";import{h as hasChildWithSlot}from"./slot-AEckDMXh.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{L as Locale}from"./locale-B6cOkl4I.js";import{s as sanitizeISO8601Date}from"./date-CACEYk42.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";var dayjs_min$1={exports:{}};var dayjs_min=dayjs_min$1.exports;var hasRequiredDayjs_min;function requireDayjs_min(){if(hasRequiredDayjs_min)return dayjs_min$1.exports;hasRequiredDayjs_min=1;(function(t,a){!function(a,r){t.exports=r()}(dayjs_min,(function(){var t=1e3,a=6e4,r=36e5,i="millisecond",e="second",n="minute",o="hour",s="day",c="week",u="month",m="quarter",h="year",d="date",l="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var a=["th","st","nd","rd"],r=t%100;return"["+t+(a[(r-20)%10]||a[r]||a[0])+"]"}},p=function(t,a,r){var i=String(t);return!i||i.length>=a?t:""+Array(a+1-i.length).join(r)+t},b={s:p,z:function(t){var a=-t.utcOffset(),r=Math.abs(a),i=Math.floor(r/60),e=r%60;return(a<=0?"+":"-")+p(i,2,"0")+":"+p(e,2,"0")},m:function t(a,r){if(a.date()<r.date())return-t(r,a);var i=12*(r.year()-a.year())+(r.month()-a.month()),e=a.clone().add(i,u),n=r-e<0,o=a.clone().add(i+(n?-1:1),u);return+(-(i+(r-e)/(n?e-o:o-e))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:u,y:h,w:c,d:s,D:d,h:o,m:n,s:e,ms:i,Q:m}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},y="en",$={};$[y]=g;var k="$isDayjsObject",w=function(t){return t instanceof _||!(!t||!t[k])},M=function t(a,r,i){var e;if(!a)return y;if("string"==typeof a){var n=a.toLowerCase();$[n]&&(e=n),r&&($[n]=r,e=n);var o=a.split("-");if(!e&&o.length>1)return t(o[0])}else{var s=a.name;$[s]=a,e=s}return!i&&e&&(y=e),e||!i&&y},x=function(t,a){if(w(t))return t.clone();var r="object"==typeof a?a:{};return r.date=t,r.args=arguments,new _(r)},j=b;j.l=M,j.i=w,j.w=function(t,a){return x(t,{locale:a.$L,utc:a.$u,x:a.$x,$offset:a.$offset})};var _=function(){function g(t){this.$L=M(t.locale,null,true),this.parse(t),this.$x=this.$x||t.x||{},this[k]=true}var p=g.prototype;return p.parse=function(t){this.$d=function(t){var a=t.date,r=t.utc;if(null===a)return new Date(NaN);if(j.u(a))return new Date;if(a instanceof Date)return new Date(a);if("string"==typeof a&&!/Z$/i.test(a)){var i=a.match(f);if(i){var e=i[2]-1||0,n=(i[7]||"0").substring(0,3);return r?new Date(Date.UTC(i[1],e,i[3]||1,i[4]||0,i[5]||0,i[6]||0,n)):new Date(i[1],e,i[3]||1,i[4]||0,i[5]||0,i[6]||0,n)}}return new Date(a)}(t),this.init()},p.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},p.$utils=function(){return j},p.isValid=function(){return!(this.$d.toString()===l)},p.isSame=function(t,a){var r=x(t);return this.startOf(a)<=r&&r<=this.endOf(a)},p.isAfter=function(t,a){return x(t)<this.startOf(a)},p.isBefore=function(t,a){return this.endOf(a)<x(t)},p.$g=function(t,a,r){return j.u(t)?this[a]:this.set(r,t)},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this.$d.getTime()},p.startOf=function(t,a){var r=this,i=!!j.u(a)||a,m=j.p(t),l=function(t,a){var e=j.w(r.$u?Date.UTC(r.$y,a,t):new Date(r.$y,a,t),r);return i?e:e.endOf(s)},f=function(t,a){return j.w(r.toDate()[t].apply(r.toDate("s"),(i?[0,0,0,0]:[23,59,59,999]).slice(a)),r)},v=this.$W,g=this.$M,p=this.$D,b="set"+(this.$u?"UTC":"");switch(m){case h:return i?l(1,0):l(31,11);case u:return i?l(1,g):l(0,g+1);case c:var y=this.$locale().weekStart||0,$=(v<y?v+7:v)-y;return l(i?p-$:p+(6-$),g);case s:case d:return f(b+"Hours",0);case o:return f(b+"Minutes",1);case n:return f(b+"Seconds",2);case e:return f(b+"Milliseconds",3);default:return this.clone()}},p.endOf=function(t){return this.startOf(t,false)},p.$set=function(t,a){var r,c=j.p(t),m="set"+(this.$u?"UTC":""),l=(r={},r[s]=m+"Date",r[d]=m+"Date",r[u]=m+"Month",r[h]=m+"FullYear",r[o]=m+"Hours",r[n]=m+"Minutes",r[e]=m+"Seconds",r[i]=m+"Milliseconds",r)[c],f=c===s?this.$D+(a-this.$W):a;if(c===u||c===h){var v=this.clone().set(d,1);v.$d[l](f),v.init(),this.$d=v.set(d,Math.min(this.$D,v.daysInMonth())).$d}else l&&this.$d[l](f);return this.init(),this},p.set=function(t,a){return this.clone().$set(t,a)},p.get=function(t){return this[j.p(t)]()},p.add=function(i,m){var d,l=this;i=Number(i);var f=j.p(m),v=function(t){var a=x(l);return j.w(a.date(a.date()+Math.round(t*i)),l)};if(f===u)return this.set(u,this.$M+i);if(f===h)return this.set(h,this.$y+i);if(f===s)return v(1);if(f===c)return v(7);var g=(d={},d[n]=a,d[o]=r,d[e]=t,d)[f]||1,p=this.$d.getTime()+i*g;return j.w(p,this)},p.subtract=function(t,a){return this.add(-1*t,a)},p.format=function(t){var a=this,r=this.$locale();if(!this.isValid())return r.invalidDate||l;var i=t||"YYYY-MM-DDTHH:mm:ssZ",e=j.z(this),n=this.$H,o=this.$m,s=this.$M,c=r.weekdays,u=r.months,m=r.meridiem,h=function(t,r,e,n){return t&&(t[r]||t(a,i))||e[r].slice(0,n)},d=function(t){return j.s(n%12||12,t,"0")},f=m||function(t,a,r){var i=t<12?"AM":"PM";return r?i.toLowerCase():i};return i.replace(v,(function(t,i){return i||function(t){switch(t){case"YY":return String(a.$y).slice(-2);case"YYYY":return j.s(a.$y,4,"0");case"M":return s+1;case"MM":return j.s(s+1,2,"0");case"MMM":return h(r.monthsShort,s,u,3);case"MMMM":return h(u,s);case"D":return a.$D;case"DD":return j.s(a.$D,2,"0");case"d":return String(a.$W);case"dd":return h(r.weekdaysMin,a.$W,c,2);case"ddd":return h(r.weekdaysShort,a.$W,c,3);case"dddd":return c[a.$W];case"H":return String(n);case"HH":return j.s(n,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return f(n,o,true);case"A":return f(n,o,false);case"m":return String(o);case"mm":return j.s(o,2,"0");case"s":return String(a.$s);case"ss":return j.s(a.$s,2,"0");case"SSS":return j.s(a.$ms,3,"0");case"Z":return e}return null}(t)||e.replace(":","")}))},p.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},p.diff=function(i,d,l){var f,v=this,g=j.p(d),p=x(i),b=(p.utcOffset()-this.utcOffset())*a,y=this-p,$=function(){return j.m(v,p)};switch(g){case h:f=$()/12;break;case u:f=$();break;case m:f=$()/3;break;case c:f=(y-b)/6048e5;break;case s:f=(y-b)/864e5;break;case o:f=y/r;break;case n:f=y/a;break;case e:f=y/t;break;default:f=y}return l?f:j.a(f)},p.daysInMonth=function(){return this.endOf(u).$D},p.$locale=function(){return $[this.$L]},p.locale=function(t,a){if(!t)return this.$L;var r=this.clone(),i=M(t,a,true);return i&&(r.$L=i),r},p.clone=function(){return j.w(this.$d,this)},p.toDate=function(){return new Date(this.valueOf())},p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toISOString=function(){return this.$d.toISOString()},p.toString=function(){return this.$d.toUTCString()},g}(),D=_.prototype;return x.prototype=D,[["$ms",i],["$s",e],["$m",n],["$H",o],["$W",s],["$M",u],["$y",h],["$D",d]].forEach((function(t){D[t[1]]=function(a){return this.$g(a,t[0],t[1])}})),x.extend=function(t,a){return t.$i||(t(a,_,x),t.$i=true),x},x.locale=M,x.isDayjs=w,x.unix=function(t){return x(1e3*t)},x.en=$[y],x.Ls=$,x.p={},x}))})(dayjs_min$1);return dayjs_min$1.exports}var dayjs_minExports=requireDayjs_min();var dayjs=getDefaultExportFromCjs(dayjs_minExports);var dismiss$3="Κλείσιμο";var future$3="σε %s";var past$3="πριν από %s";var s$3="λίγα δευτ.";var m$3="1 λεπτό";var mm$3="%d λεπτά";var h$3="1 ώρα";var hh$3="%d ώρες";var d$3="1 ημέρα";var dd$3="%d ημέρες";var M$3="1 μήνας";var MM$3="%d μήνες";var y$3="1 έτος";var yy$3="%d έτη";var localeEl={dismiss:dismiss$3,future:future$3,past:past$3,s:s$3,m:m$3,mm:mm$3,h:h$3,hh:hh$3,d:d$3,dd:dd$3,M:M$3,MM:MM$3,y:y$3,yy:yy$3};var dismiss$2="Close";var future$2="in %s";var past$2="%s ago";var s$2="few sec";var m$2="1 min";var mm$2="%d mins";var h$2="1 hour";var hh$2="%d hours";var d$2="1 day";var dd$2="%d days";var M$2="1 month";var MM$2="%d months";var y$2="1 year";var yy$2="%d years";var localeEn={dismiss:dismiss$2,future:future$2,past:past$2,s:s$2,m:m$2,mm:mm$2,h:h$2,hh:hh$2,d:d$2,dd:dd$2,M:M$2,MM:MM$2,y:y$2,yy:yy$2};var dismiss$1="Cerrar";var future$1="en %s";var past$1="hace %s";var s$1="pocos seg";var m$1="1 min";var mm$1="%d mins";var h$1="1 hora";var hh$1="%d horas";var d$1="1 día";var dd$1="%d días";var M$1="1 mes";var MM$1="%d meses";var y$1="1 año";var yy$1="%d años";var localeEs={dismiss:dismiss$1,future:future$1,past:past$1,s:s$1,m:m$1,mm:mm$1,h:h$1,hh:hh$1,d:d$1,dd:dd$1,M:M$1,MM:MM$1,y:y$1,yy:yy$1};var dismiss="Chiudi";var future="tra %s";var past="%s fa";var s="pochi sec";var m="1 min";var mm="%d min";var h="1 ora";var hh="%d ore";var d="1 giorno";var dd="%d giorni";var M="1 mese";var MM="%d mesi";var y="1 anno";var yy="%d anni";var localeIt={dismiss:dismiss,future:future,past:past,s:s,m:m,mm:mm,h:h,hh:hh,d:d,dd:dd,M:M,MM:MM,y:y,yy:yy};var relativeTime$2={exports:{}};var relativeTime$1=relativeTime$2.exports;var hasRequiredRelativeTime;function requireRelativeTime(){if(hasRequiredRelativeTime)return relativeTime$2.exports;hasRequiredRelativeTime=1;(function(t,a){!function(a,r){t.exports=r()}(relativeTime$1,(function(){return function(t,a,r){t=t||{};var i=a.prototype,e={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function n(t,a,r,e){return i.fromToBase(t,a,r,e)}r.en.relativeTime=e,i.fromToBase=function(a,i,n,o,s){for(var c,u,m,h=n.$locale().relativeTime||e,d=t.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],l=d.length,f=0;f<l;f+=1){var v=d[f];v.d&&(c=o?r(a).diff(n,v.d,true):n.diff(a,v.d,true));var g=(t.rounding||Math.round)(Math.abs(c));if(m=c>0,g<=v.r||!v.r){g<=1&&f>0&&(v=d[f-1]);var p=h[v.l];s&&(g=s(""+g)),u="string"==typeof p?p.replace("%d",g):p(g,i,v.l,m);break}}if(i)return u;var b=m?h.future:h.past;return"function"==typeof b?b(u):b.replace("%s",u)},i.to=function(t,a){return n(t,a,this,true)},i.from=function(t,a){return n(t,a,this)};var o=function(t){return t.$u?r.utc():r()};i.toNow=function(t){return this.to(o(this),t)},i.fromNow=function(t){return this.from(o(this),t)}}}))})(relativeTime$2);return relativeTime$2.exports}var relativeTimeExports=requireRelativeTime();var relativeTime=getDefaultExportFromCjs(relativeTimeExports);var mdsPushNotificationItemCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-avatar,mds-button,mds-img,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-push-notification-item-duration:var(--duration-300,.3s);--private-push-notification-item-duration:var(--mds-push-notification-item-duration,var(--duration-300,.3s));--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-push-notification-item-message-line-clamp:2;--mds-push-notification-item-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-push-notification-item-subject-line-clamp:1;--mds-push-notification-item-timing-function:var(--ease-in-out-quint,cubic-bezier(.86,0,.07,1));background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));box-shadow:var(--mds-push-notification-item-shadow);color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));corner-shape:var(--magma-corner-shape,squircle);align-items:flex-start;display:flex;gap:calc(var(--spacing,.0025rem)*400);max-width:calc(var(--spacing,.0025rem)*8000);min-width:calc(var(--spacing,.0025rem)*7200);padding:calc(var(--spacing,.0025rem)*400);pointer-events:auto;position:relative;transition-duration:var(--private-push-notification-item-duration);transition-property:background-color,box-shadow,color,margin,transform;transition-timing-function:var(--mds-push-notification-item-timing-function)}:host([deletable]:not([deletable=false])){padding-right:calc(var(--spacing,.0025rem)*800)}.content{display:grid;flex-grow:1}.actions{display:flex;flex-wrap:wrap;gap:calc(var(--spacing,.0025rem)*200);min-width:1px;padding-top:calc(var(--spacing,.0025rem)*200)}.actions--hidden,.badge--hidden{display:none}.avatar,.picture{flex-shrink:0}.picture{border-radius:var(--magma-radius-3xs,var(--radius-squircle-3xs,6px));box-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);corner-shape:var(--magma-corner-shape,squircle);max-width:calc(var(--spacing,.0025rem)*1200);width:100%}.close-button{opacity:0;padding:calc(var(--spacing,.0025rem)*150);position:absolute;right:0;top:0;transition-duration:var(--default-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,rotate,scale,transform,translate,width;transition-timing-function:var(--default-transition-timing-function)}:host(:hover) .close-button{opacity:1}.close-button:focus-visible,.close-button:hover{fill:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));opacity:1}.header{align-items:baseline;display:flex;gap:calc(var(--spacing,.0025rem)*100);justify-content:space-between;min-width:0;overflow:hidden;text-overflow:ellipsis}.infos{display:flex;flex-direction:column}.time{flex-shrink:0;margin-right:calc(var(--spacing,.0025rem)*100);white-space:nowrap}.subject{--mds-text-line-clamp:var(--mds-push-notification-item-subject-line-clamp,1);line-height:var(--leading-sm,1.25rem)}.message,.subject{text-overflow:ellipsis}.message{--mds-text-line-clamp:var(--mds-push-notification-item-message-line-clamp,2)}.avatar{background-color:var(--mds-push-notification-item-icon-background-color,#0000);border-radius:var(--magma-radius-full,var(--radius-full,1000px));fill:var(--mds-push-notification-item-icon-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));height:calc(var(--spacing,.0025rem)*900);width:calc(var(--spacing,.0025rem)*900)}.avatar::part(svg){width:calc(var(--spacing,.0025rem)*600)}:host([src]) .avatar{background-color:#0000}:host([icon]) .avatar::part(wrapper){padding:calc(var(--spacing,.0025rem)*150)}: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-push-notification-item-duration:0s}:host([pref-contrast=more]){--mds-push-notification-item-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)) inset;color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([variant=primary][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-push-notification-item-icon-color:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240)))}:host([variant=primary]),:host([variant=primary][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231)));--mds-push-notification-item-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)))}:host([variant=orange][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orange-05,213 90 5));--mds-push-notification-item-icon-color:rgb(var(--label-orange-10,254 233 219))}:host([variant=orange]),:host([variant=orange][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orange-09,253 217 191));--mds-push-notification-item-icon-color:rgb(var(--label-orange-05,213 90 5))}:host([variant=amaranth][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-amaranth-05,242 37 72));--mds-push-notification-item-icon-color:rgb(var(--label-amaranth-10,254 232 236))}:host([variant=amaranth]),:host([variant=amaranth][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-amaranth-09,253 214 221));--mds-push-notification-item-icon-color:rgb(var(--label-amaranth-05,242 37 72))}:host([variant=orchid][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orchid-05,233 44 137));--mds-push-notification-item-icon-color:rgb(var(--label-orchid-10,253 231 242))}:host([variant=orchid]),:host([variant=orchid][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orchid-09,251 213 232));--mds-push-notification-item-icon-color:rgb(var(--label-orchid-05,233 44 137))}:host([variant=purple][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-purple-05,168 86 247));--mds-push-notification-item-icon-color:rgb(var(--label-purple-10,244 233 254))}:host([variant=purple]),:host([variant=purple][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-purple-09,235 216 253));--mds-push-notification-item-icon-color:rgb(var(--label-purple-05,168 86 247))}:host([variant=red][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-red-05,230 66 66));--mds-push-notification-item-icon-color:rgb(var(--label-red-10,252 233 233))}:host([variant=red]),:host([variant=red][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-red-09,250 215 215));--mds-push-notification-item-icon-color:rgb(var(--label-red-05,230 66 66))}:host([variant=violet][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-violet-05,145 100 246));--mds-push-notification-item-icon-color:rgb(var(--label-violet-10,240 234 254))}:host([variant=violet]),:host([variant=violet][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-violet-09,229 218 253));--mds-push-notification-item-icon-color:rgb(var(--label-violet-05,145 100 246))}:host([variant=blue][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-blue-05,90 117 249));--mds-push-notification-item-icon-color:rgb(var(--label-blue-10,233 236 254))}:host([variant=blue]),:host([variant=blue][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-blue-09,216 222 254));--mds-push-notification-item-icon-color:rgb(var(--label-blue-05,90 117 249))}:host([variant=sky][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-sky-05,12 136 193));--mds-push-notification-item-icon-color:rgb(var(--label-sky-10,217 241 253))}:host([variant=sky]),:host([variant=sky][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-sky-09,185 231 251));--mds-push-notification-item-icon-color:rgb(var(--label-sky-05,12 136 193))}:host([variant=aqua][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-aqua-05,5 141 165));--mds-push-notification-item-icon-color:rgb(var(--label-aqua-10,199 245 253))}:host([variant=aqua]),:host([variant=aqua][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-aqua-09,151 237 252));--mds-push-notification-item-icon-color:rgb(var(--label-aqua-05,5 141 165))}:host([variant=green][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-green-05,26 148 71));--mds-push-notification-item-icon-color:rgb(var(--label-green-10,206 247 221))}:host([variant=green]),:host([variant=green][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-green-09,165 240 193));--mds-push-notification-item-icon-color:rgb(var(--label-green-05,26 148 71))}:host([variant=lime][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-lime-05,93 143 15));--mds-push-notification-item-icon-color:rgb(var(--label-lime-10,219 247 178))}:host([variant=lime]),:host([variant=lime][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-lime-09,189 239 111));--mds-push-notification-item-icon-color:rgb(var(--label-lime-05,93 143 15))}:host([variant=yellow][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-yellow-05,161 124 6));--mds-push-notification-item-icon-color:rgb(var(--label-yellow-10,253 236 186))}:host([variant=yellow]),:host([variant=yellow][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-yellow-09,251 221 131));--mds-push-notification-item-icon-color:rgb(var(--label-yellow-05,161 124 6))}:host([variant=error][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-push-notification-item-icon-color:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=error]),:host([variant=error][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-push-notification-item-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=warning][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-push-notification-item-icon-color:rgb(var(--magma-warning-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=warning]),:host([variant=warning][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-push-notification-item-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([variant=success][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-push-notification-item-icon-color:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=success]),:host([variant=success][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-push-notification-item-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=info][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-push-notification-item-icon-color:rgb(var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=info]),:host([variant=info][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-push-notification-item-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}@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-push-notification-item-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-push-notification-item-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)) inset;color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}"};var MdsPushNotificationItem=/** @class */function(){function t(t){var a=this;registerInstance(this,t);this.closedEvent=createEvent(this,"mdsPushNotificationItemClose",7);this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
|
|
2
2
|
/**
|
|
3
3
|
* Specifies how the notification date is written: `timeago` shows the time passed, any other
|
|
4
4
|
* value is the Day.js format of a static date
|
|
@@ -17,4 +17,4 @@ import{r as registerInstance,d as createEvent,h as h$4,e as Host,g as getElement
|
|
|
17
17
|
* Specifies the color tone of the component
|
|
18
18
|
*/this.tone="weak";this.onClickClose=function(t){t.stopPropagation();
|
|
19
19
|
// the detail the event declares: it was emitted empty
|
|
20
|
-
a.closedEvent.emit({id:a.host.id})};this.onSlotChange=function(){a.hasActions=hasChildWithSlot(a.host,"action");a.hasBadge=hasChildWithSlot(a.host,"badge")}}t.prototype.componentDidLoad=function(){this.handleDeletableChange(this.deletable)};t.prototype.componentWillLoad=function(){var t;dayjs.extend(relativeTime);this.onSlotChange();if(this.datetime!==undefined&&this.datetime!==""){this.datetime=(t=sanitizeISO8601Date(this.datetime.toString()))!==null&&t!==void 0?t:undefined}var a={future:this.t.get("future"),past:this.t.get("past"),s:this.t.get("s"),m:this.t.get("m"),mm:this.t.get("mm"),h:this.t.get("h"),hh:this.t.get("hh"),d:this.t.get("d"),dd:this.t.get("dd"),M:this.t.get("M"),MM:this.t.get("MM"),y:this.t.get("y"),yy:this.t.get("yy")};dayjs.locale("custom-locale",{relativeTime:a})};t.prototype.handleDeletableChange=function(t){if(t===false){this.deletable=undefined}};t.prototype.render=function(){var t;return h$4(Host,{key:"
|
|
20
|
+
a.closedEvent.emit({id:a.host.id})};this.onSlotChange=function(){a.hasActions=hasChildWithSlot(a.host,"action");a.hasBadge=hasChildWithSlot(a.host,"badge")}}t.prototype.componentDidLoad=function(){this.handleDeletableChange(this.deletable)};t.prototype.componentWillLoad=function(){var t;dayjs.extend(relativeTime);this.onSlotChange();if(this.datetime!==undefined&&this.datetime!==""){this.datetime=(t=sanitizeISO8601Date(this.datetime.toString()))!==null&&t!==void 0?t:undefined}var a={future:this.t.get("future"),past:this.t.get("past"),s:this.t.get("s"),m:this.t.get("m"),mm:this.t.get("mm"),h:this.t.get("h"),hh:this.t.get("hh"),d:this.t.get("d"),dd:this.t.get("dd"),M:this.t.get("M"),MM:this.t.get("MM"),y:this.t.get("y"),yy:this.t.get("yy")};dayjs.locale("custom-locale",{relativeTime:a})};t.prototype.handleDeletableChange=function(t){if(t===false){this.deletable=undefined}};t.prototype.render=function(){var t;return h$4(Host,{key:"ea0f478fc8c11382bc9ec24d8f2ef74ae11bd73e","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},((t=this.icon)!==null&&t!==void 0?t:this.preview==="avatar")&&h$4("mds-avatar",{key:"4b2a4fb57a5206608994bf32500a8c73a02ff552",class:"avatar",icon:this.icon,initials:this.initials,part:"avatar",src:this.src,tone:this.tone,variant:this.variant}),this.src&&this.preview!=="avatar"&&h$4("mds-img",{key:"ef82c179702cc9fb5bd5a760fa6c2189bbff7a1d",class:"picture",part:"picture",src:this.src}),h$4("div",{key:"bd10e7bf12d5d505bcbefa22861b7d42b18f947c",class:"content",part:"content"},h$4("div",{key:"d5efa0dd1b57b312d50c8157042fb18e2641f37c",class:"header"},h$4("div",{key:"7f5b3840d188a60dae6f3c04953b3bfa297de2c6",class:"infos"},h$4("div",{key:"cf78827fc08c8781316a8aef3625968ea661cc2d",class:clsx("badge",!this.hasBadge&&"badge--hidden")},h$4("slot",{key:"f5d4a3ae95d8d6fa98db6256885fc667854893ae",name:"badge",onSlotchange:this.onSlotChange})),this.subject&&h$4("mds-text",{key:"e646263fe6413d6ffcfdbbb17289b08e4cc248c1",class:"subject",typography:"h6",variant:"title",truncate:"all"},this.subject)),this.datetime&&h$4("mds-text",{key:"1770b775bfe26a7dfbcff553ff54c3c8d3754856",class:"time",typography:"option"},this.dateFormat==="timeago"?dayjs(this.datetime).fromNow():dayjs(this.datetime).format(this.dateFormat))),h$4("mds-text",{key:"644471525c4110307b394f7977a9e69bb7bd9d03",class:"message",truncate:"all",typography:"caption",variant:"info"},this.message),h$4("div",{key:"524b9ec325028f435d52f0936e36121ec0226583",class:clsx("actions",!this.hasActions&&"actions--hidden"),part:"actions"},h$4("slot",{key:"08607576a386ce00442c81b9bba220df8e39d457",name:"action",onSlotchange:this.onSlotChange}))),this.deletable&&h$4("mds-button",{key:"51553fbf31d28e60bdd81472ba17af853372fe79",class:"close-button",variant:"dark",tone:"text",title:this.t.get("dismiss"),icon:miBaselineCancel,onClick:this.onClickClose}))};Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{deletable:[{handleDeletableChange:0}]}},enumerable:false,configurable:true});return t}();MdsPushNotificationItem.style=mdsPushNotificationItemCss();export{MdsPushNotificationItem as mds_push_notification_item};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(i,t,n,e){function o(i){return i instanceof n?i:new n((function(t){t(i)}))}return new(n||(n=Promise))((function(n,a){function r(i){try{c(e.next(i))}catch(i){a(i)}}function s(i){try{c(e["throw"](i))}catch(i){a(i)}}function c(i){i.done?n(i.value):o(i.value).then(r,s)}c((e=e.apply(i,t||[])).next())}))};var __generator=this&&this.__generator||function(i,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},e,o,a,r=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return r.next=s(0),r["throw"]=s(1),r["return"]=s(2),typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(i){return function(t){return c([i,t])}}function c(s){if(e)throw new TypeError("Generator is already executing.");while(r&&(r=0,s[0]&&(n=0)),n)try{if(e=1,o&&(a=s[0]&2?o["return"]:s[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,s[1])).done)return a;if(o=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;o=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1];a=s;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(s);break}if(a[2])n.ops.pop();n.trys.pop();continue}s=t.call(i,n)}catch(i){s=[6,i];o=0}finally{e=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{a as cssSizeToNumber,c as cssDurationToMilliseconds}from"./unit-CWk1SCJg.js";import{L as Locale}from"./locale-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(i,t,n,e){function o(i){return i instanceof n?i:new n((function(t){t(i)}))}return new(n||(n=Promise))((function(n,a){function r(i){try{c(e.next(i))}catch(i){a(i)}}function s(i){try{c(e["throw"](i))}catch(i){a(i)}}function c(i){i.done?n(i.value):o(i.value).then(r,s)}c((e=e.apply(i,t||[])).next())}))};var __generator=this&&this.__generator||function(i,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},e,o,a,r=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return r.next=s(0),r["throw"]=s(1),r["return"]=s(2),typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(i){return function(t){return c([i,t])}}function c(s){if(e)throw new TypeError("Generator is already executing.");while(r&&(r=0,s[0]&&(n=0)),n)try{if(e=1,o&&(a=s[0]&2?o["return"]:s[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,s[1])).done)return a;if(o=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;o=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1];a=s;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(s);break}if(a[2])n.ops.pop();n.trys.pop();continue}s=t.call(i,n)}catch(i){s=[6,i];o=0}finally{e=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{a as cssSizeToNumber,c as cssDurationToMilliseconds}from"./unit-CWk1SCJg.js";import{L as Locale}from"./locale-B6cOkl4I.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";var clearNotifications$3="Εκκαθάριση ειδοποιήσεων";var localeEl={clearNotifications:clearNotifications$3};var clearNotifications$2="Clear notifications";var localeEn={clearNotifications:clearNotifications$2};var clearNotifications$1="Borrar notificaciones";var localeEs={clearNotifications:clearNotifications$1};var clearNotifications="Cancella notifiche";var localeIt={clearNotifications:clearNotifications};var mdsPushNotificationCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}: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-push-notification-fadeout-delay:0s;--mds-push-notification-gap:calc(var(--spacing,.0025rem)*200);--mds-push-notification-items-intro-delay:var(--duration-300,.3s);--mds-push-notification-items-outro-delay:0s;--mds-push-notification-items-duration:var(--duration-300,.3s);--mds-push-notification-items-gap:var(--mds-push-notification-gap,calc(var(--spacing,.0025rem)*200));--mds-push-notification-items-timing-function:var(--ease-in-out-quint,cubic-bezier(.86,0,.07,1));--mds-push-notification-background:linear-gradient(to right,rgb(var(--magma-surface-sunken,var(--surface-neutral-sunken,232 232 232))/0) 0%,rgb(var(--magma-surface-sunken,var(--surface-neutral-sunken,232 232 232))/.85) 100%);-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none;--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));background:var(--mds-push-notification-background);bottom:0;box-sizing:initial!important;display:flex;flex-direction:column;gap:calc(var(--spacing,.0025rem)*200);max-width:calc(var(--spacing,.0025rem)*9000);min-width:calc(var(--spacing,.0025rem)*7200);overflow-x:hidden;padding:calc(var(--spacing,.0025rem)*400);padding-left:calc(var(--spacing,.0025rem)*2400);position:fixed;right:0;top:0;transform:translate(100%);transition-delay:var(--mds-push-notification-fadeout-delay,0s);transition-duration:var(--duration-500,.5s);transition-property:transform;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));z-index:var(--magma-notification-z-index,2000)}:host::-webkit-scrollbar{display:none}.notifications{display:flex;flex-direction:column-reverse;gap:var(--mds-push-notification-items-gap)}.notifications ::slotted(mds-push-notification-item){--mds-push-notification-item-duration:var(--mds-push-notification-items-duration,var(--duration-300,.3s));--mds-push-notification-item-timing-function:var(--mds-push-notification-items-timing-function);position:absolute;transform:translate(calc(100% + calc(var(--mds-push-notification-gap,calc(var(--spacing,.0025rem) * 200)) + var(--mds-push-notification-gap,calc(var(--spacing,.0025rem) * 200)))));visibility:hidden}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-push-notification-background:linear-gradient(to right,rgb(var(--magma-backdrop-color,0 0 0)/0) 0%,rgb(var(--magma-backdrop-color,0 0 0)/.5) 20%,rgb(var(--magma-backdrop-color,0 0 0)/.85) 100%)}:host([visible]){transform:translate(0);transition-delay:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-push-notification-background:linear-gradient(to right,rgb(var(--magma-backdrop-color,0 0 0)/0) 0%,rgb(var(--magma-backdrop-color,0 0 0)/.5) 20%,rgb(var(--magma-backdrop-color,0 0 0)/.85) 100%)}}'};var MdsPushNotification=/** @class */function(){function i(i){var t=this;registerInstance(this,i);this.changedEvent=createEvent(this,"mdsPushNotificationChange",7);this.shownEvent=createEvent(this,"mdsPushNotificationShow",7);this.hiddenEvent=createEvent(this,"mdsPushNotificationHide",7);this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
|
|
2
2
|
/**
|
|
3
3
|
* Specifies when the stack shows: with `auto` whenever notifications are added, with `manual`
|
|
4
4
|
* only through `visible` or `show()`. In both, removing the last notification hides it; a
|
|
@@ -43,4 +43,4 @@ i.remove()}));i.style.removeProperty("transform");i.style.marginBottom="-".conca
|
|
|
43
43
|
/**
|
|
44
44
|
* Removes the given notification item(s) from the stack.
|
|
45
45
|
* @param notification the notification item or items to remove
|
|
46
|
-
*/i.prototype.removeNotification=function(i){if(Array.isArray(i)){i.forEach(this.outroItem)}else{this.outroItem(i)}return Promise.resolve()};i.prototype.componentDidLoad=function(){this.updateCSSCustomProps();this.slotNotifications.addEventListener("slotchange",this.handleSlotChange);this.handleSlotChange()};i.prototype.visibleChanged=function(i){if(i){this.changedEvent.emit({visible:true});this.shownEvent.emit();return}if(i===undefined){this.changedEvent.emit({visible:false});this.hiddenEvent.emit();return}this.visible=undefined};i.prototype.render=function(){var i=this;return h(Host,{key:"
|
|
46
|
+
*/i.prototype.removeNotification=function(i){if(Array.isArray(i)){i.forEach(this.outroItem)}else{this.outroItem(i)}return Promise.resolve()};i.prototype.componentDidLoad=function(){this.updateCSSCustomProps();this.slotNotifications.addEventListener("slotchange",this.handleSlotChange);this.handleSlotChange()};i.prototype.visibleChanged=function(i){if(i){this.changedEvent.emit({visible:true});this.shownEvent.emit();return}if(i===undefined){this.changedEvent.emit({visible:false});this.hiddenEvent.emit();return}this.visible=undefined};i.prototype.render=function(){var i=this;return h(Host,{key:"8227ce180e0acb950b9083ab214ff9a3ab80463d","pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("mds-button",{key:"61ad1b5a60321de36f4bf88a5eeb2c2b23b80ec1",variant:"dark",onClick:this.clear,label:this.t.get("clearNotifications")}),h("div",{key:"5590c4d804403622f0e48ca46361a4c635ca8bb8",class:"notifications",part:"notifications"},h("slot",{key:"449df6d1917f1149e980e27b9fd848da4a93155e",ref:function(t){return i.slotNotifications=t}})))};Object.defineProperty(i.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(i,"watchers",{get:function(){return{visible:[{visibleChanged:0}]}},enumerable:false,configurable:true});return i}();MdsPushNotification.style=mdsPushNotificationCss();export{MdsPushNotification as mds_push_notification};
|
|
@@ -4,4 +4,4 @@ import{r as registerInstance,h,e as Host}from"./index-CvLLN-QH.js";import{p as p
|
|
|
4
4
|
*/this.typography="h3";
|
|
5
5
|
/**
|
|
6
6
|
* Specifies the tag the element
|
|
7
|
-
*/this.tag="h3"}e.prototype.render=function(){return h(Host,{key:"
|
|
7
|
+
*/this.tag="h3"}e.prototype.render=function(){return h(Host,{key:"53145b4333e279e1b791206a853fab291fa277a3","pref-contrast":preferenceStore.state.contrast},h("mds-text",{key:"fea26f70ba68597228cb9e80f6678cbb9024034d",class:"open-quote",tag:"div",typography:this.typography},h("span",{key:"fbb476d6125b36dc4fdadecb1dbb5edfa355f5d9"},h("i",{key:"81f37f2f2d7ad31607fc0452eea202a48e8ca5fc"},"❝ "))),h("div",{key:"4d113331a104661db264663f3fbd5f20be1d68b9",class:"quote"},h("mds-text",{key:"79dc9fe08d1ad791567720534818670fc5f5922e",tag:this.tag,typography:this.typography},h("i",{key:"4e28a43a8c6220cbc90274dcd10bdf75fe2dbe01"},h("slot",{key:"56370568aae34236af4ace4dcbed14aa29c2eaad"}),h("span",{key:"5c994607d6a7cde4150cf5c58256f9d48aabbbb1"}," ❞"))),h("slot",{key:"339a95de6bc7e2b28826566cdb9761b3c7218f1b",name:"author"})))};return e}();MdsQuote.style=mdsQuoteCss();export{MdsQuote as mds_quote};
|
|
@@ -7,4 +7,4 @@ import{r as registerInstance,h,e as Host}from"./index-CvLLN-QH.js";var mdsRadial
|
|
|
7
7
|
*/this.variant="dark";
|
|
8
8
|
/**
|
|
9
9
|
* Specifies the size of the menu item.
|
|
10
|
-
*/this.size="lg"}t.prototype.render=function(){return h(Host,{key:"
|
|
10
|
+
*/this.size="lg"}t.prototype.render=function(){return h(Host,{key:"025b912eb4613ba3288d8e5ee4d7993f3e455ad5",slot:"item"},h("mds-button",{key:"7ada9de8188be564f28e09f1a4b038724d8ab977","aria-label":this.tooltip,class:"button",icon:this.icon,variant:this.variant,tone:this.tone,size:this.size}),this.tooltip&&h("mds-tooltip",{key:"595aedb28b1075a3d31a78d7f4a75a20bd3c4d1d",class:"tooltip",target:".button",placement:"top",disableAutoPlacement:true},this.tooltip))};return t}();MdsRadialMenuItem.style=mdsRadialMenuItemCss();export{MdsRadialMenuItem as mds_radial_menu_item};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as registerInstance,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{b as queryChildrenBySlot}from"./slot-AEckDMXh.js";import{m as miBaselineClose}from"./close-J-ikDhyq.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{B as Backdrop}from"./floating-controller-BVlbYYkf.js";import{L as Locale}from"./locale-
|
|
1
|
+
import{r as registerInstance,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{b as queryChildrenBySlot}from"./slot-AEckDMXh.js";import{m as miBaselineClose}from"./close-J-ikDhyq.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{B as Backdrop}from"./floating-controller-BVlbYYkf.js";import{L as Locale}from"./locale-B6cOkl4I.js";import"./floating-ui.dom-BaFfIZGB.js";import"./unit-CWk1SCJg.js";import"./aria-Cvhn9asj.js";import"./preference-C5XjgGCb.js";var miBaselineMoreVert='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2s-2 .9-2 2s.9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2z"/></svg>';var closeMenu$3="Κλείσιμο μενού";var openMenu$3="Άνοιγμα μενού";var localeEl={closeMenu:closeMenu$3,openMenu:openMenu$3};var closeMenu$2="Close menu";var openMenu$2="Open menu";var localeEn={closeMenu:closeMenu$2,openMenu:openMenu$2};var closeMenu$1="Cerrar el menú";var openMenu$1="Abrir el menú";var localeEs={closeMenu:closeMenu$1,openMenu:openMenu$1};var closeMenu="Chiudi il menu";var openMenu="Apri il menu";var localeIt={closeMenu:closeMenu,openMenu:openMenu};var mdsRadialMenuCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-radial-menu-angle-start:0deg;--mds-radial-menu-angle-end:360deg;--mds-radial-menu-context-menu-z-index:var(--magma-context-menu-z-index,8000);--mds-radial-menu-delay:10ms;--mds-radial-menu-direction:-1;--mds-radial-menu-disc-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))/.5);--mds-radial-menu-disc-filter:blur(calc(var(--spacing,.0025rem)*200));--mds-radial-menu-disc-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-radial-menu-disc-size:calc(var(--mds-radial-menu-radius,calc(var(--spacing,.0025rem) * 2000)) * 2);--mds-radial-menu-radius:calc(var(--spacing,.0025rem)*2000);--mds-radial-menu-transition-duration:var(--duration-500,.5s);--mds-radial-menu-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));--mds-radial-menu-nth-siblings:0;--mds-radial-menu-disc-delay:0s;--mds-radial-menu-disc-scale:0;--mds-radial-menu-radius-current:0;--private-radial-menu-sweep:calc(var(--mds-radial-menu-angle-end,360deg) - var(--mds-radial-menu-angle-start,0deg));--mds-radial-menu-is-full-circle:cos(clamp(0deg,max(var(--private-radial-menu-sweep) - 360deg,360deg - var(--private-radial-menu-sweep)) * 1000,90deg));--mds-radial-menu-is-start-greater-than-end:sin(clamp(-90deg,var(--private-radial-menu-sweep) * 1000,90deg));display:inline-flex;position:relative;transition-duration:var(--mds-radial-menu-transition-duration);transition-property:top,left;transition-timing-function:var(--mds-radial-menu-transition-timing-function);z-index:var(--magma-dropdown-z-index,5000)}:host([direction=clockwise]){--mds-radial-menu-direction:calc(var(--mds-radial-menu-is-start-greater-than-end)*-1)}:host([direction=counterclockwise]){--mds-radial-menu-direction:calc(var(--mds-radial-menu-is-start-greater-than-end)*1)}.menu-button{border-radius:100%;position:relative;transform:scale(1);transition-duration:var(--mds-radial-menu-transition-duration);transition-timing-function:var(--mds-radial-menu-transition-timing-function);z-index:2}:host(:not([opened])) .menu-button--hidden{transform:scale(0)}.radial-menu{inset:0;pointer-events:none;position:absolute;transition-delay:calc((var(--mds-radial-menu-nth-siblings)*2)*var(--mds-radial-menu-delay,10ms));transition-property:z-index;z-index:3}:host(:not([opened])) .radial-menu{transition-delay:0s;z-index:1}:host(:not([opened])){--mds-radial-menu-radius-current:0}:host([opened]){--mds-radial-menu-radius-current:var(--mds-radial-menu-radius,calc(var(--spacing,.0025rem)*2000))}:host([opened]) ::slotted(mds-radial-menu-item){pointer-events:auto;transform:scale(1)}::slotted(mds-radial-menu-item){--mds-radial-menu-item-offset-per-child:calc((var(--mds-radial-menu-angle-end,360deg) - var(--mds-radial-menu-angle-start,0deg))/(var(--mds-radial-menu-nth-siblings) + var(--mds-radial-menu-is-full-circle)));--mds-radial-menu-item-angle-offset:calc(var(--mds-radial-menu-direction,-1)*var(--mds-radial-menu-item-index)*var(--mds-radial-menu-item-offset-per-child));--mds-radial-menu-item-delay:calc((var(--mds-radial-menu-item-index) + 1)*var(--mds-radial-menu-delay,10ms));--mds-radial-menu-item-translate:calc(cos((var(--mds-radial-menu-angle-start,0deg) + var(--mds-radial-menu-item-angle-offset))) * var(--mds-radial-menu-radius-current)) calc(sin((var(--mds-radial-menu-angle-start,0deg) + var(--mds-radial-menu-item-angle-offset))) * var(--mds-radial-menu-radius-current) * -1)}.disc{--size:calc(var(--mds-radial-menu-disc-size,calc(calc(var(--spacing,.0025rem) * 2000) * 2)) + var(--mds-radial-menu-radius,calc(var(--spacing,.0025rem) * 2000)));-webkit-backdrop-filter:var(--mds-radial-menu-disc-filter);backdrop-filter:var(--mds-radial-menu-disc-filter);background-color:var(--mds-radial-menu-disc-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))/.5));border-radius:100%;box-shadow:var(--mds-radial-menu-disc-shadow);display:inline-flex;height:var(--size);inset:50%;position:absolute;transform:translate(-50%,-50%) scale(var(--mds-radial-menu-disc-scale));transition-delay:var(--mds-radial-menu-disc-delay);transition-duration:var(--mds-radial-menu-transition-duration);transition-property:height,transform,width;transition-timing-function:var(--mds-radial-menu-transition-timing-function);width:var(--size);z-index:0}:host(:not([opened][disc])){--mds-radial-menu-disc-scale:0;--mds-radial-menu-disc-delay:calc((var(--mds-radial-menu-nth-siblings) + 1)*var(--mds-radial-menu-delay,10ms))}:host([opened][disc]){--mds-radial-menu-disc-scale:1;--mds-radial-menu-disc-delay:0s}:host([interaction=rightclick]){position:fixed;z-index:var(--mds-radial-menu-context-menu-z-index,var(--magma-context-menu-z-index,8000))}"};var MdsRadialMenu=/** @class */function(){function e(e){var a=this;registerInstance(this,e);this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.backdropController=new Backdrop("mds-radial-menu-backdrop");
|
|
2
2
|
/**
|
|
3
3
|
* Specifies the direction of the menu elements
|
|
4
4
|
*/this.direction="clockwise";
|
|
@@ -22,4 +22,4 @@ import{r as registerInstance,h,e as Host,g as getElement}from"./index-CvLLN-QH.j
|
|
|
22
22
|
this.writeGeometry=function(e,n,i){if(typeof n!=="number"||!Number.isFinite(n)){a.hostElement.style.removeProperty(e);return}a.hostElement.style.setProperty(e,"".concat(n).concat(i))};this.updateItems=function(){a.items=queryChildrenBySlot(a.hostElement,"item");a.setItemSize();a.setItemIndex();a.hostElement.style.setProperty("--mds-radial-menu-nth-siblings",(a.items.length-1).toString())};
|
|
23
23
|
// a click outside the menu and Escape close the open menu: the backdrop takes no pointer, so
|
|
24
24
|
// nothing else did. Escape gives the focus back to the trigger when it was inside the menu
|
|
25
|
-
this.handleOutsideClick=function(e){if(e.composedPath().includes(a.hostElement))return;a.opened=undefined};this.handleEscape=function(e){var n,i;if(e.key!=="Escape")return;var r=a.hostElement.matches(":focus-within");a.opened=undefined;if(r&&a.interaction==="click"){(i=(n=a.hostElement.shadowRoot)===null||n===void 0?void 0:n.querySelector(".menu-button"))===null||i===void 0?void 0:i.focus()}};this.listenOutside=function(e){if(typeof document==="undefined")return;document.removeEventListener("click",a.handleOutsideClick);document.removeEventListener("keydown",a.handleEscape);if(!e)return;document.addEventListener("click",a.handleOutsideClick);document.addEventListener("keydown",a.handleEscape)};this.toggleRightClickMenu=function(e){e.preventDefault();a.hostElement.style.top="".concat(e.clientY-a.hostElement.offsetHeight/2,"px");a.hostElement.style.left="".concat(e.clientX-a.hostElement.offsetWidth/2,"px");a.toggleMenu()};this.handleBackdrop=function(){if(!a.backdrop){a.backdropController.detachBackdrop();return}if(a.opened){a.backdropController.attachBackdrop();return}a.backdropController.detachBackdrop()}}e.prototype.componentWillLoad=function(){var e;this.icon=(e=this.icon)!==null&&e!==void 0?e:miBaselineMoreVert;this.onAngleStartChange(this.angleStart);this.onAngleEndChange(this.angleEnd);this.onRadiusChange(this.radius);this.onSizeChange()};e.prototype.componentDidLoad=function(){this.updateItems();this.onOpenedChange(this.opened);this.onInteractionChange(this.interaction)};e.prototype.disconnectedCallback=function(){if(typeof document==="undefined")return;document.removeEventListener("contextmenu",this.toggleRightClickMenu);this.listenOutside(false)};e.prototype.onDiscChanged=function(e){if(e===false){this.disc=undefined}};e.prototype.backdropChanged=function(e){if(e===false){this.backdrop=undefined}this.handleBackdrop()};e.prototype.onInteractionChange=function(e){if(typeof document==="undefined")return;if(e==="rightclick"){document.addEventListener("contextmenu",this.toggleRightClickMenu);return}document.removeEventListener("contextmenu",this.toggleRightClickMenu)};e.prototype.onAngleStartChange=function(e){this.writeGeometry("--mds-radial-menu-angle-start",e,"deg")};e.prototype.onAngleEndChange=function(e){this.writeGeometry("--mds-radial-menu-angle-end",e,"deg")};e.prototype.onRadiusChange=function(e){this.writeGeometry("--mds-radial-menu-radius",e,"rem")};e.prototype.onSizeChange=function(){this.setItemSize()};e.prototype.onOpenedChange=function(e){if(e===false){this.opened=undefined}this.handleBackdrop();this.listenOutside(!!e)};e.prototype.render=function(){return h(Host,{key:"
|
|
25
|
+
this.handleOutsideClick=function(e){if(e.composedPath().includes(a.hostElement))return;a.opened=undefined};this.handleEscape=function(e){var n,i;if(e.key!=="Escape")return;var r=a.hostElement.matches(":focus-within");a.opened=undefined;if(r&&a.interaction==="click"){(i=(n=a.hostElement.shadowRoot)===null||n===void 0?void 0:n.querySelector(".menu-button"))===null||i===void 0?void 0:i.focus()}};this.listenOutside=function(e){if(typeof document==="undefined")return;document.removeEventListener("click",a.handleOutsideClick);document.removeEventListener("keydown",a.handleEscape);if(!e)return;document.addEventListener("click",a.handleOutsideClick);document.addEventListener("keydown",a.handleEscape)};this.toggleRightClickMenu=function(e){e.preventDefault();a.hostElement.style.top="".concat(e.clientY-a.hostElement.offsetHeight/2,"px");a.hostElement.style.left="".concat(e.clientX-a.hostElement.offsetWidth/2,"px");a.toggleMenu()};this.handleBackdrop=function(){if(!a.backdrop){a.backdropController.detachBackdrop();return}if(a.opened){a.backdropController.attachBackdrop();return}a.backdropController.detachBackdrop()}}e.prototype.componentWillLoad=function(){var e;this.icon=(e=this.icon)!==null&&e!==void 0?e:miBaselineMoreVert;this.onAngleStartChange(this.angleStart);this.onAngleEndChange(this.angleEnd);this.onRadiusChange(this.radius);this.onSizeChange()};e.prototype.componentDidLoad=function(){this.updateItems();this.onOpenedChange(this.opened);this.onInteractionChange(this.interaction)};e.prototype.disconnectedCallback=function(){if(typeof document==="undefined")return;document.removeEventListener("contextmenu",this.toggleRightClickMenu);this.listenOutside(false)};e.prototype.onDiscChanged=function(e){if(e===false){this.disc=undefined}};e.prototype.backdropChanged=function(e){if(e===false){this.backdrop=undefined}this.handleBackdrop()};e.prototype.onInteractionChange=function(e){if(typeof document==="undefined")return;if(e==="rightclick"){document.addEventListener("contextmenu",this.toggleRightClickMenu);return}document.removeEventListener("contextmenu",this.toggleRightClickMenu)};e.prototype.onAngleStartChange=function(e){this.writeGeometry("--mds-radial-menu-angle-start",e,"deg")};e.prototype.onAngleEndChange=function(e){this.writeGeometry("--mds-radial-menu-angle-end",e,"deg")};e.prototype.onRadiusChange=function(e){this.writeGeometry("--mds-radial-menu-radius",e,"rem")};e.prototype.onSizeChange=function(){this.setItemSize()};e.prototype.onOpenedChange=function(e){if(e===false){this.opened=undefined}this.handleBackdrop();this.listenOutside(!!e)};e.prototype.render=function(){return h(Host,{key:"51e55a4e17fa5fc42b9edcc43d03ae59e996b87e"},h("mds-button",{key:"0af2441f112053963df90791b468d8f830d8aa75","aria-label":this.t.get(this.opened?"closeMenu":"openMenu"),class:clsx("menu-button",this.interaction!=="click"&&"menu-button--hidden"),icon:this.opened?miBaselineClose:this.icon,tone:this.tone,variant:this.variant,size:this.size,onClick:this.toggleMenu}),h("div",{key:"a72088d0954b40d118875cdc9d51c179bb27bd9f",class:"radial-menu",part:"radial-menu"},h("slot",{key:"86510970088381adefe830406c09185933b39352",name:"item",onSlotchange:this.updateItems})),h("div",{key:"92d5766a0b632c715106e6d098be9fea0bc8770f",class:"disc"}))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{disc:[{onDiscChanged:0}],backdrop:[{backdropChanged:0}],interaction:[{onInteractionChange:0}],angleStart:[{onAngleStartChange:0}],angleEnd:[{onAngleEndChange:0}],radius:[{onRadiusChange:0}],size:[{onSizeChange:0}],opened:[{onOpenedChange:0}]}},enumerable:false,configurable:true});return e}();MdsRadialMenu.style=mdsRadialMenuCss();export{MdsRadialMenu as mds_radial_menu};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as registerInstance,h,e as Host}from"./index-CvLLN-QH.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";var mdsSeparatorCss=function(){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-separator-background:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));background-color:var(--mds-separator-background,rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));display:flex;height:1px}"};var MdsSeparator=/** @class */function(){function r(r){registerInstance(this,r)}r.prototype.render=function(){return h(Host,{key:"
|
|
1
|
+
import{r as registerInstance,h,e as Host}from"./index-CvLLN-QH.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";var mdsSeparatorCss=function(){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-separator-background:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));background-color:var(--mds-separator-background,rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));display:flex;height:1px}"};var MdsSeparator=/** @class */function(){function r(r){registerInstance(this,r)}r.prototype.render=function(){return h(Host,{key:"e2899b902ebdd6bcc64be8ba65015cd7ff7ba947","pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]})};return r}();MdsSeparator.style=mdsSeparatorCss();export{MdsSeparator as mds_separator};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(a,r,t,e){function s(a){return a instanceof t?a:new t((function(r){r(a)}))}return new(t||(t=Promise))((function(t,n){function o(a){try{c(e.next(a))}catch(a){n(a)}}function i(a){try{c(e["throw"](a))}catch(a){n(a)}}function c(a){a.done?t(a.value):s(a.value).then(o,i)}c((e=e.apply(a,r||[])).next())}))};var __generator=this&&this.__generator||function(a,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},e,s,n,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=i(0),o["throw"]=i(1),o["return"]=i(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function i(a){return function(r){return c([a,r])}}function c(i){if(e)throw new TypeError("Generator is already executing.");while(o&&(o=0,i[0]&&(t=0)),t)try{if(e=1,s&&(n=i[0]&2?s["return"]:i[0]?s["throw"]||((n=s["return"])&&n.call(s),0):s.next)&&!(n=n.call(s,i[1])).done)return n;if(s=0,n)i=[i[0]&2,n.value];switch(i[0]){case 0:case 1:n=i;break;case 4:t.label++;return{value:i[1],done:false};case 5:t.label++;s=i[1];i=[0];continue;case 7:i=t.ops.pop();t.trys.pop();continue;default:if(!(n=t.trys,n=n.length>0&&n[n.length-1])&&(i[0]===6||i[0]===2)){t=0;continue}if(i[0]===3&&(!n||i[1]>n[0]&&i[1]<n[3])){t.label=i[1];break}if(i[0]===6&&t.label<n[1]){t.label=n[1];n=i;break}if(n&&t.label<n[2]){t.label=n[2];t.ops.push(i);break}if(n[2])t.ops.pop();t.trys.pop();continue}i=r.call(a,t)}catch(a){i=[6,a];s=0}finally{e=n=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};import{r as registerInstance,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";var mdsStatusBarCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-modal,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-status-bar-max-width:calc(var(--spacing,.0025rem)*12500);--mds-status-bar-backdrop:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.1);--mds-status-bar-backdrop-filter:blur(calc(var(--spacing,.0025rem)*250));display:block}mds-modal{--mds-modal-custom-window-distance:0;--mds-modal-custom-closed-transform:translateY(100%)}.status-bar-area{-webkit-backdrop-filter:var(--mds-status-bar-backdrop-filter);backdrop-filter:var(--mds-status-bar-backdrop-filter);background-color:var(--mds-status-bar-backdrop,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.1));border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px)) var(--magma-radius-xl,var(--radius-squircle-xl,36px)) 0 0;corner-shape:var(--magma-corner-shape,squircle);margin-left:calc(var(--spacing,.0025rem)*600);margin-right:calc(var(--spacing,.0025rem)*600);padding:calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*600);transition-property:background-color,transform,opacity}.status-bar{background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));box-shadow:var(--shadow-md,0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a);corner-shape:var(--magma-corner-shape,squircle);align-items:flex-start;max-width:var(--mds-status-bar-max-width,calc(var(--spacing,.0025rem)*12500));padding:calc(var(--spacing,.0025rem)*600)}.actions,.status-bar{display:inline-flex;flex-wrap:wrap;gap:calc(var(--spacing,.0025rem)*400)}.actions{flex-grow:1}:host([pref-consumption=medium]){--mds-status-bar-backdrop-filter:none}:host([pref-contrast=more]){--mds-status-bar-backdrop:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3)}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .status-bar{box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15))}@media (max-width:480px){.status-bar-area{border-radius:0;margin-left:0;margin-right:0;padding:calc(var(--spacing,.0025rem)*400);width:100%}.status-bar{width:100%}.actions{gap:calc(var(--spacing,.0025rem)*200)}::slotted(*){flex-grow:1}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-status-bar-backdrop:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3)}}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))) .status-bar{box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15))}}"};var MdsStatusBar=/** @class */function(){function a(a){var r=this;registerInstance(this,a);
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(a,r,t,e){function s(a){return a instanceof t?a:new t((function(r){r(a)}))}return new(t||(t=Promise))((function(t,n){function o(a){try{c(e.next(a))}catch(a){n(a)}}function i(a){try{c(e["throw"](a))}catch(a){n(a)}}function c(a){a.done?t(a.value):s(a.value).then(o,i)}c((e=e.apply(a,r||[])).next())}))};var __generator=this&&this.__generator||function(a,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},e,s,n,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=i(0),o["throw"]=i(1),o["return"]=i(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function i(a){return function(r){return c([a,r])}}function c(i){if(e)throw new TypeError("Generator is already executing.");while(o&&(o=0,i[0]&&(t=0)),t)try{if(e=1,s&&(n=i[0]&2?s["return"]:i[0]?s["throw"]||((n=s["return"])&&n.call(s),0):s.next)&&!(n=n.call(s,i[1])).done)return n;if(s=0,n)i=[i[0]&2,n.value];switch(i[0]){case 0:case 1:n=i;break;case 4:t.label++;return{value:i[1],done:false};case 5:t.label++;s=i[1];i=[0];continue;case 7:i=t.ops.pop();t.trys.pop();continue;default:if(!(n=t.trys,n=n.length>0&&n[n.length-1])&&(i[0]===6||i[0]===2)){t=0;continue}if(i[0]===3&&(!n||i[1]>n[0]&&i[1]<n[3])){t.label=i[1];break}if(i[0]===6&&t.label<n[1]){t.label=n[1];n=i;break}if(n&&t.label<n[2]){t.label=n[2];t.ops.push(i);break}if(n[2])t.ops.pop();t.trys.pop();continue}i=r.call(a,t)}catch(a){i=[6,a];s=0}finally{e=n=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};import{r as registerInstance,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";var mdsStatusBarCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-modal,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-status-bar-max-width:calc(var(--spacing,.0025rem)*12500);--mds-status-bar-backdrop:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.1);--mds-status-bar-backdrop-filter:blur(calc(var(--spacing,.0025rem)*250));display:block}mds-modal{--mds-modal-custom-window-distance:0;--mds-modal-custom-closed-transform:translateY(100%)}.status-bar-area{-webkit-backdrop-filter:var(--mds-status-bar-backdrop-filter);backdrop-filter:var(--mds-status-bar-backdrop-filter);background-color:var(--mds-status-bar-backdrop,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.1));border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px)) var(--magma-radius-xl,var(--radius-squircle-xl,36px)) 0 0;corner-shape:var(--magma-corner-shape,squircle);margin-left:calc(var(--spacing,.0025rem)*600);margin-right:calc(var(--spacing,.0025rem)*600);padding:calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*600);transition-property:background-color,transform,opacity}.status-bar{background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));box-shadow:var(--shadow-md,0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a);box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);align-items:flex-start;max-width:var(--mds-status-bar-max-width,calc(var(--spacing,.0025rem)*12500));padding:calc(var(--spacing,.0025rem)*600)}.actions,.status-bar{display:inline-flex;flex-wrap:wrap;gap:calc(var(--spacing,.0025rem)*400)}.actions{flex-grow:1}:host([pref-consumption=medium]){--mds-status-bar-backdrop-filter:none}:host([pref-contrast=more]){--mds-status-bar-backdrop:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3)}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .status-bar{box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15))}@media (max-width:480px){.status-bar-area{border-radius:0;margin-left:0;margin-right:0;padding:calc(var(--spacing,.0025rem)*400);width:100%}.status-bar{width:100%}.actions{gap:calc(var(--spacing,.0025rem)*200)}::slotted(*){flex-grow:1}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-status-bar-backdrop:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3)}}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))) .status-bar{box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15))}}"};var MdsStatusBar=/** @class */function(){function a(a){var r=this;registerInstance(this,a);
|
|
2
2
|
/**
|
|
3
3
|
* Specifies if the component prevents the body from scrolling when modal window is opened
|
|
4
4
|
*/this.overflow="manual";
|
|
@@ -9,4 +9,4 @@ var __awaiter=this&&this.__awaiter||function(a,r,t,e){function s(a){return a ins
|
|
|
9
9
|
this.handleModalClose=function(){r.visible=undefined}}a.prototype.handleVisbilityProp=function(a){if(a===false){this.visible=undefined}};
|
|
10
10
|
/**
|
|
11
11
|
* Hides the status bar.
|
|
12
|
-
*/a.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){this.visible=undefined;return[2/*return*/]}))}))};a.prototype.render=function(){return h(Host,{key:"
|
|
12
|
+
*/a.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){this.visible=undefined;return[2/*return*/]}))}))};a.prototype.render=function(){return h(Host,{key:"305444ee2fef341a77f6c50d0bc0999aa00fa4dd","pref-consumption":preferenceStore.state.consumption,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("mds-modal",{key:"cdea2f9111f5e0325ad79a356f7db0d4e1b066cc",class:"modal",hideBackdrop:true,onMdsModalClose:this.handleModalClose,opened:this.visible,position:this.position,animation:"custom",overflow:this.overflow},h("div",{key:"ccc2aeb872b9a94d1643da787fe752ad52ab4611",class:"status-bar-area",part:"status-bar-area",slot:"window"},h("div",{key:"24429132175ed311caf7de79b8d4ff34ef1a407e",class:"status-bar",part:"status-bar"},this.description&&h("mds-text",{key:"80723e587b342c486fe0d7ea685cf754a50cf2d1",typography:"caption",class:"description"},this.description),h("div",{key:"1c5f37540ddef3acc4f3cce453e05dd085b71203",class:"actions",part:"actions"},h("slot",{key:"b7d1684cfceafffbfed27f00c507a2aef47b470b"}))))))};Object.defineProperty(a.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{visible:[{handleVisbilityProp:0}]}},enumerable:false,configurable:true});return a}();MdsStatusBar.style=mdsStatusBarCss();export{MdsStatusBar as mds_status_bar};
|