@siemens/ix 1.4.0-beta.0 → 1.4.0-beta.2

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 (443) hide show
  1. package/dist/cjs/{animation-dfe01edc.js → animation-d5cc0bec.js} +1 -1
  2. package/dist/cjs/{base-button-6ef79cb6.js → base-button-497db257.js} +1 -1
  3. package/dist/cjs/context-a0900b95.js +75 -0
  4. package/dist/cjs/{default-tree-item-4597cd84.js → default-tree-item-89cd1f3f.js} +1 -1
  5. package/dist/cjs/{flip-tile-state-c95639e5.js → flip-tile-state-b5ff5ea0.js} +1 -1
  6. package/dist/cjs/{alignment-24ae2e63.js → floating-ui.dom.esm-01fe5abe.js} +529 -401
  7. package/dist/cjs/index-f4b8e6ee.js +20 -0
  8. package/dist/cjs/index.cjs.js +12 -12
  9. package/dist/cjs/ix-animated-tab_2.cjs.entry.js +2 -2
  10. package/dist/cjs/ix-application-header.cjs.entry.js +25 -2
  11. package/dist/cjs/ix-basic-navigation.cjs.entry.js +16 -2
  12. package/dist/cjs/ix-breadcrumb_2.cjs.entry.js +1 -1
  13. package/dist/cjs/ix-burger-menu.cjs.entry.js +22 -0
  14. package/dist/cjs/ix-button.cjs.entry.js +3 -3
  15. package/dist/cjs/ix-category-filter.cjs.entry.js +2 -2
  16. package/dist/cjs/ix-divider.cjs.entry.js +19 -0
  17. package/dist/cjs/ix-dropdown-button.cjs.entry.js +5 -3
  18. package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +19 -0
  19. package/dist/cjs/ix-dropdown_2.cjs.entry.js +92 -20
  20. package/dist/cjs/ix-event-list_2.cjs.entry.js +3 -3
  21. package/dist/cjs/ix-flip-tile_2.cjs.entry.js +1 -1
  22. package/dist/cjs/ix-group-context-menu.cjs.entry.js +0 -3
  23. package/dist/cjs/ix-group_3.cjs.entry.js +1 -1
  24. package/dist/cjs/ix-icon-button.cjs.entry.js +1 -1
  25. package/dist/cjs/ix-menu_9.cjs.entry.js +47 -16
  26. package/dist/cjs/ix-modal-example.cjs.entry.js +1 -1
  27. package/dist/cjs/ix-modal_2.cjs.entry.js +3 -3
  28. package/dist/cjs/ix-select_2.cjs.entry.js +6 -4
  29. package/dist/cjs/ix-split-button_2.cjs.entry.js +2 -2
  30. package/dist/cjs/ix-tab-item.cjs.entry.js +1 -1
  31. package/dist/cjs/ix-tabs.cjs.entry.js +11 -4
  32. package/dist/cjs/ix-toast_2.cjs.entry.js +9 -5
  33. package/dist/cjs/ix-toggle.cjs.entry.js +1 -1
  34. package/dist/cjs/ix-tooltip.cjs.entry.js +127 -0
  35. package/dist/cjs/ix-tree_2.cjs.entry.js +2 -3
  36. package/dist/cjs/ix-typography.cjs.entry.js +38 -0
  37. package/dist/cjs/ix-upload.cjs.entry.js +1 -1
  38. package/dist/cjs/ix-validation-tooltip.cjs.entry.js +19 -9
  39. package/dist/cjs/loader.cjs.js +1 -1
  40. package/dist/cjs/{logical-filter-operator-467e2faf.js → logical-filter-operator-0faf70b8.js} +2 -2
  41. package/dist/cjs/{modal-2d0f9191.js → modal-a93045dd.js} +3 -3
  42. package/dist/cjs/{modal-utils-9ee0acda.js → modal-utils-b645989b.js} +1 -1
  43. package/dist/cjs/{mutation-observer-29bedada.js → mutation-observer-eaaa5399.js} +1 -1
  44. package/dist/cjs/my-component.cjs.entry.js +1 -1
  45. package/dist/cjs/{rwd.util-2326824e.js → rwd.util-9480f0b5.js} +1 -1
  46. package/dist/cjs/service-18dc5907.js +73 -0
  47. package/dist/cjs/siemens-ix.cjs.js +1 -1
  48. package/dist/cjs/{theme-switcher-f91c8d8d.js → theme-switcher-67669a35.js} +1 -1
  49. package/dist/cjs/{typed-event-5030cc6a.js → typed-event-f0f051da.js} +1 -1
  50. package/dist/cjs/{upload-file-state-923b2c65.js → upload-file-state-a79acf2b.js} +1 -1
  51. package/dist/collection/collection-manifest.json +5 -0
  52. package/dist/collection/components/animated-tab/animated-tab.css +1 -1
  53. package/dist/collection/components/animated-tab/animated-tab.js +1 -1
  54. package/dist/collection/components/animated-tabs/animated-tabs.css +4 -4
  55. package/dist/collection/components/animated-tabs/animated-tabs.js +1 -1
  56. package/dist/collection/components/application-header/application-header.css +8 -1
  57. package/dist/collection/components/application-header/application-header.js +31 -2
  58. package/dist/collection/components/basic-navigation/basic-navigation.css +6 -1
  59. package/dist/collection/components/basic-navigation/basic-navigation.js +21 -3
  60. package/dist/collection/components/blind/blind.css +5 -5
  61. package/dist/collection/components/blind/blind.js +1 -1
  62. package/dist/collection/components/breadcrumb/breadcrumb.css +4 -4
  63. package/dist/collection/components/breadcrumb/breadcrumb.js +1 -1
  64. package/dist/collection/components/breadcrumb-item/breadcrumb-item.css +1 -1
  65. package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +1 -1
  66. package/dist/collection/components/button/base-button.js +1 -1
  67. package/dist/collection/components/button/button.css +7 -2
  68. package/dist/collection/components/button/button.js +3 -3
  69. package/dist/collection/components/category-filter/category-filter.css +6 -6
  70. package/dist/collection/components/category-filter/category-filter.js +2 -2
  71. package/dist/collection/components/category-filter/filter-state.js +1 -1
  72. package/dist/collection/components/category-filter/input-state.js +1 -1
  73. package/dist/collection/components/category-filter/logical-filter-operator.js +1 -1
  74. package/dist/collection/components/chip/chip.css +4 -4
  75. package/dist/collection/components/chip/chip.js +1 -1
  76. package/dist/collection/components/counter-pill/counter-pill.css +7 -7
  77. package/dist/collection/components/counter-pill/counter-pill.js +1 -1
  78. package/dist/collection/components/date-picker/date-picker.css +2 -2
  79. package/dist/collection/components/date-picker/date-picker.js +2 -2
  80. package/dist/collection/components/date-time-card/date-time-card.css +2 -2
  81. package/dist/collection/components/date-time-card/date-time-card.js +1 -1
  82. package/dist/collection/components/datetime-picker/datetime-picker.css +2 -2
  83. package/dist/collection/components/datetime-picker/datetime-picker.js +1 -1
  84. package/dist/collection/components/divider/divider.css +16 -0
  85. package/dist/collection/components/divider/divider.js +29 -0
  86. package/dist/collection/components/drawer/drawer.css +3 -3
  87. package/dist/collection/components/drawer/drawer.js +1 -1
  88. package/dist/collection/components/dropdown/dropdown-trigger-event.js +1 -0
  89. package/dist/collection/components/dropdown/dropdown.css +9 -6
  90. package/dist/collection/components/dropdown/dropdown.js +142 -16
  91. package/dist/collection/components/dropdown-button/dropdown-button.css +15 -7
  92. package/dist/collection/components/dropdown-button/dropdown-button.js +6 -4
  93. package/dist/collection/components/dropdown-item/dropdown-item.css +16 -4
  94. package/dist/collection/components/dropdown-item/dropdown-item.js +3 -1
  95. package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.css +36 -0
  96. package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js +29 -0
  97. package/dist/collection/components/event-list/event-list.css +1 -1
  98. package/dist/collection/components/event-list/event-list.js +1 -1
  99. package/dist/collection/components/event-list-item/event-list-item.css +21 -24
  100. package/dist/collection/components/event-list-item/event-list-item.js +1 -1
  101. package/dist/collection/components/expanding-search/expanding-search.css +4 -4
  102. package/dist/collection/components/expanding-search/expanding-search.js +1 -1
  103. package/dist/collection/components/filter-chip/filter-chip.css +4 -4
  104. package/dist/collection/components/filter-chip/filter-chip.js +1 -1
  105. package/dist/collection/components/flip-tile/flip-tile-state.js +1 -1
  106. package/dist/collection/components/flip-tile/flip-tile.css +4 -4
  107. package/dist/collection/components/flip-tile/flip-tile.js +1 -1
  108. package/dist/collection/components/flip-tile-content/flip-tile-content.css +1 -1
  109. package/dist/collection/components/flip-tile-content/flip-tile-content.js +1 -1
  110. package/dist/collection/components/group/group-context-menu.css +1 -1
  111. package/dist/collection/components/group/group-context-menu.js +1 -4
  112. package/dist/collection/components/group/group.css +12 -13
  113. package/dist/collection/components/group/group.js +1 -1
  114. package/dist/collection/components/group-dropdown-item/group-dropdown-item.css +1 -1
  115. package/dist/collection/components/group-dropdown-item/group-dropdown-item.js +1 -1
  116. package/dist/collection/components/group-item/group-item.css +5 -5
  117. package/dist/collection/components/group-item/group-item.js +1 -1
  118. package/dist/collection/components/icon/icon.css +2 -2
  119. package/dist/collection/components/icon/icon.js +1 -1
  120. package/dist/collection/components/icon-button/icon-button.css +1 -1
  121. package/dist/collection/components/icon-button/icon-button.js +1 -1
  122. package/dist/collection/components/input-group/input-group.css +1 -1
  123. package/dist/collection/components/input-group/input-group.js +1 -1
  124. package/dist/collection/components/kpi/kpi.css +5 -5
  125. package/dist/collection/components/kpi/kpi.js +1 -1
  126. package/dist/collection/components/map-navigation/map-navigation.css +4 -4
  127. package/dist/collection/components/map-navigation/map-navigation.js +1 -1
  128. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.css +5 -5
  129. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +1 -1
  130. package/dist/collection/components/menu/burger-menu.css +72 -0
  131. package/dist/collection/components/menu/burger-menu.js +64 -0
  132. package/dist/collection/components/menu/menu.css +20 -37
  133. package/dist/collection/components/menu/menu.js +27 -11
  134. package/dist/collection/components/menu-about/menu-about.css +4 -4
  135. package/dist/collection/components/menu-about/menu-about.js +1 -1
  136. package/dist/collection/components/menu-about-item/menu-about-item.css +1 -1
  137. package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
  138. package/dist/collection/components/menu-about-news/menu-about-news.css +3 -3
  139. package/dist/collection/components/menu-about-news/menu-about-news.js +1 -1
  140. package/dist/collection/components/menu-avatar/menu-avatar.css +17 -5
  141. package/dist/collection/components/menu-avatar/menu-avatar.js +52 -3
  142. package/dist/collection/components/menu-avatar-item/menu-avatar-item.css +1 -1
  143. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
  144. package/dist/collection/components/menu-item/menu-item.css +27 -27
  145. package/dist/collection/components/menu-item/menu-item.js +2 -1
  146. package/dist/collection/components/menu-settings/menu-settings.css +4 -4
  147. package/dist/collection/components/menu-settings/menu-settings.js +1 -1
  148. package/dist/collection/components/menu-settings-item/menu-settings-item.css +1 -1
  149. package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
  150. package/dist/collection/components/message-bar/message-bar.css +3 -3
  151. package/dist/collection/components/message-bar/message-bar.js +1 -1
  152. package/dist/collection/components/modal/modal-utils.js +1 -1
  153. package/dist/collection/components/modal/modal.css +2 -2
  154. package/dist/collection/components/modal/modal.js +1 -1
  155. package/dist/collection/components/modal-container/modal-container.css +1 -1
  156. package/dist/collection/components/modal-container/modal-container.js +1 -1
  157. package/dist/collection/components/my-component/example-modal.js +1 -1
  158. package/dist/collection/components/my-component/my-component.css +4 -4
  159. package/dist/collection/components/my-component/my-component.js +1 -1
  160. package/dist/collection/components/pill/pill.css +4 -4
  161. package/dist/collection/components/pill/pill.js +1 -1
  162. package/dist/collection/components/select/select.css +5 -5
  163. package/dist/collection/components/select/select.js +7 -5
  164. package/dist/collection/components/select-item/select-item.css +1 -1
  165. package/dist/collection/components/select-item/select-item.js +1 -1
  166. package/dist/collection/components/spinner/spinner.css +1 -1
  167. package/dist/collection/components/spinner/spinner.js +1 -1
  168. package/dist/collection/components/split-button/split-button.css +10 -1
  169. package/dist/collection/components/split-button/split-button.js +2 -2
  170. package/dist/collection/components/split-button-item/split-button-item.css +1 -1
  171. package/dist/collection/components/split-button-item/split-button-item.js +1 -1
  172. package/dist/collection/components/tab-item/tab-item.css +5 -7
  173. package/dist/collection/components/tab-item/tab-item.js +1 -1
  174. package/dist/collection/components/tabs/tabs.css +4 -3
  175. package/dist/collection/components/tabs/tabs.js +13 -4
  176. package/dist/collection/components/tile/tile.css +3 -3
  177. package/dist/collection/components/tile/tile.js +1 -1
  178. package/dist/collection/components/time-picker/time-picker.css +2 -2
  179. package/dist/collection/components/time-picker/time-picker.js +1 -1
  180. package/dist/collection/components/toast/toast-container.js +1 -1
  181. package/dist/collection/components/toast/toast-utils.js +1 -1
  182. package/dist/collection/components/toast/toast.css +4 -4
  183. package/dist/collection/components/toast/toast.js +9 -5
  184. package/dist/collection/components/toggle/toggle.css +5 -4
  185. package/dist/collection/components/toggle/toggle.js +1 -1
  186. package/dist/collection/components/tooltip/tooltip.css +43 -0
  187. package/dist/collection/components/tooltip/tooltip.js +203 -0
  188. package/dist/collection/components/tree/tree.css +1 -1
  189. package/dist/collection/components/tree/tree.js +1 -1
  190. package/dist/collection/components/tree-item/default-tree-item.js +1 -1
  191. package/dist/collection/components/tree-item/tree-item.css +5 -5
  192. package/dist/collection/components/tree-item/tree-item.js +2 -3
  193. package/dist/collection/components/typography/types.js +14 -0
  194. package/dist/collection/components/typography/typography.css +146 -0
  195. package/dist/collection/components/typography/typography.js +63 -0
  196. package/dist/collection/components/upload/upload-file-state.js +1 -1
  197. package/dist/collection/components/upload/upload.css +3 -3
  198. package/dist/collection/components/upload/upload.js +1 -1
  199. package/dist/collection/components/utils/animation.js +1 -1
  200. package/dist/collection/components/utils/menu-service/menu-service.js +53 -0
  201. package/dist/collection/components/utils/mutation-observer.js +1 -1
  202. package/dist/collection/components/utils/rwd.util.js +1 -1
  203. package/dist/collection/components/utils/screen/context.js +29 -0
  204. package/dist/collection/components/utils/screen/index.js +9 -0
  205. package/dist/collection/components/utils/screen/mode.js +36 -0
  206. package/dist/collection/components/utils/screen/service.js +45 -0
  207. package/dist/collection/components/utils/typed-event.js +1 -1
  208. package/dist/collection/components/validation-tooltip/validation-tooltip.css +4 -4
  209. package/dist/collection/components/validation-tooltip/validation-tooltip.js +1 -1
  210. package/dist/collection/components/workflow-step/workflow-step.css +2 -2
  211. package/dist/collection/components/workflow-step/workflow-step.js +1 -1
  212. package/dist/collection/components/workflow-steps/workflow-steps.css +2 -2
  213. package/dist/collection/components/workflow-steps/workflow-steps.js +1 -1
  214. package/dist/collection/env.js +1 -1
  215. package/dist/collection/exports.js +2 -1
  216. package/dist/collection/index.js +1 -1
  217. package/dist/collection/tests/utils/test/index.js +9 -0
  218. package/dist/collection/tests/utils/test/matchMedia.mock.js +22 -0
  219. package/dist/collection/tests/utils/test/page.js +29 -0
  220. package/dist/collection/utils/test/index.js +1 -1
  221. package/dist/collection/utils/test/matchMedia.mock.js +22 -0
  222. package/dist/collection/utils/test/page.js +2 -2
  223. package/dist/components/animation.js +1 -1
  224. package/dist/components/application-header.js +33 -4
  225. package/dist/components/base-button.js +1 -1
  226. package/dist/components/burger-menu.js +35 -0
  227. package/dist/components/button.js +2 -2
  228. package/dist/components/dropdown-item.js +3 -1
  229. package/dist/components/dropdown.js +86 -14
  230. package/dist/components/{alignment.js → floating-ui.dom.esm.js} +529 -401
  231. package/dist/components/group-context-menu.js +0 -3
  232. package/dist/components/index.d.ts +5 -0
  233. package/dist/components/index.js +7 -2
  234. package/dist/components/ix-basic-navigation.js +25 -5
  235. package/dist/components/ix-burger-menu.d.ts +11 -0
  236. package/dist/components/ix-burger-menu.js +6 -0
  237. package/dist/components/ix-category-filter.js +3 -3
  238. package/dist/components/ix-divider.d.ts +11 -0
  239. package/dist/components/ix-divider.js +33 -0
  240. package/dist/components/ix-dropdown-button.js +5 -3
  241. package/dist/components/ix-dropdown-quick-actions.d.ts +11 -0
  242. package/dist/components/ix-dropdown-quick-actions.js +33 -0
  243. package/dist/components/ix-event-list-item.js +1 -1
  244. package/dist/components/ix-flip-tile.js +1 -1
  245. package/dist/components/ix-group.js +1 -1
  246. package/dist/components/ix-map-navigation.js +8 -2
  247. package/dist/components/ix-menu-avatar.js +21 -2
  248. package/dist/components/ix-menu.js +31 -11
  249. package/dist/components/ix-modal-example.js +1 -1
  250. package/dist/components/ix-select.js +6 -4
  251. package/dist/components/ix-split-button.js +1 -1
  252. package/dist/components/ix-toggle.js +1 -1
  253. package/dist/components/ix-tooltip.d.ts +11 -0
  254. package/dist/components/ix-tooltip.js +152 -0
  255. package/dist/components/ix-tree.js +1 -1
  256. package/dist/components/ix-typography.d.ts +11 -0
  257. package/dist/components/ix-typography.js +6 -0
  258. package/dist/components/ix-upload.js +1 -1
  259. package/dist/components/ix-validation-tooltip.js +11 -1
  260. package/dist/components/menu-item.js +2 -2
  261. package/dist/components/modal-container.js +1 -1
  262. package/dist/components/mutation-observer.js +1 -1
  263. package/dist/components/my-component.js +1 -1
  264. package/dist/components/rwd.util.js +1 -1
  265. package/dist/components/service.js +139 -0
  266. package/dist/components/tab-item.js +1 -1
  267. package/dist/components/tabs.js +13 -4
  268. package/dist/components/toast.js +8 -4
  269. package/dist/components/tree-item.js +1 -2
  270. package/dist/components/typed-event.js +1 -1
  271. package/dist/components/typography.js +51 -0
  272. package/dist/esm/{animation-b667a4c4.js → animation-268dce50.js} +1 -1
  273. package/dist/esm/{base-button-0b6635df.js → base-button-5bfeb71c.js} +1 -1
  274. package/dist/esm/context-f6a2b727.js +71 -0
  275. package/dist/esm/{default-tree-item-638c435a.js → default-tree-item-91ff2c08.js} +1 -1
  276. package/dist/esm/{flip-tile-state-28a1f8ce.js → flip-tile-state-051bb2fd.js} +1 -1
  277. package/dist/esm/{alignment-f63c1b89.js → floating-ui.dom.esm-3130eda0.js} +529 -401
  278. package/dist/esm/index-6b660a23.js +20 -0
  279. package/dist/esm/index.js +12 -12
  280. package/dist/esm/ix-animated-tab_2.entry.js +2 -2
  281. package/dist/esm/ix-application-header.entry.js +25 -2
  282. package/dist/esm/ix-basic-navigation.entry.js +16 -2
  283. package/dist/esm/ix-breadcrumb_2.entry.js +1 -1
  284. package/dist/esm/ix-burger-menu.entry.js +18 -0
  285. package/dist/esm/ix-button.entry.js +3 -3
  286. package/dist/esm/ix-category-filter.entry.js +2 -2
  287. package/dist/esm/ix-divider.entry.js +15 -0
  288. package/dist/esm/ix-dropdown-button.entry.js +5 -3
  289. package/dist/esm/ix-dropdown-quick-actions.entry.js +15 -0
  290. package/dist/esm/ix-dropdown_2.entry.js +87 -15
  291. package/dist/esm/ix-event-list_2.entry.js +3 -3
  292. package/dist/esm/ix-flip-tile_2.entry.js +1 -1
  293. package/dist/esm/ix-group-context-menu.entry.js +0 -3
  294. package/dist/esm/ix-group_3.entry.js +1 -1
  295. package/dist/esm/ix-icon-button.entry.js +1 -1
  296. package/dist/esm/ix-menu_9.entry.js +47 -16
  297. package/dist/esm/ix-modal-example.entry.js +1 -1
  298. package/dist/esm/ix-modal_2.entry.js +3 -3
  299. package/dist/esm/ix-select_2.entry.js +6 -4
  300. package/dist/esm/ix-split-button_2.entry.js +2 -2
  301. package/dist/esm/ix-tab-item.entry.js +1 -1
  302. package/dist/esm/ix-tabs.entry.js +11 -4
  303. package/dist/esm/ix-toast_2.entry.js +9 -5
  304. package/dist/esm/ix-toggle.entry.js +1 -1
  305. package/dist/esm/ix-tooltip.entry.js +123 -0
  306. package/dist/esm/ix-tree_2.entry.js +2 -3
  307. package/dist/esm/ix-typography.entry.js +34 -0
  308. package/dist/esm/ix-upload.entry.js +1 -1
  309. package/dist/esm/ix-validation-tooltip.entry.js +11 -1
  310. package/dist/esm/loader.js +1 -1
  311. package/dist/esm/{logical-filter-operator-1bf83315.js → logical-filter-operator-15696001.js} +2 -2
  312. package/dist/esm/{modal-3618eb44.js → modal-64e18970.js} +3 -3
  313. package/dist/esm/{modal-utils-df50b35a.js → modal-utils-aecbcba5.js} +1 -1
  314. package/dist/esm/{mutation-observer-379959bb.js → mutation-observer-7d01bbea.js} +1 -1
  315. package/dist/esm/my-component.entry.js +1 -1
  316. package/dist/esm/{rwd.util-4a61a4b8.js → rwd.util-cfc2ea72.js} +1 -1
  317. package/dist/esm/service-fc436c5b.js +71 -0
  318. package/dist/esm/siemens-ix.js +1 -1
  319. package/dist/esm/{theme-switcher-9ecc9b69.js → theme-switcher-4b9e5cc2.js} +1 -1
  320. package/dist/esm/{typed-event-ab58c27e.js → typed-event-a230184a.js} +1 -1
  321. package/dist/esm/{upload-file-state-631bb8a2.js → upload-file-state-532a36d3.js} +1 -1
  322. package/dist/siemens-ix/index.esm.js +1 -1
  323. package/dist/siemens-ix/p-06d5ab35.entry.js +1 -0
  324. package/dist/siemens-ix/{p-3c754d90.entry.js → p-0bf4a256.entry.js} +1 -1
  325. package/dist/siemens-ix/{p-8c53c142.entry.js → p-122c7f57.entry.js} +1 -1
  326. package/dist/siemens-ix/p-1572aab3.js +1 -0
  327. package/dist/siemens-ix/{p-921da56a.entry.js → p-165c6a82.entry.js} +1 -1
  328. package/dist/siemens-ix/{p-9299617f.entry.js → p-20c88582.entry.js} +1 -1
  329. package/dist/siemens-ix/p-4b2265fd.entry.js +1 -0
  330. package/dist/siemens-ix/p-519b13aa.entry.js +1 -0
  331. package/dist/siemens-ix/p-529d7530.js +1 -0
  332. package/dist/siemens-ix/{p-783ce87b.entry.js → p-5b47360e.entry.js} +1 -1
  333. package/dist/siemens-ix/{p-a3a59238.entry.js → p-5ca7b937.entry.js} +1 -1
  334. package/dist/siemens-ix/p-5feec7a4.entry.js +1 -0
  335. package/dist/siemens-ix/p-622fb593.entry.js +1 -0
  336. package/dist/siemens-ix/p-63776469.entry.js +1 -0
  337. package/dist/siemens-ix/p-68ec0b51.entry.js +1 -0
  338. package/dist/siemens-ix/p-6b463b40.entry.js +1 -0
  339. package/dist/siemens-ix/p-6e5543fe.entry.js +1 -0
  340. package/dist/siemens-ix/p-71c91a11.entry.js +1 -0
  341. package/dist/siemens-ix/{p-ab35eaee.entry.js → p-72cc8632.entry.js} +1 -1
  342. package/dist/siemens-ix/{p-8c3bfc2f.js → p-75abd144.js} +1 -1
  343. package/dist/siemens-ix/p-8d2e0fb5.entry.js +1 -0
  344. package/dist/siemens-ix/p-94b440bc.entry.js +1 -0
  345. package/dist/siemens-ix/{p-70bd3dbf.entry.js → p-9eb8347c.entry.js} +1 -1
  346. package/dist/siemens-ix/p-9fa6a59b.entry.js +1 -0
  347. package/dist/siemens-ix/p-ac1d6617.entry.js +1 -0
  348. package/dist/siemens-ix/{p-f6e713f3.js → p-affb60fb.js} +1 -1
  349. package/dist/siemens-ix/p-b5599b0b.entry.js +1 -0
  350. package/dist/siemens-ix/{p-60b90da6.entry.js → p-b85458fb.entry.js} +1 -1
  351. package/dist/siemens-ix/p-c2b50878.entry.js +1 -0
  352. package/dist/siemens-ix/{p-50ed9d54.entry.js → p-d1a16c62.entry.js} +1 -1
  353. package/dist/siemens-ix/p-d1a8d791.entry.js +1 -0
  354. package/dist/siemens-ix/p-e4bda8e7.entry.js +1 -0
  355. package/dist/siemens-ix/p-e5fd4b34.entry.js +1 -0
  356. package/dist/siemens-ix/{p-404e81d2.entry.js → p-f0289f67.entry.js} +1 -1
  357. package/dist/siemens-ix/p-f34a16c6.js +1 -0
  358. package/dist/siemens-ix/p-feefa8c7.entry.js +1 -0
  359. package/dist/siemens-ix/siemens-ix.css +50 -48
  360. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  361. package/dist/types/components/application-header/application-header.d.ts +8 -0
  362. package/dist/types/components/basic-navigation/basic-navigation.d.ts +6 -1
  363. package/dist/types/components/button/button.d.ts +1 -1
  364. package/dist/types/components/date-picker/date-picker.d.ts +1 -1
  365. package/dist/types/components/divider/divider.d.ts +6 -0
  366. package/dist/types/components/dropdown/dropdown-trigger-event.d.ts +4 -0
  367. package/dist/types/components/dropdown/dropdown.d.ts +18 -1
  368. package/dist/types/components/dropdown-button/dropdown-button.d.ts +1 -1
  369. package/dist/types/components/dropdown-quick-actions/dropdown-quick-actions.d.ts +6 -0
  370. package/dist/types/components/group/group-context-menu.d.ts +0 -2
  371. package/dist/types/components/menu/burger-menu.d.ts +10 -0
  372. package/dist/types/components/menu/menu.d.ts +3 -1
  373. package/dist/types/components/menu-avatar/menu-avatar.d.ts +12 -0
  374. package/dist/types/components/split-button/split-button.d.ts +1 -1
  375. package/dist/types/components/tabs/tabs.d.ts +3 -0
  376. package/dist/types/components/tooltip/tooltip.d.ts +39 -0
  377. package/dist/types/components/typography/types.d.ts +2 -0
  378. package/dist/types/components/typography/typography.d.ts +11 -0
  379. package/dist/types/components/utils/menu-service/menu-service.d.ts +13 -0
  380. package/dist/types/components/utils/screen/context.d.ts +4 -0
  381. package/dist/types/components/utils/screen/index.d.ts +1 -0
  382. package/dist/types/components/utils/screen/mode.d.ts +10 -0
  383. package/dist/types/components/utils/screen/service.d.ts +10 -0
  384. package/dist/types/components.d.ts +147 -6
  385. package/dist/types/exports.d.ts +1 -0
  386. package/dist/types/index.d.ts +2 -1
  387. package/dist/types/tests/utils/test/index.d.ts +1 -0
  388. package/dist/types/tests/utils/test/page.d.ts +3 -0
  389. package/package.json +2 -2
  390. package/scss/_common-variables.scss +1 -1
  391. package/scss/_fonts.scss +1 -1
  392. package/scss/_z-index.scss +1 -1
  393. package/scss/components/_button-group.scss +1 -1
  394. package/scss/components/_buttons.scss +1 -1
  395. package/scss/components/_checkboxes.scss +5 -5
  396. package/scss/components/_dropdown.scss +5 -1
  397. package/scss/components/_forms.scss +13 -11
  398. package/scss/components/_input-group.scss +1 -1
  399. package/scss/components/_links.scss +1 -1
  400. package/scss/components/_modal.scss +1 -1
  401. package/scss/components/_radiobuttons.scss +1 -1
  402. package/scss/components/_shadows.scss +1 -1
  403. package/scss/components/_table.scss +1 -1
  404. package/scss/ix.scss +1 -1
  405. package/scss/mixins/_animations.scss +1 -1
  406. package/scss/mixins/_fonts.scss +1 -1
  407. package/scss/mixins/_hover.scss +1 -1
  408. package/scss/mixins/_shadows.scss +1 -1
  409. package/scss/mixins/_text-truncation.scss +1 -1
  410. package/scss/theme/classic-dark/_borderWidth.scss +1 -1
  411. package/scss/theme/classic-dark/_boxShadow.scss +1 -1
  412. package/scss/theme/classic-dark/_color.scss +3 -3
  413. package/scss/theme/classic-light/_borderWidth.scss +1 -1
  414. package/scss/theme/classic-light/_boxShadow.scss +1 -1
  415. package/scss/theme/classic-light/_color.scss +3 -3
  416. package/dist/siemens-ix/p-10158414.entry.js +0 -1
  417. package/dist/siemens-ix/p-2c5abec1.js +0 -1
  418. package/dist/siemens-ix/p-2c8e4dd1.entry.js +0 -1
  419. package/dist/siemens-ix/p-4ac5d916.entry.js +0 -1
  420. package/dist/siemens-ix/p-55663fd5.entry.js +0 -1
  421. package/dist/siemens-ix/p-6637ae65.entry.js +0 -1
  422. package/dist/siemens-ix/p-6df18451.entry.js +0 -1
  423. package/dist/siemens-ix/p-72cfbc1c.entry.js +0 -1
  424. package/dist/siemens-ix/p-b46155b7.entry.js +0 -1
  425. package/dist/siemens-ix/p-b7b753cc.entry.js +0 -1
  426. package/dist/siemens-ix/p-b9a66b74.entry.js +0 -1
  427. package/dist/siemens-ix/p-e51a110f.entry.js +0 -1
  428. package/dist/siemens-ix/p-e652328d.entry.js +0 -1
  429. package/dist/siemens-ix/p-e82905f0.entry.js +0 -1
  430. package/dist/siemens-ix/p-f05b01a4.entry.js +0 -1
  431. package/dist/siemens-ix/p-f1a1e8ee.entry.js +0 -1
  432. /package/dist/collection/components/{utils → button}/button-variants.js +0 -0
  433. /package/dist/siemens-ix/{p-da2cae32.js → p-076c29d1.js} +0 -0
  434. /package/dist/siemens-ix/{p-1d30454e.js → p-15bebd8a.js} +0 -0
  435. /package/dist/siemens-ix/{p-c8cc3bb3.js → p-21aa3602.js} +0 -0
  436. /package/dist/siemens-ix/{p-0a12b3df.js → p-2b33ead4.js} +0 -0
  437. /package/dist/siemens-ix/{p-bdd294d2.js → p-3b97bb69.js} +0 -0
  438. /package/dist/siemens-ix/{p-1c82637e.js → p-56ed024b.js} +0 -0
  439. /package/dist/siemens-ix/{p-b12006c6.js → p-5b39e04e.js} +0 -0
  440. /package/dist/siemens-ix/{p-4944ad0b.js → p-9ee41861.js} +0 -0
  441. /package/dist/siemens-ix/{p-96e46f99.js → p-b14308ed.js} +0 -0
  442. /package/dist/siemens-ix/{p-fbe40498.js → p-c0454c9a.js} +0 -0
  443. /package/dist/types/components/{utils → button}/button-variants.d.ts +0 -0
