@maggioli-design-system/magma 2.2.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +25 -10
- package/CHANGELOG.md +712 -0
- package/README.md +5 -2
- package/agents/anti-patterns.md +7 -4
- package/agents/assets.md +231 -28
- package/agents/color.md +7 -5
- package/agents/components.md +5 -4
- package/agents/conventions.md +16 -0
- package/agents/install.md +8 -4
- package/agents/reporting.md +11 -2
- package/agents/theming.md +15 -0
- package/dist/cjs/_commonjsHelpers-CFO10eej.js +7 -0
- package/dist/cjs/{aria-BbJUuU9_.js → aria-CzO5Rp1y.js} +23 -15
- package/dist/cjs/{floating-controller-uOCBLTk2.js → floating-controller-BxER7sig.js} +37 -14
- package/dist/cjs/{floating-ui.dom-DflSHZIo.js → floating-ui.dom-VQ_HnnRe.js} +146 -209
- package/dist/cjs/icon-BhokFNM7.js +22 -0
- package/dist/cjs/{index-MyEb-PfD.js → index-B5DKRaVO.js} +1 -1
- package/dist/cjs/{index-UmmmCMIG.js → index-B_qgSpWL.js} +125 -96
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/keyboard-manager-BuCJdI8Q.js +75 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{locale-CnorkBwF.js → locale-D9XY8LN9.js} +1 -1
- package/dist/cjs/{locale.it-CfUV2hxK.js → locale.it-CQgfBg0W.js} +6 -1
- package/dist/cjs/{datetime-DHnUzK2K.js → luxon-8hyy5YD7.js} +164 -64
- package/dist/cjs/magma-components.cjs.js +3 -3
- package/dist/cjs/mds-accordion-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +11 -10
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +17 -3
- package/dist/cjs/mds-accordion.cjs.entry.js +37 -22
- package/dist/cjs/mds-author.cjs.entry.js +2 -2
- package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-avatar-stack.cjs.entry.js +11 -5
- package/dist/cjs/mds-avatar.cjs.entry.js +58 -91
- package/dist/cjs/mds-badge.cjs.entry.js +4 -4
- package/dist/cjs/mds-banner_3.cjs.entry.js +51 -69
- package/dist/cjs/mds-benchmark-bar.cjs.entry.js +6 -3
- package/dist/cjs/mds-bibliography.cjs.entry.js +23 -17
- package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +9 -5
- package/dist/cjs/mds-breadcrumb.cjs.entry.js +17 -33
- package/dist/cjs/mds-button-dropdown.cjs.entry.js +41 -4
- package/dist/cjs/mds-button-group.cjs.entry.js +2 -2
- package/dist/cjs/mds-button_3.cjs.entry.js +98 -67
- package/dist/cjs/mds-calendar_2.cjs.entry.js +125 -50
- package/dist/cjs/mds-card-content.cjs.entry.js +2 -2
- package/dist/cjs/mds-card-footer.cjs.entry.js +2 -2
- package/dist/cjs/mds-card-header.cjs.entry.js +3 -3
- package/dist/cjs/mds-card-media.cjs.entry.js +3 -3
- package/dist/cjs/mds-card.cjs.entry.js +25 -16
- package/dist/cjs/mds-details.cjs.entry.js +18 -8
- package/dist/cjs/mds-dropdown.cjs.entry.js +31 -15
- package/dist/cjs/mds-emoji.cjs.entry.js +192 -135
- package/dist/cjs/mds-entity.cjs.entry.js +4 -4
- package/dist/cjs/mds-file-preview.cjs.entry.js +30 -23
- package/dist/cjs/mds-file.cjs.entry.js +52 -7525
- package/dist/cjs/mds-filter-item.cjs.entry.js +81 -7
- package/dist/cjs/mds-filter.cjs.entry.js +120 -22
- package/dist/cjs/mds-header-bar.cjs.entry.js +38 -10
- package/dist/cjs/mds-header.cjs.entry.js +9 -11
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +44 -13
- package/dist/cjs/mds-hr.cjs.entry.js +3 -3
- package/dist/cjs/mds-img.cjs.entry.js +39 -47
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +16 -8
- package/dist/cjs/mds-input-date-range.cjs.entry.js +44 -26
- package/dist/cjs/mds-input-date.cjs.entry.js +49 -14
- package/dist/cjs/mds-input-field.cjs.entry.js +3 -3
- package/dist/cjs/mds-input-otp.cjs.entry.js +57 -22
- package/dist/cjs/mds-input-range.cjs.entry.js +3 -3
- package/dist/cjs/mds-input-select.cjs.entry.js +36 -9
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +27 -14
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +8 -7
- package/dist/cjs/mds-input-upload.cjs.entry.js +1097 -15
- package/dist/cjs/mds-input.cjs.entry.js +17 -8
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +4 -4
- package/dist/cjs/mds-keyboard.cjs.entry.js +15 -7
- package/dist/cjs/mds-kpi-item.cjs.entry.js +18 -4
- package/dist/cjs/mds-kpi.cjs.entry.js +1 -1
- package/dist/cjs/mds-label.cjs.entry.js +13 -30
- package/dist/cjs/mds-list-item.cjs.entry.js +3 -4
- package/dist/cjs/mds-list.cjs.entry.js +1 -1
- package/dist/cjs/mds-mention.cjs.entry.js +7 -6
- package/dist/cjs/mds-modal.cjs.entry.js +55 -11
- package/dist/cjs/mds-note.cjs.entry.js +18 -14
- package/dist/cjs/mds-notification.cjs.entry.js +72 -15
- package/dist/cjs/mds-paginator-item.cjs.entry.js +23 -11
- package/dist/cjs/mds-paginator.cjs.entry.js +39 -4
- package/dist/cjs/mds-policy-ai.cjs.entry.js +5 -5
- package/dist/cjs/mds-pref-animation.cjs.entry.js +42 -9
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +42 -9
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +45 -33
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +8 -8
- package/dist/cjs/mds-pref-language.cjs.entry.js +44 -22
- package/dist/cjs/mds-pref-mode.cjs.entry.js +29 -25
- package/dist/cjs/mds-pref-theme-item.cjs.entry.js +6 -4
- package/dist/cjs/mds-pref-theme.cjs.entry.js +137 -32
- package/dist/cjs/mds-pref.cjs.entry.js +47 -59
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-features.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table-list.cjs.entry.js +14 -6
- package/dist/cjs/mds-price-table.cjs.entry.js +2 -2
- package/dist/cjs/mds-progress_2.cjs.entry.js +46 -33
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +13 -10
- package/dist/cjs/mds-push-notification.cjs.entry.js +37 -14
- package/dist/cjs/mds-quote.cjs.entry.js +4 -4
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-radial-menu.cjs.entry.js +81 -36
- package/dist/cjs/mds-separator.cjs.entry.js +4 -4
- package/dist/cjs/mds-status-bar.cjs.entry.js +8 -9
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +18 -6
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +9 -18
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +25 -16
- package/dist/cjs/mds-tab-bar.cjs.entry.js +12 -6
- package/dist/cjs/mds-tab_2.cjs.entry.js +31 -12
- package/dist/cjs/mds-table-body.cjs.entry.js +4 -4
- package/dist/cjs/mds-table-footer.cjs.entry.js +13 -4
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +118 -79
- package/dist/cjs/mds-table-header.cjs.entry.js +13 -5
- package/dist/cjs/mds-table-row.cjs.entry.js +35 -11
- package/dist/cjs/mds-table.cjs.entry.js +87 -23
- package/dist/cjs/mds-text.cjs.entry.js +39 -29
- package/dist/cjs/mds-toast-region.cjs.entry.js +119 -0
- package/dist/cjs/mds-toast.cjs.entry.js +163 -33
- package/dist/cjs/mds-tooltip.cjs.entry.js +84 -16
- package/dist/cjs/mds-tree-item.cjs.entry.js +24 -10
- package/dist/cjs/mds-tree.cjs.entry.js +37 -15
- package/dist/cjs/mds-url-view.cjs.entry.js +6 -6
- package/dist/cjs/mds-usage.cjs.entry.js +26 -7
- package/dist/cjs/mds-video-wall.cjs.entry.js +5 -4
- package/dist/cjs/mds-zero.cjs.entry.js +4 -4
- package/dist/cjs/{preference-DRkzNp5a.js → preference-C8BcoA3M.js} +1 -1
- package/dist/cjs/{slot-RmXfgH4P.js → slot-Dku0TdVg.js} +15 -0
- package/dist/cjs/string-RoXIuD3q.js +7 -0
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/common/aria.js +25 -1
- package/dist/collection/common/file.js +6 -1
- package/dist/collection/common/floating-controller.js +35 -12
- package/dist/collection/common/hash.js +15 -0
- package/dist/collection/common/icon.js +4 -1
- package/dist/collection/common/keyboard-manager.js +29 -6
- package/dist/collection/common/slot.js +15 -1
- package/dist/collection/common/string.js +3 -1
- package/dist/collection/common/yugop/random-text.js +5 -0
- package/dist/collection/components/mds-accordion/AGENTS.md +3 -2
- package/dist/collection/components/mds-accordion/antipattern.md +1 -1
- package/dist/collection/components/mds-accordion/documentation.json +9 -4
- package/dist/collection/components/mds-accordion/mds-accordion.css +6 -6
- package/dist/collection/components/mds-accordion/mds-accordion.js +34 -21
- package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-item/antipattern.md +2 -2
- package/dist/collection/components/mds-accordion-item/documentation.json +3 -3
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +16 -12
- package/dist/collection/components/mds-accordion-timer/AGENTS.md +2 -2
- package/dist/collection/components/mds-accordion-timer/documentation.json +3 -3
- package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +2 -2
- package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +15 -1
- package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-accordion-timer-item/documentation.json +4 -4
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +11 -7
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +9 -8
- package/dist/collection/components/mds-author/AGENTS.md +1 -1
- package/dist/collection/components/mds-author/documentation.json +3 -3
- package/dist/collection/components/mds-author/mds-author.css +2 -1
- package/dist/collection/components/mds-avatar/AGENTS.md +4 -4
- package/dist/collection/components/mds-avatar/documentation.json +5 -5
- package/dist/collection/components/mds-avatar/mds-avatar.css +33 -21
- package/dist/collection/components/mds-avatar/mds-avatar.js +56 -70
- package/dist/collection/components/mds-avatar/pattern.md +13 -2
- package/dist/collection/components/mds-avatar-stack/AGENTS.md +2 -2
- package/dist/collection/components/mds-avatar-stack/documentation.json +3 -3
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.css +4 -4
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +15 -2
- package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar-stack-item/documentation.json +2 -2
- package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.css +6 -6
- package/dist/collection/components/mds-badge/AGENTS.md +1 -1
- package/dist/collection/components/mds-badge/antipattern.md +0 -1
- package/dist/collection/components/mds-badge/documentation.json +4 -4
- package/dist/collection/components/mds-badge/mds-badge.css +17 -15
- package/dist/collection/components/mds-badge/pattern.md +0 -1
- package/dist/collection/components/mds-banner/AGENTS.md +1 -1
- package/dist/collection/components/mds-banner/documentation.json +2 -2
- package/dist/collection/components/mds-banner/mds-banner.css +63 -59
- package/dist/collection/components/mds-benchmark-bar/AGENTS.md +2 -2
- package/dist/collection/components/mds-benchmark-bar/antipattern.md +1 -1
- package/dist/collection/components/mds-benchmark-bar/documentation.json +5 -5
- package/dist/collection/components/mds-benchmark-bar/mds-benchmark-bar.js +4 -1
- package/dist/collection/components/mds-benchmark-bar/pattern.md +1 -1
- package/dist/collection/components/mds-bibliography/AGENTS.md +4 -4
- package/dist/collection/components/mds-bibliography/antipattern.md +1 -1
- package/dist/collection/components/mds-bibliography/documentation.json +17 -8
- package/dist/collection/components/mds-bibliography/mds-bibliography.css +11 -7
- package/dist/collection/components/mds-bibliography/mds-bibliography.js +29 -17
- package/dist/collection/components/mds-bibliography/pattern.md +2 -2
- package/dist/collection/components/mds-breadcrumb/AGENTS.md +8 -6
- package/dist/collection/components/mds-breadcrumb/antipattern.md +3 -3
- package/dist/collection/components/mds-breadcrumb/documentation.json +18 -8
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.css +20 -9
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +13 -29
- package/dist/collection/components/mds-breadcrumb/pattern.md +2 -5
- package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-breadcrumb-item/documentation.json +10 -5
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +15 -14
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +10 -3
- package/dist/collection/components/mds-button/AGENTS.md +11 -8
- package/dist/collection/components/mds-button/antipattern.md +1 -1
- package/dist/collection/components/mds-button/documentation.json +22 -9
- package/dist/collection/components/mds-button/mds-button.css +238 -423
- package/dist/collection/components/mds-button/mds-button.js +73 -39
- package/dist/collection/components/mds-button/pattern.md +13 -0
- package/dist/collection/components/mds-button-dropdown/AGENTS.md +10 -9
- package/dist/collection/components/mds-button-dropdown/antipattern.md +1 -1
- package/dist/collection/components/mds-button-dropdown/documentation.json +13 -9
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +38 -17
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +26 -5
- package/dist/collection/components/mds-button-dropdown/pattern.md +8 -1
- package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
- package/dist/collection/components/mds-button-group/documentation.json +2 -2
- package/dist/collection/components/mds-button-group/mds-button-group.js +1 -1
- package/dist/collection/components/mds-calendar/AGENTS.md +5 -5
- package/dist/collection/components/mds-calendar/documentation.json +5 -5
- package/dist/collection/components/mds-calendar/mds-calendar.css +17 -9
- package/dist/collection/components/mds-calendar/mds-calendar.js +52 -19
- package/dist/collection/components/mds-calendar/pattern.md +4 -3
- package/dist/collection/components/mds-calendar-cell/AGENTS.md +8 -8
- package/dist/collection/components/mds-calendar-cell/antipattern.md +2 -1
- package/dist/collection/components/mds-calendar-cell/documentation.json +14 -10
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +260 -109
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +8 -3
- package/dist/collection/components/mds-calendar-cell/pattern.md +3 -1
- package/dist/collection/components/mds-card/AGENTS.md +5 -4
- package/dist/collection/components/mds-card/antipattern.md +1 -1
- package/dist/collection/components/mds-card/documentation.json +10 -5
- package/dist/collection/components/mds-card/mds-card.css +3 -2
- package/dist/collection/components/mds-card/mds-card.js +22 -13
- package/dist/collection/components/mds-card/pattern.md +4 -3
- package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-content/documentation.json +2 -2
- package/dist/collection/components/mds-card-content/mds-card-content.js +1 -1
- package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-footer/documentation.json +2 -2
- package/dist/collection/components/mds-card-footer/mds-card-footer.js +1 -1
- package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-header/documentation.json +2 -2
- package/dist/collection/components/mds-card-header/mds-card-header.js +1 -1
- package/dist/collection/components/mds-card-media/AGENTS.md +2 -2
- package/dist/collection/components/mds-card-media/documentation.json +7 -3
- package/dist/collection/components/mds-card-media/mds-card-media.js +2 -1
- package/dist/collection/components/mds-chip/AGENTS.md +3 -3
- package/dist/collection/components/mds-chip/documentation.json +6 -6
- package/dist/collection/components/mds-chip/mds-chip.css +98 -95
- package/dist/collection/components/mds-chip/mds-chip.js +40 -60
- package/dist/collection/components/mds-chip/pattern.md +1 -1
- package/dist/collection/components/mds-details/AGENTS.md +5 -4
- package/dist/collection/components/mds-details/documentation.json +6 -6
- package/dist/collection/components/mds-details/mds-details.css +20 -8
- package/dist/collection/components/mds-details/mds-details.js +14 -4
- package/dist/collection/components/mds-details/pattern.md +2 -2
- package/dist/collection/components/mds-dropdown/AGENTS.md +7 -7
- package/dist/collection/components/mds-dropdown/documentation.json +16 -11
- package/dist/collection/components/mds-dropdown/mds-dropdown.css +71 -38
- package/dist/collection/components/mds-dropdown/mds-dropdown.js +31 -12
- package/dist/collection/components/mds-dropdown/pattern.md +4 -2
- package/dist/collection/components/mds-emoji/AGENTS.md +12 -12
- package/dist/collection/components/mds-emoji/antipattern.md +1 -1
- package/dist/collection/components/mds-emoji/documentation.json +35 -65
- package/dist/collection/components/mds-emoji/mds-emoji.css +5 -5
- package/dist/collection/components/mds-emoji/mds-emoji.js +101 -77
- package/dist/collection/components/mds-emoji/meta/gaze.js +22 -0
- package/dist/collection/components/mds-entity/AGENTS.md +1 -1
- package/dist/collection/components/mds-entity/documentation.json +2 -2
- package/dist/collection/components/mds-entity/mds-entity.css +17 -12
- package/dist/collection/components/mds-file/AGENTS.md +6 -6
- package/dist/collection/components/mds-file/documentation.json +5 -5
- package/dist/collection/components/mds-file/mds-file.css +15 -15
- package/dist/collection/components/mds-file/mds-file.js +35 -11
- package/dist/collection/components/mds-file/pattern.md +1 -1
- package/dist/collection/components/mds-file-preview/AGENTS.md +5 -5
- package/dist/collection/components/mds-file-preview/antipattern.md +1 -1
- package/dist/collection/components/mds-file-preview/documentation.json +20 -10
- package/dist/collection/components/mds-file-preview/mds-file-preview.css +48 -22
- package/dist/collection/components/mds-file-preview/mds-file-preview.js +34 -21
- package/dist/collection/components/mds-file-preview/pattern.md +1 -1
- package/dist/collection/components/mds-filter/AGENTS.md +5 -3
- package/dist/collection/components/mds-filter/documentation.json +4 -4
- package/dist/collection/components/mds-filter/mds-filter.css +19 -19
- package/dist/collection/components/mds-filter/mds-filter.js +102 -20
- package/dist/collection/components/mds-filter/pattern.md +34 -4
- package/dist/collection/components/mds-filter-item/AGENTS.md +10 -9
- package/dist/collection/components/mds-filter-item/documentation.json +5 -5
- package/dist/collection/components/mds-filter-item/mds-filter-item.css +34 -21
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +54 -4
- package/dist/collection/components/mds-filter-item/pattern.md +5 -5
- package/dist/collection/components/mds-header/AGENTS.md +5 -5
- package/dist/collection/components/mds-header/antipattern.md +2 -2
- package/dist/collection/components/mds-header/documentation.json +14 -9
- package/dist/collection/components/mds-header/mds-header.css +26 -16
- package/dist/collection/components/mds-header/mds-header.js +10 -9
- package/dist/collection/components/mds-header/pattern.md +1 -1
- package/dist/collection/components/mds-header-bar/AGENTS.md +6 -6
- package/dist/collection/components/mds-header-bar/documentation.json +14 -10
- package/dist/collection/components/mds-header-bar/mds-header-bar.css +15 -6
- package/dist/collection/components/mds-header-bar/mds-header-bar.js +22 -9
- package/dist/collection/components/mds-header-bar/pattern.md +2 -2
- package/dist/collection/components/mds-help/AGENTS.md +7 -7
- package/dist/collection/components/mds-help/documentation.json +12 -8
- package/dist/collection/components/mds-help/mds-help.css +23 -1
- package/dist/collection/components/mds-help/mds-help.js +8 -5
- package/dist/collection/components/mds-help/pattern.md +2 -2
- package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +3 -3
- package/dist/collection/components/mds-horizontal-scroll/documentation.json +8 -4
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +13 -13
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +18 -11
- package/dist/collection/components/mds-hr/AGENTS.md +1 -1
- package/dist/collection/components/mds-hr/documentation.json +2 -2
- package/dist/collection/components/mds-hr/mds-hr.css +2 -2
- package/dist/collection/components/mds-icon/AGENTS.md +2 -2
- package/dist/collection/components/mds-icon/documentation.json +5 -5
- package/dist/collection/components/mds-icon/mds-icon.js +14 -3
- package/dist/collection/components/mds-icon/pattern.md +1 -1
- package/dist/collection/components/mds-img/AGENTS.md +9 -9
- package/dist/collection/components/mds-img/antipattern.md +1 -1
- package/dist/collection/components/mds-img/documentation.json +36 -34
- package/dist/collection/components/mds-img/mds-img.css +6 -6
- package/dist/collection/components/mds-img/mds-img.js +58 -56
- package/dist/collection/components/mds-input/AGENTS.md +17 -15
- package/dist/collection/components/mds-input/antipattern.md +1 -1
- package/dist/collection/components/mds-input/documentation.json +134 -25
- package/dist/collection/components/mds-input/mds-input.css +136 -65
- package/dist/collection/components/mds-input/mds-input.js +69 -9
- package/dist/collection/components/mds-input/pattern.md +15 -0
- package/dist/collection/components/mds-input-date/AGENTS.md +7 -4
- package/dist/collection/components/mds-input-date/antipattern.md +1 -1
- package/dist/collection/components/mds-input-date/documentation.json +72 -7
- package/dist/collection/components/mds-input-date/mds-input-date.css +53 -28
- package/dist/collection/components/mds-input-date/mds-input-date.js +61 -2
- package/dist/collection/components/mds-input-date-range/AGENTS.md +4 -2
- package/dist/collection/components/mds-input-date-range/documentation.json +67 -3
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +51 -25
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +50 -1
- package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +3 -3
- package/dist/collection/components/mds-input-date-range-preselection/antipattern.md +1 -1
- package/dist/collection/components/mds-input-date-range-preselection/documentation.json +26 -8
- package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.css +18 -18
- package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +31 -9
- package/dist/collection/components/mds-input-field/AGENTS.md +4 -4
- package/dist/collection/components/mds-input-field/documentation.json +10 -6
- package/dist/collection/components/mds-input-field/mds-input-field.css +8 -8
- package/dist/collection/components/mds-input-field/mds-input-field.js +5 -2
- package/dist/collection/components/mds-input-otp/AGENTS.md +5 -4
- package/dist/collection/components/mds-input-otp/antipattern.md +1 -1
- package/dist/collection/components/mds-input-otp/documentation.json +5 -5
- package/dist/collection/components/mds-input-otp/mds-input-otp.css +12 -0
- package/dist/collection/components/mds-input-otp/mds-input-otp.js +53 -18
- package/dist/collection/components/mds-input-otp/pattern.md +1 -1
- package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-range/antipattern.md +1 -1
- package/dist/collection/components/mds-input-range/documentation.json +3 -3
- package/dist/collection/components/mds-input-range/mds-input-range.css +16 -15
- package/dist/collection/components/mds-input-select/AGENTS.md +7 -4
- package/dist/collection/components/mds-input-select/documentation.json +59 -8
- package/dist/collection/components/mds-input-select/mds-input-select.css +112 -31
- package/dist/collection/components/mds-input-select/mds-input-select.js +61 -7
- package/dist/collection/components/mds-input-select/pattern.md +3 -3
- package/dist/collection/components/mds-input-switch/AGENTS.md +2 -2
- package/dist/collection/components/mds-input-switch/antipattern.md +1 -1
- package/dist/collection/components/mds-input-switch/documentation.json +4 -4
- package/dist/collection/components/mds-input-switch/mds-input-switch.css +93 -71
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +19 -6
- package/dist/collection/components/mds-input-tip/AGENTS.md +2 -2
- package/dist/collection/components/mds-input-tip/documentation.json +3 -3
- package/dist/collection/components/mds-input-tip/mds-input-tip.css +1 -1
- package/dist/collection/components/mds-input-tip/mds-input-tip.js +4 -3
- package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-tip-item/documentation.json +2 -2
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.css +24 -21
- package/dist/collection/components/mds-input-tip-item/meta/dictionary.js +2 -8
- package/dist/collection/components/mds-input-upload/AGENTS.md +2 -2
- package/dist/collection/components/mds-input-upload/documentation.json +7 -3
- package/dist/collection/components/mds-input-upload/mds-input-upload.css +17 -15
- package/dist/collection/components/mds-input-upload/mds-input-upload.js +13 -8
- package/dist/collection/components/mds-keyboard/AGENTS.md +2 -2
- package/dist/collection/components/mds-keyboard/documentation.json +4 -4
- package/dist/collection/components/mds-keyboard/mds-keyboard.css +28 -16
- package/dist/collection/components/mds-keyboard/mds-keyboard.js +11 -3
- package/dist/collection/components/mds-keyboard/pattern.md +1 -1
- package/dist/collection/components/mds-keyboard-key/AGENTS.md +2 -2
- package/dist/collection/components/mds-keyboard-key/documentation.json +3 -3
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +4 -3
- package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
- package/dist/collection/components/mds-kpi/documentation.json +2 -2
- package/dist/collection/components/mds-kpi-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-kpi-item/antipattern.md +1 -1
- package/dist/collection/components/mds-kpi-item/documentation.json +5 -5
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.css +13 -13
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +15 -1
- package/dist/collection/components/mds-kpi-item/pattern.md +2 -2
- package/dist/collection/components/mds-label/AGENTS.md +2 -2
- package/dist/collection/components/mds-label/documentation.json +3 -3
- package/dist/collection/components/mds-label/mds-label.css +18 -13
- package/dist/collection/components/mds-label/mds-label.js +2 -24
- package/dist/collection/components/mds-list/AGENTS.md +2 -2
- package/dist/collection/components/mds-list/documentation.json +3 -3
- package/dist/collection/components/mds-list-item/AGENTS.md +4 -3
- package/dist/collection/components/mds-list-item/documentation.json +14 -6
- package/dist/collection/components/mds-list-item/mds-list-item.css +0 -18
- package/dist/collection/components/mds-list-item/mds-list-item.js +3 -2
- package/dist/collection/components/mds-list-item/pattern.md +11 -0
- package/dist/collection/components/mds-mention/AGENTS.md +2 -2
- package/dist/collection/components/mds-mention/documentation.json +3 -3
- package/dist/collection/components/mds-mention/mds-mention.css +4 -13
- package/dist/collection/components/mds-mention/mds-mention.js +4 -3
- package/dist/collection/components/mds-modal/AGENTS.md +8 -7
- package/dist/collection/components/mds-modal/documentation.json +16 -7
- package/dist/collection/components/mds-modal/mds-modal.css +23 -14
- package/dist/collection/components/mds-modal/mds-modal.js +36 -7
- package/dist/collection/components/mds-modal/pattern.md +1 -1
- package/dist/collection/components/mds-note/AGENTS.md +2 -1
- package/dist/collection/components/mds-note/documentation.json +8 -3
- package/dist/collection/components/mds-note/mds-note.css +7 -15
- package/dist/collection/components/mds-note/mds-note.js +13 -9
- package/dist/collection/components/mds-note/pattern.md +1 -0
- package/dist/collection/components/mds-notification/AGENTS.md +5 -5
- package/dist/collection/components/mds-notification/documentation.json +11 -6
- package/dist/collection/components/mds-notification/mds-notification.css +13 -6
- package/dist/collection/components/mds-notification/mds-notification.js +78 -13
- package/dist/collection/components/mds-paginator/AGENTS.md +4 -3
- package/dist/collection/components/mds-paginator/antipattern.md +2 -1
- package/dist/collection/components/mds-paginator/documentation.json +6 -6
- package/dist/collection/components/mds-paginator/mds-paginator.css +8 -8
- package/dist/collection/components/mds-paginator/mds-paginator.js +12 -1
- package/dist/collection/components/mds-paginator/pattern.md +9 -1
- package/dist/collection/components/mds-paginator-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-paginator-item/antipattern.md +2 -1
- package/dist/collection/components/mds-paginator-item/documentation.json +6 -6
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +69 -71
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +19 -7
- package/dist/collection/components/mds-paginator-item/pattern.md +3 -1
- package/dist/collection/components/mds-policy-ai/AGENTS.md +3 -2
- package/dist/collection/components/mds-policy-ai/documentation.json +13 -5
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.css +21 -15
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +3 -2
- package/dist/collection/components/mds-policy-ai/pattern.md +6 -1
- package/dist/collection/components/mds-pref/AGENTS.md +6 -6
- package/dist/collection/components/mds-pref/antipattern.md +1 -1
- package/dist/collection/components/mds-pref/documentation.json +20 -9
- package/dist/collection/components/mds-pref/mds-pref.js +61 -57
- package/dist/collection/components/mds-pref/pattern.md +5 -5
- package/dist/collection/components/mds-pref-animation/AGENTS.md +3 -3
- package/dist/collection/components/mds-pref-animation/antipattern.md +1 -1
- package/dist/collection/components/mds-pref-animation/documentation.json +5 -5
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.css +7 -7
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +38 -5
- package/dist/collection/components/mds-pref-animation/pattern.md +6 -6
- package/dist/collection/components/mds-pref-consumption/AGENTS.md +3 -3
- package/dist/collection/components/mds-pref-consumption/antipattern.md +1 -1
- package/dist/collection/components/mds-pref-consumption/documentation.json +5 -5
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.css +4 -4
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +38 -5
- package/dist/collection/components/mds-pref-consumption/pattern.md +5 -6
- package/dist/collection/components/mds-pref-contrast/AGENTS.md +3 -3
- package/dist/collection/components/mds-pref-contrast/antipattern.md +2 -2
- package/dist/collection/components/mds-pref-contrast/documentation.json +5 -5
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.css +5 -5
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +41 -29
- package/dist/collection/components/mds-pref-contrast/pattern.md +3 -3
- package/dist/collection/components/mds-pref-language/AGENTS.md +7 -7
- package/dist/collection/components/mds-pref-language/antipattern.md +2 -2
- package/dist/collection/components/mds-pref-language/documentation.json +17 -7
- package/dist/collection/components/mds-pref-language/mds-pref-language.css +10 -2
- package/dist/collection/components/mds-pref-language/mds-pref-language.js +54 -20
- package/dist/collection/components/mds-pref-language/pattern.md +3 -3
- package/dist/collection/components/mds-pref-language-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-pref-language-item/antipattern.md +1 -1
- package/dist/collection/components/mds-pref-language-item/documentation.json +10 -5
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +9 -6
- package/dist/collection/components/mds-pref-mode/AGENTS.md +13 -6
- package/dist/collection/components/mds-pref-mode/antipattern.md +4 -4
- package/dist/collection/components/mds-pref-mode/documentation.json +22 -6
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +6 -6
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +22 -23
- package/dist/collection/components/mds-pref-mode/pattern.md +5 -5
- package/dist/collection/components/mds-pref-theme/AGENTS.md +9 -7
- package/dist/collection/components/mds-pref-theme/antipattern.md +4 -4
- package/dist/collection/components/mds-pref-theme/documentation.json +17 -7
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.css +10 -2
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +149 -31
- package/dist/collection/components/mds-pref-theme/pattern.md +3 -3
- package/dist/collection/components/mds-pref-theme-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-pref-theme-item/antipattern.md +1 -1
- package/dist/collection/components/mds-pref-theme-item/documentation.json +8 -4
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +30 -12
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +8 -3
- package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table/documentation.json +2 -2
- package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
- package/dist/collection/components/mds-price-table-features/AGENTS.md +3 -3
- package/dist/collection/components/mds-price-table-features/documentation.json +4 -4
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +3 -3
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
- package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +2 -2
- package/dist/collection/components/mds-price-table-features-cell/documentation.json +3 -3
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +15 -12
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
- package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-features-row/documentation.json +2 -2
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +12 -12
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
- package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-header/documentation.json +2 -2
- package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
- package/dist/collection/components/mds-price-table-list/AGENTS.md +3 -3
- package/dist/collection/components/mds-price-table-list/documentation.json +3 -3
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +10 -9
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +13 -3
- package/dist/collection/components/mds-price-table-list-item/AGENTS.md +3 -3
- package/dist/collection/components/mds-price-table-list-item/documentation.json +9 -5
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.css +7 -3
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +2 -1
- package/dist/collection/components/mds-price-table-list-item/pattern.md +1 -1
- package/dist/collection/components/mds-progress/AGENTS.md +3 -2
- package/dist/collection/components/mds-progress/documentation.json +4 -4
- package/dist/collection/components/mds-progress/mds-progress.css +22 -21
- package/dist/collection/components/mds-progress/mds-progress.js +42 -29
- package/dist/collection/components/mds-progress/pattern.md +1 -0
- package/dist/collection/components/mds-push-notification/AGENTS.md +4 -4
- package/dist/collection/components/mds-push-notification/documentation.json +4 -4
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +19 -12
- package/dist/collection/components/mds-push-notification-item/AGENTS.md +4 -5
- package/dist/collection/components/mds-push-notification-item/documentation.json +18 -13
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +20 -103
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +17 -8
- package/dist/collection/components/mds-push-notification-item/pattern.md +2 -3
- package/dist/collection/components/mds-quote/AGENTS.md +1 -1
- package/dist/collection/components/mds-quote/documentation.json +2 -2
- package/dist/collection/components/mds-quote/mds-quote.css +6 -4
- package/dist/collection/components/mds-quote/mds-quote.js +1 -1
- package/dist/collection/components/mds-radial-menu/AGENTS.md +13 -12
- package/dist/collection/components/mds-radial-menu/antipattern.md +1 -1
- package/dist/collection/components/mds-radial-menu/documentation.json +19 -33
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +29 -10
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +57 -39
- package/dist/collection/components/mds-radial-menu/pattern.md +14 -1
- package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-radial-menu-item/documentation.json +2 -2
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
- package/dist/collection/components/mds-radial-progress/AGENTS.md +11 -1
- package/dist/collection/components/mds-radial-progress/antipattern.md +8 -1
- package/dist/collection/components/mds-radial-progress/documentation.json +31 -5
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +24 -16
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
- package/dist/collection/components/mds-radial-progress/pattern.md +13 -1
- package/dist/collection/components/mds-separator/AGENTS.md +1 -1
- package/dist/collection/components/mds-separator/documentation.json +2 -2
- package/dist/collection/components/mds-separator/mds-separator.css +3 -3
- package/dist/collection/components/mds-separator/mds-separator.js +1 -1
- package/dist/collection/components/mds-spinner/AGENTS.md +2 -2
- package/dist/collection/components/mds-spinner/documentation.json +4 -4
- package/dist/collection/components/mds-spinner/mds-spinner.css +67 -16
- package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
- package/dist/collection/components/mds-spinner/pattern.md +1 -1
- package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-status-bar/antipattern.md +1 -1
- package/dist/collection/components/mds-status-bar/documentation.json +4 -4
- package/dist/collection/components/mds-status-bar/mds-status-bar.css +14 -8
- package/dist/collection/components/mds-status-bar/mds-status-bar.js +5 -6
- package/dist/collection/components/mds-status-bar/pattern.md +1 -1
- package/dist/collection/components/mds-stepper-bar/AGENTS.md +5 -5
- package/dist/collection/components/mds-stepper-bar/documentation.json +8 -14
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.css +6 -6
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +9 -27
- package/dist/collection/components/mds-stepper-bar/pattern.md +1 -1
- package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-stepper-bar-item/documentation.json +6 -6
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +37 -20
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +15 -3
- package/dist/collection/components/mds-stepper-bar-item/pattern.md +1 -1
- package/dist/collection/components/mds-tab/AGENTS.md +4 -4
- package/dist/collection/components/mds-tab/documentation.json +5 -5
- package/dist/collection/components/mds-tab/mds-tab.css +55 -27
- package/dist/collection/components/mds-tab/mds-tab.js +25 -5
- package/dist/collection/components/mds-tab/pattern.md +9 -0
- package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-bar/antipattern.md +1 -1
- package/dist/collection/components/mds-tab-bar/documentation.json +3 -3
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.css +1 -1
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +9 -3
- package/dist/collection/components/mds-tab-bar-item/AGENTS.md +3 -3
- package/dist/collection/components/mds-tab-bar-item/antipattern.md +2 -2
- package/dist/collection/components/mds-tab-bar-item/documentation.json +5 -5
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +36 -15
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +22 -18
- package/dist/collection/components/mds-tab-bar-item/pattern.md +1 -1
- package/dist/collection/components/mds-tab-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-tab-item/documentation.json +9 -4
- package/dist/collection/components/mds-tab-item/mds-tab-item.css +13 -3
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +4 -1
- package/dist/collection/components/mds-table/AGENTS.md +12 -8
- package/dist/collection/components/mds-table/antipattern.md +1 -1
- package/dist/collection/components/mds-table/documentation.json +85 -10
- package/dist/collection/components/mds-table/mds-table.css +36 -26
- package/dist/collection/components/mds-table/mds-table.js +131 -21
- package/dist/collection/components/mds-table/pattern.md +34 -1
- package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-body/documentation.json +2 -2
- package/dist/collection/components/mds-table-body/mds-table-body.css +13 -10
- package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
- package/dist/collection/components/mds-table-cell/AGENTS.md +5 -5
- package/dist/collection/components/mds-table-cell/antipattern.md +1 -1
- package/dist/collection/components/mds-table-cell/documentation.json +11 -7
- package/dist/collection/components/mds-table-cell/mds-table-cell.css +7 -11
- package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
- package/dist/collection/components/mds-table-cell/pattern.md +6 -0
- package/dist/collection/components/mds-table-footer/AGENTS.md +14 -4
- package/dist/collection/components/mds-table-footer/documentation.json +42 -9
- package/dist/collection/components/mds-table-footer/mds-table-footer.css +6 -1
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +41 -2
- package/dist/collection/components/mds-table-footer/pattern.md +2 -1
- package/dist/collection/components/mds-table-header/AGENTS.md +4 -3
- package/dist/collection/components/mds-table-header/documentation.json +49 -6
- package/dist/collection/components/mds-table-header/mds-table-header.css +7 -0
- package/dist/collection/components/mds-table-header/mds-table-header.js +36 -2
- package/dist/collection/components/mds-table-header/pattern.md +1 -1
- package/dist/collection/components/mds-table-header-cell/AGENTS.md +16 -7
- package/dist/collection/components/mds-table-header-cell/antipattern.md +17 -10
- package/dist/collection/components/mds-table-header-cell/documentation.json +72 -10
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +166 -82
- package/dist/collection/components/mds-table-header-cell/meta/event-detail.js +1 -0
- package/dist/collection/components/mds-table-header-cell/pattern.md +27 -6
- package/dist/collection/components/mds-table-row/AGENTS.md +3 -3
- package/dist/collection/components/mds-table-row/documentation.json +5 -5
- package/dist/collection/components/mds-table-row/mds-table-row.css +17 -16
- package/dist/collection/components/mds-table-row/mds-table-row.js +24 -5
- package/dist/collection/components/mds-table-row/pattern.md +1 -2
- package/dist/collection/components/mds-text/AGENTS.md +4 -4
- package/dist/collection/components/mds-text/documentation.json +3 -3
- package/dist/collection/components/mds-text/mds-text.css +89 -6
- package/dist/collection/components/mds-text/mds-text.js +31 -26
- package/dist/collection/components/mds-toast/AGENTS.md +13 -7
- package/dist/collection/components/mds-toast/antipattern.md +18 -0
- package/dist/collection/components/mds-toast/documentation.json +53 -13
- package/dist/collection/components/mds-toast/mds-toast.css +70 -21
- package/dist/collection/components/mds-toast/mds-toast.js +174 -35
- package/dist/collection/components/mds-toast/meta/event-detail.js +1 -0
- package/dist/collection/components/mds-toast/pattern.md +18 -4
- package/dist/collection/components/mds-toast-region/AGENTS.md +51 -0
- package/dist/collection/components/mds-toast-region/antipattern.md +62 -0
- package/dist/collection/components/mds-toast-region/documentation.json +136 -0
- package/dist/collection/components/mds-toast-region/mds-toast-region.css +31 -0
- package/dist/collection/components/mds-toast-region/mds-toast-region.js +177 -0
- package/dist/collection/components/mds-toast-region/pattern.md +82 -0
- package/dist/collection/components/mds-tooltip/AGENTS.md +9 -7
- package/dist/collection/components/mds-tooltip/antipattern.md +14 -0
- package/dist/collection/components/mds-tooltip/documentation.json +61 -11
- package/dist/collection/components/mds-tooltip/mds-tooltip.css +47 -12
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +113 -14
- package/dist/collection/components/mds-tooltip/pattern.md +11 -2
- package/dist/collection/components/mds-tree/AGENTS.md +6 -5
- package/dist/collection/components/mds-tree/documentation.json +13 -7
- package/dist/collection/components/mds-tree/mds-tree.css +18 -17
- package/dist/collection/components/mds-tree/mds-tree.js +41 -16
- package/dist/collection/components/mds-tree/pattern.md +5 -1
- package/dist/collection/components/mds-tree-item/AGENTS.md +7 -7
- package/dist/collection/components/mds-tree-item/documentation.json +7 -7
- package/dist/collection/components/mds-tree-item/mds-tree-item.css +47 -15
- package/dist/collection/components/mds-tree-item/mds-tree-item.js +22 -8
- package/dist/collection/components/mds-tree-item/pattern.md +2 -1
- package/dist/collection/components/mds-url-view/AGENTS.md +2 -2
- package/dist/collection/components/mds-url-view/documentation.json +3 -3
- package/dist/collection/components/mds-url-view/mds-url-view.css +10 -9
- package/dist/collection/components/mds-url-view/mds-url-view.js +2 -2
- package/dist/collection/components/mds-usage/AGENTS.md +15 -11
- package/dist/collection/components/mds-usage/antipattern.md +17 -1
- package/dist/collection/components/mds-usage/documentation.json +48 -10
- package/dist/collection/components/mds-usage/mds-usage.css +11 -9
- package/dist/collection/components/mds-usage/mds-usage.js +30 -5
- package/dist/collection/components/mds-usage/meta/variants.js +14 -18
- package/dist/collection/components/mds-usage/pattern.md +13 -3
- package/dist/collection/components/mds-video-wall/AGENTS.md +2 -2
- package/dist/collection/components/mds-video-wall/documentation.json +3 -3
- package/dist/collection/components/mds-video-wall/mds-video-wall.css +13 -8
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +2 -1
- package/dist/collection/components/mds-zero/AGENTS.md +1 -1
- package/dist/collection/components/mds-zero/documentation.json +2 -2
- package/dist/collection/components/mds-zero/mds-zero.css +5 -4
- package/dist/collection/components/mds-zero/mds-zero.js +1 -1
- package/dist/collection/type/floating-ui.js +1 -0
- package/dist/collection/type/input.js +2 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +1 -1
- package/dist/components/mds-accordion-item.js +1 -1
- package/dist/components/mds-accordion-timer-item.js +1 -1
- package/dist/components/mds-accordion-timer.js +1 -1
- package/dist/components/mds-accordion.js +1 -1
- package/dist/components/mds-author.js +1 -1
- package/dist/components/mds-avatar-stack-item.js +1 -1
- package/dist/components/mds-avatar-stack.js +1 -1
- package/dist/components/mds-avatar.js +1 -1
- package/dist/components/mds-badge.js +1 -1
- package/dist/components/mds-banner.js +1 -1
- package/dist/components/mds-benchmark-bar.js +1 -1
- package/dist/components/mds-bibliography.js +1 -1
- package/dist/components/mds-breadcrumb-item.js +1 -1
- package/dist/components/mds-breadcrumb.js +1 -1
- package/dist/components/mds-button-dropdown.js +1 -1
- package/dist/components/mds-button-group.js +1 -1
- package/dist/components/mds-button.js +1 -1
- package/dist/components/mds-calendar-cell.js +1 -1
- package/dist/components/mds-calendar.js +1 -1
- package/dist/components/mds-card-content.js +1 -1
- package/dist/components/mds-card-footer.js +1 -1
- package/dist/components/mds-card-header.js +1 -1
- package/dist/components/mds-card-media.js +1 -1
- package/dist/components/mds-card.js +1 -1
- package/dist/components/mds-chip.js +1 -1
- package/dist/components/mds-details.js +1 -1
- package/dist/components/mds-dropdown.js +1 -1
- package/dist/components/mds-emoji.js +7 -7
- package/dist/components/mds-entity.js +1 -1
- package/dist/components/mds-file-preview.js +1 -1
- package/dist/components/mds-file.js +1 -18
- package/dist/components/mds-filter-item.js +1 -1
- package/dist/components/mds-filter.js +1 -1
- package/dist/components/mds-header-bar.js +1 -1
- package/dist/components/mds-header.js +1 -1
- package/dist/components/mds-help.js +1 -1
- package/dist/components/mds-horizontal-scroll.js +1 -1
- package/dist/components/mds-hr.js +1 -1
- package/dist/components/mds-icon.js +1 -1
- package/dist/components/mds-img.js +1 -1
- package/dist/components/mds-input-date-range-preselection.js +1 -1
- package/dist/components/mds-input-date-range.js +1 -1
- package/dist/components/mds-input-date.js +1 -1
- package/dist/components/mds-input-field.js +1 -1
- package/dist/components/mds-input-otp.js +1 -1
- package/dist/components/mds-input-range.js +1 -1
- package/dist/components/mds-input-select.js +1 -1
- package/dist/components/mds-input-switch.js +1 -1
- package/dist/components/mds-input-tip-item.js +1 -1
- package/dist/components/mds-input-tip.js +1 -1
- package/dist/components/mds-input-upload.js +1 -1
- package/dist/components/mds-input.js +1 -1
- package/dist/components/mds-keyboard-key.js +1 -1
- package/dist/components/mds-keyboard.js +1 -1
- package/dist/components/mds-kpi-item.js +1 -1
- package/dist/components/mds-kpi.js +1 -1
- package/dist/components/mds-label.js +1 -1
- package/dist/components/mds-list-item.js +1 -1
- package/dist/components/mds-list.js +1 -1
- package/dist/components/mds-mention.js +1 -1
- package/dist/components/mds-modal.js +1 -1
- package/dist/components/mds-note.js +1 -1
- package/dist/components/mds-notification.js +1 -1
- package/dist/components/mds-paginator-item.js +1 -1
- package/dist/components/mds-paginator.js +1 -1
- package/dist/components/mds-policy-ai.js +1 -1
- package/dist/components/mds-pref-animation.js +1 -1
- package/dist/components/mds-pref-consumption.js +1 -1
- package/dist/components/mds-pref-contrast.js +1 -1
- package/dist/components/mds-pref-language-item.js +1 -1
- package/dist/components/mds-pref-language.js +1 -1
- package/dist/components/mds-pref-mode.js +1 -1
- package/dist/components/mds-pref-theme-item.js +1 -1
- package/dist/components/mds-pref-theme.js +1 -1
- package/dist/components/mds-pref.js +1 -1
- package/dist/components/mds-price-table-features-cell.js +1 -1
- package/dist/components/mds-price-table-features-row.js +1 -1
- package/dist/components/mds-price-table-features.js +1 -1
- package/dist/components/mds-price-table-header.js +1 -1
- package/dist/components/mds-price-table-list-item.js +1 -1
- package/dist/components/mds-price-table-list.js +1 -1
- package/dist/components/mds-price-table.js +1 -1
- package/dist/components/mds-progress.js +1 -1
- package/dist/components/mds-push-notification-item.js +1 -1
- package/dist/components/mds-push-notification.js +1 -1
- package/dist/components/mds-quote.js +1 -1
- package/dist/components/mds-radial-menu-item.js +1 -1
- package/dist/components/mds-radial-menu.js +1 -1
- package/dist/components/mds-radial-progress.js +1 -1
- package/dist/components/mds-separator.js +1 -1
- package/dist/components/mds-spinner.js +1 -1
- package/dist/components/mds-status-bar.js +1 -1
- package/dist/components/mds-stepper-bar-item.js +1 -1
- package/dist/components/mds-stepper-bar.js +1 -1
- package/dist/components/mds-tab-bar-item.js +1 -1
- package/dist/components/mds-tab-bar.js +1 -1
- package/dist/components/mds-tab-item.js +1 -1
- package/dist/components/mds-tab.js +1 -1
- package/dist/components/mds-table-body.js +1 -1
- package/dist/components/mds-table-cell.js +1 -1
- package/dist/components/mds-table-footer.js +1 -1
- package/dist/components/mds-table-header-cell.js +1 -1
- package/dist/components/mds-table-header.js +1 -1
- package/dist/components/mds-table-row.js +1 -1
- package/dist/components/mds-table.js +1 -1
- package/dist/components/mds-text.js +1 -1
- package/dist/components/mds-toast-region.d.ts +11 -0
- package/dist/components/mds-toast-region.js +1 -0
- package/dist/components/mds-toast.js +1 -1
- package/dist/components/mds-tooltip.js +1 -1
- package/dist/components/mds-tree-item.js +1 -1
- package/dist/components/mds-tree.js +1 -1
- package/dist/components/mds-url-view.js +1 -1
- package/dist/components/mds-usage.js +1 -1
- package/dist/components/mds-video-wall.js +1 -1
- package/dist/components/mds-zero.js +1 -1
- package/dist/components/p-2gaGDQwL.js +1 -0
- package/dist/components/p-6pgPWpGI.js +1 -0
- package/dist/components/p-AFBkzOrP.js +1 -0
- package/dist/components/p-B1bYa-o0.js +1 -0
- package/dist/components/p-B2p5a1Y8.js +3 -0
- package/dist/components/p-B6B6q5kP.js +1 -0
- package/dist/components/{p--miH951G.js → p-B9dgiq4u.js} +1 -1
- package/dist/components/p-BFisF7aN.js +1 -0
- package/dist/components/p-BL220gRU.js +1 -0
- package/dist/components/p-BLiWCyrD.js +1 -0
- package/dist/components/p-BN5kmfLJ.js +8 -0
- package/dist/components/p-BUr3NqxM.js +1 -0
- package/dist/components/p-BaFfIZGB.js +1 -0
- package/dist/{magma-components/p-8yWTOQiz.js → components/p-Bg5E4Wnq.js} +1 -1
- package/dist/components/p-BjFCjSw6.js +1 -0
- package/dist/components/{p-zHpei4x6.js → p-BlnEiKN4.js} +1 -1
- package/dist/components/p-CGrPq3C4.js +1 -0
- package/dist/components/p-CIWWmisz.js +1 -0
- package/dist/components/p-CJyTL7Mj.js +1 -0
- package/dist/components/p-Cvhn9asj.js +1 -0
- package/dist/components/p-CylHulxe.js +1 -0
- package/dist/components/p-D3_jgpKd.js +1 -0
- package/dist/components/p-D4JiVIoh.js +1 -0
- package/dist/components/p-DACnmwad.js +1 -0
- package/dist/components/p-DGGk8PS_.js +1 -0
- package/dist/components/p-DSxDXNWp.js +1 -0
- package/dist/components/p-DWIIDHSa.js +1 -0
- package/dist/components/p-DYpfVn7a.js +1 -0
- package/dist/components/p-D_0rjNZp.js +1 -0
- package/dist/components/p-DaptTdaU.js +1 -0
- package/dist/components/{p-C7EyV0z3.js → p-DezdwzYQ.js} +1 -1
- package/dist/components/{p-s2Gu6hY7.js → p-DhIGZbIo.js} +1 -1
- package/dist/components/p-Didp833Z.js +1 -0
- package/dist/components/p-Dleapw-k.js +1 -0
- package/dist/components/p-JPhOaOXe.js +1 -0
- package/dist/components/p-NOw8-OrM.js +1 -0
- package/dist/components/p-NlPseOAv.js +1 -0
- package/dist/components/{p-Bv2IVRzI.js → p-cIZniMh0.js} +1 -1
- package/dist/components/p-fhAmrBfl.js +1 -0
- package/dist/components/p-sM-eFjwq.js +1 -0
- package/dist/components/p-wHQGpA62.js +1 -0
- package/dist/documentation.json +1503 -511
- package/dist/esm/_commonjsHelpers-B85MJLTf.js +5 -0
- package/dist/esm/aria-Cvhn9asj.js +53 -0
- package/dist/esm/{floating-controller-BTYkH_Ih.js → floating-controller-BV0E_Juq.js} +37 -14
- package/dist/esm/{floating-ui.dom-CHAGzQT-.js → floating-ui.dom-BaFfIZGB.js} +147 -209
- package/dist/esm/icon-B7RVWU-q.js +18 -0
- package/dist/esm/{index-BxPbQB28.js → index-CPRkNQdE.js} +125 -96
- package/dist/esm/{index-BhCZiGfL.js → index-DI_6NAg0.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/keyboard-manager-CGrPq3C4.js +73 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-CVJm6KFD.js → locale-DfpXg7qZ.js} +1 -1
- package/dist/esm/{locale.it-Cvxh7La5.js → locale.it-Diyps98n.js} +6 -1
- package/dist/esm/{datetime-BJtA1qmE.js → luxon-DbyXf6dF.js} +164 -64
- package/dist/esm/magma-components.js +4 -4
- package/dist/esm/mds-accordion-item.entry.js +3 -3
- package/dist/esm/mds-accordion-timer-item.entry.js +11 -10
- package/dist/esm/mds-accordion-timer.entry.js +17 -3
- package/dist/esm/mds-accordion.entry.js +37 -22
- package/dist/esm/mds-author.entry.js +2 -2
- package/dist/esm/mds-avatar-stack-item.entry.js +2 -2
- package/dist/esm/mds-avatar-stack.entry.js +11 -5
- package/dist/esm/mds-avatar.entry.js +58 -91
- package/dist/esm/mds-badge.entry.js +4 -4
- package/dist/esm/mds-banner_3.entry.js +51 -69
- package/dist/esm/mds-benchmark-bar.entry.js +6 -3
- package/dist/esm/mds-bibliography.entry.js +23 -17
- package/dist/esm/mds-breadcrumb-item.entry.js +9 -5
- package/dist/esm/mds-breadcrumb.entry.js +17 -33
- package/dist/esm/mds-button-dropdown.entry.js +41 -4
- package/dist/esm/mds-button-group.entry.js +2 -2
- package/dist/esm/mds-button_3.entry.js +96 -65
- package/dist/esm/mds-calendar_2.entry.js +101 -26
- package/dist/esm/mds-card-content.entry.js +2 -2
- package/dist/esm/mds-card-footer.entry.js +2 -2
- package/dist/esm/mds-card-header.entry.js +3 -3
- package/dist/esm/mds-card-media.entry.js +3 -3
- package/dist/esm/mds-card.entry.js +25 -16
- package/dist/esm/mds-details.entry.js +18 -8
- package/dist/esm/mds-dropdown.entry.js +31 -15
- package/dist/esm/mds-emoji.entry.js +192 -135
- package/dist/esm/mds-entity.entry.js +4 -4
- package/dist/esm/mds-file-preview.entry.js +30 -23
- package/dist/esm/mds-file.entry.js +52 -7525
- package/dist/esm/mds-filter-item.entry.js +81 -7
- package/dist/esm/mds-filter.entry.js +120 -22
- package/dist/esm/mds-header-bar.entry.js +38 -10
- package/dist/esm/mds-header.entry.js +9 -11
- package/dist/esm/mds-horizontal-scroll.entry.js +44 -13
- package/dist/esm/mds-hr.entry.js +3 -3
- package/dist/esm/mds-img.entry.js +39 -47
- package/dist/esm/mds-input-date-range-preselection.entry.js +16 -8
- package/dist/esm/mds-input-date-range.entry.js +25 -7
- package/dist/esm/mds-input-date.entry.js +43 -8
- package/dist/esm/mds-input-field.entry.js +3 -3
- package/dist/esm/mds-input-otp.entry.js +57 -22
- package/dist/esm/mds-input-range.entry.js +3 -3
- package/dist/esm/mds-input-select.entry.js +36 -9
- package/dist/esm/mds-input-switch_2.entry.js +27 -14
- package/dist/esm/mds-input-tip_2.entry.js +8 -7
- package/dist/esm/mds-input-upload.entry.js +1097 -15
- package/dist/esm/mds-input.entry.js +17 -8
- package/dist/esm/mds-keyboard-key.entry.js +4 -4
- package/dist/esm/mds-keyboard.entry.js +15 -7
- package/dist/esm/mds-kpi-item.entry.js +18 -4
- package/dist/esm/mds-kpi.entry.js +1 -1
- package/dist/esm/mds-label.entry.js +13 -30
- package/dist/esm/mds-list-item.entry.js +3 -4
- package/dist/esm/mds-list.entry.js +1 -1
- package/dist/esm/mds-mention.entry.js +7 -6
- package/dist/esm/mds-modal.entry.js +54 -10
- package/dist/esm/mds-note.entry.js +18 -14
- package/dist/esm/mds-notification.entry.js +72 -15
- package/dist/esm/mds-paginator-item.entry.js +23 -11
- package/dist/esm/mds-paginator.entry.js +39 -4
- package/dist/esm/mds-policy-ai.entry.js +5 -5
- package/dist/esm/mds-pref-animation.entry.js +42 -9
- package/dist/esm/mds-pref-consumption.entry.js +42 -9
- package/dist/esm/mds-pref-contrast.entry.js +45 -33
- package/dist/esm/mds-pref-language-item.entry.js +8 -8
- package/dist/esm/mds-pref-language.entry.js +44 -22
- package/dist/esm/mds-pref-mode.entry.js +29 -25
- package/dist/esm/mds-pref-theme-item.entry.js +6 -4
- package/dist/esm/mds-pref-theme.entry.js +137 -32
- package/dist/esm/mds-pref.entry.js +47 -59
- package/dist/esm/mds-price-table-features-cell.entry.js +4 -4
- package/dist/esm/mds-price-table-features-row.entry.js +4 -4
- package/dist/esm/mds-price-table-features.entry.js +4 -4
- package/dist/esm/mds-price-table-header.entry.js +2 -2
- package/dist/esm/mds-price-table-list-item.entry.js +3 -3
- package/dist/esm/mds-price-table-list.entry.js +14 -6
- package/dist/esm/mds-price-table.entry.js +2 -2
- package/dist/esm/mds-progress_2.entry.js +46 -33
- package/dist/esm/mds-push-notification-item.entry.js +13 -10
- package/dist/esm/mds-push-notification.entry.js +37 -14
- package/dist/esm/mds-quote.entry.js +4 -4
- package/dist/esm/mds-radial-menu-item.entry.js +3 -3
- package/dist/esm/mds-radial-menu.entry.js +81 -36
- package/dist/esm/mds-separator.entry.js +4 -4
- package/dist/esm/mds-status-bar.entry.js +8 -9
- package/dist/esm/mds-stepper-bar-item.entry.js +18 -6
- package/dist/esm/mds-stepper-bar.entry.js +9 -18
- package/dist/esm/mds-tab-bar-item.entry.js +25 -16
- package/dist/esm/mds-tab-bar.entry.js +12 -6
- package/dist/esm/mds-tab_2.entry.js +31 -12
- package/dist/esm/mds-table-body.entry.js +4 -4
- package/dist/esm/mds-table-footer.entry.js +13 -4
- package/dist/esm/mds-table-header-cell.entry.js +118 -79
- package/dist/esm/mds-table-header.entry.js +13 -5
- package/dist/esm/mds-table-row.entry.js +35 -11
- package/dist/esm/mds-table.entry.js +87 -23
- package/dist/esm/mds-text.entry.js +39 -29
- package/dist/esm/mds-toast-region.entry.js +117 -0
- package/dist/esm/mds-toast.entry.js +163 -33
- package/dist/esm/mds-tooltip.entry.js +84 -16
- package/dist/esm/mds-tree-item.entry.js +24 -10
- package/dist/esm/mds-tree.entry.js +37 -15
- package/dist/esm/mds-url-view.entry.js +6 -6
- package/dist/esm/mds-usage.entry.js +26 -7
- package/dist/esm/mds-video-wall.entry.js +5 -4
- package/dist/esm/mds-zero.entry.js +4 -4
- package/dist/esm/{preference-DNNqH7BU.js → preference-Ch1zJnqq.js} +1 -1
- package/dist/esm/{slot-C0o_l0td.js → slot-AEckDMXh.js} +15 -1
- package/dist/esm/string-6pgPWpGI.js +5 -0
- package/dist/esm-es5/_commonjsHelpers-B85MJLTf.js +1 -0
- package/dist/esm-es5/aria-Cvhn9asj.js +6 -0
- package/dist/esm-es5/{floating-controller-BTYkH_Ih.js → floating-controller-BV0E_Juq.js} +22 -7
- package/dist/esm-es5/{floating-ui.dom-CHAGzQT-.js → floating-ui.dom-BaFfIZGB.js} +69 -60
- package/dist/esm-es5/icon-B7RVWU-q.js +4 -0
- package/dist/esm-es5/{index-BxPbQB28.js → index-CPRkNQdE.js} +75 -73
- package/dist/esm-es5/{index-BhCZiGfL.js → index-DI_6NAg0.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/keyboard-manager-CGrPq3C4.js +9 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{locale-CVJm6KFD.js → locale-DfpXg7qZ.js} +1 -1
- package/dist/esm-es5/locale.it-Diyps98n.js +11 -0
- package/dist/esm-es5/{datetime-BJtA1qmE.js → luxon-DbyXf6dF.js} +51 -20
- package/dist/esm-es5/magma-components.js +3 -3
- package/dist/esm-es5/mds-accordion-item.entry.js +2 -2
- package/dist/esm-es5/mds-accordion-timer-item.entry.js +7 -3
- package/dist/esm-es5/mds-accordion-timer.entry.js +12 -2
- package/dist/esm-es5/mds-accordion.entry.js +14 -2
- package/dist/esm-es5/mds-author.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack.entry.js +4 -1
- package/dist/esm-es5/mds-avatar.entry.js +19 -6
- package/dist/esm-es5/mds-badge.entry.js +1 -1
- package/dist/esm-es5/mds-banner_3.entry.js +19 -18
- package/dist/esm-es5/mds-benchmark-bar.entry.js +5 -2
- package/dist/esm-es5/mds-bibliography.entry.js +13 -2
- package/dist/esm-es5/mds-breadcrumb-item.entry.js +4 -1
- package/dist/esm-es5/mds-breadcrumb.entry.js +8 -2
- package/dist/esm-es5/mds-button-dropdown.entry.js +7 -4
- package/dist/esm-es5/mds-button-group.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +48 -12
- package/dist/esm-es5/mds-calendar_2.entry.js +21 -8
- package/dist/esm-es5/mds-card-content.entry.js +1 -1
- package/dist/esm-es5/mds-card-footer.entry.js +1 -1
- package/dist/esm-es5/mds-card-header.entry.js +1 -1
- package/dist/esm-es5/mds-card-media.entry.js +1 -1
- package/dist/esm-es5/mds-card.entry.js +11 -5
- package/dist/esm-es5/mds-details.entry.js +7 -2
- package/dist/esm-es5/mds-dropdown.entry.js +28 -19
- package/dist/esm-es5/mds-emoji.entry.js +334 -302
- package/dist/esm-es5/mds-entity.entry.js +1 -1
- package/dist/esm-es5/mds-file-preview.entry.js +15 -13
- package/dist/esm-es5/mds-file.entry.js +22 -2835
- package/dist/esm-es5/mds-filter-item.entry.js +13 -1
- package/dist/esm-es5/mds-filter.entry.js +22 -2
- package/dist/esm-es5/mds-header-bar.entry.js +7 -5
- package/dist/esm-es5/mds-header.entry.js +10 -7
- package/dist/esm-es5/mds-horizontal-scroll.entry.js +16 -13
- package/dist/esm-es5/mds-hr.entry.js +1 -1
- package/dist/esm-es5/mds-img.entry.js +17 -11
- package/dist/esm-es5/mds-input-date-range-preselection.entry.js +6 -1
- package/dist/esm-es5/mds-input-date-range.entry.js +20 -11
- package/dist/esm-es5/mds-input-date.entry.js +11 -3
- package/dist/esm-es5/mds-input-field.entry.js +2 -2
- package/dist/esm-es5/mds-input-otp.entry.js +16 -6
- package/dist/esm-es5/mds-input-range.entry.js +7 -7
- package/dist/esm-es5/mds-input-select.entry.js +14 -5
- package/dist/esm-es5/mds-input-switch_2.entry.js +17 -9
- package/dist/esm-es5/mds-input-tip_2.entry.js +4 -3
- package/dist/esm-es5/mds-input-upload.entry.js +5 -3
- package/dist/esm-es5/mds-input.entry.js +30 -25
- package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
- package/dist/esm-es5/mds-keyboard.entry.js +7 -3
- package/dist/esm-es5/mds-kpi-item.entry.js +7 -2
- package/dist/esm-es5/mds-kpi.entry.js +1 -1
- package/dist/esm-es5/mds-label.entry.js +2 -2
- package/dist/esm-es5/mds-list-item.entry.js +2 -2
- package/dist/esm-es5/mds-list.entry.js +1 -1
- package/dist/esm-es5/mds-mention.entry.js +4 -3
- package/dist/esm-es5/mds-modal.entry.js +20 -8
- package/dist/esm-es5/mds-note.entry.js +5 -2
- package/dist/esm-es5/mds-notification.entry.js +24 -4
- package/dist/esm-es5/mds-paginator-item.entry.js +8 -1
- package/dist/esm-es5/mds-paginator.entry.js +3 -3
- package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
- package/dist/esm-es5/mds-pref-animation.entry.js +14 -4
- package/dist/esm-es5/mds-pref-consumption.entry.js +14 -4
- package/dist/esm-es5/mds-pref-contrast.entry.js +14 -7
- package/dist/esm-es5/mds-pref-language-item.entry.js +5 -5
- package/dist/esm-es5/mds-pref-language.entry.js +20 -6
- package/dist/esm-es5/mds-pref-mode.entry.js +10 -3
- package/dist/esm-es5/mds-pref-theme-item.entry.js +4 -3
- package/dist/esm-es5/mds-pref-theme.entry.js +46 -11
- package/dist/esm-es5/mds-pref.entry.js +21 -6
- package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
- package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-list-item.entry.js +2 -2
- package/dist/esm-es5/mds-price-table-list.entry.js +5 -1
- package/dist/esm-es5/mds-price-table.entry.js +1 -1
- package/dist/esm-es5/mds-progress_2.entry.js +18 -3
- package/dist/esm-es5/mds-push-notification-item.entry.js +7 -3
- package/dist/esm-es5/mds-push-notification.entry.js +9 -12
- package/dist/esm-es5/mds-quote.entry.js +2 -2
- package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
- package/dist/esm-es5/mds-radial-menu.entry.js +8 -11
- package/dist/esm-es5/mds-separator.entry.js +1 -1
- package/dist/esm-es5/mds-status-bar.entry.js +5 -3
- package/dist/esm-es5/mds-stepper-bar-item.entry.js +9 -3
- package/dist/esm-es5/mds-stepper-bar.entry.js +10 -5
- package/dist/esm-es5/mds-tab-bar-item.entry.js +10 -3
- package/dist/esm-es5/mds-tab-bar.entry.js +5 -1
- package/dist/esm-es5/mds-tab_2.entry.js +16 -4
- package/dist/esm-es5/mds-table-body.entry.js +1 -1
- package/dist/esm-es5/mds-table-footer.entry.js +4 -1
- package/dist/esm-es5/mds-table-header-cell.entry.js +22 -3
- package/dist/esm-es5/mds-table-header.entry.js +10 -5
- package/dist/esm-es5/mds-table-row.entry.js +12 -6
- package/dist/esm-es5/mds-table.entry.js +38 -7
- package/dist/esm-es5/mds-text.entry.js +26 -8
- package/dist/esm-es5/mds-toast-region.entry.js +22 -0
- package/dist/esm-es5/mds-toast.entry.js +42 -5
- package/dist/esm-es5/mds-tooltip.entry.js +21 -6
- package/dist/esm-es5/mds-tree-item.entry.js +15 -4
- package/dist/esm-es5/mds-tree.entry.js +16 -3
- package/dist/esm-es5/mds-url-view.entry.js +2 -2
- package/dist/esm-es5/mds-usage.entry.js +9 -3
- package/dist/esm-es5/mds-video-wall.entry.js +2 -2
- package/dist/esm-es5/mds-zero.entry.js +1 -1
- package/dist/esm-es5/{preference-DNNqH7BU.js → preference-Ch1zJnqq.js} +4 -4
- package/dist/esm-es5/slot-AEckDMXh.js +30 -0
- package/dist/esm-es5/string-6pgPWpGI.js +2 -0
- package/dist/hydrate/index.js +5339 -9639
- package/dist/hydrate/index.mjs +5339 -9639
- package/dist/magma-components/index.esm.js +1 -1
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/magma-components.js +1 -1
- package/dist/magma-components/p-007968a8.system.entry.js +47 -0
- package/dist/magma-components/p-028f3717.entry.js +1 -0
- package/dist/magma-components/p-0727d8f9.entry.js +1 -0
- package/dist/magma-components/p-0b5fe949.entry.js +1 -0
- package/dist/magma-components/p-0b7a884e.system.entry.js +29 -0
- package/dist/magma-components/p-0bcf3bb6.entry.js +1 -0
- package/dist/magma-components/{p-a0d9e01f.system.entry.js → p-0c9bdfff.system.entry.js} +1 -1
- package/dist/magma-components/p-0dd4b006.entry.js +1 -0
- package/dist/magma-components/p-0f47fd37.system.entry.js +16 -0
- package/dist/magma-components/p-11e50140.system.entry.js +19 -0
- package/dist/magma-components/p-11feeebf.system.entry.js +4 -0
- package/dist/magma-components/p-1287fb51.entry.js +1 -0
- package/dist/magma-components/p-12a2f8e2.system.entry.js +13 -0
- package/dist/magma-components/p-14b40c21.entry.js +1 -0
- package/dist/magma-components/p-166c0190.entry.js +1 -0
- package/dist/magma-components/p-176e6d9d.system.entry.js +4 -0
- package/dist/magma-components/{p-91451e37.system.entry.js → p-1809e47d.system.entry.js} +455 -422
- package/dist/magma-components/p-1989c0b4.entry.js +8 -0
- package/dist/magma-components/p-1a5411a8.entry.js +1 -0
- package/dist/magma-components/p-1f5cd2b5.entry.js +1 -0
- package/dist/magma-components/p-1f9ebc0d.entry.js +1 -0
- package/dist/magma-components/p-1fe66383.system.entry.js +1 -0
- package/dist/magma-components/p-20469b7a.system.entry.js +1 -0
- package/dist/magma-components/p-20608f69.system.entry.js +35 -0
- package/dist/magma-components/p-2061e567.entry.js +1 -0
- package/dist/magma-components/p-21c2d7bd.entry.js +1 -0
- package/dist/magma-components/p-21fe0fef.system.entry.js +14 -0
- package/dist/magma-components/p-2294945a.system.entry.js +34 -0
- package/dist/magma-components/p-2362b91a.entry.js +1 -0
- package/dist/magma-components/p-23bf1afa.system.entry.js +27 -0
- package/dist/magma-components/{p-c48e3460.entry.js → p-23ce0824.entry.js} +1 -1
- package/dist/magma-components/p-25576b51.system.entry.js +14 -0
- package/dist/magma-components/p-288f3cfe.entry.js +1 -0
- package/dist/magma-components/p-29d4605e.system.entry.js +10 -0
- package/dist/magma-components/p-2a2b7c43.entry.js +1 -0
- package/dist/magma-components/p-2aab3752.entry.js +1 -0
- package/dist/magma-components/p-2abfc393.entry.js +1 -0
- package/dist/magma-components/p-2c4d2717.entry.js +1 -0
- package/dist/magma-components/p-2d7d9e4f.entry.js +1 -0
- package/dist/magma-components/p-2f3c6105.entry.js +1 -0
- package/dist/magma-components/p-3093af30.system.entry.js +4 -0
- package/dist/magma-components/p-32bfb09c.entry.js +1 -0
- package/dist/magma-components/p-342770d2.system.entry.js +7 -0
- package/dist/magma-components/p-36ad5759.system.entry.js +10 -0
- package/dist/magma-components/p-3725c2c1.entry.js +1 -0
- package/dist/magma-components/p-37b801d0.system.entry.js +22 -0
- package/dist/magma-components/p-3871807a.entry.js +1 -0
- package/dist/magma-components/p-38a9e862.entry.js +1 -0
- package/dist/magma-components/p-3a88fc9b.system.entry.js +1 -0
- package/dist/magma-components/p-3ac09ace.entry.js +1 -0
- package/dist/magma-components/p-3b36319a.entry.js +1 -0
- package/dist/magma-components/p-3ba5ddae.entry.js +1 -0
- package/dist/magma-components/p-3bb26611.entry.js +1 -0
- package/dist/magma-components/p-3e1b21bd.entry.js +1 -0
- package/dist/magma-components/p-3eaeb263.system.entry.js +25 -0
- package/dist/magma-components/p-3fb98529.system.entry.js +28 -0
- package/dist/magma-components/p-4116e328.system.entry.js +1 -0
- package/dist/magma-components/p-4191bf22.entry.js +1 -0
- package/dist/magma-components/p-4225484c.entry.js +1 -0
- package/dist/magma-components/p-4260da67.system.entry.js +12 -0
- package/dist/magma-components/p-43338a07.entry.js +1 -0
- package/dist/magma-components/p-4582aa3e.system.entry.js +16 -0
- package/dist/magma-components/p-47f7366c.entry.js +1 -0
- package/dist/magma-components/p-495a70e2.entry.js +1 -0
- package/dist/magma-components/p-4a051ef5.system.entry.js +46 -0
- package/dist/magma-components/p-4c2dad1e.system.entry.js +81 -0
- package/dist/magma-components/p-4d079b1a.system.entry.js +26 -0
- package/dist/magma-components/p-4ea00c22.entry.js +1 -0
- package/dist/magma-components/p-4f24ccf3.entry.js +1 -0
- package/dist/magma-components/{p-f3dbebdd.system.entry.js → p-4fdda209.system.entry.js} +26 -8
- package/dist/magma-components/p-505fb7d4.entry.js +1 -0
- package/dist/magma-components/p-51a869ee.entry.js +1 -0
- package/dist/magma-components/p-5219eba6.system.entry.js +4 -0
- package/dist/magma-components/p-52a85b97.system.entry.js +9 -0
- package/dist/magma-components/p-52d5d104.system.entry.js +17 -0
- package/dist/magma-components/p-53bcfdbb.entry.js +1 -0
- package/dist/magma-components/p-5439125d.system.entry.js +10 -0
- package/dist/magma-components/p-547f657e.system.entry.js +91 -0
- package/dist/magma-components/p-5a2deba5.entry.js +1 -0
- package/dist/magma-components/p-5b21eb78.entry.js +1 -0
- package/dist/magma-components/p-5d9b1fe5.entry.js +1 -0
- package/dist/magma-components/p-5ea3be82.system.entry.js +23 -0
- package/dist/magma-components/{p-BPNsbMrg.system.js → p-5vJawLPw.system.js} +29 -14
- package/dist/magma-components/p-62e65f3b.entry.js +1 -0
- package/dist/magma-components/p-648ec03b.system.entry.js +73 -0
- package/dist/magma-components/p-69b37755.system.entry.js +17 -0
- package/dist/magma-components/p-6b01ef3b.entry.js +1 -0
- package/dist/magma-components/p-6b2fff4b.system.entry.js +11 -0
- package/dist/magma-components/p-6bc4114c.system.entry.js +19 -0
- package/dist/magma-components/p-6c91b00d.system.entry.js +22 -0
- package/dist/magma-components/p-6da68fd5.entry.js +1 -0
- package/dist/magma-components/p-6ebbcd7b.system.entry.js +14 -0
- package/dist/magma-components/p-6pgPWpGI.js +1 -0
- package/dist/magma-components/p-70a911e8.entry.js +1 -0
- package/dist/magma-components/p-70f5536c.system.entry.js +15 -0
- package/dist/magma-components/{p-61bedbe7.system.entry.js → p-721b625a.system.entry.js} +17 -8
- package/dist/magma-components/p-72cc4977.system.entry.js +21 -0
- package/dist/magma-components/p-7497b39d.system.entry.js +7 -0
- package/dist/magma-components/p-765ff9a3.system.entry.js +98 -0
- package/dist/magma-components/p-7a568cbf.entry.js +1 -0
- package/dist/magma-components/p-7d548a19.entry.js +1 -0
- package/dist/magma-components/p-7f776dff.entry.js +1 -0
- package/dist/magma-components/p-8059aa67.system.entry.js +17 -0
- package/dist/magma-components/p-811272a9.entry.js +1 -0
- package/dist/magma-components/p-87b15008.entry.js +1 -0
- package/dist/magma-components/p-88ac5d50.entry.js +1 -0
- package/dist/magma-components/p-88be542e.system.entry.js +7 -0
- package/dist/magma-components/{p-7c940015.system.entry.js → p-890bae38.system.entry.js} +1 -1
- package/dist/magma-components/p-8a4a2b5a.entry.js +1 -0
- package/dist/magma-components/p-8b081ba9.entry.js +1 -0
- package/dist/magma-components/{p-0a9fb138.system.entry.js → p-8ba250d6.system.entry.js} +1 -1
- package/dist/magma-components/p-8d8c9c90.entry.js +1 -0
- package/dist/magma-components/p-8e08ae08.system.entry.js +94 -0
- package/dist/magma-components/p-8f5f2dfe.system.entry.js +19 -0
- package/dist/magma-components/p-90fe332f.entry.js +1 -0
- package/dist/magma-components/p-911dc847.entry.js +1 -0
- package/dist/magma-components/p-916a26e4.entry.js +1 -0
- package/dist/magma-components/p-926ef760.entry.js +1 -0
- package/dist/magma-components/p-93d8b236.system.entry.js +10 -0
- package/dist/magma-components/p-95328cc7.system.entry.js +17 -0
- package/dist/magma-components/p-95486c6a.system.entry.js +5 -0
- package/dist/magma-components/{p-3a1a6945.entry.js → p-96f973e3.entry.js} +1 -1
- package/dist/magma-components/p-972ff8a9.entry.js +18 -0
- package/dist/magma-components/p-9a28bd8d.system.entry.js +20 -0
- package/dist/magma-components/p-9bdca8b4.entry.js +1 -0
- package/dist/magma-components/p-9caf411a.system.entry.js +13 -0
- package/dist/magma-components/p-9e4e1a86.system.entry.js +111 -0
- package/dist/magma-components/{p-3f05ec8a.entry.js → p-9e7d02e5.entry.js} +1 -1
- package/dist/magma-components/p-AEckDMXh.js +1 -0
- package/dist/magma-components/p-B7RVWU-q.js +1 -0
- package/dist/magma-components/p-B85MJLTf.js +1 -0
- package/dist/magma-components/{p-CKfEQ187.system.js → p-BHS0WXNt.system.js} +1 -1
- package/dist/magma-components/p-BaFfIZGB.js +1 -0
- package/dist/magma-components/{p-RJ5ZA1kY.system.js → p-BeNKMPXR.system.js} +9 -2
- package/dist/magma-components/{p-Kv1yahtR.js → p-BmT_DEV2.js} +2 -2
- package/dist/magma-components/{p-BTF_aRDG.system.js → p-C1ailvfu.system.js} +28 -28
- package/dist/magma-components/{p-7-TP6wnI.js → p-C25F_FlB.js} +1 -1
- package/dist/magma-components/p-CDjzBTsk.js +1 -0
- package/dist/magma-components/p-CGrPq3C4.js +1 -0
- package/dist/magma-components/p-CPRkNQdE.js +3 -0
- package/dist/magma-components/{p-DaONbL_w.system.js → p-CmzGV0XD.system.js} +44 -44
- package/dist/magma-components/p-Cvhn9asj.js +1 -0
- package/dist/magma-components/p-D6-Ny6z1.system.js +1 -0
- package/dist/magma-components/{p-hVpoPUxI.system.js → p-D8596ytD.system.js} +8 -8
- package/dist/magma-components/p-D9J8lbUv.system.js +9 -0
- package/dist/magma-components/p-DAifcgtS.system.js +4 -0
- package/dist/magma-components/p-DbyXf6dF.js +1 -0
- package/dist/magma-components/p-JuViHg2B.system.js +11 -0
- package/dist/magma-components/{p-CdsZyFQ-.system.js → p-LUd56iG_.system.js} +1 -1
- package/dist/magma-components/p-QYez4sql.system.js +5 -0
- package/dist/magma-components/{p-BJKToXNf.system.js → p-WSL9tMdv.system.js} +81 -50
- package/dist/magma-components/p-ZaZnuNvg.js +1 -0
- package/dist/magma-components/{p-876a5fb9.system.entry.js → p-a08d20c2.system.entry.js} +1 -1
- package/dist/magma-components/p-a136e6fe.system.entry.js +6 -0
- package/dist/magma-components/p-a1443292.entry.js +1 -0
- package/dist/magma-components/p-a1ca2441.system.entry.js +22 -0
- package/dist/magma-components/{p-f8da21a1.system.entry.js → p-a2d10402.system.entry.js} +1 -1
- package/dist/magma-components/p-a2ec6eac.entry.js +1 -0
- package/dist/magma-components/{p-d5e53364.system.entry.js → p-a40443ca.system.entry.js} +1 -1
- package/dist/magma-components/p-a47a9f11.system.entry.js +1 -0
- package/dist/magma-components/p-a4f46de1.system.entry.js +24 -0
- package/dist/magma-components/p-a51f849a.entry.js +1 -0
- package/dist/magma-components/p-a53f6a94.system.entry.js +5 -0
- package/dist/magma-components/p-a61623f9.system.entry.js +52 -0
- package/dist/magma-components/p-a6fe6b4c.system.entry.js +1 -0
- package/dist/magma-components/p-a7bad4e8.entry.js +1 -0
- package/dist/magma-components/p-a8593847.entry.js +1 -0
- package/dist/magma-components/p-aa8653b1.system.entry.js +13 -0
- package/dist/magma-components/p-ac4109e3.entry.js +1 -0
- package/dist/magma-components/{p-bba04b08.system.entry.js → p-af704402.system.entry.js} +5 -2
- package/dist/magma-components/p-b36d54e1.system.entry.js +41 -0
- package/dist/magma-components/p-b40ef7ab.system.entry.js +23 -0
- package/dist/magma-components/p-b48fc62e.entry.js +1 -0
- package/dist/magma-components/p-b509fb36.entry.js +1 -0
- package/dist/magma-components/{p-f65e29e0.system.entry.js → p-b514bd3a.system.entry.js} +1 -1
- package/dist/magma-components/p-b58363e2.system.entry.js +31 -0
- package/dist/magma-components/{p-a9e4efa3.entry.js → p-b62bbd07.entry.js} +1 -1
- package/dist/magma-components/p-b6b7dc40.entry.js +1 -0
- package/dist/magma-components/p-b728638c.system.entry.js +46 -0
- package/dist/magma-components/p-b919ce62.entry.js +1 -0
- package/dist/magma-components/{p-c4beed1b.entry.js → p-b940888d.entry.js} +1 -1
- package/dist/magma-components/p-b9e0b31d.entry.js +1 -0
- package/dist/magma-components/p-bba4c7eb.entry.js +1 -0
- package/dist/magma-components/p-bc30508b.entry.js +1 -0
- package/dist/magma-components/p-be32b7a9.system.entry.js +13 -0
- package/dist/magma-components/p-be741e35.entry.js +1 -0
- package/dist/magma-components/p-c1d8a25e.entry.js +1 -0
- package/dist/magma-components/p-c3622315.entry.js +1 -0
- package/dist/magma-components/p-c4286fb7.system.entry.js +1 -0
- package/dist/magma-components/p-c6db7a0f.system.entry.js +22 -0
- package/dist/magma-components/p-c89c2e30.entry.js +1 -0
- package/dist/magma-components/p-ca8e0927.system.entry.js +7 -0
- package/dist/magma-components/p-cc0cb701.entry.js +1 -0
- package/dist/magma-components/{p-dcf841d5.entry.js → p-cc109576.entry.js} +1 -1
- package/dist/magma-components/p-cc88c963.system.entry.js +1 -0
- package/dist/magma-components/p-ce2ef293.system.entry.js +48 -0
- package/dist/magma-components/p-d0c0c195.entry.js +1 -0
- package/dist/magma-components/p-d0f257d9.system.entry.js +80 -0
- package/dist/magma-components/p-d3678561.system.entry.js +35 -0
- package/dist/magma-components/p-d8d87750.system.entry.js +21 -0
- package/dist/magma-components/p-d9551916.system.entry.js +222 -0
- package/dist/magma-components/p-da532544.system.entry.js +25 -0
- package/dist/magma-components/p-da6cf595.system.entry.js +7 -0
- package/dist/magma-components/p-da9afc4b.system.entry.js +8 -0
- package/dist/magma-components/p-daf9c8ca.system.entry.js +4 -0
- package/dist/magma-components/p-db75bf05.system.entry.js +49 -0
- package/dist/magma-components/p-dba5a6da.entry.js +1 -0
- package/dist/magma-components/p-dbb82d72.system.entry.js +54 -0
- package/dist/magma-components/p-dbf69d54.system.entry.js +5 -0
- package/dist/magma-components/p-dc3ef031.system.entry.js +27 -0
- package/dist/magma-components/p-dd8fb2f8.system.entry.js +105 -0
- package/dist/magma-components/p-dfbecf72.system.entry.js +11 -0
- package/dist/magma-components/p-e032e77f.system.entry.js +1 -0
- package/dist/magma-components/p-e15a874b.entry.js +1 -0
- package/dist/magma-components/p-e471decd.system.entry.js +32 -0
- package/dist/magma-components/p-e49818c4.entry.js +1 -0
- package/dist/magma-components/p-e5ab1f4f.entry.js +1 -0
- package/dist/magma-components/p-e6ed6e12.entry.js +1 -0
- package/dist/magma-components/{p-ad09a06b.entry.js → p-e8b9d639.entry.js} +1 -1
- package/dist/magma-components/p-e954b5c5.entry.js +1 -0
- package/dist/magma-components/p-eba7cfb3.entry.js +1 -0
- package/dist/magma-components/{p-8c93550d.entry.js → p-ecb87d38.entry.js} +1 -1
- package/dist/magma-components/p-eebf450c.system.entry.js +4 -0
- package/dist/magma-components/p-ef4d07ba.entry.js +1 -0
- package/dist/magma-components/p-f28e048b.system.entry.js +55 -0
- package/dist/magma-components/p-f30cdd34.system.entry.js +1 -0
- package/dist/magma-components/p-f3763382.entry.js +1 -0
- package/dist/magma-components/p-f43379ef.entry.js +1 -0
- package/dist/magma-components/p-f454c06b.entry.js +1 -0
- package/dist/magma-components/p-f48843b7.system.entry.js +1 -0
- package/dist/magma-components/p-f5a08dca.system.entry.js +40 -0
- package/dist/magma-components/p-f7af41fb.system.entry.js +33 -0
- package/dist/magma-components/p-f7f6881a.entry.js +1 -0
- package/dist/magma-components/p-f88c202e.entry.js +1 -0
- package/dist/magma-components/{p-1cb495d3.entry.js → p-f9b5a5ec.entry.js} +1 -1
- package/dist/magma-components/p-fcaa81b3.entry.js +1 -0
- package/dist/magma-components/{p-dc399372.entry.js → p-fd53a51c.entry.js} +1 -1
- package/dist/magma-components/p-ff4276d3.system.entry.js +16 -0
- package/dist/magma-components/p-nFkaC8l_.system.js +210 -0
- package/dist/magma-components/p-pxyGaQ-P.system.js +2 -0
- package/dist/magma-components/p-sm_-_oFY.system.js +6 -0
- package/dist/{components/p-faViX-qz.js → magma-components/p-zQY2FlcD.js} +1 -1
- package/dist/stats.json +6762 -4706
- package/dist/types/common/aria.d.ts +8 -1
- package/dist/types/common/file.d.ts +5 -0
- package/dist/types/common/floating-controller.d.ts +16 -2
- package/dist/types/common/hash.d.ts +8 -0
- package/dist/types/common/keyboard-manager.d.ts +8 -1
- package/dist/types/common/slot.d.ts +9 -1
- package/dist/types/common/string.d.ts +3 -1
- package/dist/types/components/mds-accordion/mds-accordion.d.ts +8 -1
- package/dist/types/components/mds-accordion-timer/mds-accordion-timer.d.ts +6 -0
- package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +2 -1
- package/dist/types/components/mds-avatar/mds-avatar.d.ts +13 -9
- package/dist/types/components/mds-avatar-stack/mds-avatar-stack.d.ts +2 -1
- package/dist/types/components/mds-bibliography/mds-bibliography.d.ts +10 -2
- package/dist/types/components/mds-breadcrumb/mds-breadcrumb.d.ts +0 -3
- package/dist/types/components/mds-breadcrumb-item/mds-breadcrumb-item.d.ts +4 -1
- package/dist/types/components/mds-button/mds-button.d.ts +17 -1
- package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +8 -3
- package/dist/types/components/mds-calendar/mds-calendar.d.ts +8 -0
- package/dist/types/components/mds-calendar-cell/mds-calendar-cell.d.ts +4 -1
- package/dist/types/components/mds-card/mds-card.d.ts +8 -0
- package/dist/types/components/mds-card-media/mds-card-media.d.ts +1 -0
- package/dist/types/components/mds-chip/mds-chip.d.ts +7 -5
- package/dist/types/components/mds-details/mds-details.d.ts +3 -1
- package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +8 -3
- package/dist/types/components/mds-emoji/mds-emoji.d.ts +18 -10
- package/dist/types/components/mds-emoji/meta/gaze.d.ts +19 -0
- package/dist/types/components/mds-file/mds-file.d.ts +13 -2
- package/dist/types/components/mds-file-preview/mds-file-preview.d.ts +15 -4
- package/dist/types/components/mds-filter/mds-filter.d.ts +15 -0
- package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +16 -1
- package/dist/types/components/mds-header/mds-header.d.ts +7 -5
- package/dist/types/components/mds-header/meta/event-detail.d.ts +2 -1
- package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +4 -2
- package/dist/types/components/mds-help/mds-help.d.ts +5 -2
- package/dist/types/components/mds-horizontal-scroll/mds-horizontal-scroll.d.ts +2 -0
- package/dist/types/components/mds-icon/mds-icon.d.ts +5 -0
- package/dist/types/components/mds-img/mds-img.d.ts +24 -14
- package/dist/types/components/mds-input/mds-input.d.ts +30 -8
- package/dist/types/components/mds-input-date/mds-input-date.d.ts +12 -0
- package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +9 -0
- package/dist/types/components/mds-input-date-range-preselection/mds-input-date-range-preselection.d.ts +8 -1
- package/dist/types/components/mds-input-field/mds-input-field.d.ts +4 -1
- package/dist/types/components/mds-input-otp/mds-input-otp.d.ts +8 -0
- package/dist/types/components/mds-input-select/mds-input-select.d.ts +15 -2
- package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +8 -3
- package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +2 -1
- package/dist/types/components/mds-input-tip-item/meta/dictionary.d.ts +1 -2
- package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +3 -1
- package/dist/types/components/mds-kpi-item/mds-kpi-item.d.ts +7 -0
- package/dist/types/components/mds-label/mds-label.d.ts +0 -9
- package/dist/types/components/mds-list-item/mds-list-item.d.ts +2 -0
- package/dist/types/components/mds-mention/mds-mention.d.ts +2 -1
- package/dist/types/components/mds-modal/mds-modal.d.ts +5 -1
- package/dist/types/components/mds-note/mds-note.d.ts +1 -0
- package/dist/types/components/mds-notification/mds-notification.d.ts +25 -2
- package/dist/types/components/mds-paginator/mds-paginator.d.ts +1 -0
- package/dist/types/components/mds-paginator-item/mds-paginator-item.d.ts +7 -0
- package/dist/types/components/mds-policy-ai/mds-policy-ai.d.ts +2 -1
- package/dist/types/components/mds-pref/mds-pref.d.ts +11 -9
- package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +8 -0
- package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +8 -0
- package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +8 -2
- package/dist/types/components/mds-pref-language/mds-pref-language.d.ts +2 -2
- package/dist/types/components/mds-pref-language-item/mds-pref-language-item.d.ts +1 -0
- package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +6 -1
- package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +24 -2
- package/dist/types/components/mds-pref-theme-item/mds-pref-theme-item.d.ts +1 -0
- package/dist/types/components/mds-price-table-list/mds-price-table-list.d.ts +1 -0
- package/dist/types/components/mds-price-table-list-item/mds-price-table-list-item.d.ts +1 -0
- package/dist/types/components/mds-progress/mds-progress.d.ts +14 -4
- package/dist/types/components/mds-push-notification/mds-push-notification.d.ts +4 -9
- package/dist/types/components/mds-push-notification-item/mds-push-notification-item.d.ts +5 -2
- package/dist/types/components/mds-radial-menu/mds-radial-menu.d.ts +12 -5
- package/dist/types/components/mds-status-bar/mds-status-bar.d.ts +1 -2
- package/dist/types/components/mds-stepper-bar/mds-stepper-bar.d.ts +4 -3
- package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +10 -2
- package/dist/types/components/mds-tab/mds-tab.d.ts +8 -0
- package/dist/types/components/mds-tab-bar-item/mds-tab-bar-item.d.ts +4 -3
- package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +3 -0
- package/dist/types/components/mds-table/mds-table.d.ts +23 -3
- package/dist/types/components/mds-table/meta/type.d.ts +1 -0
- package/dist/types/components/mds-table-footer/mds-table-footer.d.ts +9 -1
- package/dist/types/components/mds-table-header/mds-table-header.d.ts +9 -1
- package/dist/types/components/mds-table-header-cell/mds-table-header-cell.d.ts +38 -14
- package/dist/types/components/mds-table-header-cell/meta/event-detail.d.ts +6 -0
- package/dist/types/components/mds-table-row/mds-table-row.d.ts +1 -0
- package/dist/types/components/mds-text/mds-text.d.ts +8 -4
- package/dist/types/components/mds-toast/mds-toast.d.ts +39 -8
- package/dist/types/components/mds-toast/meta/event-detail.d.ts +3 -0
- package/dist/types/components/mds-toast-region/mds-toast-region.d.ts +36 -0
- package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +32 -6
- package/dist/types/components/mds-tree/mds-tree.d.ts +12 -2
- package/dist/types/components/mds-tree-item/mds-tree-item.d.ts +7 -3
- package/dist/types/components/mds-url-view/mds-url-view.d.ts +2 -1
- package/dist/types/components/mds-usage/mds-usage.d.ts +8 -1
- package/dist/types/components/mds-usage/meta/variants.d.ts +7 -19
- package/dist/types/components.d.ts +376 -137
- package/dist/types/stencil-public-runtime.d.ts +61 -55
- package/dist/types/type/floating-ui.d.ts +2 -0
- package/dist/types/type/input.d.ts +3 -0
- package/package.json +30 -29
- package/dist/cjs/_commonjsHelpers-B83fTs8d.js +0 -36
- package/dist/cjs/browser-C1BdXKu5.js +0 -10
- package/dist/cjs/keyboard-manager-C_Eaxw-C.js +0 -52
- package/dist/collection/components/mds-avatar/meta/variants.js +0 -20
- package/dist/collection/dictionary/icon.js +0 -10
- package/dist/collection/type/icon.js +0 -1
- package/dist/components/p-B3Z2Goa-.js +0 -1
- package/dist/components/p-B3dWp2vS.js +0 -1
- package/dist/components/p-B6FOPjps.js +0 -1
- package/dist/components/p-B7CR1EtF.js +0 -1
- package/dist/components/p-BBPQjm8h.js +0 -1
- package/dist/components/p-BCiJ4PRD.js +0 -1
- package/dist/components/p-BHJDW5JC.js +0 -1
- package/dist/components/p-BSs0SO-j.js +0 -1
- package/dist/components/p-BTpjOy0A.js +0 -1
- package/dist/components/p-BY6Qu1V4.js +0 -1
- package/dist/components/p-BhmePCyA.js +0 -1
- package/dist/components/p-BpGzrg1C.js +0 -1
- package/dist/components/p-C-J9fW51.js +0 -1
- package/dist/components/p-CAa2kI72.js +0 -1
- package/dist/components/p-CBV19-8O.js +0 -1
- package/dist/components/p-CCv9tBZK.js +0 -1
- package/dist/components/p-CDf607TB.js +0 -1
- package/dist/components/p-CEMAGNly.js +0 -1
- package/dist/components/p-CGYDZBMv.js +0 -1
- package/dist/components/p-CHAGzQT-.js +0 -1
- package/dist/components/p-CHAvkoj3.js +0 -1
- package/dist/components/p-CMFUEkte.js +0 -1
- package/dist/components/p-CR2GGKXK.js +0 -1
- package/dist/components/p-CSCy6TMW.js +0 -1
- package/dist/components/p-Cb5kuO7B.js +0 -1
- package/dist/components/p-CiNNzAa3.js +0 -1
- package/dist/components/p-CsgCQiHG.js +0 -1
- package/dist/components/p-DGDdPv_Y.js +0 -1
- package/dist/components/p-D_wD-Pyk.js +0 -1
- package/dist/components/p-Dje8Mggf.js +0 -1
- package/dist/components/p-E-ZsRS8r.js +0 -1
- package/dist/components/p-HR2JwDjG.js +0 -1
- package/dist/components/p-KRu9I7dw.js +0 -1
- package/dist/components/p-LE7qQIFR.js +0 -8
- package/dist/components/p-pBvN1uAc.js +0 -3
- package/dist/components/p-vgIKH234.js +0 -1
- package/dist/esm/_commonjsHelpers-E-ZsRS8r.js +0 -32
- package/dist/esm/aria-CSCy6TMW.js +0 -45
- package/dist/esm/browser-Dje8Mggf.js +0 -8
- package/dist/esm/keyboard-manager-KRu9I7dw.js +0 -50
- package/dist/esm-es5/_commonjsHelpers-E-ZsRS8r.js +0 -1
- package/dist/esm-es5/aria-CSCy6TMW.js +0 -1
- package/dist/esm-es5/browser-Dje8Mggf.js +0 -1
- package/dist/esm-es5/keyboard-manager-KRu9I7dw.js +0 -5
- package/dist/esm-es5/locale.it-Cvxh7La5.js +0 -6
- package/dist/esm-es5/slot-C0o_l0td.js +0 -23
- package/dist/magma-components/p-019e8a95.system.entry.js +0 -13
- package/dist/magma-components/p-01dd1f55.entry.js +0 -1
- package/dist/magma-components/p-02119624.system.entry.js +0 -40
- package/dist/magma-components/p-02fc7592.entry.js +0 -1
- package/dist/magma-components/p-03cd0069.system.entry.js +0 -1
- package/dist/magma-components/p-05fbca60.system.entry.js +0 -37
- package/dist/magma-components/p-06d9af89.entry.js +0 -1
- package/dist/magma-components/p-07e4701d.entry.js +0 -1
- package/dist/magma-components/p-081a19b1.system.entry.js +0 -45
- package/dist/magma-components/p-09d0b6a8.entry.js +0 -1
- package/dist/magma-components/p-0b300de7.entry.js +0 -1
- package/dist/magma-components/p-0d3c3de9.entry.js +0 -1
- package/dist/magma-components/p-1150ffb8.system.entry.js +0 -10
- package/dist/magma-components/p-115a5e47.entry.js +0 -1
- package/dist/magma-components/p-1314d80e.entry.js +0 -1
- package/dist/magma-components/p-133a6ffd.system.entry.js +0 -49
- package/dist/magma-components/p-13db55de.entry.js +0 -1
- package/dist/magma-components/p-1a2731ec.system.entry.js +0 -10
- package/dist/magma-components/p-1a602906.system.entry.js +0 -13
- package/dist/magma-components/p-1c975156.entry.js +0 -1
- package/dist/magma-components/p-1d154234.system.entry.js +0 -12
- package/dist/magma-components/p-1d9d7666.entry.js +0 -1
- package/dist/magma-components/p-1ddaaa6d.system.entry.js +0 -217
- package/dist/magma-components/p-21aa0a74.entry.js +0 -1
- package/dist/magma-components/p-21c46e74.system.entry.js +0 -4
- package/dist/magma-components/p-2399b7e8.entry.js +0 -1
- package/dist/magma-components/p-25407d89.entry.js +0 -1
- package/dist/magma-components/p-27547a7a.system.entry.js +0 -7
- package/dist/magma-components/p-289a874e.entry.js +0 -1
- package/dist/magma-components/p-2be3bd23.system.entry.js +0 -1
- package/dist/magma-components/p-2c586431.entry.js +0 -1
- package/dist/magma-components/p-2d324edc.entry.js +0 -1
- package/dist/magma-components/p-2da2cdf3.system.entry.js +0 -7
- package/dist/magma-components/p-2e01e057.system.entry.js +0 -7
- package/dist/magma-components/p-2e9b80e8.entry.js +0 -1
- package/dist/magma-components/p-30c3872d.entry.js +0 -1
- package/dist/magma-components/p-3231a6a3.entry.js +0 -1
- package/dist/magma-components/p-32361702.system.entry.js +0 -7
- package/dist/magma-components/p-3448d0ce.entry.js +0 -1
- package/dist/magma-components/p-367cee40.system.entry.js +0 -1
- package/dist/magma-components/p-3a8870e4.system.entry.js +0 -47
- package/dist/magma-components/p-3b68fbcd.system.entry.js +0 -22
- package/dist/magma-components/p-3ecade3c.system.entry.js +0 -11
- package/dist/magma-components/p-4073c5f2.system.entry.js +0 -90
- package/dist/magma-components/p-40bd2e6d.entry.js +0 -1
- package/dist/magma-components/p-423597db.system.entry.js +0 -4
- package/dist/magma-components/p-443c2a29.system.entry.js +0 -10
- package/dist/magma-components/p-45a91f1c.system.entry.js +0 -1
- package/dist/magma-components/p-487af9d3.entry.js +0 -1
- package/dist/magma-components/p-4909070e.entry.js +0 -1
- package/dist/magma-components/p-4d966161.system.entry.js +0 -14
- package/dist/magma-components/p-4ddf891e.system.entry.js +0 -69
- package/dist/magma-components/p-4e15cde7.entry.js +0 -1
- package/dist/magma-components/p-4f14a166.entry.js +0 -1
- package/dist/magma-components/p-4ffec31a.system.entry.js +0 -1
- package/dist/magma-components/p-4oB0woT9.system.js +0 -6
- package/dist/magma-components/p-50b266e9.system.entry.js +0 -4
- package/dist/magma-components/p-5165b09f.system.entry.js +0 -4
- package/dist/magma-components/p-544cc9c7.system.entry.js +0 -25
- package/dist/magma-components/p-562bb482.system.entry.js +0 -16
- package/dist/magma-components/p-5ac9e2f4.entry.js +0 -1
- package/dist/magma-components/p-5ae5ec95.entry.js +0 -1
- package/dist/magma-components/p-5d2d8ffe.system.entry.js +0 -11
- package/dist/magma-components/p-5e180f53.system.entry.js +0 -32
- package/dist/magma-components/p-61ff1d85.system.entry.js +0 -1
- package/dist/magma-components/p-62b17608.system.entry.js +0 -102
- package/dist/magma-components/p-63e7c98f.entry.js +0 -1
- package/dist/magma-components/p-6474c850.entry.js +0 -8
- package/dist/magma-components/p-660657ac.system.entry.js +0 -15
- package/dist/magma-components/p-66237a64.entry.js +0 -1
- package/dist/magma-components/p-6702e489.entry.js +0 -1
- package/dist/magma-components/p-694ed534.entry.js +0 -1
- package/dist/magma-components/p-6b446fd9.system.entry.js +0 -81
- package/dist/magma-components/p-6c414bc2.system.entry.js +0 -19
- package/dist/magma-components/p-6cbd8a6d.system.entry.js +0 -12
- package/dist/magma-components/p-6d0dc1fd.entry.js +0 -1
- package/dist/magma-components/p-6ed05d99.entry.js +0 -1
- package/dist/magma-components/p-6f2471b1.entry.js +0 -1
- package/dist/magma-components/p-6fa03aab.system.entry.js +0 -7
- package/dist/magma-components/p-70141ccd.entry.js +0 -1
- package/dist/magma-components/p-707d8626.system.entry.js +0 -2838
- package/dist/magma-components/p-71dafc3f.entry.js +0 -1
- package/dist/magma-components/p-726209f4.system.entry.js +0 -1
- package/dist/magma-components/p-745ee76b.system.entry.js +0 -32
- package/dist/magma-components/p-761415b3.system.entry.js +0 -37
- package/dist/magma-components/p-771720b7.entry.js +0 -18
- package/dist/magma-components/p-7a7c308b.entry.js +0 -1
- package/dist/magma-components/p-7bea6c05.system.entry.js +0 -10
- package/dist/magma-components/p-7ca990d4.system.entry.js +0 -11
- package/dist/magma-components/p-7d6ca97d.system.entry.js +0 -7
- package/dist/magma-components/p-7ffda4f5.entry.js +0 -1
- package/dist/magma-components/p-8097dfc8.system.entry.js +0 -7
- package/dist/magma-components/p-809adece.system.entry.js +0 -17
- package/dist/magma-components/p-843ab1b4.entry.js +0 -1
- package/dist/magma-components/p-87026d34.entry.js +0 -1
- package/dist/magma-components/p-8765dc11.entry.js +0 -1
- package/dist/magma-components/p-87faaa8e.system.entry.js +0 -16
- package/dist/magma-components/p-8a838a1a.entry.js +0 -1
- package/dist/magma-components/p-8bcb2a5f.entry.js +0 -1
- package/dist/magma-components/p-8ca1d30d.system.entry.js +0 -1
- package/dist/magma-components/p-91c4015f.system.entry.js +0 -4
- package/dist/magma-components/p-91c8960a.system.entry.js +0 -1
- package/dist/magma-components/p-932620b6.entry.js +0 -1
- package/dist/magma-components/p-939da879.system.entry.js +0 -8
- package/dist/magma-components/p-97bde480.entry.js +0 -1
- package/dist/magma-components/p-97d02403.entry.js +0 -1
- package/dist/magma-components/p-983f3e40.entry.js +0 -1
- package/dist/magma-components/p-99227c78.system.entry.js +0 -11
- package/dist/magma-components/p-9a583f6b.system.entry.js +0 -1
- package/dist/magma-components/p-9a86e0ce.system.entry.js +0 -1
- package/dist/magma-components/p-9d1cdb42.system.entry.js +0 -15
- package/dist/magma-components/p-9e5982b6.entry.js +0 -1
- package/dist/magma-components/p-9eb1e154.system.entry.js +0 -14
- package/dist/magma-components/p-9eef2f79.entry.js +0 -1
- package/dist/magma-components/p-9fe14430.system.entry.js +0 -7
- package/dist/magma-components/p-9fe7035a.entry.js +0 -1
- package/dist/magma-components/p-B6mQg6yQ.js +0 -1
- package/dist/magma-components/p-BJtA1qmE.js +0 -1
- package/dist/magma-components/p-BpVYIPkx.js +0 -1
- package/dist/magma-components/p-BxPbQB28.js +0 -3
- package/dist/magma-components/p-C0o_l0td.js +0 -1
- package/dist/magma-components/p-CHAGzQT-.js +0 -1
- package/dist/magma-components/p-CSCy6TMW.js +0 -1
- package/dist/magma-components/p-CYRMc5KW.system.js +0 -1
- package/dist/magma-components/p-DIUTGDX_.system.js +0 -1
- package/dist/magma-components/p-Dg8nxRUX.system.js +0 -201
- package/dist/magma-components/p-Dje8Mggf.js +0 -1
- package/dist/magma-components/p-E-ZsRS8r.js +0 -1
- package/dist/magma-components/p-KRu9I7dw.js +0 -1
- package/dist/magma-components/p-LerCJgfP.system.js +0 -5
- package/dist/magma-components/p-ZDRIVCAt.system.js +0 -5
- package/dist/magma-components/p-a0972ec9.entry.js +0 -1
- package/dist/magma-components/p-a1851e6f.entry.js +0 -1
- package/dist/magma-components/p-a1b5bd58.entry.js +0 -1
- package/dist/magma-components/p-a2d9549d.system.entry.js +0 -32
- package/dist/magma-components/p-a5a13b20.entry.js +0 -1
- package/dist/magma-components/p-a6a71c77.entry.js +0 -1
- package/dist/magma-components/p-a96312c1.entry.js +0 -1
- package/dist/magma-components/p-aa0bd826.entry.js +0 -1
- package/dist/magma-components/p-aa74169f.system.entry.js +0 -1
- package/dist/magma-components/p-ab4ffbd4.system.entry.js +0 -68
- package/dist/magma-components/p-ad9cb1f5.entry.js +0 -1
- package/dist/magma-components/p-aed8b119.entry.js +0 -1
- package/dist/magma-components/p-afbef2fc.entry.js +0 -1
- package/dist/magma-components/p-b183d698.system.entry.js +0 -16
- package/dist/magma-components/p-b49196da.entry.js +0 -1
- package/dist/magma-components/p-b77a2832.entry.js +0 -1
- package/dist/magma-components/p-b925c109.system.entry.js +0 -14
- package/dist/magma-components/p-b9e3281a.system.entry.js +0 -72
- package/dist/magma-components/p-bb0538b6.entry.js +0 -1
- package/dist/magma-components/p-bb055583.entry.js +0 -1
- package/dist/magma-components/p-bc6a41a9.system.entry.js +0 -1
- package/dist/magma-components/p-bd9324f3.system.entry.js +0 -1
- package/dist/magma-components/p-c4ccb710.entry.js +0 -1
- package/dist/magma-components/p-c4e4ba90.system.entry.js +0 -38
- package/dist/magma-components/p-c573e136.entry.js +0 -1
- package/dist/magma-components/p-c5ad848f.entry.js +0 -1
- package/dist/magma-components/p-c6841b21.entry.js +0 -1
- package/dist/magma-components/p-c89a44b2.entry.js +0 -1
- package/dist/magma-components/p-c94575de.entry.js +0 -1
- package/dist/magma-components/p-cabe9133.system.entry.js +0 -4
- package/dist/magma-components/p-cb2c5f1b.entry.js +0 -1
- package/dist/magma-components/p-cb571b55.system.entry.js +0 -1
- package/dist/magma-components/p-cbc0f01f.system.entry.js +0 -17
- package/dist/magma-components/p-cc1ee10a.system.entry.js +0 -20
- package/dist/magma-components/p-cd1dc29a.entry.js +0 -1
- package/dist/magma-components/p-cd5cf28b.system.entry.js +0 -1
- package/dist/magma-components/p-cd952369.entry.js +0 -1
- package/dist/magma-components/p-d35aebe5.entry.js +0 -1
- package/dist/magma-components/p-d74fa7af.entry.js +0 -1
- package/dist/magma-components/p-d7515aae.entry.js +0 -1
- package/dist/magma-components/p-d7a94afb.system.entry.js +0 -7
- package/dist/magma-components/p-d93c9a11.system.entry.js +0 -89
- package/dist/magma-components/p-d9fbbf3f.entry.js +0 -1
- package/dist/magma-components/p-db492cf5.system.entry.js +0 -13
- package/dist/magma-components/p-dc06b29e.entry.js +0 -1
- package/dist/magma-components/p-dc7bada4.entry.js +0 -1
- package/dist/magma-components/p-dfb4a965.system.entry.js +0 -28
- package/dist/magma-components/p-e1a91e9e.system.entry.js +0 -1
- package/dist/magma-components/p-e2ef1d6f.entry.js +0 -1
- package/dist/magma-components/p-e5438280.system.entry.js +0 -10
- package/dist/magma-components/p-e8cd2b93.system.entry.js +0 -4
- package/dist/magma-components/p-e95f2a48.entry.js +0 -1
- package/dist/magma-components/p-eb113725.system.entry.js +0 -1
- package/dist/magma-components/p-ec5eccbb.entry.js +0 -1
- package/dist/magma-components/p-eca99a0a.system.entry.js +0 -1
- package/dist/magma-components/p-ed897f9f.entry.js +0 -1
- package/dist/magma-components/p-eea815ca.system.entry.js +0 -16
- package/dist/magma-components/p-ef4cd904.system.entry.js +0 -16
- package/dist/magma-components/p-eff1fd6c.system.entry.js +0 -15
- package/dist/magma-components/p-eff38775.entry.js +0 -1
- package/dist/magma-components/p-f01874a8.entry.js +0 -1
- package/dist/magma-components/p-f05d7005.entry.js +0 -1
- package/dist/magma-components/p-f0c67a70.system.entry.js +0 -15
- package/dist/magma-components/p-f215496c.entry.js +0 -1
- package/dist/magma-components/p-f28cfb33.system.entry.js +0 -4
- package/dist/magma-components/p-f830793e.entry.js +0 -1
- package/dist/magma-components/p-f835c307.system.entry.js +0 -7
- package/dist/magma-components/p-f89c3a01.system.entry.js +0 -32
- package/dist/magma-components/p-f8eb19b3.entry.js +0 -1
- package/dist/magma-components/p-f8feee93.system.entry.js +0 -4
- package/dist/magma-components/p-f97b4ff4.system.entry.js +0 -16
- package/dist/magma-components/p-fc8f8a0c.entry.js +0 -1
- package/dist/magma-components/p-fcaa5967.entry.js +0 -18
- package/dist/magma-components/p-ff970859.system.entry.js +0 -30
- package/dist/magma-components/p-lozaO1BU.system.js +0 -1
- package/dist/types/components/mds-avatar/meta/variants.d.ts +0 -2
- package/dist/types/dictionary/icon.d.ts +0 -4
- package/dist/types/type/icon.d.ts +0 -1
|
@@ -111,21 +111,21 @@ get:function(){return false},enumerable:false,configurable:true});
|
|
|
111
111
|
/** @override **/n.prototype.offset=function(e){return-new Date(e).getTimezoneOffset()};
|
|
112
112
|
/** @override **/n.prototype.equals=function(e){return e.type==="system"};Object.defineProperty(n.prototype,"isValid",{
|
|
113
113
|
/** @override **/
|
|
114
|
-
get:function(){return true},enumerable:false,configurable:true});return n}(Z);var F=new Map;function C(e){var n=F.get(e);if(n===undefined){n=new Intl.DateTimeFormat("en-US",{hour12:false,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"});F.set(e,n)}return n}var H={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function q(e,n){var r=e.format(n).replace(/\u200E/g,""),t=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),i=t[1],u=t[2],a=t[3],s=t[4],o=t[5],f=t[6],c=t[7];return[a,i,u,s,o,f,c]}function z(e,n){var r=e.formatToParts(n);var t=[];for(var i=0;i<r.length;i++){var u=r[i],a=u.type,s=u.value;var o=H[a];if(a==="era"){t[o]=s}else if(!Qe(o)){t[o]=parseInt(s,10)}}return t}var
|
|
114
|
+
get:function(){return true},enumerable:false,configurable:true});return n}(Z);var F=new Map;function C(e){var n=F.get(e);if(n===undefined){n=new Intl.DateTimeFormat("en-US",{hour12:false,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"});F.set(e,n)}return n}var H={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function q(e,n){var r=e.format(n).replace(/\u200E/g,""),t=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),i=t[1],u=t[2],a=t[3],s=t[4],o=t[5],f=t[6],c=t[7];return[a,i,u,s,o,f,c]}function z(e,n){var r=e.formatToParts(n);var t=[];for(var i=0;i<r.length;i++){var u=r[i],a=u.type,s=u.value;var o=H[a];if(a==="era"){t[o]=s}else if(!Qe(o)){t[o]=parseInt(s,10)}}return t}var R=new Map;
|
|
115
115
|
/**
|
|
116
116
|
* A zone identified by an IANA identifier, like America/New_York
|
|
117
117
|
* @implements {Zone}
|
|
118
|
-
*/var
|
|
118
|
+
*/var U=/** @class */function(e){__extends(n,e);function n(r){var t=e.call(this)||this;
|
|
119
119
|
/** @private **/t.zoneName=r;
|
|
120
120
|
/** @private **/t.valid=n.isValidZone(r);return t}
|
|
121
121
|
/**
|
|
122
122
|
* @param {string} name - Zone name
|
|
123
123
|
* @return {IANAZone}
|
|
124
|
-
*/n.create=function(e){var r=
|
|
124
|
+
*/n.create=function(e){var r=R.get(e);if(r===undefined){R.set(e,r=new n(e))}return r};
|
|
125
125
|
/**
|
|
126
126
|
* Reset local caches. Should only be necessary in testing scenarios.
|
|
127
127
|
* @return {void}
|
|
128
|
-
*/n.resetCache=function(){
|
|
128
|
+
*/n.resetCache=function(){R.clear();F.clear()};
|
|
129
129
|
/**
|
|
130
130
|
* Returns whether the provided string is a valid specifier. This only checks the string's format, not that the specifier identifies a known zone; see isValidZone for that.
|
|
131
131
|
* @param {string} s - The string to check validity on
|
|
@@ -199,7 +199,7 @@ var l=o===24?0:o;var h=On({year:i,month:u,day:a,hour:l,minute:f,second:c,millise
|
|
|
199
199
|
*/
|
|
200
200
|
get:function(){return this.valid},enumerable:false,configurable:true});return n}(Z);
|
|
201
201
|
// todo - remap caching
|
|
202
|
-
var
|
|
202
|
+
var J={};function G(e,n){if(n===void 0){n={}}var r=JSON.stringify([e,n]);var t=J[r];if(!t){t=new Intl.ListFormat(e,n);J[r]=t}return t}var Y=new Map;function P(e,n){if(n===void 0){n={}}var r=JSON.stringify([e,n]);var t=Y.get(r);if(t===undefined){t=new Intl.DateTimeFormat(e,n);Y.set(r,t)}return t}var $=new Map;function V(e,n){if(n===void 0){n={}}var r=JSON.stringify([e,n]);var t=$.get(r);if(t===undefined){t=new Intl.NumberFormat(e,n);$.set(r,t)}return t}var B=new Map;function K(e,n){if(n===void 0){n={}}var r=n.base,t=__rest(n,["base"]);// exclude `base` from the options
|
|
203
203
|
var i=JSON.stringify([e,t]);var u=B.get(i);if(u===undefined){u=new Intl.RelativeTimeFormat(e,n);B.set(i,u)}return u}var Q=null;function X(){if(Q){return Q}else{Q=(new Intl.DateTimeFormat).resolvedOptions().locale;return Q}}var ee=new Map;function ne(e){var n=ee.get(e);if(n===undefined){n=new Intl.DateTimeFormat(e).resolvedOptions();ee.set(e,n)}return n}var re=new Map;function te(e){var n=re.get(e);if(!n){var r=new Intl.Locale(e);
|
|
204
204
|
// browsers currently implement this as a property, but spec says it should be a getter function
|
|
205
205
|
n="getWeekInfo"in r?r.getWeekInfo():r.weekInfo;
|
|
@@ -231,7 +231,7 @@ this.dt=e}else if(e.zone.type==="fixed"){
|
|
|
231
231
|
// 2. Unsupported by the browser:
|
|
232
232
|
// - some do not support Etc/
|
|
233
233
|
// - < Etc/GMT-14, > Etc/GMT+12, and 30-minute or 45-minute offsets are not part of tzdata
|
|
234
|
-
var i=-1*(e.offset/60);var u=i>=0?"Etc/GMT+".concat(i):"Etc/GMT".concat(i);if(e.offset!==0&&
|
|
234
|
+
var i=-1*(e.offset/60);var u=i>=0?"Etc/GMT+".concat(i):"Etc/GMT".concat(i);if(e.offset!==0&&U.create(u).valid){t=u;this.dt=e}else{
|
|
235
235
|
// Not all fixed-offset zones like Etc/+4:30 are present in tzdata so
|
|
236
236
|
// we manually apply the offset and substitute the zone as needed.
|
|
237
237
|
t="UTC";this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset});this.originalZone=e.zone}}else if(e.zone.type==="system"){this.dt=e}else if(e.zone.type==="iana"){this.dt=e;t=e.zone.name}else{
|
|
@@ -248,10 +248,14 @@ return this.formatToParts().map((function(e){var n=e.value;return n})).join("")}
|
|
|
248
248
|
* @private
|
|
249
249
|
*/var de=/** @class */function(){function e(e,n,r,t,i){var u=ie(e),a=u[0],s=u[1],o=u[2];this.locale=a;this.numberingSystem=n||s||null;this.outputCalendar=r||o||null;this.weekSettings=t;this.intl=ue(this.locale,this.numberingSystem,this.outputCalendar);this.weekdaysCache={format:{},standalone:{}};this.monthsCache={format:{},standalone:{}};this.meridiemCache=null;this.eraCache={};this.specifiedLocale=i;this.fastNumbersCached=null}e.fromOpts=function(n){return e.create(n.locale,n.numberingSystem,n.outputCalendar,n.weekSettings,n.defaultToEN)};e.create=function(n,r,t,i,u){if(u===void 0){u=false}var a=n||Ze.defaultLocale;
|
|
250
250
|
// the system locale is useful for human-readable strings but annoying for parsing/formatting known formats
|
|
251
|
-
var s=a||(u?"en-US":X());var o=r||Ze.defaultNumberingSystem;var f=t||Ze.defaultOutputCalendar;var c=cn(i)||Ze.defaultWeekSettings;return new e(s,o,f,c,a)};e.resetCache=function(){Q=null;Y.clear();$.clear();B.clear();ee.clear();re.clear()};e.fromObject=function(n){var r=n===void 0?{}:n,t=r.locale,i=r.numberingSystem,u=r.outputCalendar,a=r.weekSettings;return e.create(t,i,u,a)};Object.defineProperty(e.prototype,"fastNumbers",{get:function(){if(this.fastNumbersCached==null){this.fastNumbersCached=fe(this)}return this.fastNumbersCached},enumerable:false,configurable:true});e.prototype.listingMode=function(){var e=this.isEnglish();var n=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&n?"en":"intl"};e.prototype.clone=function(n){if(!n||Object.getOwnPropertyNames(n).length===0){return this}else{return e.create(n.locale||this.specifiedLocale,n.numberingSystem||this.numberingSystem,n.outputCalendar||this.outputCalendar,cn(n.weekSettings)||this.weekSettings,n.defaultToEN||false)}};e.prototype.redefaultToEN=function(e){if(e===void 0){e={}}return this.clone(__assign(__assign({},e),{defaultToEN:true}))};e.prototype.redefaultToSystem=function(e){if(e===void 0){e={}}return this.clone(__assign(__assign({},e),{defaultToEN:false}))};e.prototype.months=function(e,n){var r=this;if(n===void 0){n=false}return oe(this,e,Zn,(function(){
|
|
251
|
+
var s=a||(u?"en-US":X());var o=r||Ze.defaultNumberingSystem;var f=t||Ze.defaultOutputCalendar;var c=cn(i)||Ze.defaultWeekSettings;return new e(s,o,f,c,a)};e.resetCache=function(){Q=null;Y.clear();$.clear();B.clear();ee.clear();re.clear()};e.fromObject=function(n){var r=n===void 0?{}:n,t=r.locale,i=r.numberingSystem,u=r.outputCalendar,a=r.weekSettings;return e.create(t,i,u,a)};Object.defineProperty(e.prototype,"fastNumbers",{get:function(){if(this.fastNumbersCached==null){this.fastNumbersCached=fe(this)}return this.fastNumbersCached},enumerable:false,configurable:true});e.prototype.listingMode=function(){var e=this.isEnglish();var n=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&n?"en":"intl"};e.prototype.clone=function(n){if(!n||Object.getOwnPropertyNames(n).length===0){return this}else{return e.create(n.locale||this.specifiedLocale,n.numberingSystem||this.numberingSystem,n.outputCalendar||this.outputCalendar,cn(n.weekSettings)||this.weekSettings,n.defaultToEN||false)}};e.prototype.redefaultToEN=function(e){if(e===void 0){e={}}return this.clone(__assign(__assign({},e),{defaultToEN:true}))};e.prototype.redefaultToSystem=function(e){if(e===void 0){e={}}return this.clone(__assign(__assign({},e),{defaultToEN:false}))};e.prototype.months=function(e,n){var r=this;if(n===void 0){n=false}return oe(this,e,Zn,(function(){
|
|
252
|
+
// Workaround for "ja" locale: formatToParts does not label all parts of the month
|
|
253
|
+
// as "month" and for this locale there is no difference between "format" and "non-format".
|
|
254
|
+
// As such, just use format() instead of formatToParts() and take the whole string
|
|
255
|
+
var t=r.intl==="ja"||r.intl.startsWith("ja-");n&=!t;var i=n?{month:e,day:"numeric"}:{month:e},u=n?"format":"standalone";if(!r.monthsCache[u][e]){var a=!t?function(e){return r.extract(e,i,"month")}:function(e){return r.dtFormatter(e,i).format()};r.monthsCache[u][e]=ae(a)}return r.monthsCache[u][e]}))};e.prototype.weekdays=function(e,n){var r=this;if(n===void 0){n=false}return oe(this,e,Cn,(function(){var t=n?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},i=n?"format":"standalone";if(!r.weekdaysCache[i][e]){r.weekdaysCache[i][e]=se((function(e){return r.extract(e,t,"weekday")}))}return r.weekdaysCache[i][e]}))};e.prototype.meridiems=function(){var e=this;return oe(this,undefined,(function(){return Hn}),(function(){
|
|
252
256
|
// In theory there could be aribitrary day periods. We're gonna assume there are exactly two
|
|
253
257
|
// for AM and PM. This is probably wrong, but it's makes parsing way easier.
|
|
254
|
-
if(!e.meridiemCache){var n={hour:"numeric",hourCycle:"h12"};e.meridiemCache=[gi.utc(2016,11,13,9),gi.utc(2016,11,13,19)].map((function(r){return e.extract(r,n,"dayperiod")}))}return e.meridiemCache}))};e.prototype.eras=function(e){var n=this;return oe(this,e,
|
|
258
|
+
if(!e.meridiemCache){var n={hour:"numeric",hourCycle:"h12"};e.meridiemCache=[gi.utc(2016,11,13,9),gi.utc(2016,11,13,19)].map((function(r){return e.extract(r,n,"dayperiod")}))}return e.meridiemCache}))};e.prototype.eras=function(e){var n=this;return oe(this,e,Un,(function(){var r={era:e};
|
|
255
259
|
// This is problematic. Different calendars are going to define eras totally differently. What I need is the minimum set of dates
|
|
256
260
|
// to definitely enumerate them.
|
|
257
261
|
if(!n.eraCache[e]){n.eraCache[e]=[gi.utc(-40,1,1),gi.utc(2017,1,1)].map((function(e){return n.extract(e,r,"era")}))}return n.eraCache[e]}))};e.prototype.extract=function(e,n,r){var t=this.dtFormatter(e,n),i=t.formatToParts(),u=i.find((function(e){return e.type.toLowerCase()===r}));return u?u.value:null};e.prototype.numberFormatter=function(e){if(e===void 0){e={}}
|
|
@@ -361,7 +365,7 @@ get:function(){return false},enumerable:false,configurable:true});
|
|
|
361
365
|
get:function(){return false},enumerable:false,configurable:true});return n}(Z);
|
|
362
366
|
/**
|
|
363
367
|
* @private
|
|
364
|
-
*/function ye(e,n){if(Qe(e)||e===null){return n}else if(e instanceof Z){return e}else if(nn(e)){var r=e.toLowerCase();if(r==="default")return n;else if(r==="local"||r==="system")return W.instance;else if(r==="utc"||r==="gmt")return be.utcInstance;else return be.parseSpecifier(r)||
|
|
368
|
+
*/function ye(e,n){if(Qe(e)||e===null){return n}else if(e instanceof Z){return e}else if(nn(e)){var r=e.toLowerCase();if(r==="default")return n;else if(r==="local"||r==="system")return W.instance;else if(r==="utc"||r==="gmt")return be.utcInstance;else return be.parseSpecifier(r)||U.create(e)}else if(Xe(e)){return be.instance(e)}else if(typeof e==="object"&&"offset"in e&&typeof e.offset==="function"){
|
|
365
369
|
// This is dumb, but the instanceof check above doesn't seem to really work
|
|
366
370
|
// so we're duck checking it
|
|
367
371
|
return e}else{return new ge(e)}}var we={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"};var _e={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]};var Oe=we.hanidec.replace(/[\[|\]]/g,"").split("");function Me(e){var n=parseInt(e,10);if(isNaN(n)){n="";for(var r=0;r<e.length;r++){var t=e.charCodeAt(r);if(e[r].search(we.hanidec)!==-1){n+=Oe.indexOf(e[r])}else{for(var i in _e){var u=_e[i],a=u[0],s=u[1];if(t>=a&&t<=s){n+=t-a}}}}return parseInt(n,10)}else{return n}}
|
|
@@ -471,10 +475,10 @@ set:function(e){xe=e},enumerable:false,configurable:true});
|
|
|
471
475
|
/**
|
|
472
476
|
* Reset Luxon's global caches. Should only be necessary in testing scenarios.
|
|
473
477
|
* @return {void}
|
|
474
|
-
*/e.resetCaches=function(){de.resetCache();
|
|
478
|
+
*/e.resetCaches=function(){de.resetCache();U.resetCache();gi.resetCache();pe()};return e}();var Le=/** @class */function(){function e(e,n){this.reason=e;this.explanation=n}e.prototype.toMessage=function(){if(this.explanation){return"".concat(this.reason,": ").concat(this.explanation)}else{return this.reason}};return e}();var We=[0,31,59,90,120,151,181,212,243,273,304,334],Fe=[0,31,60,91,121,152,182,213,244,274,305,335];function Ce(e,n){return new Le("unit out of range","you specified ".concat(n," (of type ").concat(typeof n,") as a ").concat(e,", which is invalid"))}function He(e,n,r){var t=new Date(Date.UTC(e,n-1,r));if(e<100&&e>=0){t.setUTCFullYear(t.getUTCFullYear()-1900)}var i=t.getUTCDay();return i===0?7:i}function qe(e,n,r){return r+(yn(e)?Fe:We)[n-1]}function ze(e,n){var r=yn(e)?Fe:We,t=r.findIndex((function(e){return e<n})),i=n-r[t];return{month:t+1,day:i}}function Re(e,n){return(e-n+7)%7+1}
|
|
475
479
|
/**
|
|
476
480
|
* @private
|
|
477
|
-
*/function
|
|
481
|
+
*/function Ue(e,n,r){if(n===void 0){n=4}if(r===void 0){r=1}var t=e.year,i=e.month,u=e.day,a=qe(t,i,u),s=Re(He(t,i,u),r);var o=Math.floor((a-s+14-n)/7),f;if(o<1){f=t-1;o=jn(f,n,r)}else if(o>jn(t,n,r)){f=t+1;o=1}else{f=t}return __assign({weekYear:f,weekNumber:o,weekday:s},Dn(e))}function Je(e,n,r){if(n===void 0){n=4}if(r===void 0){r=1}var t=e.weekYear,i=e.weekNumber,u=e.weekday,a=Re(He(t,1,n),r),s=wn(t);var o=i*7+u-a-7+n,f;if(o<1){f=t-1;o+=wn(f)}else if(o>s){f=t+1;o-=wn(t)}else{f=t}var c=ze(f,o),l=c.month,h=c.day;return __assign({year:f,month:l,day:h},Dn(e))}function Ge(e){var n=e.year,r=e.month,t=e.day;var i=qe(n,r,t);return __assign({year:n,ordinal:i},Dn(e))}function Ye(e){var n=e.year,r=e.ordinal;var t=ze(n,r),i=t.month,u=t.day;return __assign({year:n,month:i,day:u},Dn(e))}
|
|
478
482
|
/**
|
|
479
483
|
* Check if local week units like localWeekday are used in obj.
|
|
480
484
|
* If so, validates that they are not mixed with ISO week units and then copies them to the normal week unit properties.
|
|
@@ -500,7 +504,7 @@ function ln(e,n,r){return en(e)&&e>=n&&e<=r}
|
|
|
500
504
|
// x % n but takes the sign of n instead of x
|
|
501
505
|
function hn(e,n){return e-n*Math.floor(e/n)}function vn(e,n){if(n===void 0){n=2}var r=e<0;var t;if(r){t="-"+(""+-e).padStart(n,"0")}else{t=(""+e).padStart(n,"0")}return t}function dn(e){if(Qe(e)||e===null||e===""){return undefined}else{return parseInt(e,10)}}function mn(e){if(Qe(e)||e===null||e===""){return undefined}else{return parseFloat(e)}}function bn(e){
|
|
502
506
|
// Return undefined (instead of 0) in these cases, where fraction is not set
|
|
503
|
-
if(Qe(e)||e===null||e===""){return undefined}else{var n=parseFloat("0."+e)*1e3;return Math.floor(n)}}function gn(e,n,r){if(r===void 0){r=
|
|
507
|
+
if(Qe(e)||e===null||e===""){return undefined}else{var n=parseFloat("0."+e)*1e3;return Math.floor(n)}}function gn(e,n,r){if(r===void 0){r="round"}var t=Math.pow(10,n);switch(r){case"expand":return e>0?Math.ceil(e*t)/t:Math.floor(e*t)/t;case"trunc":return Math.trunc(e*t)/t;case"round":return Math.round(e*t)/t;case"floor":return Math.floor(e*t)/t;case"ceil":return Math.ceil(e*t)/t;default:throw new RangeError("Value rounding ".concat(r," is out of range"))}}
|
|
504
508
|
// DATE BASICS
|
|
505
509
|
function yn(e){return e%4===0&&(e%100!==0||e%400===0)}function wn(e){return yn(e)?366:365}function _n(e,n){var r=hn(n-1,12)+1,t=e+(n-r)/12;if(r===2){return yn(t)?29:28}else{return[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}}
|
|
506
510
|
// convert a calendar object to a local timestamp (epoch, but with the offset baked in)
|
|
@@ -512,7 +516,7 @@ if(e.year<100&&e.year>=0){n=new Date(n);
|
|
|
512
516
|
// the calculations done by Date.UTC are using year 2000 - which is incorrect
|
|
513
517
|
n.setUTCFullYear(e.year,e.month-1,e.day)}return+n}
|
|
514
518
|
// adapted from moment.js: https://github.com/moment/moment/blob/000ac1800e620f770f4eb31b5ae908f6167b0ab2/src/lib/units/week-calendar-utils.js
|
|
515
|
-
function Mn(e,n,r){var t=
|
|
519
|
+
function Mn(e,n,r){var t=Re(He(e,1,n),r);return-t+n-1}function jn(e,n,r){if(n===void 0){n=4}if(r===void 0){r=1}var t=Mn(e,n,r);var i=Mn(e+1,n,r);return(wn(e)-t+i)/7}function pn(e){if(e>99){return e}else return e>Ze.twoDigitCutoffYear?1900+e:2e3+e}
|
|
516
520
|
// PARSING
|
|
517
521
|
function Nn(e,n,r,t){if(t===void 0){t=null}var i=new Date(e),u={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};if(t){u.timeZone=t}var a=__assign({timeZoneName:n},u);var s=new Intl.DateTimeFormat(r,a).formatToParts(i).find((function(e){return e.type.toLowerCase()==="timezonename"}));return s?s.value:null}
|
|
518
522
|
// signedOffset('-5', '30') -> -330
|
|
@@ -520,7 +524,7 @@ function kn(e,n){var r=parseInt(e,10);
|
|
|
520
524
|
// don't || this because we want to preserve -0
|
|
521
525
|
if(Number.isNaN(r)){r=0}var t=parseInt(n,10)||0,i=r<0||Object.is(r,-0)?-t:t;return r*60+i}
|
|
522
526
|
// COERCION
|
|
523
|
-
function Tn(e){var n=Number(e);if(typeof e==="boolean"||e===""
|
|
527
|
+
function Tn(e){var n=Number(e);if(typeof e==="boolean"||e===""||!Number.isFinite(n))throw new s("Invalid unit value ".concat(e));return n}function En(e,n){var r={};for(var t in e){if(fn(e,t)){var i=e[t];if(i===undefined||i===null)continue;r[n(t)]=Tn(i)}}return r}
|
|
524
528
|
/**
|
|
525
529
|
* Returns the offset's value as a string
|
|
526
530
|
* @param {number} ts - Epoch milliseconds for which to get the offset
|
|
@@ -530,15 +534,17 @@ function Tn(e){var n=Number(e);if(typeof e==="boolean"||e===""||Number.isNaN(n))
|
|
|
530
534
|
*/function Sn(e,n){var r=Math.trunc(Math.abs(e/60)),t=Math.trunc(Math.abs(e%60)),i=e>=0?"+":"-";switch(n){case"short":return"".concat(i).concat(vn(r,2),":").concat(vn(t,2));case"narrow":return"".concat(i).concat(r).concat(t>0?":".concat(t):"");case"techie":return"".concat(i).concat(vn(r,2)).concat(vn(t,2));default:throw new RangeError("Value format ".concat(n," is out of range for property format"))}}function Dn(e){return on(e,["hour","minute","second","millisecond"])}
|
|
531
535
|
/**
|
|
532
536
|
* @private
|
|
533
|
-
*/var In=["January","February","March","April","May","June","July","August","September","October","November","December"];var xn=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var An=["J","F","M","A","M","J","J","A","S","O","N","D"];function Zn(e){switch(e){case"narrow":return __spreadArray([],An,true);case"short":return __spreadArray([],xn,true);case"long":return __spreadArray([],In,true);case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}var Ln=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"];var Wn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"];var Fn=["M","T","W","T","F","S","S"];function Cn(e){switch(e){case"narrow":return __spreadArray([],Fn,true);case"short":return __spreadArray([],Wn,true);case"long":return __spreadArray([],Ln,true);case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var Hn=["AM","PM"];var qn=["Before Christ","Anno Domini"];var zn=["BC","AD"];var
|
|
537
|
+
*/var In=["January","February","March","April","May","June","July","August","September","October","November","December"];var xn=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var An=["J","F","M","A","M","J","J","A","S","O","N","D"];function Zn(e){switch(e){case"narrow":return __spreadArray([],An,true);case"short":return __spreadArray([],xn,true);case"long":return __spreadArray([],In,true);case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}var Ln=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"];var Wn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"];var Fn=["M","T","W","T","F","S","S"];function Cn(e){switch(e){case"narrow":return __spreadArray([],Fn,true);case"short":return __spreadArray([],Wn,true);case"long":return __spreadArray([],Ln,true);case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var Hn=["AM","PM"];var qn=["Before Christ","Anno Domini"];var zn=["BC","AD"];var Rn=["B","A"];function Un(e){switch(e){case"narrow":return __spreadArray([],Rn,true);case"short":return __spreadArray([],zn,true);case"long":return __spreadArray([],qn,true);default:return null}}function Jn(e){return Hn[e.hour<12?0:1]}function Gn(e,n){return Cn(n)[e.weekday-1]}function Yn(e,n){return Zn(n)[e.month-1]}function Pn(e,n){return Un(n)[e.year<0?0:1]}function $n(e,n,r,t){if(r===void 0){r="always"}if(t===void 0){t=false}var i={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]};var u=["hours","minutes","seconds"].indexOf(e)===-1;if(r==="auto"&&u){var a=e==="days";switch(n){case 1:return a?"tomorrow":"next ".concat(i[e][0]);case-1:return a?"yesterday":"last ".concat(i[e][0]);case 0:return a?"today":"this ".concat(i[e][0])}}var s=Object.is(n,-0)||n<0,o=Math.abs(n),f=o===1,c=i[e],l=t?f?c[1]:c[2]||c[1]:f?i[e][0]:e;return s?"".concat(o," ").concat(l," ago"):"in ".concat(o," ").concat(l)}function Vn(e,n){var r="";for(var t=0,i=e;t<i.length;t++){var u=i[t];if(u.literal){r+=u.val}else{r+=n(u.val)}}return r}var Bn={D:h,DD:v,DDD:m,DDDD:b,t:g,tt:y,ttt:w,tttt:_,T:O,TT:M,TTT:j,TTTT:p,f:N,ff:T,fff:D,ffff:x,F:k,FF:E,FFF:I,FFFF:A};
|
|
534
538
|
/**
|
|
535
539
|
* @private
|
|
536
540
|
*/var Kn=/** @class */function(){function e(e,n){this.opts=n;this.loc=e;this.systemLoc=null}e.create=function(n,r){if(r===void 0){r={}}return new e(n,r)};e.parseFormat=function(e){
|
|
537
541
|
// white-space is always considered a literal in user-provided formats
|
|
538
542
|
// the " " token has a special meaning (see unitForToken)
|
|
539
|
-
var n=null,r="",t=false;var i=[];for(var u=0;u<e.length;u++){var a=e.charAt(u);if(a==="'"){
|
|
543
|
+
var n=null,r="",t=false;var i=[];for(var u=0;u<e.length;u++){var a=e.charAt(u);if(a==="'"){
|
|
544
|
+
// turn '' into a literal signal quote instead of just skipping the empty literal
|
|
545
|
+
if(r.length>0||t){i.push({literal:t||/^\s+$/.test(r),val:r===""?"'":r})}n=null;r="";t=!t}else if(t){r+=a}else if(a===n){r+=a}else{if(r.length>0){i.push({literal:/^\s+$/.test(r),val:r})}r=a;n=a}}if(r.length>0){i.push({literal:t||/^\s+$/.test(r),val:r})}return i};e.macroTokenToFormatOpts=function(e){return Bn[e]};e.prototype.formatWithSystemDefault=function(e,n){if(this.systemLoc===null){this.systemLoc=this.loc.redefaultToSystem()}var r=this.systemLoc.dtFormatter(e,__assign(__assign({},this.opts),n));return r.format()};e.prototype.dtFormatter=function(e,n){if(n===void 0){n={}}return this.loc.dtFormatter(e,__assign(__assign({},this.opts),n))};e.prototype.formatDateTime=function(e,n){return this.dtFormatter(e,n).format()};e.prototype.formatDateTimeParts=function(e,n){return this.dtFormatter(e,n).formatToParts()};e.prototype.formatInterval=function(e,n){var r=this.dtFormatter(e.start,n);return r.dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())};e.prototype.resolvedOptions=function(e,n){return this.dtFormatter(e,n).resolvedOptions()};e.prototype.num=function(e,n,r){if(n===void 0){n=0}if(r===void 0){r=undefined}
|
|
540
546
|
// we get some perf out of doing this here, annoyingly
|
|
541
|
-
if(this.opts.forceSimple){return vn(e,n)}var
|
|
547
|
+
if(this.opts.forceSimple){return vn(e,n)}var t=__assign({},this.opts);if(n>0){t.padTo=n}if(r){t.signDisplay=r}return this.loc.numberFormatter(t).format(e)};e.prototype.formatDateTimeFromString=function(n,r){var t=this;var i=this.loc.listingMode()==="en",u=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",a=function(e,r){return t.loc.extract(n,e,r)},s=function(e){if(n.isOffsetFixed&&n.offset===0&&e.allowZ){return"Z"}return n.isValid?n.zone.formatOffset(n.ts,e.format):""},o=function(){return i?Jn(n):a({hour:"numeric",hourCycle:"h12"},"dayperiod")},f=function(e,r){return i?Yn(n,e):a(r?{month:e}:{month:e,day:"numeric"},"month")},c=function(e,r){return i?Gn(n,e):a(r?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday")},l=function(r){var i=e.macroTokenToFormatOpts(r);if(i){return t.formatWithSystemDefault(n,i)}else{return r}},h=function(e){return i?Pn(n,e):a({era:e},"era")},v=function(e){
|
|
542
548
|
// Where possible: https://cldr.unicode.org/translation/date-time/date-time-symbols
|
|
543
549
|
switch(e){
|
|
544
550
|
// ms
|
|
@@ -636,7 +642,12 @@ return h("long");case"GGGGG":return h("narrow");case"kk":return t.num(n.weekYear
|
|
|
636
642
|
// like 1
|
|
637
643
|
return t.num(n.quarter);case"qq":
|
|
638
644
|
// like 01
|
|
639
|
-
return t.num(n.quarter,2);case"X":return t.num(Math.floor(n.ts/1e3));case"x":return t.num(n.ts);default:return l(e)}};return Vn(e.parseFormat(r),v)};e.prototype.formatDurationFromString=function(n,r){var t=this;var i=function(e){switch(e[0]){case"S":return"
|
|
645
|
+
return t.num(n.quarter,2);case"X":return t.num(Math.floor(n.ts/1e3));case"x":return t.num(n.ts);default:return l(e)}};return Vn(e.parseFormat(r),v)};e.prototype.formatDurationFromString=function(n,r){var t=this;var i=this.opts.signMode==="negativeLargestOnly"?-1:1;var u=function(e){switch(e[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},a=function(e,n){return function(r){var a=u(r);if(a){var s=n.isNegativeDuration&&a!==n.largestUnit?i:1;var o=void 0;if(t.opts.signMode==="negativeLargestOnly"&&a!==n.largestUnit){o="never"}else if(t.opts.signMode==="all"){o="always"}else{
|
|
646
|
+
// "auto" and "negative" are the same, but "auto" has better support
|
|
647
|
+
o="auto"}return t.num(e.get(a)*s,r.length,o)}else{return r}}},s=e.parseFormat(r),o=s.reduce((function(e,n){var r=n.literal,t=n.val;return r?e:e.concat(t)}),[]),f=n.shiftTo.apply(n,o.map(u).filter((function(e){return e}))),c={isNegativeDuration:f<0,
|
|
648
|
+
// this relies on "collapsed" being based on "shiftTo", which builds up the object
|
|
649
|
+
// in order
|
|
650
|
+
largestUnit:Object.keys(f.values)[0]};return Vn(s,a(f,c))};return e}();
|
|
640
651
|
/*
|
|
641
652
|
* This file handles parsing for well-specified formats. Here's how it works:
|
|
642
653
|
* Two things go into parsing: a regex to match with and an extractor to take apart the groups in the match.
|
|
@@ -647,8 +658,8 @@ return t.num(n.quarter,2);case"X":return t.num(Math.floor(n.ts/1e3));case"x":ret
|
|
|
647
658
|
* Some extractions are super dumb and simpleParse and fromStrings help DRY them.
|
|
648
659
|
*/var Qn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Xn(){var e=[];for(var n=0;n<arguments.length;n++){e[n]=arguments[n]}var r=e.reduce((function(e,n){return e+n.source}),"");return RegExp("^".concat(r,"$"))}function er(){var e=[];for(var n=0;n<arguments.length;n++){e[n]=arguments[n]}return function(n){return e.reduce((function(e,r){var t=e[0],i=e[1],u=e[2];var a=r(n,u),s=a[0],o=a[1],f=a[2];return[__assign(__assign({},t),s),o||i,f]}),[{},null,1]).slice(0,2)}}function nr(e){var n=[];for(var r=1;r<arguments.length;r++){n[r-1]=arguments[r]}if(e==null){return[null,null]}for(var t=0,i=n;t<i.length;t++){var u=i[t],a=u[0],s=u[1];var o=a.exec(e);if(o){return s(o)}}return[null,null]}function rr(){var e=[];for(var n=0;n<arguments.length;n++){e[n]=arguments[n]}return function(n,r){var t={};var i;for(i=0;i<e.length;i++){t[e[i]]=dn(n[r+i])}return[t,null,r+i]}}
|
|
649
660
|
// ISO and SQL parsing
|
|
650
|
-
var tr=/(?:(
|
|
651
|
-
var dr=RegExp("".concat(ur.source," ?(?:").concat(tr.source,"|(").concat(Qn.source,"))?"));var mr=RegExp("(?: ".concat(dr.source,")?"));function br(e,n,r){var t=e[n];return Qe(t)?r:dn(t)}function gr(e,n){var r={year:br(e,n),month:br(e,n+1,1),day:br(e,n+2,1)};return[r,null,n+3]}function yr(e,n){var r={hours:br(e,n,0),minutes:br(e,n+1,0),seconds:br(e,n+2,0),milliseconds:bn(e[n+3])};return[r,null,n+4]}function wr(e,n){var r=!e[n]&&!e[n+1],t=kn(e[n+1],e[n+2]),i=r?null:be.instance(t);return[{},i,n+3]}function _r(e,n){var r=e[n]?
|
|
661
|
+
var tr=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/;var ir="(?:".concat(tr.source,"?(?:\\[(").concat(Qn.source,")\\])?)?");var ur=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/;var ar=RegExp("".concat(ur.source).concat(ir));var sr=RegExp("(?:[Tt]".concat(ar.source,")?"));var or=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/;var fr=/(\d{4})-?W(\d\d)(?:-?(\d))?/;var cr=/(\d{4})-?(\d{3})/;var lr=rr("weekYear","weekNumber","weekDay");var hr=rr("year","ordinal");var vr=/(\d{4})-(\d\d)-(\d\d)/;// dumbed-down version of the ISO one
|
|
662
|
+
var dr=RegExp("".concat(ur.source," ?(?:").concat(tr.source,"|(").concat(Qn.source,"))?"));var mr=RegExp("(?: ".concat(dr.source,")?"));function br(e,n,r){var t=e[n];return Qe(t)?r:dn(t)}function gr(e,n){var r={year:br(e,n),month:br(e,n+1,1),day:br(e,n+2,1)};return[r,null,n+3]}function yr(e,n){var r={hours:br(e,n,0),minutes:br(e,n+1,0),seconds:br(e,n+2,0),milliseconds:bn(e[n+3])};return[r,null,n+4]}function wr(e,n){var r=!e[n]&&!e[n+1],t=kn(e[n+1],e[n+2]),i=r?null:be.instance(t);return[{},i,n+3]}function _r(e,n){var r=e[n]?U.create(e[n]):null;return[{},r,n+1]}
|
|
652
663
|
// ISO time parsing
|
|
653
664
|
var Or=RegExp("^T?".concat(ur.source,"$"));
|
|
654
665
|
// ISO duration parsing
|
|
@@ -665,7 +676,7 @@ return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}
|
|
|
665
676
|
var Sr=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Dr=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Ir=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function xr(e){var n=e[1],r=e[2],t=e[3],i=e[4],u=e[5],a=e[6],s=e[7],o=Nr(n,i,t,r,u,a,s);return[o,be.utcInstance]}function Ar(e){var n=e[1],r=e[2],t=e[3],i=e[4],u=e[5],a=e[6],s=e[7],o=Nr(n,s,r,t,i,u,a);return[o,be.utcInstance]}var Zr=Xn(or,sr);var Lr=Xn(fr,sr);var Wr=Xn(cr,sr);var Fr=Xn(ar);var Cr=er(gr,yr,wr,_r);var Hr=er(lr,yr,wr,_r);var qr=er(hr,yr,wr,_r);var zr=er(yr,wr,_r);
|
|
666
677
|
/*
|
|
667
678
|
* @private
|
|
668
|
-
*/function
|
|
679
|
+
*/function Rr(e){return nr(e,[Zr,Cr],[Lr,Hr],[Wr,qr],[Fr,zr])}function Ur(e){return nr(Er(e),[kr,Tr])}function Jr(e){return nr(e,[Sr,xr],[Dr,xr],[Ir,Ar])}function Gr(e){return nr(e,[Mr,jr])}var Yr=er(yr);function Pr(e){return nr(e,[Or,Yr])}var $r=Xn(vr,mr);var Vr=Xn(dr);var Br=er(yr,wr,_r);function Kr(e){return nr(e,[$r,Cr],[Vr,Br])}var Qr="Invalid Duration";
|
|
669
680
|
// unit conversion constants
|
|
670
681
|
var Xr={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},et=__assign({years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3}},Xr),nt=146097/400,rt=146097/4800,tt=__assign({years:{quarters:4,months:12,weeks:nt/7,days:nt,hours:nt*24,minutes:nt*24*60,seconds:nt*24*60*60,milliseconds:nt*24*60*60*1e3},quarters:{months:3,weeks:nt/28,days:nt/4,hours:nt*24/4,minutes:nt*24*60/4,seconds:nt*24*60*60/4,milliseconds:nt*24*60*60*1e3/4},months:{weeks:rt/7,days:rt,hours:rt*24,minutes:rt*24*60,seconds:rt*24*60*60,milliseconds:rt*24*60*60*1e3}},Xr);
|
|
671
682
|
// units ordered by size
|
|
@@ -846,9 +857,13 @@ get:function(){return this.isValid?this.loc.numberingSystem:null},enumerable:fal
|
|
|
846
857
|
* @param {string} fmt - the format string
|
|
847
858
|
* @param {Object} opts - options
|
|
848
859
|
* @param {boolean} [opts.floor=true] - floor numerical values
|
|
860
|
+
* @param {'negative'|'all'|'negativeLargestOnly'} [opts.signMode=negative] - How to handle signs
|
|
849
861
|
* @example Duration.fromObject({ years: 1, days: 6, seconds: 2 }).toFormat("y d s") //=> "1 6 2"
|
|
850
862
|
* @example Duration.fromObject({ years: 1, days: 6, seconds: 2 }).toFormat("yy dd sss") //=> "01 06 002"
|
|
851
863
|
* @example Duration.fromObject({ years: 1, days: 6, seconds: 2 }).toFormat("M S") //=> "12 518402000"
|
|
864
|
+
* @example Duration.fromObject({ days: 6, seconds: 2 }).toFormat("d s", { signMode: "all" }) //=> "+6 +2"
|
|
865
|
+
* @example Duration.fromObject({ days: -6, seconds: -2 }).toFormat("d s", { signMode: "all" }) //=> "-6 -2"
|
|
866
|
+
* @example Duration.fromObject({ days: -6, seconds: -2 }).toFormat("d s", { signMode: "negativeLargestOnly" }) //=> "-6 2"
|
|
852
867
|
* @return {string}
|
|
853
868
|
*/e.prototype.toFormat=function(e,n){if(n===void 0){n={}}
|
|
854
869
|
// reverse-compat since 1.2; we always round down now, never up, and we do it by default
|
|
@@ -859,14 +874,16 @@ var r=__assign(__assign({},n),{floor:n.round!==false&&n.floor!==false});return t
|
|
|
859
874
|
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#options
|
|
860
875
|
* @param {Object} opts - Formatting options. Accepts the same keys as the options parameter of the native `Intl.NumberFormat` constructor, as well as `listStyle`.
|
|
861
876
|
* @param {string} [opts.listStyle='narrow'] - How to format the merged list. Corresponds to the `style` property of the options parameter of the native `Intl.ListFormat` constructor.
|
|
877
|
+
* @param {boolean} [opts.showZeros=true] - Show all units previously used by the duration even if they are zero
|
|
862
878
|
* @example
|
|
863
879
|
* ```js
|
|
864
|
-
* var dur = Duration.fromObject({
|
|
865
|
-
* dur.toHuman() //=> '1
|
|
866
|
-
* dur.toHuman({ listStyle: "long" }) //=> '1
|
|
867
|
-
* dur.toHuman({ unitDisplay: "short" }) //=> '1
|
|
880
|
+
* var dur = Duration.fromObject({ months: 1, weeks: 0, hours: 5, minutes: 6 })
|
|
881
|
+
* dur.toHuman() //=> '1 month, 0 weeks, 5 hours, 6 minutes'
|
|
882
|
+
* dur.toHuman({ listStyle: "long" }) //=> '1 month, 0 weeks, 5 hours, and 6 minutes'
|
|
883
|
+
* dur.toHuman({ unitDisplay: "short" }) //=> '1 mth, 0 wks, 5 hr, 6 min'
|
|
884
|
+
* dur.toHuman({ showZeros: false }) //=> '1 month, 5 hours, 6 minutes'
|
|
868
885
|
* ```
|
|
869
|
-
*/e.prototype.toHuman=function(e){var n=this;if(e===void 0){e={}}if(!this.isValid)return Qr;var r=it.map((function(
|
|
886
|
+
*/e.prototype.toHuman=function(e){var n=this;if(e===void 0){e={}}if(!this.isValid)return Qr;var r=e.showZeros!==false;var t=it.map((function(t){var i=n.values[t];if(Qe(i)||i===0&&!r){return null}return n.loc.numberFormatter(__assign(__assign({style:"unit",unitDisplay:"long"},e),{unit:t.slice(0,-1)})).format(i)})).filter((function(e){return e}));return this.loc.listFormatter(__assign({type:"conjunction",style:e.listStyle||"narrow"},e)).format(t)};
|
|
870
887
|
/**
|
|
871
888
|
* Returns a JavaScript object with this Duration's values.
|
|
872
889
|
* @example Duration.fromObject({ years: 1, days: 6, seconds: 2 }).toObject() //=> { years: 1, days: 6, seconds: 2 }
|
|
@@ -1014,7 +1031,12 @@ for(var v in i){if(i[v]!==0){t[a]+=v===a?i[v]:i[v]/this.matrix[a][v]}}ot(this.ma
|
|
|
1014
1031
|
* Return the negative of this Duration.
|
|
1015
1032
|
* @example Duration.fromObject({ hours: 1, seconds: 30 }).negate().toObject() //=> { hours: -1, seconds: -30 }
|
|
1016
1033
|
* @return {Duration}
|
|
1017
|
-
*/e.prototype.negate=function(){if(!this.isValid)return this;var e={};for(var n=0,r=Object.keys(this.values);n<r.length;n++){var t=r[n];e[t]=this.values[t]===0?0:-this.values[t]}return at(this,{values:e},true)};
|
|
1034
|
+
*/e.prototype.negate=function(){if(!this.isValid)return this;var e={};for(var n=0,r=Object.keys(this.values);n<r.length;n++){var t=r[n];e[t]=this.values[t]===0?0:-this.values[t]}return at(this,{values:e},true)};
|
|
1035
|
+
/**
|
|
1036
|
+
* Removes all units with values equal to 0 from this Duration.
|
|
1037
|
+
* @example Duration.fromObject({ years: 2, days: 0, hours: 0, minutes: 0 }).removeZeros().toObject() //=> { years: 2 }
|
|
1038
|
+
* @return {Duration}
|
|
1039
|
+
*/e.prototype.removeZeros=function(){if(!this.isValid)return this;var e=ft(this.values);return at(this,{values:e},true)};Object.defineProperty(e.prototype,"years",{
|
|
1018
1040
|
/**
|
|
1019
1041
|
* Get the years.
|
|
1020
1042
|
* @type {number}
|
|
@@ -1158,7 +1180,8 @@ this.s=e.start;
|
|
|
1158
1180
|
*/
|
|
1159
1181
|
get:function(){return this.isValid?this.s:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"end",{
|
|
1160
1182
|
/**
|
|
1161
|
-
* Returns the end of the Interval
|
|
1183
|
+
* Returns the end of the Interval. This is the first instant which is not part of the interval
|
|
1184
|
+
* (Interval is half-open).
|
|
1162
1185
|
* @type {DateTime}
|
|
1163
1186
|
*/
|
|
1164
1187
|
get:function(){return this.isValid?this.e:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"lastDateTime",{
|
|
@@ -1387,7 +1410,7 @@ get:function(){return this.invalid?this.invalid.explanation:null},enumerable:fal
|
|
|
1387
1410
|
* Return whether the specified zone is a valid IANA specifier.
|
|
1388
1411
|
* @param {string} zone - Zone to check
|
|
1389
1412
|
* @return {boolean}
|
|
1390
|
-
*/e.isValidIANAZone=function(e){return
|
|
1413
|
+
*/e.isValidIANAZone=function(e){return U.isValidZone(e)};
|
|
1391
1414
|
/**
|
|
1392
1415
|
* Converts the input into a {@link Zone} instance.
|
|
1393
1416
|
*
|
|
@@ -1568,17 +1591,17 @@ case" ":return Tt(/[^\S\n\r]/);default:return v(d)}};var m=d(e)||{invalidReason:
|
|
|
1568
1591
|
var s=t;if(t==="hour"){if(n.hour12!=null){s=n.hour12?"hour12":"hour24"}else if(n.hourCycle!=null){if(n.hourCycle==="h11"||n.hourCycle==="h12"){s="hour12"}else{s="hour24"}}else{
|
|
1569
1592
|
// tokens only differentiate between 24 hours or not,
|
|
1570
1593
|
// so we do not need to check hourCycle here, which is less supported anyways
|
|
1571
|
-
s=r.hour12?"hour12":"hour24"}}var o=Dt[s];if(typeof o==="object"){o=o[a]}if(o){return{literal:false,val:o}}return undefined}function xt(e){var n=e.map((function(e){return e.regex})).reduce((function(e,n){return"".concat(e,"(").concat(n.source,")")}),"");return["^".concat(n,"$"),e]}function At(e,n,r){var t=e.match(n);if(t){var i={};var u=1;for(var a in r){if(fn(r,a)){var s=r[a],o=s.groups?s.groups+1:1;if(!s.literal&&s.token){i[s.token.val[0]]=s.deser(t.slice(u,u+o))}u+=o}}return[t,i]}else{return[t,{}]}}function Zt(e){var n=function(e){switch(e){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};var r=null;var t;if(!Qe(e.z)){r=
|
|
1594
|
+
s=r.hour12?"hour12":"hour24"}}var o=Dt[s];if(typeof o==="object"){o=o[a]}if(o){return{literal:false,val:o}}return undefined}function xt(e){var n=e.map((function(e){return e.regex})).reduce((function(e,n){return"".concat(e,"(").concat(n.source,")")}),"");return["^".concat(n,"$"),e]}function At(e,n,r){var t=e.match(n);if(t){var i={};var u=1;for(var a in r){if(fn(r,a)){var s=r[a],o=s.groups?s.groups+1:1;if(!s.literal&&s.token){i[s.token.val[0]]=s.deser(t.slice(u,u+o))}u+=o}}return[t,i]}else{return[t,{}]}}function Zt(e){var n=function(e){switch(e){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};var r=null;var t;if(!Qe(e.z)){r=U.create(e.z)}if(!Qe(e.Z)){if(!r){r=new be(e.Z)}t=e.Z}if(!Qe(e.q)){e.M=(e.q-1)*3+1}if(!Qe(e.h)){if(e.h<12&&e.a===1){e.h+=12}else if(e.h===12&&e.a===0){e.h=0}}if(e.G===0&&e.y){e.y=-e.y}if(!Qe(e.u)){e.S=bn(e.u)}var i=Object.keys(e).reduce((function(r,t){var i=n(t);if(i){r[i]=e[t]}return r}),{});return[i,r,t]}var Lt=null;function Wt(){if(!Lt){Lt=gi.fromMillis(1555555555555)}return Lt}function Ft(e,n){if(e.literal){return e}var r=Kn.macroTokenToFormatOpts(e.val);var t=Rt(r,n);if(t==null||t.includes(undefined)){return e}return t}function Ct(e,n){var r;return(r=Array.prototype).concat.apply(r,e.map((function(e){return Ft(e,n)})))}
|
|
1572
1595
|
/**
|
|
1573
1596
|
* @private
|
|
1574
|
-
*/var Ht=/** @class */function(){function e(e,n){this.locale=e;this.format=n;this.tokens=Ct(Kn.parseFormat(n),e);this.units=this.tokens.map((function(n){return St(n,e)}));this.disqualifyingUnit=this.units.find((function(e){return e.invalidReason}));if(!this.disqualifyingUnit){var r=xt(this.units),t=r[0],i=r[1];this.regex=RegExp(t,"i");this.handlers=i}}e.prototype.explainFromTokens=function(e){if(!this.isValid){return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}else{var n=At(e,this.regex,this.handlers),r=n[0],t=n[1],i=t?Zt(t):[null,null,undefined],a=i[0],s=i[1],o=i[2];if(fn(t,"a")&&fn(t,"H")){throw new u("Can't include meridiem when specifying 24-hour format")}return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:r,matches:t,result:a,zone:s,specificOffset:o}}};Object.defineProperty(e.prototype,"isValid",{get:function(){return!this.disqualifyingUnit},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidReason",{get:function(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null},enumerable:false,configurable:true});return e}();function qt(e,n,r){var t=new Ht(e,r);return t.explainFromTokens(n)}function zt(e,n,r){var t=qt(e,n,r),i=t.result,u=t.zone,a=t.specificOffset,s=t.invalidReason;return[i,u,a,s]}function
|
|
1597
|
+
*/var Ht=/** @class */function(){function e(e,n){this.locale=e;this.format=n;this.tokens=Ct(Kn.parseFormat(n),e);this.units=this.tokens.map((function(n){return St(n,e)}));this.disqualifyingUnit=this.units.find((function(e){return e.invalidReason}));if(!this.disqualifyingUnit){var r=xt(this.units),t=r[0],i=r[1];this.regex=RegExp(t,"i");this.handlers=i}}e.prototype.explainFromTokens=function(e){if(!this.isValid){return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}else{var n=At(e,this.regex,this.handlers),r=n[0],t=n[1],i=t?Zt(t):[null,null,undefined],a=i[0],s=i[1],o=i[2];if(fn(t,"a")&&fn(t,"H")){throw new u("Can't include meridiem when specifying 24-hour format")}return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:r,matches:t,result:a,zone:s,specificOffset:o}}};Object.defineProperty(e.prototype,"isValid",{get:function(){return!this.disqualifyingUnit},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidReason",{get:function(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null},enumerable:false,configurable:true});return e}();function qt(e,n,r){var t=new Ht(e,r);return t.explainFromTokens(n)}function zt(e,n,r){var t=qt(e,n,r),i=t.result,u=t.zone,a=t.specificOffset,s=t.invalidReason;return[i,u,a,s]}function Rt(e,n){if(!e){return null}var r=Kn.create(n,e);var t=r.dtFormatter(Wt());var i=t.formatToParts();var u=t.resolvedOptions();return i.map((function(n){return It(n,e,u)}))}var Ut="Invalid DateTime";var Jt=864e13;function Gt(e){return new Le("unsupported zone",'the zone "'.concat(e.name,'" is not supported'))}
|
|
1575
1598
|
// we cache week data on the DT object and this intermediates the cache
|
|
1576
1599
|
/**
|
|
1577
1600
|
* @param {DateTime} dt
|
|
1578
|
-
*/function Yt(e){if(e.weekData===null){e.weekData=
|
|
1601
|
+
*/function Yt(e){if(e.weekData===null){e.weekData=Ue(e.c)}return e.weekData}
|
|
1579
1602
|
/**
|
|
1580
1603
|
* @param {DateTime} dt
|
|
1581
|
-
*/function Pt(e){if(e.localWeekData===null){e.localWeekData=
|
|
1604
|
+
*/function Pt(e){if(e.localWeekData===null){e.localWeekData=Ue(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())}return e.localWeekData}
|
|
1582
1605
|
// clone really means, "make a new object with these modifications". all "setters" really use this
|
|
1583
1606
|
// to create a new object while only changing some of the properties
|
|
1584
1607
|
function $t(e,n){var r={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new gi(__assign(__assign(__assign({},r),n),{old:r}))}
|
|
@@ -1610,7 +1633,7 @@ c=e.zone.offset(f)}return{ts:f,o:c}}
|
|
|
1610
1633
|
function Xt(e,n,r,t,i,u){var a=r.setZone,s=r.zone;if(e&&Object.keys(e).length!==0||n){var o=n||s,f=gi.fromObject(e,__assign(__assign({},r),{zone:o,specificOffset:u}));return a?f:f.setZone(s)}else{return gi.invalid(new Le("unparsable",'the input "'.concat(i,"\" can't be parsed as ").concat(t)))}}
|
|
1611
1634
|
// if you want to output a technical format (e.g. RFC 2822), this helper
|
|
1612
1635
|
// helps handle the details
|
|
1613
|
-
function ei(e,n,r){if(r===void 0){r=true}return e.isValid?Kn.create(de.create("en-US"),{allowZ:r,forceSimple:true}).formatDateTimeFromString(e,n):null}function ni(e,n){var
|
|
1636
|
+
function ei(e,n,r){if(r===void 0){r=true}return e.isValid?Kn.create(de.create("en-US"),{allowZ:r,forceSimple:true}).formatDateTimeFromString(e,n):null}function ni(e,n,r){var t=e.c.year>9999||e.c.year<0;var i="";if(t&&e.c.year>=0)i+="+";i+=vn(e.c.year,t?6:4);if(r==="year")return i;if(n){i+="-";i+=vn(e.c.month);if(r==="month")return i;i+="-"}else{i+=vn(e.c.month);if(r==="month")return i}i+=vn(e.c.day);return i}function ri(e,n,r,t,i,u,a){var s=!r||e.c.millisecond!==0||e.c.second!==0,o="";switch(a){case"day":case"month":case"year":break;default:o+=vn(e.c.hour);if(a==="hour")break;if(n){o+=":";o+=vn(e.c.minute);if(a==="minute")break;if(s){o+=":";o+=vn(e.c.second)}}else{o+=vn(e.c.minute);if(a==="minute")break;if(s){o+=vn(e.c.second)}}if(a==="second")break;if(s&&(!t||e.c.millisecond!==0)){o+=".";o+=vn(e.c.millisecond,3)}}if(i){if(e.isOffsetFixed&&e.offset===0&&!u){o+="Z"}else if(e.o<0){o+="-";o+=vn(Math.trunc(-e.o/60));o+=":";o+=vn(Math.trunc(-e.o%60))}else{o+="+";o+=vn(Math.trunc(e.o/60));o+=":";o+=vn(Math.trunc(e.o%60))}}if(u){o+="["+e.zone.ianaName+"]"}return o}
|
|
1614
1637
|
// defaults for unspecified units in the supported calendars
|
|
1615
1638
|
var ti={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},ii={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},ui={ordinal:1,hour:0,minute:0,second:0,millisecond:0};
|
|
1616
1639
|
// Units in the supported calendars, sorted by bigness
|
|
@@ -1648,7 +1671,7 @@ if(e.type!=="iana"){return e.offset(mi)}var n=e.name;var r=bi.get(n);if(r===unde
|
|
|
1648
1671
|
// are present, and so on.
|
|
1649
1672
|
function hi(e,n){var r;var t=ye(n.zone,Ze.defaultZone);if(!t.isValid){return gi.invalid(Gt(t))}var i=de.fromObject(n);var u,a;
|
|
1650
1673
|
// assume we have the higher-order units
|
|
1651
|
-
if(!Qe(e.year)){for(var s=0,o=ai;s<o.length;s++){var f=o[s];if(Qe(e[f])){e[f]=ti[f]}}var c=Be(e)||Ke(e);if(c){return gi.invalid(c)}var l=li(t);r=Kt(e,l,t),u=r[0],a=r[1]}else{u=Ze.now()}return new gi({ts:u,zone:t,loc:i,o:a})}function vi(e,n,r){var t=Qe(r.round)?true:r.round,i=function(e,
|
|
1674
|
+
if(!Qe(e.year)){for(var s=0,o=ai;s<o.length;s++){var f=o[s];if(Qe(e[f])){e[f]=ti[f]}}var c=Be(e)||Ke(e);if(c){return gi.invalid(c)}var l=li(t);r=Kt(e,l,t),u=r[0],a=r[1]}else{u=Ze.now()}return new gi({ts:u,zone:t,loc:i,o:a})}function vi(e,n,r){var t=Qe(r.round)?true:r.round,i=Qe(r.rounding)?"trunc":r.rounding,u=function(e,u){e=gn(e,t||r.calendary?0:2,r.calendary?"round":i);var a=n.loc.clone(r).relFormatter(r);return a.format(e,u)},a=function(t){if(r.calendary){if(!n.hasSame(e,t)){return n.startOf(t).diff(e.startOf(t),t).get(t)}else return 0}else{return n.diff(e,t).get(t)}};if(r.unit){return u(a(r.unit),r.unit)}for(var s=0,o=r.units;s<o.length;s++){var f=o[s];var c=a(f);if(Math.abs(c)>=1){return u(c,f)}}return u(e>n?-0:0,r.units[r.units.length-1])}function di(e){var n={},r;if(e.length>0&&typeof e[e.length-1]==="object"){n=e[e.length-1];r=Array.from(e).slice(0,e.length-1)}else{r=Array.from(e)}return[n,r]}
|
|
1652
1675
|
/**
|
|
1653
1676
|
* Timestamp to use for cached zone offset guesses (exposed for test)
|
|
1654
1677
|
*/var mi;
|
|
@@ -1783,7 +1806,7 @@ var s=Xe(e.o)&&!e.old?e.o:r.offset(this.ts);i=Bt(this.ts,s);t=Number.isNaN(i.yea
|
|
|
1783
1806
|
* @param {string} options.numberingSystem - the numbering system to set on the resulting DateTime instance
|
|
1784
1807
|
* @param {string} options.weekSettings - the week settings to set on the resulting DateTime instance
|
|
1785
1808
|
* @return {DateTime}
|
|
1786
|
-
*/e.fromMillis=function(n,r){if(r===void 0){r={}}if(!Xe(n)){throw new s("fromMillis requires a numerical input, but received a ".concat(typeof n," with value ").concat(n))}else if(n<-
|
|
1809
|
+
*/e.fromMillis=function(n,r){if(r===void 0){r={}}if(!Xe(n)){throw new s("fromMillis requires a numerical input, but received a ".concat(typeof n," with value ").concat(n))}else if(n<-Jt||n>Jt){
|
|
1787
1810
|
// this isn't perfect because we can still end up out of range because of additional shifting, but it's a start
|
|
1788
1811
|
return e.invalid("Timestamp out of range")}else{return new e({ts:n,zone:ye(r.zone,Ze.defaultZone),loc:de.fromObject(r)})}};
|
|
1789
1812
|
/**
|
|
@@ -1837,13 +1860,13 @@ return e.invalid("Timestamp out of range")}else{return new e({ts:n,zone:ye(r.zon
|
|
|
1837
1860
|
// otherwise just use weeks or ordinals or gregorian, depending on what's specified
|
|
1838
1861
|
if((m||h)&&b){throw new u("Can't mix weekYear/weekNumber units with year/month/day or ordinals")}if(d&&h){throw new u("Can't mix ordinal dates with month/day")}var g=b||a.weekday&&!m;
|
|
1839
1862
|
// configure ourselves to deal with gregorian dates or week stuff
|
|
1840
|
-
var y,w,_=Bt(c,l);if(g){y=si;w=ii;_=
|
|
1863
|
+
var y,w,_=Bt(c,l);if(g){y=si;w=ii;_=Ue(_,o,f)}else if(h){y=oi;w=ui;_=Ge(_)}else{y=ai;w=ti}
|
|
1841
1864
|
// set default values for missing stuff
|
|
1842
1865
|
var O=false;for(var M=0,j=y;M<j.length;M++){var p=j[M];var N=a[p];if(!Qe(N)){O=true}else if(O){a[p]=w[p]}else{a[p]=_[p]}}
|
|
1843
1866
|
// make sure the values we have are in range
|
|
1844
1867
|
var k=g?$e(a,o,f):h?Ve(a):Be(a),T=k||Ke(a);if(T){return e.invalid(T)}
|
|
1845
1868
|
// compute the actual time
|
|
1846
|
-
var E=g?
|
|
1869
|
+
var E=g?Je(a,o,f):h?Ye(a):a,S=Kt(E,l,t),D=S[0],I=S[1],x=new e({ts:D,zone:t,o:I,loc:i});
|
|
1847
1870
|
// gregorian data + weekday serves only to validate
|
|
1848
1871
|
if(a.weekday&&m&&n.weekday!==x.weekday){return e.invalid("mismatched weekday","you can't specify both a weekday of ".concat(a.weekday," and a date of ").concat(x.toISO()))}if(!x.isValid){return e.invalid(x.invalid)}return x};
|
|
1849
1872
|
/**
|
|
@@ -1862,7 +1885,7 @@ if(a.weekday&&m&&n.weekday!==x.weekday){return e.invalid("mismatched weekday","y
|
|
|
1862
1885
|
* @example DateTime.fromISO('2016-05-25T09:08:34.123', {zone: 'utc'})
|
|
1863
1886
|
* @example DateTime.fromISO('2016-W05-4')
|
|
1864
1887
|
* @return {DateTime}
|
|
1865
|
-
*/e.fromISO=function(e,n){if(n===void 0){n={}}var r=
|
|
1888
|
+
*/e.fromISO=function(e,n){if(n===void 0){n={}}var r=Rr(e),t=r[0],i=r[1];return Xt(t,i,n,"ISO 8601",e)};
|
|
1866
1889
|
/**
|
|
1867
1890
|
* Create a DateTime from an RFC 2822 string
|
|
1868
1891
|
* @param {string} text - the RFC 2822 string
|
|
@@ -1877,7 +1900,7 @@ if(a.weekday&&m&&n.weekday!==x.weekday){return e.invalid("mismatched weekday","y
|
|
|
1877
1900
|
* @example DateTime.fromRFC2822('Fri, 25 Nov 2016 13:23:12 +0600')
|
|
1878
1901
|
* @example DateTime.fromRFC2822('25 Nov 2016 13:23 Z')
|
|
1879
1902
|
* @return {DateTime}
|
|
1880
|
-
*/e.fromRFC2822=function(e,n){if(n===void 0){n={}}var r=
|
|
1903
|
+
*/e.fromRFC2822=function(e,n){if(n===void 0){n={}}var r=Ur(e),t=r[0],i=r[1];return Xt(t,i,n,"RFC 2822",e)};
|
|
1881
1904
|
/**
|
|
1882
1905
|
* Create a DateTime from an HTTP header date
|
|
1883
1906
|
* @see https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1
|
|
@@ -1893,7 +1916,7 @@ if(a.weekday&&m&&n.weekday!==x.weekday){return e.invalid("mismatched weekday","y
|
|
|
1893
1916
|
* @example DateTime.fromHTTP('Sunday, 06-Nov-94 08:49:37 GMT')
|
|
1894
1917
|
* @example DateTime.fromHTTP('Sun Nov 6 08:49:37 1994')
|
|
1895
1918
|
* @return {DateTime}
|
|
1896
|
-
*/e.fromHTTP=function(e,n){if(n===void 0){n={}}var r=
|
|
1919
|
+
*/e.fromHTTP=function(e,n){if(n===void 0){n={}}var r=Jr(e),t=r[0],i=r[1];return Xt(t,i,n,"HTTP",n)};
|
|
1897
1920
|
/**
|
|
1898
1921
|
* Create a DateTime from an input string and format string.
|
|
1899
1922
|
* Defaults to en-US if no locale has been specified, regardless of the system's locale. For a table of tokens and their interpretations, see [here](https://moment.github.io/luxon/#/parsing?id=table-of-tokens).
|
|
@@ -1948,7 +1971,7 @@ if(a.weekday&&m&&n.weekday!==x.weekday){return e.invalid("mismatched weekday","y
|
|
|
1948
1971
|
* @param formatOpts
|
|
1949
1972
|
* @param localeOpts
|
|
1950
1973
|
* @returns {string}
|
|
1951
|
-
*/e.parseFormatForOpts=function(e,n){if(n===void 0){n={}}var r=
|
|
1974
|
+
*/e.parseFormatForOpts=function(e,n){if(n===void 0){n={}}var r=Rt(e,de.fromObject(n));return!r?null:r.map((function(e){return e?e.val:null})).join("")};
|
|
1952
1975
|
/**
|
|
1953
1976
|
* Produce the the fully expanded format token for the locale
|
|
1954
1977
|
* Does NOT quote characters, so quoted tokens will not round trip correctly
|
|
@@ -2264,7 +2287,7 @@ get:function(){return this.isValid?jn(this.localWeekYear,this.loc.getMinDaysInFi
|
|
|
2264
2287
|
* @example dt.set({ weekday: 5 })
|
|
2265
2288
|
* @example dt.set({ year: 2005, ordinal: 234 })
|
|
2266
2289
|
* @return {DateTime}
|
|
2267
|
-
*/e.prototype.set=function(e){if(!this.isValid)return this;var n=En(e,ci);var r=Pe(n,this.loc),t=r.minDaysInFirstWeek,i=r.startOfWeek;var a=!Qe(n.weekYear)||!Qe(n.weekNumber)||!Qe(n.weekday),s=!Qe(n.ordinal),o=!Qe(n.year),f=!Qe(n.month)||!Qe(n.day),c=o||f,l=n.weekYear||n.weekNumber;if((c||s)&&l){throw new u("Can't mix weekYear/weekNumber units with year/month/day or ordinals")}if(f&&s){throw new u("Can't mix ordinal dates with month/day")}var h;if(a){h=
|
|
2290
|
+
*/e.prototype.set=function(e){if(!this.isValid)return this;var n=En(e,ci);var r=Pe(n,this.loc),t=r.minDaysInFirstWeek,i=r.startOfWeek;var a=!Qe(n.weekYear)||!Qe(n.weekNumber)||!Qe(n.weekday),s=!Qe(n.ordinal),o=!Qe(n.year),f=!Qe(n.month)||!Qe(n.day),c=o||f,l=n.weekYear||n.weekNumber;if((c||s)&&l){throw new u("Can't mix weekYear/weekNumber units with year/month/day or ordinals")}if(f&&s){throw new u("Can't mix ordinal dates with month/day")}var h;if(a){h=Je(__assign(__assign({},Ue(this.c,t,i)),n),t,i)}else if(!Qe(n.ordinal)){h=Ye(__assign(__assign({},Ge(this.c)),n))}else{h=__assign(__assign({},this.toObject()),n);
|
|
2268
2291
|
// if we didn't set the day but we ended up on an overflow date,
|
|
2269
2292
|
// use the last day of the right month
|
|
2270
2293
|
if(Qe(n.day)){h.day=Math.min(_n(h.year,h.month),h.day)}}var v=Kt(h,this.o,this.zone),d=v[0],m=v[1];return $t(this,{ts:d,o:m})};
|
|
@@ -2335,7 +2358,7 @@ case"seconds":u.millisecond=0;break;
|
|
|
2335
2358
|
* @example DateTime.now().toFormat('yyyy LLL dd', { locale: "fr" }) //=> '2017 avr. 22'
|
|
2336
2359
|
* @example DateTime.now().toFormat("HH 'hours and' mm 'minutes'") //=> '20 hours and 55 minutes'
|
|
2337
2360
|
* @return {string}
|
|
2338
|
-
*/e.prototype.toFormat=function(e,n){if(n===void 0){n={}}return this.isValid?Kn.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,e):
|
|
2361
|
+
*/e.prototype.toFormat=function(e,n){if(n===void 0){n={}}return this.isValid?Kn.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,e):Ut};
|
|
2339
2362
|
/**
|
|
2340
2363
|
* Returns a localized string representing this date. Accepts the same options as the Intl.DateTimeFormat constructor and any presets defined by Luxon, such as `DateTime.DATE_FULL` or `DateTime.TIME_SIMPLE`.
|
|
2341
2364
|
* The exact behavior of this method is browser-specific, but in general it will return an appropriate representation
|
|
@@ -2354,7 +2377,7 @@ case"seconds":u.millisecond=0;break;
|
|
|
2354
2377
|
* @example DateTime.now().toLocaleString({ weekday: 'short', month: 'short', day: '2-digit', hour: '2-digit', minute: '2-digit' }); //=> 'Thu, Apr 20, 11:27 AM'
|
|
2355
2378
|
* @example DateTime.now().toLocaleString({ hour: '2-digit', minute: '2-digit', hourCycle: 'h23' }); //=> '11:32'
|
|
2356
2379
|
* @return {string}
|
|
2357
|
-
*/e.prototype.toLocaleString=function(e,n){if(e===void 0){e=h}if(n===void 0){n={}}return this.isValid?Kn.create(this.loc.clone(n),e).formatDateTime(this):
|
|
2380
|
+
*/e.prototype.toLocaleString=function(e,n){if(e===void 0){e=h}if(n===void 0){n={}}return this.isValid?Kn.create(this.loc.clone(n),e).formatDateTime(this):Ut};
|
|
2358
2381
|
/**
|
|
2359
2382
|
* Returns an array of format "parts", meaning individual tokens along with metadata. This is allows callers to post-process individual sections of the formatted output.
|
|
2360
2383
|
* Defaults to the system's locale if no locale has been specified
|
|
@@ -2376,20 +2399,25 @@ case"seconds":u.millisecond=0;break;
|
|
|
2376
2399
|
* @param {boolean} [opts.includeOffset=true] - include the offset, such as 'Z' or '-04:00'
|
|
2377
2400
|
* @param {boolean} [opts.extendedZone=false] - add the time zone format extension
|
|
2378
2401
|
* @param {string} [opts.format='extended'] - choose between the basic and extended format
|
|
2402
|
+
* @param {string} [opts.precision='milliseconds'] - truncate output to desired presicion: 'years', 'months', 'days', 'hours', 'minutes', 'seconds' or 'milliseconds'. When precision and suppressSeconds or suppressMilliseconds are used together, precision sets the maximum unit shown in the output, however seconds or milliseconds will still be suppressed if they are 0.
|
|
2379
2403
|
* @example DateTime.utc(1983, 5, 25).toISO() //=> '1982-05-25T00:00:00.000Z'
|
|
2380
2404
|
* @example DateTime.now().toISO() //=> '2017-04-22T20:47:05.335-04:00'
|
|
2381
2405
|
* @example DateTime.now().toISO({ includeOffset: false }) //=> '2017-04-22T20:47:05.335'
|
|
2382
2406
|
* @example DateTime.now().toISO({ format: 'basic' }) //=> '20170422T204705.335-0400'
|
|
2407
|
+
* @example DateTime.now().toISO({ precision: 'day' }) //=> '2017-04-22Z'
|
|
2408
|
+
* @example DateTime.now().toISO({ precision: 'minute' }) //=> '2017-04-22T20:47Z'
|
|
2383
2409
|
* @return {string|null}
|
|
2384
|
-
*/e.prototype.toISO=function(e){var n=e===void 0?{}:e,r=n.format,t=r===void 0?"extended":r,i=n.suppressSeconds,u=i===void 0?false:i,a=n.suppressMilliseconds,s=a===void 0?false:a,o=n.includeOffset,f=o===void 0?true:o,c=n.extendedZone,l=c===void 0?false:c;if(!this.isValid){return null}var
|
|
2410
|
+
*/e.prototype.toISO=function(e){var n=e===void 0?{}:e,r=n.format,t=r===void 0?"extended":r,i=n.suppressSeconds,u=i===void 0?false:i,a=n.suppressMilliseconds,s=a===void 0?false:a,o=n.includeOffset,f=o===void 0?true:o,c=n.extendedZone,l=c===void 0?false:c,h=n.precision,v=h===void 0?"milliseconds":h;if(!this.isValid){return null}v=fi(v);var d=t==="extended";var m=ni(this,d,v);if(ai.indexOf(v)>=3)m+="T";m+=ri(this,d,u,s,f,l,v);return m};
|
|
2385
2411
|
/**
|
|
2386
2412
|
* Returns an ISO 8601-compliant string representation of this DateTime's date component
|
|
2387
2413
|
* @param {Object} opts - options
|
|
2388
2414
|
* @param {string} [opts.format='extended'] - choose between the basic and extended format
|
|
2415
|
+
* @param {string} [opts.precision='day'] - truncate output to desired precision: 'years', 'months', or 'days'.
|
|
2389
2416
|
* @example DateTime.utc(1982, 5, 25).toISODate() //=> '1982-05-25'
|
|
2390
2417
|
* @example DateTime.utc(1982, 5, 25).toISODate({ format: 'basic' }) //=> '19820525'
|
|
2418
|
+
* @example DateTime.utc(1982, 5, 25).toISODate({ precision: 'month' }) //=> '1982-05'
|
|
2391
2419
|
* @return {string|null}
|
|
2392
|
-
*/e.prototype.toISODate=function(e){var n=e===void 0?{}:e,r=n.format,t=r===void 0?"extended":r;if(!this.isValid){return null}return ni(this,t==="extended")};
|
|
2420
|
+
*/e.prototype.toISODate=function(e){var n=e===void 0?{}:e,r=n.format,t=r===void 0?"extended":r,i=n.precision,u=i===void 0?"day":i;if(!this.isValid){return null}return ni(this,t==="extended",fi(u))};
|
|
2393
2421
|
/**
|
|
2394
2422
|
* Returns an ISO 8601-compliant string representation of this DateTime's week date
|
|
2395
2423
|
* @example DateTime.utc(1982, 5, 25).toISOWeekDate() //=> '1982-W21-2'
|
|
@@ -2404,12 +2432,14 @@ case"seconds":u.millisecond=0;break;
|
|
|
2404
2432
|
* @param {boolean} [opts.extendedZone=true] - add the time zone format extension
|
|
2405
2433
|
* @param {boolean} [opts.includePrefix=false] - include the `T` prefix
|
|
2406
2434
|
* @param {string} [opts.format='extended'] - choose between the basic and extended format
|
|
2435
|
+
* @param {string} [opts.precision='milliseconds'] - truncate output to desired presicion: 'hours', 'minutes', 'seconds' or 'milliseconds'. When precision and suppressSeconds or suppressMilliseconds are used together, precision sets the maximum unit shown in the output, however seconds or milliseconds will still be suppressed if they are 0.
|
|
2407
2436
|
* @example DateTime.utc().set({ hour: 7, minute: 34 }).toISOTime() //=> '07:34:19.361Z'
|
|
2408
2437
|
* @example DateTime.utc().set({ hour: 7, minute: 34, seconds: 0, milliseconds: 0 }).toISOTime({ suppressSeconds: true }) //=> '07:34Z'
|
|
2409
2438
|
* @example DateTime.utc().set({ hour: 7, minute: 34 }).toISOTime({ format: 'basic' }) //=> '073419.361Z'
|
|
2410
2439
|
* @example DateTime.utc().set({ hour: 7, minute: 34 }).toISOTime({ includePrefix: true }) //=> 'T07:34:19.361Z'
|
|
2440
|
+
* @example DateTime.utc().set({ hour: 7, minute: 34, second: 56 }).toISOTime({ precision: 'minute' }) //=> '07:34Z'
|
|
2411
2441
|
* @return {string}
|
|
2412
|
-
*/e.prototype.toISOTime=function(e){var n=e===void 0?{}:e,r=n.suppressMilliseconds,t=r===void 0?false:r,i=n.suppressSeconds,u=i===void 0?false:i,a=n.includeOffset,s=a===void 0?true:a,o=n.includePrefix,f=o===void 0?false:o,c=n.extendedZone,l=c===void 0?false:c,h=n.format,v=h===void 0?"extended":h;if(!this.isValid){return null}var
|
|
2442
|
+
*/e.prototype.toISOTime=function(e){var n=e===void 0?{}:e,r=n.suppressMilliseconds,t=r===void 0?false:r,i=n.suppressSeconds,u=i===void 0?false:i,a=n.includeOffset,s=a===void 0?true:a,o=n.includePrefix,f=o===void 0?false:o,c=n.extendedZone,l=c===void 0?false:c,h=n.format,v=h===void 0?"extended":h,d=n.precision,m=d===void 0?"milliseconds":d;if(!this.isValid){return null}m=fi(m);var b=f&&ai.indexOf(m)>=3?"T":"";return b+ri(this,v==="extended",u,t,s,l,m)};
|
|
2413
2443
|
/**
|
|
2414
2444
|
* Returns an RFC 2822-compatible string representation of this DateTime
|
|
2415
2445
|
* @example DateTime.utc(2014, 7, 13).toRFC2822() //=> 'Sun, 13 Jul 2014 00:00:00 +0000'
|
|
@@ -2456,7 +2486,7 @@ case"seconds":u.millisecond=0;break;
|
|
|
2456
2486
|
/**
|
|
2457
2487
|
* Returns a string representation of this DateTime appropriate for debugging
|
|
2458
2488
|
* @return {string}
|
|
2459
|
-
*/e.prototype.toString=function(){return this.isValid?this.toISO():
|
|
2489
|
+
*/e.prototype.toString=function(){return this.isValid?this.toISO():Ut};
|
|
2460
2490
|
/**
|
|
2461
2491
|
* Returns a string representation of this DateTime appropriate for the REPL.
|
|
2462
2492
|
* @return {string}
|
|
@@ -2545,12 +2575,13 @@ case"seconds":u.millisecond=0;break;
|
|
|
2545
2575
|
*/e.prototype.equals=function(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)};
|
|
2546
2576
|
/**
|
|
2547
2577
|
* Returns a string representation of a this time relative to now, such as "in two days". Can only internationalize if your
|
|
2548
|
-
* platform supports Intl.RelativeTimeFormat. Rounds
|
|
2578
|
+
* platform supports Intl.RelativeTimeFormat. Rounds towards zero by default.
|
|
2549
2579
|
* @param {Object} options - options that affect the output
|
|
2550
2580
|
* @param {DateTime} [options.base=DateTime.now()] - the DateTime to use as the basis to which this time is compared. Defaults to now.
|
|
2551
2581
|
* @param {string} [options.style="long"] - the style of units, must be "long", "short", or "narrow"
|
|
2552
2582
|
* @param {string|string[]} options.unit - use a specific unit or array of units; if omitted, or an array, the method will pick the best unit. Use an array or one of "years", "quarters", "months", "weeks", "days", "hours", "minutes", or "seconds"
|
|
2553
2583
|
* @param {boolean} [options.round=true] - whether to round the numbers in the output.
|
|
2584
|
+
* @param {string} [options.rounding="trunc"] - rounding method to use when rounding the numbers in the output. Can be "trunc" (toward zero), "expand" (away from zero), "round", "floor", or "ceil".
|
|
2554
2585
|
* @param {number} [options.padding=0] - padding in milliseconds. This allows you to round up the result if it fits inside the threshold. Don't use in combination with {round: false} because the decimal output will include the padding.
|
|
2555
2586
|
* @param {string} options.locale - override the locale of this DateTime
|
|
2556
2587
|
* @param {string} options.numberingSystem - override the numberingSystem of this DateTime. The Intl system may choose not to honor this
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{o as t,f as i,s,a as e,c as r,b as h}from"./p-BaFfIZGB.js";import{c as a}from"./p-D8eZRaSQ.js";import{s as o,h as n}from"./p-Cvhn9asj.js";import{B as l}from"./p-CPRkNQdE.js";const c=["dialog","grid","listbox","menu","tree"],d=["button","combobox","link","menuitem","tab","treeitem"],m=["A","BUTTON","INPUT","SELECT","SUMMARY","TEXTAREA"];class p{constructor(a,p,u="menu"){this._wired=!1,this._written=[],this._labelledByOurs=!1,this.unwireCaller=()=>{this._written.forEach((t=>this._caller.removeAttribute(t))),this._written=[],this._labelledByOurs&&(this._host.removeAttribute("aria-labelledby"),this._labelledByOurs=!1)},this.writeOnCaller=(t,i)=>{this._caller.hasAttribute(t)||(this._caller.setAttribute(t,i),this._written.push(t))},this.sameRoot=()=>this._caller.getRootNode()===this._host.getRootNode(),this.callerAcceptsWiring=()=>{const t=this._caller.getAttribute("role");return null!==t?d.includes(t):m.includes(this._caller.tagName)},this.wireCaller=async()=>{var t,i,s;const e=this._caller;if(l.isBrowser&&e.tagName.startsWith("MDS-")&&(await customElements.whenDefined(e.tagName.toLowerCase()),await(null===(i=(t=e).componentOnReady)||void 0===i?void 0:i.call(t))),e!==this._caller)return;if("tooltip"===this._role){if(this.sameRoot()){const t=o(this._host,"id",n("mds-tooltip"));this.writeOnCaller("label"===this._host.relation?"aria-labelledby":"aria-describedby",t)}return}if(!this.callerAcceptsWiring())return;if(this.sameRoot()){const t=o(this._host,"id",n("mds-dropdown")),i=o(e,"id",n("mds-dropdown-caller"));this.writeOnCaller("aria-controls",t),this._labelledByOurs=!this._host.hasAttribute("aria-labelledby"),o(this._host,"aria-labelledby",i)}const r=null!==(s=this._host.getAttribute("role"))&&void 0!==s?s:"";c.includes(r)&&this.writeOnCaller("aria-haspopup",r),e.hasAttribute("aria-expanded")||this._written.push("aria-expanded"),this._wired=!0,this.syncExpanded(this._host.visible)},this.arrowInset=(t,i)=>{const{arrow:s}=t,e={bottom:"",left:"",right:"",top:""};if(void 0===s)return{};switch(i){case"bottom":e.left=null!==s.x?`${s.x}px`:"",e.top="100%";break;case"left":e.right="100%",e.top=null!==s.y?`${s.y}px`:"";break;case"right":e.left="100%",e.top=null!==s.y?`${s.y}px`:"";break;case"top":e.left=null!==s.x?`${s.x}px`:"",e.top=""}return e},this.arrowTransform=t=>{let i=!this._host.hideArrow&&this._host.visible?"scale(1)":"scale(0)";switch(t){case"bottom":i=`rotate(180deg) ${i} translate(0, -100%)`;break;case"left":i=`rotate(-90deg) ${i} translate(50%, -50%)`;break;case"right":i=`rotate(90deg) ${i} translate(-50%, -50%)`;break;case"top":i=`rotate(0deg) ${i} translate(0, 0)`}return{transform:i}},this.arrowTransformOrigin=t=>{switch(t){case"bottom":default:return{transformOrigin:"center top"};case"left":return{transformOrigin:"right center"};case"right":return{transformOrigin:"left center"};case"top":return{transformOrigin:"center bottom"}}},this.arrowOrigin=(t,i)=>{const{arrow:s}=i;if(!this.arrowEl||this._host.hideArrow||void 0===s)return null;const e=t.split("-")[0];if(null!=s.x){const t=s.x+this.arrowEl.offsetWidth/2;if("bottom"===e)return`${t}px top`;if("top"===e)return`${t}px bottom`}if(null!=s.y){const t=s.y+this.arrowEl.offsetHeight/2;if("right"===e)return`left ${t}px`;if("left"===e)return`right ${t}px`}return null},this.convertToTransformOrigin=t=>({top:"center bottom",right:"left center",bottom:"center top",left:"right center","bottom-end":"top right","bottom-start":"top left","left-end":"right bottom","left-start":"right top","right-end":"left bottom","right-start":"left top","top-end":"bottom right","top-start":"bottom left"}[t]),this.calculatePosition=()=>{if(!this._caller)return;const h=new Array,a={};this._host.shiftPadding&&(a.padding=this._host.shiftPadding),this._host.offset&&h.push(t(this._host.offset)),this._host.disableAutoPlacement?this._host.flip&&h.push(i(a)):h.push(i(Object.assign(Object.assign({},a),{crossAxis:"alignment",fallbackAxisSideDirection:"end"}))),this._host.disableShift||h.push(s(a)),this.arrowEl&&!this._host.hideArrow&&h.push(e({element:this.arrowEl,padding:this._host.arrowPadding})),r(this._caller,this._host,{middleware:h,placement:this._host.placement,strategy:this._host.strategy}).then((({x:t,y:i,placement:s,middlewareData:e})=>{var r;const h=!this._host.hasAttribute("data-floating-placed");Object.assign(this._host.style,{left:`${t}px`,top:`${i}px`,transformOrigin:null!==(r=this.arrowOrigin(s,e))&&void 0!==r?r:this.convertToTransformOrigin(s),position:this._host.strategy}),h&&requestAnimationFrame((()=>this._host.setAttribute("data-floating-placed","")));const a={},o={top:"bottom",right:"left",bottom:"top",left:"right"}[s.split("-")[0]];o&&this.arrowEl&&(Object.assign(a,this.arrowTransform(o)),Object.assign(a,this.arrowInset(e,o)),Object.assign(a,this.arrowTransformOrigin(o)),Object.assign(this.arrowEl.style,a))}))},this.startWhenMeasurable=t=>{this._host.visible&&(0===this._host.offsetWidth&&t>0?requestAnimationFrame((()=>this.startWhenMeasurable(t-1))):this.cleanupAutoUpdate=h(this._caller,this._host,this.calculatePosition))},this._host=a,this.arrowEl=p,this._role=u}updateCaller(t){var i,s,e;const r=null!==(e=null===(s=null===(i=this._host.parentElement)||void 0===i?void 0:i.shadowRoot)||void 0===s?void 0:s.querySelector(t))&&void 0!==e?e:this._host.getRootNode().querySelector(t);return r?(this._caller&&this._caller!==r&&this.unwireCaller(),this._caller=r,this._wired=!1,o(this._host,"role",this._role),this.wireCaller(),r):(console.warn(`FloatingController: target not found: ${t}`),null)}rewire(){this._caller&&(this.unwireCaller(),this._wired=!1,this.wireCaller())}syncExpanded(t){this._wired&&this._caller.setAttribute("aria-expanded",`${t}`)}updatePosition(){this._host.visible&&(this.dismiss(),this.startWhenMeasurable(3))}dismiss(){this.cleanupAutoUpdate&&this.cleanupAutoUpdate()}}class u{constructor(t){this.defaultBackdropId="magma-backdrop",this.backdropBackgroundVisible="rgba(var(--magma-backdrop-color, 0 0 0) / var(--magma-backdrop-opacity, 0.1))",this.backdropBackgroundHidden="rgba(var(--magma-backdrop-color, 0 0 0) / 0)",this.backdropId=null!=t?t:this.defaultBackdropId,this.cssBackdropZIndex=`var(--${this.backdropId}-z-index, 4000)`,this.cssBackdropDuration=`var(--${this.backdropId}-animation-duration, 300ms)`}attachBackdrop(t={}){this.backdropEl||(this.backdropEl=document.createElement("div"),this.backdropEl.className=this.backdropId,this.backdropEl.style.inset="0",this.backdropEl.style.pointerEvents="none",this.backdropEl.style.position="fixed"),this.duration=t.duration||this.cssBackdropDuration,this.backdropEl.style.transition=`background-color ${this.duration} ease-out`,this.backdropEl.style.zIndex=t.zIndex||this.cssBackdropZIndex,this.backdropEl.style.backgroundColor=this.backdropBackgroundHidden,document.body.appendChild(this.backdropEl),clearTimeout(this.backdropTimer),this.backdropTimer=setTimeout((()=>{this.backdropEl.style.backgroundColor=this.backdropBackgroundVisible}),1)}detachBackdrop(){var t;this.backdropEl&&(this.backdropEl.style.backgroundColor="transparent",clearTimeout(this.backdropTimer),this.backdropTimer=setTimeout((()=>{this.backdropEl.remove()}),a(null!==(t=this.duration)&&void 0!==t?t:this.cssBackdropDuration)))}}export{u as B,p as F}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-CmzGV0XD.system.js"],(function(e){"use strict";var t,i,r;return{setters:[function(e){t=e.r;i=e.h;r=e.e}],execute:function(){var a=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-price-table-features,mds-price-table-header,mds-price-table-list):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*600)}"};var n=e("mds_price_table",/** @class */function(){function e(e){t(this,e)}e.prototype.render=function(){return i(r,{key:"e4da51ef603eedd6790e360ded6fba0bef194887"},i("slot",{key:"5e97c1ecdbfe5a322283f41a9b65af0179be8559"}))};return e}());n.style=a()}}}));
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
System.register(["./p-CmzGV0XD.system.js"],(function(e){"use strict";var r,a,t,n;return{setters:[function(e){r=e.r;a=e.h;t=e.e;n=e.g}],execute:function(){var o=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-date-range-preselection-default-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))/0);--mds-date-range-preselection-default-border:var(--magma-border-default,var(--border-neutral-default,196 196 196));--mds-date-range-preselection-default-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-date-range-preselection-selected-background:rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-date-range-preselection-selected-border:var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204));--mds-date-range-preselection-selected-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-date-range-preselection-hover-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-date-range-preselection-hover-border:var(--magma-wash-soft,var(--tone-neutral-10,237 237 237));--mds-date-range-preselection-hover-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-date-range-preselection-background:var(--mds-date-range-preselection-default-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))/0));--mds-date-range-preselection-border:var(--mds-date-range-preselection-default-border,var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-date-range-preselection-color:var(--mds-date-range-preselection-default-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));display:inline-flex;justify-self:start}:host .action{--mds-button-background:var(--mds-date-range-preselection-background);--mds-button-border-color-rgb:var(--mds-date-range-preselection-border);--mds-button-color:var(--mds-date-range-preselection-color)}:host .action:hover{--mds-date-range-preselection-background:var(--mds-date-range-preselection-hover-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));--mds-date-range-preselection-border:var(--mds-date-range-preselection-hover-border,var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-date-range-preselection-color:var(--mds-date-range-preselection-hover-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))))}:host([selected]) .action{--mds-date-range-preselection-background:var(--mds-date-range-preselection-selected-background,rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--mds-date-range-preselection-border:var(--mds-date-range-preselection-selected-border,var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-date-range-preselection-color:var(--mds-date-range-preselection-selected-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));pointer-events:none}"};var d=e("mds_input_date_range_preselection",/** @class */function(){function e(e){var a=this;r(this,e);this.onClick=function(e){var r;var t=(r=a.host)===null||r===void 0?void 0:r.closest("mds-input-date-range");
|
|
2
|
+
// outside a date range the click is the page's to handle, so it goes on
|
|
3
|
+
if(!t)return;e.stopPropagation();t.preselect({caller:a.host,start:a.start,end:a.end});a.selected=true}}e.prototype.componentWillLoad=function(){
|
|
4
|
+
// the slot of mds-input-date-range unless the author gave another one, as the `preselection`
|
|
5
|
+
// slot of mds-calendar: set on the host at every render, it overwrote the author's
|
|
6
|
+
if(!this.host.hasAttribute("slot")){this.host.setAttribute("slot","calendar-preselection")}};e.prototype.render=function(){return a(t,{key:"a607253e6243cbb4274d86fe0684e47b0c62648e"},a("mds-button",{key:"fe5dd43aaf6f608b6ecb19e457260d803b3226bd",onClick:this.onClick,class:"action",variant:"primary",tone:"strong"},a("slot",{key:"1befcdbdc4d6922cd0eb1d59b6f9cead4c7f2e0d"})))};Object.defineProperty(e.prototype,"host",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());d.style=o()}}}));
|