@siemens/ix 5.1.0 → 5.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/READMEOSS.html +1 -1
- package/components/index.js +1 -1
- package/components/ix-action-card.js +1 -1
- package/components/ix-application-header.js +1 -1
- package/components/ix-application-switch-modal.js +1 -1
- package/components/ix-application.js +1 -1
- package/components/ix-avatar.js +1 -1
- package/components/ix-badge.d.ts +11 -0
- package/components/ix-badge.js +1 -0
- package/components/ix-blind.js +1 -1
- package/components/ix-breadcrumb-item.js +1 -1
- package/components/ix-breadcrumb.js +1 -1
- package/components/ix-button.js +1 -1
- package/components/ix-card-accordion.js +1 -1
- package/components/ix-card-content.js +1 -1
- package/components/ix-card-list.js +1 -1
- package/components/ix-card-title.js +1 -1
- package/components/ix-card.js +1 -1
- package/components/ix-category-filter.js +1 -1
- package/components/ix-chat-ai-message.d.ts +11 -0
- package/components/ix-chat-ai-message.js +1 -0
- package/components/ix-chat-attachment.d.ts +11 -0
- package/components/ix-chat-attachment.js +1 -0
- package/components/ix-chat-input.d.ts +11 -0
- package/components/ix-chat-input.js +1 -0
- package/components/ix-chat-user-message.d.ts +11 -0
- package/components/ix-chat-user-message.js +1 -0
- package/components/ix-chat.d.ts +11 -0
- package/components/ix-chat.js +1 -0
- package/components/ix-checkbox-group.js +1 -1
- package/components/ix-checkbox.js +1 -1
- package/components/ix-chip.js +1 -1
- package/components/ix-col.js +1 -1
- package/components/ix-content-header.js +1 -1
- package/components/ix-content.js +1 -1
- package/components/ix-css-grid-item.js +1 -1
- package/components/ix-css-grid.js +1 -1
- package/components/ix-custom-field.js +1 -1
- package/components/ix-date-dropdown.js +1 -1
- package/components/ix-date-input.js +1 -1
- package/components/ix-date-picker.js +1 -1
- package/components/ix-date-time-card.js +1 -1
- package/components/ix-datetime-input.js +1 -1
- package/components/ix-datetime-picker.js +1 -1
- package/components/ix-divider.js +1 -1
- package/components/ix-dropdown-button.js +1 -1
- package/components/ix-dropdown-header.js +1 -1
- package/components/ix-dropdown-item.js +1 -1
- package/components/ix-dropdown-quick-actions.js +1 -1
- package/components/ix-dropdown.js +1 -1
- package/components/ix-empty-state.js +1 -1
- package/components/ix-event-list-item.js +1 -1
- package/components/ix-event-list.js +1 -1
- package/components/ix-expanding-search.js +1 -1
- package/components/ix-field-label.js +1 -1
- package/components/ix-field-wrapper.js +1 -1
- package/components/ix-filter-chip.js +1 -1
- package/components/ix-flip-tile-content.js +1 -1
- package/components/ix-flip-tile.js +1 -1
- package/components/ix-group-context-menu.js +1 -1
- package/components/ix-group-item.js +1 -1
- package/components/ix-group.js +1 -1
- package/components/ix-helper-text.js +1 -1
- package/components/ix-icon-button.js +1 -1
- package/components/ix-icon-toggle-button.js +1 -1
- package/components/ix-input.js +1 -1
- package/components/ix-key-value-list.js +1 -1
- package/components/ix-key-value.js +1 -1
- package/components/ix-kpi.js +1 -1
- package/components/ix-layout-auto.js +1 -1
- package/components/ix-layout-grid.js +1 -1
- package/components/ix-link-button.js +1 -1
- package/components/ix-menu-about-item.js +1 -1
- package/components/ix-menu-about-news.js +1 -1
- package/components/ix-menu-about.js +1 -1
- package/components/ix-menu-avatar-item.js +1 -1
- package/components/ix-menu-avatar.js +1 -1
- package/components/ix-menu-category.js +1 -1
- package/components/ix-menu-expand-icon.js +1 -1
- package/components/ix-menu-item.js +1 -1
- package/components/ix-menu-settings-item.js +1 -1
- package/components/ix-menu-settings.js +1 -1
- package/components/ix-menu.js +1 -1
- package/components/ix-message-bar.js +1 -1
- package/components/ix-modal-content.js +1 -1
- package/components/ix-modal-footer.js +1 -1
- package/components/ix-modal-header.js +1 -1
- package/components/ix-modal-loading.js +1 -1
- package/components/ix-modal.js +1 -1
- package/components/ix-number-input.js +1 -1
- package/components/ix-pagination.js +1 -1
- package/components/ix-pane-layout.js +1 -1
- package/components/ix-pane.js +1 -1
- package/components/ix-pill.js +1 -1
- package/components/ix-popover-content.js +1 -1
- package/components/ix-popover-footer.js +1 -1
- package/components/ix-popover-header.js +1 -1
- package/components/ix-popover-image.js +1 -1
- package/components/ix-popover.js +1 -1
- package/components/ix-progress-indicator.js +1 -1
- package/components/ix-push-card.js +1 -1
- package/components/ix-radio-group.js +1 -1
- package/components/ix-radio.js +1 -1
- package/components/ix-range-field.js +1 -1
- package/components/ix-row.js +1 -1
- package/components/ix-select-item.js +1 -1
- package/components/ix-select.js +1 -1
- package/components/ix-slider.js +1 -1
- package/components/ix-spinner.js +1 -1
- package/components/ix-split-button.js +1 -1
- package/components/ix-tab-item.js +1 -1
- package/components/ix-tab-panel.js +1 -1
- package/components/ix-tab-set.js +1 -1
- package/components/ix-tabs.js +1 -1
- package/components/ix-textarea.js +1 -1
- package/components/ix-tile.js +1 -1
- package/components/ix-time-input.js +1 -1
- package/components/ix-time-picker.js +1 -1
- package/components/ix-toast-container.js +1 -1
- package/components/ix-toast.js +1 -1
- package/components/ix-toggle-button.js +1 -1
- package/components/ix-toggle.js +1 -1
- package/components/ix-tooltip.js +1 -1
- package/components/ix-tree-item.js +1 -1
- package/components/ix-tree.js +1 -1
- package/components/ix-typography.js +1 -1
- package/components/ix-upload.js +1 -1
- package/components/ix-workflow-step.js +1 -1
- package/components/ix-workflow-steps.js +1 -1
- package/components/p-1FBWW6v2.js +1 -0
- package/components/p-3U_cSqu_.js +1 -0
- package/components/p-4ZsT_zIm.js +1 -0
- package/components/{p-CrLxhwo2.js → p-BC2PyjjU.js} +1 -1
- package/{dist/siemens-ix/p-wfVRhTWc.js → components/p-BDnx22Gp.js} +1 -1
- package/components/{p-DtOqKp7K.js → p-BGOtCwtj.js} +1 -1
- package/components/{p-CuFZ7CXu.js → p-BHjmN8zz.js} +1 -1
- package/components/p-BHoJOFM-.js +1 -0
- package/components/p-BHtNsBtM.js +1 -0
- package/components/p-BQ-hS49k.js +1 -0
- package/components/p-BTBxxgtF.js +1 -0
- package/components/{p-CT5pAQCz.js → p-BcbFeRB0.js} +1 -1
- package/components/p-BmZGQGZi.js +1 -0
- package/components/p-Bs5X90wM.js +1 -0
- package/components/p-C02EaF8C.js +1 -0
- package/components/p-CEE0wwD3.js +1 -0
- package/components/p-CLDB-pmj.js +1 -0
- package/components/p-CRtj-KBq.js +1 -0
- package/components/p-CTRSoM-z.js +1 -0
- package/components/p-CUpOF7jN.js +1 -0
- package/components/{p-GGleop6j.js → p-C_K74Xlt.js} +1 -1
- package/components/{p-CGHbrmJg.js → p-CatmTvkh.js} +1 -1
- package/components/{p-Dfd_ifAu.js → p-CgPr717U.js} +1 -1
- package/components/p-CtZAuwv3.js +1 -0
- package/components/p-Ctb1EExj.js +1 -0
- package/components/p-CvAmaEU2.js +1 -0
- package/components/p-Cxwq4WaV.js +1 -0
- package/components/p-D6O-bCyA.js +1 -0
- package/components/{p-BBCsPlPH.js → p-D7qfGAJ7.js} +1 -1
- package/components/p-D7sEY2UQ.js +1 -0
- package/components/{p-DtmgZu-S.js → p-DWOjSq8j.js} +1 -1
- package/components/p-D_HzQCU-.js +1 -0
- package/components/p-DdlGyKd2.js +1 -0
- package/components/p-DiYkfhDE.js +1 -0
- package/components/p-DmtgI24u.js +1 -0
- package/components/p-DpvAVNqZ.js +1 -0
- package/components/p-DsVj4Cd-.js +1 -0
- package/components/{p-BuBQiemL.js → p-DtWFUcZO.js} +1 -1
- package/components/p-DylHkzl6.js +1 -0
- package/components/p-NXyac9kC.js +1 -0
- package/components/p-OxstEnSC.js +1 -0
- package/components/{p-BNAvpXSk.js → p-R5tYZVVd.js} +1 -1
- package/components/{p-Czy7a3I4.js → p-WisOWbJ8.js} +1 -1
- package/components/{p-DhWkcMmR.js → p-YFmbQndr.js} +1 -1
- package/components/p-eGuQ8D3W.js +1 -0
- package/components/{p-CtDOTMOT.js → p-eN5fQtqO.js} +1 -1
- package/components/p-ePylRxs_.js +1 -0
- package/components/p-hf_zqlB1.js +1 -0
- package/components/p-l9UTiHpM.js +1 -0
- package/components/{p-CIA8i4dm.js → p-snX1FfdL.js} +1 -1
- package/components/p-tpMN9yTQ.js +1 -0
- package/components/p-v9vlPlkd.js +1 -0
- package/dist/cjs/chip.types-BD73fAij.js +22 -0
- package/dist/cjs/{helper-text-util-BkHm7ofh.js → helper-text-util-Ci_KFQZ4.js} +1 -1
- package/dist/cjs/{index-CwJ-mkQd.js → index-BQht1mLe.js} +20 -0
- package/dist/cjs/index-DnclGKUw.js +28 -4
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{input.fc-DM-hX3xb.js → input.fc-xGzM_I6q.js} +1 -1
- package/dist/cjs/ix-action-card.cjs.entry.js +3 -3
- package/dist/cjs/ix-application-header.cjs.entry.js +11 -11
- package/dist/cjs/ix-application-switch-modal.cjs.entry.js +2 -2
- package/dist/cjs/ix-application.cjs.entry.js +4 -4
- package/dist/cjs/ix-avatar_2.cjs.entry.js +3 -3
- package/dist/cjs/ix-badge.cjs.entry.js +716 -0
- package/dist/cjs/ix-blind.cjs.entry.js +7 -7
- package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +2 -2
- package/dist/cjs/ix-breadcrumb.cjs.entry.js +4 -4
- package/dist/cjs/ix-button.cjs.entry.js +3 -3
- package/dist/cjs/ix-card-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/ix-card-list.cjs.entry.js +63 -10
- package/dist/cjs/ix-card_2.cjs.entry.js +5 -5
- package/dist/cjs/ix-category-filter.cjs.entry.js +5 -5
- package/dist/cjs/ix-chat-ai-message.cjs.entry.js +35 -0
- package/dist/cjs/ix-chat-attachment.cjs.entry.js +110 -0
- package/dist/cjs/ix-chat-input.cjs.entry.js +406 -0
- package/dist/cjs/ix-chat-user-message.cjs.entry.js +66 -0
- package/dist/cjs/ix-chat.cjs.entry.js +28 -0
- package/dist/cjs/ix-checkbox-group.cjs.entry.js +3 -3
- package/dist/cjs/ix-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/ix-chip.cjs.entry.js +10 -29
- package/dist/cjs/ix-col_4.cjs.entry.js +12 -12
- package/dist/cjs/ix-content-header.cjs.entry.js +4 -4
- package/dist/cjs/ix-content.cjs.entry.js +4 -4
- package/dist/cjs/ix-css-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-css-grid.cjs.entry.js +1 -1
- package/dist/cjs/ix-custom-field.cjs.entry.js +2 -2
- package/dist/cjs/ix-date-dropdown.cjs.entry.js +7 -7
- package/dist/cjs/ix-date-input.cjs.entry.js +7 -7
- package/dist/cjs/ix-date-picker.cjs.entry.js +9 -9
- package/dist/cjs/ix-date-time-card.cjs.entry.js +3 -3
- package/dist/cjs/ix-datetime-input.cjs.entry.js +7 -7
- package/dist/cjs/ix-datetime-picker.cjs.entry.js +4 -4
- package/dist/cjs/ix-divider.cjs.entry.js +1 -1
- package/dist/cjs/ix-dropdown-button.cjs.entry.js +6 -6
- package/dist/cjs/ix-dropdown-header.cjs.entry.js +2 -2
- package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +1 -1
- package/dist/cjs/ix-dropdown_2.cjs.entry.js +7 -7
- package/dist/cjs/ix-empty-state.cjs.entry.js +2 -2
- package/dist/cjs/ix-event-list-item.cjs.entry.js +6 -6
- package/dist/cjs/ix-event-list.cjs.entry.js +8 -5
- package/dist/cjs/ix-expanding-search.cjs.entry.js +6 -6
- package/dist/cjs/ix-field-label_2.cjs.entry.js +7 -7
- package/dist/cjs/ix-filter-chip_2.cjs.entry.js +6 -6
- package/dist/cjs/ix-flip-tile-content.cjs.entry.js +1 -1
- package/dist/cjs/ix-flip-tile.cjs.entry.js +5 -5
- package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +3 -3
- package/dist/cjs/ix-group.cjs.entry.js +9 -9
- package/dist/cjs/ix-helper-text.cjs.entry.js +4 -4
- package/dist/cjs/ix-icon-button_2.cjs.entry.js +5 -5
- package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +3 -3
- package/dist/cjs/ix-input.cjs.entry.js +8 -8
- package/dist/cjs/ix-key-value-list.cjs.entry.js +1 -1
- package/dist/cjs/ix-key-value.cjs.entry.js +1 -1
- package/dist/cjs/ix-kpi.cjs.entry.js +5 -5
- package/dist/cjs/ix-layout-auto.cjs.entry.js +1 -1
- package/dist/cjs/ix-link-button.cjs.entry.js +4 -4
- package/dist/cjs/ix-menu-about-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu-about-news.cjs.entry.js +6 -6
- package/dist/cjs/ix-menu-about.cjs.entry.js +4 -4
- package/dist/cjs/ix-menu-avatar.cjs.entry.js +4 -4
- package/dist/cjs/ix-menu-category.cjs.entry.js +12 -9
- package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +3 -3
- package/dist/cjs/ix-menu-item.cjs.entry.js +5 -5
- package/dist/cjs/ix-menu-settings-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu-settings.cjs.entry.js +4 -4
- package/dist/cjs/ix-menu.cjs.entry.js +14 -14
- package/dist/cjs/ix-message-bar.cjs.entry.js +3 -3
- package/dist/cjs/ix-modal-content_2.cjs.entry.js +5 -5
- package/dist/cjs/ix-modal-footer.cjs.entry.js +2 -2
- package/dist/cjs/ix-modal-loading.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal.cjs.entry.js +3 -3
- package/dist/cjs/ix-number-input.cjs.entry.js +9 -9
- package/dist/cjs/ix-pagination.cjs.entry.js +4 -4
- package/dist/cjs/ix-pane-layout.cjs.entry.js +2 -2
- package/dist/cjs/ix-pane.cjs.entry.js +9 -9
- package/dist/cjs/ix-pill_4.cjs.entry.js +20 -20
- package/dist/cjs/ix-popover-content.cjs.entry.js +2 -2
- package/dist/cjs/ix-popover-footer.cjs.entry.js +2 -2
- package/dist/cjs/ix-popover-header.cjs.entry.js +3 -3
- package/dist/cjs/ix-popover-image.cjs.entry.js +1 -1
- package/dist/cjs/ix-popover.cjs.entry.js +1 -1
- package/dist/cjs/ix-progress-indicator.cjs.entry.js +4 -4
- package/dist/cjs/ix-push-card.cjs.entry.js +2 -2
- package/dist/cjs/ix-radio-group.cjs.entry.js +3 -3
- package/dist/cjs/ix-radio.cjs.entry.js +5 -5
- package/dist/cjs/ix-range-field.cjs.entry.js +4 -4
- package/dist/cjs/ix-select.cjs.entry.js +17 -14
- package/dist/cjs/ix-slider.cjs.entry.js +8 -8
- package/dist/cjs/ix-split-button.cjs.entry.js +3 -3
- package/dist/cjs/ix-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/ix-textarea.cjs.entry.js +5 -5
- package/dist/cjs/ix-tile.cjs.entry.js +5 -5
- package/dist/cjs/ix-time-input.cjs.entry.js +7 -7
- package/dist/cjs/ix-toast-container.cjs.entry.js +3 -3
- package/dist/cjs/ix-toast.cjs.entry.js +4 -4
- package/dist/cjs/ix-toggle-button.cjs.entry.js +3 -3
- package/dist/cjs/ix-toggle.cjs.entry.js +5 -5
- package/dist/cjs/ix-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/ix-tree-item.cjs.entry.js +6 -6
- package/dist/cjs/ix-tree.cjs.entry.js +1 -1
- package/dist/cjs/ix-typography.cjs.entry.js +2 -2
- package/dist/cjs/ix-upload.cjs.entry.js +5 -5
- package/dist/cjs/ix-workflow-step.cjs.entry.js +5 -5
- package/dist/cjs/ix-workflow-steps.cjs.entry.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/siemens-ix.cjs.js +1 -1
- package/dist/cjs/{validation-DJaUH-UR.js → validation-B1izlD8M.js} +59 -3
- package/dist/collection/collection-manifest.json +6 -0
- package/dist/collection/components/action-card/action-card.css +11 -11
- package/dist/collection/components/action-card/action-card.js +3 -3
- package/dist/collection/components/application/application.css +11 -11
- package/dist/collection/components/application/application.js +10 -3
- package/dist/collection/components/application-header/application-header.css +11 -11
- package/dist/collection/components/application-header/application-header.js +10 -9
- package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.css +11 -11
- package/dist/collection/components/avatar/avatar.css +19 -11
- package/dist/collection/components/avatar/avatar.js +3 -0
- package/dist/collection/components/badge/badge.css +622 -0
- package/dist/collection/components/badge/badge.js +815 -0
- package/dist/collection/components/badge/badge.status-icon.js +65 -0
- package/dist/collection/components/badge/badge.types.js +24 -0
- package/dist/collection/components/badge/badge.utils.js +57 -0
- package/dist/collection/components/badge/test/badge.page.js +190 -0
- package/dist/collection/components/blind/blind.css +119 -15
- package/dist/collection/components/blind/blind.js +10 -5
- package/dist/collection/components/breadcrumb/breadcrumb.css +11 -11
- package/dist/collection/components/breadcrumb/breadcrumb.js +5 -2
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.css +52 -44
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +3 -0
- package/dist/collection/components/button/button.css +30 -22
- package/dist/collection/components/button/button.js +5 -2
- package/dist/collection/components/card/card.css +11 -11
- package/dist/collection/components/card/card.js +6 -2
- package/dist/collection/components/card-accordion/card-accordion.css +61 -44
- package/dist/collection/components/card-accordion/card-accordion.js +7 -4
- package/dist/collection/components/card-content/card-content.css +11 -11
- package/dist/collection/components/card-content/card-content.js +4 -1
- package/dist/collection/components/card-list/card-list.css +23 -11
- package/dist/collection/components/card-list/card-list.js +70 -10
- package/dist/collection/components/card-title/card-title.js +2 -1
- package/dist/collection/components/category-filter/category-filter.css +41 -33
- package/dist/collection/components/category-filter/category-filter.js +3 -3
- package/dist/collection/components/chat/chat.css +114 -0
- package/dist/collection/components/chat/chat.js +47 -0
- package/dist/collection/components/chat-ai-message/chat-ai-message.css +139 -0
- package/dist/collection/components/chat-ai-message/chat-ai-message.js +56 -0
- package/dist/collection/components/chat-attachment/chat-attachment.css +135 -0
- package/dist/collection/components/chat-attachment/chat-attachment.js +284 -0
- package/dist/collection/components/chat-attachment/chat-attachment.types.js +1 -0
- package/dist/collection/components/chat-input/chat-input.css +323 -0
- package/dist/collection/components/chat-input/chat-input.js +878 -0
- package/dist/collection/components/chat-user-message/chat-user-message.css +145 -0
- package/dist/collection/components/chat-user-message/chat-user-message.js +112 -0
- package/dist/collection/components/checkbox/checkbox.css +11 -11
- package/dist/collection/components/checkbox/checkbox.js +4 -3
- package/dist/collection/components/checkbox-group/checkbox-group.js +3 -2
- package/dist/collection/components/chip/chip.css +28 -19
- package/dist/collection/components/chip/chip.js +10 -8
- package/dist/collection/components/col/col.css +11 -11
- package/dist/collection/components/col/col.js +5 -2
- package/dist/collection/components/content/content.css +11 -11
- package/dist/collection/components/content/content.js +4 -3
- package/dist/collection/components/content-header/content-header.js +4 -4
- package/dist/collection/components/css-grid/css-grid-item.js +2 -1
- package/dist/collection/components/css-grid/css-grid.js +2 -1
- package/dist/collection/components/custom-field/custom-field.js +4 -1
- package/dist/collection/components/date-dropdown/date-dropdown.css +30 -22
- package/dist/collection/components/date-dropdown/date-dropdown.js +5 -5
- package/dist/collection/components/date-input/date-input.css +23 -22
- package/dist/collection/components/date-input/date-input.js +3 -3
- package/dist/collection/components/date-picker/date-picker.css +19 -11
- package/dist/collection/components/date-picker/date-picker.js +7 -7
- package/dist/collection/components/date-time-card/date-time-card.css +11 -11
- package/dist/collection/components/date-time-card/date-time-card.js +2 -2
- package/dist/collection/components/datetime-input/datetime-input.css +23 -22
- package/dist/collection/components/datetime-input/datetime-input.js +3 -3
- package/dist/collection/components/datetime-picker/datetime-picker.css +11 -11
- package/dist/collection/components/datetime-picker/datetime-picker.js +3 -3
- package/dist/collection/components/divider/divider.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +11 -11
- package/dist/collection/components/dropdown/dropdown.js +4 -1
- package/dist/collection/components/dropdown-button/dropdown-button.css +326 -34
- package/dist/collection/components/dropdown-button/dropdown-button.js +8 -4
- package/dist/collection/components/dropdown-header/dropdown-header.css +11 -11
- package/dist/collection/components/dropdown-header/dropdown-header.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +12 -12
- package/dist/collection/components/dropdown-item/dropdown-item.js +6 -3
- package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js +4 -1
- package/dist/collection/components/empty-state/empty-state.css +11 -11
- package/dist/collection/components/empty-state/empty-state.js +1 -1
- package/dist/collection/components/event-list/event-list.css +11 -11
- package/dist/collection/components/event-list/event-list.js +10 -4
- package/dist/collection/components/event-list-item/event-list-item.css +11 -11
- package/dist/collection/components/event-list-item/event-list-item.js +7 -4
- package/dist/collection/components/expanding-search/expanding-search.css +11 -11
- package/dist/collection/components/expanding-search/expanding-search.js +4 -4
- package/dist/collection/components/field-label/field-label.js +5 -2
- package/dist/collection/components/field-wrapper/field-wrapper.js +2 -2
- package/dist/collection/components/filter-chip/filter-chip.css +11 -11
- package/dist/collection/components/filter-chip/filter-chip.js +5 -2
- package/dist/collection/components/flip-tile/flip-tile.css +11 -11
- package/dist/collection/components/flip-tile/flip-tile.js +8 -3
- package/dist/collection/components/flip-tile-content/flip-tile-content.js +4 -1
- package/dist/collection/components/group/group-context-menu.js +4 -1
- package/dist/collection/components/group/group.js +14 -8
- package/dist/collection/components/group-item/group-item.css +11 -11
- package/dist/collection/components/group-item/group-item.js +3 -0
- package/dist/collection/components/helper-text/helper-text.js +1 -1
- package/dist/collection/components/icon-button/icon-button.css +49 -39
- package/dist/collection/components/icon-button/icon-button.js +2 -2
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.css +49 -39
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +2 -2
- package/dist/collection/components/input/input.css +12 -11
- package/dist/collection/components/input/input.js +4 -4
- package/dist/collection/components/input/number-input.css +12 -11
- package/dist/collection/components/input/number-input.js +5 -5
- package/dist/collection/components/input/textarea.css +12 -11
- package/dist/collection/components/input/textarea.js +2 -2
- package/dist/collection/components/ix-playground/ix-playground.js +1 -1
- package/dist/collection/components/key-value/key-value.js +1 -1
- package/dist/collection/components/key-value-list/key-value-list.js +4 -1
- package/dist/collection/components/kpi/kpi.css +11 -11
- package/dist/collection/components/kpi/kpi.js +3 -3
- package/dist/collection/components/layout-auto/layout-auto.js +4 -1
- package/dist/collection/components/layout-grid/layout-grid.js +5 -2
- package/dist/collection/components/link-button/link-button.js +6 -3
- package/dist/collection/components/menu/menu-expand-icon.css +30 -22
- package/dist/collection/components/menu/menu-expand-icon.js +1 -1
- package/dist/collection/components/menu/menu.css +11 -11
- package/dist/collection/components/menu/menu.js +20 -12
- package/dist/collection/components/menu-about/menu-about.css +11 -11
- package/dist/collection/components/menu-about/menu-about.js +5 -2
- package/dist/collection/components/menu-about-item/menu-about-item.js +2 -1
- package/dist/collection/components/menu-about-news/menu-about-news.css +11 -11
- package/dist/collection/components/menu-about-news/menu-about-news.js +7 -4
- package/dist/collection/components/menu-avatar/menu-avatar.css +11 -11
- package/dist/collection/components/menu-avatar/menu-avatar.js +5 -2
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.css +11 -11
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
- package/dist/collection/components/menu-category/menu-category.css +11 -11
- package/dist/collection/components/menu-category/menu-category.js +15 -9
- package/dist/collection/components/menu-item/menu-item.js +5 -5
- package/dist/collection/components/menu-settings/menu-settings.css +11 -11
- package/dist/collection/components/menu-settings/menu-settings.js +5 -2
- package/dist/collection/components/menu-settings-item/menu-settings-item.js +2 -1
- package/dist/collection/components/message-bar/message-bar.css +11 -11
- package/dist/collection/components/message-bar/message-bar.js +4 -1
- package/dist/collection/components/modal/modal.js +6 -3
- package/dist/collection/components/modal-content/modal-content.css +11 -11
- package/dist/collection/components/modal-content/modal-content.js +4 -1
- package/dist/collection/components/modal-footer/modal-footer.css +11 -11
- package/dist/collection/components/modal-footer/modal-footer.js +4 -1
- package/dist/collection/components/modal-header/modal-header.css +11 -11
- package/dist/collection/components/modal-header/modal-header.js +4 -1
- package/dist/collection/components/modal-loading/modal-loading.js +1 -1
- package/dist/collection/components/pagination/pagination.css +60 -50
- package/dist/collection/components/pagination/pagination.js +2 -2
- package/dist/collection/components/pane/pane.css +11 -11
- package/dist/collection/components/pane/pane.js +8 -7
- package/dist/collection/components/pane-layout/pane-layout.css +11 -11
- package/dist/collection/components/pane-layout/pane-layout.js +9 -1
- package/dist/collection/components/pill/pill.css +11 -11
- package/dist/collection/components/pill/pill.js +7 -4
- package/dist/collection/components/popover/popover.js +2 -2
- package/dist/collection/components/popover-content/popover-content.css +11 -11
- package/dist/collection/components/popover-content/popover-content.js +2 -2
- package/dist/collection/components/popover-footer/popover-footer.css +11 -11
- package/dist/collection/components/popover-footer/popover-footer.js +2 -2
- package/dist/collection/components/popover-header/popover-header.css +11 -11
- package/dist/collection/components/popover-header/popover-header.js +2 -2
- package/dist/collection/components/popover-image/popover-image.css +11 -11
- package/dist/collection/components/progress-indicator/progress-indicator.js +5 -3
- package/dist/collection/components/push-card/push-card.css +70 -0
- package/dist/collection/components/push-card/push-card.js +5 -1
- package/dist/collection/components/radio/radio.css +11 -11
- package/dist/collection/components/radio/radio.js +4 -3
- package/dist/collection/components/radio-group/radio-group.js +3 -2
- package/dist/collection/components/range-field/range-field.css +11 -11
- package/dist/collection/components/range-field/range-field.js +5 -2
- package/dist/collection/components/row/row.js +4 -1
- package/dist/collection/components/select/select.css +11 -11
- package/dist/collection/components/select/select.js +16 -12
- package/dist/collection/components/select-item/select-item.js +2 -2
- package/dist/collection/components/slider/slider.css +11 -11
- package/dist/collection/components/slider/slider.js +6 -6
- package/dist/collection/components/spinner/spinner.css +55 -55
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-button/split-button.css +11 -11
- package/dist/collection/components/split-button/split-button.js +4 -1
- package/dist/collection/components/tab-item/tab-item.css +17 -11
- package/dist/collection/components/tab-item/tab-item.js +8 -5
- package/dist/collection/components/tab-panel/tab-panel.css +11 -11
- package/dist/collection/components/tab-panel/tab-panel.js +1 -1
- package/dist/collection/components/tab-set/tab-set.css +11 -11
- package/dist/collection/components/tab-set/tab-set.js +1 -1
- package/dist/collection/components/tabs/tabs.css +11 -11
- package/dist/collection/components/tabs/tabs.js +8 -5
- package/dist/collection/components/tile/tile.css +11 -11
- package/dist/collection/components/tile/tile.js +10 -4
- package/dist/collection/components/time-input/time-input.css +23 -22
- package/dist/collection/components/time-input/time-input.js +3 -3
- package/dist/collection/components/time-picker/time-picker.css +11 -11
- package/dist/collection/components/time-picker/time-picker.js +5 -5
- package/dist/collection/components/toast/toast-container.css +11 -11
- package/dist/collection/components/toast/toast-container.js +5 -2
- package/dist/collection/components/toast/toast.css +11 -11
- package/dist/collection/components/toast/toast.js +6 -2
- package/dist/collection/components/toggle/toggle.css +11 -11
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/toggle-button/toggle-button.css +41 -33
- package/dist/collection/components/toggle-button/toggle-button.js +5 -2
- package/dist/collection/components/tooltip/tooltip.js +2 -1
- package/dist/collection/components/tree/tree.js +4 -1
- package/dist/collection/components/tree-item/tree-item.css +11 -11
- package/dist/collection/components/tree-item/tree-item.js +7 -4
- package/dist/collection/components/typography/typography.css +11 -11
- package/dist/collection/components/typography/typography.js +4 -1
- package/dist/collection/components/upload/upload.css +11 -11
- package/dist/collection/components/upload/upload.js +3 -3
- package/dist/collection/components/utils/input/validation.js +58 -3
- package/dist/collection/components/workflow-step/workflow-step.css +11 -11
- package/dist/collection/components/workflow-step/workflow-step.js +7 -3
- package/dist/collection/components/workflow-steps/workflow-steps.css +11 -11
- package/dist/collection/components/workflow-steps/workflow-steps.js +4 -1
- package/dist/esm/chip.types-4ZsT_zIm.js +20 -0
- package/dist/esm/{helper-text-util-D0LEFZuB.js → helper-text-util-sQKO6RPJ.js} +1 -1
- package/dist/esm/{index-DgUGsIlh.js → index-BeX6RWvV.js} +11 -1
- package/dist/esm/index-EBgS4zhE.js +28 -4
- package/dist/esm/index.js +1 -1
- package/dist/esm/{input.fc-CE3kP-L_.js → input.fc-DliqEtCM.js} +1 -1
- package/dist/esm/ix-action-card.entry.js +3 -3
- package/dist/esm/ix-application-header.entry.js +11 -11
- package/dist/esm/ix-application-switch-modal.entry.js +2 -2
- package/dist/esm/ix-application.entry.js +4 -4
- package/dist/esm/ix-avatar_2.entry.js +3 -3
- package/dist/esm/ix-badge.entry.js +714 -0
- package/dist/esm/ix-blind.entry.js +7 -7
- package/dist/esm/ix-breadcrumb-item.entry.js +2 -2
- package/dist/esm/ix-breadcrumb.entry.js +4 -4
- package/dist/esm/ix-button.entry.js +3 -3
- package/dist/esm/ix-card-accordion_2.entry.js +7 -7
- package/dist/esm/ix-card-list.entry.js +63 -10
- package/dist/esm/ix-card_2.entry.js +5 -5
- package/dist/esm/ix-category-filter.entry.js +5 -5
- package/dist/esm/ix-chat-ai-message.entry.js +33 -0
- package/dist/esm/ix-chat-attachment.entry.js +108 -0
- package/dist/esm/ix-chat-input.entry.js +404 -0
- package/dist/esm/ix-chat-user-message.entry.js +64 -0
- package/dist/esm/ix-chat.entry.js +26 -0
- package/dist/esm/ix-checkbox-group.entry.js +3 -3
- package/dist/esm/ix-checkbox.entry.js +5 -5
- package/dist/esm/ix-chip.entry.js +9 -28
- package/dist/esm/ix-col_4.entry.js +12 -12
- package/dist/esm/ix-content-header.entry.js +4 -4
- package/dist/esm/ix-content.entry.js +4 -4
- package/dist/esm/ix-css-grid-item.entry.js +1 -1
- package/dist/esm/ix-css-grid.entry.js +1 -1
- package/dist/esm/ix-custom-field.entry.js +2 -2
- package/dist/esm/ix-date-dropdown.entry.js +7 -7
- package/dist/esm/ix-date-input.entry.js +7 -7
- package/dist/esm/ix-date-picker.entry.js +9 -9
- package/dist/esm/ix-date-time-card.entry.js +3 -3
- package/dist/esm/ix-datetime-input.entry.js +7 -7
- package/dist/esm/ix-datetime-picker.entry.js +4 -4
- package/dist/esm/ix-divider.entry.js +1 -1
- package/dist/esm/ix-dropdown-button.entry.js +6 -6
- package/dist/esm/ix-dropdown-header.entry.js +2 -2
- package/dist/esm/ix-dropdown-quick-actions.entry.js +1 -1
- package/dist/esm/ix-dropdown_2.entry.js +7 -7
- package/dist/esm/ix-empty-state.entry.js +2 -2
- package/dist/esm/ix-event-list-item.entry.js +6 -6
- package/dist/esm/ix-event-list.entry.js +8 -5
- package/dist/esm/ix-expanding-search.entry.js +6 -6
- package/dist/esm/ix-field-label_2.entry.js +7 -7
- package/dist/esm/ix-filter-chip_2.entry.js +6 -6
- package/dist/esm/ix-flip-tile-content.entry.js +1 -1
- package/dist/esm/ix-flip-tile.entry.js +5 -5
- package/dist/esm/ix-group-context-menu_2.entry.js +3 -3
- package/dist/esm/ix-group.entry.js +9 -9
- package/dist/esm/ix-helper-text.entry.js +4 -4
- package/dist/esm/ix-icon-button_2.entry.js +5 -5
- package/dist/esm/ix-icon-toggle-button.entry.js +3 -3
- package/dist/esm/ix-input.entry.js +8 -8
- package/dist/esm/ix-key-value-list.entry.js +1 -1
- package/dist/esm/ix-key-value.entry.js +1 -1
- package/dist/esm/ix-kpi.entry.js +5 -5
- package/dist/esm/ix-layout-auto.entry.js +1 -1
- package/dist/esm/ix-link-button.entry.js +4 -4
- package/dist/esm/ix-menu-about-item.entry.js +1 -1
- package/dist/esm/ix-menu-about-news.entry.js +6 -6
- package/dist/esm/ix-menu-about.entry.js +4 -4
- package/dist/esm/ix-menu-avatar.entry.js +4 -4
- package/dist/esm/ix-menu-category.entry.js +12 -9
- package/dist/esm/ix-menu-expand-icon.entry.js +3 -3
- package/dist/esm/ix-menu-item.entry.js +5 -5
- package/dist/esm/ix-menu-settings-item.entry.js +1 -1
- package/dist/esm/ix-menu-settings.entry.js +4 -4
- package/dist/esm/ix-menu.entry.js +14 -14
- package/dist/esm/ix-message-bar.entry.js +3 -3
- package/dist/esm/ix-modal-content_2.entry.js +5 -5
- package/dist/esm/ix-modal-footer.entry.js +2 -2
- package/dist/esm/ix-modal-loading.entry.js +1 -1
- package/dist/esm/ix-modal.entry.js +3 -3
- package/dist/esm/ix-number-input.entry.js +9 -9
- package/dist/esm/ix-pagination.entry.js +4 -4
- package/dist/esm/ix-pane-layout.entry.js +2 -2
- package/dist/esm/ix-pane.entry.js +9 -9
- package/dist/esm/ix-pill_4.entry.js +20 -20
- package/dist/esm/ix-popover-content.entry.js +2 -2
- package/dist/esm/ix-popover-footer.entry.js +2 -2
- package/dist/esm/ix-popover-header.entry.js +3 -3
- package/dist/esm/ix-popover-image.entry.js +1 -1
- package/dist/esm/ix-popover.entry.js +1 -1
- package/dist/esm/ix-progress-indicator.entry.js +4 -4
- package/dist/esm/ix-push-card.entry.js +2 -2
- package/dist/esm/ix-radio-group.entry.js +3 -3
- package/dist/esm/ix-radio.entry.js +5 -5
- package/dist/esm/ix-range-field.entry.js +4 -4
- package/dist/esm/ix-select.entry.js +17 -14
- package/dist/esm/ix-slider.entry.js +8 -8
- package/dist/esm/ix-split-button.entry.js +3 -3
- package/dist/esm/ix-tab-panel.entry.js +2 -2
- package/dist/esm/ix-textarea.entry.js +5 -5
- package/dist/esm/ix-tile.entry.js +5 -5
- package/dist/esm/ix-time-input.entry.js +7 -7
- package/dist/esm/ix-toast-container.entry.js +3 -3
- package/dist/esm/ix-toast.entry.js +4 -4
- package/dist/esm/ix-toggle-button.entry.js +3 -3
- package/dist/esm/ix-toggle.entry.js +5 -5
- package/dist/esm/ix-tooltip.entry.js +1 -1
- package/dist/esm/ix-tree-item.entry.js +6 -6
- package/dist/esm/ix-tree.entry.js +1 -1
- package/dist/esm/ix-typography.entry.js +2 -2
- package/dist/esm/ix-upload.entry.js +5 -5
- package/dist/esm/ix-workflow-step.entry.js +5 -5
- package/dist/esm/ix-workflow-steps.entry.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/siemens-ix.js +1 -1
- package/dist/esm/{validation-VVt5EFy0.js → validation-DXpftrw5.js} +59 -4
- package/dist/siemens-ix/index.esm.js +1 -1
- package/dist/siemens-ix/{p-71feb871.entry.js → p-0018f327.entry.js} +1 -1
- package/dist/siemens-ix/p-0329eb6e.entry.js +1 -0
- package/dist/siemens-ix/p-03745110.entry.js +1 -0
- package/dist/siemens-ix/p-0555a6fb.entry.js +1 -0
- package/dist/siemens-ix/{p-2f7b1e1e.entry.js → p-05c35730.entry.js} +1 -1
- package/dist/siemens-ix/p-0b10bb78.entry.js +1 -0
- package/dist/siemens-ix/p-0f2ac675.entry.js +1 -0
- package/dist/siemens-ix/{p-2202ae94.entry.js → p-12bce791.entry.js} +1 -1
- package/dist/siemens-ix/p-14554694.entry.js +1 -0
- package/dist/siemens-ix/p-1afa8fb3.entry.js +1 -0
- package/dist/siemens-ix/p-1bce1c19.entry.js +1 -0
- package/dist/siemens-ix/p-1d06e067.entry.js +1 -0
- package/dist/siemens-ix/{p-b181bf0b.entry.js → p-1fbb010f.entry.js} +1 -1
- package/dist/siemens-ix/p-1fddf959.entry.js +1 -0
- package/dist/siemens-ix/p-207d77b3.entry.js +1 -0
- package/dist/siemens-ix/{p-21b09017.entry.js → p-217dc62a.entry.js} +1 -1
- package/dist/siemens-ix/{p-f8561834.entry.js → p-222d3d93.entry.js} +1 -1
- package/dist/siemens-ix/p-2270cc5d.entry.js +1 -0
- package/dist/siemens-ix/p-29e8126a.entry.js +1 -0
- package/dist/siemens-ix/{p-34f61a28.entry.js → p-2b0ffba0.entry.js} +1 -1
- package/dist/siemens-ix/p-2e780c86.entry.js +1 -0
- package/dist/siemens-ix/p-30008054.entry.js +1 -0
- package/dist/siemens-ix/p-34d5185d.entry.js +1 -0
- package/dist/siemens-ix/p-34f2792e.entry.js +1 -0
- package/dist/siemens-ix/{p-12930fcd.entry.js → p-383e95ad.entry.js} +1 -1
- package/dist/siemens-ix/p-38e0953a.entry.js +1 -0
- package/dist/siemens-ix/p-39079ba7.entry.js +1 -0
- package/dist/siemens-ix/p-3c7a8e8b.entry.js +1 -0
- package/dist/siemens-ix/p-3ca5d3b9.entry.js +1 -0
- package/dist/siemens-ix/{p-646d5219.entry.js → p-4079292f.entry.js} +1 -1
- package/dist/siemens-ix/p-447d52de.entry.js +1 -0
- package/dist/siemens-ix/p-47e2c5a1.entry.js +1 -0
- package/dist/siemens-ix/{p-63491f83.entry.js → p-488b7074.entry.js} +1 -1
- package/dist/siemens-ix/p-49d8b129.entry.js +1 -0
- package/dist/siemens-ix/p-4ZsT_zIm.js +1 -0
- package/dist/siemens-ix/p-4b85292e.entry.js +1 -0
- package/dist/siemens-ix/p-4f02b8dd.entry.js +1 -0
- package/dist/siemens-ix/{p-d830e3d6.entry.js → p-5014b469.entry.js} +1 -1
- package/dist/siemens-ix/p-55a57ce6.entry.js +1 -0
- package/dist/siemens-ix/{p-b534dadd.entry.js → p-55ae6204.entry.js} +1 -1
- package/dist/siemens-ix/p-55e8ad3b.entry.js +1 -0
- package/dist/siemens-ix/p-58c6aa27.entry.js +1 -0
- package/dist/siemens-ix/p-5f48d238.entry.js +1 -0
- package/dist/siemens-ix/p-64432fa0.entry.js +1 -0
- package/dist/siemens-ix/p-66097da1.entry.js +1 -0
- package/dist/siemens-ix/p-66e92cdd.entry.js +1 -0
- package/dist/siemens-ix/p-6c25b44d.entry.js +1 -0
- package/dist/siemens-ix/p-6ebf66b8.entry.js +1 -0
- package/dist/siemens-ix/{p-080147bd.entry.js → p-6ffe8ec7.entry.js} +1 -1
- package/dist/siemens-ix/{p-d80e7d50.entry.js → p-7690a56d.entry.js} +1 -1
- package/dist/siemens-ix/p-7b9d9c0c.entry.js +1 -0
- package/dist/siemens-ix/{p-da2e0f0e.entry.js → p-7bc3af96.entry.js} +1 -1
- package/dist/siemens-ix/p-80d7a07a.entry.js +1 -0
- package/dist/siemens-ix/p-816bcf01.entry.js +1 -0
- package/dist/siemens-ix/{p-81248fd2.entry.js → p-836df58e.entry.js} +1 -1
- package/dist/siemens-ix/p-86ad005e.entry.js +1 -0
- package/dist/siemens-ix/{p-56d2d54c.entry.js → p-884fd236.entry.js} +1 -1
- package/dist/siemens-ix/p-89f6329b.entry.js +1 -0
- package/dist/siemens-ix/p-8a14750f.entry.js +1 -0
- package/dist/siemens-ix/p-8c3e7613.entry.js +1 -0
- package/dist/siemens-ix/p-8df1362f.entry.js +1 -0
- package/dist/siemens-ix/p-9094212f.entry.js +1 -0
- package/{components/p-BbW5EIKF.js → dist/siemens-ix/p-92804589.entry.js} +1 -1
- package/dist/siemens-ix/p-95625e2a.entry.js +1 -0
- package/dist/siemens-ix/p-99b97922.entry.js +1 -0
- package/dist/siemens-ix/p-99df3561.entry.js +1 -0
- package/dist/siemens-ix/p-BeX6RWvV.js +1 -0
- package/dist/siemens-ix/p-S-XikzrL.js +1 -0
- package/dist/siemens-ix/{p-2b9f7512.entry.js → p-a1d79970.entry.js} +1 -1
- package/dist/siemens-ix/{p-bc0f5cbe.entry.js → p-a23edbb6.entry.js} +1 -1
- package/dist/siemens-ix/{p-ee1617da.entry.js → p-a2a3d749.entry.js} +1 -1
- package/dist/siemens-ix/p-a7d695f5.entry.js +1 -0
- package/dist/siemens-ix/p-a87b0328.entry.js +1 -0
- package/dist/siemens-ix/{p-3bc384b7.entry.js → p-a92495b8.entry.js} +1 -1
- package/dist/siemens-ix/{p-9d9fec8c.entry.js → p-abe537f8.entry.js} +1 -1
- package/dist/siemens-ix/p-b299eca3.entry.js +1 -0
- package/dist/siemens-ix/{p-e9b37020.entry.js → p-b3eaf43d.entry.js} +1 -1
- package/dist/siemens-ix/p-b990c3f4.entry.js +1 -0
- package/dist/siemens-ix/p-baf74d39.entry.js +1 -0
- package/dist/siemens-ix/{p-4f0f97dd.entry.js → p-bd2f7002.entry.js} +1 -1
- package/dist/siemens-ix/p-bf75d77b.entry.js +1 -0
- package/dist/siemens-ix/{p-aec23f79.entry.js → p-bf827cb3.entry.js} +1 -1
- package/dist/siemens-ix/p-c1b669ae.entry.js +1 -0
- package/dist/siemens-ix/{p-8d73ddac.entry.js → p-c2d8ec4e.entry.js} +1 -1
- package/dist/siemens-ix/p-c3e44b4a.entry.js +1 -0
- package/dist/siemens-ix/p-c4379966.entry.js +1 -0
- package/dist/siemens-ix/{p-5685a2e6.entry.js → p-c6346987.entry.js} +1 -1
- package/dist/siemens-ix/p-c6987c42.entry.js +1 -0
- package/dist/siemens-ix/{p-d6c906b7.entry.js → p-ca4259c9.entry.js} +1 -1
- package/dist/siemens-ix/{p-b8beb613.entry.js → p-cb43f6e5.entry.js} +1 -1
- package/dist/siemens-ix/p-cc6305ab.entry.js +1 -0
- package/dist/siemens-ix/{p-264e971c.entry.js → p-ccea2ebf.entry.js} +1 -1
- package/dist/siemens-ix/p-cddc43e2.entry.js +1 -0
- package/dist/siemens-ix/{p-21e8ccb6.entry.js → p-cf56ddd5.entry.js} +1 -1
- package/dist/siemens-ix/{p-6f78e0f1.entry.js → p-cfd83faa.entry.js} +1 -1
- package/dist/siemens-ix/p-d0649c07.entry.js +1 -0
- package/dist/siemens-ix/p-d39c4aeb.entry.js +1 -0
- package/dist/siemens-ix/{p-a6a0b240.entry.js → p-d555f28a.entry.js} +1 -1
- package/dist/siemens-ix/p-e4f04831.entry.js +1 -0
- package/dist/siemens-ix/p-e789cd7e.entry.js +1 -0
- package/dist/siemens-ix/p-e7dedba9.entry.js +1 -0
- package/dist/siemens-ix/{p-ff1967de.entry.js → p-ea3b4ad4.entry.js} +1 -1
- package/dist/siemens-ix/p-eba11702.entry.js +1 -0
- package/dist/siemens-ix/p-eda419ea.entry.js +1 -0
- package/dist/siemens-ix/p-f3528209.entry.js +1 -0
- package/dist/siemens-ix/p-f3e24bb0.entry.js +1 -0
- package/dist/siemens-ix/p-f4575603.entry.js +1 -0
- package/dist/siemens-ix/p-f705bb97.entry.js +1 -0
- package/dist/siemens-ix/p-fff1f8b1.entry.js +1 -0
- package/dist/siemens-ix/{p-C518yBiI.js → p-kmPsIcs5.js} +1 -1
- package/{components/p-CAH3dF6j.js → dist/siemens-ix/p-yUgQMMln.js} +1 -1
- package/dist/siemens-ix/siemens-ix.css +11 -11
- package/dist/siemens-ix/siemens-ix.esm.js +1 -1
- package/dist/types/components/action-card/action-card.d.ts +1 -1
- package/dist/types/components/application/application.d.ts +7 -0
- package/dist/types/components/application-header/application-header.d.ts +1 -0
- package/dist/types/components/avatar/avatar.d.ts +3 -0
- package/dist/types/components/badge/badge.d.ts +210 -0
- package/dist/types/components/badge/badge.status-icon.d.ts +21 -0
- package/dist/types/components/badge/badge.types.d.ts +19 -0
- package/dist/types/components/badge/badge.utils.d.ts +10 -0
- package/dist/types/components/badge/test/badge.page.d.ts +67 -0
- package/dist/types/components/blind/blind.d.ts +5 -0
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +3 -0
- package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +3 -0
- package/dist/types/components/button/button.d.ts +3 -0
- package/dist/types/components/card/card.d.ts +4 -0
- package/dist/types/components/card-accordion/card-accordion.d.ts +3 -0
- package/dist/types/components/card-content/card-content.d.ts +3 -0
- package/dist/types/components/card-list/card-list.d.ts +7 -1
- package/dist/types/components/card-title/card-title.d.ts +1 -0
- package/dist/types/components/chat/chat.d.ts +11 -0
- package/dist/types/components/chat-ai-message/chat-ai-message.d.ts +14 -0
- package/dist/types/components/chat-attachment/chat-attachment.d.ts +47 -0
- package/dist/types/components/chat-attachment/chat-attachment.types.d.ts +1 -0
- package/dist/types/components/chat-input/chat-input.d.ts +175 -0
- package/dist/types/components/chat-user-message/chat-user-message.d.ts +23 -0
- package/dist/types/components/checkbox/checkbox.d.ts +1 -0
- package/dist/types/components/checkbox-group/checkbox-group.d.ts +1 -0
- package/dist/types/components/chip/chip.d.ts +4 -1
- package/dist/types/components/col/col.d.ts +3 -0
- package/dist/types/components/content/content.d.ts +1 -0
- package/dist/types/components/content-header/content-header.d.ts +1 -1
- package/dist/types/components/css-grid/css-grid-item.d.ts +1 -0
- package/dist/types/components/css-grid/css-grid.d.ts +1 -0
- package/dist/types/components/custom-field/custom-field.d.ts +3 -0
- package/dist/types/components/dropdown/dropdown.d.ts +3 -0
- package/dist/types/components/dropdown-button/dropdown-button.d.ts +4 -0
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +3 -0
- package/dist/types/components/dropdown-quick-actions/dropdown-quick-actions.d.ts +3 -0
- package/dist/types/components/event-list/event-list.d.ts +3 -0
- package/dist/types/components/event-list-item/event-list-item.d.ts +3 -0
- package/dist/types/components/field-label/field-label.d.ts +3 -0
- package/dist/types/components/filter-chip/filter-chip.d.ts +3 -0
- package/dist/types/components/flip-tile/flip-tile.d.ts +5 -0
- package/dist/types/components/flip-tile-content/flip-tile-content.d.ts +3 -0
- package/dist/types/components/group/group-context-menu.d.ts +3 -0
- package/dist/types/components/group/group.d.ts +6 -0
- package/dist/types/components/group-item/group-item.d.ts +3 -0
- package/dist/types/components/key-value-list/key-value-list.d.ts +3 -0
- package/dist/types/components/layout-auto/layout-auto.d.ts +3 -0
- package/dist/types/components/layout-grid/layout-grid.d.ts +3 -0
- package/dist/types/components/link-button/link-button.d.ts +3 -0
- package/dist/types/components/menu/menu.d.ts +8 -0
- package/dist/types/components/menu-about/menu-about.d.ts +3 -0
- package/dist/types/components/menu-about-item/menu-about-item.d.ts +1 -0
- package/dist/types/components/menu-about-news/menu-about-news.d.ts +3 -0
- package/dist/types/components/menu-avatar/menu-avatar.d.ts +3 -0
- package/dist/types/components/menu-category/menu-category.d.ts +4 -1
- package/dist/types/components/menu-item/menu-item.d.ts +1 -1
- package/dist/types/components/menu-settings/menu-settings.d.ts +3 -0
- package/dist/types/components/menu-settings-item/menu-settings-item.d.ts +1 -0
- package/dist/types/components/message-bar/message-bar.d.ts +3 -0
- package/dist/types/components/modal/modal.d.ts +3 -0
- package/dist/types/components/modal-content/modal-content.d.ts +3 -0
- package/dist/types/components/modal-footer/modal-footer.d.ts +3 -0
- package/dist/types/components/modal-header/modal-header.d.ts +3 -0
- package/dist/types/components/pane/pane.d.ts +1 -0
- package/dist/types/components/pane-layout/pane-layout.d.ts +8 -0
- package/dist/types/components/pill/pill.d.ts +3 -0
- package/dist/types/components/popover/popover.d.ts +1 -1
- package/dist/types/components/popover-content/popover-content.d.ts +1 -1
- package/dist/types/components/popover-footer/popover-footer.d.ts +1 -1
- package/dist/types/components/popover-header/popover-header.d.ts +1 -1
- package/dist/types/components/progress-indicator/progress-indicator.d.ts +2 -0
- package/dist/types/components/push-card/push-card.d.ts +4 -0
- package/dist/types/components/radio/radio.d.ts +1 -0
- package/dist/types/components/radio-group/radio-group.d.ts +1 -0
- package/dist/types/components/range-field/range-field.d.ts +3 -0
- package/dist/types/components/row/row.d.ts +3 -0
- package/dist/types/components/select/select.d.ts +1 -0
- package/dist/types/components/split-button/split-button.d.ts +3 -0
- package/dist/types/components/tab-item/tab-item.d.ts +3 -0
- package/dist/types/components/tabs/tabs.d.ts +3 -0
- package/dist/types/components/tile/tile.d.ts +6 -0
- package/dist/types/components/toast/toast-container.d.ts +3 -0
- package/dist/types/components/toast/toast.d.ts +4 -0
- package/dist/types/components/toggle-button/toggle-button.d.ts +3 -0
- package/dist/types/components/tooltip/tooltip.d.ts +1 -0
- package/dist/types/components/tree/tree.d.ts +3 -0
- package/dist/types/components/tree-item/tree-item.d.ts +3 -0
- package/dist/types/components/typography/typography.d.ts +3 -0
- package/dist/types/components/utils/input/validation.d.ts +6 -0
- package/dist/types/components/workflow-step/workflow-step.d.ts +4 -0
- package/dist/types/components/workflow-steps/workflow-steps.d.ts +3 -0
- package/dist/types/components.d.ts +706 -5
- package/dist/types/public-api.d.ts +1 -0
- package/hydrate/index.js +2269 -457
- package/hydrate/index.mjs +2269 -457
- package/package.json +3 -3
- package/scss/mixins/_scrollbar.scss +21 -9
- package/components/p-3VG6z9c3.js +0 -1
- package/components/p-5ntkLbuJ.js +0 -1
- package/components/p-7HGOhDMX.js +0 -1
- package/components/p-B-O0ylt_.js +0 -1
- package/components/p-BDlGgfYh.js +0 -1
- package/components/p-BWH03B1n.js +0 -1
- package/components/p-BWknDysp.js +0 -1
- package/components/p-BtSt9tC5.js +0 -1
- package/components/p-BzFLbXmT.js +0 -1
- package/components/p-C-sZLWci.js +0 -1
- package/components/p-C0WZnIxc.js +0 -1
- package/components/p-C2jvmCOl.js +0 -1
- package/components/p-CDf5TQum.js +0 -1
- package/components/p-CG9cQxRO.js +0 -1
- package/components/p-CJoOEoc-.js +0 -1
- package/components/p-CMtwWb3-.js +0 -1
- package/components/p-CpOGS2e_.js +0 -1
- package/components/p-CrDBjFhu.js +0 -1
- package/components/p-Cy2KAdml.js +0 -1
- package/components/p-DDvuSQX3.js +0 -1
- package/components/p-DHydRnvu.js +0 -1
- package/components/p-DKH7tPDu.js +0 -1
- package/components/p-DM7ma3Eh.js +0 -1
- package/components/p-DiLKm3tq.js +0 -1
- package/components/p-Dwe6tWhq.js +0 -1
- package/components/p-DziPiOL3.js +0 -1
- package/components/p-GmOVROeD.js +0 -1
- package/components/p-ImMb0joA.js +0 -1
- package/components/p-Wr4Qf8LA.js +0 -1
- package/components/p-aUZgVnx5.js +0 -1
- package/components/p-wFiL3dN1.js +0 -1
- package/components/p-zqHenwXl.js +0 -1
- package/components/p-zyYHTdEN.js +0 -1
- package/dist/siemens-ix/p-074c8b24.entry.js +0 -1
- package/dist/siemens-ix/p-0d60bd71.entry.js +0 -1
- package/dist/siemens-ix/p-0eb3a12a.entry.js +0 -1
- package/dist/siemens-ix/p-18cae4df.entry.js +0 -1
- package/dist/siemens-ix/p-1a6b7e92.entry.js +0 -1
- package/dist/siemens-ix/p-2072682b.entry.js +0 -1
- package/dist/siemens-ix/p-247d2e7a.entry.js +0 -1
- package/dist/siemens-ix/p-24c54468.entry.js +0 -1
- package/dist/siemens-ix/p-321a10b6.entry.js +0 -1
- package/dist/siemens-ix/p-35bfaa91.entry.js +0 -1
- package/dist/siemens-ix/p-3854287c.entry.js +0 -1
- package/dist/siemens-ix/p-3bb5600a.entry.js +0 -1
- package/dist/siemens-ix/p-46768472.entry.js +0 -1
- package/dist/siemens-ix/p-46b2b660.entry.js +0 -1
- package/dist/siemens-ix/p-4bc4a175.entry.js +0 -1
- package/dist/siemens-ix/p-52dc064a.entry.js +0 -1
- package/dist/siemens-ix/p-54a22a58.entry.js +0 -1
- package/dist/siemens-ix/p-5ff289c7.entry.js +0 -1
- package/dist/siemens-ix/p-601224bd.entry.js +0 -1
- package/dist/siemens-ix/p-62a7ae9c.entry.js +0 -1
- package/dist/siemens-ix/p-641bc66c.entry.js +0 -1
- package/dist/siemens-ix/p-66b4875e.entry.js +0 -1
- package/dist/siemens-ix/p-705eded9.entry.js +0 -1
- package/dist/siemens-ix/p-710d32a6.entry.js +0 -1
- package/dist/siemens-ix/p-7c120d09.entry.js +0 -1
- package/dist/siemens-ix/p-7e6a5c38.entry.js +0 -1
- package/dist/siemens-ix/p-7fc7c67f.entry.js +0 -1
- package/dist/siemens-ix/p-8164a98b.entry.js +0 -1
- package/dist/siemens-ix/p-83f4cd88.entry.js +0 -1
- package/dist/siemens-ix/p-8900e229.entry.js +0 -1
- package/dist/siemens-ix/p-8969b2f9.entry.js +0 -1
- package/dist/siemens-ix/p-8c2365cc.entry.js +0 -1
- package/dist/siemens-ix/p-8cea823b.entry.js +0 -1
- package/dist/siemens-ix/p-8d05ae35.entry.js +0 -1
- package/dist/siemens-ix/p-90a5cda7.entry.js +0 -1
- package/dist/siemens-ix/p-957b77ec.entry.js +0 -1
- package/dist/siemens-ix/p-9a88ff9c.entry.js +0 -1
- package/dist/siemens-ix/p-DgUGsIlh.js +0 -1
- package/dist/siemens-ix/p-ae07f671.entry.js +0 -1
- package/dist/siemens-ix/p-b13f34d1.entry.js +0 -1
- package/dist/siemens-ix/p-b63d7f36.entry.js +0 -1
- package/dist/siemens-ix/p-b75db823.entry.js +0 -1
- package/dist/siemens-ix/p-b7f2f229.entry.js +0 -1
- package/dist/siemens-ix/p-ba9dcd79.entry.js +0 -1
- package/dist/siemens-ix/p-bc11adcd.entry.js +0 -1
- package/dist/siemens-ix/p-bfb758cb.entry.js +0 -1
- package/dist/siemens-ix/p-c0c6d772.entry.js +0 -1
- package/dist/siemens-ix/p-c0dc5a8e.entry.js +0 -1
- package/dist/siemens-ix/p-c6d63b3c.entry.js +0 -1
- package/dist/siemens-ix/p-c97c218d.entry.js +0 -1
- package/dist/siemens-ix/p-d13c0b78.entry.js +0 -1
- package/dist/siemens-ix/p-d1ab68b3.entry.js +0 -1
- package/dist/siemens-ix/p-d253dadb.entry.js +0 -1
- package/dist/siemens-ix/p-d74baa8a.entry.js +0 -1
- package/dist/siemens-ix/p-d770d8ba.entry.js +0 -1
- package/dist/siemens-ix/p-db105778.entry.js +0 -1
- package/dist/siemens-ix/p-dc16a32d.entry.js +0 -1
- package/dist/siemens-ix/p-de58069d.entry.js +0 -1
- package/dist/siemens-ix/p-e283d7d1.entry.js +0 -1
- package/dist/siemens-ix/p-e5d2a048.entry.js +0 -1
- package/dist/siemens-ix/p-e698e193.entry.js +0 -1
- package/dist/siemens-ix/p-f0d97723.entry.js +0 -1
- package/dist/siemens-ix/p-f1257e08.entry.js +0 -1
- package/dist/siemens-ix/p-f9628912.entry.js +0 -1
- package/dist/siemens-ix/p-fa5c236f.entry.js +0 -1
- package/dist/siemens-ix/p-fb1e66a7.entry.js +0 -1
- package/dist/siemens-ix/p-fdec73d4.entry.js +0 -1
- package/dist/siemens-ix/p-yZFaEeBW.js +0 -1
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* SPDX-FileCopyrightText: 2026 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 { iconAlarm, iconAlarmFilled, iconCircleFilled, iconError, iconErrorFilled, iconInfo, iconInfoFilled, iconRhombFilled, iconSuccess, iconSuccessFilled, iconTriangleFilled, iconWarning, iconWarningFilled, iconWarningRhomb, iconWarningRhombFilled, } from "@siemens/ix-icons/icons";
|
|
10
|
+
/** Fallback when the variant has no status glyph. */
|
|
11
|
+
export const BADGE_STATUS_ICON_FALLBACK_VARIANT = 'info';
|
|
12
|
+
/** Status icons by variant (`outline` / `filled` / `plate`). */
|
|
13
|
+
export const BADGE_STATUS_ICON_BY_VARIANT = {
|
|
14
|
+
alarm: {
|
|
15
|
+
filled: iconAlarmFilled,
|
|
16
|
+
outline: iconAlarm,
|
|
17
|
+
plate: iconCircleFilled,
|
|
18
|
+
},
|
|
19
|
+
error: {
|
|
20
|
+
filled: iconErrorFilled,
|
|
21
|
+
outline: iconError,
|
|
22
|
+
plate: iconCircleFilled,
|
|
23
|
+
},
|
|
24
|
+
critical: {
|
|
25
|
+
filled: iconWarningRhombFilled,
|
|
26
|
+
outline: iconWarningRhomb,
|
|
27
|
+
plate: iconRhombFilled,
|
|
28
|
+
},
|
|
29
|
+
warning: {
|
|
30
|
+
filled: iconWarningFilled,
|
|
31
|
+
outline: iconWarning,
|
|
32
|
+
plate: iconTriangleFilled,
|
|
33
|
+
},
|
|
34
|
+
info: {
|
|
35
|
+
filled: iconInfoFilled,
|
|
36
|
+
outline: iconInfo,
|
|
37
|
+
plate: iconCircleFilled,
|
|
38
|
+
},
|
|
39
|
+
success: {
|
|
40
|
+
filled: iconSuccessFilled,
|
|
41
|
+
outline: iconSuccess,
|
|
42
|
+
plate: iconCircleFilled,
|
|
43
|
+
},
|
|
44
|
+
};
|
|
45
|
+
export function isBadgeStatusIconVariant(variant) {
|
|
46
|
+
return Object.hasOwn(BADGE_STATUS_ICON_BY_VARIANT, variant);
|
|
47
|
+
}
|
|
48
|
+
function resolveStatusIconVariant(variant) {
|
|
49
|
+
return isBadgeStatusIconVariant(variant)
|
|
50
|
+
? variant
|
|
51
|
+
: BADGE_STATUS_ICON_FALLBACK_VARIANT;
|
|
52
|
+
}
|
|
53
|
+
/** Status glyph for a variant (falls back to **info**). */
|
|
54
|
+
export function getBadgeStatusIcon(variant, outline = false) {
|
|
55
|
+
const icons = BADGE_STATUS_ICON_BY_VARIANT[resolveStatusIconVariant(variant)];
|
|
56
|
+
return outline ? icons.outline : icons.filled;
|
|
57
|
+
}
|
|
58
|
+
/** Plate icon for the filled status stack. */
|
|
59
|
+
export function getBadgeStatusIconPlate(variant) {
|
|
60
|
+
return BADGE_STATUS_ICON_BY_VARIANT[resolveStatusIconVariant(variant)].plate;
|
|
61
|
+
}
|
|
62
|
+
/** Resolved status-icon variant for host classes (falls back to **info**). */
|
|
63
|
+
export function getResolvedStatusIconVariant(variant) {
|
|
64
|
+
return resolveStatusIconVariant(variant);
|
|
65
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* SPDX-FileCopyrightText: 2026 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
|
+
export const BADGE_ANATOMY_TYPES = [
|
|
10
|
+
'label',
|
|
11
|
+
'counter',
|
|
12
|
+
'dot',
|
|
13
|
+
'status-icon',
|
|
14
|
+
];
|
|
15
|
+
/** Pill anatomies share chip semantic variants. */
|
|
16
|
+
export { CHIP_VARIANTS as BADGE_VARIANTS } from '../chip/chip.types';
|
|
17
|
+
export const BADGE_POSITIONS = ['top-after', 'bottom-after'];
|
|
18
|
+
/** Default attached offsets (px) added to **offsetX** / **offsetY**. */
|
|
19
|
+
export const BADGE_ATTACHED_OFFSET_DEFAULTS = {
|
|
20
|
+
dot: { x: -6, y: -6 },
|
|
21
|
+
label: { x: -10, y: -10 },
|
|
22
|
+
counter: { x: -10, y: -10 },
|
|
23
|
+
'status-icon': { x: -10, y: -10 },
|
|
24
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* SPDX-FileCopyrightText: 2026 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
|
+
export const BADGE_OVERFLOW_THRESHOLD = 99;
|
|
10
|
+
const INTEGER_LABEL_PATTERN = /^-?\d+(\.\d+)?$/;
|
|
11
|
+
const OVERFLOW_LABEL = `${BADGE_OVERFLOW_THRESHOLD}+`;
|
|
12
|
+
/**
|
|
13
|
+
* Formats badge label text for supported anatomy types.
|
|
14
|
+
* Returns `null` when the type has no text or the value is invalid.
|
|
15
|
+
* Counters truncate decimals and cap at `99+`.
|
|
16
|
+
*/
|
|
17
|
+
export function formatBadgeLabel(type, label) {
|
|
18
|
+
switch (type) {
|
|
19
|
+
case 'counter':
|
|
20
|
+
return formatCounterLabel(label);
|
|
21
|
+
case 'label':
|
|
22
|
+
return formatTextLabel(label);
|
|
23
|
+
case 'dot':
|
|
24
|
+
case 'status-icon':
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
function coerceLabelText(label) {
|
|
29
|
+
if (label === undefined || label === null) {
|
|
30
|
+
return '';
|
|
31
|
+
}
|
|
32
|
+
return String(label).trim();
|
|
33
|
+
}
|
|
34
|
+
function formatTextLabel(label) {
|
|
35
|
+
const trimmed = coerceLabelText(label);
|
|
36
|
+
if (!trimmed) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
return trimmed;
|
|
40
|
+
}
|
|
41
|
+
function formatCounterLabel(label) {
|
|
42
|
+
const trimmed = coerceLabelText(label);
|
|
43
|
+
if (!trimmed) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
if (trimmed === OVERFLOW_LABEL) {
|
|
47
|
+
return OVERFLOW_LABEL;
|
|
48
|
+
}
|
|
49
|
+
if (!INTEGER_LABEL_PATTERN.test(trimmed)) {
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
const intValue = Math.trunc(Number(trimmed));
|
|
53
|
+
if (intValue > BADGE_OVERFLOW_THRESHOLD) {
|
|
54
|
+
return OVERFLOW_LABEL;
|
|
55
|
+
}
|
|
56
|
+
return String(intValue);
|
|
57
|
+
}
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* SPDX-FileCopyrightText: 2026 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
|
+
/**
|
|
11
|
+
* Page Object Model for ix-badge component testing.
|
|
12
|
+
*
|
|
13
|
+
* Prefer accessibility locators (`getByRole`, `getByText`, accessible name /
|
|
14
|
+
* description) for author-facing contracts. Fall back to tag / CSS selectors
|
|
15
|
+
* for custom-element host state and decorative chrome (e.g. attached
|
|
16
|
+
* `aria-hidden` indicator) that is intentionally outside the a11y tree.
|
|
17
|
+
*
|
|
18
|
+
* Usage:
|
|
19
|
+
* ```ts
|
|
20
|
+
* const badge = new BadgePage(page);
|
|
21
|
+
* await badge.expectHydrated();
|
|
22
|
+
* await badge.expectVisibleLabel('12');
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export class BadgePage {
|
|
26
|
+
page;
|
|
27
|
+
constructor(page) {
|
|
28
|
+
this.page = page;
|
|
29
|
+
}
|
|
30
|
+
/** First badge on the page (single-badge fixtures without a naming role). */
|
|
31
|
+
get host() {
|
|
32
|
+
return this.page.locator('ix-badge').first();
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Named standalone badge via host `role` + accessible name.
|
|
36
|
+
* Prefer this over `host` when the fixture sets `role` / `aria-label`.
|
|
37
|
+
*/
|
|
38
|
+
getByRole(role, name) {
|
|
39
|
+
return this.page.getByRole(role, { name });
|
|
40
|
+
}
|
|
41
|
+
getButton(name) {
|
|
42
|
+
return this.page.getByRole('button', { name });
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Decorative indicator chrome (often `aria-hidden` when attached).
|
|
46
|
+
* Structural on purpose — not exposed in the accessibility tree.
|
|
47
|
+
*/
|
|
48
|
+
get indicator() {
|
|
49
|
+
return this.host.locator('.indicator');
|
|
50
|
+
}
|
|
51
|
+
indicatorOf(badge) {
|
|
52
|
+
return badge.locator('.indicator');
|
|
53
|
+
}
|
|
54
|
+
get label() {
|
|
55
|
+
return this.host.locator('.label');
|
|
56
|
+
}
|
|
57
|
+
get description() {
|
|
58
|
+
return this.host.locator(`> .description, > [slot="description"]`).first();
|
|
59
|
+
}
|
|
60
|
+
get leadingIcon() {
|
|
61
|
+
return this.indicator.locator('ix-icon.icon');
|
|
62
|
+
}
|
|
63
|
+
get statusIconPlate() {
|
|
64
|
+
return this.indicator.locator('ix-icon.status-icon-plate');
|
|
65
|
+
}
|
|
66
|
+
get statusIconGlyph() {
|
|
67
|
+
return this.indicator.locator('ix-icon.status-icon-glyph');
|
|
68
|
+
}
|
|
69
|
+
async expectHydrated(badge = this.host) {
|
|
70
|
+
await expect(badge).toHaveClass(/\bhydrated\b/);
|
|
71
|
+
}
|
|
72
|
+
async expectAttached(badge = this.host) {
|
|
73
|
+
await expect(badge).toHaveClass(/\battached\b/);
|
|
74
|
+
}
|
|
75
|
+
async expectStandalone(badge = this.host) {
|
|
76
|
+
await expect(badge).not.toHaveClass(/\battached\b/);
|
|
77
|
+
}
|
|
78
|
+
async expectHostClass(pattern, badge = this.host) {
|
|
79
|
+
await expect(badge).toHaveClass(pattern);
|
|
80
|
+
}
|
|
81
|
+
async expectNoHostClass(pattern, badge = this.host) {
|
|
82
|
+
await expect(badge).not.toHaveClass(pattern);
|
|
83
|
+
}
|
|
84
|
+
async expectVisibleLabel(text, badge = this.host) {
|
|
85
|
+
await expect(badge.getByText(text, { exact: true })).toBeVisible();
|
|
86
|
+
}
|
|
87
|
+
async expectNoIndicator(badge = this.host) {
|
|
88
|
+
await expect(this.indicatorOf(badge)).toHaveCount(0);
|
|
89
|
+
}
|
|
90
|
+
async expectIndicatorVisible(badge = this.host) {
|
|
91
|
+
await expect(this.indicatorOf(badge)).toBeVisible();
|
|
92
|
+
}
|
|
93
|
+
async expectLeadingIconDecorative() {
|
|
94
|
+
await expect(this.leadingIcon).toBeVisible();
|
|
95
|
+
await expect(this.leadingIcon).toHaveAttribute('aria-hidden', 'true');
|
|
96
|
+
}
|
|
97
|
+
async expectLeadingIconNamed(ariaLabel) {
|
|
98
|
+
await expect(this.indicator.getByLabel(ariaLabel)).toBeVisible();
|
|
99
|
+
await expect(this.leadingIcon).toHaveAttribute('aria-hidden', 'false');
|
|
100
|
+
}
|
|
101
|
+
async expectCustomVariantColors(background, color, badge = this.host) {
|
|
102
|
+
await expect(async () => {
|
|
103
|
+
const resolvedBackground = await badge.evaluate((el) => el.style.getPropertyValue('--ix-badge-custom-background'));
|
|
104
|
+
const resolvedColor = await badge.evaluate((el) => el.style.getPropertyValue('--ix-badge-custom-color'));
|
|
105
|
+
expect(resolvedBackground).toBe(background);
|
|
106
|
+
expect(resolvedColor).toBe(color);
|
|
107
|
+
}).toPass();
|
|
108
|
+
}
|
|
109
|
+
async expectOffsets(offsetX, offsetY, badge = this.host) {
|
|
110
|
+
await expect(async () => {
|
|
111
|
+
const resolvedOffsetX = await badge.evaluate((el) => el.style.getPropertyValue('--ix-badge-offset-x'));
|
|
112
|
+
const resolvedOffsetY = await badge.evaluate((el) => el.style.getPropertyValue('--ix-badge-offset-y'));
|
|
113
|
+
expect(resolvedOffsetX).toBe(offsetX);
|
|
114
|
+
expect(resolvedOffsetY).toBe(offsetY);
|
|
115
|
+
}).toPass();
|
|
116
|
+
}
|
|
117
|
+
async expectAttachedTextLabelA11y(buttonName, descriptionText) {
|
|
118
|
+
const button = this.getButton(buttonName);
|
|
119
|
+
const describedBy = await button.getAttribute('aria-describedby');
|
|
120
|
+
expect(describedBy).toBeTruthy();
|
|
121
|
+
await expect(this.description).toHaveText(descriptionText);
|
|
122
|
+
const descriptionId = await this.description.getAttribute('id');
|
|
123
|
+
expect(descriptionId).toBeTruthy();
|
|
124
|
+
expect(describedBy.split(/\s+/)).toContain(descriptionId);
|
|
125
|
+
// Description stays in light DOM for aria-describedby (SR-only chrome is
|
|
126
|
+
// not always exposed via Playwright's accessible description API).
|
|
127
|
+
await expect
|
|
128
|
+
.poll(async () => this.page.evaluate((id) => document.getElementById(id)?.textContent ?? null, descriptionId))
|
|
129
|
+
.toBe(descriptionText);
|
|
130
|
+
await expect(this.indicator).toHaveAttribute('aria-hidden', 'true');
|
|
131
|
+
}
|
|
132
|
+
async expectDotAttachedNoDescribedBy(buttonName) {
|
|
133
|
+
const button = this.getButton(buttonName);
|
|
134
|
+
await expect(button).not.toHaveAttribute('aria-describedby');
|
|
135
|
+
await expect(this.host).toHaveAttribute('type', 'dot');
|
|
136
|
+
await expect(this.description).toHaveCount(0);
|
|
137
|
+
}
|
|
138
|
+
async expectMergedDescribedBy(buttonName, existingId, descriptionText) {
|
|
139
|
+
const button = this.getButton(buttonName);
|
|
140
|
+
const describedBy = await button.getAttribute('aria-describedby');
|
|
141
|
+
expect(describedBy).toContain(existingId);
|
|
142
|
+
expect(describedBy?.split(/\s+/).length).toBeGreaterThan(1);
|
|
143
|
+
await expect(this.description).toHaveText(descriptionText);
|
|
144
|
+
}
|
|
145
|
+
async expectStandaloneStaticChrome(options = {}) {
|
|
146
|
+
await this.expectStandalone();
|
|
147
|
+
await expect(this.indicator).not.toHaveAttribute('role');
|
|
148
|
+
await expect(this.indicator).not.toHaveAttribute('aria-live');
|
|
149
|
+
await expect(this.indicator).not.toHaveAttribute('aria-label');
|
|
150
|
+
if (options.visibleLabel !== undefined) {
|
|
151
|
+
await this.expectVisibleLabel(options.visibleLabel);
|
|
152
|
+
}
|
|
153
|
+
if (options.hostRole === null) {
|
|
154
|
+
await expect(this.host).not.toHaveAttribute('role');
|
|
155
|
+
}
|
|
156
|
+
else if (options.hostRole !== undefined) {
|
|
157
|
+
await expect(this.host).toHaveAttribute('role', options.hostRole);
|
|
158
|
+
}
|
|
159
|
+
if (options.hostAriaLabel !== undefined) {
|
|
160
|
+
await expect(this.host).toHaveAttribute('aria-label', options.hostAriaLabel);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
async expectStandaloneHostAria(options) {
|
|
164
|
+
const named = this.getByRole(options.role, options.ariaLabel);
|
|
165
|
+
await expect(named).toBeVisible();
|
|
166
|
+
await this.expectStandalone(named);
|
|
167
|
+
await expect(this.indicatorOf(named)).not.toHaveAttribute('role');
|
|
168
|
+
if (options.ariaLive !== undefined) {
|
|
169
|
+
await expect(named).toHaveAttribute('aria-live', options.ariaLive);
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
async setLabel(label, badge = this.host) {
|
|
173
|
+
await badge.evaluate((el, value) => {
|
|
174
|
+
el.label = value;
|
|
175
|
+
}, label);
|
|
176
|
+
}
|
|
177
|
+
async disconnectKeepingAnchor(buttonName) {
|
|
178
|
+
const button = this.getButton(buttonName);
|
|
179
|
+
await button.evaluate((anchor) => {
|
|
180
|
+
const badge = anchor.closest('ix-badge');
|
|
181
|
+
if (badge) {
|
|
182
|
+
document.body.appendChild(anchor);
|
|
183
|
+
badge.remove();
|
|
184
|
+
}
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
tooltip(badge = this.host) {
|
|
188
|
+
return badge.locator('ix-tooltip');
|
|
189
|
+
}
|
|
190
|
+
}
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
:host *::before {
|
|
77
77
|
box-sizing: border-box;
|
|
78
78
|
}
|
|
79
|
-
:host
|
|
79
|
+
:host *::-webkit-scrollbar-button {
|
|
80
80
|
display: none;
|
|
81
81
|
}
|
|
82
82
|
@-moz-document url-prefix() {
|
|
@@ -85,37 +85,37 @@
|
|
|
85
85
|
scrollbar-width: thin;
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
|
-
:host {
|
|
88
|
+
:host * {
|
|
89
89
|
/* width */
|
|
90
90
|
}
|
|
91
|
-
:host
|
|
91
|
+
:host *::-webkit-scrollbar {
|
|
92
92
|
width: 0.5rem;
|
|
93
93
|
height: 0.5rem;
|
|
94
94
|
}
|
|
95
|
-
:host {
|
|
95
|
+
:host * {
|
|
96
96
|
/* Track */
|
|
97
97
|
}
|
|
98
|
-
:host
|
|
98
|
+
:host *::-webkit-scrollbar-track {
|
|
99
99
|
border-radius: 5px;
|
|
100
100
|
background: var(--theme-scrollbar-track--background);
|
|
101
101
|
}
|
|
102
|
-
:host
|
|
102
|
+
:host *::-webkit-scrollbar-track:hover {
|
|
103
103
|
background: var(--theme-scrollbar-track--background--hover);
|
|
104
104
|
}
|
|
105
|
-
:host {
|
|
105
|
+
:host * {
|
|
106
106
|
/* Handle */
|
|
107
107
|
}
|
|
108
|
-
:host
|
|
108
|
+
:host *::-webkit-scrollbar-thumb {
|
|
109
109
|
border-radius: 5px;
|
|
110
110
|
background: var(--theme-scrollbar-thumb--background);
|
|
111
111
|
}
|
|
112
|
-
:host {
|
|
112
|
+
:host * {
|
|
113
113
|
/* Handle on hover */
|
|
114
114
|
}
|
|
115
|
-
:host
|
|
115
|
+
:host *::-webkit-scrollbar-thumb:hover {
|
|
116
116
|
background: var(--theme-scrollbar-thumb--background--hover);
|
|
117
117
|
}
|
|
118
|
-
:host
|
|
118
|
+
:host *::-webkit-scrollbar-corner {
|
|
119
119
|
display: none;
|
|
120
120
|
}
|
|
121
121
|
:host .blind-header-wrapper {
|
|
@@ -222,6 +222,7 @@
|
|
|
222
222
|
max-height: 0;
|
|
223
223
|
padding-top: 0px;
|
|
224
224
|
padding-bottom: 0px;
|
|
225
|
+
border-width: 0;
|
|
225
226
|
}
|
|
226
227
|
:host .header-actions {
|
|
227
228
|
pointer-events: all;
|
|
@@ -250,10 +251,19 @@
|
|
|
250
251
|
:host(.blind-alarm) .header-actions {
|
|
251
252
|
--ix-icon-button-color: var(--theme-color-alarm--contrast);
|
|
252
253
|
}
|
|
254
|
+
:host(.blind-alarm) .blind-content {
|
|
255
|
+
border-radius: 0 0 var(--theme-blind--border-radius) var(--theme-blind--border-radius);
|
|
256
|
+
border: solid var(--theme-blind--border-thickness) var(--theme-color-alarm-bdr);
|
|
257
|
+
border-top: none;
|
|
258
|
+
}
|
|
253
259
|
:host(.blind-alarm) {
|
|
254
260
|
background-color: var(--theme-blind-base--background);
|
|
255
261
|
}
|
|
256
262
|
|
|
263
|
+
:host(.blind-alarm[collapsed]) .blind-content {
|
|
264
|
+
border-width: 0;
|
|
265
|
+
}
|
|
266
|
+
|
|
257
267
|
:host(.blind-critical) .blind-header {
|
|
258
268
|
background-color: var(--theme-color-critical);
|
|
259
269
|
}
|
|
@@ -276,10 +286,19 @@
|
|
|
276
286
|
:host(.blind-critical) .header-actions {
|
|
277
287
|
--ix-icon-button-color: var(--theme-color-critical--contrast);
|
|
278
288
|
}
|
|
289
|
+
:host(.blind-critical) .blind-content {
|
|
290
|
+
border-radius: 0 0 var(--theme-blind--border-radius) var(--theme-blind--border-radius);
|
|
291
|
+
border: solid var(--theme-blind--border-thickness) var(--theme-color-critical);
|
|
292
|
+
border-top: none;
|
|
293
|
+
}
|
|
279
294
|
:host(.blind-critical) {
|
|
280
295
|
background-color: var(--theme-blind-base--background);
|
|
281
296
|
}
|
|
282
297
|
|
|
298
|
+
:host(.blind-critical[collapsed]) .blind-content {
|
|
299
|
+
border-width: 0;
|
|
300
|
+
}
|
|
301
|
+
|
|
283
302
|
:host(.blind-info) .blind-header {
|
|
284
303
|
background-color: var(--theme-color-info);
|
|
285
304
|
}
|
|
@@ -302,10 +321,19 @@
|
|
|
302
321
|
:host(.blind-info) .header-actions {
|
|
303
322
|
--ix-icon-button-color: var(--theme-color-info--contrast);
|
|
304
323
|
}
|
|
324
|
+
:host(.blind-info) .blind-content {
|
|
325
|
+
border-radius: 0 0 var(--theme-blind--border-radius) var(--theme-blind--border-radius);
|
|
326
|
+
border: solid var(--theme-blind--border-thickness) var(--theme-color-info);
|
|
327
|
+
border-top: none;
|
|
328
|
+
}
|
|
305
329
|
:host(.blind-info) {
|
|
306
330
|
background-color: var(--theme-blind-base--background);
|
|
307
331
|
}
|
|
308
332
|
|
|
333
|
+
:host(.blind-info[collapsed]) .blind-content {
|
|
334
|
+
border-width: 0;
|
|
335
|
+
}
|
|
336
|
+
|
|
309
337
|
:host(.blind-neutral) .blind-header {
|
|
310
338
|
background-color: var(--theme-color-neutral);
|
|
311
339
|
}
|
|
@@ -328,10 +356,19 @@
|
|
|
328
356
|
:host(.blind-neutral) .header-actions {
|
|
329
357
|
--ix-icon-button-color: var(--theme-color-neutral--contrast);
|
|
330
358
|
}
|
|
359
|
+
:host(.blind-neutral) .blind-content {
|
|
360
|
+
border-radius: 0 0 var(--theme-blind--border-radius) var(--theme-blind--border-radius);
|
|
361
|
+
border: solid var(--theme-blind--border-thickness) var(--theme-color-neutral);
|
|
362
|
+
border-top: none;
|
|
363
|
+
}
|
|
331
364
|
:host(.blind-neutral) {
|
|
332
365
|
background-color: var(--theme-blind-base--background);
|
|
333
366
|
}
|
|
334
367
|
|
|
368
|
+
:host(.blind-neutral[collapsed]) .blind-content {
|
|
369
|
+
border-width: 0;
|
|
370
|
+
}
|
|
371
|
+
|
|
335
372
|
:host(.blind-filled) .blind-header {
|
|
336
373
|
background-color: var(--theme-color-filled);
|
|
337
374
|
}
|
|
@@ -376,10 +413,19 @@
|
|
|
376
413
|
:host(.blind-success) .header-actions {
|
|
377
414
|
--ix-icon-button-color: var(--theme-color-success--contrast);
|
|
378
415
|
}
|
|
416
|
+
:host(.blind-success) .blind-content {
|
|
417
|
+
border-radius: 0 0 var(--theme-blind--border-radius) var(--theme-blind--border-radius);
|
|
418
|
+
border: solid var(--theme-blind--border-thickness) var(--theme-color-success);
|
|
419
|
+
border-top: none;
|
|
420
|
+
}
|
|
379
421
|
:host(.blind-success) {
|
|
380
422
|
background-color: var(--theme-blind-base--background);
|
|
381
423
|
}
|
|
382
424
|
|
|
425
|
+
:host(.blind-success[collapsed]) .blind-content {
|
|
426
|
+
border-width: 0;
|
|
427
|
+
}
|
|
428
|
+
|
|
383
429
|
:host(.blind-warning) .blind-header {
|
|
384
430
|
background-color: var(--theme-color-warning);
|
|
385
431
|
}
|
|
@@ -402,10 +448,19 @@
|
|
|
402
448
|
:host(.blind-warning) .header-actions {
|
|
403
449
|
--ix-icon-button-color: var(--theme-color-warning--contrast);
|
|
404
450
|
}
|
|
451
|
+
:host(.blind-warning) .blind-content {
|
|
452
|
+
border-radius: 0 0 var(--theme-blind--border-radius) var(--theme-blind--border-radius);
|
|
453
|
+
border: solid var(--theme-blind--border-thickness) var(--theme-color-warning-bdr);
|
|
454
|
+
border-top: none;
|
|
455
|
+
}
|
|
405
456
|
:host(.blind-warning) {
|
|
406
457
|
background-color: var(--theme-blind-base--background);
|
|
407
458
|
}
|
|
408
459
|
|
|
460
|
+
:host(.blind-warning[collapsed]) .blind-content {
|
|
461
|
+
border-width: 0;
|
|
462
|
+
}
|
|
463
|
+
|
|
409
464
|
:host(.blind-primary) .blind-header {
|
|
410
465
|
background-color: var(--theme-color-primary);
|
|
411
466
|
}
|
|
@@ -428,13 +483,19 @@
|
|
|
428
483
|
:host(.blind-primary) .header-actions {
|
|
429
484
|
--ix-icon-button-color: var(--theme-color-primary--contrast);
|
|
430
485
|
}
|
|
486
|
+
:host(.blind-primary) .blind-content {
|
|
487
|
+
border-radius: 0 0 var(--theme-blind--border-radius) var(--theme-blind--border-radius);
|
|
488
|
+
border: solid var(--theme-blind--border-thickness) var(--theme-color-primary);
|
|
489
|
+
border-top: none;
|
|
490
|
+
}
|
|
431
491
|
:host(.blind-primary) {
|
|
432
492
|
background-color: var(--theme-blind-base--background);
|
|
433
493
|
}
|
|
434
494
|
|
|
435
|
-
:host(.blind-
|
|
436
|
-
border:
|
|
495
|
+
:host(.blind-primary[collapsed]) .blind-content {
|
|
496
|
+
border-width: 0;
|
|
437
497
|
}
|
|
498
|
+
|
|
438
499
|
:host(.blind-outline) .blind-header {
|
|
439
500
|
background-color: var(--theme-color-ghost);
|
|
440
501
|
}
|
|
@@ -453,6 +514,49 @@
|
|
|
453
514
|
:host(.blind-outline) .header-actions {
|
|
454
515
|
--ix-icon-button-color: var(--theme-color-primary);
|
|
455
516
|
}
|
|
456
|
-
:host(.blind-outline) {
|
|
457
|
-
border
|
|
517
|
+
:host(.blind-outline) .blind-header-wrapper {
|
|
518
|
+
border: solid var(--theme-blind--border-thickness) var(--theme-color-soft-bdr);
|
|
519
|
+
border-bottom: none;
|
|
520
|
+
border-radius: var(--theme-blind--border-radius) var(--theme-blind--border-radius) 0 0;
|
|
521
|
+
}
|
|
522
|
+
:host(.blind-outline) .blind-header-wrapper:not(.disabled):not(:disabled) {
|
|
523
|
+
cursor: pointer;
|
|
524
|
+
}
|
|
525
|
+
:host(.blind-outline) .blind-header-wrapper:not(.disabled):not(:disabled):hover, :host(.blind-outline) .blind-header-wrapper:not(.disabled):not(:disabled).hover {
|
|
526
|
+
border-color: var(--theme-color-ghost--hover);
|
|
527
|
+
}
|
|
528
|
+
:host(.blind-outline) .blind-header-wrapper:not(.disabled):not(:disabled) {
|
|
529
|
+
cursor: pointer;
|
|
530
|
+
}
|
|
531
|
+
:host(.blind-outline) .blind-header-wrapper:not(.disabled):not(:disabled):active, :host(.blind-outline) .blind-header-wrapper:not(.disabled):not(:disabled).active {
|
|
532
|
+
border-color: var(--theme-color-ghost--active);
|
|
533
|
+
}
|
|
534
|
+
:host(.blind-outline) .blind-header {
|
|
535
|
+
border-radius: 0;
|
|
536
|
+
}
|
|
537
|
+
:host(.blind-outline) .blind-content {
|
|
538
|
+
border-radius: 0 0 var(--theme-blind--border-radius) var(--theme-blind--border-radius);
|
|
539
|
+
border: solid var(--theme-blind--border-thickness) var(--theme-color-soft-bdr);
|
|
540
|
+
border-top: none;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
:host(.blind-outline[collapsed]) .blind-header-wrapper {
|
|
544
|
+
box-sizing: border-box;
|
|
545
|
+
border-bottom: solid var(--theme-blind--border-thickness) var(--theme-color-soft-bdr);
|
|
546
|
+
border-radius: var(--theme-blind--border-radius);
|
|
547
|
+
}
|
|
548
|
+
:host(.blind-outline[collapsed]) .blind-header-wrapper:not(.disabled):not(:disabled) {
|
|
549
|
+
cursor: pointer;
|
|
550
|
+
}
|
|
551
|
+
:host(.blind-outline[collapsed]) .blind-header-wrapper:not(.disabled):not(:disabled):hover, :host(.blind-outline[collapsed]) .blind-header-wrapper:not(.disabled):not(:disabled).hover {
|
|
552
|
+
border-color: var(--theme-color-ghost--hover);
|
|
553
|
+
}
|
|
554
|
+
:host(.blind-outline[collapsed]) .blind-header-wrapper:not(.disabled):not(:disabled) {
|
|
555
|
+
cursor: pointer;
|
|
556
|
+
}
|
|
557
|
+
:host(.blind-outline[collapsed]) .blind-header-wrapper:not(.disabled):not(:disabled):active, :host(.blind-outline[collapsed]) .blind-header-wrapper:not(.disabled):not(:disabled).active {
|
|
558
|
+
border-color: var(--theme-color-ghost--active);
|
|
559
|
+
}
|
|
560
|
+
:host(.blind-outline[collapsed]) .blind-content {
|
|
561
|
+
border-width: 0;
|
|
458
562
|
}
|
|
@@ -12,6 +12,11 @@ import { a11yBoolean } from "../utils/a11y";
|
|
|
12
12
|
import { iconChevronDownSmall } from "@siemens/ix-icons/icons";
|
|
13
13
|
import Animation from "../utils/animation";
|
|
14
14
|
let sequentialInstanceId = 0;
|
|
15
|
+
/**
|
|
16
|
+
* @slot custom-header - Custom content inside blind header.
|
|
17
|
+
* @slot header-actions - Actions displayed at the end of the header.
|
|
18
|
+
* @slot default - Expandable blind content.
|
|
19
|
+
*/
|
|
15
20
|
export class Blind {
|
|
16
21
|
/**
|
|
17
22
|
* Collapsed state
|
|
@@ -87,17 +92,17 @@ export class Blind {
|
|
|
87
92
|
});
|
|
88
93
|
}
|
|
89
94
|
render() {
|
|
90
|
-
return (h(Host, { key: '
|
|
95
|
+
return (h(Host, { key: 'e4e314d907ffb3d35a2146be4791f740c689a23d', class: {
|
|
91
96
|
[`blind-${this.variant}`]: true,
|
|
92
|
-
} }, h("div", { key: '
|
|
97
|
+
} }, h("div", { key: '4106b62a76f283fcd52a38087391b4ae1eb3566b', class: 'blind-header-wrapper' }, h("button", { key: 'dc53c52cfffaeb1f289d4325d2106f114c873ea7', class: {
|
|
93
98
|
'blind-header': true,
|
|
94
99
|
[`blind-${this.variant}`]: true,
|
|
95
100
|
closed: this.collapsed,
|
|
96
|
-
}, type: "button", "aria-labelledby": `ix-blind-header-title-${this.blindId}`, "aria-controls": `ix-blind-content-section-${this.blindId}`, "aria-expanded": a11yBoolean(!this.collapsed), onClick: () => this.onHeaderClick() }, h("slot", { key: '
|
|
101
|
+
}, type: "button", "aria-labelledby": `ix-blind-header-title-${this.blindId}`, "aria-controls": `ix-blind-content-section-${this.blindId}`, "aria-expanded": a11yBoolean(!this.collapsed), onClick: () => this.onHeaderClick() }, h("slot", { key: '1582e351ade52d3b7402aeaeee6170f723ae3d05', name: "custom-header" })), h("div", { key: '9c020a69d0e4b31d66a4b737e5459b224698dda9', class: 'blind-header-content' }, h("ix-icon", { key: '575e4ba9dfe09f75e3b82dbb45949a0c31fc120c', class: "collapse-icon", name: iconChevronDownSmall, color: this.variant === 'filled' || this.variant === 'outline'
|
|
97
102
|
? 'color-std-text'
|
|
98
|
-
: `color-${this.variant}--contrast`, ref: (ref) => (this.chevronRef = ref) }), h("div", { key: '
|
|
103
|
+
: `color-${this.variant}--contrast`, ref: (ref) => (this.chevronRef = ref) }), h("div", { key: '54765780ea9d2537110239c9ce5b35e3caef79be', class: "blind-header-title", id: `ix-blind-header-title-${this.blindId}` }, this.label !== undefined ? (h(Fragment, null, this.icon && (h("ix-icon", { class: "blind-header-title-icon", name: this.icon, color: this.variant === 'filled' || this.variant === 'outline'
|
|
99
104
|
? 'color-std-text'
|
|
100
|
-
: `color-${this.variant}--contrast` })), h("div", { class: 'blind-header-title-row' }, h("div", { class: "blind-header-title-col" }, h("ix-typography", { title: this.label, format: "label-lg", bold: true }, h("div", { class: "blind-header-title-label", title: this.label }, this.label))), this.sublabel && (h("div", { class: "blind-header-title-col" }, h("ix-typography", { title: this.sublabel }, h("div", { class: "blind-header-title-sublabel" }, this.sublabel))))), h("div", { class: "header-actions" }, h("slot", { name: "header-actions" })))) : null))), h("section", { key: '
|
|
105
|
+
: `color-${this.variant}--contrast` })), h("div", { class: 'blind-header-title-row' }, h("div", { class: "blind-header-title-col" }, h("ix-typography", { title: this.label, format: "label-lg", bold: true }, h("div", { class: "blind-header-title-label", title: this.label }, this.label))), this.sublabel && (h("div", { class: "blind-header-title-col" }, h("ix-typography", { title: this.sublabel }, h("div", { class: "blind-header-title-sublabel" }, this.sublabel))))), h("div", { class: "header-actions" }, h("slot", { name: "header-actions" })))) : null))), h("section", { key: '1d50b28b421fb7590c6a1fb74f532f056811b5d9', id: `ix-blind-content-section-${this.blindId}`, "aria-labelledby": `ix-blind-header-title-${this.blindId}` }, h("div", { key: 'aacf9ff6cb2fb977d69b40d88fa045aab6d7da4f', class: {
|
|
101
106
|
'blind-content': true,
|
|
102
107
|
hide: this.collapsed,
|
|
103
108
|
} }, !this.collapsed ? h("slot", null) : null))));
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
:host *::before {
|
|
62
62
|
box-sizing: border-box;
|
|
63
63
|
}
|
|
64
|
-
:host
|
|
64
|
+
:host *::-webkit-scrollbar-button {
|
|
65
65
|
display: none;
|
|
66
66
|
}
|
|
67
67
|
@-moz-document url-prefix() {
|
|
@@ -70,37 +70,37 @@
|
|
|
70
70
|
scrollbar-width: thin;
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
:host {
|
|
73
|
+
:host * {
|
|
74
74
|
/* width */
|
|
75
75
|
}
|
|
76
|
-
:host
|
|
76
|
+
:host *::-webkit-scrollbar {
|
|
77
77
|
width: 0.5rem;
|
|
78
78
|
height: 0.5rem;
|
|
79
79
|
}
|
|
80
|
-
:host {
|
|
80
|
+
:host * {
|
|
81
81
|
/* Track */
|
|
82
82
|
}
|
|
83
|
-
:host
|
|
83
|
+
:host *::-webkit-scrollbar-track {
|
|
84
84
|
border-radius: 5px;
|
|
85
85
|
background: var(--theme-scrollbar-track--background);
|
|
86
86
|
}
|
|
87
|
-
:host
|
|
87
|
+
:host *::-webkit-scrollbar-track:hover {
|
|
88
88
|
background: var(--theme-scrollbar-track--background--hover);
|
|
89
89
|
}
|
|
90
|
-
:host {
|
|
90
|
+
:host * {
|
|
91
91
|
/* Handle */
|
|
92
92
|
}
|
|
93
|
-
:host
|
|
93
|
+
:host *::-webkit-scrollbar-thumb {
|
|
94
94
|
border-radius: 5px;
|
|
95
95
|
background: var(--theme-scrollbar-thumb--background);
|
|
96
96
|
}
|
|
97
|
-
:host {
|
|
97
|
+
:host * {
|
|
98
98
|
/* Handle on hover */
|
|
99
99
|
}
|
|
100
|
-
:host
|
|
100
|
+
:host *::-webkit-scrollbar-thumb:hover {
|
|
101
101
|
background: var(--theme-scrollbar-thumb--background--hover);
|
|
102
102
|
}
|
|
103
|
-
:host
|
|
103
|
+
:host *::-webkit-scrollbar-corner {
|
|
104
104
|
display: none;
|
|
105
105
|
}
|
|
106
106
|
:host .previous-button {
|