@@ -1,5 +1,5 @@
1
1
  /*
2
- * SPDX-FileCopyrightText: 2022 Siemens AG
2
+ * SPDX-FileCopyrightText: 2023 Siemens AG
3
3
  *
4
4
  * SPDX-License-Identifier: MIT
5
5
  *
@@ -7,7 +7,7 @@
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
9
  /*
10
- * SPDX-FileCopyrightText: 2022 Siemens AG
10
+ * SPDX-FileCopyrightText: 2023 Siemens AG
11
11
  *
12
12
  * SPDX-License-Identifier: MIT
13
13
  *
@@ -19,7 +19,7 @@
19
19
  /* Line heights */
20
20
  /* Animation timings */
21
21
  /*
22
- * SPDX-FileCopyrightText: 2022 Siemens AG
22
+ * SPDX-FileCopyrightText: 2023 Siemens AG
23
23
  *
24
24
  * SPDX-License-Identifier: MIT
25
25
  *
@@ -27,7 +27,7 @@
27
27
  * LICENSE file in the root directory of this source tree.
28
28
  */
29
29
  /*
30
- * SPDX-FileCopyrightText: 2022 Siemens AG
30
+ * SPDX-FileCopyrightText: 2023 Siemens AG
31
31
  *
32
32
  * SPDX-License-Identifier: MIT
33
33
  *
@@ -35,7 +35,7 @@
35
35
  * LICENSE file in the root directory of this source tree.
36
36
  */
