@siemens/ix 5.2.0 → 5.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (437) hide show
  1. package/READMEOSS.html +1 -1
  2. package/components/index.js +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 +1 -1
  6. package/components/ix-avatar.js +1 -1
  7. package/components/ix-badge.js +1 -1
  8. package/components/ix-blind.js +1 -1
  9. package/components/ix-breadcrumb-item.js +1 -1
  10. package/components/ix-breadcrumb.js +1 -1
  11. package/components/ix-button.js +1 -1
  12. package/components/ix-card-accordion.js +1 -1
  13. package/components/ix-card-list.js +1 -1
  14. package/components/ix-category-filter.js +1 -1
  15. package/components/ix-chat-attachment.js +1 -1
  16. package/components/ix-chat-input.js +1 -1
  17. package/components/ix-checkbox-group.js +1 -1
  18. package/components/ix-checkbox.js +1 -1
  19. package/components/ix-chip.js +1 -1
  20. package/components/ix-content-header.js +1 -1
  21. package/components/ix-custom-field.js +1 -1
  22. package/components/ix-date-dropdown.js +1 -1
  23. package/components/ix-date-input.js +1 -1
  24. package/components/ix-date-picker.js +1 -1
  25. package/components/ix-datetime-input.js +1 -1
  26. package/components/ix-datetime-picker.js +1 -1
  27. package/components/ix-dropdown-button.js +1 -1
  28. package/components/ix-dropdown-item.js +1 -1
  29. package/components/ix-dropdown.js +1 -1
  30. package/components/ix-empty-state.js +1 -1
  31. package/components/ix-event-list-item.js +1 -1
  32. package/components/ix-event-list.js +1 -1
  33. package/components/ix-expanding-search.js +1 -1
  34. package/components/ix-field-label.js +1 -1
  35. package/components/ix-field-wrapper.js +1 -1
  36. package/components/ix-filter-chip.js +1 -1
  37. package/components/ix-flip-tile.js +1 -1
  38. package/components/ix-group-context-menu.js +1 -1
  39. package/components/ix-group.js +1 -1
  40. package/components/ix-helper-text.js +1 -1
  41. package/components/ix-icon-button.js +1 -1
  42. package/components/ix-icon-toggle-button.js +1 -1
  43. package/components/ix-input.js +1 -1
  44. package/components/ix-menu-about-news.js +1 -1
  45. package/components/ix-menu-about.js +1 -1
  46. package/components/ix-menu-avatar-item.js +1 -1
  47. package/components/ix-menu-avatar.js +1 -1
  48. package/components/ix-menu-category.js +1 -1
  49. package/components/ix-menu-expand-icon.js +1 -1
  50. package/components/ix-menu-item.js +1 -1
  51. package/components/ix-menu-settings.js +1 -1
  52. package/components/ix-menu.js +1 -1
  53. package/components/ix-message-bar.js +1 -1
  54. package/components/ix-modal-header.js +1 -1
  55. package/components/ix-modal-loading.js +1 -1
  56. package/components/ix-modal.js +1 -1
  57. package/components/ix-number-input.js +1 -1
  58. package/components/ix-pagination.js +1 -1
  59. package/components/ix-pane.js +1 -1
  60. package/components/ix-pill.js +1 -1
  61. package/components/ix-popover-header.js +1 -1
  62. package/components/ix-popover.js +1 -1
  63. package/components/ix-progress-indicator.js +1 -1
  64. package/components/ix-push-card.js +1 -1
  65. package/components/ix-radio-group.js +1 -1
  66. package/components/ix-radio.js +1 -1
  67. package/components/ix-select-item.js +1 -1
  68. package/components/ix-select.js +1 -1
  69. package/components/ix-slider.js +1 -1
  70. package/components/ix-spinner.js +1 -1
  71. package/components/ix-split-button.js +1 -1
  72. package/components/ix-tab-item.js +1 -1
  73. package/components/ix-tabs.js +1 -1
  74. package/components/ix-textarea.js +1 -1
  75. package/components/ix-time-input.js +1 -1
  76. package/components/ix-time-picker.js +1 -1
  77. package/components/ix-toast-container.js +1 -1
  78. package/components/ix-toast.js +1 -1
  79. package/components/ix-toggle-button.js +1 -1
  80. package/components/ix-toggle.js +1 -1
  81. package/components/ix-tooltip.js +1 -1
  82. package/components/ix-upload.js +1 -1
  83. package/components/ix-workflow-step.js +1 -1
  84. package/components/{p-Bs5X90wM.js → p-B3ZUi0gM.js} +1 -1
  85. package/components/p-BE708_H3.js +1 -0
  86. package/components/p-BF2IsI5j.js +1 -0
  87. package/components/{p-l9UTiHpM.js → p-BGpGr8Qv.js} +1 -1
  88. package/components/{p-CEE0wwD3.js → p-BKCLcJ_A.js} +1 -1
  89. package/components/{p-D7sEY2UQ.js → p-BKVBe7Co.js} +1 -1
  90. package/components/{p-3U_cSqu_.js → p-BOImZPcG.js} +1 -1
  91. package/components/{p-CtZAuwv3.js → p-BpE93ty6.js} +1 -1
  92. package/components/p-BqeSHO6C.js +1 -0
  93. package/components/{p-BGOtCwtj.js → p-CAd-WgR8.js} +1 -1
  94. package/components/p-CFH9HkmQ.js +1 -0
  95. package/components/p-CGGWaScq.js +1 -0
  96. package/components/{p-WisOWbJ8.js → p-CHJbp28K.js} +1 -1
  97. package/components/{p-BQ-hS49k.js → p-CRbQNmxe.js} +1 -1
  98. package/components/{p-DmtgI24u.js → p-CYgC-XN6.js} +1 -1
  99. package/components/p-CiP3eKpd.js +1 -0
  100. package/components/{p-OxstEnSC.js → p-CqWfy46u.js} +1 -1
  101. package/components/p-D5-dW4IM.js +1 -0
  102. package/components/p-DB-zpRCO.js +1 -0
  103. package/components/{p-C21npbUc.js → p-DD206pTM.js} +1 -1
  104. package/components/{p-D_HzQCU-.js → p-DIq_C5Sa.js} +1 -1
  105. package/components/p-DKU5FVxI.js +1 -0
  106. package/components/{p-snX1FfdL.js → p-DLgZfUmI.js} +1 -1
  107. package/components/p-DXmwthlZ.js +1 -0
  108. package/components/p-D_VBAyPm.js +1 -0
  109. package/components/p-DcOoa9vE.js +1 -0
  110. package/components/{p-CatmTvkh.js → p-DyC90hvu.js} +1 -1
  111. package/components/p-DzDB4UBp.js +1 -0
  112. package/components/p-QnnFQ3fz.js +1 -0
  113. package/components/p-WX1HYV2-.js +1 -0
  114. package/components/{p-BC2PyjjU.js → p-_irxfS9S.js} +1 -1
  115. package/components/{p-CUpOF7jN.js → p-n2_EOgMr.js} +1 -1
  116. package/components/p-q_MHsaAK.js +1 -0
  117. package/components/{p-eGuQ8D3W.js → p-viP8I2_s.js} +1 -1
  118. package/dist/cjs/{a11y-_XjpTo2w.js → a11y--G19CFwe.js} +1 -0
  119. package/dist/cjs/{animation-hxDbANsw.js → animation-BIfSQAkX.js} +8 -12
  120. package/dist/cjs/{base-button-BP6iIMR7.js → base-button-DIhNZecD.js} +1 -1
  121. package/dist/cjs/{base-icon-button-BmiGQb9v.js → base-icon-button-DASKxRmK.js} +1 -1
  122. package/dist/cjs/{focus-visible.mixin-1V7Eldn_.js → focus-visible.mixin-GrZAmMez.js} +1 -1
  123. package/dist/cjs/{helper-text-util-Ci_KFQZ4.js → helper-text-util-EAfzAOH6.js} +1 -1
  124. package/dist/cjs/index.cjs.js +1 -1
  125. package/dist/cjs/inherit-aria-attributes.mixin-DZ_vNjkJ.js +306 -0
  126. package/dist/cjs/{input.fc-xGzM_I6q.js → input.fc-ellguRiE.js} +8 -3
  127. package/dist/cjs/ix-action-card.cjs.entry.js +1 -1
  128. package/dist/cjs/ix-application-header.cjs.entry.js +1 -1
  129. package/dist/cjs/ix-avatar_2.cjs.entry.js +2 -2
  130. package/dist/cjs/ix-badge.cjs.entry.js +8 -159
  131. package/dist/cjs/ix-blind.cjs.entry.js +13 -7
  132. package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +4 -157
  133. package/dist/cjs/ix-breadcrumb.cjs.entry.js +1 -1
  134. package/dist/cjs/ix-button.cjs.entry.js +4 -157
  135. package/dist/cjs/ix-card-accordion_2.cjs.entry.js +7 -4
  136. package/dist/cjs/ix-category-filter.cjs.entry.js +7 -7
  137. package/dist/cjs/ix-chat-input.cjs.entry.js +8 -8
  138. package/dist/cjs/ix-checkbox-group.cjs.entry.js +1 -1
  139. package/dist/cjs/ix-checkbox.cjs.entry.js +1 -1
  140. package/dist/cjs/ix-chip.cjs.entry.js +2 -157
  141. package/dist/cjs/ix-col_4.cjs.entry.js +5 -5
  142. package/dist/cjs/ix-date-dropdown.cjs.entry.js +6 -6
  143. package/dist/cjs/ix-date-input.cjs.entry.js +3 -3
  144. package/dist/cjs/ix-date-picker.cjs.entry.js +15 -11
  145. package/dist/cjs/ix-datetime-input.cjs.entry.js +3 -3
  146. package/dist/cjs/ix-dropdown-button.cjs.entry.js +9 -6
  147. package/dist/cjs/ix-dropdown_2.cjs.entry.js +13 -7
  148. package/dist/cjs/ix-event-list-item.cjs.entry.js +1 -1
  149. package/dist/cjs/ix-event-list.cjs.entry.js +6 -2
  150. package/dist/cjs/ix-field-label_2.cjs.entry.js +2 -2
  151. package/dist/cjs/ix-filter-chip_2.cjs.entry.js +2 -2
  152. package/dist/cjs/ix-flip-tile.cjs.entry.js +1 -1
  153. package/dist/cjs/ix-group.cjs.entry.js +9 -9
  154. package/dist/cjs/ix-helper-text.cjs.entry.js +2 -2
  155. package/dist/cjs/ix-icon-button_2.cjs.entry.js +5 -160
  156. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +5 -160
  157. package/dist/cjs/ix-input.cjs.entry.js +3 -3
  158. package/dist/cjs/ix-menu-avatar.cjs.entry.js +1 -1
  159. package/dist/cjs/ix-menu-category.cjs.entry.js +24 -166
  160. package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +3 -3
  161. package/dist/cjs/ix-menu-item.cjs.entry.js +11 -160
  162. package/dist/cjs/ix-menu.cjs.entry.js +40 -18
  163. package/dist/cjs/ix-modal-content_2.cjs.entry.js +2 -2
  164. package/dist/cjs/ix-modal.cjs.entry.js +15 -8
  165. package/dist/cjs/ix-number-input.cjs.entry.js +16 -13
  166. package/dist/cjs/ix-pagination.cjs.entry.js +3 -3
  167. package/dist/cjs/ix-pane.cjs.entry.js +2 -2
  168. package/dist/cjs/ix-pill_4.cjs.entry.js +12 -160
  169. package/dist/cjs/ix-popover-header.cjs.entry.js +1 -1
  170. package/dist/cjs/ix-popover.cjs.entry.js +5 -156
  171. package/dist/cjs/ix-radio.cjs.entry.js +1 -1
  172. package/dist/cjs/ix-select.cjs.entry.js +10 -10
  173. package/dist/cjs/ix-slider.cjs.entry.js +1 -1
  174. package/dist/cjs/ix-textarea.cjs.entry.js +3 -3
  175. package/dist/cjs/ix-time-input.cjs.entry.js +3 -3
  176. package/dist/cjs/ix-toggle-button.cjs.entry.js +4 -159
  177. package/dist/cjs/ix-toggle.cjs.entry.js +2 -155
  178. package/dist/cjs/ix-tooltip.cjs.entry.js +6 -2
  179. package/dist/cjs/ix-tree.cjs.entry.js +1 -0
  180. package/dist/cjs/ix-upload.cjs.entry.js +1 -1
  181. package/dist/cjs/ix-workflow-step.cjs.entry.js +11 -5
  182. package/dist/cjs/loader.cjs.js +1 -1
  183. package/dist/cjs/siemens-ix.cjs.js +1 -1
  184. package/dist/collection/components/badge/badge.js +7 -5
  185. package/dist/collection/components/badge/test/badge.page.js +6 -2
  186. package/dist/collection/components/blind/blind.js +11 -5
  187. package/dist/collection/components/breadcrumb-item/breadcrumb-item.css +108 -0
  188. package/dist/collection/components/button/button.css +54 -0
  189. package/dist/collection/components/card-accordion/card-accordion.js +7 -4
  190. package/dist/collection/components/category-filter/category-filter.css +54 -0
  191. package/dist/collection/components/category-filter/category-filter.js +4 -4
  192. package/dist/collection/components/chat-input/chat-input.js +8 -8
  193. package/dist/collection/components/checkbox-group/checkbox-group.css +1 -1
  194. package/dist/collection/components/date-dropdown/date-dropdown.js +4 -4
  195. package/dist/collection/components/date-picker/date-picker.js +15 -11
  196. package/dist/collection/components/dropdown/dropdown.js +11 -5
  197. package/dist/collection/components/dropdown-button/dropdown-button.css +9 -180
  198. package/dist/collection/components/dropdown-button/dropdown-button.js +7 -4
  199. package/dist/collection/components/event-list/event-list.js +6 -2
  200. package/dist/collection/components/group/group.js +9 -9
  201. package/dist/collection/components/icon-button/icon-button.css +54 -0
  202. package/dist/collection/components/icon-toggle-button/icon-toggle-button.css +54 -0
  203. package/dist/collection/components/input/input.util.js +6 -1
  204. package/dist/collection/components/input/number-input.js +13 -10
  205. package/dist/collection/components/menu/menu-expand-icon.css +6 -0
  206. package/dist/collection/components/menu/menu.js +39 -17
  207. package/dist/collection/components/menu-category/menu-category.js +22 -11
  208. package/dist/collection/components/menu-item/menu-item.js +9 -5
  209. package/dist/collection/components/modal/modal.js +13 -6
  210. package/dist/collection/components/modal-header/modal-header.js +2 -2
  211. package/dist/collection/components/pagination/pagination.css +54 -0
  212. package/dist/collection/components/popover/popover.js +3 -1
  213. package/dist/collection/components/popover/test/popover.page.js +3 -2
  214. package/dist/collection/components/select/select.js +9 -9
  215. package/dist/collection/components/tabs/tabs.js +10 -5
  216. package/dist/collection/components/time-picker/test/expect-defined.js +13 -0
  217. package/dist/collection/components/time-picker/time-picker.js +5 -5
  218. package/dist/collection/components/toggle-button/toggle-button.css +54 -0
  219. package/dist/collection/components/tooltip/tooltip.js +6 -2
  220. package/dist/collection/components/utils/a11y.js +1 -1
  221. package/dist/collection/components/utils/animation.js +8 -12
  222. package/dist/collection/components/utils/internal/mixins/accessibility/aria-attribute-observer.js +106 -0
  223. package/dist/collection/components/utils/internal/mixins/accessibility/inherit-aria-attributes.mixin.js +175 -166
  224. package/dist/collection/components/utils/lazy-list/lazy.js +1 -0
  225. package/dist/collection/components/workflow-step/workflow-step.css +2 -2
  226. package/dist/collection/components/workflow-step/workflow-step.js +10 -4
  227. package/dist/collection/tests/utils/test/page.js +3 -0
  228. package/dist/esm/{a11y-C21npbUc.js → a11y-DD206pTM.js} +1 -1
  229. package/dist/esm/{animation-DNIQ2C1K.js → animation-BqeSHO6C.js} +8 -12
  230. package/dist/esm/{base-button-DZdtpLxn.js → base-button-Oanl-VqF.js} +1 -1
  231. package/dist/esm/{base-icon-button-DufFLJC-.js → base-icon-button-CxmfMOOd.js} +1 -1
  232. package/dist/esm/{focus-visible.mixin-CaRK3Ex_.js → focus-visible.mixin-DNYMa4dY.js} +1 -1
  233. package/dist/esm/{helper-text-util-sQKO6RPJ.js → helper-text-util-BJ-ZMW2J.js} +1 -1
  234. package/dist/esm/index.js +1 -1
  235. package/dist/esm/inherit-aria-attributes.mixin-BmTKblYV.js +304 -0
  236. package/dist/esm/{input.fc-DliqEtCM.js → input.fc-Cwmx0lGN.js} +8 -3
  237. package/dist/esm/ix-action-card.entry.js +1 -1
  238. package/dist/esm/ix-application-header.entry.js +1 -1
  239. package/dist/esm/ix-avatar_2.entry.js +2 -2
  240. package/dist/esm/ix-badge.entry.js +8 -159
  241. package/dist/esm/ix-blind.entry.js +13 -7
  242. package/dist/esm/ix-breadcrumb-item.entry.js +4 -157
  243. package/dist/esm/ix-breadcrumb.entry.js +1 -1
  244. package/dist/esm/ix-button.entry.js +4 -157
  245. package/dist/esm/ix-card-accordion_2.entry.js +7 -4
  246. package/dist/esm/ix-category-filter.entry.js +7 -7
  247. package/dist/esm/ix-chat-input.entry.js +8 -8
  248. package/dist/esm/ix-checkbox-group.entry.js +1 -1
  249. package/dist/esm/ix-checkbox.entry.js +1 -1
  250. package/dist/esm/ix-chip.entry.js +2 -157
  251. package/dist/esm/ix-col_4.entry.js +5 -5
  252. package/dist/esm/ix-date-dropdown.entry.js +6 -6
  253. package/dist/esm/ix-date-input.entry.js +3 -3
  254. package/dist/esm/ix-date-picker.entry.js +15 -11
  255. package/dist/esm/ix-datetime-input.entry.js +3 -3
  256. package/dist/esm/ix-dropdown-button.entry.js +9 -6
  257. package/dist/esm/ix-dropdown_2.entry.js +13 -7
  258. package/dist/esm/ix-event-list-item.entry.js +1 -1
  259. package/dist/esm/ix-event-list.entry.js +6 -2
  260. package/dist/esm/ix-field-label_2.entry.js +2 -2
  261. package/dist/esm/ix-filter-chip_2.entry.js +2 -2
  262. package/dist/esm/ix-flip-tile.entry.js +1 -1
  263. package/dist/esm/ix-group.entry.js +9 -9
  264. package/dist/esm/ix-helper-text.entry.js +2 -2
  265. package/dist/esm/ix-icon-button_2.entry.js +5 -160
  266. package/dist/esm/ix-icon-toggle-button.entry.js +5 -160
  267. package/dist/esm/ix-input.entry.js +3 -3
  268. package/dist/esm/ix-menu-avatar.entry.js +1 -1
  269. package/dist/esm/ix-menu-category.entry.js +24 -166
  270. package/dist/esm/ix-menu-expand-icon.entry.js +3 -3
  271. package/dist/esm/ix-menu-item.entry.js +11 -160
  272. package/dist/esm/ix-menu.entry.js +40 -18
  273. package/dist/esm/ix-modal-content_2.entry.js +2 -2
  274. package/dist/esm/ix-modal.entry.js +15 -8
  275. package/dist/esm/ix-number-input.entry.js +16 -13
  276. package/dist/esm/ix-pagination.entry.js +3 -3
  277. package/dist/esm/ix-pane.entry.js +2 -2
  278. package/dist/esm/ix-pill_4.entry.js +12 -160
  279. package/dist/esm/ix-popover-header.entry.js +1 -1
  280. package/dist/esm/ix-popover.entry.js +5 -156
  281. package/dist/esm/ix-radio.entry.js +1 -1
  282. package/dist/esm/ix-select.entry.js +10 -10
  283. package/dist/esm/ix-slider.entry.js +1 -1
  284. package/dist/esm/ix-textarea.entry.js +3 -3
  285. package/dist/esm/ix-time-input.entry.js +3 -3
  286. package/dist/esm/ix-toggle-button.entry.js +4 -159
  287. package/dist/esm/ix-toggle.entry.js +2 -155
  288. package/dist/esm/ix-tooltip.entry.js +6 -2
  289. package/dist/esm/ix-tree.entry.js +1 -0
  290. package/dist/esm/ix-upload.entry.js +1 -1
  291. package/dist/esm/ix-workflow-step.entry.js +11 -5
  292. package/dist/esm/loader.js +1 -1
  293. package/dist/esm/siemens-ix.js +1 -1
  294. package/dist/siemens-ix/index.esm.js +1 -1
  295. package/dist/siemens-ix/p-0409f281.entry.js +1 -0
  296. package/dist/siemens-ix/{p-2e780c86.entry.js → p-0819923e.entry.js} +1 -1
  297. package/dist/siemens-ix/p-0b875bbd.entry.js +1 -0
  298. package/dist/siemens-ix/p-1a7b51d8.entry.js +1 -0
  299. package/dist/siemens-ix/{p-2b0ffba0.entry.js → p-1aef893c.entry.js} +1 -1
  300. package/dist/siemens-ix/{p-03745110.entry.js → p-213059a9.entry.js} +1 -1
  301. package/dist/siemens-ix/p-24138425.entry.js +1 -0
  302. package/dist/siemens-ix/{p-29e8126a.entry.js → p-32104d25.entry.js} +1 -1
  303. package/dist/siemens-ix/{p-447d52de.entry.js → p-35042cda.entry.js} +1 -1
  304. package/dist/siemens-ix/p-351e8732.entry.js +1 -0
  305. package/dist/siemens-ix/{p-884fd236.entry.js → p-38eef16a.entry.js} +1 -1
  306. package/dist/siemens-ix/p-3a60004f.entry.js +1 -0
  307. package/dist/siemens-ix/p-3ad11c04.entry.js +1 -0
  308. package/dist/siemens-ix/p-3c92d126.entry.js +1 -0
  309. package/dist/siemens-ix/{p-d0649c07.entry.js → p-3fe85552.entry.js} +1 -1
  310. package/dist/siemens-ix/{p-f4575603.entry.js → p-40239cf6.entry.js} +1 -1
  311. package/dist/siemens-ix/{p-a92495b8.entry.js → p-403b7d10.entry.js} +1 -1
  312. package/dist/siemens-ix/p-4739e88e.entry.js +1 -0
  313. package/dist/siemens-ix/p-4c765c73.entry.js +1 -0
  314. package/dist/siemens-ix/{p-0b10bb78.entry.js → p-50ece3e2.entry.js} +1 -1
  315. package/dist/siemens-ix/p-53319a22.entry.js +1 -0
  316. package/dist/siemens-ix/{p-1fbb010f.entry.js → p-571a1628.entry.js} +1 -1
  317. package/dist/siemens-ix/{p-4079292f.entry.js → p-60f7be48.entry.js} +1 -1
  318. package/dist/siemens-ix/p-643ed439.entry.js +1 -0
  319. package/dist/siemens-ix/p-6505e43d.entry.js +1 -0
  320. package/dist/siemens-ix/{p-217dc62a.entry.js → p-675e2aa8.entry.js} +1 -1
  321. package/dist/siemens-ix/{p-99b97922.entry.js → p-79a08a2a.entry.js} +1 -1
  322. package/dist/siemens-ix/p-83827bb2.entry.js +1 -0
  323. package/dist/siemens-ix/p-859294b4.entry.js +1 -0
  324. package/dist/siemens-ix/p-8af23465.entry.js +1 -0
  325. package/dist/siemens-ix/{p-6ffe8ec7.entry.js → p-8bc225b7.entry.js} +1 -1
  326. package/dist/siemens-ix/p-9254cb19.entry.js +1 -0
  327. package/dist/siemens-ix/p-9c6e5dcc.entry.js +1 -0
  328. package/dist/siemens-ix/{p-bf827cb3.entry.js → p-9df616d3.entry.js} +1 -1
  329. package/dist/siemens-ix/p-Bemn50Nk.js +1 -0
  330. package/dist/siemens-ix/p-BqeSHO6C.js +1 -0
  331. package/dist/siemens-ix/{p-HpQs38Y0.js → p-CDKWxg_L.js} +1 -1
  332. package/dist/siemens-ix/{p-CXbob2Ew.js → p-CLxF-dX8.js} +1 -1
  333. package/dist/siemens-ix/p-Cv_omozQ.js +1 -0
  334. package/dist/siemens-ix/{p-C21npbUc.js → p-DD206pTM.js} +1 -1
  335. package/dist/siemens-ix/p-a05bf6b5.entry.js +1 -0
  336. package/dist/siemens-ix/p-a4c3f3d3.entry.js +1 -0
  337. package/dist/siemens-ix/{p-836df58e.entry.js → p-aa0770ab.entry.js} +1 -1
  338. package/dist/siemens-ix/{p-89f6329b.entry.js → p-b5bf48cb.entry.js} +1 -1
  339. package/dist/siemens-ix/p-b9dcbd84.entry.js +1 -0
  340. package/dist/siemens-ix/{p-f3528209.entry.js → p-c393c20e.entry.js} +1 -1
  341. package/dist/siemens-ix/{p-b3eaf43d.entry.js → p-caac5984.entry.js} +1 -1
  342. package/dist/siemens-ix/p-cfd75035.entry.js +1 -0
  343. package/dist/siemens-ix/{p-47e2c5a1.entry.js → p-d4d99140.entry.js} +1 -1
  344. package/dist/siemens-ix/p-d94ad8f8.entry.js +1 -0
  345. package/dist/siemens-ix/p-da700215.entry.js +1 -0
  346. package/dist/siemens-ix/p-ddb49318.entry.js +1 -0
  347. package/dist/siemens-ix/{p-1afa8fb3.entry.js → p-de9a4607.entry.js} +1 -1
  348. package/dist/siemens-ix/{p-4b85292e.entry.js → p-e2e7c16a.entry.js} +1 -1
  349. package/dist/siemens-ix/p-e5239c6d.entry.js +1 -0
  350. package/dist/siemens-ix/p-e87e947c.entry.js +1 -0
  351. package/dist/siemens-ix/p-e8d73d19.entry.js +1 -0
  352. package/dist/siemens-ix/{p-0329eb6e.entry.js → p-e8f5519f.entry.js} +1 -1
  353. package/dist/siemens-ix/{p-92804589.entry.js → p-f7f6cf46.entry.js} +1 -1
  354. package/dist/siemens-ix/{p-bd2f7002.entry.js → p-fcfecc91.entry.js} +1 -1
  355. package/dist/siemens-ix/{p-kmPsIcs5.js → p-rgh7lt60.js} +1 -1
  356. package/dist/siemens-ix/p-xptA1Kt1.js +1 -0
  357. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  358. package/dist/types/components/badge/badge.d.ts +1 -16
  359. package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +1 -16
  360. package/dist/types/components/button/button.d.ts +1 -16
  361. package/dist/types/components/chip/chip.d.ts +1 -16
  362. package/dist/types/components/dropdown/dropdown-focus.d.ts +1 -1
  363. package/dist/types/components/group/group.d.ts +1 -1
  364. package/dist/types/components/icon-button/icon-button.d.ts +2 -17
  365. package/dist/types/components/icon-toggle-button/icon-toggle-button.d.ts +1 -16
  366. package/dist/types/components/input/input.util.d.ts +2 -3
  367. package/dist/types/components/input/number-input.d.ts +1 -0
  368. package/dist/types/components/menu/menu.d.ts +1 -1
  369. package/dist/types/components/menu-category/menu-category.d.ts +2 -17
  370. package/dist/types/components/menu-item/menu-item.d.ts +1 -16
  371. package/dist/types/components/modal/modal.d.ts +1 -0
  372. package/dist/types/components/modal-header/modal-header.d.ts +1 -1
  373. package/dist/types/components/popover/popover.d.ts +1 -16
  374. package/dist/types/components/tabs/tabs.d.ts +3 -16
  375. package/dist/types/components/time-picker/test/expect-defined.d.ts +1 -0
  376. package/dist/types/components/toggle/toggle.d.ts +1 -16
  377. package/dist/types/components/toggle-button/toggle-button.d.ts +1 -16
  378. package/dist/types/components/tree/tree.d.ts +1 -1
  379. package/dist/types/components/utils/a11y.d.ts +1 -0
  380. package/dist/types/components/utils/internal/mixins/accessibility/aria-attribute-observer.d.ts +7 -0
  381. package/dist/types/components/utils/internal/mixins/accessibility/inherit-aria-attributes.mixin.d.ts +7 -18
  382. package/dist/types/components/utils/shadow-dom.d.ts +1 -1
  383. package/dist/types/components/workflow-step/workflow-step.d.ts +1 -0
  384. package/hydrate/index.js +535 -2015
  385. package/hydrate/index.mjs +535 -2015
  386. package/package.json +1 -1
  387. package/components/p-1FBWW6v2.js +0 -1
  388. package/components/p-BDnx22Gp.js +0 -1
  389. package/components/p-BHoJOFM-.js +0 -1
  390. package/components/p-BST8QY5w.js +0 -1
  391. package/components/p-BcbFeRB0.js +0 -1
  392. package/components/p-CLDB-pmj.js +0 -1
  393. package/components/p-CRtj-KBq.js +0 -1
  394. package/components/p-CTRSoM-z.js +0 -1
  395. package/components/p-CgPr717U.js +0 -1
  396. package/components/p-CvAmaEU2.js +0 -1
  397. package/components/p-DNIQ2C1K.js +0 -1
  398. package/components/p-DdlGyKd2.js +0 -1
  399. package/components/p-DtWFUcZO.js +0 -1
  400. package/components/p-DylHkzl6.js +0 -1
  401. package/components/p-NXyac9kC.js +0 -1
  402. package/components/p-hf_zqlB1.js +0 -1
  403. package/dist/cjs/inherit-aria-attributes.mixin-EyRU0cDO.js +0 -36
  404. package/dist/esm/inherit-aria-attributes.mixin-nCmPujqf.js +0 -34
  405. package/dist/siemens-ix/p-0555a6fb.entry.js +0 -1
  406. package/dist/siemens-ix/p-05c35730.entry.js +0 -1
  407. package/dist/siemens-ix/p-0f2ac675.entry.js +0 -1
  408. package/dist/siemens-ix/p-12bce791.entry.js +0 -1
  409. package/dist/siemens-ix/p-30008054.entry.js +0 -1
  410. package/dist/siemens-ix/p-488b7074.entry.js +0 -1
  411. package/dist/siemens-ix/p-49d8b129.entry.js +0 -1
  412. package/dist/siemens-ix/p-55a57ce6.entry.js +0 -1
  413. package/dist/siemens-ix/p-55ae6204.entry.js +0 -1
  414. package/dist/siemens-ix/p-55e8ad3b.entry.js +0 -1
  415. package/dist/siemens-ix/p-5f48d238.entry.js +0 -1
  416. package/dist/siemens-ix/p-64432fa0.entry.js +0 -1
  417. package/dist/siemens-ix/p-6ebf66b8.entry.js +0 -1
  418. package/dist/siemens-ix/p-7690a56d.entry.js +0 -1
  419. package/dist/siemens-ix/p-80d7a07a.entry.js +0 -1
  420. package/dist/siemens-ix/p-816bcf01.entry.js +0 -1
  421. package/dist/siemens-ix/p-86ad005e.entry.js +0 -1
  422. package/dist/siemens-ix/p-8c3e7613.entry.js +0 -1
  423. package/dist/siemens-ix/p-8df1362f.entry.js +0 -1
  424. package/dist/siemens-ix/p-9094212f.entry.js +0 -1
  425. package/dist/siemens-ix/p-99df3561.entry.js +0 -1
  426. package/dist/siemens-ix/p-B4oiZyZC.js +0 -1
  427. package/dist/siemens-ix/p-DNIQ2C1K.js +0 -1
  428. package/dist/siemens-ix/p-a1d79970.entry.js +0 -1
  429. package/dist/siemens-ix/p-a7d695f5.entry.js +0 -1
  430. package/dist/siemens-ix/p-baf74d39.entry.js +0 -1
  431. package/dist/siemens-ix/p-bf75d77b.entry.js +0 -1
  432. package/dist/siemens-ix/p-cddc43e2.entry.js +0 -1
  433. package/dist/siemens-ix/p-cfd83faa.entry.js +0 -1
  434. package/dist/siemens-ix/p-fff1f8b1.entry.js +0 -1
  435. package/dist/siemens-ix/p-vphIrWGB.js +0 -1
  436. package/dist/siemens-ix/p-yUgQMMln.js +0 -1
  437. /package/dist/siemens-ix/{p-383e95ad.entry.js → p-f4d8f94b.entry.js} +0 -0
