@siemens/ix 2.4.0 → 2.5.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 (892) hide show
  1. package/components/a11y.js +1 -1
  2. package/components/a11y.js.map +1 -1
  3. package/components/application-header.js +51 -15
  4. package/components/application-header.js.map +1 -1
  5. package/components/avatar.js +1 -1
  6. package/components/avatar.js.map +1 -1
  7. package/components/card-accordion.js +1 -1
  8. package/components/card-accordion.js.map +1 -1
  9. package/components/card-content.js +1 -1
  10. package/components/card-title.js +1 -1
  11. package/components/card.js +3 -3
  12. package/components/card.js.map +1 -1
  13. package/components/col.js.map +1 -1
  14. package/components/context.js +1 -1
  15. package/components/context.js.map +1 -1
  16. package/components/divider.js +1 -1
  17. package/components/dropdown-controller.js +140 -0
  18. package/components/dropdown-controller.js.map +1 -0
  19. package/components/dropdown-item.js +4 -4
  20. package/components/dropdown-item.js.map +1 -1
  21. package/components/dropdown.js +13 -145
  22. package/components/dropdown.js.map +1 -1
  23. package/components/filter-chip.js +1 -1
  24. package/components/floating-ui.dom.esm.js +533 -60
  25. package/components/floating-ui.dom.esm.js.map +1 -1
  26. package/components/group-context-menu.js +1 -1
  27. package/components/group-context-menu.js.map +1 -1
  28. package/components/group-item.js +4 -8
  29. package/components/group-item.js.map +1 -1
  30. package/components/index.js +1 -0
  31. package/components/index.js.map +1 -1
  32. package/components/ix-action-card.js +1 -1
  33. package/components/ix-action-card.js.map +1 -1
  34. package/components/ix-application-sidebar.js +1 -1
  35. package/components/ix-application-switch-modal.js +1 -1
  36. package/components/ix-application.js +2 -2
  37. package/components/ix-application.js.map +1 -1
  38. package/components/ix-basic-navigation.js +18 -12
  39. package/components/ix-basic-navigation.js.map +1 -1
  40. package/components/ix-blind.js.map +1 -1
  41. package/components/ix-breadcrumb.js +2 -2
  42. package/components/ix-card-list.js +6 -6
  43. package/components/ix-card-list.js.map +1 -1
  44. package/components/ix-category-filter.js +8 -4
  45. package/components/ix-category-filter.js.map +1 -1
  46. package/components/ix-chip.js +4 -4
  47. package/components/ix-chip.js.map +1 -1
  48. package/components/ix-content.js +3 -3
  49. package/components/ix-css-grid-item.js +1 -1
  50. package/components/ix-drawer.js +2 -2
  51. package/components/ix-dropdown-header.js +1 -1
  52. package/components/ix-dropdown-quick-actions.js +1 -1
  53. package/components/ix-event-list-item.js +4 -4
  54. package/components/ix-event-list.js +2 -2
  55. package/components/ix-expanding-search.js +4 -4
  56. package/components/ix-flip-tile-content.js +1 -1
  57. package/components/ix-flip-tile.js +4 -4
  58. package/components/ix-form-field.js +1 -1
  59. package/components/ix-group.js +69 -44
  60. package/components/ix-group.js.map +1 -1
  61. package/components/ix-icon-toggle-button.js +1 -1
  62. package/components/ix-input-group.js +1 -1
  63. package/components/ix-key-value-list.js +1 -1
  64. package/components/ix-kpi.js +3 -3
  65. package/components/ix-kpi.js.map +1 -1
  66. package/components/ix-link-button.js +3 -3
  67. package/components/ix-map-navigation.js +21 -15
  68. package/components/ix-map-navigation.js.map +1 -1
  69. package/components/ix-menu-about-item.js +1 -1
  70. package/components/ix-menu-about-news.js +4 -4
  71. package/components/ix-menu-avatar.js +2 -2
  72. package/components/ix-menu-category.js +5 -5
  73. package/components/ix-menu-settings-item.js +1 -1
  74. package/components/ix-menu.js +12 -12
  75. package/components/ix-menu.js.map +1 -1
  76. package/components/ix-message-bar.js +1 -1
  77. package/components/ix-modal-example.js +1 -1
  78. package/components/ix-modal-footer.js +2 -2
  79. package/components/ix-modal-footer.js.map +1 -1
  80. package/components/ix-modal-loading.js +1 -1
  81. package/components/ix-modal.js +1 -1
  82. package/components/ix-modal.js.map +1 -1
  83. package/components/ix-pagination.js +3 -3
  84. package/components/ix-pagination.js.map +1 -1
  85. package/components/ix-pane-layout.js +1 -1
  86. package/components/ix-pane.js.map +1 -1
  87. package/components/ix-pill.js +4 -4
  88. package/components/ix-pill.js.map +1 -1
  89. package/components/ix-playground-internal.js +1 -1
  90. package/components/ix-playground-internal.js.map +1 -1
  91. package/components/ix-push-card.js +1 -1
  92. package/components/ix-push-card.js.map +1 -1
  93. package/components/ix-slider.js +20 -13
  94. package/components/ix-slider.js.map +1 -1
  95. package/components/ix-split-button-item.js +1 -1
  96. package/components/ix-tile.js +4 -4
  97. package/components/ix-tile.js.map +1 -1
  98. package/components/ix-toast-container.js.map +1 -1
  99. package/components/ix-toggle-button.js +2 -2
  100. package/components/ix-toggle.js +2 -2
  101. package/components/ix-tree.js +21 -7
  102. package/components/ix-tree.js.map +1 -1
  103. package/components/ix-upload.js +3 -3
  104. package/components/ix-upload.js.map +1 -1
  105. package/components/ix-validation-tooltip.js +2 -2
  106. package/components/ix-workflow-step.js +3 -3
  107. package/components/ix-workflow-step.js.map +1 -1
  108. package/components/ix-workflow-steps.js +1 -1
  109. package/components/ix-workflow-steps.js.map +1 -1
  110. package/components/layout-grid.js +2 -2
  111. package/components/layout-grid.js.map +1 -1
  112. package/components/listener.js +1 -1
  113. package/components/listener.js.map +1 -1
  114. package/components/logical-filter-operator.js +1 -1
  115. package/components/logical-filter-operator.js.map +1 -1
  116. package/components/map-navigation-overlay.js +2 -2
  117. package/components/menu-avatar-item.js +1 -1
  118. package/components/menu-expand-icon.js +1 -1
  119. package/components/menu-expand-icon.js.map +1 -1
  120. package/components/menu-item.js +14 -14
  121. package/components/menu-item.js.map +1 -1
  122. package/components/modal-content.js +1 -1
  123. package/components/modal-content.js.map +1 -1
  124. package/components/modal-header.js +1 -1
  125. package/components/modal-header.js.map +1 -1
  126. package/components/row.js +1 -1
  127. package/components/row.js.map +1 -1
  128. package/components/select-item.js +1 -1
  129. package/components/select.js +27 -30
  130. package/components/select.js.map +1 -1
  131. package/components/service.js +2 -2
  132. package/components/service.js.map +1 -1
  133. package/components/shadow-dom.js +1 -1
  134. package/components/shadow-dom.js.map +1 -1
  135. package/components/spinner.js +1 -1
  136. package/components/tab-item.js +3 -3
  137. package/components/tab-item.js.map +1 -1
  138. package/components/tabs.js +77 -43
  139. package/components/tabs.js.map +1 -1
  140. package/components/toast.js +2 -2
  141. package/components/toast.js.map +1 -1
  142. package/components/tooltip.js +24 -22
  143. package/components/tooltip.js.map +1 -1
  144. package/components/tree-item.js +8 -8
  145. package/components/tree-item.js.map +1 -1
  146. package/dist/cjs/{a11y-d3ce56d1.js → a11y-eba397e8.js} +2 -2
  147. package/dist/cjs/{a11y-d3ce56d1.js.map → a11y-eba397e8.js.map} +1 -1
  148. package/dist/cjs/{context-98f4a0b3.js → context-938f7470.js} +2 -2
  149. package/dist/cjs/{context-98f4a0b3.js.map → context-938f7470.js.map} +1 -1
  150. package/dist/cjs/dropdown-controller-5ef3d018.js +144 -0
  151. package/dist/cjs/dropdown-controller-5ef3d018.js.map +1 -0
  152. package/dist/cjs/{floating-ui.dom.esm-94b4d17c.js → floating-ui.dom.esm-9dde6cd6.js} +534 -60
  153. package/dist/cjs/floating-ui.dom.esm-9dde6cd6.js.map +1 -0
  154. package/dist/cjs/index.cjs.js +3 -2
  155. package/dist/cjs/index.cjs.js.map +1 -1
  156. package/dist/cjs/ix-action-card.cjs.entry.js +1 -1
  157. package/dist/cjs/ix-action-card.cjs.entry.js.map +1 -1
  158. package/dist/cjs/ix-application-header.cjs.entry.js +35 -9
  159. package/dist/cjs/ix-application-header.cjs.entry.js.map +1 -1
  160. package/dist/cjs/ix-application-sidebar.cjs.entry.js +1 -1
  161. package/dist/cjs/ix-application-switch-modal.cjs.entry.js +1 -1
  162. package/dist/cjs/ix-application.cjs.entry.js +5 -5
  163. package/dist/cjs/ix-application.cjs.entry.js.map +1 -1
  164. package/dist/cjs/ix-avatar_2.cjs.entry.js +3 -3
  165. package/dist/cjs/ix-avatar_2.cjs.entry.js.map +1 -1
  166. package/dist/cjs/ix-basic-navigation.cjs.entry.js +4 -4
  167. package/dist/cjs/ix-basic-navigation.cjs.entry.js.map +1 -1
  168. package/dist/cjs/ix-blind.cjs.entry.js +1 -1
  169. package/dist/cjs/ix-blind.cjs.entry.js.map +1 -1
  170. package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +1 -1
  171. package/dist/cjs/ix-breadcrumb.cjs.entry.js +3 -3
  172. package/dist/cjs/ix-card-accordion_2.cjs.entry.js +2 -2
  173. package/dist/cjs/ix-card-accordion_2.cjs.entry.js.map +1 -1
  174. package/dist/cjs/ix-card-list.cjs.entry.js +6 -6
  175. package/dist/cjs/ix-card-list.cjs.entry.js.map +1 -1
  176. package/dist/cjs/ix-card_2.cjs.entry.js +4 -4
  177. package/dist/cjs/ix-card_2.cjs.entry.js.map +1 -1
  178. package/dist/cjs/ix-category-filter.cjs.entry.js +9 -5
  179. package/dist/cjs/ix-category-filter.cjs.entry.js.map +1 -1
  180. package/dist/cjs/ix-chip.cjs.entry.js +4 -4
  181. package/dist/cjs/ix-chip.cjs.entry.js.map +1 -1
  182. package/dist/cjs/ix-col_4.cjs.entry.js +4 -4
  183. package/dist/cjs/ix-col_4.cjs.entry.js.map +1 -1
  184. package/dist/cjs/ix-content.cjs.entry.js +4 -4
  185. package/dist/cjs/ix-css-grid-item.cjs.entry.js +1 -1
  186. package/dist/cjs/ix-divider.cjs.entry.js +1 -1
  187. package/dist/cjs/ix-drawer.cjs.entry.js +2 -2
  188. package/dist/cjs/ix-dropdown-header.cjs.entry.js +1 -1
  189. package/dist/cjs/ix-dropdown-item.cjs.entry.js +4 -4
  190. package/dist/cjs/ix-dropdown-item.cjs.entry.js.map +1 -1
  191. package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +1 -1
  192. package/dist/cjs/ix-dropdown.cjs.entry.js +26 -158
  193. package/dist/cjs/ix-dropdown.cjs.entry.js.map +1 -1
  194. package/dist/cjs/ix-event-list-item.cjs.entry.js +5 -5
  195. package/dist/cjs/ix-event-list.cjs.entry.js +2 -2
  196. package/dist/cjs/ix-expanding-search.cjs.entry.js +4 -4
  197. package/dist/cjs/ix-filter-chip_2.cjs.entry.js +2 -2
  198. package/dist/cjs/ix-flip-tile-content.cjs.entry.js +1 -1
  199. package/dist/cjs/ix-flip-tile.cjs.entry.js +4 -4
  200. package/dist/cjs/ix-form-field.cjs.entry.js +1 -1
  201. package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +6 -10
  202. package/dist/cjs/ix-group-context-menu_2.cjs.entry.js.map +1 -1
  203. package/dist/cjs/ix-group.cjs.entry.js +68 -44
  204. package/dist/cjs/ix-group.cjs.entry.js.map +1 -1
  205. package/dist/cjs/ix-icon-button_2.cjs.entry.js +2 -2
  206. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +2 -2
  207. package/dist/cjs/ix-input-group.cjs.entry.js +2 -2
  208. package/dist/cjs/ix-key-value-list.cjs.entry.js +1 -1
  209. package/dist/cjs/ix-kpi.cjs.entry.js +3 -3
  210. package/dist/cjs/ix-kpi.cjs.entry.js.map +1 -1
  211. package/dist/cjs/ix-link-button.cjs.entry.js +3 -3
  212. package/dist/cjs/ix-map-navigation-overlay.cjs.entry.js +2 -2
  213. package/dist/cjs/ix-map-navigation.cjs.entry.js +4 -4
  214. package/dist/cjs/ix-map-navigation.cjs.entry.js.map +1 -1
  215. package/dist/cjs/ix-menu-about-item.cjs.entry.js +1 -1
  216. package/dist/cjs/ix-menu-about-news.cjs.entry.js +4 -4
  217. package/dist/cjs/ix-menu-avatar.cjs.entry.js +3 -3
  218. package/dist/cjs/ix-menu-category.cjs.entry.js +6 -6
  219. package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +2 -2
  220. package/dist/cjs/ix-menu-expand-icon.cjs.entry.js.map +1 -1
  221. package/dist/cjs/ix-menu-item.cjs.entry.js +13 -13
  222. package/dist/cjs/ix-menu-item.cjs.entry.js.map +1 -1
  223. package/dist/cjs/ix-menu-settings-item.cjs.entry.js +1 -1
  224. package/dist/cjs/ix-menu.cjs.entry.js +14 -14
  225. package/dist/cjs/ix-menu.cjs.entry.js.map +1 -1
  226. package/dist/cjs/ix-message-bar.cjs.entry.js +1 -1
  227. package/dist/cjs/ix-modal-content_2.cjs.entry.js +3 -3
  228. package/dist/cjs/ix-modal-content_2.cjs.entry.js.map +1 -1
  229. package/dist/cjs/ix-modal-example.cjs.entry.js +1 -1
  230. package/dist/cjs/ix-modal-footer.cjs.entry.js +2 -2
  231. package/dist/cjs/ix-modal-footer.cjs.entry.js.map +1 -1
  232. package/dist/cjs/ix-modal-loading.cjs.entry.js +1 -1
  233. package/dist/cjs/ix-modal.cjs.entry.js +3 -3
  234. package/dist/cjs/ix-modal.cjs.entry.js.map +1 -1
  235. package/dist/cjs/ix-pagination.cjs.entry.js +4 -4
  236. package/dist/cjs/ix-pagination.cjs.entry.js.map +1 -1
  237. package/dist/cjs/ix-pane-layout.cjs.entry.js +2 -2
  238. package/dist/cjs/ix-pane.cjs.entry.js +1 -1
  239. package/dist/cjs/ix-pane.cjs.entry.js.map +1 -1
  240. package/dist/cjs/ix-pill.cjs.entry.js +4 -4
  241. package/dist/cjs/ix-pill.cjs.entry.js.map +1 -1
  242. package/dist/cjs/ix-playground-internal.cjs.entry.js +1 -1
  243. package/dist/cjs/ix-playground-internal.cjs.entry.js.map +1 -1
  244. package/dist/cjs/ix-push-card.cjs.entry.js +1 -1
  245. package/dist/cjs/ix-push-card.cjs.entry.js.map +1 -1
  246. package/dist/cjs/ix-select.cjs.entry.js +28 -31
  247. package/dist/cjs/ix-select.cjs.entry.js.map +1 -1
  248. package/dist/cjs/ix-slider.cjs.entry.js +22 -15
  249. package/dist/cjs/ix-slider.cjs.entry.js.map +1 -1
  250. package/dist/cjs/ix-split-button-item.cjs.entry.js +1 -1
  251. package/dist/cjs/ix-tab-item_2.cjs.entry.js +74 -44
  252. package/dist/cjs/ix-tab-item_2.cjs.entry.js.map +1 -1
  253. package/dist/cjs/ix-tile.cjs.entry.js +4 -4
  254. package/dist/cjs/ix-tile.cjs.entry.js.map +1 -1
  255. package/dist/cjs/ix-toast-container.cjs.entry.js.map +1 -1
  256. package/dist/cjs/ix-toast.cjs.entry.js +2 -2
  257. package/dist/cjs/ix-toast.cjs.entry.js.map +1 -1
  258. package/dist/cjs/ix-toggle-button.cjs.entry.js +3 -3
  259. package/dist/cjs/ix-toggle.cjs.entry.js +3 -3
  260. package/dist/cjs/ix-tooltip.cjs.entry.js +25 -23
  261. package/dist/cjs/ix-tooltip.cjs.entry.js.map +1 -1
  262. package/dist/cjs/ix-tree-item.cjs.entry.js +8 -8
  263. package/dist/cjs/ix-tree-item.cjs.entry.js.map +1 -1
  264. package/dist/cjs/ix-tree.cjs.entry.js +21 -7
  265. package/dist/cjs/ix-tree.cjs.entry.js.map +1 -1
  266. package/dist/cjs/ix-upload.cjs.entry.js +3 -3
  267. package/dist/cjs/ix-upload.cjs.entry.js.map +1 -1
  268. package/dist/cjs/ix-validation-tooltip.cjs.entry.js +3 -3
  269. package/dist/cjs/ix-workflow-step.cjs.entry.js +3 -3
  270. package/dist/cjs/ix-workflow-step.cjs.entry.js.map +1 -1
  271. package/dist/cjs/ix-workflow-steps.cjs.entry.js +1 -1
  272. package/dist/cjs/ix-workflow-steps.cjs.entry.js.map +1 -1
  273. package/dist/cjs/{listener-bc3e7c0c.js → listener-a124ed49.js} +2 -2
  274. package/dist/cjs/{listener-bc3e7c0c.js.map → listener-a124ed49.js.map} +1 -1
  275. package/dist/cjs/loader.cjs.js +1 -1
  276. package/dist/cjs/{logical-filter-operator-5564322e.js → logical-filter-operator-4917393f.js} +2 -2
  277. package/dist/cjs/{logical-filter-operator-5564322e.js.map → logical-filter-operator-4917393f.js.map} +1 -1
  278. package/dist/cjs/{service-a42add5f.js → service-39a8e5fe.js} +3 -3
  279. package/dist/cjs/service-39a8e5fe.js.map +1 -0
  280. package/dist/cjs/{shadow-dom-73f9d553.js → shadow-dom-454acc38.js} +2 -2
  281. package/dist/cjs/{shadow-dom-73f9d553.js.map → shadow-dom-454acc38.js.map} +1 -1
  282. package/dist/cjs/siemens-ix.cjs.js +1 -1
  283. package/dist/collection/components/action-card/action-card.js +6 -3
  284. package/dist/collection/components/action-card/action-card.js.map +1 -1
  285. package/dist/collection/components/application/application.css +26 -6
  286. package/dist/collection/components/application/application.js +1 -1
  287. package/dist/collection/components/application/application.js.map +1 -1
  288. package/dist/collection/components/application-header/application-header.css +9 -7
  289. package/dist/collection/components/application-header/application-header.js +78 -6
  290. package/dist/collection/components/application-header/application-header.js.map +1 -1
  291. package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.js +1 -1
  292. package/dist/collection/components/application-sidebar/application-sidebar.js +1 -1
  293. package/dist/collection/components/avatar/avatar.css +42 -0
  294. package/dist/collection/components/basic-navigation/basic-navigation.js +7 -4
  295. package/dist/collection/components/basic-navigation/basic-navigation.js.map +1 -1
  296. package/dist/collection/components/blind/blind.css +1 -1
  297. package/dist/collection/components/blind/blind.js +2 -2
  298. package/dist/collection/components/blind/blind.js.map +1 -1
  299. package/dist/collection/components/blind/test/blind.ct.js +1 -1
  300. package/dist/collection/components/blind/test/blind.ct.js.map +1 -1
  301. package/dist/collection/components/breadcrumb/breadcrumb.js +2 -2
  302. package/dist/collection/components/card/card.css +3 -3
  303. package/dist/collection/components/card/card.js +7 -4
  304. package/dist/collection/components/card/card.js.map +1 -1
  305. package/dist/collection/components/card-accordion/card-accordion.css +4 -4
  306. package/dist/collection/components/card-content/card-content.js +1 -1
  307. package/dist/collection/components/card-list/card-list.css +6 -0
  308. package/dist/collection/components/card-list/card-list.js +5 -5
  309. package/dist/collection/components/card-list/card-list.js.map +1 -1
  310. package/dist/collection/components/card-title/card-title.js +1 -1
  311. package/dist/collection/components/category-filter/category-filter.js +18 -13
  312. package/dist/collection/components/category-filter/category-filter.js.map +1 -1
  313. package/dist/collection/components/category-filter/logical-filter-operator.js +1 -1
  314. package/dist/collection/components/category-filter/logical-filter-operator.js.map +1 -1
  315. package/dist/collection/components/category-filter/test/category-filter.ct.js +52 -0
  316. package/dist/collection/components/category-filter/test/category-filter.ct.js.map +1 -0
  317. package/dist/collection/components/chip/chip.css +2 -2
  318. package/dist/collection/components/chip/chip.js +5 -5
  319. package/dist/collection/components/chip/chip.js.map +1 -1
  320. package/dist/collection/components/col/col.css +1 -1
  321. package/dist/collection/components/col/col.js +1 -1
  322. package/dist/collection/components/col/col.js.map +1 -1
  323. package/dist/collection/components/content/content.js +3 -3
  324. package/dist/collection/components/css-grid/css-grid-item.js +1 -1
  325. package/dist/collection/components/divider/divider.js +1 -1
  326. package/dist/collection/components/drawer/drawer.js +2 -2
  327. package/dist/collection/components/dropdown/dropdown.js +10 -6
  328. package/dist/collection/components/dropdown/dropdown.js.map +1 -1
  329. package/dist/collection/components/dropdown-header/dropdown-header.js +1 -1
  330. package/dist/collection/components/dropdown-item/dropdown-item.css +3 -3
  331. package/dist/collection/components/dropdown-item/dropdown-item.js +5 -5
  332. package/dist/collection/components/dropdown-item/dropdown-item.js.map +1 -1
  333. package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js +1 -1
  334. package/dist/collection/components/event-list/event-list.js +2 -2
  335. package/dist/collection/components/event-list-item/event-list-item.js +4 -4
  336. package/dist/collection/components/expanding-search/expanding-search.js +4 -4
  337. package/dist/collection/components/filter-chip/filter-chip.js +1 -1
  338. package/dist/collection/components/flip-tile/flip-tile.js +4 -4
  339. package/dist/collection/components/flip-tile-content/flip-tile-content.js +1 -1
  340. package/dist/collection/components/form-field/form-field.js +1 -1
  341. package/dist/collection/components/grid/layout-grid.css +1 -1
  342. package/dist/collection/components/grid/layout-grid.js +3 -3
  343. package/dist/collection/components/grid/layout-grid.js.map +1 -1
  344. package/dist/collection/components/group/group-context-menu.css +1 -1
  345. package/dist/collection/components/group/group-context-menu.js +2 -2
  346. package/dist/collection/components/group/group-context-menu.js.map +1 -1
  347. package/dist/collection/components/group/group.css +3 -2
  348. package/dist/collection/components/group/group.js +84 -48
  349. package/dist/collection/components/group/group.js.map +1 -1
  350. package/dist/collection/components/group/test/group.ct.js +70 -2
  351. package/dist/collection/components/group/test/group.ct.js.map +1 -1
  352. package/dist/collection/components/group-item/group-item.css +0 -4
  353. package/dist/collection/components/group-item/group-item.js +9 -12
  354. package/dist/collection/components/group-item/group-item.js.map +1 -1
  355. package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +1 -1
  356. package/dist/collection/components/input-group/input-group.js +1 -1
  357. package/dist/collection/components/key-value-list/key-value-list.js +1 -1
  358. package/dist/collection/components/kpi/kpi.css +1 -1
  359. package/dist/collection/components/kpi/kpi.js +4 -4
  360. package/dist/collection/components/kpi/kpi.js.map +1 -1
  361. package/dist/collection/components/link-button/link-button.js +3 -3
  362. package/dist/collection/components/map-navigation/map-navigation.css +3 -3
  363. package/dist/collection/components/map-navigation/map-navigation.js +2 -2
  364. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +2 -2
  365. package/dist/collection/components/menu/menu-expand-icon.css +1 -1
  366. package/dist/collection/components/menu/menu-expand-icon.js +3 -3
  367. package/dist/collection/components/menu/menu-expand-icon.js.map +1 -1
  368. package/dist/collection/components/menu/menu.css +4 -3
  369. package/dist/collection/components/menu/menu.js +12 -12
  370. package/dist/collection/components/menu/menu.js.map +1 -1
  371. package/dist/collection/components/menu/test/menu.ct.js +1 -1
  372. package/dist/collection/components/menu/test/menu.ct.js.map +1 -1
  373. package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
  374. package/dist/collection/components/menu-about-news/menu-about-news.js +4 -4
  375. package/dist/collection/components/menu-avatar/menu-avatar.js +2 -2
  376. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
  377. package/dist/collection/components/menu-category/menu-category.js +5 -5
  378. package/dist/collection/components/menu-item/menu-item.js +24 -21
  379. package/dist/collection/components/menu-item/menu-item.js.map +1 -1
  380. package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
  381. package/dist/collection/components/message-bar/message-bar.js +1 -1
  382. package/dist/collection/components/modal/modal.css +18 -8
  383. package/dist/collection/components/modal/modal.js +1 -1
  384. package/dist/collection/components/modal/modal.js.map +1 -1
  385. package/dist/collection/components/modal/test/modal.ct.js +1 -1
  386. package/dist/collection/components/modal/test/modal.ct.js.map +1 -1
  387. package/dist/collection/components/modal-content/modal-content.css +1 -1
  388. package/dist/collection/components/modal-content/modal-content.js +1 -1
  389. package/dist/collection/components/modal-footer/modal-footer.css +1 -0
  390. package/dist/collection/components/modal-footer/modal-footer.js +1 -1
  391. package/dist/collection/components/modal-header/modal-header.js +2 -2
  392. package/dist/collection/components/modal-header/modal-header.js.map +1 -1
  393. package/dist/collection/components/modal-loading/modal-loading.js +1 -1
  394. package/dist/collection/components/pagination/pagination.js +5 -4
  395. package/dist/collection/components/pagination/pagination.js.map +1 -1
  396. package/dist/collection/components/pane/pane.css +1 -1
  397. package/dist/collection/components/pane/pane.js +1 -1
  398. package/dist/collection/components/pane/pane.js.map +1 -1
  399. package/dist/collection/components/pane/test/panes.ct.js +1 -1
  400. package/dist/collection/components/pane/test/panes.ct.js.map +1 -1
  401. package/dist/collection/components/pane-layout/pane-layout.js +1 -1
  402. package/dist/collection/components/pill/pill.css +2 -2
  403. package/dist/collection/components/pill/pill.js +5 -5
  404. package/dist/collection/components/pill/pill.js.map +1 -1
  405. package/dist/collection/components/playground/example-modal.js +1 -1
  406. package/dist/collection/components/playground/playground.js +2 -2
  407. package/dist/collection/components/playground/playground.js.map +1 -1
  408. package/dist/collection/components/push-card/push-card.js +9 -6
  409. package/dist/collection/components/push-card/push-card.js.map +1 -1
  410. package/dist/collection/components/row/row.css +1 -1
  411. package/dist/collection/components/row/row.js +2 -2
  412. package/dist/collection/components/row/row.js.map +1 -1
  413. package/dist/collection/components/select/select.js +27 -30
  414. package/dist/collection/components/select/select.js.map +1 -1
  415. package/dist/collection/components/select/test/select.ct.js +45 -1
  416. package/dist/collection/components/select/test/select.ct.js.map +1 -1
  417. package/dist/collection/components/select-item/select-item.js +1 -1
  418. package/dist/collection/components/slider/slider.css +1 -1
  419. package/dist/collection/components/slider/slider.js +23 -15
  420. package/dist/collection/components/slider/slider.js.map +1 -1
  421. package/dist/collection/components/slider/test/slider.ct.js +15 -6
  422. package/dist/collection/components/slider/test/slider.ct.js.map +1 -1
  423. package/dist/collection/components/spinner/spinner.js +1 -1
  424. package/dist/collection/components/split-button-item/split-button-item.js +1 -1
  425. package/dist/collection/components/tab-item/tab-item.js +4 -4
  426. package/dist/collection/components/tab-item/tab-item.js.map +1 -1
  427. package/dist/collection/components/tabs/tabs.css +1 -1
  428. package/dist/collection/components/tabs/tabs.js +78 -43
  429. package/dist/collection/components/tabs/tabs.js.map +1 -1
  430. package/dist/collection/components/tabs/test/tabs.ct.js +35 -9
  431. package/dist/collection/components/tabs/test/tabs.ct.js.map +1 -1
  432. package/dist/collection/components/tile/tile.css +1 -1
  433. package/dist/collection/components/tile/tile.js +5 -5
  434. package/dist/collection/components/tile/tile.js.map +1 -1
  435. package/dist/collection/components/toast/styles/toast-container.css +1 -1
  436. package/dist/collection/components/toast/toast-container.js +1 -1
  437. package/dist/collection/components/toast/toast-container.js.map +1 -1
  438. package/dist/collection/components/toast/toast-utils.js.map +1 -1
  439. package/dist/collection/components/toast/toast.css +1 -1
  440. package/dist/collection/components/toast/toast.js +3 -3
  441. package/dist/collection/components/toast/toast.js.map +1 -1
  442. package/dist/collection/components/toggle/toggle.js +2 -2
  443. package/dist/collection/components/toggle-button/toggle-button.js +2 -2
  444. package/dist/collection/components/tooltip/tooltip.css +15 -5
  445. package/dist/collection/components/tooltip/tooltip.js +33 -26
  446. package/dist/collection/components/tooltip/tooltip.js.map +1 -1
  447. package/dist/collection/components/tree/test/tree.ct.js +37 -1
  448. package/dist/collection/components/tree/test/tree.ct.js.map +1 -1
  449. package/dist/collection/components/tree/tree-model.js.map +1 -1
  450. package/dist/collection/components/tree/tree.css +1 -1
  451. package/dist/collection/components/tree/tree.js +26 -11
  452. package/dist/collection/components/tree/tree.js.map +1 -1
  453. package/dist/collection/components/tree-item/tree-item.css +9 -0
  454. package/dist/collection/components/tree-item/tree-item.js +13 -12
  455. package/dist/collection/components/tree-item/tree-item.js.map +1 -1
  456. package/dist/collection/components/upload/upload.js +4 -4
  457. package/dist/collection/components/upload/upload.js.map +1 -1
  458. package/dist/collection/components/utils/application-layout/service.js +2 -2
  459. package/dist/collection/components/utils/application-layout/service.js.map +1 -1
  460. package/dist/collection/components/utils/condition-checks.js +1 -1
  461. package/dist/collection/components/utils/condition-checks.js.map +1 -1
  462. package/dist/collection/components/utils/context.js +1 -1
  463. package/dist/collection/components/utils/context.js.map +1 -1
  464. package/dist/collection/components/utils/listener.js +1 -1
  465. package/dist/collection/components/utils/listener.js.map +1 -1
  466. package/dist/collection/components/utils/notification-color.js.map +1 -1
  467. package/dist/collection/components/utils/shadow-dom.js +1 -1
  468. package/dist/collection/components/utils/shadow-dom.js.map +1 -1
  469. package/dist/collection/components/validation-tooltip/validation-tooltip.js +2 -2
  470. package/dist/collection/components/workflow-step/workflow-step.css +1 -1
  471. package/dist/collection/components/workflow-step/workflow-step.js +4 -4
  472. package/dist/collection/components/workflow-step/workflow-step.js.map +1 -1
  473. package/dist/collection/components/workflow-steps/test/workflow-steps.ct.js +2 -2
  474. package/dist/collection/components/workflow-steps/test/workflow-steps.ct.js.map +1 -1
  475. package/dist/collection/components/workflow-steps/workflow-steps.css +1 -1
  476. package/dist/collection/components/workflow-steps/workflow-steps.js +2 -2
  477. package/dist/collection/components/workflow-steps/workflow-steps.js.map +1 -1
  478. package/dist/collection/index.js +1 -0
  479. package/dist/collection/index.js.map +1 -1
  480. package/dist/collection/tests/application-header/application-header.e2e.js +9 -0
  481. package/dist/collection/tests/application-header/application-header.e2e.js.map +1 -1
  482. package/dist/collection/tests/avatar/avatar.e2e.js +6 -0
  483. package/dist/collection/tests/avatar/avatar.e2e.js.map +1 -1
  484. package/dist/collection/tests/card-list/card-list.e2e.js +7 -1
  485. package/dist/collection/tests/card-list/card-list.e2e.js.map +1 -1
  486. package/dist/collection/tests/dropdown/dropdown.e2e.js +6 -0
  487. package/dist/collection/tests/dropdown/dropdown.e2e.js.map +1 -1
  488. package/dist/collection/tests/group/group.e2e.js +12 -3
  489. package/dist/collection/tests/group/group.e2e.js.map +1 -1
  490. package/dist/collection/tests/slider/slider.e2e.js +14 -0
  491. package/dist/collection/tests/slider/slider.e2e.js.map +1 -1
  492. package/dist/collection/tests/tabs/tabs.e2e.js +1 -1
  493. package/dist/collection/tests/tabs/tabs.e2e.js.map +1 -1
  494. package/dist/collection/tests/tooltip/tooltip.e2e.js +22 -0
  495. package/dist/collection/tests/tooltip/tooltip.e2e.js.map +1 -1
  496. package/dist/collection/tests/tree/tree.e2e.js +12 -0
  497. package/dist/collection/tests/tree/tree.e2e.js.map +1 -1
  498. package/dist/esm/{a11y-d5444a76.js → a11y-2e34777f.js} +2 -2
  499. package/dist/esm/{a11y-d5444a76.js.map → a11y-2e34777f.js.map} +1 -1
  500. package/dist/esm/{context-c9078420.js → context-82a1ccf8.js} +2 -2
  501. package/dist/esm/{context-c9078420.js.map → context-82a1ccf8.js.map} +1 -1
  502. package/dist/esm/dropdown-controller-95bd6750.js +140 -0
  503. package/dist/esm/dropdown-controller-95bd6750.js.map +1 -0
  504. package/dist/esm/{floating-ui.dom.esm-6e7c098f.js → floating-ui.dom.esm-d4ad786a.js} +534 -61
  505. package/dist/esm/floating-ui.dom.esm-d4ad786a.js.map +1 -0
  506. package/dist/esm/index.js +2 -2
  507. package/dist/esm/index.js.map +1 -1
  508. package/dist/esm/ix-action-card.entry.js +1 -1
  509. package/dist/esm/ix-action-card.entry.js.map +1 -1
  510. package/dist/esm/ix-application-header.entry.js +36 -10
  511. package/dist/esm/ix-application-header.entry.js.map +1 -1
  512. package/dist/esm/ix-application-sidebar.entry.js +1 -1
  513. package/dist/esm/ix-application-switch-modal.entry.js +1 -1
  514. package/dist/esm/ix-application.entry.js +5 -5
  515. package/dist/esm/ix-application.entry.js.map +1 -1
  516. package/dist/esm/ix-avatar_2.entry.js +3 -3
  517. package/dist/esm/ix-avatar_2.entry.js.map +1 -1
  518. package/dist/esm/ix-basic-navigation.entry.js +4 -4
  519. package/dist/esm/ix-basic-navigation.entry.js.map +1 -1
  520. package/dist/esm/ix-blind.entry.js +1 -1
  521. package/dist/esm/ix-blind.entry.js.map +1 -1
  522. package/dist/esm/ix-breadcrumb-item.entry.js +1 -1
  523. package/dist/esm/ix-breadcrumb.entry.js +3 -3
  524. package/dist/esm/ix-card-accordion_2.entry.js +2 -2
  525. package/dist/esm/ix-card-accordion_2.entry.js.map +1 -1
  526. package/dist/esm/ix-card-list.entry.js +6 -6
  527. package/dist/esm/ix-card-list.entry.js.map +1 -1
  528. package/dist/esm/ix-card_2.entry.js +4 -4
  529. package/dist/esm/ix-card_2.entry.js.map +1 -1
  530. package/dist/esm/ix-category-filter.entry.js +9 -5
  531. package/dist/esm/ix-category-filter.entry.js.map +1 -1
  532. package/dist/esm/ix-chip.entry.js +4 -4
  533. package/dist/esm/ix-chip.entry.js.map +1 -1
  534. package/dist/esm/ix-col_4.entry.js +4 -4
  535. package/dist/esm/ix-col_4.entry.js.map +1 -1
  536. package/dist/esm/ix-content.entry.js +4 -4
  537. package/dist/esm/ix-css-grid-item.entry.js +1 -1
  538. package/dist/esm/ix-divider.entry.js +1 -1
  539. package/dist/esm/ix-drawer.entry.js +2 -2
  540. package/dist/esm/ix-dropdown-header.entry.js +1 -1
  541. package/dist/esm/ix-dropdown-item.entry.js +4 -4
  542. package/dist/esm/ix-dropdown-item.entry.js.map +1 -1
  543. package/dist/esm/ix-dropdown-quick-actions.entry.js +1 -1
  544. package/dist/esm/ix-dropdown.entry.js +12 -144
  545. package/dist/esm/ix-dropdown.entry.js.map +1 -1
  546. package/dist/esm/ix-event-list-item.entry.js +5 -5
  547. package/dist/esm/ix-event-list.entry.js +2 -2
  548. package/dist/esm/ix-expanding-search.entry.js +4 -4
  549. package/dist/esm/ix-filter-chip_2.entry.js +2 -2
  550. package/dist/esm/ix-flip-tile-content.entry.js +1 -1
  551. package/dist/esm/ix-flip-tile.entry.js +4 -4
  552. package/dist/esm/ix-form-field.entry.js +1 -1
  553. package/dist/esm/ix-group-context-menu_2.entry.js +6 -10
  554. package/dist/esm/ix-group-context-menu_2.entry.js.map +1 -1
  555. package/dist/esm/ix-group.entry.js +68 -44
  556. package/dist/esm/ix-group.entry.js.map +1 -1
  557. package/dist/esm/ix-icon-button_2.entry.js +2 -2
  558. package/dist/esm/ix-icon-toggle-button.entry.js +2 -2
  559. package/dist/esm/ix-input-group.entry.js +2 -2
  560. package/dist/esm/ix-key-value-list.entry.js +1 -1
  561. package/dist/esm/ix-kpi.entry.js +3 -3
  562. package/dist/esm/ix-kpi.entry.js.map +1 -1
  563. package/dist/esm/ix-link-button.entry.js +3 -3
  564. package/dist/esm/ix-map-navigation-overlay.entry.js +2 -2
  565. package/dist/esm/ix-map-navigation.entry.js +4 -4
  566. package/dist/esm/ix-map-navigation.entry.js.map +1 -1
  567. package/dist/esm/ix-menu-about-item.entry.js +1 -1
  568. package/dist/esm/ix-menu-about-news.entry.js +4 -4
  569. package/dist/esm/ix-menu-avatar.entry.js +3 -3
  570. package/dist/esm/ix-menu-category.entry.js +6 -6
  571. package/dist/esm/ix-menu-expand-icon.entry.js +2 -2
  572. package/dist/esm/ix-menu-expand-icon.entry.js.map +1 -1
  573. package/dist/esm/ix-menu-item.entry.js +14 -14
  574. package/dist/esm/ix-menu-item.entry.js.map +1 -1
  575. package/dist/esm/ix-menu-settings-item.entry.js +1 -1
  576. package/dist/esm/ix-menu.entry.js +14 -14
  577. package/dist/esm/ix-menu.entry.js.map +1 -1
  578. package/dist/esm/ix-message-bar.entry.js +1 -1
  579. package/dist/esm/ix-modal-content_2.entry.js +3 -3
  580. package/dist/esm/ix-modal-content_2.entry.js.map +1 -1
  581. package/dist/esm/ix-modal-example.entry.js +1 -1
  582. package/dist/esm/ix-modal-footer.entry.js +2 -2
  583. package/dist/esm/ix-modal-footer.entry.js.map +1 -1
  584. package/dist/esm/ix-modal-loading.entry.js +1 -1
  585. package/dist/esm/ix-modal.entry.js +3 -3
  586. package/dist/esm/ix-modal.entry.js.map +1 -1
  587. package/dist/esm/ix-pagination.entry.js +4 -4
  588. package/dist/esm/ix-pagination.entry.js.map +1 -1
  589. package/dist/esm/ix-pane-layout.entry.js +2 -2
  590. package/dist/esm/ix-pane.entry.js +1 -1
  591. package/dist/esm/ix-pane.entry.js.map +1 -1
  592. package/dist/esm/ix-pill.entry.js +4 -4
  593. package/dist/esm/ix-pill.entry.js.map +1 -1
  594. package/dist/esm/ix-playground-internal.entry.js +1 -1
  595. package/dist/esm/ix-playground-internal.entry.js.map +1 -1
  596. package/dist/esm/ix-push-card.entry.js +1 -1
  597. package/dist/esm/ix-push-card.entry.js.map +1 -1
  598. package/dist/esm/ix-select.entry.js +28 -31
  599. package/dist/esm/ix-select.entry.js.map +1 -1
  600. package/dist/esm/ix-slider.entry.js +22 -15
  601. package/dist/esm/ix-slider.entry.js.map +1 -1
  602. package/dist/esm/ix-split-button-item.entry.js +1 -1
  603. package/dist/esm/ix-tab-item_2.entry.js +74 -44
  604. package/dist/esm/ix-tab-item_2.entry.js.map +1 -1
  605. package/dist/esm/ix-tile.entry.js +4 -4
  606. package/dist/esm/ix-tile.entry.js.map +1 -1
  607. package/dist/esm/ix-toast-container.entry.js.map +1 -1
  608. package/dist/esm/ix-toast.entry.js +2 -2
  609. package/dist/esm/ix-toast.entry.js.map +1 -1
  610. package/dist/esm/ix-toggle-button.entry.js +3 -3
  611. package/dist/esm/ix-toggle.entry.js +3 -3
  612. package/dist/esm/ix-tooltip.entry.js +25 -23
  613. package/dist/esm/ix-tooltip.entry.js.map +1 -1
  614. package/dist/esm/ix-tree-item.entry.js +8 -8
  615. package/dist/esm/ix-tree-item.entry.js.map +1 -1
  616. package/dist/esm/ix-tree.entry.js +21 -7
  617. package/dist/esm/ix-tree.entry.js.map +1 -1
  618. package/dist/esm/ix-upload.entry.js +3 -3
  619. package/dist/esm/ix-upload.entry.js.map +1 -1
  620. package/dist/esm/ix-validation-tooltip.entry.js +3 -3
  621. package/dist/esm/ix-workflow-step.entry.js +3 -3
  622. package/dist/esm/ix-workflow-step.entry.js.map +1 -1
  623. package/dist/esm/ix-workflow-steps.entry.js +1 -1
  624. package/dist/esm/ix-workflow-steps.entry.js.map +1 -1
  625. package/dist/esm/{listener-4f3baab5.js → listener-2c562054.js} +2 -2
  626. package/dist/esm/{listener-4f3baab5.js.map → listener-2c562054.js.map} +1 -1
  627. package/dist/esm/loader.js +1 -1
  628. package/dist/esm/{logical-filter-operator-f6701df5.js → logical-filter-operator-d793d1c3.js} +2 -2
  629. package/dist/esm/{logical-filter-operator-f6701df5.js.map → logical-filter-operator-d793d1c3.js.map} +1 -1
  630. package/dist/esm/{service-02cc9011.js → service-c7fc628b.js} +3 -3
  631. package/dist/esm/service-c7fc628b.js.map +1 -0
  632. package/dist/esm/{shadow-dom-60e9243d.js → shadow-dom-cc0bc152.js} +2 -2
  633. package/dist/esm/{shadow-dom-60e9243d.js.map → shadow-dom-cc0bc152.js.map} +1 -1
  634. package/dist/esm/siemens-ix.js +1 -1
  635. package/dist/siemens-ix/index.esm.js +1 -1
  636. package/dist/siemens-ix/index.esm.js.map +1 -1
  637. package/dist/siemens-ix/p-04af3853.entry.js +2 -0
  638. package/dist/siemens-ix/p-04ec538b.entry.js +2 -0
  639. package/dist/siemens-ix/p-04ec538b.entry.js.map +1 -0
  640. package/dist/siemens-ix/{p-68644ee1.entry.js → p-05dc6b2d.entry.js} +2 -2
  641. package/dist/siemens-ix/{p-68644ee1.entry.js.map → p-05dc6b2d.entry.js.map} +1 -1
  642. package/dist/siemens-ix/{p-af099ca4.entry.js → p-0632731e.entry.js} +2 -2
  643. package/dist/siemens-ix/{p-6af4415c.entry.js → p-085d5ec2.entry.js} +2 -2
  644. package/dist/siemens-ix/{p-6af4415c.entry.js.map → p-085d5ec2.entry.js.map} +1 -1
  645. package/dist/siemens-ix/{p-0d2a6886.entry.js → p-091b036d.entry.js} +2 -2
  646. package/dist/siemens-ix/{p-453fa360.entry.js → p-0ef97555.entry.js} +2 -2
  647. package/dist/siemens-ix/{p-453fa360.entry.js.map → p-0ef97555.entry.js.map} +1 -1
  648. package/dist/siemens-ix/{p-2946fd70.entry.js → p-0fafba48.entry.js} +2 -2
  649. package/dist/siemens-ix/{p-7076210b.entry.js → p-1483f65d.entry.js} +2 -2
  650. package/dist/siemens-ix/{p-4f8ac3bf.js → p-157b1b28.js} +1 -1
  651. package/dist/siemens-ix/{p-4f8ac3bf.js.map → p-157b1b28.js.map} +1 -1
  652. package/dist/siemens-ix/p-15f44099.entry.js +2 -0
  653. package/dist/siemens-ix/{p-87e692d9.entry.js.map → p-15f44099.entry.js.map} +1 -1
  654. package/dist/siemens-ix/{p-2908cacd.entry.js → p-17a8aab2.entry.js} +2 -2
  655. package/dist/siemens-ix/{p-2908cacd.entry.js.map → p-17a8aab2.entry.js.map} +1 -1
  656. package/dist/siemens-ix/{p-c1968b80.entry.js → p-1bd98772.entry.js} +2 -2
  657. package/dist/siemens-ix/p-1c3a0b1f.js +2 -0
  658. package/dist/siemens-ix/p-1c3a0b1f.js.map +1 -0
  659. package/dist/siemens-ix/{p-8629db91.entry.js → p-25f1749c.entry.js} +2 -2
  660. package/dist/siemens-ix/{p-5696bb62.entry.js → p-306269ae.entry.js} +2 -2
  661. package/dist/siemens-ix/{p-ae7a7af4.entry.js → p-33a7a26d.entry.js} +2 -2
  662. package/dist/siemens-ix/{p-ae7a7af4.entry.js.map → p-33a7a26d.entry.js.map} +1 -1
  663. package/dist/siemens-ix/{p-712e0ee0.js → p-345e1c73.js} +1 -1
  664. package/dist/siemens-ix/{p-712e0ee0.js.map → p-345e1c73.js.map} +1 -1
  665. package/dist/siemens-ix/p-35fff1e6.entry.js +2 -0
  666. package/dist/siemens-ix/{p-9ebc4fc3.entry.js → p-37229f30.entry.js} +2 -2
  667. package/dist/siemens-ix/{p-9ebc4fc3.entry.js.map → p-37229f30.entry.js.map} +1 -1
  668. package/dist/siemens-ix/p-3dc1294b.entry.js +2 -0
  669. package/dist/siemens-ix/{p-e9a3f58a.entry.js.map → p-3dc1294b.entry.js.map} +1 -1
  670. package/dist/siemens-ix/p-3f59a3c3.entry.js +2 -0
  671. package/dist/siemens-ix/p-3f59a3c3.entry.js.map +1 -0
  672. package/dist/siemens-ix/p-411f51c5.entry.js +2 -0
  673. package/dist/siemens-ix/{p-f78246bd.entry.js → p-44a27b29.entry.js} +2 -2
  674. package/dist/siemens-ix/{p-d03df401.entry.js → p-49d3fc15.entry.js} +2 -2
  675. package/dist/siemens-ix/{p-25ee1b62.js → p-4ac31849.js} +1 -1
  676. package/dist/siemens-ix/{p-25ee1b62.js.map → p-4ac31849.js.map} +1 -1
  677. package/dist/siemens-ix/{p-112069ca.entry.js → p-4e547dd3.entry.js} +2 -2
  678. package/dist/siemens-ix/p-4e547dd3.entry.js.map +1 -0
  679. package/dist/siemens-ix/p-5099c070.entry.js +2 -0
  680. package/dist/siemens-ix/p-5099c070.entry.js.map +1 -0
  681. package/dist/siemens-ix/{p-6b928634.entry.js → p-5351225b.entry.js} +2 -2
  682. package/dist/siemens-ix/p-5351225b.entry.js.map +1 -0
  683. package/dist/siemens-ix/p-5aa0b93c.entry.js.map +1 -1
  684. package/dist/siemens-ix/{p-113cc793.entry.js → p-5af99eaa.entry.js} +2 -2
  685. package/dist/siemens-ix/{p-e30ed20a.entry.js → p-62b089b6.entry.js} +2 -2
  686. package/dist/siemens-ix/{p-e30ed20a.entry.js.map → p-62b089b6.entry.js.map} +1 -1
  687. package/dist/siemens-ix/p-63f0755e.entry.js +2 -0
  688. package/dist/siemens-ix/{p-14a41c8c.entry.js → p-6618b2db.entry.js} +2 -2
  689. package/dist/siemens-ix/{p-0653a145.entry.js → p-67f44540.entry.js} +2 -2
  690. package/dist/siemens-ix/{p-15b3c17e.entry.js → p-6e4c9e3d.entry.js} +2 -2
  691. package/dist/siemens-ix/{p-15b3c17e.entry.js.map → p-6e4c9e3d.entry.js.map} +1 -1
  692. package/dist/siemens-ix/p-7402f42a.entry.js +2 -0
  693. package/dist/siemens-ix/p-7402f42a.entry.js.map +1 -0
  694. package/dist/siemens-ix/{p-53352bfb.entry.js → p-77273517.entry.js} +2 -2
  695. package/dist/siemens-ix/{p-882a0233.entry.js → p-78ac2ff1.entry.js} +2 -2
  696. package/dist/siemens-ix/p-7947ef3d.entry.js +2 -0
  697. package/dist/siemens-ix/{p-fb47546b.entry.js → p-7c2f34f0.entry.js} +2 -2
  698. package/dist/siemens-ix/p-82d33168.entry.js +2 -0
  699. package/dist/siemens-ix/p-82f9d976.entry.js +2 -0
  700. package/dist/siemens-ix/p-82f9d976.entry.js.map +1 -0
  701. package/dist/siemens-ix/{p-85423643.entry.js → p-86bbc005.entry.js} +2 -2
  702. package/dist/siemens-ix/p-86bbc005.entry.js.map +1 -0
  703. package/dist/siemens-ix/p-86fd5922.entry.js +2 -0
  704. package/dist/siemens-ix/p-86fd5922.entry.js.map +1 -0
  705. package/dist/siemens-ix/p-89e48bea.entry.js +2 -0
  706. package/dist/siemens-ix/p-89e48bea.entry.js.map +1 -0
  707. package/dist/siemens-ix/{p-052340f9.entry.js → p-8acc09aa.entry.js} +2 -2
  708. package/dist/siemens-ix/{p-6fd7ecd0.entry.js → p-9079f6c8.entry.js} +2 -2
  709. package/dist/siemens-ix/p-928209e1.entry.js +2 -0
  710. package/dist/siemens-ix/p-928209e1.entry.js.map +1 -0
  711. package/dist/siemens-ix/{p-e8d3cf35.entry.js → p-958c5970.entry.js} +2 -2
  712. package/dist/siemens-ix/{p-e8d3cf35.entry.js.map → p-958c5970.entry.js.map} +1 -1
  713. package/dist/siemens-ix/{p-16b923e9.entry.js → p-9bdda7ff.entry.js} +2 -2
  714. package/dist/siemens-ix/p-a08efce0.entry.js +2 -0
  715. package/dist/siemens-ix/p-a08efce0.entry.js.map +1 -0
  716. package/dist/siemens-ix/p-a4755205.entry.js +2 -0
  717. package/dist/siemens-ix/p-a4755205.entry.js.map +1 -0
  718. package/dist/siemens-ix/{p-2c4c03d4.entry.js → p-aa814811.entry.js} +2 -2
  719. package/dist/siemens-ix/{p-7c36d3fa.js → p-accec846.js} +1 -1
  720. package/dist/siemens-ix/{p-7c36d3fa.js.map → p-accec846.js.map} +1 -1
  721. package/dist/siemens-ix/{p-8d599677.entry.js → p-adee6045.entry.js} +2 -2
  722. package/dist/siemens-ix/{p-8d599677.entry.js.map → p-adee6045.entry.js.map} +1 -1
  723. package/dist/siemens-ix/{p-d95cbd1f.entry.js → p-ae31be0d.entry.js} +2 -2
  724. package/dist/siemens-ix/{p-d95cbd1f.entry.js.map → p-ae31be0d.entry.js.map} +1 -1
  725. package/dist/siemens-ix/{p-feac09bc.entry.js → p-ba24e694.entry.js} +2 -2
  726. package/dist/siemens-ix/p-ba6e955a.js +2 -0
  727. package/dist/siemens-ix/p-ba6e955a.js.map +1 -0
  728. package/dist/siemens-ix/p-c022d6cc.entry.js +2 -0
  729. package/dist/siemens-ix/{p-eb6268a6.entry.js.map → p-c022d6cc.entry.js.map} +1 -1
  730. package/dist/siemens-ix/p-c05a98c8.entry.js +2 -0
  731. package/dist/siemens-ix/{p-29df2e29.entry.js → p-c072ddb5.entry.js} +2 -2
  732. package/dist/siemens-ix/p-c072ddb5.entry.js.map +1 -0
  733. package/dist/siemens-ix/p-c1fe9f3d.entry.js +2 -0
  734. package/dist/siemens-ix/p-c1fe9f3d.entry.js.map +1 -0
  735. package/dist/siemens-ix/{p-c389de85.entry.js → p-c33cee36.entry.js} +2 -2
  736. package/dist/siemens-ix/{p-c389de85.entry.js.map → p-c33cee36.entry.js.map} +1 -1
  737. package/dist/siemens-ix/{p-0b4e398e.entry.js → p-c62966f8.entry.js} +2 -2
  738. package/dist/siemens-ix/{p-0b4e398e.entry.js.map → p-c62966f8.entry.js.map} +1 -1
  739. package/dist/siemens-ix/p-c7280736.entry.js +2 -0
  740. package/dist/siemens-ix/{p-0f7ef743.entry.js.map → p-c7280736.entry.js.map} +1 -1
  741. package/dist/siemens-ix/{p-8d0758c1.entry.js → p-c7e58e9e.entry.js} +2 -2
  742. package/dist/siemens-ix/{p-4430117a.entry.js → p-c81c4b9d.entry.js} +2 -2
  743. package/dist/siemens-ix/p-cc65617d.entry.js +2 -0
  744. package/dist/siemens-ix/p-cc65617d.entry.js.map +1 -0
  745. package/dist/siemens-ix/{p-1a122c76.entry.js → p-d300b332.entry.js} +2 -2
  746. package/dist/siemens-ix/p-d6fc0727.entry.js +2 -0
  747. package/dist/siemens-ix/p-d6fc0727.entry.js.map +1 -0
  748. package/dist/siemens-ix/p-df370362.entry.js +2 -0
  749. package/dist/siemens-ix/p-df370362.entry.js.map +1 -0
  750. package/dist/siemens-ix/{p-5f25e7fd.entry.js → p-e0d03d67.entry.js} +2 -2
  751. package/dist/siemens-ix/{p-5f25e7fd.entry.js.map → p-e0d03d67.entry.js.map} +1 -1
  752. package/dist/siemens-ix/{p-ff1ac5b3.entry.js → p-e14384df.entry.js} +2 -2
  753. package/dist/siemens-ix/{p-fb2b78f7.entry.js → p-e35805d0.entry.js} +2 -2
  754. package/dist/siemens-ix/p-e35805d0.entry.js.map +1 -0
  755. package/dist/siemens-ix/{p-0c8a98cd.js → p-e948bcb0.js} +1 -1
  756. package/dist/siemens-ix/{p-0c8a98cd.js.map → p-e948bcb0.js.map} +1 -1
  757. package/dist/siemens-ix/{p-96a3a750.entry.js → p-e95a5a97.entry.js} +2 -2
  758. package/dist/siemens-ix/p-e95a5a97.entry.js.map +1 -0
  759. package/dist/siemens-ix/p-ed7e76a3.entry.js +2 -0
  760. package/dist/siemens-ix/p-ed7e76a3.entry.js.map +1 -0
  761. package/dist/siemens-ix/{p-bea7c748.entry.js → p-ee96d1eb.entry.js} +2 -2
  762. package/dist/siemens-ix/p-f001ecc1.entry.js +2 -0
  763. package/dist/siemens-ix/p-f001ecc1.entry.js.map +1 -0
  764. package/dist/siemens-ix/p-f06b21f9.entry.js +2 -0
  765. package/dist/siemens-ix/p-f06b21f9.entry.js.map +1 -0
  766. package/dist/siemens-ix/{p-702f9349.js → p-fbe017b7.js} +2 -2
  767. package/dist/siemens-ix/p-fbe017b7.js.map +1 -0
  768. package/dist/siemens-ix/{p-7750e187.entry.js → p-fd5bee44.entry.js} +2 -2
  769. package/dist/siemens-ix/p-fefd5743.entry.js +2 -0
  770. package/dist/siemens-ix/p-fefd5743.entry.js.map +1 -0
  771. package/dist/siemens-ix/{p-dcb3e5be.entry.js → p-ffa856df.entry.js} +2 -2
  772. package/dist/siemens-ix/siemens-ix-core.css +1 -1
  773. package/dist/siemens-ix/siemens-ix.css +5 -1
  774. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  775. package/dist/siemens-ix/siemens-ix.esm.js.map +1 -1
  776. package/dist/types/components/action-card/action-card.d.ts +1 -0
  777. package/dist/types/components/application-header/application-header.d.ts +19 -1
  778. package/dist/types/components/basic-navigation/basic-navigation.d.ts +2 -1
  779. package/dist/types/components/card/card.d.ts +2 -1
  780. package/dist/types/components/category-filter/category-filter.d.ts +9 -9
  781. package/dist/types/components/category-filter/test/category-filter.ct.d.ts +1 -0
  782. package/dist/types/components/dropdown/dropdown.d.ts +1 -0
  783. package/dist/types/components/dropdown-item/dropdown-item.d.ts +2 -2
  784. package/dist/types/components/group/group.d.ts +7 -6
  785. package/dist/types/components/group-item/group-item.d.ts +4 -4
  786. package/dist/types/components/menu-item/menu-item.d.ts +6 -5
  787. package/dist/types/components/push-card/push-card.d.ts +4 -3
  788. package/dist/types/components/slider/slider.d.ts +3 -3
  789. package/dist/types/components/tab-item/tab-item.d.ts +1 -1
  790. package/dist/types/components/tabs/tabs.d.ts +7 -4
  791. package/dist/types/components/tooltip/tooltip.d.ts +9 -10
  792. package/dist/types/components/tree/tree.d.ts +1 -1
  793. package/dist/types/components/tree-item/tree-item.d.ts +3 -3
  794. package/dist/types/components.d.ts +83 -43
  795. package/dist/types/index.d.ts +1 -0
  796. package/hydrate/index.js +994 -416
  797. package/package.json +3 -2
  798. package/scss/_core.scss +5 -0
  799. package/dist/cjs/floating-ui.dom.esm-94b4d17c.js.map +0 -1
  800. package/dist/cjs/service-a42add5f.js.map +0 -1
  801. package/dist/esm/floating-ui.dom.esm-6e7c098f.js.map +0 -1
  802. package/dist/esm/service-02cc9011.js.map +0 -1
  803. package/dist/siemens-ix/p-0f7ef743.entry.js +0 -2
  804. package/dist/siemens-ix/p-112069ca.entry.js.map +0 -1
  805. package/dist/siemens-ix/p-1cff59db.entry.js +0 -2
  806. package/dist/siemens-ix/p-1cff59db.entry.js.map +0 -1
  807. package/dist/siemens-ix/p-1f4b8463.entry.js +0 -2
  808. package/dist/siemens-ix/p-1f4b8463.entry.js.map +0 -1
  809. package/dist/siemens-ix/p-29df2e29.entry.js.map +0 -1
  810. package/dist/siemens-ix/p-2ec7f841.entry.js +0 -2
  811. package/dist/siemens-ix/p-2ec7f841.entry.js.map +0 -1
  812. package/dist/siemens-ix/p-309ac3ad.entry.js +0 -2
  813. package/dist/siemens-ix/p-309ac3ad.entry.js.map +0 -1
  814. package/dist/siemens-ix/p-315f070d.entry.js +0 -2
  815. package/dist/siemens-ix/p-315f070d.entry.js.map +0 -1
  816. package/dist/siemens-ix/p-32375ddb.entry.js +0 -2
  817. package/dist/siemens-ix/p-427676f4.entry.js +0 -2
  818. package/dist/siemens-ix/p-427676f4.entry.js.map +0 -1
  819. package/dist/siemens-ix/p-4344ba99.entry.js +0 -2
  820. package/dist/siemens-ix/p-4344ba99.entry.js.map +0 -1
  821. package/dist/siemens-ix/p-44db3646.entry.js +0 -2
  822. package/dist/siemens-ix/p-4b3facea.entry.js +0 -2
  823. package/dist/siemens-ix/p-4b3facea.entry.js.map +0 -1
  824. package/dist/siemens-ix/p-52857629.entry.js +0 -2
  825. package/dist/siemens-ix/p-52857629.entry.js.map +0 -1
  826. package/dist/siemens-ix/p-60c16878.entry.js +0 -2
  827. package/dist/siemens-ix/p-60c16878.entry.js.map +0 -1
  828. package/dist/siemens-ix/p-6227e62b.entry.js +0 -2
  829. package/dist/siemens-ix/p-6227e62b.entry.js.map +0 -1
  830. package/dist/siemens-ix/p-6b928634.entry.js.map +0 -1
  831. package/dist/siemens-ix/p-702f9349.js.map +0 -1
  832. package/dist/siemens-ix/p-7bfd6cd2.entry.js +0 -2
  833. package/dist/siemens-ix/p-7bfd6cd2.entry.js.map +0 -1
  834. package/dist/siemens-ix/p-7faa148f.entry.js +0 -2
  835. package/dist/siemens-ix/p-85423643.entry.js.map +0 -1
  836. package/dist/siemens-ix/p-87e692d9.entry.js +0 -2
  837. package/dist/siemens-ix/p-92a18c10.entry.js +0 -2
  838. package/dist/siemens-ix/p-96a3a750.entry.js.map +0 -1
  839. package/dist/siemens-ix/p-a536adcb.entry.js +0 -2
  840. package/dist/siemens-ix/p-a536adcb.entry.js.map +0 -1
  841. package/dist/siemens-ix/p-b3b23af7.entry.js +0 -2
  842. package/dist/siemens-ix/p-b3f35666.js +0 -2
  843. package/dist/siemens-ix/p-b3f35666.js.map +0 -1
  844. package/dist/siemens-ix/p-c1222581.entry.js +0 -2
  845. package/dist/siemens-ix/p-c55db6c7.entry.js +0 -2
  846. package/dist/siemens-ix/p-c55db6c7.entry.js.map +0 -1
  847. package/dist/siemens-ix/p-d998415f.entry.js +0 -2
  848. package/dist/siemens-ix/p-d998415f.entry.js.map +0 -1
  849. package/dist/siemens-ix/p-e9a3f58a.entry.js +0 -2
  850. package/dist/siemens-ix/p-eb6268a6.entry.js +0 -2
  851. package/dist/siemens-ix/p-ebb277f0.entry.js +0 -2
  852. package/dist/siemens-ix/p-ebb277f0.entry.js.map +0 -1
  853. package/dist/siemens-ix/p-f07110c6.entry.js +0 -2
  854. package/dist/siemens-ix/p-f07110c6.entry.js.map +0 -1
  855. package/dist/siemens-ix/p-fa53933d.entry.js +0 -2
  856. package/dist/siemens-ix/p-fa53933d.entry.js.map +0 -1
  857. package/dist/siemens-ix/p-fb2b78f7.entry.js.map +0 -1
  858. package/dist/siemens-ix/p-fb4c79c6.entry.js +0 -2
  859. /package/dist/siemens-ix/{p-fb4c79c6.entry.js.map → p-04af3853.entry.js.map} +0 -0
  860. /package/dist/siemens-ix/{p-af099ca4.entry.js.map → p-0632731e.entry.js.map} +0 -0
  861. /package/dist/siemens-ix/{p-0d2a6886.entry.js.map → p-091b036d.entry.js.map} +0 -0
  862. /package/dist/siemens-ix/{p-2946fd70.entry.js.map → p-0fafba48.entry.js.map} +0 -0
  863. /package/dist/siemens-ix/{p-7076210b.entry.js.map → p-1483f65d.entry.js.map} +0 -0
  864. /package/dist/siemens-ix/{p-c1968b80.entry.js.map → p-1bd98772.entry.js.map} +0 -0
  865. /package/dist/siemens-ix/{p-8629db91.entry.js.map → p-25f1749c.entry.js.map} +0 -0
  866. /package/dist/siemens-ix/{p-5696bb62.entry.js.map → p-306269ae.entry.js.map} +0 -0
  867. /package/dist/siemens-ix/{p-b3b23af7.entry.js.map → p-35fff1e6.entry.js.map} +0 -0
  868. /package/dist/siemens-ix/{p-92a18c10.entry.js.map → p-411f51c5.entry.js.map} +0 -0
  869. /package/dist/siemens-ix/{p-f78246bd.entry.js.map → p-44a27b29.entry.js.map} +0 -0
  870. /package/dist/siemens-ix/{p-d03df401.entry.js.map → p-49d3fc15.entry.js.map} +0 -0
  871. /package/dist/siemens-ix/{p-113cc793.entry.js.map → p-5af99eaa.entry.js.map} +0 -0
  872. /package/dist/siemens-ix/{p-c1222581.entry.js.map → p-63f0755e.entry.js.map} +0 -0
  873. /package/dist/siemens-ix/{p-14a41c8c.entry.js.map → p-6618b2db.entry.js.map} +0 -0
  874. /package/dist/siemens-ix/{p-0653a145.entry.js.map → p-67f44540.entry.js.map} +0 -0
  875. /package/dist/siemens-ix/{p-53352bfb.entry.js.map → p-77273517.entry.js.map} +0 -0
  876. /package/dist/siemens-ix/{p-882a0233.entry.js.map → p-78ac2ff1.entry.js.map} +0 -0
  877. /package/dist/siemens-ix/{p-32375ddb.entry.js.map → p-7947ef3d.entry.js.map} +0 -0
  878. /package/dist/siemens-ix/{p-fb47546b.entry.js.map → p-7c2f34f0.entry.js.map} +0 -0
  879. /package/dist/siemens-ix/{p-7faa148f.entry.js.map → p-82d33168.entry.js.map} +0 -0
  880. /package/dist/siemens-ix/{p-052340f9.entry.js.map → p-8acc09aa.entry.js.map} +0 -0
  881. /package/dist/siemens-ix/{p-6fd7ecd0.entry.js.map → p-9079f6c8.entry.js.map} +0 -0
  882. /package/dist/siemens-ix/{p-16b923e9.entry.js.map → p-9bdda7ff.entry.js.map} +0 -0
  883. /package/dist/siemens-ix/{p-2c4c03d4.entry.js.map → p-aa814811.entry.js.map} +0 -0
  884. /package/dist/siemens-ix/{p-feac09bc.entry.js.map → p-ba24e694.entry.js.map} +0 -0
  885. /package/dist/siemens-ix/{p-44db3646.entry.js.map → p-c05a98c8.entry.js.map} +0 -0
  886. /package/dist/siemens-ix/{p-8d0758c1.entry.js.map → p-c7e58e9e.entry.js.map} +0 -0
  887. /package/dist/siemens-ix/{p-4430117a.entry.js.map → p-c81c4b9d.entry.js.map} +0 -0
  888. /package/dist/siemens-ix/{p-1a122c76.entry.js.map → p-d300b332.entry.js.map} +0 -0
  889. /package/dist/siemens-ix/{p-ff1ac5b3.entry.js.map → p-e14384df.entry.js.map} +0 -0
  890. /package/dist/siemens-ix/{p-bea7c748.entry.js.map → p-ee96d1eb.entry.js.map} +0 -0
  891. /package/dist/siemens-ix/{p-7750e187.entry.js.map → p-fd5bee44.entry.js.map} +0 -0
  892. /package/dist/siemens-ix/{p-dcb3e5be.entry.js.map → p-ffa856df.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"application.js","sourceRoot":"","sources":["../../../src/components/application/application.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAChF,OAAO,EACL,wBAAwB,GAEzB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAE/E,OAAO,EAAmB,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,kBAAkB,EA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;aACxC;YAED,6DAAM,IAAI,EAAC,oBAAoB,GAAQ;YACvC,4DAAK,KAAK,EAAC,aAAa;gBACtB,6DAAM,IAAI,EAAC,MAAM,GAAQ;gBACzB,8DACE,KAAK,EAAE;wBACL,qBAAqB,EAAE,IAAI;wBAC3B,OAAO,EAAE,IAAI,CAAC,yBAAyB;qBACxC,EACD,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,cAAc,EAAE;oBAEpC,6DACE,IAAI,EAAC,qBAAqB,EAC1B,YAAY,EAAE,GAAG,EAAE,CACjB,CAAC,IAAI,CAAC,yBAAyB,GAAG,kBAAkB,CAClD,IAAI,CAAC,sBAAsB,CAC5B,CAAC,GAEE,CACF;gBACR,6DAAM,KAAK,EAAC,SAAS,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,cAAc,EAAE;oBACxD,8DAAa,CACR,CACH,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","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\nimport { Component, Element, h, Host, Prop, State, Watch } from '@stencil/core';\nimport {\n ApplicationLayoutContext,\n AppSwitchConfiguration,\n} from '../utils/application-layout/context';\nimport { applicationLayoutService } from '../utils/application-layout/service';\nimport { Breakpoint } from '../utils/breakpoints';\nimport { ContextProvider, useContextProvider } from '../utils/context';\nimport { menuController } from '../utils/menu-service/menu-service';\nimport { hasSlottedElements } from '../utils/shadow-dom';\nimport { IxTheme, themeSwitcher } from '../utils/theme-switcher';\nimport { Disposable } from '../utils/typed-event';\n\n/**\n * @since 2.1.0\n */\n@Component({\n tag: 'ix-application',\n styleUrl: 'application.scss',\n shadow: true,\n})\nexport class Application {\n @Element() hostElement: HTMLIxApplicationElement;\n\n /**\n * Application theme\n */\n @Prop() theme: IxTheme;\n\n /**\n * Use the system appearance dark or light\n */\n @Prop() themeSystemAppearance = false;\n\n /**\n * Change the responsive layout of the menu structure\n */\n @Prop() forceBreakpoint: Breakpoint | undefined;\n forceLayoutChange(newMode: Breakpoint | undefined) {\n if (!newMode) {\n applicationLayoutService.enableBreakpointDetection();\n return;\n }\n\n applicationLayoutService.disableBreakpointDetection();\n applicationLayoutService.setBreakpoint(newMode);\n }\n\n /**\n * Supported layouts\n */\n @Prop() breakpoints: Breakpoint[] = ['sm', 'md', 'lg'];\n @Watch('breakpoints')\n onBreakpointsChange(breakpoints: Breakpoint[]) {\n applicationLayoutService.setBreakpoints(breakpoints);\n }\n\n /**\n * Define application switch configuration\n */\n @Prop() appSwitchConfig: AppSwitchConfiguration;\n\n @State() breakpoint: Breakpoint = 'lg';\n @State() applicationSidebarSlotted = false;\n\n private contextProvider: ContextProvider<typeof ApplicationLayoutContext>;\n\n get menu(): HTMLIxMenuElement | null {\n return this.hostElement.querySelector('ix-menu');\n }\n\n get applicationSidebarSlot() {\n return this.hostElement.shadowRoot.querySelector(\n '.application-sidebar slot'\n ) as HTMLSlotElement;\n }\n\n private modeDisposable: Disposable;\n\n private onContentClick() {\n if (menuController.isPinned) {\n return;\n }\n this.menu?.toggleMenu(false);\n }\n\n componentWillLoad() {\n applicationLayoutService.setBreakpoints(this.breakpoints);\n\n this.contextProvider = useContextProvider(\n this.hostElement,\n ApplicationLayoutContext,\n {\n hideHeader: false,\n host: 'basic-navigation',\n sidebar: this.applicationSidebarSlotted,\n appSwitchConfig: this.appSwitchConfig,\n }\n );\n\n this.modeDisposable = applicationLayoutService.onChange.on((mode) => {\n this.breakpoint = mode;\n });\n this.breakpoint = applicationLayoutService.breakpoint;\n\n if (this.forceBreakpoint) {\n this.forceLayoutChange(this.forceBreakpoint);\n }\n\n this.changeTheme();\n }\n\n disconnectedCallback() {\n this.modeDisposable?.dispose();\n }\n\n @Watch('theme')\n @Watch('themeSystemAppearance')\n private changeTheme() {\n if (!this.theme) {\n if (this.themeSystemAppearance) {\n themeSwitcher.setVariant();\n }\n\n return;\n }\n\n if (themeSwitcher.hasVariantSuffix(this.theme)) {\n themeSwitcher.setTheme(`theme-${this.theme}`);\n return;\n }\n\n themeSwitcher.setTheme(\n `theme-${this.theme}-dark`,\n this.themeSystemAppearance\n );\n }\n\n @Watch('appSwitchConfig')\n @Watch('applicationSidebarSlotted')\n onApplicationSidebarChange() {\n this.contextProvider.emit({\n hideHeader: false,\n host: 'basic-navigation',\n sidebar: this.applicationSidebarSlotted,\n appSwitchConfig: this.appSwitchConfig,\n });\n }\n\n render() {\n return (\n <Host\n data-role=\"\"\n class={{\n [`breakpoint-${this.breakpoint}`]: true,\n }}\n >\n <slot name=\"application-header\"></slot>\n <div class=\"application\">\n <slot name=\"menu\"></slot>\n <aside\n class={{\n 'application-sidebar': true,\n slotted: this.applicationSidebarSlotted,\n }}\n onClick={() => this.onContentClick()}\n >\n <slot\n name=\"application-sidebar\"\n onSlotchange={() =>\n (this.applicationSidebarSlotted = hasSlottedElements(\n this.applicationSidebarSlot\n ))\n }\n ></slot>\n </aside>\n <main class=\"content\" onClick={() => this.onContentClick()}>\n <slot></slot>\n </main>\n </div>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"application.js","sourceRoot":"","sources":["../../../src/components/application/application.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAChF,OAAO,EACL,wBAAwB,GAEzB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAE/E,OAAO,EAAmB,kBAAkB,EAAE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EAAC,IAAI,kEACO,EAAE,EACZ,KAAK,EAAE;gBACL,CAAC,cAAc,IAAI,CAAC,UAAU,EAAE,CAAC,EAAE,IAAI;aACxC;YAED,6DAAM,IAAI,EAAC,oBAAoB,GAAQ;YACvC,4DAAK,KAAK,EAAC,aAAa;gBACtB,6DAAM,IAAI,EAAC,MAAM,GAAQ;gBACzB,8DACE,KAAK,EAAE;wBACL,qBAAqB,EAAE,IAAI;wBAC3B,OAAO,EAAE,IAAI,CAAC,yBAAyB;qBACxC,EACD,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,cAAc,EAAE;oBAEpC,6DACE,IAAI,EAAC,qBAAqB,EAC1B,YAAY,EAAE,GAAG,EAAE,CACjB,CAAC,IAAI,CAAC,yBAAyB,GAAG,kBAAkB,CAClD,IAAI,CAAC,sBAAsB,CAC5B,CAAC,GAEE,CACF;gBACR,4DAAK,KAAK,EAAC,cAAc;oBACvB,6DAAM,KAAK,EAAC,SAAS,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,cAAc,EAAE;wBACxD,8DAAa,CACR;oBACP,+DAAQ,KAAK,EAAC,QAAQ;wBACpB,6DAAM,IAAI,EAAC,QAAQ,GAAQ,CACpB,CACL,CACF,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","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\nimport { Component, Element, h, Host, Prop, State, Watch } from '@stencil/core';\nimport {\n ApplicationLayoutContext,\n AppSwitchConfiguration,\n} from '../utils/application-layout/context';\nimport { applicationLayoutService } from '../utils/application-layout/service';\nimport { Breakpoint } from '../utils/breakpoints';\nimport { ContextProvider, useContextProvider } from '../utils/context';\nimport { menuController } from '../utils/menu-service/menu-service';\nimport { hasSlottedElements } from '../utils/shadow-dom';\nimport { IxTheme, themeSwitcher } from '../utils/theme-switcher';\nimport { Disposable } from '../utils/typed-event';\n\n/**\n * @since 2.1.0\n */\n@Component({\n tag: 'ix-application',\n styleUrl: 'application.scss',\n shadow: true,\n})\nexport class Application {\n @Element() hostElement: HTMLIxApplicationElement;\n\n /**\n * Application theme\n */\n @Prop() theme: IxTheme;\n\n /**\n * Use the system appearance dark or light\n */\n @Prop() themeSystemAppearance = false;\n\n /**\n * Change the responsive layout of the menu structure\n */\n @Prop() forceBreakpoint: Breakpoint | undefined;\n forceLayoutChange(newMode: Breakpoint | undefined) {\n if (!newMode) {\n applicationLayoutService.enableBreakpointDetection();\n return;\n }\n\n applicationLayoutService.disableBreakpointDetection();\n applicationLayoutService.setBreakpoint(newMode);\n }\n\n /**\n * Supported layouts\n */\n @Prop() breakpoints: Breakpoint[] = ['sm', 'md', 'lg'];\n @Watch('breakpoints')\n onBreakpointsChange(breakpoints: Breakpoint[]) {\n applicationLayoutService.setBreakpoints(breakpoints);\n }\n\n /**\n * Define application switch configuration\n */\n @Prop() appSwitchConfig: AppSwitchConfiguration;\n\n @State() breakpoint: Breakpoint = 'lg';\n @State() applicationSidebarSlotted = false;\n\n private contextProvider: ContextProvider<typeof ApplicationLayoutContext>;\n\n get menu(): HTMLIxMenuElement | null {\n return this.hostElement.querySelector('ix-menu');\n }\n\n get applicationSidebarSlot() {\n return this.hostElement.shadowRoot.querySelector(\n '.application-sidebar slot'\n ) as HTMLSlotElement;\n }\n\n private modeDisposable: Disposable;\n\n private onContentClick() {\n if (menuController.isPinned) {\n return;\n }\n this.menu?.toggleMenu(false);\n }\n\n componentWillLoad() {\n applicationLayoutService.setBreakpoints(this.breakpoints);\n\n this.contextProvider = useContextProvider(\n this.hostElement,\n ApplicationLayoutContext,\n {\n hideHeader: false,\n host: 'basic-navigation',\n sidebar: this.applicationSidebarSlotted,\n appSwitchConfig: this.appSwitchConfig,\n }\n );\n\n this.modeDisposable = applicationLayoutService.onChange.on((mode) => {\n this.breakpoint = mode;\n });\n this.breakpoint = applicationLayoutService.breakpoint;\n\n if (this.forceBreakpoint) {\n this.forceLayoutChange(this.forceBreakpoint);\n }\n\n this.changeTheme();\n }\n\n disconnectedCallback() {\n this.modeDisposable?.dispose();\n }\n\n @Watch('theme')\n @Watch('themeSystemAppearance')\n private changeTheme() {\n if (!this.theme) {\n if (this.themeSystemAppearance) {\n themeSwitcher.setVariant();\n }\n\n return;\n }\n\n if (themeSwitcher.hasVariantSuffix(this.theme)) {\n themeSwitcher.setTheme(`theme-${this.theme}`);\n return;\n }\n\n themeSwitcher.setTheme(\n `theme-${this.theme}-dark`,\n this.themeSystemAppearance\n );\n }\n\n @Watch('appSwitchConfig')\n @Watch('applicationSidebarSlotted')\n onApplicationSidebarChange() {\n this.contextProvider.emit({\n hideHeader: false,\n host: 'basic-navigation',\n sidebar: this.applicationSidebarSlotted,\n appSwitchConfig: this.appSwitchConfig,\n });\n }\n\n render() {\n return (\n <Host\n data-role=\"\"\n class={{\n [`breakpoint-${this.breakpoint}`]: true,\n }}\n >\n <slot name=\"application-header\"></slot>\n <div class=\"application\">\n <slot name=\"menu\"></slot>\n <aside\n class={{\n 'application-sidebar': true,\n slotted: this.applicationSidebarSlotted,\n }}\n onClick={() => this.onContentClick()}\n >\n <slot\n name=\"application-sidebar\"\n onSlotchange={() =>\n (this.applicationSidebarSlotted = hasSlottedElements(\n this.applicationSidebarSlot\n ))\n }\n ></slot>\n </aside>\n <div class=\"content-area\">\n <main class=\"content\" onClick={() => this.onContentClick()}>\n <slot></slot>\n </main>\n <footer class=\"footer\">\n <slot name=\"bottom\"></slot>\n </footer>\n </div>\n </div>\n </Host>\n );\n }\n}\n"]}
@@ -36,12 +36,16 @@
36
36
  /* Handle */
37
37
  /* Handle on hover */
38
38
  display: flex;
39
- align-items: center;
39
+ align-items: flex-end;
40
+ flex-wrap: nowrap;
40
41
  position: relative;
41
42
  width: 100%;
42
- height: 2.75rem;
43
- min-height: 2.75rem;
44
- padding: 0 1rem 0 0.625rem;
43
+ height: calc(2.75rem + var(--ix-safe-area-inset-top, 0rem));
44
+ min-height: calc(2.75rem + var(--ix-safe-area-inset-top, 0rem));
45
+ padding-top: 0;
46
+ padding-right: calc(1rem + var(--ix-safe-area-inset-right, 0rem));
47
+ padding-bottom: 0.3rem;
48
+ padding-left: calc(0.625rem + var(--ix-safe-area-inset-left, 0rem));
45
49
  color: var(--theme-app-header--color);
46
50
  background-color: var(--theme-app-header--background);
47
51
  border-bottom: var(--theme-app-header--border-width) solid var(--theme-app-header--border-color);
@@ -93,6 +97,7 @@
93
97
  max-width: 50%;
94
98
  margin-left: 1.5rem;
95
99
  margin-right: 2.5rem;
100
+ margin-bottom: 0.25rem;
96
101
  color: var(--theme-app-header--color);
97
102
  }
98
103
  :host .logo {
@@ -133,9 +138,6 @@
133
138
  margin-left: 1rem;
134
139
  }
135
140
 
136
- :host(.breakpoint-sm) {
137
- padding-left: 0.625rem;
138
- }
139
141
  :host(.breakpoint-sm) .logo {
140
142
  margin-left: 0.5rem;
141
143
  }
@@ -19,6 +19,7 @@ import { hasSlottedElements } from "../utils/shadow-dom";
19
19
  export class ApplicationHeader {
20
20
  constructor() {
21
21
  this.name = undefined;
22
+ this.showMenu = false;
22
23
  this.breakpoint = 'lg';
23
24
  this.menuExpanded = false;
24
25
  this.suppressResponsive = false;
@@ -44,7 +45,6 @@ export class ApplicationHeader {
44
45
  });
45
46
  this.modeDisposable = applicationLayoutService.onChange.on((mode) => {
46
47
  if (this.suppressResponsive) {
47
- this.breakpoint = 'md';
48
48
  return;
49
49
  }
50
50
  this.breakpoint = mode;
@@ -59,6 +59,14 @@ export class ApplicationHeader {
59
59
  (_a = this.menuDisposable) === null || _a === void 0 ? void 0 : _a.dispose();
60
60
  (_b = this.modeDisposable) === null || _b === void 0 ? void 0 : _b.dispose();
61
61
  }
62
+ watchApplicationLayoutContext() {
63
+ if (this.applicationLayoutContext) {
64
+ this.showMenu = false;
65
+ }
66
+ }
67
+ watchSuppressResponsive() {
68
+ this.breakpoint = 'md';
69
+ }
62
70
  isLogoSlotted() {
63
71
  const slotElement = this.hostElement.shadowRoot.querySelector('slot[name="logo"]');
64
72
  const nodes = slotElement.assignedNodes({
@@ -76,7 +84,13 @@ export class ApplicationHeader {
76
84
  }
77
85
  }
78
86
  async onMenuClick() {
79
- menuController.toggle();
87
+ if (this.applicationLayoutContext) {
88
+ menuController.toggle();
89
+ }
90
+ else {
91
+ this.menuExpanded = !this.menuExpanded;
92
+ }
93
+ this.menuToggle.emit(this.menuExpanded);
80
94
  }
81
95
  resolveContextMenuButton() {
82
96
  return new Promise((resolve) => readTask(() => resolve(this.hostElement.shadowRoot.querySelector('[data-context-menu]'))));
@@ -103,12 +117,19 @@ export class ApplicationHeader {
103
117
  }
104
118
  render() {
105
119
  var _a;
106
- return (h(Host, { key: '58565e3136e17a2d3cae46a4add8f2ba245b59bc', class: { [`breakpoint-${this.breakpoint}`]: true }, slot: "application-header" }, this.breakpoint === 'sm' && this.suppressResponsive === false && (h("ix-menu-expand-icon", { key: 'da63965f1ced1898c799a48212eb7a4afdf35ffd', onClick: () => this.onMenuClick(), expanded: this.menuExpanded })), ((_a = this.applicationLayoutContext) === null || _a === void 0 ? void 0 : _a.appSwitchConfig) &&
120
+ const hasApplicationContextAvailable = !!this.applicationLayoutContext;
121
+ const showMenuByApplicationFrame = this.breakpoint === 'sm' &&
122
+ this.suppressResponsive === false &&
123
+ hasApplicationContextAvailable;
124
+ const showApplicationSwitch = ((_a = this.applicationLayoutContext) === null || _a === void 0 ? void 0 : _a.appSwitchConfig) &&
107
125
  this.breakpoint !== 'sm' &&
108
- this.suppressResponsive === false && (h("ix-icon-button", { key: 'fce7acda771398cd8f8f79dcb05254354e9524c8', onClick: () => this.showAppSwitch(), icon: "apps", ghost: true, class: "app-switch" })), h("div", { key: '20d47359153147df9636a2170e4987113871e701', class: "logo" }, h("slot", { key: '3889ece809965cd8c5a256e6551b1d4961774977', name: "logo" })), h("div", { key: '4e9c07f44beb7c476d61657bb303764c74ee174e', class: "name" }, this.name), h("div", { key: '099a3a4842da94cd54f789ee29380ab057957550', class: "content" }, this.breakpoint === 'sm' ? (h(Fragment, null, h("ix-icon-button", { class: {
126
+ this.suppressResponsive === false;
127
+ return (h(Host, { key: 'd81892c63d0b963455f7b86741241528dd4e65a5', class: {
128
+ [`breakpoint-${this.breakpoint}`]: true,
129
+ }, slot: "application-header" }, (this.showMenu || showMenuByApplicationFrame) && (h("ix-menu-expand-icon", { key: 'db19b6cc240df8f3299e671d0ee8a56bdf7f6977', onClick: () => this.onMenuClick(), expanded: this.menuExpanded })), showApplicationSwitch && (h("ix-icon-button", { key: '5a31ea7e0007c3ab3b78c96b649f917745bc7435', onClick: () => this.showAppSwitch(), icon: "apps", ghost: true, class: "app-switch" })), h("div", { key: '4b083dd5ce9023d17371364b541ef0f29ec6d76f', class: { logo: true } }, h("slot", { key: '7039706bbb7355302e069e22621b41cd756345d9', name: "logo" })), h("ix-typography", { key: '3f365f3947b52f3788f6d4ec4180c23ec12d2509', format: "body-lg", class: "name" }, this.name), h("div", { key: '20427a902bacbe4db73bbaf43fc8a5477d7a13a2', class: "content" }, this.breakpoint === 'sm' ? (h(Fragment, null, h("ix-icon-button", { class: {
109
130
  ['context-menu']: true,
110
131
  ['context-menu-visible']: this.hasSlottedElements,
111
- }, "data-context-menu": true, icon: "more-menu", ghost: true }), h("ix-dropdown", { "data-overflow-dropdown": true, class: "dropdown", discoverAllSubmenus: true, trigger: this.resolveContextMenuButton() }, h("div", { class: "dropdown-content", onClick: (e) => this.onContentBgClick(e) }, h("slot", { onSlotchange: () => this.updateIsSlottedContent() }))))) : (h("slot", { onSlotchange: () => this.updateIsSlottedContent() })), h("slot", { key: 'ba4c1d46798c9cb325b933905df7bb17a4aedfc6', name: "ix-application-header-avatar" }))));
132
+ }, "data-context-menu": true, icon: "more-menu", ghost: true }), h("ix-dropdown", { "data-overflow-dropdown": true, class: "dropdown", discoverAllSubmenus: true, trigger: this.resolveContextMenuButton() }, h("div", { class: "dropdown-content", onClick: (e) => this.onContentBgClick(e) }, h("slot", { onSlotchange: () => this.updateIsSlottedContent() }))))) : (h("slot", { onSlotchange: () => this.updateIsSlottedContent() })), h("slot", { key: 'baea46e8a2cec2e4fbdb99752bf6697cf314855e', name: "ix-application-header-avatar" }))));
112
133
  }
113
134
  static get is() { return "ix-application-header"; }
114
135
  static get encapsulation() { return "shadow"; }
@@ -133,13 +154,34 @@ export class ApplicationHeader {
133
154
  "references": {}
134
155
  },
135
156
  "required": false,
136
- "optional": false,
157
+ "optional": true,
137
158
  "docs": {
138
159
  "tags": [],
139
160
  "text": "Application name"
140
161
  },
141
162
  "attribute": "name",
142
163
  "reflect": false
164
+ },
165
+ "showMenu": {
166
+ "type": "boolean",
167
+ "mutable": true,
168
+ "complexType": {
169
+ "original": "boolean",
170
+ "resolved": "boolean",
171
+ "references": {}
172
+ },
173
+ "required": false,
174
+ "optional": true,
175
+ "docs": {
176
+ "tags": [{
177
+ "name": "since",
178
+ "text": "2.5.0"
179
+ }],
180
+ "text": "Controls the visibility of the menu toggle button based on the context of the application header.\n\nWhen the application header is utilized outside the application frame, the menu toggle button is displayed.\nConversely, if the header is within the application frame, this property is ineffective."
181
+ },
182
+ "attribute": "show-menu",
183
+ "reflect": false,
184
+ "defaultValue": "false"
143
185
  }
144
186
  };
145
187
  }
@@ -152,6 +194,36 @@ export class ApplicationHeader {
152
194
  "applicationLayoutContext": {}
153
195
  };
154
196
  }
197
+ static get events() {
198
+ return [{
199
+ "method": "menuToggle",
200
+ "name": "menuToggle",
201
+ "bubbles": true,
202
+ "cancelable": true,
203
+ "composed": true,
204
+ "docs": {
205
+ "tags": [{
206
+ "name": "since",
207
+ "text": "2.5.0"
208
+ }],
209
+ "text": "Event emitted when the menu toggle button is clicked"
210
+ },
211
+ "complexType": {
212
+ "original": "boolean",
213
+ "resolved": "boolean",
214
+ "references": {}
215
+ }
216
+ }];
217
+ }
155
218
  static get elementRef() { return "hostElement"; }
219
+ static get watchers() {
220
+ return [{
221
+ "propName": "applicationLayoutContext",
222
+ "methodName": "watchApplicationLayoutContext"
223
+ }, {
224
+ "propName": "suppressResponsive",
225
+ "methodName": "watchSuppressResponsive"
226
+ }];
227
+ }
156
228
  }
157
229
  //# sourceMappingURL=application-header.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"application-header.js","sourceRoot":"","sources":["../../../src/components/application-header/application-header.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACL,SAAS,EACT,OAAO,EACP,QAAQ,EACR,CAAC,EACD,IAAI,EACJ,IAAI,EACJ,QAAQ,EACR,KAAK,GACN,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EACL,wBAAwB,GAEzB,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EAAe,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAGzD;;GAEG;AAMH,MAAM,OAAO,iBAAiB;;;0BAQM,IAAI;4BACd,KAAK;kCACC,KAAK;kCAEL,KAAK;;;IAYnC,IAAI,iBAAiB;QACnB,OAAO,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,aAAa,CAAC,mBAAmB,CAAC,CAAC;IACxE,CAAC;IAED,iBAAiB;QACf,kBAAkB,CAChB,IAAI,CAAC,WAAW,EAChB,wBAAwB,EACxB,CAAC,GAAG,EAAE,EAAE;YACN,IAAI,CAAA,GAAG,aAAH,GAAG,uBAAH,GAAG,CAAE,IAAI,MAAK,gBAAg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AAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC;4BAExC,YACE,YAAY,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,sBAAsB,EAAE,GAC3C,CACJ,CACM,CACL,CACZ,CAAC,CAAC,CAAC,CACF,YAAM,YAAY,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,sBAAsB,EAAE,GAAS,CACjE;gBACD,6DAAM,IAAI,EAAC,8BAA8B,GAAQ,CAC7C,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","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\nimport {\n Component,\n Element,\n Fragment,\n h,\n Host,\n Prop,\n readTask,\n State,\n} from '@stencil/core';\nimport { showAppSwitch } from '../utils/app-switch';\nimport { applicationLayoutService } from '../utils/application-layout';\nimport {\n ApplicationLayoutContext,\n AppSwitchConfiguration,\n} from '../utils/application-layout/context';\nimport { Breakpoint } from '../utils/breakpoints';\nimport { ContextType, useContextConsumer } from '../utils/context';\nimport { menuController } from '../utils/menu-service/menu-service';\nimport { hasSlottedElements } from '../utils/shadow-dom';\nimport { Disposable } from '../utils/typed-event';\n\n/**\n * @slot logo - Location of the logo\n */\n@Component({\n tag: 'ix-application-header',\n styleUrl: 'application-header.scss',\n shadow: true,\n})\nexport class ApplicationHeader {\n @Element() hostElement!: HTMLIxApplicationHeaderElement;\n\n /**\n * Application name\n */\n @Prop() name: string;\n\n @State() breakpoint: Breakpoint = 'lg';\n @State() menuExpanded = false;\n @State() suppressResponsive = false;\n\n @State() hasSlottedElements = false;\n\n private menuDisposable?: Disposable;\n private modeDisposable?: Disposable;\n private callbackUpdateAppSwitchModal?: (\n config: AppSwitchConfiguration\n ) => void;\n\n @State() applicationLayoutContext: ContextType<\n typeof ApplicationLayoutContext\n >;\n\n get contentBackground() {\n return this.hostElement.shadowRoot.querySelector('.dropdown-content');\n }\n\n componentWillLoad() {\n useContextConsumer(\n this.hostElement,\n ApplicationLayoutContext,\n (ctx) => {\n if (ctx?.host === 'map-navigation') {\n this.suppressResponsive = true;\n this.breakpoint = 'md';\n return;\n }\n\n this.breakpoint = applicationLayoutService.breakpoint;\n this.applicationLayoutContext = ctx;\n\n this.tryUpdateAppSwitch();\n },\n true\n );\n\n this.menuDisposable = menuController.expandChange.on((show) => {\n this.menuExpanded = show;\n });\n\n this.modeDisposable = applicationLayoutService.onChange.on((mode) => {\n if (this.suppressResponsive) {\n this.breakpoint = 'md';\n return;\n }\n\n this.breakpoint = mode;\n });\n\n this.updateIsSlottedContent();\n }\n\n componentDidLoad() {\n this.attachSiemensLogoIfLoaded();\n }\n\n disconnectedCallback() {\n this.menuDisposable?.dispose();\n this.modeDisposable?.dispose();\n }\n\n private isLogoSlotted() {\n const slotElement = this.hostElement.shadowRoot.querySelector(\n 'slot[name=\"logo\"]'\n ) as HTMLSlotElement;\n const nodes = slotElement.assignedNodes({\n flatten: true,\n });\n\n return nodes.length !== 0;\n }\n\n private async attachSiemensLogoIfLoaded() {\n await window.customElements.whenDefined('ix-siemens-logo');\n const logoElement = document.createElement('ix-siemens-logo');\n if (!this.isLogoSlotted()) {\n this.hostElement.shadowRoot\n .querySelector('.logo')\n .appendChild(logoElement);\n }\n }\n\n private async onMenuClick() {\n menuController.toggle();\n }\n\n private resolveContextMenuButton() {\n return new Promise<HTMLElement>((resolve) =>\n readTask(() =>\n resolve(\n this.hostElement.shadowRoot.querySelector(\n '[data-context-menu]'\n ) as HTMLElement\n )\n )\n );\n }\n\n private tryUpdateAppSwitch() {\n if (!this.callbackUpdateAppSwitchModal) {\n return;\n }\n\n this.callbackUpdateAppSwitchModal(\n this.applicationLayoutContext?.appSwitchConfig\n );\n }\n\n private async showAppSwitch() {\n this.callbackUpdateAppSwitchModal = await showAppSwitch(\n this.applicationLayoutContext?.appSwitchConfig\n );\n }\n\n private updateIsSlottedContent() {\n const slotElement =\n this.hostElement.shadowRoot.querySelector('.content slot');\n\n this.hasSlottedElements = hasSlottedElements(slotElement);\n }\n\n private onContentBgClick(e: MouseEvent) {\n if (e.target === this.contentBackground) {\n e.preventDefault();\n }\n }\n\n render() {\n return (\n <Host\n class={{ [`breakpoint-${this.breakpoint}`]: true }}\n slot=\"application-header\"\n >\n {this.breakpoint === 'sm' && this.suppressResponsive === false && (\n <ix-menu-expand-icon\n onClick={() => this.onMenuClick()}\n expanded={this.menuExpanded}\n ></ix-menu-expand-icon>\n )}\n {this.applicationLayoutContext?.appSwitchConfig &&\n this.breakpoint !== 'sm' &&\n this.suppressResponsive === false && (\n <ix-icon-button\n onClick={() => this.showAppSwitch()}\n icon=\"apps\"\n ghost\n class=\"app-switch\"\n ></ix-icon-button>\n )}\n <div class=\"logo\">\n <slot name=\"logo\"></slot>\n </div>\n <div class=\"name\">{this.name}</div>\n <div class=\"content\">\n {this.breakpoint === 'sm' ? (\n <Fragment>\n <ix-icon-button\n class={{\n ['context-menu']: true,\n ['context-menu-visible']: this.hasSlottedElements,\n }}\n data-context-menu\n icon=\"more-menu\"\n ghost\n ></ix-icon-button>\n <ix-dropdown\n data-overflow-dropdown\n class=\"dropdown\"\n discoverAllSubmenus\n trigger={this.resolveContextMenuButton()}\n >\n <div\n class=\"dropdown-content\"\n onClick={(e) => this.onContentBgClick(e)}\n >\n <slot\n onSlotchange={() => this.updateIsSlottedContent()}\n ></slot>\n </div>\n </ix-dropdown>\n </Fragment>\n ) : (\n <slot onSlotchange={() => this.updateIsSlottedContent()}></slot>\n )}\n <slot name=\"ix-application-header-avatar\"></slot>\n </div>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"application-header.js","sourceRoot":"","sources":["../../../src/components/application-header/application-header.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACL,SAAS,EACT,OAAO,EACP,K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,CAAC,kBAAkB;yBAClD,6BAED,IAAI,EAAC,WAAW,EAChB,KAAK,SACW;oBAClB,mDAEE,KAAK,EAAC,UAAU,EAChB,mBAAmB,QACnB,OAAO,EAAE,IAAI,CAAC,wBAAwB,EAAE;wBAExC,WACE,KAAK,EAAC,kBAAkB,EACxB,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC;4BAExC,YACE,YAAY,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,sBAAsB,EAAE,GAC3C,CACJ,CACM,CACL,CACZ,CAAC,CAAC,CAAC,CACF,YAAM,YAAY,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,sBAAsB,EAAE,GAAS,CACjE;gBACD,6DAAM,IAAI,EAAC,8BAA8B,GAAQ,CAC7C,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","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\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n Fragment,\n h,\n Host,\n Prop,\n readTask,\n State,\n Watch,\n} from '@stencil/core';\nimport { showAppSwitch } from '../utils/app-switch';\nimport { applicationLayoutService } from '../utils/application-layout';\nimport {\n ApplicationLayoutContext,\n AppSwitchConfiguration,\n} from '../utils/application-layout/context';\nimport { Breakpoint } from '../utils/breakpoints';\nimport { ContextType, useContextConsumer } from '../utils/context';\nimport { menuController } from '../utils/menu-service/menu-service';\nimport { hasSlottedElements } from '../utils/shadow-dom';\nimport { Disposable } from '../utils/typed-event';\n\n/**\n * @slot logo - Location of the logo\n */\n@Component({\n tag: 'ix-application-header',\n styleUrl: 'application-header.scss',\n shadow: true,\n})\nexport class ApplicationHeader {\n @Element() hostElement!: HTMLIxApplicationHeaderElement;\n\n /**\n * Application name\n */\n @Prop() name?: string;\n\n /**\n * Controls the visibility of the menu toggle button based on the context of the application header.\n *\n * When the application header is utilized outside the application frame, the menu toggle button is displayed.\n * Conversely, if the header is within the application frame, this property is ineffective.\n *\n * @since 2.5.0\n */\n @Prop({ mutable: true }) showMenu?: boolean = false;\n\n /**\n * Event emitted when the menu toggle button is clicked\n *\n * @since 2.5.0\n */\n @Event() menuToggle!: EventEmitter<boolean>;\n\n @State() breakpoint: Breakpoint = 'lg';\n @State() menuExpanded = false;\n @State() suppressResponsive = false;\n\n @State() hasSlottedElements = false;\n\n private menuDisposable?: Disposable;\n private modeDisposable?: Disposable;\n private callbackUpdateAppSwitchModal?: (\n config: AppSwitchConfiguration\n ) => void;\n\n @State() applicationLayoutContext: ContextType<\n typeof ApplicationLayoutContext\n >;\n\n get contentBackground() {\n return this.hostElement.shadowRoot.querySelector('.dropdown-content');\n }\n\n componentWillLoad() {\n useContextConsumer(\n this.hostElement,\n ApplicationLayoutContext,\n (ctx) => {\n if (ctx?.host === 'map-navigation') {\n this.suppressResponsive = true;\n this.breakpoint = 'md';\n return;\n }\n\n this.breakpoint = applicationLayoutService.breakpoint;\n this.applicationLayoutContext = ctx;\n\n this.tryUpdateAppSwitch();\n },\n true\n );\n\n this.menuDisposable = menuController.expandChange.on((show) => {\n this.menuExpanded = show;\n });\n\n this.modeDisposable = applicationLayoutService.onChange.on((mode) => {\n if (this.suppressResponsive) {\n return;\n }\n\n this.breakpoint = mode;\n });\n\n this.updateIsSlottedContent();\n }\n\n componentDidLoad() {\n this.attachSiemensLogoIfLoaded();\n }\n\n disconnectedCallback() {\n this.menuDisposable?.dispose();\n this.modeDisposable?.dispose();\n }\n\n @Watch('applicationLayoutContext')\n watchApplicationLayoutContext() {\n if (this.applicationLayoutContext) {\n this.showMenu = false;\n }\n }\n @Watch('suppressResponsive')\n watchSuppressResponsive() {\n this.breakpoint = 'md';\n }\n\n private isLogoSlotted() {\n const slotElement = this.hostElement.shadowRoot.querySelector(\n 'slot[name=\"logo\"]'\n ) as HTMLSlotElement;\n const nodes = slotElement.assignedNodes({\n flatten: true,\n });\n\n return nodes.length !== 0;\n }\n\n private async attachSiemensLogoIfLoaded() {\n await window.customElements.whenDefined('ix-siemens-logo');\n const logoElement = document.createElement('ix-siemens-logo');\n if (!this.isLogoSlotted()) {\n this.hostElement.shadowRoot\n .querySelector('.logo')\n .appendChild(logoElement);\n }\n }\n\n private async onMenuClick() {\n if (this.applicationLayoutContext) {\n menuController.toggle();\n } else {\n this.menuExpanded = !this.menuExpanded;\n }\n\n this.menuToggle.emit(this.menuExpanded);\n }\n\n private resolveContextMenuButton() {\n return new Promise<HTMLElement>((resolve) =>\n readTask(() =>\n resolve(\n this.hostElement.shadowRoot.querySelector(\n '[data-context-menu]'\n ) as HTMLElement\n )\n )\n );\n }\n\n private tryUpdateAppSwitch() {\n if (!this.callbackUpdateAppSwitchModal) {\n return;\n }\n\n this.callbackUpdateAppSwitchModal(\n this.applicationLayoutContext?.appSwitchConfig\n );\n }\n\n private async showAppSwitch() {\n this.callbackUpdateAppSwitchModal = await showAppSwitch(\n this.applicationLayoutContext?.appSwitchConfig\n );\n }\n\n private updateIsSlottedContent() {\n const slotElement =\n this.hostElement.shadowRoot.querySelector('.content slot');\n\n this.hasSlottedElements = hasSlottedElements(slotElement);\n }\n\n private onContentBgClick(e: MouseEvent) {\n if (e.target === this.contentBackground) {\n e.preventDefault();\n }\n }\n\n render() {\n const hasApplicationContextAvailable = !!this.applicationLayoutContext;\n\n const showMenuByApplicationFrame =\n this.breakpoint === 'sm' &&\n this.suppressResponsive === false &&\n hasApplicationContextAvailable;\n\n const showApplicationSwitch =\n this.applicationLayoutContext?.appSwitchConfig &&\n this.breakpoint !== 'sm' &&\n this.suppressResponsive === false;\n\n return (\n <Host\n class={{\n [`breakpoint-${this.breakpoint}`]: true,\n }}\n slot=\"application-header\"\n >\n {(this.showMenu || showMenuByApplicationFrame) && (\n <ix-menu-expand-icon\n onClick={() => this.onMenuClick()}\n expanded={this.menuExpanded}\n ></ix-menu-expand-icon>\n )}\n {showApplicationSwitch && (\n <ix-icon-button\n onClick={() => this.showAppSwitch()}\n icon=\"apps\"\n ghost\n class=\"app-switch\"\n ></ix-icon-button>\n )}\n <div class={{ logo: true }}>\n <slot name=\"logo\"></slot>\n </div>\n <ix-typography format=\"body-lg\" class=\"name\">\n {this.name}\n </ix-typography>\n <div class=\"content\">\n {this.breakpoint === 'sm' ? (\n <Fragment>\n <ix-icon-button\n class={{\n ['context-menu']: true,\n ['context-menu-visible']: this.hasSlottedElements,\n }}\n data-context-menu\n icon=\"more-menu\"\n ghost\n ></ix-icon-button>\n <ix-dropdown\n data-overflow-dropdown\n class=\"dropdown\"\n discoverAllSubmenus\n trigger={this.resolveContextMenuButton()}\n >\n <div\n class=\"dropdown-content\"\n onClick={(e) => this.onContentBgClick(e)}\n >\n <slot\n onSlotchange={() => this.updateIsSlottedContent()}\n ></slot>\n </div>\n </ix-dropdown>\n </Fragment>\n ) : (\n <slot onSlotchange={() => this.updateIsSlottedContent()}></slot>\n )}\n <slot name=\"ix-application-header-avatar\"></slot>\n </div>\n </Host>\n );\n }\n}\n"]}
@@ -43,7 +43,7 @@ export class ApplicationSwitchModal {
43
43
  }
44
44
  render() {
45
45
  var _a, _b, _c, _d;
46
- return (h(Host, { key: '2c9a4d11f697563924effefae0ca86ca826fa9c1' }, h("ix-modal-header", { key: '09586fc6d884b175ea95e8f4f42e9017c2874ef4', icon: "apps" }, ((_a = this.config) === null || _a === void 0 ? void 0 : _a.i18nAppSwitch) || 'Switch to application'), h("ix-modal-content", { key: '44be3f676830e44c4450ac9a85280829d2570004', class: "content" }, h("div", { key: 'd15e8b91de03f40013cfe94cde3159619b8ee8cc', class: "content-apps" }, (!this.config || ((_b = this.config) === null || _b === void 0 ? void 0 : _b.apps.length) === 0) && (h("div", { key: '5d8cc548c1c7adaa83c89ac329d04be5e6f7a59c', class: "loading" }, h("ix-spinner", { key: '80c9c4adb4546028848d2b47929527b613152651', size: "medium", variant: "primary" }), h("span", { key: 'c06fc0f909d940df03402e360e2a3d64bd9decc4' }, ((_c = this.config) === null || _c === void 0 ? void 0 : _c.i18nLoadingApps) ||
46
+ return (h(Host, { key: '13df4ab7564da79469932dcc5bf35eed6970d3c4' }, h("ix-modal-header", { key: '299cbb27124b8f93e24ab45de1a884604a84763b', icon: "apps" }, ((_a = this.config) === null || _a === void 0 ? void 0 : _a.i18nAppSwitch) || 'Switch to application'), h("ix-modal-content", { key: 'd3ef35dc36431cc1bb0dd203518d01f6cf768aa7', class: "content" }, h("div", { key: 'de19382fb99fe6b871451e62413f43e382a42eb8', class: "content-apps" }, (!this.config || ((_b = this.config) === null || _b === void 0 ? void 0 : _b.apps.length) === 0) && (h("div", { key: '66e1e8ba812abb5ce81798607fb3d93715c4a756', class: "loading" }, h("ix-spinner", { key: '54839567ae56eb47457d73cc4b0f2033f659c88b', size: "medium", variant: "primary" }), h("span", { key: '39c47a980c5d230e8365c70c6957d38385eb80d1' }, ((_c = this.config) === null || _c === void 0 ? void 0 : _c.i18nLoadingApps) ||
47
47
  'Loading available applications...'))), (_d = this.config) === null || _d === void 0 ? void 0 :
48
48
  _d.apps.map((appEntry) => {
49
49
  var _a;
@@ -35,7 +35,7 @@ export class ApplicationSidebar {
35
35
  anime(animation);
36
36
  }
37
37
  render() {
38
- return (h(Host, { key: 'fe0f54c79115877bac6d0032320550ad2e3fe089', slot: "application-sidebar", class: {
38
+ return (h(Host, { key: '58452e01549d1141ba862068da508cf9cb57ce39', slot: "application-sidebar", class: {
39
39
  visible: this.visible,
40
40
  } }, this.visible ? h("slot", null) : null));
41
41
  }
@@ -86,12 +86,54 @@
86
86
  * This source code is licensed under the MIT license found in the
87
87
  * LICENSE file in the root directory of this source tree.
88
88
  */
89
+ /*
90
+ * SPDX-FileCopyrightText: 2024 Siemens AG
91
+ *
92
+ * SPDX-License-Identifier: MIT
93
+ *
94
+ * This source code is licensed under the MIT license found in the
95
+ * LICENSE file in the root directory of this source tree.
96
+ */
89
97
  :host {
98
+ /* width */
99
+ /* Track */
100
+ /* Handle */
101
+ /* Handle on hover */
90
102
  display: flex;
91
103
  position: relative;
92
104
  width: -moz-fit-content;
93
105
  width: fit-content;
94
106
  }
107
+ :host ::-webkit-scrollbar-button {
108
+ display: none;
109
+ }
110
+ @-moz-document url-prefix() {
111
+ :host * {
112
+ scrollbar-color: var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);
113
+ scrollbar-width: thin;
114
+ }
115
+ }
116
+ :host ::-webkit-scrollbar {
117
+ width: 0.5rem;
118
+ height: 0.5rem;
119
+ }
120
+ :host ::-webkit-scrollbar-track {
121
+ border-radius: 5px;
122
+ background: var(--theme-scrollbar-track--background);
123
+ }
124
+ :host ::-webkit-scrollbar-track:hover {
125
+ background: var(--theme-scrollbar-track--background--hover);
126
+ }
127
+ :host ::-webkit-scrollbar-thumb {
128
+ border-radius: 5px;
129
+ background: var(--theme-scrollbar-thumb--background);
130
+ }
131
+ :host ::-webkit-scrollbar-thumb:hover {
132
+ background: var(--theme-scrollbar-thumb--background--hover);
133
+ }
134
+ :host ::-webkit-scrollbar-corner {
135
+ display: none;
136
+ }
95
137
  :host .avatar {
96
138
  display: flex;
97
139
  align-items: center;
@@ -72,10 +72,10 @@ export class BasicNavigation {
72
72
  (_a = this.modeDisposable) === null || _a === void 0 ? void 0 : _a.dispose();
73
73
  }
74
74
  render() {
75
- return (h(Host, { key: 'f7c1e352f7b85360afaa4aa7302394fbcefaa33a', "data-role": "", class: {
75
+ return (h(Host, { key: 'b666966827ad02aaf1efeb3c8e80e476279a2416', "data-role": "", class: {
76
76
  'hide-header': this.hideHeader,
77
77
  [`breakpoint-${this.breakpoint}`]: true,
78
- } }, !this.hideHeader ? (h("ix-application-header", { name: this.applicationName }, h("slot", { name: "logo", slot: "logo" }))) : null, h("div", { key: 'bbd969c401308a804a6b8973a038daca551fc8c4', class: "navigation-content" }, h("slot", { key: '3b09f85c77fda585b91786049d590e94c6bc3717', name: "menu" }), h("div", { key: '05b1eb22f097cf421f0ed0c747364c5b33418190', class: "content", onClick: () => this.onContentClick() }, h("slot", { key: 'e46d1d8ddc56270570e28ea814087506202e7217' })))));
78
+ } }, !this.hideHeader ? (h("ix-application-header", { name: this.applicationName }, h("slot", { name: "logo", slot: "logo" }))) : null, h("div", { key: '1d470073c3840334f2776e1651672ce896c38609', class: "navigation-content" }, h("slot", { key: '1288c6fb5d71c87ffa78e9407de01e26bd0da896', name: "menu" }), h("div", { key: 'ceb81e26897c1e229746ad65c8ca33cc0412dadc', class: "content", onClick: () => this.onContentClick() }, h("slot", { key: '67fa579c656f227d7fa555ceafdf20e07cc2bf0c' })))));
79
79
  }
80
80
  static get is() { return "ix-basic-navigation"; }
81
81
  static get encapsulation() { return "shadow"; }
@@ -166,8 +166,11 @@ export class BasicNavigation {
166
166
  "required": false,
167
167
  "optional": false,
168
168
  "docs": {
169
- "tags": [],
170
- "text": "Supported layouts e.g ['sm', 'md']"
169
+ "tags": [{
170
+ "name": "example",
171
+ "text": "['sm', 'md']"
172
+ }],
173
+ "text": "Supported layouts"
171
174
  },
172
175
  "defaultValue": "['sm', 'md', 'lg']"
173
176
  }
@@ -1 +1 @@
1
- {"version":3,"file":"basic-navigation.js","sourceRoot":"","sources":["../../../src/components/basic-navigation/basic-navigation.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAChF,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAE/E,OAAO,EAAmB,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAA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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 { ApplicationLayoutContext } from '../utils/application-layout/context';\nimport { applicationLayoutService } from '../utils/application-layout/service';\nimport { Breakpoint } from '../utils/breakpoints';\nimport { ContextProvider, useContextProvider } from '../utils/context';\nimport { menuController } from '../utils/menu-service/menu-service';\nimport { Disposable } from '../utils/typed-event';\n\n@Component({\n tag: 'ix-basic-navigation',\n styleUrl: 'basic-navigation.scss',\n shadow: true,\n})\nexport class BasicNavigation {\n @Element() hostElement: HTMLIxBasicNavigationElement;\n\n /**\n * Application name\n */\n @Prop() applicationName: string;\n\n /**\n * Hide application header. Will disable responsive feature of basic navigation.\n */\n @Prop() hideHeader = false;\n @Watch('hideHeader')\n onHideHeaderChange() {\n this.contextProvider?.emit({\n hideHeader: this.hideHeader,\n host: 'basic-navigation',\n });\n\n this.breakpoint = applicationLayoutService.breakpoint;\n }\n\n /**\n * Change the responsive layout of the menu structure\n */\n @Prop() forceBreakpoint: Breakpoint | undefined;\n forceLayoutChange(newMode: Breakpoint | undefined) {\n if (!newMode) {\n applicationLayoutService.enableBreakpointDetection();\n return;\n }\n\n applicationLayoutService.disableBreakpointDetection();\n applicationLayoutService.setBreakpoint(newMode);\n }\n\n /**\n * Supported layouts e.g ['sm', 'md']\n */\n @Prop() breakpoints: Breakpoint[] = ['sm', 'md', 'lg'];\n @Watch('breakpoints')\n onBreakpointsChange(breakpoints: Breakpoint[]) {\n applicationLayoutService.setBreakpoints(breakpoints);\n }\n\n @State() breakpoint: Breakpoint = 'lg';\n\n get menu(): HTMLIxMenuElement | null {\n return this.hostElement.querySelector('ix-menu');\n }\n\n private modeDisposable: Disposable;\n private contextProvider: ContextProvider<typeof ApplicationLayoutContext>;\n\n private onContentClick() {\n if (menuController.isPinned) {\n return;\n }\n this.menu?.toggleMenu(false);\n }\n\n componentWillLoad() {\n applicationLayoutService.setBreakpoints(this.breakpoints);\n\n this.contextProvider = useContextProvider(\n this.hostElement,\n ApplicationLayoutContext,\n {\n hideHeader: this.hideHeader,\n host: 'basic-navigation',\n }\n );\n\n this.modeDisposable = applicationLayoutService.onChange.on((mode) => {\n this.breakpoint = mode;\n });\n this.breakpoint = applicationLayoutService.breakpoint;\n\n if (this.forceBreakpoint) {\n this.forceLayoutChange(this.forceBreakpoint);\n }\n }\n\n componentDidRender() {\n if (this.menu) {\n this.menu.applicationName = this.applicationName;\n }\n }\n\n disconnectedCallback() {\n this.modeDisposable?.dispose();\n }\n\n render() {\n return (\n <Host\n data-role=\"\"\n class={{\n 'hide-header': this.hideHeader,\n [`breakpoint-${this.breakpoint}`]: true,\n }}\n >\n {!this.hideHeader ? (\n <ix-application-header name={this.applicationName}>\n <slot name=\"logo\" slot=\"logo\"></slot>\n </ix-application-header>\n ) : null}\n <div class=\"navigation-content\">\n <slot name=\"menu\"></slot>\n <div class=\"content\" onClick={() => this.onContentClick()}>\n <slot></slot>\n </div>\n </div>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"basic-navigation.js","sourceRoot":"","sources":["../../../src/components/basic-navigation/basic-navigation.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAChF,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAE/E,OAAO,EAAmB,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAQpE,MAAM,OAAO,eAAe;;;0BAWL,KAAK;;2BA6BU,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC;0BAMpB,IAAI;;IA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UAAU,CAAC;QAEtD,IAAI,IAAI,CAAC,eAAe,EAAE,CAAC;YACzB,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAC/C,CAAC;IACH,CAAC;IAED,kBAAkB;QAChB,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;YACd,IAAI,CAAC,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,eAAe,CAAC;QACnD,CAAC;IACH,CAAC;IAED,oBAAoB;;QAClB,MAAA,IAAI,CAAC,cAAc,0CAAE,OAAO,EAAE,CAAC;IACjC,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,kEACO,EAAE,EACZ,KAAK,EAAE;gBACL,aAAa,EAAE,IAAI,CAAC,UAAU;gBAC9B,CAAC,cAAc,IAAI,CAAC,UAAU,EAAE,CAAC,EAAE,IAAI;aACxC;YAEA,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAClB,6BAAuB,IAAI,EAAE,IAAI,CAAC,eAAe;gBAC/C,YAAM,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,MAAM,GAAQ,CACf,CACzB,CAAC,CAAC,CAAC,IAAI;YACR,4DAAK,KAAK,EAAC,oBAAoB;gBAC7B,6DAAM,IAAI,EAAC,MAAM,GAAQ;gBACzB,4DAAK,KAAK,EAAC,SAAS,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,cAAc,EAAE;oBACvD,8DAAa,CACT,CACF,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","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\nimport { Component, Element, h, Host, Prop, State, Watch } from '@stencil/core';\nimport { ApplicationLayoutContext } from '../utils/application-layout/context';\nimport { applicationLayoutService } from '../utils/application-layout/service';\nimport { Breakpoint } from '../utils/breakpoints';\nimport { ContextProvider, useContextProvider } from '../utils/context';\nimport { menuController } from '../utils/menu-service/menu-service';\nimport { Disposable } from '../utils/typed-event';\n\n@Component({\n tag: 'ix-basic-navigation',\n styleUrl: 'basic-navigation.scss',\n shadow: true,\n})\nexport class BasicNavigation {\n @Element() hostElement: HTMLIxBasicNavigationElement;\n\n /**\n * Application name\n */\n @Prop() applicationName: string;\n\n /**\n * Hide application header. Will disable responsive feature of basic navigation.\n */\n @Prop() hideHeader = false;\n @Watch('hideHeader')\n onHideHeaderChange() {\n this.contextProvider?.emit({\n hideHeader: this.hideHeader,\n host: 'basic-navigation',\n });\n\n this.breakpoint = applicationLayoutService.breakpoint;\n }\n\n /**\n * Change the responsive layout of the menu structure\n */\n @Prop() forceBreakpoint: Breakpoint | undefined;\n forceLayoutChange(newMode: Breakpoint | undefined) {\n if (!newMode) {\n applicationLayoutService.enableBreakpointDetection();\n return;\n }\n\n applicationLayoutService.disableBreakpointDetection();\n applicationLayoutService.setBreakpoint(newMode);\n }\n\n /**\n * Supported layouts\n * @example ['sm', 'md']\n */\n @Prop() breakpoints: Breakpoint[] = ['sm', 'md', 'lg'];\n @Watch('breakpoints')\n onBreakpointsChange(breakpoints: Breakpoint[]) {\n applicationLayoutService.setBreakpoints(breakpoints);\n }\n\n @State() breakpoint: Breakpoint = 'lg';\n\n get menu(): HTMLIxMenuElement | null {\n return this.hostElement.querySelector('ix-menu');\n }\n\n private modeDisposable: Disposable;\n private contextProvider: ContextProvider<typeof ApplicationLayoutContext>;\n\n private onContentClick() {\n if (menuController.isPinned) {\n return;\n }\n this.menu?.toggleMenu(false);\n }\n\n componentWillLoad() {\n applicationLayoutService.setBreakpoints(this.breakpoints);\n\n this.contextProvider = useContextProvider(\n this.hostElement,\n ApplicationLayoutContext,\n {\n hideHeader: this.hideHeader,\n host: 'basic-navigation',\n }\n );\n\n this.modeDisposable = applicationLayoutService.onChange.on((mode) => {\n this.breakpoint = mode;\n });\n this.breakpoint = applicationLayoutService.breakpoint;\n\n if (this.forceBreakpoint) {\n this.forceLayoutChange(this.forceBreakpoint);\n }\n }\n\n componentDidRender() {\n if (this.menu) {\n this.menu.applicationName = this.applicationName;\n }\n }\n\n disconnectedCallback() {\n this.modeDisposable?.dispose();\n }\n\n render() {\n return (\n <Host\n data-role=\"\"\n class={{\n 'hide-header': this.hideHeader,\n [`breakpoint-${this.breakpoint}`]: true,\n }}\n >\n {!this.hideHeader ? (\n <ix-application-header name={this.applicationName}>\n <slot name=\"logo\" slot=\"logo\"></slot>\n </ix-application-header>\n ) : null}\n <div class=\"navigation-content\">\n <slot name=\"menu\"></slot>\n <div class=\"content\" onClick={() => this.onContentClick()}>\n <slot></slot>\n </div>\n </div>\n </Host>\n );\n }\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * SPDX-FileCopyrightText: 2023 Siemens AG
2
+ * SPDX-FileCopyrightText: 2024 Siemens AG
3
3
  *
4
4
  * SPDX-License-Identifier: MIT
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * SPDX-FileCopyrightText: 2023 Siemens AG
2
+ * SPDX-FileCopyrightText: 2024 Siemens AG
3
3
  *
4
4
  * SPDX-License-Identifier: MIT
5
5
  *
@@ -178,7 +178,7 @@ export class Blind {
178
178
  "mutable": false,
179
179
  "complexType": {
180
180
  "original": "BlindVariant",
181
- "resolved": "\"alarm\" | \"critical\" | \"info\" | \"insight\" | \"neutral\" | \"notification\" | \"outline\" | \"primary\" | \"success\" | \"warning\"",
181
+ "resolved": "\"alarm\" | \"critical\" | \"filled\" | \"info\" | \"insight\" | \"neutral\" | \"notification\" | \"outline\" | \"primary\" | \"success\" | \"warning\"",
182
182
  "references": {
183
183
  "BlindVariant": {
184
184
  "location": "local",
@@ -1 +1 @@
1
- {"version":3,"file":"blind.js","sourceRoot":"","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E;gBAExD,4DACE,KAAK,EAAE;wBACL,eAAe,EAAE,IAAI;wBACrB,IAAI,EAAE,IAAI,CAAC,SAAS;qBACrB,IAEA,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,eAAa,CAAC,CAAC,CAAC,IAAI,CACnC,CACE,CACL,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","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\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n Fragment,\n h,\n Host,\n Prop,\n Watch,\n} from '@stencil/core';\nimport anime from 'animejs';\nimport { CardVariant } from '../card/card';\nimport { a11yBoolean } from '../utils/a11y';\n\nexport type BlindVariant = CardVariant | 'outline';\n\nlet sequentialInstanceId = 0;\n\n@Component({\n tag: 'ix-blind',\n styleUrl: 'blind.scss',\n shadow: true,\n})\nexport class Blind {\n /**\n * Collapsed state\n */\n @Prop({ mutable: true, reflect: true }) collapsed = false;\n\n /**\n * Label of blind\n */\n @Prop() label: string;\n\n /**\n * Secondary label inside blind header\n * @since 2.0.0\n */\n @Prop() sublabel: string;\n\n /**\n * Optional icon to be displayed next to the header label\n * @since 1.5.0\n */\n @Prop() icon: string;\n\n /**\n * Blind variant\n * @since 2.0.0\n */\n @Prop() variant: BlindVariant = 'insight';\n\n /**\n * Collapsed state changed\n */\n @Event() collapsedChange: EventEmitter<boolean>;\n\n @Element() hostElement!: HTMLIxBlindElement;\n\n private chevronRef: HTMLElement;\n private blindId = ++sequentialInstanceId;\n\n constructor() {}\n\n private onHeaderClick() {\n this.collapsed = !this.collapsed;\n this.collapsedChange.emit(this.collapsed);\n }\n\n componentDidLoad() {\n this.animateCollapse(this.collapsed);\n }\n\n get content() {\n return this.hostElement.shadowRoot.querySelector('.blind-content');\n }\n\n @Watch('collapsed')\n animation(isCollapsed: boolean) {\n this.animateCollapse(isCollapsed);\n }\n\n private animateCollapse(isCollapsed: boolean) {\n if (isCollapsed) {\n this.rotateChevronRight();\n } else {\n this.rotateChevronDown();\n }\n }\n\n private rotateChevronDown() {\n anime({\n targets: this.chevronRef,\n duration: 150,\n easing: 'easeInOutSine',\n rotateZ: 90,\n });\n anime({\n targets: this.content,\n duration: 150,\n easing: 'easeInOutSine',\n opacity: 1,\n });\n }\n\n private rotateChevronRight() {\n anime({\n targets: this.chevronRef,\n duration: 150,\n easing: 'easeInOutSine',\n rotateZ: 0,\n });\n anime({\n targets: this.content,\n duration: 150,\n easing: 'easeInOutSine',\n opacity: 0,\n });\n }\n\n render() {\n return (\n <Host\n class={{\n [`blind-${this.variant}`]: true,\n }}\n >\n <div class={'blind-header-wrapper'}>\n <button\n class={{\n 'blind-header': true,\n [`blind-${this.variant}`]: true,\n closed: this.collapsed,\n }}\n type=\"button\"\n aria-labelledby={`ix-blind-header-title-${this.blindId}`}\n aria-controls={`ix-blind-content-section-${this.blindId}`}\n aria-expanded={a11yBoolean(!this.collapsed)}\n onClick={() => this.onHeaderClick()}\n >\n <slot name=\"custom-header\"></slot>\n </button>\n\n <div class={'blind-header-content'}>\n <ix-icon\n class=\"collapse-icon\"\n name={'chevron-right-small'}\n color={\n this.variant === 'insight' || this.variant === 'outline'\n ? 'color-primary'\n : `color-${this.variant}--contrast`\n }\n ref={(ref) => (this.chevronRef = ref)}\n ></ix-icon>\n <div\n class=\"blind-header-title\"\n id={`ix-blind-header-title-${this.blindId}`}\n >\n {this.label !== undefined ? (\n <Fragment>\n {this.icon && (\n <ix-icon\n class=\"blind-header-title-icon\"\n name={this.icon}\n color={\n this.variant === 'insight' || this.variant === 'outline'\n ? 'color-std-text'\n : `color-${this.variant}--contrast`\n }\n ></ix-icon>\n )}\n <div class={'blind-header-title-row'}>\n <div class=\"blind-header-title-col\">\n <ix-typography title={this.label} format=\"label-lg\" bold>\n <div\n class=\"blind-header-title-label\"\n title={this.label}\n >\n {this.label}\n </div>\n </ix-typography>\n </div>\n\n {this.sublabel && (\n <div class=\"blind-header-title-col\">\n <ix-typography title={this.sublabel}>\n <div class=\"blind-header-title-sublabel\">\n {this.sublabel}\n </div>\n </ix-typography>\n </div>\n )}\n </div>\n <div class=\"header-actions\">\n <slot name=\"header-actions\"></slot>\n </div>\n </Fragment>\n ) : null}\n </div>\n </div>\n </div>\n <section\n id={`ix-blind-content-section-${this.blindId}`}\n aria-labelledby={`ix-blind-header-title-${this.blindId}`}\n >\n <div\n class={{\n 'blind-content': true,\n hide: this.collapsed,\n }}\n >\n {!this.collapsed ? <slot></slot> : null}\n </div>\n </section>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"blind.js","sourceRoot":"","sources":["../../../src/components/blind/blind.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACL,SAAS,EACT,OAAO,EACP,KAAK,EAEL,QAAQ,EACR,CAAC,EACD,IAAI,EACJ,IAAI,EACJ,KAAK,GACN,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,IAAI,oBAAoB,GAAG,CAAC,CAAC;AAO7B,MAAM,OAAO,KAAK;IAuChB;QAFQ,YAAO,GAAG,EAAE,oBAAoB,CAAC;yBAjCW,KAAK;;;;uBAuBzB,SAAS;KAYzB;IAER,aAAa;QACnB,IAAI,CAAC,SAAS,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC;QACjC,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IAC5C,CAAC;IAED,gBAAgB;QACd,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,SAAS,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EAAE,IAAI,CAAC,KAAK,EAAE,MAAM,EAAC,UAAU,EAAC,IAAI;oCACtD,WACE,KAAK,EAAC,0BAA0B,EAChC,KAAK,EAAE,IAAI,CAAC,KAAK,IAEhB,IAAI,CAAC,KAAK,CACP,CACQ,CACZ;4BAEL,IAAI,CAAC,QAAQ,IAAI,CAChB,WAAK,KAAK,EAAC,wBAAwB;gCACjC,qBAAe,KAAK,EAAE,IAAI,CAAC,QAAQ;oCACjC,WAAK,KAAK,EAAC,6BAA6B,IACrC,IAAI,CAAC,QAAQ,CACV,CACQ,CACZ,CACP,CACG;wBACN,WAAK,KAAK,EAAC,gBAAgB;4BACzB,YAAM,IAAI,EAAC,gBAAgB,GAAQ,CAC/B,CACG,CACZ,CAAC,CAAC,CAAC,IAAI,CACJ,CACF,CACF;YACN,gEACE,EAAE,EAAE,4BAA4B,IAAI,CAAC,OAAO,EAAE,qBAC7B,yBAAyB,IAAI,CAAC,OAAO,EAAE;gBAExD,4DACE,KAAK,EAAE;wBACL,eAAe,EAAE,IAAI;wBACrB,IAAI,EAAE,IAAI,CAAC,SAAS;qBACrB,IAEA,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,eAAa,CAAC,CAAC,CAAC,IAAI,CACnC,CACE,CACL,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n Fragment,\n h,\n Host,\n Prop,\n Watch,\n} from '@stencil/core';\nimport anime from 'animejs';\nimport { CardVariant } from '../card/card';\nimport { a11yBoolean } from '../utils/a11y';\n\nexport type BlindVariant = CardVariant | 'outline';\n\nlet sequentialInstanceId = 0;\n\n@Component({\n tag: 'ix-blind',\n styleUrl: 'blind.scss',\n shadow: true,\n})\nexport class Blind {\n /**\n * Collapsed state\n */\n @Prop({ mutable: true, reflect: true }) collapsed = false;\n\n /**\n * Label of blind\n */\n @Prop() label: string;\n\n /**\n * Secondary label inside blind header\n * @since 2.0.0\n */\n @Prop() sublabel: string;\n\n /**\n * Optional icon to be displayed next to the header label\n * @since 1.5.0\n */\n @Prop() icon: string;\n\n /**\n * Blind variant\n * @since 2.0.0\n */\n @Prop() variant: BlindVariant = 'insight';\n\n /**\n * Collapsed state changed\n */\n @Event() collapsedChange: EventEmitter<boolean>;\n\n @Element() hostElement!: HTMLIxBlindElement;\n\n private chevronRef: HTMLElement;\n private blindId = ++sequentialInstanceId;\n\n constructor() {}\n\n private onHeaderClick() {\n this.collapsed = !this.collapsed;\n this.collapsedChange.emit(this.collapsed);\n }\n\n componentDidLoad() {\n this.animateCollapse(this.collapsed);\n }\n\n get content() {\n return this.hostElement.shadowRoot.querySelector('.blind-content');\n }\n\n @Watch('collapsed')\n animation(isCollapsed: boolean) {\n this.animateCollapse(isCollapsed);\n }\n\n private animateCollapse(isCollapsed: boolean) {\n if (isCollapsed) {\n this.rotateChevronRight();\n } else {\n this.rotateChevronDown();\n }\n }\n\n private rotateChevronDown() {\n anime({\n targets: this.chevronRef,\n duration: 150,\n easing: 'easeInOutSine',\n rotateZ: 90,\n });\n anime({\n targets: this.content,\n duration: 150,\n easing: 'easeInOutSine',\n opacity: 1,\n });\n }\n\n private rotateChevronRight() {\n anime({\n targets: this.chevronRef,\n duration: 150,\n easing: 'easeInOutSine',\n rotateZ: 0,\n });\n anime({\n targets: this.content,\n duration: 150,\n easing: 'easeInOutSine',\n opacity: 0,\n });\n }\n\n render() {\n return (\n <Host\n class={{\n [`blind-${this.variant}`]: true,\n }}\n >\n <div class={'blind-header-wrapper'}>\n <button\n class={{\n 'blind-header': true,\n [`blind-${this.variant}`]: true,\n closed: this.collapsed,\n }}\n type=\"button\"\n aria-labelledby={`ix-blind-header-title-${this.blindId}`}\n aria-controls={`ix-blind-content-section-${this.blindId}`}\n aria-expanded={a11yBoolean(!this.collapsed)}\n onClick={() => this.onHeaderClick()}\n >\n <slot name=\"custom-header\"></slot>\n </button>\n\n <div class={'blind-header-content'}>\n <ix-icon\n class=\"collapse-icon\"\n name={'chevron-right-small'}\n color={\n this.variant === 'insight' || this.variant === 'outline'\n ? 'color-primary'\n : `color-${this.variant}--contrast`\n }\n ref={(ref) => (this.chevronRef = ref)}\n ></ix-icon>\n <div\n class=\"blind-header-title\"\n id={`ix-blind-header-title-${this.blindId}`}\n >\n {this.label !== undefined ? (\n <Fragment>\n {this.icon && (\n <ix-icon\n class=\"blind-header-title-icon\"\n name={this.icon}\n color={\n this.variant === 'insight' || this.variant === 'outline'\n ? 'color-std-text'\n : `color-${this.variant}--contrast`\n }\n ></ix-icon>\n )}\n <div class={'blind-header-title-row'}>\n <div class=\"blind-header-title-col\">\n <ix-typography title={this.label} format=\"label-lg\" bold>\n <div\n class=\"blind-header-title-label\"\n title={this.label}\n >\n {this.label}\n </div>\n </ix-typography>\n </div>\n\n {this.sublabel && (\n <div class=\"blind-header-title-col\">\n <ix-typography title={this.sublabel}>\n <div class=\"blind-header-title-sublabel\">\n {this.sublabel}\n </div>\n </ix-typography>\n </div>\n )}\n </div>\n <div class=\"header-actions\">\n <slot name=\"header-actions\"></slot>\n </div>\n </Fragment>\n ) : null}\n </div>\n </div>\n </div>\n <section\n id={`ix-blind-content-section-${this.blindId}`}\n aria-labelledby={`ix-blind-header-title-${this.blindId}`}\n >\n <div\n class={{\n 'blind-content': true,\n hide: this.collapsed,\n }}\n >\n {!this.collapsed ? <slot></slot> : null}\n </div>\n </section>\n </Host>\n );\n }\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * SPDX-FileCopyrightText: 2023 Siemens AG
2
+ * SPDX-FileCopyrightText: 2024 Siemens AG
3
3
  *
4
4
  * SPDX-License-Identifier: MIT
5
5
  *
@@ -1 +1 @@
1
- {"version":3,"file":"blind.ct.js","sourceRoot":"","sources":["../../../../src/components/blind/test/blind.ct.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAEnC,IAAI,CAAC,SAAS,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE;IACxC,MAAM,KAAK,CAAC,yDAAyD,CAAC,CAAC;IACvE,MAAM,YAAY,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IAC9C,MAAM,MAAM,CAAC,YAAY,CAAC,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;AACrD,CAAC,CAAC,CAAC","sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport { expect } from '@playwright/test';\nimport { test } from '@utils/test';\n\ntest('renders', async ({ mount, page }) => {\n await mount(`<ix-blind label=\"Example label\">Some content</ix-blind>`);\n const blindElement = page.locator('ix-blind');\n await expect(blindElement).toHaveClass(/hydrated/);\n});\n"]}
1
+ {"version":3,"file":"blind.ct.js","sourceRoot":"","sources":["../../../../src/components/blind/test/blind.ct.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAEnC,IAAI,CAAC,SAAS,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE;IACxC,MAAM,KAAK,CAAC,yDAAyD,CAAC,CAAC;IACvE,MAAM,YAAY,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IAC9C,MAAM,MAAM,CAAC,YAAY,CAAC,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;AACrD,CAAC,CAAC,CAAC","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 */\nimport { expect } from '@playwright/test';\nimport { test } from '@utils/test';\n\ntest('renders', async ({ mount, page }) => {\n await mount(`<ix-blind label=\"Example label\">Some content</ix-blind>`);\n const blindElement = page.locator('ix-blind');\n await expect(blindElement).toHaveClass(/hydrated/);\n});\n"]}
@@ -69,7 +69,7 @@ export class Breadcrumb {
69
69
  render() {
70
70
  var _a, _b, _c, _d;
71
71
  const a11y = a11yHostAttributes(this.hostElement);
72
- return (h(Host, { key: '6fd820850cf0fce9b8f4e6d16587ad3458062c48' }, h("ix-dropdown", { key: '46a3b21d0be6c27f8cc5050b5cb420ce1d55c046', id: this.previousDropdownId, "aria-label": this.ariaLabelPreviousButton, trigger: ((_a = this.items) === null || _a === void 0 ? void 0 : _a.length) > this.visibleItemCount
72
+ return (h(Host, { key: '01b7b3c2b8e5b4eccea75ea1ffb85d91516888ab' }, h("ix-dropdown", { key: 'acd5584e3cfcb2b698a36e65a9f706f955f525e7', id: this.previousDropdownId, "aria-label": this.ariaLabelPreviousButton, trigger: ((_a = this.items) === null || _a === void 0 ? void 0 : _a.length) > this.visibleItemCount
73
73
  ? this.previousButtonRef
74
74
  : null, onShowChanged: ({ detail }) => {
75
75
  this.isPreviousDropdownExpanded = detail;
@@ -86,7 +86,7 @@ export class Breadcrumb {
86
86
  return (h("ix-dropdown-item", { label: label, onClick: () => {
87
87
  this.onItemClick(label);
88
88
  }, onItemClick: (event) => event.stopPropagation() }));
89
- })), ((_b = this.items) === null || _b === void 0 ? void 0 : _b.length) > this.visibleItemCount ? (h("ix-breadcrumb-item", { id: this.previousButtonId, ref: (ref) => (this.previousButtonRef = ref), label: "...", tabIndex: 1, onItemClick: (event) => event.stopPropagation(), "aria-describedby": this.previousDropdownId, "aria-controls": this.previousDropdownId, "aria-expanded": a11yBoolean(this.isPreviousDropdownExpanded), class: 'previous-button' })) : null, h("nav", { key: 'd4ea11b5d3417f434ef2485075cb08c66fe7169e', class: "crumb-items", "aria-label": (_c = a11y['aria-label']) !== null && _c !== void 0 ? _c : 'breadcrumbs' }, h("ol", { key: '97fa52f7ddf3fc18ad7a90b8f28cf561d238146f' }, h("slot", { key: '33b1ce72c69620d9bd7b702c7bf5540c081c687d' }))), h("ix-dropdown", { key: 'e635c5495fdfd8e21f6e233d3ca6b5c444e099dc', trigger: this.nextButtonRef }, (_d = this.nextItems) === null || _d === void 0 ? void 0 : _d.map((item) => (h("ix-dropdown-item", { label: item, onClick: (e) => {
89
+ })), ((_b = this.items) === null || _b === void 0 ? void 0 : _b.length) > this.visibleItemCount ? (h("ix-breadcrumb-item", { id: this.previousButtonId, ref: (ref) => (this.previousButtonRef = ref), label: "...", tabIndex: 1, onItemClick: (event) => event.stopPropagation(), "aria-describedby": this.previousDropdownId, "aria-controls": this.previousDropdownId, "aria-expanded": a11yBoolean(this.isPreviousDropdownExpanded), class: 'previous-button' })) : null, h("nav", { key: '5528a34e56c4dbcf8130652b517ca717c3158294', class: "crumb-items", "aria-label": (_c = a11y['aria-label']) !== null && _c !== void 0 ? _c : 'breadcrumbs' }, h("ol", { key: '5e74629e99a27aad5140a0bf519db8513adfc5ff' }, h("slot", { key: '4cf1e9f67ca27bd9f8f6e06e6e6a946048306f78' }))), h("ix-dropdown", { key: 'f16070f4edffdef90c32e8f426e492d8b856f5ef', trigger: this.nextButtonRef }, (_d = this.nextItems) === null || _d === void 0 ? void 0 : _d.map((item) => (h("ix-dropdown-item", { label: item, onClick: (e) => {
90
90
  this.nextClick.emit({
91
91
  event: e,
92
92
  item,
@@ -1,5 +1,5 @@
1
1
  /*
2
- * SPDX-FileCopyrightText: 2023 Siemens AG
2
+ * SPDX-FileCopyrightText: 2024 Siemens AG
3
3
  *
4
4
  * SPDX-License-Identifier: MIT
5
5
  *
@@ -89,12 +89,12 @@
89
89
  width: 100%;
90
90
  }
91
91
 
92
- :host(.card-insight) {
92
+ :host(.card-insight), :host(.card-outline) {
93
93
  --ix-card-background: transparent;
94
94
  --ix-card-border-color: var(--theme-color-soft-bdr);
95
95
  }
96
96
 
97
- :host(.card-notification) {
97
+ :host(.card-notification), :host(.card-filled) {
98
98
  --ix-card-background: var(--theme-color-component-1);
99
99
  }
100
100
 
@@ -8,10 +8,10 @@ export class Card {
8
8
  this.selected = undefined;
9
9
  }
10
10
  render() {
11
- return (h(Host, { key: 'f91df8c114ec01e95ae0eba29c8acf3cacbdec25', class: {
11
+ return (h(Host, { key: '4d096be9c3db2847204633f22624296d892e2fb9', class: {
12
12
  selected: this.selected,
13
13
  [`card-${this.variant}`]: true,
14
- } }, h("div", { key: '24c775b7ae7b2940df9e101b702b91a17a0f6749', class: "card-content" }, h("slot", { key: '57bfc8eb49985aae6aff8ea277475b2012ac8ba2' })), h("div", { key: '8eac7eefd8020827e0ebf38be231de2c7b934797', class: "card-footer" }, h("slot", { key: '207dc0b0ce6279ecb9dfda76e3d03a145a5ff168', name: "card-accordion" }))));
14
+ } }, h("div", { key: 'e80707eb333158ac4f90fa0feaaede7309fa3567', class: "card-content" }, h("slot", { key: '50b6d4885936ff438c4fcab7c7b1b9d5e54137f3' })), h("div", { key: 'c964e703c4c7783fd30a889838583d8e0426994b', class: "card-footer" }, h("slot", { key: 'df4b7c7e9f8fbdea42c2e9b657dc6e4488ea4562', name: "card-accordion" }))));
15
15
  }
16
16
  static get is() { return "ix-card"; }
17
17
  static get encapsulation() { return "shadow"; }
@@ -32,7 +32,7 @@ export class Card {
32
32
  "mutable": false,
33
33
  "complexType": {
34
34
  "original": "CardVariant",
35
- "resolved": "\"alarm\" | \"critical\" | \"info\" | \"insight\" | \"neutral\" | \"notification\" | \"primary\" | \"success\" | \"warning\"",
35
+ "resolved": "\"alarm\" | \"critical\" | \"filled\" | \"info\" | \"insight\" | \"neutral\" | \"notification\" | \"outline\" | \"primary\" | \"success\" | \"warning\"",
36
36
  "references": {
37
37
  "CardVariant": {
38
38
  "location": "local",
@@ -44,7 +44,10 @@ export class Card {
44
44
  "required": false,
45
45
  "optional": false,
46
46
  "docs": {
47
- "tags": [],
47
+ "tags": [{
48
+ "name": "deprecated",
49
+ "text": "variant insight and notification will be removed in 3.0. Use 'outline' or 'filled' instead."
50
+ }],
48
51
  "text": "Card variant"
49
52
  },
50
53
  "attribute": "variant",