@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
  *
@@ -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
  *
@@ -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
  *
@@ -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
  *
@@ -22,8 +22,7 @@ export class TreeItem {
22
22
  this.toggle.emit();
23
23
  } }, this.hasChildren ? (h("ix-icon", { name: "chevron-right", size: "16", class: {
24
24
  ['icon-toggle-down']: (_b = this.context) === null || _b === void 0 ? void 0 : _b.isExpanded,
25
- }, color: `color-${((_c = this.context) === null || _c === void 0 ? void 0 : _c.isExpanded) ? 'primary' : 'std-text'}` })) : null), h("div", { class: "tree-node-container", onClick: (e) => {
26
- e.preventDefault();
25
+ }, color: `color-${((_c = this.context) === null || _c === void 0 ? void 0 : _c.isExpanded) ? 'primary' : 'std-text'}` })) : null), h("div", { class: "tree-node-container", onClick: () => {
27
26
  this.itemClick.emit();
28
27
  } }, this.text, h("slot", null))));
29
28
  }
@@ -0,0 +1,14 @@
1
+ export const VariantsMapping = {
2
+ 'x-small': 'text-xs',
3
+ small: 'text-s',
4
+ caption: 'text-caption',
5
+ 'caption-single': 'text-caption-single',
6
+ default: 'text-default',
7
+ 'default-single': 'text-default-single',
8
+ large: 'text-l',
9
+ 'large-single': 'text-l-single',
10
+ h2: 'text-h2',
11
+ 'display-large': 'text-xl',
12
+ 'default-title': 'text-default-title',
13
+ 'default-title-single': 'text-default-title-single',
14
+ };
@@ -0,0 +1,146 @@
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
+ /* Dimensions */
10
+ /* Font sizes */
11
+ /* Line heights */
12
+ /* Animation timings */
13
+ /*
14
+ * SPDX-FileCopyrightText: 2023 Siemens AG
15
+ *
16
+ * SPDX-License-Identifier: MIT
17
+ *
18
+ * This source code is licensed under the MIT license found in the
19
+ * LICENSE file in the root directory of this source tree.
20
+ */
21
+ :host .text-xs {
22
+ -webkit-font-smoothing: antialiased;
23
+ -moz-osx-font-smooting: grayscale;
24
+ font-family: Siemens Sans, sans-serif;
25
+ font-size: 0.625rem;
26
+ font-weight: 400;
27
+ line-height: 1.4em;
28
+ color: var(--theme-color-std-text);
29
+ }
30
+ :host .text-s {
31
+ -webkit-font-smoothing: antialiased;
32
+ -moz-osx-font-smooting: grayscale;
33
+ font-family: Siemens Sans, sans-serif;
34
+ font-size: 0.75rem;
35
+ font-weight: 400;
36
+ line-height: 1.5em;
37
+ color: var(--theme-color-std-text);
38
+ }
39
+ :host .text-caption {
40
+ -webkit-font-smoothing: antialiased;
41
+ -moz-osx-font-smooting: grayscale;
42
+ font-family: Siemens Sans, sans-serif;
43
+ font-size: 0.75rem;
44
+ font-weight: 700;
45
+ line-height: 1.5em;
46
+ color: var(--theme-color-std-text);
47
+ }
48
+ :host .text-caption-single {
49
+ -webkit-font-smoothing: antialiased;
50
+ -moz-osx-font-smooting: grayscale;
51
+ font-family: Siemens Sans, sans-serif;
52
+ font-size: 0.75rem;
53
+ font-weight: 700;
54
+ line-height: 1em;
55
+ color: var(--theme-color-std-text);
56
+ }
57
+ :host .text-default {
58
+ -webkit-font-smoothing: antialiased;
59
+ -moz-osx-font-smooting: grayscale;
60
+ font-family: Siemens Sans, sans-serif;
61
+ font-size: 0.875rem;
62
+ font-weight: 400;
63
+ line-height: 1.429em;
64
+ color: var(--theme-color-std-text);
65
+ }
66
+ :host .text-default-single {
67
+ -webkit-font-smoothing: antialiased;
68
+ -moz-osx-font-smooting: grayscale;
69
+ font-family: Siemens Sans, sans-serif;
70
+ font-size: 0.875rem;
71
+ font-weight: 400;
72
+ line-height: 1.143em;
73
+ color: var(--theme-color-std-text);
74
+ }
75
+ :host .text-default-title {
76
+ -webkit-font-smoothing: antialiased;
77
+ -moz-osx-font-smooting: grayscale;
78
+ font-family: Siemens Sans, sans-serif;
79
+ font-size: 0.875rem;
80
+ font-weight: 700;
81
+ line-height: 1.429em;
82
+ color: var(--theme-color-std-text);
83
+ }
84
+ :host .text-default-title-single {
85
+ -webkit-font-smoothing: antialiased;
86
+ -moz-osx-font-smooting: grayscale;
87
+ font-family: Siemens Sans, sans-serif;
88
+ font-size: 0.875rem;
89
+ font-weight: 700;
90
+ line-height: 1.143em;
91
+ color: var(--theme-color-std-text);
92
+ }
93
+ :host .text-l {
94
+ -webkit-font-smoothing: antialiased;
95
+ -moz-osx-font-smooting: grayscale;
96
+ font-family: Siemens Sans, sans-serif;
97
+ font-size: 1rem;
98
+ font-weight: 400;
99
+ line-height: 1.5em;
100
+ color: var(--theme-color-std-text);
101
+ }
102
+ :host .text-l-single {
103
+ -webkit-font-smoothing: antialiased;
104
+ -moz-osx-font-smooting: grayscale;
105
+ font-family: Siemens Sans, sans-serif;
106
+ font-size: 1rem;
107
+ font-weight: 400;
108
+ line-height: 1.25em;
109
+ color: var(--theme-color-std-text);
110
+ }
111
+ :host .text-l-title {
112
+ -webkit-font-smoothing: antialiased;
113
+ -moz-osx-font-smooting: grayscale;
114
+ font-family: Siemens Sans, sans-serif;
115
+ font-size: 1rem;
116
+ font-weight: 700;
117
+ line-height: 1.5em;
118
+ color: var(--theme-color-std-text);
119
+ }
120
+ :host .text-l-title-single {
121
+ -webkit-font-smoothing: antialiased;
122
+ -moz-osx-font-smooting: grayscale;
123
+ font-family: Siemens Sans, sans-serif;
124
+ font-size: 1rem;
125
+ font-weight: 700;
126
+ line-height: 1.25em;
127
+ color: var(--theme-color-std-text);
128
+ }
129
+ :host .text-h2 {
130
+ -webkit-font-smoothing: antialiased;
131
+ -moz-osx-font-smooting: grayscale;
132
+ font-family: Siemens Sans, sans-serif;
133
+ font-size: 1.375rem;
134
+ font-weight: 700;
135
+ line-height: 1.455em;
136
+ color: var(--theme-color-std-text);
137
+ }
138
+ :host .text-xl {
139
+ -webkit-font-smoothing: antialiased;
140
+ -moz-osx-font-smooting: grayscale;
141
+ font-family: Siemens Sans, sans-serif;
142
+ font-size: 1.375rem;
143
+ font-weight: 400;
144
+ line-height: 1.091em;
145
+ color: var(--theme-color-std-text);
146
+ }
@@ -0,0 +1,63 @@
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 } from '@stencil/core';
10
+ import { VariantsMapping } from './types';
11
+ /**
12
+ * @internal
13
+ */
14
+ export class IxTypography {
15
+ constructor() {
16
+ this.variant = 'default';
17
+ }
18
+ render() {
19
+ const typographyClass = {
20
+ [VariantsMapping[this.variant]]: true,
21
+ };
22
+ return (h("div", { class: typographyClass }, h("slot", null)));
23
+ }
24
+ static get is() { return "ix-typography"; }
25
+ static get encapsulation() { return "shadow"; }
26
+ static get originalStyleUrls() {
27
+ return {
28
+ "$": ["typography.scss"]
29
+ };
30
+ }
31
+ static get styleUrls() {
32
+ return {
33
+ "$": ["typography.css"]
34
+ };
35
+ }
36
+ static get properties() {
37
+ return {
38
+ "variant": {
39
+ "type": "string",
40
+ "mutable": false,
41
+ "complexType": {
42
+ "original": "TypographyVariants",
43
+ "resolved": "\"caption\" | \"caption-single\" | \"default\" | \"default-single\" | \"default-title\" | \"default-title-single\" | \"display-large\" | \"h2\" | \"large\" | \"large-single\" | \"small\" | \"x-small\"",
44
+ "references": {
45
+ "TypographyVariants": {
46
+ "location": "import",
47
+ "path": "./types"
48
+ }
49
+ }
50
+ },
51
+ "required": false,
52
+ "optional": false,
53
+ "docs": {
54
+ "tags": [],
55
+ "text": "Font variant"
56
+ },
57
+ "attribute": "variant",
58
+ "reflect": false,
59
+ "defaultValue": "'default'"
60
+ }
61
+ };
62
+ }
63
+ }
@@ -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
  *
