@siemens/ix 5.1.0 → 5.1.1
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/ix-action-card.js +1 -1
- package/components/ix-application-header.js +1 -1
- package/components/ix-application-switch-modal.js +1 -1
- package/components/ix-application.js +1 -1
- package/components/ix-avatar.js +1 -1
- package/components/ix-blind.js +1 -1
- package/components/ix-breadcrumb.js +1 -1
- package/components/ix-button.js +1 -1
- package/components/ix-card-accordion.js +1 -1
- package/components/ix-card-content.js +1 -1
- package/components/ix-card-list.js +1 -1
- package/components/ix-card-title.js +1 -1
- package/components/ix-card.js +1 -1
- package/components/ix-category-filter.js +1 -1
- package/components/ix-checkbox-group.js +1 -1
- package/components/ix-checkbox.js +1 -1
- package/components/ix-chip.js +1 -1
- package/components/ix-col.js +1 -1
- package/components/ix-content-header.js +1 -1
- package/components/ix-content.js +1 -1
- package/components/ix-css-grid-item.js +1 -1
- package/components/ix-css-grid.js +1 -1
- package/components/ix-custom-field.js +1 -1
- package/components/ix-date-dropdown.js +1 -1
- package/components/ix-date-input.js +1 -1
- package/components/ix-date-picker.js +1 -1
- package/components/ix-datetime-input.js +1 -1
- package/components/ix-datetime-picker.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-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.js +1 -1
- package/components/ix-helper-text.js +1 -1
- package/components/ix-input.js +1 -1
- package/components/ix-key-value-list.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-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.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.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-split-button.js +1 -1
- package/components/ix-tab-item.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-DhWkcMmR.js → p-1KOHyx-1.js} +1 -1
- package/components/{p-zqHenwXl.js → p-BH2Yhp3V.js} +1 -1
- package/components/{p-CrDBjFhu.js → p-BIcWFids.js} +1 -1
- package/components/{p-CGHbrmJg.js → p-BRoFUwzJ.js} +1 -1
- package/components/{p-CIA8i4dm.js → p-BZgc6bzH.js} +1 -1
- package/components/{p-Wr4Qf8LA.js → p-B_MBGj0b.js} +1 -1
- package/components/{p-BuBQiemL.js → p-Bj_6nynP.js} +1 -1
- package/components/p-C7MRPZvZ.js +1 -0
- package/components/{p-aUZgVnx5.js → p-CHV-_J6i.js} +1 -1
- package/components/{p-CrLxhwo2.js → p-CUvmGsh_.js} +1 -1
- package/components/{p-CJoOEoc-.js → p-Ca8JFa1v.js} +1 -1
- package/components/p-CbbabcAR.js +1 -0
- package/components/{p-C2jvmCOl.js → p-CgHioxG-.js} +1 -1
- package/components/{p-zyYHTdEN.js → p-CkIELF-1.js} +1 -1
- package/components/{p-CT5pAQCz.js → p-Cvpz1Ji5.js} +1 -1
- package/components/{p-DHydRnvu.js → p-D1sONqtj.js} +1 -1
- package/components/{p-CG9cQxRO.js → p-D69Mojvn.js} +1 -1
- package/components/p-DLe8Pp58.js +1 -0
- package/components/{p-C0WZnIxc.js → p-DO3HtUke.js} +1 -1
- package/components/{p-Cy2KAdml.js → p-DfdjJL6W.js} +1 -1
- package/components/{p-C-sZLWci.js → p-DjIyhGBC.js} +1 -1
- package/components/{p-BbW5EIKF.js → p-DkAUNod9.js} +1 -1
- package/components/{p-Dfd_ifAu.js → p-Dl_YKIKl.js} +1 -1
- package/components/{p-BNAvpXSk.js → p-DuMiVxY1.js} +1 -1
- package/components/{p-ImMb0joA.js → p-DwmHytZi.js} +1 -1
- package/components/{p-BDlGgfYh.js → p-LbnItC1h.js} +1 -1
- package/components/{p-CpOGS2e_.js → p-R1AQtGdV.js} +1 -1
- package/components/{p-wFiL3dN1.js → p-_f_q2Etu.js} +1 -1
- package/components/{p-DtOqKp7K.js → p-baqpOH0g.js} +1 -1
- package/components/p-f1jZqaUz.js +1 -0
- package/components/{p-B-O0ylt_.js → p-olkZUb1j.js} +1 -1
- package/components/{p-CDf5TQum.js → p-z19mjzlp.js} +1 -1
- package/dist/cjs/ix-action-card.cjs.entry.js +2 -2
- package/dist/cjs/ix-application-header.cjs.entry.js +9 -9
- package/dist/cjs/ix-application.cjs.entry.js +3 -3
- package/dist/cjs/ix-blind.cjs.entry.js +5 -5
- package/dist/cjs/ix-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/ix-button.cjs.entry.js +2 -2
- package/dist/cjs/ix-card-accordion_2.cjs.entry.js +5 -5
- package/dist/cjs/ix-card-list.cjs.entry.js +4 -4
- package/dist/cjs/ix-card_2.cjs.entry.js +3 -3
- package/dist/cjs/ix-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/ix-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/ix-chip.cjs.entry.js +4 -4
- package/dist/cjs/ix-col_4.cjs.entry.js +5 -5
- package/dist/cjs/ix-content-header.cjs.entry.js +3 -3
- package/dist/cjs/ix-content.cjs.entry.js +3 -3
- 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 +1 -1
- package/dist/cjs/ix-date-input.cjs.entry.js +1 -1
- package/dist/cjs/ix-datetime-input.cjs.entry.js +1 -1
- package/dist/cjs/ix-dropdown-button.cjs.entry.js +4 -4
- package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +1 -1
- package/dist/cjs/ix-dropdown_2.cjs.entry.js +4 -4
- package/dist/cjs/ix-event-list-item.cjs.entry.js +4 -4
- package/dist/cjs/ix-event-list.cjs.entry.js +2 -2
- package/dist/cjs/ix-field-label_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-filter-chip_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-flip-tile-content.cjs.entry.js +1 -1
- package/dist/cjs/ix-flip-tile.cjs.entry.js +3 -3
- package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-group.cjs.entry.js +8 -8
- package/dist/cjs/ix-input.cjs.entry.js +1 -1
- package/dist/cjs/ix-key-value-list.cjs.entry.js +1 -1
- package/dist/cjs/ix-layout-auto.cjs.entry.js +1 -1
- package/dist/cjs/ix-link-button.cjs.entry.js +3 -3
- package/dist/cjs/ix-menu-about-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu-about-news.cjs.entry.js +4 -4
- package/dist/cjs/ix-menu-about.cjs.entry.js +2 -2
- package/dist/cjs/ix-menu-avatar.cjs.entry.js +2 -2
- package/dist/cjs/ix-menu-category.cjs.entry.js +5 -5
- package/dist/cjs/ix-menu-item.cjs.entry.js +4 -4
- package/dist/cjs/ix-menu-settings-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu-settings.cjs.entry.js +2 -2
- package/dist/cjs/ix-menu.cjs.entry.js +12 -12
- package/dist/cjs/ix-message-bar.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal-content_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-modal-footer.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal.cjs.entry.js +3 -3
- package/dist/cjs/ix-number-input.cjs.entry.js +1 -1
- package/dist/cjs/ix-pane-layout.cjs.entry.js +1 -1
- package/dist/cjs/ix-pane.cjs.entry.js +7 -7
- package/dist/cjs/ix-pill_4.cjs.entry.js +14 -14
- package/dist/cjs/ix-popover-content.cjs.entry.js +1 -1
- package/dist/cjs/ix-popover-footer.cjs.entry.js +1 -1
- package/dist/cjs/ix-popover-header.cjs.entry.js +1 -1
- package/dist/cjs/ix-popover.cjs.entry.js +1 -1
- package/dist/cjs/ix-progress-indicator.cjs.entry.js +3 -3
- package/dist/cjs/ix-push-card.cjs.entry.js +1 -1
- package/dist/cjs/ix-radio-group.cjs.entry.js +2 -2
- package/dist/cjs/ix-radio.cjs.entry.js +3 -3
- package/dist/cjs/ix-range-field.cjs.entry.js +2 -2
- package/dist/cjs/ix-select.cjs.entry.js +13 -10
- package/dist/cjs/ix-split-button.cjs.entry.js +1 -1
- package/dist/cjs/ix-textarea.cjs.entry.js +1 -1
- package/dist/cjs/ix-tile.cjs.entry.js +4 -4
- package/dist/cjs/ix-time-input.cjs.entry.js +1 -1
- package/dist/cjs/ix-toast-container.cjs.entry.js +2 -2
- package/dist/cjs/ix-toast.cjs.entry.js +2 -2
- package/dist/cjs/ix-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/ix-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/ix-tree-item.cjs.entry.js +4 -4
- package/dist/cjs/ix-tree.cjs.entry.js +1 -1
- package/dist/cjs/ix-typography.cjs.entry.js +1 -1
- package/dist/cjs/ix-workflow-step.cjs.entry.js +3 -3
- package/dist/cjs/ix-workflow-steps.cjs.entry.js +1 -1
- package/dist/collection/components/action-card/action-card.js +3 -3
- package/dist/collection/components/application/application.js +10 -3
- package/dist/collection/components/application-header/application-header.js +10 -9
- package/dist/collection/components/avatar/avatar.js +3 -0
- package/dist/collection/components/blind/blind.js +10 -5
- package/dist/collection/components/breadcrumb/breadcrumb.js +5 -2
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +3 -0
- package/dist/collection/components/button/button.js +5 -2
- package/dist/collection/components/card/card.js +6 -2
- package/dist/collection/components/card-accordion/card-accordion.js +7 -4
- package/dist/collection/components/card-content/card-content.js +4 -1
- package/dist/collection/components/card-list/card-list.js +7 -4
- package/dist/collection/components/card-title/card-title.js +2 -1
- 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.js +7 -4
- package/dist/collection/components/col/col.js +5 -2
- 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-input/date-input.css +1 -0
- package/dist/collection/components/datetime-input/datetime-input.css +1 -0
- package/dist/collection/components/dropdown/dropdown.js +4 -1
- package/dist/collection/components/dropdown-button/dropdown-button.js +8 -4
- 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/event-list/event-list.js +5 -2
- package/dist/collection/components/event-list-item/event-list-item.js +7 -4
- package/dist/collection/components/field-label/field-label.js +5 -2
- package/dist/collection/components/filter-chip/filter-chip.js +5 -2
- 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.js +3 -0
- package/dist/collection/components/input/input.css +1 -0
- package/dist/collection/components/input/number-input.css +1 -0
- package/dist/collection/components/input/textarea.css +1 -0
- package/dist/collection/components/key-value-list/key-value-list.js +4 -1
- 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.js +20 -12
- 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.js +7 -4
- package/dist/collection/components/menu-avatar/menu-avatar.js +5 -2
- package/dist/collection/components/menu-category/menu-category.js +8 -5
- package/dist/collection/components/menu-item/menu-item.js +5 -5
- 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.js +4 -1
- package/dist/collection/components/modal/modal.js +6 -3
- package/dist/collection/components/modal-content/modal-content.js +4 -1
- package/dist/collection/components/modal-footer/modal-footer.js +4 -1
- package/dist/collection/components/modal-header/modal-header.js +4 -1
- package/dist/collection/components/pane/pane.js +8 -7
- package/dist/collection/components/pane-layout/pane-layout.js +9 -1
- 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.js +2 -2
- package/dist/collection/components/popover-footer/popover-footer.js +2 -2
- package/dist/collection/components/popover-header/popover-header.js +2 -2
- package/dist/collection/components/progress-indicator/progress-indicator.js +5 -3
- package/dist/collection/components/push-card/push-card.js +5 -1
- 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.js +5 -2
- package/dist/collection/components/row/row.js +4 -1
- package/dist/collection/components/select/select.js +14 -10
- package/dist/collection/components/split-button/split-button.js +4 -1
- package/dist/collection/components/tab-item/tab-item.js +8 -5
- package/dist/collection/components/tabs/tabs.js +8 -5
- package/dist/collection/components/tile/tile.js +10 -4
- package/dist/collection/components/time-input/time-input.css +1 -0
- package/dist/collection/components/toast/toast-container.js +5 -2
- package/dist/collection/components/toast/toast.js +6 -2
- 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.js +7 -4
- package/dist/collection/components/typography/typography.js +4 -1
- package/dist/collection/components/workflow-step/workflow-step.js +7 -3
- package/dist/collection/components/workflow-steps/workflow-steps.js +4 -1
- package/dist/esm/ix-action-card.entry.js +2 -2
- package/dist/esm/ix-application-header.entry.js +9 -9
- package/dist/esm/ix-application.entry.js +3 -3
- package/dist/esm/ix-blind.entry.js +5 -5
- package/dist/esm/ix-breadcrumb.entry.js +2 -2
- package/dist/esm/ix-button.entry.js +2 -2
- package/dist/esm/ix-card-accordion_2.entry.js +5 -5
- package/dist/esm/ix-card-list.entry.js +4 -4
- package/dist/esm/ix-card_2.entry.js +3 -3
- package/dist/esm/ix-checkbox-group.entry.js +2 -2
- package/dist/esm/ix-checkbox.entry.js +3 -3
- package/dist/esm/ix-chip.entry.js +4 -4
- package/dist/esm/ix-col_4.entry.js +5 -5
- package/dist/esm/ix-content-header.entry.js +3 -3
- package/dist/esm/ix-content.entry.js +3 -3
- 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 +1 -1
- package/dist/esm/ix-date-input.entry.js +1 -1
- package/dist/esm/ix-datetime-input.entry.js +1 -1
- package/dist/esm/ix-dropdown-button.entry.js +4 -4
- package/dist/esm/ix-dropdown-quick-actions.entry.js +1 -1
- package/dist/esm/ix-dropdown_2.entry.js +4 -4
- package/dist/esm/ix-event-list-item.entry.js +4 -4
- package/dist/esm/ix-event-list.entry.js +2 -2
- package/dist/esm/ix-field-label_2.entry.js +2 -2
- package/dist/esm/ix-filter-chip_2.entry.js +2 -2
- package/dist/esm/ix-flip-tile-content.entry.js +1 -1
- package/dist/esm/ix-flip-tile.entry.js +3 -3
- package/dist/esm/ix-group-context-menu_2.entry.js +1 -1
- package/dist/esm/ix-group.entry.js +8 -8
- package/dist/esm/ix-input.entry.js +1 -1
- package/dist/esm/ix-key-value-list.entry.js +1 -1
- package/dist/esm/ix-layout-auto.entry.js +1 -1
- package/dist/esm/ix-link-button.entry.js +3 -3
- package/dist/esm/ix-menu-about-item.entry.js +1 -1
- package/dist/esm/ix-menu-about-news.entry.js +4 -4
- package/dist/esm/ix-menu-about.entry.js +2 -2
- package/dist/esm/ix-menu-avatar.entry.js +2 -2
- package/dist/esm/ix-menu-category.entry.js +5 -5
- package/dist/esm/ix-menu-item.entry.js +4 -4
- package/dist/esm/ix-menu-settings-item.entry.js +1 -1
- package/dist/esm/ix-menu-settings.entry.js +2 -2
- package/dist/esm/ix-menu.entry.js +12 -12
- package/dist/esm/ix-message-bar.entry.js +1 -1
- package/dist/esm/ix-modal-content_2.entry.js +2 -2
- package/dist/esm/ix-modal-footer.entry.js +1 -1
- package/dist/esm/ix-modal.entry.js +3 -3
- package/dist/esm/ix-number-input.entry.js +1 -1
- package/dist/esm/ix-pane-layout.entry.js +1 -1
- package/dist/esm/ix-pane.entry.js +7 -7
- package/dist/esm/ix-pill_4.entry.js +14 -14
- package/dist/esm/ix-popover-content.entry.js +1 -1
- package/dist/esm/ix-popover-footer.entry.js +1 -1
- package/dist/esm/ix-popover-header.entry.js +1 -1
- package/dist/esm/ix-popover.entry.js +1 -1
- package/dist/esm/ix-progress-indicator.entry.js +3 -3
- package/dist/esm/ix-push-card.entry.js +1 -1
- package/dist/esm/ix-radio-group.entry.js +2 -2
- package/dist/esm/ix-radio.entry.js +3 -3
- package/dist/esm/ix-range-field.entry.js +2 -2
- package/dist/esm/ix-select.entry.js +13 -10
- package/dist/esm/ix-split-button.entry.js +1 -1
- package/dist/esm/ix-textarea.entry.js +1 -1
- package/dist/esm/ix-tile.entry.js +4 -4
- package/dist/esm/ix-time-input.entry.js +1 -1
- package/dist/esm/ix-toast-container.entry.js +2 -2
- package/dist/esm/ix-toast.entry.js +2 -2
- package/dist/esm/ix-toggle-button.entry.js +2 -2
- package/dist/esm/ix-tooltip.entry.js +1 -1
- package/dist/esm/ix-tree-item.entry.js +4 -4
- package/dist/esm/ix-tree.entry.js +1 -1
- package/dist/esm/ix-typography.entry.js +1 -1
- package/dist/esm/ix-workflow-step.entry.js +3 -3
- package/dist/esm/ix-workflow-steps.entry.js +1 -1
- package/dist/siemens-ix/{p-321a10b6.entry.js → p-03215d55.entry.js} +1 -1
- package/dist/siemens-ix/{p-c97c218d.entry.js → p-04a42013.entry.js} +1 -1
- package/dist/siemens-ix/{p-b75db823.entry.js → p-0b24f8d0.entry.js} +1 -1
- package/dist/siemens-ix/{p-9d9fec8c.entry.js → p-0e74e65c.entry.js} +1 -1
- package/dist/siemens-ix/{p-bc11adcd.entry.js → p-0fd5baf1.entry.js} +1 -1
- package/dist/siemens-ix/{p-641bc66c.entry.js → p-1cd9a45a.entry.js} +1 -1
- package/dist/siemens-ix/{p-90a5cda7.entry.js → p-1ea183fb.entry.js} +1 -1
- package/dist/siemens-ix/{p-957b77ec.entry.js → p-227ba1b8.entry.js} +1 -1
- package/dist/siemens-ix/{p-f8561834.entry.js → p-2753ed4e.entry.js} +1 -1
- package/dist/siemens-ix/{p-c6d63b3c.entry.js → p-2eb094c0.entry.js} +1 -1
- package/dist/siemens-ix/{p-646d5219.entry.js → p-34eaf010.entry.js} +1 -1
- package/dist/siemens-ix/{p-fb1e66a7.entry.js → p-39fb1c9e.entry.js} +1 -1
- package/dist/siemens-ix/{p-7e6a5c38.entry.js → p-3bfa4bbc.entry.js} +1 -1
- package/dist/siemens-ix/{p-f0d97723.entry.js → p-3f5ac9f7.entry.js} +1 -1
- package/dist/siemens-ix/{p-f9628912.entry.js → p-4154d18a.entry.js} +1 -1
- package/dist/siemens-ix/{p-2202ae94.entry.js → p-427f85c3.entry.js} +1 -1
- package/dist/siemens-ix/{p-46768472.entry.js → p-45106215.entry.js} +1 -1
- package/dist/siemens-ix/{p-b7f2f229.entry.js → p-4ceb3543.entry.js} +1 -1
- package/dist/siemens-ix/{p-0eb3a12a.entry.js → p-4d179abe.entry.js} +1 -1
- package/dist/siemens-ix/{p-4f0f97dd.entry.js → p-4faa3c03.entry.js} +1 -1
- package/dist/siemens-ix/{p-e283d7d1.entry.js → p-50a44cb9.entry.js} +1 -1
- package/dist/siemens-ix/{p-5685a2e6.entry.js → p-52096875.entry.js} +1 -1
- package/dist/siemens-ix/{p-2b9f7512.entry.js → p-57678563.entry.js} +1 -1
- package/dist/siemens-ix/{p-264e971c.entry.js → p-5d7ede96.entry.js} +1 -1
- package/dist/siemens-ix/{p-d80e7d50.entry.js → p-6aa5adb4.entry.js} +1 -1
- package/dist/siemens-ix/{p-b13f34d1.entry.js → p-703c7e7c.entry.js} +1 -1
- package/dist/siemens-ix/{p-2f7b1e1e.entry.js → p-71a31d92.entry.js} +1 -1
- package/dist/siemens-ix/{p-8c2365cc.entry.js → p-71a5fae5.entry.js} +1 -1
- package/dist/siemens-ix/{p-8969b2f9.entry.js → p-747d14a2.entry.js} +1 -1
- package/dist/siemens-ix/{p-d6c906b7.entry.js → p-7655c4c2.entry.js} +1 -1
- package/dist/siemens-ix/{p-b8beb613.entry.js → p-7899597f.entry.js} +1 -1
- package/dist/siemens-ix/{p-46b2b660.entry.js → p-8658717f.entry.js} +1 -1
- package/dist/siemens-ix/{p-62a7ae9c.entry.js → p-8b839f30.entry.js} +1 -1
- package/dist/siemens-ix/{p-db105778.entry.js → p-8d535dc9.entry.js} +1 -1
- package/dist/siemens-ix/{p-3bc384b7.entry.js → p-8f72a218.entry.js} +1 -1
- package/dist/siemens-ix/{p-8d73ddac.entry.js → p-95e8951f.entry.js} +1 -1
- package/dist/siemens-ix/{p-4bc4a175.entry.js → p-96a3b3df.entry.js} +1 -1
- package/dist/siemens-ix/{p-f1257e08.entry.js → p-9f2905df.entry.js} +1 -1
- package/dist/siemens-ix/{p-d253dadb.entry.js → p-a25f267b.entry.js} +1 -1
- package/dist/siemens-ix/{p-080147bd.entry.js → p-a2aa806e.entry.js} +1 -1
- package/dist/siemens-ix/{p-21e8ccb6.entry.js → p-a44b1452.entry.js} +1 -1
- package/dist/siemens-ix/p-a7f5e11e.entry.js +1 -0
- package/dist/siemens-ix/p-a8911648.entry.js +1 -0
- package/dist/siemens-ix/p-aa904521.entry.js +1 -0
- package/dist/siemens-ix/p-ab202c45.entry.js +1 -0
- package/dist/siemens-ix/{p-12930fcd.entry.js → p-ac804eb2.entry.js} +1 -1
- package/dist/siemens-ix/p-af808244.entry.js +1 -0
- package/dist/siemens-ix/{p-2072682b.entry.js → p-b004e845.entry.js} +1 -1
- package/dist/siemens-ix/{p-aec23f79.entry.js → p-b2fe56c7.entry.js} +1 -1
- package/dist/siemens-ix/{p-ff1967de.entry.js → p-b7570885.entry.js} +1 -1
- package/dist/siemens-ix/{p-247d2e7a.entry.js → p-bddd1cca.entry.js} +1 -1
- package/dist/siemens-ix/{p-b181bf0b.entry.js → p-c0d56b86.entry.js} +1 -1
- package/dist/siemens-ix/{p-ae07f671.entry.js → p-c1c209f6.entry.js} +1 -1
- package/dist/siemens-ix/{p-710d32a6.entry.js → p-c69036b1.entry.js} +1 -1
- package/dist/siemens-ix/{p-24c54468.entry.js → p-c9718f0d.entry.js} +1 -1
- package/dist/siemens-ix/{p-d74baa8a.entry.js → p-cd42c4e6.entry.js} +1 -1
- package/dist/siemens-ix/p-d02d2e49.entry.js +1 -0
- package/dist/siemens-ix/{p-d830e3d6.entry.js → p-d16ee3bd.entry.js} +1 -1
- package/dist/siemens-ix/{p-56d2d54c.entry.js → p-d1cd3cb9.entry.js} +1 -1
- package/dist/siemens-ix/{p-6f78e0f1.entry.js → p-d45ff0a0.entry.js} +1 -1
- package/dist/siemens-ix/{p-9a88ff9c.entry.js → p-d5761950.entry.js} +1 -1
- package/dist/siemens-ix/{p-a6a0b240.entry.js → p-d699bb26.entry.js} +1 -1
- package/dist/siemens-ix/{p-35bfaa91.entry.js → p-daf43138.entry.js} +1 -1
- package/dist/siemens-ix/{p-3854287c.entry.js → p-ddcc8627.entry.js} +1 -1
- package/dist/siemens-ix/{p-63491f83.entry.js → p-e3da7c67.entry.js} +1 -1
- package/dist/siemens-ix/{p-52dc064a.entry.js → p-e58ae892.entry.js} +1 -1
- package/dist/siemens-ix/{p-de58069d.entry.js → p-e5e220c7.entry.js} +1 -1
- package/dist/siemens-ix/{p-d1ab68b3.entry.js → p-e6046255.entry.js} +1 -1
- package/dist/siemens-ix/{p-34f61a28.entry.js → p-ea9691c1.entry.js} +1 -1
- package/dist/siemens-ix/{p-66b4875e.entry.js → p-eac237a1.entry.js} +1 -1
- package/dist/siemens-ix/p-eff190ad.entry.js +1 -0
- package/dist/siemens-ix/{p-ba9dcd79.entry.js → p-f1cd82bd.entry.js} +1 -1
- package/dist/siemens-ix/{p-ee1617da.entry.js → p-f43c97cf.entry.js} +1 -1
- package/dist/siemens-ix/p-f507157f.entry.js +1 -0
- package/dist/siemens-ix/p-fbd006be.entry.js +1 -0
- 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/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 +3 -0
- package/dist/types/components/card-title/card-title.d.ts +1 -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 +3 -0
- 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 +3 -0
- 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/workflow-step/workflow-step.d.ts +4 -0
- package/dist/types/components/workflow-steps/workflow-steps.d.ts +3 -0
- package/hydrate/index.js +439 -217
- package/hydrate/index.mjs +439 -217
- package/package.json +1 -1
- package/components/p-5ntkLbuJ.js +0 -1
- package/components/p-CMtwWb3-.js +0 -1
- package/components/p-DDvuSQX3.js +0 -1
- package/components/p-DiLKm3tq.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-705eded9.entry.js +0 -1
- package/dist/siemens-ix/p-7fc7c67f.entry.js +0 -1
- package/dist/siemens-ix/p-81248fd2.entry.js +0 -1
- package/dist/siemens-ix/p-8d05ae35.entry.js +0 -1
- package/dist/siemens-ix/p-c0dc5a8e.entry.js +0 -1
- package/dist/siemens-ix/p-e5d2a048.entry.js +0 -1
- package/dist/siemens-ix/p-e698e193.entry.js +0 -1
|
@@ -10,6 +10,7 @@ import { h, Host, Mixin, } from "@stencil/core";
|
|
|
10
10
|
import { BaseTabMixin } from "../tab-item/tab.mixin";
|
|
11
11
|
/**
|
|
12
12
|
* @deprecated since 5.0.0, use ix-tab-item instead of ix-menu-about-item
|
|
13
|
+
* @slot default - About menu item content.
|
|
13
14
|
*/
|
|
14
15
|
export class MenuAboutItem extends Mixin(BaseTabMixin) {
|
|
15
16
|
constructor() {
|
|
@@ -31,7 +32,7 @@ export class MenuAboutItem extends Mixin(BaseTabMixin) {
|
|
|
31
32
|
});
|
|
32
33
|
}
|
|
33
34
|
render() {
|
|
34
|
-
return (h(Host, { key: '
|
|
35
|
+
return (h(Host, { key: '2d70a2809dc4eb56b1e3d6183ca837a38ee01b16' }, h("ix-tab-panel", { key: 'd0923d4116998d6a7e231b907eacd5f8081eae36', tabKey: this.tabKey }, h("slot", { key: 'abd6be8e81556b9cb3091dfb55cebfa9ab4d76d0' }))));
|
|
35
36
|
}
|
|
36
37
|
static get is() { return "ix-menu-about-item"; }
|
|
37
38
|
static get properties() {
|
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
import { iconClose, iconShout } from "@siemens/ix-icons/icons";
|
|
10
10
|
import { h, Host, Mixin, } from "@stencil/core";
|
|
11
11
|
import { DefaultMixins } from "../utils/internal/component";
|
|
12
|
+
/**
|
|
13
|
+
* @slot default - News content.
|
|
14
|
+
*/
|
|
12
15
|
export class MenuAboutNews extends Mixin(...DefaultMixins) {
|
|
13
16
|
constructor() {
|
|
14
17
|
super();
|
|
@@ -47,16 +50,16 @@ export class MenuAboutNews extends Mixin(...DefaultMixins) {
|
|
|
47
50
|
/** @internal */
|
|
48
51
|
expanded = false;
|
|
49
52
|
render() {
|
|
50
|
-
return (h(Host, { key: '
|
|
53
|
+
return (h(Host, { key: '2140402346af0c9c6b35c32cd001d41fac408f66', class: {
|
|
51
54
|
expanded: this.expanded,
|
|
52
55
|
show: !this.show,
|
|
53
|
-
} }, h("div", { key: '
|
|
56
|
+
} }, h("div", { key: '655926df0b24c2edbb2c5e8e504a7f2072ed16dd', class: "banner-container" }, h("ix-icon", { key: 'd7d86dd91e2d6d09ba16f48548f044520e36f893', color: "color-inv-contrast-text", name: iconShout, size: "32" }), h("svg", { key: '8b2bbf35bf826f8aeed01df8cf81aef3185a0fff', viewBox: "0 0 48 56", xmlns: "http://www.w3.org/2000/svg" }, h("polygon", { key: '0ff0926642c10c1662aa7055ba18db6f5b7b8a1d', points: "0 0 48 0 48 56 24 48 0 56" }))), h("div", { key: 'c392b9b890d85e241f6f88d20c1307ce23030352', class: "cui-popover-news-header" }, h("ix-typography", { key: '546560dd3afdb47034e86e3ff2a6290824cc02c1', format: "label", bold: true }, this.label)), h("ix-icon-button", { key: 'e6343c6409f25403e870054a23c47c7b849c837c', size: "24", icon: iconClose, iconColor: "color-soft-text", variant: "tertiary", onClick: () => {
|
|
54
57
|
this.show = false;
|
|
55
58
|
this.closePopover.emit();
|
|
56
|
-
} }), h("div", { key: '
|
|
59
|
+
} }), h("div", { key: '73b723ebd03bdf5f5592f8da68bfe481d5e5995c', class: "slot-container" }, h("slot", { key: 'ef993e0dcaf820e2e89eeb017bc15f32026c9127' })), this.activeAboutTabKey ? (h("div", { class: "cui-popover-news-footer" }, h("ix-button", { variant: "primary", onClick: (event) => {
|
|
57
60
|
this.show = false;
|
|
58
61
|
this.showMore.emit(event);
|
|
59
|
-
} }, this.i18nShowMore))) : null, h("div", { key: '
|
|
62
|
+
} }, this.i18nShowMore))) : null, h("div", { key: '90c790cac92119aa825bfd075e8c280894eb7141', id: "arrow" })));
|
|
60
63
|
}
|
|
61
64
|
static get is() { return "ix-menu-about-news"; }
|
|
62
65
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,6 +11,9 @@ import { h, Host, } from "@stencil/core";
|
|
|
11
11
|
import { a11yBoolean } from "../utils/a11y";
|
|
12
12
|
import { makeRef } from "../utils/make-ref";
|
|
13
13
|
import { getSlottedElements } from "../utils/shadow-dom";
|
|
14
|
+
/**
|
|
15
|
+
* @slot default - Avatar dropdown items.
|
|
16
|
+
*/
|
|
14
17
|
export class MenuAvatar {
|
|
15
18
|
hostElement;
|
|
16
19
|
/**
|
|
@@ -77,13 +80,13 @@ export class MenuAvatar {
|
|
|
77
80
|
render() {
|
|
78
81
|
const tooltipText = this.tooltipText ?? this.top;
|
|
79
82
|
const ariaHidden = tooltipText === this.top;
|
|
80
|
-
return (h(Host, { key: '
|
|
83
|
+
return (h(Host, { key: '037f15bd4bd44d3f233bebb922fe5e7b4f002fcf', slot: "ix-menu-avatar" }, h("button", { key: 'b25d995e137224af7d5e8a4a4ef75fbcd42139e5', class: "nav-item top-item avatar no-hover", id: this.avatarElementId, tabIndex: 0 }, h("ix-avatar", { key: 'defa946c69c1ee6f31a68039a6eed6b2ed71ebd7', image: this.image, initials: this.initials }), h("div", { key: '14d0dba651a996032354d48f518b628c7392e61d', class: "avatar-name" }, h("span", { key: 'ec4ed8e734b95d43382f8f8bd7342e58895c4883', class: "text-default-single" }, this.top), h("span", { key: '691da78327c07d198b78ad62aa33b8dc63440050', class: "text-default-single" }, this.bottom))), !!tooltipText && (h("ix-tooltip", { key: 'a08173ffda2cb1c548e5d2f4b49a61f43f921390', ref: this.tooltipRef, for: `#${this.avatarElementId}`, placement: 'right', "aria-hidden": a11yBoolean(ariaHidden), "aria-label": this.ariaLabelTooltip }, tooltipText)), h("ix-dropdown", { key: 'aad18b46b349927551b36988b51226f06789b91f', trigger: this.hostElement, placement: 'right-start', hidden: !this.showContextMenu && this.hideLogoutButton, offset: {
|
|
81
84
|
mainAxis: 16,
|
|
82
85
|
}, onShowChanged: (event) => {
|
|
83
86
|
if (event.detail && this.tooltipRef.current) {
|
|
84
87
|
this.tooltipRef.current.hideTooltip(0);
|
|
85
88
|
}
|
|
86
|
-
}, enableTopLayer: this.enableTopLayer }, h("slot", { key: '
|
|
89
|
+
}, enableTopLayer: this.enableTopLayer }, h("slot", { key: '1dc6f211194711861c3374efbd7943124ede68de', onSlotchange: () => this.onSlotChange() }), !this.hideLogoutButton && (h("ix-menu-avatar-item", { key: 'a39a67cb36600d63414cc8fa5457d0312580574d', label: this.i18nLogout, icon: iconLogOut, onClick: (e) => {
|
|
87
90
|
this.logoutClick.emit(e);
|
|
88
91
|
} })))));
|
|
89
92
|
}
|
|
@@ -22,6 +22,9 @@ import { createSequentialId } from "../utils/uuid";
|
|
|
22
22
|
const DefaultIxMenuItemHeight = 40;
|
|
23
23
|
const DefaultAnimationTimeout = 150;
|
|
24
24
|
let categorySequenceId = 0;
|
|
25
|
+
/**
|
|
26
|
+
* @slot default - Menu items in the category.
|
|
27
|
+
*/
|
|
25
28
|
export class MenuCategory extends Mixin(...DefaultMixins, InheritAriaAttributesMixin) {
|
|
26
29
|
constructor() {
|
|
27
30
|
super();
|
|
@@ -321,7 +324,7 @@ export class MenuCategory extends Mixin(...DefaultMixins, InheritAriaAttributesM
|
|
|
321
324
|
...this.inheritAriaAttributes,
|
|
322
325
|
};
|
|
323
326
|
delete inheritedA11yWithoutRole.role;
|
|
324
|
-
return (h(Host, { key: '
|
|
327
|
+
return (h(Host, { key: 'b13967728dd925cf23d59525997326e3cae1d883', class: {
|
|
325
328
|
expanded: this.showItems,
|
|
326
329
|
}, onIxMenuCategoryItemSelect: () => this.onNestedItemSelect(), onPointerEnter: () => {
|
|
327
330
|
this.showMenuItemDropdown();
|
|
@@ -330,14 +333,14 @@ export class MenuCategory extends Mixin(...DefaultMixins, InheritAriaAttributesM
|
|
|
330
333
|
return;
|
|
331
334
|
}
|
|
332
335
|
this.hideMenuItemDropdown();
|
|
333
|
-
} }, h("ix-menu-item", { key: '
|
|
336
|
+
} }, h("ix-menu-item", { key: '83115990b35fd94f74c054fca190e85c8ec62010', ...inheritedA11yWithoutRole, "aria-haspopup": 'menu', "aria-expanded": this.showItems || this.showDropdown ? 'true' : 'false', id: this.categoryId, ref: this.categoryParentRef, class: 'category-parent', active: this.isNestedItemActive(), notifications: this.notifications, icon: this.icon, onClick: (e) => this.onCategoryClick(e), onKeyDown: (event) => this.onKeyDown(event), tooltipText: this.tooltipText, isCategory: true, menuCategoryLabel: this.label }, h("span", { key: 'bbd0030c37c6931a742b9b95aff810b6bf54ba3d', class: "category" }, h("span", { key: '2de8dabb7dcad0b3d6d431961dc78f9fee737f9c', class: "category-text" }, this.label), h("ix-icon", { key: 'dadaef3f921796b4af1bdc2127d5cf85ae8d3d50', name: iconChevronDownSmall, class: {
|
|
334
337
|
'category-chevron': true,
|
|
335
338
|
'category-chevron--open': this.showItems,
|
|
336
|
-
}, "aria-hidden": "true" }))), h("div", { key: '
|
|
339
|
+
}, "aria-hidden": "true" }))), h("div", { key: '4f05e07d484bcafccacb6e52b16ed1d428fafd6e', ref: (ref) => (this.menuItemsContainer = ref), class: {
|
|
337
340
|
'menu-items': true,
|
|
338
341
|
'menu-items--expanded': this.showItems,
|
|
339
342
|
'menu-items--collapsed': !this.showItems,
|
|
340
|
-
}, role: "menu", "aria-labelledby": this.categoryId, onKeyDown: (e) => this.onMenuItemsKeyDown(e) }, this.showItems ? h("slot", null) : null), h("ix-dropdown", { key: '
|
|
343
|
+
}, role: "menu", "aria-labelledby": this.categoryId, onKeyDown: (e) => this.onMenuItemsKeyDown(e) }, this.showItems ? h("slot", null) : null), h("ix-dropdown", { key: '9574783d83639a13003ef13a01aea92ae85b61c7', ref: this.dropdownRef, hostRole: "menu", "aria-label": this.label, closeBehavior: 'both', show: this.showDropdown, onShowChange: ({ detail }) => this.onDropdownShowChange(detail), onShowChanged: ({ detail }) => this.onDropdownShowChanged(detail), class: 'category-dropdown', anchor: this.hostElement, placement: "right-start", offset: {
|
|
341
344
|
mainAxis: 3,
|
|
342
345
|
}, focusHost: this.hostElement, onClick: (e) => {
|
|
343
346
|
if (e.target instanceof HTMLElement) {
|
|
@@ -348,7 +351,7 @@ export class MenuCategory extends Mixin(...DefaultMixins, InheritAriaAttributesM
|
|
|
348
351
|
e.preventDefault();
|
|
349
352
|
}
|
|
350
353
|
}
|
|
351
|
-
}, onFocusout: () => this.onDropdownFocusOut() }, h("ix-dropdown-item", { key: '
|
|
354
|
+
}, onFocusout: () => this.onDropdownFocusOut() }, h("ix-dropdown-item", { key: '6844b7dd6cea9c3290060a0fc3b5d726272f99a5', class: 'category-dropdown-header', tabindex: -1, "aria-hidden": "true" }, h("ix-typography", { key: 'f06f3b478802a827589415b5025085c6f2825326', format: "label", bold: true, textColor: "std" }, this.label)), h("ix-divider", { key: 'a0f540c48caaf3ea256edfc12c73ec8a95c7e210' }), h("slot", { key: '9dd47bc65bd63d610c936fe5f5c196764704443d' }))));
|
|
352
355
|
}
|
|
353
356
|
static get is() { return "ix-menu-category"; }
|
|
354
357
|
static get encapsulation() { return "shadow"; }
|
|
@@ -17,7 +17,7 @@ import { createSequentialId } from "../utils/uuid";
|
|
|
17
17
|
import { a11yBoolean } from "../utils/a11y";
|
|
18
18
|
let sequenceId = 0;
|
|
19
19
|
/**
|
|
20
|
-
* @slot
|
|
20
|
+
* @slot default - Custom menu item label.
|
|
21
21
|
*/
|
|
22
22
|
export class MenuItem extends Mixin(...DefaultMixins, InheritAriaAttributesMixin) {
|
|
23
23
|
constructor() {
|
|
@@ -196,12 +196,12 @@ export class MenuItem extends Mixin(...DefaultMixins, InheritAriaAttributesMixin
|
|
|
196
196
|
...inheritedA11yWithoutRole,
|
|
197
197
|
};
|
|
198
198
|
const menuContent = [
|
|
199
|
-
this.icon && (h("ix-icon", { key: '
|
|
199
|
+
this.icon && (h("ix-icon", { key: 'ba48d5b4a4fa45012b05c0c48f93b95406fcf668', class: 'tab-icon', name: this.icon, "aria-hidden": "true" })),
|
|
200
200
|
this.notifications ? (h("div", { class: "notification" }, h("div", { class: "pill" }, this.notifications))) : null,
|
|
201
|
-
h("span", { key: '
|
|
201
|
+
h("span", { key: '7d851e398086593b8a950004fa309aa8e85ab293', id: this.internalItemId, class: "tab-text text-default" }, this.label, h("slot", { key: 'f57c890242be1a0ea5bdd52b807ff17a54e01dae' })),
|
|
202
202
|
];
|
|
203
203
|
const ariaLabel = this.getAriaLabel();
|
|
204
|
-
return (h(Host, { key: '
|
|
204
|
+
return (h(Host, { key: '52c4274a785714911f6c55be30aef4e32d83eac6', class: {
|
|
205
205
|
disabled: this.disabled,
|
|
206
206
|
'home-tab': this.home,
|
|
207
207
|
'bottom-tab': this.bottom,
|
|
@@ -217,7 +217,7 @@ export class MenuItem extends Mixin(...DefaultMixins, InheritAriaAttributesMixin
|
|
|
217
217
|
}
|
|
218
218
|
}, "aria-disabled": a11yBoolean(this.disabled), "aria-label": ariaLabel, "aria-current": this.active ? 'page' : undefined }, menuContent)) : (h("button", { ...commonAttributes, role: effectiveRole, tabIndex: this.isInMenuContext || this.isCategory
|
|
219
219
|
? this.hostTabIndex
|
|
220
|
-
: undefined, ref: this.buttonRef, onKeyDown: (e) => this.handleCategoryKeyDown(e), "aria-disabled": a11yBoolean(this.disabled), "aria-label": ariaLabel, "aria-current": this.active ? 'page' : undefined }, menuContent)), h("ix-tooltip", { key: '
|
|
220
|
+
: undefined, ref: this.buttonRef, onKeyDown: (e) => this.handleCategoryKeyDown(e), "aria-disabled": a11yBoolean(this.disabled), "aria-label": ariaLabel, "aria-current": this.active ? 'page' : undefined }, menuContent)), h("ix-tooltip", { key: '20b8f84afa73ab32c01a1afb65b74eab640f1b36', for: this.buttonRef.waitForCurrent(), placement: 'right', showDelay: 1000, interactive: false, "aria-hidden": "true", "aria-labelledby": this.internalItemId }, this.tooltip)));
|
|
221
221
|
}
|
|
222
222
|
static get is() { return "ix-menu-item"; }
|
|
223
223
|
static get encapsulation() { return "shadow"; }
|
|
@@ -8,6 +8,9 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import { iconClose } from "@siemens/ix-icons/icons";
|
|
10
10
|
import { forceUpdate, h, Host, } from "@stencil/core";
|
|
11
|
+
/**
|
|
12
|
+
* @slot default - Settings overlay content.
|
|
13
|
+
*/
|
|
11
14
|
export class MenuSettings {
|
|
12
15
|
hostElement;
|
|
13
16
|
/**
|
|
@@ -76,10 +79,10 @@ export class MenuSettings {
|
|
|
76
79
|
forceUpdate(this);
|
|
77
80
|
}
|
|
78
81
|
render() {
|
|
79
|
-
return (h(Host, { key: '
|
|
82
|
+
return (h(Host, { key: '64e54666ce3cbe2673deb203de0a1ca5cd79a784', slot: 'ix-menu-settings', class: {
|
|
80
83
|
show: this.show,
|
|
81
84
|
['legacy-tabs']: !this.suppressLegacyTabs,
|
|
82
|
-
} }, h("div", { key: '
|
|
85
|
+
} }, h("div", { key: '11b48733718704c04e86ba7c5ffcf62122a8a0f7', class: 'settings-header' }, h("h2", { key: '356d053dcc9d393bb9eb5d369778347f4042d7f6', class: "text-h2" }, this.label), h("ix-icon-button", { key: '29755f5ecc2ff8539985662e4a6d3143984b5618', variant: "tertiary", size: "24", icon: iconClose, iconColor: "color-soft-text", "aria-label": this.ariaLabelCloseButton, onClick: (e) => this.close.emit({
|
|
83
86
|
name: 'ix-menu-settings',
|
|
84
87
|
nativeEvent: e,
|
|
85
88
|
}) })), !this.suppressLegacyTabs ? (h("ix-tab-set", null, h("ix-tabs", { activeTabKey: this.activeTabKey }, this.items.map(({ label, tabKey }) => (h("ix-tab-item", { tabKey: tabKey, selected: tabKey === this.activeTabKey, label: label })))), h("slot", null))) : (h("slot", null))));
|
|
@@ -10,6 +10,7 @@ import { h, Host, Mixin, } from "@stencil/core";
|
|
|
10
10
|
import { BaseTabMixin } from "../tab-item/tab.mixin";
|
|
11
11
|
/**
|
|
12
12
|
* @deprecated since 5.0.0, use ix-tab-item instead of ix-menu-settings-item
|
|
13
|
+
* @slot default - Settings menu item content.
|
|
13
14
|
*/
|
|
14
15
|
export class MenuSettingsItem extends Mixin(BaseTabMixin) {
|
|
15
16
|
constructor() {
|
|
@@ -31,7 +32,7 @@ export class MenuSettingsItem extends Mixin(BaseTabMixin) {
|
|
|
31
32
|
});
|
|
32
33
|
}
|
|
33
34
|
render() {
|
|
34
|
-
return (h(Host, { key: '
|
|
35
|
+
return (h(Host, { key: 'fa1bed6ac28c778764d18f1074f77aa172501927' }, h("ix-tab-panel", { key: '7a2e3342ffb372598f84c7d11310c178dac6c455', tabKey: this.tabKey }, h("slot", { key: '94818c886c66864c067b6ac3a079c6938c87d6f4' }))));
|
|
35
36
|
}
|
|
36
37
|
static get is() { return "ix-menu-settings-item"; }
|
|
37
38
|
static get properties() {
|
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
import { h, Host, } from "@stencil/core";
|
|
10
10
|
import { animate } from "animejs";
|
|
11
11
|
import { iconClose, iconError, iconInfo, iconNotification, iconSuccess, iconWarning, iconWarningRhomb, } from "@siemens/ix-icons/icons";
|
|
12
|
+
/**
|
|
13
|
+
* @slot default - Message content.
|
|
14
|
+
*/
|
|
12
15
|
export class MessageBar {
|
|
13
16
|
/**
|
|
14
17
|
* Specifies the type of the alert.
|
|
@@ -62,7 +65,7 @@ export class MessageBar {
|
|
|
62
65
|
}
|
|
63
66
|
}
|
|
64
67
|
render() {
|
|
65
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: 'e2bbf611295113afe3ed6822a52d8d79e18be29b' }, h("div", { key: '3c05cd3b7309cde0ab647c0c7a24a142028e4880', class: { 'message-container': true, [this.type]: true }, role: "alert", ref: (el) => (this.divElement = el) }, h("ix-icon", { key: '214fc88a38ad4d8c9006faf170cd009afcffecb6', color: this.color, name: this.icon }), h("div", { key: 'b964803205ff9939d5046d71038bf51f17a981bc', class: "message-content" }, h("slot", { key: '5bad561a856f58bc9ba25e6add50d7354d16bb37' })), !this.persistent && (h("ix-icon-button", { key: 'e3d36f9b646257cd338201d3bfb371a23b377772', icon: iconClose, iconColor: "color-soft-text", size: "24", variant: "tertiary", onClick: () => {
|
|
66
69
|
if (this.divElement) {
|
|
67
70
|
this.closeAlert(this.divElement);
|
|
68
71
|
}
|
|
@@ -13,6 +13,9 @@ import Animation from "../utils/animation";
|
|
|
13
13
|
import { tryFocusElement } from "../utils/focus/focus-utilities";
|
|
14
14
|
import { IX_MODAL_AUTOFOCUS_SELECTOR } from "../utils/modal/modal";
|
|
15
15
|
import { waitForElement } from "../utils/waitForElement";
|
|
16
|
+
/**
|
|
17
|
+
* @slot default - Modal sections and content.
|
|
18
|
+
*/
|
|
16
19
|
export class Modal {
|
|
17
20
|
ariaAttributes = {};
|
|
18
21
|
isMouseDownInsideDialog = false;
|
|
@@ -197,12 +200,12 @@ export class Modal {
|
|
|
197
200
|
this.ariaAttributes = a11yHostAttributes(this.hostElement);
|
|
198
201
|
}
|
|
199
202
|
render() {
|
|
200
|
-
return (h(Host, { key: '
|
|
203
|
+
return (h(Host, { key: '28c4d56440766ceccf75d3cafc229c6d640c5e8e', class: {
|
|
201
204
|
visible: this.modalVisible,
|
|
202
205
|
'no-backdrop': this.hideBackdrop,
|
|
203
206
|
'align-center': this.centered,
|
|
204
207
|
'non-blocking': this.isNonBlocking,
|
|
205
|
-
} }, h("div", { key: '
|
|
208
|
+
} }, h("div", { key: 'f028e5780d37451c282a0eae8615cae3b5996b56', class: "dialog-backdrop" }, h("dialog", { key: '754e476f2e39b3ca4d73d776c1ef430b28a62088', "aria-modal": a11yBoolean(!this.isNonBlocking), "aria-describedby": this.ariaAttributes['aria-describedby'], "aria-labelledby": this.ariaAttributes['aria-labelledby'], class: {
|
|
206
209
|
modal: true,
|
|
207
210
|
[`modal-size-${this.size}`]: true,
|
|
208
211
|
}, onClose: () => this.dismissModal(), onMouseDown: (event) => this.onMouseDown(event), onMouseUp: (event) => this.onMouseUp(event), onKeyDown: (e) => {
|
|
@@ -214,7 +217,7 @@ export class Modal {
|
|
|
214
217
|
}, onCancel: (e) => {
|
|
215
218
|
e.preventDefault();
|
|
216
219
|
void this.dismissModal();
|
|
217
|
-
} }, h("slot", { key: '
|
|
220
|
+
} }, h("slot", { key: 'a3aa26a26d244f4795b910764a316e6f8d71e255' })))));
|
|
218
221
|
}
|
|
219
222
|
static get is() { return "ix-modal"; }
|
|
220
223
|
static get encapsulation() { return "shadow"; }
|
|
@@ -7,9 +7,12 @@
|
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
9
|
import { h, Host } from "@stencil/core";
|
|
10
|
+
/**
|
|
11
|
+
* @slot default - Modal body content.
|
|
12
|
+
*/
|
|
10
13
|
export class ModalContent {
|
|
11
14
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: '090635e20ba7a130412a560db4329a045f13a8dd' }, h("slot", { key: '71a6820650c0997dc09f309fdf70188b936f7434' })));
|
|
13
16
|
}
|
|
14
17
|
static get is() { return "ix-modal-content"; }
|
|
15
18
|
static get encapsulation() { return "shadow"; }
|
|
@@ -7,9 +7,12 @@
|
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
9
|
import { h, Host } from "@stencil/core";
|
|
10
|
+
/**
|
|
11
|
+
* @slot default - Modal footer actions.
|
|
12
|
+
*/
|
|
10
13
|
export class ModalFooter {
|
|
11
14
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: 'fbfacdb34450ce3cfbab374acfb09126c731d57d' }, h("slot", { key: 'f07cfe797970762196e720bb99294bf1b708e688' })));
|
|
13
16
|
}
|
|
14
17
|
static get is() { return "ix-modal-footer"; }
|
|
15
18
|
static get encapsulation() { return "shadow"; }
|
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
import { h, Host, } from "@stencil/core";
|
|
10
10
|
import { closestPassShadow } from "../utils/shadow-dom";
|
|
11
11
|
import { iconClose } from "@siemens/ix-icons/icons";
|
|
12
|
+
/**
|
|
13
|
+
* @slot default - Modal header content.
|
|
14
|
+
*/
|
|
12
15
|
export class ModalHeader {
|
|
13
16
|
hostElement;
|
|
14
17
|
/**
|
|
@@ -62,7 +65,7 @@ export class ModalHeader {
|
|
|
62
65
|
this.parentDialog.dismissModal();
|
|
63
66
|
}
|
|
64
67
|
render() {
|
|
65
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: '9be78d439e0240e95098199371f8c17a5c64cb49' }, this.icon ? (h("ix-icon", { name: this.icon, color: this.iconColor, size: "32", "aria-label": this.ariaLabelIcon })) : null, h("div", { key: '7fb5bb78edaf86f7b26a7a6868e761f07870e1e0', class: "modal-title" }, h("ix-typography", { key: 'd350c239268ef025e5d99a84bd58f662518b2d85', format: "h5" }, h("slot", { key: 'f48e9917464a73998b49a799a792cf0eacc43ecc' }))), !this.hideClose ? (h("ix-icon-button", { class: "modal-close", onClick: (event) => this.onCloseClick(event), variant: "tertiary", icon: iconClose, iconColor: "color-soft-text", "aria-label": this.ariaLabelCloseIconButton })) : null));
|
|
66
69
|
}
|
|
67
70
|
static get is() { return "ix-modal-header"; }
|
|
68
71
|
static get encapsulation() { return "shadow"; }
|
|
@@ -18,6 +18,7 @@ import { addFocusTrap } from "../utils/focus/focus-trap";
|
|
|
18
18
|
import { a11yBoolean } from "../utils/a11y";
|
|
19
19
|
/**
|
|
20
20
|
* @slot header - Additional slot for the header content
|
|
21
|
+
* @slot default - Pane body content.
|
|
21
22
|
*/
|
|
22
23
|
export class Pane {
|
|
23
24
|
hostElement;
|
|
@@ -573,7 +574,7 @@ export class Pane {
|
|
|
573
574
|
else {
|
|
574
575
|
paneButtonAriaLabel = 'Expand pane';
|
|
575
576
|
}
|
|
576
|
-
return (h(Host, { key: '
|
|
577
|
+
return (h(Host, { key: 'e543d6f177c9b347c72abb1d821ea08fa642b031', class: {
|
|
577
578
|
'floating-pane': this.floating,
|
|
578
579
|
'inline-pane': !this.floating,
|
|
579
580
|
'mobile-overlay': this.expanded && this.isMobile,
|
|
@@ -597,31 +598,31 @@ export class Pane {
|
|
|
597
598
|
!this.expanded &&
|
|
598
599
|
!this.floating,
|
|
599
600
|
'not-visible': this.hideOnCollapse && !this.expanded,
|
|
600
|
-
}, "aria-expanded": a11yBoolean(this.expanded) }, h("aside", { key: '
|
|
601
|
+
}, "aria-expanded": a11yBoolean(this.expanded) }, h("aside", { key: '44156892e41a24920288669e3c096cea0eb0e244', id: `pane-${this.composition}`, class: {
|
|
601
602
|
'top-bottom-pane': this.isBottomTopPane && !this.isMobile,
|
|
602
603
|
'left-right-pane': this.isLeftRightPane && !this.isMobile,
|
|
603
604
|
'mobile-pane': this.isMobile,
|
|
604
605
|
expanded: this.expanded,
|
|
605
|
-
} }, h("div", { key: '
|
|
606
|
+
} }, h("div", { key: '18c22984a1970f326e33467a0a3fd2e2f8fc7e15', id: "title-div", class: {
|
|
606
607
|
title: !this.isMobile && !this.hideOnCollapse && !this.showContent,
|
|
607
608
|
'title-finished': !this.isMobile && !this.hideOnCollapse && this.showContent,
|
|
608
609
|
'title-expanded': !this.isMobile && !this.hideOnCollapse && this.expanded,
|
|
609
610
|
'title-hide-on-collapse': !this.isMobile && this.hideOnCollapse,
|
|
610
611
|
'title-mobile': this.isMobile,
|
|
611
612
|
'header-gap': !this.isMobile && !this.hideOnCollapse,
|
|
612
|
-
} }, h("ix-icon-button", { key: '
|
|
613
|
+
} }, h("ix-icon-button", { key: '9b92a577dd81c283415dd194448804a9f128fdc0', class: "title-icon", size: "24", icon: this.expanded
|
|
613
614
|
? this.isMobile || this.hideOnCollapse
|
|
614
615
|
? iconClose
|
|
615
616
|
: this.expandIcon
|
|
616
617
|
: this.minimizeIcon, iconColor: this.expanded && (this.isMobile || this.hideOnCollapse)
|
|
617
618
|
? 'color-soft-text'
|
|
618
|
-
: undefined, variant: "subtle-tertiary", onClick: () => this.dispatchExpandedChangedEvent(), "aria-controls": `pane-${this.composition}`, "aria-label": paneButtonAriaLabel }), h("div", { key: '
|
|
619
|
+
: undefined, variant: "subtle-tertiary", onClick: () => this.dispatchExpandedChangedEvent(), "aria-controls": `pane-${this.composition}`, "aria-label": paneButtonAriaLabel }), h("div", { key: 'fb67a0886d65c841bd22a5fa5cfd2a47bf376ff8', class: {
|
|
619
620
|
'title-text': true,
|
|
620
621
|
rotate: rotate,
|
|
621
|
-
} }, this.icon && (h("ix-icon", { key: '
|
|
622
|
+
} }, this.icon && (h("ix-icon", { key: 'c9f7393d0f7b0712892355baa70fdc000708a352', class: "pane-icon", size: "24", name: this.icon, "aria-label": this.ariaLabelIcon })), h("div", { key: '268953ae5e48eff0ad3b9e7425798380ab6cad04', class: "title-text-overflow" }, h("ix-typography", { key: 'fcebf6929e62dd90bd040631041d9bb92150f238', format: "h4" }, this.heading)), this.expanded && (h("div", { key: 'db4bc449c3d174136cc4415c7fc15f82a8f33421', class: "slot-header" }, h("slot", { key: 'cbbdd70092367dd800b946b6d864cbfc5e9b5ac6', name: "header" }))))), h("div", { key: '61388536eb66883d710fe1adf662f3a7d1dd2abf', class: {
|
|
622
623
|
'side-pane-content': true,
|
|
623
624
|
'no-padding': this.noPadding,
|
|
624
|
-
}, hidden: !this.showContent }, h("slot", { key: '
|
|
625
|
+
}, hidden: !this.showContent }, h("slot", { key: '1b1435619e3a22b84908eb2789ab3de0484264f9' })))));
|
|
625
626
|
}
|
|
626
627
|
static get is() { return "ix-pane"; }
|
|
627
628
|
static get encapsulation() { return "shadow"; }
|
|
@@ -9,6 +9,14 @@
|
|
|
9
9
|
import { forceUpdate, h, Host, } from "@stencil/core";
|
|
10
10
|
import { applicationLayoutService } from "../utils/application-layout";
|
|
11
11
|
import { matchBreakpoint } from "../utils/breakpoints";
|
|
12
|
+
/**
|
|
13
|
+
* @slot left - Pane displayed to the left of the content.
|
|
14
|
+
* @slot top - Pane displayed above the content.
|
|
15
|
+
* @slot content - Main layout content.
|
|
16
|
+
* @slot default - Additional main layout content.
|
|
17
|
+
* @slot bottom - Pane displayed below the content.
|
|
18
|
+
* @slot right - Pane displayed to the right of the content.
|
|
19
|
+
*/
|
|
12
20
|
export class Panes {
|
|
13
21
|
hostElement;
|
|
14
22
|
/**
|
|
@@ -237,7 +245,7 @@ export class Panes {
|
|
|
237
245
|
return pane ? pane.floating : false;
|
|
238
246
|
}
|
|
239
247
|
render() {
|
|
240
|
-
return (h(Host, { key: '
|
|
248
|
+
return (h(Host, { key: '59257c3e7c7b3b309f151706e51a1730c36ebec0' }, !this.isMobile ? (this.layout == 'full-vertical' ? (h("div", { class: "side-panes-wrapper" }, h("div", { class: {
|
|
241
249
|
row: true,
|
|
242
250
|
'padding-left': this.hasPadding('left'),
|
|
243
251
|
'padding-right': this.hasPadding('right'),
|
|
@@ -10,6 +10,9 @@ import { h, Host, Mixin } from "@stencil/core";
|
|
|
10
10
|
import { a11yBoolean } from "../utils/a11y";
|
|
11
11
|
import { DefaultMixins } from "../utils/internal/component";
|
|
12
12
|
import { makeRef } from "../utils/make-ref";
|
|
13
|
+
/**
|
|
14
|
+
* @slot default - Pill label.
|
|
15
|
+
*/
|
|
13
16
|
export class Pill extends Mixin(...DefaultMixins) {
|
|
14
17
|
constructor() {
|
|
15
18
|
super();
|
|
@@ -88,13 +91,13 @@ export class Pill extends Mixin(...DefaultMixins) {
|
|
|
88
91
|
hostRole = 'group';
|
|
89
92
|
}
|
|
90
93
|
const iconIsDecorative = !this.ariaLabelIcon?.trim();
|
|
91
|
-
return (h(Host, { key: '
|
|
94
|
+
return (h(Host, { key: '827e58b1bdd980292651befee4ad756cbea0699f', style: this.variant === 'custom'
|
|
92
95
|
? {
|
|
93
96
|
'--ix-icon-button-color': this.pillColor,
|
|
94
97
|
}
|
|
95
98
|
: {}, class: {
|
|
96
99
|
'align-left': this.alignLeft,
|
|
97
|
-
}, role: hostRole }, h("div", { key: '
|
|
100
|
+
}, role: hostRole }, h("div", { key: 'f50b1d1f5a36ae985e55c66d97723640dcbd667f', ref: this.containerElementRef, style: { ...customStyle }, class: {
|
|
98
101
|
container: true,
|
|
99
102
|
outline: this.outline,
|
|
100
103
|
inactive: false,
|
|
@@ -109,9 +112,9 @@ export class Pill extends Mixin(...DefaultMixins) {
|
|
|
109
112
|
closable: false,
|
|
110
113
|
icon: !!this.icon,
|
|
111
114
|
'with-gap': !this.iconOnly,
|
|
112
|
-
} }, this.icon && (h("ix-icon", { key: '
|
|
115
|
+
} }, this.icon && (h("ix-icon", { key: '8f24375cb42813b0a651997a672fda5c9c16b8d3', class: {
|
|
113
116
|
'with-icon': true,
|
|
114
|
-
}, name: this.icon, size: '16', "aria-label": this.ariaLabelIcon, "aria-hidden": a11yBoolean(iconIsDecorative) })), h("span", { key: '
|
|
117
|
+
}, name: this.icon, size: '16', "aria-label": this.ariaLabelIcon, "aria-hidden": a11yBoolean(iconIsDecorative) })), h("span", { key: '356a8805398e1978e5c7bfe61e3c383d0f4af640', class: "slot-container" }, h("slot", { key: 'ac249a29b4cbf9cba9d0fef7b2c5a8992d4f9c3d', onSlotchange: () => this.checkIfContentAvailable() }))), this.getTooltip()));
|
|
115
118
|
}
|
|
116
119
|
static get is() { return "ix-pill"; }
|
|
117
120
|
static get encapsulation() { return "shadow"; }
|
|
@@ -25,7 +25,7 @@ const numberToPixel = (value) => value == null ? '' : `${value}px`;
|
|
|
25
25
|
/**
|
|
26
26
|
* Floating panel anchored to a trigger element.
|
|
27
27
|
*
|
|
28
|
-
* @slot - Child sections in order: `ix-popover-header`, `ix-popover-image`, `ix-popover-content`, and `ix-popover-footer`.
|
|
28
|
+
* @slot default - Child sections in order: `ix-popover-header`, `ix-popover-image`, `ix-popover-content`, and `ix-popover-footer`.
|
|
29
29
|
*
|
|
30
30
|
* @since 5.1.0
|
|
31
31
|
*/
|
|
@@ -670,7 +670,7 @@ export class Popover extends Mixin(...DefaultMixins, InheritAriaAttributesMixin,
|
|
|
670
670
|
}
|
|
671
671
|
}
|
|
672
672
|
render() {
|
|
673
|
-
return (h(Host, { key: '
|
|
673
|
+
return (h(Host, { key: '95dbf143e674bcb0cd976c114a892201c42af6f4', class: { visible: this.show }, "data-ix-popover": this.popoverPanelId }, h("dialog", { key: 'd674675e90ef6288047117e5058c18dd8233378d', ref: this.dialogRef, id: this.popoverPanelId, class: "dialog", popover: "manual", inert: !this.show, ...this.inheritAriaAttributes, role: this.inheritAriaAttributes['role'] ?? 'dialog', onMouseEnter: () => this.onDialogMouseEnter(), onMouseLeave: () => this.onDialogMouseLeave() }, h("div", { key: 'b0a7901412a53cff56518a7776b58ba392ba7b21', class: "popover-container" }, h("div", { key: '1226cfeb2110a8d628e50404d72d4ecd0c4f3a8b', class: "popover-body" }, h("slot", { key: '6c5701b2a20896db8fccf4edd67d9c65c1a81d36' })), this.hasSpike ? h("div", { class: "spike" }) : null))));
|
|
674
674
|
}
|
|
675
675
|
static get is() { return "ix-popover"; }
|
|
676
676
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,7 +11,7 @@ import { TRAP_FOCUS_INCLUDE_ATTRIBUTE } from "../utils/focus/focus-trap";
|
|
|
11
11
|
/**
|
|
12
12
|
* Main body section of the popover.
|
|
13
13
|
*
|
|
14
|
-
* @slot - Popover body content.
|
|
14
|
+
* @slot default - Popover body content.
|
|
15
15
|
*
|
|
16
16
|
* @since 5.1.0
|
|
17
17
|
*/
|
|
@@ -23,7 +23,7 @@ export class PopoverContent {
|
|
|
23
23
|
*/
|
|
24
24
|
noPadding = false;
|
|
25
25
|
render() {
|
|
26
|
-
return (h(Host, { key: '
|
|
26
|
+
return (h(Host, { key: '4905ed4b5a260f7e700c05a4a5525a8fdc14c8e9', class: { 'no-padding': this.noPadding }, [TRAP_FOCUS_INCLUDE_ATTRIBUTE]: true }, h("slot", { key: '03f85fc0aaea7387b08019f8ed7c4e80378d0c3a' })));
|
|
27
27
|
}
|
|
28
28
|
static get is() { return "ix-popover-content"; }
|
|
29
29
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,7 +11,7 @@ import { TRAP_FOCUS_INCLUDE_ATTRIBUTE } from "../utils/focus/focus-trap";
|
|
|
11
11
|
/**
|
|
12
12
|
* Footer section for actions and optional leading metadata.
|
|
13
13
|
*
|
|
14
|
-
* @slot - Footer actions (typically buttons), aligned to the end.
|
|
14
|
+
* @slot default - Footer actions (typically buttons), aligned to the end.
|
|
15
15
|
* @slot start - Optional leading content (for example version text or step indicators).
|
|
16
16
|
*
|
|
17
17
|
* @since 5.1.0
|
|
@@ -24,7 +24,7 @@ export class PopoverFooter {
|
|
|
24
24
|
*/
|
|
25
25
|
alignment = 'horizontal';
|
|
26
26
|
render() {
|
|
27
|
-
return (h(Host, { key: '
|
|
27
|
+
return (h(Host, { key: '66ac122a1578b7645271c21515ab100447035640', class: { [`alignment-${this.alignment}`]: true }, [TRAP_FOCUS_INCLUDE_ATTRIBUTE]: true }, h("div", { key: '5f5a73150f77fb39f7ef3b704bbecbde88c6fd5c', class: "footer-start" }, h("slot", { key: '84e99847b724a2acf40417513820e23c9dc95fed', name: "start" })), h("div", { key: '95cf2bbf6ce27684c37974d64b3d4c36b8e60bd6', class: "footer-end" }, h("slot", { key: 'bb9ea5b049a7d6716cfcad5fc6a25bc5b59443c1' }))));
|
|
28
28
|
}
|
|
29
29
|
static get is() { return "ix-popover-footer"; }
|
|
30
30
|
static get encapsulation() { return "shadow"; }
|
|
@@ -14,7 +14,7 @@ import { closestPassShadow } from "../utils/shadow-dom";
|
|
|
14
14
|
/**
|
|
15
15
|
* Header section with optional icon, title, additional items, and close button.
|
|
16
16
|
*
|
|
17
|
-
* @slot - Popover title (rendered as heading text).
|
|
17
|
+
* @slot default - Popover title (rendered as heading text).
|
|
18
18
|
* @slot additional-items - Optional content beside the title (for example `ix-pill`).
|
|
19
19
|
*
|
|
20
20
|
* @since 5.1.0
|
|
@@ -66,7 +66,7 @@ export class PopoverHeader {
|
|
|
66
66
|
this.parentPopover?.hidePopover();
|
|
67
67
|
}
|
|
68
68
|
render() {
|
|
69
|
-
return (h(Host, { key: '
|
|
69
|
+
return (h(Host, { key: 'd6b5d04790192d4212e60d39ce685a18b5dcc72a', [TRAP_FOCUS_INCLUDE_ATTRIBUTE]: true }, this.icon ? (h("ix-icon", { name: this.icon, color: this.iconColor, size: "24", "aria-hidden": a11yBoolean(true) })) : null, h("div", { key: '37a9433e60b19c2a191db75ee475586a36b7d4a0', class: "popover-title" }, h("ix-typography", { key: '866758b0c589aef950896e06f00096520311851a', format: "h5" }, h("slot", { key: '6cfa745b62f705ddd2b8076ecf9e634cc8fac309' }))), h("div", { key: '671bfd6538e4540d75051c960a963949bd26d9d8', class: "additional-items" }, h("slot", { key: '8b8c48055f58111077cfdede40f977691180250e', name: "additional-items" })), this.hideClose ? null : (h("ix-icon-button", { class: "popover-close", onClick: (event) => this.onCloseClick(event), variant: "tertiary", icon: iconClose, "aria-label": this.ariaLabelCloseIconButton }))));
|
|
70
70
|
}
|
|
71
71
|
static get is() { return "ix-popover-header"; }
|
|
72
72
|
static get encapsulation() { return "shadow"; }
|
|
@@ -12,6 +12,8 @@ import { iconCirclePause, iconError, iconInfo, iconSuccess, iconWarning, } from
|
|
|
12
12
|
import { CircularProgress } from "./circular";
|
|
13
13
|
/**
|
|
14
14
|
* @since 3.2.0
|
|
15
|
+
* @slot helper-text - Custom helper text content.
|
|
16
|
+
* @slot default - Content displayed with the progress indicator.
|
|
15
17
|
*/
|
|
16
18
|
export class ProgressIndicator {
|
|
17
19
|
hostElement;
|
|
@@ -94,17 +96,17 @@ export class ProgressIndicator {
|
|
|
94
96
|
render() {
|
|
95
97
|
const normalizedValue = ((this.value - this.min) / (this.max - this.min)) * 100;
|
|
96
98
|
const clampedValue = Math.max(0, Math.min(normalizedValue, 100));
|
|
97
|
-
return (h(Host, { key: '
|
|
99
|
+
return (h(Host, { key: 'a0fda23f6a532303c9995fbf7815bfec062a14ab', class: {
|
|
98
100
|
linear: this.type === 'linear',
|
|
99
101
|
circular: this.type === 'circular',
|
|
100
|
-
}, tabIndex: -1 }, h("div", { key: '
|
|
102
|
+
}, tabIndex: -1 }, h("div", { key: 'e02e07ba370860bfe2be7ce663b78c4cf71f12c3', class: {
|
|
101
103
|
'progress-indicator': true,
|
|
102
104
|
[this.size]: true,
|
|
103
105
|
[this.status]: true,
|
|
104
106
|
['text-center']: this.textAlignment === 'center',
|
|
105
107
|
['text-left']: this.textAlignment === 'left',
|
|
106
108
|
['text-right']: this.textAlignment === 'right',
|
|
107
|
-
} }, this.label && (h("ix-typography", { key: '
|
|
109
|
+
} }, this.label && (h("ix-typography", { key: 'd9789ab69c7879fcaf0142fc5751162c5b7b2106', format: "label", textColor: this.status === 'error' ? 'alarm' : 'soft', class: 'label' }, this.label)), h("div", { key: '7c10251bb3f06e02985df158da20d539ec23c4d2', class: "progress-container" }, this.type === 'linear' ? (h(Fragment, null, h(LinearBar, { value: clampedValue, status: this.status }), h("div", { class: "linear-slot" }, h("slot", null)))) : (h(CircularProgress, { status: this.status, alignment: this.textAlignment, value: clampedValue, size: this.size }, h("slot", null)))), this.showTextAsTooltip === true && this.helperText ? (h("ix-tooltip", { for: this.hostElement, showDelay: 500, placement: "bottom" }, this.getHelperText())) : (this.getHelperText()))));
|
|
108
110
|
}
|
|
109
111
|
static get is() { return "ix-progress-indicator"; }
|
|
110
112
|
static get encapsulation() { return "shadow"; }
|
|
@@ -7,6 +7,10 @@
|
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
9
|
import { h, Host } from "@stencil/core";
|
|
10
|
+
/**
|
|
11
|
+
* @slot title-action - Action displayed next to the card title.
|
|
12
|
+
* @slot default - Expandable card content.
|
|
13
|
+
*/
|
|
10
14
|
export class PushCard {
|
|
11
15
|
/**
|
|
12
16
|
* Card icon
|
|
@@ -43,7 +47,7 @@ export class PushCard {
|
|
|
43
47
|
*/
|
|
44
48
|
passive = false;
|
|
45
49
|
render() {
|
|
46
|
-
return (h(Host, { key: '
|
|
50
|
+
return (h(Host, { key: '559d12fce394d034e88a67d1792cf89db5e1f9d6', class: `card-${this.variant}` }, h("ix-card", { key: '74a3295376423e02defc79637f53905f1975a10e', variant: this.variant, passive: this.passive }, h("ix-card-content", { key: 'e88ae5131c174acebb759628d6de18bdf26d8141' }, h("ix-card-title", { key: '6c1df74de6c6e7b82a6301db6ecc6268d4891e47' }, this.icon ? (h("ix-icon", { class: 'icon', name: this.icon, size: "32", "aria-label": this.ariaLabelIcon })) : null, h("ix-typography", { key: '0f1b79fd78aa5b954c6320b9f61dbbcab61ef3c7', format: "display-xxl" }, this.notification ?? 0), h("slot", { key: '778a56994a47ad9e8fbcee8526c592e6e0459930', name: "title-action" })), h("ix-typography", { key: '5a3b385c75a69f0324fc890c2519476111bc2a4e', format: "h4" }, this.heading), h("ix-typography", { key: '6f261327133e30244fe398c91e099b3dcba848fa' }, this.subheading)), h("ix-card-accordion", { key: '3175d45b32f0d9a1eaccb205a3052b5746fc5287', collapse: !this.expanded, variant: this.variant }, h("slot", { key: '08b90be54cd2d292349ead1ce20a173104ce266e' })))));
|
|
47
51
|
}
|
|
48
52
|
static get is() { return "ix-push-card"; }
|
|
49
53
|
static get encapsulation() { return "shadow"; }
|