@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.
Files changed (1093) hide show
  1. package/components/ix-action-card.js +4 -4
  2. package/components/ix-action-card.js.map +1 -1
  3. package/components/ix-application-header.js +1 -1
  4. package/components/ix-application-switch-modal.js +4 -4
  5. package/components/ix-application.js +3 -3
  6. package/components/ix-application.js.map +1 -1
  7. package/components/ix-avatar.js +1 -1
  8. package/components/ix-basic-navigation.js +5 -5
  9. package/components/ix-blind.js +6 -7
  10. package/components/ix-blind.js.map +1 -1
  11. package/components/ix-breadcrumb.js +3 -5
  12. package/components/ix-breadcrumb.js.map +1 -1
  13. package/components/ix-button.js +1 -1
  14. package/components/ix-card-accordion.js +1 -1
  15. package/components/ix-card-content.js +1 -1
  16. package/components/ix-card-list.js +9 -11
  17. package/components/ix-card-list.js.map +1 -1
  18. package/components/ix-card-title.js +1 -1
  19. package/components/ix-card.js +1 -1
  20. package/components/ix-category-filter.js +6 -6
  21. package/components/ix-category-filter.js.map +1 -1
  22. package/components/ix-checkbox-group.js +55 -8
  23. package/components/ix-checkbox-group.js.map +1 -1
  24. package/components/ix-checkbox.js +15 -7
  25. package/components/ix-checkbox.js.map +1 -1
  26. package/components/ix-chip.js +8 -7
  27. package/components/ix-chip.js.map +1 -1
  28. package/components/ix-col.js +1 -1
  29. package/components/ix-content-header.js +2 -2
  30. package/components/ix-content.js +4 -4
  31. package/components/ix-content.js.map +1 -1
  32. package/components/ix-custom-field.js +6 -6
  33. package/components/ix-custom-field.js.map +1 -1
  34. package/components/ix-date-dropdown.js +12 -16
  35. package/components/ix-date-dropdown.js.map +1 -1
  36. package/components/ix-date-input.js +14 -14
  37. package/components/ix-date-input.js.map +1 -1
  38. package/components/ix-date-picker.js +1 -1
  39. package/components/ix-date-time-card.js +1 -1
  40. package/components/ix-datetime-picker.js +12 -22
  41. package/components/ix-datetime-picker.js.map +1 -1
  42. package/components/ix-divider.js +1 -1
  43. package/components/ix-drawer.js +1 -1
  44. package/components/ix-dropdown-button.js +5 -6
  45. package/components/ix-dropdown-button.js.map +1 -1
  46. package/components/ix-dropdown-header.js +2 -2
  47. package/components/ix-dropdown-header.js.map +1 -1
  48. package/components/ix-dropdown-quick-actions.js +1 -1
  49. package/components/ix-dropdown-quick-actions.js.map +1 -1
  50. package/components/ix-dropdown.js +1 -1
  51. package/components/ix-empty-state.js +3 -3
  52. package/components/ix-empty-state.js.map +1 -1
  53. package/components/ix-expanding-search.js +5 -6
  54. package/components/ix-expanding-search.js.map +1 -1
  55. package/components/ix-field-label.js +1 -1
  56. package/components/ix-field-wrapper.js +1 -1
  57. package/components/ix-filter-chip.js +1 -1
  58. package/components/ix-flip-tile.js +5 -7
  59. package/components/ix-flip-tile.js.map +1 -1
  60. package/components/ix-group-context-menu.js +1 -1
  61. package/components/ix-group.js +2 -2
  62. package/components/ix-helper-text.js +2 -2
  63. package/components/ix-icon-button.js +1 -1
  64. package/components/ix-icon-toggle-button.js +1 -1
  65. package/components/ix-icon-toggle-button.js.map +1 -1
  66. package/components/ix-input-group.js +1 -1
  67. package/components/ix-input-group.js.map +1 -1
  68. package/components/ix-input.js +18 -11
  69. package/components/ix-input.js.map +1 -1
  70. package/components/ix-key-value-list.js +1 -1
  71. package/components/ix-key-value-list.js.map +1 -1
  72. package/components/ix-key-value.js +1 -1
  73. package/components/ix-key-value.js.map +1 -1
  74. package/components/ix-layout-auto.js +1 -1
  75. package/components/ix-layout-auto.js.map +1 -1
  76. package/components/ix-layout-grid.js +1 -1
  77. package/components/ix-link-button.js +3 -3
  78. package/components/ix-link-button.js.map +1 -1
  79. package/components/ix-map-navigation-overlay.js +1 -1
  80. package/components/ix-map-navigation.js +8 -9
  81. package/components/ix-map-navigation.js.map +1 -1
  82. package/components/ix-menu-about-news.js +3 -3
  83. package/components/ix-menu-about.js +4 -4
  84. package/components/ix-menu-avatar.js +6 -8
  85. package/components/ix-menu-avatar.js.map +1 -1
  86. package/components/ix-menu-category.js +10 -10
  87. package/components/ix-menu-category.js.map +1 -1
  88. package/components/ix-menu-expand-icon.js +1 -1
  89. package/components/ix-menu-item.js +1 -1
  90. package/components/ix-menu-settings.js +1 -1
  91. package/components/ix-menu.js +17 -19
  92. package/components/ix-menu.js.map +1 -1
  93. package/components/ix-message-bar.js +1 -1
  94. package/components/ix-modal-content.js +1 -1
  95. package/components/ix-modal-footer.js +1 -1
  96. package/components/ix-modal-footer.js.map +1 -1
  97. package/components/ix-modal-header.js +1 -1
  98. package/components/ix-modal.js +3 -7
  99. package/components/ix-modal.js.map +1 -1
  100. package/components/ix-number-input.js +20 -15
  101. package/components/ix-number-input.js.map +1 -1
  102. package/components/ix-pagination.js +10 -10
  103. package/components/ix-pagination.js.map +1 -1
  104. package/components/ix-pane-layout.js +1 -1
  105. package/components/ix-pane-layout.js.map +1 -1
  106. package/components/ix-pane.js +8 -8
  107. package/components/ix-pane.js.map +1 -1
  108. package/components/ix-pill.js +2 -2
  109. package/components/ix-push-card.js +6 -7
  110. package/components/ix-push-card.js.map +1 -1
  111. package/components/ix-radio-group.js +37 -11
  112. package/components/ix-radio-group.js.map +1 -1
  113. package/components/ix-radio.js +25 -7
  114. package/components/ix-radio.js.map +1 -1
  115. package/components/ix-row.js +1 -1
  116. package/components/ix-select.js +1 -1
  117. package/components/ix-slider.js +8 -8
  118. package/components/ix-slider.js.map +1 -1
  119. package/components/ix-split-button.js +4 -5
  120. package/components/ix-split-button.js.map +1 -1
  121. package/components/ix-tab-item.js +1 -1
  122. package/components/ix-tabs.js +1 -1
  123. package/components/ix-textarea.js +8 -8
  124. package/components/ix-textarea.js.map +1 -1
  125. package/components/ix-time-picker.js +1 -1
  126. package/components/ix-toast-container.js +2 -2
  127. package/components/ix-toast.js +1 -1
  128. package/components/ix-toggle-button.js +3 -3
  129. package/components/ix-toggle-button.js.map +1 -1
  130. package/components/ix-toggle.js +38 -5
  131. package/components/ix-toggle.js.map +1 -1
  132. package/components/ix-tooltip.js +1 -1
  133. package/components/ix-tree.js +56 -52
  134. package/components/ix-tree.js.map +1 -1
  135. package/components/ix-typography.js +1 -1
  136. package/components/ix-upload.js +1 -1
  137. package/components/ix-validation-tooltip.js +3 -5
  138. package/components/ix-validation-tooltip.js.map +1 -1
  139. package/components/{p-DFQ_caA4.js → p-8eL4ti2y.js} +4 -4
  140. package/components/{p-DFQ_caA4.js.map → p-8eL4ti2y.js.map} +1 -1
  141. package/components/{p-Dfzl82x1.js → p-B19EzNYi.js} +3 -3
  142. package/components/{p-Dfzl82x1.js.map → p-B19EzNYi.js.map} +1 -1
  143. package/components/{p-B9lvhAOc.js → p-B60BmY2x.js} +3 -3
  144. package/components/{p-B9lvhAOc.js.map → p-B60BmY2x.js.map} +1 -1
  145. package/components/{p-BuK5WByk.js → p-B9XDeCpV.js} +4 -4
  146. package/components/{p-BuK5WByk.js.map → p-B9XDeCpV.js.map} +1 -1
  147. package/components/{p-12nKYxsa.js → p-BPVegBx7.js} +9 -11
  148. package/components/p-BPVegBx7.js.map +1 -0
  149. package/components/{p-C8vn2GFY.js → p-BRCAzgk8.js} +4 -4
  150. package/components/p-BRCAzgk8.js.map +1 -0
  151. package/components/{p-iEAZQC4t.js → p-BXPo5zF6.js} +3 -3
  152. package/components/{p-iEAZQC4t.js.map → p-BXPo5zF6.js.map} +1 -1
  153. package/components/{p-CB1ADCkU.js → p-B_C2-EkQ.js} +4 -5
  154. package/components/p-B_C2-EkQ.js.map +1 -0
  155. package/components/{p-DIzxAERt.js → p-Bcmjgmqd.js} +4 -5
  156. package/components/p-Bcmjgmqd.js.map +1 -0
  157. package/components/{p-bM5r59DG.js → p-Bw3J9644.js} +5 -5
  158. package/components/{p-bM5r59DG.js.map → p-Bw3J9644.js.map} +1 -1
  159. package/components/{p-DylMlJTZ.js → p-C8xOvcAt.js} +4 -7
  160. package/components/p-C8xOvcAt.js.map +1 -0
  161. package/components/{p-2g5-4fWy.js → p-CGLA6FT7.js} +5 -6
  162. package/components/p-CGLA6FT7.js.map +1 -0
  163. package/components/{p-C7EBCKmV.js → p-CKoR0lxP.js} +3 -3
  164. package/components/{p-C7EBCKmV.js.map → p-CKoR0lxP.js.map} +1 -1
  165. package/components/{p-pyY5jSfE.js → p-CPs2id8p.js} +5 -5
  166. package/components/{p-pyY5jSfE.js.map → p-CPs2id8p.js.map} +1 -1
  167. package/components/{p-CniBfLG8.js → p-CTuKljhZ.js} +3 -3
  168. package/components/{p-CniBfLG8.js.map → p-CTuKljhZ.js.map} +1 -1
  169. package/components/{p-CVSy9bZ3.js → p-ClepN0Ea.js} +3 -3
  170. package/components/{p-CVSy9bZ3.js.map → p-ClepN0Ea.js.map} +1 -1
  171. package/components/{p-DXzHgqiB.js → p-Cu4GsGII.js} +3 -3
  172. package/components/p-Cu4GsGII.js.map +1 -0
  173. package/components/{p-C1BF91hb.js → p-CufZ3bGn.js} +3 -3
  174. package/components/{p-C1BF91hb.js.map → p-CufZ3bGn.js.map} +1 -1
  175. package/components/{p-0nVQO6bk.js → p-CwYYFZjd.js} +7 -7
  176. package/components/{p-0nVQO6bk.js.map → p-CwYYFZjd.js.map} +1 -1
  177. package/components/{p-BwyqOnwc.js → p-CxztL6IE.js} +18 -25
  178. package/components/p-CxztL6IE.js.map +1 -0
  179. package/components/{p-B-zHEqXz.js → p-Cyxle5Ec.js} +5 -5
  180. package/components/{p-B-zHEqXz.js.map → p-Cyxle5Ec.js.map} +1 -1
  181. package/components/{p-DPZsirnB.js → p-DAYuUWi5.js} +5 -5
  182. package/components/{p-DPZsirnB.js.map → p-DAYuUWi5.js.map} +1 -1
  183. package/components/{p-B55mem60.js → p-DPZN-4Ph.js} +4 -4
  184. package/components/{p-B55mem60.js.map → p-DPZN-4Ph.js.map} +1 -1
  185. package/components/{p-BgpUzYBq.js → p-DUuL9bnV.js} +3 -3
  186. package/components/{p-BgpUzYBq.js.map → p-DUuL9bnV.js.map} +1 -1
  187. package/components/{p-BBSHeR_p.js → p-DVOgkNlf.js} +3 -3
  188. package/components/p-DVOgkNlf.js.map +1 -0
  189. package/components/p-Dn_WjwtW.js.map +1 -1
  190. package/components/{p-D0LdqSVb.js → p-FayACwNG.js} +10 -18
  191. package/components/p-FayACwNG.js.map +1 -0
  192. package/components/{p-CjvgrV9j.js → p-QHGR-zzJ.js} +3 -3
  193. package/components/{p-CjvgrV9j.js.map → p-QHGR-zzJ.js.map} +1 -1
  194. package/components/{p-DDisdyRU.js → p-R4QcECdA.js} +5 -5
  195. package/components/{p-DDisdyRU.js.map → p-R4QcECdA.js.map} +1 -1
  196. package/components/{p-Bnux5wOx.js → p-UMH0sD7L.js} +5 -5
  197. package/components/{p-Bnux5wOx.js.map → p-UMH0sD7L.js.map} +1 -1
  198. package/components/{p-DM43N7pD.js → p-VXLdiXU0.js} +11 -19
  199. package/components/p-VXLdiXU0.js.map +1 -0
  200. package/components/{p-DGeWaNlt.js → p-aw_FhcJ5.js} +4 -2
  201. package/components/p-aw_FhcJ5.js.map +1 -0
  202. package/components/{p-D_wwWxx8.js → p-d7CnwTHv.js} +3 -6
  203. package/components/p-d7CnwTHv.js.map +1 -0
  204. package/components/{p-Dy35mbzK.js → p-uhiF1LKf.js} +4 -6
  205. package/components/p-uhiF1LKf.js.map +1 -0
  206. package/components/{p-qnnCtPgc.js → p-zx7LlxPa.js} +3 -3
  207. package/components/{p-qnnCtPgc.js.map → p-zx7LlxPa.js.map} +1 -1
  208. package/dist/cjs/index-DIFIjYrm.js.map +1 -1
  209. package/dist/cjs/{input.util-DuJG4-L-.js → input.util-DOEvwiFv.js} +4 -4
  210. package/dist/cjs/input.util-DOEvwiFv.js.map +1 -0
  211. package/dist/cjs/ix-action-card.cjs.entry.js +1 -1
  212. package/dist/cjs/ix-action-card.cjs.entry.js.map +1 -1
  213. package/dist/cjs/ix-action-card.entry.cjs.js.map +1 -1
  214. package/dist/cjs/ix-application-header.cjs.entry.js +3 -5
  215. package/dist/cjs/ix-application-header.cjs.entry.js.map +1 -1
  216. package/dist/cjs/ix-application-header.entry.cjs.js.map +1 -1
  217. package/dist/cjs/ix-application.cjs.entry.js +3 -3
  218. package/dist/cjs/ix-application.cjs.entry.js.map +1 -1
  219. package/dist/cjs/ix-application.entry.cjs.js.map +1 -1
  220. package/dist/cjs/ix-avatar.ix-menu-avatar-item.entry.cjs.js.map +1 -1
  221. package/dist/cjs/ix-avatar_2.cjs.entry.js.map +1 -1
  222. package/dist/cjs/ix-blind.cjs.entry.js +5 -6
  223. package/dist/cjs/ix-blind.cjs.entry.js.map +1 -1
  224. package/dist/cjs/ix-blind.entry.cjs.js.map +1 -1
  225. package/dist/cjs/ix-breadcrumb.cjs.entry.js +2 -4
  226. package/dist/cjs/ix-breadcrumb.cjs.entry.js.map +1 -1
  227. package/dist/cjs/ix-breadcrumb.entry.cjs.js.map +1 -1
  228. package/dist/cjs/ix-button.cjs.entry.js +2 -5
  229. package/dist/cjs/ix-button.cjs.entry.js.map +1 -1
  230. package/dist/cjs/ix-button.entry.cjs.js.map +1 -1
  231. package/dist/cjs/ix-card-accordion.ix-card-title.entry.cjs.js.map +1 -1
  232. package/dist/cjs/ix-card-accordion_2.cjs.entry.js +4 -5
  233. package/dist/cjs/ix-card-accordion_2.cjs.entry.js.map +1 -1
  234. package/dist/cjs/ix-card-list.cjs.entry.js +4 -6
  235. package/dist/cjs/ix-card-list.cjs.entry.js.map +1 -1
  236. package/dist/cjs/ix-card-list.entry.cjs.js.map +1 -1
  237. package/dist/cjs/ix-card.ix-card-content.entry.cjs.js.map +1 -1
  238. package/dist/cjs/ix-card_2.cjs.entry.js +4 -4
  239. package/dist/cjs/ix-card_2.cjs.entry.js.map +1 -1
  240. package/dist/cjs/ix-category-filter.cjs.entry.js +3 -3
  241. package/dist/cjs/ix-category-filter.cjs.entry.js.map +1 -1
  242. package/dist/cjs/ix-category-filter.entry.cjs.js.map +1 -1
  243. package/dist/cjs/ix-checkbox-group.cjs.entry.js +47 -3
  244. package/dist/cjs/ix-checkbox-group.cjs.entry.js.map +1 -1
  245. package/dist/cjs/ix-checkbox-group.entry.cjs.js.map +1 -1
  246. package/dist/cjs/ix-checkbox.cjs.entry.js +12 -5
  247. package/dist/cjs/ix-checkbox.cjs.entry.js.map +1 -1
  248. package/dist/cjs/ix-checkbox.entry.cjs.js.map +1 -1
  249. package/dist/cjs/ix-chip.cjs.entry.js +5 -4
  250. package/dist/cjs/ix-chip.cjs.entry.js.map +1 -1
  251. package/dist/cjs/ix-chip.entry.cjs.js.map +1 -1
  252. package/dist/cjs/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.cjs.js.map +1 -1
  253. package/dist/cjs/ix-col_4.cjs.entry.js +9 -17
  254. package/dist/cjs/ix-col_4.cjs.entry.js.map +1 -1
  255. package/dist/cjs/ix-content.cjs.entry.js +4 -4
  256. package/dist/cjs/ix-content.cjs.entry.js.map +1 -1
  257. package/dist/cjs/ix-content.entry.cjs.js.map +1 -1
  258. package/dist/cjs/ix-custom-field.cjs.entry.js +2 -2
  259. package/dist/cjs/ix-custom-field.cjs.entry.js.map +1 -1
  260. package/dist/cjs/ix-custom-field.entry.cjs.js.map +1 -1
  261. package/dist/cjs/ix-date-dropdown.cjs.entry.js +4 -8
  262. package/dist/cjs/ix-date-dropdown.cjs.entry.js.map +1 -1
  263. package/dist/cjs/ix-date-dropdown.entry.cjs.js.map +1 -1
  264. package/dist/cjs/ix-date-input.cjs.entry.js +5 -5
  265. package/dist/cjs/ix-date-input.cjs.entry.js.map +1 -1
  266. package/dist/cjs/ix-date-input.entry.cjs.js.map +1 -1
  267. package/dist/cjs/ix-date-time-card.cjs.entry.js +1 -1
  268. package/dist/cjs/ix-date-time-card.cjs.entry.js.map +1 -1
  269. package/dist/cjs/ix-date-time-card.entry.cjs.js.map +1 -1
  270. package/dist/cjs/ix-datetime-picker.cjs.entry.js +2 -12
  271. package/dist/cjs/ix-datetime-picker.cjs.entry.js.map +1 -1
  272. package/dist/cjs/ix-datetime-picker.entry.cjs.js.map +1 -1
  273. package/dist/cjs/ix-divider.cjs.entry.js +1 -1
  274. package/dist/cjs/ix-divider.cjs.entry.js.map +1 -1
  275. package/dist/cjs/ix-divider.entry.cjs.js.map +1 -1
  276. package/dist/cjs/ix-dropdown-button.cjs.entry.js +2 -3
  277. package/dist/cjs/ix-dropdown-button.cjs.entry.js.map +1 -1
  278. package/dist/cjs/ix-dropdown-button.entry.cjs.js.map +1 -1
  279. package/dist/cjs/ix-dropdown-header.cjs.entry.js +1 -1
  280. package/dist/cjs/ix-dropdown-header.cjs.entry.js.map +1 -1
  281. package/dist/cjs/ix-dropdown-header.entry.cjs.js.map +1 -1
  282. package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +1 -1
  283. package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js.map +1 -1
  284. package/dist/cjs/ix-dropdown-quick-actions.entry.cjs.js.map +1 -1
  285. package/dist/cjs/ix-dropdown.cjs.entry.js +2 -4
  286. package/dist/cjs/ix-dropdown.cjs.entry.js.map +1 -1
  287. package/dist/cjs/ix-dropdown.entry.cjs.js.map +1 -1
  288. package/dist/cjs/ix-empty-state.cjs.entry.js +1 -1
  289. package/dist/cjs/ix-empty-state.cjs.entry.js.map +1 -1
  290. package/dist/cjs/ix-empty-state.entry.cjs.js.map +1 -1
  291. package/dist/cjs/ix-expanding-search.cjs.entry.js +4 -5
  292. package/dist/cjs/ix-expanding-search.cjs.entry.js.map +1 -1
  293. package/dist/cjs/ix-expanding-search.entry.cjs.js.map +1 -1
  294. package/dist/cjs/ix-field-label.ix-field-wrapper.entry.cjs.js.map +1 -1
  295. package/dist/cjs/ix-field-label_2.cjs.entry.js +1 -1
  296. package/dist/cjs/ix-field-label_2.cjs.entry.js.map +1 -1
  297. package/dist/cjs/ix-filter-chip.ix-select-item.entry.cjs.js.map +1 -1
  298. package/dist/cjs/ix-filter-chip_2.cjs.entry.js +1 -2
  299. package/dist/cjs/ix-filter-chip_2.cjs.entry.js.map +1 -1
  300. package/dist/cjs/ix-flip-tile.cjs.entry.js +4 -6
  301. package/dist/cjs/ix-flip-tile.cjs.entry.js.map +1 -1
  302. package/dist/cjs/ix-flip-tile.entry.cjs.js.map +1 -1
  303. package/dist/cjs/ix-helper-text.cjs.entry.js +1 -1
  304. package/dist/cjs/ix-icon-button.ix-spinner.entry.cjs.js.map +1 -1
  305. package/dist/cjs/ix-icon-button_2.cjs.entry.js +1 -4
  306. package/dist/cjs/ix-icon-button_2.cjs.entry.js.map +1 -1
  307. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +1 -1
  308. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js.map +1 -1
  309. package/dist/cjs/ix-icon-toggle-button.entry.cjs.js.map +1 -1
  310. package/dist/cjs/ix-input-group.cjs.entry.js +1 -1
  311. package/dist/cjs/ix-input-group.cjs.entry.js.map +1 -1
  312. package/dist/cjs/ix-input-group.entry.cjs.js.map +1 -1
  313. package/dist/cjs/ix-input.cjs.entry.js +12 -6
  314. package/dist/cjs/ix-input.cjs.entry.js.map +1 -1
  315. package/dist/cjs/ix-input.entry.cjs.js.map +1 -1
  316. package/dist/cjs/ix-key-value-list.cjs.entry.js +1 -1
  317. package/dist/cjs/ix-key-value-list.cjs.entry.js.map +1 -1
  318. package/dist/cjs/ix-key-value-list.entry.cjs.js.map +1 -1
  319. package/dist/cjs/ix-key-value.cjs.entry.js +1 -1
  320. package/dist/cjs/ix-key-value.cjs.entry.js.map +1 -1
  321. package/dist/cjs/ix-key-value.entry.cjs.js.map +1 -1
  322. package/dist/cjs/ix-layout-auto.cjs.entry.js +1 -1
  323. package/dist/cjs/ix-layout-auto.cjs.entry.js.map +1 -1
  324. package/dist/cjs/ix-layout-auto.entry.cjs.js.map +1 -1
  325. package/dist/cjs/ix-link-button.cjs.entry.js +3 -3
  326. package/dist/cjs/ix-link-button.cjs.entry.js.map +1 -1
  327. package/dist/cjs/ix-link-button.entry.cjs.js.map +1 -1
  328. package/dist/cjs/ix-map-navigation.cjs.entry.js +2 -3
  329. package/dist/cjs/ix-map-navigation.cjs.entry.js.map +1 -1
  330. package/dist/cjs/ix-map-navigation.entry.cjs.js.map +1 -1
  331. package/dist/cjs/ix-menu-avatar.cjs.entry.js +2 -4
  332. package/dist/cjs/ix-menu-avatar.cjs.entry.js.map +1 -1
  333. package/dist/cjs/ix-menu-avatar.entry.cjs.js.map +1 -1
  334. package/dist/cjs/ix-menu-category.cjs.entry.js +5 -5
  335. package/dist/cjs/ix-menu-category.cjs.entry.js.map +1 -1
  336. package/dist/cjs/ix-menu-category.entry.cjs.js.map +1 -1
  337. package/dist/cjs/ix-menu-item.cjs.entry.js +3 -3
  338. package/dist/cjs/ix-menu-item.cjs.entry.js.map +1 -1
  339. package/dist/cjs/ix-menu-item.entry.cjs.js.map +1 -1
  340. package/dist/cjs/ix-menu.cjs.entry.js +12 -14
  341. package/dist/cjs/ix-menu.cjs.entry.js.map +1 -1
  342. package/dist/cjs/ix-menu.entry.cjs.js.map +1 -1
  343. package/dist/cjs/ix-modal-content.ix-modal-header.entry.cjs.js.map +1 -1
  344. package/dist/cjs/ix-modal-content_2.cjs.entry.js +2 -2
  345. package/dist/cjs/ix-modal-content_2.cjs.entry.js.map +1 -1
  346. package/dist/cjs/ix-modal-footer.cjs.entry.js +1 -1
  347. package/dist/cjs/ix-modal-footer.cjs.entry.js.map +1 -1
  348. package/dist/cjs/ix-modal-footer.entry.cjs.js.map +1 -1
  349. package/dist/cjs/ix-modal.cjs.entry.js +3 -7
  350. package/dist/cjs/ix-modal.cjs.entry.js.map +1 -1
  351. package/dist/cjs/ix-modal.entry.cjs.js.map +1 -1
  352. package/dist/cjs/ix-number-input.cjs.entry.js +14 -10
  353. package/dist/cjs/ix-number-input.cjs.entry.js.map +1 -1
  354. package/dist/cjs/ix-number-input.entry.cjs.js.map +1 -1
  355. package/dist/cjs/ix-pagination.cjs.entry.js +2 -2
  356. package/dist/cjs/ix-pagination.cjs.entry.js.map +1 -1
  357. package/dist/cjs/ix-pagination.entry.cjs.js.map +1 -1
  358. package/dist/cjs/ix-pane-layout.cjs.entry.js +1 -1
  359. package/dist/cjs/ix-pane-layout.cjs.entry.js.map +1 -1
  360. package/dist/cjs/ix-pane-layout.entry.cjs.js.map +1 -1
  361. package/dist/cjs/ix-pane.cjs.entry.js +6 -6
  362. package/dist/cjs/ix-pane.cjs.entry.js.map +1 -1
  363. package/dist/cjs/ix-pane.entry.cjs.js.map +1 -1
  364. package/dist/cjs/ix-push-card.cjs.entry.js +1 -2
  365. package/dist/cjs/ix-push-card.cjs.entry.js.map +1 -1
  366. package/dist/cjs/ix-push-card.entry.cjs.js.map +1 -1
  367. package/dist/cjs/ix-radio-group.cjs.entry.js +29 -6
  368. package/dist/cjs/ix-radio-group.cjs.entry.js.map +1 -1
  369. package/dist/cjs/ix-radio-group.entry.cjs.js.map +1 -1
  370. package/dist/cjs/ix-radio.cjs.entry.js +23 -6
  371. package/dist/cjs/ix-radio.cjs.entry.js.map +1 -1
  372. package/dist/cjs/ix-radio.entry.cjs.js.map +1 -1
  373. package/dist/cjs/ix-select.cjs.entry.js +9 -16
  374. package/dist/cjs/ix-select.cjs.entry.js.map +1 -1
  375. package/dist/cjs/ix-select.entry.cjs.js.map +1 -1
  376. package/dist/cjs/ix-slider.cjs.entry.js +6 -6
  377. package/dist/cjs/ix-slider.cjs.entry.js.map +1 -1
  378. package/dist/cjs/ix-slider.entry.cjs.js.map +1 -1
  379. package/dist/cjs/ix-split-button.cjs.entry.js +1 -2
  380. package/dist/cjs/ix-split-button.cjs.entry.js.map +1 -1
  381. package/dist/cjs/ix-split-button.entry.cjs.js.map +1 -1
  382. package/dist/cjs/ix-tab-item.ix-tabs.entry.cjs.js.map +1 -1
  383. package/dist/cjs/ix-tab-item_2.cjs.entry.js +5 -5
  384. package/dist/cjs/ix-tab-item_2.cjs.entry.js.map +1 -1
  385. package/dist/cjs/ix-textarea.cjs.entry.js +4 -4
  386. package/dist/cjs/ix-textarea.cjs.entry.js.map +1 -1
  387. package/dist/cjs/ix-textarea.entry.cjs.js.map +1 -1
  388. package/dist/cjs/ix-time-picker.cjs.entry.js +4 -12
  389. package/dist/cjs/ix-time-picker.cjs.entry.js.map +1 -1
  390. package/dist/cjs/ix-time-picker.entry.cjs.js.map +1 -1
  391. package/dist/cjs/ix-toggle-button.cjs.entry.js +3 -3
  392. package/dist/cjs/ix-toggle-button.cjs.entry.js.map +1 -1
  393. package/dist/cjs/ix-toggle-button.entry.cjs.js.map +1 -1
  394. package/dist/cjs/ix-toggle.cjs.entry.js +35 -3
  395. package/dist/cjs/ix-toggle.cjs.entry.js.map +1 -1
  396. package/dist/cjs/ix-toggle.entry.cjs.js.map +1 -1
  397. package/dist/cjs/ix-tooltip.cjs.entry.js +1 -2
  398. package/dist/cjs/ix-tooltip.cjs.entry.js.map +1 -1
  399. package/dist/cjs/ix-tooltip.entry.cjs.js.map +1 -1
  400. package/dist/cjs/ix-tree.cjs.entry.js +55 -51
  401. package/dist/cjs/ix-tree.cjs.entry.js.map +1 -1
  402. package/dist/cjs/ix-tree.entry.cjs.js.map +1 -1
  403. package/dist/cjs/ix-typography.cjs.entry.js +1 -1
  404. package/dist/cjs/ix-typography.cjs.entry.js.map +1 -1
  405. package/dist/cjs/ix-typography.entry.cjs.js.map +1 -1
  406. package/dist/cjs/ix-validation-tooltip.cjs.entry.js +3 -5
  407. package/dist/cjs/ix-validation-tooltip.cjs.entry.js.map +1 -1
  408. package/dist/cjs/ix-validation-tooltip.entry.cjs.js.map +1 -1
  409. package/dist/cjs/loader.cjs.js +1 -1
  410. package/dist/cjs/siemens-ix.cjs.js +1 -1
  411. package/dist/cjs/{validation-B-wzGaWF.js → validation-othAjI_Z.js} +4 -2
  412. package/dist/cjs/validation-othAjI_Z.js.map +1 -0
  413. package/dist/collection/components/action-card/action-card.js +1 -4
  414. package/dist/collection/components/action-card/action-card.js.map +1 -1
  415. package/dist/collection/components/application/application.js +3 -6
  416. package/dist/collection/components/application/application.js.map +1 -1
  417. package/dist/collection/components/application-header/application-header.js +5 -13
  418. package/dist/collection/components/application-header/application-header.js.map +1 -1
  419. package/dist/collection/components/avatar/avatar.js +2 -11
  420. package/dist/collection/components/avatar/avatar.js.map +1 -1
  421. package/dist/collection/components/blind/blind.js +8 -18
  422. package/dist/collection/components/blind/blind.js.map +1 -1
  423. package/dist/collection/components/breadcrumb/breadcrumb.js +3 -8
  424. package/dist/collection/components/breadcrumb/breadcrumb.js.map +1 -1
  425. package/dist/collection/components/button/button.js +4 -13
  426. package/dist/collection/components/button/button.js.map +1 -1
  427. package/dist/collection/components/card/card.js +5 -11
  428. package/dist/collection/components/card/card.js.map +1 -1
  429. package/dist/collection/components/card-accordion/card-accordion.js +4 -11
  430. package/dist/collection/components/card-accordion/card-accordion.js.map +1 -1
  431. package/dist/collection/components/card-content/card-content.js +1 -4
  432. package/dist/collection/components/card-content/card-content.js.map +1 -1
  433. package/dist/collection/components/card-list/card-list.js +5 -13
  434. package/dist/collection/components/card-list/card-list.js.map +1 -1
  435. package/dist/collection/components/card-title/card-title.js +1 -3
  436. package/dist/collection/components/card-title/card-title.js.map +1 -1
  437. package/dist/collection/components/category-filter/category-filter.js +4 -7
  438. package/dist/collection/components/category-filter/category-filter.js.map +1 -1
  439. package/dist/collection/components/checkbox/checkbox.js +47 -7
  440. package/dist/collection/components/checkbox/checkbox.js.map +1 -1
  441. package/dist/collection/components/checkbox-group/checkbox-group.js +115 -5
  442. package/dist/collection/components/checkbox-group/checkbox-group.js.map +1 -1
  443. package/dist/collection/components/checkbox-group/test/checkbox-group.ct.js +48 -0
  444. package/dist/collection/components/checkbox-group/test/checkbox-group.ct.js.map +1 -0
  445. package/dist/collection/components/chip/chip.js +6 -8
  446. package/dist/collection/components/chip/chip.js.map +1 -1
  447. package/dist/collection/components/col/col.js +1 -4
  448. package/dist/collection/components/col/col.js.map +1 -1
  449. package/dist/collection/components/content/content.css +1 -3
  450. package/dist/collection/components/content/content.js +3 -4
  451. package/dist/collection/components/content/content.js.map +1 -1
  452. package/dist/collection/components/custom-field/custom-field.js +1 -4
  453. package/dist/collection/components/custom-field/custom-field.js.map +1 -1
  454. package/dist/collection/components/date-dropdown/date-dropdown.js +7 -23
  455. package/dist/collection/components/date-dropdown/date-dropdown.js.map +1 -1
  456. package/dist/collection/components/date-input/date-input.js +6 -9
  457. package/dist/collection/components/date-input/date-input.js.map +1 -1
  458. package/dist/collection/components/date-picker/date-picker.js +15 -53
  459. package/dist/collection/components/date-picker/date-picker.js.map +1 -1
  460. package/dist/collection/components/date-time-card/date-time-card.css +2 -2
  461. package/dist/collection/components/datetime-picker/datetime-picker.css +4 -0
  462. package/dist/collection/components/datetime-picker/datetime-picker.js +15 -67
  463. package/dist/collection/components/datetime-picker/datetime-picker.js.map +1 -1
  464. package/dist/collection/components/divider/divider.js +1 -4
  465. package/dist/collection/components/divider/divider.js.map +1 -1
  466. package/dist/collection/components/dropdown/dropdown.js +3 -8
  467. package/dist/collection/components/dropdown/dropdown.js.map +1 -1
  468. package/dist/collection/components/dropdown-button/dropdown-button.js +4 -14
  469. package/dist/collection/components/dropdown-button/dropdown-button.js.map +1 -1
  470. package/dist/collection/components/dropdown-header/dropdown-header.js +1 -4
  471. package/dist/collection/components/dropdown-header/dropdown-header.js.map +1 -1
  472. package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js +1 -4
  473. package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js.map +1 -1
  474. package/dist/collection/components/empty-state/empty-state.js +1 -4
  475. package/dist/collection/components/empty-state/empty-state.js.map +1 -1
  476. package/dist/collection/components/expanding-search/expanding-search.js +5 -9
  477. package/dist/collection/components/expanding-search/expanding-search.js.map +1 -1
  478. package/dist/collection/components/filter-chip/filter-chip.js +2 -6
  479. package/dist/collection/components/filter-chip/filter-chip.js.map +1 -1
  480. package/dist/collection/components/flip-tile/flip-tile.js +6 -14
  481. package/dist/collection/components/flip-tile/flip-tile.js.map +1 -1
  482. package/dist/collection/components/icon-button/icon-button.js +4 -16
  483. package/dist/collection/components/icon-button/icon-button.js.map +1 -1
  484. package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +1 -4
  485. package/dist/collection/components/icon-toggle-button/icon-toggle-button.js.map +1 -1
  486. package/dist/collection/components/input/input.fc.js +1 -1
  487. package/dist/collection/components/input/input.fc.js.map +1 -1
  488. package/dist/collection/components/input/input.js +32 -6
  489. package/dist/collection/components/input/input.js.map +1 -1
  490. package/dist/collection/components/input/number-input.js +35 -10
  491. package/dist/collection/components/input/number-input.js.map +1 -1
  492. package/dist/collection/components/input/tests/form-ready.ct.js +10 -0
  493. package/dist/collection/components/input/tests/form-ready.ct.js.map +1 -1
  494. package/dist/collection/components/input/tests/validation.ct.js +48 -8
  495. package/dist/collection/components/input/tests/validation.ct.js.map +1 -1
  496. package/dist/collection/components/input/textarea.js +3 -4
  497. package/dist/collection/components/input/textarea.js.map +1 -1
  498. package/dist/collection/components/input-group/input-group.js +2 -2
  499. package/dist/collection/components/input-group/input-group.js.map +1 -1
  500. package/dist/collection/components/key-value/key-value.js +1 -3
  501. package/dist/collection/components/key-value/key-value.js.map +1 -1
  502. package/dist/collection/components/key-value-list/key-value-list.js +1 -4
  503. package/dist/collection/components/key-value-list/key-value-list.js.map +1 -1
  504. package/dist/collection/components/layout-auto/layout-auto.js +1 -4
  505. package/dist/collection/components/layout-auto/layout-auto.js.map +1 -1
  506. package/dist/collection/components/layout-grid/layout-grid.js +2 -5
  507. package/dist/collection/components/layout-grid/layout-grid.js.map +1 -1
  508. package/dist/collection/components/link-button/link-button.js +3 -6
  509. package/dist/collection/components/link-button/link-button.js.map +1 -1
  510. package/dist/collection/components/map-navigation/map-navigation.js +2 -6
  511. package/dist/collection/components/map-navigation/map-navigation.js.map +1 -1
  512. package/dist/collection/components/menu/menu.js +13 -18
  513. package/dist/collection/components/menu/menu.js.map +1 -1
  514. package/dist/collection/components/menu-avatar/menu-avatar.js +5 -16
  515. package/dist/collection/components/menu-avatar/menu-avatar.js.map +1 -1
  516. package/dist/collection/components/menu-category/menu-category.js +5 -8
  517. package/dist/collection/components/menu-category/menu-category.js.map +1 -1
  518. package/dist/collection/components/menu-item/menu-item.js +4 -7
  519. package/dist/collection/components/menu-item/menu-item.js.map +1 -1
  520. package/dist/collection/components/modal/modal.js +5 -15
  521. package/dist/collection/components/modal/modal.js.map +1 -1
  522. package/dist/collection/components/modal-content/modal-content.js +1 -4
  523. package/dist/collection/components/modal-content/modal-content.js.map +1 -1
  524. package/dist/collection/components/modal-footer/modal-footer.js +1 -4
  525. package/dist/collection/components/modal-footer/modal-footer.js.map +1 -1
  526. package/dist/collection/components/modal-header/modal-header.js +1 -4
  527. package/dist/collection/components/modal-header/modal-header.js.map +1 -1
  528. package/dist/collection/components/pagination/pagination.js +2 -5
  529. package/dist/collection/components/pagination/pagination.js.map +1 -1
  530. package/dist/collection/components/pane/pane.js +6 -9
  531. package/dist/collection/components/pane/pane.js.map +1 -1
  532. package/dist/collection/components/pane-layout/pane-layout.js +1 -4
  533. package/dist/collection/components/pane-layout/pane-layout.js.map +1 -1
  534. package/dist/collection/components/push-card/push-card.js +2 -9
  535. package/dist/collection/components/push-card/push-card.js.map +1 -1
  536. package/dist/collection/components/radio/radio.js +61 -8
  537. package/dist/collection/components/radio/radio.js.map +1 -1
  538. package/dist/collection/components/radio-group/radio-group.js +96 -7
  539. package/dist/collection/components/radio-group/radio-group.js.map +1 -1
  540. package/dist/collection/components/radio-group/test/radio-group.ct.js +17 -0
  541. package/dist/collection/components/radio-group/test/radio-group.ct.js.map +1 -1
  542. package/dist/collection/components/row/row.js +1 -4
  543. package/dist/collection/components/row/row.js.map +1 -1
  544. package/dist/collection/components/select/select.js +25 -80
  545. package/dist/collection/components/select/select.js.map +1 -1
  546. package/dist/collection/components/slider/slider.js +6 -8
  547. package/dist/collection/components/slider/slider.js.map +1 -1
  548. package/dist/collection/components/split-button/split-button.js +2 -6
  549. package/dist/collection/components/split-button/split-button.js.map +1 -1
  550. package/dist/collection/components/tab-item/tab-item.js +4 -7
  551. package/dist/collection/components/tab-item/tab-item.js.map +1 -1
  552. package/dist/collection/components/tabs/tabs.js +3 -6
  553. package/dist/collection/components/tabs/tabs.js.map +1 -1
  554. package/dist/collection/components/time-picker/time-picker.js +8 -28
  555. package/dist/collection/components/time-picker/time-picker.js.map +1 -1
  556. package/dist/collection/components/toggle/toggle.js +63 -5
  557. package/dist/collection/components/toggle/toggle.js.map +1 -1
  558. package/dist/collection/components/toggle-button/toggle-button.css +15 -0
  559. package/dist/collection/components/toggle-button/toggle-button.js +2 -5
  560. package/dist/collection/components/toggle-button/toggle-button.js.map +1 -1
  561. package/dist/collection/components/tooltip/tooltip.js +2 -8
  562. package/dist/collection/components/tooltip/tooltip.js.map +1 -1
  563. package/dist/collection/components/tree/tree.js +68 -61
  564. package/dist/collection/components/tree/tree.js.map +1 -1
  565. package/dist/collection/components/typography/typography.js +1 -4
  566. package/dist/collection/components/typography/typography.js.map +1 -1
  567. package/dist/collection/components/utils/input/index.js.map +1 -1
  568. package/dist/collection/components/utils/input/validation.js +2 -0
  569. package/dist/collection/components/utils/input/validation.js.map +1 -1
  570. package/dist/collection/components/validation-tooltip/validation-tooltip.css +1 -0
  571. package/dist/collection/components/validation-tooltip/validation-tooltip.js +5 -8
  572. package/dist/collection/components/validation-tooltip/validation-tooltip.js.map +1 -1
  573. package/dist/esm/index-CrTP-icT.js.map +1 -1
  574. package/dist/esm/{input.util-DpnoI5lb.js → input.util-DORL_qfP.js} +4 -4
  575. package/dist/esm/input.util-DORL_qfP.js.map +1 -0
  576. package/dist/esm/ix-action-card.entry.js +1 -1
  577. package/dist/esm/ix-action-card.entry.js.map +1 -1
  578. package/dist/esm/ix-application-header.entry.js +3 -5
  579. package/dist/esm/ix-application-header.entry.js.map +1 -1
  580. package/dist/esm/ix-application.entry.js +3 -3
  581. package/dist/esm/ix-application.entry.js.map +1 -1
  582. package/dist/esm/ix-avatar.ix-menu-avatar-item.entry.js.map +1 -1
  583. package/dist/esm/ix-avatar_2.entry.js.map +1 -1
  584. package/dist/esm/ix-blind.entry.js +5 -6
  585. package/dist/esm/ix-blind.entry.js.map +1 -1
  586. package/dist/esm/ix-breadcrumb.entry.js +2 -4
  587. package/dist/esm/ix-breadcrumb.entry.js.map +1 -1
  588. package/dist/esm/ix-button.entry.js +2 -5
  589. package/dist/esm/ix-button.entry.js.map +1 -1
  590. package/dist/esm/ix-card-accordion.ix-card-title.entry.js.map +1 -1
  591. package/dist/esm/ix-card-accordion_2.entry.js +4 -5
  592. package/dist/esm/ix-card-accordion_2.entry.js.map +1 -1
  593. package/dist/esm/ix-card-list.entry.js +4 -6
  594. package/dist/esm/ix-card-list.entry.js.map +1 -1
  595. package/dist/esm/ix-card.ix-card-content.entry.js.map +1 -1
  596. package/dist/esm/ix-card_2.entry.js +4 -4
  597. package/dist/esm/ix-card_2.entry.js.map +1 -1
  598. package/dist/esm/ix-category-filter.entry.js +3 -3
  599. package/dist/esm/ix-category-filter.entry.js.map +1 -1
  600. package/dist/esm/ix-checkbox-group.entry.js +47 -3
  601. package/dist/esm/ix-checkbox-group.entry.js.map +1 -1
  602. package/dist/esm/ix-checkbox.entry.js +12 -5
  603. package/dist/esm/ix-checkbox.entry.js.map +1 -1
  604. package/dist/esm/ix-chip.entry.js +5 -4
  605. package/dist/esm/ix-chip.entry.js.map +1 -1
  606. package/dist/esm/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.js.map +1 -1
  607. package/dist/esm/ix-col_4.entry.js +9 -17
  608. package/dist/esm/ix-col_4.entry.js.map +1 -1
  609. package/dist/esm/ix-content.entry.js +4 -4
  610. package/dist/esm/ix-content.entry.js.map +1 -1
  611. package/dist/esm/ix-custom-field.entry.js +2 -2
  612. package/dist/esm/ix-custom-field.entry.js.map +1 -1
  613. package/dist/esm/ix-date-dropdown.entry.js +4 -8
  614. package/dist/esm/ix-date-dropdown.entry.js.map +1 -1
  615. package/dist/esm/ix-date-input.entry.js +5 -5
  616. package/dist/esm/ix-date-input.entry.js.map +1 -1
  617. package/dist/esm/ix-date-time-card.entry.js +1 -1
  618. package/dist/esm/ix-date-time-card.entry.js.map +1 -1
  619. package/dist/esm/ix-datetime-picker.entry.js +2 -12
  620. package/dist/esm/ix-datetime-picker.entry.js.map +1 -1
  621. package/dist/esm/ix-divider.entry.js +1 -1
  622. package/dist/esm/ix-divider.entry.js.map +1 -1
  623. package/dist/esm/ix-dropdown-button.entry.js +2 -3
  624. package/dist/esm/ix-dropdown-button.entry.js.map +1 -1
  625. package/dist/esm/ix-dropdown-header.entry.js +1 -1
  626. package/dist/esm/ix-dropdown-header.entry.js.map +1 -1
  627. package/dist/esm/ix-dropdown-quick-actions.entry.js +1 -1
  628. package/dist/esm/ix-dropdown-quick-actions.entry.js.map +1 -1
  629. package/dist/esm/ix-dropdown.entry.js +2 -4
  630. package/dist/esm/ix-dropdown.entry.js.map +1 -1
  631. package/dist/esm/ix-empty-state.entry.js +1 -1
  632. package/dist/esm/ix-empty-state.entry.js.map +1 -1
  633. package/dist/esm/ix-expanding-search.entry.js +4 -5
  634. package/dist/esm/ix-expanding-search.entry.js.map +1 -1
  635. package/dist/esm/ix-field-label.ix-field-wrapper.entry.js.map +1 -1
  636. package/dist/esm/ix-field-label_2.entry.js +1 -1
  637. package/dist/esm/ix-field-label_2.entry.js.map +1 -1
  638. package/dist/esm/ix-filter-chip.ix-select-item.entry.js.map +1 -1
  639. package/dist/esm/ix-filter-chip_2.entry.js +1 -2
  640. package/dist/esm/ix-filter-chip_2.entry.js.map +1 -1
  641. package/dist/esm/ix-flip-tile.entry.js +4 -6
  642. package/dist/esm/ix-flip-tile.entry.js.map +1 -1
  643. package/dist/esm/ix-helper-text.entry.js +1 -1
  644. package/dist/esm/ix-icon-button.ix-spinner.entry.js.map +1 -1
  645. package/dist/esm/ix-icon-button_2.entry.js +1 -4
  646. package/dist/esm/ix-icon-button_2.entry.js.map +1 -1
  647. package/dist/esm/ix-icon-toggle-button.entry.js +1 -1
  648. package/dist/esm/ix-icon-toggle-button.entry.js.map +1 -1
  649. package/dist/esm/ix-input-group.entry.js +1 -1
  650. package/dist/esm/ix-input-group.entry.js.map +1 -1
  651. package/dist/esm/ix-input.entry.js +12 -6
  652. package/dist/esm/ix-input.entry.js.map +1 -1
  653. package/dist/esm/ix-key-value-list.entry.js +1 -1
  654. package/dist/esm/ix-key-value-list.entry.js.map +1 -1
  655. package/dist/esm/ix-key-value.entry.js +1 -1
  656. package/dist/esm/ix-key-value.entry.js.map +1 -1
  657. package/dist/esm/ix-layout-auto.entry.js +1 -1
  658. package/dist/esm/ix-layout-auto.entry.js.map +1 -1
  659. package/dist/esm/ix-link-button.entry.js +3 -3
  660. package/dist/esm/ix-link-button.entry.js.map +1 -1
  661. package/dist/esm/ix-map-navigation.entry.js +2 -3
  662. package/dist/esm/ix-map-navigation.entry.js.map +1 -1
  663. package/dist/esm/ix-menu-avatar.entry.js +2 -4
  664. package/dist/esm/ix-menu-avatar.entry.js.map +1 -1
  665. package/dist/esm/ix-menu-category.entry.js +5 -5
  666. package/dist/esm/ix-menu-category.entry.js.map +1 -1
  667. package/dist/esm/ix-menu-item.entry.js +3 -3
  668. package/dist/esm/ix-menu-item.entry.js.map +1 -1
  669. package/dist/esm/ix-menu.entry.js +12 -14
  670. package/dist/esm/ix-menu.entry.js.map +1 -1
  671. package/dist/esm/ix-modal-content.ix-modal-header.entry.js.map +1 -1
  672. package/dist/esm/ix-modal-content_2.entry.js +2 -2
  673. package/dist/esm/ix-modal-content_2.entry.js.map +1 -1
  674. package/dist/esm/ix-modal-footer.entry.js +1 -1
  675. package/dist/esm/ix-modal-footer.entry.js.map +1 -1
  676. package/dist/esm/ix-modal.entry.js +3 -7
  677. package/dist/esm/ix-modal.entry.js.map +1 -1
  678. package/dist/esm/ix-number-input.entry.js +14 -10
  679. package/dist/esm/ix-number-input.entry.js.map +1 -1
  680. package/dist/esm/ix-pagination.entry.js +2 -2
  681. package/dist/esm/ix-pagination.entry.js.map +1 -1
  682. package/dist/esm/ix-pane-layout.entry.js +1 -1
  683. package/dist/esm/ix-pane-layout.entry.js.map +1 -1
  684. package/dist/esm/ix-pane.entry.js +6 -6
  685. package/dist/esm/ix-pane.entry.js.map +1 -1
  686. package/dist/esm/ix-push-card.entry.js +1 -2
  687. package/dist/esm/ix-push-card.entry.js.map +1 -1
  688. package/dist/esm/ix-radio-group.entry.js +29 -6
  689. package/dist/esm/ix-radio-group.entry.js.map +1 -1
  690. package/dist/esm/ix-radio.entry.js +23 -6
  691. package/dist/esm/ix-radio.entry.js.map +1 -1
  692. package/dist/esm/ix-select.entry.js +9 -16
  693. package/dist/esm/ix-select.entry.js.map +1 -1
  694. package/dist/esm/ix-slider.entry.js +6 -6
  695. package/dist/esm/ix-slider.entry.js.map +1 -1
  696. package/dist/esm/ix-split-button.entry.js +1 -2
  697. package/dist/esm/ix-split-button.entry.js.map +1 -1
  698. package/dist/esm/ix-tab-item.ix-tabs.entry.js.map +1 -1
  699. package/dist/esm/ix-tab-item_2.entry.js +5 -5
  700. package/dist/esm/ix-tab-item_2.entry.js.map +1 -1
  701. package/dist/esm/ix-textarea.entry.js +4 -4
  702. package/dist/esm/ix-textarea.entry.js.map +1 -1
  703. package/dist/esm/ix-time-picker.entry.js +4 -12
  704. package/dist/esm/ix-time-picker.entry.js.map +1 -1
  705. package/dist/esm/ix-toggle-button.entry.js +3 -3
  706. package/dist/esm/ix-toggle-button.entry.js.map +1 -1
  707. package/dist/esm/ix-toggle.entry.js +35 -3
  708. package/dist/esm/ix-toggle.entry.js.map +1 -1
  709. package/dist/esm/ix-tooltip.entry.js +1 -2
  710. package/dist/esm/ix-tooltip.entry.js.map +1 -1
  711. package/dist/esm/ix-tree.entry.js +55 -51
  712. package/dist/esm/ix-tree.entry.js.map +1 -1
  713. package/dist/esm/ix-typography.entry.js +1 -1
  714. package/dist/esm/ix-typography.entry.js.map +1 -1
  715. package/dist/esm/ix-validation-tooltip.entry.js +3 -5
  716. package/dist/esm/ix-validation-tooltip.entry.js.map +1 -1
  717. package/dist/esm/loader.js +1 -1
  718. package/dist/esm/siemens-ix.js +1 -1
  719. package/dist/esm/{validation-C_w_pHgR.js → validation-CS0nhfz1.js} +4 -2
  720. package/dist/esm/validation-CS0nhfz1.js.map +1 -0
  721. package/dist/siemens-ix/ix-action-card.entry.esm.js.map +1 -1
  722. package/dist/siemens-ix/ix-application-header.entry.esm.js.map +1 -1
  723. package/dist/siemens-ix/ix-application.entry.esm.js.map +1 -1
  724. package/dist/siemens-ix/ix-avatar.ix-menu-avatar-item.entry.esm.js.map +1 -1
  725. package/dist/siemens-ix/ix-blind.entry.esm.js.map +1 -1
  726. package/dist/siemens-ix/ix-breadcrumb.entry.esm.js.map +1 -1
  727. package/dist/siemens-ix/ix-button.entry.esm.js.map +1 -1
  728. package/dist/siemens-ix/ix-card-accordion.ix-card-title.entry.esm.js.map +1 -1
  729. package/dist/siemens-ix/ix-card-list.entry.esm.js.map +1 -1
  730. package/dist/siemens-ix/ix-card.ix-card-content.entry.esm.js.map +1 -1
  731. package/dist/siemens-ix/ix-category-filter.entry.esm.js.map +1 -1
  732. package/dist/siemens-ix/ix-checkbox-group.entry.esm.js.map +1 -1
  733. package/dist/siemens-ix/ix-checkbox.entry.esm.js.map +1 -1
  734. package/dist/siemens-ix/ix-chip.entry.esm.js.map +1 -1
  735. package/dist/siemens-ix/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.esm.js.map +1 -1
  736. package/dist/siemens-ix/ix-content.entry.esm.js.map +1 -1
  737. package/dist/siemens-ix/ix-custom-field.entry.esm.js.map +1 -1
  738. package/dist/siemens-ix/ix-date-dropdown.entry.esm.js.map +1 -1
  739. package/dist/siemens-ix/ix-date-input.entry.esm.js.map +1 -1
  740. package/dist/siemens-ix/ix-date-time-card.entry.esm.js.map +1 -1
  741. package/dist/siemens-ix/ix-datetime-picker.entry.esm.js.map +1 -1
  742. package/dist/siemens-ix/ix-divider.entry.esm.js.map +1 -1
  743. package/dist/siemens-ix/ix-dropdown-button.entry.esm.js.map +1 -1
  744. package/dist/siemens-ix/ix-dropdown-header.entry.esm.js.map +1 -1
  745. package/dist/siemens-ix/ix-dropdown-quick-actions.entry.esm.js.map +1 -1
  746. package/dist/siemens-ix/ix-dropdown.entry.esm.js.map +1 -1
  747. package/dist/siemens-ix/ix-empty-state.entry.esm.js.map +1 -1
  748. package/dist/siemens-ix/ix-expanding-search.entry.esm.js.map +1 -1
  749. package/dist/siemens-ix/ix-field-label.ix-field-wrapper.entry.esm.js.map +1 -1
  750. package/dist/siemens-ix/ix-filter-chip.ix-select-item.entry.esm.js.map +1 -1
  751. package/dist/siemens-ix/ix-flip-tile.entry.esm.js.map +1 -1
  752. package/dist/siemens-ix/ix-icon-button.ix-spinner.entry.esm.js.map +1 -1
  753. package/dist/siemens-ix/ix-icon-toggle-button.entry.esm.js.map +1 -1
  754. package/dist/siemens-ix/ix-input-group.entry.esm.js.map +1 -1
  755. package/dist/siemens-ix/ix-input.entry.esm.js.map +1 -1
  756. package/dist/siemens-ix/ix-key-value-list.entry.esm.js.map +1 -1
  757. package/dist/siemens-ix/ix-key-value.entry.esm.js.map +1 -1
  758. package/dist/siemens-ix/ix-layout-auto.entry.esm.js.map +1 -1
  759. package/dist/siemens-ix/ix-link-button.entry.esm.js.map +1 -1
  760. package/dist/siemens-ix/ix-map-navigation.entry.esm.js.map +1 -1
  761. package/dist/siemens-ix/ix-menu-avatar.entry.esm.js.map +1 -1
  762. package/dist/siemens-ix/ix-menu-category.entry.esm.js.map +1 -1
  763. package/dist/siemens-ix/ix-menu-item.entry.esm.js.map +1 -1
  764. package/dist/siemens-ix/ix-menu.entry.esm.js.map +1 -1
  765. package/dist/siemens-ix/ix-modal-content.ix-modal-header.entry.esm.js.map +1 -1
  766. package/dist/siemens-ix/ix-modal-footer.entry.esm.js.map +1 -1
  767. package/dist/siemens-ix/ix-modal.entry.esm.js.map +1 -1
  768. package/dist/siemens-ix/ix-number-input.entry.esm.js.map +1 -1
  769. package/dist/siemens-ix/ix-pagination.entry.esm.js.map +1 -1
  770. package/dist/siemens-ix/ix-pane-layout.entry.esm.js.map +1 -1
  771. package/dist/siemens-ix/ix-pane.entry.esm.js.map +1 -1
  772. package/dist/siemens-ix/ix-push-card.entry.esm.js.map +1 -1
  773. package/dist/siemens-ix/ix-radio-group.entry.esm.js.map +1 -1
  774. package/dist/siemens-ix/ix-radio.entry.esm.js.map +1 -1
  775. package/dist/siemens-ix/ix-select.entry.esm.js.map +1 -1
  776. package/dist/siemens-ix/ix-slider.entry.esm.js.map +1 -1
  777. package/dist/siemens-ix/ix-split-button.entry.esm.js.map +1 -1
  778. package/dist/siemens-ix/ix-tab-item.ix-tabs.entry.esm.js.map +1 -1
  779. package/dist/siemens-ix/ix-textarea.entry.esm.js.map +1 -1
  780. package/dist/siemens-ix/ix-time-picker.entry.esm.js.map +1 -1
  781. package/dist/siemens-ix/ix-toggle-button.entry.esm.js.map +1 -1
  782. package/dist/siemens-ix/ix-toggle.entry.esm.js.map +1 -1
  783. package/dist/siemens-ix/ix-tooltip.entry.esm.js.map +1 -1
  784. package/dist/siemens-ix/ix-tree.entry.esm.js.map +1 -1
  785. package/dist/siemens-ix/ix-typography.entry.esm.js.map +1 -1
  786. package/dist/siemens-ix/ix-validation-tooltip.entry.esm.js.map +1 -1
  787. package/dist/siemens-ix/{p-0c830977.entry.js → p-04338b3f.entry.js} +2 -2
  788. package/dist/siemens-ix/p-04338b3f.entry.js.map +1 -0
  789. package/dist/siemens-ix/p-0443dc8d.entry.js +2 -0
  790. package/dist/siemens-ix/p-0443dc8d.entry.js.map +1 -0
  791. package/dist/siemens-ix/p-054136c2.entry.js +2 -0
  792. package/dist/siemens-ix/{p-518b1e6b.entry.js.map → p-054136c2.entry.js.map} +1 -1
  793. package/dist/siemens-ix/{p-0488a734.entry.js → p-06843648.entry.js} +2 -2
  794. package/dist/siemens-ix/{p-0488a734.entry.js.map → p-06843648.entry.js.map} +1 -1
  795. package/dist/siemens-ix/{p-ff2171f6.entry.js → p-071f63d6.entry.js} +2 -2
  796. package/dist/siemens-ix/p-071f63d6.entry.js.map +1 -0
  797. package/dist/siemens-ix/{p-c7384379.entry.js → p-07c17517.entry.js} +2 -2
  798. package/dist/siemens-ix/p-07c17517.entry.js.map +1 -0
  799. package/dist/siemens-ix/{p-5fef5328.entry.js → p-09b83f0e.entry.js} +2 -2
  800. package/dist/siemens-ix/p-09b83f0e.entry.js.map +1 -0
  801. package/dist/siemens-ix/p-144e4ad0.entry.js +2 -0
  802. package/dist/siemens-ix/p-144e4ad0.entry.js.map +1 -0
  803. package/dist/siemens-ix/{p-19ae7d99.entry.js → p-158d9068.entry.js} +2 -2
  804. package/dist/siemens-ix/p-158d9068.entry.js.map +1 -0
  805. package/dist/siemens-ix/{p-ac5f5042.entry.js → p-18a47d9f.entry.js} +2 -2
  806. package/dist/siemens-ix/p-18a47d9f.entry.js.map +1 -0
  807. package/dist/siemens-ix/{p-96bbbbcb.entry.js → p-1d28d516.entry.js} +2 -2
  808. package/dist/siemens-ix/p-1d28d516.entry.js.map +1 -0
  809. package/dist/siemens-ix/{p-9e3a36df.entry.js → p-1ff3556a.entry.js} +2 -2
  810. package/dist/siemens-ix/p-1ff3556a.entry.js.map +1 -0
  811. package/dist/siemens-ix/{p-08931f8c.entry.js → p-215df096.entry.js} +2 -2
  812. package/dist/siemens-ix/p-215df096.entry.js.map +1 -0
  813. package/dist/siemens-ix/{p-d1cf2407.entry.js → p-23a50a0c.entry.js} +2 -2
  814. package/dist/siemens-ix/p-23a50a0c.entry.js.map +1 -0
  815. package/dist/siemens-ix/{p-3e1a9763.entry.js → p-24339d35.entry.js} +2 -2
  816. package/dist/siemens-ix/p-24339d35.entry.js.map +1 -0
  817. package/dist/siemens-ix/{p-28055ea5.entry.js → p-27b13c4c.entry.js} +2 -2
  818. package/dist/siemens-ix/p-27b13c4c.entry.js.map +1 -0
  819. package/dist/siemens-ix/{p-3138015e.entry.js → p-27cc0e94.entry.js} +2 -2
  820. package/dist/siemens-ix/{p-3138015e.entry.js.map → p-27cc0e94.entry.js.map} +1 -1
  821. package/dist/siemens-ix/{p-eb5da5a0.entry.js → p-2b496519.entry.js} +2 -2
  822. package/dist/siemens-ix/{p-eb5da5a0.entry.js.map → p-2b496519.entry.js.map} +1 -1
  823. package/dist/siemens-ix/{p-d3f99d59.entry.js → p-32488953.entry.js} +2 -2
  824. package/dist/siemens-ix/p-32488953.entry.js.map +1 -0
  825. package/dist/siemens-ix/p-34824a84.entry.js +2 -0
  826. package/dist/siemens-ix/p-34824a84.entry.js.map +1 -0
  827. package/dist/siemens-ix/{p-4b0c3eeb.entry.js → p-356b0c5c.entry.js} +2 -2
  828. package/dist/siemens-ix/p-356b0c5c.entry.js.map +1 -0
  829. package/dist/siemens-ix/{p-93ba92af.entry.js → p-37f6a541.entry.js} +2 -2
  830. package/dist/siemens-ix/p-37f6a541.entry.js.map +1 -0
  831. package/dist/siemens-ix/p-387fd147.entry.js +2 -0
  832. package/dist/siemens-ix/p-387fd147.entry.js.map +1 -0
  833. package/dist/siemens-ix/{p-c675b650.entry.js → p-44670707.entry.js} +2 -2
  834. package/dist/siemens-ix/p-44670707.entry.js.map +1 -0
  835. package/dist/siemens-ix/p-47a889ca.entry.js +2 -0
  836. package/dist/siemens-ix/{p-b01c5093.entry.js.map → p-47a889ca.entry.js.map} +1 -1
  837. package/dist/siemens-ix/p-4cc099ea.entry.js +2 -0
  838. package/dist/siemens-ix/{p-b39463a7.entry.js.map → p-4cc099ea.entry.js.map} +1 -1
  839. package/dist/siemens-ix/{p-f8a852c3.entry.js → p-4dac8359.entry.js} +2 -2
  840. package/dist/siemens-ix/p-4dac8359.entry.js.map +1 -0
  841. package/dist/siemens-ix/{p-576fade1.entry.js → p-521dfa2a.entry.js} +2 -2
  842. package/dist/siemens-ix/p-521dfa2a.entry.js.map +1 -0
  843. package/dist/siemens-ix/p-6de38c2a.entry.js +2 -0
  844. package/dist/siemens-ix/p-6de38c2a.entry.js.map +1 -0
  845. package/dist/siemens-ix/{p-34ff567f.entry.js → p-70cbacb8.entry.js} +2 -2
  846. package/dist/siemens-ix/p-70cbacb8.entry.js.map +1 -0
  847. package/dist/siemens-ix/{p-f8b08d7b.entry.js → p-71b2c8cd.entry.js} +2 -2
  848. package/dist/siemens-ix/{p-f8b08d7b.entry.js.map → p-71b2c8cd.entry.js.map} +1 -1
  849. package/dist/siemens-ix/{p-e365aee3.entry.js → p-7535cbf6.entry.js} +2 -2
  850. package/dist/siemens-ix/{p-ce0642f0.entry.js → p-76565681.entry.js} +2 -2
  851. package/dist/siemens-ix/p-76565681.entry.js.map +1 -0
  852. package/dist/siemens-ix/{p-f7bfd5f6.entry.js → p-781e0057.entry.js} +2 -2
  853. package/dist/siemens-ix/p-781e0057.entry.js.map +1 -0
  854. package/dist/siemens-ix/{p-2295246b.entry.js → p-78b7ce69.entry.js} +2 -2
  855. package/dist/siemens-ix/p-78b7ce69.entry.js.map +1 -0
  856. package/dist/siemens-ix/p-78f99962.entry.js.map +1 -1
  857. package/dist/siemens-ix/{p-f3f6e45d.entry.js → p-827653a3.entry.js} +2 -2
  858. package/dist/siemens-ix/p-827653a3.entry.js.map +1 -0
  859. package/dist/siemens-ix/{p-cd52e37a.entry.js → p-83367279.entry.js} +2 -2
  860. package/dist/siemens-ix/p-83367279.entry.js.map +1 -0
  861. package/dist/siemens-ix/{p-c80dddf1.entry.js → p-8804a378.entry.js} +2 -2
  862. package/dist/siemens-ix/p-8804a378.entry.js.map +1 -0
  863. package/dist/siemens-ix/p-8df5873d.entry.js +2 -0
  864. package/dist/siemens-ix/p-8df5873d.entry.js.map +1 -0
  865. package/dist/siemens-ix/{p-575b3137.entry.js → p-8e525190.entry.js} +2 -2
  866. package/dist/siemens-ix/p-8e525190.entry.js.map +1 -0
  867. package/dist/siemens-ix/{p-3283a5f3.entry.js → p-94b89b14.entry.js} +2 -2
  868. package/dist/siemens-ix/p-94b89b14.entry.js.map +1 -0
  869. package/dist/siemens-ix/{p-f0575255.entry.js → p-9646b346.entry.js} +2 -2
  870. package/dist/siemens-ix/p-9646b346.entry.js.map +1 -0
  871. package/dist/siemens-ix/{p-273bd3ab.entry.js → p-9920ec79.entry.js} +2 -2
  872. package/dist/siemens-ix/{p-273bd3ab.entry.js.map → p-9920ec79.entry.js.map} +1 -1
  873. package/dist/siemens-ix/{p-734bcb23.entry.js → p-9bac6252.entry.js} +2 -2
  874. package/dist/siemens-ix/p-9bac6252.entry.js.map +1 -0
  875. package/dist/siemens-ix/{p-9a679e62.entry.js → p-9bbca220.entry.js} +2 -2
  876. package/dist/siemens-ix/p-9bbca220.entry.js.map +1 -0
  877. package/dist/siemens-ix/p-CASZsflI.js +2 -0
  878. package/dist/siemens-ix/p-CASZsflI.js.map +1 -0
  879. package/dist/siemens-ix/p-CrTP-icT.js.map +1 -1
  880. package/dist/siemens-ix/p-DHml78Yc.js +2 -0
  881. package/dist/siemens-ix/p-DHml78Yc.js.map +1 -0
  882. package/dist/siemens-ix/{p-3a0a5bc2.entry.js → p-a289764d.entry.js} +2 -2
  883. package/dist/siemens-ix/p-a289764d.entry.js.map +1 -0
  884. package/dist/siemens-ix/{p-e6c7e87a.entry.js → p-ac4548a8.entry.js} +2 -2
  885. package/dist/siemens-ix/p-ac4548a8.entry.js.map +1 -0
  886. package/dist/siemens-ix/{p-aee95ea9.entry.js → p-aca27756.entry.js} +2 -2
  887. package/dist/siemens-ix/p-aca27756.entry.js.map +1 -0
  888. package/dist/siemens-ix/{p-c0e4bf8a.entry.js → p-b35df537.entry.js} +2 -2
  889. package/dist/siemens-ix/{p-c0e4bf8a.entry.js.map → p-b35df537.entry.js.map} +1 -1
  890. package/dist/siemens-ix/{p-c93a8094.entry.js → p-b6966cc0.entry.js} +2 -2
  891. package/dist/siemens-ix/p-b6966cc0.entry.js.map +1 -0
  892. package/dist/siemens-ix/{p-9e83986f.entry.js → p-b78847d5.entry.js} +2 -2
  893. package/dist/siemens-ix/{p-9e83986f.entry.js.map → p-b78847d5.entry.js.map} +1 -1
  894. package/dist/siemens-ix/{p-3edc7dd2.entry.js → p-beed1dd8.entry.js} +2 -2
  895. package/dist/siemens-ix/p-beed1dd8.entry.js.map +1 -0
  896. package/dist/siemens-ix/p-c1b10464.entry.js +2 -0
  897. package/dist/siemens-ix/{p-3db26a34.entry.js.map → p-c1b10464.entry.js.map} +1 -1
  898. package/dist/siemens-ix/{p-87b30e60.entry.js → p-c76e3ee3.entry.js} +2 -2
  899. package/dist/siemens-ix/p-c76e3ee3.entry.js.map +1 -0
  900. package/dist/siemens-ix/{p-66fb6549.entry.js → p-c8fe1a7e.entry.js} +2 -2
  901. package/dist/siemens-ix/p-c8fe1a7e.entry.js.map +1 -0
  902. package/dist/siemens-ix/{p-89edecbd.entry.js → p-ca8a2b16.entry.js} +2 -2
  903. package/dist/siemens-ix/p-ca8a2b16.entry.js.map +1 -0
  904. package/dist/siemens-ix/p-cb7de112.entry.js +2 -0
  905. package/dist/siemens-ix/p-cb7de112.entry.js.map +1 -0
  906. package/dist/siemens-ix/{p-aeb1eb75.entry.js → p-cbf6c3bf.entry.js} +2 -2
  907. package/dist/siemens-ix/p-cbf6c3bf.entry.js.map +1 -0
  908. package/dist/siemens-ix/{p-3d8a3b8a.entry.js → p-cca07b68.entry.js} +2 -2
  909. package/dist/siemens-ix/{p-3d8a3b8a.entry.js.map → p-cca07b68.entry.js.map} +1 -1
  910. package/dist/siemens-ix/{p-20d1d114.entry.js → p-ccec1de1.entry.js} +2 -2
  911. package/dist/siemens-ix/p-ccec1de1.entry.js.map +1 -0
  912. package/dist/siemens-ix/p-d6caa4f4.entry.js +2 -0
  913. package/dist/siemens-ix/p-d6caa4f4.entry.js.map +1 -0
  914. package/dist/siemens-ix/p-da040b8b.entry.js +2 -0
  915. package/dist/siemens-ix/p-da040b8b.entry.js.map +1 -0
  916. package/dist/siemens-ix/{p-000cfb14.entry.js → p-dd11dd49.entry.js} +2 -2
  917. package/dist/siemens-ix/{p-000cfb14.entry.js.map → p-dd11dd49.entry.js.map} +1 -1
  918. package/dist/siemens-ix/{p-2290614f.entry.js → p-e09ab46a.entry.js} +2 -2
  919. package/dist/siemens-ix/{p-2290614f.entry.js.map → p-e09ab46a.entry.js.map} +1 -1
  920. package/dist/siemens-ix/{p-5963369c.entry.js → p-e3c930ac.entry.js} +2 -2
  921. package/dist/siemens-ix/p-e3c930ac.entry.js.map +1 -0
  922. package/dist/siemens-ix/{p-933f6e1f.entry.js → p-ea310106.entry.js} +2 -2
  923. package/dist/siemens-ix/p-ea310106.entry.js.map +1 -0
  924. package/dist/siemens-ix/siemens-ix-core.css +1 -1
  925. package/dist/siemens-ix/siemens-ix.css +174 -0
  926. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  927. package/dist/types/components/action-card/action-card.d.ts +0 -3
  928. package/dist/types/components/application/application.d.ts +0 -3
  929. package/dist/types/components/application-header/application-header.d.ts +0 -4
  930. package/dist/types/components/avatar/avatar.d.ts +0 -7
  931. package/dist/types/components/blind/blind.d.ts +0 -3
  932. package/dist/types/components/breadcrumb/breadcrumb.d.ts +0 -2
  933. package/dist/types/components/button/button.d.ts +0 -3
  934. package/dist/types/components/card/card.d.ts +1 -4
  935. package/dist/types/components/card-accordion/card-accordion.d.ts +0 -4
  936. package/dist/types/components/card-content/card-content.d.ts +0 -3
  937. package/dist/types/components/card-list/card-list.d.ts +0 -5
  938. package/dist/types/components/card-title/card-title.d.ts +0 -2
  939. package/dist/types/components/category-filter/category-filter.d.ts +0 -2
  940. package/dist/types/components/checkbox/checkbox.d.ts +8 -2
  941. package/dist/types/components/checkbox-group/checkbox-group.d.ts +21 -2
  942. package/dist/types/components/checkbox-group/test/checkbox-group.ct.d.ts +1 -0
  943. package/dist/types/components/chip/chip.d.ts +1 -2
  944. package/dist/types/components/col/col.d.ts +0 -3
  945. package/dist/types/components/content/content.d.ts +0 -1
  946. package/dist/types/components/custom-field/custom-field.d.ts +0 -3
  947. package/dist/types/components/date-dropdown/date-dropdown.d.ts +0 -9
  948. package/dist/types/components/date-input/date-input.d.ts +2 -4
  949. package/dist/types/components/date-picker/date-picker.d.ts +0 -20
  950. package/dist/types/components/datetime-picker/datetime-picker.d.ts +0 -29
  951. package/dist/types/components/divider/divider.d.ts +0 -3
  952. package/dist/types/components/dropdown/dropdown.d.ts +0 -2
  953. package/dist/types/components/dropdown-button/dropdown-button.d.ts +0 -6
  954. package/dist/types/components/dropdown-header/dropdown-header.d.ts +0 -3
  955. package/dist/types/components/dropdown-quick-actions/dropdown-quick-actions.d.ts +0 -3
  956. package/dist/types/components/empty-state/empty-state.d.ts +0 -3
  957. package/dist/types/components/expanding-search/expanding-search.d.ts +0 -1
  958. package/dist/types/components/filter-chip/filter-chip.d.ts +0 -1
  959. package/dist/types/components/flip-tile/flip-tile.d.ts +0 -2
  960. package/dist/types/components/icon-button/icon-button.d.ts +0 -5
  961. package/dist/types/components/icon-toggle-button/icon-toggle-button.d.ts +0 -3
  962. package/dist/types/components/input/input.d.ts +5 -2
  963. package/dist/types/components/input/input.fc.d.ts +5 -4
  964. package/dist/types/components/input/number-input.d.ts +7 -2
  965. package/dist/types/components/input/textarea.d.ts +1 -2
  966. package/dist/types/components/input-group/input-group.d.ts +1 -1
  967. package/dist/types/components/key-value/key-value.d.ts +0 -2
  968. package/dist/types/components/key-value-list/key-value-list.d.ts +0 -3
  969. package/dist/types/components/layout-auto/layout-auto.d.ts +0 -3
  970. package/dist/types/components/layout-grid/layout-grid.d.ts +0 -3
  971. package/dist/types/components/link-button/link-button.d.ts +0 -3
  972. package/dist/types/components/map-navigation/map-navigation.d.ts +0 -1
  973. package/dist/types/components/menu/menu.d.ts +0 -2
  974. package/dist/types/components/menu-avatar/menu-avatar.d.ts +0 -6
  975. package/dist/types/components/menu-category/menu-category.d.ts +0 -3
  976. package/dist/types/components/menu-item/menu-item.d.ts +0 -2
  977. package/dist/types/components/modal/modal.d.ts +0 -4
  978. package/dist/types/components/modal-content/modal-content.d.ts +0 -3
  979. package/dist/types/components/modal-footer/modal-footer.d.ts +0 -3
  980. package/dist/types/components/modal-header/modal-header.d.ts +0 -3
  981. package/dist/types/components/pagination/pagination.d.ts +0 -3
  982. package/dist/types/components/pane/pane.d.ts +0 -3
  983. package/dist/types/components/pane-layout/pane-layout.d.ts +0 -3
  984. package/dist/types/components/push-card/push-card.d.ts +0 -4
  985. package/dist/types/components/radio/radio.d.ts +13 -5
  986. package/dist/types/components/radio-group/radio-group.d.ts +15 -3
  987. package/dist/types/components/row/row.d.ts +0 -3
  988. package/dist/types/components/select/select.d.ts +1 -32
  989. package/dist/types/components/slider/slider.d.ts +0 -2
  990. package/dist/types/components/split-button/split-button.d.ts +0 -1
  991. package/dist/types/components/tab-item/tab-item.d.ts +0 -2
  992. package/dist/types/components/tabs/tabs.d.ts +0 -2
  993. package/dist/types/components/time-picker/time-picker.d.ts +0 -8
  994. package/dist/types/components/toggle/toggle.d.ts +10 -2
  995. package/dist/types/components/toggle-button/toggle-button.d.ts +0 -3
  996. package/dist/types/components/tooltip/tooltip.d.ts +0 -3
  997. package/dist/types/components/tree/tree.d.ts +4 -6
  998. package/dist/types/components/typography/typography.d.ts +0 -3
  999. package/dist/types/components/utils/input/index.d.ts +1 -1
  1000. package/dist/types/components/validation-tooltip/validation-tooltip.d.ts +2 -2
  1001. package/dist/types/components.d.ts +110 -673
  1002. package/hydrate/index.js +435 -467
  1003. package/hydrate/index.mjs +435 -467
  1004. package/package.json +3 -3
  1005. package/scss/_core.scss +2 -0
  1006. package/scss/components/_button-group.scss +13 -0
  1007. package/components/p-12nKYxsa.js.map +0 -1
  1008. package/components/p-2g5-4fWy.js.map +0 -1
  1009. package/components/p-BBSHeR_p.js.map +0 -1
  1010. package/components/p-BwyqOnwc.js.map +0 -1
  1011. package/components/p-C8vn2GFY.js.map +0 -1
  1012. package/components/p-CB1ADCkU.js.map +0 -1
  1013. package/components/p-D0LdqSVb.js.map +0 -1
  1014. package/components/p-DGeWaNlt.js.map +0 -1
  1015. package/components/p-DIzxAERt.js.map +0 -1
  1016. package/components/p-DM43N7pD.js.map +0 -1
  1017. package/components/p-DXzHgqiB.js.map +0 -1
  1018. package/components/p-D_wwWxx8.js.map +0 -1
  1019. package/components/p-Dy35mbzK.js.map +0 -1
  1020. package/components/p-DylMlJTZ.js.map +0 -1
  1021. package/dist/cjs/input.util-DuJG4-L-.js.map +0 -1
  1022. package/dist/cjs/validation-B-wzGaWF.js.map +0 -1
  1023. package/dist/esm/input.util-DpnoI5lb.js.map +0 -1
  1024. package/dist/esm/validation-C_w_pHgR.js.map +0 -1
  1025. package/dist/siemens-ix/p-08931f8c.entry.js.map +0 -1
  1026. package/dist/siemens-ix/p-0c830977.entry.js.map +0 -1
  1027. package/dist/siemens-ix/p-19ae7d99.entry.js.map +0 -1
  1028. package/dist/siemens-ix/p-20d1d114.entry.js.map +0 -1
  1029. package/dist/siemens-ix/p-2295246b.entry.js.map +0 -1
  1030. package/dist/siemens-ix/p-28055ea5.entry.js.map +0 -1
  1031. package/dist/siemens-ix/p-2j3Ly91D.js +0 -2
  1032. package/dist/siemens-ix/p-2j3Ly91D.js.map +0 -1
  1033. package/dist/siemens-ix/p-3283a5f3.entry.js.map +0 -1
  1034. package/dist/siemens-ix/p-34ff567f.entry.js.map +0 -1
  1035. package/dist/siemens-ix/p-37fa26f9.entry.js +0 -2
  1036. package/dist/siemens-ix/p-37fa26f9.entry.js.map +0 -1
  1037. package/dist/siemens-ix/p-3a0a5bc2.entry.js.map +0 -1
  1038. package/dist/siemens-ix/p-3db26a34.entry.js +0 -2
  1039. package/dist/siemens-ix/p-3e1a9763.entry.js.map +0 -1
  1040. package/dist/siemens-ix/p-3edc7dd2.entry.js.map +0 -1
  1041. package/dist/siemens-ix/p-4b0c3eeb.entry.js.map +0 -1
  1042. package/dist/siemens-ix/p-518b1e6b.entry.js +0 -2
  1043. package/dist/siemens-ix/p-575b3137.entry.js.map +0 -1
  1044. package/dist/siemens-ix/p-576fade1.entry.js.map +0 -1
  1045. package/dist/siemens-ix/p-5963369c.entry.js.map +0 -1
  1046. package/dist/siemens-ix/p-5b1d3595.entry.js +0 -2
  1047. package/dist/siemens-ix/p-5b1d3595.entry.js.map +0 -1
  1048. package/dist/siemens-ix/p-5fef5328.entry.js.map +0 -1
  1049. package/dist/siemens-ix/p-6691703e.entry.js +0 -2
  1050. package/dist/siemens-ix/p-6691703e.entry.js.map +0 -1
  1051. package/dist/siemens-ix/p-66fb6549.entry.js.map +0 -1
  1052. package/dist/siemens-ix/p-6d197072.entry.js +0 -2
  1053. package/dist/siemens-ix/p-6d197072.entry.js.map +0 -1
  1054. package/dist/siemens-ix/p-734bcb23.entry.js.map +0 -1
  1055. package/dist/siemens-ix/p-7abb0f0c.entry.js +0 -2
  1056. package/dist/siemens-ix/p-7abb0f0c.entry.js.map +0 -1
  1057. package/dist/siemens-ix/p-87b30e60.entry.js.map +0 -1
  1058. package/dist/siemens-ix/p-87c777a1.entry.js +0 -2
  1059. package/dist/siemens-ix/p-87c777a1.entry.js.map +0 -1
  1060. package/dist/siemens-ix/p-89edecbd.entry.js.map +0 -1
  1061. package/dist/siemens-ix/p-933f6e1f.entry.js.map +0 -1
  1062. package/dist/siemens-ix/p-93ba92af.entry.js.map +0 -1
  1063. package/dist/siemens-ix/p-96bbbbcb.entry.js.map +0 -1
  1064. package/dist/siemens-ix/p-9a679e62.entry.js.map +0 -1
  1065. package/dist/siemens-ix/p-9e3a36df.entry.js.map +0 -1
  1066. package/dist/siemens-ix/p-BPfEX8mR.js +0 -2
  1067. package/dist/siemens-ix/p-BPfEX8mR.js.map +0 -1
  1068. package/dist/siemens-ix/p-ac5f5042.entry.js.map +0 -1
  1069. package/dist/siemens-ix/p-aeb1eb75.entry.js.map +0 -1
  1070. package/dist/siemens-ix/p-aee95ea9.entry.js.map +0 -1
  1071. package/dist/siemens-ix/p-b01c5093.entry.js +0 -2
  1072. package/dist/siemens-ix/p-b39463a7.entry.js +0 -2
  1073. package/dist/siemens-ix/p-c675b650.entry.js.map +0 -1
  1074. package/dist/siemens-ix/p-c7384379.entry.js.map +0 -1
  1075. package/dist/siemens-ix/p-c80dddf1.entry.js.map +0 -1
  1076. package/dist/siemens-ix/p-c93a8094.entry.js.map +0 -1
  1077. package/dist/siemens-ix/p-cd52e37a.entry.js.map +0 -1
  1078. package/dist/siemens-ix/p-ce0642f0.entry.js.map +0 -1
  1079. package/dist/siemens-ix/p-d1cf2407.entry.js.map +0 -1
  1080. package/dist/siemens-ix/p-d3f99d59.entry.js.map +0 -1
  1081. package/dist/siemens-ix/p-e501b6ca.entry.js +0 -2
  1082. package/dist/siemens-ix/p-e501b6ca.entry.js.map +0 -1
  1083. package/dist/siemens-ix/p-e6c7e87a.entry.js.map +0 -1
  1084. package/dist/siemens-ix/p-f0575255.entry.js.map +0 -1
  1085. package/dist/siemens-ix/p-f3022851.entry.js +0 -2
  1086. package/dist/siemens-ix/p-f3022851.entry.js.map +0 -1
  1087. package/dist/siemens-ix/p-f3f6e45d.entry.js.map +0 -1
  1088. package/dist/siemens-ix/p-f7bfd5f6.entry.js.map +0 -1
  1089. package/dist/siemens-ix/p-f81de54a.entry.js +0 -2
  1090. package/dist/siemens-ix/p-f81de54a.entry.js.map +0 -1
  1091. package/dist/siemens-ix/p-f8a852c3.entry.js.map +0 -1
  1092. package/dist/siemens-ix/p-ff2171f6.entry.js.map +0 -1
  1093. /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: '56ac52c0846a09ebbabe445a7b472d8163249d0f', style: {
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: '63bd41182f32389d24f06a65934fa1fdf613814e', class: {
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: 'b14e594b79d762dc1e1861f053fca55527205099', class: "flip-tile-header" }, h("div", { key: '71294a8041516ded7a7e22be40b779d242958db8', class: "header-slot-container text-l-title" }, h("slot", { key: '015f97f7f35ed25d0c808457a8d1a5b1055d0f3e', name: "header" })), h("ix-icon-button", { key: '4ada116aa7ad0ae8b1499b7a3c142eaee3f8320e', icon: iconEye, variant: "primary", ghost: true, onClick: () => this.toggleIndex() })), h("div", { key: '0c30a20df8eff93c9433fad1a157311d185e342f', class: "content-container" }, h("slot", { key: '471ebb3a8619bdb35d4db4c7c6f63065d446116a' })), h("div", { key: '4c4a45e81c365670d4b7f1d7cbb4838778dd96c3', class: {
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: '39be6dc2a46af588318fe63beceae81dfafc0eec', name: "footer" })))));
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;;;WAGG;QACK,WAAM,GAAoB,M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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 * @since 1.5.0\n */\n @Prop() height: number | 'auto' = 15.125;\n\n /**\n * Width interpreted as REM\n * @since 1.5.0\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"]}
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;;WAEG;QACK,WAAM,GAAoB,MAAM,CAAC;QAEzC;;WAEG;QACK,UAAK,GAAoB,EAAE,CAAC;QAEpC;;;WAGG;QACK,UAAK,GAAG,CAAC,CAAC;QAQT,0BAAqB,GAAY,KAAK,CAAC;QAE/B,uBAAkB,GAAG,GAAG,CAAC;QAClC,iBAAY,GAAwC,EAAE,CAAC;KAkIhE;IA9HC,UAAU,CAAC,QAAgB,EAAE,QAAgB;QAC3C,IAAI,QAAQ,KAAK,QAAQ,EAAE,CAAC;YAC1B,OAAO;QACT,CAAC;QAED,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC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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 {\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: '6a8627c8e3e093bfb86d60748fcac8f7677b3463', class: Object.assign(Object.assign({}, this.getIconSizeClass()), { disabled: this.disabled || this.loading }) }, h(BaseIconButton, Object.assign({ key: 'be439ea407b8c736e014775fe209d99cb6663631' }, baseButtonProps))));
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;QAgBE;;;WAGG;QACK,YAAO,GAAsB,WAAW,CAAC;QAEjD;;WAEG;QACK,YAAO,GAAY,KAAK,CAAC;QAEjC;;WAEG;QACK,UAAK,GAAY,KAAK,CAAC;QAE/B;;WAEG;QACK,SAAI,GAAY,KAAK,CAAC;QAO9B;;;WAGG;QACK,SAAI,GAAuB,IAAI,CAAC;QAOxC;;WAEG;QACK,aAAQ,GAAG,KAAK,CAAC;QAEzB;;WAEG;QACK,SAAI,GAAwB,QAAQ,CAAC;QAE7C;;;;WAIG;QACK,YAAO,GAAG,KAAK,CAAC;KAmEzB;IA5DC,gBAAgB;QACd,IAAI,IAAI,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;YAC3B,MAAM,YAAY,GAAG,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;YACtD,YAAY,CAAC,KAAK,CAAC,OAAO,GAAG,MAAM,CAAC;YACpC,YAAY,CAAC,IAAI,GAAG,QAAQ,CAAC;YAC7B,YAAY,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC;YAC3B,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;YAE3C,IAAI,CAAC,mBAAmB,GAAG,YAAY,CAAC;QAC1C,CAAC;IACH,CAAC;IAED,kBAA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AC,QAAQ,IAAI,IAAI,CAAC,OAAO;YAGzC,EAAC,cAAc,qEAAK,eAAe,EAAmB,CACjD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, Element, h, Host, Prop } from '@stencil/core';\nimport { BaseButtonProps } from '../button/base-button';\nimport { 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 * @since 2.1.0\n */\n @Prop({ attribute: 'a11y-label' }) a11yLabel?: string;\n\n /**\n * Variant of button\n * @since 2.3.0 - variant danger\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 * @since 2.0.0\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"]}
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,OA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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: '4eaf3eebcdaddee356a4c0ab41de10ef47eb45a6', class: Object.assign(Object.assign({}, this.getIconSizeClass()), { disabled: this.disabled || this.loading }) }, h(BaseIconButton, Object.assign({ key: '5d137a0c0c34cd940efb6be5ec02acde47e2a660' }, baseButtonProps))));
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;AAE5C;;GAEG;AAMH,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;QAE1C;;WAEG;QACK,YAAO,GAAY,KAAK,CAAC;KAsFlC;IA7ES,2BAA2B;QACjC,OAAO,IAAI,CAAC,OAAO,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC;IACpE,CAAC;IAEO,gBAAgB;QACtB,OAAO,CAAC,IAAI,CACV,yHAAyH,CAC1H,CAAC;IACJ,CAAC;IAGD,eAAe;QACb,IAAI,IAAI,CAAC,2BAA2B,EAAE,EAAE,CAAC;YACvC,IAAI,CAAC,gBAAgB,EAAE,CAAC;QAC1B,CAAC;IACH,CAAC;IAGD,aAAa;QACX,IAAI,CAAC,eAAe,EAAE,CAAC;IACzB,CAAC;IAGD,eAAe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AAmB,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/**\n * @since 2.0.0\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"]}
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,Y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,IAAI,CAAC,KAAK;YACjB,QAAQ,EAAE,IAAI;YACd,QAAQ,EAAE,KAAK;YACf,QAAQ,EAAE,IAAI,CAAC,OAAO;YACtB,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,OAAO;YACvC,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,QAAQ,EAAE,IAAI,CAAC,IAAI;YACnB,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.maxLength ? Number(props.minLength) : undefined, ref: props.inputRef, pattern: props.pattern, type: props.type, class: {
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,CAAC,KAmB/B;IACC,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,SAA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","sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { MakeRef } from '../utils/make-ref';\nimport { A11yAttributes } from '../utils/a11y';\n\nexport function TextareaElement(props: {\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 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(props: {\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 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 return (\n <input\n id={props.id}\n autoComplete=\"off\"\n readOnly={props.readonly}\n disabled={props.disabled}\n min={props.min}\n max={props.max}\n maxLength={props.maxLength ? Number(props.maxLength) : undefined}\n minLength={props.maxLength ? 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"]}
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,EAAE,KAAK,CAAC,YA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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
- * @since 2.6.0
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: 'e97028201512da11b9689b345c9fa798067eb763', class: {
126
+ return (h(Host, { key: '48a3eeafce2c7449aac74866ce083b2985b788c3', class: {
122
127
  disabled: this.disabled,
123
128
  readonly: this.readonly,
124
- } }, h("ix-field-wrapper", { key: '922e59e33affd1e1fb0ddabad74adb65b91ed1a1', 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: 'a01046da7f1c0ef87780ef6535fc15941df56605', class: "input-wrapper" }, h(SlotStart, { key: 'e35395215ee831413792f31d021d65b36106a002', slotStartRef: this.slotStartRef, onSlotChange: () => this.updatePaddings() }), h(InputElement, { key: 'ef08393ffd6f5715e9493bec32ee652177cf11fc', 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: () => {
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: 'a21e3d12f0525430e8898a9b979c1e038fd2a76f', slotEndRef: this.slotEndRef, onSlotChange: () => this.updatePaddings() }, h("ix-icon-button", { key: '1c45547f969085a5b484143c5f1b1de3d801696d', color: "color-weak-text", class: {
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: '8d699ee76f3b7be660c5b8bab57a9d18f6abb769', class: "bottom-text", slot: "bottom-right", textColor: "soft" }, (_a = this.value) === null || _a === void 0 ? void 0 :
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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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,yBAAy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I,CAAC,SAAS,GAAG,MAAM,CAAC;oCACxB,OAAO;gCACT,CAAC;gCAED,IAAI,CAAC,SAAS,GAAG,UAAU,CAAC;4BAC9B,CAAC,GACe,CACV,CACN;gBACL,CAAC,CAAC,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,SAAS,GAAG,CAAC,IAAI,CACzC,sEACE,KAAK,EAAC,aAAa,EACnB,IAAI,EAAC,cAAc,EACnB,SAAS,EAAC,MAAM,IAEf,MAAA,IAAI,CAAC,KAAK;uBAAE,MAAM;;oBAAG,IAAI,CAAC,SAAS,CACtB,CACjB,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
- * @since 2.6.0
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
- return Promise.resolve(!!this.value);
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: 'd4634b3d7387e9403d4096dad8b64cdf86ddc0b2', class: {
114
+ return (h(Host, { key: 'ef8acf686290210f136f6915caaf93519742a5c6', class: {
112
115
  disabled: this.disabled,
113
116
  readonly: this.readonly,
114
- } }, h("ix-field-wrapper", { key: 'ca8e3d7619f510b33ceca78b34babae22c8a5c2d', 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: '601c1efa7d76fccf3b0531ba5838dff6ac9ef988', class: {
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: '6227a18e452b881a6f0105371903db926de6be97', slotStartRef: this.slotStartRef, onSlotChange: () => this.updatePaddings() }), h(InputElement, { key: 'b1cf7b50b9081d242886b5c8e8fd17ec18af632e', id: this.numberInputId, readonly: this.readonly, disabled: this.disabled, 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: () => {
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: 'ac36b5e13529d3289ead6bfe3a0df8a8a01968d3', slotEndRef: this.slotEndRef, onSlotChange: () => this.updatePaddings() }, h("div", { key: '2945f7bb4991960113e0b546fafb350840118fd0', class: {
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: '87d23accd5a945e28ce9e327eaee2a3eaccd42a7', ghost: true, icon: iconMinus, size: "16", class: "number-stepper-button step-minus", onClick: () => {
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: '8f1a862f4ef4a87593fb24cf1d1d993c85f3855e', ghost: true, icon: iconPlus, size: "16", class: "number-stepper-button step-plus", onClick: () => {
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
  }