@@ -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
  *
@@ -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
  *
@@ -0,0 +1,53 @@
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 { TypedEvent } from '../typed-event';
10
+ class MenuService {
11
+ constructor() {
12
+ this.menuElement = null;
13
+ this.menuExpandChange = new TypedEvent();
14
+ }
15
+ register(menuElement) {
16
+ if (this.menuElement) {
17
+ console.warn('Menu already defined');
18
+ return;
19
+ }
20
+ this.menuElement = menuElement;
21
+ this.menuElement.addEventListener('expandChange', (event) => {
22
+ this.menuExpandChange.emit(event.detail);
23
+ });
24
+ }
25
+ async open() {
26
+ if (this.menuElement) {
27
+ this.menuElement.toggleMenu(true);
28
+ return true;
29
+ }
30
+ return false;
31
+ }
32
+ async close() {
33
+ if (this.menuElement) {
34
+ this.menuElement.toggleMenu(false);
35
+ return true;
36
+ }
37
+ return false;
38
+ }
39
+ async toggle() {
40
+ if (this.menuElement) {
41
+ this.menuElement.toggleMenu();
42
+ return true;
43
+ }
44
+ return false;
45
+ }
46
+ get nativeElement() {
47
+ return this.menuElement;
48
+ }
49
+ get expandChange() {
50
+ return this.menuExpandChange;
51
+ }
52
+ }
53
+ export const menuController = new MenuService();
@@ -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
  *