@@ -1,190 +1,199 @@
1
- import { a11yHostAttributes, } from "./../../../a11y";
1
+ import { a11yAttributes, a11yHostAttributes, } from "./../../../a11y";
2
+ import { flushAriaAttributeMutations, observeAriaAttributes, runWithoutAriaAttributeObservation, unobserveAriaAttributes, } from "./aria-attribute-observer";
2
3
  export const InheritAriaAttributesMixin = (Base) => {
3
4
  class InheritAriaAttributesMixinCtor extends Base {
5
+ constructor() {
6
+ super();
7
+ }
4
8
  inheritAriaAttributes = {};
5
- constructor(...args) {
6
- super(...args);
9
+ #ariaObserverInitialized = false;
10
+ #ariaObservationActive = false;
11
+ #ariaInitializationPending = false;
12
+ #disconnected = false;
13
+ #ariaAttributesBeforeDisconnect;
14
+ #ariaAttributesChangedWhileDisconnected = new Set();
15
+ #ariaAttributeRemovalPatched = false;
16
+ #readingAriaAttributes = false;
17
+ #handleAriaMutations(changedAttributes) {
18
+ const hostElement = this.#getHostElement();
19
+ const ignoredAttributes = this.getIgnoredAriaAttributes();
20
+ let updatedAttributes = this.inheritAriaAttributes;
21
+ changedAttributes.forEach((attributeName) => {
22
+ if (ignoredAttributes.includes(attributeName)) {
23
+ return;
24
+ }
25
+ const newValue = hostElement.getAttribute(attributeName);
26
+ const currentValue = updatedAttributes[attributeName] ?? null;
27
+ if (newValue === currentValue) {
28
+ return;
29
+ }
30
+ if (updatedAttributes === this.inheritAriaAttributes) {
31
+ updatedAttributes = { ...updatedAttributes };
32
+ }
33
+ if (newValue === null) {
34
+ delete updatedAttributes[attributeName];
35
+ }
36
+ else {
37
+ updatedAttributes[attributeName] = newValue;
38
+ }
39
+ });
40
+ if (updatedAttributes !== this.inheritAriaAttributes) {
41
+ this.inheritAriaAttributes = updatedAttributes;
42
+ }
7
43
  }
8
44
  getIgnoredAriaAttributes() {
9
45
  return [];
10
46
  }
47
+ readAriaAttributesFromHost() {
48
+ const hostElement = this.#getHostElement();
49
+ return runWithoutAriaAttributeObservation(hostElement, () => {
50
+ this.#readingAriaAttributes = true;
51
+ try {
52
+ return a11yHostAttributes(hostElement, this.getIgnoredAriaAttributes());
53
+ }
54
+ finally {
55
+ this.#readingAriaAttributes = false;
56
+ }
57
+ });
58
+ }
59
+ #getHostElement() {
60
+ if (!this.hostElement) {
61
+ throw new Error('Host element is not defined. Make sure to apply the InheritAriaAttributesMixin to a Stencil component.');
62
+ }
63
+ return this.hostElement;
64
+ }
65
+ #getAriaAttributesFromHost() {
66
+ const hostElement = this.#getHostElement();
67
+ const attributes = new Map();
68
+ a11yAttributes.forEach((attributeName) => {
69
+ const value = hostElement.getAttribute(attributeName);
70
+ if (value !== null) {
71
+ attributes.set(attributeName, value);
72
+ }
73
+ });
74
+ return attributes;
75
+ }
76
+ #patchAriaAttributeRemoval() {
77
+ if (this.#ariaAttributeRemovalPatched ||
78
+ typeof MutationObserver === 'undefined') {
79
+ return;
80
+ }
81
+ const hostElement = this.#getHostElement();
82
+ const removeAttribute = hostElement.removeAttribute.bind(hostElement);
83
+ // ARIA attributes are moved from the host to the internal element during
84
+ // initialization. When Angular later calls removeAttribute(), the host
85
+ // attribute is already absent, so no MutationObserver record is created.
86
+ // Intercept the call to also clear the forwarded internal attribute.
87
+ hostElement.removeAttribute = (attributeName) => {
88
+ removeAttribute(attributeName);
89
+ if (a11yAttributes.includes(attributeName)) {
90
+ if (this.#readingAriaAttributes) {
91
+ return;
92
+ }
93
+ if (!this.#ariaObservationActive) {
94
+ this.#ariaAttributesChangedWhileDisconnected.add(attributeName);
95
+ }
96
+ this.#updateInheritedAriaAttribute(null, attributeName);
97
+ }
98
+ };
99
+ this.#ariaAttributeRemovalPatched = true;
100
+ }
101
+ #observeAriaAttributes() {
102
+ this.#ariaObservationActive = observeAriaAttributes(this.#getHostElement(), (attributeNames) => this.#handleAriaMutations(attributeNames));
103
+ }
104
+ connectedCallback() {
105
+ if (super.connectedCallback) {
106
+ super.connectedCallback();
107
+ }
108
+ this.#disconnected = false;
109
+ if (this.#ariaInitializationPending && !this.#ariaObserverInitialized) {
110
+ this.#ariaInitializationPending = false;
111
+ this.#initializeAriaAttributes();
112
+ return;
113
+ }
114
+ if (this.#ariaObserverInitialized) {
115
+ const hostElement = this.#getHostElement();
116
+ this.#observeAriaAttributes();
117
+ if (this.#ariaAttributesBeforeDisconnect) {
118
+ const inheritedAttributes = this.readAriaAttributesFromHost();
119
+ a11yAttributes.forEach((attributeName) => {
120
+ const oldValue = this.#ariaAttributesBeforeDisconnect?.get(attributeName) ?? null;
121
+ const newValue = inheritedAttributes[attributeName] ??
122
+ hostElement.getAttribute(attributeName);
123
+ if (newValue !== oldValue ||
124
+ this.#ariaAttributesChangedWhileDisconnected.has(attributeName)) {
125
+ this.#updateInheritedAriaAttribute(newValue ?? null, attributeName);
126
+ }
127
+ });
128
+ }
129
+ }
130
+ this.#ariaAttributesBeforeDisconnect = undefined;
131
+ this.#ariaAttributesChangedWhileDisconnected.clear();
132
+ }
11
133
  componentWillLoad() {
12
- this.inheritAriaAttributes = a11yHostAttributes(this.hostElement, this.getIgnoredAriaAttributes ? this.getIgnoredAriaAttributes() : []);
134
+ if (super.componentWillLoad) {
135
+ const baseLoad = super.componentWillLoad();
136
+ if (baseLoad) {
137
+ return baseLoad.then(() => this.#initializeAriaAttributesIfConnected());
138
+ }
139
+ }
140
+ this.#initializeAriaAttributesIfConnected();
141
+ }
142
+ #initializeAriaAttributesIfConnected() {
143
+ if (this.#disconnected) {
144
+ this.#ariaInitializationPending = true;
145
+ return;
146
+ }
147
+ this.#initializeAriaAttributes();
148
+ }
149
+ #initializeAriaAttributes() {
150
+ this.inheritAriaAttributes = this.readAriaAttributesFromHost();
151
+ this.#patchAriaAttributeRemoval();
152
+ this.#ariaObserverInitialized = true;
153
+ this.#observeAriaAttributes();
13
154
  }