37
37
  /*
38
- * SPDX-FileCopyrightText: 2022 Siemens AG
38
+ * SPDX-FileCopyrightText: 2023 Siemens AG
39
39
  *
40
40
  * SPDX-License-Identifier: MIT
41
41
  *
@@ -43,7 +43,7 @@
43
43
  * LICENSE file in the root directory of this source tree.
44
44
  */
45
45
  /*
46
- * SPDX-FileCopyrightText: 2022 Siemens AG
46
+ * SPDX-FileCopyrightText: 2023 Siemens AG
47
47
  *
48
48
  * SPDX-License-Identifier: MIT
49
49
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * SPDX-FileCopyrightText: 2022 Siemens AG
2
+ * SPDX-FileCopyrightText: 2023 Siemens AG
3
3
  *
4
4
  * SPDX-License-Identifier: MIT
5
5
  *
@@ -344,7 +344,7 @@ export class CategoryFilter {
344
344
  } }, (_a = this.categories[this.category]) === null || _a === void 0 ? void 0 : _a.label)), h("input", { class: {
345
345
  'text-input': true,
346
346
  'hide-placeholder': this.category !== undefined,
347
- }, ref: (el) => (this.textInput = el), type: "text", placeholder: this.placeholder }))), this.getResetButton())), h("ix-dropdown", { closeBehavior: "outside", trigger: this.textInput, header: this.getDropdownHeader(), class: { 'd-none': !this.displayDropdown() } }, this.renderDropdownContent())));
347
+ }, 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())));
348
348
  }
349
349
  static get is() { return "ix-category-filter"; }
350
350
  static get encapsulation() { return "scoped"; }
@@ -1,5 +1,5 @@
1
1
  /*
2
- * SPDX-FileCopyrightText: 2022 Siemens AG
2
+ * SPDX-FileCopyrightText: 2023 Siemens AG
3
3
  *
4
4
  * SPDX-License-Identifier: MIT
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * SPDX-FileCopyrightText: 2022 Siemens AG
2
+ * SPDX-FileCopyrightText: 2023 Siemens AG
3
3
  *
4
4
  * SPDX-License-Identifier: MIT
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * SPDX-FileCopyrightText: 2022 Siemens AG
2
+ * SPDX-FileCopyrightText: 2023 Siemens AG
3
3
  *
4
4
  * SPDX-License-Identifier: MIT
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * SPDX-FileCopyrightText: 2022 Siemens AG
2
+ * SPDX-FileCopyrightText: 2023 Siemens AG
3
3
  *
4
4
  * SPDX-License-Identifier: MIT
5
5
  *
@@ -7,7 +7,7 @@
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
9
  /*
10
- * SPDX-FileCopyrightText: 2022 Siemens AG
10
+ * SPDX-FileCopyrightText: 2023 Siemens AG
11
11
  *
12
12
  * SPDX-License-Identifier: MIT
13
13
  *
@@ -15,7 +15,7 @@
15
15
  * LICENSE file in the root directory of this source tree.
16
16
  */