@@ -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
+ export function isBasicNavigationLayout(element) {
10
+ return element && element.tagName === 'IX-BASIC-NAVIGATION';
11
+ }
12
+ export const hostContext = (selector, element) => {
13
+ return element.closest(selector);
14
+ };
15
+ export const isHostedBy = (selector, element) => {
16
+ return hostContext(selector, element) !== null;
17
+ };
18
+ export const getHostApplicationLayout = (element) => {
19
+ const [basicNavigation, mapNavigation] = [
20
+ 'ix-basic-navigation',
21
+ 'ix-map-navigation',
22
+ ].map((selector) => hostContext(selector, element));
23
+ if (basicNavigation) {
24
+ return basicNavigation;
25
+ }
26
+ if (mapNavigation) {
27
+ return mapNavigation;
28
+ }
29
+ };
@@ -0,0 +1,9 @@
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
+ export { screenMode } from './service';
@@ -0,0 +1,36 @@
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
+ const mobileMediaQuery = `only screen and (max-width: 767px)`;
10
+ export const createMediaQueryListener = (query, callback) => {
11
+ const fn = (event) => {
12
+ callback(event);
13
+ };
14
+ const listener = window.matchMedia(query);
15
+ listener.addEventListener('change', fn);
16
+ return {
17
+ matchMedia: listener,
18
+ dispose: () => {
19
+ listener.removeEventListener('change', fn);
20
+ },
21
+ };
22
+ };
23
+ export const createModeListener = (modeChangeCallback) => {
24
+ const listener = createMediaQueryListener(mobileMediaQuery, ({ matches }) => {
25
+ if (matches) {
26
+ modeChangeCallback('mobile');
27
+ return;
28
+ }
29
+ modeChangeCallback('desktop');
30
+ });
31
+ modeChangeCallback(listener.matchMedia.matches ? 'mobile' : 'desktop');
32
+ return {
33
+ dispose: listener.dispose,
34
+ matchMedia: listener.matchMedia,
35
+ };
36
+ };
@@ -0,0 +1,45 @@
1
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
2
+ if (kind === "a" && !f)
3
+ throw new TypeError("Private accessor was defined without a getter");
4
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
5
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
6
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
7
+ };
8
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
9
+ if (kind === "m")
10
+ throw new TypeError("Private method is not writable");
11
+ if (kind === "a" && !f)
12
+ throw new TypeError("Private accessor was defined without a setter");
13
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
14
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
15
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
16
+ };
17
+ var _ScreenMode_modeChangeListener, _ScreenMode_mode;
18
+ /*
19
+ * SPDX-FileCopyrightText: 2023 Siemens AG
20
+ *
21
+ * SPDX-License-Identifier: MIT
22
+ *
23
+ * This source code is licensed under the MIT license found in the
24
+ * LICENSE file in the root directory of this source tree.
25
+ */
26
+ import { TypedEvent } from '../typed-event';
27
+ import { createModeListener } from './mode';
28
+ class ScreenMode {
29
+ constructor() {
30
+ _ScreenMode_modeChangeListener.set(this, new TypedEvent());
31
+ _ScreenMode_mode.set(this, 'desktop');
32
+ createModeListener((mode) => {
33
+ __classPrivateFieldGet(this, _ScreenMode_modeChangeListener, "f").emit(mode);
34
+ __classPrivateFieldSet(this, _ScreenMode_mode, mode, "f");
35
+ });
36
+ }
37
+ get mode() {
38
+ return __classPrivateFieldGet(this, _ScreenMode_mode, "f");
39
+ }
40
+ get onChange() {
41
+ return __classPrivateFieldGet(this, _ScreenMode_modeChangeListener, "f");
42
+ }
43
+ }
44
+ _ScreenMode_modeChangeListener = new WeakMap(), _ScreenMode_mode = new WeakMap();
45
+ export const screenMode = new ScreenMode();
@@ -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
  *
