@maggioli-design-system/magma 2.0.0-beta.3 → 2.0.0-beta.5
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/README.md +35 -3
- package/dist/cjs/date-B28IitWe.js +24 -0
- package/dist/cjs/floating-controller-Cd_vNLLD.js +369 -0
- package/dist/cjs/floating-ui.dom-DflSHZIo.js +1688 -0
- package/dist/cjs/form-DTCBh5WK.js +22 -0
- package/dist/cjs/index--6wz7eWi.js +5183 -0
- package/dist/cjs/index.cjs.js +17 -0
- package/dist/cjs/keyboard-manager-C_Eaxw-C.js +52 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/locale-CB5_Z7PE.js +816 -0
- package/dist/cjs/magma-components.cjs.js +31 -4
- package/dist/cjs/mds-accordion-item.cjs.entry.js +7 -28
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +8 -17
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +3 -3
- package/dist/cjs/mds-accordion.cjs.entry.js +5 -22
- package/dist/cjs/mds-author.cjs.entry.js +9 -4
- package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-avatar-stack.cjs.entry.js +5 -4
- package/dist/cjs/mds-avatar.cjs.entry.js +8 -21
- package/dist/cjs/mds-badge.cjs.entry.js +5 -26
- package/dist/cjs/mds-banner_3.cjs.entry.js +35 -70
- package/dist/cjs/mds-benchmark-bar.cjs.entry.js +2 -2
- package/dist/cjs/mds-bibliography.cjs.entry.js +2 -2
- package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-breadcrumb.cjs.entry.js +7 -15
- package/dist/cjs/mds-button-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/mds-button-group.cjs.entry.js +3 -3
- package/dist/cjs/mds-button_3.cjs.entry.js +10 -32
- package/dist/cjs/mds-calendar_2.cjs.entry.js +123 -102
- package/dist/cjs/mds-card-content.cjs.entry.js +2 -2
- package/dist/cjs/mds-card-footer.cjs.entry.js +2 -2
- package/dist/cjs/mds-card-header.cjs.entry.js +9 -4
- package/dist/cjs/mds-card-media.cjs.entry.js +2 -2
- package/dist/cjs/mds-card.cjs.entry.js +4 -21
- package/dist/cjs/mds-details.cjs.entry.js +8 -18
- package/dist/cjs/mds-dropdown.cjs.entry.js +184 -58
- package/dist/cjs/mds-emoji.cjs.entry.js +301 -181
- package/dist/cjs/mds-entity.cjs.entry.js +11 -23
- package/dist/cjs/mds-file-preview.cjs.entry.js +8 -36
- package/dist/cjs/mds-file.cjs.entry.js +6 -34
- package/dist/cjs/mds-filter-item.cjs.entry.js +6 -25
- package/dist/cjs/mds-filter.cjs.entry.js +19 -32
- package/dist/cjs/mds-header-bar.cjs.entry.js +11 -27
- package/dist/cjs/mds-header.cjs.entry.js +8 -22
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +2 -2
- package/dist/cjs/mds-hr.cjs.entry.js +4 -17
- package/dist/cjs/mds-img.cjs.entry.js +8 -16
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-date-range.cjs.entry.js +57 -43
- package/dist/cjs/mds-input-date.cjs.entry.js +14 -44
- package/dist/cjs/mds-input-field.cjs.entry.js +42 -6
- package/dist/cjs/mds-input-otp.cjs.entry.js +37 -3
- package/dist/cjs/mds-input-range.cjs.entry.js +9 -29
- package/dist/cjs/mds-input-select.cjs.entry.js +11 -41
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +19 -55
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +8 -40
- package/dist/cjs/mds-input-upload.cjs.entry.js +34 -36
- package/dist/cjs/mds-input.cjs.entry.js +23 -52
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +5 -14
- package/dist/cjs/mds-keyboard.cjs.entry.js +5 -25
- package/dist/cjs/mds-kpi-item.cjs.entry.js +12 -25
- package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
- package/dist/cjs/mds-label.cjs.entry.js +7 -29
- package/dist/cjs/mds-list-item.cjs.entry.js +4 -13
- package/dist/cjs/mds-list.cjs.entry.js +1 -1
- package/dist/cjs/mds-mention.cjs.entry.js +38 -4
- package/dist/cjs/mds-modal.cjs.entry.js +54 -47
- package/dist/cjs/mds-note.cjs.entry.js +7 -35
- package/dist/cjs/mds-notification.cjs.entry.js +12 -14
- package/dist/cjs/mds-paginator-item.cjs.entry.js +5 -20
- package/dist/cjs/mds-paginator.cjs.entry.js +27 -32
- package/dist/cjs/mds-policy-ai.cjs.entry.js +5 -15
- package/dist/cjs/mds-pref-animation.cjs.entry.js +7 -23
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +7 -23
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +10 -24
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +27 -15
- package/dist/cjs/mds-pref-language.cjs.entry.js +38 -28
- package/dist/cjs/mds-pref-mode.cjs.entry.js +273 -0
- package/dist/cjs/mds-pref-theme-item.cjs.entry.js +43 -0
- package/dist/cjs/mds-pref-theme.cjs.entry.js +147 -230
- package/dist/cjs/mds-pref.cjs.entry.js +40 -17
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +4 -25
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +4 -25
- package/dist/cjs/mds-price-table-features.cjs.entry.js +4 -25
- package/dist/cjs/mds-price-table-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table-list.cjs.entry.js +4 -25
- package/dist/cjs/mds-price-table.cjs.entry.js +2 -2
- package/dist/cjs/mds-progress_2.cjs.entry.js +7 -33
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +16 -39
- package/dist/cjs/mds-push-notification.cjs.entry.js +7 -20
- package/dist/cjs/mds-quote.cjs.entry.js +4 -13
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-radial-menu.cjs.entry.js +7 -6
- package/dist/cjs/mds-separator.cjs.entry.js +4 -21
- package/dist/cjs/mds-status-bar.cjs.entry.js +4 -25
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +14 -25
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +21 -12
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +6 -27
- package/dist/cjs/mds-tab-bar.cjs.entry.js +5 -26
- package/dist/cjs/mds-tab_2.cjs.entry.js +14 -47
- package/dist/cjs/mds-table-body.cjs.entry.js +4 -13
- package/dist/cjs/mds-table-footer.cjs.entry.js +4 -13
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +4 -13
- package/dist/cjs/mds-table-header.cjs.entry.js +19 -31
- package/dist/cjs/mds-table-row.cjs.entry.js +20 -29
- package/dist/cjs/mds-table.cjs.entry.js +60 -50
- package/dist/cjs/mds-text.cjs.entry.js +36 -21
- package/dist/cjs/mds-toast.cjs.entry.js +10 -27
- package/dist/cjs/mds-tooltip.cjs.entry.js +16 -27
- package/dist/cjs/mds-tree-item.cjs.entry.js +12 -14
- package/dist/cjs/mds-tree.cjs.entry.js +12 -6
- package/dist/cjs/mds-url-view.cjs.entry.js +21 -41
- package/dist/cjs/mds-usage.cjs.entry.js +5 -33
- package/dist/cjs/mds-video-wall.cjs.entry.js +8 -4
- package/dist/cjs/mds-zero.cjs.entry.js +4 -25
- package/dist/cjs/preference-eJcbLLAn.js +389 -0
- package/dist/cjs/slot-RmXfgH4P.js +69 -0
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/common/date.js +9 -1
- package/dist/collection/common/floating-controller.js +175 -9
- package/dist/collection/common/form.js +18 -0
- package/dist/collection/common/keyboard-manager.js +5 -5
- package/dist/collection/common/locale.js +9 -31
- package/dist/collection/common/preference.js +83 -59
- package/dist/collection/common/slot.js +14 -1
- package/dist/collection/common/yugop/random-text.js +12 -3
- package/dist/collection/components/mds-accordion/mds-accordion.css +9 -65
- package/dist/collection/components/mds-accordion/mds-accordion.js +3 -27
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +63 -81
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +2 -31
- package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +2 -26
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +50 -36
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +2 -16
- package/dist/collection/components/mds-author/mds-author.css +4 -0
- package/dist/collection/components/mds-author/mds-author.js +14 -2
- package/dist/collection/components/mds-avatar/mds-avatar.css +125 -111
- package/dist/collection/components/mds-avatar/mds-avatar.js +6 -21
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.css +12 -84
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +3 -2
- package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.css +6 -24
- package/dist/collection/components/mds-badge/mds-badge.css +168 -155
- package/dist/collection/components/mds-badge/mds-badge.js +2 -31
- package/dist/collection/components/mds-banner/mds-banner.css +149 -192
- package/dist/collection/components/mds-banner/mds-banner.js +10 -58
- package/dist/collection/components/mds-bibliography/mds-bibliography.css +6 -24
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.css +6 -70
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +2 -37
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +15 -67
- package/dist/collection/components/mds-button/mds-button.css +285 -333
- package/dist/collection/components/mds-button/mds-button.js +4 -24
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +24 -34
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +1 -1
- package/dist/collection/components/mds-button-group/mds-button-group.css +13 -4
- package/dist/collection/components/mds-button-group/mds-button-group.js +2 -2
- package/dist/collection/components/mds-calendar/mds-calendar.css +13 -69
- package/dist/collection/components/mds-calendar/mds-calendar.js +150 -127
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +88 -299
- package/dist/collection/components/mds-card/mds-card.css +11 -35
- package/dist/collection/components/mds-card/mds-card.js +2 -22
- package/dist/collection/components/mds-card-content/mds-card-content.css +1 -0
- package/dist/collection/components/mds-card-footer/mds-card-footer.css +1 -0
- package/dist/collection/components/mds-card-header/mds-card-header.css +5 -0
- package/dist/collection/components/mds-card-header/mds-card-header.js +14 -2
- package/dist/collection/components/mds-card-media/mds-card-media.css +1 -1
- package/dist/collection/components/mds-chip/mds-chip.css +317 -278
- package/dist/collection/components/mds-chip/mds-chip.js +19 -61
- package/dist/collection/components/mds-details/mds-details.css +52 -28
- package/dist/collection/components/mds-details/mds-details.js +4 -16
- package/dist/collection/components/mds-dropdown/mds-dropdown.css +102 -121
- package/dist/collection/components/mds-dropdown/mds-dropdown.js +179 -59
- package/dist/collection/components/mds-emoji/asset/mia.svg +3 -3
- package/dist/collection/components/mds-emoji/mds-emoji.css +15 -179
- package/dist/collection/components/mds-emoji/mds-emoji.js +297 -177
- package/dist/collection/components/mds-entity/mds-entity.css +25 -76
- package/dist/collection/components/mds-entity/mds-entity.js +13 -24
- package/dist/collection/components/mds-file/mds-file.css +103 -79
- package/dist/collection/components/mds-file/mds-file.js +2 -56
- package/dist/collection/components/mds-file-preview/mds-file-preview.css +277 -218
- package/dist/collection/components/mds-file-preview/mds-file-preview.js +4 -62
- package/dist/collection/components/mds-filter/mds-filter.css +66 -78
- package/dist/collection/components/mds-filter/mds-filter.js +16 -33
- package/dist/collection/components/mds-filter-item/mds-filter-item.css +73 -53
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +2 -29
- package/dist/collection/components/mds-header/mds-header.css +15 -68
- package/dist/collection/components/mds-header/mds-header.js +5 -22
- package/dist/collection/components/mds-header-bar/mds-header-bar.css +60 -31
- package/dist/collection/components/mds-header-bar/mds-header-bar.js +9 -28
- package/dist/collection/components/mds-help/mds-help.css +1 -19
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +13 -104
- package/dist/collection/components/mds-hr/mds-hr.css +6 -18
- package/dist/collection/components/mds-hr/mds-hr.js +2 -21
- package/dist/collection/components/mds-icon/services/icons-set.service.js +16 -0
- package/dist/collection/components/mds-img/mds-img.css +12 -48
- package/dist/collection/components/mds-img/mds-img.js +5 -36
- package/dist/collection/components/mds-input/mds-input.css +120 -158
- package/dist/collection/components/mds-input/mds-input.js +33 -65
- package/dist/collection/components/mds-input-date/mds-input-date.css +107 -124
- package/dist/collection/components/mds-input-date/mds-input-date.js +49 -62
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +100 -90
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +77 -62
- package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.css +19 -73
- package/dist/collection/components/mds-input-field/mds-input-field.css +33 -45
- package/dist/collection/components/mds-input-field/mds-input-field.js +41 -4
- package/dist/collection/components/mds-input-otp/mds-input-otp.js +38 -2
- package/dist/collection/components/mds-input-range/mds-input-range.css +61 -19
- package/dist/collection/components/mds-input-range/mds-input-range.js +7 -31
- package/dist/collection/components/mds-input-select/mds-input-select.css +123 -156
- package/dist/collection/components/mds-input-select/mds-input-select.js +28 -61
- package/dist/collection/components/mds-input-switch/mds-input-switch.css +91 -250
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +12 -63
- package/dist/collection/components/mds-input-tip/mds-input-tip.css +45 -31
- package/dist/collection/components/mds-input-tip/mds-input-tip.js +2 -16
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.css +84 -56
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +3 -54
- package/dist/collection/components/mds-input-upload/mds-input-upload.css +26 -37
- package/dist/collection/components/mds-input-upload/mds-input-upload.js +30 -51
- package/dist/collection/components/mds-keyboard/mds-keyboard.css +32 -126
- package/dist/collection/components/mds-keyboard/mds-keyboard.js +2 -46
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +4 -28
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -37
- package/dist/collection/components/mds-kpi/mds-kpi.css +6 -11
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.css +103 -40
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +10 -27
- package/dist/collection/components/mds-label/mds-label.css +265 -354
- package/dist/collection/components/mds-label/mds-label.js +3 -54
- package/dist/collection/components/mds-list-item/mds-list-item.css +3 -9
- package/dist/collection/components/mds-list-item/mds-list-item.js +2 -16
- package/dist/collection/components/mds-mention/mds-mention.css +19 -10
- package/dist/collection/components/mds-mention/mds-mention.js +62 -2
- package/dist/collection/components/mds-modal/mds-modal.css +71 -101
- package/dist/collection/components/mds-modal/mds-modal.js +72 -45
- package/dist/collection/components/mds-note/mds-note.css +220 -198
- package/dist/collection/components/mds-note/mds-note.js +3 -61
- package/dist/collection/components/mds-notification/mds-notification.css +55 -89
- package/dist/collection/components/mds-notification/mds-notification.js +9 -16
- package/dist/collection/components/mds-paginator/mds-paginator.css +71 -35
- package/dist/collection/components/mds-paginator/mds-paginator.js +24 -37
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +78 -96
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +2 -24
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.css +9 -9
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -38
- package/dist/collection/components/mds-pref/mds-pref.js +40 -40
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.css +50 -6
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +4 -47
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.css +12 -12
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +4 -47
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.css +4 -4
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +7 -48
- package/dist/collection/components/mds-pref-language/mds-pref-language.css +3 -3
- package/dist/collection/components/mds-pref-language/mds-pref-language.js +35 -46
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +24 -38
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +79 -0
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +372 -0
- package/dist/collection/components/mds-pref-mode/meta/dictionary.js +3 -0
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.css +12 -77
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +183 -239
- package/dist/collection/components/mds-pref-theme/meta/dictionary.js +2 -3
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +70 -0
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +160 -0
- package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +56 -47
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +2 -31
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +71 -67
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +2 -31
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +66 -42
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +3 -28
- package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +63 -25
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +3 -28
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.css +5 -31
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
- package/dist/collection/components/mds-progress/mds-progress.css +100 -94
- package/dist/collection/components/mds-progress/mds-progress.js +2 -27
- package/dist/collection/components/mds-push-notification/mds-push-notification.css +7 -37
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +2 -21
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +172 -136
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +13 -60
- package/dist/collection/components/mds-quote/mds-quote.css +2 -2
- package/dist/collection/components/mds-quote/mds-quote.js +2 -16
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +6 -60
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +3 -2
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.css +1 -7
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +24 -30
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +3 -7
- package/dist/collection/components/mds-separator/mds-separator.css +12 -42
- package/dist/collection/components/mds-separator/mds-separator.js +2 -26
- package/dist/collection/components/mds-spinner/mds-spinner.css +3 -9
- package/dist/collection/components/mds-spinner/mds-spinner.js +2 -16
- package/dist/collection/components/mds-status-bar/mds-status-bar.css +13 -23
- package/dist/collection/components/mds-status-bar/mds-status-bar.js +2 -31
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.css +8 -56
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +18 -9
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +68 -120
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +10 -44
- package/dist/collection/components/mds-tab/mds-tab.css +85 -189
- package/dist/collection/components/mds-tab/mds-tab.js +5 -27
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.css +54 -10
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +2 -31
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +62 -44
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +2 -27
- package/dist/collection/components/mds-tab-item/mds-tab-item.css +22 -37
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +23 -22
- package/dist/collection/components/mds-table/mds-table.css +86 -130
- package/dist/collection/components/mds-table/mds-table.js +57 -52
- package/dist/collection/components/mds-table-body/mds-table-body.css +54 -40
- package/dist/collection/components/mds-table-body/mds-table-body.js +2 -16
- package/dist/collection/components/mds-table-cell/mds-table-cell.css +62 -32
- package/dist/collection/components/mds-table-cell/mds-table-cell.js +2 -16
- package/dist/collection/components/mds-table-footer/mds-table-footer.css +44 -0
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +2 -16
- package/dist/collection/components/mds-table-header/mds-table-header.css +44 -0
- package/dist/collection/components/mds-table-header/mds-table-header.js +17 -48
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.css +47 -7
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +3 -13
- package/dist/collection/components/mds-table-row/mds-table-row.css +67 -49
- package/dist/collection/components/mds-table-row/mds-table-row.js +19 -50
- package/dist/collection/components/mds-text/mds-text.css +18 -38
- package/dist/collection/components/mds-text/mds-text.js +23 -22
- package/dist/collection/components/mds-toast/mds-toast.css +99 -90
- package/dist/collection/components/mds-toast/mds-toast.js +8 -28
- package/dist/collection/components/mds-tooltip/mds-tooltip.css +68 -85
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +12 -31
- package/dist/collection/components/mds-tree/mds-tree.css +20 -212
- package/dist/collection/components/mds-tree/mds-tree.js +10 -4
- package/dist/collection/components/mds-tree-item/mds-tree-item.css +146 -267
- package/dist/collection/components/mds-tree-item/mds-tree-item.js +7 -28
- package/dist/collection/components/mds-url-view/mds-url-view.css +59 -33
- package/dist/collection/components/mds-url-view/mds-url-view.js +17 -67
- package/dist/collection/components/mds-usage/mds-usage.css +80 -95
- package/dist/collection/components/mds-usage/mds-usage.js +2 -60
- package/dist/collection/components/mds-video-wall/mds-video-wall.css +11 -26
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +11 -2
- package/dist/collection/components/mds-zero/mds-zero.css +56 -18
- package/dist/collection/components/mds-zero/mds-zero.js +2 -31
- package/dist/collection/event-detail/theme.js +1 -0
- package/dist/collection/type/preference.js +22 -3
- package/dist/components/index.d.ts +230 -0
- package/dist/components/index.js +1 -1
- package/dist/components/mds-accordion-item.js +1 -1
- package/dist/components/mds-accordion-timer-item.js +1 -1
- package/dist/components/mds-accordion-timer.js +1 -1
- package/dist/components/mds-accordion.js +1 -1
- package/dist/components/mds-author.js +1 -1
- package/dist/components/mds-avatar-stack-item.js +1 -1
- package/dist/components/mds-avatar-stack.js +1 -1
- package/dist/components/mds-avatar.js +1 -1
- package/dist/components/mds-badge.js +1 -1
- package/dist/components/mds-banner.js +1 -1
- package/dist/components/mds-benchmark-bar.js +1 -1
- package/dist/components/mds-bibliography.js +1 -1
- package/dist/components/mds-breadcrumb-item.js +1 -1
- package/dist/components/mds-breadcrumb.js +1 -1
- package/dist/components/mds-button-dropdown.js +1 -1
- package/dist/components/mds-button-group.js +1 -1
- package/dist/components/mds-button.js +1 -1
- package/dist/components/mds-calendar-cell.js +1 -1
- package/dist/components/mds-calendar.js +1 -1
- package/dist/components/mds-card-content.js +1 -1
- package/dist/components/mds-card-footer.js +1 -1
- package/dist/components/mds-card-header.js +1 -1
- package/dist/components/mds-card-media.js +1 -1
- package/dist/components/mds-card.js +1 -1
- package/dist/components/mds-chip.js +1 -1
- package/dist/components/mds-details.js +1 -1
- package/dist/components/mds-dropdown.js +1 -1
- package/dist/components/mds-emoji.js +3 -3
- package/dist/components/mds-entity.js +1 -1
- package/dist/components/mds-file-preview.js +1 -1
- package/dist/components/mds-file.js +3 -3
- 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.d.ts +11 -0
- package/dist/components/mds-pref-mode.js +1 -0
- package/dist/components/mds-pref-theme-item.d.ts +11 -0
- package/dist/components/mds-pref-theme-item.js +1 -0
- 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--8aaJX-p.js +1 -0
- package/dist/components/p-A9TZf0Ii.js +1 -0
- package/dist/components/p-B14Ci2fO.js +1 -0
- package/dist/components/p-B2A_hlV2.js +1 -0
- package/dist/components/p-B9DJLgwr.js +1 -0
- package/dist/components/p-BH3bWzRT.js +1 -0
- package/dist/components/p-BJNK4p33.js +1 -0
- package/dist/components/p-BNHXZ-JR.js +1 -0
- package/dist/components/p-BSxuG1vZ.js +1 -0
- package/dist/components/p-BTHR4xXu.js +1 -0
- package/dist/components/p-BhFTcUD0.js +3 -0
- package/dist/components/p-BouRLCYL.js +1 -0
- package/dist/components/p-Bss3F51Q.js +5 -0
- package/dist/components/p-Bt4xX5ww.js +1 -0
- package/dist/components/p-C03KYHGv.js +1 -0
- package/dist/components/p-C58NKMEE.js +1 -0
- package/dist/components/p-CACEYk42.js +1 -0
- package/dist/components/p-CBLAz3_J.js +1 -0
- package/dist/components/p-CHAGzQT-.js +1 -0
- package/dist/components/p-CVgKDZPF.js +1 -0
- package/dist/components/p-CVpjH8Un.js +1 -0
- package/dist/components/p-Caksrfcd.js +1 -0
- package/dist/components/p-CatD1iUY.js +1 -0
- package/dist/components/p-CbufYCNj.js +1 -0
- package/dist/components/p-Cehcn85x.js +1 -0
- package/dist/components/p-CsgCQiHG.js +1 -0
- package/dist/components/p-CvIFS8oA.js +1 -0
- package/dist/components/p-D3-GP4KF.js +1 -0
- package/dist/components/p-D8I1RblC.js +1 -0
- package/dist/components/p-DLE5TNTp.js +1 -0
- package/dist/components/p-DaI5QqNu.js +1 -0
- package/dist/components/p-Deh5Aia-.js +1 -0
- package/dist/components/p-Dj_oN194.js +1 -0
- package/dist/components/p-DmELzfvf.js +1 -0
- package/dist/components/p-DtxB7DYE.js +1 -0
- package/dist/components/p-KRu9I7dw.js +1 -0
- package/dist/components/p-cBZsPiMJ.js +1 -0
- package/dist/components/p-sUKtonkE.js +8 -0
- package/dist/components/p-sqRs6oj4.js +1 -0
- package/dist/components/p-wq6nWuWE.js +1 -0
- package/dist/documentation.json +750 -1137
- package/dist/esm/date-CACEYk42.js +22 -0
- package/dist/esm/floating-controller-DVldZ5mh.js +366 -0
- package/dist/esm/floating-ui.dom-CHAGzQT-.js +1680 -0
- package/dist/esm/form-A9TZf0Ii.js +19 -0
- package/dist/esm/index-DIiEV39g.js +5149 -0
- package/dist/esm/index.js +17 -0
- package/dist/esm/keyboard-manager-KRu9I7dw.js +50 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/locale-CbJbTW_c.js +814 -0
- package/dist/esm/magma-components.js +32 -5
- package/dist/esm/mds-accordion-item.entry.js +7 -28
- package/dist/esm/mds-accordion-timer-item.entry.js +8 -17
- package/dist/esm/mds-accordion-timer.entry.js +3 -3
- package/dist/esm/mds-accordion.entry.js +5 -22
- package/dist/esm/mds-author.entry.js +9 -4
- package/dist/esm/mds-avatar-stack-item.entry.js +2 -2
- package/dist/esm/mds-avatar-stack.entry.js +5 -4
- package/dist/esm/mds-avatar.entry.js +8 -21
- package/dist/esm/mds-badge.entry.js +5 -26
- package/dist/esm/mds-banner_3.entry.js +35 -70
- package/dist/esm/mds-benchmark-bar.entry.js +2 -2
- package/dist/esm/mds-bibliography.entry.js +2 -2
- package/dist/esm/mds-breadcrumb-item.entry.js +3 -3
- package/dist/esm/mds-breadcrumb.entry.js +7 -15
- package/dist/esm/mds-button-dropdown.entry.js +3 -3
- package/dist/esm/mds-button-group.entry.js +3 -3
- package/dist/esm/mds-button_3.entry.js +10 -32
- package/dist/esm/mds-calendar_2.entry.js +123 -102
- package/dist/esm/mds-card-content.entry.js +2 -2
- package/dist/esm/mds-card-footer.entry.js +2 -2
- package/dist/esm/mds-card-header.entry.js +9 -4
- package/dist/esm/mds-card-media.entry.js +2 -2
- package/dist/esm/mds-card.entry.js +4 -21
- package/dist/esm/mds-details.entry.js +8 -18
- package/dist/esm/mds-dropdown.entry.js +184 -58
- package/dist/esm/mds-emoji.entry.js +301 -181
- package/dist/esm/mds-entity.entry.js +11 -23
- package/dist/esm/mds-file-preview.entry.js +8 -36
- package/dist/esm/mds-file.entry.js +6 -34
- package/dist/esm/mds-filter-item.entry.js +6 -25
- package/dist/esm/mds-filter.entry.js +19 -32
- package/dist/esm/mds-header-bar.entry.js +11 -27
- package/dist/esm/mds-header.entry.js +8 -22
- package/dist/esm/mds-horizontal-scroll.entry.js +2 -2
- package/dist/esm/mds-hr.entry.js +4 -17
- package/dist/esm/mds-img.entry.js +8 -16
- package/dist/esm/mds-input-date-range-preselection.entry.js +2 -2
- package/dist/esm/mds-input-date-range.entry.js +57 -43
- package/dist/esm/mds-input-date.entry.js +14 -44
- package/dist/esm/mds-input-field.entry.js +42 -6
- package/dist/esm/mds-input-otp.entry.js +37 -3
- package/dist/esm/mds-input-range.entry.js +9 -29
- package/dist/esm/mds-input-select.entry.js +11 -41
- package/dist/esm/mds-input-switch_2.entry.js +19 -55
- package/dist/esm/mds-input-tip_2.entry.js +8 -40
- package/dist/esm/mds-input-upload.entry.js +34 -36
- package/dist/esm/mds-input.entry.js +23 -52
- package/dist/esm/mds-keyboard-key.entry.js +5 -14
- package/dist/esm/mds-keyboard.entry.js +5 -25
- package/dist/esm/mds-kpi-item.entry.js +12 -25
- package/dist/esm/mds-kpi.entry.js +2 -2
- package/dist/esm/mds-label.entry.js +7 -29
- package/dist/esm/mds-list-item.entry.js +4 -13
- package/dist/esm/mds-list.entry.js +1 -1
- package/dist/esm/mds-mention.entry.js +38 -4
- package/dist/esm/mds-modal.entry.js +54 -47
- package/dist/esm/mds-note.entry.js +7 -35
- package/dist/esm/mds-notification.entry.js +12 -14
- package/dist/esm/mds-paginator-item.entry.js +5 -20
- package/dist/esm/mds-paginator.entry.js +27 -32
- package/dist/esm/mds-policy-ai.entry.js +5 -15
- package/dist/esm/mds-pref-animation.entry.js +7 -23
- package/dist/esm/mds-pref-consumption.entry.js +7 -23
- package/dist/esm/mds-pref-contrast.entry.js +10 -24
- package/dist/esm/mds-pref-language-item.entry.js +27 -15
- package/dist/esm/mds-pref-language.entry.js +38 -28
- package/dist/esm/mds-pref-mode.entry.js +271 -0
- package/dist/esm/mds-pref-theme-item.entry.js +41 -0
- package/dist/esm/mds-pref-theme.entry.js +147 -230
- package/dist/esm/mds-pref.entry.js +40 -17
- package/dist/esm/mds-price-table-features-cell.entry.js +4 -25
- package/dist/esm/mds-price-table-features-row.entry.js +4 -25
- package/dist/esm/mds-price-table-features.entry.js +4 -25
- package/dist/esm/mds-price-table-header.entry.js +2 -2
- package/dist/esm/mds-price-table-list-item.entry.js +3 -3
- package/dist/esm/mds-price-table-list.entry.js +4 -25
- package/dist/esm/mds-price-table.entry.js +2 -2
- package/dist/esm/mds-progress_2.entry.js +7 -33
- package/dist/esm/mds-push-notification-item.entry.js +16 -39
- package/dist/esm/mds-push-notification.entry.js +7 -20
- package/dist/esm/mds-quote.entry.js +4 -13
- package/dist/esm/mds-radial-menu-item.entry.js +3 -3
- package/dist/esm/mds-radial-menu.entry.js +7 -6
- package/dist/esm/mds-separator.entry.js +4 -21
- package/dist/esm/mds-status-bar.entry.js +4 -25
- package/dist/esm/mds-stepper-bar-item.entry.js +14 -25
- package/dist/esm/mds-stepper-bar.entry.js +21 -12
- package/dist/esm/mds-tab-bar-item.entry.js +6 -27
- package/dist/esm/mds-tab-bar.entry.js +5 -26
- package/dist/esm/mds-tab_2.entry.js +14 -47
- package/dist/esm/mds-table-body.entry.js +4 -13
- package/dist/esm/mds-table-footer.entry.js +4 -13
- package/dist/esm/mds-table-header-cell.entry.js +4 -13
- package/dist/esm/mds-table-header.entry.js +19 -31
- package/dist/esm/mds-table-row.entry.js +20 -29
- package/dist/esm/mds-table.entry.js +60 -50
- package/dist/esm/mds-text.entry.js +36 -21
- package/dist/esm/mds-toast.entry.js +10 -27
- package/dist/esm/mds-tooltip.entry.js +16 -27
- package/dist/esm/mds-tree-item.entry.js +12 -14
- package/dist/esm/mds-tree.entry.js +12 -6
- package/dist/esm/mds-url-view.entry.js +21 -41
- package/dist/esm/mds-usage.entry.js +5 -33
- package/dist/esm/mds-video-wall.entry.js +8 -4
- package/dist/esm/mds-zero.entry.js +4 -25
- package/dist/esm/preference-CKerJx2M.js +385 -0
- package/dist/esm/slot-C0o_l0td.js +61 -0
- package/dist/esm-es5/date-CACEYk42.js +6 -0
- package/dist/esm-es5/datetime-BJtA1qmE.js +2732 -1
- package/dist/esm-es5/floating-controller-DVldZ5mh.js +66 -0
- package/dist/esm-es5/floating-ui.dom-CHAGzQT-.js +201 -0
- package/dist/esm-es5/form-A9TZf0Ii.js +8 -0
- package/dist/esm-es5/index-DIiEV39g.js +371 -0
- package/dist/esm-es5/index.js +79 -1
- package/dist/esm-es5/keyboard-manager-KRu9I7dw.js +5 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/locale-CbJbTW_c.js +230 -0
- package/dist/esm-es5/magma-components.js +4 -1
- package/dist/esm-es5/mds-accordion-item.entry.js +4 -1
- package/dist/esm-es5/mds-accordion-timer-item.entry.js +17 -1
- package/dist/esm-es5/mds-accordion-timer.entry.js +4 -1
- package/dist/esm-es5/mds-accordion.entry.js +7 -1
- package/dist/esm-es5/mds-author.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack-item.entry.js +4 -1
- package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
- package/dist/esm-es5/mds-avatar.entry.js +8 -1
- package/dist/esm-es5/mds-badge.entry.js +12 -1
- package/dist/esm-es5/mds-banner_3.entry.js +40 -1
- package/dist/esm-es5/mds-benchmark-bar.entry.js +15 -1
- package/dist/esm-es5/mds-bibliography.entry.js +14 -1
- package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb.entry.js +4 -1
- package/dist/esm-es5/mds-button-dropdown.entry.js +19 -1
- package/dist/esm-es5/mds-button-group.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +42 -1
- package/dist/esm-es5/mds-calendar_2.entry.js +81 -1
- 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 +7 -1
- package/dist/esm-es5/mds-details.entry.js +4 -1
- package/dist/esm-es5/mds-dropdown.entry.js +102 -1
- package/dist/esm-es5/mds-emoji.entry.js +899 -3
- package/dist/esm-es5/mds-entity.entry.js +1 -1
- package/dist/esm-es5/mds-file-preview.entry.js +23 -2
- package/dist/esm-es5/mds-file.entry.js +2823 -3
- package/dist/esm-es5/mds-filter-item.entry.js +1 -1
- package/dist/esm-es5/mds-filter.entry.js +11 -1
- package/dist/esm-es5/mds-header-bar.entry.js +11 -1
- package/dist/esm-es5/mds-header.entry.js +30 -1
- package/dist/esm-es5/mds-horizontal-scroll.entry.js +45 -1
- package/dist/esm-es5/mds-hr.entry.js +1 -1
- package/dist/esm-es5/mds-img.entry.js +15 -1
- package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range.entry.js +39 -1
- package/dist/esm-es5/mds-input-date.entry.js +50 -1
- package/dist/esm-es5/mds-input-field.entry.js +22 -1
- package/dist/esm-es5/mds-input-otp.entry.js +13 -1
- package/dist/esm-es5/mds-input-range.entry.js +24 -1
- package/dist/esm-es5/mds-input-select.entry.js +39 -1
- package/dist/esm-es5/mds-input-switch_2.entry.js +27 -1
- package/dist/esm-es5/mds-input-tip_2.entry.js +10 -1
- package/dist/esm-es5/mds-input-upload.entry.js +63 -1
- package/dist/esm-es5/mds-input.entry.js +134 -1
- package/dist/esm-es5/mds-keyboard-key.entry.js +1 -1
- package/dist/esm-es5/mds-keyboard.entry.js +11 -1
- package/dist/esm-es5/mds-kpi-item.entry.js +11 -1
- package/dist/esm-es5/mds-kpi.entry.js +1 -1
- package/dist/esm-es5/mds-label.entry.js +16 -1
- package/dist/esm-es5/mds-list-item.entry.js +7 -1
- package/dist/esm-es5/mds-list.entry.js +1 -1
- package/dist/esm-es5/mds-mention.entry.js +4 -1
- package/dist/esm-es5/mds-modal.entry.js +68 -1
- package/dist/esm-es5/mds-note.entry.js +7 -1
- package/dist/esm-es5/mds-notification.entry.js +13 -1
- package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
- package/dist/esm-es5/mds-paginator.entry.js +14 -1
- package/dist/esm-es5/mds-policy-ai.entry.js +7 -1
- package/dist/esm-es5/mds-pref-animation.entry.js +1 -1
- package/dist/esm-es5/mds-pref-consumption.entry.js +1 -1
- package/dist/esm-es5/mds-pref-contrast.entry.js +4 -1
- package/dist/esm-es5/mds-pref-language-item.entry.js +13 -1
- package/dist/esm-es5/mds-pref-language.entry.js +15 -1
- package/dist/esm-es5/mds-pref-mode.entry.js +4 -0
- package/dist/esm-es5/mds-pref-theme-item.entry.js +13 -0
- package/dist/esm-es5/mds-pref-theme.entry.js +38 -1
- package/dist/esm-es5/mds-pref.entry.js +9 -1
- package/dist/esm-es5/mds-price-table-features-cell.entry.js +4 -1
- package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-list-item.entry.js +7 -1
- package/dist/esm-es5/mds-price-table-list.entry.js +1 -1
- package/dist/esm-es5/mds-price-table.entry.js +1 -1
- package/dist/esm-es5/mds-progress_2.entry.js +32 -1
- package/dist/esm-es5/mds-push-notification-item.entry.js +16 -1
- package/dist/esm-es5/mds-push-notification.entry.js +49 -1
- package/dist/esm-es5/mds-quote.entry.js +7 -1
- package/dist/esm-es5/mds-radial-menu-item.entry.js +10 -1
- package/dist/esm-es5/mds-radial-menu.entry.js +28 -1
- package/dist/esm-es5/mds-separator.entry.js +1 -1
- package/dist/esm-es5/mds-status-bar.entry.js +10 -1
- package/dist/esm-es5/mds-stepper-bar-item.entry.js +16 -1
- package/dist/esm-es5/mds-stepper-bar.entry.js +19 -1
- package/dist/esm-es5/mds-tab-bar-item.entry.js +9 -1
- package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
- package/dist/esm-es5/mds-tab_2.entry.js +26 -1
- 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 +4 -1
- package/dist/esm-es5/mds-table-header.entry.js +14 -1
- package/dist/esm-es5/mds-table-row.entry.js +8 -1
- package/dist/esm-es5/mds-table.entry.js +15 -1
- package/dist/esm-es5/mds-text.entry.js +27 -1
- package/dist/esm-es5/mds-toast.entry.js +15 -1
- package/dist/esm-es5/mds-tooltip.entry.js +37 -1
- package/dist/esm-es5/mds-tree-item.entry.js +16 -1
- package/dist/esm-es5/mds-tree.entry.js +20 -1
- package/dist/esm-es5/mds-url-view.entry.js +7 -1
- package/dist/esm-es5/mds-usage.entry.js +4 -1
- package/dist/esm-es5/mds-video-wall.entry.js +16 -1
- package/dist/esm-es5/mds-zero.entry.js +1 -1
- package/dist/esm-es5/preference-CKerJx2M.js +58 -0
- package/dist/esm-es5/slot-C0o_l0td.js +23 -0
- package/dist/hydrate/index.js +4268 -3165
- package/dist/hydrate/index.mjs +4268 -3165
- package/dist/magma-components/index.esm.js +1 -1
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/magma-components.js +1 -1
- package/dist/magma-components/p-03be5c0c.entry.js +1 -0
- package/dist/magma-components/p-0715a2cb.system.entry.js +12 -0
- package/dist/magma-components/p-071f18c6.system.entry.js +27 -0
- package/dist/magma-components/p-0798b0bf.system.entry.js +24 -0
- package/dist/magma-components/p-07fde74d.system.entry.js +39 -0
- package/dist/magma-components/p-086fb3aa.entry.js +1 -0
- package/dist/magma-components/p-0a088e7d.system.entry.js +10 -0
- package/dist/magma-components/p-0a691082.entry.js +1 -0
- package/dist/magma-components/p-0ad3b4da.system.entry.js +102 -0
- package/dist/magma-components/p-0af8d821.entry.js +1 -0
- package/dist/magma-components/p-0ec21574.system.entry.js +10 -0
- package/dist/magma-components/p-0f6bb54d.system.entry.js +22 -0
- package/dist/magma-components/p-102d3bd3.system.entry.js +1 -0
- package/dist/magma-components/p-10704ede.system.entry.js +4 -0
- package/dist/magma-components/p-15f63bf3.entry.js +1 -0
- package/dist/magma-components/p-16e9fb14.system.entry.js +7 -0
- package/dist/magma-components/p-1780b8ba.entry.js +1 -0
- package/dist/magma-components/p-181dfb04.entry.js +1 -0
- package/dist/magma-components/p-184720be.system.entry.js +1 -0
- package/dist/magma-components/p-18f7b970.system.entry.js +4 -0
- package/dist/magma-components/p-1a8c5086.system.entry.js +19 -0
- package/dist/magma-components/p-1afc0452.entry.js +1 -0
- package/dist/magma-components/p-1c0a7e24.system.entry.js +30 -0
- package/dist/magma-components/p-1cce738a.system.entry.js +32 -0
- package/dist/magma-components/p-1dcfb13e.entry.js +1 -0
- package/dist/magma-components/p-1df6ac96.system.entry.js +7 -0
- package/dist/magma-components/p-209063b6.system.entry.js +50 -0
- package/dist/magma-components/p-216f95cc.system.entry.js +1 -0
- package/dist/magma-components/p-21891a24.entry.js +1 -0
- package/dist/magma-components/p-21d6687a.system.entry.js +7 -0
- package/dist/magma-components/p-231505e8.entry.js +1 -0
- package/dist/magma-components/p-23e61db9.system.entry.js +4 -0
- package/dist/magma-components/p-241dbf61.entry.js +1 -0
- package/dist/magma-components/p-25935d33.system.entry.js +1 -0
- package/dist/magma-components/p-284c40cd.system.entry.js +4 -0
- package/dist/magma-components/p-29684655.system.entry.js +16 -0
- package/dist/magma-components/p-2b73fee6.entry.js +1 -0
- package/dist/magma-components/p-2d5aadba.system.entry.js +7 -0
- package/dist/magma-components/p-2de17848.entry.js +1 -0
- package/dist/magma-components/p-34482514.entry.js +1 -0
- package/dist/magma-components/p-34c0890e.entry.js +1 -0
- package/dist/magma-components/p-3635eca6.system.entry.js +1 -0
- package/dist/magma-components/p-3b0c1202.entry.js +1 -0
- package/dist/magma-components/p-3d8e63a2.system.entry.js +63 -0
- package/dist/magma-components/p-3db23b5f.system.entry.js +16 -0
- package/dist/magma-components/p-3ec7d3ea.entry.js +1 -0
- package/dist/magma-components/p-3f7d3060.system.entry.js +42 -0
- package/dist/magma-components/p-40563e33.entry.js +1 -0
- package/dist/magma-components/p-41bf6f25.system.entry.js +81 -0
- package/dist/magma-components/p-421a630e.entry.js +1 -0
- package/dist/magma-components/p-4297da23.system.entry.js +1 -0
- package/dist/magma-components/p-4299b76b.system.entry.js +4 -0
- package/dist/magma-components/p-4543501c.entry.js +1 -0
- package/dist/magma-components/p-454c4774.entry.js +1 -0
- package/dist/magma-components/p-4616bc07.entry.js +1 -0
- package/dist/magma-components/p-46786d71.system.entry.js +14 -0
- package/dist/magma-components/p-470e5ac8.system.entry.js +1 -0
- package/dist/magma-components/p-481008e9.system.entry.js +13 -0
- package/dist/magma-components/p-48d37230.entry.js +1 -0
- package/dist/magma-components/p-4b3a8132.system.entry.js +13 -0
- package/dist/magma-components/p-4c8316a8.entry.js +1 -0
- package/dist/magma-components/p-4c95442e.entry.js +1 -0
- package/dist/magma-components/p-4e4bdbf8.entry.js +1 -0
- package/dist/magma-components/p-4e5ab0e4.system.entry.js +16 -0
- package/dist/magma-components/p-54b995c2.system.entry.js +4 -0
- package/dist/magma-components/p-56ad5bf2.entry.js +1 -0
- package/dist/magma-components/p-59de81ac.entry.js +1 -0
- package/dist/magma-components/p-5a7ead55.system.entry.js +37 -0
- package/dist/magma-components/p-5e43274a.system.entry.js +15 -0
- package/dist/magma-components/p-5f545f85.system.entry.js +1 -0
- package/dist/magma-components/p-61a5ac3d.system.entry.js +17 -0
- package/dist/magma-components/p-636cc471.entry.js +1 -0
- package/dist/magma-components/p-66ce2dee.entry.js +1 -0
- package/dist/magma-components/p-67d80d37.system.entry.js +1 -0
- package/dist/magma-components/p-6937f340.entry.js +1 -0
- package/dist/magma-components/p-69d1b815.entry.js +1 -0
- package/dist/magma-components/p-6b7e449f.entry.js +1 -0
- package/dist/magma-components/p-6c417ea1.system.entry.js +913 -0
- package/dist/magma-components/p-6cd7cfe3.entry.js +1 -0
- package/dist/magma-components/p-6ce60d59.entry.js +1 -0
- package/dist/magma-components/p-6cf760ea.system.entry.js +45 -0
- package/dist/magma-components/p-6dc27543.entry.js +1 -0
- package/dist/magma-components/p-6de37588.entry.js +1 -0
- package/dist/magma-components/p-6edc4f16.system.entry.js +14 -0
- package/dist/magma-components/p-6f6b5eb5.entry.js +1 -0
- package/dist/magma-components/p-7090184f.entry.js +1 -0
- package/dist/magma-components/p-716ad14c.entry.js +1 -0
- package/dist/magma-components/p-71804224.entry.js +1 -0
- package/dist/magma-components/p-735dc594.system.entry.js +1 -0
- package/dist/magma-components/p-739fdf76.system.entry.js +1 -0
- package/dist/magma-components/p-74b0902a.entry.js +1 -0
- package/dist/magma-components/p-7530a2f2.entry.js +1 -0
- package/dist/magma-components/p-75dd012a.system.entry.js +11 -0
- package/dist/magma-components/p-75fcf1a4.entry.js +1 -0
- package/dist/magma-components/p-76ae22d6.entry.js +1 -0
- package/dist/magma-components/p-78248693.entry.js +1 -0
- package/dist/magma-components/p-78fef00a.entry.js +1 -0
- package/dist/magma-components/p-7c0d202c.entry.js +1 -0
- package/dist/magma-components/p-7d317ff0.entry.js +8 -0
- package/dist/magma-components/p-7f2e3b74.system.entry.js +2838 -0
- package/dist/magma-components/p-7fc29447.entry.js +1 -0
- package/dist/magma-components/p-8103d4d4.system.entry.js +30 -0
- package/dist/magma-components/p-81b72b6e.entry.js +1 -0
- package/dist/magma-components/p-859ab5a2.entry.js +18 -0
- package/dist/magma-components/p-896ae0ee.entry.js +1 -0
- package/dist/magma-components/p-89a3bc7a.system.entry.js +16 -0
- package/dist/magma-components/p-8b7fa8d7.entry.js +1 -0
- package/dist/magma-components/p-8dff6606.system.entry.js +11 -0
- package/dist/magma-components/p-8e40eda3.system.entry.js +9 -0
- package/dist/magma-components/p-91b9d4e7.system.entry.js +4 -0
- package/dist/magma-components/p-92e1001f.entry.js +1 -0
- package/dist/magma-components/p-9378b373.system.entry.js +49 -0
- package/dist/magma-components/p-960dc9b5.system.entry.js +15 -0
- package/dist/magma-components/p-9626eaff.system.entry.js +134 -0
- package/dist/magma-components/p-9741d95e.system.entry.js +7 -0
- package/dist/magma-components/p-97ea9e6e.system.entry.js +68 -0
- package/dist/magma-components/p-9846fe89.system.entry.js +1 -0
- package/dist/magma-components/p-998721b9.system.entry.js +1 -0
- package/dist/magma-components/p-9a5296c0.system.entry.js +7 -0
- package/dist/magma-components/p-9b2ee3fe.entry.js +1 -0
- package/dist/magma-components/p-9be4a736.entry.js +1 -0
- package/dist/magma-components/p-9ca7932d.system.entry.js +8 -0
- package/dist/magma-components/p-9d86477d.system.entry.js +1 -0
- package/dist/magma-components/p-9d9a947b.entry.js +18 -0
- package/dist/magma-components/p-9e3bc553.system.entry.js +26 -0
- package/dist/magma-components/p-9e58467e.system.entry.js +10 -0
- package/dist/magma-components/p-9e9a1ebd.system.entry.js +15 -0
- package/dist/magma-components/p-A9TZf0Ii.js +1 -0
- package/dist/magma-components/p-BFnx_0hM.js +5 -0
- package/dist/magma-components/p-BJKToXNf.system.js +2733 -1
- package/dist/magma-components/p-BbMKuVem.js +1 -0
- package/dist/magma-components/p-C0o_l0td.js +1 -0
- package/dist/magma-components/p-C2FHijr2.system.js +231 -0
- package/dist/magma-components/p-CACEYk42.js +1 -0
- package/dist/magma-components/p-CBam2PI8.system.js +79 -0
- package/dist/magma-components/p-CDTiTqY0.system.js +58 -0
- package/dist/magma-components/p-CHAGzQT-.js +1 -0
- package/dist/magma-components/p-CI85vVs8.system.js +9 -0
- package/dist/magma-components/p-CnXBPjmc.system.js +5 -0
- package/dist/magma-components/p-DB8Rm54c.js +1 -0
- package/dist/magma-components/p-DIiEV39g.js +3 -0
- package/dist/magma-components/p-Dg8nxRUX.system.js +201 -0
- package/dist/magma-components/p-DmC-b-ZK.system.js +67 -0
- package/dist/magma-components/p-KRu9I7dw.js +1 -0
- package/dist/magma-components/p-LerCJgfP.system.js +5 -0
- package/dist/magma-components/p-MGv0i39Y.system.js +162 -0
- package/dist/magma-components/p-RJ5ZA1kY.system.js +23 -0
- package/dist/magma-components/p-a3279a73.system.entry.js +11 -0
- package/dist/magma-components/p-a3b0f586.entry.js +1 -0
- package/dist/magma-components/p-a3fc2ea4.system.entry.js +39 -0
- package/dist/magma-components/p-a5ac5e0b.entry.js +1 -0
- package/dist/magma-components/p-a8ec3080.system.entry.js +27 -0
- package/dist/magma-components/p-a906a02f.system.entry.js +16 -0
- package/dist/magma-components/p-a93b2a39.entry.js +1 -0
- package/dist/magma-components/p-aa267e7b.entry.js +1 -0
- package/dist/magma-components/p-ab9095ae.system.entry.js +4 -0
- package/dist/magma-components/p-ac544ab1.entry.js +1 -0
- package/dist/magma-components/p-ace198e9.entry.js +1 -0
- package/dist/magma-components/p-ad3983b2.entry.js +1 -0
- package/dist/magma-components/p-af41c8b8.system.entry.js +1 -0
- package/dist/magma-components/p-af45f0a5.system.entry.js +20 -0
- package/dist/magma-components/p-b23a6c83.entry.js +1 -0
- package/dist/magma-components/p-b3a3578c.entry.js +1 -0
- package/dist/magma-components/p-b49e0321.system.entry.js +1 -0
- package/dist/magma-components/p-b71e0d51.entry.js +1 -0
- package/dist/magma-components/p-b8d4a14e.entry.js +1 -0
- package/dist/magma-components/p-b9fecfd5.entry.js +1 -0
- package/dist/magma-components/p-ba035f90.entry.js +1 -0
- package/dist/magma-components/p-bc51d310.system.entry.js +1 -0
- package/dist/magma-components/p-bd490a8e.entry.js +1 -0
- package/dist/magma-components/p-be198039.system.entry.js +4 -0
- package/dist/magma-components/p-be692266.system.entry.js +13 -0
- package/dist/magma-components/p-bf7168b4.entry.js +1 -0
- package/dist/magma-components/p-bf84d9fa.entry.js +1 -0
- package/dist/magma-components/p-c1fb2eb7.entry.js +1 -0
- package/dist/magma-components/p-c4e58240.entry.js +1 -0
- package/dist/magma-components/p-c573de10.entry.js +1 -0
- package/dist/magma-components/p-c6be3db7.system.entry.js +1 -0
- package/dist/magma-components/p-c70d7159.entry.js +1 -0
- package/dist/magma-components/p-c7517884.system.entry.js +38 -0
- package/dist/magma-components/p-c9be79bd.entry.js +1 -0
- package/dist/magma-components/p-c9e12c2b.system.entry.js +7 -0
- package/dist/magma-components/p-cb6a1908.entry.js +1 -0
- package/dist/magma-components/p-cbd5aef4.system.entry.js +14 -0
- package/dist/magma-components/p-cd21137b.system.entry.js +1 -0
- package/dist/magma-components/p-cd5866c8.entry.js +1 -0
- package/dist/magma-components/p-ce0ecc75.system.entry.js +15 -0
- package/dist/magma-components/p-ce4e1a41.system.entry.js +1 -0
- package/dist/magma-components/p-d3116844.entry.js +1 -0
- package/dist/magma-components/p-d38165ed.system.entry.js +1 -0
- package/dist/magma-components/p-d3933a22.entry.js +1 -0
- package/dist/magma-components/p-d44c49d6.system.entry.js +8 -0
- package/dist/magma-components/p-d4a529ce.entry.js +1 -0
- package/dist/magma-components/p-d6d4aa1a.entry.js +1 -0
- package/dist/magma-components/p-d81e7100.system.entry.js +15 -0
- package/dist/magma-components/p-d8c27f4b.entry.js +1 -0
- package/dist/magma-components/p-d921d876.entry.js +1 -0
- package/dist/magma-components/p-da1ac3e1.entry.js +1 -0
- package/dist/magma-components/p-ddbdce09.entry.js +1 -0
- package/dist/magma-components/p-de6bc3c8.entry.js +1 -0
- package/dist/magma-components/p-df2b7607.system.entry.js +4 -0
- package/dist/magma-components/p-e05d2df8.system.entry.js +4 -0
- package/dist/magma-components/p-e0b2ef8f.system.entry.js +1 -0
- package/dist/magma-components/p-e0c50a2d.entry.js +1 -0
- package/dist/magma-components/p-e1277efe.system.entry.js +1 -0
- package/dist/magma-components/p-e1e6dd97.entry.js +1 -0
- package/dist/magma-components/p-e2f7a9bd.system.entry.js +1 -0
- package/dist/magma-components/p-e3e893c4.entry.js +1 -0
- package/dist/magma-components/p-e4868ade.entry.js +1 -0
- package/dist/magma-components/p-e5c6f9a9.system.entry.js +7 -0
- package/dist/magma-components/p-e5da7036.entry.js +1 -0
- package/dist/magma-components/p-e6dccab5.system.entry.js +1 -0
- package/dist/magma-components/p-ec59ec9a.entry.js +1 -0
- package/dist/magma-components/p-eddcef53.system.entry.js +1 -0
- package/dist/magma-components/p-eed00e7f.system.entry.js +1 -0
- package/dist/magma-components/p-ef8cb401.entry.js +1 -0
- package/dist/magma-components/p-efe8d359.entry.js +1 -0
- package/dist/magma-components/p-f070a5b5.system.entry.js +11 -0
- package/dist/magma-components/p-f0a168f4.system.entry.js +13 -0
- package/dist/magma-components/p-f1462410.system.entry.js +9 -0
- package/dist/magma-components/p-f23d4974.entry.js +1 -0
- package/dist/magma-components/p-f542246f.system.entry.js +1 -0
- package/dist/magma-components/p-f5c680dd.entry.js +1 -0
- package/dist/magma-components/p-f60c6e8e.system.entry.js +40 -0
- package/dist/magma-components/p-f8369939.entry.js +1 -0
- package/dist/magma-components/p-f97ede3e.system.entry.js +19 -0
- package/dist/magma-components/p-f97ff5b2.entry.js +1 -0
- package/dist/magma-components/p-fe1662e8.system.entry.js +28 -0
- package/dist/magma-components/p-ff133cbd.entry.js +1 -0
- package/dist/magma-components/p-fff44704.entry.js +1 -0
- package/dist/magma-components/p-opeIIa7t.system.js +7 -0
- package/dist/stats.json +5337 -7124
- package/dist/types/common/date.d.ts +5 -1
- package/dist/types/common/floating-controller.d.ts +56 -2
- package/dist/types/common/form.d.ts +10 -0
- package/dist/types/common/locale.d.ts +0 -5
- package/dist/types/common/preference.d.ts +48 -16
- package/dist/types/common/slot.d.ts +11 -1
- package/dist/types/common/yugop/random-text.d.ts +8 -0
- package/dist/types/components/mds-accordion/mds-accordion.d.ts +0 -8
- package/dist/types/components/mds-accordion-item/mds-accordion-item.d.ts +0 -10
- package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +0 -4
- package/dist/types/components/mds-author/mds-author.d.ts +2 -1
- package/dist/types/components/mds-avatar/mds-avatar.d.ts +0 -6
- package/dist/types/components/mds-badge/mds-badge.d.ts +0 -10
- package/dist/types/components/mds-banner/mds-banner.d.ts +2 -16
- package/dist/types/components/mds-breadcrumb/mds-breadcrumb.d.ts +0 -6
- package/dist/types/components/mds-button/mds-button.d.ts +0 -7
- package/dist/types/components/mds-button-group/mds-button-group.d.ts +1 -1
- package/dist/types/components/mds-calendar/mds-calendar.d.ts +27 -18
- package/dist/types/components/mds-card/mds-card.d.ts +0 -8
- package/dist/types/components/mds-card-header/mds-card-header.d.ts +2 -1
- package/dist/types/components/mds-chip/mds-chip.d.ts +0 -15
- package/dist/types/components/mds-details/mds-details.d.ts +0 -5
- package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +33 -12
- package/dist/types/components/mds-emoji/mds-emoji.d.ts +9 -2
- package/dist/types/components/mds-entity/mds-entity.d.ts +3 -10
- package/dist/types/components/mds-file/mds-file.d.ts +0 -15
- package/dist/types/components/mds-file-preview/mds-file-preview.d.ts +0 -15
- package/dist/types/components/mds-filter/mds-filter.d.ts +10 -10
- package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +0 -9
- package/dist/types/components/mds-header/mds-header.d.ts +0 -7
- package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +2 -11
- package/dist/types/components/mds-hr/mds-hr.d.ts +0 -6
- package/dist/types/components/mds-img/mds-img.d.ts +1 -7
- package/dist/types/components/mds-input/mds-input.d.ts +7 -15
- package/dist/types/components/mds-input-date/mds-input-date.d.ts +9 -14
- package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +9 -12
- package/dist/types/components/mds-input-field/mds-input-field.d.ts +3 -0
- package/dist/types/components/mds-input-otp/mds-input-otp.d.ts +7 -0
- package/dist/types/components/mds-input-range/mds-input-range.d.ts +0 -10
- package/dist/types/components/mds-input-select/mds-input-select.d.ts +5 -14
- package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +0 -11
- package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +0 -4
- package/dist/types/components/mds-input-tip-item/mds-input-tip-item.d.ts +0 -13
- package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +2 -7
- package/dist/types/components/mds-input-upload/meta/types.d.ts +1 -1
- package/dist/types/components/mds-keyboard/mds-keyboard.d.ts +0 -11
- package/dist/types/components/mds-keyboard-key/mds-keyboard-key.d.ts +0 -7
- package/dist/types/components/mds-keyboard-key/meta/icons.d.ts +1 -1
- package/dist/types/components/mds-kpi-item/mds-kpi-item.d.ts +8 -10
- package/dist/types/components/mds-label/mds-label.d.ts +0 -12
- package/dist/types/components/mds-list-item/mds-list-item.d.ts +0 -4
- package/dist/types/components/mds-mention/mds-mention.d.ts +13 -0
- package/dist/types/components/mds-mention/meta/interface.d.ts +5 -0
- package/dist/types/components/mds-modal/mds-modal.d.ts +17 -16
- package/dist/types/components/mds-note/mds-note.d.ts +0 -15
- package/dist/types/components/mds-notification/mds-notification.d.ts +0 -3
- package/dist/types/components/mds-paginator/mds-paginator.d.ts +9 -11
- package/dist/types/components/mds-paginator-item/mds-paginator-item.d.ts +0 -7
- package/dist/types/components/mds-policy-ai/mds-policy-ai.d.ts +0 -7
- package/dist/types/components/mds-pref/mds-pref.d.ts +12 -8
- package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +0 -10
- package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +0 -10
- package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +0 -10
- package/dist/types/components/mds-pref-language/mds-pref-language.d.ts +3 -9
- package/dist/types/components/mds-pref-language-item/mds-pref-language-item.d.ts +3 -7
- package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +62 -0
- package/dist/types/components/mds-pref-mode/meta/dictionary.d.ts +3 -0
- package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +63 -45
- package/dist/types/components/mds-pref-theme/meta/dictionary.d.ts +2 -3
- package/dist/types/components/mds-pref-theme-item/mds-pref-theme-item.d.ts +28 -0
- package/dist/types/components/mds-price-table-features/mds-price-table-features.d.ts +0 -10
- package/dist/types/components/mds-price-table-features-cell/mds-price-table-features-cell.d.ts +0 -10
- package/dist/types/components/mds-price-table-features-row/mds-price-table-features-row.d.ts +0 -10
- package/dist/types/components/mds-price-table-list/mds-price-table-list.d.ts +0 -10
- package/dist/types/components/mds-progress/mds-progress.d.ts +0 -10
- package/dist/types/components/mds-push-notification/mds-push-notification.d.ts +0 -6
- package/dist/types/components/mds-push-notification-item/mds-push-notification-item.d.ts +3 -17
- package/dist/types/components/mds-quote/mds-quote.d.ts +0 -4
- package/dist/types/components/mds-radial-progress/mds-radial-progress.d.ts +0 -1
- package/dist/types/components/mds-separator/mds-separator.d.ts +0 -8
- package/dist/types/components/mds-spinner/mds-spinner.d.ts +0 -4
- package/dist/types/components/mds-status-bar/mds-status-bar.d.ts +0 -10
- package/dist/types/components/mds-stepper-bar/mds-stepper-bar.d.ts +10 -0
- package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +0 -9
- package/dist/types/components/mds-tab/mds-tab.d.ts +0 -9
- package/dist/types/components/mds-tab-bar/mds-tab-bar.d.ts +0 -10
- package/dist/types/components/mds-tab-bar-item/mds-tab-bar-item.d.ts +0 -10
- package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +5 -8
- package/dist/types/components/mds-table/mds-table.d.ts +10 -14
- package/dist/types/components/mds-table-body/mds-table-body.d.ts +0 -4
- package/dist/types/components/mds-table-cell/mds-table-cell.d.ts +0 -4
- package/dist/types/components/mds-table-footer/mds-table-footer.d.ts +0 -4
- package/dist/types/components/mds-table-header/mds-table-header.d.ts +0 -9
- package/dist/types/components/mds-table-header-cell/mds-table-header-cell.d.ts +0 -4
- package/dist/types/components/mds-table-row/mds-table-row.d.ts +3 -10
- package/dist/types/components/mds-text/mds-text.d.ts +0 -4
- package/dist/types/components/mds-toast/mds-toast.d.ts +2 -11
- package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +0 -9
- package/dist/types/components/mds-tree-item/mds-tree-item.d.ts +1 -5
- package/dist/types/components/mds-url-view/mds-url-view.d.ts +0 -15
- package/dist/types/components/mds-usage/mds-usage.d.ts +0 -16
- package/dist/types/components/mds-video-wall/mds-video-wall.d.ts +2 -1
- package/dist/types/components/mds-zero/mds-zero.d.ts +0 -10
- package/dist/types/components.d.ts +243 -239
- package/dist/types/event-detail/preference.d.ts +2 -2
- package/dist/types/event-detail/theme.d.ts +5 -0
- package/dist/types/stencil-public-runtime.d.ts +12 -0
- package/dist/types/type/preference.d.ts +16 -3
- package/loader/index.d.ts +1 -1
- package/package.json +58 -64
- package/dist/cjs/date-dnDGaLCn.js +0 -16
- package/dist/cjs/floating-controller-CXEVR1wX.js +0 -203
- package/dist/cjs/floating-ui.dom-DW-02Mib.js +0 -1703
- package/dist/cjs/index-CNuKb6Lv.js +0 -2896
- package/dist/cjs/keyboard-manager-BXKT5TGW.js +0 -52
- package/dist/cjs/locale-oGW3SvGJ.js +0 -837
- package/dist/cjs/mds-pref-theme-variant-item.cjs.entry.js +0 -63
- package/dist/cjs/mds-pref-theme-variant.cjs.entry.js +0 -149
- package/dist/cjs/preference-BdpIXWLP.js +0 -81
- package/dist/cjs/slot-CI0KpgtY.js +0 -52
- package/dist/collection/components/mds-accordion/test/mds-accordion.stories.js +0 -39
- package/dist/collection/components/mds-accordion-item/test/mds-accordion-item.stories.js +0 -35
- package/dist/collection/components/mds-accordion-timer/test/mds-accordion-timer.stories.js +0 -51
- package/dist/collection/components/mds-accordion-timer-item/test/mds-accordion-timer-item.stories.js +0 -52
- package/dist/collection/components/mds-author/test/mds-author.stories.js +0 -12
- package/dist/collection/components/mds-avatar/test/mds-avatar.stories.js +0 -71
- package/dist/collection/components/mds-avatar-stack/test/mds-avatar-stack.stories.js +0 -34
- package/dist/collection/components/mds-avatar-stack-item/test/mds-avatar-stack-item.stories.js +0 -60
- package/dist/collection/components/mds-badge/test/mds-badge.stories.js +0 -46
- package/dist/collection/components/mds-banner/test/mds-banner.stories.js +0 -106
- package/dist/collection/components/mds-benchmark-bar/test/mds-benchmark-bar.stories.js +0 -64
- package/dist/collection/components/mds-bibliography/test/mds-bibliography.stories.js +0 -104
- package/dist/collection/components/mds-breadcrumb/test/mds-breadcrumb.stories.js +0 -14
- package/dist/collection/components/mds-breadcrumb-item/test/mds-breadcrumb-item.stories.js +0 -24
- package/dist/collection/components/mds-button/test/mds-button.stories.js +0 -346
- package/dist/collection/components/mds-button-dropdown/test/mds-button-dropdown.stories.js +0 -73
- package/dist/collection/components/mds-button-group/test/mds-button-group.stories.js +0 -12
- package/dist/collection/components/mds-calendar/test/mds-calendar.stories.js +0 -24
- package/dist/collection/components/mds-card/test/mds-card.stories.js +0 -82
- package/dist/collection/components/mds-chip/test/mds-chip.stories.js +0 -120
- package/dist/collection/components/mds-details/test/mds-details.stories.js +0 -20
- package/dist/collection/components/mds-dropdown/test/mds-dropdown.stories.js +0 -256
- package/dist/collection/components/mds-emoji/test/mds-emoji.stories.js +0 -87
- package/dist/collection/components/mds-entity/test/mds-entity.stories.js +0 -101
- package/dist/collection/components/mds-file/test/mds-file.stories.js +0 -73
- package/dist/collection/components/mds-file-preview/test/mds-file-preview.stories.js +0 -154
- package/dist/collection/components/mds-filter/test/mds-filter.stories.js +0 -49
- package/dist/collection/components/mds-filter-item/test/mds-filter-item.stories.js +0 -36
- package/dist/collection/components/mds-header/test/mds-header.stories.js +0 -71
- package/dist/collection/components/mds-header-bar/test/mds-header-bar.stories.js +0 -21
- package/dist/collection/components/mds-help/test/mds-help.stories.js +0 -23
- package/dist/collection/components/mds-horizontal-scroll/test/mds-horizontal-scroll.stories.js +0 -48
- package/dist/collection/components/mds-hr/test/mds-hr.stories.js +0 -14
- package/dist/collection/components/mds-icon/test/mds-icon.stories.js +0 -76
- package/dist/collection/components/mds-img/test/mds-img-accessibility.stories.js +0 -34
- package/dist/collection/components/mds-img/test/mds-img.stories.js +0 -62
- package/dist/collection/components/mds-input/test/mds-input.stories.js +0 -302
- package/dist/collection/components/mds-input-date/test/mds-input-date.stories.js +0 -70
- package/dist/collection/components/mds-input-date-range/test/mds-input-date-range.stories.js +0 -109
- package/dist/collection/components/mds-input-field/test/mds-input-field.stories.js +0 -90
- package/dist/collection/components/mds-input-otp/test/mds-input-otp.stories.js +0 -68
- package/dist/collection/components/mds-input-range/test/mds-input-range.stories.js +0 -92
- package/dist/collection/components/mds-input-select/test/mds-input-select.stories.js +0 -97
- package/dist/collection/components/mds-input-switch/test/mds-input-switch.stories.js +0 -169
- package/dist/collection/components/mds-input-tip/test/mds-input-tip.stories.js +0 -20
- package/dist/collection/components/mds-input-tip-item/test/mds-input-tip.stories.js +0 -20
- package/dist/collection/components/mds-input-upload/test/mds-input-upload.stories.js +0 -48
- package/dist/collection/components/mds-keyboard/test/mds-keyboard.stories.js +0 -30
- package/dist/collection/components/mds-keyboard-key/test/mds-keyboard-key.stories.js +0 -20
- package/dist/collection/components/mds-kpi/test/mds-kpi.stories.js +0 -22
- package/dist/collection/components/mds-kpi-item/test/mds-kpi-item.stories.js +0 -34
- package/dist/collection/components/mds-label/test/mds-label.stories.js +0 -72
- package/dist/collection/components/mds-list/test/mds-list.stories.js +0 -8
- package/dist/collection/components/mds-list-item/test/mds-list-item.stories.js +0 -29
- package/dist/collection/components/mds-mention/test/mds-mention.stories.js +0 -31
- package/dist/collection/components/mds-modal/test/mds-modal.stories.js +0 -388
- package/dist/collection/components/mds-note/test/mds-note.stories.js +0 -31
- package/dist/collection/components/mds-notification/test/mds-notification.stories.js +0 -64
- package/dist/collection/components/mds-paginator/test/mds-paginator.stories.js +0 -28
- package/dist/collection/components/mds-policy-ai/test/mds-policy.stories.js +0 -82
- package/dist/collection/components/mds-pref/test/mds-pref.stories.js +0 -26
- package/dist/collection/components/mds-pref-animation/test/mds-pref-animation.stories.js +0 -18
- package/dist/collection/components/mds-pref-consumption/test/mds-pref-consumption.stories.js +0 -18
- package/dist/collection/components/mds-pref-contrast/test/mds-pref-contrast.stories.js +0 -18
- package/dist/collection/components/mds-pref-language/test/mds-pref-language.stories.js +0 -18
- package/dist/collection/components/mds-pref-theme/test/mds-pref-theme.stories.js +0 -24
- package/dist/collection/components/mds-pref-theme-variant/mds-pref-theme-variant.css +0 -40
- package/dist/collection/components/mds-pref-theme-variant/mds-pref-theme-variant.js +0 -288
- package/dist/collection/components/mds-pref-theme-variant/meta/dictionary.js +0 -2
- package/dist/collection/components/mds-pref-theme-variant/test/mds-pref-theme-variant.stories.js +0 -27
- package/dist/collection/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.css +0 -100
- package/dist/collection/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.js +0 -198
- package/dist/collection/components/mds-price-table/test/mds-price-table.stories.js +0 -11
- package/dist/collection/components/mds-price-table-features/test/mds-price-table-features.stories.js +0 -11
- package/dist/collection/components/mds-price-table-features-cell/test/mds-price-table-features-cell.stories.js +0 -11
- package/dist/collection/components/mds-price-table-header/test/mds-price-table-header.stories.js +0 -8
- package/dist/collection/components/mds-price-table-list/test/mds-price-table-list.stories.js +0 -12
- package/dist/collection/components/mds-progress/test/mds-progress.stories.js +0 -66
- package/dist/collection/components/mds-push-notification/test/mds-push-notification.stories.js +0 -104
- package/dist/collection/components/mds-push-notification-item/test/mds-push-notification-item.stories.js +0 -194
- package/dist/collection/components/mds-quote/test/mds-quote.stories.js +0 -33
- package/dist/collection/components/mds-radial-menu/test/mds-radial-menu.stories.js +0 -98
- package/dist/collection/components/mds-radial-menu-item/test/mds-radial-menu-item.stories.js +0 -37
- package/dist/collection/components/mds-radial-progress/test/mds-radial-progress.stories.js +0 -45
- package/dist/collection/components/mds-separator/test/mds-separator.stories.js +0 -8
- package/dist/collection/components/mds-spinner/test/mds-spinner.stories.js +0 -20
- package/dist/collection/components/mds-status-bar/test/mds-status-bar.stories.js +0 -80
- package/dist/collection/components/mds-stepper-bar/test/mds-stepper-bar.stories.js +0 -100
- package/dist/collection/components/mds-stepper-bar-item/test/mds-stepper-bar-item.stories.js +0 -70
- package/dist/collection/components/mds-tab/test/mds-tab.stories.js +0 -152
- package/dist/collection/components/mds-tab-bar/test/mds-tab-bar.stories.js +0 -8
- package/dist/collection/components/mds-tab-bar-item/test/mds-tab-bar-item.stories.js +0 -21
- package/dist/collection/components/mds-tab-item/test/mds-tab-item.stories.js +0 -54
- package/dist/collection/components/mds-table/test/mds-table.stories.js +0 -107
- package/dist/collection/components/mds-text/test/mds-text.stories.js +0 -183
- package/dist/collection/components/mds-toast/test/mds-toast.stories.js +0 -52
- package/dist/collection/components/mds-tooltip/test/mds-tooltip.stories.js +0 -155
- package/dist/collection/components/mds-tree/test/mds-tree-apk.stories.js +0 -66
- package/dist/collection/components/mds-tree/test/mds-tree.stories.js +0 -83
- package/dist/collection/components/mds-tree-item/test/mds-tree-item.stories.js +0 -71
- package/dist/collection/components/mds-url-view/test/mds-url-view.stories.js +0 -75
- package/dist/collection/components/mds-usage/test/mds-usage.stories.js +0 -33
- package/dist/collection/components/mds-video-wall/test/mds-video-wall.stories.js +0 -104
- package/dist/collection/components/mds-zero/test/mds-zero.stories.js +0 -8
- package/dist/collection/storybook/box-shadows.stories.js +0 -53
- package/dist/collection/storybook/color-scale.stories.js +0 -465
- package/dist/collection/storybook/components-preview.stories.js +0 -36
- package/dist/collection/storybook/example-page.stories.js +0 -10
- package/dist/collection/storybook/fouc-hydrated.stories.js +0 -20
- package/dist/collection/storybook/input-form.stories.js +0 -40
- package/dist/collection/storybook/same-childrend-slot-names.stories.js +0 -10
- package/dist/collection/test/file.js +0 -53
- package/dist/collection/test/mock.js +0 -19
- package/dist/components/date.js +0 -1
- package/dist/components/floating-controller.js +0 -1
- package/dist/components/floating-ui.dom.js +0 -1
- package/dist/components/icons-set.service.js +0 -1
- package/dist/components/keyboard-manager.js +0 -1
- package/dist/components/locale.it.js +0 -1
- package/dist/components/locale.js +0 -5
- package/dist/components/mds-avatar-stack-item2.js +0 -1
- package/dist/components/mds-avatar2.js +0 -1
- package/dist/components/mds-badge2.js +0 -1
- package/dist/components/mds-banner2.js +0 -1
- package/dist/components/mds-button2.js +0 -1
- package/dist/components/mds-calendar-cell2.js +0 -1
- package/dist/components/mds-calendar2.js +0 -1
- package/dist/components/mds-chip2.js +0 -1
- package/dist/components/mds-dropdown2.js +0 -1
- package/dist/components/mds-file-preview2.js +0 -8
- package/dist/components/mds-filter-item2.js +0 -1
- package/dist/components/mds-help2.js +0 -1
- package/dist/components/mds-icon2.js +0 -1
- package/dist/components/mds-img2.js +0 -1
- package/dist/components/mds-input-switch2.js +0 -1
- package/dist/components/mds-input-tip-item2.js +0 -1
- package/dist/components/mds-input-tip2.js +0 -1
- package/dist/components/mds-input2.js +0 -1
- package/dist/components/mds-modal2.js +0 -1
- package/dist/components/mds-paginator-item2.js +0 -1
- package/dist/components/mds-pref-theme-variant-item.d.ts +0 -11
- package/dist/components/mds-pref-theme-variant-item.js +0 -1
- package/dist/components/mds-pref-theme-variant.d.ts +0 -11
- package/dist/components/mds-pref-theme-variant.js +0 -1
- package/dist/components/mds-progress2.js +0 -1
- package/dist/components/mds-radial-progress2.js +0 -1
- package/dist/components/mds-separator2.js +0 -1
- package/dist/components/mds-spinner2.js +0 -1
- package/dist/components/mds-tab-item2.js +0 -1
- package/dist/components/mds-tab2.js +0 -1
- package/dist/components/mds-table-cell2.js +0 -1
- package/dist/components/mds-table-header-cell2.js +0 -1
- package/dist/components/mds-text2.js +0 -1
- package/dist/components/mds-tooltip2.js +0 -1
- package/dist/components/preference.js +0 -1
- package/dist/components/slot.js +0 -1
- package/dist/esm/date-C1oxPa_J.js +0 -14
- package/dist/esm/floating-controller-D5eXU5Mk.js +0 -200
- package/dist/esm/floating-ui.dom-8RYXTPXs.js +0 -1695
- package/dist/esm/index-CAd5312P.js +0 -2869
- package/dist/esm/keyboard-manager-BudfaWhu.js +0 -50
- package/dist/esm/locale-a4oAcjYG.js +0 -835
- package/dist/esm/mds-pref-theme-variant-item.entry.js +0 -61
- package/dist/esm/mds-pref-theme-variant.entry.js +0 -147
- package/dist/esm/preference-fMwnXhio.js +0 -79
- package/dist/esm/slot-ttrRC6OE.js +0 -48
- package/dist/esm-es5/date-C1oxPa_J.js +0 -1
- package/dist/esm-es5/floating-controller-D5eXU5Mk.js +0 -1
- package/dist/esm-es5/floating-ui.dom-8RYXTPXs.js +0 -1
- package/dist/esm-es5/index-CAd5312P.js +0 -1
- package/dist/esm-es5/keyboard-manager-BudfaWhu.js +0 -1
- package/dist/esm-es5/locale-a4oAcjYG.js +0 -5
- package/dist/esm-es5/mds-pref-theme-variant-item.entry.js +0 -1
- package/dist/esm-es5/mds-pref-theme-variant.entry.js +0 -1
- package/dist/esm-es5/preference-fMwnXhio.js +0 -1
- package/dist/esm-es5/slot-ttrRC6OE.js +0 -1
- package/dist/magma-components/p-0105d7c7.entry.js +0 -8
- package/dist/magma-components/p-022defe8.entry.js +0 -1
- package/dist/magma-components/p-02d858d0.entry.js +0 -1
- package/dist/magma-components/p-0607a2b3.entry.js +0 -1
- package/dist/magma-components/p-0af4d0ef.entry.js +0 -1
- package/dist/magma-components/p-0b91aae4.entry.js +0 -1
- package/dist/magma-components/p-0bb29dbd.system.entry.js +0 -1
- package/dist/magma-components/p-0c1a5df0.entry.js +0 -1
- package/dist/magma-components/p-0e986d85.entry.js +0 -18
- package/dist/magma-components/p-0ea42813.entry.js +0 -1
- package/dist/magma-components/p-0fe5aeaf.system.entry.js +0 -1
- package/dist/magma-components/p-10ddec99.system.entry.js +0 -1
- package/dist/magma-components/p-11567740.entry.js +0 -1
- package/dist/magma-components/p-116238cf.system.entry.js +0 -1
- package/dist/magma-components/p-1239667c.system.entry.js +0 -1
- package/dist/magma-components/p-1518fda3.system.entry.js +0 -1
- package/dist/magma-components/p-16c94506.system.entry.js +0 -1
- package/dist/magma-components/p-18823bfc.system.entry.js +0 -1
- package/dist/magma-components/p-188e94ef.system.entry.js +0 -1
- package/dist/magma-components/p-19446c9e.entry.js +0 -1
- package/dist/magma-components/p-1a73c7b0.system.entry.js +0 -1
- package/dist/magma-components/p-1ad03ee9.entry.js +0 -1
- package/dist/magma-components/p-1c4038f7.system.entry.js +0 -1
- package/dist/magma-components/p-2035564c.system.entry.js +0 -1
- package/dist/magma-components/p-2128ce5a.system.entry.js +0 -1
- package/dist/magma-components/p-21ee64ec.entry.js +0 -1
- package/dist/magma-components/p-224d2f55.entry.js +0 -1
- package/dist/magma-components/p-23791e85.system.entry.js +0 -1
- package/dist/magma-components/p-248c1b2c.system.entry.js +0 -1
- package/dist/magma-components/p-249b80a5.entry.js +0 -1
- package/dist/magma-components/p-262daf4f.entry.js +0 -1
- package/dist/magma-components/p-288ce251.entry.js +0 -1
- package/dist/magma-components/p-2a804b82.entry.js +0 -1
- package/dist/magma-components/p-2aff9851.system.entry.js +0 -1
- package/dist/magma-components/p-2b0667f6.system.entry.js +0 -1
- package/dist/magma-components/p-2bd03b3d.system.entry.js +0 -1
- package/dist/magma-components/p-2bfa7ed9.system.entry.js +0 -1
- package/dist/magma-components/p-2c6c80e8.entry.js +0 -1
- package/dist/magma-components/p-2e88e014.system.entry.js +0 -1
- package/dist/magma-components/p-2f5cc981.system.entry.js +0 -1
- package/dist/magma-components/p-31403b12.entry.js +0 -1
- package/dist/magma-components/p-31616d0b.entry.js +0 -1
- package/dist/magma-components/p-33b03c17.system.entry.js +0 -1
- package/dist/magma-components/p-353f30cc.system.entry.js +0 -1
- package/dist/magma-components/p-35482f9d.system.entry.js +0 -1
- package/dist/magma-components/p-35b5889a.system.entry.js +0 -1
- package/dist/magma-components/p-36d9d329.system.entry.js +0 -1
- package/dist/magma-components/p-36fd1ed7.system.entry.js +0 -1
- package/dist/magma-components/p-377c94ee.system.entry.js +0 -1
- package/dist/magma-components/p-385f395d.system.entry.js +0 -1
- package/dist/magma-components/p-39c09a42.system.entry.js +0 -1
- package/dist/magma-components/p-3_AKUQtJ.system.js +0 -1
- package/dist/magma-components/p-3c306ed0.system.entry.js +0 -1
- package/dist/magma-components/p-3de6fa18.entry.js +0 -1
- package/dist/magma-components/p-41da539f.entry.js +0 -1
- package/dist/magma-components/p-422bb9e2.system.entry.js +0 -1
- package/dist/magma-components/p-447c2d1b.entry.js +0 -1
- package/dist/magma-components/p-44e2965d.entry.js +0 -1
- package/dist/magma-components/p-46266f27.entry.js +0 -1
- package/dist/magma-components/p-4630472f.entry.js +0 -1
- package/dist/magma-components/p-4671336c.entry.js +0 -1
- package/dist/magma-components/p-4803d24f.system.entry.js +0 -1
- package/dist/magma-components/p-4a929c1c.entry.js +0 -1
- package/dist/magma-components/p-4bc7756a.system.entry.js +0 -1
- package/dist/magma-components/p-4f8ae676.system.entry.js +0 -1
- package/dist/magma-components/p-50c922ad.system.entry.js +0 -1
- package/dist/magma-components/p-50cdb70c.system.entry.js +0 -1
- package/dist/magma-components/p-52c10dbf.system.entry.js +0 -1
- package/dist/magma-components/p-52e35c13.system.entry.js +0 -1
- package/dist/magma-components/p-56a8f1d0.system.entry.js +0 -1
- package/dist/magma-components/p-5724212b.entry.js +0 -1
- package/dist/magma-components/p-5be1c273.entry.js +0 -1
- package/dist/magma-components/p-5d05fa1a.entry.js +0 -1
- package/dist/magma-components/p-5de4bf4f.entry.js +0 -1
- package/dist/magma-components/p-5e626696.entry.js +0 -1
- package/dist/magma-components/p-5f1532c0.system.entry.js +0 -1
- package/dist/magma-components/p-5fe8c814.entry.js +0 -1
- package/dist/magma-components/p-60e8812c.system.entry.js +0 -17
- package/dist/magma-components/p-611fa0a4.entry.js +0 -1
- package/dist/magma-components/p-61fefe1b.system.entry.js +0 -1
- package/dist/magma-components/p-62c9216f.system.entry.js +0 -1
- package/dist/magma-components/p-652b4e43.entry.js +0 -1
- package/dist/magma-components/p-6a92f533.entry.js +0 -1
- package/dist/magma-components/p-6b3569a0.entry.js +0 -1
- package/dist/magma-components/p-6b9175f1.system.entry.js +0 -1
- package/dist/magma-components/p-6ecfec17.entry.js +0 -1
- package/dist/magma-components/p-6ed096d3.system.entry.js +0 -1
- package/dist/magma-components/p-6ee86191.entry.js +0 -1
- package/dist/magma-components/p-70719b58.entry.js +0 -1
- package/dist/magma-components/p-70e1a436.entry.js +0 -1
- package/dist/magma-components/p-725d9e09.entry.js +0 -1
- package/dist/magma-components/p-726a76f0.entry.js +0 -1
- package/dist/magma-components/p-72d91c6f.system.entry.js +0 -1
- package/dist/magma-components/p-73926a10.entry.js +0 -1
- package/dist/magma-components/p-7499262d.system.entry.js +0 -1
- package/dist/magma-components/p-750214a3.entry.js +0 -1
- package/dist/magma-components/p-7590a160.entry.js +0 -1
- package/dist/magma-components/p-75fa7e6f.system.entry.js +0 -1
- package/dist/magma-components/p-765447d4.system.entry.js +0 -1
- package/dist/magma-components/p-76cb480d.entry.js +0 -1
- package/dist/magma-components/p-79e12ac8.entry.js +0 -1
- package/dist/magma-components/p-7b4b9b88.system.entry.js +0 -1
- package/dist/magma-components/p-7c464f28.entry.js +0 -1
- package/dist/magma-components/p-7d338f59.system.entry.js +0 -1
- package/dist/magma-components/p-81e16f90.system.entry.js +0 -1
- package/dist/magma-components/p-82c6cdb9.system.entry.js +0 -1
- package/dist/magma-components/p-83b01f8e.system.entry.js +0 -1
- package/dist/magma-components/p-8546f46f.system.entry.js +0 -1
- package/dist/magma-components/p-85a2d99d.entry.js +0 -1
- package/dist/magma-components/p-8620f425.entry.js +0 -1
- package/dist/magma-components/p-89581b08.system.entry.js +0 -1
- package/dist/magma-components/p-8964a9fe.entry.js +0 -1
- package/dist/magma-components/p-899cd759.entry.js +0 -1
- package/dist/magma-components/p-8RYXTPXs.js +0 -1
- package/dist/magma-components/p-8b2408b2.entry.js +0 -1
- package/dist/magma-components/p-8b9f6896.entry.js +0 -1
- package/dist/magma-components/p-8bde0c42.entry.js +0 -1
- package/dist/magma-components/p-8d5955ca.system.entry.js +0 -1
- package/dist/magma-components/p-91a1d3d5.entry.js +0 -1
- package/dist/magma-components/p-93538408.system.entry.js +0 -1
- package/dist/magma-components/p-94ff105b.system.entry.js +0 -1
- package/dist/magma-components/p-96f7ec63.entry.js +0 -1
- package/dist/magma-components/p-97144490.entry.js +0 -1
- package/dist/magma-components/p-999b0698.system.entry.js +0 -1
- package/dist/magma-components/p-9e533765.system.entry.js +0 -18
- package/dist/magma-components/p-BMAK4u5Y.system.js +0 -1
- package/dist/magma-components/p-Bh89IjzU.system.js +0 -1
- package/dist/magma-components/p-BudfaWhu.js +0 -1
- package/dist/magma-components/p-C1oxPa_J.js +0 -1
- package/dist/magma-components/p-CAd5312P.js +0 -2
- package/dist/magma-components/p-CJPnuGyH.system.js +0 -1
- package/dist/magma-components/p-DI5DWqw4.system.js +0 -2
- package/dist/magma-components/p-DTZViJWJ.system.js +0 -1
- package/dist/magma-components/p-DcKeJ0td.system.js +0 -6
- package/dist/magma-components/p-DssKRrAV.system.js +0 -1
- package/dist/magma-components/p-MSUJeuJp.js +0 -1
- package/dist/magma-components/p-a24d6d4a.system.entry.js +0 -1
- package/dist/magma-components/p-a24dadaa.system.entry.js +0 -1
- package/dist/magma-components/p-a2b84011.system.entry.js +0 -1
- package/dist/magma-components/p-a2d761d6.entry.js +0 -1
- package/dist/magma-components/p-a379adca.entry.js +0 -1
- package/dist/magma-components/p-a46f7424.system.entry.js +0 -1
- package/dist/magma-components/p-a47708f1.system.entry.js +0 -1
- package/dist/magma-components/p-a4d11055.system.entry.js +0 -1
- package/dist/magma-components/p-a4oAcjYG.js +0 -5
- package/dist/magma-components/p-a5ef9d32.entry.js +0 -18
- package/dist/magma-components/p-a6103622.entry.js +0 -1
- package/dist/magma-components/p-a6b8b861.entry.js +0 -1
- package/dist/magma-components/p-a6bdaa85.entry.js +0 -1
- package/dist/magma-components/p-a716833c.system.entry.js +0 -1
- package/dist/magma-components/p-a877906d.system.entry.js +0 -1
- package/dist/magma-components/p-a8a2d90e.system.entry.js +0 -1
- package/dist/magma-components/p-a92edada.entry.js +0 -1
- package/dist/magma-components/p-aafec5fe.entry.js +0 -1
- package/dist/magma-components/p-abce0c57.system.entry.js +0 -1
- package/dist/magma-components/p-ac2ee475.entry.js +0 -1
- package/dist/magma-components/p-ac5baffa.system.entry.js +0 -1
- package/dist/magma-components/p-ad1ad433.system.entry.js +0 -1
- package/dist/magma-components/p-ae433eb9.entry.js +0 -1
- package/dist/magma-components/p-afaef9a1.entry.js +0 -1
- package/dist/magma-components/p-b257222c.system.entry.js +0 -1
- package/dist/magma-components/p-b472ed3c.entry.js +0 -1
- package/dist/magma-components/p-b4fc19e9.entry.js +0 -1
- package/dist/magma-components/p-b53ef2c1.entry.js +0 -1
- package/dist/magma-components/p-b7dedc9f.entry.js +0 -1
- package/dist/magma-components/p-b97edfb5.entry.js +0 -1
- package/dist/magma-components/p-bc851caf.entry.js +0 -1
- package/dist/magma-components/p-bc8ef479.system.entry.js +0 -9
- package/dist/magma-components/p-bdc54840.system.entry.js +0 -1
- package/dist/magma-components/p-bf29ca5a.entry.js +0 -1
- package/dist/magma-components/p-bfc29d3b.system.entry.js +0 -1
- package/dist/magma-components/p-bff1e84c.system.entry.js +0 -1
- package/dist/magma-components/p-c01c49b6.entry.js +0 -1
- package/dist/magma-components/p-c0296d86.system.entry.js +0 -1
- package/dist/magma-components/p-c036f516.entry.js +0 -1
- package/dist/magma-components/p-c3d8aa52.entry.js +0 -1
- package/dist/magma-components/p-c4e7b103.system.entry.js +0 -1
- package/dist/magma-components/p-c7a0a746.system.entry.js +0 -1
- package/dist/magma-components/p-c92a772e.entry.js +0 -1
- package/dist/magma-components/p-ca09ab1d.system.entry.js +0 -1
- package/dist/magma-components/p-cc9212ce.system.entry.js +0 -1
- package/dist/magma-components/p-cc95225c.system.entry.js +0 -1
- package/dist/magma-components/p-cd49c455.entry.js +0 -1
- package/dist/magma-components/p-d0542487.entry.js +0 -1
- package/dist/magma-components/p-d0dfe659.entry.js +0 -1
- package/dist/magma-components/p-d0eb94ea.system.entry.js +0 -1
- package/dist/magma-components/p-d3e5c4eb.system.entry.js +0 -1
- package/dist/magma-components/p-d4295773.entry.js +0 -1
- package/dist/magma-components/p-d5700423.system.entry.js +0 -1
- package/dist/magma-components/p-d838cb1c.system.entry.js +0 -1
- package/dist/magma-components/p-d9605a5d.system.entry.js +0 -1
- package/dist/magma-components/p-daa8f835.entry.js +0 -1
- package/dist/magma-components/p-db4e2a0b.system.entry.js +0 -1
- package/dist/magma-components/p-de0dac8f.entry.js +0 -1
- package/dist/magma-components/p-de8204f9.entry.js +0 -1
- package/dist/magma-components/p-e0b841e3.entry.js +0 -1
- package/dist/magma-components/p-e35ab355.entry.js +0 -1
- package/dist/magma-components/p-e44e2652.system.entry.js +0 -1
- package/dist/magma-components/p-e48d23f4.system.entry.js +0 -1
- package/dist/magma-components/p-e570aec5.system.entry.js +0 -1
- package/dist/magma-components/p-e57698df.system.entry.js +0 -1
- package/dist/magma-components/p-e669739e.entry.js +0 -1
- package/dist/magma-components/p-e8fa7a07.entry.js +0 -1
- package/dist/magma-components/p-ea2c8dd1.entry.js +0 -1
- package/dist/magma-components/p-ea881c45.system.entry.js +0 -1
- package/dist/magma-components/p-ebfb6963.system.entry.js +0 -1
- package/dist/magma-components/p-eca8523b.system.entry.js +0 -1
- package/dist/magma-components/p-ef142420.system.entry.js +0 -1
- package/dist/magma-components/p-ef56af85.system.entry.js +0 -1
- package/dist/magma-components/p-f0762290.entry.js +0 -1
- package/dist/magma-components/p-f1832c1e.system.entry.js +0 -1
- package/dist/magma-components/p-f4b1974a.entry.js +0 -1
- package/dist/magma-components/p-f7cfc9a7.system.entry.js +0 -1
- package/dist/magma-components/p-f83a9e08.entry.js +0 -1
- package/dist/magma-components/p-f8ee5fec.system.entry.js +0 -1
- package/dist/magma-components/p-f91dab2b.entry.js +0 -1
- package/dist/magma-components/p-fMwnXhio.js +0 -1
- package/dist/magma-components/p-fa61d03c.entry.js +0 -1
- package/dist/magma-components/p-fbf423a7.system.entry.js +0 -1
- package/dist/magma-components/p-fbfb589c.entry.js +0 -1
- package/dist/magma-components/p-fc56d9ae.entry.js +0 -1
- package/dist/magma-components/p-fc862fe2.system.entry.js +0 -1
- package/dist/magma-components/p-fd574e21.entry.js +0 -1
- package/dist/magma-components/p-fd649ac2.entry.js +0 -1
- package/dist/magma-components/p-fed36619.entry.js +0 -1
- package/dist/magma-components/p-oCzRm29V.system.js +0 -1
- package/dist/magma-components/p-ttrRC6OE.js +0 -1
- package/dist/magma-components/p-vYOT2M2B.system.js +0 -1
- package/dist/types/components/mds-accordion/test/mds-accordion.stories.d.ts +0 -40
- package/dist/types/components/mds-accordion-item/test/mds-accordion-item.stories.d.ts +0 -41
- package/dist/types/components/mds-accordion-timer/test/mds-accordion-timer.stories.d.ts +0 -45
- package/dist/types/components/mds-accordion-timer-item/test/mds-accordion-timer-item.stories.d.ts +0 -67
- package/dist/types/components/mds-author/test/mds-author.stories.d.ts +0 -10
- package/dist/types/components/mds-avatar/test/mds-avatar.stories.d.ts +0 -82
- package/dist/types/components/mds-avatar-stack/test/mds-avatar-stack.stories.d.ts +0 -38
- package/dist/types/components/mds-avatar-stack-item/test/mds-avatar-stack-item.stories.d.ts +0 -71
- package/dist/types/components/mds-badge/test/mds-badge.stories.d.ts +0 -56
- package/dist/types/components/mds-banner/test/mds-banner.stories.d.ts +0 -115
- package/dist/types/components/mds-benchmark-bar/test/mds-benchmark-bar.stories.d.ts +0 -85
- package/dist/types/components/mds-bibliography/test/mds-bibliography.stories.d.ts +0 -129
- package/dist/types/components/mds-breadcrumb/test/mds-breadcrumb.stories.d.ts +0 -16
- package/dist/types/components/mds-breadcrumb-item/test/mds-breadcrumb-item.stories.d.ts +0 -26
- package/dist/types/components/mds-button/test/mds-button.stories.d.ts +0 -253
- package/dist/types/components/mds-button-dropdown/test/mds-button-dropdown.stories.d.ts +0 -104
- package/dist/types/components/mds-button-group/test/mds-button-group.stories.d.ts +0 -10
- package/dist/types/components/mds-calendar/test/mds-calendar.stories.d.ts +0 -23
- package/dist/types/components/mds-card/test/mds-card.stories.d.ts +0 -66
- package/dist/types/components/mds-chip/test/mds-chip.stories.d.ts +0 -121
- package/dist/types/components/mds-details/test/mds-details.stories.d.ts +0 -21
- package/dist/types/components/mds-dropdown/test/mds-dropdown.stories.d.ts +0 -275
- package/dist/types/components/mds-emoji/test/mds-emoji.stories.d.ts +0 -19
- package/dist/types/components/mds-entity/test/mds-entity.stories.d.ts +0 -84
- package/dist/types/components/mds-file/test/mds-file.stories.d.ts +0 -145
- package/dist/types/components/mds-file-preview/test/mds-file-preview.stories.d.ts +0 -157
- package/dist/types/components/mds-filter/test/mds-filter.stories.d.ts +0 -56
- package/dist/types/components/mds-filter-item/test/mds-filter-item.stories.d.ts +0 -43
- package/dist/types/components/mds-header/test/mds-header.stories.d.ts +0 -68
- package/dist/types/components/mds-header-bar/test/mds-header-bar.stories.d.ts +0 -23
- package/dist/types/components/mds-help/test/mds-help.stories.d.ts +0 -25
- package/dist/types/components/mds-horizontal-scroll/test/mds-horizontal-scroll.stories.d.ts +0 -57
- package/dist/types/components/mds-hr/test/mds-hr.stories.d.ts +0 -13
- package/dist/types/components/mds-icon/test/mds-icon.stories.d.ts +0 -55
- package/dist/types/components/mds-img/test/mds-img-accessibility.stories.d.ts +0 -93
- package/dist/types/components/mds-img/test/mds-img.stories.d.ts +0 -122
- package/dist/types/components/mds-input/test/mds-input.stories.d.ts +0 -332
- package/dist/types/components/mds-input-date/test/mds-input-date.stories.d.ts +0 -73
- package/dist/types/components/mds-input-date-range/test/mds-input-date-range.stories.d.ts +0 -70
- package/dist/types/components/mds-input-field/test/mds-input-field.stories.d.ts +0 -86
- package/dist/types/components/mds-input-otp/test/mds-input-otp.stories.d.ts +0 -36
- package/dist/types/components/mds-input-range/test/mds-input-range.stories.d.ts +0 -75
- package/dist/types/components/mds-input-select/test/mds-input-select.stories.d.ts +0 -105
- package/dist/types/components/mds-input-switch/test/mds-input-switch.stories.d.ts +0 -195
- package/dist/types/components/mds-input-tip/test/mds-input-tip.stories.d.ts +0 -22
- package/dist/types/components/mds-input-tip-item/test/mds-input-tip.stories.d.ts +0 -22
- package/dist/types/components/mds-input-upload/test/mds-input-upload.stories.d.ts +0 -55
- package/dist/types/components/mds-keyboard/test/mds-keyboard.stories.d.ts +0 -27
- package/dist/types/components/mds-keyboard-key/test/mds-keyboard-key.stories.d.ts +0 -22
- package/dist/types/components/mds-kpi/test/mds-kpi.stories.d.ts +0 -26
- package/dist/types/components/mds-kpi-item/test/mds-kpi-item.stories.d.ts +0 -42
- package/dist/types/components/mds-label/test/mds-label.stories.d.ts +0 -86
- package/dist/types/components/mds-list/test/mds-list.stories.d.ts +0 -7
- package/dist/types/components/mds-list-item/test/mds-list-item.stories.d.ts +0 -38
- package/dist/types/components/mds-mention/test/mds-mention.stories.d.ts +0 -38
- package/dist/types/components/mds-modal/test/mds-modal.stories.d.ts +0 -156
- package/dist/types/components/mds-note/test/mds-note.stories.d.ts +0 -34
- package/dist/types/components/mds-notification/test/mds-notification.stories.d.ts +0 -68
- package/dist/types/components/mds-paginator/test/mds-paginator.stories.d.ts +0 -33
- package/dist/types/components/mds-policy-ai/test/mds-policy.stories.d.ts +0 -83
- package/dist/types/components/mds-pref/test/mds-pref.stories.d.ts +0 -29
- package/dist/types/components/mds-pref-animation/test/mds-pref-animation.stories.d.ts +0 -20
- package/dist/types/components/mds-pref-consumption/test/mds-pref-consumption.stories.d.ts +0 -20
- package/dist/types/components/mds-pref-contrast/test/mds-pref-contrast.stories.d.ts +0 -20
- package/dist/types/components/mds-pref-language/test/mds-pref-language.stories.d.ts +0 -20
- package/dist/types/components/mds-pref-theme/test/mds-pref-theme.stories.d.ts +0 -30
- package/dist/types/components/mds-pref-theme-variant/mds-pref-theme-variant.d.ts +0 -62
- package/dist/types/components/mds-pref-theme-variant/meta/dictionary.d.ts +0 -2
- package/dist/types/components/mds-pref-theme-variant/test/mds-pref-theme-variant.stories.d.ts +0 -30
- package/dist/types/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.d.ts +0 -35
- package/dist/types/components/mds-price-table/test/mds-price-table.stories.d.ts +0 -10
- package/dist/types/components/mds-price-table-features/test/mds-price-table-features.stories.d.ts +0 -10
- package/dist/types/components/mds-price-table-features-cell/test/mds-price-table-features-cell.stories.d.ts +0 -10
- package/dist/types/components/mds-price-table-header/test/mds-price-table-header.stories.d.ts +0 -7
- package/dist/types/components/mds-price-table-list/test/mds-price-table-list.stories.d.ts +0 -10
- package/dist/types/components/mds-progress/test/mds-progress.stories.d.ts +0 -89
- package/dist/types/components/mds-push-notification/test/mds-push-notification.stories.d.ts +0 -28
- package/dist/types/components/mds-push-notification-item/test/mds-push-notification-item.stories.d.ts +0 -210
- package/dist/types/components/mds-quote/test/mds-quote.stories.d.ts +0 -34
- package/dist/types/components/mds-radial-menu/test/mds-radial-menu.stories.d.ts +0 -123
- package/dist/types/components/mds-radial-menu-item/test/mds-radial-menu-item.stories.d.ts +0 -48
- package/dist/types/components/mds-radial-progress/test/mds-radial-progress.stories.d.ts +0 -68
- package/dist/types/components/mds-separator/test/mds-separator.stories.d.ts +0 -7
- package/dist/types/components/mds-spinner/test/mds-spinner.stories.d.ts +0 -21
- package/dist/types/components/mds-status-bar/test/mds-status-bar.stories.d.ts +0 -34
- package/dist/types/components/mds-stepper-bar/test/mds-stepper-bar.stories.d.ts +0 -45
- package/dist/types/components/mds-stepper-bar-item/test/mds-stepper-bar-item.stories.d.ts +0 -102
- package/dist/types/components/mds-tab/test/mds-tab.stories.d.ts +0 -111
- package/dist/types/components/mds-tab-bar/test/mds-tab-bar.stories.d.ts +0 -7
- package/dist/types/components/mds-tab-bar-item/test/mds-tab-bar-item.stories.d.ts +0 -25
- package/dist/types/components/mds-tab-item/test/mds-tab-item.stories.d.ts +0 -69
- package/dist/types/components/mds-table/test/mds-table.stories.d.ts +0 -63
- package/dist/types/components/mds-text/test/mds-text.stories.d.ts +0 -181
- package/dist/types/components/mds-toast/test/mds-toast.stories.d.ts +0 -59
- package/dist/types/components/mds-tooltip/test/mds-tooltip.stories.d.ts +0 -192
- package/dist/types/components/mds-tree/test/mds-tree-apk.stories.d.ts +0 -16
- package/dist/types/components/mds-tree/test/mds-tree.stories.d.ts +0 -86
- package/dist/types/components/mds-tree-item/test/mds-tree-item.stories.d.ts +0 -48
- package/dist/types/components/mds-url-view/test/mds-url-view.stories.d.ts +0 -63
- package/dist/types/components/mds-usage/test/mds-usage.stories.d.ts +0 -37
- package/dist/types/components/mds-video-wall/test/mds-video-wall.stories.d.ts +0 -119
- package/dist/types/components/mds-zero/test/mds-zero.stories.d.ts +0 -7
- package/dist/types/event-detail/theme-variant.d.ts +0 -5
- package/dist/types/storybook/box-shadows.stories.d.ts +0 -7
- package/dist/types/storybook/color-scale.stories.d.ts +0 -7
- package/dist/types/storybook/components-preview.stories.d.ts +0 -33
- package/dist/types/storybook/example-page.stories.d.ts +0 -7
- package/dist/types/storybook/fouc-hydrated.stories.d.ts +0 -7
- package/dist/types/storybook/input-form.stories.d.ts +0 -7
- package/dist/types/storybook/same-childrend-slot-names.stories.d.ts +0 -7
- package/dist/types/test/file.d.ts +0 -35
- package/dist/types/test/mock.d.ts +0 -2
- /package/dist/collection/{event-detail/theme-variant.js → components/mds-mention/meta/interface.js} +0 -0
- /package/dist/components/{broken-image.js → p-0FAG3rkw.js} +0 -0
- /package/dist/components/{horizontal-rule.js → p-BE8xuIpS.js} +0 -0
- /package/dist/components/{check-circle.js → p-BFhO-KUe.js} +0 -0
- /package/dist/components/{cancel.js → p-BJ8rpzfj.js} +0 -0
- /package/dist/components/{calendar-today.js → p-BVQMG7KJ.js} +0 -0
- /package/dist/components/{arrow-forward.js → p-Bd0uuNDE.js} +0 -0
- /package/dist/components/{keys.js → p-C4ckbXOl.js} +0 -0
- /package/dist/components/{panorama.js → p-CGFwoK_U.js} +0 -0
- /package/dist/components/{aria.js → p-CSCy6TMW.js} +0 -0
- /package/dist/components/{keyboard-arrow-up.js → p-Ccz0jCNB.js} +0 -0
- /package/dist/components/{clsx.js → p-ChV9xqsO.js} +0 -0
- /package/dist/components/{done.js → p-CvUz9jjh.js} +0 -0
- /package/dist/components/{remove.js → p-D17B058a.js} +0 -0
- /package/dist/components/{unit.js → p-D8eZRaSQ.js} +0 -0
- /package/dist/components/{keyboard-arrow-right.js → p-DFyAGAnn.js} +0 -0
- /package/dist/components/{keyboard-arrow-down.js → p-DiWN48aq.js} +0 -0
- /package/dist/components/{browser.js → p-Dje8Mggf.js} +0 -0
- /package/dist/components/{arrow-back.js → p-DnEUG7st.js} +0 -0
- /package/dist/components/{_commonjsHelpers.js → p-E-ZsRS8r.js} +0 -0
- /package/dist/components/{close.js → p-J-ikDhyq.js} +0 -0
- /package/dist/components/{settings.js → p-XQgkfNpn.js} +0 -0
- /package/dist/components/{circle.js → p-lZldSMeV.js} +0 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-DIiEV39g.js";import{c as cssDurationToMilliseconds}from"./unit-D8eZRaSQ.js";import{m as miBaselineSettings}from"./settings-XQgkfNpn.js";import{L as Locale}from"./locale-CbJbTW_c.js";import{i as isSafari}from"./browser-Dje8Mggf.js";import{p as preferenceStore}from"./preference-CKerJx2M.js";var miBaselineLightMode='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5s5-2.24 5-5s-2.24-5-5-5zM2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1zm18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1zM11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1zm0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1zM5.99 4.58a.996.996 0 0 0-1.41 0a.996.996 0 0 0 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41L5.99 4.58zm12.37 12.37a.996.996 0 0 0-1.41 0a.996.996 0 0 0 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0a.996.996 0 0 0 0-1.41l-1.06-1.06zm1.06-10.96a.996.996 0 0 0 0-1.41a.996.996 0 0 0-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06zM7.05 18.36a.996.996 0 0 0 0-1.41a.996.996 0 0 0-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06z"/></svg>';var miOutlineDarkMode='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M9.37 5.51A7.35 7.35 0 0 0 9.1 7.5c0 4.08 3.32 7.4 7.4 7.4c.68 0 1.35-.09 1.99-.27A7.014 7.014 0 0 1 12 19c-3.86 0-7-3.14-7-7c0-2.93 1.81-5.45 4.37-6.49zM12 3a9 9 0 1 0 9 9c0-.46-.04-.92-.1-1.36a5.389 5.389 0 0 1-4.4 2.26a5.403 5.403 0 0 1-3.14-9.8c-.44-.06-.9-.1-1.36-.1z"/></svg>';var miBaselineDarkMode='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 3a9 9 0 1 0 9 9c0-.46-.04-.92-.1-1.36a5.389 5.389 0 0 1-4.4 2.26a5.403 5.403 0 0 1-3.14-9.8c-.44-.06-.9-.1-1.36-.1z"/></svg>';var darkMode$3="Σκούρο";var label$3="Λειτουργία";var lightMode$3="Ανοιχτό{{#forced}} (επιβεβλημένο στο Safari){{/forced}}";var systemSettings$3="Με βάση το λειτουργικό σύστημα";var localeEl={darkMode:darkMode$3,label:label$3,lightMode:lightMode$3,systemSettings:systemSettings$3};var darkMode$2="Dark";var label$2="Mode";var lightMode$2="Light{{#forced}} (forced on Safari){{/forced}}";var systemSettings$2="Based on operating system";var localeEn={darkMode:darkMode$2,label:label$2,lightMode:lightMode$2,systemSettings:systemSettings$2};var darkMode$1="Oscura";var label$1="Modo";var lightMode$1="Clara{{#forced}} (forzada en Safari){{/forced}}";var systemSettings$1="Basado en el sistema operativo";var localeEs={darkMode:darkMode$1,label:label$1,lightMode:lightMode$1,systemSettings:systemSettings$1};var darkMode="Scura";var label="Modalità";var lightMode="Chiara{{#forced}} (forzata su Safari){{/forced}}";var systemSettings="Basato sul sistema operativo";var localeIt={darkMode:darkMode,label:label,lightMode:lightMode,systemSettings:systemSettings};var mdsPrefModeCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-tab,mds-tab-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-pref-mode-overlay-fadeout-duration:.2s;--mds-pref-mode-overlay-show-duration:.3s;--mds-pref-mode-overlay-z-index:var(--magma-theme-overlay-z-index,7000);display:grid;gap:calc(var(--spacing,.0025rem)*100)}.item{--mds-tab-item-default-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));flex-basis:0;flex-grow:1}.item--system{--mds-tab-item-selected-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))))}.item--light{--mds-tab-item-selected-color:rgb(var(--label-yellow-06,214 163 7))}.item--dark{--mds-tab-item-selected-color:rgb(var(--label-sky-06,47 182 243))}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .item--light{--mds-tab-item-selected-color:rgb(var(--label-yellow-03,112 85 4))}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .item--dark{--mds-tab-item-selected-color:rgb(var(--label-sky-03,8 94 133))}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-contrast]))) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-contrast]))) .item--light{--mds-tab-item-selected-color:rgb(var(--label-yellow-03,112 85 4))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-contrast]))) .item--dark{--mds-tab-item-selected-color:rgb(var(--label-sky-03,8 94 133))}}"};var MdsPrefMode=/** @class */function(){function e(e){var t=this;registerInstance(this,e);this.prefChangeEvent=createEvent(this,"mdsPrefChange",7);this.defaultMode="system";this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.localStorageAlias="mdsPrefMode";this.customPropertyAlias="--magma-pref-mode";this.overlayBackgroundVisible="rgb(var(--magma-surface-default))";this.overlayBackgroundHidden="rgb(var(--magma-surface-default) / 0)";this.cssOverlayShowDuration="300";this.cssOverlayFadeoutDuration="200";this.cssOverlayZIndex="6000";this.overlayId="mds-pref-mode-overlay";this.overlayShow=false;this.disabled=false;this.updateCSSCustomProps=function(){var e,s,a;if(typeof window==="undefined")return;var i=window.getComputedStyle(t.element);t.cssOverlayShowDuration=(e=i.getPropertyValue("--mds-pref-mode-overlay-show-duration"))!==null&&e!==void 0?e:"300";t.cssOverlayFadeoutDuration=(s=i.getPropertyValue("--mds-pref-mode-overlay-fadeout-duration"))!==null&&s!==void 0?s:"200";t.cssOverlayZIndex=(a=i.getPropertyValue("--mds-pref-mode-overlay-z-index"))!==null&&a!==void 0?a:"6000"};
|
|
2
|
+
/**
|
|
3
|
+
* Specifies the transition of switching from a mode to another one
|
|
4
|
+
*/this.transition="smooth";this.modes={dark:{selector:"pref-mode-dark",label:"darkMode"},system:{selector:"pref-mode-system",label:"systemSettings"},light:{selector:"pref-mode-light",label:"lightMode"}};this.setMode=function(e){t.prefChangeEvent.emit({preference:"mode"});t.mode=e;localStorage.setItem(t.localStorageAlias,t.mode);if(typeof document!=="undefined"){var s=document.querySelector("html");for(var a in t.modes){if({}.hasOwnProperty.call(t.modes,a)){s===null||s===void 0?void 0:s.classList.remove(t.modes[a].selector)}}s===null||s===void 0?void 0:s.classList.add(t.modes[e].selector);s===null||s===void 0?void 0:s.style.setProperty(t.customPropertyAlias,t.mode)}preferenceStore.state.mode=e};this.isDarkMode=function(){return window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches};this.getColorScheme=function(e){if(e!==undefined){if(e==="system"){return t.isDarkMode()?"dark":"light"}return e}if(t.mode==="system"){return t.isDarkMode()?"dark":"light"}return t.mode};this.instanceOverlay=function(){if(t.overlayEl==null){t.overlayEl=document.createElement("div");t.overlayEl.className=t.overlayId;t.overlayEl.style.inset="0";t.overlayEl.style.pointerEvents="none";t.overlayEl.style.position="fixed";t.overlayEl.style.transition="background-color ".concat(t.cssOverlayFadeoutDuration," ease-out");t.overlayEl.style.zIndex=t.cssOverlayZIndex}t.overlayEl.style.backgroundColor=t.overlayBackgroundHidden};this.attachFlashOverlayTransition=function(){t.overlayShow=true;t.instanceOverlay();t.overlayEl.style.backgroundColor=t.overlayBackgroundVisible;document.body.appendChild(t.overlayEl);clearTimeout(t.overlayTimer);t.overlayTimer=setTimeout((function(){t.overlayShow=false;t.detachOverlayTransition()}),cssDurationToMilliseconds(t.cssOverlayShowDuration))};this.attachSmoothOverlayTransition=function(e){t.overlayShow=true;t.instanceOverlay();document.body.appendChild(t.overlayEl);clearTimeout(t.overlaySmoothTimer);t.overlaySmoothTimer=setTimeout((function(){t.overlayEl.style.backgroundColor=t.overlayBackgroundVisible;clearTimeout(t.overlayTimer);t.overlayTimer=setTimeout((function(){t.setMode(e);clearTimeout(t.overlayTimer);t.overlayTimer=setTimeout((function(){t.overlayShow=false;t.detachOverlayTransition()}),cssDurationToMilliseconds(t.cssOverlayFadeoutDuration))}),cssDurationToMilliseconds(t.cssOverlayShowDuration))}),1)};this.isModeDisabled=function(e){if(t.disabled){return true}if(t.lockedScheme==="light"){return e==="dark"}if(t.lockedScheme==="dark"){return e==="light"}return false};this.changeMode=function(e){if(t.isModeDisabled(e)){return}var s=t.getColorScheme();var a=t.getColorScheme(e);if(s===a){t.setMode(e);return}switch(t.transition){case"none":t.setMode(e);break;case"flash":t.setMode(e);t.attachFlashOverlayTransition();break;case"smooth":t.attachSmoothOverlayTransition(e);break;default:t.setMode(e);break}};this.handleModeClick=function(e){return function(){if(t.overlayShow){return}t.changeMode(e)}}}e.prototype.componentWillRender=function(){var e,t;if(!isSafari()){this.setMode((t=(e=this.mode)!==null&&e!==void 0?e:localStorage.getItem(this.localStorageAlias))!==null&&t!==void 0?t:this.defaultMode);return}this.disabled=true;this.mode="light"};e.prototype.componentDidLoad=function(){this.updateCSSCustomProps()};e.prototype.modeChanged=function(e,t){if(e===t){return}this.setMode(e)};e.prototype.detachOverlayTransition=function(){var e=this;if(this.overlayEl==null){return}this.overlayEl.style.backgroundColor=this.overlayBackgroundHidden;clearTimeout(this.overlayTimer);this.overlayTimer=setTimeout((function(){e.overlayEl.remove()}),cssDurationToMilliseconds(this.cssOverlayFadeoutDuration))};e.prototype.render=function(){var e,t;return h(Host,{key:"93052dfea650c0b96b0818b6ded53b40b35c7490","pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("mds-text",{key:"b19e1fde7bdc84765cee7145dc6fdfd3c779339e",class:"info",typography:"caption"},h("b",{key:"5eae911ede8699c5b53d293ec195957e67a2716e"},this.t.get("label"))," ",this.disabled?this.t.get(this.modes[(e=this.mode)!==null&&e!==void 0?e:this.defaultMode].label,{forced:true}):this.t.get(this.modes[(t=this.mode)!==null&&t!==void 0?t:this.defaultMode].label,{forced:false})),h("mds-tab",{key:"6d7ad904ef9072c72502dcf0e49584b3784531f7",fill:true,size:this.size},h("mds-tab-item",{key:"410152bae335d83120e70f60339abe481106042d",disabled:this.isModeDisabled("light"),selected:this.mode==="light",onClick:this.handleModeClick("light"),class:"item item--light",icon:miBaselineLightMode,title:this.t.get(this.modes.light.label,{forced:false})}),h("mds-tab-item",{key:"ce522eddaeab3dec97e65d5b4ed0e7b31a8767c7",disabled:this.isModeDisabled("system"),selected:this.mode==="system",onClick:this.handleModeClick("system"),class:"item item--system",icon:miBaselineSettings,title:this.t.get(this.modes.system.label)}),h("mds-tab-item",{key:"67889e2b7d49ab1832cb1a874624d2c5896c8738",disabled:this.isModeDisabled("dark"),selected:this.mode==="dark",onClick:this.handleModeClick("dark"),class:"item item--dark",icon:this.mode==="dark"?miBaselineDarkMode:miOutlineDarkMode,title:this.t.get(this.modes.dark.label)})))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{mode:[{modeChanged:0}]}},enumerable:false,configurable:true});return e}();MdsPrefMode.style=mdsPrefModeCss();export{MdsPrefMode as mds_pref_mode};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import{r as registerInstance,d as createEvent,h,e as Host}from"./index-DIiEV39g.js";import{m as miBaselineCheckCircle}from"./check-circle-BFhO-KUe.js";import{m as miOutlineCircle}from"./circle-lZldSMeV.js";var mdsPrefThemeItemCss=function(){return'@layer reset,vendor,theme,base,components,utilities;:host{--mds-pref-theme-item-color-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));--mds-pref-theme-item-color-status-error:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-pref-theme-item-color-status-success:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-pref-theme-item-color-status-warning:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-pref-theme-item-color-variant-primary:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));display:flex}.label{align-items:center;display:flex;gap:calc(var(--spacing,.0025rem)*200)}.theme-preview{background-color:var(--mds-pref-theme-item-color-background,rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225)))));border-radius:var(--radius-md,12px);-webkit-box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15));box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15));box-sizing:border-box;display:inline-flex;flex-wrap:wrap;gap:calc(var(--spacing,.0025rem)*100);height:calc(var(--spacing,.0025rem)*600);margin:1px;padding:calc(var(--spacing,.0025rem)*100);width:calc(var(--spacing,.0025rem)*600)}.theme-color{background-color:var(--color-tone-neutral-09,rgb(var(--tone-neutral-09,225 225 225)));border-radius:var(--radius-lg,16px);height:calc(var(--spacing,.0025rem)*150);position:relative;width:calc(var(--spacing,.0025rem)*150)}.theme-color:after{border-radius:inherit;-webkit-box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15)) inset;box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15)) inset;content:"";display:flex;inset:0;position:absolute}.theme-color--variant-primary{background-color:var(--mds-pref-theme-item-color-variant-primary,rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)))))}.theme-color--status-success{background-color:var(--mds-pref-theme-item-color-status-success,rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57))))}.theme-color--status-warning{background-color:var(--mds-pref-theme-item-color-status-warning,rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0))))}.theme-color--status-error{background-color:var(--mds-pref-theme-item-color-status-error,rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65))))}'};var MdsPrefThemeItem=/** @class */function(){function e(e){var a=this;registerInstance(this,e);this.selectThemeEvent=createEvent(this,"mdsPrefThemeItemSelect",7);
|
|
2
|
+
/**
|
|
3
|
+
* Specifies the theme name
|
|
4
|
+
*/this.name="default";
|
|
5
|
+
/**
|
|
6
|
+
* Specifies the theme scheme which can be 'light', 'dark' or 'all'
|
|
7
|
+
*/this.scheme="all";
|
|
8
|
+
/**
|
|
9
|
+
* Specifies if the element is selected
|
|
10
|
+
*/this.selected=false;this.handleClick=function(){a.selectThemeEvent.emit({name:a.name,scheme:a.scheme})}}e.prototype.componentWillRender=function(){if(this.label===undefined||this.label===""){this.label=this.name.charAt(0).toUpperCase()+this.name.slice(1).replace(/-/g," ")}};e.prototype.render=function(){
|
|
11
|
+
// the item is an entry of the `menu` the mds-dropdown of the controller opens:
|
|
12
|
+
// without the role axe rejects it as a child of that menu (aria-required-children)
|
|
13
|
+
return h(Host,{key:"ec551ae30ccae450c5d414c0895025bed0dd170e",onClick:this.handleClick,role:"menuitem"},h("mds-button",{key:"30844b1044098c19553c4eca4295057f4a11c8da",icon:this.selected?miBaselineCheckCircle:miOutlineCircle,variant:"dark",tone:"text"},h("div",{key:"fa16e08a71bb62d516c9304a66fbf3a753fa5683",class:"label"},h("div",{key:"9fb479719afdb1ebc5059de1f243a33d7f45fcbd",class:"theme-preview"},h("div",{key:"1ea92220bd3422a2834845f2332d2e07d02e829f",class:"theme-color theme-color--variant-primary"}),h("div",{key:"9668014487ad4f523f20bed4711bd01d78667b69",class:"theme-color theme-color--status-success"}),h("div",{key:"a0db61833b779d3cd5aab5c9912b4c589ed48306",class:"theme-color theme-color--status-warning"}),h("div",{key:"33e01beea19854485d7780d92657f0c6ac89a6f5",class:"theme-color theme-color--status-error"})),this.label)))};return e}();MdsPrefThemeItem.style=mdsPrefThemeItemCss();export{MdsPrefThemeItem as mds_pref_theme_item};
|
|
@@ -1 +1,38 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,i,s){function r(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,a){function o(e){try{l(s.next(e))}catch(e){a(e)}}function n(e){try{l(s["throw"](e))}catch(e){a(e)}}function l(e){e.done?i(e.value):r(e.value).then(o,n)}l((s=s.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},s,r,a,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=n(0),o["throw"]=n(1),o["return"]=n(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function n(e){return function(t){return l([e,t])}}function l(n){if(s)throw new TypeError("Generator is already executing.");while(o&&(o=0,n[0]&&(i=0)),i)try{if(s=1,r&&(a=n[0]&2?r["return"]:n[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,n[1])).done)return a;if(r=0,a)n=[n[0]&2,a.value];switch(n[0]){case 0:case 1:a=n;break;case 4:i.label++;return{value:n[1],done:false};case 5:i.label++;r=n[1];n=[0];continue;case 7:n=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(n[0]===6||n[0]===2)){i=0;continue}if(n[0]===3&&(!a||n[1]>a[0]&&n[1]<a[3])){i.label=n[1];break}if(n[0]===6&&i.label<a[1]){i.label=a[1];a=n;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(n);break}if(a[2])i.ops.pop();i.trys.pop();continue}n=t.call(e,i)}catch(e){n=[6,e];r=0}finally{s=a=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-CAd5312P.js";import{c as cssDurationToMilliseconds}from"./unit-D8eZRaSQ.js";import{m as miBaselineSettings}from"./settings-XQgkfNpn.js";import{L as Locale}from"./locale-a4oAcjYG.js";import{i as isSafari}from"./browser-Dje8Mggf.js";import{s as subscribePreference}from"./preference-fMwnXhio.js";var miBaselineLightMode='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5s5-2.24 5-5s-2.24-5-5-5zM2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1zm18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1zM11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1zm0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1zM5.99 4.58a.996.996 0 0 0-1.41 0a.996.996 0 0 0 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41L5.99 4.58zm12.37 12.37a.996.996 0 0 0-1.41 0a.996.996 0 0 0 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0a.996.996 0 0 0 0-1.41l-1.06-1.06zm1.06-10.96a.996.996 0 0 0 0-1.41a.996.996 0 0 0-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06zM7.05 18.36a.996.996 0 0 0 0-1.41a.996.996 0 0 0-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06z"/></svg>';var miOutlineDarkMode='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M9.37 5.51A7.35 7.35 0 0 0 9.1 7.5c0 4.08 3.32 7.4 7.4 7.4c.68 0 1.35-.09 1.99-.27A7.014 7.014 0 0 1 12 19c-3.86 0-7-3.14-7-7c0-2.93 1.81-5.45 4.37-6.49zM12 3a9 9 0 1 0 9 9c0-.46-.04-.92-.1-1.36a5.389 5.389 0 0 1-4.4 2.26a5.403 5.403 0 0 1-3.14-9.8c-.44-.06-.9-.1-1.36-.1z"/></svg>';var miBaselineDarkMode='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 3a9 9 0 1 0 9 9c0-.46-.04-.92-.1-1.36a5.389 5.389 0 0 1-4.4 2.26a5.403 5.403 0 0 1-3.14-9.8c-.44-.06-.9-.1-1.36-.1z"/></svg>';var darkMode$3="Σκούρο";var label$3="Λειτουργία θέματος";var lightMode$3="Ανοιχτό{{#forced}} (επιβεβλημένο στο Safari){{/forced}}";var systemSettings$3="Με βάση το λειτουργικό σύστημα";var localeEl={darkMode:darkMode$3,label:label$3,lightMode:lightMode$3,systemSettings:systemSettings$3};var darkMode$2="Dark";var label$2="Theme mode";var lightMode$2="Light{{#forced}} (forced on Safari){{/forced}}";var systemSettings$2="Based on operating system";var localeEn={darkMode:darkMode$2,label:label$2,lightMode:lightMode$2,systemSettings:systemSettings$2};var darkMode$1="Oscura";var label$1="Modo de tema";var lightMode$1="Clara{{#forced}} (forzada en Safari){{/forced}}";var systemSettings$1="Basado en el sistema operativo";var localeEs={darkMode:darkMode$1,label:label$1,lightMode:lightMode$1,systemSettings:systemSettings$1};var darkMode="Scura";var label="Modalità tema";var lightMode="Chiara{{#forced}} (forzata su Safari){{/forced}}";var systemSettings="Basato sul sistema operativo";var localeIt={darkMode:darkMode,label:label,lightMode:lightMode,systemSettings:systemSettings};var mdsPrefThemeCss=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{--mds-pref-theme-overlay-fadeout-duration:.2s;--mds-pref-theme-overlay-show-duration:.3s;--mds-pref-theme-overlay-z-index:var(--magma-theme-overlay-z-index,6000)}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-tab,mds-tab-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --mds-pref-theme-overlay-fadeout-duration{syntax:"<time>";inherits:false;initial-value:.2s}@property --mds-pref-theme-overlay-show-duration{syntax:"<time>";inherits:false;initial-value:.3s}:host{--mds-pref-theme-overlay-fadeout-duration:.2s;--mds-pref-theme-overlay-show-duration:.3s;--mds-pref-theme-overlay-z-index:var(--magma-theme-overlay-z-index,6000);display:grid;gap:calc(var(--spacing,.0025rem)*100)}.item{--mds-tab-item-default-color:rgb(var(--tone-neutral-05,197 197 197));flex-basis:0;flex-grow:1}.item--system{--mds-tab-item-selected-color:rgb(var(--tone-neutral-03,233 233 233))}.item--light{--mds-tab-item-selected-color:rgb(var(--label-yellow-06,188 143 6))}.item--dark{--mds-tab-item-selected-color:rgb(var(--label-sky-06,13 158 224))}:host([pref-theme=dark]:not([pref-theme-scheme=light])) .item{--mds-tab-item-default-color:rgb(var(--tone-neutral-01,255 255 255))}:host([pref-theme=dark]:not([pref-theme-scheme=light])) .item--system{--mds-tab-item-selected-color:rgb(var(--tone-neutral-03,233 233 233))}:host([pref-theme=dark]:not([pref-theme-scheme=light])) .item--light{--mds-tab-item-selected-color:rgb(var(--label-yellow-03,251 224 142))}:host([pref-theme=dark]:not([pref-theme-scheme=light])) .item--dark{--mds-tab-item-selected-color:rgb(var(--label-sky-03,191 232 251))}@media (prefers-color-scheme:dark){:is(:host([pref-theme=system]:not([pref-theme-scheme=light])),:host(:not([pref-contrast]))) .item{--mds-tab-item-default-color:rgb(var(--tone-neutral-01,255 255 255))}:is(:host([pref-theme=system]:not([pref-theme-scheme=light])),:host(:not([pref-contrast]))) .item--system{--mds-tab-item-selected-color:rgb(var(--tone-neutral-03,233 233 233))}:is(:host([pref-theme=system]:not([pref-theme-scheme=light])),:host(:not([pref-contrast]))) .item--light{--mds-tab-item-selected-color:rgb(var(--label-yellow-03,251 224 142))}:is(:host([pref-theme=system]:not([pref-theme-scheme=light])),:host(:not([pref-contrast]))) .item--dark{--mds-tab-item-selected-color:rgb(var(--label-sky-03,191 232 251))}}'};var MdsPrefTheme=function(){function e(e){var t=this;registerInstance(this,e);this.prefChangeEvent=createEvent(this,"mdsPrefChange");this.defaultMode="system";this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.localStorageAlias="mdsPrefTheme";this.customPropertyAlias="--magma-pref-user-theme";this.overlayBackgroundVisible="rgb(var(--tone-neutral))";this.overlayBackgroundHidden="rgb(var(--tone-neutral) / 0)";this.cssOverlayShowDuration="300";this.cssOverlayFadeoutDuration="200";this.cssOverlayZIndex="6000";this.overlayId="mds-pref-theme-overlay";this.overlayShow=false;this.disabled=false;this.updateCSSCustomProps=function(){var e,i,s;if(typeof window==="undefined")return;var r=window.getComputedStyle(t.element);t.cssOverlayShowDuration=(e=r.getPropertyValue("--mds-pref-theme-overlay-show-duration"))!==null&&e!==void 0?e:"300";t.cssOverlayFadeoutDuration=(i=r.getPropertyValue("--mds-pref-theme-overlay-fadeout-duration"))!==null&&i!==void 0?i:"200";t.cssOverlayZIndex=(s=r.getPropertyValue("--mds-pref-theme-overlay-z-index"))!==null&&s!==void 0?s:"6000"};this.transition="smooth";this.theme={dark:{selector:"pref-theme-dark",label:"darkMode"},system:{selector:"pref-theme-system",label:"systemSettings"},light:{selector:"pref-theme-light",label:"lightMode"}};this.setTheme=function(e){t.prefChangeEvent.emit({preference:"theme-mode"});t.mode=e;localStorage.setItem(t.localStorageAlias,t.mode);if(typeof document!=="undefined"){var i=document.querySelector("html");for(var s in t.theme){if({}.hasOwnProperty.call(t.theme,s)){i===null||i===void 0?void 0:i.classList.remove(t.theme[s].selector)}}i===null||i===void 0?void 0:i.classList.add(t.theme[e].selector);i===null||i===void 0?void 0:i.style.setProperty(t.customPropertyAlias,t.mode)}};this.isDarkMode=function(){return window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches};this.getColorScheme=function(e){if(e!==undefined){if(e==="system"){return t.isDarkMode()?"dark":"light"}return e}if(t.mode==="system"){return t.isDarkMode()?"dark":"light"}return t.mode};this.instanceOverlay=function(){if(t.overlayEl==null){t.overlayEl=document.createElement("div");t.overlayEl.className=t.overlayId;t.overlayEl.style.inset="0";t.overlayEl.style.pointerEvents="none";t.overlayEl.style.position="fixed";t.overlayEl.style.transition="background-color ".concat(t.cssOverlayFadeoutDuration," ease-out");t.overlayEl.style.zIndex=t.cssOverlayZIndex}t.overlayEl.style.backgroundColor=t.overlayBackgroundHidden};this.attachFlashOverlayTransition=function(){t.overlayShow=true;t.instanceOverlay();t.overlayEl.style.backgroundColor=t.overlayBackgroundVisible;document.body.appendChild(t.overlayEl);clearTimeout(t.overlayTimer);t.overlayTimer=setTimeout((function(){t.overlayShow=false;t.detachOverlayTransition()}),cssDurationToMilliseconds(t.cssOverlayShowDuration))};this.attachSmoothOverlayTransition=function(e){t.overlayShow=true;t.instanceOverlay();document.body.appendChild(t.overlayEl);clearTimeout(t.overlaySmoothTimer);t.overlaySmoothTimer=setTimeout((function(){t.overlayEl.style.backgroundColor=t.overlayBackgroundVisible;clearTimeout(t.overlayTimer);t.overlayTimer=setTimeout((function(){t.setTheme(e);clearTimeout(t.overlayTimer);t.overlayTimer=setTimeout((function(){t.overlayShow=false;t.detachOverlayTransition()}),cssDurationToMilliseconds(t.cssOverlayFadeoutDuration))}),cssDurationToMilliseconds(t.cssOverlayShowDuration))}),1)};this.changeTheme=function(e){if(t.disabled){return}var i=t.getColorScheme();var s=t.getColorScheme(e);if(i===s){t.setTheme(e);return}switch(t.transition){case"none":t.setTheme(e);break;case"flash":t.setTheme(e);t.attachFlashOverlayTransition();break;case"smooth":t.attachSmoothOverlayTransition(e);break;default:t.setTheme(e);break}};this.handleModeClick=function(e){return function(){if(t.overlayShow){return}t.changeTheme(e)}}}e.prototype.updateLang=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.language=this.t.lang(this.element);return[2]}))}))};e.prototype.componentWillRender=function(){var e,t;this.t.lang(this.element);if(!isSafari()){this.setTheme((t=(e=this.mode)!==null&&e!==void 0?e:localStorage.getItem(this.localStorageAlias))!==null&&t!==void 0?t:this.defaultMode);return}this.disabled=true;this.mode="light"};e.prototype.componentDidLoad=function(){this.updateCSSCustomProps()};e.prototype.modeChanged=function(e,t){if(e===t){return}this.setTheme(e)};e.prototype.detachOverlayTransition=function(){var e=this;if(this.overlayEl==null){return}this.overlayEl.style.backgroundColor=this.overlayBackgroundHidden;clearTimeout(this.overlayTimer);this.overlayTimer=setTimeout((function(){e.overlayEl.remove()}),cssDurationToMilliseconds(this.cssOverlayFadeoutDuration))};e.prototype.connectedCallback=function(){var e=this;this.unsubscribePrefContrast=subscribePreference("contrast",(function(t){e.prefContrast=t}));this.unsubscribePrefTheme=subscribePreference("theme",(function(t){e.prefTheme=t}));this.unsubscribePrefThemeScheme=subscribePreference("theme-scheme",(function(t){e.prefThemeScheme=t}))};e.prototype.disconnectedCallback=function(){var e,t,i;(e=this.unsubscribePrefContrast)===null||e===void 0?void 0:e.call(this);(t=this.unsubscribePrefTheme)===null||t===void 0?void 0:t.call(this);(i=this.unsubscribePrefThemeScheme)===null||i===void 0?void 0:i.call(this)};e.prototype.render=function(){var e,t;return h(Host,{key:"7280b0d7c2ad7329e4170fc9a039575086debf30","pref-contrast":this.prefContrast,"pref-theme":this.prefTheme,"pref-theme-scheme":this.prefThemeScheme},h("mds-text",{key:"db45fd3a2e56c6f4cb6e9a8c2f7305aae9ea891e",class:"info",typography:"caption"},h("b",{key:"2b94106cf9f48d0dd17010d3202d4a115cf98915"},this.t.get("label"))," ",this.disabled?this.t.get(this.theme[(e=this.mode)!==null&&e!==void 0?e:this.defaultMode].label,{forced:true}):this.t.get(this.theme[(t=this.mode)!==null&&t!==void 0?t:this.defaultMode].label,{forced:false})),h("mds-tab",{key:"cd9873a00095c71a5ff81f38dae8d685ad37a6f0",fill:true,size:this.size},h("mds-tab-item",{key:"a85d3c5f6b9be4adb37638e45a5d75536e3dd442",disabled:this.disabled,selected:this.mode==="light",onClick:this.handleModeClick("light"),class:"item item--light",icon:miBaselineLightMode}),h("mds-tab-item",{key:"713173f22fceff76de9f6751bd0a753f68aac8c7",disabled:this.disabled,selected:this.mode==="system",onClick:this.handleModeClick("system"),class:"item item--system",icon:miBaselineSettings}),h("mds-tab-item",{key:"766dbe686e2fd8609ec3a1a6716d4c428bc1391e",disabled:this.disabled,selected:this.mode==="dark",onClick:this.handleModeClick("dark"),class:"item item--dark",icon:this.mode==="dark"?miBaselineDarkMode:miOutlineDarkMode})))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{mode:[{modeChanged:0}]}},enumerable:false,configurable:true});return e}();MdsPrefTheme.style=mdsPrefThemeCss();export{MdsPrefTheme as mds_pref_theme};
|
|
1
|
+
var __spreadArray=this&&this.__spreadArray||function(e,t,a){if(a||arguments.length===2)for(var r=0,i=t.length,o;r<i;r++){if(o||!(r in t)){if(!o)o=Array.prototype.slice.call(t,0,r);o[r]=t[r]}}return e.concat(o||Array.prototype.slice.call(t))};import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-DIiEV39g.js";import{L as Locale}from"./locale-CbJbTW_c.js";import{M as MODE_VALUES,p as preferenceStore}from"./preference-CKerJx2M.js";import{m as miBaselineKeyboardArrowDown}from"./keyboard-arrow-down-DiWN48aq.js";import{m as miBaselineKeyboardArrowUp}from"./keyboard-arrow-up-Ccz0jCNB.js";var preferenceCornerShapeType=["bevel","notch","round","scoop","square","squircle"];
|
|
2
|
+
/**
|
|
3
|
+
* What a user can pick for the corner axis: a shape, or `default`.
|
|
4
|
+
*
|
|
5
|
+
* `default` is not a shape, it is the ABSENCE of a deviation - whatever the
|
|
6
|
+
* stylesheet currently ships. It exists so choosing the shape that happens to be
|
|
7
|
+
* today's default removes the attribute instead of freezing that default into
|
|
8
|
+
* the consumer's markup, which would keep a later change of default from
|
|
9
|
+
* reaching anybody who never chose.
|
|
10
|
+
*/var preferenceCornerShapeChoiceType=__spreadArray(__spreadArray([],preferenceCornerShapeType,true),["default"],false);var label$3="Θέμα";var localeEl={label:label$3};var label$2="Theme";var localeEn={label:label$2};var label$1="Tema";var localeEs={label:label$1};var label="Tema";var localeIt={label:label};var mdsPrefThemeCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-dropdown,mds-tab,mds-tab-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*400)}.mds-pref-theme-dropdown{gap:calc(var(--spacing,.0025rem)*100);padding:calc(var(--spacing,.0025rem)*400)}.item{--mds-tab-item-default-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));flex-basis:0;flex-grow:1}.item--theme{cursor:pointer}.item--auto,.item--theme{--mds-tab-item-selected-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))))}"};var MdsPrefTheme=/** @class */function(){function e(e){var t=this;registerInstance(this,e);this.themeChangeEvent=createEvent(this,"mdsPrefThemeChange",7);this.prefChangeEvent=createEvent(this,"mdsPrefChange",7);this.showDropdown=false;this.localStorageAliasThemeName="mdsPrefTheme";this.localStorageAliasThemeScheme="mdsPrefThemeScheme";this.localStorageAliasCornerShape="mdsPrefCornerShape";this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.clasNameThemeNamePrefix="pref-theme-";this.previousName=null;this.customPropertyAliasThemeScheme="--magma-pref-theme-scheme";this.customPropertyAliasThemeName="--magma-pref-theme";this.schemeSet={light:"pref-theme-scheme-light",dark:"pref-theme-scheme-dark",all:"pref-theme-scheme-all"};
|
|
11
|
+
/**
|
|
12
|
+
* Specifies the theme name attribute
|
|
13
|
+
* A string representing the theme name, should be a simple string name or kebab kase name.
|
|
14
|
+
* `Examples of valid language codes include "magma", "maggioli-editore", etc.`
|
|
15
|
+
*/this.name="default";
|
|
16
|
+
/**
|
|
17
|
+
* Specifies the theme scheme which can be 'light', 'dark' or 'all'
|
|
18
|
+
* Default is 'all' which means this theme supporto both light and dark.
|
|
19
|
+
* If you set 'light' means this theme support only light mode and will be forced and shown light colors mode only.
|
|
20
|
+
*/this.scheme="all";this.toggleDropdown=function(){t.showDropdown=!t.showDropdown};this.hideThemeDropdownSelect=function(){t.showDropdown=false};this.changeThemeItem=function(){t.themeItems.forEach((function(e){e.selected=false}))};this.checkThemeSelect=function(){t.themeItems=t.element.querySelectorAll("mds-pref-theme-item");t.themeItems.forEach((function(e){e.addEventListener("mdsPrefThemeItemSelect",(function(e){t.changeThemeItem();t.currentSelectedItem=e.currentTarget;t.currentSelectedItem.selected=true;var a=e.detail.name.toLowerCase();var r=e.detail.scheme.toLowerCase();t.themeChangeEvent.emit({name:a,scheme:r});t.showDropdown=false;t.setTheme(a,r)}))}));t.themeItems.forEach((function(e){e.selected=e.name===t.name}))};this.setTheme=function(e,a){if(!/^[a-z]+(-[a-z]+)*$/gm.exec(e)){throw Error("Theme name not valid: ".concat(e))}
|
|
21
|
+
// A mode value would be taken for a v1 mode by the storage migration, and a
|
|
22
|
+
// `scheme` name would write a `pref-theme-scheme-*` class of the scheme axis.
|
|
23
|
+
if(MODE_VALUES.includes(e)||e==="scheme"||e.startsWith("scheme-")){throw Error("Theme name reserved: ".concat(e))}t.name=e;t.scheme=a;t.prefChangeEvent.emit({preference:"theme"});localStorage.setItem(t.localStorageAliasThemeName,t.name);localStorage.setItem(t.localStorageAliasThemeScheme,t.scheme);if(typeof document!=="undefined"){var r=document.querySelector("html");
|
|
24
|
+
// cleanup previeous selection
|
|
25
|
+
for(var i in t.schemeSet){if({}.hasOwnProperty.call(t.schemeSet,i)){r===null||r===void 0?void 0:r.classList.remove(t.schemeSet[i])}}if(t.previousName!==null&&t.previousName!==""){r===null||r===void 0?void 0:r.classList.remove(t.clasNameThemeNamePrefix+t.previousName)}
|
|
26
|
+
// set new selection
|
|
27
|
+
r===null||r===void 0?void 0:r.setAttribute("data-theme-name",t.name);r===null||r===void 0?void 0:r.classList.add(t.schemeSet[t.scheme]);r===null||r===void 0?void 0:r.classList.add(t.clasNameThemeNamePrefix+t.name);r===null||r===void 0?void 0:r.style.setProperty(t.customPropertyAliasThemeName,t.name);r===null||r===void 0?void 0:r.style.setProperty(t.customPropertyAliasThemeScheme,t.scheme);t.previousName=t.name}preferenceStore.state["theme-scheme"]=t.scheme};
|
|
28
|
+
/**
|
|
29
|
+
* Apply a corner choice, or do nothing at all when there is none: an unset prop
|
|
30
|
+
* with nothing in storage must leave the page exactly as the stylesheet ships
|
|
31
|
+
* it.
|
|
32
|
+
*
|
|
33
|
+
* Note the one place this deliberately does NOT follow `setTheme`:
|
|
34
|
+
* `data-theme-name` is always written, `default` included, which is harmless
|
|
35
|
+
* only because no CSS block defines a theme called `default`. Here the default
|
|
36
|
+
* IS a live block, so writing it would freeze today's default into the
|
|
37
|
+
* consumer's page - `default` removes the attribute instead.
|
|
38
|
+
*/this.setCornerShape=function(e){if(e===undefined||e===null){return}if(!preferenceCornerShapeChoiceType.includes(e)){throw Error("Corner shape not valid: ".concat(e))}t.cornerShape=e;t.prefChangeEvent.emit({preference:"corner-shape"});localStorage.setItem(t.localStorageAliasCornerShape,e);if(typeof document!=="undefined"){var a=document.querySelector("html");if(e==="default"){a===null||a===void 0?void 0:a.removeAttribute("data-corner-shape")}else{a===null||a===void 0?void 0:a.setAttribute("data-corner-shape",e)}}preferenceStore.state["corner-shape"]=e==="default"?undefined:e}}e.prototype.componentDidLoad=function(){this.checkThemeSelect()};e.prototype.componentWillRender=function(){var e,t,a;this.userThemeName=localStorage.getItem(this.localStorageAliasThemeName);this.userThemeScheme=localStorage.getItem(this.localStorageAliasThemeScheme);this.setTheme((e=this.userThemeName)!==null&&e!==void 0?e:this.name,(t=this.userThemeScheme)!==null&&t!==void 0?t:this.scheme);this.userCornerShape=localStorage.getItem(this.localStorageAliasCornerShape);this.setCornerShape((a=this.userCornerShape)!==null&&a!==void 0?a:this.cornerShape)};e.prototype.render=function(){return h(Host,{key:"a987a2b4933078d3452f78dc04744e9d9885092c"},h("div",{key:"4c439a804622caae8194d846b5480ac29bb5251d",class:"menu"},h("mds-text",{key:"7e623faaab3bb6658baeb122e47c890fd85447ca",class:"info",typography:"caption"},h("b",{key:"2ff9690158e739206c6537deab6d35e09278f0ba"},this.t.get("label"))),h("mds-tab",{key:"fa84137e83f74c4a971d0996b34f08231d1a389e",fill:true,size:this.size},h("mds-tab-item",{key:"2ab9c8235ffd1c30c71bee6c7a4f4f26d8d4edb1",selected:true,onClick:this.toggleDropdown,expanded:this.showDropdown,id:"mds-pref-theme-nav",class:"item item--theme","icon-position":"right",icon:this.showDropdown?miBaselineKeyboardArrowUp:miBaselineKeyboardArrowDown,label:this.name}))),h("mds-dropdown",{key:"e8a39c2158e253c3da5ee64156f499545b1ecd79",class:"mds-pref-theme-dropdown",target:"#mds-pref-theme-nav",interaction:"none",visible:this.showDropdown,onMdsDropdownHide:this.hideThemeDropdownSelect},h("slot",{key:"03d9ede427f0fca46ba54e46cdb625855910e421"})))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsPrefTheme.style=mdsPrefThemeCss();export{MdsPrefTheme as mds_pref_theme};
|
|
@@ -1 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import{r as registerInstance,h,e as Host,g as getElement}from"./index-DIiEV39g.js";import{L as Locale}from"./locale-CbJbTW_c.js";import"./preference-CKerJx2M.js";var reloadPageToSeeChanges$3="Πρέπει να ανανεώσετε τη σελίδα για να δείτε όλες τις αλλαγές, διαφορετικά θα είναι ορατές μόνο για τα πρόσφατα μεταφορτωμένα στοιχεία.";var localeEl={reloadPageToSeeChanges:reloadPageToSeeChanges$3};var reloadPageToSeeChanges$2="You must refresh the page to see all changes, or they will only be visible for new items uploaded.";var localeEn={reloadPageToSeeChanges:reloadPageToSeeChanges$2};var reloadPageToSeeChanges$1="Es necesario actualizar la página para ver todos los cambios, o solo serán visibles para los nuevos elementos cargados.";var localeEs={reloadPageToSeeChanges:reloadPageToSeeChanges$1};var reloadPageToSeeChanges="È necessario aggiornare la pagina per vedere tutti i cambiamenti, oppure saranno visibili solo per i nuovi elementi caricati.";var localeIt={reloadPageToSeeChanges:reloadPageToSeeChanges};var mdsPrefCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*400)}:host(:empty),:host([controller]){display:none}.reload-required{display:grid;gap:calc(var(--spacing,.0025rem)*200)}"};var MdsPref=/** @class */function(){function e(e){var a=this;registerInstance(this,e);this.showReload=false;this.prefNeedsReload=["consumption","language"];this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.addPerfEvents=function(){a.addEvent(a.host.querySelector("mds-pref-consumption"));a.addEvent(a.host.querySelector("mds-pref-contrast"));a.addEvent(a.host.querySelector("mds-pref-language"));a.addEvent(a.host.querySelector("mds-pref-mode"));a.addEvent(a.host.querySelector("mds-pref-theme"))};this.removePerfEvents=function(){a.removeEvent(a.host.querySelector("mds-pref-consumption"));a.removeEvent(a.host.querySelector("mds-pref-contrast"));a.removeEvent(a.host.querySelector("mds-pref-language"));a.removeEvent(a.host.querySelector("mds-pref-mode"));a.removeEvent(a.host.querySelector("mds-pref-theme"))};this.handlePrefChangeEvent=function(e){if(a.prefNeedsReload.includes(e.detail.preference)){a.showReload=true}};this.addEvent=function(e){if(!e)return;e.addEventListener("mdsPrefChange",a.handlePrefChangeEvent.bind(a))};this.removeEvent=function(e){if(!e)return;e.removeEventListener("mdsPrefChange",a.handlePrefChangeEvent.bind(a))};this.handleThemeChangeEvent=function(e){var r=e.detail;a.applySchemeLock(r===null||r===void 0?void 0:r.scheme)};this.addThemeEvent=function(e){if(!e)return;e.addEventListener("mdsPrefThemeChange",a.handleThemeChangeEvent)};this.removeThemeEvent=function(e){if(!e)return;e.removeEventListener("mdsPrefThemeChange",a.handleThemeChangeEvent)};
|
|
2
|
+
/**
|
|
3
|
+
* Cross-lane coordination: a scheme-constrained theme locks the matching mode
|
|
4
|
+
* item in `mds-pref-mode`. This is a UI concern only - it never writes the
|
|
5
|
+
* stored mode preference, which the theme's `scheme` overrides at render time.
|
|
6
|
+
*/this.applySchemeLock=function(e){var r=a.host.querySelector("mds-pref-mode");if(!r)return;r.lockedScheme=e==="light"||e==="dark"?e:undefined};this.applyInitialSchemeLock=function(){var e=a.host.querySelector("mds-pref-theme");a.applySchemeLock(e===null||e===void 0?void 0:e.scheme)}}e.prototype.handleControllerChange=function(e){if(e===false){this.controller=undefined}};e.prototype.handleSizeChange=function(e){var a=Array.from(this.host.querySelectorAll("*"));var r=a.filter((function(e){return e.tagName.toLowerCase().startsWith("mds-pref-")}));r.forEach((function(a){a.size=e}))};e.prototype.componentDidLoad=function(){var e;if(typeof window!=="undefined"){(e=document.documentElement)===null||e===void 0?void 0:e.setAttribute("data-magma-pref","")}if(this.controller){this.addPerfEvents()}
|
|
7
|
+
// The lock coordination drives the visible-mode UI (the controller mode is
|
|
8
|
+
// hidden via CSS), so it is wired regardless of the controller prop.
|
|
9
|
+
this.addThemeEvent(this.host.querySelector("mds-pref-theme"));this.applyInitialSchemeLock()};e.prototype.disconnectedCallback=function(){var e;if(typeof window!=="undefined"){(e=document.documentElement)===null||e===void 0?void 0:e.removeAttribute("data-magma-pref")}this.removePerfEvents();this.removeThemeEvent(this.host.querySelector("mds-pref-theme"))};e.prototype.render=function(){return h(Host,{key:"75bd4a024ef7e6fbf97a1bcb90f5927423959565"},h("slot",{key:"68400b48511b1089063665c6b33331629207135f"}),this.showReload&&h("div",{key:"d07255c793b3f93c42b6c86e972416651d13a701",class:"reload-required"},h("mds-text",{key:"d19ea1765dea329590fa7d7a81186f3d4775106b",typography:"caption"},this.t.get("reloadPageToSeeChanges"))))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{controller:[{handleControllerChange:0}],size:[{handleSizeChange:0}]}},enumerable:false,configurable:true});return e}();MdsPref.style=mdsPrefCss();export{MdsPref as mds_pref};
|
|
@@ -1 +1,4 @@
|
|
|
1
|
-
import{r as registerInstance,h,
|
|
1
|
+
import{r as registerInstance,h,e as Host}from"./index-DIiEV39g.js";import{p as preferenceStore}from"./preference-CKerJx2M.js";import{m as miBaselineCheckCircle}from"./check-circle-BFhO-KUe.js";import{m as miBaselineHorizontalRule}from"./horizontal-rule-BE8xuIpS.js";var mdsPriceTableFeaturesCellCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-price-table-features-cell-padding:var(--mds-price-table-features-padding,calc(var(--spacing,.0025rem)*300));--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-06,34 195 93));--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-06,34 195 93));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-price-table-features-cell-icon-unsupported-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-price-table-features-cell-border-color:rgb(var(--magma-border-muted,var(--magma-tint-border-muted,var(--border-neutral-muted,219 219 219))));--mds-price-table-features-cell-transition-duration:var(--duration-200,.2s);--private-price-table-features-cell-transition-duration:var(--mds-price-table-features-cell-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-bottom:1px solid var(--mds-price-table-features-cell-border-color,rgb(var(--magma-border-muted,var(--magma-tint-border-muted,var(--border-neutral-muted,219 219 219)))));display:table-cell;padding:var(--mds-price-table-features-cell-padding,calc(var(--spacing,.0025rem)*300));-webkit-transition-duration:var(--private-price-table-features-cell-transition-duration);transition-duration:var(--private-price-table-features-cell-transition-duration);transition-property:border-color,transform;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));vertical-align:top}.icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}.icon{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));display:flex;fill:var(--icon-fill-color,currentColor);height:calc(var(--spacing,.0025rem)*600);-webkit-transition-duration:var(--private-price-table-features-cell-transition-duration);transition-duration:var(--private-price-table-features-cell-transition-duration);transition-property:fill;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));width:calc(var(--spacing,.0025rem)*600)}.icon--supported{--icon-fill-color:var(--mds-price-table-features-cell-icon-supported-color,rgb(var(--label-green-06,34 195 93)))}.icon--unsupported{--icon-fill-color:var(--mds-price-table-features-cell-icon-unsupported-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-price-table-features-cell-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-03,18 103 49));--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-02,14 80 38));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))))}:host([pref-contrast=more]){--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-01,9 52 25));--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-02,14 80 38));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-price-table-features-cell-icon-unsupported-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-price-table-features-cell-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-03,18 103 49));--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-02,14 80 38));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-01,9 52 25));--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-02,14 80 38));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-price-table-features-cell-icon-unsupported-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}'};var MdsPriceTableFeaturesCell=/** @class */function(){function e(e){registerInstance(this,e);
|
|
2
|
+
/**
|
|
3
|
+
* Specifies the support type which is represented
|
|
4
|
+
*/this.type="text"}e.prototype.render=function(){return h(Host,{key:"6672e980cb96c65971d4bfa8fe61ee6043f0fc09","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},this.type==="supported"&&h("i",{key:"3bbfede28639b01f1f06620e6295ed0007c3c8dd",class:"icon icon--supported",innerHTML:miBaselineCheckCircle,part:"icon"}),this.type==="unsupported"&&h("i",{key:"f465be7d986b13a119a8a43c880e2789c3e03304",class:"icon icon--unsupported",innerHTML:miBaselineHorizontalRule,part:"icon"}),this.type==="text"&&h("mds-text",{key:"00b63cc837f7abd6b394f41fe0c066287c7d7755",part:"text",typography:"detail"},h("slot",{key:"279f5010a519b0adbe2aa4f84275ec7cd590a42c"})),this.type==="custom"&&h("slot",{key:"aba0dd7e32e62baafe4f2eb78bebf3a12bdfe2c5"}),this.type==="label"&&h("slot",{key:"5571dff3f60a05d615f8b75c5e883def96ab20df"}))};return e}();MdsPriceTableFeaturesCell.style=mdsPriceTableFeaturesCellCss();export{MdsPriceTableFeaturesCell as mds_price_table_features_cell};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as registerInstance,h,
|
|
1
|
+
import{r as registerInstance,h,e as Host,g as getElement}from"./index-DIiEV39g.js";import{p as preferenceStore}from"./preference-CKerJx2M.js";var mdsPriceTableFeaturesRowCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-price-table-features-cell:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-price-table-features-row-background:#0000;--mds-price-table-features-row-background-hover:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));--mds-price-table-features-row-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-price-table-features-row-color-hover:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-price-table-features-row-transition-duration:var(--duration-200,.2s);--private-price-table-features-row-transition-duration:var(--mds-price-table-features-row-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-price-table-features-row-background,#0000);color:var(--mds-price-table-features-row-color,rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99)))));display:table-row;-webkit-transition-duration:var(--private-price-table-features-row-transition-duration);transition-duration:var(--private-price-table-features-row-transition-duration);transition-property:background-color,color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host(:hover){--mds-price-table-features-row-background:var(--mds-price-table-features-row-background-hover,rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237)))));--mds-price-table-features-row-color:var(--mds-price-table-features-row-color-hover,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))))}:host(:hover)>::slotted(mds-price-table-features-cell){--mds-price-table-features-cell-icon-supported-color:var(--mds-price-table-features-cell-icon-supported-color-hover);--mds-price-table-features-cell-icon-unsupported-color:var(--mds-price-table-features-cell-icon-unsupported-color-hover)}:host>::slotted([type=label]){padding-left:0}:host(:hover)>::slotted([type=label]){-webkit-transform:translate(calc(var(--spacing,.0025rem)*200));transform:translate(calc(var(--spacing,.0025rem)*200))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-price-table-features-row-transition-duration:0s}:host([pref-contrast=more]){--mds-price-table-features-row-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-price-table-features-row-color-hover:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-price-table-features-row-background-hover:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-price-table-features-row-transition-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-price-table-features-row-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-price-table-features-row-color-hover:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-price-table-features-row-background-hover:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))))}}'};var MdsPriceTableFeaturesRow=/** @class */function(){function e(e){registerInstance(this,e)}e.prototype.componentWillRender=function(){var e=this;this.horizontalCells=this.host.querySelectorAll("mds-price-table-features-cell");this.cellPercWidth=Number(100/this.horizontalCells.length).toFixed(4)+"%";this.horizontalCells.forEach((function(t){t.style.width=e.cellPercWidth}))};e.prototype.render=function(){return h(Host,{key:"fc7e157e50d8f86dfa97670a825d77b112c2cbaa","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("slot",{key:"355d8418d3d7af7955096db0760ab3579e71cd21"}))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsPriceTableFeaturesRow.style=mdsPriceTableFeaturesRowCss();export{MdsPriceTableFeaturesRow as mds_price_table_features_row};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as registerInstance,h,
|
|
1
|
+
import{r as registerInstance,h,e as Host}from"./index-DIiEV39g.js";import{p as preferenceStore}from"./preference-CKerJx2M.js";var mdsPriceTableFeaturesCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host{--mds-price-table-features-border-color:rgb(var(--magma-border-muted,var(--magma-tint-border-muted,var(--border-neutral-muted,219 219 219))));--mds-price-table-features-padding:calc(var(--spacing,.0025rem)*300);--mds-price-table-features-transition-duration:var(--duration-200,.2s);--private-price-table-features-transition-duration:var(--mds-price-table-features-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));display:flex;-webkit-transition-duration:var(--private-price-table-features-transition-duration);transition-duration:var(--private-price-table-features-transition-duration);transition-property:border-color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));width:100%}.table-wrapper{scroll-margin-inline:calc(var(--spacing,.0025rem)*600);width:100%}table{border-collapse:collapse;min-width:100%;table-layout:fixed}header{border-bottom:1px solid var(--mds-price-table-features-border-color,rgb(var(--magma-border-muted,var(--magma-tint-border-muted,var(--border-neutral-muted,219 219 219)))));padding:var(--mds-price-table-features-padding) var(--mds-price-table-features-padding) var(--mds-price-table-features-padding) 0}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-price-table-features-transition-duration:0s}:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-price-table-features-transition-duration:0s}}'};var MdsPriceTableFeatures=/** @class */function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,{key:"4cea40f8e29d671ebd61fba34cb9a7edb7517b3b","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("div",{key:"7e8b20fafe83f27b3c7d031e8875c0e254e3c82c",class:"table-wrapper"},this.label&&h("header",{key:"7ff3827ecf98976e0f73a8c1dbefc55aa0ec21b1",part:"header"},h("mds-text",{key:"e5f383837d852c48ffd2fdc9555b667cc4822f2f",typography:"detail"},h("b",{key:"0df39a3221f8a463a3d677a89d429d5f3b9f1827"},this.label))),h("table",{key:"6ff8b551d1ac18d48bbf4c98c86a30e057f56b33"},h("tbody",{key:"3daa55e6d546ebffe8695b35340536b73338045c"},h("slot",{key:"6dc5df72184166bd4b444801466f8decbe7db006"})))))};return e}();MdsPriceTableFeatures.style=mdsPriceTableFeaturesCss();export{MdsPriceTableFeatures as mds_price_table_features};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as registerInstance,h,
|
|
1
|
+
import{r as registerInstance,h,e as Host}from"./index-DIiEV39g.js";var mdsPriceTableHeaderCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-price-table-list:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*600);grid-template-columns:repeat(auto-fit,minmax(1px,1fr))}"};var MdsPriceTableHeader=/** @class */function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,{key:"cb5a7e40673f0304f0ed00cae9f93753bc848717"},h("slot",{key:"7bbefb79891067cf911dd2d0042e269e2e14bbbc"}))};return e}();MdsPriceTableHeader.style=mdsPriceTableHeaderCss();export{MdsPriceTableHeader as mds_price_table_header};
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
import{r as registerInstance,h,
|
|
1
|
+
import{r as registerInstance,h,e as Host}from"./index-DIiEV39g.js";import{m as miBaselineCheckCircle}from"./check-circle-BFhO-KUe.js";import{m as miBaselineHorizontalRule}from"./horizontal-rule-BE8xuIpS.js";var mdsPriceTableListItemCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-price-table-list-item-supported-icon-color-hover:rgb(var(--label-green-05,26 148 71));--mds-price-table-list-item-supported-icon-color:rgb(var(--label-green-06,34 195 93));--mds-price-table-list-item-unsupported-icon-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));align-items:flex-start;display:flex;gap:calc(var(--spacing,.0025rem)*100)}.text{flex-grow:1}.icon-container{flex-shrink:0}.icon{display:flex;--tw-ease:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));fill:var(--mds-price-table-list-item-unsupported-icon-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))));height:calc(var(--spacing,.0025rem)*600);-webkit-transition-duration:var(--duration-500,.5s);transition-duration:var(--duration-500,.5s);transition-property:fill;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:calc(var(--spacing,.0025rem)*600)}.icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}:host([supported]:not([supported=false])) .icon{fill:var(--mds-price-table-list-item-supported-icon-color,rgb(var(--label-green-06,34 195 93)))}@property --tw-ease{syntax:"*";inherits:false}'};var MdsPriceTableListItem=/** @class */function(){function e(e){registerInstance(this,e);
|
|
2
|
+
/**
|
|
3
|
+
* Specifies if the feature is supported or not
|
|
4
|
+
*/this.supported=false;
|
|
5
|
+
/**
|
|
6
|
+
* Specifies if the feature is supported or not
|
|
7
|
+
*/this.typography="detail"}e.prototype.render=function(){return h(Host,{key:"9f970a01728c3729c604119a3f9e8ba520754ee9",slot:"item"},h("mds-text",{key:"07f98b7344b20804848c534460eaa84fa3d9c402",class:"icon-container",typography:this.typography},this.supported?h("i",{class:"icon",innerHTML:miBaselineCheckCircle,part:"icon"}):h("i",{class:"icon",innerHTML:miBaselineHorizontalRule,part:"icon"})),h("mds-text",{key:"992dc84f0b8fd8ed025e971c3537ce98b675985a",class:"text",typography:this.typography},h("slot",{key:"ff21af191088a6f5555002508e1ef6bf71f61aaf"})))};return e}();MdsPriceTableListItem.style=mdsPriceTableListItemCss();export{MdsPriceTableListItem as mds_price_table_list_item};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as registerInstance,h,
|
|
1
|
+
import{r as registerInstance,h,e as Host,g as getElement}from"./index-DIiEV39g.js";import{p as preferenceStore}from"./preference-CKerJx2M.js";var mdsPriceTableListCss=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-separator:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-price-table-list-separator-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))/.5);--mds-price-table-list-transition-duration:var(--duration-200,.2s);--private-price-table-list-transition-duration:var(--mds-price-table-list-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:rgb(var(--label-green-10,206 247 221));border-radius:var(--radius-xl,20px);display:grid;gap:calc(var(--spacing,.0025rem)*600);padding:calc(var(--spacing,.0025rem)*600);-webkit-transition-duration:var(--private-price-table-list-transition-duration);transition-duration:var(--private-price-table-list-transition-duration);transition-property:background-color,color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.separator{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-price-table-list-separator-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))/.5));-webkit-transition-duration:var(--private-price-table-list-transition-duration);transition-duration:var(--private-price-table-list-transition-duration);transition-property:background-color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.header,.main{display:grid}.main{gap:calc(var(--spacing,.0025rem)*300)}.footer{display:grid;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-price-table-list-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))/.5);background-color:rgb(var(--label-green-09,165 240 193));-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))/.5);-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-price-table-list-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))/.5);background-color:rgb(var(--label-green-09,165 240 193));-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))/.5);-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}'};var MdsPriceTableList=/** @class */function(){function t(t){registerInstance(this,t)}t.prototype.componentWillLoad=function(){this.hasItems=this.hostElement.querySelectorAll('[slot="item"], mds-price-table-list-item').length>0};t.prototype.render=function(){return h(Host,{key:"8f6c18b0be237134b286ba1faa692c4fa31155dc","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("div",{key:"06ba4d154016b4c30b425d6009c225ecedbfa3f4",class:"header",part:"header"},h("slot",{key:"d50c50297f94298059944dd3a38786dd51756deb",name:"header"})),this.hasItems&&h("mds-separator",{key:"036b691220ae29cb33594cc9c0e872dced72d91c",class:"separator"}),this.hasItems&&h("main",{key:"5b2c708505362b90a26e3865dab3801464c18d1a",class:"main",part:"content"},h("slot",{key:"e322ccf035d2f735cb831ec7f535fa24c9601bc6",name:"item"})),h("div",{key:"30dc745b260d5634d831da707ed81d7edff6dada",class:"footer",part:"footer"},h("slot",{key:"0aa70ea54972d949a7a8f5153a10efdb76a3554d",name:"price"}),h("slot",{key:"d4e804ba15e8f1b63d1d60e14a3e05520f85734d",name:"action"})))};Object.defineProperty(t.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();MdsPriceTableList.style=mdsPriceTableListCss();export{MdsPriceTableList as mds_price_table_list};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as registerInstance,h,
|
|
1
|
+
import{r as registerInstance,h,e as Host}from"./index-DIiEV39g.js";var mdsPriceTableCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-price-table-features,mds-price-table-header,mds-price-table-list):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*600)}"};var MdsPriceTable=/** @class */function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,{key:"e4da51ef603eedd6790e360ded6fba0bef194887"},h("slot",{key:"5e97c1ecdbfe5a322283f41a9b65af0179be8559"}))};return e}();MdsPriceTable.style=mdsPriceTableCss();export{MdsPriceTable as mds_price_table};
|
|
@@ -1 +1,32 @@
|
|
|
1
|
-
import{r as registerInstance,h,H as Host,g as getElement}from"./index-CAd5312P.js";import{r as removeAttributesIf,i as ifAttribute}from"./aria-CSCy6TMW.js";import{s as subscribePreference}from"./preference-fMwnXhio.js";var mdsProgressCss=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{--mds-progress-background:rgb(var(--tone-neutral-08,107 107 107));--mds-progress-color:rgb(var(--variant-primary-03,211 226 255));--mds-progress-duration:.75s;--mds-progress-radius:var(--radius-lg,16px);--mds-progress-thickness:var(--height-200);--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}@property --mds-progress-duration{syntax:"<time>";inherits:false;initial-value:.75s}:host{--mds-progress-background:rgb(var(--tone-neutral-08,107 107 107));--mds-progress-color:rgb(var(--variant-primary-03,211 226 255));--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:var(--height-200);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-progress-background,rgb(var(--tone-neutral-08,107 107 107)));border-radius:var(--radius-2xl,24px);transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));corner-shape:var(--magma-corner-shape,round);display:flex;height:var(--mds-progress-thickness,var(--height-200));min-height:var(--mds-progress-thickness,var(--height-200));min-width:var(--mds-progress-thickness,var(--height-200));overflow:hidden;position:relative;-webkit-transition-duration:var(--private-progress-transition-duration);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,var(--height-200));width:var(--mds-progress-thickness,var(--height-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(--variant-primary-03,211 226 255)));border-radius:inherit;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));corner-shape:inherit;-webkit-transition-duration:var(--private-progress-duration);transition-duration:var(--private-progress-duration);transition-property:background-color,flex-grow,-ms-flex-positive}:host([variant=dark]){--mds-progress-color:rgb(var(--tone-neutral-03,233 233 233));--mds-progress-background:rgb(var(--tone-neutral-10,60 60 60))}:host([variant=light]){--mds-progress-color:rgb(var(--tone-neutral,0 0 0));--mds-progress-background:rgb(var(--tone-neutral-05,197 197 197))}:host([variant=error]){--mds-progress-color:rgb(var(--status-error-05,250 165 160));--mds-progress-background:rgb(var(--status-error-09,135 0 14))}:host([variant=warning]){--mds-progress-color:rgb(var(--status-warning-05,237 177 0));--mds-progress-background:rgb(var(--status-warning-09,90 67 0))}:host([variant=success]){--mds-progress-color:rgb(var(--status-success-05,107 206 147));--mds-progress-background:rgb(var(--status-success-09,0 82 9))}:host([variant=info]){--mds-progress-color:rgb(var(--status-info-05,112 198 234));--mds-progress-background:rgb(var(--status-info-09,0 73 116))}:host([variant=primary]){--mds-progress-color:rgb(var(--variant-primary-03,211 226 255));--mds-progress-background:rgb(var(--tone-neutral-08,107 107 107))}:host([variant=ai]){--mds-progress-color:rgb(var(--variant-ai-05,202 174 251));--mds-progress-background:rgb(var(--variant-ai-09,75 8 189))}: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]){--private-progress-duration:0s;--private-progress-transition-duration:0s}:host([pref-theme=dark]:not([pref-theme-scheme=light])),:host([pref-theme=dark]:not([pref-theme-scheme=light])):host([variant=primary]){--mds-progress-color:rgb(var(--variant-primary-05,152 188 255));--mds-progress-background:rgb(var(--tone-neutral-07,134 134 134))}:host([pref-theme=dark]:not([pref-theme-scheme=light])):host([variant=error]){--mds-progress-color:rgb(var(--status-error-04,254 193 189));--mds-progress-background:rgb(var(--status-error-07,212 80 79))}:host([pref-theme=dark]:not([pref-theme-scheme=light])):host([variant=warning]){--mds-progress-color:rgb(var(--status-warning-04,255 200 33));--mds-progress-background:rgb(var(--status-warning-07,159 120 0))}:host([pref-theme=dark]:not([pref-theme-scheme=light])):host([variant=success]){--mds-progress-color:rgb(var(--status-success-04,158 222 181));--mds-progress-background:rgb(var(--status-success-07,0 144 72))}:host([pref-theme=dark]:not([pref-theme-scheme=light])):host([variant=info]){--mds-progress-color:rgb(var(--status-info-04,159 216 241));--mds-progress-background:rgb(var(--status-info-07,0 134 180))}:host([pref-contrast=more]),:host([pref-contrast=more]):host([variant=primary]){--mds-progress-color:rgb(var(--variant-primary-05,152 188 255));--mds-progress-background:rgb(var(--tone-neutral-07,134 134 134))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){: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-theme])),:host([pref-theme=system]:not([pref-theme-scheme=light])),:is(:host([pref-theme=system]:not([pref-theme-scheme=light])),:host(:not([pref-theme]))):host([variant=primary]){--mds-progress-color:rgb(var(--variant-primary-05,152 188 255));--mds-progress-background:rgb(var(--tone-neutral-07,134 134 134))}:is(:host([pref-theme=system]:not([pref-theme-scheme=light])),:host(:not([pref-theme]))):host([variant=error]){--mds-progress-color:rgb(var(--status-error-04,254 193 189));--mds-progress-background:rgb(var(--status-error-07,212 80 79))}:is(:host([pref-theme=system]:not([pref-theme-scheme=light])),:host(:not([pref-theme]))):host([variant=warning]){--mds-progress-color:rgb(var(--status-warning-04,255 200 33));--mds-progress-background:rgb(var(--status-warning-07,159 120 0))}:is(:host([pref-theme=system]:not([pref-theme-scheme=light])),:host(:not([pref-theme]))):host([variant=success]){--mds-progress-color:rgb(var(--status-success-04,158 222 181));--mds-progress-background:rgb(var(--status-success-07,0 144 72))}:is(:host([pref-theme=system]:not([pref-theme-scheme=light])),:host(:not([pref-theme]))):host([variant=info]){--mds-progress-color:rgb(var(--status-info-04,159 216 241));--mds-progress-background:rgb(var(--status-info-07,0 134 180))}}@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(--variant-primary-05,152 188 255));--mds-progress-background:rgb(var(--tone-neutral-07,134 134 134))}}'};var MdsProgress=function(){function r(r){registerInstance(this,r);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"}r.prototype.connectedCallback=function(){var r=this;this.unsubscribePrefAnimation=subscribePreference("animation",(function(s){r.prefAnimation=s}));this.unsubscribePrefContrast=subscribePreference("contrast",(function(s){r.prefContrast=s}));this.unsubscribePrefTheme=subscribePreference("theme",(function(s){r.prefTheme=s}));this.unsubscribePrefThemeScheme=subscribePreference("theme-scheme",(function(s){r.prefThemeScheme=s}))};r.prototype.disconnectedCallback=function(){var r,s,a,t;(r=this.unsubscribePrefAnimation)===null||r===void 0?void 0:r.call(this);(s=this.unsubscribePrefContrast)===null||s===void 0?void 0:s.call(this);(a=this.unsubscribePrefTheme)===null||a===void 0?void 0:a.call(this);(t=this.unsubscribePrefThemeScheme)===null||t===void 0?void 0:t.call(this)};r.prototype.componentWillLoad=function(){this.stepsList=this.steps.split(",");this.setProgress(this.progress)};r.prototype.componentDidLoad=function(){removeAttributesIf(this.element,"aria-hidden","true",["aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","role"])};r.prototype.setProgress=function(r){if(this.steps!==""){this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))];if(!ifAttribute(this.element,"aria-hidden")){this.element.setAttribute("aria-valuetext",this.currentStep)}}};r.prototype.progressChanged=function(r){this.setProgress(r)};r.prototype.stepsChanged=function(r){this.stepsList=r.split(",")};r.prototype.render=function(){return h(Host,{key:"0ab0f8e5741890ca0270ee8b3e898cfa6b128966","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":!ifAttribute(this.element,"aria-hidden")&&Math.round(this.progress*100),role:"progressbar","pref-animation":this.prefAnimation,"pref-contrast":this.prefContrast,"pref-theme":this.prefTheme,"pref-theme-scheme":this.prefThemeScheme},this.direction==="radial"?h("mds-radial-progress",{progress:this.progress,part:"radial-progress",typography:this.typography,variant:this.variant}):h("div",{class:"progress",part:"progress",style:this.direction==="horizontal"?{flexGrow:"".concat(this.progress)}:{flexGrow:"".concat(this.progress),width:"100%"}}))};Object.defineProperty(r.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{progress:[{progressChanged:0}],steps:[{stepsChanged:0}]}},enumerable:false,configurable:true});return r}();MdsProgress.style=mdsProgressCss();var mdsRadialProgressCss=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{--mds-radial-progress:0%}}}: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}@property --mds-radial-progress{syntax:"<length-percentage>";inherits:false;initial-value:0%}:host{--mds-radial-progress-background:rgb(var(--tone-neutral-09,76 76 76));--mds-radial-progress-color:rgb(var(--variant-primary-03,211 226 255));--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(--tone-neutral,0 0 0));--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:3.40282e+38px;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;-webkit-box-shadow:var(--mds-radial-progress-text-background-shadow);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]){--mds-radial-progress-color:rgb(var(--variant-primary-03,211 226 255));--mds-radial-progress-background:rgb(var(--tone-neutral-09,76 76 76))}:host([variant=secondary]){--mds-radial-progress-color:rgb(var(--variant-secondary-03,215 226 252));--mds-radial-progress-background:rgb(var(--tone-neutral-09,76 76 76))}:host([variant=ai]){--mds-radial-progress-color:rgb(var(--variant-ai-04,218 199 253));--mds-radial-progress-background:rgb(var(--variant-ai-09,75 8 189))}:host([variant=error]){--mds-radial-progress-color:rgb(var(--status-error-05,250 165 160));--mds-radial-progress-background:rgb(var(--status-error-09,135 0 14))}:host([variant=warning]){--mds-radial-progress-color:rgb(var(--status-warning-05,237 177 0));--mds-radial-progress-background:rgb(var(--status-warning-09,90 67 0))}:host([variant=success]){--mds-radial-progress-color:rgb(var(--status-success-05,107 206 147));--mds-radial-progress-background:rgb(var(--status-success-09,0 82 9))}:host([variant=info]){--mds-radial-progress-color:rgb(var(--status-info-05,112 198 234));--mds-radial-progress-background:rgb(var(--status-info-09,0 73 116))}:host([variant=light]){--mds-radial-progress-color:rgb(var(--tone-neutral-03,233 233 233));--mds-radial-progress-background:rgb(var(--tone-neutral-09,76 76 76))}:host([variant=dark]){--mds-radial-progress-color:rgb(var(--tone-neutral-09,76 76 76));--mds-radial-progress-background:rgb(var(--tone-neutral-02,244 244 244));--mds-radial-progress-text-background:rgb(var(--tone-neutral-04,218 218 218));color:rgb(var(--tone-neutral,0 0 0))}'};var MdsRadialProgress=function(){function r(r){var s=this;registerInstance(this,r);this.progress=0;this.animatedProgress=0;this.rafId=null;this.typography="option";this.variant="primary";this.progressPercentage=function(r){return"".concat(Math.round(r*100))};this.clampProgress=function(r){return Math.min(1,Math.max(0,r))};this.prefersReducedMotion=function(){var r,s;return typeof window!=="undefined"&&((s=(r=window.matchMedia)===null||r===void 0?void 0:r.call(window,"(prefers-reduced-motion: reduce)"))===null||s===void 0?void 0:s.matches)===true};this.easeOutExpo=function(r){return r===1?1:1-Math.pow(2,-10*r)};this.stopAnimation=function(){if(s.rafId!==null){cancelAnimationFrame(s.rafId);s.rafId=null}};this.animateTo=function(r){var a=s.clampProgress(r);var t=s.animatedProgress;s.stopAnimation();if(s.prefersReducedMotion()){s.animatedProgress=a;return}var e=500;var o=performance.now();var i=function(r){var n=Math.min(1,(r-o)/e);var d=s.easeOutExpo(n);s.animatedProgress=t+(a-t)*d;if(n<1)s.rafId=requestAnimationFrame(i);else s.rafId=null};s.rafId=requestAnimationFrame(i)}}r.prototype.componentWillLoad=function(){this.animatedProgress=this.clampProgress(this.progress)};r.prototype.disconnectedCallback=function(){this.stopAnimation()};r.prototype.onProgressChange=function(r){this.animateTo(r)};r.prototype.render=function(){var r="".concat((this.animatedProgress*100).toFixed(2),"%");var s=this.progressPercentage(this.clampProgress(this.progress));return h(Host,{key:"83881b4057b76db8a56eff2185522ab7394f11aa",style:{"--mds-radial-progress":r},role:"progressbar"},h("div",{key:"f21da1d993decfa5cd242186559f2c25c0209030",class:"value-container",part:"value-container"},this.icon&&h("mds-icon",{key:"1f53b8c170ae2657ae097e4207e32b75ce91cf91",class:"icon",name:this.icon,part:"icon"}),h("div",{key:"7f5b4e719ccb8c484c633b2cfc07cb02f90b14f0",class:"value-container__text"},h("mds-text",{key:"2a379a399770d3a0dac5dc5bf88fcda83ff9ad43",class:"value",typography:this.typography},s))))};Object.defineProperty(r,"watchers",{get:function(){return{progress:[{onProgressChange:0}]}},enumerable:false,configurable:true});return r}();MdsRadialProgress.style=mdsRadialProgressCss();export{MdsProgress as mds_progress,MdsRadialProgress as mds_radial_progress};
|
|
1
|
+
import{r as registerInstance,h,e as Host,g as getElement}from"./index-DIiEV39g.js";import{r as removeAttributesIf,i as ifAttribute}from"./aria-CSCy6TMW.js";import{p as preferenceStore,a as prefersReducedMotion}from"./preference-CKerJx2M.js";var mdsProgressCss=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))){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(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-progress-color:rgb(var(--magma-accent-fg,var(--magma-tint-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(--magma-tint-scale-08,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;-webkit-transition-duration:var(--private-progress-transition-duration);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(--magma-tint-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;-webkit-transition-duration:var(--private-progress-duration);transition-duration:var(--private-progress-duration);transition-property:background-color,flex-grow,-ms-flex-positive}:host([variant=dark]){--mds-progress-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));--mds-progress-background:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))))}:host([variant=light]){--mds-progress-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-progress-background:rgb(var(--magma-surface-inverse-muted,var(--magma-tint-scale-03,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(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--mds-progress-background:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))))}:host([variant=ai]){--mds-progress-color:rgb(var(--magma-accent-ai-fg,var(--magma-tint-accent-ai-fg,var(--variant-ai-03,87 20 242))));--mds-progress-background:rgb(var(--magma-accent-ai-surface,var(--magma-tint-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(--magma-tint-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(--magma-tint-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(--magma-tint-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(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))))}}'};var MdsProgress=/** @class */function(){function r(r){registerInstance(this,r);this.stepsList=new Array;
|
|
2
|
+
/**
|
|
3
|
+
* A value between 0 and 1 that rapresents the status progress
|
|
4
|
+
*/this.progress=0;
|
|
5
|
+
/**
|
|
6
|
+
* Specifies the direction of the progress bar, if horizonatl or vertical
|
|
7
|
+
*/this.direction="horizontal";
|
|
8
|
+
/**
|
|
9
|
+
* Sets the theme variant colors
|
|
10
|
+
*/this.variant="primary";
|
|
11
|
+
/**
|
|
12
|
+
* The typography of the component
|
|
13
|
+
*/this.typography="option";
|
|
14
|
+
/**
|
|
15
|
+
* Sets the size of the component
|
|
16
|
+
*/this.size="sm";
|
|
17
|
+
/**
|
|
18
|
+
* Sets the steps that can be pronounced by accessibility technologies
|
|
19
|
+
*/this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}r.prototype.componentWillLoad=function(){this.stepsList=this.steps.split(",");this.setProgress(this.progress)};r.prototype.componentDidLoad=function(){removeAttributesIf(this.element,"aria-hidden","true",["aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","role"])};r.prototype.setProgress=function(r){if(this.steps!==""){this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))];if(!ifAttribute(this.element,"aria-hidden")){this.element.setAttribute("aria-valuetext",this.currentStep)}}};r.prototype.progressChanged=function(r){this.setProgress(r)};r.prototype.stepsChanged=function(r){this.stepsList=r.split(",")};r.prototype.render=function(){return h(Host,{key:"4ca4d52eabbe9fd5f275c45127eb698d96d3c255","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":!ifAttribute(this.element,"aria-hidden")&&Math.round(this.progress*100),role:"progressbar","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},this.direction==="radial"?h("mds-radial-progress",{"aria-hidden":"true",progress:this.progress,part:"radial-progress",typography:this.typography,variant:this.variant}):h("div",{class:"progress",part:"progress",style:this.direction==="horizontal"?{flexGrow:"".concat(this.progress)}:{flexGrow:"".concat(this.progress),width:"100%"}}))};Object.defineProperty(r.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{progress:[{progressChanged:0}],steps:[{stepsChanged:0}]}},enumerable:false,configurable:true});return r}();MdsProgress.style=mdsProgressCss();var mdsRadialProgressCss=function(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-tooltip):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-radial-progress-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));--mds-radial-progress-color:rgb(var(--magma-accent-fg,var(--magma-tint-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(--magma-tint-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;-webkit-box-shadow:var(--mds-radial-progress-text-background-shadow);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(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--mds-radial-progress-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))))}:host([variant=ai]){--mds-radial-progress-color:rgb(var(--magma-accent-ai-emphasis,var(--magma-tint-accent-ai-emphasis,var(--variant-ai-04,126 73 245))));--mds-radial-progress-background:rgb(var(--magma-accent-ai-surface,var(--magma-tint-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(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));--mds-radial-progress-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))))}:host([variant=dark]){--mds-radial-progress-color:rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-radial-progress-background:rgb(var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42))));--mds-radial-progress-text-background:rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))/.15);color:rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}'};var MdsRadialProgress=/** @class */function(){function r(r){var a=this;registerInstance(this,r);
|
|
20
|
+
/**
|
|
21
|
+
* A value between 0 and 1 that rapresents the status progress
|
|
22
|
+
*/this.progress=0;this.animatedProgress=0;this.rafId=null;
|
|
23
|
+
/**
|
|
24
|
+
* The typography of the component
|
|
25
|
+
*/this.typography="option";
|
|
26
|
+
/**
|
|
27
|
+
* Sets the theme variant colors
|
|
28
|
+
*/this.variant="primary";
|
|
29
|
+
/**
|
|
30
|
+
* Returns the displayed progress percentage
|
|
31
|
+
* @returns {string} The progress percentage
|
|
32
|
+
*/this.progressPercentage=function(r){return"".concat(Math.round(r*100))};this.clampProgress=function(r){return Math.min(1,Math.max(0,r))};this.easeOutExpo=function(r){return r===1?1:1-Math.pow(2,-10*r)};this.stopAnimation=function(){if(a.rafId!==null){cancelAnimationFrame(a.rafId);a.rafId=null}};this.animateTo=function(r){var s=a.clampProgress(r);var e=a.animatedProgress;a.stopAnimation();if(prefersReducedMotion()){a.animatedProgress=s;return}var t=500;var o=performance.now();var i=function(r){var n=Math.min(1,(r-o)/t);var m=a.easeOutExpo(n);a.animatedProgress=e+(s-e)*m;if(n<1)a.rafId=requestAnimationFrame(i);else a.rafId=null};a.rafId=requestAnimationFrame(i)}}r.prototype.componentWillLoad=function(){this.animatedProgress=this.clampProgress(this.progress)};r.prototype.disconnectedCallback=function(){this.stopAnimation()};r.prototype.onProgressChange=function(r){this.animateTo(r)};r.prototype.render=function(){var r="".concat((this.animatedProgress*100).toFixed(2),"%");var a=this.progressPercentage(this.clampProgress(this.progress));return h(Host,{key:"a6b6be85cf9edec9b959dc408453df22a7259293","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":a,role:"progressbar",style:{"--mds-radial-progress":r}},h("div",{key:"601ad68d20b60661443e9d2a91c7245b14bb8cef",class:"value-container",part:"value-container"},this.icon&&h("mds-icon",{key:"d179a8847a1e6a0116d47f337efb66b4ef8499d6",class:"icon",name:this.icon,part:"icon"}),h("div",{key:"4bf2f076b9a9b796022bcd2358cf07f336d41040",class:"value-container__text"},h("mds-text",{key:"f34d46b90c233a1334f1f6c1cc09bf77ca36e1b7",class:"value",typography:this.typography},a))))};Object.defineProperty(r,"watchers",{get:function(){return{progress:[{onProgressChange:0}]}},enumerable:false,configurable:true});return r}();MdsRadialProgress.style=mdsRadialProgressCss();export{MdsProgress as mds_progress,MdsRadialProgress as mds_radial_progress};
|