@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
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import dayjs from "dayjs";
|
|
2
|
+
import localeEl from "./meta/locale.el.json";
|
|
2
3
|
import localeEn from "./meta/locale.en.json";
|
|
4
|
+
import localeEs from "./meta/locale.es.json";
|
|
3
5
|
import localeIt from "./meta/locale.it.json";
|
|
4
6
|
import miBaselineCancel from "@icon/mi/baseline/cancel.svg";
|
|
5
7
|
import relativeTime from "dayjs/plugin/relativeTime";
|
|
@@ -18,13 +20,16 @@ dayjs.extend(relativeTime);
|
|
|
18
20
|
export class MdsPushNotification {
|
|
19
21
|
constructor() {
|
|
20
22
|
this.t = new Locale({
|
|
23
|
+
el: localeEl,
|
|
21
24
|
en: localeEn,
|
|
25
|
+
es: localeEs,
|
|
22
26
|
it: localeIt,
|
|
23
27
|
});
|
|
24
28
|
this.onClickClose = (e) => {
|
|
25
29
|
e.stopPropagation();
|
|
26
30
|
this.closedEvent.emit();
|
|
27
31
|
};
|
|
32
|
+
this.language = undefined;
|
|
28
33
|
this.datetime = undefined;
|
|
29
34
|
this.dateFormat = 'timeago';
|
|
30
35
|
this.deletable = true;
|
|
@@ -37,6 +42,9 @@ export class MdsPushNotification {
|
|
|
37
42
|
this.tone = 'weak';
|
|
38
43
|
this.variant = undefined;
|
|
39
44
|
}
|
|
45
|
+
async updateLang() {
|
|
46
|
+
this.language = this.t.lang(this.host);
|
|
47
|
+
}
|
|
40
48
|
componentWillLoad() {
|
|
41
49
|
var _a;
|
|
42
50
|
this.hasActions = this.host.querySelector('[slot="actions"]') !== null;
|
|
@@ -64,9 +72,9 @@ export class MdsPushNotification {
|
|
|
64
72
|
}
|
|
65
73
|
render() {
|
|
66
74
|
var _a;
|
|
67
|
-
return (h(Host, { key: '
|
|
75
|
+
return (h(Host, { key: 'fb0bb49a54e0059779a7507b6204a4fb95e6d416' }, ((_a = this.icon) !== null && _a !== void 0 ? _a : this.preview === 'avatar') && h("mds-avatar", { key: '36df14237eae97491ca677ed507419d587abe139', class: "avatar", icon: this.icon, initials: this.initials, part: "avatar", src: this.src, tone: this.tone, variant: this.variant }), this.src && this.preview !== 'avatar' && h("mds-img", { key: 'd1c26548d723f1b624294a561efbbae8e5e0a133', class: "picture", part: "picture", src: this.src }), h("div", { key: '19c9c55ab9f35433aaa17857ef637878e2c3674d', class: "content", part: "content" }, h("div", { key: 'bc1d02a555df4f14a4075f012b0b5a1d5a383a6c', class: "header" }, h("div", { key: 'dd1cfea1b3e978de93c06fb96e3d301b42155f10', class: "infos" }, this.hasBadge && h("div", { key: '17128b559b34384f4f20afab1a07654fd8f81f39' }, h("slot", { key: '5087eb822c4f1ac96b96e8bae51597583cf6f8b0', name: "badge" })), this.subject && h("mds-text", { key: '7b57beff77694fa4a7a0e95199060d9e8481c97a', class: "subject", typography: "h6", variant: "title", truncate: "all" }, this.subject)), this.datetime && h("mds-text", { key: 'f6138c1053bbeba3f7b0098f2b4d107f9a504792', class: "time", typography: "option" }, this.dateFormat === 'timeago'
|
|
68
76
|
? dayjs(this.datetime).fromNow()
|
|
69
|
-
: dayjs(this.datetime).format(this.dateFormat))), h("mds-text", { key: '
|
|
77
|
+
: dayjs(this.datetime).format(this.dateFormat))), h("mds-text", { key: 'c870d5168b8bf0ac69cbd0c0b7f9544df1261e48', class: "message", truncate: "all", typography: "caption", variant: "info" }, this.message), this.hasActions && h("div", { key: 'a49ec7b8adbfc94d9f09ee6ebab2bb9831954877', class: "actions", part: "actions" }, h("slot", { key: 'bc30e20478153457a333a21eb5caee616dbdba7d', name: "actions" }))), this.deletable && h("mds-button", { key: '0fc28572cbfb9c53412ab5bb3eb5d3989f0cc1a1', class: "close-button", title: this.t.get('dismiss'), icon: miBaselineCancel, onClick: this.onClickClose.bind(this) })));
|
|
70
78
|
}
|
|
71
79
|
static get is() { return "mds-push-notification"; }
|
|
72
80
|
static get encapsulation() { return "shadow"; }
|
|
@@ -304,6 +312,11 @@ export class MdsPushNotification {
|
|
|
304
312
|
}
|
|
305
313
|
};
|
|
306
314
|
}
|
|
315
|
+
static get states() {
|
|
316
|
+
return {
|
|
317
|
+
"language": {}
|
|
318
|
+
};
|
|
319
|
+
}
|
|
307
320
|
static get events() {
|
|
308
321
|
return [{
|
|
309
322
|
"method": "closedEvent",
|
|
@@ -328,5 +341,26 @@ export class MdsPushNotification {
|
|
|
328
341
|
}
|
|
329
342
|
}];
|
|
330
343
|
}
|
|
344
|
+
static get methods() {
|
|
345
|
+
return {
|
|
346
|
+
"updateLang": {
|
|
347
|
+
"complexType": {
|
|
348
|
+
"signature": "() => Promise<void>",
|
|
349
|
+
"parameters": [],
|
|
350
|
+
"references": {
|
|
351
|
+
"Promise": {
|
|
352
|
+
"location": "global",
|
|
353
|
+
"id": "global::Promise"
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
"return": "Promise<void>"
|
|
357
|
+
},
|
|
358
|
+
"docs": {
|
|
359
|
+
"text": "",
|
|
360
|
+
"tags": []
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
};
|
|
364
|
+
}
|
|
331
365
|
static get elementRef() { return "host"; }
|
|
332
366
|
}
|
|
@@ -6,9 +6,10 @@ import { Host, h } from "@stencil/core";
|
|
|
6
6
|
export class MdsQuote {
|
|
7
7
|
constructor() {
|
|
8
8
|
this.typography = 'h3';
|
|
9
|
+
this.tag = 'h3';
|
|
9
10
|
}
|
|
10
11
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: '0c7690c8a35c1cdeaf32476a37acffec7b8f323d' }, h("mds-text", { key: 'b3e21e3678fe93551b87f642f78fdda8a9525d60', class: "open-quote", tag: "div", typography: this.typography }, h("span", { key: '695196efbc951ec814efb9cb7421c21493ee60ab' }, h("i", { key: '8453cac06ebaf5e23127c5ecb4c8124e7916ce81' }, "\u275D\u00A0"))), h("div", { key: '0092ce2020ee2ccdc930fede05559c13a54f7134', class: "quote" }, h("mds-text", { key: 'a25408cfbee178885d94b7d9a6a6c135798a866f', tag: this.tag, typography: this.typography }, h("i", { key: 'f710bf1614b4532447fcec84e8209059b192bec9' }, h("slot", { key: '88c75e40ac0a6edbbc5ef0385b41059737522e9c' }), h("span", { key: '612a391d4da1efb238cc6da17a87bdf5146a6c85' }, "\u00A0\u275E"))), h("slot", { key: '8ee3f36a5fa48c2ef77813c00c91f94316805240', name: "author" }))));
|
|
12
13
|
}
|
|
13
14
|
static get is() { return "mds-quote"; }
|
|
14
15
|
static get encapsulation() { return "shadow"; }
|
|
@@ -47,6 +48,30 @@ export class MdsQuote {
|
|
|
47
48
|
"attribute": "typography",
|
|
48
49
|
"reflect": false,
|
|
49
50
|
"defaultValue": "'h3'"
|
|
51
|
+
},
|
|
52
|
+
"tag": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"mutable": false,
|
|
55
|
+
"complexType": {
|
|
56
|
+
"original": "TypographyHeadingTagType",
|
|
57
|
+
"resolved": "\"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\"",
|
|
58
|
+
"references": {
|
|
59
|
+
"TypographyHeadingTagType": {
|
|
60
|
+
"location": "import",
|
|
61
|
+
"path": "@type/text",
|
|
62
|
+
"id": "src/type/text.ts::TypographyHeadingTagType"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"required": false,
|
|
67
|
+
"optional": false,
|
|
68
|
+
"docs": {
|
|
69
|
+
"tags": [],
|
|
70
|
+
"text": "Specifies the tag the element"
|
|
71
|
+
},
|
|
72
|
+
"attribute": "tag",
|
|
73
|
+
"reflect": false,
|
|
74
|
+
"defaultValue": "'h3'"
|
|
50
75
|
}
|
|
51
76
|
};
|
|
52
77
|
}
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
import { typographyReadDictionary } from "../../../dictionary/typography";
|
|
2
|
+
import { typographyHeadingTagDictionary } from "../../../dictionary/text";
|
|
2
3
|
import { h } from "@stencil/core";
|
|
3
4
|
export default {
|
|
4
5
|
title: 'UI / Quote',
|
|
5
6
|
argTypes: {
|
|
7
|
+
tag: {
|
|
8
|
+
description: 'Specifies the font typography of the element',
|
|
9
|
+
options: typographyHeadingTagDictionary,
|
|
10
|
+
control: { type: 'select' },
|
|
11
|
+
},
|
|
6
12
|
typography: {
|
|
7
13
|
description: 'Specifies the font typography of the element',
|
|
8
14
|
options: typographyReadDictionary,
|
|
@@ -12,7 +18,12 @@ export default {
|
|
|
12
18
|
};
|
|
13
19
|
const Template = args => h("mds-quote", Object.assign({}, args), "What one programmer can do in one month, two programmers can do in two months", h("mds-author", { class: "text-tone-neutral-04", slot: "author" }, h("mds-avatar", { initials: "fb", slot: "avatar", class: "w-1200 bg-brand-maggioli-12", src: "./fred-brooks-zoom.webp" }), h("mds-text", { typography: "h6", class: "text-tone-neutral-02" }, "Fred Brooks"), h("mds-text", { typography: "caption" }, "Software engineer")));
|
|
14
20
|
export const Default = Template.bind({});
|
|
21
|
+
Default.args = {
|
|
22
|
+
tag: 'h5',
|
|
23
|
+
typography: 'h5',
|
|
24
|
+
};
|
|
15
25
|
export const Typography = Template.bind({});
|
|
16
26
|
Typography.args = {
|
|
27
|
+
tag: 'h5',
|
|
17
28
|
typography: 'h5',
|
|
18
29
|
};
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
transition-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
|
|
18
18
|
|
|
19
19
|
align-items: center;
|
|
20
|
-
color: rgb(var(--
|
|
20
|
+
color: rgb(var(--variant-primary-03));
|
|
21
21
|
display: inline-flex;
|
|
22
22
|
justify-content: center;
|
|
23
23
|
transform: scale(0);
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
|
|
90
90
|
@container style(--magma-pref-contrast: more) {
|
|
91
91
|
:host {
|
|
92
|
-
color: rgb(var(--
|
|
92
|
+
color: rgb(var(--variant-primary-01));
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
|
|
98
98
|
@media (prefers-contrast: more) {
|
|
99
99
|
:host {
|
|
100
|
-
color: rgb(var(--
|
|
100
|
+
color: rgb(var(--variant-primary-01));
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
}
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
--mds-stepper-bar-item-color: rgb(var(--tone-neutral-03));
|
|
23
23
|
--mds-stepper-bar-item-duaration: 250ms;
|
|
24
24
|
--mds-stepper-bar-item-icon-background-done: rgb(var(--status-success-05));
|
|
25
|
-
--mds-stepper-bar-item-icon-background-current: rgb(var(--
|
|
25
|
+
--mds-stepper-bar-item-icon-background-current: rgb(var(--variant-primary-04));
|
|
26
26
|
--mds-stepper-bar-item-icon-background: var(--mds-stepper-bar-item-progress-background, rgb(var(--tone-neutral-08)));
|
|
27
27
|
--mds-stepper-bar-item-icon-color-done: rgb(var(--status-success-10));
|
|
28
28
|
--mds-stepper-bar-item-icon-color-current: rgb(var(--tone-neutral));
|
|
@@ -38,7 +38,7 @@ export class MdsStepperBarItem {
|
|
|
38
38
|
this.isCurrent = newValue;
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return (h(Host, { key: '715f4ed46dd375ba551e95e0aa7cb4efc4a31f63' }, h("
|
|
41
|
+
return (h(Host, { key: '715f4ed46dd375ba551e95e0aa7cb4efc4a31f63' }, h("div", { key: 'a95536046218a876f6b58972111e3579f7db0b5b', class: "header", tabindex: "0" }, h("mds-icon", { key: '572bfcd53c28c751ec923c19a83ad2da516a087d', class: "icon", name: clsx(this.isDone && !this.isCurrent ? this.iconChecked : this.icon) }), h("mds-progress", { key: '7afca827a100f9676cc61c700754105a946ad988', "aria-hidden": "true", class: "progress", progress: this.isDone ? 1 : 0 })), h("div", { key: 'a0b34eaba6a2b818c63e9a21de8c5bb160b6ccc2', class: "infos" }, this.step && h("mds-text", { key: '2ae5ce5ab77172373301b8c36e16c1131fa0c046', class: "step", typography: "option" }, "step ", this.index + 1), this.label && h("mds-text", { key: '63b5bf25b4ae174725af0340701577699e333951', class: "text", typography: this.typography }, this.label), this.badge && h("div", { key: '569ed53badb0ee775fdfb487680378090f782b15' }, this.showBadge()))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "mds-stepper-bar-item"; }
|
|
44
44
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
@import '~@maggioli-design-system/styles/dist/tailwind/components.css';
|
|
2
1
|
@tailwind components;
|
|
3
2
|
@tailwind utilities;
|
|
4
3
|
|
|
@@ -93,6 +92,7 @@
|
|
|
93
92
|
display: none !important;
|
|
94
93
|
}
|
|
95
94
|
|
|
95
|
+
@import '~@maggioli-design-system/styles/dist/tailwind/components.css';
|
|
96
96
|
@tailwind components;
|
|
97
97
|
@tailwind utilities;
|
|
98
98
|
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
|
|
10
10
|
:host {
|
|
11
11
|
|
|
12
|
-
--mds-tab-bar-item-background:
|
|
13
|
-
--mds-tab-bar-item-background-selected:
|
|
14
|
-
--mds-tab-bar-item-color: rgb(var(--tone-neutral-
|
|
15
|
-
--mds-tab-bar-item-color-selected: rgb(var(--
|
|
12
|
+
--mds-tab-bar-item-background: rgb(var(--tone-neutral-10));
|
|
13
|
+
--mds-tab-bar-item-background-selected: transparent;
|
|
14
|
+
--mds-tab-bar-item-color: rgb(var(--tone-neutral-04));
|
|
15
|
+
--mds-tab-bar-item-color-selected: rgb(var(--variant-primary-03));
|
|
16
16
|
gap: 0.25rem;
|
|
17
17
|
padding: 0.5rem;
|
|
18
18
|
transition-duration: 200ms;
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
:host {
|
|
62
62
|
|
|
63
63
|
--mds-tab-bar-item-color: rgb(var(--tone-neutral-04));
|
|
64
|
-
--mds-tab-bar-item-color-selected: rgb(var(--
|
|
64
|
+
--mds-tab-bar-item-color-selected: rgb(var(--variant-primary-02));
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
:host {
|
|
72
72
|
|
|
73
73
|
--mds-tab-bar-item-color: rgb(var(--tone-neutral-04));
|
|
74
|
-
--mds-tab-bar-item-color-selected: rgb(var(--
|
|
74
|
+
--mds-tab-bar-item-color-selected: rgb(var(--variant-primary-02));
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
}
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
:host {
|
|
81
81
|
|
|
82
82
|
--mds-tab-bar-item-color: rgb(var(--tone-neutral-04));
|
|
83
|
-
--mds-tab-bar-item-color-selected: rgb(var(--
|
|
83
|
+
--mds-tab-bar-item-color-selected: rgb(var(--variant-primary-02));
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
:host {
|
|
91
91
|
|
|
92
92
|
--mds-tab-bar-item-color: rgb(var(--tone-neutral-04));
|
|
93
|
-
--mds-tab-bar-item-color-selected: rgb(var(--
|
|
93
|
+
--mds-tab-bar-item-color-selected: rgb(var(--variant-primary-02));
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
}
|
|
@@ -27,8 +27,7 @@
|
|
|
27
27
|
--mds-table-cell-padding: 1rem;
|
|
28
28
|
--mds-table-color-hover: rgb(var(--tone-neutral-02));
|
|
29
29
|
--mds-table-color: rgb(var(--tone-neutral-03));
|
|
30
|
-
--mds-table-
|
|
31
|
-
--mds-table-row-color: var(--mds-table-color);
|
|
30
|
+
--mds-table-actions-gap: 0.5rem;
|
|
32
31
|
border-radius: 1rem;
|
|
33
32
|
transition-duration: 200ms;
|
|
34
33
|
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
@@ -42,7 +41,8 @@
|
|
|
42
41
|
}
|
|
43
42
|
|
|
44
43
|
.table {
|
|
45
|
-
border-collapse:
|
|
44
|
+
border-collapse: separate;
|
|
45
|
+
border-spacing: 0;
|
|
46
46
|
width: 100%;
|
|
47
47
|
}
|
|
48
48
|
|
|
@@ -12,9 +12,23 @@ export class MdsTable {
|
|
|
12
12
|
}
|
|
13
13
|
componentDidLoad() {
|
|
14
14
|
this.interactiveEvent.emit(this.interactive);
|
|
15
|
+
const rowElements = this.host.querySelectorAll('mds-table-row');
|
|
16
|
+
this.host.addEventListener('scroll', (e) => {
|
|
17
|
+
const target = e.target;
|
|
18
|
+
// console.log('here', target.scrollLeft, target.offsetWidth)
|
|
19
|
+
// console.log(target.offsetWidth - target.scrollLeft)
|
|
20
|
+
// console.log(rowElement.offsetWidth - target.offsetWidth)
|
|
21
|
+
rowElements.forEach((rowElement) => {
|
|
22
|
+
if (target.scrollLeft > rowElement.offsetWidth - target.offsetWidth) {
|
|
23
|
+
rowElement.overlayActions = true;
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
rowElement.overlayActions = false;
|
|
27
|
+
});
|
|
28
|
+
});
|
|
15
29
|
}
|
|
16
30
|
render() {
|
|
17
|
-
return (h(Host, { key: '
|
|
31
|
+
return (h(Host, { key: 'f8dc8ae93a7803a18b0e7d03f34ca1b46286bac9' }, h("table", { key: '511db82bcadc15ed656129e4929e9c88a9694cc7', class: clsx('table', this.interactive && 'table--interactive'), role: "table" }, h("slot", { key: 'eb90aa29cd0f11fc60b4749f5808c5862f24e877' }))));
|
|
18
32
|
}
|
|
19
33
|
static get is() { return "mds-table"; }
|
|
20
34
|
static get encapsulation() { return "shadow"; }
|
|
@@ -67,6 +81,7 @@ export class MdsTable {
|
|
|
67
81
|
}
|
|
68
82
|
}];
|
|
69
83
|
}
|
|
84
|
+
static get elementRef() { return "host"; }
|
|
70
85
|
static get watchers() {
|
|
71
86
|
return [{
|
|
72
87
|
"propName": "interactive",
|
|
@@ -10,6 +10,7 @@ export default {
|
|
|
10
10
|
};
|
|
11
11
|
const Template = args => h("mds-table", Object.assign({}, args), h("mds-table-header", null, h("mds-table-header-cell", { label: "Username" }), h("mds-table-header-cell", { label: "Email" }), h("mds-table-header-cell", { label: "Date" })), h("mds-table-body", null, h("mds-table-row", null, h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "mario.rossi")), h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "mario.rossi@nintendo.com")), h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "12 ottobre 1985"))), h("mds-table-row", null, h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "luigi.verdi")), h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "luigi.verdi@nintendo.com")), h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "12 ottobre 1985"))), h("mds-table-row", null, h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "wario.gialli")), h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "wario.gialli@nintendo.com")), h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "3 marzo 1993"))), h("mds-table-row", null, h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "waluigi.violetti")), h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "waluigi.violetti@nintendo.com")), h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "8 giugno 1999")))), h("mds-table-footer", null, h("mds-table-cell", null, h("mds-text", { typography: "action" }, "Username")), h("mds-table-cell", null, h("mds-text", { typography: "action" }, "Email")), h("mds-table-cell", null, h("mds-text", { typography: "action" }, "Date"))));
|
|
12
12
|
const TemplateSortable = args => h("mds-table", Object.assign({}, args), h("mds-table-header", null, h("mds-table-header-cell", { sortable: true, label: "Numbers" }), h("mds-table-header-cell", { sortable: true, label: "Strings" }), h("mds-table-header-cell", { sortable: true, label: "Strings from cell" }), h("mds-table-header-cell", { label: "No sortable column" })), h("mds-table-body", null, h("mds-table-row", null, h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "3")), h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "01")), h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "Tower Plaza")), h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "+22 777 892301"))), h("mds-table-row", null, h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "1")), h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "05")), h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "22nd Evenue")), h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "+22 433 471047"))), h("mds-table-row", null, h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "2")), h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "11")), h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "ARK Plaza")), h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "+22 334 187366"))), h("mds-table-row", null, h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "4")), h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "22")), h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "_Underscore Building")), h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "+22 333 997741")))));
|
|
13
|
+
const TemplateSortableActions = args => h("mds-table", Object.assign({}, args), h("mds-table-header", null, h("mds-table-header-cell", { sortable: true, label: "Numbers" }), h("mds-table-header-cell", { sortable: true, label: "Strings" }), h("mds-table-header-cell", { sortable: true, label: "Strings from cell" }), h("mds-table-header-cell", { label: "No sortable column" })), h("mds-table-body", null, h("mds-table-row", null, h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "3")), h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "01")), h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "Tower Plaza")), h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "+22 777 892301")), h("mds-button", { slot: "action", icon: "mi/baseline/send", title: "Write message", variant: "dark", tone: "weak" }), h("mds-button", { slot: "action", icon: "mi/baseline/call", title: "Call number", variant: "dark", tone: "weak" }), h("mds-button", { slot: "action", icon: "mi/baseline/delete", title: "Remove record", variant: "error" })), h("mds-table-row", null, h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "1")), h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "05")), h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "22nd Evenue")), h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "+22 433 471047")), h("mds-button", { slot: "action", icon: "mi/baseline/send", title: "Write message", variant: "dark", tone: "weak" }), h("mds-button", { slot: "action", icon: "mi/baseline/call", title: "Call number", variant: "dark", tone: "weak" }), h("mds-button", { slot: "action", icon: "mi/baseline/delete", title: "Remove record", variant: "error" })), h("mds-table-row", null, h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "2")), h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "11")), h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "ARK Plaza")), h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "+22 334 187366")), h("mds-button", { slot: "action", icon: "mi/baseline/send", title: "Write message", variant: "dark", tone: "weak" }), h("mds-button", { slot: "action", icon: "mi/baseline/call", title: "Call number", variant: "dark", tone: "weak" }), h("mds-button", { slot: "action", icon: "mi/baseline/delete", title: "Remove record", variant: "error" })), h("mds-table-row", null, h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "4")), h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "22")), h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "_Underscore Building")), h("mds-table-cell", { class: "min-w-5200" }, h("mds-text", { typography: "detail" }, "+22 333 997741")), h("mds-button", { slot: "action", icon: "mi/baseline/send", title: "Write message", variant: "dark", tone: "weak" }), h("mds-button", { slot: "action", icon: "mi/baseline/call", title: "Call number", variant: "dark", tone: "weak" }), h("mds-button", { slot: "action", icon: "mi/baseline/delete", title: "Remove record", variant: "error" }))));
|
|
13
14
|
export const Default = Template.bind({});
|
|
14
15
|
export const Interactive = Template.bind({});
|
|
15
16
|
Interactive.args = {
|
|
@@ -19,3 +20,7 @@ export const Sortable = TemplateSortable.bind({});
|
|
|
19
20
|
Sortable.args = {
|
|
20
21
|
interactive: true,
|
|
21
22
|
};
|
|
23
|
+
export const Actions = TemplateSortableActions.bind({});
|
|
24
|
+
Actions.args = {
|
|
25
|
+
interactive: true,
|
|
26
|
+
};
|
|
@@ -7,7 +7,7 @@ export class MdsTableCell {
|
|
|
7
7
|
this.value = undefined;
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: 'ba2b1023ba3152b3bad3815cf9cc881f9c2dbd8f', role: "cell" }, h("slot", { key: 'e4301e2a7637473334a33ff03c1a115a0748a718' })));
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "mds-table-cell"; }
|
|
13
13
|
static get encapsulation() { return "shadow"; }
|
|
@@ -16,18 +16,14 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
:host {
|
|
19
|
-
|
|
20
|
-
--mds-table-header-cell-padding: 0.5rem;
|
|
21
|
-
|
|
22
19
|
transition-duration: 200ms;
|
|
23
|
-
|
|
24
20
|
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
25
21
|
|
|
26
|
-
background-color: var(--mds-table-
|
|
22
|
+
background-color: var(--mds-table-background);
|
|
27
23
|
border-bottom: var(--mds-table-cell-border-width) solid var(--mds-table-cell-border-color) !important;
|
|
28
24
|
border-top: var(--mds-table-cell-border-width) solid transparent !important;
|
|
29
25
|
display: table-cell;
|
|
30
|
-
padding: var(--mds-table-
|
|
26
|
+
padding: var(--mds-table-cell-padding);
|
|
31
27
|
transition-property: background-color, border-color, color;
|
|
32
28
|
vertical-align: top;
|
|
33
29
|
}
|
|
@@ -5,8 +5,8 @@ import miBaselineUnfoldMore from "@icon/mi/baseline/unfold-more.svg";
|
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
var Sort;
|
|
7
7
|
(function (Sort) {
|
|
8
|
-
Sort["ASC"] = "
|
|
9
|
-
Sort["DESC"] = "
|
|
8
|
+
Sort["ASC"] = "ascending";
|
|
9
|
+
Sort["DESC"] = "descending";
|
|
10
10
|
Sort["NONE"] = "none";
|
|
11
11
|
})(Sort || (Sort = {}));
|
|
12
12
|
export class MdsTableHeaderCell {
|
|
@@ -57,9 +57,9 @@ export class MdsTableHeaderCell {
|
|
|
57
57
|
const cellB = this.getValue(b.querySelectorAll('mds-table-cell')[this.index]);
|
|
58
58
|
const isNumeric = !isNaN(Number(cellA)) && !isNaN(Number(cellB));
|
|
59
59
|
if (isNumeric) {
|
|
60
|
-
return this.direction === '
|
|
60
|
+
return this.direction === 'ascending' ? Number(cellA) - Number(cellB) : Number(cellB) - Number(cellA);
|
|
61
61
|
}
|
|
62
|
-
return this.direction === '
|
|
62
|
+
return this.direction === 'ascending' ? String(cellA).localeCompare(String(cellB)) : String(cellB).localeCompare(String(cellA));
|
|
63
63
|
});
|
|
64
64
|
sortedRows.forEach(row => this.tableBody.appendChild(row));
|
|
65
65
|
};
|
|
@@ -99,8 +99,8 @@ export class MdsTableHeaderCell {
|
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
render() {
|
|
102
|
-
return (h(Host, { key: '
|
|
103
|
-
? h("mds-button", { class: "action", icon: clsx(this.direction === 'none' && miBaselineUnfoldMore, this.direction === '
|
|
102
|
+
return (h(Host, { key: '3d17c76c086828a39ad0090acabbebb3ea449198', role: "columnheader", "aria-sort": this.direction }, this.sortable
|
|
103
|
+
? h("mds-button", { class: "action", icon: clsx(this.direction === 'none' && miBaselineUnfoldMore, this.direction === 'ascending' && miBaselineKeyboardArrowUp, this.direction === 'descending' && miBaselineKeyboardArrowDown), "icon-position": "right", onClick: this.sort, tone: "quiet", variant: "dark", size: "sm", part: "action" }, this.label)
|
|
104
104
|
: h("mds-text", { class: "label", typography: "label", part: "label" }, this.label)));
|
|
105
105
|
}
|
|
106
106
|
static get is() { return "mds-table-header-cell"; }
|
|
@@ -156,7 +156,7 @@ export class MdsTableHeaderCell {
|
|
|
156
156
|
"mutable": true,
|
|
157
157
|
"complexType": {
|
|
158
158
|
"original": "SortDirectionType",
|
|
159
|
-
"resolved": "\"
|
|
159
|
+
"resolved": "\"ascending\" | \"descending\" | \"none\"",
|
|
160
160
|
"references": {
|
|
161
161
|
"SortDirectionType": {
|
|
162
162
|
"location": "import",
|
|
@@ -4,15 +4,74 @@
|
|
|
4
4
|
|
|
5
5
|
--mds-table-row-color-hover: var(--mds-table-color-hover, rgb(var(--tone-neutral-02)));
|
|
6
6
|
--mds-table-row-color: var(--mds-table-color, rgb(var(--tone-neutral-03)));
|
|
7
|
+
--mds-table-row-actions-gap: var(--mds-table-actions-gap, 1rem);
|
|
7
8
|
transition-duration: 200ms;
|
|
8
9
|
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
9
10
|
|
|
10
11
|
color: var(--mds-table-row-color);
|
|
11
12
|
display: table-row;
|
|
13
|
+
position: relative;
|
|
12
14
|
transition-property: color;
|
|
13
15
|
|
|
14
16
|
}
|
|
15
17
|
|
|
18
|
+
.actions-wrapper {
|
|
19
|
+
inset: 0;
|
|
20
|
+
display: flex;
|
|
21
|
+
justify-content: end;
|
|
22
|
+
pointer-events: none;
|
|
23
|
+
position: absolute;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.actions {
|
|
27
|
+
align-items: center;
|
|
28
|
+
background-color: var(--mds-table-cell-background);
|
|
29
|
+
border-bottom-color: transparent;
|
|
30
|
+
border-bottom-style: solid;
|
|
31
|
+
border-bottom-width: var(--mds-table-border-width);
|
|
32
|
+
border-top-color: var(--mds-table-border-color);
|
|
33
|
+
border-top-style: solid;
|
|
34
|
+
border-top-width: var(--mds-table-border-width);
|
|
35
|
+
box-sizing: border-box;
|
|
36
|
+
display: inline-flex;
|
|
37
|
+
gap: var(--mds-table-row-actions-gap);
|
|
38
|
+
height: 100%;
|
|
39
|
+
margin-top: calc(var(--mds-table-border-width) * -1);
|
|
40
|
+
padding: var(--mds-table-cell-padding);
|
|
41
|
+
pointer-events: auto;
|
|
42
|
+
position: sticky;
|
|
43
|
+
right: 0;
|
|
44
|
+
transform: translateX(100%);
|
|
45
|
+
transition-duration: 500ms;
|
|
46
|
+
transition-property: transform, background-color;
|
|
47
|
+
transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.actions-wrapper--mobile {
|
|
51
|
+
position: relative;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.actions-wrapper--mobile .actions {
|
|
55
|
+
position: static;
|
|
56
|
+
transform: translateX(0);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
:host(:hover) .actions {
|
|
60
|
+
transform: translateX(0);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
:host([overlay-actions]:not([overlay-actions="false"])) .actions-wrapper:not(.actions-wrapper--mobile) .actions {
|
|
64
|
+
transform: translateX(100%);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
:host([interactive]:not([interactive="false"])) .actions {
|
|
68
|
+
--mds-table-cell-background: var(--mds-table-body-background);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
:host([interactive]:not([interactive="false"]):hover) .actions {
|
|
72
|
+
--mds-table-cell-background: var(--mds-table-cell-background-hover);
|
|
73
|
+
}
|
|
74
|
+
|
|
16
75
|
:host([sorted][interactive]:not([interactive="false"])) ::slotted(mds-table-cell[sorted]) {
|
|
17
76
|
|
|
18
77
|
--mds-table-cell-background: var(--mds-table-cell-background-hover);
|
|
@@ -1,16 +1,23 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
|
+
import { isMobileDevice } from "../../common/device";
|
|
3
|
+
import clsx from "clsx";
|
|
2
4
|
/**
|
|
3
5
|
* @slot default - Put `mds-table-cell` element/s.
|
|
4
6
|
*/
|
|
5
7
|
export class MdsTableRow {
|
|
6
8
|
constructor() {
|
|
7
9
|
this.interactive = undefined;
|
|
10
|
+
this.overlayActions = undefined;
|
|
8
11
|
}
|
|
9
12
|
tableInteractiveHandler(event) {
|
|
10
13
|
this.interactive = event.detail;
|
|
11
14
|
}
|
|
15
|
+
componentWillLoad() {
|
|
16
|
+
this.actions = this.host.querySelector('[slot="action"]') !== null;
|
|
17
|
+
}
|
|
12
18
|
render() {
|
|
13
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: 'a336d00d38f7ced41c3febcb4b0c2c106ed61ca9', role: "row" }, h("slot", { key: 'a0a251d24deb3b7655613f6d15c118386db1bcba' }), this.actions
|
|
20
|
+
&& h("div", { key: 'bebaef82204a44ac50487875a9f7bfe18f473517', class: clsx('actions-wrapper', isMobileDevice() && 'actions-wrapper--mobile'), role: "cell" }, h("div", { key: '57f2f06b534858b3ca3fb7e9d50a7098d0c24856', class: "actions" }, h("slot", { key: '9d5aceec024928169a6fd221f93d3e87b2c47386', name: "action" })))));
|
|
14
21
|
}
|
|
15
22
|
static get is() { return "mds-table-row"; }
|
|
16
23
|
static get encapsulation() { return "shadow"; }
|
|
@@ -42,9 +49,27 @@ export class MdsTableRow {
|
|
|
42
49
|
},
|
|
43
50
|
"attribute": "interactive",
|
|
44
51
|
"reflect": true
|
|
52
|
+
},
|
|
53
|
+
"overlayActions": {
|
|
54
|
+
"type": "boolean",
|
|
55
|
+
"mutable": true,
|
|
56
|
+
"complexType": {
|
|
57
|
+
"original": "boolean",
|
|
58
|
+
"resolved": "boolean",
|
|
59
|
+
"references": {}
|
|
60
|
+
},
|
|
61
|
+
"required": false,
|
|
62
|
+
"optional": false,
|
|
63
|
+
"docs": {
|
|
64
|
+
"tags": [],
|
|
65
|
+
"text": ""
|
|
66
|
+
},
|
|
67
|
+
"attribute": "overlay-actions",
|
|
68
|
+
"reflect": true
|
|
45
69
|
}
|
|
46
70
|
};
|
|
47
71
|
}
|
|
72
|
+
static get elementRef() { return "host"; }
|
|
48
73
|
static get listeners() {
|
|
49
74
|
return [{
|
|
50
75
|
"name": "mdsTableInteractiveChange",
|
|
@@ -25,6 +25,8 @@ export class MdsText {
|
|
|
25
25
|
this.randomText.start();
|
|
26
26
|
};
|
|
27
27
|
this.updateCSSCustomProps = () => {
|
|
28
|
+
if (typeof window === 'undefined')
|
|
29
|
+
return;
|
|
28
30
|
const elementStyles = window.getComputedStyle(this.host);
|
|
29
31
|
this.cssTextAnimationSpeed = Number(elementStyles.getPropertyValue('--mds-text-animation-speed'));
|
|
30
32
|
const placeholderChar = elementStyles.getPropertyValue('--mds-text-animation-placeholder-char');
|
|
@@ -61,7 +63,7 @@ export class MdsText {
|
|
|
61
63
|
}
|
|
62
64
|
}
|
|
63
65
|
render() {
|
|
64
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: '1f42572d1faca24c60e7f351addd83674d070695' }, h(this.tag, { key: '1f1e7663e9181704fce34dd04b89d30924295d98', class: "text" }, !this.text
|
|
65
67
|
? h("slot", null)
|
|
66
68
|
: this.text)));
|
|
67
69
|
}
|
|
@@ -108,12 +110,12 @@ export class MdsText {
|
|
|
108
110
|
"mutable": true,
|
|
109
111
|
"complexType": {
|
|
110
112
|
"original": "TypographyTagType",
|
|
111
|
-
"resolved": "\"
|
|
113
|
+
"resolved": "\"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | \"label\" | \"code\" | \"strong\" | \"abbr\" | \"address\" | \"article\" | \"b\" | \"bdo\" | \"blockquote\" | \"cite\" | \"dd\" | \"del\" | \"details\" | \"dfn\" | \"div\" | \"dl\" | \"dt\" | \"em\" | \"figcaption\" | \"i\" | \"ins\" | \"kbd\" | \"legend\" | \"li\" | \"mark\" | \"ol\" | \"p\" | \"pre\" | \"q\" | \"rb\" | \"rt\" | \"ruby\" | \"s\" | \"samp\" | \"small\" | \"span\" | \"sub\" | \"summary\" | \"sup\" | \"time\" | \"u\" | \"ul\" | \"var\"",
|
|
112
114
|
"references": {
|
|
113
115
|
"TypographyTagType": {
|
|
114
116
|
"location": "import",
|
|
115
|
-
"path": "
|
|
116
|
-
"id": "src/
|
|
117
|
+
"path": "@type/text",
|
|
118
|
+
"id": "src/type/text.ts::TypographyTagType"
|
|
117
119
|
}
|
|
118
120
|
}
|
|
119
121
|
},
|
|
@@ -44,7 +44,7 @@ const AnimateTemplate = () => {
|
|
|
44
44
|
const selectEl = event.target;
|
|
45
45
|
setText(selectEl.value);
|
|
46
46
|
};
|
|
47
|
-
return h("div", { class: "grid gap-400" }, h("div", { class: "bg-tone-neutral-09 p-600 rounded-lg" }, h("mds-text", { animation: "yugop", text: text })), h("div", null, h("select", { onChange: (e) => setValue(e) }, h("option",
|
|
47
|
+
return h("div", { class: "grid gap-400" }, h("div", { class: "bg-tone-neutral-09 p-600 rounded-lg" }, h("mds-text", { animation: "yugop", text: text })), h("div", { class: "grid gap-200" }, h("label", { htmlFor: 'song' }, "Selected song:"), h("div", null, h("select", { id: "song", onChange: (e) => setValue(e) }, h("option", null, "Choose a song..."), h("option", { value: "One" }, "One"), h("option", { value: "Zoo Station" }, "Zoo Station"), h("option", { value: "With or Without You" }, "With or Without You"), h("option", { value: "Where The Streets Have No Name" }, "Where The Streets Have No Name")))));
|
|
48
48
|
};
|
|
49
49
|
export const Default = Template.bind({});
|
|
50
50
|
export const Animation = AnimateTemplate.bind({});
|