14
- ariaAttributeChanged(newValue, _, propName) {
155
+ #updateInheritedAriaAttribute(newValue, propName) {
15
156
  const ignoredAttributes = this.getIgnoredAriaAttributes();
16
157
  if (ignoredAttributes.includes(propName)) {
17
158
  return;
18
159
  }
19
- const updateAttribute = {
20
- [propName]: newValue,
21
- };
22
- this.inheritAriaAttributes = {
160
+ const currentValue = this.inheritAriaAttributes[propName] ?? null;
161
+ if (newValue === currentValue) {
162
+ return;
163
+ }
164
+ const updatedAttributes = {
23
165
  ...this.inheritAriaAttributes,
24
- ...updateAttribute,
25
166
  };
167
+ if (newValue === null) {
168
+ delete updatedAttributes[propName];
169
+ }
170
+ else {
171
+ updatedAttributes[propName] = newValue;
172
+ }
173
+ this.inheritAriaAttributes = updatedAttributes;
174
+ }
175
+ disconnectedCallback() {
176
+ this.#disconnected = true;
177
+ this.#ariaAttributesChangedWhileDisconnected.clear();
178
+ if (this.#ariaObserverInitialized) {
179
+ flushAriaAttributeMutations();
180
+ this.#ariaAttributesBeforeDisconnect =
181
+ this.#getAriaAttributesFromHost();
182
+ unobserveAriaAttributes(this.#getHostElement());
183
+ this.#ariaObservationActive = false;
184
+ }
185
+ else {
186
+ this.#ariaAttributesBeforeDisconnect = undefined;
187
+ }
188
+ if (super.disconnectedCallback) {
189
+ super.disconnectedCallback();
190
+ }
26
191
  }
27
192
  static get states() {
28
193
  return {
29
194
  "inheritAriaAttributes": {}
30
195
  };
31
196
  }
32
- static get watchers() {
33
- return [{
34
- "propName": "role",
35
- "methodName": "ariaAttributeChanged"
36
- }, {
37
- "propName": "aria-activedescendant",
38
- "methodName": "ariaAttributeChanged"
39
- }, {
40
- "propName": "aria-atomic",
41
- "methodName": "ariaAttributeChanged"
42
- }, {
43
- "propName": "aria-autocomplete",
44
- "methodName": "ariaAttributeChanged"
45
- }, {
46
- "propName": "aria-braillelabel",
47
- "methodName": "ariaAttributeChanged"
48
- }, {
49
- "propName": "aria-brailleroledescription",
50
- "methodName": "ariaAttributeChanged"
51
- }, {
52
- "propName": "aria-busy",
53
- "methodName": "ariaAttributeChanged"
54
- }, {
55
- "propName": "aria-checked",
56
- "methodName": "ariaAttributeChanged"
57
- }, {
58
- "propName": "aria-colcount",
59
- "methodName": "ariaAttributeChanged"
60
- }, {
61
- "propName": "aria-colindex",
62
- "methodName": "ariaAttributeChanged"
63
- }, {
64
- "propName": "aria-colindextext",
65
- "methodName": "ariaAttributeChanged"
66
- }, {
67
- "propName": "aria-colspan",
68
- "methodName": "ariaAttributeChanged"
69
- }, {
70
- "propName": "aria-controls",
71
- "methodName": "ariaAttributeChanged"
72
- }, {
73
- "propName": "aria-current",
74
- "methodName": "ariaAttributeChanged"
75
- }, {
76
- "propName": "aria-describedby",
77
- "methodName": "ariaAttributeChanged"
78
- }, {
79
- "propName": "aria-description",
80
- "methodName": "ariaAttributeChanged"
81
- }, {
82
- "propName": "aria-details",
83
- "methodName": "ariaAttributeChanged"
84
- }, {
85
- "propName": "aria-disabled",
86
- "methodName": "ariaAttributeChanged"
87
- }, {
88
- "propName": "aria-errormessage",
89
- "methodName": "ariaAttributeChanged"
90
- }, {
91
- "propName": "aria-expanded",
92
- "methodName": "ariaAttributeChanged"
93
- }, {
94
- "propName": "aria-flowto",
95
- "methodName": "ariaAttributeChanged"
96
- }, {
97
- "propName": "aria-haspopup",
98
- "methodName": "ariaAttributeChanged"
99
- }, {
100
- "propName": "aria-hidden",
101
- "methodName": "ariaAttributeChanged"
102
- }, {
103
- "propName": "aria-invalid",
104
- "methodName": "ariaAttributeChanged"
105
- }, {
106
- "propName": "aria-keyshortcuts",
107
- "methodName": "ariaAttributeChanged"
108
- }, {
109
- "propName": "aria-label",
110
- "methodName": "ariaAttributeChanged"
111
- }, {
112
- "propName": "aria-labelledby",
113
- "methodName": "ariaAttributeChanged"
114
- }, {
115
- "propName": "aria-level",
116
- "methodName": "ariaAttributeChanged"
117
- }, {
118
- "propName": "aria-live",
119
- "methodName": "ariaAttributeChanged"
120
- }, {
121
- "propName": "aria-multiline",
122
- "methodName": "ariaAttributeChanged"
123
- }, {
124
- "propName": "aria-multiselectable",
125
- "methodName": "ariaAttributeChanged"
126
- }, {
127
- "propName": "aria-orientation",
128
- "methodName": "ariaAttributeChanged"
129
- }, {
130
- "propName": "aria-owns",
131
- "methodName": "ariaAttributeChanged"
132
- }, {
133
- "propName": "aria-placeholder",
134
- "methodName": "ariaAttributeChanged"
135
- }, {
136
- "propName": "aria-posinset",
137
- "methodName": "ariaAttributeChanged"
138
- }, {
139
- "propName": "aria-pressed",
140
- "methodName": "ariaAttributeChanged"
141
- }, {
142
- "propName": "aria-readonly",
143
- "methodName": "ariaAttributeChanged"
144
- }, {
145
- "propName": "aria-relevant",
146
- "methodName": "ariaAttributeChanged"
147
- }, {
148
- "propName": "aria-required",
149
- "methodName": "ariaAttributeChanged"
150
- }, {
151
- "propName": "aria-roledescription",
152
- "methodName": "ariaAttributeChanged"
153
- }, {
154
- "propName": "aria-rowcount",
155
- "methodName": "ariaAttributeChanged"
156
- }, {
157
- "propName": "aria-rowindex",
158
- "methodName": "ariaAttributeChanged"
159
- }, {
160
- "propName": "aria-rowindextext",
161
- "methodName": "ariaAttributeChanged"
162
- }, {
163
- "propName": "aria-rowspan",
164
- "methodName": "ariaAttributeChanged"
165
- }, {
166
- "propName": "aria-selected",
167
- "methodName": "ariaAttributeChanged"
168
- }, {
169
- "propName": "aria-setsize",
170
- "methodName": "ariaAttributeChanged"
171
- }, {
172
- "propName": "aria-sort",
173
- "methodName": "ariaAttributeChanged"
174
- }, {
175
- "propName": "aria-valuemax",
176
- "methodName": "ariaAttributeChanged"
177
- }, {
178
- "propName": "aria-valuemin",
179
- "methodName": "ariaAttributeChanged"
180
- }, {
181
- "propName": "aria-valuenow",
182
- "methodName": "ariaAttributeChanged"
183
- }, {
184
- "propName": "aria-valuetext",
185
- "methodName": "ariaAttributeChanged"
186
- }];
187
- }
188
197
  }
189
198
  return InheritAriaAttributesMixinCtor;
190
199
  };
