@siemens/ix 2.5.0 → 2.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1456) hide show
  1. package/components/a11y.js +3 -2
  2. package/components/a11y.js.map +1 -1
  3. package/components/application-header.js +3 -3
  4. package/components/avatar.js +12 -4
  5. package/components/avatar.js.map +1 -1
  6. package/components/base-button.js +2 -2
  7. package/components/base-button.js.map +1 -1
  8. package/components/button.js +13 -4
  9. package/components/button.js.map +1 -1
  10. package/components/card-accordion.js +5 -5
  11. package/components/card-accordion.js.map +1 -1
  12. package/components/card-content.js +1 -1
  13. package/components/card-title.js +1 -1
  14. package/components/card.js +4 -4
  15. package/components/card.js.map +1 -1
  16. package/components/col.js +1 -1
  17. package/components/col.js.map +1 -1
  18. package/components/context.js +5 -2
  19. package/components/context.js.map +1 -1
  20. package/components/date-picker.js +65 -43
  21. package/components/date-picker.js.map +1 -1
  22. package/components/date-time-card.js +5 -6
  23. package/components/date-time-card.js.map +1 -1
  24. package/components/divider.js +1 -1
  25. package/components/dropdown-controller.js +28 -12
  26. package/components/dropdown-controller.js.map +1 -1
  27. package/components/dropdown-item.js +3 -3
  28. package/components/dropdown.js +103 -82
  29. package/components/dropdown.js.map +1 -1
  30. package/components/field-label.js +164 -0
  31. package/components/field-label.js.map +1 -0
  32. package/components/field-wrapper.js +97 -0
  33. package/components/field-wrapper.js.map +1 -0
  34. package/components/filter-chip.js +1 -1
  35. package/components/find-element.js +102 -0
  36. package/components/find-element.js.map +1 -0
  37. package/components/group-context-menu.js +1 -1
  38. package/components/group-item.js +2 -2
  39. package/components/helper-text-util.js +41 -0
  40. package/components/helper-text-util.js.map +1 -0
  41. package/components/icon-button.js +2 -2
  42. package/components/icon-button.js.map +1 -1
  43. package/components/index.js +43 -5
  44. package/components/index.js.map +1 -1
  45. package/components/index3.js +21 -0
  46. package/components/index3.js.map +1 -0
  47. package/components/input.util.js +181 -0
  48. package/components/input.util.js.map +1 -0
  49. package/components/ix-action-card.js +1 -1
  50. package/components/ix-action-card.js.map +1 -1
  51. package/components/ix-application-sidebar.js +1 -1
  52. package/components/ix-application-switch-modal.js +1 -1
  53. package/components/ix-application.js +3 -3
  54. package/components/ix-basic-navigation.js +2 -2
  55. package/components/ix-blind.js +5 -5
  56. package/components/ix-blind.js.map +1 -1
  57. package/components/ix-breadcrumb.js +9 -10
  58. package/components/ix-breadcrumb.js.map +1 -1
  59. package/components/ix-card-list.js +10 -7
  60. package/components/ix-card-list.js.map +1 -1
  61. package/components/ix-category-filter.js +152 -82
  62. package/components/ix-category-filter.js.map +1 -1
  63. package/components/{ix-playground-internal.d.ts → ix-checkbox-group.d.ts} +4 -4
  64. package/components/ix-checkbox-group.js +111 -0
  65. package/components/ix-checkbox-group.js.map +1 -0
  66. package/components/ix-checkbox.d.ts +11 -0
  67. package/components/ix-checkbox.js +144 -0
  68. package/components/ix-checkbox.js.map +1 -0
  69. package/components/ix-chip.js +4 -4
  70. package/components/ix-content-header.js +2 -2
  71. package/components/ix-content-header.js.map +1 -1
  72. package/components/ix-content.js +4 -4
  73. package/components/ix-content.js.map +1 -1
  74. package/components/ix-css-grid-item.js +1 -1
  75. package/components/ix-css-grid.js +8 -3
  76. package/components/ix-css-grid.js.map +1 -1
  77. package/components/ix-custom-field.d.ts +11 -0
  78. package/components/ix-custom-field.js +116 -0
  79. package/components/ix-custom-field.js.map +1 -0
  80. package/components/ix-date-dropdown.js +29 -16
  81. package/components/ix-date-dropdown.js.map +1 -1
  82. package/components/{ix-form-field.d.ts → ix-date-input.d.ts} +4 -4
  83. package/components/ix-date-input.js +364 -0
  84. package/components/ix-date-input.js.map +1 -0
  85. package/components/ix-datetime-picker.js +11 -11
  86. package/components/ix-datetime-picker.js.map +1 -1
  87. package/components/ix-drawer.js +28 -24
  88. package/components/ix-drawer.js.map +1 -1
  89. package/components/ix-dropdown-button.js +5 -7
  90. package/components/ix-dropdown-button.js.map +1 -1
  91. package/components/ix-dropdown-header.js +1 -1
  92. package/components/ix-dropdown-header.js.map +1 -1
  93. package/components/ix-dropdown-quick-actions.js +1 -1
  94. package/components/ix-empty-state.js +1 -1
  95. package/components/ix-empty-state.js.map +1 -1
  96. package/components/ix-event-list-item.js +7 -7
  97. package/components/ix-event-list-item.js.map +1 -1
  98. package/components/ix-event-list.js +4 -4
  99. package/components/ix-event-list.js.map +1 -1
  100. package/components/ix-expanding-search.js +4 -4
  101. package/components/ix-field-label.d.ts +11 -0
  102. package/components/ix-field-label.js +8 -0
  103. package/components/ix-field-label.js.map +1 -0
  104. package/components/{ix-modal-example.d.ts → ix-field-wrapper.d.ts} +4 -4
  105. package/components/ix-field-wrapper.js +8 -0
  106. package/components/ix-field-wrapper.js.map +1 -0
  107. package/components/ix-flip-tile-content.js +1 -1
  108. package/components/ix-flip-tile.js +4 -4
  109. package/components/ix-group.js +8 -8
  110. package/components/ix-helper-text.d.ts +11 -0
  111. package/components/ix-helper-text.js +97 -0
  112. package/components/ix-helper-text.js.map +1 -0
  113. package/components/ix-icon-toggle-button.js +2 -3
  114. package/components/ix-icon-toggle-button.js.map +1 -1
  115. package/components/ix-input-group.js +1 -1
  116. package/components/ix-input.d.ts +11 -0
  117. package/components/ix-input.js +221 -0
  118. package/components/ix-input.js.map +1 -0
  119. package/components/ix-key-value-list.js +1 -1
  120. package/components/ix-key-value.js +1 -1
  121. package/components/ix-kpi.js +3 -3
  122. package/components/ix-layout-auto.d.ts +11 -0
  123. package/components/ix-layout-auto.js +110 -0
  124. package/components/ix-layout-auto.js.map +1 -0
  125. package/components/ix-link-button.js +3 -3
  126. package/components/ix-map-navigation.js +2 -2
  127. package/components/ix-menu-about-item.js +1 -1
  128. package/components/ix-menu-about-news.js +4 -4
  129. package/components/ix-menu-about-news.js.map +1 -1
  130. package/components/ix-menu-about.js +1 -1
  131. package/components/ix-menu-avatar.js +2 -2
  132. package/components/ix-menu-category.js +5 -5
  133. package/components/ix-menu-category.js.map +1 -1
  134. package/components/ix-menu-settings-item.js +1 -1
  135. package/components/ix-menu.js +28 -29
  136. package/components/ix-menu.js.map +1 -1
  137. package/components/ix-message-bar.js +1 -1
  138. package/components/ix-modal-footer.js +2 -2
  139. package/components/ix-modal-footer.js.map +1 -1
  140. package/components/ix-modal-loading.js +1 -1
  141. package/components/ix-modal.js +11 -4
  142. package/components/ix-modal.js.map +1 -1
  143. package/components/ix-number-input.d.ts +11 -0
  144. package/components/ix-number-input.js +221 -0
  145. package/components/ix-number-input.js.map +1 -0
  146. package/components/ix-pagination.js +35 -17
  147. package/components/ix-pagination.js.map +1 -1
  148. package/components/ix-pane-layout.js +9 -9
  149. package/components/ix-pane-layout.js.map +1 -1
  150. package/components/ix-pane.js +43 -35
  151. package/components/ix-pane.js.map +1 -1
  152. package/components/ix-pill.js +4 -4
  153. package/components/ix-push-card.js +1 -1
  154. package/components/ix-radio-group.d.ts +11 -0
  155. package/components/ix-radio-group.js +174 -0
  156. package/components/ix-radio-group.js.map +1 -0
  157. package/components/ix-radio.d.ts +11 -0
  158. package/components/ix-radio.js +123 -0
  159. package/components/ix-radio.js.map +1 -0
  160. package/components/ix-slider.js +7 -7
  161. package/components/ix-slider.js.map +1 -1
  162. package/components/ix-split-button-item.js +1 -1
  163. package/components/ix-split-button.js +1 -1
  164. package/components/ix-textarea.d.ts +11 -0
  165. package/components/ix-textarea.js +179 -0
  166. package/components/ix-textarea.js.map +1 -0
  167. package/components/ix-tile.js +4 -4
  168. package/components/ix-toast-container.js +2 -2
  169. package/components/ix-toggle-button.js +2 -2
  170. package/components/ix-toggle.js +43 -5
  171. package/components/ix-toggle.js.map +1 -1
  172. package/components/ix-tree.js +1 -1
  173. package/components/ix-upload.js +61 -5
  174. package/components/ix-upload.js.map +1 -1
  175. package/components/ix-validation-tooltip.js +2 -2
  176. package/components/ix-workflow-step.js +3 -3
  177. package/components/ix-workflow-steps.js +1 -1
  178. package/components/layout-grid.js +2 -2
  179. package/components/layout-grid.js.map +1 -1
  180. package/components/listener.js +1 -1
  181. package/components/listener.js.map +1 -1
  182. package/components/make-ref.js +7 -12
  183. package/components/make-ref.js.map +1 -1
  184. package/components/map-navigation-overlay.js +2 -2
  185. package/components/menu-avatar-item.js +1 -1
  186. package/components/menu-expand-icon.js +1 -1
  187. package/components/menu-item.js +7 -6
  188. package/components/menu-item.js.map +1 -1
  189. package/components/menu-tabs-fc.js +17 -14
  190. package/components/menu-tabs-fc.js.map +1 -1
  191. package/components/modal-content.js +2 -2
  192. package/components/modal-content.js.map +1 -1
  193. package/components/modal-header.js +2 -2
  194. package/components/modal-header.js.map +1 -1
  195. package/components/modal.js +3 -1
  196. package/components/modal.js.map +1 -1
  197. package/components/row.js +1 -1
  198. package/components/select-item.js +27 -5
  199. package/components/select-item.js.map +1 -1
  200. package/components/select.js +196 -67
  201. package/components/select.js.map +1 -1
  202. package/components/spinner.js +4 -8
  203. package/components/spinner.js.map +1 -1
  204. package/components/tab-item.js +3 -3
  205. package/components/tabs.js +2 -2
  206. package/components/theme-switcher.js +1 -0
  207. package/components/theme-switcher.js.map +1 -1
  208. package/components/time-picker.js +39 -19
  209. package/components/time-picker.js.map +1 -1
  210. package/components/toast.js +2 -2
  211. package/components/tooltip.js +5 -4
  212. package/components/tooltip.js.map +1 -1
  213. package/components/tree-item.js +4 -4
  214. package/components/typography.js +3 -25
  215. package/components/typography.js.map +1 -1
  216. package/components/validation.js +112 -0
  217. package/components/validation.js.map +1 -0
  218. package/dist/cjs/{a11y-eba397e8.js → a11y-ae470f01.js} +4 -3
  219. package/dist/cjs/a11y-ae470f01.js.map +1 -0
  220. package/dist/cjs/app-globals-3c9c6a50.js +9 -0
  221. package/dist/cjs/app-globals-3c9c6a50.js.map +1 -0
  222. package/dist/cjs/{base-button-3735b8c2.js → base-button-119d9368.js} +4 -4
  223. package/dist/cjs/base-button-119d9368.js.map +1 -0
  224. package/dist/cjs/{base-icon-button-44c72bc8.js → base-icon-button-d09d934e.js} +3 -3
  225. package/dist/cjs/{base-icon-button-44c72bc8.js.map → base-icon-button-d09d934e.js.map} +1 -1
  226. package/dist/cjs/{context-938f7470.js → context-6644f454.js} +6 -3
  227. package/dist/cjs/context-6644f454.js.map +1 -0
  228. package/dist/cjs/disposable-event-listener-1ed769b9.js +20 -0
  229. package/dist/cjs/disposable-event-listener-1ed769b9.js.map +1 -0
  230. package/dist/cjs/{dropdown-controller-5ef3d018.js → dropdown-controller-aef51729.js} +28 -13
  231. package/dist/cjs/dropdown-controller-aef51729.js.map +1 -0
  232. package/dist/cjs/find-element-8e586600.js +105 -0
  233. package/dist/cjs/find-element-8e586600.js.map +1 -0
  234. package/dist/cjs/{focus-9c8ffbb0.js → focus-935fb067.js} +22 -18
  235. package/dist/cjs/focus-935fb067.js.map +1 -0
  236. package/dist/cjs/helper-text-util-3192e78f.js +44 -0
  237. package/dist/cjs/helper-text-util-3192e78f.js.map +1 -0
  238. package/dist/cjs/{index-c4629a8d.js → index-74904d8b.js} +2 -2
  239. package/dist/cjs/{index-c4629a8d.js.map → index-74904d8b.js.map} +1 -1
  240. package/dist/cjs/{index-529f21c1.js → index-757233c7.js} +86 -171
  241. package/dist/cjs/index-757233c7.js.map +1 -0
  242. package/dist/cjs/index-d2117dc0.js +38 -0
  243. package/dist/cjs/index-d2117dc0.js.map +1 -0
  244. package/dist/cjs/index.cjs.js +21 -2
  245. package/dist/cjs/index.cjs.js.map +1 -1
  246. package/dist/cjs/input.util-1c2fa43d.js +192 -0
  247. package/dist/cjs/input.util-1c2fa43d.js.map +1 -0
  248. package/dist/cjs/ix-action-card.cjs.entry.js +2 -2
  249. package/dist/cjs/ix-action-card.cjs.entry.js.map +1 -1
  250. package/dist/cjs/ix-application-header.cjs.entry.js +7 -7
  251. package/dist/cjs/ix-application-sidebar.cjs.entry.js +2 -2
  252. package/dist/cjs/ix-application-switch-modal.cjs.entry.js +3 -3
  253. package/dist/cjs/ix-application.cjs.entry.js +6 -6
  254. package/dist/cjs/ix-avatar_2.cjs.entry.js +16 -8
  255. package/dist/cjs/ix-avatar_2.cjs.entry.js.map +1 -1
  256. package/dist/cjs/ix-basic-navigation.cjs.entry.js +4 -4
  257. package/dist/cjs/ix-blind.cjs.entry.js +7 -7
  258. package/dist/cjs/ix-blind.cjs.entry.js.map +1 -1
  259. package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +3 -3
  260. package/dist/cjs/ix-breadcrumb.cjs.entry.js +11 -10
  261. package/dist/cjs/ix-breadcrumb.cjs.entry.js.map +1 -1
  262. package/dist/cjs/ix-button.cjs.entry.js +14 -5
  263. package/dist/cjs/ix-button.cjs.entry.js.map +1 -1
  264. package/dist/cjs/ix-card-accordion_2.cjs.entry.js +7 -7
  265. package/dist/cjs/ix-card-accordion_2.cjs.entry.js.map +1 -1
  266. package/dist/cjs/ix-card-list.cjs.entry.js +11 -8
  267. package/dist/cjs/ix-card-list.cjs.entry.js.map +1 -1
  268. package/dist/cjs/ix-card_2.cjs.entry.js +6 -6
  269. package/dist/cjs/ix-card_2.cjs.entry.js.map +1 -1
  270. package/dist/cjs/ix-category-filter.cjs.entry.js +154 -82
  271. package/dist/cjs/ix-category-filter.cjs.entry.js.map +1 -1
  272. package/dist/cjs/ix-checkbox-group.cjs.entry.js +60 -0
  273. package/dist/cjs/ix-checkbox-group.cjs.entry.js.map +1 -0
  274. package/dist/cjs/ix-checkbox.cjs.entry.js +117 -0
  275. package/dist/cjs/ix-checkbox.cjs.entry.js.map +1 -0
  276. package/dist/cjs/ix-chip.cjs.entry.js +5 -5
  277. package/dist/cjs/ix-col_4.cjs.entry.js +75 -49
  278. package/dist/cjs/ix-col_4.cjs.entry.js.map +1 -1
  279. package/dist/cjs/ix-content-header.cjs.entry.js +3 -3
  280. package/dist/cjs/ix-content-header.cjs.entry.js.map +1 -1
  281. package/dist/cjs/ix-content.cjs.entry.js +5 -5
  282. package/dist/cjs/ix-content.cjs.entry.js.map +1 -1
  283. package/dist/cjs/ix-css-grid-item.cjs.entry.js +2 -2
  284. package/dist/cjs/ix-css-grid.cjs.entry.js +9 -4
  285. package/dist/cjs/ix-css-grid.cjs.entry.js.map +1 -1
  286. package/dist/cjs/ix-custom-field.cjs.entry.js +65 -0
  287. package/dist/cjs/ix-custom-field.cjs.entry.js.map +1 -0
  288. package/dist/cjs/ix-date-dropdown.cjs.entry.js +28 -16
  289. package/dist/cjs/ix-date-dropdown.cjs.entry.js.map +1 -1
  290. package/dist/cjs/ix-date-input.cjs.entry.js +266 -0
  291. package/dist/cjs/ix-date-input.cjs.entry.js.map +1 -0
  292. package/dist/cjs/ix-date-time-card.cjs.entry.js +5 -6
  293. package/dist/cjs/ix-date-time-card.cjs.entry.js.map +1 -1
  294. package/dist/cjs/ix-datetime-picker.cjs.entry.js +11 -11
  295. package/dist/cjs/ix-datetime-picker.cjs.entry.js.map +1 -1
  296. package/dist/cjs/ix-divider.cjs.entry.js +2 -2
  297. package/dist/cjs/ix-drawer.cjs.entry.js +29 -25
  298. package/dist/cjs/ix-drawer.cjs.entry.js.map +1 -1
  299. package/dist/cjs/ix-dropdown-button.cjs.entry.js +5 -6
  300. package/dist/cjs/ix-dropdown-button.cjs.entry.js.map +1 -1
  301. package/dist/cjs/ix-dropdown-header.cjs.entry.js +2 -2
  302. package/dist/cjs/ix-dropdown-header.cjs.entry.js.map +1 -1
  303. package/dist/cjs/ix-dropdown-item.cjs.entry.js +4 -4
  304. package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +2 -2
  305. package/dist/cjs/ix-dropdown.cjs.entry.js +71 -67
  306. package/dist/cjs/ix-dropdown.cjs.entry.js.map +1 -1
  307. package/dist/cjs/ix-empty-state.cjs.entry.js +2 -2
  308. package/dist/cjs/ix-empty-state.cjs.entry.js.map +1 -1
  309. package/dist/cjs/ix-event-list-item.cjs.entry.js +9 -9
  310. package/dist/cjs/ix-event-list-item.cjs.entry.js.map +1 -1
  311. package/dist/cjs/ix-event-list.cjs.entry.js +5 -5
  312. package/dist/cjs/ix-event-list.cjs.entry.js.map +1 -1
  313. package/dist/cjs/ix-expanding-search.cjs.entry.js +5 -5
  314. package/dist/cjs/{ix-tooltip.cjs.entry.js → ix-field-label_3.cjs.entry.js} +184 -7
  315. package/dist/cjs/ix-field-label_3.cjs.entry.js.map +1 -0
  316. package/dist/cjs/ix-filter-chip_2.cjs.entry.js +28 -7
  317. package/dist/cjs/ix-filter-chip_2.cjs.entry.js.map +1 -1
  318. package/dist/cjs/ix-flip-tile-content.cjs.entry.js +2 -2
  319. package/dist/cjs/ix-flip-tile.cjs.entry.js +5 -5
  320. package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +4 -4
  321. package/dist/cjs/ix-group.cjs.entry.js +9 -9
  322. package/dist/cjs/ix-helper-text.cjs.entry.js +70 -0
  323. package/dist/cjs/ix-helper-text.cjs.entry.js.map +1 -0
  324. package/dist/cjs/ix-icon-button_2.cjs.entry.js +10 -14
  325. package/dist/cjs/ix-icon-button_2.cjs.entry.js.map +1 -1
  326. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +6 -7
  327. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js.map +1 -1
  328. package/dist/cjs/ix-input-group.cjs.entry.js +2 -2
  329. package/dist/cjs/ix-input.cjs.entry.js +149 -0
  330. package/dist/cjs/ix-input.cjs.entry.js.map +1 -0
  331. package/dist/cjs/ix-key-value-list.cjs.entry.js +2 -2
  332. package/dist/cjs/ix-key-value.cjs.entry.js +2 -2
  333. package/dist/cjs/ix-kpi.cjs.entry.js +4 -4
  334. package/dist/cjs/ix-layout-auto.cjs.entry.js +92 -0
  335. package/dist/cjs/ix-layout-auto.cjs.entry.js.map +1 -0
  336. package/dist/cjs/ix-link-button.cjs.entry.js +4 -4
  337. package/dist/cjs/ix-map-navigation-overlay.cjs.entry.js +3 -3
  338. package/dist/cjs/ix-map-navigation.cjs.entry.js +4 -4
  339. package/dist/cjs/ix-menu-about-item.cjs.entry.js +2 -2
  340. package/dist/cjs/ix-menu-about-news.cjs.entry.js +5 -5
  341. package/dist/cjs/ix-menu-about-news.cjs.entry.js.map +1 -1
  342. package/dist/cjs/ix-menu-about.cjs.entry.js +3 -3
  343. package/dist/cjs/ix-menu-avatar.cjs.entry.js +3 -3
  344. package/dist/cjs/ix-menu-category.cjs.entry.js +7 -7
  345. package/dist/cjs/ix-menu-category.cjs.entry.js.map +1 -1
  346. package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +4 -4
  347. package/dist/cjs/ix-menu-item.cjs.entry.js +9 -8
  348. package/dist/cjs/ix-menu-item.cjs.entry.js.map +1 -1
  349. package/dist/cjs/ix-menu-settings-item.cjs.entry.js +2 -2
  350. package/dist/cjs/ix-menu-settings.cjs.entry.js +2 -2
  351. package/dist/cjs/ix-menu.cjs.entry.js +33 -33
  352. package/dist/cjs/ix-menu.cjs.entry.js.map +1 -1
  353. package/dist/cjs/ix-message-bar.cjs.entry.js +2 -2
  354. package/dist/cjs/ix-modal-content_2.cjs.entry.js +5 -5
  355. package/dist/cjs/ix-modal-content_2.cjs.entry.js.map +1 -1
  356. package/dist/cjs/ix-modal-footer.cjs.entry.js +3 -3
  357. package/dist/cjs/ix-modal-footer.cjs.entry.js.map +1 -1
  358. package/dist/cjs/ix-modal-loading.cjs.entry.js +2 -2
  359. package/dist/cjs/ix-modal.cjs.entry.js +14 -7
  360. package/dist/cjs/ix-modal.cjs.entry.js.map +1 -1
  361. package/dist/cjs/ix-number-input.cjs.entry.js +152 -0
  362. package/dist/cjs/ix-number-input.cjs.entry.js.map +1 -0
  363. package/dist/cjs/ix-pagination.cjs.entry.js +6 -6
  364. package/dist/cjs/ix-pagination.cjs.entry.js.map +1 -1
  365. package/dist/cjs/ix-pane-layout.cjs.entry.js +10 -10
  366. package/dist/cjs/ix-pane-layout.cjs.entry.js.map +1 -1
  367. package/dist/cjs/ix-pane.cjs.entry.js +43 -35
  368. package/dist/cjs/ix-pane.cjs.entry.js.map +1 -1
  369. package/dist/cjs/ix-pill.cjs.entry.js +5 -5
  370. package/dist/cjs/ix-push-card.cjs.entry.js +2 -2
  371. package/dist/cjs/ix-radio-group.cjs.entry.js +120 -0
  372. package/dist/cjs/ix-radio-group.cjs.entry.js.map +1 -0
  373. package/dist/cjs/ix-radio.cjs.entry.js +98 -0
  374. package/dist/cjs/ix-radio.cjs.entry.js.map +1 -0
  375. package/dist/cjs/ix-select.cjs.entry.js +150 -53
  376. package/dist/cjs/ix-select.cjs.entry.js.map +1 -1
  377. package/dist/cjs/ix-slider.cjs.entry.js +10 -10
  378. package/dist/cjs/ix-slider.cjs.entry.js.map +1 -1
  379. package/dist/cjs/ix-split-button-item.cjs.entry.js +3 -3
  380. package/dist/cjs/ix-split-button.cjs.entry.js +2 -2
  381. package/dist/cjs/ix-tab-item_2.cjs.entry.js +6 -6
  382. package/dist/cjs/ix-textarea.cjs.entry.js +120 -0
  383. package/dist/cjs/ix-textarea.cjs.entry.js.map +1 -0
  384. package/dist/cjs/ix-tile.cjs.entry.js +5 -5
  385. package/dist/cjs/ix-time-picker.cjs.entry.js +40 -20
  386. package/dist/cjs/ix-time-picker.cjs.entry.js.map +1 -1
  387. package/dist/cjs/ix-toast-container.cjs.entry.js +3 -3
  388. package/dist/cjs/ix-toast.cjs.entry.js +3 -3
  389. package/dist/cjs/ix-toggle-button.cjs.entry.js +5 -5
  390. package/dist/cjs/ix-toggle.cjs.entry.js +42 -5
  391. package/dist/cjs/ix-toggle.cjs.entry.js.map +1 -1
  392. package/dist/cjs/ix-tree-item.cjs.entry.js +5 -5
  393. package/dist/cjs/ix-tree.cjs.entry.js +3 -3
  394. package/dist/cjs/ix-typography.cjs.entry.js +4 -25
  395. package/dist/cjs/ix-typography.cjs.entry.js.map +1 -1
  396. package/dist/cjs/ix-upload.cjs.entry.js +60 -6
  397. package/dist/cjs/ix-upload.cjs.entry.js.map +1 -1
  398. package/dist/cjs/ix-validation-tooltip.cjs.entry.js +3 -3
  399. package/dist/cjs/ix-workflow-step.cjs.entry.js +4 -4
  400. package/dist/cjs/ix-workflow-steps.cjs.entry.js +2 -2
  401. package/dist/cjs/{listener-a124ed49.js → listener-9ec23f49.js} +3 -3
  402. package/dist/cjs/listener-9ec23f49.js.map +1 -0
  403. package/dist/cjs/loader.cjs.js +4 -3
  404. package/dist/cjs/loader.cjs.js.map +1 -1
  405. package/dist/cjs/{make-ref-c25629b7.js → make-ref-499e1e41.js} +8 -13
  406. package/dist/cjs/make-ref-499e1e41.js.map +1 -0
  407. package/dist/cjs/{menu-tabs-fc-df53f176.js → menu-tabs-fc-eb899b0d.js} +19 -16
  408. package/dist/cjs/menu-tabs-fc-eb899b0d.js.map +1 -0
  409. package/dist/cjs/{modal-828cb80a.js → modal-a49409aa.js} +4 -2
  410. package/dist/cjs/modal-a49409aa.js.map +1 -0
  411. package/dist/cjs/{app-globals-5cfdf2a0.js → setup-86b7d543.js} +20 -5
  412. package/dist/cjs/setup-86b7d543.js.map +1 -0
  413. package/dist/cjs/siemens-ix.cjs.js +4 -3
  414. package/dist/cjs/siemens-ix.cjs.js.map +1 -1
  415. package/dist/cjs/{theme-switcher-2d2bde85.js → theme-switcher-88b70d73.js} +2 -1
  416. package/dist/cjs/theme-switcher-88b70d73.js.map +1 -0
  417. package/dist/cjs/validation-1e3dd5ee.js +117 -0
  418. package/dist/cjs/validation-1e3dd5ee.js.map +1 -0
  419. package/dist/collection/collection-manifest.json +15 -5
  420. package/dist/collection/components/action-card/action-card.js +3 -3
  421. package/dist/collection/components/action-card/action-card.js.map +1 -1
  422. package/dist/collection/components/application/application.js +4 -4
  423. package/dist/collection/components/application-header/application-header.js +3 -3
  424. package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.js +1 -1
  425. package/dist/collection/components/application-sidebar/application-sidebar.js +1 -1
  426. package/dist/collection/components/avatar/avatar.css +1 -1
  427. package/dist/collection/components/avatar/avatar.js +15 -7
  428. package/dist/collection/components/avatar/avatar.js.map +1 -1
  429. package/dist/collection/components/basic-navigation/basic-navigation.js +2 -2
  430. package/dist/collection/components/blind/blind.js +8 -8
  431. package/dist/collection/components/blind/blind.js.map +1 -1
  432. package/dist/collection/components/breadcrumb/breadcrumb.js +9 -10
  433. package/dist/collection/components/breadcrumb/breadcrumb.js.map +1 -1
  434. package/dist/collection/components/breadcrumb/test/breadcrumb.ct.js +2 -1
  435. package/dist/collection/components/breadcrumb/test/breadcrumb.ct.js.map +1 -1
  436. package/dist/collection/components/button/base-button.js +2 -2
  437. package/dist/collection/components/button/base-button.js.map +1 -1
  438. package/dist/collection/components/button/button.js +22 -4
  439. package/dist/collection/components/button/button.js.map +1 -1
  440. package/dist/collection/components/card/card.css +26 -10
  441. package/dist/collection/components/card/card.js +5 -4
  442. package/dist/collection/components/card/card.js.map +1 -1
  443. package/dist/collection/components/card-accordion/card-accordion.js +5 -5
  444. package/dist/collection/components/card-accordion/card-accordion.js.map +1 -1
  445. package/dist/collection/components/card-content/card-content.js +1 -1
  446. package/dist/collection/components/card-list/card-list.css +1 -1
  447. package/dist/collection/components/card-list/card-list.js +12 -9
  448. package/dist/collection/components/card-list/card-list.js.map +1 -1
  449. package/dist/collection/components/card-title/card-title.js +1 -1
  450. package/dist/collection/components/category-filter/category-filter.css +300 -36
  451. package/dist/collection/components/category-filter/category-filter.js +165 -80
  452. package/dist/collection/components/category-filter/category-filter.js.map +1 -1
  453. package/dist/collection/components/category-filter/test/category-filter.ct.js +15 -5
  454. package/dist/collection/components/category-filter/test/category-filter.ct.js.map +1 -1
  455. package/dist/collection/components/checkbox/checkbox.css +423 -0
  456. package/dist/collection/components/checkbox/checkbox.js +326 -0
  457. package/dist/collection/components/checkbox/checkbox.js.map +1 -0
  458. package/dist/collection/components/checkbox/tests/checkbox.ct.js +44 -0
  459. package/dist/collection/components/checkbox/tests/checkbox.ct.js.map +1 -0
  460. package/dist/collection/components/checkbox-group/checkbox-group.css +38 -0
  461. package/dist/collection/components/checkbox-group/checkbox-group.js +213 -0
  462. package/dist/collection/components/checkbox-group/checkbox-group.js.map +1 -0
  463. package/dist/collection/components/chip/chip.js +4 -4
  464. package/dist/collection/components/col/col.js +1 -1
  465. package/dist/collection/components/col/col.js.map +1 -1
  466. package/dist/collection/components/content/content.css +1 -0
  467. package/dist/collection/components/content/content.js +3 -3
  468. package/dist/collection/components/content/content.js.map +1 -1
  469. package/dist/collection/components/content-header/content-header.css +6 -3
  470. package/dist/collection/components/content-header/content-header.js +2 -2
  471. package/dist/collection/components/content-header/content-header.js.map +1 -1
  472. package/dist/collection/components/css-grid/css-grid-item.js +1 -1
  473. package/dist/collection/components/css-grid/css-grid.js +9 -4
  474. package/dist/collection/components/css-grid/css-grid.js.map +1 -1
  475. package/dist/collection/components/custom-field/custom-field.css +15 -0
  476. package/dist/collection/components/custom-field/custom-field.js +216 -0
  477. package/dist/collection/components/custom-field/custom-field.js.map +1 -0
  478. package/dist/collection/components/custom-field/tests/custom-field.ct.js +68 -0
  479. package/dist/collection/components/custom-field/tests/custom-field.ct.js.map +1 -0
  480. package/dist/collection/components/date-dropdown/date-dropdown.css +1 -1
  481. package/dist/collection/components/date-dropdown/date-dropdown.js +76 -20
  482. package/dist/collection/components/date-dropdown/date-dropdown.js.map +1 -1
  483. package/dist/collection/components/date-input/date-input.css +1126 -0
  484. package/dist/collection/components/date-input/date-input.js +743 -0
  485. package/dist/collection/components/date-input/date-input.js.map +1 -0
  486. package/dist/collection/components/date-input/tests/date-input.ct.js +114 -0
  487. package/dist/collection/components/date-input/tests/date-input.ct.js.map +1 -0
  488. package/dist/collection/components/date-picker/date-picker-component.js +2 -0
  489. package/dist/collection/components/date-picker/date-picker-component.js.map +1 -0
  490. package/dist/collection/components/date-picker/date-picker.css +26 -10
  491. package/dist/collection/components/date-picker/date-picker.js +74 -50
  492. package/dist/collection/components/date-picker/date-picker.js.map +1 -1
  493. package/dist/collection/components/date-picker/test/date-picker.ct.js +22 -0
  494. package/dist/collection/components/date-picker/test/date-picker.ct.js.map +1 -1
  495. package/dist/collection/components/date-time-card/date-time-card.css +1 -1
  496. package/dist/collection/components/date-time-card/date-time-card.js +8 -10
  497. package/dist/collection/components/date-time-card/date-time-card.js.map +1 -1
  498. package/dist/collection/components/datetime-picker/datetime-picker.css +23 -11
  499. package/dist/collection/components/datetime-picker/datetime-picker.js +24 -25
  500. package/dist/collection/components/datetime-picker/datetime-picker.js.map +1 -1
  501. package/dist/collection/components/divider/divider.js +1 -1
  502. package/dist/collection/components/drawer/drawer.css +0 -3
  503. package/dist/collection/components/drawer/drawer.js +27 -23
  504. package/dist/collection/components/drawer/drawer.js.map +1 -1
  505. package/dist/collection/components/drawer/test/drawer.spec.js +2 -2
  506. package/dist/collection/components/drawer/test/drawer.spec.js.map +1 -1
  507. package/dist/collection/components/dropdown/dropdown-controller.js +27 -15
  508. package/dist/collection/components/dropdown/dropdown-controller.js.map +1 -1
  509. package/dist/collection/components/dropdown/dropdown.js +105 -82
  510. package/dist/collection/components/dropdown/dropdown.js.map +1 -1
  511. package/dist/collection/components/dropdown/test/dropdown.ct.js +19 -8
  512. package/dist/collection/components/dropdown/test/dropdown.ct.js.map +1 -1
  513. package/dist/collection/components/dropdown-button/dropdown-button.js +7 -13
  514. package/dist/collection/components/dropdown-button/dropdown-button.js.map +1 -1
  515. package/dist/collection/components/dropdown-header/dropdown-header.js +1 -1
  516. package/dist/collection/components/dropdown-header/dropdown-header.js.map +1 -1
  517. package/dist/collection/components/dropdown-item/dropdown-item.js +3 -3
  518. package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js +1 -1
  519. package/dist/collection/components/empty-state/empty-state.js +1 -1
  520. package/dist/collection/components/empty-state/empty-state.js.map +1 -1
  521. package/dist/collection/components/event-list/event-list.css +0 -6
  522. package/dist/collection/components/event-list/event-list.js +5 -4
  523. package/dist/collection/components/event-list/event-list.js.map +1 -1
  524. package/dist/collection/components/event-list-item/event-list-item.js +15 -12
  525. package/dist/collection/components/event-list-item/event-list-item.js.map +1 -1
  526. package/dist/collection/components/expanding-search/expanding-search.js +4 -4
  527. package/dist/collection/components/field-label/field-label.css +14 -0
  528. package/dist/collection/components/field-label/field-label.js +230 -0
  529. package/dist/collection/components/field-label/field-label.js.map +1 -0
  530. package/dist/collection/components/field-label/tests/field-label.ct.js +113 -0
  531. package/dist/collection/components/field-label/tests/field-label.ct.js.map +1 -0
  532. package/dist/collection/components/field-wrapper/field-wrapper.css +62 -0
  533. package/dist/collection/components/field-wrapper/field-wrapper.js +317 -0
  534. package/dist/collection/components/field-wrapper/field-wrapper.js.map +1 -0
  535. package/dist/collection/components/field-wrapper/helper-text-util.js +29 -0
  536. package/dist/collection/components/field-wrapper/helper-text-util.js.map +1 -0
  537. package/dist/collection/components/field-wrapper/tests/field-wrapper.ct.js +63 -0
  538. package/dist/collection/components/field-wrapper/tests/field-wrapper.ct.js.map +1 -0
  539. package/dist/collection/components/filter-chip/filter-chip.js +1 -1
  540. package/dist/collection/components/flip-tile/flip-tile.js +4 -4
  541. package/dist/collection/components/flip-tile-content/flip-tile-content.js +1 -1
  542. package/dist/collection/components/group/group-context-menu.js +1 -1
  543. package/dist/collection/components/group/group.js +8 -8
  544. package/dist/collection/components/group-item/group-item.js +2 -2
  545. package/dist/collection/components/helper-text/helper-text.css +34 -0
  546. package/dist/collection/components/helper-text/helper-text.js +179 -0
  547. package/dist/collection/components/helper-text/helper-text.js.map +1 -0
  548. package/dist/collection/components/icon-button/icon-button.css +0 -15
  549. package/dist/collection/components/icon-button/icon-button.js +1 -1
  550. package/dist/collection/components/icon-toggle-button/icon-toggle-button.css +0 -15
  551. package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +1 -2
  552. package/dist/collection/components/icon-toggle-button/icon-toggle-button.js.map +1 -1
  553. package/dist/collection/components/input/input.animation.js +36 -0
  554. package/dist/collection/components/input/input.animation.js.map +1 -0
  555. package/dist/collection/components/input/input.css +1087 -0
  556. package/dist/collection/components/input/input.fc.js +42 -0
  557. package/dist/collection/components/input/input.fc.js.map +1 -0
  558. package/dist/collection/components/input/input.js +608 -0
  559. package/dist/collection/components/input/input.js.map +1 -0
  560. package/dist/collection/components/input/input.util.js +103 -0
  561. package/dist/collection/components/input/input.util.js.map +1 -0
  562. package/dist/collection/components/{form-field/form-field.css → input/number-input.css} +348 -15
  563. package/dist/collection/components/input/number-input.js +606 -0
  564. package/dist/collection/components/input/number-input.js.map +1 -0
  565. package/dist/collection/components/input/tests/form-ready.ct.js +63 -0
  566. package/dist/collection/components/input/tests/form-ready.ct.js.map +1 -0
  567. package/dist/collection/components/input/textarea.css +649 -0
  568. package/dist/collection/components/input/textarea.js +615 -0
  569. package/dist/collection/components/input/textarea.js.map +1 -0
  570. package/dist/collection/components/input-group/input-group.js +1 -1
  571. package/dist/collection/components/key-value/key-value.js +1 -1
  572. package/dist/collection/components/key-value-list/key-value-list.js +1 -1
  573. package/dist/collection/components/kpi/kpi.js +3 -3
  574. package/dist/collection/components/layout-auto/layout-auto.css +16 -0
  575. package/dist/collection/components/layout-auto/layout-auto.js +122 -0
  576. package/dist/collection/components/layout-auto/layout-auto.js.map +1 -0
  577. package/dist/collection/components/{grid → layout-grid}/layout-grid.js +2 -2
  578. package/dist/collection/components/layout-grid/layout-grid.js.map +1 -0
  579. package/dist/collection/components/link-button/link-button.js +3 -3
  580. package/dist/collection/components/map-navigation/map-navigation.js +2 -2
  581. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +2 -2
  582. package/dist/collection/components/menu/menu-expand-icon.js +1 -1
  583. package/dist/collection/components/menu/menu.js +29 -30
  584. package/dist/collection/components/menu/menu.js.map +1 -1
  585. package/dist/collection/components/menu-about/menu-about.js +1 -1
  586. package/dist/collection/components/menu-about/test/menu-about.ct.js +44 -0
  587. package/dist/collection/components/menu-about/test/menu-about.ct.js.map +1 -0
  588. package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
  589. package/dist/collection/components/menu-about-news/menu-about-news.js +4 -4
  590. package/dist/collection/components/menu-about-news/menu-about-news.js.map +1 -1
  591. package/dist/collection/components/menu-avatar/menu-avatar.js +2 -2
  592. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
  593. package/dist/collection/components/menu-category/menu-category.js +5 -5
  594. package/dist/collection/components/menu-category/menu-category.js.map +1 -1
  595. package/dist/collection/components/menu-item/menu-item.js +7 -6
  596. package/dist/collection/components/menu-item/menu-item.js.map +1 -1
  597. package/dist/collection/components/menu-settings/menu-settings.js +1 -1
  598. package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
  599. package/dist/collection/components/message-bar/message-bar.js +1 -1
  600. package/dist/collection/components/modal/modal.css +1 -1
  601. package/dist/collection/components/modal/modal.js +10 -3
  602. package/dist/collection/components/modal/modal.js.map +1 -1
  603. package/dist/collection/components/modal/test/modal.ct.js +46 -0
  604. package/dist/collection/components/modal/test/modal.ct.js.map +1 -1
  605. package/dist/collection/components/modal-content/modal-content.css +1 -1
  606. package/dist/collection/components/modal-content/modal-content.js +1 -1
  607. package/dist/collection/components/modal-footer/modal-footer.css +0 -1
  608. package/dist/collection/components/modal-footer/modal-footer.js +1 -1
  609. package/dist/collection/components/modal-header/modal-header.css +6 -7
  610. package/dist/collection/components/modal-header/modal-header.js +3 -3
  611. package/dist/collection/components/modal-header/modal-header.js.map +1 -1
  612. package/dist/collection/components/modal-loading/modal-loading.js +1 -1
  613. package/dist/collection/components/pagination/pagination.css +0 -15
  614. package/dist/collection/components/pagination/pagination.js +2 -2
  615. package/dist/collection/components/pagination/pagination.js.map +1 -1
  616. package/dist/collection/components/pane/pane.js +46 -38
  617. package/dist/collection/components/pane/pane.js.map +1 -1
  618. package/dist/collection/components/pane/test/panes.ct.js +24 -0
  619. package/dist/collection/components/pane/test/panes.ct.js.map +1 -1
  620. package/dist/collection/components/pane-layout/pane-layout.js +9 -9
  621. package/dist/collection/components/pane-layout/pane-layout.js.map +1 -1
  622. package/dist/collection/components/pill/pill.js +4 -4
  623. package/dist/collection/components/push-card/push-card.js +1 -1
  624. package/dist/collection/components/radio/radio.css +430 -0
  625. package/dist/collection/components/radio/radio.js +278 -0
  626. package/dist/collection/components/radio/radio.js.map +1 -0
  627. package/dist/collection/components/radio/test/radio.ct.js +36 -0
  628. package/dist/collection/components/radio/test/radio.ct.js.map +1 -0
  629. package/dist/collection/components/radio-group/radio-group.css +38 -0
  630. package/dist/collection/components/radio-group/radio-group.js +326 -0
  631. package/dist/collection/components/radio-group/radio-group.js.map +1 -0
  632. package/dist/collection/components/radio-group/test/radio-group.ct.js +100 -0
  633. package/dist/collection/components/radio-group/test/radio-group.ct.js.map +1 -0
  634. package/dist/collection/components/row/row.js +1 -1
  635. package/dist/collection/components/select/select.css +58 -0
  636. package/dist/collection/components/select/select.js +439 -56
  637. package/dist/collection/components/select/select.js.map +1 -1
  638. package/dist/collection/components/select/test/select.ct.js +59 -9
  639. package/dist/collection/components/select/test/select.ct.js.map +1 -1
  640. package/dist/collection/components/select-item/events.js +8 -0
  641. package/dist/collection/components/select-item/events.js.map +1 -1
  642. package/dist/collection/components/select-item/select-item.js +22 -7
  643. package/dist/collection/components/select-item/select-item.js.map +1 -1
  644. package/dist/collection/components/slider/slider.js +7 -7
  645. package/dist/collection/components/slider/slider.js.map +1 -1
  646. package/dist/collection/components/spinner/spinner.css +140 -125
  647. package/dist/collection/components/spinner/spinner.js +3 -7
  648. package/dist/collection/components/spinner/spinner.js.map +1 -1
  649. package/dist/collection/components/split-button/split-button.js +1 -1
  650. package/dist/collection/components/split-button-item/split-button-item.js +1 -1
  651. package/dist/collection/components/tab-item/tab-item.js +3 -3
  652. package/dist/collection/components/tabs/tabs.js +2 -2
  653. package/dist/collection/components/tile/tile.js +4 -4
  654. package/dist/collection/components/time-picker/time-picker.css +174 -16
  655. package/dist/collection/components/time-picker/time-picker.js +38 -18
  656. package/dist/collection/components/time-picker/time-picker.js.map +1 -1
  657. package/dist/collection/components/toast/toast-container.js +2 -2
  658. package/dist/collection/components/toast/toast.js +2 -2
  659. package/dist/collection/components/toggle/test/toggle.ct.js +24 -1
  660. package/dist/collection/components/toggle/test/toggle.ct.js.map +1 -1
  661. package/dist/collection/components/toggle/toggle.css +133 -4
  662. package/dist/collection/components/toggle/toggle.js +157 -2
  663. package/dist/collection/components/toggle/toggle.js.map +1 -1
  664. package/dist/collection/components/toggle-button/toggle-button.js +2 -2
  665. package/dist/collection/components/tooltip/test/tooltip.ct.js +37 -0
  666. package/dist/collection/components/tooltip/test/tooltip.ct.js.map +1 -1
  667. package/dist/collection/components/tooltip/tooltip.js +11 -13
  668. package/dist/collection/components/tooltip/tooltip.js.map +1 -1
  669. package/dist/collection/components/tree/tree.js +1 -1
  670. package/dist/collection/components/tree-item/tree-item.js +4 -4
  671. package/dist/collection/components/typography/test/ix-typography.spec.js +0 -14
  672. package/dist/collection/components/typography/test/ix-typography.spec.js.map +1 -1
  673. package/dist/collection/components/typography/type-mapping.js +3 -0
  674. package/dist/collection/components/typography/type-mapping.js.map +1 -1
  675. package/dist/collection/components/typography/typography.js +6 -42
  676. package/dist/collection/components/typography/typography.js.map +1 -1
  677. package/dist/collection/components/upload/test/upload.ct.js +17 -0
  678. package/dist/collection/components/upload/test/upload.ct.js.map +1 -0
  679. package/dist/collection/components/upload/upload.css +0 -2
  680. package/dist/collection/components/upload/upload.js +49 -5
  681. package/dist/collection/components/upload/upload.js.map +1 -1
  682. package/dist/collection/components/utils/a11y.js +3 -2
  683. package/dist/collection/components/utils/a11y.js.map +1 -1
  684. package/dist/collection/components/utils/application-layout/context.js.map +1 -1
  685. package/dist/collection/components/utils/attributes.js +25 -0
  686. package/dist/collection/components/utils/attributes.js.map +1 -0
  687. package/dist/collection/components/utils/context.js +5 -2
  688. package/dist/collection/components/utils/context.js.map +1 -1
  689. package/dist/collection/components/utils/disposable-event-listener.js +19 -0
  690. package/dist/collection/components/utils/disposable-event-listener.js.map +1 -0
  691. package/dist/collection/components/utils/element-reference.js +2 -0
  692. package/dist/collection/components/utils/element-reference.js.map +1 -0
  693. package/dist/collection/components/utils/find-element.js +99 -0
  694. package/dist/collection/components/utils/find-element.js.map +1 -0
  695. package/dist/collection/components/utils/focus.js +20 -17
  696. package/dist/collection/components/utils/focus.js.map +1 -1
  697. package/dist/collection/components/utils/input/index.js +9 -0
  698. package/dist/collection/components/utils/input/index.js.map +1 -0
  699. package/dist/collection/components/utils/input/validation.js +108 -0
  700. package/dist/collection/components/utils/input/validation.js.map +1 -0
  701. package/dist/collection/components/utils/listener.js +1 -1
  702. package/dist/collection/components/utils/listener.js.map +1 -1
  703. package/dist/collection/components/utils/make-ref.js +7 -12
  704. package/dist/collection/components/utils/make-ref.js.map +1 -1
  705. package/dist/collection/components/utils/menu-tabs/menu-tabs-fc.js +11 -8
  706. package/dist/collection/components/utils/menu-tabs/menu-tabs-fc.js.map +1 -1
  707. package/dist/collection/components/utils/modal/index.js.map +1 -1
  708. package/dist/collection/components/utils/modal/message.js +3 -1
  709. package/dist/collection/components/utils/modal/message.js.map +1 -1
  710. package/dist/collection/components/utils/theme-switcher.js +1 -0
  711. package/dist/collection/components/utils/theme-switcher.js.map +1 -1
  712. package/dist/collection/components/utils/type-helper.js +2 -0
  713. package/dist/collection/components/utils/type-helper.js.map +1 -0
  714. package/dist/collection/components/utils/uuid.js +16 -0
  715. package/dist/collection/components/utils/uuid.js.map +1 -0
  716. package/dist/collection/components/validation-tooltip/validation-tooltip.js +2 -2
  717. package/dist/collection/components/workflow-step/workflow-step.js +3 -3
  718. package/dist/collection/components/workflow-steps/workflow-steps.js +1 -1
  719. package/dist/collection/index.js +7 -0
  720. package/dist/collection/index.js.map +1 -1
  721. package/dist/collection/setup.js +16 -1
  722. package/dist/collection/setup.js.map +1 -1
  723. package/dist/collection/tests/application/application.e2e.js.map +1 -1
  724. package/dist/collection/tests/checkbox-group/checkbox-group.e2e.js +25 -0
  725. package/dist/collection/tests/checkbox-group/checkbox-group.e2e.js.map +1 -0
  726. package/dist/collection/tests/content/content.e2e.js +24 -0
  727. package/dist/collection/tests/content/content.e2e.js.map +1 -0
  728. package/dist/collection/tests/date-picker/date-picker.e2e.js +6 -6
  729. package/dist/collection/tests/date-picker/date-picker.e2e.js.map +1 -1
  730. package/dist/collection/tests/datetime-picker/datetime-picker.e2e.js +8 -1
  731. package/dist/collection/tests/datetime-picker/datetime-picker.e2e.js.map +1 -1
  732. package/dist/collection/tests/drawer/drawer.e2e.js +6 -0
  733. package/dist/collection/tests/drawer/drawer.e2e.js.map +1 -1
  734. package/dist/collection/tests/form-fields/form-fields.e2e.js +57 -0
  735. package/dist/collection/tests/form-fields/form-fields.e2e.js.map +1 -0
  736. package/dist/collection/tests/input/input.e2e.js +29 -5
  737. package/dist/collection/tests/input/input.e2e.js.map +1 -1
  738. package/dist/collection/tests/message/message.e2e.js +50 -0
  739. package/dist/collection/tests/message/message.e2e.js.map +1 -0
  740. package/dist/collection/tests/modal/modal.e2e.js +10 -1
  741. package/dist/collection/tests/modal/modal.e2e.js.map +1 -1
  742. package/dist/collection/tests/number-input/number-input.e2e.js +17 -0
  743. package/dist/collection/tests/number-input/number-input.e2e.js.map +1 -0
  744. package/dist/collection/tests/radio-group/radio-group.e2e.js +25 -0
  745. package/dist/collection/tests/radio-group/radio-group.e2e.js.map +1 -0
  746. package/dist/collection/tests/slider/slider.e2e.js +17 -0
  747. package/dist/collection/tests/slider/slider.e2e.js.map +1 -1
  748. package/dist/collection/tests/utils/test/index.js +12 -0
  749. package/dist/collection/tests/utils/test/index.js.map +1 -1
  750. package/dist/collection/tests/utils/test/page.js +3 -12
  751. package/dist/collection/tests/utils/test/page.js.map +1 -1
  752. package/dist/esm/{a11y-2e34777f.js → a11y-b10c12e0.js} +4 -3
  753. package/dist/esm/a11y-b10c12e0.js.map +1 -0
  754. package/dist/esm/app-globals-ae0ca705.js +7 -0
  755. package/dist/esm/app-globals-ae0ca705.js.map +1 -0
  756. package/dist/esm/{base-button-1b40b11d.js → base-button-845f2463.js} +4 -4
  757. package/dist/esm/base-button-845f2463.js.map +1 -0
  758. package/dist/esm/{base-icon-button-bc1dabe0.js → base-icon-button-38e2f6e6.js} +3 -3
  759. package/dist/esm/{base-icon-button-bc1dabe0.js.map → base-icon-button-38e2f6e6.js.map} +1 -1
  760. package/dist/esm/{context-82a1ccf8.js → context-42311cff.js} +6 -3
  761. package/dist/esm/context-42311cff.js.map +1 -0
  762. package/dist/esm/disposable-event-listener-ff2cb862.js +18 -0
  763. package/dist/esm/disposable-event-listener-ff2cb862.js.map +1 -0
  764. package/dist/esm/{dropdown-controller-95bd6750.js → dropdown-controller-cb6d3789.js} +29 -13
  765. package/dist/esm/dropdown-controller-cb6d3789.js.map +1 -0
  766. package/dist/esm/find-element-af8265f7.js +102 -0
  767. package/dist/esm/find-element-af8265f7.js.map +1 -0
  768. package/dist/esm/{focus-d4d3abaf.js → focus-664aef4f.js} +22 -18
  769. package/dist/esm/focus-664aef4f.js.map +1 -0
  770. package/dist/esm/helper-text-util-10896253.js +41 -0
  771. package/dist/esm/helper-text-util-10896253.js.map +1 -0
  772. package/dist/esm/{index-76b9c8de.js → index-60d17930.js} +2 -2
  773. package/dist/esm/{index-76b9c8de.js.map → index-60d17930.js.map} +1 -1
  774. package/dist/esm/{index-5429f20b.js → index-97874de0.js} +86 -172
  775. package/dist/esm/index-97874de0.js.map +1 -0
  776. package/dist/esm/index-ad2af369.js +21 -0
  777. package/dist/esm/index-ad2af369.js.map +1 -0
  778. package/dist/esm/index.js +21 -4
  779. package/dist/esm/index.js.map +1 -1
  780. package/dist/esm/input.util-715860e3.js +181 -0
  781. package/dist/esm/input.util-715860e3.js.map +1 -0
  782. package/dist/esm/ix-action-card.entry.js +2 -2
  783. package/dist/esm/ix-action-card.entry.js.map +1 -1
  784. package/dist/esm/ix-application-header.entry.js +7 -7
  785. package/dist/esm/ix-application-sidebar.entry.js +2 -2
  786. package/dist/esm/ix-application-switch-modal.entry.js +3 -3
  787. package/dist/esm/ix-application.entry.js +6 -6
  788. package/dist/esm/ix-avatar_2.entry.js +16 -8
  789. package/dist/esm/ix-avatar_2.entry.js.map +1 -1
  790. package/dist/esm/ix-basic-navigation.entry.js +4 -4
  791. package/dist/esm/ix-blind.entry.js +7 -7
  792. package/dist/esm/ix-blind.entry.js.map +1 -1
  793. package/dist/esm/ix-breadcrumb-item.entry.js +3 -3
  794. package/dist/esm/ix-breadcrumb.entry.js +11 -10
  795. package/dist/esm/ix-breadcrumb.entry.js.map +1 -1
  796. package/dist/esm/ix-button.entry.js +14 -5
  797. package/dist/esm/ix-button.entry.js.map +1 -1
  798. package/dist/esm/ix-card-accordion_2.entry.js +7 -7
  799. package/dist/esm/ix-card-accordion_2.entry.js.map +1 -1
  800. package/dist/esm/ix-card-list.entry.js +11 -8
  801. package/dist/esm/ix-card-list.entry.js.map +1 -1
  802. package/dist/esm/ix-card_2.entry.js +6 -6
  803. package/dist/esm/ix-card_2.entry.js.map +1 -1
  804. package/dist/esm/ix-category-filter.entry.js +154 -82
  805. package/dist/esm/ix-category-filter.entry.js.map +1 -1
  806. package/dist/esm/ix-checkbox-group.entry.js +56 -0
  807. package/dist/esm/ix-checkbox-group.entry.js.map +1 -0
  808. package/dist/esm/ix-checkbox.entry.js +113 -0
  809. package/dist/esm/ix-checkbox.entry.js.map +1 -0
  810. package/dist/esm/ix-chip.entry.js +5 -5
  811. package/dist/esm/ix-col_4.entry.js +71 -45
  812. package/dist/esm/ix-col_4.entry.js.map +1 -1
  813. package/dist/esm/ix-content-header.entry.js +3 -3
  814. package/dist/esm/ix-content-header.entry.js.map +1 -1
  815. package/dist/esm/ix-content.entry.js +5 -5
  816. package/dist/esm/ix-content.entry.js.map +1 -1
  817. package/dist/esm/ix-css-grid-item.entry.js +2 -2
  818. package/dist/esm/ix-css-grid.entry.js +9 -4
  819. package/dist/esm/ix-css-grid.entry.js.map +1 -1
  820. package/dist/esm/ix-custom-field.entry.js +61 -0
  821. package/dist/esm/ix-custom-field.entry.js.map +1 -0
  822. package/dist/esm/ix-date-dropdown.entry.js +28 -16
  823. package/dist/esm/ix-date-dropdown.entry.js.map +1 -1
  824. package/dist/esm/ix-date-input.entry.js +262 -0
  825. package/dist/esm/ix-date-input.entry.js.map +1 -0
  826. package/dist/esm/ix-date-time-card.entry.js +5 -6
  827. package/dist/esm/ix-date-time-card.entry.js.map +1 -1
  828. package/dist/esm/ix-datetime-picker.entry.js +11 -11
  829. package/dist/esm/ix-datetime-picker.entry.js.map +1 -1
  830. package/dist/esm/ix-divider.entry.js +2 -2
  831. package/dist/esm/ix-drawer.entry.js +29 -25
  832. package/dist/esm/ix-drawer.entry.js.map +1 -1
  833. package/dist/esm/ix-dropdown-button.entry.js +5 -6
  834. package/dist/esm/ix-dropdown-button.entry.js.map +1 -1
  835. package/dist/esm/ix-dropdown-header.entry.js +2 -2
  836. package/dist/esm/ix-dropdown-header.entry.js.map +1 -1
  837. package/dist/esm/ix-dropdown-item.entry.js +4 -4
  838. package/dist/esm/ix-dropdown-quick-actions.entry.js +2 -2
  839. package/dist/esm/ix-dropdown.entry.js +70 -66
  840. package/dist/esm/ix-dropdown.entry.js.map +1 -1
  841. package/dist/esm/ix-empty-state.entry.js +2 -2
  842. package/dist/esm/ix-empty-state.entry.js.map +1 -1
  843. package/dist/esm/ix-event-list-item.entry.js +9 -9
  844. package/dist/esm/ix-event-list-item.entry.js.map +1 -1
  845. package/dist/esm/ix-event-list.entry.js +5 -5
  846. package/dist/esm/ix-event-list.entry.js.map +1 -1
  847. package/dist/esm/ix-expanding-search.entry.js +5 -5
  848. package/dist/esm/{ix-tooltip.entry.js → ix-field-label_3.entry.js} +183 -8
  849. package/dist/esm/ix-field-label_3.entry.js.map +1 -0
  850. package/dist/esm/ix-filter-chip_2.entry.js +28 -7
  851. package/dist/esm/ix-filter-chip_2.entry.js.map +1 -1
  852. package/dist/esm/ix-flip-tile-content.entry.js +2 -2
  853. package/dist/esm/ix-flip-tile.entry.js +5 -5
  854. package/dist/esm/ix-group-context-menu_2.entry.js +4 -4
  855. package/dist/esm/ix-group.entry.js +9 -9
  856. package/dist/esm/ix-helper-text.entry.js +66 -0
  857. package/dist/esm/ix-helper-text.entry.js.map +1 -0
  858. package/dist/esm/ix-icon-button_2.entry.js +10 -14
  859. package/dist/esm/ix-icon-button_2.entry.js.map +1 -1
  860. package/dist/esm/ix-icon-toggle-button.entry.js +6 -7
  861. package/dist/esm/ix-icon-toggle-button.entry.js.map +1 -1
  862. package/dist/esm/ix-input-group.entry.js +2 -2
  863. package/dist/esm/ix-input.entry.js +145 -0
  864. package/dist/esm/ix-input.entry.js.map +1 -0
  865. package/dist/esm/ix-key-value-list.entry.js +2 -2
  866. package/dist/esm/ix-key-value.entry.js +2 -2
  867. package/dist/esm/ix-kpi.entry.js +4 -4
  868. package/dist/esm/ix-layout-auto.entry.js +88 -0
  869. package/dist/esm/ix-layout-auto.entry.js.map +1 -0
  870. package/dist/esm/ix-link-button.entry.js +4 -4
  871. package/dist/esm/ix-map-navigation-overlay.entry.js +3 -3
  872. package/dist/esm/ix-map-navigation.entry.js +4 -4
  873. package/dist/esm/ix-menu-about-item.entry.js +2 -2
  874. package/dist/esm/ix-menu-about-news.entry.js +5 -5
  875. package/dist/esm/ix-menu-about-news.entry.js.map +1 -1
  876. package/dist/esm/ix-menu-about.entry.js +3 -3
  877. package/dist/esm/ix-menu-avatar.entry.js +3 -3
  878. package/dist/esm/ix-menu-category.entry.js +7 -7
  879. package/dist/esm/ix-menu-category.entry.js.map +1 -1
  880. package/dist/esm/ix-menu-expand-icon.entry.js +4 -4
  881. package/dist/esm/ix-menu-item.entry.js +9 -8
  882. package/dist/esm/ix-menu-item.entry.js.map +1 -1
  883. package/dist/esm/ix-menu-settings-item.entry.js +2 -2
  884. package/dist/esm/ix-menu-settings.entry.js +2 -2
  885. package/dist/esm/ix-menu.entry.js +33 -33
  886. package/dist/esm/ix-menu.entry.js.map +1 -1
  887. package/dist/esm/ix-message-bar.entry.js +2 -2
  888. package/dist/esm/ix-modal-content_2.entry.js +5 -5
  889. package/dist/esm/ix-modal-content_2.entry.js.map +1 -1
  890. package/dist/esm/ix-modal-footer.entry.js +3 -3
  891. package/dist/esm/ix-modal-footer.entry.js.map +1 -1
  892. package/dist/esm/ix-modal-loading.entry.js +2 -2
  893. package/dist/esm/ix-modal.entry.js +14 -7
  894. package/dist/esm/ix-modal.entry.js.map +1 -1
  895. package/dist/esm/ix-number-input.entry.js +148 -0
  896. package/dist/esm/ix-number-input.entry.js.map +1 -0
  897. package/dist/esm/ix-pagination.entry.js +6 -6
  898. package/dist/esm/ix-pagination.entry.js.map +1 -1
  899. package/dist/esm/ix-pane-layout.entry.js +10 -10
  900. package/dist/esm/ix-pane-layout.entry.js.map +1 -1
  901. package/dist/esm/ix-pane.entry.js +43 -35
  902. package/dist/esm/ix-pane.entry.js.map +1 -1
  903. package/dist/esm/ix-pill.entry.js +5 -5
  904. package/dist/esm/ix-push-card.entry.js +2 -2
  905. package/dist/esm/ix-radio-group.entry.js +116 -0
  906. package/dist/esm/ix-radio-group.entry.js.map +1 -0
  907. package/dist/esm/ix-radio.entry.js +94 -0
  908. package/dist/esm/ix-radio.entry.js.map +1 -0
  909. package/dist/esm/ix-select.entry.js +150 -53
  910. package/dist/esm/ix-select.entry.js.map +1 -1
  911. package/dist/esm/ix-slider.entry.js +10 -10
  912. package/dist/esm/ix-slider.entry.js.map +1 -1
  913. package/dist/esm/ix-split-button-item.entry.js +3 -3
  914. package/dist/esm/ix-split-button.entry.js +2 -2
  915. package/dist/esm/ix-tab-item_2.entry.js +6 -6
  916. package/dist/esm/ix-textarea.entry.js +116 -0
  917. package/dist/esm/ix-textarea.entry.js.map +1 -0
  918. package/dist/esm/ix-tile.entry.js +5 -5
  919. package/dist/esm/ix-time-picker.entry.js +40 -20
  920. package/dist/esm/ix-time-picker.entry.js.map +1 -1
  921. package/dist/esm/ix-toast-container.entry.js +3 -3
  922. package/dist/esm/ix-toast.entry.js +3 -3
  923. package/dist/esm/ix-toggle-button.entry.js +5 -5
  924. package/dist/esm/ix-toggle.entry.js +42 -5
  925. package/dist/esm/ix-toggle.entry.js.map +1 -1
  926. package/dist/esm/ix-tree-item.entry.js +5 -5
  927. package/dist/esm/ix-tree.entry.js +3 -3
  928. package/dist/esm/ix-typography.entry.js +4 -25
  929. package/dist/esm/ix-typography.entry.js.map +1 -1
  930. package/dist/esm/ix-upload.entry.js +60 -6
  931. package/dist/esm/ix-upload.entry.js.map +1 -1
  932. package/dist/esm/ix-validation-tooltip.entry.js +3 -3
  933. package/dist/esm/ix-workflow-step.entry.js +4 -4
  934. package/dist/esm/ix-workflow-steps.entry.js +2 -2
  935. package/dist/esm/{listener-2c562054.js → listener-18b29507.js} +3 -3
  936. package/dist/esm/listener-18b29507.js.map +1 -0
  937. package/dist/esm/loader.js +5 -4
  938. package/dist/esm/loader.js.map +1 -1
  939. package/dist/esm/{make-ref-c80046bf.js → make-ref-4b76e9b5.js} +8 -13
  940. package/dist/esm/make-ref-4b76e9b5.js.map +1 -0
  941. package/dist/esm/{menu-tabs-fc-d9a7dd06.js → menu-tabs-fc-563a74d9.js} +19 -16
  942. package/dist/esm/menu-tabs-fc-563a74d9.js.map +1 -0
  943. package/dist/esm/{modal-54740f80.js → modal-101eef04.js} +4 -2
  944. package/dist/esm/modal-101eef04.js.map +1 -0
  945. package/dist/esm/{app-globals-0cd07cd9.js → setup-d88021f8.js} +19 -5
  946. package/dist/esm/setup-d88021f8.js.map +1 -0
  947. package/dist/esm/siemens-ix.js +5 -4
  948. package/dist/esm/siemens-ix.js.map +1 -1
  949. package/dist/esm/{theme-switcher-b10fb4da.js → theme-switcher-5fcf712d.js} +2 -1
  950. package/dist/esm/theme-switcher-5fcf712d.js.map +1 -0
  951. package/dist/esm/validation-45aa490c.js +112 -0
  952. package/dist/esm/validation-45aa490c.js.map +1 -0
  953. package/dist/siemens-ix/index.esm.js +1 -1
  954. package/dist/siemens-ix/index.esm.js.map +1 -1
  955. package/dist/siemens-ix/{p-928209e1.entry.js → p-044c2a7b.entry.js} +2 -2
  956. package/dist/siemens-ix/p-05839c77.entry.js +2 -0
  957. package/dist/siemens-ix/p-05839c77.entry.js.map +1 -0
  958. package/dist/siemens-ix/p-08463669.entry.js +2 -0
  959. package/dist/siemens-ix/p-08463669.entry.js.map +1 -0
  960. package/dist/siemens-ix/p-0be907d4.entry.js +2 -0
  961. package/dist/siemens-ix/p-0c89cbcc.entry.js +2 -0
  962. package/dist/siemens-ix/p-0c89cbcc.entry.js.map +1 -0
  963. package/dist/siemens-ix/p-0dbc970e.entry.js +2 -0
  964. package/dist/siemens-ix/p-0dbc970e.entry.js.map +1 -0
  965. package/dist/siemens-ix/{p-1da901d5.js → p-0e983f70.js} +2 -2
  966. package/dist/siemens-ix/p-0e983f70.js.map +1 -0
  967. package/dist/siemens-ix/{p-f001ecc1.entry.js → p-0f0e7e14.entry.js} +2 -2
  968. package/dist/siemens-ix/p-0f2bf43d.entry.js +2 -0
  969. package/dist/siemens-ix/p-0f2bf43d.entry.js.map +1 -0
  970. package/dist/siemens-ix/p-10a522ca.js +2 -0
  971. package/dist/siemens-ix/p-10a522ca.js.map +1 -0
  972. package/dist/siemens-ix/{p-cc65617d.entry.js → p-11ce9c6a.entry.js} +2 -2
  973. package/dist/siemens-ix/p-11ce9c6a.entry.js.map +1 -0
  974. package/dist/siemens-ix/p-175599e4.entry.js +2 -0
  975. package/dist/siemens-ix/p-175599e4.entry.js.map +1 -0
  976. package/dist/siemens-ix/p-178ce002.js +2 -0
  977. package/dist/siemens-ix/p-178ce002.js.map +1 -0
  978. package/dist/siemens-ix/p-18097528.entry.js +2 -0
  979. package/dist/siemens-ix/p-18097528.entry.js.map +1 -0
  980. package/dist/siemens-ix/{p-7c2f34f0.entry.js → p-1c5ebea3.entry.js} +2 -2
  981. package/dist/siemens-ix/p-1c5ebea3.entry.js.map +1 -0
  982. package/dist/siemens-ix/p-23a4b81f.js +2 -0
  983. package/dist/siemens-ix/p-23a4b81f.js.map +1 -0
  984. package/dist/siemens-ix/p-24a35b20.entry.js +2 -0
  985. package/dist/siemens-ix/p-24a35b20.entry.js.map +1 -0
  986. package/dist/siemens-ix/p-25465f91.entry.js +2 -0
  987. package/dist/siemens-ix/p-25465f91.entry.js.map +1 -0
  988. package/dist/siemens-ix/p-2643f32a.entry.js +2 -0
  989. package/dist/siemens-ix/p-286feb7e.entry.js +2 -0
  990. package/dist/siemens-ix/p-286feb7e.entry.js.map +1 -0
  991. package/dist/siemens-ix/{p-9079f6c8.entry.js → p-2a34a0c2.entry.js} +2 -2
  992. package/dist/siemens-ix/p-2b226409.entry.js +2 -0
  993. package/dist/siemens-ix/p-2b226409.entry.js.map +1 -0
  994. package/dist/siemens-ix/{p-1bd98772.entry.js → p-2b367b12.entry.js} +2 -2
  995. package/dist/siemens-ix/p-2b9c5f59.entry.js +2 -0
  996. package/dist/siemens-ix/{p-4e547dd3.entry.js → p-2d3a6d29.entry.js} +2 -2
  997. package/dist/siemens-ix/{p-82f9d976.entry.js → p-2d7ea063.entry.js} +2 -2
  998. package/dist/siemens-ix/{p-ae31be0d.entry.js → p-2db63240.entry.js} +2 -2
  999. package/dist/siemens-ix/{p-c81c4b9d.entry.js → p-3205726a.entry.js} +2 -2
  1000. package/dist/siemens-ix/{p-1d581190.js → p-35e14912.js} +2 -2
  1001. package/dist/siemens-ix/p-35e14912.js.map +1 -0
  1002. package/dist/siemens-ix/{p-33a7a26d.entry.js → p-37af7117.entry.js} +2 -2
  1003. package/dist/siemens-ix/{p-e0d03d67.entry.js → p-392b4297.entry.js} +2 -2
  1004. package/dist/siemens-ix/p-3c668c0e.js +2 -0
  1005. package/dist/siemens-ix/p-3c668c0e.js.map +1 -0
  1006. package/dist/siemens-ix/{p-ed7e76a3.entry.js → p-3f367d44.entry.js} +2 -2
  1007. package/dist/siemens-ix/p-3f367d44.entry.js.map +1 -0
  1008. package/dist/siemens-ix/p-40dc610f.entry.js +2 -0
  1009. package/dist/siemens-ix/p-40dc610f.entry.js.map +1 -0
  1010. package/dist/siemens-ix/p-424e8092.entry.js +2 -0
  1011. package/dist/siemens-ix/p-424e8092.entry.js.map +1 -0
  1012. package/dist/siemens-ix/p-429e3749.entry.js +2 -0
  1013. package/dist/siemens-ix/p-429e3749.entry.js.map +1 -0
  1014. package/dist/siemens-ix/{p-c7280736.entry.js → p-4624a772.entry.js} +2 -2
  1015. package/dist/siemens-ix/p-475ac85f.entry.js +2 -0
  1016. package/dist/siemens-ix/p-475ac85f.entry.js.map +1 -0
  1017. package/dist/siemens-ix/{p-1db6be55.js → p-484aa96b.js} +2 -2
  1018. package/dist/{cjs/menu-tabs-fc-df53f176.js.map → siemens-ix/p-484aa96b.js.map} +1 -1
  1019. package/dist/siemens-ix/{p-77273517.entry.js → p-48718dc1.entry.js} +2 -2
  1020. package/dist/siemens-ix/p-48718dc1.entry.js.map +1 -0
  1021. package/dist/siemens-ix/p-4a631d9c.entry.js +2 -0
  1022. package/dist/siemens-ix/p-4a9330a5.entry.js +2 -0
  1023. package/dist/siemens-ix/p-4a9330a5.entry.js.map +1 -0
  1024. package/dist/siemens-ix/{p-05dc6b2d.entry.js → p-4c9b7548.entry.js} +2 -2
  1025. package/dist/siemens-ix/p-4cc79e8f.entry.js +2 -0
  1026. package/dist/siemens-ix/{p-d300b332.entry.js → p-4e51d716.entry.js} +2 -2
  1027. package/dist/siemens-ix/{p-0ef97555.entry.js → p-4ec6ddfb.entry.js} +2 -2
  1028. package/dist/siemens-ix/p-50096707.js +2 -0
  1029. package/dist/siemens-ix/p-50096707.js.map +1 -0
  1030. package/dist/siemens-ix/p-52928e21.entry.js +2 -0
  1031. package/dist/siemens-ix/p-52928e21.entry.js.map +1 -0
  1032. package/dist/siemens-ix/p-54efe56b.entry.js +2 -0
  1033. package/dist/siemens-ix/p-54efe56b.entry.js.map +1 -0
  1034. package/dist/siemens-ix/p-5682e985.js +2 -0
  1035. package/dist/siemens-ix/{p-5af99eaa.entry.js → p-57e60a06.entry.js} +2 -2
  1036. package/dist/siemens-ix/p-5806df2b.js +3 -0
  1037. package/dist/siemens-ix/p-5806df2b.js.map +1 -0
  1038. package/dist/siemens-ix/{p-1483f65d.entry.js → p-5c1b136c.entry.js} +2 -2
  1039. package/dist/siemens-ix/p-5c1b136c.entry.js.map +1 -0
  1040. package/dist/siemens-ix/p-5db5a0b5.entry.js +2 -0
  1041. package/dist/siemens-ix/p-5db5a0b5.entry.js.map +1 -0
  1042. package/dist/siemens-ix/p-5fe87e71.js +2 -0
  1043. package/dist/siemens-ix/p-5fe87e71.js.map +1 -0
  1044. package/dist/siemens-ix/{p-0632731e.entry.js → p-63dd987f.entry.js} +2 -2
  1045. package/dist/siemens-ix/{p-f06b21f9.entry.js → p-654f91f2.entry.js} +2 -2
  1046. package/dist/siemens-ix/p-66178fe6.entry.js +2 -0
  1047. package/dist/siemens-ix/p-66178fe6.entry.js.map +1 -0
  1048. package/dist/siemens-ix/{p-67f44540.entry.js → p-6624076c.entry.js} +2 -2
  1049. package/dist/siemens-ix/p-6624076c.entry.js.map +1 -0
  1050. package/dist/siemens-ix/p-66559451.entry.js +2 -0
  1051. package/dist/siemens-ix/{p-86fd5922.entry.js → p-6722bcff.entry.js} +2 -2
  1052. package/dist/siemens-ix/{p-b4ce366d.entry.js → p-68bb2a09.entry.js} +2 -2
  1053. package/dist/siemens-ix/p-68bb2a09.entry.js.map +1 -0
  1054. package/dist/siemens-ix/{p-5351225b.entry.js → p-6a4a2064.entry.js} +2 -2
  1055. package/dist/siemens-ix/p-6a4a2064.entry.js.map +1 -0
  1056. package/dist/siemens-ix/{p-b804b8c5.entry.js → p-6bae4e9b.entry.js} +2 -2
  1057. package/dist/siemens-ix/p-6bf208b8.js +2 -0
  1058. package/dist/siemens-ix/{p-3dc1294b.entry.js → p-6e3f1de3.entry.js} +2 -2
  1059. package/dist/siemens-ix/p-6e3f1de3.entry.js.map +1 -0
  1060. package/dist/siemens-ix/{p-90440046.entry.js → p-76b57ff0.entry.js} +2 -2
  1061. package/dist/siemens-ix/p-76b57ff0.entry.js.map +1 -0
  1062. package/dist/siemens-ix/p-792e1c52.entry.js +2 -0
  1063. package/dist/siemens-ix/p-792e1c52.entry.js.map +1 -0
  1064. package/dist/siemens-ix/p-79bb0d39.js +2 -0
  1065. package/dist/siemens-ix/p-79bb0d39.js.map +1 -0
  1066. package/dist/siemens-ix/p-7aa07d9b.entry.js +2 -0
  1067. package/dist/siemens-ix/p-7aa07d9b.entry.js.map +1 -0
  1068. package/dist/siemens-ix/p-7aa26727.js +2 -0
  1069. package/dist/siemens-ix/p-7aa26727.js.map +1 -0
  1070. package/dist/siemens-ix/p-7af324e9.entry.js +2 -0
  1071. package/dist/siemens-ix/p-7af324e9.entry.js.map +1 -0
  1072. package/dist/siemens-ix/p-815699d1.entry.js +2 -0
  1073. package/dist/siemens-ix/p-815699d1.entry.js.map +1 -0
  1074. package/dist/siemens-ix/p-83da8f11.entry.js +2 -0
  1075. package/dist/siemens-ix/p-83da8f11.entry.js.map +1 -0
  1076. package/dist/siemens-ix/{p-958c5970.entry.js → p-8457d846.entry.js} +2 -2
  1077. package/dist/siemens-ix/p-8564bc5f.entry.js +2 -0
  1078. package/dist/siemens-ix/p-8564bc5f.entry.js.map +1 -0
  1079. package/dist/siemens-ix/p-857f99c8.entry.js +2 -0
  1080. package/dist/siemens-ix/p-857f99c8.entry.js.map +1 -0
  1081. package/dist/siemens-ix/{p-c7e58e9e.entry.js → p-8c2b62c3.entry.js} +2 -2
  1082. package/dist/siemens-ix/{p-c62966f8.entry.js → p-8da941cd.entry.js} +2 -2
  1083. package/dist/siemens-ix/{p-6618b2db.entry.js → p-8f616a5c.entry.js} +2 -2
  1084. package/dist/siemens-ix/p-91046d49.entry.js +2 -0
  1085. package/dist/siemens-ix/p-91046d49.entry.js.map +1 -0
  1086. package/dist/siemens-ix/{p-e14384df.entry.js → p-9948574f.entry.js} +2 -2
  1087. package/dist/siemens-ix/{p-085d5ec2.entry.js → p-9d323232.entry.js} +2 -2
  1088. package/dist/siemens-ix/p-9d5d4948.js +2 -0
  1089. package/dist/siemens-ix/p-9d5d4948.js.map +1 -0
  1090. package/dist/siemens-ix/p-9fe2759f.entry.js +2 -0
  1091. package/dist/siemens-ix/p-9fe2759f.entry.js.map +1 -0
  1092. package/dist/siemens-ix/{p-17a8aab2.entry.js → p-a3364116.entry.js} +2 -2
  1093. package/dist/siemens-ix/p-a36ad7c7.entry.js +2 -0
  1094. package/dist/siemens-ix/p-a36ad7c7.entry.js.map +1 -0
  1095. package/dist/siemens-ix/p-a427e6a2.js +2 -0
  1096. package/dist/siemens-ix/p-a427e6a2.js.map +1 -0
  1097. package/dist/siemens-ix/p-a61ed462.entry.js +2 -0
  1098. package/dist/siemens-ix/{p-8acc09aa.entry.js → p-b2a06e46.entry.js} +2 -2
  1099. package/dist/siemens-ix/p-b5c887e5.entry.js +2 -0
  1100. package/dist/siemens-ix/p-b5c887e5.entry.js.map +1 -0
  1101. package/dist/siemens-ix/p-b62f8f62.entry.js +2 -0
  1102. package/dist/siemens-ix/p-b62f8f62.entry.js.map +1 -0
  1103. package/dist/siemens-ix/{p-5aa0b93c.entry.js → p-b74a8cdc.entry.js} +2 -2
  1104. package/dist/siemens-ix/{p-ba24e694.entry.js → p-bd4c1a44.entry.js} +2 -2
  1105. package/dist/siemens-ix/p-bd4c1a44.entry.js.map +1 -0
  1106. package/dist/siemens-ix/{p-89e48bea.entry.js → p-bded112a.entry.js} +2 -2
  1107. package/dist/siemens-ix/{p-e95a5a97.entry.js → p-be860121.entry.js} +2 -2
  1108. package/dist/siemens-ix/p-c236cf18.entry.js +2 -0
  1109. package/dist/siemens-ix/p-c6796e64.entry.js +2 -0
  1110. package/dist/siemens-ix/p-caf49e00.entry.js +2 -0
  1111. package/dist/siemens-ix/p-caf49e00.entry.js.map +1 -0
  1112. package/dist/siemens-ix/p-cbfca958.entry.js +2 -0
  1113. package/dist/siemens-ix/p-ce563a48.js +2 -0
  1114. package/dist/siemens-ix/p-ce563a48.js.map +1 -0
  1115. package/dist/siemens-ix/p-d01f05cf.entry.js +2 -0
  1116. package/dist/siemens-ix/p-d01f05cf.entry.js.map +1 -0
  1117. package/dist/siemens-ix/{p-a8d291fa.entry.js → p-d0b38ae2.entry.js} +2 -2
  1118. package/dist/siemens-ix/p-d0b38ae2.entry.js.map +1 -0
  1119. package/dist/siemens-ix/p-d19b52bd.entry.js +2 -0
  1120. package/dist/siemens-ix/p-d19b52bd.entry.js.map +1 -0
  1121. package/dist/siemens-ix/p-d7aa00d6.js +2 -0
  1122. package/dist/siemens-ix/p-d7aa00d6.js.map +1 -0
  1123. package/dist/siemens-ix/{p-b663ca16.entry.js → p-d929f23d.entry.js} +2 -2
  1124. package/dist/siemens-ix/{p-e35805d0.entry.js → p-d95a6f49.entry.js} +2 -2
  1125. package/dist/siemens-ix/{p-e35805d0.entry.js.map → p-d95a6f49.entry.js.map} +1 -1
  1126. package/dist/siemens-ix/{p-37229f30.entry.js → p-dc2d5730.entry.js} +2 -2
  1127. package/dist/siemens-ix/p-dc2d5730.entry.js.map +1 -0
  1128. package/dist/siemens-ix/{p-7402f42a.entry.js → p-df7060ae.entry.js} +2 -2
  1129. package/dist/siemens-ix/p-df7060ae.entry.js.map +1 -0
  1130. package/dist/siemens-ix/{p-44a27b29.entry.js → p-dfb181c1.entry.js} +2 -2
  1131. package/dist/siemens-ix/p-dfb181c1.entry.js.map +1 -0
  1132. package/dist/siemens-ix/{p-0fafba48.entry.js → p-e7ac5657.entry.js} +2 -2
  1133. package/dist/siemens-ix/{p-ee96d1eb.entry.js → p-e9a37b3f.entry.js} +2 -2
  1134. package/dist/siemens-ix/{p-24a8737a.entry.js → p-edc1d44a.entry.js} +2 -2
  1135. package/dist/siemens-ix/{p-c072ddb5.entry.js → p-ede52531.entry.js} +2 -2
  1136. package/dist/siemens-ix/p-ede52531.entry.js.map +1 -0
  1137. package/dist/siemens-ix/p-f35386ec.js +2 -0
  1138. package/dist/siemens-ix/p-f35386ec.js.map +1 -0
  1139. package/dist/siemens-ix/p-f39048a2.entry.js +2 -0
  1140. package/dist/siemens-ix/p-f39048a2.entry.js.map +1 -0
  1141. package/dist/siemens-ix/p-f7618d1d.entry.js +2 -0
  1142. package/dist/siemens-ix/p-f7618d1d.entry.js.map +1 -0
  1143. package/dist/siemens-ix/p-f97a15c4.js +2 -0
  1144. package/dist/siemens-ix/p-f97a15c4.js.map +1 -0
  1145. package/dist/siemens-ix/p-fad9f568.js +2 -0
  1146. package/dist/siemens-ix/p-fad9f568.js.map +1 -0
  1147. package/dist/siemens-ix/p-ffca56d6.entry.js +2 -0
  1148. package/dist/siemens-ix/siemens-ix-core.css +1 -1
  1149. package/dist/siemens-ix/siemens-ix.css +172 -27
  1150. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  1151. package/dist/siemens-ix/siemens-ix.esm.js.map +1 -1
  1152. package/dist/siemens-ix/theme/classic-dark.css +1 -1
  1153. package/dist/siemens-ix/theme/classic-light.css +1 -1
  1154. package/dist/siemens-ix/theme/legacy-classic-dark.css +1 -1
  1155. package/dist/siemens-ix/theme/legacy-classic-light.css +1 -1
  1156. package/dist/types/components/action-card/action-card.d.ts +2 -2
  1157. package/dist/types/components/avatar/avatar.d.ts +6 -6
  1158. package/dist/types/components/blind/blind.d.ts +4 -4
  1159. package/dist/types/components/breadcrumb/breadcrumb.d.ts +3 -3
  1160. package/dist/types/components/button/base-button.d.ts +3 -2
  1161. package/dist/types/components/button/button.d.ts +3 -2
  1162. package/dist/types/components/card-list/card-list.d.ts +3 -3
  1163. package/dist/types/components/category-filter/category-filter.d.ts +22 -3
  1164. package/dist/types/components/checkbox/checkbox.d.ts +61 -0
  1165. package/dist/types/components/checkbox/tests/checkbox.ct.d.ts +1 -0
  1166. package/dist/types/components/checkbox-group/checkbox-group.d.ts +47 -0
  1167. package/dist/types/components/content-header/content-header.d.ts +1 -1
  1168. package/dist/types/components/css-grid/css-grid.d.ts +2 -2
  1169. package/dist/types/components/custom-field/custom-field.d.ts +46 -0
  1170. package/dist/types/components/custom-field/tests/custom-field.ct.d.ts +1 -0
  1171. package/dist/types/components/date-dropdown/date-dropdown.d.ts +18 -4
  1172. package/dist/types/components/date-input/date-input.d.ts +138 -0
  1173. package/dist/types/components/date-input/tests/date-input.ct.d.ts +1 -0
  1174. package/dist/types/components/date-picker/date-picker-component.d.ts +43 -0
  1175. package/dist/types/components/date-picker/date-picker.d.ts +9 -11
  1176. package/dist/types/components/date-time-card/date-time-card.d.ts +1 -1
  1177. package/dist/types/components/datetime-picker/datetime-picker.d.ts +13 -12
  1178. package/dist/types/components/dropdown/dropdown-controller.d.ts +3 -7
  1179. package/dist/types/components/dropdown/dropdown.d.ts +13 -12
  1180. package/dist/types/components/dropdown-button/dropdown-button.d.ts +4 -4
  1181. package/dist/types/components/event-list-item/event-list-item.d.ts +2 -2
  1182. package/dist/types/components/field-label/field-label.d.ts +33 -0
  1183. package/dist/types/components/field-label/tests/field-label.ct.d.ts +1 -0
  1184. package/dist/types/components/field-wrapper/field-wrapper.d.ts +64 -0
  1185. package/dist/types/components/field-wrapper/helper-text-util.d.ts +18 -0
  1186. package/dist/types/components/field-wrapper/tests/field-wrapper.ct.d.ts +1 -0
  1187. package/dist/types/components/helper-text/helper-text.d.ts +37 -0
  1188. package/dist/types/components/input/input.animation.d.ts +1 -0
  1189. package/dist/types/components/input/input.d.ts +123 -0
  1190. package/dist/types/components/input/input.fc.d.ts +52 -0
  1191. package/dist/types/components/input/input.util.d.ts +13 -0
  1192. package/dist/types/components/input/number-input.d.ts +121 -0
  1193. package/dist/types/components/input/tests/form-ready.ct.d.ts +1 -0
  1194. package/dist/types/components/input/textarea.d.ts +126 -0
  1195. package/dist/types/components/layout-auto/layout-auto.d.ts +24 -0
  1196. package/dist/types/components/menu/menu.d.ts +3 -7
  1197. package/dist/types/components/menu-about/test/menu-about.ct.d.ts +1 -0
  1198. package/dist/types/components/menu-item/menu-item.d.ts +3 -3
  1199. package/dist/types/components/modal/test/modal.ct.d.ts +3 -2
  1200. package/dist/types/components/modal-header/modal-header.d.ts +3 -3
  1201. package/dist/types/components/pane/pane.d.ts +9 -9
  1202. package/dist/types/components/pane-layout/pane-layout.d.ts +1 -1
  1203. package/dist/types/components/radio/radio.d.ts +53 -0
  1204. package/dist/types/components/radio/test/radio.ct.d.ts +1 -0
  1205. package/dist/types/components/radio-group/radio-group.d.ts +64 -0
  1206. package/dist/types/components/radio-group/test/radio-group.ct.d.ts +1 -0
  1207. package/dist/types/components/select/select.d.ts +97 -14
  1208. package/dist/types/components/select-item/events.d.ts +9 -0
  1209. package/dist/types/components/select-item/select-item.d.ts +3 -1
  1210. package/dist/types/components/time-picker/time-picker.d.ts +3 -3
  1211. package/dist/types/components/toggle/toggle.d.ts +29 -1
  1212. package/dist/types/components/tooltip/tooltip.d.ts +2 -1
  1213. package/dist/types/components/typography/type-mapping.d.ts +3 -0
  1214. package/dist/types/components/typography/typography.d.ts +3 -10
  1215. package/dist/types/components/upload/test/upload.ct.d.ts +1 -0
  1216. package/dist/types/components/upload/upload.d.ts +4 -2
  1217. package/dist/types/components/utils/a11y.d.ts +5 -5
  1218. package/dist/types/components/utils/application-layout/context.d.ts +2 -1
  1219. package/dist/types/components/utils/attributes.d.ts +2 -0
  1220. package/dist/types/components/utils/disposable-event-listener.d.ts +7 -0
  1221. package/dist/types/components/utils/element-reference.d.ts +1 -0
  1222. package/dist/types/components/utils/find-element.d.ts +22 -0
  1223. package/dist/types/components/utils/focus.d.ts +5 -4
  1224. package/dist/types/components/utils/input/index.d.ts +61 -0
  1225. package/dist/types/components/utils/input/validation.d.ts +15 -0
  1226. package/dist/types/components/utils/listener.d.ts +4 -2
  1227. package/dist/types/components/utils/make-ref.d.ts +2 -2
  1228. package/dist/types/components/utils/modal/index.d.ts +1 -1
  1229. package/dist/types/components/utils/modal/message.d.ts +10 -7
  1230. package/dist/types/components/utils/theme-switcher.d.ts +3 -2
  1231. package/dist/types/components/utils/type-helper.d.ts +1 -0
  1232. package/dist/types/components/utils/uuid.d.ts +1 -0
  1233. package/dist/types/components.d.ts +1965 -213
  1234. package/dist/types/index.d.ts +3 -0
  1235. package/dist/types/setup.d.ts +7 -1
  1236. package/dist/types/tests/utils/test/index.d.ts +3 -0
  1237. package/dist/types/tests/utils/test/page.d.ts +1 -3
  1238. package/hydrate/index.js +3563 -1101
  1239. package/package.json +13 -13
  1240. package/scss/components/_checkboxes.scss +4 -11
  1241. package/scss/components/form/_input.scss +84 -9
  1242. package/scss/mixins/_field.scss +18 -0
  1243. package/scss/mixins/validation/_form-component.scss +64 -0
  1244. package/components/ix-form-field.js +0 -44
  1245. package/components/ix-form-field.js.map +0 -1
  1246. package/components/ix-modal-example.js +0 -58
  1247. package/components/ix-modal-example.js.map +0 -1
  1248. package/components/ix-playground-internal.js +0 -35
  1249. package/components/ix-playground-internal.js.map +0 -1
  1250. package/dist/cjs/a11y-eba397e8.js.map +0 -1
  1251. package/dist/cjs/app-globals-5cfdf2a0.js.map +0 -1
  1252. package/dist/cjs/base-button-3735b8c2.js.map +0 -1
  1253. package/dist/cjs/context-938f7470.js.map +0 -1
  1254. package/dist/cjs/dropdown-controller-5ef3d018.js.map +0 -1
  1255. package/dist/cjs/focus-9c8ffbb0.js.map +0 -1
  1256. package/dist/cjs/index-529f21c1.js.map +0 -1
  1257. package/dist/cjs/ix-form-field.cjs.entry.js +0 -28
  1258. package/dist/cjs/ix-form-field.cjs.entry.js.map +0 -1
  1259. package/dist/cjs/ix-modal-example.cjs.entry.js +0 -28
  1260. package/dist/cjs/ix-modal-example.cjs.entry.js.map +0 -1
  1261. package/dist/cjs/ix-playground-internal.cjs.entry.js +0 -22
  1262. package/dist/cjs/ix-playground-internal.cjs.entry.js.map +0 -1
  1263. package/dist/cjs/ix-tooltip.cjs.entry.js.map +0 -1
  1264. package/dist/cjs/listener-a124ed49.js.map +0 -1
  1265. package/dist/cjs/make-ref-c25629b7.js.map +0 -1
  1266. package/dist/cjs/modal-828cb80a.js.map +0 -1
  1267. package/dist/cjs/theme-switcher-2d2bde85.js.map +0 -1
  1268. package/dist/collection/components/event-list/test/event-list.spec.js +0 -65
  1269. package/dist/collection/components/event-list/test/event-list.spec.js.map +0 -1
  1270. package/dist/collection/components/form-field/form-field.js +0 -56
  1271. package/dist/collection/components/form-field/form-field.js.map +0 -1
  1272. package/dist/collection/components/grid/layout-grid.js.map +0 -1
  1273. package/dist/collection/components/playground/example-modal.js +0 -24
  1274. package/dist/collection/components/playground/example-modal.js.map +0 -1
  1275. package/dist/collection/components/playground/playground.css +0 -27
  1276. package/dist/collection/components/playground/playground.js +0 -28
  1277. package/dist/collection/components/playground/playground.js.map +0 -1
  1278. package/dist/esm/a11y-2e34777f.js.map +0 -1
  1279. package/dist/esm/app-globals-0cd07cd9.js.map +0 -1
  1280. package/dist/esm/base-button-1b40b11d.js.map +0 -1
  1281. package/dist/esm/context-82a1ccf8.js.map +0 -1
  1282. package/dist/esm/dropdown-controller-95bd6750.js.map +0 -1
  1283. package/dist/esm/focus-d4d3abaf.js.map +0 -1
  1284. package/dist/esm/index-5429f20b.js.map +0 -1
  1285. package/dist/esm/ix-form-field.entry.js +0 -24
  1286. package/dist/esm/ix-form-field.entry.js.map +0 -1
  1287. package/dist/esm/ix-modal-example.entry.js +0 -24
  1288. package/dist/esm/ix-modal-example.entry.js.map +0 -1
  1289. package/dist/esm/ix-playground-internal.entry.js +0 -18
  1290. package/dist/esm/ix-playground-internal.entry.js.map +0 -1
  1291. package/dist/esm/ix-tooltip.entry.js.map +0 -1
  1292. package/dist/esm/listener-2c562054.js.map +0 -1
  1293. package/dist/esm/make-ref-c80046bf.js.map +0 -1
  1294. package/dist/esm/menu-tabs-fc-d9a7dd06.js.map +0 -1
  1295. package/dist/esm/modal-54740f80.js.map +0 -1
  1296. package/dist/esm/theme-switcher-b10fb4da.js.map +0 -1
  1297. package/dist/siemens-ix/p-04af3853.entry.js +0 -2
  1298. package/dist/siemens-ix/p-04ec538b.entry.js +0 -2
  1299. package/dist/siemens-ix/p-04ec538b.entry.js.map +0 -1
  1300. package/dist/siemens-ix/p-091b036d.entry.js +0 -2
  1301. package/dist/siemens-ix/p-0ca3528f.js +0 -2
  1302. package/dist/siemens-ix/p-1483f65d.entry.js.map +0 -1
  1303. package/dist/siemens-ix/p-157b1b28.js +0 -2
  1304. package/dist/siemens-ix/p-157b1b28.js.map +0 -1
  1305. package/dist/siemens-ix/p-15f44099.entry.js +0 -2
  1306. package/dist/siemens-ix/p-15f44099.entry.js.map +0 -1
  1307. package/dist/siemens-ix/p-1c3a0b1f.js +0 -2
  1308. package/dist/siemens-ix/p-1c3a0b1f.js.map +0 -1
  1309. package/dist/siemens-ix/p-1d581190.js.map +0 -1
  1310. package/dist/siemens-ix/p-1da901d5.js.map +0 -1
  1311. package/dist/siemens-ix/p-1db6be55.js.map +0 -1
  1312. package/dist/siemens-ix/p-235c14ca.js +0 -2
  1313. package/dist/siemens-ix/p-235c14ca.js.map +0 -1
  1314. package/dist/siemens-ix/p-25f1749c.entry.js +0 -2
  1315. package/dist/siemens-ix/p-25f1749c.entry.js.map +0 -1
  1316. package/dist/siemens-ix/p-2ebfd4fd.entry.js +0 -2
  1317. package/dist/siemens-ix/p-2ebfd4fd.entry.js.map +0 -1
  1318. package/dist/siemens-ix/p-306269ae.entry.js +0 -2
  1319. package/dist/siemens-ix/p-306269ae.entry.js.map +0 -1
  1320. package/dist/siemens-ix/p-32d4ed3b.entry.js +0 -2
  1321. package/dist/siemens-ix/p-35fff1e6.entry.js +0 -2
  1322. package/dist/siemens-ix/p-37229f30.entry.js.map +0 -1
  1323. package/dist/siemens-ix/p-3dc1294b.entry.js.map +0 -1
  1324. package/dist/siemens-ix/p-3f59a3c3.entry.js +0 -2
  1325. package/dist/siemens-ix/p-3f59a3c3.entry.js.map +0 -1
  1326. package/dist/siemens-ix/p-411f51c5.entry.js +0 -2
  1327. package/dist/siemens-ix/p-411f51c5.entry.js.map +0 -1
  1328. package/dist/siemens-ix/p-44a27b29.entry.js.map +0 -1
  1329. package/dist/siemens-ix/p-49d3fc15.entry.js +0 -2
  1330. package/dist/siemens-ix/p-49d3fc15.entry.js.map +0 -1
  1331. package/dist/siemens-ix/p-5099c070.entry.js +0 -2
  1332. package/dist/siemens-ix/p-5099c070.entry.js.map +0 -1
  1333. package/dist/siemens-ix/p-5351225b.entry.js.map +0 -1
  1334. package/dist/siemens-ix/p-5c673ae9.entry.js +0 -2
  1335. package/dist/siemens-ix/p-5c673ae9.entry.js.map +0 -1
  1336. package/dist/siemens-ix/p-62b089b6.entry.js +0 -2
  1337. package/dist/siemens-ix/p-62b089b6.entry.js.map +0 -1
  1338. package/dist/siemens-ix/p-63f0755e.entry.js +0 -2
  1339. package/dist/siemens-ix/p-64c3fa3d.js +0 -2
  1340. package/dist/siemens-ix/p-64c3fa3d.js.map +0 -1
  1341. package/dist/siemens-ix/p-67f44540.entry.js.map +0 -1
  1342. package/dist/siemens-ix/p-68532fa2.js +0 -2
  1343. package/dist/siemens-ix/p-6e4c9e3d.entry.js +0 -2
  1344. package/dist/siemens-ix/p-6e4c9e3d.entry.js.map +0 -1
  1345. package/dist/siemens-ix/p-6e6efb4c.js +0 -2
  1346. package/dist/siemens-ix/p-6e6efb4c.js.map +0 -1
  1347. package/dist/siemens-ix/p-713828ed.entry.js +0 -2
  1348. package/dist/siemens-ix/p-713828ed.entry.js.map +0 -1
  1349. package/dist/siemens-ix/p-7402f42a.entry.js.map +0 -1
  1350. package/dist/siemens-ix/p-77273517.entry.js.map +0 -1
  1351. package/dist/siemens-ix/p-78ac2ff1.entry.js +0 -2
  1352. package/dist/siemens-ix/p-7947ef3d.entry.js +0 -2
  1353. package/dist/siemens-ix/p-7c2f34f0.entry.js.map +0 -1
  1354. package/dist/siemens-ix/p-82d33168.entry.js +0 -2
  1355. package/dist/siemens-ix/p-86bbc005.entry.js +0 -2
  1356. package/dist/siemens-ix/p-86bbc005.entry.js.map +0 -1
  1357. package/dist/siemens-ix/p-90440046.entry.js.map +0 -1
  1358. package/dist/siemens-ix/p-9bdda7ff.entry.js +0 -2
  1359. package/dist/siemens-ix/p-a0138163.entry.js +0 -2
  1360. package/dist/siemens-ix/p-a0138163.entry.js.map +0 -1
  1361. package/dist/siemens-ix/p-a08efce0.entry.js +0 -2
  1362. package/dist/siemens-ix/p-a08efce0.entry.js.map +0 -1
  1363. package/dist/siemens-ix/p-a4755205.entry.js +0 -2
  1364. package/dist/siemens-ix/p-a8d291fa.entry.js.map +0 -1
  1365. package/dist/siemens-ix/p-aa814811.entry.js +0 -2
  1366. package/dist/siemens-ix/p-aa814811.entry.js.map +0 -1
  1367. package/dist/siemens-ix/p-accec846.js +0 -2
  1368. package/dist/siemens-ix/p-accec846.js.map +0 -1
  1369. package/dist/siemens-ix/p-adee6045.entry.js +0 -2
  1370. package/dist/siemens-ix/p-adee6045.entry.js.map +0 -1
  1371. package/dist/siemens-ix/p-b4ce366d.entry.js.map +0 -1
  1372. package/dist/siemens-ix/p-ba24e694.entry.js.map +0 -1
  1373. package/dist/siemens-ix/p-bf14c60b.entry.js +0 -2
  1374. package/dist/siemens-ix/p-bf14c60b.entry.js.map +0 -1
  1375. package/dist/siemens-ix/p-c022d6cc.entry.js +0 -2
  1376. package/dist/siemens-ix/p-c022d6cc.entry.js.map +0 -1
  1377. package/dist/siemens-ix/p-c05a98c8.entry.js +0 -2
  1378. package/dist/siemens-ix/p-c072ddb5.entry.js.map +0 -1
  1379. package/dist/siemens-ix/p-c09553f3.js +0 -2
  1380. package/dist/siemens-ix/p-c09553f3.js.map +0 -1
  1381. package/dist/siemens-ix/p-c1fe9f3d.entry.js +0 -2
  1382. package/dist/siemens-ix/p-c1fe9f3d.entry.js.map +0 -1
  1383. package/dist/siemens-ix/p-c33cee36.entry.js +0 -2
  1384. package/dist/siemens-ix/p-c33cee36.entry.js.map +0 -1
  1385. package/dist/siemens-ix/p-cc65617d.entry.js.map +0 -1
  1386. package/dist/siemens-ix/p-d14024d3.entry.js +0 -2
  1387. package/dist/siemens-ix/p-d14024d3.entry.js.map +0 -1
  1388. package/dist/siemens-ix/p-d1f49940.entry.js +0 -2
  1389. package/dist/siemens-ix/p-d1f49940.entry.js.map +0 -1
  1390. package/dist/siemens-ix/p-d6fc0727.entry.js +0 -2
  1391. package/dist/siemens-ix/p-d6fc0727.entry.js.map +0 -1
  1392. package/dist/siemens-ix/p-df370362.entry.js +0 -2
  1393. package/dist/siemens-ix/p-df370362.entry.js.map +0 -1
  1394. package/dist/siemens-ix/p-e948bcb0.js +0 -2
  1395. package/dist/siemens-ix/p-e948bcb0.js.map +0 -1
  1396. package/dist/siemens-ix/p-ed7e76a3.entry.js.map +0 -1
  1397. package/dist/siemens-ix/p-f87cd962.js +0 -3
  1398. package/dist/siemens-ix/p-f87cd962.js.map +0 -1
  1399. package/dist/siemens-ix/p-fd5bee44.entry.js +0 -2
  1400. package/dist/siemens-ix/p-fd5bee44.entry.js.map +0 -1
  1401. package/dist/siemens-ix/p-fefd5743.entry.js +0 -2
  1402. package/dist/siemens-ix/p-fefd5743.entry.js.map +0 -1
  1403. package/dist/siemens-ix/p-ffa856df.entry.js +0 -2
  1404. package/dist/siemens-ix/p-ffa856df.entry.js.map +0 -1
  1405. package/dist/types/components/form-field/form-field.d.ts +0 -10
  1406. package/dist/types/components/playground/example-modal.d.ts +0 -6
  1407. package/dist/types/components/playground/playground.d.ts +0 -4
  1408. /package/dist/collection/components/{grid → layout-grid}/layout-grid.css +0 -0
  1409. /package/dist/siemens-ix/{p-928209e1.entry.js.map → p-044c2a7b.entry.js.map} +0 -0
  1410. /package/dist/siemens-ix/{p-35fff1e6.entry.js.map → p-0be907d4.entry.js.map} +0 -0
  1411. /package/dist/siemens-ix/{p-f001ecc1.entry.js.map → p-0f0e7e14.entry.js.map} +0 -0
  1412. /package/dist/siemens-ix/{p-63f0755e.entry.js.map → p-2643f32a.entry.js.map} +0 -0
  1413. /package/dist/siemens-ix/{p-9079f6c8.entry.js.map → p-2a34a0c2.entry.js.map} +0 -0
  1414. /package/dist/siemens-ix/{p-1bd98772.entry.js.map → p-2b367b12.entry.js.map} +0 -0
  1415. /package/dist/siemens-ix/{p-c05a98c8.entry.js.map → p-2b9c5f59.entry.js.map} +0 -0
  1416. /package/dist/siemens-ix/{p-4e547dd3.entry.js.map → p-2d3a6d29.entry.js.map} +0 -0
  1417. /package/dist/siemens-ix/{p-82f9d976.entry.js.map → p-2d7ea063.entry.js.map} +0 -0
  1418. /package/dist/siemens-ix/{p-ae31be0d.entry.js.map → p-2db63240.entry.js.map} +0 -0
  1419. /package/dist/siemens-ix/{p-c81c4b9d.entry.js.map → p-3205726a.entry.js.map} +0 -0
  1420. /package/dist/siemens-ix/{p-33a7a26d.entry.js.map → p-37af7117.entry.js.map} +0 -0
  1421. /package/dist/siemens-ix/{p-e0d03d67.entry.js.map → p-392b4297.entry.js.map} +0 -0
  1422. /package/dist/siemens-ix/{p-c7280736.entry.js.map → p-4624a772.entry.js.map} +0 -0
  1423. /package/dist/siemens-ix/{p-a4755205.entry.js.map → p-4a631d9c.entry.js.map} +0 -0
  1424. /package/dist/siemens-ix/{p-05dc6b2d.entry.js.map → p-4c9b7548.entry.js.map} +0 -0
  1425. /package/dist/siemens-ix/{p-78ac2ff1.entry.js.map → p-4cc79e8f.entry.js.map} +0 -0
  1426. /package/dist/siemens-ix/{p-d300b332.entry.js.map → p-4e51d716.entry.js.map} +0 -0
  1427. /package/dist/siemens-ix/{p-0ef97555.entry.js.map → p-4ec6ddfb.entry.js.map} +0 -0
  1428. /package/dist/siemens-ix/{p-0ca3528f.js.map → p-5682e985.js.map} +0 -0
  1429. /package/dist/siemens-ix/{p-5af99eaa.entry.js.map → p-57e60a06.entry.js.map} +0 -0
  1430. /package/dist/siemens-ix/{p-0632731e.entry.js.map → p-63dd987f.entry.js.map} +0 -0
  1431. /package/dist/siemens-ix/{p-f06b21f9.entry.js.map → p-654f91f2.entry.js.map} +0 -0
  1432. /package/dist/siemens-ix/{p-82d33168.entry.js.map → p-66559451.entry.js.map} +0 -0
  1433. /package/dist/siemens-ix/{p-86fd5922.entry.js.map → p-6722bcff.entry.js.map} +0 -0
  1434. /package/dist/siemens-ix/{p-b804b8c5.entry.js.map → p-6bae4e9b.entry.js.map} +0 -0
  1435. /package/dist/siemens-ix/{p-68532fa2.js.map → p-6bf208b8.js.map} +0 -0
  1436. /package/dist/siemens-ix/{p-958c5970.entry.js.map → p-8457d846.entry.js.map} +0 -0
  1437. /package/dist/siemens-ix/{p-c7e58e9e.entry.js.map → p-8c2b62c3.entry.js.map} +0 -0
  1438. /package/dist/siemens-ix/{p-c62966f8.entry.js.map → p-8da941cd.entry.js.map} +0 -0
  1439. /package/dist/siemens-ix/{p-6618b2db.entry.js.map → p-8f616a5c.entry.js.map} +0 -0
  1440. /package/dist/siemens-ix/{p-e14384df.entry.js.map → p-9948574f.entry.js.map} +0 -0
  1441. /package/dist/siemens-ix/{p-085d5ec2.entry.js.map → p-9d323232.entry.js.map} +0 -0
  1442. /package/dist/siemens-ix/{p-17a8aab2.entry.js.map → p-a3364116.entry.js.map} +0 -0
  1443. /package/dist/siemens-ix/{p-32d4ed3b.entry.js.map → p-a61ed462.entry.js.map} +0 -0
  1444. /package/dist/siemens-ix/{p-8acc09aa.entry.js.map → p-b2a06e46.entry.js.map} +0 -0
  1445. /package/dist/siemens-ix/{p-5aa0b93c.entry.js.map → p-b74a8cdc.entry.js.map} +0 -0
  1446. /package/dist/siemens-ix/{p-89e48bea.entry.js.map → p-bded112a.entry.js.map} +0 -0
  1447. /package/dist/siemens-ix/{p-e95a5a97.entry.js.map → p-be860121.entry.js.map} +0 -0
  1448. /package/dist/siemens-ix/{p-7947ef3d.entry.js.map → p-c236cf18.entry.js.map} +0 -0
  1449. /package/dist/siemens-ix/{p-091b036d.entry.js.map → p-c6796e64.entry.js.map} +0 -0
  1450. /package/dist/siemens-ix/{p-04af3853.entry.js.map → p-cbfca958.entry.js.map} +0 -0
  1451. /package/dist/siemens-ix/{p-b663ca16.entry.js.map → p-d929f23d.entry.js.map} +0 -0
  1452. /package/dist/siemens-ix/{p-0fafba48.entry.js.map → p-e7ac5657.entry.js.map} +0 -0
  1453. /package/dist/siemens-ix/{p-ee96d1eb.entry.js.map → p-e9a37b3f.entry.js.map} +0 -0
  1454. /package/dist/siemens-ix/{p-24a8737a.entry.js.map → p-edc1d44a.entry.js.map} +0 -0
  1455. /package/dist/siemens-ix/{p-9bdda7ff.entry.js.map → p-ffca56d6.entry.js.map} +0 -0
  1456. /package/dist/types/components/{grid → layout-grid}/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,EACP;KACH;;;;;;","names":[],"sources":["src/components/menu-about-news/menu-about-news.scss?tag=ix-menu-about-news&encapsulation=shadow","src/components/menu-about-news/menu-about-news.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@import 'common-variables';\n@import 'mixins/break-points';\n@import 'mixins/shadows';\n@import 'mixins/shadow-dom/component';\n$left: 3.4rem;\n\n:host {\n @include ix-component;\n\n --margin: 0.5rem;\n\n display: block;\n position: fixed;\n width: 20rem;\n height: auto;\n background-color: var(--theme-color-2);\n border-radius: $default-border-radius;\n padding: 1rem;\n left: $left;\n z-index: 10000;\n transition: left var(--theme-default-time);\n\n margin-inline-start: var(--margin) !important;\n\n @include box-shadow(4);\n\n .banner-container {\n position: absolute;\n top: 0.0625rem;\n left: $default-space;\n\n svg {\n position: absolute;\n height: 3.625rem;\n width: 3rem;\n\n polygon {\n fill: var(--theme-color-primary);\n }\n }\n\n ix-icon {\n margin: $small-space;\n position: absolute;\n z-index: 1;\n }\n }\n\n .cui-popover-news-header {\n margin-bottom: 2.5rem;\n margin-inline-start: 4rem;\n margin-block-start: -$tiny-space;\n }\n\n .popover-body {\n color: var(--theme-color-std-text);\n }\n\n .cui-popover-news-footer {\n display: flex;\n justify-content: flex-end;\n margin-top: 1rem;\n }\n\n ix-icon-button {\n top: $small-space;\n right: $small-space;\n position: absolute;\n }\n\n #arrow {\n position: absolute;\n width: 0.5rem;\n height: 0.5rem;\n background-color: var(--theme-color-2);\n transform: translateX(calc(var(--margin) * -1 - 0.8rem)) rotateZ(45deg);\n }\n}\n\n:host(.expanded) {\n left: calc(#{$left} + 12.7rem);\n}\n\n:host(.show) {\n display: none;\n}\n\n@include media-breakpoint-match('sm') {\n :host {\n display: flex;\n flex-direction: column;\n max-height: calc(100vh - 4.75rem);\n width: calc(100% - 2rem);\n max-width: 30rem;\n transform: translateX(calc(1rem - 50%));\n left: calc(50% - 1rem) !important;\n bottom: 1rem !important;\n margin-inline: 0 !important;\n z-index: calc(var(--theme-z-index-sticky) - 1);\n\n .slot-container {\n overflow-y: auto;\n }\n\n #arrow {\n display: none;\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, Event, EventEmitter, h, Host, Prop } from '@stencil/core';\n\n@Component({\n tag: 'ix-menu-about-news',\n styleUrl: 'menu-about-news.scss',\n shadow: true,\n})\nexport class MenuAboutNews {\n /**\n * Show about news\n */\n @Prop({ mutable: true, reflect: true }) show = false;\n\n /**\n * Title of the about news\n */\n @Prop() label: string;\n\n /**\n *\n */\n @Prop() i18nShowMore = 'Show more';\n\n /**\n * Subtitle of the about news\n */\n @Prop() aboutItemLabel: string;\n\n /**\n * Bottom offset\n */\n @Prop() offsetBottom = 0;\n\n /**\n * Show More button is pressed\n */\n @Event() showMore: EventEmitter<MouseEvent>;\n\n /**\n * Popover closed\n */\n @Event() closePopover: EventEmitter<void>;\n\n /**\n * Internal\n */\n @Prop() expanded = false;\n\n render() {\n return (\n <Host\n class={{\n expanded: this.expanded,\n show: !this.show,\n }}\n >\n <div class=\"banner-container\">\n <ix-icon\n color=\"color-inv-contrast-text\"\n name={'shout'}\n size=\"32\"\n ></ix-icon>\n <svg viewBox=\"0 0 48 56\" xmlns=\"http://www.w3.org/2000/svg\">\n <polygon points=\"0 0 48 0 48 56 24 48 0 56\" />\n </svg>\n </div>\n\n <div class=\"cui-popover-news-header\">\n <ix-typography variant=\"default-title-single\">\n {this.label}\n </ix-typography>\n </div>\n\n <ix-icon-button\n size=\"24\"\n icon={'close'}\n ghost\n onClick={() => {\n this.show = false;\n this.closePopover.emit();\n }}\n ></ix-icon-button>\n <div class=\"slot-container\">\n <slot></slot>\n </div>\n {this.aboutItemLabel ? (\n <div class=\"cui-popover-news-footer\">\n <ix-button\n variant=\"primary\"\n onClick={(e) => {\n this.show = false;\n this.showMore.emit(e);\n }}\n >\n {this.i18nShowMore}\n </ix-button>\n </div>\n ) : null}\n <div id=\"arrow\"></div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ix-menu-about-news.entry.js","mappings":";;AAAA,MAAM,gBAAgB,GAAG,wuEAAwuE,CAAC;AAClwE,8BAAe,gBAAgB;;MCelB,aAAa;;;;;oBAIuB,KAAK;;4BAU7B,WAAW;;4BAUX,CAAC;wBAeL,KAAK;;IAExB,MAAM;QACJ,QACE,EAAC,IAAI,qDACH,KAAK,EAAE;gBACL,QAAQ,EAAE,IAAI,CAAC,QAAQ;gBACvB,IAAI,EAAE,CAAC,IAAI,CAAC,IAAI;aACjB,IAED,4DAAK,KAAK,EAAC,kBAAkB,IAC3B,gEACE,KAAK,EAAC,yBAAyB,EAC/B,IAAI,EAAE,OAAO,EACb,IAAI,EAAC,IAAI,GACA,EACX,4DAAK,OAAO,EAAC,WAAW,EAAC,KAAK,EAAC,4BAA4B,IACzD,gEAAS,MAAM,EAAC,2BAA2B,GAAG,CAC1C,CACF,EAEN,4DAAK,KAAK,EAAC,yBAAyB,IAClC,sEAAe,MAAM,EAAC,OAAO,EAAC,IAAI,UAC/B,IAAI,CAAC,KAAK,CACG,CACZ,EAEN,uEACE,IAAI,EAAC,IAAI,EACT,IAAI,EAAE,OAAO,EACb,KAAK,QACL,OAAO,EAAE;gBACP,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;gBAClB,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;aAC1B,GACe,EAClB,4DAAK,KAAK,EAAC,gBAAgB,IACzB,8DAAa,CACT,EACL,IAAI,CAAC,cAAc,IAClB,WAAK,KAAK,EAAC,yBAAyB,IAClC,iBACE,OAAO,EAAC,SAAS,EACjB,OAAO,EAAE,CAAC,CAAC;gBACT,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;gBAClB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;aACvB,IAEA,IAAI,CAAC,YAAY,CACR,CACR,IACJ,IAAI,EACR,4DAAK,EAAE,EAAC,OAAO,GAAO,CACjB,EACP;KACH;;;;;;","names":[],"sources":["src/components/menu-about-news/menu-about-news.scss?tag=ix-menu-about-news&encapsulation=shadow","src/components/menu-about-news/menu-about-news.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@import 'common-variables';\n@import 'mixins/break-points';\n@import 'mixins/shadows';\n@import 'mixins/shadow-dom/component';\n$left: 3.4rem;\n\n:host {\n @include ix-component;\n\n --margin: 0.5rem;\n\n display: block;\n position: fixed;\n width: 20rem;\n height: auto;\n background-color: var(--theme-color-2);\n border-radius: $default-border-radius;\n padding: 1rem;\n left: $left;\n z-index: 10000;\n transition: left var(--theme-default-time);\n\n margin-inline-start: var(--margin) !important;\n\n @include box-shadow(4);\n\n .banner-container {\n position: absolute;\n top: 0.0625rem;\n left: $default-space;\n\n svg {\n position: absolute;\n height: 3.625rem;\n width: 3rem;\n\n polygon {\n fill: var(--theme-color-primary);\n }\n }\n\n ix-icon {\n margin: $small-space;\n position: absolute;\n z-index: 1;\n }\n }\n\n .cui-popover-news-header {\n margin-bottom: 2.5rem;\n margin-inline-start: 4rem;\n margin-block-start: -$tiny-space;\n }\n\n .popover-body {\n color: var(--theme-color-std-text);\n }\n\n .cui-popover-news-footer {\n display: flex;\n justify-content: flex-end;\n margin-top: 1rem;\n }\n\n ix-icon-button {\n top: $small-space;\n right: $small-space;\n position: absolute;\n }\n\n #arrow {\n position: absolute;\n width: 0.5rem;\n height: 0.5rem;\n background-color: var(--theme-color-2);\n transform: translateX(calc(var(--margin) * -1 - 0.8rem)) rotateZ(45deg);\n }\n}\n\n:host(.expanded) {\n left: calc(#{$left} + 12.7rem);\n}\n\n:host(.show) {\n display: none;\n}\n\n@include media-breakpoint-match('sm') {\n :host {\n display: flex;\n flex-direction: column;\n max-height: calc(100vh - 4.75rem);\n width: calc(100% - 2rem);\n max-width: 30rem;\n transform: translateX(calc(1rem - 50%));\n left: calc(50% - 1rem) !important;\n bottom: 1rem !important;\n margin-inline: 0 !important;\n z-index: calc(var(--theme-z-index-sticky) - 1);\n\n .slot-container {\n overflow-y: auto;\n }\n\n #arrow {\n display: none;\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, Event, EventEmitter, h, Host, Prop } from '@stencil/core';\n\n@Component({\n tag: 'ix-menu-about-news',\n styleUrl: 'menu-about-news.scss',\n shadow: true,\n})\nexport class MenuAboutNews {\n /**\n * Show about news\n */\n @Prop({ mutable: true, reflect: true }) show = false;\n\n /**\n * Title of the about news\n */\n @Prop() label: string;\n\n /**\n *\n */\n @Prop() i18nShowMore = 'Show more';\n\n /**\n * Subtitle of the about news\n */\n @Prop() aboutItemLabel: string;\n\n /**\n * Bottom offset\n */\n @Prop() offsetBottom = 0;\n\n /**\n * Show More button is pressed\n */\n @Event() showMore: EventEmitter<MouseEvent>;\n\n /**\n * Popover closed\n */\n @Event() closePopover: EventEmitter<void>;\n\n /**\n * Internal\n */\n @Prop() expanded = false;\n\n render() {\n return (\n <Host\n class={{\n expanded: this.expanded,\n show: !this.show,\n }}\n >\n <div class=\"banner-container\">\n <ix-icon\n color=\"color-inv-contrast-text\"\n name={'shout'}\n size=\"32\"\n ></ix-icon>\n <svg viewBox=\"0 0 48 56\" xmlns=\"http://www.w3.org/2000/svg\">\n <polygon points=\"0 0 48 0 48 56 24 48 0 56\" />\n </svg>\n </div>\n\n <div class=\"cui-popover-news-header\">\n <ix-typography format=\"label\" bold>\n {this.label}\n </ix-typography>\n </div>\n\n <ix-icon-button\n size=\"24\"\n icon={'close'}\n ghost\n onClick={() => {\n this.show = false;\n this.closePopover.emit();\n }}\n ></ix-icon-button>\n <div class=\"slot-container\">\n <slot></slot>\n </div>\n {this.aboutItemLabel ? (\n <div class=\"cui-popover-news-footer\">\n <ix-button\n variant=\"primary\"\n onClick={(e) => {\n this.show = false;\n this.showMore.emit(e);\n }}\n >\n {this.i18nShowMore}\n </ix-button>\n </div>\n ) : null}\n <div id=\"arrow\"></div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, c as createEvent, f as forceUpdate, h, g as getElement } from './index-5429f20b.js';
2
- import { s as setTab, i as initialize, M as MenuTabs } from './menu-tabs-fc-d9a7dd06.js';
1
+ import { r as registerInstance, c as createEvent, f as forceUpdate, h, g as getElement } from './index-97874de0.js';
2
+ import { s as setTab, i as initialize, M as MenuTabs } from './menu-tabs-fc-563a74d9.js';
3
3
 
4
4
  const menuAboutCss = ".text-xs{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.625rem;font-weight:400;line-height:1.4em;color:var(--theme-color-std-text)}.text-s{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:400;line-height:1.5em;color:var(--theme-color-std-text)}.text-caption{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text)}.text-caption-single{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:700;line-height:1em;color:var(--theme-color-std-text)}.text-default{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text)}.text-default-single{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.143em;color:var(--theme-color-std-text)}.text-default-title{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.429em;color:var(--theme-color-std-text)}.text-default-title-single{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.143em;color:var(--theme-color-std-text)}.text-l{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:400;line-height:1.5em;color:var(--theme-color-std-text)}.text-l-single{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:400;line-height:1.25em;color:var(--theme-color-std-text)}.text-l-title{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text)}.text-l-title-single{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.25em;color:var(--theme-color-std-text)}.text-h2{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:700;line-height:1.455em;color:var(--theme-color-std-text)}.text-xl{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:400;line-height:1.091em;color:var(--theme-color-std-text)}a{color:var(--theme-color-primary)}:host{display:block;background-color:var(--theme-nav-overlay--background);padding:0.75rem 1rem 1rem 2rem;flex-grow:1;position:absolute;width:100%;height:100%}:host .about-header{display:flex;justify-content:space-between;flex-direction:row;align-items:center;height:2rem;margin-bottom:0.5rem}:host .about-header h2{color:var(--theme-nav-overlay-header--color);margin-bottom:1rem}:host ix-tabs{margin-bottom:1.5rem}:host ix-menu-about-item{display:none}";
5
5
  const IxMenuAboutStyle0 = menuAboutCss;
@@ -23,7 +23,7 @@ const MenuAbout = class {
23
23
  forceUpdate(this.el);
24
24
  }
25
25
  render() {
26
- return h(MenuTabs, { key: 'ee62d88ee8d98eb192ed213cb146febf5451de14', context: this });
26
+ return h(MenuTabs, { key: 'de6857ca0dab82a0edf10e30e18259a50c9c3221', context: this });
27
27
  }
28
28
  get el() { return getElement(this); }
29
29
  static get watchers() { return {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5429f20b.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-97874de0.js';
2
2
  import { g as getSlottedElements } from './shadow-dom-cc0bc152.js';
3
3
 
4
4
  const menuAvatarCss = ":host{display:block;position:relative;margin-bottom:0.5rem;margin-right:0.75rem}: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 ::-webkit-scrollbar{width:0.5rem;height:0.5rem}: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 ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .avatar{all:unset;box-sizing:border-box;display:flex;align-items:center;height:2.5rem;width:100%;max-height:2.5rem;padding-left:0.25rem;margin-left:0.41rem;margin-right:0.35rem;transition:var(--theme-default-time);border-radius:1.25rem}:host .avatar .avatar-name{display:flex;flex-direction:column;overflow:hidden;white-space:nowrap;margin-left:1rem;line-height:1.14}:host .avatar .avatar-name .text-default-single{color:var(--theme-nav-item-primary--color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .avatar:not(.disabled):not(:disabled){cursor:pointer}:host .avatar:not(.disabled):not(:disabled):hover{background-color:var(--theme-avatar-btn--background--hover);color:var(--theme-avatar-btn--color--hover)}:host .avatar:not(.disabled):not(:disabled){cursor:pointer}:host .avatar:not(.disabled):not(:disabled):active,:host .avatar:not(.disabled):not(:disabled).active{background-color:var(--theme-avatar-btn--background--active);color:var(--theme-avatar-btn--color--active)}:host .avatar:focus-visible{outline:1px solid var(--theme-color-focus-bdr)}";
@@ -26,9 +26,9 @@ const MenuAvatar = class {
26
26
  this.showContextMenu = elements.length !== 0;
27
27
  }
28
28
  render() {
29
- return (h(Host, { key: 'b8ebb51ddac8d0b3f9bd933a16ab8ba589e07c1e', slot: "ix-menu-avatar" }, h("button", { key: 'd9e8fa7ff0a0dbe81d696e6c4a05aa7e71549254', class: "nav-item top-item avatar no-hover", title: this.top, id: this.avatarElementId, tabIndex: 0 }, h("ix-avatar", { key: '7318e067653f55f1e122c8e2ae84056c55d7a008', image: this.image, initials: this.initials }), h("div", { key: 'ee1b1bdff6e4c63d024d277fe3e7890c3e50a86d', class: "avatar-name" }, h("span", { key: 'ec81483aeb0bf87072b52e0421e3cc81bdc5e7c3', class: "text-default-single", title: this.top }, this.top), h("span", { key: 'e22dfec17284c5c9ab23c71dc2819222c92d2072', class: "text-default-single", title: this.bottom }, this.bottom))), h("ix-dropdown", { key: '4feab6c0868c081b05919c60aad646e07a643fa0', trigger: this.hostElement, placement: 'right-start', hidden: !this.showContextMenu && !this.showLogoutButton, offset: {
29
+ return (h(Host, { key: 'c1fa0cee8afddf06bb3d3920d395305a9b911b3c', slot: "ix-menu-avatar" }, h("button", { key: '5012c1e35df4627a9fddb131f545f6e35042250c', class: "nav-item top-item avatar no-hover", title: this.top, id: this.avatarElementId, tabIndex: 0 }, h("ix-avatar", { key: '2a1d4585720d023caeb9a008ee779537fca91715', image: this.image, initials: this.initials }), h("div", { key: 'de59499988b75887263c47c4d9612e8ec7ad3e9d', class: "avatar-name" }, h("span", { key: '7f824012aacf351597139c302ffccaf45df95d22', class: "text-default-single", title: this.top }, this.top), h("span", { key: '8f5d667ac1a6c82c1fd3a30994202457ee007c5a', class: "text-default-single", title: this.bottom }, this.bottom))), h("ix-dropdown", { key: '5345172d53852effd5bd360122079476c3894e24', trigger: this.hostElement, placement: 'right-start', hidden: !this.showContextMenu && !this.showLogoutButton, offset: {
30
30
  mainAxis: 16,
31
- } }, h("slot", { key: 'f37ff709dc79e41b4197469b1cedce4d42a0fa87', onSlotchange: () => this.onSlotChange() }), this.showLogoutButton ? (h("ix-menu-avatar-item", { label: this.i18nLogout, icon: 'log-out', onClick: (e) => {
31
+ } }, h("slot", { key: '5ded6f40210ba408b6dd2313568c700f5cb56797', onSlotchange: () => this.onSlotChange() }), this.showLogoutButton ? (h("ix-menu-avatar-item", { label: this.i18nLogout, icon: 'log-out', onClick: (e) => {
32
32
  this.logoutClick.emit(e);
33
33
  } })) : null)));
34
34
  }
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5429f20b.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-97874de0.js';
2
2
  import { a as anime } from './anime.es-a5520566.js';
3
- import { c as closestIxMenu } from './context-82a1ccf8.js';
3
+ import { c as closestIxMenu } from './context-42311cff.js';
4
4
  import { c as createMutationObserver } from './mutation-observer-db8757e6.js';
5
5
  import './typed-event-ad6484c5.js';
6
6
 
@@ -164,7 +164,7 @@ const MenuCategory = class {
164
164
  }
165
165
  }
166
166
  render() {
167
- return (h(Host, { key: '3b7a2f4b780189c7527b050c20e036eec255ea29', class: {
167
+ return (h(Host, { key: 'f9f4730936ba8f8ee2a46e0ce306117f947de177', class: {
168
168
  expanded: this.showItems,
169
169
  }, onPointerEnter: () => {
170
170
  this.enterLeaveDebounce.onEnter();
@@ -173,14 +173,14 @@ const MenuCategory = class {
173
173
  return;
174
174
  }
175
175
  this.enterLeaveDebounce.onLeave();
176
- } }, h("ix-menu-item", { key: '740d283513848384f2b0a980f41e1a41edc3c87a', class: 'category-parent', active: this.isNestedItemActive(), notifications: this.notifications, icon: this.icon, onClick: (e) => this.onCategoryClick(e), onFocus: () => this.onPointerEnter(), isCategory: true }, h("div", { key: 'fc663a360899abcaced5bca9fded51d09c15f340', class: "category" }, h("div", { key: 'ce375f719315b0d4cccd9838435dc4e59ab126f7', class: "category-text" }, this.label), h("ix-icon", { key: 'ce17082c41e6f78ae19e0988b9c8f6b784387d5b', name: 'chevron-down-small', class: {
176
+ } }, h("ix-menu-item", { key: 'c8c152e9c345945b50803bd72998a09b72a70d74', class: 'category-parent', active: this.isNestedItemActive(), notifications: this.notifications, icon: this.icon, onClick: (e) => this.onCategoryClick(e), onFocus: () => this.onPointerEnter(), isCategory: true }, h("div", { key: '3b584077fbdbf1ce09421f33fddc52ba4da5d168', class: "category" }, h("div", { key: '73388008e380b2d6f341eef162727fd59aec88ee', class: "category-text" }, this.label), h("ix-icon", { key: 'ab5cf9fd56692b29bcc7501cb096411416a661a5', name: 'chevron-down-small', class: {
177
177
  'category-chevron': true,
178
178
  'category-chevron--open': this.showItems,
179
- } }))), h("div", { key: '2614bff20114b65cc5a79a3b9ab30effc2f09f3b', ref: (ref) => (this.menuItemsContainer = ref), class: {
179
+ } }))), h("div", { key: 'faa34c42bcf4250389ca2f46566b3992b235db27', ref: (ref) => (this.menuItemsContainer = ref), class: {
180
180
  'menu-items': true,
181
181
  'menu-items--expanded': this.showItems,
182
182
  'menu-items--collapsed': !this.showItems,
183
- } }, this.showItems ? h("slot", null) : null), h("ix-dropdown", { key: 'ffd3996cf5fa75cea5d54a98b5d3fef1aee8baa0', closeBehavior: 'both', show: this.showDropdown, onShowChanged: ({ detail: dropdownShown }) => {
183
+ } }, this.showItems ? h("slot", null) : null), h("ix-dropdown", { key: 'd366bdd594350a8f67ee80b0d7d7b98d8d57cb28', closeBehavior: 'both', show: this.showDropdown, onShowChanged: ({ detail: dropdownShown }) => {
184
184
  this.showDropdown = dropdownShown;
185
185
  }, class: 'category-dropdown', anchor: this.hostElement, placement: "right-start", offset: {
186
186
  mainAxis: 3,
@@ -193,7 +193,7 @@ const MenuCategory = class {
193
193
  e.preventDefault();
194
194
  }
195
195
  }
196
- } }, h("ix-dropdown-item", { key: '79200ca71682e57529ae12e3b858ed254b78bfda', class: 'category-dropdown-header' }, h("ix-typography", { key: '5b1615544787d9bbf831195251750b7c14171dc1', variant: "default-title-single", color: "std" }, this.label)), h("ix-divider", { key: 'f3a08498a76abecf1388607c36751de4b1becef8' }), h("slot", { key: 'a099d0d632946c6afe98463d238c06360ea82903' }))));
196
+ } }, h("ix-dropdown-item", { key: '66918af3f1d25eaa574e47eda975b1ce23e954d4', class: 'category-dropdown-header' }, h("ix-typography", { key: '7479a92697b5e704aa75a9281d75aad54384328e', format: "label", bold: true, color: "std" }, this.label)), h("ix-divider", { key: 'ac0f5ce34503cfe9e77071185b46789eed2c3eef' }), h("slot", { key: '78dc27c30debcc86f4040e359a8659b55d8259b1' }))));
197
197
  }
198
198
  get hostElement() { return getElement(this); }
199
199
  };
@@ -1 +1 @@
1
- {"file":"ix-menu-category.entry.js","mappings":";;;;;;AAAA;;;;;;;;SAQgB,wBAAwB,CACtC,aAAuB,EACvB,aAAuB,EACvB,EACE,iBAAiB,EACjB,iBAAiB,MAIf;IACF,iBAAiB,EAAE,CAAC;IACpB,iBAAiB,EAAE,GAAG;CACvB;IAED,IAAI,YAA4B,CAAC;IACjC,IAAI,YAA4B,CAAC;IAEjC,OAAO;QACL,OAAO,EAAE;YACP,YAAY,CAAC,YAAY,CAAC,CAAC;YAC3B,YAAY,GAAG,UAAU,CAAC;gBACxB,aAAa,EAAE,CAAC;aACjB,EAAE,iBAAiB,CAAC,CAAC;SACvB;QACD,OAAO,EAAE;YACP,YAAY,CAAC,YAAY,CAAC,CAAC;YAC3B,YAAY,GA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EACrB,IAAI,EAAE,IAAI,CAAC,YAAY,EACvB,aAAa,EAAE,CAAC,EAAE,MAAM,EAAE,aAAa,EAAwB;gBAC7D,IAAI,CAAC,YAAY,GAAG,aAAa,CAAC;aACnC,EACD,KAAK,EAAE,mBAAmB,EAC1B,MAAM,EAAE,IAAI,CAAC,WAAW,EACxB,SAAS,EAAC,aAAa,EACvB,MAAM,EAAE;gBACN,QAAQ,EAAE,CAAC;aACZ,EACD,OAAO,EAAE,CAAC,CAAC;gBACT,IAAI,CAAC,CAAC,MAAM,YAAY,WAAW,EAAE;oBACnC,IAAI,CAAC,CAAC,MAAM,CAAC,OAAO,KAAK,cAAc,EAAE;wBACvC,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC;qBAC3B;yBAAM;wBACL,CAAC,CAAC,cAAc,EAAE,CAAC;qBACpB;iBACF;aACF,IAED,yEAAkB,KAAK,EAAE,0BAA0B,IACjD,sEAAe,OAAO,EAAC,sBAAsB,EAAC,KAAK,EAAC,KAAK,IACtD,IAAI,CAAC,KAAK,CACG,CACC,EACnB,oEAAyB,EACzB,8DAAa,CACD,CACT,EACP;KACH;;;;;;;","names":[],"sources":["src/components/menu-category/enter-leave.ts","src/components/menu-category/menu-category.scss?tag=ix-menu-category&encapsulation=shadow","src/components/menu-category/menu-category.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 */\nexport function createEnterLeaveDebounce(\n enterCallback: Function,\n leaveCallback: Function,\n {\n debounceTimeEnter,\n debounceTimeLeave,\n }: {\n debounceTimeEnter: number;\n debounceTimeLeave: number;\n } = {\n debounceTimeEnter: 0,\n debounceTimeLeave: 500,\n }\n) {\n let enterTimeout: NodeJS.Timeout;\n let leaveTimeout: NodeJS.Timeout;\n\n return {\n onEnter: () => {\n clearTimeout(leaveTimeout);\n enterTimeout = setTimeout(() => {\n enterCallback();\n }, debounceTimeEnter);\n },\n onLeave: () => {\n clearTimeout(enterTimeout);\n leaveTimeout = setTimeout(() => {\n leaveCallback();\n }, debounceTimeLeave);\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\n@import 'mixins/shadow-dom/component';\n@import 'mixins/text-truncation';\n\n:host {\n @include ix-component;\n display: flex;\n flex-direction: column;\n position: relative;\n\n .category {\n display: flex;\n position: relative;\n align-items: center;\n width: 100%;\n height: 100%;\n }\n\n .category-text {\n width: 100%;\n padding-right: 0.25rem;\n @include ellipsis;\n }\n\n .category-chevron {\n margin-left: auto;\n margin-right: 0;\n transition: var(--theme-default-time) transform ease-in-out;\n }\n\n .category-chevron--open {\n transform: rotate(-180deg);\n }\n\n .menu-items {\n overflow: hidden;\n max-height: 0;\n transition: var(--theme-default-time) max-height ease-in-out;\n }\n\n .menu-items--expanded {\n max-height: 999999999px;\n padding: 0.25rem 0 0.25rem 1.625rem;\n }\n\n .menu-items--collapsed {\n display: none;\n }\n\n .category-dropdown {\n ::slotted(ix-menu-item) {\n --ix-menu-item-height: 2.5rem;\n }\n }\n\n .category-dropdown-header {\n pointer-events: none;\n padding-left: 0.125rem;\n min-width: 256px;\n }\n\n ::slotted(ix-menu-item) {\n --ix-menu-item-height: 2.5rem;\n }\n}\n\n:host(.expanded) {\n background-color: var(--theme-color-ghost--active);\n}\n\n:host {\n ::slotted(a[href]) {\n text-decoration: none !important;\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 */\nimport {\n Component,\n Element,\n h,\n Host,\n Prop,\n State,\n Event,\n EventEmitter,\n Listen,\n} from '@stencil/core';\nimport anime from 'animejs';\nimport { closestIxMenu } from '../utils/application-layout/context';\nimport { createMutationObserver } from '../utils/mutation-observer';\nimport { createEnterLeaveDebounce } from './enter-leave';\n\nconst DefaultIxMenuItemHeight = 40;\nconst DefaultAnimationTimeout = 150;\n\n/**\n * @since 2.0.0\n */\n@Component({\n tag: 'ix-menu-category',\n styleUrl: 'menu-category.scss',\n shadow: true,\n})\nexport class MenuCategory {\n @Element() hostElement: HTMLIxMenuCategoryElement;\n\n /**\n * Display name of the category\n */\n @Prop() label: string;\n\n /**\n * Icon of the category\n */\n @Prop() icon: string;\n\n /**\n * Show notification count on the category\n */\n @Prop() notifications: number;\n\n /** @internal */\n // eslint-disable-next-line @stencil-community/decorators-style\n @Event({ bubbles: true, cancelable: true })\n closeOtherCategories: EventEmitter;\n\n @State() menuExpand = false;\n @State() showItems = false;\n @State() showDropdown = false;\n @State() nestedItems: HTMLIxMenuItemElement[] = [];\n\n private observer: MutationObserver;\n private menuItemsContainer: HTMLDivElement;\n private ixMenu: HTMLIxMenuElement;\n\n private enterLeaveDebounce = createEnterLeaveDebounce(\n () => {\n this.onPointerEnter();\n },\n () => {\n this.onPointerLeave();\n }\n );\n\n private isNestedItemActive() {\n return this.getNestedItems().some((item) => item.active);\n }\n\n private getNestedItems() {\n return Array.from(\n this.hostElement.querySelectorAll(':scope ix-menu-item')\n ) as HTMLIxMenuItemElement[];\n }\n\n private getNestedItemsHeight() {\n const items = this.getNestedItems();\n\n return items.length * DefaultIxMenuItemHeight;\n }\n\n private onExpandCategory(showItems: boolean) {\n if (showItems) {\n this.animateFadeIn();\n } else {\n this.animateFadeOut();\n }\n }\n\n private animateFadeOut() {\n const slotHideThresholdMs = 25;\n anime({\n targets: this.menuItemsContainer,\n duration: DefaultAnimationTimeout,\n easing: 'easeInSine',\n opacity: [1, 0],\n maxHeight: [this.getNestedItemsHeight() + DefaultIxMenuItemHeight, 0],\n complete: () => {\n setTimeout(() => {\n this.showItems = false;\n this.showDropdown = false;\n }, DefaultAnimationTimeout + slotHideThresholdMs);\n },\n });\n }\n\n private animateFadeIn() {\n anime({\n targets: this.menuItemsContainer,\n duration: DefaultAnimationTimeout,\n easing: 'easeInSine',\n opacity: [0, 1],\n maxHeight: [0, this.getNestedItemsHeight() + DefaultIxMenuItemHeight],\n begin: () => {\n this.showItems = true;\n this.showDropdown = false;\n },\n });\n }\n\n private onPointerEnter() {\n if (this.ixMenu.expand) {\n return;\n }\n this.closeOtherCategories.emit();\n this.showDropdown = true;\n }\n\n @Listen('closeOtherCategories', { target: 'window' })\n private onPointerLeave() {\n this.showDropdown = false;\n }\n\n private onCategoryClick(e: MouseEvent) {\n e.stopPropagation();\n if (this.ixMenu.expand) {\n e?.stopPropagation();\n this.onExpandCategory(!this.showItems);\n return;\n }\n }\n\n private onNestedItemsChanged() {\n this.nestedItems = this.getNestedItems();\n }\n\n private isCategoryItemListVisible() {\n return this.menuExpand && (this.showItems || this.isNestedItemActive());\n }\n\n componentWillLoad() {\n const closestMenu = closestIxMenu(this.hostElement);\n if (!closestMenu) {\n throw Error('ix-menu-category can only be used as a child of ix-menu');\n }\n this.ixMenu = closestMenu;\n\n this.menuExpand = this.ixMenu.expand;\n this.showItems = this.isCategoryItemListVisible();\n }\n\n componentDidLoad() {\n this.observer = createMutationObserver(() => this.onNestedItemsChanged());\n this.observer.observe(this.hostElement, {\n attributes: true,\n childList: true,\n subtree: true,\n });\n\n requestAnimationFrame(() => {\n this.onNestedItemsChanged();\n });\n\n this.ixMenu.addEventListener(\n 'expandChange',\n ({ detail: menuExpand }: CustomEvent<boolean>) => {\n this.menuExpand = menuExpand;\n if (!menuExpand) {\n this.clearMenuItemStyles();\n }\n this.showItems = this.isCategoryItemListVisible();\n }\n );\n }\n\n clearMenuItemStyles() {\n this.menuItemsContainer.style.removeProperty('max-height');\n this.menuItemsContainer.style.removeProperty('opacity');\n }\n\n disconnectedCallback() {\n if (this.observer) {\n this.observer.disconnect();\n }\n }\n\n render() {\n return (\n <Host\n class={{\n expanded: this.showItems,\n }}\n onPointerEnter={() => {\n this.enterLeaveDebounce.onEnter();\n }}\n onPointerLeave={(event: PointerEvent) => {\n if (event.pointerType === 'touch') {\n return;\n }\n this.enterLeaveDebounce.onLeave();\n }}\n >\n <ix-menu-item\n class={'category-parent'}\n active={this.isNestedItemActive()}\n notifications={this.notifications}\n icon={this.icon}\n onClick={(e) => this.onCategoryClick(e)}\n onFocus={() => this.onPointerEnter()}\n isCategory\n >\n <div class=\"category\">\n <div class=\"category-text\">{this.label}</div>\n <ix-icon\n name={'chevron-down-small'}\n class={{\n 'category-chevron': true,\n 'category-chevron--open': this.showItems,\n }}\n ></ix-icon>\n </div>\n </ix-menu-item>\n <div\n ref={(ref) => (this.menuItemsContainer = ref!)}\n class={{\n 'menu-items': true,\n 'menu-items--expanded': this.showItems,\n 'menu-items--collapsed': !this.showItems,\n }}\n >\n {this.showItems ? <slot></slot> : null}\n </div>\n <ix-dropdown\n closeBehavior={'both'}\n show={this.showDropdown}\n onShowChanged={({ detail: dropdownShown }: CustomEvent<boolean>) => {\n this.showDropdown = dropdownShown;\n }}\n class={'category-dropdown'}\n anchor={this.hostElement}\n placement=\"right-start\"\n offset={{\n mainAxis: 3,\n }}\n onClick={(e) => {\n if (e.target instanceof HTMLElement) {\n if (e.target.tagName === 'IX-MENU-ITEM') {\n this.showDropdown = false;\n } else {\n e.preventDefault();\n }\n }\n }}\n >\n <ix-dropdown-item class={'category-dropdown-header'}>\n <ix-typography variant=\"default-title-single\" color=\"std\">\n {this.label}\n </ix-typography>\n </ix-dropdown-item>\n <ix-divider></ix-divider>\n <slot></slot>\n </ix-dropdown>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ix-menu-category.entry.js","mappings":";;;;;;AAAA;;;;;;;;SAQgB,wBAAwB,CACtC,aAAuB,EACvB,aAAuB,EACvB,EACE,iBAAiB,EACjB,iBAAiB,MAIf;IACF,iBAAiB,EAAE,CAAC;IACpB,iBAAiB,EAAE,GAAG;CACvB;IAED,IAAI,YAA4B,CAAC;IACjC,IAAI,YAA4B,CAAC;IAEjC,OAAO;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9C,KAAK,EAAE;gBACL,YAAY,EAAE,IAAI;gBAClB,sBAAsB,EAAE,IAAI,CAAC,SAAS;gBACtC,uBAAuB,EAAE,CAAC,IAAI,CAAC,SAAS;aACzC,IAEA,IAAI,CAAC,SAAS,GAAG,eAAa,GAAG,IAAI,CAClC,EACN,oEACE,aAAa,EAAE,MAAM,EACrB,IAAI,EAAE,IAAI,CAAC,YAAY,EACvB,aAAa,EAAE,CAAC,EAAE,MAAM,EAAE,aAAa,EAAwB;gBAC7D,IAAI,CAAC,YAAY,GAAG,aAAa,CAAC;aACnC,EACD,KAAK,EAAE,mBAAmB,EAC1B,MAAM,EAAE,IAAI,CAAC,WAAW,EACxB,SAAS,EAAC,aAAa,EACvB,MAAM,EAAE;gBACN,QAAQ,EAAE,CAAC;aACZ,EACD,OAAO,EAAE,CAAC,CAAC;gBACT,IAAI,CAAC,CAAC,MAAM,YAAY,WAAW,EAAE;oBACnC,IAAI,CAAC,CAAC,MAAM,CAAC,OAAO,KAAK,cAAc,EAAE;wBACvC,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC;qBAC3B;yBAAM;wBACL,CAAC,CAAC,cAAc,EAAE,CAAC;qBACpB;iBACF;aACF,IAED,yEAAkB,KAAK,EAAE,0BAA0B,IACjD,sEAAe,MAAM,EAAC,OAAO,EAAC,IAAI,QAAC,KAAK,EAAC,KAAK,IAC3C,IAAI,CAAC,KAAK,CACG,CACC,EACnB,oEAAyB,EACzB,8DAAa,CACD,CACT,EACP;KACH;;;;;;;","names":[],"sources":["src/components/menu-category/enter-leave.ts","src/components/menu-category/menu-category.scss?tag=ix-menu-category&encapsulation=shadow","src/components/menu-category/menu-category.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 */\nexport function createEnterLeaveDebounce(\n enterCallback: Function,\n leaveCallback: Function,\n {\n debounceTimeEnter,\n debounceTimeLeave,\n }: {\n debounceTimeEnter: number;\n debounceTimeLeave: number;\n } = {\n debounceTimeEnter: 0,\n debounceTimeLeave: 500,\n }\n) {\n let enterTimeout: NodeJS.Timeout;\n let leaveTimeout: NodeJS.Timeout;\n\n return {\n onEnter: () => {\n clearTimeout(leaveTimeout);\n enterTimeout = setTimeout(() => {\n enterCallback();\n }, debounceTimeEnter);\n },\n onLeave: () => {\n clearTimeout(enterTimeout);\n leaveTimeout = setTimeout(() => {\n leaveCallback();\n }, debounceTimeLeave);\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\n@import 'mixins/shadow-dom/component';\n@import 'mixins/text-truncation';\n\n:host {\n @include ix-component;\n display: flex;\n flex-direction: column;\n position: relative;\n\n .category {\n display: flex;\n position: relative;\n align-items: center;\n width: 100%;\n height: 100%;\n }\n\n .category-text {\n width: 100%;\n padding-right: 0.25rem;\n @include ellipsis;\n }\n\n .category-chevron {\n margin-left: auto;\n margin-right: 0;\n transition: var(--theme-default-time) transform ease-in-out;\n }\n\n .category-chevron--open {\n transform: rotate(-180deg);\n }\n\n .menu-items {\n overflow: hidden;\n max-height: 0;\n transition: var(--theme-default-time) max-height ease-in-out;\n }\n\n .menu-items--expanded {\n max-height: 999999999px;\n padding: 0.25rem 0 0.25rem 1.625rem;\n }\n\n .menu-items--collapsed {\n display: none;\n }\n\n .category-dropdown {\n ::slotted(ix-menu-item) {\n --ix-menu-item-height: 2.5rem;\n }\n }\n\n .category-dropdown-header {\n pointer-events: none;\n padding-left: 0.125rem;\n min-width: 256px;\n }\n\n ::slotted(ix-menu-item) {\n --ix-menu-item-height: 2.5rem;\n }\n}\n\n:host(.expanded) {\n background-color: var(--theme-color-ghost--active);\n}\n\n:host {\n ::slotted(a[href]) {\n text-decoration: none !important;\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 */\nimport {\n Component,\n Element,\n h,\n Host,\n Prop,\n State,\n Event,\n EventEmitter,\n Listen,\n} from '@stencil/core';\nimport anime from 'animejs';\nimport { closestIxMenu } from '../utils/application-layout/context';\nimport { createMutationObserver } from '../utils/mutation-observer';\nimport { createEnterLeaveDebounce } from './enter-leave';\n\nconst DefaultIxMenuItemHeight = 40;\nconst DefaultAnimationTimeout = 150;\n\n/**\n * @since 2.0.0\n */\n@Component({\n tag: 'ix-menu-category',\n styleUrl: 'menu-category.scss',\n shadow: true,\n})\nexport class MenuCategory {\n @Element() hostElement: HTMLIxMenuCategoryElement;\n\n /**\n * Display name of the category\n */\n @Prop() label: string;\n\n /**\n * Icon of the category\n */\n @Prop() icon: string;\n\n /**\n * Show notification count on the category\n */\n @Prop() notifications: number;\n\n /** @internal */\n // eslint-disable-next-line @stencil-community/decorators-style\n @Event({ bubbles: true, cancelable: true })\n closeOtherCategories: EventEmitter;\n\n @State() menuExpand = false;\n @State() showItems = false;\n @State() showDropdown = false;\n @State() nestedItems: HTMLIxMenuItemElement[] = [];\n\n private observer: MutationObserver;\n private menuItemsContainer: HTMLDivElement;\n private ixMenu: HTMLIxMenuElement;\n\n private enterLeaveDebounce = createEnterLeaveDebounce(\n () => {\n this.onPointerEnter();\n },\n () => {\n this.onPointerLeave();\n }\n );\n\n private isNestedItemActive() {\n return this.getNestedItems().some((item) => item.active);\n }\n\n private getNestedItems() {\n return Array.from(\n this.hostElement.querySelectorAll(':scope ix-menu-item')\n ) as HTMLIxMenuItemElement[];\n }\n\n private getNestedItemsHeight() {\n const items = this.getNestedItems();\n\n return items.length * DefaultIxMenuItemHeight;\n }\n\n private onExpandCategory(showItems: boolean) {\n if (showItems) {\n this.animateFadeIn();\n } else {\n this.animateFadeOut();\n }\n }\n\n private animateFadeOut() {\n const slotHideThresholdMs = 25;\n anime({\n targets: this.menuItemsContainer,\n duration: DefaultAnimationTimeout,\n easing: 'easeInSine',\n opacity: [1, 0],\n maxHeight: [this.getNestedItemsHeight() + DefaultIxMenuItemHeight, 0],\n complete: () => {\n setTimeout(() => {\n this.showItems = false;\n this.showDropdown = false;\n }, DefaultAnimationTimeout + slotHideThresholdMs);\n },\n });\n }\n\n private animateFadeIn() {\n anime({\n targets: this.menuItemsContainer,\n duration: DefaultAnimationTimeout,\n easing: 'easeInSine',\n opacity: [0, 1],\n maxHeight: [0, this.getNestedItemsHeight() + DefaultIxMenuItemHeight],\n begin: () => {\n this.showItems = true;\n this.showDropdown = false;\n },\n });\n }\n\n private onPointerEnter() {\n if (this.ixMenu.expand) {\n return;\n }\n this.closeOtherCategories.emit();\n this.showDropdown = true;\n }\n\n @Listen('closeOtherCategories', { target: 'window' })\n private onPointerLeave() {\n this.showDropdown = false;\n }\n\n private onCategoryClick(e: MouseEvent) {\n e.stopPropagation();\n if (this.ixMenu.expand) {\n e?.stopPropagation();\n this.onExpandCategory(!this.showItems);\n return;\n }\n }\n\n private onNestedItemsChanged() {\n this.nestedItems = this.getNestedItems();\n }\n\n private isCategoryItemListVisible() {\n return this.menuExpand && (this.showItems || this.isNestedItemActive());\n }\n\n componentWillLoad() {\n const closestMenu = closestIxMenu(this.hostElement);\n if (!closestMenu) {\n throw Error('ix-menu-category can only be used as a child of ix-menu');\n }\n this.ixMenu = closestMenu;\n\n this.menuExpand = this.ixMenu.expand;\n this.showItems = this.isCategoryItemListVisible();\n }\n\n componentDidLoad() {\n this.observer = createMutationObserver(() => this.onNestedItemsChanged());\n this.observer.observe(this.hostElement, {\n attributes: true,\n childList: true,\n subtree: true,\n });\n\n requestAnimationFrame(() => {\n this.onNestedItemsChanged();\n });\n\n this.ixMenu.addEventListener(\n 'expandChange',\n ({ detail: menuExpand }: CustomEvent<boolean>) => {\n this.menuExpand = menuExpand;\n if (!menuExpand) {\n this.clearMenuItemStyles();\n }\n this.showItems = this.isCategoryItemListVisible();\n }\n );\n }\n\n clearMenuItemStyles() {\n this.menuItemsContainer.style.removeProperty('max-height');\n this.menuItemsContainer.style.removeProperty('opacity');\n }\n\n disconnectedCallback() {\n if (this.observer) {\n this.observer.disconnect();\n }\n }\n\n render() {\n return (\n <Host\n class={{\n expanded: this.showItems,\n }}\n onPointerEnter={() => {\n this.enterLeaveDebounce.onEnter();\n }}\n onPointerLeave={(event: PointerEvent) => {\n if (event.pointerType === 'touch') {\n return;\n }\n this.enterLeaveDebounce.onLeave();\n }}\n >\n <ix-menu-item\n class={'category-parent'}\n active={this.isNestedItemActive()}\n notifications={this.notifications}\n icon={this.icon}\n onClick={(e) => this.onCategoryClick(e)}\n onFocus={() => this.onPointerEnter()}\n isCategory\n >\n <div class=\"category\">\n <div class=\"category-text\">{this.label}</div>\n <ix-icon\n name={'chevron-down-small'}\n class={{\n 'category-chevron': true,\n 'category-chevron--open': this.showItems,\n }}\n ></ix-icon>\n </div>\n </ix-menu-item>\n <div\n ref={(ref) => (this.menuItemsContainer = ref!)}\n class={{\n 'menu-items': true,\n 'menu-items--expanded': this.showItems,\n 'menu-items--collapsed': !this.showItems,\n }}\n >\n {this.showItems ? <slot></slot> : null}\n </div>\n <ix-dropdown\n closeBehavior={'both'}\n show={this.showDropdown}\n onShowChanged={({ detail: dropdownShown }: CustomEvent<boolean>) => {\n this.showDropdown = dropdownShown;\n }}\n class={'category-dropdown'}\n anchor={this.hostElement}\n placement=\"right-start\"\n offset={{\n mainAxis: 3,\n }}\n onClick={(e) => {\n if (e.target instanceof HTMLElement) {\n if (e.target.tagName === 'IX-MENU-ITEM') {\n this.showDropdown = false;\n } else {\n e.preventDefault();\n }\n }\n }}\n >\n <ix-dropdown-item class={'category-dropdown-header'}>\n <ix-typography format=\"label\" bold color=\"std\">\n {this.label}\n </ix-typography>\n </ix-dropdown-item>\n <ix-divider></ix-divider>\n <slot></slot>\n </ix-dropdown>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h, H as Host } from './index-5429f20b.js';
2
- import { g as getButtonClasses } from './base-button-1b40b11d.js';
3
- import { a as a11yBoolean } from './a11y-2e34777f.js';
1
+ import { r as registerInstance, h, H as Host } from './index-97874de0.js';
2
+ import { g as getButtonClasses } from './base-button-845f2463.js';
3
+ import { a as a11yBoolean } from './a11y-b10c12e0.js';
4
4
 
5
5
  const menuExpandIconCss = ".btn{display:inline-flex;align-items:center;justify-content:center;height:2rem;font-size:0.875rem;font-weight:700;transition:var(--theme-default-time);padding:0 0.5rem;min-width:5rem;gap:0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.btn .glyph{margin-right:0.25rem;font-weight:400}.btn:focus-visible,.btn.focus{box-shadow:none}.btn-primary{border-radius:var(--theme-btn--border-radius)}.btn-primary,.btn-primary.focus,.btn-primary:focus-visible{background-color:var(--theme-btn-primary--background);color:var(--theme-btn-primary--color);--ix-button-color:var(--theme-btn-primary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-primary--border-color);border-style:solid}.btn-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-primary.hover,.btn-primary:hover{border-color:var(--theme-btn-primary--border-color--hover);background-color:var(--theme-btn-primary--background--hover);color:var(--theme-btn-primary--color--hover)}.btn-primary.selected.hover,.btn-primary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-primary:not(:disabled):not(.disabled):active,.btn-primary:not(:disabled):not(.disabled).active,.show>.btn-primary.dropdown-toggle{border-color:var(--theme-btn-primary--border-color--active);background-color:var(--theme-btn-primary--background--active);color:var(--theme-btn-primary--color--active)}.btn-primary.selected:not(:disabled):not(.disabled):active,.btn-primary.selected:not(:disabled):not(.disabled).active,.show>.btn-primary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-primary.disabled,.btn-primary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-primary--border-color--disabled);background-color:var(--theme-btn-primary--background--disabled);color:var(--theme-btn-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-primary--color--disabled)}.btn-outline-primary{border-radius:var(--theme-btn--border-radius)}.btn-outline-primary,.btn-outline-primary.focus,.btn-outline-primary:focus-visible{background-color:var(--theme-btn-outline-primary--background);color:var(--theme-btn-outline-primary--color);--ix-button-color:var(--theme-btn-outline-primary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-outline-primary--border-color);border-style:solid}.btn-outline-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-outline-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-outline-primary.hover,.btn-outline-primary:hover{border-color:var(--theme-btn-outline-primary--border-color--hover);background-color:var(--theme-btn-outline-primary--background--hover);color:var(--theme-btn-outline-primary--color--hover)}.btn-outline-primary.selected.hover,.btn-outline-primary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-outline-primary:not(:disabled):not(.disabled):active,.btn-outline-primary:not(:disabled):not(.disabled).active,.show>.btn-outline-primary.dropdown-toggle{border-color:var(--theme-btn-outline-primary--border-color--active);background-color:var(--theme-btn-outline-primary--background--active);color:var(--theme-btn-outline-primary--color--active)}.btn-outline-primary.selected:not(:disabled):not(.disabled):active,.btn-outline-primary.selected:not(:disabled):not(.disabled).active,.show>.btn-outline-primary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-outline-primary.disabled,.btn-outline-primary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-outline-primary--border-color--disabled);background-color:var(--theme-btn-outline-primary--background--disabled);color:var(--theme-btn-outline-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-outline-primary--color--disabled)}.btn-invisible-primary{border-radius:var(--theme-btn--border-radius);--bs-btn-border-width:0px;--bs-btn-active-border-color:none}.btn-invisible-primary,.btn-invisible-primary.focus,.btn-invisible-primary:focus-visible{background-color:var(--theme-btn-invisible-primary--background);color:var(--theme-btn-invisible-primary--color);--ix-button-color:var(--theme-btn-invisible-primary--color);border-color:transparent}.btn-invisible-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-invisible-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-invisible-primary.hover,.btn-invisible-primary:hover{background-color:var(--theme-btn-invisible-primary--background--hover);color:var(--theme-btn-invisible-primary--color--hover)}.btn-invisible-primary.selected.hover,.btn-invisible-primary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-invisible-primary:not(:disabled):not(.disabled):active,.btn-invisible-primary:not(:disabled):not(.disabled).active,.show>.btn-invisible-primary.dropdown-toggle{background-color:var(--theme-btn-invisible-primary--background--active);color:var(--theme-btn-invisible-primary--color--active)}.btn-invisible-primary.selected:not(:disabled):not(.disabled):active,.btn-invisible-primary.selected:not(:disabled):not(.disabled).active,.show>.btn-invisible-primary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-invisible-primary.disabled,.btn-invisible-primary:disabled{pointer-events:none;cursor:initial;background-color:var(--theme-btn-invisible-primary--background--disabled);color:var(--theme-btn-invisible-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-invisible-primary--color--disabled)}.btn-secondary{border-radius:var(--theme-btn--border-radius)}.btn-secondary,.btn-secondary.focus,.btn-secondary:focus-visible{background-color:var(--theme-btn-secondary--background);color:var(--theme-btn-secondary--color);--ix-button-color:var(--theme-btn-secondary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-secondary--border-color);border-style:solid}.btn-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-secondary.hover,.btn-secondary:hover{border-color:var(--theme-btn-secondary--border-color--hover);background-color:var(--theme-btn-secondary--background--hover);color:var(--theme-btn-secondary--color--hover)}.btn-secondary.selected.hover,.btn-secondary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-secondary:not(:disabled):not(.disabled):active,.btn-secondary:not(:disabled):not(.disabled).active,.show>.btn-secondary.dropdown-toggle{border-color:var(--theme-btn-secondary--border-color--active);background-color:var(--theme-btn-secondary--background--active);color:var(--theme-btn-secondary--color--active)}.btn-secondary.selected:not(:disabled):not(.disabled):active,.btn-secondary.selected:not(:disabled):not(.disabled).active,.show>.btn-secondary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-secondary.disabled,.btn-secondary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-secondary--border-color--disabled);background-color:var(--theme-btn-secondary--background--disabled);color:var(--theme-btn-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-secondary--color--disabled)}.btn-outline-secondary{border-radius:var(--theme-btn--border-radius)}.btn-outline-secondary,.btn-outline-secondary.focus,.btn-outline-secondary:focus-visible{background-color:var(--theme-btn-outline-secondary--background);color:var(--theme-btn-outline-secondary--color);--ix-button-color:var(--theme-btn-outline-secondary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-outline-secondary--border-color);border-style:solid}.btn-outline-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-outline-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-outline-secondary.hover,.btn-outline-secondary:hover{border-color:var(--theme-btn-outline-secondary--border-color--hover);background-color:var(--theme-btn-outline-secondary--background--hover);color:var(--theme-btn-outline-secondary--color--hover)}.btn-outline-secondary.selected.hover,.btn-outline-secondary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-outline-secondary:not(:disabled):not(.disabled):active,.btn-outline-secondary:not(:disabled):not(.disabled).active,.show>.btn-outline-secondary.dropdown-toggle{border-color:var(--theme-btn-outline-secondary--border-color--active);background-color:var(--theme-btn-outline-secondary--background--active);color:var(--theme-btn-outline-secondary--color--active)}.btn-outline-secondary.selected:not(:disabled):not(.disabled):active,.btn-outline-secondary.selected:not(:disabled):not(.disabled).active,.show>.btn-outline-secondary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-outline-secondary--border-color--disabled);background-color:var(--theme-btn-outline-secondary--background--disabled);color:var(--theme-btn-outline-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-outline-secondary--color--disabled)}.btn-invisible-secondary{border-radius:var(--theme-btn--border-radius);--bs-btn-border-width:0px;--bs-btn-active-border-color:none}.btn-invisible-secondary,.btn-invisible-secondary.focus,.btn-invisible-secondary:focus-visible{background-color:var(--theme-btn-invisible-secondary--background);color:var(--theme-btn-invisible-secondary--color);--ix-button-color:var(--theme-btn-invisible-secondary--color);border-color:transparent}.btn-invisible-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-invisible-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-invisible-secondary.hover,.btn-invisible-secondary:hover{background-color:var(--theme-btn-invisible-secondary--background--hover);color:var(--theme-btn-invisible-secondary--color--hover)}.btn-invisible-secondary.selected.hover,.btn-invisible-secondary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-invisible-secondary:not(:disabled):not(.disabled):active,.btn-invisible-secondary:not(:disabled):not(.disabled).active,.show>.btn-invisible-secondary.dropdown-toggle{background-color:var(--theme-btn-invisible-secondary--background--active);color:var(--theme-btn-invisible-secondary--color--active)}.btn-invisible-secondary.selected:not(:disabled):not(.disabled):active,.btn-invisible-secondary.selected:not(:disabled):not(.disabled).active,.show>.btn-invisible-secondary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-invisible-secondary.disabled,.btn-invisible-secondary:disabled{pointer-events:none;cursor:initial;background-color:var(--theme-btn-invisible-secondary--background--disabled);color:var(--theme-btn-invisible-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-invisible-secondary--color--disabled)}.btn-oval,.btn-icon{min-width:2rem;width:2rem}.btn-oval .glyph,.btn-icon .glyph{margin-right:0}.btn-oval{border-radius:6.25rem;width:2rem}.btn-icon-xs,.btn-icon-12{height:1rem;width:1rem;min-width:1rem;min-height:1rem}.btn-icon-s,.btn-icon-16{height:1.5rem;width:1.5rem;min-width:1.5rem;min-height:1.5rem}.btn-icon-32{height:2rem;width:2rem;min-width:2rem;min-height:2rem}:host{display:flex;justify-content:center;align-items:center;height:2rem;width:2rem;border-radius:var(--theme-btn--border-radius);pointer-events:all}: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 ::-webkit-scrollbar{width:0.5rem;height:0.5rem}: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 ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host svg{display:inline-block;vertical-align:middle}:host .line{fill:var(--theme-menu-btn--color);opacity:1;x:2px;transition:x 0.075s ease-in var(--theme-default-time), transform 0.075s ease-in-out 0.075s, y 0.075s ease-in-out, opacity 0.075s linear 0.075s;transform-origin:center}:host(:not(.disabled):not(:disabled)){cursor:pointer}:host(:hover:not(.disabled):not(:disabled)) .menu-expand-button{background-color:var(--theme-menu-btn--background--hover)}.menu-expand-button{width:2rem;padding:0;cursor:pointer}:host(:not(.disabled):not(:disabled)){cursor:pointer}:host(:active:not(.disabled):not(:disabled)) .menu-expand-button{background-color:var(--theme-menu-btn--background--active)}:host(.expanded) svg .line-1{opacity:1;transform:rotate(-45deg);y:11px}:host(.expanded) svg .line-2{opacity:0;x:9}:host(.expanded) svg .line-3{opacity:1;transform:rotate(45deg);y:11px}";
6
6
  const IxMenuExpandIconStyle0 = menuExpandIconCss;
@@ -32,7 +32,7 @@ const MenuExpandIcon = class {
32
32
  return this.getSmallScreenIcon();
33
33
  }
34
34
  render() {
35
- return (h(Host, { key: '04c0e5b43f6de34672561d67612587ccf57b8de2', class: {
35
+ return (h(Host, { key: '47eabfc90f05f809a8df541e3ae79f3f7d32bb5f', class: {
36
36
  expanded: this.expanded,
37
37
  } }, this.getMenuIcon()));
38
38
  }
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-5429f20b.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-97874de0.js';
2
2
  import { c as createMutationObserver } from './mutation-observer-db8757e6.js';
3
- import { m as makeRef } from './make-ref-c80046bf.js';
3
+ import { m as makeRef } from './make-ref-4b76e9b5.js';
4
4
  import { m as menuController } from './menu-service-f974814b.js';
5
5
  import './typed-event-ad6484c5.js';
6
6
 
@@ -28,19 +28,20 @@ const MenuItem = class {
28
28
  this.menuExpanded = false;
29
29
  }
30
30
  componentWillLoad() {
31
+ var _a;
31
32
  this.isHostedInsideCategory =
32
33
  !!this.hostElement.closest('ix-menu-category');
33
34
  this.onIconChange();
34
35
  this.onTabIconChange();
35
- this.menuExpanded = menuController.nativeElement.expand;
36
+ this.menuExpanded = ((_a = menuController.nativeElement) === null || _a === void 0 ? void 0 : _a.expand) || false;
36
37
  this.menuExpandedDisposer = menuController.expandChange.on((expand) => (this.menuExpanded = expand));
37
38
  }
38
39
  componentWillRender() {
39
40
  this.setTooltip();
40
41
  }
41
42
  setTooltip() {
42
- var _a;
43
- this.tooltip = (_a = this.label) !== null && _a !== void 0 ? _a : this.hostElement.textContent;
43
+ var _a, _b;
44
+ this.tooltip = (_b = (_a = this.label) !== null && _a !== void 0 ? _a : this.hostElement.textContent) !== null && _b !== void 0 ? _b : undefined;
44
45
  }
45
46
  connectedCallback() {
46
47
  this.observer.observe(this.hostElement, {
@@ -84,15 +85,15 @@ const MenuItem = class {
84
85
  slot: 'bottom',
85
86
  };
86
87
  }
87
- return (h(Host, Object.assign({ key: '44759af10c986ca08135dae3ab3b2258c933d8ef', class: {
88
+ return (h(Host, Object.assign({ key: '88e8f15c522e435f3d0cf1873cc583d241145264', class: {
88
89
  disabled: this.disabled,
89
90
  'home-tab': this.home,
90
91
  'bottom-tab': this.bottom,
91
92
  active: this.active,
92
93
  'tab-nested': this.isHostedInsideCategory,
93
- } }, extendedAttributes), h("button", { key: 'e30dbc8b43973f06f0d1f387ca886f11c088c0b9', class: "tab", tabIndex: this.disabled ? -1 : 0, role: "listitem", ref: this.buttonRef }, (this.icon || this.tabIcon) && (h("ix-icon", { key: '11163d983423f020b14de4bcae24dbf55068e645', class: 'tab-icon', name: (_a = this.icon) !== null && _a !== void 0 ? _a : this.tabIcon })), this.notifications ? (h("div", { class: "notification" }, h("div", { class: "pill" }, this.notifications))) : null, h("span", { key: '3a62db4c5e965a9fec6d5e4648a9587b7ff6271d', class: "tab-text text-default" }, this.label, h("slot", { key: '1c9c5c22c13da93176d68f93c516e4005506d43e' }))), !this.isCategory &&
94
+ } }, extendedAttributes), h("button", { key: '581d840e9f95e029300a3f14bc63841b919d7639', class: "tab", tabIndex: this.disabled ? -1 : 0, ref: this.buttonRef }, (this.icon || this.tabIcon) && (h("ix-icon", { key: 'b31f3ea13d00770520b0c3a1867fb7f9a9e42a21', class: 'tab-icon', name: (_a = this.icon) !== null && _a !== void 0 ? _a : this.tabIcon })), this.notifications ? (h("div", { class: "notification" }, h("div", { class: "pill" }, this.notifications))) : null, h("span", { key: '977480b74cf07ffd13a9502d679fd3be4103fb17', class: "tab-text text-default" }, this.label, h("slot", { key: '19f5dfc4e6e8909391dc71c8593470dd8f408fd4' }))), !this.isCategory &&
94
95
  !this.isHostedInsideCategory &&
95
- !this.menuExpanded && (h("ix-tooltip", { key: 'ec5fd96cbe7c0937202a70ebfba24abc66afd203', for: this.buttonRef.waitForCurrent(), placement: 'right', showDelay: 1000 }, this.tooltip))));
96
+ !this.menuExpanded && (h("ix-tooltip", { key: 'e742d5f121663b823cc9a748c2fc8abafbe4d47e', for: this.buttonRef.waitForCurrent(), placement: 'right', showDelay: 1000 }, this.tooltip))));
96
97
  }
97
98
  get hostElement() { return getElement(this); }
98
99
  static get watchers() { return {
@@ -1 +1 @@
1
- {"file":"ix-menu-item.entry.js","mappings":";;;;;;AAAA,MAAM,WAAW,GAAG,yzGAAyzG,CAAC;AAC90G,yBAAe,WAAW;;MCsBb,QAAQ;;;QAuDX,cAAS,GAAG,OAAO,EAAqB,CAAC;QACzC,2BAAsB,GAAG,KAAK,CAAC;QAG/B,aAAQ,GAAqB,sBAAsB,CAAC;YAC1D,IAAI,CAAC,UAAU,EAAE,CAAC;SACnB,CAAC,CAAC;;oBAlDY,KAAK;sBAOH,KAAK;;;;sBAsBI,KAAK;wBAKH,KAAK;0BAGH,KAAK;;4BAKF,KAAK;;IAUtC,iBAAiB;QACf,IAAI,CAAC,sBAAsB;YACzB,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC;QAEjD,IAAI,CAAC,YAAY,EAAE,CAAC;QACpB,IAAI,CAAC,eAA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menu-item.scss?tag=ix-menu-item&encapsulation=shadow","src/components/menu-item/menu-item.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@import 'common-variables';\n@import 'mixins/hover';\n@import 'mixins/text-truncation';\n\n$menuItemHeight: 3rem;\n$menuItemPadding: 0.875rem;\n\n:host {\n position: relative;\n display: block;\n cursor: pointer;\n\n height: var(--ix-menu-item-height, $menuItemHeight);\n min-height: var(--ix-menu-item-height, $menuItemHeight);\n max-height: var(--ix-menu-item-height, $menuItemHeight);\n\n .tab {\n all: unset;\n box-sizing: border-box;\n display: flex;\n position: relative;\n align-items: center;\n height: var(--ix-menu-item-height, $menuItemHeight);\n width: calc(100%);\n z-index: 500;\n padding-left: $menuItemPadding;\n\n @include ghost-hover-pressed;\n }\n\n .tab-icon {\n color: var(--theme-nav-item-primary-icon--color);\n position: relative;\n pointer-events: none;\n }\n\n .tab:focus-visible {\n outline: 1px solid var(--theme-color-focus-bdr);\n outline-offset: -1px;\n }\n\n .notification {\n display: inline-flex;\n position: absolute;\n top: 0.25rem;\n left: 1.5rem;\n\n .pill {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n height: 0.5rem;\n min-width: 1rem;\n position: relative;\n border-radius: 6.25rem;\n background-color: var(--theme-color-primary);\n font-size: 0.75rem;\n font-weight: bold;\n line-height: 1;\n font-family: Siemens Sans, Arial, sans-serif;\n color: var(--theme-color-primary--contrast);\n padding: $tiny-space;\n }\n }\n\n .tab-text {\n @include ellipsis;\n color: var(--theme-nav-item-primary--color);\n margin: 0 1rem 0 1.25rem;\n user-select: none;\n width: 100%;\n }\n}\n\n:host(.active),\n:host(.selected) {\n .tab {\n background-color: var(--theme-nav-item-primary--background--selected);\n }\n\n .tab::before {\n content: '';\n background-color: var(--theme-nav-item-primary--border-color--selected);\n height: var(--ix-menu-item-height, $menuItemHeight);\n width: 0.25rem;\n left: 0;\n position: absolute;\n }\n\n .tab > .glyph {\n color: var(--theme-nav-item-primary-icon--color--selected);\n }\n}\n\n:host(.disabled) {\n color: var(--theme-color-weak-text);\n pointer-events: none;\n cursor: default;\n\n .tab > .tab-icon {\n color: var(--theme-color-weak-text);\n }\n\n .tab-text {\n color: var(--theme-color-weak-text);\n }\n}\n\n:host(.bottom-tab),\n:host([slot='bottom']) {\n $bottom-height: 2.25rem;\n\n min-height: $bottom-height;\n height: $bottom-height;\n max-height: $bottom-height;\n\n .tab {\n height: $bottom-height;\n }\n\n .tab::before {\n height: $bottom-height;\n background-color: transparent;\n }\n\n &.active,\n &.selected {\n &:hover {\n background-color: var(--theme-nav-item-secondary--background--selected);\n }\n\n &:active {\n background-color: var(--theme-nav-item-secondary--background--selected);\n }\n }\n}\n\n:host(.bottom-tab.active),\n:host(.bottom-tab.selected),\n:host(.active[slot='bottom']),\n:host(.selected[slot='bottom']) {\n .tab {\n background-color: var(--theme-nav-item-secondary--background--selected);\n }\n}\n\n:host(.tab-nested) {\n .tab {\n flex-direction: row;\n padding-left: calc(0.5rem + $menuItemPadding);\n\n .notification {\n position: relative;\n top: 0;\n left: 0;\n padding-left: 0.5rem;\n }\n\n .tab-icon {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n }\n\n .tab-text {\n margin-left: 0.5rem;\n }\n\n &::before {\n display: none;\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, Prop, State, Watch } from '@stencil/core';\nimport { createMutationObserver } from '../utils/mutation-observer';\nimport { makeRef } from '../utils/make-ref';\nimport { menuController } from '../utils/menu-service/menu-service';\nimport { Disposable } from '../utils/typed-event';\n\n/**\n * @slot menu-item-label Custom label\n */\n@Component({\n tag: 'ix-menu-item',\n styleUrl: 'menu-item.scss',\n shadow: true,\n})\nexport class MenuItem {\n /**\n * Label of the menu item. Will also be used as tooltip text\n *\n * @since 2.2.0\n */\n @Prop() label?: string;\n\n /**\n * Move the Tab to a top position.\n */\n @Prop() home = false;\n\n /**\n * Caution: this is no longer working. Please use slot=\"bottom\" instead.\n *\n * Place tab on bottom\n */\n @Prop() bottom = false;\n\n /**\n * Name of the icon you want to display. Icon names can be resolved from the documentation @link https://ix.siemens.io/docs/icon-library/icons\n *\n * @deprecated since 2.0.0 use `icon` property. Will be removed in 3.0.0\n */\n @Prop({ mutable: true }) tabIcon?: string;\n\n /**\n * Name of the icon you want to display. Icon names can be resolved from the documentation @link https://ix.siemens.io/docs/icon-library/icons\n */\n @Prop({ mutable: true }) icon?: string;\n\n /**\n * Show notification count on tab\n */\n @Prop() notifications?: number;\n\n /**\n * State to display active\n */\n @Prop() active: boolean = false;\n\n /**\n * Disable tab and remove event handlers\n */\n @Prop() disabled: boolean = false;\n\n /** @internal */\n @Prop() isCategory: boolean = false;\n\n @Element() hostElement!: HTMLIxMenuItemElement;\n\n @State() tooltip?: string;\n @State() menuExpanded: boolean = false;\n\n private buttonRef = makeRef<HTMLButtonElement>();\n private isHostedInsideCategory = false;\n private menuExpandedDisposer: Disposable;\n\n private observer: MutationObserver = createMutationObserver(() => {\n this.setTooltip();\n });\n\n componentWillLoad() {\n this.isHostedInsideCategory =\n !!this.hostElement.closest('ix-menu-category');\n\n this.onIconChange();\n this.onTabIconChange();\n\n this.menuExpanded = menuController.nativeElement.expand;\n this.menuExpandedDisposer = menuController.expandChange.on(\n (expand) => (this.menuExpanded = expand)\n );\n }\n\n componentWillRender() {\n this.setTooltip();\n }\n\n setTooltip() {\n this.tooltip = this.label ?? this.hostElement.textContent;\n }\n\n connectedCallback() {\n this.observer.observe(this.hostElement, {\n subtree: true,\n childList: true,\n characterData: true,\n });\n }\n\n disconnectedCallback() {\n if (this.observer) {\n this.observer.disconnect();\n }\n\n if (this.menuExpandedDisposer) {\n this.menuExpandedDisposer.dispose();\n }\n }\n\n @Watch('icon')\n onIconChange() {\n if (\n !this.isHostedInsideCategory &&\n !this.hostElement.icon &&\n !this.hostElement.tabIcon\n ) {\n this.icon = 'document';\n }\n }\n\n @Watch('tabIcon')\n onTabIconChange() {\n if (\n !this.isHostedInsideCategory &&\n !this.hostElement.icon &&\n !this.hostElement.tabIcon\n ) {\n this.tabIcon = 'document';\n }\n }\n\n render() {\n let extendedAttributes = {};\n if (this.home) {\n extendedAttributes = {\n slot: 'home',\n };\n }\n\n if (this.bottom) {\n extendedAttributes = {\n slot: 'bottom',\n };\n }\n return (\n <Host\n class={{\n disabled: this.disabled,\n 'home-tab': this.home,\n 'bottom-tab': this.bottom,\n active: this.active,\n 'tab-nested': this.isHostedInsideCategory,\n }}\n {...extendedAttributes}\n >\n <button\n class=\"tab\"\n tabIndex={this.disabled ? -1 : 0}\n role=\"listitem\"\n ref={this.buttonRef}\n >\n {(this.icon || this.tabIcon) && (\n <ix-icon\n class={'tab-icon'}\n name={this.icon ?? this.tabIcon}\n ></ix-icon>\n )}\n {this.notifications ? (\n <div class=\"notification\">\n <div class=\"pill\">{this.notifications}</div>\n </div>\n ) : null}\n <span class=\"tab-text text-default\">\n {this.label}\n <slot></slot>\n </span>\n </button>\n {!this.isCategory &&\n !this.isHostedInsideCategory &&\n !this.menuExpanded && (\n <ix-tooltip\n for={this.buttonRef.waitForCurrent()}\n placement={'right'}\n showDelay={1000}\n >\n {this.tooltip}\n </ix-tooltip>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ix-menu-item.entry.js","mappings":";;;;;;AAAA,MAAM,WAAW,GAAG,yzGAAyzG,CAAC;AAC90G,yBAAe,WAAW;;MCsBb,QAAQ;;;QAuDF,cAAS,GAAG,OAAO,EAAqB,CAAC;QAClD,2BAAsB,GAAG,KAAK,CAAC;QAGtB,aAAQ,GAAqB,sBAAsB,CAAC;YACnE,IAAI,CAAC,UAAU,EAAE,CAAC;SACnB,CAAC,CAAC;;oBAlDY,KAAK;s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I,CAAC,UAAU;YACf,CAAC,IAAI,CAAC,sBAAsB;YAC5B,CAAC,IAAI,CAAC,YAAY,KAChB,mEACE,GAAG,EAAE,IAAI,CAAC,SAAS,CAAC,cAAc,EAAE,EACpC,SAAS,EAAE,OAAO,EAClB,SAAS,EAAE,IAAI,IAEd,IAAI,CAAC,OAAO,CACF,CACd,CACE,EACP;KACH;;;;;;;;;;;","names":[],"sources":["src/components/menu-item/menu-item.scss?tag=ix-menu-item&encapsulation=shadow","src/components/menu-item/menu-item.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@import 'common-variables';\n@import 'mixins/hover';\n@import 'mixins/text-truncation';\n\n$menuItemHeight: 3rem;\n$menuItemPadding: 0.875rem;\n\n:host {\n position: relative;\n display: block;\n cursor: pointer;\n\n height: var(--ix-menu-item-height, $menuItemHeight);\n min-height: var(--ix-menu-item-height, $menuItemHeight);\n max-height: var(--ix-menu-item-height, $menuItemHeight);\n\n .tab {\n all: unset;\n box-sizing: border-box;\n display: flex;\n position: relative;\n align-items: center;\n height: var(--ix-menu-item-height, $menuItemHeight);\n width: calc(100%);\n z-index: 500;\n padding-left: $menuItemPadding;\n\n @include ghost-hover-pressed;\n }\n\n .tab-icon {\n color: var(--theme-nav-item-primary-icon--color);\n position: relative;\n pointer-events: none;\n }\n\n .tab:focus-visible {\n outline: 1px solid var(--theme-color-focus-bdr);\n outline-offset: -1px;\n }\n\n .notification {\n display: inline-flex;\n position: absolute;\n top: 0.25rem;\n left: 1.5rem;\n\n .pill {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n height: 0.5rem;\n min-width: 1rem;\n position: relative;\n border-radius: 6.25rem;\n background-color: var(--theme-color-primary);\n font-size: 0.75rem;\n font-weight: bold;\n line-height: 1;\n font-family: Siemens Sans, Arial, sans-serif;\n color: var(--theme-color-primary--contrast);\n padding: $tiny-space;\n }\n }\n\n .tab-text {\n @include ellipsis;\n color: var(--theme-nav-item-primary--color);\n margin: 0 1rem 0 1.25rem;\n user-select: none;\n width: 100%;\n }\n}\n\n:host(.active),\n:host(.selected) {\n .tab {\n background-color: var(--theme-nav-item-primary--background--selected);\n }\n\n .tab::before {\n content: '';\n background-color: var(--theme-nav-item-primary--border-color--selected);\n height: var(--ix-menu-item-height, $menuItemHeight);\n width: 0.25rem;\n left: 0;\n position: absolute;\n }\n\n .tab > .glyph {\n color: var(--theme-nav-item-primary-icon--color--selected);\n }\n}\n\n:host(.disabled) {\n color: var(--theme-color-weak-text);\n pointer-events: none;\n cursor: default;\n\n .tab > .tab-icon {\n color: var(--theme-color-weak-text);\n }\n\n .tab-text {\n color: var(--theme-color-weak-text);\n }\n}\n\n:host(.bottom-tab),\n:host([slot='bottom']) {\n $bottom-height: 2.25rem;\n\n min-height: $bottom-height;\n height: $bottom-height;\n max-height: $bottom-height;\n\n .tab {\n height: $bottom-height;\n }\n\n .tab::before {\n height: $bottom-height;\n background-color: transparent;\n }\n\n &.active,\n &.selected {\n &:hover {\n background-color: var(--theme-nav-item-secondary--background--selected);\n }\n\n &:active {\n background-color: var(--theme-nav-item-secondary--background--selected);\n }\n }\n}\n\n:host(.bottom-tab.active),\n:host(.bottom-tab.selected),\n:host(.active[slot='bottom']),\n:host(.selected[slot='bottom']) {\n .tab {\n background-color: var(--theme-nav-item-secondary--background--selected);\n }\n}\n\n:host(.tab-nested) {\n .tab {\n flex-direction: row;\n padding-left: calc(0.5rem + $menuItemPadding);\n\n .notification {\n position: relative;\n top: 0;\n left: 0;\n padding-left: 0.5rem;\n }\n\n .tab-icon {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n }\n\n .tab-text {\n margin-left: 0.5rem;\n }\n\n &::before {\n display: none;\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, Prop, State, Watch } from '@stencil/core';\nimport { createMutationObserver } from '../utils/mutation-observer';\nimport { makeRef } from '../utils/make-ref';\nimport { menuController } from '../utils/menu-service/menu-service';\nimport { Disposable } from '../utils/typed-event';\n\n/**\n * @slot menu-item-label Custom label\n */\n@Component({\n tag: 'ix-menu-item',\n styleUrl: 'menu-item.scss',\n shadow: true,\n})\nexport class MenuItem {\n /**\n * Label of the menu item. Will also be used as tooltip text\n *\n * @since 2.2.0\n */\n @Prop() label?: string;\n\n /**\n * Move the Tab to a top position.\n */\n @Prop() home = false;\n\n /**\n * Caution: this is no longer working. Please use slot=\"bottom\" instead.\n *\n * Place tab on bottom\n */\n @Prop() bottom = false;\n\n /**\n * Name of the icon you want to display. Icon names can be resolved from the documentation @link https://ix.siemens.io/docs/icon-library/icons\n *\n * @deprecated since 2.0.0 use `icon` property. Will be removed in 3.0.0\n */\n @Prop({ mutable: true }) tabIcon?: string;\n\n /**\n * Name of the icon you want to display. Icon names can be resolved from the documentation @link https://ix.siemens.io/docs/icon-library/icons\n */\n @Prop({ mutable: true }) icon?: string;\n\n /**\n * Show notification count on tab\n */\n @Prop() notifications?: number;\n\n /**\n * State to display active\n */\n @Prop() active: boolean = false;\n\n /**\n * Disable tab and remove event handlers\n */\n @Prop() disabled: boolean = false;\n\n /** @internal */\n @Prop() isCategory: boolean = false;\n\n @Element() hostElement!: HTMLIxMenuItemElement;\n\n @State() tooltip?: string;\n @State() menuExpanded: boolean = false;\n\n private readonly buttonRef = makeRef<HTMLButtonElement>();\n private isHostedInsideCategory = false;\n private menuExpandedDisposer?: Disposable;\n\n private readonly observer: MutationObserver = createMutationObserver(() => {\n this.setTooltip();\n });\n\n componentWillLoad() {\n this.isHostedInsideCategory =\n !!this.hostElement.closest('ix-menu-category');\n\n this.onIconChange();\n this.onTabIconChange();\n\n this.menuExpanded = menuController.nativeElement?.expand || false;\n this.menuExpandedDisposer = menuController.expandChange.on(\n (expand) => (this.menuExpanded = expand)\n );\n }\n\n componentWillRender() {\n this.setTooltip();\n }\n\n setTooltip() {\n this.tooltip = this.label ?? this.hostElement.textContent ?? undefined;\n }\n\n connectedCallback() {\n this.observer.observe(this.hostElement, {\n subtree: true,\n childList: true,\n characterData: true,\n });\n }\n\n disconnectedCallback() {\n if (this.observer) {\n this.observer.disconnect();\n }\n\n if (this.menuExpandedDisposer) {\n this.menuExpandedDisposer.dispose();\n }\n }\n\n @Watch('icon')\n onIconChange() {\n if (\n !this.isHostedInsideCategory &&\n !this.hostElement.icon &&\n !this.hostElement.tabIcon\n ) {\n this.icon = 'document';\n }\n }\n\n @Watch('tabIcon')\n onTabIconChange() {\n if (\n !this.isHostedInsideCategory &&\n !this.hostElement.icon &&\n !this.hostElement.tabIcon\n ) {\n this.tabIcon = 'document';\n }\n }\n\n render() {\n let extendedAttributes = {};\n if (this.home) {\n extendedAttributes = {\n slot: 'home',\n };\n }\n\n if (this.bottom) {\n extendedAttributes = {\n slot: 'bottom',\n };\n }\n return (\n <Host\n class={{\n disabled: this.disabled,\n 'home-tab': this.home,\n 'bottom-tab': this.bottom,\n active: this.active,\n 'tab-nested': this.isHostedInsideCategory,\n }}\n {...extendedAttributes}\n >\n <button\n class=\"tab\"\n tabIndex={this.disabled ? -1 : 0}\n ref={this.buttonRef}\n >\n {(this.icon || this.tabIcon) && (\n <ix-icon\n class={'tab-icon'}\n name={this.icon ?? this.tabIcon}\n ></ix-icon>\n )}\n {this.notifications ? (\n <div class=\"notification\">\n <div class=\"pill\">{this.notifications}</div>\n </div>\n ) : null}\n <span class=\"tab-text text-default\">\n {this.label}\n <slot></slot>\n </span>\n </button>\n {!this.isCategory &&\n !this.isHostedInsideCategory &&\n !this.menuExpanded && (\n <ix-tooltip\n for={this.buttonRef.waitForCurrent()}\n placement={'right'}\n showDelay={1000}\n >\n {this.tooltip}\n </ix-tooltip>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-5429f20b.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-97874de0.js';
2
2
 
3
3
  const menuSettingsItemCss = ":host{display:block}";
4
4
  const IxMenuSettingsItemStyle0 = menuSettingsItemCss;
@@ -17,7 +17,7 @@ const MenuSettingsItem = class {
17
17
  });
18
18
  }
19
19
  render() {
20
- return (h(Host, { key: '4a2b28d8557666fe0bba168564975571238c618d' }, h("slot", { key: 'c6f14fc9b3f99836e0e78a553e8f823e274f26d1' })));
20
+ return (h(Host, { key: '7f91b18b72aa08bc94bca973e934a6b591d6466b' }, h("slot", { key: '56192b67632208075a544cfcb7970fe7d6e42cbc' })));
21
21
  }
22
22
  static get watchers() { return {
23
23
  "label": ["watchLabel"]
@@ -1,4 +1,4 @@
1
- export { a as ix_menu_settings } from './menu-tabs-fc-d9a7dd06.js';
2
- import './index-5429f20b.js';
1
+ export { a as ix_menu_settings } from './menu-tabs-fc-563a74d9.js';
2
+ import './index-97874de0.js';
3
3
 
4
4
  //# sourceMappingURL=ix-menu-settings.entry.js.map
@@ -1,13 +1,13 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5429f20b.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-97874de0.js';
2
2
  import { a as anime } from './anime.es-a5520566.js';
3
- import { s as showAppSwitch } from './index-76b9c8de.js';
4
- import { a as useContextConsumer, A as ApplicationLayoutContext } from './context-82a1ccf8.js';
3
+ import { s as showAppSwitch } from './index-60d17930.js';
4
+ import { a as useContextConsumer, A as ApplicationLayoutContext } from './context-42311cff.js';
5
5
  import { a as applicationLayoutService } from './service-c7fc628b.js';
6
6
  import { m as menuController } from './menu-service-f974814b.js';
7
7
  import { a as convertToRemString } from './rwd.util-d8e00a88.js';
8
- import { t as themeSwitcher } from './theme-switcher-b10fb4da.js';
8
+ import { t as themeSwitcher } from './theme-switcher-5fcf712d.js';
9
9
  import './animation-4a73b1c3.js';
10
- import './modal-54740f80.js';
10
+ import './modal-101eef04.js';
11
11
  import './typed-event-ad6484c5.js';
12
12
  import './breakpoints-d5c2f627.js';
13
13
 
@@ -60,7 +60,6 @@ const Menu = class {
60
60
  this.i18nCollapse = 'Collapse';
61
61
  this.showPinned = false;
62
62
  this.mapExpand = true;
63
- this.activeTab = undefined;
64
63
  this.breakpoint = 'lg';
65
64
  this.itemsScrollShadowTop = false;
66
65
  this.itemsScrollShadowBottom = false;
@@ -93,10 +92,10 @@ const Menu = class {
93
92
  return this.hostElement.shadowRoot.querySelector('.menu-overlay');
94
93
  }
95
94
  get menuItems() {
96
- return Array.from(this.hostElement.querySelectorAll('ix-menu-item:not(.internal-tab):not(.home-tab):not(.bottom-tab):not([slot="bottom"])')).filter(this.isVisible);
95
+ return Array.from(this.hostElement.querySelectorAll('ix-menu-item:not(.internal-tab):not(.home-tab):not(.bottom-tab):not([slot="bottom"])')).filter((elm) => this.isVisible(elm));
97
96
  }
98
97
  get menuBottomItems() {
99
- return Array.from(this.hostElement.querySelectorAll('ix-menu-item.bottom-tab:not(.internal-tab):not(.home-tab)')).filter(this.isVisible);
98
+ return Array.from(this.hostElement.querySelectorAll('ix-menu-item.bottom-tab:not(.internal-tab):not(.home-tab)')).filter((elm) => this.isVisible(elm));
100
99
  }
101
100
  get homeTab() {
102
101
  return this.hostElement.querySelector('ix-menu-item.home-tab');
@@ -159,10 +158,10 @@ const Menu = class {
159
158
  applicationLayoutService.onChange.on((breakpoint) => this.onBreakpointChange(breakpoint));
160
159
  this.onBreakpointChange(applicationLayoutService.breakpoint, true);
161
160
  }
162
- componentWillRender() {
163
- this.appendTabs();
164
- }
165
161
  componentDidRender() {
162
+ if (!this.about && this.aboutNewsPopover) {
163
+ this.aboutNewsPopover.show = false;
164
+ }
166
165
  this.appendFragments();
167
166
  }
168
167
  setPinned(pinned) {
@@ -192,23 +191,21 @@ const Menu = class {
192
191
  appendFragments() {
193
192
  this.appendAboutNewsPopover();
194
193
  }
195
- resetActiveTab() {
196
- this.activeTab = null;
197
- }
198
- appendTabs() {
199
- this.activeTab = null;
200
- }
201
194
  getAboutPopoverVerticalPosition() {
195
+ var _a;
202
196
  const heightArrow = 12;
203
197
  const offsetArrow = 6;
204
- const rectAbout = this.aboutTab.getBoundingClientRect();
198
+ const rectAbout = ((_a = this.aboutTab) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect()) || {
199
+ bottom: -window.innerHeight,
200
+ height: 0,
201
+ };
205
202
  const offset = window.innerHeight -
206
203
  (rectAbout.bottom - rectAbout.height / 2 + heightArrow / 2 + offsetArrow);
207
204
  return convertToRemString(offset);
208
205
  }
209
206
  appendAboutNewsPopover() {
210
207
  var _a;
211
- if (!this.aboutNewsPopover) {
208
+ if (!this.aboutNewsPopover || !this.about) {
212
209
  return;
213
210
  }
214
211
  this.aboutNewsPopover.style.bottom = this.getAboutPopoverVerticalPosition();
@@ -397,45 +394,48 @@ const Menu = class {
397
394
  this.hostElement.dispatchEvent(new ApplicationSidebarToggleEvent(this.mapExpand));
398
395
  }
399
396
  render() {
400
- var _a;
401
- return (h(Host, { key: 'a84bbcad87774f4ccfed4038adf791b7905145e5', class: {
397
+ var _a, _b;
398
+ return (h(Host, { key: 'f96e5769eabac81269111fa13dd1b85644f897e6', class: {
402
399
  expanded: this.expand,
403
400
  [`breakpoint-${this.breakpoint}`]: true,
404
- }, slot: "menu" }, h("aside", { key: 'b430d95050f0e3cd578cf1e0e66b9edce7026e48', class: {
401
+ }, slot: "menu" }, h("nav", { key: 'a7155f904044921b26b9e3740270d3ec3cce513c', class: {
405
402
  menu: true,
406
403
  expanded: this.expand,
407
- }, onClick: () => {
408
- this.resetActiveTab();
409
- } }, h("div", { key: '8b21b8b85e928cc28c82fbd70fda6360b2b13865', class: "menu-buttons" }, this.breakpoint !== 'sm' && (h("ix-menu-expand-icon", { key: 'a118273b801370c8ddda429ddd930d5a350d0c9d', breakpoint: this.breakpoint, expanded: this.expand, pinned: this.pinned, class: "menu-expand-icon", ixAriaLabel: this.i18nExpandSidebar, onClick: async () => this.toggleMenu() })), this.breakpoint === 'sm' &&
410
- this.applicationLayoutContext.appSwitchConfig && (h("ix-icon-button", { key: 'af4c7ca9bb43d92fb07c80558290004af1ecef42', onClick: () => showAppSwitch(this.applicationLayoutContext.appSwitchConfig), icon: "apps", ghost: true }))), h("div", { key: 'cdeb37aaaf57fdd7b9f4f1eb4f7973c52247dd9e', id: "menu-tabs", style: {
404
+ } }, h("div", { key: '4e02e47fbcdb0718ecff56cb3373d0de11bdb8cb', class: "menu-buttons" }, this.breakpoint !== 'sm' && (h("ix-menu-expand-icon", { key: 'eb044c0771361b7906177bc74d83a572964afc09', breakpoint: this.breakpoint, expanded: this.expand, pinned: this.pinned, class: "menu-expand-icon", ixAriaLabel: this.i18nExpandSidebar, onClick: async () => this.toggleMenu() })), this.breakpoint === 'sm' &&
405
+ ((_a = this.applicationLayoutContext) === null || _a === void 0 ? void 0 : _a.appSwitchConfig) && (h("ix-icon-button", { key: '726c67cc25b24ac1e48d0803ae84f076f47ca0b7', onClick: () => {
406
+ var _a;
407
+ if ((_a = this.applicationLayoutContext) === null || _a === void 0 ? void 0 : _a.appSwitchConfig) {
408
+ showAppSwitch(this.applicationLayoutContext.appSwitchConfig);
409
+ }
410
+ }, icon: "apps", ghost: true }))), h("div", { key: 'f5dfc27a27bb8f7d37f9350f72c0916067c979f8', id: "menu-tabs", style: {
411
411
  display: 'contents',
412
- }, onClick: (e) => this.onMenuItemsClick(e) }, h("div", { key: '158c152bf09f2c615042f684014589276d9390e9', class: "tabs-shadow-container" }, h("div", { key: '03de44d899f5329c4756dbab62a8d00b9ec123ff', class: {
412
+ }, onClick: (e) => this.onMenuItemsClick(e) }, h("div", { key: 'ee03f22eb7310e66de17252892f9d6ea97c67233', class: "tabs-shadow-container" }, h("div", { key: 'd5b47a2b127f0172cd0a76689e0c29c8fcb5ca97', class: {
413
413
  'tabs--shadow': true,
414
414
  'tabs--shadow-top': true,
415
415
  'tabs--shadow--show': this.itemsScrollShadowTop,
416
- } }), h("div", { key: '3ee05c4db903f6e1dea707b10ad2d81f23c4ac12', class: {
416
+ } }), h("div", { key: '772da6c3da5e3eeb7dda3d62c5b74cca6b2fba7d', class: {
417
417
  tabs: true,
418
418
  'show-scrollbar': this.expand,
419
- }, onScroll: () => this.handleOverflowIndicator() }, h("div", { key: 'df6c064dc921714e6a50ebb28856635c1daedfeb', class: "menu-avatar" }, h("slot", { key: '16e29ae7d5af0079d33b43d06309d535cf9dd7f9', name: "ix-menu-avatar" })), h("slot", { key: 'ef3c8a69c6c5054f92fdccb9a9f2aaf033a943d0', name: "home" }), this.breakpoint !== 'sm' || !this.isHiddenFromViewport() ? (h("slot", null)) : null), h("div", { key: 'f2eb8e58cf7950628bf9cf4afb3f93fd04e8e5af', class: {
419
+ }, onScroll: () => this.handleOverflowIndicator() }, h("div", { key: '45c0740cee734106959383f5f8ac864cca807454', class: "menu-avatar" }, h("slot", { key: '8988cd4f951319458ad0b1e94642ca1dd6ba598b', name: "ix-menu-avatar" })), h("slot", { key: '7f108c59b3bfc84576c9978e12b6abc136f22d1a', name: "home" }), this.breakpoint !== 'sm' || !this.isHiddenFromViewport() ? (h("slot", null)) : null), h("div", { key: '6791539585b178386b6e8c1ba868e92f6c28ae85', class: {
420
420
  'tabs--shadow': true,
421
421
  'tabs--shadow-bottom': true,
422
422
  'tabs--shadow--show': this.itemsScrollShadowBottom,
423
- } }))), h("div", { key: '8898857ee017c3a1ec3c993af57fb50782626935', class: "bottom-tab-divider" }), this.settings ? (h("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "settings", class: {
423
+ } }))), h("div", { key: '94b1a2cb79fd5d3fe804e6aee7e2ac3729e1ee68', class: "bottom-tab-divider" }), this.settings ? (h("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "settings", class: {
424
424
  'internal-tab': true,
425
425
  'bottom-tab': true,
426
426
  active: this.showSettings,
427
- }, icon: 'cogwheel', onClick: async () => this.toggleSettings(!this.showSettings), label: this.i18nSettings })) : null, h("div", { key: 'a703b9481ea9570998dc0079b5459631e482f405', onClick: (e) => this.onMenuItemsClick(e) }, h("slot", { key: '1cbe0b0641e0ad72428ac59dabd1964684b70864', name: "bottom" })), h("div", { key: '1c4126c931628c8461fb020f2701eaf750de86d5', id: "popover-area" }), this.about ? (h("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "aboutAndLegal", class: {
427
+ }, icon: 'cogwheel', onClick: async () => this.toggleSettings(!this.showSettings), label: this.i18nSettings })) : null, h("div", { key: '1b3d5e59235cc486a0fe3222605cc0d3410ff6ee', onClick: (e) => this.onMenuItemsClick(e) }, h("slot", { key: '287de3f62a3c9534f18c808032f9b50066b37093', name: "bottom" })), h("div", { key: 'a52fd54d0092fd0058af41658456f6bd08dd087d', id: "popover-area" }), this.about ? (h("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "aboutAndLegal", class: {
428
428
  'internal-tab': true,
429
429
  'bottom-tab': true,
430
430
  active: this.showAbout,
431
- }, icon: 'info', onClick: async () => this.toggleAbout(!this.showAbout), label: this.i18nLegal })) : null, this.enableToggleTheme ? (h("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "toggleTheme", onClick: () => themeSwitcher.toggleMode(), class: "internal-tab bottom-tab", icon: 'light-dark', label: this.i18nToggleTheme })) : null, this.enableMapExpand || ((_a = this.applicationLayoutContext) === null || _a === void 0 ? void 0 : _a.sidebar) ? (h("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "menu-collapse", onClick: () => this.sidebarToggle(), class: "internal-tab bottom-tab", icon: `${this.getCollapseIcon()}`, label: this.getCollapseText() })) : null), h("div", { key: '869cf96b7215d40677bd69fa6b82e0d9fdc037db', class: {
431
+ }, icon: 'info', onClick: async () => this.toggleAbout(!this.showAbout), label: this.i18nLegal })) : null, this.enableToggleTheme ? (h("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "toggleTheme", onClick: () => themeSwitcher.toggleMode(), class: "internal-tab bottom-tab", icon: 'light-dark', label: this.i18nToggleTheme })) : null, this.enableMapExpand || ((_b = this.applicationLayoutContext) === null || _b === void 0 ? void 0 : _b.sidebar) ? (h("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "menu-collapse", onClick: () => this.sidebarToggle(), class: "internal-tab bottom-tab", icon: `${this.getCollapseIcon()}`, label: this.getCollapseText() })) : null), h("div", { key: '1b7fc6c3486a5f09c0e1e0899af5628b5029a156', class: {
432
432
  'menu-overlay': true,
433
433
  visible: this.isOverlayVisible(),
434
434
  expanded: this.expand,
435
435
  }, onTransitionEnd: () => {
436
436
  this.isTransitionDisabled = true;
437
437
  this.checkTransition();
438
- } }, h("div", { key: 'dbdf64b9a47629c10cd8b2636d236ee9a6c48e28', class: 'menu-overlay-container' }, this.showSettings ? h("slot", { name: "ix-menu-settings" }) : null), h("div", { key: 'fe7022d1d7ad7c6da31c2db029892c3a37714c8c', class: 'menu-overlay-container' }, this.showAbout ? h("slot", { name: "ix-menu-about" }) : null))));
438
+ } }, h("div", { key: '16260da7408110f09bcf35c7bca37d21ff9e47b1', class: 'menu-overlay-container' }, this.showSettings ? h("slot", { name: "ix-menu-settings" }) : null), h("div", { key: 'bde0f8f348e3490a94149b7eccbed19d00ca2a63', class: 'menu-overlay-container' }, this.showAbout ? h("slot", { name: "ix-menu-about" }) : null))));
439
439
  }
440
440
  get hostElement() { return getElement(this); }
441
441
  static get watchers() { return {