@siemens/ix 0.0.0-pr-2155-20250924075220 → 0.0.0-pr-2166-20251001083917

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 (786) hide show
  1. package/components/index.js +1 -1
  2. package/components/index.js.map +1 -1
  3. package/components/ix-action-card.js +1 -1
  4. package/components/ix-application-header.js +1 -1
  5. package/components/ix-application-switch-modal.js +4 -4
  6. package/components/ix-application.js +1 -1
  7. package/components/ix-avatar.js +1 -1
  8. package/components/ix-basic-navigation.js +6 -6
  9. package/components/ix-blind.js +1 -1
  10. package/components/ix-breadcrumb-item.js +1 -1
  11. package/components/ix-breadcrumb.js +9 -9
  12. package/components/ix-breadcrumb.js.map +1 -1
  13. package/components/ix-card-list.js +8 -8
  14. package/components/ix-card-list.js.map +1 -1
  15. package/components/ix-category-filter.js +14 -23
  16. package/components/ix-category-filter.js.map +1 -1
  17. package/components/ix-checkbox-group.js +4 -4
  18. package/components/ix-checkbox.js +1 -1
  19. package/components/ix-chip.js +12 -13
  20. package/components/ix-chip.js.map +1 -1
  21. package/components/ix-content-header.js +2 -2
  22. package/components/ix-custom-field.js +4 -4
  23. package/components/ix-date-dropdown.js +18 -18
  24. package/components/ix-date-dropdown.js.map +1 -1
  25. package/components/ix-date-input.js +10 -10
  26. package/components/ix-date-input.js.map +1 -1
  27. package/components/ix-date-picker.js +1 -1
  28. package/components/ix-date-time-card.js +1 -1
  29. package/components/ix-datetime-picker.js +12 -33
  30. package/components/ix-datetime-picker.js.map +1 -1
  31. package/components/ix-drawer.js +7 -6
  32. package/components/ix-drawer.js.map +1 -1
  33. package/components/ix-dropdown-button.js +2 -2
  34. package/components/ix-dropdown-header.js +1 -1
  35. package/components/ix-dropdown.js +1 -1
  36. package/components/ix-empty-state.js +1 -1
  37. package/components/ix-event-list-item.js.map +1 -1
  38. package/components/ix-event-list.js +4 -4
  39. package/components/ix-event-list.js.map +1 -1
  40. package/components/ix-expanding-search.js +1 -1
  41. package/components/ix-field-label.js +1 -1
  42. package/components/ix-field-wrapper.js +1 -1
  43. package/components/ix-filter-chip.js +1 -1
  44. package/components/ix-flip-tile.js +1 -1
  45. package/components/ix-group-context-menu.js +1 -1
  46. package/components/ix-group-item.js +1 -1
  47. package/components/ix-group.js +23 -23
  48. package/components/ix-group.js.map +1 -1
  49. package/components/ix-helper-text.js +2 -2
  50. package/components/ix-icon-button.js +1 -1
  51. package/components/ix-icon-toggle-button.js +1 -1
  52. package/components/ix-input.js +9 -9
  53. package/components/ix-key-value-list.js +1 -1
  54. package/components/ix-key-value.js +1 -1
  55. package/components/ix-kpi.js +3 -3
  56. package/components/ix-layout-auto.js +1 -1
  57. package/components/ix-layout-grid.js +1 -1
  58. package/components/ix-link-button.js +3 -3
  59. package/components/ix-map-navigation-overlay.js +1 -1
  60. package/components/ix-map-navigation.js +9 -8
  61. package/components/ix-map-navigation.js.map +1 -1
  62. package/components/ix-menu-about-item.js +1 -1
  63. package/components/ix-menu-about-news.js +8 -8
  64. package/components/ix-menu-about-news.js.map +1 -1
  65. package/components/ix-menu-about.js +2 -2
  66. package/components/ix-menu-avatar-item.js +1 -1
  67. package/components/ix-menu-avatar.js +12 -12
  68. package/components/ix-menu-avatar.js.map +1 -1
  69. package/components/ix-menu-category.js +9 -9
  70. package/components/ix-menu-expand-icon.js +1 -1
  71. package/components/ix-menu-item.js +1 -1
  72. package/components/ix-menu-settings-item.js +1 -1
  73. package/components/ix-menu-settings.js +1 -1
  74. package/components/ix-menu.js +29 -29
  75. package/components/ix-menu.js.map +1 -1
  76. package/components/ix-message-bar.js +6 -8
  77. package/components/ix-message-bar.js.map +1 -1
  78. package/components/ix-modal-content.js +1 -1
  79. package/components/ix-modal-footer.js +1 -1
  80. package/components/ix-modal-header.js +1 -1
  81. package/components/ix-modal-loading.js +1 -1
  82. package/components/ix-modal.js +16 -16
  83. package/components/ix-modal.js.map +1 -1
  84. package/components/ix-number-input.js +11 -11
  85. package/components/ix-pagination.js +20 -21
  86. package/components/ix-pagination.js.map +1 -1
  87. package/components/ix-pane-layout.js +1 -1
  88. package/components/ix-pane.js +9 -9
  89. package/components/ix-pane.js.map +1 -1
  90. package/components/ix-pill.js +2 -2
  91. package/components/ix-progress-indicator.js +2 -2
  92. package/components/ix-push-card.js +5 -5
  93. package/components/ix-push-card.js.map +1 -1
  94. package/components/ix-radio-group.js +4 -4
  95. package/components/ix-radio.js +1 -1
  96. package/components/ix-select.js +1 -1
  97. package/components/ix-slider.js +3 -3
  98. package/components/ix-slider.js.map +1 -1
  99. package/components/ix-split-button.js +2 -2
  100. package/components/ix-textarea.js +6 -6
  101. package/components/ix-time-input.js +9 -9
  102. package/components/ix-time-input.js.map +1 -1
  103. package/components/ix-time-picker.js +1 -1
  104. package/components/ix-toast-container.js +8 -8
  105. package/components/ix-toast-container.js.map +1 -1
  106. package/components/ix-toast.js +1 -1
  107. package/components/ix-toggle.js +4 -4
  108. package/components/ix-tooltip.js +1 -1
  109. package/components/ix-tree-item.js +1 -1
  110. package/components/ix-tree.js +2 -2
  111. package/components/ix-typography.js +1 -1
  112. package/components/ix-upload.js +5 -5
  113. package/components/ix-upload.js.map +1 -1
  114. package/components/ix-workflow-step.js +3 -3
  115. package/components/ix-workflow-steps.js +1 -1
  116. package/components/{p-BFuOBAQB.js → p-7-Wnr7e5.js} +6 -12
  117. package/components/p-7-Wnr7e5.js.map +1 -0
  118. package/components/{p-DG42PUVX.js → p-BLcKiU45.js} +3 -3
  119. package/components/{p-DG42PUVX.js.map → p-BLcKiU45.js.map} +1 -1
  120. package/components/{p-DJ6v85WG.js → p-BNYHD56q.js} +23 -23
  121. package/components/p-BNYHD56q.js.map +1 -0
  122. package/components/{p-Dauav1c7.js → p-BU9xngEb.js} +7 -7
  123. package/components/{p-Dauav1c7.js.map → p-BU9xngEb.js.map} +1 -1
  124. package/components/{p-DRlGkOeX.js → p-Ba6JlSP8.js} +5 -5
  125. package/components/{p-DRlGkOeX.js.map → p-Ba6JlSP8.js.map} +1 -1
  126. package/components/{p-BSiqAMAr.js → p-Baga5bu5.js} +6 -6
  127. package/components/{p-BSiqAMAr.js.map → p-Baga5bu5.js.map} +1 -1
  128. package/components/{p-B3IsQckh.js → p-Bc15ecXv.js} +12 -12
  129. package/components/p-Bc15ecXv.js.map +1 -0
  130. package/components/{p-CGPMGyof.js → p-BmLRwuMH.js} +5 -6
  131. package/components/p-BmLRwuMH.js.map +1 -0
  132. package/components/{p-B5cVFUyk.js → p-BruPthTZ.js} +15 -69
  133. package/components/p-BruPthTZ.js.map +1 -0
  134. package/components/{p-BrgHqrnH.js → p-C4MK63gz.js} +3 -3
  135. package/components/{p-BrgHqrnH.js.map → p-C4MK63gz.js.map} +1 -1
  136. package/components/{p-CrIOsOo-.js → p-C8wXJCK3.js} +3 -3
  137. package/components/{p-CrIOsOo-.js.map → p-C8wXJCK3.js.map} +1 -1
  138. package/components/{p-GkRC08qs.js → p-CfOUCcs9.js} +3 -3
  139. package/components/{p-GkRC08qs.js.map → p-CfOUCcs9.js.map} +1 -1
  140. package/{dist/esm/floating-ui.dom-CAqtPJ4-.js → components/p-CiSM2A9Q.js} +102 -3
  141. package/components/p-CiSM2A9Q.js.map +1 -0
  142. package/components/{p-BpW9tS2k.js → p-Cx5H0GeI.js} +21 -21
  143. package/components/p-Cx5H0GeI.js.map +1 -0
  144. package/components/{p-C3irznVN.js → p-D3ZlTDAF.js} +3 -3
  145. package/components/{p-C3irznVN.js.map → p-D3ZlTDAF.js.map} +1 -1
  146. package/components/{p-CwwKrs4u.js → p-DE74-VWH.js} +9 -9
  147. package/components/p-DE74-VWH.js.map +1 -0
  148. package/components/{p-Bquk45CV.js → p-DLcItN6d.js} +3 -3
  149. package/components/{p-Bquk45CV.js.map → p-DLcItN6d.js.map} +1 -1
  150. package/components/{p-BybP_RcT.js → p-DOGuJxKg.js} +5 -5
  151. package/components/{p-BybP_RcT.js.map → p-DOGuJxKg.js.map} +1 -1
  152. package/components/{p-DZNnQyWO.js → p-DSF854K6.js} +3 -4
  153. package/components/p-DSF854K6.js.map +1 -0
  154. package/components/p-DVPJHakC.js +78 -0
  155. package/components/p-DVPJHakC.js.map +1 -0
  156. package/components/{p-C-7UhkWz.js → p-DaR6pX8w.js} +8 -8
  157. package/components/{p-C-7UhkWz.js.map → p-DaR6pX8w.js.map} +1 -1
  158. package/components/{p-8MS-omi7.js → p-DklPCkRW.js} +3 -3
  159. package/components/{p-8MS-omi7.js.map → p-DklPCkRW.js.map} +1 -1
  160. package/components/{p-BeegOhta.js → p-Fbu6eUjk.js} +4 -4
  161. package/components/{p-BeegOhta.js.map → p-Fbu6eUjk.js.map} +1 -1
  162. package/components/{p-ma_KYqKk.js → p-bBkFZC8X.js} +3 -3
  163. package/components/{p-ma_KYqKk.js.map → p-bBkFZC8X.js.map} +1 -1
  164. package/components/{p-CzzcLSmV.js → p-gkooEHol.js} +4 -4
  165. package/components/p-gkooEHol.js.map +1 -0
  166. package/components/{p-ClGItuSn.js → p-ts3VxLYi.js} +5 -5
  167. package/components/{p-ClGItuSn.js.map → p-ts3VxLYi.js.map} +1 -1
  168. package/components/{p-CMk-tLmg.js → p-uiKHewyI.js} +4 -4
  169. package/components/{p-CMk-tLmg.js.map → p-uiKHewyI.js.map} +1 -1
  170. package/components/{p-fDEynhA5.js → p-w319yPRv.js} +5 -5
  171. package/components/{p-fDEynhA5.js.map → p-w319yPRv.js.map} +1 -1
  172. package/dist/cjs/{floating-ui.dom-CMzYsRR7.js → find-element-BNZJcvT8.js} +103 -2
  173. package/dist/cjs/find-element-BNZJcvT8.js.map +1 -0
  174. package/dist/cjs/index-DuDLgBnw.js +0 -8
  175. package/dist/cjs/index.cjs.js +1 -1
  176. package/dist/cjs/index.cjs.js.map +1 -1
  177. package/dist/cjs/ix-application-header.cjs.entry.js +1 -1
  178. package/dist/cjs/ix-application.cjs.entry.js +1 -1
  179. package/dist/cjs/ix-avatar.ix-menu-avatar-item.entry.cjs.js.map +1 -1
  180. package/dist/cjs/ix-avatar_2.cjs.entry.js +1 -1
  181. package/dist/cjs/ix-basic-navigation.cjs.entry.js +1 -1
  182. package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +7 -7
  183. package/dist/cjs/ix-breadcrumb-item.entry.cjs.js.map +1 -1
  184. package/dist/cjs/ix-breadcrumb.cjs.entry.js +6 -6
  185. package/dist/cjs/ix-breadcrumb.entry.cjs.js.map +1 -1
  186. package/dist/cjs/ix-card-list.cjs.entry.js +4 -4
  187. package/dist/cjs/ix-card-list.entry.cjs.js.map +1 -1
  188. package/dist/cjs/ix-category-filter.cjs.entry.js +9 -17
  189. package/dist/cjs/ix-category-filter.entry.cjs.js.map +1 -1
  190. package/dist/cjs/ix-chip.cjs.entry.js +8 -9
  191. package/dist/cjs/ix-chip.entry.cjs.js.map +1 -1
  192. package/dist/cjs/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.cjs.js.map +1 -1
  193. package/dist/cjs/ix-col_4.cjs.entry.js +18 -18
  194. package/dist/cjs/ix-date-dropdown.cjs.entry.js +11 -11
  195. package/dist/cjs/ix-date-dropdown.entry.cjs.js.map +1 -1
  196. package/dist/cjs/ix-date-input.cjs.entry.js +2 -2
  197. package/dist/cjs/ix-date-input.entry.cjs.js.map +1 -1
  198. package/dist/cjs/ix-date-time-card.cjs.entry.js +3 -8
  199. package/dist/cjs/ix-date-time-card.entry.cjs.js.map +1 -1
  200. package/dist/cjs/ix-datetime-picker.cjs.entry.js +3 -21
  201. package/dist/cjs/ix-datetime-picker.entry.cjs.js.map +1 -1
  202. package/dist/cjs/ix-drawer.cjs.entry.js +6 -5
  203. package/dist/cjs/ix-drawer.entry.cjs.js.map +1 -1
  204. package/dist/cjs/ix-dropdown.cjs.entry.js +7 -8
  205. package/dist/cjs/ix-dropdown.entry.cjs.js.map +1 -1
  206. package/dist/cjs/ix-event-list-item.entry.cjs.js.map +1 -1
  207. package/dist/cjs/ix-event-list.cjs.entry.js +4 -4
  208. package/dist/cjs/ix-event-list.entry.cjs.js.map +1 -1
  209. package/dist/cjs/ix-group-context-menu.ix-group-item.entry.cjs.js.map +1 -1
  210. package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +18 -5
  211. package/dist/cjs/ix-group.cjs.entry.js +18 -18
  212. package/dist/cjs/ix-group.entry.cjs.js.map +1 -1
  213. package/dist/cjs/ix-helper-text.cjs.entry.js +1 -1
  214. package/dist/cjs/ix-icon-button.ix-spinner.entry.cjs.js.map +1 -1
  215. package/dist/cjs/ix-icon-button_2.cjs.entry.js +1 -1
  216. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +1 -1
  217. package/dist/cjs/ix-input.cjs.entry.js +4 -4
  218. package/dist/cjs/ix-key-value-list.cjs.entry.js +1 -1
  219. package/dist/cjs/ix-key-value.cjs.entry.js +1 -1
  220. package/dist/cjs/ix-kpi.cjs.entry.js +3 -3
  221. package/dist/cjs/ix-layout-auto.cjs.entry.js +1 -1
  222. package/dist/cjs/ix-link-button.cjs.entry.js +3 -3
  223. package/dist/cjs/ix-map-navigation-overlay.cjs.entry.js +2 -2
  224. package/dist/cjs/ix-map-navigation.cjs.entry.js +3 -2
  225. package/dist/cjs/ix-map-navigation.entry.cjs.js.map +1 -1
  226. package/dist/cjs/ix-menu-about-item.cjs.entry.js +1 -1
  227. package/dist/cjs/ix-menu-about-news.cjs.entry.js +5 -5
  228. package/dist/cjs/ix-menu-about-news.entry.cjs.js.map +1 -1
  229. package/dist/cjs/ix-menu-avatar.cjs.entry.js +5 -5
  230. package/dist/cjs/ix-menu-avatar.entry.cjs.js.map +1 -1
  231. package/dist/cjs/ix-menu-category.cjs.entry.js +5 -5
  232. package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +1 -1
  233. package/dist/cjs/ix-menu-item.cjs.entry.js +4 -4
  234. package/dist/cjs/ix-menu-settings-item.cjs.entry.js +1 -1
  235. package/dist/cjs/ix-menu.cjs.entry.js +18 -17
  236. package/dist/cjs/ix-menu.entry.cjs.js.map +1 -1
  237. package/dist/cjs/ix-message-bar.cjs.entry.js +4 -6
  238. package/dist/cjs/ix-message-bar.entry.cjs.js.map +1 -1
  239. package/dist/cjs/ix-modal-content_2.cjs.entry.js +2 -2
  240. package/dist/cjs/ix-modal-footer.cjs.entry.js +1 -1
  241. package/dist/cjs/ix-modal-loading.cjs.entry.js +1 -1
  242. package/dist/cjs/ix-modal.cjs.entry.js +13 -13
  243. package/dist/cjs/ix-modal.entry.cjs.js.map +1 -1
  244. package/dist/cjs/ix-number-input.cjs.entry.js +6 -6
  245. package/dist/cjs/ix-pagination.cjs.entry.js +8 -9
  246. package/dist/cjs/ix-pagination.entry.cjs.js.map +1 -1
  247. package/dist/cjs/ix-pane-layout.cjs.entry.js +1 -1
  248. package/dist/cjs/ix-pane.cjs.entry.js +7 -7
  249. package/dist/cjs/ix-pane.entry.cjs.js.map +1 -1
  250. package/dist/cjs/ix-push-card.cjs.entry.js +3 -3
  251. package/dist/cjs/ix-push-card.entry.cjs.js.map +1 -1
  252. package/dist/cjs/ix-select.cjs.entry.js +8 -8
  253. package/dist/cjs/ix-select.entry.cjs.js.map +1 -1
  254. package/dist/cjs/ix-slider.cjs.entry.js +1 -1
  255. package/dist/cjs/ix-slider.entry.cjs.js.map +1 -1
  256. package/dist/cjs/ix-textarea.cjs.entry.js +2 -2
  257. package/dist/cjs/ix-time-input.cjs.entry.js +1 -1
  258. package/dist/cjs/ix-time-input.entry.cjs.js.map +1 -1
  259. package/dist/cjs/ix-time-picker.cjs.entry.js +10 -58
  260. package/dist/cjs/ix-time-picker.entry.cjs.js.map +1 -1
  261. package/dist/cjs/ix-toast-container.cjs.entry.js +5 -5
  262. package/dist/cjs/ix-toast-container.entry.cjs.js.map +1 -1
  263. package/dist/cjs/ix-toast.cjs.entry.js +4 -4
  264. package/dist/cjs/ix-toast.entry.cjs.js.map +1 -1
  265. package/dist/cjs/ix-toggle.cjs.entry.js +3 -3
  266. package/dist/cjs/ix-tooltip.cjs.entry.js +9 -10
  267. package/dist/cjs/ix-tooltip.entry.cjs.js.map +1 -1
  268. package/dist/cjs/ix-tree-item.cjs.entry.js +4 -4
  269. package/dist/cjs/ix-tree.cjs.entry.js +1 -1
  270. package/dist/cjs/ix-typography.cjs.entry.js +1 -1
  271. package/dist/cjs/ix-upload.cjs.entry.js +3 -3
  272. package/dist/cjs/ix-upload.entry.cjs.js.map +1 -1
  273. package/dist/cjs/ix-workflow-step.cjs.entry.js +3 -3
  274. package/dist/cjs/ix-workflow-steps.cjs.entry.js +1 -1
  275. package/dist/cjs/loader.cjs.js +1 -1
  276. package/dist/cjs/{service-FGbUpQQM.js → service-DuiJmf7R.js} +4 -4
  277. package/dist/cjs/service-DuiJmf7R.js.map +1 -0
  278. package/dist/cjs/siemens-ix.cjs.js +1 -1
  279. package/dist/collection/collection-manifest.json +0 -2
  280. package/dist/collection/components/avatar/avatar.js +1 -1
  281. package/dist/collection/components/avatar/avatar.js.map +1 -1
  282. package/dist/collection/components/breadcrumb/breadcrumb.js +9 -9
  283. package/dist/collection/components/breadcrumb/breadcrumb.js.map +1 -1
  284. package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +16 -16
  285. package/dist/collection/components/breadcrumb-item/breadcrumb-item.js.map +1 -1
  286. package/dist/collection/components/card-list/card-list.js +6 -6
  287. package/dist/collection/components/card-list/card-list.js.map +1 -1
  288. package/dist/collection/components/category-filter/category-filter.js +15 -46
  289. package/dist/collection/components/category-filter/category-filter.js.map +1 -1
  290. package/dist/collection/components/chip/chip.js +12 -13
  291. package/dist/collection/components/chip/chip.js.map +1 -1
  292. package/dist/collection/components/date-dropdown/date-dropdown.js +19 -19
  293. package/dist/collection/components/date-dropdown/date-dropdown.js.map +1 -1
  294. package/dist/collection/components/date-input/date-input.js +2 -2
  295. package/dist/collection/components/date-input/date-input.js.map +1 -1
  296. package/dist/collection/components/date-picker/date-picker-component.js.map +1 -1
  297. package/dist/collection/components/date-picker/date-picker.js +23 -23
  298. package/dist/collection/components/date-picker/date-picker.js.map +1 -1
  299. package/dist/collection/components/date-time-card/date-time-card.js +5 -30
  300. package/dist/collection/components/date-time-card/date-time-card.js.map +1 -1
  301. package/dist/collection/components/datetime-picker/datetime-picker.js +8 -95
  302. package/dist/collection/components/datetime-picker/datetime-picker.js.map +1 -1
  303. package/dist/collection/components/drawer/drawer.js +6 -5
  304. package/dist/collection/components/drawer/drawer.js.map +1 -1
  305. package/dist/collection/components/event-list/event-list.js +6 -6
  306. package/dist/collection/components/event-list/event-list.js.map +1 -1
  307. package/dist/collection/components/group/group.css +12 -0
  308. package/dist/collection/components/group/group.js +23 -23
  309. package/dist/collection/components/group/group.js.map +1 -1
  310. package/dist/collection/components/group-item/group-item.css +22 -6
  311. package/dist/collection/components/group-item/group-item.js +44 -8
  312. package/dist/collection/components/group-item/group-item.js.map +1 -1
  313. package/dist/collection/components/helper-text/helper-text.js +1 -1
  314. package/dist/collection/components/icon-button/icon-button.js +2 -2
  315. package/dist/collection/components/icon-button/icon-button.js.map +1 -1
  316. package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +1 -1
  317. package/dist/collection/components/input/input.js +4 -4
  318. package/dist/collection/components/input/number-input.js +6 -6
  319. package/dist/collection/components/input/textarea.js +2 -2
  320. package/dist/collection/components/key-value/key-value.js +1 -1
  321. package/dist/collection/components/key-value-list/key-value-list.js +1 -1
  322. package/dist/collection/components/kpi/kpi.js +3 -3
  323. package/dist/collection/components/layout-auto/layout-auto.js +1 -1
  324. package/dist/collection/components/layout-grid/layout-grid.js +2 -2
  325. package/dist/collection/components/link-button/link-button.js +3 -3
  326. package/dist/collection/components/map-navigation/map-navigation.js +3 -2
  327. package/dist/collection/components/map-navigation/map-navigation.js.map +1 -1
  328. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +2 -2
  329. package/dist/collection/components/menu/menu-expand-icon.js +1 -1
  330. package/dist/collection/components/menu/menu.js +28 -47
  331. package/dist/collection/components/menu/menu.js.map +1 -1
  332. package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
  333. package/dist/collection/components/menu-about-news/menu-about-news.js +7 -7
  334. package/dist/collection/components/menu-about-news/menu-about-news.js.map +1 -1
  335. package/dist/collection/components/menu-avatar/menu-avatar.js +10 -10
  336. package/dist/collection/components/menu-avatar/menu-avatar.js.map +1 -1
  337. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
  338. package/dist/collection/components/menu-category/menu-category.js +5 -5
  339. package/dist/collection/components/menu-item/menu-item.js +4 -4
  340. package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
  341. package/dist/collection/components/message-bar/message-bar.js +11 -16
  342. package/dist/collection/components/message-bar/message-bar.js.map +1 -1
  343. package/dist/collection/components/modal/modal.js +29 -29
  344. package/dist/collection/components/modal/modal.js.map +1 -1
  345. package/dist/collection/components/modal-content/modal-content.js +1 -1
  346. package/dist/collection/components/modal-footer/modal-footer.js +1 -1
  347. package/dist/collection/components/modal-header/modal-header.js +1 -1
  348. package/dist/collection/components/modal-loading/modal-loading.js +1 -1
  349. package/dist/collection/components/pagination/pagination.js +18 -19
  350. package/dist/collection/components/pagination/pagination.js.map +1 -1
  351. package/dist/collection/components/pane/pane.js +6 -6
  352. package/dist/collection/components/pane/pane.js.map +1 -1
  353. package/dist/collection/components/push-card/push-card.js +7 -7
  354. package/dist/collection/components/push-card/push-card.js.map +1 -1
  355. package/dist/collection/components/select/select.js +12 -12
  356. package/dist/collection/components/select/select.js.map +1 -1
  357. package/dist/collection/components/slider/slider.css +3 -3
  358. package/dist/collection/components/time-input/time-input.js +1 -1
  359. package/dist/collection/components/time-input/time-input.js.map +1 -1
  360. package/dist/collection/components/time-picker/time-picker.js +14 -199
  361. package/dist/collection/components/time-picker/time-picker.js.map +1 -1
  362. package/dist/collection/components/toast/toast-container.js +5 -5
  363. package/dist/collection/components/toast/toast-container.js.map +1 -1
  364. package/dist/collection/components/toast/toast-utils.js.map +1 -1
  365. package/dist/collection/components/toast/toast.js +7 -7
  366. package/dist/collection/components/toast/toast.js.map +1 -1
  367. package/dist/collection/components/toggle/toggle.js +3 -3
  368. package/dist/collection/components/tooltip/tooltip.js +1 -1
  369. package/dist/collection/components/tree/tree.js +1 -1
  370. package/dist/collection/components/tree-item/tree-item.js +4 -4
  371. package/dist/collection/components/typography/typography.js +1 -1
  372. package/dist/collection/components/upload/upload.js +5 -5
  373. package/dist/collection/components/upload/upload.js.map +1 -1
  374. package/dist/collection/components/utils/application-layout/service.js +2 -2
  375. package/dist/collection/components/utils/application-layout/service.js.map +1 -1
  376. package/dist/collection/components/utils/modal/loading.js +1 -1
  377. package/dist/collection/components/utils/modal/loading.js.map +1 -1
  378. package/dist/collection/components/workflow-step/workflow-step.js +3 -3
  379. package/dist/collection/components/workflow-steps/workflow-steps.js +1 -1
  380. package/dist/collection/tests/utils/test/page.js +2 -2
  381. package/dist/collection/tests/utils/test/page.js.map +1 -1
  382. package/{components/p-CAqtPJ4-.js → dist/esm/find-element-CiSM2A9Q.js} +102 -3
  383. package/dist/esm/find-element-CiSM2A9Q.js.map +1 -0
  384. package/dist/esm/index-DGODjp4O.js +0 -8
  385. package/dist/esm/index.js +1 -1
  386. package/dist/esm/index.js.map +1 -1
  387. package/dist/esm/ix-application-header.entry.js +1 -1
  388. package/dist/esm/ix-application.entry.js +1 -1
  389. package/dist/esm/ix-avatar.ix-menu-avatar-item.entry.js.map +1 -1
  390. package/dist/esm/ix-avatar_2.entry.js +1 -1
  391. package/dist/esm/ix-basic-navigation.entry.js +1 -1
  392. package/dist/esm/ix-breadcrumb-item.entry.js +7 -7
  393. package/dist/esm/ix-breadcrumb-item.entry.js.map +1 -1
  394. package/dist/esm/ix-breadcrumb.entry.js +6 -6
  395. package/dist/esm/ix-breadcrumb.entry.js.map +1 -1
  396. package/dist/esm/ix-card-list.entry.js +4 -4
  397. package/dist/esm/ix-card-list.entry.js.map +1 -1
  398. package/dist/esm/ix-category-filter.entry.js +9 -17
  399. package/dist/esm/ix-category-filter.entry.js.map +1 -1
  400. package/dist/esm/ix-chip.entry.js +8 -9
  401. package/dist/esm/ix-chip.entry.js.map +1 -1
  402. package/dist/esm/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.js.map +1 -1
  403. package/dist/esm/ix-col_4.entry.js +18 -18
  404. package/dist/esm/ix-date-dropdown.entry.js +11 -11
  405. package/dist/esm/ix-date-dropdown.entry.js.map +1 -1
  406. package/dist/esm/ix-date-input.entry.js +2 -2
  407. package/dist/esm/ix-date-input.entry.js.map +1 -1
  408. package/dist/esm/ix-date-time-card.entry.js +3 -8
  409. package/dist/esm/ix-date-time-card.entry.js.map +1 -1
  410. package/dist/esm/ix-datetime-picker.entry.js +3 -21
  411. package/dist/esm/ix-datetime-picker.entry.js.map +1 -1
  412. package/dist/esm/ix-drawer.entry.js +6 -5
  413. package/dist/esm/ix-drawer.entry.js.map +1 -1
  414. package/dist/esm/ix-dropdown.entry.js +1 -2
  415. package/dist/esm/ix-dropdown.entry.js.map +1 -1
  416. package/dist/esm/ix-event-list-item.entry.js.map +1 -1
  417. package/dist/esm/ix-event-list.entry.js +4 -4
  418. package/dist/esm/ix-event-list.entry.js.map +1 -1
  419. package/dist/esm/ix-group-context-menu.ix-group-item.entry.js.map +1 -1
  420. package/dist/esm/ix-group-context-menu_2.entry.js +18 -5
  421. package/dist/esm/ix-group.entry.js +19 -19
  422. package/dist/esm/ix-group.entry.js.map +1 -1
  423. package/dist/esm/ix-helper-text.entry.js +1 -1
  424. package/dist/esm/ix-icon-button.ix-spinner.entry.js.map +1 -1
  425. package/dist/esm/ix-icon-button_2.entry.js +1 -1
  426. package/dist/esm/ix-icon-toggle-button.entry.js +1 -1
  427. package/dist/esm/ix-input.entry.js +4 -4
  428. package/dist/esm/ix-key-value-list.entry.js +1 -1
  429. package/dist/esm/ix-key-value.entry.js +1 -1
  430. package/dist/esm/ix-kpi.entry.js +3 -3
  431. package/dist/esm/ix-layout-auto.entry.js +1 -1
  432. package/dist/esm/ix-link-button.entry.js +3 -3
  433. package/dist/esm/ix-map-navigation-overlay.entry.js +2 -2
  434. package/dist/esm/ix-map-navigation.entry.js +3 -2
  435. package/dist/esm/ix-map-navigation.entry.js.map +1 -1
  436. package/dist/esm/ix-menu-about-item.entry.js +1 -1
  437. package/dist/esm/ix-menu-about-news.entry.js +5 -5
  438. package/dist/esm/ix-menu-about-news.entry.js.map +1 -1
  439. package/dist/esm/ix-menu-avatar.entry.js +5 -5
  440. package/dist/esm/ix-menu-avatar.entry.js.map +1 -1
  441. package/dist/esm/ix-menu-category.entry.js +5 -5
  442. package/dist/esm/ix-menu-expand-icon.entry.js +1 -1
  443. package/dist/esm/ix-menu-item.entry.js +4 -4
  444. package/dist/esm/ix-menu-settings-item.entry.js +1 -1
  445. package/dist/esm/ix-menu.entry.js +18 -17
  446. package/dist/esm/ix-menu.entry.js.map +1 -1
  447. package/dist/esm/ix-message-bar.entry.js +4 -6
  448. package/dist/esm/ix-message-bar.entry.js.map +1 -1
  449. package/dist/esm/ix-modal-content_2.entry.js +2 -2
  450. package/dist/esm/ix-modal-footer.entry.js +1 -1
  451. package/dist/esm/ix-modal-loading.entry.js +1 -1
  452. package/dist/esm/ix-modal.entry.js +13 -13
  453. package/dist/esm/ix-modal.entry.js.map +1 -1
  454. package/dist/esm/ix-number-input.entry.js +6 -6
  455. package/dist/esm/ix-pagination.entry.js +8 -9
  456. package/dist/esm/ix-pagination.entry.js.map +1 -1
  457. package/dist/esm/ix-pane-layout.entry.js +1 -1
  458. package/dist/esm/ix-pane.entry.js +7 -7
  459. package/dist/esm/ix-pane.entry.js.map +1 -1
  460. package/dist/esm/ix-push-card.entry.js +3 -3
  461. package/dist/esm/ix-push-card.entry.js.map +1 -1
  462. package/dist/esm/ix-select.entry.js +8 -8
  463. package/dist/esm/ix-select.entry.js.map +1 -1
  464. package/dist/esm/ix-slider.entry.js +1 -1
  465. package/dist/esm/ix-slider.entry.js.map +1 -1
  466. package/dist/esm/ix-textarea.entry.js +2 -2
  467. package/dist/esm/ix-time-input.entry.js +1 -1
  468. package/dist/esm/ix-time-input.entry.js.map +1 -1
  469. package/dist/esm/ix-time-picker.entry.js +10 -58
  470. package/dist/esm/ix-time-picker.entry.js.map +1 -1
  471. package/dist/esm/ix-toast-container.entry.js +5 -5
  472. package/dist/esm/ix-toast-container.entry.js.map +1 -1
  473. package/dist/esm/ix-toast.entry.js +4 -4
  474. package/dist/esm/ix-toast.entry.js.map +1 -1
  475. package/dist/esm/ix-toggle.entry.js +3 -3
  476. package/dist/esm/ix-tooltip.entry.js +2 -3
  477. package/dist/esm/ix-tooltip.entry.js.map +1 -1
  478. package/dist/esm/ix-tree-item.entry.js +4 -4
  479. package/dist/esm/ix-tree.entry.js +1 -1
  480. package/dist/esm/ix-typography.entry.js +1 -1
  481. package/dist/esm/ix-upload.entry.js +3 -3
  482. package/dist/esm/ix-upload.entry.js.map +1 -1
  483. package/dist/esm/ix-workflow-step.entry.js +3 -3
  484. package/dist/esm/ix-workflow-steps.entry.js +1 -1
  485. package/dist/esm/loader.js +1 -1
  486. package/dist/esm/{service-ktcE7NzB.js → service-Da0kv8hS.js} +4 -4
  487. package/dist/esm/service-Da0kv8hS.js.map +1 -0
  488. package/dist/esm/siemens-ix.js +1 -1
  489. package/dist/siemens-ix/index.esm.js +1 -1
  490. package/dist/siemens-ix/index.esm.js.map +1 -1
  491. package/dist/siemens-ix/ix-avatar.ix-menu-avatar-item.entry.esm.js.map +1 -1
  492. package/dist/siemens-ix/ix-breadcrumb-item.entry.esm.js.map +1 -1
  493. package/dist/siemens-ix/ix-breadcrumb.entry.esm.js.map +1 -1
  494. package/dist/siemens-ix/ix-card-list.entry.esm.js.map +1 -1
  495. package/dist/siemens-ix/ix-category-filter.entry.esm.js.map +1 -1
  496. package/dist/siemens-ix/ix-chip.entry.esm.js.map +1 -1
  497. package/dist/siemens-ix/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.esm.js.map +1 -1
  498. package/dist/siemens-ix/ix-date-dropdown.entry.esm.js.map +1 -1
  499. package/dist/siemens-ix/ix-date-input.entry.esm.js.map +1 -1
  500. package/dist/siemens-ix/ix-date-time-card.entry.esm.js.map +1 -1
  501. package/dist/siemens-ix/ix-datetime-picker.entry.esm.js.map +1 -1
  502. package/dist/siemens-ix/ix-drawer.entry.esm.js.map +1 -1
  503. package/dist/siemens-ix/ix-dropdown.entry.esm.js.map +1 -1
  504. package/dist/siemens-ix/ix-event-list-item.entry.esm.js.map +1 -1
  505. package/dist/siemens-ix/ix-event-list.entry.esm.js.map +1 -1
  506. package/dist/siemens-ix/ix-group-context-menu.ix-group-item.entry.esm.js.map +1 -1
  507. package/dist/siemens-ix/ix-group.entry.esm.js.map +1 -1
  508. package/dist/siemens-ix/ix-icon-button.ix-spinner.entry.esm.js.map +1 -1
  509. package/dist/siemens-ix/ix-map-navigation.entry.esm.js.map +1 -1
  510. package/dist/siemens-ix/ix-menu-about-news.entry.esm.js.map +1 -1
  511. package/dist/siemens-ix/ix-menu-avatar.entry.esm.js.map +1 -1
  512. package/dist/siemens-ix/ix-menu.entry.esm.js.map +1 -1
  513. package/dist/siemens-ix/ix-message-bar.entry.esm.js.map +1 -1
  514. package/dist/siemens-ix/ix-modal.entry.esm.js.map +1 -1
  515. package/dist/siemens-ix/ix-pagination.entry.esm.js.map +1 -1
  516. package/dist/siemens-ix/ix-pane.entry.esm.js.map +1 -1
  517. package/dist/siemens-ix/ix-push-card.entry.esm.js.map +1 -1
  518. package/dist/siemens-ix/ix-select.entry.esm.js.map +1 -1
  519. package/dist/siemens-ix/ix-slider.entry.esm.js.map +1 -1
  520. package/dist/siemens-ix/ix-time-input.entry.esm.js.map +1 -1
  521. package/dist/siemens-ix/ix-time-picker.entry.esm.js.map +1 -1
  522. package/dist/siemens-ix/ix-toast-container.entry.esm.js.map +1 -1
  523. package/dist/siemens-ix/ix-toast.entry.esm.js.map +1 -1
  524. package/dist/siemens-ix/ix-tooltip.entry.esm.js.map +1 -1
  525. package/dist/siemens-ix/ix-upload.entry.esm.js.map +1 -1
  526. package/dist/siemens-ix/{p-90bd8d7b.entry.js → p-0ba7d263.entry.js} +2 -2
  527. package/dist/siemens-ix/{p-f455c56a.entry.js → p-111687a2.entry.js} +2 -2
  528. package/dist/siemens-ix/{p-c418674c.entry.js → p-13fb0104.entry.js} +2 -2
  529. package/dist/siemens-ix/{p-c418674c.entry.js.map → p-13fb0104.entry.js.map} +1 -1
  530. package/dist/siemens-ix/{p-8b3cfb2d.entry.js → p-1ac88556.entry.js} +2 -2
  531. package/dist/siemens-ix/{p-95d4d849.entry.js → p-1bd1380b.entry.js} +2 -2
  532. package/dist/siemens-ix/{p-5849a210.entry.js → p-1cd4280f.entry.js} +2 -2
  533. package/dist/siemens-ix/{p-48b0fef4.entry.js → p-2041357d.entry.js} +2 -2
  534. package/dist/siemens-ix/{p-fbd896c5.entry.js → p-21106fcd.entry.js} +2 -2
  535. package/dist/siemens-ix/p-21106fcd.entry.js.map +1 -0
  536. package/dist/siemens-ix/{p-52dc3ba0.entry.js → p-28fe8512.entry.js} +2 -2
  537. package/dist/siemens-ix/{p-4263f3b6.entry.js → p-2b046df5.entry.js} +2 -2
  538. package/dist/siemens-ix/{p-71e94914.entry.js → p-32203c19.entry.js} +2 -2
  539. package/dist/siemens-ix/p-32203c19.entry.js.map +1 -0
  540. package/dist/siemens-ix/{p-1b2e4b8f.entry.js → p-331f1b60.entry.js} +2 -2
  541. package/dist/siemens-ix/{p-99ad8022.entry.js → p-38f9b6e2.entry.js} +2 -2
  542. package/dist/siemens-ix/p-38f9b6e2.entry.js.map +1 -0
  543. package/dist/siemens-ix/p-3f06687e.entry.js +2 -0
  544. package/dist/siemens-ix/p-3f06687e.entry.js.map +1 -0
  545. package/dist/siemens-ix/{p-92032674.entry.js → p-566a58f4.entry.js} +2 -2
  546. package/dist/siemens-ix/p-566a58f4.entry.js.map +1 -0
  547. package/dist/siemens-ix/p-5d48f9cb.entry.js +2 -0
  548. package/dist/siemens-ix/p-5d48f9cb.entry.js.map +1 -0
  549. package/dist/siemens-ix/p-5f7943f2.entry.js +2 -0
  550. package/dist/siemens-ix/{p-d0d972c2.entry.js.map → p-5f7943f2.entry.js.map} +1 -1
  551. package/dist/siemens-ix/{p-85727880.entry.js → p-639d0d7f.entry.js} +2 -2
  552. package/dist/siemens-ix/p-639d0d7f.entry.js.map +1 -0
  553. package/dist/siemens-ix/{p-faa47c0e.entry.js → p-6645d4ee.entry.js} +2 -2
  554. package/dist/siemens-ix/p-670d5b84.entry.js +2 -0
  555. package/dist/siemens-ix/p-670d5b84.entry.js.map +1 -0
  556. package/dist/siemens-ix/{p-eba51393.entry.js → p-7060645f.entry.js} +2 -2
  557. package/dist/siemens-ix/p-71a38f35.entry.js +2 -0
  558. package/dist/siemens-ix/{p-416886d6.entry.js → p-75edf091.entry.js} +2 -2
  559. package/dist/siemens-ix/p-75edf091.entry.js.map +1 -0
  560. package/dist/siemens-ix/{p-81c8d542.entry.js → p-75f4bbb1.entry.js} +2 -2
  561. package/dist/siemens-ix/{p-03c6893a.entry.js → p-78797f4b.entry.js} +2 -2
  562. package/dist/siemens-ix/p-78797f4b.entry.js.map +1 -0
  563. package/dist/siemens-ix/{p-09cce59e.entry.js → p-800f59a7.entry.js} +2 -2
  564. package/dist/siemens-ix/p-800f59a7.entry.js.map +1 -0
  565. package/dist/siemens-ix/p-86ac2254.entry.js +2 -0
  566. package/dist/siemens-ix/p-86ac2254.entry.js.map +1 -0
  567. package/dist/siemens-ix/p-8bd3f89a.entry.js +2 -0
  568. package/dist/siemens-ix/p-8bd3f89a.entry.js.map +1 -0
  569. package/dist/siemens-ix/{p-a76a69fb.entry.js → p-8c612656.entry.js} +2 -2
  570. package/dist/siemens-ix/{p-5140e6e6.entry.js → p-91fa3ab0.entry.js} +2 -2
  571. package/dist/siemens-ix/{p-f29eaee8.entry.js → p-9272ae83.entry.js} +2 -2
  572. package/dist/siemens-ix/{p-c8cf26c5.entry.js → p-96533ffc.entry.js} +2 -2
  573. package/dist/siemens-ix/p-96533ffc.entry.js.map +1 -0
  574. package/dist/siemens-ix/p-98ab64dc.entry.js +2 -0
  575. package/dist/siemens-ix/p-98ab64dc.entry.js.map +1 -0
  576. package/dist/siemens-ix/p-9a8188a7.entry.js +2 -0
  577. package/dist/siemens-ix/p-9a8188a7.entry.js.map +1 -0
  578. package/dist/siemens-ix/{p-f6d678a6.entry.js → p-9b88a932.entry.js} +2 -2
  579. package/dist/siemens-ix/{p-7a108b0d.entry.js → p-9dbfd7cd.entry.js} +2 -2
  580. package/dist/siemens-ix/p-CiSM2A9Q.js +2 -0
  581. package/dist/siemens-ix/p-CiSM2A9Q.js.map +1 -0
  582. package/dist/siemens-ix/p-a6612a5b.entry.js +2 -0
  583. package/dist/siemens-ix/{p-00a10004.entry.js → p-a7cb47ca.entry.js} +2 -2
  584. package/dist/siemens-ix/p-a7cb47ca.entry.js.map +1 -0
  585. package/dist/siemens-ix/p-ac1f35ad.entry.js +2 -0
  586. package/dist/siemens-ix/p-ac1f35ad.entry.js.map +1 -0
  587. package/dist/siemens-ix/{p-4b88c430.entry.js → p-ae2e5e0c.entry.js} +2 -2
  588. package/dist/siemens-ix/{p-4b88c430.entry.js.map → p-ae2e5e0c.entry.js.map} +1 -1
  589. package/dist/siemens-ix/{p-6c2818da.entry.js → p-b895b3db.entry.js} +2 -2
  590. package/dist/siemens-ix/p-b895b3db.entry.js.map +1 -0
  591. package/dist/siemens-ix/{p-cd11dfa8.entry.js → p-bb878ea4.entry.js} +2 -2
  592. package/dist/siemens-ix/p-bc7fc8b2.entry.js +2 -0
  593. package/dist/siemens-ix/p-bc7fc8b2.entry.js.map +1 -0
  594. package/dist/siemens-ix/{p-0469aec7.entry.js → p-bf2374a0.entry.js} +2 -2
  595. package/dist/siemens-ix/p-c10b2e40.entry.js +2 -0
  596. package/dist/siemens-ix/{p-5c109476.entry.js → p-c248940f.entry.js} +2 -2
  597. package/dist/siemens-ix/{p-162a1f2e.entry.js → p-c31b2027.entry.js} +2 -2
  598. package/dist/siemens-ix/{p-162a1f2e.entry.js.map → p-c31b2027.entry.js.map} +1 -1
  599. package/dist/siemens-ix/{p-8eee6a03.entry.js → p-c413e3c4.entry.js} +2 -2
  600. package/dist/siemens-ix/{p-746b04cb.entry.js → p-c6ecc2e3.entry.js} +2 -2
  601. package/dist/siemens-ix/{p-01656234.entry.js → p-c949686e.entry.js} +2 -2
  602. package/dist/siemens-ix/{p-b6dad40c.entry.js → p-d0213ff0.entry.js} +2 -2
  603. package/dist/siemens-ix/{p-8e48a7a1.entry.js → p-d1254b5b.entry.js} +2 -2
  604. package/dist/siemens-ix/{p-a0d7af11.entry.js → p-d585e581.entry.js} +2 -2
  605. package/dist/siemens-ix/p-d6b9e253.entry.js +2 -0
  606. package/dist/siemens-ix/{p-30df3f84.entry.js.map → p-d6b9e253.entry.js.map} +1 -1
  607. package/dist/siemens-ix/{p-dd82ebbc.entry.js → p-d7c7d38b.entry.js} +2 -2
  608. package/dist/siemens-ix/{p-c446ffdb.entry.js → p-db02f4c2.entry.js} +2 -2
  609. package/dist/siemens-ix/{p-4573a8de.entry.js → p-e201fa04.entry.js} +2 -2
  610. package/dist/siemens-ix/{p-4573a8de.entry.js.map → p-e201fa04.entry.js.map} +1 -1
  611. package/dist/siemens-ix/{p-6a39d630.entry.js → p-e3a219e3.entry.js} +2 -2
  612. package/dist/siemens-ix/{p-bd369344.entry.js → p-e55cd52b.entry.js} +2 -2
  613. package/dist/siemens-ix/p-ea435816.entry.js +2 -0
  614. package/dist/siemens-ix/p-ea435816.entry.js.map +1 -0
  615. package/dist/siemens-ix/{p-14fca48a.entry.js → p-f14790b4.entry.js} +2 -2
  616. package/dist/siemens-ix/{p-53e82da9.entry.js → p-fbd0973d.entry.js} +2 -2
  617. package/dist/siemens-ix/p-fbd0973d.entry.js.map +1 -0
  618. package/dist/siemens-ix/p-fbedad11.entry.js +2 -0
  619. package/dist/siemens-ix/{p-CzzcLSmV.js → p-gkooEHol.js} +2 -2
  620. package/dist/siemens-ix/p-gkooEHol.js.map +1 -0
  621. package/dist/siemens-ix/siemens-ix-core.css +1 -1
  622. package/dist/siemens-ix/siemens-ix.css +25 -87
  623. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  624. package/dist/types/components/avatar/avatar.d.ts +1 -1
  625. package/dist/types/components/breadcrumb/breadcrumb.d.ts +1 -1
  626. package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +3 -3
  627. package/dist/types/components/category-filter/category-filter.d.ts +4 -10
  628. package/dist/types/components/chip/chip.d.ts +2 -2
  629. package/dist/types/components/date-dropdown/date-dropdown.d.ts +6 -6
  630. package/dist/types/components/date-picker/date-picker-component.d.ts +1 -1
  631. package/dist/types/components/date-picker/date-picker.d.ts +3 -3
  632. package/dist/types/components/date-time-card/date-time-card.d.ts +1 -5
  633. package/dist/types/components/datetime-picker/datetime-picker.d.ts +2 -20
  634. package/dist/types/components/event-list/event-list.d.ts +1 -1
  635. package/dist/types/components/group/group.d.ts +4 -4
  636. package/dist/types/components/group-item/group-item.d.ts +9 -2
  637. package/dist/types/components/icon-button/icon-button.d.ts +1 -1
  638. package/dist/types/components/menu/menu.d.ts +5 -4
  639. package/dist/types/components/menu-about-news/menu-about-news.d.ts +1 -1
  640. package/dist/types/components/menu-avatar/menu-avatar.d.ts +2 -2
  641. package/dist/types/components/message-bar/message-bar.d.ts +3 -4
  642. package/dist/types/components/modal/modal.d.ts +9 -9
  643. package/dist/types/components/pagination/pagination.d.ts +5 -6
  644. package/dist/types/components/push-card/push-card.d.ts +2 -2
  645. package/dist/types/components/time-picker/time-picker.d.ts +2 -40
  646. package/dist/types/components/toast/toast-utils.d.ts +24 -0
  647. package/dist/types/components/toast/toast.d.ts +1 -1
  648. package/dist/types/components.d.ts +214 -414
  649. package/hydrate/index.js +318 -705
  650. package/hydrate/index.mjs +318 -705
  651. package/package.json +1 -1
  652. package/scss/_core.scss +0 -1
  653. package/scss/theme/core/_components.scss +0 -2
  654. package/scss/theme/core/components/checkbox.scss +12 -12
  655. package/scss/theme/core/components/radiobutton.scss +12 -12
  656. package/scss/theme/core/components/slider.scss +1 -1
  657. package/components/ix-input-group.d.ts +0 -11
  658. package/components/ix-input-group.js +0 -154
  659. package/components/ix-input-group.js.map +0 -1
  660. package/components/ix-validation-tooltip.d.ts +0 -11
  661. package/components/ix-validation-tooltip.js +0 -184
  662. package/components/ix-validation-tooltip.js.map +0 -1
  663. package/components/p-B3IsQckh.js.map +0 -1
  664. package/components/p-B5cVFUyk.js.map +0 -1
  665. package/components/p-BFuOBAQB.js.map +0 -1
  666. package/components/p-BpW9tS2k.js.map +0 -1
  667. package/components/p-CAqtPJ4-.js.map +0 -1
  668. package/components/p-CFRrPFxi.js +0 -103
  669. package/components/p-CFRrPFxi.js.map +0 -1
  670. package/components/p-CGPMGyof.js.map +0 -1
  671. package/components/p-Ctze1Bh6.js +0 -64
  672. package/components/p-Ctze1Bh6.js.map +0 -1
  673. package/components/p-CwwKrs4u.js.map +0 -1
  674. package/components/p-CzzcLSmV.js.map +0 -1
  675. package/components/p-DJ6v85WG.js.map +0 -1
  676. package/components/p-DZNnQyWO.js.map +0 -1
  677. package/dist/cjs/find-element-D7yD1Ukn.js +0 -106
  678. package/dist/cjs/find-element-D7yD1Ukn.js.map +0 -1
  679. package/dist/cjs/floating-ui.dom-CMzYsRR7.js.map +0 -1
  680. package/dist/cjs/ix-input-group.cjs.entry.js +0 -130
  681. package/dist/cjs/ix-input-group.entry.cjs.js.map +0 -1
  682. package/dist/cjs/ix-validation-tooltip.cjs.entry.js +0 -155
  683. package/dist/cjs/ix-validation-tooltip.entry.cjs.js.map +0 -1
  684. package/dist/cjs/service-FGbUpQQM.js.map +0 -1
  685. package/dist/collection/components/input-group/input-group.css +0 -115
  686. package/dist/collection/components/input-group/input-group.js +0 -152
  687. package/dist/collection/components/input-group/input-group.js.map +0 -1
  688. package/dist/collection/components/validation-tooltip/validation-tooltip.css +0 -225
  689. package/dist/collection/components/validation-tooltip/validation-tooltip.js +0 -250
  690. package/dist/collection/components/validation-tooltip/validation-tooltip.js.map +0 -1
  691. package/dist/esm/find-element-CFRrPFxi.js +0 -103
  692. package/dist/esm/find-element-CFRrPFxi.js.map +0 -1
  693. package/dist/esm/floating-ui.dom-CAqtPJ4-.js.map +0 -1
  694. package/dist/esm/ix-input-group.entry.js +0 -128
  695. package/dist/esm/ix-input-group.entry.js.map +0 -1
  696. package/dist/esm/ix-validation-tooltip.entry.js +0 -153
  697. package/dist/esm/ix-validation-tooltip.entry.js.map +0 -1
  698. package/dist/esm/service-ktcE7NzB.js.map +0 -1
  699. package/dist/siemens-ix/ix-input-group.entry.esm.js.map +0 -1
  700. package/dist/siemens-ix/ix-validation-tooltip.entry.esm.js.map +0 -1
  701. package/dist/siemens-ix/p-00a10004.entry.js.map +0 -1
  702. package/dist/siemens-ix/p-03c6893a.entry.js.map +0 -1
  703. package/dist/siemens-ix/p-09cce59e.entry.js.map +0 -1
  704. package/dist/siemens-ix/p-1d0ae43f.entry.js +0 -2
  705. package/dist/siemens-ix/p-1d0ae43f.entry.js.map +0 -1
  706. package/dist/siemens-ix/p-2d3f7bb5.entry.js +0 -2
  707. package/dist/siemens-ix/p-2d3f7bb5.entry.js.map +0 -1
  708. package/dist/siemens-ix/p-2d9b7dbd.entry.js +0 -2
  709. package/dist/siemens-ix/p-2d9b7dbd.entry.js.map +0 -1
  710. package/dist/siemens-ix/p-30545ef9.entry.js +0 -2
  711. package/dist/siemens-ix/p-30728d2c.entry.js +0 -2
  712. package/dist/siemens-ix/p-30728d2c.entry.js.map +0 -1
  713. package/dist/siemens-ix/p-30df3f84.entry.js +0 -2
  714. package/dist/siemens-ix/p-3dc1d85b.entry.js +0 -2
  715. package/dist/siemens-ix/p-3dc1d85b.entry.js.map +0 -1
  716. package/dist/siemens-ix/p-416886d6.entry.js.map +0 -1
  717. package/dist/siemens-ix/p-48f01149.entry.js +0 -2
  718. package/dist/siemens-ix/p-48f01149.entry.js.map +0 -1
  719. package/dist/siemens-ix/p-53e82da9.entry.js.map +0 -1
  720. package/dist/siemens-ix/p-5bed04ac.entry.js +0 -2
  721. package/dist/siemens-ix/p-5bed04ac.entry.js.map +0 -1
  722. package/dist/siemens-ix/p-5f72640f.entry.js +0 -2
  723. package/dist/siemens-ix/p-5f72640f.entry.js.map +0 -1
  724. package/dist/siemens-ix/p-6c2818da.entry.js.map +0 -1
  725. package/dist/siemens-ix/p-6c873cc5.entry.js +0 -2
  726. package/dist/siemens-ix/p-71e94914.entry.js.map +0 -1
  727. package/dist/siemens-ix/p-740420eb.entry.js +0 -2
  728. package/dist/siemens-ix/p-740420eb.entry.js.map +0 -1
  729. package/dist/siemens-ix/p-85727880.entry.js.map +0 -1
  730. package/dist/siemens-ix/p-90089ce1.entry.js +0 -2
  731. package/dist/siemens-ix/p-92032674.entry.js.map +0 -1
  732. package/dist/siemens-ix/p-99ad8022.entry.js.map +0 -1
  733. package/dist/siemens-ix/p-9bd4c682.entry.js +0 -2
  734. package/dist/siemens-ix/p-CAqtPJ4-.js +0 -2
  735. package/dist/siemens-ix/p-CAqtPJ4-.js.map +0 -1
  736. package/dist/siemens-ix/p-CFRrPFxi.js +0 -2
  737. package/dist/siemens-ix/p-CFRrPFxi.js.map +0 -1
  738. package/dist/siemens-ix/p-CzzcLSmV.js.map +0 -1
  739. package/dist/siemens-ix/p-c8cf26c5.entry.js.map +0 -1
  740. package/dist/siemens-ix/p-d0d972c2.entry.js +0 -2
  741. package/dist/siemens-ix/p-ddaf98b6.entry.js +0 -2
  742. package/dist/siemens-ix/p-ddaf98b6.entry.js.map +0 -1
  743. package/dist/siemens-ix/p-e9de8dd5.entry.js +0 -2
  744. package/dist/siemens-ix/p-e9de8dd5.entry.js.map +0 -1
  745. package/dist/siemens-ix/p-f55eef69.entry.js +0 -2
  746. package/dist/siemens-ix/p-f55eef69.entry.js.map +0 -1
  747. package/dist/siemens-ix/p-fbd896c5.entry.js.map +0 -1
  748. package/dist/types/components/input-group/input-group.d.ts +0 -24
  749. package/dist/types/components/validation-tooltip/validation-tooltip.d.ts +0 -45
  750. package/scss/components/_input-group.scss +0 -32
  751. package/scss/theme/core/components/breadcrumb.scss +0 -37
  752. /package/dist/siemens-ix/{p-90bd8d7b.entry.js.map → p-0ba7d263.entry.js.map} +0 -0
  753. /package/dist/siemens-ix/{p-f455c56a.entry.js.map → p-111687a2.entry.js.map} +0 -0
  754. /package/dist/siemens-ix/{p-8b3cfb2d.entry.js.map → p-1ac88556.entry.js.map} +0 -0
  755. /package/dist/siemens-ix/{p-95d4d849.entry.js.map → p-1bd1380b.entry.js.map} +0 -0
  756. /package/dist/siemens-ix/{p-5849a210.entry.js.map → p-1cd4280f.entry.js.map} +0 -0
  757. /package/dist/siemens-ix/{p-48b0fef4.entry.js.map → p-2041357d.entry.js.map} +0 -0
  758. /package/dist/siemens-ix/{p-52dc3ba0.entry.js.map → p-28fe8512.entry.js.map} +0 -0
  759. /package/dist/siemens-ix/{p-4263f3b6.entry.js.map → p-2b046df5.entry.js.map} +0 -0
  760. /package/dist/siemens-ix/{p-1b2e4b8f.entry.js.map → p-331f1b60.entry.js.map} +0 -0
  761. /package/dist/siemens-ix/{p-faa47c0e.entry.js.map → p-6645d4ee.entry.js.map} +0 -0
  762. /package/dist/siemens-ix/{p-eba51393.entry.js.map → p-7060645f.entry.js.map} +0 -0
  763. /package/dist/siemens-ix/{p-6c873cc5.entry.js.map → p-71a38f35.entry.js.map} +0 -0
  764. /package/dist/siemens-ix/{p-81c8d542.entry.js.map → p-75f4bbb1.entry.js.map} +0 -0
  765. /package/dist/siemens-ix/{p-a76a69fb.entry.js.map → p-8c612656.entry.js.map} +0 -0
  766. /package/dist/siemens-ix/{p-5140e6e6.entry.js.map → p-91fa3ab0.entry.js.map} +0 -0
  767. /package/dist/siemens-ix/{p-f29eaee8.entry.js.map → p-9272ae83.entry.js.map} +0 -0
  768. /package/dist/siemens-ix/{p-f6d678a6.entry.js.map → p-9b88a932.entry.js.map} +0 -0
  769. /package/dist/siemens-ix/{p-7a108b0d.entry.js.map → p-9dbfd7cd.entry.js.map} +0 -0
  770. /package/dist/siemens-ix/{p-9bd4c682.entry.js.map → p-a6612a5b.entry.js.map} +0 -0
  771. /package/dist/siemens-ix/{p-cd11dfa8.entry.js.map → p-bb878ea4.entry.js.map} +0 -0
  772. /package/dist/siemens-ix/{p-0469aec7.entry.js.map → p-bf2374a0.entry.js.map} +0 -0
  773. /package/dist/siemens-ix/{p-30545ef9.entry.js.map → p-c10b2e40.entry.js.map} +0 -0
  774. /package/dist/siemens-ix/{p-5c109476.entry.js.map → p-c248940f.entry.js.map} +0 -0
  775. /package/dist/siemens-ix/{p-8eee6a03.entry.js.map → p-c413e3c4.entry.js.map} +0 -0
  776. /package/dist/siemens-ix/{p-746b04cb.entry.js.map → p-c6ecc2e3.entry.js.map} +0 -0
  777. /package/dist/siemens-ix/{p-01656234.entry.js.map → p-c949686e.entry.js.map} +0 -0
  778. /package/dist/siemens-ix/{p-b6dad40c.entry.js.map → p-d0213ff0.entry.js.map} +0 -0
  779. /package/dist/siemens-ix/{p-8e48a7a1.entry.js.map → p-d1254b5b.entry.js.map} +0 -0
  780. /package/dist/siemens-ix/{p-a0d7af11.entry.js.map → p-d585e581.entry.js.map} +0 -0
  781. /package/dist/siemens-ix/{p-dd82ebbc.entry.js.map → p-d7c7d38b.entry.js.map} +0 -0
  782. /package/dist/siemens-ix/{p-c446ffdb.entry.js.map → p-db02f4c2.entry.js.map} +0 -0
  783. /package/dist/siemens-ix/{p-6a39d630.entry.js.map → p-e3a219e3.entry.js.map} +0 -0
  784. /package/dist/siemens-ix/{p-bd369344.entry.js.map → p-e55cd52b.entry.js.map} +0 -0
  785. /package/dist/siemens-ix/{p-14fca48a.entry.js.map → p-f14790b4.entry.js.map} +0 -0
  786. /package/dist/siemens-ix/{p-90089ce1.entry.js.map → p-fbedad11.entry.js.map} +0 -0
