@siemens/ix 5.0.0 → 5.1.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/READMEOSS.html +10 -10
- package/components/index.js +1 -1
- package/components/ix-action-card.js +1 -1
- package/components/ix-application-header.js +1 -1
- package/components/ix-application-switch-modal.js +1 -1
- package/components/ix-application.js +1 -1
- package/components/ix-avatar.js +1 -1
- package/components/ix-blind.js +1 -1
- package/components/ix-breadcrumb-item.js +1 -1
- package/components/ix-breadcrumb.js +1 -1
- package/components/ix-button.js +1 -1
- package/components/ix-card-accordion.js +1 -1
- package/components/ix-card-content.js +1 -1
- package/components/ix-card-list.js +1 -1
- package/components/ix-card-title.js +1 -1
- package/components/ix-card.js +1 -1
- package/components/ix-category-filter.js +1 -1
- package/components/ix-checkbox-group.js +1 -1
- package/components/ix-checkbox.js +1 -1
- package/components/ix-chip.js +1 -1
- package/components/ix-col.js +1 -1
- package/components/ix-content-header.js +1 -1
- package/components/ix-content.js +1 -1
- package/components/ix-css-grid-item.js +1 -1
- package/components/ix-css-grid.js +1 -1
- package/components/ix-custom-field.js +1 -1
- package/components/ix-date-dropdown.js +1 -1
- package/components/ix-date-input.js +1 -1
- package/components/ix-date-picker.js +1 -1
- package/components/ix-date-time-card.js +1 -1
- package/components/ix-datetime-input.js +1 -1
- package/components/ix-datetime-picker.js +1 -1
- package/components/ix-divider.js +1 -1
- package/components/ix-dropdown-button.js +1 -1
- package/components/ix-dropdown-header.js +1 -1
- package/components/ix-dropdown-item.js +1 -1
- package/components/ix-dropdown-quick-actions.js +1 -1
- package/components/ix-dropdown.js +1 -1
- package/components/ix-empty-state.js +1 -1
- package/components/ix-event-list-item.js +1 -1
- package/components/ix-event-list.js +1 -1
- package/components/ix-expanding-search.js +1 -1
- package/components/ix-field-label.js +1 -1
- package/components/ix-field-wrapper.js +1 -1
- package/components/ix-filter-chip.js +1 -1
- package/components/ix-flip-tile-content.js +1 -1
- package/components/ix-flip-tile.js +1 -1
- package/components/ix-group-context-menu.js +1 -1
- package/components/ix-group-item.js +1 -1
- package/components/ix-group.js +1 -1
- package/components/ix-helper-text.js +1 -1
- package/components/ix-icon-button.js +1 -1
- package/components/ix-icon-toggle-button.js +1 -1
- package/components/ix-input.js +1 -1
- package/components/ix-key-value-list.js +1 -1
- package/components/ix-key-value.js +1 -1
- package/components/ix-kpi.js +1 -1
- package/components/ix-layout-auto.js +1 -1
- package/components/ix-layout-grid.js +1 -1
- package/components/ix-link-button.js +1 -1
- package/components/ix-menu-about-item.js +1 -1
- package/components/ix-menu-about-news.js +1 -1
- package/components/ix-menu-about.js +1 -1
- package/components/ix-menu-avatar-item.js +1 -1
- package/components/ix-menu-avatar.js +1 -1
- package/components/ix-menu-category.js +1 -1
- package/components/ix-menu-expand-icon.js +1 -1
- package/components/ix-menu-item.js +1 -1
- package/components/ix-menu-settings-item.js +1 -1
- package/components/ix-menu-settings.js +1 -1
- package/components/ix-menu.js +1 -1
- package/components/ix-message-bar.js +1 -1
- package/components/ix-modal-content.js +1 -1
- package/components/ix-modal-footer.js +1 -1
- package/components/ix-modal-header.js +1 -1
- package/components/ix-modal-loading.js +1 -1
- package/components/ix-modal.js +1 -1
- package/components/ix-number-input.js +1 -1
- package/components/ix-pagination.js +1 -1
- package/components/ix-pane-layout.js +1 -1
- package/components/ix-pane.js +1 -1
- package/components/ix-pill.js +1 -1
- package/components/ix-popover-content.d.ts +11 -0
- package/components/ix-popover-content.js +1 -0
- package/components/ix-popover-footer.d.ts +11 -0
- package/components/ix-popover-footer.js +1 -0
- package/components/ix-popover-header.d.ts +11 -0
- package/components/ix-popover-header.js +1 -0
- package/components/ix-popover-image.d.ts +11 -0
- package/components/ix-popover-image.js +1 -0
- package/components/ix-popover.d.ts +11 -0
- package/components/ix-popover.js +1 -0
- package/components/ix-progress-indicator.js +1 -1
- package/components/ix-push-card.js +1 -1
- package/components/ix-radio-group.js +1 -1
- package/components/ix-radio.js +1 -1
- package/components/ix-range-field.js +1 -1
- package/components/ix-row.js +1 -1
- package/components/ix-select-item.js +1 -1
- package/components/ix-select.js +1 -1
- package/components/ix-slider.js +1 -1
- package/components/ix-spinner.js +1 -1
- package/components/ix-split-button.js +1 -1
- package/components/ix-tab-item.js +1 -1
- package/components/ix-tab-panel.js +1 -1
- package/components/ix-tab-set.js +1 -1
- package/components/ix-tabs.js +1 -1
- package/components/ix-textarea.js +1 -1
- package/components/ix-tile.js +1 -1
- package/components/ix-time-input.js +1 -1
- package/components/ix-time-picker.js +1 -1
- package/components/ix-toast-container.js +1 -1
- package/components/ix-toast.js +1 -1
- package/components/ix-toggle-button.js +1 -1
- package/components/ix-toggle.js +1 -1
- package/components/ix-tooltip.js +1 -1
- package/components/ix-tree-item.js +1 -1
- package/components/ix-tree.js +1 -1
- package/components/ix-typography.js +1 -1
- package/components/ix-upload.js +1 -1
- package/components/ix-workflow-step.js +1 -1
- package/components/ix-workflow-steps.js +1 -1
- package/{dist/siemens-ix/p-c350c5d0.entry.js → components/p-3VG6z9c3.js} +1 -1
- package/components/p-5ntkLbuJ.js +1 -0
- package/components/p-7HGOhDMX.js +1 -0
- package/components/p-B-O0ylt_.js +1 -0
- package/components/p-BBCsPlPH.js +1 -0
- package/components/p-BDlGgfYh.js +1 -0
- package/components/{p-BP8g-yqY.js → p-BNAvpXSk.js} +1 -1
- package/components/{p-BE4QI9tD.js → p-BST8QY5w.js} +1 -1
- package/components/{p-B4Yxzuow.js → p-BWH03B1n.js} +1 -1
- package/components/{p-C-wf4kbs.js → p-BWknDysp.js} +1 -1
- package/components/p-BbW5EIKF.js +1 -0
- package/components/p-BbwShqw_.js +1 -0
- package/components/p-BtSt9tC5.js +1 -0
- package/components/p-BuBQiemL.js +1 -0
- package/components/{p-DQql_9wo.js → p-BzFLbXmT.js} +1 -1
- package/components/{p-CcllZcv2.js → p-C-sZLWci.js} +1 -1
- package/components/{p-CVmLf9WY.js → p-C0WZnIxc.js} +1 -1
- package/components/{p-B5k8YVR0.js → p-C21npbUc.js} +1 -1
- package/components/p-C2jvmCOl.js +1 -0
- package/components/p-C5UTTqsv.js +1 -0
- package/components/{p-BwC_Hmai.js → p-CAH3dF6j.js} +1 -1
- package/{dist/siemens-ix/p-Dl_bUxb7.js → components/p-CApDAYIa.js} +1 -1
- package/components/{p-B1q6Xh9M.js → p-CDf5TQum.js} +1 -1
- package/components/p-CG9cQxRO.js +1 -0
- package/components/p-CGHbrmJg.js +1 -0
- package/components/{p-BcxPyyrm.js → p-CIA8i4dm.js} +1 -1
- package/components/{p-DUkuP1OH.js → p-CJoOEoc-.js} +1 -1
- package/components/p-CMtwWb3-.js +1 -0
- package/components/p-CNLoALIl.js +1 -0
- package/components/p-CT5pAQCz.js +1 -0
- package/components/{p-DN2Mr91y.js → p-CTbTAb9U.js} +1 -1
- package/components/p-CpOGS2e_.js +1 -0
- package/components/{p-uIG84RqI.js → p-CrDBjFhu.js} +1 -1
- package/components/{p-JevOq-9X.js → p-CrLxhwo2.js} +1 -1
- package/components/{p-CsP_r-y6.js → p-CuFZ7CXu.js} +1 -1
- package/components/{p-CJ3dR7zd.js → p-Cy2KAdml.js} +1 -1
- package/components/{p-DSpVcflZ.js → p-Czy7a3I4.js} +1 -1
- package/components/p-DDvuSQX3.js +1 -0
- package/components/{p-DdMuwGlF.js → p-DHydRnvu.js} +1 -1
- package/components/{p-546lBshK.js → p-DKH7tPDu.js} +1 -1
- package/components/{p-qsIASuyM.js → p-DM7ma3Eh.js} +1 -1
- package/components/p-DT02jDB7.js +1 -0
- package/components/p-Dfd_ifAu.js +1 -0
- package/components/{p-MZOpritx.js → p-DhWkcMmR.js} +1 -1
- package/components/p-DiLKm3tq.js +1 -0
- package/components/{p-Cf71L4Ol.js → p-DtOqKp7K.js} +1 -1
- package/components/p-DtmgZu-S.js +1 -0
- package/components/p-Dw_A3HUC.js +1 -0
- package/components/{p-By6x--zJ.js → p-Dwe6tWhq.js} +1 -1
- package/components/p-DziPiOL3.js +1 -0
- package/components/{p-DfnCSsMy.js → p-GGleop6j.js} +1 -1
- package/components/p-GmOVROeD.js +1 -0
- package/components/{p-W0q0WVKl.js → p-ImMb0joA.js} +1 -1
- package/components/p-Wr4Qf8LA.js +1 -0
- package/components/{p-DTcUamMt.js → p-aUZgVnx5.js} +1 -1
- package/components/{p-zs7a2E3b.js → p-wFiL3dN1.js} +1 -1
- package/components/{p-_Uc7YwjU.js → p-zqHenwXl.js} +1 -1
- package/components/{p-CuswfnZ5.js → p-zyYHTdEN.js} +1 -1
- package/dist/cjs/{a11y-C_6YiIMa.js → a11y-_XjpTo2w.js} +10 -0
- package/dist/cjs/{base-button-C-1izOSS.js → base-button-BP6iIMR7.js} +3 -3
- package/dist/cjs/{base-icon-button-BeXf6v9s.js → base-icon-button-BmiGQb9v.js} +2 -2
- package/dist/cjs/{component-CYtonfpw.js → component-DgA9FH-W.js} +2 -2
- package/dist/cjs/dropdown-controller-kBwdbfGD.js +99 -0
- package/dist/cjs/{focus-proxy-BCuVbpDb.js → focus-proxy-CjxFZupW.js} +6 -5
- package/dist/cjs/focus-trap-Be3N4ytz.js +310 -0
- package/dist/cjs/{focus-utilities-yx7wWjEO.js → focus-utilities-5SZMxJg4.js} +65 -23
- package/dist/cjs/{focus-visible.mixin-BU5Ql7d1.js → focus-visible.mixin-1V7Eldn_.js} +2 -2
- package/dist/cjs/{helper-text-util-CvfY1JxE.js → helper-text-util-BkHm7ofh.js} +3 -3
- package/dist/cjs/{index-Dw-NwUuT.js → index-CwJ-mkQd.js} +2 -2
- package/dist/cjs/{index-BKQkUbyE.js → index-DnclGKUw.js} +21 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{inherit-aria-attributes.mixin-Sl7J-OlO.js → inherit-aria-attributes.mixin-EyRU0cDO.js} +2 -2
- package/dist/cjs/{input-picker.mixin-EoIayQV9.js → input-picker.mixin-Cf82jV-C.js} +2 -2
- package/dist/cjs/{input.fc-CsACCdp7.js → input.fc-DM-hX3xb.js} +3 -3
- package/dist/cjs/ix-action-card.cjs.entry.js +5 -4
- package/dist/cjs/ix-application-header.cjs.entry.js +14 -14
- package/dist/cjs/ix-application-switch-modal.cjs.entry.js +5 -5
- package/dist/cjs/ix-application.cjs.entry.js +28 -13
- package/dist/cjs/ix-avatar_2.cjs.entry.js +9 -9
- package/dist/cjs/ix-blind.cjs.entry.js +9 -9
- package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +10 -10
- package/dist/cjs/ix-breadcrumb.cjs.entry.js +8 -8
- package/dist/cjs/ix-button.cjs.entry.js +8 -8
- package/dist/cjs/ix-card-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/ix-card-list.cjs.entry.js +8 -8
- package/dist/cjs/ix-card_2.cjs.entry.js +4 -4
- package/dist/cjs/ix-category-filter.cjs.entry.js +8 -8
- package/dist/cjs/ix-checkbox-group.cjs.entry.js +4 -4
- package/dist/cjs/ix-checkbox.cjs.entry.js +20 -7
- package/dist/cjs/ix-chip.cjs.entry.js +11 -11
- package/dist/cjs/ix-col_4.cjs.entry.js +21 -23
- package/dist/cjs/ix-content-header.cjs.entry.js +5 -5
- package/dist/cjs/ix-content.cjs.entry.js +6 -6
- package/dist/cjs/ix-css-grid-item.cjs.entry.js +2 -2
- package/dist/cjs/ix-css-grid.cjs.entry.js +2 -2
- package/dist/cjs/ix-custom-field.cjs.entry.js +3 -3
- package/dist/cjs/ix-date-dropdown.cjs.entry.js +14 -14
- package/dist/cjs/ix-date-input.cjs.entry.js +15 -14
- package/dist/cjs/ix-date-picker.cjs.entry.js +13 -13
- package/dist/cjs/ix-date-time-card.cjs.entry.js +3 -3
- package/dist/cjs/ix-datetime-input.cjs.entry.js +14 -13
- package/dist/cjs/ix-datetime-picker.cjs.entry.js +6 -6
- package/dist/cjs/ix-divider.cjs.entry.js +2 -2
- package/dist/cjs/ix-dropdown-button.cjs.entry.js +11 -11
- package/dist/cjs/ix-dropdown-header.cjs.entry.js +2 -2
- package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +2 -2
- package/dist/cjs/ix-dropdown_2.cjs.entry.js +14 -13
- package/dist/cjs/ix-empty-state.cjs.entry.js +2 -2
- package/dist/cjs/ix-event-list-item.cjs.entry.js +7 -7
- package/dist/cjs/ix-event-list.cjs.entry.js +3 -3
- package/dist/cjs/ix-expanding-search.cjs.entry.js +6 -6
- package/dist/cjs/ix-field-label_2.cjs.entry.js +12 -12
- package/dist/cjs/ix-filter-chip_2.cjs.entry.js +30 -13
- package/dist/cjs/ix-flip-tile-content.cjs.entry.js +2 -2
- package/dist/cjs/ix-flip-tile.cjs.entry.js +6 -6
- package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +4 -4
- package/dist/cjs/ix-group.cjs.entry.js +11 -11
- package/dist/cjs/ix-helper-text.cjs.entry.js +6 -6
- package/dist/cjs/ix-icon-button_2.cjs.entry.js +12 -12
- package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +11 -11
- package/dist/cjs/ix-input.cjs.entry.js +11 -13
- package/dist/cjs/ix-key-value-list.cjs.entry.js +2 -2
- package/dist/cjs/ix-key-value.cjs.entry.js +2 -2
- package/dist/cjs/ix-kpi.cjs.entry.js +5 -5
- package/dist/cjs/ix-layout-auto.cjs.entry.js +2 -2
- package/dist/cjs/ix-link-button.cjs.entry.js +5 -5
- package/dist/cjs/ix-menu-about-item.cjs.entry.js +3 -3
- package/dist/cjs/ix-menu-about-news.cjs.entry.js +9 -9
- package/dist/cjs/ix-menu-about.cjs.entry.js +4 -4
- package/dist/cjs/ix-menu-avatar.cjs.entry.js +6 -6
- package/dist/cjs/ix-menu-category.cjs.entry.js +255 -38
- package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +8 -8
- package/dist/cjs/ix-menu-item.cjs.entry.js +221 -32
- package/dist/cjs/ix-menu-settings-item.cjs.entry.js +3 -3
- package/dist/cjs/ix-menu-settings.cjs.entry.js +4 -4
- package/dist/cjs/ix-menu.cjs.entry.js +195 -18
- package/dist/cjs/ix-message-bar.cjs.entry.js +3 -3
- package/dist/cjs/ix-modal-content_2.cjs.entry.js +6 -6
- package/dist/cjs/ix-modal-footer.cjs.entry.js +2 -2
- package/dist/cjs/ix-modal-loading.cjs.entry.js +2 -2
- package/dist/cjs/ix-modal.cjs.entry.js +6 -6
- package/dist/cjs/ix-number-input.cjs.entry.js +10 -10
- package/dist/cjs/ix-pagination.cjs.entry.js +7 -7
- package/dist/cjs/ix-pane-layout.cjs.entry.js +2 -2
- package/dist/cjs/ix-pane.cjs.entry.js +102 -25
- package/dist/cjs/ix-pill_4.cjs.entry.js +23 -23
- package/dist/cjs/ix-popover-content.cjs.entry.js +26 -0
- package/dist/cjs/ix-popover-footer.cjs.entry.js +26 -0
- package/dist/cjs/ix-popover-header.cjs.entry.js +70 -0
- package/dist/cjs/ix-popover-image.cjs.entry.js +33 -0
- package/dist/cjs/ix-popover.cjs.entry.js +996 -0
- package/dist/cjs/ix-progress-indicator.cjs.entry.js +5 -5
- package/dist/cjs/ix-push-card.cjs.entry.js +2 -2
- package/dist/cjs/ix-radio-group.cjs.entry.js +4 -4
- package/dist/cjs/ix-radio.cjs.entry.js +6 -6
- package/dist/cjs/ix-range-field.cjs.entry.js +7 -7
- package/dist/cjs/ix-select.cjs.entry.js +394 -24
- package/dist/cjs/ix-slider.cjs.entry.js +10 -10
- package/dist/cjs/ix-split-button.cjs.entry.js +7 -7
- package/dist/cjs/ix-tab-panel.cjs.entry.js +5 -5
- package/dist/cjs/ix-textarea.cjs.entry.js +6 -6
- package/dist/cjs/ix-tile.cjs.entry.js +5 -5
- package/dist/cjs/ix-time-input.cjs.entry.js +15 -14
- package/dist/cjs/ix-toast-container.cjs.entry.js +3 -3
- package/dist/cjs/ix-toast.cjs.entry.js +4 -4
- package/dist/cjs/ix-toggle-button.cjs.entry.js +8 -8
- package/dist/cjs/ix-toggle.cjs.entry.js +10 -10
- package/dist/cjs/ix-tooltip.cjs.entry.js +12 -3
- package/dist/cjs/ix-tree-item.cjs.entry.js +6 -6
- package/dist/cjs/ix-tree.cjs.entry.js +4 -3
- package/dist/cjs/ix-typography.cjs.entry.js +2 -2
- package/dist/cjs/ix-upload.cjs.entry.js +6 -6
- package/dist/cjs/ix-workflow-step.cjs.entry.js +5 -5
- package/dist/cjs/ix-workflow-steps.cjs.entry.js +2 -2
- package/dist/cjs/{listener-BafrcTaM.js → listener-ClEsCfX0.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{menu-service-D_QsHUgR.js → menu-service-DBg-0e5W.js} +13 -2
- package/dist/cjs/path-utils-CQKWhbQW.js +169 -0
- package/dist/cjs/{shadow-dom-BG8VqeIu.js → shadow-dom-BL5F7RFW.js} +13 -0
- package/dist/cjs/siemens-ix.cjs.js +3 -3
- package/dist/cjs/{tab.mixin-DObUK6A4.js → tab.mixin-C1KwKb64.js} +1 -1
- package/dist/cjs/uuid-Bo2QzEg9.js +15 -0
- package/dist/cjs/{validation-Dier-uPA.js → validation-DJaUH-UR.js} +1 -1
- package/dist/collection/collection-manifest.json +6 -1
- package/dist/collection/components/action-card/action-card.css +18 -0
- package/dist/collection/components/action-card/action-card.js +5 -1
- package/dist/collection/components/application/application.js +25 -10
- package/dist/collection/components/application-header/application-header.js +9 -9
- package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.css +2 -2
- package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.js +2 -2
- package/dist/collection/components/avatar/avatar.css +1 -1
- package/dist/collection/components/blind/blind.css +27 -0
- package/dist/collection/components/blind/blind.js +5 -5
- package/dist/collection/components/breadcrumb/breadcrumb.js +2 -2
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.css +3 -3
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +1 -1
- package/dist/collection/components/button/base-button.js +1 -1
- package/dist/collection/components/button/button.css +2 -2
- package/dist/collection/components/card/card.js +2 -2
- package/dist/collection/components/card-accordion/card-accordion.js +4 -4
- package/dist/collection/components/card-content/card-content.js +1 -1
- package/dist/collection/components/card-list/card-list.css +1 -1
- package/dist/collection/components/card-list/card-list.js +6 -6
- package/dist/collection/components/card-title/card-title.js +1 -1
- package/dist/collection/components/category-filter/category-filter.css +2 -2
- package/dist/collection/components/category-filter/category-filter.js +3 -3
- package/dist/collection/components/checkbox/checkbox.css +13 -4
- package/dist/collection/components/checkbox/checkbox.js +21 -3
- package/dist/collection/components/checkbox-group/checkbox-group.js +2 -2
- package/dist/collection/components/chip/chip.js +4 -4
- package/dist/collection/components/col/col.js +2 -2
- package/dist/collection/components/content/content.css +2 -2
- package/dist/collection/components/content/content.js +3 -3
- package/dist/collection/components/content-header/content-header.js +3 -3
- package/dist/collection/components/css-grid/css-grid-item.js +1 -1
- package/dist/collection/components/css-grid/css-grid.js +1 -1
- package/dist/collection/components/custom-field/custom-field.js +1 -1
- package/dist/collection/components/date-dropdown/date-dropdown.css +1 -1
- package/dist/collection/components/date-dropdown/date-dropdown.js +5 -5
- package/dist/collection/components/date-input/date-input.js +5 -4
- package/dist/collection/components/date-picker/date-picker.css +4 -0
- package/dist/collection/components/date-picker/date-picker.js +7 -7
- package/dist/collection/components/date-time-card/date-time-card.js +2 -2
- package/dist/collection/components/datetime-input/datetime-input.js +3 -3
- package/dist/collection/components/datetime-picker/datetime-picker.js +3 -3
- package/dist/collection/components/divider/divider.js +1 -1
- package/dist/collection/components/dropdown/dropdown-controller.js +20 -82
- package/dist/collection/components/dropdown/dropdown.js +2 -2
- package/dist/collection/components/dropdown-button/dropdown-button.js +6 -6
- package/dist/collection/components/dropdown-header/dropdown-header.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +3 -3
- package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js +1 -1
- package/dist/collection/components/empty-state/empty-state.js +1 -1
- package/dist/collection/components/event-list/event-list.js +2 -2
- package/dist/collection/components/event-list-item/event-list-item.js +4 -4
- package/dist/collection/components/expanding-search/expanding-search.js +4 -4
- package/dist/collection/components/field-label/field-label.js +2 -2
- package/dist/collection/components/field-wrapper/field-wrapper.js +2 -2
- package/dist/collection/components/filter-chip/filter-chip.css +3 -1
- package/dist/collection/components/filter-chip/filter-chip.js +31 -1
- package/dist/collection/components/flip-tile/flip-tile.js +3 -3
- package/dist/collection/components/flip-tile-content/flip-tile-content.js +1 -1
- package/dist/collection/components/group/group-context-menu.js +1 -1
- package/dist/collection/components/group/group.js +8 -8
- package/dist/collection/components/helper-text/helper-text.js +1 -1
- package/dist/collection/components/icon-button/icon-button.css +2 -2
- package/dist/collection/components/icon-button/icon-button.js +2 -2
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.css +2 -2
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +2 -2
- package/dist/collection/components/input/input.css +2 -2
- package/dist/collection/components/input/input.js +5 -7
- package/dist/collection/components/input/number-input.js +5 -5
- package/dist/collection/components/input/textarea.js +2 -2
- package/dist/collection/components/ix-playground/ix-playground.js +1 -1
- package/dist/collection/components/key-value/key-value.js +1 -1
- package/dist/collection/components/key-value-list/key-value-list.js +1 -1
- package/dist/collection/components/kpi/kpi.js +3 -3
- package/dist/collection/components/layout-auto/layout-auto.js +1 -1
- package/dist/collection/components/layout-grid/layout-grid.js +2 -2
- package/dist/collection/components/link-button/link-button.js +3 -3
- package/dist/collection/components/menu/menu-expand-icon.css +1 -1
- package/dist/collection/components/menu/menu-expand-icon.js +3 -3
- package/dist/collection/components/menu/menu.css +21 -3
- package/dist/collection/components/menu/menu.js +238 -14
- package/dist/collection/components/menu-about/menu-about.js +2 -2
- package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
- package/dist/collection/components/menu-about-news/menu-about-news.js +4 -4
- package/dist/collection/components/menu-avatar/menu-avatar.js +2 -2
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
- package/dist/collection/components/menu-category/menu-category.js +122 -32
- package/dist/collection/components/menu-item/menu-item.js +117 -19
- package/dist/collection/components/menu-settings/menu-settings.js +2 -2
- package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
- package/dist/collection/components/message-bar/message-bar.js +1 -1
- package/dist/collection/components/modal/modal.js +3 -3
- package/dist/collection/components/modal-content/modal-content.js +1 -1
- package/dist/collection/components/modal-footer/modal-footer.js +1 -1
- package/dist/collection/components/modal-header/modal-header.css +1 -0
- package/dist/collection/components/modal-header/modal-header.js +1 -1
- package/dist/collection/components/modal-loading/modal-loading.js +1 -1
- package/dist/collection/components/pagination/pagination.css +2 -2
- package/dist/collection/components/pagination/pagination.js +2 -2
- package/dist/collection/components/pane/pane.css +4 -0
- package/dist/collection/components/pane/pane.js +119 -21
- package/dist/collection/components/pane-layout/pane-layout.js +1 -1
- package/dist/collection/components/pill/pill.js +4 -4
- package/dist/collection/components/popover/popover-controller.js +161 -0
- package/dist/collection/components/popover/popover.css +75 -0
- package/dist/collection/components/popover/popover.js +940 -0
- package/dist/collection/components/popover/test/popover.constants.js +19 -0
- package/dist/collection/components/popover/test/popover.fixtures.js +111 -0
- package/dist/collection/components/popover/test/popover.page.js +318 -0
- package/dist/collection/components/popover-content/popover-content.css +81 -0
- package/dist/collection/components/popover-content/popover-content.js +67 -0
- package/dist/collection/components/popover-footer/popover-footer.css +91 -0
- package/dist/collection/components/popover-footer/popover-footer.js +68 -0
- package/dist/collection/components/popover-header/popover-header.css +105 -0
- package/dist/collection/components/popover-header/popover-header.js +205 -0
- package/dist/collection/components/popover-image/popover-image.css +80 -0
- package/dist/collection/components/popover-image/popover-image.js +96 -0
- package/dist/collection/components/progress-indicator/progress-indicator.js +3 -3
- package/dist/collection/components/push-card/push-card.js +1 -1
- package/dist/collection/components/radio/radio.js +3 -3
- package/dist/collection/components/radio-group/radio-group.js +2 -2
- package/dist/collection/components/range-field/range-field.js +2 -2
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/select/select.css +25 -3
- package/dist/collection/components/select/select.js +420 -16
- package/dist/collection/components/select-item/select-item.css +5 -0
- package/dist/collection/components/select-item/select-item.js +33 -3
- package/dist/collection/components/slider/slider.js +6 -6
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/tab-item/tab-item.js +5 -5
- package/dist/collection/components/tab-panel/tab-panel.js +1 -1
- package/dist/collection/components/tab-set/tab-set.js +1 -1
- package/dist/collection/components/tabs/tabs.js +5 -5
- package/dist/collection/components/tile/tile.js +4 -4
- package/dist/collection/components/time-input/time-input.js +5 -4
- package/dist/collection/components/time-picker/time-picker.js +17 -19
- package/dist/collection/components/toast/toast-container.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/toggle-button/toggle-button.css +2 -2
- package/dist/collection/components/tooltip/tooltip.js +11 -2
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +4 -4
- package/dist/collection/components/typography/typography.js +1 -1
- package/dist/collection/components/upload/upload.js +3 -3
- package/dist/collection/components/utils/a11y.js +9 -0
- package/dist/collection/components/utils/focus/focus-proxy.js +5 -4
- package/dist/collection/components/utils/focus/focus-trap.js +286 -69
- package/dist/collection/components/utils/focus/focus-utilities.js +65 -23
- package/dist/collection/components/utils/menu-service/menu-service.js +13 -2
- package/dist/collection/components/utils/nested-overlay/hierarchy.js +44 -0
- package/dist/collection/components/utils/nested-overlay/index.js +11 -0
- package/dist/collection/components/utils/nested-overlay/nested-overlay-stack.js +101 -0
- package/dist/collection/components/utils/nested-overlay/path-utils.js +17 -0
- package/dist/collection/components/utils/nested-overlay/types.js +1 -0
- package/dist/collection/components/utils/shadow-dom.js +12 -0
- package/dist/collection/components/workflow-step/workflow-step.js +3 -3
- package/dist/collection/components/workflow-steps/workflow-steps.js +1 -1
- package/dist/esm/{a11y-B5k8YVR0.js → a11y-C21npbUc.js} +10 -1
- package/dist/esm/{base-button-hppF0uUM.js → base-button-DZdtpLxn.js} +3 -3
- package/dist/esm/{base-icon-button-_xVULsPr.js → base-icon-button-DufFLJC-.js} +2 -2
- package/dist/esm/{component-Chfbghog.js → component-DqJSHc3A.js} +2 -2
- package/dist/esm/dropdown-controller-Jfg3ZWk6.js +96 -0
- package/dist/esm/{focus-proxy-BgLEsVE2.js → focus-proxy-BQyoX-Kl.js} +6 -5
- package/dist/esm/focus-trap-IK9ialav.js +304 -0
- package/dist/esm/{focus-utilities-DnaItyVQ.js → focus-utilities-6ZxKp7Jn.js} +66 -24
- package/dist/esm/{focus-visible.mixin-CoMZ6z5Z.js → focus-visible.mixin-CaRK3Ex_.js} +2 -2
- package/dist/esm/{helper-text-util-AEl-1QU6.js → helper-text-util-D0LEFZuB.js} +3 -3
- package/dist/esm/{index-Cl7fhG1I.js → index-DgUGsIlh.js} +2 -2
- package/dist/esm/{index-Ca5WUunf.js → index-EBgS4zhE.js} +21 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{inherit-aria-attributes.mixin-CBuZQFB-.js → inherit-aria-attributes.mixin-nCmPujqf.js} +2 -2
- package/dist/esm/{input-picker.mixin-Bo_sZpC4.js → input-picker.mixin-DudWFH-e.js} +2 -2
- package/dist/esm/{input.fc-DjE-oOZc.js → input.fc-CE3kP-L_.js} +3 -3
- package/dist/esm/ix-action-card.entry.js +5 -4
- package/dist/esm/ix-application-header.entry.js +14 -14
- package/dist/esm/ix-application-switch-modal.entry.js +5 -5
- package/dist/esm/ix-application.entry.js +28 -13
- package/dist/esm/ix-avatar_2.entry.js +9 -9
- package/dist/esm/ix-blind.entry.js +9 -9
- package/dist/esm/ix-breadcrumb-item.entry.js +10 -10
- package/dist/esm/ix-breadcrumb.entry.js +8 -8
- package/dist/esm/ix-button.entry.js +8 -8
- package/dist/esm/ix-card-accordion_2.entry.js +7 -7
- package/dist/esm/ix-card-list.entry.js +8 -8
- package/dist/esm/ix-card_2.entry.js +4 -4
- package/dist/esm/ix-category-filter.entry.js +8 -8
- package/dist/esm/ix-checkbox-group.entry.js +4 -4
- package/dist/esm/ix-checkbox.entry.js +20 -7
- package/dist/esm/ix-chip.entry.js +11 -11
- package/dist/esm/ix-col_4.entry.js +21 -23
- package/dist/esm/ix-content-header.entry.js +5 -5
- package/dist/esm/ix-content.entry.js +6 -6
- package/dist/esm/ix-css-grid-item.entry.js +2 -2
- package/dist/esm/ix-css-grid.entry.js +2 -2
- package/dist/esm/ix-custom-field.entry.js +3 -3
- package/dist/esm/ix-date-dropdown.entry.js +14 -14
- package/dist/esm/ix-date-input.entry.js +15 -14
- package/dist/esm/ix-date-picker.entry.js +13 -13
- package/dist/esm/ix-date-time-card.entry.js +3 -3
- package/dist/esm/ix-datetime-input.entry.js +14 -13
- package/dist/esm/ix-datetime-picker.entry.js +6 -6
- package/dist/esm/ix-divider.entry.js +2 -2
- package/dist/esm/ix-dropdown-button.entry.js +11 -11
- package/dist/esm/ix-dropdown-header.entry.js +2 -2
- package/dist/esm/ix-dropdown-quick-actions.entry.js +2 -2
- package/dist/esm/ix-dropdown_2.entry.js +14 -13
- package/dist/esm/ix-empty-state.entry.js +2 -2
- package/dist/esm/ix-event-list-item.entry.js +7 -7
- package/dist/esm/ix-event-list.entry.js +3 -3
- package/dist/esm/ix-expanding-search.entry.js +6 -6
- package/dist/esm/ix-field-label_2.entry.js +12 -12
- package/dist/esm/ix-filter-chip_2.entry.js +30 -13
- package/dist/esm/ix-flip-tile-content.entry.js +2 -2
- package/dist/esm/ix-flip-tile.entry.js +6 -6
- package/dist/esm/ix-group-context-menu_2.entry.js +4 -4
- package/dist/esm/ix-group.entry.js +11 -11
- package/dist/esm/ix-helper-text.entry.js +6 -6
- package/dist/esm/ix-icon-button_2.entry.js +12 -12
- package/dist/esm/ix-icon-toggle-button.entry.js +11 -11
- package/dist/esm/ix-input.entry.js +11 -13
- package/dist/esm/ix-key-value-list.entry.js +2 -2
- package/dist/esm/ix-key-value.entry.js +2 -2
- package/dist/esm/ix-kpi.entry.js +5 -5
- package/dist/esm/ix-layout-auto.entry.js +2 -2
- package/dist/esm/ix-link-button.entry.js +5 -5
- package/dist/esm/ix-menu-about-item.entry.js +3 -3
- package/dist/esm/ix-menu-about-news.entry.js +9 -9
- package/dist/esm/ix-menu-about.entry.js +4 -4
- package/dist/esm/ix-menu-avatar.entry.js +6 -6
- package/dist/esm/ix-menu-category.entry.js +255 -38
- package/dist/esm/ix-menu-expand-icon.entry.js +8 -8
- package/dist/esm/ix-menu-item.entry.js +220 -31
- package/dist/esm/ix-menu-settings-item.entry.js +3 -3
- package/dist/esm/ix-menu-settings.entry.js +4 -4
- package/dist/esm/ix-menu.entry.js +195 -18
- package/dist/esm/ix-message-bar.entry.js +3 -3
- package/dist/esm/ix-modal-content_2.entry.js +6 -6
- package/dist/esm/ix-modal-footer.entry.js +2 -2
- package/dist/esm/ix-modal-loading.entry.js +2 -2
- package/dist/esm/ix-modal.entry.js +6 -6
- package/dist/esm/ix-number-input.entry.js +10 -10
- package/dist/esm/ix-pagination.entry.js +7 -7
- package/dist/esm/ix-pane-layout.entry.js +2 -2
- package/dist/esm/ix-pane.entry.js +102 -25
- package/dist/esm/ix-pill_4.entry.js +23 -23
- package/dist/esm/ix-popover-content.entry.js +24 -0
- package/dist/esm/ix-popover-footer.entry.js +24 -0
- package/dist/esm/ix-popover-header.entry.js +68 -0
- package/dist/esm/ix-popover-image.entry.js +31 -0
- package/dist/esm/ix-popover.entry.js +994 -0
- package/dist/esm/ix-progress-indicator.entry.js +5 -5
- package/dist/esm/ix-push-card.entry.js +2 -2
- package/dist/esm/ix-radio-group.entry.js +4 -4
- package/dist/esm/ix-radio.entry.js +6 -6
- package/dist/esm/ix-range-field.entry.js +7 -7
- package/dist/esm/ix-select.entry.js +394 -24
- package/dist/esm/ix-slider.entry.js +10 -10
- package/dist/esm/ix-split-button.entry.js +7 -7
- package/dist/esm/ix-tab-panel.entry.js +5 -5
- package/dist/esm/ix-textarea.entry.js +6 -6
- package/dist/esm/ix-tile.entry.js +5 -5
- package/dist/esm/ix-time-input.entry.js +15 -14
- package/dist/esm/ix-toast-container.entry.js +3 -3
- package/dist/esm/ix-toast.entry.js +4 -4
- package/dist/esm/ix-toggle-button.entry.js +8 -8
- package/dist/esm/ix-toggle.entry.js +10 -10
- package/dist/esm/ix-tooltip.entry.js +12 -3
- package/dist/esm/ix-tree-item.entry.js +6 -6
- package/dist/esm/ix-tree.entry.js +4 -3
- package/dist/esm/ix-typography.entry.js +2 -2
- package/dist/esm/ix-upload.entry.js +6 -6
- package/dist/esm/ix-workflow-step.entry.js +5 -5
- package/dist/esm/ix-workflow-steps.entry.js +2 -2
- package/dist/esm/{listener-Dk6XGheN.js → listener-BjluJgvO.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{menu-service-DTIYRV47.js → menu-service-DYOa8RGJ.js} +13 -2
- package/dist/esm/path-utils-CNLoALIl.js +165 -0
- package/dist/esm/{shadow-dom-BIe8Nw9M.js → shadow-dom-BClJdFQP.js} +13 -1
- package/dist/esm/siemens-ix.js +4 -4
- package/dist/esm/{tab.mixin-2hU1i4Yk.js → tab.mixin-BjAM99yM.js} +1 -1
- package/dist/esm/uuid-D3T7Lr4G.js +13 -0
- package/dist/esm/{validation-BT5aAuSO.js → validation-VVt5EFy0.js} +1 -1
- package/dist/siemens-ix/index.esm.js +1 -1
- package/dist/siemens-ix/p-074c8b24.entry.js +1 -0
- package/dist/siemens-ix/p-080147bd.entry.js +1 -0
- package/dist/siemens-ix/p-0d60bd71.entry.js +1 -0
- package/dist/siemens-ix/p-0eb3a12a.entry.js +1 -0
- package/dist/siemens-ix/p-12930fcd.entry.js +1 -0
- package/dist/siemens-ix/p-18cae4df.entry.js +1 -0
- package/dist/siemens-ix/p-1a6b7e92.entry.js +1 -0
- package/dist/siemens-ix/{p-a5d60068.entry.js → p-2072682b.entry.js} +1 -1
- package/dist/siemens-ix/{p-65b8ad90.entry.js → p-21b09017.entry.js} +1 -1
- package/dist/siemens-ix/{p-6fb379fb.entry.js → p-21e8ccb6.entry.js} +1 -1
- package/dist/siemens-ix/{p-232da11d.entry.js → p-2202ae94.entry.js} +1 -1
- package/dist/siemens-ix/{p-12750b7b.entry.js → p-247d2e7a.entry.js} +1 -1
- package/dist/siemens-ix/{p-84fbdef9.entry.js → p-24c54468.entry.js} +1 -1
- package/dist/siemens-ix/p-264e971c.entry.js +1 -0
- package/dist/siemens-ix/p-2b9f7512.entry.js +1 -0
- package/dist/siemens-ix/{p-756c8779.entry.js → p-2f7b1e1e.entry.js} +1 -1
- package/dist/siemens-ix/p-321a10b6.entry.js +1 -0
- package/dist/siemens-ix/{p-df13643b.entry.js → p-34f61a28.entry.js} +1 -1
- package/dist/siemens-ix/p-35bfaa91.entry.js +1 -0
- package/dist/siemens-ix/{p-48386b43.entry.js → p-3854287c.entry.js} +1 -1
- package/dist/siemens-ix/p-3bb5600a.entry.js +1 -0
- package/dist/siemens-ix/p-3bc384b7.entry.js +1 -0
- package/dist/siemens-ix/p-3pidUFd-.js +1 -0
- package/dist/siemens-ix/{p-8493e35e.entry.js → p-46768472.entry.js} +1 -1
- package/dist/siemens-ix/p-46b2b660.entry.js +1 -0
- package/dist/siemens-ix/p-4bc4a175.entry.js +1 -0
- package/dist/siemens-ix/p-4f0f97dd.entry.js +1 -0
- package/dist/siemens-ix/p-52dc064a.entry.js +1 -0
- package/dist/siemens-ix/p-54a22a58.entry.js +1 -0
- package/dist/siemens-ix/{p-986142f0.entry.js → p-5685a2e6.entry.js} +1 -1
- package/dist/siemens-ix/p-56d2d54c.entry.js +1 -0
- package/dist/siemens-ix/p-5ff289c7.entry.js +1 -0
- package/dist/siemens-ix/p-601224bd.entry.js +1 -0
- package/dist/siemens-ix/{p-d798773f.entry.js → p-62a7ae9c.entry.js} +1 -1
- package/dist/siemens-ix/p-63491f83.entry.js +1 -0
- package/dist/siemens-ix/p-641bc66c.entry.js +1 -0
- package/dist/siemens-ix/{p-21c0d22c.entry.js → p-646d5219.entry.js} +1 -1
- package/dist/siemens-ix/{p-6e63af65.entry.js → p-66b4875e.entry.js} +1 -1
- package/dist/siemens-ix/p-6ZxKp7Jn.js +1 -0
- package/dist/siemens-ix/{p-5024bd91.entry.js → p-6f78e0f1.entry.js} +1 -1
- package/dist/siemens-ix/{p-077cb0a7.entry.js → p-705eded9.entry.js} +1 -1
- package/dist/siemens-ix/p-710d32a6.entry.js +1 -0
- package/dist/siemens-ix/{p-edb738d9.entry.js → p-71feb871.entry.js} +1 -1
- package/dist/siemens-ix/p-7c120d09.entry.js +1 -0
- package/dist/siemens-ix/p-7e6a5c38.entry.js +1 -0
- package/dist/siemens-ix/p-7fc7c67f.entry.js +1 -0
- package/dist/siemens-ix/p-81248fd2.entry.js +1 -0
- package/dist/siemens-ix/p-8164a98b.entry.js +1 -0
- package/dist/siemens-ix/p-83f4cd88.entry.js +1 -0
- package/dist/siemens-ix/{p-38cb18b4.entry.js → p-8900e229.entry.js} +1 -1
- package/dist/siemens-ix/p-8969b2f9.entry.js +1 -0
- package/dist/siemens-ix/{p-0de68f63.entry.js → p-8c2365cc.entry.js} +1 -1
- package/dist/siemens-ix/p-8cea823b.entry.js +1 -0
- package/dist/siemens-ix/p-8d05ae35.entry.js +1 -0
- package/dist/siemens-ix/{p-68eb9150.entry.js → p-8d73ddac.entry.js} +1 -1
- package/dist/siemens-ix/{p-f847a799.entry.js → p-90a5cda7.entry.js} +1 -1
- package/dist/siemens-ix/{p-782fb465.entry.js → p-957b77ec.entry.js} +1 -1
- package/dist/siemens-ix/{p-280d8b68.entry.js → p-9a88ff9c.entry.js} +1 -1
- package/dist/siemens-ix/{p-222881a1.entry.js → p-9d9fec8c.entry.js} +1 -1
- package/dist/siemens-ix/p-B0y5hnj5.js +1 -0
- package/dist/siemens-ix/p-B4oiZyZC.js +1 -0
- package/dist/siemens-ix/p-BClJdFQP.js +1 -0
- package/dist/siemens-ix/p-BKuq0po2.js +1 -0
- package/{components/p-Dx8kFukG.js → dist/siemens-ix/p-BWgttsqY.js} +1 -1
- package/dist/siemens-ix/p-BbwShqw_.js +1 -0
- package/dist/siemens-ix/{p-B5k8YVR0.js → p-C21npbUc.js} +1 -1
- package/dist/siemens-ix/{p-DnCbHs-d.js → p-C518yBiI.js} +1 -1
- package/dist/siemens-ix/p-CNLoALIl.js +1 -0
- package/dist/siemens-ix/{p-BgL7Z4IG.js → p-CXbob2Ew.js} +1 -1
- package/dist/siemens-ix/p-D3T7Lr4G.js +1 -0
- package/dist/siemens-ix/p-DT02jDB7.js +1 -0
- package/dist/siemens-ix/p-DVJeDueL.js +1 -0
- package/dist/siemens-ix/p-DgUGsIlh.js +1 -0
- package/dist/siemens-ix/p-HpQs38Y0.js +1 -0
- package/dist/siemens-ix/{p-a44e8a8f.entry.js → p-a6a0b240.entry.js} +1 -1
- package/dist/siemens-ix/{p-bd60b9fe.entry.js → p-ae07f671.entry.js} +1 -1
- package/dist/siemens-ix/p-aec23f79.entry.js +1 -0
- package/dist/siemens-ix/p-b13f34d1.entry.js +1 -0
- package/dist/siemens-ix/p-b181bf0b.entry.js +1 -0
- package/dist/siemens-ix/p-b534dadd.entry.js +1 -0
- package/dist/siemens-ix/{p-5b3f7baa.entry.js → p-b63d7f36.entry.js} +1 -1
- package/dist/siemens-ix/p-b75db823.entry.js +1 -0
- package/dist/siemens-ix/{p-c56497da.entry.js → p-b7f2f229.entry.js} +1 -1
- package/dist/siemens-ix/p-b8beb613.entry.js +1 -0
- package/dist/siemens-ix/p-ba9dcd79.entry.js +1 -0
- package/dist/siemens-ix/{p-fcac86a5.entry.js → p-bc0f5cbe.entry.js} +1 -1
- package/dist/siemens-ix/{p-dedd5fc0.entry.js → p-bc11adcd.entry.js} +1 -1
- package/dist/siemens-ix/{p-2d7e415f.entry.js → p-bfb758cb.entry.js} +1 -1
- package/dist/siemens-ix/p-c0c6d772.entry.js +1 -0
- package/dist/siemens-ix/p-c0dc5a8e.entry.js +1 -0
- package/dist/siemens-ix/{p-04bbcd53.entry.js → p-c6d63b3c.entry.js} +1 -1
- package/dist/siemens-ix/{p-3f752a9c.entry.js → p-c97c218d.entry.js} +1 -1
- package/dist/siemens-ix/p-cYKY6sUE.js +1 -0
- package/dist/siemens-ix/{p-44a3f1f0.entry.js → p-d13c0b78.entry.js} +1 -1
- package/dist/siemens-ix/p-d1ab68b3.entry.js +1 -0
- package/dist/siemens-ix/p-d253dadb.entry.js +1 -0
- package/dist/siemens-ix/{p-2bef3c58.entry.js → p-d6c906b7.entry.js} +1 -1
- package/dist/siemens-ix/p-d74baa8a.entry.js +1 -0
- package/dist/siemens-ix/{p-d8c99656.entry.js → p-d770d8ba.entry.js} +1 -1
- package/dist/siemens-ix/p-d80e7d50.entry.js +1 -0
- package/dist/siemens-ix/{p-b17053bc.entry.js → p-d830e3d6.entry.js} +1 -1
- package/dist/siemens-ix/{p-ae5569aa.entry.js → p-da2e0f0e.entry.js} +1 -1
- package/dist/siemens-ix/{p-f107a580.entry.js → p-db105778.entry.js} +1 -1
- package/dist/siemens-ix/{p-1fa6a663.entry.js → p-dc16a32d.entry.js} +1 -1
- package/dist/siemens-ix/p-de58069d.entry.js +1 -0
- package/dist/siemens-ix/{p-85ce0a9f.entry.js → p-e283d7d1.entry.js} +1 -1
- package/dist/siemens-ix/p-e5d2a048.entry.js +1 -0
- package/dist/siemens-ix/p-e698e193.entry.js +1 -0
- package/dist/siemens-ix/{p-c921c01b.entry.js → p-e9b37020.entry.js} +1 -1
- package/dist/siemens-ix/{p-5ae844d7.entry.js → p-ee1617da.entry.js} +1 -1
- package/dist/siemens-ix/p-f0d97723.entry.js +1 -0
- package/dist/siemens-ix/p-f1257e08.entry.js +1 -0
- package/dist/siemens-ix/{p-d440cd94.entry.js → p-f8561834.entry.js} +1 -1
- package/dist/siemens-ix/{p-7a83e693.entry.js → p-f9628912.entry.js} +1 -1
- package/dist/siemens-ix/{p-2afcdc78.entry.js → p-fa5c236f.entry.js} +1 -1
- package/dist/siemens-ix/p-fb1e66a7.entry.js +1 -0
- package/dist/siemens-ix/p-fdec73d4.entry.js +1 -0
- package/dist/siemens-ix/{p-ed2aea43.entry.js → p-ff1967de.entry.js} +1 -1
- package/dist/siemens-ix/{p-yAf8WIcn.js → p-vphIrWGB.js} +1 -1
- package/dist/siemens-ix/p-wfVRhTWc.js +1 -0
- package/dist/siemens-ix/{p-D148LCh1.js → p-yZFaEeBW.js} +1 -1
- package/dist/siemens-ix/siemens-ix.esm.js +1 -1
- package/dist/types/components/action-card/action-card.d.ts +3 -0
- package/dist/types/components/application/application.d.ts +2 -0
- package/dist/types/components/checkbox/checkbox.d.ts +5 -0
- package/dist/types/components/dropdown/dropdown-controller.d.ts +1 -3
- package/dist/types/components/filter-chip/filter-chip.d.ts +6 -0
- package/dist/types/components/input/input.d.ts +1 -0
- package/dist/types/components/menu/menu.d.ts +31 -1
- package/dist/types/components/menu-category/menu-category.d.ts +28 -2
- package/dist/types/components/menu-item/menu-item.d.ts +39 -2
- package/dist/types/components/pane/pane.d.ts +14 -1
- package/dist/types/components/popover/popover-controller.d.ts +52 -0
- package/dist/types/components/popover/popover.d.ts +190 -0
- package/dist/types/components/popover/test/popover.constants.d.ts +11 -0
- package/dist/types/components/popover/test/popover.fixtures.d.ts +29 -0
- package/dist/types/components/popover/test/popover.page.d.ts +118 -0
- package/dist/types/components/popover-content/popover-content.d.ts +16 -0
- package/dist/types/components/popover-footer/popover-footer.d.ts +17 -0
- package/dist/types/components/popover-header/popover-header.d.ts +49 -0
- package/dist/types/components/popover-image/popover-image.d.ts +21 -0
- package/dist/types/components/select/select.d.ts +49 -0
- package/dist/types/components/select-item/select-item.d.ts +7 -0
- package/dist/types/components/tooltip/tooltip.d.ts +2 -0
- package/dist/types/components/utils/a11y.d.ts +5 -0
- package/dist/types/components/utils/focus/focus-proxy.d.ts +6 -4
- package/dist/types/components/utils/focus/focus-trap.d.ts +16 -1
- package/dist/types/components/utils/focus/focus-utilities.d.ts +2 -2
- package/dist/types/components/utils/menu-service/menu-service.d.ts +1 -0
- package/dist/types/components/utils/nested-overlay/hierarchy.d.ts +6 -0
- package/dist/types/components/utils/nested-overlay/index.d.ts +6 -0
- package/dist/types/components/utils/nested-overlay/nested-overlay-stack.d.ts +28 -0
- package/dist/types/components/utils/nested-overlay/path-utils.d.ts +1 -0
- package/dist/types/components/utils/nested-overlay/types.d.ts +13 -0
- package/dist/types/components/utils/shadow-dom.d.ts +1 -0
- package/dist/types/components.d.ts +486 -12
- package/dist/types/stencil-public-runtime.d.ts +1 -0
- package/hydrate/index.js +3360 -684
- package/hydrate/index.mjs +3360 -684
- package/package.json +4 -4
- package/components/p-5jph302v.js +0 -1
- package/components/p-B1ZcjHve.js +0 -1
- package/components/p-B8RlWbEh.js +0 -1
- package/components/p-B_czElDE.js +0 -1
- package/components/p-BooU9e46.js +0 -1
- package/components/p-Btv5ReUJ.js +0 -1
- package/components/p-BtvsjuLo.js +0 -1
- package/components/p-C95SE6lT.js +0 -1
- package/components/p-CDKHgTB8.js +0 -1
- package/components/p-CKYjdhXo.js +0 -1
- package/components/p-CQj_gEvY.js +0 -1
- package/components/p-CYgb41KQ.js +0 -1
- package/components/p-C_95k0nq.js +0 -1
- package/components/p-CgOv_MV_.js +0 -1
- package/components/p-D4RWuUBi.js +0 -1
- package/components/p-D4T7_gkf.js +0 -1
- package/components/p-D5gbubPJ.js +0 -1
- package/components/p-D6Wm2E-0.js +0 -1
- package/components/p-D8Wb4thH.js +0 -1
- package/components/p-DOCAISxs.js +0 -1
- package/components/p-JXbYOM9q.js +0 -1
- package/components/p-NLlCSNeG.js +0 -1
- package/components/p-VEcjhpT4.js +0 -1
- package/components/p-XBJqkmoc.js +0 -1
- package/components/p-wEbi9beJ.js +0 -1
- package/dist/cjs/dropdown-controller-DeBeUVhj.js +0 -160
- package/dist/cjs/focus-trap-_cyPFvFq.js +0 -106
- package/dist/esm/dropdown-controller-D6Wm2E-0.js +0 -157
- package/dist/esm/focus-trap-DDLHqzV2.js +0 -102
- package/dist/siemens-ix/p-12647d5d.entry.js +0 -1
- package/dist/siemens-ix/p-15aefb52.entry.js +0 -1
- package/dist/siemens-ix/p-1629de03.entry.js +0 -1
- package/dist/siemens-ix/p-1ce32501.entry.js +0 -1
- package/dist/siemens-ix/p-2142fab0.entry.js +0 -1
- package/dist/siemens-ix/p-23aaf08e.entry.js +0 -1
- package/dist/siemens-ix/p-25c784e4.entry.js +0 -1
- package/dist/siemens-ix/p-2a735134.entry.js +0 -1
- package/dist/siemens-ix/p-2d8f3ea3.entry.js +0 -1
- package/dist/siemens-ix/p-2e5e7ccf.entry.js +0 -1
- package/dist/siemens-ix/p-40a26154.entry.js +0 -1
- package/dist/siemens-ix/p-45552c4c.entry.js +0 -1
- package/dist/siemens-ix/p-50b75fdf.entry.js +0 -1
- package/dist/siemens-ix/p-58d349a2.entry.js +0 -1
- package/dist/siemens-ix/p-5a44cb29.entry.js +0 -1
- package/dist/siemens-ix/p-5c478e3e.entry.js +0 -1
- package/dist/siemens-ix/p-61a481f3.entry.js +0 -1
- package/dist/siemens-ix/p-65bc8a0d.entry.js +0 -1
- package/dist/siemens-ix/p-69459b73.entry.js +0 -1
- package/dist/siemens-ix/p-6df3d9e4.entry.js +0 -1
- package/dist/siemens-ix/p-82f44b05.entry.js +0 -1
- package/dist/siemens-ix/p-834330b3.entry.js +0 -1
- package/dist/siemens-ix/p-8937e9b1.entry.js +0 -1
- package/dist/siemens-ix/p-8cfddec2.entry.js +0 -1
- package/dist/siemens-ix/p-8d76c0b0.entry.js +0 -1
- package/dist/siemens-ix/p-9015a4c5.entry.js +0 -1
- package/dist/siemens-ix/p-91b02cb7.entry.js +0 -1
- package/dist/siemens-ix/p-9362c304.entry.js +0 -1
- package/dist/siemens-ix/p-9586a886.entry.js +0 -1
- package/dist/siemens-ix/p-9907d408.entry.js +0 -1
- package/dist/siemens-ix/p-9b8f1bc7.entry.js +0 -1
- package/dist/siemens-ix/p-BIe8Nw9M.js +0 -1
- package/dist/siemens-ix/p-BZApVtkF.js +0 -1
- package/dist/siemens-ix/p-CgOv_MV_.js +0 -1
- package/dist/siemens-ix/p-Cl7fhG1I.js +0 -1
- package/dist/siemens-ix/p-CxGywkh5.js +0 -1
- package/dist/siemens-ix/p-D6Wm2E-0.js +0 -1
- package/dist/siemens-ix/p-DIWED8Ls.js +0 -1
- package/dist/siemens-ix/p-DnaItyVQ.js +0 -1
- package/dist/siemens-ix/p-DzWThpzp.js +0 -1
- package/dist/siemens-ix/p-GLcPX9PU.js +0 -1
- package/dist/siemens-ix/p-Z4IKO1Dx.js +0 -1
- package/dist/siemens-ix/p-afa900f7.entry.js +0 -1
- package/dist/siemens-ix/p-b1930204.entry.js +0 -1
- package/dist/siemens-ix/p-b517c2e1.entry.js +0 -1
- package/dist/siemens-ix/p-b96eabf7.entry.js +0 -1
- package/dist/siemens-ix/p-ba0eaaf5.entry.js +0 -1
- package/dist/siemens-ix/p-bef76eac.entry.js +0 -1
- package/dist/siemens-ix/p-c78a5414.entry.js +0 -1
- package/dist/siemens-ix/p-cb9f8b47.entry.js +0 -1
- package/dist/siemens-ix/p-d34c0c51.entry.js +0 -1
- package/dist/siemens-ix/p-da8840cc.entry.js +0 -1
- package/dist/siemens-ix/p-dd2b271e.entry.js +0 -1
- package/dist/siemens-ix/p-de79c9cf.entry.js +0 -1
- package/dist/siemens-ix/p-df32a25c.entry.js +0 -1
- package/dist/siemens-ix/p-e09fcd95.entry.js +0 -1
- package/dist/siemens-ix/p-e316d8a5.entry.js +0 -1
- package/dist/siemens-ix/p-ea440d84.entry.js +0 -1
- package/dist/siemens-ix/p-fpBGwEVT.js +0 -1
- package/dist/siemens-ix/p-jBB3q9qq.js +0 -1
- /package/components/{p-Bxdy-8CE.js → p-CtDOTMOT.js} +0 -0
- /package/dist/siemens-ix/{p-Ca5WUunf.js → p-EBgS4zhE.js} +0 -0
|
@@ -209,14 +209,27 @@
|
|
|
209
209
|
position: relative;
|
|
210
210
|
display: flex;
|
|
211
211
|
align-items: center;
|
|
212
|
-
flex-wrap:
|
|
212
|
+
flex-wrap: nowrap;
|
|
213
213
|
height: 100%;
|
|
214
|
-
max-height: 3.5rem;
|
|
215
214
|
flex-grow: 1;
|
|
216
|
-
overflow
|
|
215
|
+
overflow: hidden;
|
|
217
216
|
}
|
|
218
217
|
:host .input-container .chips > ix-filter-chip {
|
|
219
218
|
margin: 0.1rem;
|
|
219
|
+
flex-shrink: 0;
|
|
220
|
+
max-width: min(40%, 14rem);
|
|
221
|
+
}
|
|
222
|
+
:host .input-container .chips > ix-filter-chip.chip-measuring {
|
|
223
|
+
position: absolute;
|
|
224
|
+
visibility: hidden;
|
|
225
|
+
pointer-events: none;
|
|
226
|
+
}
|
|
227
|
+
:host .input-container .chips > ix-filter-chip.chip-overflow {
|
|
228
|
+
cursor: pointer;
|
|
229
|
+
}
|
|
230
|
+
:host .input-container .chips > ix-filter-chip.chip-overflow:focus-visible {
|
|
231
|
+
outline: 1px solid var(--theme-color-focus-bdr);
|
|
232
|
+
outline-offset: var(--theme-btn--focus--outline-offset);
|
|
220
233
|
}
|
|
221
234
|
:host .input-container ix-icon-button {
|
|
222
235
|
height: 1.875rem;
|
|
@@ -260,6 +273,15 @@
|
|
|
260
273
|
flex-direction: column;
|
|
261
274
|
max-width: 100%;
|
|
262
275
|
}
|
|
276
|
+
:host .overflow-dropdown-content {
|
|
277
|
+
display: flex;
|
|
278
|
+
flex-direction: column;
|
|
279
|
+
align-items: flex-start;
|
|
280
|
+
gap: 0.25rem;
|
|
281
|
+
max-height: 16rem;
|
|
282
|
+
overflow-y: auto;
|
|
283
|
+
padding: 0.5rem;
|
|
284
|
+
}
|
|
263
285
|
:host .dropdown-visible {
|
|
264
286
|
--ix-icon-button-color: var(--theme-color-std-text--hover);
|
|
265
287
|
}
|
|
@@ -17,7 +17,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
17
17
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18
18
|
};
|
|
19
19
|
import { iconChevronDownSmall, iconChevronUpSmall, iconClear, iconPlus, } from "@siemens/ix-icons/icons";
|
|
20
|
-
import { h, Host, Mixin, } from "@stencil/core";
|
|
20
|
+
import { forceUpdate, h, Host, Mixin, } from "@stencil/core";
|
|
21
21
|
import { a11yBoolean } from "../utils/a11y";
|
|
22
22
|
import { FocusProxy, PROXY_LIST_ID_SUFFIX, PROXY_LISTITEM_ID_SUFFIX, updateFocusProxyList, } from "../utils/focus/focus-proxy";
|
|
23
23
|
import { IX_FOCUS_VISIBLE_ACTIVE, queryElements, } from "../utils/focus/focus-utilities";
|
|
@@ -63,6 +63,14 @@ export class Select extends Mixin(...DefaultMixins, ComponentIdMixin, AriaActive
|
|
|
63
63
|
* @since TODO: Define
|
|
64
64
|
*/
|
|
65
65
|
ariaLabelAddItem = 'Add item';
|
|
66
|
+
/**
|
|
67
|
+
* Accessible label template for the overflow indicator chip shown in multiple
|
|
68
|
+
* mode when not all selected chips fit on a single row. The `{count}`
|
|
69
|
+
* placeholder is replaced with the number of hidden items (e.g. "3 more").
|
|
70
|
+
*
|
|
71
|
+
* @since 5.1.0
|
|
72
|
+
*/
|
|
73
|
+
i18nMoreItems = '{count} more';
|
|
66
74
|
/**
|
|
67
75
|
* Warning text for the select component
|
|
68
76
|
**/
|
|
@@ -184,6 +192,9 @@ export class Select extends Mixin(...DefaultMixins, ComponentIdMixin, AriaActive
|
|
|
184
192
|
isDropdownEmpty = false;
|
|
185
193
|
inputFilterText = '';
|
|
186
194
|
inputValue = '';
|
|
195
|
+
visibleChipValues = null;
|
|
196
|
+
hiddenChipValues = [];
|
|
197
|
+
overflowDropdownShow = false;
|
|
187
198
|
hasInputFocus = false;
|
|
188
199
|
dropdownItemsVisualFocused = false;
|
|
189
200
|
isInvalid = false;
|
|
@@ -195,6 +206,17 @@ export class Select extends Mixin(...DefaultMixins, ComponentIdMixin, AriaActive
|
|
|
195
206
|
dropdownAnchorRef = makeRef();
|
|
196
207
|
inputRef = makeRef();
|
|
197
208
|
dropdownRef = makeRef();
|
|
209
|
+
chipElementRefs = new Map();
|
|
210
|
+
chipWidths = new Map();
|
|
211
|
+
overflowChipRef = makeRef();
|
|
212
|
+
chipsContainerRef = makeRef();
|
|
213
|
+
clearButtonRef = makeRef();
|
|
214
|
+
chipHorizontalMargin = 4;
|
|
215
|
+
triggerMinWidth = 78;
|
|
216
|
+
overflowChipFallbackWidth = 52;
|
|
217
|
+
overflowChipWidth = 0;
|
|
218
|
+
chipsResizeObserver;
|
|
219
|
+
overflowDropdownOpenedByKeyboard = false;
|
|
198
220
|
proxyListObserver = null;
|
|
199
221
|
inputElement;
|
|
200
222
|
touched = false;
|
|
@@ -232,6 +254,12 @@ export class Select extends Mixin(...DefaultMixins, ComponentIdMixin, AriaActive
|
|
|
232
254
|
this.value = value;
|
|
233
255
|
this.updateSelection();
|
|
234
256
|
}
|
|
257
|
+
watchDisabledReadonly() {
|
|
258
|
+
// Disabled/readonly hides the chip close button, changing chip widths, so
|
|
259
|
+
// invalidate the measurement cache to force a re-measure on next render.
|
|
260
|
+
this.chipWidths.clear();
|
|
261
|
+
this.overflowChipWidth = 0;
|
|
262
|
+
}
|
|
235
263
|
updateFormInternalValue(value) {
|
|
236
264
|
if (Array.isArray(value)) {
|
|
237
265
|
this.formInternals.setFormValue(value.join(','));
|
|
@@ -317,6 +345,7 @@ export class Select extends Mixin(...DefaultMixins, ComponentIdMixin, AriaActive
|
|
|
317
345
|
});
|
|
318
346
|
});
|
|
319
347
|
this.selectedLabels = this.selectedItems.map((item) => item.label ?? item.value);
|
|
348
|
+
this.pruneChipWidthCache();
|
|
320
349
|
if (this.dropdownShow && this.inputFilterText) {
|
|
321
350
|
return;
|
|
322
351
|
}
|
|
@@ -372,6 +401,13 @@ export class Select extends Mixin(...DefaultMixins, ComponentIdMixin, AriaActive
|
|
|
372
401
|
subtree: true,
|
|
373
402
|
childList: true,
|
|
374
403
|
});
|
|
404
|
+
const chipsContainer = this.chipsContainerRef.current;
|
|
405
|
+
if (chipsContainer) {
|
|
406
|
+
this.chipsResizeObserver = new ResizeObserver(() => {
|
|
407
|
+
this.handleChipsContainerResize();
|
|
408
|
+
});
|
|
409
|
+
this.chipsResizeObserver.observe(chipsContainer);
|
|
410
|
+
}
|
|
375
411
|
}
|
|
376
412
|
componentWillLoad() {
|
|
377
413
|
this.updateSelection();
|
|
@@ -380,10 +416,14 @@ export class Select extends Mixin(...DefaultMixins, ComponentIdMixin, AriaActive
|
|
|
380
416
|
disconnectedCallback() {
|
|
381
417
|
super.disconnectedCallback();
|
|
382
418
|
this.proxyListObserver?.disconnect();
|
|
419
|
+
this.chipsResizeObserver?.disconnect();
|
|
383
420
|
}
|
|
384
421
|
onLabelChange(event) {
|
|
385
422
|
event.preventDefault();
|
|
386
423
|
event.stopImmediatePropagation();
|
|
424
|
+
// A changed label/value alters the chip width, so drop the cache and let
|
|
425
|
+
// the next render re-measure the affected chips.
|
|
426
|
+
this.chipWidths.clear();
|
|
387
427
|
this.updateSelection();
|
|
388
428
|
}
|
|
389
429
|
itemExists(item) {
|
|
@@ -527,12 +567,331 @@ export class Select extends Mixin(...DefaultMixins, ComponentIdMixin, AriaActive
|
|
|
527
567
|
this.clear();
|
|
528
568
|
} }, `${this.i18nAllSelected} (${this.selectedItems.length})`));
|
|
529
569
|
}
|
|
530
|
-
renderChip(item) {
|
|
531
|
-
|
|
570
|
+
renderChip(item, measuring) {
|
|
571
|
+
const value = item.value.toString();
|
|
572
|
+
return (h("ix-filter-chip", { class: {
|
|
573
|
+
'chip-measuring': measuring,
|
|
574
|
+
}, disabled: this.disabled || this.readonly, key: value, ariaLabelCloseIconButton: this.getRemoveChipAriaLabel(item), ref: (ref) => {
|
|
575
|
+
if (ref) {
|
|
576
|
+
this.chipElementRefs.set(value, ref);
|
|
577
|
+
return;
|
|
578
|
+
}
|
|
579
|
+
this.chipElementRefs.delete(value);
|
|
580
|
+
}, onCloseClick: () => {
|
|
532
581
|
this.itemClick(item.value);
|
|
533
582
|
this.inputElement?.focus();
|
|
534
583
|
} }, item.label));
|
|
535
584
|
}
|
|
585
|
+
renderHiddenChip(item) {
|
|
586
|
+
return (h("ix-filter-chip", { class: "chip-hidden-item", disabled: this.disabled || this.readonly, key: `hidden-${item.value}`, ariaLabelCloseIconButton: this.getRemoveChipAriaLabel(item), onCloseClick: () => {
|
|
587
|
+
this.overflowDropdownShow = false;
|
|
588
|
+
this.itemClick(item.value);
|
|
589
|
+
this.inputElement?.focus();
|
|
590
|
+
} }, item.label));
|
|
591
|
+
}
|
|
592
|
+
renderOverflowChip() {
|
|
593
|
+
const count = this.hiddenChipValues.length;
|
|
594
|
+
const ariaLabel = this.i18nMoreItems.replace('{count}', count.toString());
|
|
595
|
+
return (h("ix-filter-chip", { key: "overflow-chip", class: "chip-overflow", hideCloseButton: true, disabled: this.disabled || this.readonly, tabindex: this.disabled || this.readonly ? -1 : 0, role: "button", "aria-haspopup": "listbox", "aria-expanded": a11yBoolean(this.overflowDropdownShow), "aria-label": ariaLabel, ref: this.overflowChipRef, onClick: (event) => {
|
|
596
|
+
event.preventDefault();
|
|
597
|
+
event.stopPropagation();
|
|
598
|
+
this.toggleOverflowDropdown();
|
|
599
|
+
}, onKeyDown: (event) => {
|
|
600
|
+
if (event.key === 'Enter' ||
|
|
601
|
+
event.key === ' ' ||
|
|
602
|
+
event.key === 'ArrowDown') {
|
|
603
|
+
event.preventDefault();
|
|
604
|
+
event.stopImmediatePropagation();
|
|
605
|
+
this.overflowDropdownOpenedByKeyboard = true;
|
|
606
|
+
this.overflowDropdownShow = true;
|
|
607
|
+
}
|
|
608
|
+
} }, `+${count}`));
|
|
609
|
+
}
|
|
610
|
+
renderMultipleModeChips() {
|
|
611
|
+
if (this.items.length === 0) {
|
|
612
|
+
return null;
|
|
613
|
+
}
|
|
614
|
+
if (this.shouldDisplayAllChip()) {
|
|
615
|
+
return this.renderAllChip();
|
|
616
|
+
}
|
|
617
|
+
const selected = this.selectedItems;
|
|
618
|
+
if (selected.length === 0) {
|
|
619
|
+
return null;
|
|
620
|
+
}
|
|
621
|
+
const visibleItems = selected.filter((item) => {
|
|
622
|
+
const value = item.value.toString();
|
|
623
|
+
if (!this.chipWidths.has(value)) {
|
|
624
|
+
return false;
|
|
625
|
+
}
|
|
626
|
+
return (this.visibleChipValues === null ||
|
|
627
|
+
this.visibleChipValues.includes(value));
|
|
628
|
+
});
|
|
629
|
+
const unmeasuredItems = selected.filter((item) => !this.chipWidths.has(item.value.toString()));
|
|
630
|
+
return [
|
|
631
|
+
...visibleItems.map((item) => this.renderChip(item, false)),
|
|
632
|
+
this.hiddenChipValues.length > 0 ? this.renderOverflowChip() : null,
|
|
633
|
+
...unmeasuredItems.map((item) => this.renderChip(item, true)),
|
|
634
|
+
];
|
|
635
|
+
}
|
|
636
|
+
renderOverflowDropdown() {
|
|
637
|
+
return (h("ix-dropdown", { class: "overflow-dropdown", show: this.overflowDropdownShow, anchor: this.overflowChipRef.waitForCurrent(), closeBehavior: "outside", placement: "bottom-start", onShowChanged: (event) => {
|
|
638
|
+
this.overflowDropdownShow = event.detail;
|
|
639
|
+
if (event.detail && this.overflowDropdownOpenedByKeyboard) {
|
|
640
|
+
this.overflowDropdownOpenedByKeyboard = false;
|
|
641
|
+
this.focusOverflowRemoveButton(0);
|
|
642
|
+
}
|
|
643
|
+
} }, h("div", { class: "overflow-dropdown-content" }, this.hiddenChipValues.map((value) => {
|
|
644
|
+
const item = this.selectedItems.find((selectedItem) => selectedItem.value.toString() === value);
|
|
645
|
+
return item ? this.renderHiddenChip(item) : null;
|
|
646
|
+
}))));
|
|
647
|
+
}
|
|
648
|
+
toggleOverflowDropdown() {
|
|
649
|
+
if (this.disabled || this.readonly) {
|
|
650
|
+
return;
|
|
651
|
+
}
|
|
652
|
+
this.overflowDropdownShow = !this.overflowDropdownShow;
|
|
653
|
+
}
|
|
654
|
+
getOverflowRemoveButtons() {
|
|
655
|
+
const dropdown = this.hostElement.shadowRoot?.querySelector('ix-dropdown.overflow-dropdown');
|
|
656
|
+
if (!dropdown) {
|
|
657
|
+
return [];
|
|
658
|
+
}
|
|
659
|
+
return Array.from(dropdown.querySelectorAll('ix-filter-chip.chip-hidden-item')).flatMap((chip) => {
|
|
660
|
+
const iconButton = chip.shadowRoot?.querySelector('ix-icon-button');
|
|
661
|
+
const button = iconButton?.shadowRoot?.querySelector('button');
|
|
662
|
+
return button ? [button] : [];
|
|
663
|
+
});
|
|
664
|
+
}
|
|
665
|
+
focusOverflowRemoveButton(index) {
|
|
666
|
+
requestAnimationFrameNoNgZone(() => {
|
|
667
|
+
const buttons = this.getOverflowRemoveButtons();
|
|
668
|
+
const button = buttons[index];
|
|
669
|
+
if (!button) {
|
|
670
|
+
return;
|
|
671
|
+
}
|
|
672
|
+
button.focus({ preventScroll: true });
|
|
673
|
+
button.scrollIntoView({ block: 'nearest' });
|
|
674
|
+
});
|
|
675
|
+
}
|
|
676
|
+
onOverflowRemoveButtonKeyDown(event) {
|
|
677
|
+
if (!this.overflowDropdownShow) {
|
|
678
|
+
return;
|
|
679
|
+
}
|
|
680
|
+
const buttons = this.getOverflowRemoveButtons();
|
|
681
|
+
const currentIndex = buttons.findIndex((button) => event.composedPath().includes(button));
|
|
682
|
+
if (currentIndex === -1) {
|
|
683
|
+
return;
|
|
684
|
+
}
|
|
685
|
+
switch (event.key) {
|
|
686
|
+
case 'ArrowDown': {
|
|
687
|
+
event.preventDefault();
|
|
688
|
+
event.stopImmediatePropagation();
|
|
689
|
+
this.focusOverflowRemoveButton((currentIndex + 1) % buttons.length);
|
|
690
|
+
break;
|
|
691
|
+
}
|
|
692
|
+
case 'ArrowUp': {
|
|
693
|
+
event.preventDefault();
|
|
694
|
+
event.stopImmediatePropagation();
|
|
695
|
+
this.focusOverflowRemoveButton((currentIndex - 1 + buttons.length) % buttons.length);
|
|
696
|
+
break;
|
|
697
|
+
}
|
|
698
|
+
case 'Tab': {
|
|
699
|
+
event.preventDefault();
|
|
700
|
+
event.stopImmediatePropagation();
|
|
701
|
+
this.focusOverflowRemoveButton(event.shiftKey
|
|
702
|
+
? (currentIndex - 1 + buttons.length) % buttons.length
|
|
703
|
+
: (currentIndex + 1) % buttons.length);
|
|
704
|
+
break;
|
|
705
|
+
}
|
|
706
|
+
case 'Escape': {
|
|
707
|
+
event.preventDefault();
|
|
708
|
+
event.stopImmediatePropagation();
|
|
709
|
+
this.overflowDropdownShow = false;
|
|
710
|
+
this.focusOverflowChip();
|
|
711
|
+
break;
|
|
712
|
+
}
|
|
713
|
+
default:
|
|
714
|
+
break;
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
focusOverflowChip() {
|
|
718
|
+
requestAnimationFrameNoNgZone(() => {
|
|
719
|
+
this.overflowChipRef.current?.focus({ preventScroll: true });
|
|
720
|
+
});
|
|
721
|
+
}
|
|
722
|
+
pruneChipWidthCache() {
|
|
723
|
+
const validValues = new Set(this.selectedItems.map((item) => item.value.toString()));
|
|
724
|
+
for (const value of this.chipWidths.keys()) {
|
|
725
|
+
if (!validValues.has(value)) {
|
|
726
|
+
this.chipWidths.delete(value);
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
sameChipValues(a, b) {
|
|
731
|
+
if (a === b) {
|
|
732
|
+
return true;
|
|
733
|
+
}
|
|
734
|
+
if (a === null || b === null) {
|
|
735
|
+
return false;
|
|
736
|
+
}
|
|
737
|
+
if (a.length !== b.length) {
|
|
738
|
+
return false;
|
|
739
|
+
}
|
|
740
|
+
return a.every((value, index) => value === b[index]);
|
|
741
|
+
}
|
|
742
|
+
applyOverflowState(visible, hidden) {
|
|
743
|
+
if (!this.sameChipValues(this.visibleChipValues, visible)) {
|
|
744
|
+
this.visibleChipValues = visible;
|
|
745
|
+
}
|
|
746
|
+
if (!this.sameChipValues(this.hiddenChipValues, hidden)) {
|
|
747
|
+
this.hiddenChipValues = hidden;
|
|
748
|
+
}
|
|
749
|
+
if (hidden.length === 0 && this.overflowDropdownShow) {
|
|
750
|
+
this.overflowDropdownShow = false;
|
|
751
|
+
}
|
|
752
|
+
}
|
|
753
|
+
getChipWidthWithMargin(value) {
|
|
754
|
+
return (this.chipWidths.get(value) ?? 0) + this.chipHorizontalMargin;
|
|
755
|
+
}
|
|
756
|
+
getOverflowChipWidthWithMargin() {
|
|
757
|
+
return ((this.overflowChipWidth || this.overflowChipFallbackWidth) +
|
|
758
|
+
this.chipHorizontalMargin);
|
|
759
|
+
}
|
|
760
|
+
canShowAllChips(values, available) {
|
|
761
|
+
const totalWidth = values.reduce((width, value) => width + this.getChipWidthWithMargin(value), 0);
|
|
762
|
+
return totalWidth <= available;
|
|
763
|
+
}
|
|
764
|
+
getOverflowChipValues(values, available) {
|
|
765
|
+
const [firstValue, ...remainingValues] = values;
|
|
766
|
+
if (firstValue === undefined) {
|
|
767
|
+
return { visible: [], hidden: [] };
|
|
768
|
+
}
|
|
769
|
+
const visible = [firstValue];
|
|
770
|
+
const hidden = [];
|
|
771
|
+
let usedWidth = this.getChipWidthWithMargin(firstValue);
|
|
772
|
+
const overflowChipWidth = this.getOverflowChipWidthWithMargin();
|
|
773
|
+
for (const [index, value] of remainingValues.entries()) {
|
|
774
|
+
const width = this.getChipWidthWithMargin(value);
|
|
775
|
+
if (usedWidth + width + overflowChipWidth <= available) {
|
|
776
|
+
visible.push(value);
|
|
777
|
+
usedWidth += width;
|
|
778
|
+
continue;
|
|
779
|
+
}
|
|
780
|
+
hidden.push(...remainingValues.slice(index));
|
|
781
|
+
break;
|
|
782
|
+
}
|
|
783
|
+
return { visible, hidden };
|
|
784
|
+
}
|
|
785
|
+
hasUnmeasuredSelectedChips(values) {
|
|
786
|
+
return values.some((value) => !this.chipWidths.has(value));
|
|
787
|
+
}
|
|
788
|
+
getChipOverflowContext() {
|
|
789
|
+
if (!this.isMultipleMode || this.shouldDisplayAllChip()) {
|
|
790
|
+
this.applyOverflowState(null, []);
|
|
791
|
+
return null;
|
|
792
|
+
}
|
|
793
|
+
const container = this.chipsContainerRef.current;
|
|
794
|
+
if (!container) {
|
|
795
|
+
return null;
|
|
796
|
+
}
|
|
797
|
+
const values = this.selectedItems.map((item) => item.value.toString());
|
|
798
|
+
if (values.length === 0) {
|
|
799
|
+
this.applyOverflowState(null, []);
|
|
800
|
+
return null;
|
|
801
|
+
}
|
|
802
|
+
return { container, values };
|
|
803
|
+
}
|
|
804
|
+
handleChipsContainerResize() {
|
|
805
|
+
const context = this.getChipOverflowContext();
|
|
806
|
+
if (!context) {
|
|
807
|
+
return;
|
|
808
|
+
}
|
|
809
|
+
if (this.hasUnmeasuredSelectedChips(context.values)) {
|
|
810
|
+
// If the select was initially hidden, widths can be 0 on first render.
|
|
811
|
+
// A resize after becoming visible should trigger a re-measure pass.
|
|
812
|
+
forceUpdate(this);
|
|
813
|
+
return;
|
|
814
|
+
}
|
|
815
|
+
this.calculateChipOverflow(context);
|
|
816
|
+
}
|
|
817
|
+
calculateChipOverflow(context = this.getChipOverflowContext()) {
|
|
818
|
+
if (!context) {
|
|
819
|
+
return;
|
|
820
|
+
}
|
|
821
|
+
const { container, values } = context;
|
|
822
|
+
if (!values.every((value) => this.chipWidths.has(value))) {
|
|
823
|
+
return;
|
|
824
|
+
}
|
|
825
|
+
const clearButtonWidth = this.allowClear && this.clearButtonRef.current
|
|
826
|
+
? this.clearButtonRef.current.offsetWidth
|
|
827
|
+
: 0;
|
|
828
|
+
const available = container.clientWidth - this.triggerMinWidth - clearButtonWidth;
|
|
829
|
+
if (this.canShowAllChips(values, available)) {
|
|
830
|
+
this.applyOverflowState(null, []);
|
|
831
|
+
return;
|
|
832
|
+
}
|
|
833
|
+
const { visible, hidden } = this.getOverflowChipValues(values, available);
|
|
834
|
+
this.applyOverflowState(visible, hidden);
|
|
835
|
+
}
|
|
836
|
+
async waitForComponentReady(element) {
|
|
837
|
+
const stencilComponent = element;
|
|
838
|
+
if (typeof stencilComponent?.componentOnReady === 'function') {
|
|
839
|
+
await stencilComponent.componentOnReady();
|
|
840
|
+
}
|
|
841
|
+
}
|
|
842
|
+
waitForNextFrame() {
|
|
843
|
+
return new Promise((resolve) => requestAnimationFrameNoNgZone(() => resolve()));
|
|
844
|
+
}
|
|
845
|
+
async waitForChipLayout(elements) {
|
|
846
|
+
await Promise.all(elements.map((element) => this.waitForComponentReady(element)));
|
|
847
|
+
await this.waitForNextFrame();
|
|
848
|
+
}
|
|
849
|
+
async measureSelectedChipWidths(items) {
|
|
850
|
+
const elements = items.map((item) => this.chipElementRefs.get(item.value.toString()));
|
|
851
|
+
await this.waitForChipLayout(elements);
|
|
852
|
+
let measuredAny = false;
|
|
853
|
+
for (const item of items) {
|
|
854
|
+
const value = item.value.toString();
|
|
855
|
+
const element = this.chipElementRefs.get(value);
|
|
856
|
+
if (element && element.offsetWidth > 0) {
|
|
857
|
+
this.chipWidths.set(value, element.offsetWidth);
|
|
858
|
+
measuredAny = true;
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
return measuredAny;
|
|
862
|
+
}
|
|
863
|
+
async measureOverflowChipWidth() {
|
|
864
|
+
if (this.hiddenChipValues.length === 0 || this.overflowChipWidth > 0) {
|
|
865
|
+
return;
|
|
866
|
+
}
|
|
867
|
+
const overflowElement = await this.overflowChipRef.waitForCurrent();
|
|
868
|
+
await this.waitForChipLayout([overflowElement]);
|
|
869
|
+
if (overflowElement.offsetWidth > 0) {
|
|
870
|
+
this.overflowChipWidth = overflowElement.offsetWidth;
|
|
871
|
+
}
|
|
872
|
+
}
|
|
873
|
+
async componentDidRender() {
|
|
874
|
+
if (!this.isMultipleMode || this.shouldDisplayAllChip()) {
|
|
875
|
+
this.applyOverflowState(null, []);
|
|
876
|
+
return;
|
|
877
|
+
}
|
|
878
|
+
const selected = this.selectedItems;
|
|
879
|
+
if (selected.length === 0) {
|
|
880
|
+
this.applyOverflowState(null, []);
|
|
881
|
+
return;
|
|
882
|
+
}
|
|
883
|
+
const unmeasured = selected.filter((item) => !this.chipWidths.has(item.value.toString()));
|
|
884
|
+
if (unmeasured.length > 0) {
|
|
885
|
+
const measuredAny = await this.measureSelectedChipWidths(unmeasured);
|
|
886
|
+
if (measuredAny) {
|
|
887
|
+
this.calculateChipOverflow();
|
|
888
|
+
forceUpdate(this);
|
|
889
|
+
}
|
|
890
|
+
return;
|
|
891
|
+
}
|
|
892
|
+
await this.measureOverflowChipWidth();
|
|
893
|
+
this.calculateChipOverflow();
|
|
894
|
+
}
|
|
536
895
|
onValidationChange({ isInvalid, isInvalidByRequired, isValid, isInfo, isWarning, }) {
|
|
537
896
|
this.isInvalid = isInvalid || isInvalidByRequired;
|
|
538
897
|
this.isValid = isValid;
|
|
@@ -585,6 +944,14 @@ export class Select extends Mixin(...DefaultMixins, ComponentIdMixin, AriaActive
|
|
|
585
944
|
this.addItemElement.label = this.inputFilterText;
|
|
586
945
|
}
|
|
587
946
|
this.updateAriaProxyListbox();
|
|
947
|
+
if (this.isMultipleMode && !this.shouldDisplayAllChip()) {
|
|
948
|
+
const selected = this.selectedItems;
|
|
949
|
+
const allMeasured = selected.length > 0 &&
|
|
950
|
+
selected.every((item) => this.chipWidths.has(item.value.toString()));
|
|
951
|
+
if (allMeasured) {
|
|
952
|
+
this.calculateChipOverflow();
|
|
953
|
+
}
|
|
954
|
+
}
|
|
588
955
|
}
|
|
589
956
|
updateAriaProxyListbox() {
|
|
590
957
|
const ariaActiveDescendantHelper = this.hostElement.shadowRoot?.getElementById(`${this.hostId}-proxy-listbox`);
|
|
@@ -619,22 +986,18 @@ export class Select extends Mixin(...DefaultMixins, ComponentIdMixin, AriaActive
|
|
|
619
986
|
});
|
|
620
987
|
}
|
|
621
988
|
render() {
|
|
622
|
-
return (h(Host, { key: '
|
|
989
|
+
return (h(Host, { key: '3d24590fff4b5d99842ec846719e68d65e13d69d', id: this.getHostElementId(), class: {
|
|
623
990
|
readonly: this.readonly,
|
|
624
991
|
disabled: this.disabled,
|
|
625
992
|
'show-focus-outline': this.hasInputFocus && !this.dropdownItemsVisualFocused,
|
|
626
|
-
}, tabIndex: this.disabled ? -1 : 0 }, h("ix-field-wrapper", { key: '
|
|
993
|
+
}, tabIndex: this.disabled ? -1 : 0 }, h("ix-field-wrapper", { key: '38d7afa06295f5ad795a43cfbe875e341f9837bd', required: this.required, label: this.label, helperText: this.helperText, invalidText: this.invalidText, infoText: this.infoText, warningText: this.warningText, validText: this.validText, showTextAsTooltip: this.showTextAsTooltip, isInvalid: this.isInvalid, isValid: this.isValid, isInfo: this.isInfo, isWarning: this.isWarning, controlRef: this.inputRef }, h("div", { key: 'e3640d7028f8e43208243a7a49d1065897199f85', class: {
|
|
627
994
|
select: true,
|
|
628
995
|
disabled: this.disabled,
|
|
629
996
|
readonly: this.readonly,
|
|
630
997
|
}, ref: (ref) => {
|
|
631
998
|
this.dropdownAnchorRef(ref);
|
|
632
999
|
this.dropdownWrapperRef(ref);
|
|
633
|
-
} }, h("div", { key: '
|
|
634
|
-
this.items.length !== 0 &&
|
|
635
|
-
(this.shouldDisplayAllChip()
|
|
636
|
-
? this.renderAllChip()
|
|
637
|
-
: this.selectedItems?.map((item) => this.renderChip(item))), h("div", { key: '9a8a9b3e4c57776d737e66fc836addaba9950cd3', class: "trigger" }, h("input", { key: '5f50f19cb0c6ab190535b2952d5e757548355124', id: `${this.hostId}-input`, role: "combobox", "aria-controls": `${this.hostId}-proxy-listbox`, "aria-expanded": a11yBoolean(this.dropdownShow), "aria-autocomplete": "list", "aria-disabled": a11yBoolean(this.disabled), autocomplete: "off", "data-testid": "input", disabled: this.disabled, readOnly: this.readonly, required: this.required, type: "text", class: {
|
|
1000
|
+
} }, h("div", { key: '8f7f92597a46203db9c2bb9d6059dec538d5b288', class: "input-container" }, h("div", { key: '500f47f8ae57080d867b84ce31972108d5ef931d', class: "chips", ref: this.chipsContainerRef }, this.isMultipleMode && this.renderMultipleModeChips(), h("div", { key: '330c7e488669f0ca1283e0f2fe1a09ed9a823397', class: "trigger" }, h("input", { key: '69b2a620b3802ad51d9a092b589e9ab48290cb4c', id: `${this.hostId}-input`, role: "combobox", "aria-controls": `${this.hostId}-proxy-listbox`, "aria-expanded": a11yBoolean(this.dropdownShow), "aria-autocomplete": "list", "aria-disabled": a11yBoolean(this.disabled), autocomplete: "off", "data-testid": "input", disabled: this.disabled, readOnly: this.readonly, required: this.required, type: "text", class: {
|
|
638
1001
|
'allow-clear': this.allowClear && !!this.selectedLabels?.length,
|
|
639
1002
|
}, placeholder: this.placeholderValue(), value: this.inputValue ?? '', ref: (ref) => {
|
|
640
1003
|
this.inputElement = ref;
|
|
@@ -642,7 +1005,7 @@ export class Select extends Mixin(...DefaultMixins, ComponentIdMixin, AriaActive
|
|
|
642
1005
|
}, onFocus: () => this.onInputFocus(), onBlur: (e) => this.onInputBlur(e), onInput: () => this.setItemFilter() }), this.allowClear &&
|
|
643
1006
|
!this.disabled &&
|
|
644
1007
|
!this.readonly &&
|
|
645
|
-
(this.selectedLabels?.length || this.inputFilterText) ? (h("ix-icon-button", { key: "clear", class: "clear", icon: iconClear, variant: "subtle-tertiary", oval: true, size: "16", onClick: (e) => {
|
|
1008
|
+
(this.selectedLabels?.length || this.inputFilterText) ? (h("ix-icon-button", { key: "clear", class: "clear", icon: iconClear, variant: "subtle-tertiary", oval: true, size: "16", ref: this.clearButtonRef, onClick: (e) => {
|
|
646
1009
|
e.preventDefault();
|
|
647
1010
|
e.stopPropagation();
|
|
648
1011
|
this.clear();
|
|
@@ -656,7 +1019,7 @@ export class Select extends Mixin(...DefaultMixins, ComponentIdMixin, AriaActive
|
|
|
656
1019
|
element.ariaHidden = 'true';
|
|
657
1020
|
}, "data-select-dropdown": true, key: "dropdown", class: { 'dropdown-visible': this.dropdownShow }, icon: this.dropdownShow
|
|
658
1021
|
? iconChevronUpSmall
|
|
659
|
-
: iconChevronDownSmall, variant: "subtle-tertiary" }))))))), h("ix-dropdown", { key: '
|
|
1022
|
+
: iconChevronDownSmall, variant: "subtle-tertiary" }))))))), h("ix-dropdown", { key: 'c44d1ab3cc63edc72b69a328290f51b677002bfa', id: `${this.hostId}-listbox`, keyboardActivationKeys: ['ArrowUp', 'ArrowDown'], keyboardItemTriggerKeys: ['Enter'], disableFocusTrap: true, focusHost: this.hostElement, ref: this.dropdownRef, show: this.dropdownShow, closeBehavior: this.isMultipleMode ? 'outside' : 'both', hidden: this.disabled || this.readonly, anchor: this.dropdownAnchorRef.waitForCurrent(), trigger: this.dropdownWrapperRef.waitForCurrent(), onShowChange: (event) => {
|
|
660
1023
|
if ((this.disabled || this.readonly) && event.detail) {
|
|
661
1024
|
event.preventDefault();
|
|
662
1025
|
}
|
|
@@ -695,16 +1058,19 @@ export class Select extends Mixin(...DefaultMixins, ComponentIdMixin, AriaActive
|
|
|
695
1058
|
if (this.isSingleMode) {
|
|
696
1059
|
this.dropdownShow = false;
|
|
697
1060
|
}
|
|
698
|
-
} }, h("div", { key: '
|
|
1061
|
+
} }, h("div", { key: '992a4564d8d601adad70a14fb45efc22155f66ea', "aria-hidden": "true", class: {
|
|
699
1062
|
'select-list-header': true,
|
|
700
1063
|
hidden: this.hideListHeader || this.isDropdownEmpty,
|
|
701
|
-
}, title: this.i18nSelectListHeader, onClick: (e) => e.preventDefault() }, this.i18nSelectListHeader), h("slot", { key: '
|
|
1064
|
+
}, title: this.i18nSelectListHeader, onClick: (e) => e.preventDefault() }, this.i18nSelectListHeader), h("slot", { key: 'e4294d41e1d797ad9fff11f36deb1bdc9cf87208', onSlotchange: () => {
|
|
702
1065
|
this.updateSelection();
|
|
703
|
-
} }), h(FocusProxy, { key: '
|
|
1066
|
+
} }), h(FocusProxy, { key: '4d1c63a6f403f3cac6558176d3360d68b21c78c8', hostId: this.hostId, otherProps: {
|
|
704
1067
|
'aria-hidden': a11yBoolean(!this.dropdownShow),
|
|
705
1068
|
'aria-multiselectable': a11yBoolean(this.isMultipleMode),
|
|
706
1069
|
hidden: this.disabled || this.readonly,
|
|
707
|
-
} }), this.isDropdownEmpty && !this.editable && (h("div", { key: '
|
|
1070
|
+
} }), this.isDropdownEmpty && !this.editable && (h("div", { key: 'a962db05209dba24fd4e800fc79c0a2c220ebe88', class: "select-list-header" }, this.i18nNoMatches))), this.isMultipleMode &&
|
|
1071
|
+
!this.shouldDisplayAllChip() &&
|
|
1072
|
+
this.hiddenChipValues.length > 0 &&
|
|
1073
|
+
this.renderOverflowDropdown()));
|
|
708
1074
|
}
|
|
709
1075
|
static get is() { return "ix-select"; }
|
|
710
1076
|
static get encapsulation() { return "shadow"; }
|
|
@@ -826,6 +1192,29 @@ export class Select extends Mixin(...DefaultMixins, ComponentIdMixin, AriaActive
|
|
|
826
1192
|
"attribute": "aria-label-add-item",
|
|
827
1193
|
"defaultValue": "'Add item'"
|
|
828
1194
|
},
|
|
1195
|
+
"i18nMoreItems": {
|
|
1196
|
+
"type": "string",
|
|
1197
|
+
"mutable": false,
|
|
1198
|
+
"complexType": {
|
|
1199
|
+
"original": "string",
|
|
1200
|
+
"resolved": "string",
|
|
1201
|
+
"references": {}
|
|
1202
|
+
},
|
|
1203
|
+
"required": false,
|
|
1204
|
+
"optional": false,
|
|
1205
|
+
"docs": {
|
|
1206
|
+
"tags": [{
|
|
1207
|
+
"name": "since",
|
|
1208
|
+
"text": "5.1.0"
|
|
1209
|
+
}],
|
|
1210
|
+
"text": "Accessible label template for the overflow indicator chip shown in multiple\nmode when not all selected chips fit on a single row. The `{count}`\nplaceholder is replaced with the number of hidden items (e.g. \"3 more\")."
|
|
1211
|
+
},
|
|
1212
|
+
"getter": false,
|
|
1213
|
+
"setter": false,
|
|
1214
|
+
"reflect": false,
|
|
1215
|
+
"attribute": "i18n-more-items",
|
|
1216
|
+
"defaultValue": "'{count} more'"
|
|
1217
|
+
},
|
|
829
1218
|
"warningText": {
|
|
830
1219
|
"type": "string",
|
|
831
1220
|
"mutable": false,
|
|
@@ -1296,6 +1685,9 @@ export class Select extends Mixin(...DefaultMixins, ComponentIdMixin, AriaActive
|
|
|
1296
1685
|
"isDropdownEmpty": {},
|
|
1297
1686
|
"inputFilterText": {},
|
|
1298
1687
|
"inputValue": {},
|
|
1688
|
+
"visibleChipValues": {},
|
|
1689
|
+
"hiddenChipValues": {},
|
|
1690
|
+
"overflowDropdownShow": {},
|
|
1299
1691
|
"hasInputFocus": {},
|
|
1300
1692
|
"dropdownItemsVisualFocused": {},
|
|
1301
1693
|
"isInvalid": {},
|
|
@@ -1478,6 +1870,12 @@ export class Select extends Mixin(...DefaultMixins, ComponentIdMixin, AriaActive
|
|
|
1478
1870
|
return [{
|
|
1479
1871
|
"propName": "value",
|
|
1480
1872
|
"methodName": "watchValue"
|
|
1873
|
+
}, {
|
|
1874
|
+
"propName": "disabled",
|
|
1875
|
+
"methodName": "watchDisabledReadonly"
|
|
1876
|
+
}, {
|
|
1877
|
+
"propName": "readonly",
|
|
1878
|
+
"methodName": "watchDisabledReadonly"
|
|
1481
1879
|
}];
|
|
1482
1880
|
}
|
|
1483
1881
|
static get listeners() {
|
|
@@ -1493,6 +1891,12 @@ export class Select extends Mixin(...DefaultMixins, ComponentIdMixin, AriaActive
|
|
|
1493
1891
|
"target": undefined,
|
|
1494
1892
|
"capture": false,
|
|
1495
1893
|
"passive": false
|
|
1894
|
+
}, {
|
|
1895
|
+
"name": "keydown",
|
|
1896
|
+
"method": "onOverflowRemoveButtonKeyDown",
|
|
1897
|
+
"target": undefined,
|
|
1898
|
+
"capture": true,
|
|
1899
|
+
"passive": false
|
|
1496
1900
|
}];
|
|
1497
1901
|
}
|
|
1498
1902
|
static get attachInternalsMemberName() { return "formInternals"; }
|