@siemens/ix 5.1.1 → 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 (926) 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-application.js +1 -1
  7. package/components/ix-avatar.js +1 -1
  8. package/components/ix-badge.d.ts +11 -0
  9. package/components/ix-badge.js +1 -0
  10. package/components/ix-blind.js +1 -1
  11. package/components/ix-breadcrumb-item.js +1 -1
  12. package/components/ix-breadcrumb.js +1 -1
  13. package/components/ix-button.js +1 -1
  14. package/components/ix-card-accordion.js +1 -1
  15. package/components/ix-card-content.js +1 -1
  16. package/components/ix-card-list.js +1 -1
  17. package/components/ix-card-title.js +1 -1
  18. package/components/ix-card.js +1 -1
  19. package/components/ix-category-filter.js +1 -1
  20. package/components/ix-chat-ai-message.d.ts +11 -0
  21. package/components/ix-chat-ai-message.js +1 -0
  22. package/components/ix-chat-attachment.d.ts +11 -0
  23. package/components/ix-chat-attachment.js +1 -0
  24. package/components/ix-chat-input.d.ts +11 -0
  25. package/components/ix-chat-input.js +1 -0
  26. package/components/ix-chat-user-message.d.ts +11 -0
  27. package/components/ix-chat-user-message.js +1 -0
  28. package/components/ix-chat.d.ts +11 -0
  29. package/components/ix-chat.js +1 -0
  30. package/components/ix-checkbox-group.js +1 -1
  31. package/components/ix-checkbox.js +1 -1
  32. package/components/ix-chip.js +1 -1
  33. package/components/ix-col.js +1 -1
  34. package/components/ix-content-header.js +1 -1
  35. package/components/ix-content.js +1 -1
  36. package/components/ix-css-grid-item.js +1 -1
  37. package/components/ix-css-grid.js +1 -1
  38. package/components/ix-custom-field.js +1 -1
  39. package/components/ix-date-dropdown.js +1 -1
  40. package/components/ix-date-input.js +1 -1
  41. package/components/ix-date-picker.js +1 -1
  42. package/components/ix-date-time-card.js +1 -1
  43. package/components/ix-datetime-input.js +1 -1
  44. package/components/ix-datetime-picker.js +1 -1
  45. package/components/ix-divider.js +1 -1
  46. package/components/ix-dropdown-button.js +1 -1
  47. package/components/ix-dropdown-header.js +1 -1
  48. package/components/ix-dropdown-item.js +1 -1
  49. package/components/ix-dropdown-quick-actions.js +1 -1
  50. package/components/ix-dropdown.js +1 -1
  51. package/components/ix-empty-state.js +1 -1
  52. package/components/ix-event-list-item.js +1 -1
  53. package/components/ix-event-list.js +1 -1
  54. package/components/ix-expanding-search.js +1 -1
  55. package/components/ix-field-label.js +1 -1
  56. package/components/ix-field-wrapper.js +1 -1
  57. package/components/ix-filter-chip.js +1 -1
  58. package/components/ix-flip-tile-content.js +1 -1
  59. package/components/ix-flip-tile.js +1 -1
  60. package/components/ix-group-context-menu.js +1 -1
  61. package/components/ix-group-item.js +1 -1
  62. package/components/ix-group.js +1 -1
  63. package/components/ix-helper-text.js +1 -1
  64. package/components/ix-icon-button.js +1 -1
  65. package/components/ix-icon-toggle-button.js +1 -1
  66. package/components/ix-input.js +1 -1
  67. package/components/ix-key-value-list.js +1 -1
  68. package/components/ix-key-value.js +1 -1
  69. package/components/ix-kpi.js +1 -1
  70. package/components/ix-layout-auto.js +1 -1
  71. package/components/ix-layout-grid.js +1 -1
  72. package/components/ix-link-button.js +1 -1
  73. package/components/ix-menu-about-item.js +1 -1
  74. package/components/ix-menu-about-news.js +1 -1
  75. package/components/ix-menu-about.js +1 -1
  76. package/components/ix-menu-avatar-item.js +1 -1
  77. package/components/ix-menu-avatar.js +1 -1
  78. package/components/ix-menu-category.js +1 -1
  79. package/components/ix-menu-expand-icon.js +1 -1
  80. package/components/ix-menu-item.js +1 -1
  81. package/components/ix-menu-settings-item.js +1 -1
  82. package/components/ix-menu-settings.js +1 -1
  83. package/components/ix-menu.js +1 -1
  84. package/components/ix-message-bar.js +1 -1
  85. package/components/ix-modal-content.js +1 -1
  86. package/components/ix-modal-footer.js +1 -1
  87. package/components/ix-modal-header.js +1 -1
  88. package/components/ix-modal-loading.js +1 -1
  89. package/components/ix-modal.js +1 -1
  90. package/components/ix-number-input.js +1 -1
  91. package/components/ix-pagination.js +1 -1
  92. package/components/ix-pane-layout.js +1 -1
  93. package/components/ix-pane.js +1 -1
  94. package/components/ix-pill.js +1 -1
  95. package/components/ix-popover-content.js +1 -1
  96. package/components/ix-popover-footer.js +1 -1
  97. package/components/ix-popover-header.js +1 -1
  98. package/components/ix-popover-image.js +1 -1
  99. package/components/ix-popover.js +1 -1
  100. package/components/ix-progress-indicator.js +1 -1
  101. package/components/ix-push-card.js +1 -1
  102. package/components/ix-radio-group.js +1 -1
  103. package/components/ix-radio.js +1 -1
  104. package/components/ix-range-field.js +1 -1
  105. package/components/ix-row.js +1 -1
  106. package/components/ix-select-item.js +1 -1
  107. package/components/ix-select.js +1 -1
  108. package/components/ix-slider.js +1 -1
  109. package/components/ix-spinner.js +1 -1
  110. package/components/ix-split-button.js +1 -1
  111. package/components/ix-tab-item.js +1 -1
  112. package/components/ix-tab-panel.js +1 -1
  113. package/components/ix-tab-set.js +1 -1
  114. package/components/ix-tabs.js +1 -1
  115. package/components/ix-textarea.js +1 -1
  116. package/components/ix-tile.js +1 -1
  117. package/components/ix-time-input.js +1 -1
  118. package/components/ix-time-picker.js +1 -1
  119. package/components/ix-toast-container.js +1 -1
  120. package/components/ix-toast.js +1 -1
  121. package/components/ix-toggle-button.js +1 -1
  122. package/components/ix-toggle.js +1 -1
  123. package/components/ix-tooltip.js +1 -1
  124. package/components/ix-tree-item.js +1 -1
  125. package/components/ix-tree.js +1 -1
  126. package/components/ix-typography.js +1 -1
  127. package/components/ix-upload.js +1 -1
  128. package/components/ix-workflow-step.js +1 -1
  129. package/components/ix-workflow-steps.js +1 -1
  130. package/components/p-4ZsT_zIm.js +1 -0
  131. package/components/p-B3ZUi0gM.js +1 -0
  132. package/components/p-BE708_H3.js +1 -0
  133. package/components/p-BF2IsI5j.js +1 -0
  134. package/components/p-BGpGr8Qv.js +1 -0
  135. package/components/{p-CuFZ7CXu.js → p-BHjmN8zz.js} +1 -1
  136. package/components/{p-CbbabcAR.js → p-BHtNsBtM.js} +1 -1
  137. package/components/p-BKCLcJ_A.js +1 -0
  138. package/components/p-BKVBe7Co.js +1 -0
  139. package/components/p-BOImZPcG.js +1 -0
  140. package/components/p-BTBxxgtF.js +1 -0
  141. package/components/p-BmZGQGZi.js +1 -0
  142. package/components/p-BpE93ty6.js +1 -0
  143. package/components/p-BqeSHO6C.js +1 -0
  144. package/components/p-C02EaF8C.js +1 -0
  145. package/components/{p-baqpOH0g.js → p-CAd-WgR8.js} +1 -1
  146. package/components/p-CFH9HkmQ.js +1 -0
  147. package/components/p-CGGWaScq.js +1 -0
  148. package/components/{p-Czy7a3I4.js → p-CHJbp28K.js} +1 -1
  149. package/components/p-CRbQNmxe.js +1 -0
  150. package/components/p-CYgC-XN6.js +1 -0
  151. package/components/{p-GGleop6j.js → p-C_K74Xlt.js} +1 -1
  152. package/components/p-CiP3eKpd.js +1 -0
  153. package/components/p-CqWfy46u.js +1 -0
  154. package/components/p-Ctb1EExj.js +1 -0
  155. package/components/p-Cxwq4WaV.js +1 -0
  156. package/components/p-D5-dW4IM.js +1 -0
  157. package/components/p-D6O-bCyA.js +1 -0
  158. package/components/{p-BBCsPlPH.js → p-D7qfGAJ7.js} +1 -1
  159. package/components/p-DB-zpRCO.js +1 -0
  160. package/components/{p-C21npbUc.js → p-DD206pTM.js} +1 -1
  161. package/components/p-DIq_C5Sa.js +1 -0
  162. package/components/p-DKU5FVxI.js +1 -0
  163. package/components/{p-BZgc6bzH.js → p-DLgZfUmI.js} +1 -1
  164. package/components/{p-DtmgZu-S.js → p-DWOjSq8j.js} +1 -1
  165. package/components/p-DXmwthlZ.js +1 -0
  166. package/components/p-D_VBAyPm.js +1 -0
  167. package/components/p-DcOoa9vE.js +1 -0
  168. package/components/p-DiYkfhDE.js +1 -0
  169. package/components/p-DpvAVNqZ.js +1 -0
  170. package/components/p-DsVj4Cd-.js +1 -0
  171. package/components/{p-BRoFUwzJ.js → p-DyC90hvu.js} +1 -1
  172. package/components/p-DzDB4UBp.js +1 -0
  173. package/components/p-QnnFQ3fz.js +1 -0
  174. package/components/p-R5tYZVVd.js +1 -0
  175. package/components/p-WX1HYV2-.js +1 -0
  176. package/components/{p-1KOHyx-1.js → p-YFmbQndr.js} +1 -1
  177. package/components/{p-CUvmGsh_.js → p-_irxfS9S.js} +1 -1
  178. package/components/{p-CtDOTMOT.js → p-eN5fQtqO.js} +1 -1
  179. package/components/p-ePylRxs_.js +1 -0
  180. package/components/p-n2_EOgMr.js +1 -0
  181. package/components/p-q_MHsaAK.js +1 -0
  182. package/components/p-tpMN9yTQ.js +1 -0
  183. package/components/p-v9vlPlkd.js +1 -0
  184. package/components/p-viP8I2_s.js +1 -0
  185. package/dist/cjs/{a11y-_XjpTo2w.js → a11y--G19CFwe.js} +1 -0
  186. package/dist/cjs/{animation-hxDbANsw.js → animation-BIfSQAkX.js} +8 -12
  187. package/dist/cjs/{base-button-BP6iIMR7.js → base-button-DIhNZecD.js} +1 -1
  188. package/dist/cjs/{base-icon-button-BmiGQb9v.js → base-icon-button-DASKxRmK.js} +1 -1
  189. package/dist/cjs/chip.types-BD73fAij.js +22 -0
  190. package/dist/cjs/{focus-visible.mixin-1V7Eldn_.js → focus-visible.mixin-GrZAmMez.js} +1 -1
  191. package/dist/cjs/{helper-text-util-BkHm7ofh.js → helper-text-util-EAfzAOH6.js} +2 -2
  192. package/dist/cjs/{index-CwJ-mkQd.js → index-BQht1mLe.js} +20 -0
  193. package/dist/cjs/index-DnclGKUw.js +28 -4
  194. package/dist/cjs/index.cjs.js +2 -2
  195. package/dist/cjs/inherit-aria-attributes.mixin-DZ_vNjkJ.js +306 -0
  196. package/dist/cjs/{input.fc-DM-hX3xb.js → input.fc-ellguRiE.js} +9 -4
  197. package/dist/cjs/ix-action-card.cjs.entry.js +2 -2
  198. package/dist/cjs/ix-application-header.cjs.entry.js +3 -3
  199. package/dist/cjs/ix-application-switch-modal.cjs.entry.js +2 -2
  200. package/dist/cjs/ix-application.cjs.entry.js +1 -1
  201. package/dist/cjs/ix-avatar_2.cjs.entry.js +5 -5
  202. package/dist/cjs/ix-badge.cjs.entry.js +565 -0
  203. package/dist/cjs/ix-blind.cjs.entry.js +15 -9
  204. package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +5 -158
  205. package/dist/cjs/ix-breadcrumb.cjs.entry.js +5 -5
  206. package/dist/cjs/ix-button.cjs.entry.js +4 -157
  207. package/dist/cjs/ix-card-accordion_2.cjs.entry.js +10 -7
  208. package/dist/cjs/ix-card-list.cjs.entry.js +63 -10
  209. package/dist/cjs/ix-card_2.cjs.entry.js +5 -5
  210. package/dist/cjs/ix-category-filter.cjs.entry.js +8 -8
  211. package/dist/cjs/ix-chat-ai-message.cjs.entry.js +35 -0
  212. package/dist/cjs/ix-chat-attachment.cjs.entry.js +110 -0
  213. package/dist/cjs/ix-chat-input.cjs.entry.js +406 -0
  214. package/dist/cjs/ix-chat-user-message.cjs.entry.js +66 -0
  215. package/dist/cjs/ix-chat.cjs.entry.js +28 -0
  216. package/dist/cjs/ix-checkbox-group.cjs.entry.js +4 -4
  217. package/dist/cjs/ix-checkbox.cjs.entry.js +6 -6
  218. package/dist/cjs/ix-chip.cjs.entry.js +12 -186
  219. package/dist/cjs/ix-col_4.cjs.entry.js +12 -12
  220. package/dist/cjs/ix-content-header.cjs.entry.js +4 -4
  221. package/dist/cjs/ix-content.cjs.entry.js +4 -4
  222. package/dist/cjs/ix-css-grid-item.cjs.entry.js +1 -1
  223. package/dist/cjs/ix-css-grid.cjs.entry.js +1 -1
  224. package/dist/cjs/ix-custom-field.cjs.entry.js +2 -2
  225. package/dist/cjs/ix-date-dropdown.cjs.entry.js +9 -9
  226. package/dist/cjs/ix-date-input.cjs.entry.js +9 -9
  227. package/dist/cjs/ix-date-picker.cjs.entry.js +17 -13
  228. package/dist/cjs/ix-date-time-card.cjs.entry.js +3 -3
  229. package/dist/cjs/ix-datetime-input.cjs.entry.js +9 -9
  230. package/dist/cjs/ix-datetime-picker.cjs.entry.js +4 -4
  231. package/dist/cjs/ix-divider.cjs.entry.js +1 -1
  232. package/dist/cjs/ix-dropdown-button.cjs.entry.js +11 -8
  233. package/dist/cjs/ix-dropdown-header.cjs.entry.js +2 -2
  234. package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +1 -1
  235. package/dist/cjs/ix-dropdown_2.cjs.entry.js +19 -13
  236. package/dist/cjs/ix-empty-state.cjs.entry.js +2 -2
  237. package/dist/cjs/ix-event-list-item.cjs.entry.js +7 -7
  238. package/dist/cjs/ix-event-list.cjs.entry.js +11 -4
  239. package/dist/cjs/ix-expanding-search.cjs.entry.js +6 -6
  240. package/dist/cjs/ix-field-label_2.cjs.entry.js +8 -8
  241. package/dist/cjs/ix-filter-chip_2.cjs.entry.js +8 -8
  242. package/dist/cjs/ix-flip-tile-content.cjs.entry.js +1 -1
  243. package/dist/cjs/ix-flip-tile.cjs.entry.js +6 -6
  244. package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +3 -3
  245. package/dist/cjs/ix-group.cjs.entry.js +10 -10
  246. package/dist/cjs/ix-helper-text.cjs.entry.js +5 -5
  247. package/dist/cjs/ix-icon-button_2.cjs.entry.js +9 -164
  248. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +7 -162
  249. package/dist/cjs/ix-input.cjs.entry.js +10 -10
  250. package/dist/cjs/ix-key-value-list.cjs.entry.js +1 -1
  251. package/dist/cjs/ix-key-value.cjs.entry.js +1 -1
  252. package/dist/cjs/ix-kpi.cjs.entry.js +5 -5
  253. package/dist/cjs/ix-layout-auto.cjs.entry.js +1 -1
  254. package/dist/cjs/ix-link-button.cjs.entry.js +4 -4
  255. package/dist/cjs/ix-menu-about-item.cjs.entry.js +1 -1
  256. package/dist/cjs/ix-menu-about-news.cjs.entry.js +6 -6
  257. package/dist/cjs/ix-menu-about.cjs.entry.js +4 -4
  258. package/dist/cjs/ix-menu-avatar.cjs.entry.js +5 -5
  259. package/dist/cjs/ix-menu-category.cjs.entry.js +31 -170
  260. package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +5 -5
  261. package/dist/cjs/ix-menu-item.cjs.entry.js +12 -161
  262. package/dist/cjs/ix-menu-settings-item.cjs.entry.js +1 -1
  263. package/dist/cjs/ix-menu-settings.cjs.entry.js +4 -4
  264. package/dist/cjs/ix-menu.cjs.entry.js +42 -20
  265. package/dist/cjs/ix-message-bar.cjs.entry.js +3 -3
  266. package/dist/cjs/ix-modal-content_2.cjs.entry.js +6 -6
  267. package/dist/cjs/ix-modal-footer.cjs.entry.js +2 -2
  268. package/dist/cjs/ix-modal-loading.cjs.entry.js +1 -1
  269. package/dist/cjs/ix-modal.cjs.entry.js +15 -8
  270. package/dist/cjs/ix-number-input.cjs.entry.js +19 -16
  271. package/dist/cjs/ix-pagination.cjs.entry.js +6 -6
  272. package/dist/cjs/ix-pane-layout.cjs.entry.js +2 -2
  273. package/dist/cjs/ix-pane.cjs.entry.js +11 -11
  274. package/dist/cjs/ix-pill_4.cjs.entry.js +27 -175
  275. package/dist/cjs/ix-popover-content.cjs.entry.js +2 -2
  276. package/dist/cjs/ix-popover-footer.cjs.entry.js +2 -2
  277. package/dist/cjs/ix-popover-header.cjs.entry.js +4 -4
  278. package/dist/cjs/ix-popover-image.cjs.entry.js +1 -1
  279. package/dist/cjs/ix-popover.cjs.entry.js +5 -156
  280. package/dist/cjs/ix-progress-indicator.cjs.entry.js +4 -4
  281. package/dist/cjs/ix-push-card.cjs.entry.js +2 -2
  282. package/dist/cjs/ix-radio-group.cjs.entry.js +3 -3
  283. package/dist/cjs/ix-radio.cjs.entry.js +6 -6
  284. package/dist/cjs/ix-range-field.cjs.entry.js +4 -4
  285. package/dist/cjs/ix-select.cjs.entry.js +14 -14
  286. package/dist/cjs/ix-slider.cjs.entry.js +9 -9
  287. package/dist/cjs/ix-split-button.cjs.entry.js +3 -3
  288. package/dist/cjs/ix-tab-panel.cjs.entry.js +2 -2
  289. package/dist/cjs/ix-textarea.cjs.entry.js +7 -7
  290. package/dist/cjs/ix-tile.cjs.entry.js +5 -5
  291. package/dist/cjs/ix-time-input.cjs.entry.js +9 -9
  292. package/dist/cjs/ix-toast-container.cjs.entry.js +3 -3
  293. package/dist/cjs/ix-toast.cjs.entry.js +4 -4
  294. package/dist/cjs/ix-toggle-button.cjs.entry.js +4 -159
  295. package/dist/cjs/ix-toggle.cjs.entry.js +7 -160
  296. package/dist/cjs/ix-tooltip.cjs.entry.js +6 -2
  297. package/dist/cjs/ix-tree-item.cjs.entry.js +6 -6
  298. package/dist/cjs/ix-tree.cjs.entry.js +2 -1
  299. package/dist/cjs/ix-typography.cjs.entry.js +2 -2
  300. package/dist/cjs/ix-upload.cjs.entry.js +6 -6
  301. package/dist/cjs/ix-workflow-step.cjs.entry.js +12 -6
  302. package/dist/cjs/ix-workflow-steps.cjs.entry.js +2 -2
  303. package/dist/cjs/loader.cjs.js +1 -1
  304. package/dist/cjs/siemens-ix.cjs.js +1 -1
  305. package/dist/cjs/{validation-DJaUH-UR.js → validation-B1izlD8M.js} +59 -3
  306. package/dist/collection/collection-manifest.json +6 -0
  307. package/dist/collection/components/action-card/action-card.css +11 -11
  308. package/dist/collection/components/application/application.css +11 -11
  309. package/dist/collection/components/application-header/application-header.css +11 -11
  310. package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.css +11 -11
  311. package/dist/collection/components/avatar/avatar.css +19 -11
  312. package/dist/collection/components/badge/badge.css +622 -0
  313. package/dist/collection/components/badge/badge.js +817 -0
  314. package/dist/collection/components/badge/badge.status-icon.js +65 -0
  315. package/dist/collection/components/badge/badge.types.js +24 -0
  316. package/dist/collection/components/badge/badge.utils.js +57 -0
  317. package/dist/collection/components/badge/test/badge.page.js +194 -0
  318. package/dist/collection/components/blind/blind.css +119 -15
  319. package/dist/collection/components/blind/blind.js +11 -5
  320. package/dist/collection/components/breadcrumb/breadcrumb.css +11 -11
  321. package/dist/collection/components/breadcrumb/breadcrumb.js +2 -2
  322. package/dist/collection/components/breadcrumb-item/breadcrumb-item.css +160 -44
  323. package/dist/collection/components/button/button.css +84 -22
  324. package/dist/collection/components/card/card.css +11 -11
  325. package/dist/collection/components/card/card.js +2 -2
  326. package/dist/collection/components/card-accordion/card-accordion.css +61 -44
  327. package/dist/collection/components/card-accordion/card-accordion.js +7 -4
  328. package/dist/collection/components/card-content/card-content.css +11 -11
  329. package/dist/collection/components/card-content/card-content.js +1 -1
  330. package/dist/collection/components/card-list/card-list.css +23 -11
  331. package/dist/collection/components/card-list/card-list.js +67 -10
  332. package/dist/collection/components/card-title/card-title.js +1 -1
  333. package/dist/collection/components/category-filter/category-filter.css +95 -33
  334. package/dist/collection/components/category-filter/category-filter.js +4 -4
  335. package/dist/collection/components/chat/chat.css +114 -0
  336. package/dist/collection/components/chat/chat.js +47 -0
  337. package/dist/collection/components/chat-ai-message/chat-ai-message.css +139 -0
  338. package/dist/collection/components/chat-ai-message/chat-ai-message.js +56 -0
  339. package/dist/collection/components/chat-attachment/chat-attachment.css +135 -0
  340. package/dist/collection/components/chat-attachment/chat-attachment.js +284 -0
  341. package/dist/collection/components/chat-attachment/chat-attachment.types.js +1 -0
  342. package/dist/collection/components/chat-input/chat-input.css +323 -0
  343. package/dist/collection/components/chat-input/chat-input.js +878 -0
  344. package/dist/collection/components/chat-user-message/chat-user-message.css +145 -0
  345. package/dist/collection/components/chat-user-message/chat-user-message.js +112 -0
  346. package/dist/collection/components/checkbox/checkbox.css +11 -11
  347. package/dist/collection/components/checkbox/checkbox.js +3 -3
  348. package/dist/collection/components/checkbox-group/checkbox-group.css +1 -1
  349. package/dist/collection/components/checkbox-group/checkbox-group.js +2 -2
  350. package/dist/collection/components/chip/chip.css +28 -19
  351. package/dist/collection/components/chip/chip.js +7 -8
  352. package/dist/collection/components/col/col.css +11 -11
  353. package/dist/collection/components/col/col.js +2 -2
  354. package/dist/collection/components/content/content.css +11 -11
  355. package/dist/collection/components/content/content.js +3 -3
  356. package/dist/collection/components/content-header/content-header.js +3 -3
  357. package/dist/collection/components/css-grid/css-grid-item.js +1 -1
  358. package/dist/collection/components/css-grid/css-grid.js +1 -1
  359. package/dist/collection/components/custom-field/custom-field.js +1 -1
  360. package/dist/collection/components/date-dropdown/date-dropdown.css +30 -22
  361. package/dist/collection/components/date-dropdown/date-dropdown.js +5 -5
  362. package/dist/collection/components/date-input/date-input.css +22 -22
  363. package/dist/collection/components/date-input/date-input.js +3 -3
  364. package/dist/collection/components/date-picker/date-picker.css +19 -11
  365. package/dist/collection/components/date-picker/date-picker.js +15 -11
  366. package/dist/collection/components/date-time-card/date-time-card.css +11 -11
  367. package/dist/collection/components/date-time-card/date-time-card.js +2 -2
  368. package/dist/collection/components/datetime-input/datetime-input.css +22 -22
  369. package/dist/collection/components/datetime-input/datetime-input.js +3 -3
  370. package/dist/collection/components/datetime-picker/datetime-picker.css +11 -11
  371. package/dist/collection/components/datetime-picker/datetime-picker.js +3 -3
  372. package/dist/collection/components/divider/divider.js +1 -1
  373. package/dist/collection/components/dropdown/dropdown.css +11 -11
  374. package/dist/collection/components/dropdown/dropdown.js +11 -5
  375. package/dist/collection/components/dropdown-button/dropdown-button.css +155 -34
  376. package/dist/collection/components/dropdown-button/dropdown-button.js +8 -5
  377. package/dist/collection/components/dropdown-header/dropdown-header.css +11 -11
  378. package/dist/collection/components/dropdown-header/dropdown-header.js +1 -1
  379. package/dist/collection/components/dropdown-item/dropdown-item.css +12 -12
  380. package/dist/collection/components/dropdown-item/dropdown-item.js +3 -3
  381. package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js +1 -1
  382. package/dist/collection/components/empty-state/empty-state.css +11 -11
  383. package/dist/collection/components/empty-state/empty-state.js +1 -1
  384. package/dist/collection/components/event-list/event-list.css +11 -11
  385. package/dist/collection/components/event-list/event-list.js +10 -3
  386. package/dist/collection/components/event-list-item/event-list-item.css +11 -11
  387. package/dist/collection/components/event-list-item/event-list-item.js +4 -4
  388. package/dist/collection/components/expanding-search/expanding-search.css +11 -11
  389. package/dist/collection/components/expanding-search/expanding-search.js +4 -4
  390. package/dist/collection/components/field-label/field-label.js +2 -2
  391. package/dist/collection/components/field-wrapper/field-wrapper.js +2 -2
  392. package/dist/collection/components/filter-chip/filter-chip.css +11 -11
  393. package/dist/collection/components/filter-chip/filter-chip.js +2 -2
  394. package/dist/collection/components/flip-tile/flip-tile.css +11 -11
  395. package/dist/collection/components/flip-tile/flip-tile.js +3 -3
  396. package/dist/collection/components/flip-tile-content/flip-tile-content.js +1 -1
  397. package/dist/collection/components/group/group-context-menu.js +1 -1
  398. package/dist/collection/components/group/group.js +9 -9
  399. package/dist/collection/components/group-item/group-item.css +11 -11
  400. package/dist/collection/components/helper-text/helper-text.js +1 -1
  401. package/dist/collection/components/icon-button/icon-button.css +103 -39
  402. package/dist/collection/components/icon-button/icon-button.js +2 -2
  403. package/dist/collection/components/icon-toggle-button/icon-toggle-button.css +103 -39
  404. package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +2 -2
  405. package/dist/collection/components/input/input.css +11 -11
  406. package/dist/collection/components/input/input.js +4 -4
  407. package/dist/collection/components/input/input.util.js +6 -1
  408. package/dist/collection/components/input/number-input.css +11 -11
  409. package/dist/collection/components/input/number-input.js +13 -10
  410. package/dist/collection/components/input/textarea.css +11 -11
  411. package/dist/collection/components/input/textarea.js +2 -2
  412. package/dist/collection/components/ix-playground/ix-playground.js +1 -1
  413. package/dist/collection/components/key-value/key-value.js +1 -1
  414. package/dist/collection/components/key-value-list/key-value-list.js +1 -1
  415. package/dist/collection/components/kpi/kpi.css +11 -11
  416. package/dist/collection/components/kpi/kpi.js +3 -3
  417. package/dist/collection/components/layout-auto/layout-auto.js +1 -1
  418. package/dist/collection/components/layout-grid/layout-grid.js +2 -2
  419. package/dist/collection/components/link-button/link-button.js +3 -3
  420. package/dist/collection/components/menu/menu-expand-icon.css +36 -22
  421. package/dist/collection/components/menu/menu-expand-icon.js +1 -1
  422. package/dist/collection/components/menu/menu.css +11 -11
  423. package/dist/collection/components/menu/menu.js +39 -17
  424. package/dist/collection/components/menu-about/menu-about.css +11 -11
  425. package/dist/collection/components/menu-about/menu-about.js +2 -2
  426. package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
  427. package/dist/collection/components/menu-about-news/menu-about-news.css +11 -11
  428. package/dist/collection/components/menu-about-news/menu-about-news.js +4 -4
  429. package/dist/collection/components/menu-avatar/menu-avatar.css +11 -11
  430. package/dist/collection/components/menu-avatar/menu-avatar.js +2 -2
  431. package/dist/collection/components/menu-avatar-item/menu-avatar-item.css +11 -11
  432. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
  433. package/dist/collection/components/menu-category/menu-category.css +11 -11
  434. package/dist/collection/components/menu-category/menu-category.js +29 -15
  435. package/dist/collection/components/menu-item/menu-item.js +9 -5
  436. package/dist/collection/components/menu-settings/menu-settings.css +11 -11
  437. package/dist/collection/components/menu-settings/menu-settings.js +2 -2
  438. package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
  439. package/dist/collection/components/message-bar/message-bar.css +11 -11
  440. package/dist/collection/components/message-bar/message-bar.js +1 -1
  441. package/dist/collection/components/modal/modal.js +13 -6
  442. package/dist/collection/components/modal-content/modal-content.css +11 -11
  443. package/dist/collection/components/modal-content/modal-content.js +1 -1
  444. package/dist/collection/components/modal-footer/modal-footer.css +11 -11
  445. package/dist/collection/components/modal-footer/modal-footer.js +1 -1
  446. package/dist/collection/components/modal-header/modal-header.css +11 -11
  447. package/dist/collection/components/modal-header/modal-header.js +2 -2
  448. package/dist/collection/components/modal-loading/modal-loading.js +1 -1
  449. package/dist/collection/components/pagination/pagination.css +114 -50
  450. package/dist/collection/components/pagination/pagination.js +2 -2
  451. package/dist/collection/components/pane/pane.css +11 -11
  452. package/dist/collection/components/pane/pane.js +7 -7
  453. package/dist/collection/components/pane-layout/pane-layout.css +11 -11
  454. package/dist/collection/components/pane-layout/pane-layout.js +1 -1
  455. package/dist/collection/components/pill/pill.css +11 -11
  456. package/dist/collection/components/pill/pill.js +4 -4
  457. package/dist/collection/components/popover/popover.js +3 -1
  458. package/dist/collection/components/popover/test/popover.page.js +3 -2
  459. package/dist/collection/components/popover-content/popover-content.css +11 -11
  460. package/dist/collection/components/popover-content/popover-content.js +1 -1
  461. package/dist/collection/components/popover-footer/popover-footer.css +11 -11
  462. package/dist/collection/components/popover-footer/popover-footer.js +1 -1
  463. package/dist/collection/components/popover-header/popover-header.css +11 -11
  464. package/dist/collection/components/popover-header/popover-header.js +1 -1
  465. package/dist/collection/components/popover-image/popover-image.css +11 -11
  466. package/dist/collection/components/progress-indicator/progress-indicator.js +3 -3
  467. package/dist/collection/components/push-card/push-card.css +70 -0
  468. package/dist/collection/components/push-card/push-card.js +1 -1
  469. package/dist/collection/components/radio/radio.css +11 -11
  470. package/dist/collection/components/radio/radio.js +3 -3
  471. package/dist/collection/components/radio-group/radio-group.js +2 -2
  472. package/dist/collection/components/range-field/range-field.css +11 -11
  473. package/dist/collection/components/range-field/range-field.js +2 -2
  474. package/dist/collection/components/row/row.js +1 -1
  475. package/dist/collection/components/select/select.css +11 -11
  476. package/dist/collection/components/select/select.js +11 -11
  477. package/dist/collection/components/select-item/select-item.js +2 -2
  478. package/dist/collection/components/slider/slider.css +11 -11
  479. package/dist/collection/components/slider/slider.js +6 -6
  480. package/dist/collection/components/spinner/spinner.css +55 -55
  481. package/dist/collection/components/spinner/spinner.js +1 -1
  482. package/dist/collection/components/split-button/split-button.css +11 -11
  483. package/dist/collection/components/split-button/split-button.js +1 -1
  484. package/dist/collection/components/tab-item/tab-item.css +17 -11
  485. package/dist/collection/components/tab-item/tab-item.js +5 -5
  486. package/dist/collection/components/tab-panel/tab-panel.css +11 -11
  487. package/dist/collection/components/tab-panel/tab-panel.js +1 -1
  488. package/dist/collection/components/tab-set/tab-set.css +11 -11
  489. package/dist/collection/components/tab-set/tab-set.js +1 -1
  490. package/dist/collection/components/tabs/tabs.css +11 -11
  491. package/dist/collection/components/tabs/tabs.js +10 -5
  492. package/dist/collection/components/tile/tile.css +11 -11
  493. package/dist/collection/components/tile/tile.js +4 -4
  494. package/dist/collection/components/time-input/time-input.css +22 -22
  495. package/dist/collection/components/time-input/time-input.js +3 -3
  496. package/dist/collection/components/time-picker/test/expect-defined.js +13 -0
  497. package/dist/collection/components/time-picker/time-picker.css +11 -11
  498. package/dist/collection/components/time-picker/time-picker.js +5 -5
  499. package/dist/collection/components/toast/toast-container.css +11 -11
  500. package/dist/collection/components/toast/toast-container.js +2 -2
  501. package/dist/collection/components/toast/toast.css +11 -11
  502. package/dist/collection/components/toast/toast.js +2 -2
  503. package/dist/collection/components/toggle/toggle.css +11 -11
  504. package/dist/collection/components/toggle/toggle.js +3 -3
  505. package/dist/collection/components/toggle-button/toggle-button.css +95 -33
  506. package/dist/collection/components/tooltip/tooltip.js +6 -2
  507. package/dist/collection/components/tree/tree.js +1 -1
  508. package/dist/collection/components/tree-item/tree-item.css +11 -11
  509. package/dist/collection/components/tree-item/tree-item.js +4 -4
  510. package/dist/collection/components/typography/typography.css +11 -11
  511. package/dist/collection/components/typography/typography.js +1 -1
  512. package/dist/collection/components/upload/upload.css +11 -11
  513. package/dist/collection/components/upload/upload.js +3 -3
  514. package/dist/collection/components/utils/a11y.js +1 -1
  515. package/dist/collection/components/utils/animation.js +8 -12
  516. package/dist/collection/components/utils/input/validation.js +58 -3
  517. package/dist/collection/components/utils/internal/mixins/accessibility/aria-attribute-observer.js +106 -0
  518. package/dist/collection/components/utils/internal/mixins/accessibility/inherit-aria-attributes.mixin.js +175 -166
  519. package/dist/collection/components/utils/lazy-list/lazy.js +1 -0
  520. package/dist/collection/components/workflow-step/workflow-step.css +13 -13
  521. package/dist/collection/components/workflow-step/workflow-step.js +10 -4
  522. package/dist/collection/components/workflow-steps/workflow-steps.css +11 -11
  523. package/dist/collection/components/workflow-steps/workflow-steps.js +1 -1
  524. package/dist/collection/tests/utils/test/page.js +3 -0
  525. package/dist/esm/{a11y-C21npbUc.js → a11y-DD206pTM.js} +1 -1
  526. package/dist/esm/{animation-DNIQ2C1K.js → animation-BqeSHO6C.js} +8 -12
  527. package/dist/esm/{base-button-DZdtpLxn.js → base-button-Oanl-VqF.js} +1 -1
  528. package/dist/esm/{base-icon-button-DufFLJC-.js → base-icon-button-CxmfMOOd.js} +1 -1
  529. package/dist/esm/chip.types-4ZsT_zIm.js +20 -0
  530. package/dist/esm/{focus-visible.mixin-CaRK3Ex_.js → focus-visible.mixin-DNYMa4dY.js} +1 -1
  531. package/dist/esm/{helper-text-util-D0LEFZuB.js → helper-text-util-BJ-ZMW2J.js} +2 -2
  532. package/dist/esm/{index-DgUGsIlh.js → index-BeX6RWvV.js} +11 -1
  533. package/dist/esm/index-EBgS4zhE.js +28 -4
  534. package/dist/esm/index.js +2 -2
  535. package/dist/esm/inherit-aria-attributes.mixin-BmTKblYV.js +304 -0
  536. package/dist/esm/{input.fc-CE3kP-L_.js → input.fc-Cwmx0lGN.js} +9 -4
  537. package/dist/esm/ix-action-card.entry.js +2 -2
  538. package/dist/esm/ix-application-header.entry.js +3 -3
  539. package/dist/esm/ix-application-switch-modal.entry.js +2 -2
  540. package/dist/esm/ix-application.entry.js +1 -1
  541. package/dist/esm/ix-avatar_2.entry.js +5 -5
  542. package/dist/esm/ix-badge.entry.js +563 -0
  543. package/dist/esm/ix-blind.entry.js +15 -9
  544. package/dist/esm/ix-breadcrumb-item.entry.js +5 -158
  545. package/dist/esm/ix-breadcrumb.entry.js +5 -5
  546. package/dist/esm/ix-button.entry.js +4 -157
  547. package/dist/esm/ix-card-accordion_2.entry.js +10 -7
  548. package/dist/esm/ix-card-list.entry.js +63 -10
  549. package/dist/esm/ix-card_2.entry.js +5 -5
  550. package/dist/esm/ix-category-filter.entry.js +8 -8
  551. package/dist/esm/ix-chat-ai-message.entry.js +33 -0
  552. package/dist/esm/ix-chat-attachment.entry.js +108 -0
  553. package/dist/esm/ix-chat-input.entry.js +404 -0
  554. package/dist/esm/ix-chat-user-message.entry.js +64 -0
  555. package/dist/esm/ix-chat.entry.js +26 -0
  556. package/dist/esm/ix-checkbox-group.entry.js +4 -4
  557. package/dist/esm/ix-checkbox.entry.js +6 -6
  558. package/dist/esm/ix-chip.entry.js +11 -185
  559. package/dist/esm/ix-col_4.entry.js +12 -12
  560. package/dist/esm/ix-content-header.entry.js +4 -4
  561. package/dist/esm/ix-content.entry.js +4 -4
  562. package/dist/esm/ix-css-grid-item.entry.js +1 -1
  563. package/dist/esm/ix-css-grid.entry.js +1 -1
  564. package/dist/esm/ix-custom-field.entry.js +2 -2
  565. package/dist/esm/ix-date-dropdown.entry.js +9 -9
  566. package/dist/esm/ix-date-input.entry.js +9 -9
  567. package/dist/esm/ix-date-picker.entry.js +17 -13
  568. package/dist/esm/ix-date-time-card.entry.js +3 -3
  569. package/dist/esm/ix-datetime-input.entry.js +9 -9
  570. package/dist/esm/ix-datetime-picker.entry.js +4 -4
  571. package/dist/esm/ix-divider.entry.js +1 -1
  572. package/dist/esm/ix-dropdown-button.entry.js +11 -8
  573. package/dist/esm/ix-dropdown-header.entry.js +2 -2
  574. package/dist/esm/ix-dropdown-quick-actions.entry.js +1 -1
  575. package/dist/esm/ix-dropdown_2.entry.js +19 -13
  576. package/dist/esm/ix-empty-state.entry.js +2 -2
  577. package/dist/esm/ix-event-list-item.entry.js +7 -7
  578. package/dist/esm/ix-event-list.entry.js +11 -4
  579. package/dist/esm/ix-expanding-search.entry.js +6 -6
  580. package/dist/esm/ix-field-label_2.entry.js +8 -8
  581. package/dist/esm/ix-filter-chip_2.entry.js +8 -8
  582. package/dist/esm/ix-flip-tile-content.entry.js +1 -1
  583. package/dist/esm/ix-flip-tile.entry.js +6 -6
  584. package/dist/esm/ix-group-context-menu_2.entry.js +3 -3
  585. package/dist/esm/ix-group.entry.js +10 -10
  586. package/dist/esm/ix-helper-text.entry.js +5 -5
  587. package/dist/esm/ix-icon-button_2.entry.js +9 -164
  588. package/dist/esm/ix-icon-toggle-button.entry.js +7 -162
  589. package/dist/esm/ix-input.entry.js +10 -10
  590. package/dist/esm/ix-key-value-list.entry.js +1 -1
  591. package/dist/esm/ix-key-value.entry.js +1 -1
  592. package/dist/esm/ix-kpi.entry.js +5 -5
  593. package/dist/esm/ix-layout-auto.entry.js +1 -1
  594. package/dist/esm/ix-link-button.entry.js +4 -4
  595. package/dist/esm/ix-menu-about-item.entry.js +1 -1
  596. package/dist/esm/ix-menu-about-news.entry.js +6 -6
  597. package/dist/esm/ix-menu-about.entry.js +4 -4
  598. package/dist/esm/ix-menu-avatar.entry.js +5 -5
  599. package/dist/esm/ix-menu-category.entry.js +31 -170
  600. package/dist/esm/ix-menu-expand-icon.entry.js +5 -5
  601. package/dist/esm/ix-menu-item.entry.js +12 -161
  602. package/dist/esm/ix-menu-settings-item.entry.js +1 -1
  603. package/dist/esm/ix-menu-settings.entry.js +4 -4
  604. package/dist/esm/ix-menu.entry.js +42 -20
  605. package/dist/esm/ix-message-bar.entry.js +3 -3
  606. package/dist/esm/ix-modal-content_2.entry.js +6 -6
  607. package/dist/esm/ix-modal-footer.entry.js +2 -2
  608. package/dist/esm/ix-modal-loading.entry.js +1 -1
  609. package/dist/esm/ix-modal.entry.js +15 -8
  610. package/dist/esm/ix-number-input.entry.js +19 -16
  611. package/dist/esm/ix-pagination.entry.js +6 -6
  612. package/dist/esm/ix-pane-layout.entry.js +2 -2
  613. package/dist/esm/ix-pane.entry.js +11 -11
  614. package/dist/esm/ix-pill_4.entry.js +27 -175
  615. package/dist/esm/ix-popover-content.entry.js +2 -2
  616. package/dist/esm/ix-popover-footer.entry.js +2 -2
  617. package/dist/esm/ix-popover-header.entry.js +4 -4
  618. package/dist/esm/ix-popover-image.entry.js +1 -1
  619. package/dist/esm/ix-popover.entry.js +5 -156
  620. package/dist/esm/ix-progress-indicator.entry.js +4 -4
  621. package/dist/esm/ix-push-card.entry.js +2 -2
  622. package/dist/esm/ix-radio-group.entry.js +3 -3
  623. package/dist/esm/ix-radio.entry.js +6 -6
  624. package/dist/esm/ix-range-field.entry.js +4 -4
  625. package/dist/esm/ix-select.entry.js +14 -14
  626. package/dist/esm/ix-slider.entry.js +9 -9
  627. package/dist/esm/ix-split-button.entry.js +3 -3
  628. package/dist/esm/ix-tab-panel.entry.js +2 -2
  629. package/dist/esm/ix-textarea.entry.js +7 -7
  630. package/dist/esm/ix-tile.entry.js +5 -5
  631. package/dist/esm/ix-time-input.entry.js +9 -9
  632. package/dist/esm/ix-toast-container.entry.js +3 -3
  633. package/dist/esm/ix-toast.entry.js +4 -4
  634. package/dist/esm/ix-toggle-button.entry.js +4 -159
  635. package/dist/esm/ix-toggle.entry.js +7 -160
  636. package/dist/esm/ix-tooltip.entry.js +6 -2
  637. package/dist/esm/ix-tree-item.entry.js +6 -6
  638. package/dist/esm/ix-tree.entry.js +2 -1
  639. package/dist/esm/ix-typography.entry.js +2 -2
  640. package/dist/esm/ix-upload.entry.js +6 -6
  641. package/dist/esm/ix-workflow-step.entry.js +12 -6
  642. package/dist/esm/ix-workflow-steps.entry.js +2 -2
  643. package/dist/esm/loader.js +1 -1
  644. package/dist/esm/siemens-ix.js +1 -1
  645. package/dist/esm/{validation-VVt5EFy0.js → validation-DXpftrw5.js} +59 -4
  646. package/dist/siemens-ix/index.esm.js +1 -1
  647. package/dist/siemens-ix/{p-71feb871.entry.js → p-0018f327.entry.js} +1 -1
  648. package/dist/siemens-ix/p-0409f281.entry.js +1 -0
  649. package/dist/siemens-ix/p-0819923e.entry.js +1 -0
  650. package/dist/siemens-ix/p-0b875bbd.entry.js +1 -0
  651. package/dist/siemens-ix/p-14554694.entry.js +1 -0
  652. package/dist/siemens-ix/p-1a7b51d8.entry.js +1 -0
  653. package/dist/siemens-ix/{p-ea9691c1.entry.js → p-1aef893c.entry.js} +1 -1
  654. package/dist/siemens-ix/p-1bce1c19.entry.js +1 -0
  655. package/dist/siemens-ix/p-1d06e067.entry.js +1 -0
  656. package/dist/siemens-ix/p-1fddf959.entry.js +1 -0
  657. package/dist/siemens-ix/p-207d77b3.entry.js +1 -0
  658. package/dist/siemens-ix/{p-c69036b1.entry.js → p-213059a9.entry.js} +1 -1
  659. package/dist/siemens-ix/{p-2753ed4e.entry.js → p-222d3d93.entry.js} +1 -1
  660. package/dist/siemens-ix/p-2270cc5d.entry.js +1 -0
  661. package/dist/siemens-ix/p-24138425.entry.js +1 -0
  662. package/dist/siemens-ix/p-32104d25.entry.js +1 -0
  663. package/dist/siemens-ix/p-34d5185d.entry.js +1 -0
  664. package/dist/siemens-ix/p-34f2792e.entry.js +1 -0
  665. package/dist/siemens-ix/p-35042cda.entry.js +1 -0
  666. package/dist/siemens-ix/p-351e8732.entry.js +1 -0
  667. package/dist/siemens-ix/{p-e5e220c7.entry.js → p-38e0953a.entry.js} +1 -1
  668. package/dist/siemens-ix/{p-d1cd3cb9.entry.js → p-38eef16a.entry.js} +1 -1
  669. package/dist/siemens-ix/p-39079ba7.entry.js +1 -0
  670. package/dist/siemens-ix/p-3a60004f.entry.js +1 -0
  671. package/dist/siemens-ix/p-3ad11c04.entry.js +1 -0
  672. package/dist/siemens-ix/{p-ab202c45.entry.js → p-3c7a8e8b.entry.js} +1 -1
  673. package/dist/siemens-ix/p-3c92d126.entry.js +1 -0
  674. package/dist/siemens-ix/p-3ca5d3b9.entry.js +1 -0
  675. package/dist/siemens-ix/p-3fe85552.entry.js +1 -0
  676. package/dist/siemens-ix/{p-eac237a1.entry.js → p-40239cf6.entry.js} +1 -1
  677. package/dist/siemens-ix/{p-8f72a218.entry.js → p-403b7d10.entry.js} +1 -1
  678. package/dist/siemens-ix/p-4739e88e.entry.js +1 -0
  679. package/dist/siemens-ix/p-4ZsT_zIm.js +1 -0
  680. package/dist/siemens-ix/p-4c765c73.entry.js +1 -0
  681. package/dist/siemens-ix/p-4f02b8dd.entry.js +1 -0
  682. package/dist/siemens-ix/{p-d16ee3bd.entry.js → p-5014b469.entry.js} +1 -1
  683. package/dist/siemens-ix/p-50ece3e2.entry.js +1 -0
  684. package/dist/siemens-ix/p-53319a22.entry.js +1 -0
  685. package/dist/siemens-ix/{p-c0d56b86.entry.js → p-571a1628.entry.js} +1 -1
  686. package/dist/siemens-ix/p-58c6aa27.entry.js +1 -0
  687. package/dist/siemens-ix/{p-34eaf010.entry.js → p-60f7be48.entry.js} +1 -1
  688. package/dist/siemens-ix/p-643ed439.entry.js +1 -0
  689. package/dist/siemens-ix/p-6505e43d.entry.js +1 -0
  690. package/dist/siemens-ix/p-66097da1.entry.js +1 -0
  691. package/dist/siemens-ix/p-66e92cdd.entry.js +1 -0
  692. package/dist/siemens-ix/{p-21b09017.entry.js → p-675e2aa8.entry.js} +1 -1
  693. package/dist/siemens-ix/p-6c25b44d.entry.js +1 -0
  694. package/dist/siemens-ix/p-79a08a2a.entry.js +1 -0
  695. package/dist/siemens-ix/p-7b9d9c0c.entry.js +1 -0
  696. package/dist/siemens-ix/{p-da2e0f0e.entry.js → p-7bc3af96.entry.js} +1 -1
  697. package/dist/siemens-ix/p-83827bb2.entry.js +1 -0
  698. package/dist/siemens-ix/p-859294b4.entry.js +1 -0
  699. package/dist/siemens-ix/p-8a14750f.entry.js +1 -0
  700. package/dist/siemens-ix/p-8af23465.entry.js +1 -0
  701. package/dist/siemens-ix/{p-a2aa806e.entry.js → p-8bc225b7.entry.js} +1 -1
  702. package/dist/siemens-ix/p-9254cb19.entry.js +1 -0
  703. package/dist/siemens-ix/p-95625e2a.entry.js +1 -0
  704. package/dist/siemens-ix/p-9c6e5dcc.entry.js +1 -0
  705. package/dist/siemens-ix/{p-b2fe56c7.entry.js → p-9df616d3.entry.js} +1 -1
  706. package/dist/siemens-ix/p-BeX6RWvV.js +1 -0
  707. package/dist/siemens-ix/p-Bemn50Nk.js +1 -0
  708. package/dist/siemens-ix/p-BqeSHO6C.js +1 -0
  709. package/dist/siemens-ix/{p-HpQs38Y0.js → p-CDKWxg_L.js} +1 -1
  710. package/dist/siemens-ix/{p-CXbob2Ew.js → p-CLxF-dX8.js} +1 -1
  711. package/dist/siemens-ix/p-Cv_omozQ.js +1 -0
  712. package/dist/siemens-ix/{p-C21npbUc.js → p-DD206pTM.js} +1 -1
  713. package/dist/siemens-ix/p-S-XikzrL.js +1 -0
  714. package/dist/siemens-ix/p-a05bf6b5.entry.js +1 -0
  715. package/dist/siemens-ix/{p-bc0f5cbe.entry.js → p-a23edbb6.entry.js} +1 -1
  716. package/dist/siemens-ix/{p-f43c97cf.entry.js → p-a2a3d749.entry.js} +1 -1
  717. package/dist/siemens-ix/p-a4c3f3d3.entry.js +1 -0
  718. package/dist/siemens-ix/p-a87b0328.entry.js +1 -0
  719. package/dist/siemens-ix/p-aa0770ab.entry.js +1 -0
  720. package/dist/siemens-ix/{p-0e74e65c.entry.js → p-abe537f8.entry.js} +1 -1
  721. package/dist/siemens-ix/p-b299eca3.entry.js +1 -0
  722. package/dist/siemens-ix/p-b5bf48cb.entry.js +1 -0
  723. package/dist/siemens-ix/p-b990c3f4.entry.js +1 -0
  724. package/dist/siemens-ix/p-b9dcbd84.entry.js +1 -0
  725. package/dist/siemens-ix/p-c1b669ae.entry.js +1 -0
  726. package/dist/siemens-ix/{p-95e8951f.entry.js → p-c2d8ec4e.entry.js} +1 -1
  727. package/dist/siemens-ix/p-c393c20e.entry.js +1 -0
  728. package/dist/siemens-ix/p-c3e44b4a.entry.js +1 -0
  729. package/dist/siemens-ix/p-c4379966.entry.js +1 -0
  730. package/dist/siemens-ix/{p-52096875.entry.js → p-c6346987.entry.js} +1 -1
  731. package/dist/siemens-ix/p-c6987c42.entry.js +1 -0
  732. package/dist/siemens-ix/{p-7655c4c2.entry.js → p-ca4259c9.entry.js} +1 -1
  733. package/dist/siemens-ix/{p-e9b37020.entry.js → p-caac5984.entry.js} +1 -1
  734. package/dist/siemens-ix/{p-7899597f.entry.js → p-cb43f6e5.entry.js} +1 -1
  735. package/dist/siemens-ix/p-cc6305ab.entry.js +1 -0
  736. package/dist/siemens-ix/{p-5d7ede96.entry.js → p-ccea2ebf.entry.js} +1 -1
  737. package/dist/siemens-ix/{p-a44b1452.entry.js → p-cf56ddd5.entry.js} +1 -1
  738. package/dist/siemens-ix/p-cfd75035.entry.js +1 -0
  739. package/dist/siemens-ix/p-d39c4aeb.entry.js +1 -0
  740. package/dist/siemens-ix/p-d4d99140.entry.js +1 -0
  741. package/dist/siemens-ix/{p-d699bb26.entry.js → p-d555f28a.entry.js} +1 -1
  742. package/dist/siemens-ix/p-d94ad8f8.entry.js +1 -0
  743. package/dist/siemens-ix/p-da700215.entry.js +1 -0
  744. package/dist/siemens-ix/p-ddb49318.entry.js +1 -0
  745. package/dist/siemens-ix/p-de9a4607.entry.js +1 -0
  746. package/dist/siemens-ix/p-e2e7c16a.entry.js +1 -0
  747. package/dist/siemens-ix/p-e4f04831.entry.js +1 -0
  748. package/dist/siemens-ix/p-e5239c6d.entry.js +1 -0
  749. package/dist/siemens-ix/p-e789cd7e.entry.js +1 -0
  750. package/dist/siemens-ix/p-e7dedba9.entry.js +1 -0
  751. package/dist/siemens-ix/p-e87e947c.entry.js +1 -0
  752. package/dist/siemens-ix/p-e8d73d19.entry.js +1 -0
  753. package/dist/siemens-ix/p-e8f5519f.entry.js +1 -0
  754. package/dist/siemens-ix/{p-b7570885.entry.js → p-ea3b4ad4.entry.js} +1 -1
  755. package/dist/siemens-ix/p-eba11702.entry.js +1 -0
  756. package/dist/siemens-ix/p-eda419ea.entry.js +1 -0
  757. package/dist/siemens-ix/p-f3e24bb0.entry.js +1 -0
  758. package/dist/siemens-ix/{p-ac804eb2.entry.js → p-f4d8f94b.entry.js} +1 -1
  759. package/dist/siemens-ix/p-f705bb97.entry.js +1 -0
  760. package/{components/p-DkAUNod9.js → dist/siemens-ix/p-f7f6cf46.entry.js} +1 -1
  761. package/dist/siemens-ix/{p-4faa3c03.entry.js → p-fcfecc91.entry.js} +1 -1
  762. package/dist/siemens-ix/{p-C518yBiI.js → p-rgh7lt60.js} +1 -1
  763. package/dist/siemens-ix/p-xptA1Kt1.js +1 -0
  764. package/dist/siemens-ix/siemens-ix.css +11 -11
  765. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  766. package/dist/types/components/badge/badge.d.ts +195 -0
  767. package/dist/types/components/badge/badge.status-icon.d.ts +21 -0
  768. package/dist/types/components/badge/badge.types.d.ts +19 -0
  769. package/dist/types/components/badge/badge.utils.d.ts +10 -0
  770. package/dist/types/components/badge/test/badge.page.d.ts +67 -0
  771. package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +1 -16
  772. package/dist/types/components/button/button.d.ts +1 -16
  773. package/dist/types/components/card-list/card-list.d.ts +4 -1
  774. package/dist/types/components/chat/chat.d.ts +11 -0
  775. package/dist/types/components/chat-ai-message/chat-ai-message.d.ts +14 -0
  776. package/dist/types/components/chat-attachment/chat-attachment.d.ts +47 -0
  777. package/dist/types/components/chat-attachment/chat-attachment.types.d.ts +1 -0
  778. package/dist/types/components/chat-input/chat-input.d.ts +175 -0
  779. package/dist/types/components/chat-user-message/chat-user-message.d.ts +23 -0
  780. package/dist/types/components/chip/chip.d.ts +2 -17
  781. package/dist/types/components/dropdown/dropdown-focus.d.ts +1 -1
  782. package/dist/types/components/group/group.d.ts +1 -1
  783. package/dist/types/components/icon-button/icon-button.d.ts +2 -17
  784. package/dist/types/components/icon-toggle-button/icon-toggle-button.d.ts +1 -16
  785. package/dist/types/components/input/input.util.d.ts +2 -3
  786. package/dist/types/components/input/number-input.d.ts +1 -0
  787. package/dist/types/components/menu/menu.d.ts +1 -1
  788. package/dist/types/components/menu-category/menu-category.d.ts +3 -18
  789. package/dist/types/components/menu-item/menu-item.d.ts +1 -16
  790. package/dist/types/components/modal/modal.d.ts +1 -0
  791. package/dist/types/components/modal-header/modal-header.d.ts +1 -1
  792. package/dist/types/components/popover/popover.d.ts +1 -16
  793. package/dist/types/components/tabs/tabs.d.ts +3 -16
  794. package/dist/types/components/time-picker/test/expect-defined.d.ts +1 -0
  795. package/dist/types/components/toggle/toggle.d.ts +1 -16
  796. package/dist/types/components/toggle-button/toggle-button.d.ts +1 -16
  797. package/dist/types/components/tree/tree.d.ts +1 -1
  798. package/dist/types/components/utils/a11y.d.ts +1 -0
  799. package/dist/types/components/utils/input/validation.d.ts +6 -0
  800. package/dist/types/components/utils/internal/mixins/accessibility/aria-attribute-observer.d.ts +7 -0
  801. package/dist/types/components/utils/internal/mixins/accessibility/inherit-aria-attributes.mixin.d.ts +7 -18
  802. package/dist/types/components/utils/shadow-dom.d.ts +1 -1
  803. package/dist/types/components/workflow-step/workflow-step.d.ts +1 -0
  804. package/dist/types/components.d.ts +706 -5
  805. package/dist/types/public-api.d.ts +1 -0
  806. package/hydrate/index.js +2279 -2169
  807. package/hydrate/index.mjs +2279 -2169
  808. package/package.json +3 -3
  809. package/scss/mixins/_scrollbar.scss +21 -9
  810. package/components/p-3VG6z9c3.js +0 -1
  811. package/components/p-7HGOhDMX.js +0 -1
  812. package/components/p-BH2Yhp3V.js +0 -1
  813. package/components/p-BIcWFids.js +0 -1
  814. package/components/p-BST8QY5w.js +0 -1
  815. package/components/p-BWH03B1n.js +0 -1
  816. package/components/p-BWknDysp.js +0 -1
  817. package/components/p-B_MBGj0b.js +0 -1
  818. package/components/p-Bj_6nynP.js +0 -1
  819. package/components/p-BtSt9tC5.js +0 -1
  820. package/components/p-BzFLbXmT.js +0 -1
  821. package/components/p-C7MRPZvZ.js +0 -1
  822. package/components/p-CAH3dF6j.js +0 -1
  823. package/components/p-CHV-_J6i.js +0 -1
  824. package/components/p-Ca8JFa1v.js +0 -1
  825. package/components/p-CgHioxG-.js +0 -1
  826. package/components/p-CkIELF-1.js +0 -1
  827. package/components/p-Cvpz1Ji5.js +0 -1
  828. package/components/p-D1sONqtj.js +0 -1
  829. package/components/p-D69Mojvn.js +0 -1
  830. package/components/p-DKH7tPDu.js +0 -1
  831. package/components/p-DLe8Pp58.js +0 -1
  832. package/components/p-DM7ma3Eh.js +0 -1
  833. package/components/p-DNIQ2C1K.js +0 -1
  834. package/components/p-DO3HtUke.js +0 -1
  835. package/components/p-DfdjJL6W.js +0 -1
  836. package/components/p-DjIyhGBC.js +0 -1
  837. package/components/p-Dl_YKIKl.js +0 -1
  838. package/components/p-DuMiVxY1.js +0 -1
  839. package/components/p-Dwe6tWhq.js +0 -1
  840. package/components/p-DwmHytZi.js +0 -1
  841. package/components/p-DziPiOL3.js +0 -1
  842. package/components/p-GmOVROeD.js +0 -1
  843. package/components/p-LbnItC1h.js +0 -1
  844. package/components/p-R1AQtGdV.js +0 -1
  845. package/components/p-_f_q2Etu.js +0 -1
  846. package/components/p-f1jZqaUz.js +0 -1
  847. package/components/p-olkZUb1j.js +0 -1
  848. package/components/p-z19mjzlp.js +0 -1
  849. package/dist/cjs/inherit-aria-attributes.mixin-EyRU0cDO.js +0 -36
  850. package/dist/esm/inherit-aria-attributes.mixin-nCmPujqf.js +0 -34
  851. package/dist/siemens-ix/p-03215d55.entry.js +0 -1
  852. package/dist/siemens-ix/p-04a42013.entry.js +0 -1
  853. package/dist/siemens-ix/p-0b24f8d0.entry.js +0 -1
  854. package/dist/siemens-ix/p-0fd5baf1.entry.js +0 -1
  855. package/dist/siemens-ix/p-18cae4df.entry.js +0 -1
  856. package/dist/siemens-ix/p-1a6b7e92.entry.js +0 -1
  857. package/dist/siemens-ix/p-1cd9a45a.entry.js +0 -1
  858. package/dist/siemens-ix/p-1ea183fb.entry.js +0 -1
  859. package/dist/siemens-ix/p-227ba1b8.entry.js +0 -1
  860. package/dist/siemens-ix/p-2eb094c0.entry.js +0 -1
  861. package/dist/siemens-ix/p-39fb1c9e.entry.js +0 -1
  862. package/dist/siemens-ix/p-3bb5600a.entry.js +0 -1
  863. package/dist/siemens-ix/p-3bfa4bbc.entry.js +0 -1
  864. package/dist/siemens-ix/p-3f5ac9f7.entry.js +0 -1
  865. package/dist/siemens-ix/p-4154d18a.entry.js +0 -1
  866. package/dist/siemens-ix/p-427f85c3.entry.js +0 -1
  867. package/dist/siemens-ix/p-45106215.entry.js +0 -1
  868. package/dist/siemens-ix/p-4ceb3543.entry.js +0 -1
  869. package/dist/siemens-ix/p-4d179abe.entry.js +0 -1
  870. package/dist/siemens-ix/p-50a44cb9.entry.js +0 -1
  871. package/dist/siemens-ix/p-54a22a58.entry.js +0 -1
  872. package/dist/siemens-ix/p-57678563.entry.js +0 -1
  873. package/dist/siemens-ix/p-5ff289c7.entry.js +0 -1
  874. package/dist/siemens-ix/p-601224bd.entry.js +0 -1
  875. package/dist/siemens-ix/p-6aa5adb4.entry.js +0 -1
  876. package/dist/siemens-ix/p-703c7e7c.entry.js +0 -1
  877. package/dist/siemens-ix/p-71a31d92.entry.js +0 -1
  878. package/dist/siemens-ix/p-71a5fae5.entry.js +0 -1
  879. package/dist/siemens-ix/p-747d14a2.entry.js +0 -1
  880. package/dist/siemens-ix/p-7c120d09.entry.js +0 -1
  881. package/dist/siemens-ix/p-8164a98b.entry.js +0 -1
  882. package/dist/siemens-ix/p-83f4cd88.entry.js +0 -1
  883. package/dist/siemens-ix/p-8658717f.entry.js +0 -1
  884. package/dist/siemens-ix/p-8900e229.entry.js +0 -1
  885. package/dist/siemens-ix/p-8b839f30.entry.js +0 -1
  886. package/dist/siemens-ix/p-8cea823b.entry.js +0 -1
  887. package/dist/siemens-ix/p-8d535dc9.entry.js +0 -1
  888. package/dist/siemens-ix/p-96a3b3df.entry.js +0 -1
  889. package/dist/siemens-ix/p-9f2905df.entry.js +0 -1
  890. package/dist/siemens-ix/p-B4oiZyZC.js +0 -1
  891. package/dist/siemens-ix/p-DNIQ2C1K.js +0 -1
  892. package/dist/siemens-ix/p-DgUGsIlh.js +0 -1
  893. package/dist/siemens-ix/p-a25f267b.entry.js +0 -1
  894. package/dist/siemens-ix/p-a7f5e11e.entry.js +0 -1
  895. package/dist/siemens-ix/p-a8911648.entry.js +0 -1
  896. package/dist/siemens-ix/p-aa904521.entry.js +0 -1
  897. package/dist/siemens-ix/p-af808244.entry.js +0 -1
  898. package/dist/siemens-ix/p-b004e845.entry.js +0 -1
  899. package/dist/siemens-ix/p-b534dadd.entry.js +0 -1
  900. package/dist/siemens-ix/p-b63d7f36.entry.js +0 -1
  901. package/dist/siemens-ix/p-bddd1cca.entry.js +0 -1
  902. package/dist/siemens-ix/p-bfb758cb.entry.js +0 -1
  903. package/dist/siemens-ix/p-c0c6d772.entry.js +0 -1
  904. package/dist/siemens-ix/p-c1c209f6.entry.js +0 -1
  905. package/dist/siemens-ix/p-c9718f0d.entry.js +0 -1
  906. package/dist/siemens-ix/p-cd42c4e6.entry.js +0 -1
  907. package/dist/siemens-ix/p-d02d2e49.entry.js +0 -1
  908. package/dist/siemens-ix/p-d13c0b78.entry.js +0 -1
  909. package/dist/siemens-ix/p-d45ff0a0.entry.js +0 -1
  910. package/dist/siemens-ix/p-d5761950.entry.js +0 -1
  911. package/dist/siemens-ix/p-d770d8ba.entry.js +0 -1
  912. package/dist/siemens-ix/p-daf43138.entry.js +0 -1
  913. package/dist/siemens-ix/p-dc16a32d.entry.js +0 -1
  914. package/dist/siemens-ix/p-ddcc8627.entry.js +0 -1
  915. package/dist/siemens-ix/p-e3da7c67.entry.js +0 -1
  916. package/dist/siemens-ix/p-e58ae892.entry.js +0 -1
  917. package/dist/siemens-ix/p-e6046255.entry.js +0 -1
  918. package/dist/siemens-ix/p-eff190ad.entry.js +0 -1
  919. package/dist/siemens-ix/p-f1cd82bd.entry.js +0 -1
  920. package/dist/siemens-ix/p-f507157f.entry.js +0 -1
  921. package/dist/siemens-ix/p-fa5c236f.entry.js +0 -1
  922. package/dist/siemens-ix/p-fbd006be.entry.js +0 -1
  923. package/dist/siemens-ix/p-fdec73d4.entry.js +0 -1
  924. package/dist/siemens-ix/p-vphIrWGB.js +0 -1
  925. package/dist/siemens-ix/p-wfVRhTWc.js +0 -1
  926. package/dist/siemens-ix/p-yZFaEeBW.js +0 -1
