@siemens/ix 1.3.0 → 1.4.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (536) hide show
  1. package/dist/cjs/alignment-51e20690.js +13 -0
  2. package/dist/cjs/{animation-dfe01edc.js → animation-d5cc0bec.js} +1 -1
  3. package/dist/cjs/{base-button-6ef79cb6.js → base-button-497db257.js} +1 -1
  4. package/dist/cjs/context-a0900b95.js +75 -0
  5. package/dist/cjs/{default-tree-item-4597cd84.js → default-tree-item-89cd1f3f.js} +1 -1
  6. package/dist/cjs/{flip-tile-state-c95639e5.js → flip-tile-state-b5ff5ea0.js} +1 -1
  7. package/dist/cjs/{alignment-24ae2e63.js → floating-ui.dom.esm-9a5d67b2.js} +393 -402
  8. package/dist/cjs/{index-17eb8998.js → index-f4b8e6ee.js} +74 -1
  9. package/dist/cjs/index.cjs.js +13 -13
  10. package/dist/cjs/ix-animated-tab_2.cjs.entry.js +3 -3
  11. package/dist/cjs/ix-application-header.cjs.entry.js +26 -3
  12. package/dist/cjs/ix-basic-navigation.cjs.entry.js +17 -3
  13. package/dist/cjs/ix-blind.cjs.entry.js +2 -2
  14. package/dist/cjs/ix-breadcrumb_2.cjs.entry.js +2 -2
  15. package/dist/cjs/ix-burger-menu.cjs.entry.js +22 -0
  16. package/dist/cjs/ix-button.cjs.entry.js +4 -4
  17. package/dist/cjs/ix-category-filter.cjs.entry.js +86 -117
  18. package/dist/cjs/ix-chip.cjs.entry.js +1 -1
  19. package/dist/cjs/ix-counter-pill.cjs.entry.js +1 -1
  20. package/dist/cjs/ix-date-picker_2.cjs.entry.js +4 -4
  21. package/dist/cjs/ix-date-time-card.cjs.entry.js +1 -1
  22. package/dist/cjs/ix-datetime-picker.cjs.entry.js +1 -1
  23. package/dist/cjs/ix-divider.cjs.entry.js +19 -0
  24. package/dist/cjs/ix-drawer.cjs.entry.js +1 -1
  25. package/dist/cjs/ix-dropdown-button.cjs.entry.js +6 -4
  26. package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +19 -0
  27. package/dist/cjs/ix-dropdown_2.cjs.entry.js +78 -17
  28. package/dist/cjs/ix-event-list_2.cjs.entry.js +4 -4
  29. package/dist/cjs/ix-expanding-search.cjs.entry.js +1 -1
  30. package/dist/cjs/ix-filter-chip.cjs.entry.js +1 -1
  31. package/dist/cjs/ix-flip-tile_2.cjs.entry.js +2 -2
  32. package/dist/cjs/ix-group-context-menu.cjs.entry.js +1 -4
  33. package/dist/cjs/ix-group_3.cjs.entry.js +1 -1
  34. package/dist/cjs/ix-icon-button.cjs.entry.js +2 -2
  35. package/dist/cjs/ix-icon.cjs.entry.js +1 -1
  36. package/dist/cjs/ix-input-group.cjs.entry.js +1 -1
  37. package/dist/cjs/ix-kpi.cjs.entry.js +1 -1
  38. package/dist/cjs/ix-map-navigation_2.cjs.entry.js +2 -2
  39. package/dist/cjs/ix-menu_9.cjs.entry.js +50 -19
  40. package/dist/cjs/ix-message-bar.cjs.entry.js +1 -1
  41. package/dist/cjs/ix-modal-example.cjs.entry.js +2 -2
  42. package/dist/cjs/ix-modal_2.cjs.entry.js +4 -4
  43. package/dist/cjs/ix-pill.cjs.entry.js +1 -1
  44. package/dist/cjs/ix-select_2.cjs.entry.js +1 -1
  45. package/dist/cjs/ix-spinner.cjs.entry.js +1 -1
  46. package/dist/cjs/ix-split-button_2.cjs.entry.js +7 -5
  47. package/dist/cjs/ix-tab-item.cjs.entry.js +2 -2
  48. package/dist/cjs/ix-tabs.cjs.entry.js +12 -5
  49. package/dist/cjs/ix-tile.cjs.entry.js +1 -1
  50. package/dist/cjs/ix-toast_2.cjs.entry.js +10 -6
  51. package/dist/cjs/ix-toggle.cjs.entry.js +2 -2
  52. package/dist/cjs/ix-tooltip.cjs.entry.js +127 -0
  53. package/dist/cjs/ix-tree_2.cjs.entry.js +3 -4
  54. package/dist/cjs/ix-typography.cjs.entry.js +38 -0
  55. package/dist/cjs/ix-upload.cjs.entry.js +2 -2
  56. package/dist/cjs/ix-validation-tooltip.cjs.entry.js +10 -9
  57. package/dist/cjs/ix-workflow-step_2.cjs.entry.js +1 -1
  58. package/dist/cjs/loader.cjs.js +2 -2
  59. package/dist/cjs/{logical-filter-operator-467e2faf.js → logical-filter-operator-0faf70b8.js} +2 -2
  60. package/dist/cjs/{modal-dda2f6be.js → modal-a93045dd.js} +4 -4
  61. package/dist/cjs/{modal-utils-9ee0acda.js → modal-utils-b645989b.js} +1 -1
  62. package/dist/cjs/{mutation-observer-29bedada.js → mutation-observer-eaaa5399.js} +1 -1
  63. package/dist/cjs/my-component.cjs.entry.js +2 -2
  64. package/dist/cjs/{rwd.util-2326824e.js → rwd.util-9480f0b5.js} +1 -1
  65. package/dist/cjs/service-18dc5907.js +73 -0
  66. package/dist/cjs/siemens-ix.cjs.js +2 -2
  67. package/dist/cjs/{theme-switcher-f91c8d8d.js → theme-switcher-67669a35.js} +1 -1
  68. package/dist/cjs/{typed-event-5030cc6a.js → typed-event-f0f051da.js} +1 -1
  69. package/dist/cjs/{upload-file-state-923b2c65.js → upload-file-state-a79acf2b.js} +1 -1
  70. package/dist/collection/collection-manifest.json +5 -0
  71. package/dist/collection/components/animated-tab/animated-tab.css +1 -1
  72. package/dist/collection/components/animated-tab/animated-tab.js +1 -1
  73. package/dist/collection/components/animated-tabs/animated-tabs.css +4 -4
  74. package/dist/collection/components/animated-tabs/animated-tabs.js +1 -1
  75. package/dist/collection/components/application-header/application-header.css +11 -2
  76. package/dist/collection/components/application-header/application-header.js +31 -2
  77. package/dist/collection/components/basic-navigation/basic-navigation.css +6 -1
  78. package/dist/collection/components/basic-navigation/basic-navigation.js +21 -3
  79. package/dist/collection/components/blind/blind.css +5 -6
  80. package/dist/collection/components/blind/blind.js +1 -1
  81. package/dist/collection/components/breadcrumb/breadcrumb.css +4 -4
  82. package/dist/collection/components/breadcrumb/breadcrumb.js +1 -1
  83. package/dist/collection/components/breadcrumb-item/breadcrumb-item.css +1 -1
  84. package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +1 -1
  85. package/dist/collection/components/button/base-button.js +1 -1
  86. package/dist/collection/components/{utils → button}/button-variants.js +0 -0
  87. package/dist/collection/components/button/button.css +7 -2
  88. package/dist/collection/components/button/button.js +3 -3
  89. package/dist/collection/components/category-filter/category-filter.css +37 -50
  90. package/dist/collection/components/category-filter/category-filter.js +86 -132
  91. package/dist/collection/components/category-filter/filter-state.js +1 -1
  92. package/dist/collection/components/category-filter/input-state.js +1 -1
  93. package/dist/collection/components/category-filter/logical-filter-operator.js +1 -1
  94. package/dist/collection/components/chip/chip.css +4 -4
  95. package/dist/collection/components/chip/chip.js +1 -1
  96. package/dist/collection/components/counter-pill/counter-pill.css +7 -7
  97. package/dist/collection/components/counter-pill/counter-pill.js +1 -1
  98. package/dist/collection/components/date-picker/date-picker.css +2 -2
  99. package/dist/collection/components/date-picker/date-picker.js +4 -4
  100. package/dist/collection/components/date-time-card/date-time-card.css +2 -2
  101. package/dist/collection/components/date-time-card/date-time-card.js +1 -1
  102. package/dist/collection/components/datetime-picker/datetime-picker.css +2 -2
  103. package/dist/collection/components/datetime-picker/datetime-picker.js +1 -1
  104. package/dist/collection/components/divider/divider.css +16 -0
  105. package/dist/collection/components/divider/divider.js +29 -0
  106. package/dist/collection/components/drawer/drawer.css +3 -3
  107. package/dist/collection/components/drawer/drawer.js +1 -1
  108. package/dist/collection/components/dropdown/dropdown-trigger-event.js +1 -0
  109. package/dist/collection/components/dropdown/dropdown.css +6 -6
  110. package/dist/collection/components/dropdown/dropdown.js +96 -10
  111. package/dist/collection/components/dropdown-button/dropdown-button.css +15 -7
  112. package/dist/collection/components/dropdown-button/dropdown-button.js +6 -4
  113. package/dist/collection/components/dropdown-item/dropdown-item.css +13 -4
  114. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  115. package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.css +36 -0
  116. package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js +29 -0
  117. package/dist/collection/components/event-list/event-list.css +1 -1
  118. package/dist/collection/components/event-list/event-list.js +1 -1
  119. package/dist/collection/components/event-list-item/event-list-item.css +8 -4
  120. package/dist/collection/components/event-list-item/event-list-item.js +1 -1
  121. package/dist/collection/components/expanding-search/expanding-search.css +4 -4
  122. package/dist/collection/components/expanding-search/expanding-search.js +1 -1
  123. package/dist/collection/components/filter-chip/filter-chip.css +4 -4
  124. package/dist/collection/components/filter-chip/filter-chip.js +1 -1
  125. package/dist/collection/components/flip-tile/flip-tile-state.js +1 -1
  126. package/dist/collection/components/flip-tile/flip-tile.css +4 -4
  127. package/dist/collection/components/flip-tile/flip-tile.js +1 -1
  128. package/dist/collection/components/flip-tile-content/flip-tile-content.css +1 -1
  129. package/dist/collection/components/flip-tile-content/flip-tile-content.js +1 -1
  130. package/dist/collection/components/group/group-context-menu.css +1 -1
  131. package/dist/collection/components/group/group-context-menu.js +1 -4
  132. package/dist/collection/components/group/group.css +5 -5
  133. package/dist/collection/components/group/group.js +1 -1
  134. package/dist/collection/components/group-dropdown-item/group-dropdown-item.css +1 -1
  135. package/dist/collection/components/group-dropdown-item/group-dropdown-item.js +1 -1
  136. package/dist/collection/components/group-item/group-item.css +5 -5
  137. package/dist/collection/components/group-item/group-item.js +1 -1
  138. package/dist/collection/components/icon/icon.css +2 -2
  139. package/dist/collection/components/icon/icon.js +1 -1
  140. package/dist/collection/components/icon-button/icon-button.css +1 -1
  141. package/dist/collection/components/icon-button/icon-button.js +1 -1
  142. package/dist/collection/components/input-group/input-group.css +1 -1
  143. package/dist/collection/components/input-group/input-group.js +1 -1
  144. package/dist/collection/components/kpi/kpi.css +5 -5
  145. package/dist/collection/components/kpi/kpi.js +1 -1
  146. package/dist/collection/components/map-navigation/map-navigation.css +6 -5
  147. package/dist/collection/components/map-navigation/map-navigation.js +1 -1
  148. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.css +5 -5
  149. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +1 -1
  150. package/dist/collection/components/menu/burger-menu.css +85 -0
  151. package/dist/collection/components/menu/burger-menu.js +64 -0
  152. package/dist/collection/components/menu/menu.css +20 -37
  153. package/dist/collection/components/menu/menu.js +27 -11
  154. package/dist/collection/components/menu-about/menu-about.css +4 -4
  155. package/dist/collection/components/menu-about/menu-about.js +1 -1
  156. package/dist/collection/components/menu-about-item/menu-about-item.css +1 -1
  157. package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
  158. package/dist/collection/components/menu-about-news/menu-about-news.css +13 -17
  159. package/dist/collection/components/menu-about-news/menu-about-news.js +2 -2
  160. package/dist/collection/components/menu-avatar/menu-avatar.css +17 -5
  161. package/dist/collection/components/menu-avatar/menu-avatar.js +52 -3
  162. package/dist/collection/components/menu-avatar-item/menu-avatar-item.css +1 -1
  163. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
  164. package/dist/collection/components/menu-item/menu-item.css +27 -27
  165. package/dist/collection/components/menu-item/menu-item.js +2 -1
  166. package/dist/collection/components/menu-settings/menu-settings.css +4 -4
  167. package/dist/collection/components/menu-settings/menu-settings.js +1 -1
  168. package/dist/collection/components/menu-settings-item/menu-settings-item.css +1 -1
  169. package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
  170. package/dist/collection/components/message-bar/message-bar.css +3 -3
  171. package/dist/collection/components/message-bar/message-bar.js +1 -1
  172. package/dist/collection/components/modal/modal-utils.js +1 -1
  173. package/dist/collection/components/modal/modal.css +2 -2
  174. package/dist/collection/components/modal/modal.js +1 -1
  175. package/dist/collection/components/modal-container/modal-container.css +1 -1
  176. package/dist/collection/components/modal-container/modal-container.js +1 -1
  177. package/dist/collection/components/my-component/example-modal.js +1 -1
  178. package/dist/collection/components/my-component/my-component.css +3 -3
  179. package/dist/collection/components/my-component/my-component.js +1 -1
  180. package/dist/collection/components/pill/pill.css +4 -4
  181. package/dist/collection/components/pill/pill.js +1 -1
  182. package/dist/collection/components/select/select.css +5 -5
  183. package/dist/collection/components/select/select.js +1 -1
  184. package/dist/collection/components/select-item/select-item.css +1 -1
  185. package/dist/collection/components/select-item/select-item.js +1 -1
  186. package/dist/collection/components/spinner/spinner.css +1 -1
  187. package/dist/collection/components/spinner/spinner.js +1 -1
  188. package/dist/collection/components/split-button/split-button.css +20 -2
  189. package/dist/collection/components/split-button/split-button.js +6 -4
  190. package/dist/collection/components/split-button-item/split-button-item.css +1 -1
  191. package/dist/collection/components/split-button-item/split-button-item.js +1 -1
  192. package/dist/collection/components/tab-item/tab-item.css +5 -7
  193. package/dist/collection/components/tab-item/tab-item.js +1 -1
  194. package/dist/collection/components/tabs/tabs.css +4 -3
  195. package/dist/collection/components/tabs/tabs.js +13 -4
  196. package/dist/collection/components/tile/tile.css +3 -3
  197. package/dist/collection/components/tile/tile.js +1 -1
  198. package/dist/collection/components/time-picker/time-picker.css +2 -2
  199. package/dist/collection/components/time-picker/time-picker.js +1 -1
  200. package/dist/collection/components/toast/toast-container.js +1 -1
  201. package/dist/collection/components/toast/toast-utils.js +1 -1
  202. package/dist/collection/components/toast/toast.css +4 -4
  203. package/dist/collection/components/toast/toast.js +9 -5
  204. package/dist/collection/components/toggle/toggle.css +5 -4
  205. package/dist/collection/components/toggle/toggle.js +1 -1
  206. package/dist/collection/components/tooltip/tooltip.css +43 -0
  207. package/dist/collection/components/tooltip/tooltip.js +203 -0
  208. package/dist/collection/components/tree/tree.css +1 -1
  209. package/dist/collection/components/tree/tree.js +1 -1
  210. package/dist/collection/components/tree-item/default-tree-item.js +1 -1
  211. package/dist/collection/components/tree-item/tree-item.css +5 -5
  212. package/dist/collection/components/tree-item/tree-item.js +2 -3
  213. package/dist/collection/components/typography/types.js +14 -0
  214. package/dist/collection/components/typography/typography.css +146 -0
  215. package/dist/collection/components/typography/typography.js +63 -0
  216. package/dist/collection/components/upload/upload-file-state.js +1 -1
  217. package/dist/collection/components/upload/upload.css +3 -3
  218. package/dist/collection/components/upload/upload.js +1 -1
  219. package/dist/collection/components/utils/animation.js +1 -1
  220. package/dist/collection/components/utils/menu-service/menu-service.js +53 -0
  221. package/dist/collection/components/utils/mutation-observer.js +1 -1
  222. package/dist/collection/components/utils/rwd.util.js +1 -1
  223. package/dist/collection/components/utils/screen/context.js +29 -0
  224. package/{scss/theme/_define-theme-variable.scss → dist/collection/components/utils/screen/index.js} +2 -5
  225. package/dist/collection/components/utils/screen/mode.js +36 -0
  226. package/dist/collection/components/utils/screen/service.js +45 -0
  227. package/dist/collection/components/utils/typed-event.js +1 -1
  228. package/dist/collection/components/validation-tooltip/validation-tooltip.css +4 -4
  229. package/dist/collection/components/validation-tooltip/validation-tooltip.js +1 -1
  230. package/dist/collection/components/workflow-step/workflow-step.css +2 -2
  231. package/dist/collection/components/workflow-step/workflow-step.js +1 -1
  232. package/dist/collection/components/workflow-steps/workflow-steps.css +2 -2
  233. package/dist/collection/components/workflow-steps/workflow-steps.js +1 -1
  234. package/dist/collection/env.js +1 -1
  235. package/dist/collection/exports.js +2 -1
  236. package/dist/collection/index.js +1 -1
  237. package/dist/collection/tests/utils/test/index.js +9 -0
  238. package/dist/collection/tests/utils/test/matchMedia.mock.js +22 -0
  239. package/dist/collection/tests/utils/test/page.js +29 -0
  240. package/dist/collection/utils/test/index.js +1 -1
  241. package/dist/collection/utils/test/matchMedia.mock.js +22 -0
  242. package/dist/collection/utils/test/page.js +2 -2
  243. package/dist/components/alignment.js +1 -1353
  244. package/dist/components/animation.js +1 -1
  245. package/dist/components/application-header.js +33 -4
  246. package/dist/components/base-button.js +1 -1
  247. package/dist/components/burger-menu.js +35 -0
  248. package/dist/components/button.js +2 -2
  249. package/dist/components/date-picker.js +3 -3
  250. package/dist/components/dropdown-item.js +1 -1
  251. package/dist/components/dropdown.js +71 -9
  252. package/dist/components/floating-ui.dom.esm.js +1355 -0
  253. package/dist/components/group-context-menu.js +0 -3
  254. package/dist/components/index.d.ts +5 -0
  255. package/dist/components/index.js +7 -2
  256. package/dist/components/ix-basic-navigation.js +25 -5
  257. package/dist/components/ix-blind.js +1 -1
  258. package/dist/components/ix-burger-menu.d.ts +11 -0
  259. package/dist/components/ix-burger-menu.js +6 -0
  260. package/dist/components/ix-category-filter.js +96 -125
  261. package/dist/components/ix-divider.d.ts +11 -0
  262. package/dist/components/ix-divider.js +33 -0
  263. package/dist/components/ix-dropdown-button.js +5 -3
  264. package/dist/components/ix-dropdown-quick-actions.d.ts +11 -0
  265. package/dist/components/ix-dropdown-quick-actions.js +33 -0
  266. package/dist/components/ix-event-list-item.js +1 -1
  267. package/dist/components/ix-flip-tile.js +1 -1
  268. package/dist/components/ix-map-navigation.js +9 -3
  269. package/dist/components/ix-menu-about-news.js +2 -2
  270. package/dist/components/ix-menu-avatar.js +21 -2
  271. package/dist/components/ix-menu.js +31 -11
  272. package/dist/components/ix-modal-example.js +1 -1
  273. package/dist/components/ix-split-button.js +5 -3
  274. package/dist/components/ix-toggle.js +1 -1
  275. package/dist/components/ix-tooltip.d.ts +11 -0
  276. package/dist/components/ix-tooltip.js +152 -0
  277. package/dist/components/ix-tree.js +1 -1
  278. package/dist/components/ix-typography.d.ts +11 -0
  279. package/dist/components/ix-typography.js +6 -0
  280. package/dist/components/ix-upload.js +1 -1
  281. package/dist/components/ix-validation-tooltip.js +2 -1
  282. package/dist/components/menu-item.js +2 -2
  283. package/dist/components/modal-container.js +1 -1
  284. package/dist/components/mutation-observer.js +1 -1
  285. package/dist/components/my-component.js +1 -1
  286. package/dist/components/rwd.util.js +1 -1
  287. package/dist/components/service.js +139 -0
  288. package/dist/components/tab-item.js +1 -1
  289. package/dist/components/tabs.js +13 -4
  290. package/dist/components/toast.js +8 -4
  291. package/dist/components/tree-item.js +1 -2
  292. package/dist/components/typed-event.js +1 -1
  293. package/dist/components/typography.js +51 -0
  294. package/dist/esm/alignment-6490c552.js +11 -0
  295. package/dist/esm/{animation-b667a4c4.js → animation-268dce50.js} +1 -1
  296. package/dist/esm/{base-button-0b6635df.js → base-button-5bfeb71c.js} +1 -1
  297. package/dist/esm/context-f6a2b727.js +71 -0
  298. package/dist/esm/{default-tree-item-638c435a.js → default-tree-item-91ff2c08.js} +1 -1
  299. package/dist/esm/{flip-tile-state-28a1f8ce.js → flip-tile-state-051bb2fd.js} +1 -1
  300. package/dist/esm/{alignment-f63c1b89.js → floating-ui.dom.esm-e13c649f.js} +394 -402
  301. package/dist/esm/{index-6f4f3582.js → index-6b660a23.js} +74 -1
  302. package/dist/esm/index.js +13 -13
  303. package/dist/esm/ix-animated-tab_2.entry.js +3 -3
  304. package/dist/esm/ix-application-header.entry.js +26 -3
  305. package/dist/esm/ix-basic-navigation.entry.js +17 -3
  306. package/dist/esm/ix-blind.entry.js +2 -2
  307. package/dist/esm/ix-breadcrumb_2.entry.js +2 -2
  308. package/dist/esm/ix-burger-menu.entry.js +18 -0
  309. package/dist/esm/ix-button.entry.js +4 -4
  310. package/dist/esm/ix-category-filter.entry.js +86 -117
  311. package/dist/esm/ix-chip.entry.js +1 -1
  312. package/dist/esm/ix-counter-pill.entry.js +1 -1
  313. package/dist/esm/ix-date-picker_2.entry.js +4 -4
  314. package/dist/esm/ix-date-time-card.entry.js +1 -1
  315. package/dist/esm/ix-datetime-picker.entry.js +1 -1
  316. package/dist/esm/ix-divider.entry.js +15 -0
  317. package/dist/esm/ix-drawer.entry.js +1 -1
  318. package/dist/esm/ix-dropdown-button.entry.js +6 -4
  319. package/dist/esm/ix-dropdown-quick-actions.entry.js +15 -0
  320. package/dist/esm/ix-dropdown_2.entry.js +72 -11
  321. package/dist/esm/ix-event-list_2.entry.js +4 -4
  322. package/dist/esm/ix-expanding-search.entry.js +1 -1
  323. package/dist/esm/ix-filter-chip.entry.js +1 -1
  324. package/dist/esm/ix-flip-tile_2.entry.js +2 -2
  325. package/dist/esm/ix-group-context-menu.entry.js +1 -4
  326. package/dist/esm/ix-group_3.entry.js +1 -1
  327. package/dist/esm/ix-icon-button.entry.js +2 -2
  328. package/dist/esm/ix-icon.entry.js +1 -1
  329. package/dist/esm/ix-input-group.entry.js +1 -1
  330. package/dist/esm/ix-kpi.entry.js +1 -1
  331. package/dist/esm/ix-map-navigation_2.entry.js +2 -2
  332. package/dist/esm/ix-menu_9.entry.js +50 -19
  333. package/dist/esm/ix-message-bar.entry.js +1 -1
  334. package/dist/esm/ix-modal-example.entry.js +2 -2
  335. package/dist/esm/ix-modal_2.entry.js +4 -4
  336. package/dist/esm/ix-pill.entry.js +1 -1
  337. package/dist/esm/ix-select_2.entry.js +1 -1
  338. package/dist/esm/ix-spinner.entry.js +1 -1
  339. package/dist/esm/ix-split-button_2.entry.js +7 -5
  340. package/dist/esm/ix-tab-item.entry.js +2 -2
  341. package/dist/esm/ix-tabs.entry.js +12 -5
  342. package/dist/esm/ix-tile.entry.js +1 -1
  343. package/dist/esm/ix-toast_2.entry.js +10 -6
  344. package/dist/esm/ix-toggle.entry.js +2 -2
  345. package/dist/esm/ix-tooltip.entry.js +123 -0
  346. package/dist/esm/ix-tree_2.entry.js +3 -4
  347. package/dist/esm/ix-typography.entry.js +34 -0
  348. package/dist/esm/ix-upload.entry.js +2 -2
  349. package/dist/esm/ix-validation-tooltip.entry.js +3 -2
  350. package/dist/esm/ix-workflow-step_2.entry.js +1 -1
  351. package/dist/esm/loader.js +2 -2
  352. package/dist/esm/{logical-filter-operator-1bf83315.js → logical-filter-operator-15696001.js} +2 -2
  353. package/dist/esm/{modal-df0a62f2.js → modal-64e18970.js} +4 -4
  354. package/dist/esm/{modal-utils-df50b35a.js → modal-utils-aecbcba5.js} +1 -1
  355. package/dist/esm/{mutation-observer-379959bb.js → mutation-observer-7d01bbea.js} +1 -1
  356. package/dist/esm/my-component.entry.js +2 -2
  357. package/dist/esm/{rwd.util-4a61a4b8.js → rwd.util-cfc2ea72.js} +1 -1
  358. package/dist/esm/service-fc436c5b.js +71 -0
  359. package/dist/esm/siemens-ix.js +2 -2
  360. package/dist/esm/{theme-switcher-9ecc9b69.js → theme-switcher-4b9e5cc2.js} +1 -1
  361. package/dist/esm/{typed-event-ab58c27e.js → typed-event-a230184a.js} +1 -1
  362. package/dist/esm/{upload-file-state-631bb8a2.js → upload-file-state-532a36d3.js} +1 -1
  363. package/dist/siemens-ix/index.esm.js +1 -1
  364. package/dist/siemens-ix/p-06d5ab35.entry.js +1 -0
  365. package/dist/siemens-ix/{p-da2cae32.js → p-076c29d1.js} +0 -0
  366. package/dist/siemens-ix/{p-4b170382.entry.js → p-082bbe13.entry.js} +1 -1
  367. package/dist/siemens-ix/{p-418e2d14.entry.js → p-098e22c3.entry.js} +1 -1
  368. package/dist/siemens-ix/{p-43616759.entry.js → p-0bc4408b.entry.js} +1 -1
  369. package/dist/siemens-ix/p-0bd6554e.entry.js +1 -0
  370. package/dist/siemens-ix/{p-218de283.entry.js → p-0bf4a256.entry.js} +1 -1
  371. package/dist/siemens-ix/{p-7f842cdc.entry.js → p-0d619f3e.entry.js} +1 -1
  372. package/dist/siemens-ix/{p-3663f989.entry.js → p-122cf38d.entry.js} +1 -1
  373. package/dist/siemens-ix/p-1572aab3.js +1 -0
  374. package/dist/siemens-ix/{p-1d30454e.js → p-15bebd8a.js} +0 -0
  375. package/dist/siemens-ix/{p-8a7141a6.entry.js → p-165c6a82.entry.js} +1 -1
  376. package/dist/siemens-ix/{p-e7621b0a.entry.js → p-1d48ce36.entry.js} +1 -1
  377. package/dist/siemens-ix/{p-cc0f6f6b.entry.js → p-20c88582.entry.js} +1 -1
  378. package/dist/siemens-ix/{p-c8cc3bb3.js → p-21aa3602.js} +0 -0
  379. package/dist/siemens-ix/{p-0a12b3df.js → p-2b33ead4.js} +0 -0
  380. package/dist/siemens-ix/{p-d0bb8225.entry.js → p-2e55e255.entry.js} +1 -1
  381. package/dist/siemens-ix/{p-e2925222.entry.js → p-3624a41c.entry.js} +1 -1
  382. package/dist/siemens-ix/{p-bdd294d2.js → p-3b97bb69.js} +0 -0
  383. package/dist/siemens-ix/{p-ea333007.entry.js → p-3cc4df65.entry.js} +1 -1
  384. package/dist/siemens-ix/{p-4fcb5f2b.entry.js → p-404e81d2.entry.js} +1 -1
  385. package/dist/siemens-ix/p-4251a6dd.entry.js +1 -0
  386. package/dist/siemens-ix/p-4b2265fd.entry.js +1 -0
  387. package/dist/siemens-ix/p-529d7530.js +1 -0
  388. package/dist/siemens-ix/{p-eb150313.entry.js → p-560cfce8.entry.js} +1 -1
  389. package/dist/siemens-ix/{p-1c82637e.js → p-56ed024b.js} +0 -0
  390. package/dist/siemens-ix/{p-18d02e6f.entry.js → p-5890faf9.entry.js} +1 -1
  391. package/dist/siemens-ix/{p-b12006c6.js → p-5b39e04e.js} +0 -0
  392. package/dist/siemens-ix/p-5b47360e.entry.js +1 -0
  393. package/dist/siemens-ix/{p-a88618e3.entry.js → p-5ca7b937.entry.js} +1 -1
  394. package/dist/siemens-ix/p-5feec7a4.entry.js +1 -0
  395. package/dist/siemens-ix/p-63776469.entry.js +1 -0
  396. package/dist/siemens-ix/p-66074788.js +2 -0
  397. package/dist/siemens-ix/{p-a5fa7ae5.entry.js → p-6637ae65.entry.js} +1 -1
  398. package/dist/siemens-ix/{p-33283dbf.entry.js → p-67cf5cd4.entry.js} +1 -1
  399. package/dist/siemens-ix/{p-c3e90c06.entry.js → p-6be65050.entry.js} +1 -1
  400. package/dist/siemens-ix/p-6e5543fe.entry.js +1 -0
  401. package/dist/siemens-ix/p-70be8cb8.entry.js +1 -0
  402. package/dist/siemens-ix/p-71c91a11.entry.js +1 -0
  403. package/dist/siemens-ix/{p-b3d00feb.entry.js → p-72cc8632.entry.js} +1 -1
  404. package/dist/siemens-ix/{p-dec6114f.js → p-75abd144.js} +1 -1
  405. package/dist/siemens-ix/p-9269d0e8.entry.js +1 -0
  406. package/dist/siemens-ix/p-94b440bc.entry.js +1 -0
  407. package/dist/siemens-ix/{p-592f1ed3.entry.js → p-9c8c835c.entry.js} +1 -1
  408. package/dist/siemens-ix/{p-8b4e4718.entry.js → p-9eb8347c.entry.js} +1 -1
  409. package/dist/siemens-ix/{p-4944ad0b.js → p-9ee41861.js} +0 -0
  410. package/dist/siemens-ix/p-9fa6a59b.entry.js +1 -0
  411. package/dist/siemens-ix/p-ac1d6617.entry.js +1 -0
  412. package/dist/siemens-ix/{p-6fe3bb9c.entry.js → p-ae35c07f.entry.js} +1 -1
  413. package/dist/siemens-ix/{p-f6e713f3.js → p-affb60fb.js} +1 -1
  414. package/dist/siemens-ix/{p-96e46f99.js → p-b14308ed.js} +0 -0
  415. package/dist/siemens-ix/p-b5599b0b.entry.js +1 -0
  416. package/dist/siemens-ix/{p-eed28e55.entry.js → p-b85458fb.entry.js} +1 -1
  417. package/dist/siemens-ix/{p-fbe40498.js → p-c0454c9a.js} +0 -0
  418. package/dist/siemens-ix/p-c2b50878.entry.js +1 -0
  419. package/dist/siemens-ix/{p-9b5290d4.entry.js → p-c4568016.entry.js} +1 -1
  420. package/dist/siemens-ix/p-cb4269bf.js +1 -0
  421. package/dist/siemens-ix/{p-f7be9635.entry.js → p-d1a16c62.entry.js} +1 -1
  422. package/dist/siemens-ix/p-d7618223.entry.js +1 -0
  423. package/dist/siemens-ix/p-e48e659d.entry.js +1 -0
  424. package/dist/siemens-ix/p-e4bda8e7.entry.js +1 -0
  425. package/dist/siemens-ix/p-e5fd4b34.entry.js +1 -0
  426. package/dist/siemens-ix/{p-72f851ae.entry.js → p-f3cde62f.entry.js} +1 -1
  427. package/dist/siemens-ix/p-f7b5b66f.js +1 -0
  428. package/dist/siemens-ix/{p-150d7a02.entry.js → p-fa262af7.entry.js} +1 -1
  429. package/dist/siemens-ix/p-feefa8c7.entry.js +1 -0
  430. package/dist/siemens-ix/siemens-ix.css +2080 -1824
  431. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  432. package/dist/types/components/application-header/application-header.d.ts +8 -0
  433. package/dist/types/components/basic-navigation/basic-navigation.d.ts +6 -1
  434. package/dist/types/components/{utils → button}/button-variants.d.ts +0 -0
  435. package/dist/types/components/button/button.d.ts +1 -1
  436. package/dist/types/components/category-filter/category-filter.d.ts +10 -15
  437. package/dist/types/components/divider/divider.d.ts +6 -0
  438. package/dist/types/components/dropdown/dropdown-trigger-event.d.ts +4 -0
  439. package/dist/types/components/dropdown/dropdown.d.ts +11 -1
  440. package/dist/types/components/dropdown-button/dropdown-button.d.ts +1 -1
  441. package/dist/types/components/dropdown-quick-actions/dropdown-quick-actions.d.ts +6 -0
  442. package/dist/types/components/group/group-context-menu.d.ts +0 -2
  443. package/dist/types/components/menu/burger-menu.d.ts +10 -0
  444. package/dist/types/components/menu/menu.d.ts +3 -1
  445. package/dist/types/components/menu-avatar/menu-avatar.d.ts +12 -0
  446. package/dist/types/components/split-button/split-button.d.ts +1 -1
  447. package/dist/types/components/tabs/tabs.d.ts +3 -0
  448. package/dist/types/components/tooltip/tooltip.d.ts +39 -0
  449. package/dist/types/components/typography/types.d.ts +2 -0
  450. package/dist/types/components/typography/typography.d.ts +11 -0
  451. package/dist/types/components/utils/menu-service/menu-service.d.ts +13 -0
  452. package/dist/types/components/utils/screen/context.d.ts +4 -0
  453. package/dist/types/components/utils/screen/index.d.ts +1 -0
  454. package/dist/types/components/utils/screen/mode.d.ts +10 -0
  455. package/dist/types/components/utils/screen/service.d.ts +10 -0
  456. package/dist/types/components.d.ts +144 -7
  457. package/dist/types/exports.d.ts +1 -0
  458. package/dist/types/index.d.ts +2 -1
  459. package/dist/types/tests/utils/test/index.d.ts +1 -0
  460. package/dist/types/tests/utils/test/page.d.ts +3 -0
  461. package/package.json +2 -2
  462. package/scss/_common-variables.scss +1 -1
  463. package/scss/_fonts.scss +1 -1
  464. package/scss/_z-index.scss +1 -1
  465. package/scss/components/_button-group.scss +1 -1
  466. package/scss/components/_buttons.scss +2 -2
  467. package/scss/components/_checkboxes.scss +7 -7
  468. package/scss/components/_dropdown.scss +1 -1
  469. package/scss/components/_forms.scss +13 -11
  470. package/scss/components/_input-group.scss +1 -1
  471. package/scss/components/_links.scss +1 -1
  472. package/scss/components/_modal.scss +1 -1
  473. package/scss/components/_radiobuttons.scss +3 -3
  474. package/scss/components/_shadows.scss +13 -25
  475. package/scss/components/_table.scss +1 -1
  476. package/scss/ix.scss +2 -3
  477. package/scss/mixins/_animations.scss +1 -1
  478. package/scss/mixins/_fonts.scss +1 -1
  479. package/scss/mixins/_hover.scss +1 -1
  480. package/scss/mixins/_shadows.scss +1 -1
  481. package/scss/mixins/_text-truncation.scss +1 -1
  482. package/scss/theme/classic-dark/_border.scss +35 -0
  483. package/scss/theme/classic-dark/_borderRadius.scss +24 -0
  484. package/scss/theme/classic-dark/_borderWidth.scss +18 -0
  485. package/scss/theme/classic-dark/_boxShadow.scss +19 -0
  486. package/scss/theme/classic-dark/_color.scss +860 -0
  487. package/scss/theme/classic-dark/_fontFamilies.scss +8 -0
  488. package/scss/theme/classic-dark/_fontSizes.scss +13 -0
  489. package/scss/theme/classic-dark/_fontWeights.scss +9 -0
  490. package/scss/theme/classic-dark/_index.scss +16 -0
  491. package/scss/theme/classic-dark/_lineHeights.scss +18 -0
  492. package/scss/theme/classic-dark/_other.scss +16 -0
  493. package/scss/theme/classic-dark/_sizing.scss +16 -0
  494. package/scss/theme/classic-dark/_spacing.scss +9 -0
  495. package/scss/theme/classic-dark/_typography.scss +23 -0
  496. package/scss/theme/classic-light/_border.scss +35 -0
  497. package/scss/theme/classic-light/_borderRadius.scss +24 -0
  498. package/scss/theme/classic-light/_borderWidth.scss +18 -0
  499. package/scss/theme/classic-light/_boxShadow.scss +19 -0
  500. package/scss/theme/classic-light/_color.scss +860 -0
  501. package/scss/theme/classic-light/_fontFamilies.scss +8 -0
  502. package/scss/theme/classic-light/_fontSizes.scss +13 -0
  503. package/scss/theme/classic-light/_fontWeights.scss +9 -0
  504. package/scss/theme/classic-light/_index.scss +16 -0
  505. package/scss/theme/classic-light/_lineHeights.scss +18 -0
  506. package/scss/theme/classic-light/_other.scss +16 -0
  507. package/scss/theme/classic-light/_sizing.scss +16 -0
  508. package/scss/theme/classic-light/_spacing.scss +9 -0
  509. package/scss/theme/classic-light/_typography.scss +23 -0
  510. package/dist/siemens-ix/p-03d38416.entry.js +0 -1
  511. package/dist/siemens-ix/p-05c16b94.js +0 -2
  512. package/dist/siemens-ix/p-0e357d27.entry.js +0 -1
  513. package/dist/siemens-ix/p-23d79e3d.entry.js +0 -1
  514. package/dist/siemens-ix/p-2bc72119.entry.js +0 -1
  515. package/dist/siemens-ix/p-2bd88760.entry.js +0 -1
  516. package/dist/siemens-ix/p-2c5abec1.js +0 -1
  517. package/dist/siemens-ix/p-2e24ae23.entry.js +0 -1
  518. package/dist/siemens-ix/p-5631ae88.entry.js +0 -1
  519. package/dist/siemens-ix/p-5bbe9943.entry.js +0 -1
  520. package/dist/siemens-ix/p-65e61684.entry.js +0 -1
  521. package/dist/siemens-ix/p-67eb9d59.entry.js +0 -1
  522. package/dist/siemens-ix/p-a6f4cfc6.entry.js +0 -1
  523. package/dist/siemens-ix/p-ab7949ff.entry.js +0 -1
  524. package/dist/siemens-ix/p-b242bd39.entry.js +0 -1
  525. package/dist/siemens-ix/p-c993560f.entry.js +0 -1
  526. package/dist/siemens-ix/p-d20119c1.entry.js +0 -1
  527. package/dist/siemens-ix/p-fecf0ade.entry.js +0 -1
  528. package/scss/theme/_define-theme-colors.scss +0 -22
  529. package/scss/theme/_define-theme.scss +0 -36
  530. package/scss/theme/_static-colors.scss +0 -19
  531. package/scss/theme/classic-dark/_sizes.scss +0 -66
  532. package/scss/theme/classic-dark/_variables.scss +0 -827
  533. package/scss/theme/classic-dark/index.scss +0 -15
  534. package/scss/theme/classic-light/_sizes.scss +0 -66
  535. package/scss/theme/classic-light/_variables.scss +0 -829
  536. package/scss/theme/classic-light/index.scss +0 -15