@@ -1,3 +1,4 @@
1
+ /* eslint-disable no-restricted-syntax */
1
2
  /*
2
3
  * SPDX-FileCopyrightText: 2024 Siemens AG
3
4
  *
@@ -202,8 +202,8 @@
202
202
  background-color: var(--theme-workflow-step--background--active);
203
203
  }
204
204
  :host .step:focus-visible {
205
- outline: 1px solid var(--focus--border-color);
206
- border-radius: 0;
205
+ outline: 1px solid var(--theme-color-focus-bdr);
206
+ outline-offset: var(--theme-btn--focus--outline-offset);
207
207
  }
208
208
  :host .step.selected {
209
209
  background-color: var(--theme-workflow-step--background--selected);
@@ -95,6 +95,12 @@ export class WorkflowStep {
95
95
  this.selectedChanged.emit(this.hostElement);
96
96
  }
97
97
  }
98
+ onKeyDown(event) {
99
+ if (event.key === ' ' || event.key === 'Enter') {
100
+ event.preventDefault();
101
+ this.onStepClick();
102
+ }
103
+ }
98
104
  getIconAriaLabel() {
99
105
  switch (this.iconName) {
100
106
  case iconCircle:
@@ -116,19 +122,19 @@ export class WorkflowStep {
116
122
  }
117
123
  }
118
124
  render() {
119
- const icons = !this.customIconSlot ? (h(Fragment, null, h("ix-icon", { color: "color-1", name: this.status === 'warning' ? iconTriangleFilled : iconCircleFilled, class: "absolute", size: "24" }), h("ix-icon", { color: this.iconColor, name: this.iconName, class: "absolute", size: "24", "aria-label": this.getIconAriaLabel() }))) : null;
120
- return (h(Host, { key: '06871acf9245821241c320810bb5febd368140ac', class: { 'host-vertical': this.vertical }, onClick: () => this.onStepClick() }, h("div", { key: '94aee385c1690f15432f2bfc27b55bc0edfaf7d9', tabIndex: 0, class: {
125
+ const icons = !this.customIconSlot ? (h(Fragment, null, h("ix-icon", { color: "color-1", name: this.status === 'warning' ? iconTriangleFilled : iconCircleFilled, class: "absolute", size: "24", "aria-hidden": "true" }), h("ix-icon", { color: this.iconColor, name: this.iconName, class: "absolute", size: "24", "aria-label": this.getIconAriaLabel() }))) : null;
126
+ return (h(Host, { key: '0b31b31bfaaff7cdaf2a3b352dff5a4895d6a8f8', class: { 'host-vertical': this.vertical } }, h("div", { key: '60fc771cc2c3025281ae93b582f768ed00e70c1d', tabIndex: this.disabled || !this.clickable ? -1 : 0, role: this.clickable ? 'button' : undefined, "aria-disabled": this.disabled ? 'true' : undefined, "aria-current": this.selected ? 'step' : undefined, onClick: () => this.onStepClick(), onKeyDown: (e) => this.onKeyDown(e), class: {
121
127
  step: true,
122
128
  selected: this.selected,
123
129
  vertical: this.vertical,
124
130
  disabled: this.disabled,
125
131
  clickable: this.clickable && !this.disabled,
126
- } }, h("div", { key: '74a094732ab9db8f574ede36820ab6e1d34dad7d', class: "wrapper" }, h("div", { key: '681e07da1b3047d5db1b9185f094d905e08173f3', class: {
132
+ } }, h("div", { key: '6187e161fa1da2b660acdd1ca16f223803b32f51', class: "wrapper" }, h("div", { key: '918d1167813489e8caae3759bb104d91963d96f6', class: {
127
133
  line: true,
128
134
  selected: this.selected,
129
135
  [this.status]: true,
130
136
  [this.position]: true,
131
- } }), h("div", { key: '02d69f1f4f882dfb00eba46ae1702d58eb881c44', class: "iconWrapper" }, icons, h("slot", { key: 'e6a1db6f80d2eddc1a805f20b69c1055de884240', name: "custom-icon" }))), h("div", { key: 'e1f7ae29a343cc37370200d6597597c044f10d1e', class: "text" }, h("slot", { key: '26cad775e230ebcebc042dbbefdb24a5fc55db34' })))));
137
+ } }), h("div", { key: '11df46fc6530a9959a675d0e66b450b2b3beff23', class: "iconWrapper" }, icons, h("slot", { key: '8e17d1c02e11aa0da20fe2301a4b06394833a89d', name: "custom-icon" }))), h("div", { key: 'a195bbb624575f3c056492f0b3afadbd6f0b028d', class: "text" }, h("slot", { key: 'fb99dccd27941723266a0f4c7ecef584cba91ef2' })))));
132
138
  }
133
139
  static get is() { return "ix-workflow-step"; }
134
140
  static get encapsulation() { return "shadow"; }
@@ -121,6 +121,9 @@ export const expect = baseExpect.extend({
121
121
  if (activeDescendantElementLocator) {
122
122
  try {
123
123
  const activeDescendantId = await activeDescendantElementLocator.evaluate((el) => el.getAttribute('aria-activedescendant'));
124
+ if (activeDescendantId === null) {
125
+ throw new Error('Active descendant element does not have an aria-activedescendant attribute.');
126
+ }
124
127
  await baseExpect(activeDescendantElementLocator).toHaveAttribute('aria-activedescendant', activeDescendantId);
125
128
  }
126
129
  catch (e) {
@@ -150,4 +150,4 @@ const forceTabIndex = (element, tabIndex) => {
150
150
  }
151
151
  };
152
152
 
153
- export { a11yBoolean as a, a11yHostAttributes as b, forceTabIndex as f, getFallbackLabelFromIconName as g };
153
+ export { a11yBoolean as a, a11yHostAttributes as b, a11yAttributes as c, forceTabIndex as f, getFallbackLabelFromIconName as g };
@@ -22,11 +22,11 @@ class Animation {
22
22
  }
23
23
  static ensureCache() {
24
24
  if (this.#cache !== null)
25
- return;
25
+ return this.#cache;
26
26
  if (typeof window === 'undefined') {
27
27
  // SSR only
28
28
  this.#cache = { ...this.#FALLBACKS };
29
- return;
29
+ return this.#cache;
30
30
  }
31
31
  const root = document.documentElement || document.body;
32
32
  const styles = window.getComputedStyle(root);
@@ -43,6 +43,7 @@ class Animation {
43
43
  slow: read('--theme-slow-time', this.#FALLBACKS.slow),
44
44
  xslow: read('--theme-x-slow-time', this.#FALLBACKS.xslow),
45
45
  };
46
+ return this.#cache;
46
47
  }
47
48
  static prefersReducedMotion() {
48
49
  if (typeof window === 'undefined' || !window.matchMedia)
@@ -50,28 +51,23 @@ class Animation {
50
51
  return window.matchMedia('(prefers-reduced-motion: reduce)').matches;
51
52
  }
52
53
  static get shortTime() {
53
- this.ensureCache();
54
- const t = this.#cache.short;
54
+ const t = this.ensureCache().short;
55
55
  return this.prefersReducedMotion() ? 0 : t;
56
56
  }
57
57
  static get defaultTime() {
58
- this.ensureCache();
59
- const t = this.#cache.default;
58
+ const t = this.ensureCache().default;
60
59
  return this.prefersReducedMotion() ? 0 : t;
61
60
  }
62
61
  static get mediumTime() {
63
- this.ensureCache();
64
- const t = this.#cache.medium;
62
+ const t = this.ensureCache().medium;
65
63
  return this.prefersReducedMotion() ? 0 : t;
66
64
  }
67
65
  static get slowTime() {
68
- this.ensureCache();
69
- const t = this.#cache.slow;
66
+ const t = this.ensureCache().slow;
70
67
  return this.prefersReducedMotion() ? 0 : t;
71
68
  }
72
69
  static get xSlowTime() {
73
- this.ensureCache();
74
- const t = this.#cache.xslow;
70
+ const t = this.ensureCache().xslow;
75
71
  return this.prefersReducedMotion() ? 0 : t;
76
72
  }
77
73
  }
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-EBgS4zhE.js';
2
- import { a as a11yBoolean } from './a11y-C21npbUc.js';
2
+ import { a as a11yBoolean } from './a11y-DD206pTM.js';
3
3
 
4
4
  /*
5
5
  * SPDX-FileCopyrightText: 2023 Siemens AG
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-EBgS4zhE.js';
2
- import { B as BaseButton } from './base-button-DZdtpLxn.js';
2
+ import { B as BaseButton } from './base-button-Oanl-VqF.js';
3
3
 
4
4
  /*
5
5
  * SPDX-FileCopyrightText: 2023 Siemens AG
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance } from './index-EBgS4zhE.js';
2
- import { a as a11yBoolean } from './a11y-C21npbUc.js';
2
+ import { a as a11yBoolean } from './a11y-DD206pTM.js';
3
3
 
4
4
  const FocusVisibleMixin = (Base) => {
5
5
  const FocusVisibleMixinCtor = class extends Base {
@@ -1,6 +1,6 @@
1
1
  import { h } from './index-EBgS4zhE.js';
2
2
  import { b as iconError, c as iconWarning, d as iconInfo, a as iconSuccess } from './index-BeX6RWvV.js';
3
- import { a as a11yBoolean } from './a11y-C21npbUc.js';
3
+ import { a as a11yBoolean } from './a11y-DD206pTM.js';
4
4
 
5
5
  /*
6
6
  * SPDX-FileCopyrightText: 2024 Siemens AG
package/dist/esm/index.js CHANGED
@@ -5,7 +5,7 @@ export { d as defaultRefreshTreeOptions, r as renderDefaultItem } from './tree.t
5
5
  export { U as UploadFileState } from './upload-file-state-BGzrnl_l.js';
6
6
  import { c as createDependencyFunction, g as getCoreDelegate } from './modal-DaGSr1j4.js';
7
7
  export { b as closeModal, d as dismissModal, r as registerFrameworkDelegate, a as resolveDelegate, s as showModal } from './modal-DaGSr1j4.js';
8
- import { A as Animation } from './animation-DNIQ2C1K.js';
8
+ import { A as Animation } from './animation-BqeSHO6C.js';
9
9
  import { i as iconQuestion, a as iconSuccess, b as iconError, c as iconWarning, d as iconInfo } from './index-BeX6RWvV.js';
10
10
  import { T as TypedEvent } from './typed-event-CWshStHZ.js';
11
11
  export { g as getCurrentSystemAppearance, t as themeSwitcher } from './theme-switcher-CRVG13AN.js';