17
17
  /*
18
- * SPDX-FileCopyrightText: 2022 Siemens AG
18
+ * SPDX-FileCopyrightText: 2023 Siemens AG
19
19
  *
20
20
  * SPDX-License-Identifier: MIT
21
21
  *
@@ -27,7 +27,7 @@
27
27
  /* Line heights */
28
28
  /* Animation timings */
29
29
  /*
30
- * SPDX-FileCopyrightText: 2022 Siemens AG
30
+ * SPDX-FileCopyrightText: 2023 Siemens AG
31
31
  *
32
32
  * SPDX-License-Identifier: MIT
33
33
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * SPDX-FileCopyrightText: 2022 Siemens AG
2
+ * SPDX-FileCopyrightText: 2023 Siemens AG
3
3
  *
4
4
  * SPDX-License-Identifier: MIT
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * SPDX-FileCopyrightText: 2022 Siemens AG
2
+ * SPDX-FileCopyrightText: 2023 Siemens AG
3
3
  *
4
4
  * SPDX-License-Identifier: MIT
5
5
  *
@@ -7,7 +7,7 @@
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
9
  /*
10
- * SPDX-FileCopyrightText: 2022 Siemens AG
10
+ * SPDX-FileCopyrightText: 2023 Siemens AG
11
11
  *
12
12
  * SPDX-License-Identifier: MIT
13
13
  *
@@ -15,7 +15,7 @@
15
15
  * LICENSE file in the root directory of this source tree.
16
16
  */
