@siemens/ix 0.0.0-pr-2166-20251001134702 → 0.0.0-pr-2214-20251017134939

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 (911) hide show
  1. package/READMEOSS.html +20 -20
  2. package/components/index.js +4 -4
  3. package/components/index.js.map +1 -1
  4. package/components/ix-action-card.js +3 -3
  5. package/components/ix-action-card.js.map +1 -1
  6. package/components/ix-application-header.js +1 -1
  7. package/components/ix-application-switch-modal.js +6 -6
  8. package/components/ix-application.js +2 -2
  9. package/components/ix-avatar.js +1 -1
  10. package/components/ix-basic-navigation.js +7 -7
  11. package/components/ix-blind.js +1 -1
  12. package/components/ix-breadcrumb-item.js +1 -1
  13. package/components/ix-breadcrumb.js +10 -10
  14. package/components/ix-breadcrumb.js.map +1 -1
  15. package/components/ix-button.js +1 -1
  16. package/components/ix-card-list.js +4 -4
  17. package/components/ix-category-filter.js +22 -13
  18. package/components/ix-category-filter.js.map +1 -1
  19. package/components/ix-checkbox-group.js +4 -4
  20. package/components/ix-checkbox.js +1 -1
  21. package/components/ix-chip.js +15 -14
  22. package/components/ix-chip.js.map +1 -1
  23. package/components/ix-content-header.js +3 -3
  24. package/components/ix-custom-field.js +4 -4
  25. package/components/ix-date-dropdown.js +20 -20
  26. package/components/ix-date-dropdown.js.map +1 -1
  27. package/components/ix-date-input.js +14 -14
  28. package/components/ix-date-input.js.map +1 -1
  29. package/components/ix-date-picker.js +1 -1
  30. package/components/ix-date-time-card.js +1 -1
  31. package/components/ix-datetime-picker.js +34 -13
  32. package/components/ix-datetime-picker.js.map +1 -1
  33. package/components/ix-drawer.js +7 -8
  34. package/components/ix-drawer.js.map +1 -1
  35. package/components/ix-dropdown-button.js +4 -4
  36. package/components/ix-dropdown-header.js +1 -1
  37. package/components/ix-dropdown.js +1 -1
  38. package/components/ix-empty-state.js +3 -3
  39. package/components/ix-event-list.js +4 -4
  40. package/components/ix-event-list.js.map +1 -1
  41. package/components/ix-expanding-search.js +2 -2
  42. package/components/ix-field-label.js +1 -1
  43. package/components/ix-field-wrapper.js +1 -1
  44. package/components/ix-filter-chip.js +1 -1
  45. package/components/ix-flip-tile.js +2 -2
  46. package/components/ix-group-context-menu.js +1 -1
  47. package/components/ix-group-item.js +1 -1
  48. package/components/ix-group.js +24 -24
  49. package/components/ix-group.js.map +1 -1
  50. package/components/ix-helper-text.js +2 -2
  51. package/components/ix-icon-button.js +1 -1
  52. package/components/ix-icon-toggle-button.js +2 -2
  53. package/components/ix-input-group.d.ts +11 -0
  54. package/components/ix-input-group.js +154 -0
  55. package/components/ix-input-group.js.map +1 -0
  56. package/components/ix-input.js +11 -11
  57. package/components/ix-input.js.map +1 -1
  58. package/components/ix-key-value-list.js +1 -1
  59. package/components/ix-key-value.js +1 -1
  60. package/components/ix-kpi.js +3 -3
  61. package/components/ix-layout-auto.js +1 -1
  62. package/components/ix-layout-grid.js +1 -1
  63. package/components/ix-link-button.js +3 -3
  64. package/components/ix-map-navigation-overlay.js +1 -1
  65. package/components/ix-map-navigation.js +9 -10
  66. package/components/ix-map-navigation.js.map +1 -1
  67. package/components/ix-menu-about-item.js +1 -1
  68. package/components/ix-menu-about-news.js +8 -8
  69. package/components/ix-menu-about.js +4 -4
  70. package/components/ix-menu-avatar-item.js +1 -1
  71. package/components/ix-menu-avatar.js +11 -11
  72. package/components/ix-menu-avatar.js.map +1 -1
  73. package/components/ix-menu-category.js +9 -9
  74. package/components/ix-menu-expand-icon.js +1 -1
  75. package/components/ix-menu-item.js +1 -1
  76. package/components/ix-menu-settings-item.js +1 -1
  77. package/components/ix-menu-settings.js +1 -1
  78. package/components/ix-menu.js +26 -21
  79. package/components/ix-menu.js.map +1 -1
  80. package/components/ix-message-bar.js +11 -8
  81. package/components/ix-message-bar.js.map +1 -1
  82. package/components/ix-modal-content.js +1 -1
  83. package/components/ix-modal-footer.js +1 -1
  84. package/components/ix-modal-header.js +1 -1
  85. package/components/ix-modal-loading.js +2 -2
  86. package/components/ix-modal.js +17 -17
  87. package/components/ix-modal.js.map +1 -1
  88. package/components/ix-number-input.js +12 -12
  89. package/components/ix-pagination.js +15 -15
  90. package/components/ix-pagination.js.map +1 -1
  91. package/components/ix-pane-layout.js +1 -1
  92. package/components/ix-pane.js +4 -4
  93. package/components/ix-pill.js +3 -3
  94. package/components/ix-pill.js.map +1 -1
  95. package/components/ix-progress-indicator.js +2 -2
  96. package/components/ix-push-card.js +5 -5
  97. package/components/ix-push-card.js.map +1 -1
  98. package/components/ix-radio-group.js +4 -4
  99. package/components/ix-radio.js +1 -1
  100. package/components/ix-select.js +1 -1
  101. package/components/ix-slider.js +2 -2
  102. package/components/ix-spinner.js +1 -1
  103. package/components/ix-split-button.js +4 -4
  104. package/components/ix-tab-item.js +1 -1
  105. package/components/ix-textarea.js +6 -6
  106. package/components/ix-time-input.js +20 -13
  107. package/components/ix-time-input.js.map +1 -1
  108. package/components/ix-time-picker.js +1 -1
  109. package/components/ix-toast-container.js +9 -9
  110. package/components/ix-toast-container.js.map +1 -1
  111. package/components/ix-toast.js +1 -1
  112. package/components/ix-toggle-button.js +1 -1
  113. package/components/ix-toggle.js +5 -5
  114. package/components/ix-toggle.js.map +1 -1
  115. package/components/ix-tooltip.js +1 -1
  116. package/components/ix-tree-item.js +1 -1
  117. package/components/ix-tree.js +2 -2
  118. package/components/ix-typography.js +1 -1
  119. package/components/ix-upload.js +5 -5
  120. package/components/ix-validation-tooltip.d.ts +11 -0
  121. package/components/ix-validation-tooltip.js +184 -0
  122. package/components/ix-validation-tooltip.js.map +1 -0
  123. package/components/ix-workflow-step.js +5 -4
  124. package/components/ix-workflow-step.js.map +1 -1
  125. package/components/ix-workflow-steps.js +1 -1
  126. package/components/{p-COHP8TmU.js → p-4zrYEasX.js} +3 -3
  127. package/components/p-4zrYEasX.js.map +1 -0
  128. package/components/{p-DklPCkRW.js → p-8MS-omi7.js} +3 -3
  129. package/components/{p-DklPCkRW.js.map → p-8MS-omi7.js.map} +1 -1
  130. package/components/{p-7-Wnr7e5.js → p-BFuOBAQB.js} +12 -6
  131. package/components/p-BFuOBAQB.js.map +1 -0
  132. package/components/{p-Baga5bu5.js → p-BSiqAMAr.js} +6 -6
  133. package/components/{p-Baga5bu5.js.map → p-BSiqAMAr.js.map} +1 -1
  134. package/components/{p-DE74-VWH.js → p-BYRT3Z1w.js} +12 -11
  135. package/components/p-BYRT3Z1w.js.map +1 -0
  136. package/components/{p-ts3VxLYi.js → p-BYvKfy9G.js} +6 -6
  137. package/components/{p-ts3VxLYi.js.map → p-BYvKfy9G.js.map} +1 -1
  138. package/components/{p-DOGuJxKg.js → p-BnT1mAuX.js} +6 -6
  139. package/components/{p-DOGuJxKg.js.map → p-BnT1mAuX.js.map} +1 -1
  140. package/components/{p-C4MK63gz.js → p-BrgHqrnH.js} +3 -3
  141. package/components/{p-C4MK63gz.js.map → p-BrgHqrnH.js.map} +1 -1
  142. package/components/{p-DaR6pX8w.js → p-C-7UhkWz.js} +8 -8
  143. package/components/{p-DaR6pX8w.js.map → p-C-7UhkWz.js.map} +1 -1
  144. package/components/{p-D3ZlTDAF.js → p-C3irznVN.js} +3 -3
  145. package/components/{p-D3ZlTDAF.js.map → p-C3irznVN.js.map} +1 -1
  146. package/components/{p-CiSM2A9Q.js → p-CAqtPJ4-.js} +3 -102
  147. package/components/p-CAqtPJ4-.js.map +1 -0
  148. package/components/p-CFRrPFxi.js +103 -0
  149. package/components/p-CFRrPFxi.js.map +1 -0
  150. package/components/{p-BmLRwuMH.js → p-CGPMGyof.js} +6 -5
  151. package/components/p-CGPMGyof.js.map +1 -0
  152. package/components/{p-DlNAQJQO.js → p-CMNpJTDF.js} +3 -3
  153. package/components/{p-DlNAQJQO.js.map → p-CMNpJTDF.js.map} +1 -1
  154. package/components/{p-uiKHewyI.js → p-CMk-tLmg.js} +4 -4
  155. package/components/{p-uiKHewyI.js.map → p-CMk-tLmg.js.map} +1 -1
  156. package/components/{p-CCyj6Nhd.js → p-CO2zhw6V.js} +3 -3
  157. package/components/{p-CCyj6Nhd.js.map → p-CO2zhw6V.js.map} +1 -1
  158. package/components/{p-C8wXJCK3.js → p-C_x_G0ux.js} +5 -5
  159. package/components/{p-C8wXJCK3.js.map → p-C_x_G0ux.js.map} +1 -1
  160. package/components/{p-BruPthTZ.js → p-CbQqqTKK.js} +71 -17
  161. package/components/p-CbQqqTKK.js.map +1 -0
  162. package/components/{p-w319yPRv.js → p-Cl420PSP.js} +6 -6
  163. package/components/{p-w319yPRv.js.map → p-Cl420PSP.js.map} +1 -1
  164. package/components/{p-C9yPT68I.js → p-CsHYWHE6.js} +25 -37
  165. package/components/p-CsHYWHE6.js.map +1 -0
  166. package/components/p-Ctze1Bh6.js +64 -0
  167. package/components/p-Ctze1Bh6.js.map +1 -0
  168. package/components/{p-BU9xngEb.js → p-CyJWaxhg.js} +9 -9
  169. package/components/{p-BU9xngEb.js.map → p-CyJWaxhg.js.map} +1 -1
  170. package/components/{p-gkooEHol.js → p-CzzcLSmV.js} +4 -4
  171. package/components/p-CzzcLSmV.js.map +1 -0
  172. package/components/{p-Cx5H0GeI.js → p-D5QNBS-J.js} +18 -21
  173. package/components/p-D5QNBS-J.js.map +1 -0
  174. package/components/{p-bBkFZC8X.js → p-D99ntB9D.js} +4 -4
  175. package/components/{p-bBkFZC8X.js.map → p-D99ntB9D.js.map} +1 -1
  176. package/components/{p-BLcKiU45.js → p-DAWZ76L0.js} +4 -4
  177. package/components/{p-BLcKiU45.js.map → p-DAWZ76L0.js.map} +1 -1
  178. package/components/{p-Ba6JlSP8.js → p-DRlGkOeX.js} +5 -5
  179. package/components/{p-Ba6JlSP8.js.map → p-DRlGkOeX.js.map} +1 -1
  180. package/components/{p-DSF854K6.js → p-DZNnQyWO.js} +4 -3
  181. package/components/p-DZNnQyWO.js.map +1 -0
  182. package/components/{p-DLcItN6d.js → p-DmTyQW2E.js} +5 -5
  183. package/components/p-DmTyQW2E.js.map +1 -0
  184. package/components/{p-Bc15ecXv.js → p-DyW_A5Tq.js} +13 -13
  185. package/components/p-DyW_A5Tq.js.map +1 -0
  186. package/components/{p-4dm0FrTr.js → p-FnN74Elm.js} +4 -3
  187. package/components/p-FnN74Elm.js.map +1 -0
  188. package/components/{p-CfOUCcs9.js → p-GkRC08qs.js} +3 -3
  189. package/components/{p-CfOUCcs9.js.map → p-GkRC08qs.js.map} +1 -1
  190. package/components/p-fef9-zXA.js +56 -0
  191. package/components/{p-R9YNQy08.js.map → p-fef9-zXA.js.map} +1 -1
  192. package/components/{p-BNYHD56q.js → p-j4BMT-Rr.js} +25 -25
  193. package/components/p-j4BMT-Rr.js.map +1 -0
  194. package/components/{p-Fbu6eUjk.js → p-s3E9saxz.js} +5 -5
  195. package/components/{p-Fbu6eUjk.js.map → p-s3E9saxz.js.map} +1 -1
  196. package/components/p-taILGXkr.js.map +1 -1
  197. package/dist/cjs/find-element-D7yD1Ukn.js +106 -0
  198. package/dist/cjs/find-element-D7yD1Ukn.js.map +1 -0
  199. package/dist/cjs/{find-element-BNZJcvT8.js → floating-ui.dom-CMzYsRR7.js} +2 -103
  200. package/dist/cjs/floating-ui.dom-CMzYsRR7.js.map +1 -0
  201. package/dist/cjs/{index-BJkiBUu0.js → index-B7AMgiIZ.js} +3 -3
  202. package/dist/cjs/{index-BJkiBUu0.js.map → index-B7AMgiIZ.js.map} +1 -1
  203. package/dist/cjs/index-DuDLgBnw.js +8 -0
  204. package/dist/cjs/index-Dyz3z1FD.js.map +1 -1
  205. package/dist/cjs/index.cjs.js +3 -3
  206. package/dist/cjs/index.cjs.js.map +1 -1
  207. package/dist/cjs/ix-action-card.cjs.entry.js +1 -1
  208. package/dist/cjs/ix-action-card.entry.cjs.js.map +1 -1
  209. package/dist/cjs/ix-application-header.cjs.entry.js +3 -3
  210. package/dist/cjs/ix-application-switch-modal.cjs.entry.js +1 -1
  211. package/dist/cjs/ix-application.cjs.entry.js +2 -2
  212. package/dist/cjs/ix-avatar.ix-menu-avatar-item.entry.cjs.js.map +1 -1
  213. package/dist/cjs/ix-avatar_2.cjs.entry.js +1 -1
  214. package/dist/cjs/ix-basic-navigation.cjs.entry.js +1 -1
  215. package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +7 -7
  216. package/dist/cjs/ix-breadcrumb-item.entry.cjs.js.map +1 -1
  217. package/dist/cjs/ix-breadcrumb.cjs.entry.js +6 -6
  218. package/dist/cjs/ix-breadcrumb.entry.cjs.js.map +1 -1
  219. package/dist/cjs/ix-category-filter.cjs.entry.js +16 -8
  220. package/dist/cjs/ix-category-filter.entry.cjs.js.map +1 -1
  221. package/dist/cjs/ix-chip.cjs.entry.js +10 -9
  222. package/dist/cjs/ix-chip.entry.cjs.js.map +1 -1
  223. package/dist/cjs/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.cjs.js.map +1 -1
  224. package/dist/cjs/ix-col_4.cjs.entry.js +18 -18
  225. package/dist/cjs/ix-date-dropdown.cjs.entry.js +11 -11
  226. package/dist/cjs/ix-date-dropdown.entry.cjs.js.map +1 -1
  227. package/dist/cjs/ix-date-input.cjs.entry.js +4 -4
  228. package/dist/cjs/ix-date-input.entry.cjs.js.map +1 -1
  229. package/dist/cjs/ix-date-time-card.cjs.entry.js +8 -3
  230. package/dist/cjs/ix-date-time-card.entry.cjs.js.map +1 -1
  231. package/dist/cjs/ix-datetime-picker.cjs.entry.js +21 -3
  232. package/dist/cjs/ix-datetime-picker.entry.cjs.js.map +1 -1
  233. package/dist/cjs/ix-drawer.cjs.entry.js +5 -6
  234. package/dist/cjs/ix-drawer.entry.cjs.js.map +1 -1
  235. package/dist/cjs/ix-dropdown.cjs.entry.js +8 -7
  236. package/dist/cjs/ix-dropdown.entry.cjs.js.map +1 -1
  237. package/dist/cjs/ix-event-list.cjs.entry.js +4 -4
  238. package/dist/cjs/ix-event-list.entry.cjs.js.map +1 -1
  239. package/dist/cjs/ix-filter-chip.ix-select-item.entry.cjs.js.map +1 -1
  240. package/dist/cjs/ix-filter-chip_2.cjs.entry.js +1 -1
  241. package/dist/cjs/ix-group-context-menu.ix-group-item.entry.cjs.js.map +1 -1
  242. package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +5 -18
  243. package/dist/cjs/ix-group.cjs.entry.js +18 -18
  244. package/dist/cjs/ix-group.entry.cjs.js.map +1 -1
  245. package/dist/cjs/ix-helper-text.cjs.entry.js +1 -1
  246. package/dist/cjs/ix-icon-button.ix-spinner.entry.cjs.js.map +1 -1
  247. package/dist/cjs/ix-icon-button_2.cjs.entry.js +2 -2
  248. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +1 -1
  249. package/dist/cjs/ix-input-group.cjs.entry.js +130 -0
  250. package/dist/cjs/ix-input-group.entry.cjs.js.map +1 -0
  251. package/dist/cjs/ix-input.cjs.entry.js +5 -5
  252. package/dist/cjs/ix-input.entry.cjs.js.map +1 -1
  253. package/dist/cjs/ix-key-value-list.cjs.entry.js +1 -1
  254. package/dist/cjs/ix-key-value.cjs.entry.js +1 -1
  255. package/dist/cjs/ix-kpi.cjs.entry.js +3 -3
  256. package/dist/cjs/ix-layout-auto.cjs.entry.js +1 -1
  257. package/dist/cjs/ix-link-button.cjs.entry.js +3 -3
  258. package/dist/cjs/ix-map-navigation-overlay.cjs.entry.js +2 -2
  259. package/dist/cjs/ix-map-navigation.cjs.entry.js +2 -3
  260. package/dist/cjs/ix-map-navigation.entry.cjs.js.map +1 -1
  261. package/dist/cjs/ix-menu-about-item.cjs.entry.js +1 -1
  262. package/dist/cjs/ix-menu-about-news.cjs.entry.js +4 -4
  263. package/dist/cjs/ix-menu-avatar.cjs.entry.js +4 -4
  264. package/dist/cjs/ix-menu-avatar.entry.cjs.js.map +1 -1
  265. package/dist/cjs/ix-menu-category.cjs.entry.js +5 -5
  266. package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +1 -1
  267. package/dist/cjs/ix-menu-item.cjs.entry.js +4 -4
  268. package/dist/cjs/ix-menu-settings-item.cjs.entry.js +1 -1
  269. package/dist/cjs/ix-menu.cjs.entry.js +20 -16
  270. package/dist/cjs/ix-menu.entry.cjs.js.map +1 -1
  271. package/dist/cjs/ix-message-bar.cjs.entry.js +8 -5
  272. package/dist/cjs/ix-message-bar.entry.cjs.js.map +1 -1
  273. package/dist/cjs/ix-modal-content_2.cjs.entry.js +2 -2
  274. package/dist/cjs/ix-modal-footer.cjs.entry.js +1 -1
  275. package/dist/cjs/ix-modal-loading.cjs.entry.js +1 -1
  276. package/dist/cjs/ix-modal.cjs.entry.js +14 -14
  277. package/dist/cjs/ix-modal.entry.cjs.js.map +1 -1
  278. package/dist/cjs/ix-number-input.cjs.entry.js +6 -6
  279. package/dist/cjs/ix-pagination.cjs.entry.js +5 -5
  280. package/dist/cjs/ix-pagination.entry.cjs.js.map +1 -1
  281. package/dist/cjs/ix-pane-layout.cjs.entry.js +1 -1
  282. package/dist/cjs/ix-pane.cjs.entry.js +1 -1
  283. package/dist/cjs/ix-pill.cjs.entry.js +1 -1
  284. package/dist/cjs/ix-pill.entry.cjs.js.map +1 -1
  285. package/dist/cjs/ix-push-card.cjs.entry.js +3 -3
  286. package/dist/cjs/ix-push-card.entry.cjs.js.map +1 -1
  287. package/dist/cjs/ix-select.cjs.entry.js +8 -11
  288. package/dist/cjs/ix-select.entry.cjs.js.map +1 -1
  289. package/dist/cjs/ix-tab-item.ix-tabs.entry.cjs.js.map +1 -1
  290. package/dist/cjs/ix-tab-item_2.cjs.entry.js +1 -1
  291. package/dist/cjs/ix-textarea.cjs.entry.js +2 -2
  292. package/dist/cjs/ix-time-input.cjs.entry.js +9 -3
  293. package/dist/cjs/ix-time-input.entry.cjs.js.map +1 -1
  294. package/dist/cjs/ix-time-picker.cjs.entry.js +58 -10
  295. package/dist/cjs/ix-time-picker.entry.cjs.js.map +1 -1
  296. package/dist/cjs/ix-toast-container.cjs.entry.js +5 -5
  297. package/dist/cjs/ix-toast-container.entry.cjs.js.map +1 -1
  298. package/dist/cjs/ix-toast.cjs.entry.js +6 -5
  299. package/dist/cjs/ix-toast.entry.cjs.js.map +1 -1
  300. package/dist/cjs/ix-toggle.cjs.entry.js +4 -4
  301. package/dist/cjs/ix-toggle.entry.cjs.js.map +1 -1
  302. package/dist/cjs/ix-tooltip.cjs.entry.js +10 -9
  303. package/dist/cjs/ix-tooltip.entry.cjs.js.map +1 -1
  304. package/dist/cjs/ix-tree-item.cjs.entry.js +4 -4
  305. package/dist/cjs/ix-tree.cjs.entry.js +1 -1
  306. package/dist/cjs/ix-typography.cjs.entry.js +1 -1
  307. package/dist/cjs/ix-upload.cjs.entry.js +3 -3
  308. package/dist/cjs/ix-validation-tooltip.cjs.entry.js +155 -0
  309. package/dist/cjs/ix-validation-tooltip.entry.cjs.js.map +1 -0
  310. package/dist/cjs/ix-workflow-step.cjs.entry.js +5 -4
  311. package/dist/cjs/ix-workflow-step.entry.cjs.js.map +1 -1
  312. package/dist/cjs/ix-workflow-steps.cjs.entry.js +1 -1
  313. package/dist/cjs/loader.cjs.js +1 -1
  314. package/dist/cjs/{modal-BdSf3C6f.js → modal-CsEGB0kd.js} +4 -3
  315. package/dist/cjs/modal-CsEGB0kd.js.map +1 -0
  316. package/dist/cjs/{service-DuiJmf7R.js → service-FGbUpQQM.js} +4 -4
  317. package/dist/cjs/service-FGbUpQQM.js.map +1 -0
  318. package/dist/cjs/siemens-ix.cjs.js +1 -1
  319. package/dist/cjs/{theme-switcher-Do9dkNUv.js → theme-switcher-76Td30il.js} +25 -37
  320. package/dist/cjs/theme-switcher-76Td30il.js.map +1 -0
  321. package/dist/collection/collection-manifest.json +2 -0
  322. package/dist/collection/components/action-card/action-card.js +2 -2
  323. package/dist/collection/components/action-card/action-card.js.map +1 -1
  324. package/dist/collection/components/avatar/avatar.js +1 -1
  325. package/dist/collection/components/avatar/avatar.js.map +1 -1
  326. package/dist/collection/components/breadcrumb/breadcrumb.js +9 -9
  327. package/dist/collection/components/breadcrumb/breadcrumb.js.map +1 -1
  328. package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +16 -16
  329. package/dist/collection/components/breadcrumb-item/breadcrumb-item.js.map +1 -1
  330. package/dist/collection/components/category-filter/category-filter.js +43 -12
  331. package/dist/collection/components/category-filter/category-filter.js.map +1 -1
  332. package/dist/collection/components/chip/chip.css +1 -1
  333. package/dist/collection/components/chip/chip.js +13 -12
  334. package/dist/collection/components/chip/chip.js.map +1 -1
  335. package/dist/collection/components/date-dropdown/date-dropdown.js +19 -19
  336. package/dist/collection/components/date-dropdown/date-dropdown.js.map +1 -1
  337. package/dist/collection/components/date-input/date-input.js +5 -5
  338. package/dist/collection/components/date-input/date-input.js.map +1 -1
  339. package/dist/collection/components/date-picker/date-picker-component.js.map +1 -1
  340. package/dist/collection/components/date-picker/date-picker.js +31 -26
  341. package/dist/collection/components/date-picker/date-picker.js.map +1 -1
  342. package/dist/collection/components/date-time-card/date-time-card.js +30 -5
  343. package/dist/collection/components/date-time-card/date-time-card.js.map +1 -1
  344. package/dist/collection/components/datetime-picker/datetime-picker.js +94 -7
  345. package/dist/collection/components/datetime-picker/datetime-picker.js.map +1 -1
  346. package/dist/collection/components/drawer/drawer.js +5 -6
  347. package/dist/collection/components/drawer/drawer.js.map +1 -1
  348. package/dist/collection/components/event-list/event-list.js +6 -6
  349. package/dist/collection/components/event-list/event-list.js.map +1 -1
  350. package/dist/collection/components/filter-chip/filter-chip.css +1 -0
  351. package/dist/collection/components/group/group.css +0 -12
  352. package/dist/collection/components/group/group.js +23 -23
  353. package/dist/collection/components/group/group.js.map +1 -1
  354. package/dist/collection/components/group-item/group-item.css +6 -22
  355. package/dist/collection/components/group-item/group-item.js +8 -44
  356. package/dist/collection/components/group-item/group-item.js.map +1 -1
  357. package/dist/collection/components/helper-text/helper-text.js +1 -1
  358. package/dist/collection/components/icon-button/icon-button.js +2 -2
  359. package/dist/collection/components/icon-button/icon-button.js.map +1 -1
  360. package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +1 -1
  361. package/dist/collection/components/input/input.js +5 -5
  362. package/dist/collection/components/input/input.js.map +1 -1
  363. package/dist/collection/components/input/number-input.js +6 -6
  364. package/dist/collection/components/input/textarea.js +2 -2
  365. package/dist/collection/components/input-group/input-group.css +115 -0
  366. package/dist/collection/components/input-group/input-group.js +152 -0
  367. package/dist/collection/components/input-group/input-group.js.map +1 -0
  368. package/dist/collection/components/key-value/key-value.js +1 -1
  369. package/dist/collection/components/key-value-list/key-value-list.js +1 -1
  370. package/dist/collection/components/kpi/kpi.js +3 -3
  371. package/dist/collection/components/layout-auto/layout-auto.js +1 -1
  372. package/dist/collection/components/layout-grid/layout-grid.js +2 -2
  373. package/dist/collection/components/link-button/link-button.js +3 -3
  374. package/dist/collection/components/map-navigation/map-navigation.js +2 -3
  375. package/dist/collection/components/map-navigation/map-navigation.js.map +1 -1
  376. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +2 -2
  377. package/dist/collection/components/menu/menu-expand-icon.js +1 -1
  378. package/dist/collection/components/menu/menu.js +36 -12
  379. package/dist/collection/components/menu/menu.js.map +1 -1
  380. package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
  381. package/dist/collection/components/menu-about-news/menu-about-news.js +4 -4
  382. package/dist/collection/components/menu-avatar/menu-avatar.js +7 -7
  383. package/dist/collection/components/menu-avatar/menu-avatar.js.map +1 -1
  384. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
  385. package/dist/collection/components/menu-category/menu-category.js +5 -5
  386. package/dist/collection/components/menu-item/menu-item.js +4 -4
  387. package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
  388. package/dist/collection/components/message-bar/message-bar.js +18 -12
  389. package/dist/collection/components/message-bar/message-bar.js.map +1 -1
  390. package/dist/collection/components/modal/modal.css +1 -1
  391. package/dist/collection/components/modal/modal.js +29 -29
  392. package/dist/collection/components/modal/modal.js.map +1 -1
  393. package/dist/collection/components/modal-content/modal-content.js +1 -1
  394. package/dist/collection/components/modal-footer/modal-footer.js +1 -1
  395. package/dist/collection/components/modal-header/modal-header.js +1 -1
  396. package/dist/collection/components/modal-loading/modal-loading.js +1 -1
  397. package/dist/collection/components/pagination/pagination.js +9 -9
  398. package/dist/collection/components/pagination/pagination.js.map +1 -1
  399. package/dist/collection/components/pill/pill.css +1 -1
  400. package/dist/collection/components/push-card/push-card.js +7 -7
  401. package/dist/collection/components/push-card/push-card.js.map +1 -1
  402. package/dist/collection/components/select/select.js +8 -11
  403. package/dist/collection/components/select/select.js.map +1 -1
  404. package/dist/collection/components/spinner/spinner.css +5 -5
  405. package/dist/collection/components/tab-item/tab-item.css +1 -1
  406. package/dist/collection/components/time-input/time-input.js +32 -3
  407. package/dist/collection/components/time-input/time-input.js.map +1 -1
  408. package/dist/collection/components/time-picker/time-picker.js +199 -14
  409. package/dist/collection/components/time-picker/time-picker.js.map +1 -1
  410. package/dist/collection/components/toast/toast-container.js +5 -5
  411. package/dist/collection/components/toast/toast-container.js.map +1 -1
  412. package/dist/collection/components/toast/toast.js +9 -8
  413. package/dist/collection/components/toast/toast.js.map +1 -1
  414. package/dist/collection/components/toggle/toggle.css +227 -0
  415. package/dist/collection/components/toggle/toggle.js +3 -3
  416. package/dist/collection/components/tooltip/tooltip.js +1 -1
  417. package/dist/collection/components/tree/tree.js +1 -1
  418. package/dist/collection/components/tree-item/tree-item.js +4 -4
  419. package/dist/collection/components/typography/typography.js +1 -1
  420. package/dist/collection/components/upload/upload.js +3 -3
  421. package/dist/collection/components/utils/application-layout/service.js +2 -2
  422. package/dist/collection/components/utils/application-layout/service.js.map +1 -1
  423. package/dist/collection/components/utils/modal/loading.js +1 -1
  424. package/dist/collection/components/utils/modal/loading.js.map +1 -1
  425. package/dist/collection/components/utils/modal/message.js +2 -1
  426. package/dist/collection/components/utils/modal/message.js.map +1 -1
  427. package/dist/collection/components/utils/notification-color.js.map +1 -1
  428. package/dist/collection/components/utils/theme-switcher.js +23 -35
  429. package/dist/collection/components/utils/theme-switcher.js.map +1 -1
  430. package/dist/collection/components/validation-tooltip/validation-tooltip.css +225 -0
  431. package/dist/collection/components/validation-tooltip/validation-tooltip.js +250 -0
  432. package/dist/collection/components/validation-tooltip/validation-tooltip.js.map +1 -0
  433. package/dist/collection/components/workflow-step/workflow-step.js +5 -4
  434. package/dist/collection/components/workflow-step/workflow-step.js.map +1 -1
  435. package/dist/collection/components/workflow-steps/workflow-steps.js +1 -1
  436. package/dist/collection/tests/utils/test/page.js +2 -2
  437. package/dist/collection/tests/utils/test/page.js.map +1 -1
  438. package/dist/esm/find-element-CFRrPFxi.js +103 -0
  439. package/dist/esm/find-element-CFRrPFxi.js.map +1 -0
  440. package/dist/esm/{find-element-CiSM2A9Q.js → floating-ui.dom-CAqtPJ4-.js} +3 -102
  441. package/dist/esm/floating-ui.dom-CAqtPJ4-.js.map +1 -0
  442. package/dist/esm/{index-D4tQ_iTq.js → index--ZIr3Aqz.js} +3 -3
  443. package/dist/esm/{index-D4tQ_iTq.js.map → index--ZIr3Aqz.js.map} +1 -1
  444. package/dist/esm/index-Cz75KU1f.js.map +1 -1
  445. package/dist/esm/index-DGODjp4O.js +8 -0
  446. package/dist/esm/index.js +4 -4
  447. package/dist/esm/index.js.map +1 -1
  448. package/dist/esm/ix-action-card.entry.js +2 -2
  449. package/dist/esm/ix-action-card.entry.js.map +1 -1
  450. package/dist/esm/ix-application-header.entry.js +3 -3
  451. package/dist/esm/ix-application-switch-modal.entry.js +1 -1
  452. package/dist/esm/ix-application.entry.js +2 -2
  453. package/dist/esm/ix-avatar.ix-menu-avatar-item.entry.js.map +1 -1
  454. package/dist/esm/ix-avatar_2.entry.js +1 -1
  455. package/dist/esm/ix-basic-navigation.entry.js +1 -1
  456. package/dist/esm/ix-breadcrumb-item.entry.js +7 -7
  457. package/dist/esm/ix-breadcrumb-item.entry.js.map +1 -1
  458. package/dist/esm/ix-breadcrumb.entry.js +6 -6
  459. package/dist/esm/ix-breadcrumb.entry.js.map +1 -1
  460. package/dist/esm/ix-category-filter.entry.js +16 -8
  461. package/dist/esm/ix-category-filter.entry.js.map +1 -1
  462. package/dist/esm/ix-chip.entry.js +10 -9
  463. package/dist/esm/ix-chip.entry.js.map +1 -1
  464. package/dist/esm/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.js.map +1 -1
  465. package/dist/esm/ix-col_4.entry.js +18 -18
  466. package/dist/esm/ix-date-dropdown.entry.js +11 -11
  467. package/dist/esm/ix-date-dropdown.entry.js.map +1 -1
  468. package/dist/esm/ix-date-input.entry.js +4 -4
  469. package/dist/esm/ix-date-input.entry.js.map +1 -1
  470. package/dist/esm/ix-date-time-card.entry.js +8 -3
  471. package/dist/esm/ix-date-time-card.entry.js.map +1 -1
  472. package/dist/esm/ix-datetime-picker.entry.js +21 -3
  473. package/dist/esm/ix-datetime-picker.entry.js.map +1 -1
  474. package/dist/esm/ix-drawer.entry.js +5 -6
  475. package/dist/esm/ix-drawer.entry.js.map +1 -1
  476. package/dist/esm/ix-dropdown.entry.js +2 -1
  477. package/dist/esm/ix-dropdown.entry.js.map +1 -1
  478. package/dist/esm/ix-event-list.entry.js +4 -4
  479. package/dist/esm/ix-event-list.entry.js.map +1 -1
  480. package/dist/esm/ix-filter-chip.ix-select-item.entry.js.map +1 -1
  481. package/dist/esm/ix-filter-chip_2.entry.js +1 -1
  482. package/dist/esm/ix-group-context-menu.ix-group-item.entry.js.map +1 -1
  483. package/dist/esm/ix-group-context-menu_2.entry.js +5 -18
  484. package/dist/esm/ix-group.entry.js +19 -19
  485. package/dist/esm/ix-group.entry.js.map +1 -1
  486. package/dist/esm/ix-helper-text.entry.js +1 -1
  487. package/dist/esm/ix-icon-button.ix-spinner.entry.js.map +1 -1
  488. package/dist/esm/ix-icon-button_2.entry.js +2 -2
  489. package/dist/esm/ix-icon-toggle-button.entry.js +1 -1
  490. package/dist/esm/ix-input-group.entry.js +128 -0
  491. package/dist/esm/ix-input-group.entry.js.map +1 -0
  492. package/dist/esm/ix-input.entry.js +5 -5
  493. package/dist/esm/ix-input.entry.js.map +1 -1
  494. package/dist/esm/ix-key-value-list.entry.js +1 -1
  495. package/dist/esm/ix-key-value.entry.js +1 -1
  496. package/dist/esm/ix-kpi.entry.js +3 -3
  497. package/dist/esm/ix-layout-auto.entry.js +1 -1
  498. package/dist/esm/ix-link-button.entry.js +3 -3
  499. package/dist/esm/ix-map-navigation-overlay.entry.js +2 -2
  500. package/dist/esm/ix-map-navigation.entry.js +2 -3
  501. package/dist/esm/ix-map-navigation.entry.js.map +1 -1
  502. package/dist/esm/ix-menu-about-item.entry.js +1 -1
  503. package/dist/esm/ix-menu-about-news.entry.js +4 -4
  504. package/dist/esm/ix-menu-avatar.entry.js +4 -4
  505. package/dist/esm/ix-menu-avatar.entry.js.map +1 -1
  506. package/dist/esm/ix-menu-category.entry.js +5 -5
  507. package/dist/esm/ix-menu-expand-icon.entry.js +1 -1
  508. package/dist/esm/ix-menu-item.entry.js +4 -4
  509. package/dist/esm/ix-menu-settings-item.entry.js +1 -1
  510. package/dist/esm/ix-menu.entry.js +20 -16
  511. package/dist/esm/ix-menu.entry.js.map +1 -1
  512. package/dist/esm/ix-message-bar.entry.js +8 -5
  513. package/dist/esm/ix-message-bar.entry.js.map +1 -1
  514. package/dist/esm/ix-modal-content_2.entry.js +2 -2
  515. package/dist/esm/ix-modal-footer.entry.js +1 -1
  516. package/dist/esm/ix-modal-loading.entry.js +1 -1
  517. package/dist/esm/ix-modal.entry.js +14 -14
  518. package/dist/esm/ix-modal.entry.js.map +1 -1
  519. package/dist/esm/ix-number-input.entry.js +6 -6
  520. package/dist/esm/ix-pagination.entry.js +5 -5
  521. package/dist/esm/ix-pagination.entry.js.map +1 -1
  522. package/dist/esm/ix-pane-layout.entry.js +1 -1
  523. package/dist/esm/ix-pane.entry.js +1 -1
  524. package/dist/esm/ix-pill.entry.js +1 -1
  525. package/dist/esm/ix-pill.entry.js.map +1 -1
  526. package/dist/esm/ix-push-card.entry.js +3 -3
  527. package/dist/esm/ix-push-card.entry.js.map +1 -1
  528. package/dist/esm/ix-select.entry.js +8 -11
  529. package/dist/esm/ix-select.entry.js.map +1 -1
  530. package/dist/esm/ix-tab-item.ix-tabs.entry.js.map +1 -1
  531. package/dist/esm/ix-tab-item_2.entry.js +1 -1
  532. package/dist/esm/ix-textarea.entry.js +2 -2
  533. package/dist/esm/ix-time-input.entry.js +9 -3
  534. package/dist/esm/ix-time-input.entry.js.map +1 -1
  535. package/dist/esm/ix-time-picker.entry.js +58 -10
  536. package/dist/esm/ix-time-picker.entry.js.map +1 -1
  537. package/dist/esm/ix-toast-container.entry.js +5 -5
  538. package/dist/esm/ix-toast-container.entry.js.map +1 -1
  539. package/dist/esm/ix-toast.entry.js +6 -5
  540. package/dist/esm/ix-toast.entry.js.map +1 -1
  541. package/dist/esm/ix-toggle.entry.js +4 -4
  542. package/dist/esm/ix-toggle.entry.js.map +1 -1
  543. package/dist/esm/ix-tooltip.entry.js +3 -2
  544. package/dist/esm/ix-tooltip.entry.js.map +1 -1
  545. package/dist/esm/ix-tree-item.entry.js +4 -4
  546. package/dist/esm/ix-tree.entry.js +1 -1
  547. package/dist/esm/ix-typography.entry.js +1 -1
  548. package/dist/esm/ix-upload.entry.js +3 -3
  549. package/dist/esm/ix-validation-tooltip.entry.js +153 -0
  550. package/dist/esm/ix-validation-tooltip.entry.js.map +1 -0
  551. package/dist/esm/ix-workflow-step.entry.js +5 -4
  552. package/dist/esm/ix-workflow-step.entry.js.map +1 -1
  553. package/dist/esm/ix-workflow-steps.entry.js +1 -1
  554. package/dist/esm/loader.js +1 -1
  555. package/dist/esm/{modal-BQcyFJfE.js → modal-D9BaTrTa.js} +4 -3
  556. package/dist/esm/modal-D9BaTrTa.js.map +1 -0
  557. package/dist/esm/{service-Da0kv8hS.js → service-ktcE7NzB.js} +4 -4
  558. package/dist/esm/service-ktcE7NzB.js.map +1 -0
  559. package/dist/esm/siemens-ix.js +1 -1
  560. package/dist/esm/{theme-switcher-Bg6wsOIn.js → theme-switcher-DRqJGlG2.js} +25 -37
  561. package/dist/esm/theme-switcher-DRqJGlG2.js.map +1 -0
  562. package/dist/siemens-ix/index.esm.js +1 -1
  563. package/dist/siemens-ix/index.esm.js.map +1 -1
  564. package/dist/siemens-ix/ix-action-card.entry.esm.js.map +1 -1
  565. package/dist/siemens-ix/ix-avatar.ix-menu-avatar-item.entry.esm.js.map +1 -1
  566. package/dist/siemens-ix/ix-breadcrumb-item.entry.esm.js.map +1 -1
  567. package/dist/siemens-ix/ix-breadcrumb.entry.esm.js.map +1 -1
  568. package/dist/siemens-ix/ix-category-filter.entry.esm.js.map +1 -1
  569. package/dist/siemens-ix/ix-chip.entry.esm.js.map +1 -1
  570. package/dist/siemens-ix/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.esm.js.map +1 -1
  571. package/dist/siemens-ix/ix-date-dropdown.entry.esm.js.map +1 -1
  572. package/dist/siemens-ix/ix-date-input.entry.esm.js.map +1 -1
  573. package/dist/siemens-ix/ix-date-time-card.entry.esm.js.map +1 -1
  574. package/dist/siemens-ix/ix-datetime-picker.entry.esm.js.map +1 -1
  575. package/dist/siemens-ix/ix-drawer.entry.esm.js.map +1 -1
  576. package/dist/siemens-ix/ix-dropdown.entry.esm.js.map +1 -1
  577. package/dist/siemens-ix/ix-event-list.entry.esm.js.map +1 -1
  578. package/dist/siemens-ix/ix-filter-chip.ix-select-item.entry.esm.js.map +1 -1
  579. package/dist/siemens-ix/ix-group-context-menu.ix-group-item.entry.esm.js.map +1 -1
  580. package/dist/siemens-ix/ix-group.entry.esm.js.map +1 -1
  581. package/dist/siemens-ix/ix-icon-button.ix-spinner.entry.esm.js.map +1 -1
  582. package/dist/siemens-ix/ix-input-group.entry.esm.js.map +1 -0
  583. package/dist/siemens-ix/ix-input.entry.esm.js.map +1 -1
  584. package/dist/siemens-ix/ix-map-navigation.entry.esm.js.map +1 -1
  585. package/dist/siemens-ix/ix-menu-avatar.entry.esm.js.map +1 -1
  586. package/dist/siemens-ix/ix-menu.entry.esm.js.map +1 -1
  587. package/dist/siemens-ix/ix-message-bar.entry.esm.js.map +1 -1
  588. package/dist/siemens-ix/ix-modal.entry.esm.js.map +1 -1
  589. package/dist/siemens-ix/ix-pagination.entry.esm.js.map +1 -1
  590. package/dist/siemens-ix/ix-pill.entry.esm.js.map +1 -1
  591. package/dist/siemens-ix/ix-push-card.entry.esm.js.map +1 -1
  592. package/dist/siemens-ix/ix-select.entry.esm.js.map +1 -1
  593. package/dist/siemens-ix/ix-tab-item.ix-tabs.entry.esm.js.map +1 -1
  594. package/dist/siemens-ix/ix-time-input.entry.esm.js.map +1 -1
  595. package/dist/siemens-ix/ix-time-picker.entry.esm.js.map +1 -1
  596. package/dist/siemens-ix/ix-toast-container.entry.esm.js.map +1 -1
  597. package/dist/siemens-ix/ix-toast.entry.esm.js.map +1 -1
  598. package/dist/siemens-ix/ix-toggle.entry.esm.js.map +1 -1
  599. package/dist/siemens-ix/ix-tooltip.entry.esm.js.map +1 -1
  600. package/dist/siemens-ix/ix-validation-tooltip.entry.esm.js.map +1 -0
  601. package/dist/siemens-ix/ix-workflow-step.entry.esm.js.map +1 -1
  602. package/dist/siemens-ix/{p-639d0d7f.entry.js → p-02621eb8.entry.js} +2 -2
  603. package/dist/siemens-ix/p-02621eb8.entry.js.map +1 -0
  604. package/dist/siemens-ix/{p-bf2374a0.entry.js → p-0469aec7.entry.js} +2 -2
  605. package/dist/siemens-ix/{p-800f59a7.entry.js → p-09cce59e.entry.js} +2 -2
  606. package/dist/siemens-ix/p-09cce59e.entry.js.map +1 -0
  607. package/dist/siemens-ix/{p-f14790b4.entry.js → p-14fca48a.entry.js} +2 -2
  608. package/dist/siemens-ix/{p-111687a2.entry.js → p-19c2cb50.entry.js} +2 -2
  609. package/dist/siemens-ix/{p-111687a2.entry.js.map → p-19c2cb50.entry.js.map} +1 -1
  610. package/dist/siemens-ix/{p-c31b2027.entry.js → p-1ca58d8b.entry.js} +2 -2
  611. package/dist/siemens-ix/p-1d0ae43f.entry.js +2 -0
  612. package/dist/siemens-ix/p-1d0ae43f.entry.js.map +1 -0
  613. package/dist/siemens-ix/p-1fa5a3e4.entry.js +2 -0
  614. package/dist/siemens-ix/p-1fa5a3e4.entry.js.map +1 -0
  615. package/dist/siemens-ix/{p-1ac88556.entry.js → p-223c9d79.entry.js} +2 -2
  616. package/dist/siemens-ix/{p-1ac88556.entry.js.map → p-223c9d79.entry.js.map} +1 -1
  617. package/dist/siemens-ix/p-27f1d6c9.entry.js +2 -0
  618. package/dist/siemens-ix/p-27f1d6c9.entry.js.map +1 -0
  619. package/dist/siemens-ix/p-2d01c802.entry.js +2 -0
  620. package/dist/siemens-ix/p-2d01c802.entry.js.map +1 -0
  621. package/dist/siemens-ix/p-2d3f7bb5.entry.js +2 -0
  622. package/dist/siemens-ix/p-2d3f7bb5.entry.js.map +1 -0
  623. package/dist/siemens-ix/p-2d9b7dbd.entry.js +2 -0
  624. package/dist/siemens-ix/p-2d9b7dbd.entry.js.map +1 -0
  625. package/dist/siemens-ix/p-30545ef9.entry.js +2 -0
  626. package/dist/siemens-ix/{p-13fb0104.entry.js → p-3522b3af.entry.js} +2 -2
  627. package/dist/siemens-ix/{p-13fb0104.entry.js.map → p-3522b3af.entry.js.map} +1 -1
  628. package/dist/siemens-ix/{p-6645d4ee.entry.js → p-404dffde.entry.js} +2 -2
  629. package/dist/siemens-ix/{p-3f06687e.entry.js → p-42a70164.entry.js} +2 -2
  630. package/dist/siemens-ix/p-42a70164.entry.js.map +1 -0
  631. package/dist/siemens-ix/{p-2041357d.entry.js → p-48b0fef4.entry.js} +2 -2
  632. package/dist/siemens-ix/{p-ae2e5e0c.entry.js → p-4b88c430.entry.js} +2 -2
  633. package/dist/siemens-ix/{p-ae2e5e0c.entry.js.map → p-4b88c430.entry.js.map} +1 -1
  634. package/dist/siemens-ix/{p-91fa3ab0.entry.js → p-5140e6e6.entry.js} +2 -2
  635. package/dist/siemens-ix/{p-28fe8512.entry.js → p-52dc3ba0.entry.js} +2 -2
  636. package/dist/siemens-ix/{p-fbd0973d.entry.js → p-53e82da9.entry.js} +2 -2
  637. package/dist/siemens-ix/p-53e82da9.entry.js.map +1 -0
  638. package/dist/siemens-ix/p-53e9e280.entry.js +2 -0
  639. package/dist/siemens-ix/p-53e9e280.entry.js.map +1 -0
  640. package/dist/siemens-ix/p-5bed04ac.entry.js +2 -0
  641. package/dist/siemens-ix/p-5bed04ac.entry.js.map +1 -0
  642. package/dist/siemens-ix/{p-c248940f.entry.js → p-5c109476.entry.js} +2 -2
  643. package/dist/siemens-ix/p-5f72640f.entry.js +2 -0
  644. package/dist/siemens-ix/p-5f72640f.entry.js.map +1 -0
  645. package/dist/siemens-ix/{p-e3a219e3.entry.js → p-6a39d630.entry.js} +2 -2
  646. package/dist/siemens-ix/p-6c873cc5.entry.js +2 -0
  647. package/dist/siemens-ix/p-6d8e725c.entry.js +2 -0
  648. package/dist/siemens-ix/p-6d8e725c.entry.js.map +1 -0
  649. package/dist/siemens-ix/{p-e201fa04.entry.js → p-71550396.entry.js} +2 -2
  650. package/dist/siemens-ix/{p-e201fa04.entry.js.map → p-71550396.entry.js.map} +1 -1
  651. package/dist/siemens-ix/{p-32203c19.entry.js → p-71e94914.entry.js} +2 -2
  652. package/dist/siemens-ix/p-71e94914.entry.js.map +1 -0
  653. package/dist/siemens-ix/p-740420eb.entry.js +2 -0
  654. package/dist/siemens-ix/p-740420eb.entry.js.map +1 -0
  655. package/dist/siemens-ix/{p-c6ecc2e3.entry.js → p-746b04cb.entry.js} +2 -2
  656. package/dist/siemens-ix/p-78ddd5f5.entry.js +2 -0
  657. package/dist/siemens-ix/p-78ddd5f5.entry.js.map +1 -0
  658. package/dist/siemens-ix/{p-75edf091.entry.js → p-7989235e.entry.js} +2 -2
  659. package/dist/siemens-ix/p-7989235e.entry.js.map +1 -0
  660. package/dist/siemens-ix/{p-9dbfd7cd.entry.js → p-7a108b0d.entry.js} +2 -2
  661. package/dist/siemens-ix/{p-1cd4280f.entry.js → p-7d95ae34.entry.js} +2 -2
  662. package/dist/siemens-ix/{p-75f4bbb1.entry.js → p-81c8d542.entry.js} +2 -2
  663. package/dist/siemens-ix/{p-d7c7d38b.entry.js → p-8dcc6456.entry.js} +2 -2
  664. package/dist/siemens-ix/{p-d1254b5b.entry.js → p-8e48a7a1.entry.js} +2 -2
  665. package/dist/siemens-ix/{p-c413e3c4.entry.js → p-8eee6a03.entry.js} +2 -2
  666. package/dist/siemens-ix/p-90089ce1.entry.js +2 -0
  667. package/dist/siemens-ix/{p-0ba7d263.entry.js → p-90bd8d7b.entry.js} +2 -2
  668. package/dist/siemens-ix/{p-1bd1380b.entry.js → p-95d4d849.entry.js} +2 -2
  669. package/dist/siemens-ix/{p-a7cb47ca.entry.js → p-9638c57b.entry.js} +2 -2
  670. package/dist/siemens-ix/p-9638c57b.entry.js.map +1 -0
  671. package/dist/siemens-ix/p-96a20067.entry.js +2 -0
  672. package/dist/siemens-ix/{p-2355f27d.entry.js.map → p-96a20067.entry.js.map} +1 -1
  673. package/dist/siemens-ix/{p-38f9b6e2.entry.js → p-99ad8022.entry.js} +2 -2
  674. package/dist/siemens-ix/p-99ad8022.entry.js.map +1 -0
  675. package/dist/siemens-ix/p-9bd4c682.entry.js +2 -0
  676. package/dist/siemens-ix/{p-b895b3db.entry.js → p-9d7a2428.entry.js} +2 -2
  677. package/dist/siemens-ix/p-9d7a2428.entry.js.map +1 -0
  678. package/dist/siemens-ix/p-CAqtPJ4-.js +2 -0
  679. package/dist/siemens-ix/p-CAqtPJ4-.js.map +1 -0
  680. package/dist/siemens-ix/p-CFRrPFxi.js +2 -0
  681. package/dist/siemens-ix/p-CFRrPFxi.js.map +1 -0
  682. package/dist/siemens-ix/p-CpVbQsUI.js +2 -0
  683. package/dist/siemens-ix/p-CpVbQsUI.js.map +1 -0
  684. package/dist/siemens-ix/p-CsHYWHE6.js +2 -0
  685. package/dist/siemens-ix/p-CsHYWHE6.js.map +1 -0
  686. package/dist/siemens-ix/p-Cz75KU1f.js.map +1 -1
  687. package/dist/siemens-ix/{p-gkooEHol.js → p-CzzcLSmV.js} +2 -2
  688. package/dist/siemens-ix/p-CzzcLSmV.js.map +1 -0
  689. package/dist/siemens-ix/{p-CNToWy_R.js → p-DRnSC9aV.js} +2 -2
  690. package/dist/siemens-ix/{p-CNToWy_R.js.map → p-DRnSC9aV.js.map} +1 -1
  691. package/dist/siemens-ix/p-a25ebeb2.entry.js +2 -0
  692. package/dist/siemens-ix/{p-f55c3bed.entry.js.map → p-a25ebeb2.entry.js.map} +1 -1
  693. package/dist/siemens-ix/p-b11b63ca.entry.js +2 -0
  694. package/dist/siemens-ix/p-b11b63ca.entry.js.map +1 -0
  695. package/dist/siemens-ix/p-b59285eb.entry.js +2 -0
  696. package/dist/siemens-ix/{p-d9766334.entry.js.map → p-b59285eb.entry.js.map} +1 -1
  697. package/dist/siemens-ix/{p-c949686e.entry.js → p-b6d9c16c.entry.js} +2 -2
  698. package/dist/siemens-ix/{p-c949686e.entry.js.map → p-b6d9c16c.entry.js.map} +1 -1
  699. package/dist/siemens-ix/{p-d0213ff0.entry.js → p-b6dad40c.entry.js} +2 -2
  700. package/dist/siemens-ix/{p-331f1b60.entry.js → p-bb28a2d6.entry.js} +2 -2
  701. package/dist/siemens-ix/{p-e55cd52b.entry.js → p-bd369344.entry.js} +2 -2
  702. package/dist/siemens-ix/{p-db02f4c2.entry.js → p-c446ffdb.entry.js} +2 -2
  703. package/dist/siemens-ix/{p-96533ffc.entry.js → p-c8cf26c5.entry.js} +2 -2
  704. package/dist/siemens-ix/p-c8cf26c5.entry.js.map +1 -0
  705. package/dist/siemens-ix/{p-bb878ea4.entry.js → p-cd11dfa8.entry.js} +2 -2
  706. package/dist/siemens-ix/p-d0d972c2.entry.js +2 -0
  707. package/dist/siemens-ix/{p-5f7943f2.entry.js.map → p-d0d972c2.entry.js.map} +1 -1
  708. package/dist/siemens-ix/{p-a67bc456.entry.js → p-dc5b5c0c.entry.js} +2 -2
  709. package/dist/siemens-ix/p-ddaf98b6.entry.js +2 -0
  710. package/dist/siemens-ix/p-ddaf98b6.entry.js.map +1 -0
  711. package/dist/siemens-ix/{p-7060645f.entry.js → p-eba51393.entry.js} +2 -2
  712. package/dist/siemens-ix/p-ec8f67b0.entry.js +2 -0
  713. package/dist/siemens-ix/p-ec8f67b0.entry.js.map +1 -0
  714. package/dist/siemens-ix/{p-d585e581.entry.js → p-f112fabd.entry.js} +2 -2
  715. package/dist/siemens-ix/{p-d585e581.entry.js.map → p-f112fabd.entry.js.map} +1 -1
  716. package/dist/siemens-ix/{p-9272ae83.entry.js → p-f29eaee8.entry.js} +2 -2
  717. package/dist/siemens-ix/p-f55eef69.entry.js +2 -0
  718. package/dist/siemens-ix/p-f55eef69.entry.js.map +1 -0
  719. package/dist/siemens-ix/{p-9b88a932.entry.js → p-f6d678a6.entry.js} +2 -2
  720. package/dist/siemens-ix/siemens-ix-core.css +1 -1
  721. package/dist/siemens-ix/siemens-ix.css +2312 -2248
  722. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  723. package/dist/siemens-ix/theme/classic-dark.css +1 -1
  724. package/dist/siemens-ix/theme/classic-light.css +1 -1
  725. package/dist/types/components/avatar/avatar.d.ts +1 -1
  726. package/dist/types/components/breadcrumb/breadcrumb.d.ts +1 -1
  727. package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +3 -3
  728. package/dist/types/components/category-filter/category-filter.d.ts +9 -3
  729. package/dist/types/components/chip/chip.d.ts +2 -2
  730. package/dist/types/components/date-dropdown/date-dropdown.d.ts +6 -6
  731. package/dist/types/components/date-input/date-input.d.ts +4 -0
  732. package/dist/types/components/date-picker/date-picker-component.d.ts +1 -1
  733. package/dist/types/components/date-picker/date-picker.d.ts +5 -7
  734. package/dist/types/components/date-time-card/date-time-card.d.ts +5 -1
  735. package/dist/types/components/datetime-picker/datetime-picker.d.ts +20 -2
  736. package/dist/types/components/event-list/event-list.d.ts +1 -1
  737. package/dist/types/components/group/group.d.ts +4 -4
  738. package/dist/types/components/group-item/group-item.d.ts +2 -9
  739. package/dist/types/components/icon-button/icon-button.d.ts +1 -1
  740. package/dist/types/components/input-group/input-group.d.ts +24 -0
  741. package/dist/types/components/menu/menu.d.ts +4 -0
  742. package/dist/types/components/menu-avatar/menu-avatar.d.ts +1 -1
  743. package/dist/types/components/message-bar/message-bar.d.ts +4 -3
  744. package/dist/types/components/modal/modal.d.ts +9 -9
  745. package/dist/types/components/pagination/pagination.d.ts +2 -2
  746. package/dist/types/components/push-card/push-card.d.ts +2 -2
  747. package/dist/types/components/time-input/time-input.d.ts +6 -0
  748. package/dist/types/components/time-picker/time-picker.d.ts +40 -2
  749. package/dist/types/components/toast/toast.d.ts +1 -1
  750. package/dist/types/components/utils/notification-color.d.ts +1 -1
  751. package/dist/types/components/utils/theme-switcher.d.ts +4 -11
  752. package/dist/types/components/validation-tooltip/validation-tooltip.d.ts +45 -0
  753. package/dist/types/components.d.ts +421 -197
  754. package/hydrate/index.js +715 -329
  755. package/hydrate/index.mjs +715 -329
  756. package/package.json +3 -3
  757. package/scss/_core.scss +1 -0
  758. package/scss/components/_input-group.scss +32 -0
  759. package/scss/theme/classic/dark/_variables.scss +185 -185
  760. package/scss/theme/classic/light/_variables.scss +185 -185
  761. package/scss/theme/core/_common.scss +123 -123
  762. package/scss/theme/core/components/action-card.scss +65 -65
  763. package/scss/theme/core/components/app-header.scss +3 -3
  764. package/scss/theme/core/components/avatar.scss +5 -5
  765. package/scss/theme/core/components/blind.scss +16 -16
  766. package/scss/theme/core/components/button.scss +124 -124
  767. package/scss/theme/core/components/card.scss +61 -61
  768. package/scss/theme/core/components/checkbox.scss +61 -61
  769. package/scss/theme/core/components/chip.scss +21 -21
  770. package/scss/theme/core/components/datepicker.scss +54 -54
  771. package/scss/theme/core/components/event-list.scss +14 -14
  772. package/scss/theme/core/components/flip.scss +23 -23
  773. package/scss/theme/core/components/ghost.scss +1 -1
  774. package/scss/theme/core/components/group.scss +16 -16
  775. package/scss/theme/core/components/input-helper.scss +2 -2
  776. package/scss/theme/core/components/input.scss +28 -28
  777. package/scss/theme/core/components/kpi.scss +5 -5
  778. package/scss/theme/core/components/label.scss +2 -2
  779. package/scss/theme/core/components/link.scss +6 -6
  780. package/scss/theme/core/components/map-navigation.scss +2 -2
  781. package/scss/theme/core/components/menu.scss +19 -19
  782. package/scss/theme/core/components/message-bar.scss +3 -3
  783. package/scss/theme/core/components/modal-dialog.scss +1 -1
  784. package/scss/theme/core/components/navigation.scss +11 -11
  785. package/scss/theme/core/components/pagination.scss +6 -6
  786. package/scss/theme/core/components/pane.scss +5 -5
  787. package/scss/theme/core/components/pill.scss +1 -1
  788. package/scss/theme/core/components/progress-indicator.scss +22 -22
  789. package/scss/theme/core/components/push-card.scss +124 -124
  790. package/scss/theme/core/components/radiobutton.scss +44 -44
  791. package/scss/theme/core/components/scrollbar.scss +3 -3
  792. package/scss/theme/core/components/select-list.scss +11 -11
  793. package/scss/theme/core/components/slider.scss +12 -12
  794. package/scss/theme/core/components/switch.scss +145 -109
  795. package/scss/theme/core/components/tab.scss +33 -33
  796. package/scss/theme/core/components/table.scss +30 -30
  797. package/scss/theme/core/components/tile.scss +1 -1
  798. package/scss/theme/core/components/toast.scss +5 -5
  799. package/scss/theme/core/components/tooltip.scss +2 -2
  800. package/scss/theme/core/components/tree.scss +7 -7
  801. package/scss/theme/core/components/upload.scss +4 -4
  802. package/scss/theme/core/components/workflow.scss +7 -7
  803. package/components/p-4dm0FrTr.js.map +0 -1
  804. package/components/p-7-Wnr7e5.js.map +0 -1
  805. package/components/p-BNYHD56q.js.map +0 -1
  806. package/components/p-Bc15ecXv.js.map +0 -1
  807. package/components/p-BmLRwuMH.js.map +0 -1
  808. package/components/p-BruPthTZ.js.map +0 -1
  809. package/components/p-C9yPT68I.js.map +0 -1
  810. package/components/p-COHP8TmU.js.map +0 -1
  811. package/components/p-CiSM2A9Q.js.map +0 -1
  812. package/components/p-Cx5H0GeI.js.map +0 -1
  813. package/components/p-DE74-VWH.js.map +0 -1
  814. package/components/p-DLcItN6d.js.map +0 -1
  815. package/components/p-DSF854K6.js.map +0 -1
  816. package/components/p-DVPJHakC.js +0 -78
  817. package/components/p-DVPJHakC.js.map +0 -1
  818. package/components/p-R9YNQy08.js +0 -56
  819. package/components/p-gkooEHol.js.map +0 -1
  820. package/dist/cjs/find-element-BNZJcvT8.js.map +0 -1
  821. package/dist/cjs/modal-BdSf3C6f.js.map +0 -1
  822. package/dist/cjs/service-DuiJmf7R.js.map +0 -1
  823. package/dist/cjs/theme-switcher-Do9dkNUv.js.map +0 -1
  824. package/dist/esm/find-element-CiSM2A9Q.js.map +0 -1
  825. package/dist/esm/modal-BQcyFJfE.js.map +0 -1
  826. package/dist/esm/service-Da0kv8hS.js.map +0 -1
  827. package/dist/esm/theme-switcher-Bg6wsOIn.js.map +0 -1
  828. package/dist/siemens-ix/p-21106fcd.entry.js +0 -2
  829. package/dist/siemens-ix/p-21106fcd.entry.js.map +0 -1
  830. package/dist/siemens-ix/p-2355f27d.entry.js +0 -2
  831. package/dist/siemens-ix/p-2b046df5.entry.js +0 -2
  832. package/dist/siemens-ix/p-2b046df5.entry.js.map +0 -1
  833. package/dist/siemens-ix/p-32200cc4.entry.js +0 -2
  834. package/dist/siemens-ix/p-32200cc4.entry.js.map +0 -1
  835. package/dist/siemens-ix/p-32203c19.entry.js.map +0 -1
  836. package/dist/siemens-ix/p-38f9b6e2.entry.js.map +0 -1
  837. package/dist/siemens-ix/p-3f06687e.entry.js.map +0 -1
  838. package/dist/siemens-ix/p-566a58f4.entry.js +0 -2
  839. package/dist/siemens-ix/p-566a58f4.entry.js.map +0 -1
  840. package/dist/siemens-ix/p-5d48f9cb.entry.js +0 -2
  841. package/dist/siemens-ix/p-5d48f9cb.entry.js.map +0 -1
  842. package/dist/siemens-ix/p-5f7943f2.entry.js +0 -2
  843. package/dist/siemens-ix/p-639d0d7f.entry.js.map +0 -1
  844. package/dist/siemens-ix/p-670d5b84.entry.js +0 -2
  845. package/dist/siemens-ix/p-670d5b84.entry.js.map +0 -1
  846. package/dist/siemens-ix/p-71a38f35.entry.js +0 -2
  847. package/dist/siemens-ix/p-75edf091.entry.js.map +0 -1
  848. package/dist/siemens-ix/p-78797f4b.entry.js +0 -2
  849. package/dist/siemens-ix/p-78797f4b.entry.js.map +0 -1
  850. package/dist/siemens-ix/p-800f59a7.entry.js.map +0 -1
  851. package/dist/siemens-ix/p-86ac2254.entry.js +0 -2
  852. package/dist/siemens-ix/p-86ac2254.entry.js.map +0 -1
  853. package/dist/siemens-ix/p-8bd3f89a.entry.js +0 -2
  854. package/dist/siemens-ix/p-8bd3f89a.entry.js.map +0 -1
  855. package/dist/siemens-ix/p-96533ffc.entry.js.map +0 -1
  856. package/dist/siemens-ix/p-98ab64dc.entry.js +0 -2
  857. package/dist/siemens-ix/p-98ab64dc.entry.js.map +0 -1
  858. package/dist/siemens-ix/p-9a8188a7.entry.js +0 -2
  859. package/dist/siemens-ix/p-9a8188a7.entry.js.map +0 -1
  860. package/dist/siemens-ix/p-C9yPT68I.js +0 -2
  861. package/dist/siemens-ix/p-C9yPT68I.js.map +0 -1
  862. package/dist/siemens-ix/p-CiSM2A9Q.js +0 -2
  863. package/dist/siemens-ix/p-CiSM2A9Q.js.map +0 -1
  864. package/dist/siemens-ix/p-DxCNpXRB.js +0 -2
  865. package/dist/siemens-ix/p-DxCNpXRB.js.map +0 -1
  866. package/dist/siemens-ix/p-a6612a5b.entry.js +0 -2
  867. package/dist/siemens-ix/p-a7cb47ca.entry.js.map +0 -1
  868. package/dist/siemens-ix/p-ac1f35ad.entry.js +0 -2
  869. package/dist/siemens-ix/p-ac1f35ad.entry.js.map +0 -1
  870. package/dist/siemens-ix/p-b895b3db.entry.js.map +0 -1
  871. package/dist/siemens-ix/p-c10b2e40.entry.js +0 -2
  872. package/dist/siemens-ix/p-d4b0b3d1.entry.js +0 -2
  873. package/dist/siemens-ix/p-d4b0b3d1.entry.js.map +0 -1
  874. package/dist/siemens-ix/p-d9766334.entry.js +0 -2
  875. package/dist/siemens-ix/p-ea435816.entry.js +0 -2
  876. package/dist/siemens-ix/p-ea435816.entry.js.map +0 -1
  877. package/dist/siemens-ix/p-f55c3bed.entry.js +0 -2
  878. package/dist/siemens-ix/p-fbd0973d.entry.js.map +0 -1
  879. package/dist/siemens-ix/p-fbedad11.entry.js +0 -2
  880. package/dist/siemens-ix/p-gkooEHol.js.map +0 -1
  881. /package/dist/siemens-ix/{p-bf2374a0.entry.js.map → p-0469aec7.entry.js.map} +0 -0
  882. /package/dist/siemens-ix/{p-f14790b4.entry.js.map → p-14fca48a.entry.js.map} +0 -0
  883. /package/dist/siemens-ix/{p-c31b2027.entry.js.map → p-1ca58d8b.entry.js.map} +0 -0
  884. /package/dist/siemens-ix/{p-c10b2e40.entry.js.map → p-30545ef9.entry.js.map} +0 -0
  885. /package/dist/siemens-ix/{p-6645d4ee.entry.js.map → p-404dffde.entry.js.map} +0 -0
  886. /package/dist/siemens-ix/{p-2041357d.entry.js.map → p-48b0fef4.entry.js.map} +0 -0
  887. /package/dist/siemens-ix/{p-91fa3ab0.entry.js.map → p-5140e6e6.entry.js.map} +0 -0
  888. /package/dist/siemens-ix/{p-28fe8512.entry.js.map → p-52dc3ba0.entry.js.map} +0 -0
  889. /package/dist/siemens-ix/{p-c248940f.entry.js.map → p-5c109476.entry.js.map} +0 -0
  890. /package/dist/siemens-ix/{p-e3a219e3.entry.js.map → p-6a39d630.entry.js.map} +0 -0
  891. /package/dist/siemens-ix/{p-71a38f35.entry.js.map → p-6c873cc5.entry.js.map} +0 -0
  892. /package/dist/siemens-ix/{p-c6ecc2e3.entry.js.map → p-746b04cb.entry.js.map} +0 -0
  893. /package/dist/siemens-ix/{p-9dbfd7cd.entry.js.map → p-7a108b0d.entry.js.map} +0 -0
  894. /package/dist/siemens-ix/{p-1cd4280f.entry.js.map → p-7d95ae34.entry.js.map} +0 -0
  895. /package/dist/siemens-ix/{p-75f4bbb1.entry.js.map → p-81c8d542.entry.js.map} +0 -0
  896. /package/dist/siemens-ix/{p-d7c7d38b.entry.js.map → p-8dcc6456.entry.js.map} +0 -0
  897. /package/dist/siemens-ix/{p-d1254b5b.entry.js.map → p-8e48a7a1.entry.js.map} +0 -0
  898. /package/dist/siemens-ix/{p-c413e3c4.entry.js.map → p-8eee6a03.entry.js.map} +0 -0
  899. /package/dist/siemens-ix/{p-fbedad11.entry.js.map → p-90089ce1.entry.js.map} +0 -0
  900. /package/dist/siemens-ix/{p-0ba7d263.entry.js.map → p-90bd8d7b.entry.js.map} +0 -0
  901. /package/dist/siemens-ix/{p-1bd1380b.entry.js.map → p-95d4d849.entry.js.map} +0 -0
  902. /package/dist/siemens-ix/{p-a6612a5b.entry.js.map → p-9bd4c682.entry.js.map} +0 -0
  903. /package/dist/siemens-ix/{p-d0213ff0.entry.js.map → p-b6dad40c.entry.js.map} +0 -0
  904. /package/dist/siemens-ix/{p-331f1b60.entry.js.map → p-bb28a2d6.entry.js.map} +0 -0
  905. /package/dist/siemens-ix/{p-e55cd52b.entry.js.map → p-bd369344.entry.js.map} +0 -0
  906. /package/dist/siemens-ix/{p-db02f4c2.entry.js.map → p-c446ffdb.entry.js.map} +0 -0
  907. /package/dist/siemens-ix/{p-bb878ea4.entry.js.map → p-cd11dfa8.entry.js.map} +0 -0
  908. /package/dist/siemens-ix/{p-a67bc456.entry.js.map → p-dc5b5c0c.entry.js.map} +0 -0
  909. /package/dist/siemens-ix/{p-7060645f.entry.js.map → p-eba51393.entry.js.map} +0 -0
  910. /package/dist/siemens-ix/{p-9272ae83.entry.js.map → p-f29eaee8.entry.js.map} +0 -0
  911. /package/dist/siemens-ix/{p-9b88a932.entry.js.map → p-f6d678a6.entry.js.map} +0 -0
