@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,i,r,e){function n(t){return t instanceof r?t:new r((function(i){i(t)}))}return new(r||(r=Promise))((function(r,o){function a(t){try{u(e.next(t))}catch(t){o(t)}}function s(t){try{u(e["throw"](t))}catch(t){o(t)}}function u(t){t.done?r(t.value):n(t.value).then(a,s)}u((e=e.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},e,n,o,a=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return a.next=s(0),a["throw"]=s(1),a["return"]=s(2),typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(i){return u([t,i])}}function u(s){if(e)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(r=0)),r)try{if(e=1,n&&(o=s[0]&2?n["return"]:s[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;if(n=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;n=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){r.label=s[1];break}if(s[0]===6&&r.label<o[1]){r.label=o[1];o=s;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(s);break}if(o[2])r.ops.pop();r.trys.pop();continue}s=i.call(t,r)}catch(t){s=[6,t];n=0}finally{e=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,i,r,e){function n(t){return t instanceof r?t:new r((function(i){i(t)}))}return new(r||(r=Promise))((function(r,o){function a(t){try{u(e.next(t))}catch(t){o(t)}}function s(t){try{u(e["throw"](t))}catch(t){o(t)}}function u(t){t.done?r(t.value):n(t.value).then(a,s)}u((e=e.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},e,n,o,a=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return a.next=s(0),a["throw"]=s(1),a["return"]=s(2),typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(i){return u([t,i])}}function u(s){if(e)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(r=0)),r)try{if(e=1,n&&(o=s[0]&2?n["return"]:s[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;if(n=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;n=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){r.label=s[1];break}if(s[0]===6&&r.label<o[1]){r.label=o[1];o=s;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(s);break}if(o[2])r.ops.pop();r.trys.pop();continue}s=i.call(t,r)}catch(t){s=[6,t];n=0}finally{e=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{o as offset,f as flip,s as shift,a as arrow,c as computePosition,b as autoUpdate}from"./floating-ui.dom-BaFfIZGB.js";import{c as cssDurationToMilliseconds}from"./unit-D8eZRaSQ.js";import{s as setAttributeIfEmpty,h as hashRandomValue}from"./aria-Cvhn9asj.js";import{B as Build}from"./index-CPRkNQdE.js";
|
|
2
2
|
/** Roles of a popup that `aria-haspopup` knows how to name: a panel that calls itself a `group` has none */var HASPOPUP_ROLES=["dialog","grid","listbox","menu","tree"];
|
|
3
3
|
/**
|
|
4
4
|
* A caller is wired only when it exposes a role that accepts the wiring: on a generic element
|
|
@@ -25,12 +25,14 @@ var __awaiter=this&&this.__awaiter||function(t,i,r,e){function n(t){return t ins
|
|
|
25
25
|
* of the caller, which names no element at all, on both sides and towards the caller itself.
|
|
26
26
|
* Our own callers are waited for first: an `mds-button` writes its `role="button"` in its own
|
|
27
27
|
* `componentDidLoad`, and which of the two components loads first is not guaranteed.
|
|
28
|
-
*/this.wireCaller=function(){return __awaiter(e,void 0,void 0,(function(){var t,i,r,e,n,o,a,s;return __generator(this,(function(
|
|
28
|
+
*/this.wireCaller=function(){return __awaiter(e,void 0,void 0,(function(){var t,i,r,e,n,o,a,s,u;return __generator(this,(function(f){switch(f.label){case 0:e=this._caller;if(!(Build.isBrowser&&e.tagName.startsWith("MDS-")))return[3/*break*/,3];return[4/*yield*/,customElements.whenDefined(e.tagName.toLowerCase())];case 1:f.sent();return[4/*yield*/,(i=(t=e).componentOnReady)===null||i===void 0?void 0:i.call(t)];case 2:f.sent();f.label=3;case 3:
|
|
29
29
|
// a target change while we waited has already wired another caller
|
|
30
30
|
if(e!==this._caller)return[2/*return*/];
|
|
31
|
-
// a tooltip is not a popup its caller controls: it
|
|
32
|
-
//
|
|
33
|
-
|
|
31
|
+
// a tooltip is not a popup its caller controls: it describes it, a description reaching a
|
|
32
|
+
// screen reader whatever role the caller has, generic included, or it names it, when its text
|
|
33
|
+
// is the only visible name of an icon-only control. A caller that already has a name of its
|
|
34
|
+
// own keeps it, `writeOnCaller` leaving an `aria-labelledby` that is there alone.
|
|
35
|
+
if(this._role==="tooltip"){if(this.sameRoot()){n=setAttributeIfEmpty(this._host,"id",hashRandomValue("mds-tooltip"));o=this._host.relation==="label"?"aria-labelledby":"aria-describedby";this.writeOnCaller(o,n)}return[2/*return*/]}if(!this.callerAcceptsWiring())return[2/*return*/];if(this.sameRoot()){a=setAttributeIfEmpty(this._host,"id",hashRandomValue("mds-dropdown"));s=setAttributeIfEmpty(e,"id",hashRandomValue("mds-dropdown-caller"));this.writeOnCaller("aria-controls",a);this._labelledByOurs=!this._host.hasAttribute("aria-labelledby");setAttributeIfEmpty(this._host,"aria-labelledby",s)}u=(r=this._host.getAttribute("role"))!==null&&r!==void 0?r:"";if(HASPOPUP_ROLES.includes(u)){this.writeOnCaller("aria-haspopup",u)}if(!e.hasAttribute("aria-expanded"))this._written.push("aria-expanded");this._wired=true;this.syncExpanded(this._host.visible);return[2/*return*/]}}))}))};this.arrowInset=function(t,i){var r=t.arrow;var e={bottom:"",left:"",right:"",top:""};if(r===undefined){return{}}switch(i){case"bottom":e.left=r.x!==null?"".concat(r.x,"px"):"";e.top="100%";break;case"left":e.right="100%";e.top=r.y!==null?"".concat(r.y,"px"):"";break;case"right":e.left="100%";e.top=r.y!==null?"".concat(r.y,"px"):"";break;case"top":e.left=r.x!==null?"".concat(r.x,"px"):"";e.top="";break}return e};this.arrowTransform=function(t){var i=!e._host.hideArrow&&e._host.visible?"scale(1)":"scale(0)";switch(t){case"bottom":i="rotate(180deg) ".concat(i," translate(0, -100%)");break;case"left":i="rotate(-90deg) ".concat(i," translate(50%, -50%)");break;case"right":i="rotate(90deg) ".concat(i," translate(-50%, -50%)");break;case"top":i="rotate(0deg) ".concat(i," translate(0, 0)");break}return{transform:i}};this.arrowTransformOrigin=function(t){switch(t){case"bottom":return{transformOrigin:"center top"};case"left":return{transformOrigin:"right center"};case"right":return{transformOrigin:"left center"};case"top":return{transformOrigin:"center bottom"};default:return{transformOrigin:"center top"}}};
|
|
34
36
|
/**
|
|
35
37
|
* The pivot of the opening animation is the arrow, which the `arrow` middleware
|
|
36
38
|
* parks wherever it has to sit to keep pointing at the caller: after a shift it
|
|
@@ -38,7 +40,14 @@ if(this._role==="tooltip"){if(this.sameRoot()){n=setAttributeIfEmpty(this._host,
|
|
|
38
40
|
* the placement, so it answers `center top` for every bottom placement and the
|
|
39
41
|
* panel grows from a point that has nothing to do with the arrow - measured on a
|
|
40
42
|
* 408px panel pushed against the left edge, the two were 165px apart.
|
|
41
|
-
*/this.arrowOrigin=function(t,i){var r=i.arrow;if(!e.arrowEl||e._host.hideArrow||r===undefined){return null}var n=t.split("-")[0];if(r.x!==null&&r.x!==undefined){var o=r.x+e.arrowEl.offsetWidth/2;if(n==="bottom")return"".concat(o,"px top");if(n==="top")return"".concat(o,"px bottom")}if(r.y!==null&&r.y!==undefined){var a=r.y+e.arrowEl.offsetHeight/2;if(n==="right")return"left ".concat(a,"px");if(n==="left")return"right ".concat(a,"px")}return null};this.convertToTransformOrigin=function(t){var i={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"};return i[t]};this.calculatePosition=function(){if(!e._caller)return;var t=new Array;var i={};if(e._host.shiftPadding){i.padding=e._host.shiftPadding}if(
|
|
43
|
+
*/this.arrowOrigin=function(t,i){var r=i.arrow;if(!e.arrowEl||e._host.hideArrow||r===undefined){return null}var n=t.split("-")[0];if(r.x!==null&&r.x!==undefined){var o=r.x+e.arrowEl.offsetWidth/2;if(n==="bottom")return"".concat(o,"px top");if(n==="top")return"".concat(o,"px bottom")}if(r.y!==null&&r.y!==undefined){var a=r.y+e.arrowEl.offsetHeight/2;if(n==="right")return"left ".concat(a,"px");if(n==="left")return"right ".concat(a,"px")}return null};this.convertToTransformOrigin=function(t){var i={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"};return i[t]};this.calculatePosition=function(){if(!e._caller)return;var t=new Array;var i={};if(e._host.shiftPadding){i.padding=e._host.shiftPadding}if(e._host.offset){t.push(offset(e._host.offset))}
|
|
44
|
+
// With auto-placement, the default, `placement` is the preferred side: the panel moves to
|
|
45
|
+
// the opposite side, then to the sides across, only when it has no room there, which covers
|
|
46
|
+
// what `flip` adds. autoPlacement() took the side with the most room whatever `placement`
|
|
47
|
+
// said, so `placement` and `flip` did nothing unless auto-placement was turned off. The
|
|
48
|
+
// side is chosen on the main axis only: along the other one the panel is shifted, not moved
|
|
49
|
+
// to another side.
|
|
50
|
+
if(!e._host.disableAutoPlacement){t.push(flip(Object.assign(Object.assign({},i),{crossAxis:"alignment",fallbackAxisSideDirection:"end"})))}else if(e._host.flip){t.push(flip(i))}if(!e._host.disableShift){t.push(shift(i))}if(e.arrowEl&&!e._host.hideArrow){t.push(arrow({element:e.arrowEl,padding:e._host.arrowPadding}))}computePosition(e._caller,e._host,{middleware:t,placement:e._host.placement,strategy:e._host.strategy}).then((function(t){var i=t.x,r=t.y,n=t.placement,o=t.middlewareData;var a;
|
|
42
51
|
// The first placement must land instantly: until it happens the panel has no
|
|
43
52
|
// position at all, so animating left/top towards the caller would fly it in
|
|
44
53
|
// from the corner of the page. The mark goes on a frame LATER, because a
|
|
@@ -61,6 +70,12 @@ var n=(e=(r=(i=this._host.parentElement)===null||i===void 0?void 0:i.shadowRoot)
|
|
|
61
70
|
// the target may legitimately be absent (e.g. during SSR the document
|
|
62
71
|
// only contains the component subtree being serialized)
|
|
63
72
|
console.warn("FloatingController: target not found: ".concat(t));return null}if(this._caller&&this._caller!==n)this.unwireCaller();this._caller=n;this._wired=false;setAttributeIfEmpty(this._host,"role",this._role);void this.wireCaller();return n};
|
|
73
|
+
/**
|
|
74
|
+
* Takes back what the wiring wrote on the caller and writes it again, for a change of the host
|
|
75
|
+
* that changes what is written: the relation of a tooltip.
|
|
76
|
+
*/t.prototype.rewire=function(){if(!this._caller)return;this.unwireCaller();this._wired=false;void this.wireCaller()};
|
|
64
77
|
/** Whether the popup is open is state, not a default: it is rewritten at every change, so it
|
|
65
78
|
* cannot go through `setAttributeIfEmpty` */t.prototype.syncExpanded=function(t){if(this._wired)this._caller.setAttribute("aria-expanded","".concat(t))};t.prototype.updatePosition=function(){if(this._host.visible){this.dismiss();// to clean the old update function before update function
|
|
66
|
-
this.startWhenMeasurable(3)}};t.prototype.dismiss=function(){if(this.cleanupAutoUpdate)this.cleanupAutoUpdate()};return t}();var Backdrop=/** @class */function(){function t(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=t!==null&&t!==void 0?t:this.defaultBackdropId;this.cssBackdropZIndex="var(--".concat(this.backdropId,"-z-index, 4000)");this.cssBackdropDuration="var(--".concat(this.backdropId,"-animation-duration, 300ms)")}t.prototype.attachBackdrop=function(){var
|
|
79
|
+
this.startWhenMeasurable(3)}};t.prototype.dismiss=function(){if(this.cleanupAutoUpdate)this.cleanupAutoUpdate()};return t}();var Backdrop=/** @class */function(){function t(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=t!==null&&t!==void 0?t:this.defaultBackdropId;this.cssBackdropZIndex="var(--".concat(this.backdropId,"-z-index, 4000)");this.cssBackdropDuration="var(--".concat(this.backdropId,"-animation-duration, 300ms)")}t.prototype.attachBackdrop=function(t){var i=this;if(t===void 0){t={}}if(!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"}
|
|
80
|
+
// the detach waits for this one too, so it is kept until then
|
|
81
|
+
this.duration=t.duration||this.cssBackdropDuration;this.backdropEl.style.transition="background-color ".concat(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((function(){i.backdropEl.style.backgroundColor=i.backdropBackgroundVisible}),1)};t.prototype.detachBackdrop=function(){var t=this;var i;if(!this.backdropEl){return}this.backdropEl.style.backgroundColor="transparent";clearTimeout(this.backdropTimer);this.backdropTimer=setTimeout((function(){t.backdropEl.remove()}),cssDurationToMilliseconds((i=this.duration)!==null&&i!==void 0?i:this.cssBackdropDuration))};return t}();export{Backdrop as B,FloatingController as F};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Custom positioning reference element.
|
|
3
3
|
* @see https://floating-ui.com/docs/virtual-elements
|
|
4
4
|
*/
|
|
5
|
-
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))e[i]=t[i]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r["throw"](e))}catch(e){o(e)}}function u(e){e.done?n(e.value):i(e.value).then(a,s)}u((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,a=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return a.next=s(0),a["throw"]=s(1),a["return"]=s(2),typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(t){return u([e,t])}}function u(s){if(r)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(n=0)),n)try{if(r=1,i&&(o=s[0]&2?i["return"]:s[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;if(i=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;i=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){n.label=s[1];break}if(s[0]===6&&n.label<o[1]){n.label=o[1];o=s;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(s);break}if(o[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];i=0}finally{r=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __rest=this&&this.__rest||function(e,t){var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0)n[r]=e[r];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++){if(t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i]))n[r[i]]=e[r[i]]}return n};var __spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r<i;r++){if(o||!(r in t)){if(!o)o=Array.prototype.slice.call(t,0,r);o[r]=t[r]}}return e.concat(o||Array.prototype.slice.call(t))};var
|
|
5
|
+
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))e[i]=t[i]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r["throw"](e))}catch(e){o(e)}}function u(e){e.done?n(e.value):i(e.value).then(a,s)}u((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,a=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return a.next=s(0),a["throw"]=s(1),a["return"]=s(2),typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(t){return u([e,t])}}function u(s){if(r)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(n=0)),n)try{if(r=1,i&&(o=s[0]&2?i["return"]:s[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;if(i=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;i=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){n.label=s[1];break}if(s[0]===6&&n.label<o[1]){n.label=o[1];o=s;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(s);break}if(o[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];i=0}finally{r=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __rest=this&&this.__rest||function(e,t){var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0)n[r]=e[r];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++){if(t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i]))n[r[i]]=e[r[i]]}return n};var __spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r<i;r++){if(o||!(r in t)){if(!o)o=Array.prototype.slice.call(t,0,r);o[r]=t[r]}}return e.concat(o||Array.prototype.slice.call(t))};var min=Math.min;var max=Math.max;var round=Math.round;var floor=Math.floor;var createCoords=function(e){return{x:e,y:e}};var oppositeSideMap={left:"right",right:"left",bottom:"top",top:"bottom"};function clamp(e,t,n){return max(e,min(t,n))}function evaluate(e,t){return typeof e==="function"?e(t):e}function getSide(e){return e.split("-")[0]}function getAlignment(e){return e.split("-")[1]}function getOppositeAxis(e){return e==="x"?"y":"x"}function getAxisLength(e){return e==="y"?"height":"width"}function getSideAxis(e){var t=e[0];return t==="t"||t==="b"?"y":"x"}function getAlignmentAxis(e){return getOppositeAxis(getSideAxis(e))}function getAlignmentSides(e,t,n){if(n===void 0){n=false}var r=getAlignment(e);var i=getAlignmentAxis(e);var o=getAxisLength(i);var a=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";if(t.reference[o]>t.floating[o]){a=getOppositePlacement(a)}return[a,getOppositePlacement(a)]}function getExpandedPlacements(e){var t=getOppositePlacement(e);return[getOppositeAlignmentPlacement(e),t,getOppositeAlignmentPlacement(t)]}function getOppositeAlignmentPlacement(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}var lrPlacement=["left","right"];var rlPlacement=["right","left"];var tbPlacement=["top","bottom"];var btPlacement=["bottom","top"];function getSideList(e,t,n){switch(e){case"top":case"bottom":if(n)return t?rlPlacement:lrPlacement;return t?lrPlacement:rlPlacement;case"left":case"right":return t?tbPlacement:btPlacement;default:return[]}}function getOppositeAxisPlacements(e,t,n,r){var i=getAlignment(e);var o=getSideList(getSide(e),n==="start",r);if(i){o=o.map((function(e){return e+"-"+i}));if(t){o=o.concat(o.map(getOppositeAlignmentPlacement))}}return o}function getOppositePlacement(e){var t=getSide(e);return oppositeSideMap[t]+e.slice(t.length)}function expandPaddingObject(e){var t,n,r,i;return{top:(t=e.top)!=null?t:0,right:(n=e.right)!=null?n:0,bottom:(r=e.bottom)!=null?r:0,left:(i=e.left)!=null?i:0}}function getPaddingObject(e){return typeof e!=="number"?expandPaddingObject(e):{top:e,right:e,bottom:e,left:e}}function rectToClientRect(e){var t=e.x,n=e.y,r=e.width,i=e.height;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function computeCoordsFromPlacement(e,t,n){var r=e.reference,i=e.floating;var o=getSideAxis(t);var a=getAlignmentAxis(t);var s=getAxisLength(a);var u=getSide(t);var l=o==="y";var c=r.x+r.width/2-i.width/2;var f=r.y+r.height/2-i.height/2;var v=r[s]/2-i[s]/2;var g;switch(u){case"top":g={x:c,y:r.y-i.height};break;case"bottom":g={x:c,y:r.y+r.height};break;case"right":g={x:r.x+r.width,y:f};break;case"left":g={x:r.x-i.width,y:f};break;default:g={x:r.x,y:r.y}}var d=getAlignment(t);if(d){g[a]+=v*(d==="end"?1:-1)*(n&&l?-1:1)}return g}
|
|
6
6
|
/**
|
|
7
7
|
* Resolves with an object of overflow side offsets that determine how much the
|
|
8
8
|
* element is overflowing a given clipping boundary on each side.
|
|
@@ -10,7 +10,7 @@ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e)
|
|
|
10
10
|
* - negative = how many pixels left before it will overflow
|
|
11
11
|
* - 0 = lies flush with the boundary
|
|
12
12
|
* @see https://floating-ui.com/docs/detectOverflow
|
|
13
|
-
*/function detectOverflow(e,t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,o,a,s,u,l,c,f,v,g,d,m,p,h,w,_,
|
|
13
|
+
*/function detectOverflow(e,t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,o,a,s,u,l,c,f,v,g,d,m,p,h,w,y,_,x,b,A,S,C,O,R,E,P,N,T,L,W,M,$;var B;return __generator(this,(function(D){switch(D.label){case 0:if(t===void 0){t={}}r=e.x,i=e.y,o=e.platform,a=e.rects,s=e.elements,u=e.strategy;l=evaluate(t,e),c=l.boundary,f=c===void 0?"clippingAncestors":c,v=l.rootBoundary,g=v===void 0?"viewport":v,d=l.elementContext,m=d===void 0?"floating":d,p=l.altBoundary,h=p===void 0?false:p,w=l.padding,y=w===void 0?0:w;_=getPaddingObject(y);x=m==="floating"?"reference":"floating";b=s[h?x:m];S=rectToClientRect;O=(C=o).getClippingRect;B={};return[4/*yield*/,o.isElement==null?void 0:o.isElement(b)];case 1:if(!((n=D.sent())!=null?n:true))return[3/*break*/,2];R=b;return[3/*break*/,5];case 2:E=b.contextElement;if(E)return[3/*break*/,4];return[4/*yield*/,o.getDocumentElement==null?void 0:o.getDocumentElement(s.floating)];case 3:E=D.sent();D.label=4;case 4:R=E;D.label=5;case 5:return[4/*yield*/,O.apply(C,[(B.element=R,B.boundary=f,B.rootBoundary=g,B.strategy=u,B)])];case 6:A=S.apply(void 0,[D.sent()]);P=m==="floating"?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference;return[4/*yield*/,o.getOffsetParent==null?void 0:o.getOffsetParent(s.floating)];case 7:N=D.sent();return[4/*yield*/,o.isElement==null?void 0:o.isElement(N)];case 8:L=D.sent();if(!L)return[3/*break*/,10];return[4/*yield*/,o.getScale==null?void 0:o.getScale(N)];case 9:L=D.sent();D.label=10;case 10:T=L||{x:1,y:1};M=rectToClientRect;if(!o.convertOffsetParentRelativeRectToViewportRelativeRect)return[3/*break*/,12];return[4/*yield*/,o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:P,offsetParent:N,strategy:u})];case 11:$=D.sent();return[3/*break*/,13];case 12:$=P;D.label=13;case 13:W=M.apply(void 0,[$]);return[2/*return*/,{top:(A.top-W.top+_.top)/T.y,bottom:(W.bottom-A.bottom+_.bottom)/T.y,left:(A.left-W.left+_.left)/T.x,right:(W.right-A.right+_.right)/T.x}]}}))}))}
|
|
14
14
|
// Maximum number of resets that can occur before bailing to avoid infinite reset loops.
|
|
15
15
|
var MAX_RESET_COUNT=50;
|
|
16
16
|
/**
|
|
@@ -19,54 +19,37 @@ var MAX_RESET_COUNT=50;
|
|
|
19
19
|
*
|
|
20
20
|
* This export does not have any `platform` interface logic. You will need to
|
|
21
21
|
* write one for the platform you are using Floating UI with.
|
|
22
|
-
*/var computePosition$1=function(e,t,n){return __awaiter(void 0,void 0,void 0,(function(){var r,i,o,a,s,u,l,c,f,v,g,d,m,p,h,w,_,
|
|
22
|
+
*/var computePosition$1=function(e,t,n){return __awaiter(void 0,void 0,void 0,(function(){var r,i,o,a,s,u,l,c,f,v,g,d,m,p,h,w,y,_,x,b,A,S,C,O,R,E;var P;return __generator(this,(function(N){switch(N.label){case 0:r=n.placement,i=r===void 0?"bottom":r,o=n.strategy,a=o===void 0?"absolute":o,s=n.middleware,u=s===void 0?[]:s,l=n.platform;c=l.detectOverflow?l:__assign(__assign({},l),{detectOverflow:detectOverflow});return[4/*yield*/,l.isRTL==null?void 0:l.isRTL(t)];case 1:f=N.sent();return[4/*yield*/,l.getElementRects({reference:e,floating:t,strategy:a})];case 2:v=N.sent();g=computeCoordsFromPlacement(v,i,f),d=g.x,m=g.y;p=i;h=0;w={};y=0;N.label=3;case 3:if(!(y<u.length))return[3/*break*/,11];_=u[y];if(!_){return[3/*break*/,10]}x=_.name,b=_.fn;return[4/*yield*/,b({x:d,y:m,initialPlacement:i,placement:p,strategy:a,middlewareData:w,rects:v,platform:c,elements:{reference:e,floating:t}})];case 4:A=N.sent(),S=A.x,C=A.y,O=A.data,R=A.reset;d=S!=null?S:d;m=C!=null?C:m;w[x]=__assign(__assign({},w[x]),O);if(!(R&&h<MAX_RESET_COUNT))return[3/*break*/,10];h++;if(!(typeof R==="object"))return[3/*break*/,9];if(R.placement){p=R.placement}if(!R.rects)return[3/*break*/,8];if(!(R.rects===true))return[3/*break*/,6];return[4/*yield*/,l.getElementRects({reference:e,floating:t,strategy:a})];case 5:E=N.sent();return[3/*break*/,7];case 6:E=R.rects;N.label=7;case 7:v=E;N.label=8;case 8:P=computeCoordsFromPlacement(v,p,f),d=P.x,m=P.y;N.label=9;case 9:y=-1;N.label=10;case 10:y++;return[3/*break*/,3];case 11:return[2/*return*/,{x:d,y:m,placement:p,strategy:a,middlewareData:w}]}}))}))};
|
|
23
23
|
/**
|
|
24
24
|
* Provides data to position an inner element of the floating element so that it
|
|
25
25
|
* appears centered to the reference element.
|
|
26
26
|
* @see https://floating-ui.com/docs/arrow
|
|
27
|
-
*/var arrow$1=function(e){return{name:"arrow",options:e,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,o,a,s,u,l,c,f,v,g,d,m,p,h,w,_,
|
|
27
|
+
*/var arrow$1=function(e){return{name:"arrow",options:e,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,o,a,s,u,l,c,f,v,g,d,m,p,h,w,y,_,x,b,A,S,C,O,R,E,P,N,T,L,W,M,$;var B,D;return __generator(this,(function(F){switch(F.label){case 0:n=t.x,r=t.y,i=t.placement,o=t.rects,a=t.platform,s=t.elements,u=t.middlewareData;l=evaluate(e,t)||{},c=l.element,f=l.padding,v=f===void 0?0:f;if(c==null){return[2/*return*/,{}]}g=getPaddingObject(v);d={x:n,y:r};m=getAlignmentAxis(i);p=getAxisLength(m);return[4/*yield*/,a.getDimensions(c)];case 1:h=F.sent();w=m==="y";y=w?"top":"left";_=w?"bottom":"right";x=w?"clientHeight":"clientWidth";b=o.reference[p]+o.reference[m]-d[m]-o.floating[p];A=d[m]-o.reference[m];return[4/*yield*/,a.getOffsetParent==null?void 0:a.getOffsetParent(c)];case 2:S=F.sent();C=S?S[x]:0;O=!C;if(O)return[3/*break*/,4];return[4/*yield*/,a.isElement==null?void 0:a.isElement(S)];case 3:O=!F.sent();F.label=4;case 4:
|
|
28
28
|
// DOM platform can return `window` as the `offsetParent`.
|
|
29
|
-
if(
|
|
30
|
-
/**
|
|
31
|
-
* Optimizes the visibility of the floating element by choosing the placement
|
|
32
|
-
* that has the most space available automatically, without needing to specify a
|
|
33
|
-
* preferred placement. Alternative to `flip`.
|
|
34
|
-
* @see https://floating-ui.com/docs/autoPlacement
|
|
35
|
-
*/var autoPlacement$1=function(e){if(e===void 0){e={}}return{name:"autoPlacement",options:e,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,o,a,s,u,l,c,f,v,g,d,m,p,h,w,_,y,x,A,b,S,O,P,C,E,R,N,T;return __generator(this,(function(L){switch(L.label){case 0:o=t.rects,a=t.middlewareData,s=t.placement,u=t.platform,l=t.elements;c=evaluate(e,t),f=c.crossAxis,v=f===void 0?false:f,g=c.alignment,d=c.allowedPlacements,m=d===void 0?placements:d,p=c.autoAlignment,h=p===void 0?true:p,w=__rest(c,["crossAxis","alignment","allowedPlacements","autoAlignment"]);_=g!==undefined||m===placements?getPlacementList(g||null,h,m):m;y=((n=a.autoPlacement)==null?void 0:n.index)||0;x=_[y];if(x==null){return[2/*return*/,{}]}
|
|
36
|
-
// Make `computeCoords` start from the right place.
|
|
37
|
-
if(s!==x){return[2/*return*/,{reset:{placement:_[0]}}]}return[4/*yield*/,u.detectOverflow(t,w)];case 1:A=L.sent();S=getAlignmentSides;O=[x,o];return[4/*yield*/,u.isRTL==null?void 0:u.isRTL(l.floating)];case 2:b=S.apply(void 0,O.concat([L.sent()]));P=[A[getSide(x)],A[b[0]],A[b[1]]];C=__spreadArray(__spreadArray([],((r=a.autoPlacement)==null?void 0:r.overflows)||[],true),[{placement:x,overflows:P}],false);E=_[y+1];
|
|
38
|
-
// There are more placements to check.
|
|
39
|
-
if(E){return[2/*return*/,{data:{index:y+1,overflows:C},reset:{placement:E}}]}R=C.map((function(e){var t=getAlignment(e.placement);return[e.placement,t&&v?
|
|
40
|
-
// Check along the mainAxis and main crossAxis side.
|
|
41
|
-
e.overflows.slice(0,2).reduce((function(e,t){return e+t}),0):
|
|
42
|
-
// Check only the mainAxis.
|
|
43
|
-
e.overflows[0],e.overflows]})).sort((function(e,t){return e[1]-t[1]}));N=R.filter((function(e){return e[2].slice(0,
|
|
44
|
-
// Aligned placements should not check their opposite crossAxis
|
|
45
|
-
// side.
|
|
46
|
-
getAlignment(e[0])?2:3).every((function(e){return e<=0}))}));T=((i=N[0])==null?void 0:i[0])||R[0][0];if(T!==s){return[2/*return*/,{data:{index:y+1,overflows:C},reset:{placement:T}}]}return[2/*return*/,{}]}}))}))}}};
|
|
29
|
+
if(O){C=s.floating[x]||o.floating[p]}R=b/2-A/2;E=C/2-h[p]/2-1;P=min(g[y],E);N=min(g[_],E);T=C-h[p]-N;L=C/2-h[p]/2+R;W=clamp(P,L,T);M=!u.arrow&&getAlignment(i)!=null&&L!==W&&o.reference[p]/2-(L<P?P:N)-h[p]/2<0;$=M?L<P?L-P:L-T:0;return[2/*return*/,(B={},B[m]=d[m]+$,B.data=__assign((D={},D[m]=W,D.centerOffset=L-W-$,D),M&&{alignmentOffset:$}),B.reset=M,B)]}}))}))}}};
|
|
47
30
|
/**
|
|
48
31
|
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
49
32
|
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
50
33
|
* clipping boundary. Alternative to `autoPlacement`.
|
|
51
34
|
* @see https://floating-ui.com/docs/flip
|
|
52
|
-
*/var flip$1=function(e){if(e===void 0){e={}}return{name:"flip",options:e,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,o,a,s,u,l,c,f,v,g,d,m,p,h,w,_,
|
|
35
|
+
*/var flip$1=function(e){if(e===void 0){e={}}return{name:"flip",options:e,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,o,a,s,u,l,c,f,v,g,d,m,p,h,w,y,_,x,b,A,S,C,O,R,E,P,N,T,L,W,M,$,B,D,F,k,V,j;return __generator(this,(function(H){switch(H.label){case 0:i=t.placement,o=t.middlewareData,a=t.rects,s=t.initialPlacement,u=t.platform,l=t.elements;c=evaluate(e,t),f=c.mainAxis,v=f===void 0?true:f,g=c.crossAxis,d=g===void 0?true:g,m=c.fallbackPlacements,p=c.fallbackStrategy,h=p===void 0?"bestFit":p,w=c.fallbackAxisSideDirection,y=w===void 0?"none":w,_=c.flipAlignment,x=_===void 0?true:_,b=__rest(c,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);
|
|
53
36
|
// If a reset by the arrow was caused due to an alignment offset being
|
|
54
37
|
// added, we should skip any logic now since `flip()` has already done its
|
|
55
38
|
// work.
|
|
56
39
|
// https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643
|
|
57
|
-
if((n=o.arrow)!=null&&n.alignmentOffset){return[2/*return*/,{}]}
|
|
40
|
+
if((n=o.arrow)!=null&&n.alignmentOffset){return[2/*return*/,{}]}A=getSide(i);S=getSideAxis(s);C=getSide(s)===s;return[4/*yield*/,u.isRTL==null?void 0:u.isRTL(l.floating)];case 1:O=H.sent();R=m||(C||!x?[getOppositePlacement(s)]:getExpandedPlacements(s));E=y!=="none";if(!m&&E){R.push.apply(R,getOppositeAxisPlacements(s,x,y,O))}P=__spreadArray([s],R,true);return[4/*yield*/,u.detectOverflow(t,b)];case 2:N=H.sent();T=[];L=((r=o.flip)==null?void 0:r.overflows)||[];if(v){T.push(N[A])}if(d){W=getAlignmentSides(i,a,O);T.push(N[W[0]],N[W[1]])}L=__spreadArray(__spreadArray([],L,true),[{placement:i,overflows:T}],false);
|
|
58
41
|
// One or more sides is overflowing.
|
|
59
|
-
if(!T.every((function(e){return e<=0}))){
|
|
42
|
+
if(!T.every((function(e){return e<=0}))){B=(((M=o.flip)==null?void 0:M.index)||0)+1;D=P[B];if(D){F=d==="alignment"?S!==getSideAxis(D):false;if(!F||
|
|
60
43
|
// We leave the current main axis only if every placement on that axis
|
|
61
44
|
// overflows the main axis.
|
|
62
45
|
L.every((function(e){return getSideAxis(e.placement)===S?e.overflows[0]>0:true}))){
|
|
63
46
|
// Try next placement and re-run the lifecycle.
|
|
64
|
-
return[2/*return*/,{data:{index:
|
|
47
|
+
return[2/*return*/,{data:{index:B,overflows:L},reset:{placement:D}}]}}k=($=L.filter((function(e){return e.overflows[0]<=0})).sort((function(e,t){return e.overflows[1]-t.overflows[1]}))[0])==null?void 0:$.placement;
|
|
65
48
|
// Otherwise fallback.
|
|
66
|
-
if(!
|
|
49
|
+
if(!k){switch(h){case"bestFit":{j=(V=L.filter((function(e){if(E){var t=getSideAxis(e.placement);return t===S||
|
|
67
50
|
// Create a bias to the `y` side axis due to horizontal
|
|
68
51
|
// reading directions favoring greater width.
|
|
69
|
-
t==="y"}return true})).map((function(e){return[e.placement,e.overflows.filter((function(e){return e>0})).reduce((function(e,t){return e+t}),0)]})).sort((function(e,t){return e[1]-t[1]}))[0])==null?void 0:V[0];if(j){
|
|
52
|
+
t==="y"}return true})).map((function(e){return[e.placement,e.overflows.filter((function(e){return e>0})).reduce((function(e,t){return e+t}),0)]})).sort((function(e,t){return e[1]-t[1]}))[0])==null?void 0:V[0];if(j){k=j}break}case"initialPlacement":k=s;break}}if(i!==k){return[2/*return*/,{reset:{placement:k}}]}}return[2/*return*/,{}]}}))}))}}};var originSides=new Set(["left","top"]);
|
|
70
53
|
// For type backwards-compatibility, the `OffsetOptions` type was also
|
|
71
54
|
// Derivable.
|
|
72
55
|
function convertValueToCoords(e,t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,o,a,s,u,l,c,f,v,g,d,m;return __generator(this,(function(p){switch(p.label){case 0:n=e.placement,r=e.platform,i=e.elements;return[4/*yield*/,r.isRTL==null?void 0:r.isRTL(i.floating)];case 1:o=p.sent();a=getSide(n);s=getAlignment(n);u=getSideAxis(n)==="y";l=originSides.has(a)?-1:1;c=o&&u?-1:1;f=evaluate(t,e);v=typeof f==="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis},g=v.mainAxis,d=v.crossAxis,m=v.alignmentAxis;if(s&&typeof m==="number"){d=s==="end"?m*-1:m}return[2/*return*/,u?{x:d*c,y:g*l}:{x:g*l,y:d*c}]}}))}))}
|
|
@@ -84,16 +67,16 @@ if(a===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOf
|
|
|
84
67
|
* Optimizes the visibility of the floating element by shifting it in order to
|
|
85
68
|
* keep it in view when it will overflow the clipping boundary.
|
|
86
69
|
* @see https://floating-ui.com/docs/shift
|
|
87
|
-
*/var shift$1=function(e){if(e===void 0){e={}}return{name:"shift",options:e,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,o,a,s,u,l,c,f,v,g,d,m,p,h,w,_,
|
|
70
|
+
*/var shift$1=function(e){if(e===void 0){e={}}return{name:"shift",options:e,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,o,a,s,u,l,c,f,v,g,d,m,p,h,w,y,_,x;var b,A;return __generator(this,(function(S){switch(S.label){case 0:n=t.x,r=t.y,i=t.placement,o=t.platform;a=evaluate(e,t),s=a.mainAxis,u=s===void 0?true:s,l=a.crossAxis,c=l===void 0?false:l,f=a.limiter,v=f===void 0?{fn:function(e){var t=e.x,n=e.y;return{x:t,y:n}}}:f,g=__rest(a,["mainAxis","crossAxis","limiter"]);d={x:n,y:r};return[4/*yield*/,o.detectOverflow(t,g)];case 1:m=S.sent();p=getSideAxis(i);h=getOppositeAxis(p);w=d[h];y=d[p];_=function(e,t){return clamp(t+m[e==="y"?"top":"left"],t,t-m[e==="y"?"bottom":"right"])};if(u){w=_(h,w)}if(c){y=_(p,y)}x=v.fn(__assign(__assign({},t),(b={},b[h]=w,b[p]=y,b)));return[2/*return*/,__assign(__assign({},x),{data:{x:x.x-n,y:x.y-r,enabled:(A={},A[h]=u,A[p]=c,A)}})]}}))}))}}};function hasWindow(){return typeof window!=="undefined"}function getNodeName(e){if(isNode(e)){return(e.nodeName||"").toLowerCase()}
|
|
88
71
|
// Mocked nodes in testing environments may not be instances of Node. By
|
|
89
72
|
// returning `#document` an infinite loop won't occur.
|
|
90
73
|
// https://github.com/floating-ui/floating-ui/issues/2317
|
|
91
|
-
return"#document"}function getWindow(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function getDocumentElement(e){var t;return(t=(isNode(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function isNode(e){if(!hasWindow()){return false}return e instanceof Node||e instanceof getWindow(e).Node}function isElement(e){if(!hasWindow()){return false}return e instanceof Element||e instanceof getWindow(e).Element}function isHTMLElement(e){if(!hasWindow()){return false}return e instanceof HTMLElement||e instanceof getWindow(e).HTMLElement}function isShadowRoot(e){if(!hasWindow()||typeof ShadowRoot==="undefined"){return false}return e instanceof ShadowRoot||e instanceof getWindow(e).ShadowRoot}function isOverflowElement(e){var t=getComputedStyle(e),n=t.overflow,r=t.overflowX,i=t.overflowY,o=t.display;return/auto|scroll|overlay|hidden|clip/.test(n+i+r)&&o!=="inline"&&o!=="contents"}function isTableElement(e){return/^(table|td|th)$/.test(getNodeName(e))}function isTopLayer(e){try{if(e.matches(":popover-open")){return true}}catch(e){
|
|
74
|
+
return"#document"}function getWindow(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function getDocumentElement(e){var t;return(t=(isNode(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function isNode(e){if(!hasWindow()){return false}return e instanceof Node||e instanceof getWindow(e).Node}function isElement(e){if(!hasWindow()){return false}return e instanceof Element||e instanceof getWindow(e).Element}function isHTMLElement(e){if(!hasWindow()){return false}return e instanceof HTMLElement||e instanceof getWindow(e).HTMLElement}function isShadowRoot(e){if(!hasWindow()||typeof ShadowRoot==="undefined"){return false}return e instanceof ShadowRoot||e instanceof getWindow(e).ShadowRoot}function isOverflowElement(e){var t=getComputedStyle$1(e),n=t.overflow,r=t.overflowX,i=t.overflowY,o=t.display;return/auto|scroll|overlay|hidden|clip/.test(n+i+r)&&o!=="inline"&&o!=="contents"}function isTableElement(e){return/^(table|td|th)$/.test(getNodeName(e))}function isTopLayer(e){try{if(e.matches(":popover-open")){return true}}catch(e){
|
|
92
75
|
// no-op
|
|
93
|
-
}try{return e.matches(":modal")}catch(e){return false}}var willChangeRe=/transform|translate|scale|rotate|perspective|filter/;var containRe=/paint|layout|strict|content/;var isNotNone=function(e){return!!e&&e!=="none"};var isWebKitValue;function isContainingBlock(e){var t=isElement(e)?getComputedStyle(e):e;
|
|
76
|
+
}try{return e.matches(":modal")}catch(e){return false}}var willChangeRe=/transform|translate|scale|rotate|perspective|filter/;var containRe=/paint|layout|strict|content/;var isNotNone=function(e){return!!e&&e!=="none"};var isWebKitValue;function isContainingBlock(e){var t=isElement(e)?getComputedStyle$1(e):e;
|
|
94
77
|
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
95
78
|
// https://drafts.csswg.org/css-transforms-2/#individual-transforms
|
|
96
|
-
return isNotNone(t.transform)||isNotNone(t.translate)||isNotNone(t.scale)||isNotNone(t.rotate)||isNotNone(t.perspective)||!isWebKit()&&(isNotNone(t.backdropFilter)||isNotNone(t.filter))||willChangeRe.test(t.willChange||"")||containRe.test(t.contain||"")}function getContainingBlock(e){var t=getParentNode(e);while(isHTMLElement(t)&&!isLastTraversableNode(t)){if(isContainingBlock(t)){return t}else if(isTopLayer(t)){return null}t=getParentNode(t)}return null}function isWebKit(){if(isWebKitValue==null){isWebKitValue=typeof CSS!=="undefined"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}return isWebKitValue}function isLastTraversableNode(e){return/^(html|body|#document)$/.test(getNodeName(e))}function getComputedStyle(e){return getWindow(e).getComputedStyle(e)}function getNodeScroll(e){if(isElement(e)){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}return{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function getParentNode(e){if(getNodeName(e)==="html"){return e}var t=
|
|
79
|
+
return isNotNone(t.transform)||isNotNone(t.translate)||isNotNone(t.scale)||isNotNone(t.rotate)||isNotNone(t.perspective)||!isWebKit()&&(isNotNone(t.backdropFilter)||isNotNone(t.filter))||willChangeRe.test(t.willChange||"")||containRe.test(t.contain||"")}function getContainingBlock(e){var t=getParentNode(e);while(isHTMLElement(t)&&!isLastTraversableNode(t)){if(isContainingBlock(t)){return t}else if(isTopLayer(t)){return null}t=getParentNode(t)}return null}function isWebKit(){if(isWebKitValue==null){isWebKitValue=typeof CSS!=="undefined"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}return isWebKitValue}function isLastTraversableNode(e){return/^(html|body|#document)$/.test(getNodeName(e))}function getComputedStyle$1(e){return getWindow(e).getComputedStyle(e)}function getNodeScroll(e){if(isElement(e)){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}return{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function getParentNode(e){if(getNodeName(e)==="html"){return e}var t=
|
|
97
80
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
98
81
|
e.assignedSlot||
|
|
99
82
|
// DOM Element detected.
|
|
@@ -101,38 +84,59 @@ e.parentNode||
|
|
|
101
84
|
// ShadowRoot detected.
|
|
102
85
|
isShadowRoot(e)&&e.host||
|
|
103
86
|
// Fallback.
|
|
104
|
-
getDocumentElement(e);return isShadowRoot(t)?t.host:t}function getNearestOverflowAncestor(e){var t=getParentNode(e);if(isLastTraversableNode(t)){return(e.ownerDocument||e).body}if(isHTMLElement(t)&&isOverflowElement(t)){return t}return getNearestOverflowAncestor(t)}function getOverflowAncestors(e,t,n){var r;if(t===void 0){t=[]}if(n===void 0){n=true}var i=getNearestOverflowAncestor(e);var o=i===((r=e.ownerDocument)==null?void 0:r.body);var a=getWindow(i);if(o){var s=getFrameElement(a);return t.concat(a,a.visualViewport||[],isOverflowElement(i)?i:[],s&&n?getOverflowAncestors(s):[])}else{return t.concat(i,getOverflowAncestors(i,[],n))}}function getFrameElement(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function getCssDimensions(e){var t=getComputedStyle(e);
|
|
87
|
+
getDocumentElement(e);return isShadowRoot(t)?t.host:t}function getNearestOverflowAncestor(e){var t=getParentNode(e);if(isLastTraversableNode(t)){return(e.ownerDocument||e).body}if(isHTMLElement(t)&&isOverflowElement(t)){return t}return getNearestOverflowAncestor(t)}function getOverflowAncestors(e,t,n){var r;if(t===void 0){t=[]}if(n===void 0){n=true}var i=getNearestOverflowAncestor(e);var o=i===((r=e.ownerDocument)==null?void 0:r.body);var a=getWindow(i);if(o){var s=getFrameElement(a);return t.concat(a,a.visualViewport||[],isOverflowElement(i)?i:[],s&&n?getOverflowAncestors(s):[])}else{return t.concat(i,getOverflowAncestors(i,[],n))}}function getFrameElement(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function getCssDimensions(e){var t=getComputedStyle$1(e);
|
|
105
88
|
// In testing environments, the `width` and `height` properties are empty
|
|
106
89
|
// strings for SVG elements, returning NaN. Fallback to `0` in this case.
|
|
107
90
|
var n=parseFloat(t.width)||0;var r=parseFloat(t.height)||0;var i=isHTMLElement(e);var o=i?e.offsetWidth:n;var a=i?e.offsetHeight:r;var s=round(n)!==o||round(r)!==a;if(s){n=o;r=a}return{width:n,height:r,$:s}}function unwrapElement(e){return!isElement(e)?e.contextElement:e}function getScale(e){var t=unwrapElement(e);if(!isHTMLElement(t)){return createCoords(1)}var n=t.getBoundingClientRect();var r=getCssDimensions(t),i=r.width,o=r.height,a=r.$;var s=(a?round(n.width):n.width)/i;var u=(a?round(n.height):n.height)/o;
|
|
108
91
|
// 0, NaN, or Infinity should always fallback to 1.
|
|
109
|
-
if(!s||!Number.isFinite(s)){s=1}if(!u||!Number.isFinite(u)){u=1}return{x:s,y:u}}var noOffsets=createCoords(0);function getVisualOffsets(e){var t=getWindow(e);if(!isWebKit()||!t.visualViewport){return noOffsets}return{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function shouldAddVisualOffsets(e,t,n){if(t===void 0){t=false}
|
|
92
|
+
if(!s||!Number.isFinite(s)){s=1}if(!u||!Number.isFinite(u)){u=1}return{x:s,y:u}}var noOffsets=createCoords(0);function getVisualOffsets(e){var t=getWindow(e);if(!isWebKit()||!t.visualViewport){return noOffsets}return{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function shouldAddVisualOffsets(e,t,n){if(t===void 0){t=false}return!!n&&t&&n===getWindow(e)}function getBoundingClientRect(e,t,n,r){if(t===void 0){t=false}if(n===void 0){n=false}var i=e.getBoundingClientRect();var o=unwrapElement(e);var a=createCoords(1);if(t){if(r){if(isElement(r)){a=getScale(r)}}else{a=getScale(e)}}var s=shouldAddVisualOffsets(o,n,r)?getVisualOffsets(o):createCoords(0);var u=(i.left+s.x)/a.x;var l=(i.top+s.y)/a.y;var c=i.width/a.x;var f=i.height/a.y;if(o&&r){var v=getWindow(o);var g=isElement(r)?getWindow(r):r;var d=v;var m=getFrameElement(d);while(m&&g!==d){var p=getScale(m);var h=m.getBoundingClientRect();var w=getComputedStyle$1(m);var y=h.left+(m.clientLeft+parseFloat(w.paddingLeft))*p.x;var _=h.top+(m.clientTop+parseFloat(w.paddingTop))*p.y;u*=p.x;l*=p.y;c*=p.x;f*=p.y;u+=y;l+=_;d=getWindow(m);m=getFrameElement(d)}}return rectToClientRect({width:c,height:f,x:u,y:l})}
|
|
110
93
|
// If <html> has a CSS width greater than the viewport, then this will be
|
|
111
94
|
// incorrect for RTL.
|
|
112
|
-
function getWindowScrollBarX(e,t){var n=getNodeScroll(e).scrollLeft;if(!t){return getBoundingClientRect(getDocumentElement(e)).left+n}return t.left+n}function getHTMLOffset(e,t,n){
|
|
113
|
-
// RTL <body> scrollbar.
|
|
114
|
-
getWindowScrollBarX(e,r));var o=r.top+t.scrollTop;return{x:i,y:o}}function convertOffsetParentRelativeRectToViewportRelativeRect(e){var t=e.elements,n=e.rect,r=e.offsetParent,i=e.strategy;var o=i==="fixed";var a=getDocumentElement(r);var s=t?isTopLayer(t.floating):false;if(r===a||s&&o){return n}var u={scrollLeft:0,scrollTop:0};var l=createCoords(1);var c=createCoords(0);var f=isHTMLElement(r);if(f||!f&&!o){if(getNodeName(r)!=="body"||isOverflowElement(a)){u=getNodeScroll(r)}if(isHTMLElement(r)){var v=getBoundingClientRect(r);l=getScale(r);c.x=v.x+r.clientLeft;c.y=v.y+r.clientTop}}var g=a&&!f&&!o?getHTMLOffset(a,u,true):createCoords(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-u.scrollLeft*l.x+c.x+g.x,y:n.y*l.y-u.scrollTop*l.y+c.y+g.y}}function getClientRects(e){return Array.from(e.getClientRects())}
|
|
95
|
+
function getWindowScrollBarX(e,t){var n=getNodeScroll(e).scrollLeft;if(!t){return getBoundingClientRect(getDocumentElement(e)).left+n}return t.left+n}function getHTMLOffset(e,t){var n=e.getBoundingClientRect();var r=n.left+t.scrollLeft-getWindowScrollBarX(e,n);var i=n.top+t.scrollTop;return{x:r,y:i}}function convertOffsetParentRelativeRectToViewportRelativeRect(e){var t=e.elements,n=e.rect,r=e.offsetParent,i=e.strategy;var o=i==="fixed";var a=getDocumentElement(r);var s=t?isTopLayer(t.floating):false;if(r===a||s&&o){return n}var u={scrollLeft:0,scrollTop:0};var l=createCoords(1);var c=createCoords(0);var f=isHTMLElement(r);if(f||!o){if(getNodeName(r)!=="body"||isOverflowElement(a)){u=getNodeScroll(r)}if(f){var v=getBoundingClientRect(r);l=getScale(r);c.x=v.x+r.clientLeft;c.y=v.y+r.clientTop}}var g=a&&!f&&!o?getHTMLOffset(a,u):createCoords(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-u.scrollLeft*l.x+c.x+g.x,y:n.y*l.y-u.scrollTop*l.y+c.y+g.y}}function getClientRects(e){return e.getClientRects?Array.from(e.getClientRects()):[]}
|
|
115
96
|
// Gets the entire size of the scrollable document area, even extending outside
|
|
116
97
|
// of the `<html>` and `<body>` rect bounds if horizontally scrollable.
|
|
117
|
-
function getDocumentRect(e){var t=
|
|
98
|
+
function getDocumentRect(e){var t=getNodeScroll(e);var n=e.ownerDocument.body;var r=max(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth);var i=max(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);var o=-t.scrollLeft+getWindowScrollBarX(e);var a=-t.scrollTop;if(getComputedStyle$1(n).direction==="rtl"){o+=max(e.clientWidth,n.clientWidth)-r}return{width:r,height:i,x:o,y:a}}
|
|
99
|
+
// Safety check: ensure the scrollbar space is reasonable in case this
|
|
100
|
+
// calculation is affected by unusual styles.
|
|
101
|
+
// Most scrollbars leave 15-18px of space.
|
|
102
|
+
var SCROLLBAR_MAX=25;function getViewportRect(e,t,n){if(n===void 0){n="viewport"}var r=n==="layoutViewport";var i=getWindow(e);var o=getDocumentElement(e);var a=i.visualViewport;var s=o.clientWidth;var u=o.clientHeight;var l=0;var c=0;if(a){
|
|
103
|
+
// Client coordinates are relative to the layout viewport, except in
|
|
104
|
+
// WebKit with an `absolute` strategy, where they are relative to the
|
|
105
|
+
// visual viewport.
|
|
106
|
+
var f=!isWebKit()||t==="fixed";if(r){if(!f){l=-a.offsetLeft;c=-a.offsetTop}}else{s=a.width;u=a.height;if(f){l=a.offsetLeft;c=a.offsetTop}}}var v=getWindowScrollBarX(o);
|
|
107
|
+
// `scrollbar-gutter: stable` on the <html> reserves gutter space that shrinks
|
|
108
|
+
// the visual width but isn't reflected in `html.clientWidth`, so subtract it.
|
|
109
|
+
// Only the inline-end (right) gutter can hold the scrollbar; `both-edges` also
|
|
110
|
+
// reserves an empty inline-start gutter that clips nothing, so exclude just
|
|
111
|
+
// the one scrollbar-side gutter — halve the measured (two-gutter) total. A
|
|
112
|
+
// left-side scrollbar (`windowScrollbarX > 0`) is already handled by
|
|
113
|
+
// `getHTMLOffset`/`visualViewport.width`; skip it here.
|
|
114
|
+
if(v<=0){var g=o.ownerDocument;var d=g.body;var m=getComputedStyle(d);var p=g.compatMode==="CSS1Compat"?parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0:0;var h=Math.abs(o.clientWidth-d.clientWidth-p);var w=getComputedStyle(o).scrollbarGutter==="stable both-edges"?h/2:h;if(w<=SCROLLBAR_MAX){s-=w}}return{width:s,height:u,x:l,y:c}}
|
|
118
115
|
// Returns the inner client rect, subtracting scrollbars if present.
|
|
119
|
-
function getInnerBoundingClientRect(e,t){var n=getBoundingClientRect(e,true,t==="fixed");var r=n.top+e.clientTop;var i=n.left+e.clientLeft;var o=
|
|
116
|
+
function getInnerBoundingClientRect(e,t){var n=getBoundingClientRect(e,true,t==="fixed");var r=n.top+e.clientTop;var i=n.left+e.clientLeft;var o=getScale(e);var a=e.clientWidth*o.x;var s=e.clientHeight*o.y;var u=i*o.x;var l=r*o.y;return{width:a,height:s,x:u,y:l}}function getClientRectFromClippingAncestor(e,t,n){var r;if(t==="viewport"||t==="layoutViewport"){r=getViewportRect(e,n,t)}else if(t==="document"){r=getDocumentRect(getDocumentElement(e))}else if(isElement(t)){r=getInnerBoundingClientRect(t,n)}else{var i=getVisualOffsets(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return rectToClientRect(r)}
|
|
120
117
|
// A "clipping ancestor" is an `overflow` element with the characteristic of
|
|
121
118
|
// clipping (or hiding) child elements. This returns all clipping ancestors
|
|
122
119
|
// of the given element up the tree.
|
|
123
|
-
function getClippingElementAncestors(e,t){var n=t.get(e);if(n){return n}var r=getOverflowAncestors(e,[],false).filter((function(e){return isElement(e)&&getNodeName(e)!=="body"}));var i=null;var o=getComputedStyle(e).position==="fixed";var a=o?getParentNode(e):e;
|
|
120
|
+
function getClippingElementAncestors(e,t){var n=t.get(e);if(n){return n}var r=getOverflowAncestors(e,[],false).filter((function(e){return isElement(e)&&getNodeName(e)!=="body"}));var i=null;var o=getComputedStyle$1(e).position==="fixed";var a=o?getParentNode(e):e;
|
|
124
121
|
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
125
|
-
while(isElement(a)&&!isLastTraversableNode(a)){var s=getComputedStyle(a);var u=isContainingBlock(a);
|
|
122
|
+
while(isElement(a)&&!isLastTraversableNode(a)){var s=getComputedStyle$1(a);var u=isContainingBlock(a);
|
|
123
|
+
// Position of the containing block chain below the current node. A fixed
|
|
124
|
+
// element whose containing block hasn't been found yet is a fixed chain.
|
|
125
|
+
var l=i?i.position:o?"fixed":"";
|
|
126
|
+
// A non-containing ancestor does not clip the element when the chain
|
|
127
|
+
// below it escapes it: a fixed chain escapes all ancestors up to the
|
|
128
|
+
// next containing block, an absolute chain escapes static ancestors.
|
|
129
|
+
var c=!u&&(l==="fixed"||l==="absolute"&&s.position==="static");if(c){
|
|
126
130
|
// Drop non-containing blocks.
|
|
127
131
|
r=r.filter((function(e){return e!==a}))}else{
|
|
128
|
-
//
|
|
132
|
+
// The kept node carries the chain position for the next iteration.
|
|
129
133
|
i=s}a=getParentNode(a)}t.set(e,r);return r}
|
|
130
134
|
// Gets the maximum area that the element is visible in due to any number of
|
|
131
135
|
// clipping ancestors.
|
|
132
|
-
function getClippingRect(e){var t=e.element,n=e.boundary,r=e.rootBoundary,i=e.strategy;var o=n==="clippingAncestors"?isTopLayer(t)?[]:getClippingElementAncestors(t,this._c):[].concat(n);var a=__spreadArray(__spreadArray([],o,true),[r],false);var s=a[0];var u=a.
|
|
136
|
+
function getClippingRect(e){var t=e.element,n=e.boundary,r=e.rootBoundary,i=e.strategy;var o=n==="clippingAncestors"?isTopLayer(t)?[]:getClippingElementAncestors(t,this._c):[].concat(n);var a=__spreadArray(__spreadArray([],o,true),[r],false);var s=getClientRectFromClippingAncestor(t,a[0],i);var u=s.top;var l=s.right;var c=s.bottom;var f=s.left;for(var v=1;v<a.length;v++){var g=getClientRectFromClippingAncestor(t,a[v],i);u=max(g.top,u);l=min(g.right,l);c=min(g.bottom,c);f=max(g.left,f)}return{width:l-f,height:c-u,x:f,y:u}}function getDimensions(e){var t=getCssDimensions(e),n=t.width,r=t.height;return{width:n,height:r}}function getRectRelativeToOffsetParent(e,t,n){var r=isHTMLElement(t);var i=getDocumentElement(t);var o=n==="fixed";var a=getBoundingClientRect(e,true,o,t);var s={scrollLeft:0,scrollTop:0};var u=createCoords(0);if(r||!o){if(getNodeName(t)!=="body"||isOverflowElement(i)){s=getNodeScroll(t)}if(r){var l=getBoundingClientRect(t,true,o,t);u.x=l.x+t.clientLeft;u.y=l.y+t.clientTop}}
|
|
133
137
|
// If the <body> scrollbar appears on the left (e.g. RTL systems). Use
|
|
134
138
|
// Firefox with layout.scrollbar.side = 3 in about:config to test this.
|
|
135
|
-
u.x=getWindowScrollBarX(i)}
|
|
139
|
+
if(!r&&i){u.x=getWindowScrollBarX(i)}var c=i&&!r&&!o?getHTMLOffset(i,s):createCoords(0);var f=a.left+s.scrollLeft-u.x-c.x;var v=a.top+s.scrollTop-u.y-c.y;return{x:f,y:v,width:a.width,height:a.height}}function isStaticPositioned(e){return getComputedStyle$1(e).position==="static"}function getTrueOffsetParent(e,t){if(!isHTMLElement(e)||getComputedStyle$1(e).position==="fixed"){return null}if(t){return t(e)}var n=e.offsetParent;
|
|
136
140
|
// Firefox returns the <html> element as the offsetParent if it's non-static,
|
|
137
141
|
// while Chrome and Safari return the <body> element. The <body> element must
|
|
138
142
|
// be used to perform the correct calculations even if the <html> element is
|
|
@@ -140,17 +144,28 @@ u.x=getWindowScrollBarX(i)}}var c=i&&!r&&!o?getHTMLOffset(i,s):createCoords(0);v
|
|
|
140
144
|
if(getDocumentElement(e)===n){n=n.ownerDocument.body}return n}
|
|
141
145
|
// Gets the closest ancestor positioned element. Handles some edge cases,
|
|
142
146
|
// such as table ancestors and cross browser bugs.
|
|
143
|
-
function getOffsetParent(e,t){var n=getWindow(e);if(isTopLayer(e)){return n}if(!isHTMLElement(e)){var r=getParentNode(e);while(r&&!isLastTraversableNode(r)){if(isElement(r)&&!isStaticPositioned(r)){return r}r=getParentNode(r)}return n}var i=getTrueOffsetParent(e,t);while(i&&isTableElement(i)&&isStaticPositioned(i)){i=getTrueOffsetParent(i,t)}if(i&&isLastTraversableNode(i)&&isStaticPositioned(i)&&!isContainingBlock(i)){return n}return i||getContainingBlock(e)||n}var getElementRects=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,r,i,o;var a;return __generator(this,(function(s){switch(s.label){case 0:t=this.getOffsetParent||getOffsetParent;n=this.getDimensions;return[4/*yield*/,n(e.floating)];case 1:r=s.sent();a={};i=getRectRelativeToOffsetParent;o=[e.reference];return[4/*yield*/,t(e.floating)];case 2:return[2/*return*/,(a.reference=i.apply(void 0,o.concat([s.sent(),e.strategy])),a.floating={x:0,y:0,width:r.width,height:r.height},a)]}}))}))};function isRTL(e){return getComputedStyle(e).direction==="rtl"}var platform={convertOffsetParentRelativeRectToViewportRelativeRect:convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement:getDocumentElement,getClippingRect:getClippingRect,getOffsetParent:getOffsetParent,getElementRects:getElementRects,getClientRects:getClientRects,getDimensions:getDimensions,getScale:getScale,isElement:isElement,isRTL:isRTL};
|
|
147
|
+
function getOffsetParent(e,t){var n=getWindow(e);if(isTopLayer(e)){return n}if(!isHTMLElement(e)){var r=getParentNode(e);while(r&&!isLastTraversableNode(r)){if(isElement(r)&&!isStaticPositioned(r)){return r}r=getParentNode(r)}return n}var i=getTrueOffsetParent(e,t);while(i&&isTableElement(i)&&isStaticPositioned(i)){i=getTrueOffsetParent(i,t)}if(i&&isLastTraversableNode(i)&&isStaticPositioned(i)&&!isContainingBlock(i)){return n}return i||getContainingBlock(e)||n}var getElementRects=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,r,i,o;var a;return __generator(this,(function(s){switch(s.label){case 0:t=this.getOffsetParent||getOffsetParent;n=this.getDimensions;return[4/*yield*/,n(e.floating)];case 1:r=s.sent();a={};i=getRectRelativeToOffsetParent;o=[e.reference];return[4/*yield*/,t(e.floating)];case 2:return[2/*return*/,(a.reference=i.apply(void 0,o.concat([s.sent(),e.strategy])),a.floating={x:0,y:0,width:r.width,height:r.height},a)]}}))}))};function isRTL(e){return getComputedStyle$1(e).direction==="rtl"}var platform={convertOffsetParentRelativeRectToViewportRelativeRect:convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement:getDocumentElement,getClippingRect:getClippingRect,getOffsetParent:getOffsetParent,getElementRects:getElementRects,getClientRects:getClientRects,getDimensions:getDimensions,getScale:getScale,isElement:isElement,isRTL:isRTL};function rectsAreEqual(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}
|
|
144
148
|
// https://samthor.au/2021/observing-dom/
|
|
145
|
-
function observeMove(e,t){var
|
|
146
|
-
//
|
|
147
|
-
//
|
|
148
|
-
|
|
149
|
+
function observeMove(e,t,n){var r=null;var i;var o=getDocumentElement(e);function a(){var e;clearTimeout(i);(e=r)==null||e.disconnect();r=null}function s(n,u){if(n===void 0){n=false}if(u===void 0){u=1}a();var l=e.getBoundingClientRect();var c=l.left,f=l.top,v=l.width,g=l.height;if(!n){t()}if(!v||!g){return}var d=floor(f);var m=floor(o.clientWidth-(c+v));var p=floor(o.clientHeight-(f+g));var h=floor(c);var w=-d+"px "+-m+"px "+-p+"px "+-h+"px";var y={rootMargin:w,threshold:max(0,min(1,u))||1};var _=true;function x(t){var n=t[0].intersectionRatio;
|
|
150
|
+
// The entry is a snapshot, so the reference may have moved since the
|
|
151
|
+
// intersection was computed (under performance constraints, or between
|
|
152
|
+
// consecutive frames of a multi-frame layout shift). The reported ratio
|
|
153
|
+
// and the observed area are stale in that case and cannot be trusted to
|
|
154
|
+
// detect subsequent movement, so refresh regardless of the ratio.
|
|
155
|
+
if(!rectsAreEqual(l,e.getBoundingClientRect())){return s()}if(n!==u){if(!_){return s()}if(!n){
|
|
156
|
+
// If the reference is clipped in place, the ratio is 0. Throttle
|
|
157
|
+
// the refresh to prevent an infinite loop of updates.
|
|
158
|
+
i=setTimeout((function(){s(false,1e-7)}),1e3)}else{s(false,n)}}_=false}
|
|
149
159
|
// Older browsers don't support a `document` as the root and will throw an
|
|
150
160
|
// error.
|
|
151
|
-
try{
|
|
161
|
+
try{r=new IntersectionObserver(x,__assign(__assign({},y),{
|
|
152
162
|
// Handle <iframe>s
|
|
153
|
-
root:
|
|
163
|
+
root:o.ownerDocument}))}catch(e){r=new IntersectionObserver(x,y)}r.observe(e)}var u=getWindow(e);
|
|
164
|
+
// The window is a resize ancestor, so when `ancestorResize` is enabled its
|
|
165
|
+
// listener already runs the update on resize. Here we only need to rebuild
|
|
166
|
+
// the `IntersectionObserver` for the new root size, skipping a redundant
|
|
167
|
+
// update. When `ancestorResize` is disabled, this becomes the sole update.
|
|
168
|
+
var l=function(){return s(n)};u.addEventListener("resize",l);s(true);return function(){u.removeEventListener("resize",l);a()}}
|
|
154
169
|
/**
|
|
155
170
|
* Automatically updates the position of the floating element when necessary.
|
|
156
171
|
* Should only be called when the floating element is mounted on the DOM or
|
|
@@ -158,10 +173,10 @@ root:i.ownerDocument}))}catch(e){n=new IntersectionObserver(x,_)}n.observe(e)}a(
|
|
|
158
173
|
* @returns cleanup function that should be invoked when the floating element is
|
|
159
174
|
* removed from the DOM or hidden from the screen.
|
|
160
175
|
* @see https://floating-ui.com/docs/autoUpdate
|
|
161
|
-
*/function autoUpdate(e,t,n,r){if(r===void 0){r={}}var i=r.ancestorScroll,o=i===void 0?true:i,a=r.ancestorResize,s=a===void 0?true:a,u=r.elementResize,l=u===void 0?typeof ResizeObserver==="function":u,c=r.layoutShift,f=c===void 0?typeof IntersectionObserver==="function":c,v=r.animationFrame,g=v===void 0?false:v;var d=unwrapElement(e);var m=o||s?__spreadArray(__spreadArray([],d?getOverflowAncestors(d):[],true),getOverflowAncestors(t),true):[];m.forEach((function(e){o&&e.addEventListener("scroll",n
|
|
176
|
+
*/function autoUpdate(e,t,n,r){if(r===void 0){r={}}var i=r.ancestorScroll,o=i===void 0?true:i,a=r.ancestorResize,s=a===void 0?true:a,u=r.elementResize,l=u===void 0?typeof ResizeObserver==="function":u,c=r.layoutShift,f=c===void 0?typeof IntersectionObserver==="function":c,v=r.animationFrame,g=v===void 0?false:v;var d=unwrapElement(e);var m=o||s?__spreadArray(__spreadArray([],d?getOverflowAncestors(d):[],true),t?getOverflowAncestors(t):[],true):[];m.forEach((function(e){o&&e.addEventListener("scroll",n);s&&e.addEventListener("resize",n)}));var p=d&&f?observeMove(d,n,s):null;var h=-1;var w=null;if(l){w=new ResizeObserver((function(e){var r=e[0];if(r&&r.target===d&&w&&t){
|
|
162
177
|
// Prevent update loops when using the `size` middleware.
|
|
163
178
|
// https://github.com/floating-ui/floating-ui/issues/1740
|
|
164
|
-
w.unobserve(t);cancelAnimationFrame(h);h=requestAnimationFrame((function(){var e;(e=w)==null||e.observe(t)}))}n()}));if(d&&!g){w.observe(d)}w.observe(t)}var
|
|
179
|
+
w.unobserve(t);cancelAnimationFrame(h);h=requestAnimationFrame((function(){var e;(e=w)==null||e.observe(t)}))}n()}));if(d&&!g){w.observe(d)}if(t){w.observe(t)}}var y;var _=g?getBoundingClientRect(e):null;if(g){x()}function x(){var t=getBoundingClientRect(e);if(_&&!rectsAreEqual(_,t)){n()}_=t;y=requestAnimationFrame(x)}n();return function(){var e;m.forEach((function(e){o&&e.removeEventListener("scroll",n);s&&e.removeEventListener("resize",n)}));p==null||p();(e=w)==null||e.disconnect();w=null;if(g){cancelAnimationFrame(y)}}}
|
|
165
180
|
/**
|
|
166
181
|
* Modifies the placement by translating the floating element along the
|
|
167
182
|
* specified axes.
|
|
@@ -169,12 +184,6 @@ w.unobserve(t);cancelAnimationFrame(h);h=requestAnimationFrame((function(){var e
|
|
|
169
184
|
* object may be passed.
|
|
170
185
|
* @see https://floating-ui.com/docs/offset
|
|
171
186
|
*/var offset=offset$1;
|
|
172
|
-
/**
|
|
173
|
-
* Optimizes the visibility of the floating element by choosing the placement
|
|
174
|
-
* that has the most space available automatically, without needing to specify a
|
|
175
|
-
* preferred placement. Alternative to `flip`.
|
|
176
|
-
* @see https://floating-ui.com/docs/autoPlacement
|
|
177
|
-
*/var autoPlacement=autoPlacement$1;
|
|
178
187
|
/**
|
|
179
188
|
* Optimizes the visibility of the floating element by shifting it in order to
|
|
180
189
|
* keep it in view when it will overflow the clipping boundary.
|
|
@@ -198,4 +207,4 @@ w.unobserve(t);cancelAnimationFrame(h);h=requestAnimationFrame((function(){var e
|
|
|
198
207
|
// This caches the expensive `getClippingElementAncestors` function so that
|
|
199
208
|
// multiple lifecycle resets re-use the same result. It only lives for a
|
|
200
209
|
// single call. If other functions become expensive, we can add them as well.
|
|
201
|
-
var r=new Map;var i=
|
|
210
|
+
var r=new Map;var i=n!=null?n:{};var o=__assign(__assign(__assign({},platform),i.platform),{_c:r});return computePosition$1(e,t,__assign(__assign({},i),{platform:o}))};export{arrow as a,autoUpdate as b,computePosition as c,flip as f,offset as o,shift as s};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var BASE64_SVG_ICON="data:image/svg+xml;base64,";
|
|
2
|
+
// the markup of a saved .svg file: the XML declaration, a doctype and comments may come before
|
|
3
|
+
// the <svg> element, and its first attribute may be on the next line
|
|
4
|
+
var MARKUP_SVG_ICON_START=/^\s*(<\?xml[\s\S]*?\?>\s*)?(<!DOCTYPE[^>]*>\s*|<!--[\s\S]*?-->\s*)*<svg[\s>]/i;var isIconFormatIsBase64=function(s){if(!s){return false}return s.startsWith(BASE64_SVG_ICON)};var isIconFormatIsSVG=function(s){if(!s){return false}return MARKUP_SVG_ICON_START.test(s)};export{BASE64_SVG_ICON as B,isIconFormatIsBase64 as a,isIconFormatIsSVG as i};
|