17
17
  /*
18
- * SPDX-FileCopyrightText: 2022 Siemens AG
18
+ * SPDX-FileCopyrightText: 2023 Siemens AG
19
19
  *
20
20
  * SPDX-License-Identifier: MIT
21
21
  *
@@ -23,7 +23,7 @@
23
23
  * LICENSE file in the root directory of this source tree.
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
  *
@@ -35,7 +35,7 @@
35
35
  /* Line heights */
36
36
  /* Animation timings */
37
37
  /*
38
- * SPDX-FileCopyrightText: 2022 Siemens AG
38
+ * SPDX-FileCopyrightText: 2023 Siemens AG
39
39
  *
40
40
  * SPDX-License-Identifier: MIT
41
41
  *
@@ -287,7 +287,7 @@
287
287
  }
288
288
 
289
289
  /*
290
- * SPDX-FileCopyrightText: 2022 Siemens AG
290
+ * SPDX-FileCopyrightText: 2023 Siemens AG
291
291
  *
292
292
  * SPDX-License-Identifier: MIT
293
293
  *
@@ -299,7 +299,7 @@
299
299
  /* Line heights */
300
300
  /* Animation timings */
301
301
  /*
302
- * SPDX-FileCopyrightText: 2022 Siemens AG
302
+ * SPDX-FileCopyrightText: 2023 Siemens AG
303
303
  *
304
304
  * SPDX-License-Identifier: MIT
305
305
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * SPDX-FileCopyrightText: 2022 Siemens AG
2
+ * SPDX-FileCopyrightText: 2023 Siemens AG
3
3
  *
4
4
  * SPDX-License-Identifier: MIT
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * SPDX-FileCopyrightText: 2022 Siemens AG
2
+ * SPDX-FileCopyrightText: 2023 Siemens AG
3
3
  *
4
4
  * SPDX-License-Identifier: MIT
5
5
  *
@@ -7,7 +7,7 @@
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
9
  /*
10
- * SPDX-FileCopyrightText: 2022 Siemens AG
10
+ * SPDX-FileCopyrightText: 2023 Siemens AG
11
11
  *
12
12
  * SPDX-License-Identifier: MIT
13
13
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * SPDX-FileCopyrightText: 2022 Siemens AG
2
+ * SPDX-FileCopyrightText: 2023 Siemens AG
3
3
  *
4
4
  * SPDX-License-Identifier: MIT
5
5
  *
@@ -521,7 +521,7 @@ export class DatePicker {
521
521
  "composed": true,
522
522
  "docs": {
523
523
  "tags": [{
524
- "name": "depracted",
524
+ "name": "deprecated",
525
525
  "text": "String output will be removed. Set \u00B4doneEventDelimiter\u00B4 to undefined or null to get date change object instead of a string"
526
526
  }],
527
527
  "text": "Date change event\n\nIf datepicker is in range mode the event detail will be sperated with a `-` e.g.\n`2022/10/22 - 2022/10/24` (start and end). If range mode is choosen consider to use `dateRangeChange`."
@@ -1,5 +1,5 @@
1
1
  /*
2
- * SPDX-FileCopyrightText: 2022 Siemens AG
2
+ * SPDX-FileCopyrightText: 2023 Siemens AG
3
3
  *
4
4
  * SPDX-License-Identifier: MIT
5
5
  *
@@ -7,7 +7,7 @@
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
9
  /*
10
- * SPDX-FileCopyrightText: 2022 Siemens AG
10
+ * SPDX-FileCopyrightText: 2023 Siemens AG
11
11
  *
12
12
  * SPDX-License-Identifier: MIT
13
13
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * SPDX-FileCopyrightText: 2022 Siemens AG
2
+ * SPDX-FileCopyrightText: 2023 Siemens AG
3
3
  *
4
4
  * SPDX-License-Identifier: MIT
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * SPDX-FileCopyrightText: 2022 Siemens AG
2
+ * SPDX-FileCopyrightText: 2023 Siemens AG
3
3
  *
4
4
  * SPDX-License-Identifier: MIT
5
5
  *
@@ -7,7 +7,7 @@
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
9
  /*
10
- * SPDX-FileCopyrightText: 2022 Siemens AG
10
+ * SPDX-FileCopyrightText: 2023 Siemens AG
11
11
  *
12
12
  * SPDX-License-Identifier: MIT
13
13
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * SPDX-FileCopyrightText: 2022 Siemens AG
2
+ * SPDX-FileCopyrightText: 2023 Siemens AG
3
3
  *
4
4
  * SPDX-License-Identifier: MIT
5
5
  *
@@ -0,0 +1,16 @@
1
+ /*
2
+ * SPDX-FileCopyrightText: 2023 Siemens AG
3
+ *
4
+ * SPDX-License-Identifier: MIT
5
+ *
6
+ * This source code is licensed under the MIT license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */
9
+ :host {
10
+ display: block;
11
+ position: initial;
12
+ }
13
+ :host .line {
14
+ width: auto;
15
+ border: 0.0625rem solid var(--theme-color-x-weak-bdr);
16
+ }
@@ -0,0 +1,29 @@
1
+ /*
2
+ * SPDX-FileCopyrightText: 2023 Siemens AG
3
+ *
4
+ * SPDX-License-Identifier: MIT
5
+ *
6
+ * This source code is licensed under the MIT license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */
9
+ import { h, Host } from '@stencil/core';
10
+ /**
11
+ * @since 1.4.0
12
+ */
13
+ export class Divider {
14
+ render() {
15
+ return (h(Host, null, h("div", { class: "line" })));
16
+ }
17
+ static get is() { return "ix-divider"; }
18
+ static get encapsulation() { return "shadow"; }
19
+ static get originalStyleUrls() {
20
+ return {
21
+ "$": ["divider.scss"]
22
+ };
23
+ }
24
+ static get styleUrls() {
25
+ return {
26
+ "$": ["divider.css"]
27
+ };
28
+ }
29
+ }
@@ -1,5 +1,5 @@
1
1
  /*
2
- * SPDX-FileCopyrightText: 2022 Siemens AG
2
+ * SPDX-FileCopyrightText: 2023 Siemens AG
3
3
  *
4
4
  * SPDX-License-Identifier: MIT
5
5
  *
@@ -7,7 +7,7 @@
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
9
  /*
10
- * SPDX-FileCopyrightText: 2022 Siemens AG
10
+ * SPDX-FileCopyrightText: 2023 Siemens AG
11
11
  *
12
12
  * SPDX-License-Identifier: MIT
13
13
  *
@@ -15,7 +15,7 @@
15
15
  * LICENSE file in the root directory of this source tree.
16
16
  */
