@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
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,a,i,r){function e(t){return t instanceof i?t:new i((function(a){a(t)}))}return new(i||(i=Promise))((function(i,n){function s(t){try{d(r.next(t))}catch(t){n(t)}}function o(t){try{d(r["throw"](t))}catch(t){n(t)}}function d(t){t.done?i(t.value):e(t.value).then(s,o)}d((r=r.apply(t,a||[])).next())}))};var __generator=this&&this.__generator||function(t,a){var i={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,e,n,s=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return s.next=o(0),s["throw"]=o(1),s["return"]=o(2),typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(t){return function(a){return d([t,a])}}function d(o){if(r)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(i=0)),i)try{if(r=1,e&&(n=o[0]&2?e["return"]:o[0]?e["throw"]||((n=e["return"])&&n.call(e),0):e.next)&&!(n=n.call(e,o[1])).done)return n;if(e=0,n)o=[o[0]&2,n.value];switch(o[0]){case 0:case 1:n=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;e=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(n=i.trys,n=n.length>0&&n[n.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!n||o[1]>n[0]&&o[1]<n[3])){i.label=o[1];break}if(o[0]===6&&i.label<n[1]){i.label=n[1];n=o;break}if(n&&i.label<n[2]){i.label=n[2];i.ops.push(o);break}if(n[2])i.ops.pop();i.trys.pop();continue}o=a.call(t,i)}catch(t){o=[6,t];e=0}finally{r=n=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-DaONbL_w.system.js","./p-BS7eEvwu.system.js","./p-CdsZyFQ-.system.js","./p-BgkMKVyw.system.js","./p-BJKToXNf.system.js","./p-hVpoPUxI.system.js","./p-BTF_aRDG.system.js"],(function(t){"use strict";var a,i,r,e,n,s,o,d,u,c,m;return{setters:[function(t){a=t.r;i=t.d;r=t.h;e=t.e;n=t.g},function(t){s=t.s},function(t){o=t.u},function(t){d=t.m},function(t){u=t.D},function(t){c=t.p},function(t){m=t.L}],execute:function(){var p="Άνοιγμα ημερολογίου";var h={openCalendar:p};var l="Open calendar";var f={openCalendar:l};var v="Abrir el calendario";var g={openCalendar:v};var b="Apri il calendario";var y={openCalendar:b};var w=function(){return'@layer reset,vendor,theme,base,components,utilities;:host{--private-input-date-height:3rem;--private-input-date-padding-inline:calc(var(--spacing,.0025rem)*400);--private-input-date-calendar-area:calc(var(--spacing,.0025rem)*1200);--mds-input-date-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-input-date-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-input-date-field-background-empty:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--mds-input-date-field-color-empty:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-input-date-icon-color-rgb:var(--mds-input-date-variant-color-rgb,0 0 0);--mds-input-date-ring:0 0 0 1px rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/.1);--mds-input-date-shadow:0 1px 3px 0 rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/.1),0 1px 2px 0 rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/.06);--mds-input-tip-horizontal-offset:calc(var(--spacing,.0025rem)*100);--mds-input-tip-horizontal-offset-focused:calc(var(--spacing,.0025rem)*1000);--mds-input-tip-vertical-offset:calc(var(--spacing,.0025rem)*100);--mds-input-tip-background:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-input-date-transition-duration:var(--duration-300,.3s);--private-input-date-transition-duration:var(--mds-input-date-transition-duration);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;border-radius:min(var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)),var(--magma-corner-cap,.5) * var(--private-input-date-height));color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));corner-shape:var(--magma-corner-shape,squircle);container-type:inline-size;display:flex;gap:calc(var(--spacing,.0025rem)*200);overflow:visible;position:relative;--mds-input-date-icon-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-date-variant-color-rgb:0 0 0}.input::-webkit-calendar-picker-indicator{appearance:textfield;display:none}.input{font-family:var(--font-code,"Roboto Mono","Courier New",monospace);font-size:var(--text-size-code-hack,.875rem);font-weight:var(--tw-font-weight,var(--text-size-code-hack--font-weight,400));line-height:var(--tw-leading,var(--text-size-code-hack--line-height,1.25rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-radius:inherit;box-sizing:border-box;color:inherit;corner-shape:inherit;background-color:#0000;border:0;margin:0;overflow:hidden;text-overflow:ellipsis;transition-duration:var(--private-input-date-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,margin,opacity,padding,transform;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:min-content}:host([empty]) .input{background-color:var(--mds-input-date-field-background-empty,rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230))));color:var(--mds-input-date-field-color-empty,rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0))))}:host([slot]){color:inherit;display:contents}:host([slot]) .input{cursor:text;text-align:center}:host(:not([slot])) .input{background-color:var(--mds-input-date-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));box-shadow:var(--mds-input-date-ring),var(--mds-input-date-shadow);min-height:var(--private-input-date-height);padding-left:var(--private-input-date-padding-inline);padding-right:var(--private-input-date-calendar-area);width:100%}:host(:focus-within) .input{--tw-outline-style:none;outline-style:none;transition-duration:var(--default-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,width;transition-timing-function:var(--default-transition-timing-function);--mds-input-date-ring:0 0 0 3px rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/1);--mds-input-date-shadow:0 4px 6px 3px rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/.1),0 2px 4px -1px rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/.06);transition-duration:var(--duration-300,.3s);transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.input::placeholder{color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}.input::-webkit-inner-spin-button,.input::-webkit-outer-spin-button{appearance:none;display:none;margin:0}.input:disabled{background-color:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))}.input:disabled,.input:disabled::placeholder{color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)))}.action-open-calendar-wrapper{align-items:center;aspect-ratio:1;bottom:0;display:flex;justify-content:center;position:absolute;right:0;top:0}.action-open-calendar{--mds-button-color:var(--mds-input-date-icon-color,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));align-self:center}mds-calendar{min-width:min-content;width:100cqw}mds-dropdown{padding:0}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(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-calendar,mds-dropdown,mds-input-tip,mds-input-tip-item):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host([size=md]){--private-input-date-height:calc(var(--spacing,.0025rem)*900);--private-input-date-padding-inline:calc(var(--spacing,.0025rem)*300);--private-input-date-calendar-area:calc(var(--spacing,.0025rem)*1000)}:host([size=sm]){--private-input-date-height:calc(var(--spacing,.0025rem)*700);--private-input-date-padding-inline:calc(var(--spacing,.0025rem)*200);--private-input-date-calendar-area:calc(var(--spacing,.0025rem)*800)}: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-date-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-input-date-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(--tone-neutral-08,208 208 208)))}:host([pref-contrast=more]){--mds-input-date-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6));--mds-input-date-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:host([pref-contrast=more]) .input::placeholder{color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}@supports ((-moz-appearance:none)){.action-open-calendar{display:none}:host(:not([slot])) .input{padding-right:calc(var(--spacing,.0025rem)*400)}}:host(:focus){--mds-input-date-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-input-date-variant-color-rgb:var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))}:host([variant=ai]){--mds-input-date-icon-color:rgb(var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245)));--mds-input-tip-background:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));--mds-input-date-variant-color-rgb:0 0 0}:host([variant=ai]:focus){--mds-input-date-icon-color:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));--mds-input-date-variant-color-rgb:var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245))}:host([variant=info]){--mds-input-date-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-date-variant-color-rgb:0 0 0}:host([variant=info]:focus){--mds-input-date-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-date-variant-color-rgb:var(--magma-info-emphasis,var(--status-info-04,0 119 164))}:host([variant=success]){--mds-input-date-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-date-variant-color-rgb:0 0 0}:host([variant=success]:focus){--mds-input-date-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-date-variant-color-rgb:var(--magma-success-emphasis,var(--status-success-04,0 128 57))}:host([variant=warning]){--mds-input-date-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-date-variant-color-rgb:0 0 0}:host([variant=warning]:focus){--mds-input-date-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-date-variant-color-rgb:var(--magma-warning-emphasis,var(--status-warning-04,142 106 0))}:host([variant=error]){--mds-input-date-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-date-variant-color-rgb:0 0 0}:host([variant=error]:focus){--mds-input-date-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-date-variant-color-rgb:var(--magma-danger-emphasis,var(--status-error-04,196 64 65))}@media (forced-colors:active){:host(:focus-within) .input{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-date-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-input-date-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(--tone-neutral-08,208 208 208)))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-input-date-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6));--mds-input-date-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .input::placeholder{color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}}'};var x=t("mds_input_date",/** @class */function(){function t(t){var r=this;a(this,t);this.validationEvent=i(this,"mdsInputValidation",7);this.valueChange=i(this,"mdsInputDateSelect",7);if(t.$hostElement$["s-ei"]){this.internals=t.$hostElement$["s-ei"]}else{this.internals=t.$hostElement$.attachInternals();t.$hostElement$["s-ei"]=this.internals}this.t=new m({el:h,en:f,es:g,it:y});
|
|
2
|
+
// the disabled state of the host as a form control: its own disabled, or a disabled fieldset
|
|
3
|
+
// around it, which disables the host but not the native control in its shadow root
|
|
4
|
+
this.formDisabled=false;this.isSlotted=false;
|
|
5
|
+
// the value at load, which a form reset brings back as the value attribute of a native input
|
|
6
|
+
this.defaultValue="";this.empty=undefined;
|
|
7
|
+
// true once the user has edited or left the field, or a stopped submit pointed at it: from then
|
|
8
|
+
// on the validation drives the variant, like :user-invalid on a native control
|
|
9
|
+
this.touched=false;
|
|
10
|
+
/**
|
|
11
|
+
* Specifies the value of the input
|
|
12
|
+
* @description It's in ISO format (YYYY-MM-DD).
|
|
13
|
+
*/this.value="";
|
|
14
|
+
/**
|
|
15
|
+
* Sets the variant of the input field
|
|
16
|
+
*/this.variant="primary";
|
|
17
|
+
/**
|
|
18
|
+
* Specifies the min date of the range, user cannot set dates before this date
|
|
19
|
+
* @description It's in ISO format (YYYY-MM-DD).
|
|
20
|
+
*/this.min=null;
|
|
21
|
+
/**
|
|
22
|
+
* Specifies the max date of the range, user cannot set dates after this date
|
|
23
|
+
* @description It's in ISO format (YYYY-MM-DD).
|
|
24
|
+
*/this.max=null;
|
|
25
|
+
/**
|
|
26
|
+
* Specifies the delay in milliseconds before closing the calendar dropdown, if the value is 0 the dropdown will not close
|
|
27
|
+
* @description Default is 500
|
|
28
|
+
*/this.delay=500;
|
|
29
|
+
/**
|
|
30
|
+
* Specifies the height of the field, the same as `mds-button`: `sm` 28px, `md` 36px, `lg` 48px
|
|
31
|
+
*/this.size="lg";
|
|
32
|
+
/**
|
|
33
|
+
* Hides the highlight on today's date in the calendar.
|
|
34
|
+
*/this.hideToday=false;
|
|
35
|
+
/**
|
|
36
|
+
* If true, the element is displayed as disabled
|
|
37
|
+
*/this.disabled=false;
|
|
38
|
+
/**
|
|
39
|
+
* Specifies that the element is read-only
|
|
40
|
+
*/this.readonly=false;
|
|
41
|
+
/**
|
|
42
|
+
* Specifies that the element must be filled out before submitting the form
|
|
43
|
+
*/this.required=false;this.calendarKey=0;this.hasFocus=false;this.isDisabled=function(){return!!r.disabled||r.formDisabled};this.handleChange=function(t){var a=t.target;r.touched=true;
|
|
44
|
+
// manage case when i insert 0 on date and default input behavior change in 01 instead of resetting all date
|
|
45
|
+
if(a.value!=="")r.value=a.value;r.validateValue(a.validity.badInput)};this.onBlur=function(t){var a=t.target;r.hasFocus=false;r.touched=true;r.value=a.value;r.validateValue(a.validity.badInput)};this.onFocus=function(t){var a=t.target;r.hasFocus=true;if(r.readonly){
|
|
46
|
+
// setTimeout to avoid Safari 14.1.2
|
|
47
|
+
// to unselect text when mouse is clicked slowly
|
|
48
|
+
setTimeout((function(){a.select()}),10)}};this.handleOpenCalendarClick=function(){r.calendarKey+=1};this.handleCalendarChange=function(t){r.touched=true;r.value=t.detail.startDate;if(r.delay===0)return;var a=r.dropdownRef;if(a){setTimeout((function(){a.visible=false}),r.delay)}}}t.prototype.handleValue=function(){this.valueChange.emit(this.value);this.validateValue()};
|
|
49
|
+
/**
|
|
50
|
+
* Checks the value: the validity reported to the form and the required tip follow it at once,
|
|
51
|
+
* the variant and `mdsInputValidation` only once the field is touched.
|
|
52
|
+
*/t.prototype.validateValue=function(t){if(t===void 0){t=false}var a=u.fromISO(this.value);var i=Boolean(this.value);var r=i&&!a.isValid;this.problem=this.findProblem(a,t||r);this.isValid=this.problem===undefined;s(this.internals,this.isValid?this.value:null);this.empty=t||r?true:undefined;this.updateFormValidity();if(!this.touched)return;this.variant=this.isValid?"primary":"error";this.validationEvent.emit(this.isValid)};
|
|
53
|
+
/**
|
|
54
|
+
* A submit stopped by an invalid date, or a `checkValidity()` of its form, touches the field, so
|
|
55
|
+
* that it shows what is wrong.
|
|
56
|
+
*/t.prototype.invalidHandler=function(){this.touched=true;this.validateValue()};
|
|
57
|
+
/** The rule the value breaks, `undefined` when it breaks none. */t.prototype.findProblem=function(t,a){var i,r,e;if(a)return{rule:"invalidDate"};if(this.required&&((i=this.value)!==null&&i!==void 0?i:"")==="")return{rule:"required"};if(!t.isValid)return undefined;if(((r=this.max)!==null&&r!==void 0?r:"")!==""&&u.fromISO(this.max)<t){return{rule:"maxDate",context:{max:this.formatDate(this.max)}}}if(((e=this.min)!==null&&e!==void 0?e:"")!==""&&u.fromISO(this.min)>t){return{rule:"minDate",context:{min:this.formatDate(this.min)}}}return undefined};
|
|
58
|
+
/** An ISO date as the page language writes it, for the messages. */t.prototype.formatDate=function(t){return u.fromISO(t).setLocale(c.state.language).toLocaleString(u.DATE_SHORT)};
|
|
59
|
+
/**
|
|
60
|
+
* Reports the validity of the value to the form, with the rules that drive the variant: like a
|
|
61
|
+
* native control, an invalid date stops the submit of its form.
|
|
62
|
+
*/t.prototype.updateFormValidity=function(){var t,a;var i=(a=(t=this.host.shadowRoot)===null||t===void 0?void 0:t.querySelector(".input"))!==null&&a!==void 0?a:undefined;o(this.internals,this.problem,i)};t.prototype.componentDidRender=function(){
|
|
63
|
+
// the native input the message points at exists from the first render on
|
|
64
|
+
this.updateFormValidity()};
|
|
65
|
+
/**
|
|
66
|
+
* Sets focus on the underlying input element.
|
|
67
|
+
*/t.prototype.focusInput=function(){return __awaiter(this,void 0,void 0,(function(){var t,a;return __generator(this,(function(i){a=(t=this.host.shadowRoot)===null||t===void 0?void 0:t.querySelector(".input");a.focus();return[2/*return*/]}))}))};
|
|
68
|
+
/**
|
|
69
|
+
* Sets the input value.
|
|
70
|
+
* @param value the value to set, in ISO format (YYYY-MM-DD)
|
|
71
|
+
*/t.prototype.setValue=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){this.value=t;this.validateValue();return[2/*return*/,Promise.resolve()]}))}))};
|
|
72
|
+
/**
|
|
73
|
+
* Returns the current validation errors, or `null` if the value is valid.
|
|
74
|
+
* @returns the validation errors, or `null` when valid
|
|
75
|
+
*/t.prototype.getErrors=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2/*return*/,Promise.resolve(this.isValid?null:{error:""})]}))}))};t.prototype.formDisabledCallback=function(t){this.formDisabled=t};
|
|
76
|
+
/**
|
|
77
|
+
* Like a native input, a form reset brings back the value of load and forgets the interaction:
|
|
78
|
+
* the field looks pristine until the user edits or leaves it again.
|
|
79
|
+
*/t.prototype.formResetCallback=function(){var t;var a=this.touched;this.touched=false;
|
|
80
|
+
// the native input can hold a partial date that never reached the value
|
|
81
|
+
var i=(t=this.host.shadowRoot)===null||t===void 0?void 0:t.querySelector(".input");if(i)i.value=this.defaultValue;this.value=this.defaultValue;this.validateValue();if(a)this.variant="primary"};t.prototype.componentWillLoad=function(){this.isSlotted=!(this.host.getAttribute("slot")===null||this.host.getAttribute("slot")==="");this.value=this.value||"";this.defaultValue=this.value;this.clampRange();this.validateValue()};
|
|
82
|
+
/**
|
|
83
|
+
* Snaps `max` to `min` when the range is reversed.
|
|
84
|
+
* @returns true when `max` changed
|
|
85
|
+
*/t.prototype.clampRange=function(){if(this.min===null||this.min===""||this.max===null||this.max==="")return false;if(u.fromISO(this.max)<u.fromISO(this.min)){this.max=this.min;return true}return false};
|
|
86
|
+
/**
|
|
87
|
+
* Validates again when a rule changes after load, as it does with the React wrappers under SSR,
|
|
88
|
+
* which set the props on an element that has already loaded.
|
|
89
|
+
*/t.prototype.validationRulesChanged=function(){
|
|
90
|
+
// a reversed range snaps max to min, and that change runs this watcher again
|
|
91
|
+
if(this.clampRange())return;this.validateValue()};t.prototype.render=function(){var t=this;return r(e,{key:"85a3b42321ad68851f46f10e9ff75dfadf2888b9",empty:this.empty,"pref-animation":c.state.animation,"pref-contrast":c.state.contrast,"pref-mode":c.state.mode,"pref-theme-scheme":c.state["theme-scheme"]},r("input",{key:"944870b51be68a215e41bd36ef36917ff9c25663","aria-label":this.accessibleName,value:this.value,id:"dateInput",class:"input",part:"input-date",type:"date",disabled:this.isDisabled(),name:this.name,readOnly:this.readonly,onBlur:this.onBlur,onFocus:this.onFocus,onInput:this.handleChange,onChange:this.handleChange}),!this.isSlotted&&r("div",{key:"f74ee4f14e92125a218a8afe4e4a023eba7a62e6",class:"action-open-calendar-wrapper"},r("mds-button",{key:"e91d6fcc89cb9cb9d3cd102a3f330407b3ae36f7","aria-label":this.t.get("openCalendar"),id:"calendar-dropdown",class:"action-open-calendar",
|
|
92
|
+
// the default md button fills the 36px square of an md field; sm fits the 28px one
|
|
93
|
+
size:this.size==="sm"?"sm":undefined,
|
|
94
|
+
// a read-only date cannot change, from the calendar either
|
|
95
|
+
disabled:this.isDisabled()||this.readonly,variant:"dark",tone:"text",icon:d,onClick:this.handleOpenCalendarClick})),r("mds-input-tip",{key:"0835dceae4baedd641f3b4bd26f977643292b53b",position:"top",active:this.hasFocus},this.isDisabled()&&r("mds-input-tip-item",{key:"e1b239aa4f26f5652cdf28dc2b3e08d9675e4f45",expanded:true,variant:"disabled"}),this.readonly&&r("mds-input-tip-item",{key:"f8e056104b9491b716ba8609b59fecb7a28dc363",expanded:true,variant:"readonly"}),this.required&&r("mds-input-tip-item",{key:"b99ca8074d60453b1326ec2046793ef9055280ed",expanded:this.hasFocus,variant:this.isValid?"required-success":"required"})),!this.isSlotted&&r("mds-dropdown",{key:"53fddd62c262bf14899c07c8a9eb6d1783a3d202",placement:"bottom-end","disable-auto-placement":true,ref:function(a){return t.dropdownRef=a},role:"group",target:"#calendar-dropdown"},r("mds-calendar",Object.assign({key:this.calendarKey,singlePicker:true,hideToday:this.hideToday,onMdsCalendarChange:this.handleCalendarChange,startDate:this.value},this.min!==null&&this.min!==""?{min:this.min}:{},this.max!==null&&this.max!==""?{max:this.max}:{}))))};Object.defineProperty(t,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"host",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:[{handleValue:0}],max:[{validationRulesChanged:0}],min:[{validationRulesChanged:0}],required:[{validationRulesChanged:0}]}},enumerable:false,configurable:true});return t}());x.style=w()}}}));
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,i,n,e){function o(t){return t instanceof n?t:new n((function(i){i(t)}))}return new(n||(n=Promise))((function(n,r){function s(t){try{c(e.next(t))}catch(t){r(t)}}function a(t){try{c(e["throw"](t))}catch(t){r(t)}}function c(t){t.done?n(t.value):o(t.value).then(s,a)}c((e=e.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},e,o,r,s=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return s.next=a(0),s["throw"]=a(1),s["return"]=a(2),typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(t){return function(i){return c([t,i])}}function c(a){if(e)throw new TypeError("Generator is already executing.");while(s&&(s=0,a[0]&&(n=0)),n)try{if(e=1,o&&(r=a[0]&2?o["return"]:a[0]?o["throw"]||((r=o["return"])&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;if(o=0,r)a=[a[0]&2,r.value];switch(a[0]){case 0:case 1:r=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;o=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){n.label=a[1];break}if(a[0]===6&&n.label<r[1]){n.label=r[1];r=a;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(a);break}if(r[2])n.ops.pop();n.trys.pop();continue}a=i.call(t,n)}catch(t){a=[6,t];o=0}finally{e=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-DaONbL_w.system.js","./p-_X0N_X__.system.js","./p-hVpoPUxI.system.js"],(function(t){"use strict";var i,n,e,o,r,s,a,c;return{setters:[function(t){i=t.r;n=t.d;e=t.h;o=t.e;r=t.g},function(t){s=t.a;a=t.c},function(t){c=t.p}],execute:function(){var u=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-push-notification-fadeout-delay:0s;--mds-push-notification-gap:calc(var(--spacing,.0025rem)*200);--mds-push-notification-items-intro-delay:.3s;--mds-push-notification-items-outro-delay:0s;--mds-push-notification-items-duration:.3s;--mds-push-notification-items-gap:var(--mds-push-notification-gap,calc(var(--spacing,.0025rem)*200));--mds-push-notification-items-timing-function:var(--ease-in-out-quint,cubic-bezier(.86,0,.07,1));--mds-push-notification-background:linear-gradient(90deg,#dcdcdc00 0%,#dcdcdcd9);-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none;--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));background:var(--mds-push-notification-background);bottom:0;box-sizing:initial!important;display:flex;flex-direction:column;gap:calc(var(--spacing,.0025rem)*200);max-width:360px;min-width:calc(var(--spacing,.0025rem)*7200);overflow-x:hidden;padding:calc(var(--spacing,.0025rem)*400);padding-left:calc(var(--spacing,.0025rem)*2400);position:fixed;right:0;top:0;transform:translate(100%);transition-delay:var(--mds-push-notification-fadeout-delay,0s);transition-duration:var(--duration-500,.5s);transition-property:transform;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));z-index:var(--magma-notification-z-index,2000)}:host::-webkit-scrollbar{display:none}.notifications{display:flex;flex-direction:column-reverse;gap:var(--mds-push-notification-items-gap)}.notifications ::slotted(mds-push-notification-item){--mds-push-notification-item-duration:var(--mds-push-notification-items-duration,.3s);--mds-push-notification-item-timing-function:var(--mds-push-notification-items-timing-function);position:absolute;transform:translate(calc(100% + calc(var(--mds-push-notification-gap,calc(var(--spacing,.0025rem) * 200)) + var(--mds-push-notification-gap,calc(var(--spacing,.0025rem) * 200)))));visibility:hidden}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-push-notification-background:linear-gradient(90deg,#0000 0%,#00000080 20%,#000000d9)}:host([visible]){transform:translate(0);transition-delay:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-push-notification-background:linear-gradient(90deg,#0000 0%,#00000080 20%,#000000d9)}}'};var f=t("mds_push_notification",/** @class */function(){function t(t){var e=this;i(this,t);this.changedEvent=n(this,"mdsPushNotificationChange",7);this.shownEvent=n(this,"mdsPushNotificationShow",7);this.hiddenEvent=n(this,"mdsPushNotificationHide",7);
|
|
2
|
+
/**
|
|
3
|
+
* Specifies if the component is visible or not.
|
|
4
|
+
* behavior = manual
|
|
5
|
+
* should hide when click outside
|
|
6
|
+
* should hide when all notifications are removed
|
|
7
|
+
* should show when change visible from component or call show method
|
|
8
|
+
*
|
|
9
|
+
* behavior = auto
|
|
10
|
+
* should hide when all notifications are removed
|
|
11
|
+
* should show when one or more notifications are added
|
|
12
|
+
*/this.behavior="auto";
|
|
13
|
+
// TODO [fix] If visibility is set to false, hide all the notifications area also when they are added
|
|
14
|
+
// TODO [fix] If visibility is set to true, and there are not notifications, show the notifications area
|
|
15
|
+
// TODO [feat] Add a method to clear all notifications at once
|
|
16
|
+
// TODO [feat] Hide the component when all the children are removed
|
|
17
|
+
// TODO [feat] Show the component when one or more children are added
|
|
18
|
+
// TODO [test] tests are not clear, please fix them
|
|
19
|
+
/**
|
|
20
|
+
* Animation for open notification
|
|
21
|
+
* @param element HTMLElement that need to be opened
|
|
22
|
+
* @returns
|
|
23
|
+
*/this.introItem=function(t){
|
|
24
|
+
// no reason why I must duplicata marginBottom negative to prevent flickering
|
|
25
|
+
t.style.marginBottom="-".concat(t.offsetHeight+s(e.cssItemsGap),"px");return new Promise((function(i){setTimeout((function(){t.style.marginBottom="-".concat(t.offsetHeight+s(e.cssItemsGap),"px");setTimeout((function(){t.style.visibility="visible";t.style.position="relative";t.style.transform="translate(0, 0)";t.style.marginBottom="0px";i()}),a(e.cssItemsIntroDuration))}),15);// hope to find a better solution not based on 15ms of delay, not very robust
|
|
26
|
+
}))};
|
|
27
|
+
/**
|
|
28
|
+
* Animation for close notification
|
|
29
|
+
* @param element HTMLElement that need to be removed
|
|
30
|
+
* @returns
|
|
31
|
+
*/this.outroItem=function(t){if(e.slotNotifications.assignedNodes().length<=1)e.hide();
|
|
32
|
+
// no reason why I must duplicate marginBottom negative to prevent flickering
|
|
33
|
+
t.style.marginBottom="0px";return new Promise((function(i){setTimeout((function(){t.style.marginBottom="0px";setTimeout((function(){t.addEventListener("transitionend",(function(){
|
|
34
|
+
// element.removeEventListener('transitionend')
|
|
35
|
+
t.remove()}));t.style.removeProperty("transform");t.style.marginBottom="-".concat(t.offsetHeight+s(e.cssItemsGap),"px");i()}),a(e.cssItemsOutroDuration))}),15);// hope to find a better solution not based on 15ms of delay, not very robust
|
|
36
|
+
}))};
|
|
37
|
+
/**
|
|
38
|
+
* manages the opening of notifications when they are added to the slot
|
|
39
|
+
*/this.handleSlotChange=function(){var t=e.slotNotifications.assignedElements().map((function(t){return t})).filter((function(t){return t.style.visibility===""}));if(t.length===0)return;t.forEach((function(t){return __awaiter(e,void 0,void 0,(function(){var i=this;return __generator(this,(function(n){switch(n.label){case 0:t.addEventListener("mdsPushNotificationItemClose",(function(){return i.outroItem(t)}));return[4/*yield*/,this.introItem(t)];case 1:n.sent();return[2/*return*/]}}))}))}));if(e.behavior==="auto")e.show()};this.updateCSSCustomProps=function(){var t,i,n;var o=window.getComputedStyle(e.host);e.cssItemsGap=(t=o.getPropertyValue("--mds-push-notification-items-gap"))!==null&&t!==void 0?t:"0.5rem";e.cssItemsIntroDuration=(i=o.getPropertyValue("--mds-push-notification-items-intro-delay"))!==null&&i!==void 0?i:"200ms";e.cssItemsOutroDuration=(n=o.getPropertyValue("--mds-push-notification-items-outro-delay"))!==null&&n!==void 0?n:"0ms"};this.clear=function(){e.slotNotifications.assignedElements().forEach((function(t){return e.outroItem(t)}));e.hide()}}
|
|
40
|
+
/**
|
|
41
|
+
* Shows the notification container.
|
|
42
|
+
*/t.prototype.show=function(){this.visible=true;return Promise.resolve()};
|
|
43
|
+
/**
|
|
44
|
+
* Hides the notification container.
|
|
45
|
+
*/t.prototype.hide=function(){this.visible=undefined;return Promise.resolve()};
|
|
46
|
+
/**
|
|
47
|
+
* Removes the given notification item(s) from the stack.
|
|
48
|
+
* @param notification the notification item or items to remove
|
|
49
|
+
*/t.prototype.removeNotification=function(t){if(Array.isArray(t)){t.forEach(this.outroItem)}else{this.outroItem(t)}return Promise.resolve()};t.prototype.componentDidLoad=function(){this.updateCSSCustomProps();this.slotNotifications.addEventListener("slotchange",this.handleSlotChange);this.handleSlotChange()};t.prototype.visibleChanged=function(t){if(t){this.changedEvent.emit({visible:true});this.shownEvent.emit();return}if(t===undefined){this.changedEvent.emit({visible:false});this.hiddenEvent.emit();return}this.visible=undefined};t.prototype.render=function(){var t=this;return e(o,{key:"75c145d26620f15cf88a6a5c676c138f8df28a86","pref-mode":c.state.mode,"pref-theme-scheme":c.state["theme-scheme"]},e("mds-button",{key:"c227af2028fdb444511494d6ba9bc20896804134",variant:"dark",onClick:this.clear,label:"Cancella notifiche"}),e("div",{key:"2cad70984e75fd10484747500b0f8a70932b3470",class:"notifications",part:"notifications"},e("slot",{key:"562e3bc317737842344bd720559eaef96781a61f",ref:function(i){return t.slotNotifications=i}})))};Object.defineProperty(t.prototype,"host",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{visible:[{visibleChanged:0}]}},enumerable:false,configurable:true});return t}());f.style=u()}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,d as t,f as s,h as i,e as a,g as h,B as r}from"./p-BxPbQB28.js";import{L as l}from"./p-Kv1yahtR.js";import{M as d,p as o}from"./p-7-TP6wnI.js";import{l as m}from"./p-6pgPWpGI.js";import{m as n}from"./p-DiWN48aq.js";import{m as c}from"./p-Ccz0jCNB.js";const f=["bevel","notch","round","scoop","square","squircle","default"];var p={label:"Θέμα"},u={label:"Theme"},b={label:"Tema"},g={label:"Tema"};const v=class{constructor(s){e(this,s),this.themeChangeEvent=t(this,"mdsPrefThemeChange",7),this.prefChangeEvent=t(this,"mdsPrefChange",7),this.showDropdown=!1,this.localStorageAliasThemeName="mdsPrefTheme",this.localStorageAliasThemeScheme="mdsPrefThemeScheme",this.localStorageAliasCornerShape="mdsPrefCornerShape",this.t=new l({el:p,en:u,es:b,it:g}),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"},this.name="default",this.scheme="all",this.triggerLabel=()=>{const e=Array.from(this.element.querySelectorAll("mds-pref-theme-item")).find((e=>{var t,s;return(null!==(s=null!==(t=e.name)&&void 0!==t?t:e.getAttribute("name"))&&void 0!==s?s:"default")===this.name}));return(null==e?void 0:e.label)||(null==e?void 0:e.getAttribute("label"))||m(this.name)},this.toggleDropdown=()=>{this.showDropdown=!this.showDropdown},this.hideThemeDropdownSelect=()=>{this.showDropdown=!1},this.changeThemeItem=()=>{this.themeItems.forEach((e=>{e.selected=!1}))},this.checkThemeSelect=()=>{this.themeItems=this.element.querySelectorAll("mds-pref-theme-item"),this.themeItems.forEach((e=>{e.addEventListener("mdsPrefThemeItemSelect",(e=>{this.changeThemeItem(),this.currentSelectedItem=e.currentTarget,this.currentSelectedItem.selected=!0;const t=e.detail.name.toLowerCase(),s=e.detail.scheme.toLowerCase();this.themeChangeEvent.emit({name:t,scheme:s}),this.showDropdown=!1,this.setTheme(t,s)}))})),this.themeItems.forEach((e=>{e.selected=e.name===this.name}))},this.setTheme=(e,t)=>{if(!/^[a-z]+(-[a-z]+)*$/gm.exec(e))throw Error(`Theme name not valid: ${e}`);if(d.includes(e)||"scheme"===e||e.startsWith("scheme-"))throw Error(`Theme name reserved: ${e}`);if(this.name=e,this.scheme=t,this.prefChangeEvent.emit({preference:"theme"}),localStorage.setItem(this.localStorageAliasThemeName,this.name),localStorage.setItem(this.localStorageAliasThemeScheme,this.scheme),"undefined"!=typeof document){const e=document.querySelector("html");for(const t in this.schemeSet)({}).hasOwnProperty.call(this.schemeSet,t)&&(null==e||e.classList.remove(this.schemeSet[t]));null!==this.previousName&&""!==this.previousName&&(null==e||e.classList.remove(this.clasNameThemeNamePrefix+this.previousName)),null==e||e.setAttribute("data-theme-name",this.name),null==e||e.classList.add(this.schemeSet[this.scheme]),null==e||e.classList.add(this.clasNameThemeNamePrefix+this.name),null==e||e.style.setProperty(this.customPropertyAliasThemeName,this.name),null==e||e.style.setProperty(this.customPropertyAliasThemeScheme,this.scheme),this.previousName=this.name}o.state["theme-scheme"]=this.scheme},this.setCornerShape=e=>{if(null!=e){if(!f.includes(e))throw Error(`Corner shape not valid: ${e}`);if(this.cornerShape=e,this.prefChangeEvent.emit({preference:"corner-shape"}),localStorage.setItem(this.localStorageAliasCornerShape,e),"undefined"!=typeof document){const t=document.querySelector("html");"default"===e?null==t||t.removeAttribute("data-corner-shape"):null==t||t.setAttribute("data-corner-shape",e)}o.state["corner-shape"]="default"===e?void 0:e}}}connectedCallback(){r.isBrowser&&(this.itemsObserver=new MutationObserver((()=>s(this.element))),this.itemsObserver.observe(this.element,{attributeFilter:["label","name"],childList:!0,subtree:!0}))}componentDidLoad(){this.checkThemeSelect()}disconnectedCallback(){var e;null===(e=this.itemsObserver)||void 0===e||e.disconnect(),this.itemsObserver=void 0}componentWillRender(){var e,t,s;this.userThemeName=localStorage.getItem(this.localStorageAliasThemeName),this.userThemeScheme=localStorage.getItem(this.localStorageAliasThemeScheme),this.setTheme(null!==(e=this.userThemeName)&&void 0!==e?e:this.name,null!==(t=this.userThemeScheme)&&void 0!==t?t:this.scheme),this.userCornerShape=localStorage.getItem(this.localStorageAliasCornerShape),this.setCornerShape(null!==(s=this.userCornerShape)&&void 0!==s?s:this.cornerShape)}render(){return i(a,{key:"2c1cc087d9f72e3c0c76aaee36895d0e0fd082fe"},i("div",{key:"b9747c6a330efebb17feee19b843496c1d571695",class:"menu"},i("mds-text",{key:"4a4489bc428dfbd95c5c7839dc69ff47f65946e9",class:"info",typography:"caption"},i("b",{key:"b3334ccaf13ccb33cedfe7c8da069155712cbf8a"},this.t.get("label"))),i("mds-tab",{key:"6ebd788130fdd32f4195522842d4375b82e8ff4b",fill:!0,size:this.size},i("mds-tab-item",{key:"d5f4df2c25d2f842e5540bd573e0e20a55935a47",selected:!0,onClick:this.toggleDropdown,expanded:this.showDropdown,id:"mds-pref-theme-nav",class:"item item--theme","icon-position":"right",icon:this.showDropdown?c:n,label:this.triggerLabel()}))),i("mds-dropdown",{key:"f1df1944eaabdf48ff970ed2e004b756479e9a87",class:"mds-pref-theme-dropdown",target:"#mds-pref-theme-nav",interaction:"none",visible:this.showDropdown,onMdsDropdownHide:this.hideThemeDropdownSelect},i("slot",{key:"e52ede9b85614201d9a988c27572004c4e396a74"})))}get element(){return h(this)}};v.style="@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)}.menu{display:grid;gap:calc(var(--spacing,.0025rem)*200)}.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(--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(--text-neutral-muted,73 73 73)))}";export{v as mds_pref_theme}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-DaONbL_w.system.js"],(function(t){"use strict";var e,i
|
|
1
|
+
System.register(["./p-DaONbL_w.system.js"],(function(t){"use strict";var e,a,i;return{setters:[function(t){e=t.r;a=t.h;i=t.e}],execute:function(){var r=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-price-table-list:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*600);grid-template-columns:repeat(auto-fit,minmax(1px,1fr))}"};var n=t("mds_price_table_header",/** @class */function(){function t(t){e(this,t)}t.prototype.render=function(){return a(i,{key:"a0b9e147af9885a54e9940a458b4506b45722d22"},a("slot",{key:"75075b864f1368f840e90bd49a9b1d7aaac0ac0d"}))};return t}());n.style=r()}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-DaONbL_w.system.js","./p-RJ5ZA1kY.system.js","./p-Qrub-hmK.system.js"],(function(t){"use strict";var e,n,i,a,c,s;return{setters:[function(t){e=t.r;n=t.h;i=t.e;a=t.g},function(t){c=t.h},function(t){s=t.c}],execute:function(){var o=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=t("mds_card_header",/** @class */function(){function t(t){var n=this;e(this,t);this.onActionSlotChange=function(){n.hasActions=c(n.hostElement,"action")}}t.prototype.componentWillLoad=function(){this.hasActions=c(this.hostElement,"action")};t.prototype.render=function(){return n(i,{key:"d01cfc808dc8593dbc9d807523a5c348fbcf39c8",slot:"header"},n("slot",{key:"4bd11a12259a2ecf1b97eeb6a9cec1ff221d9361"}),n("div",{key:"5a91d3d06f40db3c11ac39a45352c8705e3b222b",class:s("actions",!this.hasActions&&"actions--hidden")},n("slot",{key:"bf535fe4b82884071f1b5b6c6962a3848b7857f7",name:"action",onSlotchange:this.onActionSlotChange})))};Object.defineProperty(t.prototype,"hostElement",{get:function(){return a(this)},enumerable:false,configurable:true});return t}());r.style=o()}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,d as t,h as i,e,g as o}from"./p-BxPbQB28.js";import{h as n}from"./p-C0o_l0td.js";import{c as r}from"./p-ChV9xqsO.js";import{m as s}from"./p-DFyAGAnn.js";import{K as d}from"./p-KRu9I7dw.js";import{p as c}from"./p-7-TP6wnI.js";const l=class{constructor(i){a(this,i),this.changedEvent=t(this,"mdsDetailsChange",7),this.hasIcon=!0,this.km=new d,this.opened=!1,this.toggle=()=>{this.isOpened=!this.isOpened,this.changedEvent.emit(this.isOpened)},this.checkIcon=()=>{this.hasIcon=n(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:"8e641d8744634b75a7ab100fff2fdd044e9578be","pref-animation":c.state.animation,"pref-contrast":c.state.contrast},i("div",{key:"437e4afc2322c2ceb604ed5a9e4a914633be2eb7",class:r("icon",this.hasIcon?"":"icon--hidden"),onClick:this.toggle},i("slot",{key:"35e82720b20db64e0297b43a9720d9c99ef202c0",name:"icon",onSlotchange:this.onSlotChangeHandler})),i("div",{key:"ca32bc9444f09223b02370fbb6fc712daf56b1ab",class:"content"},i("div",{key:"92f9b60a40930ec514cc05b66dc71856d5cbc55b",class:"header",part:"header",role:"button","aria-expanded":this.isOpened?"true":"false",tabindex:"0",onClick:this.toggle},i("div",{key:"82a2d6ad0e835e9d203070cb48a0b0bef0aa2d22",class:"title",part:"title"},i("slot",{key:"5e54697ea87164ce24efd308806c75cb914ccf66",name:"title"})),i("i",{key:"5365901ecffafb409f0f67d7f8879f8d936e026e",class:r("helper-icon",this.isOpened&&"opened"),innerHTML:s})),i("div",{key:"a4dc952e107c165d80a78dfc273d7f44938ee0d4",class:r("details",this.isOpened&&"opened")},i("div",{key:"e6602015f7509fe9fe7cb130a2f29dde53667679",class:"content-expander",part:"content"},i("slot",{key:"fbc903eff1abd02c608a7a8160cf0e301229400c"}),i("div",{key:"c2dd1a86cf6680a19baaf0ca4a5b94f340bfcb4c",class:"actions"},i("slot",{key:"0b3ec5f035285941d457202619961dafa27367dc",name:"action"}))))))}get host(){return o(this)}static get watchers(){return{opened:[{validateOpened:0}]}}};l.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(--variant-primary-04,36 103 231)));--mds-details-helper-icon-color:rgb(var(--magma-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;transition-duration:var(--private-details-duration);transition-property:grid-template-rows,opacity,padding}.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(--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(--text-neutral-muted,73 73 73))));flex-shrink:0;rotate:0deg;transition-duration:var(--duration-300,.3s);transition-property:rotate;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(--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(--variant-primary-03,7 76 204)))}}";export{l as mds_details}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as r,e as a,g as t}from"./p-BxPbQB28.js";const o=class{constructor(r){e(this,r),this.onClick=e=>{var r;e.stopPropagation();const a=null===(r=this.host)||void 0===r?void 0:r.closest("mds-input-date-range");a&&(a.preselect({caller:this.host,start:this.start,end:this.end}),this.selected=!0)}}render(){return r(a,{key:"e5571b251d0b86eccf975c07af016fd0e25387d3",slot:"calendar-preselection"},r("mds-button",{key:"95b8be91464b8e283c623c191514f7c293b941af",onClick:this.onClick,class:"action",variant:"primary",tone:"strong"},r("slot",{key:"6a96b556f736d867ab858ffba7307c45fb15dd65"})))}get host(){return t(this)}};o.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-date-range-preselection-default-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))/0);--mds-date-range-preselection-default-border:var(--magma-border-default,var(--border-neutral-default,196 196 196));--mds-date-range-preselection-default-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-date-range-preselection-selected-background:rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-date-range-preselection-selected-border:var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204));--mds-date-range-preselection-selected-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-date-range-preselection-hover-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-date-range-preselection-hover-border:var(--magma-wash-soft,var(--tone-neutral-10,237 237 237));--mds-date-range-preselection-hover-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-date-range-preselection-background:var(--mds-date-range-preselection-default-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))/0));--mds-date-range-preselection-border:var(--mds-date-range-preselection-default-border,var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-date-range-preselection-color:var(--mds-date-range-preselection-default-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));display:inline-flex;justify-self:start}:host .action{--mds-button-background:var(--mds-date-range-preselection-background);--mds-button-border-color-rgb:var(--mds-date-range-preselection-border);--mds-button-color:var(--mds-date-range-preselection-color)}:host .action:hover{--mds-date-range-preselection-background:var(--mds-date-range-preselection-hover-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));--mds-date-range-preselection-border:var(--mds-date-range-preselection-hover-border,var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-date-range-preselection-color:var(--mds-date-range-preselection-hover-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))))}:host([selected]) .action{--mds-date-range-preselection-background:var(--mds-date-range-preselection-selected-background,rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--mds-date-range-preselection-border:var(--mds-date-range-preselection-selected-border,var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-date-range-preselection-color:var(--mds-date-range-preselection-selected-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));pointer-events:none}";export{o as mds_input_date_range_preselection}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as a,e as s,g as e}from"./p-BxPbQB28.js";import{r as t,i as o}from"./p-CSCy6TMW.js";import{p as i,a as n}from"./p-7-TP6wnI.js";const m=class{constructor(a){r(this,a),this.stepsList=new Array,this.progress=0,this.direction="horizontal",this.variant="primary",this.typography="option",this.size="sm",this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}componentWillLoad(){this.stepsList=this.steps.split(","),this.setProgress(this.progress)}componentDidLoad(){t(this.element,"aria-hidden","true",["aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","role"])}setProgress(r){""!==this.steps&&(this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))],o(this.element,"aria-hidden")||this.element.setAttribute("aria-valuetext",this.currentStep))}progressChanged(r){this.setProgress(r)}stepsChanged(r){this.stepsList=r.split(",")}render(){return a(s,{key:"7cf77caa637a5ab308ad902583143c27d9802fbc","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":!o(this.element,"aria-hidden")&&Math.round(100*this.progress),role:"progressbar","pref-animation":i.state.animation,"pref-contrast":i.state.contrast,"pref-mode":i.state.mode,"pref-theme-scheme":i.state["theme-scheme"]},"radial"===this.direction?a("mds-radial-progress",{"aria-hidden":"true",progress:this.progress,part:"radial-progress",typography:this.typography,variant:this.variant}):a("div",{class:"progress",part:"progress",style:"horizontal"===this.direction?{flexGrow:`${this.progress}`}:{flexGrow:`${this.progress}`,width:"100%"}}))}get element(){return e(this)}static get watchers(){return{progress:[{progressChanged:0}],steps:[{stepsChanged:0}]}}};m.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))){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-progress-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-progress-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-progress-duration:.75s;--private-progress-duration:var(--mds-progress-duration,.75s);--mds-progress-transition-duration:var(--duration-300,.3s);--private-progress-transition-duration:var(--mds-progress-transition-duration);--mds-progress-thickness:calc(var(--spacing,.0025rem)*200);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-progress-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);display:flex;height:var(--mds-progress-thickness,calc(var(--spacing,.0025rem)*200));min-height:var(--mds-progress-thickness,calc(var(--spacing,.0025rem)*200));min-width:var(--mds-progress-thickness,calc(var(--spacing,.0025rem)*200));overflow:hidden;position:relative;transition-duration:var(--private-progress-transition-duration);transition-property:background-color;width:100%}:host([direction=vertical]){flex-direction:column;height:unset;min-height:var(--mds-progress-thickness,calc(var(--spacing,.0025rem)*200));width:var(--mds-progress-thickness,calc(var(--spacing,.0025rem)*200))}:host([direction=radial]){aspect-ratio:1;background-color:#0000;height:auto}:host([direction=radial]) mds-radial-progress{width:inherit}.progress{--tw-ease:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));background-color:var(--mds-progress-color,rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204))));border-radius:inherit;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));corner-shape:inherit;transition-duration:var(--private-progress-duration);transition-property:background-color,flex-grow}:host([variant=dark]){--mds-progress-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-progress-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))}:host([variant=light]){--mds-progress-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-progress-background:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)))}:host([variant=error]){--mds-progress-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-progress-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)))}:host([variant=warning]){--mds-progress-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-progress-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)))}:host([variant=success]){--mds-progress-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-progress-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)))}:host([variant=info]){--mds-progress-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-progress-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)))}:host([variant=primary]){--mds-progress-color:rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-progress-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)))}:host([variant=ai]){--mds-progress-color:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));--mds-progress-background:rgb(var(--magma-accent-ai-surface,var(--variant-ai-09,229 218 253)))}:host([size=sm]){--mds-progress-thickness:calc(var(--spacing,.0025rem)*200)}:host([size=md]){--mds-progress-thickness:calc(var(--spacing,.0025rem)*300)}:host([size=lg]){--mds-progress-thickness:calc(var(--spacing,.0025rem)*400)}:host([size=xl]){--mds-progress-thickness:calc(var(--spacing,.0025rem)*600)}: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-progress-duration:0s;--private-progress-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=primary]){--mds-progress-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=error]){--mds-progress-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-progress-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=warning]){--mds-progress-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-progress-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=success]){--mds-progress-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-progress-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=info]){--mds-progress-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-progress-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)))}:host([pref-contrast=more]),:host([pref-contrast=more]):host([variant=primary]){--mds-progress-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)))}@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-progress-duration:0s;--private-progress-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])),:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=primary]){--mds-progress-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=error]){--mds-progress-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-progress-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=warning]){--mds-progress-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-progress-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=success]){--mds-progress-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-progress-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=info]){--mds-progress-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-progress-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]),:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=primary]){--mds-progress-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)))}}';const g=class{constructor(a){r(this,a),this.progress=0,this.animatedProgress=0,this.rafId=null,this.typography="option",this.variant="primary",this.progressPercentage=r=>`${Math.round(100*r)}`,this.clampProgress=r=>Math.min(1,Math.max(0,r)),this.easeOutExpo=r=>1===r?1:1-Math.pow(2,-10*r),this.stopAnimation=()=>{null!==this.rafId&&(cancelAnimationFrame(this.rafId),this.rafId=null)},this.animateTo=r=>{const a=this.clampProgress(r),s=this.animatedProgress;if(this.stopAnimation(),n())return void(this.animatedProgress=a);const e=performance.now(),t=r=>{const o=Math.min(1,(r-e)/500),i=this.easeOutExpo(o);this.animatedProgress=s+(a-s)*i,this.rafId=o<1?requestAnimationFrame(t):null};this.rafId=requestAnimationFrame(t)}}componentWillLoad(){this.animatedProgress=this.clampProgress(this.progress)}disconnectedCallback(){this.stopAnimation()}onProgressChange(r){this.animateTo(r)}render(){const r=`${(100*this.animatedProgress).toFixed(2)}%`,e=this.progressPercentage(this.clampProgress(this.progress));return a(s,{key:"5c8fb6c0a70a93835262aad6450c77a0f38a6fab","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":e,role:"progressbar",style:{"--mds-radial-progress":r}},a("div",{key:"a5b58f68cef5bbff49c0f0a3ba905249294553e3",class:"value-container",part:"value-container"},this.icon&&a("mds-icon",{key:"5f4163f2960d0d27cf874761759f612c82896c41",class:"icon",name:this.icon,part:"icon"}),a("div",{key:"fa6ee7c601e2783be9b9efbf0a71bdcc676a536e",class:"value-container__text"},a("mds-text",{key:"51883d76c6216dcd2e29f2a30fdb6409c5808b05",class:"value",typography:this.typography},e))))}static get watchers(){return{progress:[{onProgressChange:0}]}}};g.style='@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-tooltip):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-radial-progress-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-radial-progress-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-radial-progress-text-background-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-radial-progress-text-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-radial-progress-text-suffix:"%";--mds-radial-progress:0%;align-items:center;aspect-ratio:1;background-color:var(--mds-radial-progress-background);background-image:conic-gradient(var(--mds-radial-progress-color) var(--mds-radial-progress,0),#0000 0);border-radius:var(--radius-full,1000px);box-sizing:border-box;container:mds-radial-progress/inline-size;display:flex;height:auto;justify-content:center;padding:calc(var(--spacing,.0025rem)*200);transition-duration:.5s;transition-property:background-color,--mds-radial-progress-color,--mds-radial-progress;transition-timing-function:ease-out;width:calc(var(--spacing,.0025rem)*1200)}.value-container{aspect-ratio:1;background-color:var(--mds-radial-progress-text-background);border-radius:inherit;box-shadow:var(--mds-radial-progress-text-background-shadow);display:flex;flex-direction:column;gap:calc(var(--spacing,.0025rem)*50);padding:calc(var(--spacing,.0025rem)*50);width:100%}.value-container,.value-container__text{align-items:center;justify-content:center}.value,.value-container__text{display:inline-flex}.value{color:currentColor}.value:after{content:var(--mds-radial-progress-text-suffix)}.icon{aspect-ratio:1;fill:var(--mds-radial-progress-color);max-height:calc(var(--spacing,.0025rem)*600);max-width:calc(var(--spacing,.0025rem)*600);width:100%}@container mds-radial-progress (max-width:47px){:host([typography=label][icon]) .value-container__text,:host([typography=option][icon]) .value-container__text{display:none}}@container mds-radial-progress (max-width:35px){:host([typography=label]) .value{--mds-radial-progress-text-suffix:""}}@container mds-radial-progress (max-width:31px){:host([typography=option]) .value{--mds-radial-progress-text-suffix:""}}@container mds-radial-progress (max-width:23px){:host([typography=label]) .value{display:none}}@container mds-radial-progress (max-width:19px){:host([typography=option]) .value{display:none}}:host([variant=primary]),:host([variant=secondary]){--mds-radial-progress-color:rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-radial-progress-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:host([variant=ai]){--mds-radial-progress-color:rgb(var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245)));--mds-radial-progress-background:rgb(var(--magma-accent-ai-surface,var(--variant-ai-09,229 218 253)))}:host([variant=error]){--mds-radial-progress-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-radial-progress-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)))}:host([variant=warning]){--mds-radial-progress-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)));--mds-radial-progress-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)))}:host([variant=success]){--mds-radial-progress-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)));--mds-radial-progress-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)))}:host([variant=info]){--mds-radial-progress-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)));--mds-radial-progress-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)))}:host([variant=light]){--mds-radial-progress-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-radial-progress-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:host([variant=dark]){--mds-radial-progress-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-radial-progress-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42)));--mds-radial-progress-text-background:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255))/.15);color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)))}';export{m as mds_progress,g as mds_radial_progress}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,h as t,e as r}from"./p-BxPbQB28.js";import{p as e}from"./p-7-TP6wnI.js";const o=class{constructor(t){a(this,t)}render(){return t(r,{key:"0b0ed3715f5ae4716811e80809abf5e2df62a2c5",role:"rowgroup","pref-animation":e.state.animation},t("slot",{key:"fa0fdc9da9967427cbb2d5da39e57f7b5474184e"}))}};o.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-table-row: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-body-background-hover:var(--mds-table-background-alt,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));--mds-table-body-background:var(--mds-table-background,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-body-background-alt:var(--mds-table-body-background-hover);--mds-table-body-color-alt:var(--mds-table-color-alt,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--mds-table-body-color:var(--mds-table-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-table-row-color:var(--mds-table-body-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-table-body-transition-duration:var(--duration-200,.2s);--private-table-body-transition-duration:var(--mds-table-body-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-body-background,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));display:table-row-group;overflow:hidden;transition-duration:var(--private-table-body-transition-duration);transition-property:background-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}:host(:last-of-type) ::slotted(:last-of-type){--private-cell-border-color:#0000}:host([interactive]:hover){--mds-table-row-background:var(--mds-table-body-background-hover);--mds-table-row-color:var(--mds-table-body-color-alt,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))))}:host([selection]){--mds-table-body-background:var(--mds-table-body-background-alt,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))))}: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-body-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-body-transition-duration:0s}}';export{o as mds_table_body}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as i,e as a,g as o}from"./p-BxPbQB28.js";import{p as n}from"./p-7-TP6wnI.js";import{o as s,s as e,c as r,d}from"./p-JMPfVnGv.js";const c=class{constructor(i){t(this,i),this.value=0,this.dismissed=!1,this.strategy="fixed",this.placement="right-start",this.updatePosition=()=>{const t=new Array,i="disabled"===this.strategy?"absolute":"fixed";t.push(s(0)),t.push(e({padding:0})),r(this.caller,this.host,{middleware:t,placement:this.placement,strategy:i}).then((({x:t,y:i})=>{Object.assign(this.host.style,{left:`${t}px`,top:`${i}px`})}))},this.clean=t=>{var i;if(0===(null!=t?t:0)||isNaN(t))return"";const a=null!==(i=this.max)&&void 0!==i?i:0;return 0!==a&&!Number.isNaN(a)&&t>a?`+${Number(a).toLocaleString()}`:Number(t).toLocaleString()}}componentDidRender(){var t;if(""===(null!==(t=this.target)&&void 0!==t?t:""))return void(this.strategy="disabled");const i=document.querySelector(this.target);if(null==i)return console.warn(`mds-notification: no valid target found: ${this.target}`),void(this.strategy="disabled");this.caller=i}componentDidLoad(){var t;"disabled"!==this.strategy&&""!==(null!==(t=this.target)&&void 0!==t?t:"")&&null==this.cleanupAutoUpdate&&setTimeout((()=>{this.cleanupAutoUpdate=d(this.caller,this.host,this.updatePosition)}),100)}disconnectedCallback(){this.cleanupAutoUpdate=()=>{}}strategyHandler(t){"disabled"===t&&(this.cleanupAutoUpdate=()=>{})}render(){var t;return i(a,{key:"7ccd6942aef0bc72b1da02625dd1eff455998ef5","aria-labelledby":this.target,"aria-label":null!==(t=this.value)&&void 0!==t?t:"0","pref-animation":n.state.animation},i("mds-text",{key:"8f4283fa8d54781cd37040427fd1c0dc2ee11348",typography:"caption",class:"dot","aria-hidden":"true"},this.clean(this.value)))}get host(){return o(this)}static get watchers(){return{strategy:[{strategyHandler:0}]}}};c.style='@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),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-notification-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-dot-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-notification-dot-padding:6px;--mds-notification-min-width:var(--mds-notification-size,20px);--mds-notification-ring-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-ring-size:2px;--mds-notification-size:20px;--mds-notification-transition-duration:.2s;--private-notification-transition-duration:var(--mds-notification-transition-duration,.2s);--mds-notification-dot-transition-duration:var(--duration-300,.3s);--private-notification-dot-transition-duration:var(--mds-notification-dot-transition-duration);--mds-notification-transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));--mds-notification-translate-offset-x:-1.75;--mds-notification-translate-offset-y:-2;--mds-notification-translate:translate(calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-x,-1.75)),calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-y,-2)));align-items:center;border-radius:var(--radius-full,1000px);bottom:100%;color:var(--mds-notification-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));display:inline-flex;height:var(--mds-notification-size,20px);justify-content:flex-end;min-width:max-content;pointer-events:none;width:var(--mds-notification-size,20px);z-index:10}:host([strategy=absolute]),:host([strategy=fixed]){opacity:0;right:100%;transform:var(--mds-notification-translate,translate(-11.42857px,-10px)) scale(0);transform-origin:calc(100% - var(--mds-notification-size,20px)/2) 50%;transition-duration:var(--private-notification-transition-duration);transition-property:color,height,opacity,transform,width;transition-timing-function:var(--mds-notification-transition-timing-function)}:host([strategy=absolute]){position:absolute}:host([strategy=fixed]){position:fixed}.dot{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));align-items:center;background-color:var(--mds-notification-dot-background,rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65))));border-radius:var(--radius-full,1000px);box-shadow:0 0 0 var(--mds-notification-ring-size,2px) var(--mds-notification-ring-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));box-sizing:border-box;display:inline-flex;justify-content:center;line-height:var(--mds-notification-size,20px);min-height:var(--mds-notification-size,20px);min-width:var(--mds-notification-min-width,20px);padding-left:var(--mds-notification-dot-padding,6px);padding-right:var(--mds-notification-dot-padding,6px);position:static;transition-duration:var(--private-notification-dot-transition-duration);transition-property:background-color,color,box-shadow;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));white-space:nowrap}:host([strategy=absolute]) .dot,:host([strategy=fixed]) .dot{position:absolute}.spacer{box-sizing:border-box;display:inline-flex;height:var(--mds-notification-size,20px);width:var(--mds-notification-min-width,20px)}:host([dismissed]:not([dismissed=false])[strategy=absolute]),:host([dismissed]:not([dismissed=false])[strategy=fixed]){--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));opacity:1;transform:var(--mds-notification-translate,translate(-11.42857px,-10px)) scale(0);transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19))}:host([strategy=absolute]:not([dismissed])),:host([strategy=absolute][dismissed=false]),:host([strategy=fixed]:not([dismissed])),:host([strategy=fixed][dismissed=false]){--tw-ease:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));opacity:1;transform:var(--mds-notification-translate,translate(-11.42857px,-10px)) scale(1);transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1))}:host(:not([target])),:host([strategy=disabled]){opacity:1;position:static;transform:scale(1);transform-origin:unset;transition-duration:0s}:host(:not([target])) .dot,:host([strategy=disabled]) .dot{position:static}: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-notification-transition-duration:0s;--private-notification-dot-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-notification-transition-duration:0s;--private-notification-dot-transition-duration:0s}}';export{c as mds_notification}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
System.register(["./p-DaONbL_w.system.js","./p-CmqQGcAO.system.js","./p-BTF_aRDG.system.js","./p-hVpoPUxI.system.js"],(function(e){"use strict";var i,a,t,s,n,r,c;return{setters:[function(e){i=e.r;a=e.d;t=e.h;s=e.e;n=e.g},function(e){r=e.m},function(e){c=e.L},null],execute:function(){var o='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8s8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57V12c0-2.76-2.24-5-5-5s-5 2.24-5 5s2.24 5 5 5c1.38 0 2.64-.56 3.54-1.47c.65.89 1.77 1.47 2.96 1.47c1.97 0 3.5-1.6 3.5-3.57V12c0-5.52-4.48-10-10-10zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3s3 1.34 3 3s-1.34 3-3 3z"/></svg>';var d="Αφαίρεση";var m={remove:d};var l="Remove";var v={remove:l};var h="Eliminar";var g={remove:h};var u="Rimuovi";var p={remove:u};var b=function(){return"@layer reset,vendor,theme,base,components,utilities;: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-mention-icon-size:calc(var(--spacing,.0025rem)*600);align-items:center;background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));border-radius:var(--radius-full,1000px);color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));cursor:pointer;display:inline-flex;fill:currentColor;padding:calc(var(--spacing,.0025rem)*25);padding-right:calc(var(--spacing,.0025rem)*200);vertical-align:middle}mds-icon{height:var(--mds-mention-icon-size,calc(var(--spacing,.0025rem)*600));width:var(--mds-mention-icon-size,calc(var(--spacing,.0025rem)*600))}:host([deletable]){padding-right:calc(var(--spacing,.0025rem)*25)}:host([size=sm]){--mds-mention-icon-size:calc(var(--spacing,.0025rem)*400)}:host([size=sm]) .badge{padding-left:calc(var(--spacing,.0025rem)*50);padding-right:calc(var(--spacing,.0025rem)*150)}:host([size=md]){--mds-mention-icon-size:calc(var(--spacing,.0025rem)*600)}:host([size=md]) .badge{padding-right:calc(var(--spacing,.0025rem)*200)}.action-remove{border-radius:var(--radius-full,1000px);corner-shape:round;flex-shrink:0;height:var(--mds-mention-icon-size,calc(var(--spacing,.0025rem)*600));margin-left:calc(var(--spacing,.0025rem)*50);min-height:0;min-width:0;padding:0;width:var(--mds-mention-icon-size,calc(var(--spacing,.0025rem)*600))}"};var f=e("mds_mention",/** @class */function(){function e(e){var t=this;i(this,e);this.deleteEvent=a(this,"mdsMentionDelete",7);this.t=new c({el:m,en:v,es:g,it:p});
|
|
2
|
+
/**
|
|
3
|
+
* Sets the label of the component
|
|
4
|
+
*/this.size="sm";this.sizeTypography={sm:"caption",md:"detail",lg:"h6"};this.onDeleteHandler=function(e){e.stopPropagation();t.deleteEvent.emit({event:e,element:t.host})}}e.prototype.render=function(){var e,i,a;var n=(e=this.icon)!==null&&e!==void 0?e:"";return t(s,{key:"914ba108dd94074f6d4cfe55d3ae8f6da5d20c07"},t("mds-icon",{key:"452fa5eafee76b142b2ca9491f0bdb0ed21649a2",name:n!==""?n:o}),t("mds-text",{key:"1070089d8e8d38d6d9ae477b6ac7b16b7d5bb29a",typography:this.sizeTypography[(i=this.size)!==null&&i!==void 0?i:"md"]},this.size==="lg"?this.label:t("b",null,this.label)),this.deletable&&t("mds-button",{key:"958f40a8b6b208f3bdd5572750b7e6e728176f18",class:"action-remove",icon:r,onClick:this.onDeleteHandler,size:"sm",title:"".concat(this.t.get("remove")," ").concat((a=this.label)!==null&&a!==void 0?a:"").trim(),tone:"text",variant:"dark"}))};Object.defineProperty(e.prototype,"host",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());f.style=b()}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,d as r,h as t,e as a,g as i}from"./p-BxPbQB28.js";import{m as o}from"./p-J-ikDhyq.js";import{K as s}from"./p-KRu9I7dw.js";import{L as n}from"./p-Kv1yahtR.js";import{p as d}from"./p-7-TP6wnI.js";var l={close:"Κλείσιμο",iframeURL:"Στοιχείο iframe που περιέχει {{ url }}",previewURL:"Παράθυρο με προεπισκόπηση του {{ url }}"},m={close:"Close",iframeURL:"Iframe element containing {{ url }}",previewURL:"Window with a preview of {{ url }}"},h={close:"Cerrar",iframeURL:"Elemento iframe que contiene {{ url }}",previewURL:"Ventana con vista previa de {{ url }}"},c={close:"Chiudi",iframeURL:"Elemento iframe contentente {{ url }}",previewURL:"Finestra con anteprima di {{ url }}"};const u=class{constructor(t){e(this,t),this.closeEvent=r(this,"mdsUrlViewClose",7),this.km=new s,this.t=new n({el:l,en:m,es:h,it:c}),this.loading="lazy",this.urlDomain=e=>{try{return new URL(e).hostname.replace("www.","")}catch(r){return null!=e?e:""}},this.closeUrlView=()=>{var e;this.closeEvent.emit(),null===(e=this.host.closest("mds-modal"))||void 0===e||e.close()}}componentDidLoad(){var e,r;const t=null!==(r=null===(e=this.host.shadowRoot)||void 0===e?void 0:e.querySelector(".action-close"))&&void 0!==r?r:null;null!==t&&(this.km.addElement(t),this.km.attachClickBehavior())}disconnectedCallback(){this.km.detachClickBehavior()}render(){var e,r;return t(a,{key:"2bd97f93dcea354494a3bbfa121c313f24d2e5d5","aria-label":this.t.get("previewURL",{url:this.urlDomain(this.src)}),"pref-animation":d.state.animation,"pref-contrast":d.state.contrast,"pref-mode":d.state.mode,"pref-theme-scheme":d.state["theme-scheme"]},t("div",{key:"3bf74d549528a4c9bdd757d51d0a4808ba5654f9",class:"window"},t("div",{key:"ea6a7513971380653a6d57a5e82040384017d748",class:"header"},t("mds-icon",{key:"209af200354c6257ac1dd386dfae8b685d394389",class:"window-icon",name:null!==(e=this.icon)&&void 0!==e?e:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 10.9c-.61 0-1.1.49-1.1 1.1s.49 1.1 1.1 1.1c.61 0 1.1-.49 1.1-1.1s-.49-1.1-1.1-1.1zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm2.19 12.19L6 18l3.81-8.19L18 6l-3.81 8.19z"/></svg>'}),t("mds-text",{key:"8a43ab99147e1428f7fb2ce93cc0532660e016f9",class:"title",typography:"caption"},null!==(r=this.label)&&void 0!==r?r:this.urlDomain(this.src)),t("mds-button",{key:"c754f865ee312339354eff02518865b8ec7f524b",title:this.t.get("close"),class:"action-close",variant:"dark",tone:"text",icon:o,onClick:this.closeUrlView})),t("iframe",{key:"da33348312dc2d6027d03b9f4df3951e018bd4c3",class:"iframe","aria-label":this.t.get("iframeURL",{url:this.urlDomain(this.src)}),src:this.src,loading:this.loading})))}get host(){return i(this)}};u.style='@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-button,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-url-view-transition-duration:var(--duration-200,.2s);--private-url-view-transition-duration:var(--mds-url-view-transition-duration);--mds-modal-custom-window-distance:0px;--mds-url-view-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-url-view-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-url-view-radius:var(--radius-md,12px);--mds-url-view-header-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-url-view-shadow:var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a);box-sizing:border-box;display:flex;flex-direction:column;height:100vh;margin:0;padding:calc(var(--spacing,.0025rem)*400)}.window{border-radius:var(--mds-url-view-radius,var(--radius-md,12px));box-shadow:var(--mds-url-view-shadow);flex-direction:column;flex-grow:1;overflow:hidden;width:100%}.header,.window{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-url-view-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));display:flex;transition-duration:var(--private-url-view-transition-duration);transition-property:background-color,box-shadow;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.header{align-items:center;box-shadow:var(--mds-url-view-header-shadow);color:var(--mds-url-view-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));flex-shrink:0;gap:calc(var(--spacing,.0025rem)*200);justify-content:space-between;padding:calc(var(--spacing,.0025rem)*200);position:relative}.title{flex-grow:1;min-width:0;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap}.window-icon{flex-shrink:0}.button-close,.window-icon{fill:var(--mds-url-view-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))))}.button-close{cursor:pointer}.iframe{border:0;flex-grow:1;margin:0;padding:0;width:100%}: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-url-view-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-url-view-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){--mds-url-view-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}@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-url-view-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-url-view-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-url-view-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}';export{u as mds_url_view}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,d as a,h as i,e as o,g as r}from"./p-BxPbQB28.js";import{g as n}from"./p-B85MJLTf.js";import{m as e}from"./p-BJ8rpzfj.js";import{h as s}from"./p-C0o_l0td.js";import{c}from"./p-ChV9xqsO.js";import{L as u}from"./p-Kv1yahtR.js";import{s as m}from"./p-CACEYk42.js";import{p as h}from"./p-7-TP6wnI.js";var d,l,f={exports:{}},g=n((d||(d=1,f.exports=function(){var t=6e4,a=36e5,i="millisecond",o="second",r="minute",n="hour",e="day",s="week",c="month",u="quarter",m="year",h="date",d="Invalid Date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var a=["th","st","nd","rd"],i=t%100;return"["+t+(a[(i-20)%10]||a[i]||a[0])+"]"}},v=function(t,a,i){var o=String(t);return!o||o.length>=a?t:""+Array(a+1-o.length).join(i)+t},p={s:v,z:function(t){var a=-t.utcOffset(),i=Math.abs(a),o=Math.floor(i/60),r=i%60;return(a<=0?"+":"-")+v(o,2,"0")+":"+v(r,2,"0")},m:function t(a,i){if(a.date()<i.date())return-t(i,a);var o=12*(i.year()-a.year())+(i.month()-a.month()),r=a.clone().add(o,c),n=i-r<0,e=a.clone().add(o+(n?-1:1),c);return+(-(o+(i-r)/(n?r-e:e-r))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:c,y:m,w:s,d:e,D:h,h:n,m:r,s:o,ms:i,Q:u}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},b="en",y={};y[b]=g;var k="$isDayjsObject",w=function(t){return t instanceof _||!(!t||!t[k])},x=function t(a,i,o){var r;if(!a)return b;if("string"==typeof a){var n=a.toLowerCase();y[n]&&(r=n),i&&(y[n]=i,r=n);var e=a.split("-");if(!r&&e.length>1)return t(e[0])}else{var s=a.name;y[s]=a,r=s}return!o&&r&&(b=r),r||!o&&b},M=function(t,a){if(w(t))return t.clone();var i="object"==typeof a?a:{};return i.date=t,i.args=arguments,new _(i)},D=p;D.l=x,D.i=w,D.w=function(t,a){return M(t,{locale:a.$L,utc:a.$u,x:a.$x,$offset:a.$offset})};var _=function(){function g(t){this.$L=x(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[k]=!0}var v=g.prototype;return v.parse=function(t){this.$d=function(t){var a=t.date,i=t.utc;if(null===a)return new Date(NaN);if(D.u(a))return new Date;if(a instanceof Date)return new Date(a);if("string"==typeof a&&!/Z$/i.test(a)){var o=a.match(l);if(o){var r=o[2]-1||0,n=(o[7]||"0").substring(0,3);return i?new Date(Date.UTC(o[1],r,o[3]||1,o[4]||0,o[5]||0,o[6]||0,n)):new Date(o[1],r,o[3]||1,o[4]||0,o[5]||0,o[6]||0,n)}}return new Date(a)}(t),this.init()},v.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},v.$utils=function(){return D},v.isValid=function(){return!(this.$d.toString()===d)},v.isSame=function(t,a){var i=M(t);return this.startOf(a)<=i&&i<=this.endOf(a)},v.isAfter=function(t,a){return M(t)<this.startOf(a)},v.isBefore=function(t,a){return this.endOf(a)<M(t)},v.$g=function(t,a,i){return D.u(t)?this[a]:this.set(i,t)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(t,a){var i=this,u=!!D.u(a)||a,d=D.p(t),l=function(t,a){var o=D.w(i.$u?Date.UTC(i.$y,a,t):new Date(i.$y,a,t),i);return u?o:o.endOf(e)},f=function(t,a){return D.w(i.toDate()[t].apply(i.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(a)),i)},g=this.$W,v=this.$M,p=this.$D,b="set"+(this.$u?"UTC":"");switch(d){case m:return u?l(1,0):l(31,11);case c:return u?l(1,v):l(0,v+1);case s:var y=this.$locale().weekStart||0,k=(g<y?g+7:g)-y;return l(u?p-k:p+(6-k),v);case e:case h:return f(b+"Hours",0);case n:return f(b+"Minutes",1);case r:return f(b+"Seconds",2);case o:return f(b+"Milliseconds",3);default:return this.clone()}},v.endOf=function(t){return this.startOf(t,!1)},v.$set=function(t,a){var s,u=D.p(t),d="set"+(this.$u?"UTC":""),l=(s={},s[e]=d+"Date",s[h]=d+"Date",s[c]=d+"Month",s[m]=d+"FullYear",s[n]=d+"Hours",s[r]=d+"Minutes",s[o]=d+"Seconds",s[i]=d+"Milliseconds",s)[u],f=u===e?this.$D+(a-this.$W):a;if(u===c||u===m){var g=this.clone().set(h,1);g.$d[l](f),g.init(),this.$d=g.set(h,Math.min(this.$D,g.daysInMonth())).$d}else l&&this.$d[l](f);return this.init(),this},v.set=function(t,a){return this.clone().$set(t,a)},v.get=function(t){return this[D.p(t)]()},v.add=function(i,u){var h,d=this;i=Number(i);var l=D.p(u),f=function(t){var a=M(d);return D.w(a.date(a.date()+Math.round(t*i)),d)};if(l===c)return this.set(c,this.$M+i);if(l===m)return this.set(m,this.$y+i);if(l===e)return f(1);if(l===s)return f(7);var g=(h={},h[r]=t,h[n]=a,h[o]=1e3,h)[l]||1,v=this.$d.getTime()+i*g;return D.w(v,this)},v.subtract=function(t,a){return this.add(-1*t,a)},v.format=function(t){var a=this,i=this.$locale();if(!this.isValid())return i.invalidDate||d;var o=t||"YYYY-MM-DDTHH:mm:ssZ",r=D.z(this),n=this.$H,e=this.$m,s=this.$M,c=i.weekdays,u=i.months,m=function(t,i,r,n){return t&&(t[i]||t(a,o))||r[i].slice(0,n)},h=function(t){return D.s(n%12||12,t,"0")},l=i.meridiem||function(t,a,i){var o=t<12?"AM":"PM";return i?o.toLowerCase():o};return o.replace(f,(function(t,o){return o||function(t){switch(t){case"YY":return String(a.$y).slice(-2);case"YYYY":return D.s(a.$y,4,"0");case"M":return s+1;case"MM":return D.s(s+1,2,"0");case"MMM":return m(i.monthsShort,s,u,3);case"MMMM":return m(u,s);case"D":return a.$D;case"DD":return D.s(a.$D,2,"0");case"d":return String(a.$W);case"dd":return m(i.weekdaysMin,a.$W,c,2);case"ddd":return m(i.weekdaysShort,a.$W,c,3);case"dddd":return c[a.$W];case"H":return String(n);case"HH":return D.s(n,2,"0");case"h":return h(1);case"hh":return h(2);case"a":return l(n,e,!0);case"A":return l(n,e,!1);case"m":return String(e);case"mm":return D.s(e,2,"0");case"s":return String(a.$s);case"ss":return D.s(a.$s,2,"0");case"SSS":return D.s(a.$ms,3,"0");case"Z":return r}return null}(t)||r.replace(":","")}))},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(i,h,d){var l,f=this,g=D.p(h),v=M(i),p=(v.utcOffset()-this.utcOffset())*t,b=this-v,y=function(){return D.m(f,v)};switch(g){case m:l=y()/12;break;case c:l=y();break;case u:l=y()/3;break;case s:l=(b-p)/6048e5;break;case e:l=(b-p)/864e5;break;case n:l=b/a;break;case r:l=b/t;break;case o:l=b/1e3;break;default:l=b}return d?l:D.a(l)},v.daysInMonth=function(){return this.endOf(c).$D},v.$locale=function(){return y[this.$L]},v.locale=function(t,a){if(!t)return this.$L;var i=this.clone(),o=x(t,a,!0);return o&&(i.$L=o),i},v.clone=function(){return D.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},g}(),S=_.prototype;return M.prototype=S,[["$ms",i],["$s",o],["$m",r],["$H",n],["$W",e],["$M",c],["$y",m],["$D",h]].forEach((function(t){S[t[1]]=function(a){return this.$g(a,t[0],t[1])}})),M.extend=function(t,a){return t.$i||(t(a,_,M),t.$i=!0),M},M.locale=x,M.isDayjs=w,M.unix=function(t){return M(1e3*t)},M.en=y[b],M.Ls=y,M.p={},M}()),f.exports)),v={dismiss:"Κλείσιμο",future:"σε %s",past:"πριν από %s",s:"λίγα δευτ.",m:"1 λεπτό",mm:"%d λεπτά",h:"1 ώρα",hh:"%d ώρες",d:"1 ημέρα",dd:"%d ημέρες",M:"1 μήνας",MM:"%d μήνες",y:"1 έτος",yy:"%d έτη"},p={dismiss:"Close",future:"in %s",past:"%s ago",s:"few sec",m:"1 min",mm:"%d mins",h:"1 hour",hh:"%d hours",d:"1 day",dd:"%d days",M:"1 month",MM:"%d months",y:"1 year",yy:"%d years"},b={dismiss:"Cerrar",future:"en %s",past:"hace %s",s:"pocos seg",m:"1 min",mm:"%d mins",h:"1 hora",hh:"%d horas",d:"1 día",dd:"%d días",M:"1 mes",MM:"%d meses",y:"1 año",yy:"%d años"},y={dismiss:"Chiudi",future:"tra %s",past:"%s fa",s:"pochi sec",m:"1 min",mm:"%d min",h:"1 ora",hh:"%d ore",d:"1 giorno",dd:"%d giorni",M:"1 mese",MM:"%d mesi",y:"1 anno",yy:"%d anni"},k={exports:{}},w=n((l||(l=1,k.exports=function(t,a,i){t=t||{};var o=a.prototype,r={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function n(t,a,i,r){return o.fromToBase(t,a,i,r)}i.en.relativeTime=r,o.fromToBase=function(a,o,n,e,s){for(var c,u,m,h=n.$locale().relativeTime||r,d=t.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],l=d.length,f=0;f<l;f+=1){var g=d[f];g.d&&(c=e?i(a).diff(n,g.d,!0):n.diff(a,g.d,!0));var v=(t.rounding||Math.round)(Math.abs(c));if(m=c>0,v<=g.r||!g.r){v<=1&&f>0&&(g=d[f-1]);var p=h[g.l];s&&(v=s(""+v)),u="string"==typeof p?p.replace("%d",v):p(v,o,g.l,m);break}}if(o)return u;var b=m?h.future:h.past;return"function"==typeof b?b(u):b.replace("%s",u)},o.to=function(t,a){return n(t,a,this,!0)},o.from=function(t,a){return n(t,a,this)};var e=function(t){return t.$u?i.utc():i()};o.toNow=function(t){return this.to(e(this),t)},o.fromNow=function(t){return this.from(e(this),t)}}),k.exports));const x=class{constructor(i){t(this,i),this.closedEvent=a(this,"mdsPushNotificationItemClose",7),this.t=new u({el:v,en:p,es:b,it:y}),this.dateFormat="timeago",this.deletable=!1,this.message="Nessun messaggio disponibile",this.preview="image",this.tone="weak",this.onClickClose=t=>{t.stopPropagation(),this.closedEvent.emit()},this.onSlotChange=()=>{this.hasActions=s(this.host,"action"),this.hasBadge=s(this.host,"badge")}}componentDidLoad(){this.handleDeletableChange(this.deletable)}componentWillLoad(){var t;g.extend(w),this.onSlotChange(),void 0!==this.datetime&&""!==this.datetime&&(this.datetime=null!==(t=m(this.datetime.toString()))&&void 0!==t?t:void 0);const a={future:this.t.get("future"),past:this.t.get("past"),s:this.t.get("s"),m:this.t.get("m"),mm:this.t.get("mm"),h:this.t.get("h"),hh:this.t.get("hh"),d:this.t.get("d"),dd:this.t.get("dd"),M:this.t.get("M"),MM:this.t.get("MM"),y:this.t.get("y"),yy:this.t.get("yy")};g.locale("custom-locale",{relativeTime:a})}handleDeletableChange(t){!1===t&&(this.deletable=void 0)}render(){var t;return i(o,{key:"ff0139bc2f14bae915dc6587be3a1a489fdb47ad","pref-animation":h.state.animation,"pref-contrast":h.state.contrast,"pref-mode":h.state.mode,"pref-theme-scheme":h.state["theme-scheme"]},(null!==(t=this.icon)&&void 0!==t?t:"avatar"===this.preview)&&i("mds-avatar",{key:"45036f0aa399ca61031589c442f316701cb25322",class:"avatar",icon:this.icon,initials:this.initials,part:"avatar",src:this.src,tone:this.tone,variant:this.variant}),this.src&&"avatar"!==this.preview&&i("mds-img",{key:"d789a38fb8d2ca97f70977337badea4025fff86a",class:"picture",part:"picture",src:this.src}),i("div",{key:"3920ceceae78e3fe7c4976a46dc9113736aa0891",class:"content",part:"content"},i("div",{key:"08cf95633697d1d91dba857bc2406b7cf131f455",class:"header"},i("div",{key:"f4d69fa749801e959f5e3a09e7a5a1b7d2ac63cd",class:"infos"},i("div",{key:"95d289f8c7b093e965af577c95ca662ddfbb34a0",class:c("badge",!this.hasBadge&&"badge--hidden")},i("slot",{key:"0ac3a67d77d480cd6c2be2f884665b37538c6cb7",name:"badge",onSlotchange:this.onSlotChange})),this.subject&&i("mds-text",{key:"24af9c78d1059ba6f9982777f2de60255eab259b",class:"subject",typography:"h6",variant:"title",truncate:"all"},this.subject)),this.datetime&&i("mds-text",{key:"fd5b6868f5b6171d3b4fc6490666ad1d2744c783",class:"time",typography:"option"},"timeago"===this.dateFormat?g(this.datetime).fromNow():g(this.datetime).format(this.dateFormat))),i("mds-text",{key:"1544e7435b8c3d9bb459c65ac6cad2058b24cc67",class:"message",truncate:"all",typography:"caption",variant:"info"},this.message),i("div",{key:"b6f670ca578f11540c62105539a2ffad7f5cca58",class:c("actions",!this.hasActions&&"actions--hidden"),part:"actions"},i("slot",{key:"abf86f00a2e5ab2d9d80609023dd05d88c11745f",name:"action",onSlotchange:this.onSlotChange}))),this.deletable&&i("mds-button",{key:"6de623218ff80c194aa07a218d9c500a33331dd9",class:"close-button",variant:"dark",tone:"text",title:this.t.get("dismiss"),icon:e,onClick:this.onClickClose}))}get host(){return r(this)}static get watchers(){return{deletable:[{handleDeletableChange:0}]}}};x.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-avatar,mds-button,mds-img,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-push-notification-item-duration:.3s;--private-push-notification-item-duration:var(--mds-push-notification-item-duration,.3s);--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-push-notification-item-message-line-clamp:2;--mds-push-notification-item-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-push-notification-item-subject-line-clamp:1;--mds-push-notification-item-timing-function:var(--ease-in-out-quint,cubic-bezier(.86,0,.07,1));align-items:flex-start;background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));border-radius:var(--radius-lg,16px);box-shadow:var(--mds-push-notification-item-shadow);color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));display:flex;gap:calc(var(--spacing,.0025rem)*400);max-width:calc(var(--spacing,.0025rem)*8000);min-width:calc(var(--spacing,.0025rem)*7200);padding:calc(var(--spacing,.0025rem)*400);pointer-events:auto;position:relative;transition-duration:var(--private-push-notification-item-duration);transition-property:background-color,box-shadow,color,margin,transform;transition-timing-function:var(--mds-push-notification-item-timing-function)}:host([deletable]:not([deletable=false])){padding-right:calc(var(--spacing,.0025rem)*800)}.content{display:grid;flex-grow:1}.actions{display:flex;flex-wrap:wrap;gap:calc(var(--spacing,.0025rem)*200);min-width:1px;padding-top:calc(var(--spacing,.0025rem)*200)}.actions--hidden,.badge--hidden{display:none}.avatar,.picture{flex-shrink:0}.picture{border-radius:var(--radius-3xs,4px);box-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);max-width:calc(var(--spacing,.0025rem)*1200);width:100%}.close-button{opacity:0;padding:calc(var(--spacing,.0025rem)*150);position:absolute;right:0;top:0;transition-duration:var(--default-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,width;transition-timing-function:var(--default-transition-timing-function)}:host(:hover) .close-button{opacity:1}.close-button:focus-visible,.close-button:hover{fill:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));opacity:1}.header{align-items:baseline;display:flex;gap:calc(var(--spacing,.0025rem)*100);justify-content:space-between;min-width:0;overflow:hidden;text-overflow:ellipsis}.infos{display:flex;flex-direction:column}.time{flex-shrink:0;margin-right:calc(var(--spacing,.0025rem)*100);white-space:nowrap}.subject{--mds-text-line-clamp:var(--mds-push-notification-item-subject-line-clamp,1);line-height:var(--leading-sm,1.25rem)}.message,.subject{text-overflow:ellipsis}.message{--mds-text-line-clamp:var(--mds-push-notification-item-message-line-clamp,2)}.avatar{background-color:var(--mds-push-notification-item-icon-background-color,#0000);border-radius:var(--radius-full,1000px);fill:var(--mds-push-notification-item-icon-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));height:calc(var(--spacing,.0025rem)*900);width:calc(var(--spacing,.0025rem)*900)}.avatar::part(svg){width:calc(var(--spacing,.0025rem)*600)}:host([src]) .avatar{background-color:#0000}:host([icon]) .avatar::part(wrapper){padding:calc(var(--spacing,.0025rem)*150)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-push-notification-item-duration:0s}:host([pref-contrast=more]){--mds-push-notification-item-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)) inset;color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([variant=primary][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-push-notification-item-icon-color:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240)))}:host([variant=primary]),:host([variant=primary][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231)));--mds-push-notification-item-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)))}:host([variant=primary][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)))}:host([variant=orange][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orange-05,213 90 5));--mds-push-notification-item-icon-color:rgb(var(--label-orange-10,254 233 219))}:host([variant=orange]),:host([variant=orange][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orange-09,253 217 191));--mds-push-notification-item-icon-color:rgb(var(--label-orange-05,213 90 5))}:host([variant=orange][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-orange-05,213 90 5))}:host([variant=amaranth][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-amaranth-05,242 37 72));--mds-push-notification-item-icon-color:rgb(var(--label-amaranth-10,254 232 236))}:host([variant=amaranth]),:host([variant=amaranth][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-amaranth-09,253 214 221));--mds-push-notification-item-icon-color:rgb(var(--label-amaranth-05,242 37 72))}:host([variant=amaranth][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-amaranth-05,242 37 72))}:host([variant=orchid][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orchid-05,233 44 137));--mds-push-notification-item-icon-color:rgb(var(--label-orchid-10,253 231 242))}:host([variant=orchid]),:host([variant=orchid][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orchid-09,251 213 232));--mds-push-notification-item-icon-color:rgb(var(--label-orchid-05,233 44 137))}:host([variant=orchid][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-orchid-05,233 44 137))}:host([variant=purple][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-purple-05,168 86 247));--mds-push-notification-item-icon-color:rgb(var(--label-purple-10,244 233 254))}:host([variant=purple]),:host([variant=purple][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-purple-09,235 216 253));--mds-push-notification-item-icon-color:rgb(var(--label-purple-05,168 86 247))}:host([variant=purple][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-purple-05,168 86 247))}:host([variant=red][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-red-05,230 66 66));--mds-push-notification-item-icon-color:rgb(var(--label-red-10,252 233 233))}:host([variant=red]),:host([variant=red][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-red-09,250 215 215));--mds-push-notification-item-icon-color:rgb(var(--label-red-05,230 66 66))}:host([variant=red][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-red-05,230 66 66))}:host([variant=violet][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-violet-05,145 100 246));--mds-push-notification-item-icon-color:rgb(var(--label-violet-10,240 234 254))}:host([variant=violet]),:host([variant=violet][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-violet-09,229 218 253));--mds-push-notification-item-icon-color:rgb(var(--label-violet-05,145 100 246))}:host([variant=violet][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-violet-05,145 100 246))}:host([variant=blue][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-blue-05,90 117 249));--mds-push-notification-item-icon-color:rgb(var(--label-blue-10,233 236 254))}:host([variant=blue]),:host([variant=blue][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-blue-09,216 222 254));--mds-push-notification-item-icon-color:rgb(var(--label-blue-05,90 117 249))}:host([variant=blue][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-blue-05,90 117 249))}:host([variant=sky][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-sky-05,12 136 193));--mds-push-notification-item-icon-color:rgb(var(--label-sky-10,217 241 253))}:host([variant=sky]),:host([variant=sky][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-sky-09,185 231 251));--mds-push-notification-item-icon-color:rgb(var(--label-sky-05,12 136 193))}:host([variant=sky][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-sky-05,12 136 193))}:host([variant=aqua][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-aqua-05,5 141 165));--mds-push-notification-item-icon-color:rgb(var(--label-aqua-10,199 245 253))}:host([variant=aqua]),:host([variant=aqua][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-aqua-09,151 237 252));--mds-push-notification-item-icon-color:rgb(var(--label-aqua-05,5 141 165))}:host([variant=aqua][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-aqua-05,5 141 165))}:host([variant=green][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-green-05,26 148 71));--mds-push-notification-item-icon-color:rgb(var(--label-green-10,206 247 221))}:host([variant=green]),:host([variant=green][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-green-09,165 240 193));--mds-push-notification-item-icon-color:rgb(var(--label-green-05,26 148 71))}:host([variant=green][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-green-05,26 148 71))}:host([variant=lime][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-lime-05,93 143 15));--mds-push-notification-item-icon-color:rgb(var(--label-lime-10,219 247 178))}:host([variant=lime]),:host([variant=lime][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-lime-09,189 239 111));--mds-push-notification-item-icon-color:rgb(var(--label-lime-05,93 143 15))}:host([variant=lime][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-lime-05,93 143 15))}:host([variant=yellow][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-yellow-05,161 124 6));--mds-push-notification-item-icon-color:rgb(var(--label-yellow-10,253 236 186))}:host([variant=yellow]),:host([variant=yellow][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-yellow-09,251 221 131));--mds-push-notification-item-icon-color:rgb(var(--label-yellow-05,161 124 6))}:host([variant=yellow][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-yellow-05,161 124 6))}:host([variant=error][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-push-notification-item-icon-color:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=error]),:host([variant=error][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-push-notification-item-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=error][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}:host([variant=warning][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-push-notification-item-icon-color:rgb(var(--magma-warning-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=warning]),:host([variant=warning][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-push-notification-item-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([variant=warning][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)))}:host([variant=success][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-push-notification-item-icon-color:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=success]),:host([variant=success][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-push-notification-item-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=success][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:host([variant=info][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-push-notification-item-icon-color:rgb(var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=info]),:host([variant=info][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-push-notification-item-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([variant=info][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)))}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-push-notification-item-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-push-notification-item-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)) inset;color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}";export{x as mds_push_notification_item}
|