@@ -78,13 +78,13 @@ const IconButton = class {
78
78
  type: this.type,
79
79
  extraClasses: this.getIconSizeClass(),
80
80
  };
81
- return (index.h(index.Host, { key: 'bdb302ce6ef1803d43285e1effc3ce70ff9284c8', class: Object.assign(Object.assign({}, this.getIconSizeClass()), { disabled: this.disabled || this.loading }) }, index.h(baseIconButton.BaseIconButton, Object.assign({ key: '14073614fda1a07d4292094b91092871f05619d3' }, baseButtonProps))));
81
+ return (index.h(index.Host, { key: 'f14e9fcbcef5261063165d6a3e9a852a50f52685', class: Object.assign(Object.assign({}, this.getIconSizeClass()), { disabled: this.disabled || this.loading }) }, index.h(baseIconButton.BaseIconButton, Object.assign({ key: '457e6e503a1ef75babc9894f8e44e6b672000d5c' }, baseButtonProps))));
82
82
  }
83
83
  get hostElement() { return index.getElement(this); }
84
84
  };
85
85
  IconButton.style = iconButtonCss;
86
86
 
87
- const spinnerCss = ":host{display:block;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}.xx-small{width:0.75rem;height:0.75rem;min-width:0.75rem;min-height:0.75rem;max-width:0.75rem;max-height:0.75rem;border-radius:100%;position:relative;animation:rotate 2s linear infinite}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes clipMask{0%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}12.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}25%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}37.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}50%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}62.5%{clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0)}75%{clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0)}87.5%{clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0)}100%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}}.xx-small::after{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:1px solid var(--ix-button-color, var(--theme-color-soft-text));animation:clipMask 3s linear infinite}.xx-small:not(.hide-track)::before{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:1px solid var(--theme-color-ghost--hover)}.primary::after{border-color:var(--theme-color-dynamic)}.primary::before{border-color:var(--theme-color-ghost--hover)}:host{display:block;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}.x-small{width:1.25rem;height:1.25rem;min-width:1.25rem;min-height:1.25rem;max-width:1.25rem;max-height:1.25rem;border-radius:100%;position:relative;animation:rotate 2s linear infinite}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes clipMask{0%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}12.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}25%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}37.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}50%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}62.5%{clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0)}75%{clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0)}87.5%{clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0)}100%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}}.x-small::after{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--ix-button-color, var(--theme-color-soft-text));animation:clipMask 3s linear infinite}.x-small:not(.hide-track)::before{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--theme-color-ghost--hover)}.primary::after{border-color:var(--theme-color-dynamic)}.primary::before{border-color:var(--theme-color-ghost--hover)}:host{display:block;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}.small{width:1.5rem;height:1.5rem;min-width:1.5rem;min-height:1.5rem;max-width:1.5rem;max-height:1.5rem;border-radius:100%;position:relative;animation:rotate 2s linear infinite}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes clipMask{0%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}12.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}25%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}37.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}50%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}62.5%{clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0)}75%{clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0)}87.5%{clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0)}100%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}}.small::after{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--ix-button-color, var(--theme-color-soft-text));animation:clipMask 3s linear infinite}.small:not(.hide-track)::before{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--theme-color-ghost--hover)}.primary::after{border-color:var(--theme-color-dynamic)}.primary::before{border-color:var(--theme-color-ghost--hover)}:host{display:block;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}.medium{width:2rem;height:2rem;min-width:2rem;min-height:2rem;max-width:2rem;max-height:2rem;border-radius:100%;position:relative;animation:rotate 2s linear infinite}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes clipMask{0%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}12.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}25%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}37.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}50%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}62.5%{clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0)}75%{clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0)}87.5%{clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0)}100%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}}.medium::after{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--ix-button-color, var(--theme-color-soft-text));animation:clipMask 3s linear infinite}.medium:not(.hide-track)::before{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--theme-color-ghost--hover)}.primary::after{border-color:var(--theme-color-dynamic)}.primary::before{border-color:var(--theme-color-ghost--hover)}:host{display:block;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}.large{width:6rem;height:6rem;min-width:6rem;min-height:6rem;max-width:6rem;max-height:6rem;border-radius:100%;position:relative;animation:rotate 2s linear infinite}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes clipMask{0%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}12.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}25%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}37.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}50%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}62.5%{clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0)}75%{clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0)}87.5%{clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0)}100%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}}.large::after{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:4px solid var(--ix-button-color, var(--theme-color-soft-text));animation:clipMask 3s linear infinite}.large:not(.hide-track)::before{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:4px solid var(--theme-color-ghost--hover)}.primary::after{border-color:var(--theme-color-dynamic)}.primary::before{border-color:var(--theme-color-ghost--hover)}";
87
+ const spinnerCss = ":host{display:block;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}.xx-small{width:0.75rem;height:0.75rem;min-width:0.75rem;min-height:0.75rem;max-width:0.75rem;max-height:0.75rem;border-radius:100%;position:relative;animation:rotate 2s linear infinite}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes clipMask{0%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}12.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}25%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}37.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}50%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}62.5%{clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0)}75%{clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0)}87.5%{clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0)}100%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}}.xx-small::after{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:1px solid var(--ix-button-color, var(--theme-color-soft-text));animation:clipMask 3s linear infinite}.xx-small:not(.hide-track)::before{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:1px solid var(--theme-color-component-3)}.primary::after{border-color:var(--theme-color-dynamic)}.primary::before{border-color:var(--theme-color-ghost--hover)}:host{display:block;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}.x-small{width:1.25rem;height:1.25rem;min-width:1.25rem;min-height:1.25rem;max-width:1.25rem;max-height:1.25rem;border-radius:100%;position:relative;animation:rotate 2s linear infinite}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes clipMask{0%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}12.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}25%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}37.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}50%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}62.5%{clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0)}75%{clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0)}87.5%{clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0)}100%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}}.x-small::after{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--ix-button-color, var(--theme-color-soft-text));animation:clipMask 3s linear infinite}.x-small:not(.hide-track)::before{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--theme-color-component-3)}.primary::after{border-color:var(--theme-color-dynamic)}.primary::before{border-color:var(--theme-color-ghost--hover)}:host{display:block;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}.small{width:1.5rem;height:1.5rem;min-width:1.5rem;min-height:1.5rem;max-width:1.5rem;max-height:1.5rem;border-radius:100%;position:relative;animation:rotate 2s linear infinite}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes clipMask{0%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}12.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}25%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}37.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}50%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}62.5%{clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0)}75%{clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0)}87.5%{clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0)}100%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}}.small::after{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--ix-button-color, var(--theme-color-soft-text));animation:clipMask 3s linear infinite}.small:not(.hide-track)::before{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--theme-color-component-3)}.primary::after{border-color:var(--theme-color-dynamic)}.primary::before{border-color:var(--theme-color-ghost--hover)}:host{display:block;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}.medium{width:2rem;height:2rem;min-width:2rem;min-height:2rem;max-width:2rem;max-height:2rem;border-radius:100%;position:relative;animation:rotate 2s linear infinite}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes clipMask{0%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}12.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}25%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}37.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}50%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}62.5%{clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0)}75%{clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0)}87.5%{clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0)}100%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}}.medium::after{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--ix-button-color, var(--theme-color-soft-text));animation:clipMask 3s linear infinite}.medium:not(.hide-track)::before{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--theme-color-component-3)}.primary::after{border-color:var(--theme-color-dynamic)}.primary::before{border-color:var(--theme-color-ghost--hover)}:host{display:block;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}.large{width:6rem;height:6rem;min-width:6rem;min-height:6rem;max-width:6rem;max-height:6rem;border-radius:100%;position:relative;animation:rotate 2s linear infinite}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes clipMask{0%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}12.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}25%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}37.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}50%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}62.5%{clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0)}75%{clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0)}87.5%{clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0)}100%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}}.large::after{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:4px solid var(--ix-button-color, var(--theme-color-soft-text));animation:clipMask 3s linear infinite}.large:not(.hide-track)::before{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:4px solid var(--theme-color-component-3)}.primary::after{border-color:var(--theme-color-dynamic)}.primary::before{border-color:var(--theme-color-ghost--hover)}";
88
88
 
