@siemens/ix 0.0.0-pr-1974-20250627114851 → 0.0.0-pr-1974-20250627142646
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/custom-elements.d.ts +11 -0
- package/components/index.d.ts +33 -0
- package/components/index.js +122 -0
- package/components/index.js.map +1 -0
- package/components/ix-action-card.d.ts +11 -0
- package/components/ix-action-card.js +72 -0
- package/components/ix-action-card.js.map +1 -0
- package/components/ix-application-header.d.ts +11 -0
- package/components/ix-application-header.js +9 -0
- package/components/ix-application-header.js.map +1 -0
- package/components/ix-application-sidebar.d.ts +11 -0
- package/components/ix-application-sidebar.js +64 -0
- package/components/ix-application-sidebar.js.map +1 -0
- package/components/ix-application-switch-modal.d.ts +11 -0
- package/components/ix-application-switch-modal.js +106 -0
- package/components/ix-application-switch-modal.js.map +1 -0
- package/components/ix-application.d.ts +11 -0
- package/components/ix-application.js +148 -0
- package/components/ix-application.js.map +1 -0
- package/components/ix-avatar.d.ts +11 -0
- package/components/ix-avatar.js +9 -0
- package/components/ix-avatar.js.map +1 -0
- package/components/ix-basic-navigation.d.ts +11 -0
- package/components/ix-basic-navigation.js +154 -0
- package/components/ix-basic-navigation.js.map +1 -0
- package/components/ix-blind.d.ts +11 -0
- package/components/ix-blind.js +130 -0
- package/components/ix-blind.js.map +1 -0
- package/components/ix-breadcrumb-item.d.ts +11 -0
- package/components/ix-breadcrumb-item.js +9 -0
- package/components/ix-breadcrumb-item.js.map +1 -0
- package/components/ix-breadcrumb.d.ts +11 -0
- package/components/ix-breadcrumb.js +169 -0
- package/components/ix-breadcrumb.js.map +1 -0
- package/components/ix-button.d.ts +11 -0
- package/components/ix-button.js +9 -0
- package/components/ix-button.js.map +1 -0
- package/components/ix-card-accordion.d.ts +11 -0
- package/components/ix-card-accordion.js +9 -0
- package/components/ix-card-accordion.js.map +1 -0
- package/components/ix-card-content.d.ts +11 -0
- package/components/ix-card-content.js +9 -0
- package/components/ix-card-content.js.map +1 -0
- package/components/ix-card-list.d.ts +11 -0
- package/components/ix-card-list.js +256 -0
- package/components/ix-card-list.js.map +1 -0
- package/components/ix-card-title.d.ts +11 -0
- package/components/ix-card-title.js +9 -0
- package/components/ix-card-title.js.map +1 -0
- package/components/ix-card.d.ts +11 -0
- package/components/ix-card.js +9 -0
- package/components/ix-card.js.map +1 -0
- package/components/ix-category-filter.d.ts +11 -0
- package/components/ix-category-filter.js +600 -0
- package/components/ix-category-filter.js.map +1 -0
- package/components/ix-checkbox-group.d.ts +11 -0
- package/components/ix-checkbox-group.js +158 -0
- package/components/ix-checkbox-group.js.map +1 -0
- package/components/ix-checkbox.d.ts +11 -0
- package/components/ix-checkbox.js +163 -0
- package/components/ix-checkbox.js.map +1 -0
- package/components/ix-chip.d.ts +11 -0
- package/components/ix-chip.js +154 -0
- package/components/ix-chip.js.map +1 -0
- package/components/ix-col.d.ts +11 -0
- package/components/ix-col.js +9 -0
- package/components/ix-col.js.map +1 -0
- package/components/ix-content-header.d.ts +11 -0
- package/components/ix-content-header.js +73 -0
- package/components/ix-content-header.js.map +1 -0
- package/components/ix-content.d.ts +11 -0
- package/components/ix-content.js +49 -0
- package/components/ix-content.js.map +1 -0
- package/components/ix-css-grid-item.d.ts +11 -0
- package/components/ix-css-grid-item.js +40 -0
- package/components/ix-css-grid-item.js.map +1 -0
- package/components/ix-css-grid.d.ts +11 -0
- package/components/ix-css-grid.js +117 -0
- package/components/ix-css-grid.js.map +1 -0
- package/components/ix-custom-field.d.ts +11 -0
- package/components/ix-custom-field.js +112 -0
- package/components/ix-custom-field.js.map +1 -0
- package/components/ix-date-dropdown.d.ts +11 -0
- package/components/ix-date-dropdown.js +368 -0
- package/components/ix-date-dropdown.js.map +1 -0
- package/components/ix-date-input.d.ts +11 -0
- package/components/ix-date-input.js +393 -0
- package/components/ix-date-input.js.map +1 -0
- package/components/ix-date-picker.d.ts +11 -0
- package/components/ix-date-picker.js +9 -0
- package/components/ix-date-picker.js.map +1 -0
- package/components/ix-date-time-card.d.ts +11 -0
- package/components/ix-date-time-card.js +9 -0
- package/components/ix-date-time-card.js.map +1 -0
- package/components/ix-datetime-picker.d.ts +11 -0
- package/components/ix-datetime-picker.js +204 -0
- package/components/ix-datetime-picker.js.map +1 -0
- package/components/ix-divider.d.ts +11 -0
- package/components/ix-divider.js +9 -0
- package/components/ix-divider.js.map +1 -0
- package/components/ix-drawer.d.ts +11 -0
- package/components/ix-drawer.js +200 -0
- package/components/ix-drawer.js.map +1 -0
- package/components/ix-dropdown-button.d.ts +11 -0
- package/components/ix-dropdown-button.js +106 -0
- package/components/ix-dropdown-button.js.map +1 -0
- package/components/ix-dropdown-header.d.ts +11 -0
- package/components/ix-dropdown-header.js +44 -0
- package/components/ix-dropdown-header.js.map +1 -0
- package/components/ix-dropdown-item.d.ts +11 -0
- package/components/ix-dropdown-item.js +9 -0
- package/components/ix-dropdown-item.js.map +1 -0
- package/components/ix-dropdown-quick-actions.d.ts +11 -0
- package/components/ix-dropdown-quick-actions.js +36 -0
- package/components/ix-dropdown-quick-actions.js.map +1 -0
- package/components/ix-dropdown.d.ts +11 -0
- package/components/ix-dropdown.js +9 -0
- package/components/ix-dropdown.js.map +1 -0
- package/components/ix-empty-state.d.ts +11 -0
- package/components/ix-empty-state.js +65 -0
- package/components/ix-empty-state.js.map +1 -0
- package/components/ix-event-list-item.d.ts +11 -0
- package/components/ix-event-list-item.js +72 -0
- package/components/ix-event-list-item.js.map +1 -0
- package/components/ix-event-list.d.ts +11 -0
- package/components/ix-event-list.js +173 -0
- package/components/ix-event-list.js.map +1 -0
- package/components/ix-expanding-search.d.ts +11 -0
- package/components/ix-expanding-search.js +145 -0
- package/components/ix-expanding-search.js.map +1 -0
- package/components/ix-field-label.d.ts +11 -0
- package/components/ix-field-label.js +9 -0
- package/components/ix-field-label.js.map +1 -0
- package/components/ix-field-wrapper.d.ts +11 -0
- package/components/ix-field-wrapper.js +9 -0
- package/components/ix-field-wrapper.js.map +1 -0
- package/components/ix-filter-chip.d.ts +11 -0
- package/components/ix-filter-chip.js +9 -0
- package/components/ix-filter-chip.js.map +1 -0
- package/components/ix-flip-tile-content.d.ts +11 -0
- package/components/ix-flip-tile-content.js +44 -0
- package/components/ix-flip-tile-content.js.map +1 -0
- package/components/ix-flip-tile.d.ts +11 -0
- package/components/ix-flip-tile.js +153 -0
- package/components/ix-flip-tile.js.map +1 -0
- package/components/ix-group-context-menu.d.ts +11 -0
- package/components/ix-group-context-menu.js +9 -0
- package/components/ix-group-context-menu.js.map +1 -0
- package/components/ix-group-item.d.ts +11 -0
- package/components/ix-group-item.js +9 -0
- package/components/ix-group-item.js.map +1 -0
- package/components/ix-group.d.ts +11 -0
- package/components/ix-group.js +221 -0
- package/components/ix-group.js.map +1 -0
- package/components/ix-helper-text.d.ts +11 -0
- package/components/ix-helper-text.js +95 -0
- package/components/ix-helper-text.js.map +1 -0
- package/components/ix-icon-button.d.ts +11 -0
- package/components/ix-icon-button.js +9 -0
- package/components/ix-icon-button.js.map +1 -0
- package/components/ix-icon-toggle-button.d.ts +11 -0
- package/components/ix-icon-toggle-button.js +149 -0
- package/components/ix-icon-toggle-button.js.map +1 -0
- package/components/ix-input-group.d.ts +11 -0
- package/components/ix-input-group.js +152 -0
- package/components/ix-input-group.js.map +1 -0
- package/components/ix-input.d.ts +11 -0
- package/components/ix-input.js +248 -0
- package/components/ix-input.js.map +1 -0
- package/components/ix-key-value-list.d.ts +11 -0
- package/components/ix-key-value-list.js +42 -0
- package/components/ix-key-value-list.js.map +1 -0
- package/components/ix-key-value.d.ts +11 -0
- package/components/ix-key-value.js +48 -0
- package/components/ix-key-value.js.map +1 -0
- package/components/ix-kpi.d.ts +11 -0
- package/components/ix-kpi.js +74 -0
- package/components/ix-kpi.js.map +1 -0
- package/components/ix-layout-auto.d.ts +11 -0
- package/components/ix-layout-auto.js +113 -0
- package/components/ix-layout-auto.js.map +1 -0
- package/components/ix-layout-grid.d.ts +11 -0
- package/components/ix-layout-grid.js +9 -0
- package/components/ix-layout-grid.js.map +1 -0
- package/components/ix-link-button.d.ts +11 -0
- package/components/ix-link-button.js +57 -0
- package/components/ix-link-button.js.map +1 -0
- package/components/ix-map-navigation-overlay.d.ts +11 -0
- package/components/ix-map-navigation-overlay.js +9 -0
- package/components/ix-map-navigation-overlay.js.map +1 -0
- package/components/ix-map-navigation.d.ts +11 -0
- package/components/ix-map-navigation.js +240 -0
- package/components/ix-map-navigation.js.map +1 -0
- package/components/ix-menu-about-item.d.ts +11 -0
- package/components/ix-menu-about-item.js +51 -0
- package/components/ix-menu-about-item.js.map +1 -0
- package/components/ix-menu-about-news.d.ts +11 -0
- package/components/ix-menu-about-news.js +93 -0
- package/components/ix-menu-about-news.js.map +1 -0
- package/components/ix-menu-about.d.ts +11 -0
- package/components/ix-menu-about.js +89 -0
- package/components/ix-menu-about.js.map +1 -0
- package/components/ix-menu-avatar-item.d.ts +11 -0
- package/components/ix-menu-avatar-item.js +9 -0
- package/components/ix-menu-avatar-item.js.map +1 -0
- package/components/ix-menu-avatar.d.ts +11 -0
- package/components/ix-menu-avatar.js +115 -0
- package/components/ix-menu-avatar.js.map +1 -0
- package/components/ix-menu-category.d.ts +11 -0
- package/components/ix-menu-category.js +284 -0
- package/components/ix-menu-category.js.map +1 -0
- package/components/ix-menu-expand-icon.d.ts +11 -0
- package/components/ix-menu-expand-icon.js +9 -0
- package/components/ix-menu-expand-icon.js.map +1 -0
- package/components/ix-menu-item.d.ts +11 -0
- package/components/ix-menu-item.js +9 -0
- package/components/ix-menu-item.js.map +1 -0
- package/components/ix-menu-settings-item.d.ts +11 -0
- package/components/ix-menu-settings-item.js +51 -0
- package/components/ix-menu-settings-item.js.map +1 -0
- package/components/ix-menu-settings.d.ts +11 -0
- package/components/ix-menu-settings.js +9 -0
- package/components/ix-menu-settings.js.map +1 -0
- package/components/ix-menu.d.ts +11 -0
- package/components/ix-menu.js +590 -0
- package/components/ix-menu.js.map +1 -0
- package/components/ix-message-bar.d.ts +11 -0
- package/components/ix-message-bar.js +103 -0
- package/components/ix-message-bar.js.map +1 -0
- package/components/ix-modal-content.d.ts +11 -0
- package/components/ix-modal-content.js +9 -0
- package/components/ix-modal-content.js.map +1 -0
- package/components/ix-modal-footer.d.ts +11 -0
- package/components/ix-modal-footer.js +36 -0
- package/components/ix-modal-footer.js.map +1 -0
- package/components/ix-modal-header.d.ts +11 -0
- package/components/ix-modal-header.js +9 -0
- package/components/ix-modal-header.js.map +1 -0
- package/components/ix-modal-loading.d.ts +11 -0
- package/components/ix-modal-loading.js +42 -0
- package/components/ix-modal-loading.js.map +1 -0
- package/components/ix-modal.d.ts +11 -0
- package/components/ix-modal.js +241 -0
- package/components/ix-modal.js.map +1 -0
- package/components/ix-number-input.d.ts +11 -0
- package/components/ix-number-input.js +241 -0
- package/components/ix-number-input.js.map +1 -0
- package/components/ix-pagination.d.ts +11 -0
- package/components/ix-pagination.js +261 -0
- package/components/ix-pagination.js.map +1 -0
- package/components/ix-pane-layout.d.ts +11 -0
- package/components/ix-pane-layout.js +311 -0
- package/components/ix-pane-layout.js.map +1 -0
- package/components/ix-pane.d.ts +11 -0
- package/components/ix-pane.js +568 -0
- package/components/ix-pane.js.map +1 -0
- package/components/ix-pill.d.ts +11 -0
- package/components/ix-pill.js +127 -0
- package/components/ix-pill.js.map +1 -0
- package/components/ix-progress-indicator.d.ts +11 -0
- package/components/ix-progress-indicator.js +193 -0
- package/components/ix-progress-indicator.js.map +1 -0
- package/components/ix-push-card.d.ts +11 -0
- package/components/ix-push-card.js +82 -0
- package/components/ix-push-card.js.map +1 -0
- package/components/ix-radio-group.d.ts +11 -0
- package/components/ix-radio-group.js +195 -0
- package/components/ix-radio-group.js.map +1 -0
- package/components/ix-radio.d.ts +11 -0
- package/components/ix-radio.js +145 -0
- package/components/ix-radio.js.map +1 -0
- package/components/ix-row.d.ts +11 -0
- package/components/ix-row.js +9 -0
- package/components/ix-row.js.map +1 -0
- package/components/ix-select-item.d.ts +11 -0
- package/components/ix-select-item.js +9 -0
- package/components/ix-select-item.js.map +1 -0
- package/components/ix-select.d.ts +11 -0
- package/components/ix-select.js +9 -0
- package/components/ix-select.js.map +1 -0
- package/components/ix-slider.d.ts +11 -0
- package/components/ix-slider.js +255 -0
- package/components/ix-slider.js.map +1 -0
- package/components/ix-spinner.d.ts +11 -0
- package/components/ix-spinner.js +9 -0
- package/components/ix-spinner.js.map +1 -0
- package/components/ix-split-button.d.ts +11 -0
- package/components/ix-split-button.js +117 -0
- package/components/ix-split-button.js.map +1 -0
- package/components/ix-tab-item.d.ts +11 -0
- package/components/ix-tab-item.js +9 -0
- package/components/ix-tab-item.js.map +1 -0
- package/components/ix-tabs.d.ts +11 -0
- package/components/ix-tabs.js +9 -0
- package/components/ix-tabs.js.map +1 -0
- package/components/ix-textarea.d.ts +11 -0
- package/components/ix-textarea.js +192 -0
- package/components/ix-textarea.js.map +1 -0
- package/components/ix-tile.d.ts +11 -0
- package/components/ix-tile.js +63 -0
- package/components/ix-tile.js.map +1 -0
- package/components/ix-time-input.d.ts +11 -0
- package/components/ix-time-input.js +442 -0
- package/components/ix-time-input.js.map +1 -0
- package/components/ix-time-picker.d.ts +11 -0
- package/components/ix-time-picker.js +9 -0
- package/components/ix-time-picker.js.map +1 -0
- package/components/ix-toast-container.d.ts +11 -0
- package/components/ix-toast-container.js +143 -0
- package/components/ix-toast-container.js.map +1 -0
- package/components/ix-toast.d.ts +11 -0
- package/components/ix-toast.js +9 -0
- package/components/ix-toast.js.map +1 -0
- package/components/ix-toggle-button.d.ts +11 -0
- package/components/ix-toggle-button.js +128 -0
- package/components/ix-toggle-button.js.map +1 -0
- package/components/ix-toggle.d.ts +11 -0
- package/components/ix-toggle.js +188 -0
- package/components/ix-toggle.js.map +1 -0
- package/components/ix-tooltip.d.ts +11 -0
- package/components/ix-tooltip.js +9 -0
- package/components/ix-tooltip.js.map +1 -0
- package/components/ix-tree-item.d.ts +11 -0
- package/components/ix-tree-item.js +9 -0
- package/components/ix-tree-item.js.map +1 -0
- package/components/ix-tree.d.ts +11 -0
- package/components/ix-tree.js +610 -0
- package/components/ix-tree.js.map +1 -0
- package/components/ix-typography.d.ts +11 -0
- package/components/ix-typography.js +9 -0
- package/components/ix-typography.js.map +1 -0
- package/components/ix-upload.d.ts +11 -0
- package/components/ix-upload.js +234 -0
- package/components/ix-upload.js.map +1 -0
- package/components/ix-validation-tooltip.d.ts +11 -0
- package/components/ix-validation-tooltip.js +182 -0
- package/components/ix-validation-tooltip.js.map +1 -0
- package/components/ix-workflow-step.d.ts +11 -0
- package/components/ix-workflow-step.js +147 -0
- package/components/ix-workflow-step.js.map +1 -0
- package/components/ix-workflow-steps.d.ts +11 -0
- package/components/ix-workflow-steps.js +112 -0
- package/components/ix-workflow-steps.js.map +1 -0
- package/components/p--2LOMK-5.js +105 -0
- package/components/p--2LOMK-5.js.map +1 -0
- package/components/p-5uA5ifmT.js +72 -0
- package/components/p-5uA5ifmT.js.map +1 -0
- package/components/p-9dLpp1OQ.js +71 -0
- package/components/p-9dLpp1OQ.js.map +1 -0
- package/components/p-B1Gzt08S.js +51 -0
- package/components/p-B1Gzt08S.js.map +1 -0
- package/components/p-B3duqvjW.js +33 -0
- package/components/p-B3duqvjW.js.map +1 -0
- package/components/p-B6e7P4xT.js +42 -0
- package/components/p-B6e7P4xT.js.map +1 -0
- package/components/p-BGzrnl_l.js +21 -0
- package/components/p-BGzrnl_l.js.map +1 -0
- package/components/p-BH3f5fa3.js +37 -0
- package/components/p-BH3f5fa3.js.map +1 -0
- package/components/p-BJcX2_-N.js +110 -0
- package/components/p-BJcX2_-N.js.map +1 -0
- package/components/p-BMU8AlMD.js +107 -0
- package/components/p-BMU8AlMD.js.map +1 -0
- package/components/p-BNu7ac9R.js +79 -0
- package/components/p-BNu7ac9R.js.map +1 -0
- package/components/p-BP-8cvOJ.js +90 -0
- package/components/p-BP-8cvOJ.js.map +1 -0
- package/components/p-BQ6999e5.js +22 -0
- package/components/p-BQ6999e5.js.map +1 -0
- package/components/p-BXjBChze.js +130 -0
- package/components/p-BXjBChze.js.map +1 -0
- package/components/p-Bb7pDeaQ.js +144 -0
- package/components/p-Bb7pDeaQ.js.map +1 -0
- package/components/p-BcGAKMQ_.js +76 -0
- package/components/p-BcGAKMQ_.js.map +1 -0
- package/components/p-BdCnOrqW.js +47 -0
- package/components/p-BdCnOrqW.js.map +1 -0
- package/components/p-BedSAVZh.js +90 -0
- package/components/p-BedSAVZh.js.map +1 -0
- package/components/p-BhLbU_vK.js +129 -0
- package/components/p-BhLbU_vK.js.map +1 -0
- package/components/p-Bi1VyG64.js +46 -0
- package/components/p-Bi1VyG64.js.map +1 -0
- package/components/p-BkWbk29R.js +75 -0
- package/components/p-BkWbk29R.js.map +1 -0
- package/components/p-BmmgJGNd.js +64 -0
- package/components/p-BmmgJGNd.js.map +1 -0
- package/components/p-Bu-j8wxy.js +162 -0
- package/components/p-Bu-j8wxy.js.map +1 -0
- package/components/p-BuJ6BWIi.js +2042 -0
- package/components/p-BuJ6BWIi.js.map +1 -0
- package/components/p-Bvsx56zn.js +203 -0
- package/components/p-Bvsx56zn.js.map +1 -0
- package/components/p-BygLxZIM.js +54 -0
- package/components/p-BygLxZIM.js.map +1 -0
- package/components/p-Bzyt4nTL.js +110 -0
- package/components/p-Bzyt4nTL.js.map +1 -0
- package/components/p-C6o-AByw.js +33 -0
- package/components/p-C6o-AByw.js.map +1 -0
- package/components/p-CAqtPJ4-.js +1786 -0
- package/components/p-CAqtPJ4-.js.map +1 -0
- package/components/p-CGwHQeMX.js +54 -0
- package/components/p-CGwHQeMX.js.map +1 -0
- package/components/p-CKkTXQiw.js +164 -0
- package/components/p-CKkTXQiw.js.map +1 -0
- package/components/p-CX81WQtk.js +14 -0
- package/components/p-CX81WQtk.js.map +1 -0
- package/components/p-Cb-eBcUF.js +61 -0
- package/components/p-Cb-eBcUF.js.map +1 -0
- package/components/p-Cp5J1RZq.js +765 -0
- package/components/p-Cp5J1RZq.js.map +1 -0
- package/components/p-Cpxz1Kcs.js +19 -0
- package/components/p-Cpxz1Kcs.js.map +1 -0
- package/components/p-Cs8DEpjh.js +611 -0
- package/components/p-Cs8DEpjh.js.map +1 -0
- package/components/p-Cut5OrRw.js +461 -0
- package/components/p-Cut5OrRw.js.map +1 -0
- package/components/p-CvvOe8xV.js +151 -0
- package/components/p-CvvOe8xV.js.map +1 -0
- package/components/p-CyFFBc_G.js +100 -0
- package/components/p-CyFFBc_G.js.map +1 -0
- package/components/p-D3Aowo70.js +113 -0
- package/components/p-D3Aowo70.js.map +1 -0
- package/components/p-D3K9vmFp.js +157 -0
- package/components/p-D3K9vmFp.js.map +1 -0
- package/components/p-D6vSVaHq.js +26 -0
- package/components/p-D6vSVaHq.js.map +1 -0
- package/components/p-D9LaIICQ.js +118 -0
- package/components/p-D9LaIICQ.js.map +1 -0
- package/components/p-DCx3-1oU.js +310 -0
- package/components/p-DCx3-1oU.js.map +1 -0
- package/components/p-DDHkNPby.js +79 -0
- package/components/p-DDHkNPby.js.map +1 -0
- package/components/p-DJ7U7oUq.js +89 -0
- package/components/p-DJ7U7oUq.js.map +1 -0
- package/components/p-DMlmNp-B.js +33 -0
- package/components/p-DMlmNp-B.js.map +1 -0
- package/components/p-DWO4uklL.js +146 -0
- package/components/p-DWO4uklL.js.map +1 -0
- package/components/p-DaztMgDr.js +757 -0
- package/components/p-DaztMgDr.js.map +1 -0
- package/components/p-DbR-LZrk.js +33 -0
- package/components/p-DbR-LZrk.js.map +1 -0
- package/components/p-DfbCO042.js +207 -0
- package/components/p-DfbCO042.js.map +1 -0
- package/components/p-DkGdSI6e.js +103 -0
- package/components/p-DkGdSI6e.js.map +1 -0
- package/components/p-DojBQCbP.js +55 -0
- package/components/p-DojBQCbP.js.map +1 -0
- package/components/p-Dp15M30K.js +20 -0
- package/components/p-Dp15M30K.js.map +1 -0
- package/components/p-Dp4RJcgZ.js +125 -0
- package/components/p-Dp4RJcgZ.js.map +1 -0
- package/components/p-DyHdZRT0.js +359 -0
- package/components/p-DyHdZRT0.js.map +1 -0
- package/components/p-DyMgW0fR.js +65 -0
- package/components/p-DyMgW0fR.js.map +1 -0
- package/components/p-G0biE2Kx.js +33 -0
- package/components/p-G0biE2Kx.js.map +1 -0
- package/components/p-JJddxCCh.js +42 -0
- package/components/p-JJddxCCh.js.map +1 -0
- package/components/p-Ooq8eqJM.js +33 -0
- package/components/p-Ooq8eqJM.js.map +1 -0
- package/components/p-Ou74PMQs.js +1313 -0
- package/components/p-Ou74PMQs.js.map +1 -0
- package/components/p-PxA_udyJ.js +254 -0
- package/components/p-PxA_udyJ.js.map +1 -0
- package/components/p-TNoCM8Wi.js +83 -0
- package/components/p-TNoCM8Wi.js.map +1 -0
- package/components/p-UQa1aROL.js +23 -0
- package/components/p-UQa1aROL.js.map +1 -0
- package/components/p-bDicGJUN.js +7697 -0
- package/components/p-bDicGJUN.js.map +1 -0
- package/components/p-bcj7UEIC.js +24 -0
- package/components/p-bcj7UEIC.js.map +1 -0
- package/components/p-kY0vP3rC.js +122 -0
- package/components/p-kY0vP3rC.js.map +1 -0
- package/components/p-qauH9Ci4.js +54 -0
- package/components/p-qauH9Ci4.js.map +1 -0
- package/components/p-r63hglsv.js +90 -0
- package/components/p-r63hglsv.js.map +1 -0
- package/components/p-tH4n038Z.js +48 -0
- package/components/p-tH4n038Z.js.map +1 -0
- package/components/package.json +9 -0
- package/package.json +3 -2
- package/dist/collection/components/application-header/test/application-header.ct.js +0 -389
- package/dist/collection/components/application-header/test/application-header.ct.js.map +0 -1
- package/dist/collection/components/avatar/test/avatar.ct.js +0 -85
- package/dist/collection/components/avatar/test/avatar.ct.js.map +0 -1
- package/dist/collection/components/blind/test/blind.ct.js +0 -16
- package/dist/collection/components/blind/test/blind.ct.js.map +0 -1
- package/dist/collection/components/breadcrumb/test/breadcrumb.ct.js +0 -98
- package/dist/collection/components/breadcrumb/test/breadcrumb.ct.js.map +0 -1
- package/dist/collection/components/button/test/button.ct.js +0 -153
- package/dist/collection/components/button/test/button.ct.js.map +0 -1
- package/dist/collection/components/category-filter/test/category-filter.ct.js +0 -62
- package/dist/collection/components/category-filter/test/category-filter.ct.js.map +0 -1
- package/dist/collection/components/checkbox/tests/checkbox.ct.js +0 -86
- package/dist/collection/components/checkbox/tests/checkbox.ct.js.map +0 -1
- package/dist/collection/components/checkbox-group/test/checkbox-group.ct.js +0 -48
- package/dist/collection/components/checkbox-group/test/checkbox-group.ct.js.map +0 -1
- package/dist/collection/components/chip/test/chip.ct.js +0 -76
- package/dist/collection/components/chip/test/chip.ct.js.map +0 -1
- package/dist/collection/components/custom-field/tests/custom-field.ct.js +0 -68
- package/dist/collection/components/custom-field/tests/custom-field.ct.js.map +0 -1
- package/dist/collection/components/date-dropdown/test/date-dropdown.ct.js +0 -215
- package/dist/collection/components/date-dropdown/test/date-dropdown.ct.js.map +0 -1
- package/dist/collection/components/date-input/tests/date-input.ct.js +0 -117
- package/dist/collection/components/date-input/tests/date-input.ct.js.map +0 -1
- package/dist/collection/components/date-picker/test/date-picker.ct.js +0 -221
- package/dist/collection/components/date-picker/test/date-picker.ct.js.map +0 -1
- package/dist/collection/components/datetime-picker/test/datetime-picker.ct.js +0 -55
- package/dist/collection/components/datetime-picker/test/datetime-picker.ct.js.map +0 -1
- package/dist/collection/components/drawer/test/drawer.ct.js +0 -67
- package/dist/collection/components/drawer/test/drawer.ct.js.map +0 -1
- package/dist/collection/components/dropdown/test/dropdown.ct.js +0 -624
- package/dist/collection/components/dropdown/test/dropdown.ct.js.map +0 -1
- package/dist/collection/components/dropdown-button/dropdown-button.ct.js +0 -51
- package/dist/collection/components/dropdown-button/dropdown-button.ct.js.map +0 -1
- package/dist/collection/components/event-list/test/event-list.ct.js +0 -88
- package/dist/collection/components/event-list/test/event-list.ct.js.map +0 -1
- package/dist/collection/components/expanding-search/test/expanding-search.ct.js +0 -56
- package/dist/collection/components/expanding-search/test/expanding-search.ct.js.map +0 -1
- package/dist/collection/components/field-label/tests/field-label.ct.js +0 -121
- package/dist/collection/components/field-label/tests/field-label.ct.js.map +0 -1
- package/dist/collection/components/field-wrapper/tests/field-wrapper.ct.js +0 -63
- package/dist/collection/components/field-wrapper/tests/field-wrapper.ct.js.map +0 -1
- package/dist/collection/components/flip-tile/test/flip-tile.ct.js +0 -89
- package/dist/collection/components/flip-tile/test/flip-tile.ct.js.map +0 -1
- package/dist/collection/components/group/test/group.ct.js +0 -115
- package/dist/collection/components/group/test/group.ct.js.map +0 -1
- package/dist/collection/components/icon-button/test/icon-button.ct.js +0 -30
- package/dist/collection/components/icon-button/test/icon-button.ct.js.map +0 -1
- package/dist/collection/components/input/tests/form-ready.ct.js +0 -73
- package/dist/collection/components/input/tests/form-ready.ct.js.map +0 -1
- package/dist/collection/components/input/tests/validation.ct.js +0 -84
- package/dist/collection/components/input/tests/validation.ct.js.map +0 -1
- package/dist/collection/components/input-group/tests/input-group.ct.js +0 -161
- package/dist/collection/components/input-group/tests/input-group.ct.js.map +0 -1
- package/dist/collection/components/menu/test/menu.ct.js +0 -256
- package/dist/collection/components/menu/test/menu.ct.js.map +0 -1
- package/dist/collection/components/menu-about/test/menu-about.ct.js +0 -65
- package/dist/collection/components/menu-about/test/menu-about.ct.js.map +0 -1
- package/dist/collection/components/menu-avatar-item/test/menu-avatar-item.ct.js +0 -47
- package/dist/collection/components/menu-avatar-item/test/menu-avatar-item.ct.js.map +0 -1
- package/dist/collection/components/menu-category/test/menu-category.ct.js +0 -274
- package/dist/collection/components/menu-category/test/menu-category.ct.js.map +0 -1
- package/dist/collection/components/menu-item/test/menu-item.ct.js +0 -67
- package/dist/collection/components/menu-item/test/menu-item.ct.js.map +0 -1
- package/dist/collection/components/menu-settings/test/menu-settings.ct.js +0 -32
- package/dist/collection/components/menu-settings/test/menu-settings.ct.js.map +0 -1
- package/dist/collection/components/message-bar/test/message-bar.ct.js +0 -28
- package/dist/collection/components/message-bar/test/message-bar.ct.js.map +0 -1
- package/dist/collection/components/modal/test/modal.ct.js +0 -204
- package/dist/collection/components/modal/test/modal.ct.js.map +0 -1
- package/dist/collection/components/pagination/test/pagination.ct.js +0 -68
- package/dist/collection/components/pagination/test/pagination.ct.js.map +0 -1
- package/dist/collection/components/pane/test/panes.ct.js +0 -59
- package/dist/collection/components/pane/test/panes.ct.js.map +0 -1
- package/dist/collection/components/pane-layout/test/pane-layout.ct.js +0 -60
- package/dist/collection/components/pane-layout/test/pane-layout.ct.js.map +0 -1
- package/dist/collection/components/pill/test/pill.ct.js +0 -63
- package/dist/collection/components/pill/test/pill.ct.js.map +0 -1
- package/dist/collection/components/radio/test/radio.ct.js +0 -77
- package/dist/collection/components/radio/test/radio.ct.js.map +0 -1
- package/dist/collection/components/radio-group/test/radio-group.ct.js +0 -117
- package/dist/collection/components/radio-group/test/radio-group.ct.js.map +0 -1
- package/dist/collection/components/select/test/select-keyboard.ct.js +0 -380
- package/dist/collection/components/select/test/select-keyboard.ct.js.map +0 -1
- package/dist/collection/components/select/test/select.ct.js +0 -594
- package/dist/collection/components/select/test/select.ct.js.map +0 -1
- package/dist/collection/components/slider/test/slider.ct.js +0 -65
- package/dist/collection/components/slider/test/slider.ct.js.map +0 -1
- package/dist/collection/components/tabs/test/tabs.ct.js +0 -134
- package/dist/collection/components/tabs/test/tabs.ct.js.map +0 -1
- package/dist/collection/components/time-input/test/time-input.ct.js +0 -62
- package/dist/collection/components/time-input/test/time-input.ct.js.map +0 -1
- package/dist/collection/components/time-picker/test/time-picker.ct.js +0 -172
- package/dist/collection/components/time-picker/test/time-picker.ct.js.map +0 -1
- package/dist/collection/components/toggle/test/toggle.ct.js +0 -84
- package/dist/collection/components/toggle/test/toggle.ct.js.map +0 -1
- package/dist/collection/components/tooltip/test/tooltip.ct.js +0 -243
- package/dist/collection/components/tooltip/test/tooltip.ct.js.map +0 -1
- package/dist/collection/components/tree/test/tree.ct.js +0 -355
- package/dist/collection/components/tree/test/tree.ct.js.map +0 -1
- package/dist/collection/components/upload/test/upload.ct.js +0 -17
- package/dist/collection/components/upload/test/upload.ct.js.map +0 -1
- package/dist/collection/components/workflow-steps/test/workflow-steps.ct.js +0 -74
- package/dist/collection/components/workflow-steps/test/workflow-steps.ct.js.map +0 -1
- package/dist/collection/tests/utils/test/matchMedia.mock.js +0 -22
- package/dist/types/components/application-header/test/application-header.ct.d.ts +0 -1
- package/dist/types/components/avatar/test/avatar.ct.d.ts +0 -1
- package/dist/types/components/blind/test/blind.ct.d.ts +0 -1
- package/dist/types/components/breadcrumb/test/breadcrumb.ct.d.ts +0 -1
- package/dist/types/components/button/test/button.ct.d.ts +0 -7
- package/dist/types/components/category-filter/test/category-filter.ct.d.ts +0 -1
- package/dist/types/components/checkbox/tests/checkbox.ct.d.ts +0 -1
- package/dist/types/components/checkbox-group/test/checkbox-group.ct.d.ts +0 -1
- package/dist/types/components/chip/test/chip.ct.d.ts +0 -1
- package/dist/types/components/custom-field/tests/custom-field.ct.d.ts +0 -1
- package/dist/types/components/date-dropdown/test/date-dropdown.ct.d.ts +0 -1
- package/dist/types/components/date-input/tests/date-input.ct.d.ts +0 -1
- package/dist/types/components/date-picker/test/date-picker.ct.d.ts +0 -1
- package/dist/types/components/datetime-picker/test/datetime-picker.ct.d.ts +0 -1
- package/dist/types/components/drawer/test/drawer.ct.d.ts +0 -1
- package/dist/types/components/dropdown/test/dropdown.ct.d.ts +0 -1
- package/dist/types/components/dropdown-button/dropdown-button.ct.d.ts +0 -1
- package/dist/types/components/event-list/test/event-list.ct.d.ts +0 -1
- package/dist/types/components/expanding-search/test/expanding-search.ct.d.ts +0 -1
- package/dist/types/components/field-label/tests/field-label.ct.d.ts +0 -1
- package/dist/types/components/field-wrapper/tests/field-wrapper.ct.d.ts +0 -1
- package/dist/types/components/flip-tile/test/flip-tile.ct.d.ts +0 -1
- package/dist/types/components/group/test/group.ct.d.ts +0 -1
- package/dist/types/components/icon-button/test/icon-button.ct.d.ts +0 -1
- package/dist/types/components/input/tests/form-ready.ct.d.ts +0 -1
- package/dist/types/components/input/tests/validation.ct.d.ts +0 -1
- package/dist/types/components/input-group/tests/input-group.ct.d.ts +0 -1
- package/dist/types/components/menu/test/menu.ct.d.ts +0 -1
- package/dist/types/components/menu-about/test/menu-about.ct.d.ts +0 -1
- package/dist/types/components/menu-avatar-item/test/menu-avatar-item.ct.d.ts +0 -1
- package/dist/types/components/menu-category/test/menu-category.ct.d.ts +0 -1
- package/dist/types/components/menu-item/test/menu-item.ct.d.ts +0 -1
- package/dist/types/components/menu-settings/test/menu-settings.ct.d.ts +0 -1
- package/dist/types/components/message-bar/test/message-bar.ct.d.ts +0 -1
- package/dist/types/components/modal/test/modal.ct.d.ts +0 -8
- package/dist/types/components/pagination/test/pagination.ct.d.ts +0 -1
- package/dist/types/components/pane/test/panes.ct.d.ts +0 -1
- package/dist/types/components/pane-layout/test/pane-layout.ct.d.ts +0 -1
- package/dist/types/components/pill/test/pill.ct.d.ts +0 -1
- package/dist/types/components/radio/test/radio.ct.d.ts +0 -1
- package/dist/types/components/radio-group/test/radio-group.ct.d.ts +0 -1
- package/dist/types/components/select/test/select-keyboard.ct.d.ts +0 -1
- package/dist/types/components/select/test/select.ct.d.ts +0 -1
- package/dist/types/components/slider/test/slider.ct.d.ts +0 -1
- package/dist/types/components/tabs/test/tabs.ct.d.ts +0 -1
- package/dist/types/components/time-input/test/time-input.ct.d.ts +0 -1
- package/dist/types/components/time-picker/test/time-picker.ct.d.ts +0 -1
- package/dist/types/components/toggle/test/toggle.ct.d.ts +0 -1
- package/dist/types/components/tooltip/test/tooltip.ct.d.ts +0 -1
- package/dist/types/components/tree/test/tree.ct.d.ts +0 -1
- package/dist/types/components/upload/test/upload.ct.d.ts +0 -1
- package/dist/types/components/workflow-steps/test/workflow-steps.ct.d.ts +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"input-group.ct.js","sourceRoot":"","sources":["../../../../src/components/input-group/tests/input-group.ct.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,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ACF,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 thi s source tree.\n */\nimport { expect } from '@playwright/test';\nimport { iconEye } from '@siemens/ix-icons/icons';\nimport { regressionTest } from '@utils/test';\n\nregressionTest('renders', async ({ mount, page }) => {\n await mount(`\n <ix-input-group>\n <input class=\"parameter-value\" type=\"text\" value=\"Some initial value\" />\n </ix-input-group>\n `);\n\n const group = page.locator('ix-input-group');\n await expect(group).toHaveClass(/hydrated/);\n\n const input = group.locator('input');\n await expect(input).toHaveCSS('padding-left', '8px');\n await expect(input).toHaveCSS('padding-right', '15px');\n});\n\nregressionTest('initial padding start', async ({ mount, page }) => {\n await mount(\n `\n <ix-input-group>\n <span slot=\"input-start\">\n <ix-icon name=\"eye\" size=\"16\"></ix-icon>\n </span>\n <input class=\"parameter-value\" type=\"text\" value=\"Some initial value\" />\n </ix-input-group>\n `,\n {\n icons: { iconEye },\n }\n );\n\n const group = page.locator('ix-input-group');\n await expect(group).toHaveClass(/hydrated/);\n\n const input = group.locator('input');\n await expect(input).toHaveCSS('padding-left', '27px');\n await expect(input).toHaveCSS('padding-right', '15px');\n});\n\nregressionTest('initial padding end', async ({ mount, page }) => {\n await mount(\n `\n <ix-input-group>\n <span slot=\"input-start\">\n <ix-icon name=\"eye\" size=\"16\"></ix-icon>\n </span>\n <span slot=\"input-end\">\n <ix-icon name=\"eye\" size=\"16\"></ix-icon>\n </span>\n <input class=\"parameter-value\" type=\"text\" value=\"Some initial value\" />\n </ix-input-group>\n `,\n {\n icons: { iconEye },\n }\n );\n\n const group = page.locator('ix-input-group');\n await expect(group).toHaveClass(/hydrated/);\n\n const input = group.locator('input');\n await expect(input).toHaveCSS('padding-left', '27px');\n await expect(input).toHaveCSS('padding-right', '31px');\n});\n\nregressionTest('update padding end', async ({ mount, page }) => {\n await mount(`\n <ix-input-group>\n <input class=\"parameter-value\" type=\"text\" value=\"Some initial value\" />\n </ix-input-group>\n `);\n\n const group = page.locator('ix-input-group');\n await expect(group).toHaveClass(/hydrated/);\n\n const input = group.locator('input');\n await expect(input).toHaveCSS('padding-left', '8px');\n await expect(input).toHaveCSS('padding-right', '15px');\n\n await group.evaluate((group: HTMLElement) => {\n const startElement = document.createElement('DIV');\n startElement.style.height = '1px';\n startElement.style.width = '40px';\n startElement.slot = 'input-start';\n group.appendChild(startElement);\n });\n\n await expect(input).toHaveCSS('padding-left', '51px');\n await expect(input).toHaveCSS('padding-right', '15px');\n\n await group.evaluate((group: HTMLElement) => {\n const endElement = document.createElement('DIV');\n endElement.style.height = '1px';\n endElement.style.width = '50px';\n endElement.slot = 'input-end';\n group.appendChild(endElement);\n });\n\n await expect(input).toHaveCSS('padding-left', '51px');\n await expect(input).toHaveCSS('padding-right', '65px');\n});\n\nregressionTest('validation padding', async ({ mount, page }) => {\n await mount(`\n <form class=\"needs-validation\" noValidation>\n <ix-input-group>\n <input type=\"text\" required />\n </ix-input-group>\n\n <ix-button type=\"submit\">Submit</ix-button>\n </form>\n `);\n\n const form = page.locator('form');\n await form.evaluate((form) =>\n form.addEventListener('submit', (e) => {\n e.preventDefault();\n form.classList.add('was-validated');\n })\n );\n\n const group = page.locator('ix-input-group');\n await expect(group).toHaveClass(/hydrated/);\n\n const input = group.locator('input');\n const button = page.locator('ix-button');\n\n await button.click();\n\n await expect(input).toHaveCSS('background-position-x', '7px');\n});\n\nregressionTest(\n 'validation padding with input-start slot',\n async ({ mount, page }) => {\n await mount(\n `\n <form class=\"needs-validation\" noValidation>\n <ix-input-group>\n <ix-icon name=\"eye\" size=\"12\" slot=\"input-start\"></ix-icon>\n <input type=\"text\" required />\n </ix-input-group>\n\n <ix-button type=\"submit\">Submit</ix-button>\n </form>\n `,\n {\n icons: { iconEye },\n }\n );\n\n const form = page.locator('form');\n await form.evaluate((form) =>\n form.addEventListener('submit', (e) => {\n e.preventDefault();\n form.classList.add('was-validated');\n })\n );\n\n const group = page.locator('ix-input-group');\n await expect(group).toHaveClass(/hydrated/);\n\n const input = group.locator('input');\n const button = page.locator('ix-button');\n\n await button.click();\n\n await expect(input).toHaveCSS('background-position-x', '23px');\n await expect(input).toHaveCSS('padding-left', '49px');\n }\n);\n\nregressionTest(\n 'validation with class padding with input-start slot',\n async ({ mount, page }) => {\n await mount(\n `\n <form class=\"needs-validation\" noValidation>\n <ix-input-group>\n <ix-icon name=\"eye\" size=\"12\" slot=\"input-start\"></ix-icon>\n <input type=\"text\" class=\"is-invalid\" />\n </ix-input-group>\n </form>\n `,\n {\n icons: { iconEye },\n }\n );\n\n const form = page.locator('form');\n await form.evaluate((form) =>\n form.addEventListener('submit', (e) => {\n e.preventDefault();\n form.classList.add('was-validated');\n })\n );\n\n const group = page.locator('ix-input-group');\n await expect(group).toHaveClass(/hydrated/);\n\n const input = group.locator('input');\n\n await expect(input).toHaveCSS('background-position-x', '23px');\n await expect(input).toHaveCSS('padding-left', '49px');\n }\n);\n"]}
|
|
@@ -1,256 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* SPDX-FileCopyrightText: 2024 Siemens AG
|
|
3
|
-
*
|
|
4
|
-
* SPDX-License-Identifier: MIT
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the MIT license found in the
|
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/
|
|
9
|
-
import { expect } from "@playwright/test";
|
|
10
|
-
import { regressionTest } from "../../../tests/utils/test/index";
|
|
11
|
-
regressionTest('renders', async ({ mount, page }) => {
|
|
12
|
-
await mount(`
|
|
13
|
-
<ix-menu>
|
|
14
|
-
<ix-menu-about>
|
|
15
|
-
</ix-menu-about>
|
|
16
|
-
<ix-menu-settings>
|
|
17
|
-
</ix-menu-settings>
|
|
18
|
-
</ix-menu>
|
|
19
|
-
`);
|
|
20
|
-
const element = page.locator('ix-menu');
|
|
21
|
-
await expect(element).toHaveClass(/hydrated/);
|
|
22
|
-
await expect(element).toHaveClass(/breakpoint-lg/);
|
|
23
|
-
});
|
|
24
|
-
regressionTest('should be open when start-expanded ist set', async ({ mount, page }) => {
|
|
25
|
-
await mount(`
|
|
26
|
-
<ix-application>
|
|
27
|
-
<ix-menu start-expanded>
|
|
28
|
-
<ix-menu-item>Item</ix-menu-item>
|
|
29
|
-
</ix-menu>
|
|
30
|
-
</ix-application>
|
|
31
|
-
`);
|
|
32
|
-
await page
|
|
33
|
-
.locator('ix-application')
|
|
34
|
-
.evaluate((menu) => (menu.breakpoints = ['lg']));
|
|
35
|
-
const menu = page.locator('ix-menu');
|
|
36
|
-
await expect(menu).toHaveClass(/expanded/);
|
|
37
|
-
});
|
|
38
|
-
regressionTest('should be closed when start-expanded ist NOT set', async ({ mount, page }) => {
|
|
39
|
-
await mount(`
|
|
40
|
-
<ix-application>
|
|
41
|
-
<ix-menu>
|
|
42
|
-
<ix-menu-item>Item</ix-menu-item>
|
|
43
|
-
</ix-menu>
|
|
44
|
-
</ix-application>
|
|
45
|
-
`);
|
|
46
|
-
await page
|
|
47
|
-
.locator('ix-application')
|
|
48
|
-
.evaluate((menu) => (menu.breakpoints = ['lg']));
|
|
49
|
-
const menu = page.locator('ix-menu');
|
|
50
|
-
await expect(menu).not.toHaveClass(/expanded/);
|
|
51
|
-
});
|
|
52
|
-
regressionTest('should be closed after menu click when NOT pinned', async ({ mount, page }) => {
|
|
53
|
-
await mount(`
|
|
54
|
-
<ix-application>
|
|
55
|
-
<ix-menu>
|
|
56
|
-
<ix-menu-item>Item</ix-menu-item>
|
|
57
|
-
</ix-menu>
|
|
58
|
-
</ix-application>
|
|
59
|
-
`);
|
|
60
|
-
await page
|
|
61
|
-
.locator('ix-application')
|
|
62
|
-
.evaluate((menu) => (menu.breakpoints = ['md']));
|
|
63
|
-
const menu = page.locator('ix-menu');
|
|
64
|
-
const menuButton = menu.locator('ix-menu-expand-icon');
|
|
65
|
-
await menuButton.click();
|
|
66
|
-
await expect(menu).toHaveClass(/expanded/);
|
|
67
|
-
await page.locator('ix-menu-item').click();
|
|
68
|
-
await expect(menu).not.toHaveClass(/expanded/);
|
|
69
|
-
});
|
|
70
|
-
regressionTest('should stay open after menu click when pinned', async ({ mount, page }) => {
|
|
71
|
-
await mount(`
|
|
72
|
-
<ix-application>
|
|
73
|
-
<ix-menu pinned>
|
|
74
|
-
<ix-menu-item>Item</ix-menu-item>
|
|
75
|
-
</ix-menu>
|
|
76
|
-
</ix-application>
|
|
77
|
-
`);
|
|
78
|
-
await page
|
|
79
|
-
.locator('ix-application')
|
|
80
|
-
.evaluate((menu) => (menu.breakpoints = ['md']));
|
|
81
|
-
const menu = page.locator('ix-menu');
|
|
82
|
-
const menuButton = menu.locator('ix-menu-expand-icon');
|
|
83
|
-
await menuButton.click();
|
|
84
|
-
await expect(menu).toHaveClass(/expanded/);
|
|
85
|
-
await page.locator('ix-menu-item').click();
|
|
86
|
-
await expect(menu).toHaveClass(/expanded/);
|
|
87
|
-
});
|
|
88
|
-
regressionTest('should not open settings', async ({ mount, page }) => {
|
|
89
|
-
await mount(`
|
|
90
|
-
<ix-menu>
|
|
91
|
-
<ix-menu-settings>
|
|
92
|
-
</ix-menu-settings>
|
|
93
|
-
</ix-menu>
|
|
94
|
-
`);
|
|
95
|
-
const element = page.locator('ix-menu');
|
|
96
|
-
await element.evaluate((e) => {
|
|
97
|
-
e.addEventListener('openSettings', (event) => event.preventDefault());
|
|
98
|
-
});
|
|
99
|
-
await clickSettingsButton(element, page);
|
|
100
|
-
let settings = page.locator('ix-menu-settings');
|
|
101
|
-
await expect(settings).not.toBeVisible();
|
|
102
|
-
});
|
|
103
|
-
regressionTest('should not open about', async ({ mount, page }) => {
|
|
104
|
-
await mount(`
|
|
105
|
-
<ix-menu>
|
|
106
|
-
<ix-menu-about>
|
|
107
|
-
</ix-menu-about>
|
|
108
|
-
</ix-menu>
|
|
109
|
-
`);
|
|
110
|
-
const element = page.locator('ix-menu');
|
|
111
|
-
await element.evaluate((e) => {
|
|
112
|
-
e.addEventListener('openAbout', (event) => event.preventDefault());
|
|
113
|
-
});
|
|
114
|
-
const aboutButton = element.locator('ix-menu-item#aboutAndLegal');
|
|
115
|
-
await aboutButton.click();
|
|
116
|
-
let about = page.locator('ix-menu-about');
|
|
117
|
-
await expect(about).not.toBeVisible();
|
|
118
|
-
});
|
|
119
|
-
regressionTest('should open and close settings', async ({ mount, page }) => {
|
|
120
|
-
await mount(`
|
|
121
|
-
<ix-menu>
|
|
122
|
-
<ix-menu-about>
|
|
123
|
-
</ix-menu-about>
|
|
124
|
-
<ix-menu-settings>
|
|
125
|
-
</ix-menu-settings>
|
|
126
|
-
</ix-menu>
|
|
127
|
-
`);
|
|
128
|
-
const element = page.locator('ix-menu');
|
|
129
|
-
await clickSettingsButton(element, page);
|
|
130
|
-
let settings = page.locator('ix-menu-settings');
|
|
131
|
-
await expect(settings).toBeVisible();
|
|
132
|
-
const closeButton = settings.getByRole('button');
|
|
133
|
-
await closeButton.click();
|
|
134
|
-
await expect(settings).not.toBeVisible();
|
|
135
|
-
// Click same button twice
|
|
136
|
-
await clickSettingsButton(element, page);
|
|
137
|
-
await clickSettingsButton(element, page);
|
|
138
|
-
await expect(settings).not.toBeVisible();
|
|
139
|
-
});
|
|
140
|
-
regressionTest('should close settings by about', async ({ mount, page }) => {
|
|
141
|
-
await mount(`
|
|
142
|
-
<ix-menu>
|
|
143
|
-
<ix-menu-about>
|
|
144
|
-
</ix-menu-about>
|
|
145
|
-
<ix-menu-settings>
|
|
146
|
-
</ix-menu-settings>
|
|
147
|
-
</ix-menu>
|
|
148
|
-
`);
|
|
149
|
-
const element = page.locator('ix-menu');
|
|
150
|
-
await clickSettingsButton(element, page);
|
|
151
|
-
let about = page.locator('ix-menu-about');
|
|
152
|
-
let settings = page.locator('ix-menu-settings');
|
|
153
|
-
await clickAboutButton(element, page);
|
|
154
|
-
await expect(about).toBeVisible();
|
|
155
|
-
await expect(settings).not.toBeVisible();
|
|
156
|
-
});
|
|
157
|
-
regressionTest('should open and close about', async ({ mount, page }) => {
|
|
158
|
-
await mount(`
|
|
159
|
-
<ix-menu>
|
|
160
|
-
<ix-menu-about>
|
|
161
|
-
</ix-menu-about>
|
|
162
|
-
<ix-menu-settings>
|
|
163
|
-
</ix-menu-settings>
|
|
164
|
-
</ix-menu>
|
|
165
|
-
`);
|
|
166
|
-
const element = page.locator('ix-menu');
|
|
167
|
-
await clickAboutButton(element, page);
|
|
168
|
-
let about = page.locator('ix-menu-about');
|
|
169
|
-
await expect(about).toBeVisible();
|
|
170
|
-
const closeButton = about.getByRole('button');
|
|
171
|
-
await closeButton.click();
|
|
172
|
-
await expect(about).not.toBeVisible();
|
|
173
|
-
// Click same button twice
|
|
174
|
-
await clickAboutButton(element, page);
|
|
175
|
-
await clickAboutButton(element, page);
|
|
176
|
-
await expect(about).not.toBeVisible();
|
|
177
|
-
});
|
|
178
|
-
regressionTest('should close about by settings', async ({ mount, page }) => {
|
|
179
|
-
await mount(`
|
|
180
|
-
<ix-menu>
|
|
181
|
-
<ix-menu-about>
|
|
182
|
-
</ix-menu-about>
|
|
183
|
-
<ix-menu-settings>
|
|
184
|
-
</ix-menu-settings>
|
|
185
|
-
</ix-menu>
|
|
186
|
-
`);
|
|
187
|
-
const element = page.locator('ix-menu');
|
|
188
|
-
await clickAboutButton(element, page);
|
|
189
|
-
let about = page.locator('ix-menu-about');
|
|
190
|
-
let settings = page.locator('ix-menu-settings');
|
|
191
|
-
await clickSettingsButton(element, page);
|
|
192
|
-
await expect(about).not.toBeVisible();
|
|
193
|
-
await expect(settings).toBeVisible();
|
|
194
|
-
});
|
|
195
|
-
regressionTest('should close about by item click', async ({ mount, page }) => {
|
|
196
|
-
await mount(`
|
|
197
|
-
<ix-menu>
|
|
198
|
-
<ix-menu-item>Random</ix-menu-item>
|
|
199
|
-
<ix-menu-about>
|
|
200
|
-
</ix-menu-about>
|
|
201
|
-
<ix-menu-settings>
|
|
202
|
-
</ix-menu-settings>
|
|
203
|
-
</ix-menu>
|
|
204
|
-
`);
|
|
205
|
-
const element = page.locator('ix-menu');
|
|
206
|
-
await clickAboutButton(element, page);
|
|
207
|
-
let about = page.locator('ix-menu-about');
|
|
208
|
-
let settings = page.locator('ix-menu-settings');
|
|
209
|
-
const menuItem = page.locator('ix-menu-item').filter({ hasText: 'Random' });
|
|
210
|
-
await menuItem.click();
|
|
211
|
-
await expect(about).not.toBeVisible();
|
|
212
|
-
await expect(settings).not.toBeVisible();
|
|
213
|
-
});
|
|
214
|
-
regressionTest('should close menu by bottom icon click', async ({ mount, page }) => {
|
|
215
|
-
await mount(`
|
|
216
|
-
<ix-menu>
|
|
217
|
-
<ix-menu-item>Random</ix-menu-item>
|
|
218
|
-
<ix-menu-item slot="bottom">BottomMenuItem</ix-menu-item>
|
|
219
|
-
<ix-menu-about>
|
|
220
|
-
</ix-menu-about>
|
|
221
|
-
<ix-menu-settings>
|
|
222
|
-
</ix-menu-settings>
|
|
223
|
-
</ix-menu>
|
|
224
|
-
`);
|
|
225
|
-
const element = page.locator('ix-menu');
|
|
226
|
-
await page.locator('ix-menu ix-menu-expand-icon').click();
|
|
227
|
-
await page.waitForSelector('ix-menu ix-menu-expand-icon.expanded');
|
|
228
|
-
const innerMenu = element.locator('.menu');
|
|
229
|
-
await expect(innerMenu).toHaveClass(/expanded/);
|
|
230
|
-
const bottomMenu = element.locator('ix-menu-item[slot="bottom"]');
|
|
231
|
-
await bottomMenu.click();
|
|
232
|
-
await expect(innerMenu).not.toHaveClass(/expanded/);
|
|
233
|
-
await expect(element).toBeVisible();
|
|
234
|
-
});
|
|
235
|
-
regressionTest('should have correct aria label', async ({ mount, page }) => {
|
|
236
|
-
await mount(`
|
|
237
|
-
<ix-menu pinned>
|
|
238
|
-
<ix-menu-item>Random</ix-menu-item>
|
|
239
|
-
</ix-menu>
|
|
240
|
-
`);
|
|
241
|
-
const expandButton = page.locator('ix-menu').locator('ix-menu-expand-icon');
|
|
242
|
-
await expect(expandButton).toHaveAttribute('aria-label', 'Expand sidebar');
|
|
243
|
-
await expandButton.click();
|
|
244
|
-
await expect(expandButton).toHaveAttribute('aria-label', 'Expand sidebar');
|
|
245
|
-
});
|
|
246
|
-
async function clickAboutButton(element, page) {
|
|
247
|
-
const aboutButton = element.locator('ix-menu-item#aboutAndLegal');
|
|
248
|
-
await aboutButton.click();
|
|
249
|
-
await page.waitForTimeout(1000);
|
|
250
|
-
}
|
|
251
|
-
async function clickSettingsButton(element, page) {
|
|
252
|
-
const settingsButton = element.locator('ix-menu-item#settings');
|
|
253
|
-
await settingsButton.click();
|
|
254
|
-
await page.waitForTimeout(1000);
|
|
255
|
-
}
|
|
256
|
-
//# sourceMappingURL=menu.ct.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"menu.ct.js","sourceRoot":"","sources":["../../../../src/components/menu/test/menu.ct.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,MAAM,EAAiB,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAE7C,cAAc,CAAC,SAAS,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE;IAClD,MAAM,KAAK,CAAC;;;;;;;KAOT,CAAC,CAAC;IACL,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IACxC,MAAM,MAAM,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IAC9C,MAAM,MAAM,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;AACrD,CAAC,CAAC,CAAC;AAEH,cAAc,CACZ,4CAA4C,EAC5C,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE;IACxB,MAAM,KAAK,CAAC;;;;;;KAMX,CAAC,CAAC;IACH,MAAM,IAAI;SACP,OAAO,CAAC,gBAAgB,CAAC;SACzB,QAAQ,CACP,CAAC,IAAkC,EAAE,EAAE,C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C;IAC7B,MAAM,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;AAClC,CAAC","sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 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, Locator, Page } from '@playwright/test';\nimport { regressionTest } from '@utils/test';\n\nregressionTest('renders', async ({ mount, page }) => {\n await mount(`\n <ix-menu>\n <ix-menu-about>\n </ix-menu-about>\n <ix-menu-settings>\n </ix-menu-settings>\n </ix-menu>\n `);\n const element = page.locator('ix-menu');\n await expect(element).toHaveClass(/hydrated/);\n await expect(element).toHaveClass(/breakpoint-lg/);\n});\n\nregressionTest(\n 'should be open when start-expanded ist set',\n async ({ mount, page }) => {\n await mount(`\n <ix-application>\n <ix-menu start-expanded>\n <ix-menu-item>Item</ix-menu-item>\n </ix-menu>\n </ix-application>\n `);\n await page\n .locator('ix-application')\n .evaluate(\n (menu: HTMLIxBasicNavigationElement) => (menu.breakpoints = ['lg'])\n );\n const menu = page.locator('ix-menu');\n\n await expect(menu).toHaveClass(/expanded/);\n }\n);\n\nregressionTest(\n 'should be closed when start-expanded ist NOT set',\n async ({ mount, page }) => {\n await mount(`\n <ix-application>\n <ix-menu>\n <ix-menu-item>Item</ix-menu-item>\n </ix-menu>\n </ix-application>\n `);\n await page\n .locator('ix-application')\n .evaluate(\n (menu: HTMLIxBasicNavigationElement) => (menu.breakpoints = ['lg'])\n );\n const menu = page.locator('ix-menu');\n\n await expect(menu).not.toHaveClass(/expanded/);\n }\n);\n\nregressionTest(\n 'should be closed after menu click when NOT pinned',\n async ({ mount, page }) => {\n await mount(`\n <ix-application>\n <ix-menu>\n <ix-menu-item>Item</ix-menu-item>\n </ix-menu>\n </ix-application>\n `);\n await page\n .locator('ix-application')\n .evaluate(\n (menu: HTMLIxBasicNavigationElement) => (menu.breakpoints = ['md'])\n );\n const menu = page.locator('ix-menu');\n const menuButton = menu.locator('ix-menu-expand-icon');\n await menuButton.click();\n\n await expect(menu).toHaveClass(/expanded/);\n await page.locator('ix-menu-item').click();\n await expect(menu).not.toHaveClass(/expanded/);\n }\n);\n\nregressionTest(\n 'should stay open after menu click when pinned',\n async ({ mount, page }) => {\n await mount(`\n <ix-application>\n <ix-menu pinned>\n <ix-menu-item>Item</ix-menu-item>\n </ix-menu>\n </ix-application>\n `);\n await page\n .locator('ix-application')\n .evaluate(\n (menu: HTMLIxBasicNavigationElement) => (menu.breakpoints = ['md'])\n );\n const menu = page.locator('ix-menu');\n const menuButton = menu.locator('ix-menu-expand-icon');\n await menuButton.click();\n\n await expect(menu).toHaveClass(/expanded/);\n await page.locator('ix-menu-item').click();\n await expect(menu).toHaveClass(/expanded/);\n }\n);\n\nregressionTest('should not open settings', async ({ mount, page }) => {\n await mount(`\n <ix-menu>\n <ix-menu-settings>\n </ix-menu-settings>\n </ix-menu>\n `);\n const element = page.locator('ix-menu');\n\n await element.evaluate((e) => {\n e.addEventListener('openSettings', (event) => event.preventDefault());\n });\n\n await clickSettingsButton(element, page);\n let settings = page.locator('ix-menu-settings');\n await expect(settings).not.toBeVisible();\n});\n\nregressionTest('should not open about', async ({ mount, page }) => {\n await mount(`\n <ix-menu>\n <ix-menu-about>\n </ix-menu-about>\n </ix-menu>\n `);\n const element = page.locator('ix-menu');\n\n await element.evaluate((e) => {\n e.addEventListener('openAbout', (event) => event.preventDefault());\n });\n\n const aboutButton = element.locator('ix-menu-item#aboutAndLegal');\n await aboutButton.click();\n\n let about = page.locator('ix-menu-about');\n await expect(about).not.toBeVisible();\n});\n\nregressionTest('should open and close settings', async ({ mount, page }) => {\n await mount(`\n <ix-menu>\n <ix-menu-about>\n </ix-menu-about>\n <ix-menu-settings>\n </ix-menu-settings>\n </ix-menu>\n `);\n const element = page.locator('ix-menu');\n\n await clickSettingsButton(element, page);\n let settings = page.locator('ix-menu-settings');\n await expect(settings).toBeVisible();\n\n const closeButton = settings.getByRole('button');\n await closeButton.click();\n await expect(settings).not.toBeVisible();\n\n // Click same button twice\n await clickSettingsButton(element, page);\n await clickSettingsButton(element, page);\n await expect(settings).not.toBeVisible();\n});\n\nregressionTest('should close settings by about', async ({ mount, page }) => {\n await mount(`\n <ix-menu>\n <ix-menu-about>\n </ix-menu-about>\n <ix-menu-settings>\n </ix-menu-settings>\n </ix-menu>\n `);\n const element = page.locator('ix-menu');\n\n await clickSettingsButton(element, page);\n let about = page.locator('ix-menu-about');\n let settings = page.locator('ix-menu-settings');\n\n await clickAboutButton(element, page);\n await expect(about).toBeVisible();\n await expect(settings).not.toBeVisible();\n});\n\nregressionTest('should open and close about', async ({ mount, page }) => {\n await mount(`\n <ix-menu>\n <ix-menu-about>\n </ix-menu-about>\n <ix-menu-settings>\n </ix-menu-settings>\n </ix-menu>\n `);\n const element = page.locator('ix-menu');\n\n await clickAboutButton(element, page);\n let about = page.locator('ix-menu-about');\n await expect(about).toBeVisible();\n\n const closeButton = about.getByRole('button');\n await closeButton.click();\n await expect(about).not.toBeVisible();\n\n // Click same button twice\n await clickAboutButton(element, page);\n await clickAboutButton(element, page);\n await expect(about).not.toBeVisible();\n});\n\nregressionTest('should close about by settings', async ({ mount, page }) => {\n await mount(`\n <ix-menu>\n <ix-menu-about>\n </ix-menu-about>\n <ix-menu-settings>\n </ix-menu-settings>\n </ix-menu>\n `);\n const element = page.locator('ix-menu');\n\n await clickAboutButton(element, page);\n let about = page.locator('ix-menu-about');\n let settings = page.locator('ix-menu-settings');\n\n await clickSettingsButton(element, page);\n await expect(about).not.toBeVisible();\n await expect(settings).toBeVisible();\n});\n\nregressionTest('should close about by item click', async ({ mount, page }) => {\n await mount(`\n <ix-menu>\n <ix-menu-item>Random</ix-menu-item>\n <ix-menu-about>\n </ix-menu-about>\n <ix-menu-settings>\n </ix-menu-settings>\n </ix-menu>\n `);\n const element = page.locator('ix-menu');\n\n await clickAboutButton(element, page);\n let about = page.locator('ix-menu-about');\n let settings = page.locator('ix-menu-settings');\n const menuItem = page.locator('ix-menu-item').filter({ hasText: 'Random' });\n\n await menuItem.click();\n await expect(about).not.toBeVisible();\n await expect(settings).not.toBeVisible();\n});\n\nregressionTest(\n 'should close menu by bottom icon click',\n async ({ mount, page }) => {\n await mount(`\n <ix-menu>\n <ix-menu-item>Random</ix-menu-item>\n <ix-menu-item slot=\"bottom\">BottomMenuItem</ix-menu-item>\n <ix-menu-about>\n </ix-menu-about>\n <ix-menu-settings>\n </ix-menu-settings>\n </ix-menu>\n `);\n\n const element = page.locator('ix-menu');\n\n await page.locator('ix-menu ix-menu-expand-icon').click();\n await page.waitForSelector('ix-menu ix-menu-expand-icon.expanded');\n\n const innerMenu = element.locator('.menu');\n await expect(innerMenu).toHaveClass(/expanded/);\n\n const bottomMenu = element.locator('ix-menu-item[slot=\"bottom\"]');\n await bottomMenu.click();\n\n await expect(innerMenu).not.toHaveClass(/expanded/);\n await expect(element).toBeVisible();\n }\n);\n\nregressionTest('should have correct aria label', async ({ mount, page }) => {\n await mount(`\n <ix-menu pinned>\n <ix-menu-item>Random</ix-menu-item>\n </ix-menu>\n `);\n\n const expandButton = page.locator('ix-menu').locator('ix-menu-expand-icon');\n\n await expect(expandButton).toHaveAttribute('aria-label', 'Expand sidebar');\n\n await expandButton.click();\n\n await expect(expandButton).toHaveAttribute('aria-label', 'Expand sidebar');\n});\n\nasync function clickAboutButton(element: Locator, page: Page) {\n const aboutButton = element.locator('ix-menu-item#aboutAndLegal');\n await aboutButton.click();\n await page.waitForTimeout(1000);\n}\n\nasync function clickSettingsButton(element: Locator, page: Page) {\n const settingsButton = element.locator('ix-menu-item#settings');\n await settingsButton.click();\n await page.waitForTimeout(1000);\n}\n"]}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* SPDX-FileCopyrightText: 2024 Siemens AG
|
|
3
|
-
*
|
|
4
|
-
* SPDX-License-Identifier: MIT
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the MIT license found in the
|
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/
|
|
9
|
-
import { expect } from "@playwright/test";
|
|
10
|
-
import { regressionTest } from "../../../tests/utils/test/index";
|
|
11
|
-
regressionTest('renders', async ({ mount, page }) => {
|
|
12
|
-
await mount(`
|
|
13
|
-
<ix-menu>
|
|
14
|
-
<ix-menu-about>
|
|
15
|
-
<ix-menu-about-item label="Tab 1">Content 1</ix-menu-about-item>
|
|
16
|
-
<ix-menu-about-item label="Tab 2">Content 2</ix-menu-about-item>
|
|
17
|
-
</ix-menu-about>
|
|
18
|
-
</ix-menu>
|
|
19
|
-
`);
|
|
20
|
-
const element = page.locator('#aboutAndLegal');
|
|
21
|
-
await element.click();
|
|
22
|
-
await page.getByText('Content 1').click();
|
|
23
|
-
const aboutAndLegal = page.locator('ix-menu-about');
|
|
24
|
-
await expect(aboutAndLegal).toHaveClass(/hydrated/);
|
|
25
|
-
});
|
|
26
|
-
regressionTest('active-tab-label', async ({ mount, page }) => {
|
|
27
|
-
await mount(`
|
|
28
|
-
<ix-application>
|
|
29
|
-
<ix-menu>
|
|
30
|
-
<ix-menu-about active-tab-label="Tab 2">
|
|
31
|
-
<ix-menu-about-item label="Tab 1">Content 1</ix-menu-about-item>
|
|
32
|
-
<ix-menu-about-item label="Tab 2">Content 2</ix-menu-about-item>
|
|
33
|
-
</ix-menu-about>
|
|
34
|
-
</ix-menu>
|
|
35
|
-
</ix-application>
|
|
36
|
-
`);
|
|
37
|
-
const element = page.locator('#aboutAndLegal');
|
|
38
|
-
await element.click();
|
|
39
|
-
const tabItems = page.locator('ix-tab-item');
|
|
40
|
-
await expect(tabItems.first()).toHaveClass(/hydrated/);
|
|
41
|
-
await expect(tabItems.first()).not.toHaveAttribute('selected', 'true');
|
|
42
|
-
await expect(tabItems.last()).toHaveAttribute('selected', 'true');
|
|
43
|
-
});
|
|
44
|
-
regressionTest('should not change tab', async ({ mount, page }) => {
|
|
45
|
-
await mount(`
|
|
46
|
-
<ix-menu>
|
|
47
|
-
<ix-menu-about>
|
|
48
|
-
<ix-menu-about-item label="Tab 1">Content 1</ix-menu-about-item>
|
|
49
|
-
<ix-menu-about-item label="Tab 2">Content 2</ix-menu-about-item>
|
|
50
|
-
</ix-menu-about>
|
|
51
|
-
</ix-menu>
|
|
52
|
-
`);
|
|
53
|
-
const about = page.locator('ix-menu-about');
|
|
54
|
-
const element = page.locator('#aboutAndLegal');
|
|
55
|
-
await element.click();
|
|
56
|
-
const tabItems = page.locator('ix-tab-item');
|
|
57
|
-
await expect(tabItems.first()).toHaveClass(/hydrated/);
|
|
58
|
-
await about.evaluate((e) => {
|
|
59
|
-
e.addEventListener('tabChange', (event) => event.preventDefault());
|
|
60
|
-
});
|
|
61
|
-
await tabItems.last().click();
|
|
62
|
-
await expect(tabItems.first()).toHaveAttribute('selected', 'true');
|
|
63
|
-
await expect(tabItems.last()).not.toHaveAttribute('selected', 'true');
|
|
64
|
-
});
|
|
65
|
-
//# sourceMappingURL=menu-about.ct.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"menu-about.ct.js","sourceRoot":"","sources":["../../../../src/components/menu-about/test/menu-about.ct.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAE7C,cAAc,CAAC,SAAS,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE;IAClD,MAAM,KAAK,CAAC;;;;;;;KAOT,CAAC,CAAC;IAEL,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC/C,MAAM,OAAO,CAAC,KAAK,EAAE,CAAC;IAEtB,MAAM,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC,KAAK,EAAE,CAAC;IAE1C,MAAM,aAAa,GAAG,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,CAA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AEvD,MAAM,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,EAAE;QACzB,CAAC,CAAC,gBAAgB,CAAC,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,cAAc,EAAE,CAAC,CAAC;IACrE,CAAC,CAAC,CAAC;IAEH,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC,KAAK,EAAE,CAAC;IAE9B,MAAM,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAC,eAAe,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;IACnE,MAAM,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;AACxE,CAAC,CAAC,CAAC","sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 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 { regressionTest } from '@utils/test';\n\nregressionTest('renders', async ({ mount, page }) => {\n await mount(`\n <ix-menu>\n <ix-menu-about>\n <ix-menu-about-item label=\"Tab 1\">Content 1</ix-menu-about-item>\n <ix-menu-about-item label=\"Tab 2\">Content 2</ix-menu-about-item>\n </ix-menu-about>\n </ix-menu>\n `);\n\n const element = page.locator('#aboutAndLegal');\n await element.click();\n\n await page.getByText('Content 1').click();\n\n const aboutAndLegal = page.locator('ix-menu-about');\n await expect(aboutAndLegal).toHaveClass(/hydrated/);\n});\n\nregressionTest('active-tab-label', async ({ mount, page }) => {\n await mount(`\n <ix-application>\n <ix-menu>\n <ix-menu-about active-tab-label=\"Tab 2\">\n <ix-menu-about-item label=\"Tab 1\">Content 1</ix-menu-about-item>\n <ix-menu-about-item label=\"Tab 2\">Content 2</ix-menu-about-item>\n </ix-menu-about>\n </ix-menu>\n </ix-application>\n `);\n\n const element = page.locator('#aboutAndLegal');\n await element.click();\n\n const tabItems = page.locator('ix-tab-item');\n await expect(tabItems.first()).toHaveClass(/hydrated/);\n\n await expect(tabItems.first()).not.toHaveAttribute('selected', 'true');\n await expect(tabItems.last()).toHaveAttribute('selected', 'true');\n});\n\nregressionTest('should not change tab', async ({ mount, page }) => {\n await mount(`\n <ix-menu>\n <ix-menu-about>\n <ix-menu-about-item label=\"Tab 1\">Content 1</ix-menu-about-item>\n <ix-menu-about-item label=\"Tab 2\">Content 2</ix-menu-about-item>\n </ix-menu-about>\n </ix-menu>\n `);\n\n const about = page.locator('ix-menu-about');\n const element = page.locator('#aboutAndLegal');\n await element.click();\n\n const tabItems = page.locator('ix-tab-item');\n await expect(tabItems.first()).toHaveClass(/hydrated/);\n\n await about.evaluate((e) => {\n e.addEventListener('tabChange', (event) => event.preventDefault());\n });\n\n await tabItems.last().click();\n\n await expect(tabItems.first()).toHaveAttribute('selected', 'true');\n await expect(tabItems.last()).not.toHaveAttribute('selected', 'true');\n});\n"]}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
3
|
-
*
|
|
4
|
-
* SPDX-License-Identifier: MIT
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the MIT license found in the
|
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/
|
|
9
|
-
import { expect } from "@playwright/test";
|
|
10
|
-
import { regressionTest } from "../../../tests/utils/test/index";
|
|
11
|
-
const html = String.raw;
|
|
12
|
-
regressionTest('Nested dropdowns', async ({ mount, page }) => {
|
|
13
|
-
await mount(html `
|
|
14
|
-
<ix-menu>
|
|
15
|
-
<ix-menu-avatar>
|
|
16
|
-
<ix-menu-avatar-item label="test" id="submenu-01"></ix-menu-avatar-item>
|
|
17
|
-
</ix-menu-avatar>
|
|
18
|
-
</ix-menu>
|
|
19
|
-
<ix-dropdown trigger="submenu-01" id="d1">
|
|
20
|
-
<ix-dropdown-item>SubMenuItem 1</ix-dropdown-item>
|
|
21
|
-
<ix-dropdown-item>SubMenuItem 2</ix-dropdown-item>
|
|
22
|
-
<ix-dropdown-item>SubMenuItem 3</ix-dropdown-item>
|
|
23
|
-
<ix-dropdown-item id="submenu-02">SubMenuItem 4</ix-dropdown-item>
|
|
24
|
-
</ix-dropdown>
|
|
25
|
-
<ix-dropdown trigger="submenu-02" id="d2">
|
|
26
|
-
<ix-dropdown-item>SubMenuItem 1</ix-dropdown-item>
|
|
27
|
-
<ix-dropdown-item>SubMenuItem 2</ix-dropdown-item>
|
|
28
|
-
<ix-dropdown-item>SubMenuItem 3</ix-dropdown-item>
|
|
29
|
-
<ix-dropdown-item>SubMenuItem 4</ix-dropdown-item>
|
|
30
|
-
</ix-dropdown>
|
|
31
|
-
`);
|
|
32
|
-
const menuAvatar = page.locator('ix-menu-avatar');
|
|
33
|
-
await expect(menuAvatar).toBeVisible();
|
|
34
|
-
await menuAvatar.click();
|
|
35
|
-
await expect(menuAvatar.locator('ix-dropdown')).toBeVisible();
|
|
36
|
-
const menuAvatarItem = menuAvatar.locator('ix-menu-avatar-item').nth(0);
|
|
37
|
-
await menuAvatarItem.click();
|
|
38
|
-
const dropdown1 = page.locator('#d1');
|
|
39
|
-
const dropdown2 = page.locator('#d2');
|
|
40
|
-
await expect(dropdown1).toBeVisible();
|
|
41
|
-
const dropdown2Trigger = dropdown1
|
|
42
|
-
.locator('ix-dropdown-item')
|
|
43
|
-
.filter({ hasText: 'SubMenuItem 4' });
|
|
44
|
-
await dropdown2Trigger.click();
|
|
45
|
-
await expect(dropdown2).toBeVisible();
|
|
46
|
-
});
|
|
47
|
-
//# sourceMappingURL=menu-avatar-item.ct.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"menu-avatar-item.ct.js","sourceRoot":"","sources":["../../../../src/components/menu-avatar-item/test/menu-avatar-item.ct.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,MAAM,EAAE,MA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in the\n * LICENSE file in the root directory of this source tree.\n */\nimport { expect } from '@playwright/test';\nimport { regressionTest } from '@utils/test';\n\nconst html = String.raw;\n\nregressionTest('Nested dropdowns', async ({ mount, page }) => {\n await mount(html`\n <ix-menu>\n <ix-menu-avatar>\n <ix-menu-avatar-item label=\"test\" id=\"submenu-01\"></ix-menu-avatar-item>\n </ix-menu-avatar>\n </ix-menu>\n <ix-dropdown trigger=\"submenu-01\" id=\"d1\">\n <ix-dropdown-item>SubMenuItem 1</ix-dropdown-item>\n <ix-dropdown-item>SubMenuItem 2</ix-dropdown-item>\n <ix-dropdown-item>SubMenuItem 3</ix-dropdown-item>\n <ix-dropdown-item id=\"submenu-02\">SubMenuItem 4</ix-dropdown-item>\n </ix-dropdown>\n <ix-dropdown trigger=\"submenu-02\" id=\"d2\">\n <ix-dropdown-item>SubMenuItem 1</ix-dropdown-item>\n <ix-dropdown-item>SubMenuItem 2</ix-dropdown-item>\n <ix-dropdown-item>SubMenuItem 3</ix-dropdown-item>\n <ix-dropdown-item>SubMenuItem 4</ix-dropdown-item>\n </ix-dropdown>\n `);\n\n const menuAvatar = page.locator('ix-menu-avatar');\n await expect(menuAvatar).toBeVisible();\n await menuAvatar.click();\n\n await expect(menuAvatar.locator('ix-dropdown')).toBeVisible();\n\n const menuAvatarItem = menuAvatar.locator('ix-menu-avatar-item').nth(0);\n await menuAvatarItem.click();\n\n const dropdown1 = page.locator('#d1');\n const dropdown2 = page.locator('#d2');\n\n await expect(dropdown1).toBeVisible();\n\n const dropdown2Trigger = dropdown1\n .locator('ix-dropdown-item')\n .filter({ hasText: 'SubMenuItem 4' });\n await dropdown2Trigger.click();\n\n await expect(dropdown2).toBeVisible();\n});\n"]}
|