@maggioli-design-system/magma 2.5.1 → 2.7.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 +69 -0
- package/agents/assets.md +24 -10
- package/agents/color.md +22 -4
- package/agents/components.md +164 -92
- package/agents/conventions.md +19 -8
- package/agents/install.md +7 -0
- package/agents/lint.md +298 -0
- package/agents/mcp.md +107 -0
- package/agents/reporting.md +53 -2
- package/agents/theming.md +8 -0
- package/dist/cjs/index-BQNHYWJg.js +4 -0
- package/dist/cjs/loader.cjs.js +1 -1
- 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 +3 -3
- 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 +1 -1
- package/dist/cjs/mds-button-dropdown.cjs.entry.js +1 -1
- 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 +6 -6
- 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 +1 -1
- package/dist/cjs/mds-entity.cjs.entry.js +1 -1
- package/dist/cjs/mds-file-preview.cjs.entry.js +2 -2
- package/dist/cjs/mds-file.cjs.entry.js +1 -1
- package/dist/cjs/mds-filter-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-filter.cjs.entry.js +1 -1
- package/dist/cjs/mds-header-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +1 -1
- package/dist/cjs/mds-hr.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 +2 -2
- package/dist/cjs/mds-input-date.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-field.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-otp.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-range.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-select.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +3 -3
- package/dist/cjs/mds-input-upload.cjs.entry.js +5 -5
- package/dist/cjs/mds-input.cjs.entry.js +2 -2
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +2 -2
- package/dist/cjs/mds-keyboard.cjs.entry.js +2 -2
- 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 +1 -1
- package/dist/cjs/mds-link.cjs.entry.js +3 -3
- 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 +1 -1
- package/dist/cjs/mds-modal.cjs.entry.js +3 -3
- package/dist/cjs/mds-note.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/mds-policy-ai.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-animation.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-language.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-mode.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-theme-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-theme.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref.cjs.entry.js +1 -1
- 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 +2 -2
- package/dist/cjs/mds-push-notification.cjs.entry.js +2 -2
- 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 +1 -1
- package/dist/cjs/mds-separator.cjs.entry.js +1 -1
- package/dist/cjs/mds-status-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/mds-table-row.cjs.entry.js +2 -2
- package/dist/cjs/mds-table.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/mds-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/mds-tree-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-tree.cjs.entry.js +1 -1
- package/dist/cjs/mds-url-view.cjs.entry.js +1 -1
- package/dist/cjs/mds-usage.cjs.entry.js +1 -1
- 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/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 -4
- 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 +3 -9
- package/dist/collection/components/mds-input/antipattern.md +1 -1
- package/dist/collection/components/mds-input/documentation.json +39 -19
- package/dist/collection/components/mds-input/mds-input.css +8 -8
- package/dist/collection/components/mds-input/mds-input.js +3 -2
- 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.js +2 -1
- package/dist/collection/components/mds-input-range/pattern.md +2 -12
- package/dist/collection/components/mds-input-select/AGENTS.md +3 -7
- package/dist/collection/components/mds-input-select/antipattern.md +1 -1
- package/dist/collection/components/mds-input-select/documentation.json +25 -12
- package/dist/collection/components/mds-input-select/mds-input-select.css +3 -3
- package/dist/collection/components/mds-input-select/mds-input-select.js +3 -2
- 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 +3 -18
- package/dist/collection/components/mds-keyboard/antipattern.md +3 -3
- package/dist/collection/components/mds-keyboard/documentation.json +47 -23
- package/dist/collection/components/mds-keyboard/mds-keyboard.css +17 -5
- package/dist/collection/components/mds-keyboard/mds-keyboard.js +2 -1
- 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 +1 -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 +2 -1
- 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-D0A8gS-P.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-CJYY4da7.js → p-BU1O2DcC.js} +1 -1
- package/dist/components/{p-CaROqeeK.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-DucY18_e.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-DFD4E9zJ.js → p-CYK2Xr_v.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-5lLueiFt.js → p-DJ401QTd.js} +1 -1
- package/dist/components/{p-BbK4qeM7.js → p-DMyL4CYh.js} +1 -1
- package/dist/components/{p-Cu5nEwMu.js → p-DbVGGhs_.js} +1 -1
- package/dist/components/{p-C4XdTZQ-.js → p-DccBbfK8.js} +1 -1
- package/dist/components/{p-BbgQG1UL.js → p-H0YXZ5fD.js} +2 -2
- package/dist/components/{p-yNPPTJ7i.js → p-IaXq1Xsc.js} +1 -1
- package/dist/components/{p-ClPv-Ljc.js → p-M8dGB4KH.js} +1 -1
- package/dist/components/{p-CPvuXO7s.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-DkYDXDkD.js → p-kZBPId_x.js} +1 -1
- package/dist/components/{p-BO-jHv-F.js → p-qnCVkeGX.js} +1 -1
- package/dist/documentation.json +2613 -918
- package/dist/esm/index-CvLLN-QH.js +4 -0
- package/dist/esm/loader.js +1 -1
- 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 +3 -3
- 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 +1 -1
- package/dist/esm/mds-button-dropdown.entry.js +1 -1
- 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 +6 -6
- 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 +1 -1
- package/dist/esm/mds-entity.entry.js +1 -1
- package/dist/esm/mds-file-preview.entry.js +2 -2
- package/dist/esm/mds-file.entry.js +1 -1
- package/dist/esm/mds-filter-item.entry.js +1 -1
- package/dist/esm/mds-filter.entry.js +1 -1
- package/dist/esm/mds-header-bar.entry.js +1 -1
- package/dist/esm/mds-header.entry.js +2 -2
- package/dist/esm/mds-horizontal-scroll.entry.js +1 -1
- package/dist/esm/mds-hr.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 +2 -2
- package/dist/esm/mds-input-date.entry.js +2 -2
- package/dist/esm/mds-input-field.entry.js +1 -1
- package/dist/esm/mds-input-otp.entry.js +1 -1
- package/dist/esm/mds-input-range.entry.js +1 -1
- package/dist/esm/mds-input-select.entry.js +2 -2
- package/dist/esm/mds-input-switch_2.entry.js +2 -2
- package/dist/esm/mds-input-tip_2.entry.js +3 -3
- package/dist/esm/mds-input-upload.entry.js +5 -5
- package/dist/esm/mds-input.entry.js +2 -2
- package/dist/esm/mds-keyboard-key.entry.js +2 -2
- package/dist/esm/mds-keyboard.entry.js +2 -2
- 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 +1 -1
- package/dist/esm/mds-link.entry.js +3 -3
- 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 +1 -1
- package/dist/esm/mds-modal.entry.js +3 -3
- package/dist/esm/mds-note.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/mds-policy-ai.entry.js +1 -1
- package/dist/esm/mds-pref-animation.entry.js +1 -1
- package/dist/esm/mds-pref-consumption.entry.js +1 -1
- package/dist/esm/mds-pref-contrast.entry.js +1 -1
- package/dist/esm/mds-pref-language-item.entry.js +1 -1
- package/dist/esm/mds-pref-language.entry.js +1 -1
- package/dist/esm/mds-pref-mode.entry.js +1 -1
- package/dist/esm/mds-pref-theme-item.entry.js +1 -1
- package/dist/esm/mds-pref-theme.entry.js +1 -1
- package/dist/esm/mds-pref.entry.js +1 -1
- 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 +2 -2
- package/dist/esm/mds-push-notification.entry.js +2 -2
- 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 +1 -1
- package/dist/esm/mds-separator.entry.js +1 -1
- package/dist/esm/mds-status-bar.entry.js +1 -1
- package/dist/esm/mds-stepper-bar-item.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/mds-table-row.entry.js +2 -2
- package/dist/esm/mds-table.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/mds-tooltip.entry.js +2 -2
- package/dist/esm/mds-tree-item.entry.js +1 -1
- package/dist/esm/mds-tree.entry.js +1 -1
- package/dist/esm/mds-url-view.entry.js +1 -1
- package/dist/esm/mds-usage.entry.js +1 -1
- package/dist/esm/mds-video-wall.entry.js +1 -1
- package/dist/esm/mds-zero.entry.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/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 +3 -3
- 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 +1 -1
- 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 +3 -3
- package/dist/esm-es5/mds-card-content.entry.js +1 -1
- package/dist/esm-es5/mds-card-footer.entry.js +1 -1
- package/dist/esm-es5/mds-card-header.entry.js +1 -1
- package/dist/esm-es5/mds-card-media.entry.js +1 -1
- package/dist/esm-es5/mds-card.entry.js +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 +1 -1
- package/dist/esm-es5/mds-entity.entry.js +1 -1
- package/dist/esm-es5/mds-file-preview.entry.js +3 -3
- package/dist/esm-es5/mds-file.entry.js +1 -1
- package/dist/esm-es5/mds-filter-item.entry.js +1 -1
- package/dist/esm-es5/mds-filter.entry.js +1 -1
- package/dist/esm-es5/mds-header-bar.entry.js +1 -1
- package/dist/esm-es5/mds-header.entry.js +2 -2
- package/dist/esm-es5/mds-horizontal-scroll.entry.js +1 -1
- package/dist/esm-es5/mds-hr.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 +2 -2
- package/dist/esm-es5/mds-input-date.entry.js +2 -2
- package/dist/esm-es5/mds-input-field.entry.js +1 -1
- package/dist/esm-es5/mds-input-otp.entry.js +1 -1
- package/dist/esm-es5/mds-input-range.entry.js +1 -1
- package/dist/esm-es5/mds-input-select.entry.js +1 -1
- package/dist/esm-es5/mds-input-switch_2.entry.js +1 -1
- package/dist/esm-es5/mds-input-tip_2.entry.js +2 -2
- package/dist/esm-es5/mds-input-upload.entry.js +1 -1
- package/dist/esm-es5/mds-input.entry.js +1 -1
- package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
- package/dist/esm-es5/mds-keyboard.entry.js +2 -2
- package/dist/esm-es5/mds-kpi-item.entry.js +3 -3
- package/dist/esm-es5/mds-kpi.entry.js +1 -1
- package/dist/esm-es5/mds-label.entry.js +1 -1
- package/dist/esm-es5/mds-link.entry.js +1 -1
- 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 +1 -1
- package/dist/esm-es5/mds-note.entry.js +1 -1
- 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 +1 -1
- package/dist/esm-es5/mds-pref-animation.entry.js +1 -1
- package/dist/esm-es5/mds-pref-consumption.entry.js +1 -1
- package/dist/esm-es5/mds-pref-contrast.entry.js +1 -1
- package/dist/esm-es5/mds-pref-language-item.entry.js +1 -1
- package/dist/esm-es5/mds-pref-language.entry.js +1 -1
- package/dist/esm-es5/mds-pref-mode.entry.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/esm-es5/mds-separator.entry.js +1 -1
- package/dist/esm-es5/mds-status-bar.entry.js +1 -1
- package/dist/esm-es5/mds-stepper-bar-item.entry.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/esm-es5/mds-tooltip.entry.js +2 -2
- package/dist/esm-es5/mds-tree-item.entry.js +1 -1
- package/dist/esm-es5/mds-tree.entry.js +1 -1
- package/dist/esm-es5/mds-url-view.entry.js +1 -1
- package/dist/esm-es5/mds-usage.entry.js +1 -1
- 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 +1044 -156
- package/dist/hydrate/index.mjs +1044 -156
- package/dist/lint/core/checks.d.ts +40 -0
- package/dist/lint/core/checks.js +143 -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 +90 -0
- package/dist/lint/core/data.js +186 -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 +55 -0
- package/dist/lint/eslint/adapters.js +254 -0
- package/dist/lint/eslint/index.d.ts +7 -0
- package/dist/lint/eslint/index.js +87 -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 +443 -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 +36 -0
- package/dist/lint/mcp/context.js +98 -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 +196 -0
- package/dist/lint/mcp/protocol.d.ts +59 -0
- package/dist/lint/mcp/protocol.js +111 -0
- package/dist/lint/mcp/server.d.ts +37 -0
- package/dist/lint/mcp/server.js +73 -0
- package/dist/lint/mcp/tokens.d.ts +37 -0
- package/dist/lint/mcp/tokens.js +629 -0
- package/dist/lint/mcp/tools.json +962 -0
- package/dist/lint/package.json +3 -0
- package/dist/lint/stylelint/index.d.ts +3 -0
- package/dist/lint/stylelint/index.js +203 -0
- package/dist/lint/stylelint/recommended.d.ts +3 -0
- package/dist/lint/stylelint/recommended.js +11 -0
- package/dist/lint/stylelint/strict.d.ts +3 -0
- package/dist/lint/stylelint/strict.js +11 -0
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/{p-a8a0a9ba.entry.js → p-00aa9a51.entry.js} +1 -1
- package/dist/magma-components/{p-62e94d78.system.entry.js → p-00acb2e1.system.entry.js} +2 -2
- 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-7b300282.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-624a3909.system.entry.js → p-0babf674.system.entry.js} +3 -3
- package/dist/magma-components/{p-b01118cc.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-d608b79c.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-770b3c4b.entry.js → p-14b13850.entry.js} +1 -1
- package/dist/magma-components/{p-b5cc09c7.system.entry.js → p-154ba354.system.entry.js} +2 -2
- package/dist/magma-components/{p-f5a33058.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-c03fc4fe.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-f0285a1e.system.entry.js → p-1b415625.system.entry.js} +3 -3
- package/dist/magma-components/{p-3e18b181.system.entry.js → p-1b67b149.system.entry.js} +1 -1
- package/dist/magma-components/p-1c00d0f7.entry.js +1 -0
- package/dist/magma-components/{p-79f543fc.system.entry.js → p-1cd75adf.system.entry.js} +3 -3
- package/dist/magma-components/{p-8f47eb63.system.entry.js → p-1d8485de.system.entry.js} +4 -4
- package/dist/magma-components/{p-168d5fad.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-3c669cfb.entry.js → p-354a5b47.entry.js} +1 -1
- package/dist/magma-components/{p-071f5c7b.system.entry.js → p-35c6341a.system.entry.js} +3 -3
- package/dist/magma-components/{p-f09b08f9.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-6af00399.system.entry.js → p-386bb24e.system.entry.js} +3 -3
- package/dist/magma-components/{p-1e18fcc5.system.entry.js → p-39a2df98.system.entry.js} +1 -1
- package/dist/magma-components/{p-2752b45a.system.entry.js → p-3a7c4314.system.entry.js} +3 -3
- package/dist/magma-components/{p-7be0d28b.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-88460d31.system.entry.js → p-3bdb541f.system.entry.js} +1 -1
- package/dist/magma-components/{p-85fb1d08.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-ced3ebb8.entry.js → p-3dccd446.entry.js} +1 -1
- package/dist/magma-components/{p-55b10b70.system.entry.js → p-3dde41b0.system.entry.js} +1 -1
- package/dist/magma-components/{p-be6e156a.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-f306b5c1.entry.js → p-42ab27de.entry.js} +1 -1
- package/dist/magma-components/{p-803957de.system.entry.js → p-430a4c4b.system.entry.js} +1 -1
- 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-227f57e6.entry.js → p-4aa94380.entry.js} +1 -1
- package/dist/magma-components/{p-b9ca6c2e.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-dbca23af.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-f39416e9.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-37487e8b.system.entry.js → p-53981624.system.entry.js} +1 -1
- 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-14635a8f.entry.js → p-5cf87a7f.entry.js} +1 -1
- package/dist/magma-components/{p-87baf82a.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-50705d36.system.entry.js → p-5f064376.system.entry.js} +1 -1
- package/dist/magma-components/{p-93d7485d.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-b8a59768.entry.js → p-62d9eaca.entry.js} +1 -1
- package/dist/magma-components/{p-947fcf74.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-38b16983.system.entry.js → p-6df26141.system.entry.js} +3 -3
- 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-fc22f5e0.system.entry.js → p-718d6384.system.entry.js} +1 -1
- package/dist/magma-components/{p-b4633c9c.system.entry.js → p-71dab494.system.entry.js} +3 -3
- package/dist/magma-components/{p-ec635255.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-9cf81575.system.entry.js → p-79fd07e7.system.entry.js} +1 -1
- 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-85a31141.entry.js → p-7e7391fd.entry.js} +1 -1
- package/dist/magma-components/{p-f5326224.system.entry.js → p-7ec28ff1.system.entry.js} +2 -2
- package/dist/magma-components/{p-f901c844.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-eb92312f.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-075acd04.entry.js → p-8f1c529f.entry.js} +1 -1
- package/dist/magma-components/{p-07a3c63c.system.entry.js → p-8f1e9021.system.entry.js} +1 -1
- 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-3f68ddca.entry.js → p-9332358d.entry.js} +1 -1
- package/dist/magma-components/{p-44998584.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-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-97eb734a.system.entry.js → p-a0d637b6.system.entry.js} +1 -1
- 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-77545238.entry.js → p-ac9feb04.entry.js} +1 -1
- package/dist/magma-components/{p-dedbf8d6.entry.js → p-ad383f92.entry.js} +1 -1
- package/dist/magma-components/{p-1ea582a9.system.entry.js → p-ae4736a0.system.entry.js} +3 -3
- package/dist/magma-components/{p-9fc385aa.entry.js → p-b3332c5f.entry.js} +1 -1
- package/dist/magma-components/{p-a987086b.system.entry.js → p-b3e2b68a.system.entry.js} +1 -1
- package/dist/magma-components/{p-808b9277.entry.js → p-b86144d4.entry.js} +1 -1
- package/dist/magma-components/{p-a0612465.system.entry.js → p-bbde5701.system.entry.js} +1 -1
- package/dist/magma-components/{p-5472f18d.system.entry.js → p-bc075b3b.system.entry.js} +2 -2
- package/dist/magma-components/{p-29971e1d.entry.js → p-bc19b136.entry.js} +1 -1
- package/dist/magma-components/{p-17ec24dc.entry.js → p-bcca26d9.entry.js} +1 -1
- package/dist/magma-components/{p-8b501f92.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-d3491226.system.entry.js → p-c2c693ed.system.entry.js} +1 -1
- 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-046697e4.system.entry.js → p-c8b06821.system.entry.js} +1 -1
- 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-cc954b22.system.entry.js → p-cd783f9e.system.entry.js} +1 -1
- 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-44333d50.system.entry.js → p-d0a15a3a.system.entry.js} +1 -1
- package/dist/magma-components/{p-f616f467.entry.js → p-d218ae47.entry.js} +1 -1
- package/dist/magma-components/{p-69badbba.entry.js → p-d331ff5c.entry.js} +1 -1
- package/dist/magma-components/{p-f75935ed.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-7d0c8177.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-de1ae02c.entry.js → p-d94281cb.entry.js} +1 -1
- package/dist/magma-components/{p-b467f737.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-521ba3a8.entry.js → p-dc618cae.entry.js} +1 -1
- package/dist/magma-components/p-de38f745.entry.js +1 -0
- package/dist/magma-components/{p-e2fa6300.system.entry.js → p-dee123c7.system.entry.js} +1 -1
- package/dist/magma-components/p-df387755.entry.js +1 -0
- package/dist/magma-components/{p-b373cc32.entry.js → p-dfab370b.entry.js} +1 -1
- 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-ad05ef26.system.entry.js → p-e5f893f9.system.entry.js} +1 -1
- package/dist/magma-components/{p-2c3f518c.system.entry.js → p-e709a52e.system.entry.js} +2 -2
- package/dist/magma-components/{p-8d14f146.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-6dff107d.system.entry.js → p-ec44a4ea.system.entry.js} +2 -2
- package/dist/magma-components/{p-9f6c502b.entry.js → p-ed133270.entry.js} +1 -1
- package/dist/magma-components/{p-bb282bc1.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-7ca73c56.entry.js → p-f045b018.entry.js} +1 -1
- package/dist/magma-components/{p-b69c3126.entry.js → p-f2211b1f.entry.js} +1 -1
- package/dist/magma-components/{p-c40ad03a.entry.js → p-f267ff68.entry.js} +1 -1
- package/dist/magma-components/{p-d254de66.system.entry.js → p-f27de6cb.system.entry.js} +1 -1
- package/dist/magma-components/{p-2d9c9ef9.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-94439d8b.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-da93a00b.system.entry.js → p-f5c7b147.system.entry.js} +1 -1
- 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-ffbf7448.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-35528bdd.system.entry.js → p-fe8e3721.system.entry.js} +1 -1
- package/dist/magma-components/{p-2a4d22c9.system.entry.js → p-fe98a77e.system.entry.js} +2 -2
- package/dist/magma-components/{p-8ca2e879.system.entry.js → p-ff7fc1f6.system.entry.js} +2 -2
- package/dist/stats.json +3133 -1157
- 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-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 +1 -0
- 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 +43 -5
- package/dist/components/p-B0AnE3sA.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-0193734e.entry.js +0 -1
- package/dist/magma-components/p-083dceb8.system.entry.js +0 -1
- package/dist/magma-components/p-093b8fbc.system.entry.js +0 -20
- package/dist/magma-components/p-0e2cd21e.entry.js +0 -1
- package/dist/magma-components/p-11320427.entry.js +0 -1
- package/dist/magma-components/p-1c2c4670.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-6436178a.entry.js +0 -1
- package/dist/magma-components/p-7ad68b2f.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-ab4b617d.entry.js +0 -1
- package/dist/magma-components/p-d6b38d8a.entry.js +0 -1
- package/dist/magma-components/p-e1383302.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,d as a,h as e,e as r,g as s,B as i}from"./p-CvLLN-QH.js";import{c as o}from"./p-ChV9xqsO.js";import{L as n}from"./p-OafT80hV.js";import{p as d}from"./p-iX3kcwYg.js";import{h as l,o as c}from"./p-AEckDMXh.js";var h={batchActions:"Επιλεγμένα στοιχεία"},b={batchActions:"Selected items"},m={batchActions:"Elementos seleccionados"},u={batchActions:"Elementi selezionati"};const v=class{constructor(e){t(this,e),this.selectionEvent=a(this,"mdsTableSelectionChange",7),this.hasBatchActions=!1,this.cellsWidth=0,this.selectedRows=[],this.t=new n({el:h,en:b,es:m,it:u}),this.sorting="internal",this.selectionQueued=!1,this.updateInteractive=()=>{var t;this.body&&(this.body.interactive=this.interactive),null===(t=this.rows)||void 0===t||t.forEach((t=>{t.interactive=this.interactive}))},this.updateCellsSize=()=>{var t,a;const e=null===(t=this.rows)||void 0===t?void 0:t[0];if(!e)return;const r=e.querySelectorAll("mds-table-cell"),s=null===(a=e.shadowRoot)||void 0===a?void 0:a.querySelector(".selection-cell");this.cellsWidth=null!=s?s.offsetWidth:0,r.forEach((t=>{this.cellsWidth+=t.offsetWidth}))},this.hasActions=()=>(this.updateCellsSize(),null!==this.host.querySelector('mds-table-row > [slot="action"]')),this.handleSelection=()=>{var t;null===(t=this.rows)||void 0===t||t.forEach((t=>{t.selectable=this.selectable}))},this.watchActions=()=>{var t;if(i.isBrowser){if(!this.scrollWrapper){const a=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".table-wrapper");if(!a)return;this.scrollWrapper=a,this.scrollWrapper.addEventListener("scroll",this.handleActions),this.resizeObserver=new ResizeObserver(this.handleActions),this.resizeObserver.observe(this.host)}this.handleActions()}},this.handleActions=()=>{var t;if(!this.scrollWrapper)return;this.updateCellsSize();const a=this.scrollWrapper.offsetWidth+this.scrollWrapper.scrollLeft<this.cellsWidth;null===(t=this.rows)||void 0===t||t.forEach((t=>{t.overlayActions=a}))},this.querySlottedElements=()=>{var t;this.body=this.host.querySelector("mds-table-body"),this.footer=this.host.querySelector("mds-table-footer"),this.header=this.host.querySelector("mds-table-header"),this.rows=this.host.querySelectorAll("mds-table-row"),this.body&&(null===(t=this.tableBodyObserver)||void 0===t||t.observe(this.body,{childList:!0}))},this.updateBatchActions=()=>{this.hasBatchActions=l(this.host,"batch-action")},this.updateSlottedElements=()=>{this.querySlottedElements(),this.updateInteractive(),this.handleSelection(),this.updateActions()}}onTableInteractive(){this.updateInteractive()}onTableSelectable(t){this.handleSelection(),this.header&&(this.header.selectable=t),this.footer&&(this.footer.selectable=t)}async updateSelection(){var t;this.selectable&&this.rows&&(this.selectionQueued||(this.selectionQueued=!0,await Promise.resolve(),this.selectionQueued=!1,this.selectedRows=[],this.rows.forEach(((t,a)=>{t.selected&&this.selectedRows.push({index:a,value:t.value})})),this.selectionEvent.emit({rows:this.selectedRows}),null===(t=this.header)||void 0===t||t.setSelection(this.selectedRows.length,this.rows.length),this.selection=this.selectedRows.length>0,this.body&&(this.body.selection=this.selection),this.rows.forEach((t=>{t.selection=this.selection}))))}async updateActions(){var t,a;const e=this.hasActions();null===(a=null===(t=this.header)||void 0===t?void 0:t.setActions)||void 0===a||a.call(t,e),e&&this.watchActions()}async selectAll(t=!0){this.selectable&&this.rows&&(this.rows.forEach((a=>{a.selected=t})),this.updateSelection())}componentWillLoad(){this.updateBatchActions(),c(this.host,this.updateBatchActions),"undefined"!=typeof MutationObserver&&(this.tableBodyObserver=new MutationObserver((()=>{this.updateSlottedElements()}))),this.querySlottedElements()}componentDidLoad(){this.footer&&(this.footer.selectable=this.selectable),this.header&&(this.header.selectable=this.selectable),this.updateActions()}connectedCallback(){this.updateActions()}disconnectedCallback(){var t,a,e;null===(t=this.scrollWrapper)||void 0===t||t.removeEventListener("scroll",this.handleActions),null===(a=this.resizeObserver)||void 0===a||a.disconnect(),this.scrollWrapper=void 0,this.resizeObserver=void 0,null===(e=this.tableBodyObserver)||void 0===e||e.disconnect()}render(){return e(r,{key:"509510ae979b382e62797b7eb5d37bbe32f7cbfc","pref-animation":d.state.animation,"pref-contrast":d.state.contrast,"pref-mode":d.state.mode,"pref-theme-scheme":d.state["theme-scheme"]},e("div",{key:"ad50d0edc7226feeec8d89e7aa259e003249e349",class:"table-wrapper",part:"table-wrapper"},e("table",{key:"2c066ff76726842ccebfb4d2ec8870ee67e45988",class:o("table",this.interactive&&"table--interactive"),role:"table",part:"table"},e("slot",{key:"0fdd5bfcd037d82f413e2cd89a81f49b6c571368",onSlotchange:this.updateSlottedElements}))),this.selectable&&this.hasBatchActions&&e("div",{key:"e84764b500f659a786084fb5bea0e14e5800457d",class:o("batch-actions-wrapper",this.selectedRows.length>0?"batch-actions-wrapper--has-selected-rows":""),part:"batch-actions-wrapper"},e("div",{key:"8432b9d1d1c73b81d606699d2992089f9525d1ec",class:"batch-actions",part:"batch-actions"},e("div",{key:"17f385f29fb1bc8a7f92462977622899692692f0",class:"batch-actions-header"},e("mds-text",{key:"2a98a774ac55974e188dcb72934f6f357a4ea79d",class:"batch-actions-label",typography:"label"},this.t.get("batchActions")),e("mds-badge",{key:"388c23091c6782ddc3f762024e0acbfeed04c43c",label:`${this.selectedRows.length}`,variant:"dark",tone:"outline",typography:"label"})),e("slot",{key:"76185b957f323725130b1526fc4bce1b27258479",name:"batch-action"}))))}get host(){return s(this)}static get watchers(){return{interactive:[{onTableInteractive:0}],selectable:[{onTableSelectable:0}]}}};v.style='@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))),:is(mds-table-body,mds-table-footer,mds-table-header):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-table-transition-duration:var(--duration-300,.3s);--private-table-transition-duration:var(--mds-table-transition-duration);--mds-table-actions-gap:calc(var(--spacing,.0025rem)*200);--mds-table-background-alt:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));--mds-table-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-table-border-color:rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219)));--mds-table-border-width:calc(var(--spacing,.0025rem)*50);--mds-table-cell-padding:calc(var(--spacing,.0025rem)*400);--mds-table-color-alt:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-table-separator-color:rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219)));--mds-table-batch-actions-width:calc(var(--spacing,.0025rem)*4800);--private-cell-border-color:var(--mds-table-separator-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))));--private-cell-border-width:var(--mds-table-border-width);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-background-alt);border-color:var(--mds-table-border-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))));border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);border:var(--mds-table-border-width) solid var(--mds-table-border-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))))!important;display:flex;overflow:hidden;transition-duration:var(--duration-200,.2s);transition-property:background-color,border-color,color}.table-wrapper{background-color:rgb(var(--magma-surface-sunken,var(--surface-neutral-sunken,232 232 232)));corner-shape:inherit;display:flex;overflow:auto;width:100%}.table{border-collapse:initial;border-spacing:0;width:100%}.batch-actions-wrapper{corner-shape:inherit;display:flex;flex-shrink:0;max-width:0;transition-duration:var(--private-table-transition-duration);transition-property:max-width;transition-timing-function:var(--ease-in-out-circ,cubic-bezier(.785,.135,.15,.86));width:100%}.batch-actions-wrapper--has-selected-rows{max-width:var(--mds-table-batch-actions-width)}.batch-actions-header{align-items:center;display:flex;justify-content:space-between;padding:calc(var(--spacing,.0025rem)*300)}.batch-actions{background-color:var(--mds-table-background);border-left:var(--mds-table-border-width) solid var(--mds-table-separator-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))));box-sizing:border-box;display:grid;flex-grow:1;gap:calc(var(--spacing,.0025rem)*50);grid-auto-rows:min-content;grid-template-columns:repeat(1,minmax(1px,100%));min-width:var(--mds-table-batch-actions-width);padding:calc(var(--mds-table-cell-padding)/2);width:100%}::slotted([slot=batch-action]){justify-content:start;width:100%}:host([selection]:not([selection=false])){--mds-table-body-background:var(--mds-table-body-background-hover)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-transition-duration:0s}:host([pref-contrast=more][pref-mode=dark]){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-transition-duration:0s}}@media (prefers-contrast:more){:host([pref-contrast=system][pref-mode=dark]){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}@media (prefers-color-scheme:dark){:host([pref-contrast=more][pref-mode=system]){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}@media (prefers-contrast:more) and (prefers-color-scheme:dark){:host([pref-contrast=system][pref-mode=system]){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}';export{v as mds_table}
|
|
1
|
+
import{r as t,d as a,h as e,e as r,g as s,B as i}from"./p-CvLLN-QH.js";import{c as o}from"./p-ChV9xqsO.js";import{L as d}from"./p-OafT80hV.js";import{p as n}from"./p-iX3kcwYg.js";import{h as l,o as c}from"./p-AEckDMXh.js";var h={batchActions:"Επιλεγμένα στοιχεία"},b={batchActions:"Selected items"},m={batchActions:"Elementos seleccionados"},u={batchActions:"Elementi selezionati"};const v=class{constructor(e){t(this,e),this.selectionEvent=a(this,"mdsTableSelectionChange",7),this.hasBatchActions=!1,this.cellsWidth=0,this.selectedRows=[],this.t=new d({el:h,en:b,es:m,it:u}),this.sorting="internal",this.selectionQueued=!1,this.updateInteractive=()=>{var t;this.body&&(this.body.interactive=this.interactive),null===(t=this.rows)||void 0===t||t.forEach((t=>{t.interactive=this.interactive}))},this.updateCellsSize=()=>{var t,a;const e=null===(t=this.rows)||void 0===t?void 0:t[0];if(!e)return;const r=e.querySelectorAll("mds-table-cell"),s=null===(a=e.shadowRoot)||void 0===a?void 0:a.querySelector(".selection-cell");this.cellsWidth=null!=s?s.offsetWidth:0,r.forEach((t=>{this.cellsWidth+=t.offsetWidth}))},this.hasActions=()=>(this.updateCellsSize(),null!==this.host.querySelector('mds-table-row > [slot="action"]')),this.handleSelection=()=>{var t;null===(t=this.rows)||void 0===t||t.forEach((t=>{t.selectable=this.selectable}))},this.watchActions=()=>{var t;if(i.isBrowser){if(!this.scrollWrapper){const a=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".table-wrapper");if(!a)return;this.scrollWrapper=a,this.scrollWrapper.addEventListener("scroll",this.handleActions),this.resizeObserver=new ResizeObserver(this.handleActions),this.resizeObserver.observe(this.host)}this.handleActions()}},this.handleActions=()=>{var t;if(!this.scrollWrapper)return;this.updateCellsSize();const a=this.scrollWrapper.offsetWidth+this.scrollWrapper.scrollLeft<this.cellsWidth;null===(t=this.rows)||void 0===t||t.forEach((t=>{t.overlayActions=a}))},this.querySlottedElements=()=>{var t;this.body=this.host.querySelector("mds-table-body"),this.footer=this.host.querySelector("mds-table-footer"),this.header=this.host.querySelector("mds-table-header"),this.rows=this.host.querySelectorAll("mds-table-row"),this.body&&(null===(t=this.tableBodyObserver)||void 0===t||t.observe(this.body,{childList:!0}))},this.updateBatchActions=()=>{this.hasBatchActions=l(this.host,"batch-action")},this.updateSlottedElements=()=>{this.querySlottedElements(),this.updateInteractive(),this.handleSelection(),this.updateActions()}}onTableInteractive(){this.updateInteractive()}onTableSelectable(t){this.handleSelection(),this.header&&(this.header.selectable=t),this.footer&&(this.footer.selectable=t)}async updateSelection(){var t;this.selectable&&this.rows&&(this.selectionQueued||(this.selectionQueued=!0,await Promise.resolve(),this.selectionQueued=!1,this.selectedRows=[],this.rows.forEach(((t,a)=>{t.selected&&this.selectedRows.push({index:a,value:t.value})})),this.selectionEvent.emit({rows:this.selectedRows}),null===(t=this.header)||void 0===t||t.setSelection(this.selectedRows.length,this.rows.length),this.selection=this.selectedRows.length>0,this.body&&(this.body.selection=this.selection),this.rows.forEach((t=>{t.selection=this.selection}))))}async updateActions(){var t,a;const e=this.hasActions();null===(a=null===(t=this.header)||void 0===t?void 0:t.setActions)||void 0===a||a.call(t,e),e&&this.watchActions()}async selectAll(t=!0){this.selectable&&this.rows&&(this.rows.forEach((a=>{a.selected=t})),this.updateSelection())}componentWillLoad(){this.updateBatchActions(),c(this.host,this.updateBatchActions),"undefined"!=typeof MutationObserver&&(this.tableBodyObserver=new MutationObserver((()=>{this.updateSlottedElements()}))),this.querySlottedElements()}componentDidLoad(){this.footer&&(this.footer.selectable=this.selectable),this.header&&(this.header.selectable=this.selectable),this.updateActions()}connectedCallback(){this.updateActions()}disconnectedCallback(){var t,a,e;null===(t=this.scrollWrapper)||void 0===t||t.removeEventListener("scroll",this.handleActions),null===(a=this.resizeObserver)||void 0===a||a.disconnect(),this.scrollWrapper=void 0,this.resizeObserver=void 0,null===(e=this.tableBodyObserver)||void 0===e||e.disconnect()}render(){return e(r,{key:"e6ab8433eed2dc04dcb97df111218f0aa63b5025","pref-animation":n.state.animation,"pref-contrast":n.state.contrast,"pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},e("div",{key:"f6c87a4745841c671b42a01e98c533e76edb573f",class:"table-wrapper",part:"table-wrapper"},e("table",{key:"83d516efd6d2d0d89a1a3aa1fcd9835a735e570f",class:o("table",this.interactive&&"table--interactive"),role:"table",part:"table"},e("slot",{key:"4fb2e3513bc6bd38a68fdec674df5f1813ea5378",onSlotchange:this.updateSlottedElements}))),this.selectable&&this.hasBatchActions&&e("div",{key:"27d0b38e66868bcd5fa9d427a7b5bc1da8bd3677",class:o("batch-actions-wrapper",this.selectedRows.length>0?"batch-actions-wrapper--has-selected-rows":""),part:"batch-actions-wrapper"},e("div",{key:"92019bf44ffd9e1cc344334819275799d7fddfdf",class:"batch-actions",part:"batch-actions"},e("div",{key:"f08dbeabda36fb0c6e500d829392551be069672d",class:"batch-actions-header"},e("mds-text",{key:"0e8ba77dc8cfaf3f060b6c0915330f5dade63391",class:"batch-actions-label",typography:"label"},this.t.get("batchActions")),e("mds-badge",{key:"7773cede1049f6253b1e7ccee48040e3989ffdc7",label:`${this.selectedRows.length}`,variant:"dark",tone:"outline",typography:"label"})),e("slot",{key:"0fc8b9ddc57414a297eb68f83addbdd7e26466d3",name:"batch-action"}))))}get host(){return s(this)}static get watchers(){return{interactive:[{onTableInteractive:0}],selectable:[{onTableSelectable:0}]}}};v.style='@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))),:is(mds-table-body,mds-table-footer,mds-table-header):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-table-transition-duration:var(--duration-300,.3s);--private-table-transition-duration:var(--mds-table-transition-duration);--mds-table-actions-gap:calc(var(--spacing,.0025rem)*200);--mds-table-background-alt:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));--mds-table-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-table-border-color:rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219)));--mds-table-border-width:calc(var(--spacing,.0025rem)*50);--mds-table-cell-padding:calc(var(--spacing,.0025rem)*400);--mds-table-color-alt:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-table-separator-color:rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219)));--mds-table-batch-actions-width:calc(var(--spacing,.0025rem)*4800);--private-cell-border-color:var(--mds-table-separator-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))));--private-cell-border-width:var(--mds-table-border-width);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-background-alt);border-color:var(--mds-table-border-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))));border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);border:var(--mds-table-border-width) solid var(--mds-table-border-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))))!important;display:flex;overflow:hidden;transition-duration:var(--duration-200,.2s);transition-property:background-color,border-color,color}.table-wrapper{background-color:rgb(var(--magma-surface-sunken,var(--surface-neutral-sunken,232 232 232)));corner-shape:inherit;display:flex;overflow:auto;width:100%}.table{border-collapse:initial;border-spacing:0;width:100%}.batch-actions-wrapper{corner-shape:inherit;display:flex;flex-shrink:0;max-width:0;transition-duration:var(--private-table-transition-duration);transition-property:max-width;transition-timing-function:var(--ease-in-out-circ,cubic-bezier(.785,.135,.15,.86));width:100%}.batch-actions-wrapper--has-selected-rows{max-width:var(--mds-table-batch-actions-width)}.batch-actions-header{align-items:center;display:flex;justify-content:space-between;padding:calc(var(--spacing,.0025rem)*300)}.batch-actions{background-color:var(--mds-table-background);border-left:var(--mds-table-border-width) solid var(--mds-table-separator-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))));box-sizing:border-box;display:grid;flex-grow:1;gap:calc(var(--spacing,.0025rem)*50);grid-auto-rows:min-content;grid-template-columns:repeat(1,minmax(1px,100%));min-width:var(--mds-table-batch-actions-width);padding:calc(var(--mds-table-cell-padding)/2);width:100%}::slotted([slot=batch-action]){justify-content:start;width:100%}:host([selection]:not([selection=false])){--mds-table-body-background:var(--mds-table-body-background-hover)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-transition-duration:0s}:host([pref-contrast=more][pref-mode=dark]){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-transition-duration:0s}}@media (prefers-contrast:more){:host([pref-contrast=system][pref-mode=dark]){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}@media (prefers-color-scheme:dark){:host([pref-contrast=more][pref-mode=system]){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}@media (prefers-contrast:more) and (prefers-color-scheme:dark){:host([pref-contrast=system][pref-mode=system]){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}';export{v as mds_table}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,d as e,h as r,e as a,g as o}from"./p-CvLLN-QH.js";import{K as s}from"./p-CGrPq3C4.js";import{p as i}from"./p-iX3kcwYg.js";import{i as n,a as l}from"./p-B7RVWU-q.js";import{u as d}from"./p-Cvhn9asj.js";import{L as c}from"./p-OafT80hV.js";var m={result:"{{count}} αποτέλεσμα",results:"{{count}} αποτελέσματα"},u={result:"{{count}} result",results:"{{count}} results"},h={result:"{{count}} resultado",results:"{{count}} resultados"},f={result:"{{count}} risultato",results:"{{count}} risultati"};const p=class{constructor(r){t(this,r),this.selectedEvent=e(this,"mdsFilterItemSelect",7),this.km=new s,this.t=new c({el:m,en:u,es:h,it:f}),this.isFilter=()=>null!==this.element.closest("mds-filter"),this.toggle=()=>{!this.disabled&&this.isFilter()&&(this.selected=!this.selected,this.selectedEvent.emit({id:this.element.id,selected:this.selected}))},this.computeName=()=>{var t,e,r;const a=null!==(t=this.icon)&&void 0!==t?t:"",o=""===a||n(a)||l(a)?void 0:d(a),s=""!==(null!==(e=this.label)&&void 0!==e?e:"")?this.label:o,i=null!==(r=this.count)&&void 0!==r?r:"";return void 0===s||""===i?s:`${s}, ${this.t.get(1===Number(i)?"result":"results",{count:i})}`},this.resolveName=()=>{const t=this.computeName(),e=this.element.getAttribute("aria-label");return null!==e&&e!==this.appliedName&&e!==t?e:(this.appliedName=t,t)}}componentDidLoad(){this.km.addElement(this.element),this.km.attachClickBehavior("element",{space:!0})}disconnectedCallback(){this.km.detachClickBehavior()}render(){return r(a,{key:"
|
|
1
|
+
import{r as t,d as e,h as r,e as a,g as o}from"./p-CvLLN-QH.js";import{K as s}from"./p-CGrPq3C4.js";import{p as i}from"./p-iX3kcwYg.js";import{i as n,a as l}from"./p-B7RVWU-q.js";import{u as d}from"./p-Cvhn9asj.js";import{L as c}from"./p-OafT80hV.js";var m={result:"{{count}} αποτέλεσμα",results:"{{count}} αποτελέσματα"},u={result:"{{count}} result",results:"{{count}} results"},h={result:"{{count}} resultado",results:"{{count}} resultados"},f={result:"{{count}} risultato",results:"{{count}} risultati"};const p=class{constructor(r){t(this,r),this.selectedEvent=e(this,"mdsFilterItemSelect",7),this.km=new s,this.t=new c({el:m,en:u,es:h,it:f}),this.isFilter=()=>null!==this.element.closest("mds-filter"),this.toggle=()=>{!this.disabled&&this.isFilter()&&(this.selected=!this.selected,this.selectedEvent.emit({id:this.element.id,selected:this.selected}))},this.computeName=()=>{var t,e,r;const a=null!==(t=this.icon)&&void 0!==t?t:"",o=""===a||n(a)||l(a)?void 0:d(a),s=""!==(null!==(e=this.label)&&void 0!==e?e:"")?this.label:o,i=null!==(r=this.count)&&void 0!==r?r:"";return void 0===s||""===i?s:`${s}, ${this.t.get(1===Number(i)?"result":"results",{count:i})}`},this.resolveName=()=>{const t=this.computeName(),e=this.element.getAttribute("aria-label");return null!==e&&e!==this.appliedName&&e!==t?e:(this.appliedName=t,t)}}componentDidLoad(){this.km.addElement(this.element),this.km.attachClickBehavior("element",{space:!0})}disconnectedCallback(){this.km.detachClickBehavior()}render(){return r(a,{key:"695616e7d403f01a28c368f5511fd0664f4d8ba4",tabindex:this.disabled?"-1":"0",role:"button","aria-disabled":this.disabled?"true":void 0,"aria-label":this.resolveName(),"aria-pressed":this.isFilter()?this.selected?"true":"false":void 0,onClick:this.toggle,"pref-animation":i.state.animation,"pref-contrast":i.state.contrast,"pref-mode":i.state.mode,"pref-theme-scheme":i.state["theme-scheme"]},this.icon&&r("mds-icon",{key:"80c99cbbdbcdcb1328c12ece845a6116b623cacf","aria-hidden":"true",name:this.icon}),this.label&&r("mds-text",{key:"1f743ee11b605d6ac816c08a9d07a75ee20dff3c","aria-hidden":"true",variant:"info",typography:"caption"},this.label),this.count&&r("div",{key:"0b43d0c41b730a94e8309b7be1619a343a517018",class:"count"},r("mds-text",{key:"9e31474c8b583167d5086f23350a35e54cff7e74","aria-hidden":"true",variant:"info",typography:"option"},this.count)))}get element(){return o(this)}};p.style="@layer reset,vendor,theme,base,components,utilities;@keyframes focus-bounce{0%,75%,to{outline-offset:var(--magma-outline-focus-offset,2px)}50%{outline-offset:var(--magma-outline-blur-offset,6px)}}:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-filter-item-transition-duration:var(--duration-200,.2s);--private-filter-item-transition-duration:var(--mds-filter-item-transition-duration);--mds-filter-item-count-background-default:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-filter-item-count-color-default:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-filter-item-count-background-selected:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-filter-item-count-color-selected:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));align-items:center;animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--magma-radius-full,var(--radius-full,1000px));color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));cursor:pointer;display:flex;fill:currentColor;gap:calc(var(--spacing,.0025rem)*100);justify-content:center;outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));padding:calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*400);transition-duration:.2s;transition-duration:var(--private-filter-item-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-property:background-color,box-shadow,color,outline,outline-offset;transition-timing-function:ease-in-out;transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));-webkit-user-select:none;user-select:none;white-space:nowrap}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}mds-text{white-space:nowrap}.count{align-items:center;background-color:var(--mds-filter-item-count-background-default,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));box-sizing:border-box;color:var(--mds-filter-item-count-color-default,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));display:inline-flex;flex-shrink:0;height:calc(var(--spacing,.0025rem)*400);justify-content:center;min-width:calc(var(--spacing,.0025rem)*400);padding-left:calc(var(--spacing,.0025rem)*150);padding-right:calc(var(--spacing,.0025rem)*150);transition-duration:var(--duration-200,.2s);transition-property:background-color,color;transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));-webkit-user-select:none;user-select:none}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host([disabled]:not([disabled=false])){color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));pointer-events:none}:host([icon]:not([label])){height:calc(var(--spacing,.0025rem)*900);padding:0;width:calc(var(--spacing,.0025rem)*900)}:host(:hover),:host([selected]:not([selected=false])){background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)))}:host(:hover){box-shadow:var(--shadow-sm,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a)}:host([selected]:not([selected=false])){color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([selected]:not([selected=false])) .count{background-color:var(--mds-filter-item-count-background-selected,rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73))));color:var(--mds-filter-item-count-color-selected,rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255))))}: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-filter-item-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){background-color:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([selected]:not([selected=false])){background-color:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host(:hover){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]):host(:hover),:host([pref-contrast=more]):host([selected]:not([selected=false])){box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}@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-filter-item-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){background-color:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([selected]:not([selected=false])){background-color:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host(:hover){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host(:hover),:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([selected]:not([selected=false])){box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}}";export{p as mds_filter_item}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
System.register(["./p-BZP13mns.system.js","./p-BeNKMPXR.system.js","./p-C61qxZLH.system.js","./p-Qrub-hmK.system.js","./p-CZuIEo2v.system.js","./p-CuHZXISO.system.js","./p-nFkaC8l_.system.js","./p-B-nayZ3E.system.js","./p-sm_-_oFY.system.js","./p-mGgjNqBm.system.js"],(function(
|
|
1
|
+
System.register(["./p-BZP13mns.system.js","./p-BeNKMPXR.system.js","./p-C61qxZLH.system.js","./p-Qrub-hmK.system.js","./p-CZuIEo2v.system.js","./p-CuHZXISO.system.js","./p-nFkaC8l_.system.js","./p-B-nayZ3E.system.js","./p-sm_-_oFY.system.js","./p-mGgjNqBm.system.js"],(function(n){"use strict";var e,a,i,t,s,r,d,m,u;return{setters:[function(n){e=n.r;a=n.h;i=n.e;t=n.g},function(n){s=n.b},function(n){r=n.m},function(n){d=n.c},function(n){m=n.B},function(n){u=n.L},null,null,null,null],execute:function(){var o='<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 l="Κλείσιμο μενού";var c="Άνοιγμα μενού";var f={closeMenu:l,openMenu:c};var h="Close menu";var v="Open menu";var g={closeMenu:h,openMenu:v};var p="Cerrar el menú";var b="Abrir el menú";var y={closeMenu:p,openMenu:b};var x="Chiudi il menu";var k="Apri il menu";var w={closeMenu:x,openMenu:k};var z=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 C=n("mds_radial_menu",/** @class */function(){function n(n){var a=this;e(this,n);this.t=new u({el:f,en:g,es:y,it:w});this.backdropController=new m("mds-radial-menu-backdrop");
|
|
2
2
|
/**
|
|
3
3
|
* Specifies the direction of the menu elements
|
|
4
4
|
*/this.direction="clockwise";
|
|
@@ -16,10 +16,10 @@ System.register(["./p-BZP13mns.system.js","./p-BeNKMPXR.system.js","./p-C61qxZLH
|
|
|
16
16
|
*/this.tone="strong";
|
|
17
17
|
/**
|
|
18
18
|
* Specifies the size for the button
|
|
19
|
-
*/this.size="lg";this.toggleMenu=function(){if(a.opened===true){a.opened=undefined;return}a.opened=true};this.setItemSize=function(){var
|
|
19
|
+
*/this.size="lg";this.toggleMenu=function(){if(a.opened===true){a.opened=undefined;return}a.opened=true};this.setItemSize=function(){var n;(n=a.items)===null||n===void 0?void 0:n.forEach((function(n){n.size=a.size}))};this.setItemIndex=function(){a.items.forEach((function(n,e){n.style.setProperty("--mds-radial-menu-item-index",e.toString())}))};
|
|
20
20
|
// a geometry prop writes its custom property inline only while it is set: without it the menu
|
|
21
21
|
// takes the value a stylesheet gives the property, or the default of the component
|
|
22
|
-
this.writeGeometry=function(e,
|
|
22
|
+
this.writeGeometry=function(n,e,i){if(typeof e!=="number"||!Number.isFinite(e)){a.hostElement.style.removeProperty(n);return}a.hostElement.style.setProperty(n,"".concat(e).concat(i))};this.updateItems=function(){a.items=s(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(
|
|
25
|
+
this.handleOutsideClick=function(n){if(n.composedPath().includes(a.hostElement))return;a.opened=undefined};this.handleEscape=function(n){var e,i;if(n.key!=="Escape")return;var t=a.hostElement.matches(":focus-within");a.opened=undefined;if(t&&a.interaction==="click"){(i=(e=a.hostElement.shadowRoot)===null||e===void 0?void 0:e.querySelector(".menu-button"))===null||i===void 0?void 0:i.focus()}};this.listenOutside=function(n){if(typeof document==="undefined")return;document.removeEventListener("click",a.handleOutsideClick);document.removeEventListener("keydown",a.handleEscape);if(!n)return;document.addEventListener("click",a.handleOutsideClick);document.addEventListener("keydown",a.handleEscape)};this.toggleRightClickMenu=function(n){n.preventDefault();a.hostElement.style.top="".concat(n.clientY-a.hostElement.offsetHeight/2,"px");a.hostElement.style.left="".concat(n.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()}}n.prototype.componentWillLoad=function(){var n;this.icon=(n=this.icon)!==null&&n!==void 0?n:o;this.onAngleStartChange(this.angleStart);this.onAngleEndChange(this.angleEnd);this.onRadiusChange(this.radius);this.onSizeChange()};n.prototype.componentDidLoad=function(){this.updateItems();this.onOpenedChange(this.opened);this.onInteractionChange(this.interaction)};n.prototype.disconnectedCallback=function(){if(typeof document==="undefined")return;document.removeEventListener("contextmenu",this.toggleRightClickMenu);this.listenOutside(false)};n.prototype.onDiscChanged=function(n){if(n===false){this.disc=undefined}};n.prototype.backdropChanged=function(n){if(n===false){this.backdrop=undefined}this.handleBackdrop()};n.prototype.onInteractionChange=function(n){if(typeof document==="undefined")return;if(n==="rightclick"){document.addEventListener("contextmenu",this.toggleRightClickMenu);return}document.removeEventListener("contextmenu",this.toggleRightClickMenu)};n.prototype.onAngleStartChange=function(n){this.writeGeometry("--mds-radial-menu-angle-start",n,"deg")};n.prototype.onAngleEndChange=function(n){this.writeGeometry("--mds-radial-menu-angle-end",n,"deg")};n.prototype.onRadiusChange=function(n){this.writeGeometry("--mds-radial-menu-radius",n,"rem")};n.prototype.onSizeChange=function(){this.setItemSize()};n.prototype.onOpenedChange=function(n){if(n===false){this.opened=undefined}this.handleBackdrop();this.listenOutside(!!n)};n.prototype.render=function(){return a(i,{key:"51e55a4e17fa5fc42b9edcc43d03ae59e996b87e"},a("mds-button",{key:"0af2441f112053963df90791b468d8f830d8aa75","aria-label":this.t.get(this.opened?"closeMenu":"openMenu"),class:d("menu-button",this.interaction!=="click"&&"menu-button--hidden"),icon:this.opened?r:this.icon,tone:this.tone,variant:this.variant,size:this.size,onClick:this.toggleMenu}),a("div",{key:"a72088d0954b40d118875cdc9d51c179bb27bd9f",class:"radial-menu",part:"radial-menu"},a("slot",{key:"86510970088381adefe830406c09185933b39352",name:"item",onSlotchange:this.updateItems})),a("div",{key:"92d5766a0b632c715106e6d098be9fea0bc8770f",class:"disc"}))};Object.defineProperty(n.prototype,"hostElement",{get:function(){return t(this)},enumerable:false,configurable:true});Object.defineProperty(n,"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 n}());C.style=z()}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t,e as
|
|
1
|
+
import{r as e,h as t,e as r}from"./p-CvLLN-QH.js";import{p as a}from"./p-iX3kcwYg.js";const i=class{constructor(t){e(this,t)}render(){return t(r,{key:"fd780347090550a18136e4969079e1e07606cfbc","pref-animation":a.state.animation,"pref-contrast":a.state.contrast,"pref-mode":a.state.mode,"pref-theme-scheme":a.state["theme-scheme"]},t("div",{key:"fac623347dd8aacf34f305b79e509899a6e0f6bf",class:"table-wrapper"},this.label&&t("header",{key:"7c9e3b8030f64bb02e793d21dbe1142a3025f6b3",part:"header"},t("mds-text",{key:"978b0a219f520271b370a5c465e01b30e2fe28de",typography:"detail"},t("b",{key:"f6038de8f324d7d355f16006fbcf8d09be349b39"},this.label))),t("table",{key:"2077b36b6c979c8e96e30989ff7cb2437d189844"},t("tbody",{key:"47912a9ae06c7db2b41db658272e70ce0b99f20e"},t("slot",{key:"91e19e971ebe3dcc5b36dccb9acb1d37a8cb3a8d"})))))}};i.style='@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}}';export{i as mds_price_table_features}
|
|
@@ -31,7 +31,7 @@ this.clampedProgress=function(){var r=Number(s.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 s(e,{key:"
|
|
34
|
+
r.prototype.ariaHiddenChanged=function(){this.leftOut=this.element.getAttribute("aria-hidden")==="true"};r.prototype.render=function(){return s(e,{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":o.state.animation,"pref-contrast":o.state.contrast,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},this.direction==="radial"?s("mds-radial-progress",{"aria-hidden":"true",progress:this.clampedProgress(),part:"radial-progress",typography:this.typography,variant:this.variant}):s("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 t(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}());m.style=n();var d=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 g=r("mds_radial_progress",/** @class */function(){function r(r){var s=this;a(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(s.rafId!==null){cancelAnimationFrame(s.rafId);s.rafId=null}};this.animateTo=function(r){var a=s.clampProgress(r);var e=s.animatedProgress;s.stopAnimation();if(i()){s.animatedProgress=a;return}var t=500;var o=performance.now();var n=function(r){var i=Math.min(1,(r-o)/t);var m=s.easeOutExpo(i);s.animatedProgress=e+(a-e)*m;if(i<1)s.rafId=requestAnimationFrame(n);else s.rafId=null};s.rafId=requestAnimationFrame(n)}}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 s(e,{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(s.rafId!==null){cancelAnimationFrame(s.rafId);s.rafId=null}};this.animateTo=function(r){var a=s.clampProgress(r);var e=s.animatedProgress;s.stopAnimation();if(i()){s.animatedProgress=a;return}var t=500;var o=performance.now();var n=function(r){var i=Math.min(1,(r-o)/t);var m=s.easeOutExpo(i);s.animatedProgress=e+(a-e)*m;if(i<1)s.rafId=requestAnimationFrame(n);else s.rafId=null};s.rafId=requestAnimationFrame(n)}}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 s(e,{key:"c8c14e004a962629c91be2012b66fcc19c540207","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":a,role:"progressbar",style:{"--mds-radial-progress":r}},s("div",{key:"41d2cd52c56f2a77b062f60702c315e2b585b55f",class:"value-container",part:"value-container"},this.icon&&s("mds-icon",{key:"4a447ff84050ac84c3a591ae826482e841c3fbad",class:"icon",name:this.icon,part:"icon"}),s("div",{key:"73e0a6eb84ba9805fc6537efd1291ad662709277",class:"value-container__text"},s("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}());g.style=d()}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,d as a,h as i,e as r,g as t}from"./p-CvLLN-QH.js";import{a as d}from"./p-AEckDMXh.js";import{p as s}from"./p-iX3kcwYg.js";const n=class{constructor(i){e(this,i),this.closedEvent=a(this,"mdsHeaderClose",7),this.visibleEvent=a(this,"mdsHeaderVisibilityChange",7),this.relativeTresholdDown=0,this.relativePosition=0,this.relativeThresholdUp=0,this.sanitizedAppearance=["stripe"],this.appearanceThreshold=300,this.appearance="stripe",this.hideBackdrop=!1,this.menu="mobile",this.nav="desktop",this.threshold=1,this.visibility="visible",this.mobileMenu=()=>d(this.host,"menu"),this.close=()=>{this.isOpened=!1,this.closedEvent.emit({bar:this.headerBar}),this.headerBar.setOpened(!1)},this.getAutoHide=()=>{var e;const a=null!==(e=this.autoHide)&&void 0!==e?e:0;return Number.isNaN(a)?0:a},this.handleVisibility=()=>{const e=this.getAutoHide();if(0!==e){if(window.scrollY<e)return this.visibility="visible",this.relativeThresholdUp=0,this.relativeTresholdDown=0,void(this.relativePosition=0);this.relativeTresholdDown-window.scrollY<=0&&(this.visibility="hidden",this.relativePosition=this.relativeTresholdDown),this.relativeThresholdUp-window.scrollY>=this.threshold&&(this.visibility="visible",this.relativeThresholdUp=window.scrollY,this.relativePosition=this.relativeThresholdUp),this.relativePosition<e&&e-window.scrollY<=0&&(this.visibility="hidden",this.relativePosition=e),window.scrollY>this.relativeThresholdUp?this.relativeThresholdUp=window.scrollY:this.relativeTresholdDown=window.scrollY+this.threshold}},this.sanitizeAppearance=()=>{var e;const a=null!==(e=this.appearanceSet)&&void 0!==e?e:"";if(""===a)return[this.appearance];return a.match(/\b(\w+)\b/g)||[this.appearance]},this.handleAppearance=()=>{var e,a;this.appearance=window.scrollY>=this.appearanceThreshold?null!==(e=this.sanitizedAppearance[1])&&void 0!==e?e:this.appearance:null!==(a=this.sanitizedAppearance[0])&&void 0!==a?a:this.appearance},this.handleScroll=()=>{"undefined"!=typeof window&&(0!==this.getAutoHide()&&this.handleVisibility(),this.sanitizedAppearance.length>1&&this.handleAppearance())},this.setAppearanceSetData=()=>{this.sanitizedAppearance=this.sanitizeAppearance(),void 0===this.sanitizedAppearance[2]||0===this.sanitizedAppearance[2]||Number.isNaN(this.sanitizedAppearance[2])||(this.appearanceThreshold=this.sanitizedAppearance[2]),this.relativeTresholdDown=this.threshold},this.initScrollListener=()=>{"undefined"!=typeof window&&(this.setAppearanceSetData(),window.addEventListener("scroll",this.handleScroll))},this.barMenu=e=>this.hasMenu?e:"none",this.defineHeaderBar=()=>{this.headerBar=this.host.querySelector("mds-header-bar")}}async setOpened(e=!0){this.isOpened=e}disconnectedCallback(){"undefined"!=typeof window&&window.removeEventListener("scroll",this.handleScroll)}componentWillLoad(){this.hasMenu=null!==this.mobileMenu()}componentDidLoad(){this.defineHeaderBar(),this.onMenuChangedHandler(this.menu),this.onNavChangedHandler(this.nav),this.initScrollListener()}onMenuChangedHandler(e,a){e!==a&&null!=this.headerBar&&(this.headerBar.menu=this.barMenu(e))}onNavChangedHandler(e,a){e!==a&&null!=this.headerBar&&(this.headerBar.nav=e)}onAppearanceSetChangedHandler(){this.setAppearanceSetData()}handleVisibilityChange(e,a){e!==a&&this.visibleEvent.emit({visibility:e})}render(){return i(r,{key:"1c9b541026a352fbf0374baab7f4942d8357ed52","pref-consumption":s.state.consumption,"pref-mode":s.state.mode,"pref-theme-scheme":s.state["theme-scheme"]},!this.hideBackdrop&&i("div",{key:"693bb1e4e21285f14f3c71aff6ef7065018a726d",class:"backdrop"},i("div",{key:"7e47c68aa630f3b45623ff8c896a8e80ea31d065",class:"backdrop-blur-item"}),i("div",{key:"02af2445ee96e32d48fde41a26c48e3485b946c8",class:"backdrop-blur-item"}),i("div",{key:"ccff5262eb49ebc06a49a397588a50cee615e045",class:"backdrop-blur-item"}),i("div",{key:"017cdfaeebee4b703ad7e85894d223a30a57ad0f",class:"backdrop-blur-item"}),i("div",{key:"43196e7691dd1ed8bdfbea25362a381ca8694790",class:"backdrop-blur-item"}),i("div",{key:"e701eb9f1709363d27bfbb7193ad738d8147a526",class:"backdrop-blur-item"}),i("div",{key:"6db3e6662c960556f23228164a66f588b542c98f",class:"backdrop-blur-item"}),i("div",{key:"1f6361883e05a84f34142b4917f09622269cb1ec",class:"backdrop-blur-item"}),i("div",{key:"a8a241231da52bd0336f2a3947a690823f108599",class:"backdrop-blur-item"}),i("div",{key:"49c9638578c3ed4121fd9ad88dddfae9279f39b7",class:"backdrop-blur-item"})),i("slot",{key:"93a68cace1a1d74d22e3a989baabe03504274ef4"}),this.hasMenu&&i("div",{key:"5f3867a6b22e75359792875a6455f8c69078e52b",class:"menu",part:"menu"},i("mds-modal",{key:"e6f53fdda6d8a970e1071fbd82447c7a65adf208",class:"modal",opened:this.isOpened,onMdsModalClose:this.close,position:"right"},i("slot",{key:"2fa584fac9915ee07d054cfa6daa34cf061e71ea",name:"menu"}))))}get host(){return t(this)}static get watchers(){return{menu:[{onMenuChangedHandler:0}],nav:[{onNavChangedHandler:0}],appearanceSet:[{onAppearanceSetChangedHandler:0}],visibility:[{handleVisibilityChange:0}]}}};n.style='@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-modal: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-header-hidden-bar-translate-inline:translateY(-150%);--mds-header-hidden-bar-translate-stripe:translateY(-110%);--mds-header-modal-icon-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-header-backdrop-blur-strength:calc(var(--spacing,.0025rem)*50);--mds-header-backdrop-height:calc(var(--spacing,.0025rem)*1600);--mds-header-backdrop-show:true;--mds-header-z-index:var(--magma-header-z-index,1000);--mds-header-inline-margin-mobile:calc(var(--spacing,.0025rem)*400);--mds-header-inline-margin:calc(var(--spacing,.0025rem)*600);--mds-header-backdrop-background-image:linear-gradient(to top,rgb(var(--magma-backdrop-color,0 0 0)/0),rgb(var(--magma-backdrop-color,0 0 0)/.15));--private-mask-opacity:1;color:var(--mds-header-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));display:block;fill:var(--mds-header-icon-color,var(--mds-header-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))));position:relative;z-index:var(--mds-header-z-index)}.modal{--mds-modal-close-icon-color:var(--mds-header-modal-icon-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));z-index:var(--mds-header-z-index)}:host([appearance=inline]) ::slotted(mds-header-bar){--mds-header-inline-margin-current:var(--mds-header-inline-margin,calc(var(--spacing,.0025rem)*600));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));corner-shape:var(--magma-corner-shape,squircle);margin-bottom:var(--mds-header-inline-margin-current);margin-top:var(--mds-header-inline-margin-current);max-width:var(--breakpoint-wide,1280px);width:calc(100% - var(--mds-header-inline-margin-current)*2)}:host([menu=none]) .menu{display:none}:host([visibility=hidden][appearance=stripe]) ::slotted(mds-header-bar){transform:var(--mds-header-hidden-bar-translate-stripe)}:host([visibility=hidden][appearance=inline]) ::slotted(mds-header-bar){transform:var(--mds-header-hidden-bar-translate-inline)}.backdrop{align-items:center;-webkit-backdrop-filter:blur(var(--mds-header-backdrop-blur-strength,calc(var(--spacing,.0025rem)*250)));backdrop-filter:blur(var(--mds-header-backdrop-blur-strength,calc(var(--spacing,.0025rem)*250)));background-image:var(--mds-header-backdrop-background-image);content:"";display:flex;height:var(--mds-header-backdrop-height,calc(var(--spacing,.0025rem)*1600));inset:0;opacity:1;position:fixed;transform:translate(0);transition-duration:var(--duration-200,.2s);transition-property:opacity,transform;width:100%}.backdrop-blur-item{--private-gradient-position:calc(100% - (sibling-count() - sibling-index())*5%);display:none}.backdrop-blur-item:first-child{--private-gradient-position:100%}.backdrop-blur-item:nth-child(2){--private-gradient-position:95%}.backdrop-blur-item:nth-child(3){--private-gradient-position:90%}.backdrop-blur-item:nth-child(4){--private-gradient-position:85%}.backdrop-blur-item:nth-child(5){--private-gradient-position:80%}.backdrop-blur-item:nth-child(6){--private-gradient-position:75%}.backdrop-blur-item:nth-child(7){--private-gradient-position:70%}.backdrop-blur-item:nth-child(8){--private-gradient-position:65%}.backdrop-blur-item:nth-child(9){--private-gradient-position:60%}.backdrop-blur-item:nth-child(10){--private-gradient-position:55%}.backdrop-blur-item:nth-child(11){--private-gradient-position:50%}@supports ((-webkit-mask-image:linear-gradient(rgb(0 0 0/1),transparent)) or (mask-image:linear-gradient(rgb(0 0 0/1),transparent))){.backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;background-image:none}.backdrop-blur-item{-webkit-backdrop-filter:blur(var(--mds-header-backdrop-blur-strength,1px));backdrop-filter:blur(var(--mds-header-backdrop-blur-strength,1px));display:flex;inset:0;-webkit-mask-image:linear-gradient(to bottom,rgb(0 0 0/var(--private-mask-opacity,1)) 40%,#0000 var(--private-gradient-position,100%));mask-image:linear-gradient(to bottom,rgb(0 0 0/var(--private-mask-opacity,1)) 40%,#0000 var(--private-gradient-position,100%));pointer-events:none;position:absolute}}:host([appearance=inline]) .backdrop{transform:translate(0)}:host([appearance=stripe]) .backdrop,:host([visibility=hidden]) .backdrop{--mds-header-backdrop-blur-strength:0px;transform:translateY(-100%)}@container style(--mds-header-backdrop-show:false){.backdrop{display:none}}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-header-modal-icon-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([pref-consumption=high]) .backdrop{--mds-header-backdrop-background-image:none}:host([pref-consumption=medium]) .backdrop{--mds-header-backdrop-blur-strength:1px}:host([pref-consumption=low]) .backdrop{--mds-header-backdrop-blur-strength:0px;display:none}@media (max-width:767px){:host([appearance=inline]) ::slotted(mds-header-bar){--mds-header-inline-margin-current:var(--mds-header-inline-margin-mobile,calc(var(--spacing,.0025rem)*400))}}@media not all and (min-width:768px){:host([menu=desktop]) .menu{display:none}}@media (min-width:1024px){:host([menu=mobile]) .menu{display:none}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-header-modal-icon-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}';export{n as mds_header}
|
|
@@ -7,4 +7,4 @@ System.register(["./p-BZP13mns.system.js"],(function(t){"use strict";var i,n,a;r
|
|
|
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 n(a,{key:"
|
|
10
|
+
*/this.size="lg"}t.prototype.render=function(){return n(a,{key:"025b912eb4613ba3288d8e5ee4d7993f3e455ad5",slot:"item"},n("mds-button",{key:"7ada9de8188be564f28e09f1a4b038724d8ab977","aria-label":this.tooltip,class:"button",icon:this.icon,variant:this.variant,tone:this.tone,size:this.size}),this.tooltip&&n("mds-tooltip",{key:"595aedb28b1075a3d31a78d7f4a75a20bd3c4d1d",class:"tooltip",target:".button",placement:"top",disableAutoPlacement:true},this.tooltip))};return t}());s.style=e()}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as a,e as i,g as t}from"./p-CvLLN-QH.js";import{L as s}from"./p-OafT80hV.js";import"./p-iX3kcwYg.js";var o={reloadPageToSeeChanges:"Πρέπει να ανανεώσετε τη σελίδα για να δείτε όλες τις αλλαγές, διαφορετικά θα είναι ορατές μόνο για τα πρόσφατα μεταφορτωμένα στοιχεία."},n={reloadPageToSeeChanges:"You must refresh the page to see all changes, or they will only be visible for new items uploaded."},r={reloadPageToSeeChanges:"Es necesario actualizar la página para ver todos los cambios, o solo serán visibles para los nuevos elementos cargados."},d={reloadPageToSeeChanges:"È necessario aggiornare la pagina per vedere tutti i cambiamenti, oppure saranno visibili solo per i nuovi elementi caricati."};const l=new Set,h=class{constructor(a){e(this,a),this.showReload=!1,this.prefNeedsReload=["consumption","language"],this.loaded=!1,this.t=new s({el:o,en:n,es:r,it:d}),this.sizeChildren=e=>{Array.from(this.host.querySelectorAll("*")).filter((e=>e.tagName.toLowerCase().startsWith("mds-pref-"))).forEach((a=>{a.size=e}))},this.applySize=()=>{void 0!==this.size&&this.sizeChildren(this.size)},this.applySchemeLock=e=>{const a=this.host.querySelector("mds-pref-mode");a&&(a.lockedScheme="light"===e||"dark"===e?e:void 0)},this.applyInitialSchemeLock=()=>{const e=this.host.querySelector("mds-pref-theme");this.applySchemeLock(null==e?void 0:e.scheme)}}handleControllerChange(e){!1===e&&(this.controller=void 0)}handleSizeChange(e){this.sizeChildren(e)}componentWillLoad(){this.applySize()}connectedCallback(){var e;l.add(this.host),"undefined"!=typeof window&&(null===(e=document.documentElement)||void 0===e||e.setAttribute("data-magma-pref",""))}componentDidLoad(){this.loaded=!0,this.applyInitialSchemeLock()}disconnectedCallback(){var e;this.host.isConnected||(l.delete(this.host),"undefined"!=typeof window&&0===l.size&&(null===(e=document.documentElement)||void 0===e||e.removeAttribute("data-magma-pref")))}handlePrefChange(e){var a;this.loaded&&!this.controller&&this.prefNeedsReload.includes(null===(a=e.detail)||void 0===a?void 0:a.preference)&&(this.showReload=!0)}handleThemeChange(e){var a;this.applySchemeLock(null===(a=e.detail)||void 0===a?void 0:a.scheme)}render(){return a(i,{key:"
|
|
1
|
+
import{r as e,h as a,e as i,g as t}from"./p-CvLLN-QH.js";import{L as s}from"./p-OafT80hV.js";import"./p-iX3kcwYg.js";var o={reloadPageToSeeChanges:"Πρέπει να ανανεώσετε τη σελίδα για να δείτε όλες τις αλλαγές, διαφορετικά θα είναι ορατές μόνο για τα πρόσφατα μεταφορτωμένα στοιχεία."},n={reloadPageToSeeChanges:"You must refresh the page to see all changes, or they will only be visible for new items uploaded."},r={reloadPageToSeeChanges:"Es necesario actualizar la página para ver todos los cambios, o solo serán visibles para los nuevos elementos cargados."},d={reloadPageToSeeChanges:"È necessario aggiornare la pagina per vedere tutti i cambiamenti, oppure saranno visibili solo per i nuovi elementi caricati."};const l=new Set,h=class{constructor(a){e(this,a),this.showReload=!1,this.prefNeedsReload=["consumption","language"],this.loaded=!1,this.t=new s({el:o,en:n,es:r,it:d}),this.sizeChildren=e=>{Array.from(this.host.querySelectorAll("*")).filter((e=>e.tagName.toLowerCase().startsWith("mds-pref-"))).forEach((a=>{a.size=e}))},this.applySize=()=>{void 0!==this.size&&this.sizeChildren(this.size)},this.applySchemeLock=e=>{const a=this.host.querySelector("mds-pref-mode");a&&(a.lockedScheme="light"===e||"dark"===e?e:void 0)},this.applyInitialSchemeLock=()=>{const e=this.host.querySelector("mds-pref-theme");this.applySchemeLock(null==e?void 0:e.scheme)}}handleControllerChange(e){!1===e&&(this.controller=void 0)}handleSizeChange(e){this.sizeChildren(e)}componentWillLoad(){this.applySize()}connectedCallback(){var e;l.add(this.host),"undefined"!=typeof window&&(null===(e=document.documentElement)||void 0===e||e.setAttribute("data-magma-pref",""))}componentDidLoad(){this.loaded=!0,this.applyInitialSchemeLock()}disconnectedCallback(){var e;this.host.isConnected||(l.delete(this.host),"undefined"!=typeof window&&0===l.size&&(null===(e=document.documentElement)||void 0===e||e.removeAttribute("data-magma-pref")))}handlePrefChange(e){var a;this.loaded&&!this.controller&&this.prefNeedsReload.includes(null===(a=e.detail)||void 0===a?void 0:a.preference)&&(this.showReload=!0)}handleThemeChange(e){var a;this.applySchemeLock(null===(a=e.detail)||void 0===a?void 0:a.scheme)}render(){return a(i,{key:"30bd8f30a00b2455586fe367bed1f7059d97cef7"},a("slot",{key:"32d04eaa08e7758f393146d6d3100377645d70ed",onSlotchange:this.applySize}),this.showReload&&a("div",{key:"7670cfbf461d545f531357e450db72149ddba693",class:"reload-required"},a("mds-text",{key:"b35c1ad9a555600b6b461823e51f62be4309c56c",typography:"caption"},this.t.get("reloadPageToSeeChanges"))))}get host(){return t(this)}static get watchers(){return{controller:[{handleControllerChange:0}],size:[{handleSizeChange:0}]}}};h.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*400)}:host(:empty),:host([controller]){display:none}.reload-required{display:grid;gap:calc(var(--spacing,.0025rem)*200)}";export{h as mds_pref}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
System.register(["./p-BZP13mns.system.js","./p-mGgjNqBm.system.js","./p-Cwb0_qSC.system.js","./p-xn0Wyqcy.system.js"],(function(e){"use strict";var r,t,a,o,i,s;return{setters:[function(e){r=e.r;t=e.h;a=e.e},function(e){o=e.p},function(e){i=e.m},function(e){s=e.m}],execute:function(){var n=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 l=e("mds_price_table_features_cell",/** @class */function(){function e(e){r(this,e);
|
|
2
2
|
/**
|
|
3
3
|
* Specifies the support type which is represented
|
|
4
|
-
*/this.type="text"}e.prototype.render=function(){return t(a,{key:"
|
|
4
|
+
*/this.type="text"}e.prototype.render=function(){return t(a,{key:"6b664a8c9173cd1063a08e4c72254156a77010f4","pref-animation":o.state.animation,"pref-contrast":o.state.contrast,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},this.type==="supported"&&t("i",{key:"f07cbc007529c0450cae5e1de65407ad3ab9fae7",class:"icon icon--supported",innerHTML:i,part:"icon"}),this.type==="unsupported"&&t("i",{key:"38fcdaaf74473d8b1d81cd1280ef5a591b4cf3c2",class:"icon icon--unsupported",innerHTML:s,part:"icon"}),this.type==="text"&&t("mds-text",{key:"630ee8deb80284a583fd5f272f79de7d65ce0db1",part:"text",typography:"detail"},t("slot",{key:"c18c7b1c70434e0c06eaa9d5fbfad8da930cff0b"})),this.type==="custom"&&t("slot",{key:"02d281aa7df9ad04076b869a0d869ec54bf7c92b"}),this.type==="label"&&t("slot",{key:"59b84c57ff79b3f541404358bb12161513d4338a"}))};return e}());l.style=n()}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t,e as i,g as a}from"./p-CvLLN-QH.js";import{L as o}from"./p-OafT80hV.js";import{p as s}from"./p-iX3kcwYg.js";var r={actions:"Ενέργεια",selectAllRows:"Επιλογή όλων των γραμμών",selectNoneRows:"Αποεπιλογή όλων των γραμμών"},n={actions:"Action",selectAllRows:"Select all rows",selectNoneRows:"Deselect all rows"},l={actions:"Acción",selectAllRows:"Seleccionar todas las filas",selectNoneRows:"Deseleccionar todas las filas"},d={actions:"Azione",selectAllRows:"Seleziona tutte le righe",selectNoneRows:"Deseleziona tutte le righe"};const c=class{constructor(t){e(this,t),this.selectAll=!1,this.hasActions=!1,this.indeterminate=!1,this.hasSelection=!1,this.t=new o({el:r,en:n,es:l,it:d}),this.handleSelectAllChange=e=>{var t,i;this.selectAll=!!this.indeterminate||null!==(t=e.detail.checked)&&void 0!==t&&t,this.indeterminate=!1,null===(i=this.table)||void 0===i||i.selectAll(this.selectAll)}}async setSelection(e,t){var i,a;this.indeterminate=0!==e&&e!==t,null!==(i=this.checkboxEl)&&void 0!==i||(this.checkboxEl=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector(".checkbox")),this.checkboxEl&&(this.checkboxEl.checked=t>0&&e===t)}async setActions(e){this.hasActions=e}componentWillLoad(){var e;this.table=this.host.closest("mds-table"),this.hasActions=null!=(null===(e=this.table)||void 0===e?void 0:e.querySelector('mds-table-row > [slot="action"]'))}render(){return t(i,{key:"
|
|
1
|
+
import{r as e,h as t,e as i,g as a}from"./p-CvLLN-QH.js";import{L as o}from"./p-OafT80hV.js";import{p as s}from"./p-iX3kcwYg.js";var r={actions:"Ενέργεια",selectAllRows:"Επιλογή όλων των γραμμών",selectNoneRows:"Αποεπιλογή όλων των γραμμών"},n={actions:"Action",selectAllRows:"Select all rows",selectNoneRows:"Deselect all rows"},l={actions:"Acción",selectAllRows:"Seleccionar todas las filas",selectNoneRows:"Deseleccionar todas las filas"},d={actions:"Azione",selectAllRows:"Seleziona tutte le righe",selectNoneRows:"Deseleziona tutte le righe"};const c=class{constructor(t){e(this,t),this.selectAll=!1,this.hasActions=!1,this.indeterminate=!1,this.hasSelection=!1,this.t=new o({el:r,en:n,es:l,it:d}),this.handleSelectAllChange=e=>{var t,i;this.selectAll=!!this.indeterminate||null!==(t=e.detail.checked)&&void 0!==t&&t,this.indeterminate=!1,null===(i=this.table)||void 0===i||i.selectAll(this.selectAll)}}async setSelection(e,t){var i,a;this.indeterminate=0!==e&&e!==t,null!==(i=this.checkboxEl)&&void 0!==i||(this.checkboxEl=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector(".checkbox")),this.checkboxEl&&(this.checkboxEl.checked=t>0&&e===t)}async setActions(e){this.hasActions=e}componentWillLoad(){var e;this.table=this.host.closest("mds-table"),this.hasActions=null!=(null===(e=this.table)||void 0===e?void 0:e.querySelector('mds-table-row > [slot="action"]'))}render(){return t(i,{key:"74a98afa08a1bda1a14b19c635be8ddb98316091",role:"row","pref-animation":s.state.animation},this.selectable&&t("mds-table-cell",{key:"08b0e332bd3ae1413f186a467fe9065706d3343a",class:"selection",role:"columnheader"},t("div",{key:"6423e781b998f50f32c9019da4853635f8edaa5d",class:"checkbox-wrapper"},t("mds-input-switch",{key:"d38d5eb464634468bc77203e7bb2a4f12cb0ef37",class:"checkbox",title:this.t.get(this.selectAll?"selectNoneRows":"selectAllRows"),type:"checkbox",onMdsInputSwitchChange:this.handleSelectAllChange,indeterminate:this.indeterminate}))),t("slot",{key:"e60a5fd8112abe29466ee5720f566c5fcf873f58"}),this.hasActions&&t("mds-table-header-cell",{key:"b5e480005d4f51e7e8aba79d304d725df8021a06",part:"actions",class:"actions",label:this.t.get("actions")}))}get host(){return a(this)}};c.style='@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))),:is(mds-input-switch,mds-table-cell,mds-table-header-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-table-header-transition-duration:var(--duration-200,.2s);--private-table-header-transition-duration:var(--mds-table-header-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-bottom:var(--private-cell-border-width) solid var(--private-cell-border-color);display:table-row;overflow:hidden;transition-duration:var(--private-table-header-transition-duration);transition-property:border-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.actions{text-align:right}.selection{--mds-table-cell-background:var(--mds-table-background);vertical-align:middle}.checkbox-wrapper{display:flex}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-header-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-header-transition-duration:0s}}';export{c as mds_table_header}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,h as a,e}from"./p-CvLLN-QH.js";import{m as o}from"./p-BJ8rpzfj.js";import{m as t}from"./p-BFhO-KUe.js";import{L as s}from"./p-OafT80hV.js";import{p as n}from"./p-iX3kcwYg.js";const i={do:t,dont:o,info:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"/></svg>',warn:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M1 21h22L12 2L1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"/></svg>'};var d={do:"Επιτρέπεται",dont:"Δεν επιτρέπεται",info:"Πληροφορία",warn:"Προειδοποίηση"},m={do:"Allowed",dont:"Not allowed",info:"Information",warn:"Warning"},
|
|
1
|
+
import{r,h as a,e}from"./p-CvLLN-QH.js";import{m as o}from"./p-BJ8rpzfj.js";import{m as t}from"./p-BFhO-KUe.js";import{L as s}from"./p-OafT80hV.js";import{p as n}from"./p-iX3kcwYg.js";const i={do:t,dont:o,info:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"/></svg>',warn:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M1 21h22L12 2L1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"/></svg>'};var d={do:"Επιτρέπεται",dont:"Δεν επιτρέπεται",info:"Πληροφορία",warn:"Προειδοποίηση"},m={do:"Allowed",dont:"Not allowed",info:"Information",warn:"Warning"},g={do:"Permitido",dont:"No permitido",info:"Información",warn:"Advertencia"},c={do:"Consentito",dont:"Non consentito",info:"Informazione",warn:"Attenzione"};const h=class{constructor(a){r(this,a),this.t=new s({el:d,en:m,es:g,it:c}),this.variant="info"}render(){var r,o;const t=this.icon||(null!==(r=i[this.variant])&&void 0!==r?r:i.info);return a(e,{key:"424f6a5f3ca91da059b4b012fb58fe660169ac2e","pref-animation":n.state.animation,"pref-contrast":n.state.contrast,"pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},a("div",{key:"2a5047741b2a57c14b85e68938b372f378e41ee1",class:"header",part:"header"},a("mds-icon",{key:"17108d464a3333c140b6677f48d7b787bdc99931",name:t,part:"icon"}),a("mds-text",{key:"b3e7369d0e3233b62816899fe9db3aea2b0cc0c5",typography:"label",class:"label",part:"label"},null!==(o=this.alias)&&void 0!==o?o:this.t.get(this.variant))),a("div",{key:"143ab9e4a0c53af33175dc59e4d280db79e119c3",class:"content"},a("slot",{key:"c56eee23c50a89b4a5828a3a4f1ce5db19f50e28"})))}};h.style='@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))),:is(mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-usage-border-color:rgb(var(--magma-info-border-strong,var(--border-info-strong,18 154 196)));--mds-usage-header-background:var(--mds-usage-border-color,rgb(var(--magma-info-border-strong,var(--border-info-strong,18 154 196))));--mds-usage-header-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-usage-transition-duration:var(--duration-200,.2s);--private-usage-transition-duration:var(--mds-usage-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-color:var(--mds-usage-border-color,rgb(var(--magma-info-border-strong,var(--border-info-strong,18 154 196))));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));border-style:solid;border-width:calc(var(--spacing,.0025rem)*50);transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);display:grid;gap:calc(var(--spacing,.0025rem)*200);grid-auto-rows:min-content;grid-template-columns:minmax(0,100%);padding:calc(var(--spacing,.0025rem)*400);padding-top:0;position:relative;transition-duration:var(--private-usage-transition-duration);transition-property:background-color,box-shadow,color;width:100%}.label{color:var(--mds-usage-header-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}mds-icon{fill:var(--mds-usage-header-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));height:calc(var(--spacing,.0025rem)*400);width:calc(var(--spacing,.0025rem)*400)}.header{background-color:var(--mds-usage-header-background,rgb(var(--magma-info-border-strong,var(--border-info-strong,18 154 196))));border-bottom-left-radius:var(--magma-radius-xs,var(--radius-squircle-xs,14px));border-bottom-right-radius:var(--magma-radius-xs,var(--radius-squircle-xs,14px));corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:inline-flex;gap:calc(var(--spacing,.0025rem)*200);height:calc(var(--spacing,.0025rem)*600);justify-self:start;padding-left:calc(var(--spacing,.0025rem)*200);padding-right: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-usage-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([variant=do]){--mds-usage-border-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-usage-header-color:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=info]){--mds-usage-border-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-usage-header-color:rgb(var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=dont]){--mds-usage-border-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-usage-header-color:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=warn]){--mds-usage-border-color:rgb(var(--magma-warning-wash-strong,var(--status-warning-08,255 205 57)));--mds-usage-header-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)))}@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-usage-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}';export{h as mds_usage}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a,h as s,e as t,g as r}from"./p-CvLLN-QH.js";const e=class{constructor(s){a(this,s),this.nameSlottedControls=()=>{var a;null===(a=this.slotInput)||void 0===a||a.assignedElements().forEach((a=>{const s=a.getAttribute("aria-label");null!==s&&s!==this.appliedName||(null!=this.label&&""!==this.label?a.setAttribute("aria-label",this.label):a.removeAttribute("aria-label"))})),this.appliedName=this.label},this.variant="primary"}handleValidation(a){"function"==typeof a.getErrors&&a.getErrors().then((a=>{if(null==a)this.variant="success",this.message=void 0;else{this.variant="error";const s=Object.entries(a).map((a=>a[1])).filter((a=>a));this.message=0!==s.length?s.join(";"):void 0}}))}componentDidLoad(){this.nameSlottedControls();const[a]=this.slotInput.assignedElements();null!=a?a.addEventListener("mdsInputValidation",(a=>this.handleValidation(a.target))):console.warn("mds-input-field: no mds-input assigned to the input slot")}labelChanged(){this.nameSlottedControls()}render(){var a;return s(t,{key:"
|
|
1
|
+
import{r as a,h as s,e as t,g as r}from"./p-CvLLN-QH.js";const e=class{constructor(s){a(this,s),this.nameSlottedControls=()=>{var a;null===(a=this.slotInput)||void 0===a||a.assignedElements().forEach((a=>{const s=a.getAttribute("aria-label");null!==s&&s!==this.appliedName||(null!=this.label&&""!==this.label?a.setAttribute("aria-label",this.label):a.removeAttribute("aria-label"))})),this.appliedName=this.label},this.variant="primary"}handleValidation(a){"function"==typeof a.getErrors&&a.getErrors().then((a=>{if(null==a)this.variant="success",this.message=void 0;else{this.variant="error";const s=Object.entries(a).map((a=>a[1])).filter((a=>a));this.message=0!==s.length?s.join(";"):void 0}}))}componentDidLoad(){this.nameSlottedControls();const[a]=this.slotInput.assignedElements();null!=a?a.addEventListener("mdsInputValidation",(a=>this.handleValidation(a.target))):console.warn("mds-input-field: no mds-input assigned to the input slot")}labelChanged(){this.nameSlottedControls()}render(){var a;return s(t,{key:"9e590cffc1b2cd840547d6922b2bb6ecfd7a4895"},s("mds-text",{key:"b3e1fd0c9f9aff9fdafbcea2340d3890540097ba",class:"label",typography:"label"},this.label),s("div",{key:"047a277929f9f8313c3e4c4d5e9cfdf24a7e3338",class:"message-window"},s("div",{key:"88a44e429a1eb9df0dc587ee0ae54ce2b2dc6a3e",class:"content",part:"content"},s("slot",{key:"f78ea7ee9b0512f9de3c26b096fbb274184f6cbd",onSlotchange:this.nameSlottedControls,ref:a=>this.slotInput=a})),s("div",{key:"dbd1ffd38968a882ced2ed817cb05fe7625ff980",class:"message"},null===(a=this.message)||void 0===a?void 0:a.split(";").map(((a,t)=>s("mds-text",{typography:"caption",key:t},a))))))}static get formAssociated(){return!0}get host(){return r(this)}static get watchers(){return{label:[{labelChanged:0}]}}};e.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-input-field-message-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-input-field-message-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));corner-shape:var(--magma-corner-shape,squircle);display:grid;gap:calc(var(--spacing,.0025rem)*300)}.message-window{border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));color:var(--mds-input-field-message-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));corner-shape:inherit;background-color:#0000;display:grid;gap:0;padding:0;transition-duration:var(--duration-300,.3s);transition-property:background-color,color,gap,padding;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.message-window:has(.message:not(:empty)){background-color:var(--mds-input-field-message-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));gap:calc(var(--spacing,.0025rem)*200);padding:calc(var(--spacing,.0025rem)*200)}.message{interpolate-size:allow-keywords;display:flex;flex-direction:column;height:auto;padding:calc(var(--spacing,.0025rem)*100) calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*200);transition-duration:var(--duration-300,.3s);transition-property:height,margin-top,opacity,padding;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.message:empty{height:0;max-height:0;opacity:0;padding:0}.label:empty{display:none}.content{container:content/inline-size;display:flex;flex-wrap:wrap;gap:calc(var(--spacing,.0025rem)*200)}::slotted(:first-child){flex-grow:1}::slotted(:not(:first-child)){flex-shrink:0}@container content (max-width:300px){::slotted(*){flex-grow:1;min-width:100%}}:host([variant=ai]){--mds-input-field-message-color:rgb(var(--magma-accent-ai-emphasis-active,var(--variant-ai-02,65 11 190)));--mds-input-field-message-background:rgb(var(--magma-accent-ai-surface,var(--variant-ai-09,229 218 253)))}:host([variant=info]){--mds-input-field-message-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-input-field-message-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)))}:host([variant=success]){--mds-input-field-message-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-input-field-message-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)))}:host([variant=warning]){--mds-input-field-message-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-input-field-message-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)))}:host([variant=error]){--mds-input-field-message-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-input-field-message-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)))}:host([variant=info]) ::slotted(mds-input){--mds-input-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-tip-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-variant-color-rgb:0 0 0}:host([variant=info]) ::slotted(mds-input:focus){--mds-input-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-variant-color-rgb:var(--magma-info-emphasis,var(--status-info-04,0 119 164))}:host([variant=warning]) ::slotted(mds-input){--mds-input-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-tip-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-variant-color-rgb:0 0 0}:host([variant=warning]) ::slotted(mds-input:focus){--mds-input-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-variant-color-rgb:var(--magma-warning-emphasis,var(--status-warning-04,142 106 0))}:host([variant=success]) ::slotted(mds-input){--mds-input-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-tip-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-variant-color-rgb:0 0 0}:host([variant=success]) ::slotted(mds-input:focus){--mds-input-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-variant-color-rgb:var(--magma-success-emphasis,var(--status-success-04,0 128 57))}:host([variant=error]) ::slotted(mds-input){--mds-input-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-tip-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-variant-color-rgb:0 0 0}:host([variant=error]) ::slotted(mds-input:focus){--mds-input-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-variant-color-rgb:var(--magma-danger-emphasis,var(--status-error-04,196 64 65))}";export{e as mds_input_field}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,d as e,h as s,e as i,g as a}from"./p-CvLLN-QH.js";import{c as h}from"./p-CWk1SCJg.js";import{m as o}from"./p-XQgkfNpn.js";import{L as d}from"./p-OafT80hV.js";import{p as r}from"./p-iX3kcwYg.js";var l={darkMode:"Σκούρο",label:"Λειτουργία",lightMode:"Ανοιχτό",systemSettings:"Με βάση το λειτουργικό σύστημα"},m={darkMode:"Dark",label:"Mode",lightMode:"Light",systemSettings:"Based on operating system"},c={darkMode:"Oscura",label:"Modo",lightMode:"Clara",systemSettings:"Basado en el sistema operativo"},n={darkMode:"Scura",label:"Modalità",lightMode:"Chiara",systemSettings:"Basato sul sistema operativo"};const f=class{constructor(s){t(this,s),this.prefChangeEvent=e(this,"mdsPrefChange",7),this.defaultMode="system",this.t=new d({el:l,en:m,es:c,it:n}),this.localStorageAlias="mdsPrefMode",this.customPropertyAlias="--magma-pref-mode",this.overlayBackgroundVisible="rgb(var(--magma-surface-default))",this.overlayBackgroundHidden="rgb(var(--magma-surface-default) / 0)",this.cssOverlayShowDuration="300",this.cssOverlayFadeoutDuration="200",this.cssOverlayZIndex="6000",this.overlayId="mds-pref-mode-overlay",this.overlayShow=!1,this.syncingFromStore=!1,this.updateCSSCustomProps=()=>{var t,e,s;if("undefined"==typeof window)return;const i=window.getComputedStyle(this.element);this.cssOverlayShowDuration=null!==(t=i.getPropertyValue("--mds-pref-mode-overlay-show-duration"))&&void 0!==t?t:"300",this.cssOverlayFadeoutDuration=null!==(e=i.getPropertyValue("--mds-pref-mode-overlay-fadeout-duration"))&&void 0!==e?e:"200",this.cssOverlayZIndex=null!==(s=i.getPropertyValue("--mds-pref-mode-overlay-z-index"))&&void 0!==s?s:"6000"},this.transition="smooth",this.modes={dark:{selector:"pref-mode-dark",label:"darkMode"},system:{selector:"pref-mode-system",label:"systemSettings"},light:{selector:"pref-mode-light",label:"lightMode"}},this.syncMode=t=>{void 0!==t&&t!==this.mode&&(this.syncingFromStore=!0,this.mode=t,this.appliedMode=t,this.syncingFromStore=!1)},this.setMode=t=>{if(t===this.appliedMode)return void(this.mode=t);const e=void 0===this.appliedMode;if(this.appliedMode=t,this.mode=t,localStorage.setItem(this.localStorageAlias,this.mode),"undefined"!=typeof document){const e=document.querySelector("html");for(const t in this.modes)({}).hasOwnProperty.call(this.modes,t)&&(null==e||e.classList.remove(this.modes[t].selector));null==e||e.classList.add(this.modes[t].selector),null==e||e.style.setProperty(this.customPropertyAlias,this.mode)}r.state.mode=t,e||this.prefChangeEvent.emit({preference:"mode"})},this.isDarkMode=()=>window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches,this.getColorScheme=t=>void 0!==t?"system"===t?this.isDarkMode()?"dark":"light":t:"system"===this.mode?this.isDarkMode()?"dark":"light":this.mode,this.instanceOverlay=()=>{null==this.overlayEl&&(this.overlayEl=document.createElement("div"),this.overlayEl.className=this.overlayId,this.overlayEl.style.inset="0",this.overlayEl.style.pointerEvents="none",this.overlayEl.style.position="fixed",this.overlayEl.style.transition=`background-color ${this.cssOverlayFadeoutDuration} ease-out`,this.overlayEl.style.zIndex=this.cssOverlayZIndex),this.overlayEl.style.backgroundColor=this.overlayBackgroundHidden},this.attachFlashOverlayTransition=()=>{this.overlayShow=!0,this.instanceOverlay(),this.overlayEl.style.backgroundColor=this.overlayBackgroundVisible,document.body.appendChild(this.overlayEl),clearTimeout(this.overlayTimer),this.overlayTimer=setTimeout((()=>{this.overlayShow=!1,this.detachOverlayTransition()}),h(this.cssOverlayShowDuration))},this.attachSmoothOverlayTransition=t=>{this.overlayShow=!0,this.instanceOverlay(),document.body.appendChild(this.overlayEl),clearTimeout(this.overlaySmoothTimer),this.overlaySmoothTimer=setTimeout((()=>{this.overlayEl.style.backgroundColor=this.overlayBackgroundVisible,clearTimeout(this.overlayTimer),this.overlayTimer=setTimeout((()=>{this.setMode(t),clearTimeout(this.overlayTimer),this.overlayTimer=setTimeout((()=>{this.overlayShow=!1,this.detachOverlayTransition()}),h(this.cssOverlayFadeoutDuration))}),h(this.cssOverlayShowDuration))}),1)},this.isModeDisabled=t=>"light"===this.lockedScheme?"dark"===t:"dark"===this.lockedScheme&&"light"===t,this.changeMode=t=>{if(!this.isModeDisabled(t))if(this.getColorScheme()!==this.getColorScheme(t))switch(this.transition){case"none":default:this.setMode(t);break;case"flash":this.setMode(t),this.attachFlashOverlayTransition();break;case"smooth":this.attachSmoothOverlayTransition(t)}else this.setMode(t)},this.handleModeClick=t=>()=>{this.overlayShow||this.changeMode(t)}}componentWillLoad(){var t,e;this.setMode(null!==(e=null!==(t=this.mode)&&void 0!==t?t:localStorage.getItem(this.localStorageAlias))&&void 0!==e?e:this.defaultMode)}connectedCallback(){this.unsubscribeStore=r.onChange("mode",this.syncMode)}disconnectedCallback(){var t;null===(t=this.unsubscribeStore)||void 0===t||t.call(this)}componentDidLoad(){this.updateCSSCustomProps()}modeChanged(t,e){t===e||this.syncingFromStore||this.setMode(t)}detachOverlayTransition(){null!=this.overlayEl&&(this.overlayEl.style.backgroundColor=this.overlayBackgroundHidden,clearTimeout(this.overlayTimer),this.overlayTimer=setTimeout((()=>{this.overlayEl.remove()}),h(this.cssOverlayFadeoutDuration)))}render(){var t;return s(i,{key:"c90ace27bbcc9871cb2eda2bdda513a1e17a870b","pref-contrast":r.state.contrast,"pref-mode":r.state.mode,"pref-theme-scheme":r.state["theme-scheme"]},s("mds-text",{key:"a87034357d303ac2b7518c4678ce73145a0c1db2",class:"info",typography:"caption"},s("b",{key:"808defa5197422f98caa05acfd8029b0c406acd8"},this.t.get("label"))," ",this.t.get(this.modes[null!==(t=this.mode)&&void 0!==t?t:this.defaultMode].label)),s("mds-tab",{key:"d718be92b56f2ac557bf656890b62d66a8511d98",fill:!0,size:this.size},s("mds-tab-item",{key:"c270f7b5c97ed82197954bf602717435f3e16491",disabled:this.isModeDisabled("light"),selected:"light"===this.mode,onClick:this.handleModeClick("light"),class:"item item--light",icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5s5-2.24 5-5s-2.24-5-5-5zM2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1zm18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1zM11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1zm0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1zM5.99 4.58a.996.996 0 0 0-1.41 0a.996.996 0 0 0 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41L5.99 4.58zm12.37 12.37a.996.996 0 0 0-1.41 0a.996.996 0 0 0 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0a.996.996 0 0 0 0-1.41l-1.06-1.06zm1.06-10.96a.996.996 0 0 0 0-1.41a.996.996 0 0 0-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06zM7.05 18.36a.996.996 0 0 0 0-1.41a.996.996 0 0 0-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06z"/></svg>',title:this.t.get(this.modes.light.label)}),s("mds-tab-item",{key:"eebd2655d419493dfdd93dda350488573b52d581",disabled:this.isModeDisabled("system"),selected:"system"===this.mode,onClick:this.handleModeClick("system"),class:"item item--system",icon:o,title:this.t.get(this.modes.system.label)}),s("mds-tab-item",{key:"20ac8784df7897df0ffe9e5204c89b8a64257e27",disabled:this.isModeDisabled("dark"),selected:"dark"===this.mode,onClick:this.handleModeClick("dark"),class:"item item--dark",icon:"dark"===this.mode?'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 3a9 9 0 1 0 9 9c0-.46-.04-.92-.1-1.36a5.389 5.389 0 0 1-4.4 2.26a5.403 5.403 0 0 1-3.14-9.8c-.44-.06-.9-.1-1.36-.1z"/></svg>':'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M9.37 5.51A7.35 7.35 0 0 0 9.1 7.5c0 4.08 3.32 7.4 7.4 7.4c.68 0 1.35-.09 1.99-.27A7.014 7.014 0 0 1 12 19c-3.86 0-7-3.14-7-7c0-2.93 1.81-5.45 4.37-6.49zM12 3a9 9 0 1 0 9 9c0-.46-.04-.92-.1-1.36a5.389 5.389 0 0 1-4.4 2.26a5.403 5.403 0 0 1-3.14-9.8c-.44-.06-.9-.1-1.36-.1z"/></svg>',title:this.t.get(this.modes.dark.label)})))}get element(){return a(this)}static get watchers(){return{mode:[{modeChanged:0}]}}};f.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-tab,mds-tab-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-pref-mode-overlay-fadeout-duration:var(--duration-200,.2s);--mds-pref-mode-overlay-show-duration:var(--duration-300,.3s);--mds-pref-mode-overlay-z-index:var(--magma-theme-overlay-z-index,7000);display:grid;gap:calc(var(--spacing,.0025rem)*200)}.item{--mds-tab-item-default-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));flex-basis:0;flex-grow:1}.item--system{--mds-tab-item-selected-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}.item--light{--mds-tab-item-selected-color:rgb(var(--label-yellow-06,214 163 7))}.item--dark{--mds-tab-item-selected-color:rgb(var(--label-sky-06,47 182 243))}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .item--light{--mds-tab-item-selected-color:rgb(var(--label-yellow-03,112 85 4))}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .item--dark{--mds-tab-item-selected-color:rgb(var(--label-sky-03,8 94 133))}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-contrast]))) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-contrast]))) .item--light{--mds-tab-item-selected-color:rgb(var(--label-yellow-03,112 85 4))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-contrast]))) .item--dark{--mds-tab-item-selected-color:rgb(var(--label-sky-03,8 94 133))}}";export{f as mds_pref_mode}
|
|
1
|
+
import{r as t,d as e,h as s,e as i,g as a}from"./p-CvLLN-QH.js";import{c as h}from"./p-CWk1SCJg.js";import{m as o}from"./p-XQgkfNpn.js";import{L as d}from"./p-OafT80hV.js";import{p as r}from"./p-iX3kcwYg.js";var l={darkMode:"Σκούρο",label:"Λειτουργία",lightMode:"Ανοιχτό",systemSettings:"Με βάση το λειτουργικό σύστημα"},m={darkMode:"Dark",label:"Mode",lightMode:"Light",systemSettings:"Based on operating system"},c={darkMode:"Oscura",label:"Modo",lightMode:"Clara",systemSettings:"Basado en el sistema operativo"},n={darkMode:"Scura",label:"Modalità",lightMode:"Chiara",systemSettings:"Basato sul sistema operativo"};const f=class{constructor(s){t(this,s),this.prefChangeEvent=e(this,"mdsPrefChange",7),this.defaultMode="system",this.t=new d({el:l,en:m,es:c,it:n}),this.localStorageAlias="mdsPrefMode",this.customPropertyAlias="--magma-pref-mode",this.overlayBackgroundVisible="rgb(var(--magma-surface-default))",this.overlayBackgroundHidden="rgb(var(--magma-surface-default) / 0)",this.cssOverlayShowDuration="300",this.cssOverlayFadeoutDuration="200",this.cssOverlayZIndex="6000",this.overlayId="mds-pref-mode-overlay",this.overlayShow=!1,this.syncingFromStore=!1,this.updateCSSCustomProps=()=>{var t,e,s;if("undefined"==typeof window)return;const i=window.getComputedStyle(this.element);this.cssOverlayShowDuration=null!==(t=i.getPropertyValue("--mds-pref-mode-overlay-show-duration"))&&void 0!==t?t:"300",this.cssOverlayFadeoutDuration=null!==(e=i.getPropertyValue("--mds-pref-mode-overlay-fadeout-duration"))&&void 0!==e?e:"200",this.cssOverlayZIndex=null!==(s=i.getPropertyValue("--mds-pref-mode-overlay-z-index"))&&void 0!==s?s:"6000"},this.transition="smooth",this.modes={dark:{selector:"pref-mode-dark",label:"darkMode"},system:{selector:"pref-mode-system",label:"systemSettings"},light:{selector:"pref-mode-light",label:"lightMode"}},this.syncMode=t=>{void 0!==t&&t!==this.mode&&(this.syncingFromStore=!0,this.mode=t,this.appliedMode=t,this.syncingFromStore=!1)},this.setMode=t=>{if(t===this.appliedMode)return void(this.mode=t);const e=void 0===this.appliedMode;if(this.appliedMode=t,this.mode=t,localStorage.setItem(this.localStorageAlias,this.mode),"undefined"!=typeof document){const e=document.querySelector("html");for(const t in this.modes)({}).hasOwnProperty.call(this.modes,t)&&(null==e||e.classList.remove(this.modes[t].selector));null==e||e.classList.add(this.modes[t].selector),null==e||e.style.setProperty(this.customPropertyAlias,this.mode)}r.state.mode=t,e||this.prefChangeEvent.emit({preference:"mode"})},this.isDarkMode=()=>window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches,this.getColorScheme=t=>void 0!==t?"system"===t?this.isDarkMode()?"dark":"light":t:"system"===this.mode?this.isDarkMode()?"dark":"light":this.mode,this.instanceOverlay=()=>{null==this.overlayEl&&(this.overlayEl=document.createElement("div"),this.overlayEl.className=this.overlayId,this.overlayEl.style.inset="0",this.overlayEl.style.pointerEvents="none",this.overlayEl.style.position="fixed",this.overlayEl.style.transition=`background-color ${this.cssOverlayFadeoutDuration} ease-out`,this.overlayEl.style.zIndex=this.cssOverlayZIndex),this.overlayEl.style.backgroundColor=this.overlayBackgroundHidden},this.attachFlashOverlayTransition=()=>{this.overlayShow=!0,this.instanceOverlay(),this.overlayEl.style.backgroundColor=this.overlayBackgroundVisible,document.body.appendChild(this.overlayEl),clearTimeout(this.overlayTimer),this.overlayTimer=setTimeout((()=>{this.overlayShow=!1,this.detachOverlayTransition()}),h(this.cssOverlayShowDuration))},this.attachSmoothOverlayTransition=t=>{this.overlayShow=!0,this.instanceOverlay(),document.body.appendChild(this.overlayEl),clearTimeout(this.overlaySmoothTimer),this.overlaySmoothTimer=setTimeout((()=>{this.overlayEl.style.backgroundColor=this.overlayBackgroundVisible,clearTimeout(this.overlayTimer),this.overlayTimer=setTimeout((()=>{this.setMode(t),clearTimeout(this.overlayTimer),this.overlayTimer=setTimeout((()=>{this.overlayShow=!1,this.detachOverlayTransition()}),h(this.cssOverlayFadeoutDuration))}),h(this.cssOverlayShowDuration))}),1)},this.isModeDisabled=t=>"light"===this.lockedScheme?"dark"===t:"dark"===this.lockedScheme&&"light"===t,this.changeMode=t=>{if(!this.isModeDisabled(t))if(this.getColorScheme()!==this.getColorScheme(t))switch(this.transition){case"none":default:this.setMode(t);break;case"flash":this.setMode(t),this.attachFlashOverlayTransition();break;case"smooth":this.attachSmoothOverlayTransition(t)}else this.setMode(t)},this.handleModeClick=t=>()=>{this.overlayShow||this.changeMode(t)}}componentWillLoad(){var t,e;this.setMode(null!==(e=null!==(t=this.mode)&&void 0!==t?t:localStorage.getItem(this.localStorageAlias))&&void 0!==e?e:this.defaultMode)}connectedCallback(){this.unsubscribeStore=r.onChange("mode",this.syncMode)}disconnectedCallback(){var t;null===(t=this.unsubscribeStore)||void 0===t||t.call(this)}componentDidLoad(){this.updateCSSCustomProps()}modeChanged(t,e){t===e||this.syncingFromStore||this.setMode(t)}detachOverlayTransition(){null!=this.overlayEl&&(this.overlayEl.style.backgroundColor=this.overlayBackgroundHidden,clearTimeout(this.overlayTimer),this.overlayTimer=setTimeout((()=>{this.overlayEl.remove()}),h(this.cssOverlayFadeoutDuration)))}render(){var t;return s(i,{key:"8cd7d190d15c44c67b89147d4b16404f5cb95800","pref-contrast":r.state.contrast,"pref-mode":r.state.mode,"pref-theme-scheme":r.state["theme-scheme"]},s("mds-text",{key:"14cd73bd20d61e354734a351cf991970f0ebc5ec",class:"info",typography:"caption"},s("b",{key:"86ee2ea0a64ade8fbe329a0f96182c3b67d9ff5e"},this.t.get("label"))," ",this.t.get(this.modes[null!==(t=this.mode)&&void 0!==t?t:this.defaultMode].label)),s("mds-tab",{key:"57b1029715dc8e06cc0c8313aef1d97b86e5862f",fill:!0,size:this.size},s("mds-tab-item",{key:"4dfba447dcefe6dbbbbfc15ab1e47431dea40ef0",disabled:this.isModeDisabled("light"),selected:"light"===this.mode,onClick:this.handleModeClick("light"),class:"item item--light",icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5s5-2.24 5-5s-2.24-5-5-5zM2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1zm18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1zM11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1zm0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1zM5.99 4.58a.996.996 0 0 0-1.41 0a.996.996 0 0 0 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41L5.99 4.58zm12.37 12.37a.996.996 0 0 0-1.41 0a.996.996 0 0 0 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0a.996.996 0 0 0 0-1.41l-1.06-1.06zm1.06-10.96a.996.996 0 0 0 0-1.41a.996.996 0 0 0-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06zM7.05 18.36a.996.996 0 0 0 0-1.41a.996.996 0 0 0-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06z"/></svg>',title:this.t.get(this.modes.light.label)}),s("mds-tab-item",{key:"ae48429db039f79a022a1888436ab55b477d0556",disabled:this.isModeDisabled("system"),selected:"system"===this.mode,onClick:this.handleModeClick("system"),class:"item item--system",icon:o,title:this.t.get(this.modes.system.label)}),s("mds-tab-item",{key:"0b56971502285a300258fbebee3e4d1cb9bb11d0",disabled:this.isModeDisabled("dark"),selected:"dark"===this.mode,onClick:this.handleModeClick("dark"),class:"item item--dark",icon:"dark"===this.mode?'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 3a9 9 0 1 0 9 9c0-.46-.04-.92-.1-1.36a5.389 5.389 0 0 1-4.4 2.26a5.403 5.403 0 0 1-3.14-9.8c-.44-.06-.9-.1-1.36-.1z"/></svg>':'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M9.37 5.51A7.35 7.35 0 0 0 9.1 7.5c0 4.08 3.32 7.4 7.4 7.4c.68 0 1.35-.09 1.99-.27A7.014 7.014 0 0 1 12 19c-3.86 0-7-3.14-7-7c0-2.93 1.81-5.45 4.37-6.49zM12 3a9 9 0 1 0 9 9c0-.46-.04-.92-.1-1.36a5.389 5.389 0 0 1-4.4 2.26a5.403 5.403 0 0 1-3.14-9.8c-.44-.06-.9-.1-1.36-.1z"/></svg>',title:this.t.get(this.modes.dark.label)})))}get element(){return a(this)}static get watchers(){return{mode:[{modeChanged:0}]}}};f.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-tab,mds-tab-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-pref-mode-overlay-fadeout-duration:var(--duration-200,.2s);--mds-pref-mode-overlay-show-duration:var(--duration-300,.3s);--mds-pref-mode-overlay-z-index:var(--magma-theme-overlay-z-index,7000);display:grid;gap:calc(var(--spacing,.0025rem)*200)}.item{--mds-tab-item-default-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));flex-basis:0;flex-grow:1}.item--system{--mds-tab-item-selected-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}.item--light{--mds-tab-item-selected-color:rgb(var(--label-yellow-06,214 163 7))}.item--dark{--mds-tab-item-selected-color:rgb(var(--label-sky-06,47 182 243))}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .item--light{--mds-tab-item-selected-color:rgb(var(--label-yellow-03,112 85 4))}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .item--dark{--mds-tab-item-selected-color:rgb(var(--label-sky-03,8 94 133))}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-contrast]))) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-contrast]))) .item--light{--mds-tab-item-selected-color:rgb(var(--label-yellow-03,112 85 4))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-contrast]))) .item--dark{--mds-tab-item-selected-color:rgb(var(--label-sky-03,8 94 133))}}";export{f as mds_pref_mode}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as a,e as t,g as s}from"./p-CvLLN-QH.js";import{h as o}from"./p-AEckDMXh.js";import{c as i}from"./p-ChV9xqsO.js";const n=class{constructor(a){e(this,a),this.onActionSlotChange=()=>{this.hasActions=o(this.hostElement,"action")}}componentWillLoad(){this.hasActions=o(this.hostElement,"action")}render(){return a(t,{key:"3ca0362bd5a6e865313b9e00a8e11e808b0627d5",slot:"header"},a("slot",{key:"a8a26f03249f89d52e3302fc37985d830f35e12a"}),a("div",{key:"b355a3975f3e61df94a35ef02ba01fcb1b360833",class:i("actions",!this.hasActions&&"actions--hidden")},a("slot",{key:"600ba50b2e05218921d60ccb45ccde16d91680fb",name:"action",onSlotchange:this.onActionSlotChange})))}get hostElement(){return s(this)}};n.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{align-items:center;background-color:var(--mds-card-background);display:flex;flex-grow:1;gap:calc(var(--spacing,.0025rem)*400);justify-content:space-between;min-width:0;padding:calc(var(--spacing,.0025rem)*400)}.actions--hidden{display:none}";export{n as mds_card_header}
|
|
@@ -36,4 +36,4 @@ this.route=function(n,i){if(!s.handle(n,i))window.location.assign(n)}}
|
|
|
36
36
|
n.prototype.componentDidRender=function(){this.km.detachClickBehavior();if(this.isLink()||!this.link)return;this.km.addElement(this.link);this.km.attachClickBehavior("element",{space:true})};n.prototype.render=function(){var n=this;var i=this.isLink()?"a":"span";var r=this.opensInNewTab();var o=this.isLink()?{href:this.href,rel:r?"noopener noreferrer":undefined,target:r?"_blank":undefined}:{role:"button",tabindex:"0"};
|
|
37
37
|
// the word joiner keeps the icon on the line of the word next to it: the icon is drawn in
|
|
38
38
|
// the padding of an inline box, which the line breaks with the text
|
|
39
|
-
var a=this.icon&&e("span",{key:"
|
|
39
|
+
var a=this.icon&&e("span",{key:"1c1fcab5ffcec2aa8735e846494bec28626ec656",class:"glue glue-".concat(this.iconPosition==="left"?"left":"right")},"",e("mds-icon",{key:"0ed80c4fc73c342fe5459ddbbb5f554ccac3eb1d","aria-hidden":"true",class:"icon",name:this.icon,part:"icon"}));return e(t,{key:"124b0c68ffb53e958de37820d23c0e99740bbbec",onClick:this.handleClick,"pref-animation":l.state.animation,"pref-contrast":l.state.contrast},e(i,Object.assign({key:"485d7d56c74c0f57d70899e2d79f5422cb277e82",class:"link",part:"link",ref:function(i){n.link=i}},o),this.iconPosition==="left"&&a,this.label||e("slot",{key:"8bc0a957923343cc45b89d16299e2d32b934f1c2"}),r&&e("span",{key:"d8b43d4ebfbba8dbfbbc47a9159cfc90c4b043d4",class:"hint"}," ".concat(this.t.get("newTab"))),this.iconPosition!=="left"&&a))};Object.defineProperty(n,"delegatesFocus",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"host",{get:function(){return r(this)},enumerable:false,configurable:true});return n}());b.style=v()}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,d as a,h as o,e as s,g as r}from"./p-CvLLN-QH.js";import{c as i}from"./p-CWk1SCJg.js";import{p as e}from"./p-iX3kcwYg.js";import{L as n}from"./p-OafT80hV.js";import{h as d}from"./p-AEckDMXh.js";import{c}from"./p-ChV9xqsO.js";var h={hide:"Απόκρυψη"},m={hide:"Hide"},v={hide:"Ocultar"},l={hide:"Nascondi"};const p=class{constructor(o){t(this,o),this.closedEvent=a(this,"mdsToastClose",7),this.cssDismissAnimationDuration=300,this.countdownStart=0,this.pointerInside=!1,this.focusInside=!1,this.closeReason="hide",this.t=new n({el:h,en:m,es:v,it:l}),this.stacked=!1,this.duration=5e3,this.variant="light",this.tone="strong",this.position="bottom-center",this.hasDuration=()=>{var t;const a=null!==(t=this.duration)&&void 0!==t?t:0;return 0!==a&&!Number.isNaN(a)},this.stopCountdown=()=>{window.clearTimeout(this.dismissTimer),this.dismissTimer=void 0},this.runCountdown=()=>{void 0!==this.remaining&&void 0===this.dismissTimer&&(this.pointerInside||this.focusInside||(this.countdownStart=Date.now(),this.dismissTimer=window.setTimeout((()=>{this.dismissTimer=void 0,this.remaining=void 0,this.hide("timeout")}),this.remaining)))},this.holdCountdown=()=>{void 0!==this.dismissTimer&&void 0!==this.remaining&&(this.stopCountdown(),this.remaining=Math.max(0,this.remaining-(Date.now()-this.countdownStart)))},this.reloadTimeListeners=t=>{"undefined"!=typeof window&&(this.stopCountdown(),this.remaining=t&&this.hasDuration()?this.duration:void 0,this.runCountdown())},this.hide=t=>{this.closeReason=t,this.visible=!1},this.onCloseClick=()=>{this.hide("close")},this.onPointerEnter=()=>{this.pointerInside=!0,this.holdCountdown()},this.onPointerLeave=()=>{this.pointerInside=!1,this.runCountdown()},this.onFocusIn=()=>{this.focusInside=!0,this.holdCountdown()},this.onFocusOut=()=>{this.focusInside=!1,this.runCountdown()},this.closeButtonVariant=()=>{switch(this.variant){case"light":return"dark";case"error":case"info":case"success":case"warning":return this.variant;default:return"light"}},this.onActionSlotChange=()=>{this.hasActions=d(this.hostElement,"action")}}updateCSSCustomProps(){if("undefined"==typeof window)return;const t=window.getComputedStyle(this.hostElement);this.cssDismissAnimationDuration=i(t.getPropertyValue("--private-toast-transition-duration"),0)}connectedCallback(){this.stacked=null!==this.hostElement.closest("mds-toast-region")}disconnectedCallback(){window.clearTimeout(this.dismissTimer),window.clearTimeout(this.closeTimer),this.dismissTimer=void 0,this.closeTimer=void 0}componentWillLoad(){this.hasText=""!==this.hostElement.innerHTML,this.hasActions=d(this.hostElement,"action"),this.reloadTimeListeners(!!this.visible)}componentDidLoad(){this.updateCSSCustomProps()}visibleChanged(t,a){this.updateCSSCustomProps();const o=this.closeReason;if(this.closeReason="hide",t||(this.pointerInside=!1,this.focusInside=!1),this.reloadTimeListeners(t),t)return window.clearTimeout(this.closeTimer),void(this.closeTimer=void 0);a&&(window.clearTimeout(this.closeTimer),this.closeTimer=window.setTimeout((()=>{this.closeTimer=void 0,this.closedEvent.emit({reason:o})}),this.cssDismissAnimationDuration))}durationChanged(){this.reloadTimeListeners(!!this.visible)}render(){var t;return o(s,{key:"78794225496c25083d6c1118325436bd6f78f920",role:this.stacked?void 0:"status",stacked:this.stacked,"pref-animation":e.state.animation,"pref-contrast":e.state.contrast,"pref-mode":e.state.mode,"pref-theme-scheme":e.state["theme-scheme"]},o("div",{key:"e145d6042004ece44479227bda7b71af55231e69",class:c("dialog",this.position&&`to-${this.position}`,this.visible&&"dialog--visible"),onFocusin:this.onFocusIn,onFocusout:this.onFocusOut,onPointerEnter:this.onPointerEnter,onPointerLeave:this.onPointerLeave},o("slot",{key:"ea4143e5d1fa9098ac2b3924a65ab18e78344a21",name:"icon"}),this.hasText&&o("mds-text",{key:"e5ccbb014439671bedc2cd9af71b82934dbb6d04",typography:"caption"},o("slot",{key:"1d0a7c60aafce454fd5e9154a730e3232ac50c41"})),o("div",{key:"6d25fc9ce5d851c23737b92748735f29659ab585",class:c("actions",!this.hasActions&&"actions--hidden")},o("slot",{key:"d8c3eadbd31c8512e5e4b1e8ceb442321bd2cb3d",name:"action",onSlotchange:this.onActionSlotChange})),this.deletable&&o("mds-button",{key:"f879cd5d161aa01092d03a265a5d0ad8484c7f8d","aria-label":this.t.get("hide"),class:"hide",icon:(null===(t=this.position)||void 0===t?void 0:t.startsWith("top"))?'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8l-8 8z"/></svg>':'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8l8-8z"/></svg>',onClick:this.onCloseClick,size:"sm",tone:"text",type:"button",variant:this.closeButtonVariant()})))}get hostElement(){return r(this)}static get watchers(){return{visible:[{visibleChanged:0}],duration:[{durationChanged:0}]}}};p.style='@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-toast-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42)));--mds-toast-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-toast-duration:var(--duration-300,.3s);--mds-toast-icon-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-toast-shadow:var(--shadow-xl,0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a);--mds-toast-width:auto;--private-toast-transition-duration:var(--mds-toast-duration,var(--duration-300,.3s));--private-toast-transition-duration-intro:var(--duration-500,.5s);--private-toast-transition-duration-icon:var(--duration-200,.2s);color:var(--mds-toast-color,rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255))));display:flex;left:0;pointer-events:none;position:fixed;right:0;z-index:var(--magma-modal-z-index,3000)}.dialog{--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));background-color:var(--mds-toast-background,rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))));border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px));box-shadow:var(--mds-toast-shadow);transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:inline-flex;gap:calc(var(--spacing,.0025rem)*400);margin-inline:calc(var(--spacing,.0025rem)*400);max-width:100%;padding:calc(var(--spacing,.0025rem)*400);pointer-events:none;transition-duration:var(--private-toast-transition-duration);transition-property:box-shadow,background-color,color,transform,visibility;visibility:hidden;width:var(--mds-toast-width,auto)}:host([visible]:not([visible=false])) .dialog{pointer-events:auto;visibility:visible}:host([position^=top]){top:0}:host([position=top-left]){justify-content:flex-start}:host([position=top-center]){justify-content:center}:host([position=top-right]){justify-content:flex-end}:host([position^=bottom]){bottom:0}:host([position=bottom-left]){justify-content:flex-start}:host([position=bottom-center]){justify-content:center}:host([position=bottom-right]){justify-content:flex-end}.actions{display:flex;gap:calc(var(--spacing,.0025rem)*200)}.actions--hidden{display:none}.hide{flex-shrink:0}::slotted([slot=icon]){--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));fill:var(--mds-toast-icon-color,rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255))));flex-shrink:0;transition-duration:var(--private-toast-transition-duration-icon);transition-property:fill;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}:host([variant=dark]),:host([variant=dark][tone=strong]){--mds-toast-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42)));--mds-toast-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)))}:host([variant=dark][tone=weak]){--mds-toast-background:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-toast-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)))}:host([variant=error]),:host([variant=error][tone=strong]){--mds-toast-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-toast-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=error][tone=weak]){--mds-toast-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--mds-toast-color:rgb(var(--magma-danger-text-subtle,var(--text-error-subtle,165 33 40)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=info]),:host([variant=info][tone=strong]){--mds-toast-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-toast-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([variant=info][tone=weak]){--mds-toast-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)));--mds-toast-color:rgb(var(--magma-info-text-subtle,var(--text-info-subtle,0 94 137)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([variant=light]),:host([variant=light][tone=strong]){--mds-toast-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-toast-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}:host([variant=light][tone=weak]){--mds-toast-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-toast-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}:host([variant=success]),:host([variant=success][tone=strong]){--mds-toast-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-toast-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=success][tone=weak]){--mds-toast-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)));--mds-toast-color:rgb(var(--magma-success-text-subtle,var(--text-success-subtle,0 102 32)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=warning]),:host([variant=warning][tone=strong]){--mds-toast-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-toast-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([variant=warning][tone=weak]){--mds-toast-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)));--mds-toast-color:rgb(var(--magma-warning-text-subtle,var(--text-warning-subtle,113 85 0)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}.to-top-center,.to-top-left,.to-top-right{transform:translateY(calc(-100% - var(--spacing,.0025rem)*1200));--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));transition-duration:var(--private-toast-transition-duration,var(--mds-toast-duration,var(--duration-300)));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,visibility,width;transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19))}.to-top-center.dialog--visible,.to-top-left.dialog--visible,.to-top-right.dialog--visible{transform:translateY(calc(var(--spacing,.0025rem)*400));--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));transition-duration:var(--private-toast-transition-duration-intro,var(--duration-500));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,visibility,width;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.to-bottom-center,.to-bottom-left,.to-bottom-right{transform:translateY(calc(100% + var(--spacing,.0025rem)*1200));--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));transition-duration:var(--private-toast-transition-duration,var(--mds-toast-duration,var(--duration-300)));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,visibility,width;transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19))}.to-bottom-center.dialog--visible,.to-bottom-left.dialog--visible,.to-bottom-right.dialog--visible{transform:translateY(calc(var(--spacing,.0025rem)*400*-1));--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));transition-duration:var(--private-toast-transition-duration-intro,var(--duration-500));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,visibility,width;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}:host([stacked]){inset:auto;position:relative;transition-behavior:allow-discrete;transition-duration:var(--private-toast-transition-duration);transition-property:display;z-index:auto}:host([stacked]:not([visible])),:host([stacked][visible=false]){display:none}:host([stacked]) .dialog:not(.dialog--visible){opacity:0;transform:none}@starting-style{:host([stacked]) .dialog--visible{opacity:0;transform:none}}: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-toast-transition-duration:0s;--private-toast-transition-duration-intro:0s;--private-toast-transition-duration-icon:0s}:host([pref-contrast=more]){--mds-toast-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))!important}@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-toast-transition-duration:0s;--private-toast-transition-duration-intro:0s;--private-toast-transition-duration-icon:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-toast-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))!important}}';export{p as mds_toast}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,d as
|
|
1
|
+
import{r as t,d as e,h as r,e as a,g as s}from"./p-CvLLN-QH.js";import{m as o}from"./p-DnEUG7st.js";import{L as d}from"./p-OafT80hV.js";import"./p-iX3kcwYg.js";var b={back:"Πήγαινε πίσω"},i={back:"Go back"},n={back:"Volver atrás"},c={back:"Indietro"};const l=class{constructor(r){t(this,r),this.changedEvent=e(this,"mdsBreadcrumbChange",7),this.t=new d({el:b,en:i,es:n,it:c}),this.hideBack=!1,this.queryItems=()=>this.element.querySelectorAll("mds-breadcrumb-item"),this.updateBackButton=t=>{var e;if(this.hideBack)return;const r=null===(e=this.element.shadowRoot)||void 0===e?void 0:e.querySelector(".back");0!==t?r.removeAttribute("disabled"):r.setAttribute("disabled","")},this.togglePrevious=()=>{const t=this.element.querySelector("mds-breadcrumb-item[selected]");if(!t)return;const e=Array.from(this.queryItems()).indexOf(t),r=this.queryItems();let a=0;r.forEach(((t,r)=>{t.selected=r===e-1,t.selected&&(a=r)})),this.updateBackButton(a),this.onChanged(a,r[a])},this.onChanged=(t,e)=>{this.changedEvent.emit({id:t.toString(),caller:e})}}componentDidLoad(){const t=this.queryItems();t.forEach(((t,e)=>{""===t.id&&(t.id=`item-${e}`)}));const e=this.element.querySelector("mds-breadcrumb-item[selected]");e&&e!==t[0]||this.updateBackButton(0)}activedEventHandler(t){const e=this.queryItems();let r=0;e.forEach(((e,a)=>{e.selected=e===t.target&&t.detail.selected,e.selected&&(r=a)})),this.updateBackButton(r),this.onChanged(r,t.target)}render(){return r(a,{key:"b4fa4da020f452b1edcef847e704c996fd250e89"},!this.hideBack&&r("mds-button",{key:"77ea1777687cb4338fac177075fa6dd26dbece93",title:this.t.get("back"),class:"back",tone:"text",variant:"dark",icon:o,onClick:this.togglePrevious}),r("slot",{key:"e7097b89671edcbf013d760aa129ccf2f753fcdc"}))}get element(){return s(this)}};l.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-breadcrumb-arrow-depth-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-breadcrumb-button-background-disabled:#0000;--mds-breadcrumb-button-background-hover:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-breadcrumb-button-background-selected:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-breadcrumb-button-background:#0000;--mds-breadcrumb-button-color-hover:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-breadcrumb-button-color-selected:var(--mds-breadcrumb-button-color-current,var(--mds-breadcrumb-current-button-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))));--mds-breadcrumb-button-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));-webkit-overflow-scrolling:touch;-ms-overflow-style:none;align-items:center;display:flex;gap:0;overflow:auto;padding:calc(var(--spacing,.0025rem)*200);scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none;width:100%}.back[disabled]{--mds-button-background:var(--mds-breadcrumb-button-background-disabled,#0000)}:host::-webkit-scrollbar{display:none}";export{l as mds_breadcrumb}
|