@maggioli-design-system/magma 1.0.0-beta → 1.0.1
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 +44 -226
- package/dist/cjs/{_commonjsHelpers-0192c5b3.js → _commonjsHelpers-e6ff1d6e.js} +0 -5
- package/dist/cjs/{aria-8237fdab.js → aria-0b8ae8a3.js} +18 -2
- package/dist/cjs/file-extensions-cd2fa955.js +126 -0
- package/dist/cjs/{floating-ui.dom.esm-58e05c82.js → floating-ui.dom.esm-4d912aff.js} +484 -40
- package/dist/cjs/{index-9808fc83.js → index-eccfa195.js} +24 -297
- package/dist/cjs/{keyboard-manager-fa9d665b.js → keyboard-manager-952eef32.js} +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/locale-9add6645.js +845 -0
- package/dist/cjs/locale.it-e5e117c5.js +466 -0
- package/dist/cjs/magma-components.cjs.js +3 -3
- package/dist/cjs/mds-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +17 -13
- package/dist/cjs/mds-accordion.cjs.entry.js +1 -1
- package/dist/cjs/mds-author.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar.cjs.entry.js +3 -3
- package/dist/cjs/mds-badge.cjs.entry.js +2 -2
- package/dist/cjs/mds-banner.cjs.entry.js +24 -8
- package/dist/cjs/mds-benchmark-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-bibliography.cjs.entry.js +1 -1
- package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-breadcrumb.cjs.entry.js +39 -4
- package/dist/cjs/mds-button_3.cjs.entry.js +53 -20
- package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
- package/dist/cjs/mds-card.cjs.entry.js +1 -1
- package/dist/cjs/mds-chip.cjs.entry.js +83 -28
- package/dist/cjs/mds-details.cjs.entry.js +3 -3
- package/dist/cjs/{mds-dropdown_2.cjs.entry.js → mds-dropdown.cjs.entry.js} +12 -890
- package/dist/cjs/mds-entity.cjs.entry.js +5 -5
- package/dist/cjs/mds-file-preview.cjs.entry.js +44 -11
- package/dist/cjs/mds-file.cjs.entry.js +44 -13
- package/dist/cjs/mds-filter-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-filter.cjs.entry.js +2 -2
- package/dist/cjs/mds-header-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-header.cjs.entry.js +5 -3
- package/dist/cjs/mds-help.cjs.entry.js +4 -4
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +1 -1
- package/dist/cjs/mds-hr.cjs.entry.js +1 -1
- package/dist/cjs/mds-img.cjs.entry.js +23 -7
- package/dist/cjs/mds-input-field.cjs.entry.js +3 -3
- package/dist/cjs/mds-input-range.cjs.entry.js +6 -5
- package/dist/cjs/mds-input-select.cjs.entry.js +8 -8
- package/dist/cjs/mds-input-switch.cjs.entry.js +9 -8
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +36 -12
- package/dist/cjs/mds-input-upload.cjs.entry.js +159 -31
- package/dist/cjs/mds-input.cjs.entry.js +44 -16
- package/dist/cjs/mds-kpi-item.cjs.entry.js +6 -4
- package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
- package/dist/cjs/mds-label.cjs.entry.js +33 -5
- package/dist/cjs/mds-list-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-list.cjs.entry.js +2 -2
- package/dist/cjs/mds-modal.cjs.entry.js +6 -4
- package/dist/cjs/mds-note.cjs.entry.js +38 -3
- package/dist/cjs/mds-notification.cjs.entry.js +4 -3
- package/dist/cjs/mds-paginator-item.cjs.entry.js +5 -5
- package/dist/cjs/mds-paginator.cjs.entry.js +3 -3
- package/dist/cjs/mds-pref-animation.cjs.entry.js +9 -7
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +9 -7
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +9 -7
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +11 -4
- package/dist/cjs/mds-pref-language.cjs.entry.js +855 -12
- package/dist/cjs/mds-pref-theme.cjs.entry.js +14 -8
- package/dist/cjs/mds-pref.cjs.entry.js +8 -4
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-features.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-header.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-list.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table.cjs.entry.js +1 -1
- package/dist/cjs/mds-progress.cjs.entry.js +10 -4
- package/dist/cjs/mds-push-notification.cjs.entry.js +87 -19
- package/dist/cjs/mds-push-notifications.cjs.entry.js +1 -1
- package/dist/cjs/mds-quote.cjs.entry.js +3 -2
- package/dist/cjs/mds-separator.cjs.entry.js +2 -2
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-tab-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-tab_2.cjs.entry.js +2 -2
- package/dist/cjs/mds-table-body.cjs.entry.js +1 -1
- package/dist/cjs/mds-table-cell.cjs.entry.js +2 -2
- package/dist/cjs/mds-table-footer.cjs.entry.js +1 -1
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +8 -8
- package/dist/cjs/mds-table-header.cjs.entry.js +1 -1
- package/dist/cjs/mds-table-row.cjs.entry.js +16 -3
- package/dist/cjs/mds-table.cjs.entry.js +18 -3
- package/dist/cjs/mds-text.cjs.entry.js +4 -2
- package/dist/cjs/mds-toast.cjs.entry.js +8 -4
- package/dist/cjs/mds-tooltip.cjs.entry.js +10 -11
- package/dist/cjs/mds-url-view.cjs.entry.js +55 -4
- package/dist/cjs/mds-usage.cjs.entry.js +3 -13
- package/dist/cjs/mds-video-wall.cjs.entry.js +5 -5
- package/dist/cjs/mds-zero.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +2 -3
- package/dist/collection/common/aria.js +17 -1
- package/dist/collection/common/device.js +6 -0
- package/dist/collection/common/keyboard-manager.js +2 -2
- package/dist/collection/common/locale.js +17 -5
- package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +16 -12
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +1 -1
- package/dist/collection/components/mds-avatar/mds-avatar.css +6 -6
- package/dist/collection/components/mds-badge/mds-badge.css +70 -72
- package/dist/collection/components/mds-banner/mds-banner.css +5 -5
- package/dist/collection/components/mds-banner/mds-banner.js +36 -2
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +46 -2
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +3 -0
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +1 -1
- package/dist/collection/components/mds-button/mds-button.css +147 -133
- package/dist/collection/components/mds-button/mds-button.js +4 -2
- package/dist/collection/components/mds-chip/mds-chip.css +231 -33
- package/dist/collection/components/mds-chip/mds-chip.js +167 -48
- package/dist/collection/components/mds-chip/test/mds-chip.stories.js +27 -8
- package/dist/collection/components/mds-details/mds-details.css +4 -3
- package/dist/collection/components/mds-dropdown/mds-dropdown.js +9 -7
- package/dist/collection/components/mds-entity/mds-entity.js +4 -4
- package/dist/collection/components/mds-entity/test/mds-entity.stories.js +3 -3
- package/dist/collection/components/mds-file/mds-file.js +45 -22
- package/dist/collection/components/mds-file-preview/mds-file-preview.css +126 -82
- package/dist/collection/components/mds-file-preview/mds-file-preview.js +49 -3
- package/dist/collection/components/mds-filter/mds-filter.js +1 -1
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +1 -1
- package/dist/collection/components/mds-header/mds-header.js +4 -2
- package/dist/collection/components/mds-help/mds-help.css +4 -9
- package/dist/collection/components/mds-help/mds-help.js +2 -1
- package/dist/collection/components/mds-icon/mds-icon.js +2 -4
- package/dist/collection/components/mds-icon/services/icons-set.service.js +42 -9
- package/dist/collection/components/mds-icon/test/mds-icon.stories.js +15 -0
- package/dist/collection/components/mds-img/mds-img.css +3 -3
- package/dist/collection/components/mds-img/mds-img.js +32 -2
- package/dist/collection/components/mds-input/mds-input.css +4 -4
- package/dist/collection/components/mds-input/mds-input.js +40 -15
- package/dist/collection/components/mds-input/test/mds-input.stories.js +16 -7
- package/dist/collection/components/mds-input-field/mds-input-field.js +9 -9
- package/dist/collection/components/mds-input-range/mds-input-range.css +6 -6
- package/dist/collection/components/mds-input-range/mds-input-range.js +4 -3
- package/dist/collection/components/mds-input-range/test/mds-input-range.stories.js +4 -4
- package/dist/collection/components/mds-input-select/mds-input-select.css +12 -12
- package/dist/collection/components/mds-input-select/mds-input-select.js +11 -11
- package/dist/collection/components/mds-input-switch/mds-input-switch.css +2 -2
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +6 -5
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +41 -7
- package/dist/collection/components/mds-input-upload/mds-input-upload.css +1 -1
- package/dist/collection/components/mds-input-upload/mds-input-upload.js +41 -7
- package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.css +4 -4
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +5 -3
- package/dist/collection/components/mds-label/mds-label.css +2 -9
- package/dist/collection/components/mds-label/mds-label.js +44 -2
- package/dist/collection/components/mds-list/mds-list.js +1 -1
- package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
- package/dist/collection/components/mds-modal/mds-modal.js +5 -3
- package/dist/collection/components/mds-modal/test/mds-modal.stories.js +8 -4
- package/dist/collection/components/mds-note/mds-note.js +45 -1
- package/dist/collection/components/mds-notification/mds-notification.js +2 -1
- package/dist/collection/components/mds-paginator/mds-paginator.js +2 -2
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +3 -3
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +2 -2
- package/dist/collection/components/mds-pref/mds-pref.js +28 -2
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +32 -4
- package/dist/collection/components/mds-pref-animation/meta/dictionary.js +2 -2
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +32 -4
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +32 -4
- package/dist/collection/components/mds-pref-language/mds-pref-language.css +20 -2
- package/dist/collection/components/mds-pref-language/mds-pref-language.js +47 -19
- package/dist/collection/components/mds-pref-language/meta/dictionary.js +2 -0
- package/dist/collection/components/mds-pref-language/test/mds-pref-language.stories.js +1 -1
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +38 -11
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +37 -5
- package/dist/collection/components/mds-price-table/test/mds-price-table.stories.js +1 -1
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +2 -0
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +4 -4
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +2 -2
- package/dist/collection/components/mds-progress/mds-progress.css +16 -16
- package/dist/collection/components/mds-progress/mds-progress.js +8 -2
- package/dist/collection/components/mds-progress/test/mds-progress.stories.js +1 -1
- package/dist/collection/components/mds-push-notification/mds-push-notification.css +6 -6
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +36 -2
- package/dist/collection/components/mds-quote/mds-quote.js +26 -1
- package/dist/collection/components/mds-quote/test/mds-quote.stories.js +11 -0
- package/dist/collection/components/mds-spinner/mds-spinner.css +3 -3
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +1 -1
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
- package/dist/collection/components/mds-tab/mds-tab.css +1 -1
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +8 -8
- package/dist/collection/components/mds-table/mds-table.css +3 -3
- package/dist/collection/components/mds-table/mds-table.js +16 -1
- package/dist/collection/components/mds-table/test/mds-table.stories.js +5 -0
- package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.css +2 -6
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +7 -7
- package/dist/collection/components/mds-table-row/mds-table-row.css +59 -0
- package/dist/collection/components/mds-table-row/mds-table-row.js +26 -1
- package/dist/collection/components/mds-text/mds-text.js +6 -4
- package/dist/collection/components/mds-text/test/mds-text.stories.js +1 -1
- package/dist/collection/components/mds-toast/mds-toast.js +7 -3
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +8 -9
- package/dist/collection/components/mds-url-view/mds-url-view.js +45 -1
- package/dist/collection/components/mds-usage/mds-usage.css +14 -14
- package/dist/collection/components/mds-usage/mds-usage.js +1 -11
- package/dist/collection/components/mds-video-wall/mds-video-wall.css +19 -3
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +3 -3
- package/dist/collection/components/mds-zero/mds-zero.js +1 -1
- package/dist/collection/dictionary/file-extensions.js +114 -56
- package/dist/collection/dictionary/text.js +60 -1
- package/dist/collection/dictionary/variant.js +10 -1
- package/dist/components/aria.js +17 -2
- package/dist/components/floating-ui.dom.esm.js +484 -40
- package/dist/components/keyboard-manager.js +2 -2
- package/dist/components/locale.it.js +578 -0
- package/dist/components/locale.js +668 -4615
- package/dist/components/mds-accordion-timer-item.js +1 -1
- package/dist/components/mds-accordion-timer.js +16 -12
- package/dist/components/mds-avatar2.js +2 -2
- package/dist/components/mds-badge2.js +1 -1
- package/dist/components/mds-banner.js +23 -5
- package/dist/components/mds-breadcrumb-item.js +2 -2
- package/dist/components/mds-breadcrumb.js +39 -3
- package/dist/components/mds-button2.js +5 -3
- package/dist/components/mds-chip.js +91 -29
- package/dist/components/mds-details.js +1 -1
- package/dist/components/mds-dropdown2.js +9 -7
- package/dist/components/mds-entity.js +4 -4
- package/dist/components/mds-file-preview2.js +40 -6
- package/dist/components/mds-file.js +39 -8
- package/dist/components/mds-filter-item2.js +1 -1
- package/dist/components/mds-filter.js +1 -1
- package/dist/components/mds-header.js +4 -2
- package/dist/components/mds-help.js +5 -4
- package/dist/components/mds-icon2.js +44 -13
- package/dist/components/mds-img2.js +22 -4
- package/dist/components/mds-input-field.js +2 -2
- package/dist/components/mds-input-range.js +5 -4
- package/dist/components/mds-input-select.js +7 -7
- package/dist/components/mds-input-switch.js +7 -6
- package/dist/components/mds-input-tip-item2.js +36 -10
- package/dist/components/mds-input-upload.js +158 -28
- package/dist/components/mds-input2.js +42 -13
- package/dist/components/mds-kpi-item.js +5 -3
- package/dist/components/mds-kpi.js +1 -1
- package/dist/components/mds-label.js +33 -4
- package/dist/components/mds-list-item.js +1 -1
- package/dist/components/mds-list.js +1 -1
- package/dist/components/mds-modal2.js +5 -3
- package/dist/components/mds-note.js +38 -2
- package/dist/components/mds-notification.js +2 -1
- package/dist/components/mds-paginator-item2.js +3 -3
- package/dist/components/mds-paginator.js +2 -2
- package/dist/components/mds-pref-animation.js +9 -5
- package/dist/components/mds-pref-consumption.js +9 -5
- package/dist/components/mds-pref-contrast.js +9 -5
- package/dist/components/mds-pref-language-item.js +11 -2
- package/dist/components/mds-pref-language.js +863 -23
- package/dist/components/mds-pref-theme.js +14 -6
- package/dist/components/mds-pref.js +8 -2
- package/dist/components/mds-price-table-list.js +3 -3
- package/dist/components/mds-progress2.js +9 -3
- package/dist/components/mds-push-notification.js +89 -20
- package/dist/components/mds-quote.js +4 -2
- package/dist/components/mds-spinner2.js +1 -1
- package/dist/components/mds-stepper-bar-item.js +2 -2
- package/dist/components/mds-tab-bar-item.js +1 -1
- package/dist/components/mds-tab2.js +1 -1
- package/dist/components/mds-table-cell.js +1 -1
- package/dist/components/mds-table-header-cell.js +7 -7
- package/dist/components/mds-table-row.js +17 -3
- package/dist/components/mds-table.js +17 -2
- package/dist/components/mds-text2.js +3 -1
- package/dist/components/mds-toast.js +7 -3
- package/dist/components/mds-tooltip2.js +8 -9
- package/dist/components/mds-url-view.js +54 -2
- package/dist/components/mds-usage.js +2 -12
- package/dist/components/mds-video-wall.js +4 -4
- package/dist/components/mds-zero.js +1 -1
- package/dist/documentation.json +929 -484
- package/dist/{components/_commonjsHelpers.js → esm/_commonjsHelpers-bdec4bbd.js} +1 -5
- package/dist/esm/{aria-0e390d9c.js → aria-ed9d415d.js} +17 -2
- package/dist/esm/file-extensions-97006435.js +123 -0
- package/dist/esm/{floating-ui.dom.esm-f7b7f919.js → floating-ui.dom.esm-b6d2205c.js} +484 -40
- package/dist/esm/{index-f08bac5f.js → index-44fd80a1.js} +24 -297
- package/dist/esm/{keyboard-manager-f3d273fc.js → keyboard-manager-9f287ab7.js} +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/locale-149207d6.js +843 -0
- package/dist/esm/locale.it-94429e24.js +457 -0
- package/dist/esm/magma-components.js +4 -4
- package/dist/esm/mds-accordion-item.entry.js +1 -1
- package/dist/esm/mds-accordion-timer-item.entry.js +2 -2
- package/dist/esm/mds-accordion-timer.entry.js +17 -13
- package/dist/esm/mds-accordion.entry.js +1 -1
- package/dist/esm/mds-author.entry.js +1 -1
- package/dist/esm/mds-avatar.entry.js +3 -3
- package/dist/esm/mds-badge.entry.js +2 -2
- package/dist/esm/mds-banner.entry.js +24 -8
- package/dist/esm/mds-benchmark-bar.entry.js +1 -1
- package/dist/esm/mds-bibliography.entry.js +1 -1
- package/dist/esm/mds-breadcrumb-item.entry.js +4 -4
- package/dist/esm/mds-breadcrumb.entry.js +39 -4
- package/dist/esm/mds-button_3.entry.js +53 -20
- package/dist/esm/mds-card-content.entry.js +1 -1
- package/dist/esm/mds-card-footer.entry.js +1 -1
- package/dist/esm/mds-card-header.entry.js +1 -1
- package/dist/esm/mds-card-media.entry.js +1 -1
- package/dist/esm/mds-card.entry.js +1 -1
- package/dist/esm/mds-chip.entry.js +83 -28
- package/dist/esm/mds-details.entry.js +3 -3
- package/dist/esm/{mds-dropdown_2.entry.js → mds-dropdown.entry.js} +13 -890
- package/dist/esm/mds-entity.entry.js +5 -5
- package/dist/esm/mds-file-preview.entry.js +40 -7
- package/dist/esm/mds-file.entry.js +39 -8
- package/dist/esm/mds-filter-item.entry.js +3 -3
- package/dist/esm/mds-filter.entry.js +2 -2
- package/dist/esm/mds-header-bar.entry.js +1 -1
- package/dist/esm/mds-header.entry.js +5 -3
- package/dist/esm/mds-help.entry.js +4 -4
- package/dist/esm/mds-horizontal-scroll.entry.js +1 -1
- package/dist/esm/mds-hr.entry.js +1 -1
- package/dist/esm/mds-img.entry.js +23 -7
- package/dist/esm/mds-input-field.entry.js +3 -3
- package/dist/esm/mds-input-range.entry.js +6 -5
- package/dist/esm/mds-input-select.entry.js +8 -8
- package/dist/esm/mds-input-switch.entry.js +9 -8
- package/dist/esm/mds-input-tip_2.entry.js +36 -12
- package/dist/esm/mds-input-upload.entry.js +159 -31
- package/dist/esm/mds-input.entry.js +44 -16
- package/dist/esm/mds-kpi-item.entry.js +6 -4
- package/dist/esm/mds-kpi.entry.js +2 -2
- package/dist/esm/mds-label.entry.js +33 -5
- package/dist/esm/mds-list-item.entry.js +2 -2
- package/dist/esm/mds-list.entry.js +2 -2
- package/dist/esm/mds-modal.entry.js +6 -4
- package/dist/esm/mds-note.entry.js +38 -3
- package/dist/esm/mds-notification.entry.js +4 -3
- package/dist/esm/mds-paginator-item.entry.js +5 -5
- package/dist/esm/mds-paginator.entry.js +3 -3
- package/dist/esm/mds-pref-animation.entry.js +9 -7
- package/dist/esm/mds-pref-consumption.entry.js +9 -7
- package/dist/esm/mds-pref-contrast.entry.js +9 -7
- package/dist/esm/mds-pref-language-item.entry.js +11 -4
- package/dist/esm/mds-pref-language.entry.js +855 -12
- package/dist/esm/mds-pref-theme.entry.js +14 -8
- package/dist/esm/mds-pref.entry.js +8 -4
- package/dist/esm/mds-price-table-features-cell.entry.js +1 -1
- package/dist/esm/mds-price-table-features-row.entry.js +1 -1
- package/dist/esm/mds-price-table-features.entry.js +1 -1
- package/dist/esm/mds-price-table-header.entry.js +1 -1
- package/dist/esm/mds-price-table-list-item.entry.js +1 -1
- package/dist/esm/mds-price-table-list.entry.js +4 -4
- package/dist/esm/mds-price-table.entry.js +1 -1
- package/dist/esm/mds-progress.entry.js +10 -4
- package/dist/esm/mds-push-notification.entry.js +87 -19
- package/dist/esm/mds-push-notifications.entry.js +1 -1
- package/dist/esm/mds-quote.entry.js +3 -2
- package/dist/esm/mds-separator.entry.js +2 -2
- package/dist/esm/mds-stepper-bar-item.entry.js +3 -3
- package/dist/esm/mds-stepper-bar.entry.js +1 -1
- package/dist/esm/mds-tab-bar-item.entry.js +2 -2
- package/dist/esm/mds-tab-bar.entry.js +1 -1
- package/dist/esm/mds-tab_2.entry.js +2 -2
- package/dist/esm/mds-table-body.entry.js +1 -1
- package/dist/esm/mds-table-cell.entry.js +2 -2
- package/dist/esm/mds-table-footer.entry.js +1 -1
- package/dist/esm/mds-table-header-cell.entry.js +8 -8
- package/dist/esm/mds-table-header.entry.js +1 -1
- package/dist/esm/mds-table-row.entry.js +16 -3
- package/dist/esm/mds-table.entry.js +18 -3
- package/dist/esm/mds-text.entry.js +4 -2
- package/dist/esm/mds-toast.entry.js +8 -4
- package/dist/esm/mds-tooltip.entry.js +10 -11
- package/dist/esm/mds-url-view.entry.js +54 -3
- package/dist/esm/mds-usage.entry.js +3 -13
- package/dist/esm/mds-video-wall.entry.js +5 -5
- package/dist/esm/mds-zero.entry.js +2 -2
- package/dist/esm-es5/_commonjsHelpers-bdec4bbd.js +1 -0
- package/dist/esm-es5/aria-ed9d415d.js +1 -0
- package/dist/esm-es5/file-extensions-97006435.js +1 -0
- package/dist/esm-es5/floating-ui.dom.esm-b6d2205c.js +1 -0
- package/dist/esm-es5/index-44fd80a1.js +1 -0
- package/dist/esm-es5/{keyboard-manager-f3d273fc.js → keyboard-manager-9f287ab7.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/locale-149207d6.js +6 -0
- package/dist/esm-es5/locale.it-94429e24.js +1 -0
- package/dist/esm-es5/magma-components.js +1 -1
- package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
- package/dist/esm-es5/mds-accordion.entry.js +1 -1
- package/dist/esm-es5/mds-author.entry.js +1 -1
- package/dist/esm-es5/mds-avatar.entry.js +1 -1
- package/dist/esm-es5/mds-badge.entry.js +1 -1
- package/dist/esm-es5/mds-banner.entry.js +1 -1
- package/dist/esm-es5/mds-benchmark-bar.entry.js +1 -1
- package/dist/esm-es5/mds-bibliography.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +1 -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 +1 -1
- package/dist/esm-es5/mds-chip.entry.js +1 -1
- package/dist/esm-es5/mds-details.entry.js +1 -1
- package/dist/esm-es5/mds-dropdown.entry.js +1 -0
- package/dist/esm-es5/mds-entity.entry.js +1 -1
- package/dist/esm-es5/mds-file-preview.entry.js +2 -2
- package/dist/esm-es5/mds-file.entry.js +3 -3
- package/dist/esm-es5/mds-filter-item.entry.js +1 -1
- package/dist/esm-es5/mds-filter.entry.js +1 -1
- package/dist/esm-es5/mds-header-bar.entry.js +1 -1
- package/dist/esm-es5/mds-header.entry.js +1 -1
- package/dist/esm-es5/mds-help.entry.js +1 -1
- package/dist/esm-es5/mds-horizontal-scroll.entry.js +1 -1
- package/dist/esm-es5/mds-hr.entry.js +1 -1
- package/dist/esm-es5/mds-img.entry.js +1 -1
- package/dist/esm-es5/mds-input-field.entry.js +1 -1
- package/dist/esm-es5/mds-input-range.entry.js +1 -1
- package/dist/esm-es5/mds-input-select.entry.js +1 -1
- package/dist/esm-es5/mds-input-switch.entry.js +1 -1
- package/dist/esm-es5/mds-input-tip_2.entry.js +1 -1
- package/dist/esm-es5/mds-input-upload.entry.js +1 -1
- package/dist/esm-es5/mds-input.entry.js +1 -1
- package/dist/esm-es5/mds-kpi-item.entry.js +1 -1
- package/dist/esm-es5/mds-kpi.entry.js +1 -1
- package/dist/esm-es5/mds-label.entry.js +1 -1
- package/dist/esm-es5/mds-list-item.entry.js +1 -1
- package/dist/esm-es5/mds-list.entry.js +1 -1
- package/dist/esm-es5/mds-modal.entry.js +1 -1
- package/dist/esm-es5/mds-note.entry.js +1 -1
- package/dist/esm-es5/mds-notification.entry.js +1 -1
- package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
- package/dist/esm-es5/mds-paginator.entry.js +1 -1
- package/dist/esm-es5/mds-pref-animation.entry.js +1 -1
- package/dist/esm-es5/mds-pref-consumption.entry.js +1 -1
- package/dist/esm-es5/mds-pref-contrast.entry.js +1 -1
- package/dist/esm-es5/mds-pref-language-item.entry.js +1 -1
- package/dist/esm-es5/mds-pref-language.entry.js +1 -1
- package/dist/esm-es5/mds-pref-theme.entry.js +1 -1
- package/dist/esm-es5/mds-pref.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-features-cell.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-list-item.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-list.entry.js +1 -1
- package/dist/esm-es5/mds-price-table.entry.js +1 -1
- package/dist/esm-es5/mds-progress.entry.js +1 -1
- package/dist/esm-es5/mds-push-notification.entry.js +1 -1
- package/dist/esm-es5/mds-push-notifications.entry.js +1 -1
- package/dist/esm-es5/mds-quote.entry.js +1 -1
- package/dist/esm-es5/mds-separator.entry.js +1 -1
- package/dist/esm-es5/mds-stepper-bar-item.entry.js +1 -1
- package/dist/esm-es5/mds-stepper-bar.entry.js +1 -1
- package/dist/esm-es5/mds-tab-bar-item.entry.js +1 -1
- package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
- package/dist/esm-es5/mds-tab_2.entry.js +1 -1
- package/dist/esm-es5/mds-table-body.entry.js +1 -1
- package/dist/esm-es5/mds-table-cell.entry.js +1 -1
- package/dist/esm-es5/mds-table-footer.entry.js +1 -1
- package/dist/esm-es5/mds-table-header-cell.entry.js +1 -1
- package/dist/esm-es5/mds-table-header.entry.js +1 -1
- package/dist/esm-es5/mds-table-row.entry.js +1 -1
- package/dist/esm-es5/mds-table.entry.js +1 -1
- package/dist/esm-es5/mds-text.entry.js +1 -1
- package/dist/esm-es5/mds-toast.entry.js +1 -1
- package/dist/esm-es5/mds-tooltip.entry.js +1 -1
- package/dist/esm-es5/mds-url-view.entry.js +1 -1
- package/dist/esm-es5/mds-usage.entry.js +1 -1
- package/dist/esm-es5/mds-video-wall.entry.js +1 -1
- package/dist/esm-es5/mds-zero.entry.js +1 -1
- package/dist/hydrate/index.d.ts +6 -0
- package/dist/hydrate/index.js +3705 -5972
- package/dist/hydrate/index.mjs +3705 -5972
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/magma-components.js +1 -1
- package/dist/magma-components/p-03c13bdf.system.entry.js +1 -0
- package/dist/magma-components/p-0492e275.entry.js +1 -0
- package/dist/magma-components/p-04c61fa1.system.entry.js +1 -0
- package/dist/magma-components/p-05bf15c7.entry.js +1 -0
- package/dist/magma-components/{p-5f0f0448.system.entry.js → p-07253a21.system.entry.js} +1 -1
- package/dist/magma-components/p-086c8147.entry.js +1 -0
- package/dist/magma-components/p-0b2a9068.entry.js +1 -0
- package/dist/magma-components/p-0b6b57fb.js +1 -0
- package/dist/magma-components/p-0b77bb1c.system.entry.js +1 -0
- package/dist/magma-components/p-0f3e17bc.js +1 -0
- package/dist/magma-components/{p-7d460c08.system.entry.js → p-0f6c6757.system.entry.js} +1 -1
- package/dist/magma-components/p-13c6c73b.entry.js +1 -0
- package/dist/magma-components/p-13ce8757.system.entry.js +1 -0
- package/dist/magma-components/p-1400e3c3.system.entry.js +1 -0
- package/dist/magma-components/p-1581b10e.system.entry.js +1 -0
- package/dist/magma-components/{p-8980cf86.system.entry.js → p-17d63927.system.entry.js} +1 -1
- package/dist/magma-components/{p-ae612034.system.entry.js → p-19114f13.system.entry.js} +1 -1
- package/dist/magma-components/{p-53f8a981.entry.js → p-19c55d3e.entry.js} +1 -1
- package/dist/magma-components/{p-5258907f.system.entry.js → p-1b436c7c.system.entry.js} +1 -1
- package/dist/magma-components/{p-2f7dd737.system.entry.js → p-1bb949c2.system.entry.js} +1 -1
- package/dist/magma-components/p-217aed60.system.entry.js +1 -0
- package/dist/magma-components/p-21b1acec.system.js +1 -0
- package/dist/magma-components/{p-f62b4856.entry.js → p-22954bd0.entry.js} +1 -1
- package/dist/magma-components/{p-67f8aea1.entry.js → p-23c0e5bb.entry.js} +1 -1
- package/dist/magma-components/p-247e25c9.entry.js +1 -0
- package/dist/magma-components/p-2547e1c5.entry.js +1 -0
- package/dist/magma-components/p-25602048.system.entry.js +1 -0
- package/dist/magma-components/{p-dbde7f2c.system.entry.js → p-27923d25.system.entry.js} +1 -1
- package/dist/magma-components/p-2a0bffc8.entry.js +1 -0
- package/dist/magma-components/p-2bedaf5f.system.entry.js +1 -0
- package/dist/magma-components/p-2d5135c7.entry.js +1 -0
- package/dist/magma-components/p-2d58b5b8.system.entry.js +1 -0
- package/dist/magma-components/{p-b4c84e8e.entry.js → p-2e3e7ae9.entry.js} +1 -1
- package/dist/magma-components/{p-12c9e7c1.system.entry.js → p-30326380.system.entry.js} +1 -1
- package/dist/magma-components/p-304b1738.entry.js +1 -0
- package/dist/magma-components/{p-c7267a25.system.entry.js → p-30671bb6.system.entry.js} +1 -1
- package/dist/magma-components/p-31ad7005.entry.js +1 -0
- package/dist/magma-components/p-3213bed3.js +1 -0
- package/dist/magma-components/{p-06bbdfbc.system.js → p-32f55263.system.js} +1 -1
- package/dist/magma-components/{p-3ebb87fd.system.entry.js → p-332ef4c5.system.entry.js} +1 -1
- package/dist/magma-components/p-340717b1.entry.js +1 -0
- package/dist/magma-components/{p-19ffbf29.system.entry.js → p-3545d28a.system.entry.js} +1 -1
- package/dist/magma-components/p-3759b1b2.system.js +6 -0
- package/dist/magma-components/{p-57e85f09.entry.js → p-3c4114a1.entry.js} +1 -1
- package/dist/magma-components/{p-e1ae3377.entry.js → p-3c7584e0.entry.js} +1 -1
- package/dist/magma-components/p-3d9b24ed.system.entry.js +1 -0
- package/dist/magma-components/p-3dcee09b.entry.js +1 -0
- package/dist/magma-components/p-413e1924.entry.js +8 -0
- package/dist/magma-components/{p-7ff9ee47.system.entry.js → p-41b0013f.system.entry.js} +1 -1
- package/dist/magma-components/p-42aaebea.entry.js +1 -0
- package/dist/magma-components/p-42c66e40.entry.js +1 -0
- package/dist/magma-components/{p-eba07611.system.entry.js → p-438c83a4.system.entry.js} +1 -1
- package/dist/magma-components/p-4509e5dd.entry.js +1 -0
- package/dist/magma-components/{p-8b576fd8.entry.js → p-46df472e.entry.js} +1 -1
- package/dist/magma-components/{p-12a6692f.entry.js → p-47044832.entry.js} +1 -1
- package/dist/magma-components/{p-1a2e5af9.entry.js → p-4a57c918.entry.js} +1 -1
- package/dist/magma-components/p-4d469a01.entry.js +1 -0
- package/dist/magma-components/{p-d41cdc56.entry.js → p-4e0c9d47.entry.js} +1 -1
- package/dist/magma-components/{p-d219007f.system.entry.js → p-4f52b15e.system.entry.js} +1 -1
- package/dist/magma-components/p-5100bf68.system.entry.js +1 -0
- package/dist/magma-components/p-55842900.entry.js +1 -0
- package/dist/magma-components/{p-8f8fd8f5.entry.js → p-5629c1f5.entry.js} +1 -1
- package/dist/magma-components/p-5818b17b.system.entry.js +1 -0
- package/dist/magma-components/p-5a2c6a26.system.entry.js +1 -0
- package/dist/magma-components/p-5af31a47.system.js +1 -0
- package/dist/magma-components/{p-0e54cbdd.entry.js → p-5d39c94f.entry.js} +1 -1
- package/dist/magma-components/{p-8c185de1.system.entry.js → p-5e063b6a.system.entry.js} +1 -1
- package/dist/magma-components/{p-32c2e662.system.entry.js → p-5fbe3d63.system.entry.js} +1 -1
- package/dist/magma-components/{p-eb1dcb87.system.entry.js → p-600f012f.system.entry.js} +1 -1
- package/dist/magma-components/{p-3013e2cb.entry.js → p-605913ba.entry.js} +1 -1
- package/dist/magma-components/p-60ab906d.entry.js +1 -0
- package/dist/magma-components/{p-945820db.system.entry.js → p-62ac240e.system.entry.js} +1 -1
- package/dist/magma-components/{p-00c6b918.system.entry.js → p-63e3f820.system.entry.js} +1 -1
- package/dist/magma-components/p-65ba0450.entry.js +1 -0
- package/dist/magma-components/p-6617f185.entry.js +1 -0
- package/dist/magma-components/p-665f05ca.system.entry.js +1 -0
- package/dist/magma-components/p-66ef6f68.system.entry.js +1 -0
- package/dist/magma-components/{p-d1f52b0b.system.js → p-6803cf8d.system.js} +1 -1
- package/dist/magma-components/p-694ac497.entry.js +1 -0
- package/dist/magma-components/p-6a2ec000.entry.js +1 -0
- package/dist/magma-components/p-6aed6b97.system.entry.js +1 -0
- package/dist/magma-components/p-6c4c3d44.system.entry.js +1 -0
- package/dist/magma-components/{p-f43e59d4.entry.js → p-6dc71639.entry.js} +1 -1
- package/dist/magma-components/{p-63e8bc17.system.entry.js → p-6f15b2d9.system.entry.js} +1 -1
- package/dist/magma-components/{p-7f235611.system.entry.js → p-71601583.system.entry.js} +1 -1
- package/dist/magma-components/p-759c9af3.entry.js +1 -0
- package/dist/magma-components/{p-b5f501d2.system.entry.js → p-782313bb.system.entry.js} +1 -1
- package/dist/magma-components/p-7a7220e5.entry.js +1 -0
- package/dist/magma-components/p-7ad5eeb3.system.entry.js +1 -0
- package/dist/magma-components/p-7affff90.system.entry.js +1 -0
- package/dist/magma-components/p-810ba60f.system.entry.js +1 -0
- package/dist/magma-components/{p-5ddef57f.entry.js → p-813176b0.entry.js} +1 -1
- package/dist/magma-components/p-84a3bc2b.system.entry.js +1 -0
- package/dist/magma-components/p-85aa8e05.js +1 -0
- package/dist/magma-components/p-85e7baee.entry.js +1 -0
- package/dist/magma-components/{p-20143ec9.entry.js → p-892e949c.entry.js} +1 -1
- package/dist/magma-components/p-893a87dc.system.entry.js +1 -0
- package/dist/magma-components/p-89f9e0d2.entry.js +1 -0
- package/dist/magma-components/{p-0349e303.system.entry.js → p-8fe9a0a2.system.entry.js} +1 -1
- package/dist/magma-components/p-917ba0e2.entry.js +1 -0
- package/dist/magma-components/p-94db8071.system.js +1 -0
- package/dist/magma-components/p-96afff9f.system.entry.js +1 -0
- package/dist/magma-components/p-96d07c9f.system.entry.js +1 -0
- package/dist/magma-components/p-96e60eca.system.entry.js +1 -0
- package/dist/magma-components/{p-c4b093c4.entry.js → p-9bd6657b.entry.js} +1 -1
- package/dist/magma-components/p-9bd9e612.system.entry.js +1 -0
- package/dist/magma-components/p-9c7039f0.entry.js +1 -0
- package/dist/magma-components/p-9d991391.entry.js +1 -0
- package/dist/magma-components/p-9df056cb.entry.js +1 -0
- package/dist/magma-components/p-a191a987.entry.js +1 -0
- package/dist/magma-components/{p-99678cdd.system.entry.js → p-a1f69741.system.entry.js} +1 -1
- package/dist/magma-components/{p-36c13a31.entry.js → p-a306ff28.entry.js} +1 -1
- package/dist/magma-components/p-a44d3db9.entry.js +1 -0
- package/dist/magma-components/p-a47aae12.entry.js +1 -0
- package/dist/magma-components/p-a4fc1b0b.entry.js +1 -0
- package/dist/magma-components/p-a557bad7.system.entry.js +1 -0
- package/dist/magma-components/p-a9432fee.system.entry.js +1 -0
- package/dist/magma-components/p-a9f8f986.system.entry.js +9 -0
- package/dist/magma-components/p-aa133f48.entry.js +1 -0
- package/dist/magma-components/p-aa24e213.system.entry.js +1 -0
- package/dist/magma-components/{p-e49f99c2.entry.js → p-aa8999ba.entry.js} +1 -1
- package/dist/magma-components/p-ac7403b5.system.js +1 -0
- package/dist/magma-components/{p-8321c0d3.entry.js → p-ac97dd43.entry.js} +1 -1
- package/dist/magma-components/p-ae0b6dcb.system.entry.js +1 -0
- package/dist/magma-components/{p-2a670d3c.system.entry.js → p-ae0c3e38.system.entry.js} +1 -1
- package/dist/magma-components/{p-8323a952.system.entry.js → p-aead7eab.system.entry.js} +1 -1
- package/dist/magma-components/p-b0868749.entry.js +1 -0
- package/dist/magma-components/p-b0bb702b.entry.js +1 -0
- package/dist/magma-components/p-b44f3e19.entry.js +1 -0
- package/dist/magma-components/{p-3d741487.entry.js → p-b458a7b7.entry.js} +1 -1
- package/dist/magma-components/p-b5551799.system.entry.js +1 -0
- package/dist/magma-components/p-b5a65fcd.system.js +1 -0
- package/dist/magma-components/p-b62d164b.system.entry.js +1 -0
- package/dist/magma-components/{p-efdb9fda.entry.js → p-b6cc1d20.entry.js} +1 -1
- package/dist/magma-components/p-b7889230.system.entry.js +1 -0
- package/dist/magma-components/{p-ec8975f3.entry.js → p-b8fcf897.entry.js} +1 -1
- package/dist/magma-components/{p-73ccc008.entry.js → p-bbe19d86.entry.js} +1 -1
- package/dist/magma-components/p-bd7c0f2b.entry.js +1 -0
- package/dist/magma-components/p-c0611d00.system.entry.js +1 -0
- package/dist/magma-components/{p-cd60481a.system.entry.js → p-c2291312.system.entry.js} +1 -1
- package/dist/magma-components/{p-0b471b37.system.entry.js → p-c2c1ca38.system.entry.js} +1 -1
- package/dist/magma-components/p-c310b41f.js +6 -0
- package/dist/magma-components/p-c3b57b65.entry.js +1 -0
- package/dist/magma-components/{p-f0bf8d7e.entry.js → p-c55796f6.entry.js} +1 -1
- package/dist/magma-components/p-c6616cf4.entry.js +1 -0
- package/dist/magma-components/p-c6f72257.entry.js +1 -0
- package/dist/magma-components/p-c7d97a3c.entry.js +1 -0
- package/dist/magma-components/p-c94628eb.system.js +2 -0
- package/dist/magma-components/p-d06b650f.entry.js +1 -0
- package/dist/magma-components/{p-bebaf8c9.system.entry.js → p-d239736c.system.entry.js} +1 -1
- package/dist/magma-components/p-d3f2a762.system.entry.js +1 -0
- package/dist/magma-components/p-d4a14ac6.entry.js +1 -0
- package/dist/magma-components/{p-adafaeb1.system.entry.js → p-d4ad6446.system.entry.js} +1 -1
- package/dist/magma-components/{p-5f3b296e.system.entry.js → p-d4f60172.system.entry.js} +1 -1
- package/dist/magma-components/p-d7fe5fb4.entry.js +1 -0
- package/dist/magma-components/p-dd0f6f83.entry.js +1 -0
- package/dist/magma-components/{p-0a4fcd1d.system.entry.js → p-dd7b49e7.system.entry.js} +1 -1
- package/dist/magma-components/p-ddb91a8e.system.entry.js +1 -0
- package/dist/magma-components/p-de21d32b.system.entry.js +1 -0
- package/dist/magma-components/p-dea5d36c.entry.js +1 -0
- package/dist/magma-components/{p-bf66db4f.entry.js → p-df55c1ea.entry.js} +1 -1
- package/dist/magma-components/{p-56132185.system.entry.js → p-e0288f0c.system.entry.js} +1 -1
- package/dist/magma-components/p-e03788d9.entry.js +1 -0
- package/dist/magma-components/p-e290055a.entry.js +18 -0
- package/dist/magma-components/p-e3423b24.entry.js +1 -0
- package/dist/magma-components/{p-d60d99ac.entry.js → p-e3b9a60f.entry.js} +1 -1
- package/dist/magma-components/p-e420031e.js +1 -0
- package/dist/magma-components/{p-ac5f1e42.system.entry.js → p-e5c3a802.system.entry.js} +1 -1
- package/dist/magma-components/p-e6e67992.entry.js +1 -0
- package/dist/magma-components/p-e82d486e.system.entry.js +18 -0
- package/dist/magma-components/p-e95f01d6.system.entry.js +1 -0
- package/dist/magma-components/{p-c2938231.system.entry.js → p-e9940be7.system.entry.js} +1 -1
- package/dist/magma-components/p-eab621a7.js +2 -0
- package/dist/magma-components/{p-9a878d34.entry.js → p-eae957b3.entry.js} +1 -1
- package/dist/magma-components/p-eb4bc264.system.entry.js +1 -0
- package/dist/magma-components/p-eb8bbb53.entry.js +1 -0
- package/dist/magma-components/{p-a09946ab.entry.js → p-edbaf4ab.entry.js} +1 -1
- package/dist/magma-components/p-ee536517.entry.js +1 -0
- package/dist/magma-components/{p-c2a42118.system.entry.js → p-eef53c2a.system.entry.js} +1 -1
- package/dist/magma-components/p-f0027ed8.system.entry.js +1 -0
- package/dist/magma-components/p-f00c93f4.js +1 -0
- package/dist/magma-components/p-f060e8cc.system.entry.js +1 -0
- package/dist/magma-components/p-f142ee72.entry.js +1 -0
- package/dist/magma-components/{p-efa3471a.entry.js → p-f1d7b5ea.entry.js} +1 -1
- package/dist/magma-components/{p-a5183c20.system.entry.js → p-f63148da.system.entry.js} +1 -1
- package/dist/magma-components/{p-44aaca66.system.entry.js → p-f94593f9.system.entry.js} +1 -1
- package/dist/magma-components/{p-c4cf09ea.system.entry.js → p-fa5fb4be.system.entry.js} +1 -1
- package/dist/magma-components/p-fc8bce99.system.entry.js +1 -0
- package/dist/magma-components/p-fe13fac9.system.entry.js +1 -0
- package/dist/magma-components/{p-12a225e3.system.entry.js → p-feadfe43.system.entry.js} +1 -1
- package/dist/magma-components/{p-bf242a75.system.entry.js → p-ffa94d0f.system.entry.js} +1 -1
- package/dist/stats.json +3575 -2712
- package/dist/types/common/aria.d.ts +3 -1
- package/dist/types/common/date.d.ts +1 -1
- package/dist/types/common/device.d.ts +2 -0
- package/dist/types/common/file.d.ts +2 -2
- package/dist/types/common/locale.d.ts +3 -1
- package/dist/types/components/mds-accordion/mds-accordion.d.ts +1 -1
- package/dist/types/components/mds-accordion-item/mds-accordion-item.d.ts +1 -1
- package/dist/types/components/mds-accordion-timer/mds-accordion-timer.d.ts +1 -1
- package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +1 -1
- package/dist/types/components/mds-avatar/mds-avatar.d.ts +1 -1
- package/dist/types/components/mds-badge/mds-badge.d.ts +2 -2
- package/dist/types/components/mds-banner/mds-banner.d.ts +3 -1
- package/dist/types/components/mds-benchmark-bar/mds-benchmark-bar.d.ts +1 -1
- package/dist/types/components/mds-bibliography/mds-bibliography.d.ts +1 -1
- package/dist/types/components/mds-breadcrumb/mds-breadcrumb.d.ts +5 -1
- package/dist/types/components/mds-button/mds-button.d.ts +2 -2
- package/dist/types/components/mds-chip/mds-chip.d.ts +22 -7
- package/dist/types/components/mds-chip/test/mds-chip.stories.d.ts +30 -4
- package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +1 -1
- package/dist/types/components/mds-entity/mds-entity.d.ts +1 -1
- package/dist/types/components/mds-file/mds-file.d.ts +4 -5
- package/dist/types/components/mds-file-preview/mds-file-preview.d.ts +7 -4
- package/dist/types/components/mds-file-preview/meta/event-detail.d.ts +1 -1
- package/dist/types/components/mds-filter/mds-filter.d.ts +1 -1
- package/dist/types/components/mds-header/mds-header.d.ts +1 -1
- package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +1 -1
- package/dist/types/components/mds-help/mds-help.d.ts +1 -1
- package/dist/types/components/mds-icon/services/icons-set.service.d.ts +20 -4
- package/dist/types/components/mds-icon/test/mds-icon.stories.d.ts +1 -0
- package/dist/types/components/mds-img/mds-img.d.ts +3 -1
- package/dist/types/components/mds-input/mds-input.d.ts +6 -7
- package/dist/types/components/mds-input/test/mds-input.stories.d.ts +1 -0
- package/dist/types/components/mds-input-field/mds-input-field.d.ts +5 -6
- package/dist/types/components/mds-input-range/mds-input-range.d.ts +1 -0
- package/dist/types/components/mds-input-range/test/mds-input-range.stories.d.ts +0 -4
- package/dist/types/components/mds-input-select/mds-input-select.d.ts +3 -3
- package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +2 -1
- package/dist/types/components/mds-input-switch/meta/interfaces.d.ts +1 -1
- package/dist/types/components/mds-input-tip-item/mds-input-tip-item.d.ts +3 -1
- package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +13 -10
- package/dist/types/components/mds-kpi-item/mds-kpi-item.d.ts +1 -1
- package/dist/types/components/mds-label/mds-label.d.ts +6 -3
- package/dist/types/components/mds-list-item/mds-list-item.d.ts +1 -1
- package/dist/types/components/mds-modal/test/mds-modal.stories.d.ts +1 -2
- package/dist/types/components/mds-note/mds-note.d.ts +5 -1
- package/dist/types/components/mds-pref/mds-pref.d.ts +2 -0
- package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +9 -8
- package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +10 -9
- package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +11 -10
- package/dist/types/components/mds-pref-language/mds-pref-language.d.ts +20 -15
- package/dist/types/components/mds-pref-language/test/mds-pref-language.stories.d.ts +1 -1
- package/dist/types/components/mds-pref-language-item/mds-pref-language-item.d.ts +5 -4
- package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +14 -12
- package/dist/types/components/mds-price-table-list-item/mds-price-table-list-item.d.ts +1 -1
- package/dist/types/components/mds-progress/mds-progress.d.ts +2 -1
- package/dist/types/components/mds-push-notification/mds-push-notification.d.ts +4 -2
- package/dist/types/components/mds-quote/mds-quote.d.ts +6 -1
- package/dist/types/components/mds-quote/test/mds-quote.stories.d.ts +7 -0
- package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +1 -1
- package/dist/types/components/mds-tab/mds-tab.d.ts +1 -1
- package/dist/types/components/mds-tab-bar-item/mds-tab-bar-item.d.ts +1 -1
- package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +1 -1
- package/dist/types/components/mds-table/mds-table.d.ts +1 -0
- package/dist/types/components/mds-table/test/mds-table.stories.d.ts +1 -0
- package/dist/types/components/mds-table-header-cell/meta/types.d.ts +1 -1
- package/dist/types/components/mds-table-row/mds-table-row.d.ts +4 -0
- package/dist/types/components/mds-text/mds-text.d.ts +4 -3
- package/dist/types/components/mds-text/meta/types.d.ts +0 -1
- package/dist/types/components/mds-toast/mds-toast.d.ts +1 -1
- package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +2 -2
- package/dist/types/components/mds-url-view/mds-url-view.d.ts +5 -1
- package/dist/types/components/mds-usage/mds-usage.d.ts +0 -2
- package/dist/types/components.d.ts +99 -117
- package/dist/types/dictionary/file-extensions.d.ts +1 -1
- package/dist/types/dictionary/text.d.ts +3 -1
- package/dist/types/dictionary/variant.d.ts +2 -1
- package/dist/types/event-detail/language.d.ts +1 -2
- package/dist/types/event-detail/preference.d.ts +2 -2
- package/dist/types/stencil-public-runtime.d.ts +6 -0
- package/dist/types/type/autocomplete.d.ts +1 -1
- package/dist/types/type/input.d.ts +3 -0
- package/dist/types/type/text.d.ts +2 -0
- package/dist/types/type/variant-file-format.d.ts +1 -1
- package/dist/types/type/variant.d.ts +2 -1
- package/loader/cdn.js +2 -0
- package/loader/index.cjs.js +2 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +2 -0
- package/loader/index.js +3 -0
- package/loader/package.json +11 -0
- package/package.json +17 -13
- package/dist/cjs/file-0d013422.js +0 -154
- package/dist/cjs/file-extensions-b57dcf2c.js +0 -68
- package/dist/cjs/locale-c6c02a3a.js +0 -4796
- package/dist/collection/components/mds-input/meta/event-detail.js +0 -1
- package/dist/collection/components/mds-pref-language-nav/mds-pref-language-nav.css +0 -28
- package/dist/collection/components/mds-pref-language-nav/mds-pref-language-nav.js +0 -118
- package/dist/collection/interface/input-value.js +0 -1
- package/dist/collection/type/language.js +0 -1
- package/dist/components/file.js +0 -212
- package/dist/components/mds-pref-language-nav.d.ts +0 -11
- package/dist/components/mds-pref-language-nav.js +0 -6
- package/dist/components/mds-pref-language-nav2.js +0 -936
- package/dist/esm/_commonjsHelpers-e557d4a5.js +0 -11
- package/dist/esm/file-4e952d4d.js +0 -149
- package/dist/esm/file-extensions-e7320b03.js +0 -65
- package/dist/esm/locale-a730711f.js +0 -4794
- package/dist/esm-es5/_commonjsHelpers-e557d4a5.js +0 -1
- package/dist/esm-es5/aria-0e390d9c.js +0 -1
- package/dist/esm-es5/file-4e952d4d.js +0 -1
- package/dist/esm-es5/file-extensions-e7320b03.js +0 -1
- package/dist/esm-es5/floating-ui.dom.esm-f7b7f919.js +0 -1
- package/dist/esm-es5/index-f08bac5f.js +0 -1
- package/dist/esm-es5/locale-a730711f.js +0 -1
- package/dist/esm-es5/mds-dropdown_2.entry.js +0 -1
- package/dist/magma-components/p-00f83b1c.entry.js +0 -1
- package/dist/magma-components/p-02d1e968.entry.js +0 -1
- package/dist/magma-components/p-06adda46.system.entry.js +0 -1
- package/dist/magma-components/p-0d867719.entry.js +0 -1
- package/dist/magma-components/p-0e2ba962.entry.js +0 -1
- package/dist/magma-components/p-0fb85a5b.entry.js +0 -1
- package/dist/magma-components/p-19d5cfd1.system.entry.js +0 -1
- package/dist/magma-components/p-1a8bb922.system.entry.js +0 -1
- package/dist/magma-components/p-1c618541.entry.js +0 -1
- package/dist/magma-components/p-1ebc919c.system.entry.js +0 -1
- package/dist/magma-components/p-239398e3.entry.js +0 -1
- package/dist/magma-components/p-30c59b63.entry.js +0 -1
- package/dist/magma-components/p-348bfa69.system.entry.js +0 -1
- package/dist/magma-components/p-34b6dae4.entry.js +0 -1
- package/dist/magma-components/p-35010f4f.system.entry.js +0 -1
- package/dist/magma-components/p-369fc037.system.js +0 -2
- package/dist/magma-components/p-39379806.js +0 -1
- package/dist/magma-components/p-39f3c979.entry.js +0 -1
- package/dist/magma-components/p-3a1212f7.system.js +0 -1
- package/dist/magma-components/p-3b821237.entry.js +0 -1
- package/dist/magma-components/p-3bce2736.entry.js +0 -1
- package/dist/magma-components/p-3bd5921c.entry.js +0 -1
- package/dist/magma-components/p-3bd829b2.system.entry.js +0 -1
- package/dist/magma-components/p-3c7dd9e6.entry.js +0 -1
- package/dist/magma-components/p-3d6026a7.entry.js +0 -1
- package/dist/magma-components/p-40444810.entry.js +0 -1
- package/dist/magma-components/p-456e8f90.entry.js +0 -1
- package/dist/magma-components/p-45840cb9.js +0 -1
- package/dist/magma-components/p-4818acd8.entry.js +0 -1
- package/dist/magma-components/p-4852095e.system.entry.js +0 -1
- package/dist/magma-components/p-49457689.entry.js +0 -1
- package/dist/magma-components/p-498d8d1f.system.entry.js +0 -1
- package/dist/magma-components/p-4a21d75f.entry.js +0 -1
- package/dist/magma-components/p-4ba3ec43.entry.js +0 -1
- package/dist/magma-components/p-4bb672d5.system.entry.js +0 -1
- package/dist/magma-components/p-4cd1cddc.js +0 -1
- package/dist/magma-components/p-4cf59911.system.entry.js +0 -1
- package/dist/magma-components/p-5251fc6b.entry.js +0 -18
- package/dist/magma-components/p-53b343a8.js +0 -1
- package/dist/magma-components/p-56e687bd.entry.js +0 -1
- package/dist/magma-components/p-5958cf43.entry.js +0 -1
- package/dist/magma-components/p-5de2329f.entry.js +0 -1
- package/dist/magma-components/p-5ff768d2.system.entry.js +0 -1
- package/dist/magma-components/p-606200e3.entry.js +0 -1
- package/dist/magma-components/p-61fd38ea.system.entry.js +0 -1
- package/dist/magma-components/p-62358ead.entry.js +0 -1
- package/dist/magma-components/p-62bf3a83.system.entry.js +0 -1
- package/dist/magma-components/p-63f0d264.entry.js +0 -1
- package/dist/magma-components/p-66056cdc.system.js +0 -1
- package/dist/magma-components/p-663bb379.system.entry.js +0 -1
- package/dist/magma-components/p-66976b79.entry.js +0 -1
- package/dist/magma-components/p-66f540ac.system.entry.js +0 -1
- package/dist/magma-components/p-676db22b.entry.js +0 -1
- package/dist/magma-components/p-6810a806.system.entry.js +0 -1
- package/dist/magma-components/p-6c14d91c.entry.js +0 -1
- package/dist/magma-components/p-6e2784c9.entry.js +0 -1
- package/dist/magma-components/p-6eecbc9e.system.entry.js +0 -1
- package/dist/magma-components/p-71f86ae7.system.entry.js +0 -1
- package/dist/magma-components/p-728cf2dc.entry.js +0 -1
- package/dist/magma-components/p-763ed882.entry.js +0 -1
- package/dist/magma-components/p-7776a592.entry.js +0 -1
- package/dist/magma-components/p-7a41c057.system.entry.js +0 -1
- package/dist/magma-components/p-7cae0221.system.entry.js +0 -1
- package/dist/magma-components/p-7d19a7c6.entry.js +0 -1
- package/dist/magma-components/p-7d45974f.entry.js +0 -1
- package/dist/magma-components/p-7ff9abda.system.entry.js +0 -1
- package/dist/magma-components/p-82c83671.system.entry.js +0 -1
- package/dist/magma-components/p-846bafa4.system.js +0 -1
- package/dist/magma-components/p-85efbd11.entry.js +0 -1
- package/dist/magma-components/p-8a3e4d1f.system.entry.js +0 -1
- package/dist/magma-components/p-8ab85f10.entry.js +0 -1
- package/dist/magma-components/p-8c9bba00.system.entry.js +0 -1
- package/dist/magma-components/p-8ddbf6c1.system.entry.js +0 -1
- package/dist/magma-components/p-91391486.entry.js +0 -1
- package/dist/magma-components/p-91deec04.system.entry.js +0 -1
- package/dist/magma-components/p-934a4af6.system.entry.js +0 -18
- package/dist/magma-components/p-9381402f.entry.js +0 -1
- package/dist/magma-components/p-94bbfe16.entry.js +0 -1
- package/dist/magma-components/p-95e2abb6.js +0 -1
- package/dist/magma-components/p-9dfb1723.system.js +0 -1
- package/dist/magma-components/p-9f4b5a49.entry.js +0 -1
- package/dist/magma-components/p-9f80f36c.system.entry.js +0 -1
- package/dist/magma-components/p-9fefae6a.system.entry.js +0 -1
- package/dist/magma-components/p-a56a4fe4.entry.js +0 -1
- package/dist/magma-components/p-ac2a7c27.js +0 -1
- package/dist/magma-components/p-aebd1b47.entry.js +0 -1
- package/dist/magma-components/p-af75f100.entry.js +0 -1
- package/dist/magma-components/p-b3afbdcd.system.js +0 -1
- package/dist/magma-components/p-b3db90c1.entry.js +0 -1
- package/dist/magma-components/p-b435daa4.system.entry.js +0 -1
- package/dist/magma-components/p-b4395edb.system.entry.js +0 -1
- package/dist/magma-components/p-b4ce85d6.system.entry.js +0 -1
- package/dist/magma-components/p-b4ee4798.entry.js +0 -1
- package/dist/magma-components/p-b53e817c.system.entry.js +0 -1
- package/dist/magma-components/p-b6defcb6.js +0 -2
- package/dist/magma-components/p-b975c42a.js +0 -1
- package/dist/magma-components/p-bc867380.entry.js +0 -1
- package/dist/magma-components/p-bf08086c.system.entry.js +0 -1
- package/dist/magma-components/p-c6c8c32d.system.entry.js +0 -1
- package/dist/magma-components/p-c7343c40.system.entry.js +0 -9
- package/dist/magma-components/p-c852e0cb.entry.js +0 -8
- package/dist/magma-components/p-ca5f0f4d.entry.js +0 -1
- package/dist/magma-components/p-caf2dd9c.system.entry.js +0 -1
- package/dist/magma-components/p-cd9191a7.system.entry.js +0 -1
- package/dist/magma-components/p-d2cf0fd3.entry.js +0 -1
- package/dist/magma-components/p-dcc96bdb.entry.js +0 -1
- package/dist/magma-components/p-e203fbb0.system.entry.js +0 -1
- package/dist/magma-components/p-e249cc64.system.js +0 -1
- package/dist/magma-components/p-e307af8d.system.entry.js +0 -1
- package/dist/magma-components/p-e3b16a3f.entry.js +0 -1
- package/dist/magma-components/p-e72c4889.system.entry.js +0 -1
- package/dist/magma-components/p-e9042c7c.system.entry.js +0 -1
- package/dist/magma-components/p-eaade5d2.entry.js +0 -1
- package/dist/magma-components/p-ebfe7149.entry.js +0 -1
- package/dist/magma-components/p-ec231a39.system.entry.js +0 -1
- package/dist/magma-components/p-ee6d48f2.system.entry.js +0 -1
- package/dist/magma-components/p-f4bbd91e.system.entry.js +0 -1
- package/dist/magma-components/p-f855cdc0.entry.js +0 -1
- package/dist/types/components/mds-input/meta/event-detail.d.ts +0 -3
- package/dist/types/components/mds-pref-language-nav/mds-pref-language-nav.d.ts +0 -23
- package/dist/types/interface/input-value.d.ts +0 -4
- package/dist/types/type/language.d.ts +0 -2
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
:host(:hover),
|
|
42
42
|
:host(:focus-within) {
|
|
43
43
|
|
|
44
|
-
--mds-input-select-variant-color: var(--
|
|
44
|
+
--mds-input-select-variant-color: var(--variant-primary-03);
|
|
45
45
|
--mds-input-select-ring: 0 0 0 3px rgb(var(--mds-input-select-variant-color) / 1);
|
|
46
46
|
--mds-input-select-shadow: 0 4px 6px -1px rgb(var(--mds-input-select-variant-color) / 0.1), 0 2px 4px -1px rgb(var(--mds-input-select-variant-color) / 0.06);
|
|
47
47
|
--mds-input-select-arrow-icon-background-color: var(--mds-input-select-arrow-icon-hover-background-color);
|
|
@@ -169,8 +169,8 @@
|
|
|
169
169
|
|
|
170
170
|
transition-duration: 200ms;
|
|
171
171
|
|
|
172
|
-
background-color: var(--mds-input-select-arrow-icon-background-color, rgb(var(--
|
|
173
|
-
fill: var(--mds-input-select-arrow-icon-color, rgb(var(--
|
|
172
|
+
background-color: var(--mds-input-select-arrow-icon-background-color, rgb(var(--variant-primary-09)));
|
|
173
|
+
fill: var(--mds-input-select-arrow-icon-color, rgb(var(--variant-primary-04)));
|
|
174
174
|
transition-property: background-color, fill;
|
|
175
175
|
}
|
|
176
176
|
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
|
|
193
193
|
:host {
|
|
194
194
|
|
|
195
|
-
--mds-input-select-background: rgb(var(--
|
|
195
|
+
--mds-input-select-background: rgb(var(--variant-primary-07));
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
198
|
|
|
@@ -200,18 +200,18 @@
|
|
|
200
200
|
|
|
201
201
|
:host {
|
|
202
202
|
|
|
203
|
-
--mds-input-select-icon-color: var(--
|
|
203
|
+
--mds-input-select-icon-color: var(--variant-primary-03);
|
|
204
204
|
--mds-input-select-variant-color: 0 0 0;
|
|
205
|
-
--mds-input-select-arrow-icon-blur-background-color: rgb(var(--
|
|
206
|
-
--mds-input-select-arrow-icon-hover-background-color: rgb(var(--
|
|
207
|
-
--mds-input-select-arrow-icon-blur-color: rgb(var(--
|
|
208
|
-
--mds-input-select-arrow-icon-hover-color: rgb(var(--
|
|
205
|
+
--mds-input-select-arrow-icon-blur-background-color: rgb(var(--variant-primary-09));
|
|
206
|
+
--mds-input-select-arrow-icon-hover-background-color: rgb(var(--variant-primary-08));
|
|
207
|
+
--mds-input-select-arrow-icon-blur-color: rgb(var(--variant-primary-06));
|
|
208
|
+
--mds-input-select-arrow-icon-hover-color: rgb(var(--variant-primary-04));
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
:host( :hover ),
|
|
212
212
|
:host( :focus-within ) {
|
|
213
213
|
|
|
214
|
-
--mds-input-select-variant-color: var(--
|
|
214
|
+
--mds-input-select-variant-color: var(--variant-primary-04);
|
|
215
215
|
}
|
|
216
216
|
|
|
217
217
|
:host( [variant="info"] ) {
|
|
@@ -316,7 +316,7 @@
|
|
|
316
316
|
|
|
317
317
|
--mds-input-select-ring: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.3);
|
|
318
318
|
--mds-input-select-arrow-icon-background-color: var(--mds-input-select-arrow-icon-blur-background-color);
|
|
319
|
-
--mds-input-select-arrow-icon-blur-background-color: rgb(var(--
|
|
319
|
+
--mds-input-select-arrow-icon-blur-background-color: rgb(var(--variant-primary-05));
|
|
320
320
|
--mds-input-select-arrow-icon-blur-color: rgb(var(--mds-input-select-variant-color));
|
|
321
321
|
--mds-input-select-arrow-icon-color: var(--mds-input-select-arrow-icon-blur-color);
|
|
322
322
|
--mds-input-select-arrow-icon-hover-background-color: rgb(var(--mds-input-select-variant-color));
|
|
@@ -335,7 +335,7 @@
|
|
|
335
335
|
|
|
336
336
|
--mds-input-select-ring: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.3);
|
|
337
337
|
--mds-input-select-arrow-icon-background-color: var(--mds-input-select-arrow-icon-blur-background-color);
|
|
338
|
-
--mds-input-select-arrow-icon-blur-background-color: rgb(var(--
|
|
338
|
+
--mds-input-select-arrow-icon-blur-background-color: rgb(var(--variant-primary-05));
|
|
339
339
|
--mds-input-select-arrow-icon-blur-color: rgb(var(--mds-input-select-variant-color));
|
|
340
340
|
--mds-input-select-arrow-icon-color: var(--mds-input-select-arrow-icon-blur-color);
|
|
341
341
|
--mds-input-select-arrow-icon-hover-background-color: rgb(var(--mds-input-select-variant-color));
|
|
@@ -81,20 +81,20 @@ export class MdsInputSelect {
|
|
|
81
81
|
* Emits the change event when the component value changes
|
|
82
82
|
*/
|
|
83
83
|
valueChanged() {
|
|
84
|
-
var _a;
|
|
84
|
+
var _a, _b, _c;
|
|
85
85
|
this.selected = this.value !== '';
|
|
86
|
-
this.changeEvent.emit({ value: this.value });
|
|
87
|
-
this.internals.setFormValue((
|
|
86
|
+
this.changeEvent.emit({ value: (_a = this.value) === null || _a === void 0 ? void 0 : _a.toString() });
|
|
87
|
+
this.internals.setFormValue((_c = (_b = this.value) === null || _b === void 0 ? void 0 : _b.toString()) !== null && _c !== void 0 ? _c : null);
|
|
88
88
|
}
|
|
89
89
|
componentDidLoad() {
|
|
90
90
|
if (this.value) {
|
|
91
91
|
this.selected = true;
|
|
92
|
-
this.internals.setFormValue(this.value);
|
|
92
|
+
this.internals.setFormValue(this.value.toString());
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
render() {
|
|
96
|
-
return (h(Host, { key: '
|
|
97
|
-
h("mds-input-tip-item", { key: '
|
|
96
|
+
return (h(Host, { key: 'e1ea289b9af23ce497e370abd8d874d739d4eb77' }, h("select", { key: '0df60946dc418b09ada1dfb04ad5f0d962bd93f7', class: clsx('input', this.selected && 'input--selected'), onInput: this.onInput.bind(this), onBlur: this.onBlur, onFocus: this.onFocus, name: this.name, required: this.required, disabled: this.disabled, multiple: this.multiple, size: this.size, part: "select" }, this.placeholder && h("option", { key: 'e39a3bce88402b2caf01d565d365102e35af7f52', value: "", disabled: true, selected: true }, this.placeholder)), h("div", { key: '4c9de2341fcf7406f053e69ae4110d74633b3817', class: "icon-container" }, h("i", { key: 'cb279deb238fbec77456e3d5322e05bbcb6068ac', class: "icon", innerHTML: miBaselineKeyboardArrowDown })), h("div", { key: '4a83b6b1daadb49197a9dcd7db57d2670f480955', class: "option-container" }, h("slot", { key: '43a3d13257bfea367bf1abb5d95137fdc2940138', onSlotchange: this.onSlotChangeHandler })), h("mds-input-tip", { key: 'b8ab18d380eec1842ed12487f819e8eb32132a5d', position: "top", active: this.hasFocus }, this.disabled && h("mds-input-tip-item", { key: 'b1bfb92dae2d4b48784958158edc2559d338931e', expanded: true, variant: "disabled" }), this.required &&
|
|
97
|
+
h("mds-input-tip-item", { key: '9f441604bfc6035b0f1875ae17026a8a369ec620', expanded: this.hasFocus, variant: this.value === '' ? 'required' : 'required-success' }))));
|
|
98
98
|
}
|
|
99
99
|
static get is() { return "mds-input-select"; }
|
|
100
100
|
static get encapsulation() { return "shadow"; }
|
|
@@ -312,13 +312,13 @@ export class MdsInputSelect {
|
|
|
312
312
|
"text": "Emits an InputChangeEventDetail when the value of the input element changes"
|
|
313
313
|
},
|
|
314
314
|
"complexType": {
|
|
315
|
-
"original": "
|
|
316
|
-
"resolved": "
|
|
315
|
+
"original": "MdsInputEventDetail",
|
|
316
|
+
"resolved": "MdsInputEventDetail",
|
|
317
317
|
"references": {
|
|
318
|
-
"
|
|
318
|
+
"MdsInputEventDetail": {
|
|
319
319
|
"location": "import",
|
|
320
|
-
"path": "@
|
|
321
|
-
"id": "src/
|
|
320
|
+
"path": "@type/input",
|
|
321
|
+
"id": "src/type/input.ts::MdsInputEventDetail"
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
}
|
|
@@ -43,12 +43,12 @@
|
|
|
43
43
|
--mds-input-switch-animation-timing-function: cubic-bezier(0.455, 0.03, 0.515, 0.955);
|
|
44
44
|
--mds-input-switch-duration: 300ms;
|
|
45
45
|
--mds-input-switch-icon-color-checked-disabled: rgb(var(--tone-neutral-06));
|
|
46
|
-
--mds-input-switch-icon-color-checked: rgb(var(--
|
|
46
|
+
--mds-input-switch-icon-color-checked: rgb(var(--variant-primary-04));
|
|
47
47
|
--mds-input-switch-icon-color-indeterminate-disabled: rgb(var(--tone-neutral-05));
|
|
48
48
|
--mds-input-switch-icon-color-indeterminate: rgb(var(--tone-neutral-05));
|
|
49
49
|
--mds-input-switch-icon-color-unchecked-disabled: rgb(var(--tone-neutral-06));
|
|
50
50
|
--mds-input-switch-icon-color-unchecked: rgb(var(--tone-neutral-06));
|
|
51
|
-
--mds-input-switch-box-color-checked: rgb(var(--
|
|
51
|
+
--mds-input-switch-box-color-checked: rgb(var(--variant-primary-04));
|
|
52
52
|
--mds-input-switch-box-color-disabled-checked: rgb(var(--tone-neutral-06));
|
|
53
53
|
--mds-input-switch-box-color-disabled-unchecked: rgb(var(--tone-neutral-08));
|
|
54
54
|
--mds-input-switch-box-color-unchecked: rgb(var(--tone-neutral-07));
|
|
@@ -63,19 +63,20 @@ export class MdsInputSwitch {
|
|
|
63
63
|
this.value = '';
|
|
64
64
|
}
|
|
65
65
|
componentDidLoad() {
|
|
66
|
-
var _a;
|
|
67
|
-
this.
|
|
66
|
+
var _a, _b;
|
|
67
|
+
this.label = (_a = this.host.textContent) !== null && _a !== void 0 ? _a : '';
|
|
68
|
+
this.internals.setFormValue(this.checked ? (_b = this.value) !== null && _b !== void 0 ? _b : null : null);
|
|
68
69
|
this.checkFocusElement();
|
|
69
70
|
}
|
|
70
71
|
render() {
|
|
71
72
|
var _a;
|
|
72
73
|
const { iconChecked, iconUnchecked, iconIndeterminate } = inputSwitchIconVariant[this.type];
|
|
73
74
|
const iconCheckedUser = this.icon !== '' ? this.icon : iconChecked;
|
|
74
|
-
return (h(Host, { key: '
|
|
75
|
+
return (h(Host, { key: 'f9a223e37e15669ba5b8ed7e7f771c4445f24c15', onClick: this.handleDirty }, h("input", { key: '3a3fe64406b9617e777fcb18ea02c8d32e71e7af', autoFocus: this.autofocus, checked: this.checked, class: "field", disabled: this.disabled, id: "field", indeterminate: this.indeterminate, name: this.name, onChange: event => this.handleInputOnChange(event), type: this.type === 'switch' ? 'checkbox' : this.type, value: (_a = this.value) !== null && _a !== void 0 ? _a : undefined }), this.type === 'switch'
|
|
75
76
|
?
|
|
76
|
-
h("label", { htmlFor: "field", class: clsx('switch-container', this.dirty !== false && 'dirty'), tabindex: "0",
|
|
77
|
+
h("label", { htmlFor: "field", class: clsx('switch-container', this.dirty !== false && 'dirty'), tabindex: "0", "aria-label": this.label }, h("div", { class: "switch" }, h("div", { class: "switch-toggle" }, this.explicit && h("mds-icon", { class: "icon-explicit", name: this.checked ? miBaselineChecked : miBaselineRemove }))))
|
|
77
78
|
:
|
|
78
|
-
h("label", { htmlFor: "field", class: "label-icon",
|
|
79
|
+
h("label", { htmlFor: "field", class: "label-icon", "aria-hidden": "true" }, h("mds-text", { class: "icon-typography-unchecked", tag: "div", typography: this.typography, variant: this.variant }, h("mds-icon", { class: "icon-unchecked", name: iconUnchecked })), h("mds-text", { class: "icon-typography-checked", tag: "div", typography: this.typography, variant: this.variant }, h("mds-icon", { class: "icon-checked", name: clsx(this.indeterminate ? iconIndeterminate : iconCheckedUser) }))), h("label", { key: '4f9a69c82ecc673d34a2de4119709b82f5836313', htmlFor: "field", class: "label-text" }, h("mds-text", { key: '94b9e53c0ec630e477cbcada5d3c8342655b9dd9', typography: this.typography, variant: this.variant }, h("slot", { key: 'c4180e63473708002b9ccac0eb222c8194f4433a' })))));
|
|
79
80
|
}
|
|
80
81
|
static get is() { return "mds-input-switch"; }
|
|
81
82
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,27 +1,35 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
2
|
import miBaselineDone from "@icon/mi/baseline/done.svg";
|
|
3
3
|
import { Locale } from "../../common/locale";
|
|
4
|
+
import localeEl from "./meta/locale.el.json";
|
|
4
5
|
import localeEn from "./meta/locale.en.json";
|
|
6
|
+
import localeEs from "./meta/locale.es.json";
|
|
5
7
|
import localeIt from "./meta/locale.it.json";
|
|
6
8
|
export class MdsInputTipItem {
|
|
7
9
|
constructor() {
|
|
8
10
|
this.t = new Locale({
|
|
9
11
|
en: localeEn,
|
|
12
|
+
el: localeEl,
|
|
13
|
+
es: localeEs,
|
|
10
14
|
it: localeIt,
|
|
11
15
|
});
|
|
16
|
+
this.language = undefined;
|
|
12
17
|
this.variant = 'required';
|
|
13
18
|
this.expanded = true;
|
|
14
19
|
}
|
|
20
|
+
async updateLang() {
|
|
21
|
+
this.language = this.t.lang(this.element);
|
|
22
|
+
}
|
|
15
23
|
componentWillRender() {
|
|
16
24
|
this.t.lang(this.element);
|
|
17
25
|
}
|
|
18
26
|
render() {
|
|
19
|
-
return (h(Host, { key: '
|
|
20
|
-
h("mds-text", { key: '
|
|
21
|
-
h("mds-text", { key: '
|
|
22
|
-
h("mds-text", { key: '
|
|
23
|
-
h("mds-text", { key: '
|
|
24
|
-
h("span", { key: '
|
|
27
|
+
return (h(Host, { key: 'dfdba1a88042fc3a4fe6d29710e43cbddd797053' }, h("div", { key: 'cdc9cf831bb5621b046161ceed728f3cd52ab11c', class: "content" }, this.variant === 'text' &&
|
|
28
|
+
h("mds-text", { key: '3b53cc5eccd980f1666edfb1b9642d155bab8c15', typography: "option", truncate: "word" }, h("span", { key: '832d4dfa2c938a936bedbc0bdc00f446f71a53e3', class: "text" }, h("slot", { key: '5550f90749b34a8d748034f264089176d2735b55' }))), this.variant === 'readonly' &&
|
|
29
|
+
h("mds-text", { key: '7b7538403c428c440447a75b22952cc937d665f5', typography: "option", truncate: "word" }, h("span", { key: '0309833c99055fec6e8b5d8ec83220d8c0f7cf44', class: "text" }, this.variant && this.t.get(this.variant.toString()))), this.variant === 'disabled' &&
|
|
30
|
+
h("mds-text", { key: '32b1fa3193f69afb0ad9fc8c4c303c29623ea572', typography: "option", truncate: "word" }, h("span", { key: 'dd4ae36e3e512f1f734fead8941a8b66e53536b6', class: "text" }, this.variant && this.t.get(this.variant.toString()))), this.variant === 'required' &&
|
|
31
|
+
h("mds-text", { key: 'ffcb47a3ad73190ae42540240b7b17b71a3ddc04', typography: "option", truncate: "word" }, h("span", { key: 'f810d3748dafcdf7d23ba65a137be9b7f8ddf7b3', class: "text" }, this.variant && this.t.get(this.variant.toString()))), this.variant === 'required-success' &&
|
|
32
|
+
h("span", { key: '97aeef9538a145cf335a857a334047627d190a8c', class: "icon", innerHTML: miBaselineDone }))));
|
|
25
33
|
}
|
|
26
34
|
static get is() { return "mds-input-tip-item"; }
|
|
27
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -46,7 +54,7 @@ export class MdsInputTipItem {
|
|
|
46
54
|
"references": {
|
|
47
55
|
"InputTipItemVariantType": {
|
|
48
56
|
"location": "import",
|
|
49
|
-
"path": "
|
|
57
|
+
"path": "./meta/types",
|
|
50
58
|
"id": "src/components/mds-input-tip-item/meta/types.ts::InputTipItemVariantType"
|
|
51
59
|
}
|
|
52
60
|
}
|
|
@@ -81,5 +89,31 @@ export class MdsInputTipItem {
|
|
|
81
89
|
}
|
|
82
90
|
};
|
|
83
91
|
}
|
|
92
|
+
static get states() {
|
|
93
|
+
return {
|
|
94
|
+
"language": {}
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
static get methods() {
|
|
98
|
+
return {
|
|
99
|
+
"updateLang": {
|
|
100
|
+
"complexType": {
|
|
101
|
+
"signature": "() => Promise<void>",
|
|
102
|
+
"parameters": [],
|
|
103
|
+
"references": {
|
|
104
|
+
"Promise": {
|
|
105
|
+
"location": "global",
|
|
106
|
+
"id": "global::Promise"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"return": "Promise<void>"
|
|
110
|
+
},
|
|
111
|
+
"docs": {
|
|
112
|
+
"text": "",
|
|
113
|
+
"tags": []
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
}
|
|
84
118
|
static get elementRef() { return "element"; }
|
|
85
119
|
}
|
|
@@ -7,18 +7,24 @@ import { Host, h } from "@stencil/core";
|
|
|
7
7
|
import { ErrorType, LOCALSTORAGE_KEY_USER_SORT, Status } from "./meta/types";
|
|
8
8
|
import { genericMimeToExt } from "../../dictionary/file-extensions";
|
|
9
9
|
import { Locale } from "../../common/locale";
|
|
10
|
+
import localeEl from "./meta/locale.el.json";
|
|
10
11
|
import localeEn from "./meta/locale.en.json";
|
|
12
|
+
import localeEs from "./meta/locale.es.json";
|
|
11
13
|
import localeIt from "./meta/locale.it.json";
|
|
12
14
|
export class MdsInputUpload {
|
|
13
15
|
constructor() {
|
|
14
16
|
this.fileUploaded = 0;
|
|
15
17
|
this.cssMinCols = 1000;
|
|
16
|
-
this.
|
|
18
|
+
this.idFile = 0;
|
|
17
19
|
this.t = new Locale({
|
|
20
|
+
el: localeEl,
|
|
18
21
|
en: localeEn,
|
|
22
|
+
es: localeEs,
|
|
19
23
|
it: localeIt,
|
|
20
24
|
});
|
|
21
25
|
this.updateCSSCustomProps = () => {
|
|
26
|
+
if (typeof window === 'undefined')
|
|
27
|
+
return;
|
|
22
28
|
const elementStyles = window.getComputedStyle(this.host);
|
|
23
29
|
this.cssMinCols = Number(elementStyles.getPropertyValue('--mds-input-upload-min-cols'));
|
|
24
30
|
};
|
|
@@ -81,6 +87,7 @@ export class MdsInputUpload {
|
|
|
81
87
|
localStorage.setItem(LOCALSTORAGE_KEY_USER_SORT, this.userSort);
|
|
82
88
|
}
|
|
83
89
|
};
|
|
90
|
+
this.language = undefined;
|
|
84
91
|
this.actionTitle = '';
|
|
85
92
|
this.files = [];
|
|
86
93
|
this.progress = 0;
|
|
@@ -90,6 +97,9 @@ export class MdsInputUpload {
|
|
|
90
97
|
this.maxFiles = 1;
|
|
91
98
|
this.sort = undefined;
|
|
92
99
|
}
|
|
100
|
+
async updateLang() {
|
|
101
|
+
this.language = this.t.lang(this.host);
|
|
102
|
+
}
|
|
93
103
|
componentWillLoad() {
|
|
94
104
|
var _a;
|
|
95
105
|
this.extensions = this.getExtension();
|
|
@@ -137,7 +147,7 @@ export class MdsInputUpload {
|
|
|
137
147
|
// prepare new file added
|
|
138
148
|
for (const file of files) {
|
|
139
149
|
// update only file not added previously or files with errors
|
|
140
|
-
this.
|
|
150
|
+
this.idFile += 1;
|
|
141
151
|
const index = this.files.findIndex(f => f.key === file.name);
|
|
142
152
|
if (index === -1 || this.files[index].status !== Status.SUCCESS) {
|
|
143
153
|
// remove file with error
|
|
@@ -146,11 +156,11 @@ export class MdsInputUpload {
|
|
|
146
156
|
}
|
|
147
157
|
const { errorMessage, type } = this.checkError(file);
|
|
148
158
|
if (!errorMessage) {
|
|
149
|
-
this.files.push({ key: file.name, file, id: this.
|
|
159
|
+
this.files.push({ key: file.name, file, id: this.idFile, status: Status.SUCCESS });
|
|
150
160
|
this.fileUploaded += 1;
|
|
151
161
|
}
|
|
152
162
|
else {
|
|
153
|
-
this.files.push({ key: file.name, file, id: this.
|
|
163
|
+
this.files.push({ key: file.name, file, id: this.idFile, status: Status.ERROR, errorType: type, errorMessage });
|
|
154
164
|
}
|
|
155
165
|
}
|
|
156
166
|
}
|
|
@@ -262,10 +272,16 @@ export class MdsInputUpload {
|
|
|
262
272
|
sortById(a, b) {
|
|
263
273
|
return b.id - a.id;
|
|
264
274
|
}
|
|
275
|
+
isSortTabShown() {
|
|
276
|
+
return !!this.sort && this.files.length > 1;
|
|
277
|
+
}
|
|
265
278
|
render() {
|
|
266
|
-
return (h(Host, { key: '
|
|
267
|
-
h("mds-
|
|
268
|
-
:
|
|
279
|
+
return (h(Host, { key: 'a792c785e3bf546af643669295339258d432ca2a' }, h("div", { key: 'a56bcd8ba423d5bcebc6db10e6c8d71a1ff4584c', class: "drag-area", onDrop: this.onDropHandler, onDragOver: this.onDragOverHandler, onDragEnter: this.onDragEnterHandler, onDragLeave: this.onDragLeaveHandler, ref: dragArea => this.elDragArea = dragArea }, h("div", { key: '95fe93336a217fb31c8356b549a932a9b74ebddd', class: "main-action" }, h("div", { key: '53a6907f96b65a61c03f19ba4d0bba0465f950f8', class: "main-action-icon" }, h("i", { key: '9797bad2c4df806db28e9cd6fe2331ed36c0d29c', class: "icon", innerHTML: miBaselineAddCircle })), h("mds-text", { key: '39ed56cc236e03ad389a879c49af9862e259787f', animation: this.animateText ? 'yugop' : 'none', variant: "title", typography: "action", text: this.actionTitle })), h("div", { key: '246ae89ee012664526f2bf6da271f679b43853d1', class: "main-actions" }, h("mds-button", { key: 'fb9472b7193a50763a86f7f2f61aff469521b067', variant: 'primary', onClick: () => { var _a; return (_a = this.nativeInput) === null || _a === void 0 ? void 0 : _a.click(); } }, " ", this.files ? this.t.get('addFile', { maxFiles: this.maxFiles }) : this.t.get('selectFile')), this.files.length > 0 && h("mds-button", { key: '068da5408a1f6b61aef95235d64b94e39ca44a8e', variant: 'error', onClick: this.onReset }, this.t.get('cancel'))), h("div", { key: '913ff1d4131646afc616888102fe662b61763da9', class: "main-infos" }, h("mds-progress", { key: '3286632acbc5411a9662ebc364fd6d72f3d5cc46', "aria-hidden": "true", class: "progress-bar", progress: this.progress }), this.files.length < 1
|
|
280
|
+
? h("mds-text", { variant: "info", typography: "caption" }, this.t.get('maxFilesUpload', { maxFiles: this.maxFiles }))
|
|
281
|
+
: h("mds-text", { variant: "info", typography: "caption" }, this.maxFiles
|
|
282
|
+
? this.t.get('currentFilesWithMax', { currentFiles: this.files.length, maxFiles: this.maxFiles })
|
|
283
|
+
: this.t.get('currentFilesNoMax', { currentFiles: this.files.length })))), h("input", { key: '7b5a9fd3aade909d4204145faa4aee8a9f53e7af', type: 'file', accept: this.accept, hidden: true, ref: i => this.nativeInput = i, onChange: this.onAdd, multiple: this.maxFiles > 1 }), h("div", { key: 'ed18861c7e6443fc75dcfa2d408f9b0d90f1b37c', class: "additional-infos" }, h("div", { key: '8b858fcd8ed3eab40406973105550c250fbd971d', class: clsx('file-specs', this.isSortTabShown() && 'file-specs-sort') }, h("mds-text", { key: '835f92a0ab6d785e5ad359ef8c7908e5ed98fbcc', variant: "info", typography: "caption" }, this.extensions !== '' ? `${this.t.get('canUpload')} ${this.extensions}` : this.t.get('canUploadAll')), h("mds-text", { key: '32ee88f2bca36400021a394881764b0cea392a52', variant: "info", typography: "caption" }, this.t.get('maxFileSizePerFile', { maxFileSize: this.maxFileSize }))), this.isSortTabShown() &&
|
|
284
|
+
h("mds-tab", { key: '8801be0550155b365015a9e2371065f5dad58d59', class: "action-sort", onMdsTabChange: event => this.onChangeTab(event.detail) }, h("mds-tab-item", { key: '094ddc0512dcd5404c38e18fb3ea160e4a98758c', icon: iconSortById, selected: this.userSort === 'date', title: this.t.get('sortByDate'), value: 'date' }), h("mds-tab-item", { key: '0977f5de0a0d1be969311cf68d272d64108f16d2', icon: iconSortByStatus, selected: this.userSort === 'status', title: this.t.get('sortByStatus'), value: 'status' }))), h("div", { key: '9019416ac646dffe8d021f0843ed979af6bfefb8', class: clsx('file-list', this.files.length > this.cssMinCols && 'file-list--more-items') }, this.files.map(file => {
|
|
269
285
|
switch (file.status) {
|
|
270
286
|
case Status.ERROR:
|
|
271
287
|
return (h("mds-file-preview", { deletable: true, variant: "error", filename: file.file.name, filesize: file.file.size.toString(), onMdsFileDelete: () => this.onCancel(file.key), message: file.errorMessage }));
|
|
@@ -370,6 +386,7 @@ export class MdsInputUpload {
|
|
|
370
386
|
}
|
|
371
387
|
static get states() {
|
|
372
388
|
return {
|
|
389
|
+
"language": {},
|
|
373
390
|
"actionTitle": {},
|
|
374
391
|
"files": {},
|
|
375
392
|
"progress": {},
|
|
@@ -401,6 +418,23 @@ export class MdsInputUpload {
|
|
|
401
418
|
}
|
|
402
419
|
static get methods() {
|
|
403
420
|
return {
|
|
421
|
+
"updateLang": {
|
|
422
|
+
"complexType": {
|
|
423
|
+
"signature": "() => Promise<void>",
|
|
424
|
+
"parameters": [],
|
|
425
|
+
"references": {
|
|
426
|
+
"Promise": {
|
|
427
|
+
"location": "global",
|
|
428
|
+
"id": "global::Promise"
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
"return": "Promise<void>"
|
|
432
|
+
},
|
|
433
|
+
"docs": {
|
|
434
|
+
"text": "",
|
|
435
|
+
"tags": []
|
|
436
|
+
}
|
|
437
|
+
},
|
|
404
438
|
"getFiles": {
|
|
405
439
|
"complexType": {
|
|
406
440
|
"signature": "() => Promise<FileList | null>",
|
|
@@ -4,7 +4,7 @@ import { Host, h } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class MdsKpi {
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: '708ae136da63b0837b6b5244bd5914511c827914', role: "list" }, h("slot", { key: 'ab2517e35afd60e26f91823079372201a606f3c3' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "mds-kpi"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
:host {
|
|
11
11
|
|
|
12
|
-
--mds-kpi-item-icon-color: rgb(var(--
|
|
12
|
+
--mds-kpi-item-icon-color: rgb(var(--variant-primary-04));
|
|
13
13
|
--mds-kpi-item-info-background: rgb(var(--tone-neutral));
|
|
14
14
|
--mds-kpi-item-text-animation-placeholder-char: var(--mds-kpi-text-animation-placeholder-char, " ");
|
|
15
15
|
--mds-kpi-item-text-animation-speed: var(--mds-kpi-text-animation-speed, 0.15);
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
19
19
|
|
|
20
20
|
aspect-ratio: 1;
|
|
21
|
-
background-color: rgb(var(--
|
|
21
|
+
background-color: rgb(var(--variant-primary-10));
|
|
22
22
|
border-radius: 1rem;
|
|
23
23
|
box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
24
24
|
display: flex;
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
|
|
150
150
|
--mds-kpi-item-info-background: rgb(var(--tone-neutral-09));
|
|
151
151
|
|
|
152
|
-
background-color: rgb(var(--
|
|
152
|
+
background-color: rgb(var(--variant-primary-09));
|
|
153
153
|
box-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3);
|
|
154
154
|
}
|
|
155
155
|
}
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
|
|
162
162
|
--mds-kpi-item-info-background: rgb(var(--tone-neutral-09));
|
|
163
163
|
|
|
164
|
-
background-color: rgb(var(--
|
|
164
|
+
background-color: rgb(var(--variant-primary-09));
|
|
165
165
|
box-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3);
|
|
166
166
|
}
|
|
167
167
|
}
|
|
@@ -7,6 +7,8 @@ import { Host, h } from "@stencil/core";
|
|
|
7
7
|
export class MdsKpiItem {
|
|
8
8
|
constructor() {
|
|
9
9
|
this.setObserver = () => {
|
|
10
|
+
if (typeof window === 'undefined')
|
|
11
|
+
return;
|
|
10
12
|
this.observer = new window.IntersectionObserver(([entry]) => {
|
|
11
13
|
this.isIntersecting = entry.isIntersecting;
|
|
12
14
|
}, {
|
|
@@ -27,8 +29,8 @@ export class MdsKpiItem {
|
|
|
27
29
|
}
|
|
28
30
|
}
|
|
29
31
|
render() {
|
|
30
|
-
return (h(Host, { key: '
|
|
31
|
-
h("div", { key: '
|
|
32
|
+
return (h(Host, { key: '18d4a5a877ecded781040a3f6de264e47bc3fd4f', "aria-label": `${this.label}: ${this.description}`, role: "listitem" }, this.icon &&
|
|
33
|
+
h("div", { key: '73be825f8674587b7f9f2ad48e5b4ea250f1c7b5', class: "icon-container", part: "icon-container" }, h("mds-icon", { key: 'bc1fb262cb6bffd4c63fed97d655260f91b8b61e', class: "icon", name: this.icon, part: "icon" })), h("div", { key: '6567b14fa5a69948b5099d1a1e9a37d3cba62eb4', class: "info", part: "content", "aria-hidden": "true" }, this.label && this.threshold !== 0 && h("mds-text", { key: '92e58e88536a3324040fa794736df4ce31885747', class: "value", typography: "h2", text: this.isIntersecting ? this.label : '', animation: "yugop" }), this.label && this.threshold === 0 && h("mds-text", { key: 'ae2410bad8c18ef768ce932ad3787597c0a3ccf0', class: "value", typography: "h2" }, this.label), this.description && this.threshold !== 0 && h("mds-text", { key: 'd2c315edd53a1de077bec3da3d72f5ed37e42d8c', class: "description", typography: "label", text: this.isIntersecting ? this.description : '', animation: "yugop" }), this.description && this.threshold === 0 && h("mds-text", { key: 'a4f762c2e05ce728312cc5e140bd537ddeec155d', class: "description", typography: "label" }, this.description))));
|
|
32
34
|
}
|
|
33
35
|
static get is() { return "mds-kpi-item"; }
|
|
34
36
|
static get encapsulation() { return "shadow"; }
|
|
@@ -90,7 +92,7 @@ export class MdsKpiItem {
|
|
|
90
92
|
"optional": true,
|
|
91
93
|
"docs": {
|
|
92
94
|
"tags": [],
|
|
93
|
-
"text": "Specifies the
|
|
95
|
+
"text": "Specifies the page threshold which starts the text animation"
|
|
94
96
|
},
|
|
95
97
|
"attribute": "threshold",
|
|
96
98
|
"reflect": false,
|
|
@@ -66,10 +66,6 @@
|
|
|
66
66
|
|
|
67
67
|
.button-close{
|
|
68
68
|
|
|
69
|
-
margin: 0.0625rem;
|
|
70
|
-
|
|
71
|
-
margin-left: 0.25rem;
|
|
72
|
-
|
|
73
69
|
border-top-right-radius: 0.375rem;
|
|
74
70
|
|
|
75
71
|
border-bottom-right-radius: 0.375rem;
|
|
@@ -78,16 +74,13 @@
|
|
|
78
74
|
|
|
79
75
|
padding-right: 0.375rem;
|
|
80
76
|
|
|
81
|
-
transition-duration: 200ms;
|
|
82
|
-
|
|
83
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
84
|
-
|
|
85
77
|
--mds-button-background: var(--mds-label-button-background);
|
|
86
78
|
|
|
87
79
|
border-radius: 0 var(--mds-label-radius) var(--mds-label-radius) 0;
|
|
88
80
|
fill: var(--mds-label-button-icon-color);
|
|
81
|
+
flex-shrink: 0;
|
|
89
82
|
height: auto;
|
|
90
|
-
transition-
|
|
83
|
+
transition-duration: inherit;
|
|
91
84
|
}
|
|
92
85
|
|
|
93
86
|
.button-close:hover {
|
|
@@ -1,12 +1,23 @@
|
|
|
1
|
-
import
|
|
1
|
+
import miBaselineCancel from "@icon/mi/baseline/cancel.svg";
|
|
2
2
|
import { Host, h } from "@stencil/core";
|
|
3
3
|
import { KeyboardManager } from "../../common/keyboard-manager";
|
|
4
|
+
import { Locale } from "../../common/locale";
|
|
5
|
+
import localeEl from "./meta/locale.el.json";
|
|
6
|
+
import localeEn from "./meta/locale.en.json";
|
|
7
|
+
import localeEs from "./meta/locale.en.json";
|
|
8
|
+
import localeIt from "./meta/locale.it.json";
|
|
4
9
|
/**
|
|
5
10
|
* @slot default - Add `text string` to this slot, **avoid** to add `HTML elements` or `components` here.
|
|
6
11
|
*/
|
|
7
12
|
export class MdsLabel {
|
|
8
13
|
constructor() {
|
|
9
14
|
this.km = new KeyboardManager();
|
|
15
|
+
this.t = new Locale({
|
|
16
|
+
el: localeEl,
|
|
17
|
+
en: localeEn,
|
|
18
|
+
es: localeEs,
|
|
19
|
+
it: localeIt,
|
|
20
|
+
});
|
|
10
21
|
this.onClickDelete = (ev) => {
|
|
11
22
|
ev.stopPropagation();
|
|
12
23
|
ev.preventDefault();
|
|
@@ -22,6 +33,7 @@ export class MdsLabel {
|
|
|
22
33
|
}
|
|
23
34
|
this.km.detachClickBehavior();
|
|
24
35
|
};
|
|
36
|
+
this.language = undefined;
|
|
25
37
|
this.labelAction = 'Rimuovi';
|
|
26
38
|
this.variant = 'sky';
|
|
27
39
|
this.tone = 'quiet';
|
|
@@ -29,7 +41,11 @@ export class MdsLabel {
|
|
|
29
41
|
this.typography = 'caption';
|
|
30
42
|
this.deletable = false;
|
|
31
43
|
}
|
|
44
|
+
async updateLang() {
|
|
45
|
+
this.language = this.t.lang(this.host);
|
|
46
|
+
}
|
|
32
47
|
componentDidLoad() {
|
|
48
|
+
this.t.lang(this.host);
|
|
33
49
|
this.handleKeyboard();
|
|
34
50
|
}
|
|
35
51
|
componentDidUpdate() {
|
|
@@ -39,7 +55,7 @@ export class MdsLabel {
|
|
|
39
55
|
this.km.detachClickBehavior();
|
|
40
56
|
}
|
|
41
57
|
render() {
|
|
42
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: '298879cbb2e3124591fd56193e1fb4c9c742762f' }, h("mds-text", { key: 'd83285e05d3349893bb631c0959b308b77a61b91', class: "text", truncate: this.truncate, typography: this.typography }, h("slot", { key: '91a1447d89af77cf4c04af5c317746645b8c42d6' })), this.deletable && h("mds-button", { key: '5d19895daf7e8d9ea9c1bce66cc95446c8591f27', class: "button-close", icon: miBaselineCancel, onClick: this.onClickDelete.bind(this), title: this.t.get('remove') })));
|
|
43
59
|
}
|
|
44
60
|
static get is() { return "mds-label"; }
|
|
45
61
|
static get encapsulation() { return "shadow"; }
|
|
@@ -188,6 +204,11 @@ export class MdsLabel {
|
|
|
188
204
|
}
|
|
189
205
|
};
|
|
190
206
|
}
|
|
207
|
+
static get states() {
|
|
208
|
+
return {
|
|
209
|
+
"language": {}
|
|
210
|
+
};
|
|
211
|
+
}
|
|
191
212
|
static get events() {
|
|
192
213
|
return [{
|
|
193
214
|
"method": "deletedEvent",
|
|
@@ -206,5 +227,26 @@ export class MdsLabel {
|
|
|
206
227
|
}
|
|
207
228
|
}];
|
|
208
229
|
}
|
|
230
|
+
static get methods() {
|
|
231
|
+
return {
|
|
232
|
+
"updateLang": {
|
|
233
|
+
"complexType": {
|
|
234
|
+
"signature": "() => Promise<void>",
|
|
235
|
+
"parameters": [],
|
|
236
|
+
"references": {
|
|
237
|
+
"Promise": {
|
|
238
|
+
"location": "global",
|
|
239
|
+
"id": "global::Promise"
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
"return": "Promise<void>"
|
|
243
|
+
},
|
|
244
|
+
"docs": {
|
|
245
|
+
"text": "",
|
|
246
|
+
"tags": []
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
};
|
|
250
|
+
}
|
|
209
251
|
static get elementRef() { return "host"; }
|
|
210
252
|
}
|
|
@@ -4,7 +4,7 @@ import { Host, h } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class MdsList {
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: '16ebaa24a0bdf2be41d7f56123f7c6715854eb24', role: "list" }, h("slot", { key: '637993685633cb101f4ec188160be16cdbc7b60b' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "mds-list"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,7 +11,7 @@ export class MdsListItem {
|
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
13
|
var _a;
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '3f67b8ddd50a76c5647ad78856b9a65c65b55820', role: "listitem" }, h("mds-icon", { key: 'f6b2abd54a12676084a41d42d4afa01095562bc4', "aria-hidden": "true", class: "icon", name: (_a = this.icon) !== null && _a !== void 0 ? _a : mggListDot, part: "icon" }), h("mds-text", { key: '003bb421b298448196234fc3800df6be64a1416c', tag: "span", typography: this.typography, variant: this.variant, part: "text" }, h("slot", { key: 'ccbb7248d908cc77497aa0b58894ea896bbb9e51' }))));
|
|
15
15
|
}
|
|
16
16
|
static get is() { return "mds-list-item"; }
|
|
17
17
|
static get encapsulation() { return "shadow"; }
|