@@ -23,9 +23,6 @@ const GroupContextMenu = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
23
23
  componentWillRender() {
24
24
  this.showContextMenu = !!this.dropdownElement;
25
25
  }
26
- disconnectedCallback() {
27
- this.observer.disconnect();
28
- }
29
26
  render() {
30
27
  return (h(Host, null, h("ix-icon-button", { class: { hide: !this.showContextMenu }, ref: (ref) => this.dropdownElement ? this.configureDropdown(ref) : null, size: "24", ghost: true, icon: "context-menu" }), h("slot", null)));
31
28
  }
@@ -6,6 +6,7 @@ export { BasicNavigation as IxBasicNavigation } from '../types/components/basic-
6
6
  export { Blind as IxBlind } from '../types/components/blind/blind';
7
7
  export { Breadcrumb as IxBreadcrumb } from '../types/components/breadcrumb/breadcrumb';
8
8
  export { BreadcrumbItem as IxBreadcrumbItem } from '../types/components/breadcrumb-item/breadcrumb-item';
9
+ export { BurgerMenu as IxBurgerMenu } from '../types/components/menu/burger-menu';
9
10
  export { Button as IxButton } from '../types/components/button/button';
10
11
  export { CategoryFilter as IxCategoryFilter } from '../types/components/category-filter/category-filter';