17
17
  /*
18
- * SPDX-FileCopyrightText: 2022 Siemens AG
18
+ * SPDX-FileCopyrightText: 2023 Siemens AG
19
19
  *
20
20
  * SPDX-License-Identifier: MIT
21
21
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * SPDX-FileCopyrightText: 2022 Siemens AG
2
+ * SPDX-FileCopyrightText: 2023 Siemens AG
3
3
  *
4
4
  * SPDX-License-Identifier: MIT
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * SPDX-FileCopyrightText: 2022 Siemens AG
2
+ * SPDX-FileCopyrightText: 2023 Siemens AG
3
3
  *
4
4
  * SPDX-License-Identifier: MIT
5
5
  *
@@ -7,7 +7,7 @@
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
9
  /*
10
- * SPDX-FileCopyrightText: 2022 Siemens AG
10
+ * SPDX-FileCopyrightText: 2023 Siemens AG
11
11
  *
12
12
  * SPDX-License-Identifier: MIT
13
13
  *
@@ -340,7 +340,7 @@
340
340
  }
341
341
 
342
342
  /*
343
- * SPDX-FileCopyrightText: 2022 Siemens AG
343
+ * SPDX-FileCopyrightText: 2023 Siemens AG
344
344
  *
345
345
  * SPDX-License-Identifier: MIT
346
346
  *
@@ -348,7 +348,7 @@
348
348
  * LICENSE file in the root directory of this source tree.
349
349
  */
