@maggioli-design-system/magma 2.2.0 → 2.3.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 +25 -10
- package/CHANGELOG.md +475 -0
- package/README.md +5 -2
- package/agents/assets.md +231 -28
- package/agents/color.md +5 -3
- package/agents/components.md +3 -3
- package/agents/install.md +8 -4
- package/agents/reporting.md +11 -2
- package/agents/theming.md +15 -0
- package/dist/cjs/_commonjsHelpers-CFO10eej.js +7 -0
- package/dist/cjs/{floating-controller-uOCBLTk2.js → floating-controller-D7Ekjocg.js} +18 -4
- package/dist/cjs/{floating-ui.dom-DflSHZIo.js → floating-ui.dom-EMHL7uyZ.js} +146 -94
- package/dist/cjs/icon-MMHcqbgv.js +20 -0
- package/dist/cjs/index-UmmmCMIG.js +40 -40
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/magma-components.cjs.js +1 -1
- package/dist/cjs/mds-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +1 -1
- package/dist/cjs/mds-accordion.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar.cjs.entry.js +2 -2
- package/dist/cjs/mds-badge.cjs.entry.js +1 -1
- package/dist/cjs/mds-banner_3.cjs.entry.js +6 -6
- package/dist/cjs/mds-bibliography.cjs.entry.js +1 -1
- package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/mds-button-dropdown.cjs.entry.js +30 -2
- package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
- package/dist/cjs/mds-button_3.cjs.entry.js +55 -40
- package/dist/cjs/mds-calendar_2.cjs.entry.js +60 -7
- package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-media.cjs.entry.js +2 -2
- package/dist/cjs/mds-card.cjs.entry.js +2 -2
- package/dist/cjs/mds-details.cjs.entry.js +2 -2
- package/dist/cjs/mds-dropdown.cjs.entry.js +5 -5
- package/dist/cjs/mds-emoji.cjs.entry.js +2 -2
- package/dist/cjs/mds-entity.cjs.entry.js +2 -2
- package/dist/cjs/mds-file-preview.cjs.entry.js +3 -3
- package/dist/cjs/mds-file.cjs.entry.js +29 -7520
- package/dist/cjs/mds-filter-item.cjs.entry.js +89 -3
- package/dist/cjs/mds-filter.cjs.entry.js +113 -19
- package/dist/cjs/mds-header-bar.cjs.entry.js +29 -2
- package/dist/cjs/mds-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +38 -2
- package/dist/cjs/mds-hr.cjs.entry.js +2 -2
- package/dist/cjs/mds-img.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-date-range.cjs.entry.js +16 -2
- package/dist/cjs/mds-input-date.cjs.entry.js +36 -4
- package/dist/cjs/mds-input-field.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-otp.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-range.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-select.cjs.entry.js +32 -5
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +21 -8
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +5 -5
- package/dist/cjs/mds-input-upload.cjs.entry.js +6 -6
- package/dist/cjs/mds-input.cjs.entry.js +12 -3
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +2 -2
- package/dist/cjs/mds-keyboard.cjs.entry.js +2 -2
- package/dist/cjs/mds-kpi-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-kpi.cjs.entry.js +1 -1
- package/dist/cjs/mds-label.cjs.entry.js +1 -1
- package/dist/cjs/mds-list-item.cjs.entry.js +2 -3
- package/dist/cjs/mds-list.cjs.entry.js +1 -1
- package/dist/cjs/mds-mention.cjs.entry.js +2 -2
- package/dist/cjs/mds-modal.cjs.entry.js +32 -5
- package/dist/cjs/mds-note.cjs.entry.js +2 -2
- package/dist/cjs/mds-notification.cjs.entry.js +3 -3
- package/dist/cjs/mds-paginator-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-paginator.cjs.entry.js +2 -2
- package/dist/cjs/mds-policy-ai.cjs.entry.js +2 -2
- package/dist/cjs/mds-pref-animation.cjs.entry.js +2 -2
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +2 -2
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +2 -2
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-language.cjs.entry.js +2 -2
- package/dist/cjs/mds-pref-mode.cjs.entry.js +3 -3
- package/dist/cjs/mds-pref-theme-item.cjs.entry.js +4 -3
- package/dist/cjs/mds-pref-theme.cjs.entry.js +29 -2
- package/dist/cjs/mds-pref.cjs.entry.js +24 -53
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-features.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-header.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-list.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table.cjs.entry.js +1 -1
- package/dist/cjs/mds-progress_2.cjs.entry.js +4 -4
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-push-notification.cjs.entry.js +2 -2
- package/dist/cjs/mds-quote.cjs.entry.js +2 -2
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-radial-menu.cjs.entry.js +40 -4
- package/dist/cjs/mds-separator.cjs.entry.js +2 -2
- package/dist/cjs/mds-status-bar.cjs.entry.js +2 -2
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +2 -2
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-tab-bar.cjs.entry.js +2 -2
- package/dist/cjs/mds-tab_2.cjs.entry.js +20 -7
- package/dist/cjs/mds-table-body.cjs.entry.js +2 -2
- package/dist/cjs/mds-table-footer.cjs.entry.js +2 -2
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +116 -77
- package/dist/cjs/mds-table-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-table-row.cjs.entry.js +3 -3
- package/dist/cjs/mds-table.cjs.entry.js +9 -2
- package/dist/cjs/mds-text.cjs.entry.js +37 -27
- package/dist/cjs/mds-toast.cjs.entry.js +2 -2
- package/dist/cjs/mds-tooltip.cjs.entry.js +17 -4
- package/dist/cjs/mds-tree-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-tree.cjs.entry.js +2 -2
- package/dist/cjs/mds-url-view.cjs.entry.js +2 -2
- package/dist/cjs/mds-usage.cjs.entry.js +23 -4
- package/dist/cjs/mds-video-wall.cjs.entry.js +2 -2
- package/dist/cjs/mds-zero.cjs.entry.js +2 -2
- package/dist/cjs/string-RoXIuD3q.js +7 -0
- package/dist/collection/common/floating-controller.js +17 -3
- package/dist/collection/common/hash.js +15 -0
- package/dist/collection/common/string.js +3 -1
- package/dist/collection/common/yugop/random-text.js +5 -0
- package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion/documentation.json +1 -1
- package/dist/collection/components/mds-accordion/mds-accordion.css +5 -5
- package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-item/documentation.json +1 -1
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +11 -11
- package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-timer/documentation.json +1 -1
- package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +2 -2
- package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-timer-item/documentation.json +1 -1
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +6 -6
- 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-author/mds-author.css +2 -1
- package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar/documentation.json +2 -2
- package/dist/collection/components/mds-avatar/mds-avatar.css +18 -17
- package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar-stack/documentation.json +1 -1
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.css +3 -3
- package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar-stack-item/documentation.json +1 -1
- package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.css +6 -6
- package/dist/collection/components/mds-badge/AGENTS.md +1 -1
- package/dist/collection/components/mds-badge/documentation.json +1 -1
- package/dist/collection/components/mds-badge/mds-badge.css +13 -13
- package/dist/collection/components/mds-banner/AGENTS.md +1 -1
- package/dist/collection/components/mds-banner/documentation.json +1 -1
- package/dist/collection/components/mds-banner/mds-banner.css +56 -56
- package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-benchmark-bar/documentation.json +1 -1
- package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
- package/dist/collection/components/mds-bibliography/documentation.json +2 -2
- package/dist/collection/components/mds-bibliography/mds-bibliography.css +8 -6
- package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
- package/dist/collection/components/mds-breadcrumb/documentation.json +1 -1
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.css +6 -6
- package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-breadcrumb-item/documentation.json +1 -1
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +14 -13
- package/dist/collection/components/mds-button/AGENTS.md +2 -2
- package/dist/collection/components/mds-button/antipattern.md +1 -1
- package/dist/collection/components/mds-button/documentation.json +4 -4
- package/dist/collection/components/mds-button/mds-button.css +226 -417
- package/dist/collection/components/mds-button/mds-button.js +47 -18
- package/dist/collection/components/mds-button/pattern.md +7 -0
- package/dist/collection/components/mds-button-dropdown/AGENTS.md +2 -2
- package/dist/collection/components/mds-button-dropdown/documentation.json +2 -2
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +10 -10
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +12 -1
- package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
- package/dist/collection/components/mds-button-group/documentation.json +1 -1
- package/dist/collection/components/mds-button-group/mds-button-group.js +1 -1
- package/dist/collection/components/mds-calendar/AGENTS.md +2 -2
- package/dist/collection/components/mds-calendar/documentation.json +2 -2
- package/dist/collection/components/mds-calendar/mds-calendar.css +5 -5
- package/dist/collection/components/mds-calendar/mds-calendar.js +17 -4
- package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-calendar-cell/documentation.json +1 -1
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +58 -58
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +1 -1
- package/dist/collection/components/mds-card/AGENTS.md +1 -1
- package/dist/collection/components/mds-card/documentation.json +1 -1
- package/dist/collection/components/mds-card/mds-card.css +2 -2
- package/dist/collection/components/mds-card/mds-card.js +1 -1
- package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-content/documentation.json +1 -1
- package/dist/collection/components/mds-card-content/mds-card-content.js +1 -1
- package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-footer/documentation.json +1 -1
- package/dist/collection/components/mds-card-footer/mds-card-footer.js +1 -1
- package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-header/documentation.json +1 -1
- package/dist/collection/components/mds-card-header/mds-card-header.js +1 -1
- package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-media/documentation.json +1 -1
- package/dist/collection/components/mds-card-media/mds-card-media.js +1 -1
- package/dist/collection/components/mds-chip/AGENTS.md +1 -1
- package/dist/collection/components/mds-chip/documentation.json +1 -1
- package/dist/collection/components/mds-chip/mds-chip.css +90 -90
- package/dist/collection/components/mds-chip/mds-chip.js +2 -2
- package/dist/collection/components/mds-details/AGENTS.md +1 -1
- package/dist/collection/components/mds-details/documentation.json +1 -1
- package/dist/collection/components/mds-details/mds-details.css +6 -6
- package/dist/collection/components/mds-details/mds-details.js +1 -1
- package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
- package/dist/collection/components/mds-dropdown/documentation.json +2 -2
- package/dist/collection/components/mds-dropdown/mds-dropdown.css +26 -26
- package/dist/collection/components/mds-dropdown/mds-dropdown.js +2 -2
- package/dist/collection/components/mds-emoji/AGENTS.md +2 -2
- package/dist/collection/components/mds-emoji/documentation.json +3 -3
- package/dist/collection/components/mds-emoji/mds-emoji.css +5 -5
- package/dist/collection/components/mds-emoji/mds-emoji.js +1 -1
- package/dist/collection/components/mds-entity/AGENTS.md +1 -1
- package/dist/collection/components/mds-entity/documentation.json +1 -1
- package/dist/collection/components/mds-entity/mds-entity.css +8 -8
- package/dist/collection/components/mds-entity/mds-entity.js +1 -1
- package/dist/collection/components/mds-file/AGENTS.md +2 -2
- package/dist/collection/components/mds-file/documentation.json +3 -3
- package/dist/collection/components/mds-file/mds-file.css +13 -13
- package/dist/collection/components/mds-file/mds-file.js +15 -9
- package/dist/collection/components/mds-file/pattern.md +1 -1
- package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
- package/dist/collection/components/mds-file-preview/documentation.json +1 -1
- package/dist/collection/components/mds-file-preview/mds-file-preview.css +21 -21
- package/dist/collection/components/mds-file-preview/mds-file-preview.js +2 -2
- package/dist/collection/components/mds-filter/AGENTS.md +5 -3
- package/dist/collection/components/mds-filter/documentation.json +3 -3
- package/dist/collection/components/mds-filter/mds-filter.css +16 -16
- package/dist/collection/components/mds-filter/mds-filter.js +97 -19
- package/dist/collection/components/mds-filter/pattern.md +34 -4
- package/dist/collection/components/mds-filter-item/AGENTS.md +9 -8
- package/dist/collection/components/mds-filter-item/documentation.json +4 -4
- package/dist/collection/components/mds-filter-item/mds-filter-item.css +27 -17
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +65 -3
- package/dist/collection/components/mds-filter-item/pattern.md +5 -5
- package/dist/collection/components/mds-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-header/documentation.json +1 -1
- package/dist/collection/components/mds-header/mds-header.css +21 -13
- package/dist/collection/components/mds-header/mds-header.js +1 -1
- package/dist/collection/components/mds-header-bar/AGENTS.md +2 -2
- package/dist/collection/components/mds-header-bar/documentation.json +2 -2
- package/dist/collection/components/mds-header-bar/mds-header-bar.css +5 -5
- package/dist/collection/components/mds-header-bar/mds-header-bar.js +12 -1
- package/dist/collection/components/mds-help/AGENTS.md +1 -1
- package/dist/collection/components/mds-help/documentation.json +2 -2
- package/dist/collection/components/mds-help/mds-help.css +1 -1
- package/dist/collection/components/mds-help/mds-help.js +1 -1
- package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +2 -2
- package/dist/collection/components/mds-horizontal-scroll/documentation.json +2 -2
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +10 -10
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +12 -1
- package/dist/collection/components/mds-hr/AGENTS.md +1 -1
- package/dist/collection/components/mds-hr/documentation.json +1 -1
- 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 +1 -1
- package/dist/collection/components/mds-icon/documentation.json +2 -2
- package/dist/collection/components/mds-icon/mds-icon.js +1 -1
- package/dist/collection/components/mds-img/AGENTS.md +1 -1
- package/dist/collection/components/mds-img/documentation.json +1 -1
- package/dist/collection/components/mds-img/mds-img.css +6 -6
- package/dist/collection/components/mds-input/AGENTS.md +3 -1
- package/dist/collection/components/mds-input/documentation.json +52 -4
- package/dist/collection/components/mds-input/mds-input.css +133 -62
- package/dist/collection/components/mds-input/mds-input.js +38 -2
- package/dist/collection/components/mds-input/pattern.md +15 -0
- package/dist/collection/components/mds-input-date/AGENTS.md +5 -2
- package/dist/collection/components/mds-input-date/documentation.json +50 -2
- package/dist/collection/components/mds-input-date/mds-input-date.css +52 -26
- package/dist/collection/components/mds-input-date/mds-input-date.js +46 -2
- package/dist/collection/components/mds-input-date-range/AGENTS.md +4 -2
- package/dist/collection/components/mds-input-date-range/documentation.json +50 -2
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +51 -25
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +34 -1
- package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-date-range-preselection/documentation.json +1 -1
- package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.css +18 -18
- package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +1 -1
- package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-field/documentation.json +1 -1
- package/dist/collection/components/mds-input-field/mds-input-field.css +7 -7
- package/dist/collection/components/mds-input-field/mds-input-field.js +1 -1
- package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-otp/documentation.json +1 -1
- package/dist/collection/components/mds-input-otp/mds-input-otp.js +1 -1
- package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-range/documentation.json +1 -1
- package/dist/collection/components/mds-input-range/mds-input-range.css +13 -12
- package/dist/collection/components/mds-input-range/mds-input-range.js +1 -1
- package/dist/collection/components/mds-input-select/AGENTS.md +7 -4
- package/dist/collection/components/mds-input-select/documentation.json +58 -7
- package/dist/collection/components/mds-input-select/mds-input-select.css +103 -29
- package/dist/collection/components/mds-input-select/mds-input-select.js +61 -7
- package/dist/collection/components/mds-input-select/pattern.md +3 -3
- package/dist/collection/components/mds-input-switch/AGENTS.md +2 -2
- package/dist/collection/components/mds-input-switch/documentation.json +2 -2
- package/dist/collection/components/mds-input-switch/mds-input-switch.css +86 -65
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +19 -6
- package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-tip/documentation.json +1 -1
- package/dist/collection/components/mds-input-tip/mds-input-tip.css +1 -1
- package/dist/collection/components/mds-input-tip/mds-input-tip.js +1 -1
- package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-tip-item/documentation.json +1 -1
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.css +21 -20
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
- package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-upload/documentation.json +1 -1
- package/dist/collection/components/mds-input-upload/mds-input-upload.css +13 -12
- package/dist/collection/components/mds-input-upload/mds-input-upload.js +5 -5
- package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
- package/dist/collection/components/mds-keyboard/documentation.json +1 -1
- package/dist/collection/components/mds-keyboard/mds-keyboard.css +4 -3
- package/dist/collection/components/mds-keyboard/mds-keyboard.js +1 -1
- package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
- package/dist/collection/components/mds-keyboard-key/documentation.json +1 -1
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +2 -1
- 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 +1 -1
- package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
- package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-kpi-item/documentation.json +1 -1
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.css +13 -13
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
- package/dist/collection/components/mds-label/AGENTS.md +1 -1
- package/dist/collection/components/mds-label/documentation.json +1 -1
- package/dist/collection/components/mds-label/mds-label.css +12 -12
- package/dist/collection/components/mds-list/AGENTS.md +2 -2
- 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 +2 -1
- package/dist/collection/components/mds-list-item/documentation.json +3 -3
- package/dist/collection/components/mds-list-item/mds-list-item.css +0 -18
- package/dist/collection/components/mds-list-item/mds-list-item.js +1 -2
- package/dist/collection/components/mds-list-item/pattern.md +11 -0
- package/dist/collection/components/mds-mention/AGENTS.md +1 -1
- package/dist/collection/components/mds-mention/documentation.json +1 -1
- package/dist/collection/components/mds-mention/mds-mention.css +2 -2
- package/dist/collection/components/mds-mention/mds-mention.js +1 -1
- package/dist/collection/components/mds-modal/AGENTS.md +2 -2
- package/dist/collection/components/mds-modal/documentation.json +2 -2
- package/dist/collection/components/mds-modal/mds-modal.css +5 -5
- package/dist/collection/components/mds-modal/mds-modal.js +14 -3
- package/dist/collection/components/mds-note/AGENTS.md +1 -1
- package/dist/collection/components/mds-note/documentation.json +1 -1
- package/dist/collection/components/mds-note/mds-note.css +3 -3
- package/dist/collection/components/mds-note/mds-note.js +1 -1
- package/dist/collection/components/mds-notification/AGENTS.md +1 -1
- package/dist/collection/components/mds-notification/documentation.json +2 -2
- package/dist/collection/components/mds-notification/mds-notification.css +4 -4
- package/dist/collection/components/mds-notification/mds-notification.js +1 -1
- package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
- package/dist/collection/components/mds-paginator/documentation.json +1 -1
- package/dist/collection/components/mds-paginator/mds-paginator.css +6 -6
- package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
- package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-paginator-item/documentation.json +1 -1
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +31 -30
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
- package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
- package/dist/collection/components/mds-policy-ai/documentation.json +1 -1
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.css +8 -8
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
- package/dist/collection/components/mds-pref/AGENTS.md +2 -2
- package/dist/collection/components/mds-pref/documentation.json +14 -3
- package/dist/collection/components/mds-pref/mds-pref.js +39 -53
- package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-animation/documentation.json +1 -1
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.css +7 -7
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +1 -1
- package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-consumption/documentation.json +1 -1
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.css +4 -4
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +1 -1
- package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-contrast/documentation.json +1 -1
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.css +5 -5
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
- package/dist/collection/components/mds-pref-language/AGENTS.md +3 -3
- package/dist/collection/components/mds-pref-language/documentation.json +2 -2
- package/dist/collection/components/mds-pref-language/mds-pref-language.css +10 -2
- package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
- package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-language-item/documentation.json +1 -1
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
- package/dist/collection/components/mds-pref-mode/AGENTS.md +3 -3
- package/dist/collection/components/mds-pref-mode/documentation.json +2 -2
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +5 -5
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +2 -2
- package/dist/collection/components/mds-pref-theme/AGENTS.md +4 -3
- package/dist/collection/components/mds-pref-theme/documentation.json +2 -2
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.css +10 -2
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +29 -2
- package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-theme-item/documentation.json +1 -1
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +10 -9
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +3 -2
- package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table/documentation.json +1 -1
- package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
- package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-features/documentation.json +1 -1
- 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 +1 -1
- package/dist/collection/components/mds-price-table-features-cell/documentation.json +1 -1
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +11 -11
- 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 +1 -1
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +12 -12
- 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 +1 -1
- package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
- package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-list/documentation.json +1 -1
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +8 -8
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
- package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-list-item/documentation.json +1 -1
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.css +2 -2
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
- package/dist/collection/components/mds-progress/AGENTS.md +1 -1
- package/dist/collection/components/mds-progress/documentation.json +1 -1
- package/dist/collection/components/mds-progress/mds-progress.css +20 -20
- package/dist/collection/components/mds-progress/mds-progress.js +1 -1
- package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
- package/dist/collection/components/mds-push-notification/documentation.json +1 -1
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
- package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-push-notification-item/documentation.json +1 -1
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +16 -16
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
- package/dist/collection/components/mds-quote/AGENTS.md +1 -1
- package/dist/collection/components/mds-quote/documentation.json +1 -1
- package/dist/collection/components/mds-quote/mds-quote.css +6 -4
- package/dist/collection/components/mds-quote/mds-quote.js +1 -1
- package/dist/collection/components/mds-radial-menu/AGENTS.md +2 -2
- package/dist/collection/components/mds-radial-menu/documentation.json +2 -2
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +5 -3
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +12 -1
- package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-radial-menu-item/documentation.json +1 -1
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
- package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
- package/dist/collection/components/mds-radial-progress/documentation.json +1 -1
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +15 -15
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
- package/dist/collection/components/mds-separator/AGENTS.md +1 -1
- package/dist/collection/components/mds-separator/documentation.json +1 -1
- package/dist/collection/components/mds-separator/mds-separator.css +2 -2
- package/dist/collection/components/mds-separator/mds-separator.js +1 -1
- package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
- package/dist/collection/components/mds-spinner/documentation.json +1 -1
- package/dist/collection/components/mds-spinner/mds-spinner.css +3 -3
- package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
- package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-status-bar/documentation.json +1 -1
- package/dist/collection/components/mds-status-bar/mds-status-bar.css +7 -6
- package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
- package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-stepper-bar/documentation.json +1 -1
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.css +6 -6
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
- package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-stepper-bar-item/documentation.json +1 -1
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +15 -15
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
- package/dist/collection/components/mds-tab/AGENTS.md +2 -2
- package/dist/collection/components/mds-tab/documentation.json +2 -2
- package/dist/collection/components/mds-tab/mds-tab.css +51 -23
- package/dist/collection/components/mds-tab/mds-tab.js +18 -4
- package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-bar/documentation.json +1 -1
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.css +1 -1
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
- package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-bar-item/documentation.json +1 -1
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +14 -14
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
- package/dist/collection/components/mds-tab-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-item/documentation.json +1 -1
- package/dist/collection/components/mds-tab-item/mds-tab-item.css +2 -2
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
- package/dist/collection/components/mds-table/AGENTS.md +4 -2
- package/dist/collection/components/mds-table/documentation.json +48 -4
- package/dist/collection/components/mds-table/mds-table.css +33 -22
- package/dist/collection/components/mds-table/mds-table.js +35 -1
- package/dist/collection/components/mds-table/pattern.md +30 -0
- package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-body/documentation.json +1 -1
- package/dist/collection/components/mds-table-body/mds-table-body.css +8 -8
- package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
- package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-cell/documentation.json +1 -1
- package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
- package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-footer/documentation.json +1 -1
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
- package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-header/documentation.json +1 -1
- package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
- package/dist/collection/components/mds-table-header-cell/AGENTS.md +14 -5
- package/dist/collection/components/mds-table-header-cell/antipattern.md +17 -10
- package/dist/collection/components/mds-table-header-cell/documentation.json +54 -6
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +159 -82
- package/dist/collection/components/mds-table-header-cell/meta/event-detail.js +1 -0
- package/dist/collection/components/mds-table-header-cell/pattern.md +27 -6
- package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-row/documentation.json +1 -1
- package/dist/collection/components/mds-table-row/mds-table-row.css +12 -12
- package/dist/collection/components/mds-table-row/mds-table-row.js +2 -2
- package/dist/collection/components/mds-text/AGENTS.md +3 -3
- package/dist/collection/components/mds-text/documentation.json +2 -2
- package/dist/collection/components/mds-text/mds-text.css +3 -3
- package/dist/collection/components/mds-text/mds-text.js +31 -26
- package/dist/collection/components/mds-toast/AGENTS.md +1 -1
- package/dist/collection/components/mds-toast/documentation.json +1 -1
- package/dist/collection/components/mds-toast/mds-toast.css +18 -18
- package/dist/collection/components/mds-toast/mds-toast.js +1 -1
- package/dist/collection/components/mds-tooltip/AGENTS.md +4 -2
- package/dist/collection/components/mds-tooltip/antipattern.md +14 -0
- package/dist/collection/components/mds-tooltip/documentation.json +46 -5
- package/dist/collection/components/mds-tooltip/mds-tooltip.css +10 -10
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +41 -1
- package/dist/collection/components/mds-tooltip/pattern.md +9 -0
- package/dist/collection/components/mds-tree/AGENTS.md +1 -1
- package/dist/collection/components/mds-tree/documentation.json +1 -1
- package/dist/collection/components/mds-tree/mds-tree.css +13 -13
- package/dist/collection/components/mds-tree/mds-tree.js +1 -1
- package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-tree-item/documentation.json +1 -1
- package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
- package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
- package/dist/collection/components/mds-url-view/documentation.json +1 -1
- package/dist/collection/components/mds-url-view/mds-url-view.css +7 -7
- package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
- package/dist/collection/components/mds-usage/AGENTS.md +5 -3
- package/dist/collection/components/mds-usage/antipattern.md +17 -1
- package/dist/collection/components/mds-usage/documentation.json +31 -5
- package/dist/collection/components/mds-usage/mds-usage.css +6 -6
- package/dist/collection/components/mds-usage/mds-usage.js +26 -4
- package/dist/collection/components/mds-usage/meta/variants.js +14 -18
- package/dist/collection/components/mds-usage/pattern.md +10 -0
- package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
- package/dist/collection/components/mds-video-wall/documentation.json +1 -1
- package/dist/collection/components/mds-video-wall/mds-video-wall.css +3 -3
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
- package/dist/collection/components/mds-zero/AGENTS.md +1 -1
- package/dist/collection/components/mds-zero/documentation.json +1 -1
- package/dist/collection/components/mds-zero/mds-zero.css +3 -3
- package/dist/collection/components/mds-zero/mds-zero.js +1 -1
- package/dist/collection/type/floating-ui.js +1 -0
- package/dist/collection/type/input.js +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-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 +2 -2
- package/dist/components/mds-entity.js +1 -1
- package/dist/components/mds-file-preview.js +1 -1
- package/dist/components/mds-file.js +1 -18
- 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.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--5KZXaZp.js +1 -0
- package/dist/components/p--OCrgFeE.js +1 -0
- package/dist/components/p-6LGfUDQ4.js +1 -0
- package/dist/components/p-6pgPWpGI.js +1 -0
- package/dist/components/p-B8BWxSho.js +1 -0
- package/dist/components/p-B9uIL9KO.js +1 -0
- package/dist/components/p-BBDliSai.js +1 -0
- package/dist/components/p-BCwcnHFh.js +1 -0
- package/dist/components/p-BRf-u585.js +1 -0
- package/dist/components/p-BSeokAdy.js +1 -0
- package/dist/components/p-BXUJgu8l.js +1 -0
- package/dist/components/p-BXYUyw7p.js +1 -0
- package/dist/components/{p-s2Gu6hY7.js → p-BcUY-9n7.js} +1 -1
- package/dist/components/p-BfgJ-hHQ.js +1 -0
- package/dist/components/p-CIfGjW_Z.js +1 -0
- package/dist/components/p-CMp9rP7L.js +1 -0
- package/dist/components/p-CUmJoPAI.js +1 -0
- package/dist/components/p-CZjHixVB.js +1 -0
- package/dist/components/p-Ck0q_n7I.js +1 -0
- package/dist/components/p-CrCa_6a1.js +8 -0
- package/dist/components/p-Cv7lqHIc.js +1 -0
- package/dist/components/p-Cw6_ooFx.js +1 -0
- package/dist/components/p-DGYRngAi.js +1 -0
- package/dist/components/p-DHu8X7zF.js +1 -0
- package/dist/components/{p-C7EyV0z3.js → p-DLCcW1Q5.js} +1 -1
- package/dist/components/p-DOzcuSrZ.js +1 -0
- package/dist/components/{p-BHJDW5JC.js → p-DZPHWQtD.js} +1 -1
- package/dist/components/p-DlRjt7nE.js +1 -0
- package/dist/components/{p-Bv2IVRzI.js → p-DmPLOktp.js} +1 -1
- package/dist/components/p-HSM_x8fD.js +1 -0
- package/dist/components/p-JMPfVnGv.js +1 -0
- package/dist/components/p-ay5NzZ_x.js +1 -0
- package/dist/components/p-lNY_3s6S.js +1 -0
- package/dist/components/p-qYRtWYC8.js +1 -0
- package/dist/documentation.json +460 -75
- package/dist/esm/_commonjsHelpers-B85MJLTf.js +5 -0
- package/dist/esm/{floating-controller-BTYkH_Ih.js → floating-controller-D5-8D9mH.js} +18 -4
- package/dist/esm/{floating-ui.dom-CHAGzQT-.js → floating-ui.dom-JMPfVnGv.js} +146 -94
- package/dist/esm/icon-pNJmnrhq.js +16 -0
- package/dist/esm/index-BxPbQB28.js +40 -40
- package/dist/esm/loader.js +1 -1
- package/dist/esm/magma-components.js +1 -1
- package/dist/esm/mds-accordion-item.entry.js +1 -1
- package/dist/esm/mds-accordion-timer-item.entry.js +1 -1
- package/dist/esm/mds-accordion-timer.entry.js +1 -1
- package/dist/esm/mds-accordion.entry.js +1 -1
- package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm/mds-avatar-stack.entry.js +1 -1
- package/dist/esm/mds-avatar.entry.js +2 -2
- package/dist/esm/mds-badge.entry.js +1 -1
- package/dist/esm/mds-banner_3.entry.js +6 -6
- package/dist/esm/mds-bibliography.entry.js +1 -1
- package/dist/esm/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm/mds-breadcrumb.entry.js +1 -1
- package/dist/esm/mds-button-dropdown.entry.js +30 -2
- package/dist/esm/mds-button-group.entry.js +1 -1
- package/dist/esm/mds-button_3.entry.js +52 -37
- package/dist/esm/mds-calendar_2.entry.js +60 -7
- package/dist/esm/mds-card-content.entry.js +1 -1
- package/dist/esm/mds-card-footer.entry.js +1 -1
- package/dist/esm/mds-card-header.entry.js +1 -1
- package/dist/esm/mds-card-media.entry.js +2 -2
- package/dist/esm/mds-card.entry.js +2 -2
- package/dist/esm/mds-details.entry.js +2 -2
- package/dist/esm/mds-dropdown.entry.js +5 -5
- package/dist/esm/mds-emoji.entry.js +2 -2
- package/dist/esm/mds-entity.entry.js +2 -2
- package/dist/esm/mds-file-preview.entry.js +3 -3
- package/dist/esm/mds-file.entry.js +30 -7521
- package/dist/esm/mds-filter-item.entry.js +89 -3
- package/dist/esm/mds-filter.entry.js +114 -20
- package/dist/esm/mds-header-bar.entry.js +29 -2
- package/dist/esm/mds-header.entry.js +2 -2
- package/dist/esm/mds-horizontal-scroll.entry.js +38 -2
- package/dist/esm/mds-hr.entry.js +2 -2
- package/dist/esm/mds-img.entry.js +1 -1
- package/dist/esm/mds-input-date-range-preselection.entry.js +2 -2
- package/dist/esm/mds-input-date-range.entry.js +16 -2
- package/dist/esm/mds-input-date.entry.js +36 -4
- package/dist/esm/mds-input-field.entry.js +2 -2
- package/dist/esm/mds-input-otp.entry.js +1 -1
- package/dist/esm/mds-input-range.entry.js +2 -2
- package/dist/esm/mds-input-select.entry.js +32 -5
- package/dist/esm/mds-input-switch_2.entry.js +21 -8
- package/dist/esm/mds-input-tip_2.entry.js +5 -5
- package/dist/esm/mds-input-upload.entry.js +6 -6
- package/dist/esm/mds-input.entry.js +12 -3
- package/dist/esm/mds-keyboard-key.entry.js +2 -2
- package/dist/esm/mds-keyboard.entry.js +2 -2
- package/dist/esm/mds-kpi-item.entry.js +2 -2
- package/dist/esm/mds-kpi.entry.js +1 -1
- package/dist/esm/mds-label.entry.js +1 -1
- package/dist/esm/mds-list-item.entry.js +2 -3
- package/dist/esm/mds-list.entry.js +1 -1
- package/dist/esm/mds-mention.entry.js +2 -2
- package/dist/esm/mds-modal.entry.js +31 -4
- package/dist/esm/mds-note.entry.js +2 -2
- package/dist/esm/mds-notification.entry.js +3 -3
- package/dist/esm/mds-paginator-item.entry.js +2 -2
- package/dist/esm/mds-paginator.entry.js +2 -2
- package/dist/esm/mds-policy-ai.entry.js +2 -2
- package/dist/esm/mds-pref-animation.entry.js +2 -2
- package/dist/esm/mds-pref-consumption.entry.js +2 -2
- package/dist/esm/mds-pref-contrast.entry.js +2 -2
- package/dist/esm/mds-pref-language-item.entry.js +1 -1
- package/dist/esm/mds-pref-language.entry.js +2 -2
- package/dist/esm/mds-pref-mode.entry.js +3 -3
- package/dist/esm/mds-pref-theme-item.entry.js +4 -3
- package/dist/esm/mds-pref-theme.entry.js +30 -3
- package/dist/esm/mds-pref.entry.js +24 -53
- package/dist/esm/mds-price-table-features-cell.entry.js +2 -2
- package/dist/esm/mds-price-table-features-row.entry.js +2 -2
- package/dist/esm/mds-price-table-features.entry.js +2 -2
- package/dist/esm/mds-price-table-header.entry.js +1 -1
- package/dist/esm/mds-price-table-list-item.entry.js +2 -2
- package/dist/esm/mds-price-table-list.entry.js +2 -2
- package/dist/esm/mds-price-table.entry.js +1 -1
- package/dist/esm/mds-progress_2.entry.js +4 -4
- package/dist/esm/mds-push-notification-item.entry.js +4 -4
- package/dist/esm/mds-push-notification.entry.js +2 -2
- package/dist/esm/mds-quote.entry.js +2 -2
- package/dist/esm/mds-radial-menu-item.entry.js +2 -2
- package/dist/esm/mds-radial-menu.entry.js +40 -4
- package/dist/esm/mds-separator.entry.js +2 -2
- package/dist/esm/mds-status-bar.entry.js +2 -2
- package/dist/esm/mds-stepper-bar-item.entry.js +2 -2
- package/dist/esm/mds-stepper-bar.entry.js +2 -2
- package/dist/esm/mds-tab-bar-item.entry.js +2 -2
- package/dist/esm/mds-tab-bar.entry.js +2 -2
- package/dist/esm/mds-tab_2.entry.js +20 -7
- package/dist/esm/mds-table-body.entry.js +2 -2
- package/dist/esm/mds-table-footer.entry.js +2 -2
- package/dist/esm/mds-table-header-cell.entry.js +117 -78
- package/dist/esm/mds-table-header.entry.js +2 -2
- package/dist/esm/mds-table-row.entry.js +3 -3
- package/dist/esm/mds-table.entry.js +9 -2
- package/dist/esm/mds-text.entry.js +37 -27
- package/dist/esm/mds-toast.entry.js +2 -2
- package/dist/esm/mds-tooltip.entry.js +17 -4
- package/dist/esm/mds-tree-item.entry.js +2 -2
- package/dist/esm/mds-tree.entry.js +2 -2
- package/dist/esm/mds-url-view.entry.js +2 -2
- package/dist/esm/mds-usage.entry.js +23 -4
- package/dist/esm/mds-video-wall.entry.js +2 -2
- package/dist/esm/mds-zero.entry.js +2 -2
- package/dist/esm/string-6pgPWpGI.js +5 -0
- package/dist/esm-es5/_commonjsHelpers-B85MJLTf.js +1 -0
- package/dist/esm-es5/{floating-controller-BTYkH_Ih.js → floating-controller-D5-8D9mH.js} +11 -5
- package/dist/esm-es5/{floating-ui.dom-CHAGzQT-.js → floating-ui.dom-JMPfVnGv.js} +80 -48
- package/dist/esm-es5/icon-pNJmnrhq.js +1 -0
- package/dist/esm-es5/index-BxPbQB28.js +36 -36
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/magma-components.js +1 -1
- package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer-item.entry.js +2 -2
- package/dist/esm-es5/mds-accordion-timer.entry.js +2 -2
- package/dist/esm-es5/mds-accordion.entry.js +2 -2
- package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
- package/dist/esm-es5/mds-avatar.entry.js +2 -2
- package/dist/esm-es5/mds-badge.entry.js +1 -1
- package/dist/esm-es5/mds-banner_3.entry.js +5 -5
- package/dist/esm-es5/mds-bibliography.entry.js +2 -2
- package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb.entry.js +2 -2
- package/dist/esm-es5/mds-button-dropdown.entry.js +3 -3
- package/dist/esm-es5/mds-button-group.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +30 -9
- package/dist/esm-es5/mds-calendar_2.entry.js +9 -7
- 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 +5 -5
- package/dist/esm-es5/mds-details.entry.js +2 -2
- package/dist/esm-es5/mds-dropdown.entry.js +16 -16
- package/dist/esm-es5/mds-emoji.entry.js +19 -19
- package/dist/esm-es5/mds-entity.entry.js +1 -1
- package/dist/esm-es5/mds-file-preview.entry.js +7 -7
- package/dist/esm-es5/mds-file.entry.js +15 -2835
- package/dist/esm-es5/mds-filter-item.entry.js +16 -1
- package/dist/esm-es5/mds-filter.entry.js +18 -2
- package/dist/esm-es5/mds-header-bar.entry.js +3 -3
- package/dist/esm-es5/mds-header.entry.js +7 -7
- package/dist/esm-es5/mds-horizontal-scroll.entry.js +13 -13
- package/dist/esm-es5/mds-hr.entry.js +1 -1
- package/dist/esm-es5/mds-img.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range.entry.js +7 -2
- package/dist/esm-es5/mds-input-date.entry.js +8 -3
- package/dist/esm-es5/mds-input-field.entry.js +2 -2
- package/dist/esm-es5/mds-input-otp.entry.js +1 -1
- package/dist/esm-es5/mds-input-range.entry.js +7 -7
- package/dist/esm-es5/mds-input-select.entry.js +14 -5
- package/dist/esm-es5/mds-input-switch_2.entry.js +17 -9
- package/dist/esm-es5/mds-input-tip_2.entry.js +3 -3
- package/dist/esm-es5/mds-input-upload.entry.js +2 -2
- package/dist/esm-es5/mds-input.entry.js +30 -25
- package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
- package/dist/esm-es5/mds-keyboard.entry.js +2 -2
- package/dist/esm-es5/mds-kpi-item.entry.js +2 -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 +2 -2
- package/dist/esm-es5/mds-modal.entry.js +5 -5
- package/dist/esm-es5/mds-note.entry.js +2 -2
- package/dist/esm-es5/mds-notification.entry.js +4 -4
- package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
- package/dist/esm-es5/mds-paginator.entry.js +3 -3
- package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
- package/dist/esm-es5/mds-pref-animation.entry.js +2 -2
- package/dist/esm-es5/mds-pref-consumption.entry.js +3 -3
- package/dist/esm-es5/mds-pref-contrast.entry.js +3 -3
- package/dist/esm-es5/mds-pref-language-item.entry.js +1 -1
- package/dist/esm-es5/mds-pref-language.entry.js +2 -2
- package/dist/esm-es5/mds-pref-mode.entry.js +2 -2
- package/dist/esm-es5/mds-pref-theme-item.entry.js +3 -3
- package/dist/esm-es5/mds-pref-theme.entry.js +15 -7
- package/dist/esm-es5/mds-pref.entry.js +14 -5
- 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 +1 -1
- package/dist/esm-es5/mds-price-table.entry.js +1 -1
- package/dist/esm-es5/mds-progress_2.entry.js +3 -3
- package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
- package/dist/esm-es5/mds-push-notification.entry.js +2 -2
- package/dist/esm-es5/mds-quote.entry.js +2 -2
- package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
- package/dist/esm-es5/mds-radial-menu.entry.js +2 -2
- package/dist/esm-es5/mds-separator.entry.js +1 -1
- package/dist/esm-es5/mds-status-bar.entry.js +2 -2
- package/dist/esm-es5/mds-stepper-bar-item.entry.js +3 -3
- package/dist/esm-es5/mds-stepper-bar.entry.js +4 -4
- package/dist/esm-es5/mds-tab-bar-item.entry.js +3 -3
- package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
- package/dist/esm-es5/mds-tab_2.entry.js +14 -4
- package/dist/esm-es5/mds-table-body.entry.js +1 -1
- package/dist/esm-es5/mds-table-footer.entry.js +1 -1
- package/dist/esm-es5/mds-table-header-cell.entry.js +22 -3
- package/dist/esm-es5/mds-table-header.entry.js +2 -2
- package/dist/esm-es5/mds-table-row.entry.js +6 -6
- package/dist/esm-es5/mds-table.entry.js +11 -5
- package/dist/esm-es5/mds-text.entry.js +25 -7
- package/dist/esm-es5/mds-toast.entry.js +2 -2
- package/dist/esm-es5/mds-tooltip.entry.js +8 -3
- package/dist/esm-es5/mds-tree-item.entry.js +2 -2
- package/dist/esm-es5/mds-tree.entry.js +3 -3
- package/dist/esm-es5/mds-url-view.entry.js +2 -2
- package/dist/esm-es5/mds-usage.entry.js +9 -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/string-6pgPWpGI.js +2 -0
- package/dist/hydrate/index.js +1450 -8261
- package/dist/hydrate/index.mjs +1450 -8261
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/p-00ce5c81.entry.js +1 -0
- package/dist/magma-components/{p-2da2cdf3.system.entry.js → p-00ff586a.system.entry.js} +2 -2
- package/dist/magma-components/p-01f05a56.entry.js +1 -0
- package/dist/magma-components/p-0345cbd0.system.entry.js +83 -0
- package/dist/magma-components/p-03a6a8bd.system.entry.js +46 -0
- package/dist/magma-components/p-05de42e1.system.entry.js +1 -0
- package/dist/magma-components/p-063bccb3.entry.js +1 -0
- package/dist/magma-components/{p-f65e29e0.system.entry.js → p-0a38e4ce.system.entry.js} +1 -1
- package/dist/magma-components/p-0c89c485.entry.js +1 -0
- package/dist/magma-components/p-0d94a2b8.entry.js +8 -0
- package/dist/magma-components/{p-f8da21a1.system.entry.js → p-0d97e28d.system.entry.js} +2 -2
- package/dist/magma-components/p-108e31e6.entry.js +1 -0
- package/dist/magma-components/p-114f0bb7.system.entry.js +14 -0
- package/dist/magma-components/{p-dcf841d5.entry.js → p-121730d1.entry.js} +1 -1
- package/dist/magma-components/p-137116df.entry.js +1 -0
- package/dist/magma-components/p-13b0babc.system.entry.js +1 -0
- package/dist/magma-components/p-14a108e8.system.entry.js +8 -0
- package/dist/magma-components/p-14eadf95.system.entry.js +21 -0
- package/dist/magma-components/p-154aff83.entry.js +1 -0
- package/dist/magma-components/p-155f79f4.system.entry.js +47 -0
- package/dist/magma-components/p-17b62839.entry.js +1 -0
- package/dist/magma-components/{p-0d3c3de9.entry.js → p-1802d6a7.entry.js} +1 -1
- package/dist/magma-components/{p-91c4015f.system.entry.js → p-188d9770.system.entry.js} +1 -1
- package/dist/magma-components/p-18ba4766.entry.js +1 -0
- package/dist/magma-components/p-1c63801f.system.entry.js +11 -0
- package/dist/magma-components/p-1c6a507c.system.entry.js +17 -0
- package/dist/magma-components/p-1e2388be.entry.js +1 -0
- package/dist/magma-components/{p-a9e4efa3.entry.js → p-22e9a507.entry.js} +1 -1
- package/dist/magma-components/p-24a9871a.system.entry.js +1 -0
- package/dist/magma-components/p-26332bce.system.entry.js +1 -0
- package/dist/magma-components/p-26c85354.system.entry.js +1 -0
- package/dist/magma-components/p-2708561b.system.entry.js +10 -0
- package/dist/magma-components/{p-ad09a06b.entry.js → p-2710ddc4.entry.js} +1 -1
- package/dist/magma-components/{p-019e8a95.system.entry.js → p-2723caa7.system.entry.js} +2 -2
- package/dist/magma-components/p-294241fa.entry.js +1 -0
- package/dist/magma-components/p-2b2d0910.system.entry.js +1 -0
- package/dist/magma-components/p-2c940d19.entry.js +1 -0
- package/dist/magma-components/p-2de5f5fe.entry.js +1 -0
- package/dist/magma-components/p-2e74231d.system.entry.js +4 -0
- package/dist/magma-components/p-2e83f801.system.entry.js +1 -0
- package/dist/magma-components/{p-771720b7.entry.js → p-2f0815f3.entry.js} +1 -1
- package/dist/magma-components/p-30d36dfe.entry.js +1 -0
- package/dist/magma-components/p-323c7aa4.system.entry.js +25 -0
- package/dist/magma-components/{p-32361702.system.entry.js → p-32e077c0.system.entry.js} +2 -2
- package/dist/magma-components/p-334b305d.system.entry.js +16 -0
- package/dist/magma-components/{p-d93c9a11.system.entry.js → p-341994b3.system.entry.js} +2 -2
- package/dist/magma-components/p-35434d4b.system.entry.js +32 -0
- package/dist/magma-components/p-35ee2d77.entry.js +1 -0
- package/dist/magma-components/p-37495e03.entry.js +1 -0
- package/dist/magma-components/{p-7bea6c05.system.entry.js → p-38e0379a.system.entry.js} +2 -2
- package/dist/magma-components/p-3b91efd1.entry.js +1 -0
- package/dist/magma-components/p-3dc4db04.system.entry.js +16 -0
- package/dist/magma-components/p-3f0e82bc.entry.js +1 -0
- package/dist/magma-components/p-3fa6cf85.system.entry.js +1 -0
- package/dist/magma-components/p-40e97485.entry.js +1 -0
- package/dist/magma-components/p-4159c306.entry.js +1 -0
- package/dist/magma-components/p-42411854.system.entry.js +102 -0
- package/dist/magma-components/{p-fc8f8a0c.entry.js → p-42ebba8c.entry.js} +1 -1
- package/dist/magma-components/p-4356d96e.system.entry.js +21 -0
- package/dist/magma-components/{p-6cbd8a6d.system.entry.js → p-4577948d.system.entry.js} +3 -3
- package/dist/magma-components/p-4658a200.entry.js +1 -0
- package/dist/magma-components/{p-06d9af89.entry.js → p-4cfa925a.entry.js} +1 -1
- package/dist/magma-components/p-4dfeb655.system.entry.js +23 -0
- package/dist/magma-components/p-4ef19542.entry.js +1 -0
- package/dist/magma-components/{p-91451e37.system.entry.js → p-508e10b5.system.entry.js} +2 -2
- package/dist/magma-components/p-514d0fcb.entry.js +1 -0
- package/dist/magma-components/p-522fd3d0.system.entry.js +4 -0
- package/dist/magma-components/p-528d913c.system.entry.js +17 -0
- package/dist/magma-components/p-569cbe13.entry.js +1 -0
- package/dist/magma-components/p-574c2c13.system.entry.js +222 -0
- package/dist/magma-components/{p-876a5fb9.system.entry.js → p-584a4ee8.system.entry.js} +1 -1
- package/dist/magma-components/{p-d7515aae.entry.js → p-595fde64.entry.js} +1 -1
- package/dist/magma-components/p-5989cdf2.system.entry.js +16 -0
- package/dist/magma-components/p-5c17a324.entry.js +1 -0
- package/dist/magma-components/p-5df91427.system.entry.js +15 -0
- package/dist/magma-components/{p-c5ad848f.entry.js → p-5f1132b8.entry.js} +1 -1
- package/dist/magma-components/p-5fcc1455.entry.js +1 -0
- package/dist/magma-components/p-61638aa3.entry.js +1 -0
- package/dist/magma-components/p-634727e6.system.entry.js +22 -0
- package/dist/magma-components/{p-289a874e.entry.js → p-6465c8f4.entry.js} +1 -1
- package/dist/magma-components/{p-7c940015.system.entry.js → p-64f78149.system.entry.js} +1 -1
- package/dist/magma-components/p-6764b13a.entry.js +1 -0
- package/dist/magma-components/p-6812f01b.entry.js +1 -0
- package/dist/magma-components/{p-cd5cf28b.system.entry.js → p-6901428b.system.entry.js} +1 -1
- package/dist/magma-components/p-699a7926.entry.js +1 -0
- package/dist/magma-components/p-69d6cc9e.system.entry.js +7 -0
- package/dist/magma-components/p-6a798061.entry.js +1 -0
- package/dist/magma-components/p-6d350c7c.entry.js +1 -0
- package/dist/magma-components/p-6f5a1248.entry.js +1 -0
- package/dist/magma-components/p-6fba5e6c.entry.js +1 -0
- package/dist/magma-components/p-6fd9a2ae.entry.js +1 -0
- package/dist/magma-components/{p-ff970859.system.entry.js → p-6ff8be3e.system.entry.js} +1 -1
- package/dist/magma-components/p-6pgPWpGI.js +1 -0
- package/dist/magma-components/p-70caf05b.system.entry.js +10 -0
- package/dist/magma-components/{p-2d324edc.entry.js → p-70cc167f.entry.js} +1 -1
- package/dist/magma-components/{p-cc1ee10a.system.entry.js → p-736c0e25.system.entry.js} +2 -2
- package/dist/magma-components/p-73e593a2.system.entry.js +95 -0
- package/dist/magma-components/p-7450a7a7.system.entry.js +49 -0
- package/dist/magma-components/p-7535328a.entry.js +1 -0
- package/dist/magma-components/{p-bd9324f3.system.entry.js → p-76f02296.system.entry.js} +1 -1
- package/dist/magma-components/p-789c1b93.system.entry.js +1 -0
- package/dist/magma-components/p-79bc2e81.entry.js +1 -0
- package/dist/magma-components/p-79dc2243.entry.js +1 -0
- package/dist/magma-components/p-7b1c6eb0.entry.js +1 -0
- package/dist/magma-components/p-7b8b51c8.entry.js +1 -0
- package/dist/magma-components/p-7bc0a6c4.entry.js +1 -0
- package/dist/magma-components/p-7c8e79a7.system.entry.js +4 -0
- package/dist/magma-components/p-7c90298a.entry.js +1 -0
- package/dist/magma-components/p-7e02237b.entry.js +1 -0
- package/dist/magma-components/{p-ef4cd904.system.entry.js → p-7f247e64.system.entry.js} +2 -2
- package/dist/magma-components/p-808f6796.entry.js +1 -0
- package/dist/magma-components/{p-a1b5bd58.entry.js → p-82480df5.entry.js} +1 -1
- package/dist/magma-components/{p-61ff1d85.system.entry.js → p-837fbbf7.system.entry.js} +1 -1
- package/dist/magma-components/p-842b1dfc.entry.js +1 -0
- package/dist/magma-components/p-88c7be3d.system.entry.js +68 -0
- package/dist/magma-components/p-89733d3a.system.entry.js +14 -0
- package/dist/magma-components/p-8c75425d.entry.js +1 -0
- package/dist/magma-components/{p-5ac9e2f4.entry.js → p-8c76410b.entry.js} +1 -1
- package/dist/magma-components/p-8cdad12f.entry.js +1 -0
- package/dist/magma-components/p-8d2a6896.entry.js +1 -0
- package/dist/magma-components/p-8d7835e2.system.entry.js +10 -0
- package/dist/magma-components/p-8f039ca0.system.entry.js +7 -0
- package/dist/magma-components/p-8f54cf62.system.entry.js +4 -0
- package/dist/magma-components/p-8f6bd147.entry.js +1 -0
- package/dist/magma-components/p-9017022c.system.entry.js +15 -0
- package/dist/magma-components/p-909f5b60.system.entry.js +55 -0
- package/dist/magma-components/p-94e9f2be.system.entry.js +11 -0
- package/dist/magma-components/p-976bb373.system.entry.js +90 -0
- package/dist/magma-components/p-97d82884.system.entry.js +16 -0
- package/dist/magma-components/p-97de86c6.system.entry.js +16 -0
- package/dist/magma-components/p-97e9a197.system.entry.js +32 -0
- package/dist/magma-components/p-9a936cae.system.entry.js +45 -0
- package/dist/magma-components/p-9c6d184f.entry.js +1 -0
- package/dist/magma-components/p-9db0a6e9.entry.js +1 -0
- package/dist/magma-components/p-9e662528.entry.js +1 -0
- package/dist/magma-components/{p-7ffda4f5.entry.js → p-9ff02a82.entry.js} +1 -1
- package/dist/magma-components/p-B85MJLTf.js +1 -0
- package/dist/magma-components/p-BJqUjYIG.system.js +1 -0
- package/dist/magma-components/{p-Dg8nxRUX.system.js → p-BcYSdbK0.system.js} +85 -53
- package/dist/magma-components/p-BeYLDgbf.js +1 -0
- package/dist/magma-components/p-D6-Ny6z1.system.js +1 -0
- package/dist/magma-components/{p-BPNsbMrg.system.js → p-DhhAXEdA.system.js} +11 -5
- package/dist/magma-components/p-JMPfVnGv.js +1 -0
- package/dist/magma-components/p-ZDRIVCAt.system.js +1 -1
- package/dist/magma-components/p-a3e3a653.system.entry.js +81 -0
- package/dist/magma-components/p-a41e52f7.entry.js +1 -0
- package/dist/magma-components/{p-dc399372.entry.js → p-a462aadd.entry.js} +1 -1
- package/dist/magma-components/p-a4c26b4d.system.entry.js +19 -0
- package/dist/magma-components/{p-2e01e057.system.entry.js → p-a61c7ae9.system.entry.js} +2 -2
- package/dist/magma-components/p-a653e096.entry.js +1 -0
- package/dist/magma-components/p-a8bf46cb.system.entry.js +1 -0
- package/dist/magma-components/p-a9736d68.system.entry.js +4 -0
- package/dist/magma-components/p-ac4435e7.entry.js +1 -0
- package/dist/magma-components/p-ac873ab4.entry.js +1 -0
- package/dist/magma-components/p-acae292f.system.entry.js +28 -0
- package/dist/magma-components/p-add1a8d0.system.entry.js +7 -0
- package/dist/magma-components/p-b1a0e56e.system.entry.js +42 -0
- package/dist/magma-components/p-b33a6f7e.system.entry.js +13 -0
- package/dist/magma-components/p-b492dd4c.entry.js +1 -0
- package/dist/magma-components/{p-d5e53364.system.entry.js → p-b626c69f.system.entry.js} +1 -1
- package/dist/magma-components/p-b99cac43.entry.js +1 -0
- package/dist/magma-components/p-baf0359b.entry.js +1 -0
- package/dist/magma-components/p-bbd414dc.entry.js +1 -0
- package/dist/magma-components/p-be1aad5f.entry.js +1 -0
- package/dist/magma-components/p-bf05f9f3.entry.js +1 -0
- package/dist/magma-components/p-bf8c6647.system.entry.js +11 -0
- package/dist/magma-components/p-bfe19e4b.entry.js +1 -0
- package/dist/magma-components/p-c1a7266a.entry.js +1 -0
- package/dist/magma-components/{p-a0d9e01f.system.entry.js → p-c34d9e61.system.entry.js} +1 -1
- package/dist/magma-components/p-c3585de7.system.entry.js +7 -0
- package/dist/magma-components/p-c45d9a64.system.entry.js +32 -0
- package/dist/magma-components/p-c4ceaef6.system.entry.js +10 -0
- package/dist/magma-components/{p-c48e3460.entry.js → p-c575cb7b.entry.js} +1 -1
- package/dist/magma-components/p-c644c5fc.system.entry.js +1 -0
- package/dist/magma-components/{p-61bedbe7.system.entry.js → p-c69ec735.system.entry.js} +8 -3
- package/dist/magma-components/p-c7d84d1c.system.entry.js +1 -0
- package/dist/magma-components/p-cb8b45fd.entry.js +1 -0
- package/dist/magma-components/p-cbfd8b10.system.entry.js +16 -0
- package/dist/magma-components/{p-ed897f9f.entry.js → p-ce46191c.entry.js} +1 -1
- package/dist/magma-components/p-cebe7b52.entry.js +1 -0
- package/dist/magma-components/p-cefdc01f.system.entry.js +7 -0
- package/dist/magma-components/{p-f0c67a70.system.entry.js → p-d025a34f.system.entry.js} +2 -2
- package/dist/magma-components/p-d1c47baa.entry.js +1 -0
- package/dist/magma-components/p-d269bfb0.entry.js +1 -0
- package/dist/magma-components/p-d42f267b.system.entry.js +40 -0
- package/dist/magma-components/p-d5bd6bef.entry.js +1 -0
- package/dist/magma-components/p-d65d8a09.system.entry.js +1 -0
- package/dist/magma-components/p-d6eca2ef.entry.js +1 -0
- package/dist/magma-components/p-d716efe9.system.entry.js +1 -0
- package/dist/magma-components/{p-d9fbbf3f.entry.js → p-da6ccc03.entry.js} +1 -1
- package/dist/magma-components/p-dbaf5368.system.entry.js +7 -0
- package/dist/magma-components/p-dc340618.entry.js +1 -0
- package/dist/magma-components/p-dc752e9b.entry.js +1 -0
- package/dist/magma-components/p-e238e2eb.entry.js +1 -0
- package/dist/magma-components/p-e388f1f2.system.entry.js +19 -0
- package/dist/magma-components/p-e50fdcee.entry.js +1 -0
- package/dist/magma-components/p-e779a67f.system.entry.js +10 -0
- package/dist/magma-components/p-e8ae4016.system.entry.js +1 -0
- package/dist/magma-components/{p-9eb1e154.system.entry.js → p-e8d95868.system.entry.js} +2 -2
- package/dist/magma-components/p-ed232c76.entry.js +1 -0
- package/dist/magma-components/{p-f3dbebdd.system.entry.js → p-ed6e287d.system.entry.js} +25 -7
- package/dist/magma-components/p-ed87425c.system.entry.js +13 -0
- package/dist/magma-components/p-ed897125.entry.js +1 -0
- package/dist/magma-components/p-ee876b20.system.entry.js +4 -0
- package/dist/magma-components/p-efe0bb12.system.entry.js +7 -0
- package/dist/magma-components/p-f2412853.system.entry.js +27 -0
- package/dist/magma-components/p-f2743a2b.entry.js +1 -0
- package/dist/magma-components/p-f2f2945b.entry.js +1 -0
- package/dist/magma-components/p-f37f1343.entry.js +1 -0
- package/dist/magma-components/p-f3dd135e.system.entry.js +32 -0
- package/dist/magma-components/{p-3a1a6945.entry.js → p-f5bb8c0c.entry.js} +1 -1
- package/dist/magma-components/p-f5ce24e8.entry.js +1 -0
- package/dist/magma-components/p-f8a88f11.entry.js +1 -0
- package/dist/magma-components/p-f900fe90.entry.js +1 -0
- package/dist/magma-components/{p-eff38775.entry.js → p-faa1f22c.entry.js} +1 -1
- package/dist/magma-components/p-pNJmnrhq.js +1 -0
- package/dist/magma-components/p-pxyGaQ-P.system.js +2 -0
- package/dist/stats.json +2971 -2223
- package/dist/types/common/floating-controller.d.ts +8 -1
- package/dist/types/common/hash.d.ts +8 -0
- package/dist/types/common/string.d.ts +3 -1
- package/dist/types/components/mds-button/mds-button.d.ts +10 -0
- package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +1 -0
- package/dist/types/components/mds-calendar/mds-calendar.d.ts +1 -0
- package/dist/types/components/mds-file/mds-file.d.ts +6 -1
- package/dist/types/components/mds-filter/mds-filter.d.ts +15 -0
- package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +18 -1
- package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +1 -0
- package/dist/types/components/mds-horizontal-scroll/mds-horizontal-scroll.d.ts +1 -0
- package/dist/types/components/mds-input/mds-input.d.ts +8 -1
- 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 +5 -0
- package/dist/types/components/mds-input-select/mds-input-select.d.ts +15 -2
- package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +8 -3
- package/dist/types/components/mds-modal/mds-modal.d.ts +1 -0
- package/dist/types/components/mds-pref/mds-pref.d.ts +5 -8
- package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +8 -0
- package/dist/types/components/mds-radial-menu/mds-radial-menu.d.ts +1 -0
- package/dist/types/components/mds-tab/mds-tab.d.ts +8 -0
- package/dist/types/components/mds-table/mds-table.d.ts +8 -1
- package/dist/types/components/mds-table/meta/type.d.ts +1 -0
- package/dist/types/components/mds-table-header-cell/mds-table-header-cell.d.ts +33 -14
- package/dist/types/components/mds-table-header-cell/meta/event-detail.d.ts +6 -0
- package/dist/types/components/mds-text/mds-text.d.ts +8 -4
- package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +8 -1
- package/dist/types/components/mds-usage/mds-usage.d.ts +5 -1
- package/dist/types/components/mds-usage/meta/variants.d.ts +7 -19
- package/dist/types/components.d.ts +123 -18
- package/dist/types/type/floating-ui.d.ts +2 -0
- package/dist/types/type/input.d.ts +3 -0
- package/package.json +15 -15
- package/dist/cjs/_commonjsHelpers-B83fTs8d.js +0 -36
- package/dist/collection/dictionary/icon.js +0 -10
- package/dist/collection/type/icon.js +0 -1
- package/dist/components/p-B3Z2Goa-.js +0 -1
- package/dist/components/p-B3dWp2vS.js +0 -1
- package/dist/components/p-B6FOPjps.js +0 -1
- package/dist/components/p-B7CR1EtF.js +0 -1
- package/dist/components/p-BBPQjm8h.js +0 -1
- package/dist/components/p-BCiJ4PRD.js +0 -1
- package/dist/components/p-BSs0SO-j.js +0 -1
- package/dist/components/p-BTpjOy0A.js +0 -1
- package/dist/components/p-BY6Qu1V4.js +0 -1
- package/dist/components/p-BhmePCyA.js +0 -1
- package/dist/components/p-BpGzrg1C.js +0 -1
- package/dist/components/p-C-J9fW51.js +0 -1
- package/dist/components/p-CAa2kI72.js +0 -1
- package/dist/components/p-CBV19-8O.js +0 -1
- package/dist/components/p-CCv9tBZK.js +0 -1
- package/dist/components/p-CDf607TB.js +0 -1
- package/dist/components/p-CEMAGNly.js +0 -1
- package/dist/components/p-CGYDZBMv.js +0 -1
- package/dist/components/p-CHAGzQT-.js +0 -1
- package/dist/components/p-CHAvkoj3.js +0 -1
- package/dist/components/p-CMFUEkte.js +0 -1
- package/dist/components/p-CR2GGKXK.js +0 -1
- package/dist/components/p-Cb5kuO7B.js +0 -1
- package/dist/components/p-CiNNzAa3.js +0 -1
- package/dist/components/p-DGDdPv_Y.js +0 -1
- package/dist/components/p-D_wD-Pyk.js +0 -1
- package/dist/components/p-E-ZsRS8r.js +0 -1
- package/dist/components/p-HR2JwDjG.js +0 -1
- package/dist/components/p-LE7qQIFR.js +0 -8
- package/dist/components/p-vgIKH234.js +0 -1
- package/dist/esm/_commonjsHelpers-E-ZsRS8r.js +0 -32
- package/dist/esm-es5/_commonjsHelpers-E-ZsRS8r.js +0 -1
- package/dist/magma-components/p-01dd1f55.entry.js +0 -1
- package/dist/magma-components/p-02119624.system.entry.js +0 -40
- package/dist/magma-components/p-02fc7592.entry.js +0 -1
- package/dist/magma-components/p-03cd0069.system.entry.js +0 -1
- package/dist/magma-components/p-05fbca60.system.entry.js +0 -37
- package/dist/magma-components/p-07e4701d.entry.js +0 -1
- package/dist/magma-components/p-081a19b1.system.entry.js +0 -45
- package/dist/magma-components/p-09d0b6a8.entry.js +0 -1
- package/dist/magma-components/p-0b300de7.entry.js +0 -1
- package/dist/magma-components/p-1150ffb8.system.entry.js +0 -10
- package/dist/magma-components/p-115a5e47.entry.js +0 -1
- package/dist/magma-components/p-1314d80e.entry.js +0 -1
- package/dist/magma-components/p-133a6ffd.system.entry.js +0 -49
- package/dist/magma-components/p-13db55de.entry.js +0 -1
- package/dist/magma-components/p-1a2731ec.system.entry.js +0 -10
- package/dist/magma-components/p-1a602906.system.entry.js +0 -13
- package/dist/magma-components/p-1c975156.entry.js +0 -1
- package/dist/magma-components/p-1d154234.system.entry.js +0 -12
- package/dist/magma-components/p-1d9d7666.entry.js +0 -1
- package/dist/magma-components/p-1ddaaa6d.system.entry.js +0 -217
- package/dist/magma-components/p-21aa0a74.entry.js +0 -1
- package/dist/magma-components/p-21c46e74.system.entry.js +0 -4
- package/dist/magma-components/p-2399b7e8.entry.js +0 -1
- package/dist/magma-components/p-25407d89.entry.js +0 -1
- package/dist/magma-components/p-27547a7a.system.entry.js +0 -7
- package/dist/magma-components/p-2be3bd23.system.entry.js +0 -1
- package/dist/magma-components/p-2c586431.entry.js +0 -1
- package/dist/magma-components/p-2e9b80e8.entry.js +0 -1
- package/dist/magma-components/p-30c3872d.entry.js +0 -1
- package/dist/magma-components/p-3231a6a3.entry.js +0 -1
- package/dist/magma-components/p-3448d0ce.entry.js +0 -1
- package/dist/magma-components/p-367cee40.system.entry.js +0 -1
- package/dist/magma-components/p-3a8870e4.system.entry.js +0 -47
- package/dist/magma-components/p-3b68fbcd.system.entry.js +0 -22
- package/dist/magma-components/p-3ecade3c.system.entry.js +0 -11
- package/dist/magma-components/p-3f05ec8a.entry.js +0 -1
- package/dist/magma-components/p-4073c5f2.system.entry.js +0 -90
- package/dist/magma-components/p-40bd2e6d.entry.js +0 -1
- package/dist/magma-components/p-423597db.system.entry.js +0 -4
- package/dist/magma-components/p-443c2a29.system.entry.js +0 -10
- package/dist/magma-components/p-45a91f1c.system.entry.js +0 -1
- package/dist/magma-components/p-487af9d3.entry.js +0 -1
- package/dist/magma-components/p-4909070e.entry.js +0 -1
- package/dist/magma-components/p-4d966161.system.entry.js +0 -14
- package/dist/magma-components/p-4ddf891e.system.entry.js +0 -69
- package/dist/magma-components/p-4e15cde7.entry.js +0 -1
- package/dist/magma-components/p-4f14a166.entry.js +0 -1
- package/dist/magma-components/p-4ffec31a.system.entry.js +0 -1
- package/dist/magma-components/p-50b266e9.system.entry.js +0 -4
- package/dist/magma-components/p-5165b09f.system.entry.js +0 -4
- package/dist/magma-components/p-544cc9c7.system.entry.js +0 -25
- package/dist/magma-components/p-562bb482.system.entry.js +0 -16
- package/dist/magma-components/p-5ae5ec95.entry.js +0 -1
- package/dist/magma-components/p-5d2d8ffe.system.entry.js +0 -11
- package/dist/magma-components/p-5e180f53.system.entry.js +0 -32
- package/dist/magma-components/p-62b17608.system.entry.js +0 -102
- package/dist/magma-components/p-63e7c98f.entry.js +0 -1
- package/dist/magma-components/p-6474c850.entry.js +0 -8
- package/dist/magma-components/p-660657ac.system.entry.js +0 -15
- package/dist/magma-components/p-66237a64.entry.js +0 -1
- package/dist/magma-components/p-6702e489.entry.js +0 -1
- package/dist/magma-components/p-694ed534.entry.js +0 -1
- package/dist/magma-components/p-6b446fd9.system.entry.js +0 -81
- package/dist/magma-components/p-6c414bc2.system.entry.js +0 -19
- package/dist/magma-components/p-6d0dc1fd.entry.js +0 -1
- package/dist/magma-components/p-6ed05d99.entry.js +0 -1
- package/dist/magma-components/p-6f2471b1.entry.js +0 -1
- package/dist/magma-components/p-6fa03aab.system.entry.js +0 -7
- package/dist/magma-components/p-70141ccd.entry.js +0 -1
- package/dist/magma-components/p-707d8626.system.entry.js +0 -2838
- package/dist/magma-components/p-71dafc3f.entry.js +0 -1
- package/dist/magma-components/p-726209f4.system.entry.js +0 -1
- package/dist/magma-components/p-745ee76b.system.entry.js +0 -32
- package/dist/magma-components/p-761415b3.system.entry.js +0 -37
- package/dist/magma-components/p-7a7c308b.entry.js +0 -1
- package/dist/magma-components/p-7ca990d4.system.entry.js +0 -11
- package/dist/magma-components/p-7d6ca97d.system.entry.js +0 -7
- package/dist/magma-components/p-8097dfc8.system.entry.js +0 -7
- package/dist/magma-components/p-809adece.system.entry.js +0 -17
- package/dist/magma-components/p-843ab1b4.entry.js +0 -1
- package/dist/magma-components/p-87026d34.entry.js +0 -1
- package/dist/magma-components/p-8765dc11.entry.js +0 -1
- package/dist/magma-components/p-87faaa8e.system.entry.js +0 -16
- package/dist/magma-components/p-8a838a1a.entry.js +0 -1
- package/dist/magma-components/p-8bcb2a5f.entry.js +0 -1
- package/dist/magma-components/p-8c93550d.entry.js +0 -1
- package/dist/magma-components/p-8ca1d30d.system.entry.js +0 -1
- package/dist/magma-components/p-91c8960a.system.entry.js +0 -1
- package/dist/magma-components/p-932620b6.entry.js +0 -1
- package/dist/magma-components/p-939da879.system.entry.js +0 -8
- package/dist/magma-components/p-97bde480.entry.js +0 -1
- package/dist/magma-components/p-97d02403.entry.js +0 -1
- package/dist/magma-components/p-983f3e40.entry.js +0 -1
- package/dist/magma-components/p-99227c78.system.entry.js +0 -11
- package/dist/magma-components/p-9a583f6b.system.entry.js +0 -1
- package/dist/magma-components/p-9a86e0ce.system.entry.js +0 -1
- package/dist/magma-components/p-9d1cdb42.system.entry.js +0 -15
- package/dist/magma-components/p-9e5982b6.entry.js +0 -1
- package/dist/magma-components/p-9eef2f79.entry.js +0 -1
- package/dist/magma-components/p-9fe14430.system.entry.js +0 -7
- package/dist/magma-components/p-9fe7035a.entry.js +0 -1
- package/dist/magma-components/p-BpVYIPkx.js +0 -1
- package/dist/magma-components/p-CHAGzQT-.js +0 -1
- package/dist/magma-components/p-DIUTGDX_.system.js +0 -1
- package/dist/magma-components/p-E-ZsRS8r.js +0 -1
- package/dist/magma-components/p-a0972ec9.entry.js +0 -1
- package/dist/magma-components/p-a1851e6f.entry.js +0 -1
- package/dist/magma-components/p-a2d9549d.system.entry.js +0 -32
- package/dist/magma-components/p-a5a13b20.entry.js +0 -1
- package/dist/magma-components/p-a6a71c77.entry.js +0 -1
- package/dist/magma-components/p-a96312c1.entry.js +0 -1
- package/dist/magma-components/p-aa0bd826.entry.js +0 -1
- package/dist/magma-components/p-aa74169f.system.entry.js +0 -1
- package/dist/magma-components/p-ab4ffbd4.system.entry.js +0 -68
- package/dist/magma-components/p-ad9cb1f5.entry.js +0 -1
- package/dist/magma-components/p-aed8b119.entry.js +0 -1
- package/dist/magma-components/p-afbef2fc.entry.js +0 -1
- package/dist/magma-components/p-b183d698.system.entry.js +0 -16
- package/dist/magma-components/p-b49196da.entry.js +0 -1
- package/dist/magma-components/p-b77a2832.entry.js +0 -1
- package/dist/magma-components/p-b925c109.system.entry.js +0 -14
- package/dist/magma-components/p-b9e3281a.system.entry.js +0 -72
- package/dist/magma-components/p-bb0538b6.entry.js +0 -1
- package/dist/magma-components/p-bb055583.entry.js +0 -1
- package/dist/magma-components/p-bc6a41a9.system.entry.js +0 -1
- package/dist/magma-components/p-c4beed1b.entry.js +0 -1
- package/dist/magma-components/p-c4ccb710.entry.js +0 -1
- package/dist/magma-components/p-c4e4ba90.system.entry.js +0 -38
- package/dist/magma-components/p-c573e136.entry.js +0 -1
- package/dist/magma-components/p-c6841b21.entry.js +0 -1
- package/dist/magma-components/p-c89a44b2.entry.js +0 -1
- package/dist/magma-components/p-c94575de.entry.js +0 -1
- package/dist/magma-components/p-cabe9133.system.entry.js +0 -4
- package/dist/magma-components/p-cb2c5f1b.entry.js +0 -1
- package/dist/magma-components/p-cb571b55.system.entry.js +0 -1
- package/dist/magma-components/p-cbc0f01f.system.entry.js +0 -17
- package/dist/magma-components/p-cd1dc29a.entry.js +0 -1
- package/dist/magma-components/p-cd952369.entry.js +0 -1
- package/dist/magma-components/p-d35aebe5.entry.js +0 -1
- package/dist/magma-components/p-d74fa7af.entry.js +0 -1
- package/dist/magma-components/p-d7a94afb.system.entry.js +0 -7
- package/dist/magma-components/p-db492cf5.system.entry.js +0 -13
- package/dist/magma-components/p-dc06b29e.entry.js +0 -1
- package/dist/magma-components/p-dc7bada4.entry.js +0 -1
- package/dist/magma-components/p-dfb4a965.system.entry.js +0 -28
- package/dist/magma-components/p-e1a91e9e.system.entry.js +0 -1
- package/dist/magma-components/p-e5438280.system.entry.js +0 -10
- package/dist/magma-components/p-e8cd2b93.system.entry.js +0 -4
- package/dist/magma-components/p-e95f2a48.entry.js +0 -1
- package/dist/magma-components/p-eb113725.system.entry.js +0 -1
- package/dist/magma-components/p-ec5eccbb.entry.js +0 -1
- package/dist/magma-components/p-eca99a0a.system.entry.js +0 -1
- package/dist/magma-components/p-eea815ca.system.entry.js +0 -16
- package/dist/magma-components/p-eff1fd6c.system.entry.js +0 -15
- package/dist/magma-components/p-f01874a8.entry.js +0 -1
- package/dist/magma-components/p-f05d7005.entry.js +0 -1
- package/dist/magma-components/p-f215496c.entry.js +0 -1
- package/dist/magma-components/p-f28cfb33.system.entry.js +0 -4
- package/dist/magma-components/p-f830793e.entry.js +0 -1
- package/dist/magma-components/p-f835c307.system.entry.js +0 -7
- package/dist/magma-components/p-f89c3a01.system.entry.js +0 -32
- package/dist/magma-components/p-f8eb19b3.entry.js +0 -1
- package/dist/magma-components/p-f8feee93.system.entry.js +0 -4
- package/dist/magma-components/p-f97b4ff4.system.entry.js +0 -16
- package/dist/magma-components/p-fcaa5967.entry.js +0 -18
- package/dist/types/dictionary/icon.d.ts +0 -4
- package/dist/types/type/icon.d.ts +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./p-DaONbL_w.system.js","./p-hVpoPUxI.system.js"],(function(e){"use strict";var t,r,a,i;return{setters:[function(e){t=e.r;r=e.h;a=e.e},function(e){i=e.p}],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{--mds-price-table-features-border-color:rgb(var(--magma-border-muted,var(--magma-tint-border-muted,var(--border-neutral-muted,219 219 219))));--mds-price-table-features-padding:calc(var(--spacing,.0025rem)*300);--mds-price-table-features-transition-duration:var(--duration-200,.2s);--private-price-table-features-transition-duration:var(--mds-price-table-features-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));display:flex;-webkit-transition-duration:var(--private-price-table-features-transition-duration);transition-duration:var(--private-price-table-features-transition-duration);transition-property:border-color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));width:100%}.table-wrapper{scroll-margin-inline:calc(var(--spacing,.0025rem)*600);width:100%}table{border-collapse:collapse;min-width:100%;table-layout:fixed}header{border-bottom:1px solid var(--mds-price-table-features-border-color,rgb(var(--magma-border-muted,var(--magma-tint-border-muted,var(--border-neutral-muted,219 219 219)))));padding:var(--mds-price-table-features-padding) var(--mds-price-table-features-padding) var(--mds-price-table-features-padding) 0}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-price-table-features-transition-duration:0s}:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-price-table-features-transition-duration:0s}}'};var o=e("mds_price_table_features",/** @class */function(){function e(e){t(this,e)}e.prototype.render=function(){return r(a,{key:"d70c4af7518a4280b71393333027f3e067019b60","pref-animation":i.state.animation,"pref-contrast":i.state.contrast,"pref-mode":i.state.mode,"pref-theme-scheme":i.state["theme-scheme"]},r("div",{key:"87bfba63057a0aeacb866b4bfa497b7ec488d55e",class:"table-wrapper"},this.label&&r("header",{key:"56de561592a74bcb1527f597e82e6490850f548d",part:"header"},r("mds-text",{key:"95d9b062f696eb256b977285bb0323a7ae24b025",typography:"detail"},r("b",{key:"85df0236c37b1964cc27fcad7309fe71364ad0c0"},this.label))),r("table",{key:"481d988c1ed0cfc67a26bc10f291bb3db44ee774"},r("tbody",{key:"f793c21d2d3e833d893defb8edb39c4623128387"},r("slot",{key:"00a86da6bf07888f31f3a2e1df0fa85bdb99eae9"})))))};return e}());o.style=n()}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t,e as a}from"./p-BxPbQB28.js";const r=class{constructor(t){e(this,t)}render(){return t(a,{key:"d2dd005b554bf8aa3d05cafd8948a883144d1c7b"},t("slot",{key:"96beafef46bc93ff413e8fed2d9cf045e027f2fa"}))}};r.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-price-table-list:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*600);grid-template-columns:repeat(auto-fit,minmax(1px,1fr))}";export{r as mds_price_table_header}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,d as a,h as i,e,g as r}from"./p-BxPbQB28.js";import{c as s}from"./p-ChV9xqsO.js";import{m as n}from"./p-DiWN48aq.js";import{m as o}from"./p-Ccz0jCNB.js";import{m as d}from"./p-D17B058a.js";import{m as l}from"./p-CvUz9jjh.js";import{s as h}from"./p-wI0alRSO.js";import{u as c}from"./p-8yWTOQiz.js";import{L as m}from"./p-Kv1yahtR.js";import{h as u}from"./p-CSCy6TMW.js";import{p}from"./p-7-TP6wnI.js";var g='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/></svg>',v='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 14c1.66 0 3-1.34 3-3V5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3z"/><path d="M17 11c0 2.76-2.24 5-5 5s-5-2.24-5-5H5c0 3.53 2.61 6.43 6 6.92V21h2v-3.08c3.39-.49 6-3.39 6-6.92h-2z"/></svg>',b={decrease:"Μείωση",hidePassword:"Απόκρυψη κωδικού",increase:"Αύξηση",showPassword:"Εμφάνιση κωδικού",speechToTextError:"Η φωνητική υπαγόρευση δεν υποστηρίζεται από αυτό το πρόγραμμα περιήγησης",speechToTextOff:"Διακοπή φωνητικής υπαγόρευσης",speechToTextOn:"Έναρξη φωνητικής υπαγόρευσης"},f={decrease:"Decrease",hidePassword:"Hide password",increase:"Increase",showPassword:"Show password",speechToTextError:"Voice dictation is not supported by this browser",speechToTextOff:"Stop voice dictation",speechToTextOn:"Start voice dictation"},x={decrease:"Disminuir",hidePassword:"Ocultar contraseña",increase:"Aumentar",showPassword:"Mostrar contraseña",speechToTextError:"El dictado por voz no es compatible con este navegador",speechToTextOff:"Detener dictado por voz",speechToTextOn:"Iniciar dictado por voz"},w={decrease:"Diminuisci",hidePassword:"Nascondi password",increase:"Aumenta",showPassword:"Visualizza password",speechToTextError:"Dettatura vocale non supportata da questo browser",speechToTextOff:"Ferma dettatura vocale",speechToTextOn:"Inizia dettatura vocale"};const y=()=>null,z=t=>t.length>0?null:{required:""},k=(()=>{try{return RegExp("","v").flags}catch(t){return"u"}})(),C=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,M=t=>""===t||C.test(t)?null:{email:"indirizzo email non valido"},T=t=>{if(""===t)return null;try{return new URL(t),null}catch(t){return{url:"url non valido"}}},A=t=>{if(""===t)return null;const a={piva:"partita iva non valida"};if(!/^\d{11}$/.test(t))return a;const i=t.split("").map(Number);return(10-i.slice(0,10).reduce(((t,a,i)=>{if(i%2==0)return t+a;const e=2*a;return t+(e>9?e-9:e)}),0)%10)%10===i[10]?null:a},N=t=>{if(""===t)return null;const a={cc:"numero di carta non valido"};if(!/^\d+(?:[ -]\d+)*$/.test(t))return a;const i=t.replace(/[ -]/g,"");return i.length<13||i.length>19?a:i.split("").reverse().map(Number).reduce(((t,a,i)=>{if(i%2==0)return t+a;const e=2*a;return t+(e>9?e-9:e)}),0)%10==0?null:a},L=t=>{if(""===t)return null;if(Number.isNaN(t.slice(0,-1))||10!==t.length&&13!==t.length)return{"isbn-error":"formato isbn non correto"};const a=t.split("").map((t=>"X"===t?10:Number(t)));let i=0;return i=10===t.length?a.reduce(((t,a,i)=>t+(10-i)*a),0)%11:a.reduce(((t,a,i)=>t+a*(i%2==0?1:3)),0)%10,0===i?null:{"isbn-error":"codice isbn non valido"}};class V{constructor(){this._validators=[],this._errors=null,this.isValid=!0}addValidator(t){Array.isArray(t)?this._validators.push(...t):this._validators.push(t)}_hasValidator(t,a){return Array.isArray(t)?t.includes(a):t===a}hasValidator(t){return t?this._hasValidator(this._validators,t):this._validators.length>0}removeValidator(t){this._validators=this._validators.filter((a=>!this._hasValidator(t,a)))}check(t){const a=this._validators.map((a=>a(t))).reduce(((t,a)=>Object.assign(Object.assign({},t),a)),y);return 0===Object.keys(a).length?null:a}validate(t){this._errors=this.check(t),this.isValid=!this._errors}get errors(){return this._errors}}class P{}P.CF_Regex=/^(?:[A-Z][AEIOU][AEIOUX]|[AEIOU]X{2}|[B-DF-HJ-NP-TV-Z]{2}[A-Z]){2}(?:[\dLMNP-V]{2}(?:[A-EHLMPR-T](?:[04LQ][1-9MNP-V]|[15MR][\dLMNP-V]|[26NS][0-8LMNP-U])|[DHPS][37PT][0L]|[ACELMRT][37PT][01LM]|[AC-EHLMPR-T][26NS][9V])|(?:[02468LNQSU][048LQU]|[13579MPRTV][26NS])B[26NS][9V])(?:[A-MZ][1-9MNP-V][\dLMNP-V]{2}|[A-M][0L](?:[1-9MNP-V][\dLMNP-V]|[0L][1-9MNP-V]))[A-Z]$/i,P.CF_MASK="A{6}(99|AA)A(99|AA)A(999|AAA)A",P.CC_MASK="9999-9999-9999-9999";class I{constructor(t){this.validator=new V,this.pattern=t}mask(t){if(!this.pattern)throw new Error("no pattern found, set pattern before mask")}isValid(t){return this.validator.validate(t),this.validator.isValid}}function R(t){let a;switch(t){case"tel":default:a=new I("");break;case"email":a=new I(""),a.validator.addValidator(M);break;case"url":a=new I(""),a.validator.addValidator(T);break;case"cc":a=new I(P.CC_MASK),a.validator.addValidator(N);break;case"cf":a=new I(P.CF_MASK),a.validator.addValidator((t=>""===t||P.CF_Regex.test(t)?null:{"cf-regex":"Codice fiscale inserito non corretto"})),a.validator.addValidator((t=>""===t||16===t.length?null:{"cf-length":"Codice fiscale deve essere lungo 16 caratteri"}));break;case"isbn":a=new I,a.validator.addValidator(L);break;case"piva":a=new I(""),a.validator.addValidator(A)}return a}const O=["cf-length","cf-regex","isbn-error"],S=class{constructor(i){t(this,i),this.changeEvent=a(this,"mdsInputChange",7),this.keyDownEvent=a(this,"mdsInputKeydown",7),this.blurEvent=a(this,"mdsInputBlur",7),this.focusEvent=a(this,"mdsInputFocus",7),this.speechEvent=a(this,"mdsInputSpeechEnd",7),this.validationEvent=a(this,"mdsInputValidation",7),i.$hostElement$["s-ei"]?this.internals=i.$hostElement$["s-ei"]:(this.internals=i.$hostElement$.attachInternals(),i.$hostElement$["s-ei"]=this.internals),this.defaultValue="",this.inputValidation=R("text"),this.customValidators=[],this.validated=!1,this.speechToTextLabelKey="speechToTextOn",this.speechToTextIcon=v,this.hasFocus=!1,this.isRecording=!1,this.countVariant="count-empty",this.isPasswordVisible=!1,this.t=new m({el:b,en:f,es:x,it:w}),this.formDisabled=!1,this.autocomplete="off",this.autofocus=!1,this.await=!1,this.controlsLayout="vertical",this.controlsIcon="arrow",this.disabled=!1,this.readonly=!1,this.required=!1,this.variant="primary",this.type="text",this.typography="detail",this.value="",this.isDisabled=()=>!!this.disabled||this.formDisabled,this.canEdit=()=>!this.isDisabled()&&!this.readonly,this.countMaxLength=()=>{var t,a,i;if(void 0===this.maxlength||0===this.maxlength||Number.isNaN(this.maxlength))return;if(void 0===this.value)return;this.currentLengthLabel=`${null!==(a=null===(t=this.value)||void 0===t?void 0:t.length)&&void 0!==a?a:0} / ${this.maxlength}`;const e=Math.round(100*this.value.length/this.maxlength);this.countVariant=(null===(i=this.value)||void 0===i?void 0:i.length)!==this.maxlength?e>=100?"count-full":e>=75?"count-almost-full":e>=50?"count-almost":e>=25?"count-incomplete":"count-empty":"count-full"},this.onInput=t=>{const a=t.target;a&&(this.value=a.value,h(this.internals,this.value))},this.onKeyDown=t=>{this.keyDownEvent.emit(t)},this.onBlur=()=>{this.hasFocus=!1,this.validateInput(),this.blurEvent.emit()},this.onFocus=t=>{const a=t.target;this.hasFocus=!0,this.focusEvent.emit(),this.readonly&&setTimeout((()=>{a.select()}),10)},this.stepUp=()=>{this.nativeInput&&this.canEdit()&&(this.nativeInput.stepUp(),this.value=this.nativeInput.value)},this.stepDown=()=>{this.nativeInput&&this.canEdit()&&(this.nativeInput.stepDown(),this.value=this.nativeInput.value)},this.toggleTextRecognition=()=>{if(this.isRecording||this.canEdit()){if(this.isRecording=!this.isRecording,!this.isRecording)return this.speechToTextLabelKey="speechToTextOn",this.speechToTextIcon=v,void this.stopRecognition();this.speechToTextLabelKey="speechToTextOff",this.speechToTextIcon=l,this.startRecognition()}},this.handlePasswordToggleClick=()=>{this.isPasswordVisible=!this.isPasswordVisible},this.onSpeechRecognitionError=()=>{console.error("SpeechRecognition API may not work properly on Chrome based browsers."),this.speechButton.classList.remove("mic-toggle-button--recording"),this.speechButton.classList.add("toggle-button--error"),this.isRecording=!1,this.speechToTextLabelKey="speechToTextError",this.speechToTextIcon='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10.8 4.9c0-.66.54-1.2 1.2-1.2s1.2.54 1.2 1.2l-.01 3.91L15 10.6V5c0-1.66-1.34-3-3-3c-1.54 0-2.79 1.16-2.96 2.65l1.76 1.76V4.9zM19 11h-1.7c0 .58-.1 1.13-.27 1.64l1.27 1.27c.44-.88.7-1.87.7-2.91zM4.41 2.86L3 4.27l6 6V11c0 1.66 1.34 3 3 3c.23 0 .44-.03.65-.08l1.66 1.66c-.71.33-1.5.52-2.31.52c-2.76 0-5.3-2.1-5.3-5.1H5c0 3.41 2.72 6.23 6 6.72V21h2v-3.28a7.13 7.13 0 0 0 2.55-.9l4.2 4.2l1.41-1.41L4.41 2.86z"/></svg>'},this.startRecognition=()=>{var t,a,i;null==this.speechButton&&(this.speechButton=null===(a=null===(t=this.el)||void 0===t?void 0:t.shadowRoot)||void 0===a?void 0:a.querySelector(".mic-toggle-button"));const e=null!==(i=window.SpeechRecognition)&&void 0!==i?i:window.webkitSpeechRecognition;if(!e)return void this.onSpeechRecognitionError();this.value="",this.recognition=new e,this.recognition.continuous=!0,this.recognition.lang=navigator.language||"it-IT",this.recognition.interimResults=!0,this.recognition.maxAlternatives=1;let r="",s=0;this.recognition.onresult=t=>{if(!this.canEdit())return void(this.isRecording&&this.toggleTextRecognition());const a=t.results[s];if(a.isFinal)return r+=a[0].transcript,this.value=r,void(s+=1);this.value=r+a[0].transcript},this.recognition.onerror=t=>{console.error("SpeechRecognition API error:",t.error),this.onSpeechRecognitionError()},this.recognition.start()},this.stopRecognition=()=>{this.recognition&&(this.recognition.stop(),this.speechEvent.emit())}}formDisabledCallback(t){this.formDisabled=t}formResetCallback(){const t=this.validated;this.validated=!1,this.isValid=!(this.required&&""===this.defaultValue),this.value=this.defaultValue,t&&(this.variant="primary")}connectedCallback(){this.datalistId=`datalist-${u()}`}componentWillLoad(){var t,a,i;if(this.defaultValue=null!==(t=this.value)&&void 0!==t?t:"",this.el.hasAttribute("tabindex")){const t=this.el.getAttribute("tabindex");this.tabindex=null!==t?parseInt(t):void 0,this.el.removeAttribute("tabindex")}h(this.internals,null!==(a=this.value)&&void 0!==a?a:null),this.maxLengthChanged(this.maxlength),this.buildValidation(),this.isValid=!(this.required&&""===(null!==(i=this.value)&&void 0!==i?i:""))}componentDidLoad(){var t,a;this.autofocus&&(null===(t=this.nativeInput)||void 0===t||t.focus()),this.variantChanged(null!==(a=this.variant)&&void 0!==a?a:"primary")}componentDidRender(){this.updateFormValidity()}buildValidation(){var t,a;const i=R(null!==(t=this.type)&&void 0!==t?t:"text"),{validator:e}=i,r=this.numericBound(this.max),s=this.numericBound(this.min);var n;this.required&&e.addValidator(z),void 0!==r&&e.addValidator((t=>a=>{if(""===a||null===t)return null;const i=parseFloat(a);return!isNaN(i)&&i>t?{max:`valore massimo ${t}`}:null})(r)),void 0!==s&&e.addValidator((t=>a=>{if(""===a||null===t)return null;const i=parseFloat(a);return!isNaN(i)&&i<t?{min:`valore minimo ${t}`}:null})(s)),void 0===this.maxlength||0===this.maxlength||Number.isNaN(this.maxlength)||e.addValidator((n=this.maxlength,t=>""===t||null===n?null:t.length>n?{minLenght:`La lunghezza massima accettata è ${n}`}:null)),void 0===this.minlength||0===this.minlength||Number.isNaN(this.minlength)||e.addValidator((t=>a=>""===a||null===t?null:a.length<t?{minLenght:`La lunghezza minima accettata è ${t}`}:null)(this.minlength));const o=this.patternApplies()?(t=>{let a;try{a=new RegExp(`^(?:${t})$`,k)}catch(t){return null}return t=>""===t||a.test(t)?null:{pattern:"formato non valido"}})(null!==(a=this.pattern)&&void 0!==a?a:""):null;o&&e.addValidator(o),e.addValidator(this.customValidators),this.inputValidation=i}patternApplies(){var t,a;return""!==(null!==(t=this.pattern)&&void 0!==t?t:"")&&!["date","number","textarea","time"].includes(null!==(a=this.type)&&void 0!==a?a:"text")}numericBound(t){if(null==t||""===t)return;const a=Number(t);return Number.isNaN(a)?void 0:a}updateFormValidity(){var t;const a=null!==(t=this.value)&&void 0!==t?t:"",i=this.inputValidation.validator.check(a),e=i?((t,a,i)=>{const[e]=Object.keys(t);switch(e){case"required":return{rule:"required"};case"max":return{rule:"max",context:{max:i.max}};case"min":return{rule:"min",context:{min:i.min}};case"minLenght":return void 0!==i.maxlength&&a.length>i.maxlength?{rule:"maxlength",context:{maxlength:i.maxlength}}:{rule:"minlength",context:{minlength:i.minlength}};case"pattern":return{rule:"pattern"};case"email":return{rule:"email"};case"url":return{rule:"url"};case"piva":return{rule:"vatNumber"};case"cc":return{rule:"cardNumber"};default:return{rule:"invalid",message:O.includes(e)?void 0:t[e]}}})(i,a,{max:this.numericBound(this.max),maxlength:this.maxlength,min:this.numericBound(this.min),minlength:this.minlength}):void 0;c(this.internals,e,this.nativeInput)}invalidHandler(){this.validateInput()}validationRulesChanged(){var t;this.buildValidation(),this.updateFormValidity(),this.validated?this.inputValidation.validator.hasValidator()?this.validateInput():(this.validated=!1,this.isValid=!0,this.variant="primary"):this.isValid=!(this.required&&""===(null!==(t=this.value)&&void 0!==t?t:""))}valueChanged(){var t;this.changeEvent.emit({value:this.value}),h(this.internals,null!==(t=this.value)&&void 0!==t?t:null),this.updateFormValidity(),void 0!==this.maxlength&&this.countMaxLength(),""!==this.value&&(this.isValid||this.validateInput())}variantChanged(t){"ai"===t&&void 0===this.icon&&(this.icon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M10 11H8V8h2zM16 11h-2V8h2z"/>\n <path fill-rule="evenodd" d="M21.544 10.436a3 3 0 0 1 0 3.128l-3.667 6A3 3 0 0 1 15.317 21H8.683a3 3 0 0 1-2.56-1.436l-3.666-6a3 3 0 0 1 0-3.128l3.667-6A3 3 0 0 1 8.683 3h6.635a3 3 0 0 1 2.56 1.436zM4.162 11.479a1 1 0 0 0 0 1.043l3.668 6a1 1 0 0 0 .853.478h6.634a1 1 0 0 0 .853-.479l3.667-6a1 1 0 0 0 0-1.042l-3.667-6A1 1 0 0 0 15.317 5H8.683a1 1 0 0 0-.853.479z" clip-rule="evenodd"/>\n <path d="M16.707 14.707C15.477 15.937 13.698 16.5 12 16.5s-3.477-.563-4.707-1.793l1.414-1.414c.77.77 1.991 1.207 3.293 1.207s2.523-.437 3.293-1.207z"/>\n</svg>\n')}maxLengthChanged(t){void 0!==t&&(t<=0?this.maxlength=void 0:this.countMaxLength())}async addValidator(t){return this.customValidators.push(t),this.inputValidation.validator.addValidator(t),this.updateFormValidity(),Promise.resolve()}async removeValidator(t){this.customValidators=this.customValidators.filter((a=>a!==t)),this.inputValidation.validator.removeValidator(t),this.updateFormValidity()}async hasValidator(t){return this.inputValidation.validator.hasValidator(t)}async getErrors(){return Promise.resolve(this.inputValidation.validator.errors)}validateInput(){var t,a;return this.inputValidation.validator.hasValidator()&&(this.validated=!0,this.isValid=this.inputValidation.isValid(null!==(t=this.value)&&void 0!==t?t:""),this.variant=""!==(null!==(a=this.value)&&void 0!==a?a:"")||this.required?this.isValid?"success":"error":"primary",this.validationEvent.emit(this.isValid)),this.isValid}disabledChanged(t){t&&h(this.internals,null)}async setFocus(){this.nativeInput&&this.nativeInput.focus()}getInputElement(){return Promise.resolve(this.nativeInput)}render(){var t,a,r;return i(e,{key:"e98dfd4911f9049d49f6bb2cbcc854d83f7bcc2e","pref-animation":p.state.animation,"pref-contrast":p.state.contrast,"pref-mode":p.state.mode,"pref-theme-scheme":p.state["theme-scheme"]},"number"===this.type&&"horizontal"===this.controlsLayout&&i("mds-button",{key:"8aa4d89a26efecca98c6218df9fd3f2e4aebfaab",class:"counter-button counter-button--horizontal counter-button--decrease",icon:"arrow"===this.controlsIcon?n:d,disabled:!this.canEdit(),onClick:this.stepDown,tabindex:"0",title:this.t.get("decrease"),variant:"dark",tone:"text",part:"counter-button-decrease"}),"textarea"===this.type?i("textarea",{"aria-label":this.accessibleName,class:s("input",(null!==(t=this.icon)&&void 0!==t?t:this.await)&&"has-icon",this.mic&&"has-right-icon"),autoFocus:this.autofocus,disabled:this.isDisabled(),maxLength:this.maxlength,minLength:this.minlength,name:this.name,onBlur:this.onBlur,onFocus:this.onFocus,onInput:this.onInput,onKeyDown:this.onKeyDown,part:"field",placeholder:this.placeholder,readOnly:this.readonly,ref:t=>this.nativeInput=t,required:this.required,tabIndex:this.tabindex,value:this.value}):i("input",{"aria-label":this.accessibleName,class:s("input",(null!==(a=this.icon)&&void 0!==a?a:this.await)&&"has-icon",this.mic&&"has-right-icon"),autoComplete:this.autocomplete,autoFocus:this.autofocus,disabled:this.isDisabled(),max:this.max,maxLength:this.maxlength,min:this.min,minLength:this.minlength,name:this.name,onBlur:this.onBlur,onFocus:this.onFocus,onInput:this.onInput,onKeyDown:this.onKeyDown,pattern:this.pattern,list:this.datalistId,part:"field",placeholder:this.placeholder,readOnly:this.readonly,ref:t=>this.nativeInput=t,required:this.required,step:this.step,tabIndex:this.tabindex,type:"password"===this.type&&this.isPasswordVisible?"text":this.type,value:this.value}),"number"===this.type&&"vertical"===this.controlsLayout&&i("div",{key:"ea18b72e539be1a3999cf021646ae1977b6905d0",class:"counter counter--vertical"},i("mds-button",{key:"be0db9bc9f9d673ba7e59842949069f86f9b2a1f",class:"counter-button",icon:"arrow"===this.controlsIcon?o:g,disabled:!this.canEdit(),onClick:this.stepUp,tabindex:"0",title:this.t.get("increase"),variant:"dark",size:"sm",tone:"text",part:"counter-button-increase"}),i("mds-button",{key:"0f2addcae6099723b48d445fa86466af27a18438",class:"counter-button",icon:"arrow"===this.controlsIcon?n:d,disabled:!this.canEdit(),onClick:this.stepDown,tabindex:"0",title:this.t.get("decrease"),variant:"dark",size:"sm",tone:"text",part:"counter-button-decrease"})),"number"===this.type&&"horizontal"===this.controlsLayout&&i("mds-button",{key:"f0220f216f7fdfde34069bccc87d88daae4427f8",class:"counter-button counter-button--horizontal counter-button--increase",variant:"dark",tone:"text",icon:"arrow"===this.controlsIcon?o:g,disabled:!this.canEdit(),onClick:this.stepUp,tabindex:"0",title:this.t.get("increase"),part:"counter-button-increase"}),"password"===this.type&&i("mds-button",{key:"1fdde24093d50873386726672a73fbc9e635290a",class:"password-toggle-button",variant:"dark",tone:"text",icon:this.isPasswordVisible?'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 7c2.76 0 5 2.24 5 5c0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75c-1.73-4.39-6-7.5-11-7.5c-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28l.46.46A11.804 11.804 0 0 0 1 12c1.73 4.39 6 7.5 11 7.5c1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22L21 20.73L3.27 3L2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65c0 1.66 1.34 3 3 3c.22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53c-2.76 0-5-2.24-5-5c0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15l.02-.16c0-1.66-1.34-3-3-3l-.17.01z"/></svg>':'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5s5 2.24 5 5s-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3s3-1.34 3-3s-1.34-3-3-3z"/></svg>',disabled:this.isDisabled(),onClick:this.handlePasswordToggleClick,tabindex:"0",title:this.t.get(this.isPasswordVisible?"hidePassword":"showPassword"),part:"password-toggle-button"}),"password"===this.type&&!this.isPasswordVisible&&(null===(r=this.value)||void 0===r?void 0:r.length)>0&&i("div",{key:"350eae292f70f47749102cfc22eb43bee44b84d3",class:"password-mask"},i("div",{key:"11520490050edd2e0ef20f2c93b616b07a736638",class:"password-mask-items",part:"password-mask-items"},Array.from({length:this.value.length}).map(((t,a)=>i("div",{key:a,class:"password-mask-item",part:"password-mask-item"}))))),this.mic&&i("mds-button",{key:"288dec6380c3804d378e92b30f4290887eb38caa",class:s("mic-toggle-button",this.isRecording&&"mic-toggle-button--recording"),icon:this.speechToTextIcon,disabled:!this.canEdit(),onClick:this.toggleTextRecognition,tabindex:"0",title:this.t.get(this.speechToTextLabelKey),variant:"dark",tone:"text",part:"mic-toggle-button"}),i("mds-input-tip",{key:"bdb119be3d5cdb758d99d63a5dfba1b2658b9545",position:"top",active:this.hasFocus,part:"tip-top"},this.isDisabled()&&i("mds-input-tip-item",{key:"526ef86e195dfaa581363f4990fcaff881dd429d",expanded:!0,variant:"disabled"}),this.readonly&&i("mds-input-tip-item",{key:"6d7e2a71f19619c2bb1f40f7d63c7e4f708d2de4",expanded:!0,variant:"readonly"}),this.required&&i("mds-input-tip-item",{key:"3cdc383bf5b268b0ec56398f3ee31297ecb5d269",expanded:this.hasFocus,variant:this.isValid?"required-success":"required"})),i("mds-input-tip",{key:"b392c1a2cfdc1c6e1ee89b411947c33eab59966b",position:"bottom",active:this.hasFocus,part:"tip-bottom"},this.tip&&i("mds-input-tip-item",{key:"0e226662f231385374584108bc697b2e3ed1c966",expanded:!0,variant:"text"},this.tip),this.maxlength&&i("mds-input-tip-item",{key:"da1f2b47314195e49f1eafb7ece178bee9a7e6ea",part:"tip-count",expanded:!0,variant:this.countVariant},this.currentLengthLabel)),this.datalist&&i("datalist",{key:"8e9c0db9f8fbc793837c8303fb341ac6b4c25329",id:this.datalistId,class:"datalist"},this.datalist.map(((t,a)=>i("option",{key:a,value:t})))),this.icon&&!this.await&&i("mds-icon",{key:"99288349ffca9f7a7ceb586636dd2ad5be8c8363",class:s("icon",this.variant),name:this.icon}),i("mds-spinner",{key:"cd35aa63243adb128254d7b4a488f63d9ab4bac5",running:this.await,class:s("await",this.variant)}))}static get formAssociated(){return!0}get el(){return r(this)}static get watchers(){return{max:[{validationRulesChanged:0}],maxlength:[{validationRulesChanged:0},{maxLengthChanged:0}],min:[{validationRulesChanged:0}],minlength:[{validationRulesChanged:0}],pattern:[{validationRulesChanged:0}],required:[{validationRulesChanged:0}],type:[{validationRulesChanged:0}],value:[{valueChanged:0}],variant:[{variantChanged:0}],disabled:[{disabledChanged:0}]}}};S.style='@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-icon,mds-input-tip,mds-input-tip-item,mds-spinner):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-background:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255))));--mds-input-icon-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))));--mds-input-placeholder-default-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-input-placeholder-focus-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-input-placeholder-hover-color:var(--mds-input-placeholder-default-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))));--mds-input-ring:0 0 0 1px rgb(var(--mds-input-variant-color-rgb,0 0 0)/.1);--mds-input-shadow:0 1px 3px 0 rgb(var(--mds-input-variant-color-rgb,0 0 0)/.1),0 1px 2px 0 rgb(var(--mds-input-variant-color-rgb,0 0 0)/.06);--mds-input-textarea-field-sizing:content;--mds-input-textarea-resize:none;--mds-input-textarea-max-height:calc(var(--spacing,.0025rem)*6400);--mds-input-textarea-min-height:calc(var(--spacing,.0025rem)*2400);--mds-input-tip-background:rgb(var(--magma-surface-inverse-muted,var(--magma-tint-scale-03,var(--tone-neutral-03,73 73 73))));--mds-input-tip-horizontal-offset-focused:calc(var(--spacing,.0025rem)*100);--mds-input-tip-horizontal-offset:calc(var(--spacing,.0025rem)*100);--mds-input-tip-vertical-offset:calc(var(--spacing,.0025rem)*100);--mds-input-variant-color-rgb:var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204)));--mds-input-border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px));--mds-input-transition-duration:var(--duration-300,.3s);--mds-input-controls-border:2px solid rgb(var(--magma-border-muted,var(--magma-tint-border-muted,var(--border-neutral-muted,219 219 219))));--mds-input-controls-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));--private-input-transition-duration:var(--mds-input-transition-duration);border-radius:var(--mds-input-border-radius);corner-shape:var(--magma-corner-shape,squircle);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));gap:calc(var(--spacing,.0025rem)*200);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;container-type:inline-size;display:flex;position:relative;--mds-input-icon-color:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-input-variant-color-rgb:0 0 0}:host([typography=detail]) .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}:host([typography=snippet]) .input{font-family:var(--font-code,"Roboto Mono","Courier New",monospace);font-size:var(--text-size-code-snippet,1rem);font-weight:var(--tw-font-weight,var(--text-size-code-snippet--font-weight,400));line-height:var(--tw-leading,var(--text-size-code-snippet--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.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;background-color:var(--mds-input-background,rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255)))));border-radius:inherit;-webkit-box-shadow:var(--mds-input-ring),var(--mds-input-shadow);box-shadow:var(--mds-input-ring),var(--mds-input-shadow);box-sizing:border-box;color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));corner-shape:inherit;border:0;margin:0;max-width:100%;min-height:3rem;overflow:hidden;padding:calc(var(--spacing,.0025rem)*300) calc(var(--spacing,.0025rem)*400);text-overflow:ellipsis;-webkit-transition-duration:var(--private-input-transition-duration);transition-duration:var(--private-input-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,margin,opacity,padding,transform;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:100%}.input::-webkit-input-placeholder{color:var(--mds-input-placeholder-default-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))));-webkit-transition-duration:var(--duration-300,.3s);transition-duration:var(--duration-300,.3s);transition-property:color;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.input:-ms-placeholder-shown{color:var(--mds-input-placeholder-default-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))));transition-duration:var(--duration-300,.3s);transition-property:color;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.input::-moz-placeholder{color:var(--mds-input-placeholder-default-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))));transition-duration:var(--duration-300,.3s);transition-property:color;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.input::placeholder{color:var(--mds-input-placeholder-default-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))));-webkit-transition-duration:var(--duration-300,.3s);transition-duration:var(--duration-300,.3s);transition-property:color;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.input:hover::placeholder{color:var(--mds-input-placeholder-hover-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))))}.input:hover:-ms-placeholder-shown{color:var(--mds-input-placeholder-hover-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))))}.input:focus::placeholder{color:var(--mds-input-placeholder-focus-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))))}.input:focus:-ms-placeholder-shown{color:var(--mds-input-placeholder-focus-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))))}.input::-webkit-inner-spin-button,.input::-webkit-outer-spin-button{appearance:none;display:none;margin:0}:host textarea.input,:host([typography]) textarea.input{border-radius:var(--mds-input-border-radius);field-sizing:var(--mds-input-textarea-field-sizing,content);max-height:var(--mds-input-textarea-max-height,calc(var(--spacing,.0025rem)*6400));min-height:var(--mds-input-textarea-min-height,calc(var(--spacing,.0025rem)*2400));overflow:auto;resize:var(--mds-input-textarea-resize,none)}@container style(--mds-input-textarea-resize:none){:host textarea.input,:host([typography]) textarea.input{border-bottom-right-radius:0}}.input:focus{--tw-outline-style:none;outline-style:none;--mds-input-ring:0 0 0 3px rgb(var(--mds-input-variant-color-rgb,0 0 0)/1);--mds-input-shadow:0 4px 6px 3px rgb(var(--mds-input-variant-color-rgb,0 0 0)/.1),0 2px 4px -1px rgb(var(--mds-input-variant-color-rgb,0 0 0)/.06)}.input:disabled{background-color:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))))}.input:disabled::placeholder{color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))))}.input:disabled:-ms-placeholder-shown{color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))))}.input:disabled::-moz-placeholder{color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))))}.input:disabled,.input:disabled::placeholder{color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))))}.input.has-icon{padding-left:calc(var(--spacing,.0025rem)*1100)}.input.has-right-icon{padding-right:calc(var(--spacing,.0025rem)*1100)}.await,.icon{fill:var(--mds-input-icon-color,rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)))));left:calc(var(--spacing,.0025rem)*300);position:absolute;top:calc(var(--spacing,.0025rem)*300)}.await{color:var(--mds-input-icon-color,rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)))));height:24px;width:24px}.counter{border-left:var(--mds-input-controls-border);display:flex;flex-direction:column;gap:0;position:absolute;right:0}.counter-button{aspect-ratio:unset;border:0;border-radius:var(--mds-input-border-radius);fill:var(--mds-input-controls-color);height:calc(var(--spacing,.0025rem)*600);min-height:0;width:calc(var(--spacing,.0025rem)*700)}.counter .counter-button:first-child{border-bottom-left-radius:0;border-bottom-right-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mds-input-border-radius)}.counter .counter-button:last-child{border-bottom-left-radius:0;border-bottom-right-radius:var(--mds-input-border-radius);border-top-left-radius:0;border-top-right-radius:0}.counter-button--horizontal{bottom:0;height:calc(var(--spacing,.0025rem)*1200);position:absolute;top:0;width:calc(var(--spacing,.0025rem)*1200)}.counter-button--decrease{border-bottom-right-radius:0;border-right:var(--mds-input-controls-border);border-top-right-radius:0;left:0}.counter-button--increase{border-bottom-left-radius:0;border-left:var(--mds-input-controls-border);border-top-left-radius:0;right:0}.mic-toggle-button,.password-toggle-button{fill:var(--mds-input-controls-color);position:absolute;right:calc(var(--spacing,.0025rem)*150);top:calc(var(--spacing,.0025rem)*150)}.toggle-button--error{cursor:help;fill:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))))}.mic-toggle-button--recording{animation:var(--animate-pulse,pulse 2s cubic-bezier(.4,0,.6,1) infinite)}:host([type=number]) .input{-moz-appearance:textfield;padding-right:calc(var(--spacing,.0025rem)*800)}:host([type=number][controls-layout=horizontal]) .input{padding-left:calc(var(--spacing,.0025rem)*1400);padding-right:calc(var(--spacing,.0025rem)*1400);text-align:center}:host([type=number][controls-layout=horizontal][icon]) .input{padding-left:calc(var(--spacing,.0025rem)*2400);text-align:left}:host([type=number][controls-layout=horizontal]) .icon{left:calc(var(--spacing,.0025rem)*1500)}:host([type=password]) .input{padding-right:calc(var(--spacing,.0025rem)*1000)}:host([type=password]) .input[type=text]:not(:-moz-placeholder-shown){font-family:var(--font-code,"Roboto Mono","Courier New",monospace);font-size:var(--text-size-code-snippet,1rem);font-weight:var(--tw-font-weight,var(--text-size-code-snippet--font-weight,400));line-height:var(--tw-leading,var(--text-size-code-snippet--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([type=password]) .input[type=text]:not(:-ms-placeholder-shown){font-family:var(--font-code,"Roboto Mono","Courier New",monospace);font-size:var(--text-size-code-snippet,1rem);font-weight:var(--tw-font-weight,var(--text-size-code-snippet--font-weight,400));line-height:var(--tw-leading,var(--text-size-code-snippet--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([type=password]) .input[type=text]:not(:placeholder-shown){font-family:var(--font-code,"Roboto Mono","Courier New",monospace);font-size:var(--text-size-code-snippet,1rem);font-weight:var(--tw-font-weight,var(--text-size-code-snippet--font-weight,400));line-height:var(--tw-leading,var(--text-size-code-snippet--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([type=cf]) .input{font-family:var(--font-code,"Roboto Mono","Courier New",monospace);font-size:var(--text-size-code-snippet,1rem);font-weight:var(--tw-font-weight,var(--text-size-code-snippet--font-weight,400));line-height:var(--tw-leading,var(--text-size-code-snippet--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-transform:uppercase}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}:host(:focus){--mds-input-icon-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))));--mds-input-variant-color-rgb:var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)))}:host([variant=ai]){--mds-input-icon-color:rgb(var(--magma-accent-ai-emphasis,var(--magma-tint-accent-ai-emphasis,var(--variant-ai-04,126 73 245))));--mds-input-tip-background:rgb(var(--magma-accent-ai-fg,var(--magma-tint-accent-ai-fg,var(--variant-ai-03,87 20 242))));--mds-input-variant-color-rgb:0 0 0}:host([variant=ai]:focus){--mds-input-icon-color:rgb(var(--magma-accent-ai-fg,var(--magma-tint-accent-ai-fg,var(--variant-ai-03,87 20 242))));--mds-input-variant-color-rgb:var(--magma-accent-ai-emphasis,var(--magma-tint-accent-ai-emphasis,var(--variant-ai-04,126 73 245)))}:host([variant=info]){--mds-input-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-tip-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-variant-color-rgb:0 0 0}:host([variant=info]:focus){--mds-input-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-variant-color-rgb:var(--magma-info-emphasis,var(--status-info-04,0 119 164))}:host([variant=success]){--mds-input-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-tip-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-variant-color-rgb:0 0 0}:host([variant=success]:focus){--mds-input-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-variant-color-rgb:var(--magma-success-emphasis,var(--status-success-04,0 128 57))}:host([variant=warning]){--mds-input-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-tip-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-variant-color-rgb:0 0 0}:host([variant=warning]:focus){--mds-input-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-variant-color-rgb:var(--magma-warning-emphasis,var(--status-warning-04,142 106 0))}:host([variant=error]){--mds-input-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-tip-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-variant-color-rgb:0 0 0}:host([variant=error]:focus){--mds-input-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-variant-color-rgb:var(--magma-danger-emphasis,var(--status-error-04,196 64 65))}: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-transition-duration:0s}:host([pref-contrast=more]){--mds-input-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6));--mds-input-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))))}:host([pref-contrast=more]) .input::placeholder{color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))))}:host([pref-contrast=more]) .input:-ms-placeholder-shown{color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))))}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-input-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])) .counter-button:hover{--mds-button-background:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))))}.password-mask{background-color:var(--mds-input-background,rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255)))));border-bottom-left-radius:inherit;border-bottom-right-radius:0;border-top-left-radius:inherit;corner-shape:inherit;align-items:center;border-top-right-radius:0;bottom:0;display:flex;gap:calc(var(--spacing,.0025rem)*50);height:100%;justify-content:start;left:0;overflow:hidden;padding-left:calc(var(--spacing,.0025rem)*500);pointer-events:none;position:absolute;right:calc(var(--spacing,.0025rem)*1200);top:0}.password-mask:before{background-image:-webkit-gradient(linear,left top,right top,from(#0000),to(var(--mds-input-background,rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255)))))));background-image:linear-gradient(to right,#0000,var(--mds-input-background,rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255))))));bottom:0;content:"";display:inline-flex;position:absolute;right:0;top:0;width:calc(var(--spacing,.0025rem)*600)}.password-mask-items{background-color:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208)))/0);display:inline-flex;gap:calc(var(--spacing,.0025rem)*100);padding:calc(var(--spacing,.0025rem)*100)}.password-mask-item,.password-mask-items{border-radius:var(--radius-full,1000px);-webkit-transition-duration:var(--duration-300,.3s);transition-duration:var(--duration-300,.3s);transition-property:background-color;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.password-mask-item{background-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));height:calc(var(--spacing,.0025rem)*200);width:calc(var(--spacing,.0025rem)*200)}:host(:focus-within) .password-mask-items{background-color:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))))}@keyframes pulse{50%{opacity:.5}}@media (forced-colors:active){.input:focus{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-transition-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-input-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6));--mds-input-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .input::-webkit-input-placeholder{color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .input:-ms-placeholder-shown{color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .input::placeholder{color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))))}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-input-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]))) .counter-button:hover{--mds-button-background:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))))}}';export{S as mds_input}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
var __spreadArray=this&&this.__spreadArray||function(e,t,i){if(i||arguments.length===2)for(var a=0,r=t.length,s;a<r;a++){if(s||!(a in t)){if(!s)s=Array.prototype.slice.call(t,0,a);s[a]=t[a]}}return e.concat(s||Array.prototype.slice.call(t))};System.register(["./p-DaONbL_w.system.js","./p-BTF_aRDG.system.js","./p-hVpoPUxI.system.js","./p-C0tqOovl.system.js","./p-BcI1w9tp.system.js"],(function(e){"use strict";var t,i,a,r,s,n,d,o,l,h;return{setters:[function(e){t=e.r;i=e.d;a=e.h;r=e.e;s=e.g},function(e){n=e.L},function(e){d=e.M;o=e.p},function(e){l=e.m},function(e){h=e.m}],execute:function(){var m=["bevel","notch","round","scoop","square","squircle"];
|
|
2
|
-
/**
|
|
3
|
-
* What a user can pick for the corner axis: a shape, or `default`.
|
|
4
|
-
*
|
|
5
|
-
* `default` is not a shape, it is the ABSENCE of a deviation - whatever the
|
|
6
|
-
* stylesheet currently ships. It exists so choosing the shape that happens to be
|
|
7
|
-
* today's default removes the attribute instead of freezing that default into
|
|
8
|
-
* the consumer's markup, which would keep a later change of default from
|
|
9
|
-
* reaching anybody who never chose.
|
|
10
|
-
*/var f=__spreadArray(__spreadArray([],m,true),["default"],false);var c="Θέμα";var u={label:c};var v="Theme";var p={label:v};var b="Tema";var g={label:b};var y="Tema";var x={label:y};var w=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-dropdown,mds-tab,mds-tab-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*400)}.mds-pref-theme-dropdown{gap:calc(var(--spacing,.0025rem)*100);padding:calc(var(--spacing,.0025rem)*400)}.item{--mds-tab-item-default-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));flex-basis:0;flex-grow:1}.item--theme{cursor:pointer}.item--auto,.item--theme{--mds-tab-item-selected-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))))}"};var k=e("mds_pref_theme",/** @class */function(){function e(e){var a=this;t(this,e);this.themeChangeEvent=i(this,"mdsPrefThemeChange",7);this.prefChangeEvent=i(this,"mdsPrefChange",7);this.showDropdown=false;this.localStorageAliasThemeName="mdsPrefTheme";this.localStorageAliasThemeScheme="mdsPrefThemeScheme";this.localStorageAliasCornerShape="mdsPrefCornerShape";this.t=new n({el:u,en:p,es:g,it:x});this.clasNameThemeNamePrefix="pref-theme-";this.previousName=null;this.customPropertyAliasThemeScheme="--magma-pref-theme-scheme";this.customPropertyAliasThemeName="--magma-pref-theme";this.schemeSet={light:"pref-theme-scheme-light",dark:"pref-theme-scheme-dark",all:"pref-theme-scheme-all"};
|
|
11
|
-
/**
|
|
12
|
-
* Specifies the theme name attribute
|
|
13
|
-
* A string representing the theme name, should be a simple string name or kebab kase name.
|
|
14
|
-
* `Examples of valid language codes include "magma", "maggioli-editore", etc.`
|
|
15
|
-
*/this.name="default";
|
|
16
|
-
/**
|
|
17
|
-
* Specifies the theme scheme which can be 'light', 'dark' or 'all'
|
|
18
|
-
* Default is 'all' which means this theme supporto both light and dark.
|
|
19
|
-
* If you set 'light' means this theme support only light mode and will be forced and shown light colors mode only.
|
|
20
|
-
*/this.scheme="all";this.toggleDropdown=function(){a.showDropdown=!a.showDropdown};this.hideThemeDropdownSelect=function(){a.showDropdown=false};this.changeThemeItem=function(){a.themeItems.forEach((function(e){e.selected=false}))};this.checkThemeSelect=function(){a.themeItems=a.element.querySelectorAll("mds-pref-theme-item");a.themeItems.forEach((function(e){e.addEventListener("mdsPrefThemeItemSelect",(function(e){a.changeThemeItem();a.currentSelectedItem=e.currentTarget;a.currentSelectedItem.selected=true;var t=e.detail.name.toLowerCase();var i=e.detail.scheme.toLowerCase();a.themeChangeEvent.emit({name:t,scheme:i});a.showDropdown=false;a.setTheme(t,i)}))}));a.themeItems.forEach((function(e){e.selected=e.name===a.name}))};this.setTheme=function(e,t){if(!/^[a-z]+(-[a-z]+)*$/gm.exec(e)){throw Error("Theme name not valid: ".concat(e))}
|
|
21
|
-
// A mode value would be taken for a v1 mode by the storage migration, and a
|
|
22
|
-
// `scheme` name would write a `pref-theme-scheme-*` class of the scheme axis.
|
|
23
|
-
if(d.includes(e)||e==="scheme"||e.startsWith("scheme-")){throw Error("Theme name reserved: ".concat(e))}a.name=e;a.scheme=t;a.prefChangeEvent.emit({preference:"theme"});localStorage.setItem(a.localStorageAliasThemeName,a.name);localStorage.setItem(a.localStorageAliasThemeScheme,a.scheme);if(typeof document!=="undefined"){var i=document.querySelector("html");
|
|
24
|
-
// cleanup previeous selection
|
|
25
|
-
for(var r in a.schemeSet){if({}.hasOwnProperty.call(a.schemeSet,r)){i===null||i===void 0?void 0:i.classList.remove(a.schemeSet[r])}}if(a.previousName!==null&&a.previousName!==""){i===null||i===void 0?void 0:i.classList.remove(a.clasNameThemeNamePrefix+a.previousName)}
|
|
26
|
-
// set new selection
|
|
27
|
-
i===null||i===void 0?void 0:i.setAttribute("data-theme-name",a.name);i===null||i===void 0?void 0:i.classList.add(a.schemeSet[a.scheme]);i===null||i===void 0?void 0:i.classList.add(a.clasNameThemeNamePrefix+a.name);i===null||i===void 0?void 0:i.style.setProperty(a.customPropertyAliasThemeName,a.name);i===null||i===void 0?void 0:i.style.setProperty(a.customPropertyAliasThemeScheme,a.scheme);a.previousName=a.name}o.state["theme-scheme"]=a.scheme};
|
|
28
|
-
/**
|
|
29
|
-
* Apply a corner choice, or do nothing at all when there is none: an unset prop
|
|
30
|
-
* with nothing in storage must leave the page exactly as the stylesheet ships
|
|
31
|
-
* it.
|
|
32
|
-
*
|
|
33
|
-
* Note the one place this deliberately does NOT follow `setTheme`:
|
|
34
|
-
* `data-theme-name` is always written, `default` included, which is harmless
|
|
35
|
-
* only because no CSS block defines a theme called `default`. Here the default
|
|
36
|
-
* IS a live block, so writing it would freeze today's default into the
|
|
37
|
-
* consumer's page - `default` removes the attribute instead.
|
|
38
|
-
*/this.setCornerShape=function(e){if(e===undefined||e===null){return}if(!f.includes(e)){throw Error("Corner shape not valid: ".concat(e))}a.cornerShape=e;a.prefChangeEvent.emit({preference:"corner-shape"});localStorage.setItem(a.localStorageAliasCornerShape,e);if(typeof document!=="undefined"){var t=document.querySelector("html");if(e==="default"){t===null||t===void 0?void 0:t.removeAttribute("data-corner-shape")}else{t===null||t===void 0?void 0:t.setAttribute("data-corner-shape",e)}}o.state["corner-shape"]=e==="default"?undefined:e}}e.prototype.componentDidLoad=function(){this.checkThemeSelect()};e.prototype.componentWillRender=function(){var e,t,i;this.userThemeName=localStorage.getItem(this.localStorageAliasThemeName);this.userThemeScheme=localStorage.getItem(this.localStorageAliasThemeScheme);this.setTheme((e=this.userThemeName)!==null&&e!==void 0?e:this.name,(t=this.userThemeScheme)!==null&&t!==void 0?t:this.scheme);this.userCornerShape=localStorage.getItem(this.localStorageAliasCornerShape);this.setCornerShape((i=this.userCornerShape)!==null&&i!==void 0?i:this.cornerShape)};e.prototype.render=function(){return a(r,{key:"655bab98d714ab020ae56308aa1fa456587ba500"},a("div",{key:"071144a78bd76ee76e66ef360e59f36c1609802e",class:"menu"},a("mds-text",{key:"3a2211ba231dc918619022b63f5334245a820d13",class:"info",typography:"caption"},a("b",{key:"b8ee6f47be3a388797107d6fd2a456d1c934d88d"},this.t.get("label"))),a("mds-tab",{key:"d38a2f1af05ccf9ffd18039bc8313fdf4e7253f0",fill:true,size:this.size},a("mds-tab-item",{key:"14b35f4bab9c48411debd0ae7daccd537012e9cd",selected:true,onClick:this.toggleDropdown,expanded:this.showDropdown,id:"mds-pref-theme-nav",class:"item item--theme","icon-position":"right",icon:this.showDropdown?h:l,label:this.name}))),a("mds-dropdown",{key:"d0955d813387b5e3d429f65e2efdf22ae6593a00",class:"mds-pref-theme-dropdown",target:"#mds-pref-theme-nav",interaction:"none",visible:this.showDropdown,onMdsDropdownHide:this.hideThemeDropdownSelect},a("slot",{key:"0fff1ca40365164fe32974677fcf798d187e2b75"})))};Object.defineProperty(e.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});return e}());k.style=w()}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as i,e,g as a}from"./p-BxPbQB28.js";import{p as r}from"./p-7-TP6wnI.js";import{m as n}from"./p-Ccz0jCNB.js";import{m as s}from"./p-DiWN48aq.js";import{c as o}from"./p-ChV9xqsO.js";var h;!function(t){t.ASC="ascending",t.DESC="descending",t.NONE="none"}(h||(h={}));const l=class{constructor(i){t(this,i),this.isAscending=!0,this.currentDirection=h.NONE,this.index=0,this.direction="none",this.prepareSorter=()=>{var t,i,e;!this.sortable||this.sortable&&void 0!==(null===(t=this.tableHeaderCellSiblings)||void 0===t?void 0:t.length)&&0!==(null===(i=this.tableHeaderCellSiblings)||void 0===i?void 0:i.length)||(this.tableBody=null===(e=this.element.closest("mds-table"))||void 0===e?void 0:e.querySelector("mds-table-body"),this.tableHeader=this.element.closest("mds-table-header"),this.tableHeaderCellSiblings=Array.from(this.tableHeader.children),this.index=this.tableHeaderCellSiblings.indexOf(this.element),this.tableRows=Array.from(this.tableBody.children),this.tableRowsDefaultSorted=Array.from(this.tableBody.children))},this.getValue=t=>null==t.value||""===t.value||0===t.value||Number.isNaN(t.value)?null!==t.textContent&&""!==t.textContent?t.textContent.trim():"":t.value,this.resetSortAttribute=()=>{this.tableHeaderCellSiblings.forEach((t=>{this.tableHeaderCellSiblings.indexOf(t)!==this.index&&(t.direction="none")})),this.tableRows=Array.from(this.tableBody.children),this.tableRows.forEach((t=>{Array.from(t.children).forEach(((t,i)=>{this.index!==i||this.currentDirection===h.NONE?t.removeAttribute("sorted"):t.setAttribute("sorted","")}))}))},this.sortRows=()=>{this.currentDirection!==h.NONE?(this.tableRows=Array.from(this.tableBody.children),[...this.tableRows].sort(((t,i)=>{const e=this.getValue(t.querySelectorAll("mds-table-cell")[this.index]),a=this.getValue(i.querySelectorAll("mds-table-cell")[this.index]);return isNaN(Number(e))||isNaN(Number(a))?"ascending"===this.direction?String(e).localeCompare(String(a)):String(a).localeCompare(String(e)):"ascending"===this.direction?Number(e)-Number(a):Number(a)-Number(e)})).forEach((t=>this.tableBody.appendChild(t)))):this.tableRowsDefaultSorted.forEach((t=>this.tableBody.appendChild(t)))},this.updateDirection=()=>{this.currentDirection=Object.values(h)[(Object.values(h).indexOf(this.currentDirection)+1)%Object.values(h).length],this.direction=this.currentDirection.toString()},this.sort=()=>{this.updateDirection(),this.sortRows(),this.resetSortAttribute(),this.tableRows=Array.from(this.tableBody.children),this.tableRows.forEach(this.currentDirection===h.NONE?t=>{t.removeAttribute("sorted")}:t=>{t.setAttribute("sorted","")})}}componentDidLoad(){this.prepareSorter()}sortableHandler(){this.prepareSorter()}directionHandler(t){"none"===t&&(this.direction="none",this.currentDirection=h.NONE)}render(){return i(e,{key:"70a39842606dfe5bcb7cc9d83069c4595df522d3",role:"columnheader","aria-sort":this.direction,"pref-animation":r.state.animation},this.sortable?i("mds-button",{class:"action",icon:o("none"===this.direction&&'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 5.83L15.17 9l1.41-1.41L12 3L7.41 7.59L8.83 9L12 5.83zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15L12 18.17z"/></svg>',"ascending"===this.direction&&n,"descending"===this.direction&&s),"icon-position":"right",onClick:this.sort,tone:"text",variant:"dark",size:"sm",part:"action",label:this.label}):i("mds-text",{class:"label",typography:"label",part:"label"},this.label))}get element(){return a(this)}static get watchers(){return{sortable:[{sortableHandler:0}],direction:[{directionHandler:0}]}}};l.style='@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial;--tw-font-weight:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-table-header-cell-transition-duration:var(--duration-200,.2s);--private-table-header-cell-transition-duration:var(--mds-table-header-cell-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-background);border-bottom:var(--private-cell-border-width) solid var(--private-cell-border-color)!important;border-top:var(--private-cell-border-width) solid #0000!important;display:table-cell;padding:var(--mds-table-cell-padding);-webkit-transition-duration:var(--private-table-header-cell-transition-duration);transition-duration:var(--private-table-header-cell-transition-duration);transition-property:background-color,border-color,color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));vertical-align:top;white-space:nowrap}.action{margin-inline:calc(var(--spacing,.0025rem)*-200);padding-inline:calc(var(--spacing,.0025rem)*200)}.action:hover,:host([direction=ascending]) .action,:host([direction=descending]) .action{background-color:var(--mds-table-background-alt)}.action::part(label){font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);min-height:auto;text-box:trim-both cap alphabetic;--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:var(--text-size-info-label,.75rem);font-weight:var(--tw-font-weight,var(--text-size-info-label--font-weight,700));line-height:var(--tw-leading,var(--text-size-info-label--line-height,1rem))}.label{align-items:center;display:inline-flex;height:calc(var(--spacing,.0025rem)*700)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-header-cell-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@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-table-header-cell-transition-duration:0s}}';export{l as mds_table_header_cell}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as a,e as i}from"./p-BxPbQB28.js";import{p as e}from"./p-7-TP6wnI.js";import{m as r}from"./p-CvUz9jjh.js";import{L as n}from"./p-Kv1yahtR.js";const s=class{constructor(a){t(this,a),this.active=!1,this.position="top"}render(){return a(i,{key:"0e4fddfdc8dbb7f8a649d03de0f5402368572e76","pref-animation":e.state.animation},a("slot",{key:"e7095557c8965c623d04dfe4bfce52b155b72106"}))}};s.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-input-tip-item:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-input-tip-transition-duration:var(--duration-300,.3s);--private-input-tip-transition-duration:var(--mds-input-tip-transition-duration);--mds-input-tip-active-translate:translate(0,0);--mds-input-tip-background:rgb(var(--magma-surface-inverse-muted,var(--magma-tint-scale-03,var(--tone-neutral-03,73 73 73))));--mds-input-tip-horizontal-offset-focused:0px;--mds-input-tip-horizontal-offset:calc(var(--spacing,.0025rem)*400);--mds-input-tip-vertical-offset:calc(var(--spacing,.0025rem)*100);display:flex;gap:calc(var(--spacing,.0025rem)*100);justify-content:flex-end;left:var(--mds-input-tip-horizontal-offset,calc(var(--spacing,.0025rem)*400));pointer-events:none;position:absolute;right:var(--mds-input-tip-horizontal-offset,calc(var(--spacing,.0025rem)*400));-webkit-transform:var(--mds-input-tip-active-translate,translate(0,0));transform:var(--mds-input-tip-active-translate,translate(0,0));-webkit-transition-duration:var(--private-input-tip-transition-duration);transition-duration:var(--private-input-tip-transition-duration);transition-property:transform;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}:host(:empty){display:none}:host([position=top]){top:var(--mds-input-tip-vertical-offset,calc(var(--spacing,.0025rem)*100))}:host([position=bottom]){bottom:var(--mds-input-tip-vertical-offset,calc(var(--spacing,.0025rem)*100))}:host([position=top][active]:not([active=false])){--mds-input-tip-active-translate:translate(calc(var(--mds-input-tip-horizontal-offset-focused,0px) * -1),calc(var(--mds-input-tip-vertical-offset,calc(var(--spacing,.0025rem) * 100)) * -1))}:host([position=top][active]:not([active=false])) ::slotted(mds-input-tip-item){border-top-left-radius:0;border-top-right-radius:0}:host([position=bottom][active]:not([active=false])){--mds-input-tip-active-translate:translate(calc(var(--mds-input-tip-horizontal-offset-focused,0px)*-1),var(--mds-input-tip-vertical-offset,calc(var(--spacing,.0025rem)*100)))}:host([position=bottom][active]:not([active=false])) ::slotted(mds-input-tip-item){border-bottom-left-radius:0;border-bottom-right-radius:0}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-input-tip-transition-duration:0s}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-input-tip-transition-duration:0s}}";var o={required:"Απαιτείται",disabled:"Απενεργοποιημένο",readonly:"Μόνο για ανάγνωση"},m={required:"Required",disabled:"Disabled",readonly:"Read only"},p={required:"Requerido",disabled:"Deshabilitado",readonly:"Solo lectura"},d={required:"Obbligatorio",disabled:"Disattivato",readonly:"Sola lettura"};const c=class{constructor(a){t(this,a),this.t=new n({en:m,el:o,es:p,it:d}),this.variant="required"}handleEcpandedChanged(t){!1===t&&(this.expanded=void 0)}render(){return a(i,{key:"54a901f320e022d0939000c7a2f63cd48a1289f9","pref-animation":e.state.animation,"pref-contrast":e.state.contrast},a("div",{key:"7b3f24cef9fd616b4c6010327d6aaf29f9bed64a",class:"content"},"text"===this.variant&&a("mds-text",{key:"7c759464c8f51381b6e79fc17adc240c0bd26aee",typography:"option",truncate:"word"},a("span",{key:"86b063b536793f3e94f6b5587938cac6c95c2723",class:"text"},a("slot",{key:"ed7b39dec49b55a656c4d20f3eda076e3051b88f"}))),"readonly"===this.variant&&a("mds-text",{key:"b82960abfea10bb1e37d291b0ccc9fefaa6f73ea",typography:"option",truncate:"word"},a("span",{key:"23b8d435a02b9a9fd618883d275da655408dd4f5",class:"text"},this.variant&&this.t.get(this.variant.toString()))),"disabled"===this.variant&&a("mds-text",{key:"54a2fde10d46178719a38666b1a6befa8c9269d1",typography:"option",truncate:"word"},a("span",{key:"dead10a37f4ad0be7e2bfcc7bd1db49a3277a206",class:"text"},this.variant&&this.t.get(this.variant.toString()))),"required"===this.variant&&a("mds-text",{key:"59609354936a9f873c3d88dc3331d3ebd53933c9",typography:"option",truncate:"word"},a("span",{key:"0356a2e52cc4ebfca869dc616388e90d9d7a8c07",class:"text"},this.variant&&this.t.get(this.variant.toString()))),"required-success"===this.variant&&a("span",{key:"dba13be0ce60e6e9b7568975decac42b8242d650",class:"icon",innerHTML:r}),("count-almost"===this.variant||"count-almost-full"===this.variant||"count-empty"===this.variant||"count-full"===this.variant||"count-incomplete"===this.variant)&&a("mds-text",{key:"37175dd8e33b7728442e607e1cc34bec95d9a5da",typography:"option",truncate:"word"},a("span",{key:"ec87f7274c462782708094261194f38e3223aaa4",class:"text"},a("slot",{key:"6620df269116f733039d95f1f4b71ac27b271982"})))))}static get watchers(){return{expanded:[{handleEcpandedChanged:0}]}}};c.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-input-tip-item-transition-duration:var(--duration-300,.3s);--private-input-tip-item-transition-duration:var(--mds-input-tip-item-transition-duration);--mds-input-tip-item-content-transition-duration:var(--duration-200,.2s);--private-input-tip-item-content-transition-duration:var(--mds-input-tip-item-content-transition-duration);--mds-input-tip-item-background:var(--mds-input-tip-background,rgb(var(--magma-surface-inverse-muted,var(--magma-tint-scale-03,var(--tone-neutral-03,73 73 73)))));--mds-input-tip-item-color:rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-tip-item-icon-color:rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));align-items:center;background-color:var(--mds-input-tip-item-background,rgb(var(--magma-surface-inverse-muted,var(--magma-tint-scale-03,var(--tone-neutral-03,73 73 73)))));border-radius:var(--radius-2xs,6px);color:var(--mds-input-tip-item-color,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));display:flex;height:calc(var(--spacing,.0025rem)*300);justify-content:center;min-width:calc(var(--spacing,.0025rem)*300);padding:0;pointer-events:none;position:static;text-align:center;transform:translate(0);-webkit-transition-duration:var(--private-input-tip-item-transition-duration);transition-duration:var(--private-input-tip-item-transition-duration);transition-property:background-color,border-radius,color,padding-left,padding-right,transform;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));-webkit-user-select:none;user-select:none}mds-text{display:flex;place-self:center}.content{display:grid;grid-template-columns:0fr;opacity:0;overflow:hidden;-webkit-transition-duration:var(--private-input-tip-item-content-transition-duration);transition-duration:var(--private-input-tip-item-content-transition-duration);transition-property:grid-template-columns,opacity,-ms-grid-columns;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.content,.icon{height:calc(var(--spacing,.0025rem)*300)}.icon{display:flex;fill:var(--mds-input-tip-item-icon-color,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));transform:translateY(-1px);width:calc(var(--spacing,.0025rem)*300)}.icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}:host(:not([expanded])){color:#0000}:host([expanded]){--mds-input-tip-item-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}:host([expanded]) .content{grid-template-columns:1fr;opacity:1}:host([variant=required]){--mds-input-tip-item-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}:host([variant=required-success]){--mds-input-tip-item-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:host([variant=readonly]){--mds-input-tip-item-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)))}:host([variant=disabled]){--mds-input-tip-item-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));--mds-input-tip-item-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-input-tip-item-icon-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))))}:host([variant=count-empty]){--mds-input-tip-item-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-input-tip-item-background:rgb(var(--magma-info-wash-strong,var(--status-info-08,168 219 242)))}:host([variant=count-incomplete]){--mds-input-tip-item-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-input-tip-item-background:rgb(var(--magma-success-wash-strong,var(--status-success-08,165 225 186)))}:host([variant=count-almost]){--mds-input-tip-item-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-input-tip-item-background:rgb(var(--magma-warning-wash-strong,var(--status-warning-08,255 205 57)))}:host([variant=count-almost-full]){--mds-input-tip-item-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-input-tip-item-background:rgb(var(--magma-danger-wash-strong,var(--status-error-08,254 198 194)))}:host([variant=count-full]){--mds-input-tip-item-color:rgb(var(--magma-danger-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-tip-item-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-input-tip-item-transition-duration:0s;--private-input-tip-item-content-transition-duration:0s}:host([pref-contrast=more]):host([variant=count-empty]){--mds-input-tip-item-color:rgb(var(--magma-info-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-tip-item-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)))}:host([pref-contrast=more]):host([variant=count-incomplete]){--mds-input-tip-item-color:rgb(var(--magma-success-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-tip-item-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:host([pref-contrast=more]):host([variant=count-almost]){--mds-input-tip-item-color:rgb(var(--magma-warning-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-tip-item-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)))}:host([pref-contrast=more]):host([variant=count-almost-full]){--mds-input-tip-item-color:rgb(var(--magma-danger-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-tip-item-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-input-tip-item-transition-duration:0s;--private-input-tip-item-content-transition-duration:0s}}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=count-empty]){--mds-input-tip-item-color:rgb(var(--magma-info-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-tip-item-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=count-incomplete]){--mds-input-tip-item-color:rgb(var(--magma-success-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-tip-item-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=count-almost]){--mds-input-tip-item-color:rgb(var(--magma-warning-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-tip-item-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=count-almost-full]){--mds-input-tip-item-color:rgb(var(--magma-danger-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-tip-item-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}}";export{s as mds_input_tip,c as mds_input_tip_item}
|
|
@@ -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";const i=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.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:"3b1dcefd3fe6159bdf50f5c90e61783ff309c9e6"},t("mds-button",{key:"8f7608ad5d88b877c4c3df9175064adbec11914a",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:"5cf7efb24db13465de28ba8600641697c96cd253",active:this.active,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:"fec67e583d78a12851f09274186a5f5e5aee6993",target:".dropdown-action",part:"dropdown"},t("slot",{key:"45ca099a677e9b75769feb6960d3cc0440b35f5c"})))}static get formAssociated(){return!0}};i.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;-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);transition-property:background-color,box-shadow;-webkit-transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94));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(--magma-tint-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(--magma-tint-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(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))))}:host([variant=primary][tone=weak]){background-color:rgb(var(--magma-accent-surface-hover,var(--magma-tint-accent-surface-hover,var(--variant-primary-08,204 212 226))))}:host([variant=secondary][tone=strong]){background-color:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))))}:host([variant=secondary][tone=weak]){background-color:rgb(var(--magma-accent-surface-hover,var(--magma-tint-accent-surface-hover,var(--variant-primary-08,204 212 226))))}:host([variant=dark][tone=strong]){background-color:rgb(var(--magma-surface-inverse-muted,var(--magma-tint-scale-03,var(--tone-neutral-03,73 73 73))))}:host([variant=dark][tone=weak]){background-color:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))))}:host([variant=light][tone=strong]){background-color:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));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(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));-webkit-box-shadow:var(--shadow-ring-weak-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.15));box-shadow:var(--shadow-ring-weak-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.15))}";export{i as mds_button_dropdown}
|
|
@@ -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:"7588d9e5f1f0657ae63ba23cad5d3d8faee3ff17","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:"fbd890516bc521d3dc46c63ad98ee981a08cc459",class:"header",part:"header"},r("mds-text",{key:"361e2b3f13dfc017e873865853ef77ef47332434",class:"label",typography:"label"},r("slot",{key:"95335d7a71e2674d95e850fa9a45074e060daff4"})),r("mds-text",{key:"6897c798d09be9f92b1295eb67177ef1bd30f98c",class:"value",typography:"label"},this.formatValue?this.formatValue(this.value):this.value)),r("div",{key:"47550ba3617f33dafcf2547ad57ecedf11cffc6b",class:"range"},r("div",{key:"bf3c5e9a8f4b15a8c6e545670e628952fcd19393",class:"track",part:"track"},r("div",{key:"95626574ed8adb96f06a8a321a68a2e6bbe37401",class:"contrast-area"}),r("div",{key:"6e15a6d2c583415382af4eec1e142e22698c8079",class:"track-total"},r("div",{key:"ea257f325270545f8f76bb6b911dfe17a5f2efd7",class:"track-progress",style:{"--mds-input-range-progress":`${null!==(a=this.progress)&&void 0!==a?a:0}`}}))),r("input",{key:"7302c7d6348c7844c90804676c29236082204e87",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(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-input-range-thumb-background:rgb(var(--magma-surface-overlay,var(--magma-tint-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(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-input-range-track-background:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-input-range-track-progress-background-disabled:rgb(var(--magma-border-strong,var(--magma-tint-border-strong,var(--border-neutral-strong,140 140 140))));--mds-input-range-track-progress-background:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-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);-webkit-transition-duration:var(--private-input-range-transition-duration);transition-duration:var(--private-input-range-transition-duration);transition-property:color;-webkit-transition-timing-function:var(--ease-in-out);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);-webkit-transition-duration:var(--private-input-range-transition-duration);transition-duration:var(--private-input-range-transition-duration);transition-property:background-color}.track-total{background-color:var(--mds-input-range-track-background);overflow:hidden;-webkit-transition-timing-function:var(--ease-in-out);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(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-input-range-track-progress-background:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))))}:host([pref-contrast=more]){color:rgb(var(--magma-text-default,var(--magma-tint-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(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-input-range-track-progress-background:rgb(var(--magma-accent-emphasis,var(--magma-tint-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(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}";export{o as mds_input_range}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
System.register(["./p-DaONbL_w.system.js","./p-BTF_aRDG.system.js","./p-hVpoPUxI.system.js"],(function(a){"use strict";var r,e,t,o,n;return{setters:[function(a){r=a.r;e=a.h;t=a.e},function(a){o=a.L},function(a){n=a.p}],execute:function(){var s="Δεν επιτρέπεται";var i="Πληροφορία";var d="Προειδοποίηση";var m={do:"Επιτρέπεται",dont:s,info:i,warn:d};var g="Not allowed";var c="Information";var v="Warning";var u={do:"Allowed",dont:g,info:c,warn:v};var h="No permitido";var p="Información";var f="Advertencia";var l={do:"Permitido",dont:h,info:p,warn:f};var b="Non consentito";var w="Informazione";var y="Attenzione";var x={do:"Consentito",dont:b,info:w,warn:y};var k=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))),:is(mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-usage-border-color:rgb(var(--magma-info-border-strong,var(--border-info-strong,18 154 196)));--mds-usage-header-background:var(--mds-usage-border-color,rgb(var(--magma-info-border-strong,var(--border-info-strong,18 154 196))));--mds-usage-header-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-usage-transition-duration:var(--duration-200,.2s);--private-usage-transition-duration:var(--mds-usage-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-color:var(--mds-usage-border-color,rgb(var(--magma-info-border-strong,var(--border-info-strong,18 154 196))));border-radius:var(--radius-lg,16px);border-style:solid;border-width:calc(var(--spacing,.0025rem)*50);display:grid;gap:calc(var(--spacing,.0025rem)*200);grid-auto-rows:-webkit-min-content;grid-auto-rows:min-content;grid-template-columns:minmax(0,100%);padding:calc(var(--spacing,.0025rem)*400);padding-top:0;position:relative;-webkit-transition-duration:var(--private-usage-transition-duration);transition-duration:var(--private-usage-transition-duration);transition-property:background-color,box-shadow,color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));width:100%}.label{color:var(--mds-usage-header-color,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))))}mds-icon{fill:var(--mds-usage-header-color,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));height:calc(var(--spacing,.0025rem)*400);width:calc(var(--spacing,.0025rem)*400)}.header{align-items:center;background-color:var(--mds-usage-header-background,rgb(var(--magma-info-border-strong,var(--border-info-strong,18 154 196))));border-bottom-left-radius:var(--radius-xs,8px);border-bottom-right-radius:var(--radius-xs,8px);display:inline-flex;gap:calc(var(--spacing,.0025rem)*200);height:calc(var(--spacing,.0025rem)*600);justify-self:start;padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-usage-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([variant=do]){--mds-usage-border-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-usage-header-color:rgb(var(--magma-success-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=info]){--mds-usage-border-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-usage-header-color:rgb(var(--magma-info-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=dont]){--mds-usage-border-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-usage-header-color:rgb(var(--magma-danger-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=warn]){--mds-usage-border-color:rgb(var(--magma-warning-wash-strong,var(--status-warning-08,255 205 57)));--mds-usage-header-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-usage-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}'};var z=a("mds_usage",/** @class */function(){function a(a){r(this,a);this.t=new o({el:m,en:u,es:l,it:x});
|
|
2
|
-
/**
|
|
3
|
-
* Specifies the delay when the tooltip will trigger
|
|
4
|
-
*/this.variant="info"}a.prototype.render=function(){var a;return e(t,{key:"cf0c6b62fc4f8f7a297605ca77ff16067bb542d3","pref-animation":n.state.animation,"pref-contrast":n.state.contrast,"pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},e("div",{key:"d7c92de2944edd302cb06525c0ee4a43a6528a14",class:"header",part:"header"},e("mds-icon",{key:"7bdfd0cf86f2e47ba2c1ffe3d6346652be3ed8d1",name:"mi/baseline/info",part:"icon"}),e("mds-text",{key:"335f96253125a0019a03233e0367595f3bc53be1",typography:"label",class:"label",part:"label"},(a=this.alias)!==null&&a!==void 0?a:this.t.get(this.variant))),e("div",{key:"b70f017128d80ff0bfc24b0ff3935212d17b0a08",class:"content",role:this.variant==="do"||this.variant==="info"?"insertion":"deletion"},e("slot",{key:"ea81f6077c8842d48ef63d7f041d92199b64925e"})))};return a}());z.style=k()}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,d as e,h as r,e as i}from"./p-BxPbQB28.js";import{m as a}from"./p-DFyAGAnn.js";import{p as o}from"./p-7-TP6wnI.js";const s=class{constructor(r){t(this,r),this.clickSelectEvent=e(this,"mdsAccordionTimerItemClickSelect",7),this.selectEvent=e(this,"mdsAccordionTimerItemSelect",7),this.selectedMouseEnterEvent=e(this,"mdsAccordionTimerItemMouseEnterSelect",7),this.selectedMouseLeaveEvent=e(this,"mdsAccordionTimerItemMouseLeaveSelect",7),this.typography="h5",this.selected=!1,this.progress=0,this.uuid=0,this.toggle=()=>{this.selected=!this.selected,this.progress=0,this.selected&&this.clickSelectEvent.emit({selected:this.selected,uuid:this.uuid})},this.mouseEnter=()=>{this.selected&&this.selectedMouseEnterEvent.emit({selected:this.selected,uuid:this.uuid})},this.mouseLeave=()=>{this.selected&&this.selectedMouseLeaveEvent.emit({selected:this.selected,uuid:this.uuid})}}handleSelected(t){this.progress=0,t&&this.selectEvent.emit({selected:this.selected,uuid:this.uuid})}render(){var t;return r(i,{key:"8cdbc635529af80ca7eafc83a10bf80923bc5bd1",onMouseEnter:this.mouseEnter,onMouseLeave:this.mouseLeave,"pref-animation":o.state.animation},r("div",{key:"320d3ef23faf4d43893177554bab582167e083b2",class:"row"},r("mds-progress",{key:"7b174757ad8e1fd1e907bdb1f51dac4ba1417c85","aria-hidden":"true",class:"progress-bar",progress:Number(null===(t=this.progress)||void 0===t?void 0:t.toFixed(2)),direction:"vertical",size:"sm",part:"progress"}),r("div",{key:"10c948e3eeedc25f2b5598447a8fc863d6111500",class:"accordion"},r("button",{key:"4276109ab68d6ea4a69df2f610bdf1f2376267b5","aria-controls":"content","aria-expanded":this.selected?"true":"false",class:"action",id:"action",onClick:this.toggle,role:"button",tabindex:"0"},r("mds-text",{key:"d0309a867146acb0ddd81e04058a2ddcbee4b6fd",typography:this.typography,part:"label"},this.description),r("mds-text",{key:"d640eda3c6df2f8dfa0ee48d5e23ab5feeee2379","aria-hidden":"true",class:"icon-button",typography:this.typography,part:"icon"},r("i",{key:"7a24f0d07f51954c4e05db98dd8c614e21b3a8b5",class:"icon",innerHTML:a}))),r("div",{key:"4bc4e8a166aa4a4d09740b103b217a755935d308",class:"content",id:"content"},r("div",{key:"9ff39abd4093b7de902856b2f6d0d0fa6c515768","aria-label":this.description,class:"content-expander",part:"content",role:"region"},r("slot",{key:"58da4fd815137fd9c9b1051fbab12c82a02b22a2"}))))))}static get watchers(){return{selected:[{handleSelected:0}]}}};s.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-progress,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-accordion-timer-item-color:var(--mds-accordion-timer-color,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))));--mds-accordion-timer-item-progress-bar-color:var(--mds-accordion-timer-progress-bar-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))));--mds-accordion-timer-item-progress-bar-background:var(--mds-accordion-timer-progress-bar-background,rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208)))));--mds-accordion-timer-item-progress-bar-thickness:var(--mds-accordion-timer-progress-bar-thickness,calc(var(--spacing,.0025rem)*100));--mds-accordion-timer-item-duration:var(--mds-accordion-timer-duration,.5s);--private-accordion-timer-item-duration:var(--mds-accordion-timer-item-duration,.5s);color:var(--mds-accordion-timer-item-color,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))));display:grid;padding-bottom:calc(var(--spacing,.0025rem)*400);padding-top:calc(var(--spacing,.0025rem)*400);position:relative;-webkit-transition-duration:var(--private-accordion-timer-item-duration);transition-duration:var(--private-accordion-timer-item-duration);transition-property:color;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.row{display:flex;gap:calc(var(--spacing,.0025rem)*400)}.accordion{display:grid}.progress-bar{--mds-progress-color:var(--mds-accordion-timer-item-progress-bar-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))));--mds-progress-background:var(--mds-accordion-timer-item-progress-bar-background,rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208)))));--mds-progress-thickness:var(--mds-accordion-timer-item-progress-bar-thickness,calc(var(--spacing,.0025rem)*100));flex-shrink:0}.action{background-color:#0000;border:0;border-radius:var(--radius-xs,8px);color:inherit;cursor:pointer;display:flex;justify-content:space-between;padding:0;text-align:left}.action,.content{gap:calc(var(--spacing,.0025rem)*400)}.content{display:grid;grid-template-rows:0fr;opacity:0;overflow:hidden;padding-top:0;-webkit-transition-duration:var(--private-accordion-timer-item-duration);transition-duration:var(--private-accordion-timer-item-duration);transition-property:grid-template-rows,opacity,padding,-ms-grid-rows;-webkit-transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.content,.content-expander{min-height:0}.icon{display:flex;fill:currentColor;transform:rotate(0);-webkit-transition-duration:var(--duration-500,.5s);transition-duration:var(--duration-500,.5s);transition-property:transform;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}:host([selected]:not([selected=false])) .action{cursor:auto}:host([selected]:not([selected=false])) .icon{transform:rotate(90deg)}:host([selected]:not([selected=false])) .content{grid-template-rows:1fr;opacity:1;padding-top:calc(var(--spacing,.0025rem)*400)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-accordion-timer-item-duration:0s}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-accordion-timer-item-duration:0s}}";export{s as mds_accordion_timer_item}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./p-DaONbL_w.system.js","./p-RJ5ZA1kY.system.js","./p-Qrub-hmK.system.js"],(function(e){"use strict";var t,n,i,s,a,o;return{setters:[function(e){t=e.r;n=e.h;i=e.e;s=e.g},function(e){a=e.h},function(e){o=e.c}],execute:function(){var c=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{align-items:center;background-color:var(--mds-card-background);display:flex;flex-grow:1;gap:calc(var(--spacing,.0025rem)*400);justify-content:space-between;min-width:0;padding:calc(var(--spacing,.0025rem)*400)}.actions--hidden{display:none}"};var r=e("mds_card_header",/** @class */function(){function e(e){var n=this;t(this,e);this.onActionSlotChange=function(){n.hasActions=a(n.hostElement,"action")}}e.prototype.componentWillLoad=function(){this.hasActions=a(this.hostElement,"action")};e.prototype.render=function(){return n(i,{key:"34f82475ed90227e7c06b153bd024a1c744c276b",slot:"header"},n("slot",{key:"0c32b469a184b8c641e08dfdeb786f346f3b14a9"}),n("div",{key:"022d73764e88be466f4ad569be128a00723c6980",class:o("actions",!this.hasActions&&"actions--hidden")},n("slot",{key:"7235c45967fbd557ee2649f8c35e7e283c932262",name:"action",onSlotchange:this.onActionSlotChange})))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return s(this)},enumerable:false,configurable:true});return e}());r.style=c()}}}));
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
System.register(["./p-DaONbL_w.system.js","./p-_X0N_X__.system.js","./p-hVpoPUxI.system.js","./p-RJ5ZA1kY.system.js","./p-Qrub-hmK.system.js"],(function(t){"use strict";var a,o,r,s,n,e,i,d,m;return{setters:[function(t){a=t.r;o=t.d;r=t.h;s=t.e;n=t.g},function(t){e=t.c},function(t){i=t.p},function(t){d=t.h},function(t){m=t.c}],execute:function(){var c=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-toast-background:rgb(var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42))));--mds-toast-color:rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-toast-duration:.3s;--mds-toast-icon-color:rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-toast-shadow:var(--shadow-xl,0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a);--mds-toast-width:auto;--private-toast-transition-duration:var(--mds-toast-duration,.3s);--private-toast-transition-duration-intro:var(--duration-500,.5s);--private-toast-transition-duration-icon:var(--duration-200,.2s);color:var(--mds-toast-color,rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));display:flex;left:0;pointer-events:none;position:fixed;right:0;z-index:var(--magma-modal-z-index,3000)}.dialog{--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));align-items:center;background-color:var(--mds-toast-background,rgb(var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42)))));border-radius:var(--radius-xl,20px);-webkit-box-shadow:var(--mds-toast-shadow);box-shadow:var(--mds-toast-shadow);display:inline-flex;gap:calc(var(--spacing,.0025rem)*400);margin-inline:calc(var(--spacing,.0025rem)*400);max-width:100%;padding:calc(var(--spacing,.0025rem)*400);pointer-events:none;-webkit-transition-duration:var(--private-toast-transition-duration);transition-duration:var(--private-toast-transition-duration);transition-property:box-shadow,background-color,color,transform;transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));width:var(--mds-toast-width,auto)}:host([visible]:not([visible=false])) .dialog{pointer-events:auto}:host([position^=top]){top:0}:host([position=top-left]){justify-content:flex-start}:host([position=top-center]){justify-content:center}:host([position=top-right]){justify-content:flex-end}:host([position^=bottom]){bottom:0}:host([position=bottom-left]){justify-content:flex-start}:host([position=bottom-center]){justify-content:center}:host([position=bottom-right]){justify-content:flex-end}.actions{display:flex;gap:calc(var(--spacing,.0025rem)*200)}.actions--hidden{display:none}::slotted([slot=icon]){--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));fill:var(--mds-toast-icon-color,rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));flex-shrink:0;-webkit-transition-duration:var(--private-toast-transition-duration-icon);transition-duration:var(--private-toast-transition-duration-icon);transition-property:fill;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}:host([variant=dark]),:host([variant=dark][tone=strong]){--mds-toast-background:rgb(var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42))));--mds-toast-color:rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=dark][tone=weak]){--mds-toast-background:rgb(var(--magma-surface-inverse-muted,var(--magma-tint-scale-03,var(--tone-neutral-03,73 73 73))));--mds-toast-color:rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=error]),:host([variant=error][tone=strong]){--mds-toast-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-toast-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=error][tone=weak]){--mds-toast-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--mds-toast-color:rgb(var(--magma-danger-text-subtle,var(--text-error-subtle,165 33 40)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=info]),:host([variant=info][tone=strong]){--mds-toast-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-toast-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([variant=info][tone=weak]){--mds-toast-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)));--mds-toast-color:rgb(var(--magma-info-text-subtle,var(--text-info-subtle,0 94 137)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([variant=light]),:host([variant=light][tone=strong]){--mds-toast-background:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255))));--mds-toast-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))))}:host([variant=light][tone=weak]){--mds-toast-background:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255))));--mds-toast-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))))}:host([variant=success]),:host([variant=success][tone=strong]){--mds-toast-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-toast-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=success][tone=weak]){--mds-toast-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)));--mds-toast-color:rgb(var(--magma-success-text-subtle,var(--text-success-subtle,0 102 32)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=warning]),:host([variant=warning][tone=strong]){--mds-toast-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-toast-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([variant=warning][tone=weak]){--mds-toast-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)));--mds-toast-color:rgb(var(--magma-warning-text-subtle,var(--text-warning-subtle,113 85 0)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}.to-top-center,.to-top-left,.to-top-right{transform:translateY(calc(-100% - var(--spacing,.0025rem)*1200));--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));transition-duration:var(--private-toast-transition-duration,var(--mds-toast-duration,.3s));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,width;transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19))}.to-top-center.dialog--visible,.to-top-left.dialog--visible,.to-top-right.dialog--visible{transform:translateY(calc(var(--spacing,.0025rem)*400));--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));transition-duration:var(--private-toast-transition-duration-intro,var(--duration-500));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,width;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.to-bottom-center,.to-bottom-left,.to-bottom-right{transform:translateY(calc(100% + var(--spacing,.0025rem)*1200));--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));transition-duration:var(--private-toast-transition-duration,var(--mds-toast-duration,.3s));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,width;transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19))}.to-bottom-center.dialog--visible,.to-bottom-left.dialog--visible,.to-bottom-right.dialog--visible{transform:translateY(calc(var(--spacing,.0025rem)*400*-1));--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));transition-duration:var(--private-toast-transition-duration-intro,var(--duration-500));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,width;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,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-toast-transition-duration:0s;--private-toast-transition-duration-intro:0s;--private-toast-transition-duration-icon:0s}:host([pref-contrast=more]){--mds-toast-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))!important}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-toast-transition-duration:0s;--private-toast-transition-duration-intro:0s;--private-toast-transition-duration-icon:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-toast-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))!important}}'};var u=t("mds_toast",/** @class */function(){function t(t){var r=this;a(this,t);this.closedEvent=o(this,"mdsToastClose",7);this.cssDismissAnimationDuration=300;// hardcoded from CSS :-(
|
|
2
|
-
/**
|
|
3
|
-
* If set, specifies the visibility duration in milliseconds of the element inside the viewport, when the time is up the visible property will be set to false. If the duration is set to 0 the component will still visible until intentionally closed by user.
|
|
4
|
-
*/this.duration=5e3;
|
|
5
|
-
/**
|
|
6
|
-
* Sets the theme variant colours
|
|
7
|
-
*/this.variant="light";
|
|
8
|
-
/**
|
|
9
|
-
* Sets the tone of the color variant
|
|
10
|
-
*/this.tone="strong";
|
|
11
|
-
/**
|
|
12
|
-
* Sets position of toast
|
|
13
|
-
*/this.position="bottom-center";
|
|
14
|
-
// a removed attribute leaves null, which counts as no duration, like 0
|
|
15
|
-
this.hasDuration=function(){var t;var a=(t=r.duration)!==null&&t!==void 0?t:0;return a!==0&&!Number.isNaN(a)};this.reloadTimeListeners=function(t){if(typeof window==="undefined")return;if(!r.hasDuration()){return}if(!t){return}r.removeTimeListener();r.addTimeListener()};this.removeTimeListener=function(){window.clearInterval(r.timer);r.timer=0};this.addTimeListener=function(){r.timer=window.setInterval((function(){r.visible=false;r.timerToastDismiss=window.setInterval((function(){
|
|
16
|
-
// this is used to wait the toast to finish the outro animation
|
|
17
|
-
r.closedEvent.emit();window.clearInterval(r.timerToastDismiss);r.timerToastDismiss=0}),r.cssDismissAnimationDuration)}),r.duration)};this.onActionSlotChange=function(){r.hasActions=d(r.hostElement,"action")}}t.prototype.updateCSSCustomProps=function(){if(typeof window==="undefined")return;var t=window.getComputedStyle(this.hostElement);this.cssDismissAnimationDuration=e(t.getPropertyValue("--mds-tab-duration"))};t.prototype.componentWillLoad=function(){this.hasText=this.hostElement.innerHTML!=="";this.hasActions=d(this.hostElement,"action");if(!this.hasDuration()){return}if(this.visible){this.addTimeListener()}};t.prototype.componentDidLoad=function(){this.updateCSSCustomProps()};t.prototype.visibleChanged=function(t){this.reloadTimeListeners(t)};t.prototype.durationChanged=function(){this.reloadTimeListeners(!!this.visible)};t.prototype.render=function(){return r(s,{key:"cad012d09a27f0ba79bff9862780688a6221f41f","pref-animation":i.state.animation,"pref-contrast":i.state.contrast,"pref-mode":i.state.mode,"pref-theme-scheme":i.state["theme-scheme"]},r("div",{key:"4da6c79193f6f786e862560a2405bb3edb0b815d",class:m("dialog",this.position&&"to-".concat(this.position),this.visible&&"dialog--visible")},r("slot",{key:"dc21826b3cfe6bc1a49918b15a6718b525985913",name:"icon"}),this.hasText&&r("mds-text",{key:"341d370fb89f96825b1fd0eae0b9c13bf19ac3c5",typography:"caption"},r("slot",{key:"5376e8f9f2595fd839cab929e1cb3dc359626dd4"})),r("div",{key:"594b9b028d9ba258461bc25f7287b4daf21fcca8",class:m("actions",!this.hasActions&&"actions--hidden")},r("slot",{key:"ca1090e8720cc4629a89f44323498d5ee7dc1447",name:"action",onSlotchange:this.onActionSlotChange}))))};Object.defineProperty(t.prototype,"hostElement",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{visible:[{visibleChanged:0}],duration:[{durationChanged:0}]}},enumerable:false,configurable:true});return t}());u.style=c()}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as s,e as t,g as i}from"./p-BxPbQB28.js";import{L as a}from"./p-Kv1yahtR.js";import"./p-7-TP6wnI.js";var o={reloadPageToSeeChanges:"Πρέπει να ανανεώσετε τη σελίδα για να δείτε όλες τις αλλαγές, διαφορετικά θα είναι ορατές μόνο για τα πρόσφατα μεταφορτωμένα στοιχεία."},r={reloadPageToSeeChanges:"You must refresh the page to see all changes, or they will only be visible for new items uploaded."},h={reloadPageToSeeChanges:"Es necesario actualizar la página para ver todos los cambios, o solo serán visibles para los nuevos elementos cargados."},d={reloadPageToSeeChanges:"È necessario aggiornare la pagina per vedere tutti i cambiamenti, oppure saranno visibili solo per i nuovi elementi caricati."};const n=new Set,l=class{constructor(s){e(this,s),this.showReload=!1,this.prefNeedsReload=["consumption","language"],this.t=new a({el:o,en:r,es:h,it:d}),this.addPerfEvents=()=>{this.addEvent(this.host.querySelector("mds-pref-consumption")),this.addEvent(this.host.querySelector("mds-pref-contrast")),this.addEvent(this.host.querySelector("mds-pref-language")),this.addEvent(this.host.querySelector("mds-pref-mode")),this.addEvent(this.host.querySelector("mds-pref-theme"))},this.removePerfEvents=()=>{this.removeEvent(this.host.querySelector("mds-pref-consumption")),this.removeEvent(this.host.querySelector("mds-pref-contrast")),this.removeEvent(this.host.querySelector("mds-pref-language")),this.removeEvent(this.host.querySelector("mds-pref-mode")),this.removeEvent(this.host.querySelector("mds-pref-theme"))},this.handlePrefChangeEvent=e=>{this.prefNeedsReload.includes(e.detail.preference)&&(this.showReload=!0)},this.addEvent=e=>{e&&e.addEventListener("mdsPrefChange",this.handlePrefChangeEvent.bind(this))},this.removeEvent=e=>{e&&e.removeEventListener("mdsPrefChange",this.handlePrefChangeEvent.bind(this))},this.handleThemeChangeEvent=e=>{const s=e.detail;this.applySchemeLock(null==s?void 0:s.scheme)},this.addThemeEvent=e=>{e&&e.addEventListener("mdsPrefThemeChange",this.handleThemeChangeEvent)},this.removeThemeEvent=e=>{e&&e.removeEventListener("mdsPrefThemeChange",this.handleThemeChangeEvent)},this.applySchemeLock=e=>{const s=this.host.querySelector("mds-pref-mode");s&&(s.lockedScheme="light"===e||"dark"===e?e:void 0)},this.applyInitialSchemeLock=()=>{const e=this.host.querySelector("mds-pref-theme");this.applySchemeLock(null==e?void 0:e.scheme)}}handleControllerChange(e){!1===e&&(this.controller=void 0)}handleSizeChange(e){Array.from(this.host.querySelectorAll("*")).filter((e=>e.tagName.toLowerCase().startsWith("mds-pref-"))).forEach((s=>{s.size=e}))}componentDidLoad(){var e;n.add(this.host),"undefined"!=typeof window&&(null===(e=document.documentElement)||void 0===e||e.setAttribute("data-magma-pref","")),this.controller&&this.addPerfEvents(),this.addThemeEvent(this.host.querySelector("mds-pref-theme")),this.applyInitialSchemeLock()}disconnectedCallback(){var e;n.delete(this.host),"undefined"!=typeof window&&0===n.size&&(null===(e=document.documentElement)||void 0===e||e.removeAttribute("data-magma-pref")),this.removePerfEvents(),this.removeThemeEvent(this.host.querySelector("mds-pref-theme"))}render(){return s(t,{key:"56692bdb8729fd14f8f11bfe4b196d6ed912da6a"},s("slot",{key:"9ef17da6e606849b39902677a23b78d00178a344"}),this.showReload&&s("div",{key:"5f453be2e5cd057fc51122b5c8ca5e00eef7ca54",class:"reload-required"},s("mds-text",{key:"4da7774a74d737f303702d36f087ed9c64561ccc",typography:"caption"},this.t.get("reloadPageToSeeChanges"))))}get host(){return i(this)}static get watchers(){return{controller:[{handleControllerChange:0}],size:[{handleSizeChange:0}]}}};l.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*400)}:host(:empty),:host([controller]){display:none}.reload-required{display:grid;gap:calc(var(--spacing,.0025rem)*200)}";export{l as mds_pref}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as a,d as t,h as i,e,g as n}from"./p-BxPbQB28.js";import{h as o}from"./p-C0o_l0td.js";import{c as r}from"./p-ChV9xqsO.js";import{m as s}from"./p-DFyAGAnn.js";import{K as c}from"./p-KRu9I7dw.js";import{p as d}from"./p-7-TP6wnI.js";const m=class{constructor(i){a(this,i),this.changedEvent=t(this,"mdsDetailsChange",7),this.hasIcon=!0,this.km=new c,this.opened=!1,this.toggle=()=>{this.isOpened=!this.isOpened,this.changedEvent.emit(this.isOpened)},this.checkIcon=()=>{this.hasIcon=o(this.host,"icon")},this.onSlotChangeHandler=()=>{this.checkIcon()}}validateOpened(a){this.isOpened=a}componentWillLoad(){this.isOpened=this.opened,this.checkIcon()}componentDidLoad(){var a;const t=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector(".header");this.km.addElement(t),this.km.attachClickBehavior()}disconnectedCallback(){this.km.detachClickBehavior()}render(){return i(e,{key:"3a875435aae154931410535e4d1e9045bf30cd91","pref-animation":d.state.animation,"pref-contrast":d.state.contrast},i("div",{key:"432d547901620cd57ffcff313fbce05a94240ea1",class:r("icon",this.hasIcon?"":"icon--hidden"),onClick:this.toggle},i("slot",{key:"f5f50a9c2f2533c5003339449fcc7ec82694c4eb",name:"icon",onSlotchange:this.onSlotChangeHandler})),i("div",{key:"768988b92347da9a372aecd2c0a3829b004762da",class:"content"},i("div",{key:"7a93c41ac2079c6ce543f343ceb212e7e41190fd",class:"header",part:"header",role:"button","aria-expanded":this.isOpened?"true":"false",tabindex:"0",onClick:this.toggle},i("div",{key:"080bdc82cff5a5b4d70c918fb191eec0ef148243",class:"title",part:"title"},i("slot",{key:"35e4e6809f2d5f4d9d6a9cf64f4facbe7b05fdf4",name:"title"})),i("i",{key:"beb447bde01c624915ec083690cf59bfa2351d1a",class:r("helper-icon",this.isOpened&&"opened"),innerHTML:s})),i("div",{key:"85cc149f5111d7b394c213def2fc6bbc66d272a0",class:r("details",this.isOpened&&"opened")},i("div",{key:"30590821834ceafc900fd2e646573803e1cfb5c3",class:"content-expander",part:"content"},i("slot",{key:"88c485edcfb354f060045ebc5ce209fa615a7054"}),i("div",{key:"e66882f8191300f4c9e973f881c75a04651181a9",class:"actions"},i("slot",{key:"dc36dfddad7ac2b0e2b59491fe5157c84a7b1a19",name:"action"}))))))}get host(){return n(this)}static get watchers(){return{opened:[{validateOpened:0}]}}};m.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))){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-details-duration:.3s;--private-details-duration:var(--mds-details-duration,.3s);--mds-details-icon-color:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-details-helper-icon-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));align-items:flex-start;display:flex;gap:calc(var(--spacing,.0025rem)*200)}.content{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));display:grid;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}.content:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.details{display:grid;gap:calc(var(--spacing,.0025rem)*400);grid-template-rows:0fr;opacity:0;overflow:hidden;padding-top:0;pointer-events:none;-webkit-transition-duration:var(--private-details-duration);transition-duration:var(--private-details-duration);transition-property:grid-template-rows,opacity,padding,-ms-grid-rows}.content-expander{display:grid;gap:calc(var(--spacing,.0025rem)*500);min-height:0}.details.opened{grid-template-rows:1fr;opacity:1;overflow:visible;padding-top:calc(var(--spacing,.0025rem)*300);pointer-events:auto}.header{align-items:center;animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--radius-xs,8px);display:inline-flex;gap:calc(var(--spacing,.0025rem)*200);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}.header:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.icon{cursor:pointer;fill:var(--mds-details-icon-color,rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)))))}.icon--hidden{display:none}.helper-icon,.title{cursor:pointer}.helper-icon{display:flex;fill:var(--mds-details-helper-icon-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))));flex-shrink:0;rotate:0deg;-webkit-transition-duration:var(--duration-300,.3s);transition-duration:var(--duration-300,.3s);transition-property:rotate;-webkit-transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.helper-icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}.helper-icon.opened{rotate:90deg}.actions{display:flex;gap:calc(var(--spacing,.0025rem)*400)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-details-duration:0s}:host([pref-contrast=more]){--mds-details-icon-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))))}@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-details-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-details-icon-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))))}}";export{m as mds_details}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t,e as i}from"./p-BxPbQB28.js";import{m as a}from"./p-BFhO-KUe.js";import{m as r}from"./p-BE8xuIpS.js";const s=class{constructor(t){e(this,t),this.supported=!1,this.typography="detail"}render(){return t(i,{key:"2c4d187715e04f32a989eaf8358a427ff52e02cf",slot:"item"},t("mds-text",{key:"58d45fa5da8d10ebed428bdd5e8befd0b3e595c5",class:"icon-container",typography:this.typography},t("i",this.supported?{class:"icon",innerHTML:a,part:"icon"}:{class:"icon",innerHTML:r,part:"icon"})),t("mds-text",{key:"86e26bc1f132a173a86a67dd9c156b44eff35c65",class:"text",typography:this.typography},t("slot",{key:"d7babfc9729cfc73d0dd901e2b6d5d23db5865a2"})))}};s.style='@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-price-table-list-item-supported-icon-color-hover:rgb(var(--label-green-05,26 148 71));--mds-price-table-list-item-supported-icon-color:rgb(var(--label-green-06,34 195 93));--mds-price-table-list-item-unsupported-icon-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));align-items:flex-start;display:flex;gap:calc(var(--spacing,.0025rem)*100)}.text{flex-grow:1}.icon-container{flex-shrink:0}.icon{display:flex;--tw-ease:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));fill:var(--mds-price-table-list-item-unsupported-icon-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))));height:calc(var(--spacing,.0025rem)*600);-webkit-transition-duration:var(--duration-500,.5s);transition-duration:var(--duration-500,.5s);transition-property:fill;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:calc(var(--spacing,.0025rem)*600)}.icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}:host([supported]:not([supported=false])) .icon{fill:var(--mds-price-table-list-item-supported-icon-color,rgb(var(--label-green-06,34 195 93)))}@property --tw-ease{syntax:"*";inherits:false}';export{s as mds_price_table_list_item}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as a,h as e,e as t}from"./p-BxPbQB28.js";const o=class{constructor(e){a(this,e)}render(){return e(t,{key:"45d54d45b07a9723fcee327fed5d6ef2fe8b739d",slot:"media"},e("div",{key:"826bc9dd4ac1aae4ac3ad6fe00b741a17a5ec9d2",class:"content",part:"content"},e("slot",{key:"9fa54849445b6594eca43c2a506c2e64df124ca8",name:"content"})),e("slot",{key:"6af043f162a93dc4314bd89fd18297a187f49226"}))}};o.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{background-color:var(--mds-card-background);display:grid;min-width:0;position:relative}.content{align-items:flex-end;display:flex;gap:calc(var(--spacing,.0025rem)*200);inset:0;justify-content:center;padding:calc(var(--spacing,.0025rem)*400);position:absolute}.img{-o-object-fit:contain;object-fit:contain}";export{o as mds_card_media}
|
|
@@ -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 e,a,r,o,n,d;return{setters:[function(t){e=t.r;a=t.h;r=t.e;o=t.g},function(t){n=t.p},function(t){d=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(--magma-tint-raised,var(--surface-neutral-raised,248 248 248))));background-color:rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248))));border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));-webkit-box-shadow:var(--shadow-md-sharp,0 0 1px 1px #0000000f,0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f);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:-webkit-min-content -webkit-min-content 1fr -webkit-min-content;grid-template-rows:min-content min-content 1fr min-content}.layout--chm:not(.layout--disabled){grid-template-areas:"header""media""content";grid-template-rows:-webkit-min-content -webkit-min-content 1fr;grid-template-rows:min-content min-content 1fr}.layout--cfm:not(.layout--disabled){grid-template-areas:"media""content""footer"}.layout--cfm:not(.layout--disabled),.layout--fhm:not(.layout--disabled){grid-template-rows:-webkit-min-content 1fr -webkit-min-content;grid-template-rows:min-content 1fr min-content}.layout--fhm:not(.layout--disabled){grid-template-areas:"header""media""footer"}.layout--cfh:not(.layout--disabled){grid-template-areas:"header""content""footer";grid-template-rows:-webkit-min-content 1fr -webkit-min-content;grid-template-rows:min-content 1fr min-content}.layout--hm:not(.layout--disabled){grid-template-areas:"header""media";grid-template-rows:-webkit-min-content 1fr;grid-template-rows:min-content 1fr}.layout--fm:not(.layout--disabled){grid-template-areas:"media""footer";grid-template-rows:1fr -webkit-min-content;grid-template-rows:1fr min-content}.layout--cm:not(.layout--disabled){grid-template-areas:"media""content"}.layout--cm:not(.layout--disabled),.layout--fh:not(.layout--disabled){grid-template-rows:-webkit-min-content 1fr;grid-template-rows:min-content 1fr}.layout--fh:not(.layout--disabled){grid-template-areas:"header""footer"}.layout--ch:not(.layout--disabled){grid-template-areas:"header""content";grid-template-rows:-webkit-min-content 1fr;grid-template-rows:min-content 1fr}.layout--cf:not(.layout--disabled){grid-template-areas:"content""footer";grid-template-rows:1fr -webkit-min-content;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-areas:"media header""media content""media footer";grid-template-columns:minmax(240px,1fr) 2fr;grid-template-rows:-webkit-min-content 1fr -webkit-min-content;grid-template-rows:min-content 1fr min-content}.layout--chm:not(.layout--disabled){grid-template-areas:"media header""media content""media content";grid-template-columns:minmax(240px,1fr) 2fr;grid-template-rows:-webkit-min-content 1fr 1fr;grid-template-rows:min-content 1fr 1fr}.layout--fhm:not(.layout--disabled){grid-template-areas:"media header""media footer";grid-template-columns:minmax(240px,1fr) 2fr;grid-template-rows:-webkit-min-content 1fr;grid-template-rows:min-content 1fr}.layout--cfm:not(.layout--disabled){grid-template-areas:"media content""media footer"}.layout--cfm:not(.layout--disabled),.layout--cm:not(.layout--disabled){grid-template-columns:minmax(240px,1fr) 2fr;grid-template-rows:1fr -webkit-min-content;grid-template-rows:1fr min-content}.layout--cm:not(.layout--disabled){grid-template-areas:"media content"}}:host([pref-contrast=more]){-webkit-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);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]){-webkit-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);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){e(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,e){return t+e.charAt(0)}),"")};t.prototype.render=function(){return a(r,{key:"31eaa183eb0cb5bc9a007f69efe3b0f852b6ef7d","pref-contrast":n.state.contrast,"pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},a("div",{key:"0f3c4c537f04a1d2ca179479d9b3cea416fe6d25",class:d("layout",this.layout&&"layout--".concat(this.layout),this.disableAutoGrid?"layout--disabled":""),part:"layout"},a("slot",{key:"f1940bfd01e4cc0c977cb0dc2b1769e20a6cbdfd",name:"media"}),a("slot",{key:"09b1e2cdbeff759ee3ce63dae5536a54251c43f5",name:"header"}),a("slot",{key:"9ad5ac00277e9fefc07d00d49c82072bf433e9db",name:"content"}),a("slot",{key:"8cf768e1c45773e1fc8b54a34bb8859b228ed1fd",name:"footer"})))};Object.defineProperty(t.prototype,"host",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());s.style=i()}}}));
|
|
@@ -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 y={testKeyCombination:m,testPassed:u,wrongKeysCombination:b};var f="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:f,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(--magma-tint-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));-webkit-box-shadow:var(--mds-keyboard-illumination-light),var(--mds-keyboard-illumination-dark),var(--mds-keyboard-illumination-shadow);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(--magma-tint-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;-webkit-transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94));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:y,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:"ae7e02d59c5073a394c024f0c48cfcafcd8824b6","pref-mode":d.state.mode,"pref-theme-scheme":d.state["theme-scheme"]},e("div",{key:"489ecda8c992192c5abeb96533bdd4c31ff4612c",class:"shortcuts"},e("slot",{key:"b2216a214f02dd62ed5a7185f1ba73a835b4ab9a"})),this.try&&e("mds-button",{key:"2a8d7cbaec7b2e3405e95bb9e236fd3b1c01f667",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:"e781bc624be4e03211e5d56c4c9c91f7215236a5",target:".combination-checker"},this.testPassed===undefined&&this.t.get("testKeyCombination"),this.testPassed===true&&this.t.get("testPassed"),this.testPassed===false&&e("div",{key:"845c90a36f63f7c180bfe738430bd282ed73d971",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 +0,0 @@
|
|
|
1
|
-
import{r as t,d as a,h as i,e as r,g as o}from"./p-BxPbQB28.js";import{m as e}from"./p-DFyAGAnn.js";import{p as n}from"./p-7-TP6wnI.js";const d=class{constructor(i){t(this,i),this.selectedEvent=a(this,"mdsAccordionItemSelect",7),this.unselectedEvent=a(this,"mdsAccordionItemUnselect",7),this.changedEvent=a(this,"mdsAccordionItemChange",7),this.typography="h5",this.toggle=()=>{this.selected=!this.selected,this.changedEvent.emit({id:this.element.id,selected:this.selected}),this.selected?this.selectedEvent.emit({id:this.element.id,selected:this.selected}):this.unselectedEvent.emit({id:this.element.id,selected:this.selected})}}render(){return i(r,{key:"710440cb721331dd74000c27a684ccaa3aae196b","pref-animation":n.state.animation,"pref-contrast":n.state.contrast,"pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},i("button",{key:"fc25af94260cff803ef6be625671a39ccdde8e0a","aria-controls":"content","aria-expanded":this.selected?"true":"false",class:"action",id:"action",onClick:this.toggle,role:"button",tabindex:"0"},i("mds-text",{key:"eac2e32db27ed1c57f92da2c997dec21f692a983",typography:this.typography,part:"label"},this.label),i("mds-text",{key:"1d55fd6ad2756611a95a212a76f0909ead30c41c","aria-hidden":"true",class:"icon-button",typography:this.typography,part:"icon"},i("i",{key:"27370e925ec0ef08fd37647055b92cb11cd9c565",class:"icon",innerHTML:e}))),i("div",{key:"a4b7feca597eb7ba10569f3d1192d024de5331ee",class:"content",id:"content"},i("div",{key:"2642ce83ac26e6244c15a0db83d21389fdd0a36e","aria-labelledby":"action",class:"content-expander",part:"content",role:"region"},i("slot",{key:"1a238dc71cf2bff5a3af1f20b63afda9f321cdc4"}))))}get element(){return o(this)}};d.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}}}@keyframes focus-bounce{0%,75%,to{outline-offset:var(--magma-outline-focus-offset,2px)}50%{outline-offset:var(--magma-outline-blur-offset,6px)}}:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-accordion-item-border-color:var(--mds-accordion-border-color,rgb(var(--magma-border-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196)))));--mds-accordion-item-border-width:var(--mds-accordion-border-width,2px);--mds-accordion-item-color:var(--mds-accordion-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))));--mds-accordion-item-description-color:var(--mds-accordion-description-color,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))));--mds-accordion-item-duration:var(--mds-accordion-duration,.3s);--private-accordion-item-duration:var(--mds-accordion-item-duration,.3s);--mds-accordion-item-transition-duration:var(--duration-500,.5s);--private-accordion-item-transition-duration:var(--mds-accordion-item-transition-duration);--mds-accordion-item-padding-selected:var(--mds-accordion-padding-selected,calc(var(--spacing,.0025rem)*400) 0 calc(var(--spacing,.0025rem)*800) 0);--mds-accordion-item-padding-unselected:var(--mds-accordion-padding-unselected,calc(var(--spacing,.0025rem)*400) 0 calc(var(--spacing,.0025rem)*400) 0);border-bottom:var(--mds-accordion-item-border-width,2px) solid #0000;border-top:var(--mds-accordion-item-border-width,2px) solid #0000;color:var(--mds-accordion-item-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))));display:grid;fill:var(--mds-accordion-item-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))));margin-top:calc(var(--mds-accordion-item-border-width,2px)*-1);padding:var(--mds-accordion-item-padding-unselected,calc(var(--spacing,.0025rem)*400) 0 calc(var(--spacing,.0025rem)*400) 0);position:relative;-webkit-transition-duration:var(--private-accordion-item-transition-duration);transition-duration:var(--private-accordion-item-transition-duration);transition-property:background-color,border-color,color,fill,margin,padding;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}:host(:first-child){margin-top:0}.action{animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:#0000;border:0;border-radius:var(--radius-md,12px);color:var(--mds-accordion-item-description-color,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))));cursor:pointer;display:grid;gap:calc(var(--spacing,.0025rem)*400);grid-auto-columns:-webkit-min-content;grid-auto-columns:min-content;grid-template-columns:auto 24px;outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));padding:0;text-align:left;transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out}.action:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.icon-button{--tw-font-weight:var(--font-weight-normal,400);display:block;font-weight:var(--font-weight-normal,400)}.content{display:grid;gap:calc(var(--spacing,.0025rem)*400);grid-template-rows:0fr;min-height:0;opacity:0;overflow:hidden;padding-top:0;-webkit-transition-duration:var(--private-accordion-item-duration);transition-duration:var(--private-accordion-item-duration);transition-property:grid-template-rows,opacity,padding,-ms-grid-rows;-webkit-transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.content-expander{display:grid;grid-template-columns:minmax(0,100%);min-height:0;-webkit-transition-duration:var(--private-accordion-item-duration);transition-duration:var(--private-accordion-item-duration);transition-property:opacity,padding;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.icon{display:flex;fill:var(--mds-accordion-item-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))));transform:rotate(0);-webkit-transition-duration:var(--private-accordion-item-transition-duration);transition-duration:var(--private-accordion-item-transition-duration);transition-property:transform;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}:host([selected]:not([selected=false])){border-bottom:var(--mds-accordion-item-border-width,2px) solid var(--mds-accordion-item-border-color,rgb(var(--magma-border-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196)))));border-top:var(--mds-accordion-item-border-width,2px) solid var(--mds-accordion-item-border-color,rgb(var(--magma-border-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196)))));padding:var(--mds-accordion-item-padding-selected,calc(var(--spacing,.0025rem)*400) 0 calc(var(--spacing,.0025rem)*800) 0)}:host([selected]:not([selected=false]):first-child){border-top-color:#0000;margin-top:0}:host([selected]:not([selected=false]):last-child){border-bottom-color:#0000;margin-bottom:0}:host([selected]:not([selected=false])) .content{grid-template-rows:1fr;opacity:1;padding-top:calc(var(--spacing,.0025rem)*400)}:host([selected]:not([selected=false])) .icon{transform:rotate(90deg)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-accordion-item-duration:0s;--private-accordion-item-transition-duration:0s}:host([pref-contrast=more]){--mds-accordion-item-color:var(--mds-accordion-color,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))))}@property --tw-font-weight{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-accordion-item-duration:0s;--private-accordion-item-transition-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-accordion-item-color:var(--mds-accordion-color,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))))}}';export{d as mds_accordion_item}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,d as e,h as a,e as r,g as o}from"./p-BxPbQB28.js";import{p as s}from"./p-7-TP6wnI.js";const d=class{constructor(a){t(this,a),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,a)=>{t.selected&&e.push(a)})),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 a=Array.from(e).find((e=>e.id===t.detail.id));a&&(a.selected=!0)}this.selectMultipleItems()}else e.forEach(((a,r)=>{a.selected=`item-${r}`===t.detail.id&&(t.detail.selected||this.disableClose),a.selected&&this.changedEvent.emit({children:e,selected:r.toString()})}))}}componentWillLoad(){this.queryItems().forEach(((t,e)=>t.id=`item-${e}`))}selectedEventHandler(t){this.changedChildrenHandler(t)}unselectedEventHandler(t){this.changedChildrenHandler(t)}render(){return a(r,{key:"0b0479fbc00c3c8c6114cb63f9dbdca72fe82b04","pref-contrast":s.state.contrast,"pref-mode":s.state.mode,"pref-theme-scheme":s.state["theme-scheme"]},a("slot",{key:"535ab500b25c6fa820b6f2c351866c13b8248d04"}))}get element(){return o(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(--magma-tint-border-default,var(--border-neutral-default,196 196 196))));--mds-accordion-border-width:2px;--mds-accordion-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));--mds-accordion-description-color:rgb(var(--magma-text-default,var(--magma-tint-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(--magma-tint-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(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}";export{d as mds_accordion}
|