@@ -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
  *
@@ -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
  *
@@ -10,7 +10,7 @@
10
10
  * COPYRIGHT (c) Siemens AG 2018-2022 ALL RIGHTS RESERVED.
11
11
  */
12
12
  /*
13
- * SPDX-FileCopyrightText: 2022 Siemens AG
13
+ * SPDX-FileCopyrightText: 2023 Siemens AG
14
14
  *
15
15
  * SPDX-License-Identifier: MIT
16
16
  *
@@ -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
  *
@@ -10,7 +10,7 @@
10
10
  * COPYRIGHT (c) Siemens AG 2018-2022 ALL RIGHTS RESERVED.
11
11
  */
12
12
  /*
13
- * SPDX-FileCopyrightText: 2022 Siemens AG
13
+ * SPDX-FileCopyrightText: 2023 Siemens AG
14
14
  *
15
15
  * SPDX-License-Identifier: MIT
16
16
  *
@@ -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
  *
@@ -8,6 +8,7 @@
8
8
  */
9
9
  export * from './components/date-picker/events';
10
10
  export * from './components/datetime-picker/event';
11
+ export * from './components/dropdown/dropdown-trigger-event';
11
12
  export * from './components/modal/modal-utils';
12
13
  export * from './components/toast/toast-utils';
13
14
  export * from './components/tree-item/default-tree-item';
@@ -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,9 @@
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
+ export * from './page';