@maggioli-design-system/magma 2.3.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +1 -1
- package/CHANGELOG.md +237 -0
- package/agents/anti-patterns.md +7 -4
- package/agents/color.md +2 -2
- package/agents/components.md +2 -1
- package/agents/conventions.md +16 -0
- package/dist/cjs/{aria-BbJUuU9_.js → aria-CzO5Rp1y.js} +23 -15
- package/dist/cjs/{floating-controller-D7Ekjocg.js → floating-controller-BxER7sig.js} +20 -11
- package/dist/cjs/{floating-ui.dom-EMHL7uyZ.js → floating-ui.dom-VQ_HnnRe.js} +0 -115
- package/dist/cjs/{icon-MMHcqbgv.js → icon-BhokFNM7.js} +4 -2
- package/dist/cjs/{index-MyEb-PfD.js → index-B5DKRaVO.js} +1 -1
- package/dist/cjs/{index-UmmmCMIG.js → index-B_qgSpWL.js} +89 -60
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/keyboard-manager-BuCJdI8Q.js +75 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{locale-CnorkBwF.js → locale-D9XY8LN9.js} +1 -1
- package/dist/cjs/{locale.it-CfUV2hxK.js → locale.it-CQgfBg0W.js} +6 -1
- package/dist/cjs/{datetime-DHnUzK2K.js → luxon-8hyy5YD7.js} +164 -64
- package/dist/cjs/magma-components.cjs.js +3 -3
- package/dist/cjs/mds-accordion-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +11 -10
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +16 -2
- package/dist/cjs/mds-accordion.cjs.entry.js +36 -21
- package/dist/cjs/mds-author.cjs.entry.js +2 -2
- package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar-stack.cjs.entry.js +11 -5
- package/dist/cjs/mds-avatar.cjs.entry.js +57 -90
- package/dist/cjs/mds-badge.cjs.entry.js +4 -4
- package/dist/cjs/mds-banner_3.cjs.entry.js +51 -69
- package/dist/cjs/mds-benchmark-bar.cjs.entry.js +6 -3
- package/dist/cjs/mds-bibliography.cjs.entry.js +23 -17
- package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +9 -5
- package/dist/cjs/mds-breadcrumb.cjs.entry.js +17 -33
- package/dist/cjs/mds-button-dropdown.cjs.entry.js +15 -6
- package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
- package/dist/cjs/mds-button_3.cjs.entry.js +54 -38
- package/dist/cjs/mds-calendar_2.cjs.entry.js +74 -52
- 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 +2 -2
- package/dist/cjs/mds-card-media.cjs.entry.js +2 -2
- package/dist/cjs/mds-card.cjs.entry.js +25 -16
- package/dist/cjs/mds-details.cjs.entry.js +18 -8
- package/dist/cjs/mds-dropdown.cjs.entry.js +31 -15
- package/dist/cjs/mds-emoji.cjs.entry.js +191 -134
- package/dist/cjs/mds-entity.cjs.entry.js +5 -5
- package/dist/cjs/mds-file-preview.cjs.entry.js +30 -23
- package/dist/cjs/mds-file.cjs.entry.js +25 -7
- package/dist/cjs/mds-filter-item.cjs.entry.js +9 -21
- package/dist/cjs/mds-filter.cjs.entry.js +10 -6
- package/dist/cjs/mds-header-bar.cjs.entry.js +12 -11
- package/dist/cjs/mds-header.cjs.entry.js +9 -11
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +10 -15
- package/dist/cjs/mds-hr.cjs.entry.js +4 -4
- package/dist/cjs/mds-img.cjs.entry.js +38 -46
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +15 -7
- package/dist/cjs/mds-input-date-range.cjs.entry.js +31 -27
- package/dist/cjs/mds-input-date.cjs.entry.js +17 -14
- package/dist/cjs/mds-input-field.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-otp.cjs.entry.js +57 -22
- package/dist/cjs/mds-input-range.cjs.entry.js +4 -4
- package/dist/cjs/mds-input-select.cjs.entry.js +7 -7
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +10 -10
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +9 -8
- package/dist/cjs/mds-input-upload.cjs.entry.js +1097 -15
- package/dist/cjs/mds-input.cjs.entry.js +8 -8
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +5 -5
- package/dist/cjs/mds-keyboard.cjs.entry.js +15 -7
- package/dist/cjs/mds-kpi-item.cjs.entry.js +17 -3
- package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
- package/dist/cjs/mds-label.cjs.entry.js +13 -30
- package/dist/cjs/mds-list-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-list.cjs.entry.js +2 -2
- package/dist/cjs/mds-mention.cjs.entry.js +7 -6
- package/dist/cjs/mds-modal.cjs.entry.js +28 -11
- package/dist/cjs/mds-note.cjs.entry.js +18 -14
- package/dist/cjs/mds-notification.cjs.entry.js +72 -15
- package/dist/cjs/mds-paginator-item.cjs.entry.js +23 -11
- package/dist/cjs/mds-paginator.cjs.entry.js +39 -4
- package/dist/cjs/mds-policy-ai.cjs.entry.js +5 -5
- package/dist/cjs/mds-pref-animation.cjs.entry.js +41 -8
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +41 -8
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +44 -32
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +8 -8
- package/dist/cjs/mds-pref-language.cjs.entry.js +43 -21
- package/dist/cjs/mds-pref-mode.cjs.entry.js +28 -24
- package/dist/cjs/mds-pref-theme-item.cjs.entry.js +4 -3
- package/dist/cjs/mds-pref-theme.cjs.entry.js +109 -31
- package/dist/cjs/mds-pref.cjs.entry.js +28 -11
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table-features.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table-list.cjs.entry.js +14 -6
- package/dist/cjs/mds-price-table.cjs.entry.js +2 -2
- package/dist/cjs/mds-progress_2.cjs.entry.js +46 -33
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +12 -9
- package/dist/cjs/mds-push-notification.cjs.entry.js +36 -13
- package/dist/cjs/mds-quote.cjs.entry.js +3 -3
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-radial-menu.cjs.entry.js +47 -38
- package/dist/cjs/mds-separator.cjs.entry.js +4 -4
- package/dist/cjs/mds-status-bar.cjs.entry.js +8 -9
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +18 -6
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +8 -17
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +25 -16
- package/dist/cjs/mds-tab-bar.cjs.entry.js +11 -5
- package/dist/cjs/mds-tab_2.cjs.entry.js +16 -10
- package/dist/cjs/mds-table-body.cjs.entry.js +4 -4
- package/dist/cjs/mds-table-footer.cjs.entry.js +13 -4
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +3 -3
- package/dist/cjs/mds-table-header.cjs.entry.js +13 -5
- package/dist/cjs/mds-table-row.cjs.entry.js +35 -11
- package/dist/cjs/mds-table.cjs.entry.js +80 -23
- package/dist/cjs/mds-text.cjs.entry.js +4 -4
- package/dist/cjs/mds-toast-region.cjs.entry.js +119 -0
- package/dist/cjs/mds-toast.cjs.entry.js +163 -33
- package/dist/cjs/mds-tooltip.cjs.entry.js +71 -16
- package/dist/cjs/mds-tree-item.cjs.entry.js +24 -10
- package/dist/cjs/mds-tree.cjs.entry.js +37 -15
- package/dist/cjs/mds-url-view.cjs.entry.js +6 -6
- package/dist/cjs/mds-usage.cjs.entry.js +5 -5
- package/dist/cjs/mds-video-wall.cjs.entry.js +5 -4
- package/dist/cjs/mds-zero.cjs.entry.js +4 -4
- package/dist/cjs/{preference-DRkzNp5a.js → preference-C8BcoA3M.js} +1 -1
- package/dist/cjs/{slot-RmXfgH4P.js → slot-Dku0TdVg.js} +15 -0
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/common/aria.js +25 -1
- package/dist/collection/common/file.js +6 -1
- package/dist/collection/common/floating-controller.js +18 -9
- package/dist/collection/common/icon.js +4 -1
- package/dist/collection/common/keyboard-manager.js +29 -6
- package/dist/collection/common/slot.js +15 -1
- package/dist/collection/components/mds-accordion/AGENTS.md +3 -2
- package/dist/collection/components/mds-accordion/antipattern.md +1 -1
- package/dist/collection/components/mds-accordion/documentation.json +9 -4
- package/dist/collection/components/mds-accordion/mds-accordion.css +1 -1
- package/dist/collection/components/mds-accordion/mds-accordion.js +34 -21
- package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-item/antipattern.md +2 -2
- package/dist/collection/components/mds-accordion-item/documentation.json +3 -3
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +5 -1
- package/dist/collection/components/mds-accordion-timer/AGENTS.md +2 -2
- package/dist/collection/components/mds-accordion-timer/documentation.json +3 -3
- package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +15 -1
- package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-accordion-timer-item/documentation.json +4 -4
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +5 -1
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +9 -8
- package/dist/collection/components/mds-author/AGENTS.md +1 -1
- package/dist/collection/components/mds-author/documentation.json +2 -2
- package/dist/collection/components/mds-avatar/AGENTS.md +4 -4
- package/dist/collection/components/mds-avatar/documentation.json +4 -4
- package/dist/collection/components/mds-avatar/mds-avatar.css +15 -4
- package/dist/collection/components/mds-avatar/mds-avatar.js +56 -70
- package/dist/collection/components/mds-avatar/pattern.md +13 -2
- package/dist/collection/components/mds-avatar-stack/AGENTS.md +2 -2
- package/dist/collection/components/mds-avatar-stack/documentation.json +3 -3
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.css +1 -1
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +15 -2
- package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar-stack-item/documentation.json +2 -2
- package/dist/collection/components/mds-badge/AGENTS.md +1 -1
- package/dist/collection/components/mds-badge/antipattern.md +0 -1
- package/dist/collection/components/mds-badge/documentation.json +4 -4
- package/dist/collection/components/mds-badge/mds-badge.css +4 -2
- package/dist/collection/components/mds-badge/pattern.md +0 -1
- package/dist/collection/components/mds-banner/AGENTS.md +1 -1
- package/dist/collection/components/mds-banner/documentation.json +2 -2
- package/dist/collection/components/mds-banner/mds-banner.css +18 -14
- package/dist/collection/components/mds-benchmark-bar/AGENTS.md +2 -2
- package/dist/collection/components/mds-benchmark-bar/antipattern.md +1 -1
- package/dist/collection/components/mds-benchmark-bar/documentation.json +5 -5
- package/dist/collection/components/mds-benchmark-bar/mds-benchmark-bar.js +4 -1
- package/dist/collection/components/mds-benchmark-bar/pattern.md +1 -1
- package/dist/collection/components/mds-bibliography/AGENTS.md +4 -4
- package/dist/collection/components/mds-bibliography/antipattern.md +1 -1
- package/dist/collection/components/mds-bibliography/documentation.json +16 -7
- package/dist/collection/components/mds-bibliography/mds-bibliography.css +3 -1
- package/dist/collection/components/mds-bibliography/mds-bibliography.js +29 -17
- package/dist/collection/components/mds-bibliography/pattern.md +2 -2
- package/dist/collection/components/mds-breadcrumb/AGENTS.md +8 -6
- package/dist/collection/components/mds-breadcrumb/antipattern.md +3 -3
- package/dist/collection/components/mds-breadcrumb/documentation.json +18 -8
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.css +16 -5
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +13 -29
- package/dist/collection/components/mds-breadcrumb/pattern.md +2 -5
- package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-breadcrumb-item/documentation.json +10 -5
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +1 -1
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +10 -3
- package/dist/collection/components/mds-button/AGENTS.md +10 -7
- package/dist/collection/components/mds-button/documentation.json +21 -8
- package/dist/collection/components/mds-button/mds-button.css +13 -7
- package/dist/collection/components/mds-button/mds-button.js +32 -27
- package/dist/collection/components/mds-button/pattern.md +6 -0
- package/dist/collection/components/mds-button-dropdown/AGENTS.md +9 -8
- package/dist/collection/components/mds-button-dropdown/antipattern.md +1 -1
- package/dist/collection/components/mds-button-dropdown/documentation.json +13 -9
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +28 -7
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +15 -5
- package/dist/collection/components/mds-button-dropdown/pattern.md +8 -1
- package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
- package/dist/collection/components/mds-button-group/documentation.json +2 -2
- package/dist/collection/components/mds-calendar/AGENTS.md +4 -4
- package/dist/collection/components/mds-calendar/documentation.json +5 -5
- package/dist/collection/components/mds-calendar/mds-calendar.css +12 -4
- package/dist/collection/components/mds-calendar/mds-calendar.js +40 -20
- package/dist/collection/components/mds-calendar/pattern.md +4 -3
- package/dist/collection/components/mds-calendar-cell/AGENTS.md +8 -8
- package/dist/collection/components/mds-calendar-cell/antipattern.md +2 -1
- package/dist/collection/components/mds-calendar-cell/documentation.json +14 -10
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +260 -109
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +8 -3
- package/dist/collection/components/mds-calendar-cell/pattern.md +3 -1
- package/dist/collection/components/mds-card/AGENTS.md +5 -4
- package/dist/collection/components/mds-card/antipattern.md +1 -1
- package/dist/collection/components/mds-card/documentation.json +10 -5
- package/dist/collection/components/mds-card/mds-card.css +2 -1
- package/dist/collection/components/mds-card/mds-card.js +22 -13
- package/dist/collection/components/mds-card/pattern.md +4 -3
- package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-content/documentation.json +2 -2
- package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-footer/documentation.json +2 -2
- package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-header/documentation.json +2 -2
- package/dist/collection/components/mds-card-media/AGENTS.md +2 -2
- package/dist/collection/components/mds-card-media/documentation.json +7 -3
- package/dist/collection/components/mds-card-media/mds-card-media.js +2 -1
- package/dist/collection/components/mds-chip/AGENTS.md +3 -3
- package/dist/collection/components/mds-chip/documentation.json +6 -6
- package/dist/collection/components/mds-chip/mds-chip.css +12 -9
- package/dist/collection/components/mds-chip/mds-chip.js +40 -60
- package/dist/collection/components/mds-chip/pattern.md +1 -1
- package/dist/collection/components/mds-details/AGENTS.md +5 -4
- package/dist/collection/components/mds-details/documentation.json +6 -6
- package/dist/collection/components/mds-details/mds-details.css +14 -2
- package/dist/collection/components/mds-details/mds-details.js +14 -4
- package/dist/collection/components/mds-details/pattern.md +2 -2
- package/dist/collection/components/mds-dropdown/AGENTS.md +7 -7
- package/dist/collection/components/mds-dropdown/documentation.json +15 -10
- package/dist/collection/components/mds-dropdown/mds-dropdown.css +66 -33
- package/dist/collection/components/mds-dropdown/mds-dropdown.js +31 -12
- package/dist/collection/components/mds-dropdown/pattern.md +4 -2
- package/dist/collection/components/mds-emoji/AGENTS.md +11 -11
- package/dist/collection/components/mds-emoji/antipattern.md +1 -1
- package/dist/collection/components/mds-emoji/documentation.json +34 -64
- package/dist/collection/components/mds-emoji/mds-emoji.js +101 -77
- package/dist/collection/components/mds-emoji/meta/gaze.js +22 -0
- package/dist/collection/components/mds-entity/AGENTS.md +1 -1
- package/dist/collection/components/mds-entity/documentation.json +2 -2
- package/dist/collection/components/mds-entity/mds-entity.css +9 -4
- package/dist/collection/components/mds-entity/mds-entity.js +1 -1
- package/dist/collection/components/mds-file/AGENTS.md +5 -5
- package/dist/collection/components/mds-file/documentation.json +4 -4
- package/dist/collection/components/mds-file/mds-file.css +2 -2
- package/dist/collection/components/mds-file/mds-file.js +21 -3
- package/dist/collection/components/mds-file-preview/AGENTS.md +5 -5
- package/dist/collection/components/mds-file-preview/antipattern.md +1 -1
- package/dist/collection/components/mds-file-preview/documentation.json +20 -10
- package/dist/collection/components/mds-file-preview/mds-file-preview.css +27 -1
- package/dist/collection/components/mds-file-preview/mds-file-preview.js +34 -21
- package/dist/collection/components/mds-file-preview/pattern.md +1 -1
- package/dist/collection/components/mds-filter/AGENTS.md +1 -1
- package/dist/collection/components/mds-filter/documentation.json +2 -2
- package/dist/collection/components/mds-filter/mds-filter.css +3 -3
- package/dist/collection/components/mds-filter/mds-filter.js +6 -2
- package/dist/collection/components/mds-filter-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-filter-item/documentation.json +3 -3
- package/dist/collection/components/mds-filter-item/mds-filter-item.css +7 -4
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +2 -14
- package/dist/collection/components/mds-header/AGENTS.md +5 -5
- package/dist/collection/components/mds-header/antipattern.md +2 -2
- package/dist/collection/components/mds-header/documentation.json +14 -9
- package/dist/collection/components/mds-header/mds-header.css +8 -6
- package/dist/collection/components/mds-header/mds-header.js +10 -9
- package/dist/collection/components/mds-header/pattern.md +1 -1
- package/dist/collection/components/mds-header-bar/AGENTS.md +5 -5
- package/dist/collection/components/mds-header-bar/documentation.json +14 -10
- package/dist/collection/components/mds-header-bar/mds-header-bar.css +13 -4
- package/dist/collection/components/mds-header-bar/mds-header-bar.js +11 -9
- package/dist/collection/components/mds-header-bar/pattern.md +2 -2
- package/dist/collection/components/mds-help/AGENTS.md +7 -7
- package/dist/collection/components/mds-help/documentation.json +11 -7
- package/dist/collection/components/mds-help/mds-help.css +22 -0
- package/dist/collection/components/mds-help/mds-help.js +8 -5
- package/dist/collection/components/mds-help/pattern.md +2 -2
- package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +2 -2
- package/dist/collection/components/mds-horizontal-scroll/documentation.json +7 -3
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +3 -3
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +7 -11
- package/dist/collection/components/mds-hr/AGENTS.md +1 -1
- package/dist/collection/components/mds-hr/documentation.json +2 -2
- package/dist/collection/components/mds-hr/mds-hr.css +1 -1
- package/dist/collection/components/mds-hr/mds-hr.js +1 -1
- package/dist/collection/components/mds-icon/AGENTS.md +2 -2
- package/dist/collection/components/mds-icon/documentation.json +4 -4
- package/dist/collection/components/mds-icon/mds-icon.js +14 -3
- package/dist/collection/components/mds-icon/pattern.md +1 -1
- package/dist/collection/components/mds-img/AGENTS.md +9 -9
- package/dist/collection/components/mds-img/antipattern.md +1 -1
- package/dist/collection/components/mds-img/documentation.json +36 -34
- package/dist/collection/components/mds-img/mds-img.js +58 -56
- package/dist/collection/components/mds-input/AGENTS.md +15 -15
- package/dist/collection/components/mds-input/antipattern.md +1 -1
- package/dist/collection/components/mds-input/documentation.json +83 -22
- package/dist/collection/components/mds-input/mds-input.css +3 -3
- package/dist/collection/components/mds-input/mds-input.js +33 -9
- package/dist/collection/components/mds-input-date/AGENTS.md +3 -3
- package/dist/collection/components/mds-input-date/antipattern.md +1 -1
- package/dist/collection/components/mds-input-date/documentation.json +23 -6
- package/dist/collection/components/mds-input-date/mds-input-date.css +1 -2
- package/dist/collection/components/mds-input-date/mds-input-date.js +17 -2
- package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-date-range/documentation.json +18 -2
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +18 -2
- package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +3 -3
- package/dist/collection/components/mds-input-date-range-preselection/antipattern.md +1 -1
- package/dist/collection/components/mds-input-date-range-preselection/documentation.json +26 -8
- package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +31 -9
- package/dist/collection/components/mds-input-field/AGENTS.md +4 -4
- package/dist/collection/components/mds-input-field/documentation.json +10 -6
- package/dist/collection/components/mds-input-field/mds-input-field.css +1 -1
- package/dist/collection/components/mds-input-field/mds-input-field.js +5 -2
- package/dist/collection/components/mds-input-otp/AGENTS.md +5 -4
- package/dist/collection/components/mds-input-otp/antipattern.md +1 -1
- package/dist/collection/components/mds-input-otp/documentation.json +5 -5
- package/dist/collection/components/mds-input-otp/mds-input-otp.css +12 -0
- package/dist/collection/components/mds-input-otp/mds-input-otp.js +53 -18
- package/dist/collection/components/mds-input-otp/pattern.md +1 -1
- package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-range/antipattern.md +1 -1
- package/dist/collection/components/mds-input-range/documentation.json +3 -3
- package/dist/collection/components/mds-input-range/mds-input-range.css +3 -3
- package/dist/collection/components/mds-input-range/mds-input-range.js +1 -1
- package/dist/collection/components/mds-input-select/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-select/documentation.json +2 -2
- package/dist/collection/components/mds-input-select/mds-input-select.css +9 -2
- package/dist/collection/components/mds-input-select/mds-input-select.js +2 -2
- package/dist/collection/components/mds-input-switch/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-switch/antipattern.md +1 -1
- package/dist/collection/components/mds-input-switch/documentation.json +3 -3
- package/dist/collection/components/mds-input-switch/mds-input-switch.css +7 -6
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +1 -1
- package/dist/collection/components/mds-input-tip/AGENTS.md +2 -2
- package/dist/collection/components/mds-input-tip/documentation.json +3 -3
- package/dist/collection/components/mds-input-tip/mds-input-tip.js +4 -3
- package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-tip-item/documentation.json +2 -2
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.css +3 -1
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
- package/dist/collection/components/mds-input-tip-item/meta/dictionary.js +2 -8
- package/dist/collection/components/mds-input-upload/AGENTS.md +2 -2
- package/dist/collection/components/mds-input-upload/documentation.json +7 -3
- package/dist/collection/components/mds-input-upload/mds-input-upload.css +4 -3
- package/dist/collection/components/mds-input-upload/mds-input-upload.js +13 -8
- package/dist/collection/components/mds-keyboard/AGENTS.md +2 -2
- package/dist/collection/components/mds-keyboard/documentation.json +4 -4
- package/dist/collection/components/mds-keyboard/mds-keyboard.css +24 -13
- package/dist/collection/components/mds-keyboard/mds-keyboard.js +11 -3
- package/dist/collection/components/mds-keyboard/pattern.md +1 -1
- package/dist/collection/components/mds-keyboard-key/AGENTS.md +2 -2
- package/dist/collection/components/mds-keyboard-key/documentation.json +3 -3
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +2 -2
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
- package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
- package/dist/collection/components/mds-kpi/documentation.json +2 -2
- package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
- package/dist/collection/components/mds-kpi-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-kpi-item/antipattern.md +1 -1
- package/dist/collection/components/mds-kpi-item/documentation.json +5 -5
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +15 -1
- package/dist/collection/components/mds-kpi-item/pattern.md +2 -2
- package/dist/collection/components/mds-label/AGENTS.md +2 -2
- package/dist/collection/components/mds-label/documentation.json +3 -3
- package/dist/collection/components/mds-label/mds-label.css +6 -1
- package/dist/collection/components/mds-label/mds-label.js +2 -24
- package/dist/collection/components/mds-list/AGENTS.md +1 -1
- package/dist/collection/components/mds-list/documentation.json +2 -2
- package/dist/collection/components/mds-list/mds-list.js +1 -1
- package/dist/collection/components/mds-list-item/AGENTS.md +3 -3
- package/dist/collection/components/mds-list-item/documentation.json +12 -4
- package/dist/collection/components/mds-list-item/mds-list-item.js +3 -1
- package/dist/collection/components/mds-mention/AGENTS.md +2 -2
- package/dist/collection/components/mds-mention/documentation.json +3 -3
- package/dist/collection/components/mds-mention/mds-mention.css +2 -11
- package/dist/collection/components/mds-mention/mds-mention.js +4 -3
- package/dist/collection/components/mds-modal/AGENTS.md +7 -6
- package/dist/collection/components/mds-modal/documentation.json +16 -7
- package/dist/collection/components/mds-modal/mds-modal.css +18 -9
- package/dist/collection/components/mds-modal/mds-modal.js +25 -7
- package/dist/collection/components/mds-modal/pattern.md +1 -1
- package/dist/collection/components/mds-note/AGENTS.md +2 -1
- package/dist/collection/components/mds-note/documentation.json +8 -3
- package/dist/collection/components/mds-note/mds-note.css +4 -12
- package/dist/collection/components/mds-note/mds-note.js +13 -9
- package/dist/collection/components/mds-note/pattern.md +1 -0
- package/dist/collection/components/mds-notification/AGENTS.md +5 -5
- package/dist/collection/components/mds-notification/documentation.json +10 -5
- package/dist/collection/components/mds-notification/mds-notification.css +9 -2
- package/dist/collection/components/mds-notification/mds-notification.js +78 -13
- package/dist/collection/components/mds-paginator/AGENTS.md +4 -3
- package/dist/collection/components/mds-paginator/antipattern.md +2 -1
- package/dist/collection/components/mds-paginator/documentation.json +6 -6
- package/dist/collection/components/mds-paginator/mds-paginator.css +2 -2
- package/dist/collection/components/mds-paginator/mds-paginator.js +12 -1
- package/dist/collection/components/mds-paginator/pattern.md +9 -1
- package/dist/collection/components/mds-paginator-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-paginator-item/antipattern.md +2 -1
- package/dist/collection/components/mds-paginator-item/documentation.json +6 -6
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +67 -70
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +19 -7
- package/dist/collection/components/mds-paginator-item/pattern.md +3 -1
- package/dist/collection/components/mds-policy-ai/AGENTS.md +3 -2
- package/dist/collection/components/mds-policy-ai/documentation.json +13 -5
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.css +13 -7
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +3 -2
- package/dist/collection/components/mds-policy-ai/pattern.md +6 -1
- package/dist/collection/components/mds-pref/AGENTS.md +5 -5
- package/dist/collection/components/mds-pref/antipattern.md +1 -1
- package/dist/collection/components/mds-pref/documentation.json +8 -8
- package/dist/collection/components/mds-pref/mds-pref.js +27 -9
- package/dist/collection/components/mds-pref/pattern.md +5 -5
- package/dist/collection/components/mds-pref-animation/AGENTS.md +3 -3
- package/dist/collection/components/mds-pref-animation/antipattern.md +1 -1
- package/dist/collection/components/mds-pref-animation/documentation.json +5 -5
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +38 -5
- package/dist/collection/components/mds-pref-animation/pattern.md +6 -6
- package/dist/collection/components/mds-pref-consumption/AGENTS.md +3 -3
- package/dist/collection/components/mds-pref-consumption/antipattern.md +1 -1
- package/dist/collection/components/mds-pref-consumption/documentation.json +5 -5
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +38 -5
- package/dist/collection/components/mds-pref-consumption/pattern.md +5 -6
- package/dist/collection/components/mds-pref-contrast/AGENTS.md +3 -3
- package/dist/collection/components/mds-pref-contrast/antipattern.md +2 -2
- package/dist/collection/components/mds-pref-contrast/documentation.json +5 -5
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +41 -29
- package/dist/collection/components/mds-pref-contrast/pattern.md +3 -3
- package/dist/collection/components/mds-pref-language/AGENTS.md +5 -5
- package/dist/collection/components/mds-pref-language/antipattern.md +2 -2
- package/dist/collection/components/mds-pref-language/documentation.json +17 -7
- package/dist/collection/components/mds-pref-language/mds-pref-language.js +54 -20
- package/dist/collection/components/mds-pref-language/pattern.md +3 -3
- package/dist/collection/components/mds-pref-language-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-pref-language-item/antipattern.md +1 -1
- package/dist/collection/components/mds-pref-language-item/documentation.json +10 -5
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +9 -6
- package/dist/collection/components/mds-pref-mode/AGENTS.md +11 -4
- package/dist/collection/components/mds-pref-mode/antipattern.md +4 -4
- package/dist/collection/components/mds-pref-mode/documentation.json +22 -6
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +1 -1
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +22 -23
- package/dist/collection/components/mds-pref-mode/pattern.md +5 -5
- package/dist/collection/components/mds-pref-theme/AGENTS.md +6 -5
- package/dist/collection/components/mds-pref-theme/antipattern.md +4 -4
- package/dist/collection/components/mds-pref-theme/documentation.json +17 -7
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +121 -30
- package/dist/collection/components/mds-pref-theme/pattern.md +3 -3
- package/dist/collection/components/mds-pref-theme-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-pref-theme-item/antipattern.md +1 -1
- package/dist/collection/components/mds-pref-theme-item/documentation.json +8 -4
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +20 -3
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +6 -2
- package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table/documentation.json +2 -2
- package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
- package/dist/collection/components/mds-price-table-features/AGENTS.md +3 -3
- package/dist/collection/components/mds-price-table-features/documentation.json +4 -4
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +2 -2
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
- package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +2 -2
- package/dist/collection/components/mds-price-table-features-cell/documentation.json +3 -3
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +5 -2
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
- package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-features-row/documentation.json +2 -2
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
- package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-header/documentation.json +2 -2
- package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
- package/dist/collection/components/mds-price-table-list/AGENTS.md +3 -3
- package/dist/collection/components/mds-price-table-list/documentation.json +3 -3
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +2 -1
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +13 -3
- package/dist/collection/components/mds-price-table-list-item/AGENTS.md +3 -3
- package/dist/collection/components/mds-price-table-list-item/documentation.json +9 -5
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.css +5 -1
- 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 +1 -1
- package/dist/collection/components/mds-progress/AGENTS.md +3 -2
- package/dist/collection/components/mds-progress/documentation.json +4 -4
- package/dist/collection/components/mds-progress/mds-progress.css +2 -1
- package/dist/collection/components/mds-progress/mds-progress.js +42 -29
- package/dist/collection/components/mds-progress/pattern.md +1 -0
- package/dist/collection/components/mds-push-notification/AGENTS.md +4 -4
- package/dist/collection/components/mds-push-notification/documentation.json +4 -4
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +19 -12
- package/dist/collection/components/mds-push-notification-item/AGENTS.md +4 -5
- package/dist/collection/components/mds-push-notification-item/documentation.json +18 -13
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +5 -88
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +17 -8
- package/dist/collection/components/mds-push-notification-item/pattern.md +2 -3
- package/dist/collection/components/mds-quote/AGENTS.md +1 -1
- package/dist/collection/components/mds-quote/documentation.json +2 -2
- package/dist/collection/components/mds-quote/mds-quote.js +1 -1
- package/dist/collection/components/mds-radial-menu/AGENTS.md +12 -11
- package/dist/collection/components/mds-radial-menu/antipattern.md +1 -1
- package/dist/collection/components/mds-radial-menu/documentation.json +19 -33
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +24 -7
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +46 -39
- package/dist/collection/components/mds-radial-menu/pattern.md +14 -1
- package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-radial-menu-item/documentation.json +2 -2
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
- package/dist/collection/components/mds-radial-progress/AGENTS.md +11 -1
- package/dist/collection/components/mds-radial-progress/antipattern.md +8 -1
- package/dist/collection/components/mds-radial-progress/documentation.json +31 -5
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +9 -1
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
- package/dist/collection/components/mds-radial-progress/pattern.md +13 -1
- package/dist/collection/components/mds-separator/AGENTS.md +1 -1
- package/dist/collection/components/mds-separator/documentation.json +2 -2
- package/dist/collection/components/mds-separator/mds-separator.css +1 -1
- package/dist/collection/components/mds-separator/mds-separator.js +1 -1
- package/dist/collection/components/mds-spinner/AGENTS.md +2 -2
- package/dist/collection/components/mds-spinner/documentation.json +4 -4
- package/dist/collection/components/mds-spinner/mds-spinner.css +64 -13
- package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
- package/dist/collection/components/mds-spinner/pattern.md +1 -1
- package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-status-bar/antipattern.md +1 -1
- package/dist/collection/components/mds-status-bar/documentation.json +4 -4
- package/dist/collection/components/mds-status-bar/mds-status-bar.css +11 -6
- package/dist/collection/components/mds-status-bar/mds-status-bar.js +5 -6
- package/dist/collection/components/mds-status-bar/pattern.md +1 -1
- package/dist/collection/components/mds-stepper-bar/AGENTS.md +5 -5
- package/dist/collection/components/mds-stepper-bar/documentation.json +8 -14
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +9 -27
- package/dist/collection/components/mds-stepper-bar/pattern.md +1 -1
- package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-stepper-bar-item/documentation.json +6 -6
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +22 -5
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +15 -3
- package/dist/collection/components/mds-stepper-bar-item/pattern.md +1 -1
- package/dist/collection/components/mds-tab/AGENTS.md +3 -3
- package/dist/collection/components/mds-tab/documentation.json +5 -5
- package/dist/collection/components/mds-tab/mds-tab.css +4 -4
- package/dist/collection/components/mds-tab/mds-tab.js +9 -3
- package/dist/collection/components/mds-tab/pattern.md +9 -0
- package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-bar/antipattern.md +1 -1
- package/dist/collection/components/mds-tab-bar/documentation.json +3 -3
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +9 -3
- package/dist/collection/components/mds-tab-bar-item/AGENTS.md +3 -3
- package/dist/collection/components/mds-tab-bar-item/antipattern.md +2 -2
- package/dist/collection/components/mds-tab-bar-item/documentation.json +5 -5
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +22 -1
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +22 -18
- package/dist/collection/components/mds-tab-bar-item/pattern.md +1 -1
- package/dist/collection/components/mds-tab-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-tab-item/documentation.json +9 -4
- package/dist/collection/components/mds-tab-item/mds-tab-item.css +11 -1
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +4 -1
- package/dist/collection/components/mds-table/AGENTS.md +10 -8
- package/dist/collection/components/mds-table/antipattern.md +1 -1
- package/dist/collection/components/mds-table/documentation.json +41 -10
- package/dist/collection/components/mds-table/mds-table.css +20 -21
- package/dist/collection/components/mds-table/mds-table.js +97 -21
- package/dist/collection/components/mds-table/pattern.md +4 -1
- package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-body/documentation.json +2 -2
- package/dist/collection/components/mds-table-body/mds-table-body.css +4 -1
- package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
- package/dist/collection/components/mds-table-cell/AGENTS.md +5 -5
- package/dist/collection/components/mds-table-cell/antipattern.md +1 -1
- package/dist/collection/components/mds-table-cell/documentation.json +11 -7
- package/dist/collection/components/mds-table-cell/mds-table-cell.css +7 -11
- package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
- package/dist/collection/components/mds-table-cell/pattern.md +6 -0
- package/dist/collection/components/mds-table-footer/AGENTS.md +14 -4
- package/dist/collection/components/mds-table-footer/documentation.json +42 -9
- package/dist/collection/components/mds-table-footer/mds-table-footer.css +6 -1
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +41 -2
- package/dist/collection/components/mds-table-footer/pattern.md +2 -1
- package/dist/collection/components/mds-table-header/AGENTS.md +4 -3
- package/dist/collection/components/mds-table-header/documentation.json +49 -6
- package/dist/collection/components/mds-table-header/mds-table-header.css +7 -0
- package/dist/collection/components/mds-table-header/mds-table-header.js +36 -2
- package/dist/collection/components/mds-table-header/pattern.md +1 -1
- package/dist/collection/components/mds-table-header-cell/AGENTS.md +3 -3
- package/dist/collection/components/mds-table-header-cell/documentation.json +20 -6
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +9 -2
- package/dist/collection/components/mds-table-row/AGENTS.md +3 -3
- package/dist/collection/components/mds-table-row/documentation.json +5 -5
- package/dist/collection/components/mds-table-row/mds-table-row.css +5 -4
- package/dist/collection/components/mds-table-row/mds-table-row.js +24 -5
- package/dist/collection/components/mds-table-row/pattern.md +1 -2
- package/dist/collection/components/mds-text/AGENTS.md +2 -2
- package/dist/collection/components/mds-text/documentation.json +3 -3
- package/dist/collection/components/mds-text/mds-text.css +86 -3
- package/dist/collection/components/mds-text/mds-text.js +1 -1
- package/dist/collection/components/mds-toast/AGENTS.md +13 -7
- package/dist/collection/components/mds-toast/antipattern.md +18 -0
- package/dist/collection/components/mds-toast/documentation.json +53 -13
- package/dist/collection/components/mds-toast/mds-toast.css +52 -3
- package/dist/collection/components/mds-toast/mds-toast.js +174 -35
- package/dist/collection/components/mds-toast/meta/event-detail.js +1 -0
- package/dist/collection/components/mds-toast/pattern.md +18 -4
- package/dist/collection/components/mds-toast-region/AGENTS.md +51 -0
- package/dist/collection/components/mds-toast-region/antipattern.md +62 -0
- package/dist/collection/components/mds-toast-region/documentation.json +136 -0
- package/dist/collection/components/mds-toast-region/mds-toast-region.css +31 -0
- package/dist/collection/components/mds-toast-region/mds-toast-region.js +177 -0
- package/dist/collection/components/mds-toast-region/pattern.md +82 -0
- package/dist/collection/components/mds-tooltip/AGENTS.md +7 -7
- package/dist/collection/components/mds-tooltip/documentation.json +18 -9
- package/dist/collection/components/mds-tooltip/mds-tooltip.css +43 -8
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +73 -14
- package/dist/collection/components/mds-tooltip/pattern.md +2 -2
- package/dist/collection/components/mds-tree/AGENTS.md +6 -5
- package/dist/collection/components/mds-tree/documentation.json +13 -7
- package/dist/collection/components/mds-tree/mds-tree.css +5 -4
- package/dist/collection/components/mds-tree/mds-tree.js +41 -16
- package/dist/collection/components/mds-tree/pattern.md +5 -1
- package/dist/collection/components/mds-tree-item/AGENTS.md +7 -7
- package/dist/collection/components/mds-tree-item/documentation.json +7 -7
- package/dist/collection/components/mds-tree-item/mds-tree-item.css +47 -15
- package/dist/collection/components/mds-tree-item/mds-tree-item.js +22 -8
- package/dist/collection/components/mds-tree-item/pattern.md +2 -1
- package/dist/collection/components/mds-url-view/AGENTS.md +2 -2
- package/dist/collection/components/mds-url-view/documentation.json +3 -3
- package/dist/collection/components/mds-url-view/mds-url-view.css +3 -2
- package/dist/collection/components/mds-url-view/mds-url-view.js +2 -2
- package/dist/collection/components/mds-usage/AGENTS.md +12 -10
- package/dist/collection/components/mds-usage/antipattern.md +1 -1
- package/dist/collection/components/mds-usage/documentation.json +21 -9
- package/dist/collection/components/mds-usage/mds-usage.css +5 -3
- package/dist/collection/components/mds-usage/mds-usage.js +5 -2
- package/dist/collection/components/mds-usage/pattern.md +4 -4
- package/dist/collection/components/mds-video-wall/AGENTS.md +2 -2
- package/dist/collection/components/mds-video-wall/documentation.json +3 -3
- package/dist/collection/components/mds-video-wall/mds-video-wall.css +10 -5
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +2 -1
- package/dist/collection/components/mds-zero/AGENTS.md +1 -1
- package/dist/collection/components/mds-zero/documentation.json +2 -2
- package/dist/collection/components/mds-zero/mds-zero.css +2 -1
- package/dist/collection/components/mds-zero/mds-zero.js +1 -1
- 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-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 +7 -7
- 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-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.d.ts +11 -0
- package/dist/components/mds-toast-region.js +1 -0
- 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-2gaGDQwL.js +1 -0
- package/dist/components/p-AFBkzOrP.js +1 -0
- package/dist/components/p-B1bYa-o0.js +1 -0
- package/dist/components/p-B2p5a1Y8.js +3 -0
- package/dist/components/p-B6B6q5kP.js +1 -0
- package/dist/components/{p--miH951G.js → p-B9dgiq4u.js} +1 -1
- package/dist/components/p-BFisF7aN.js +1 -0
- package/dist/components/p-BL220gRU.js +1 -0
- package/dist/components/p-BLiWCyrD.js +1 -0
- package/dist/components/p-BN5kmfLJ.js +8 -0
- package/dist/components/p-BUr3NqxM.js +1 -0
- package/dist/components/p-BaFfIZGB.js +1 -0
- package/dist/components/{p-faViX-qz.js → p-Bg5E4Wnq.js} +1 -1
- package/dist/components/p-BjFCjSw6.js +1 -0
- package/dist/components/{p-zHpei4x6.js → p-BlnEiKN4.js} +1 -1
- package/dist/components/p-CGrPq3C4.js +1 -0
- package/dist/components/p-CIWWmisz.js +1 -0
- package/dist/components/p-CJyTL7Mj.js +1 -0
- package/dist/components/p-Cvhn9asj.js +1 -0
- package/dist/components/p-CylHulxe.js +1 -0
- package/dist/components/p-D3_jgpKd.js +1 -0
- package/dist/components/p-D4JiVIoh.js +1 -0
- package/dist/components/{p-CUmJoPAI.js → p-DACnmwad.js} +1 -1
- package/dist/components/p-DGGk8PS_.js +1 -0
- package/dist/components/p-DSxDXNWp.js +1 -0
- package/dist/components/p-DWIIDHSa.js +1 -0
- package/dist/components/p-DYpfVn7a.js +1 -0
- package/dist/components/{p-qYRtWYC8.js → p-D_0rjNZp.js} +1 -1
- package/dist/components/p-DaptTdaU.js +1 -0
- package/dist/components/{p-DLCcW1Q5.js → p-DezdwzYQ.js} +1 -1
- package/dist/components/{p-BcUY-9n7.js → p-DhIGZbIo.js} +1 -1
- package/dist/components/{p-ay5NzZ_x.js → p-Didp833Z.js} +1 -1
- package/dist/components/p-Dleapw-k.js +1 -0
- package/dist/components/p-JPhOaOXe.js +1 -0
- package/dist/components/p-NOw8-OrM.js +1 -0
- package/dist/components/p-NlPseOAv.js +1 -0
- package/dist/components/{p-DmPLOktp.js → p-cIZniMh0.js} +1 -1
- package/dist/components/p-fhAmrBfl.js +1 -0
- package/dist/components/p-sM-eFjwq.js +1 -0
- package/dist/components/p-wHQGpA62.js +1 -0
- package/dist/documentation.json +1069 -462
- package/dist/esm/aria-Cvhn9asj.js +53 -0
- package/dist/esm/{floating-controller-D5-8D9mH.js → floating-controller-BV0E_Juq.js} +20 -11
- package/dist/esm/{floating-ui.dom-JMPfVnGv.js → floating-ui.dom-BaFfIZGB.js} +1 -115
- package/dist/esm/{icon-pNJmnrhq.js → icon-B7RVWU-q.js} +4 -2
- package/dist/esm/{index-BxPbQB28.js → index-CPRkNQdE.js} +89 -60
- package/dist/esm/{index-BhCZiGfL.js → index-DI_6NAg0.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/keyboard-manager-CGrPq3C4.js +73 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-CVJm6KFD.js → locale-DfpXg7qZ.js} +1 -1
- package/dist/esm/{locale.it-Cvxh7La5.js → locale.it-Diyps98n.js} +6 -1
- package/dist/esm/{datetime-BJtA1qmE.js → luxon-DbyXf6dF.js} +164 -64
- package/dist/esm/magma-components.js +4 -4
- package/dist/esm/mds-accordion-item.entry.js +3 -3
- package/dist/esm/mds-accordion-timer-item.entry.js +11 -10
- package/dist/esm/mds-accordion-timer.entry.js +16 -2
- package/dist/esm/mds-accordion.entry.js +36 -21
- package/dist/esm/mds-author.entry.js +2 -2
- package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm/mds-avatar-stack.entry.js +11 -5
- package/dist/esm/mds-avatar.entry.js +57 -90
- package/dist/esm/mds-badge.entry.js +4 -4
- package/dist/esm/mds-banner_3.entry.js +51 -69
- package/dist/esm/mds-benchmark-bar.entry.js +6 -3
- package/dist/esm/mds-bibliography.entry.js +23 -17
- package/dist/esm/mds-breadcrumb-item.entry.js +9 -5
- package/dist/esm/mds-breadcrumb.entry.js +17 -33
- package/dist/esm/mds-button-dropdown.entry.js +15 -6
- package/dist/esm/mds-button-group.entry.js +1 -1
- package/dist/esm/mds-button_3.entry.js +54 -38
- package/dist/esm/mds-calendar_2.entry.js +50 -28
- 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 +2 -2
- package/dist/esm/mds-card-media.entry.js +2 -2
- package/dist/esm/mds-card.entry.js +25 -16
- package/dist/esm/mds-details.entry.js +18 -8
- package/dist/esm/mds-dropdown.entry.js +31 -15
- package/dist/esm/mds-emoji.entry.js +191 -134
- package/dist/esm/mds-entity.entry.js +5 -5
- package/dist/esm/mds-file-preview.entry.js +30 -23
- package/dist/esm/mds-file.entry.js +25 -7
- package/dist/esm/mds-filter-item.entry.js +9 -21
- package/dist/esm/mds-filter.entry.js +10 -6
- package/dist/esm/mds-header-bar.entry.js +12 -11
- package/dist/esm/mds-header.entry.js +9 -11
- package/dist/esm/mds-horizontal-scroll.entry.js +10 -15
- package/dist/esm/mds-hr.entry.js +4 -4
- package/dist/esm/mds-img.entry.js +38 -46
- package/dist/esm/mds-input-date-range-preselection.entry.js +15 -7
- package/dist/esm/mds-input-date-range.entry.js +12 -8
- package/dist/esm/mds-input-date.entry.js +11 -8
- package/dist/esm/mds-input-field.entry.js +2 -2
- package/dist/esm/mds-input-otp.entry.js +57 -22
- package/dist/esm/mds-input-range.entry.js +4 -4
- package/dist/esm/mds-input-select.entry.js +7 -7
- package/dist/esm/mds-input-switch_2.entry.js +10 -10
- package/dist/esm/mds-input-tip_2.entry.js +9 -8
- package/dist/esm/mds-input-upload.entry.js +1097 -15
- package/dist/esm/mds-input.entry.js +8 -8
- package/dist/esm/mds-keyboard-key.entry.js +5 -5
- package/dist/esm/mds-keyboard.entry.js +15 -7
- package/dist/esm/mds-kpi-item.entry.js +17 -3
- package/dist/esm/mds-kpi.entry.js +2 -2
- package/dist/esm/mds-label.entry.js +13 -30
- package/dist/esm/mds-list-item.entry.js +2 -2
- package/dist/esm/mds-list.entry.js +2 -2
- package/dist/esm/mds-mention.entry.js +7 -6
- package/dist/esm/mds-modal.entry.js +28 -11
- package/dist/esm/mds-note.entry.js +18 -14
- package/dist/esm/mds-notification.entry.js +72 -15
- package/dist/esm/mds-paginator-item.entry.js +23 -11
- package/dist/esm/mds-paginator.entry.js +39 -4
- package/dist/esm/mds-policy-ai.entry.js +5 -5
- package/dist/esm/mds-pref-animation.entry.js +41 -8
- package/dist/esm/mds-pref-consumption.entry.js +41 -8
- package/dist/esm/mds-pref-contrast.entry.js +44 -32
- package/dist/esm/mds-pref-language-item.entry.js +8 -8
- package/dist/esm/mds-pref-language.entry.js +43 -21
- package/dist/esm/mds-pref-mode.entry.js +28 -24
- package/dist/esm/mds-pref-theme-item.entry.js +4 -3
- package/dist/esm/mds-pref-theme.entry.js +109 -31
- package/dist/esm/mds-pref.entry.js +28 -11
- package/dist/esm/mds-price-table-features-cell.entry.js +4 -4
- package/dist/esm/mds-price-table-features-row.entry.js +3 -3
- package/dist/esm/mds-price-table-features.entry.js +4 -4
- package/dist/esm/mds-price-table-header.entry.js +2 -2
- package/dist/esm/mds-price-table-list-item.entry.js +3 -3
- package/dist/esm/mds-price-table-list.entry.js +14 -6
- package/dist/esm/mds-price-table.entry.js +2 -2
- package/dist/esm/mds-progress_2.entry.js +46 -33
- package/dist/esm/mds-push-notification-item.entry.js +12 -9
- package/dist/esm/mds-push-notification.entry.js +36 -13
- package/dist/esm/mds-quote.entry.js +3 -3
- package/dist/esm/mds-radial-menu-item.entry.js +2 -2
- package/dist/esm/mds-radial-menu.entry.js +47 -38
- package/dist/esm/mds-separator.entry.js +4 -4
- package/dist/esm/mds-status-bar.entry.js +8 -9
- package/dist/esm/mds-stepper-bar-item.entry.js +18 -6
- package/dist/esm/mds-stepper-bar.entry.js +8 -17
- package/dist/esm/mds-tab-bar-item.entry.js +25 -16
- package/dist/esm/mds-tab-bar.entry.js +11 -5
- package/dist/esm/mds-tab_2.entry.js +16 -10
- package/dist/esm/mds-table-body.entry.js +4 -4
- package/dist/esm/mds-table-footer.entry.js +13 -4
- package/dist/esm/mds-table-header-cell.entry.js +3 -3
- package/dist/esm/mds-table-header.entry.js +13 -5
- package/dist/esm/mds-table-row.entry.js +35 -11
- package/dist/esm/mds-table.entry.js +80 -23
- package/dist/esm/mds-text.entry.js +4 -4
- package/dist/esm/mds-toast-region.entry.js +117 -0
- package/dist/esm/mds-toast.entry.js +163 -33
- package/dist/esm/mds-tooltip.entry.js +71 -16
- package/dist/esm/mds-tree-item.entry.js +24 -10
- package/dist/esm/mds-tree.entry.js +37 -15
- package/dist/esm/mds-url-view.entry.js +6 -6
- package/dist/esm/mds-usage.entry.js +5 -5
- package/dist/esm/mds-video-wall.entry.js +5 -4
- package/dist/esm/mds-zero.entry.js +4 -4
- package/dist/esm/{preference-DNNqH7BU.js → preference-Ch1zJnqq.js} +1 -1
- package/dist/esm/{slot-C0o_l0td.js → slot-AEckDMXh.js} +15 -1
- package/dist/esm-es5/aria-Cvhn9asj.js +6 -0
- package/dist/esm-es5/{floating-controller-D5-8D9mH.js → floating-controller-BV0E_Juq.js} +12 -3
- package/dist/esm-es5/{floating-ui.dom-JMPfVnGv.js → floating-ui.dom-BaFfIZGB.js} +40 -63
- package/dist/esm-es5/icon-B7RVWU-q.js +4 -0
- package/dist/esm-es5/{index-BxPbQB28.js → index-CPRkNQdE.js} +44 -42
- package/dist/esm-es5/{index-BhCZiGfL.js → index-DI_6NAg0.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/keyboard-manager-CGrPq3C4.js +9 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{locale-CVJm6KFD.js → locale-DfpXg7qZ.js} +1 -1
- package/dist/esm-es5/locale.it-Diyps98n.js +11 -0
- package/dist/esm-es5/{datetime-BJtA1qmE.js → luxon-DbyXf6dF.js} +51 -20
- package/dist/esm-es5/magma-components.js +3 -3
- package/dist/esm-es5/mds-accordion-item.entry.js +2 -2
- package/dist/esm-es5/mds-accordion-timer-item.entry.js +7 -3
- package/dist/esm-es5/mds-accordion-timer.entry.js +12 -2
- package/dist/esm-es5/mds-accordion.entry.js +14 -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 +4 -1
- package/dist/esm-es5/mds-avatar.entry.js +19 -6
- package/dist/esm-es5/mds-badge.entry.js +1 -1
- package/dist/esm-es5/mds-banner_3.entry.js +19 -18
- package/dist/esm-es5/mds-benchmark-bar.entry.js +5 -2
- package/dist/esm-es5/mds-bibliography.entry.js +13 -2
- package/dist/esm-es5/mds-breadcrumb-item.entry.js +4 -1
- package/dist/esm-es5/mds-breadcrumb.entry.js +8 -2
- package/dist/esm-es5/mds-button-dropdown.entry.js +6 -3
- package/dist/esm-es5/mds-button-group.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +26 -11
- package/dist/esm-es5/mds-calendar_2.entry.js +20 -9
- 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 +11 -5
- package/dist/esm-es5/mds-details.entry.js +7 -2
- package/dist/esm-es5/mds-dropdown.entry.js +26 -17
- package/dist/esm-es5/mds-emoji.entry.js +334 -302
- package/dist/esm-es5/mds-entity.entry.js +1 -1
- package/dist/esm-es5/mds-file-preview.entry.js +15 -13
- package/dist/esm-es5/mds-file.entry.js +11 -4
- package/dist/esm-es5/mds-filter-item.entry.js +2 -5
- package/dist/esm-es5/mds-filter.entry.js +7 -3
- package/dist/esm-es5/mds-header-bar.entry.js +7 -5
- package/dist/esm-es5/mds-header.entry.js +7 -4
- package/dist/esm-es5/mds-horizontal-scroll.entry.js +15 -12
- package/dist/esm-es5/mds-hr.entry.js +1 -1
- package/dist/esm-es5/mds-img.entry.js +17 -11
- package/dist/esm-es5/mds-input-date-range-preselection.entry.js +6 -1
- package/dist/esm-es5/mds-input-date-range.entry.js +16 -12
- package/dist/esm-es5/mds-input-date.entry.js +6 -3
- package/dist/esm-es5/mds-input-field.entry.js +2 -2
- package/dist/esm-es5/mds-input-otp.entry.js +16 -6
- package/dist/esm-es5/mds-input-range.entry.js +3 -3
- package/dist/esm-es5/mds-input-select.entry.js +2 -2
- package/dist/esm-es5/mds-input-switch_2.entry.js +2 -2
- package/dist/esm-es5/mds-input-tip_2.entry.js +5 -4
- package/dist/esm-es5/mds-input-upload.entry.js +5 -3
- package/dist/esm-es5/mds-input.entry.js +3 -3
- package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
- package/dist/esm-es5/mds-keyboard.entry.js +7 -3
- package/dist/esm-es5/mds-kpi-item.entry.js +7 -2
- package/dist/esm-es5/mds-kpi.entry.js +1 -1
- package/dist/esm-es5/mds-label.entry.js +2 -2
- package/dist/esm-es5/mds-list-item.entry.js +2 -2
- package/dist/esm-es5/mds-list.entry.js +1 -1
- package/dist/esm-es5/mds-mention.entry.js +4 -3
- package/dist/esm-es5/mds-modal.entry.js +19 -7
- package/dist/esm-es5/mds-note.entry.js +5 -2
- package/dist/esm-es5/mds-notification.entry.js +25 -5
- package/dist/esm-es5/mds-paginator-item.entry.js +8 -1
- package/dist/esm-es5/mds-paginator.entry.js +3 -3
- package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
- package/dist/esm-es5/mds-pref-animation.entry.js +14 -4
- package/dist/esm-es5/mds-pref-consumption.entry.js +14 -4
- package/dist/esm-es5/mds-pref-contrast.entry.js +14 -7
- package/dist/esm-es5/mds-pref-language-item.entry.js +5 -5
- package/dist/esm-es5/mds-pref-language.entry.js +20 -6
- package/dist/esm-es5/mds-pref-mode.entry.js +10 -3
- package/dist/esm-es5/mds-pref-theme-item.entry.js +4 -3
- package/dist/esm-es5/mds-pref-theme.entry.js +38 -11
- package/dist/esm-es5/mds-pref.entry.js +13 -7
- package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
- package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-list-item.entry.js +2 -2
- package/dist/esm-es5/mds-price-table-list.entry.js +5 -1
- package/dist/esm-es5/mds-price-table.entry.js +1 -1
- package/dist/esm-es5/mds-progress_2.entry.js +18 -3
- package/dist/esm-es5/mds-push-notification-item.entry.js +7 -3
- package/dist/esm-es5/mds-push-notification.entry.js +9 -12
- package/dist/esm-es5/mds-quote.entry.js +2 -2
- package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
- package/dist/esm-es5/mds-radial-menu.entry.js +8 -11
- package/dist/esm-es5/mds-separator.entry.js +1 -1
- package/dist/esm-es5/mds-status-bar.entry.js +5 -3
- package/dist/esm-es5/mds-stepper-bar-item.entry.js +9 -3
- package/dist/esm-es5/mds-stepper-bar.entry.js +9 -4
- package/dist/esm-es5/mds-tab-bar-item.entry.js +10 -3
- package/dist/esm-es5/mds-tab-bar.entry.js +5 -1
- package/dist/esm-es5/mds-tab_2.entry.js +6 -4
- package/dist/esm-es5/mds-table-body.entry.js +1 -1
- package/dist/esm-es5/mds-table-footer.entry.js +4 -1
- package/dist/esm-es5/mds-table-header-cell.entry.js +2 -2
- package/dist/esm-es5/mds-table-header.entry.js +10 -5
- package/dist/esm-es5/mds-table-row.entry.js +9 -3
- package/dist/esm-es5/mds-table.entry.js +33 -8
- package/dist/esm-es5/mds-text.entry.js +3 -3
- package/dist/esm-es5/mds-toast-region.entry.js +22 -0
- package/dist/esm-es5/mds-toast.entry.js +42 -5
- package/dist/esm-es5/mds-tooltip.entry.js +16 -6
- package/dist/esm-es5/mds-tree-item.entry.js +15 -4
- package/dist/esm-es5/mds-tree.entry.js +15 -2
- package/dist/esm-es5/mds-url-view.entry.js +2 -2
- package/dist/esm-es5/mds-usage.entry.js +3 -3
- package/dist/esm-es5/mds-video-wall.entry.js +2 -2
- package/dist/esm-es5/mds-zero.entry.js +1 -1
- package/dist/esm-es5/{preference-DNNqH7BU.js → preference-Ch1zJnqq.js} +4 -4
- package/dist/esm-es5/slot-AEckDMXh.js +30 -0
- package/dist/hydrate/index.js +4397 -1886
- package/dist/hydrate/index.mjs +4397 -1886
- package/dist/magma-components/index.esm.js +1 -1
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/magma-components.js +1 -1
- package/dist/magma-components/p-007968a8.system.entry.js +47 -0
- package/dist/magma-components/p-028f3717.entry.js +1 -0
- package/dist/magma-components/{p-808f6796.entry.js → p-0727d8f9.entry.js} +1 -1
- package/dist/magma-components/p-0b5fe949.entry.js +1 -0
- package/dist/magma-components/p-0b7a884e.system.entry.js +29 -0
- package/dist/magma-components/{p-ed897125.entry.js → p-0bcf3bb6.entry.js} +1 -1
- package/dist/magma-components/{p-c34d9e61.system.entry.js → p-0c9bdfff.system.entry.js} +1 -1
- package/dist/magma-components/{p-514d0fcb.entry.js → p-0dd4b006.entry.js} +1 -1
- package/dist/magma-components/p-0f47fd37.system.entry.js +16 -0
- package/dist/magma-components/p-11e50140.system.entry.js +19 -0
- package/dist/magma-components/{p-c644c5fc.system.entry.js → p-11feeebf.system.entry.js} +4 -1
- package/dist/magma-components/p-1287fb51.entry.js +1 -0
- package/dist/magma-components/p-12a2f8e2.system.entry.js +13 -0
- package/dist/magma-components/p-14b40c21.entry.js +1 -0
- package/dist/magma-components/p-166c0190.entry.js +1 -0
- package/dist/magma-components/{p-a9736d68.system.entry.js → p-176e6d9d.system.entry.js} +1 -1
- package/dist/magma-components/{p-508e10b5.system.entry.js → p-1809e47d.system.entry.js} +455 -422
- package/dist/magma-components/p-1989c0b4.entry.js +8 -0
- package/dist/magma-components/p-1a5411a8.entry.js +1 -0
- package/dist/magma-components/p-1f5cd2b5.entry.js +1 -0
- package/dist/{components/p-B8BWxSho.js → magma-components/p-1f9ebc0d.entry.js} +1 -1
- package/dist/magma-components/{p-837fbbf7.system.entry.js → p-1fe66383.system.entry.js} +1 -1
- package/dist/magma-components/p-20469b7a.system.entry.js +1 -0
- package/dist/magma-components/p-20608f69.system.entry.js +35 -0
- package/dist/magma-components/p-2061e567.entry.js +1 -0
- package/dist/magma-components/p-21c2d7bd.entry.js +1 -0
- package/dist/magma-components/p-21fe0fef.system.entry.js +14 -0
- package/dist/magma-components/p-2294945a.system.entry.js +34 -0
- package/dist/magma-components/p-2362b91a.entry.js +1 -0
- package/dist/magma-components/p-23bf1afa.system.entry.js +27 -0
- package/dist/magma-components/{p-c575cb7b.entry.js → p-23ce0824.entry.js} +1 -1
- package/dist/magma-components/p-25576b51.system.entry.js +14 -0
- package/dist/magma-components/p-288f3cfe.entry.js +1 -0
- package/dist/magma-components/p-29d4605e.system.entry.js +10 -0
- package/dist/magma-components/p-2a2b7c43.entry.js +1 -0
- package/dist/magma-components/p-2aab3752.entry.js +1 -0
- package/dist/magma-components/p-2abfc393.entry.js +1 -0
- package/dist/magma-components/p-2c4d2717.entry.js +1 -0
- package/dist/magma-components/p-2d7d9e4f.entry.js +1 -0
- package/dist/magma-components/p-2f3c6105.entry.js +1 -0
- package/dist/magma-components/p-3093af30.system.entry.js +4 -0
- package/dist/magma-components/{p-35ee2d77.entry.js → p-32bfb09c.entry.js} +1 -1
- package/dist/magma-components/p-342770d2.system.entry.js +7 -0
- package/dist/magma-components/p-36ad5759.system.entry.js +10 -0
- package/dist/magma-components/p-3725c2c1.entry.js +1 -0
- package/dist/magma-components/p-37b801d0.system.entry.js +22 -0
- package/dist/magma-components/{p-2de5f5fe.entry.js → p-3871807a.entry.js} +1 -1
- package/dist/magma-components/{p-154aff83.entry.js → p-38a9e862.entry.js} +1 -1
- package/dist/magma-components/p-3a88fc9b.system.entry.js +1 -0
- package/dist/magma-components/p-3ac09ace.entry.js +1 -0
- package/dist/magma-components/p-3b36319a.entry.js +1 -0
- package/dist/magma-components/{p-8cdad12f.entry.js → p-3ba5ddae.entry.js} +1 -1
- package/dist/magma-components/p-3bb26611.entry.js +1 -0
- package/dist/magma-components/p-3e1b21bd.entry.js +1 -0
- package/dist/magma-components/p-3eaeb263.system.entry.js +25 -0
- package/dist/magma-components/p-3fb98529.system.entry.js +28 -0
- package/dist/magma-components/p-4116e328.system.entry.js +1 -0
- package/dist/magma-components/p-4191bf22.entry.js +1 -0
- package/dist/magma-components/p-4225484c.entry.js +1 -0
- package/dist/magma-components/p-4260da67.system.entry.js +12 -0
- package/dist/magma-components/p-43338a07.entry.js +1 -0
- package/dist/magma-components/p-4582aa3e.system.entry.js +16 -0
- package/dist/magma-components/p-47f7366c.entry.js +1 -0
- package/dist/magma-components/p-495a70e2.entry.js +1 -0
- package/dist/magma-components/p-4a051ef5.system.entry.js +46 -0
- package/dist/magma-components/p-4c2dad1e.system.entry.js +81 -0
- package/dist/magma-components/p-4d079b1a.system.entry.js +26 -0
- package/dist/magma-components/p-4ea00c22.entry.js +1 -0
- package/dist/magma-components/{p-8d2a6896.entry.js → p-4f24ccf3.entry.js} +1 -1
- package/dist/magma-components/{p-ed6e287d.system.entry.js → p-4fdda209.system.entry.js} +4 -4
- package/dist/magma-components/p-505fb7d4.entry.js +1 -0
- package/dist/magma-components/p-51a869ee.entry.js +1 -0
- package/dist/magma-components/p-5219eba6.system.entry.js +4 -0
- package/dist/magma-components/p-52a85b97.system.entry.js +9 -0
- package/dist/magma-components/p-52d5d104.system.entry.js +17 -0
- package/dist/magma-components/p-53bcfdbb.entry.js +1 -0
- package/dist/magma-components/{p-c4ceaef6.system.entry.js → p-5439125d.system.entry.js} +2 -2
- package/dist/magma-components/p-547f657e.system.entry.js +91 -0
- package/dist/magma-components/p-5a2deba5.entry.js +1 -0
- package/dist/magma-components/{p-e238e2eb.entry.js → p-5b21eb78.entry.js} +1 -1
- package/dist/magma-components/p-5d9b1fe5.entry.js +1 -0
- package/dist/magma-components/{p-4dfeb655.system.entry.js → p-5ea3be82.system.entry.js} +2 -2
- package/dist/magma-components/{p-DhhAXEdA.system.js → p-5vJawLPw.system.js} +21 -12
- package/dist/magma-components/p-62e65f3b.entry.js +1 -0
- package/dist/magma-components/p-648ec03b.system.entry.js +73 -0
- package/dist/magma-components/p-69b37755.system.entry.js +17 -0
- package/dist/magma-components/p-6b01ef3b.entry.js +1 -0
- package/dist/magma-components/p-6b2fff4b.system.entry.js +11 -0
- package/dist/magma-components/p-6bc4114c.system.entry.js +19 -0
- package/dist/magma-components/p-6c91b00d.system.entry.js +22 -0
- package/dist/magma-components/p-6da68fd5.entry.js +1 -0
- package/dist/magma-components/p-6ebbcd7b.system.entry.js +14 -0
- package/dist/magma-components/p-70a911e8.entry.js +1 -0
- package/dist/magma-components/p-70f5536c.system.entry.js +15 -0
- package/dist/magma-components/{p-c69ec735.system.entry.js → p-721b625a.system.entry.js} +13 -9
- package/dist/magma-components/p-72cc4977.system.entry.js +21 -0
- package/dist/magma-components/p-7497b39d.system.entry.js +7 -0
- package/dist/magma-components/{p-73e593a2.system.entry.js → p-765ff9a3.system.entry.js} +6 -3
- package/dist/magma-components/p-7a568cbf.entry.js +1 -0
- package/dist/magma-components/p-7d548a19.entry.js +1 -0
- package/dist/magma-components/p-7f776dff.entry.js +1 -0
- package/dist/magma-components/p-8059aa67.system.entry.js +17 -0
- package/dist/magma-components/p-811272a9.entry.js +1 -0
- package/dist/magma-components/p-87b15008.entry.js +1 -0
- package/dist/magma-components/p-88ac5d50.entry.js +1 -0
- package/dist/magma-components/{p-add1a8d0.system.entry.js → p-88be542e.system.entry.js} +2 -2
- package/dist/magma-components/{p-64f78149.system.entry.js → p-890bae38.system.entry.js} +1 -1
- package/dist/magma-components/p-8a4a2b5a.entry.js +1 -0
- package/dist/magma-components/p-8b081ba9.entry.js +1 -0
- package/dist/magma-components/{p-0a9fb138.system.entry.js → p-8ba250d6.system.entry.js} +1 -1
- package/dist/magma-components/p-8d8c9c90.entry.js +1 -0
- package/dist/magma-components/p-8e08ae08.system.entry.js +94 -0
- package/dist/magma-components/p-8f5f2dfe.system.entry.js +19 -0
- package/dist/magma-components/p-90fe332f.entry.js +1 -0
- package/dist/magma-components/p-911dc847.entry.js +1 -0
- package/dist/magma-components/p-916a26e4.entry.js +1 -0
- package/dist/magma-components/p-926ef760.entry.js +1 -0
- package/dist/magma-components/p-93d8b236.system.entry.js +10 -0
- package/dist/magma-components/p-95328cc7.system.entry.js +17 -0
- package/dist/magma-components/p-95486c6a.system.entry.js +5 -0
- package/dist/magma-components/{p-f5bb8c0c.entry.js → p-96f973e3.entry.js} +1 -1
- package/dist/magma-components/p-972ff8a9.entry.js +18 -0
- package/dist/magma-components/p-9a28bd8d.system.entry.js +20 -0
- package/dist/magma-components/p-9bdca8b4.entry.js +1 -0
- package/dist/magma-components/p-9caf411a.system.entry.js +13 -0
- package/dist/magma-components/p-9e4e1a86.system.entry.js +111 -0
- package/dist/magma-components/p-9e7d02e5.entry.js +1 -0
- package/dist/magma-components/p-AEckDMXh.js +1 -0
- package/dist/magma-components/p-B7RVWU-q.js +1 -0
- package/dist/magma-components/{p-CKfEQ187.system.js → p-BHS0WXNt.system.js} +1 -1
- package/dist/magma-components/p-BaFfIZGB.js +1 -0
- package/dist/magma-components/{p-RJ5ZA1kY.system.js → p-BeNKMPXR.system.js} +9 -2
- package/dist/magma-components/{p-Kv1yahtR.js → p-BmT_DEV2.js} +2 -2
- package/dist/magma-components/{p-BTF_aRDG.system.js → p-C1ailvfu.system.js} +28 -28
- package/dist/magma-components/{p-7-TP6wnI.js → p-C25F_FlB.js} +1 -1
- package/dist/magma-components/p-CDjzBTsk.js +1 -0
- package/dist/magma-components/p-CGrPq3C4.js +1 -0
- package/dist/magma-components/p-CPRkNQdE.js +3 -0
- package/dist/magma-components/{p-DaONbL_w.system.js → p-CmzGV0XD.system.js} +44 -44
- package/dist/magma-components/p-Cvhn9asj.js +1 -0
- package/dist/magma-components/{p-hVpoPUxI.system.js → p-D8596ytD.system.js} +8 -8
- package/dist/magma-components/p-D9J8lbUv.system.js +9 -0
- package/dist/magma-components/p-DAifcgtS.system.js +4 -0
- package/dist/magma-components/p-DbyXf6dF.js +1 -0
- package/dist/magma-components/p-JuViHg2B.system.js +11 -0
- package/dist/magma-components/{p-CdsZyFQ-.system.js → p-LUd56iG_.system.js} +1 -1
- package/dist/magma-components/p-QYez4sql.system.js +5 -0
- package/dist/magma-components/{p-BJKToXNf.system.js → p-WSL9tMdv.system.js} +81 -50
- package/dist/magma-components/p-ZaZnuNvg.js +1 -0
- package/dist/magma-components/{p-584a4ee8.system.entry.js → p-a08d20c2.system.entry.js} +1 -1
- package/dist/magma-components/{p-26c85354.system.entry.js → p-a136e6fe.system.entry.js} +6 -1
- package/dist/magma-components/p-a1443292.entry.js +1 -0
- package/dist/magma-components/{p-634727e6.system.entry.js → p-a1ca2441.system.entry.js} +2 -2
- package/dist/magma-components/{p-0d97e28d.system.entry.js → p-a2d10402.system.entry.js} +2 -2
- package/dist/magma-components/p-a2ec6eac.entry.js +1 -0
- package/dist/magma-components/{p-b626c69f.system.entry.js → p-a40443ca.system.entry.js} +1 -1
- package/dist/magma-components/{p-c7d84d1c.system.entry.js → p-a47a9f11.system.entry.js} +1 -1
- package/dist/magma-components/{p-e388f1f2.system.entry.js → p-a4f46de1.system.entry.js} +9 -4
- package/dist/magma-components/p-a51f849a.entry.js +1 -0
- package/dist/magma-components/{p-3fa6cf85.system.entry.js → p-a53f6a94.system.entry.js} +5 -1
- package/dist/magma-components/p-a61623f9.system.entry.js +52 -0
- package/dist/magma-components/p-a6fe6b4c.system.entry.js +1 -0
- package/dist/magma-components/p-a7bad4e8.entry.js +1 -0
- package/dist/magma-components/p-a8593847.entry.js +1 -0
- package/dist/magma-components/p-aa8653b1.system.entry.js +13 -0
- package/dist/magma-components/p-ac4109e3.entry.js +1 -0
- package/dist/magma-components/{p-bba04b08.system.entry.js → p-af704402.system.entry.js} +5 -2
- package/dist/magma-components/p-b36d54e1.system.entry.js +41 -0
- package/dist/magma-components/p-b40ef7ab.system.entry.js +23 -0
- package/dist/magma-components/{p-569cbe13.entry.js → p-b48fc62e.entry.js} +1 -1
- package/dist/magma-components/p-b509fb36.entry.js +1 -0
- package/dist/magma-components/p-b514bd3a.system.entry.js +1 -0
- package/dist/magma-components/p-b58363e2.system.entry.js +31 -0
- package/dist/magma-components/{p-22e9a507.entry.js → p-b62bbd07.entry.js} +1 -1
- package/dist/magma-components/p-b6b7dc40.entry.js +1 -0
- package/dist/magma-components/p-b728638c.system.entry.js +46 -0
- package/dist/magma-components/{p-ac873ab4.entry.js → p-b919ce62.entry.js} +1 -1
- package/dist/magma-components/p-b940888d.entry.js +1 -0
- package/dist/magma-components/p-b9e0b31d.entry.js +1 -0
- package/dist/magma-components/p-bba4c7eb.entry.js +1 -0
- package/dist/magma-components/p-bc30508b.entry.js +1 -0
- package/dist/magma-components/p-be32b7a9.system.entry.js +13 -0
- package/dist/magma-components/p-be741e35.entry.js +1 -0
- package/dist/magma-components/p-c1d8a25e.entry.js +1 -0
- package/dist/magma-components/p-c3622315.entry.js +1 -0
- package/dist/magma-components/p-c4286fb7.system.entry.js +1 -0
- package/dist/magma-components/p-c6db7a0f.system.entry.js +22 -0
- package/dist/magma-components/p-c89c2e30.entry.js +1 -0
- package/dist/magma-components/{p-cefdc01f.system.entry.js → p-ca8e0927.system.entry.js} +2 -2
- package/dist/magma-components/p-cc0cb701.entry.js +1 -0
- package/dist/magma-components/{p-121730d1.entry.js → p-cc109576.entry.js} +1 -1
- package/dist/magma-components/p-cc88c963.system.entry.js +1 -0
- package/dist/magma-components/p-ce2ef293.system.entry.js +48 -0
- package/dist/magma-components/p-d0c0c195.entry.js +1 -0
- package/dist/magma-components/p-d0f257d9.system.entry.js +80 -0
- package/dist/magma-components/p-d3678561.system.entry.js +35 -0
- package/dist/magma-components/p-d8d87750.system.entry.js +21 -0
- package/dist/magma-components/{p-574c2c13.system.entry.js → p-d9551916.system.entry.js} +4 -4
- package/dist/magma-components/p-da532544.system.entry.js +25 -0
- package/dist/magma-components/{p-69d6cc9e.system.entry.js → p-da6cf595.system.entry.js} +2 -2
- package/dist/magma-components/p-da9afc4b.system.entry.js +8 -0
- package/dist/magma-components/p-daf9c8ca.system.entry.js +4 -0
- package/dist/magma-components/p-db75bf05.system.entry.js +49 -0
- package/dist/magma-components/p-dba5a6da.entry.js +1 -0
- package/dist/magma-components/p-dbb82d72.system.entry.js +54 -0
- package/dist/magma-components/p-dbf69d54.system.entry.js +5 -0
- package/dist/magma-components/p-dc3ef031.system.entry.js +27 -0
- package/dist/magma-components/p-dd8fb2f8.system.entry.js +105 -0
- package/dist/magma-components/p-dfbecf72.system.entry.js +11 -0
- package/dist/magma-components/p-e032e77f.system.entry.js +1 -0
- package/dist/magma-components/p-e15a874b.entry.js +1 -0
- package/dist/magma-components/p-e471decd.system.entry.js +32 -0
- package/dist/magma-components/p-e49818c4.entry.js +1 -0
- package/dist/magma-components/{p-6f5a1248.entry.js → p-e5ab1f4f.entry.js} +1 -1
- package/dist/magma-components/p-e6ed6e12.entry.js +1 -0
- package/dist/magma-components/{p-2710ddc4.entry.js → p-e8b9d639.entry.js} +1 -1
- package/dist/magma-components/p-e954b5c5.entry.js +1 -0
- package/dist/magma-components/p-eba7cfb3.entry.js +1 -0
- package/dist/magma-components/p-ecb87d38.entry.js +1 -0
- package/dist/magma-components/p-eebf450c.system.entry.js +4 -0
- package/dist/magma-components/p-ef4d07ba.entry.js +1 -0
- package/dist/magma-components/p-f28e048b.system.entry.js +55 -0
- package/dist/magma-components/{p-789c1b93.system.entry.js → p-f30cdd34.system.entry.js} +1 -1
- package/dist/magma-components/p-f3763382.entry.js +1 -0
- package/dist/magma-components/p-f43379ef.entry.js +1 -0
- package/dist/magma-components/p-f454c06b.entry.js +1 -0
- package/dist/magma-components/p-f48843b7.system.entry.js +1 -0
- package/dist/magma-components/p-f5a08dca.system.entry.js +40 -0
- package/dist/magma-components/p-f7af41fb.system.entry.js +33 -0
- package/dist/magma-components/{p-5c17a324.entry.js → p-f7f6881a.entry.js} +1 -1
- package/dist/magma-components/p-f88c202e.entry.js +1 -0
- package/dist/magma-components/{p-1cb495d3.entry.js → p-f9b5a5ec.entry.js} +1 -1
- package/dist/magma-components/p-fcaa81b3.entry.js +1 -0
- package/dist/magma-components/{p-a462aadd.entry.js → p-fd53a51c.entry.js} +1 -1
- package/dist/magma-components/{p-94e9f2be.system.entry.js → p-ff4276d3.system.entry.js} +7 -2
- package/dist/magma-components/p-nFkaC8l_.system.js +210 -0
- package/dist/magma-components/p-sm_-_oFY.system.js +6 -0
- package/dist/magma-components/{p-8yWTOQiz.js → p-zQY2FlcD.js} +1 -1
- package/dist/stats.json +5466 -4158
- package/dist/types/common/aria.d.ts +8 -1
- package/dist/types/common/file.d.ts +5 -0
- package/dist/types/common/floating-controller.d.ts +8 -1
- package/dist/types/common/keyboard-manager.d.ts +8 -1
- package/dist/types/common/slot.d.ts +9 -1
- package/dist/types/components/mds-accordion/mds-accordion.d.ts +8 -1
- package/dist/types/components/mds-accordion-timer/mds-accordion-timer.d.ts +6 -0
- package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +2 -1
- package/dist/types/components/mds-avatar/mds-avatar.d.ts +13 -9
- package/dist/types/components/mds-avatar-stack/mds-avatar-stack.d.ts +2 -1
- package/dist/types/components/mds-bibliography/mds-bibliography.d.ts +10 -2
- package/dist/types/components/mds-breadcrumb/mds-breadcrumb.d.ts +0 -3
- package/dist/types/components/mds-breadcrumb-item/mds-breadcrumb-item.d.ts +4 -1
- package/dist/types/components/mds-button/mds-button.d.ts +7 -1
- package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +7 -3
- package/dist/types/components/mds-calendar/mds-calendar.d.ts +7 -0
- package/dist/types/components/mds-calendar-cell/mds-calendar-cell.d.ts +4 -1
- package/dist/types/components/mds-card/mds-card.d.ts +8 -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 +7 -5
- package/dist/types/components/mds-details/mds-details.d.ts +3 -1
- package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +8 -3
- package/dist/types/components/mds-emoji/mds-emoji.d.ts +18 -10
- package/dist/types/components/mds-emoji/meta/gaze.d.ts +19 -0
- package/dist/types/components/mds-file/mds-file.d.ts +7 -1
- package/dist/types/components/mds-file-preview/mds-file-preview.d.ts +15 -4
- package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +0 -2
- package/dist/types/components/mds-header/mds-header.d.ts +7 -5
- package/dist/types/components/mds-header/meta/event-detail.d.ts +2 -1
- package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +3 -2
- package/dist/types/components/mds-help/mds-help.d.ts +5 -2
- package/dist/types/components/mds-horizontal-scroll/mds-horizontal-scroll.d.ts +1 -0
- package/dist/types/components/mds-icon/mds-icon.d.ts +5 -0
- package/dist/types/components/mds-img/mds-img.d.ts +24 -14
- package/dist/types/components/mds-input/mds-input.d.ts +22 -7
- package/dist/types/components/mds-input-date/mds-input-date.d.ts +6 -0
- package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +4 -0
- package/dist/types/components/mds-input-date-range-preselection/mds-input-date-range-preselection.d.ts +8 -1
- package/dist/types/components/mds-input-field/mds-input-field.d.ts +4 -1
- package/dist/types/components/mds-input-otp/mds-input-otp.d.ts +8 -0
- package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +2 -1
- package/dist/types/components/mds-input-tip-item/meta/dictionary.d.ts +1 -2
- package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +3 -1
- package/dist/types/components/mds-kpi-item/mds-kpi-item.d.ts +7 -0
- package/dist/types/components/mds-label/mds-label.d.ts +0 -9
- package/dist/types/components/mds-list-item/mds-list-item.d.ts +2 -0
- package/dist/types/components/mds-mention/mds-mention.d.ts +2 -1
- package/dist/types/components/mds-modal/mds-modal.d.ts +4 -1
- package/dist/types/components/mds-note/mds-note.d.ts +1 -0
- package/dist/types/components/mds-notification/mds-notification.d.ts +25 -2
- package/dist/types/components/mds-paginator/mds-paginator.d.ts +1 -0
- package/dist/types/components/mds-paginator-item/mds-paginator-item.d.ts +7 -0
- package/dist/types/components/mds-policy-ai/mds-policy-ai.d.ts +2 -1
- package/dist/types/components/mds-pref/mds-pref.d.ts +6 -1
- package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +8 -0
- package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +8 -0
- package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +8 -2
- package/dist/types/components/mds-pref-language/mds-pref-language.d.ts +2 -2
- package/dist/types/components/mds-pref-language-item/mds-pref-language-item.d.ts +1 -0
- package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +6 -1
- package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +16 -2
- package/dist/types/components/mds-pref-theme-item/mds-pref-theme-item.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 +14 -4
- package/dist/types/components/mds-push-notification/mds-push-notification.d.ts +4 -9
- package/dist/types/components/mds-push-notification-item/mds-push-notification-item.d.ts +5 -2
- package/dist/types/components/mds-radial-menu/mds-radial-menu.d.ts +11 -5
- package/dist/types/components/mds-status-bar/mds-status-bar.d.ts +1 -2
- package/dist/types/components/mds-stepper-bar/mds-stepper-bar.d.ts +4 -3
- package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +10 -2
- package/dist/types/components/mds-tab-bar-item/mds-tab-bar-item.d.ts +4 -3
- package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +3 -0
- package/dist/types/components/mds-table/mds-table.d.ts +15 -2
- package/dist/types/components/mds-table-footer/mds-table-footer.d.ts +9 -1
- package/dist/types/components/mds-table-header/mds-table-header.d.ts +9 -1
- package/dist/types/components/mds-table-header-cell/mds-table-header-cell.d.ts +5 -0
- package/dist/types/components/mds-table-row/mds-table-row.d.ts +1 -0
- package/dist/types/components/mds-toast/mds-toast.d.ts +39 -8
- package/dist/types/components/mds-toast/meta/event-detail.d.ts +3 -0
- package/dist/types/components/mds-toast-region/mds-toast-region.d.ts +36 -0
- package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +24 -5
- package/dist/types/components/mds-tree/mds-tree.d.ts +12 -2
- package/dist/types/components/mds-tree-item/mds-tree-item.d.ts +7 -3
- package/dist/types/components/mds-url-view/mds-url-view.d.ts +2 -1
- package/dist/types/components/mds-usage/mds-usage.d.ts +3 -0
- package/dist/types/components.d.ts +253 -119
- package/dist/types/stencil-public-runtime.d.ts +61 -55
- package/package.json +18 -17
- package/dist/cjs/browser-C1BdXKu5.js +0 -10
- package/dist/cjs/keyboard-manager-C_Eaxw-C.js +0 -52
- package/dist/collection/components/mds-avatar/meta/variants.js +0 -20
- package/dist/components/p--5KZXaZp.js +0 -1
- package/dist/components/p--OCrgFeE.js +0 -1
- package/dist/components/p-6LGfUDQ4.js +0 -1
- package/dist/components/p-B9uIL9KO.js +0 -1
- package/dist/components/p-BBDliSai.js +0 -1
- package/dist/components/p-BCwcnHFh.js +0 -1
- package/dist/components/p-BRf-u585.js +0 -1
- package/dist/components/p-BSeokAdy.js +0 -1
- package/dist/components/p-BXUJgu8l.js +0 -1
- package/dist/components/p-BXYUyw7p.js +0 -1
- package/dist/components/p-BfgJ-hHQ.js +0 -1
- package/dist/components/p-CIfGjW_Z.js +0 -1
- package/dist/components/p-CMp9rP7L.js +0 -1
- package/dist/components/p-CSCy6TMW.js +0 -1
- package/dist/components/p-CZjHixVB.js +0 -1
- package/dist/components/p-Ck0q_n7I.js +0 -1
- package/dist/components/p-CrCa_6a1.js +0 -8
- package/dist/components/p-CsgCQiHG.js +0 -1
- package/dist/components/p-Cv7lqHIc.js +0 -1
- package/dist/components/p-Cw6_ooFx.js +0 -1
- package/dist/components/p-DGYRngAi.js +0 -1
- package/dist/components/p-DHu8X7zF.js +0 -1
- package/dist/components/p-DOzcuSrZ.js +0 -1
- package/dist/components/p-DZPHWQtD.js +0 -1
- package/dist/components/p-Dje8Mggf.js +0 -1
- package/dist/components/p-DlRjt7nE.js +0 -1
- package/dist/components/p-HSM_x8fD.js +0 -1
- package/dist/components/p-JMPfVnGv.js +0 -1
- package/dist/components/p-KRu9I7dw.js +0 -1
- package/dist/components/p-lNY_3s6S.js +0 -1
- package/dist/components/p-pBvN1uAc.js +0 -3
- package/dist/esm/aria-CSCy6TMW.js +0 -45
- package/dist/esm/browser-Dje8Mggf.js +0 -8
- package/dist/esm/keyboard-manager-KRu9I7dw.js +0 -50
- package/dist/esm-es5/aria-CSCy6TMW.js +0 -1
- package/dist/esm-es5/browser-Dje8Mggf.js +0 -1
- package/dist/esm-es5/icon-pNJmnrhq.js +0 -1
- package/dist/esm-es5/keyboard-manager-KRu9I7dw.js +0 -5
- package/dist/esm-es5/locale.it-Cvxh7La5.js +0 -6
- package/dist/esm-es5/slot-C0o_l0td.js +0 -23
- package/dist/magma-components/p-00ce5c81.entry.js +0 -1
- package/dist/magma-components/p-00ff586a.system.entry.js +0 -7
- package/dist/magma-components/p-01f05a56.entry.js +0 -1
- package/dist/magma-components/p-0345cbd0.system.entry.js +0 -83
- package/dist/magma-components/p-03a6a8bd.system.entry.js +0 -46
- package/dist/magma-components/p-05de42e1.system.entry.js +0 -1
- package/dist/magma-components/p-063bccb3.entry.js +0 -1
- package/dist/magma-components/p-0a38e4ce.system.entry.js +0 -1
- package/dist/magma-components/p-0c89c485.entry.js +0 -1
- package/dist/magma-components/p-0d94a2b8.entry.js +0 -8
- package/dist/magma-components/p-108e31e6.entry.js +0 -1
- package/dist/magma-components/p-114f0bb7.system.entry.js +0 -14
- package/dist/magma-components/p-137116df.entry.js +0 -1
- package/dist/magma-components/p-13b0babc.system.entry.js +0 -1
- package/dist/magma-components/p-14a108e8.system.entry.js +0 -8
- package/dist/magma-components/p-14eadf95.system.entry.js +0 -21
- package/dist/magma-components/p-155f79f4.system.entry.js +0 -47
- package/dist/magma-components/p-17b62839.entry.js +0 -1
- package/dist/magma-components/p-1802d6a7.entry.js +0 -1
- package/dist/magma-components/p-188d9770.system.entry.js +0 -4
- package/dist/magma-components/p-18ba4766.entry.js +0 -1
- package/dist/magma-components/p-1c63801f.system.entry.js +0 -11
- package/dist/magma-components/p-1c6a507c.system.entry.js +0 -17
- package/dist/magma-components/p-1e2388be.entry.js +0 -1
- package/dist/magma-components/p-24a9871a.system.entry.js +0 -1
- package/dist/magma-components/p-26332bce.system.entry.js +0 -1
- package/dist/magma-components/p-2708561b.system.entry.js +0 -10
- package/dist/magma-components/p-2723caa7.system.entry.js +0 -13
- package/dist/magma-components/p-294241fa.entry.js +0 -1
- package/dist/magma-components/p-2b2d0910.system.entry.js +0 -1
- package/dist/magma-components/p-2c940d19.entry.js +0 -1
- package/dist/magma-components/p-2e74231d.system.entry.js +0 -4
- package/dist/magma-components/p-2e83f801.system.entry.js +0 -1
- package/dist/magma-components/p-2f0815f3.entry.js +0 -18
- package/dist/magma-components/p-30d36dfe.entry.js +0 -1
- package/dist/magma-components/p-323c7aa4.system.entry.js +0 -25
- package/dist/magma-components/p-32e077c0.system.entry.js +0 -7
- package/dist/magma-components/p-334b305d.system.entry.js +0 -16
- package/dist/magma-components/p-341994b3.system.entry.js +0 -89
- package/dist/magma-components/p-35434d4b.system.entry.js +0 -32
- package/dist/magma-components/p-37495e03.entry.js +0 -1
- package/dist/magma-components/p-38e0379a.system.entry.js +0 -10
- package/dist/magma-components/p-3b91efd1.entry.js +0 -1
- package/dist/magma-components/p-3dc4db04.system.entry.js +0 -16
- package/dist/magma-components/p-3f0e82bc.entry.js +0 -1
- package/dist/magma-components/p-40e97485.entry.js +0 -1
- package/dist/magma-components/p-4159c306.entry.js +0 -1
- package/dist/magma-components/p-42411854.system.entry.js +0 -102
- package/dist/magma-components/p-42ebba8c.entry.js +0 -1
- package/dist/magma-components/p-4356d96e.system.entry.js +0 -21
- package/dist/magma-components/p-4577948d.system.entry.js +0 -12
- package/dist/magma-components/p-4658a200.entry.js +0 -1
- package/dist/magma-components/p-4cfa925a.entry.js +0 -1
- package/dist/magma-components/p-4ef19542.entry.js +0 -1
- package/dist/magma-components/p-4oB0woT9.system.js +0 -6
- package/dist/magma-components/p-522fd3d0.system.entry.js +0 -4
- package/dist/magma-components/p-528d913c.system.entry.js +0 -17
- package/dist/magma-components/p-595fde64.entry.js +0 -1
- package/dist/magma-components/p-5989cdf2.system.entry.js +0 -16
- package/dist/magma-components/p-5df91427.system.entry.js +0 -15
- package/dist/magma-components/p-5f1132b8.entry.js +0 -1
- package/dist/magma-components/p-5fcc1455.entry.js +0 -1
- package/dist/magma-components/p-61638aa3.entry.js +0 -1
- package/dist/magma-components/p-6465c8f4.entry.js +0 -1
- package/dist/magma-components/p-6764b13a.entry.js +0 -1
- package/dist/magma-components/p-6812f01b.entry.js +0 -1
- package/dist/magma-components/p-6901428b.system.entry.js +0 -1
- package/dist/magma-components/p-699a7926.entry.js +0 -1
- package/dist/magma-components/p-6a798061.entry.js +0 -1
- package/dist/magma-components/p-6d350c7c.entry.js +0 -1
- package/dist/magma-components/p-6fba5e6c.entry.js +0 -1
- package/dist/magma-components/p-6fd9a2ae.entry.js +0 -1
- package/dist/magma-components/p-6ff8be3e.system.entry.js +0 -30
- package/dist/magma-components/p-70caf05b.system.entry.js +0 -10
- package/dist/magma-components/p-70cc167f.entry.js +0 -1
- package/dist/magma-components/p-736c0e25.system.entry.js +0 -20
- package/dist/magma-components/p-7450a7a7.system.entry.js +0 -49
- package/dist/magma-components/p-7535328a.entry.js +0 -1
- package/dist/magma-components/p-76f02296.system.entry.js +0 -1
- package/dist/magma-components/p-79bc2e81.entry.js +0 -1
- package/dist/magma-components/p-79dc2243.entry.js +0 -1
- package/dist/magma-components/p-7b1c6eb0.entry.js +0 -1
- package/dist/magma-components/p-7b8b51c8.entry.js +0 -1
- package/dist/magma-components/p-7bc0a6c4.entry.js +0 -1
- package/dist/magma-components/p-7c8e79a7.system.entry.js +0 -4
- package/dist/magma-components/p-7c90298a.entry.js +0 -1
- package/dist/magma-components/p-7e02237b.entry.js +0 -1
- package/dist/magma-components/p-7f247e64.system.entry.js +0 -16
- package/dist/magma-components/p-82480df5.entry.js +0 -1
- package/dist/magma-components/p-842b1dfc.entry.js +0 -1
- package/dist/magma-components/p-88c7be3d.system.entry.js +0 -68
- package/dist/magma-components/p-89733d3a.system.entry.js +0 -14
- package/dist/magma-components/p-8c75425d.entry.js +0 -1
- package/dist/magma-components/p-8c76410b.entry.js +0 -1
- package/dist/magma-components/p-8d7835e2.system.entry.js +0 -10
- package/dist/magma-components/p-8f039ca0.system.entry.js +0 -7
- package/dist/magma-components/p-8f54cf62.system.entry.js +0 -4
- package/dist/magma-components/p-8f6bd147.entry.js +0 -1
- package/dist/magma-components/p-9017022c.system.entry.js +0 -15
- package/dist/magma-components/p-909f5b60.system.entry.js +0 -55
- package/dist/magma-components/p-976bb373.system.entry.js +0 -90
- package/dist/magma-components/p-97d82884.system.entry.js +0 -16
- package/dist/magma-components/p-97de86c6.system.entry.js +0 -16
- package/dist/magma-components/p-97e9a197.system.entry.js +0 -32
- package/dist/magma-components/p-9a936cae.system.entry.js +0 -45
- package/dist/magma-components/p-9c6d184f.entry.js +0 -1
- package/dist/magma-components/p-9db0a6e9.entry.js +0 -1
- package/dist/magma-components/p-9e662528.entry.js +0 -1
- package/dist/magma-components/p-9ff02a82.entry.js +0 -1
- package/dist/magma-components/p-B6mQg6yQ.js +0 -1
- package/dist/magma-components/p-BJqUjYIG.system.js +0 -1
- package/dist/magma-components/p-BJtA1qmE.js +0 -1
- package/dist/magma-components/p-BcYSdbK0.system.js +0 -233
- package/dist/magma-components/p-BeYLDgbf.js +0 -1
- package/dist/magma-components/p-BxPbQB28.js +0 -3
- package/dist/magma-components/p-C0o_l0td.js +0 -1
- package/dist/magma-components/p-CSCy6TMW.js +0 -1
- package/dist/magma-components/p-CYRMc5KW.system.js +0 -1
- package/dist/magma-components/p-Dje8Mggf.js +0 -1
- package/dist/magma-components/p-JMPfVnGv.js +0 -1
- package/dist/magma-components/p-KRu9I7dw.js +0 -1
- package/dist/magma-components/p-LerCJgfP.system.js +0 -5
- package/dist/magma-components/p-ZDRIVCAt.system.js +0 -5
- package/dist/magma-components/p-a3e3a653.system.entry.js +0 -81
- package/dist/magma-components/p-a41e52f7.entry.js +0 -1
- package/dist/magma-components/p-a4c26b4d.system.entry.js +0 -19
- package/dist/magma-components/p-a61c7ae9.system.entry.js +0 -7
- package/dist/magma-components/p-a653e096.entry.js +0 -1
- package/dist/magma-components/p-a8bf46cb.system.entry.js +0 -1
- package/dist/magma-components/p-ac4435e7.entry.js +0 -1
- package/dist/magma-components/p-acae292f.system.entry.js +0 -28
- package/dist/magma-components/p-b1a0e56e.system.entry.js +0 -42
- package/dist/magma-components/p-b33a6f7e.system.entry.js +0 -13
- package/dist/magma-components/p-b492dd4c.entry.js +0 -1
- package/dist/magma-components/p-b99cac43.entry.js +0 -1
- package/dist/magma-components/p-baf0359b.entry.js +0 -1
- package/dist/magma-components/p-bbd414dc.entry.js +0 -1
- package/dist/magma-components/p-be1aad5f.entry.js +0 -1
- package/dist/magma-components/p-bf05f9f3.entry.js +0 -1
- package/dist/magma-components/p-bf8c6647.system.entry.js +0 -11
- package/dist/magma-components/p-bfe19e4b.entry.js +0 -1
- package/dist/magma-components/p-c1a7266a.entry.js +0 -1
- package/dist/magma-components/p-c3585de7.system.entry.js +0 -7
- package/dist/magma-components/p-c45d9a64.system.entry.js +0 -32
- package/dist/magma-components/p-cb8b45fd.entry.js +0 -1
- package/dist/magma-components/p-cbfd8b10.system.entry.js +0 -16
- package/dist/magma-components/p-ce46191c.entry.js +0 -1
- package/dist/magma-components/p-cebe7b52.entry.js +0 -1
- package/dist/magma-components/p-d025a34f.system.entry.js +0 -15
- package/dist/magma-components/p-d1c47baa.entry.js +0 -1
- package/dist/magma-components/p-d269bfb0.entry.js +0 -1
- package/dist/magma-components/p-d42f267b.system.entry.js +0 -40
- package/dist/magma-components/p-d5bd6bef.entry.js +0 -1
- package/dist/magma-components/p-d65d8a09.system.entry.js +0 -1
- package/dist/magma-components/p-d6eca2ef.entry.js +0 -1
- package/dist/magma-components/p-d716efe9.system.entry.js +0 -1
- package/dist/magma-components/p-da6ccc03.entry.js +0 -1
- package/dist/magma-components/p-dbaf5368.system.entry.js +0 -7
- package/dist/magma-components/p-dc340618.entry.js +0 -1
- package/dist/magma-components/p-dc752e9b.entry.js +0 -1
- package/dist/magma-components/p-e2ef1d6f.entry.js +0 -1
- package/dist/magma-components/p-e50fdcee.entry.js +0 -1
- package/dist/magma-components/p-e779a67f.system.entry.js +0 -10
- package/dist/magma-components/p-e8ae4016.system.entry.js +0 -1
- package/dist/magma-components/p-e8d95868.system.entry.js +0 -14
- package/dist/magma-components/p-ed232c76.entry.js +0 -1
- package/dist/magma-components/p-ed87425c.system.entry.js +0 -13
- package/dist/magma-components/p-ee876b20.system.entry.js +0 -4
- package/dist/magma-components/p-efe0bb12.system.entry.js +0 -7
- package/dist/magma-components/p-f2412853.system.entry.js +0 -27
- package/dist/magma-components/p-f2743a2b.entry.js +0 -1
- package/dist/magma-components/p-f2f2945b.entry.js +0 -1
- package/dist/magma-components/p-f37f1343.entry.js +0 -1
- package/dist/magma-components/p-f3dd135e.system.entry.js +0 -32
- package/dist/magma-components/p-f5ce24e8.entry.js +0 -1
- package/dist/magma-components/p-f8a88f11.entry.js +0 -1
- package/dist/magma-components/p-f900fe90.entry.js +0 -1
- package/dist/magma-components/p-faa1f22c.entry.js +0 -1
- package/dist/magma-components/p-lozaO1BU.system.js +0 -1
- package/dist/magma-components/p-pNJmnrhq.js +0 -1
- package/dist/types/components/mds-avatar/meta/variants.d.ts +0 -2
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
System.register(["./p-DaONbL_w.system.js"],(function(t){"use strict";var a,i,e;return{setters:[function(t){a=t.r;i=t.h;e=t.e}],execute:function(){var r=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-bibliography-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-bibliography-text-decoration-hover:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-bibliography-text-decoration:rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)));display:inline}.link{animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--radius-lg,16px);color:var(--mds-bibliography-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));-webkit-text-decoration-color:var(--mds-bibliography-text-decoration,rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140))));text-decoration-color:var(--mds-bibliography-text-decoration,rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140))));transition-duration:.2s;transition-duration:var(--duration-200,.2s);transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-property:-webkit-text-decoration,text-decoration,color,outline,outline-offset;transition-timing-function:ease-in-out}.link:hover{-webkit-text-decoration-color:var(--mds-bibliography-text-decoration-hover,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));text-decoration-color:var(--mds-bibliography-text-decoration-hover,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))))}.link:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}"};var n=t("mds_bibliography",/** @class */function(){function t(t){var i=this;a(this,t);this.separator={apa:"&",mla:"e",turabian:"&"};
|
|
2
|
-
/**
|
|
3
|
-
* Specifies the bibliography format to rapresent the bibliography content
|
|
4
|
-
*/this.format="apa";
|
|
5
|
-
/**
|
|
6
|
-
* Specifies relationship between the current document and the URL
|
|
7
|
-
*/this.rel="external";
|
|
8
|
-
/**
|
|
9
|
-
* Specifies the font typography of the element
|
|
10
|
-
*/this.typography="detail";this.monthName=function(t){var a=["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"];return a[t]};this.getDate=function(t){return new Date(isNaN(Number(t))?t:parseInt(t))};this.dateFormatAPA=function(t){
|
|
11
|
-
// 2001, August
|
|
12
|
-
var a=i.getDate(t);if(a.toString()==="Invalid Date")return"";return"".concat(a.getFullYear(),", ").concat(i.monthName(a.getMonth())," ").concat(a.getDate())};this.dateFormatMLA=function(t){
|
|
13
|
-
// 21 July 1986
|
|
14
|
-
var a=i.getDate(t);if(a.toString()==="Invalid Date")return"";return"".concat(a.getDate()," ").concat(i.monthName(a.getMonth())," ").concat(a.getFullYear())};this.fullNameAPA=function(t,a){var i;var e="";if(t.includes(" ")){var r=new RegExp(/(\w+)/,"g");(i=t.match(r))===null||i===void 0?void 0:i.forEach((function(t){e="".concat(e," ").concat(t.substring(0,1),".")}))}else{e=" ".concat(t.substring(0,1),".")}return"".concat(a).concat(a!==""?",":"").concat(e)};this.fullNameMLA=function(t,a){var i;var e="";if(t.includes(" ")){var r=new RegExp(/(\w+)/,"g");(i=t.match(r))===null||i===void 0?void 0:i.forEach((function(t,a){e=a===0?t:"".concat(e," ").concat(t.substring(0,1),".")}))}else{e=t}return"".concat(a).concat(a!==""?",":""," ").concat(e)};this.formatAuthors=function(t){var a,e;var r=t.replace(/"/g,"'");var n=new RegExp(/([A-Za-z ]{2,})/g);var o=(a=r.match(n))!==null&&a!==void 0?a:r;if(o.length>1){var s=o[0].trim();var l=o[1]!==""?o[1].trim():"";return{apa:i.fullNameAPA(s,l),firstName:s,lastName:l,mla:i.fullNameMLA(s,l),turabian:i.fullNameMLA(s,l)}}var d=o[0].split(" ")[0].trim();var u=((e=o[0].split(" ")[1])!==null&&e!==void 0?e:"").trim();return{apa:i.fullNameAPA(d,u),firstName:d,lastName:u,mla:i.fullNameMLA(d,u),turabian:i.fullNameMLA(d,u)}};this.normalizeAuthors=function(t){var a=[];if(t.includes(",")){var e=t.split(",");e.forEach((function(t){a.push(i.formatAuthors(t))}));return a}a.push(i.formatAuthors(t));return a};this.showAuthors=function(t){var a="";t.forEach((function(t,e){a=e===0?t[i.format]:"".concat(a,", ").concat(i.separator[i.format]," ").concat(t[i.format])}));return a}}t.prototype.render=function(){var t,a,r;return i(e,{key:"4fe352d77a5ceea45f9b82d11fbb4ffe2d887aef"},i("mds-text",{key:"30052872c829ff3b2c142cd54cb64eebcd558f76",typography:this.typography,variant:this.variant},this.author&&i("span",{key:"14d5043a19e193f34a4502029d7dc21fe2ae8083"},this.showAuthors(this.normalizeAuthors(this.author))),this.format==="mla"&&i("span",{key:"7b903d623a57baf664c7cd425e78d7a17fca8331"},this.name&&" ",((t=this.name)!==null&&t!==void 0?t:"")!==""&&this.url!==null?i("a",{class:"link",href:this.url,target:"_blank",rel:this.rel},i("b",null,i("i",null,this.name,"."))):i("b",null,i("i",null,this.name,".")),this.location&&i("span",{key:"9c52f22dd20cafb9eb7df4835c2f5a99ca71a1a6"}," ",this.location,this.publisher!==undefined?":":"."),this.publisher&&i("span",{key:"3ff1124122ef8d52079fa7337ed51f116fa1f266"}," ",this.publisher,this.date!==undefined?",":"."),this.date&&i("time",{key:"ac4e6e1506bbca2633c95593d44df61622b6e040",dateTime:this.date}," ",this.dateFormatMLA(this.date),".")),this.format==="apa"&&i("span",{key:"71558449f856a09fda8b02f2808c93b1dd72c532"},this.date&&i("time",{key:"f952a6c0f8be0cbf83a8d04ff13e08b3221cbdc4",dateTime:this.date}," (",this.dateFormatAPA(this.date),")."),this.name&&" ",((a=this.name)!==null&&a!==void 0?a:"")!==""&&this.url!==null?i("a",{class:"link",href:this.url,target:"_blank",rel:this.rel},i("b",null,i("i",null," ",this.name,"."))):i("b",null,i("i",null," ",this.name,".")),this.location&&i("span",{key:"ecead881a08e1f08ebe0c08f5016414238b0c0aa"}," ",this.location,this.publisher!==undefined?":":"."),this.publisher&&i("span",{key:"7f5caaaecb02bdda257974de0439d0c15e4ebd71"}," ",this.publisher,".")),this.format==="turabian"&&i("span",{key:"e2869b0cbf35ddb64020edfb9aeab7a5bd94e56d"},this.name&&" ",((r=this.name)!==null&&r!==void 0?r:"")!==""&&this.url!==null?i("a",{class:"link",href:this.url,target:"_blank",rel:this.rel},i("b",null,i("i",null," ",this.name,"."))):i("b",null,i("i",null," ",this.name,".")),this.location&&i("span",{key:"1de156ae83032c28eef77b059c52beed6f7bb8a8"}," ",this.location,this.publisher!==undefined?":":","),this.publisher&&i("span",{key:"c82b2387e90227b129d5078561c60492901fb9e3"}," ",this.publisher,this.date!==undefined?",":"."),this.date&&i("time",{key:"fe9da6c7294ee249a0d892cf882a387ba0196159",dateTime:this.date}," ",this.dateFormatMLA(this.date),"."))))};return t}());n.style=r()}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as a,h as o,e as r,g as t}from"./p-BxPbQB28.js";import{m as s}from"./p-DnEUG7st.js";import{m as i}from"./p-Bd0uuNDE.js";import{c as l}from"./p-ChV9xqsO.js";import{a as n}from"./p-D8eZRaSQ.js";import{L as c}from"./p-Kv1yahtR.js";import"./p-7-TP6wnI.js";var e={scrollBack:"Κύλιση προς τα πίσω",scrollForward:"Κύλιση προς τα εμπρός"},d={scrollBack:"Scroll back",scrollForward:"Scroll forward"},h={scrollBack:"Desplazar hacia atrás",scrollForward:"Desplazar hacia adelante"},m={scrollBack:"Scorri indietro",scrollForward:"Scorri avanti"};const v=class{constructor(o){a(this,o),this.t=new c({el:e,en:d,es:h,it:m}),this.hasCompatibility=!0,this.showForward=!0,this.showBack=!1,this.controls="desktop",this.navigation="position",this.snap="start",this.updateElements=()=>{var a,o;this.elements=null===(o=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelectorAll("slot")[0])||void 0===o?void 0:o.assignedNodes()},this.updateCSSCustomProps=()=>{if("undefined"==typeof window)return;const a=window.getComputedStyle(this.host);this.scrollGap=n(a.getPropertyValue("--mds-horizontal-scroll-gap"))},this.isInViewport=a=>{if(null==this.contents)return!1;const o=this.spacer.offsetWidth+this.scrollGap,r=a.getBoundingClientRect(),t=this.contents.getBoundingClientRect();return r.top>=0&&r.left>=o&&r.bottom<=t.height&&r.right<=t.width-2*o},this.checkNavigationButtons=()=>{if(null==this.elements)throw Error("No elements slotted to the component");this.showBack=!0,this.showForward=!0,this.elements.forEach(((a,o)=>{0===o&&this.isInViewport(a)&&(this.showBack=!1),this.elements.length-1===o&&this.isInViewport(a)&&(this.showForward=!1)}))},this.moveBack=()=>{if(null==this.elements)throw Error("No elements slotted to the component");let a,o,r=0;this.elements.forEach(((t,s)=>{this.isInViewport(t)&&(a||(r=s,a=t),o=t)})),this.elements.forEach(((t,s)=>{this.isInViewport(t)||s!==r-1||void 0===a||void 0===o||(this.contents.scrollLeft=this.contents.scrollLeft+t.offsetLeft-o.offsetLeft-a.offsetWidth-this.scrollGap)}))},this.moveForward=()=>{if(null==this.elements)throw Error("No elements slotted to the component");let a=!0;this.elements.forEach((o=>{this.isInViewport(o)||o.offsetLeft>this.contents.scrollLeft&&a&&(a=!1,this.lastElementOffsetLeft=o.offsetLeft,this.contents.scrollLeft=this.lastElementOffsetLeft)}))},this.translateNavigationDot=()=>{if(null==this.elements||null==this.contents||null==this.navigationDot||null==this.navigationDots)return void console.error("mds-horizontal-scroll.translateNavigationDot: One of the shadowRoot elements is missing.");const{scrollLeft:a,scrollWidth:o,offsetWidth:r}=this.contents,t=window.getComputedStyle(this.navigationDots),s=parseFloat(t.paddingLeft)||0,i=parseFloat(t.paddingRight)||0;0!==r&&0!==o?this.navigationDot.style.transform=`translateX(${a/(o-r)*(this.navigationDots.offsetWidth-s-i-this.navigationDot.offsetWidth)}px)`:console.error("mds-horizontal-scroll.translateNavigationDot: offsetWidth or scrollWidth is 0, impossible to calculate position")},this.updateNavigationDotSize=()=>{if(null==this.contents||null==this.navigationDot||null==this.navigationDots)return void console.error("mds-horizontal-scroll.updateNavigationDotSize: One of the shadowRoot elements is missing.");const{scrollWidth:a,offsetWidth:o}=this.contents,r=this.navigationDots.offsetWidth;this.navigationDot.style.width=a<=o?`${r}px`:o/a*r+"px"},this.addNavigationDots=()=>{var a,o;this.contents.removeEventListener("scroll",this.translateNavigationDot),this.navigationDot=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector(".dot"),this.navigationDots=null===(o=this.host.shadowRoot)||void 0===o?void 0:o.querySelector(".dot-navigation"),this.updateNavigationDotSize(),null!=this.navigationDot&&this.contents.addEventListener("scroll",this.translateNavigationDot)}}watchNavigation(a){"position"===a&&this.addNavigationDots()}componentWillLoad(){this.updateCSSCustomProps()}componentDidLoad(){var a,o;this.contents=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector(".contents"),this.spacer=null===(o=this.host.shadowRoot)||void 0===o?void 0:o.querySelector(".spacer"),"position"===this.navigation&&this.addNavigationDots(),window&&void 0!==window.onscrollend?this.contents.addEventListener("scrollend",this.checkNavigationButtons):void 0!==this.controls&&(this.controls=void 0)}disconnectedCallback(){this.contents.removeEventListener("scrollend",this.checkNavigationButtons),this.contents.removeEventListener("scroll",this.translateNavigationDot)}render(){return o(r,{key:"2c08a791dfecd775dba38b5d283268c6545c87bb"},o("div",{key:"a87e2745c1858b6c0757d3dca5e7045ca60ff053",class:"contents",part:"content"},o("div",{key:"17f2b2be30dba1701cd82539acae8fb87e3a3820",class:"spacer"}),o("slot",{key:"6034e82f06c3161e12cc99cda65dfedc7ba4dc44",onSlotchange:this.updateElements}),o("div",{key:"21d0d010b238933d1f97f45e95a482ebfa91bd94",class:"spacer"})),o("div",{key:"6743a9c09e8b648883808ca484a98cfb99fa1b00",class:"dot-navigation"},o("div",{key:"378ed96dde8b49b41cd78cfc4948e9545b4ee00b",class:"dot"})),this.controls&&"none"!==this.controls&&o("mds-button",{key:"7d755cd368e0e1e9521e2cb6f2f734657a3980fa","aria-label":this.t.get("scrollBack"),onClick:this.moveBack,size:"lg",class:l("navigation navigation--back",!this.showBack&&"navigation--disabled"),icon:s}),this.controls&&"none"!==this.controls&&o("mds-button",{key:"c66c868ecbff3e74c0bbe907635194aaa8690448","aria-label":this.t.get("scrollForward"),onClick:this.moveForward,size:"lg",class:l("navigation navigation--forward",!this.showForward&&"navigation--disabled"),icon:i}))}get host(){return t(this)}static get watchers(){return{navigation:[{watchNavigation:0}]}}};v.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-horizontal-scroll-behavior:smooth;--mds-horizontal-scroll-dots-gap:calc(var(--spacing,.0025rem)*100);--mds-horizontal-scroll-dot-size:calc(var(--spacing,.0025rem)*200);--mds-horizontal-scroll-dot-max-width:auto;--mds-horizontal-scroll-dot-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-horizontal-scroll-dot-area-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-horizontal-scroll-contents-padding:calc(var(--spacing,.0025rem)*600);--mds-horizontal-scroll-contents-scroll-padding:0 calc(var(--spacing,.0025rem)*600);--mds-horizontal-scroll-controls-margin:calc(var(--spacing,.0025rem)*1200);--mds-horizontal-scroll-gap:calc(var(--spacing,.0025rem)*600);--mds-horizontal-scroll-max-width:var(--breakpoint-wide,1280px);--mds-horizontal-scroll-scrollbar-margin:0;--mds-horizontal-scroll-scrollbar-radius:0;--mds-horizontal-scroll-scrollbar-size:calc(var(--spacing,.0025rem)*200);--mds-horizontal-scroll-scrollbar-thumb-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))/.3);--mds-horizontal-scroll-scrollbar-track-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--max-width:var(--mds-horizontal-scroll-max-width,var(--breakpoint-wide,1280px));--scroll-margin:calc(((100svw - var(--max-width)) / 2) + (var(--mds-horizontal-scroll-controls-margin,calc(var(--spacing,.0025rem) * 1200)) * 2));align-items:center;container:mds-horizontal-scroll/inline-size;display:flex;flex-direction:column;justify-content:center;position:relative;width:100%}.navigation{border-radius:var(--radius-full,1000px);display:none;padding:0;position:absolute;top:50%;transform:translateY(-50%);transition-duration:.2s;transition-property:opacity,scale,transform}.contents{box-sizing:border-box;display:flex;gap:var(--mds-horizontal-scroll-gap,calc(var(--spacing,.0025rem)*600));overflow:auto;padding-bottom:var(--mds-horizontal-scroll-contents-padding,calc(var(--spacing,.0025rem)*600));padding-top:var(--mds-horizontal-scroll-contents-padding,calc(var(--spacing,.0025rem)*600));position:relative;scroll-behavior:var(--mds-horizontal-scroll-behavior,smooth);scroll-padding:var(--mds-horizontal-scroll-contents-scroll-padding,0 calc(var(--spacing,.0025rem)*600));scroll-snap-type:x mandatory;width:100%}.contents>::slotted(*){flex:0 0 0;scroll-margin:0 var(--scroll-margin)}.spacer{--width:calc(var(--scroll-margin) - var(--mds-horizontal-scroll-gap,calc(var(--spacing,.0025rem) * 600)));content:"";display:block;flex:0 0 0;min-width:clamp(1px,var(--width),var(--width));scroll-margin:0 var(--scroll-margin)}@container (max-width:1024px){:host{--scroll-margin:var(--mds-horizontal-scroll-contents-scroll-padding,0 calc(var(--spacing,.0025rem)*600))}.contents{scroll-padding:var(--mds-horizontal-scroll-contents-scroll-padding,0 calc(var(--spacing,.0025rem)*600))}.contents>::slotted(*){scroll-margin:0 var(--mds-horizontal-scroll-contents-scroll-padding,0 calc(var(--spacing,.0025rem)*600))}}.navigation--back{left:clamp(calc(var(--mds-horizontal-scroll-gap,calc(var(--spacing,.0025rem) * 600)) / 2),var(--position),var(--position))}.navigation--back,.navigation--forward{--position:calc(var(--scroll-margin) - var(--mds-horizontal-scroll-gap,calc(var(--spacing,.0025rem) * 600)) - var(--mds-horizontal-scroll-controls-margin,calc(var(--spacing,.0025rem) * 1200)))}.navigation--forward{right:clamp(calc(var(--mds-horizontal-scroll-gap,calc(var(--spacing,.0025rem) * 600)) / 2),var(--position),var(--position))}.navigation--disabled{opacity:0;pointer-events:none;transform:translateY(-50%)scale(.5)}:host([controls=all]) .navigation{display:flex}.dot-navigation{align-self:center;background-color:var(--mds-horizontal-scroll-dot-area-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));border-radius:var(--radius-full,1000px);display:none;gap:var(--mds-horizontal-scroll-dots-gap,calc(var(--spacing,.0025rem)*100));justify-content:start;margin:0 auto var(--mds-horizontal-scroll-contents-padding,calc(var(--spacing,.0025rem)*600)) auto;max-width:calc(var(--spacing,.0025rem)*4000);padding:calc(var(--spacing,.0025rem)*50);width:100%}:host([navigation=position]) .dot-navigation{display:inline-flex}.dot{background-color:var(--mds-horizontal-scroll-dot-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));border-radius:var(--radius-full,1000px);height:var(--mds-horizontal-scroll-dot-size,calc(var(--spacing,.0025rem)*200));max-width:var(--mds-horizontal-scroll-dot-max-width);min-width:var(--mds-horizontal-scroll-dot-size,calc(var(--spacing,.0025rem)*200));transition-duration:.3s;transition-property:width;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:calc(var(--mds-horizontal-scroll-dot-size,calc(var(--spacing,.0025rem) * 200)) * 2)}:host(:not([navigation=scrollbar])) .contents{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none}:host(:not([navigation=scrollbar])) .contents::-webkit-scrollbar{display:none}:host([navigation=scrollbar]) .contents::-webkit-scrollbar{height:var(--mds-horizontal-scroll-scrollbar-size,calc(var(--spacing,.0025rem)*200));width:var(--mds-horizontal-scroll-scrollbar-size,calc(var(--spacing,.0025rem)*200))}:host([navigation=scrollbar]) .contents::-webkit-scrollbar-track{background-color:var(--mds-horizontal-scroll-scrollbar-track-background,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));border-radius:var(--mds-horizontal-scroll-scrollbar-radius,0);margin-block:var(--mds-horizontal-scroll-scrollbar-margin,0);margin-inline:var(--mds-horizontal-scroll-scrollbar-margin,0)}:host([navigation=scrollbar]) .contents::-webkit-scrollbar-thumb{background-color:var(--mds-horizontal-scroll-scrollbar-thumb-background,rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))/.3));border-radius:var(--mds-horizontal-scroll-scrollbar-radius,0)}@supports (scrollbar-color:transparent transparent){.contents{scrollbar-color:var(--mds-horizontal-scroll-scrollbar-thumb-background,rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))/.3)) var(--mds-horizontal-scroll-scrollbar-track-background,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));scrollbar-width:thin}}:host([snap=start]) .contents>::slotted(*){scroll-snap-align:start}:host([snap=center]) .contents>::slotted(*){scroll-snap-align:center}:host([snap=end]) .contents>::slotted(*){scroll-snap-align:end}@media (prefers-reduced-motion:reduce){:host{--mds-horizontal-scroll-behavior:auto}}@media (min-width:1920px){:host([controls=tv]) .navigation{display:flex}}@media (min-width:1600px){:host([controls=xlarge]) .navigation{display:flex}}@media (min-width:1440px){:host([controls=large]) .navigation{display:flex}}@media (min-width:1280px){:host([controls=wide]) .navigation{display:flex}}@media (min-width:1024px){:host([controls=desktop]) .navigation{display:flex}}@media (min-width:768px){:host([controls=tablet]) .navigation{display:flex}}';export{v as mds_horizontal_scroll}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
var __spreadArray=this&&this.__spreadArray||function(a,r,e){if(e||arguments.length===2)for(var t=0,i=r.length,o;t<i;t++){if(o||!(t in r)){if(!o)o=Array.prototype.slice.call(r,0,t);o[t]=r[t]}}return a.concat(o||Array.prototype.slice.call(r))};System.register(["./p-DaONbL_w.system.js","./p-YGHolmSj.system.js","./p-C61qxZLH.system.js","./p-BTF_aRDG.system.js","./p-hVpoPUxI.system.js","./p-DUHwOT7z.system.js"],(function(a){"use strict";var r,e,t,i,o,n,s,d,c;return{setters:[function(a){r=a.r;e=a.h;t=a.e;i=a.g},function(a){o=a.m},function(a){n=a.m},function(a){s=a.L},function(a){d=a.p},function(a){c=a.k}],execute:function(){var l='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20 5H4c-1.1 0-1.99.9-1.99 2L2 17c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm-9 3h2v2h-2V8zm0 3h2v2h-2v-2zM8 8h2v2H8V8zm0 3h2v2H8v-2zm-1 2H5v-2h2v2zm0-3H5V8h2v2zm9 7H8v-2h8v2zm0-4h-2v-2h2v2zm0-3h-2V8h2v2zm3 3h-2v-2h2v2zm0-3h-2V8h2v2z"/></svg>';var m="Κάντε κλικ για να δοκιμάσετε τον συνδυασμό πληκτρολογώντας στο πληκτρολόγιο";var u="Ο συνδυασμός είναι σωστός";var b="Ο συνδυασμός που πληκτρολογήσατε δεν φαίνεται να είναι σωστός. Δοκιμάστε ξανά.";var f={testKeyCombination:m,testPassed:u,wrongKeysCombination:b};var y="Click to test the combination by typing on the keyboard";var v="The combination is correct";var h="The combination you entered does not seem to be correct. Please try again.";var k={testKeyCombination:y,testPassed:v,wrongKeysCombination:h};var g="Haz clic para probar la combinación escribiendo en el teclado";var p="La combinación es correcta";var x="La combinación que introdujiste no parece ser correcta. Inténtalo de nuevo.";var w={testKeyCombination:g,testPassed:p,wrongKeysCombination:x};var z="Clicca per provare la combinazione digitando da tastiera";var C="La combinazione è corretta";var K="La combinazione che hai digitato non sembra essere corretta, riprova.";var j={testKeyCombination:z,testPassed:C,wrongKeysCombination:K};var H=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-text,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-keyboard-background-default:var(--mds-keyboard-background,rgb(var(--tone-porcelain-08,201 208 219)));--mds-keyboard-background-fail:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-keyboard-background-pass:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-keyboard-background:rgb(var(--tone-porcelain-08,201 208 219));--mds-keyboard-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-keyboard-fill-fail:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-keyboard-fill-pass:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)));--mds-keyboard-illumination-dark-opacity:.05;--mds-keyboard-illumination-dark-size:calc(var(--spacing,.0025rem)*150);--mds-keyboard-illumination-dark:0 calc(var(--mds-keyboard-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) * -1) 0 0 rgb(0 0 0/var(--mds-keyboard-illumination-dark-opacity,.05)) inset;--mds-keyboard-illumination-light-opacity:.075;--mds-keyboard-illumination-light-size:calc(var(--spacing,.0025rem)*25);--mds-keyboard-illumination-light:0 var(--mds-keyboard-illumination-light-size,calc(var(--spacing,.0025rem)*25)) 0 0 rgb(255 255 255/var(--mds-keyboard-illumination-light-opacity,.075)) inset;--mds-keyboard-illumination-shadow:0 0 1px 0 #0000;--mds-keyboard-key-background:rgb(var(--tone-porcelain-10,235 237 241));--mds-keyboard-key-illumination-dark-opacity:.075;--mds-keyboard-key-illumination-light-opacity:.5;--mds-keyboard-key-illumination-shadow:var(--shadow-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-keyboard-padding:calc(var(--spacing,.0025rem)*200);--mds-keyboard-spinner-duration:1s;background-color:var(--mds-keyboard-background-default,rgb(var(--tone-porcelain-08,201 208 219)));border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));box-shadow:var(--mds-keyboard-illumination-light),var(--mds-keyboard-illumination-dark),var(--mds-keyboard-illumination-shadow);color:var(--mds-keyboard-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));corner-shape:var(--magma-corner-shape,squircle);align-items:center;align-self:flex-start;display:inline-flex;gap:calc(var(--spacing,.0025rem)*200);justify-self:flex-start;padding:calc(var(--mds-keyboard-illumination-light-size,calc(var(--spacing,.0025rem) * 25)) + var(--mds-keyboard-padding,calc(var(--spacing,.0025rem) * 200))) var(--mds-keyboard-padding,calc(var(--spacing,.0025rem) * 200)) calc(var(--mds-keyboard-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) + var(--mds-keyboard-padding,calc(var(--spacing,.0025rem) * 200))) var(--mds-keyboard-padding,calc(var(--spacing,.0025rem) * 200));transition-duration:.2s;transition-property:background-color;transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94));-webkit-user-select:none;user-select:none}.errors{display:grid}.errors,.shortcuts{gap:calc(var(--spacing,.0025rem)*100)}.shortcuts{align-items:center;display:inline-flex;outline:0}:host(:focus-within){--mds-keyboard-background:rgb(var(--tone-porcelain-07,179 189 204))}mds-tooltip{--mds-tooltip-delay:0}.combination-checker{--mds-button-await-duration:var(--mds-keyboard-spinner-duration,1s);border-radius:var(--radius-full,1000px)}::slotted(mds-keyboard-key){align-self:flex-end}:host([test=pass]){--mds-keyboard-background-default:var(--mds-keyboard-background-pass,rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205))))}:host([test=fail]){--mds-keyboard-background-default:var(--mds-keyboard-background-fail,rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211))))}:host([test=pass]) .combination-checker{background-color:var(--mds-keyboard-background-pass,rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205))));fill:var(--mds-keyboard-fill-pass,rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0))))}:host([test=fail]) .combination-checker{background-color:var(--mds-keyboard-background-fail,rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211))));fill:var(--mds-keyboard-fill-fail,rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0))))}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-keyboard-color:rgb(var(--tone-porcelain-01,4 5 6));--mds-keyboard-background:rgb(var(--tone-porcelain-07,179 189 204));--mds-keyboard-illumination-dark-opacity:.5;--mds-keyboard-illumination-light-opacity:.15;--mds-keyboard-illumination-shadow:0 0 3px 0 #ffffff80;--mds-keyboard-key-background:rgb(var(--tone-porcelain-06,153 168 187));--mds-keyboard-key-illumination-dark-opacity:.5;--mds-keyboard-key-illumination-light-opacity:.15;--mds-keyboard-key-illumination-shadow:0 0 1px 0 #ffffff80}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-keyboard-color:rgb(var(--tone-porcelain-01,4 5 6));--mds-keyboard-background:rgb(var(--tone-porcelain-07,179 189 204));--mds-keyboard-illumination-dark-opacity:.5;--mds-keyboard-illumination-light-opacity:.15;--mds-keyboard-illumination-shadow:0 0 3px 0 #ffffff80;--mds-keyboard-key-background:rgb(var(--tone-porcelain-06,153 168 187));--mds-keyboard-key-illumination-dark-opacity:.5;--mds-keyboard-key-illumination-light-opacity:.15;--mds-keyboard-key-illumination-shadow:0 0 1px 0 #ffffff80}}"};var P=a("mds_keyboard",/** @class */function(){function a(a){var e=this;r(this,a);this.errors=new Set;this.keyEls=[];this.testInit=false;this.pressedKeys=new Set;this.keyCombination=new Set;this.t=new s({el:f,en:k,es:w,it:j});this.testPassed=undefined;this.initKeyboardTest=function(){var a,r;if(e.testInit){return}e.testInit=true;e.updateElements();e.shortcutsEl=(a=e.host.shadowRoot)===null||a===void 0?void 0:a.querySelector(".shortcuts");e.buttonTrigger=(r=e.host.shadowRoot)===null||r===void 0?void 0:r.querySelector(".combination-checker");e.buttonTrigger.removeAttribute("title")};this.separateKeys=function(){e.filteredNodes.forEach((function(a,r){if(r<e.filteredNodes.length-1){var t=document.createElement("mds-text");t.typography="detail";t.innerHTML="<b>+</b>";a.after(t)}}))};this.updateElements=function(){e.filteredNodes.forEach((function(a){var r;
|
|
2
|
-
// the type has no empty name, but the attribute can be empty or removed
|
|
3
|
-
var t=(r=a.name)!==null&&r!==void 0?r:"";if(t!==""){e.keyEls.push(a);e.keyCombination.add(e.keyCodes(t.toLowerCase()).toString())}}))};this.checkTest=function(){if(e.testPassed===true){return"pass"}if(e.testPassed===false){return"fail"}return undefined};this.checkKeyboardShortcut=function(){e.stopKeyboardShortcutTest();
|
|
4
|
-
// console.log('json keys x', this.keyCombination)
|
|
5
|
-
// console.log('os output x', this.pressedKeys)
|
|
6
|
-
e.testPassed=e.areEquivalent(e.keyCombination,e.pressedKeys);e.test=e.checkTest();e.keyEls.forEach((function(a){a.removeAttribute("pressed")}))};this.keyCodes=function(a){return c[a.toLowerCase()].keyCodes};this.hasKeyCode=function(a,r){return c[a.toLowerCase()].keyCodes.includes(r)};this.areEquivalent=function(a,r){var t=Array.from(a);var i=Array.from(r);var o=true;if(t.length!==i.length){e.errors.add("wrongKeysCombination");return false}o=t.every((function(a,r){var e=a.split(",");return e.includes(i[r])}));if(!o){e.errors.add("wrongKeysCombination")}return o};this.addKeyboardShortcut=function(a){if(typeof document==="undefined"){return}a.stopPropagation();a.preventDefault();var r=a.code;e.pressedKeys.add(r);e.keyEls.forEach((function(a){if(e.hasKeyCode(a.name,r)){a.pressed=true}}))};this.startKeyboardShortcutTest=function(){e.pressedKeys.clear();e.testPassed=undefined;e.test=e.testPassed;e.buttonTrigger.blur();e.buttonTrigger.await=true;e.buttonTrigger.removeAttribute("tabindex");e.shortcutsEl.setAttribute("tabindex","0");e.shortcutsEl.focus();
|
|
7
|
-
// Attach for this run; stopKeyboardShortcutTest detaches. The handlers are
|
|
8
|
-
// stable arrow refs, so re-adding is idempotent and removal matches.
|
|
9
|
-
e.shortcutsEl.addEventListener("blur",e.stopKeyboardShortcutTest);e.shortcutsEl.addEventListener("keydown",e.addKeyboardShortcut);e.shortcutsEl.addEventListener("keyup",e.checkKeyboardShortcut)};this.stopKeyboardShortcutTest=function(){e.buttonTrigger.await=false;e.buttonTrigger.setAttribute("tabindex","0");e.shortcutsEl.removeAttribute("tabindex");e.shortcutsEl.removeEventListener("blur",e.stopKeyboardShortcutTest);e.shortcutsEl.removeEventListener("keydown",e.addKeyboardShortcut);e.shortcutsEl.removeEventListener("keyup",e.checkKeyboardShortcut)};this.getButtonIcon=function(){if(e.test==="pass"){return o}if(e.test==="fail"){return n}return l}}a.prototype.disconnectedCallback=function(){
|
|
10
|
-
// Tear down the keyboard test only if it was initialized; otherwise
|
|
11
|
-
// buttonTrigger/shortcutsEl are undefined and this would throw. (This used
|
|
12
|
-
// to live in a misspelled `discottectedCallback`, so it never ran.)
|
|
13
|
-
if(this.testInit){this.stopKeyboardShortcutTest()}};a.prototype.handleTryProperty=function(a){if(a){this.initKeyboardTest()}};a.prototype.componentDidLoad=function(){var a,r;this.nodes=(r=(a=this.host.shadowRoot)===null||a===void 0?void 0:a.querySelectorAll("slot")[0])===null||r===void 0?void 0:r.assignedNodes();this.filteredNodes=this.nodes.filter((function(a){return a.nodeType===1}));this.separateKeys();if(this.try){this.initKeyboardTest()}};a.prototype.render=function(){var a=this;return e(t,{key:"0f22438d7c2df4f9370f9daad1756c065720fded","pref-mode":d.state.mode,"pref-theme-scheme":d.state["theme-scheme"]},e("div",{key:"302124ad13826c7dc832a8d4dbfc3866f3bb5af9",class:"shortcuts"},e("slot",{key:"0e74fab3079d226dbb14d062e24f7e460984e1da"})),this.try&&e("mds-button",{key:"18ad345428615395f0a6e20453c57db4f8ed93f8",icon:this.getButtonIcon(),"aria-label":this.t.get("testKeyCombination"),class:"combination-checker",variant:"dark",tone:"text",onClick:this.startKeyboardShortcutTest}),this.try&&e("mds-tooltip",{key:"545d9abac32f56ce8199d75a1cc1dc114dd442ac",target:".combination-checker"},this.testPassed===undefined&&this.t.get("testKeyCombination"),this.testPassed===true&&this.t.get("testPassed"),this.testPassed===false&&e("div",{key:"f668a098b0b91658a9db962c2560d90169083a9c",class:"errors"},__spreadArray([],this.errors,true).map((function(r){return e("mds-text",{typography:"tip"},a.t.get(r))})))))};Object.defineProperty(a.prototype,"host",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{try:[{handleTryProperty:0}]}},enumerable:false,configurable:true});return a}());P.style=H()}}}));
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
System.register(["./p-DaONbL_w.system.js","./p-hVpoPUxI.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: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
|
-
/**
|
|
3
|
-
* Specifies the support type which is represented
|
|
4
|
-
*/this.type="text"}e.prototype.render=function(){return t(a,{key:"7a61b8937a719cb7a9b529430a1e7531202d83ae","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:"31bd664666209f752504669255b3a4b49d98301d",class:"icon icon--supported",innerHTML:i,part:"icon"}),this.type==="unsupported"&&t("i",{key:"2d493f1e6e5f594f4ee6fefef84f4be3325a7988",class:"icon icon--unsupported",innerHTML:s,part:"icon"}),this.type==="text"&&t("mds-text",{key:"b93130017c7de4584627f47bd2b760e90bdeec09",part:"text",typography:"detail"},t("slot",{key:"a8bb5a4433ffe2907d868684f6dc1313acc3f942"})),this.type==="custom"&&t("slot",{key:"f41bd59e0493e36d8995ffafa2e7291ec4f7cead"}),this.type==="label"&&t("slot",{key:"27b4ab7dafd5a18ebfd68e587c558a0684857927"}))};return e}());l.style=n()}}}));
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
System.register(["./p-DaONbL_w.system.js","./p-hVpoPUxI.system.js","./p-Qrub-hmK.system.js"],(function(t){"use strict";var a,e,r,o,d,n;return{setters:[function(t){a=t.r;e=t.h;r=t.e;o=t.g},function(t){d=t.p},function(t){n=t.c}],execute:function(){var i=function(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-card-content,mds-card-footer,mds-card-header,mds-card-media):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-card-gap:0;--mds-card-padding:0;--mds-card-background:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));background-color:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));box-shadow:var(--shadow-md-sharp,0 0 1px 1px #0000000f,0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f);corner-shape:var(--magma-corner-shape,squircle);container:mds-card/inline-size;display:grid;min-height:calc(var(--spacing,.0025rem)*400);overflow:hidden}.layout:not(.layout--disabled) ::slotted([slot=media]){grid-area:media}.layout:not(.layout--disabled) ::slotted([slot=header]){grid-area:header}.layout:not(.layout--disabled) ::slotted([slot=content]){grid-area:content}.layout:not(.layout--disabled) ::slotted([slot=footer]){grid-area:footer}.layout{display:grid;gap:var(--mds-card-gap,0);grid-template-columns:repeat(auto-fit,minmax(1px,100%));padding:var(--mds-card-padding,0)}.layout--cfhm:not(.layout--disabled){grid-template-areas:"header""media""content""footer";grid-template-rows:min-content min-content 1fr min-content}.layout--chm:not(.layout--disabled){grid-template-areas:"header""media""content";grid-template-rows:min-content min-content 1fr}.layout--cfm:not(.layout--disabled){grid-template-areas:"media""content""footer";grid-template-rows:min-content 1fr min-content}.layout--fhm:not(.layout--disabled){grid-template-areas:"header""media""footer";grid-template-rows:min-content 1fr min-content}.layout--cfh:not(.layout--disabled){grid-template-areas:"header""content""footer";grid-template-rows:min-content 1fr min-content}.layout--hm:not(.layout--disabled){grid-template-areas:"header""media";grid-template-rows:min-content 1fr}.layout--fm:not(.layout--disabled){grid-template-areas:"media""footer";grid-template-rows:1fr min-content}.layout--cm:not(.layout--disabled){grid-template-areas:"media""content";grid-template-rows:min-content 1fr}.layout--fh:not(.layout--disabled){grid-template-areas:"header""footer";grid-template-rows:min-content 1fr}.layout--ch:not(.layout--disabled){grid-template-areas:"header""content";grid-template-rows:min-content 1fr}.layout--cf:not(.layout--disabled){grid-template-areas:"content""footer";grid-template-rows:1fr min-content}.layout--h:not(.layout--disabled){grid-template-areas:"header";grid-template-rows:1fr}.layout--m:not(.layout--disabled){grid-template-areas:"media";grid-template-rows:1fr}.layout--c:not(.layout--disabled){grid-template-areas:"content";grid-template-rows:1fr}.layout--f:not(.layout--disabled){grid-template-areas:"footer";grid-template-rows:1fr}@container mds-card not (max-width:30em){.layout--cfhm:not(.layout--disabled){grid-template:"media header"min-content"media content"1fr"media footer"min-content/minmax(240px,1fr) 2fr}.layout--chm:not(.layout--disabled){grid-template:"media header"min-content"media content"1fr"media content"1fr/minmax(240px,1fr) 2fr}.layout--fhm:not(.layout--disabled){grid-template:"media header"min-content"media footer"1fr/minmax(240px,1fr) 2fr}.layout--cfm:not(.layout--disabled){grid-template:"media content"1fr"media footer"min-content/minmax(240px,1fr) 2fr}.layout--cm:not(.layout--disabled){grid-template:"media content"1fr". ."min-content/minmax(240px,1fr) 2fr}}:host([pref-contrast=more]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a)}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a)}}'};var s=t("mds_card",/** @class */function(){function t(t){a(this,t);
|
|
2
|
-
/**
|
|
3
|
-
* Disables the automatic responsive behavior based on container queries
|
|
4
|
-
*/this.disableAutoGrid=false}t.prototype.componentWillLoad=function(){this.layout=Array.from(this.host.children).map((function(t){return(t.getAttribute("slot")!=null?t.getAttribute("slot")!=="":// if no custom slot find mds-card-{component}
|
|
5
|
-
t.tagName.startsWith("MDS-CARD-"))?// replace mds-card-header with header (for all mds-card-{component})
|
|
6
|
-
t.tagName.toLocaleLowerCase().replace("mds-card-",""):// if find other tag do nothing
|
|
7
|
-
""})).sort().reduce((function(t,a){return t+a.charAt(0)}),"")};t.prototype.render=function(){return e(r,{key:"700b5644069cd6a7d4bfc3bea54079caf47ca59c","pref-contrast":d.state.contrast,"pref-mode":d.state.mode,"pref-theme-scheme":d.state["theme-scheme"]},e("div",{key:"9aed1455a96800a5a02fcac985a10068a09843da",class:n("layout",this.layout&&"layout--".concat(this.layout),this.disableAutoGrid?"layout--disabled":""),part:"layout"},e("slot",{key:"fa2fbd0bc71d9eaf6bf140dd499237ffae0ccb2d",name:"media"}),e("slot",{key:"7a3baf27222a6ff33a21b2bc7b8f95845aff8d56",name:"header"}),e("slot",{key:"65c90c6b1fd22dc4234e97c5ddd8a049835f018b",name:"content"}),e("slot",{key:"1977d445c55d24de92a933e0fc6d659641c0f439",name:"footer"})))};Object.defineProperty(t.prototype,"host",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());s.style=i()}}}));
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
System.register(["./p-DaONbL_w.system.js","./p-Qrub-hmK.system.js","./p-hVpoPUxI.system.js","./p-C61qxZLH.system.js","./p-BTF_aRDG.system.js"],(function(r){"use strict";var t,e,a,i,s,n,o,d,l,m;return{setters:[function(r){t=r.r;e=r.d;a=r.h;i=r.e;s=r.g;n=r.B},function(r){o=r.c},function(r){d=r.p},function(r){l=r.m},function(r){m=r.L}],execute:function(){var f="Εκκαθάριση φίλτρων";var c={clearFilters:f};var u="Clear filters";var h={clearFilters:u};var v="Borrar filtros";var p={clearFilters:v};var b="Rimuovi i filtri";var g={clearFilters:b};var w=function(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-filter-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-filter-items-background-active:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-filter-items-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-filter-items-gap:calc(var(--spacing,.0025rem)*200);--mds-filter-items-padding:calc(var(--spacing,.0025rem)*200);--mds-filter-items-radius:var(--radius-full,1000px);--mds-filter-items-scroll-behavior:smooth;--mds-filter-items-transition-duration:var(--duration-300,.3s);--private-filter-items-transition-duration:var(--mds-filter-items-transition-duration);--mds-filter-label-padding:0 calc(var(--spacing,.0025rem)*600);--mds-filter-wrapper-shadow-color:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-filter-wrapper-shadow:0 0 0 2px var(--mds-filter-wrapper-shadow-color,rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)))) inset;--mds-filter-wrapper-shadow-opacity:.1;display:grid;gap:calc(var(--spacing,.0025rem)*100);grid-auto-rows:min-content}.items{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;background-color:var(--mds-filter-items-background,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));border-radius:var(--mds-filter-items-radius,var(--radius-full,1000px));display:flex;gap:var(--mds-filter-items-gap,calc(var(--spacing,.0025rem)*200));overflow:auto;padding:var(--mds-filter-items-padding,calc(var(--spacing,.0025rem)*200));position:relative;scroll-behavior:var(--mds-filter-items-scroll-behavior,smooth);scroll-snap-type:x mandatory;scrollbar-width:none;transition-duration:var(--private-filter-items-transition-duration);transition-property:background-color;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.items-wrapper{display:grid;overflow:hidden;position:relative}.items-wrapper:after{border-radius:var(--mds-filter-items-radius,var(--radius-full,1000px));box-shadow:var(--mds-filter-wrapper-shadow);content:"";inset:0;opacity:var(--mds-filter-wrapper-shadow-opacity,.1);pointer-events:none;position:absolute}.items::-webkit-scrollbar{display:none}.label{padding:var(--mds-filter-label-padding,0 calc(var(--spacing,.0025rem)*600))}.active{background-color:var(--mds-filter-items-background-active,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))))}.reset{display:flex;flex-grow:1;justify-content:flex-end;transform-origin:50%}.reset,.reset-button{transform:scale(0);transition-duration:var(--duration-300,.3s);transition-property:transform;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.reset-button-opened,:host([reset]:not([reset=false])) .reset{transform:scale(1)}: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-items-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .items{--mds-filter-items-background-active:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-filter-items-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:host([pref-contrast=more]){--mds-filter-items-background-active:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-filter-items-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-filter-wrapper-shadow-opacity:.3;--mds-filter-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-filter-wrapper-shadow-color,rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)))) inset}@media (prefers-reduced-motion:reduce){:host{--mds-filter-items-scroll-behavior:auto}: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-items-transition-duration:0s}}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))) .items{--mds-filter-items-background-active:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-filter-items-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-filter-items-background-active:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-filter-items-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-filter-wrapper-shadow-opacity:.3;--mds-filter-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-filter-wrapper-shadow-color,rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)))) inset}}'};var y=r("mds_filter",/** @class */function(){function r(r){var a=this;t(this,r);this.changedEvent=e(this,"mdsFilterChange",7);this.t=new m({el:c,en:h,es:p,it:g});this.itemsSelected=0;this.queryItems=function(){return a.element.querySelectorAll("mds-filter-item")};
|
|
2
|
-
/**
|
|
3
|
-
* Centres the selected item in the strip. The measure is taken from the boxes
|
|
4
|
-
* and applied as a delta on the current scroll: `offsetLeft` would mix two
|
|
5
|
-
* coordinate systems, because the items are slotted light children and their
|
|
6
|
-
* offsetParent is whatever is positioned above the host - the page, usually -
|
|
7
|
-
* while the strip lives in the shadow root. The difference between the two is
|
|
8
|
-
* the distance of the filter from that ancestor, so the further right the
|
|
9
|
-
* component sits the more the scroll overshoots, until it clamps at the end of
|
|
10
|
-
* the strip and pushes the clicked item against the left edge.
|
|
11
|
-
*/this.scrollTabs=function(){var r;var t=a.queryItems();var e=t[a.lastSelectedItem];var i=(r=a.element.shadowRoot)===null||r===void 0?void 0:r.querySelector(".items");if(i&&e){var s=i.getBoundingClientRect();var n=e.getBoundingClientRect();i.scrollLeft+=n.left-s.left-(s.width-n.width)/2}};this.checkSelectedItem=function(){var r=a.queryItems();var t=false;r.forEach((function(r){if(r.selected){t=true}}));a.active=t};
|
|
12
|
-
// in multiple mode an item that follows a selected one is marked `sibling`
|
|
13
|
-
this.markSiblings=function(r){if(!a.multiple){return}r.forEach((function(t,e){t.classList.toggle("sibling",e>0&&r[e-1].selected===true)}))};
|
|
14
|
-
/**
|
|
15
|
-
* The selection lives on the items: one the application selects or clears, or renders already
|
|
16
|
-
* selected, is taken in as after a click - one item at a time in single mode, the last one set
|
|
17
|
-
* winning, the reset button shown or hidden, the strip scrolled to it - but no `mdsFilterChange`
|
|
18
|
-
* is emitted, the application already knows. A click goes through here too, once its listener
|
|
19
|
-
* has done the same, and finds nothing left to change.
|
|
20
|
-
*/this.syncSelection=function(r){var t=Array.from(a.queryItems());var e;r.forEach((function(r){var a=r.type==="childList"?Array.from(r.addedNodes):[r.target];a.forEach((function(r){var a=r;if(t.includes(a)&&a.selected===true){e=a}}))}));if(!a.multiple){a.keepOneSelected(t,e)}if(e){a.lastSelectedItem=t.indexOf(e);a.scrollTabs()}a.markSiblings(t);a.checkSelectedItem()};
|
|
21
|
-
// single mode: of the selected items only `keep` stays, by default the last one, as in a select
|
|
22
|
-
this.keepOneSelected=function(r,t){if(t===void 0){t=r.filter((function(r){return r.selected===true})).pop()}r.forEach((function(r){if(r.selected===true&&r!==t){r.selected=false}}))};this.checkAutoReset=function(){if(!a.autoReset){return}a.resetItems()};this.resetItems=function(){var r=a.queryItems();r.forEach((function(r){r.selected=false;r.classList.remove("sibling")}));a.active=false};
|
|
23
|
-
// the reset button is an action of the filter: it clears the selection and tells the
|
|
24
|
-
// application, as a click on the items does
|
|
25
|
-
this.handleResetClick=function(){if(!a.active){return}a.resetItems();a.changedEvent.emit({children:a.queryItems(),value:a.itemsValues()})};this.itemsValues=function(){var r=a.queryItems();var t=[];r.forEach((function(r){if(r.selected){t.push(r.value)}}));return t.toString()}}r.prototype.connectedCallback=function(){var r;(r=this.selectionObserver)===null||r===void 0?void 0:r.disconnect();if(!n.isBrowser){return}this.selectionObserver=new MutationObserver(this.syncSelection);this.selectionObserver.observe(this.element,{attributeFilter:["selected"],childList:true,subtree:true})};r.prototype.disconnectedCallback=function(){var r;(r=this.selectionObserver)===null||r===void 0?void 0:r.disconnect();this.selectionObserver=undefined};r.prototype.componentWillLoad=function(){var r=this.queryItems();r.forEach((function(r,t){r.id="item-".concat(t)}));if(!this.multiple){this.keepOneSelected(Array.from(r))}this.checkSelectedItem()};r.prototype.activeEventHandler=function(r){var t=this.queryItems();
|
|
26
|
-
// the item itself, not its id: an item rendered after the load has none
|
|
27
|
-
var e=r.target;this.lastSelectedItem=Array.from(t).indexOf(e);this.scrollTabs();if(this.multiple){this.markSiblings(Array.from(t));this.itemsSelected=Array.from(t).filter((function(r){return r.selected===true})).length;this.checkSelectedItem();if(this.itemsSelected===t.length){this.checkAutoReset()}this.changedEvent.emit({children:t,value:this.itemsValues()});return}t.forEach((function(t){t.selected=t===e&&r.detail.selected}));this.checkSelectedItem();this.changedEvent.emit({children:t,value:this.itemsValues()})};r.prototype.render=function(){return a(i,{key:"58133a6aeb12ed655155be4a0e6ce7033d09ebb4","aria-label":this.label,role:"group","pref-animation":d.state.animation,"pref-contrast":d.state.contrast,"pref-mode":d.state.mode,"pref-theme-scheme":d.state["theme-scheme"]},this.label&&a("mds-text",{key:"552a4f15e5500499df8a1512ecde22d5678b885a","aria-hidden":"true",class:"label",typography:"label"},this.label),a("div",{key:"41429bb777bb176a7a99cf991fc17616a2f4cece",class:"items-wrapper"},a("div",{key:"654c921566d2c0e66b3c916dea1976c21f720ac8",class:o("items",this.active&&"active")},a("slot",{key:"28c3c679acf98c0a9d5906a16298c1661de471f6"}),this.reset&&a("div",{key:"a3034c09473817fb66486a7be53843ae5cd64fea",class:o("reset",this.active&&"reset--opened")},a("mds-filter-item",{key:"fe0c576722b3cc33be247d3e61550f668b2dbd57","aria-hidden":this.active?undefined:"true","aria-label":this.t.get("clearFilters"),selected:this.active,disabled:!this.active,class:o("reset-button",this.active&&"reset-button-opened"),icon:l,onClick:this.handleResetClick})))))};Object.defineProperty(r.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});return r}());y.style=w()}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as a,h as r,e as t,g as o}from"./p-BxPbQB28.js";import{c as e}from"./p-ChV9xqsO.js";import{g as n}from"./p-B85MJLTf.js";import{p as i}from"./p-7-TP6wnI.js";var s,l={exports:{}},v=(s||(s=1,l.exports=function(a){if(a){var r=function(a){return[].slice.call(a)},t=3,o=[],e=null,n="requestAnimationFrame"in a?function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{sync:!1};a.cancelAnimationFrame(e);var t=function(){return s(o.filter((function(a){return a.dirty&&a.active})))};if(r.sync)return t();e=a.requestAnimationFrame(t)}:function(){},i=function(a){return function(r){o.forEach((function(r){return r.dirty=a})),n(r)}},s=function(a){a.filter((function(a){return!a.styleComputed})).forEach((function(a){a.styleComputed=d(a)})),a.filter(b).forEach(m);var r=a.filter(c);r.forEach(v),r.forEach((function(a){m(a),l(a)})),r.forEach(u)},l=function(a){return a.dirty=0},v=function(a){a.availableWidth=a.element.parentNode.clientWidth,a.currentWidth=a.element.scrollWidth,a.previousFontSize=a.currentFontSize,a.currentFontSize=Math.min(Math.max(a.minSize,a.availableWidth/a.currentWidth*a.previousFontSize),a.maxSize),a.whiteSpace=a.multiLine&&a.currentFontSize===a.minSize?"normal":"nowrap"},c=function(a){return 2!==a.dirty||2===a.dirty&&a.element.parentNode.clientWidth!==a.availableWidth},d=function(r){var t=a.getComputedStyle(r.element,null);return r.currentFontSize=parseFloat(t.getPropertyValue("font-size")),r.display=t.getPropertyValue("display"),r.whiteSpace=t.getPropertyValue("white-space"),!0},b=function(a){var r=!1;return!a.preStyleTestCompleted&&(/inline-/.test(a.display)||(r=!0,a.display="inline-block"),"nowrap"!==a.whiteSpace&&(r=!0,a.whiteSpace="nowrap"),a.preStyleTestCompleted=!0,r)},m=function(a){a.element.style.whiteSpace=a.whiteSpace,a.element.style.display=a.display,a.element.style.fontSize=a.currentFontSize+"px"},u=function(a){a.element.dispatchEvent(new CustomEvent("fit",{detail:{oldValue:a.previousFontSize,newValue:a.currentFontSize,scaleFactor:a.currentFontSize/a.previousFontSize}}))},g=function(a,r){return function(t){a.dirty=r,a.active&&n(t)}},h=function(a){return function(){o=o.filter((function(r){return r.element!==a.element})),a.observeMutations&&a.observer.disconnect(),a.element.style.whiteSpace=a.originalStyle.whiteSpace,a.element.style.display=a.originalStyle.display,a.element.style.fontSize=a.originalStyle.fontSize}},f=function(a){return function(){a.active||(a.active=!0,n())}},p=function(a){return function(){return a.active=!1}},w=function(a){a.observeMutations&&(a.observer=new MutationObserver(g(a,1)),a.observer.observe(a.element,a.observeMutations))},k={minSize:16,maxSize:512,multiLine:!0,observeMutations:"MutationObserver"in a&&{subtree:!0,childList:!0,characterData:!0}},y=null,x=function(){a.clearTimeout(y),y=a.setTimeout(i(2),M.observeWindowDelay)},z=["resize","orientationchange"];return Object.defineProperty(M,"observeWindow",{set:function(r){var t="".concat(r?"add":"remove","EventListener");z.forEach((function(r){a[t](r,x)}))}}),M.observeWindow=!0,M.observeWindowDelay=100,M.fitAll=i(t),M}function q(a,r){var e=Object.assign({},k,r),i=a.map((function(a){var r=Object.assign({},e,{element:a,active:!0});return function(a){a.originalStyle={whiteSpace:a.element.style.whiteSpace,display:a.element.style.display,fontSize:a.element.style.fontSize},w(a),a.newbie=!0,a.dirty=!0,o.push(a)}(r),{element:a,fit:g(r,t),unfreeze:f(r),freeze:p(r),unsubscribe:h(r)}}));return n(),i}function M(a){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof a?q(r(document.querySelectorAll(a)),t):q([a],t)[0]}}("undefined"==typeof window?null:window)),l.exports),c=n(v);const d=["bg-brand-maggioli-05","bg-label-amaranth-05","bg-label-aqua-05","bg-label-blue-05","bg-label-green-05","bg-label-lime-05","bg-label-orange-05","bg-label-orchid-05","bg-label-purple-05","bg-label-red-05","bg-label-sky-05","bg-label-violet-05","bg-label-yellow-05","bg-status-error-05","bg-status-info-05","bg-status-success-05","bg-status-warning-05"],b=class{constructor(r){a(this,r),this.fallback=!1,this.loaded=!0,this.fittyInitialized=!1,this.textChanged=!1,this.variants=["amaranth","aqua","blue","error","green","info","lime","orange","orchid","primary","sky","success","violet","warning","yellow"],this.addFontResize=()=>{var a;if(this.fittyInitialized)return;const r=null===(a=this.element.shadowRoot)||void 0===a?void 0:a.querySelector(".fit");this.fittyElements=c(r,{minSize:10}),this.observer=new ResizeObserver((a=>{a.forEach((()=>{this.fittyElements.fit()}))})),this.observer.observe(this.element),this.fittyInitialized=!0},this.removeFontResize=()=>{this.fittyInitialized&&(this.fittyInitialized=!1,this.observer.unobserve(this.element))},this.checkText=a=>{if(""===a||void 0===a)this.fittyInitialized&&this.removeFontResize();else{if(this.fittyInitialized)return;this.fittyInitialized||this.addFontResize()}},this.handleImgLoadError=()=>{this.loaded=!0,this.fallback=!0},this.handleImgLoadSuccess=()=>{this.loaded=!0},this.hasCount=()=>{var a;const r=null!==(a=this.count)&&void 0!==a?a:0;return 0!==r&&!Number.isNaN(r)},this.checkTexts=()=>{var a;const r=null!==(a=this.initials)&&void 0!==a?a:"";""!==r&&this.checkText(r),this.hasCount()&&this.checkText(String(this.count))},this.checkInitialsVariant=()=>{var a;const r=null!==(a=this.initials)&&void 0!==a?a:"";if(""!==r){let a=r.toLowerCase().replace(/[^a-zA-Z0-9]+/g,"").substring(0,2);1===a.length&&(a+=a),this.variant=this.variants[(a.substring(0,1).charCodeAt(0)+a.substring(1,2).charCodeAt(0))%d.length]}}}componentWillLoad(){this.checkInitialsVariant()}componentDidLoad(){void 0!==this.src&&(this.loaded=!1),this.checkTexts()}componentDidRender(){this.textChanged&&(this.checkTexts(),this.textChanged=!1)}initialsHandler(){this.textChanged=!0,this.checkInitialsVariant()}countHandler(){this.textChanged=!0,this.checkInitialsVariant()}srcHandler(a){void 0===a&&(this.loaded=!0)}iconHandler(a){void 0!==a&&(this.loaded=!0)}render(){var a,o,n,s;const l=this.hasCount(),v=null!==(a=this.icon)&&void 0!==a?a:"",c=""!==v,d=""!==(null!==(o=this.initials)&&void 0!==o?o:""),b=""!==(null!==(n=this.src)&&void 0!==n?n:"");return r(t,{key:"87e19218bbfe6e9c79f5edd7b4dd0350572b4f84","pref-animation":i.state.animation,"pref-contrast":i.state.contrast},r("div",{key:"b8775a55b682778312539df8ba0d8107075873e1",class:e("avatar",d&&!this.fallback&&!b&&"avatar--initials",(this.fallback||!c&&!d&&!b)&&"avatar--fallback",c&&"avatar--icon",this.loaded?"avatar--loaded":"avatar--pending"),part:"wrapper"},d&&!l&&!this.fallback&&!b&&r("div",{key:"acea5faae52d0cfaaa8f03788a22c89c8f0095ad",class:"initials-text"},r("span",{key:"aedd03f85b197fc6ed24b4a0238804856145aa4c",class:"fit"},null===(s=this.initials)||void 0===s?void 0:s.substring(0,2))),l&&!this.fallback&&!b&&r("div",{key:"dd8af02204937c6558ab63b26d5993aa34e4df37",class:"initials-text"},r("span",{key:"fdf6930557054172bea785b8c6be0decb743887a",class:"fit"},"+",this.count)),b&&!l&&!this.fallback&&!c&&r("mds-img",{key:"4519cc0bd3e701abf9d7bdaf0189f2ca3bcd86ed",class:"image",loading:"lazy",onMdsImgLoadError:this.handleImgLoadError,onMdsImgLoadSuccess:this.handleImgLoadSuccess,part:"media",src:this.src}),c&&!d&&!l&&r("mds-icon",{key:"5958962b68d5797dd46f1322b0e12717bf70c93e",class:"icon",part:"icon",name:v}),(this.fallback||!c&&!d&&!l&&!b)&&r("i",{key:"e6509636da3e20d93144dde5f3ecce6f1cfc5506",class:"fallback-icon",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4s-4 1.79-4 4s1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>'})))}get element(){return o(this)}static get watchers(){return{initials:[{initialsHandler:0}],count:[{countHandler:0}],src:[{srcHandler:0}],icon:[{iconHandler:0}]}}};b.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-font-weight:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-img):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-avatar-background-color-pending:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-avatar-background-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-avatar-color:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240)));--mds-avatar-radius:var(--radius-full,1000px);--mds-avatar-initials-padding:20%;--mds-avatar-transition-duration:var(--duration-200,.2s);--private-avatar-transition-duration:var(--mds-avatar-transition-duration);aspect-ratio:1;border-radius:var(--mds-avatar-radius,var(--radius-full,1000px));container:mds-avatar/inline-size;display:inline-flex;overflow:hidden;width:calc(var(--spacing,.0025rem)*1200)}.avatar{aspect-ratio:1;border-radius:var(--mds-avatar-radius,var(--radius-full,1000px));color:#0000;display:inline-flex;overflow:hidden;transition-duration:var(--private-avatar-transition-duration);transition-property:color,background-color,box-shadow,fill;width:100%}.avatar--pending{background-color:var(--mds-avatar-background-color-pending,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))))}.avatar--loaded{animation:none}.avatar--fallback,.avatar--icon,.avatar--initials{background-color:var(--mds-avatar-background-color,rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204))));box-shadow:none}.avatar--fallback,.avatar--initials{display:flex;place-items:stretch stretch}.avatar--fallback,.avatar--icon{padding:20%}.avatar--initials{padding:30% var(--mds-avatar-initials-padding,20%) 25%}.image{aspect-ratio:1;border-radius:var(--mds-avatar-radius,var(--radius-full,1000px))}.fallback-icon{aspect-ratio:1;display:flex;fill:var(--mds-avatar-color,rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240))));width:100%}.fallback-icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}.initials-text{font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);--tw-font-weight:var(--font-weight-bold,700);align-items:center;color:var(--mds-avatar-color,rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240))));display:flex;font-weight:var(--font-weight-bold,700);height:100%;justify-content:center;text-transform:uppercase;-webkit-user-select:none;user-select:none;width:100%}.fit{display:inline-block;white-space:nowrap!important}.icon{fill:var(--mds-avatar-color,rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240))));height:100%;transition-duration:var(--private-avatar-transition-duration);transition-property:fill;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));width:100%}@container (max-width:24px){.avatar--initials{padding:0 var(--mds-avatar-initials-padding,20%)}.initials-text{--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900)}}:host,:host([variant=primary]){--mds-avatar-background-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-avatar-color:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240)))}:is(:host,:host([variant=primary])):host([tone=weak]){--mds-avatar-background-color:rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231)));--mds-avatar-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)))}:host([variant=red]){--mds-avatar-background-color:rgb(var(--label-red-05,230 66 66));--mds-avatar-color:rgb(var(--label-red-10,252 233 233))}:host([variant=red]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-red-09,250 215 215));--mds-avatar-color:rgb(var(--label-red-05,230 66 66))}:host([variant=amaranth]){--mds-avatar-background-color:rgb(var(--label-amaranth-05,242 37 72));--mds-avatar-color:rgb(var(--label-amaranth-10,254 232 236))}:host([variant=amaranth]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-amaranth-09,253 214 221));--mds-avatar-color:rgb(var(--label-amaranth-05,242 37 72))}:host([variant=orchid]){--mds-avatar-background-color:rgb(var(--label-orchid-05,233 44 137));--mds-avatar-color:rgb(var(--label-orchid-10,253 231 242))}:host([variant=orchid]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-orchid-09,251 213 232));--mds-avatar-color:rgb(var(--label-orchid-05,233 44 137))}:host([variant=violet]){--mds-avatar-background-color:rgb(var(--label-violet-05,145 100 246));--mds-avatar-color:rgb(var(--label-violet-10,240 234 254))}:host([variant=violet]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-violet-09,229 218 253));--mds-avatar-color:rgb(var(--label-violet-05,145 100 246))}:host([variant=purple]){--mds-avatar-background-color:rgb(var(--label-purple-05,168 86 247));--mds-avatar-color:rgb(var(--label-purple-10,244 233 254))}:host([variant=purple]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-purple-09,235 216 253));--mds-avatar-color:rgb(var(--label-purple-05,168 86 247))}:host([variant=blue]){--mds-avatar-background-color:rgb(var(--label-blue-05,90 117 249));--mds-avatar-color:rgb(var(--label-blue-10,233 236 254))}:host([variant=blue]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-blue-09,216 222 254));--mds-avatar-color:rgb(var(--label-blue-05,90 117 249))}:host([variant=sky]){--mds-avatar-background-color:rgb(var(--label-sky-05,12 136 193));--mds-avatar-color:rgb(var(--label-sky-10,217 241 253))}:host([variant=sky]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-sky-09,185 231 251));--mds-avatar-color:rgb(var(--label-sky-05,12 136 193))}:host([variant=aqua]){--mds-avatar-background-color:rgb(var(--label-aqua-05,5 141 165));--mds-avatar-color:rgb(var(--label-aqua-10,199 245 253))}:host([variant=aqua]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-aqua-09,151 237 252));--mds-avatar-color:rgb(var(--label-aqua-05,5 141 165))}:host([variant=green]){--mds-avatar-background-color:rgb(var(--label-green-05,26 148 71));--mds-avatar-color:rgb(var(--label-green-10,206 247 221))}:host([variant=green]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-green-09,165 240 193));--mds-avatar-color:rgb(var(--label-green-05,26 148 71))}:host([variant=lime]){--mds-avatar-background-color:rgb(var(--label-lime-05,93 143 15));--mds-avatar-color:rgb(var(--label-lime-10,219 247 178))}:host([variant=lime]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-lime-09,189 239 111));--mds-avatar-color:rgb(var(--label-lime-05,93 143 15))}:host([variant=yellow]){--mds-avatar-background-color:rgb(var(--label-yellow-05,161 124 6));--mds-avatar-color:rgb(var(--label-yellow-10,253 236 186))}:host([variant=yellow]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-yellow-09,251 221 131));--mds-avatar-color:rgb(var(--label-yellow-05,161 124 6))}:host([variant=orange]){--mds-avatar-background-color:rgb(var(--label-orange-05,213 90 5));--mds-avatar-color:rgb(var(--label-orange-10,254 233 219))}:host([variant=orange]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-orange-09,253 217 191));--mds-avatar-color:rgb(var(--label-orange-05,213 90 5))}:host([variant=error]){--mds-avatar-background-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-avatar-color:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=error]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-avatar-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=warning]){--mds-avatar-background-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-avatar-color:rgb(var(--magma-warning-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=warning]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-avatar-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([variant=info]){--mds-avatar-background-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-avatar-color:rgb(var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=info]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-avatar-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([variant=success]){--mds-avatar-background-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-avatar-color:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=success]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-avatar-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 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-avatar-transition-duration:0s}:host([pref-contrast=more]) :is(.avatar--fallback,.avatar--icon,.avatar--initials){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}@property --tw-font-weight{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-avatar-transition-duration:0s}}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) :is(.avatar--fallback,.avatar--icon,.avatar--initials){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a)}}';export{b as mds_avatar}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,d as a,h as t,e as r,g as o,B as i}from"./p-BxPbQB28.js";import{f as s,a as n,b as l,c as d,g as c,d as m,h as f,e as h}from"./p-B6mQg6yQ.js";import{L as p}from"./p-Kv1yahtR.js";import{p as v}from"./p-7-TP6wnI.js";import"./p-BxIk5ZFV.js";import"./p-b1ORvfSX.js";var b={alreadyDownloaded:"Έχετε ήδη κατεβάσει αυτό το αρχείο"},u={alreadyDownloaded:"You have already downloaded this file"},g={alreadyDownloaded:"Ya has descargado este archivo"},w={alreadyDownloaded:"Hai già scaricato questo file"};const x=class{constructor(t){e(this,t),this.downloadedEvent=a(this,"mdsFileDownload",7),this.t=new p({el:Object.assign(Object.assign({},b),d),en:Object.assign(Object.assign({},u),l),es:Object.assign(Object.assign({},g),n),it:Object.assign(Object.assign({},w),s)}),this.wasDownloaded=!1,this.hideDownloadedIcon=!1,this.handleOnClick=()=>{var e;const{format:a,description:t}=c(this.filename,this.suffix);this.downloadedEvent.emit({description:null!==(e=this.description)&&void 0!==e?e:t,extension:m(this.filename,this.suffix),filename:this.filename,target:this.host,type:a}),localStorage.setItem(this.downloadedStorageKey(),"downloaded"),this.checkWasDownloaded()},this.downloadedStorageKey=()=>`mdsFile/${(e=>{let a=2166136261;for(let t=0;t<e.length;t+=1)a^=e.charCodeAt(t),a=Math.imul(a,16777619);return(a>>>0).toString(16).padStart(8,"0")})(this.filename)}`,this.checkWasDownloaded=()=>{i.isBrowser&&(this.wasDownloaded="downloaded"===localStorage.getItem(this.downloadedStorageKey()))},this.getDefaultDescription=()=>c(this.filename,this.suffix).description}componentWillLoad(){this.format=c(this.filename,this.suffix).format,this.checkWasDownloaded()}handleFilename(e){this.format=c(e,this.suffix).format,this.checkWasDownloaded()}render(){var e,a;return t(r,{key:"10356375d939bb41bd367b276f8b05fead9f26ca",tabindex:"0",onClick:this.handleOnClick,"pref-animation":v.state.animation,"pref-contrast":v.state.contrast,"pref-mode":v.state.mode,"pref-theme-scheme":v.state["theme-scheme"]},t("div",{key:"27c520e9a7296ae2fa13107526d626f707268c71",class:"preview"},void 0!==this.preview?t("div",{class:"image-preview",style:{backgroundImage:`url(${this.preview})`}}):t("mds-icon",{class:"icon-preview",name:h(this.filename,this.suffix).icon}),t("div",{key:"9c5f32f869f21bc2f2e623917947336cda29003e",class:"download-icon"},t("mds-icon",{key:"4597b7f21df8606a7262f5e2bd49560334f4c5ef",name:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zm-1-4l-1.41-1.41L13 12.17V4h-2v8.17L8.41 9.59L7 11l5 5l5-5z"/></svg>'}))),t("div",{key:"75e5c58830dce04f123990b592c4a9a9d210f2d8",class:"info"},t("div",{key:"72c138336a4581f0aa330086fe647ba5263c40f2",class:"filename",title:this.filename},t("mds-text",{key:"5f470688d83f35dafec66b4885f7889bac01fa4d",truncate:"word",typography:"h6",class:"name"},f(this.filename)),void 0===this.suffix&&m(this.filename,this.suffix)&&t("mds-text",{key:"d0687542ac4096b65d6f246a0be67fe5a258244d",typography:"h6",class:"extension"},".",m(this.filename,this.suffix))),t("div",{key:"4798a1b39b5367fefae4d1dae05ffcf8a960e31b",class:"detail"},m(this.filename,this.suffix)&&t("mds-badge",{key:"fc485d00263b9bb68e7d7aba5cb93f2cd15533f3",variant:h(this.filename,this.suffix).variant,tone:"weak",class:"suffix"},m(this.filename,this.suffix)),t("mds-text",{key:"27f223b991e9f8adcbbc69a8636d0713457be822",truncate:"word",typography:"caption",class:"description",title:null!==(e=this.description)&&void 0!==e?e:this.t.get(this.getDefaultDescription())},null!==(a=this.description)&&void 0!==a?a:this.t.get(this.getDefaultDescription())))),this.wasDownloaded&&!this.hideDownloadedIcon&&t("div",{key:"808a132dd9e767caa52a4672b8f711809a18ad4b",class:"indicator"},t("i",{key:"eada8ef89da65b43c87c33a096d29bface90d15b",class:"downloaded",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M5 18h14v2H5v-2zm4.6-2.7L5 10.7l2-1.9l2.6 2.6L17 4l2 2l-9.4 9.3z"/></svg>',title:this.t.get("alreadyDownloaded")})))}get host(){return o(this)}static get watchers(){return{filename:[{handleFilename:0}]}}};x.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-badge,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-file-preview-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-file-preview-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-file-preview-icon-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-file-transition-duration:var(--duration-200,.2s);--private-file-transition-duration:var(--mds-file-transition-duration);--private-icon-download-offset:10%;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));background-color:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px));box-shadow:var(--shadow-outline-weak,0 0 0 1px #0000000d,0 1px 2px 0 #0000000d);color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out;corner-shape:var(--magma-corner-shape,squircle);align-items:stretch;cursor:pointer;display:inline-flex;overflow:hidden;transition-duration:var(--private-file-transition-duration);transition-property:box-shadow,outline,outline-offset;transition-timing-function:var(--ease-out);width:100%}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host(:hover){box-shadow:var(--shadow-box-md,#0000000f 0 0 0 1px,#00000008 0 1px 1px -.5px,#0000000a 0 2px 2px -1px,#0000000a 0 3px 3px -1.5px,#00000008 0 5px 5px -2.5px,#00000008 0 10px 10px -5px,#00000008 0 24px 24px -8px)}:host(:hover) .download-icon{opacity:1;transform:translateY(0)}:host(:hover) :is(.icon-preview,.image-preview){opacity:0;transform:translateY(var(--private-icon-download-offset))}.download-icon{inset:0;opacity:0;position:absolute;transform:translateY(calc(var(--private-icon-download-offset)*-1));transition-duration:inherit;transition-property:opacity,transform;transition-timing-function:inherit}.download-icon,.preview{align-items:center;display:flex;justify-content:center}.preview{background-color:var(--mds-file-preview-icon-background);color:var(--mds-file-preview-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));fill:var(--mds-file-preview-icon-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));flex-shrink:0;position:relative;transition-duration:inherit;transition-property:color,background-color,fill;transition-timing-function:var(--ease-in-out);width:calc(var(--spacing,.0025rem)*1400)}.image-preview{background-position:50%;background-repeat:no-repeat;background-size:contain;inset:calc(var(--spacing,.0025rem)*300);position:absolute}.icon-preview,.image-preview{transition-duration:inherit;transition-property:opacity,transform;transition-timing-function:inherit}.info{flex-direction:column;flex-grow:1;gap:calc(var(--spacing,.0025rem)*100);height:calc(var(--spacing,.0025rem)*1400);justify-content:center;padding:0 calc(var(--spacing,.0025rem)*300)}.filename,.info{display:flex;min-width:0}.name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.extension{flex-shrink:0}.detail{align-items:baseline;display:flex;gap:calc(var(--spacing,.0025rem)*200);min-width:0}.suffix{flex-shrink:0;pointer-events:none}.description{color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.indicator{align-items:center;display:flex;justify-content:center;padding-right:calc(var(--spacing,.0025rem)*400)}.downloaded{display:flex;fill:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}.downloaded svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}:host([format=archive]),:host([format=executable]){--mds-file-preview-icon-color:rgb(var(--label-amaranth-04,213 12 47));--mds-file-preview-color:rgb(var(--label-amaranth-04,213 12 47));--mds-file-preview-icon-background:rgb(var(--label-amaranth-10,254 232 236))}:host([format=attachment]){--mds-file-preview-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-file-preview-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-file-preview-icon-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))}:host([format=audio]),:host([format=video]){--mds-file-preview-icon-color:rgb(var(--label-violet-04,126 73 245));--mds-file-preview-color:rgb(var(--label-violet-04,126 73 245));--mds-file-preview-icon-background:rgb(var(--label-violet-10,240 234 254))}:host([format=code]),:host([format=data]),:host([format=markup]){--mds-file-preview-icon-color:rgb(var(--label-yellow-04,141 107 5));--mds-file-preview-color:rgb(var(--label-yellow-04,141 107 5));--mds-file-preview-icon-background:rgb(var(--label-yellow-10,253 236 186))}:host([format=certificate]),:host([format=document]){--mds-file-preview-icon-color:rgb(var(--label-orange-04,185 78 5));--mds-file-preview-color:rgb(var(--label-orange-04,185 78 5));--mds-file-preview-icon-background:rgb(var(--label-orange-10,254 233 219))}:host([format=email]),:host([format=text]){--mds-file-preview-icon-color:rgb(var(--label-blue-04,63 94 248));--mds-file-preview-color:rgb(var(--label-blue-04,63 94 248));--mds-file-preview-icon-background:rgb(var(--label-blue-10,233 236 254))}:host([format=image]){--mds-file-preview-icon-color:rgb(var(--label-green-04,22 128 61));--mds-file-preview-color:rgb(var(--label-green-04,22 128 61));--mds-file-preview-icon-background:rgb(var(--label-green-10,206 247 221))}:host([format=slide]){--mds-file-preview-icon-color:rgb(var(--label-orchid-04,206 21 113));--mds-file-preview-color:rgb(var(--label-orchid-04,206 21 113));--mds-file-preview-icon-background:rgb(var(--label-orchid-10,253 231 242))}:host([format=spreadsheet]){--mds-file-preview-icon-color:rgb(var(--label-lime-04,81 124 13));--mds-file-preview-color:rgb(var(--label-lime-04,81 124 13));--mds-file-preview-icon-background:rgb(var(--label-lime-10,219 247 178))}:host([format=vector]){--mds-file-preview-icon-color:rgb(var(--label-aqua-04,4 122 143));--mds-file-preview-color:rgb(var(--label-aqua-04,4 122 143));--mds-file-preview-icon-background:rgb(var(--label-aqua-10,199 245 253))}: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-file-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([pref-mode=dark]:not([pref-theme-scheme=light])):host(:hover){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([pref-contrast=more]):host(:hover){box-shadow:var(--shadow-ring-strong-4,0 0 0 4px 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-file-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))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host(:hover){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host(:hover){box-shadow:var(--shadow-ring-strong-4,0 0 0 4px rgb(var(--tone-neutral-01,5 5 5)/.6))}}";export{x as mds_file}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as a,d as t,h as r,e,g as i}from"./p-BxPbQB28.js";import{s as n}from"./p-wI0alRSO.js";import{p as s}from"./p-7-TP6wnI.js";const o=class{constructor(r){a(this,r),this.changeEvent=t(this,"mdsInputRangeChange",7),r.$hostElement$["s-ei"]?this.internals=r.$hostElement$["s-ei"]:(this.internals=r.$hostElement$.attachInternals(),r.$hostElement$["s-ei"]=this.internals),this.formDisabled=!1,this.max=100,this.min=0,this.step=1,this.onInput=()=>{this.value=Number(this.inputElement.value)},this.isDisabled=()=>!!this.disabled||this.formDisabled}allowedStep(){const a=Number(this.step);return a>0?a:1}calculateProgress(){let a=Number(this.inputElement.value);const t=this.allowedStep(),r=Math.pow(10,this.countDecimals(t));a>this.max?a=this.max:a<this.min&&(a=this.min),(a-this.min)*r%(t*r)!=0&&(a=(Math.round((a*r-this.min*r)/(t*r))*(t*r)+this.min*r)/r),this.value=a,n(this.internals,this.value.toString()),this.progress=(this.value-this.min)/(this.max-this.min)*100}countDecimals(a){return Math.floor(a)===a?0:a.toString().split(".")[1].length||0}disabledChanged(a){a&&n(this.internals,null)}valueChanged(a,t){a!==t&&(this.inputElement.value=this.value.toString(),this.calculateProgress(),this.changeEvent.emit(this.value))}minChanged(){this.calculateProgress()}maxChanged(){this.calculateProgress()}stepChanged(){this.calculateProgress()}formDisabledCallback(a){this.formDisabled=a}formResetCallback(){this.inputElement.value=void 0===this.loadValue?"":String(this.loadValue),this.onInput()}componentWillLoad(){var a;const t=Number(null!==(a=this.value)&&void 0!==a?a:NaN);this.loadValue=Number.isNaN(t)?void 0:t}componentDidLoad(){var a;this.onInput(),this.label=null!==(a=this.element.textContent)&&void 0!==a?a:"",this.calculateProgress()}render(){var a;return r(e,{key:"d223cb20d2d286382af3b1605e4d77d1a77d67c0","pref-animation":s.state.animation,"pref-contrast":s.state.contrast,"pref-mode":s.state.mode,"pref-theme-scheme":s.state["theme-scheme"]},r("header",{key:"2e618309f22f583ea4583901965a3669073ee17e",class:"header",part:"header"},r("mds-text",{key:"cf89fae0a98b66a470ab220811af5cf1b1922f59",class:"label",typography:"label"},r("slot",{key:"392a0503e0ad2af44ecb9ce184713b5245a64063"})),r("mds-text",{key:"ab5f2a7fe91bae04199b100e6bc6711ccd6c6e2a",class:"value",typography:"label"},this.formatValue?this.formatValue(this.value):this.value)),r("div",{key:"5d5681f116e152979f0d329070be816173507caf",class:"range"},r("div",{key:"f539571bbf87692d690b792ed8c638fd3f3810f7",class:"track",part:"track"},r("div",{key:"6b0eef0ba0ef24a80bf52bd04dce7d9ed2114ad4",class:"contrast-area"}),r("div",{key:"622bce4e0e3edf7de827c64a8b97bd6ea90f7e67",class:"track-total"},r("div",{key:"1a05102fb4ebd2f8fa452df45302c6983aa0234d",class:"track-progress",style:{"--mds-input-range-progress":`${null!==(a=this.progress)&&void 0!==a?a:0}`}}))),r("input",{key:"81eb2d3245ab389890b14ee0aa6aec6324450933",ref:a=>this.inputElement=a,class:"field","aria-label":this.label,disabled:this.isDisabled(),max:this.max,min:this.min,onInput:this.onInput,step:this.step,type:"range",value:this.value,name:this.name})))}static get formAssociated(){return!0}get element(){return i(this)}static get watchers(){return{disabled:[{disabledChanged:0}],value:[{valueChanged:0}],min:[{minChanged:0}],max:[{maxChanged:0}],step:[{stepChanged:0}]}}};o.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-range-transition-duration:var(--duration-300,.3s);--private-input-range-transition-duration:var(--mds-input-range-transition-duration);--mds-input-range-thumb-background-disabled:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-range-thumb-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-input-range-thumb-cursor:col-resize;--mds-input-range-thumb-size:calc(var(--spacing,.0025rem)*400);--mds-input-range-track-background-disabled:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-range-track-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-range-track-progress-background-disabled:rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)));--mds-input-range-track-progress-background:rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-input-range-track-size:calc(var(--spacing,.0025rem)*600);--private-border-width:calc(var(--mds-input-range-track-size)/2 - var(--mds-input-range-thumb-size)/2);--private-thumb-size:calc(var(--mds-input-range-thumb-size) + var(--private-border-width)*2);display:grid;gap:calc(var(--spacing,.0025rem)*200);transition-duration:var(--private-input-range-transition-duration);transition-property:color;transition-timing-function:var(--ease-in-out)}.header{display:flex;gap:calc(var(--spacing,.0025rem)*200)}.label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.value{margin-left:auto}.range{align-items:center;display:flex;height:var(--private-thumb-size);position:relative}.track{box-sizing:border-box;position:absolute;width:100%}.field{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));appearance:none;background-color:#0000;border-radius:var(--radius-full,1000px);flex-grow:1;height:calc(var(--spacing,.0025rem)*400);margin:0;outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out;z-index:20}.field:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.field::-webkit-slider-thumb{appearance:none;background-color:var(--mds-input-range-thumb-background);border-color:var(--mds-input-range-track-progress-background);border-radius:var(--mds-input-range-thumb-size);border-style:solid;border-width:var(--private-border-width);cursor:var(--mds-input-range-thumb-cursor);height:var(--private-thumb-size);line-height:0;transform:translateY(-50%);transition-property:background-color,border;width:var(--private-thumb-size)}.field::-webkit-slider-runnable-track{appearance:none;border:0;height:0;width:100%}.track-progress{background-color:var(--mds-input-range-track-progress-background);width:calc((100% - var(--mds-input-range-track-size))*(var(--mds-input-range-progress,0)*0.01) + var(--mds-input-range-track-size)/2)}.track-progress,.track-total{display:flex;height:var(--mds-input-range-track-size);transition-duration:var(--private-input-range-transition-duration);transition-property:background-color}.track-total{background-color:var(--mds-input-range-track-background);overflow:hidden;transition-timing-function:var(--ease-in-out);width:100%}.contrast-area,.track-total{border-radius:var(--mds-input-range-track-size)}.contrast-area{margin-left:calc(var(--spacing,.0025rem)*100);margin-right:calc(var(--spacing,.0025rem)*100)}:host(:disabled:not([disabled=false])),:host([disabled]:not([disabled=false])){--mds-input-range-thumb-background:var(--mds-input-range-thumb-background-disabled);--mds-input-range-track-background:var(--mds-input-range-track-background-disabled);--mds-input-range-track-progress-background:var(--mds-input-range-track-progress-background-disabled)}:host([disabled]:not([disabled=false])) .field::-webkit-slider-thumb{cursor:not-allowed}:host(:disabled:not([disabled=false])) .field::-webkit-slider-thumb{cursor:not-allowed}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-input-range-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-input-range-thumb-background:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-range-track-progress-background:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)))}:host([pref-contrast=more]){color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-input-range-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-input-range-thumb-background:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-range-track-progress-background:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}";export{o as mds_input_range}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,r,i,t){function a(e){return e instanceof i?e:new i((function(r){r(e)}))}return new(i||(i=Promise))((function(i,n){function d(e){try{s(t.next(e))}catch(e){n(e)}}function o(e){try{s(t["throw"](e))}catch(e){n(e)}}function s(e){e.done?i(e.value):a(e.value).then(d,o)}s((t=t.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var i={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},t,a,n,d=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return d.next=o(0),d["throw"]=o(1),d["return"]=o(2),typeof Symbol==="function"&&(d[Symbol.iterator]=function(){return this}),d;function o(e){return function(r){return s([e,r])}}function s(o){if(t)throw new TypeError("Generator is already executing.");while(d&&(d=0,o[0]&&(i=0)),i)try{if(t=1,a&&(n=o[0]&2?a["return"]:o[0]?a["throw"]||((n=a["return"])&&n.call(a),0):a.next)&&!(n=n.call(a,o[1])).done)return n;if(a=0,n)o=[o[0]&2,n.value];switch(o[0]){case 0:case 1:n=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;a=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(n=i.trys,n=n.length>0&&n[n.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!n||o[1]>n[0]&&o[1]<n[3])){i.label=o[1];break}if(o[0]===6&&i.label<n[1]){i.label=n[1];n=o;break}if(n&&i.label<n[2]){i.label=n[2];i.ops.push(o);break}if(n[2])i.ops.pop();i.trys.pop();continue}o=r.call(e,i)}catch(e){o=[6,e];a=0}finally{t=n=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-DaONbL_w.system.js","./p-RJ5ZA1kY.system.js","./p-hVpoPUxI.system.js"],(function(e){"use strict";var r,i,t,a,n,d,o;return{setters:[function(e){r=e.r;i=e.d;t=e.h;a=e.e;n=e.g},function(e){d=e.a},function(e){o=e.p}],execute:function(){var s=function(){return'@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-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-header-hidden-bar-translate-inline:translateY(-150%);--mds-header-hidden-bar-translate-stripe:translateY(-110%);--mds-header-icon-color:var(--mds-header-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-header-modal-icon-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-header-backdrop-blur-strength:2px;--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(0deg,#0000,#00000026);--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,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(--radius-lg,16px);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,10px));backdrop-filter:blur(var(--mds-header-backdrop-blur-strength,10px));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:.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)))}}'};var c=e("mds_header",/** @class */function(){function e(e){var t=this;r(this,e);this.closedEvent=i(this,"mdsHeaderClose",7);this.visibleEvent=i(this,"mdsHeaderVisibilityChange",7);this.relativeTresholdDown=0;this.relativePosition=0;this.relativeThresholdUp=0;this.sanitizedAppearance=["stripe"];this.appearanceThreshold=300;
|
|
2
|
-
/**
|
|
3
|
-
* Sets the appearance of the header bar element when loaded,
|
|
4
|
-
* it can be changed depending on how `appearance-set` attribute is set
|
|
5
|
-
*/this.appearance="stripe";
|
|
6
|
-
/**
|
|
7
|
-
* Hides the backdrop shown when the mds-header-bar attribute appearace is set to `inline`
|
|
8
|
-
*/this.hideBackdrop=false;
|
|
9
|
-
/**
|
|
10
|
-
* Sets the visibility type of the hamburger menu of mds-header-bar
|
|
11
|
-
*/this.menu="mobile";
|
|
12
|
-
/**
|
|
13
|
-
* Sets the visibility type of the navigation menu of mds-header-bar
|
|
14
|
-
*/this.nav="desktop";
|
|
15
|
-
/**
|
|
16
|
-
* Sets the threshold margin to trigger hide or show status of the `mds-header-bar` when the page is scrolled
|
|
17
|
-
*/this.threshold=1;
|
|
18
|
-
/**
|
|
19
|
-
* Sets the visibility type of the navigation menu of mds-header-bar
|
|
20
|
-
*/this.visibility="visible";this.mobileMenu=function(){return d(t.host,"menu")};this.close=function(){t.isOpened=false;t.closedEvent.emit({bar:t.headerBar});t.headerBar.setOpened(false)};
|
|
21
|
-
// a removed attribute leaves null, which turns the auto hide off like 0
|
|
22
|
-
this.getAutoHide=function(){var e;var r=(e=t.autoHide)!==null&&e!==void 0?e:0;return Number.isNaN(r)?0:r};this.handleVisibility=function(){var e=t.getAutoHide();if(e===0){return}
|
|
23
|
-
// reset var if the page is scrolled to top
|
|
24
|
-
if(window.scrollY<e){t.visibility="visible";t.relativeThresholdUp=0;t.relativeTresholdDown=0;t.relativePosition=0;return}if(t.relativeTresholdDown-window.scrollY<=0){t.visibility="hidden";t.relativePosition=t.relativeTresholdDown}if(t.relativeThresholdUp-window.scrollY>=t.threshold){t.visibility="visible";t.relativeThresholdUp=window.scrollY;t.relativePosition=t.relativeThresholdUp}
|
|
25
|
-
// set hidden for the first scroll from top
|
|
26
|
-
if(t.relativePosition<e&&e-window.scrollY<=0){t.visibility="hidden";t.relativePosition=e}
|
|
27
|
-
// update respective threshold if page is scrolled up or down
|
|
28
|
-
if(window.scrollY>t.relativeThresholdUp){t.relativeThresholdUp=window.scrollY}else{t.relativeTresholdDown=window.scrollY+t.threshold}};this.sanitizeAppearance=function(){var e;var r=(e=t.appearanceSet)!==null&&e!==void 0?e:"";if(r===""){return[t.appearance]}var i=/\b(\w+)\b/g;var a=r.match(i);if(a){return a}return[t.appearance]};this.handleAppearance=function(){var e,r;if(window.scrollY>=t.appearanceThreshold){t.appearance=(e=t.sanitizedAppearance[1])!==null&&e!==void 0?e:t.appearance;return}t.appearance=(r=t.sanitizedAppearance[0])!==null&&r!==void 0?r:t.appearance};this.handleScroll=function(){if(typeof window==="undefined")return;if(t.getAutoHide()!==0){t.handleVisibility()}if(t.sanitizedAppearance.length>1){t.handleAppearance()}};this.setAppearanceSetData=function(){t.sanitizedAppearance=t.sanitizeAppearance();if(t.sanitizedAppearance[2]!==undefined&&t.sanitizedAppearance[2]!==0&&!Number.isNaN(t.sanitizedAppearance[2])){t.appearanceThreshold=t.sanitizedAppearance[2]}t.relativeTresholdDown=t.threshold};this.initScrollListener=function(){if(typeof window==="undefined"){return}t.setAppearanceSetData();window.addEventListener("scroll",t.handleScroll)};this.defineHeaderBar=function(){t.headerBar=t.host.querySelector("mds-header-bar")}}
|
|
29
|
-
/**
|
|
30
|
-
* Opens or closes the header.
|
|
31
|
-
* @param isOpened whether the header should be opened
|
|
32
|
-
*/e.prototype.setOpened=function(){return __awaiter(this,arguments,void 0,(function(e){if(e===void 0){e=true}return __generator(this,(function(r){this.isOpened=e;return[2/*return*/]}))}))};e.prototype.disconnectedCallback=function(){if(typeof window==="undefined"){return}window.removeEventListener("scroll",this.handleScroll)};e.prototype.componentWillLoad=function(){this.hasMenu=this.mobileMenu()!==null;if(this.hasMenu){this.onMenuChangedHandler(this.menu);return}this.onMenuChangedHandler("none")};e.prototype.componentDidLoad=function(){this.defineHeaderBar();this.onMenuChangedHandler(this.menu);this.onNavChangedHandler(this.nav);this.initScrollListener()};e.prototype.onMenuChangedHandler=function(e,r){if(e===r){return}if(this.headerBar!=null){this.headerBar.menu=e}};e.prototype.onNavChangedHandler=function(e,r){if(e===r){return}if(this.headerBar!=null){this.headerBar.nav=e}};e.prototype.onAppearanceSetChangedHandler=function(){this.setAppearanceSetData()};e.prototype.handleVisibilityChange=function(e,r){if(e!==r){this.visibleEvent.emit({visibility:e})}};e.prototype.render=function(){return t(a,{key:"f672f81878e181d21c234188d2ad02ded1bdb039","pref-consumption":o.state.consumption,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},!this.hideBackdrop&&t("div",{key:"6bf87ed021bcdb62c728fbee3818a8ad11895b06",class:"backdrop"},t("div",{key:"6a3ad84c2e41313c14531b514b2752f972986ec4",class:"backdrop-blur-item"}),t("div",{key:"b8031f912733bcc01f47ae28e756ae9f9f184bf1",class:"backdrop-blur-item"}),t("div",{key:"b9fddc9c2c459bc1b16ef7cc4fe0dd62c6ae0357",class:"backdrop-blur-item"}),t("div",{key:"fb97781789e0773d35b31744a3f28bd23816e9eb",class:"backdrop-blur-item"}),t("div",{key:"1d464ccd4d846ac79d1b0ea303ab66f41af84116",class:"backdrop-blur-item"}),t("div",{key:"7ab61f7f2f21da6ad94408442237b8e2a16d32c1",class:"backdrop-blur-item"}),t("div",{key:"90fb7f3244c8047c6a576288dad756451de07cdf",class:"backdrop-blur-item"}),t("div",{key:"955ff4ac62f6a5e50726fcf5d097202622e760d2",class:"backdrop-blur-item"}),t("div",{key:"49e995993b74ce17e06c3a05004e7411442dd694",class:"backdrop-blur-item"}),t("div",{key:"d0c693752ed5b8eee3f0c6925e158168b4e06822",class:"backdrop-blur-item"})),t("slot",{key:"564de9025f4cdc11edb1dadf27c0c3e03be5d06d"}),this.hasMenu&&t("div",{key:"c6cd25b6e417675a67662bbe4e2a8f0c89e1fd74",class:"menu",part:"menu"},t("mds-modal",{key:"cb330659a98adcf88e8af18097450edb71cb1423",class:"modal",opened:this.isOpened,onMdsModalClose:this.close,position:"right"},t("slot",{key:"d4f1dbcaee3303ad4c2130d7f7d64be3486bdc19",name:"menu"}))))};Object.defineProperty(e.prototype,"host",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{menu:[{onMenuChangedHandler:0}],nav:[{onNavChangedHandler:0}],appearanceSet:[{onAppearanceSetChangedHandler:0}],visibility:[{handleVisibilityChange:0}]}},enumerable:false,configurable:true});return e}());c.style=s()}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,d as r,h as e,e as i,g as a}from"./p-BxPbQB28.js";import{p as s}from"./p-7-TP6wnI.js";import{m as o}from"./p-DiWN48aq.js";import{s as n}from"./p-wI0alRSO.js";import{u as c}from"./p-8yWTOQiz.js";import"./p-Kv1yahtR.js";const l=class{constructor(e){t(this,e),this.changeEvent=r(this,"mdsInputSelectChange",7),e.$hostElement$["s-ei"]?this.internals=e.$hostElement$["s-ei"]:(this.internals=e.$hostElement$.attachInternals(),e.$hostElement$["s-ei"]=this.internals),this.adoptingSelection=!1,this.hasFocus=!1,this.formDisabled=!1,this.disabled=!1,this.required=!1,this.multiple=!1,this.rows=0,this.size="lg",this.value="",this.isDisabled=()=>!!this.disabled||this.formDisabled,this.onInput=()=>{this.adoptSelection(),this.syncSelection()},this.onBlur=()=>{this.hasFocus=!1},this.onFocus=()=>{this.hasFocus=!0},this.hasPlaceholder=()=>{var t;return""!==(null!==(t=this.placeholder)&&void 0!==t?t:"")},this.placeholderOption=()=>{var t,r;return null!==(r=null===(t=this.selectEl)||void 0===t?void 0:t.querySelector(".placeholder-option"))&&void 0!==r?r:null},this.emptyOptions=()=>{var t;const r=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector("select"),e=null==r?void 0:r.querySelectorAll("option");e&&e.forEach(((t,r)=>{this.hasPlaceholder()||t.remove(),this.hasPlaceholder()&&r>0&&t.remove()}))},this.onSlotChangeHandler=()=>{var t,r,e;const i=null===(r=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelectorAll("slot")[0])||void 0===r?void 0:r.assignedNodes(),a=null===(e=this.selectEl)||void 0===e?void 0:e.querySelectorAll("option");null!=a&&(!this.hasPlaceholder()&&a.length>0&&this.emptyOptions(),this.hasPlaceholder()&&a.length>1&&this.emptyOptions(),null==i||i.forEach((t=>{var r;null===(r=this.selectEl)||void 0===r||r.appendChild(t.cloneNode(!0))})),this.applySelection(!0),this.syncSelection())}}async setValue(t){return this.value=t,Promise.resolve()}valueChanged(){this.adoptingSelection||(this.applySelection(!1),this.syncSelection())}requiredChanged(){this.updateFormValidity()}nameChanged(){this.updateFormValue(this.selectedValues())}selectedValues(){var t;return null==this.selectEl?""===(null!==(t=this.value)&&void 0!==t?t:"")?[]:[this.value.toString()]:Array.from(this.selectEl.selectedOptions).filter((t=>!t.classList.contains("placeholder-option"))).map((t=>t.value))}syncSelection(){var t;const r=this.selectedValues();this.updateFormValue(r),this.updateFormValidity();const e=null===(t=this.value)||void 0===t?void 0:t.toString(),i=JSON.stringify([e,r]);i!==this.emittedSelection&&(this.emittedSelection=i,this.changeEvent.emit({value:e,values:r}))}updateFormValue(t){var r,e,i;if(!this.multiple)return void n(this.internals,null!==(e=null===(r=this.value)||void 0===r?void 0:r.toString())&&void 0!==e?e:null);const a=null!==(i=this.name)&&void 0!==i?i:"";if(""===a||0===t.length)return void n(this.internals,null);const s=new FormData;t.forEach((t=>s.append(a,t))),n(this.internals,s)}updateFormValidity(){var t;const r=this.required&&""===(null!==(t=this.value)&&void 0!==t?t:"");c(this.internals,r?{rule:"requiredSelect"}:void 0,this.selectEl)}disabledChanged(t){t&&n(this.internals,null)}placeholderChanged(t,r){if(null!=this.selectEl&&null!=t&&""!==t&&""===(null!=r?r:"")){let r=this.placeholderOption();r&&r.remove(),r=document.createElement("option"),r.className="placeholder-option",this.selectEl.insertBefore(r,this.selectEl.firstChild),r.value="",r.text=t,(null==this.defaultValue||""===this.defaultValue||0===this.defaultValue||Number.isNaN(this.defaultValue))&&(r.selected=!0,this.value=void 0),this.required&&(r.disabled=!0)}}formDisabledCallback(t){this.formDisabled=t}formResetCallback(){if(null==this.selectEl)return;const t=Array.from(this.selectEl.querySelectorAll("option"));t.forEach((t=>{t.selected=t.defaultSelected}));const r=this.placeholderOption();r&&this.hasPlaceholder()&&!t.some((t=>t.defaultSelected))&&(r.selected=!0),this.adoptingSelection=!0,this.value=this.loadValue,this.adoptingSelection=!1,this.applySelection(!0),this.syncSelection()}legacyRows(){const t=this.size;return"number"==typeof t?t:"string"==typeof t&&/^\d+$/.test(t)?Number(t):void 0}sizeChanged(){void 0!==this.legacyRows()&&console.warn("<mds-input-select>: a number in `size` is deprecated: use `rows` for the visible option rows. `size` sets the height of the field (sm, md, lg).")}componentWillLoad(){this.sizeChanged(),null==this.defaultValue||""===this.defaultValue||0===this.defaultValue||Number.isNaN(this.defaultValue)||(this.value=this.defaultValue),this.loadValue=this.value}componentDidRender(){this.updateFormValidity()}componentDidLoad(){this.multiple||null==this.value||""===this.value||0===this.value||Number.isNaN(this.value)||n(this.internals,this.value.toString())}adoptSelection(){null!=this.selectEl&&(this.adoptingSelection=!0,this.value=this.selectEl.value,this.adoptingSelection=!1)}applySelection(t){if(null==this.selectEl)return;if(null!=this.value&&""!==this.value&&0!==this.value&&!Number.isNaN(this.value))return void this.selectEl.querySelectorAll("option").forEach((t=>{t.selected=t.value===this.value}));if(t)return void this.adoptSelection();this.selectEl.querySelectorAll("option").forEach((t=>{t.selected=!1}));const r=this.placeholderOption();r&&this.hasPlaceholder()&&(r.selected=!0),this.adoptSelection()}render(){var t;return e(i,{key:"2147f4a3c6f82f38768fa01809c68f6d0ca884a5","pref-animation":s.state.animation,"pref-contrast":s.state.contrast,"pref-mode":s.state.mode,"pref-theme-scheme":s.state["theme-scheme"]},e("select",{key:"a87eee75fb77c0e06b8565043a76266e358d899d","aria-label":this.accessibleName,class:"input",onInput:this.onInput,onBlur:this.onBlur,onFocus:this.onFocus,name:this.name,required:this.required,disabled:this.isDisabled(),multiple:this.multiple,size:this.rows||this.legacyRows()||0,part:"select",ref:t=>this.selectEl=t},e("option",{key:"b2eba36be682a9d4ece4e9c8ff433d2e2800cc1b",class:"placeholder-option",value:"",disabled:!!this.required||void 0,selected:!(null!=this.defaultValue&&""!==this.defaultValue&&0!==this.defaultValue&&!Number.isNaN(this.defaultValue))||void 0},this.placeholder)),e("div",{key:"1c27c64690a663cd69e31feab8fcb637337eb745",class:"icon-container"},e("mds-icon",{key:"356e612ede04a2f9680b7f4fc7d24d7aec2547a0",class:"icon",name:o})),e("div",{key:"691447852895c217ce0de926d74512d82f3b6e04",class:"option-container"},e("slot",{key:"48401803afaa996d2b65057dba6fbadbe34d3f6c",onSlotchange:this.onSlotChangeHandler})),e("mds-input-tip",{key:"1e7f76427ddfc80084c62568468607f8b49cba87",position:"top",active:this.hasFocus,part:"tip-top"},this.isDisabled()&&e("mds-input-tip-item",{key:"9a310c278b9308ef955356e75dc357cd8a4fd3a5",expanded:!0,variant:"disabled"}),this.required&&e("mds-input-tip-item",{key:"d22d1f57bccd35aefd1be4cec6f9699fe9c29279",expanded:this.hasFocus,variant:""===(null!==(t=this.value)&&void 0!==t?t:"")?"required":"required-success"})))}static get formAssociated(){return!0}get host(){return a(this)}static get watchers(){return{value:[{valueChanged:0}],required:[{requiredChanged:0}],name:[{nameChanged:0}],disabled:[{disabledChanged:0}],placeholder:[{placeholderChanged:0}],size:[{sizeChanged:0}]}}};l.style='@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-input-tip,mds-input-tip-item):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-input-select-variant-color-rgb:var(--magma-text-default,var(--text-neutral-default,5 5 5));--mds-input-select-ring:0 0 0 1px rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.1);--mds-input-select-shadow:0 1px 3px 0 rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.1),0 1px 2px 0 rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.06);--mds-input-select-arrow-icon-background-color:var(--mds-input-select-arrow-icon-blur-background-color,#0000);--mds-input-select-arrow-icon-blur-background-color:rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/0);--mds-input-select-arrow-icon-blur-color:rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.5);--mds-input-select-arrow-icon-color:var(--mds-input-select-arrow-icon-blur-color,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-input-select-arrow-icon-hover-background-color:rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.5);--mds-input-select-arrow-icon-hover-color:rgb(var(--mds-input-select-variant-color-rgb,0 0 0));--mds-input-tip-horizontal-offset:calc(var(--spacing,.0025rem)*100);--mds-input-tip-horizontal-offset-focused:calc(var(--spacing,.0025rem)*1000);--mds-input-tip-vertical-offset:calc(var(--spacing,.0025rem)*100);--mds-input-tip-background:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-input-select-transition-duration:var(--duration-300,.3s);--mds-input-select-icon-transition-duration:var(--duration-200,.2s);--private-input-select-transition-duration:var(--mds-input-select-transition-duration);--private-input-select-icon-transition-duration:var(--mds-input-select-icon-transition-duration);--private-input-select-height:calc(var(--spacing,.0025rem)*1200);--private-input-select-padding-inline:calc(var(--spacing,.0025rem)*400);--private-input-select-arrow-area:calc(var(--spacing,.0025rem)*1200);font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-detail,1rem);font-weight:var(--tw-font-weight,var(--text-size-info-detail--font-weight,400));line-height:var(--tw-leading,var(--text-size-info-detail--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));display:flex;position:relative;-webkit-user-select:none;user-select:none;--mds-input-select-variant-color-rgb:0 0 0;--mds-input-select-arrow-icon-blur-background-color:#0000;--mds-input-select-arrow-icon-hover-background-color:#0000;--mds-input-select-arrow-icon-blur-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-select-arrow-icon-hover-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)))}:host([required]:not([required=false]):focus-within) .icon{transform:translate(calc(var(--spacing,.0025rem)*150),calc(var(--spacing,.0025rem)*150))}:host(:focus-within),:host(:hover){--mds-input-select-variant-color-rgb:var(--magma-accent-fg,var(--variant-primary-03,7 76 204));--mds-input-select-shadow:0 4px 6px -1px rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.1),0 2px 4px -1px rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.06);--mds-input-select-arrow-icon-background-color:var(--mds-input-select-arrow-icon-hover-background-color,#0000);--mds-input-select-arrow-icon-color:var(--mds-input-select-arrow-icon-hover-color,rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204))));--mds-input-select-variant-color-rgb:var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))}:host(:focus-within) .input,:host(:hover) .input{--mds-input-select-ring:0 0 0 3px rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/1)}.input{font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-detail,1rem);font-weight:var(--tw-font-weight,var(--text-size-info-detail--font-weight,400));line-height:var(--tw-leading,var(--text-size-info-detail--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;appearance:none;background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));border:0;border-radius:var(--radius-xs,8px);box-shadow:var(--mds-input-select-ring),var(--mds-input-select-shadow);box-sizing:border-box;color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));cursor:pointer;margin:0;min-height:var(--private-input-select-height);overflow:hidden;padding-left:var(--private-input-select-padding-inline);padding-right:var(--private-input-select-arrow-area);text-overflow:ellipsis;transition-property:background-color,border-color,box-shadow,color,fill;width:100%}.input,.input:focus,.input:hover{transition-duration:var(--private-input-select-transition-duration);transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.input:focus,.input:hover{--tw-outline-style:none;color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));outline-style:none}:host([value]:not([value=""])) .input{color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}:host([required]:not([required=false])) .input{color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)))}.input:disabled{background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));opacity:1}:host([disabled]:not([disabled=false])),:host([disabled]:not([disabled=false])) .input{pointer-events:none}:host([disabled]:not([disabled=false])) .icon{fill:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));transform:translate(calc(var(--spacing,.0025rem)*250),calc(var(--spacing,.0025rem)*200))}.icon-container{align-items:center;color:inherit;display:flex;height:var(--private-input-select-height);pointer-events:none;position:absolute;right:var(--private-input-select-padding-inline)}.icon{background-color:var(--mds-input-select-arrow-icon-background-color,#0000);border-radius:var(--radius-full,1000px);display:flex;fill:var(--mds-input-select-arrow-icon-color,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));transition-duration:var(--private-input-select-icon-transition-duration);transition-property:background-color,fill}.icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}.option-container{display:none}mds-input-tip{--mds-input-tip-horizontal-offset:inherit;--mds-input-tip-horizontal-offset-focused:inherit;--mds-input-tip-vertical-offset:inherit;--mds-input-tip-background:inherit}@container (max-width:210px){:host .tip__content,:host(:focus-within) .tip__content{grid-template-columns:0fr;opacity:0}:host .tip{padding-left:0;padding-right:0}}:host([size=md]){--mds-input-tip-horizontal-offset-focused:calc(var(--spacing,.0025rem)*800);--private-input-select-height:calc(var(--spacing,.0025rem)*900);--private-input-select-padding-inline:calc(var(--spacing,.0025rem)*300);--private-input-select-arrow-area:calc(var(--spacing,.0025rem)*1000)}:host([size=sm]){--mds-input-tip-horizontal-offset-focused:calc(var(--spacing,.0025rem)*600);--private-input-select-height:calc(var(--spacing,.0025rem)*700);--private-input-select-padding-inline:calc(var(--spacing,.0025rem)*200);--private-input-select-arrow-area:calc(var(--spacing,.0025rem)*800)}:host([size=sm]) .icon{height:calc(var(--spacing,.0025rem)*400);width:calc(var(--spacing,.0025rem)*400)}:host([variant=info]){--mds-input-tip-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-select-arrow-icon-blur-background-color:#0000;--mds-input-select-arrow-icon-hover-background-color:#0000;--mds-input-select-arrow-icon-blur-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-select-arrow-icon-hover-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-select-variant-color-rgb:0 0 0}:host([variant=info]:focus-within),:host([variant=info]:hover){--mds-input-select-variant-color-rgb:var(--magma-info-emphasis,var(--status-info-04,0 119 164))}:host([variant=success]){--mds-input-tip-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-select-arrow-icon-blur-background-color:#0000;--mds-input-select-arrow-icon-hover-background-color:#0000;--mds-input-select-arrow-icon-blur-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-select-arrow-icon-hover-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-select-variant-color-rgb:0 0 0}:host([variant=success]:focus-within),:host([variant=success]:hover){--mds-input-select-variant-color-rgb:var(--magma-success-emphasis,var(--status-success-04,0 128 57))}:host([variant=warning]){--mds-input-tip-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-select-arrow-icon-blur-background-color:#0000;--mds-input-select-arrow-icon-hover-background-color:#0000;--mds-input-select-arrow-icon-blur-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-select-arrow-icon-hover-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-select-variant-color-rgb:0 0 0}:host([variant=warning]:focus-within),:host([variant=warning]:hover){--mds-input-select-variant-color-rgb:var(--magma-warning-emphasis,var(--status-warning-04,142 106 0))}:host([variant=error]){--mds-input-tip-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-select-arrow-icon-blur-background-color:#0000;--mds-input-select-arrow-icon-hover-background-color:#0000;--mds-input-select-arrow-icon-blur-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-select-arrow-icon-hover-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-select-variant-color-rgb:0 0 0}:host([variant=error]:focus-within),:host([variant=error]:hover){--mds-input-select-variant-color-rgb:var(--magma-danger-emphasis,var(--status-error-04,196 64 65))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-input-select-transition-duration:0s;--private-input-select-icon-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-input-select-ring:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .input{color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}:host([pref-contrast=more]){--mds-input-select-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}:host([pref-contrast=more]) .input{color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([pref-contrast=more][pref-mode=dark]){--mds-input-select-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}@media (forced-colors:active){.input:focus,.input:hover{outline:2px solid #0000;outline-offset:2px}}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-input-select-transition-duration:0s;--private-input-select-icon-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-input-select-ring:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))) .input{color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}:host([pref-contrast=more]:not([pref-mode])),:host([pref-contrast=more][pref-mode=system]){--mds-input-select-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-input-select-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .input{color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([pref-contrast=system][pref-mode=dark]),:host([pref-mode=dark]:not([pref-contrast])){--mds-input-select-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}}@media (prefers-contrast:more) and (prefers-color-scheme:dark){:host(:not([pref-contrast]):not([pref-mode])),:host([pref-contrast=system]:not([pref-mode])),:host([pref-contrast=system][pref-mode=system]),:host([pref-mode=system]:not([pref-contrast])){--mds-input-select-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}}';export{l as mds_input_select}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as a,d as r,h as t,e as o}from"./p-BxPbQB28.js";import{m as s}from"./p-DiWN48aq.js";import{r as n}from"./p-wI0alRSO.js";import{L as i}from"./p-Kv1yahtR.js";import"./p-7-TP6wnI.js";var e={moreActions:"Περισσότερες ενέργειες"},d={moreActions:"More actions"},c={moreActions:"Más acciones"},h={moreActions:"Altre azioni"};const m=class{constructor(t){a(this,t),this.clickEvent=r(this,"mdsButtonDropdownClick",7),t.$hostElement$["s-ei"]?this.internals=t.$hostElement$["s-ei"]:(this.internals=t.$hostElement$.attachInternals(),t.$hostElement$["s-ei"]=this.internals),this.t=new i({el:e,en:d,es:c,it:h}),this.formDisabled=!1,this.type="button",this.variant="primary",this.tone="strong",this.size="md",this.target="self",this.truncate="word",this.isDisabled=()=>!!this.disabled||this.formDisabled,this.primaryActionClick=()=>{var a;if(this.isDisabled()||this.await)return;this.clickEvent.emit();const{form:r}=this.internals;r&&""===(null!==(a=this.href)&&void 0!==a?a:"")&&("submit"===this.type?n(r,this.name,this.value):"reset"===this.type&&r.reset())}}formDisabledCallback(a){this.formDisabled=a}render(){return t(o,{key:"511255f3e3aa97a2efdd99f5e5f6d4eff45c15a7"},t("mds-button",{key:"982dc85db162e3d8361d3a66dc8eae65a897a384",active:this.active,autoFocus:this.autoFocus,class:"dropdown-primary-action",await:this.await,disabled:this.isDisabled(),href:this.href,icon:this.icon,onClick:this.primaryActionClick,size:this.size,target:this.target,tone:this.tone,variant:this.variant,label:this.label}),t("mds-button",{key:"c81a5e58bffa530bc57bce810b6e5848cc6006b2",active:this.active,"aria-label":this.t.get("moreActions"),autoFocus:this.autoFocus,await:this.await,class:"dropdown-action",disabled:this.isDisabled(),href:this.href,icon:s,size:this.size,target:this.target,tone:this.tone,variant:this.variant}),t("mds-dropdown",{key:"292179b73a47fb668973a190c9910a3f0eb58d00",target:".dropdown-action",part:"dropdown"},t("slot",{key:"e64c6466aa10aed8e7c5e866702a6e0947bcdbd6"})))}static get formAssociated(){return!0}};m.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-dropdown):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-button-dropdown-radius:var(--radius-2xl,24px);--mds-button-dropdown-window-radius:var(--radius-2xl,24px);border-radius:var(--mds-button-dropdown-radius,var(--radius-2xl,24px));display:inline-flex;place-self:flex-start;transition-duration:var(--duration-200,.2s);transition-property:background-color,box-shadow;transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94))}mds-dropdown{border-radius:var(--mds-button-dropdown-window-radius,var(--radius-2xl,24px));gap:calc(var(--spacing,.0025rem)*50);padding:calc(var(--spacing,.0025rem)*200)}mds-button{--mds-button-radius:var(--mds-button-dropdown-radius,var(--radius-2xl,24px));--mds-button-border-tone-strong-hover-width:0;--mds-button-border-tone-outline-hover-width:0;--mds-button-border-tone-weak-hover-width:0;--mds-button-border-high-contrast-width:0}.dropdown-primary-action{border-bottom-right-radius:0;border-top-right-radius:0}.dropdown-action{border-bottom-left-radius:0;border-top-left-radius:0}::slotted(mds-button){justify-content:flex-start}:host([size=sm]){--mds-button-dropdown-radius:var(--radius-md,12px)}:host([variant=error][tone=strong]){background-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}:host([variant=error][tone=weak]){background-color:rgb(var(--magma-danger-wash-strong,var(--status-error-08,254 198 194)))}:host([variant=success][tone=strong]){background-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:host([variant=success][tone=weak]){background-color:rgb(var(--magma-success-wash-strong,var(--status-success-08,165 225 186)))}:host([variant=warning][tone=strong]){background-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)))}:host([variant=warning][tone=weak]){background-color:rgb(var(--magma-warning-wash-strong,var(--status-warning-08,255 205 57)))}:host([variant=info][tone=strong]){background-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)))}:host([variant=info][tone=weak]){background-color:rgb(var(--magma-info-wash-strong,var(--status-info-08,168 219 242)))}:host([variant=ai][tone=strong]){background-color:rgb(var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245)))}:host([variant=ai][tone=weak]){background-color:rgb(var(--magma-accent-ai-surface-hover,var(--variant-ai-08,219 205 252)))}:host([variant=primary][tone=strong]){background-color:rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)))}:host([variant=primary][tone=weak]){background-color:rgb(var(--magma-accent-surface-hover,var(--variant-primary-08,204 212 226)))}:host([variant=secondary][tone=strong]){background-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)))}:host([variant=secondary][tone=weak]){background-color:rgb(var(--magma-accent-surface-hover,var(--variant-primary-08,204 212 226)))}:host([variant=dark][tone=strong]){background-color:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)))}:host([variant=dark][tone=weak]){background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:host([variant=light][tone=strong]){background-color:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([variant=light][tone=weak]){background-color:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));box-shadow:var(--shadow-ring-weak-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.15))}";export{m as mds_button_dropdown}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,d as e,h as r,e as a,g as s}from"./p-BxPbQB28.js";import{p as o}from"./p-7-TP6wnI.js";const d=class{constructor(r){t(this,r),this.changedEvent=e(this,"mdsAccordionChange",7),this.multiple=!1,this.disableClose=!1,this.queryItems=()=>this.element.querySelectorAll("mds-accordion-item"),this.selectMultipleItems=()=>{const t=this.queryItems(),e=[];t.forEach(((t,r)=>{t.selected&&e.push(r)})),this.changedEvent.emit({children:t,selected:e.toString()})},this.changedChildrenHandler=t=>{const e=this.queryItems();if(this.multiple){if(this.disableClose&&!t.detail.selected&&!Array.from(e).some((e=>e.id!==t.detail.id&&e.selected))){const r=Array.from(e).find((e=>e.id===t.detail.id));r&&(r.selected=!0)}this.selectMultipleItems()}else e.forEach(((r,a)=>{r.selected=`item-${a}`===t.detail.id&&(t.detail.selected||this.disableClose),r.selected&&this.changedEvent.emit({children:e,selected:a.toString()})}))}}componentWillLoad(){this.queryItems().forEach(((t,e)=>t.id=`item-${e}`))}selectedEventHandler(t){this.changedChildrenHandler(t)}unselectedEventHandler(t){this.changedChildrenHandler(t)}render(){return r(a,{key:"0b0479fbc00c3c8c6114cb63f9dbdca72fe82b04","pref-contrast":o.state.contrast,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},r("slot",{key:"535ab500b25c6fa820b6f2c351866c13b8248d04"}))}get element(){return s(this)}};d.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-accordion-border-color:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-accordion-border-width:2px;--mds-accordion-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-accordion-description-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-accordion-duration:.3s;--mds-accordion-padding-selected:calc(var(--spacing,.0025rem)*400) 0 calc(var(--spacing,.0025rem)*800) 0;--mds-accordion-padding-unselected:calc(var(--spacing,.0025rem)*400) 0;display:grid}:host([pref-contrast=more]){--mds-accordion-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-accordion-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}";export{d as mds_accordion}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as i,e as s,g as e}from"./p-BxPbQB28.js";import{s as n}from"./p-wI0alRSO.js";import{L as h}from"./p-Kv1yahtR.js";import"./p-7-TP6wnI.js";var l={digit:"Ψηφίο {{position}} από {{length}}"},r={digit:"Digit {{position}} of {{length}}"},a={digit:"Dígito {{position}} de {{length}}"},o={digit:"Cifra {{position}} di {{length}}"};const u=class{constructor(i){t(this,i),i.$hostElement$["s-ei"]?this.internals=i.$hostElement$["s-ei"]:(this.internals=i.$hostElement$.attachInternals(),i.$hostElement$["s-ei"]=this.internals),this.loadValue="",this.digits=[],this.formDisabled=!1,this.t=new h({el:l,en:r,es:a,it:o}),this.length=6,this.autosubmit=!1,this.disabled=!1,this.value="",this.isDisabled=()=>!!this.disabled||this.formDisabled,this.setOtpDigit=(t,i)=>{const s=Array.from(this.element.shadowRoot.querySelectorAll("mds-input")).indexOf(t),e=[...this.digits];e[s]=i,this.digits=e,this.updateValue()},this.submit=t=>{var i,s;const e=(null!==(i=this.value)&&void 0!==i?i:"").length===this.length;t.blur(),this.autosubmit&&e&&(null===(s=this.internals.form)||void 0===s||s.requestSubmit())},this.handleKeyDown=t=>{if(t.ctrlKey)return;if(t.preventDefault(),isNaN(Number(t.key)))return;const i=t.target;this.setOtpDigit(i,t.key);const s=i.nextElementSibling;null!=s?s.setFocus():this.submit(i)},this.handlePaste=t=>{var i,s;t.preventDefault();const e=null===(i=t.clipboardData)||void 0===i?void 0:i.getData("text");if(isNaN(Number(e)))return;const n=null!==(s=null==e?void 0:e.split(""))&&void 0!==s?s:[];let h=t.target;for(const t of n){if(this.setOtpDigit(h,t),h=h.nextElementSibling,null==h)return void this.submit(h);h.setFocus()}},this.digitName=t=>{var i;const s=this.t.get("digit",{position:t+1,length:this.length});return""!==(null!==(i=this.accessibleName)&&void 0!==i?i:"")?`${this.accessibleName}, ${s}`:s}}valueChanged(t){(null!=t?t:"")!==this.digits.join("")&&this.fillCells(null!=t?t:"")}formDisabledCallback(t){this.formDisabled=t}formResetCallback(){this.fillCells(this.loadValue)}componentWillLoad(){var t;this.loadValue=null!==(t=this.value)&&void 0!==t?t:"",this.fillCells(this.loadValue)}fillCells(t){this.digits=Array.from(t).slice(0,this.length),this.updateValue()}updateValue(){this.value=this.digits.join(""),n(this.internals,this.value)}render(){return i(s,{key:"a04c64edf256fa28b732e52380df22b2fa452ed7"},Array.from({length:this.length}).map(((t,s)=>{var e;return i("mds-input",{"aria-label":this.digitName(s),class:"input",disabled:this.isDisabled(),maxlength:1,onKeyDown:this.handleKeyDown,onPaste:this.handlePaste,value:null!==(e=this.digits[s])&&void 0!==e?e:""})})))}static get formAssociated(){return!0}get element(){return e(this)}static get watchers(){return{value:[{valueChanged:0}]}}};u.style="@layer reset,vendor,theme,base,components,utilities;:host{display:inline-flex;gap:calc(var(--spacing,.0025rem)*400)}.input{width:calc(var(--spacing,.0025rem)*1200)}.input::part(field){text-align:center}.input::part(tip-count),.input::part(tip-top){display:none}";export{u as mds_input_otp}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register([],(function(r){"use strict";return{execute:function(){var n=r("i",(function(){if(navigator){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}return false}))}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const a="data:image/svg+xml;base64,",s=s=>!!s&&s.startsWith(a),e=a=>!!a&&a.startsWith("<svg ");export{a as B,s as a,e as i}
|