11
12
  export { Chip as IxChip } from '../types/components/chip/chip';
@@ -13,10 +14,12 @@ export { CounterPill as IxCounterPill } from '../types/components/counter-pill/c
13
14
  export { DatePicker as IxDatePicker } from '../types/components/date-picker/date-picker';
14
15
  export { DateTimeCard as IxDateTimeCard } from '../types/components/date-time-card/date-time-card';
15
16
  export { DatePicker as IxDatetimePicker } from '../types/components/datetime-picker/datetime-picker';
17
+ export { Divider as IxDivider } from '../types/components/divider/divider';
16
18
  export { Drawer as IxDrawer } from '../types/components/drawer/drawer';
17
19
  export { Dropdown as IxDropdown } from '../types/components/dropdown/dropdown';
18
20
  export { DropdownButton as IxDropdownButton } from '../types/components/dropdown-button/dropdown-button';
19
21
  export { DropdownItem as IxDropdownItem } from '../types/components/dropdown-item/dropdown-item';
22
+ export { DropdownQuickActions as IxDropdownQuickActions } from '../types/components/dropdown-quick-actions/dropdown-quick-actions';
20
23
  export { EventList as IxEventList } from '../types/components/event-list/event-list';
21
24
  export { EventListItem as IxEventListItem } from '../types/components/event-list-item/event-list-item';