89
89
  const Spinner = class {
90
90
  constructor(hostRef) {
@@ -75,7 +75,7 @@ const IconToggleButton = class {
75
75
  },
76
76
  extraClasses: Object.assign({ 'icon-button': true }, this.getIconSizeClass()),
77
77
  };
78
- return (index.h(index.Host, { key: 'cdab0dbaf3a790f3d83fff58d73588504d7ba956', class: Object.assign(Object.assign({}, this.getIconSizeClass()), { disabled: this.disabled || this.loading }) }, index.h(baseIconButton.BaseIconButton, Object.assign({ key: '6cfe4d3b14eba61a9b80ffcdcd9664a1f815f70f' }, baseButtonProps))));
78
+ return (index.h(index.Host, { key: '6c7f9e4e25875e5a688b4f211d596b458b819584', class: Object.assign(Object.assign({}, this.getIconSizeClass()), { disabled: this.disabled || this.loading }) }, index.h(baseIconButton.BaseIconButton, Object.assign({ key: '6813db68fff977b64748f962cde7836e72d06cb9' }, baseButtonProps))));
79
79
  }
80
80
  get hostElement() { return index.getElement(this); }
81
81
  };
@@ -0,0 +1,130 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-DuDLgBnw.js');
4
+ var shadowDom = require('./shadow-dom-DT01VwcB.js');
5
+
6
+ const inputGroupCss = ":host{position:relative;display:flex;width:100%;flex-wrap:wrap;align-items:stretch}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .group{display:flex;position:absolute;align-items:center;height:100%}:host .group-start{left:0px;height:2rem;margin-left:0.5rem;color:var(--theme-color-soft-text)}:host .group-end{right:0px;height:2rem;margin-right:0.5rem;color:var(--theme-color-soft-text)}:host ::slotted(*){display:flex}:host(.disabled){pointer-events:none}:host(.disabled) .group-start ::slotted(*),:host(.disabled) .group-end ::slotted(*){opacity:0.4 !important}";
7
+
8
+ const InputGroup = class {
9
+ constructor(hostRef) {
10
+ index.registerInstance(this, hostRef);
11
+ this.disabled = false;
12
+ this.inputPaddingLeft = 0;
13
+ this.inputPaddingRight = 0;
14
+ }
15
+ get inputElement() {
16
+ return this.hostElement.querySelector('input');
17
+ }
18
+ componentWillLoad() {
19
+ var _a;
20
+ const { valid } = this.inputElement.validity;
21
+ this.inputElement.addEventListener('valid', () => {
22
+ this.onValidInput();
23
+ });
24
+ this.inputElement.addEventListener('invalid', () => {
25
+ this.onInvalidInput();
26
+ });
27
+ this.inputElement.addEventListener('input', () => {
28
+ this.startSlotChanged();
29
+ });
30
+ (_a = this.inputElement.form) === null || _a === void 0 ? void 0 : _a.addEventListener('submit', () => {
31
+ this.startSlotChanged();
32
+ });
33
+ valid ? this.onValidInput() : this.onInvalidInput();
34
+ this.observer = new MutationObserver(() => {
35
+ this.slotChanged();
36
+ this.startSlotChanged();
37
+ this.endSlotChanged();
38
+ });
39
+ this.observer.observe(this.hostElement, {
40
+ subtree: true,
41
+ childList: true,
42
+ attributes: true,
43
+ characterData: true,
44
+ });
45
+ }
46
+ componentDidRender() {
47
+ this.prepareInputElement();
48
+ }
49
+ onValidInput() {
50
+ this.startSlotChanged();
51
+ }
52
+ onInvalidInput() {
53
+ this.startSlotChanged();
54
+ }
55
+ prepareInputElement() {
56
+ if (this.inputElement) {
57
+ this.inputElement.style.width = '100%';
58
+ if (this.inputPaddingRight !== 0) {
59
+ this.inputElement.style.paddingRight = this.inputPaddingRight + 'px';
60
+ }
61
+ else {
62
+ this.inputElement.style.paddingRight = '0.5rem';
63
+ }
64
+ if (this.inputPaddingLeft !== 0) {
65
+ this.inputElement.style.paddingLeft = this.inputPaddingLeft + 'px';
66
+ }
67
+ else {
68
+ this.inputElement.style.paddingLeft = '0.5rem';
69
+ }
70
+ }
71
+ else {
72
+ console.warn('You used the ix-input-group without an input tag, e.g. <input class="ix-form-control" />');
73
+ }
74
+ }
75
+ slotChanged() {
76
+ var _a;
77
+ this.disabled = (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.disabled;
78
+ }
79
+ startSlotChanged() {
80
+ setTimeout(() => {
81
+ var _a, _b;
82
+ const startPadding = this.getChildrenWidth(this.startSlotRef);
83
+ if (startPadding !== 0) {
84
+ this.inputPaddingLeft = 11 + startPadding;
85
+ }
86
+ else {
87
+ this.inputPaddingLeft = 0;
88
+ }
89
+ if (!this.inputElement) {
90
+ return;
91
+ }
92
+ const isInputInvalid = !this.inputElement.validity.valid ||
93
+ this.inputElement.classList.contains('is-invalid');
94
+ const formWasValidated = ((_a = this.inputElement.form) === null || _a === void 0 ? void 0 : _a.classList.contains('was-validated')) ||
95
+ ((_b = this.inputElement.form) === null || _b === void 0 ? void 0 : _b.noValidate) === false;
96
+ if (formWasValidated && isInputInvalid) {
97
+ const left = this.inputPaddingLeft !== 0 ? this.inputPaddingLeft : 7;
98
+ this.inputElement.style.backgroundPosition = `left ${left}px center`;
99
+ this.inputPaddingLeft += 26;
100
+ }
101
+ });
102
+ }
103
+ endSlotChanged() {
104
+ setTimeout(() => {
105
+ this.inputPaddingRight = 15 + this.getChildrenWidth(this.endSlotRef);
106
+ });
107
+ }
108
+ getChildrenWidth(slotElement) {
109
+ if (!slotElement) {
110
+ return 0;
111
+ }
112
+ const endElements = shadowDom.getSlottedElements(slotElement);
113
+ if (endElements.length === 0) {
114
+ return 0;
115
+ }
116
+ let width = 0;
117
+ endElements.forEach((element) => {
118
+ width += element.getBoundingClientRect().width;
119
+ });
120
+ return width;
121
+ }
122
+ render() {
123
+ return (index.h(index.Host, { key: 'c957f5176fca638b1e84fb3aaec66feed288821f', class: { disabled: this.disabled } }, index.h("div", { key: '4b77f75f4b402840fd94a4fa990a86f135a183b2', class: "group group-start" }, index.h("slot", { key: '6fc6246c36799a567bc391aa20d0c9a944983e27', ref: (el) => (this.startSlotRef = el), name: "input-start" })), index.h("slot", { key: 'd136710b684b584526c1a5685af1b6b45e4e4721' }), index.h("div", { key: 'eafb23b6987f92876d9b4e1ea020ecd12d4a52f7', class: "group group-end" }, index.h("slot", { key: '220f0582c0bd75488de9eefed451757502297c53', ref: (el) => (this.endSlotRef = el), name: "input-end" }))));
124
+ }
125
+ get hostElement() { return index.getElement(this); }
126
+ };
127
+ InputGroup.style = inputGroupCss;
128
+
129
+ exports.ix_input_group = InputGroup;
130
+ //# sourceMappingURL=ix-input-group.entry.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ix-input-group.entry.cjs.js","sources":["src/components/input-group/input-group.scss?tag=ix-input-group&encapsulation=shadow","src/components/input-group/input-group.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n@use 'mixins/shadow-dom/component';\n@use 'mixins/shadow-dom/host-disabled';\n\n:host {\n position: relative;\n display: flex;\n width: 100%;\n flex-wrap: wrap;\n align-items: stretch;\n\n @include component.ix-component;\n\n .group {\n display: flex;\n position: absolute;\n align-items: center;\n height: 100%;\n }\n\n .group-start {\n left: 0px;\n height: 2rem;\n margin-left: 0.5rem;\n color: var(--theme-color-soft-text);\n }\n\n .group-end {\n right: 0px;\n height: 2rem;\n margin-right: 0.5rem;\n color: var(--theme-color-soft-text);\n }\n\n ::slotted(*) {\n display: flex;\n }\n}\n\n@include host-disabled.host-disabled {\n .group-start,\n .group-end {\n ::slotted(*) {\n opacity: 0.4 !important;\n }\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, Element, h, Host, State } from '@stencil/core';\nimport { getSlottedElements } from '../utils/shadow-dom';\n\n/**\n * @deprecated Will be removed with 4.0.0\n * Use the 'ix-input' component instead\n */\n@Component({\n tag: 'ix-input-group',\n styleUrl: 'input-group.scss',\n shadow: true,\n})\nexport class InputGroup {\n @Element() hostElement!: HTMLIxInputGroupElement;\n\n @State() disabled = false;\n\n @State() inputPaddingLeft = 0;\n @State() inputPaddingRight = 0;\n\n startSlotRef?: HTMLElement;\n endSlotRef?: HTMLElement;\n\n private get inputElement() {\n return this.hostElement.querySelector('input') as HTMLInputElement;\n }\n\n private observer?: MutationObserver;\n\n componentWillLoad() {\n const { valid } = this.inputElement.validity;\n this.inputElement.addEventListener('valid', () => {\n this.onValidInput();\n });\n this.inputElement.addEventListener('invalid', () => {\n this.onInvalidInput();\n });\n this.inputElement.addEventListener('input', () => {\n this.startSlotChanged();\n });\n\n this.inputElement.form?.addEventListener('submit', () => {\n this.startSlotChanged();\n });\n\n valid ? this.onValidInput() : this.onInvalidInput();\n\n this.observer = new MutationObserver(() => {\n this.slotChanged();\n this.startSlotChanged();\n this.endSlotChanged();\n });\n\n this.observer.observe(this.hostElement, {\n subtree: true,\n childList: true,\n attributes: true,\n characterData: true,\n });\n }\n\n componentDidRender() {\n this.prepareInputElement();\n }\n\n private onValidInput() {\n this.startSlotChanged();\n }\n\n private onInvalidInput() {\n this.startSlotChanged();\n }\n\n private prepareInputElement() {\n if (this.inputElement) {\n this.inputElement.style.width = '100%';\n\n if (this.inputPaddingRight !== 0) {\n this.inputElement.style.paddingRight = this.inputPaddingRight + 'px';\n } else {\n this.inputElement.style.paddingRight = '0.5rem';\n }\n\n if (this.inputPaddingLeft !== 0) {\n this.inputElement.style.paddingLeft = this.inputPaddingLeft + 'px';\n } else {\n this.inputElement.style.paddingLeft = '0.5rem';\n }\n } else {\n console.warn(\n 'You used the ix-input-group without an input tag, e.g. <input class=\"ix-form-control\" />'\n );\n }\n }\n\n private slotChanged() {\n this.disabled = this.inputElement?.disabled;\n }\n\n private startSlotChanged() {\n setTimeout(() => {\n const startPadding = this.getChildrenWidth(this.startSlotRef);\n\n if (startPadding !== 0) {\n this.inputPaddingLeft = 11 + startPadding;\n } else {\n this.inputPaddingLeft = 0;\n }\n\n if (!this.inputElement) {\n return;\n }\n\n const isInputInvalid =\n !this.inputElement.validity.valid ||\n this.inputElement.classList.contains('is-invalid');\n\n const formWasValidated =\n this.inputElement.form?.classList.contains('was-validated') ||\n this.inputElement.form?.noValidate === false;\n\n if (formWasValidated && isInputInvalid) {\n const left = this.inputPaddingLeft !== 0 ? this.inputPaddingLeft : 7;\n this.inputElement.style.backgroundPosition = `left ${left}px center`;\n this.inputPaddingLeft += 26;\n }\n });\n }\n\n private endSlotChanged() {\n setTimeout(() => {\n this.inputPaddingRight = 15 + this.getChildrenWidth(this.endSlotRef);\n });\n }\n\n private getChildrenWidth(slotElement: Element | undefined) {\n if (!slotElement) {\n return 0;\n }\n\n const endElements = getSlottedElements<HTMLElement>(slotElement);\n if (endElements.length === 0) {\n return 0;\n }\n\n let width = 0;\n\n endElements.forEach((element) => {\n width += element.getBoundingClientRect().width;\n });\n\n return width;\n }\n\n render() {\n return (\n <Host class={{ disabled: this.disabled }}>\n <div class=\"group group-start\">\n <slot\n ref={(el) => (this.startSlotRef = el as HTMLElement)}\n name=\"input-start\"\n ></slot>\n </div>\n <slot></slot>\n <div class=\"group group-end\">\n <slot\n ref={(el) => (this.endSlotRef = el as HTMLElement)}\n name=\"input-end\"\n ></slot>\n </div>\n </Host>\n );\n }\n}\n"],"names":["getSlottedElements","h","Host"],"mappings":";;;;;AAAA,MAAM,aAAa,GAAG,gyCAAgyC;;MCqBzyC,UAAU,GAAA,MAAA;AALvB,IAAA,WAAA,CAAA,OAAA,EAAA;;AAQW,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAEhB,QAAA,IAAgB,CAAA,gBAAA,GAAG,CAAC;AACpB,QAAA,IAAiB,CAAA,iBAAA,GAAG,CAAC;AA2J/B;AAtJC,IAAA,IAAY,YAAY,GAAA;QACtB,OAAO,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,OAAO,CAAqB;;IAKpE,iBAAiB,GAAA;;QACf,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,YAAY,CAAC,QAAQ;QAC5C,IAAI,CAAC,YAAY,CAAC,gBAAgB,CAAC,OAAO,EAAE,MAAK;YAC/C,IAAI,CAAC,YAAY,EAAE;AACrB,SAAC,CAAC;QACF,IAAI,CAAC,YAAY,CAAC,gBAAgB,CAAC,SAAS,EAAE,MAAK;YACjD,IAAI,CAAC,cAAc,EAAE;AACvB,SAAC,CAAC;QACF,IAAI,CAAC,YAAY,CAAC,gBAAgB,CAAC,OAAO,EAAE,MAAK;YAC/C,IAAI,CAAC,gBAAgB,EAAE;AACzB,SAAC,CAAC;AAEF,QAAA,CAAA,EAAA,GAAA,IAAI,CAAC,YAAY,CAAC,IAAI,MAAE,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,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,EAAA,0CAAA,EAAA,KAAK,EAAC,iBAAiB,EAAA,EAC1BA,OACE,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,UAAU,GAAG,EAAiB,CAAC,EAClD,IAAI,EAAC,WAAW,EACV,CAAA,CACJ,CACD;;;;;;;;"}
@@ -139,22 +139,22 @@ const Input = class {
139
139
  render() {
140
140
  var _a;
141
141
  const inputAria = input_util.getAriaAttributesForInput(this);
142
- return (index.h(index.Host, { key: '05bb684da7ab25f4cea5429ec2c166a9c7a9cc21', class: {
142
+ return (index.h(index.Host, { key: 'f1a0a8e252682aab237e572ad8079cf496d0b519', class: {
143
143
  disabled: this.disabled,
144
144
  readonly: this.readonly,
145
- } }, index.h("ix-field-wrapper", { key: 'a2cd4a57590b5848de9738a0fbdff0c1c1947abc', htmlForLabel: this.inputId, required: this.required, label: this.label, helperText: this.helperText, invalidText: this.invalidText, infoText: this.infoText, warningText: this.warningText, validText: this.validText, showTextAsTooltip: this.showTextAsTooltip, isInvalid: this.isInvalid, isValid: this.isValid, isInfo: this.isInfo, isWarning: this.isWarning, controlRef: this.inputRef }, index.h("div", { key: 'e9369f9d649068b7708fabf29b9c2e25954591a6', class: "input-wrapper" }, index.h(input_util.SlotStart, { key: '4294b9e2329a9e0b9964630d76f64788f127e280', slotStartRef: this.slotStartRef, onSlotChange: () => this.updatePaddings() }), index.h(input_util.InputElement, { key: '750c6a574acb4dac21f7a6143b34ae1482de7d74', id: this.inputId, readonly: this.readonly, disabled: this.disabled, maxLength: this.maxLength, minLength: this.minLength, pattern: this.pattern, type: this.inputType, isInvalid: this.isInvalid, required: this.required, value: this.value, placeholder: this.placeholder, inputRef: this.inputRef, onKeyPress: (event) => input_util.checkAllowedKeys(this, event), valueChange: (value) => this.valueChange.emit(value), updateFormInternalValue: (value) => this.updateFormInternalValue(value), onBlur: () => {
145
+ } }, index.h("ix-field-wrapper", { key: 'a6bd8f0e90398dfb1288ceb585c9852fc4056552', htmlForLabel: this.inputId, required: this.required, label: this.label, helperText: this.helperText, invalidText: this.invalidText, infoText: this.infoText, warningText: this.warningText, validText: this.validText, showTextAsTooltip: this.showTextAsTooltip, isInvalid: this.isInvalid, isValid: this.isValid, isInfo: this.isInfo, isWarning: this.isWarning, controlRef: this.inputRef }, index.h("div", { key: '30e5e1debfa21d1d6a9db780a1fa807e88e5fd62', class: "input-wrapper" }, index.h(input_util.SlotStart, { key: '04338b8d4de55cb1cacfaeb381c39796ed542b27', slotStartRef: this.slotStartRef, onSlotChange: () => this.updatePaddings() }), index.h(input_util.InputElement, { key: '3fe643f62d02522dad0bd63876bbf9873f77881b', id: this.inputId, readonly: this.readonly, disabled: this.disabled, maxLength: this.maxLength, minLength: this.minLength, pattern: this.pattern, type: this.inputType, isInvalid: this.isInvalid, required: this.required, value: this.value, placeholder: this.placeholder, inputRef: this.inputRef, onKeyPress: (event) => input_util.checkAllowedKeys(this, event), valueChange: (value) => this.valueChange.emit(value), updateFormInternalValue: (value) => this.updateFormInternalValue(value), onBlur: () => {
146
146
  input_util.onInputBlur(this, this.inputRef.current);
147
147
  this.touched = true;
148
- }, ariaAttributes: inputAria }), index.h(input_util.SlotEnd, { key: 'ebd005ac85dc9109895d3cd7dcd147a08ee0fc02', slotEndRef: this.slotEndRef, onSlotChange: () => this.updatePaddings() }, index.h("ix-icon-button", { key: '848ffad3e32ac4696bcfdf4af8642c2ab1844692', color: "color-weak-text", class: {
148
+ }, ariaAttributes: inputAria }), index.h(input_util.SlotEnd, { key: '7b3f09276058e7c9081c5a5c406ccb6f31556593', slotEndRef: this.slotEndRef, onSlotChange: () => this.updatePaddings() }, index.h("ix-icon-button", { key: '7a71d559e3f77db760039853e8e40144899a6d5b', color: "color-weak-text", class: {
149
149
  'password-eye': true,
150
- 'eye-hidden': this.type !== 'password',
150
+ 'eye-hidden': this.type !== 'password' || this.disabled,
151
151
  }, variant: "tertiary", icon: this.inputType === 'password' ? index$1.iconEye : index$1.iconEyeCancelled, onClick: () => {
152
152
  if (this.inputType === 'password') {
153
153
  this.inputType = 'text';
154
154
  return;
155
155
  }
156
156
  this.inputType = 'password';
157
- } }))), !!this.maxLength && this.maxLength > 0 && (index.h("ix-typography", { key: '97d96db1a0b189a74814f46a3409879927065118', class: "bottom-text", slot: "bottom-right", textColor: "soft" }, ((_a = this.value) !== null && _a !== void 0 ? _a : '').length, "/", this.maxLength)))));
157
+ } }))), !!this.maxLength && this.maxLength > 0 && (index.h("ix-typography", { key: '000514dd6f61b34ffb769b06e201e0f2fbb01a9d', class: "bottom-text", slot: "bottom-right", textColor: "soft" }, ((_a = this.value) !== null && _a !== void 0 ? _a : '').length, "/", this.maxLength)))));
158
158
  }
159
159
  static get formAssociated() { return true; }
160
160
  get hostElement() { return index.getElement(this); }
@@ -1 +1 @@
1
- {"version":3,"file":"ix-input.entry.cjs.js","sources":["src/components/input/input.scss?tag=ix-input&encapsulation=shadow","src/components/input/input.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n@use 'mixins/shadow-dom/component';\n@use 'mixins/validation/form-component';\n@use './input.mixins.scss';\n\n@include input.input-field;\n\n:host {\n .password-eye {\n margin-left: 0.125rem;\n color: red;\n\n &.eye-hidden {\n display: none;\n }\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { iconEye, iconEyeCancelled } from '@siemens/ix-icons/icons';\nimport {\n AttachInternals,\n Component,\n Element,\n Event,\n EventEmitter,\n Host,\n Method,\n Prop,\n State,\n Watch,\n h,\n} from '@stencil/core';\nimport { A11yAttributes } from '../utils/a11y';\nimport {\n HookValidationLifecycle,\n IxInputFieldComponent,\n ValidationResults,\n} from '../utils/input';\nimport { makeRef } from '../utils/make-ref';\nimport { InputElement, SlotEnd, SlotStart } from './input.fc';\nimport {\n addDisposableChangesAndVisibilityObservers,\n adjustPaddingForStartAndEnd,\n checkAllowedKeys,\n DisposableChangesAndVisibilityObservers,\n getAriaAttributesForInput,\n mapValidationResult,\n onInputBlur,\n} from './input.util';\n\nlet inputIds = 0;\n\n/**\n * @form-ready\n * @slot start - Element will be displayed at the start of the input\n * @slot end - Element will be displayed at the end of the input\n */\n@Component({\n tag: 'ix-input',\n styleUrl: 'input.scss',\n shadow: true,\n formAssociated: true,\n})\nexport class Input implements IxInputFieldComponent<string> {\n @Element() hostElement!: HTMLIxInputElement;\n @AttachInternals() formInternals!: ElementInternals;\n\n /**\n * The type of the text field. Possible values are 'text', 'email', or 'password'.\n */\n @Prop() type: 'text' | 'email' | 'password' | 'tel' | 'url' = 'text';\n\n /**\n * The name of the text field.\n */\n @Prop({ reflect: true }) name?: string;\n\n /**\n * The placeholder text for the text field.\n */\n @Prop({ reflect: true }) placeholder?: string;\n\n /**\n * The value of the text field.\n */\n @Prop({ reflect: true, mutable: true }) value: string = '';\n\n /**\n * Specifies whether the text field is required.\n */\n @Prop({ reflect: true }) required: boolean = false;\n\n /**\n * Specifies whether the text field is disabled.\n */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /**\n * Specifies whether the text field is readonly.\n */\n @Prop({ reflect: true }) readonly: boolean = false;\n\n /**\n * The helper text for the text field.\n */\n @Prop() helperText?: string;\n\n /**\n * The info text for the text field.\n */\n @Prop() infoText?: string;\n\n /**\n * Specifies whether to show the text as a tooltip.\n */\n @Prop() showTextAsTooltip?: boolean;\n\n /**\n * The valid text for the text field.\n */\n @Prop() validText?: string;\n\n /**\n * The warning text for the text field.\n */\n @Prop() warningText?: string;\n\n /**\n * The label for the text field.\n */\n @Prop({ reflect: true }) label?: string;\n\n /**\n * The error text for the text field.\n */\n @Prop() invalidText?: string;\n\n /**\n * The pattern for the text field.\n */\n @Prop() pattern?: string;\n\n /**\n * The maximum length of the text field.\n */\n @Prop() maxLength?: number;\n\n /**\n * The minimum length of the text field.\n */\n @Prop() minLength?: number;\n\n /**\n * The allowed characters pattern for the text field.\n */\n @Prop() allowedCharactersPattern?: string;\n\n /**\n * Event emitted when the value of the text field changes.\n */\n @Event() valueChange!: EventEmitter<string>;\n\n /**\n * Event emitted when the validity state of the text field changes.\n */\n @Event() validityStateChange!: EventEmitter<ValidityState>;\n\n /**\n * Event emitted when the text field loses focus.\n */\n @Event() ixBlur!: EventEmitter<void>;\n\n @State() isInvalid = false;\n @State() isValid = false;\n @State() isInfo = false;\n @State() isWarning = false;\n @State() isInvalidByRequired = false;\n\n @State() inputType = 'text';\n\n private readonly inputRef = makeRef<HTMLInputElement>();\n private readonly slotEndRef = makeRef<HTMLDivElement>();\n private readonly slotStartRef = makeRef<HTMLDivElement>();\n private readonly inputId = `input-${inputIds++}`;\n private touched = false;\n\n private disposableChangesAndVisibilityObservers?: DisposableChangesAndVisibilityObservers;\n\n @HookValidationLifecycle()\n updateClassMappings(result: ValidationResults) {\n mapValidationResult(this, result);\n }\n\n @Watch('type')\n updateInputType() {\n this.inputType = this.type;\n }\n\n componentWillLoad() {\n this.updateFormInternalValue(this.value);\n this.inputType = this.type;\n }\n\n connectedCallback(): void {\n this.disposableChangesAndVisibilityObservers =\n addDisposableChangesAndVisibilityObservers(\n this.hostElement,\n this.updatePaddings.bind(this)\n );\n }\n\n private updatePaddings() {\n adjustPaddingForStartAndEnd(\n this.slotStartRef.current,\n this.slotEndRef.current,\n this.inputRef.current\n );\n }\n\n disconnectedCallback(): void {\n this.disposableChangesAndVisibilityObservers?.();\n }\n\n updateFormInternalValue(value: string) {\n this.formInternals.setFormValue(value);\n this.value = value;\n }\n\n /** @internal */\n @Method()\n async getAssociatedFormElement(): Promise<HTMLFormElement | null> {\n return this.formInternals.form;\n }\n\n /** @internal */\n @Method()\n hasValidValue(): Promise<boolean> {\n return Promise.resolve(!!this.value);\n }\n\n /**\n * Returns the native input element used in the text field.\n */\n @Method()\n getNativeInputElement() {\n return this.inputRef.waitForCurrent();\n }\n\n /**\n * Returns the validity state of the input field.\n */\n @Method()\n async getValidityState(): Promise<ValidityState> {\n const input = await this.inputRef.waitForCurrent();\n return Promise.resolve(input.validity);\n }\n\n /**\n * Focuses the input field\n */\n @Method()\n async focusInput(): Promise<void> {\n return (await this.getNativeInputElement()).focus();\n }\n\n /**\n * Returns whether the text field has been touched.\n * @internal\n */\n @Method()\n isTouched(): Promise<boolean> {\n return Promise.resolve(this.touched);\n }\n\n render() {\n const inputAria: A11yAttributes = getAriaAttributesForInput(this);\n return (\n <Host\n class={{\n disabled: this.disabled,\n readonly: this.readonly,\n }}\n >\n <ix-field-wrapper\n htmlForLabel={this.inputId}\n required={this.required}\n label={this.label}\n helperText={this.helperText}\n invalidText={this.invalidText}\n infoText={this.infoText}\n warningText={this.warningText}\n validText={this.validText}\n showTextAsTooltip={this.showTextAsTooltip}\n isInvalid={this.isInvalid}\n isValid={this.isValid}\n isInfo={this.isInfo}\n isWarning={this.isWarning}\n controlRef={this.inputRef}\n >\n <div class=\"input-wrapper\">\n <SlotStart\n slotStartRef={this.slotStartRef}\n onSlotChange={() => this.updatePaddings()}\n ></SlotStart>\n <InputElement\n id={this.inputId}\n readonly={this.readonly}\n disabled={this.disabled}\n maxLength={this.maxLength}\n minLength={this.minLength}\n pattern={this.pattern}\n type={this.inputType}\n isInvalid={this.isInvalid}\n required={this.required}\n value={this.value}\n placeholder={this.placeholder}\n inputRef={this.inputRef}\n onKeyPress={(event) => checkAllowedKeys(this, event)}\n valueChange={(value) => this.valueChange.emit(value)}\n updateFormInternalValue={(value) =>\n this.updateFormInternalValue(value)\n }\n onBlur={() => {\n onInputBlur(this, this.inputRef.current);\n this.touched = true;\n }}\n ariaAttributes={inputAria}\n ></InputElement>\n <SlotEnd\n slotEndRef={this.slotEndRef}\n onSlotChange={() => this.updatePaddings()}\n >\n <ix-icon-button\n color=\"color-weak-text\"\n class={{\n 'password-eye': true,\n 'eye-hidden': this.type !== 'password',\n }}\n variant=\"tertiary\"\n icon={\n this.inputType === 'password' ? iconEye : iconEyeCancelled\n }\n onClick={() => {\n if (this.inputType === 'password') {\n this.inputType = 'text';\n return;\n }\n\n this.inputType = 'password';\n }}\n ></ix-icon-button>\n </SlotEnd>\n </div>\n {!!this.maxLength && this.maxLength > 0 && (\n <ix-typography\n class=\"bottom-text\"\n slot=\"bottom-right\"\n textColor=\"soft\"\n >\n {(this.value ?? '').length}/{this.maxLength}\n </ix-typography>\n )}\n </ix-field-wrapper>\n </Host>\n );\n }\n}\n"],"names":["makeRef","mapValidationResult","addDisposableChangesAndVisibilityObservers","adjustPaddingForStartAndEnd","getAriaAttributesForInput","h","Host","SlotStart","InputElement","checkAllowedKeys","onInputBlur","SlotEnd","iconEye","iconEyeCancelled","HookValidationLifecycle"],"mappings":";;;;;;;;;;;;;AAAA,MAAM,QAAQ,GAAG,wtcAAwtc;;ACAzuc;;;;;;;AAOG;;;;;;;;;;;AAkCH,IAAI,QAAQ,GAAG,CAAC;MAaH,KAAK,GAAA,MAAA;AANlB,IAAA,WAAA,CAAA,OAAA,EAAA;;;;;;;;;;;;AAUE;;AAEG;AACK,QAAA,IAAI,CAAA,IAAA,GAAkD,MAAM;AAYpE;;AAEG;AACqC,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;AAE1D;;AAEG;AACsB,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;AAElD;;AAEG;AACsB,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;AAElD;;AAEG;AACsB,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;AAwEzC,QAAA,IAAS,CAAA,SAAA,GAAG,KAAK;AACjB,QAAA,IAAO,CAAA,OAAA,GAAG,KAAK;AACf,QAAA,IAAM,CAAA,MAAA,GAAG,KAAK;AACd,QAAA,IAAS,CAAA,SAAA,GAAG,KAAK;AACjB,QAAA,IAAmB,CAAA,mBAAA,GAAG,KAAK;AAE3B,QAA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AAA,qBAAA,EAAA,IAAA,CAAA;;;;;"}
1
+ {"version":3,"file":"ix-input.entry.cjs.js","sources":["src/components/input/input.scss?tag=ix-input&encapsulation=shadow","src/components/input/input.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n@use 'mixins/shadow-dom/component';\n@use 'mixins/validation/form-component';\n@use './input.mixins.scss';\n\n@include input.input-field;\n\n:host {\n .password-eye {\n margin-left: 0.125rem;\n color: red;\n\n &.eye-hidden {\n display: none;\n }\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { iconEye, iconEyeCancelled } from '@siemens/ix-icons/icons';\nimport {\n AttachInternals,\n Component,\n Element,\n Event,\n EventEmitter,\n Host,\n Method,\n Prop,\n State,\n Watch,\n h,\n} from '@stencil/core';\nimport { A11yAttributes } from '../utils/a11y';\nimport {\n HookValidationLifecycle,\n IxInputFieldComponent,\n ValidationResults,\n} from '../utils/input';\nimport { makeRef } from '../utils/make-ref';\nimport { InputElement, SlotEnd, SlotStart } from './input.fc';\nimport {\n addDisposableChangesAndVisibilityObservers,\n adjustPaddingForStartAndEnd,\n checkAllowedKeys,\n DisposableChangesAndVisibilityObservers,\n getAriaAttributesForInput,\n mapValidationResult,\n onInputBlur,\n} from './input.util';\n\nlet inputIds = 0;\n\n/**\n * @form-ready\n * @slot start - Element will be displayed at the start of the input\n * @slot end - Element will be displayed at the end of the input\n */\n@Component({\n tag: 'ix-input',\n styleUrl: 'input.scss',\n shadow: true,\n formAssociated: true,\n})\nexport class Input implements IxInputFieldComponent<string> {\n @Element() hostElement!: HTMLIxInputElement;\n @AttachInternals() formInternals!: ElementInternals;\n\n /**\n * The type of the text field. Possible values are 'text', 'email', or 'password'.\n */\n @Prop() type: 'text' | 'email' | 'password' | 'tel' | 'url' = 'text';\n\n /**\n * The name of the text field.\n */\n @Prop({ reflect: true }) name?: string;\n\n /**\n * The placeholder text for the text field.\n */\n @Prop({ reflect: true }) placeholder?: string;\n\n /**\n * The value of the text field.\n */\n @Prop({ reflect: true, mutable: true }) value: string = '';\n\n /**\n * Specifies whether the text field is required.\n */\n @Prop({ reflect: true }) required: boolean = false;\n\n /**\n * Specifies whether the text field is disabled.\n */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /**\n * Specifies whether the text field is readonly.\n */\n @Prop({ reflect: true }) readonly: boolean = false;\n\n /**\n * The helper text for the text field.\n */\n @Prop() helperText?: string;\n\n /**\n * The info text for the text field.\n */\n @Prop() infoText?: string;\n\n /**\n * Specifies whether to show the text as a tooltip.\n */\n @Prop() showTextAsTooltip?: boolean;\n\n /**\n * The valid text for the text field.\n */\n @Prop() validText?: string;\n\n /**\n * The warning text for the text field.\n */\n @Prop() warningText?: string;\n\n /**\n * The label for the text field.\n */\n @Prop({ reflect: true }) label?: string;\n\n /**\n * The error text for the text field.\n */\n @Prop() invalidText?: string;\n\n /**\n * The pattern for the text field.\n */\n @Prop() pattern?: string;\n\n /**\n * The maximum length of the text field.\n */\n @Prop() maxLength?: number;\n\n /**\n * The minimum length of the text field.\n */\n @Prop() minLength?: number;\n\n /**\n * The allowed characters pattern for the text field.\n */\n @Prop() allowedCharactersPattern?: string;\n\n /**\n * Event emitted when the value of the text field changes.\n */\n @Event() valueChange!: EventEmitter<string>;\n\n /**\n * Event emitted when the validity state of the text field changes.\n */\n @Event() validityStateChange!: EventEmitter<ValidityState>;\n\n /**\n * Event emitted when the text field loses focus.\n */\n @Event() ixBlur!: EventEmitter<void>;\n\n @State() isInvalid = false;\n @State() isValid = false;\n @State() isInfo = false;\n @State() isWarning = false;\n @State() isInvalidByRequired = false;\n\n @State() inputType = 'text';\n\n private readonly inputRef = makeRef<HTMLInputElement>();\n private readonly slotEndRef = makeRef<HTMLDivElement>();\n private readonly slotStartRef = makeRef<HTMLDivElement>();\n private readonly inputId = `input-${inputIds++}`;\n private touched = false;\n\n private disposableChangesAndVisibilityObservers?: DisposableChangesAndVisibilityObservers;\n\n @HookValidationLifecycle()\n updateClassMappings(result: ValidationResults) {\n mapValidationResult(this, result);\n }\n\n @Watch('type')\n updateInputType() {\n this.inputType = this.type;\n }\n\n componentWillLoad() {\n this.updateFormInternalValue(this.value);\n this.inputType = this.type;\n }\n\n connectedCallback(): void {\n this.disposableChangesAndVisibilityObservers =\n addDisposableChangesAndVisibilityObservers(\n this.hostElement,\n this.updatePaddings.bind(this)\n );\n }\n\n private updatePaddings() {\n adjustPaddingForStartAndEnd(\n this.slotStartRef.current,\n this.slotEndRef.current,\n this.inputRef.current\n );\n }\n\n disconnectedCallback(): void {\n this.disposableChangesAndVisibilityObservers?.();\n }\n\n updateFormInternalValue(value: string) {\n this.formInternals.setFormValue(value);\n this.value = value;\n }\n\n /** @internal */\n @Method()\n async getAssociatedFormElement(): Promise<HTMLFormElement | null> {\n return this.formInternals.form;\n }\n\n /** @internal */\n @Method()\n hasValidValue(): Promise<boolean> {\n return Promise.resolve(!!this.value);\n }\n\n /**\n * Returns the native input element used in the text field.\n */\n @Method()\n getNativeInputElement() {\n return this.inputRef.waitForCurrent();\n }\n\n /**\n * Returns the validity state of the input field.\n */\n @Method()\n async getValidityState(): Promise<ValidityState> {\n const input = await this.inputRef.waitForCurrent();\n return Promise.resolve(input.validity);\n }\n\n /**\n * Focuses the input field\n */\n @Method()\n async focusInput(): Promise<void> {\n return (await this.getNativeInputElement()).focus();\n }\n\n /**\n * Returns whether the text field has been touched.\n * @internal\n */\n @Method()\n isTouched(): Promise<boolean> {\n return Promise.resolve(this.touched);\n }\n\n render() {\n const inputAria: A11yAttributes = getAriaAttributesForInput(this);\n return (\n <Host\n class={{\n disabled: this.disabled,\n readonly: this.readonly,\n }}\n >\n <ix-field-wrapper\n htmlForLabel={this.inputId}\n required={this.required}\n label={this.label}\n helperText={this.helperText}\n invalidText={this.invalidText}\n infoText={this.infoText}\n warningText={this.warningText}\n validText={this.validText}\n showTextAsTooltip={this.showTextAsTooltip}\n isInvalid={this.isInvalid}\n isValid={this.isValid}\n isInfo={this.isInfo}\n isWarning={this.isWarning}\n controlRef={this.inputRef}\n >\n <div class=\"input-wrapper\">\n <SlotStart\n slotStartRef={this.slotStartRef}\n onSlotChange={() => this.updatePaddings()}\n ></SlotStart>\n <InputElement\n id={this.inputId}\n readonly={this.readonly}\n disabled={this.disabled}\n maxLength={this.maxLength}\n minLength={this.minLength}\n pattern={this.pattern}\n type={this.inputType}\n isInvalid={this.isInvalid}\n required={this.required}\n value={this.value}\n placeholder={this.placeholder}\n inputRef={this.inputRef}\n onKeyPress={(event) => checkAllowedKeys(this, event)}\n valueChange={(value) => this.valueChange.emit(value)}\n updateFormInternalValue={(value) =>\n this.updateFormInternalValue(value)\n }\n onBlur={() => {\n onInputBlur(this, this.inputRef.current);\n this.touched = true;\n }}\n ariaAttributes={inputAria}\n ></InputElement>\n <SlotEnd\n slotEndRef={this.slotEndRef}\n onSlotChange={() => this.updatePaddings()}\n >\n <ix-icon-button\n color=\"color-weak-text\"\n class={{\n 'password-eye': true,\n 'eye-hidden': this.type !== 'password' || this.disabled,\n }}\n variant=\"tertiary\"\n icon={\n this.inputType === 'password' ? iconEye : iconEyeCancelled\n }\n onClick={() => {\n if (this.inputType === 'password') {\n this.inputType = 'text';\n return;\n }\n\n this.inputType = 'password';\n }}\n ></ix-icon-button>\n </SlotEnd>\n </div>\n {!!this.maxLength && this.maxLength > 0 && (\n <ix-typography\n class=\"bottom-text\"\n slot=\"bottom-right\"\n textColor=\"soft\"\n >\n {(this.value ?? '').length}/{this.maxLength}\n </ix-typography>\n )}\n </ix-field-wrapper>\n </Host>\n );\n }\n}\n"],"names":["makeRef","mapValidationResult","addDisposableChangesAndVisibilityObservers","adjustPaddingForStartAndEnd","getAriaAttributesForInput","h","Host","SlotStart","InputElement","checkAllowed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E,IAAI,CAAC,IAAI,KAAK,UAAU,IAAI,IAAI,CAAC,QAAQ;aACxD,EACD,OAAO,EAAC,UAAU,EAClB,IAAI,EACF,IAAI,CAAC,SAAS,KAAK,UAAU,GAAGO,eAAO,GAAGC,wBAAgB,EAE5D,OAAO,EAAE,MAAK;AACZ,gBAAA,IAAI,IAAI,CAAC,SAAS,KAAK,UAAU,EAAE;AACjC,oBAAA,IAAI,CAAC,SAAS,GAAG,MAAM;oBACvB;;AAGF,gBAAA,IAAI,CAAC,SAAS,GAAG,UAAU;AAC7B,aAAC,EAAA,CACe,CACV,CACN,EACL,CAAC,CAAC,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,SAAS,GAAG,CAAC,KACrCR,OACE,CAAA,eAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,aAAa,EACnB,IAAI,EAAC,cAAc,EACnB,SAAS,EAAC,MAAM,EAAA,EAEf,CAAC,CAAA,EAAA,GAAA,IAAI,CAAC,KAAK,mCAAI,EAAE,EAAE,MAAM,OAAG,IAAI,CAAC,SAAS,CAC7B,CACjB,CACgB,CACd;;;;;;;;AA9KX,UAAA,CAAA;AADC,IAAAS,kCAAuB;CAGvB,EAAA,KAAA,CAAA,SAAA,EAAA,qBAAA,EAAA,IAAA,CAAA;;;;;"}
@@ -13,7 +13,7 @@ const KeyValueList = class {
13
13
  this.striped = false;
14
14
  }
15
15
  render() {
16
- return (index.h(index.Host, { key: 'fbbf0d85579098c0051103a6d783313cdf76cdec', class: { keyValueList: true, 'keyValueList--striped': this.striped } }, index.h("slot", { key: 'ea59720cc2cb8150ff1d1f6083a0623276c1e2f1' })));
16
+ return (index.h(index.Host, { key: '65f4f193bd4c3b76ee0ffbae7791ff080b1a028f', class: { keyValueList: true, 'keyValueList--striped': this.striped } }, index.h("slot", { key: '966e32b4ce52d499e500fbcbed1a9c43cac1b3e5' })));
17
17
  }
18
18
  };
19
19
  KeyValueList.style = keyValueListCss;
@@ -13,7 +13,7 @@ const KeyValue = class {
13
13
  this.labelPosition = 'top';
14
14
  }
15
15
  render() {
16
- return (index.h(index.Host, { key: '155c2d3b28dd1db32cd237391178bf4eaaf5b4d8', class: `keyValue keyValue--${this.labelPosition === 'top' ? 'column' : 'row'}` }, this.icon && (index.h("ix-icon", { key: '7f97cef73864eb0b735bf344f9005489c6eb033a', name: this.icon, size: "24", class: "keyValue__icon", "aria-label": this.ariaLabelIcon })), index.h("div", { key: 'f99112aa2d56720c6825d4ca19e730fa2a5ff99f', class: "keyValue__content" }, index.h("div", { key: 'd7b6a9dd97cc1c06b8a36a246a8d74f01de7e91f', class: "content__label" }, this.label), index.h("div", { key: '1f272a5d6c67993f7825d0258d4405891e864d50', class: {
16
+ return (index.h(index.Host, { key: '313aba27b9a98274d46da2091d3c255b5b6021a9', class: `keyValue keyValue--${this.labelPosition === 'top' ? 'column' : 'row'}` }, this.icon && (index.h("ix-icon", { key: 'a60ed526a2d725c3c40ffaeb1f97f70c655f1402', name: this.icon, size: "24", class: "keyValue__icon", "aria-label": this.ariaLabelIcon })), index.h("div", { key: '3b156278c7a40eec4ac1fda6b284b6f9da5edc7b', class: "keyValue__content" }, index.h("div", { key: '9ca6cbc3a9a85804a750f10936a582ee09500381', class: "content__label" }, this.label), index.h("div", { key: '808806083e40420bd0461a38393e17b2cad307f0', class: {
17
17
  content__value: true,
18
18
  'has-customValue': this.value === undefined,
19
19
  } }, this.value !== undefined ? (this.value) : (index.h("slot", { name: "custom-value" }))))));
@@ -35,13 +35,13 @@ const Kpi = class {
35
35
  return tooltip;
36
36
  }
37
37
  render() {
38
- return (index.h(index.Host, { key: 'c92079fec06e7de58750cf213462277436bfc16c', title: this.getTooltipText(), tabindex: "1", class: {
38
+ return (index.h(index.Host, { key: 'f606b08119be0b32663efe2f51749fe88cb25608', title: this.getTooltipText(), tabindex: "1", class: {
39
39
  stacked: this.orientation === 'vertical',
40
- } }, index.h("div", { key: '19b03ae1e57f933d5a56d59765a3c86bebfc572d', class: {
40
+ } }, index.h("div", { key: '2b7f2b65007d825f76b2380b25a81afe697fdcbf', class: {
41
41
  'kpi-container': true,
42
42
  alarm: this.state === 'alarm',
43
43
  warning: this.state === 'warning',
44
- } }, index.h("span", { key: '57ffff6b93d07c51e702f69e0665abe6794d9fe8', class: "kpi-label" }, this.getStateIcon(), index.h("span", { key: '2ddcf14874f47d3fb7446618b5635f3e0441dd52', class: "kpi-label-text" }, this.label)), index.h("span", { key: '58c8ed8685d39049736c17efd4cf8a9f853de9ce', class: "kpi-value-container" }, index.h("span", { key: 'f3bce025fee07f36d4a8edae7b4d460c4da8d69b', class: "kpi-value" }, this.value), this.unit ? index.h("span", { class: "kpi-unit" }, this.unit) : ''))));
44
+ } }, index.h("span", { key: '6241807a1c2497e3ed4ad6f498cd5c64c5b84185', class: "kpi-label" }, this.getStateIcon(), index.h("span", { key: 'fcd050a162b9c3ac9a80abf54c3fe9000d9d2a8d', class: "kpi-label-text" }, this.label)), index.h("span", { key: 'e0b0f5ce921c7579dc6f947c8129f1eec8377cc5', class: "kpi-value-container" }, index.h("span", { key: '449f3de71bb4ee0b6a058f0fe8205aa06654dbc1', class: "kpi-value" }, this.value), this.unit ? index.h("span", { class: "kpi-unit" }, this.unit) : ''))));
45
45
  }
46
46
  };
47
47
  Kpi.style = kpiCss;
@@ -78,7 +78,7 @@ const LayoutForm = class {
78
78
  });
79
79
  }
80
80
  render() {
81
- return (index.h(index.Host, { key: '75ef49e33c43dea4b070df9529402dfa5843b202' }, index.h("div", { key: '2a2916b18cd39cd9edd2ae4381544f9d45637401', class: "container" }, index.h("slot", { key: '0a955e698e61273942795538527a865be6fd6e71' }))));
81
+ return (index.h(index.Host, { key: 'f29e16a0be5c5d3751bbe6cffc35a8b33bd69075' }, index.h("div", { key: '2eeb15c4fe4d5b09cce40faef29502367eb576a5', class: "container" }, index.h("slot", { key: 'b13b8c6a610d0d9fff987d48f6bc1810af1b7390' }))));
82
82
  }
83
83
  get hostElement() { return index.getElement(this); }
84
84
  static get watchers() { return {
@@ -20,13 +20,13 @@ const LinkButton = class {
20
20
  this.target = '_self';
21
21
  }
22
22
  render() {
23
- return (index.h(index.Host, { key: '02d318962866d9b26c47c0229ba2a6c87851c56e' }, index.h("a", { key: 'cabe9f6ced43a4ec4efdfb386d60fe4779c3cd1b', title: this.url, tabindex: "0", class: {
23
+ return (index.h(index.Host, { key: '7f1fbbb36784bd6a5792da9ea48cc6e9c6aa5332' }, index.h("a", { key: 'ffd97898fd1e720f6431e0f2405b3c23d765e0c6', title: this.url, tabindex: "0", class: {
24
24
  'link-button': true,
25
25
  disabled: this.disabled,
26
- }, href: this.disabled ? undefined : this.url, target: this.target }, index.h("ix-icon", { key: 'af54ed0919ac9891729f789f4027021af6aa440f', class: "icon", name: index$1.iconChevronRightSmall, size: "16", "aria-hidden": "true" }), index.h("div", { key: '31a4c7de092658ddf5eb2b18f081f1fcc18eec85', class: {
26
+ }, href: this.disabled ? undefined : this.url, target: this.target }, index.h("ix-icon", { key: '9980af21cb250d099f2ba0ddd543d4934a6d0eb6', class: "icon", name: index$1.iconChevronRightSmall, size: "16", "aria-hidden": "true" }), index.h("div", { key: '347fdc85236282e3b93b8215de0269dd4993a2f2', class: {
27
27
  link: true,
28
28
  disabled: this.disabled,
29
- } }, index.h("slot", { key: '50126a934c69cc5e5c7da46f55177431d6cc29ff' })))));
29
+ } }, index.h("slot", { key: '79348eda083a81187f79e3a1c043982ae93c97a9' })))));
30
30
  }
31
31
  };
32
32
  LinkButton.style = linkButtonCss;
@@ -38,14 +38,14 @@ const MapNavigationOverlay = class {
38
38
  }
39
39
  render() {
40
40
  var _a, _b, _c;
41
- return (index.h(index.Host, { key: '20be4d9ca5276f987e368ae76e0e384d6de8d518' }, index.h("div", { key: '92c142906a8bc62a66122e9bb7edb77580177d9f', class: "overlay-header" }, index.h("div", { key: '9d114426224b86e403269b67581e69ce6d42b806', class: {
41
+ return (index.h(index.Host, { key: 'c7a50abb3513fe85c2b49cacb0ad9db139eeff61' }, index.h("div", { key: '877867feede603c1eb0977ceebe8c1efa8c223c4', class: "overlay-header" }, index.h("div", { key: 'c85cd0ce6dc09266d331e7100235fe6469598d5a', class: {
42
42
  'color-indicator': true,
43
43
  'display-none': ((_a = this.iconColor) !== null && _a !== void 0 ? _a : this.color) === undefined,
44
44
  }, style: {
45
45
  'background-color': ((_b = this.iconColor) !== null && _b !== void 0 ? _b : this.color)
46
46
  ? `var(--theme-${(_c = this.iconColor) !== null && _c !== void 0 ? _c : this.color})`
47
47
  : '',
48
- } }), index.h("div", { key: 'd2ec51d25d995c1ffa97d95ebf2fb1b1c0bfdb43', class: "overlay-header-content" }, index.h("ix-icon", { key: 'f3a60357a1c4faf8cf56748ebb42c9f6d8d143bc', size: "32", name: this.icon, "aria-label": this.ariaLabelIcon }), index.h("span", { key: '17cac790ed7f83c03d62676288ec2c48b5a892e9', class: "overlay-header-title", title: this.name }, this.name)), index.h("ix-icon-button", { key: '220c6324fe86b2039a14f29a72f3de32bcde06bb', class: "overlay-close", variant: "tertiary", icon: index$1.iconClose, iconColor: "color-soft-text", size: "24", onClick: () => this.closeOverlay(), "aria-label": this.ariaLabelCloseIconButton })), index.h("slot", { key: '8e6ebd5c85b618bda20ecaeaf5d5501082673a12' })));
48
+ } }), index.h("div", { key: '7b8a70dc3272d2c7a5a522accbafe58f330f1f30', class: "overlay-header-content" }, index.h("ix-icon", { key: '4ec9d2689d01d79468bbeb1e395873264f8e14e0', size: "32", name: this.icon, "aria-label": this.ariaLabelIcon }), index.h("span", { key: 'f0db6769dc5b3172f1196f1fbf8fe4b6210514d4', class: "overlay-header-title", title: this.name }, this.name)), index.h("ix-icon-button", { key: '9c75f3ae0f263c2002c6e7e46e46b8379e7d63d1', class: "overlay-close", variant: "tertiary", icon: index$1.iconClose, iconColor: "color-soft-text", size: "24", onClick: () => this.closeOverlay(), "aria-label": this.ariaLabelCloseIconButton })), index.h("slot", { key: 'd5c0fd5b40a7e33462e0f5aa2e1e491176583ae3' })));
49
49
  }
50
50
  get hostElement() { return index.getElement(this); }
51
51
  };
@@ -16,7 +16,6 @@ const MapNavigation = class {
16
16
  /**
17
17
  * Hide the sidebar context menu button when set to true
18
18
  */
19
- // eslint-disable-next-line @stencil-community/ban-default-true
20
19
  this.hideContextMenu = true;
21
20
  this.isSidebarOpen = true;
22
21
  this.hasContentHeader = false;
@@ -153,11 +152,11 @@ const MapNavigation = class {
153
152
  this.hasContentHeader = (nodes === null || nodes === void 0 ? void 0 : nodes.length) !== 0;
154
153
  }
155
154
  render() {
156
- return (index.h(index.Host, { key: 'ee355f2c6943155181eb42c9340afbbfb23c5256' }, index.h("slot", { key: '0e634f2140aa3b139b883519285c29f107cc55d2', name: "menu" }), index.h("div", { key: 'c282e8ce53748ec98a0e78c1e2c9c74566485f6a', class: "map-nav" }, index.h("div", { key: '2714ae8cff89e4336988e6aeb43f5e9743c16cda', class: "map-nav-sidebar" }, index.h("div", { key: '5f0052944113e935a166eecc5490106166ccde5a', class: "map-nav-header" }, index.h("ix-application-header", { key: '41eb644bd30d2f6431fea2871ef4c1200d673f12', name: this.applicationName, class: "map-nav-header-brand" }, index.h("slot", { key: '6019099822cf9547258db6509af5dbabf771c80c', slot: "logo", name: "logo" }))), index.h("div", { key: 'a41cf1fd5570cd449840ec29c51b9a214a7fc1ee', class: "map-nav-sidebar-content" }, index.h("div", { key: '8d31a6f87137144dce9f038c6af57935ad0b361d', class: "map-nav-sidebar-static-content" }, index.h("div", { key: 'f08e9ece40573dcc2c7e2ffd3d7960f7cafda9ce', class: "map-nav-title" }, this.navigationTitle), this.hideContextMenu ? ('') : (index.h("ix-icon-button", { icon: index$1.iconContextMenu, size: "24", variant: "subtle-primary", onClick: () => this.contextMenuClick.emit(), "aria-label": this.ariaLabelContextIconButton }))), index.h("div", { key: '0a44ecc9fc7d2eaf47a0ab030c29937ef984ec91', class: "map-nav-sidebar-user-content" }, index.h("slot", { key: '8520ed8e55ffcd3dfd6f091b686d60844de812d1', name: "sidebar-content" })))), index.h("div", { key: 'de99d37f59d097a73cbe51560582304410551cbb', class: "content" }, index.h("div", { key: '87874873f41bf080f62b06fa649eef0f73905da2', class: {
155
+ return (index.h(index.Host, { key: '5e7b81e33095916809c72c77c58a0e9561e3eadc' }, index.h("slot", { key: '6355eae609a9b40444e3af3f6ff344c657941eeb', name: "menu" }), index.h("div", { key: '3b22b95b4816ed75f6eb186378be9dd025b9a8b0', class: "map-nav" }, index.h("div", { key: 'dfe48e307748f1ec3115284f58a2f7e6eba704a9', class: "map-nav-sidebar" }, index.h("div", { key: '330712680eaf25821f7f9819d2b07d1fee4f9077', class: "map-nav-header" }, index.h("ix-application-header", { key: 'ac1b29fd7c20ef689b4ce2b41f1188444d492ecb', name: this.applicationName, class: "map-nav-header-brand" }, index.h("slot", { key: 'a01977d24404f8db7e750e8cd61af5461183bf09', slot: "logo", name: "logo" }))), index.h("div", { key: '409bf4a73f9c24cf7267380ce0bec7e91c51564e', class: "map-nav-sidebar-content" }, index.h("div", { key: '26b2020c1f215665c7b40c2f81baf4d42620a482', class: "map-nav-sidebar-static-content" }, index.h("div", { key: '265a149ce8f4f2502e45149a88159766556c37d3', class: "map-nav-title" }, this.navigationTitle), this.hideContextMenu ? ('') : (index.h("ix-icon-button", { icon: index$1.iconContextMenu, size: "24", variant: "subtle-primary", onClick: (_) => this.contextMenuClick.emit(), "aria-label": this.ariaLabelContextIconButton }))), index.h("div", { key: '2824fecae7636c4a68ab90dc06b0274afc031602', class: "map-nav-sidebar-user-content" }, index.h("slot", { key: '1ef670f8310c5c3804c5eac3dc4d601898bf244d', name: "sidebar-content" })))), index.h("div", { key: 'a383691fe6515768ef643ea8c69012d30c3b9d9b', class: "content" }, index.h("div", { key: '9c2dee41f6fd805e31c0f555347a24f3e9f393b2', class: {
157
156
  'map-nav-header-content': true,
158
157
  'bg-2': true,
159
158
  empty: !this.hasContentHeader,
160
- } }, index.h("slot", { key: '43dae1efd68fe7838af56d068897d46306517dce', name: "content-header", onSlotchange: (e) => this.checkHasContentHeader(e) })), index.h("main", { key: '9abeda56b56db433715cd500730f0594d9a39ad3' }, index.h("slot", { key: 'f084c2e9cf4b23220bae1d5fdb078905922bc491' }), index.h("slot", { key: '797eff659abf7cadd47d9cdc9d73e451fe7add56', name: "overlay" }))))));
159
+ } }, index.h("slot", { key: 'f7136c106397b3e0df52c4b3a14b5dfddf73f793', name: "content-header", onSlotchange: (e) => this.checkHasContentHeader(e) })), index.h("main", { key: 'ca7e27826c15a419d9803cf99d67587f26a1d6a0' }, index.h("slot", { key: '7083d7482930fc674efe735972268b4eb14dd7d8' }), index.h("slot", { key: 'a94b1a95f2941fec540bd63c97b23b261688c0ba', name: "overlay" }))))));
161
160
  }
162
161
  get hostElement() { return index.getElement(this); }
163
162
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ix-map-navigation.entry.cjs.js","sources":["src/components/map-navigation/map-navigation.scss?tag=ix-map-navigation&encapsulation=shadow","src/components/map-navigation/map-navigation.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@use './common-variables' as vars;\n@use 'legacy/mixins/fonts';\n@use 'mixins/text-truncation';\n@use 'mixins/shadow-dom/component';\n\n:host {\n $appHeaderHeight: 3.5rem;\n $appHeaderGradientHeight: 4rem;\n $navHeaderHeight: 11.5rem;\n $sidebarWidth: 29.75rem;\n\n display: flex;\n position: relative;\n width: 100%;\n height: 100%;\n\n @include component.ix-component;\n\n .map-nav {\n display: flex;\n margin-left: 3.25rem;\n position: relative;\n height: 100%;\n flex-grow: 1;\n overflow: hidden;\n }\n\n .map-nav-sidebar {\n display: flex;\n flex-direction: column;\n align-items: center;\n width: $sidebarWidth;\n max-width: $sidebarWidth;\n min-width: $sidebarWidth;\n height: 100%;\n left: 4rem;\n background-color: var(--theme-map-navigation--background);\n border-inline-end: 0.125rem solid\n var(--theme-map-navigation-separator--background);\n z-index: 99;\n\n &.display-none {\n display: none;\n }\n }\n\n .map-nav-sidebar-content {\n align-items: center;\n position: relative;\n overflow: auto;\n height: 100%;\n width: 100%;\n\n .map-nav-sidebar-static-content {\n display: flex;\n justify-content: space-between;\n margin-top: 0.437rem;\n margin-bottom: 0.812rem;\n margin-left: vars.$default-space;\n margin-right: vars.$default-space;\n\n @include fonts.text-h2;\n }\n }\n\n .map-nav-header {\n display: flex;\n position: relative;\n align-items: center;\n height: $appHeaderHeight;\n min-height: $appHeaderHeight;\n width: 100%;\n\n .map-nav-header-brand {\n background-color: var(--theme-map-navigation-background);\n\n padding-left: vars.$default-space;\n padding-right: vars.$default-space;\n padding-bottom: 0.625rem;\n height: 100%;\n width: 100%;\n --theme-app-header--color: var(--theme-map-navigation-header--color);\n --theme-app-header-logo--color: var(--theme-map-navigation-logo--color);\n\n button {\n margin-left: vars.$default-space;\n }\n }\n }\n\n .map-nav-header-content {\n display: flex;\n height: $appHeaderHeight;\n align-items: center;\n overflow: hidden;\n padding: 0 vars.$default-space;\n\n &.empty {\n height: 0;\n }\n }\n\n .map-nav-title {\n display: flex;\n align-items: center;\n flex-grow: 1;\n\n @include fonts.text-h2();\n }\n\n .content {\n display: block;\n flex-grow: 1;\n position: relative;\n height: 100%;\n overflow: hidden;\n z-index: calc(var(--theme-z-index-sticky) - 1);\n }\n\n ::slotted(ix-menu) {\n position: absolute;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n State,\n} from '@stencil/core';\nimport { animate } from 'animejs';\nimport { ApplicationLayoutContext } from '../utils/application-layout/context';\nimport { useContextProvider } from '../utils/context';\nimport { iconContextMenu } from '@siemens/ix-icons/icons';\n\n@Component({\n tag: 'ix-map-navigation',\n styleUrl: 'map-navigation.scss',\n shadow: true,\n})\nexport class MapNavigation {\n private static readonly defaultTime = 150;\n private static readonly slowTime = 500;\n\n @Element() hostElement!: HTMLIxMapNavigationElement;\n\n /**\n * Application name\n */\n @Prop() applicationName?: string;\n\n /**\n * Navigation title\n */\n @Prop() navigationTitle?: string;\n\n /**\n * Hide the sidebar context menu button when set to true\n */\n // eslint-disable-next-line @stencil-community/ban-default-true\n @Prop() hideContextMenu = true;\n\n /**\n * ARIA label for the context menu icon button\n * Will be set for the native HTML button element\n *\n * @since 3.2.0\n */\n @Prop() ariaLabelContextIconButton?: string;\n\n /**\n * Navigation toggled\n */\n @Event() navigationToggled!: EventEmitter<boolean>;\n\n /**\n * Context menu clicked\n */\n @Event() contextMenuClick!: EventEmitter<void>;\n\n @State() isSidebarOpen = true;\n @State() hasContentHeader = false;\n\n get menu() {\n return this.hostElement.querySelector('ix-menu')!;\n }\n\n get menuOverlay() {\n return this.hostElement.querySelector('ix-menu-overlay')!;\n }\n\n get mapNavMenu() {\n return this.hostElement.shadowRoot!.querySelector('.map-nav-menu')!;\n }\n\n get sidebar() {\n return this.hostElement.shadowRoot!.querySelector('.map-nav-sidebar')!;\n }\n\n get overlay() {\n return this.hostElement.shadowRoot!.querySelector('#overlay')!;\n }\n\n componentDidRender() {\n this.appendMenu();\n this.closeOverlay();\n }\n\n componentWillLoad() {\n useContextProvider(this.hostElement, ApplicationLayoutContext, {\n hideHeader: false,\n host: 'map-navigation',\n });\n }\n\n private appendMenu() {\n this.menu.addEventListener(\n 'mapExpandChange',\n (event: CustomEvent<boolean>) => {\n const state = !event.detail;\n this.toggleSidebar(state);\n }\n );\n this.menu.enableMapExpand = true;\n }\n\n /**\n * Change the visibility of the sidebar\n *\n * @param show new visibility state\n */\n @Method()\n async toggleSidebar(show?: boolean) {\n if (show !== undefined) {\n this.isSidebarOpen = show;\n } else {\n this.isSidebarOpen = !this.isSidebarOpen;\n }\n\n if (this.isSidebarOpen) {\n this.openSidebar();\n } else {\n this.closeSidebar();\n }\n\n this.navigationToggled.emit(this.isSidebarOpen);\n this.menu.toggleMapExpand(this.isSidebarOpen);\n }\n\n private closeSidebar() {\n animate(this.sidebar, {\n duration: MapNavigation.defaultTime,\n marginLeft: [0, '-29.75rem'],\n opacity: [1, 0],\n easing: 'easeInSine',\n onComplete: () => {\n this.sidebar.classList.add('display-none');\n },\n });\n }\n\n private openSidebar() {\n animate(this.sidebar, {\n duration: MapNavigation.defaultTime,\n marginLeft: ['-29.75rem', 0],\n opacity: [0, 1],\n easing: 'easeOutSine',\n onBegin: () => {\n this.sidebar.classList.remove('display-none');\n },\n });\n }\n\n /**\n * Open a overlay inside content area\n * @deprecated Will be removed in 2.0.0. Use slot based approach\n *\n * @param name\n * @param component\n * @param icon\n * @param color\n */\n @Method()\n async openOverlay(\n name: string,\n component: HTMLElement,\n icon?: string,\n color?: string\n ) {\n animate(this.overlay, {\n duration: MapNavigation.slowTime,\n backdropFilter: [0, 'blur(1rem)'],\n translateX: ['-4rem', 0],\n opacity: [0, 1],\n easing: 'easeOutSine',\n onBegin: () => {\n this.overlay.classList.remove('display-none');\n },\n });\n\n const overlayInstance = document.createElement('ix-map-navigation-overlay');\n overlayInstance.setAttribute('color', color ?? '');\n overlayInstance.setAttribute('name', name);\n overlayInstance.setAttribute('icon', icon ?? '');\n overlayInstance.setAttribute('slot', 'overlay');\n overlayInstance.addEventListener('closeClick', () => this.closeOverlay());\n overlayInstance.appendChild(component);\n this.hostElement.appendChild(overlayInstance);\n }\n\n /**\n * Close current shown overlay\n * @deprecated Will be removed in 2.0.0. Use slot based approach\n */\n @Method()\n async closeOverlay() {\n animate(this.overlay, {\n duration: MapNavigation.slowTime,\n backdropFilter: ['blur(1rem)', 0],\n translateX: [0, '-4rem'],\n opacity: [1, 0],\n easing: 'easeInSine',\n onComplete: () => {\n if (!this.overlay) {\n return;\n }\n this.overlay.firstChild?.remove();\n this.overlay.classList.add('display-none');\n },\n });\n }\n\n private checkHasContentHeader(e: Event) {\n const nodes = (e.currentTarget as HTMLSlotElement).assignedNodes({\n flatten: true,\n });\n\n this.hasContentHeader = nodes?.length !== 0;\n }\n\n render() {\n return (\n <Host>\n <slot name=\"menu\"></slot>\n <div class=\"map-nav\">\n <div class=\"map-nav-sidebar\">\n <div class=\"map-nav-header\">\n <ix-application-header\n name={this.applicationName}\n class=\"map-nav-header-brand\"\n >\n <slot slot=\"logo\" name=\"logo\"></slot>\n </ix-application-header>\n </div>\n <div class=\"map-nav-sidebar-content\">\n <div class=\"map-nav-sidebar-static-content\">\n <div class=\"map-nav-title\">{this.navigationTitle}</div>\n {this.hideContextMenu ? (\n ''\n ) : (\n <ix-icon-button\n icon={iconContextMenu}\n size=\"24\"\n variant=\"subtle-primary\"\n onClick={() => this.contextMenuClick.emit()}\n aria-label={this.ariaLabelContextIconButton}\n ></ix-icon-button>\n )}\n </div>\n <div class=\"map-nav-sidebar-user-content\">\n <slot name=\"sidebar-content\"></slot>\n </div>\n </div>\n </div>\n <div class=\"content\">\n <div\n class={{\n 'map-nav-header-content': true,\n 'bg-2': true,\n empty: !this.hasContentHeader,\n }}\n >\n <slot\n name=\"content-header\"\n onSlotchange={(e) => this.checkHasContentHeader(e)}\n ></slot>\n </div>\n <main>\n <slot></slot>\n <slot name=\"overlay\"></slot>\n </main>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"names":["useContextProvider","ApplicationLayoutContext","animate","h","Host","iconContextMenu"],"mappings":";;;;;;;;AAAA,MAAM,gBAAgB,GAAG,o0FAAo0F;;MC8Bh1F,aAAa,GAAA,MAAA;AAL1B,IAAA,WAAA,CAAA,OAAA,EAAA;;;;AAqBE;;AAEG;;AAEK,QAAA,IAAe,CAAA,eAAA,GAAG,IAAI;AAoBrB,QAAA,IAAa,CAAA,aAAA,GAAG,IAAI;AACpB,QAAA,IAAgB,CAAA,gBAAA,GAAG,KAAK;AAuNlC;AArNC,IAAA,IAAI,IAAI,GAAA;QACN,OAAO,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,SAAS,CAAE;;AAGnD,I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M,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,SAAS,EAAA,CAAQ,CACvB,CACH,CACF,CACD;;;;AA5Pa,aAAW,CAAA,WAAA,GAAG,GAAH;AACX,aAAQ,CAAA,QAAA,GAAG,GAAH;;;;;"}
1
+ {"version":3,"file":"ix-map-navigation.entry.cjs.js","sources":["src/components/map-navigation/map-navigation.scss?tag=ix-map-navigation&encapsulation=shadow","src/components/map-navigation/map-navigation.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@use './common-variables' as vars;\n@use 'legacy/mixins/fonts';\n@use 'mixins/text-truncation';\n@use 'mixins/shadow-dom/component';\n\n:host {\n $appHeaderHeight: 3.5rem;\n $appHeaderGradientHeight: 4rem;\n $navHeaderHeight: 11.5rem;\n $sidebarWidth: 29.75rem;\n\n display: flex;\n position: relative;\n width: 100%;\n height: 100%;\n\n @include component.ix-component;\n\n .map-nav {\n display: flex;\n margin-left: 3.25rem;\n position: relative;\n height: 100%;\n flex-grow: 1;\n overflow: hidden;\n }\n\n .map-nav-sidebar {\n display: flex;\n flex-direction: column;\n align-items: center;\n width: $sidebarWidth;\n max-width: $sidebarWidth;\n min-width: $sidebarWidth;\n height: 100%;\n left: 4rem;\n background-color: var(--theme-map-navigation--background);\n border-inline-end: 0.125rem solid\n var(--theme-map-navigation-separator--background);\n z-index: 99;\n\n &.display-none {\n display: none;\n }\n }\n\n .map-nav-sidebar-content {\n align-items: center;\n position: relative;\n overflow: auto;\n height: 100%;\n width: 100%;\n\n .map-nav-sidebar-static-content {\n display: flex;\n justify-content: space-between;\n margin-top: 0.437rem;\n margin-bottom: 0.812rem;\n margin-left: vars.$default-space;\n margin-right: vars.$default-space;\n\n @include fonts.text-h2;\n }\n }\n\n .map-nav-header {\n display: flex;\n position: relative;\n align-items: center;\n height: $appHeaderHeight;\n min-height: $appHeaderHeight;\n width: 100%;\n\n .map-nav-header-brand {\n background-color: var(--theme-map-navigation-background);\n\n padding-left: vars.$default-space;\n padding-right: vars.$default-space;\n padding-bottom: 0.625rem;\n height: 100%;\n width: 100%;\n --theme-app-header--color: var(--theme-map-navigation-header--color);\n --theme-app-header-logo--color: var(--theme-map-navigation-logo--color);\n\n button {\n margin-left: vars.$default-space;\n }\n }\n }\n\n .map-nav-header-content {\n display: flex;\n height: $appHeaderHeight;\n align-items: center;\n overflow: hidden;\n padding: 0 vars.$default-space;\n\n &.empty {\n height: 0;\n }\n }\n\n .map-nav-title {\n display: flex;\n align-items: center;\n flex-grow: 1;\n\n @include fonts.text-h2();\n }\n\n .content {\n display: block;\n flex-grow: 1;\n position: relative;\n height: 100%;\n overflow: hidden;\n z-index: calc(var(--theme-z-index-sticky) - 1);\n }\n\n ::slotted(ix-menu) {\n position: absolute;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n State,\n} from '@stencil/core';\nimport { animate } from 'animejs';\nimport { ApplicationLayoutContext } from '../utils/application-layout/context';\nimport { useContextProvider } from '../utils/context';\nimport { iconContextMenu } from '@siemens/ix-icons/icons';\n\n@Component({\n tag: 'ix-map-navigation',\n styleUrl: 'map-navigation.scss',\n shadow: true,\n})\nexport class MapNavigation {\n private static readonly defaultTime = 150;\n private static readonly slowTime = 500;\n\n @Element() hostElement!: HTMLIxMapNavigationElement;\n\n /**\n * Application name\n */\n @Prop() applicationName?: string;\n\n /**\n * Navigation title\n */\n @Prop() navigationTitle?: string;\n\n /**\n * Hide the sidebar context menu button when set to true\n */\n @Prop() hideContextMenu = true;\n\n /**\n * ARIA label for the context menu icon button\n * Will be set for the native HTML button element\n *\n * @since 3.2.0\n */\n @Prop() ariaLabelContextIconButton?: string;\n\n /**\n * Navigation toggled\n */\n @Event() navigationToggled!: EventEmitter<boolean>;\n\n /**\n * Context menu clicked\n */\n @Event() contextMenuClick!: EventEmitter<void>;\n\n @State() isSidebarOpen = true;\n @State() hasContentHeader = false;\n\n get menu() {\n return this.hostElement.querySelector('ix-menu')!;\n }\n\n get menuOverlay() {\n return this.hostElement.querySelector('ix-menu-overlay')!;\n }\n\n get mapNavMenu() {\n return this.hostElement.shadowRoot!.querySelector('.map-nav-menu')!;\n }\n\n get sidebar() {\n return this.hostElement.shadowRoot!.querySelector('.map-nav-sidebar')!;\n }\n\n get overlay() {\n return this.hostElement.shadowRoot!.querySelector('#overlay')!;\n }\n\n componentDidRender() {\n this.appendMenu();\n this.closeOverlay();\n }\n\n componentWillLoad() {\n useContextProvider(this.hostElement, ApplicationLayoutContext, {\n hideHeader: false,\n host: 'map-navigation',\n });\n }\n\n private appendMenu() {\n this.menu.addEventListener(\n 'mapExpandChange',\n (event: CustomEvent<boolean>) => {\n const state = !event.detail;\n this.toggleSidebar(state);\n }\n );\n this.menu.enableMapExpand = true;\n }\n\n /**\n * Change the visibility of the sidebar\n *\n * @param show new visibility state\n */\n @Method()\n async toggleSidebar(show?: boolean) {\n if (show !== undefined) {\n this.isSidebarOpen = show;\n } else {\n this.isSidebarOpen = !this.isSidebarOpen;\n }\n\n if (this.isSidebarOpen) {\n this.openSidebar();\n } else {\n this.closeSidebar();\n }\n\n this.navigationToggled.emit(this.isSidebarOpen);\n this.menu.toggleMapExpand(this.isSidebarOpen);\n }\n\n private closeSidebar() {\n animate(this.sidebar, {\n duration: MapNavigation.defaultTime,\n marginLeft: [0, '-29.75rem'],\n opacity: [1, 0],\n easing: 'easeInSine',\n onComplete: () => {\n this.sidebar.classList.add('display-none');\n },\n });\n }\n\n private openSidebar() {\n animate(this.sidebar, {\n duration: MapNavigation.defaultTime,\n marginLeft: ['-29.75rem', 0],\n opacity: [0, 1],\n easing: 'easeOutSine',\n onBegin: () => {\n this.sidebar.classList.remove('display-none');\n },\n });\n }\n\n /**\n * Open a overlay inside content area\n * @deprecated Will be removed in 2.0.0. Use slot based approach\n *\n * @param name\n * @param component\n * @param icon\n * @param color\n */\n @Method()\n async openOverlay(\n name: string,\n component: HTMLElement,\n icon?: string,\n color?: string\n ) {\n animate(this.overlay, {\n duration: MapNavigation.slowTime,\n backdropFilter: [0, 'blur(1rem)'],\n translateX: ['-4rem', 0],\n opacity: [0, 1],\n easing: 'easeOutSine',\n onBegin: () => {\n this.overlay.classList.remove('display-none');\n },\n });\n\n const overlayInstance = document.createElement('ix-map-navigation-overlay');\n overlayInstance.setAttribute('color', color ?? '');\n overlayInstance.setAttribute('name', name);\n overlayInstance.setAttribute('icon', icon ?? '');\n overlayInstance.setAttribute('slot', 'overlay');\n overlayInstance.addEventListener('closeClick', () => this.closeOverlay());\n overlayInstance.appendChild(component);\n this.hostElement.appendChild(overlayInstance);\n }\n\n /**\n * Close current shown overlay\n * @deprecated Will be removed in 2.0.0. Use slot based approach\n */\n @Method()\n async closeOverlay() {\n animate(this.overlay, {\n duration: MapNavigation.slowTime,\n backdropFilter: ['blur(1rem)', 0],\n translateX: [0, '-4rem'],\n opacity: [1, 0],\n easing: 'easeInSine',\n onComplete: () => {\n if (!this.overlay) {\n return;\n }\n this.overlay.firstChild?.remove();\n this.overlay.classList.add('display-none');\n },\n });\n }\n\n private checkHasContentHeader(e: Event) {\n const nodes = (e.currentTarget as HTMLSlotElement).assignedNodes({\n flatten: true,\n });\n\n this.hasContentHeader = nodes?.length !== 0;\n }\n\n render() {\n return (\n <Host>\n <slot name=\"menu\"></slot>\n <div class=\"map-nav\">\n <div class=\"map-nav-sidebar\">\n <div class=\"map-nav-header\">\n <ix-application-header\n name={this.applicationName}\n class=\"map-nav-header-brand\"\n >\n <slot slot=\"logo\" name=\"logo\"></slot>\n </ix-application-header>\n </div>\n <div class=\"map-nav-sidebar-content\">\n <div class=\"map-nav-sidebar-static-content\">\n <div class=\"map-nav-title\">{this.navigationTitle}</div>\n {this.hideContextMenu ? (\n ''\n ) : (\n <ix-icon-button\n icon={iconContextMenu}\n size=\"24\"\n variant=\"subtle-primary\"\n onClick={(_) => this.contextMenuClick.emit()}\n aria-label={this.ariaLabelContextIconButton}\n ></ix-icon-button>\n )}\n </div>\n <div class=\"map-nav-sidebar-user-content\">\n <slot name=\"sidebar-content\"></slot>\n </div>\n </div>\n </div>\n <div class=\"content\">\n <div\n class={{\n 'map-nav-header-content': true,\n 'bg-2': true,\n empty: !this.hasContentHeader,\n }}\n >\n <slot\n name=\"content-header\"\n onSlotchange={(e) => this.checkHasContentHeader(e)}\n ></slot>\n </div>\n <main>\n <slot></slot>\n <slot name=\"overlay\"></slot>\n </main>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"names":["useContextProvider","ApplicationLayoutContext","animate","h","Host","iconContextMenu"],"mappings":";;;;;;;;AAAA,MAAM,gBAAgB,GAAG,o0FAAo0F;;MC8Bh1F,aAAa,GAAA,MAAA;AAL1B,IAAA,WAAA,CAAA,OAAA,EAAA;;;;AAqBE;;AAEG;AACK,QAAA,IAAe,CAAA,eAAA,GAAG,IAAI;AAoBrB,QAAA,IAAa,CAAA,aAAA,GAAG,IAAI;AACpB,QAAA,IAAgB,CAAA,gBAAA,GAAG,KAAK;AAuNlC;AArNC,IAAA,IAAI,IAAI,GAAA;QACN,OAAO,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,SAAS,CAAE;;AAGnD,IAAA,IAAI,WAAW,GAAA;QACb,OAAO,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,iBAAiB,CAAE;;AAG3D,IAAA,IAAI,UAAU,GAAA;QACZ,OAAO,IAAI,CAAC,WAAW,CAAC,UAAW,CAAC,aAAa,CAAC,eAAe,CAAE;;AAGrE,IAAA,IAAI,OAAO,GAAA;QACT,OAAO,IAAI,CAAC,WAAW,CAAC,UAAW,CAAC,aAAa,CAAC,kBAAkB,CAAE;;AAGxE,IAA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: 'e38ae328fe99752b11b3ad3d7e4b8e550bb6297a' }, index.h("slot", { key: '3878bda15892fcfe137f685743599df2d049b9e8' })));
20
+ return (index.h(index.Host, { key: 'd7fbd6d3eb9261ae581a3fc6aa0d4547835856b0' }, index.h("slot", { key: '7032262b6fd0d7e86f5d290596e3dce0880b10b4' })));
21
21
  }
22
22
  static get watchers() { return {
23
23
  "label": ["watchLabel"]
@@ -26,16 +26,16 @@ const MenuAboutNews = class {
26
26
  this.expanded = false;
27
27
  }
28
28
  render() {
29
- return (index.h(index.Host, { key: '6f2eec672b3e8702c1d8f627d6205952fe3bf6b9', class: {
29
+ return (index.h(index.Host, { key: '95f151ad250c647ad5f14bd4f88d78e46e514ac1', class: {
30
30
  expanded: this.expanded,
31
31
  show: !this.show,
32
- } }, index.h("div", { key: 'e21d67de0af189e3a972e2bbdd92cb8397ef9474', class: "banner-container" }, index.h("ix-icon", { key: 'd5fc587e1d461d2e10b59f18b5445b5d0b5903de', color: "color-inv-contrast-text", name: index$1.iconShout, size: "32" }), index.h("svg", { key: '15f4391c50619871d7486c14254cf98a2c3b761e', viewBox: "0 0 48 56", xmlns: "http://www.w3.org/2000/svg" }, index.h("polygon", { key: 'd9039e1fc57bcc388cef43a73d143ee3fb56e49c', points: "0 0 48 0 48 56 24 48 0 56" }))), index.h("div", { key: '193dd70d01f33252f16a445885d51c2ddc31ff3b', class: "cui-popover-news-header" }, index.h("ix-typography", { key: '7e3a817ac6f5acad1f247ef2245f2ed6e355e7b1', format: "label", bold: true }, this.label)), index.h("ix-icon-button", { key: 'f1efe1cf1d70513f0e6ea74ee9da9e446a7f3df0', size: "24", icon: index$1.iconClose, iconColor: "color-soft-text", variant: "tertiary", onClick: () => {
32
+ } }, index.h("div", { key: '368eaeb12a404db78aef6bcd787253e00c0497c1', class: "banner-container" }, index.h("ix-icon", { key: '900e83916b49ed9193a7c86bd58a41e7afacf030', color: "color-inv-contrast-text", name: index$1.iconShout, size: "32" }), index.h("svg", { key: '9b02bee68663b22c69e77294c34613145a6acae1', viewBox: "0 0 48 56", xmlns: "http://www.w3.org/2000/svg" }, index.h("polygon", { key: '7ca8ba247adefcee66e3b6fb90766e1dac1c24e9', points: "0 0 48 0 48 56 24 48 0 56" }))), index.h("div", { key: 'e51f022a72cbb89f12ae48230e454c420e739d6b', class: "cui-popover-news-header" }, index.h("ix-typography", { key: '7342ce0e0fd3a3468d001f7d4a7f9fb1ded8e4d5', format: "label", bold: true }, this.label)), index.h("ix-icon-button", { key: '78fc5325efc91de0dee537fb08fcef24cf4f2892', size: "24", icon: index$1.iconClose, iconColor: "color-soft-text", variant: "tertiary", onClick: () => {
33
33
  this.show = false;
34
34
  this.closePopover.emit();
35
- } }), index.h("div", { key: 'c99b7f3e62a9f901859e7bc8bf96dc8c3eb64f7b', class: "slot-container" }, index.h("slot", { key: 'bcdae55901e855ef9f60440bfef352720532c1c4' })), this.aboutItemLabel ? (index.h("div", { class: "cui-popover-news-footer" }, index.h("ix-button", { variant: "primary", onClick: (e) => {
35
+ } }), index.h("div", { key: 'a4d2e24f6145159bc37443f0698c44d010cfae9f', class: "slot-container" }, index.h("slot", { key: '3910790a589f986676f96351bc1dee070d9e1c70' })), this.aboutItemLabel ? (index.h("div", { class: "cui-popover-news-footer" }, index.h("ix-button", { variant: "primary", onClick: (e) => {
36
36
  this.show = false;
37
37
  this.showMore.emit(e);
38
- } }, this.i18nShowMore))) : null, index.h("div", { key: 'b0dc0fa5d4eb5cd1469e037ab322c0eda0794ed5', id: "arrow" })));
38
+ } }, this.i18nShowMore))) : null, index.h("div", { key: '57c21fae6edd0514ff8691488e6dc5144d771d3f', id: "arrow" })));
39
39
  }
40
40
  };
41
41
  MenuAboutNews.style = menuAboutNewsCss;