@maggioli-design-system/magma 1.10.1 → 1.10.3
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/dist/cjs/{floating-controller-65286655.js → floating-controller-a52af7cc.js} +1 -1
- package/dist/cjs/{floating-ui.dom.esm-12c5956b.js → floating-ui.dom.esm-0a090151.js} +1 -1
- package/dist/cjs/index-de0ace0a.js +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/magma-components.cjs.js +1 -1
- package/dist/cjs/mds-banner_3.cjs.entry.js +11 -5
- package/dist/cjs/mds-button_3.cjs.entry.js +1 -1
- package/dist/cjs/mds-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/mds-header.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-date.cjs.entry.js +57 -54
- package/dist/cjs/mds-input-field.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-otp.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-range.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-select.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +3 -3
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +8 -8
- package/dist/cjs/mds-input-upload.cjs.entry.js +11 -4
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +2 -2
- package/dist/cjs/mds-keyboard.cjs.entry.js +1 -1
- package/dist/cjs/mds-kpi-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-kpi.cjs.entry.js +1 -1
- package/dist/cjs/mds-label.cjs.entry.js +1 -1
- package/dist/cjs/mds-list-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-list.cjs.entry.js +1 -1
- package/dist/cjs/mds-mention.cjs.entry.js +1 -1
- package/dist/cjs/mds-modal.cjs.entry.js +3 -2
- package/dist/cjs/mds-note.cjs.entry.js +1 -1
- package/dist/cjs/mds-notification.cjs.entry.js +2 -2
- package/dist/cjs/mds-paginator-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-paginator.cjs.entry.js +2 -2
- package/dist/cjs/mds-policy-ai.cjs.entry.js +38 -38
- package/dist/cjs/mds-pref-animation.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-language.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-theme.cjs.entry.js +3 -3
- package/dist/cjs/mds-pref.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +6 -6
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-features.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-header.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-list.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table.cjs.entry.js +1 -1
- package/dist/cjs/mds-progress.cjs.entry.js +1 -1
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-push-notification.cjs.entry.js +1 -1
- package/dist/cjs/mds-quote.cjs.entry.js +1 -1
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-radial-menu.cjs.entry.js +3 -3
- package/dist/cjs/mds-separator.cjs.entry.js +1 -1
- package/dist/cjs/mds-status-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-tab-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-tab_2.cjs.entry.js +4 -4
- package/dist/cjs/mds-table-body.cjs.entry.js +1 -1
- package/dist/cjs/mds-table-footer.cjs.entry.js +1 -1
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +1 -1
- package/dist/cjs/mds-table-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-table-row.cjs.entry.js +6 -6
- package/dist/cjs/mds-table.cjs.entry.js +1 -1
- package/dist/cjs/mds-text.cjs.entry.js +1 -1
- package/dist/cjs/mds-toast.cjs.entry.js +3 -3
- package/dist/cjs/mds-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/mds-tree-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-tree.cjs.entry.js +1 -1
- package/dist/cjs/mds-url-view.cjs.entry.js +1 -1
- package/dist/cjs/mds-usage.cjs.entry.js +1 -1
- package/dist/cjs/mds-video-wall.cjs.entry.js +3 -3
- package/dist/cjs/mds-zero.cjs.entry.js +1 -1
- package/dist/collection/components/mds-accordion/test/mds-accordion.stories.js +21 -14
- package/dist/collection/components/mds-accordion-item/test/mds-accordion-item.stories.js +12 -8
- package/dist/collection/components/mds-accordion-timer/test/mds-accordion-timer.stories.js +38 -27
- package/dist/collection/components/mds-accordion-timer-item/test/mds-accordion-timer-item.stories.js +22 -16
- package/dist/collection/components/mds-author/test/mds-author.stories.js +8 -4
- package/dist/collection/components/mds-avatar/test/mds-avatar.stories.js +31 -19
- package/dist/collection/components/mds-avatar-stack/test/mds-avatar-stack.stories.js +15 -9
- package/dist/collection/components/mds-avatar-stack-item/test/mds-avatar-stack-item.stories.js +25 -17
- package/dist/collection/components/mds-badge/test/mds-badge.stories.js +8 -6
- package/dist/collection/components/mds-banner/test/mds-banner.stories.js +65 -45
- package/dist/collection/components/mds-benchmark-bar/test/mds-benchmark-bar.stories.js +17 -11
- package/dist/collection/components/mds-bibliography/test/mds-bibliography.stories.js +45 -35
- package/dist/collection/components/mds-breadcrumb/test/mds-breadcrumb.stories.js +4 -2
- package/dist/collection/components/mds-breadcrumb-item/test/mds-breadcrumb-item.stories.js +9 -5
- package/dist/collection/components/mds-button/test/mds-button.stories.js +142 -84
- package/dist/collection/components/mds-button-dropdown/test/mds-button-dropdown.stories.js +8 -6
- package/dist/collection/components/mds-button-group/test/mds-button-group.stories.js +8 -4
- package/dist/collection/components/mds-calendar/test/mds-calendar.stories.js +6 -4
- package/dist/collection/components/mds-card/test/mds-card.stories.js +71 -37
- package/dist/collection/components/mds-chip/mds-chip.css +6 -1
- package/dist/collection/components/mds-chip/mds-chip.js +30 -4
- package/dist/collection/components/mds-chip/test/mds-chip.stories.js +60 -31
- package/dist/collection/components/mds-details/test/mds-details.stories.js +9 -5
- package/dist/collection/components/mds-dropdown/test/mds-dropdown.stories.js +153 -113
- package/dist/collection/components/mds-emoji/test/mds-emoji.stories.js +12 -5
- package/dist/collection/components/mds-entity/test/mds-entity.stories.js +43 -21
- package/dist/collection/components/mds-file/test/mds-file.stories.js +30 -20
- package/dist/collection/components/mds-file-preview/test/mds-file-preview.stories.js +86 -62
- package/dist/collection/components/mds-filter/test/mds-filter.stories.js +23 -15
- package/dist/collection/components/mds-filter-item/test/mds-filter-item.stories.js +12 -8
- package/dist/collection/components/mds-header/mds-header.css +1 -2
- package/dist/collection/components/mds-header/test/mds-header.stories.js +34 -20
- package/dist/collection/components/mds-header-bar/test/mds-header-bar.stories.js +4 -2
- package/dist/collection/components/mds-help/test/mds-help.stories.js +9 -5
- package/dist/collection/components/mds-horizontal-scroll/test/mds-horizontal-scroll.stories.js +21 -13
- package/dist/collection/components/mds-hr/test/mds-hr.stories.js +8 -4
- package/dist/collection/components/mds-icon/test/mds-icon.stories.js +49 -31
- package/dist/collection/components/mds-img/test/mds-img-accessibility.stories.js +24 -16
- package/dist/collection/components/mds-img/test/mds-img.stories.js +55 -41
- package/dist/collection/components/mds-input/test/mds-input.stories.js +158 -109
- package/dist/collection/components/mds-input-date/mds-input-date.css +3 -0
- package/dist/collection/components/mds-input-date/mds-input-date.js +146 -56
- package/dist/collection/components/mds-input-date/test/mds-input-date.stories.js +41 -11
- package/dist/collection/components/mds-input-date-range/test/mds-input-date-range.stories.js +23 -15
- package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +1 -1
- package/dist/collection/components/mds-input-field/mds-input-field.js +1 -1
- package/dist/collection/components/mds-input-field/test/mds-input-field.stories.js +37 -25
- package/dist/collection/components/mds-input-otp/mds-input-otp.js +1 -1
- package/dist/collection/components/mds-input-otp/test/mds-input-otp.stories.js +30 -14
- package/dist/collection/components/mds-input-range/mds-input-range.js +1 -1
- package/dist/collection/components/mds-input-range/test/mds-input-range.stories.js +37 -21
- package/dist/collection/components/mds-input-select/mds-input-select.js +2 -2
- package/dist/collection/components/mds-input-select/test/mds-input-select.stories.js +34 -20
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +2 -2
- package/dist/collection/components/mds-input-switch/test/mds-input-switch.stories.js +93 -71
- package/dist/collection/components/mds-input-tip/mds-input-tip.js +1 -1
- package/dist/collection/components/mds-input-tip/test/mds-input-tip.stories.js +4 -2
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +7 -7
- package/dist/collection/components/mds-input-tip-item/test/mds-input-tip.stories.js +3 -1
- package/dist/collection/components/mds-input-upload/mds-input-upload.js +28 -4
- package/dist/collection/components/mds-input-upload/test/mds-input-upload.stories.js +20 -14
- package/dist/collection/components/mds-keyboard/mds-keyboard.js +1 -1
- package/dist/collection/components/mds-keyboard/test/mds-keyboard.stories.js +17 -9
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +2 -2
- package/dist/collection/components/mds-keyboard-key/test/mds-keyboard-key.stories.js +6 -4
- package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
- package/dist/collection/components/mds-kpi/test/mds-kpi.stories.js +8 -4
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +2 -2
- package/dist/collection/components/mds-kpi-item/test/mds-kpi-item.stories.js +12 -8
- package/dist/collection/components/mds-label/mds-label.js +1 -1
- package/dist/collection/components/mds-label/test/mds-label.stories.js +28 -16
- package/dist/collection/components/mds-list/mds-list.js +1 -1
- package/dist/collection/components/mds-list/test/mds-list.stories.js +4 -2
- package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
- package/dist/collection/components/mds-list-item/test/mds-list-item.stories.js +5 -3
- package/dist/collection/components/mds-mention/mds-mention.js +1 -1
- package/dist/collection/components/mds-mention/test/mds-mention.stories.js +6 -4
- package/dist/collection/components/mds-modal/mds-modal.js +3 -2
- package/dist/collection/components/mds-modal/test/mds-modal.stories.js +54 -37
- package/dist/collection/components/mds-note/mds-note.js +1 -1
- package/dist/collection/components/mds-note/test/mds-note.stories.js +13 -7
- package/dist/collection/components/mds-notification/mds-notification.js +1 -1
- package/dist/collection/components/mds-notification/test/mds-notification.stories.js +38 -26
- package/dist/collection/components/mds-paginator/mds-paginator.js +2 -2
- package/dist/collection/components/mds-paginator/test/mds-paginator.stories.js +12 -8
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.css +1 -1
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
- package/dist/collection/components/mds-policy-ai/test/mds-policy.stories.js +52 -34
- package/dist/collection/components/mds-pref/mds-pref.js +1 -1
- package/dist/collection/components/mds-pref/test/mds-pref.stories.js +9 -5
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +1 -1
- package/dist/collection/components/mds-pref-animation/test/mds-pref-animation.stories.js +4 -2
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +1 -1
- package/dist/collection/components/mds-pref-consumption/test/mds-pref-consumption.stories.js +4 -2
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
- package/dist/collection/components/mds-pref-contrast/test/mds-pref-contrast.stories.js +4 -2
- package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
- package/dist/collection/components/mds-pref-language/test/mds-pref-language.stories.js +5 -3
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +3 -3
- package/dist/collection/components/mds-pref-theme/test/mds-pref-theme.stories.js +4 -2
- package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
- package/dist/collection/components/mds-price-table/test/mds-price-table.stories.js +6 -4
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +2 -2
- package/dist/collection/components/mds-price-table-features/test/mds-price-table-features.stories.js +6 -4
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +6 -6
- package/dist/collection/components/mds-price-table-features-cell/test/mds-price-table-features-cell.stories.js +6 -4
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
- package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
- package/dist/collection/components/mds-price-table-header/test/mds-price-table-header.stories.js +4 -2
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +2 -2
- package/dist/collection/components/mds-price-table-list/test/mds-price-table-list.stories.js +8 -4
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +2 -2
- package/dist/collection/components/mds-progress/mds-progress.js +1 -1
- package/dist/collection/components/mds-progress/test/mds-progress.stories.js +6 -4
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
- package/dist/collection/components/mds-push-notification/test/mds-push-notification.stories.js +24 -18
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
- package/dist/collection/components/mds-push-notification-item/test/mds-push-notification-item.stories.js +115 -93
- package/dist/collection/components/mds-quote/mds-quote.js +1 -1
- package/dist/collection/components/mds-quote/test/mds-quote.stories.js +13 -9
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +1 -3
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
- package/dist/collection/components/mds-radial-menu/test/mds-radial-menu.stories.js +27 -19
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
- package/dist/collection/components/mds-radial-menu-item/test/mds-radial-menu-item.stories.js +6 -4
- package/dist/collection/components/mds-separator/mds-separator.js +1 -1
- package/dist/collection/components/mds-separator/test/mds-separator.stories.js +4 -2
- package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
- package/dist/collection/components/mds-spinner/test/mds-spinner.stories.js +10 -6
- package/dist/collection/components/mds-status-bar/mds-status-bar.css +1 -2
- package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
- package/dist/collection/components/mds-status-bar/test/mds-status-bar.stories.js +5 -3
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
- package/dist/collection/components/mds-stepper-bar/test/mds-stepper-bar.stories.js +49 -5
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
- package/dist/collection/components/mds-stepper-bar-item/test/mds-stepper-bar-item.stories.js +26 -14
- package/dist/collection/components/mds-tab/mds-tab.js +3 -3
- package/dist/collection/components/mds-tab/test/mds-tab.stories.js +62 -34
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
- package/dist/collection/components/mds-tab-bar/test/mds-tab-bar.stories.js +4 -2
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
- package/dist/collection/components/mds-tab-bar-item/test/mds-tab-bar-item.stories.js +4 -2
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
- package/dist/collection/components/mds-tab-item/test/mds-tab-item.stories.js +13 -7
- package/dist/collection/components/mds-table/mds-table.js +1 -1
- package/dist/collection/components/mds-table/test/mds-table.stories.js +46 -29
- package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
- package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
- package/dist/collection/components/mds-table-header/mds-table-header.js +2 -2
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
- package/dist/collection/components/mds-table-row/mds-table-row.js +6 -6
- package/dist/collection/components/mds-text/mds-text.js +1 -1
- package/dist/collection/components/mds-text/test/mds-text.stories.js +134 -90
- package/dist/collection/components/mds-toast/mds-toast.js +3 -3
- package/dist/collection/components/mds-toast/test/mds-toast.stories.js +9 -5
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +1 -1
- package/dist/collection/components/mds-tooltip/test/mds-tooltip.stories.js +69 -47
- package/dist/collection/components/mds-tree/mds-tree.js +1 -1
- package/dist/collection/components/mds-tree/test/mds-tree-apk.stories.js +22 -8
- package/dist/collection/components/mds-tree/test/mds-tree.stories.js +22 -14
- package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
- package/dist/collection/components/mds-tree-item/test/mds-tree-item.stories.js +7 -3
- package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
- package/dist/collection/components/mds-url-view/test/mds-url-view.stories.js +26 -19
- package/dist/collection/components/mds-usage/mds-usage.js +1 -1
- package/dist/collection/components/mds-usage/test/mds-usage.stories.js +14 -8
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +3 -3
- package/dist/collection/components/mds-video-wall/test/mds-video-wall.stories.js +64 -49
- package/dist/collection/components/mds-zero/mds-zero.js +1 -1
- package/dist/collection/components/mds-zero/test/mds-zero.stories.js +4 -2
- package/dist/collection/storybook/components-version.stories.js +6 -2
- package/dist/collection/storybook/example-page.stories.js +6 -2
- package/dist/collection/storybook/fouc-hydrated.stories.js +4 -2
- package/dist/collection/storybook/input-form.stories.js +4 -2
- package/dist/collection/storybook/same-childrend-slot-names.stories.js +4 -2
- package/dist/components/floating-ui.dom.esm.js +1 -1
- package/dist/components/mds-chip2.js +11 -5
- package/dist/components/mds-header.js +1 -1
- package/dist/components/mds-input-date-range-preselection.js +1 -1
- package/dist/components/mds-input-date.js +85 -66
- package/dist/components/mds-input-field.js +1 -1
- package/dist/components/mds-input-otp.js +1 -1
- package/dist/components/mds-input-range.js +1 -1
- package/dist/components/mds-input-select.js +2 -2
- package/dist/components/mds-input-switch2.js +2 -2
- package/dist/components/mds-input-tip-item2.js +7 -7
- package/dist/components/mds-input-tip2.js +1 -1
- package/dist/components/mds-input-upload.js +13 -5
- package/dist/components/mds-keyboard-key.js +2 -2
- package/dist/components/mds-keyboard.js +1 -1
- package/dist/components/mds-kpi-item.js +2 -2
- package/dist/components/mds-kpi.js +1 -1
- package/dist/components/mds-label.js +1 -1
- package/dist/components/mds-list-item.js +1 -1
- package/dist/components/mds-list.js +1 -1
- package/dist/components/mds-mention.js +1 -1
- package/dist/components/mds-modal2.js +3 -2
- package/dist/components/mds-note.js +1 -1
- package/dist/components/mds-notification.js +1 -1
- package/dist/components/mds-paginator-item2.js +1 -1
- package/dist/components/mds-paginator.js +2 -2
- package/dist/components/mds-policy-ai.js +38 -38
- package/dist/components/mds-pref-animation.js +1 -1
- package/dist/components/mds-pref-consumption.js +1 -1
- package/dist/components/mds-pref-contrast.js +1 -1
- package/dist/components/mds-pref-language-item.js +1 -1
- package/dist/components/mds-pref-language.js +1 -1
- package/dist/components/mds-pref-theme.js +3 -3
- package/dist/components/mds-pref.js +1 -1
- package/dist/components/mds-price-table-features-cell.js +6 -6
- package/dist/components/mds-price-table-features-row.js +1 -1
- package/dist/components/mds-price-table-features.js +2 -2
- package/dist/components/mds-price-table-header.js +1 -1
- package/dist/components/mds-price-table-list-item.js +2 -2
- package/dist/components/mds-price-table-list.js +2 -2
- package/dist/components/mds-price-table.js +1 -1
- package/dist/components/mds-progress2.js +1 -1
- package/dist/components/mds-push-notification-item.js +2 -2
- package/dist/components/mds-push-notification.js +1 -1
- package/dist/components/mds-quote.js +1 -1
- package/dist/components/mds-radial-menu-item.js +1 -1
- package/dist/components/mds-radial-menu.js +1 -1
- package/dist/components/mds-separator2.js +1 -1
- package/dist/components/mds-spinner2.js +1 -1
- package/dist/components/mds-status-bar.js +1 -1
- package/dist/components/mds-stepper-bar-item.js +1 -1
- package/dist/components/mds-stepper-bar.js +1 -1
- package/dist/components/mds-tab-bar-item.js +1 -1
- package/dist/components/mds-tab-bar.js +1 -1
- package/dist/components/mds-tab-item2.js +1 -1
- package/dist/components/mds-tab2.js +3 -3
- package/dist/components/mds-table-body.js +1 -1
- package/dist/components/mds-table-cell2.js +1 -1
- package/dist/components/mds-table-footer.js +1 -1
- package/dist/components/mds-table-header-cell2.js +1 -1
- package/dist/components/mds-table-header.js +2 -2
- package/dist/components/mds-table-row.js +6 -6
- package/dist/components/mds-table.js +1 -1
- package/dist/components/mds-text2.js +1 -1
- package/dist/components/mds-toast.js +3 -3
- package/dist/components/mds-tooltip2.js +1 -1
- package/dist/components/mds-tree-item.js +1 -1
- package/dist/components/mds-tree.js +1 -1
- package/dist/components/mds-url-view.js +1 -1
- package/dist/components/mds-usage.js +1 -1
- package/dist/components/mds-video-wall.js +3 -3
- package/dist/components/mds-zero.js +1 -1
- package/dist/documentation.json +194 -2
- package/dist/esm/{floating-controller-698c4c16.js → floating-controller-a9b05f8d.js} +1 -1
- package/dist/esm/{floating-ui.dom.esm-e0f44fc0.js → floating-ui.dom.esm-05026c49.js} +1 -1
- package/dist/esm/index-7f153b9b.js +4 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/magma-components.js +1 -1
- package/dist/esm/mds-banner_3.entry.js +11 -5
- package/dist/esm/mds-button_3.entry.js +1 -1
- package/dist/esm/mds-dropdown.entry.js +2 -2
- package/dist/esm/mds-header.entry.js +1 -1
- package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
- package/dist/esm/mds-input-date.entry.js +57 -54
- package/dist/esm/mds-input-field.entry.js +1 -1
- package/dist/esm/mds-input-otp.entry.js +1 -1
- package/dist/esm/mds-input-range.entry.js +1 -1
- package/dist/esm/mds-input-select.entry.js +2 -2
- package/dist/esm/mds-input-switch_2.entry.js +3 -3
- package/dist/esm/mds-input-tip_2.entry.js +8 -8
- package/dist/esm/mds-input-upload.entry.js +11 -4
- package/dist/esm/mds-keyboard-key.entry.js +2 -2
- package/dist/esm/mds-keyboard.entry.js +1 -1
- package/dist/esm/mds-kpi-item.entry.js +2 -2
- package/dist/esm/mds-kpi.entry.js +1 -1
- package/dist/esm/mds-label.entry.js +1 -1
- package/dist/esm/mds-list-item.entry.js +1 -1
- package/dist/esm/mds-list.entry.js +1 -1
- package/dist/esm/mds-mention.entry.js +1 -1
- package/dist/esm/mds-modal.entry.js +3 -2
- package/dist/esm/mds-note.entry.js +1 -1
- package/dist/esm/mds-notification.entry.js +2 -2
- package/dist/esm/mds-paginator-item.entry.js +1 -1
- package/dist/esm/mds-paginator.entry.js +2 -2
- package/dist/esm/mds-policy-ai.entry.js +38 -38
- package/dist/esm/mds-pref-animation.entry.js +1 -1
- package/dist/esm/mds-pref-consumption.entry.js +1 -1
- package/dist/esm/mds-pref-contrast.entry.js +1 -1
- package/dist/esm/mds-pref-language-item.entry.js +1 -1
- package/dist/esm/mds-pref-language.entry.js +1 -1
- package/dist/esm/mds-pref-theme.entry.js +3 -3
- package/dist/esm/mds-pref.entry.js +1 -1
- package/dist/esm/mds-price-table-features-cell.entry.js +6 -6
- package/dist/esm/mds-price-table-features-row.entry.js +1 -1
- package/dist/esm/mds-price-table-features.entry.js +2 -2
- package/dist/esm/mds-price-table-header.entry.js +1 -1
- package/dist/esm/mds-price-table-list-item.entry.js +2 -2
- package/dist/esm/mds-price-table-list.entry.js +2 -2
- package/dist/esm/mds-price-table.entry.js +1 -1
- package/dist/esm/mds-progress.entry.js +1 -1
- package/dist/esm/mds-push-notification-item.entry.js +2 -2
- package/dist/esm/mds-push-notification.entry.js +1 -1
- package/dist/esm/mds-quote.entry.js +1 -1
- package/dist/esm/mds-radial-menu-item.entry.js +1 -1
- package/dist/esm/mds-radial-menu.entry.js +3 -3
- package/dist/esm/mds-separator.entry.js +1 -1
- package/dist/esm/mds-status-bar.entry.js +1 -1
- package/dist/esm/mds-stepper-bar-item.entry.js +1 -1
- package/dist/esm/mds-stepper-bar.entry.js +1 -1
- package/dist/esm/mds-tab-bar-item.entry.js +1 -1
- package/dist/esm/mds-tab-bar.entry.js +1 -1
- package/dist/esm/mds-tab_2.entry.js +4 -4
- package/dist/esm/mds-table-body.entry.js +1 -1
- package/dist/esm/mds-table-footer.entry.js +1 -1
- package/dist/esm/mds-table-header-cell.entry.js +1 -1
- package/dist/esm/mds-table-header.entry.js +2 -2
- package/dist/esm/mds-table-row.entry.js +6 -6
- package/dist/esm/mds-table.entry.js +1 -1
- package/dist/esm/mds-text.entry.js +1 -1
- package/dist/esm/mds-toast.entry.js +3 -3
- package/dist/esm/mds-tooltip.entry.js +3 -3
- package/dist/esm/mds-tree-item.entry.js +1 -1
- package/dist/esm/mds-tree.entry.js +1 -1
- package/dist/esm/mds-url-view.entry.js +1 -1
- package/dist/esm/mds-usage.entry.js +1 -1
- package/dist/esm/mds-video-wall.entry.js +3 -3
- package/dist/esm/mds-zero.entry.js +1 -1
- package/dist/esm-es5/{floating-controller-698c4c16.js → floating-controller-a9b05f8d.js} +1 -1
- package/dist/esm-es5/floating-ui.dom.esm-05026c49.js +1 -0
- package/dist/esm-es5/index-7f153b9b.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/magma-components.js +1 -1
- package/dist/esm-es5/mds-banner_3.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +1 -1
- package/dist/esm-es5/mds-dropdown.entry.js +1 -1
- package/dist/esm-es5/mds-header.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
- package/dist/esm-es5/mds-input-date.entry.js +1 -1
- package/dist/esm-es5/mds-input-field.entry.js +1 -1
- package/dist/esm-es5/mds-input-otp.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_2.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-keyboard-key.entry.js +1 -1
- package/dist/esm-es5/mds-keyboard.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-mention.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-policy-ai.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-item.entry.js +1 -1
- package/dist/esm-es5/mds-push-notification.entry.js +1 -1
- package/dist/esm-es5/mds-quote.entry.js +1 -1
- package/dist/esm-es5/mds-radial-menu-item.entry.js +1 -1
- package/dist/esm-es5/mds-radial-menu.entry.js +1 -1
- package/dist/esm-es5/mds-separator.entry.js +1 -1
- package/dist/esm-es5/mds-status-bar.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-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-tree-item.entry.js +1 -1
- package/dist/esm-es5/mds-tree.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.js +231 -208
- package/dist/hydrate/index.mjs +231 -208
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/{p-c2677087.system.entry.js → p-001cc260.system.entry.js} +1 -1
- package/dist/magma-components/{p-1ecac480.system.entry.js → p-006e893f.system.entry.js} +1 -1
- package/dist/magma-components/{p-7a740feb.entry.js → p-00aa638c.entry.js} +1 -1
- package/dist/magma-components/{p-0a0bfb70.entry.js → p-00ac9a49.entry.js} +1 -1
- package/dist/magma-components/{p-527fe1c1.entry.js → p-05577b4d.entry.js} +1 -1
- package/dist/magma-components/p-06237b42.entry.js +1 -0
- package/dist/magma-components/{p-1d680517.system.entry.js → p-081aa7ee.system.entry.js} +1 -1
- package/dist/magma-components/{p-6f203ab0.entry.js → p-08406828.entry.js} +1 -1
- package/dist/magma-components/{p-c0101ed6.system.entry.js → p-091813e6.system.entry.js} +1 -1
- package/dist/magma-components/{p-5246ea45.entry.js → p-09393d3b.entry.js} +1 -1
- package/dist/magma-components/{p-deaefdd1.system.entry.js → p-09d10951.system.entry.js} +1 -1
- package/dist/magma-components/{p-9ffb1050.system.entry.js → p-0a223c02.system.entry.js} +1 -1
- package/dist/magma-components/{p-4aa97921.system.entry.js → p-0a274718.system.entry.js} +1 -1
- package/dist/magma-components/{p-e6505fa3.system.entry.js → p-0d8d18e3.system.entry.js} +1 -1
- package/dist/magma-components/{p-43174e79.system.entry.js → p-1078ebfe.system.entry.js} +1 -1
- package/dist/magma-components/{p-d48d507b.system.entry.js → p-10fcea5e.system.entry.js} +1 -1
- package/dist/magma-components/{p-ebb104a1.entry.js → p-127fe680.entry.js} +1 -1
- package/dist/magma-components/{p-0e40732e.entry.js → p-12eb16ec.entry.js} +1 -1
- package/dist/magma-components/{p-2cff47b8.entry.js → p-13ffe71c.entry.js} +1 -1
- package/dist/magma-components/{p-4b7381ef.entry.js → p-144204e1.entry.js} +1 -1
- package/dist/magma-components/{p-35e5acff.system.entry.js → p-1756f4bc.system.entry.js} +1 -1
- package/dist/magma-components/{p-c92787d8.system.entry.js → p-19e5f4c3.system.entry.js} +1 -1
- package/dist/magma-components/{p-6d93c041.system.entry.js → p-1a3b821f.system.entry.js} +1 -1
- package/dist/magma-components/{p-beb1945f.system.entry.js → p-1aa6b055.system.entry.js} +1 -1
- package/dist/magma-components/{p-e79ad06f.entry.js → p-1ed308fc.entry.js} +1 -1
- package/dist/magma-components/{p-f3ca67d8.system.entry.js → p-1f7c5ab7.system.entry.js} +1 -1
- package/dist/magma-components/{p-9b542466.system.entry.js → p-2063dff7.system.entry.js} +1 -1
- package/dist/magma-components/{p-5fa6848c.entry.js → p-22c5a63b.entry.js} +1 -1
- package/dist/magma-components/{p-72b05a33.entry.js → p-23be61b8.entry.js} +1 -1
- package/dist/magma-components/{p-5a69383b.entry.js → p-25c8b684.entry.js} +1 -1
- package/dist/magma-components/p-26cd6ec8.system.js +1 -1
- package/dist/magma-components/{p-42986683.system.entry.js → p-28ddfbd3.system.entry.js} +1 -1
- package/dist/magma-components/{p-00f29074.entry.js → p-28ef20b4.entry.js} +1 -1
- package/dist/magma-components/{p-3c1d0160.system.entry.js → p-2d57f515.system.entry.js} +1 -1
- package/dist/magma-components/{p-df5c06e0.js → p-2dedb8fa.js} +1 -1
- package/dist/magma-components/{p-80fd7065.system.entry.js → p-2e51fde1.system.entry.js} +1 -1
- package/dist/magma-components/{p-85a5afa3.system.entry.js → p-2e8507ab.system.entry.js} +1 -1
- package/dist/magma-components/{p-0b821f3d.system.entry.js → p-31064475.system.entry.js} +1 -1
- package/dist/magma-components/{p-d369fa04.entry.js → p-31e33341.entry.js} +1 -1
- package/dist/magma-components/{p-882a97d8.system.js → p-323ba5fb.system.js} +1 -1
- package/dist/magma-components/{p-11eb10c4.entry.js → p-3290bb60.entry.js} +1 -1
- package/dist/magma-components/{p-d2ed7790.entry.js → p-329929bd.entry.js} +1 -1
- package/dist/magma-components/{p-9f961b1c.system.entry.js → p-337e6444.system.entry.js} +1 -1
- package/dist/magma-components/{p-4391f6e9.system.entry.js → p-35025ff8.system.entry.js} +1 -1
- package/dist/magma-components/p-358ede7f.system.entry.js +1 -0
- package/dist/magma-components/{p-2f5539ca.entry.js → p-370f0fdd.entry.js} +1 -1
- package/dist/magma-components/{p-01b3232b.system.entry.js → p-3d687658.system.entry.js} +1 -1
- package/dist/magma-components/{p-9a9822af.entry.js → p-42b75f26.entry.js} +1 -1
- package/dist/magma-components/{p-500bbf65.system.entry.js → p-42da7445.system.entry.js} +1 -1
- package/dist/magma-components/{p-6e43b31f.system.entry.js → p-44ca0625.system.entry.js} +1 -1
- package/dist/magma-components/p-471e1ac0.entry.js +1 -0
- package/dist/magma-components/{p-9982f020.system.entry.js → p-47376db8.system.entry.js} +1 -1
- package/dist/magma-components/{p-4720618f.system.entry.js → p-495057a5.system.entry.js} +1 -1
- package/dist/magma-components/{p-2186e1dc.system.entry.js → p-4c22fc2e.system.entry.js} +1 -1
- package/dist/magma-components/{p-4243e0da.entry.js → p-4c387bc1.entry.js} +1 -1
- package/dist/magma-components/{p-ea431a4e.entry.js → p-4d67a4ce.entry.js} +1 -1
- package/dist/magma-components/{p-55d9b195.system.entry.js → p-4eab6bb0.system.entry.js} +1 -1
- package/dist/magma-components/{p-bc57a875.entry.js → p-4fe5f7b6.entry.js} +1 -1
- package/dist/magma-components/{p-8581c96f.system.entry.js → p-4fe78b18.system.entry.js} +1 -1
- package/dist/magma-components/{p-eb642a91.system.entry.js → p-5014f1fb.system.entry.js} +1 -1
- package/dist/magma-components/{p-b03baae5.entry.js → p-5406ab26.entry.js} +1 -1
- package/dist/magma-components/{p-2d1dfea5.system.entry.js → p-55bedd2e.system.entry.js} +1 -1
- package/dist/magma-components/p-55f0a8a1.entry.js +1 -0
- package/dist/magma-components/{p-d4afc5d8.entry.js → p-5cf203bd.entry.js} +1 -1
- package/dist/magma-components/{p-13281423.entry.js → p-6081f9f1.entry.js} +1 -1
- package/dist/magma-components/{p-1eb0c1ae.system.entry.js → p-60d58044.system.entry.js} +1 -1
- package/dist/magma-components/{p-96283555.entry.js → p-615e2a35.entry.js} +1 -1
- package/dist/magma-components/{p-821d060d.entry.js → p-6176990a.entry.js} +1 -1
- package/dist/magma-components/{p-7a81a089.system.entry.js → p-639b3f08.system.entry.js} +1 -1
- package/dist/magma-components/{p-62e52542.entry.js → p-6668dff1.entry.js} +1 -1
- package/dist/magma-components/{p-46e32897.system.entry.js → p-6ac166ca.system.entry.js} +1 -1
- package/dist/magma-components/{p-bf675a67.system.entry.js → p-6ad547b8.system.entry.js} +1 -1
- package/dist/magma-components/{p-20792537.system.entry.js → p-6c0bb0ac.system.entry.js} +1 -1
- package/dist/magma-components/p-6d06c94a.system.entry.js +1 -0
- package/dist/magma-components/{p-640b3eb0.entry.js → p-717e04fe.entry.js} +1 -1
- package/dist/magma-components/{p-27307498.entry.js → p-74482672.entry.js} +1 -1
- package/dist/magma-components/p-76988cf0.entry.js +1 -0
- package/dist/magma-components/{p-c1a3d464.entry.js → p-7bd9cd6d.entry.js} +1 -1
- package/dist/magma-components/{p-98a3fdcd.system.entry.js → p-7f71e011.system.entry.js} +1 -1
- package/dist/magma-components/{p-da987dac.entry.js → p-81831452.entry.js} +1 -1
- package/dist/magma-components/{p-3453961a.system.entry.js → p-838d3f0c.system.entry.js} +1 -1
- package/dist/magma-components/{p-2b11f724.entry.js → p-84d8bbe2.entry.js} +1 -1
- package/dist/magma-components/{p-3495f4d9.system.entry.js → p-862d6e7b.system.entry.js} +1 -1
- package/dist/magma-components/{p-a66523f8.system.entry.js → p-86cc801d.system.entry.js} +1 -1
- package/dist/magma-components/{p-62fecb08.system.entry.js → p-881c6b67.system.entry.js} +1 -1
- package/dist/magma-components/{p-f1bd12fc.entry.js → p-889a054d.entry.js} +1 -1
- package/dist/magma-components/{p-13407df1.entry.js → p-89146878.entry.js} +1 -1
- package/dist/magma-components/{p-4c0f35ae.system.entry.js → p-89e16946.system.entry.js} +1 -1
- package/dist/magma-components/{p-e3059ce5.entry.js → p-92c15250.entry.js} +1 -1
- package/dist/magma-components/{p-474698f4.entry.js → p-92f2ae1b.entry.js} +1 -1
- package/dist/magma-components/{p-3421f2a8.system.entry.js → p-99354c73.system.entry.js} +1 -1
- package/dist/magma-components/{p-e521f356.entry.js → p-99788dd0.entry.js} +1 -1
- package/dist/magma-components/{p-feef2597.system.entry.js → p-9999e0fe.system.entry.js} +1 -1
- package/dist/magma-components/{p-36b10db4.entry.js → p-a6daa115.entry.js} +1 -1
- package/dist/magma-components/{p-fb4dc59b.entry.js → p-a7145767.entry.js} +1 -1
- package/dist/magma-components/{p-8823ee2c.system.entry.js → p-ac5f329f.system.entry.js} +1 -1
- package/dist/magma-components/{p-a2e2c6a7.system.entry.js → p-b0ef86f1.system.entry.js} +1 -1
- package/dist/magma-components/{p-6f4923a6.system.entry.js → p-b19dfe4f.system.entry.js} +1 -1
- package/dist/magma-components/{p-7f60d4a7.system.entry.js → p-b1a9ea15.system.entry.js} +1 -1
- package/dist/magma-components/{p-4524c9f4.entry.js → p-b35bd860.entry.js} +1 -1
- package/dist/magma-components/{p-b1f28a4b.entry.js → p-bdccc582.entry.js} +1 -1
- package/dist/magma-components/p-bf91885f.system.entry.js +1 -0
- package/dist/magma-components/{p-b370571f.entry.js → p-c1a03b57.entry.js} +1 -1
- package/dist/magma-components/{p-4071e51c.entry.js → p-c543b673.entry.js} +1 -1
- package/dist/magma-components/{p-b35b4cef.system.entry.js → p-c7bf8b1c.system.entry.js} +1 -1
- package/dist/magma-components/{p-f7af27c6.system.entry.js → p-c7d99ad5.system.entry.js} +1 -1
- package/dist/magma-components/{p-bd604ad3.entry.js → p-c97bce16.entry.js} +1 -1
- package/dist/magma-components/{p-00d4677a.entry.js → p-c9b125c5.entry.js} +1 -1
- package/dist/magma-components/p-ca52a8dd.system.entry.js +1 -0
- package/dist/magma-components/{p-35e21802.entry.js → p-ca88389f.entry.js} +1 -1
- package/dist/magma-components/{p-8cb86efd.entry.js → p-cb10b405.entry.js} +1 -1
- package/dist/magma-components/{p-624da686.entry.js → p-cd1aad9b.entry.js} +1 -1
- package/dist/magma-components/{p-bbad26c3.system.entry.js → p-cd996c6d.system.entry.js} +1 -1
- package/dist/magma-components/{p-780a5f88.system.entry.js → p-cdf3bd7d.system.entry.js} +1 -1
- package/dist/magma-components/{p-20d16a0f.system.entry.js → p-ce5959b4.system.entry.js} +1 -1
- package/dist/magma-components/{p-6568531a.entry.js → p-ce7332b0.entry.js} +1 -1
- package/dist/magma-components/{p-f9450ce4.entry.js → p-cf09a880.entry.js} +1 -1
- package/dist/magma-components/{p-ef4131d9.entry.js → p-cf3b59cb.entry.js} +1 -1
- package/dist/magma-components/{p-7ce597ac.system.entry.js → p-cfe04065.system.entry.js} +1 -1
- package/dist/magma-components/{p-7c48015c.entry.js → p-d1ca25ad.entry.js} +1 -1
- package/dist/magma-components/{p-4d3a2cb3.system.entry.js → p-d1ed3c80.system.entry.js} +1 -1
- package/dist/magma-components/{p-9f921773.entry.js → p-d50398c7.entry.js} +1 -1
- package/dist/magma-components/p-d6b2a3fd.system.js +1 -0
- package/dist/magma-components/{p-0e98680f.entry.js → p-d809143d.entry.js} +1 -1
- package/dist/magma-components/{p-2d875595.system.entry.js → p-dc17f8bb.system.entry.js} +1 -1
- package/dist/magma-components/{p-692985ad.entry.js → p-dd08e161.entry.js} +1 -1
- package/dist/magma-components/{p-fdd10055.entry.js → p-e275baec.entry.js} +1 -1
- package/dist/magma-components/p-e46e6d8c.system.entry.js +1 -0
- package/dist/magma-components/{p-12dbf8cb.system.entry.js → p-e5b99b2f.system.entry.js} +1 -1
- package/dist/magma-components/{p-1ee3741a.system.entry.js → p-e9af7047.system.entry.js} +1 -1
- package/dist/magma-components/{p-6040abb9.js → p-edd2d1ad.js} +1 -1
- package/dist/magma-components/{p-d6c7f107.system.entry.js → p-ee7ccede.system.entry.js} +1 -1
- package/dist/magma-components/{p-e76b3d63.entry.js → p-eef3b47c.entry.js} +1 -1
- package/dist/magma-components/{p-1d2ef203.system.entry.js → p-ef28cf05.system.entry.js} +1 -1
- package/dist/magma-components/{p-9a60a899.entry.js → p-f0d1ec10.entry.js} +1 -1
- package/dist/magma-components/{p-7557aa42.entry.js → p-f11d8f6d.entry.js} +1 -1
- package/dist/magma-components/{p-b986a6c2.entry.js → p-f1227e58.entry.js} +1 -1
- package/dist/magma-components/{p-75ee38e7.entry.js → p-f26c2da4.entry.js} +1 -1
- package/dist/magma-components/{p-63f6704b.system.entry.js → p-f326ae49.system.entry.js} +1 -1
- package/dist/magma-components/{p-258ca966.entry.js → p-fa4bd146.entry.js} +1 -1
- package/dist/magma-components/{p-555596f6.system.entry.js → p-fb829b57.system.entry.js} +1 -1
- package/dist/magma-components/{p-fde47f0b.entry.js → p-fbc8d55b.entry.js} +1 -1
- package/dist/magma-components/{p-a85c5d17.entry.js → p-fe2f494e.entry.js} +1 -1
- package/dist/stats.json +1367 -1067
- package/dist/types/components/mds-accordion/test/mds-accordion.stories.d.ts +21 -4
- package/dist/types/components/mds-accordion-item/test/mds-accordion-item.stories.d.ts +13 -2
- package/dist/types/components/mds-accordion-timer/test/mds-accordion-timer.stories.d.ts +47 -6
- package/dist/types/components/mds-accordion-timer-item/test/mds-accordion-timer-item.stories.d.ts +42 -3
- package/dist/types/components/mds-author/test/mds-author.stories.d.ts +6 -2
- package/dist/types/components/mds-avatar/test/mds-avatar.stories.d.ts +41 -6
- package/dist/types/components/mds-avatar-stack/test/mds-avatar-stack.stories.d.ts +16 -3
- package/dist/types/components/mds-avatar-stack-item/test/mds-avatar-stack-item.stories.d.ts +27 -4
- package/dist/types/components/mds-badge/test/mds-badge.stories.d.ts +7 -1
- package/dist/types/components/mds-banner/test/mds-banner.stories.d.ts +66 -10
- package/dist/types/components/mds-benchmark-bar/test/mds-benchmark-bar.stories.d.ts +19 -3
- package/dist/types/components/mds-bibliography/test/mds-bibliography.stories.d.ts +47 -5
- package/dist/types/components/mds-breadcrumb/test/mds-breadcrumb.stories.d.ts +3 -1
- package/dist/types/components/mds-breadcrumb-item/test/mds-breadcrumb-item.stories.d.ts +9 -2
- package/dist/types/components/mds-button/test/mds-button.stories.d.ts +130 -19
- package/dist/types/components/mds-button-dropdown/test/mds-button-dropdown.stories.d.ts +8 -1
- package/dist/types/components/mds-button-group/test/mds-button-group.stories.d.ts +6 -2
- package/dist/types/components/mds-calendar/test/mds-calendar.stories.d.ts +7 -1
- package/dist/types/components/mds-card/test/mds-card.stories.d.ts +54 -17
- package/dist/types/components/mds-chip/mds-chip.d.ts +4 -0
- package/dist/types/components/mds-chip/meta/interface.d.ts +1 -0
- package/dist/types/components/mds-chip/test/mds-chip.stories.d.ts +47 -6
- package/dist/types/components/mds-details/test/mds-details.stories.d.ts +9 -2
- package/dist/types/components/mds-dropdown/test/mds-dropdown.stories.d.ts +177 -16
- package/dist/types/components/mds-emoji/test/mds-emoji.stories.d.ts +6 -2
- package/dist/types/components/mds-entity/test/mds-entity.stories.d.ts +30 -5
- package/dist/types/components/mds-file/test/mds-file.stories.d.ts +35 -5
- package/dist/types/components/mds-file-preview/test/mds-file-preview.stories.d.ts +92 -11
- package/dist/types/components/mds-filter/test/mds-filter.stories.d.ts +26 -4
- package/dist/types/components/mds-filter-item/test/mds-filter-item.stories.d.ts +13 -2
- package/dist/types/components/mds-header/test/mds-header.stories.d.ts +26 -4
- package/dist/types/components/mds-header-bar/test/mds-header-bar.stories.d.ts +3 -1
- package/dist/types/components/mds-help/test/mds-help.stories.d.ts +9 -2
- package/dist/types/components/mds-horizontal-scroll/test/mds-horizontal-scroll.stories.d.ts +21 -4
- package/dist/types/components/mds-hr/test/mds-hr.stories.d.ts +9 -2
- package/dist/types/components/mds-icon/test/mds-icon.stories.d.ts +39 -7
- package/dist/types/components/mds-img/test/mds-img-accessibility.stories.d.ts +24 -4
- package/dist/types/components/mds-img/test/mds-img.stories.d.ts +54 -7
- package/dist/types/components/mds-input/test/mds-input.stories.d.ts +175 -23
- package/dist/types/components/mds-input-date/mds-input-date.d.ts +23 -6
- package/dist/types/components/mds-input-date/test/mds-input-date.stories.d.ts +49 -3
- package/dist/types/components/mds-input-date-range/test/mds-input-date-range.stories.d.ts +22 -4
- package/dist/types/components/mds-input-field/test/mds-input-field.stories.d.ts +42 -6
- package/dist/types/components/mds-input-otp/test/mds-input-otp.stories.d.ts +18 -3
- package/dist/types/components/mds-input-range/test/mds-input-range.stories.d.ts +39 -8
- package/dist/types/components/mds-input-select/test/mds-input-select.stories.d.ts +33 -6
- package/dist/types/components/mds-input-switch/test/mds-input-switch.stories.d.ts +100 -11
- package/dist/types/components/mds-input-tip/test/mds-input-tip.stories.d.ts +3 -1
- package/dist/types/components/mds-input-tip-item/test/mds-input-tip.stories.d.ts +3 -1
- package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +4 -0
- package/dist/types/components/mds-input-upload/test/mds-input-upload.stories.d.ts +21 -3
- package/dist/types/components/mds-keyboard/test/mds-keyboard.stories.d.ts +15 -4
- package/dist/types/components/mds-keyboard-key/test/mds-keyboard-key.stories.d.ts +6 -1
- package/dist/types/components/mds-kpi/test/mds-kpi.stories.d.ts +6 -2
- package/dist/types/components/mds-kpi-item/test/mds-kpi-item.stories.d.ts +8 -1
- package/dist/types/components/mds-label/test/mds-label.stories.d.ts +28 -6
- package/dist/types/components/mds-list/test/mds-list.stories.d.ts +3 -1
- package/dist/types/components/mds-list-item/test/mds-list-item.stories.d.ts +3 -1
- package/dist/types/components/mds-mention/test/mds-mention.stories.d.ts +6 -1
- package/dist/types/components/mds-modal/test/mds-modal.stories.d.ts +49 -8
- package/dist/types/components/mds-note/test/mds-note.stories.d.ts +12 -3
- package/dist/types/components/mds-notification/test/mds-notification.stories.d.ts +40 -6
- package/dist/types/components/mds-paginator/test/mds-paginator.stories.d.ts +20 -2
- package/dist/types/components/mds-policy-ai/test/mds-policy.stories.d.ts +55 -9
- package/dist/types/components/mds-pref/test/mds-pref.stories.d.ts +7 -2
- package/dist/types/components/mds-pref-animation/test/mds-pref-animation.stories.d.ts +4 -1
- package/dist/types/components/mds-pref-consumption/test/mds-pref-consumption.stories.d.ts +4 -1
- package/dist/types/components/mds-pref-contrast/test/mds-pref-contrast.stories.d.ts +4 -1
- package/dist/types/components/mds-pref-language/test/mds-pref-language.stories.d.ts +4 -1
- package/dist/types/components/mds-pref-theme/test/mds-pref-theme.stories.d.ts +4 -1
- package/dist/types/components/mds-price-table/test/mds-price-table.stories.d.ts +6 -1
- package/dist/types/components/mds-price-table-features/test/mds-price-table-features.stories.d.ts +6 -1
- package/dist/types/components/mds-price-table-features-cell/test/mds-price-table-features-cell.stories.d.ts +6 -1
- package/dist/types/components/mds-price-table-header/test/mds-price-table-header.stories.d.ts +3 -1
- package/dist/types/components/mds-price-table-list/test/mds-price-table-list.stories.d.ts +6 -2
- package/dist/types/components/mds-progress/test/mds-progress.stories.d.ts +6 -1
- package/dist/types/components/mds-push-notification/test/mds-push-notification.stories.d.ts +15 -3
- package/dist/types/components/mds-push-notification-item/test/mds-push-notification-item.stories.d.ts +118 -11
- package/dist/types/components/mds-quote/test/mds-quote.stories.d.ts +14 -2
- package/dist/types/components/mds-radial-menu/test/mds-radial-menu.stories.d.ts +26 -4
- package/dist/types/components/mds-radial-menu-item/test/mds-radial-menu-item.stories.d.ts +6 -1
- package/dist/types/components/mds-separator/test/mds-separator.stories.d.ts +3 -1
- package/dist/types/components/mds-spinner/test/mds-spinner.stories.d.ts +23 -2
- package/dist/types/components/mds-status-bar/test/mds-status-bar.stories.d.ts +6 -1
- package/dist/types/components/mds-stepper-bar/test/mds-stepper-bar.stories.d.ts +9 -2
- package/dist/types/components/mds-stepper-bar-item/test/mds-stepper-bar-item.stories.d.ts +48 -6
- package/dist/types/components/mds-tab/test/mds-tab.stories.d.ts +54 -12
- package/dist/types/components/mds-tab-bar/test/mds-tab-bar.stories.d.ts +3 -1
- package/dist/types/components/mds-tab-bar-item/test/mds-tab-bar-item.stories.d.ts +3 -1
- package/dist/types/components/mds-tab-item/test/mds-tab-item.stories.d.ts +15 -3
- package/dist/types/components/mds-table/test/mds-table.stories.d.ts +38 -7
- package/dist/types/components/mds-text/test/mds-text.stories.d.ts +131 -22
- package/dist/types/components/mds-toast/test/mds-toast.stories.d.ts +6 -2
- package/dist/types/components/mds-tooltip/test/mds-tooltip.stories.d.ts +110 -11
- package/dist/types/components/mds-tree/test/mds-tree-apk.stories.d.ts +12 -4
- package/dist/types/components/mds-tree/test/mds-tree.stories.d.ts +27 -3
- package/dist/types/components/mds-tree-item/test/mds-tree-item.stories.d.ts +10 -2
- package/dist/types/components/mds-url-view/test/mds-url-view.stories.d.ts +20 -3
- package/dist/types/components/mds-usage/test/mds-usage.stories.d.ts +15 -3
- package/dist/types/components/mds-video-wall/test/mds-video-wall.stories.d.ts +112 -8
- package/dist/types/components/mds-zero/test/mds-zero.stories.d.ts +3 -1
- package/dist/types/components.d.ts +41 -0
- package/dist/types/storybook/components-version.stories.d.ts +3 -1
- package/dist/types/storybook/example-page.stories.d.ts +3 -1
- package/dist/types/storybook/fouc-hydrated.stories.d.ts +3 -1
- package/dist/types/storybook/input-form.stories.d.ts +3 -1
- package/dist/types/storybook/same-childrend-slot-names.stories.d.ts +3 -1
- package/package.json +10 -12
- package/dist/esm-es5/floating-ui.dom.esm-e0f44fc0.js +0 -1
- package/dist/magma-components/p-3831d174.system.entry.js +0 -1
- package/dist/magma-components/p-5572a1d2.system.js +0 -1
- package/dist/magma-components/p-5935557f.entry.js +0 -1
- package/dist/magma-components/p-70a2b929.system.entry.js +0 -1
- package/dist/magma-components/p-7fb2cd70.entry.js +0 -1
- package/dist/magma-components/p-86d703f7.entry.js +0 -1
- package/dist/magma-components/p-961c011d.system.entry.js +0 -1
- package/dist/magma-components/p-ac059e66.system.entry.js +0 -1
- package/dist/magma-components/p-b326b3d7.entry.js +0 -1
- package/dist/magma-components/p-e1351334.system.entry.js +0 -1
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-de0ace0a.js');
|
|
6
6
|
|
|
7
|
-
const mdsHeaderCss = "/**\n * @prop --mds-header-backdrop-background-image: Sets the background-image of the backdrop element visibile when the component attribute `appearance` is set to `inline`, by default is shown when mds-pref-consumtion is set to `medium`\n * @prop --mds-header-backdrop-filter: Sets the backdrop-filter of the backdrop element visibile when the component attribute `appearance` is set to `inline`, by default is shown when mds-pref-consumtion is set to `high`\n * @prop --mds-header-backdrop-height: Sets the height of the backdrop element visibile when the component attribute `appearance` is set to `inline`\n * @prop --mds-header-backdrop-show: Sets if the backdrop element is visible or not, only visible when the component attribute `appearance` is set to `inline`\n * @prop --mds-header-color: Sets the text color of the header and the mobile toggler icon\n * @prop --mds-header-hidden-bar-translate-inline: Sets translateY value for the appearance inline `mds-header-bar` element\n * @prop --mds-header-hidden-bar-translate-stripe: Sets translateY value for the appearance stripe `mds-header-bar` element\n * @prop --mds-header-icon-color: Sets the color of the icon toggler\n * @prop --mds-header-inline-margin-mobile: Sets inline margin on mobile viewport of `the mds-header-bar` when attribute `appearance` is set to `inline`\n * @prop --mds-header-inline-margin: Sets inline margin of `the mds-header-bar` when attribute `appearance` is set to `inline`\n * @prop --mds-header-z-index: Sets the z-index of the modal\n */\n\n:host {\n --mds-header-color: rgb(var(--tone-neutral-02));\n --mds-header-hidden-bar-translate-inline: translateY(-150%);\n --mds-header-hidden-bar-translate-stripe: translateY(-110%);\n --mds-header-icon-color: var(--mds-header-color, rgb(var(--tone-neutral-02)));\n --mds-header-modal-icon-color: rgb(var(--tone-neutral));\n --mds-header-backdrop-filter: blur(10px);\n --mds-header-backdrop-background-image: linear-gradient(to top, rgb(0 0 0 / 0), rgb(0 0 0 / 0.15));\n --mds-header-backdrop-height: 4rem;\n --mds-header-backdrop-show: true;\n --mds-header-z-index: var(--magma-header-z-index, 1000);\n --mds-header-inline-margin-mobile: 1rem;\n --mds-header-inline-margin: 1.5rem;\n\n color: var(--mds-header-color);\n fill: var(--mds-header-icon-color);\n position: relative;\n z-index: var(--mds-header-z-index);\n}\n\n.modal {\n --mds-modal-close-icon-color: var(--mds-header-modal-icon-color);\n\n z-index: var(--mds-header-z-index);\n}\n\n:host([appearance=\"inline\"]) ::slotted(mds-header-bar) {\n --mds-header-inline-margin-current: var(--mds-header-inline-margin);\n max-width: 1280px;\n border-radius: 0.5rem;\n\n margin-bottom: var(--mds-header-inline-margin-current);\n margin-top: var(--mds-header-inline-margin-current);\n width: calc(100% - calc(var(--mds-header-inline-margin-current) * 2));\n}\n\n@media (width <= 767px) {\n :host([appearance=\"inline\"]) ::slotted(mds-header-bar) {\n --mds-header-inline-margin-current: var(--mds-header-inline-margin-mobile);\n }\n}\n\n@media (max-width: 1023px) {\n\n :host([menu=\"desktop\"]) .menu {\n display: none;\n }\n}\n\n@media (min-width: 1024px) {\n\n :host([menu=\"mobile\"]) .menu {\n display: none;\n }\n}\n\n:host([menu=\"none\"]) .menu {\n display: none;\n}\n\n:host([visibility=\"hidden\"][appearance=\"stripe\"]) ::slotted(mds-header-bar) {\n -webkit-transform: var(--mds-header-hidden-bar-translate-stripe);\n transform: var(--mds-header-hidden-bar-translate-stripe);\n}\n\n:host([visibility=\"hidden\"][appearance=\"inline\"]) ::slotted(mds-header-bar) {\n -webkit-transform: var(--mds-header-hidden-bar-translate-inline);\n transform: var(--mds-header-hidden-bar-translate-inline);\n}\n\n.backdrop {\n -ms-flex-align: center;\n align-items: center;\n -webkit-backdrop-filter: var(--mds-header-backdrop-filter);\n backdrop-filter: var(--mds-header-backdrop-filter);\n background-image: var(--mds-header-backdrop-background-image);\n content: '';\n display: -ms-flexbox;\n display: flex;\n height: var(--mds-header-backdrop-height);\n inset: 0;\n opacity: 1;\n position: fixed;\n -webkit-transform: translate(0, 0);\n transform: translate(0, 0);\n -webkit-transition-duration: 200ms;\n transition-duration: 200ms;\n -webkit-transition-property: opacity, -webkit-transform;\n transition-property: opacity, -webkit-transform;\n transition-property: opacity, transform;\n transition-property: opacity, transform, -webkit-transform;\n width: 100%;\n\n\n /* should blurs the blur effect but not blurring */\n\n /* mask-image: linear-gradient(rgb(0 0 0 / 1), transparent); */\n}\n\n:host([appearance=\"inline\"]) .backdrop {\n opacity: 1;\n -webkit-transform: translate(0, 0);\n transform: translate(0, 0);\n}\n\n:host([visibility=\"hidden\"]) .backdrop,\n:host([appearance=\"stripe\"]) .backdrop {\n opacity: 0;\n -webkit-transform: translate(0, -100%);\n transform: translate(0, -100%);\n}\n\n@container style(--mds-header-backdrop-show: false) {\n :host-context(:not(.safari)) .backdrop {\n display: none;\n }\n}\n\n:host-context(.pref-theme-dark) {\n --mds-header-modal-icon-color: rgb(var(--tone-neutral-01));\n}\n\n@media (prefers-color-scheme: dark) {\n :host-context(.pref-theme-system) {\n --mds-header-modal-icon-color: rgb(var(--tone-neutral-01));\n }\n}\n\n:host-context(.pref-consumption-high) .backdrop {\n --mds-header-backdrop-background-image: none;\n}\n\n:host-context(.pref-consumption-medium) .backdrop {\n --mds-header-backdrop-filter: none;\n}\n\n:host-context(.pref-consumption-low) .backdrop {\n display: none;\n}\n\n:host(:not(:is([hydrated], .hydrated))) {\n -webkit-animation-duration: 0s;\n animation-duration: 0s;\n border-color: transparent;\n -webkit-box-shadow: 0 0 0 transparent;\n box-shadow: 0 0 0 transparent;\n opacity: 0;\n outline-color: transparent;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n visibility: hidden;\n}\n\n/* TODO refact(stencil): Uses only used selector from parent shadowDOM component */\n\nmds-accordion:not(:is([hydrated], .hydrated)),\nmds-accordion-item:not(:is([hydrated], .hydrated)),\nmds-accordion-timer:not(:is([hydrated], .hydrated)),\nmds-accordion-timer-item:not(:is([hydrated], .hydrated)),\nmds-author:not(:is([hydrated], .hydrated)),\nmds-avatar:not(:is([hydrated], .hydrated)),\nmds-badge:not(:is([hydrated], .hydrated)),\nmds-banner:not(:is([hydrated], .hydrated)),\nmds-benchmark-bar:not(:is([hydrated], .hydrated)),\nmds-bibliography:not(:is([hydrated], .hydrated)),\nmds-breadcrumb:not(:is([hydrated], .hydrated)),\nmds-breadcrumb-item:not(:is([hydrated], .hydrated)),\nmds-button:not(:is([hydrated], .hydrated)),\nmds-card:not(:is([hydrated], .hydrated)),\nmds-card-content:not(:is([hydrated], .hydrated)),\nmds-card-footer:not(:is([hydrated], .hydrated)),\nmds-card-header:not(:is([hydrated], .hydrated)),\nmds-card-media:not(:is([hydrated], .hydrated)),\nmds-chip:not(:is([hydrated], .hydrated)),\nmds-details:not(:is([hydrated], .hydrated)),\nmds-dropdown:not(:is([hydrated], .hydrated)),\nmds-entity:not(:is([hydrated], .hydrated)),\nmds-file:not(:is([hydrated], .hydrated)),\nmds-file-preview:not(:is([hydrated], .hydrated)),\nmds-filter:not(:is([hydrated], .hydrated)),\nmds-filter-item:not(:is([hydrated], .hydrated)),\nmds-header:not(:is([hydrated], .hydrated)),\nmds-header-bar:not(:is([hydrated], .hydrated)),\nmds-help:not(:is([hydrated], .hydrated)),\nmds-horizontal-scroll:not(:is([hydrated], .hydrated)),\nmds-hr:not(:is([hydrated], .hydrated)),\nmds-icon:not(:is([hydrated], .hydrated)),\nmds-img:not(:is([hydrated], .hydrated)),\nmds-input:not(:is([hydrated], .hydrated)),\nmds-input-field:not(:is([hydrated], .hydrated)),\nmds-input-range:not(:is([hydrated], .hydrated)),\nmds-input-select:not(:is([hydrated], .hydrated)),\nmds-input-switch:not(:is([hydrated], .hydrated)),\nmds-input-tip:not(:is([hydrated], .hydrated)),\nmds-input-tip-item:not(:is([hydrated], .hydrated)),\nmds-input-upload:not(:is([hydrated], .hydrated)),\nmds-keyboard:not(:is([hydrated], .hydrated)),\nmds-keyboard-key:not(:is([hydrated], .hydrated)),\nmds-kpi:not(:is([hydrated], .hydrated)),\nmds-kpi-item:not(:is([hydrated], .hydrated)),\nmds-label:not(:is([hydrated], .hydrated)),\nmds-list:not(:is([hydrated], .hydrated)),\nmds-list-item:not(:is([hydrated], .hydrated)),\nmds-modal:not(:is([hydrated], .hydrated)),\nmds-note:not(:is([hydrated], .hydrated)),\nmds-notification:not(:is([hydrated], .hydrated)),\nmds-paginator:not(:is([hydrated], .hydrated)),\nmds-paginator-item:not(:is([hydrated], .hydrated)),\nmds-pref:not(:is([hydrated], .hydrated)),\nmds-pref-animation:not(:is([hydrated], .hydrated)),\nmds-pref-consumption:not(:is([hydrated], .hydrated)),\nmds-pref-contrast:not(:is([hydrated], .hydrated)),\nmds-pref-language:not(:is([hydrated], .hydrated)),\nmds-pref-language-item:not(:is([hydrated], .hydrated)),\nmds-pref-theme:not(:is([hydrated], .hydrated)),\nmds-price-table:not(:is([hydrated], .hydrated)),\nmds-price-table-features:not(:is([hydrated], .hydrated)),\nmds-price-table-features-cell:not(:is([hydrated], .hydrated)),\nmds-price-table-features-row:not(:is([hydrated], .hydrated)),\nmds-price-table-header:not(:is([hydrated], .hydrated)),\nmds-price-table-list:not(:is([hydrated], .hydrated)),\nmds-price-table-list-item:not(:is([hydrated], .hydrated)),\nmds-progress:not(:is([hydrated], .hydrated)),\nmds-push-notification:not(:is([hydrated], .hydrated)),\nmds-push-notifications:not(:is([hydrated], .hydrated)),\nmds-quote:not(:is([hydrated], .hydrated)),\nmds-separator:not(:is([hydrated], .hydrated)),\nmds-spinner:not(:is([hydrated], .hydrated)),\nmds-stepper-bar:not(:is([hydrated], .hydrated)),\nmds-stepper-bar-item:not(:is([hydrated], .hydrated)),\nmds-tab:not(:is([hydrated], .hydrated)),\nmds-tab-bar:not(:is([hydrated], .hydrated)),\nmds-tab-bar-item:not(:is([hydrated], .hydrated)),\nmds-tab-item:not(:is([hydrated], .hydrated)),\nmds-table:not(:is([hydrated], .hydrated)),\nmds-table-body:not(:is([hydrated], .hydrated)),\nmds-table-cell:not(:is([hydrated], .hydrated)),\nmds-table-footer:not(:is([hydrated], .hydrated)),\nmds-table-header:not(:is([hydrated], .hydrated)),\nmds-table-header-cell:not(:is([hydrated], .hydrated)),\nmds-table-row:not(:is([hydrated], .hydrated)),\nmds-text:not(:is([hydrated], .hydrated)),\nmds-toast:not(:is([hydrated], .hydrated)),\nmds-tooltip:not(:is([hydrated], .hydrated)),\nmds-tree:not(:is([hydrated], .hydrated)),\nmds-tree-item:not(:is([hydrated], .hydrated)),\nmds-url-view:not(:is([hydrated], .hydrated)),\nmds-usage:not(:is([hydrated], .hydrated)),\nmds-video-wall:not(:is([hydrated], .hydrated)),\nmds-zero:not(:is([hydrated], .hydrated))\n{\n -webkit-animation-duration: 0s;\n animation-duration: 0s;\n border-color: transparent;\n -webkit-box-shadow: 0 0 0 transparent;\n box-shadow: 0 0 0 transparent;\n opacity: 0;\n outline-color: transparent;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n visibility: hidden;\n}\n\n";
|
|
7
|
+
const mdsHeaderCss = "/**\n * @prop --mds-header-backdrop-background-image: Sets the background-image of the backdrop element visibile when the component attribute `appearance` is set to `inline`, by default is shown when mds-pref-consumtion is set to `medium`\n * @prop --mds-header-backdrop-filter: Sets the backdrop-filter of the backdrop element visibile when the component attribute `appearance` is set to `inline`, by default is shown when mds-pref-consumtion is set to `high`\n * @prop --mds-header-backdrop-height: Sets the height of the backdrop element visibile when the component attribute `appearance` is set to `inline`\n * @prop --mds-header-backdrop-show: Sets if the backdrop element is visible or not, only visible when the component attribute `appearance` is set to `inline`\n * @prop --mds-header-color: Sets the text color of the header and the mobile toggler icon\n * @prop --mds-header-hidden-bar-translate-inline: Sets translateY value for the appearance inline `mds-header-bar` element\n * @prop --mds-header-hidden-bar-translate-stripe: Sets translateY value for the appearance stripe `mds-header-bar` element\n * @prop --mds-header-icon-color: Sets the color of the icon toggler\n * @prop --mds-header-inline-margin-mobile: Sets inline margin on mobile viewport of `the mds-header-bar` when attribute `appearance` is set to `inline`\n * @prop --mds-header-inline-margin: Sets inline margin of `the mds-header-bar` when attribute `appearance` is set to `inline`\n * @prop --mds-header-z-index: Sets the z-index of the modal\n */\n\n:host {\n --mds-header-color: rgb(var(--tone-neutral-02));\n --mds-header-hidden-bar-translate-inline: translateY(-150%);\n --mds-header-hidden-bar-translate-stripe: translateY(-110%);\n --mds-header-icon-color: var(--mds-header-color, rgb(var(--tone-neutral-02)));\n --mds-header-modal-icon-color: rgb(var(--tone-neutral));\n --mds-header-backdrop-filter: blur(10px);\n --mds-header-backdrop-background-image: linear-gradient(to top, rgb(0 0 0 / 0), rgb(0 0 0 / 0.15));\n --mds-header-backdrop-height: 4rem;\n --mds-header-backdrop-show: true;\n --mds-header-z-index: var(--magma-header-z-index, 1000);\n --mds-header-inline-margin-mobile: 1rem;\n --mds-header-inline-margin: 1.5rem;\n\n color: var(--mds-header-color);\n fill: var(--mds-header-icon-color);\n position: relative;\n z-index: var(--mds-header-z-index);\n}\n\n.modal {\n --mds-modal-close-icon-color: var(--mds-header-modal-icon-color);\n\n z-index: var(--mds-header-z-index);\n}\n\n:host([appearance=\"inline\"]) ::slotted(mds-header-bar) {\n --mds-header-inline-margin-current: var(--mds-header-inline-margin);\n max-width: 1280px;\n border-radius: 0.5rem;\n\n margin-bottom: var(--mds-header-inline-margin-current);\n margin-top: var(--mds-header-inline-margin-current);\n width: calc(100% - calc(var(--mds-header-inline-margin-current) * 2));\n}\n\n@media (width <= 767px) {\n :host([appearance=\"inline\"]) ::slotted(mds-header-bar) {\n --mds-header-inline-margin-current: var(--mds-header-inline-margin-mobile);\n }\n}\n\n@media (max-width: 1023px) {\n\n :host([menu=\"desktop\"]) .menu {\n display: none;\n }\n}\n\n@media (min-width: 1024px) {\n\n :host([menu=\"mobile\"]) .menu {\n display: none;\n }\n}\n\n:host([menu=\"none\"]) .menu {\n display: none;\n}\n\n:host([visibility=\"hidden\"][appearance=\"stripe\"]) ::slotted(mds-header-bar) {\n -webkit-transform: var(--mds-header-hidden-bar-translate-stripe);\n transform: var(--mds-header-hidden-bar-translate-stripe);\n}\n\n:host([visibility=\"hidden\"][appearance=\"inline\"]) ::slotted(mds-header-bar) {\n -webkit-transform: var(--mds-header-hidden-bar-translate-inline);\n transform: var(--mds-header-hidden-bar-translate-inline);\n}\n\n.backdrop {\n -ms-flex-align: center;\n align-items: center;\n -webkit-backdrop-filter: var(--mds-header-backdrop-filter);\n backdrop-filter: var(--mds-header-backdrop-filter);\n background-image: var(--mds-header-backdrop-background-image);\n content: '';\n display: -ms-flexbox;\n display: flex;\n height: var(--mds-header-backdrop-height);\n inset: 0;\n opacity: 1;\n position: fixed;\n -webkit-transform: translate(0, 0);\n transform: translate(0, 0);\n -webkit-transition-duration: 200ms;\n transition-duration: 200ms;\n -webkit-transition-property: opacity, -webkit-transform;\n transition-property: opacity, -webkit-transform;\n transition-property: opacity, transform;\n transition-property: opacity, transform, -webkit-transform;\n width: 100%;\n\n\n /* should blurs the blur effect but not blurring */\n\n /* mask-image: linear-gradient(rgb(0 0 0 / 1), transparent); */\n}\n\n:host([appearance=\"inline\"]) .backdrop {\n opacity: 1;\n -webkit-transform: translate(0, 0);\n transform: translate(0, 0);\n}\n\n:host([visibility=\"hidden\"]) .backdrop,\n:host([appearance=\"stripe\"]) .backdrop {\n opacity: 0;\n -webkit-transform: translate(0, -100%);\n transform: translate(0, -100%);\n}\n\n@container style(--mds-header-backdrop-show: false) {\n :host-context(:not(.safari)) .backdrop {\n display: none;\n }\n}\n\n:host-context(.pref-theme-dark) {\n --mds-header-modal-icon-color: rgb(var(--tone-neutral-01));\n}\n\n@media (prefers-color-scheme: dark) {\n :host-context(.pref-theme-system) {\n --mds-header-modal-icon-color: rgb(var(--tone-neutral-01));\n }\n}\n\n:host-context(.pref-consumption-high) .backdrop {\n --mds-header-backdrop-background-image: none;\n}\n\n:host-context(.pref-consumption-medium) .backdrop {\n --mds-header-backdrop-filter: none;\n}\n\n:host-context(.pref-consumption-low) .backdrop {\n display: none;\n}\n\n:host(:not(:is([hydrated], .hydrated))) {\n -webkit-animation-duration: 0s;\n animation-duration: 0s;\n border-color: transparent;\n -webkit-box-shadow: 0 0 0 transparent;\n box-shadow: 0 0 0 transparent;\n opacity: 0;\n outline-color: transparent;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n visibility: hidden;\n}\n\n/* TODO refact(stencil): Uses only used selector from parent shadowDOM component */\n\nmds-accordion:not(:is([hydrated], .hydrated)),\nmds-accordion-item:not(:is([hydrated], .hydrated)),\nmds-accordion-timer:not(:is([hydrated], .hydrated)),\nmds-accordion-timer-item:not(:is([hydrated], .hydrated)),\nmds-author:not(:is([hydrated], .hydrated)),\nmds-avatar:not(:is([hydrated], .hydrated)),\nmds-badge:not(:is([hydrated], .hydrated)),\nmds-banner:not(:is([hydrated], .hydrated)),\nmds-benchmark-bar:not(:is([hydrated], .hydrated)),\nmds-bibliography:not(:is([hydrated], .hydrated)),\nmds-breadcrumb:not(:is([hydrated], .hydrated)),\nmds-breadcrumb-item:not(:is([hydrated], .hydrated)),\nmds-button:not(:is([hydrated], .hydrated)),\nmds-card:not(:is([hydrated], .hydrated)),\nmds-card-content:not(:is([hydrated], .hydrated)),\nmds-card-footer:not(:is([hydrated], .hydrated)),\nmds-card-header:not(:is([hydrated], .hydrated)),\nmds-card-media:not(:is([hydrated], .hydrated)),\nmds-chip:not(:is([hydrated], .hydrated)),\nmds-details:not(:is([hydrated], .hydrated)),\nmds-dropdown:not(:is([hydrated], .hydrated)),\nmds-entity:not(:is([hydrated], .hydrated)),\nmds-file:not(:is([hydrated], .hydrated)),\nmds-file-preview:not(:is([hydrated], .hydrated)),\nmds-filter:not(:is([hydrated], .hydrated)),\nmds-filter-item:not(:is([hydrated], .hydrated)),\nmds-header:not(:is([hydrated], .hydrated)),\nmds-header-bar:not(:is([hydrated], .hydrated)),\nmds-help:not(:is([hydrated], .hydrated)),\nmds-horizontal-scroll:not(:is([hydrated], .hydrated)),\nmds-hr:not(:is([hydrated], .hydrated)),\nmds-icon:not(:is([hydrated], .hydrated)),\nmds-img:not(:is([hydrated], .hydrated)),\nmds-input:not(:is([hydrated], .hydrated)),\nmds-input-field:not(:is([hydrated], .hydrated)),\nmds-input-range:not(:is([hydrated], .hydrated)),\nmds-input-select:not(:is([hydrated], .hydrated)),\nmds-input-switch:not(:is([hydrated], .hydrated)),\nmds-input-tip:not(:is([hydrated], .hydrated)),\nmds-input-tip-item:not(:is([hydrated], .hydrated)),\nmds-input-upload:not(:is([hydrated], .hydrated)),\nmds-keyboard:not(:is([hydrated], .hydrated)),\nmds-keyboard-key:not(:is([hydrated], .hydrated)),\nmds-kpi:not(:is([hydrated], .hydrated)),\nmds-kpi-item:not(:is([hydrated], .hydrated)),\nmds-label:not(:is([hydrated], .hydrated)),\nmds-list:not(:is([hydrated], .hydrated)),\nmds-list-item:not(:is([hydrated], .hydrated)),\nmds-modal:not(:is([hydrated], .hydrated)),\nmds-note:not(:is([hydrated], .hydrated)),\nmds-notification:not(:is([hydrated], .hydrated)),\nmds-paginator:not(:is([hydrated], .hydrated)),\nmds-paginator-item:not(:is([hydrated], .hydrated)),\nmds-pref:not(:is([hydrated], .hydrated)),\nmds-pref-animation:not(:is([hydrated], .hydrated)),\nmds-pref-consumption:not(:is([hydrated], .hydrated)),\nmds-pref-contrast:not(:is([hydrated], .hydrated)),\nmds-pref-language:not(:is([hydrated], .hydrated)),\nmds-pref-language-item:not(:is([hydrated], .hydrated)),\nmds-pref-theme:not(:is([hydrated], .hydrated)),\nmds-price-table:not(:is([hydrated], .hydrated)),\nmds-price-table-features:not(:is([hydrated], .hydrated)),\nmds-price-table-features-cell:not(:is([hydrated], .hydrated)),\nmds-price-table-features-row:not(:is([hydrated], .hydrated)),\nmds-price-table-header:not(:is([hydrated], .hydrated)),\nmds-price-table-list:not(:is([hydrated], .hydrated)),\nmds-price-table-list-item:not(:is([hydrated], .hydrated)),\nmds-progress:not(:is([hydrated], .hydrated)),\nmds-push-notification:not(:is([hydrated], .hydrated)),\nmds-push-notifications:not(:is([hydrated], .hydrated)),\nmds-quote:not(:is([hydrated], .hydrated)),\nmds-separator:not(:is([hydrated], .hydrated)),\nmds-spinner:not(:is([hydrated], .hydrated)),\nmds-stepper-bar:not(:is([hydrated], .hydrated)),\nmds-stepper-bar-item:not(:is([hydrated], .hydrated)),\nmds-tab:not(:is([hydrated], .hydrated)),\nmds-tab-bar:not(:is([hydrated], .hydrated)),\nmds-tab-bar-item:not(:is([hydrated], .hydrated)),\nmds-tab-item:not(:is([hydrated], .hydrated)),\nmds-table:not(:is([hydrated], .hydrated)),\nmds-table-body:not(:is([hydrated], .hydrated)),\nmds-table-cell:not(:is([hydrated], .hydrated)),\nmds-table-footer:not(:is([hydrated], .hydrated)),\nmds-table-header:not(:is([hydrated], .hydrated)),\nmds-table-header-cell:not(:is([hydrated], .hydrated)),\nmds-table-row:not(:is([hydrated], .hydrated)),\nmds-text:not(:is([hydrated], .hydrated)),\nmds-toast:not(:is([hydrated], .hydrated)),\nmds-tooltip:not(:is([hydrated], .hydrated)),\nmds-tree:not(:is([hydrated], .hydrated)),\nmds-tree-item:not(:is([hydrated], .hydrated)),\nmds-url-view:not(:is([hydrated], .hydrated)),\nmds-usage:not(:is([hydrated], .hydrated)),\nmds-video-wall:not(:is([hydrated], .hydrated)),\nmds-zero:not(:is([hydrated], .hydrated))\n{\n -webkit-animation-duration: 0s;\n animation-duration: 0s;\n border-color: transparent;\n -webkit-box-shadow: 0 0 0 transparent;\n box-shadow: 0 0 0 transparent;\n opacity: 0;\n outline-color: transparent;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n visibility: hidden;\n}\n\n";
|
|
8
8
|
const MdsHeaderStyle0 = mdsHeaderCss;
|
|
9
9
|
|
|
10
10
|
const MdsHeader = class {
|
|
@@ -21,7 +21,7 @@ const MdsInputDateRangePreselection = class {
|
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
|
-
return (index.h(index.Host, { key: '
|
|
24
|
+
return (index.h(index.Host, { key: '312780cd0f679e10e34c6aa5d9c15fd5d29835fb', slot: "calendar-preselection" }, index.h("mds-button", { key: '7d0085b9cc58a162ff47fca25daf104cef64bcb1', onClick: this.onClick, class: "action", variant: "primary", tone: "strong" }, index.h("slot", { key: 'cd15d275d8259f651e3fc9a04fb15c70981f2a67' }))));
|
|
25
25
|
}
|
|
26
26
|
get host() { return index.getElement(this); }
|
|
27
27
|
};
|
|
@@ -8,7 +8,7 @@ const luxon = require('./luxon-75bef749.js');
|
|
|
8
8
|
const locale = require('./locale-ff33b626.js');
|
|
9
9
|
require('./_commonjsHelpers-e6ff1d6e.js');
|
|
10
10
|
|
|
11
|
-
const mdsInputDateCss = "@tailwind utilities; :host{--mds-input-date-background:rgb(var(--tone-neutral));--mds-input-date-field-background-empty:rgb(var(--status-error-10));--mds-input-date-field-color-empty:rgb(var(--status-error-06));--mds-input-date-icon-color:var(--mds-input-date-variant-color);--mds-input-date-ring:0 0 0 1px rgb(var(--mds-input-date-variant-color) / 0.1);--mds-input-date-shadow:0 1px 3px 0 rgb(var(--mds-input-date-variant-color) / 0.1), 0 1px 2px 0 rgb(var(--mds-input-date-variant-color) / 0.06);--mds-input-date-variant-color:0 0 0;min-height:1.5rem;font-family:Karla, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;font-size:1rem;line-height:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;gap:0.5rem;color:rgb(var(--tone-neutral-02));container-type:inline-size;display:-ms-flexbox;display:flex;overflow:visible;position:relative}.input::-webkit-calendar-picker-indicator{-webkit-appearance:none;appearance:none;-moz-appearance:textfield;display:none}.input{min-height:1.25rem;font-family:'Roboto Mono', 'Courier New', monospace;font-size:0.875rem;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0rem;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:transparent;border:0;border-radius:0.5rem;-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;overflow:hidden;text-overflow:ellipsis;-webkit-transition-property:background-color, border-color, color, fill, margin, opacity, padding, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, margin, opacity, padding, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, margin, opacity, padding, transform;transition-property:background-color, border-color, box-shadow, color, fill, margin, opacity, padding, transform, -webkit-box-shadow, -webkit-transform;width:-moz-min-content;width:-webkit-min-content;width:min-content}:host([empty]) .input{background-color:var(--mds-input-date-field-background-empty);color:var(--mds-input-date-field-color-empty)}:host([slot]){color:inherit;display:contents}:host([slot]) .input{cursor:text;text-align:center}:host(:not([slot])) .input{border-radius:0.5rem;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:1rem;padding-right:3rem;background-color:var(--mds-input-date-background);-webkit-box-shadow:var(--mds-input-date-ring), var(--mds-input-date-shadow);box-shadow:var(--mds-input-date-ring), var(--mds-input-date-shadow);min-height:3rem;width:100%}:host(:focus-within) .input{outline:2px solid transparent;outline-offset:2px;-webkit-transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);--mds-input-date-ring:0 0 0 3px rgb(var(--mds-input-date-variant-color) / 1);--mds-input-date-shadow:0 4px 6px 3px rgb(var(--mds-input-date-variant-color) / 0.1), 0 2px 4px -1px rgb(var(--mds-input-date-variant-color) / 0.06)}.input:focus{outline:2px solid transparent;outline-offset:2px;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);--mds-input-date-ring:0 0 0 3px rgb(var(--mds-input-date-variant-color) / 1);--mds-input-date-shadow:0 4px 6px 3px rgb(var(--mds-input-date-variant-color) / 0.1), 0 2px 4px -1px rgb(var(--mds-input-date-variant-color) / 0.06)}.input::-moz-placeholder{color:rgb(var(--tone-neutral-04))}.input::-webkit-input-placeholder{color:rgb(var(--tone-neutral-04))}.input:-ms-input-placeholder{color:rgb(var(--tone-neutral-04))}.input::-ms-input-placeholder{color:rgb(var(--tone-neutral-04))}.input::placeholder{color:rgb(var(--tone-neutral-04))}.input::-webkit-outer-spin-button,.input::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none;display:none;margin:0}.input:disabled{background-color:rgb(var(--tone-neutral-10))}.input:disabled::-moz-placeholder{color:rgb(var(--tone-neutral-05))}.input:disabled::-webkit-input-placeholder{color:rgb(var(--tone-neutral-05))}.input:disabled:-ms-input-placeholder{color:rgb(var(--tone-neutral-05))}.input:disabled::-ms-input-placeholder{color:rgb(var(--tone-neutral-05))}.input:disabled,.input:disabled::placeholder{color:rgb(var(--tone-neutral-05))}.action-open-calendar{--mds-button-color:rgb(var(--mds-input-date-icon-color));aspect-ratio:1;bottom:0;position:absolute;right:0;top:0}mds-calendar{min-width:-moz-max-content;min-width:-webkit-max-content;min-width:max-content}mds-dropdown{padding:0}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}:host-context(.pref-animation-reduce) .input{-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system) .input{-webkit-transition-duration:0s;transition-duration:0s}}:host-context(.pref-theme-dark){--mds-input-date-ring:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3);--mds-input-date-background:rgb(var(--tone-neutral-09));--mds-input-date-controls-border:2px solid rgb(var(--tone-neutral-06))}:host-context(.pref-theme-dark) .counter-button:hover{--mds-button-background:rgb(var(--tone-neutral-08))}@media (prefers-color-scheme: dark){:host-context(.pref-theme-system){--mds-input-date-ring:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3);--mds-input-date-background:rgb(var(--tone-neutral-09));--mds-input-date-controls-border:2px solid rgb(var(--tone-neutral-06))}:host-context(.pref-theme-system) .counter-button:hover{--mds-button-background:rgb(var(--tone-neutral-08))}}:host-context(.pref-contrast-more){--mds-input-date-ring:0 0 0 2px rgb(var(--tone-neutral-01) / 0.6);--mds-input-date-background:rgb(var(--tone-neutral-09));--mds-input-date-controls-border:2px solid rgb(var(--tone-neutral-05))}:host-context(.pref-contrast-more) .input::-moz-placeholder{color:rgb(var(--tone-neutral-03))}:host-context(.pref-contrast-more) .input::-webkit-input-placeholder{color:rgb(var(--tone-neutral-03))}:host-context(.pref-contrast-more) .input:-ms-input-placeholder{color:rgb(var(--tone-neutral-03))}:host-context(.pref-contrast-more) .input::-ms-input-placeholder{color:rgb(var(--tone-neutral-03))}:host-context(.pref-contrast-more) .input::placeholder{color:rgb(var(--tone-neutral-03))}@media (prefers-contrast: more){:host-context(.pref-contrast-system){--mds-input-date-ring:0 0 0 2px rgb(var(--tone-neutral-01) / 0.6);--mds-input-date-background:rgb(var(--tone-neutral-09));--mds-input-date-controls-border:2px solid rgb(var(--tone-neutral-05))}:host-context(.pref-contrast-more) .input::-moz-placeholder{color:rgb(var(--tone-neutral-03))}:host-context(.pref-contrast-more) .input::-webkit-input-placeholder{color:rgb(var(--tone-neutral-03))}:host-context(.pref-contrast-more) .input:-ms-input-placeholder{color:rgb(var(--tone-neutral-03))}:host-context(.pref-contrast-more) .input::-ms-input-placeholder{color:rgb(var(--tone-neutral-03))}:host-context(.pref-contrast-more) .input::placeholder{color:rgb(var(--tone-neutral-03))}}@supports (-moz-appearance: none){.action-open-calendar{display:none}:host(:not([slot])) .input{padding-right:1rem}}:host{--mds-input-date-icon-color:var(--variant-primary-03);--mds-input-date-variant-color:0 0 0}:host(:focus-within){--mds-input-date-variant-color:var(--variant-primary-04)}:host([variant=\"info\"]){--mds-input-date-icon-color:var(--status-info-05);--mds-input-date-tip-background:var(--status-info-05);--mds-input-date-variant-color:0 0 0}:host([variant=\"info\"]:focus-within){--mds-input-date-icon-color:var(--status-info-04);--mds-input-date-variant-color:var(--status-info-05)}:host([variant=\"success\"]){--mds-input-date-icon-color:var(--status-success-05);--mds-input-date-tip-background:var(--status-success-05);--mds-input-date-variant-color:0 0 0}:host([variant=\"success\"]:focus-within){--mds-input-date-icon-color:var(--status-success-04);--mds-input-date-variant-color:var(--status-success-05)}:host([variant=\"warning\"]){--mds-input-date-icon-color:var(--status-warning-05);--mds-input-date-tip-background:var(--status-warning-05);--mds-input-date-variant-color:0 0 0}:host([variant=\"warning\"]:focus-within){--mds-input-date-icon-color:var(--status-warning-04);--mds-input-date-variant-color:var(--status-warning-05)}:host([variant=\"error\"]){--mds-input-date-icon-color:var(--status-error-05);--mds-input-date-tip-background:var(--status-error-05);--mds-input-date-variant-color:0 0 0}:host([variant=\"error\"]:focus-within){--mds-input-date-icon-color:var(--status-error-04);--mds-input-date-variant-color:var(--status-error-05)}";
|
|
11
|
+
const mdsInputDateCss = "@tailwind utilities; :host{--mds-input-date-background:rgb(var(--tone-neutral));--mds-input-date-field-background-empty:rgb(var(--status-error-10));--mds-input-date-field-color-empty:rgb(var(--status-error-06));--mds-input-date-icon-color:var(--mds-input-date-variant-color);--mds-input-date-ring:0 0 0 1px rgb(var(--mds-input-date-variant-color) / 0.1);--mds-input-date-shadow:0 1px 3px 0 rgb(var(--mds-input-date-variant-color) / 0.1), 0 1px 2px 0 rgb(var(--mds-input-date-variant-color) / 0.06);--mds-input-date-variant-color:0 0 0;min-height:1.5rem;font-family:Karla, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;font-size:1rem;line-height:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;gap:0.5rem;color:rgb(var(--tone-neutral-02));container-type:inline-size;display:-ms-flexbox;display:flex;overflow:visible;position:relative}.input::-webkit-calendar-picker-indicator{-webkit-appearance:none;appearance:none;-moz-appearance:textfield;display:none}.input{min-height:1.25rem;font-family:'Roboto Mono', 'Courier New', monospace;font-size:0.875rem;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0rem;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:transparent;border:0;border-radius:0.5rem;-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;overflow:hidden;text-overflow:ellipsis;-webkit-transition-property:background-color, border-color, color, fill, margin, opacity, padding, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, margin, opacity, padding, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, margin, opacity, padding, transform;transition-property:background-color, border-color, box-shadow, color, fill, margin, opacity, padding, transform, -webkit-box-shadow, -webkit-transform;width:-moz-min-content;width:-webkit-min-content;width:min-content}:host([empty]) .input{background-color:var(--mds-input-date-field-background-empty);color:var(--mds-input-date-field-color-empty)}:host([slot]){color:inherit;display:contents}:host([slot]) .input{cursor:text;text-align:center}:host(:not([slot])) .input{border-radius:0.5rem;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:1rem;padding-right:3rem;background-color:var(--mds-input-date-background);-webkit-box-shadow:var(--mds-input-date-ring), var(--mds-input-date-shadow);box-shadow:var(--mds-input-date-ring), var(--mds-input-date-shadow);min-height:3rem;width:100%}:host(:focus-within) .input{outline:2px solid transparent;outline-offset:2px;-webkit-transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);--mds-input-date-ring:0 0 0 3px rgb(var(--mds-input-date-variant-color) / 1);--mds-input-date-shadow:0 4px 6px 3px rgb(var(--mds-input-date-variant-color) / 0.1), 0 2px 4px -1px rgb(var(--mds-input-date-variant-color) / 0.06)}.input:focus{outline:2px solid transparent;outline-offset:2px;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);--mds-input-date-ring:0 0 0 3px rgb(var(--mds-input-date-variant-color) / 1);--mds-input-date-shadow:0 4px 6px 3px rgb(var(--mds-input-date-variant-color) / 0.1), 0 2px 4px -1px rgb(var(--mds-input-date-variant-color) / 0.06)}.input::-moz-placeholder{color:rgb(var(--tone-neutral-04))}.input::-webkit-input-placeholder{color:rgb(var(--tone-neutral-04))}.input:-ms-input-placeholder{color:rgb(var(--tone-neutral-04))}.input::-ms-input-placeholder{color:rgb(var(--tone-neutral-04))}.input::placeholder{color:rgb(var(--tone-neutral-04))}.input::-webkit-outer-spin-button,.input::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none;display:none;margin:0}.input:disabled{background-color:rgb(var(--tone-neutral-10))}.input:disabled::-moz-placeholder{color:rgb(var(--tone-neutral-05))}.input:disabled::-webkit-input-placeholder{color:rgb(var(--tone-neutral-05))}.input:disabled:-ms-input-placeholder{color:rgb(var(--tone-neutral-05))}.input:disabled::-ms-input-placeholder{color:rgb(var(--tone-neutral-05))}.input:disabled,.input:disabled::placeholder{color:rgb(var(--tone-neutral-05))}.action-open-calendar{--mds-button-color:rgb(var(--mds-input-date-icon-color));aspect-ratio:1;bottom:0;position:absolute;right:0;top:0}:host([disabled]:not([disabled=\"false\"])) .action-open-calendar{-webkit-transform:translate(0.625rem, 0.5rem);transform:translate(0.625rem, 0.5rem)}mds-calendar{min-width:-moz-max-content;min-width:-webkit-max-content;min-width:max-content}mds-dropdown{padding:0}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}:host-context(.pref-animation-reduce) .input{-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system) .input{-webkit-transition-duration:0s;transition-duration:0s}}:host-context(.pref-theme-dark){--mds-input-date-ring:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3);--mds-input-date-background:rgb(var(--tone-neutral-09));--mds-input-date-controls-border:2px solid rgb(var(--tone-neutral-06))}:host-context(.pref-theme-dark) .counter-button:hover{--mds-button-background:rgb(var(--tone-neutral-08))}@media (prefers-color-scheme: dark){:host-context(.pref-theme-system){--mds-input-date-ring:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3);--mds-input-date-background:rgb(var(--tone-neutral-09));--mds-input-date-controls-border:2px solid rgb(var(--tone-neutral-06))}:host-context(.pref-theme-system) .counter-button:hover{--mds-button-background:rgb(var(--tone-neutral-08))}}:host-context(.pref-contrast-more){--mds-input-date-ring:0 0 0 2px rgb(var(--tone-neutral-01) / 0.6);--mds-input-date-background:rgb(var(--tone-neutral-09));--mds-input-date-controls-border:2px solid rgb(var(--tone-neutral-05))}:host-context(.pref-contrast-more) .input::-moz-placeholder{color:rgb(var(--tone-neutral-03))}:host-context(.pref-contrast-more) .input::-webkit-input-placeholder{color:rgb(var(--tone-neutral-03))}:host-context(.pref-contrast-more) .input:-ms-input-placeholder{color:rgb(var(--tone-neutral-03))}:host-context(.pref-contrast-more) .input::-ms-input-placeholder{color:rgb(var(--tone-neutral-03))}:host-context(.pref-contrast-more) .input::placeholder{color:rgb(var(--tone-neutral-03))}@media (prefers-contrast: more){:host-context(.pref-contrast-system){--mds-input-date-ring:0 0 0 2px rgb(var(--tone-neutral-01) / 0.6);--mds-input-date-background:rgb(var(--tone-neutral-09));--mds-input-date-controls-border:2px solid rgb(var(--tone-neutral-05))}:host-context(.pref-contrast-more) .input::-moz-placeholder{color:rgb(var(--tone-neutral-03))}:host-context(.pref-contrast-more) .input::-webkit-input-placeholder{color:rgb(var(--tone-neutral-03))}:host-context(.pref-contrast-more) .input:-ms-input-placeholder{color:rgb(var(--tone-neutral-03))}:host-context(.pref-contrast-more) .input::-ms-input-placeholder{color:rgb(var(--tone-neutral-03))}:host-context(.pref-contrast-more) .input::placeholder{color:rgb(var(--tone-neutral-03))}}@supports (-moz-appearance: none){.action-open-calendar{display:none}:host(:not([slot])) .input{padding-right:1rem}}:host{--mds-input-date-icon-color:var(--variant-primary-03);--mds-input-date-variant-color:0 0 0}:host(:focus-within){--mds-input-date-variant-color:var(--variant-primary-04)}:host([variant=\"info\"]){--mds-input-date-icon-color:var(--status-info-05);--mds-input-date-tip-background:var(--status-info-05);--mds-input-date-variant-color:0 0 0}:host([variant=\"info\"]:focus-within){--mds-input-date-icon-color:var(--status-info-04);--mds-input-date-variant-color:var(--status-info-05)}:host([variant=\"success\"]){--mds-input-date-icon-color:var(--status-success-05);--mds-input-date-tip-background:var(--status-success-05);--mds-input-date-variant-color:0 0 0}:host([variant=\"success\"]:focus-within){--mds-input-date-icon-color:var(--status-success-04);--mds-input-date-variant-color:var(--status-success-05)}:host([variant=\"warning\"]){--mds-input-date-icon-color:var(--status-warning-05);--mds-input-date-tip-background:var(--status-warning-05);--mds-input-date-variant-color:0 0 0}:host([variant=\"warning\"]:focus-within){--mds-input-date-icon-color:var(--status-warning-04);--mds-input-date-variant-color:var(--status-warning-05)}:host([variant=\"error\"]){--mds-input-date-icon-color:var(--status-error-05);--mds-input-date-tip-background:var(--status-error-05);--mds-input-date-variant-color:0 0 0}:host([variant=\"error\"]:focus-within){--mds-input-date-icon-color:var(--status-error-04);--mds-input-date-variant-color:var(--status-error-05)}";
|
|
12
12
|
const MdsInputDateStyle0 = mdsInputDateCss;
|
|
13
13
|
|
|
14
14
|
const MdsInputDate = class {
|
|
@@ -28,6 +28,10 @@ const MdsInputDate = class {
|
|
|
28
28
|
* @description It's in ISO format (YYYY-MM-DD).
|
|
29
29
|
*/
|
|
30
30
|
this.value = '';
|
|
31
|
+
/**
|
|
32
|
+
* Sets the variant of the input field
|
|
33
|
+
*/
|
|
34
|
+
this.variant = 'primary';
|
|
31
35
|
/**
|
|
32
36
|
* Specifies the min date of the range, user cannot set dates before this date
|
|
33
37
|
* @description It's in ISO format (YYYY-MM-DD).
|
|
@@ -43,33 +47,55 @@ const MdsInputDate = class {
|
|
|
43
47
|
* @description Default is 500
|
|
44
48
|
*/
|
|
45
49
|
this.delay = 500;
|
|
46
|
-
|
|
47
|
-
|
|
50
|
+
/**
|
|
51
|
+
* If true, the element is displayed as disabled
|
|
52
|
+
*/
|
|
53
|
+
this.disabled = false;
|
|
54
|
+
/**
|
|
55
|
+
* Specifies that the element is read-only
|
|
56
|
+
*/
|
|
57
|
+
this.readonly = false;
|
|
58
|
+
/**
|
|
59
|
+
* Specifies that the element must be filled out before submitting the form
|
|
60
|
+
*/
|
|
61
|
+
this.required = false;
|
|
48
62
|
this.calendarKey = 0;
|
|
63
|
+
this.hasFocus = false;
|
|
64
|
+
this.onBlur = (ev) => {
|
|
65
|
+
const input = ev.target;
|
|
66
|
+
this.hasFocus = false;
|
|
67
|
+
this.value = input.value;
|
|
68
|
+
};
|
|
69
|
+
this.onFocus = (ev) => {
|
|
70
|
+
const input = ev.target;
|
|
71
|
+
this.hasFocus = true;
|
|
72
|
+
if (this.readonly) {
|
|
73
|
+
// setTimeout to avoid Safari 14.1.2
|
|
74
|
+
// to unselect text when mouse is clicked slowly
|
|
75
|
+
setTimeout(() => {
|
|
76
|
+
input.select();
|
|
77
|
+
}, 10);
|
|
78
|
+
}
|
|
79
|
+
};
|
|
49
80
|
}
|
|
50
81
|
async updateLang() {
|
|
51
82
|
this.language = this.t.lang(this.host);
|
|
52
83
|
}
|
|
53
|
-
handleValue(
|
|
54
|
-
this.
|
|
55
|
-
this.validateValue(
|
|
84
|
+
handleValue() {
|
|
85
|
+
this.valueChange.emit(this.value);
|
|
86
|
+
this.validateValue();
|
|
56
87
|
}
|
|
57
|
-
validateValue(
|
|
58
|
-
const date = luxon.DateTime_1.fromISO(value);
|
|
59
|
-
|
|
60
|
-
|
|
88
|
+
validateValue() {
|
|
89
|
+
const date = luxon.DateTime_1.fromISO(this.value);
|
|
90
|
+
this.isValid = false;
|
|
91
|
+
this.variant = 'error';
|
|
92
|
+
if (date.invalid && this.required)
|
|
61
93
|
return;
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
this.empty = undefined;
|
|
94
|
+
if ((this.max && luxon.DateTime_1.fromISO(this.max) < date) ||
|
|
95
|
+
(this.min && luxon.DateTime_1.fromISO(this.min) > date))
|
|
65
96
|
return;
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
this.empty = true;
|
|
69
|
-
}
|
|
70
|
-
else {
|
|
71
|
-
this.empty = undefined;
|
|
72
|
-
}
|
|
97
|
+
this.isValid = true;
|
|
98
|
+
this.variant = 'primary';
|
|
73
99
|
}
|
|
74
100
|
async focusInput() {
|
|
75
101
|
var _a;
|
|
@@ -77,13 +103,13 @@ const MdsInputDate = class {
|
|
|
77
103
|
input.focus();
|
|
78
104
|
}
|
|
79
105
|
async setValue(value) {
|
|
80
|
-
this.
|
|
81
|
-
this.validateValue(
|
|
106
|
+
this.value = value;
|
|
107
|
+
this.validateValue();
|
|
82
108
|
return Promise.resolve();
|
|
83
109
|
}
|
|
84
110
|
componentWillLoad() {
|
|
85
111
|
this.isSlotted = !!this.host.getAttribute('slot');
|
|
86
|
-
this.
|
|
112
|
+
this.value = this.value || '';
|
|
87
113
|
this.language = this.t.lang(this.host);
|
|
88
114
|
// Se max è precedente a min, imposto max uguale a min
|
|
89
115
|
if (this.min && this.max) {
|
|
@@ -93,43 +119,20 @@ const MdsInputDate = class {
|
|
|
93
119
|
this.max = this.min;
|
|
94
120
|
}
|
|
95
121
|
}
|
|
96
|
-
|
|
97
|
-
handleInput(event) {
|
|
98
|
-
const input = event.target;
|
|
99
|
-
this.touched = true;
|
|
100
|
-
this.internalValue = input.value;
|
|
101
|
-
this.validateValue(this.internalValue);
|
|
122
|
+
this.validateValue();
|
|
102
123
|
}
|
|
103
124
|
handleChange(event) {
|
|
104
125
|
const input = event.target;
|
|
105
126
|
this.touched = true;
|
|
106
|
-
this.
|
|
107
|
-
this.validateValue(
|
|
108
|
-
}
|
|
109
|
-
manageValue(ev) {
|
|
110
|
-
const input = ev.target;
|
|
111
|
-
this.internalValue = input.value;
|
|
112
|
-
if (!input.validity.badInput && input.value === '') {
|
|
113
|
-
this.empty = undefined;
|
|
114
|
-
}
|
|
115
|
-
else {
|
|
116
|
-
this.empty = true;
|
|
117
|
-
}
|
|
118
|
-
this.valueChange.emit(this.internalValue);
|
|
127
|
+
this.value = input.value;
|
|
128
|
+
this.validateValue();
|
|
119
129
|
}
|
|
120
130
|
render() {
|
|
121
|
-
return (index.h(index.Host, { key: '
|
|
131
|
+
return (index.h(index.Host, { key: '65bead50746f2ac93e77e3b0d2959d44d6bc6ee3' }, index.h("input", { key: '1c0b86d98f32e82378dea84a2f48acffb87d596b', value: this.value, id: "dateInput", class: "input", part: "input-date", type: "date", disabled: this.disabled, onBlur: this.onBlur, onFocus: this.onFocus, onInput: this.handleChange, onChange: this.handleChange }), !this.isSlotted && index.h("mds-button", { key: 'ed2874e84dc8febec33dfee7a8e1c0ea44b33c61', id: "calendar-dropdown", class: "action-open-calendar", disabled: this.disabled, variant: "dark", tone: "quiet", icon: calendarToday.miBaselineCalendarToday, onClick: () => {
|
|
122
132
|
this.calendarKey += 1;
|
|
123
|
-
} }),
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
if (!date.isValid) {
|
|
127
|
-
this.empty = true;
|
|
128
|
-
}
|
|
129
|
-
else {
|
|
130
|
-
this.empty = undefined;
|
|
131
|
-
}
|
|
132
|
-
this.valueChange.emit(this.internalValue);
|
|
133
|
+
} }), index.h("mds-input-tip", { key: '0c1de4cfda03e12cf04a236a99f735f09ab96d33', lang: this.language, position: "top", active: this.hasFocus }, this.disabled && index.h("mds-input-tip-item", { key: 'd3a2124d567dafe7ac6845ddd8ff4d640406eb13', expanded: true, variant: "disabled" }), this.readonly && index.h("mds-input-tip-item", { key: 'df71711af47d3a4146d362b9a1dffe410f2db222', expanded: true, variant: "readonly" }), this.required &&
|
|
134
|
+
index.h("mds-input-tip-item", { key: '006715ae91e970a8305ff6c11ede212c8aa847fc', expanded: this.hasFocus, variant: this.isValid ? 'required-success' : 'required' })), !this.isSlotted && index.h("mds-dropdown", { key: '48bf82eda13f4f7a69fc252ed4ece511cdf6e7c9', placement: "bottom-end", "auto-placement": false, ref: el => this.dropdownRef = el, target: "#calendar-dropdown" }, index.h("mds-calendar", Object.assign({ key: this.calendarKey, rangePicker: false, lang: this.language, onMdsCalendarChange: ev => {
|
|
135
|
+
this.value = ev.detail.startDate;
|
|
133
136
|
if (this.delay === 0)
|
|
134
137
|
return;
|
|
135
138
|
const { dropdownRef } = this;
|
|
@@ -138,7 +141,7 @@ const MdsInputDate = class {
|
|
|
138
141
|
dropdownRef.visible = false;
|
|
139
142
|
}, this.delay);
|
|
140
143
|
}
|
|
141
|
-
}, startDate: this.
|
|
144
|
+
}, startDate: this.value }, this.min ? { min: this.min } : {}, this.max ? { max: this.max } : {})))));
|
|
142
145
|
}
|
|
143
146
|
get host() { return index.getElement(this); }
|
|
144
147
|
static get watchers() { return {
|
|
@@ -38,7 +38,7 @@ const MdsInputField = class {
|
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
40
|
var _a;
|
|
41
|
-
return (index.h(index.Host, { key: '
|
|
41
|
+
return (index.h(index.Host, { key: 'ce722d7738fa6c03318ae0e15ce00b6c6bb2cb2c' }, index.h("mds-text", { key: 'c954639cf415c9c50ccb09b748ea3fd01f9016aa', class: "label", typography: "label" }, this.label), index.h("div", { key: '1e6f4c4209b77f8cea1934db650afda2e4779569', class: "message-window" }, index.h("div", { key: '59ee9b986484b2f72b423b3887ad79c87bb40bdd', class: "content", part: "content" }, index.h("slot", { key: '532f7f929c13a0002141989f03e0fdd3025026c1', ref: i => this.slotInput = i })), index.h("div", { key: '3d44c1ebc7c741ec9d4efb89640872018b6da2b3', class: "message" }, (_a = this.message) === null || _a === void 0 ? void 0 : _a.split(';').map((m, i) => index.h("mds-text", { typography: "caption", key: i }, m))))));
|
|
42
42
|
}
|
|
43
43
|
static get formAssociated() { return true; }
|
|
44
44
|
get host() { return index.getElement(this); }
|
|
@@ -91,7 +91,7 @@ const MdsInputOtp = class {
|
|
|
91
91
|
};
|
|
92
92
|
}
|
|
93
93
|
render() {
|
|
94
|
-
return (index.h(index.Host, { key: '
|
|
94
|
+
return (index.h(index.Host, { key: '12a644ed6f15af0ec2e288353bbe5969ba3ffb06' }, Array.from({ length: this.length }).map(() => (index.h("mds-input", { class: "input", maxlength: 1, onKeyDown: this.handleKeyDown, onPaste: this.handlePaste })))));
|
|
95
95
|
}
|
|
96
96
|
static get formAssociated() { return true; }
|
|
97
97
|
get element() { return index.getElement(this); }
|
|
@@ -101,7 +101,7 @@ const MdsInputRange = class {
|
|
|
101
101
|
this.calculateProgress();
|
|
102
102
|
}
|
|
103
103
|
render() {
|
|
104
|
-
return (index.h(index.Host, { key: '
|
|
104
|
+
return (index.h(index.Host, { key: '4ac73411f2a163e20bb68a46bc97f39664f13b81' }, index.h("header", { key: '2025dc18061e028fea660711d04985fac10be4a1', class: "header", part: "header" }, index.h("mds-text", { key: '7c9a106655dd8a8764cfd026e6ae903a6e5b7979', class: "label", typography: "label" }, index.h("slot", { key: '9ed95e29e20f2dde0194a954ec2a74550b1b3ea5' })), index.h("mds-text", { key: 'ad4426cb6066ea8acb91ad5a5e332d89c2829484', class: "value", typography: "label" }, this.formatValue ? this.formatValue(this.value) : this.value)), index.h("div", { key: 'a816782c847643515071745a448f1fd59972d861', class: "range" }, index.h("div", { key: 'f51e949cdb467c946282de60f01e20e93215abd9', class: "track" }, index.h("div", { key: '865c0bed59ee8705ae733a7b5b305c53cac8f5ed', class: "contrast-area" }), index.h("div", { key: 'e42af7daed9c0dce15cf04c747241cd816ca77b9', class: "track-total" }, index.h("div", { key: '41c0ec5ee9b202ede52532665e48e28a2c9565da', class: "track-progress", style: { width: `${this.progress}%` } }))), index.h("input", { key: '072ec18380f0b978c7ad1d8ecd39c116829e0a88', ref: el => this.inputElement = el, class: "field", "aria-label": this.label, disabled: this.disabled, max: this.max, min: this.min, onInput: this.onInput, step: this.step, type: "range", value: this.value }))));
|
|
105
105
|
}
|
|
106
106
|
static get formAssociated() { return true; }
|
|
107
107
|
get element() { return index.getElement(this); }
|
|
@@ -129,8 +129,8 @@ const MdsInputSelect = class {
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
render() {
|
|
132
|
-
return (index.h(index.Host, { key: '
|
|
133
|
-
index.h("mds-input-tip-item", { key: '
|
|
132
|
+
return (index.h(index.Host, { key: '555b4b93fbc778d4293540a8c837adb8741ce617' }, index.h("select", { key: '939e1d4139f6181e25a9eb0a9bb4846cdb32f38d', class: clsx.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 && index.h("option", { key: 'e4411312a224a3104258242844022e5540338da1', value: "", disabled: true, selected: true }, this.placeholder)), index.h("div", { key: '2f220d52db731d2437c529d8b4f7d50fa5298740', class: "icon-container" }, index.h("i", { key: '3b2f32a581248ab723c8c47ed7f0457285736277', class: "icon", innerHTML: keyboardArrowDown.miBaselineKeyboardArrowDown })), index.h("div", { key: '2306b4c0e7b21afe70c9967be224ea45792b8dde', class: "option-container" }, index.h("slot", { key: 'f0b4a86adb23f3097c4660042c73c60fc33f1fca', onSlotchange: this.onSlotChangeHandler })), index.h("mds-input-tip", { key: '1b507e32c4c1f9d11ed38bb999836ab927b5bc6a', position: "top", active: this.hasFocus }, this.disabled && index.h("mds-input-tip-item", { key: 'cd7b15f50a18dee24e7dd73a0940c5e1c93a13dc', expanded: true, variant: "disabled" }), this.required &&
|
|
133
|
+
index.h("mds-input-tip-item", { key: 'd68e1aa258ad927a7cdcf10dd9ae22b12ba0cf61', expanded: this.hasFocus, variant: this.value === '' ? 'required' : 'required-success' }))));
|
|
134
134
|
}
|
|
135
135
|
static get formAssociated() { return true; }
|
|
136
136
|
get host() { return index.getElement(this); }
|
|
@@ -210,11 +210,11 @@ const MdsInputSwitch = class {
|
|
|
210
210
|
var _a;
|
|
211
211
|
const { iconChecked, iconUnchecked, iconIndeterminate } = inputSwitchIconVariant[this.type];
|
|
212
212
|
const iconCheckedUser = this.icon !== '' ? this.icon : iconChecked;
|
|
213
|
-
return (index.h(index.Host, { key: '
|
|
213
|
+
return (index.h(index.Host, { key: '7f23da179de8195c1d4f3b29a7fdc70ef038ea3d', onClick: this.handleDirty }, index.h("input", { key: '584d64ee6b6476783cc61fde4643707204d31f0e', 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'
|
|
214
214
|
?
|
|
215
215
|
index.h("label", { htmlFor: "field", class: clsx.clsx('switch-container', this.dirty !== false && 'dirty'), tabindex: "0", "aria-label": this.t.get(this.checked ? 'unselect' : 'select', { label: this.label }) }, index.h("div", { class: "switch" }, index.h("div", { class: "switch-toggle" }, this.explicit && index.h("mds-icon", { class: "icon-explicit", name: this.checked ? miBaselineChecked : remove.miBaselineRemove }))))
|
|
216
216
|
:
|
|
217
|
-
index.h("label", { htmlFor: "field", class: "label-icon", tabindex: "0", "aria-label": this.t.get(this.checked ? 'unselect' : 'select', { label: this.label }) }, index.h("mds-text", { class: "icon-typography-unchecked", tag: "div", typography: this.typography, variant: this.variant }, index.h("mds-icon", { class: "icon-unchecked", name: clsx.clsx(this.indeterminate ? iconIndeterminate : iconUnchecked) })), index.h("mds-text", { class: "icon-typography-checked", tag: "div", typography: this.typography, variant: this.variant }, index.h("mds-icon", { class: "icon-checked", name: clsx.clsx(this.indeterminate ? iconIndeterminate : iconCheckedUser) }))), index.h("label", { key: '
|
|
217
|
+
index.h("label", { htmlFor: "field", class: "label-icon", tabindex: "0", "aria-label": this.t.get(this.checked ? 'unselect' : 'select', { label: this.label }) }, index.h("mds-text", { class: "icon-typography-unchecked", tag: "div", typography: this.typography, variant: this.variant }, index.h("mds-icon", { class: "icon-unchecked", name: clsx.clsx(this.indeterminate ? iconIndeterminate : iconUnchecked) })), index.h("mds-text", { class: "icon-typography-checked", tag: "div", typography: this.typography, variant: this.variant }, index.h("mds-icon", { class: "icon-checked", name: clsx.clsx(this.indeterminate ? iconIndeterminate : iconCheckedUser) }))), index.h("label", { key: 'f3303a33fd8a2f60e67ed443687ce8dedc0d3b0b', htmlFor: "field", class: clsx.clsx('label-text', !this.hasText && 'label-text--empty') }, index.h("mds-text", { key: '334c449310e68258109da6983deb0e7aae5fc15b', typography: this.typography, variant: this.variant }, index.h("slot", { key: 'ffe72183468fc62aa9160bfbaa5f24cf60337a2f' })))));
|
|
218
218
|
}
|
|
219
219
|
static get formAssociated() { return true; }
|
|
220
220
|
get host() { return index.getElement(this); }
|
|
@@ -237,7 +237,7 @@ const MdsTableCell = class {
|
|
|
237
237
|
aria.setAttributeIfEmpty(this.host, 'role', 'cell');
|
|
238
238
|
}
|
|
239
239
|
render() {
|
|
240
|
-
return (index.h(index.Host, { key: '
|
|
240
|
+
return (index.h(index.Host, { key: 'e55a206ea01d0ffd28063339b2590b860e373800' }, index.h("slot", { key: 'd7d15eb91ee8e0d0045a658b05c9963de4b7bd72' })));
|
|
241
241
|
}
|
|
242
242
|
get host() { return index.getElement(this); }
|
|
243
243
|
};
|
|
@@ -23,7 +23,7 @@ const MdsInputTip = class {
|
|
|
23
23
|
this.position = 'top';
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
return (index.h(index.Host, { key: '
|
|
26
|
+
return (index.h(index.Host, { key: '4a6b8bc471afe276bb7461d9b57bcbeaed32b998' }, index.h("slot", { key: '5e007f21d21f94972f0214d40973ffb89a7489c3' })));
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
29
|
MdsInputTip.style = MdsInputTipStyle0;
|
|
@@ -93,13 +93,13 @@ const MdsInputTipItem = class {
|
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
render() {
|
|
96
|
-
return (index.h(index.Host, { key: '
|
|
97
|
-
index.h("mds-text", { key: '
|
|
98
|
-
index.h("mds-text", { key: '
|
|
99
|
-
index.h("mds-text", { key: '
|
|
100
|
-
index.h("mds-text", { key: '
|
|
101
|
-
index.h("span", { key: '
|
|
102
|
-
index.h("mds-text", { key: '
|
|
96
|
+
return (index.h(index.Host, { key: '823c231cad86a73c8a20e7aaff446c82a6a03bcd' }, index.h("div", { key: '5c2c1232212f8bd8bc70e20526f781924a29da17', class: "content" }, this.variant === 'text' &&
|
|
97
|
+
index.h("mds-text", { key: 'fa33b630d58217037c796ddaa8be4aa2a5887989', typography: "option", truncate: "word" }, index.h("span", { key: 'd5e2bd02bbd925d7e36cbfc4119ac47ead58be54', class: "text" }, index.h("slot", { key: '9b5a9677bff367e3993b3aeedc59a987ea7712d4' }))), this.variant === 'readonly' &&
|
|
98
|
+
index.h("mds-text", { key: 'ce05c8dde6b7d948f4fba6aea93ead1651720f03', typography: "option", truncate: "word" }, index.h("span", { key: '0ea70472bf7685ace98f3dba8feead14294d1174', class: "text" }, this.variant && this.t.get(this.variant.toString()))), this.variant === 'disabled' &&
|
|
99
|
+
index.h("mds-text", { key: '9346da4a9e2b028eb8123700ea57ee231c138944', typography: "option", truncate: "word" }, index.h("span", { key: 'a3605874f82bb15ace895c5f5c1a85c5225a5ac7', class: "text" }, this.variant && this.t.get(this.variant.toString()))), this.variant === 'required' &&
|
|
100
|
+
index.h("mds-text", { key: '6bdf4e66624cd0b28b2320da92c6e09ac4162628', typography: "option", truncate: "word" }, index.h("span", { key: 'bd4ec56e8c649999b54853047589fea69eae1dae', class: "text" }, this.variant && this.t.get(this.variant.toString()))), this.variant === 'required-success' &&
|
|
101
|
+
index.h("span", { key: '8eded74f87d6f797f20a4e417824f9fa6b1a43a2', class: "icon", innerHTML: done.miBaselineDone }), (this.variant === 'count-almost' || this.variant === 'count-almost-full' || this.variant === 'count-empty' || this.variant === 'count-full' || this.variant === 'count-incomplete') &&
|
|
102
|
+
index.h("mds-text", { key: '3d57e1ad0073fdb4b5bbff888b1d4028dbae6afa', typography: "option", truncate: "word" }, index.h("span", { key: 'c61e4c4bf3b9cc7b87d14d795de4a8c8729c9b12', class: "text" }, index.h("slot", { key: 'b80cf78fdc612bbb88538a1f0f4ac918f9325f8e' }))))));
|
|
103
103
|
}
|
|
104
104
|
get element() { return index.getElement(this); }
|
|
105
105
|
static get watchers() { return {
|
|
@@ -418,7 +418,7 @@ const MdsInputUpload = class {
|
|
|
418
418
|
this.language = this.t.lang(this.host);
|
|
419
419
|
}
|
|
420
420
|
formResetCallback() {
|
|
421
|
-
this.
|
|
421
|
+
this.onReset();
|
|
422
422
|
}
|
|
423
423
|
componentWillLoad() {
|
|
424
424
|
var _a;
|
|
@@ -450,6 +450,13 @@ const MdsInputUpload = class {
|
|
|
450
450
|
this.actionTitle = this.t.get('clickOrDrag', { maxFiles: newValue });
|
|
451
451
|
}
|
|
452
452
|
}
|
|
453
|
+
/**
|
|
454
|
+
* Reset component's files
|
|
455
|
+
*/
|
|
456
|
+
reset() {
|
|
457
|
+
this.onReset();
|
|
458
|
+
return Promise.resolve();
|
|
459
|
+
}
|
|
453
460
|
/**
|
|
454
461
|
* Prepare file to be submitted.
|
|
455
462
|
* Limit number of file to maxFiles
|
|
@@ -594,12 +601,12 @@ const MdsInputUpload = class {
|
|
|
594
601
|
return !!this.sort && this.files.length > 1;
|
|
595
602
|
}
|
|
596
603
|
render() {
|
|
597
|
-
return (index.h(index.Host, { key: '
|
|
604
|
+
return (index.h(index.Host, { key: 'ff873e7089019666024b2fced3cc1c8c3702a8be' }, index.h("div", { key: '26c2a15d18d6eed7c328b2a3615884c95f9cd03b', class: "drag-area", onDrop: this.onDropHandler, onDragOver: this.onDragOverHandler, onDragEnter: this.onDragEnterHandler, onDragLeave: this.onDragLeaveHandler, ref: dragArea => this.elDragArea = dragArea }, index.h("div", { key: '10dae83654f3b68b9e7599537560b1eaf4f97f37', class: "main-action" }, index.h("div", { key: '551eaeed9e6155edc2a5a2ff5d735d0b4d370fa3', class: "main-action-icon" }, index.h("i", { key: '1ffeb5b74bf5bee22dccbde66a977c5a1d6c681e', class: "icon", innerHTML: miBaselineAddCircle })), index.h("mds-text", { key: '3d3236eb1c8a67ffa276704c0cf07170b862c7f2', animation: this.animateText ? 'yugop' : 'none', variant: "title", typography: "action", text: this.actionTitle })), index.h("div", { key: '828a16fdeee416c4583caf940264c74e24e8e3a0', class: "main-actions" }, index.h("mds-button", { key: 'e5aa06e83c0fb3464c54c8d5540c45b7aefd6073', 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 && index.h("mds-button", { key: 'e965a2408ae50694d227836764c6cd341aca6818', variant: 'error', onClick: this.onReset }, this.t.get('cancel'))), index.h("div", { key: 'ac205a0a5af79566de4ae866cd55826b00f4c3a7', class: "main-infos" }, index.h("mds-progress", { key: '7111db2c452769fad12e56467f63e904c5e304b9', "aria-hidden": "true", class: "progress-bar", progress: this.progress }), this.files.length < 1
|
|
598
605
|
? index.h("mds-text", { variant: "info", typography: "caption" }, this.t.get('maxFilesUpload', { maxFiles: this.maxFiles }))
|
|
599
606
|
: index.h("mds-text", { variant: "info", typography: "caption" }, this.maxFiles
|
|
600
607
|
? this.t.get('currentFilesWithMax', { currentFiles: this.files.length, maxFiles: this.maxFiles })
|
|
601
|
-
: this.t.get('currentFilesNoMax', { currentFiles: this.files.length })))), index.h("input", { key: '
|
|
602
|
-
index.h("mds-tab", { key: '
|
|
608
|
+
: this.t.get('currentFilesNoMax', { currentFiles: this.files.length })))), index.h("input", { key: '5dd0883901bbbfd1d239cb9811a13237b3ea712c', type: 'file', accept: this.accept, hidden: true, ref: i => this.nativeInput = i, onChange: this.onAdd, multiple: this.maxFiles > 1 }), index.h("div", { key: 'b07d914c29fc30cf08e393e9e830ebefcabfbe78', class: "additional-infos" }, index.h("div", { key: 'd5c664a1fa9407a4e061123b12f312cfa5442c3a', class: clsx.clsx('file-specs', this.isSortTabShown() && 'file-specs-sort') }, index.h("mds-text", { key: '6d35cae9c629aad6b9e9c3000f22b73ce6079bd5', variant: "info", typography: "caption" }, this.extensions ? `${this.t.get('canUpload')} ${this.extensions}` : this.t.get('canUploadAll')), index.h("mds-text", { key: '62b5515e1737f643fe1691709eeb8d955c6523b1', variant: "info", typography: "caption" }, this.t.get('maxFileSizePerFile', { maxFileSize: this.maxFileSize }))), this.isSortTabShown() &&
|
|
609
|
+
index.h("mds-tab", { key: '3eaddf7b201ab0e3f443998d8786d3e36e397828', class: "action-sort", onMdsTabChange: event => this.onChangeTab(event.detail) }, index.h("mds-tab-item", { key: 'bcd80494ab8bfcfb2e2b5cd2d9e1b595942b76a3', icon: iconSortById, selected: this.userSort === 'date', title: this.t.get('sortByDate'), value: 'date' }), index.h("mds-tab-item", { key: 'b18d310ecb45a30e97bdfc7118e0510594b083dd', icon: iconSortByStatus, selected: this.userSort === 'status', title: this.t.get('sortByStatus'), value: 'status' }))), index.h("div", { key: 'f636fdabf71388ae85c5435fd2a0923a4e7ca6dd', class: clsx.clsx('file-list', this.files.length > this.cssMinCols && 'file-list--more-items') }, this.files.map(file => {
|
|
603
610
|
switch (file.status) {
|
|
604
611
|
case Status.ERROR:
|
|
605
612
|
return (index.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 }));
|
|
@@ -291,9 +291,9 @@ const MdsKeyboardKey = class {
|
|
|
291
291
|
}
|
|
292
292
|
render() {
|
|
293
293
|
var _a, _b, _c, _d;
|
|
294
|
-
return (index.h(index.Host, { key: '
|
|
294
|
+
return (index.h(index.Host, { key: '802f1f4633d3a756c8bcda46212981ea24e1e61f', title: this.getTitle() }, index.h("div", { key: '907ac88ddc6321b9a61cdaf9a4e7880b745e53dd', class: "physical-key" }, this.name && icons.has(this.name)
|
|
295
295
|
? index.h("mds-icon", { name: (_a = icons.get(this.name)) !== null && _a !== void 0 ? _a : brokenImage.miBaselineBrokenImage, class: "shortcut-icon" })
|
|
296
|
-
: index.h("mds-text", { class: "shortcut-text", typography: "detail" }, this.name && index.h("b", null, this.keyboardKeys[this.name].alias)), this.name && ((_b = this.keyboardKeys[this.name]) === null || _b === void 0 ? void 0 : _b.keyboardPosition) && index.h("mds-text", { key: '
|
|
296
|
+
: index.h("mds-text", { class: "shortcut-text", typography: "detail" }, this.name && index.h("b", null, this.keyboardKeys[this.name].alias)), this.name && ((_b = this.keyboardKeys[this.name]) === null || _b === void 0 ? void 0 : _b.keyboardPosition) && index.h("mds-text", { key: 'd3f68d86fd848f9909c1056a6cbbb19f591dbbff', typography: "label" }, ((_c = this.keyboardKeys[this.name].keyboardPosition) === null || _c === void 0 ? void 0 : _c.left) && 'l', ((_d = this.keyboardKeys[this.name].keyboardPosition) === null || _d === void 0 ? void 0 : _d.right) && 'r'))));
|
|
297
297
|
}
|
|
298
298
|
get host() { return index.getElement(this); }
|
|
299
299
|
};
|
|
@@ -193,7 +193,7 @@ const MdsKeyboard = class {
|
|
|
193
193
|
this.stopKeyboardShortcutTest();
|
|
194
194
|
}
|
|
195
195
|
render() {
|
|
196
|
-
return (index.h(index.Host, { key: '
|
|
196
|
+
return (index.h(index.Host, { key: 'f4a019bb8abbb5d2786623eae83d64cfe61182bd' }, index.h("div", { key: 'c33ccc56d9ff86191abb53a7f922f8ff5197e5cc', class: "shortcuts" }, index.h("slot", { key: '302a19180e1cfcc46ae7b556e5cf1f02762fae54' })), this.try && index.h("mds-button", { key: '8111e2709ffe3e11e96b4e436e39b50f0e168b24', icon: this.getButtonIcon(), "aria-title": this.t.get('testKeyCombination'), class: "combination-checker", variant: "dark", tone: "quiet", onClick: this.startKeyboardShortcutTest.bind(this) }), this.try && index.h("mds-tooltip", { key: 'ed46df3dc7a6a2ec16742e8865e9576b3f944dc9', target: '.combination-checker' }, this.testPassed === undefined && this.t.get('testKeyCombination'), this.testPassed === true && this.t.get('testPassed'), this.testPassed === false && index.h("div", { key: '14be9e7a889ae3918aff50727f97663794d94a8c', class: "errors" }, [...this.errors].map(error => (index.h("mds-text", { typography: 'tip' }, this.t.get(error))))))));
|
|
197
197
|
}
|
|
198
198
|
get host() { return index.getElement(this); }
|
|
199
199
|
static get watchers() { return {
|
|
@@ -32,8 +32,8 @@ const MdsKpiItem = class {
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
-
return (index.h(index.Host, { key: '
|
|
36
|
-
index.h("div", { key: '
|
|
35
|
+
return (index.h(index.Host, { key: 'a548c1197f941df9a27001c04c7b1973e118cf62', "aria-label": `${this.label}: ${this.description}`, role: "listitem" }, this.icon &&
|
|
36
|
+
index.h("div", { key: '45b4e16c656b8396f937686f94f96e19e5179e83', class: "icon-container", part: "icon-container" }, index.h("mds-icon", { key: '80b25ccdeb97adabf15777ff0aeb5729d0a6e851', class: "icon", name: this.icon, part: "icon" })), index.h("div", { key: 'e8e2e47c10677f452366cba17f68fd67ee709bcc', class: "info", part: "content", "aria-hidden": "true" }, this.label && this.threshold !== 0 && index.h("mds-text", { key: 'f34e784df8edad19785738a4c71ea4f22827b264', class: "value", typography: "h2", text: this.isIntersecting ? this.label : '', animation: "yugop" }), this.label && this.threshold === 0 && index.h("mds-text", { key: '4286792ac9bb8f13518d704816a552c566510e10', class: "value", typography: "h2" }, this.label), this.description && this.threshold !== 0 && index.h("mds-text", { key: '6ff1ee311b55e983d24dc6969c7dd40f0dc99289', class: "description", typography: "label", text: this.isIntersecting ? this.description : '', animation: "yugop" }), this.description && this.threshold === 0 && index.h("mds-text", { key: '990e39c96111524372155bdf3486fda699a33ae0', class: "description", typography: "label" }, this.description))));
|
|
37
37
|
}
|
|
38
38
|
get hostElement() { return index.getElement(this); }
|
|
39
39
|
};
|
|
@@ -12,7 +12,7 @@ const MdsKpi = class {
|
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (index.h(index.Host, { key: '
|
|
15
|
+
return (index.h(index.Host, { key: '4399ae89280bb996ebeb8e7ef5971ec00ee69751', role: "list" }, index.h("slot", { key: '59c73a18547bb1f9f9053c722d6d508894c87f80' })));
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
MdsKpi.style = MdsKpiStyle0;
|
|
@@ -87,7 +87,7 @@ const MdsLabel = class {
|
|
|
87
87
|
this.km.detachClickBehavior();
|
|
88
88
|
}
|
|
89
89
|
render() {
|
|
90
|
-
return (index.h(index.Host, { key: '
|
|
90
|
+
return (index.h(index.Host, { key: '8e07b2f4db4c8cd94461d92d0f7092b14da2ca14' }, index.h("mds-text", { key: 'a4d0fc6386c315ffea2eb8a49839981ab2e2f1a2', class: "text", truncate: this.truncate, typography: this.typography }, index.h("slot", { key: '738206f293b5220116934edfdbd0ed14cf38d8c9' })), this.deletable && index.h("mds-button", { key: '17c807ebeb0757d692d408ea64ac8cdb011dbc6a', class: "button-close", icon: cancel.miBaselineCancel, onClick: this.onClickDelete.bind(this), title: this.t.get('remove') })));
|
|
91
91
|
}
|
|
92
92
|
get host() { return index.getElement(this); }
|
|
93
93
|
};
|
|
@@ -26,7 +26,7 @@ const MdsListItem = class {
|
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
28
|
var _a;
|
|
29
|
-
return (index.h(index.Host, { key: '
|
|
29
|
+
return (index.h(index.Host, { key: '689404d1e24ccca3f7b6dae14c9de758a9958433', role: "listitem" }, index.h("mds-icon", { key: '55e226db64ac816f361d6de838a5d7a12a249bdc', "aria-hidden": "true", class: "icon", name: (_a = this.icon) !== null && _a !== void 0 ? _a : mggListDot, part: "icon" }), index.h("mds-text", { key: '9ea43df05abfe834015a0b1f48b4676d068c4999', tag: "span", typography: this.typography, variant: this.variant, part: "text" }, index.h("slot", { key: '5767deb4dc3f9d831be9110f09754f3f7044406d' }))));
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
MdsListItem.style = MdsListItemStyle0;
|
|
@@ -12,7 +12,7 @@ const MdsList = class {
|
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (index.h(index.Host, { key: '
|
|
15
|
+
return (index.h(index.Host, { key: '6b535d21db95eae01155c73f48e3eb43740d37ed', role: "list" }, index.h("slot", { key: '022a37299f62bd315ee414ad6ec6cb598e44b0aa' })));
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
MdsList.style = MdsListStyle0;
|
|
@@ -24,7 +24,7 @@ const MdsMention = class {
|
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
26
|
var _a;
|
|
27
|
-
return (index.h(index.Host, { key: '
|
|
27
|
+
return (index.h(index.Host, { key: 'df0bfe4704b4e21795b4eadfeb53eef140ceaabc' }, index.h("mds-icon", { key: 'ba77f6b3c8eb89a9387ca2bb89ef423e52f42da4', name: this.icon ? this.icon : miBaselineAlternateEmail }), index.h("mds-text", { key: 'd8cee91020acc06427aff06492ae2ce0a9022c48', typography: this.sizeTypography[(_a = this.size) !== null && _a !== void 0 ? _a : 'md'] }, this.size === 'lg'
|
|
28
28
|
? this.label
|
|
29
29
|
: index.h("b", null, this.label))));
|
|
30
30
|
}
|