@@ -0,0 +1,817 @@
1
+ /*
2
+ * SPDX-FileCopyrightText: 2026 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 { h, Host, Mixin, } from "@stencil/core";
10
+ import { a11yBoolean } from "../utils/a11y";
11
+ import { DefaultMixins } from "../utils/internal/component";
12
+ import { InheritAriaAttributesMixin, } from "../utils/internal/mixins/accessibility/inherit-aria-attributes.mixin";
13
+ import { ComponentIdMixin, } from "../utils/internal/mixins/id.mixin";
14
+ import { makeRef } from "../utils/make-ref";
15
+ import { convertToRemString } from "../utils/rwd.util";
16
+ import { hasSlottedElements } from "../utils/shadow-dom";
17
+ import { getBadgeStatusIcon, getBadgeStatusIconPlate, getResolvedStatusIconVariant, } from "./badge.status-icon";
18
+ import { BADGE_ANATOMY_TYPES, BADGE_ATTACHED_OFFSET_DEFAULTS, BADGE_POSITIONS, BADGE_VARIANTS, } from "./badge.types";
19
+ import { formatBadgeLabel } from "./badge.utils";
20
+ /** Slot name for the screen-reader description. */
21
+ const BADGE_DESCRIPTION_SLOT = 'description';
22
+ /**
23
+ * Overlay indicator for counts, labels, dots, and status icons.
24
+ *
25
+ * **Attached** (default slot has content): the indicator is decorative.
26
+ * When `label` is set, that text is exposed on the anchor via `aria-describedby`.
27
+ * Host `role` / `aria-*` are discarded so the anchor owns the accessible name.
28
+ *
29
+ * **Standalone** (empty default slot): author `role` / `aria-*` stay on the host.
30
+ * For `dot` and `status-icon`, provide a host `aria-label` and a naming role
31
+ * (for example `role="img"`, or `role="status"` / `role="alert"` for a live region).
32
+ *
33
+ * Override max-width with `--ix-badge-max-width`.
34
+ *
35
+ * @since 5.2.0
36
+ */
37
+ export class Badge extends Mixin(...DefaultMixins, InheritAriaAttributesMixin, ComponentIdMixin) {
38
+ constructor() {
39
+ super();
40
+ }
41
+ hostElement;
42
+ /**
43
+ * Badge type (`counter`, `label`, `dot`, or `status-icon`).
44
+ *
45
+ * @since 5.2.0
46
+ */
47
+ type = 'counter';
48
+ /**
49
+ * Visible text or count.
50
+ * Required for `label` and `counter`. Omit for `dot` and `status-icon`.
51
+ * Counters accept integers only (decimals truncated); values above 99 render as `99+`.
52
+ *
53
+ * @since 5.2.0
54
+ */
55
+ label;
56
+ /**
57
+ * Color variant.
58
+ * For `status-icon`, unsupported values fall back to `info`.
59
+ * Use `error` only with `status-icon` (other types map it to `alarm`).
60
+ *
61
+ * @since 5.2.0
62
+ */
63
+ variant = 'primary';
64
+ /**
65
+ * Show the badge in outline style.
66
+ *
67
+ * @since 5.2.0
68
+ */
69
+ outline = false;
70
+ /**
71
+ * Add a high-contrast border on filled badges.
72
+ * Ignored when **outline** is `true` or **type** is `status-icon`.
73
+ *
74
+ * @since 5.2.0
75
+ */
76
+ border = false;
77
+ /**
78
+ * Position relative to the slotted anchor.
79
+ * Only has an effect when attached.
80
+ *
81
+ * @since 5.2.0
82
+ */
83
+ position = 'top-after';
84
+ /**
85
+ * Extra horizontal offset in pixels.
86
+ * Only has an effect when attached.
87
+ * Added to the type default.
88
+ *
89
+ * @since 5.2.0
90
+ */
91
+ offsetX = 0;
92
+ /**
93
+ * Extra vertical offset in pixels.
94
+ * Only has an effect when attached.
95
+ * Added to the type default.
96
+ *
97
+ * @since 5.2.0
98
+ */
99
+ offsetY = 0;
100
+ /**
101
+ * Play the attention pulse animation.
102
+ * Override duration with `--ix-badge-animation-duration` (default `2s`).
103
+ *
104
+ * @since 5.2.0
105
+ */
106
+ enableAnimation = false;
107
+ /**
108
+ * Custom background or border color.
109
+ * Only has an effect when **variant** is `custom`.
110
+ *
111
+ * @since 5.2.0
112
+ */
113
+ background;
114
+ /**
115
+ * Custom text color.
116
+ * Only has an effect when **variant** is `custom`.
117
+ *
118
+ * @since 5.2.0
119
+ */
120
+ badgeColor;
121
+ /**
122
+ * Leading icon name.
123
+ * Only has an effect when **type** is `label`.
124
+ *
125
+ * @since 5.2.0
126
+ */
127
+ icon;
128
+ /**
129
+ * Accessible name for the leading icon.
130
+ * When unset, the icon is decorative if **label** provides visible text.
131
+ * Only has an effect when **type** is `label`.
132
+ *
133
+ * @since 5.2.0
134
+ */
135
+ ariaLabelIcon;
136
+ /**
137
+ * Left-align label content.
138
+ * Only has an effect when **type** is `label`.
139
+ *
140
+ * @since 5.2.0
141
+ */
142
+ alignLeft = false;
143
+ /**
144
+ * Display a tooltip when the badge is standalone.
145
+ * By default, no tooltip is displayed.
146
+ * Add the attribute to use the badge label (or host `aria-label`) as the tooltip, or pass a string for custom text.
147
+ * Ignored when the badge is attached to an anchor.
148
+ *
149
+ * @since 5.2.0
150
+ */
151
+ tooltipText = false;
152
+ hasAnchor = false;
153
+ descriptionId = '';
154
+ anchorElements = [];
155
+ slotElement;
156
+ indicatorElementRef = makeRef();
157
+ hasDisconnected = false;
158
+ componentWillLoad() {
159
+ // Mixin strips host ARIA into `inheritAriaAttributes` and removes them from the host.
160
+ super.componentWillLoad();
161
+ this.descriptionId = `${this.getHostElementId()}-description`;
162
+ const hasAnchor = this.detectHasAnchor();
163
+ if (hasAnchor) {
164
+ this.hasAnchor = true;
165
+ // Attached: discard host ARIA — the anchor owns naming; the indicator is decorative
166
+ // (`aria-hidden`) and count/label text is exposed via `aria-describedby` on the anchor.
167
+ this.inheritAriaAttributes = {};
168
+ return;
169
+ }
170
+ this.hasAnchor = false;
171
+ // Standalone: keep mixin-captured ARIA and re-apply on `<Host>` in `render()`.
172
+ }
173
+ componentDidLoad() {
174
+ this.syncAnchorDescribedBy();
175
+ }
176
+ componentDidRender() {
177
+ const nextHasAnchor = this.detectHasAnchor();
178
+ if (nextHasAnchor !== this.hasAnchor) {
179
+ this.applyAnchorMode(nextHasAnchor);
180
+ this.syncAnchorDescribedBy();
181
+ }
182
+ }
183
+ connectedCallback() {
184
+ super.connectedCallback();
185
+ if (this.hasDisconnected) {
186
+ this.syncAnchorDescribedBy();
187
+ this.hasDisconnected = false;
188
+ }
189
+ }
190
+ disconnectedCallback() {
191
+ super.disconnectedCallback();
192
+ this.clearAnchorDescribedBy();
193
+ this.hasDisconnected = true;
194
+ }
195
+ labelOrTypeChanged() {
196
+ if (this.hasAnchor) {
197
+ this.syncAnchorDescribedBy();
198
+ }
199
+ }
200
+ setSlotRef = (element) => {
201
+ this.slotElement = element;
202
+ };
203
+ onSlotChange = () => {
204
+ this.applyAnchorMode(this.detectHasAnchor());
205
+ this.syncAnchorDescribedBy();
206
+ };
207
+ isDescriptionElement(element) {
208
+ return (element.getAttribute('slot') === BADGE_DESCRIPTION_SLOT ||
209
+ (!!this.descriptionId && element.id === this.descriptionId));
210
+ }
211
+ getAnchorElements() {
212
+ return Array.from(this.hostElement.children).filter((child) => child instanceof HTMLElement && !this.isDescriptionElement(child));
213
+ }
214
+ detectHasAnchor() {
215
+ if (hasSlottedElements(this.slotElement)) {
216
+ return true;
217
+ }
218
+ return this.getAnchorElements().length > 0;
219
+ }
220
+ applyAnchorMode(hasAnchor) {
221
+ if (hasAnchor === this.hasAnchor) {
222
+ return;
223
+ }
224
+ this.clearAnchorDescribedBy();
225
+ if (hasAnchor) {
226
+ this.hasAnchor = true;
227
+ // Strip any ARIA still on the host (e.g. re-applied while standalone) and discard —
228
+ // attached mode must not keep role / aria-* on the wrapper.
229
+ this.readAriaAttributesFromHost();
230
+ this.inheritAriaAttributes = {};
231
+ this.descriptionId = `${this.getHostElementId()}-description`;
232
+ return;
233
+ }
234
+ this.hasAnchor = false;
235
+ // Leaving attached: capture any author ARIA set on the host for standalone `<Host>`.
236
+ this.inheritAriaAttributes = this.readAriaAttributesFromHost();
237
+ }
238
+ getResolvedVariant() {
239
+ if (this.variant === 'error') {
240
+ return this.getResolvedType() === 'status-icon' ? 'error' : 'alarm';
241
+ }
242
+ return BADGE_VARIANTS.includes(this.variant)
243
+ ? this.variant
244
+ : 'primary';
245
+ }
246
+ getResolvedType() {
247
+ return BADGE_ANATOMY_TYPES.includes(this.type) ? this.type : 'counter';
248
+ }
249
+ getResolvedPosition() {
250
+ return BADGE_POSITIONS.includes(this.position)
251
+ ? this.position
252
+ : 'top-after';
253
+ }
254
+ getResolvedOffsets() {
255
+ const type = this.getResolvedType();
256
+ const defaults = this.hasAnchor
257
+ ? BADGE_ATTACHED_OFFSET_DEFAULTS[type]
258
+ : { x: 0, y: 0 };
259
+ return {
260
+ x: defaults.x + this.offsetX,
261
+ y: defaults.y + this.offsetY,
262
+ };
263
+ }
264
+ getFormattedLabel(type) {
265
+ return formatBadgeLabel(type, this.label);
266
+ }
267
+ getAccessibleText(formattedLabel) {
268
+ return formattedLabel || undefined;
269
+ }
270
+ isTooltipRequested() {
271
+ return !!(this.tooltipText || this.hostElement.hasAttribute('tooltip-text'));
272
+ }
273
+ hasVisibleIndicator(type, formattedLabel) {
274
+ if (type === 'counter' || type === 'label') {
275
+ return !!formattedLabel;
276
+ }
277
+ return type === 'dot' || type === 'status-icon';
278
+ }
279
+ shouldShowTooltip(type, formattedLabel) {
280
+ return (!this.hasAnchor &&
281
+ this.isTooltipRequested() &&
282
+ this.hasVisibleIndicator(type, formattedLabel));
283
+ }
284
+ getTooltipContent(formattedLabel) {
285
+ if (typeof this.tooltipText === 'string' && this.tooltipText.trim()) {
286
+ return this.tooltipText.trim();
287
+ }
288
+ return (formattedLabel?.trim() ||
289
+ this.inheritAriaAttributes['aria-label']?.trim() ||
290
+ this.hostElement.getAttribute('aria-label')?.trim() ||
291
+ undefined);
292
+ }
293
+ getTooltip(formattedLabel) {
294
+ if (!this.shouldShowTooltip(this.getResolvedType(), formattedLabel)) {
295
+ return null;
296
+ }
297
+ const text = this.getTooltipContent(formattedLabel);
298
+ if (!text) {
299
+ return null;
300
+ }
301
+ return (h("ix-tooltip", { for: this.indicatorElementRef.waitForCurrent(), "aria-label": text }, text));
302
+ }
303
+ syncAnchorDescribedBy() {
304
+ this.clearAnchorDescribedBy();
305
+ if (!this.hasAnchor) {
306
+ return;
307
+ }
308
+ const accessibleText = this.getAccessibleText(this.getFormattedLabel(this.getResolvedType()));
309
+ if (!accessibleText) {
310
+ return;
311
+ }
312
+ const descriptionEl = this.ensureLightDomDescription(accessibleText);
313
+ const anchors = this.getAnchorElements();
314
+ for (const anchor of anchors) {
315
+ const existing = anchor.getAttribute('aria-describedby');
316
+ const ids = new Set(existing?.split(/\s+/).filter((id) => id.length > 0) ?? []);
317
+ ids.add(descriptionEl.id);
318
+ anchor.setAttribute('aria-describedby', Array.from(ids).join(' '));
319
+ anchor.dataset.ixBadgeDescribedby = descriptionEl.id;
320
+ }
321
+ this.anchorElements = anchors;
322
+ }
323
+ ensureLightDomDescription(text) {
324
+ let descriptionEl = Array.from(this.hostElement.children).find((child) => child instanceof HTMLElement && this.isDescriptionElement(child));
325
+ if (!descriptionEl) {
326
+ descriptionEl = document.createElement('span');
327
+ descriptionEl.slot = BADGE_DESCRIPTION_SLOT;
328
+ descriptionEl.className = 'description';
329
+ this.hostElement.appendChild(descriptionEl);
330
+ }
331
+ descriptionEl.id = this.descriptionId;
332
+ descriptionEl.textContent = text;
333
+ return descriptionEl;
334
+ }
335
+ removeLightDomDescription() {
336
+ Array.from(this.hostElement.children)
337
+ .filter((child) => child instanceof HTMLElement && this.isDescriptionElement(child))
338
+ .forEach((child) => child.remove());
339
+ }
340
+ clearAnchorDescribedBy() {
341
+ for (const anchor of this.anchorElements) {
342
+ if (anchor.dataset.ixBadgeDescribedby !== this.descriptionId) {
343
+ continue;
344
+ }
345
+ const existing = anchor.getAttribute('aria-describedby');
346
+ const ids = existing?.split(/\s+/).filter((id) => id !== this.descriptionId) ?? [];
347
+ delete anchor.dataset.ixBadgeDescribedby;
348
+ if (ids.length > 0) {
349
+ anchor.setAttribute('aria-describedby', ids.join(' '));
350
+ }
351
+ else {
352
+ anchor.removeAttribute('aria-describedby');
353
+ }
354
+ }
355
+ this.anchorElements = [];
356
+ this.removeLightDomDescription();
357
+ }
358
+ renderIndicatorShell(_accessibleText, content) {
359
+ return (h("div", { class: "indicator", ref: this.indicatorElementRef, "aria-hidden": this.hasAnchor ? a11yBoolean(true) : undefined }, content));
360
+ }
361
+ renderIndicator(type, variant, accessibleText, formattedLabel) {
362
+ if (type === 'counter') {
363
+ if (!formattedLabel) {
364
+ return null;
365
+ }
366
+ return this.renderIndicatorShell(accessibleText, h("span", { class: "label" }, formattedLabel));
367
+ }
368
+ if (type === 'dot') {
369
+ return this.renderIndicatorShell(accessibleText);
370
+ }
371
+ if (type === 'label') {
372
+ if (!formattedLabel) {
373
+ return null;
374
+ }
375
+ const iconIsDecorative = !this.ariaLabelIcon?.trim();
376
+ return this.renderIndicatorShell(accessibleText, [
377
+ this.icon ? (h("ix-icon", { key: "icon", class: "icon", name: this.icon, size: "16", "aria-label": this.ariaLabelIcon, "aria-hidden": a11yBoolean(iconIsDecorative) })) : null,
378
+ h("span", { key: "label", class: "label" }, formattedLabel),
379
+ ]);
380
+ }
381
+ if (type === 'status-icon') {
382
+ if (this.outline) {
383
+ return this.renderIndicatorShell(accessibleText, h("ix-icon", { class: "status-icon", name: getBadgeStatusIcon(variant, true), size: "16", "aria-hidden": a11yBoolean(true) }));
384
+ }
385
+ return this.renderIndicatorShell(accessibleText, h("span", { class: "status-icon-stack" }, h("ix-icon", { class: "status-icon status-icon-plate", name: getBadgeStatusIconPlate(variant), size: "16", "aria-hidden": a11yBoolean(true) }), h("ix-icon", { class: "status-icon status-icon-glyph", name: getBadgeStatusIcon(variant, false), size: "16", "aria-hidden": a11yBoolean(true) })));
386
+ }
387
+ return null;
388
+ }
389
+ render() {
390
+ const type = this.getResolvedType();
391
+ const variant = this.getResolvedVariant();
392
+ const position = this.getResolvedPosition();
393
+ const offsets = this.getResolvedOffsets();
394
+ const formattedLabel = this.getFormattedLabel(type);
395
+ const accessibleText = this.getAccessibleText(formattedLabel);
396
+ const hostVariant = type === 'status-icon' ? getResolvedStatusIconVariant(variant) : variant;
397
+ const showBorder = this.border && type !== 'status-icon';
398
+ const showTooltip = this.shouldShowTooltip(type, formattedLabel);
399
+ const customHostStyle = hostVariant === 'custom'
400
+ ? {
401
+ '--ix-badge-custom-background': this.background,
402
+ '--ix-badge-custom-color': this.badgeColor,
403
+ }
404
+ : undefined;
405
+ return (h(Host, { key: 'db05c580c07295abde411f0c77ce96e4a83e5550', ...(this.hasAnchor ? {} : this.inheritAriaAttributes), class: {
406
+ attached: this.hasAnchor,
407
+ outline: this.outline,
408
+ border: showBorder,
409
+ 'enable-animation': this.enableAnimation,
410
+ 'align-left': this.alignLeft,
411
+ 'with-icon': type === 'label' && !!this.icon,
412
+ 'with-tooltip': showTooltip,
413
+ ...(this.hasAnchor ? { [position]: true } : {}),
414
+ [hostVariant]: true,
415
+ }, style: {
416
+ ...customHostStyle,
417
+ ...(this.hasAnchor
418
+ ? {
419
+ '--ix-badge-offset-x': convertToRemString(offsets.x),
420
+ '--ix-badge-offset-y': convertToRemString(offsets.y),
421
+ }
422
+ : {}),
423
+ } }, h("slot", { key: '77ed2ddd676864a819cdee8136e6a6b7e35028aa', name: BADGE_DESCRIPTION_SLOT }), h("div", { key: '4772bb4b795f23fae60b928354baf6f1c47a50ea', class: "anchor" }, h("slot", { key: '6803baae909f08acbc6b15a6dd673dc63f72e414', ref: this.setSlotRef, onSlotchange: this.onSlotChange })), this.renderIndicator(type, variant, accessibleText, formattedLabel), this.getTooltip(formattedLabel)));
424
+ }
425
+ static get is() { return "ix-badge"; }
426
+ static get encapsulation() { return "shadow"; }
427
+ static get originalStyleUrls() {
428
+ return {
429
+ "$": ["badge.scss"]
430
+ };
431
+ }
432
+ static get styleUrls() {
433
+ return {
434
+ "$": ["badge.css"]
435
+ };
436
+ }
437
+ static get properties() {
438
+ return {
439
+ "type": {
440
+ "type": "string",
441
+ "mutable": false,
442
+ "complexType": {
443
+ "original": "BadgeAnatomyType",
444
+ "resolved": "\"counter\" | \"dot\" | \"label\" | \"status-icon\"",
445
+ "references": {
446
+ "BadgeAnatomyType": {
447
+ "location": "import",
448
+ "path": "./badge.types",
449
+ "id": "src/components/badge/badge.types.ts::BadgeAnatomyType",
450
+ "referenceLocation": "BadgeAnatomyType"
451
+ }
452
+ }
453
+ },
454
+ "required": false,
455
+ "optional": false,
456
+ "docs": {
457
+ "tags": [{
458
+ "name": "since",
459
+ "text": "5.2.0"
460
+ }],
461
+ "text": "Badge type (`counter`, `label`, `dot`, or `status-icon`)."
462
+ },
463
+ "getter": false,
464
+ "setter": false,
465
+ "reflect": true,
466
+ "attribute": "type",
467
+ "defaultValue": "'counter'"
468
+ },
469
+ "label": {
470
+ "type": "string",
471
+ "mutable": false,
472
+ "complexType": {
473
+ "original": "string",
474
+ "resolved": "string | undefined",
475
+ "references": {}
476
+ },
477
+ "required": false,
478
+ "optional": true,
479
+ "docs": {
480
+ "tags": [{
481
+ "name": "since",
482
+ "text": "5.2.0"
483
+ }],
484
+ "text": "Visible text or count.\nRequired for `label` and `counter`. Omit for `dot` and `status-icon`.\nCounters accept integers only (decimals truncated); values above 99 render as `99+`."
485
+ },
486
+ "getter": false,
487
+ "setter": false,
488
+ "reflect": true,
489
+ "attribute": "label"
490
+ },
491
+ "variant": {
492
+ "type": "string",
493
+ "mutable": false,
494
+ "complexType": {
495
+ "original": "BadgeVariant",
496
+ "resolved": "\"alarm\" | \"critical\" | \"custom\" | \"error\" | \"info\" | \"neutral\" | \"primary\" | \"success\" | \"warning\"",
497
+ "references": {
498
+ "BadgeVariant": {
499
+ "location": "import",
500
+ "path": "./badge.types",
501
+ "id": "src/components/badge/badge.types.ts::BadgeVariant",
502
+ "referenceLocation": "BadgeVariant"
503
+ }
504
+ }
505
+ },
506
+ "required": false,
507
+ "optional": false,
508
+ "docs": {
509
+ "tags": [{
510
+ "name": "since",
511
+ "text": "5.2.0"
512
+ }],
513
+ "text": "Color variant.\nFor `status-icon`, unsupported values fall back to `info`.\nUse `error` only with `status-icon` (other types map it to `alarm`)."
514
+ },
515
+ "getter": false,
516
+ "setter": false,
517
+ "reflect": true,
518
+ "attribute": "variant",
519
+ "defaultValue": "'primary'"
520
+ },
521
+ "outline": {
522
+ "type": "boolean",
523
+ "mutable": false,
524
+ "complexType": {
525
+ "original": "boolean",
526
+ "resolved": "boolean",
527
+ "references": {}
528
+ },
529
+ "required": false,
530
+ "optional": false,
531
+ "docs": {
532
+ "tags": [{
533
+ "name": "since",
534
+ "text": "5.2.0"
535
+ }],
536
+ "text": "Show the badge in outline style."
537
+ },
538
+ "getter": false,
539
+ "setter": false,
540
+ "reflect": true,
541
+ "attribute": "outline",
542
+ "defaultValue": "false"
543
+ },
544
+ "border": {
545
+ "type": "boolean",
546
+ "mutable": false,
547
+ "complexType": {
548
+ "original": "boolean",
549
+ "resolved": "boolean",
550
+ "references": {}
551
+ },
552
+ "required": false,
553
+ "optional": false,
554
+ "docs": {
555
+ "tags": [{
556
+ "name": "since",
557
+ "text": "5.2.0"
558
+ }],
559
+ "text": "Add a high-contrast border on filled badges.\nIgnored when **outline** is `true` or **type** is `status-icon`."
560
+ },
561
+ "getter": false,
562
+ "setter": false,
563
+ "reflect": true,
564
+ "attribute": "border",
565
+ "defaultValue": "false"
566
+ },
567
+ "position": {
568
+ "type": "string",
569
+ "mutable": false,
570
+ "complexType": {
571
+ "original": "BadgePosition",
572
+ "resolved": "\"bottom-after\" | \"top-after\"",
573
+ "references": {
574
+ "BadgePosition": {
575
+ "location": "import",
576
+ "path": "./badge.types",
577
+ "id": "src/components/badge/badge.types.ts::BadgePosition",
578
+ "referenceLocation": "BadgePosition"
579
+ }
580
+ }
581
+ },
582
+ "required": false,
583
+ "optional": false,
584
+ "docs": {
585
+ "tags": [{
586
+ "name": "since",
587
+ "text": "5.2.0"
588
+ }],
589
+ "text": "Position relative to the slotted anchor.\nOnly has an effect when attached."
590
+ },
591
+ "getter": false,
592
+ "setter": false,
593
+ "reflect": true,
594
+ "attribute": "position",
595
+ "defaultValue": "'top-after'"
596
+ },
597
+ "offsetX": {
598
+ "type": "number",
599
+ "mutable": false,
600
+ "complexType": {
601
+ "original": "number",
602
+ "resolved": "number",
603
+ "references": {}
604
+ },
605
+ "required": false,
606
+ "optional": false,
607
+ "docs": {
608
+ "tags": [{
609
+ "name": "since",
610
+ "text": "5.2.0"
611
+ }],
612
+ "text": "Extra horizontal offset in pixels.\nOnly has an effect when attached.\nAdded to the type default."
613
+ },
614
+ "getter": false,
615
+ "setter": false,
616
+ "reflect": false,
617
+ "attribute": "offset-x",
618
+ "defaultValue": "0"
619
+ },
620
+ "offsetY": {
621
+ "type": "number",
622
+ "mutable": false,
623
+ "complexType": {
624
+ "original": "number",
625
+ "resolved": "number",
626
+ "references": {}
627
+ },
628
+ "required": false,
629
+ "optional": false,
630
+ "docs": {
631
+ "tags": [{
632
+ "name": "since",
633
+ "text": "5.2.0"
634
+ }],
635
+ "text": "Extra vertical offset in pixels.\nOnly has an effect when attached.\nAdded to the type default."
636
+ },
637
+ "getter": false,
638
+ "setter": false,
639
+ "reflect": false,
640
+ "attribute": "offset-y",
641
+ "defaultValue": "0"
642
+ },
643
+ "enableAnimation": {
644
+ "type": "boolean",
645
+ "mutable": false,
646
+ "complexType": {
647
+ "original": "boolean",
648
+ "resolved": "boolean",
649
+ "references": {}
650
+ },
651
+ "required": false,
652
+ "optional": false,
653
+ "docs": {
654
+ "tags": [{
655
+ "name": "since",
656
+ "text": "5.2.0"
657
+ }],
658
+ "text": "Play the attention pulse animation.\nOverride duration with `--ix-badge-animation-duration` (default `2s`)."
659
+ },
660
+ "getter": false,
661
+ "setter": false,
662
+ "reflect": true,
663
+ "attribute": "enable-animation",
664
+ "defaultValue": "false"
665
+ },
666
+ "background": {
667
+ "type": "string",
668
+ "mutable": false,
669
+ "complexType": {
670
+ "original": "string",
671
+ "resolved": "string | undefined",
672
+ "references": {}
673
+ },
674
+ "required": false,
675
+ "optional": true,
676
+ "docs": {
677
+ "tags": [{
678
+ "name": "since",
679
+ "text": "5.2.0"
680
+ }],
681
+ "text": "Custom background or border color.\nOnly has an effect when **variant** is `custom`."
682
+ },
683
+ "getter": false,
684
+ "setter": false,
685
+ "reflect": false,
686
+ "attribute": "background"
687
+ },
688
+ "badgeColor": {
689
+ "type": "string",
690
+ "mutable": false,
691
+ "complexType": {
692
+ "original": "string",
693
+ "resolved": "string | undefined",
694
+ "references": {}
695
+ },
696
+ "required": false,
697
+ "optional": true,
698
+ "docs": {
699
+ "tags": [{
700
+ "name": "since",
701
+ "text": "5.2.0"
702
+ }],
703
+ "text": "Custom text color.\nOnly has an effect when **variant** is `custom`."
704
+ },
705
+ "getter": false,
706
+ "setter": false,
707
+ "reflect": false,
708
+ "attribute": "badge-color"
709
+ },
710
+ "icon": {
711
+ "type": "string",
712
+ "mutable": false,
713
+ "complexType": {
714
+ "original": "string",
715
+ "resolved": "string | undefined",
716
+ "references": {}
717
+ },
718
+ "required": false,
719
+ "optional": true,
720
+ "docs": {
721
+ "tags": [{
722
+ "name": "since",
723
+ "text": "5.2.0"
724
+ }],
725
+ "text": "Leading icon name.\nOnly has an effect when **type** is `label`."
726
+ },
727
+ "getter": false,
728
+ "setter": false,
729
+ "reflect": false,
730
+ "attribute": "icon"
731
+ },
732
+ "ariaLabelIcon": {
733
+ "type": "string",
734
+ "mutable": false,
735
+ "complexType": {
736
+ "original": "string",
737
+ "resolved": "string | undefined",
738
+ "references": {}
739
+ },
740
+ "required": false,
741
+ "optional": true,
742
+ "docs": {
743
+ "tags": [{
744
+ "name": "since",
745
+ "text": "5.2.0"
746
+ }],
747
+ "text": "Accessible name for the leading icon.\nWhen unset, the icon is decorative if **label** provides visible text.\nOnly has an effect when **type** is `label`."
748
+ },
749
+ "getter": false,
750
+ "setter": false,
751
+ "reflect": false,
752
+ "attribute": "aria-label-icon"
753
+ },
754
+ "alignLeft": {
755
+ "type": "boolean",
756
+ "mutable": false,
757
+ "complexType": {
758
+ "original": "boolean",
759
+ "resolved": "boolean",
760
+ "references": {}
761
+ },
762
+ "required": false,
763
+ "optional": false,
764
+ "docs": {
765
+ "tags": [{
766
+ "name": "since",
767
+ "text": "5.2.0"
768
+ }],
769
+ "text": "Left-align label content.\nOnly has an effect when **type** is `label`."
770
+ },
771
+ "getter": false,
772
+ "setter": false,
773
+ "reflect": true,
774
+ "attribute": "align-left",
775
+ "defaultValue": "false"
776
+ },
777
+ "tooltipText": {
778
+ "type": "any",
779
+ "mutable": false,
780
+ "complexType": {
781
+ "original": "string | boolean",
782
+ "resolved": "boolean | string",
783
+ "references": {}
784
+ },
785
+ "required": false,
786
+ "optional": false,
787
+ "docs": {
788
+ "tags": [{
789
+ "name": "since",
790
+ "text": "5.2.0"
791
+ }],
792
+ "text": "Display a tooltip when the badge is standalone.\nBy default, no tooltip is displayed.\nAdd the attribute to use the badge label (or host `aria-label`) as the tooltip, or pass a string for custom text.\nIgnored when the badge is attached to an anchor."
793
+ },
794
+ "getter": false,
795
+ "setter": false,
796
+ "reflect": false,
797
+ "attribute": "tooltip-text",
798
+ "defaultValue": "false"
799
+ }
800
+ };
801
+ }
802
+ static get states() {
803
+ return {
804
+ "hasAnchor": {}
805
+ };
806
+ }
807
+ static get elementRef() { return "hostElement"; }
808
+ static get watchers() {
809
+ return [{
810
+ "propName": "label",
811
+ "methodName": "labelOrTypeChanged"
812
+ }, {
813
+ "propName": "type",
814
+ "methodName": "labelOrTypeChanged"
815
+ }];
816
+ }
817
+ }