@siemens/ix 3.0.0-alpha.4 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/ix-action-card.js +4 -4
- package/components/ix-action-card.js.map +1 -1
- package/components/ix-application-header.js +1 -1
- package/components/ix-application-switch-modal.js +4 -4
- package/components/ix-application.js +3 -3
- package/components/ix-application.js.map +1 -1
- package/components/ix-avatar.js +1 -1
- package/components/ix-basic-navigation.js +5 -5
- package/components/ix-blind.js +6 -7
- package/components/ix-blind.js.map +1 -1
- package/components/ix-breadcrumb.js +3 -5
- package/components/ix-breadcrumb.js.map +1 -1
- package/components/ix-button.js +1 -1
- package/components/ix-card-accordion.js +1 -1
- package/components/ix-card-content.js +1 -1
- package/components/ix-card-list.js +9 -11
- package/components/ix-card-list.js.map +1 -1
- package/components/ix-card-title.js +1 -1
- package/components/ix-card.js +1 -1
- package/components/ix-category-filter.js +6 -6
- package/components/ix-category-filter.js.map +1 -1
- package/components/ix-checkbox-group.js +55 -8
- package/components/ix-checkbox-group.js.map +1 -1
- package/components/ix-checkbox.js +15 -7
- package/components/ix-checkbox.js.map +1 -1
- package/components/ix-chip.js +8 -7
- package/components/ix-chip.js.map +1 -1
- package/components/ix-col.js +1 -1
- package/components/ix-content-header.js +2 -2
- package/components/ix-content.js +4 -4
- package/components/ix-content.js.map +1 -1
- package/components/ix-custom-field.js +6 -6
- package/components/ix-custom-field.js.map +1 -1
- package/components/ix-date-dropdown.js +12 -16
- 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 +12 -22
- package/components/ix-datetime-picker.js.map +1 -1
- package/components/ix-divider.js +1 -1
- package/components/ix-drawer.js +1 -1
- package/components/ix-dropdown-button.js +5 -6
- package/components/ix-dropdown-button.js.map +1 -1
- package/components/ix-dropdown-header.js +2 -2
- package/components/ix-dropdown-header.js.map +1 -1
- package/components/ix-dropdown-quick-actions.js +1 -1
- package/components/ix-dropdown-quick-actions.js.map +1 -1
- package/components/ix-dropdown.js +1 -1
- package/components/ix-empty-state.js +3 -3
- package/components/ix-empty-state.js.map +1 -1
- package/components/ix-expanding-search.js +5 -6
- package/components/ix-expanding-search.js.map +1 -1
- package/components/ix-field-label.js +1 -1
- package/components/ix-field-wrapper.js +1 -1
- package/components/ix-filter-chip.js +1 -1
- package/components/ix-flip-tile.js +5 -7
- package/components/ix-flip-tile.js.map +1 -1
- package/components/ix-group-context-menu.js +1 -1
- package/components/ix-group.js +2 -2
- package/components/ix-helper-text.js +2 -2
- package/components/ix-icon-button.js +1 -1
- package/components/ix-icon-toggle-button.js +1 -1
- package/components/ix-icon-toggle-button.js.map +1 -1
- package/components/ix-input-group.js +1 -1
- package/components/ix-input-group.js.map +1 -1
- package/components/ix-input.js +18 -11
- package/components/ix-input.js.map +1 -1
- package/components/ix-key-value-list.js +1 -1
- package/components/ix-key-value-list.js.map +1 -1
- package/components/ix-key-value.js +1 -1
- package/components/ix-key-value.js.map +1 -1
- package/components/ix-layout-auto.js +1 -1
- package/components/ix-layout-auto.js.map +1 -1
- package/components/ix-layout-grid.js +1 -1
- package/components/ix-link-button.js +3 -3
- package/components/ix-link-button.js.map +1 -1
- package/components/ix-map-navigation-overlay.js +1 -1
- package/components/ix-map-navigation.js +8 -9
- package/components/ix-map-navigation.js.map +1 -1
- package/components/ix-menu-about-news.js +3 -3
- package/components/ix-menu-about.js +4 -4
- package/components/ix-menu-avatar.js +6 -8
- package/components/ix-menu-avatar.js.map +1 -1
- package/components/ix-menu-category.js +10 -10
- package/components/ix-menu-category.js.map +1 -1
- package/components/ix-menu-expand-icon.js +1 -1
- package/components/ix-menu-item.js +1 -1
- package/components/ix-menu-settings.js +1 -1
- package/components/ix-menu.js +17 -19
- package/components/ix-menu.js.map +1 -1
- package/components/ix-message-bar.js +1 -1
- package/components/ix-modal-content.js +1 -1
- package/components/ix-modal-footer.js +1 -1
- package/components/ix-modal-footer.js.map +1 -1
- package/components/ix-modal-header.js +1 -1
- package/components/ix-modal.js +3 -7
- package/components/ix-modal.js.map +1 -1
- package/components/ix-number-input.js +20 -15
- package/components/ix-number-input.js.map +1 -1
- package/components/ix-pagination.js +10 -10
- package/components/ix-pagination.js.map +1 -1
- package/components/ix-pane-layout.js +1 -1
- package/components/ix-pane-layout.js.map +1 -1
- package/components/ix-pane.js +8 -8
- package/components/ix-pane.js.map +1 -1
- package/components/ix-pill.js +2 -2
- package/components/ix-push-card.js +6 -7
- package/components/ix-push-card.js.map +1 -1
- package/components/ix-radio-group.js +37 -11
- package/components/ix-radio-group.js.map +1 -1
- package/components/ix-radio.js +25 -7
- package/components/ix-radio.js.map +1 -1
- package/components/ix-row.js +1 -1
- package/components/ix-select.js +1 -1
- package/components/ix-slider.js +8 -8
- package/components/ix-slider.js.map +1 -1
- package/components/ix-split-button.js +4 -5
- package/components/ix-split-button.js.map +1 -1
- package/components/ix-tab-item.js +1 -1
- package/components/ix-tabs.js +1 -1
- package/components/ix-textarea.js +8 -8
- package/components/ix-textarea.js.map +1 -1
- package/components/ix-time-picker.js +1 -1
- package/components/ix-toast-container.js +2 -2
- package/components/ix-toast.js +1 -1
- package/components/ix-toggle-button.js +3 -3
- package/components/ix-toggle-button.js.map +1 -1
- package/components/ix-toggle.js +38 -5
- package/components/ix-toggle.js.map +1 -1
- package/components/ix-tooltip.js +1 -1
- package/components/ix-tree.js +56 -52
- package/components/ix-tree.js.map +1 -1
- package/components/ix-typography.js +1 -1
- package/components/ix-upload.js +1 -1
- package/components/ix-validation-tooltip.js +3 -5
- package/components/ix-validation-tooltip.js.map +1 -1
- package/components/{p-DFQ_caA4.js → p-8eL4ti2y.js} +4 -4
- package/components/{p-DFQ_caA4.js.map → p-8eL4ti2y.js.map} +1 -1
- package/components/{p-Dfzl82x1.js → p-B19EzNYi.js} +3 -3
- package/components/{p-Dfzl82x1.js.map → p-B19EzNYi.js.map} +1 -1
- package/components/{p-B9lvhAOc.js → p-B60BmY2x.js} +3 -3
- package/components/{p-B9lvhAOc.js.map → p-B60BmY2x.js.map} +1 -1
- package/components/{p-BuK5WByk.js → p-B9XDeCpV.js} +4 -4
- package/components/{p-BuK5WByk.js.map → p-B9XDeCpV.js.map} +1 -1
- package/components/{p-12nKYxsa.js → p-BPVegBx7.js} +9 -11
- package/components/p-BPVegBx7.js.map +1 -0
- package/components/{p-C8vn2GFY.js → p-BRCAzgk8.js} +4 -4
- package/components/p-BRCAzgk8.js.map +1 -0
- package/components/{p-iEAZQC4t.js → p-BXPo5zF6.js} +3 -3
- package/components/{p-iEAZQC4t.js.map → p-BXPo5zF6.js.map} +1 -1
- package/components/{p-CB1ADCkU.js → p-B_C2-EkQ.js} +4 -5
- package/components/p-B_C2-EkQ.js.map +1 -0
- package/components/{p-DIzxAERt.js → p-Bcmjgmqd.js} +4 -5
- package/components/p-Bcmjgmqd.js.map +1 -0
- package/components/{p-bM5r59DG.js → p-Bw3J9644.js} +5 -5
- package/components/{p-bM5r59DG.js.map → p-Bw3J9644.js.map} +1 -1
- package/components/{p-DylMlJTZ.js → p-C8xOvcAt.js} +4 -7
- package/components/p-C8xOvcAt.js.map +1 -0
- package/components/{p-2g5-4fWy.js → p-CGLA6FT7.js} +5 -6
- package/components/p-CGLA6FT7.js.map +1 -0
- package/components/{p-C7EBCKmV.js → p-CKoR0lxP.js} +3 -3
- package/components/{p-C7EBCKmV.js.map → p-CKoR0lxP.js.map} +1 -1
- package/components/{p-pyY5jSfE.js → p-CPs2id8p.js} +5 -5
- package/components/{p-pyY5jSfE.js.map → p-CPs2id8p.js.map} +1 -1
- package/components/{p-CniBfLG8.js → p-CTuKljhZ.js} +3 -3
- package/components/{p-CniBfLG8.js.map → p-CTuKljhZ.js.map} +1 -1
- package/components/{p-CVSy9bZ3.js → p-ClepN0Ea.js} +3 -3
- package/components/{p-CVSy9bZ3.js.map → p-ClepN0Ea.js.map} +1 -1
- package/components/{p-DXzHgqiB.js → p-Cu4GsGII.js} +3 -3
- package/components/p-Cu4GsGII.js.map +1 -0
- package/components/{p-C1BF91hb.js → p-CufZ3bGn.js} +3 -3
- package/components/{p-C1BF91hb.js.map → p-CufZ3bGn.js.map} +1 -1
- package/components/{p-0nVQO6bk.js → p-CwYYFZjd.js} +7 -7
- package/components/{p-0nVQO6bk.js.map → p-CwYYFZjd.js.map} +1 -1
- package/components/{p-BwyqOnwc.js → p-CxztL6IE.js} +18 -25
- package/components/p-CxztL6IE.js.map +1 -0
- package/components/{p-B-zHEqXz.js → p-Cyxle5Ec.js} +5 -5
- package/components/{p-B-zHEqXz.js.map → p-Cyxle5Ec.js.map} +1 -1
- package/components/{p-DPZsirnB.js → p-DAYuUWi5.js} +5 -5
- package/components/{p-DPZsirnB.js.map → p-DAYuUWi5.js.map} +1 -1
- package/components/{p-B55mem60.js → p-DPZN-4Ph.js} +4 -4
- package/components/{p-B55mem60.js.map → p-DPZN-4Ph.js.map} +1 -1
- package/components/{p-BgpUzYBq.js → p-DUuL9bnV.js} +3 -3
- package/components/{p-BgpUzYBq.js.map → p-DUuL9bnV.js.map} +1 -1
- package/components/{p-BBSHeR_p.js → p-DVOgkNlf.js} +3 -3
- package/components/p-DVOgkNlf.js.map +1 -0
- package/components/p-Dn_WjwtW.js.map +1 -1
- package/components/{p-D0LdqSVb.js → p-FayACwNG.js} +10 -18
- package/components/p-FayACwNG.js.map +1 -0
- package/components/{p-CjvgrV9j.js → p-QHGR-zzJ.js} +3 -3
- package/components/{p-CjvgrV9j.js.map → p-QHGR-zzJ.js.map} +1 -1
- package/components/{p-DDisdyRU.js → p-R4QcECdA.js} +5 -5
- package/components/{p-DDisdyRU.js.map → p-R4QcECdA.js.map} +1 -1
- package/components/{p-Bnux5wOx.js → p-UMH0sD7L.js} +5 -5
- package/components/{p-Bnux5wOx.js.map → p-UMH0sD7L.js.map} +1 -1
- package/components/{p-DM43N7pD.js → p-VXLdiXU0.js} +11 -19
- package/components/p-VXLdiXU0.js.map +1 -0
- package/components/{p-DGeWaNlt.js → p-aw_FhcJ5.js} +4 -2
- package/components/p-aw_FhcJ5.js.map +1 -0
- package/components/{p-D_wwWxx8.js → p-d7CnwTHv.js} +3 -6
- package/components/p-d7CnwTHv.js.map +1 -0
- package/components/{p-Dy35mbzK.js → p-uhiF1LKf.js} +4 -6
- package/components/p-uhiF1LKf.js.map +1 -0
- package/components/{p-qnnCtPgc.js → p-zx7LlxPa.js} +3 -3
- package/components/{p-qnnCtPgc.js.map → p-zx7LlxPa.js.map} +1 -1
- package/dist/cjs/index-DIFIjYrm.js.map +1 -1
- package/dist/cjs/{input.util-DuJG4-L-.js → input.util-DOEvwiFv.js} +4 -4
- package/dist/cjs/input.util-DOEvwiFv.js.map +1 -0
- package/dist/cjs/ix-action-card.cjs.entry.js +1 -1
- package/dist/cjs/ix-action-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-action-card.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-application-header.cjs.entry.js +3 -5
- package/dist/cjs/ix-application-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-application-header.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-application.cjs.entry.js +3 -3
- package/dist/cjs/ix-application.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-application.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-avatar.ix-menu-avatar-item.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-avatar_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-blind.cjs.entry.js +5 -6
- package/dist/cjs/ix-blind.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-blind.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-breadcrumb.cjs.entry.js +2 -4
- package/dist/cjs/ix-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-breadcrumb.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-button.cjs.entry.js +2 -5
- package/dist/cjs/ix-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-button.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-card-accordion.ix-card-title.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-card-accordion_2.cjs.entry.js +4 -5
- package/dist/cjs/ix-card-accordion_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-card-list.cjs.entry.js +4 -6
- package/dist/cjs/ix-card-list.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-card-list.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-card.ix-card-content.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-card_2.cjs.entry.js +4 -4
- package/dist/cjs/ix-card_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-category-filter.cjs.entry.js +3 -3
- package/dist/cjs/ix-category-filter.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-category-filter.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-checkbox-group.cjs.entry.js +47 -3
- package/dist/cjs/ix-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-checkbox-group.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-checkbox.cjs.entry.js +12 -5
- package/dist/cjs/ix-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-checkbox.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-chip.cjs.entry.js +5 -4
- package/dist/cjs/ix-chip.cjs.entry.js.map +1 -1
- 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 +9 -17
- package/dist/cjs/ix-col_4.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-content.cjs.entry.js +4 -4
- package/dist/cjs/ix-content.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-content.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-custom-field.cjs.entry.js +2 -2
- package/dist/cjs/ix-custom-field.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-custom-field.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-date-dropdown.cjs.entry.js +4 -8
- package/dist/cjs/ix-date-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-date-dropdown.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-date-input.cjs.entry.js +5 -5
- package/dist/cjs/ix-date-input.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-date-input.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-date-time-card.cjs.entry.js +1 -1
- package/dist/cjs/ix-date-time-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-date-time-card.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-datetime-picker.cjs.entry.js +2 -12
- package/dist/cjs/ix-datetime-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-datetime-picker.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-divider.cjs.entry.js +1 -1
- package/dist/cjs/ix-divider.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-divider.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-dropdown-button.cjs.entry.js +2 -3
- package/dist/cjs/ix-dropdown-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-dropdown-button.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-dropdown-header.cjs.entry.js +1 -1
- package/dist/cjs/ix-dropdown-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-dropdown-header.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +1 -1
- package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-dropdown-quick-actions.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-dropdown.cjs.entry.js +2 -4
- package/dist/cjs/ix-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-dropdown.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-empty-state.cjs.entry.js +1 -1
- package/dist/cjs/ix-empty-state.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-empty-state.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-expanding-search.cjs.entry.js +4 -5
- package/dist/cjs/ix-expanding-search.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-expanding-search.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-field-label.ix-field-wrapper.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-field-label_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-field-label_2.cjs.entry.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 -2
- package/dist/cjs/ix-filter-chip_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-flip-tile.cjs.entry.js +4 -6
- package/dist/cjs/ix-flip-tile.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-flip-tile.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 +1 -4
- package/dist/cjs/ix-icon-button_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +1 -1
- package/dist/cjs/ix-icon-toggle-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-icon-toggle-button.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-input-group.cjs.entry.js +1 -1
- package/dist/cjs/ix-input-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-input-group.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-input.cjs.entry.js +12 -6
- package/dist/cjs/ix-input.cjs.entry.js.map +1 -1
- 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-list.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-key-value-list.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-key-value.cjs.entry.js +1 -1
- package/dist/cjs/ix-key-value.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-key-value.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-layout-auto.cjs.entry.js +1 -1
- package/dist/cjs/ix-layout-auto.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-layout-auto.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-link-button.cjs.entry.js +3 -3
- package/dist/cjs/ix-link-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-link-button.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-map-navigation.cjs.entry.js +2 -3
- package/dist/cjs/ix-map-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-map-navigation.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-menu-avatar.cjs.entry.js +2 -4
- package/dist/cjs/ix-menu-avatar.cjs.entry.js.map +1 -1
- 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-category.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-menu-category.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-menu-item.cjs.entry.js +3 -3
- package/dist/cjs/ix-menu-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-menu-item.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-menu.cjs.entry.js +12 -14
- package/dist/cjs/ix-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-menu.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-modal-content.ix-modal-header.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-modal-content_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-modal-content_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-modal-footer.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-modal-footer.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-modal.cjs.entry.js +3 -7
- package/dist/cjs/ix-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-modal.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-number-input.cjs.entry.js +14 -10
- package/dist/cjs/ix-number-input.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-number-input.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-pagination.cjs.entry.js +2 -2
- package/dist/cjs/ix-pagination.cjs.entry.js.map +1 -1
- 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-layout.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-pane-layout.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-pane.cjs.entry.js +6 -6
- package/dist/cjs/ix-pane.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-pane.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-push-card.cjs.entry.js +1 -2
- package/dist/cjs/ix-push-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-push-card.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-radio-group.cjs.entry.js +29 -6
- package/dist/cjs/ix-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-radio-group.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-radio.cjs.entry.js +23 -6
- package/dist/cjs/ix-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-radio.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-select.cjs.entry.js +9 -16
- package/dist/cjs/ix-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-select.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-slider.cjs.entry.js +6 -6
- package/dist/cjs/ix-slider.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-slider.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-split-button.cjs.entry.js +1 -2
- package/dist/cjs/ix-split-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-split-button.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-tab-item.ix-tabs.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-tab-item_2.cjs.entry.js +5 -5
- package/dist/cjs/ix-tab-item_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-textarea.cjs.entry.js +4 -4
- package/dist/cjs/ix-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-textarea.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-time-picker.cjs.entry.js +4 -12
- package/dist/cjs/ix-time-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-time-picker.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-toggle-button.cjs.entry.js +3 -3
- package/dist/cjs/ix-toggle-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-toggle-button.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-toggle.cjs.entry.js +35 -3
- package/dist/cjs/ix-toggle.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-toggle.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-tooltip.cjs.entry.js +1 -2
- package/dist/cjs/ix-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-tooltip.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-tree.cjs.entry.js +55 -51
- package/dist/cjs/ix-tree.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-tree.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-typography.cjs.entry.js +1 -1
- package/dist/cjs/ix-typography.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-typography.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js +3 -5
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-validation-tooltip.entry.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/siemens-ix.cjs.js +1 -1
- package/dist/cjs/{validation-B-wzGaWF.js → validation-othAjI_Z.js} +4 -2
- package/dist/cjs/validation-othAjI_Z.js.map +1 -0
- package/dist/collection/components/action-card/action-card.js +1 -4
- package/dist/collection/components/action-card/action-card.js.map +1 -1
- package/dist/collection/components/application/application.js +3 -6
- package/dist/collection/components/application/application.js.map +1 -1
- package/dist/collection/components/application-header/application-header.js +5 -13
- package/dist/collection/components/application-header/application-header.js.map +1 -1
- package/dist/collection/components/avatar/avatar.js +2 -11
- package/dist/collection/components/avatar/avatar.js.map +1 -1
- package/dist/collection/components/blind/blind.js +8 -18
- package/dist/collection/components/blind/blind.js.map +1 -1
- package/dist/collection/components/breadcrumb/breadcrumb.js +3 -8
- package/dist/collection/components/breadcrumb/breadcrumb.js.map +1 -1
- package/dist/collection/components/button/button.js +4 -13
- package/dist/collection/components/button/button.js.map +1 -1
- package/dist/collection/components/card/card.js +5 -11
- package/dist/collection/components/card/card.js.map +1 -1
- package/dist/collection/components/card-accordion/card-accordion.js +4 -11
- package/dist/collection/components/card-accordion/card-accordion.js.map +1 -1
- package/dist/collection/components/card-content/card-content.js +1 -4
- package/dist/collection/components/card-content/card-content.js.map +1 -1
- package/dist/collection/components/card-list/card-list.js +5 -13
- package/dist/collection/components/card-list/card-list.js.map +1 -1
- package/dist/collection/components/card-title/card-title.js +1 -3
- package/dist/collection/components/card-title/card-title.js.map +1 -1
- package/dist/collection/components/category-filter/category-filter.js +4 -7
- package/dist/collection/components/category-filter/category-filter.js.map +1 -1
- package/dist/collection/components/checkbox/checkbox.js +47 -7
- package/dist/collection/components/checkbox/checkbox.js.map +1 -1
- package/dist/collection/components/checkbox-group/checkbox-group.js +115 -5
- package/dist/collection/components/checkbox-group/checkbox-group.js.map +1 -1
- package/dist/collection/components/checkbox-group/test/checkbox-group.ct.js +48 -0
- package/dist/collection/components/checkbox-group/test/checkbox-group.ct.js.map +1 -0
- package/dist/collection/components/chip/chip.js +6 -8
- package/dist/collection/components/chip/chip.js.map +1 -1
- package/dist/collection/components/col/col.js +1 -4
- package/dist/collection/components/col/col.js.map +1 -1
- package/dist/collection/components/content/content.css +1 -3
- package/dist/collection/components/content/content.js +3 -4
- package/dist/collection/components/content/content.js.map +1 -1
- package/dist/collection/components/custom-field/custom-field.js +1 -4
- package/dist/collection/components/custom-field/custom-field.js.map +1 -1
- package/dist/collection/components/date-dropdown/date-dropdown.js +7 -23
- package/dist/collection/components/date-dropdown/date-dropdown.js.map +1 -1
- package/dist/collection/components/date-input/date-input.js +6 -9
- package/dist/collection/components/date-input/date-input.js.map +1 -1
- package/dist/collection/components/date-picker/date-picker.js +15 -53
- package/dist/collection/components/date-picker/date-picker.js.map +1 -1
- package/dist/collection/components/date-time-card/date-time-card.css +2 -2
- package/dist/collection/components/datetime-picker/datetime-picker.css +4 -0
- package/dist/collection/components/datetime-picker/datetime-picker.js +15 -67
- package/dist/collection/components/datetime-picker/datetime-picker.js.map +1 -1
- package/dist/collection/components/divider/divider.js +1 -4
- package/dist/collection/components/divider/divider.js.map +1 -1
- package/dist/collection/components/dropdown/dropdown.js +3 -8
- package/dist/collection/components/dropdown/dropdown.js.map +1 -1
- package/dist/collection/components/dropdown-button/dropdown-button.js +4 -14
- package/dist/collection/components/dropdown-button/dropdown-button.js.map +1 -1
- package/dist/collection/components/dropdown-header/dropdown-header.js +1 -4
- package/dist/collection/components/dropdown-header/dropdown-header.js.map +1 -1
- package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js +1 -4
- package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js.map +1 -1
- package/dist/collection/components/empty-state/empty-state.js +1 -4
- package/dist/collection/components/empty-state/empty-state.js.map +1 -1
- package/dist/collection/components/expanding-search/expanding-search.js +5 -9
- package/dist/collection/components/expanding-search/expanding-search.js.map +1 -1
- package/dist/collection/components/filter-chip/filter-chip.js +2 -6
- package/dist/collection/components/filter-chip/filter-chip.js.map +1 -1
- package/dist/collection/components/flip-tile/flip-tile.js +6 -14
- package/dist/collection/components/flip-tile/flip-tile.js.map +1 -1
- package/dist/collection/components/icon-button/icon-button.js +4 -16
- package/dist/collection/components/icon-button/icon-button.js.map +1 -1
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +1 -4
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.js.map +1 -1
- package/dist/collection/components/input/input.fc.js +1 -1
- package/dist/collection/components/input/input.fc.js.map +1 -1
- package/dist/collection/components/input/input.js +32 -6
- package/dist/collection/components/input/input.js.map +1 -1
- package/dist/collection/components/input/number-input.js +35 -10
- package/dist/collection/components/input/number-input.js.map +1 -1
- package/dist/collection/components/input/tests/form-ready.ct.js +10 -0
- package/dist/collection/components/input/tests/form-ready.ct.js.map +1 -1
- package/dist/collection/components/input/tests/validation.ct.js +48 -8
- package/dist/collection/components/input/tests/validation.ct.js.map +1 -1
- package/dist/collection/components/input/textarea.js +3 -4
- package/dist/collection/components/input/textarea.js.map +1 -1
- package/dist/collection/components/input-group/input-group.js +2 -2
- package/dist/collection/components/input-group/input-group.js.map +1 -1
- package/dist/collection/components/key-value/key-value.js +1 -3
- package/dist/collection/components/key-value/key-value.js.map +1 -1
- package/dist/collection/components/key-value-list/key-value-list.js +1 -4
- package/dist/collection/components/key-value-list/key-value-list.js.map +1 -1
- package/dist/collection/components/layout-auto/layout-auto.js +1 -4
- package/dist/collection/components/layout-auto/layout-auto.js.map +1 -1
- package/dist/collection/components/layout-grid/layout-grid.js +2 -5
- package/dist/collection/components/layout-grid/layout-grid.js.map +1 -1
- package/dist/collection/components/link-button/link-button.js +3 -6
- package/dist/collection/components/link-button/link-button.js.map +1 -1
- package/dist/collection/components/map-navigation/map-navigation.js +2 -6
- package/dist/collection/components/map-navigation/map-navigation.js.map +1 -1
- package/dist/collection/components/menu/menu.js +13 -18
- package/dist/collection/components/menu/menu.js.map +1 -1
- package/dist/collection/components/menu-avatar/menu-avatar.js +5 -16
- package/dist/collection/components/menu-avatar/menu-avatar.js.map +1 -1
- package/dist/collection/components/menu-category/menu-category.js +5 -8
- package/dist/collection/components/menu-category/menu-category.js.map +1 -1
- package/dist/collection/components/menu-item/menu-item.js +4 -7
- package/dist/collection/components/menu-item/menu-item.js.map +1 -1
- package/dist/collection/components/modal/modal.js +5 -15
- package/dist/collection/components/modal/modal.js.map +1 -1
- package/dist/collection/components/modal-content/modal-content.js +1 -4
- package/dist/collection/components/modal-content/modal-content.js.map +1 -1
- package/dist/collection/components/modal-footer/modal-footer.js +1 -4
- package/dist/collection/components/modal-footer/modal-footer.js.map +1 -1
- package/dist/collection/components/modal-header/modal-header.js +1 -4
- package/dist/collection/components/modal-header/modal-header.js.map +1 -1
- package/dist/collection/components/pagination/pagination.js +2 -5
- package/dist/collection/components/pagination/pagination.js.map +1 -1
- package/dist/collection/components/pane/pane.js +6 -9
- package/dist/collection/components/pane/pane.js.map +1 -1
- package/dist/collection/components/pane-layout/pane-layout.js +1 -4
- package/dist/collection/components/pane-layout/pane-layout.js.map +1 -1
- package/dist/collection/components/push-card/push-card.js +2 -9
- package/dist/collection/components/push-card/push-card.js.map +1 -1
- package/dist/collection/components/radio/radio.js +61 -8
- package/dist/collection/components/radio/radio.js.map +1 -1
- package/dist/collection/components/radio-group/radio-group.js +96 -7
- package/dist/collection/components/radio-group/radio-group.js.map +1 -1
- package/dist/collection/components/radio-group/test/radio-group.ct.js +17 -0
- package/dist/collection/components/radio-group/test/radio-group.ct.js.map +1 -1
- package/dist/collection/components/row/row.js +1 -4
- package/dist/collection/components/row/row.js.map +1 -1
- package/dist/collection/components/select/select.js +25 -80
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/slider/slider.js +6 -8
- package/dist/collection/components/slider/slider.js.map +1 -1
- package/dist/collection/components/split-button/split-button.js +2 -6
- package/dist/collection/components/split-button/split-button.js.map +1 -1
- package/dist/collection/components/tab-item/tab-item.js +4 -7
- package/dist/collection/components/tab-item/tab-item.js.map +1 -1
- package/dist/collection/components/tabs/tabs.js +3 -6
- package/dist/collection/components/tabs/tabs.js.map +1 -1
- package/dist/collection/components/time-picker/time-picker.js +8 -28
- package/dist/collection/components/time-picker/time-picker.js.map +1 -1
- package/dist/collection/components/toggle/toggle.js +63 -5
- package/dist/collection/components/toggle/toggle.js.map +1 -1
- package/dist/collection/components/toggle-button/toggle-button.css +15 -0
- package/dist/collection/components/toggle-button/toggle-button.js +2 -5
- package/dist/collection/components/toggle-button/toggle-button.js.map +1 -1
- package/dist/collection/components/tooltip/tooltip.js +2 -8
- package/dist/collection/components/tooltip/tooltip.js.map +1 -1
- package/dist/collection/components/tree/tree.js +68 -61
- package/dist/collection/components/tree/tree.js.map +1 -1
- package/dist/collection/components/typography/typography.js +1 -4
- package/dist/collection/components/typography/typography.js.map +1 -1
- package/dist/collection/components/utils/input/index.js.map +1 -1
- package/dist/collection/components/utils/input/validation.js +2 -0
- package/dist/collection/components/utils/input/validation.js.map +1 -1
- package/dist/collection/components/validation-tooltip/validation-tooltip.css +1 -0
- package/dist/collection/components/validation-tooltip/validation-tooltip.js +5 -8
- package/dist/collection/components/validation-tooltip/validation-tooltip.js.map +1 -1
- package/dist/esm/index-CrTP-icT.js.map +1 -1
- package/dist/esm/{input.util-DpnoI5lb.js → input.util-DORL_qfP.js} +4 -4
- package/dist/esm/input.util-DORL_qfP.js.map +1 -0
- package/dist/esm/ix-action-card.entry.js +1 -1
- package/dist/esm/ix-action-card.entry.js.map +1 -1
- package/dist/esm/ix-application-header.entry.js +3 -5
- package/dist/esm/ix-application-header.entry.js.map +1 -1
- package/dist/esm/ix-application.entry.js +3 -3
- package/dist/esm/ix-application.entry.js.map +1 -1
- package/dist/esm/ix-avatar.ix-menu-avatar-item.entry.js.map +1 -1
- package/dist/esm/ix-avatar_2.entry.js.map +1 -1
- package/dist/esm/ix-blind.entry.js +5 -6
- package/dist/esm/ix-blind.entry.js.map +1 -1
- package/dist/esm/ix-breadcrumb.entry.js +2 -4
- package/dist/esm/ix-breadcrumb.entry.js.map +1 -1
- package/dist/esm/ix-button.entry.js +2 -5
- package/dist/esm/ix-button.entry.js.map +1 -1
- package/dist/esm/ix-card-accordion.ix-card-title.entry.js.map +1 -1
- package/dist/esm/ix-card-accordion_2.entry.js +4 -5
- package/dist/esm/ix-card-accordion_2.entry.js.map +1 -1
- package/dist/esm/ix-card-list.entry.js +4 -6
- package/dist/esm/ix-card-list.entry.js.map +1 -1
- package/dist/esm/ix-card.ix-card-content.entry.js.map +1 -1
- package/dist/esm/ix-card_2.entry.js +4 -4
- package/dist/esm/ix-card_2.entry.js.map +1 -1
- package/dist/esm/ix-category-filter.entry.js +3 -3
- package/dist/esm/ix-category-filter.entry.js.map +1 -1
- package/dist/esm/ix-checkbox-group.entry.js +47 -3
- package/dist/esm/ix-checkbox-group.entry.js.map +1 -1
- package/dist/esm/ix-checkbox.entry.js +12 -5
- package/dist/esm/ix-checkbox.entry.js.map +1 -1
- package/dist/esm/ix-chip.entry.js +5 -4
- 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 +9 -17
- package/dist/esm/ix-col_4.entry.js.map +1 -1
- package/dist/esm/ix-content.entry.js +4 -4
- package/dist/esm/ix-content.entry.js.map +1 -1
- package/dist/esm/ix-custom-field.entry.js +2 -2
- package/dist/esm/ix-custom-field.entry.js.map +1 -1
- package/dist/esm/ix-date-dropdown.entry.js +4 -8
- package/dist/esm/ix-date-dropdown.entry.js.map +1 -1
- package/dist/esm/ix-date-input.entry.js +5 -5
- package/dist/esm/ix-date-input.entry.js.map +1 -1
- package/dist/esm/ix-date-time-card.entry.js +1 -1
- package/dist/esm/ix-date-time-card.entry.js.map +1 -1
- package/dist/esm/ix-datetime-picker.entry.js +2 -12
- package/dist/esm/ix-datetime-picker.entry.js.map +1 -1
- package/dist/esm/ix-divider.entry.js +1 -1
- package/dist/esm/ix-divider.entry.js.map +1 -1
- package/dist/esm/ix-dropdown-button.entry.js +2 -3
- package/dist/esm/ix-dropdown-button.entry.js.map +1 -1
- package/dist/esm/ix-dropdown-header.entry.js +1 -1
- package/dist/esm/ix-dropdown-header.entry.js.map +1 -1
- package/dist/esm/ix-dropdown-quick-actions.entry.js +1 -1
- package/dist/esm/ix-dropdown-quick-actions.entry.js.map +1 -1
- package/dist/esm/ix-dropdown.entry.js +2 -4
- package/dist/esm/ix-dropdown.entry.js.map +1 -1
- package/dist/esm/ix-empty-state.entry.js +1 -1
- package/dist/esm/ix-empty-state.entry.js.map +1 -1
- package/dist/esm/ix-expanding-search.entry.js +4 -5
- package/dist/esm/ix-expanding-search.entry.js.map +1 -1
- package/dist/esm/ix-field-label.ix-field-wrapper.entry.js.map +1 -1
- package/dist/esm/ix-field-label_2.entry.js +1 -1
- package/dist/esm/ix-field-label_2.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 -2
- package/dist/esm/ix-filter-chip_2.entry.js.map +1 -1
- package/dist/esm/ix-flip-tile.entry.js +4 -6
- package/dist/esm/ix-flip-tile.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 +1 -4
- package/dist/esm/ix-icon-button_2.entry.js.map +1 -1
- package/dist/esm/ix-icon-toggle-button.entry.js +1 -1
- package/dist/esm/ix-icon-toggle-button.entry.js.map +1 -1
- package/dist/esm/ix-input-group.entry.js +1 -1
- package/dist/esm/ix-input-group.entry.js.map +1 -1
- package/dist/esm/ix-input.entry.js +12 -6
- 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-list.entry.js.map +1 -1
- package/dist/esm/ix-key-value.entry.js +1 -1
- package/dist/esm/ix-key-value.entry.js.map +1 -1
- package/dist/esm/ix-layout-auto.entry.js +1 -1
- package/dist/esm/ix-layout-auto.entry.js.map +1 -1
- package/dist/esm/ix-link-button.entry.js +3 -3
- package/dist/esm/ix-link-button.entry.js.map +1 -1
- 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-avatar.entry.js +2 -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-category.entry.js.map +1 -1
- package/dist/esm/ix-menu-item.entry.js +3 -3
- package/dist/esm/ix-menu-item.entry.js.map +1 -1
- package/dist/esm/ix-menu.entry.js +12 -14
- package/dist/esm/ix-menu.entry.js.map +1 -1
- package/dist/esm/ix-modal-content.ix-modal-header.entry.js.map +1 -1
- package/dist/esm/ix-modal-content_2.entry.js +2 -2
- package/dist/esm/ix-modal-content_2.entry.js.map +1 -1
- package/dist/esm/ix-modal-footer.entry.js +1 -1
- package/dist/esm/ix-modal-footer.entry.js.map +1 -1
- package/dist/esm/ix-modal.entry.js +3 -7
- package/dist/esm/ix-modal.entry.js.map +1 -1
- package/dist/esm/ix-number-input.entry.js +14 -10
- package/dist/esm/ix-number-input.entry.js.map +1 -1
- package/dist/esm/ix-pagination.entry.js +2 -2
- 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-layout.entry.js.map +1 -1
- package/dist/esm/ix-pane.entry.js +6 -6
- package/dist/esm/ix-pane.entry.js.map +1 -1
- package/dist/esm/ix-push-card.entry.js +1 -2
- package/dist/esm/ix-push-card.entry.js.map +1 -1
- package/dist/esm/ix-radio-group.entry.js +29 -6
- package/dist/esm/ix-radio-group.entry.js.map +1 -1
- package/dist/esm/ix-radio.entry.js +23 -6
- package/dist/esm/ix-radio.entry.js.map +1 -1
- package/dist/esm/ix-select.entry.js +9 -16
- package/dist/esm/ix-select.entry.js.map +1 -1
- package/dist/esm/ix-slider.entry.js +6 -6
- package/dist/esm/ix-slider.entry.js.map +1 -1
- package/dist/esm/ix-split-button.entry.js +1 -2
- package/dist/esm/ix-split-button.entry.js.map +1 -1
- package/dist/esm/ix-tab-item.ix-tabs.entry.js.map +1 -1
- package/dist/esm/ix-tab-item_2.entry.js +5 -5
- package/dist/esm/ix-tab-item_2.entry.js.map +1 -1
- package/dist/esm/ix-textarea.entry.js +4 -4
- package/dist/esm/ix-textarea.entry.js.map +1 -1
- package/dist/esm/ix-time-picker.entry.js +4 -12
- package/dist/esm/ix-time-picker.entry.js.map +1 -1
- package/dist/esm/ix-toggle-button.entry.js +3 -3
- package/dist/esm/ix-toggle-button.entry.js.map +1 -1
- package/dist/esm/ix-toggle.entry.js +35 -3
- package/dist/esm/ix-toggle.entry.js.map +1 -1
- package/dist/esm/ix-tooltip.entry.js +1 -2
- package/dist/esm/ix-tooltip.entry.js.map +1 -1
- package/dist/esm/ix-tree.entry.js +55 -51
- package/dist/esm/ix-tree.entry.js.map +1 -1
- package/dist/esm/ix-typography.entry.js +1 -1
- package/dist/esm/ix-typography.entry.js.map +1 -1
- package/dist/esm/ix-validation-tooltip.entry.js +3 -5
- package/dist/esm/ix-validation-tooltip.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/siemens-ix.js +1 -1
- package/dist/esm/{validation-C_w_pHgR.js → validation-CS0nhfz1.js} +4 -2
- package/dist/esm/validation-CS0nhfz1.js.map +1 -0
- package/dist/siemens-ix/ix-action-card.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-application-header.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-application.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-blind.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-breadcrumb.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-button.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-card-accordion.ix-card-title.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-card-list.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-card.ix-card-content.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-category-filter.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-checkbox-group.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-checkbox.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-content.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-custom-field.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-divider.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-dropdown-button.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-dropdown-header.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-dropdown-quick-actions.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-dropdown.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-empty-state.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-expanding-search.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-field-label.ix-field-wrapper.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-flip-tile.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-icon-toggle-button.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-input-group.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-input.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-key-value-list.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-key-value.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-layout-auto.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-link-button.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-category.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-menu-item.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-menu.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-modal-content.ix-modal-header.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-modal-footer.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-modal.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-number-input.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-pagination.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-pane-layout.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-pane.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-push-card.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-radio-group.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-radio.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-select.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-slider.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-split-button.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-tab-item.ix-tabs.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-textarea.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-time-picker.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-toggle-button.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-tree.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-typography.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-validation-tooltip.entry.esm.js.map +1 -1
- package/dist/siemens-ix/{p-0c830977.entry.js → p-04338b3f.entry.js} +2 -2
- package/dist/siemens-ix/p-04338b3f.entry.js.map +1 -0
- package/dist/siemens-ix/p-0443dc8d.entry.js +2 -0
- package/dist/siemens-ix/p-0443dc8d.entry.js.map +1 -0
- package/dist/siemens-ix/p-054136c2.entry.js +2 -0
- package/dist/siemens-ix/{p-518b1e6b.entry.js.map → p-054136c2.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-0488a734.entry.js → p-06843648.entry.js} +2 -2
- package/dist/siemens-ix/{p-0488a734.entry.js.map → p-06843648.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-ff2171f6.entry.js → p-071f63d6.entry.js} +2 -2
- package/dist/siemens-ix/p-071f63d6.entry.js.map +1 -0
- package/dist/siemens-ix/{p-c7384379.entry.js → p-07c17517.entry.js} +2 -2
- package/dist/siemens-ix/p-07c17517.entry.js.map +1 -0
- package/dist/siemens-ix/{p-5fef5328.entry.js → p-09b83f0e.entry.js} +2 -2
- package/dist/siemens-ix/p-09b83f0e.entry.js.map +1 -0
- package/dist/siemens-ix/p-144e4ad0.entry.js +2 -0
- package/dist/siemens-ix/p-144e4ad0.entry.js.map +1 -0
- package/dist/siemens-ix/{p-19ae7d99.entry.js → p-158d9068.entry.js} +2 -2
- package/dist/siemens-ix/p-158d9068.entry.js.map +1 -0
- package/dist/siemens-ix/{p-ac5f5042.entry.js → p-18a47d9f.entry.js} +2 -2
- package/dist/siemens-ix/p-18a47d9f.entry.js.map +1 -0
- package/dist/siemens-ix/{p-96bbbbcb.entry.js → p-1d28d516.entry.js} +2 -2
- package/dist/siemens-ix/p-1d28d516.entry.js.map +1 -0
- package/dist/siemens-ix/{p-9e3a36df.entry.js → p-1ff3556a.entry.js} +2 -2
- package/dist/siemens-ix/p-1ff3556a.entry.js.map +1 -0
- package/dist/siemens-ix/{p-08931f8c.entry.js → p-215df096.entry.js} +2 -2
- package/dist/siemens-ix/p-215df096.entry.js.map +1 -0
- package/dist/siemens-ix/{p-d1cf2407.entry.js → p-23a50a0c.entry.js} +2 -2
- package/dist/siemens-ix/p-23a50a0c.entry.js.map +1 -0
- package/dist/siemens-ix/{p-3e1a9763.entry.js → p-24339d35.entry.js} +2 -2
- package/dist/siemens-ix/p-24339d35.entry.js.map +1 -0
- package/dist/siemens-ix/{p-28055ea5.entry.js → p-27b13c4c.entry.js} +2 -2
- package/dist/siemens-ix/p-27b13c4c.entry.js.map +1 -0
- package/dist/siemens-ix/{p-3138015e.entry.js → p-27cc0e94.entry.js} +2 -2
- package/dist/siemens-ix/{p-3138015e.entry.js.map → p-27cc0e94.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-eb5da5a0.entry.js → p-2b496519.entry.js} +2 -2
- package/dist/siemens-ix/{p-eb5da5a0.entry.js.map → p-2b496519.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-d3f99d59.entry.js → p-32488953.entry.js} +2 -2
- package/dist/siemens-ix/p-32488953.entry.js.map +1 -0
- package/dist/siemens-ix/p-34824a84.entry.js +2 -0
- package/dist/siemens-ix/p-34824a84.entry.js.map +1 -0
- package/dist/siemens-ix/{p-4b0c3eeb.entry.js → p-356b0c5c.entry.js} +2 -2
- package/dist/siemens-ix/p-356b0c5c.entry.js.map +1 -0
- package/dist/siemens-ix/{p-93ba92af.entry.js → p-37f6a541.entry.js} +2 -2
- package/dist/siemens-ix/p-37f6a541.entry.js.map +1 -0
- package/dist/siemens-ix/p-387fd147.entry.js +2 -0
- package/dist/siemens-ix/p-387fd147.entry.js.map +1 -0
- package/dist/siemens-ix/{p-c675b650.entry.js → p-44670707.entry.js} +2 -2
- package/dist/siemens-ix/p-44670707.entry.js.map +1 -0
- package/dist/siemens-ix/p-47a889ca.entry.js +2 -0
- package/dist/siemens-ix/{p-b01c5093.entry.js.map → p-47a889ca.entry.js.map} +1 -1
- package/dist/siemens-ix/p-4cc099ea.entry.js +2 -0
- package/dist/siemens-ix/{p-b39463a7.entry.js.map → p-4cc099ea.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-f8a852c3.entry.js → p-4dac8359.entry.js} +2 -2
- package/dist/siemens-ix/p-4dac8359.entry.js.map +1 -0
- package/dist/siemens-ix/{p-576fade1.entry.js → p-521dfa2a.entry.js} +2 -2
- package/dist/siemens-ix/p-521dfa2a.entry.js.map +1 -0
- package/dist/siemens-ix/p-6de38c2a.entry.js +2 -0
- package/dist/siemens-ix/p-6de38c2a.entry.js.map +1 -0
- package/dist/siemens-ix/{p-34ff567f.entry.js → p-70cbacb8.entry.js} +2 -2
- package/dist/siemens-ix/p-70cbacb8.entry.js.map +1 -0
- package/dist/siemens-ix/{p-f8b08d7b.entry.js → p-71b2c8cd.entry.js} +2 -2
- package/dist/siemens-ix/{p-f8b08d7b.entry.js.map → p-71b2c8cd.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-e365aee3.entry.js → p-7535cbf6.entry.js} +2 -2
- package/dist/siemens-ix/{p-ce0642f0.entry.js → p-76565681.entry.js} +2 -2
- package/dist/siemens-ix/p-76565681.entry.js.map +1 -0
- package/dist/siemens-ix/{p-f7bfd5f6.entry.js → p-781e0057.entry.js} +2 -2
- package/dist/siemens-ix/p-781e0057.entry.js.map +1 -0
- package/dist/siemens-ix/{p-2295246b.entry.js → p-78b7ce69.entry.js} +2 -2
- package/dist/siemens-ix/p-78b7ce69.entry.js.map +1 -0
- package/dist/siemens-ix/p-78f99962.entry.js.map +1 -1
- package/dist/siemens-ix/{p-f3f6e45d.entry.js → p-827653a3.entry.js} +2 -2
- package/dist/siemens-ix/p-827653a3.entry.js.map +1 -0
- package/dist/siemens-ix/{p-cd52e37a.entry.js → p-83367279.entry.js} +2 -2
- package/dist/siemens-ix/p-83367279.entry.js.map +1 -0
- package/dist/siemens-ix/{p-c80dddf1.entry.js → p-8804a378.entry.js} +2 -2
- package/dist/siemens-ix/p-8804a378.entry.js.map +1 -0
- package/dist/siemens-ix/p-8df5873d.entry.js +2 -0
- package/dist/siemens-ix/p-8df5873d.entry.js.map +1 -0
- package/dist/siemens-ix/{p-575b3137.entry.js → p-8e525190.entry.js} +2 -2
- package/dist/siemens-ix/p-8e525190.entry.js.map +1 -0
- package/dist/siemens-ix/{p-3283a5f3.entry.js → p-94b89b14.entry.js} +2 -2
- package/dist/siemens-ix/p-94b89b14.entry.js.map +1 -0
- package/dist/siemens-ix/{p-f0575255.entry.js → p-9646b346.entry.js} +2 -2
- package/dist/siemens-ix/p-9646b346.entry.js.map +1 -0
- package/dist/siemens-ix/{p-273bd3ab.entry.js → p-9920ec79.entry.js} +2 -2
- package/dist/siemens-ix/{p-273bd3ab.entry.js.map → p-9920ec79.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-734bcb23.entry.js → p-9bac6252.entry.js} +2 -2
- package/dist/siemens-ix/p-9bac6252.entry.js.map +1 -0
- package/dist/siemens-ix/{p-9a679e62.entry.js → p-9bbca220.entry.js} +2 -2
- package/dist/siemens-ix/p-9bbca220.entry.js.map +1 -0
- package/dist/siemens-ix/p-CASZsflI.js +2 -0
- package/dist/siemens-ix/p-CASZsflI.js.map +1 -0
- package/dist/siemens-ix/p-CrTP-icT.js.map +1 -1
- package/dist/siemens-ix/p-DHml78Yc.js +2 -0
- package/dist/siemens-ix/p-DHml78Yc.js.map +1 -0
- package/dist/siemens-ix/{p-3a0a5bc2.entry.js → p-a289764d.entry.js} +2 -2
- package/dist/siemens-ix/p-a289764d.entry.js.map +1 -0
- package/dist/siemens-ix/{p-e6c7e87a.entry.js → p-ac4548a8.entry.js} +2 -2
- package/dist/siemens-ix/p-ac4548a8.entry.js.map +1 -0
- package/dist/siemens-ix/{p-aee95ea9.entry.js → p-aca27756.entry.js} +2 -2
- package/dist/siemens-ix/p-aca27756.entry.js.map +1 -0
- package/dist/siemens-ix/{p-c0e4bf8a.entry.js → p-b35df537.entry.js} +2 -2
- package/dist/siemens-ix/{p-c0e4bf8a.entry.js.map → p-b35df537.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-c93a8094.entry.js → p-b6966cc0.entry.js} +2 -2
- package/dist/siemens-ix/p-b6966cc0.entry.js.map +1 -0
- package/dist/siemens-ix/{p-9e83986f.entry.js → p-b78847d5.entry.js} +2 -2
- package/dist/siemens-ix/{p-9e83986f.entry.js.map → p-b78847d5.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-3edc7dd2.entry.js → p-beed1dd8.entry.js} +2 -2
- package/dist/siemens-ix/p-beed1dd8.entry.js.map +1 -0
- package/dist/siemens-ix/p-c1b10464.entry.js +2 -0
- package/dist/siemens-ix/{p-3db26a34.entry.js.map → p-c1b10464.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-87b30e60.entry.js → p-c76e3ee3.entry.js} +2 -2
- package/dist/siemens-ix/p-c76e3ee3.entry.js.map +1 -0
- package/dist/siemens-ix/{p-66fb6549.entry.js → p-c8fe1a7e.entry.js} +2 -2
- package/dist/siemens-ix/p-c8fe1a7e.entry.js.map +1 -0
- package/dist/siemens-ix/{p-89edecbd.entry.js → p-ca8a2b16.entry.js} +2 -2
- package/dist/siemens-ix/p-ca8a2b16.entry.js.map +1 -0
- package/dist/siemens-ix/p-cb7de112.entry.js +2 -0
- package/dist/siemens-ix/p-cb7de112.entry.js.map +1 -0
- package/dist/siemens-ix/{p-aeb1eb75.entry.js → p-cbf6c3bf.entry.js} +2 -2
- package/dist/siemens-ix/p-cbf6c3bf.entry.js.map +1 -0
- package/dist/siemens-ix/{p-3d8a3b8a.entry.js → p-cca07b68.entry.js} +2 -2
- package/dist/siemens-ix/{p-3d8a3b8a.entry.js.map → p-cca07b68.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-20d1d114.entry.js → p-ccec1de1.entry.js} +2 -2
- package/dist/siemens-ix/p-ccec1de1.entry.js.map +1 -0
- package/dist/siemens-ix/p-d6caa4f4.entry.js +2 -0
- package/dist/siemens-ix/p-d6caa4f4.entry.js.map +1 -0
- package/dist/siemens-ix/p-da040b8b.entry.js +2 -0
- package/dist/siemens-ix/p-da040b8b.entry.js.map +1 -0
- package/dist/siemens-ix/{p-000cfb14.entry.js → p-dd11dd49.entry.js} +2 -2
- package/dist/siemens-ix/{p-000cfb14.entry.js.map → p-dd11dd49.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-2290614f.entry.js → p-e09ab46a.entry.js} +2 -2
- package/dist/siemens-ix/{p-2290614f.entry.js.map → p-e09ab46a.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-5963369c.entry.js → p-e3c930ac.entry.js} +2 -2
- package/dist/siemens-ix/p-e3c930ac.entry.js.map +1 -0
- package/dist/siemens-ix/{p-933f6e1f.entry.js → p-ea310106.entry.js} +2 -2
- package/dist/siemens-ix/p-ea310106.entry.js.map +1 -0
- package/dist/siemens-ix/siemens-ix-core.css +1 -1
- package/dist/siemens-ix/siemens-ix.css +174 -0
- package/dist/siemens-ix/siemens-ix.esm.js +1 -1
- package/dist/types/components/action-card/action-card.d.ts +0 -3
- package/dist/types/components/application/application.d.ts +0 -3
- package/dist/types/components/application-header/application-header.d.ts +0 -4
- package/dist/types/components/avatar/avatar.d.ts +0 -7
- package/dist/types/components/blind/blind.d.ts +0 -3
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +0 -2
- package/dist/types/components/button/button.d.ts +0 -3
- package/dist/types/components/card/card.d.ts +1 -4
- package/dist/types/components/card-accordion/card-accordion.d.ts +0 -4
- package/dist/types/components/card-content/card-content.d.ts +0 -3
- package/dist/types/components/card-list/card-list.d.ts +0 -5
- package/dist/types/components/card-title/card-title.d.ts +0 -2
- package/dist/types/components/category-filter/category-filter.d.ts +0 -2
- package/dist/types/components/checkbox/checkbox.d.ts +8 -2
- package/dist/types/components/checkbox-group/checkbox-group.d.ts +21 -2
- package/dist/types/components/checkbox-group/test/checkbox-group.ct.d.ts +1 -0
- package/dist/types/components/chip/chip.d.ts +1 -2
- package/dist/types/components/col/col.d.ts +0 -3
- package/dist/types/components/content/content.d.ts +0 -1
- package/dist/types/components/custom-field/custom-field.d.ts +0 -3
- package/dist/types/components/date-dropdown/date-dropdown.d.ts +0 -9
- package/dist/types/components/date-input/date-input.d.ts +2 -4
- package/dist/types/components/date-picker/date-picker.d.ts +0 -20
- package/dist/types/components/datetime-picker/datetime-picker.d.ts +0 -29
- package/dist/types/components/divider/divider.d.ts +0 -3
- package/dist/types/components/dropdown/dropdown.d.ts +0 -2
- package/dist/types/components/dropdown-button/dropdown-button.d.ts +0 -6
- package/dist/types/components/dropdown-header/dropdown-header.d.ts +0 -3
- package/dist/types/components/dropdown-quick-actions/dropdown-quick-actions.d.ts +0 -3
- package/dist/types/components/empty-state/empty-state.d.ts +0 -3
- package/dist/types/components/expanding-search/expanding-search.d.ts +0 -1
- package/dist/types/components/filter-chip/filter-chip.d.ts +0 -1
- package/dist/types/components/flip-tile/flip-tile.d.ts +0 -2
- package/dist/types/components/icon-button/icon-button.d.ts +0 -5
- package/dist/types/components/icon-toggle-button/icon-toggle-button.d.ts +0 -3
- package/dist/types/components/input/input.d.ts +5 -2
- package/dist/types/components/input/input.fc.d.ts +5 -4
- package/dist/types/components/input/number-input.d.ts +7 -2
- package/dist/types/components/input/textarea.d.ts +1 -2
- package/dist/types/components/input-group/input-group.d.ts +1 -1
- package/dist/types/components/key-value/key-value.d.ts +0 -2
- package/dist/types/components/key-value-list/key-value-list.d.ts +0 -3
- package/dist/types/components/layout-auto/layout-auto.d.ts +0 -3
- package/dist/types/components/layout-grid/layout-grid.d.ts +0 -3
- package/dist/types/components/link-button/link-button.d.ts +0 -3
- package/dist/types/components/map-navigation/map-navigation.d.ts +0 -1
- package/dist/types/components/menu/menu.d.ts +0 -2
- package/dist/types/components/menu-avatar/menu-avatar.d.ts +0 -6
- package/dist/types/components/menu-category/menu-category.d.ts +0 -3
- package/dist/types/components/menu-item/menu-item.d.ts +0 -2
- package/dist/types/components/modal/modal.d.ts +0 -4
- package/dist/types/components/modal-content/modal-content.d.ts +0 -3
- package/dist/types/components/modal-footer/modal-footer.d.ts +0 -3
- package/dist/types/components/modal-header/modal-header.d.ts +0 -3
- package/dist/types/components/pagination/pagination.d.ts +0 -3
- package/dist/types/components/pane/pane.d.ts +0 -3
- package/dist/types/components/pane-layout/pane-layout.d.ts +0 -3
- package/dist/types/components/push-card/push-card.d.ts +0 -4
- package/dist/types/components/radio/radio.d.ts +13 -5
- package/dist/types/components/radio-group/radio-group.d.ts +15 -3
- package/dist/types/components/row/row.d.ts +0 -3
- package/dist/types/components/select/select.d.ts +1 -32
- package/dist/types/components/slider/slider.d.ts +0 -2
- package/dist/types/components/split-button/split-button.d.ts +0 -1
- package/dist/types/components/tab-item/tab-item.d.ts +0 -2
- package/dist/types/components/tabs/tabs.d.ts +0 -2
- package/dist/types/components/time-picker/time-picker.d.ts +0 -8
- package/dist/types/components/toggle/toggle.d.ts +10 -2
- package/dist/types/components/toggle-button/toggle-button.d.ts +0 -3
- package/dist/types/components/tooltip/tooltip.d.ts +0 -3
- package/dist/types/components/tree/tree.d.ts +4 -6
- package/dist/types/components/typography/typography.d.ts +0 -3
- package/dist/types/components/utils/input/index.d.ts +1 -1
- package/dist/types/components/validation-tooltip/validation-tooltip.d.ts +2 -2
- package/dist/types/components.d.ts +110 -673
- package/hydrate/index.js +435 -467
- package/hydrate/index.mjs +435 -467
- package/package.json +3 -3
- package/scss/_core.scss +2 -0
- package/scss/components/_button-group.scss +13 -0
- package/components/p-12nKYxsa.js.map +0 -1
- package/components/p-2g5-4fWy.js.map +0 -1
- package/components/p-BBSHeR_p.js.map +0 -1
- package/components/p-BwyqOnwc.js.map +0 -1
- package/components/p-C8vn2GFY.js.map +0 -1
- package/components/p-CB1ADCkU.js.map +0 -1
- package/components/p-D0LdqSVb.js.map +0 -1
- package/components/p-DGeWaNlt.js.map +0 -1
- package/components/p-DIzxAERt.js.map +0 -1
- package/components/p-DM43N7pD.js.map +0 -1
- package/components/p-DXzHgqiB.js.map +0 -1
- package/components/p-D_wwWxx8.js.map +0 -1
- package/components/p-Dy35mbzK.js.map +0 -1
- package/components/p-DylMlJTZ.js.map +0 -1
- package/dist/cjs/input.util-DuJG4-L-.js.map +0 -1
- package/dist/cjs/validation-B-wzGaWF.js.map +0 -1
- package/dist/esm/input.util-DpnoI5lb.js.map +0 -1
- package/dist/esm/validation-C_w_pHgR.js.map +0 -1
- package/dist/siemens-ix/p-08931f8c.entry.js.map +0 -1
- package/dist/siemens-ix/p-0c830977.entry.js.map +0 -1
- package/dist/siemens-ix/p-19ae7d99.entry.js.map +0 -1
- package/dist/siemens-ix/p-20d1d114.entry.js.map +0 -1
- package/dist/siemens-ix/p-2295246b.entry.js.map +0 -1
- package/dist/siemens-ix/p-28055ea5.entry.js.map +0 -1
- package/dist/siemens-ix/p-2j3Ly91D.js +0 -2
- package/dist/siemens-ix/p-2j3Ly91D.js.map +0 -1
- package/dist/siemens-ix/p-3283a5f3.entry.js.map +0 -1
- package/dist/siemens-ix/p-34ff567f.entry.js.map +0 -1
- package/dist/siemens-ix/p-37fa26f9.entry.js +0 -2
- package/dist/siemens-ix/p-37fa26f9.entry.js.map +0 -1
- package/dist/siemens-ix/p-3a0a5bc2.entry.js.map +0 -1
- package/dist/siemens-ix/p-3db26a34.entry.js +0 -2
- package/dist/siemens-ix/p-3e1a9763.entry.js.map +0 -1
- package/dist/siemens-ix/p-3edc7dd2.entry.js.map +0 -1
- package/dist/siemens-ix/p-4b0c3eeb.entry.js.map +0 -1
- package/dist/siemens-ix/p-518b1e6b.entry.js +0 -2
- package/dist/siemens-ix/p-575b3137.entry.js.map +0 -1
- package/dist/siemens-ix/p-576fade1.entry.js.map +0 -1
- package/dist/siemens-ix/p-5963369c.entry.js.map +0 -1
- package/dist/siemens-ix/p-5b1d3595.entry.js +0 -2
- package/dist/siemens-ix/p-5b1d3595.entry.js.map +0 -1
- package/dist/siemens-ix/p-5fef5328.entry.js.map +0 -1
- package/dist/siemens-ix/p-6691703e.entry.js +0 -2
- package/dist/siemens-ix/p-6691703e.entry.js.map +0 -1
- package/dist/siemens-ix/p-66fb6549.entry.js.map +0 -1
- package/dist/siemens-ix/p-6d197072.entry.js +0 -2
- package/dist/siemens-ix/p-6d197072.entry.js.map +0 -1
- package/dist/siemens-ix/p-734bcb23.entry.js.map +0 -1
- package/dist/siemens-ix/p-7abb0f0c.entry.js +0 -2
- package/dist/siemens-ix/p-7abb0f0c.entry.js.map +0 -1
- package/dist/siemens-ix/p-87b30e60.entry.js.map +0 -1
- package/dist/siemens-ix/p-87c777a1.entry.js +0 -2
- package/dist/siemens-ix/p-87c777a1.entry.js.map +0 -1
- package/dist/siemens-ix/p-89edecbd.entry.js.map +0 -1
- package/dist/siemens-ix/p-933f6e1f.entry.js.map +0 -1
- package/dist/siemens-ix/p-93ba92af.entry.js.map +0 -1
- package/dist/siemens-ix/p-96bbbbcb.entry.js.map +0 -1
- package/dist/siemens-ix/p-9a679e62.entry.js.map +0 -1
- package/dist/siemens-ix/p-9e3a36df.entry.js.map +0 -1
- package/dist/siemens-ix/p-BPfEX8mR.js +0 -2
- package/dist/siemens-ix/p-BPfEX8mR.js.map +0 -1
- package/dist/siemens-ix/p-ac5f5042.entry.js.map +0 -1
- package/dist/siemens-ix/p-aeb1eb75.entry.js.map +0 -1
- package/dist/siemens-ix/p-aee95ea9.entry.js.map +0 -1
- package/dist/siemens-ix/p-b01c5093.entry.js +0 -2
- package/dist/siemens-ix/p-b39463a7.entry.js +0 -2
- package/dist/siemens-ix/p-c675b650.entry.js.map +0 -1
- package/dist/siemens-ix/p-c7384379.entry.js.map +0 -1
- package/dist/siemens-ix/p-c80dddf1.entry.js.map +0 -1
- package/dist/siemens-ix/p-c93a8094.entry.js.map +0 -1
- package/dist/siemens-ix/p-cd52e37a.entry.js.map +0 -1
- package/dist/siemens-ix/p-ce0642f0.entry.js.map +0 -1
- package/dist/siemens-ix/p-d1cf2407.entry.js.map +0 -1
- package/dist/siemens-ix/p-d3f99d59.entry.js.map +0 -1
- package/dist/siemens-ix/p-e501b6ca.entry.js +0 -2
- package/dist/siemens-ix/p-e501b6ca.entry.js.map +0 -1
- package/dist/siemens-ix/p-e6c7e87a.entry.js.map +0 -1
- package/dist/siemens-ix/p-f0575255.entry.js.map +0 -1
- package/dist/siemens-ix/p-f3022851.entry.js +0 -2
- package/dist/siemens-ix/p-f3022851.entry.js.map +0 -1
- package/dist/siemens-ix/p-f3f6e45d.entry.js.map +0 -1
- package/dist/siemens-ix/p-f7bfd5f6.entry.js.map +0 -1
- package/dist/siemens-ix/p-f81de54a.entry.js +0 -2
- package/dist/siemens-ix/p-f81de54a.entry.js.map +0 -1
- package/dist/siemens-ix/p-f8a852c3.entry.js.map +0 -1
- package/dist/siemens-ix/p-ff2171f6.entry.js.map +0 -1
- /package/dist/siemens-ix/{p-e365aee3.entry.js.map → p-7535cbf6.entry.js.map} +0 -0
|
@@ -14,12 +14,10 @@ export class FlipTile {
|
|
|
14
14
|
constructor() {
|
|
15
15
|
/**
|
|
16
16
|
* Height interpreted as REM
|
|
17
|
-
* @since 1.5.0
|
|
18
17
|
*/
|
|
19
18
|
this.height = 15.125;
|
|
20
19
|
/**
|
|
21
20
|
* Width interpreted as REM
|
|
22
|
-
* @since 1.5.0
|
|
23
21
|
*/
|
|
24
22
|
this.width = 16;
|
|
25
23
|
/**
|
|
@@ -86,26 +84,26 @@ export class FlipTile {
|
|
|
86
84
|
}, 2 * this.ANIMATION_DURATION);
|
|
87
85
|
}
|
|
88
86
|
render() {
|
|
89
|
-
return (h(Host, { key: '
|
|
87
|
+
return (h(Host, { key: '8892b7907bdfb0a5f0c2d7cc19c4d29fdf956d81', style: {
|
|
90
88
|
height: `${this.height}${this.height === 'auto' ? '' : 'rem'}`,
|
|
91
89
|
'min-height': `${this.height}${this.height === 'auto' ? '' : 'rem'}`,
|
|
92
90
|
'max-height': `${this.height}${this.height === 'auto' ? '' : 'rem'}`,
|
|
93
91
|
width: `${this.width}${this.width === 'auto' ? '' : 'rem'}`,
|
|
94
92
|
'min-width': `${this.width}${this.width === 'auto' ? '' : 'rem'}`,
|
|
95
93
|
'max-width': `${this.width}${this.width === 'auto' ? '' : 'rem'}`,
|
|
96
|
-
} }, h("div", { key: '
|
|
94
|
+
} }, h("div", { key: 'e322ed0cad19e1e2c2c287555c1d613cccce965b', class: {
|
|
97
95
|
'flip-tile-container': true,
|
|
98
96
|
info: this.state === FlipTileState.Info,
|
|
99
97
|
warning: this.state === FlipTileState.Warning,
|
|
100
98
|
alarm: this.state === FlipTileState.Alarm,
|
|
101
99
|
primary: this.state === FlipTileState.Primary,
|
|
102
100
|
'flip-animation-active': this.isFlipAnimationActive,
|
|
103
|
-
} }, h("div", { key: '
|
|
101
|
+
} }, h("div", { key: 'b9722c9baa43b7022aef0ae6f1511d72b9b6ef27', class: "flip-tile-header" }, h("div", { key: '05360f768bbfc11656404ff7078d5fc2e27c793a', class: "header-slot-container text-l-title" }, h("slot", { key: '84f83de8ac0e872b339099632ba71c77562235e5', name: "header" })), h("ix-icon-button", { key: '7ff6a1faaf174da2427b5bbba382ecd10a22e2be', icon: iconEye, variant: "primary", ghost: true, onClick: () => this.toggleIndex() })), h("div", { key: 'dd88100383ddbb0b4d58c0a281905cdec370c79f', class: "content-container" }, h("slot", { key: 'f39529910e08e2757a2a6a2db9b1b021fe301c77' })), h("div", { key: '2d17fc0f712da5707cd81d5bc69a7ca2a9097bd6', class: {
|
|
104
102
|
footer: true,
|
|
105
103
|
'contrast-light': this.state === FlipTileState.Warning,
|
|
106
104
|
'contrast-dark': this.state === FlipTileState.Info ||
|
|
107
105
|
this.state === FlipTileState.Alarm,
|
|
108
|
-
} }, h("slot", { key: '
|
|
106
|
+
} }, h("slot", { key: '3c3b397cf51c71b3d45802f6e69ddb877d1ee3ef', name: "footer" })))));
|
|
109
107
|
}
|
|
110
108
|
static get is() { return "ix-flip-tile"; }
|
|
111
109
|
static get encapsulation() { return "shadow"; }
|
|
@@ -158,10 +156,7 @@ export class FlipTile {
|
|
|
158
156
|
"required": false,
|
|
159
157
|
"optional": false,
|
|
160
158
|
"docs": {
|
|
161
|
-
"tags": [
|
|
162
|
-
"name": "since",
|
|
163
|
-
"text": "1.5.0"
|
|
164
|
-
}],
|
|
159
|
+
"tags": [],
|
|
165
160
|
"text": "Height interpreted as REM"
|
|
166
161
|
},
|
|
167
162
|
"getter": false,
|
|
@@ -181,10 +176,7 @@ export class FlipTile {
|
|
|
181
176
|
"required": false,
|
|
182
177
|
"optional": false,
|
|
183
178
|
"docs": {
|
|
184
|
-
"tags": [
|
|
185
|
-
"name": "since",
|
|
186
|
-
"text": "1.5.0"
|
|
187
|
-
}],
|
|
179
|
+
"tags": [],
|
|
188
180
|
"text": "Width interpreted as REM"
|
|
189
181
|
},
|
|
190
182
|
"getter": false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flip-tile.js","sourceRoot":"","sources":["../../../src/components/flip-tile/flip-tile.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACL,SAAS,EACT,OAAO,EACP,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,KAAK,GACN,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAOlD,MAAM,OAAO,QAAQ;IALrB;QAaE
|
|
1
|
+
{"version":3,"file":"flip-tile.js","sourceRoot":"","sources":["../../../src/components/flip-tile/flip-tile.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACL,SAAS,EACT,OAAO,EACP,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,KAAK,GACN,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,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4DAAK,KAAK,EAAC,mBAAmB;oBAC5B,8DAAa,CACT;gBACN,4DACE,KAAK,EAAE;wBACL,MAAM,EAAE,IAAI;wBACZ,gBAAgB,EAAE,IAAI,CAAC,KAAK,KAAK,aAAa,CAAC,OAAO;wBACtD,eAAe,EACb,IAAI,CAAC,KAAK,KAAK,aAAa,CAAC,IAAI;4BACjC,IAAI,CAAC,KAAK,KAAK,aAAa,CAAC,KAAK;qBACrC;oBAED,6DAAM,IAAI,EAAC,QAAQ,GAAQ,CACvB,CACF,CACD,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 Prop,\n State,\n Watch,\n} from '@stencil/core';\nimport { createMutationObserver } from '../utils/mutation-observer';\nimport { FlipTileState } from './flip-tile-state';\nimport { iconEye } from '@siemens/ix-icons/icons';\n\n@Component({\n tag: 'ix-flip-tile',\n styleUrl: 'flip-tile.scss',\n shadow: true,\n})\nexport class FlipTile {\n @Element() hostElement!: HTMLIxFlipTileElement;\n\n /**\n * Variation of the Flip\n */\n @Prop() state?: FlipTileState;\n\n /**\n * Height interpreted as REM\n */\n @Prop() height: number | 'auto' = 15.125;\n\n /**\n * Width interpreted as REM\n */\n @Prop() width: number | 'auto' = 16;\n\n /**\n * Index of the currently visible content\n * @since 3.0.0\n */\n @Prop() index = 0;\n\n /**\n * Event emitted when the index changes\n * @since 3.0.0\n */\n @Event() toggle!: EventEmitter<number>;\n\n @State() isFlipAnimationActive: boolean = false;\n\n private readonly ANIMATION_DURATION = 150;\n private contentItems: Array<HTMLIxFlipTileContentElement> = [];\n private observer?: MutationObserver;\n\n @Watch('index')\n watchIndex(newIndex: number, oldIndex: number) {\n if (newIndex === oldIndex) {\n return;\n }\n\n this.doFlipAnimation(newIndex);\n }\n\n componentDidLoad() {\n this.observer = createMutationObserver(() => this.updateContentItems());\n this.observer.observe(this.hostElement, {\n childList: true,\n });\n }\n\n componentWillLoad() {\n this.updateContentItems();\n this.updateContentVisibility(this.index);\n }\n\n disconnectedCallback() {\n if (this.observer) {\n this.observer.disconnect();\n }\n }\n\n private updateContentItems() {\n this.contentItems = Array.from(\n this.hostElement.querySelectorAll('ix-flip-tile-content')\n );\n }\n\n private updateContentVisibility(indexVisible: number) {\n this.contentItems.forEach(\n (content, index) => (content.contentVisible = index === indexVisible)\n );\n }\n\n private toggleIndex() {\n let newIndex;\n\n if (this.index >= this.contentItems.length - 1) {\n newIndex = 0;\n } else {\n newIndex = this.index + 1;\n }\n\n const { defaultPrevented } = this.toggle.emit(newIndex);\n\n if (defaultPrevented) {\n return;\n }\n\n this.doFlipAnimation(newIndex);\n }\n\n private doFlipAnimation(index: number) {\n if (this.isFlipAnimationActive) {\n return;\n }\n\n this.isFlipAnimationActive = true;\n\n setTimeout(() => {\n this.index = index;\n\n this.updateContentVisibility(this.index);\n }, this.ANIMATION_DURATION);\n\n setTimeout(() => {\n this.isFlipAnimationActive = false;\n }, 2 * this.ANIMATION_DURATION);\n }\n\n render() {\n return (\n <Host\n style={{\n height: `${this.height}${this.height === 'auto' ? '' : 'rem'}`,\n 'min-height': `${this.height}${this.height === 'auto' ? '' : 'rem'}`,\n 'max-height': `${this.height}${this.height === 'auto' ? '' : 'rem'}`,\n width: `${this.width}${this.width === 'auto' ? '' : 'rem'}`,\n 'min-width': `${this.width}${this.width === 'auto' ? '' : 'rem'}`,\n 'max-width': `${this.width}${this.width === 'auto' ? '' : 'rem'}`,\n }}\n >\n <div\n class={{\n 'flip-tile-container': true,\n info: this.state === FlipTileState.Info,\n warning: this.state === FlipTileState.Warning,\n alarm: this.state === FlipTileState.Alarm,\n primary: this.state === FlipTileState.Primary,\n 'flip-animation-active': this.isFlipAnimationActive,\n }}\n >\n <div class=\"flip-tile-header\">\n <div class=\"header-slot-container text-l-title\">\n <slot name=\"header\"></slot>\n </div>\n <ix-icon-button\n icon={iconEye}\n variant=\"primary\"\n ghost\n onClick={() => this.toggleIndex()}\n ></ix-icon-button>\n </div>\n\n <div class=\"content-container\">\n <slot></slot>\n </div>\n <div\n class={{\n footer: true,\n 'contrast-light': this.state === FlipTileState.Warning,\n 'contrast-dark':\n this.state === FlipTileState.Info ||\n this.state === FlipTileState.Alarm,\n }}\n >\n <slot name=\"footer\"></slot>\n </div>\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -13,7 +13,6 @@ export class IconButton {
|
|
|
13
13
|
constructor() {
|
|
14
14
|
/**
|
|
15
15
|
* Variant of button
|
|
16
|
-
* @since 2.3.0 - variant danger
|
|
17
16
|
*/
|
|
18
17
|
this.variant = 'secondary';
|
|
19
18
|
/**
|
|
@@ -43,8 +42,6 @@ export class IconButton {
|
|
|
43
42
|
this.type = 'button';
|
|
44
43
|
/**
|
|
45
44
|
* Loading button
|
|
46
|
-
*
|
|
47
|
-
* @since 2.0.0
|
|
48
45
|
*/
|
|
49
46
|
this.loading = false;
|
|
50
47
|
}
|
|
@@ -92,7 +89,7 @@ export class IconButton {
|
|
|
92
89
|
type: this.type,
|
|
93
90
|
extraClasses: this.getIconSizeClass(),
|
|
94
91
|
};
|
|
95
|
-
return (h(Host, { key: '
|
|
92
|
+
return (h(Host, { key: '489506f8d42dfa6e8d851305ffa875b826f4bbe0', class: Object.assign(Object.assign({}, this.getIconSizeClass()), { disabled: this.disabled || this.loading }) }, h(BaseIconButton, Object.assign({ key: 'af5769a992a9f367c53b89abc51638e75da85bf0' }, baseButtonProps))));
|
|
96
93
|
}
|
|
97
94
|
static get is() { return "ix-icon-button"; }
|
|
98
95
|
static get encapsulation() { return "shadow"; }
|
|
@@ -120,10 +117,7 @@ export class IconButton {
|
|
|
120
117
|
"required": false,
|
|
121
118
|
"optional": true,
|
|
122
119
|
"docs": {
|
|
123
|
-
"tags": [
|
|
124
|
-
"name": "since",
|
|
125
|
-
"text": "2.1.0"
|
|
126
|
-
}],
|
|
120
|
+
"tags": [],
|
|
127
121
|
"text": "Accessibility label for the icon button\nWill be set as aria-label on the nested HTML button element"
|
|
128
122
|
},
|
|
129
123
|
"getter": false,
|
|
@@ -148,10 +142,7 @@ export class IconButton {
|
|
|
148
142
|
"required": false,
|
|
149
143
|
"optional": false,
|
|
150
144
|
"docs": {
|
|
151
|
-
"tags": [
|
|
152
|
-
"name": "since",
|
|
153
|
-
"text": "2.3.0 - variant danger"
|
|
154
|
-
}],
|
|
145
|
+
"tags": [],
|
|
155
146
|
"text": "Variant of button"
|
|
156
147
|
},
|
|
157
148
|
"getter": false,
|
|
@@ -329,10 +320,7 @@ export class IconButton {
|
|
|
329
320
|
"required": false,
|
|
330
321
|
"optional": false,
|
|
331
322
|
"docs": {
|
|
332
|
-
"tags": [
|
|
333
|
-
"name": "since",
|
|
334
|
-
"text": "2.0.0"
|
|
335
|
-
}],
|
|
323
|
+
"tags": [],
|
|
336
324
|
"text": "Loading button"
|
|
337
325
|
},
|
|
338
326
|
"getter": false,
|
|
@@ -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;AAGlE,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,4BAA4B,EAAE,MAAM,eAAe,CAAC;AAS7D,MAAM,OAAO,UAAU;IALvB;
|
|
1
|
+
{"version":3,"file":"icon-button.js","sourceRoot":"","sources":["../../../src/components/icon-button/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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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 { ButtonVariant } from '../button/button';\nimport { BaseIconButton } from '../icon-button/base-icon-button';\nimport { getFallbackLabelFromIconName } from '../utils/a11y';\n\nexport type IconButtonVariant = ButtonVariant;\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 @Prop({ attribute: 'a11y-label' }) a11yLabel?: string;\n\n /**\n * Variant of button\n */\n @Prop() variant: IconButtonVariant = 'secondary';\n\n /**\n * Button outline\n */\n @Prop() outline: boolean = false;\n\n /**\n * Button invisible\n */\n @Prop() ghost: boolean = false;\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 baseButtonProps: BaseButtonProps = {\n ariaAttributes: {\n 'aria-label': this.a11yLabel\n ? this.a11yLabel\n : getFallbackLabelFromIconName(this.icon),\n },\n variant: this.variant,\n outline: this.outline,\n ghost: this.ghost,\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"]}
|
|
@@ -9,9 +9,6 @@
|
|
|
9
9
|
import { h, Host, } from "@stencil/core";
|
|
10
10
|
import { BaseIconButton } from "../icon-button/base-icon-button";
|
|
11
11
|
import { a11yBoolean } from "../utils/a11y";
|
|
12
|
-
/**
|
|
13
|
-
* @since 2.0.0
|
|
14
|
-
*/
|
|
15
12
|
export class IconToggleButton {
|
|
16
13
|
constructor() {
|
|
17
14
|
/**
|
|
@@ -93,7 +90,7 @@ export class IconToggleButton {
|
|
|
93
90
|
},
|
|
94
91
|
extraClasses: Object.assign({ 'icon-button': true }, this.getIconSizeClass()),
|
|
95
92
|
};
|
|
96
|
-
return (h(Host, { key: '
|
|
93
|
+
return (h(Host, { key: 'c6ee50eeae6633065e5de88f97596caf8eb0e281', class: Object.assign(Object.assign({}, this.getIconSizeClass()), { disabled: this.disabled || this.loading }) }, h(BaseIconButton, Object.assign({ key: '7d47806873919e9f74da8531c1fe2b087902c56f' }, baseButtonProps))));
|
|
97
94
|
}
|
|
98
95
|
static get is() { return "ix-icon-toggle-button"; }
|
|
99
96
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-toggle-button.js","sourceRoot":"","sources":["../../../src/components/icon-toggle-button/icon-toggle-button.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACL,SAAS,EACT,OAAO,EACP,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,IAAI,EACJ,KAAK,GACN,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"icon-toggle-button.js","sourceRoot":"","sources":["../../../src/components/icon-toggle-button/icon-toggle-button.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACL,SAAS,EACT,OAAO,EACP,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,IAAI,EACJ,KAAK,GACN,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAO5C,MAAM,OAAO,gBAAgB;IAL7B;QAME;;;WAGG;QACK,YAAO,GAAkB,WAAW,CAAC;QAE7C;;WAEG;QACK,YAAO,GAAG,KAAK,CAAC;QAExB;;WAEG;QACK,UAAK,GAAG,KAAK,CAAC;QAOtB;;WAEG;QACK,YAAO,GAAG,KAAK,CAAC;QAExB;;WAEG;QACK,SAAI,GAAuB,IAAI,CAAC;QAExC;;WAEG;QACsB,aAAQ,GAAG,KAAK,CAAC;QAE1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OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,qBAAqB,EAAE;YAC3C,IAAI,EAAE,QAAQ;YACd,cAAc,EAAE;gBACd,cAAc,EAAE,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC;aAC1C;YACD,YAAY,kBACV,aAAa,EAAE,IAAI,IAChB,IAAI,CAAC,gBAAgB,EAAE,CAC3B;SACF,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 {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n Watch,\n} from '@stencil/core';\nimport { BaseButtonProps } from '../button/base-button';\nimport { ButtonVariant } from '../button/button';\nimport { BaseIconButton } from '../icon-button/base-icon-button';\nimport { a11yBoolean } from '../utils/a11y';\n\n@Component({\n tag: 'ix-icon-toggle-button',\n shadow: true,\n styleUrl: './icon-toggle-button.scss',\n})\nexport class IconToggleButton {\n /**\n * Button variant.\n * Important: Variant 'primary' can only be combined with either outline or ghost.\n */\n @Prop() variant: ButtonVariant = 'secondary';\n\n /**\n * Outline button\n */\n @Prop() outline = false;\n\n /**\n * Button with no background or outline\n */\n @Prop() ghost = false;\n\n /**\n * Icon name\n */\n @Prop() icon?: string;\n\n /**\n * Show button as pressed\n */\n @Prop() pressed = false;\n\n /**\n * Size of icon in button\n */\n @Prop() size: '24' | '16' | '12' = '24';\n\n /**\n * Disable the button\n */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * Loading button\n */\n @Prop() loading: boolean = false;\n\n /**\n * Pressed change event\n */\n @Event() pressedChange!: EventEmitter<boolean>;\n\n @Element() hostElement!: HTMLIxIconToggleButtonElement;\n\n private isIllegalToggleButtonConfig() {\n return this.variant === 'primary' && (this.outline || this.ghost);\n }\n\n private logIllegalConfig() {\n console.warn(\n 'iX toggle button with illegal configuration detected. Variant \"primary\" can only be combined with \"outline\" or \"ghost\".'\n );\n }\n\n @Watch('variant')\n onVariantChange() {\n if (this.isIllegalToggleButtonConfig()) {\n this.logIllegalConfig();\n }\n }\n\n @Watch('ghost')\n onGhostChange() {\n this.onVariantChange();\n }\n\n @Watch('outline')\n onOutlineChange() {\n this.onVariantChange();\n }\n\n componentDidLoad() {\n this.onVariantChange();\n }\n\n private dispatchPressedChange() {\n this.pressedChange.emit(!this.pressed);\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',\n };\n }\n\n render() {\n const baseButtonProps: BaseButtonProps = {\n variant: this.variant,\n outline: this.outline,\n ghost: this.ghost,\n iconOnly: true,\n iconOval: false,\n selected: this.pressed,\n disabled: this.disabled || this.loading,\n icon: this.icon,\n iconSize: this.size,\n loading: this.loading,\n onClick: () => this.dispatchPressedChange(),\n type: 'button',\n ariaAttributes: {\n 'aria-pressed': a11yBoolean(this.pressed),\n },\n extraClasses: {\n 'icon-button': true,\n ...this.getIconSizeClass(),\n },\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"]}
|
|
@@ -21,7 +21,7 @@ export function TextareaElement(props) {
|
|
|
21
21
|
} }, props.ariaAttributes)));
|
|
22
22
|
}
|
|
23
23
|
export function InputElement(props) {
|
|
24
|
-
return (h("input", Object.assign({ id: props.id, autoComplete: "off", readOnly: props.readonly, disabled: props.disabled, min: props.min, max: props.max, maxLength: props.maxLength ? Number(props.maxLength) : undefined, minLength: props.
|
|
24
|
+
return (h("input", Object.assign({ id: props.id, autoComplete: "off", readOnly: props.readonly, disabled: props.disabled, step: props.step, min: props.min, max: props.max, maxLength: props.maxLength ? Number(props.maxLength) : undefined, minLength: props.minLength ? Number(props.minLength) : undefined, ref: props.inputRef, pattern: props.pattern, type: props.type, class: {
|
|
25
25
|
'is-invalid': props.isInvalid,
|
|
26
26
|
}, required: props.required, value: props.value, placeholder: props.placeholder, onKeyPress: (event) => props.onKeyPress(event), onInput: (inputEvent) => {
|
|
27
27
|
const target = inputEvent.target;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.fc.js","sourceRoot":"","sources":["../../../src/components/input/input.fc.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,CAAC,EAAuB,MAAM,eAAe,CAAC;AAIvD,MAAM,UAAU,eAAe,
|
|
1
|
+
{"version":3,"file":"input.fc.js","sourceRoot":"","sources":["../../../src/components/input/input.fc.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,CAAC,EAAuB,MAAM,eAAe,CAAC;AAIvD,MAAM,UAAU,eAAe,CAC7B,KAmBE;IAEF,OAAO,CACL,8BACE,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,SAAS,EAAE,KAAK,CAAC,SAAS,EAC1B,SAAS,EAAE,KAAK,CAAC,SAAS,EAC1B,IAAI,EAAE,KAAK,CAAC,YAAY,EACxB,IAAI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\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { MakeRef } from '../utils/make-ref';\nimport { A11yAttributes } from '../utils/a11y';\n\nexport function TextareaElement(\n props: Readonly<{\n resizeBehavior: 'both' | 'horizontal' | 'vertical' | 'none';\n textareaHeight?: string;\n textareaWidth?: string;\n textareaRows?: number;\n textareaCols?: number;\n disabled: boolean;\n readonly: boolean;\n maxLength?: number;\n minLength?: number;\n isInvalid: boolean;\n required: boolean;\n value: string;\n placeholder?: string;\n textAreaRef: (el: HTMLTextAreaElement | undefined) => void;\n valueChange: (value: string) => void;\n updateFormInternalValue: (value: string) => void;\n onBlur: () => void;\n ariaAttributes?: A11yAttributes;\n }>\n) {\n return (\n <textarea\n readOnly={props.readonly}\n disabled={props.disabled}\n maxLength={props.maxLength}\n minLength={props.minLength}\n cols={props.textareaCols}\n rows={props.textareaRows}\n ref={props.textAreaRef}\n class={{\n 'is-invalid': props.isInvalid,\n }}\n required={props.required}\n value={props.value}\n placeholder={props.placeholder}\n onInput={(inputEvent) => {\n const target = inputEvent.target as HTMLInputElement;\n props.updateFormInternalValue(target.value);\n props.valueChange(target.value);\n }}\n onBlur={() => props.onBlur()}\n style={{\n resize: props.resizeBehavior,\n height: props.textareaHeight,\n width: props.textareaWidth,\n }}\n {...props.ariaAttributes}\n ></textarea>\n );\n}\n\nexport function InputElement(\n props: Readonly<{\n id: string;\n disabled: boolean;\n readonly: boolean;\n maxLength?: string | number;\n minLength?: string | number;\n max?: string | number;\n min?: string | number;\n step?: string | number;\n pattern?: string;\n type: string;\n isInvalid: boolean;\n required: boolean;\n value: string | number;\n placeholder?: string;\n inputRef: (el: HTMLInputElement | undefined) => void;\n onKeyPress: (event: KeyboardEvent) => void;\n valueChange: (value: string) => void;\n updateFormInternalValue: (value: string) => void;\n onBlur: () => void;\n ariaAttributes?: A11yAttributes;\n }>\n) {\n return (\n <input\n id={props.id}\n autoComplete=\"off\"\n readOnly={props.readonly}\n disabled={props.disabled}\n step={props.step}\n min={props.min}\n max={props.max}\n maxLength={props.maxLength ? Number(props.maxLength) : undefined}\n minLength={props.minLength ? Number(props.minLength) : undefined}\n ref={props.inputRef}\n pattern={props.pattern}\n type={props.type}\n class={{\n 'is-invalid': props.isInvalid,\n }}\n required={props.required}\n value={props.value}\n placeholder={props.placeholder}\n onKeyPress={(event) => props.onKeyPress(event)}\n onInput={(inputEvent) => {\n const target = inputEvent.target as HTMLInputElement;\n props.updateFormInternalValue(target.value);\n props.valueChange(target.value);\n }}\n onBlur={() => props.onBlur()}\n {...props.ariaAttributes}\n ></input>\n );\n}\n\nexport const SlotEnd: FunctionalComponent<{\n slotEndRef: MakeRef<HTMLDivElement>;\n onSlotChange?: (e: Event) => void;\n}> = (props, children) => {\n return (\n <div class=\"end-container\" ref={props.slotEndRef}>\n <slot name=\"end\" onSlotchange={props.onSlotChange}></slot>\n {children}\n </div>\n );\n};\n\nexport const SlotStart: FunctionalComponent<{\n slotStartRef: MakeRef<HTMLDivElement>;\n onSlotChange?: (e: Event) => void;\n}> = (props) => {\n return (\n <div class=\"start-container\" ref={props.slotStartRef}>\n <slot name=\"start\" onSlotchange={props.onSlotChange}></slot>\n </div>\n );\n};\n"]}
|
|
@@ -24,8 +24,7 @@ import { InputElement, SlotEnd, SlotStart } from "./input.fc";
|
|
|
24
24
|
import { addDisposableChangesAndVisibilityObservers, adjustPaddingForStartAndEnd, checkAllowedKeys, getAriaAttributesForInput, mapValidationResult, onInputBlur, } from "./input.util";
|
|
25
25
|
let inputIds = 0;
|
|
26
26
|
/**
|
|
27
|
-
* @
|
|
28
|
-
* @form-ready 2.6.0
|
|
27
|
+
* @form-ready
|
|
29
28
|
* @slot start - Element will be displayed at the start of the input
|
|
30
29
|
* @slot end - Element will be displayed at the end of the input
|
|
31
30
|
*/
|
|
@@ -102,6 +101,12 @@ export class Input {
|
|
|
102
101
|
getNativeInputElement() {
|
|
103
102
|
return this.inputRef.waitForCurrent();
|
|
104
103
|
}
|
|
104
|
+
/**
|
|
105
|
+
* Returns the validity state of the input field.
|
|
106
|
+
*/
|
|
107
|
+
getValidityState() {
|
|
108
|
+
return Promise.resolve(this.inputRef.current.validity);
|
|
109
|
+
}
|
|
105
110
|
/**
|
|
106
111
|
* Focuses the input field
|
|
107
112
|
*/
|
|
@@ -118,13 +123,13 @@ export class Input {
|
|
|
118
123
|
render() {
|
|
119
124
|
var _a;
|
|
120
125
|
const inputAria = getAriaAttributesForInput(this);
|
|
121
|
-
return (h(Host, { key: '
|
|
126
|
+
return (h(Host, { key: '48a3eeafce2c7449aac74866ce083b2985b788c3', class: {
|
|
122
127
|
disabled: this.disabled,
|
|
123
128
|
readonly: this.readonly,
|
|
124
|
-
} }, h("ix-field-wrapper", { key: '
|
|
129
|
+
} }, h("ix-field-wrapper", { key: '8890776f7c99b4e5432d2a7e02b61885ab1f1f40', 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: 'bb41666cc78347c3800d6efcf1912a450fc7e6e9', class: "input-wrapper" }, h(SlotStart, { key: '3fafbeff30d7b3b0d7e22fc5ffc89f4ed3dfae86', slotStartRef: this.slotStartRef, onSlotChange: () => this.updatePaddings() }), h(InputElement, { key: '312f25e4cd128d32f6ba3f4960b9a00d860d89e5', 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: () => {
|
|
125
130
|
onInputBlur(this, this.inputRef.current);
|
|
126
131
|
this.touched = true;
|
|
127
|
-
}, ariaAttributes: inputAria }), h(SlotEnd, { key: '
|
|
132
|
+
}, ariaAttributes: inputAria }), h(SlotEnd, { key: 'e1eb5730048cd5e21047c3656a4d37c3805ae757', slotEndRef: this.slotEndRef, onSlotChange: () => this.updatePaddings() }, h("ix-icon-button", { key: 'ad393d7fd9acf7d5258e9e951e670abc99e19730', color: "color-weak-text", class: {
|
|
128
133
|
'password-eye': true,
|
|
129
134
|
'eye-hidden': this.type !== 'password',
|
|
130
135
|
}, ghost: true, icon: this.inputType === 'password' ? iconEye : iconEyeCancelled, onClick: () => {
|
|
@@ -133,7 +138,7 @@ export class Input {
|
|
|
133
138
|
return;
|
|
134
139
|
}
|
|
135
140
|
this.inputType = 'password';
|
|
136
|
-
} }))), !!this.maxLength && this.maxLength > 0 && (h("ix-typography", { key: '
|
|
141
|
+
} }))), !!this.maxLength && this.maxLength > 0 && (h("ix-typography", { key: '3be733d6e0c96577d5d24c16f88de24ec966d570', class: "bottom-text", slot: "bottom-right", textColor: "soft" }, (_a = this.value) === null || _a === void 0 ? void 0 :
|
|
137
142
|
_a.length, "/", this.maxLength)))));
|
|
138
143
|
}
|
|
139
144
|
static get is() { return "ix-input"; }
|
|
@@ -630,6 +635,27 @@ export class Input {
|
|
|
630
635
|
"tags": []
|
|
631
636
|
}
|
|
632
637
|
},
|
|
638
|
+
"getValidityState": {
|
|
639
|
+
"complexType": {
|
|
640
|
+
"signature": "() => Promise<ValidityState>",
|
|
641
|
+
"parameters": [],
|
|
642
|
+
"references": {
|
|
643
|
+
"Promise": {
|
|
644
|
+
"location": "global",
|
|
645
|
+
"id": "global::Promise"
|
|
646
|
+
},
|
|
647
|
+
"ValidityState": {
|
|
648
|
+
"location": "global",
|
|
649
|
+
"id": "global::ValidityState"
|
|
650
|
+
}
|
|
651
|
+
},
|
|
652
|
+
"return": "Promise<ValidityState>"
|
|
653
|
+
},
|
|
654
|
+
"docs": {
|
|
655
|
+
"text": "Returns the validity state of the input field.",
|
|
656
|
+
"tags": []
|
|
657
|
+
}
|
|
658
|
+
},
|
|
633
659
|
"focusInput": {
|
|
634
660
|
"complexType": {
|
|
635
661
|
"signature": "() => Promise<void>",
|
|
@@ -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;;;;;GAKG;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,CAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF;AAxKC;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 * @since 2.6.0\n * @form-ready 2.6.0\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 * 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 ghost\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,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,EAC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jB,CACgB,CACd,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF;AAhLC;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 getValidityState(): Promise<ValidityState> {\n return Promise.resolve(this.inputRef.current.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 ghost\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"]}
|
|
@@ -24,8 +24,7 @@ import { InputElement, SlotEnd, SlotStart } from "./input.fc";
|
|
|
24
24
|
import { addDisposableChangesAndVisibilityObservers, adjustPaddingForStartAndEnd, checkAllowedKeys, checkInternalValidity, mapValidationResult, onInputBlur, } from "./input.util";
|
|
25
25
|
let numberInputIds = 0;
|
|
26
26
|
/**
|
|
27
|
-
* @
|
|
28
|
-
* @form-ready 2.6.0
|
|
27
|
+
* @form-ready
|
|
29
28
|
* @slot start - Element will be displayed at the start of the input
|
|
30
29
|
* @slot end - Element will be displayed at the end of the input
|
|
31
30
|
*/
|
|
@@ -84,8 +83,12 @@ export class NumberInput {
|
|
|
84
83
|
return this.formInternals.form;
|
|
85
84
|
}
|
|
86
85
|
/** @internal */
|
|
87
|
-
hasValidValue() {
|
|
88
|
-
|
|
86
|
+
async hasValidValue() {
|
|
87
|
+
const nativeInput = await this.getNativeInputElement();
|
|
88
|
+
if (nativeInput.value === '') {
|
|
89
|
+
return Promise.resolve(false);
|
|
90
|
+
}
|
|
91
|
+
return Promise.resolve(this.value !== null && this.value !== undefined && !isNaN(this.value));
|
|
89
92
|
}
|
|
90
93
|
/**
|
|
91
94
|
* Returns the native input element used under the hood
|
|
@@ -108,19 +111,19 @@ export class NumberInput {
|
|
|
108
111
|
}
|
|
109
112
|
render() {
|
|
110
113
|
const showStepperButtons = this.showStepperButtons && (this.disabled || this.readonly) === false;
|
|
111
|
-
return (h(Host, { key: '
|
|
114
|
+
return (h(Host, { key: 'ef8acf686290210f136f6915caaf93519742a5c6', class: {
|
|
112
115
|
disabled: this.disabled,
|
|
113
116
|
readonly: this.readonly,
|
|
114
|
-
} }, h("ix-field-wrapper", { key: '
|
|
117
|
+
} }, h("ix-field-wrapper", { key: 'fb332a250f3b89cd9ba913ce0d73ae769e1f7d11', 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: 'f75e95a23010f6227413ef8f3e845f881526feb2', class: {
|
|
115
118
|
'input-wrapper': true,
|
|
116
119
|
'show-stepper-buttons': !!this.showStepperButtons,
|
|
117
|
-
} }, h(SlotStart, { key: '
|
|
120
|
+
} }, h(SlotStart, { key: '35361c9e391c2b2fcf47115ede6f7e66cfff7e3a', slotStartRef: this.slotStartRef, onSlotChange: () => this.updatePaddings() }), h(InputElement, { key: '2c9255c6d904488f2969723bada4d5ce4164b44f', 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: () => {
|
|
118
121
|
onInputBlur(this, this.inputRef.current);
|
|
119
122
|
this.touched = true;
|
|
120
|
-
} }), h(SlotEnd, { key: '
|
|
123
|
+
} }), h(SlotEnd, { key: '5574b0ab18e81036f16c89c4b1bd84f1ae636385', slotEndRef: this.slotEndRef, onSlotChange: () => this.updatePaddings() }, h("div", { key: '8e78f12da4ea4130333542bf49f238b02a7d808e', class: {
|
|
121
124
|
'number-stepper-container': true,
|
|
122
125
|
'container-hidden': !showStepperButtons,
|
|
123
|
-
} }, h("ix-icon-button", { key: '
|
|
126
|
+
} }, h("ix-icon-button", { key: 'd44b7b3032860d9590bc22ef582fc4b8406a7ac0', ghost: true, icon: iconMinus, size: "16", class: "number-stepper-button step-minus", "aria-label": "decrement number", onClick: () => {
|
|
124
127
|
if (!this.inputRef.current) {
|
|
125
128
|
return;
|
|
126
129
|
}
|
|
@@ -128,7 +131,7 @@ export class NumberInput {
|
|
|
128
131
|
checkInternalValidity(this, this.inputRef.current);
|
|
129
132
|
this.updateFormInternalValue(Number(this.inputRef.current.value));
|
|
130
133
|
this.valueChange.emit(this.value);
|
|
131
|
-
} }), h("ix-icon-button", { key: '
|
|
134
|
+
} }), h("ix-icon-button", { key: 'f862e0c47f85486018eace274092f8eab9ff029d', ghost: true, icon: iconPlus, size: "16", class: "number-stepper-button step-plus", "aria-label": "increment number", onClick: () => {
|
|
132
135
|
if (!this.inputRef.current) {
|
|
133
136
|
return;
|
|
134
137
|
}
|
|
@@ -498,6 +501,28 @@ export class NumberInput {
|
|
|
498
501
|
"getter": false,
|
|
499
502
|
"setter": false,
|
|
500
503
|
"reflect": false
|
|
504
|
+
},
|
|
505
|
+
"step": {
|
|
506
|
+
"type": "any",
|
|
507
|
+
"attribute": "step",
|
|
508
|
+
"mutable": false,
|
|
509
|
+
"complexType": {
|
|
510
|
+
"original": "string | number",
|
|
511
|
+
"resolved": "number | string",
|
|
512
|
+
"references": {}
|
|
513
|
+
},
|
|
514
|
+
"required": false,
|
|
515
|
+
"optional": true,
|
|
516
|
+
"docs": {
|
|
517
|
+
"tags": [{
|
|
518
|
+
"name": "since",
|
|
519
|
+
"text": "3.0.0"
|
|
520
|
+
}],
|
|
521
|
+
"text": "Step value to increment or decrement the input value"
|
|
522
|
+
},
|
|
523
|
+
"getter": false,
|
|
524
|
+
"setter": false,
|
|
525
|
+
"reflect": false
|
|
501
526
|
}
|
|
502
527
|
};
|
|
503
528
|
}
|