@@ -1,225 +0,0 @@
1
- /*
2
- * SPDX-FileCopyrightText: 2023 Siemens AG
3
- *
4
- * SPDX-License-Identifier: MIT
5
- *
6
- * This source code is licensed under the MIT license found in the
7
- * LICENSE file in the root directory of this source tree.
8
- */
9
- /*
10
- * SPDX-FileCopyrightText: 2024 Siemens AG
11
- *
12
- * SPDX-License-Identifier: MIT
13
- *
14
- * This source code is licensed under the MIT license found in the
15
- * LICENSE file in the root directory of this source tree.
16
- */
17
- /* Dimensions */
18
- /* Font sizes */
19
- /* Line heights */
20
- /*
21
- * SPDX-FileCopyrightText: 2024 Siemens AG
22
- *
23
- * SPDX-License-Identifier: MIT
24
- *
25
- * This source code is licensed under the MIT license found in the
26
- * LICENSE file in the root directory of this source tree.
27
- */
28
- /*
29
- * SPDX-FileCopyrightText: 2023 Siemens AG
30
- *
31
- * SPDX-License-Identifier: MIT
32
- *
33
- * This source code is licensed under the MIT license found in the
34
- * LICENSE file in the root directory of this source tree.
35
- */
36
- /*
37
- * SPDX-FileCopyrightText: 2024 Siemens AG
38
- *
39
- * SPDX-License-Identifier: MIT
40
- *
41
- * This source code is licensed under the MIT license found in the
42
- * LICENSE file in the root directory of this source tree.
43
- */
44
- .text-xs {
45
- font-family: Siemens Sans, sans-serif;
46
- font-size: 0.625rem;
47
- font-weight: 400;
48
- line-height: 1.4em;
49
- color: var(--theme-color-std-text);
50
- -webkit-font-smoothing: antialiased;
51
- -moz-osx-font-smooting: grayscale;
52
- }
53
-
54
- .text-s {
55
- font-family: Siemens Sans, sans-serif;
56
- font-size: 0.75rem;
57
- font-weight: 400;
58
- line-height: 1.5em;
59
- color: var(--theme-color-std-text);
60
- -webkit-font-smoothing: antialiased;
61
- -moz-osx-font-smooting: grayscale;
62
- }
63
-
64
- .text-caption {
65
- font-family: Siemens Sans, sans-serif;
66
- font-size: 0.75rem;
67
- font-weight: 700;
68
- line-height: 1.5em;
69
- color: var(--theme-color-std-text);
70
- -webkit-font-smoothing: antialiased;
71
- -moz-osx-font-smooting: grayscale;
72
- }
73
-
74
- .text-caption-single {
75
- font-family: Siemens Sans, sans-serif;
76
- font-size: 0.75rem;
77
- font-weight: 700;
78
- line-height: 1em;
79
- color: var(--theme-color-std-text);
80
- -webkit-font-smoothing: antialiased;
81
- -moz-osx-font-smooting: grayscale;
82
- }
83
-
84
- .text-default {
85
- font-family: Siemens Sans, sans-serif;
86
- font-size: 0.875rem;
87
- font-weight: 400;
88
- line-height: 1.429em;
89
- color: var(--theme-color-std-text);
90
- -webkit-font-smoothing: antialiased;
91
- -moz-osx-font-smooting: grayscale;
92
- }
93
-
94
- .text-default-single {
95
- font-family: Siemens Sans, sans-serif;
96
- font-size: 0.875rem;
97
- font-weight: 400;
98
- line-height: 1.143em;
99
- color: var(--theme-color-std-text);
100
- -webkit-font-smoothing: antialiased;
101
- -moz-osx-font-smooting: grayscale;
102
- }
103
-
104
- .text-default-title {
105
- font-family: Siemens Sans, sans-serif;
106
- font-size: 0.875rem;
107
- font-weight: 700;
108
- line-height: 1.429em;
109
- color: var(--theme-color-std-text);
110
- -webkit-font-smoothing: antialiased;
111
- -moz-osx-font-smooting: grayscale;
112
- }
113
-
114
- .text-default-title-single {
115
- font-family: Siemens Sans, sans-serif;
116
- font-size: 0.875rem;
117
- font-weight: 700;
118
- line-height: 1.143em;
119
- color: var(--theme-color-std-text);
120
- -webkit-font-smoothing: antialiased;
121
- -moz-osx-font-smooting: grayscale;
122
- }
123
-
124
- .text-l {
125
- font-family: Siemens Sans, sans-serif;
126
- font-size: 1rem;
127
- font-weight: 400;
128
- line-height: 1.5em;
129
- color: var(--theme-color-std-text);
130
- -webkit-font-smoothing: antialiased;
131
- -moz-osx-font-smooting: grayscale;
132
- }
133
-
134
- .text-l-single {
135
- font-family: Siemens Sans, sans-serif;
136
- font-size: 1rem;
137
- font-weight: 400;
138
- line-height: 1.25em;
139
- color: var(--theme-color-std-text);
140
- -webkit-font-smoothing: antialiased;
141
- -moz-osx-font-smooting: grayscale;
142
- }
143
-
144
- .text-l-title {
145
- font-family: Siemens Sans, sans-serif;
146
- font-size: 1rem;
147
- font-weight: 700;
148
- line-height: 1.5em;
149
- color: var(--theme-color-std-text);
150
- -webkit-font-smoothing: antialiased;
151
- -moz-osx-font-smooting: grayscale;
152
- }
153
-
154
- .text-l-title-single {
155
- font-family: Siemens Sans, sans-serif;
156
- font-size: 1rem;
157
- font-weight: 700;
158
- line-height: 1.25em;
159
- color: var(--theme-color-std-text);
160
- -webkit-font-smoothing: antialiased;
161
- -moz-osx-font-smooting: grayscale;
162
- }
163
-
164
- .text-h2 {
165
- font-family: Siemens Sans, sans-serif;
166
- font-size: 1.375rem;
167
- font-weight: 700;
168
- line-height: 1.455em;
169
- color: var(--theme-color-std-text);
170
- -webkit-font-smoothing: antialiased;
171
- -moz-osx-font-smooting: grayscale;
172
- }
173
-
174
- .text-xl {
175
- font-family: Siemens Sans, sans-serif;
176
- font-size: 1.375rem;
177
- font-weight: 400;
178
- line-height: 1.091em;
179
- color: var(--theme-color-std-text);
180
- -webkit-font-smoothing: antialiased;
181
- -moz-osx-font-smooting: grayscale;
182
- }
183
-
184
- a {
185
- color: var(--theme-color-primary);
186
- }
187
-
188
- :host {
189
- display: inline-block;
190
- position: relative;
191
- width: 100%;
192
- z-index: var(--theme-z-index-tooltip);
193
- }
194
- :host .validation-tooltip {
195
- background-color: var(--theme-tooltip--background);
196
- color: var(--theme-tooltip--color);
197
- padding: 5px 10px;
198
- border-radius: 4px;
199
- font-size: 13px;
200
- border: 1px solid var(--theme-tooltip--border-color);
201
- box-shadow: 0 0 2px 0 rgba(0, 0, 40, 0.1), 0 4px 8px 0 rgba(0, 0, 40, 0.1), 0 12px 18px 0 rgba(0, 0, 40, 0.1);
202
- }
203
- :host .validation-tooltip #arrow,
204
- :host .validation-tooltip #arrow::before {
205
- position: absolute;
206
- width: 8px;
207
- height: 8px;
208
- background: inherit;
209
- }
210
- :host .validation-tooltip #arrow {
211
- visibility: hidden;
212
- }
213
- :host .validation-tooltip #arrow::before {
214
- visibility: visible;
215
- content: "";
216
- transform: rotate(45deg);
217
- background-color: var(--theme-tooltip--background);
218
- }
219
- :host .validation-tooltip > #arrow {
220
- bottom: -5px;
221
- }
222
- :host .validation-tooltip > #arrow::before {
223
- border-right: 1px solid var(--theme-tooltip--border-color);
224
- border-bottom: 1px solid var(--theme-tooltip--border-color);
225
- }
@@ -1,250 +0,0 @@
1
- /*
2
- * SPDX-FileCopyrightText: 2023 Siemens AG
3
- *
4
- * SPDX-License-Identifier: MIT
5
- *
6
- * This source code is licensed under the MIT license found in the
7
- * LICENSE file in the root directory of this source tree.
8
- */
9
- import { arrow, autoUpdate, computePosition, flip, inline, offset, shift, } from "@floating-ui/dom";
10
- import { h, Host } from "@stencil/core";
11
- /**
12
- * @slot tooltip-message - Custom tooltip message with html support
13
- *
14
- * @deprecated Will be removed with 4.0.0
15
- */
16
- export class ValidationTooltip {
17
- constructor() {
18
- /**
19
- * Placement of the tooltip
20
- */
21
- this.placement = 'top';
22
- /**
23
- * Suppress the automatic placement of the dropdown.
24
- */
25
- this.suppressAutomaticPlacement = false;
26
- this.isInputValid = true;
27
- this.onSubmitBind = this.onSubmit.bind(this);
28
- this.onInputFocusBind = this.onInputFocus.bind(this);
29
- }
30
- get arrow() {
31
- return this.hostElement.shadowRoot.querySelector('#arrow');
32
- }
33
- get inputElement() {
34
- return this.hostElement.querySelector('input');
35
- }
36
- get formElement() {
37
- var _a;
38
- return (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.form;
39
- }
40
- get tooltipElement() {
41
- return this.hostElement.shadowRoot.querySelector('.validation-tooltip');
42
- }
43
- destroyAutoUpdate() {
44
- if (this.tooltipElement) {
45
- this.tooltipElement.style.display = 'none';
46
- }
47
- if (this.autoUpdateCleanup) {
48
- this.autoUpdateCleanup();
49
- }
50
- }
51
- applyTooltipPosition() {
52
- this.tooltipElement.style.display = 'block';
53
- let positionConfig = {
54
- strategy: 'fixed',
55
- middleware: [
56
- inline(),
57
- shift(),
58
- offset({
59
- mainAxis: 8,
60
- }),
61
- ],
62
- };
63
- if (!positionConfig.middleware) {
64
- positionConfig.middleware = [];
65
- }
66
- if (!this.suppressAutomaticPlacement) {
67
- positionConfig.middleware.push(flip({ fallbackStrategy: 'initialPlacement' }));
68
- }
69
- positionConfig.placement = this.placement;
70
- this.autoUpdateCleanup = autoUpdate(this.inputElement, this.tooltipElement, async () => {
71
- positionConfig.middleware = [
72
- ...positionConfig.middleware,
73
- arrow({
74
- element: this.arrow,
75
- }),
76
- ];
77
- const computeResponse = await computePosition(this.inputElement, this.tooltipElement, positionConfig);
78
- if (computeResponse.middlewareData.arrow) {
79
- const { x, y } = computeResponse.middlewareData.arrow;
80
- this.arrowPosition = {
81
- x,
82
- y,
83
- };
84
- Object.assign(this.arrow.style, {
85
- left: x != null ? `${x}px` : '',
86
- top: y != null ? `${y}px` : '',
87
- });
88
- }
89
- this.tooltipPosition = {
90
- x: computeResponse.x,
91
- y: computeResponse.y,
92
- };
93
- }, {
94
- ancestorResize: true,
95
- ancestorScroll: true,
96
- elementResize: true,
97
- });
98
- }
99
- componentDidLoad() {
100
- if (!this.inputElement) {
101
- throw Error('Validation tooltip is only working with an direct input child.');
102
- }
103
- if (!this.formElement) {
104
- throw Error('Validation tooltip is only working with an form element.');
105
- }
106
- this.formElement.addEventListener('submit', this.onSubmitBind);
107
- this.inputElement.addEventListener('focus', this.onInputFocusBind);
108
- this.observer = new MutationObserver(() => {
109
- if (this.inputElement.classList.contains('is-invalid')) {
110
- this.isInputValid = false;
111
- this.validationChanged();
112
- }
113
- });
114
- this.observer.observe(this.inputElement, {
115
- childList: false,
116
- subtree: false,
117
- attributes: true,
118
- attributeFilter: ['class'],
119
- });
120
- }
121
- onInputFocus() {
122
- this.isInputValid = true;
123
- }
124
- onSubmit() {
125
- if (this.formElement.classList.contains('needs-validation')) {
126
- this.isInputValid = this.inputElement.validity.valid;
127
- }
128
- }
129
- disconnectedCallback() {
130
- var _a, _b, _c;
131
- (_a = this.observer) === null || _a === void 0 ? void 0 : _a.disconnect();
132
- this.destroyAutoUpdate();
133
- (_b = this.formElement) === null || _b === void 0 ? void 0 : _b.removeEventListener('submit', this.onSubmitBind);
134
- (_c = this.inputElement) === null || _c === void 0 ? void 0 : _c.removeEventListener('focus', this.onInputFocusBind);
135
- }
136
- validationChanged() {
137
- if (!this.isInputValid) {
138
- this.applyTooltipPosition();
139
- }
140
- else {
141
- this.destroyAutoUpdate();
142
- }
143
- }
144
- render() {
145
- var _a, _b, _c, _d;
146
- return (h(Host, { key: '4fb1bd884352a044ab9d4ea2eb70d2d80b331ebf' }, h("slot", { key: '67df32333b98236630a4caf63776ea634129d1ae' }), h("div", { key: '19cd5c7800c381a86b7135fb4538f3cad08abe46', role: "tooltip", style: {
147
- display: 'none',
148
- position: 'fixed',
149
- top: '0',
150
- left: '0',
151
- transform: `translate(${Math.round((_b = (_a = this.tooltipPosition) === null || _a === void 0 ? void 0 : _a.x) !== null && _b !== void 0 ? _b : 0)}px,${Math.round((_d = (_c = this.tooltipPosition) === null || _c === void 0 ? void 0 : _c.y) !== null && _d !== void 0 ? _d : 0)}px)`,
152
- }, class: "validation-tooltip text-default" }, this.message, h("slot", { key: 'f1ff77002cc733ef058755cc117747f1ba00a3ea', name: "tooltip-message" }), h("div", { key: '5bcb70ba97cad112c1c5945d32cd52fa37784bb6', id: "arrow" }))));
153
- }
154
- static get is() { return "ix-validation-tooltip"; }
155
- static get encapsulation() { return "shadow"; }
156
- static get originalStyleUrls() {
157
- return {
158
- "$": ["validation-tooltip.scss"]
159
- };
160
- }
161
- static get styleUrls() {
162
- return {
163
- "$": ["validation-tooltip.css"]
164
- };
165
- }
166
- static get properties() {
167
- return {
168
- "message": {
169
- "type": "string",
170
- "attribute": "message",
171
- "mutable": false,
172
- "complexType": {
173
- "original": "string",
174
- "resolved": "string | undefined",
175
- "references": {}
176
- },
177
- "required": false,
178
- "optional": true,
179
- "docs": {
180
- "tags": [],
181
- "text": "Message of the tooltip"
182
- },
183
- "getter": false,
184
- "setter": false,
185
- "reflect": false
186
- },
187
- "placement": {
188
- "type": "string",
189
- "attribute": "placement",
190
- "mutable": false,
191
- "complexType": {
192
- "original": "Side",
193
- "resolved": "\"bottom\" | \"left\" | \"right\" | \"top\"",
194
- "references": {
195
- "Side": {
196
- "location": "import",
197
- "path": "../dropdown/placement",
198
- "id": "src/components/dropdown/placement.ts::Side"
199
- }
200
- }
201
- },
202
- "required": false,
203
- "optional": false,
204
- "docs": {
205
- "tags": [],
206
- "text": "Placement of the tooltip"
207
- },
208
- "getter": false,
209
- "setter": false,
210
- "reflect": false,
211
- "defaultValue": "'top'"
212
- },
213
- "suppressAutomaticPlacement": {
214
- "type": "boolean",
215
- "attribute": "suppress-automatic-placement",
216
- "mutable": false,
217
- "complexType": {
218
- "original": "boolean",
219
- "resolved": "boolean",
220
- "references": {}
221
- },
222
- "required": false,
223
- "optional": false,
224
- "docs": {
225
- "tags": [],
226
- "text": "Suppress the automatic placement of the dropdown."
227
- },
228
- "getter": false,
229
- "setter": false,
230
- "reflect": false,
231
- "defaultValue": "false"
232
- }
233
- };
234
- }
235
- static get states() {
236
- return {
237
- "isInputValid": {},
238
- "tooltipPosition": {},
239
- "arrowPosition": {}
240
- };
241
- }
242
- static get elementRef() { return "hostElement"; }
243
- static get watchers() {
244
- return [{
245
- "propName": "isInputValid",
246
- "methodName": "validationChanged"
247
- }];
248
- }
249
- }
250
- //# sourceMappingURL=validation-tooltip.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"validation-tooltip.js","sourceRoot":"","sources":["../../../src/components/validation-tooltip/validation-tooltip.tsx"],"names":[],"mappings":"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","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 */\nimport {\n arrow,\n autoUpdate,\n computePosition,\n ComputePositionConfig,\n flip,\n inline,\n offset,\n shift,\n} from '@floating-ui/dom';\nimport { Component, Element, h, Host, Prop, State, Watch } from '@stencil/core';\nimport { Side } from '../dropdown/placement';\n\ntype Position = { x: number; y: number };\n\n/**\n * @slot tooltip-message - Custom tooltip message with html support\n *\n * @deprecated Will be removed with 4.0.0\n */\n@Component({\n tag: 'ix-validation-tooltip',\n styleUrl: 'validation-tooltip.scss',\n shadow: true,\n})\nexport class ValidationTooltip {\n @Element() hostElement!: HTMLIxValidationTooltipElement;\n\n /**\n * Message of the tooltip\n */\n @Prop() message?: string;\n\n /**\n * Placement of the tooltip\n */\n @Prop() placement: Side = 'top';\n\n /**\n * Suppress the automatic placement of the dropdown.\n */\n @Prop() suppressAutomaticPlacement = false;\n\n @State() isInputValid = true;\n @State() tooltipPosition?: Position;\n @State() arrowPosition?: Position;\n\n private onSubmitBind = this.onSubmit.bind(this);\n private onInputFocusBind = this.onInputFocus.bind(this);\n private autoUpdateCleanup?: () => void;\n private observer?: MutationObserver;\n\n get arrow() {\n return this.hostElement.shadowRoot!.querySelector('#arrow') as HTMLElement;\n }\n\n get inputElement() {\n return this.hostElement.querySelector('input');\n }\n\n get formElement() {\n return this.inputElement?.form;\n }\n\n get tooltipElement(): HTMLElement {\n return this.hostElement.shadowRoot!.querySelector('.validation-tooltip')!;\n }\n\n private destroyAutoUpdate() {\n if (this.tooltipElement) {\n this.tooltipElement.style.display = 'none';\n }\n\n if (this.autoUpdateCleanup) {\n this.autoUpdateCleanup();\n }\n }\n\n private applyTooltipPosition() {\n this.tooltipElement.style.display = 'block';\n\n let positionConfig: Partial<ComputePositionConfig> = {\n strategy: 'fixed',\n middleware: [\n inline(),\n shift(),\n offset({\n mainAxis: 8,\n }),\n ],\n };\n\n if (!positionConfig.middleware) {\n positionConfig.middleware = [];\n }\n\n if (!this.suppressAutomaticPlacement) {\n positionConfig.middleware.push(\n flip({ fallbackStrategy: 'initialPlacement' })\n );\n }\n positionConfig.placement = this.placement;\n\n this.autoUpdateCleanup = autoUpdate(\n this.inputElement!,\n this.tooltipElement,\n async () => {\n positionConfig.middleware = [\n ...positionConfig.middleware!,\n arrow({\n element: this.arrow,\n }),\n ];\n const computeResponse = await computePosition(\n this.inputElement!,\n this.tooltipElement,\n positionConfig\n );\n\n if (computeResponse.middlewareData.arrow) {\n const { x, y } = computeResponse.middlewareData.arrow as {\n x: number;\n y: number;\n };\n this.arrowPosition = {\n x,\n y,\n };\n Object.assign(this.arrow.style, {\n left: x != null ? `${x}px` : '',\n top: y != null ? `${y}px` : '',\n });\n }\n\n this.tooltipPosition = {\n x: computeResponse.x,\n y: computeResponse.y,\n };\n },\n {\n ancestorResize: true,\n ancestorScroll: true,\n elementResize: true,\n }\n );\n }\n\n componentDidLoad() {\n if (!this.inputElement) {\n throw Error(\n 'Validation tooltip is only working with an direct input child.'\n );\n }\n\n if (!this.formElement) {\n throw Error('Validation tooltip is only working with an form element.');\n }\n\n this.formElement.addEventListener('submit', this.onSubmitBind);\n this.inputElement.addEventListener('focus', this.onInputFocusBind);\n\n this.observer = new MutationObserver(() => {\n if (this.inputElement!.classList.contains('is-invalid')) {\n this.isInputValid = false;\n this.validationChanged();\n }\n });\n\n this.observer.observe(this.inputElement, {\n childList: false,\n subtree: false,\n attributes: true,\n attributeFilter: ['class'],\n });\n }\n\n private onInputFocus() {\n this.isInputValid = true;\n }\n\n private onSubmit() {\n if (this.formElement!.classList.contains('needs-validation')) {\n this.isInputValid = this.inputElement!.validity.valid;\n }\n }\n\n disconnectedCallback() {\n this.observer?.disconnect();\n this.destroyAutoUpdate();\n\n this.formElement?.removeEventListener('submit', this.onSubmitBind);\n this.inputElement?.removeEventListener('focus', this.onInputFocusBind);\n }\n\n @Watch('isInputValid')\n validationChanged() {\n if (!this.isInputValid) {\n this.applyTooltipPosition();\n } else {\n this.destroyAutoUpdate();\n }\n }\n\n render() {\n return (\n <Host>\n <slot></slot>\n <div\n role=\"tooltip\"\n style={{\n display: 'none',\n position: 'fixed',\n top: '0',\n left: '0',\n transform: `translate(${Math.round(\n this.tooltipPosition?.x ?? 0\n )}px,${Math.round(this.tooltipPosition?.y ?? 0)}px)`,\n }}\n class=\"validation-tooltip text-default\"\n >\n {this.message}\n <slot name=\"tooltip-message\"></slot>\n <div id=\"arrow\"></div>\n </div>\n </Host>\n );\n }\n}\n"]}
@@ -1,103 +0,0 @@
1
- /*
2
- * SPDX-FileCopyrightText: 2024 Siemens AG
3
- *
4
- * SPDX-License-Identifier: MIT
5
- *
6
- * This source code is licensed under the MIT license found in the
7
- * LICENSE file in the root directory of this source tree.
8
- */
9
- /**
10
- * Will try to resolve the selector in the light dom, shadow dom or slot
11
- * @param selector The selector to resolve
12
- * @param hostElement The element to start the search from
13
- * @returns Promise with the resolved elements or undefined if not found
14
- */
15
- async function resolveSelector(selector, hostElement) {
16
- const elements = Array.from(document.querySelectorAll(selector));
17
- if (elements.length > 0) {
18
- return Promise.resolve(elements);
19
- }
20
- if (hostElement === undefined) {
21
- return Promise.resolve(undefined);
22
- }
23
- const shadowRoot = getRootFor(hostElement);
24
- if (shadowRoot === undefined || !(shadowRoot instanceof ShadowRoot)) {
25
- return Promise.resolve(undefined);
26
- }
27
- const elementsInShadowRoot = Array.from(shadowRoot.querySelectorAll(selector));
28
- const elementsInHost = Array.from(shadowRoot.host.querySelectorAll(selector));
29
- const elementsInComponent = [
30
- ...elementsInHost,
31
- ...elementsInShadowRoot,
32
- ];
33
- if (elementsInComponent.length > 0) {
34
- return Promise.resolve(elementsInComponent);
35
- }
36
- return Promise.resolve(undefined);
37
- }
38
- /**
39
- * Walk up the DOM to find the nearest shadow root
40
- * @param element The element to get the root for
41
- * @param parent This will determine how far up the DOM to travel to find the root
42
- * @returns The root element
43
- */
44
- function getRootFor(element, parent = document.body) {
45
- if (!element.parentElement && !element.parentNode) {
46
- return undefined;
47
- }
48
- if (element.parentNode instanceof ShadowRoot) {
49
- return element.parentNode;
50
- }
51
- let currentNode = element.parentElement;
52
- while (currentNode) {
53
- if (currentNode.shadowRoot) {
54
- return currentNode.shadowRoot;
55
- }
56
- else if (currentNode.parentNode instanceof ShadowRoot) {
57
- return currentNode.parentNode;
58
- }
59
- currentNode = currentNode.parentElement;
60
- }
61
- return parent;
62
- }
63
- function waitForSelector(selector, node = document, hostElement) {
64
- return new Promise((resolve) => {
65
- const waitForElements = () => {
66
- resolveSelector(selector, hostElement).then((elements) => {
67
- if (elements && elements.length > 0) {
68
- resolve(elements[0]);
69
- observer === null || observer === void 0 ? void 0 : observer.disconnect();
70
- }
71
- });
72
- };
73
- waitForElements();
74
- const observer = new MutationObserver(() => {
75
- waitForElements();
76
- });
77
- observer.observe(node.body, {
78
- childList: true,
79
- subtree: true,
80
- });
81
- });
82
- }
83
- /**
84
- * Find an element by ID or reference
85
- * @param element The element to find
86
- * @param hostElement The element to start the search from
87
- * @returns A promise that will resolve to the element
88
- */
89
- function findElement(element, hostElement) {
90
- if (element instanceof Promise) {
91
- return element;
92
- }
93
- if (typeof element === 'object') {
94
- return Promise.resolve(element);
95
- }
96
- const selector = `#${element}`;
97
- return waitForSelector(selector, document, hostElement);
98
- }
99
-
100
- export { findElement as f, resolveSelector as r };
101
- //# sourceMappingURL=find-element-CFRrPFxi.js.map
102
-
103
- //# sourceMappingURL=find-element-CFRrPFxi.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"find-element-CFRrPFxi.js","sources":["src/components/utils/find-element.ts"],"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\n/**\n * Will try to resolve the selector in the light dom, shadow dom or slot\n * @param selector The selector to resolve\n * @param hostElement The element to start the search from\n * @returns Promise with the resolved elements or undefined if not found\n */\nexport async function resolveSelector(\n selector: string,\n hostElement?: HTMLElement\n): Promise<HTMLElement[] | undefined> {\n const elements: HTMLElement[] = Array.from(\n document.querySelectorAll(selector)\n );\n\n if (elements.length > 0) {\n return Promise.resolve(elements);\n }\n\n if (hostElement === undefined) {\n return Promise.resolve(undefined);\n }\n\n const shadowRoot = getRootFor(hostElement);\n\n if (shadowRoot === undefined || !(shadowRoot instanceof ShadowRoot)) {\n return Promise.resolve(undefined);\n }\n\n const elementsInShadowRoot: HTMLElement[] = Array.from(\n shadowRoot.querySelectorAll(selector)\n );\n\n const elementsInHost: HTMLElement[] = Array.from(\n shadowRoot.host.querySelectorAll(selector)\n );\n\n const elementsInComponent: HTMLElement[] = [\n ...elementsInHost,\n ...elementsInShadowRoot,\n ];\n\n if (elementsInComponent.length > 0) {\n return Promise.resolve(elementsInComponent);\n }\n\n return Promise.resolve(undefined);\n}\n\n/**\n * Walk up the DOM to find the nearest shadow root\n * @param element The element to get the root for\n * @param parent This will determine how far up the DOM to travel to find the root\n * @returns The root element\n */\nexport function getRootFor(element: HTMLElement, parent = document.body) {\n if (!element.parentElement && !element.parentNode) {\n return undefined;\n }\n\n if (element.parentNode instanceof ShadowRoot) {\n return element.parentNode;\n }\n\n let currentNode = element.parentElement;\n\n while (currentNode) {\n if (currentNode.shadowRoot) {\n return currentNode.shadowRoot;\n } else if (currentNode.parentNode instanceof ShadowRoot) {\n return currentNode.parentNode;\n }\n\n currentNode = currentNode.parentElement;\n }\n\n return parent;\n}\n\nexport function waitForSelector(\n selector: string,\n node = document,\n hostElement?: HTMLElement\n): Promise<Element> {\n return new Promise((resolve) => {\n const waitForElements = () => {\n resolveSelector(selector, hostElement).then((elements) => {\n if (elements && elements.length > 0) {\n resolve(elements[0]);\n observer?.disconnect();\n }\n });\n };\n\n waitForElements();\n\n const observer = new MutationObserver(() => {\n waitForElements();\n });\n\n observer.observe(node.body, {\n childList: true,\n subtree: true,\n });\n });\n}\n\n/**\n * Find an element by ID or reference\n * @param element The element to find\n * @param hostElement The element to start the search from\n * @returns A promise that will resolve to the element\n */\nexport function findElement(\n element: string | HTMLElement | Promise<HTMLElement>,\n hostElement?: HTMLElement\n): Promise<Element> {\n if (element instanceof Promise) {\n return element;\n }\n\n if (typeof element === 'object') {\n return Promise.resolve(element);\n }\n\n const selector = `#${element}`;\n return waitForSelector(selector, document, hostElement);\n}\n"],"names":[],"mappings":"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"}