@siemens/ix 0.0.0-20240419081748 → 0.0.0-20240522073858
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/components/base-button.js +26 -3
- package/components/base-button.js.map +1 -1
- package/components/breadcrumb-item.js +1 -1
- package/components/breadcrumb-item.js.map +1 -1
- package/components/button.js +3 -3
- package/components/button.js.map +1 -1
- package/components/date-picker.js +4 -4
- package/components/date-picker.js.map +1 -1
- package/components/dropdown.js +139 -19
- package/components/dropdown.js.map +1 -1
- package/components/group-context-menu.js +1 -1
- package/components/group-context-menu.js.map +1 -1
- package/components/group-item.js +3 -3
- package/components/group-item.js.map +1 -1
- package/components/icon-button.js +2 -2
- package/components/icon-button.js.map +1 -1
- package/components/ix-blind.js +1 -1
- package/components/ix-blind.js.map +1 -1
- package/components/ix-category-filter.js +34 -10
- package/components/ix-category-filter.js.map +1 -1
- package/components/ix-date-dropdown.js +14 -5
- package/components/ix-date-dropdown.js.map +1 -1
- package/components/ix-event-list-item.js +5 -4
- package/components/ix-event-list-item.js.map +1 -1
- package/components/ix-event-list.js +26 -25
- package/components/ix-event-list.js.map +1 -1
- package/components/ix-form-field.js +1 -1
- package/components/ix-form-field.js.map +1 -1
- package/components/ix-group.js +16 -9
- package/components/ix-group.js.map +1 -1
- package/components/ix-icon-toggle-button.js +2 -2
- package/components/ix-icon-toggle-button.js.map +1 -1
- package/components/ix-input-group.js +1 -1
- package/components/ix-key-value-list.js +1 -1
- package/components/ix-kpi.js +3 -3
- package/components/ix-link-button.js +3 -3
- package/components/ix-map-navigation.js +2 -2
- package/components/ix-menu-about-item.js +1 -1
- package/components/ix-menu-about-news.js +4 -4
- package/components/ix-menu-about.js +1 -1
- package/components/ix-menu-about.js.map +1 -1
- package/components/ix-menu-avatar.js +2 -2
- package/components/ix-menu-category.js +5 -5
- package/components/ix-menu-settings-item.js +1 -1
- package/components/ix-menu.js +11 -11
- package/components/ix-menu.js.map +1 -1
- package/components/ix-message-bar.js +1 -1
- package/components/ix-modal-example.js +1 -1
- package/components/ix-modal-footer.js +1 -1
- package/components/ix-modal-loading.js +1 -1
- package/components/ix-pagination.js +3 -3
- package/components/ix-pagination.js.map +1 -1
- package/components/ix-pane-layout.js +1 -1
- package/components/ix-pill.js +4 -4
- package/components/ix-playground-internal.js +1 -1
- package/components/ix-split-button-item.js +1 -1
- package/components/ix-tile.js +4 -4
- package/components/ix-toggle-button.js +2 -2
- package/components/ix-toggle.js +2 -2
- package/components/ix-tree.js +1 -1
- package/components/ix-upload.js +3 -3
- package/components/ix-validation-tooltip.js +2 -2
- package/components/ix-workflow-step.js +4 -4
- package/components/ix-workflow-step.js.map +1 -1
- package/components/ix-workflow-steps.js +2 -2
- package/components/ix-workflow-steps.js.map +1 -1
- package/components/map-navigation-overlay.js +2 -2
- package/components/menu-avatar-item.js +1 -1
- package/components/menu-expand-icon.js +1 -1
- package/components/menu-item.js +2 -2
- package/components/modal-content.js +1 -1
- package/components/modal-header.js +1 -1
- package/components/row.js +1 -1
- package/components/select-item.js +9 -1
- package/components/select-item.js.map +1 -1
- package/components/select.js +161 -42
- package/components/select.js.map +1 -1
- package/components/spinner.js +1 -1
- package/components/tabs.js +2 -2
- package/components/time-picker.js +1 -1
- package/components/time-picker.js.map +1 -1
- package/components/toast.js +2 -2
- package/components/tooltip.js +5 -2
- package/components/tooltip.js.map +1 -1
- package/components/tree-item.js +4 -4
- package/dist/cjs/{app-globals-7ea20f68.js → app-globals-5cfdf2a0.js} +2 -2
- package/dist/cjs/{app-globals-7ea20f68.js.map → app-globals-5cfdf2a0.js.map} +1 -1
- package/dist/cjs/{base-button-2f74b19d.js → base-button-7c45a6c4.js} +27 -4
- package/dist/cjs/base-button-7c45a6c4.js.map +1 -0
- package/dist/cjs/{base-icon-button-848c77f2.js → base-icon-button-ac2fcf4b.js} +2 -2
- package/dist/cjs/{base-icon-button-848c77f2.js.map → base-icon-button-ac2fcf4b.js.map} +1 -1
- package/dist/cjs/{core-js-a890bac8.js → core-js-2fc351ee.js} +1 -1
- package/dist/cjs/{core-js-a890bac8.js.map → core-js-2fc351ee.js.map} +1 -1
- package/dist/cjs/dom-83fb07d8.js.map +1 -1
- package/dist/cjs/focus-9c8ffbb0.js +65 -0
- package/dist/cjs/focus-9c8ffbb0.js.map +1 -0
- package/dist/cjs/{index.es2017-0db94b91.js → index.es2017-0c2b80b6.js} +3 -3
- package/dist/cjs/{index.es2017-0db94b91.js.map → index.es2017-0c2b80b6.js.map} +1 -1
- package/dist/cjs/ix-avatar_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-blind.cjs.entry.js +1 -1
- package/dist/cjs/ix-blind.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +2 -2
- package/dist/cjs/ix-breadcrumb-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-button.cjs.entry.js +4 -4
- package/dist/cjs/ix-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-category-filter.cjs.entry.js +34 -11
- package/dist/cjs/ix-category-filter.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-col_4.cjs.entry.js +5 -5
- package/dist/cjs/ix-col_4.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-date-dropdown.cjs.entry.js +11 -4
- package/dist/cjs/ix-date-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-dropdown.cjs.entry.js +78 -18
- package/dist/cjs/ix-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-event-list-item.cjs.entry.js +5 -4
- package/dist/cjs/ix-event-list-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-event-list.cjs.entry.js +26 -25
- package/dist/cjs/ix-event-list.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-filter-chip_2.cjs.entry.js +8 -1
- package/dist/cjs/ix-filter-chip_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-form-field.cjs.entry.js +1 -1
- package/dist/cjs/ix-form-field.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +4 -4
- package/dist/cjs/ix-group-context-menu_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-group.cjs.entry.js +13 -7
- package/dist/cjs/ix-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-icon-button_2.cjs.entry.js +5 -5
- package/dist/cjs/ix-icon-button_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +4 -4
- package/dist/cjs/ix-icon-toggle-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-icon.entry-e95ddded.js +1533 -0
- package/dist/cjs/ix-icon.entry-e95ddded.js.map +1 -0
- package/dist/cjs/ix-input-group.cjs.entry.js +1 -1
- package/dist/cjs/ix-key-value-list.cjs.entry.js +1 -1
- package/dist/cjs/ix-kpi.cjs.entry.js +3 -3
- package/dist/cjs/ix-link-button.cjs.entry.js +3 -3
- package/dist/cjs/ix-map-navigation-overlay.cjs.entry.js +2 -2
- package/dist/cjs/ix-map-navigation.cjs.entry.js +2 -2
- package/dist/cjs/ix-menu-about-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu-about-news.cjs.entry.js +4 -4
- package/dist/cjs/ix-menu-about.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu-about.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-menu-avatar.cjs.entry.js +2 -2
- package/dist/cjs/ix-menu-category.cjs.entry.js +5 -5
- package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +2 -2
- package/dist/cjs/ix-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/ix-menu-settings-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu.cjs.entry.js +11 -11
- package/dist/cjs/ix-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-message-bar.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal-content_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-modal-example.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal-footer.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal-loading.cjs.entry.js +1 -1
- package/dist/cjs/ix-pagination.cjs.entry.js +4 -4
- package/dist/cjs/ix-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-pane-layout.cjs.entry.js +1 -1
- package/dist/cjs/ix-pill.cjs.entry.js +4 -4
- package/dist/cjs/ix-playground-internal.cjs.entry.js +1 -1
- package/dist/cjs/ix-select.cjs.entry.js +159 -39
- package/dist/cjs/ix-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-split-button-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-tab-item_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-tile.cjs.entry.js +4 -4
- package/dist/cjs/ix-time-picker.cjs.entry.js +1 -1
- package/dist/cjs/ix-time-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-toast.cjs.entry.js +2 -2
- package/dist/cjs/ix-toggle-button.cjs.entry.js +3 -3
- package/dist/cjs/ix-toggle.cjs.entry.js +2 -2
- package/dist/cjs/ix-tooltip.cjs.entry.js +5 -2
- package/dist/cjs/ix-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-tree-item.cjs.entry.js +4 -4
- package/dist/cjs/ix-tree.cjs.entry.js +1 -1
- package/dist/cjs/ix-upload.cjs.entry.js +3 -3
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/ix-workflow-step.cjs.entry.js +4 -4
- package/dist/cjs/ix-workflow-step.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-workflow-steps.cjs.entry.js +2 -2
- package/dist/cjs/ix-workflow-steps.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/siemens-ix.cjs.js +2 -2
- package/dist/collection/components/action-card/action-card.js.map +1 -1
- package/dist/collection/components/application/application.js.map +1 -1
- package/dist/collection/components/application-header/application-header.js.map +1 -1
- package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.js.map +1 -1
- package/dist/collection/components/application-header/test/application-header.ct.js.map +1 -1
- package/dist/collection/components/application-sidebar/application-sidebar.js.map +1 -1
- package/dist/collection/components/application-sidebar/events.js.map +1 -1
- package/dist/collection/components/avatar/avatar.js.map +1 -1
- package/dist/collection/components/avatar/test/avatar.ct.js.map +1 -1
- package/dist/collection/components/basic-navigation/basic-navigation.js.map +1 -1
- package/dist/collection/components/blind/blind.css +1 -1
- package/dist/collection/components/blind/blind.js.map +1 -1
- package/dist/collection/components/blind/test/blind.ct.js.map +1 -1
- package/dist/collection/components/breadcrumb/breadcrumb.js.map +1 -1
- package/dist/collection/components/breadcrumb/test/breadcrumb.ct.js.map +1 -1
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.css +181 -0
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.js.map +1 -1
- package/dist/collection/components/button/base-button.js +25 -2
- package/dist/collection/components/button/base-button.js.map +1 -1
- package/dist/collection/components/button/button.css +181 -0
- package/dist/collection/components/button/button.js +7 -4
- package/dist/collection/components/button/button.js.map +1 -1
- package/dist/collection/components/button/test/button.ct.js +11 -0
- package/dist/collection/components/button/test/button.ct.js.map +1 -1
- package/dist/collection/components/button/test/button.spec.js.map +1 -1
- package/dist/collection/components/card/card.js.map +1 -1
- package/dist/collection/components/card-accordion/card-accordion.js.map +1 -1
- package/dist/collection/components/card-content/card-content.js.map +1 -1
- package/dist/collection/components/card-list/card-list.js.map +1 -1
- package/dist/collection/components/card-title/card-title.js.map +1 -1
- package/dist/collection/components/category-filter/category-filter.css +241 -24
- package/dist/collection/components/category-filter/category-filter.js +58 -9
- package/dist/collection/components/category-filter/category-filter.js.map +1 -1
- package/dist/collection/components/category-filter/filter-state.js.map +1 -1
- package/dist/collection/components/category-filter/input-state.js.map +1 -1
- package/dist/collection/components/category-filter/logical-filter-operator.js.map +1 -1
- package/dist/collection/components/chip/chip.js.map +1 -1
- package/dist/collection/components/col/col.js.map +1 -1
- package/dist/collection/components/content/content.js.map +1 -1
- package/dist/collection/components/content-header/content-header.js.map +1 -1
- package/dist/collection/components/css-grid/builder.js.map +1 -1
- package/dist/collection/components/css-grid/css-grid-item.js.map +1 -1
- package/dist/collection/components/css-grid/css-grid.js.map +1 -1
- package/dist/collection/components/date-dropdown/date-dropdown.js +33 -3
- package/dist/collection/components/date-dropdown/date-dropdown.js.map +1 -1
- package/dist/collection/components/date-dropdown/test/date-dropdown.ct.js +43 -0
- package/dist/collection/components/date-dropdown/test/date-dropdown.ct.js.map +1 -1
- package/dist/collection/components/date-picker/date-picker.js +4 -4
- package/dist/collection/components/date-picker/date-picker.js.map +1 -1
- package/dist/collection/components/date-picker/test/date-picker.ct.js.map +1 -1
- package/dist/collection/components/date-time-card/date-time-card.js.map +1 -1
- package/dist/collection/components/datetime-picker/datetime-picker.js.map +1 -1
- package/dist/collection/components/datetime-picker/test/datetime-picker.ct.js.map +1 -1
- package/dist/collection/components/divider/divider.js.map +1 -1
- package/dist/collection/components/drawer/drawer.js.map +1 -1
- package/dist/collection/components/drawer/test/drawer.ct.js.map +1 -1
- package/dist/collection/components/drawer/test/drawer.spec.js.map +1 -1
- package/dist/collection/components/dropdown/dropdown-controller.js +19 -6
- package/dist/collection/components/dropdown/dropdown-controller.js.map +1 -1
- package/dist/collection/components/dropdown/dropdown.js +80 -12
- package/dist/collection/components/dropdown/dropdown.js.map +1 -1
- package/dist/collection/components/dropdown/placement.js.map +1 -1
- package/dist/collection/components/dropdown/test/dropdown-controller.spec.js.map +1 -1
- package/dist/collection/components/dropdown/test/dropdown.ct.js +42 -0
- package/dist/collection/components/dropdown/test/dropdown.ct.js.map +1 -1
- package/dist/collection/components/dropdown-button/dropdown-button.js +1 -1
- package/dist/collection/components/dropdown-button/dropdown-button.js.map +1 -1
- package/dist/collection/components/dropdown-header/dropdown-header.js.map +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js.map +1 -1
- package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js.map +1 -1
- package/dist/collection/components/empty-state/empty-state.js.map +1 -1
- package/dist/collection/components/event-list/event-list.js +26 -25
- package/dist/collection/components/event-list/event-list.js.map +1 -1
- package/dist/collection/components/event-list/test/event-list.ct.js +61 -0
- package/dist/collection/components/event-list/test/event-list.ct.js.map +1 -0
- package/dist/collection/components/event-list/test/event-list.spec.js +0 -47
- package/dist/collection/components/event-list/test/event-list.spec.js.map +1 -1
- package/dist/collection/components/event-list-item/event-list-item.js +5 -4
- package/dist/collection/components/event-list-item/event-list-item.js.map +1 -1
- package/dist/collection/components/event-list-item/test/event-list-item.spec.js.map +1 -1
- package/dist/collection/components/expanding-search/expanding-search.js.map +1 -1
- package/dist/collection/components/expanding-search/test/expanding-search.ct.js.map +1 -1
- package/dist/collection/components/expanding-search/test/expanding-search.spec.js.map +1 -1
- package/dist/collection/components/filter-chip/filter-chip.js.map +1 -1
- package/dist/collection/components/flip-tile/flip-tile-state.js.map +1 -1
- package/dist/collection/components/flip-tile/flip-tile.js.map +1 -1
- package/dist/collection/components/flip-tile/test/flip-tile.ct.js.map +1 -1
- package/dist/collection/components/flip-tile-content/flip-tile-content.js.map +1 -1
- package/dist/collection/components/form-field/form-field.css +30 -12
- package/dist/collection/components/form-field/form-field.js.map +1 -1
- package/dist/collection/components/grid/layout-grid.js.map +1 -1
- package/dist/collection/components/group/group-context-menu.css +3 -0
- package/dist/collection/components/group/group-context-menu.js.map +1 -1
- package/dist/collection/components/group/group.js +16 -9
- package/dist/collection/components/group/group.js.map +1 -1
- package/dist/collection/components/group/test/group.ct.js +47 -0
- package/dist/collection/components/group/test/group.ct.js.map +1 -0
- package/dist/collection/components/group-item/group-item.css +9 -4
- package/dist/collection/components/group-item/group-item.js +2 -2
- package/dist/collection/components/group-item/group-item.js.map +1 -1
- package/dist/collection/components/icon-button/base-icon-button.js.map +1 -1
- package/dist/collection/components/icon-button/icon-button.css +181 -0
- package/dist/collection/components/icon-button/icon-button.js +6 -3
- package/dist/collection/components/icon-button/icon-button.js.map +1 -1
- package/dist/collection/components/icon-button/test/icon-button.ct.js.map +1 -1
- package/dist/collection/components/icon-button/test/icon-button.spec.js.map +1 -1
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.css +181 -0
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +2 -2
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.js.map +1 -1
- package/dist/collection/components/input-group/input-group.js +1 -1
- package/dist/collection/components/input-group/input-group.js.map +1 -1
- package/dist/collection/components/input-group/tests/input-group.ct.js.map +1 -1
- package/dist/collection/components/key-value/key-value.js.map +1 -1
- package/dist/collection/components/key-value-list/key-value-list.js +1 -1
- package/dist/collection/components/key-value-list/key-value-list.js.map +1 -1
- package/dist/collection/components/kpi/kpi.js +3 -3
- package/dist/collection/components/kpi/kpi.js.map +1 -1
- package/dist/collection/components/link-button/link-button.js +3 -3
- package/dist/collection/components/link-button/link-button.js.map +1 -1
- package/dist/collection/components/map-navigation/map-navigation.js +2 -2
- package/dist/collection/components/map-navigation/map-navigation.js.map +1 -1
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +2 -2
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js.map +1 -1
- package/dist/collection/components/menu/menu-expand-icon.js +1 -1
- package/dist/collection/components/menu/menu-expand-icon.js.map +1 -1
- package/dist/collection/components/menu/menu.js +11 -11
- package/dist/collection/components/menu/menu.js.map +1 -1
- package/dist/collection/components/menu/test/menu.ct.js.map +1 -1
- package/dist/collection/components/menu-about/menu-about.js +2 -2
- package/dist/collection/components/menu-about/menu-about.js.map +1 -1
- package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
- package/dist/collection/components/menu-about-item/menu-about-item.js.map +1 -1
- package/dist/collection/components/menu-about-news/menu-about-news.js +4 -4
- package/dist/collection/components/menu-about-news/menu-about-news.js.map +1 -1
- package/dist/collection/components/menu-avatar/menu-avatar.js +2 -2
- package/dist/collection/components/menu-avatar/menu-avatar.js.map +1 -1
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.js.map +1 -1
- package/dist/collection/components/menu-avatar-item/test/menu-avatar-item.ct.js.map +1 -1
- package/dist/collection/components/menu-category/enter-leave.js.map +1 -1
- package/dist/collection/components/menu-category/menu-category.js +5 -5
- package/dist/collection/components/menu-category/menu-category.js.map +1 -1
- package/dist/collection/components/menu-category/test/menu-category.ct.js.map +1 -1
- package/dist/collection/components/menu-item/menu-item.js +2 -2
- package/dist/collection/components/menu-item/menu-item.js.map +1 -1
- package/dist/collection/components/menu-item/test/menu-item.ct.js.map +1 -1
- package/dist/collection/components/menu-settings/menu-settings.js.map +1 -1
- package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
- package/dist/collection/components/menu-settings-item/menu-settings-item.js.map +1 -1
- package/dist/collection/components/message-bar/message-bar.js +1 -1
- package/dist/collection/components/message-bar/message-bar.js.map +1 -1
- package/dist/collection/components/message-bar/test/message-bar.spec.js.map +1 -1
- package/dist/collection/components/modal/modal.js.map +1 -1
- package/dist/collection/components/modal/test/modal.ct.js.map +1 -1
- package/dist/collection/components/modal-content/modal-content.js +1 -1
- package/dist/collection/components/modal-content/modal-content.js.map +1 -1
- package/dist/collection/components/modal-footer/modal-footer.js +1 -1
- package/dist/collection/components/modal-footer/modal-footer.js.map +1 -1
- package/dist/collection/components/modal-header/modal-header.js +1 -1
- package/dist/collection/components/modal-header/modal-header.js.map +1 -1
- package/dist/collection/components/modal-loading/modal-loading.js +1 -1
- package/dist/collection/components/modal-loading/modal-loading.js.map +1 -1
- package/dist/collection/components/pagination/pagination.css +181 -0
- package/dist/collection/components/pagination/pagination.js +2 -2
- package/dist/collection/components/pagination/pagination.js.map +1 -1
- package/dist/collection/components/pagination/test/pagination.ct.js.map +1 -1
- package/dist/collection/components/pagination/test/pagination.spec.js.map +1 -1
- package/dist/collection/components/pane/pane.js.map +1 -1
- package/dist/collection/components/pane/test/panes.ct.js.map +1 -1
- package/dist/collection/components/pane-layout/pane-layout.js +1 -1
- package/dist/collection/components/pane-layout/pane-layout.js.map +1 -1
- package/dist/collection/components/pane-layout/test/pane-layout.ct.js.map +1 -1
- package/dist/collection/components/pill/pill.js +4 -4
- package/dist/collection/components/pill/pill.js.map +1 -1
- package/dist/collection/components/playground/example-modal.js +1 -1
- package/dist/collection/components/playground/example-modal.js.map +1 -1
- package/dist/collection/components/playground/playground.js +1 -1
- package/dist/collection/components/playground/playground.js.map +1 -1
- package/dist/collection/components/push-card/push-card.js.map +1 -1
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/row/row.js.map +1 -1
- package/dist/collection/components/select/select.css +27 -9
- package/dist/collection/components/select/select.js +159 -38
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/select/test/select.ct.js +342 -0
- package/dist/collection/components/select/test/select.ct.js.map +1 -1
- package/dist/collection/components/select-item/events.js.map +1 -1
- package/dist/collection/components/select-item/select-item.js +32 -1
- package/dist/collection/components/select-item/select-item.js.map +1 -1
- package/dist/collection/components/select-item/test/select-item.spec.js.map +1 -1
- package/dist/collection/components/slider/slider.js.map +1 -1
- package/dist/collection/components/slider/test/slider.ct.js.map +1 -1
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/spinner/spinner.js.map +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/split-button/split-button.js.map +1 -1
- package/dist/collection/components/split-button-item/split-button-item.js +1 -1
- package/dist/collection/components/split-button-item/split-button-item.js.map +1 -1
- package/dist/collection/components/tab-item/tab-item.js.map +1 -1
- package/dist/collection/components/tabs/tabs.js +2 -2
- package/dist/collection/components/tabs/tabs.js.map +1 -1
- package/dist/collection/components/tabs/test/tabs.ct.js.map +1 -1
- package/dist/collection/components/tile/tile.js +4 -4
- package/dist/collection/components/tile/tile.js.map +1 -1
- package/dist/collection/components/time-picker/test/time-picker.ct.js.map +1 -1
- package/dist/collection/components/time-picker/time-picker.css +30 -12
- package/dist/collection/components/time-picker/time-picker.js.map +1 -1
- package/dist/collection/components/toast/toast-container.js.map +1 -1
- package/dist/collection/components/toast/toast-utils.js.map +1 -1
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toast/toast.js.map +1 -1
- package/dist/collection/components/toggle/test/toggle.ct.js.map +1 -1
- package/dist/collection/components/toggle/toggle.js +2 -2
- package/dist/collection/components/toggle/toggle.js.map +1 -1
- package/dist/collection/components/toggle-button/toggle-button.js +3 -3
- package/dist/collection/components/toggle-button/toggle-button.js.map +1 -1
- package/dist/collection/components/tooltip/test/tooltip.ct.js.map +1 -1
- package/dist/collection/components/tooltip/tooltip-controller.js.map +1 -1
- package/dist/collection/components/tooltip/tooltip.js +5 -2
- package/dist/collection/components/tooltip/tooltip.js.map +1 -1
- package/dist/collection/components/tree/test/tree.ct.js.map +1 -1
- package/dist/collection/components/tree/tree-model.js.map +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/tree.js.map +1 -1
- package/dist/collection/components/tree-item/default-tree-item.js.map +1 -1
- package/dist/collection/components/tree-item/tree-item.js +4 -4
- package/dist/collection/components/tree-item/tree-item.js.map +1 -1
- package/dist/collection/components/typography/test/ix-typography.spec.js.map +1 -1
- package/dist/collection/components/typography/type-mapping.js.map +1 -1
- package/dist/collection/components/typography/typography.js.map +1 -1
- package/dist/collection/components/upload/upload-file-state.js.map +1 -1
- package/dist/collection/components/upload/upload.js +3 -3
- package/dist/collection/components/upload/upload.js.map +1 -1
- package/dist/collection/components/utils/a11y.js.map +1 -1
- package/dist/collection/components/utils/animation.js.map +1 -1
- package/dist/collection/components/utils/app-switch/index.js.map +1 -1
- package/dist/collection/components/utils/application-layout/context.js.map +1 -1
- package/dist/collection/components/utils/application-layout/index.js.map +1 -1
- package/dist/collection/components/utils/application-layout/service.js.map +1 -1
- package/dist/collection/components/utils/breakpoints.js.map +1 -1
- package/dist/collection/components/utils/condition-checks.js.map +1 -1
- package/dist/collection/components/utils/context.js.map +1 -1
- package/dist/collection/components/utils/debounce.js.map +1 -1
- package/dist/collection/components/utils/delegate.js.map +1 -1
- package/dist/collection/components/utils/focus.js +60 -0
- package/dist/collection/components/utils/focus.js.map +1 -0
- package/dist/collection/components/utils/internal/component.js.map +1 -1
- package/dist/collection/components/utils/internal/index.js.map +1 -1
- package/dist/collection/components/utils/listener.js.map +1 -1
- package/dist/collection/components/utils/make-ref.js.map +1 -1
- package/dist/collection/components/utils/menu-service/menu-service.js.map +1 -1
- package/dist/collection/components/utils/menu-tabs/menu-tabs-fc.js.map +1 -1
- package/dist/collection/components/utils/menu-tabs/menu-tabs-utils.js.map +1 -1
- package/dist/collection/components/utils/modal/index.js.map +1 -1
- package/dist/collection/components/utils/modal/loading.js.map +1 -1
- package/dist/collection/components/utils/modal/message.js.map +1 -1
- package/dist/collection/components/utils/modal/modal.js.map +1 -1
- package/dist/collection/components/utils/mutation-observer.js.map +1 -1
- package/dist/collection/components/utils/notification-color.js.map +1 -1
- package/dist/collection/components/utils/overlay.js.map +1 -1
- package/dist/collection/components/utils/requestAnimationFrame.js.map +1 -1
- package/dist/collection/components/utils/rwd.util.js.map +1 -1
- package/dist/collection/components/utils/shadow-dom.js.map +1 -1
- package/dist/collection/components/utils/theme-switcher.js.map +1 -1
- package/dist/collection/components/utils/typed-event.js.map +1 -1
- package/dist/collection/components/utils/waitForElement.js.map +1 -1
- package/dist/collection/components/validation-tooltip/validation-tooltip.js +2 -2
- package/dist/collection/components/validation-tooltip/validation-tooltip.js.map +1 -1
- package/dist/collection/components/workflow-step/workflow-step.css +27 -7
- package/dist/collection/components/workflow-step/workflow-step.js +3 -3
- package/dist/collection/components/workflow-step/workflow-step.js.map +1 -1
- package/dist/collection/components/workflow-steps/test/workflow-steps.ct.js.map +1 -1
- package/dist/collection/components/workflow-steps/test/workflow-steps.spec.js.map +1 -1
- package/dist/collection/components/workflow-steps/workflow-steps.css +9 -1
- package/dist/collection/components/workflow-steps/workflow-steps.js +1 -1
- package/dist/collection/components/workflow-steps/workflow-steps.js.map +1 -1
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/setup.js.map +1 -1
- package/dist/collection/tests/action-card/action-card.e2e.js.map +1 -1
- package/dist/collection/tests/application/application.e2e.js.map +1 -1
- package/dist/collection/tests/application-header/application-header.e2e.js.map +1 -1
- package/dist/collection/tests/avatar/avatar.e2e.js.map +1 -1
- package/dist/collection/tests/basic-navigation/basic-navigation.e2e.js.map +1 -1
- package/dist/collection/tests/blind/blind.e2e.js.map +1 -1
- package/dist/collection/tests/breadcrumb/breadcrumb.e2e.js.map +1 -1
- package/dist/collection/tests/button/button.e2e.js.map +1 -1
- package/dist/collection/tests/card/card.e2e.js.map +1 -1
- package/dist/collection/tests/card-list/card-list.e2e.js.map +1 -1
- package/dist/collection/tests/category-filter/category-filter.e2e.js +30 -0
- package/dist/collection/tests/category-filter/category-filter.e2e.js.map +1 -1
- package/dist/collection/tests/checkbox/checkbox.e2e.js.map +1 -1
- package/dist/collection/tests/chip/chip.e2e.js.map +1 -1
- package/dist/collection/tests/content-header/content-header.e2e.js.map +1 -1
- package/dist/collection/tests/date-dropdown/date-dropdown.e2e.js.map +1 -1
- package/dist/collection/tests/date-picker/date-picker.e2e.js.map +1 -1
- package/dist/collection/tests/date-picker-rework/date-picker-rework.e2e.js.map +1 -1
- package/dist/collection/tests/datetime-picker/datetime-picker.e2e.js.map +1 -1
- package/dist/collection/tests/datetime-picker-rework/datetime-picker-rework.e2e.js.map +1 -1
- package/dist/collection/tests/divider/divider.e2e.js.map +1 -1
- package/dist/collection/tests/drawer/drawer.e2e.js.map +1 -1
- package/dist/collection/tests/dropdown/dropdown.e2e.js.map +1 -1
- package/dist/collection/tests/dropdown-button/dropdown-button.e2e.js.map +1 -1
- package/dist/collection/tests/dropdown-quick-actions/dropdown-quick-actions.e2e.js.map +1 -1
- package/dist/collection/tests/empty-state/empty-state.e2e.js.map +1 -1
- package/dist/collection/tests/event-list/event-list.e2e.js.map +1 -1
- package/dist/collection/tests/expanding-search/expanding-search.e2e.js.map +1 -1
- package/dist/collection/tests/flip-tile/flip-tile.e2e.js.map +1 -1
- package/dist/collection/tests/fonts/fonts.e2e.js.map +1 -1
- package/dist/collection/tests/group/group.e2e.js.map +1 -1
- package/dist/collection/tests/html-table/html-table.e2e.js.map +1 -1
- package/dist/collection/tests/icon/icon.e2e.js.map +1 -1
- package/dist/collection/tests/icon-button/icon-button.e2e.js +34 -2
- package/dist/collection/tests/icon-button/icon-button.e2e.js.map +1 -1
- package/dist/collection/tests/icon-toggle-button/toggle-button.e2e.js.map +1 -1
- package/dist/collection/tests/input/input.e2e.js.map +1 -1
- package/dist/collection/tests/input-group/input-group.e2e.js.map +1 -1
- package/dist/collection/tests/key-value/key-value.e2e.js.map +1 -1
- package/dist/collection/tests/key-value-list/key-value-list.e2e.js.map +1 -1
- package/dist/collection/tests/kpi/kpi.e2e.js.map +1 -1
- package/dist/collection/tests/layout-grid/layout-grid.e2e.js.map +1 -1
- package/dist/collection/tests/link-button/link-button.e2e.js.map +1 -1
- package/dist/collection/tests/map-navigation/map-navigation.e2e.js.map +1 -1
- package/dist/collection/tests/map-navigation-overlay/map-navigation.e2e.js.map +1 -1
- package/dist/collection/tests/menu/menu.e2e.js.map +1 -1
- package/dist/collection/tests/menu-about/menu-about.e2e.js.map +1 -1
- package/dist/collection/tests/menu-about-news/menu-about-news.e2e.js.map +1 -1
- package/dist/collection/tests/menu-avatar/menu-avatar.e2e.js.map +1 -1
- package/dist/collection/tests/menu-settings/menu-settings.e2e.js.map +1 -1
- package/dist/collection/tests/message-bar/message-bar.e2e.js.map +1 -1
- package/dist/collection/tests/modal/modal.e2e.js.map +1 -1
- package/dist/collection/tests/pagination/pagination.e2e.js.map +1 -1
- package/dist/collection/tests/panes/panes.e2e.js.map +1 -1
- package/dist/collection/tests/pill/pill.e2e.js.map +1 -1
- package/dist/collection/tests/push-card/push-card.e2e.js.map +1 -1
- package/dist/collection/tests/radiobutton/radiobutton.e2e.js.map +1 -1
- package/dist/collection/tests/select/select.e2e.js +21 -0
- package/dist/collection/tests/select/select.e2e.js.map +1 -1
- package/dist/collection/tests/slider/slider.e2e.js.map +1 -1
- package/dist/collection/tests/spinner/spinner.e2e.js.map +1 -1
- package/dist/collection/tests/split-button/split-button.e2e.js.map +1 -1
- package/dist/collection/tests/tabs/tabs.e2e.js.map +1 -1
- package/dist/collection/tests/textarea/textarea.e2e.js.map +1 -1
- package/dist/collection/tests/tile/tile.e2e.js.map +1 -1
- package/dist/collection/tests/time-picker-rework/time-picker-rework.e2e.js.map +1 -1
- package/dist/collection/tests/toast/toast.e2e.js.map +1 -1
- package/dist/collection/tests/toggle/toggle.e2e.js.map +1 -1
- package/dist/collection/tests/toggle-button/toggle-button.e2e.js.map +1 -1
- package/dist/collection/tests/tooltip/tooltip.e2e.js.map +1 -1
- package/dist/collection/tests/tree/tree.e2e.js.map +1 -1
- package/dist/collection/tests/typography/typography.e2e.js.map +1 -1
- package/dist/collection/tests/upload/upload.e2e.js.map +1 -1
- package/dist/collection/tests/utils/test/index.js.map +1 -1
- package/dist/collection/tests/utils/test/page.js.map +1 -1
- package/dist/collection/tests/workflow-steps/workflow-steps.e2e.js.map +1 -1
- package/dist/esm/{app-globals-bdfc5499.js → app-globals-0cd07cd9.js} +2 -2
- package/dist/esm/{app-globals-bdfc5499.js.map → app-globals-0cd07cd9.js.map} +1 -1
- package/dist/esm/{base-button-37b915d6.js → base-button-3ac703a7.js} +27 -4
- package/dist/esm/base-button-3ac703a7.js.map +1 -0
- package/dist/esm/{base-icon-button-976ef0f6.js → base-icon-button-59eb1fe5.js} +2 -2
- package/dist/esm/{base-icon-button-976ef0f6.js.map → base-icon-button-59eb1fe5.js.map} +1 -1
- package/dist/esm/{core-js-1c33b685.js → core-js-78b486a8.js} +1 -1
- package/dist/esm/{core-js-1c33b685.js.map → core-js-78b486a8.js.map} +1 -1
- package/dist/esm/dom-64ac48b5.js.map +1 -1
- package/dist/esm/focus-d4d3abaf.js +63 -0
- package/dist/esm/focus-d4d3abaf.js.map +1 -0
- package/dist/esm/{index.es2017-45304832.js → index.es2017-93ac816c.js} +3 -3
- package/dist/esm/{index.es2017-45304832.js.map → index.es2017-93ac816c.js.map} +1 -1
- package/dist/esm/ix-avatar_2.entry.js +2 -2
- package/dist/esm/ix-blind.entry.js +1 -1
- package/dist/esm/ix-blind.entry.js.map +1 -1
- package/dist/esm/ix-breadcrumb-item.entry.js +2 -2
- package/dist/esm/ix-breadcrumb-item.entry.js.map +1 -1
- package/dist/esm/ix-button.entry.js +4 -4
- package/dist/esm/ix-button.entry.js.map +1 -1
- package/dist/esm/ix-category-filter.entry.js +34 -11
- package/dist/esm/ix-category-filter.entry.js.map +1 -1
- package/dist/esm/ix-col_4.entry.js +5 -5
- package/dist/esm/ix-col_4.entry.js.map +1 -1
- package/dist/esm/ix-date-dropdown.entry.js +11 -4
- package/dist/esm/ix-date-dropdown.entry.js.map +1 -1
- package/dist/esm/ix-dropdown.entry.js +78 -18
- package/dist/esm/ix-dropdown.entry.js.map +1 -1
- package/dist/esm/ix-event-list-item.entry.js +5 -4
- package/dist/esm/ix-event-list-item.entry.js.map +1 -1
- package/dist/esm/ix-event-list.entry.js +26 -25
- package/dist/esm/ix-event-list.entry.js.map +1 -1
- package/dist/esm/ix-filter-chip_2.entry.js +8 -1
- package/dist/esm/ix-filter-chip_2.entry.js.map +1 -1
- package/dist/esm/ix-form-field.entry.js +1 -1
- package/dist/esm/ix-form-field.entry.js.map +1 -1
- package/dist/esm/ix-group-context-menu_2.entry.js +4 -4
- package/dist/esm/ix-group-context-menu_2.entry.js.map +1 -1
- package/dist/esm/ix-group.entry.js +14 -8
- package/dist/esm/ix-group.entry.js.map +1 -1
- package/dist/esm/ix-icon-button_2.entry.js +5 -5
- package/dist/esm/ix-icon-button_2.entry.js.map +1 -1
- package/dist/esm/ix-icon-toggle-button.entry.js +4 -4
- package/dist/esm/ix-icon-toggle-button.entry.js.map +1 -1
- package/dist/esm/ix-icon.entry-621b700a.js +1531 -0
- package/dist/esm/ix-icon.entry-621b700a.js.map +1 -0
- package/dist/esm/ix-input-group.entry.js +1 -1
- package/dist/esm/ix-key-value-list.entry.js +1 -1
- package/dist/esm/ix-kpi.entry.js +3 -3
- package/dist/esm/ix-link-button.entry.js +3 -3
- package/dist/esm/ix-map-navigation-overlay.entry.js +2 -2
- package/dist/esm/ix-map-navigation.entry.js +2 -2
- package/dist/esm/ix-menu-about-item.entry.js +1 -1
- package/dist/esm/ix-menu-about-news.entry.js +4 -4
- package/dist/esm/ix-menu-about.entry.js +1 -1
- package/dist/esm/ix-menu-about.entry.js.map +1 -1
- package/dist/esm/ix-menu-avatar.entry.js +2 -2
- package/dist/esm/ix-menu-category.entry.js +5 -5
- package/dist/esm/ix-menu-expand-icon.entry.js +2 -2
- package/dist/esm/ix-menu-item.entry.js +2 -2
- package/dist/esm/ix-menu-settings-item.entry.js +1 -1
- package/dist/esm/ix-menu.entry.js +11 -11
- package/dist/esm/ix-menu.entry.js.map +1 -1
- package/dist/esm/ix-message-bar.entry.js +1 -1
- package/dist/esm/ix-modal-content_2.entry.js +2 -2
- package/dist/esm/ix-modal-example.entry.js +1 -1
- package/dist/esm/ix-modal-footer.entry.js +1 -1
- package/dist/esm/ix-modal-loading.entry.js +1 -1
- package/dist/esm/ix-pagination.entry.js +4 -4
- package/dist/esm/ix-pagination.entry.js.map +1 -1
- package/dist/esm/ix-pane-layout.entry.js +1 -1
- package/dist/esm/ix-pill.entry.js +4 -4
- package/dist/esm/ix-playground-internal.entry.js +1 -1
- package/dist/esm/ix-select.entry.js +159 -39
- package/dist/esm/ix-select.entry.js.map +1 -1
- package/dist/esm/ix-split-button-item.entry.js +1 -1
- package/dist/esm/ix-tab-item_2.entry.js +2 -2
- package/dist/esm/ix-tile.entry.js +4 -4
- package/dist/esm/ix-time-picker.entry.js +1 -1
- package/dist/esm/ix-time-picker.entry.js.map +1 -1
- package/dist/esm/ix-toast.entry.js +2 -2
- package/dist/esm/ix-toggle-button.entry.js +3 -3
- package/dist/esm/ix-toggle.entry.js +2 -2
- package/dist/esm/ix-tooltip.entry.js +5 -2
- package/dist/esm/ix-tooltip.entry.js.map +1 -1
- package/dist/esm/ix-tree-item.entry.js +4 -4
- package/dist/esm/ix-tree.entry.js +1 -1
- package/dist/esm/ix-upload.entry.js +3 -3
- package/dist/esm/ix-validation-tooltip.entry.js +2 -2
- package/dist/esm/ix-workflow-step.entry.js +4 -4
- package/dist/esm/ix-workflow-step.entry.js.map +1 -1
- package/dist/esm/ix-workflow-steps.entry.js +2 -2
- package/dist/esm/ix-workflow-steps.entry.js.map +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/siemens-ix.js +2 -2
- package/dist/siemens-ix/p-01b8b98c.entry.js +2 -0
- package/dist/siemens-ix/{p-9fcf9dcd.entry.js.map → p-01b8b98c.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-d2ee87ae.entry.js → p-0a1bfcfc.entry.js} +2 -2
- package/dist/siemens-ix/p-0fee2dd5.entry.js +2 -0
- package/dist/siemens-ix/p-0fee2dd5.entry.js.map +1 -0
- package/dist/siemens-ix/{p-9c03b231.entry.js → p-114bb49b.entry.js} +2 -2
- package/dist/siemens-ix/p-18a1c4dd.entry.js +2 -0
- package/dist/siemens-ix/p-18a1c4dd.entry.js.map +1 -0
- package/dist/siemens-ix/p-18a27007.entry.js +2 -0
- package/dist/siemens-ix/p-18a27007.entry.js.map +1 -0
- package/dist/siemens-ix/{p-84430d2c.js → p-1f6df0c6.js} +2 -2
- package/dist/siemens-ix/{p-84430d2c.js.map → p-1f6df0c6.js.map} +1 -1
- package/dist/siemens-ix/p-213f16d5.entry.js +2 -0
- package/dist/siemens-ix/p-213f16d5.entry.js.map +1 -0
- package/dist/siemens-ix/{p-7702a8c2.js → p-235c14ca.js} +2 -2
- package/dist/siemens-ix/p-2459f98f.entry.js +2 -0
- package/dist/siemens-ix/p-2459f98f.entry.js.map +1 -0
- package/dist/siemens-ix/p-2c14670e.entry.js +2 -0
- package/dist/siemens-ix/p-2c14670e.entry.js.map +1 -0
- package/dist/siemens-ix/{p-d76ee9ff.entry.js → p-306c5ab2.entry.js} +2 -2
- package/dist/siemens-ix/{p-f2856faf.entry.js → p-30e8a26a.entry.js} +2 -2
- package/dist/siemens-ix/{p-1450ba99.entry.js → p-3b8e4fe5.entry.js} +2 -2
- package/dist/siemens-ix/{p-96615442.entry.js → p-418959d3.entry.js} +2 -2
- package/dist/siemens-ix/{p-96615442.entry.js.map → p-418959d3.entry.js.map} +1 -1
- package/dist/siemens-ix/p-4290098e.entry.js +2 -0
- package/dist/siemens-ix/{p-cb1c0d63.entry.js.map → p-4290098e.entry.js.map} +1 -1
- package/dist/siemens-ix/p-43a58a77.entry.js +2 -0
- package/dist/siemens-ix/{p-7289b0be.entry.js.map → p-43a58a77.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-ca838b5c.entry.js → p-493cb880.entry.js} +2 -2
- package/dist/siemens-ix/p-493cb880.entry.js.map +1 -0
- package/dist/siemens-ix/{p-f17e4cce.entry.js → p-4cf6e817.entry.js} +2 -2
- package/dist/siemens-ix/p-4fd11865.entry.js +2 -0
- package/dist/siemens-ix/p-56bbdae4.entry.js +2 -0
- package/dist/siemens-ix/p-5d43cae8.js.map +1 -1
- package/dist/siemens-ix/{p-0d268489.entry.js → p-5f08da2c.entry.js} +2 -2
- package/dist/siemens-ix/{p-26789c86.entry.js → p-601cfc6a.entry.js} +2 -2
- package/dist/siemens-ix/p-678d821f.entry.js +2 -0
- package/dist/siemens-ix/{p-b1ec7f32.entry.js → p-6ea6396e.entry.js} +2 -2
- package/dist/siemens-ix/{p-7c1fd9a0.entry.js → p-6eb4eefc.entry.js} +2 -2
- package/dist/siemens-ix/{p-af46164c.entry.js → p-784fe260.entry.js} +2 -2
- package/dist/siemens-ix/p-8362e966.js +2 -0
- package/dist/siemens-ix/p-8362e966.js.map +1 -0
- package/dist/siemens-ix/{p-d77fa665.entry.js → p-90c55341.entry.js} +2 -2
- package/dist/siemens-ix/p-90c55341.entry.js.map +1 -0
- package/dist/siemens-ix/p-96d2d21f.entry.js +2 -0
- package/dist/siemens-ix/p-96d2d21f.entry.js.map +1 -0
- package/dist/siemens-ix/{p-c5762d6c.entry.js → p-9dabe2f7.entry.js} +2 -2
- package/dist/siemens-ix/p-a147b152.entry.js +2 -0
- package/dist/siemens-ix/p-a147b152.entry.js.map +1 -0
- package/dist/siemens-ix/{p-b5c53faf.js → p-a2200306.js} +1 -1
- package/dist/siemens-ix/{p-b5c53faf.js.map → p-a2200306.js.map} +1 -1
- package/dist/siemens-ix/p-a35d02ea.entry.js +2 -0
- package/dist/siemens-ix/{p-31cc5367.entry.js → p-a3ad98bc.entry.js} +2 -2
- package/dist/siemens-ix/p-a6fbea5b.entry.js +2 -0
- package/dist/siemens-ix/p-a6fbea5b.entry.js.map +1 -0
- package/dist/siemens-ix/p-a8838a77.js +2 -0
- package/dist/siemens-ix/p-a9d1ab94.entry.js +2 -0
- package/dist/siemens-ix/{p-080653aa.entry.js.map → p-a9d1ab94.entry.js.map} +1 -1
- package/dist/siemens-ix/p-aa58d9d7.entry.js +2 -0
- package/dist/siemens-ix/p-aa58d9d7.entry.js.map +1 -0
- package/dist/siemens-ix/p-abb29515.entry.js +2 -0
- package/dist/siemens-ix/p-abb29515.entry.js.map +1 -0
- package/dist/siemens-ix/p-add5b76c.entry.js +2 -0
- package/dist/siemens-ix/{p-33e903e1.entry.js.map → p-add5b76c.entry.js.map} +1 -1
- package/dist/siemens-ix/p-b32c2183.entry.js +2 -0
- package/dist/siemens-ix/{p-d0cf522c.entry.js.map → p-b32c2183.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-6f056fc6.entry.js → p-bc5d33ce.entry.js} +2 -2
- package/dist/siemens-ix/p-bd576793.entry.js +2 -0
- package/dist/siemens-ix/p-bd576793.entry.js.map +1 -0
- package/dist/siemens-ix/p-bdc57334.entry.js +2 -0
- package/dist/siemens-ix/{p-f7e82b50.entry.js.map → p-bdc57334.entry.js.map} +1 -1
- package/dist/siemens-ix/p-c09553f3.js +2 -0
- package/dist/siemens-ix/p-c09553f3.js.map +1 -0
- package/dist/siemens-ix/{p-30f449bc.entry.js → p-ca65a043.entry.js} +2 -2
- package/dist/siemens-ix/{p-4bbae41b.entry.js → p-cbbe9dee.entry.js} +2 -2
- package/dist/siemens-ix/p-ccf1bd22.entry.js +2 -0
- package/dist/siemens-ix/{p-c2f6aaae.entry.js → p-cf546284.entry.js} +2 -2
- package/dist/siemens-ix/p-cf546284.entry.js.map +1 -0
- package/dist/siemens-ix/{p-47017ce7.entry.js → p-d08cbeaf.entry.js} +2 -2
- package/dist/siemens-ix/p-d600ea55.entry.js +2 -0
- package/dist/siemens-ix/p-d600ea55.entry.js.map +1 -0
- package/dist/siemens-ix/{p-1255e76b.entry.js → p-d6a094cf.entry.js} +2 -2
- package/dist/siemens-ix/{p-f6635bfc.entry.js → p-def8b3a4.entry.js} +2 -2
- package/dist/siemens-ix/{p-f6635bfc.entry.js.map → p-def8b3a4.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-177f9a5c.entry.js → p-e2464e13.entry.js} +2 -2
- package/dist/siemens-ix/p-e4e24f59.entry.js +2 -0
- package/dist/siemens-ix/{p-c89a070a.entry.js.map → p-e4e24f59.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-d9d5389b.entry.js → p-e678bfc5.entry.js} +2 -2
- package/dist/siemens-ix/{p-c8e0563a.entry.js → p-ec741c06.entry.js} +2 -2
- package/dist/siemens-ix/{p-ca658a19.entry.js → p-ed2ec72f.entry.js} +2 -2
- package/dist/siemens-ix/{p-d9370972.entry.js → p-f2a81e70.entry.js} +2 -2
- package/dist/siemens-ix/{p-32fa185a.entry.js → p-fb55854a.entry.js} +2 -2
- package/dist/siemens-ix/p-fe87443e.js +2 -0
- package/dist/siemens-ix/p-fe87443e.js.map +1 -0
- package/dist/siemens-ix/siemens-ix-core.css +1 -1
- package/dist/siemens-ix/siemens-ix.css +102 -12
- package/dist/siemens-ix/siemens-ix.esm.js +1 -1
- package/dist/siemens-ix/siemens-ix.esm.js.map +1 -1
- package/dist/siemens-ix/theme/classic-dark.css +1 -1
- package/dist/siemens-ix/theme/classic-light.css +1 -1
- package/dist/types/components/button/base-button.d.ts +3 -0
- package/dist/types/components/button/button.d.ts +2 -1
- package/dist/types/components/category-filter/category-filter.d.ts +10 -0
- package/dist/types/components/date-dropdown/date-dropdown.d.ts +7 -0
- package/dist/types/components/dropdown/dropdown-controller.d.ts +2 -2
- package/dist/types/components/dropdown/dropdown.d.ts +9 -1
- package/dist/types/components/event-list/test/event-list.ct.d.ts +1 -0
- package/dist/types/components/group/group.d.ts +1 -0
- package/dist/types/components/group/test/group.ct.d.ts +1 -0
- package/dist/types/components/icon-button/icon-button.d.ts +1 -0
- package/dist/types/components/menu-about/menu-about.d.ts +1 -1
- package/dist/types/components/select/select.d.ts +15 -3
- package/dist/types/components/select-item/select-item.d.ts +5 -1
- package/dist/types/components/utils/focus.d.ts +10 -0
- package/dist/types/components.d.ts +30 -2
- package/package.json +1 -1
- package/scss/components/form/_input.scss +11 -8
- package/scss/theme/classic-dark/_color.scss +36 -0
- package/scss/theme/classic-light/_color.scss +36 -0
- package/dist/cjs/base-button-2f74b19d.js.map +0 -1
- package/dist/cjs/ix-icon.entry-01b3822b.js +0 -1487
- package/dist/cjs/ix-icon.entry-01b3822b.js.map +0 -1
- package/dist/esm/base-button-37b915d6.js.map +0 -1
- package/dist/esm/ix-icon.entry-9fafcf35.js +0 -1485
- package/dist/esm/ix-icon.entry-9fafcf35.js.map +0 -1
- package/dist/playwright-ct.config.js +0 -23
- package/dist/playwright-ct.config.js.map +0 -1
- package/dist/playwright.config.js +0 -75
- package/dist/playwright.config.js.map +0 -1
- package/dist/siemens-ix/p-080653aa.entry.js +0 -2
- package/dist/siemens-ix/p-08bedeaa.entry.js +0 -2
- package/dist/siemens-ix/p-16826ff7.js +0 -2
- package/dist/siemens-ix/p-16d378f3.js +0 -2
- package/dist/siemens-ix/p-16d378f3.js.map +0 -1
- package/dist/siemens-ix/p-1ad7fd83.entry.js +0 -2
- package/dist/siemens-ix/p-1ad7fd83.entry.js.map +0 -1
- package/dist/siemens-ix/p-2a9673f3.entry.js +0 -2
- package/dist/siemens-ix/p-2a9673f3.entry.js.map +0 -1
- package/dist/siemens-ix/p-33e903e1.entry.js +0 -2
- package/dist/siemens-ix/p-37e4df76.entry.js +0 -2
- package/dist/siemens-ix/p-37e4df76.entry.js.map +0 -1
- package/dist/siemens-ix/p-3e4e3b23.entry.js +0 -2
- package/dist/siemens-ix/p-3e4e3b23.entry.js.map +0 -1
- package/dist/siemens-ix/p-6f097cae.entry.js +0 -2
- package/dist/siemens-ix/p-6f097cae.entry.js.map +0 -1
- package/dist/siemens-ix/p-7289b0be.entry.js +0 -2
- package/dist/siemens-ix/p-7b5ed355.entry.js +0 -2
- package/dist/siemens-ix/p-87fe9d5f.entry.js +0 -2
- package/dist/siemens-ix/p-87fe9d5f.entry.js.map +0 -1
- package/dist/siemens-ix/p-8a06a632.entry.js +0 -2
- package/dist/siemens-ix/p-96f2c71a.entry.js +0 -2
- package/dist/siemens-ix/p-96f2c71a.entry.js.map +0 -1
- package/dist/siemens-ix/p-9fcf9dcd.entry.js +0 -2
- package/dist/siemens-ix/p-9fd3ae7f.entry.js +0 -2
- package/dist/siemens-ix/p-a4e489ea.js +0 -2
- package/dist/siemens-ix/p-a4e489ea.js.map +0 -1
- package/dist/siemens-ix/p-a93df5f2.entry.js +0 -2
- package/dist/siemens-ix/p-a93df5f2.entry.js.map +0 -1
- package/dist/siemens-ix/p-ab446f83.entry.js +0 -2
- package/dist/siemens-ix/p-ab446f83.entry.js.map +0 -1
- package/dist/siemens-ix/p-acdeb192.entry.js +0 -2
- package/dist/siemens-ix/p-acdeb192.entry.js.map +0 -1
- package/dist/siemens-ix/p-b78fd38b.entry.js +0 -2
- package/dist/siemens-ix/p-b78fd38b.entry.js.map +0 -1
- package/dist/siemens-ix/p-c2f6aaae.entry.js.map +0 -1
- package/dist/siemens-ix/p-c49701a0.entry.js +0 -2
- package/dist/siemens-ix/p-c4d3f089.entry.js +0 -2
- package/dist/siemens-ix/p-c4d3f089.entry.js.map +0 -1
- package/dist/siemens-ix/p-c89a070a.entry.js +0 -2
- package/dist/siemens-ix/p-ca838b5c.entry.js.map +0 -1
- package/dist/siemens-ix/p-cb1c0d63.entry.js +0 -2
- package/dist/siemens-ix/p-d0cf522c.entry.js +0 -2
- package/dist/siemens-ix/p-d48a746d.entry.js +0 -2
- package/dist/siemens-ix/p-d48a746d.entry.js.map +0 -1
- package/dist/siemens-ix/p-d77fa665.entry.js.map +0 -1
- package/dist/siemens-ix/p-f7e82b50.entry.js +0 -2
- package/dist/types/Users/daniel/dev/oss/ix/packages/core/.stencil/playwright-ct.config.d.ts +0 -7
- package/dist/types/Users/daniel/dev/oss/ix/packages/core/.stencil/playwright.config.d.ts +0 -7
- /package/dist/siemens-ix/{p-d2ee87ae.entry.js.map → p-0a1bfcfc.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9c03b231.entry.js.map → p-114bb49b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-7702a8c2.js.map → p-235c14ca.js.map} +0 -0
- /package/dist/siemens-ix/{p-d76ee9ff.entry.js.map → p-306c5ab2.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f2856faf.entry.js.map → p-30e8a26a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1450ba99.entry.js.map → p-3b8e4fe5.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f17e4cce.entry.js.map → p-4cf6e817.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c49701a0.entry.js.map → p-4fd11865.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9fd3ae7f.entry.js.map → p-56bbdae4.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0d268489.entry.js.map → p-5f08da2c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-26789c86.entry.js.map → p-601cfc6a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-7b5ed355.entry.js.map → p-678d821f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b1ec7f32.entry.js.map → p-6ea6396e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-7c1fd9a0.entry.js.map → p-6eb4eefc.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-af46164c.entry.js.map → p-784fe260.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c5762d6c.entry.js.map → p-9dabe2f7.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-08bedeaa.entry.js.map → p-a35d02ea.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-31cc5367.entry.js.map → p-a3ad98bc.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-16826ff7.js.map → p-a8838a77.js.map} +0 -0
- /package/dist/siemens-ix/{p-6f056fc6.entry.js.map → p-bc5d33ce.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-30f449bc.entry.js.map → p-ca65a043.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-4bbae41b.entry.js.map → p-cbbe9dee.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-8a06a632.entry.js.map → p-ccf1bd22.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-47017ce7.entry.js.map → p-d08cbeaf.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1255e76b.entry.js.map → p-d6a094cf.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-177f9a5c.entry.js.map → p-e2464e13.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d9d5389b.entry.js.map → p-e678bfc5.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c8e0563a.entry.js.map → p-ec741c06.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ca658a19.entry.js.map → p-ed2ec72f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d9370972.entry.js.map → p-f2a81e70.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-32fa185a.entry.js.map → p-fb55854a.entry.js.map} +0 -0
|
@@ -134,4 +134,346 @@ test('open filtered dropdown on input', async ({ mount, page }) => {
|
|
|
134
134
|
await expect(item1).toBeVisible();
|
|
135
135
|
await expect(item2).not.toBeVisible();
|
|
136
136
|
});
|
|
137
|
+
test('remove text from input and reselect the element', async ({ mount, page, }) => {
|
|
138
|
+
await mount(`
|
|
139
|
+
<ix-select value="2">
|
|
140
|
+
<ix-select-item value="1" label="Item 1">Test</ix-select-item>
|
|
141
|
+
<ix-select-item value="2" label="Item 2">Test</ix-select-item>
|
|
142
|
+
<ix-select-item value="3" label="Item 3">Test</ix-select-item>
|
|
143
|
+
</ix-select>
|
|
144
|
+
`);
|
|
145
|
+
await page.locator('[data-select-dropdown]').click();
|
|
146
|
+
const element = page.locator('ix-select');
|
|
147
|
+
await element.evaluate((select) => (select.value = []));
|
|
148
|
+
const dropdown = element.locator('ix-dropdown');
|
|
149
|
+
await expect(dropdown).toBeVisible();
|
|
150
|
+
const item2 = page.getByRole('button', { name: 'Item 2' });
|
|
151
|
+
await item2.click();
|
|
152
|
+
const inputValue = await element.locator('input').inputValue();
|
|
153
|
+
expect(inputValue).toEqual('Item 2');
|
|
154
|
+
});
|
|
155
|
+
test('type in a novel item name in editable mode and then remove it', async ({ mount, page, }) => {
|
|
156
|
+
await mount(`
|
|
157
|
+
<ix-select value="2" editable>
|
|
158
|
+
<ix-select-item value="1" label="Item 1">Test</ix-select-item>
|
|
159
|
+
<ix-select-item value="2" label="Item 2">Test</ix-select-item>
|
|
160
|
+
</ix-select>
|
|
161
|
+
`);
|
|
162
|
+
const element = page.locator('ix-select');
|
|
163
|
+
await expect(element).toHaveClass(/hydrated/);
|
|
164
|
+
await page.locator('[data-select-dropdown]').click();
|
|
165
|
+
await page.getByTestId('input').fill('test');
|
|
166
|
+
await expect(page.getByRole('button', { name: 'Item 1' })).not.toBeVisible();
|
|
167
|
+
await expect(page.getByRole('button', { name: 'Item 2' })).not.toBeVisible();
|
|
168
|
+
const add = page.getByRole('button', { name: 'test' });
|
|
169
|
+
await expect(add).toBeVisible();
|
|
170
|
+
await page.getByTestId('input').fill('');
|
|
171
|
+
await expect(page.getByRole('button', { name: 'Item 1' })).toBeVisible();
|
|
172
|
+
await expect(page.getByRole('button', { name: 'Item 2' })).toBeVisible();
|
|
173
|
+
await expect(add).not.toBeVisible();
|
|
174
|
+
});
|
|
175
|
+
test('type in a novel item name in editable mode, click outside and reopen the select', async ({ mount, page, }) => {
|
|
176
|
+
await mount(`
|
|
177
|
+
<ix-select value="2" editable>
|
|
178
|
+
<ix-select-item value="1" label="Item 1">Test</ix-select-item>
|
|
179
|
+
<ix-select-item value="2" label="Item 2">Test</ix-select-item>
|
|
180
|
+
<ix-select-item value="3" label="Item 3">Test</ix-select-item>
|
|
181
|
+
</ix-select>
|
|
182
|
+
<ix-button>outside</ix-button>
|
|
183
|
+
`);
|
|
184
|
+
const selectElement = page.locator('ix-select');
|
|
185
|
+
const btnElement = page.locator('ix-button');
|
|
186
|
+
await expect(selectElement).toHaveClass(/hydrated/);
|
|
187
|
+
await expect(btnElement).toBeVisible();
|
|
188
|
+
await page.locator('[data-select-dropdown]').click();
|
|
189
|
+
await page.getByTestId('input').fill('test');
|
|
190
|
+
const add = page.getByRole('button', { name: 'test' });
|
|
191
|
+
await expect(add).toBeVisible();
|
|
192
|
+
await btnElement.click();
|
|
193
|
+
const inputValue = await page.getByTestId('input').inputValue();
|
|
194
|
+
expect(inputValue).toBe('Item 2');
|
|
195
|
+
await page.locator('[data-select-dropdown]').click();
|
|
196
|
+
await expect(page.getByRole('button', { name: 'Item 1' })).toBeVisible();
|
|
197
|
+
await expect(page.getByRole('button', { name: 'Item 2' })).toBeVisible();
|
|
198
|
+
await expect(page.getByRole('button', { name: 'Item 3' })).toBeVisible();
|
|
199
|
+
});
|
|
200
|
+
test.describe('arrow key navigation', () => {
|
|
201
|
+
test.describe('ArrowDown', () => {
|
|
202
|
+
test('input -> slotted item', async ({ mount, page }) => {
|
|
203
|
+
await mount(`
|
|
204
|
+
<ix-select>
|
|
205
|
+
<ix-select-item value="1" label="Item 1">Test</ix-select-item>
|
|
206
|
+
<ix-select-item value="2" label="Item 2">Test</ix-select-item>
|
|
207
|
+
</ix-select>
|
|
208
|
+
`);
|
|
209
|
+
await page.locator('ix-select input').click();
|
|
210
|
+
await page.keyboard.down('ArrowDown');
|
|
211
|
+
const itemOne = await page.locator('ix-select-item').first();
|
|
212
|
+
await expect(itemOne).toBeFocused();
|
|
213
|
+
});
|
|
214
|
+
test('input -> dynamic item', async ({ mount, page }) => {
|
|
215
|
+
await mount(`
|
|
216
|
+
<ix-select editable></ix-select>
|
|
217
|
+
`);
|
|
218
|
+
await page.locator('ix-select input').focus();
|
|
219
|
+
await page.keyboard.type('I');
|
|
220
|
+
await page.waitForSelector('.add-item');
|
|
221
|
+
await page.keyboard.down('ArrowDown');
|
|
222
|
+
const itemOne = await page.locator('.add-item');
|
|
223
|
+
await expect(itemOne).toBeFocused();
|
|
224
|
+
});
|
|
225
|
+
test('input -> add item', async ({ mount, page }) => {
|
|
226
|
+
await mount(`
|
|
227
|
+
<ix-select editable></ix-select>
|
|
228
|
+
`);
|
|
229
|
+
await page.locator('ix-select input').focus();
|
|
230
|
+
await page.keyboard.type('I');
|
|
231
|
+
await page.keyboard.down('Enter');
|
|
232
|
+
await page.waitForSelector('.checkmark');
|
|
233
|
+
await page.keyboard.down('ArrowDown');
|
|
234
|
+
const addItem = await page.locator('ix-dropdown-item');
|
|
235
|
+
await expect(addItem).toBeFocused();
|
|
236
|
+
});
|
|
237
|
+
test('slot -> dynamic item', async ({ mount, page }) => {
|
|
238
|
+
await mount(`
|
|
239
|
+
<ix-select editable>
|
|
240
|
+
<ix-select-item value="1" label="Item 1">Test</ix-select-item>
|
|
241
|
+
<ix-select-item value="2" label="Item 2">Test</ix-select-item>
|
|
242
|
+
</ix-select>
|
|
243
|
+
`);
|
|
244
|
+
await page.locator('ix-select input').focus();
|
|
245
|
+
await page.keyboard.type('I');
|
|
246
|
+
await page.keyboard.down('Enter');
|
|
247
|
+
await page.waitForSelector('.checkmark');
|
|
248
|
+
await page.keyboard.down('ArrowDown');
|
|
249
|
+
await page.waitForTimeout(100);
|
|
250
|
+
await page.keyboard.down('ArrowDown');
|
|
251
|
+
await page.waitForTimeout(100);
|
|
252
|
+
await page.keyboard.down('ArrowDown');
|
|
253
|
+
await page.waitForTimeout(100);
|
|
254
|
+
const itemThree = page.locator('ix-select-item').last();
|
|
255
|
+
await expect(itemThree).toBeFocused();
|
|
256
|
+
});
|
|
257
|
+
test('slot -> add item', async ({ mount, page }) => {
|
|
258
|
+
await mount(`
|
|
259
|
+
<ix-select editable>
|
|
260
|
+
<ix-select-item value="1" label="Item 1">Test</ix-select-item>
|
|
261
|
+
<ix-select-item value="2" label="Item 2">Test</ix-select-item>
|
|
262
|
+
</ix-select>
|
|
263
|
+
`);
|
|
264
|
+
await page.locator('ix-select input').focus();
|
|
265
|
+
await page.keyboard.type('I');
|
|
266
|
+
await page.waitForSelector('.add-item');
|
|
267
|
+
await page.keyboard.down('ArrowDown');
|
|
268
|
+
await page.waitForTimeout(100);
|
|
269
|
+
await page.keyboard.down('ArrowDown');
|
|
270
|
+
await page.waitForTimeout(100);
|
|
271
|
+
await page.keyboard.down('ArrowDown');
|
|
272
|
+
await page.waitForTimeout(100);
|
|
273
|
+
const addItem = page.locator('.add-item');
|
|
274
|
+
await expect(addItem).toBeFocused();
|
|
275
|
+
});
|
|
276
|
+
test('dynamic item -> add item', async ({ mount, page }) => {
|
|
277
|
+
await mount(`
|
|
278
|
+
<ix-select editable>
|
|
279
|
+
<ix-select-item value="1" label="Item 1">Test</ix-select-item>
|
|
280
|
+
</ix-select>
|
|
281
|
+
`);
|
|
282
|
+
await page.locator('ix-select input').focus();
|
|
283
|
+
await page.keyboard.type('Item 2');
|
|
284
|
+
await page.keyboard.down('Enter');
|
|
285
|
+
await page.waitForSelector('.checkmark');
|
|
286
|
+
await page.locator('input').clear();
|
|
287
|
+
await page.keyboard.type('I');
|
|
288
|
+
await page.waitForSelector('.add-item');
|
|
289
|
+
await page.keyboard.down('ArrowDown');
|
|
290
|
+
await page.waitForTimeout(100);
|
|
291
|
+
await page.keyboard.down('ArrowDown');
|
|
292
|
+
await page.waitForTimeout(100);
|
|
293
|
+
await page.keyboard.down('ArrowDown');
|
|
294
|
+
await page.waitForTimeout(100);
|
|
295
|
+
const addItem = page.locator('.add-item');
|
|
296
|
+
await expect(addItem).toBeFocused();
|
|
297
|
+
});
|
|
298
|
+
test('wrap - dynamic item -> slot', async ({ mount, page }) => {
|
|
299
|
+
await mount(`
|
|
300
|
+
<ix-select editable>
|
|
301
|
+
<ix-select-item value="1" label="Item 1">Test</ix-select-item>
|
|
302
|
+
</ix-select>
|
|
303
|
+
`);
|
|
304
|
+
await page.locator('ix-select input').focus();
|
|
305
|
+
await page.keyboard.type('Item 2');
|
|
306
|
+
await page.keyboard.press('Enter');
|
|
307
|
+
await page.locator('input').clear();
|
|
308
|
+
await page.keyboard.down('ArrowDown');
|
|
309
|
+
await page.waitForTimeout(100);
|
|
310
|
+
await page.keyboard.down('ArrowDown');
|
|
311
|
+
await page.waitForTimeout(100);
|
|
312
|
+
const itemTwo = page.locator('ix-select-item').nth(1);
|
|
313
|
+
await expect(itemTwo).toBeFocused();
|
|
314
|
+
await page.keyboard.down('ArrowDown');
|
|
315
|
+
await page.waitForTimeout(100);
|
|
316
|
+
const itemOne = page.locator('ix-select-item').first();
|
|
317
|
+
await expect(itemOne).toBeFocused();
|
|
318
|
+
});
|
|
319
|
+
test('wrap - add item -> slot', async ({ mount, page }) => {
|
|
320
|
+
await mount(`
|
|
321
|
+
<ix-select editable>
|
|
322
|
+
<ix-select-item value="1" label="Item 1">Test</ix-select-item>
|
|
323
|
+
</ix-select>
|
|
324
|
+
`);
|
|
325
|
+
await page.locator('ix-select input').focus();
|
|
326
|
+
await page.keyboard.type('I');
|
|
327
|
+
await page.waitForSelector('.add-item');
|
|
328
|
+
await page.keyboard.down('ArrowDown');
|
|
329
|
+
await page.waitForTimeout(100);
|
|
330
|
+
await page.keyboard.down('ArrowDown');
|
|
331
|
+
await page.waitForTimeout(100);
|
|
332
|
+
const addItem = page.locator('.add-item');
|
|
333
|
+
await expect(addItem).toBeFocused();
|
|
334
|
+
await page.keyboard.down('ArrowDown');
|
|
335
|
+
await page.waitForTimeout(100);
|
|
336
|
+
const itemOne = page.locator('ix-select-item').first();
|
|
337
|
+
await expect(itemOne).toBeFocused();
|
|
338
|
+
});
|
|
339
|
+
test('wrap - add item -> dynamic item', async ({ mount, page }) => {
|
|
340
|
+
await mount(`
|
|
341
|
+
<ix-select editable></ix-select>
|
|
342
|
+
`);
|
|
343
|
+
await page.locator('ix-select input').focus();
|
|
344
|
+
await page.keyboard.type('Item 1');
|
|
345
|
+
await page.keyboard.press('Enter');
|
|
346
|
+
await page.waitForSelector('.checkmark');
|
|
347
|
+
await page.locator('input').clear();
|
|
348
|
+
await page.keyboard.type('I');
|
|
349
|
+
await page.waitForSelector('.add-item');
|
|
350
|
+
await page.keyboard.down('ArrowDown');
|
|
351
|
+
await page.waitForTimeout(100);
|
|
352
|
+
await page.keyboard.down('ArrowDown');
|
|
353
|
+
await page.waitForTimeout(100);
|
|
354
|
+
const addItem = page.locator('.add-item');
|
|
355
|
+
await expect(addItem).toBeFocused();
|
|
356
|
+
await page.keyboard.down('ArrowDown');
|
|
357
|
+
await page.waitForTimeout(100);
|
|
358
|
+
const itemOne = page.locator('ix-select-item');
|
|
359
|
+
await expect(itemOne).toBeFocused();
|
|
360
|
+
});
|
|
361
|
+
});
|
|
362
|
+
test.describe('ArrowUp', () => {
|
|
363
|
+
test('dynamic item -> slot', async ({ mount, page }) => {
|
|
364
|
+
await mount(`
|
|
365
|
+
<ix-select editable>
|
|
366
|
+
<ix-select-item value="1" label="Item 1">Test</ix-select-item>
|
|
367
|
+
</ix-select>
|
|
368
|
+
`);
|
|
369
|
+
await page.locator('ix-select input').focus();
|
|
370
|
+
await page.keyboard.type('I');
|
|
371
|
+
await page.keyboard.down('Enter');
|
|
372
|
+
await page.waitForSelector('.checkmark');
|
|
373
|
+
await page.keyboard.down('ArrowDown');
|
|
374
|
+
await page.waitForTimeout(100);
|
|
375
|
+
await page.keyboard.down('ArrowDown');
|
|
376
|
+
await page.waitForTimeout(100);
|
|
377
|
+
const itemTwo = page.locator('ix-select-item').last();
|
|
378
|
+
await expect(itemTwo).toBeFocused();
|
|
379
|
+
await page.keyboard.down('ArrowUp');
|
|
380
|
+
await page.waitForTimeout(100);
|
|
381
|
+
const itemOne = page.locator('ix-select-item').first();
|
|
382
|
+
await expect(itemOne).toBeFocused();
|
|
383
|
+
});
|
|
384
|
+
test('add item -> slot', async ({ mount, page }) => {
|
|
385
|
+
await mount(`
|
|
386
|
+
<ix-select editable>
|
|
387
|
+
<ix-select-item value="1" label="Item 1">Test</ix-select-item>
|
|
388
|
+
</ix-select>
|
|
389
|
+
`);
|
|
390
|
+
await page.locator('ix-select input').focus();
|
|
391
|
+
await page.keyboard.type('I');
|
|
392
|
+
await page.waitForSelector('.add-item');
|
|
393
|
+
await page.keyboard.down('ArrowDown');
|
|
394
|
+
await page.waitForTimeout(100);
|
|
395
|
+
await page.keyboard.down('ArrowDown');
|
|
396
|
+
await page.waitForTimeout(100);
|
|
397
|
+
const addItem = page.locator('.add-item');
|
|
398
|
+
await expect(addItem).toBeFocused();
|
|
399
|
+
await page.keyboard.down('ArrowUp');
|
|
400
|
+
await page.waitForTimeout(100);
|
|
401
|
+
const itemOne = page.locator('ix-select-item');
|
|
402
|
+
await expect(itemOne).toBeFocused();
|
|
403
|
+
});
|
|
404
|
+
test('add item -> dynamic item', async ({ mount, page }) => {
|
|
405
|
+
await mount(`
|
|
406
|
+
<ix-select editable></ix-select>
|
|
407
|
+
`);
|
|
408
|
+
await page.locator('ix-select input').focus();
|
|
409
|
+
await page.keyboard.type('Item 1');
|
|
410
|
+
await page.keyboard.press('Enter');
|
|
411
|
+
await page.waitForSelector('.checkmark');
|
|
412
|
+
await page.locator('input').clear();
|
|
413
|
+
await page.keyboard.type('I');
|
|
414
|
+
await page.waitForSelector('.add-item');
|
|
415
|
+
await page.keyboard.down('ArrowDown');
|
|
416
|
+
await page.waitForTimeout(100);
|
|
417
|
+
await page.keyboard.down('ArrowDown');
|
|
418
|
+
await page.waitForTimeout(100);
|
|
419
|
+
const addItem = page.locator('.add-item');
|
|
420
|
+
await expect(addItem).toBeFocused();
|
|
421
|
+
await page.keyboard.down('ArrowUp');
|
|
422
|
+
await page.waitForTimeout(100);
|
|
423
|
+
const itemOne = page.locator('ix-select-item');
|
|
424
|
+
await expect(itemOne).toBeFocused();
|
|
425
|
+
});
|
|
426
|
+
test('wrap - slot -> dynamic item', async ({ mount, page }) => {
|
|
427
|
+
await mount(`
|
|
428
|
+
<ix-select editable>
|
|
429
|
+
<ix-select-item value="1" label="Item 1">Test</ix-select-item>
|
|
430
|
+
</ix-select>
|
|
431
|
+
`);
|
|
432
|
+
await page.locator('input').focus();
|
|
433
|
+
await page.keyboard.type('Item 2');
|
|
434
|
+
await page.keyboard.press('Enter');
|
|
435
|
+
await page.locator('input').clear();
|
|
436
|
+
await page.keyboard.down('ArrowDown');
|
|
437
|
+
await page.waitForTimeout(100);
|
|
438
|
+
await page.keyboard.down('ArrowUp');
|
|
439
|
+
await page.waitForTimeout(100);
|
|
440
|
+
const itemTwo = page.locator('ix-select-item').last();
|
|
441
|
+
await expect(itemTwo).toBeFocused();
|
|
442
|
+
});
|
|
443
|
+
test('wrap - slot -> add-item', async ({ mount, page }) => {
|
|
444
|
+
await mount(`
|
|
445
|
+
<ix-select editable>
|
|
446
|
+
<ix-select-item value="1" label="Item 1">Test</ix-select-item>
|
|
447
|
+
</ix-select>
|
|
448
|
+
`);
|
|
449
|
+
await page.locator('ix-select input').focus();
|
|
450
|
+
await page.keyboard.type('I');
|
|
451
|
+
await page.waitForSelector('.add-item');
|
|
452
|
+
await page.keyboard.down('ArrowDown');
|
|
453
|
+
await page.waitForTimeout(100);
|
|
454
|
+
await page.keyboard.down('ArrowUp');
|
|
455
|
+
await page.waitForTimeout(100);
|
|
456
|
+
const addItem = page.locator('.add-item');
|
|
457
|
+
await expect(addItem).toBeFocused();
|
|
458
|
+
});
|
|
459
|
+
test('wrap - dynamic item -> add item', async ({ mount, page }) => {
|
|
460
|
+
await mount(`
|
|
461
|
+
<ix-select editable></ix-select>
|
|
462
|
+
`);
|
|
463
|
+
await page.locator('ix-select input').focus();
|
|
464
|
+
await page.keyboard.type('Item 1');
|
|
465
|
+
await page.keyboard.press('Enter');
|
|
466
|
+
await page.waitForSelector('.checkmark');
|
|
467
|
+
await page.locator('input').clear();
|
|
468
|
+
await page.keyboard.type('I');
|
|
469
|
+
await page.waitForSelector('.add-item');
|
|
470
|
+
await page.keyboard.down('ArrowDown');
|
|
471
|
+
await page.waitForTimeout(100);
|
|
472
|
+
await page.keyboard.down('ArrowUp');
|
|
473
|
+
await page.waitForTimeout(100);
|
|
474
|
+
const addItem = page.locator('.add-item');
|
|
475
|
+
await expect(addItem).toBeFocused();
|
|
476
|
+
});
|
|
477
|
+
});
|
|
478
|
+
});
|
|
137
479
|
//# sourceMappingURL=select.ct.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.ct.js","sourceRoot":"","sources":["../../../../../src/components/select/test/select.ct.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAEnC,IAAI,CAAC,SAAS,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE;IACxC,MAAM,KAAK,CAAC;;;;;KAKT,CAAC,CAAC;IACL,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;IAC1C,MAAM,MAAM,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IAE9C,MAAM,IAAI,CAAC,OAAO,CAAC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AAO,CAAC,aAAa,CAAC,CAAC;IAChD,MAAM,MAAM,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC;IAEzC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAExB,MAAM,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC;IAC3D,MAAM,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC;IAE3D,MAAM,MAAM,CAAC,KAAK,CAAC,CAAC,WAAW,EAAE,CAAC;IAClC,MAAM,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC;AACxC,CAAC,CAAC,CAAC","sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport { expect } from '@playwright/test';\nimport { test } from '@utils/test';\n\ntest('renders', async ({ mount, page }) => {\n await mount(`\n <ix-select>\n <ix-select-item value=\"11\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"22\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await expect(element).toHaveClass(/hydrated/);\n\n await page.locator('[data-select-dropdown]').click();\n\n const dropdown = element.locator('ix-dropdown');\n await expect(dropdown).toBeVisible();\n\n await expect(page.getByRole('button', { name: 'Item 1' })).toBeVisible();\n await expect(page.getByRole('button', { name: 'Item 2' })).toBeVisible();\n});\n\ntest('editable mode', async ({ mount, page }) => {\n await mount(`\n <ix-select editable>\n <ix-select-item value=\"11\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"22\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await expect(element).toHaveClass(/hydrated/);\n\n await page.locator('[data-select-dropdown]').click();\n await page.getByTestId('input').fill('Not existing');\n\n const dropdown = element.locator('ix-dropdown');\n await expect(dropdown).toBeVisible();\n\n await expect(page.getByRole('button', { name: 'Item 1' })).not.toBeVisible();\n await expect(page.getByRole('button', { name: 'Item 2' })).not.toBeVisible();\n\n const add = page.getByRole('button', { name: /Not existing/ });\n await expect(add).toBeVisible();\n\n await add.click();\n await expect(page.getByTestId('input')).toHaveValue(/Not existing/);\n await page.locator('[data-select-dropdown]').click();\n\n await expect(page.getByRole('button', { name: 'Item 1' })).toBeVisible();\n await expect(page.getByRole('button', { name: 'Item 2' })).toBeVisible();\n\n const addedItem = page\n .getByRole('listitem')\n .filter({ hasText: 'Not existing' });\n\n await expect(addedItem).toBeVisible();\n});\n\ntest('single selection', async ({ mount, page }) => {\n await mount(`\n <ix-select>\n <ix-select-item value=\"11\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"22\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await element.evaluate(\n (select: HTMLIxSelectElement) => (select.value = '22')\n );\n\n await page.locator('[data-select-dropdown]').click();\n\n const dropdown = element.locator('ix-dropdown');\n await expect(dropdown).toBeVisible();\n\n await expect(page.getByRole('button', { name: 'Item 1' })).toBeVisible();\n await expect(\n page.getByRole('button', { name: 'Item 2' }).locator('ix-icon')\n ).toBeVisible();\n});\n\ntest('multiple selection', async ({ mount, page }) => {\n await mount(`\n <ix-select mode=\"multiple\">\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n <ix-select-item value=\"3\" label=\"Item 3\">Test</ix-select-item>\n <ix-select-item value=\"4\" label=\"Item 4\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await element.evaluate((select: HTMLIxSelectElement) => (select.value = []));\n await page.locator('[data-select-dropdown]').click();\n\n const dropdown = element.locator('ix-dropdown');\n const chips = element.locator('.chips');\n\n await expect(dropdown).toBeVisible();\n\n const item1 = element.locator('ix-select-item').nth(0);\n const item3 = element.locator('ix-select-item').nth(2);\n await item1.click();\n await item3.click();\n\n await expect(item1.locator('ix-icon')).toBeVisible();\n await expect(item3.locator('ix-icon')).toBeVisible();\n\n const chip1 = chips.getByTitle('Item 1');\n const chip3 = chips.getByTitle('Item 3');\n\n await expect(chip1).toBeVisible();\n await expect(chip3).toBeVisible();\n});\n\ntest('filter', async ({ mount, page }) => {\n await mount(`\n <ix-select mode=\"multiple\">\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n <ix-select-item value=\"abc\" label=\"abc\">Test</ix-select-item>\n <ix-select-item value=\"4\" label=\"Item 4\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await element.evaluate((select: HTMLIxSelectElement) => (select.value = []));\n\n await page.locator('[data-select-dropdown]').click();\n const dropdown = element.locator('ix-dropdown');\n await expect(dropdown).toBeVisible();\n\n await element.locator('input').fill('abc');\n\n const item1 = page.getByRole('button', { name: 'Item 1' });\n const item2 = page.getByRole('button', { name: 'Item 2' });\n const item4 = page.getByRole('button', { name: 'Item 4' });\n const item_abc = page.getByRole('button', { name: 'abc' });\n\n await expect(item1).not.toBeVisible();\n await expect(item2).not.toBeVisible();\n await expect(item4).not.toBeVisible();\n await expect(item_abc).toBeVisible();\n});\n\ntest('open filtered dropdown on input', async ({ mount, page }) => {\n await mount(`\n <ix-select>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await element.evaluate((select: HTMLIxSelectElement) => (select.value = []));\n\n await page.locator('[data-testid=\"input\"]').focus();\n page.keyboard.down('Escape');\n const dropdown = element.locator('ix-dropdown');\n await expect(dropdown).not.toBeVisible();\n\n page.keyboard.down('1');\n\n const item1 = page.getByRole('button', { name: 'Item 1' });\n const item2 = page.getByRole('button', { name: 'Item 2' });\n\n await expect(item1).toBeVisible();\n await expect(item2).not.toBeVisible();\n});\n"]}
|
|
1
|
+
{"version":3,"file":"select.ct.js","sourceRoot":"","sources":["../../../../src/components/select/test/select.ct.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAEnC,IAAI,CAAC,SAAS,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE;IACxC,MAAM,KAAK,CAAC;;;;;KAKT,CAAC,CAAC;IACL,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;IAC1C,MAAM,MAAM,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IAE9C,MAAM,IAAI,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC,KAAK,EAAE,CAAC;IAErD,MAAM,QAAQ,GAAG,OAAO,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;IAChD,MAAM,MAAM,CAAC,QAAQ,CAAC,CAAC,WAAW,EAAE,CAAC;IAErC,MAAM,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;IACzE,MAAM,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;AAC3E,CAAC,CAAC,CAAC;AAEH,IAAI,CAAC,eAAe,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE;IAC9C,MAAM,KAAK,CAAC;;;;;KAKT,CAAC,CAAC;IAC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Q,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;YACpC,MAAM,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;YAE/B,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;YAC1C,MAAM,MAAM,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE,CAAC;QACtC,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport { expect } from '@playwright/test';\nimport { test } from '@utils/test';\n\ntest('renders', async ({ mount, page }) => {\n await mount(`\n <ix-select>\n <ix-select-item value=\"11\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"22\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await expect(element).toHaveClass(/hydrated/);\n\n await page.locator('[data-select-dropdown]').click();\n\n const dropdown = element.locator('ix-dropdown');\n await expect(dropdown).toBeVisible();\n\n await expect(page.getByRole('button', { name: 'Item 1' })).toBeVisible();\n await expect(page.getByRole('button', { name: 'Item 2' })).toBeVisible();\n});\n\ntest('editable mode', async ({ mount, page }) => {\n await mount(`\n <ix-select editable>\n <ix-select-item value=\"11\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"22\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await expect(element).toHaveClass(/hydrated/);\n\n await page.locator('[data-select-dropdown]').click();\n await page.getByTestId('input').fill('Not existing');\n\n const dropdown = element.locator('ix-dropdown');\n await expect(dropdown).toBeVisible();\n\n await expect(page.getByRole('button', { name: 'Item 1' })).not.toBeVisible();\n await expect(page.getByRole('button', { name: 'Item 2' })).not.toBeVisible();\n\n const add = page.getByRole('button', { name: /Not existing/ });\n await expect(add).toBeVisible();\n\n await add.click();\n await expect(page.getByTestId('input')).toHaveValue(/Not existing/);\n await page.locator('[data-select-dropdown]').click();\n\n await expect(page.getByRole('button', { name: 'Item 1' })).toBeVisible();\n await expect(page.getByRole('button', { name: 'Item 2' })).toBeVisible();\n\n const addedItem = page\n .getByRole('listitem')\n .filter({ hasText: 'Not existing' });\n\n await expect(addedItem).toBeVisible();\n});\n\ntest('single selection', async ({ mount, page }) => {\n await mount(`\n <ix-select>\n <ix-select-item value=\"11\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"22\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await element.evaluate(\n (select: HTMLIxSelectElement) => (select.value = '22')\n );\n\n await page.locator('[data-select-dropdown]').click();\n\n const dropdown = element.locator('ix-dropdown');\n await expect(dropdown).toBeVisible();\n\n await expect(page.getByRole('button', { name: 'Item 1' })).toBeVisible();\n await expect(\n page.getByRole('button', { name: 'Item 2' }).locator('ix-icon')\n ).toBeVisible();\n});\n\ntest('multiple selection', async ({ mount, page }) => {\n await mount(`\n <ix-select mode=\"multiple\">\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n <ix-select-item value=\"3\" label=\"Item 3\">Test</ix-select-item>\n <ix-select-item value=\"4\" label=\"Item 4\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await element.evaluate((select: HTMLIxSelectElement) => (select.value = []));\n await page.locator('[data-select-dropdown]').click();\n\n const dropdown = element.locator('ix-dropdown');\n const chips = element.locator('.chips');\n\n await expect(dropdown).toBeVisible();\n\n const item1 = element.locator('ix-select-item').nth(0);\n const item3 = element.locator('ix-select-item').nth(2);\n await item1.click();\n await item3.click();\n\n await expect(item1.locator('ix-icon')).toBeVisible();\n await expect(item3.locator('ix-icon')).toBeVisible();\n\n const chip1 = chips.getByTitle('Item 1');\n const chip3 = chips.getByTitle('Item 3');\n\n await expect(chip1).toBeVisible();\n await expect(chip3).toBeVisible();\n});\n\ntest('filter', async ({ mount, page }) => {\n await mount(`\n <ix-select mode=\"multiple\">\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n <ix-select-item value=\"abc\" label=\"abc\">Test</ix-select-item>\n <ix-select-item value=\"4\" label=\"Item 4\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await element.evaluate((select: HTMLIxSelectElement) => (select.value = []));\n\n await page.locator('[data-select-dropdown]').click();\n const dropdown = element.locator('ix-dropdown');\n await expect(dropdown).toBeVisible();\n\n await element.locator('input').fill('abc');\n\n const item1 = page.getByRole('button', { name: 'Item 1' });\n const item2 = page.getByRole('button', { name: 'Item 2' });\n const item4 = page.getByRole('button', { name: 'Item 4' });\n const item_abc = page.getByRole('button', { name: 'abc' });\n\n await expect(item1).not.toBeVisible();\n await expect(item2).not.toBeVisible();\n await expect(item4).not.toBeVisible();\n await expect(item_abc).toBeVisible();\n});\n\ntest('open filtered dropdown on input', async ({ mount, page }) => {\n await mount(`\n <ix-select>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await element.evaluate((select: HTMLIxSelectElement) => (select.value = []));\n\n await page.locator('[data-testid=\"input\"]').focus();\n page.keyboard.down('Escape');\n const dropdown = element.locator('ix-dropdown');\n await expect(dropdown).not.toBeVisible();\n\n page.keyboard.down('1');\n\n const item1 = page.getByRole('button', { name: 'Item 1' });\n const item2 = page.getByRole('button', { name: 'Item 2' });\n\n await expect(item1).toBeVisible();\n await expect(item2).not.toBeVisible();\n});\n\ntest('remove text from input and reselect the element', async ({\n mount,\n page,\n}) => {\n await mount(`\n <ix-select value=\"2\">\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n <ix-select-item value=\"3\" label=\"Item 3\">Test</ix-select-item>\n </ix-select>\n `);\n\n await page.locator('[data-select-dropdown]').click();\n const element = page.locator('ix-select');\n await element.evaluate((select: HTMLIxSelectElement) => (select.value = []));\n const dropdown = element.locator('ix-dropdown');\n await expect(dropdown).toBeVisible();\n\n const item2 = page.getByRole('button', { name: 'Item 2' });\n await item2.click();\n\n const inputValue = await element.locator('input').inputValue();\n expect(inputValue).toEqual('Item 2');\n});\n\ntest('type in a novel item name in editable mode and then remove it', async ({\n mount,\n page,\n}) => {\n await mount(`\n <ix-select value=\"2\" editable>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n\n const element = page.locator('ix-select');\n await expect(element).toHaveClass(/hydrated/);\n\n await page.locator('[data-select-dropdown]').click();\n await page.getByTestId('input').fill('test');\n\n await expect(page.getByRole('button', { name: 'Item 1' })).not.toBeVisible();\n await expect(page.getByRole('button', { name: 'Item 2' })).not.toBeVisible();\n\n const add = page.getByRole('button', { name: 'test' });\n await expect(add).toBeVisible();\n\n await page.getByTestId('input').fill('');\n\n await expect(page.getByRole('button', { name: 'Item 1' })).toBeVisible();\n await expect(page.getByRole('button', { name: 'Item 2' })).toBeVisible();\n await expect(add).not.toBeVisible();\n});\n\ntest('type in a novel item name in editable mode, click outside and reopen the select', async ({\n mount,\n page,\n}) => {\n await mount(`\n <ix-select value=\"2\" editable>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n <ix-select-item value=\"3\" label=\"Item 3\">Test</ix-select-item>\n </ix-select>\n <ix-button>outside</ix-button>\n `);\n\n const selectElement = page.locator('ix-select');\n const btnElement = page.locator('ix-button');\n await expect(selectElement).toHaveClass(/hydrated/);\n await expect(btnElement).toBeVisible();\n\n await page.locator('[data-select-dropdown]').click();\n await page.getByTestId('input').fill('test');\n\n const add = page.getByRole('button', { name: 'test' });\n await expect(add).toBeVisible();\n\n await btnElement.click();\n const inputValue = await page.getByTestId('input').inputValue();\n\n expect(inputValue).toBe('Item 2');\n\n await page.locator('[data-select-dropdown]').click();\n\n await expect(page.getByRole('button', { name: 'Item 1' })).toBeVisible();\n await expect(page.getByRole('button', { name: 'Item 2' })).toBeVisible();\n await expect(page.getByRole('button', { name: 'Item 3' })).toBeVisible();\n});\n\ntest.describe('arrow key navigation', () => {\n test.describe('ArrowDown', () => {\n test('input -> slotted item', async ({ mount, page }) => {\n await mount(`\n <ix-select>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n\n await page.locator('ix-select input').click();\n await page.keyboard.down('ArrowDown');\n const itemOne = await page.locator('ix-select-item').first();\n await expect(itemOne).toBeFocused();\n });\n\n test('input -> dynamic item', async ({ mount, page }) => {\n await mount(`\n <ix-select editable></ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('I');\n await page.waitForSelector('.add-item');\n\n await page.keyboard.down('ArrowDown');\n const itemOne = await page.locator('.add-item');\n await expect(itemOne).toBeFocused();\n });\n\n test('input -> add item', async ({ mount, page }) => {\n await mount(`\n <ix-select editable></ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('I');\n await page.keyboard.down('Enter');\n await page.waitForSelector('.checkmark');\n\n await page.keyboard.down('ArrowDown');\n const addItem = await page.locator('ix-dropdown-item');\n await expect(addItem).toBeFocused();\n });\n\n test('slot -> dynamic item', async ({ mount, page }) => {\n await mount(`\n <ix-select editable>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('I');\n await page.keyboard.down('Enter');\n await page.waitForSelector('.checkmark');\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const itemThree = page.locator('ix-select-item').last();\n await expect(itemThree).toBeFocused();\n });\n\n test('slot -> add item', async ({ mount, page }) => {\n await mount(`\n <ix-select editable>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('I');\n await page.waitForSelector('.add-item');\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const addItem = page.locator('.add-item');\n await expect(addItem).toBeFocused();\n });\n\n test('dynamic item -> add item', async ({ mount, page }) => {\n await mount(`\n <ix-select editable>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n </ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('Item 2');\n await page.keyboard.down('Enter');\n await page.waitForSelector('.checkmark');\n\n await page.locator('input').clear();\n await page.keyboard.type('I');\n await page.waitForSelector('.add-item');\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const addItem = page.locator('.add-item');\n await expect(addItem).toBeFocused();\n });\n\n test('wrap - dynamic item -> slot', async ({ mount, page }) => {\n await mount(`\n <ix-select editable>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n </ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('Item 2');\n await page.keyboard.press('Enter');\n await page.locator('input').clear();\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const itemTwo = page.locator('ix-select-item').nth(1);\n await expect(itemTwo).toBeFocused();\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const itemOne = page.locator('ix-select-item').first();\n await expect(itemOne).toBeFocused();\n });\n\n test('wrap - add item -> slot', async ({ mount, page }) => {\n await mount(`\n <ix-select editable>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n </ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('I');\n await page.waitForSelector('.add-item');\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const addItem = page.locator('.add-item');\n await expect(addItem).toBeFocused();\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const itemOne = page.locator('ix-select-item').first();\n await expect(itemOne).toBeFocused();\n });\n\n test('wrap - add item -> dynamic item', async ({ mount, page }) => {\n await mount(`\n <ix-select editable></ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('Item 1');\n await page.keyboard.press('Enter');\n await page.waitForSelector('.checkmark');\n\n await page.locator('input').clear();\n await page.keyboard.type('I');\n await page.waitForSelector('.add-item');\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const addItem = page.locator('.add-item');\n await expect(addItem).toBeFocused();\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const itemOne = page.locator('ix-select-item');\n await expect(itemOne).toBeFocused();\n });\n });\n\n test.describe('ArrowUp', () => {\n test('dynamic item -> slot', async ({ mount, page }) => {\n await mount(`\n <ix-select editable>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n </ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('I');\n await page.keyboard.down('Enter');\n await page.waitForSelector('.checkmark');\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const itemTwo = page.locator('ix-select-item').last();\n await expect(itemTwo).toBeFocused();\n\n await page.keyboard.down('ArrowUp');\n await page.waitForTimeout(100);\n\n const itemOne = page.locator('ix-select-item').first();\n await expect(itemOne).toBeFocused();\n });\n\n test('add item -> slot', async ({ mount, page }) => {\n await mount(`\n <ix-select editable>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n </ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('I');\n await page.waitForSelector('.add-item');\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const addItem = page.locator('.add-item');\n await expect(addItem).toBeFocused();\n\n await page.keyboard.down('ArrowUp');\n await page.waitForTimeout(100);\n\n const itemOne = page.locator('ix-select-item');\n await expect(itemOne).toBeFocused();\n });\n\n test('add item -> dynamic item', async ({ mount, page }) => {\n await mount(`\n <ix-select editable></ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('Item 1');\n await page.keyboard.press('Enter');\n await page.waitForSelector('.checkmark');\n\n await page.locator('input').clear();\n await page.keyboard.type('I');\n await page.waitForSelector('.add-item');\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const addItem = page.locator('.add-item');\n await expect(addItem).toBeFocused();\n\n await page.keyboard.down('ArrowUp');\n await page.waitForTimeout(100);\n\n const itemOne = page.locator('ix-select-item');\n await expect(itemOne).toBeFocused();\n });\n\n test('wrap - slot -> dynamic item', async ({ mount, page }) => {\n await mount(`\n <ix-select editable>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n </ix-select>\n `);\n\n await page.locator('input').focus();\n await page.keyboard.type('Item 2');\n await page.keyboard.press('Enter');\n await page.locator('input').clear();\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowUp');\n await page.waitForTimeout(100);\n\n const itemTwo = page.locator('ix-select-item').last();\n await expect(itemTwo).toBeFocused();\n });\n\n test('wrap - slot -> add-item', async ({ mount, page }) => {\n await mount(`\n <ix-select editable>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n </ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('I');\n await page.waitForSelector('.add-item');\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowUp');\n await page.waitForTimeout(100);\n\n const addItem = page.locator('.add-item');\n await expect(addItem).toBeFocused();\n });\n\n test('wrap - dynamic item -> add item', async ({ mount, page }) => {\n await mount(`\n <ix-select editable></ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('Item 1');\n await page.keyboard.press('Enter');\n await page.waitForSelector('.checkmark');\n\n await page.locator('input').clear();\n await page.keyboard.type('I');\n await page.waitForSelector('.add-item');\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowUp');\n await page.waitForTimeout(100);\n\n const addItem = page.locator('.add-item');\n await expect(addItem).toBeFocused();\n });\n });\n});\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"events.js","sourceRoot":"","sources":["../../../src/components/select-item/events.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,OAAO,4BAA6B,SAAQ,WAGhD;IACA,YAAY,MAA8C;QACxD,KAAK,CAAC,4BAA4B,EAAE;YAClC,OAAO,EAAE,IAAI;YACb,MAAM;SACP,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nexport class IxSelectItemLabelChangeEvent extends CustomEvent<{\n oldValue: string;\n newValue: string;\n}> {\n constructor(detail: { oldValue: string; newValue: string }) {\n super('ix-select-item:labelChange', {\n bubbles: true,\n detail,\n });\n }\n}\n"]}
|
|
@@ -15,6 +15,10 @@ export class SelectItem {
|
|
|
15
15
|
this.selected = false;
|
|
16
16
|
this.hover = false;
|
|
17
17
|
}
|
|
18
|
+
/** @internal */
|
|
19
|
+
async getDropdownItemElement() {
|
|
20
|
+
return this.dropdownItem;
|
|
21
|
+
}
|
|
18
22
|
/**
|
|
19
23
|
* @internal
|
|
20
24
|
* @param event
|
|
@@ -24,6 +28,9 @@ export class SelectItem {
|
|
|
24
28
|
event === null || event === void 0 ? void 0 : event.stopPropagation();
|
|
25
29
|
this.itemClick.emit(this.value);
|
|
26
30
|
}
|
|
31
|
+
get dropdownItem() {
|
|
32
|
+
return this.hostElement.querySelector('ix-dropdown-item');
|
|
33
|
+
}
|
|
27
34
|
componentDidRender() {
|
|
28
35
|
if (this.value === undefined || this.value === null) {
|
|
29
36
|
throw Error('ix-select-item must have a `value` property');
|
|
@@ -36,7 +43,7 @@ export class SelectItem {
|
|
|
36
43
|
}));
|
|
37
44
|
}
|
|
38
45
|
render() {
|
|
39
|
-
return (h(Host, { key: '
|
|
46
|
+
return (h(Host, { key: '89b4b9f70f1157e728d82d981566d3528c96c2da' }, h("ix-dropdown-item", { key: '3d480e6d1d0a0969f50bf6925101819c8cae9a67', class: {
|
|
40
47
|
'select-item-checked': this.selected,
|
|
41
48
|
}, checked: this.selected, label: this.label ? this.label : this.value, onItemClick: (e) => this.onItemClick(e) })));
|
|
42
49
|
}
|
|
@@ -152,6 +159,30 @@ export class SelectItem {
|
|
|
152
159
|
}
|
|
153
160
|
static get methods() {
|
|
154
161
|
return {
|
|
162
|
+
"getDropdownItemElement": {
|
|
163
|
+
"complexType": {
|
|
164
|
+
"signature": "() => Promise<HTMLIxDropdownItemElement>",
|
|
165
|
+
"parameters": [],
|
|
166
|
+
"references": {
|
|
167
|
+
"Promise": {
|
|
168
|
+
"location": "global",
|
|
169
|
+
"id": "global::Promise"
|
|
170
|
+
},
|
|
171
|
+
"HTMLIxDropdownItemElement": {
|
|
172
|
+
"location": "global",
|
|
173
|
+
"id": "global::HTMLIxDropdownItemElement"
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
"return": "Promise<HTMLIxDropdownItemElement>"
|
|
177
|
+
},
|
|
178
|
+
"docs": {
|
|
179
|
+
"text": "",
|
|
180
|
+
"tags": [{
|
|
181
|
+
"name": "internal",
|
|
182
|
+
"text": undefined
|
|
183
|
+
}]
|
|
184
|
+
}
|
|
185
|
+
},
|
|
155
186
|
"onItemClick": {
|
|
156
187
|
"complexType": {
|
|
157
188
|
"signature": "(event?: CustomEvent<HTMLIxDropdownItemElement>) => Promise<void>",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select-item.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"select-item.js","sourceRoot":"","sources":["../../../src/components/select-item/select-item.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACL,SAAS,EACT,OAAO,EACP,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,GACN,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAC;AAQxD,MAAM,OAAO,UAAU;;;;wBAmBF,KAAK;qBAKR,KAAK;;IAOrB,gBAAgB;IAEhB,KAAK,CAAC,sBAAsB;QAC1B,OAAO,IAAI,CAAC,YAAY,CAAC;IAC3B,CAAC;IAED;;;OAGG;IAEH,KAAK,CAAC,WAAW,CAAC,KAA8C;QAC9D,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,cAAc,EAAE,CAAC;QACxB,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,e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MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n Watch,\n} from '@stencil/core';\nimport { IxSelectItemLabelChangeEvent } from './events';\nimport { DropdownItemWrapper } from '../dropdown/dropdown-controller';\n\n@Component({\n tag: 'ix-select-item',\n styleUrl: 'select-item.scss',\n shadow: true,\n})\nexport class SelectItem implements DropdownItemWrapper {\n @Element() hostElement: HTMLIxSelectItemElement;\n\n /**\n * Displayed name of the item\n */\n @Prop({ reflect: true }) label: string;\n\n /**\n * The value of the item.\n * Important: The select component uses string values to handle selection and will call toString() on this value.\n * Therefor a string should be passed to value to prevent unexpected behavior.\n * @deprecated will be changed to type string with next major release (3.0.0)\n */\n @Prop({ reflect: true }) value!: any;\n\n /**\n * Flag indicating whether the item is selected\n */\n @Prop() selected = false;\n\n /**\n * @internal\n */\n @Prop() hover = false;\n\n /**\n * Item clicked\n */\n @Event() itemClick: EventEmitter<string>;\n\n /** @internal */\n @Method()\n async getDropdownItemElement(): Promise<HTMLIxDropdownItemElement> {\n return this.dropdownItem;\n }\n\n /**\n * @internal\n * @param event\n */\n @Method()\n async onItemClick(event?: CustomEvent<HTMLIxDropdownItemElement>) {\n event?.preventDefault();\n event?.stopPropagation();\n\n this.itemClick.emit(this.value);\n }\n\n get dropdownItem() {\n return this.hostElement.querySelector('ix-dropdown-item');\n }\n\n componentDidRender() {\n if (this.value === undefined || this.value === null) {\n throw Error('ix-select-item must have a `value` property');\n }\n }\n\n @Watch('label')\n labelChange(newValue: string, oldValue: string) {\n this.hostElement.dispatchEvent(\n new IxSelectItemLabelChangeEvent({\n newValue: newValue,\n oldValue: oldValue,\n })\n );\n }\n\n render() {\n return (\n <Host>\n <ix-dropdown-item\n class={{\n 'select-item-checked': this.selected,\n }}\n checked={this.selected}\n label={this.label ? this.label : this.value}\n onItemClick={(e) => this.onItemClick(e)}\n ></ix-dropdown-item>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select-item.spec.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"select-item.spec.js","sourceRoot":"","sources":["../../../../src/components/select-item/test/select-item.spec.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;IAC3B,EAAE,CAAC,4CAA4C,EAAE,CAAC,IAAI,EAAE,EAAE;QACxD,WAAW,CAAC;YACV,UAAU,EAAE,CAAC,UAAU,CAAC;YACxB,IAAI,EAAE,mCAAmC;SAC1C,CAAC,CAAC,KAAK,CAAC,CAAC,CAAQ,EAAE,EAAE;YACpB,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,6CAA6C,CAAC,CAAC;YACtE,IAAI,EAAE,CAAC;QACT,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,oDAAoD,EAAE,KAAK,IAAI,EAAE;QAClE,IAAI,QAAQ,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;QAEzB,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;YAC7B,UAAU,EAAE,CAAC,YAAY,EAAE,UAAU,CAAC;YACtC,IAAI,EAAE,6DAA6D;SACpE,CAAC,CAAC;QAEH,IAAI,CAAC,GAAG;aACL,aAAa,CAAC,gBAAgB,CAAC;aAC/B,gBAAgB,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;QAE3C,MAAM,YAAY,GAAG,IAAI,CAAC,GAAG;aAC1B,aAAa,CAAC,gBAAgB,CAAC;aAC/B,UAAU,CAAC,aAAa,CAAC,kBAAkB,CAAgB,CAAC;QAC/D,YAAY,CAAC,UAAU,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC,KAAK,EAAE,CAAC;QAExD,MAAM,CAAC,QAAQ,CAAC,CAAC,gBAAgB,EAAE,CAAC;IACtC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { newSpecPage } from '@stencil/core/testing';\nimport { DropdownItem } from '../../dropdown-item/dropdown-item';\nimport { SelectItem } from '../select-item';\n\ndescribe('select-item', () => {\n it('should throw exception if value is missing', (done) => {\n newSpecPage({\n components: [SelectItem],\n html: '<ix-select-item></ix-select-item>',\n }).catch((e: Error) => {\n expect(e.message).toBe('ix-select-item must have a `value` property');\n done();\n });\n });\n\n it('should pass through click event from dropdown item', async () => {\n let eventSpy = jest.fn();\n\n const page = await newSpecPage({\n components: [DropdownItem, SelectItem],\n html: '<ix-select-item value=\"test\" label=\"Test\"></ix-select-item>',\n });\n\n page.doc\n .querySelector('ix-select-item')\n .addEventListener('itemClick', eventSpy);\n\n const dropdownItem = page.doc\n .querySelector('ix-select-item')\n .shadowRoot.querySelector('ix-dropdown-item') as HTMLElement;\n dropdownItem.shadowRoot.querySelector('button').click();\n\n expect(eventSpy).toHaveBeenCalled();\n });\n});\n"]}
|