350
350
  /*
351
- * SPDX-FileCopyrightText: 2022 Siemens AG
351
+ * SPDX-FileCopyrightText: 2023 Siemens AG
352
352
  *
353
353
  * SPDX-License-Identifier: MIT
354
354
  *
@@ -356,7 +356,7 @@
356
356
  * LICENSE file in the root directory of this source tree.
357
357
  */
358
358
  /*
359
- * SPDX-FileCopyrightText: 2022 Siemens AG
359
+ * SPDX-FileCopyrightText: 2023 Siemens AG
360
360
  *
361
361
  * SPDX-License-Identifier: MIT
362
362
  *
@@ -364,7 +364,7 @@
364
364
  * LICENSE file in the root directory of this source tree.
365
365
  */
366
366
  /*
367
- * SPDX-FileCopyrightText: 2022 Siemens AG
367
+ * SPDX-FileCopyrightText: 2023 Siemens AG
368
368
  *
369
369
  * SPDX-License-Identifier: MIT
370
370
  *
@@ -507,6 +507,9 @@
507
507
  -webkit-margin-end: 0.5rem;
508
508
  margin-inline-end: 0.5rem;
509
509
  }
510
+ .dropdown-item > .glyph.disabled {
511
+ color: var(--color-weak-text);
512
+ }
510
513
  .dropdown-item > .glyph.glyph-single-check {
511
514
  color: var(--theme-menu-item-icon-check--color);
512
515
  }
@@ -1,14 +1,13 @@
1
1
  /*
2
- * SPDX-FileCopyrightText: 2022 Siemens AG
2
+ * SPDX-FileCopyrightText: 2023 Siemens AG
3
3
  *
4
4
  * SPDX-License-Identifier: MIT
5
5
  *
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
- import { autoPlacement, autoUpdate, computePosition, inline, offset, shift, } from '@floating-ui/dom';
9
+ import { autoUpdate, computePosition, flip, inline, offset, shift, } from '@floating-ui/dom';
10
10
  import { h, Host, } from '@stencil/core';
11
- import { getAlignment } from './alignment';
12
11
  export class Dropdown {
13
12
  constructor() {
14
13
  this.autoUpdateCleanup = null;
@@ -22,20 +21,73 @@ export class Dropdown {
22
21
  this.adjustDropdownWidthToReferenceWidth = false;
23
22
  this.header = undefined;
24
23
  this.offset = undefined;
24
+ this.triggerEvent = 'click';
25
+ this.overwriteDropdownStyle = undefined;
26
+ this.toggleBind = this.toggle.bind(this);
25
27
  this.openBind = this.open.bind(this);
26
28
  }
27
29
  get dropdownItems() {
28
30
  return Array.from(this.hostElement.querySelectorAll('ix-dropdown-item'));
29
31
  }
32
+ addEventListenersFor(triggerEvent) {
33
+ switch (triggerEvent) {
34
+ case 'click':
35
+ if (this.closeBehavior === 'outside') {
36
+ this.triggerElement.addEventListener('click', this.openBind);
37
+ }
38
+ else {
39
+ this.triggerElement.addEventListener('click', this.toggleBind);
40
+ }
41
+ break;
42
+ case 'hover':
43
+ this.triggerElement.addEventListener('mouseenter', this.openBind);
44
+ break;
45
+ case 'focus':
46
+ this.triggerElement.addEventListener('focusin', this.openBind);
47
+ break;
48
+ }
49
+ }
50
+ removeEventListenersFor(triggerEvent, triggerElement) {
51
+ switch (triggerEvent) {
52
+ case 'click':
53
+ if (this.closeBehavior === 'outside') {
54
+ triggerElement.removeEventListener('click', this.openBind);
55
+ }
56
+ else {
57
+ triggerElement.removeEventListener('click', this.toggleBind);
58
+ }
59
+ break;
60
+ case 'hover':
61
+ triggerElement.removeEventListener('mouseenter', this.openBind);
62
+ break;
63
+ case 'focus':
64
+ triggerElement.removeEventListener('focusin', this.openBind);
65
+ break;
66
+ }
67
+ }
30
68
  async registerListener(element) {
31
69
  this.triggerElement = await this.resolveElement(element);
32
70
  if (this.triggerElement) {
33
- this.triggerElement.addEventListener('click', this.openBind);
71
+ if (Array.isArray(this.triggerEvent)) {
72
+ this.triggerEvent.forEach((triggerEvent) => {
73
+ this.addEventListenersFor(triggerEvent);
74
+ });
75
+ }
76
+ else {
77
+ this.addEventListenersFor(this.triggerEvent);
78
+ }
34
79
  }
35
80
  }
36
81
  async unregisterListener(element) {
37
82
  const trigger = await this.resolveElement(element);
38
- trigger.removeEventListener('click', this.openBind);
83
+ if (Array.isArray(this.triggerEvent)) {
84
+ this.triggerEvent.forEach((triggerEvent) => {
85
+ this.removeEventListenersFor(triggerEvent, trigger);
86
+ });
87
+ }
88
+ else {
89
+ this.removeEventListenersFor(this.triggerEvent, trigger);
90
+ }
39
91
  }
40
92
  resolveElement(element) {
41
93
  if (typeof element !== 'string') {
@@ -77,11 +129,12 @@ export class Dropdown {
77
129
  }
78
130
  }
79
131
  clickOutside(event) {
132
+ var _a, _b;
80
133
  const target = event.target;
81
134
  if (this.show === false ||
82
135
  this.closeBehavior === false ||
83
- this.anchorElement === target ||
84
- this.triggerElement === target) {
136
+ ((_a = this.anchorElement) === null || _a === void 0 ? void 0 : _a.contains(target)) ||
137
+ ((_b = this.triggerElement) === null || _b === void 0 ? void 0 : _b.contains(target))) {
85
138
  return;
86
139
  }
87
140
  switch (this.closeBehavior) {
@@ -91,23 +144,34 @@ export class Dropdown {
91
144
  }
92
145
  break;
93
146
  case 'inside':
94
- if (this.dropdownRef.contains(target)) {
147
+ if (this.dropdownRef.contains(target) && this.hostElement !== target) {
95
148
  this.close();
96
149
  }
97
150
  break;
151
+ case 'both':
152
+ if (this.hostElement !== target)
153
+ this.close();
154
+ break;
98
155
  default:
99
156
  this.close();
100
157
  }
101
158
  }
102
- open(event) {
159
+ toggle(event) {
103
160
  event === null || event === void 0 ? void 0 : event.preventDefault();
104
- event === null || event === void 0 ? void 0 : event.stopPropagation();
105
161
  this.show = !this.show;
106
162
  this.showChanged.emit(this.show);
107
163
  }
108
- close() {
164
+ open(event) {
165
+ event === null || event === void 0 ? void 0 : event.preventDefault();
166
+ this.show = true;
167
+ this.showChanged.emit(true);
168
+ }
169
+ close(event) {
170
+ if (event === null || event === void 0 ? void 0 : event.defaultPrevented) {
171
+ return;
172
+ }
109
173
  this.show = false;
110
- this.showChanged.emit(this.show);
174
+ this.showChanged.emit(false);
111
175
  }
112
176
  async applyDropdownPosition() {
113
177
  if (this.anchorElement && this.dropdownRef) {
@@ -116,9 +180,7 @@ export class Dropdown {
116
180
  middleware: [],
117
181
  };
118
182
  if (this.placement.includes('auto')) {
119
- positionConfig.middleware.push(autoPlacement({
120
- alignment: getAlignment(this.placement),
121
- }));
183
+ positionConfig.middleware.push(flip());
122
184
  }
123
185
  else {
124
186
  positionConfig.placement = this.placement;
@@ -142,6 +204,13 @@ export class Dropdown {
142
204
  left: '0',
143
205
  transform: `translate(${Math.round(computeResponse.x)}px,${Math.round(computeResponse.y)}px)`,
144
206
  });
207
+ if (this.overwriteDropdownStyle) {
208
+ const overwriteStyle = await this.overwriteDropdownStyle({
209
+ dropdownRef: this.dropdownRef,
210
+ triggerRef: this.triggerElement,
211
+ });
212
+ Object.assign(this.dropdownRef.style, overwriteStyle);
213
+ }
145
214
  }, {
146
215
  ancestorResize: true,
147
216
  ancestorScroll: true,
@@ -226,7 +295,7 @@ export class Dropdown {
226
295
  "optional": false,
227
296
  "docs": {
228
297
  "tags": [],
229
- "text": "Define an element that triggers the dropdown.\nA trigger can either be a string that will be interprated as id attribute or a DOM element."
298
+ "text": "Define an element that triggers the dropdown.\nA trigger can either be a string that will be interpreted as id attribute or a DOM element."
230
299
  },
231
300
  "attribute": "trigger",
232
301
  "reflect": false
@@ -387,6 +456,63 @@ export class Dropdown {
387
456
  }],
388
457
  "text": "Move dropdown along main axis of alignment"
389
458
  }
459
+ },
460
+ "triggerEvent": {
461
+ "type": "string",
462
+ "mutable": false,
463
+ "complexType": {
464
+ "original": "DropdownTriggerEvent | DropdownTriggerEvent[]",
465
+ "resolved": "\"click\" | \"focus\" | \"hover\" | DropdownTriggerEvent[]",
466
+ "references": {
467
+ "DropdownTriggerEvent": {
468
+ "location": "import",
469
+ "path": "./dropdown-trigger-event"
470
+ }
471
+ }
472
+ },
473
+ "required": false,
474
+ "optional": false,
475
+ "docs": {
476
+ "tags": [{
477
+ "name": "internal",
478
+ "text": undefined
479
+ }],
480
+ "text": "Define one or more events to open dropdown"
481
+ },
482
+ "attribute": "trigger-event",
483
+ "reflect": false,
484
+ "defaultValue": "'click'"
485
+ },
486
+ "overwriteDropdownStyle": {
487
+ "type": "unknown",
488
+ "mutable": false,
489
+ "complexType": {
490
+ "original": "(delegate: {\n dropdownRef: HTMLElement;\n triggerRef?: HTMLElement;\n }) => Promise<Partial<CSSStyleDeclaration>>",
491
+ "resolved": "(delegate: { dropdownRef: HTMLElement; triggerRef?: HTMLElement; }) => Promise<Partial<CSSStyleDeclaration>>",
492
+ "references": {
493
+ "HTMLElement": {
494
+ "location": "global"
495
+ },
496
+ "Promise": {
497
+ "location": "global"
498
+ },
499
+ "Partial": {
500
+ "location": "global"
501
+ },
502
+ "CSSStyleDeclaration": {
503
+ "location": "global"
504
+ }
505
+ }
506
+ },
507
+ "required": false,
508
+ "optional": false,
509
+ "docs": {
510
+ "tags": [{
511
+ "name": "internal",
512
+ "text": undefined
513
+ }],
514
+ "text": ""
515
+ }
390
516
  }
391
517
  };
392
518
  }