22
25
  export { ExpandingSearch as IxExpandingSearch } from '../types/components/expanding-search/expanding-search';
@@ -59,8 +62,10 @@ export { TimePicker as IxTimePicker } from '../types/components/time-picker/time
59
62
  export { Toast as IxToast } from '../types/components/toast/toast';
60
63
  export { ToastContainer as IxToastContainer } from '../types/components/toast/toast-container';
61
64
  export { CuiToggle as IxToggle } from '../types/components/toggle/toggle';
65
+ export { Tooltip as IxTooltip } from '../types/components/tooltip/tooltip';
62
66
  export { Tree as IxTree } from '../types/components/tree/tree';
63
67
  export { TreeItem as IxTreeItem } from '../types/components/tree-item/tree-item';
68
+ export { IxTypography as IxTypography } from '../types/components/typography/typography';
64
69
  export { Upload as IxUpload } from '../types/components/upload/upload';
65
70
  export { ValidationTooltip as IxValidationTooltip } from '../types/components/validation-tooltip/validation-tooltip';
66
71
  export { WorkflowStep as IxWorkflowStep } from '../types/components/workflow-step/workflow-step';
@@ -15,16 +15,19 @@ export { IxBasicNavigation, defineCustomElement as defineCustomElementIxBasicNav
15
15
  export { IxBlind, defineCustomElement as defineCustomElementIxBlind } from './ix-blind.js';
16
16
  export { IxBreadcrumb, defineCustomElement as defineCustomElementIxBreadcrumb } from './ix-breadcrumb.js';
17
17
  export { IxBreadcrumbItem, defineCustomElement as defineCustomElementIxBreadcrumbItem } from './ix-breadcrumb-item.js';
18
+ export { IxBurgerMenu, defineCustomElement as defineCustomElementIxBurgerMenu } from './ix-burger-menu.js';
18
19
  export { IxButton, defineCustomElement as defineCustomElementIxButton } from './ix-button.js';
19
20
  export { IxChip, defineCustomElement as defineCustomElementIxChip } from './ix-chip.js';
20
21
  export { IxCounterPill, defineCustomElement as defineCustomElementIxCounterPill } from './ix-counter-pill.js';
21
22
  export { IxDatePicker, defineCustomElement as defineCustomElementIxDatePicker } from './ix-date-picker.js';
22
23
  export { IxDateTimeCard, defineCustomElement as defineCustomElementIxDateTimeCard } from './ix-date-time-card.js';
23
24
  export { IxDatetimePicker, defineCustomElement as defineCustomElementIxDatetimePicker } from './ix-datetime-picker.js';
25
+ export { IxDivider, defineCustomElement as defineCustomElementIxDivider } from './ix-divider.js';
24
26
  export { IxDrawer, defineCustomElement as defineCustomElementIxDrawer } from './ix-drawer.js';
25
27
  export { IxDropdown, defineCustomElement as defineCustomElementIxDropdown } from './ix-dropdown.js';
26
28
  export { IxDropdownButton, defineCustomElement as defineCustomElementIxDropdownButton } from './ix-dropdown-button.js';
27
29
  export { IxDropdownItem, defineCustomElement as defineCustomElementIxDropdownItem } from './ix-dropdown-item.js';
30
+ export { IxDropdownQuickActions, defineCustomElement as defineCustomElementIxDropdownQuickActions } from './ix-dropdown-quick-actions.js';
28
31
  export { IxEventList, defineCustomElement as defineCustomElementIxEventList } from './ix-event-list.js';
29
32
  export { IxEventListItem, defineCustomElement as defineCustomElementIxEventListItem } from './ix-event-list-item.js';
30
33
  export { IxExpandingSearch, defineCustomElement as defineCustomElementIxExpandingSearch } from './ix-expanding-search.js';
@@ -64,14 +67,16 @@ export { IxTimePicker, defineCustomElement as defineCustomElementIxTimePicker }
64
67
  export { IxToast, defineCustomElement as defineCustomElementIxToast } from './ix-toast.js';
65
68
  export { IxToastContainer, defineCustomElement as defineCustomElementIxToastContainer } from './ix-toast-container.js';
66
69
  export { IxToggle, defineCustomElement as defineCustomElementIxToggle } from './ix-toggle.js';
70
+ export { IxTooltip, defineCustomElement as defineCustomElementIxTooltip } from './ix-tooltip.js';
67
71
  export { IxTreeItem, defineCustomElement as defineCustomElementIxTreeItem } from './ix-tree-item.js';
72
+ export { IxTypography, defineCustomElement as defineCustomElementIxTypography } from './ix-typography.js';
68
73
  export { IxValidationTooltip, defineCustomElement as defineCustomElementIxValidationTooltip } from './ix-validation-tooltip.js';
69
74
  export { IxWorkflowStep, defineCustomElement as defineCustomElementIxWorkflowStep } from './ix-workflow-step.js';
70
75
  export { IxWorkflowSteps, defineCustomElement as defineCustomElementIxWorkflowSteps } from './ix-workflow-steps.js';
71
76
  export { MyComponent, defineCustomElement as defineCustomElementMyComponent } from './my-component.js';
72
77
 
73
78
  /*
74
- * SPDX-FileCopyrightText: 2022 Siemens AG
79
+ * SPDX-FileCopyrightText: 2023 Siemens AG
75
80
  *
76
81
  * SPDX-License-Identifier: MIT
77
82
  *
@@ -82,7 +87,7 @@ class FilterState {
82
87
  }
83
88
 
84
89
  /*
85
- * SPDX-FileCopyrightText: 2022 Siemens AG
90
+ * SPDX-FileCopyrightText: 2023 Siemens AG
86
91
  *
87
92
  * SPDX-License-Identifier: MIT
88
93
  *
@@ -1,7 +1,9 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
- import { d as defineCustomElement$2 } from './application-header.js';
2
+ import { s as screenMode } from './service.js';
3
+ import { d as defineCustomElement$3 } from './application-header.js';
4
+ import { d as defineCustomElement$2 } from './burger-menu.js';
3
5
 
4
- const basicNavigationCss = ".sc-ix-basic-navigation-h{display:flex;position:relative;width:100%;height:100%;flex-direction:column}.sc-ix-basic-navigation-h ix-application-header.sc-ix-basic-navigation{z-index:calc(var(--theme-z-index-sticky) + 1)}.sc-ix-basic-navigation-h .content.sc-ix-basic-navigation{display:flex;height:calc(100% - 2.75rem);width:calc(100% - 4rem);position:relative;margin-left:4rem;overflow:auto}.hide-header.sc-ix-basic-navigation-h .content.sc-ix-basic-navigation{height:100%}";
6
+ const basicNavigationCss = ".sc-ix-basic-navigation-h{display:flex;position:relative;width:100%;height:100%;flex-direction:column}.sc-ix-basic-navigation-h ix-application-header.sc-ix-basic-navigation{z-index:calc(var(--theme-z-index-sticky) + 1)}.sc-ix-basic-navigation-h .content.sc-ix-basic-navigation{display:flex;height:calc(100% - 2.75rem);width:calc(100% - 4rem);position:relative;margin-left:4rem;overflow:auto}.hide-header.sc-ix-basic-navigation-h .content.sc-ix-basic-navigation{height:100%}.mode-mobile.sc-ix-basic-navigation-h .content.sc-ix-basic-navigation{margin-left:0px;width:100%}";
5
7
 
6
8
  const BasicNavigation = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
7
9
  constructor() {
@@ -9,10 +11,17 @@ const BasicNavigation = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
9
11
  this.__registerHost();
10
12
  this.applicationName = undefined;
11
13
  this.hideHeader = false;
14
+ this.mode = 'desktop';
12
15
  }
13
16
  get menu() {
14
17
  return this.hostElement.querySelector('ix-menu');
15
18
  }
19
+ componentWillLoad() {
20
+ if (this.hideHeader === false) {
21
+ this.modeDisposable = screenMode.onChange.on((mode) => (this.mode = mode));
22
+ this.mode = screenMode.mode;
23
+ }
24
+ }
16
25
  componentDidRender() {
17
26
  if (this.menu) {
18
27
  this.appendMenu();
@@ -20,6 +29,10 @@ const BasicNavigation = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
20
29
  this.menu.applicationName = this.applicationName;
21
30
  }
22
31
  }
32
+ disconnectedCallback() {
33
+ var _a;
34
+ (_a = this.modeDisposable) === null || _a === void 0 ? void 0 : _a.dispose();
35
+ }
23
36
  appendMenu() {
24
37
  this.hostElement.querySelector('#menu-placeholder').appendChild(this.menu);
25
38
  }
@@ -29,21 +42,23 @@ const BasicNavigation = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
29
42
  }
30
43
  }
31
44
  render() {
32
- return (h(Host, { class: {
45
+ return (h(Host, { "data-role": "", class: {
33
46
  'hide-header': this.hideHeader,
47
+ [`mode-${this.mode}`]: true,
34
48
  } }, !this.hideHeader ? (h("ix-application-header", { name: this.applicationName }, h("slot", { name: "logo" }))) : null, h("div", { id: "menu-placeholder" }), h("div", { class: "content", onClick: () => this.menu.toggleMenu(false) }, h("slot", null))));
35
49
  }
36
50
  get hostElement() { return this; }
37
51
  static get style() { return basicNavigationCss; }
38
52
  }, [6, "ix-basic-navigation", {
39
53
  "applicationName": [1, "application-name"],
40
- "hideHeader": [4, "hide-header"]
54
+ "hideHeader": [4, "hide-header"],
55
+ "mode": [32]
41
56
  }]);
42
57
  function defineCustomElement$1() {
43
58
  if (typeof customElements === "undefined") {
44
59
  return;
45
60
  }
46
- const components = ["ix-basic-navigation", "ix-application-header"];
61
+ const components = ["ix-basic-navigation", "ix-application-header", "ix-burger-menu"];
47
62
  components.forEach(tagName => { switch (tagName) {
48
63
  case "ix-basic-navigation":
49
64
  if (!customElements.get(tagName)) {
@@ -51,6 +66,11 @@ function defineCustomElement$1() {
51
66
  }
52
67
  break;
53
68
  case "ix-application-header":
69
+ if (!customElements.get(tagName)) {
70
+ defineCustomElement$3();
71
+ }
72
+ break;
73
+ case "ix-burger-menu":
54
74
  if (!customElements.get(tagName)) {
55
75
  defineCustomElement$2();
56
76
  }
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
2
  import { a as anime } from './anime.es.js';
3
3
 
4
- const blindCss = ".sc-ix-blind-h{display:flex;flex-direction:column;background-color:var(--theme-blind-base--background);border:solid var(--theme-blind--border-thickness) var(--theme-blind-base--border-color);border-radius:var(--theme-blind--border-radius);overflow:hidden}.sc-ix-blind-h .blind-header.sc-ix-blind{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;min-height:3rem;height:3rem;border:solid var(--theme-blind--border-thickness) transparent;border-radius:var(--theme-blind--border-radius) var(--theme-blind--border-radius) 0 0;padding-right:1rem;transition:border-radius 150ms;cursor:pointer;z-index:1;color:var(--theme-blind-header-closed--color);background-color:var(--theme-blind-header-closed--background)}.sc-ix-blind-h .blind-header.sc-ix-blind .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-closed--color);padding:0.25rem 0.5rem}.sc-ix-blind-h .blind-header.sc-ix-blind .blind-header-title.sc-ix-blind{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sc-ix-blind-h .blind-header.sc-ix-blind .blind-header-title.sc-ix-blind .blind-header-title-default.sc-ix-blind{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):hover{background-color:var(--theme-blind-header-open--background--hover)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):hover .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-open--color--hover)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):active{background-color:var(--theme-blind-header-open--background--active)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):active .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-open--color--active)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):focus-visible{border-color:var(--theme-focus--border-color)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind{border-radius:var(--theme-blind--border-radius)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled):hover{background-color:var(--theme-blind-header-open--background--hover)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled):hover .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-closed--color--hover)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled):active{background-color:var(--theme-blind-header-open--background--active)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled):active .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-closed--color--active)}.sc-ix-blind-h .blind-custom-header.sc-ix-blind{display:flex;align-items:center}.sc-ix-blind-h .blind-content.sc-ix-blind{display:block;padding:1rem;max-height:1;transition-property:padding;transition-duration:150ms;transition-timing-function:ease-in}.sc-ix-blind-h .blind-content.hide.sc-ix-blind{max-height:0;padding-top:0px;padding-bottom:0px}";
4
+ const blindCss = ".sc-ix-blind-h{display:flex;flex-direction:column;background-color:var(--theme-blind-base--background);border:solid var(--theme-blind--border-thickness) var(--theme-blind-base--border-color);border-radius:var(--theme-blind--border-radius);overflow:hidden}.sc-ix-blind-h .blind-header.sc-ix-blind{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;min-height:3rem;height:3rem;border:solid var(--theme-blind--border-thickness) transparent;border-radius:var(--theme-blind--border-radius) var(--theme-blind--border-radius) 0 0;padding-right:1rem;transition:border-radius 150ms;cursor:pointer;z-index:1;color:var(--theme-blind-header-closed--color);background-color:var(--theme-blind-header-closed--background)}.sc-ix-blind-h .blind-header.sc-ix-blind .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-closed--color);padding:0.25rem 0.5rem}.sc-ix-blind-h .blind-header.sc-ix-blind .blind-header-title.sc-ix-blind{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sc-ix-blind-h .blind-header.sc-ix-blind .blind-header-title.sc-ix-blind .blind-header-title-default.sc-ix-blind{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):hover{background-color:var(--theme-blind-header-open--background--hover)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):hover .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-open--color--hover)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):active{background-color:var(--theme-blind-header-open--background--active)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):active .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-open--color--active)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):focus-visible{border-color:var(--theme-focus--border-color)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind{border-radius:var(--theme-blind--border-radius)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled):hover{background-color:var(--theme-blind-header-open--background--hover)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled):hover .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-closed--color--hover)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled):active{background-color:var(--theme-blind-header-open--background--active)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled):active .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-closed--color--active)}.sc-ix-blind-h .blind-custom-header.sc-ix-blind{display:flex;align-items:center}.sc-ix-blind-h .blind-content.sc-ix-blind{display:block;padding:1rem;transition-property:padding;transition-duration:150ms;transition-timing-function:ease-in}.sc-ix-blind-h .blind-content.hide.sc-ix-blind{max-height:0;padding-top:0px;padding-bottom:0px}";
5
5
 
6
6
  const Blind = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
7
7
  constructor() { super(); this.__registerHost(); this.collapsedChange = createEvent(this, "collapsedChange", 7); this.collapsed = false; this.label = undefined; }
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface IxBurgerMenu extends Components.IxBurgerMenu, HTMLElement {}
4
+ export const IxBurgerMenu: {
5
+ prototype: IxBurgerMenu;
6
+ new (): IxBurgerMenu;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,6 @@
1
+ import { B as BurgerMenu, d as defineCustomElement$1 } from './burger-menu.js';
2
+
3
+ const IxBurgerMenu = BurgerMenu;
4
+ const defineCustomElement = defineCustomElement$1;
5
+
6
+ export { IxBurgerMenu, defineCustomElement };
@@ -1,11 +1,11 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
- import { a as convertToRemString } from './rwd.util.js';
2
+ import { d as defineCustomElement$5 } from './dropdown.js';
3
3
  import { d as defineCustomElement$4 } from './filter-chip.js';
4
4
  import { d as defineCustomElement$3 } from './icon.js';
5
5
  import { d as defineCustomElement$2 } from './icon-button.js';
6
6
 
7
7
  /*
8
- * SPDX-FileCopyrightText: 2022 Siemens AG
8
+ * SPDX-FileCopyrightText: 2023 Siemens AG
9
9
  *
10
10
  * SPDX-License-Identifier: MIT
11
11
  *
@@ -23,7 +23,7 @@ class InputState {
23
23
  }
24
24
 
25
25
  /*
26
- * SPDX-FileCopyrightText: 2022 Siemens AG
26
+ * SPDX-FileCopyrightText: 2023 Siemens AG
27
27
  *
28
28
  * SPDX-License-Identifier: MIT
29
29
  *
@@ -36,7 +36,7 @@ var LogicalFilterOperator;
36
36
  LogicalFilterOperator["NOT_EQUAL"] = "Not equal";
37
37
  })(LogicalFilterOperator || (LogicalFilterOperator = {}));
38
38
 
39
- const categoryFilterCss = ".sc-ix-category-filter-h{display:block;position:relative}.sc-ix-category-filter-h .focus.sc-ix-category-filter{border-color:var(--theme-color-primary);box-shadow:0 0 0.25rem 0 var(--theme-color-primary) !important}.sc-ix-category-filter-h .reset-button.sc-ix-category-filter{position:absolute;top:0.25rem;right:0.25rem}.sc-ix-category-filter-h .reset-button.hide-reset-button.sc-ix-category-filter{display:none}.sc-ix-category-filter-h .input-container.sc-ix-category-filter{display:flex;height:100%;max-height:3.75rem;padding:1px 1.5rem 1px 2rem}.sc-ix-category-filter-h .input-container.no-icon.sc-ix-category-filter{padding-left:0.25rem}.sc-ix-category-filter-h .token-container.sc-ix-category-filter{flex-grow:1;overflow:hidden}.sc-ix-category-filter-h .text-input.sc-ix-category-filter{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text);background:transparent;flex-grow:1;height:1.75rem}.sc-ix-category-filter-h .text-input.sc-ix-category-filter,.sc-ix-category-filter-h .text-input.sc-ix-category-filter:hover,.sc-ix-category-filter-h .text-input.sc-ix-category-filter:focus-visible{border:none;outline:none}.sc-ix-category-filter-h .text-input.hide-placeholder.sc-ix-category-filter::-moz-placeholder{opacity:0}.sc-ix-category-filter-h .text-input.hide-placeholder.sc-ix-category-filter::placeholder{opacity:0}.sc-ix-category-filter-h .list-unstyled.sc-ix-category-filter{display:flex;flex-wrap:wrap;list-style:none;padding:0;margin:0;overflow-y:auto}.sc-ix-category-filter-h ix-icon.sc-ix-category-filter{position:absolute;top:0.5rem;left:0.5rem}.sc-ix-category-filter-h ix-filter-chip.sc-ix-category-filter{margin-right:0.5rem}.sc-ix-category-filter-h .category-preview.sc-ix-category-filter{display:flex;align-items:center;height:1.5rem;background-color:var(--theme-bg-3);border-top-left-radius:1rem;border-bottom-left-radius:1rem;padding:0.5rem;margin:2px 0}.sc-ix-category-filter-h .category-selection-container.sc-ix-category-filter{box-shadow:var(--theme-box-shadow-level-1);background:var(--theme-color-1);position:absolute;top:2rem;overflow-y:auto;min-width:10rem;border:var(--theme-std-bdr-1);border-radius:0.25rem;padding:0.5rem;z-index:1}.sc-ix-category-filter-h .category-selection-container.sc-ix-category-filter .category-item.sc-ix-category-filter,.sc-ix-category-filter-h .category-selection-container.sc-ix-category-filter .category-item-header.sc-ix-category-filter{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.143em;color:var(--theme-color-std-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:2rem;padding:0.5rem}.sc-ix-category-filter-h .category-selection-container.sc-ix-category-filter .category-item-header.sc-ix-category-filter{color:var(--theme-color-soft-text)}.sc-ix-category-filter-h .category-selection-container.sc-ix-category-filter .category-item-id.sc-ix-category-filter{border-top-left-radius:1rem;border-bottom-left-radius:1rem}.sc-ix-category-filter-h .category-selection-container.sc-ix-category-filter .category-item-value.sc-ix-category-filter{border-top-right-radius:1rem;border-bottom-right-radius:1rem}.sc-ix-category-filter-h .category-selection-container.sc-ix-category-filter .category-item.sc-ix-category-filter{cursor:pointer}.sc-ix-category-filter-h .category-selection-container.sc-ix-category-filter .category-item.sc-ix-category-filter:focus{background-color:var(--theme-generic-bg-active);outline:none}.sc-ix-category-filter-h .category-selection-container.sc-ix-category-filter .plain-text-suggestion.sc-ix-category-filter{border-radius:1rem}.sc-ix-category-filter-h ul.sc-ix-category-filter{height:100%}.sc-ix-category-filter-h ul.sc-ix-category-filter>li.sc-ix-category-filter,.sc-ix-category-filter-h input.sc-ix-category-filter{padding-top:2px;padding-bottom:2px}";
39
+ const categoryFilterCss = ".sc-ix-category-filter-h{display:block;position:relative}.sc-ix-category-filter-h .focus.sc-ix-category-filter{border-color:var(--theme-color-primary);box-shadow:0 0 0.25rem 0 var(--theme-color-primary) !important}.sc-ix-category-filter-h .reset-button.sc-ix-category-filter{position:absolute;top:0.25rem;right:0.25rem}.sc-ix-category-filter-h .reset-button.hide-reset-button.sc-ix-category-filter{display:none}.sc-ix-category-filter-h .input-container.sc-ix-category-filter{display:flex;height:100%;max-height:3.75rem;padding:1px 1.5rem 1px 2rem}.sc-ix-category-filter-h .input-container.no-icon.sc-ix-category-filter{padding-left:0.25rem}.sc-ix-category-filter-h .token-container.sc-ix-category-filter{flex-grow:1;overflow:hidden}.sc-ix-category-filter-h .text-input.sc-ix-category-filter{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text);background:transparent;flex-grow:1;height:1.75rem}.sc-ix-category-filter-h .text-input.sc-ix-category-filter,.sc-ix-category-filter-h .text-input.sc-ix-category-filter:hover,.sc-ix-category-filter-h .text-input.sc-ix-category-filter:focus-visible{border:none;outline:none}.sc-ix-category-filter-h .text-input.hide-placeholder.sc-ix-category-filter::-moz-placeholder{opacity:0}.sc-ix-category-filter-h .text-input.hide-placeholder.sc-ix-category-filter::placeholder{opacity:0}.sc-ix-category-filter-h .list-unstyled.sc-ix-category-filter{display:flex;flex-wrap:wrap;list-style:none;padding:0;margin:0;overflow-y:auto}.sc-ix-category-filter-h ix-icon.sc-ix-category-filter{position:absolute;top:0.5rem;left:0.5rem}.sc-ix-category-filter-h ix-filter-chip.sc-ix-category-filter{margin-right:0.5rem}.sc-ix-category-filter-h .category-preview.sc-ix-category-filter{display:flex;align-items:center;height:1.5rem;background-color:var(--theme-bg-3);border-top-left-radius:1rem;border-bottom-left-radius:1rem;padding:0.5rem;margin:2px 0}.sc-ix-category-filter-h ul.sc-ix-category-filter{height:100%}.sc-ix-category-filter-h ul.sc-ix-category-filter>li.sc-ix-category-filter,.sc-ix-category-filter-h input.sc-ix-category-filter{padding-top:2px;padding-bottom:2px}.sc-ix-category-filter-h ix-dropdown.sc-ix-category-filter{min-width:10rem !important}.sc-ix-category-filter-h ix-dropdown.sc-ix-category-filter .dropdown-item-container.sc-ix-category-filter{display:flex;flex-direction:column}.sc-ix-category-filter-h ix-dropdown.sc-ix-category-filter .dropdown-item-container.sc-ix-category-filter .dropdown-item.sc-ix-category-filter{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.143em;color:var(--theme-color-std-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:2.5rem;margin:0.25rem 0.5rem;padding-inline:0.5rem;border-radius:100rem;width:auto}.sc-ix-category-filter-h ix-dropdown.sc-ix-category-filter .dropdown-item-container.sc-ix-category-filter .category-item.sc-ix-category-filter{border-end-end-radius:0;border-start-end-radius:0}.sc-ix-category-filter-h ix-dropdown.sc-ix-category-filter .dropdown-item-container.sc-ix-category-filter .category-item-value.sc-ix-category-filter{border-start-start-radius:0;border-end-start-radius:0}.sc-ix-category-filter-h ix-dropdown.sc-ix-category-filter .btn-toggle-operator.sc-ix-category-filter{margin-inline:0.5rem}";
40
40
 
41
41
  const CategoryFilter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
42
42
  constructor() {
@@ -45,17 +45,12 @@ const CategoryFilter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
45
45
  this.inputChanged = createEvent(this, "inputChanged", 7);
46
46
  this.filterChanged = createEvent(this, "filterChanged", 7);
47
47
  this.ID_CUSTOM_FILTER_VALUE = 'CW_CUSTOM_FILTER_VALUE';
48
- this.documentClickCallback = this.handleDocumentClick.bind(this);
48
+ this.textInput = undefined;
49
49
  this.hasFocus = undefined;
50
- this.showCategorySelection = undefined;
51
50
  this.categoryLogicalOperator = LogicalFilterOperator.EQUAL;
52
51
  this.inputValue = undefined;
53
52
  this.category = undefined;
54
53
  this.filterTokens = [];
55
- this.offsetDropdownX = undefined;
56
- this.offsetDropdownY = undefined;
57
- this.maxHeightDropdown = undefined;
58
- this.maxWidthDropdown = undefined;
59
54
  this.initialState = undefined;
60
55
  this.filterState = undefined;
61
56
  this.placeholder = undefined;
@@ -72,25 +67,13 @@ const CategoryFilter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
72
67
  watchFilterState(newValue) {
73
68
  this.setFilterState(newValue);
74
69
  }
75
- watchShowCategorySelection(newValue) {
76
- if (newValue) {
77
- document.addEventListener('click', this.documentClickCallback);
78
- }
79
- else {
80
- document.removeEventListener('click', this.documentClickCallback);
81
- }
82
- }
83
- setDropdownOffset() {
84
- const height = this.calculateDropdownHeight();
85
- this.maxHeightDropdown = convertToRemString(height);
86
- }
87
70
  componentDidLoad() {
88
71
  var _a, _b;
89
72
  if (this.initialState !== undefined) {
90
73
  this.setFilterState(this.initialState);
91
74
  }
92
75
  else if (this.filterState !== undefined) {
93
- this.setFilterState(this.filterState);
76
+ setTimeout(() => this.setFilterState(this.filterState));
94
77
  }
95
78
  (_a = this.hostElement) === null || _a === void 0 ? void 0 : _a.addEventListener('keydown', this.handleFormElementKeyDown.bind(this));
96
79
  (_b = this.formElement) === null || _b === void 0 ? void 0 : _b.addEventListener('submit', (e) => e.preventDefault());
@@ -98,7 +81,6 @@ const CategoryFilter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
98
81
  console.warn('Core UI category filter - unable to add event listeners to native input element');
99
82
  return;
100
83
  }
101
- this.textInput.addEventListener('click', () => (this.showCategorySelection = true));
102
84
  this.textInput.addEventListener('focusin', () => {
103
85
  this.hasFocus = true;
104
86
  });
@@ -107,7 +89,6 @@ const CategoryFilter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
107
89
  this.inputValue = this.textInput.value;
108
90
  const inputState = new InputState(this.inputValue, this.category);
109
91
  this.inputChanged.emit(inputState);
110
- this.showCategorySelection = true;
111
92
  });
112
93
  this.textInput.addEventListener('keydown', this.handleInputElementKeyDown.bind(this));
113
94
  }
@@ -121,27 +102,27 @@ const CategoryFilter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
121
102
  }
122
103
  this.emitFilterEvent();
123
104
  }
124
- handleDocumentClick(ev) {
125
- const target = ev.target;
126
- if (!this.hostElement.contains(target)) {
127
- this.closeDropdown();
128
- }
129
- }
130
105
  closeDropdown() {
131
- this.showCategorySelection = false;
132
- this.category = undefined;
106
+ this.hostElement.querySelector('ix-dropdown').show = false;
133
107
  }
134
108
  handleFormElementKeyDown(e) {
135
109
  switch (e.code) {
136
110
  case 'Enter':
137
111
  case 'NumpadEnter':
138
- if (this.category ||
139
- document.activeElement.classList.contains('plain-text-suggestion')) {
140
- const token = document.activeElement.getAttribute('data-id');
141
- this.addToken(token, this.category);
112
+ if (!document.activeElement.classList.contains('dropdown-item')) {
113
+ return;
114
+ }
115
+ const token = document.activeElement.getAttribute('data-id');
116
+ if (this.hasCategorySelection()) {
117
+ if (this.category) {
118
+ this.addToken(token, this.category);
119
+ }
120
+ else if (document.activeElement.classList.contains('category-item-id')) {
121
+ this.selectCategory(token);
122
+ }
142
123
  }
143
- else if (document.activeElement.classList.contains('category-item-id')) {
144
- this.selectCategory(document.activeElement.getAttribute('data-id'));
124
+ else {
125
+ this.addToken(token);
145
126
  }
146
127
  e.preventDefault();
147
128
  break;
@@ -235,6 +216,9 @@ const CategoryFilter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
235
216
  this.textInput.value = '';
236
217
  this.inputValue = '';
237
218
  this.categoryLogicalOperator = LogicalFilterOperator.EQUAL;
219
+ if (this.category) {
220
+ this.category = undefined;
221
+ }
238
222
  this.isScrollStateDirty = true;
239
223
  this.textInput.focus();
240
224
  if (emitEvent) {
@@ -255,43 +239,17 @@ const CategoryFilter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
255
239
  }
256
240
  return ids;
257
241
  }
258
- getCategoryLables() {
259
- return this.getCategoryIds().map((id) => this.categories[id].label);
260
- }
261
242
  selectCategory(category) {
262
243
  this.category = category;
263
244
  this.textInput.value = '';
264
245
  this.inputValue = '';
265
246
  this.textInput.focus();
266
247
  }
267
- openCategorySelection() {
268
- this.showCategorySelection = true;
269
- }
270
248
  resetFilter() {
271
249
  this.closeDropdown();
272
250
  this.filterTokens = [];
273
251
  this.emitFilterEvent();
274
252
  }
275
- calculateDropdownX() {
276
- var _a;
277
- if (!this.textInput) {
278
- return 0;
279
- }
280
- const xInput = this.textInput.getBoundingClientRect().x;
281
- const xFrom = (_a = this.formElement) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().x;
282
- return xInput - xFrom;
283
- }
284
- calculateDropdownY() {
285
- if (!this.textInput) {
286
- return 32;
287
- }
288
- return this.hostElement.getBoundingClientRect().height;
289
- }
290
- calculateDropdownHeight(top = 32) {
291
- const hostTop = this.hostElement.getBoundingClientRect().top;
292
- const offset = hostTop + top;
293
- return window.innerHeight - offset;
294
- }
295
253
  filterMultiples(value) {
296
254
  if (this.repeatCategories) {
297
255
  return true;
@@ -328,23 +286,68 @@ const CategoryFilter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
328
286
  const label = (_c = (_b = (_a = this.categories[value.id]) === null || _a === void 0 ? void 0 : _a.label) !== null && _b !== void 0 ? _b : this.nonSelectableCategories[value.id]) !== null && _c !== void 0 ? _c : value.id;
329
287
  return `${label} ${operatorString} ${value.value}`;
330
288
  }
331
- componentDidRender() {
332
- const newOffsetX = this.calculateDropdownX();
333
- const newOffsetY = this.calculateDropdownY();
334
- const newOffsetXRem = convertToRemString(newOffsetX);
335
- const newOffsetYRem = convertToRemString(newOffsetY);
336
- const maxWidthDropdown = this.hostElement.getBoundingClientRect().width - newOffsetX;
337
- const maxHeightDropdown = this.calculateDropdownHeight(newOffsetY);
338
- this.maxWidthDropdown = convertToRemString(maxWidthDropdown);
339
- this.maxHeightDropdown = convertToRemString(maxHeightDropdown);
340
- // This will throw a warning
341
- if (newOffsetXRem !== this.offsetDropdownX) {
342
- this.offsetDropdownX = newOffsetXRem;
289
+ getFilteredSuggestions() {
290
+ var _a, _b;
291
+ if (!((_a = this.suggestions) === null || _a === void 0 ? void 0 : _a.length)) {
292
+ return [];
293
+ }
294
+ return (_b = this.suggestions) === null || _b === void 0 ? void 0 : _b.filter((value) => this.filterByInput(value)).filter((value) => this.filterDuplicateTokens(value));
295
+ }
296
+ hasCategorySelection() {
297
+ return this.categories !== undefined;
298
+ }
299
+ displayDropdown() {
300
+ if (this.hasCategorySelection()) {
301
+ return true;
302
+ }
303
+ if (this.suggestions !== undefined) {
304
+ return this.getFilteredSuggestions().length > 0;
305
+ }
306
+ return false;
307
+ }
308
+ renderPlainSuggestions() {
309
+ return (h("div", { class: "dropdown-item-container" }, this.getFilteredSuggestions().map((suggestion) => (h("button", { class: "dropdown-item", "data-id": suggestion, onClick: () => this.addToken(suggestion), key: suggestion, title: suggestion }, suggestion)))));
310
+ }
311
+ renderCategoryValues() {
312
+ var _a, _b;
313
+ return (h("div", { class: "dropdown-item-container" }, h("button", { class: "btn btn-invisible-secondary btn-icon btn-toggle-operator", onClick: () => this.toggleCategoryOperator(), tabindex: "-1" }, this.categoryLogicalOperator === LogicalFilterOperator.NOT_EQUAL
314
+ ? '='
315
+ : '!='), h("div", { class: "dropdown-header" }, (_a = this.categories[this.category]) === null || _a === void 0 ? void 0 : _a.label), (_b = this.categories[this.category]) === null || _b === void 0 ? void 0 :
316
+ _b.options.filter((value) => this.filterByInput(value)).filter((value) => this.filterDuplicateTokens(value)).map((id) => (h("button", { class: "dropdown-item category-item-value", "data-id": id, title: id, key: id, onClick: () => this.addToken(id, this.category) }, `${this.categoryLogicalOperator === LogicalFilterOperator.EQUAL
317
+ ? '='
318
+ : '!='} ${id}`)))));
319
+ }
320
+ renderDropdownContent() {
321
+ if (this.hasCategorySelection()) {
322
+ if (this.category) {
323
+ return this.renderCategoryValues();
324
+ }
325
+ else {
326
+ return this.renderCategorySelection();
327
+ }
343
328
  }
344
- // This will throw a warning
345
- if (newOffsetYRem !== this.offsetDropdownY) {
346
- this.offsetDropdownY = newOffsetYRem;
329
+ else
330
+ return this.renderPlainSuggestions();
331
+ }
332
+ renderCategorySelection() {
333
+ var _a;
334
+ return (h("div", { class: "dropdown-item-container" }, (_a = this.getCategoryIds()) === null || _a === void 0 ? void 0 : _a.filter((id) => this.filterByInput(this.categories[id].label)).filter((id) => this.filterMultiples(id)).map((id) => {
335
+ var _a;
336
+ return (h("button", { class: "dropdown-item category-item category-item-id", "data-id": id, title: this.categories[id].label, key: id, onClick: () => this.selectCategory(id), tabindex: "0" }, (_a = this.categories[id]) === null || _a === void 0 ? void 0 : _a.label));
337
+ })));
338
+ }
339
+ getDropdownHeader() {
340
+ if (this.categories) {
341
+ if (this.category) {
342
+ return null;
343
+ }
344
+ else {
345
+ return this.labelCategories;
346
+ }
347
347
  }
348
+ return this.i18nPlainText;
349
+ }
350
+ componentDidRender() {
348
351
  if (this.isScrollStateDirty) {
349
352
  if (!this.tmpDisableScrollIntoView) {
350
353
  this.textInput.scrollIntoView();
@@ -359,13 +362,13 @@ const CategoryFilter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
359
362
  }, variant: "Secondary", ghost: true, oval: true, icon: "clear", size: "16", tabindex: "1" }));
360
363
  }
361
364
  render() {
362
- var _a, _b, _c, _d, _e, _f;
365
+ var _a;
363
366
  return (h(Host, null, h("form", { ref: (el) => (this.formElement = el) }, h("div", { class: {
364
367
  'form-control': true,
365
368
  'input-container': true,
366
369
  focus: this.hasFocus,
367
370
  'no-icon': this.hideIcon,
368
- } }, h("ix-icon", { class: { 'd-none': this.hideIcon }, name: this.icon, size: "16" }), h("div", { class: "token-container" }, h("ul", { class: "list-unstyled" }, this.filterTokens.map((value, index) => (h("li", { class: {
371
+ } }, h("ix-icon", { class: { 'd-none': this.hideIcon }, name: this.icon, size: "16" }), h("div", { class: "token-container" }, h("ul", { class: "list-unstyled" }, this.filterTokens.map((value, index) => (h("li", { key: value.toString(), class: {
369
372
  animate__animated: true,
370
373
  animate__fadein: true,
371
374
  } }, h("ix-filter-chip", { onCloseClick: () => this.removeToken(index) }, this.getFilterChipLabel(value))))), this.categories === undefined ? ('') : (h("li", { class: {
@@ -374,44 +377,11 @@ const CategoryFilter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
374
377
  } }, (_a = this.categories[this.category]) === null || _a === void 0 ? void 0 : _a.label)), h("input", { class: {
375
378
  'text-input': true,
376
379
  'hide-placeholder': this.category !== undefined,
377
- }, ref: (el) => (this.textInput = el), type: "text", placeholder: this.placeholder, onFocus: () => this.openCategorySelection() }))), this.getResetButton())), h("div", { class: {
378
- 'category-selection-container': true,
379
- 'd-none': !this.showCategorySelection && this.category === undefined,
380
- }, style: {
381
- left: this.offsetDropdownX,
382
- top: this.offsetDropdownY,
383
- 'max-width': this.maxWidthDropdown,
384
- 'max-height': this.maxHeightDropdown,
385
- } }, h("div", { class: {
386
- 'd-none': !this.showCategorySelection || this.category !== undefined,
387
- } }, h("div", { class: {
388
- 'category-item-header': true,
389
- 'd-none': this.getCategoryLables().filter((value) => this.filterByInput(value)).length === 0,
390
- } }, this.labelCategories), (_b = this.getCategoryIds()) === null || _b === void 0 ? void 0 :
391
- _b.filter((id) => this.filterByInput(this.categories[id].label)).filter((id) => this.filterMultiples(id)).map((id) => {
392
- var _a;
393
- return (h("div", { "data-id": id, title: id, class: "category-item category-item-id", onClick: () => this.selectCategory(id), tabindex: "0" }, (_a = this.categories[id]) === null || _a === void 0 ? void 0 : _a.label));
394
- })), h("div", { class: {
395
- 'd-none': this.category === undefined,
396
- } }, h("button", { class: "btn btn-invisible-secondary btn-icon", onClick: () => this.toggleCategoryOperator(), tabindex: "-1" }, this.categoryLogicalOperator === LogicalFilterOperator.NOT_EQUAL
397
- ? '='
398
- : '!='), this.categories === undefined ? ('') : (h("div", { class: "category-item-header" }, (_c = this.categories[this.category]) === null || _c === void 0 ? void 0 : _c.label)), this.categories === undefined
399
- ? ''
400
- : (_d = this.categories[this.category]) === null || _d === void 0 ? void 0 : _d.options.filter((value) => this.filterByInput(value)).filter((value) => this.filterDuplicateTokens(value)).map((id) => (h("div", { "data-id": id, title: id, class: "category-item category-item-value", onClick: () => this.addToken(id, this.category), tabindex: "0" }, `${this.categoryLogicalOperator ===
401
- LogicalFilterOperator.EQUAL
402
- ? '='
403
- : '!='} ${id}`)))), h("div", { class: {
404
- 'category-item-header': true,
405
- 'd-none': this.category !== undefined ||
406
- this.getCategoryIds().filter((value) => this.filterByInput(value)).length > 0,
407
- } }, this.i18nPlainText), h("div", { class: {
408
- 'd-none': !((_e = this.suggestions) === null || _e === void 0 ? void 0 : _e.length) || this.category !== undefined,
409
- } }, (_f = this.suggestions) === null || _f === void 0 ? void 0 : _f.filter((value) => this.filterByInput(value)).filter((value) => this.filterDuplicateTokens(value)).map((suggestion) => (h("div", { "data-id": suggestion, class: "category-item plain-text-suggestion", onClick: () => this.addToken(suggestion), tabindex: "0" }, suggestion)))))));
380
+ }, ref: (el) => (this.textInput = el), type: "text", placeholder: this.placeholder }))), this.getResetButton())), h("ix-dropdown", { closeBehavior: "outside", trigger: this.textInput, triggerEvent: ['click', 'focus'], header: this.getDropdownHeader(), class: { 'd-none': !this.displayDropdown() } }, this.renderDropdownContent())));
410
381
  }
411
382
  get hostElement() { return this; }
412
383
  static get watchers() { return {
413
- "filterState": ["watchFilterState"],
414
- "showCategorySelection": ["watchShowCategorySelection"]
384
+ "filterState": ["watchFilterState"]
415
385
  }; }
416
386
  static get style() { return categoryFilterCss; }
417
387
  }, [2, "ix-category-filter", {
@@ -427,28 +397,29 @@ const CategoryFilter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
427
397
  "tmpDisableScrollIntoView": [4, "tmp-disable-scroll-into-view"],
428
398
  "labelCategories": [1, "label-categories"],
429
399
  "i18nPlainText": [1, "i-1-8n-plain-text"],
400
+ "textInput": [32],
430
401
  "hasFocus": [32],
431
- "showCategorySelection": [32],
432
402
  "categoryLogicalOperator": [32],
433
403
  "inputValue": [32],
434
404
  "category": [32],
435
- "filterTokens": [32],
436
- "offsetDropdownX": [32],
437
- "offsetDropdownY": [32],
438
- "maxHeightDropdown": [32],
439
- "maxWidthDropdown": [32]
440
- }, [[9, "resize", "setDropdownOffset"]]]);
405
+ "filterTokens": [32]
406
+ }]);
441
407
  function defineCustomElement$1() {
442
408
  if (typeof customElements === "undefined") {
443
409
  return;
444
410
  }
445
- const components = ["ix-category-filter", "ix-filter-chip", "ix-icon", "ix-icon-button"];
411
+ const components = ["ix-category-filter", "ix-dropdown", "ix-filter-chip", "ix-icon", "ix-icon-button"];
446
412
  components.forEach(tagName => { switch (tagName) {
447
413
  case "ix-category-filter":
448
414
  if (!customElements.get(tagName)) {
449
415
  customElements.define(tagName, CategoryFilter);
450
416
  }
451
417
  break;
418
+ case "ix-dropdown":
419
+ if (!customElements.get(tagName)) {
420
+ defineCustomElement$5();
421
+ }
422
+ break;
452
423
  case "ix-filter-chip":
453
424
  if (!customElements.get(tagName)) {
454
425
  defineCustomElement$4();
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface IxDivider extends Components.IxDivider, HTMLElement {}
4
+ export const IxDivider: {
5
+ prototype: IxDivider;
6
+ new (): IxDivider;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;