@siemens/ix 0.0.0-pr-2166-20251001134702 → 0.0.0-pr-2212-20251017115125
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 +20 -20
- package/components/index.js +4 -4
- package/components/index.js.map +1 -1
- package/components/ix-action-card.js +3 -3
- package/components/ix-action-card.js.map +1 -1
- package/components/ix-application-header.js +1 -1
- package/components/ix-application-switch-modal.js +6 -6
- package/components/ix-application.js +2 -2
- package/components/ix-avatar.js +1 -1
- package/components/ix-basic-navigation.js +7 -7
- package/components/ix-blind.js +1 -1
- package/components/ix-breadcrumb-item.js +1 -1
- package/components/ix-breadcrumb.js +10 -10
- package/components/ix-breadcrumb.js.map +1 -1
- package/components/ix-button.js +1 -1
- package/components/ix-card-list.js +4 -4
- package/components/ix-category-filter.js +22 -13
- package/components/ix-category-filter.js.map +1 -1
- package/components/ix-checkbox-group.js +4 -4
- package/components/ix-checkbox.js +1 -1
- package/components/ix-chip.js +15 -14
- package/components/ix-chip.js.map +1 -1
- package/components/ix-content-header.js +3 -3
- package/components/ix-custom-field.js +4 -4
- package/components/ix-date-dropdown.js +20 -20
- package/components/ix-date-dropdown.js.map +1 -1
- package/components/ix-date-input.js +14 -14
- package/components/ix-date-input.js.map +1 -1
- package/components/ix-date-picker.js +1 -1
- package/components/ix-date-time-card.js +1 -1
- package/components/ix-datetime-picker.js +34 -13
- package/components/ix-datetime-picker.js.map +1 -1
- package/components/ix-drawer.js +7 -8
- package/components/ix-drawer.js.map +1 -1
- package/components/ix-dropdown-button.js +4 -4
- package/components/ix-dropdown-header.js +1 -1
- package/components/ix-dropdown.js +1 -1
- package/components/ix-empty-state.js +3 -3
- package/components/ix-event-list.js +4 -4
- package/components/ix-event-list.js.map +1 -1
- package/components/ix-expanding-search.js +2 -2
- 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.js +2 -2
- package/components/ix-group-context-menu.js +1 -1
- package/components/ix-group-item.js +1 -1
- package/components/ix-group.js +24 -24
- package/components/ix-group.js.map +1 -1
- package/components/ix-helper-text.js +2 -2
- package/components/ix-icon-button.js +1 -1
- package/components/ix-icon-toggle-button.js +2 -2
- package/components/ix-input-group.d.ts +11 -0
- package/components/ix-input-group.js +154 -0
- package/components/ix-input-group.js.map +1 -0
- package/components/ix-input.js +11 -11
- package/components/ix-input.js.map +1 -1
- package/components/ix-key-value-list.js +1 -1
- package/components/ix-key-value.js +1 -1
- package/components/ix-kpi.js +3 -3
- package/components/ix-layout-auto.js +1 -1
- package/components/ix-layout-grid.js +1 -1
- package/components/ix-link-button.js +3 -3
- package/components/ix-map-navigation-overlay.js +1 -1
- package/components/ix-map-navigation.js +9 -10
- package/components/ix-map-navigation.js.map +1 -1
- package/components/ix-menu-about-item.js +1 -1
- package/components/ix-menu-about-news.js +8 -8
- package/components/ix-menu-about.js +3 -3
- package/components/ix-menu-avatar-item.js +1 -1
- package/components/ix-menu-avatar.js +11 -11
- package/components/ix-menu-avatar.js.map +1 -1
- package/components/ix-menu-category.js +9 -9
- 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 +26 -21
- package/components/ix-menu.js.map +1 -1
- package/components/ix-message-bar.js +11 -8
- package/components/ix-message-bar.js.map +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 +2 -2
- package/components/ix-modal.js +17 -17
- package/components/ix-modal.js.map +1 -1
- package/components/ix-number-input.js +12 -12
- package/components/ix-pagination.js +15 -15
- package/components/ix-pagination.js.map +1 -1
- package/components/ix-pane-layout.js +1 -1
- package/components/ix-pane.js +4 -4
- package/components/ix-pill.js +3 -3
- package/components/ix-pill.js.map +1 -1
- package/components/ix-progress-indicator.js +2 -2
- package/components/ix-push-card.js +5 -5
- package/components/ix-push-card.js.map +1 -1
- package/components/ix-radio-group.js +4 -4
- package/components/ix-radio.js +1 -1
- package/components/ix-select.js +1 -1
- package/components/ix-slider.js +2 -2
- package/components/ix-spinner.js +1 -1
- package/components/ix-split-button.js +4 -4
- package/components/ix-textarea.js +6 -6
- package/components/ix-time-input.js +20 -13
- package/components/ix-time-input.js.map +1 -1
- package/components/ix-time-picker.js +1 -1
- package/components/ix-toast-container.js +9 -9
- package/components/ix-toast-container.js.map +1 -1
- package/components/ix-toast.js +1 -1
- package/components/ix-toggle-button.js +1 -1
- package/components/ix-toggle.js +5 -5
- package/components/ix-toggle.js.map +1 -1
- package/components/ix-tooltip.js +1 -1
- package/components/ix-tree-item.js +1 -1
- package/components/ix-tree.js +2 -2
- package/components/ix-typography.js +1 -1
- package/components/ix-upload.js +5 -5
- package/components/ix-validation-tooltip.d.ts +11 -0
- package/components/ix-validation-tooltip.js +184 -0
- package/components/ix-validation-tooltip.js.map +1 -0
- package/components/ix-workflow-step.js +5 -4
- package/components/ix-workflow-step.js.map +1 -1
- package/components/ix-workflow-steps.js +1 -1
- package/components/{p-DklPCkRW.js → p-8MS-omi7.js} +3 -3
- package/components/{p-DklPCkRW.js.map → p-8MS-omi7.js.map} +1 -1
- package/components/{p-7-Wnr7e5.js → p-BFuOBAQB.js} +12 -6
- package/components/p-BFuOBAQB.js.map +1 -0
- package/components/{p-Baga5bu5.js → p-BSiqAMAr.js} +6 -6
- package/components/{p-Baga5bu5.js.map → p-BSiqAMAr.js.map} +1 -1
- package/components/{p-DE74-VWH.js → p-BYRT3Z1w.js} +12 -11
- package/components/p-BYRT3Z1w.js.map +1 -0
- package/components/{p-ts3VxLYi.js → p-BYvKfy9G.js} +6 -6
- package/components/{p-ts3VxLYi.js.map → p-BYvKfy9G.js.map} +1 -1
- package/components/{p-DOGuJxKg.js → p-BnT1mAuX.js} +6 -6
- package/components/{p-DOGuJxKg.js.map → p-BnT1mAuX.js.map} +1 -1
- package/components/{p-C8wXJCK3.js → p-BrKwrb_Z.js} +4 -4
- package/components/{p-C8wXJCK3.js.map → p-BrKwrb_Z.js.map} +1 -1
- package/components/{p-C4MK63gz.js → p-BrgHqrnH.js} +3 -3
- package/components/{p-C4MK63gz.js.map → p-BrgHqrnH.js.map} +1 -1
- package/components/{p-DaR6pX8w.js → p-C-7UhkWz.js} +8 -8
- package/components/{p-DaR6pX8w.js.map → p-C-7UhkWz.js.map} +1 -1
- package/components/{p-D3ZlTDAF.js → p-C3irznVN.js} +3 -3
- package/components/{p-D3ZlTDAF.js.map → p-C3irznVN.js.map} +1 -1
- package/components/{p-CiSM2A9Q.js → p-CAqtPJ4-.js} +3 -102
- package/components/p-CAqtPJ4-.js.map +1 -0
- package/components/p-CFRrPFxi.js +103 -0
- package/components/p-CFRrPFxi.js.map +1 -0
- package/components/{p-BmLRwuMH.js → p-CGPMGyof.js} +6 -5
- package/components/p-CGPMGyof.js.map +1 -0
- package/components/{p-DlNAQJQO.js → p-CMNpJTDF.js} +3 -3
- package/components/{p-DlNAQJQO.js.map → p-CMNpJTDF.js.map} +1 -1
- package/components/{p-uiKHewyI.js → p-CMk-tLmg.js} +4 -4
- package/components/{p-uiKHewyI.js.map → p-CMk-tLmg.js.map} +1 -1
- package/components/{p-CCyj6Nhd.js → p-CO2zhw6V.js} +3 -3
- package/components/{p-CCyj6Nhd.js.map → p-CO2zhw6V.js.map} +1 -1
- package/components/{p-BruPthTZ.js → p-CbQqqTKK.js} +71 -17
- package/components/p-CbQqqTKK.js.map +1 -0
- package/components/{p-w319yPRv.js → p-Cl420PSP.js} +6 -6
- package/components/{p-w319yPRv.js.map → p-Cl420PSP.js.map} +1 -1
- package/components/{p-C9yPT68I.js → p-CsHYWHE6.js} +25 -37
- package/components/p-CsHYWHE6.js.map +1 -0
- package/components/p-Ctze1Bh6.js +64 -0
- package/components/p-Ctze1Bh6.js.map +1 -0
- package/components/{p-BU9xngEb.js → p-CyJWaxhg.js} +9 -9
- package/components/{p-BU9xngEb.js.map → p-CyJWaxhg.js.map} +1 -1
- package/components/{p-gkooEHol.js → p-CzzcLSmV.js} +4 -4
- package/components/p-CzzcLSmV.js.map +1 -0
- package/components/{p-Cx5H0GeI.js → p-D5QNBS-J.js} +18 -21
- package/components/p-D5QNBS-J.js.map +1 -0
- package/components/{p-bBkFZC8X.js → p-D99ntB9D.js} +4 -4
- package/components/{p-bBkFZC8X.js.map → p-D99ntB9D.js.map} +1 -1
- package/components/{p-BLcKiU45.js → p-DAWZ76L0.js} +4 -4
- package/components/{p-BLcKiU45.js.map → p-DAWZ76L0.js.map} +1 -1
- package/components/{p-Ba6JlSP8.js → p-DRlGkOeX.js} +5 -5
- package/components/{p-Ba6JlSP8.js.map → p-DRlGkOeX.js.map} +1 -1
- package/components/{p-DSF854K6.js → p-DZNnQyWO.js} +4 -3
- package/components/p-DZNnQyWO.js.map +1 -0
- package/components/{p-DLcItN6d.js → p-DmTyQW2E.js} +5 -5
- package/components/p-DmTyQW2E.js.map +1 -0
- package/components/{p-Bc15ecXv.js → p-DyW_A5Tq.js} +13 -13
- package/components/p-DyW_A5Tq.js.map +1 -0
- package/components/{p-4dm0FrTr.js → p-FnN74Elm.js} +4 -3
- package/components/p-FnN74Elm.js.map +1 -0
- package/components/{p-CfOUCcs9.js → p-GkRC08qs.js} +3 -3
- package/components/{p-CfOUCcs9.js.map → p-GkRC08qs.js.map} +1 -1
- package/components/p-fef9-zXA.js +56 -0
- package/components/{p-R9YNQy08.js.map → p-fef9-zXA.js.map} +1 -1
- package/components/{p-BNYHD56q.js → p-j4BMT-Rr.js} +25 -25
- package/components/p-j4BMT-Rr.js.map +1 -0
- package/components/{p-Fbu6eUjk.js → p-s3E9saxz.js} +5 -5
- package/components/{p-Fbu6eUjk.js.map → p-s3E9saxz.js.map} +1 -1
- package/components/p-taILGXkr.js.map +1 -1
- package/dist/cjs/find-element-D7yD1Ukn.js +106 -0
- package/dist/cjs/find-element-D7yD1Ukn.js.map +1 -0
- package/dist/cjs/{find-element-BNZJcvT8.js → floating-ui.dom-CMzYsRR7.js} +2 -103
- package/dist/cjs/floating-ui.dom-CMzYsRR7.js.map +1 -0
- package/dist/cjs/{index-BJkiBUu0.js → index-B7AMgiIZ.js} +3 -3
- package/dist/cjs/{index-BJkiBUu0.js.map → index-B7AMgiIZ.js.map} +1 -1
- package/dist/cjs/index-DuDLgBnw.js +8 -0
- package/dist/cjs/index-Dyz3z1FD.js.map +1 -1
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/ix-action-card.cjs.entry.js +1 -1
- package/dist/cjs/ix-action-card.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-application-header.cjs.entry.js +3 -3
- package/dist/cjs/ix-application-switch-modal.cjs.entry.js +1 -1
- package/dist/cjs/ix-application.cjs.entry.js +2 -2
- package/dist/cjs/ix-avatar.ix-menu-avatar-item.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-avatar_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-basic-navigation.cjs.entry.js +1 -1
- package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +7 -7
- package/dist/cjs/ix-breadcrumb-item.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-breadcrumb.cjs.entry.js +6 -6
- package/dist/cjs/ix-breadcrumb.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-category-filter.cjs.entry.js +16 -8
- package/dist/cjs/ix-category-filter.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-chip.cjs.entry.js +10 -9
- package/dist/cjs/ix-chip.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-col_4.cjs.entry.js +18 -18
- package/dist/cjs/ix-date-dropdown.cjs.entry.js +11 -11
- package/dist/cjs/ix-date-dropdown.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-date-input.cjs.entry.js +4 -4
- package/dist/cjs/ix-date-input.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-date-time-card.cjs.entry.js +8 -3
- package/dist/cjs/ix-date-time-card.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-datetime-picker.cjs.entry.js +21 -3
- package/dist/cjs/ix-datetime-picker.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-drawer.cjs.entry.js +5 -6
- package/dist/cjs/ix-drawer.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-dropdown.cjs.entry.js +8 -7
- package/dist/cjs/ix-dropdown.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-event-list.cjs.entry.js +4 -4
- package/dist/cjs/ix-event-list.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-filter-chip.ix-select-item.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-filter-chip_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-group-context-menu.ix-group-item.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +5 -18
- package/dist/cjs/ix-group.cjs.entry.js +18 -18
- package/dist/cjs/ix-group.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-helper-text.cjs.entry.js +1 -1
- package/dist/cjs/ix-icon-button.ix-spinner.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-icon-button_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +1 -1
- package/dist/cjs/ix-input-group.cjs.entry.js +130 -0
- package/dist/cjs/ix-input-group.entry.cjs.js.map +1 -0
- package/dist/cjs/ix-input.cjs.entry.js +5 -5
- package/dist/cjs/ix-input.entry.cjs.js.map +1 -1
- 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 +3 -3
- 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-map-navigation-overlay.cjs.entry.js +2 -2
- package/dist/cjs/ix-map-navigation.cjs.entry.js +2 -3
- package/dist/cjs/ix-map-navigation.entry.cjs.js.map +1 -1
- 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-avatar.cjs.entry.js +4 -4
- package/dist/cjs/ix-menu-avatar.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-menu-category.cjs.entry.js +5 -5
- package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +1 -1
- 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.cjs.entry.js +20 -16
- package/dist/cjs/ix-menu.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-message-bar.cjs.entry.js +8 -5
- package/dist/cjs/ix-message-bar.entry.cjs.js.map +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-loading.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal.cjs.entry.js +14 -14
- package/dist/cjs/ix-modal.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-number-input.cjs.entry.js +6 -6
- package/dist/cjs/ix-pagination.cjs.entry.js +5 -5
- package/dist/cjs/ix-pagination.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-pane-layout.cjs.entry.js +1 -1
- package/dist/cjs/ix-pane.cjs.entry.js +1 -1
- package/dist/cjs/ix-pill.cjs.entry.js +1 -1
- package/dist/cjs/ix-pill.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-push-card.cjs.entry.js +3 -3
- package/dist/cjs/ix-push-card.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-select.cjs.entry.js +8 -11
- package/dist/cjs/ix-select.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ix-time-input.cjs.entry.js +9 -3
- package/dist/cjs/ix-time-input.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-time-picker.cjs.entry.js +58 -10
- package/dist/cjs/ix-time-picker.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-toast-container.cjs.entry.js +5 -5
- package/dist/cjs/ix-toast-container.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-toast.cjs.entry.js +6 -5
- package/dist/cjs/ix-toast.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-toggle.cjs.entry.js +4 -4
- package/dist/cjs/ix-toggle.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-tooltip.cjs.entry.js +10 -9
- package/dist/cjs/ix-tooltip.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-tree-item.cjs.entry.js +4 -4
- package/dist/cjs/ix-tree.cjs.entry.js +1 -1
- package/dist/cjs/ix-typography.cjs.entry.js +1 -1
- package/dist/cjs/ix-upload.cjs.entry.js +3 -3
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js +155 -0
- package/dist/cjs/ix-validation-tooltip.entry.cjs.js.map +1 -0
- package/dist/cjs/ix-workflow-step.cjs.entry.js +5 -4
- package/dist/cjs/ix-workflow-step.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-workflow-steps.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{modal-BdSf3C6f.js → modal-CsEGB0kd.js} +4 -3
- package/dist/cjs/modal-CsEGB0kd.js.map +1 -0
- package/dist/cjs/{service-DuiJmf7R.js → service-FGbUpQQM.js} +4 -4
- package/dist/cjs/service-FGbUpQQM.js.map +1 -0
- package/dist/cjs/siemens-ix.cjs.js +1 -1
- package/dist/cjs/{theme-switcher-Do9dkNUv.js → theme-switcher-76Td30il.js} +25 -37
- package/dist/cjs/theme-switcher-76Td30il.js.map +1 -0
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/action-card/action-card.js +2 -2
- package/dist/collection/components/action-card/action-card.js.map +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/avatar.js.map +1 -1
- package/dist/collection/components/breadcrumb/breadcrumb.js +9 -9
- package/dist/collection/components/breadcrumb/breadcrumb.js.map +1 -1
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +16 -16
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.js.map +1 -1
- package/dist/collection/components/category-filter/category-filter.js +43 -12
- package/dist/collection/components/category-filter/category-filter.js.map +1 -1
- package/dist/collection/components/chip/chip.css +1 -1
- package/dist/collection/components/chip/chip.js +13 -12
- package/dist/collection/components/chip/chip.js.map +1 -1
- package/dist/collection/components/date-dropdown/date-dropdown.js +19 -19
- package/dist/collection/components/date-dropdown/date-dropdown.js.map +1 -1
- package/dist/collection/components/date-input/date-input.js +5 -5
- package/dist/collection/components/date-input/date-input.js.map +1 -1
- package/dist/collection/components/date-picker/date-picker-component.js.map +1 -1
- package/dist/collection/components/date-picker/date-picker.js +31 -26
- package/dist/collection/components/date-picker/date-picker.js.map +1 -1
- package/dist/collection/components/date-time-card/date-time-card.js +30 -5
- package/dist/collection/components/date-time-card/date-time-card.js.map +1 -1
- package/dist/collection/components/datetime-picker/datetime-picker.js +94 -7
- package/dist/collection/components/datetime-picker/datetime-picker.js.map +1 -1
- package/dist/collection/components/drawer/drawer.js +5 -6
- package/dist/collection/components/drawer/drawer.js.map +1 -1
- package/dist/collection/components/event-list/event-list.js +6 -6
- package/dist/collection/components/event-list/event-list.js.map +1 -1
- package/dist/collection/components/filter-chip/filter-chip.css +1 -0
- package/dist/collection/components/group/group.css +0 -12
- package/dist/collection/components/group/group.js +23 -23
- package/dist/collection/components/group/group.js.map +1 -1
- package/dist/collection/components/group-item/group-item.css +6 -22
- package/dist/collection/components/group-item/group-item.js +8 -44
- package/dist/collection/components/group-item/group-item.js.map +1 -1
- package/dist/collection/components/helper-text/helper-text.js +1 -1
- package/dist/collection/components/icon-button/icon-button.js +2 -2
- package/dist/collection/components/icon-button/icon-button.js.map +1 -1
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +1 -1
- package/dist/collection/components/input/input.js +5 -5
- package/dist/collection/components/input/input.js.map +1 -1
- package/dist/collection/components/input/number-input.js +6 -6
- package/dist/collection/components/input/textarea.js +2 -2
- package/dist/collection/components/input-group/input-group.css +115 -0
- package/dist/collection/components/input-group/input-group.js +152 -0
- package/dist/collection/components/input-group/input-group.js.map +1 -0
- package/dist/collection/components/key-value/key-value.js +1 -1
- package/dist/collection/components/key-value-list/key-value-list.js +1 -1
- package/dist/collection/components/kpi/kpi.js +3 -3
- package/dist/collection/components/layout-auto/layout-auto.js +1 -1
- package/dist/collection/components/layout-grid/layout-grid.js +2 -2
- package/dist/collection/components/link-button/link-button.js +3 -3
- package/dist/collection/components/map-navigation/map-navigation.js +2 -3
- package/dist/collection/components/map-navigation/map-navigation.js.map +1 -1
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +2 -2
- package/dist/collection/components/menu/menu-expand-icon.js +1 -1
- package/dist/collection/components/menu/menu.js +36 -12
- package/dist/collection/components/menu/menu.js.map +1 -1
- package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
- package/dist/collection/components/menu-about-news/menu-about-news.js +4 -4
- package/dist/collection/components/menu-avatar/menu-avatar.js +7 -7
- package/dist/collection/components/menu-avatar/menu-avatar.js.map +1 -1
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
- package/dist/collection/components/menu-category/menu-category.js +5 -5
- package/dist/collection/components/menu-item/menu-item.js +4 -4
- package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
- package/dist/collection/components/message-bar/message-bar.js +18 -12
- package/dist/collection/components/message-bar/message-bar.js.map +1 -1
- package/dist/collection/components/modal/modal.css +1 -1
- package/dist/collection/components/modal/modal.js +29 -29
- package/dist/collection/components/modal/modal.js.map +1 -1
- package/dist/collection/components/modal-content/modal-content.js +1 -1
- package/dist/collection/components/modal-footer/modal-footer.js +1 -1
- package/dist/collection/components/modal-header/modal-header.js +1 -1
- package/dist/collection/components/modal-loading/modal-loading.js +1 -1
- package/dist/collection/components/pagination/pagination.js +9 -9
- package/dist/collection/components/pagination/pagination.js.map +1 -1
- package/dist/collection/components/pill/pill.css +1 -1
- package/dist/collection/components/push-card/push-card.js +7 -7
- package/dist/collection/components/push-card/push-card.js.map +1 -1
- package/dist/collection/components/select/select.js +8 -11
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/spinner/spinner.css +5 -5
- package/dist/collection/components/time-input/time-input.js +32 -3
- package/dist/collection/components/time-input/time-input.js.map +1 -1
- package/dist/collection/components/time-picker/time-picker.js +199 -14
- package/dist/collection/components/time-picker/time-picker.js.map +1 -1
- package/dist/collection/components/toast/toast-container.js +5 -5
- package/dist/collection/components/toast/toast-container.js.map +1 -1
- package/dist/collection/components/toast/toast.js +9 -8
- package/dist/collection/components/toast/toast.js.map +1 -1
- package/dist/collection/components/toggle/toggle.css +227 -0
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +4 -4
- package/dist/collection/components/typography/typography.js +1 -1
- package/dist/collection/components/upload/upload.js +3 -3
- package/dist/collection/components/utils/application-layout/service.js +2 -2
- package/dist/collection/components/utils/application-layout/service.js.map +1 -1
- package/dist/collection/components/utils/modal/loading.js +1 -1
- package/dist/collection/components/utils/modal/loading.js.map +1 -1
- package/dist/collection/components/utils/modal/message.js +2 -1
- package/dist/collection/components/utils/modal/message.js.map +1 -1
- package/dist/collection/components/utils/notification-color.js.map +1 -1
- package/dist/collection/components/utils/theme-switcher.js +23 -35
- package/dist/collection/components/utils/theme-switcher.js.map +1 -1
- package/dist/collection/components/validation-tooltip/validation-tooltip.css +225 -0
- package/dist/collection/components/validation-tooltip/validation-tooltip.js +250 -0
- package/dist/collection/components/validation-tooltip/validation-tooltip.js.map +1 -0
- package/dist/collection/components/workflow-step/workflow-step.js +5 -4
- package/dist/collection/components/workflow-step/workflow-step.js.map +1 -1
- package/dist/collection/components/workflow-steps/workflow-steps.js +1 -1
- package/dist/collection/tests/utils/test/page.js +2 -2
- package/dist/collection/tests/utils/test/page.js.map +1 -1
- package/dist/esm/find-element-CFRrPFxi.js +103 -0
- package/dist/esm/find-element-CFRrPFxi.js.map +1 -0
- package/dist/esm/{find-element-CiSM2A9Q.js → floating-ui.dom-CAqtPJ4-.js} +3 -102
- package/dist/esm/floating-ui.dom-CAqtPJ4-.js.map +1 -0
- package/dist/esm/{index-D4tQ_iTq.js → index--ZIr3Aqz.js} +3 -3
- package/dist/esm/{index-D4tQ_iTq.js.map → index--ZIr3Aqz.js.map} +1 -1
- package/dist/esm/index-Cz75KU1f.js.map +1 -1
- package/dist/esm/index-DGODjp4O.js +8 -0
- package/dist/esm/index.js +4 -4
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/ix-action-card.entry.js +2 -2
- package/dist/esm/ix-action-card.entry.js.map +1 -1
- package/dist/esm/ix-application-header.entry.js +3 -3
- package/dist/esm/ix-application-switch-modal.entry.js +1 -1
- package/dist/esm/ix-application.entry.js +2 -2
- package/dist/esm/ix-avatar.ix-menu-avatar-item.entry.js.map +1 -1
- package/dist/esm/ix-avatar_2.entry.js +1 -1
- package/dist/esm/ix-basic-navigation.entry.js +1 -1
- package/dist/esm/ix-breadcrumb-item.entry.js +7 -7
- package/dist/esm/ix-breadcrumb-item.entry.js.map +1 -1
- package/dist/esm/ix-breadcrumb.entry.js +6 -6
- package/dist/esm/ix-breadcrumb.entry.js.map +1 -1
- package/dist/esm/ix-category-filter.entry.js +16 -8
- package/dist/esm/ix-category-filter.entry.js.map +1 -1
- package/dist/esm/ix-chip.entry.js +10 -9
- package/dist/esm/ix-chip.entry.js.map +1 -1
- package/dist/esm/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.js.map +1 -1
- package/dist/esm/ix-col_4.entry.js +18 -18
- package/dist/esm/ix-date-dropdown.entry.js +11 -11
- package/dist/esm/ix-date-dropdown.entry.js.map +1 -1
- package/dist/esm/ix-date-input.entry.js +4 -4
- package/dist/esm/ix-date-input.entry.js.map +1 -1
- package/dist/esm/ix-date-time-card.entry.js +8 -3
- package/dist/esm/ix-date-time-card.entry.js.map +1 -1
- package/dist/esm/ix-datetime-picker.entry.js +21 -3
- package/dist/esm/ix-datetime-picker.entry.js.map +1 -1
- package/dist/esm/ix-drawer.entry.js +5 -6
- package/dist/esm/ix-drawer.entry.js.map +1 -1
- package/dist/esm/ix-dropdown.entry.js +2 -1
- package/dist/esm/ix-dropdown.entry.js.map +1 -1
- package/dist/esm/ix-event-list.entry.js +4 -4
- package/dist/esm/ix-event-list.entry.js.map +1 -1
- package/dist/esm/ix-filter-chip.ix-select-item.entry.js.map +1 -1
- package/dist/esm/ix-filter-chip_2.entry.js +1 -1
- package/dist/esm/ix-group-context-menu.ix-group-item.entry.js.map +1 -1
- package/dist/esm/ix-group-context-menu_2.entry.js +5 -18
- package/dist/esm/ix-group.entry.js +19 -19
- package/dist/esm/ix-group.entry.js.map +1 -1
- package/dist/esm/ix-helper-text.entry.js +1 -1
- package/dist/esm/ix-icon-button.ix-spinner.entry.js.map +1 -1
- package/dist/esm/ix-icon-button_2.entry.js +2 -2
- package/dist/esm/ix-icon-toggle-button.entry.js +1 -1
- package/dist/esm/ix-input-group.entry.js +128 -0
- package/dist/esm/ix-input-group.entry.js.map +1 -0
- package/dist/esm/ix-input.entry.js +5 -5
- package/dist/esm/ix-input.entry.js.map +1 -1
- 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 +3 -3
- package/dist/esm/ix-layout-auto.entry.js +1 -1
- package/dist/esm/ix-link-button.entry.js +3 -3
- package/dist/esm/ix-map-navigation-overlay.entry.js +2 -2
- package/dist/esm/ix-map-navigation.entry.js +2 -3
- package/dist/esm/ix-map-navigation.entry.js.map +1 -1
- 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-avatar.entry.js +4 -4
- package/dist/esm/ix-menu-avatar.entry.js.map +1 -1
- package/dist/esm/ix-menu-category.entry.js +5 -5
- package/dist/esm/ix-menu-expand-icon.entry.js +1 -1
- 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.entry.js +20 -16
- package/dist/esm/ix-menu.entry.js.map +1 -1
- package/dist/esm/ix-message-bar.entry.js +8 -5
- package/dist/esm/ix-message-bar.entry.js.map +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-loading.entry.js +1 -1
- package/dist/esm/ix-modal.entry.js +14 -14
- package/dist/esm/ix-modal.entry.js.map +1 -1
- package/dist/esm/ix-number-input.entry.js +6 -6
- package/dist/esm/ix-pagination.entry.js +5 -5
- package/dist/esm/ix-pagination.entry.js.map +1 -1
- package/dist/esm/ix-pane-layout.entry.js +1 -1
- package/dist/esm/ix-pane.entry.js +1 -1
- package/dist/esm/ix-pill.entry.js +1 -1
- package/dist/esm/ix-pill.entry.js.map +1 -1
- package/dist/esm/ix-push-card.entry.js +3 -3
- package/dist/esm/ix-push-card.entry.js.map +1 -1
- package/dist/esm/ix-select.entry.js +8 -11
- package/dist/esm/ix-select.entry.js.map +1 -1
- package/dist/esm/ix-textarea.entry.js +2 -2
- package/dist/esm/ix-time-input.entry.js +9 -3
- package/dist/esm/ix-time-input.entry.js.map +1 -1
- package/dist/esm/ix-time-picker.entry.js +58 -10
- package/dist/esm/ix-time-picker.entry.js.map +1 -1
- package/dist/esm/ix-toast-container.entry.js +5 -5
- package/dist/esm/ix-toast-container.entry.js.map +1 -1
- package/dist/esm/ix-toast.entry.js +6 -5
- package/dist/esm/ix-toast.entry.js.map +1 -1
- package/dist/esm/ix-toggle.entry.js +4 -4
- package/dist/esm/ix-toggle.entry.js.map +1 -1
- package/dist/esm/ix-tooltip.entry.js +3 -2
- package/dist/esm/ix-tooltip.entry.js.map +1 -1
- package/dist/esm/ix-tree-item.entry.js +4 -4
- package/dist/esm/ix-tree.entry.js +1 -1
- package/dist/esm/ix-typography.entry.js +1 -1
- package/dist/esm/ix-upload.entry.js +3 -3
- package/dist/esm/ix-validation-tooltip.entry.js +153 -0
- package/dist/esm/ix-validation-tooltip.entry.js.map +1 -0
- package/dist/esm/ix-workflow-step.entry.js +5 -4
- package/dist/esm/ix-workflow-step.entry.js.map +1 -1
- package/dist/esm/ix-workflow-steps.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{modal-BQcyFJfE.js → modal-D9BaTrTa.js} +4 -3
- package/dist/esm/modal-D9BaTrTa.js.map +1 -0
- package/dist/esm/{service-Da0kv8hS.js → service-ktcE7NzB.js} +4 -4
- package/dist/esm/service-ktcE7NzB.js.map +1 -0
- package/dist/esm/siemens-ix.js +1 -1
- package/dist/esm/{theme-switcher-Bg6wsOIn.js → theme-switcher-DRqJGlG2.js} +25 -37
- package/dist/esm/theme-switcher-DRqJGlG2.js.map +1 -0
- package/dist/siemens-ix/index.esm.js +1 -1
- package/dist/siemens-ix/index.esm.js.map +1 -1
- package/dist/siemens-ix/ix-action-card.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-avatar.ix-menu-avatar-item.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-breadcrumb-item.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-breadcrumb.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-category-filter.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-chip.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-date-dropdown.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-date-input.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-date-time-card.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-datetime-picker.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-drawer.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-dropdown.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-event-list.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-filter-chip.ix-select-item.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-group-context-menu.ix-group-item.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-group.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-icon-button.ix-spinner.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-input-group.entry.esm.js.map +1 -0
- package/dist/siemens-ix/ix-input.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-map-navigation.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-menu-avatar.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-menu.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-message-bar.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-modal.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-pagination.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-pill.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-push-card.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-select.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-time-input.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-time-picker.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-toast-container.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-toast.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-toggle.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-tooltip.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-validation-tooltip.entry.esm.js.map +1 -0
- package/dist/siemens-ix/ix-workflow-step.entry.esm.js.map +1 -1
- package/dist/siemens-ix/{p-639d0d7f.entry.js → p-02621eb8.entry.js} +2 -2
- package/dist/siemens-ix/p-02621eb8.entry.js.map +1 -0
- package/dist/siemens-ix/{p-bf2374a0.entry.js → p-0469aec7.entry.js} +2 -2
- package/dist/siemens-ix/{p-800f59a7.entry.js → p-09cce59e.entry.js} +2 -2
- package/dist/siemens-ix/p-09cce59e.entry.js.map +1 -0
- package/dist/siemens-ix/{p-f14790b4.entry.js → p-14fca48a.entry.js} +2 -2
- package/dist/siemens-ix/{p-111687a2.entry.js → p-19c2cb50.entry.js} +2 -2
- package/dist/siemens-ix/{p-111687a2.entry.js.map → p-19c2cb50.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-c31b2027.entry.js → p-1ca58d8b.entry.js} +2 -2
- package/dist/siemens-ix/p-1d0ae43f.entry.js +2 -0
- package/dist/siemens-ix/p-1d0ae43f.entry.js.map +1 -0
- package/dist/siemens-ix/p-1fa5a3e4.entry.js +2 -0
- package/dist/siemens-ix/p-1fa5a3e4.entry.js.map +1 -0
- package/dist/siemens-ix/{p-1ac88556.entry.js → p-223c9d79.entry.js} +2 -2
- package/dist/siemens-ix/{p-1ac88556.entry.js.map → p-223c9d79.entry.js.map} +1 -1
- package/dist/siemens-ix/p-27f1d6c9.entry.js +2 -0
- package/dist/siemens-ix/p-27f1d6c9.entry.js.map +1 -0
- package/dist/siemens-ix/p-2d01c802.entry.js +2 -0
- package/dist/siemens-ix/p-2d01c802.entry.js.map +1 -0
- package/dist/siemens-ix/p-2d3f7bb5.entry.js +2 -0
- package/dist/siemens-ix/p-2d3f7bb5.entry.js.map +1 -0
- package/dist/siemens-ix/p-2d9b7dbd.entry.js +2 -0
- package/dist/siemens-ix/p-2d9b7dbd.entry.js.map +1 -0
- package/dist/siemens-ix/p-30545ef9.entry.js +2 -0
- package/dist/siemens-ix/{p-13fb0104.entry.js → p-3522b3af.entry.js} +2 -2
- package/dist/siemens-ix/{p-13fb0104.entry.js.map → p-3522b3af.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-6645d4ee.entry.js → p-404dffde.entry.js} +2 -2
- package/dist/siemens-ix/{p-3f06687e.entry.js → p-42a70164.entry.js} +2 -2
- package/dist/siemens-ix/p-42a70164.entry.js.map +1 -0
- package/dist/siemens-ix/{p-2041357d.entry.js → p-48b0fef4.entry.js} +2 -2
- package/dist/siemens-ix/{p-ae2e5e0c.entry.js → p-4b88c430.entry.js} +2 -2
- package/dist/siemens-ix/{p-ae2e5e0c.entry.js.map → p-4b88c430.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-91fa3ab0.entry.js → p-5140e6e6.entry.js} +2 -2
- package/dist/siemens-ix/{p-28fe8512.entry.js → p-52dc3ba0.entry.js} +2 -2
- package/dist/siemens-ix/{p-fbd0973d.entry.js → p-53e82da9.entry.js} +2 -2
- package/dist/siemens-ix/p-53e82da9.entry.js.map +1 -0
- package/dist/siemens-ix/p-53e9e280.entry.js +2 -0
- package/dist/siemens-ix/p-53e9e280.entry.js.map +1 -0
- package/dist/siemens-ix/p-5bed04ac.entry.js +2 -0
- package/dist/siemens-ix/p-5bed04ac.entry.js.map +1 -0
- package/dist/siemens-ix/{p-c248940f.entry.js → p-5c109476.entry.js} +2 -2
- package/dist/siemens-ix/p-5f72640f.entry.js +2 -0
- package/dist/siemens-ix/p-5f72640f.entry.js.map +1 -0
- package/dist/siemens-ix/{p-e3a219e3.entry.js → p-6a39d630.entry.js} +2 -2
- package/dist/siemens-ix/p-6c873cc5.entry.js +2 -0
- package/dist/siemens-ix/p-6d8e725c.entry.js +2 -0
- package/dist/siemens-ix/p-6d8e725c.entry.js.map +1 -0
- package/dist/siemens-ix/{p-e201fa04.entry.js → p-71550396.entry.js} +2 -2
- package/dist/siemens-ix/{p-e201fa04.entry.js.map → p-71550396.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-32203c19.entry.js → p-71e94914.entry.js} +2 -2
- package/dist/siemens-ix/p-71e94914.entry.js.map +1 -0
- package/dist/siemens-ix/p-740420eb.entry.js +2 -0
- package/dist/siemens-ix/p-740420eb.entry.js.map +1 -0
- package/dist/siemens-ix/{p-c6ecc2e3.entry.js → p-746b04cb.entry.js} +2 -2
- package/dist/siemens-ix/p-78ddd5f5.entry.js +2 -0
- package/dist/siemens-ix/p-78ddd5f5.entry.js.map +1 -0
- package/dist/siemens-ix/{p-75edf091.entry.js → p-7989235e.entry.js} +2 -2
- package/dist/siemens-ix/p-7989235e.entry.js.map +1 -0
- package/dist/siemens-ix/{p-9dbfd7cd.entry.js → p-7a108b0d.entry.js} +2 -2
- package/dist/siemens-ix/{p-1cd4280f.entry.js → p-7d95ae34.entry.js} +2 -2
- package/dist/siemens-ix/{p-75f4bbb1.entry.js → p-81c8d542.entry.js} +2 -2
- package/dist/siemens-ix/{p-d7c7d38b.entry.js → p-8dcc6456.entry.js} +2 -2
- package/dist/siemens-ix/{p-d1254b5b.entry.js → p-8e48a7a1.entry.js} +2 -2
- package/dist/siemens-ix/{p-c413e3c4.entry.js → p-8eee6a03.entry.js} +2 -2
- package/dist/siemens-ix/p-90089ce1.entry.js +2 -0
- package/dist/siemens-ix/{p-0ba7d263.entry.js → p-90bd8d7b.entry.js} +2 -2
- package/dist/siemens-ix/{p-1bd1380b.entry.js → p-95d4d849.entry.js} +2 -2
- package/dist/siemens-ix/{p-a7cb47ca.entry.js → p-9638c57b.entry.js} +2 -2
- package/dist/siemens-ix/p-9638c57b.entry.js.map +1 -0
- package/dist/siemens-ix/p-96a20067.entry.js +2 -0
- package/dist/siemens-ix/{p-2355f27d.entry.js.map → p-96a20067.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-38f9b6e2.entry.js → p-99ad8022.entry.js} +2 -2
- package/dist/siemens-ix/p-99ad8022.entry.js.map +1 -0
- package/dist/siemens-ix/p-9bd4c682.entry.js +2 -0
- package/dist/siemens-ix/{p-b895b3db.entry.js → p-9d7a2428.entry.js} +2 -2
- package/dist/siemens-ix/p-9d7a2428.entry.js.map +1 -0
- package/dist/siemens-ix/p-CAqtPJ4-.js +2 -0
- package/dist/siemens-ix/p-CAqtPJ4-.js.map +1 -0
- package/dist/siemens-ix/p-CFRrPFxi.js +2 -0
- package/dist/siemens-ix/p-CFRrPFxi.js.map +1 -0
- package/dist/siemens-ix/p-CpVbQsUI.js +2 -0
- package/dist/siemens-ix/p-CpVbQsUI.js.map +1 -0
- package/dist/siemens-ix/p-CsHYWHE6.js +2 -0
- package/dist/siemens-ix/p-CsHYWHE6.js.map +1 -0
- package/dist/siemens-ix/p-Cz75KU1f.js.map +1 -1
- package/dist/siemens-ix/{p-gkooEHol.js → p-CzzcLSmV.js} +2 -2
- package/dist/siemens-ix/p-CzzcLSmV.js.map +1 -0
- package/dist/siemens-ix/{p-CNToWy_R.js → p-DRnSC9aV.js} +2 -2
- package/dist/siemens-ix/{p-CNToWy_R.js.map → p-DRnSC9aV.js.map} +1 -1
- package/dist/siemens-ix/p-b11b63ca.entry.js +2 -0
- package/dist/siemens-ix/p-b11b63ca.entry.js.map +1 -0
- package/dist/siemens-ix/p-b59285eb.entry.js +2 -0
- package/dist/siemens-ix/{p-d9766334.entry.js.map → p-b59285eb.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-c949686e.entry.js → p-b6d9c16c.entry.js} +2 -2
- package/dist/siemens-ix/{p-c949686e.entry.js.map → p-b6d9c16c.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-d0213ff0.entry.js → p-b6dad40c.entry.js} +2 -2
- package/dist/siemens-ix/{p-331f1b60.entry.js → p-bb28a2d6.entry.js} +2 -2
- package/dist/siemens-ix/{p-e55cd52b.entry.js → p-bd369344.entry.js} +2 -2
- package/dist/siemens-ix/{p-db02f4c2.entry.js → p-c446ffdb.entry.js} +2 -2
- package/dist/siemens-ix/{p-96533ffc.entry.js → p-c8cf26c5.entry.js} +2 -2
- package/dist/siemens-ix/p-c8cf26c5.entry.js.map +1 -0
- package/dist/siemens-ix/{p-bb878ea4.entry.js → p-cd11dfa8.entry.js} +2 -2
- package/dist/siemens-ix/p-d0d972c2.entry.js +2 -0
- package/dist/siemens-ix/{p-5f7943f2.entry.js.map → p-d0d972c2.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-a67bc456.entry.js → p-dc5b5c0c.entry.js} +2 -2
- package/dist/siemens-ix/p-ddaf98b6.entry.js +2 -0
- package/dist/siemens-ix/p-ddaf98b6.entry.js.map +1 -0
- package/dist/siemens-ix/{p-7060645f.entry.js → p-eba51393.entry.js} +2 -2
- package/dist/siemens-ix/p-ec8f67b0.entry.js +2 -0
- package/dist/siemens-ix/p-ec8f67b0.entry.js.map +1 -0
- package/dist/siemens-ix/{p-d585e581.entry.js → p-f112fabd.entry.js} +2 -2
- package/dist/siemens-ix/{p-d585e581.entry.js.map → p-f112fabd.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-9272ae83.entry.js → p-f29eaee8.entry.js} +2 -2
- package/dist/siemens-ix/p-f55eef69.entry.js +2 -0
- package/dist/siemens-ix/p-f55eef69.entry.js.map +1 -0
- package/dist/siemens-ix/{p-9b88a932.entry.js → p-f6d678a6.entry.js} +2 -2
- package/dist/siemens-ix/siemens-ix-core.css +1 -1
- package/dist/siemens-ix/siemens-ix.css +2312 -2248
- package/dist/siemens-ix/siemens-ix.esm.js +1 -1
- package/dist/siemens-ix/theme/classic-dark.css +1 -1
- package/dist/siemens-ix/theme/classic-light.css +1 -1
- package/dist/types/components/avatar/avatar.d.ts +1 -1
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +3 -3
- package/dist/types/components/category-filter/category-filter.d.ts +9 -3
- package/dist/types/components/chip/chip.d.ts +2 -2
- package/dist/types/components/date-dropdown/date-dropdown.d.ts +6 -6
- package/dist/types/components/date-input/date-input.d.ts +4 -0
- package/dist/types/components/date-picker/date-picker-component.d.ts +1 -1
- package/dist/types/components/date-picker/date-picker.d.ts +5 -7
- package/dist/types/components/date-time-card/date-time-card.d.ts +5 -1
- package/dist/types/components/datetime-picker/datetime-picker.d.ts +20 -2
- package/dist/types/components/event-list/event-list.d.ts +1 -1
- package/dist/types/components/group/group.d.ts +4 -4
- package/dist/types/components/group-item/group-item.d.ts +2 -9
- package/dist/types/components/icon-button/icon-button.d.ts +1 -1
- package/dist/types/components/input-group/input-group.d.ts +24 -0
- package/dist/types/components/menu/menu.d.ts +4 -0
- package/dist/types/components/menu-avatar/menu-avatar.d.ts +1 -1
- package/dist/types/components/message-bar/message-bar.d.ts +4 -3
- package/dist/types/components/modal/modal.d.ts +9 -9
- package/dist/types/components/pagination/pagination.d.ts +2 -2
- package/dist/types/components/push-card/push-card.d.ts +2 -2
- package/dist/types/components/time-input/time-input.d.ts +6 -0
- package/dist/types/components/time-picker/time-picker.d.ts +40 -2
- package/dist/types/components/toast/toast.d.ts +1 -1
- package/dist/types/components/utils/notification-color.d.ts +1 -1
- package/dist/types/components/utils/theme-switcher.d.ts +4 -11
- package/dist/types/components/validation-tooltip/validation-tooltip.d.ts +45 -0
- package/dist/types/components.d.ts +421 -197
- package/hydrate/index.js +714 -328
- package/hydrate/index.mjs +714 -328
- package/package.json +3 -3
- package/scss/_core.scss +1 -0
- package/scss/components/_input-group.scss +32 -0
- package/scss/theme/classic/dark/_variables.scss +185 -185
- package/scss/theme/classic/light/_variables.scss +185 -185
- package/scss/theme/core/_common.scss +123 -123
- package/scss/theme/core/components/action-card.scss +65 -65
- package/scss/theme/core/components/app-header.scss +3 -3
- package/scss/theme/core/components/avatar.scss +5 -5
- package/scss/theme/core/components/blind.scss +16 -16
- package/scss/theme/core/components/button.scss +124 -124
- package/scss/theme/core/components/card.scss +61 -61
- package/scss/theme/core/components/checkbox.scss +61 -61
- package/scss/theme/core/components/chip.scss +21 -21
- package/scss/theme/core/components/datepicker.scss +54 -54
- package/scss/theme/core/components/event-list.scss +14 -14
- package/scss/theme/core/components/flip.scss +23 -23
- package/scss/theme/core/components/ghost.scss +1 -1
- package/scss/theme/core/components/group.scss +16 -16
- package/scss/theme/core/components/input-helper.scss +2 -2
- package/scss/theme/core/components/input.scss +28 -28
- package/scss/theme/core/components/kpi.scss +5 -5
- package/scss/theme/core/components/label.scss +2 -2
- package/scss/theme/core/components/link.scss +6 -6
- package/scss/theme/core/components/map-navigation.scss +2 -2
- package/scss/theme/core/components/menu.scss +19 -19
- package/scss/theme/core/components/message-bar.scss +3 -3
- package/scss/theme/core/components/modal-dialog.scss +1 -1
- package/scss/theme/core/components/navigation.scss +11 -11
- package/scss/theme/core/components/pagination.scss +6 -6
- package/scss/theme/core/components/pane.scss +5 -5
- package/scss/theme/core/components/pill.scss +1 -1
- package/scss/theme/core/components/progress-indicator.scss +22 -22
- package/scss/theme/core/components/push-card.scss +124 -124
- package/scss/theme/core/components/radiobutton.scss +44 -44
- package/scss/theme/core/components/scrollbar.scss +3 -3
- package/scss/theme/core/components/select-list.scss +11 -11
- package/scss/theme/core/components/slider.scss +12 -12
- package/scss/theme/core/components/switch.scss +145 -109
- package/scss/theme/core/components/tab.scss +33 -33
- package/scss/theme/core/components/table.scss +30 -30
- package/scss/theme/core/components/tile.scss +1 -1
- package/scss/theme/core/components/toast.scss +5 -5
- package/scss/theme/core/components/tooltip.scss +2 -2
- package/scss/theme/core/components/tree.scss +7 -7
- package/scss/theme/core/components/upload.scss +4 -4
- package/scss/theme/core/components/workflow.scss +7 -7
- package/components/p-4dm0FrTr.js.map +0 -1
- package/components/p-7-Wnr7e5.js.map +0 -1
- package/components/p-BNYHD56q.js.map +0 -1
- package/components/p-Bc15ecXv.js.map +0 -1
- package/components/p-BmLRwuMH.js.map +0 -1
- package/components/p-BruPthTZ.js.map +0 -1
- package/components/p-C9yPT68I.js.map +0 -1
- package/components/p-CiSM2A9Q.js.map +0 -1
- package/components/p-Cx5H0GeI.js.map +0 -1
- package/components/p-DE74-VWH.js.map +0 -1
- package/components/p-DLcItN6d.js.map +0 -1
- package/components/p-DSF854K6.js.map +0 -1
- package/components/p-DVPJHakC.js +0 -78
- package/components/p-DVPJHakC.js.map +0 -1
- package/components/p-R9YNQy08.js +0 -56
- package/components/p-gkooEHol.js.map +0 -1
- package/dist/cjs/find-element-BNZJcvT8.js.map +0 -1
- package/dist/cjs/modal-BdSf3C6f.js.map +0 -1
- package/dist/cjs/service-DuiJmf7R.js.map +0 -1
- package/dist/cjs/theme-switcher-Do9dkNUv.js.map +0 -1
- package/dist/esm/find-element-CiSM2A9Q.js.map +0 -1
- package/dist/esm/modal-BQcyFJfE.js.map +0 -1
- package/dist/esm/service-Da0kv8hS.js.map +0 -1
- package/dist/esm/theme-switcher-Bg6wsOIn.js.map +0 -1
- package/dist/siemens-ix/p-21106fcd.entry.js +0 -2
- package/dist/siemens-ix/p-21106fcd.entry.js.map +0 -1
- package/dist/siemens-ix/p-2355f27d.entry.js +0 -2
- package/dist/siemens-ix/p-2b046df5.entry.js +0 -2
- package/dist/siemens-ix/p-2b046df5.entry.js.map +0 -1
- package/dist/siemens-ix/p-32200cc4.entry.js +0 -2
- package/dist/siemens-ix/p-32200cc4.entry.js.map +0 -1
- package/dist/siemens-ix/p-32203c19.entry.js.map +0 -1
- package/dist/siemens-ix/p-38f9b6e2.entry.js.map +0 -1
- package/dist/siemens-ix/p-3f06687e.entry.js.map +0 -1
- package/dist/siemens-ix/p-566a58f4.entry.js +0 -2
- package/dist/siemens-ix/p-566a58f4.entry.js.map +0 -1
- package/dist/siemens-ix/p-5d48f9cb.entry.js +0 -2
- package/dist/siemens-ix/p-5d48f9cb.entry.js.map +0 -1
- package/dist/siemens-ix/p-5f7943f2.entry.js +0 -2
- package/dist/siemens-ix/p-639d0d7f.entry.js.map +0 -1
- package/dist/siemens-ix/p-670d5b84.entry.js +0 -2
- package/dist/siemens-ix/p-670d5b84.entry.js.map +0 -1
- package/dist/siemens-ix/p-71a38f35.entry.js +0 -2
- package/dist/siemens-ix/p-75edf091.entry.js.map +0 -1
- package/dist/siemens-ix/p-78797f4b.entry.js +0 -2
- package/dist/siemens-ix/p-78797f4b.entry.js.map +0 -1
- package/dist/siemens-ix/p-800f59a7.entry.js.map +0 -1
- package/dist/siemens-ix/p-86ac2254.entry.js +0 -2
- package/dist/siemens-ix/p-86ac2254.entry.js.map +0 -1
- package/dist/siemens-ix/p-8bd3f89a.entry.js +0 -2
- package/dist/siemens-ix/p-8bd3f89a.entry.js.map +0 -1
- package/dist/siemens-ix/p-96533ffc.entry.js.map +0 -1
- package/dist/siemens-ix/p-98ab64dc.entry.js +0 -2
- package/dist/siemens-ix/p-98ab64dc.entry.js.map +0 -1
- package/dist/siemens-ix/p-9a8188a7.entry.js +0 -2
- package/dist/siemens-ix/p-9a8188a7.entry.js.map +0 -1
- package/dist/siemens-ix/p-C9yPT68I.js +0 -2
- package/dist/siemens-ix/p-C9yPT68I.js.map +0 -1
- package/dist/siemens-ix/p-CiSM2A9Q.js +0 -2
- package/dist/siemens-ix/p-CiSM2A9Q.js.map +0 -1
- package/dist/siemens-ix/p-DxCNpXRB.js +0 -2
- package/dist/siemens-ix/p-DxCNpXRB.js.map +0 -1
- package/dist/siemens-ix/p-a6612a5b.entry.js +0 -2
- package/dist/siemens-ix/p-a7cb47ca.entry.js.map +0 -1
- package/dist/siemens-ix/p-ac1f35ad.entry.js +0 -2
- package/dist/siemens-ix/p-ac1f35ad.entry.js.map +0 -1
- package/dist/siemens-ix/p-b895b3db.entry.js.map +0 -1
- package/dist/siemens-ix/p-c10b2e40.entry.js +0 -2
- package/dist/siemens-ix/p-d4b0b3d1.entry.js +0 -2
- package/dist/siemens-ix/p-d4b0b3d1.entry.js.map +0 -1
- package/dist/siemens-ix/p-d9766334.entry.js +0 -2
- package/dist/siemens-ix/p-ea435816.entry.js +0 -2
- package/dist/siemens-ix/p-ea435816.entry.js.map +0 -1
- package/dist/siemens-ix/p-fbd0973d.entry.js.map +0 -1
- package/dist/siemens-ix/p-fbedad11.entry.js +0 -2
- package/dist/siemens-ix/p-gkooEHol.js.map +0 -1
- /package/dist/siemens-ix/{p-bf2374a0.entry.js.map → p-0469aec7.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f14790b4.entry.js.map → p-14fca48a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c31b2027.entry.js.map → p-1ca58d8b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c10b2e40.entry.js.map → p-30545ef9.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-6645d4ee.entry.js.map → p-404dffde.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-2041357d.entry.js.map → p-48b0fef4.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-91fa3ab0.entry.js.map → p-5140e6e6.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-28fe8512.entry.js.map → p-52dc3ba0.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c248940f.entry.js.map → p-5c109476.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-e3a219e3.entry.js.map → p-6a39d630.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-71a38f35.entry.js.map → p-6c873cc5.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c6ecc2e3.entry.js.map → p-746b04cb.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9dbfd7cd.entry.js.map → p-7a108b0d.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1cd4280f.entry.js.map → p-7d95ae34.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-75f4bbb1.entry.js.map → p-81c8d542.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d7c7d38b.entry.js.map → p-8dcc6456.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d1254b5b.entry.js.map → p-8e48a7a1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c413e3c4.entry.js.map → p-8eee6a03.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-fbedad11.entry.js.map → p-90089ce1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0ba7d263.entry.js.map → p-90bd8d7b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1bd1380b.entry.js.map → p-95d4d849.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a6612a5b.entry.js.map → p-9bd4c682.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d0213ff0.entry.js.map → p-b6dad40c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-331f1b60.entry.js.map → p-bb28a2d6.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-e55cd52b.entry.js.map → p-bd369344.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-db02f4c2.entry.js.map → p-c446ffdb.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-bb878ea4.entry.js.map → p-cd11dfa8.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a67bc456.entry.js.map → p-dc5b5c0c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-7060645f.entry.js.map → p-eba51393.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9272ae83.entry.js.map → p-f29eaee8.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9b88a932.entry.js.map → p-f6d678a6.entry.js.map} +0 -0
|
@@ -117,8 +117,7 @@
|
|
|
117
117
|
:host ::-webkit-scrollbar-corner {
|
|
118
118
|
display: none;
|
|
119
119
|
}
|
|
120
|
-
:host > button
|
|
121
|
-
:host > .group-footer {
|
|
120
|
+
:host > button {
|
|
122
121
|
display: flex;
|
|
123
122
|
height: 100%;
|
|
124
123
|
width: 100%;
|
|
@@ -132,19 +131,9 @@
|
|
|
132
131
|
cursor: pointer;
|
|
133
132
|
padding-left: 2.5rem;
|
|
134
133
|
}
|
|
135
|
-
:host > button:focus-visible
|
|
136
|
-
:host > .group-footer:focus-visible {
|
|
134
|
+
:host > button:focus-visible {
|
|
137
135
|
border: 1px solid var(--theme-color-focus-bdr);
|
|
138
136
|
}
|
|
139
|
-
:host > button:disabled,
|
|
140
|
-
:host > .group-footer:disabled {
|
|
141
|
-
cursor: default;
|
|
142
|
-
pointer-events: none;
|
|
143
|
-
}
|
|
144
|
-
:host .group-footer {
|
|
145
|
-
cursor: default;
|
|
146
|
-
border: none;
|
|
147
|
-
}
|
|
148
137
|
:host ix-icon {
|
|
149
138
|
margin-right: 0.25rem;
|
|
150
139
|
margin-top: -0.125rem;
|
|
@@ -196,25 +185,20 @@
|
|
|
196
185
|
background-color: var(--theme-group-item-indicator--background--selected);
|
|
197
186
|
}
|
|
198
187
|
|
|
199
|
-
:host(:
|
|
188
|
+
:host(:hover) {
|
|
200
189
|
background-color: var(--theme-color-ghost--selected-hover);
|
|
201
190
|
border-color: var(--theme-group-item--border-color--hover);
|
|
202
191
|
}
|
|
203
192
|
|
|
204
|
-
:host(
|
|
193
|
+
:host(.selected:hover) {
|
|
205
194
|
background-color: var(--theme-color-ghost--selected-hover);
|
|
206
195
|
}
|
|
207
196
|
|
|
208
|
-
:host(:
|
|
197
|
+
:host(:active) {
|
|
209
198
|
background-color: var(--theme-color-ghost--selected-active);
|
|
210
199
|
border-color: var(--theme-group-item--border-color--active);
|
|
211
200
|
}
|
|
212
201
|
|
|
213
|
-
:host(
|
|
202
|
+
:host(.selected:active) {
|
|
214
203
|
background-color: var(--theme-color-ghost--selected-active);
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
:host([disabled]) {
|
|
218
|
-
pointer-events: none;
|
|
219
|
-
color: var(--theme-color-weak-text);
|
|
220
204
|
}
|
|
@@ -13,36 +13,23 @@ export class GroupItem {
|
|
|
13
13
|
* Supress the selection of the group
|
|
14
14
|
*/
|
|
15
15
|
this.suppressSelection = false;
|
|
16
|
-
/**
|
|
17
|
-
* @internal
|
|
18
|
-
* Item represents the footer of the group
|
|
19
|
-
*/
|
|
20
|
-
this.groupFooter = false;
|
|
21
16
|
/**
|
|
22
17
|
* Show selected state
|
|
23
18
|
*/
|
|
24
19
|
this.selected = false;
|
|
25
20
|
/**
|
|
26
|
-
* Disable the group item.
|
|
27
21
|
* The elements tabindex attribute will get set accordingly.
|
|
28
|
-
*
|
|
29
|
-
* If false tabindex will be 0, -1 otherwise.
|
|
22
|
+
* If true tabindex will be 0, -1 otherwise.
|
|
30
23
|
*/
|
|
31
|
-
this.
|
|
24
|
+
this.focusable = true;
|
|
32
25
|
}
|
|
33
26
|
clickListen() {
|
|
34
|
-
if (this.suppressSelection || this.disabled) {
|
|
35
|
-
return;
|
|
36
|
-
}
|
|
37
27
|
this.selectedChanged.emit(this.hostElement);
|
|
38
28
|
}
|
|
39
29
|
render() {
|
|
40
|
-
|
|
41
|
-
return (h(Host, { class: "suppress-mouse-states" }, h("div", { class: "group-footer" }, h("slot", null))));
|
|
42
|
-
}
|
|
43
|
-
return (h(Host, { class: {
|
|
30
|
+
return (h(Host, { key: '149648f824aeee11a3877fec7dba0b45ccef6ba1', class: {
|
|
44
31
|
selected: this.selected && !this.suppressSelection,
|
|
45
|
-
} }, h("button", { tabindex: this.
|
|
32
|
+
} }, h("button", { key: 'e367df0d5ea0af27e88a572f96b0ce151b5f02db', tabindex: this.focusable ? 0 : -1 }, h("div", { key: '589e2774a57f474ed9b77639b262f9d0fa607473', class: "group-entry-selection-indicator" }), this.icon ? (h("ix-icon", { size: "16", name: this.icon, "aria-label": this.ariaLabelIcon })) : null, this.text ? (h("span", { class: "group-entry-text" }, h("span", { title: this.text }, this.text))) : null, this.secondaryText ? (h("span", { class: "group-entry-text-secondary" }, h("span", { title: this.secondaryText }, this.secondaryText))) : null, h("slot", { key: '9cebb9c4a0383c77e935f6c5937c86445f4c28ec' }))));
|
|
46
33
|
}
|
|
47
34
|
static get is() { return "ix-group-item"; }
|
|
48
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -154,29 +141,6 @@ export class GroupItem {
|
|
|
154
141
|
"reflect": false,
|
|
155
142
|
"defaultValue": "false"
|
|
156
143
|
},
|
|
157
|
-
"groupFooter": {
|
|
158
|
-
"type": "boolean",
|
|
159
|
-
"attribute": "group-footer",
|
|
160
|
-
"mutable": false,
|
|
161
|
-
"complexType": {
|
|
162
|
-
"original": "boolean",
|
|
163
|
-
"resolved": "boolean",
|
|
164
|
-
"references": {}
|
|
165
|
-
},
|
|
166
|
-
"required": false,
|
|
167
|
-
"optional": false,
|
|
168
|
-
"docs": {
|
|
169
|
-
"tags": [{
|
|
170
|
-
"name": "internal",
|
|
171
|
-
"text": "Item represents the footer of the group"
|
|
172
|
-
}],
|
|
173
|
-
"text": ""
|
|
174
|
-
},
|
|
175
|
-
"getter": false,
|
|
176
|
-
"setter": false,
|
|
177
|
-
"reflect": false,
|
|
178
|
-
"defaultValue": "false"
|
|
179
|
-
},
|
|
180
144
|
"selected": {
|
|
181
145
|
"type": "boolean",
|
|
182
146
|
"attribute": "selected",
|
|
@@ -197,9 +161,9 @@ export class GroupItem {
|
|
|
197
161
|
"reflect": false,
|
|
198
162
|
"defaultValue": "false"
|
|
199
163
|
},
|
|
200
|
-
"
|
|
164
|
+
"focusable": {
|
|
201
165
|
"type": "boolean",
|
|
202
|
-
"attribute": "
|
|
166
|
+
"attribute": "focusable",
|
|
203
167
|
"mutable": false,
|
|
204
168
|
"complexType": {
|
|
205
169
|
"original": "boolean",
|
|
@@ -210,12 +174,12 @@ export class GroupItem {
|
|
|
210
174
|
"optional": false,
|
|
211
175
|
"docs": {
|
|
212
176
|
"tags": [],
|
|
213
|
-
"text": "
|
|
177
|
+
"text": "The elements tabindex attribute will get set accordingly.\nIf true tabindex will be 0, -1 otherwise."
|
|
214
178
|
},
|
|
215
179
|
"getter": false,
|
|
216
180
|
"setter": false,
|
|
217
181
|
"reflect": false,
|
|
218
|
-
"defaultValue": "
|
|
182
|
+
"defaultValue": "true"
|
|
219
183
|
},
|
|
220
184
|
"index": {
|
|
221
185
|
"type": "number",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-item.js","sourceRoot":"","sources":["../../../src/components/group-item/group-item.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACL,SAAS,EACT,OAAO,EACP,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,MAAM,EACN,IAAI,GACL,MAAM,eAAe,CAAC;AAOvB,MAAM,OAAO,SAAS;IALtB;QA4BE;;WAEG;QACK,sBAAiB,GAAG,KAAK,CAAC;QAElC
|
|
1
|
+
{"version":3,"file":"group-item.js","sourceRoot":"","sources":["../../../src/components/group-item/group-item.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACL,SAAS,EACT,OAAO,EACP,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,MAAM,EACN,IAAI,GACL,MAAM,eAAe,CAAC;AAOvB,MAAM,OAAO,SAAS;IALtB;QA4BE;;WAEG;QACK,sBAAiB,GAAG,KAAK,CAAC;QAElC;;WAEG;QACK,aAAQ,GAAY,KAAK,CAAC;QAElC;;;WAGG;QACK,cAAS,GAAG,IAAI,CAAC;KAgD1B;IAnCC,WAAW;QACT,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IAC9C,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDACH,KAAK,EAAE;gBACL,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,iBAAiB;aACnD;YAED,+DAAQ,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;gBACvC,4DAAK,KAAK,EAAC,iCAAiC,GAAO;gBAClD,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CACX,eACE,IAAI,EAAC,IAAI,EACT,IAAI,EAAE,IAAI,CAAC,IAAI,gBACH,IAAI,CAAC,aAAa,GACrB,CACZ,CAAC,CAAC,CAAC,IAAI;gBACP,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CACX,YAAM,KAAK,EAAC,kBAAkB;oBAC5B,YAAM,KAAK,EAAE,IAAI,CAAC,IAAI,IAAG,IAAI,CAAC,IAAI,CAAQ,CACrC,CACR,CAAC,CAAC,CAAC,IAAI;gBACP,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,CACpB,YAAM,KAAK,EAAC,4BAA4B;oBACtC,YAAM,KAAK,EAAE,IAAI,CAAC,aAAa,IAAG,IAAI,CAAC,aAAa,CAAQ,CACvD,CACR,CAAC,CAAC,CAAC,IAAI;gBACR,8DAAa,CACN,CACJ,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n} from '@stencil/core';\n\n@Component({\n tag: 'ix-group-item',\n styleUrl: 'group-item.scss',\n shadow: true,\n})\nexport class GroupItem {\n @Element() hostElement!: HTMLIxGroupItemElement;\n\n /**\n * Group item icon\n */\n @Prop() icon?: string;\n\n /**\n * ARIA label for the icon\n */\n @Prop() ariaLabelIcon?: string;\n\n /**\n * Group item text\n */\n @Prop() text?: string;\n\n /**\n * Group item secondary text\n */\n @Prop() secondaryText?: string;\n\n /**\n * Supress the selection of the group\n */\n @Prop() suppressSelection = false;\n\n /**\n * Show selected state\n */\n @Prop() selected: boolean = false;\n\n /**\n * The elements tabindex attribute will get set accordingly.\n * If true tabindex will be 0, -1 otherwise.\n */\n @Prop() focusable = true;\n\n /**\n * Selection changed\n */\n @Event() selectedChanged!: EventEmitter<HTMLIxGroupItemElement>;\n\n /**\n * Index\n */\n @Prop() index?: number;\n\n @Listen('click', { passive: true })\n clickListen() {\n this.selectedChanged.emit(this.hostElement);\n }\n\n render() {\n return (\n <Host\n class={{\n selected: this.selected && !this.suppressSelection,\n }}\n >\n <button tabindex={this.focusable ? 0 : -1}>\n <div class=\"group-entry-selection-indicator\"></div>\n {this.icon ? (\n <ix-icon\n size=\"16\"\n name={this.icon}\n aria-label={this.ariaLabelIcon}\n ></ix-icon>\n ) : null}\n {this.text ? (\n <span class=\"group-entry-text\">\n <span title={this.text}>{this.text}</span>\n </span>\n ) : null}\n {this.secondaryText ? (\n <span class=\"group-entry-text-secondary\">\n <span title={this.secondaryText}>{this.secondaryText}</span>\n </span>\n ) : null}\n <slot></slot>\n </button>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -43,7 +43,7 @@ export class HelperText {
|
|
|
43
43
|
this.validationResults = checkFieldClasses(forElement);
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return (h(Host, { key: '
|
|
46
|
+
return (h(Host, { key: '9fa836439e6423067e2da4328bfaeefbe898109a' }, h(HelperTextUtil, Object.assign({ key: '86d6666e919b9c80fd85e40a7b27dbbdeebd4a2c', helperText: this.helperText,
|
|
47
47
|
invalidText: this.invalidText,
|
|
48
48
|
validText: this.validText,
|
|
49
49
|
infoText: this.infoText,
|
|
@@ -79,7 +79,7 @@ export class IconButton {
|
|
|
79
79
|
type: this.type,
|
|
80
80
|
extraClasses: this.getIconSizeClass(),
|
|
81
81
|
};
|
|
82
|
-
return (h(Host, { key: '
|
|
82
|
+
return (h(Host, { key: 'f14e9fcbcef5261063165d6a3e9a852a50f52685', class: Object.assign(Object.assign({}, this.getIconSizeClass()), { disabled: this.disabled || this.loading }) }, h(BaseIconButton, Object.assign({ key: '457e6e503a1ef75babc9894f8e44e6b672000d5c' }, baseButtonProps))));
|
|
83
83
|
}
|
|
84
84
|
static get is() { return "ix-icon-button"; }
|
|
85
85
|
static get encapsulation() { return "shadow"; }
|
|
@@ -109,7 +109,7 @@ export class IconButton {
|
|
|
109
109
|
"docs": {
|
|
110
110
|
"tags": [{
|
|
111
111
|
"name": "deprecated",
|
|
112
|
-
"text": "Set the native `aria-label` on the ix-icon-button host element
|
|
112
|
+
"text": "Set the native `aria-label` on the ix-icon-button host element"
|
|
113
113
|
}],
|
|
114
114
|
"text": "Accessibility label for the icon button\nWill be set as aria-label on the nested HTML button element"
|
|
115
115
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-button.js","sourceRoot":"","sources":["../../../src/components/icon-button/icon-button.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAElE,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EACL,4BAA4B,EAC5B,kBAAkB,GACnB,MAAM,eAAe,CAAC;AAQvB,MAAM,OAAO,UAAU;IALvB;QAgBE;;WAEG;QACK,YAAO,GAAsB,gBAAgB,CAAC;QAEtD;;WAEG;QACK,SAAI,GAAY,KAAK,CAAC;QAO9B;;;WAGG;QACK,SAAI,GAAuB,IAAI,CAAC;QAOxC;;WAEG;QACK,aAAQ,GAAG,KAAK,CAAC;QAEzB;;WAEG;QACK,SAAI,GAAwB,QAAQ,CAAC;QAE7C;;WAEG;QACK,YAAO,GAAG,KAAK,CAAC;KAoEzB;IA7DC,gBAAgB;QACd,IAAI,IAAI,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;YAC3B,MAAM,YAAY,GAAG,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;YACtD,YAAY,CAAC,KAAK,CAAC,OAAO,GAAG,MAAM,CAAC;YACpC,YAAY,CAAC,IAAI,GAAG,QAAQ,CAAC;YAC7B,YAAY,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC;YAC3B,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;YAE3C,IAAI,CAAC,mBAAmB,GAAG,YAAY,CAAC;QAC1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,EAAE,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,OAAO;YAGzC,EAAC,cAAc,qEAAK,eAAe,EAAmB,CACjD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, Element, h, Host, Prop } from '@stencil/core';\nimport { BaseButtonProps } from '../button/base-button';\nimport { BaseIconButton } from '../icon-button/base-icon-button';\nimport {\n getFallbackLabelFromIconName,\n a11yHostAttributes,\n} from '../utils/a11y';\nimport type { IconButtonVariant } from './icon-button.types';\n\n@Component({\n tag: 'ix-icon-button',\n styleUrl: 'icon-button.scss',\n shadow: true,\n})\nexport class IconButton {\n @Element() hostElement!: HTMLIxIconButtonElement;\n\n /**\n * Accessibility label for the icon button\n * Will be set as aria-label on the nested HTML button element\n *\n * @deprecated Set the native `aria-label` on the ix-icon-button host element
|
|
1
|
+
{"version":3,"file":"icon-button.js","sourceRoot":"","sources":["../../../src/components/icon-button/icon-button.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAElE,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EACL,4BAA4B,EAC5B,kBAAkB,GACnB,MAAM,eAAe,CAAC;AAQvB,MAAM,OAAO,UAAU;IALvB;QAgBE;;WAEG;QACK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AC,YAAY,CAAC,mCAClB,IAAI,CAAC,SAAS,mCACd,4BAA4B,CAAC,IAAI,CAAC,IAAI,CAAC;aAC1C;YACD,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,QAAQ,EAAE,IAAI;YACd,QAAQ,EAAE,IAAI,CAAC,IAAI;YACnB,QAAQ,EAAE,KAAK;YACf,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,OAAO;YACvC,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,QAAQ,EAAE,IAAI,CAAC,IAAI;YACnB,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,kBAAkB,EAAE;YACxC,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,YAAY,EAAE,IAAI,CAAC,gBAAgB,EAAE;SACtC,CAAC;QAEF,OAAO,CACL,EAAC,IAAI,qDACH,KAAK,kCACA,IAAI,CAAC,gBAAgB,EAAE,KAC1B,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,OAAO;YAGzC,EAAC,cAAc,qEAAK,eAAe,EAAmB,CACjD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, Element, h, Host, Prop } from '@stencil/core';\nimport { BaseButtonProps } from '../button/base-button';\nimport { BaseIconButton } from '../icon-button/base-icon-button';\nimport {\n getFallbackLabelFromIconName,\n a11yHostAttributes,\n} from '../utils/a11y';\nimport type { IconButtonVariant } from './icon-button.types';\n\n@Component({\n tag: 'ix-icon-button',\n styleUrl: 'icon-button.scss',\n shadow: true,\n})\nexport class IconButton {\n @Element() hostElement!: HTMLIxIconButtonElement;\n\n /**\n * Accessibility label for the icon button\n * Will be set as aria-label on the nested HTML button element\n *\n * @deprecated Set the native `aria-label` on the ix-icon-button host element\n */\n @Prop({ attribute: 'a11y-label' }) a11yLabel?: string;\n\n /**\n * Variant of button\n */\n @Prop() variant: IconButtonVariant = 'subtle-primary';\n\n /**\n * Button in oval shape\n */\n @Prop() oval: boolean = false;\n\n /**\n * Icon name\n */\n @Prop() icon?: string;\n\n /**\n * Size of icon in button\n *\n */\n @Prop() size: '24' | '16' | '12' = '24';\n\n /**\n * Color of icon in button\n */\n @Prop() iconColor?: string;\n\n /**\n * Disabled\n */\n @Prop() disabled = false;\n\n /**\n * Type of the button\n */\n @Prop() type: 'button' | 'submit' = 'button';\n\n /**\n * Loading button\n */\n @Prop() loading = false;\n\n /**\n * Temp. workaround until stencil issue is fixed (https://github.com/ionic-team/stencil/issues/2284)\n */\n submitButtonElement!: HTMLButtonElement;\n\n componentDidLoad() {\n if (this.type === 'submit') {\n const submitButton = document.createElement('button');\n submitButton.style.display = 'none';\n submitButton.type = 'submit';\n submitButton.tabIndex = -1;\n this.hostElement.appendChild(submitButton);\n\n this.submitButtonElement = submitButton;\n }\n }\n\n dispatchFormEvents() {\n if (this.type === 'submit' && this.submitButtonElement) {\n this.submitButtonElement.click();\n }\n }\n\n private getIconSizeClass() {\n return {\n 'btn-icon-12': this.size === '12',\n 'btn-icon-16': this.size === '16',\n 'btn-icon-32': this.size === '24' || !this.size,\n };\n }\n\n render() {\n const a11y = a11yHostAttributes(this.hostElement);\n\n const baseButtonProps: BaseButtonProps = {\n ariaAttributes: {\n 'aria-label':\n a11y['aria-label'] ??\n this.a11yLabel ??\n getFallbackLabelFromIconName(this.icon),\n },\n variant: this.variant,\n iconOnly: true,\n iconOval: this.oval,\n selected: false,\n disabled: this.disabled || this.loading,\n icon: this.icon,\n iconColor: this.iconColor,\n iconSize: this.size,\n loading: this.loading,\n onClick: () => this.dispatchFormEvents(),\n type: this.type,\n extraClasses: this.getIconSizeClass(),\n };\n\n return (\n <Host\n class={{\n ...this.getIconSizeClass(),\n disabled: this.disabled || this.loading,\n }}\n >\n <BaseIconButton {...baseButtonProps}></BaseIconButton>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -75,7 +75,7 @@ export class IconToggleButton {
|
|
|
75
75
|
},
|
|
76
76
|
extraClasses: Object.assign({ 'icon-button': true }, this.getIconSizeClass()),
|
|
77
77
|
};
|
|
78
|
-
return (h(Host, { key: '
|
|
78
|
+
return (h(Host, { key: '6c7f9e4e25875e5a688b4f211d596b458b819584', class: Object.assign(Object.assign({}, this.getIconSizeClass()), { disabled: this.disabled || this.loading }) }, h(BaseIconButton, Object.assign({ key: '6813db68fff977b64748f962cde7836e72d06cb9' }, baseButtonProps))));
|
|
79
79
|
}
|
|
80
80
|
static get is() { return "ix-icon-toggle-button"; }
|
|
81
81
|
static get encapsulation() { return "shadow"; }
|
|
@@ -124,22 +124,22 @@ export class Input {
|
|
|
124
124
|
render() {
|
|
125
125
|
var _a;
|
|
126
126
|
const inputAria = getAriaAttributesForInput(this);
|
|
127
|
-
return (h(Host, { key: '
|
|
127
|
+
return (h(Host, { key: 'f1a0a8e252682aab237e572ad8079cf496d0b519', class: {
|
|
128
128
|
disabled: this.disabled,
|
|
129
129
|
readonly: this.readonly,
|
|
130
|
-
} }, h("ix-field-wrapper", { key: '
|
|
130
|
+
} }, h("ix-field-wrapper", { key: 'a6bd8f0e90398dfb1288ceb585c9852fc4056552', htmlForLabel: this.inputId, required: this.required, label: this.label, helperText: this.helperText, invalidText: this.invalidText, infoText: this.infoText, warningText: this.warningText, validText: this.validText, showTextAsTooltip: this.showTextAsTooltip, isInvalid: this.isInvalid, isValid: this.isValid, isInfo: this.isInfo, isWarning: this.isWarning, controlRef: this.inputRef }, h("div", { key: '30e5e1debfa21d1d6a9db780a1fa807e88e5fd62', class: "input-wrapper" }, h(SlotStart, { key: '04338b8d4de55cb1cacfaeb381c39796ed542b27', slotStartRef: this.slotStartRef, onSlotChange: () => this.updatePaddings() }), h(InputElement, { key: '3fe643f62d02522dad0bd63876bbf9873f77881b', id: this.inputId, readonly: this.readonly, disabled: this.disabled, maxLength: this.maxLength, minLength: this.minLength, pattern: this.pattern, type: this.inputType, isInvalid: this.isInvalid, required: this.required, value: this.value, placeholder: this.placeholder, inputRef: this.inputRef, onKeyPress: (event) => checkAllowedKeys(this, event), valueChange: (value) => this.valueChange.emit(value), updateFormInternalValue: (value) => this.updateFormInternalValue(value), onBlur: () => {
|
|
131
131
|
onInputBlur(this, this.inputRef.current);
|
|
132
132
|
this.touched = true;
|
|
133
|
-
}, ariaAttributes: inputAria }), h(SlotEnd, { key: '
|
|
133
|
+
}, ariaAttributes: inputAria }), h(SlotEnd, { key: '7b3f09276058e7c9081c5a5c406ccb6f31556593', slotEndRef: this.slotEndRef, onSlotChange: () => this.updatePaddings() }, h("ix-icon-button", { key: '7a71d559e3f77db760039853e8e40144899a6d5b', color: "color-weak-text", class: {
|
|
134
134
|
'password-eye': true,
|
|
135
|
-
'eye-hidden': this.type !== 'password',
|
|
135
|
+
'eye-hidden': this.type !== 'password' || this.disabled,
|
|
136
136
|
}, variant: "tertiary", icon: this.inputType === 'password' ? iconEye : iconEyeCancelled, onClick: () => {
|
|
137
137
|
if (this.inputType === 'password') {
|
|
138
138
|
this.inputType = 'text';
|
|
139
139
|
return;
|
|
140
140
|
}
|
|
141
141
|
this.inputType = 'password';
|
|
142
|
-
} }))), !!this.maxLength && this.maxLength > 0 && (h("ix-typography", { key: '
|
|
142
|
+
} }))), !!this.maxLength && this.maxLength > 0 && (h("ix-typography", { key: '000514dd6f61b34ffb769b06e201e0f2fbb01a9d', class: "bottom-text", slot: "bottom-right", textColor: "soft" }, ((_a = this.value) !== null && _a !== void 0 ? _a : '').length, "/", this.maxLength)))));
|
|
143
143
|
}
|
|
144
144
|
static get is() { return "ix-input"; }
|
|
145
145
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../../src/components/input/input.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;;;;;;AAEH,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EACL,eAAe,EACf,SAAS,EACT,OAAO,EACP,KAAK,EAEL,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,EACL,KAAK,EACL,CAAC,GACF,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,uBAAuB,GAGxB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC9D,OAAO,EACL,0CAA0C,EAC1C,2BAA2B,EAC3B,gBAAgB,EAEhB,yBAAyB,EACzB,mBAAmB,EACnB,WAAW,GACZ,MAAM,cAAc,CAAC;AAEtB,IAAI,QAAQ,GAAG,CAAC,CAAC;AAEjB;;;;GAIG;AAOH,MAAM,OAAO,KAAK;IANlB;QAUE;;WAEG;QACK,SAAI,GAAkD,MAAM,CAAC;QAYrE;;WAEG;QACqC,UAAK,GAAW,EAAE,CAAC;QAE3D;;WAEG;QACsB,aAAQ,GAAY,KAAK,CAAC;QAEnD;;WAEG;QACsB,aAAQ,GAAY,KAAK,CAAC;QAEnD;;WAEG;QACsB,aAAQ,GAAY,KAAK,CAAC;QAwE1C,cAAS,GAAG,KAAK,CAAC;QAClB,YAAO,GAAG,KAAK,CAAC;QAChB,WAAM,GAAG,KAAK,CAAC;QACf,cAAS,GAAG,KAAK,CAAC;QAClB,wBAAmB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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF;AAjLC;IADC,uBAAuB,EAAE;gDAGzB","sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { iconEye, iconEyeCancelled } from '@siemens/ix-icons/icons';\nimport {\n AttachInternals,\n Component,\n Element,\n Event,\n EventEmitter,\n Host,\n Method,\n Prop,\n State,\n Watch,\n h,\n} from '@stencil/core';\nimport { A11yAttributes } from '../utils/a11y';\nimport {\n HookValidationLifecycle,\n IxInputFieldComponent,\n ValidationResults,\n} from '../utils/input';\nimport { makeRef } from '../utils/make-ref';\nimport { InputElement, SlotEnd, SlotStart } from './input.fc';\nimport {\n addDisposableChangesAndVisibilityObservers,\n adjustPaddingForStartAndEnd,\n checkAllowedKeys,\n DisposableChangesAndVisibilityObservers,\n getAriaAttributesForInput,\n mapValidationResult,\n onInputBlur,\n} from './input.util';\n\nlet inputIds = 0;\n\n/**\n * @form-ready\n * @slot start - Element will be displayed at the start of the input\n * @slot end - Element will be displayed at the end of the input\n */\n@Component({\n tag: 'ix-input',\n styleUrl: 'input.scss',\n shadow: true,\n formAssociated: true,\n})\nexport class Input implements IxInputFieldComponent<string> {\n @Element() hostElement!: HTMLIxInputElement;\n @AttachInternals() formInternals!: ElementInternals;\n\n /**\n * The type of the text field. Possible values are 'text', 'email', or 'password'.\n */\n @Prop() type: 'text' | 'email' | 'password' | 'tel' | 'url' = 'text';\n\n /**\n * The name of the text field.\n */\n @Prop({ reflect: true }) name?: string;\n\n /**\n * The placeholder text for the text field.\n */\n @Prop({ reflect: true }) placeholder?: string;\n\n /**\n * The value of the text field.\n */\n @Prop({ reflect: true, mutable: true }) value: string = '';\n\n /**\n * Specifies whether the text field is required.\n */\n @Prop({ reflect: true }) required: boolean = false;\n\n /**\n * Specifies whether the text field is disabled.\n */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /**\n * Specifies whether the text field is readonly.\n */\n @Prop({ reflect: true }) readonly: boolean = false;\n\n /**\n * The helper text for the text field.\n */\n @Prop() helperText?: string;\n\n /**\n * The info text for the text field.\n */\n @Prop() infoText?: string;\n\n /**\n * Specifies whether to show the text as a tooltip.\n */\n @Prop() showTextAsTooltip?: boolean;\n\n /**\n * The valid text for the text field.\n */\n @Prop() validText?: string;\n\n /**\n * The warning text for the text field.\n */\n @Prop() warningText?: string;\n\n /**\n * The label for the text field.\n */\n @Prop({ reflect: true }) label?: string;\n\n /**\n * The error text for the text field.\n */\n @Prop() invalidText?: string;\n\n /**\n * The pattern for the text field.\n */\n @Prop() pattern?: string;\n\n /**\n * The maximum length of the text field.\n */\n @Prop() maxLength?: number;\n\n /**\n * The minimum length of the text field.\n */\n @Prop() minLength?: number;\n\n /**\n * The allowed characters pattern for the text field.\n */\n @Prop() allowedCharactersPattern?: string;\n\n /**\n * Event emitted when the value of the text field changes.\n */\n @Event() valueChange!: EventEmitter<string>;\n\n /**\n * Event emitted when the validity state of the text field changes.\n */\n @Event() validityStateChange!: EventEmitter<ValidityState>;\n\n /**\n * Event emitted when the text field loses focus.\n */\n @Event() ixBlur!: EventEmitter<void>;\n\n @State() isInvalid = false;\n @State() isValid = false;\n @State() isInfo = false;\n @State() isWarning = false;\n @State() isInvalidByRequired = false;\n\n @State() inputType = 'text';\n\n private readonly inputRef = makeRef<HTMLInputElement>();\n private readonly slotEndRef = makeRef<HTMLDivElement>();\n private readonly slotStartRef = makeRef<HTMLDivElement>();\n private readonly inputId = `input-${inputIds++}`;\n private touched = false;\n\n private disposableChangesAndVisibilityObservers?: DisposableChangesAndVisibilityObservers;\n\n @HookValidationLifecycle()\n updateClassMappings(result: ValidationResults) {\n mapValidationResult(this, result);\n }\n\n @Watch('type')\n updateInputType() {\n this.inputType = this.type;\n }\n\n componentWillLoad() {\n this.updateFormInternalValue(this.value);\n this.inputType = this.type;\n }\n\n connectedCallback(): void {\n this.disposableChangesAndVisibilityObservers =\n addDisposableChangesAndVisibilityObservers(\n this.hostElement,\n this.updatePaddings.bind(this)\n );\n }\n\n private updatePaddings() {\n adjustPaddingForStartAndEnd(\n this.slotStartRef.current,\n this.slotEndRef.current,\n this.inputRef.current\n );\n }\n\n disconnectedCallback(): void {\n this.disposableChangesAndVisibilityObservers?.();\n }\n\n updateFormInternalValue(value: string) {\n this.formInternals.setFormValue(value);\n this.value = value;\n }\n\n /** @internal */\n @Method()\n async getAssociatedFormElement(): Promise<HTMLFormElement | null> {\n return this.formInternals.form;\n }\n\n /** @internal */\n @Method()\n hasValidValue(): Promise<boolean> {\n return Promise.resolve(!!this.value);\n }\n\n /**\n * Returns the native input element used in the text field.\n */\n @Method()\n getNativeInputElement() {\n return this.inputRef.waitForCurrent();\n }\n\n /**\n * Returns the validity state of the input field.\n */\n @Method()\n async getValidityState(): Promise<ValidityState> {\n const input = await this.inputRef.waitForCurrent();\n return Promise.resolve(input.validity);\n }\n\n /**\n * Focuses the input field\n */\n @Method()\n async focusInput(): Promise<void> {\n return (await this.getNativeInputElement()).focus();\n }\n\n /**\n * Returns whether the text field has been touched.\n * @internal\n */\n @Method()\n isTouched(): Promise<boolean> {\n return Promise.resolve(this.touched);\n }\n\n render() {\n const inputAria: A11yAttributes = getAriaAttributesForInput(this);\n return (\n <Host\n class={{\n disabled: this.disabled,\n readonly: this.readonly,\n }}\n >\n <ix-field-wrapper\n htmlForLabel={this.inputId}\n required={this.required}\n label={this.label}\n helperText={this.helperText}\n invalidText={this.invalidText}\n infoText={this.infoText}\n warningText={this.warningText}\n validText={this.validText}\n showTextAsTooltip={this.showTextAsTooltip}\n isInvalid={this.isInvalid}\n isValid={this.isValid}\n isInfo={this.isInfo}\n isWarning={this.isWarning}\n controlRef={this.inputRef}\n >\n <div class=\"input-wrapper\">\n <SlotStart\n slotStartRef={this.slotStartRef}\n onSlotChange={() => this.updatePaddings()}\n ></SlotStart>\n <InputElement\n id={this.inputId}\n readonly={this.readonly}\n disabled={this.disabled}\n maxLength={this.maxLength}\n minLength={this.minLength}\n pattern={this.pattern}\n type={this.inputType}\n isInvalid={this.isInvalid}\n required={this.required}\n value={this.value}\n placeholder={this.placeholder}\n inputRef={this.inputRef}\n onKeyPress={(event) => checkAllowedKeys(this, event)}\n valueChange={(value) => this.valueChange.emit(value)}\n updateFormInternalValue={(value) =>\n this.updateFormInternalValue(value)\n }\n onBlur={() => {\n onInputBlur(this, this.inputRef.current);\n this.touched = true;\n }}\n ariaAttributes={inputAria}\n ></InputElement>\n <SlotEnd\n slotEndRef={this.slotEndRef}\n onSlotChange={() => this.updatePaddings()}\n >\n <ix-icon-button\n color=\"color-weak-text\"\n class={{\n 'password-eye': true,\n 'eye-hidden': this.type !== 'password',\n }}\n variant=\"tertiary\"\n icon={\n this.inputType === 'password' ? iconEye : iconEyeCancelled\n }\n onClick={() => {\n if (this.inputType === 'password') {\n this.inputType = 'text';\n return;\n }\n\n this.inputType = 'password';\n }}\n ></ix-icon-button>\n </SlotEnd>\n </div>\n {!!this.maxLength && this.maxLength > 0 && (\n <ix-typography\n class=\"bottom-text\"\n slot=\"bottom-right\"\n textColor=\"soft\"\n >\n {(this.value ?? '').length}/{this.maxLength}\n </ix-typography>\n )}\n </ix-field-wrapper>\n </Host>\n );\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../../src/components/input/input.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;;;;;;AAEH,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EACL,eAAe,EACf,SAAS,EACT,O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DX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { iconEye, iconEyeCancelled } from '@siemens/ix-icons/icons';\nimport {\n AttachInternals,\n Component,\n Element,\n Event,\n EventEmitter,\n Host,\n Method,\n Prop,\n State,\n Watch,\n h,\n} from '@stencil/core';\nimport { A11yAttributes } from '../utils/a11y';\nimport {\n HookValidationLifecycle,\n IxInputFieldComponent,\n ValidationResults,\n} from '../utils/input';\nimport { makeRef } from '../utils/make-ref';\nimport { InputElement, SlotEnd, SlotStart } from './input.fc';\nimport {\n addDisposableChangesAndVisibilityObservers,\n adjustPaddingForStartAndEnd,\n checkAllowedKeys,\n DisposableChangesAndVisibilityObservers,\n getAriaAttributesForInput,\n mapValidationResult,\n onInputBlur,\n} from './input.util';\n\nlet inputIds = 0;\n\n/**\n * @form-ready\n * @slot start - Element will be displayed at the start of the input\n * @slot end - Element will be displayed at the end of the input\n */\n@Component({\n tag: 'ix-input',\n styleUrl: 'input.scss',\n shadow: true,\n formAssociated: true,\n})\nexport class Input implements IxInputFieldComponent<string> {\n @Element() hostElement!: HTMLIxInputElement;\n @AttachInternals() formInternals!: ElementInternals;\n\n /**\n * The type of the text field. Possible values are 'text', 'email', or 'password'.\n */\n @Prop() type: 'text' | 'email' | 'password' | 'tel' | 'url' = 'text';\n\n /**\n * The name of the text field.\n */\n @Prop({ reflect: true }) name?: string;\n\n /**\n * The placeholder text for the text field.\n */\n @Prop({ reflect: true }) placeholder?: string;\n\n /**\n * The value of the text field.\n */\n @Prop({ reflect: true, mutable: true }) value: string = '';\n\n /**\n * Specifies whether the text field is required.\n */\n @Prop({ reflect: true }) required: boolean = false;\n\n /**\n * Specifies whether the text field is disabled.\n */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /**\n * Specifies whether the text field is readonly.\n */\n @Prop({ reflect: true }) readonly: boolean = false;\n\n /**\n * The helper text for the text field.\n */\n @Prop() helperText?: string;\n\n /**\n * The info text for the text field.\n */\n @Prop() infoText?: string;\n\n /**\n * Specifies whether to show the text as a tooltip.\n */\n @Prop() showTextAsTooltip?: boolean;\n\n /**\n * The valid text for the text field.\n */\n @Prop() validText?: string;\n\n /**\n * The warning text for the text field.\n */\n @Prop() warningText?: string;\n\n /**\n * The label for the text field.\n */\n @Prop({ reflect: true }) label?: string;\n\n /**\n * The error text for the text field.\n */\n @Prop() invalidText?: string;\n\n /**\n * The pattern for the text field.\n */\n @Prop() pattern?: string;\n\n /**\n * The maximum length of the text field.\n */\n @Prop() maxLength?: number;\n\n /**\n * The minimum length of the text field.\n */\n @Prop() minLength?: number;\n\n /**\n * The allowed characters pattern for the text field.\n */\n @Prop() allowedCharactersPattern?: string;\n\n /**\n * Event emitted when the value of the text field changes.\n */\n @Event() valueChange!: EventEmitter<string>;\n\n /**\n * Event emitted when the validity state of the text field changes.\n */\n @Event() validityStateChange!: EventEmitter<ValidityState>;\n\n /**\n * Event emitted when the text field loses focus.\n */\n @Event() ixBlur!: EventEmitter<void>;\n\n @State() isInvalid = false;\n @State() isValid = false;\n @State() isInfo = false;\n @State() isWarning = false;\n @State() isInvalidByRequired = false;\n\n @State() inputType = 'text';\n\n private readonly inputRef = makeRef<HTMLInputElement>();\n private readonly slotEndRef = makeRef<HTMLDivElement>();\n private readonly slotStartRef = makeRef<HTMLDivElement>();\n private readonly inputId = `input-${inputIds++}`;\n private touched = false;\n\n private disposableChangesAndVisibilityObservers?: DisposableChangesAndVisibilityObservers;\n\n @HookValidationLifecycle()\n updateClassMappings(result: ValidationResults) {\n mapValidationResult(this, result);\n }\n\n @Watch('type')\n updateInputType() {\n this.inputType = this.type;\n }\n\n componentWillLoad() {\n this.updateFormInternalValue(this.value);\n this.inputType = this.type;\n }\n\n connectedCallback(): void {\n this.disposableChangesAndVisibilityObservers =\n addDisposableChangesAndVisibilityObservers(\n this.hostElement,\n this.updatePaddings.bind(this)\n );\n }\n\n private updatePaddings() {\n adjustPaddingForStartAndEnd(\n this.slotStartRef.current,\n this.slotEndRef.current,\n this.inputRef.current\n );\n }\n\n disconnectedCallback(): void {\n this.disposableChangesAndVisibilityObservers?.();\n }\n\n updateFormInternalValue(value: string) {\n this.formInternals.setFormValue(value);\n this.value = value;\n }\n\n /** @internal */\n @Method()\n async getAssociatedFormElement(): Promise<HTMLFormElement | null> {\n return this.formInternals.form;\n }\n\n /** @internal */\n @Method()\n hasValidValue(): Promise<boolean> {\n return Promise.resolve(!!this.value);\n }\n\n /**\n * Returns the native input element used in the text field.\n */\n @Method()\n getNativeInputElement() {\n return this.inputRef.waitForCurrent();\n }\n\n /**\n * Returns the validity state of the input field.\n */\n @Method()\n async getValidityState(): Promise<ValidityState> {\n const input = await this.inputRef.waitForCurrent();\n return Promise.resolve(input.validity);\n }\n\n /**\n * Focuses the input field\n */\n @Method()\n async focusInput(): Promise<void> {\n return (await this.getNativeInputElement()).focus();\n }\n\n /**\n * Returns whether the text field has been touched.\n * @internal\n */\n @Method()\n isTouched(): Promise<boolean> {\n return Promise.resolve(this.touched);\n }\n\n render() {\n const inputAria: A11yAttributes = getAriaAttributesForInput(this);\n return (\n <Host\n class={{\n disabled: this.disabled,\n readonly: this.readonly,\n }}\n >\n <ix-field-wrapper\n htmlForLabel={this.inputId}\n required={this.required}\n label={this.label}\n helperText={this.helperText}\n invalidText={this.invalidText}\n infoText={this.infoText}\n warningText={this.warningText}\n validText={this.validText}\n showTextAsTooltip={this.showTextAsTooltip}\n isInvalid={this.isInvalid}\n isValid={this.isValid}\n isInfo={this.isInfo}\n isWarning={this.isWarning}\n controlRef={this.inputRef}\n >\n <div class=\"input-wrapper\">\n <SlotStart\n slotStartRef={this.slotStartRef}\n onSlotChange={() => this.updatePaddings()}\n ></SlotStart>\n <InputElement\n id={this.inputId}\n readonly={this.readonly}\n disabled={this.disabled}\n maxLength={this.maxLength}\n minLength={this.minLength}\n pattern={this.pattern}\n type={this.inputType}\n isInvalid={this.isInvalid}\n required={this.required}\n value={this.value}\n placeholder={this.placeholder}\n inputRef={this.inputRef}\n onKeyPress={(event) => checkAllowedKeys(this, event)}\n valueChange={(value) => this.valueChange.emit(value)}\n updateFormInternalValue={(value) =>\n this.updateFormInternalValue(value)\n }\n onBlur={() => {\n onInputBlur(this, this.inputRef.current);\n this.touched = true;\n }}\n ariaAttributes={inputAria}\n ></InputElement>\n <SlotEnd\n slotEndRef={this.slotEndRef}\n onSlotChange={() => this.updatePaddings()}\n >\n <ix-icon-button\n color=\"color-weak-text\"\n class={{\n 'password-eye': true,\n 'eye-hidden': this.type !== 'password' || this.disabled,\n }}\n variant=\"tertiary\"\n icon={\n this.inputType === 'password' ? iconEye : iconEyeCancelled\n }\n onClick={() => {\n if (this.inputType === 'password') {\n this.inputType = 'text';\n return;\n }\n\n this.inputType = 'password';\n }}\n ></ix-icon-button>\n </SlotEnd>\n </div>\n {!!this.maxLength && this.maxLength > 0 && (\n <ix-typography\n class=\"bottom-text\"\n slot=\"bottom-right\"\n textColor=\"soft\"\n >\n {(this.value ?? '').length}/{this.maxLength}\n </ix-typography>\n )}\n </ix-field-wrapper>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -111,19 +111,19 @@ export class NumberInput {
|
|
|
111
111
|
}
|
|
112
112
|
render() {
|
|
113
113
|
const showStepperButtons = this.showStepperButtons && (this.disabled || this.readonly) === false;
|
|
114
|
-
return (h(Host, { key: '
|
|
114
|
+
return (h(Host, { key: 'f4469bdb3c05aa990e20a17467d67243056c2767', class: {
|
|
115
115
|
disabled: this.disabled,
|
|
116
116
|
readonly: this.readonly,
|
|
117
|
-
} }, h("ix-field-wrapper", { key: '
|
|
117
|
+
} }, h("ix-field-wrapper", { key: 'b5172d5a04ff81b06484cd42bbafa95c4df918eb', id: this.numberInputId, required: this.required, label: this.label, helperText: this.helperText, invalidText: this.invalidText, infoText: this.infoText, warningText: this.warningText, validText: this.validText, showTextAsTooltip: this.showTextAsTooltip, isInvalid: this.isInvalid, isValid: this.isValid, isInfo: this.isInfo, isWarning: this.isWarning, controlRef: this.inputRef }, h("div", { key: '40c286987ba4b67a3dde2f034db1d0c22d5a9cfe', class: {
|
|
118
118
|
'input-wrapper': true,
|
|
119
119
|
'show-stepper-buttons': !!this.showStepperButtons,
|
|
120
|
-
} }, h(SlotStart, { key: '
|
|
120
|
+
} }, h(SlotStart, { key: '75e15f42a93ebc862ac718c35092be8175e97ca6', slotStartRef: this.slotStartRef, onSlotChange: () => this.updatePaddings() }), h(InputElement, { key: '552e8d9e1b0ee6f2359398b51d2d3690deb8f41d', id: this.numberInputId, readonly: this.readonly, disabled: this.disabled, step: this.step, min: this.min, max: this.max, pattern: this.pattern, type: 'number', isInvalid: this.isInvalid, required: this.required, value: this.value, placeholder: this.placeholder, inputRef: this.inputRef, onKeyPress: (event) => checkAllowedKeys(this, event), valueChange: (value) => this.valueChange.emit(Number(value)), updateFormInternalValue: (value) => this.updateFormInternalValue(Number(value)), onBlur: () => {
|
|
121
121
|
onInputBlur(this, this.inputRef.current);
|
|
122
122
|
this.touched = true;
|
|
123
|
-
} }), h(SlotEnd, { key: '
|
|
123
|
+
} }), h(SlotEnd, { key: '0a66c00a4c0c89543ceac9e67f3d20270811b606', slotEndRef: this.slotEndRef, onSlotChange: () => this.updatePaddings() }, h("div", { key: '7b7f430745f590159d4a358e48fe8c1b425ceb7c', class: {
|
|
124
124
|
'number-stepper-container': true,
|
|
125
125
|
'container-hidden': !showStepperButtons,
|
|
126
|
-
} }, h("ix-icon-button", { key: '
|
|
126
|
+
} }, h("ix-icon-button", { key: '3d01783a59bf18983785052b697fefac4519d0c4', variant: "subtle-tertiary", icon: iconMinus, size: "16", class: "number-stepper-button step-minus", "aria-label": "decrement number", onClick: () => {
|
|
127
127
|
if (!this.inputRef.current) {
|
|
128
128
|
return;
|
|
129
129
|
}
|
|
@@ -131,7 +131,7 @@ export class NumberInput {
|
|
|
131
131
|
checkInternalValidity(this, this.inputRef.current);
|
|
132
132
|
this.updateFormInternalValue(Number(this.inputRef.current.value));
|
|
133
133
|
this.valueChange.emit(this.value);
|
|
134
|
-
} }), h("ix-icon-button", { key: '
|
|
134
|
+
} }), h("ix-icon-button", { key: 'f4082f7d6c9f03369a3cd5d1259756bc9c61f831', variant: "subtle-tertiary", icon: iconPlus, size: "16", class: "number-stepper-button step-plus", "aria-label": "increment number", onClick: () => {
|
|
135
135
|
if (!this.inputRef.current) {
|
|
136
136
|
return;
|
|
137
137
|
}
|
|
@@ -94,10 +94,10 @@ export class Textarea {
|
|
|
94
94
|
}
|
|
95
95
|
render() {
|
|
96
96
|
var _a;
|
|
97
|
-
return (h(Host, { key: '
|
|
97
|
+
return (h(Host, { key: '2bd17a0b362db1a3b47a40a335e9dad0aacf60b2', class: {
|
|
98
98
|
disabled: this.disabled,
|
|
99
99
|
readonly: this.readonly,
|
|
100
|
-
} }, h("ix-field-wrapper", { key: '
|
|
100
|
+
} }, h("ix-field-wrapper", { key: '63f6f38a83f3ac585be94fcbae2f0a1f07a3594a', required: this.required, label: this.label, helperText: this.helperText, invalidText: this.invalidText, infoText: this.infoText, warningText: this.warningText, validText: this.validText, showTextAsTooltip: this.showTextAsTooltip, isInvalid: this.isInvalid, isValid: this.isValid, isInfo: this.isInfo, isWarning: this.isWarning, controlRef: this.textAreaRef }, !!this.maxLength && this.maxLength > 0 && (h("ix-typography", { key: 'edec746b0b0f15b01a42f827d8ed77d5b2ff3fbb', class: "bottom-text", slot: "bottom-right", textColor: "soft" }, ((_a = this.value) !== null && _a !== void 0 ? _a : '').length, "/", this.maxLength)), h("div", { key: 'bd53188011be0df0567500f6f4f85757210a5df3', class: "input-wrapper" }, h(TextareaElement, { key: '2b38f2d805863b6f85630f2192a6c1dcd5238e5a', minLength: this.minLength, maxLength: this.maxLength, textareaCols: this.textareaCols, textareaRows: this.textareaRows, textareaHeight: this.textareaHeight, textareaWidth: this.textareaWidth, resizeBehavior: this.resizeBehavior, readonly: this.readonly, disabled: this.disabled, isInvalid: this.isInvalid, required: this.required, value: this.value, placeholder: this.placeholder, textAreaRef: this.textAreaRef, valueChange: (value) => this.valueChange.emit(value), updateFormInternalValue: (value) => this.updateFormInternalValue(value), onBlur: () => {
|
|
101
101
|
onInputBlur(this, this.textAreaRef.current);
|
|
102
102
|
this.touched = true;
|
|
103
103
|
} })))));
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
3
|
+
*
|
|
4
|
+
* SPDX-License-Identifier: MIT
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the MIT license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
/*
|
|
10
|
+
* SPDX-FileCopyrightText: 2024 Siemens AG
|
|
11
|
+
*
|
|
12
|
+
* SPDX-License-Identifier: MIT
|
|
13
|
+
*
|
|
14
|
+
* This source code is licensed under the MIT license found in the
|
|
15
|
+
* LICENSE file in the root directory of this source tree.
|
|
16
|
+
*/
|
|
17
|
+
/*
|
|
18
|
+
* SPDX-FileCopyrightText: 2024 Siemens AG
|
|
19
|
+
*
|
|
20
|
+
* SPDX-License-Identifier: MIT
|
|
21
|
+
*
|
|
22
|
+
* This source code is licensed under the MIT license found in the
|
|
23
|
+
* LICENSE file in the root directory of this source tree.
|
|
24
|
+
*/
|
|
25
|
+
/*
|
|
26
|
+
* SPDX-FileCopyrightText: 2024 Siemens AG
|
|
27
|
+
*
|
|
28
|
+
* SPDX-License-Identifier: MIT
|
|
29
|
+
*
|
|
30
|
+
* This source code is licensed under the MIT license found in the
|
|
31
|
+
* LICENSE file in the root directory of this source tree.
|
|
32
|
+
*/
|
|
33
|
+
:host {
|
|
34
|
+
position: relative;
|
|
35
|
+
display: flex;
|
|
36
|
+
width: 100%;
|
|
37
|
+
flex-wrap: wrap;
|
|
38
|
+
align-items: stretch;
|
|
39
|
+
}
|
|
40
|
+
:host *,
|
|
41
|
+
:host *::after,
|
|
42
|
+
:host *::before {
|
|
43
|
+
box-sizing: border-box;
|
|
44
|
+
}
|
|
45
|
+
:host ::-webkit-scrollbar-button {
|
|
46
|
+
display: none;
|
|
47
|
+
}
|
|
48
|
+
@-moz-document url-prefix() {
|
|
49
|
+
:host * {
|
|
50
|
+
scrollbar-color: var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);
|
|
51
|
+
scrollbar-width: thin;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
:host {
|
|
55
|
+
/* width */
|
|
56
|
+
}
|
|
57
|
+
:host ::-webkit-scrollbar {
|
|
58
|
+
width: 0.5rem;
|
|
59
|
+
height: 0.5rem;
|
|
60
|
+
}
|
|
61
|
+
:host {
|
|
62
|
+
/* Track */
|
|
63
|
+
}
|
|
64
|
+
:host ::-webkit-scrollbar-track {
|
|
65
|
+
border-radius: 5px;
|
|
66
|
+
background: var(--theme-scrollbar-track--background);
|
|
67
|
+
}
|
|
68
|
+
:host ::-webkit-scrollbar-track:hover {
|
|
69
|
+
background: var(--theme-scrollbar-track--background--hover);
|
|
70
|
+
}
|
|
71
|
+
:host {
|
|
72
|
+
/* Handle */
|
|
73
|
+
}
|
|
74
|
+
:host ::-webkit-scrollbar-thumb {
|
|
75
|
+
border-radius: 5px;
|
|
76
|
+
background: var(--theme-scrollbar-thumb--background);
|
|
77
|
+
}
|
|
78
|
+
:host {
|
|
79
|
+
/* Handle on hover */
|
|
80
|
+
}
|
|
81
|
+
:host ::-webkit-scrollbar-thumb:hover {
|
|
82
|
+
background: var(--theme-scrollbar-thumb--background--hover);
|
|
83
|
+
}
|
|
84
|
+
:host ::-webkit-scrollbar-corner {
|
|
85
|
+
display: none;
|
|
86
|
+
}
|
|
87
|
+
:host .group {
|
|
88
|
+
display: flex;
|
|
89
|
+
position: absolute;
|
|
90
|
+
align-items: center;
|
|
91
|
+
height: 100%;
|
|
92
|
+
}
|
|
93
|
+
:host .group-start {
|
|
94
|
+
left: 0px;
|
|
95
|
+
height: 2rem;
|
|
96
|
+
margin-left: 0.5rem;
|
|
97
|
+
color: var(--theme-color-soft-text);
|
|
98
|
+
}
|
|
99
|
+
:host .group-end {
|
|
100
|
+
right: 0px;
|
|
101
|
+
height: 2rem;
|
|
102
|
+
margin-right: 0.5rem;
|
|
103
|
+
color: var(--theme-color-soft-text);
|
|
104
|
+
}
|
|
105
|
+
:host ::slotted(*) {
|
|
106
|
+
display: flex;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
:host(.disabled) {
|
|
110
|
+
pointer-events: none;
|
|
111
|
+
}
|
|
112
|
+
:host(.disabled) .group-start ::slotted(*),
|
|
113
|
+
:host(.disabled) .group-end ::slotted(*) {
|
|
114
|
+
opacity: 0.4 !important;
|
|
115
|
+
}
|