@siemens/ix 1.6.2 → 2.0.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1110) hide show
  1. package/dist/cjs/a11y-fa9abd92.js +82 -0
  2. package/dist/cjs/a11y-fa9abd92.js.map +1 -0
  3. package/dist/cjs/base-button-497db257.js.map +1 -1
  4. package/dist/cjs/context-2ce9a350.js +26 -0
  5. package/dist/cjs/context-2ce9a350.js.map +1 -0
  6. package/dist/cjs/{flip-tile-state-b5ff5ea0.js → flip-tile-state-183236a1.js} +6 -6
  7. package/dist/cjs/{flip-tile-state-b5ff5ea0.js.map → flip-tile-state-183236a1.js.map} +1 -1
  8. package/dist/cjs/{floating-ui.dom.esm-01fe5abe.js → floating-ui.dom.esm-b79b633f.js} +1 -103
  9. package/dist/cjs/floating-ui.dom.esm-b79b633f.js.map +1 -0
  10. package/dist/cjs/{icon-4c954853.js → icon-eeb2940a.js} +2 -2
  11. package/dist/cjs/{icon-4c954853.js.map → icon-eeb2940a.js.map} +1 -1
  12. package/dist/cjs/{index-c978628a.js → index-e56a1d39.js} +77 -21
  13. package/dist/cjs/index-e56a1d39.js.map +1 -0
  14. package/dist/cjs/index.cjs.js +46 -7
  15. package/dist/cjs/index.cjs.js.map +1 -1
  16. package/dist/cjs/ix-action-card.cjs.entry.js +1 -1
  17. package/dist/cjs/ix-animated-tab_2.cjs.entry.js +1 -1
  18. package/dist/cjs/ix-application-header.cjs.entry.js +21 -18
  19. package/dist/cjs/ix-application-header.cjs.entry.js.map +1 -1
  20. package/dist/cjs/ix-avatar.cjs.entry.js +39 -0
  21. package/dist/cjs/ix-avatar.cjs.entry.js.map +1 -0
  22. package/dist/cjs/ix-basic-navigation.cjs.entry.js +13 -15
  23. package/dist/cjs/ix-basic-navigation.cjs.entry.js.map +1 -1
  24. package/dist/cjs/ix-blind.cjs.entry.js +3 -12
  25. package/dist/cjs/ix-blind.cjs.entry.js.map +1 -1
  26. package/dist/cjs/ix-breadcrumb_2.cjs.entry.js +1 -1
  27. package/dist/cjs/ix-burger-menu.cjs.entry.js +7 -3
  28. package/dist/cjs/ix-burger-menu.cjs.entry.js.map +1 -1
  29. package/dist/cjs/ix-button.cjs.entry.js +22 -4
  30. package/dist/cjs/ix-button.cjs.entry.js.map +1 -1
  31. package/dist/cjs/ix-card-accordion_2.cjs.entry.js +1 -1
  32. package/dist/cjs/ix-card-list.cjs.entry.js +1 -1
  33. package/dist/cjs/ix-card_2.cjs.entry.js +36 -0
  34. package/dist/cjs/ix-card_2.cjs.entry.js.map +1 -0
  35. package/dist/cjs/ix-category-filter.cjs.entry.js +2 -2
  36. package/dist/cjs/ix-category-filter.cjs.entry.js.map +1 -1
  37. package/dist/cjs/ix-chip.cjs.entry.js +23 -15
  38. package/dist/cjs/ix-chip.cjs.entry.js.map +1 -1
  39. package/dist/cjs/ix-content-header.cjs.entry.js +3 -3
  40. package/dist/cjs/ix-content-header.cjs.entry.js.map +1 -1
  41. package/dist/cjs/ix-css-grid-item.cjs.entry.js +1 -1
  42. package/dist/cjs/ix-css-grid.cjs.entry.js +1 -1
  43. package/dist/cjs/ix-date-picker_2.cjs.entry.js +8 -9
  44. package/dist/cjs/ix-date-picker_2.cjs.entry.js.map +1 -1
  45. package/dist/cjs/ix-date-time-card.cjs.entry.js +2 -3
  46. package/dist/cjs/ix-date-time-card.cjs.entry.js.map +1 -1
  47. package/dist/cjs/ix-datetime-picker.cjs.entry.js +2 -2
  48. package/dist/cjs/ix-datetime-picker.cjs.entry.js.map +1 -1
  49. package/dist/cjs/ix-divider.cjs.entry.js +1 -1
  50. package/dist/cjs/ix-drawer.cjs.entry.js +4 -1
  51. package/dist/cjs/ix-drawer.cjs.entry.js.map +1 -1
  52. package/dist/cjs/ix-dropdown-button.cjs.entry.js +7 -6
  53. package/dist/cjs/ix-dropdown-button.cjs.entry.js.map +1 -1
  54. package/dist/cjs/ix-dropdown-header.cjs.entry.js +22 -0
  55. package/dist/cjs/ix-dropdown-header.cjs.entry.js.map +1 -0
  56. package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +1 -1
  57. package/dist/cjs/ix-dropdown_2.cjs.entry.js +67 -33
  58. package/dist/cjs/ix-dropdown_2.cjs.entry.js.map +1 -1
  59. package/dist/cjs/ix-empty-state.cjs.entry.js +1 -1
  60. package/dist/cjs/ix-event-list_2.cjs.entry.js +44 -25
  61. package/dist/cjs/ix-event-list_2.cjs.entry.js.map +1 -1
  62. package/dist/cjs/ix-expanding-search.cjs.entry.js +5 -8
  63. package/dist/cjs/ix-expanding-search.cjs.entry.js.map +1 -1
  64. package/dist/cjs/ix-filter-chip.cjs.entry.js +3 -3
  65. package/dist/cjs/ix-filter-chip.cjs.entry.js.map +1 -1
  66. package/dist/cjs/ix-flip-tile_2.cjs.entry.js +3 -3
  67. package/dist/cjs/ix-flip-tile_2.cjs.entry.js.map +1 -1
  68. package/dist/cjs/ix-group-context-menu.cjs.entry.js +26 -14
  69. package/dist/cjs/ix-group-context-menu.cjs.entry.js.map +1 -1
  70. package/dist/cjs/ix-group_2.cjs.entry.js +159 -0
  71. package/dist/cjs/ix-group_2.cjs.entry.js.map +1 -0
  72. package/dist/cjs/ix-icon-button.cjs.entry.js +26 -5
  73. package/dist/cjs/ix-icon-button.cjs.entry.js.map +1 -1
  74. package/dist/cjs/ix-icon.cjs.entry.js +2 -2
  75. package/dist/cjs/ix-index-button.cjs.entry.js +4 -4
  76. package/dist/cjs/ix-index-button.cjs.entry.js.map +1 -1
  77. package/dist/cjs/ix-input-group.cjs.entry.js +2 -2
  78. package/dist/cjs/ix-input-group.cjs.entry.js.map +1 -1
  79. package/dist/cjs/ix-key-value-list.cjs.entry.js +1 -1
  80. package/dist/cjs/ix-key-value.cjs.entry.js +1 -1
  81. package/dist/cjs/ix-kpi.cjs.entry.js +1 -1
  82. package/dist/cjs/ix-link-button.cjs.entry.js +30 -0
  83. package/dist/cjs/ix-link-button.cjs.entry.js.map +1 -0
  84. package/dist/cjs/ix-map-navigation_2.cjs.entry.js +17 -7
  85. package/dist/cjs/ix-map-navigation_2.cjs.entry.js.map +1 -1
  86. package/dist/cjs/ix-menu-category.cjs.entry.js +138 -0
  87. package/dist/cjs/ix-menu-category.cjs.entry.js.map +1 -0
  88. package/dist/cjs/ix-menu_9.cjs.entry.js +252 -339
  89. package/dist/cjs/ix-menu_9.cjs.entry.js.map +1 -1
  90. package/dist/cjs/ix-message-bar.cjs.entry.js +1 -1
  91. package/dist/cjs/ix-modal-content.cjs.entry.js +21 -0
  92. package/dist/cjs/ix-modal-content.cjs.entry.js.map +1 -0
  93. package/dist/cjs/ix-modal-example.cjs.entry.js +6 -4
  94. package/dist/cjs/ix-modal-example.cjs.entry.js.map +1 -1
  95. package/dist/cjs/ix-modal-footer.cjs.entry.js +21 -0
  96. package/dist/cjs/ix-modal-footer.cjs.entry.js.map +1 -0
  97. package/dist/cjs/ix-modal-header.cjs.entry.js +48 -0
  98. package/dist/cjs/ix-modal-header.cjs.entry.js.map +1 -0
  99. package/dist/cjs/ix-modal-loading.cjs.entry.js +21 -0
  100. package/dist/cjs/ix-modal-loading.cjs.entry.js.map +1 -0
  101. package/dist/cjs/ix-modal.cjs.entry.js +130 -0
  102. package/dist/cjs/ix-modal.cjs.entry.js.map +1 -0
  103. package/dist/cjs/ix-pagination.cjs.entry.js +4 -4
  104. package/dist/cjs/ix-pagination.cjs.entry.js.map +1 -1
  105. package/dist/cjs/ix-pill.cjs.entry.js +28 -10
  106. package/dist/cjs/ix-pill.cjs.entry.js.map +1 -1
  107. package/dist/cjs/ix-push-card.cjs.entry.js +1 -1
  108. package/dist/cjs/ix-select_2.cjs.entry.js +20 -8
  109. package/dist/cjs/ix-select_2.cjs.entry.js.map +1 -1
  110. package/dist/cjs/ix-spinner.cjs.entry.js +10 -3
  111. package/dist/cjs/ix-spinner.cjs.entry.js.map +1 -1
  112. package/dist/cjs/ix-split-button_2.cjs.entry.js +15 -11
  113. package/dist/cjs/ix-split-button_2.cjs.entry.js.map +1 -1
  114. package/dist/cjs/ix-tab-item.cjs.entry.js +2 -2
  115. package/dist/cjs/ix-tab-item.cjs.entry.js.map +1 -1
  116. package/dist/cjs/ix-tabs.cjs.entry.js +14 -6
  117. package/dist/cjs/ix-tabs.cjs.entry.js.map +1 -1
  118. package/dist/cjs/ix-tile.cjs.entry.js +18 -3
  119. package/dist/cjs/ix-tile.cjs.entry.js.map +1 -1
  120. package/dist/cjs/ix-toast_2.cjs.entry.js +6 -7
  121. package/dist/cjs/ix-toast_2.cjs.entry.js.map +1 -1
  122. package/dist/cjs/ix-toggle.cjs.entry.js +11 -30
  123. package/dist/cjs/ix-toggle.cjs.entry.js.map +1 -1
  124. package/dist/cjs/ix-tooltip.cjs.entry.js +2 -2
  125. package/dist/cjs/ix-tree_2.cjs.entry.js +1 -1
  126. package/dist/cjs/ix-typography.cjs.entry.js +46 -0
  127. package/dist/cjs/ix-typography.cjs.entry.js.map +1 -0
  128. package/dist/cjs/ix-upload.cjs.entry.js +19 -7
  129. package/dist/cjs/ix-upload.cjs.entry.js.map +1 -1
  130. package/dist/cjs/ix-validation-tooltip.cjs.entry.js +6 -19
  131. package/dist/cjs/ix-validation-tooltip.cjs.entry.js.map +1 -1
  132. package/dist/cjs/ix-workflow-step_2.cjs.entry.js +14 -18
  133. package/dist/cjs/ix-workflow-step_2.cjs.entry.js.map +1 -1
  134. package/dist/cjs/loader.cjs.js +2 -2
  135. package/dist/cjs/menu-service-d1b87142.js +80 -0
  136. package/dist/cjs/menu-service-d1b87142.js.map +1 -0
  137. package/dist/cjs/modal-26ae4715.js +253 -0
  138. package/dist/cjs/modal-26ae4715.js.map +1 -0
  139. package/dist/cjs/my-component.cjs.entry.js +1 -1
  140. package/dist/cjs/my-component.cjs.entry.js.map +1 -1
  141. package/dist/cjs/service-0e27b06b.js +145 -0
  142. package/dist/cjs/service-0e27b06b.js.map +1 -0
  143. package/dist/cjs/shadow-dom-f9b90696.js +21 -0
  144. package/dist/cjs/shadow-dom-f9b90696.js.map +1 -0
  145. package/dist/cjs/siemens-ix.cjs.js +2 -2
  146. package/dist/collection/collection-manifest.json +18 -20
  147. package/dist/collection/components/application-header/application-header.css +2 -2
  148. package/dist/collection/components/application-header/application-header.js +43 -16
  149. package/dist/collection/components/application-header/application-header.js.map +1 -1
  150. package/dist/collection/components/avatar/avatar.css +70 -0
  151. package/dist/collection/components/avatar/avatar.js +80 -0
  152. package/dist/collection/components/avatar/avatar.js.map +1 -0
  153. package/dist/collection/components/basic-navigation/basic-navigation.css +32 -4
  154. package/dist/collection/components/basic-navigation/basic-navigation.js +11 -13
  155. package/dist/collection/components/basic-navigation/basic-navigation.js.map +1 -1
  156. package/dist/collection/components/button/base-button.js.map +1 -1
  157. package/dist/collection/components/button/button.css +31 -2
  158. package/dist/collection/components/button/button.js +60 -4
  159. package/dist/collection/components/button/button.js.map +1 -1
  160. package/dist/collection/components/button/test/button.ct.js +36 -0
  161. package/dist/collection/components/button/test/button.ct.js.map +1 -0
  162. package/dist/collection/components/category-filter/category-filter.js +1 -1
  163. package/dist/collection/components/category-filter/category-filter.js.map +1 -1
  164. package/dist/collection/components/chip/chip.css +149 -149
  165. package/dist/collection/components/chip/chip.js +22 -14
  166. package/dist/collection/components/chip/chip.js.map +1 -1
  167. package/dist/collection/components/content-header/content-header.js +4 -4
  168. package/dist/collection/components/content-header/content-header.js.map +1 -1
  169. package/dist/collection/components/date-picker/date-picker.css +12 -2
  170. package/dist/collection/components/date-picker/date-picker.js +4 -4
  171. package/dist/collection/components/date-picker/date-picker.js.map +1 -1
  172. package/dist/collection/components/date-time-card/date-time-card.css +28 -8
  173. package/dist/collection/components/date-time-card/date-time-card.js +1 -2
  174. package/dist/collection/components/date-time-card/date-time-card.js.map +1 -1
  175. package/dist/collection/components/datetime-picker/datetime-picker.css +16 -6
  176. package/dist/collection/components/datetime-picker/datetime-picker.js +1 -1
  177. package/dist/collection/components/datetime-picker/datetime-picker.js.map +1 -1
  178. package/dist/collection/components/drawer/drawer.js +3 -0
  179. package/dist/collection/components/drawer/drawer.js.map +1 -1
  180. package/dist/collection/components/drawer/test/drawer.ct.js +47 -0
  181. package/dist/collection/components/drawer/test/drawer.ct.js.map +1 -0
  182. package/dist/collection/components/dropdown/dropdown.css +16 -471
  183. package/dist/collection/components/dropdown/dropdown.js +77 -63
  184. package/dist/collection/components/dropdown/dropdown.js.map +1 -1
  185. package/dist/collection/components/dropdown/placement.js.map +1 -1
  186. package/dist/collection/components/dropdown-button/dropdown-button.css +16 -2
  187. package/dist/collection/components/dropdown-button/dropdown-button.js +13 -9
  188. package/dist/collection/components/dropdown-button/dropdown-button.js.map +1 -1
  189. package/dist/collection/components/dropdown-header/dropdown-header.css +32 -0
  190. package/dist/collection/components/{group-dropdown-item/group-dropdown-item.js → dropdown-header/dropdown-header.js} +11 -26
  191. package/dist/collection/components/dropdown-header/dropdown-header.js.map +1 -0
  192. package/dist/collection/components/dropdown-item/dropdown-item.css +85 -37
  193. package/dist/collection/components/dropdown-item/dropdown-item.js +57 -12
  194. package/dist/collection/components/dropdown-item/dropdown-item.js.map +1 -1
  195. package/dist/collection/components/event-list/event-list.css +20 -35
  196. package/dist/collection/components/event-list/event-list.js +35 -16
  197. package/dist/collection/components/event-list/event-list.js.map +1 -1
  198. package/dist/collection/components/event-list-item/event-list-item.css +62 -35
  199. package/dist/collection/components/event-list-item/event-list-item.js +17 -10
  200. package/dist/collection/components/event-list-item/event-list-item.js.map +1 -1
  201. package/dist/collection/components/expanding-search/expanding-search.css +262 -8
  202. package/dist/collection/components/expanding-search/expanding-search.js +4 -7
  203. package/dist/collection/components/expanding-search/expanding-search.js.map +1 -1
  204. package/dist/collection/components/expanding-search/test/expanding-search.ct.js +56 -0
  205. package/dist/collection/components/expanding-search/test/expanding-search.ct.js.map +1 -0
  206. package/dist/collection/components/filter-chip/filter-chip.css +39 -26
  207. package/dist/collection/components/filter-chip/filter-chip.js +2 -2
  208. package/dist/collection/components/filter-chip/filter-chip.js.map +1 -1
  209. package/dist/collection/components/flip-tile/flip-tile-state.js +5 -5
  210. package/dist/collection/components/flip-tile/flip-tile-state.js.map +1 -1
  211. package/dist/collection/components/flip-tile/flip-tile.js +1 -1
  212. package/dist/collection/components/flip-tile/flip-tile.js.map +1 -1
  213. package/dist/collection/components/group/group-context-menu.css +2 -3
  214. package/dist/collection/components/group/group-context-menu.js +27 -15
  215. package/dist/collection/components/group/group-context-menu.js.map +1 -1
  216. package/dist/collection/components/group/group.css +6 -0
  217. package/dist/collection/components/group/group.js +29 -48
  218. package/dist/collection/components/group/group.js.map +1 -1
  219. package/dist/collection/components/group-item/group-item.css +59 -33
  220. package/dist/collection/components/group-item/group-item.js +2 -2
  221. package/dist/collection/components/group-item/group-item.js.map +1 -1
  222. package/dist/collection/components/icon-button/icon-button.css +34 -3
  223. package/dist/collection/components/icon-button/icon-button.js +52 -7
  224. package/dist/collection/components/icon-button/icon-button.js.map +1 -1
  225. package/dist/collection/components/icon-button/test/icon-button.ct.js +26 -0
  226. package/dist/collection/components/icon-button/test/icon-button.ct.js.map +1 -0
  227. package/dist/collection/components/index-button/index-button.js +5 -5
  228. package/dist/collection/components/index-button/index-button.js.map +1 -1
  229. package/dist/collection/components/input-group/input-group.css +2 -0
  230. package/dist/collection/components/link-button/link-button.css +440 -0
  231. package/dist/collection/components/link-button/link-button.js +98 -0
  232. package/dist/collection/components/link-button/link-button.js.map +1 -0
  233. package/dist/collection/components/map-navigation/map-navigation.css +17 -1
  234. package/dist/collection/components/map-navigation/map-navigation.js +18 -7
  235. package/dist/collection/components/map-navigation/map-navigation.js.map +1 -1
  236. package/dist/collection/components/menu/burger-menu.css +388 -5
  237. package/dist/collection/components/menu/burger-menu.js +42 -2
  238. package/dist/collection/components/menu/burger-menu.js.map +1 -1
  239. package/dist/collection/components/menu/menu.css +1727 -24
  240. package/dist/collection/components/menu/menu.js +319 -335
  241. package/dist/collection/components/menu/menu.js.map +1 -1
  242. package/dist/collection/components/menu/test/menu.ct.js +164 -0
  243. package/dist/collection/components/menu/test/menu.ct.js.map +1 -0
  244. package/dist/collection/components/menu-about/menu-about.js +8 -7
  245. package/dist/collection/components/menu-about/menu-about.js.map +1 -1
  246. package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
  247. package/dist/collection/components/menu-about-item/menu-about-item.js.map +1 -1
  248. package/dist/collection/components/menu-about-news/menu-about-news.css +21 -6
  249. package/dist/collection/components/menu-about-news/menu-about-news.js +3 -3
  250. package/dist/collection/components/menu-about-news/menu-about-news.js.map +1 -1
  251. package/dist/collection/components/menu-avatar/menu-avatar.css +13 -1
  252. package/dist/collection/components/menu-avatar/menu-avatar.js +2 -9
  253. package/dist/collection/components/menu-avatar/menu-avatar.js.map +1 -1
  254. package/dist/collection/components/menu-avatar-item/menu-avatar-item.css +13 -1
  255. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +2 -2
  256. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js.map +1 -1
  257. package/dist/collection/components/menu-category/menu-category.css +63 -0
  258. package/dist/collection/components/menu-category/menu-category.js +212 -0
  259. package/dist/collection/components/menu-category/menu-category.js.map +1 -0
  260. package/dist/collection/components/menu-category/test/menu-category.ct.js +107 -0
  261. package/dist/collection/components/menu-category/test/menu-category.ct.js.map +1 -0
  262. package/dist/collection/components/menu-item/menu-item.css +6 -10
  263. package/dist/collection/components/menu-item/menu-item.js +40 -7
  264. package/dist/collection/components/menu-item/menu-item.js.map +1 -1
  265. package/dist/collection/components/menu-settings/menu-settings.css +13 -0
  266. package/dist/collection/components/menu-settings/menu-settings.js +9 -8
  267. package/dist/collection/components/menu-settings/menu-settings.js.map +1 -1
  268. package/dist/collection/components/menu-settings-item/menu-settings-item.css +0 -1
  269. package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
  270. package/dist/collection/components/menu-settings-item/menu-settings-item.js.map +1 -1
  271. package/dist/collection/components/modal/modal.css +58 -75
  272. package/dist/collection/components/modal/modal.js +143 -312
  273. package/dist/collection/components/modal/modal.js.map +1 -1
  274. package/dist/collection/components/modal-content/modal-content.css +27 -0
  275. package/dist/collection/components/modal-content/modal-content.js +30 -0
  276. package/dist/collection/components/modal-content/modal-content.js.map +1 -0
  277. package/dist/collection/components/modal-footer/modal-footer.css +30 -0
  278. package/dist/collection/components/modal-footer/modal-footer.js +30 -0
  279. package/dist/collection/components/modal-footer/modal-footer.js.map +1 -0
  280. package/dist/collection/components/modal-header/modal-header.css +34 -0
  281. package/dist/collection/components/modal-header/modal-header.js +139 -0
  282. package/dist/collection/components/modal-header/modal-header.js.map +1 -0
  283. package/dist/collection/components/modal-loading/modal-loading.css +22 -0
  284. package/dist/collection/components/modal-loading/modal-loading.js +30 -0
  285. package/dist/collection/components/modal-loading/modal-loading.js.map +1 -0
  286. package/dist/collection/components/my-component/example-modal.js +1 -1
  287. package/dist/collection/components/my-component/example-modal.js.map +1 -1
  288. package/dist/collection/components/my-component/my-component.js.map +1 -1
  289. package/dist/collection/components/pagination/pagination.js +3 -3
  290. package/dist/collection/components/pagination/pagination.js.map +1 -1
  291. package/dist/collection/components/pill/pill.css +102 -166
  292. package/dist/collection/components/pill/pill.js +27 -9
  293. package/dist/collection/components/pill/pill.js.map +1 -1
  294. package/dist/collection/components/select/select.css +4 -1
  295. package/dist/collection/components/select/select.js +32 -5
  296. package/dist/collection/components/select/select.js.map +1 -1
  297. package/dist/collection/components/select/test/select.ct.js +115 -0
  298. package/dist/collection/components/select/test/select.ct.js.map +1 -0
  299. package/dist/collection/components/select-item/select-item.css +12 -0
  300. package/dist/collection/components/select-item/select-item.js +3 -1
  301. package/dist/collection/components/select-item/select-item.js.map +1 -1
  302. package/dist/collection/components/spinner/spinner.css +428 -23
  303. package/dist/collection/components/spinner/spinner.js +33 -5
  304. package/dist/collection/components/spinner/spinner.js.map +1 -1
  305. package/dist/collection/components/split-button/split-button.css +40 -2
  306. package/dist/collection/components/split-button/split-button.js +18 -35
  307. package/dist/collection/components/split-button/split-button.js.map +1 -1
  308. package/dist/collection/components/split-button-item/split-button-item.css +1 -1
  309. package/dist/collection/components/split-button-item/split-button-item.js +2 -2
  310. package/dist/collection/components/split-button-item/split-button-item.js.map +1 -1
  311. package/dist/collection/components/tab-item/tab-item.css +115 -82
  312. package/dist/collection/components/tab-item/tab-item.js +1 -0
  313. package/dist/collection/components/tab-item/tab-item.js.map +1 -1
  314. package/dist/collection/components/tabs/tabs.css +37 -19
  315. package/dist/collection/components/tabs/tabs.js +13 -4
  316. package/dist/collection/components/tabs/tabs.js.map +1 -1
  317. package/dist/collection/components/tile/tile.css +57 -27
  318. package/dist/collection/components/tile/tile.js +23 -2
  319. package/dist/collection/components/tile/tile.js.map +1 -1
  320. package/dist/collection/components/time-picker/time-picker.css +253 -30
  321. package/dist/collection/components/time-picker/time-picker.js +3 -4
  322. package/dist/collection/components/time-picker/time-picker.js.map +1 -1
  323. package/dist/collection/components/toast/toast-container.js +2 -3
  324. package/dist/collection/components/toast/toast-container.js.map +1 -1
  325. package/dist/collection/components/toast/toast.css +37 -0
  326. package/dist/collection/components/toast/toast.js +5 -5
  327. package/dist/collection/components/toast/toast.js.map +1 -1
  328. package/dist/collection/components/toggle/test/toggle.ct.js +52 -0
  329. package/dist/collection/components/toggle/test/toggle.ct.js.map +1 -0
  330. package/dist/collection/components/toggle/toggle.css +72 -153
  331. package/dist/collection/components/toggle/toggle.js +11 -60
  332. package/dist/collection/components/toggle/toggle.js.map +1 -1
  333. package/dist/collection/components/typography/typography.css +53 -14
  334. package/dist/collection/components/typography/typography.js +2 -2
  335. package/dist/collection/components/typography/typography.js.map +1 -1
  336. package/dist/collection/components/upload/upload.css +24 -3
  337. package/dist/collection/components/upload/upload.js +18 -6
  338. package/dist/collection/components/upload/upload.js.map +1 -1
  339. package/dist/collection/components/utils/a11y.js +66 -0
  340. package/dist/collection/components/utils/a11y.js.map +1 -1
  341. package/dist/collection/components/utils/delegate.js +29 -0
  342. package/dist/collection/components/utils/delegate.js.map +1 -0
  343. package/dist/collection/components/utils/menu-service/menu-service.js +25 -0
  344. package/dist/collection/components/utils/menu-service/menu-service.js.map +1 -1
  345. package/dist/collection/components/{modal-container/modal-container.css → utils/modal/index.js} +4 -6
  346. package/dist/collection/components/utils/modal/index.js.map +1 -0
  347. package/dist/collection/components/utils/modal/loading.js +35 -0
  348. package/dist/collection/components/utils/modal/loading.js.map +1 -0
  349. package/dist/collection/components/utils/modal/message.js +138 -0
  350. package/dist/collection/components/utils/modal/message.js.map +1 -0
  351. package/dist/collection/components/utils/modal/modal.js +77 -0
  352. package/dist/collection/components/utils/modal/modal.js.map +1 -0
  353. package/dist/collection/components/utils/screen/context.js +4 -0
  354. package/dist/collection/components/utils/screen/context.js.map +1 -1
  355. package/dist/collection/components/utils/screen/mode.js +57 -9
  356. package/dist/collection/components/utils/screen/mode.js.map +1 -1
  357. package/dist/collection/components/utils/screen/service.js +26 -4
  358. package/dist/collection/components/utils/screen/service.js.map +1 -1
  359. package/dist/collection/components/utils/shadow-dom.js +19 -0
  360. package/dist/collection/components/utils/shadow-dom.js.map +1 -0
  361. package/dist/collection/components/validation-tooltip/validation-tooltip.js +29 -12
  362. package/dist/collection/components/validation-tooltip/validation-tooltip.js.map +1 -1
  363. package/dist/collection/components/workflow-step/workflow-step.css +13 -0
  364. package/dist/collection/components/workflow-step/workflow-step.js +3 -12
  365. package/dist/collection/components/workflow-step/workflow-step.js.map +1 -1
  366. package/dist/collection/components/workflow-steps/workflow-steps.css +13 -0
  367. package/dist/collection/components/workflow-steps/workflow-steps.js +19 -14
  368. package/dist/collection/components/workflow-steps/workflow-steps.js.map +1 -1
  369. package/dist/collection/index.js +2 -1
  370. package/dist/collection/index.js.map +1 -1
  371. package/dist/collection/tests/utils/test/page.js +12 -5
  372. package/dist/collection/tests/utils/test/page.js.map +1 -1
  373. package/dist/components/a11y.js +79 -0
  374. package/dist/components/a11y.js.map +1 -0
  375. package/dist/components/application-header.js +40 -18
  376. package/dist/components/application-header.js.map +1 -1
  377. package/dist/components/avatar.js +53 -0
  378. package/dist/components/avatar.js.map +1 -0
  379. package/dist/components/base-button.js.map +1 -1
  380. package/dist/components/burger-menu.js +28 -4
  381. package/dist/components/burger-menu.js.map +1 -1
  382. package/dist/components/button.js +37 -5
  383. package/dist/components/button.js.map +1 -1
  384. package/dist/components/context.js +22 -0
  385. package/dist/components/context.js.map +1 -0
  386. package/dist/components/date-picker.js +22 -15
  387. package/dist/components/date-picker.js.map +1 -1
  388. package/dist/components/date-time-card.js +3 -3
  389. package/dist/components/date-time-card.js.map +1 -1
  390. package/dist/components/divider.js +32 -0
  391. package/dist/components/divider.js.map +1 -0
  392. package/dist/components/dropdown-item.js +21 -13
  393. package/dist/components/dropdown-item.js.map +1 -1
  394. package/dist/components/dropdown.js +50 -22
  395. package/dist/components/dropdown.js.map +1 -1
  396. package/dist/components/filter-chip.js +18 -5
  397. package/dist/components/filter-chip.js.map +1 -1
  398. package/dist/components/flip-tile-state.js +5 -5
  399. package/dist/components/flip-tile-state.js.map +1 -1
  400. package/dist/components/floating-ui.dom.esm.js +1 -102
  401. package/dist/components/floating-ui.dom.esm.js.map +1 -1
  402. package/dist/components/group-context-menu.js +52 -19
  403. package/dist/components/group-context-menu.js.map +1 -1
  404. package/dist/components/group-item.js +4 -3
  405. package/dist/components/group-item.js.map +1 -1
  406. package/dist/components/icon-button.js +35 -7
  407. package/dist/components/icon-button.js.map +1 -1
  408. package/dist/components/index-button.js +3 -3
  409. package/dist/components/index-button.js.map +1 -1
  410. package/dist/components/index.js +37 -2
  411. package/dist/components/index.js.map +1 -1
  412. package/dist/components/{ix-group-dropdown-item.d.ts → ix-avatar.d.ts} +4 -4
  413. package/dist/components/ix-avatar.js +8 -0
  414. package/dist/components/ix-avatar.js.map +1 -0
  415. package/dist/components/ix-basic-navigation.js +35 -18
  416. package/dist/components/ix-basic-navigation.js.map +1 -1
  417. package/dist/components/ix-blind.js +1 -10
  418. package/dist/components/ix-blind.js.map +1 -1
  419. package/dist/components/ix-card-list.js +16 -10
  420. package/dist/components/ix-card-list.js.map +1 -1
  421. package/dist/components/ix-category-filter.js +15 -9
  422. package/dist/components/ix-category-filter.js.map +1 -1
  423. package/dist/components/ix-chip.js +38 -17
  424. package/dist/components/ix-chip.js.map +1 -1
  425. package/dist/components/ix-content-header.js +12 -6
  426. package/dist/components/ix-content-header.js.map +1 -1
  427. package/dist/components/ix-datetime-picker.js +21 -14
  428. package/dist/components/ix-datetime-picker.js.map +1 -1
  429. package/dist/components/ix-divider.js +1 -28
  430. package/dist/components/ix-divider.js.map +1 -1
  431. package/dist/components/ix-drawer.js +13 -4
  432. package/dist/components/ix-drawer.js.map +1 -1
  433. package/dist/components/ix-dropdown-button.js +22 -14
  434. package/dist/components/ix-dropdown-button.js.map +1 -1
  435. package/dist/components/{ix-modal-container.d.ts → ix-dropdown-header.d.ts} +4 -4
  436. package/dist/components/ix-dropdown-header.js +44 -0
  437. package/dist/components/ix-dropdown-header.js.map +1 -0
  438. package/dist/components/ix-empty-state.js +10 -4
  439. package/dist/components/ix-empty-state.js.map +1 -1
  440. package/dist/components/ix-event-list-item.js +21 -11
  441. package/dist/components/ix-event-list-item.js.map +1 -1
  442. package/dist/components/ix-event-list.js +34 -17
  443. package/dist/components/ix-event-list.js.map +1 -1
  444. package/dist/components/ix-expanding-search.js +16 -12
  445. package/dist/components/ix-expanding-search.js.map +1 -1
  446. package/dist/components/ix-flip-tile.js +11 -5
  447. package/dist/components/ix-flip-tile.js.map +1 -1
  448. package/dist/components/ix-group.js +50 -49
  449. package/dist/components/ix-group.js.map +1 -1
  450. package/dist/components/ix-input-group.js +1 -1
  451. package/dist/components/ix-input-group.js.map +1 -1
  452. package/dist/components/ix-link-button.d.ts +11 -0
  453. package/dist/components/ix-link-button.js +54 -0
  454. package/dist/components/ix-link-button.js.map +1 -0
  455. package/dist/components/ix-map-navigation.js +35 -17
  456. package/dist/components/ix-map-navigation.js.map +1 -1
  457. package/dist/components/ix-menu-about-item.js +3 -2
  458. package/dist/components/ix-menu-about-item.js.map +1 -1
  459. package/dist/components/ix-menu-about-news.js +27 -8
  460. package/dist/components/ix-menu-about-news.js.map +1 -1
  461. package/dist/components/ix-menu-about.js +18 -10
  462. package/dist/components/ix-menu-about.js.map +1 -1
  463. package/dist/components/ix-menu-avatar.js +11 -19
  464. package/dist/components/ix-menu-avatar.js.map +1 -1
  465. package/dist/components/ix-menu-category.d.ts +11 -0
  466. package/dist/components/ix-menu-category.js +196 -0
  467. package/dist/components/ix-menu-category.js.map +1 -0
  468. package/dist/components/ix-menu-settings-item.js +3 -2
  469. package/dist/components/ix-menu-settings-item.js.map +1 -1
  470. package/dist/components/ix-menu-settings.js +19 -11
  471. package/dist/components/ix-menu-settings.js.map +1 -1
  472. package/dist/components/ix-menu.js +238 -315
  473. package/dist/components/ix-menu.js.map +1 -1
  474. package/dist/components/ix-message-bar.js +10 -4
  475. package/dist/components/ix-message-bar.js.map +1 -1
  476. package/dist/components/ix-modal-content.d.ts +11 -0
  477. package/dist/components/ix-modal-content.js +35 -0
  478. package/dist/components/ix-modal-content.js.map +1 -0
  479. package/dist/components/ix-modal-example.js +10 -15
  480. package/dist/components/ix-modal-example.js.map +1 -1
  481. package/dist/components/{ix-counter-pill.d.ts → ix-modal-footer.d.ts} +4 -4
  482. package/dist/components/ix-modal-footer.js +35 -0
  483. package/dist/components/ix-modal-footer.js.map +1 -0
  484. package/dist/components/ix-modal-header.d.ts +11 -0
  485. package/dist/components/ix-modal-header.js +90 -0
  486. package/dist/components/ix-modal-header.js.map +1 -0
  487. package/dist/components/ix-modal-loading.d.ts +11 -0
  488. package/dist/components/ix-modal-loading.js +41 -0
  489. package/dist/components/ix-modal-loading.js.map +1 -0
  490. package/dist/components/ix-modal.js +148 -1
  491. package/dist/components/ix-modal.js.map +1 -1
  492. package/dist/components/ix-pagination.js +25 -19
  493. package/dist/components/ix-pagination.js.map +1 -1
  494. package/dist/components/ix-pill.js +29 -10
  495. package/dist/components/ix-pill.js.map +1 -1
  496. package/dist/components/ix-split-button-item.js +4 -3
  497. package/dist/components/ix-split-button-item.js.map +1 -1
  498. package/dist/components/ix-split-button.js +36 -14
  499. package/dist/components/ix-split-button.js.map +1 -1
  500. package/dist/components/ix-tile.js +22 -4
  501. package/dist/components/ix-tile.js.map +1 -1
  502. package/dist/components/ix-toast-container.js +12 -6
  503. package/dist/components/ix-toast-container.js.map +1 -1
  504. package/dist/components/ix-toggle.js +15 -34
  505. package/dist/components/ix-toggle.js.map +1 -1
  506. package/dist/components/ix-upload.js +28 -10
  507. package/dist/components/ix-upload.js.map +1 -1
  508. package/dist/components/ix-validation-tooltip.js +6 -18
  509. package/dist/components/ix-validation-tooltip.js.map +1 -1
  510. package/dist/components/ix-workflow-step.js +6 -5
  511. package/dist/components/ix-workflow-step.js.map +1 -1
  512. package/dist/components/ix-workflow-steps.js +13 -16
  513. package/dist/components/ix-workflow-steps.js.map +1 -1
  514. package/dist/components/map-navigation-overlay.js +10 -4
  515. package/dist/components/map-navigation-overlay.js.map +1 -1
  516. package/dist/components/menu-avatar-item.js +3 -2
  517. package/dist/components/menu-avatar-item.js.map +1 -1
  518. package/dist/components/menu-item.js +17 -3
  519. package/dist/components/menu-item.js.map +1 -1
  520. package/dist/components/menu-service.js +78 -0
  521. package/dist/components/menu-service.js.map +1 -0
  522. package/dist/components/modal.js +225 -165
  523. package/dist/components/modal.js.map +1 -1
  524. package/dist/components/my-component.js.map +1 -1
  525. package/dist/components/select-item.js +4 -2
  526. package/dist/components/select-item.js.map +1 -1
  527. package/dist/components/select.js +33 -17
  528. package/dist/components/select.js.map +1 -1
  529. package/dist/components/service.js +83 -81
  530. package/dist/components/service.js.map +1 -1
  531. package/dist/components/spinner.js +11 -3
  532. package/dist/components/spinner.js.map +1 -1
  533. package/dist/components/tab-item.js +3 -2
  534. package/dist/components/tab-item.js.map +1 -1
  535. package/dist/components/tabs.js +22 -7
  536. package/dist/components/tabs.js.map +1 -1
  537. package/dist/components/time-picker.js +19 -13
  538. package/dist/components/time-picker.js.map +1 -1
  539. package/dist/components/toast.js +17 -10
  540. package/dist/components/toast.js.map +1 -1
  541. package/dist/components/typography.js +3 -3
  542. package/dist/components/typography.js.map +1 -1
  543. package/dist/esm/a11y-aa83c2d1.js +79 -0
  544. package/dist/esm/a11y-aa83c2d1.js.map +1 -0
  545. package/dist/esm/base-button-5bfeb71c.js.map +1 -1
  546. package/dist/esm/context-381170ae.js +22 -0
  547. package/dist/esm/context-381170ae.js.map +1 -0
  548. package/dist/esm/{flip-tile-state-051bb2fd.js → flip-tile-state-db31345f.js} +6 -6
  549. package/dist/esm/{flip-tile-state-051bb2fd.js.map → flip-tile-state-db31345f.js.map} +1 -1
  550. package/dist/esm/{floating-ui.dom.esm-3130eda0.js → floating-ui.dom.esm-9b203a02.js} +2 -103
  551. package/dist/esm/floating-ui.dom.esm-9b203a02.js.map +1 -0
  552. package/dist/esm/{icon-c659fc0f.js → icon-4ac90a6d.js} +2 -2
  553. package/dist/esm/{icon-c659fc0f.js.map → icon-4ac90a6d.js.map} +1 -1
  554. package/dist/esm/{index-8ddfb6d8.js → index-7334ee80.js} +77 -22
  555. package/dist/esm/index-7334ee80.js.map +1 -0
  556. package/dist/esm/index.js +40 -5
  557. package/dist/esm/index.js.map +1 -1
  558. package/dist/esm/ix-action-card.entry.js +1 -1
  559. package/dist/esm/ix-animated-tab_2.entry.js +1 -1
  560. package/dist/esm/ix-application-header.entry.js +20 -17
  561. package/dist/esm/ix-application-header.entry.js.map +1 -1
  562. package/dist/esm/ix-avatar.entry.js +35 -0
  563. package/dist/esm/ix-avatar.entry.js.map +1 -0
  564. package/dist/esm/ix-basic-navigation.entry.js +13 -15
  565. package/dist/esm/ix-basic-navigation.entry.js.map +1 -1
  566. package/dist/esm/ix-blind.entry.js +2 -11
  567. package/dist/esm/ix-blind.entry.js.map +1 -1
  568. package/dist/esm/ix-breadcrumb_2.entry.js +1 -1
  569. package/dist/esm/ix-burger-menu.entry.js +7 -3
  570. package/dist/esm/ix-burger-menu.entry.js.map +1 -1
  571. package/dist/esm/ix-button.entry.js +22 -4
  572. package/dist/esm/ix-button.entry.js.map +1 -1
  573. package/dist/esm/ix-card-accordion_2.entry.js +1 -1
  574. package/dist/esm/ix-card-list.entry.js +1 -1
  575. package/dist/esm/ix-card_2.entry.js +31 -0
  576. package/dist/esm/ix-card_2.entry.js.map +1 -0
  577. package/dist/esm/ix-category-filter.entry.js +2 -2
  578. package/dist/esm/ix-category-filter.entry.js.map +1 -1
  579. package/dist/esm/ix-chip.entry.js +23 -15
  580. package/dist/esm/ix-chip.entry.js.map +1 -1
  581. package/dist/esm/ix-content-header.entry.js +3 -3
  582. package/dist/esm/ix-content-header.entry.js.map +1 -1
  583. package/dist/esm/ix-css-grid-item.entry.js +1 -1
  584. package/dist/esm/ix-css-grid.entry.js +1 -1
  585. package/dist/esm/ix-date-picker_2.entry.js +8 -9
  586. package/dist/esm/ix-date-picker_2.entry.js.map +1 -1
  587. package/dist/esm/ix-date-time-card.entry.js +2 -3
  588. package/dist/esm/ix-date-time-card.entry.js.map +1 -1
  589. package/dist/esm/ix-datetime-picker.entry.js +2 -2
  590. package/dist/esm/ix-datetime-picker.entry.js.map +1 -1
  591. package/dist/esm/ix-divider.entry.js +1 -1
  592. package/dist/esm/ix-drawer.entry.js +4 -1
  593. package/dist/esm/ix-drawer.entry.js.map +1 -1
  594. package/dist/esm/ix-dropdown-button.entry.js +7 -6
  595. package/dist/esm/ix-dropdown-button.entry.js.map +1 -1
  596. package/dist/esm/ix-dropdown-header.entry.js +18 -0
  597. package/dist/esm/ix-dropdown-header.entry.js.map +1 -0
  598. package/dist/esm/ix-dropdown-quick-actions.entry.js +1 -1
  599. package/dist/esm/ix-dropdown_2.entry.js +67 -33
  600. package/dist/esm/ix-dropdown_2.entry.js.map +1 -1
  601. package/dist/esm/ix-empty-state.entry.js +1 -1
  602. package/dist/esm/ix-event-list_2.entry.js +44 -25
  603. package/dist/esm/ix-event-list_2.entry.js.map +1 -1
  604. package/dist/esm/ix-expanding-search.entry.js +5 -8
  605. package/dist/esm/ix-expanding-search.entry.js.map +1 -1
  606. package/dist/esm/ix-filter-chip.entry.js +3 -3
  607. package/dist/esm/ix-filter-chip.entry.js.map +1 -1
  608. package/dist/esm/ix-flip-tile_2.entry.js +3 -3
  609. package/dist/esm/ix-flip-tile_2.entry.js.map +1 -1
  610. package/dist/esm/ix-group-context-menu.entry.js +26 -14
  611. package/dist/esm/ix-group-context-menu.entry.js.map +1 -1
  612. package/dist/esm/ix-group_2.entry.js +154 -0
  613. package/dist/esm/ix-group_2.entry.js.map +1 -0
  614. package/dist/esm/ix-icon-button.entry.js +26 -5
  615. package/dist/esm/ix-icon-button.entry.js.map +1 -1
  616. package/dist/esm/ix-icon.entry.js +2 -2
  617. package/dist/esm/ix-index-button.entry.js +4 -4
  618. package/dist/esm/ix-index-button.entry.js.map +1 -1
  619. package/dist/esm/ix-input-group.entry.js +2 -2
  620. package/dist/esm/ix-input-group.entry.js.map +1 -1
  621. package/dist/esm/ix-key-value-list.entry.js +1 -1
  622. package/dist/esm/ix-key-value.entry.js +1 -1
  623. package/dist/esm/ix-kpi.entry.js +1 -1
  624. package/dist/esm/ix-link-button.entry.js +26 -0
  625. package/dist/esm/ix-link-button.entry.js.map +1 -0
  626. package/dist/esm/ix-map-navigation_2.entry.js +17 -7
  627. package/dist/esm/ix-map-navigation_2.entry.js.map +1 -1
  628. package/dist/esm/ix-menu-category.entry.js +134 -0
  629. package/dist/esm/ix-menu-category.entry.js.map +1 -0
  630. package/dist/esm/ix-menu_9.entry.js +251 -338
  631. package/dist/esm/ix-menu_9.entry.js.map +1 -1
  632. package/dist/esm/ix-message-bar.entry.js +1 -1
  633. package/dist/esm/ix-modal-content.entry.js +17 -0
  634. package/dist/esm/ix-modal-content.entry.js.map +1 -0
  635. package/dist/esm/ix-modal-example.entry.js +4 -2
  636. package/dist/esm/ix-modal-example.entry.js.map +1 -1
  637. package/dist/esm/ix-modal-footer.entry.js +17 -0
  638. package/dist/esm/ix-modal-footer.entry.js.map +1 -0
  639. package/dist/esm/ix-modal-header.entry.js +44 -0
  640. package/dist/esm/ix-modal-header.entry.js.map +1 -0
  641. package/dist/esm/ix-modal-loading.entry.js +17 -0
  642. package/dist/esm/ix-modal-loading.entry.js.map +1 -0
  643. package/dist/esm/ix-modal.entry.js +126 -0
  644. package/dist/esm/ix-modal.entry.js.map +1 -0
  645. package/dist/esm/ix-pagination.entry.js +4 -4
  646. package/dist/esm/ix-pagination.entry.js.map +1 -1
  647. package/dist/esm/ix-pill.entry.js +28 -10
  648. package/dist/esm/ix-pill.entry.js.map +1 -1
  649. package/dist/esm/ix-push-card.entry.js +1 -1
  650. package/dist/esm/ix-select_2.entry.js +20 -8
  651. package/dist/esm/ix-select_2.entry.js.map +1 -1
  652. package/dist/esm/ix-spinner.entry.js +10 -3
  653. package/dist/esm/ix-spinner.entry.js.map +1 -1
  654. package/dist/esm/ix-split-button_2.entry.js +15 -11
  655. package/dist/esm/ix-split-button_2.entry.js.map +1 -1
  656. package/dist/esm/ix-tab-item.entry.js +2 -2
  657. package/dist/esm/ix-tab-item.entry.js.map +1 -1
  658. package/dist/esm/ix-tabs.entry.js +14 -6
  659. package/dist/esm/ix-tabs.entry.js.map +1 -1
  660. package/dist/esm/ix-tile.entry.js +18 -3
  661. package/dist/esm/ix-tile.entry.js.map +1 -1
  662. package/dist/esm/ix-toast_2.entry.js +6 -7
  663. package/dist/esm/ix-toast_2.entry.js.map +1 -1
  664. package/dist/esm/ix-toggle.entry.js +11 -30
  665. package/dist/esm/ix-toggle.entry.js.map +1 -1
  666. package/dist/esm/ix-tooltip.entry.js +2 -2
  667. package/dist/esm/ix-tree_2.entry.js +1 -1
  668. package/dist/esm/ix-typography.entry.js +42 -0
  669. package/dist/esm/ix-typography.entry.js.map +1 -0
  670. package/dist/esm/ix-upload.entry.js +19 -7
  671. package/dist/esm/ix-upload.entry.js.map +1 -1
  672. package/dist/esm/ix-validation-tooltip.entry.js +6 -19
  673. package/dist/esm/ix-validation-tooltip.entry.js.map +1 -1
  674. package/dist/esm/ix-workflow-step_2.entry.js +14 -18
  675. package/dist/esm/ix-workflow-step_2.entry.js.map +1 -1
  676. package/dist/esm/loader.js +3 -3
  677. package/dist/esm/menu-service-b3076949.js +78 -0
  678. package/dist/esm/menu-service-b3076949.js.map +1 -0
  679. package/dist/esm/modal-68c6d3f6.js +245 -0
  680. package/dist/esm/modal-68c6d3f6.js.map +1 -0
  681. package/dist/esm/my-component.entry.js +1 -1
  682. package/dist/esm/my-component.entry.js.map +1 -1
  683. package/dist/esm/service-586129b5.js +143 -0
  684. package/dist/esm/service-586129b5.js.map +1 -0
  685. package/dist/esm/shadow-dom-6860b1c4.js +18 -0
  686. package/dist/esm/shadow-dom-6860b1c4.js.map +1 -0
  687. package/dist/esm/siemens-ix.js +3 -3
  688. package/dist/siemens-ix/index.esm.js +1 -1
  689. package/dist/siemens-ix/index.esm.js.map +1 -1
  690. package/dist/siemens-ix/{p-d848739e.entry.js → p-00f74fc9.entry.js} +2 -2
  691. package/dist/siemens-ix/p-01c37ebe.entry.js +2 -0
  692. package/dist/siemens-ix/p-01c37ebe.entry.js.map +1 -0
  693. package/dist/siemens-ix/{p-6acce5c9.entry.js → p-02f01e39.entry.js} +2 -2
  694. package/dist/siemens-ix/p-0574cf88.entry.js +2 -0
  695. package/dist/siemens-ix/p-0574cf88.entry.js.map +1 -0
  696. package/dist/siemens-ix/p-06603826.entry.js +2 -0
  697. package/dist/siemens-ix/p-06603826.entry.js.map +1 -0
  698. package/dist/siemens-ix/p-06fcaee3.entry.js +2 -0
  699. package/dist/siemens-ix/p-06fcaee3.entry.js.map +1 -0
  700. package/dist/siemens-ix/{p-07c932da.entry.js → p-07a0b330.entry.js} +2 -2
  701. package/dist/siemens-ix/{p-3f4a9e1f.entry.js → p-09ce5f12.entry.js} +2 -2
  702. package/dist/siemens-ix/p-0b71cde4.js +2 -0
  703. package/dist/siemens-ix/p-0b71cde4.js.map +1 -0
  704. package/dist/siemens-ix/{p-f74c7692.entry.js → p-0c9ead45.entry.js} +2 -2
  705. package/dist/siemens-ix/{p-f74c7692.entry.js.map → p-0c9ead45.entry.js.map} +1 -1
  706. package/dist/siemens-ix/p-0dea55bf.entry.js +2 -0
  707. package/dist/siemens-ix/p-0dea55bf.entry.js.map +1 -0
  708. package/dist/siemens-ix/p-0e86b47b.entry.js +2 -0
  709. package/dist/siemens-ix/p-0e86b47b.entry.js.map +1 -0
  710. package/dist/siemens-ix/{p-13bda5ea.entry.js → p-0fab8cae.entry.js} +2 -2
  711. package/dist/siemens-ix/p-157f7ec0.entry.js +2 -0
  712. package/dist/siemens-ix/p-157f7ec0.entry.js.map +1 -0
  713. package/dist/siemens-ix/p-15996fa7.entry.js +2 -0
  714. package/dist/siemens-ix/p-15996fa7.entry.js.map +1 -0
  715. package/dist/siemens-ix/p-1b1bc523.entry.js +2 -0
  716. package/dist/siemens-ix/p-1b1bc523.entry.js.map +1 -0
  717. package/dist/siemens-ix/p-1b227e9a.js +2 -0
  718. package/dist/siemens-ix/{p-15bebd8a.js.map → p-1b227e9a.js.map} +1 -1
  719. package/dist/siemens-ix/{p-003e9355.entry.js → p-20aa7350.entry.js} +2 -2
  720. package/dist/siemens-ix/p-2ea3d53a.entry.js +2 -0
  721. package/dist/siemens-ix/p-2ea3d53a.entry.js.map +1 -0
  722. package/dist/siemens-ix/p-303b8c2f.entry.js +2 -0
  723. package/dist/siemens-ix/p-303b8c2f.entry.js.map +1 -0
  724. package/dist/siemens-ix/{p-f6ae45fb.entry.js → p-33670e98.entry.js} +2 -2
  725. package/dist/siemens-ix/p-34633470.entry.js +2 -0
  726. package/dist/siemens-ix/p-34633470.entry.js.map +1 -0
  727. package/dist/siemens-ix/{p-3ec2368b.entry.js → p-34807901.entry.js} +2 -2
  728. package/dist/siemens-ix/{p-3ec2368b.entry.js.map → p-34807901.entry.js.map} +1 -1
  729. package/dist/siemens-ix/p-38e69215.entry.js +2 -0
  730. package/dist/siemens-ix/p-38e69215.entry.js.map +1 -0
  731. package/dist/siemens-ix/p-3a99b0c8.entry.js +2 -0
  732. package/dist/siemens-ix/p-3a99b0c8.entry.js.map +1 -0
  733. package/dist/siemens-ix/p-45738e84.js +2 -0
  734. package/dist/siemens-ix/p-45738e84.js.map +1 -0
  735. package/dist/siemens-ix/{p-a89a1fa5.entry.js → p-4d194d55.entry.js} +2 -2
  736. package/dist/siemens-ix/{p-652ba2c1.entry.js → p-56a27b34.entry.js} +2 -2
  737. package/dist/siemens-ix/{p-652ba2c1.entry.js.map → p-56a27b34.entry.js.map} +1 -1
  738. package/dist/siemens-ix/p-5b39e04e.js.map +1 -1
  739. package/dist/siemens-ix/p-5fedb19b.entry.js +2 -0
  740. package/dist/siemens-ix/p-5fedb19b.entry.js.map +1 -0
  741. package/dist/siemens-ix/p-627148db.entry.js +2 -0
  742. package/dist/siemens-ix/p-627148db.entry.js.map +1 -0
  743. package/dist/siemens-ix/p-62f4db99.entry.js +2 -0
  744. package/dist/siemens-ix/p-62f4db99.entry.js.map +1 -0
  745. package/dist/siemens-ix/{p-626fbee2.entry.js → p-63b82e40.entry.js} +2 -2
  746. package/dist/siemens-ix/{p-626fbee2.entry.js.map → p-63b82e40.entry.js.map} +1 -1
  747. package/dist/siemens-ix/p-68c44614.entry.js +2 -0
  748. package/dist/siemens-ix/p-68c44614.entry.js.map +1 -0
  749. package/dist/siemens-ix/p-7021c2d1.entry.js +2 -0
  750. package/dist/siemens-ix/p-7021c2d1.entry.js.map +1 -0
  751. package/dist/siemens-ix/{p-d2225fc2.entry.js → p-709d38fe.entry.js} +2 -2
  752. package/dist/siemens-ix/p-785726e8.entry.js +2 -0
  753. package/dist/siemens-ix/p-785726e8.entry.js.map +1 -0
  754. package/dist/siemens-ix/p-7d2aec76.entry.js +2 -0
  755. package/dist/siemens-ix/{p-f207e578.entry.js.map → p-7d2aec76.entry.js.map} +1 -1
  756. package/dist/siemens-ix/{p-1331a920.entry.js → p-81333042.entry.js} +2 -2
  757. package/dist/siemens-ix/p-8c14a4a3.entry.js +2 -0
  758. package/dist/siemens-ix/p-8c14a4a3.entry.js.map +1 -0
  759. package/dist/siemens-ix/p-8ce73af1.entry.js +2 -0
  760. package/dist/siemens-ix/p-8ce73af1.entry.js.map +1 -0
  761. package/dist/siemens-ix/{p-85f01dba.entry.js → p-904aa275.entry.js} +2 -2
  762. package/dist/siemens-ix/{p-cd3cfc78.entry.js → p-918450cd.entry.js} +2 -2
  763. package/dist/siemens-ix/p-9547706d.entry.js +2 -0
  764. package/dist/siemens-ix/p-9547706d.entry.js.map +1 -0
  765. package/dist/siemens-ix/p-9903e755.entry.js +2 -0
  766. package/dist/siemens-ix/p-9903e755.entry.js.map +1 -0
  767. package/dist/siemens-ix/p-9c030990.js +2 -0
  768. package/dist/siemens-ix/p-9c030990.js.map +1 -0
  769. package/dist/siemens-ix/p-9d264ca8.entry.js +2 -0
  770. package/dist/siemens-ix/p-9d264ca8.entry.js.map +1 -0
  771. package/dist/siemens-ix/p-a64d88de.entry.js +2 -0
  772. package/dist/siemens-ix/p-a64d88de.entry.js.map +1 -0
  773. package/dist/siemens-ix/p-a8e8a942.entry.js +2 -0
  774. package/dist/siemens-ix/p-a8e8a942.entry.js.map +1 -0
  775. package/dist/siemens-ix/p-a9619a92.entry.js +2 -0
  776. package/dist/siemens-ix/p-a9619a92.entry.js.map +1 -0
  777. package/dist/siemens-ix/{p-a7212f01.entry.js → p-b21bc31c.entry.js} +2 -2
  778. package/dist/siemens-ix/p-b6d52b6f.entry.js +2 -0
  779. package/dist/siemens-ix/p-b6d52b6f.entry.js.map +1 -0
  780. package/dist/siemens-ix/{p-6c033b08.entry.js → p-b89172b4.entry.js} +2 -2
  781. package/dist/siemens-ix/p-b899b25b.js +3 -0
  782. package/dist/siemens-ix/p-b899b25b.js.map +1 -0
  783. package/dist/siemens-ix/p-bf019e35.entry.js +2 -0
  784. package/dist/siemens-ix/p-bf019e35.entry.js.map +1 -0
  785. package/dist/siemens-ix/p-c0345859.entry.js +2 -0
  786. package/dist/siemens-ix/p-c0345859.entry.js.map +1 -0
  787. package/dist/siemens-ix/{p-55b54a81.entry.js → p-c4ea8815.entry.js} +2 -2
  788. package/dist/siemens-ix/p-c4ea8815.entry.js.map +1 -0
  789. package/dist/siemens-ix/p-c84a43ef.entry.js +2 -0
  790. package/dist/siemens-ix/p-c84a43ef.entry.js.map +1 -0
  791. package/dist/siemens-ix/p-d0a8aa6f.entry.js +2 -0
  792. package/dist/siemens-ix/p-d43bf856.js +2 -0
  793. package/dist/siemens-ix/p-d43bf856.js.map +1 -0
  794. package/dist/siemens-ix/{p-b60bd26c.entry.js → p-d48d74af.entry.js} +2 -2
  795. package/dist/siemens-ix/{p-b60bd26c.entry.js.map → p-d48d74af.entry.js.map} +1 -1
  796. package/dist/siemens-ix/p-d737ad96.js +2 -0
  797. package/dist/siemens-ix/p-d737ad96.js.map +1 -0
  798. package/dist/siemens-ix/p-d7e8417d.entry.js +2 -0
  799. package/dist/siemens-ix/p-d7e8417d.entry.js.map +1 -0
  800. package/dist/siemens-ix/p-d81d0f62.entry.js +2 -0
  801. package/dist/siemens-ix/p-d81d0f62.entry.js.map +1 -0
  802. package/dist/siemens-ix/p-d991a3d6.entry.js +2 -0
  803. package/dist/siemens-ix/p-d991a3d6.entry.js.map +1 -0
  804. package/dist/siemens-ix/{p-b1db27a3.js → p-db74796e.js} +2 -2
  805. package/dist/siemens-ix/p-dbca4dd5.entry.js +2 -0
  806. package/dist/siemens-ix/p-dbca4dd5.entry.js.map +1 -0
  807. package/dist/siemens-ix/p-e1c92dcb.entry.js +2 -0
  808. package/dist/siemens-ix/p-e1c92dcb.entry.js.map +1 -0
  809. package/dist/siemens-ix/p-e275814e.js +2 -0
  810. package/dist/siemens-ix/p-e275814e.js.map +1 -0
  811. package/dist/siemens-ix/p-e3db25ef.entry.js +2 -0
  812. package/dist/siemens-ix/p-e3db25ef.entry.js.map +1 -0
  813. package/dist/siemens-ix/p-e8f2e141.entry.js +2 -0
  814. package/dist/siemens-ix/p-e8f2e141.entry.js.map +1 -0
  815. package/dist/siemens-ix/p-eca0b89c.entry.js +2 -0
  816. package/dist/siemens-ix/p-eca0b89c.entry.js.map +1 -0
  817. package/dist/siemens-ix/p-ef73f7e3.entry.js +2 -0
  818. package/dist/siemens-ix/p-ef73f7e3.entry.js.map +1 -0
  819. package/dist/siemens-ix/{p-bd24f35f.entry.js → p-f0219d7a.entry.js} +2 -2
  820. package/dist/siemens-ix/p-f22423c2.js +2 -0
  821. package/dist/siemens-ix/p-f22423c2.js.map +1 -0
  822. package/dist/siemens-ix/{p-1e8ee4af.entry.js → p-f38e7420.entry.js} +2 -2
  823. package/dist/siemens-ix/p-f4d634f5.entry.js +2 -0
  824. package/dist/siemens-ix/p-f4d634f5.entry.js.map +1 -0
  825. package/dist/siemens-ix/{p-94ab7c1c.entry.js → p-fafe1aeb.entry.js} +2 -2
  826. package/dist/siemens-ix/{p-94ab7c1c.entry.js.map → p-fafe1aeb.entry.js.map} +1 -1
  827. package/dist/siemens-ix/p-fe073f2a.entry.js +2 -0
  828. package/dist/siemens-ix/p-fe073f2a.entry.js.map +1 -0
  829. package/dist/siemens-ix/{p-6124d173.entry.js → p-ff17104c.entry.js} +2 -2
  830. package/dist/siemens-ix/siemens-ix-core.css +12289 -0
  831. package/dist/siemens-ix/siemens-ix.css +941 -875
  832. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  833. package/dist/siemens-ix/siemens-ix.esm.js.map +1 -1
  834. package/dist/siemens-ix/theme/classic-dark.css +1062 -0
  835. package/dist/siemens-ix/theme/classic-light.css +1062 -0
  836. package/dist/siemens-ix/theme/legacy-classic-dark.css +1061 -0
  837. package/dist/siemens-ix/theme/legacy-classic-light.css +1061 -0
  838. package/dist/types/components/application-header/application-header.d.ts +5 -1
  839. package/dist/types/components/avatar/avatar.d.ts +17 -0
  840. package/dist/types/components/basic-navigation/basic-navigation.d.ts +2 -3
  841. package/dist/types/components/button/base-button.d.ts +2 -1
  842. package/dist/types/components/button/button.d.ts +18 -1
  843. package/dist/types/components/button/test/button.ct.d.ts +1 -0
  844. package/dist/types/components/content-header/content-header.d.ts +1 -1
  845. package/dist/types/components/date-time-card/date-time-card.d.ts +0 -1
  846. package/dist/types/components/drawer/drawer.d.ts +1 -0
  847. package/dist/types/components/drawer/test/drawer.ct.d.ts +1 -0
  848. package/dist/types/components/dropdown/dropdown.d.ts +10 -13
  849. package/dist/types/components/dropdown/placement.d.ts +3 -4
  850. package/dist/types/components/dropdown-button/dropdown-button.d.ts +3 -1
  851. package/dist/types/components/dropdown-header/dropdown-header.d.ts +10 -0
  852. package/dist/types/components/dropdown-item/dropdown-item.d.ts +9 -0
  853. package/dist/types/components/event-list/event-list.d.ts +3 -1
  854. package/dist/types/components/event-list-item/event-list-item.d.ts +4 -2
  855. package/dist/types/components/expanding-search/test/expanding-search.ct.d.ts +1 -0
  856. package/dist/types/components/flip-tile/flip-tile-state.d.ts +5 -5
  857. package/dist/types/components/group/group-context-menu.d.ts +3 -4
  858. package/dist/types/components/group/group.d.ts +7 -8
  859. package/dist/types/components/icon-button/icon-button.d.ts +16 -1
  860. package/dist/types/components/icon-button/test/icon-button.ct.d.ts +1 -0
  861. package/dist/types/components/link-button/link-button.d.ts +20 -0
  862. package/dist/types/components/map-navigation/map-navigation.d.ts +3 -1
  863. package/dist/types/components/menu/burger-menu.d.ts +9 -1
  864. package/dist/types/components/menu/menu.d.ts +45 -34
  865. package/dist/types/components/menu/test/menu.ct.d.ts +1 -0
  866. package/dist/types/components/menu-about/menu-about.d.ts +4 -1
  867. package/dist/types/components/menu-category/menu-category.d.ts +37 -0
  868. package/dist/types/components/menu-category/test/menu-category.ct.d.ts +1 -0
  869. package/dist/types/components/menu-item/menu-item.d.ts +9 -2
  870. package/dist/types/components/menu-settings/menu-settings.d.ts +4 -1
  871. package/dist/types/components/modal/modal.d.ts +35 -66
  872. package/dist/types/components/modal-content/modal-content.d.ts +6 -0
  873. package/dist/types/components/modal-footer/modal-footer.d.ts +6 -0
  874. package/dist/types/components/modal-header/modal-header.d.ts +28 -0
  875. package/dist/types/components/modal-loading/modal-loading.d.ts +6 -0
  876. package/dist/types/components/select/select.d.ts +9 -1
  877. package/dist/types/components/select/test/select.ct.d.ts +1 -0
  878. package/dist/types/components/spinner/spinner.d.ts +7 -2
  879. package/dist/types/components/split-button/split-button.d.ts +3 -9
  880. package/dist/types/components/tile/tile.d.ts +5 -0
  881. package/dist/types/components/time-picker/time-picker.d.ts +0 -1
  882. package/dist/types/components/toast/toast-container.d.ts +0 -1
  883. package/dist/types/components/toast/toast.d.ts +1 -1
  884. package/dist/types/components/toggle/test/toggle.ct.d.ts +1 -0
  885. package/dist/types/components/toggle/toggle.d.ts +3 -10
  886. package/dist/types/components/utils/a11y.d.ts +7 -0
  887. package/dist/types/components/utils/delegate.d.ts +15 -0
  888. package/dist/types/components/utils/menu-service/menu-service.d.ts +3 -0
  889. package/dist/types/components/utils/modal/index.d.ts +3 -0
  890. package/dist/types/components/utils/modal/loading.d.ts +4 -0
  891. package/dist/types/components/utils/modal/message.d.ts +41 -0
  892. package/dist/types/components/utils/modal/modal.d.ts +25 -0
  893. package/dist/types/components/utils/screen/context.d.ts +1 -0
  894. package/dist/types/components/utils/screen/mode.d.ts +5 -2
  895. package/dist/types/components/utils/screen/service.d.ts +5 -0
  896. package/dist/types/components/utils/shadow-dom.d.ts +3 -0
  897. package/dist/types/components/validation-tooltip/validation-tooltip.d.ts +8 -2
  898. package/dist/types/components/workflow-step/workflow-step.d.ts +1 -1
  899. package/dist/types/components/workflow-steps/workflow-steps.d.ts +1 -1
  900. package/dist/types/components.d.ts +466 -265
  901. package/dist/types/index.d.ts +2 -1
  902. package/package.json +7 -6
  903. package/scss/components/_buttons.scss +4 -0
  904. package/scss/components/_dropdown.scss +1 -0
  905. package/scss/components/_forms.scss +1 -0
  906. package/scss/components/_links.scss +24 -0
  907. package/scss/ix-core.scss +84 -0
  908. package/scss/mixins/_hover.scss +32 -0
  909. package/{dist/collection/components/group-dropdown-item/group-dropdown-item.css → scss/mixins/shadow-dom/_host-disabled.scss} +6 -3
  910. package/scss/mixins/shadow-dom/_hover.scss +26 -0
  911. package/scss/theme/classic-dark/_borderRadius.scss +5 -5
  912. package/scss/theme/classic-dark/_borderWidth.scss +5 -5
  913. package/scss/theme/classic-dark/_boxShadow.scss +7 -7
  914. package/scss/theme/classic-dark/_color.scss +423 -418
  915. package/scss/theme/classic-dark/_other.scss +4 -4
  916. package/scss/theme/classic-dark/_sizing.scss +1 -1
  917. package/scss/theme/classic-light/_borderRadius.scss +4 -4
  918. package/scss/theme/classic-light/_borderWidth.scss +5 -5
  919. package/scss/theme/classic-light/_boxShadow.scss +7 -7
  920. package/scss/theme/classic-light/_color.scss +420 -415
  921. package/scss/theme/classic-light/_other.scss +4 -4
  922. package/scss/theme/classic-light/_sizing.scss +1 -1
  923. package/scss/theme/legacy-classic-dark/_border.scss +35 -0
  924. package/scss/theme/legacy-classic-dark/_borderRadius.scss +24 -0
  925. package/scss/theme/legacy-classic-dark/_borderWidth.scss +18 -0
  926. package/scss/theme/legacy-classic-dark/_boxShadow.scss +19 -0
  927. package/scss/theme/legacy-classic-dark/_color.scss +864 -0
  928. package/scss/theme/legacy-classic-dark/_fontFamilies.scss +8 -0
  929. package/scss/theme/legacy-classic-dark/_fontSizes.scss +13 -0
  930. package/scss/theme/legacy-classic-dark/_fontWeights.scss +9 -0
  931. package/scss/theme/legacy-classic-dark/_index.scss +16 -0
  932. package/scss/theme/legacy-classic-dark/_lineHeights.scss +18 -0
  933. package/scss/theme/legacy-classic-dark/_other.scss +16 -0
  934. package/scss/theme/legacy-classic-dark/_sizing.scss +16 -0
  935. package/scss/theme/legacy-classic-dark/_spacing.scss +9 -0
  936. package/scss/theme/legacy-classic-dark/_typography.scss +23 -0
  937. package/scss/theme/legacy-classic-light/_border.scss +35 -0
  938. package/scss/theme/legacy-classic-light/_borderRadius.scss +24 -0
  939. package/scss/theme/legacy-classic-light/_borderWidth.scss +18 -0
  940. package/scss/theme/legacy-classic-light/_boxShadow.scss +19 -0
  941. package/scss/theme/legacy-classic-light/_color.scss +864 -0
  942. package/scss/theme/legacy-classic-light/_fontFamilies.scss +8 -0
  943. package/scss/theme/legacy-classic-light/_fontSizes.scss +13 -0
  944. package/scss/theme/legacy-classic-light/_fontWeights.scss +9 -0
  945. package/scss/theme/legacy-classic-light/_index.scss +16 -0
  946. package/scss/theme/legacy-classic-light/_lineHeights.scss +18 -0
  947. package/scss/theme/legacy-classic-light/_other.scss +16 -0
  948. package/scss/theme/legacy-classic-light/_sizing.scss +16 -0
  949. package/scss/theme/legacy-classic-light/_spacing.scss +9 -0
  950. package/scss/theme/legacy-classic-light/_typography.scss +23 -0
  951. package/dist/cjs/context-a0900b95.js +0 -77
  952. package/dist/cjs/context-a0900b95.js.map +0 -1
  953. package/dist/cjs/floating-ui.dom.esm-01fe5abe.js.map +0 -1
  954. package/dist/cjs/index-c978628a.js.map +0 -1
  955. package/dist/cjs/ix-card_3.cjs.entry.js +0 -74
  956. package/dist/cjs/ix-card_3.cjs.entry.js.map +0 -1
  957. package/dist/cjs/ix-counter-pill.cjs.entry.js +0 -35
  958. package/dist/cjs/ix-counter-pill.cjs.entry.js.map +0 -1
  959. package/dist/cjs/ix-group_3.cjs.entry.js +0 -181
  960. package/dist/cjs/ix-group_3.cjs.entry.js.map +0 -1
  961. package/dist/cjs/ix-modal_2.cjs.entry.js +0 -227
  962. package/dist/cjs/ix-modal_2.cjs.entry.js.map +0 -1
  963. package/dist/cjs/modal-utils-b645989b.js +0 -44
  964. package/dist/cjs/modal-utils-b645989b.js.map +0 -1
  965. package/dist/cjs/service-18dc5907.js +0 -75
  966. package/dist/cjs/service-18dc5907.js.map +0 -1
  967. package/dist/collection/components/counter-pill/counter-pill.css +0 -323
  968. package/dist/collection/components/counter-pill/counter-pill.js +0 -135
  969. package/dist/collection/components/counter-pill/counter-pill.js.map +0 -1
  970. package/dist/collection/components/dropdown/alignment.js +0 -10
  971. package/dist/collection/components/dropdown/alignment.js.map +0 -1
  972. package/dist/collection/components/group-dropdown-item/group-dropdown-item.js.map +0 -1
  973. package/dist/collection/components/modal/modal-utils.js +0 -37
  974. package/dist/collection/components/modal/modal-utils.js.map +0 -1
  975. package/dist/collection/components/modal-container/modal-container.js +0 -126
  976. package/dist/collection/components/modal-container/modal-container.js.map +0 -1
  977. package/dist/components/ix-counter-pill.js +0 -54
  978. package/dist/components/ix-counter-pill.js.map +0 -1
  979. package/dist/components/ix-group-dropdown-item.js +0 -51
  980. package/dist/components/ix-group-dropdown-item.js.map +0 -1
  981. package/dist/components/ix-modal-container.js +0 -8
  982. package/dist/components/ix-modal-container.js.map +0 -1
  983. package/dist/components/modal-container.js +0 -109
  984. package/dist/components/modal-container.js.map +0 -1
  985. package/dist/components/modal-utils.js +0 -40
  986. package/dist/components/modal-utils.js.map +0 -1
  987. package/dist/esm/context-f6a2b727.js +0 -73
  988. package/dist/esm/context-f6a2b727.js.map +0 -1
  989. package/dist/esm/floating-ui.dom.esm-3130eda0.js.map +0 -1
  990. package/dist/esm/index-8ddfb6d8.js.map +0 -1
  991. package/dist/esm/ix-card_3.entry.js +0 -68
  992. package/dist/esm/ix-card_3.entry.js.map +0 -1
  993. package/dist/esm/ix-counter-pill.entry.js +0 -31
  994. package/dist/esm/ix-counter-pill.entry.js.map +0 -1
  995. package/dist/esm/ix-group_3.entry.js +0 -175
  996. package/dist/esm/ix-group_3.entry.js.map +0 -1
  997. package/dist/esm/ix-modal_2.entry.js +0 -222
  998. package/dist/esm/ix-modal_2.entry.js.map +0 -1
  999. package/dist/esm/modal-utils-aecbcba5.js +0 -40
  1000. package/dist/esm/modal-utils-aecbcba5.js.map +0 -1
  1001. package/dist/esm/service-fc436c5b.js +0 -73
  1002. package/dist/esm/service-fc436c5b.js.map +0 -1
  1003. package/dist/siemens-ix/p-1572aab3.js +0 -2
  1004. package/dist/siemens-ix/p-1572aab3.js.map +0 -1
  1005. package/dist/siemens-ix/p-15bebd8a.js +0 -2
  1006. package/dist/siemens-ix/p-1c64b073.js +0 -3
  1007. package/dist/siemens-ix/p-1c64b073.js.map +0 -1
  1008. package/dist/siemens-ix/p-3172249b.entry.js +0 -2
  1009. package/dist/siemens-ix/p-3172249b.entry.js.map +0 -1
  1010. package/dist/siemens-ix/p-3ddf017b.entry.js +0 -2
  1011. package/dist/siemens-ix/p-40982e21.entry.js +0 -2
  1012. package/dist/siemens-ix/p-40982e21.entry.js.map +0 -1
  1013. package/dist/siemens-ix/p-4597dd77.entry.js +0 -2
  1014. package/dist/siemens-ix/p-4597dd77.entry.js.map +0 -1
  1015. package/dist/siemens-ix/p-46ced516.entry.js +0 -2
  1016. package/dist/siemens-ix/p-46ced516.entry.js.map +0 -1
  1017. package/dist/siemens-ix/p-47422d47.entry.js +0 -2
  1018. package/dist/siemens-ix/p-47422d47.entry.js.map +0 -1
  1019. package/dist/siemens-ix/p-4851ea38.entry.js +0 -2
  1020. package/dist/siemens-ix/p-4851ea38.entry.js.map +0 -1
  1021. package/dist/siemens-ix/p-4e851aa3.entry.js +0 -2
  1022. package/dist/siemens-ix/p-4e851aa3.entry.js.map +0 -1
  1023. package/dist/siemens-ix/p-51c81a20.entry.js +0 -2
  1024. package/dist/siemens-ix/p-51c81a20.entry.js.map +0 -1
  1025. package/dist/siemens-ix/p-529d7530.js +0 -2
  1026. package/dist/siemens-ix/p-529d7530.js.map +0 -1
  1027. package/dist/siemens-ix/p-55b54a81.entry.js.map +0 -1
  1028. package/dist/siemens-ix/p-67be3720.entry.js +0 -2
  1029. package/dist/siemens-ix/p-67be3720.entry.js.map +0 -1
  1030. package/dist/siemens-ix/p-821ca55e.entry.js +0 -2
  1031. package/dist/siemens-ix/p-821ca55e.entry.js.map +0 -1
  1032. package/dist/siemens-ix/p-8719eeff.entry.js +0 -2
  1033. package/dist/siemens-ix/p-8719eeff.entry.js.map +0 -1
  1034. package/dist/siemens-ix/p-9a82921b.entry.js +0 -2
  1035. package/dist/siemens-ix/p-9a82921b.entry.js.map +0 -1
  1036. package/dist/siemens-ix/p-a08e1bbc.entry.js +0 -2
  1037. package/dist/siemens-ix/p-a08e1bbc.entry.js.map +0 -1
  1038. package/dist/siemens-ix/p-a422c64a.entry.js +0 -2
  1039. package/dist/siemens-ix/p-a422c64a.entry.js.map +0 -1
  1040. package/dist/siemens-ix/p-a73580a5.entry.js +0 -2
  1041. package/dist/siemens-ix/p-a73580a5.entry.js.map +0 -1
  1042. package/dist/siemens-ix/p-b14308ed.js +0 -2
  1043. package/dist/siemens-ix/p-b14308ed.js.map +0 -1
  1044. package/dist/siemens-ix/p-b5c40bb3.entry.js +0 -2
  1045. package/dist/siemens-ix/p-b5c40bb3.entry.js.map +0 -1
  1046. package/dist/siemens-ix/p-c5124f7b.entry.js +0 -2
  1047. package/dist/siemens-ix/p-c5124f7b.entry.js.map +0 -1
  1048. package/dist/siemens-ix/p-c7109071.entry.js +0 -2
  1049. package/dist/siemens-ix/p-c7109071.entry.js.map +0 -1
  1050. package/dist/siemens-ix/p-c724bb65.entry.js +0 -2
  1051. package/dist/siemens-ix/p-c724bb65.entry.js.map +0 -1
  1052. package/dist/siemens-ix/p-ca4d28fb.entry.js +0 -2
  1053. package/dist/siemens-ix/p-ca4d28fb.entry.js.map +0 -1
  1054. package/dist/siemens-ix/p-cd4e3593.entry.js +0 -2
  1055. package/dist/siemens-ix/p-cd4e3593.entry.js.map +0 -1
  1056. package/dist/siemens-ix/p-cd75b455.entry.js +0 -2
  1057. package/dist/siemens-ix/p-cd75b455.entry.js.map +0 -1
  1058. package/dist/siemens-ix/p-cf2717c1.entry.js +0 -2
  1059. package/dist/siemens-ix/p-cf2717c1.entry.js.map +0 -1
  1060. package/dist/siemens-ix/p-d5302336.entry.js +0 -2
  1061. package/dist/siemens-ix/p-d5302336.entry.js.map +0 -1
  1062. package/dist/siemens-ix/p-d784a04b.entry.js +0 -2
  1063. package/dist/siemens-ix/p-d784a04b.entry.js.map +0 -1
  1064. package/dist/siemens-ix/p-d7e23a1f.entry.js +0 -2
  1065. package/dist/siemens-ix/p-d7e23a1f.entry.js.map +0 -1
  1066. package/dist/siemens-ix/p-dbcec49e.entry.js +0 -2
  1067. package/dist/siemens-ix/p-dbcec49e.entry.js.map +0 -1
  1068. package/dist/siemens-ix/p-dc98d3f4.entry.js +0 -2
  1069. package/dist/siemens-ix/p-dc98d3f4.entry.js.map +0 -1
  1070. package/dist/siemens-ix/p-df138b2a.entry.js +0 -2
  1071. package/dist/siemens-ix/p-df138b2a.entry.js.map +0 -1
  1072. package/dist/siemens-ix/p-ea55afa3.entry.js +0 -2
  1073. package/dist/siemens-ix/p-ea55afa3.entry.js.map +0 -1
  1074. package/dist/siemens-ix/p-eccc2475.entry.js +0 -2
  1075. package/dist/siemens-ix/p-eccc2475.entry.js.map +0 -1
  1076. package/dist/siemens-ix/p-ecd1145b.entry.js +0 -2
  1077. package/dist/siemens-ix/p-ecd1145b.entry.js.map +0 -1
  1078. package/dist/siemens-ix/p-f207e578.entry.js +0 -2
  1079. package/dist/siemens-ix/p-f34a16c6.js +0 -2
  1080. package/dist/siemens-ix/p-f34a16c6.js.map +0 -1
  1081. package/dist/siemens-ix/p-f48b706b.entry.js +0 -2
  1082. package/dist/siemens-ix/p-f48b706b.entry.js.map +0 -1
  1083. package/dist/siemens-ix/p-f50697b9.entry.js +0 -2
  1084. package/dist/siemens-ix/p-f50697b9.entry.js.map +0 -1
  1085. package/dist/siemens-ix/p-feb8c2c4.entry.js +0 -2
  1086. package/dist/siemens-ix/p-feb8c2c4.entry.js.map +0 -1
  1087. package/dist/types/components/counter-pill/counter-pill.d.ts +0 -24
  1088. package/dist/types/components/dropdown/alignment.d.ts +0 -2
  1089. package/dist/types/components/group-dropdown-item/group-dropdown-item.d.ts +0 -11
  1090. package/dist/types/components/modal/modal-utils.d.ts +0 -29
  1091. package/dist/types/components/modal-container/modal-container.d.ts +0 -12
  1092. /package/dist/siemens-ix/{p-d848739e.entry.js.map → p-00f74fc9.entry.js.map} +0 -0
  1093. /package/dist/siemens-ix/{p-6acce5c9.entry.js.map → p-02f01e39.entry.js.map} +0 -0
  1094. /package/dist/siemens-ix/{p-07c932da.entry.js.map → p-07a0b330.entry.js.map} +0 -0
  1095. /package/dist/siemens-ix/{p-3f4a9e1f.entry.js.map → p-09ce5f12.entry.js.map} +0 -0
  1096. /package/dist/siemens-ix/{p-13bda5ea.entry.js.map → p-0fab8cae.entry.js.map} +0 -0
  1097. /package/dist/siemens-ix/{p-003e9355.entry.js.map → p-20aa7350.entry.js.map} +0 -0
  1098. /package/dist/siemens-ix/{p-f6ae45fb.entry.js.map → p-33670e98.entry.js.map} +0 -0
  1099. /package/dist/siemens-ix/{p-a89a1fa5.entry.js.map → p-4d194d55.entry.js.map} +0 -0
  1100. /package/dist/siemens-ix/{p-d2225fc2.entry.js.map → p-709d38fe.entry.js.map} +0 -0
  1101. /package/dist/siemens-ix/{p-1331a920.entry.js.map → p-81333042.entry.js.map} +0 -0
  1102. /package/dist/siemens-ix/{p-85f01dba.entry.js.map → p-904aa275.entry.js.map} +0 -0
  1103. /package/dist/siemens-ix/{p-cd3cfc78.entry.js.map → p-918450cd.entry.js.map} +0 -0
  1104. /package/dist/siemens-ix/{p-a7212f01.entry.js.map → p-b21bc31c.entry.js.map} +0 -0
  1105. /package/dist/siemens-ix/{p-6c033b08.entry.js.map → p-b89172b4.entry.js.map} +0 -0
  1106. /package/dist/siemens-ix/{p-3ddf017b.entry.js.map → p-d0a8aa6f.entry.js.map} +0 -0
  1107. /package/dist/siemens-ix/{p-b1db27a3.js.map → p-db74796e.js.map} +0 -0
  1108. /package/dist/siemens-ix/{p-bd24f35f.entry.js.map → p-f0219d7a.entry.js.map} +0 -0
  1109. /package/dist/siemens-ix/{p-1e8ee4af.entry.js.map → p-f38e7420.entry.js.map} +0 -0
  1110. /package/dist/siemens-ix/{p-6124d173.entry.js.map → p-ff17104c.entry.js.map} +0 -0
@@ -1,16 +1,18 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
- import { d as defineCustomElement$5 } from './button.js';
3
- import { d as defineCustomElement$4 } from './dropdown.js';
4
- import { d as defineCustomElement$3 } from './icon.js';
5
- import { d as defineCustomElement$2 } from './icon-button.js';
2
+ import { d as defineCustomElement$6 } from './button.js';
3
+ import { d as defineCustomElement$5 } from './dropdown.js';
4
+ import { d as defineCustomElement$4 } from './icon.js';
5
+ import { d as defineCustomElement$3 } from './icon-button.js';
6
+ import { d as defineCustomElement$2 } from './spinner.js';
6
7
 
7
- const dropdownButtonCss = ".sc-ix-dropdown-button-h{display:inline-block;position:relative;height:2rem;width:auto}.disabled.sc-ix-dropdown-button-h{pointer-events:none}.sc-ix-dropdown-button-h .hide.sc-ix-dropdown-button{display:none}.sc-ix-dropdown-button-h .dropdown-button.sc-ix-dropdown-button{display:block;position:relative;width:100%;height:100%}.sc-ix-dropdown-button-h .dropdown-button.sc-ix-dropdown-button>ix-button.sc-ix-dropdown-button{width:100%;height:100%}.sc-ix-dropdown-button-h .dropdown-button.sc-ix-dropdown-button .button-label.sc-ix-dropdown-button{margin-right:auto}.sc-ix-dropdown-button-h .triangle.sc-ix-dropdown-button{position:absolute;-webkit-margin-start:1.5625rem;margin-inline-start:1.5625rem;-webkit-margin-before:-0.4375rem;margin-block-start:-0.4375rem;border-right:0 solid transparent;border-left:4px solid transparent;border-top:0 solid transparent;border-bottom:4px solid;color:var(--theme-btn-primary--color)}.sc-ix-dropdown-button-h .triangle.primary.ghost.sc-ix-dropdown-button{color:var(--theme-btn-invisible-primary--color)}.sc-ix-dropdown-button-h .triangle.primary.outline.sc-ix-dropdown-button{color:var(--theme-btn-outline-primary--color)}.sc-ix-dropdown-button-h .triangle.primary.ghost.disabled.sc-ix-dropdown-button{color:var(--theme-btn-invisible-primary--color--disabled)}.sc-ix-dropdown-button-h .triangle.primary.outline.disabled.sc-ix-dropdown-button{color:var(--theme-btn-outline-primary--color--disabled)}.sc-ix-dropdown-button-h .triangle.primary.disabled.sc-ix-dropdown-button{color:var(--theme-btn-primary--color--disabled)}.sc-ix-dropdown-button-h .triangle.secondary.ghost.sc-ix-dropdown-button{color:var(--theme-btn-invisible-secondary--color)}.sc-ix-dropdown-button-h .triangle.secondary.outline.sc-ix-dropdown-button{color:var(--theme-btn-outline-secondary--color)}.sc-ix-dropdown-button-h .triangle.secondary.ghost.disabled.sc-ix-dropdown-button{color:var(--theme-btn-invisible-secondary--color--disabled)}.sc-ix-dropdown-button-h .triangle.secondary.outline.disabled.sc-ix-dropdown-button{color:var(--theme-btn-outline-secondary--color--disabled)}.sc-ix-dropdown-button-h .triangle.secondary.disabled.sc-ix-dropdown-button{color:var(--theme-btn-secondary--color--disabled)}.sc-ix-dropdown-button-h .dropdown.sc-ix-dropdown-button{width:auto !important;inset:auto !important;transform:unset !important}";
8
+ const dropdownButtonCss = ":host{display:inline-block;position:relative;height:2rem;width:auto}:host *,:host *::after,:host *::before{box-sizing:border-box}:host .hide{display:none}:host .dropdown-button{display:block;position:relative;width:100%;height:100%}:host .dropdown-button>ix-button{width:100%;height:100%}:host .dropdown-button .button-label{margin-right:auto}:host .triangle{position:absolute;-webkit-margin-start:1.5625rem;margin-inline-start:1.5625rem;-webkit-margin-before:-0.4375rem;margin-block-start:-0.4375rem;border-right:0 solid transparent;border-left:4px solid transparent;border-top:0 solid transparent;border-bottom:4px solid;color:var(--theme-btn-primary--color)}:host .triangle.primary.ghost{color:var(--theme-btn-invisible-primary--color)}:host .triangle.primary.outline{color:var(--theme-btn-outline-primary--color)}:host .triangle.primary.ghost.disabled{color:var(--theme-btn-invisible-primary--color--disabled)}:host .triangle.primary.outline.disabled{color:var(--theme-btn-outline-primary--color--disabled)}:host .triangle.primary.disabled{color:var(--theme-btn-primary--color--disabled)}:host .triangle.secondary.ghost{color:var(--theme-btn-invisible-secondary--color)}:host .triangle.secondary.outline{color:var(--theme-btn-outline-secondary--color)}:host .triangle.secondary.ghost.disabled{color:var(--theme-btn-invisible-secondary--color--disabled)}:host .triangle.secondary.outline.disabled{color:var(--theme-btn-outline-secondary--color--disabled)}:host .triangle.secondary.disabled{color:var(--theme-btn-secondary--color--disabled)}:host .dropdown{width:auto !important;inset:auto !important;transform:unset !important}:host(.disabled){pointer-events:none}";
8
9
 
9
10
  const DropdownButton = /*@__PURE__*/ proxyCustomElement(class DropdownButton extends HTMLElement {
10
11
  constructor() {
11
12
  super();
12
13
  this.__registerHost();
13
- this.variant = 'Primary';
14
+ this.__attachShadow();
15
+ this.variant = 'primary';
14
16
  this.outline = false;
15
17
  this.ghost = false;
16
18
  this.active = false;
@@ -23,8 +25,8 @@ const DropdownButton = /*@__PURE__*/ proxyCustomElement(class DropdownButton ext
23
25
  return (h("div", { class: {
24
26
  triangle: true,
25
27
  hide: this.label !== '',
26
- primary: this.variant === 'Primary',
27
- secondary: this.variant === 'Secondary',
28
+ primary: this.variant === 'primary',
29
+ secondary: this.variant === 'secondary',
28
30
  ghost: this.ghost,
29
31
  outline: this.outline,
30
32
  disabled: this.disabled,
@@ -35,10 +37,11 @@ const DropdownButton = /*@__PURE__*/ proxyCustomElement(class DropdownButton ext
35
37
  disabled: this.disabled,
36
38
  } }, h("div", { class: "dropdown-button", ref: (ref) => {
37
39
  this.dropdownAnchor = ref;
38
- } }, this.label ? (h("ix-button", { variant: this.variant, outline: this.outline, ghost: this.ghost, disabled: this.disabled }, h("ix-icon", { name: this.icon, size: "24", class: { hide: this.icon === '' || this.icon === undefined } }), h("div", { class: 'button-label' }, this.label), h("ix-icon", { name: "chevron-down-small", size: "24" }))) : (h("div", null, h("ix-icon-button", { icon: this.icon, variant: this.variant, outline: this.outline, ghost: this.ghost, disabled: this.disabled }), this.getTriangle()))), h("ix-dropdown", { class: "dropdown", trigger: this.dropdownAnchor, placement: "bottom", positioningStrategy: 'fixed', adjustDropdownWidthToReferenceWidth: true }, h("slot", null))));
40
+ } }, this.label ? (h("ix-button", { variant: this.variant, outline: this.outline, ghost: this.ghost, disabled: this.disabled }, h("ix-icon", { name: this.icon, size: "24", class: { hide: this.icon === '' || this.icon === undefined } }), h("div", { class: 'button-label' }, this.label), h("ix-icon", { name: "chevron-down-small", size: "24" }))) : (h("div", null, h("ix-icon-button", { icon: this.icon, variant: this.variant, outline: this.outline, ghost: this.ghost, disabled: this.disabled }), this.getTriangle()))), h("ix-dropdown", { class: "dropdown", trigger: this.dropdownAnchor, positioningStrategy: 'fixed' }, h("slot", null))));
39
41
  }
42
+ get hostElement() { return this; }
40
43
  static get style() { return dropdownButtonCss; }
41
- }, [6, "ix-dropdown-button", {
44
+ }, [1, "ix-dropdown-button", {
42
45
  "variant": [1],
43
46
  "outline": [4],
44
47
  "ghost": [4],
@@ -52,7 +55,7 @@ function defineCustomElement$1() {
52
55
  if (typeof customElements === "undefined") {
53
56
  return;
54
57
  }
55
- const components = ["ix-dropdown-button", "ix-button", "ix-dropdown", "ix-icon", "ix-icon-button"];
58
+ const components = ["ix-dropdown-button", "ix-button", "ix-dropdown", "ix-icon", "ix-icon-button", "ix-spinner"];
56
59
  components.forEach(tagName => { switch (tagName) {
57
60
  case "ix-dropdown-button":
58
61
  if (!customElements.get(tagName)) {
@@ -61,20 +64,25 @@ function defineCustomElement$1() {
61
64
  break;
62
65
  case "ix-button":
63
66
  if (!customElements.get(tagName)) {
64
- defineCustomElement$5();
67
+ defineCustomElement$6();
65
68
  }
66
69
  break;
67
70
  case "ix-dropdown":
68
71
  if (!customElements.get(tagName)) {
69
- defineCustomElement$4();
72
+ defineCustomElement$5();
70
73
  }
71
74
  break;
72
75
  case "ix-icon":
73
76
  if (!customElements.get(tagName)) {
74
- defineCustomElement$3();
77
+ defineCustomElement$4();
75
78
  }
76
79
  break;
77
80
  case "ix-icon-button":
81
+ if (!customElements.get(tagName)) {
82
+ defineCustomElement$3();
83
+ }
84
+ break;
85
+ case "ix-spinner":
78
86
  if (!customElements.get(tagName)) {
79
87
  defineCustomElement$2();
80
88
  }
@@ -1 +1 @@
1
- {"file":"ix-dropdown-button.js","mappings":";;;;;;AAAA,MAAM,iBAAiB,GAAG,wyEAAwyE;;MCsBrzE,cAAc;;;;mBAIgB,SAAS;mBAKhC,KAAK;iBAKP,KAAK;kBAKJ,KAAK;oBAKH,KAAK;;;;;EAchB,WAAW;IACjB,QACE,WACE,KAAK,EAAE;QACL,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,IAAI,CAAC,KAAK,KAAK,EAAE;QACvB,OAAO,EAAE,IAAI,CAAC,OAAO,KAAK,SAAS;QACnC,SAAS,EAAE,IAAI,CAAC,OAAO,KAAK,WAAW;QACvC,KAAK,EAAE,IAAI,CAAC,KAAK;QACjB,OAAO,EAAE,IAAI,CAAC,OAAO;QACrB,QAAQ,EAAE,IAAI,CAAC,QAAQ;OACxB,GACI,EACP;GACH;EAED,MAAM;IACJ,QACE,EAAC,IAAI,IACH,KAAK,EAAE;QACL,QAAQ,EAAE,IAAI,CAAC,QAAQ;OACxB,IAED,WACE,KAAK,EAAC,iBAAiB,EACvB,GAAG,EAAE,CAAC,GAAG;QACP,IAAI,CAAC,cAAc,GAAG,GAAG,CAAC;OAC3B,IAEA,IAAI,CAAC,KAAK,IACT,iBACE,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAEvB,eACE,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,IAAI,EAAC,IAAI,EACT,KAAK,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,KAAK,EAAE,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,EAAE,GACnD,EACX,WAAK,KAAK,EAAE,cAAc,IAAG,IAAI,CAAC,KAAK,CAAO,EAC9C,eAAS,IAAI,EAAC,oBAAoB,EAAC,IAAI,EAAC,IAAI,GAAW,CAC7C,KAEZ,eACE,sBACE,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,QAAQ,EAAE,IAAI,CAAC,QAAQ,GACP,EACjB,IAAI,CAAC,WAAW,EAAE,CACf,CACP,CACG,EAEN,mBACE,KAAK,EAAC,UAAU,EAChB,OAAO,EAAE,IAAI,CAAC,cAAc,EAC5B,SAAS,EAAC,QAAQ,EAClB,mBAAmB,EAAE,OAAO,EAC5B,mCAAmC,EAAE,IAAI,IAEzC,eAAa,CACD,CACT,EACP;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/dropdown-button/dropdown-button.scss?tag=ix-dropdown-button&encapsulation=scoped","./src/components/dropdown-button/dropdown-button.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n@import 'common-variables';\n\n:host {\n display: inline-block;\n position: relative;\n height: $x-large-space;\n width: auto;\n\n &.disabled {\n pointer-events: none;\n }\n\n .hide {\n display: none;\n }\n\n .dropdown-button {\n display: block;\n position: relative;\n width: 100%;\n height: 100%;\n }\n\n .dropdown-button > ix-button {\n width: 100%;\n height: 100%;\n }\n\n .dropdown-button .button-label {\n margin-right: auto;\n }\n\n .triangle {\n position: absolute;\n margin-inline-start: 1.5625rem;\n margin-block-start: -0.4375rem;\n border-right: 0 solid transparent;\n border-left: 4px solid transparent;\n border-top: 0 solid transparent;\n border-bottom: 4px solid;\n color: var(--theme-btn-primary--color);\n }\n\n .triangle.primary {\n &.ghost {\n color: var(--theme-btn-invisible-primary--color);\n }\n\n &.outline {\n color: var(--theme-btn-outline-primary--color);\n }\n\n &.ghost.disabled {\n color: var(--theme-btn-invisible-primary--color--disabled);\n }\n\n &.outline.disabled {\n color: var(--theme-btn-outline-primary--color--disabled);\n }\n\n &.disabled {\n color: var(--theme-btn-primary--color--disabled);\n }\n }\n\n .triangle.secondary {\n &.ghost {\n color: var(--theme-btn-invisible-secondary--color);\n }\n\n &.outline {\n color: var(--theme-btn-outline-secondary--color);\n }\n\n &.ghost.disabled {\n color: var(--theme-btn-invisible-secondary--color--disabled);\n }\n\n &.outline.disabled {\n color: var(--theme-btn-outline-secondary--color--disabled);\n }\n\n &.disabled {\n color: var(--theme-btn-secondary--color--disabled);\n }\n }\n\n .dropdown {\n width: auto !important;\n inset: auto !important;\n transform: unset !important;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, h, Host, Prop, State } from '@stencil/core';\nimport { ButtonVariant } from '../button/button';\n\nexport type DropdownButtonVariant = ButtonVariant;\n\n/**\n * @since 1.3.0\n */\n@Component({\n tag: 'ix-dropdown-button',\n styleUrl: 'dropdown-button.scss',\n scoped: true,\n})\nexport class DropdownButton {\n /**\n * Button variant\n */\n @Prop() variant: DropdownButtonVariant = 'Primary';\n\n /**\n * Outline button\n */\n @Prop() outline = false;\n\n /**\n * Button with no background or outline\n */\n @Prop() ghost = false;\n\n /**\n * Active button\n */\n @Prop() active = false;\n\n /**\n * Disable button\n */\n @Prop() disabled = false;\n\n /**\n * Set label\n */\n @Prop() label: string;\n\n /**\n * Button icon\n */\n @Prop() icon: string;\n\n @State() dropdownAnchor!: HTMLElement;\n\n private getTriangle() {\n return (\n <div\n class={{\n triangle: true,\n hide: this.label !== '',\n primary: this.variant === 'Primary',\n secondary: this.variant === 'Secondary',\n ghost: this.ghost,\n outline: this.outline,\n disabled: this.disabled,\n }}\n ></div>\n );\n }\n\n render() {\n return (\n <Host\n class={{\n disabled: this.disabled,\n }}\n >\n <div\n class=\"dropdown-button\"\n ref={(ref) => {\n this.dropdownAnchor = ref;\n }}\n >\n {this.label ? (\n <ix-button\n variant={this.variant}\n outline={this.outline}\n ghost={this.ghost}\n disabled={this.disabled}\n >\n <ix-icon\n name={this.icon}\n size=\"24\"\n class={{ hide: this.icon === '' || this.icon === undefined }}\n ></ix-icon>\n <div class={'button-label'}>{this.label}</div>\n <ix-icon name=\"chevron-down-small\" size=\"24\"></ix-icon>\n </ix-button>\n ) : (\n <div>\n <ix-icon-button\n icon={this.icon}\n variant={this.variant}\n outline={this.outline}\n ghost={this.ghost}\n disabled={this.disabled}\n ></ix-icon-button>\n {this.getTriangle()}\n </div>\n )}\n </div>\n\n <ix-dropdown\n class=\"dropdown\"\n trigger={this.dropdownAnchor}\n placement=\"bottom\"\n positioningStrategy={'fixed'}\n adjustDropdownWidthToReferenceWidth={true}\n >\n <slot></slot>\n </ix-dropdown>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ix-dropdown-button.js","mappings":";;;;;;;AAAA,MAAM,iBAAiB,GAAG,qoDAAqoD;;MCsBlpD,cAAc;;;;;mBAMgB,SAAS;mBAKhC,KAAK;iBAKP,KAAK;kBAMJ,KAAK;oBAKH,KAAK;;;;;EAchB,WAAW;IACjB,QACE,WACE,KAAK,EAAE;QACL,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,IAAI,CAAC,KAAK,KAAK,EAAE;QACvB,OAAO,EAAE,IAAI,CAAC,OAAO,KAAK,SAAS;QACnC,SAAS,EAAE,IAAI,CAAC,OAAO,KAAK,WAAW;QACvC,KAAK,EAAE,IAAI,CAAC,KAAK;QACjB,OAAO,EAAE,IAAI,CAAC,OAAO;QACrB,QAAQ,EAAE,IAAI,CAAC,QAAQ;OACxB,GACI,EACP;GACH;EAED,MAAM;IACJ,QACE,EAAC,IAAI,IACH,KAAK,EAAE;QACL,QAAQ,EAAE,IAAI,CAAC,QAAQ;OACxB,IAED,WACE,KAAK,EAAC,iBAAiB,EACvB,GAAG,EAAE,CAAC,GAAG;QACP,IAAI,CAAC,cAAc,GAAG,GAAG,CAAC;OAC3B,IAEA,IAAI,CAAC,KAAK,IACT,iBACE,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAEvB,eACE,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,IAAI,EAAC,IAAI,EACT,KAAK,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,KAAK,EAAE,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,EAAE,GACnD,EACX,WAAK,KAAK,EAAE,cAAc,IAAG,IAAI,CAAC,KAAK,CAAO,EAC9C,eAAS,IAAI,EAAC,oBAAoB,EAAC,IAAI,EAAC,IAAI,GAAW,CAC7C,KAEZ,eACE,sBACE,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,QAAQ,EAAE,IAAI,CAAC,QAAQ,GACP,EACjB,IAAI,CAAC,WAAW,EAAE,CACf,CACP,CACG,EAEN,mBACE,KAAK,EAAC,UAAU,EAChB,OAAO,EAAE,IAAI,CAAC,cAAc,EAC5B,mBAAmB,EAAE,OAAO,IAE5B,eAAa,CACD,CACT,EACP;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/dropdown-button/dropdown-button.scss?tag=ix-dropdown-button&encapsulation=shadow","./src/components/dropdown-button/dropdown-button.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n@import 'common-variables';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n\n display: inline-block;\n position: relative;\n height: $x-large-space;\n width: auto;\n\n .hide {\n display: none;\n }\n\n .dropdown-button {\n display: block;\n position: relative;\n width: 100%;\n height: 100%;\n }\n\n .dropdown-button > ix-button {\n width: 100%;\n height: 100%;\n }\n\n .dropdown-button .button-label {\n margin-right: auto;\n }\n\n .triangle {\n position: absolute;\n margin-inline-start: 1.5625rem;\n margin-block-start: -0.4375rem;\n border-right: 0 solid transparent;\n border-left: 4px solid transparent;\n border-top: 0 solid transparent;\n border-bottom: 4px solid;\n color: var(--theme-btn-primary--color);\n }\n\n .triangle.primary {\n &.ghost {\n color: var(--theme-btn-invisible-primary--color);\n }\n\n &.outline {\n color: var(--theme-btn-outline-primary--color);\n }\n\n &.ghost.disabled {\n color: var(--theme-btn-invisible-primary--color--disabled);\n }\n\n &.outline.disabled {\n color: var(--theme-btn-outline-primary--color--disabled);\n }\n\n &.disabled {\n color: var(--theme-btn-primary--color--disabled);\n }\n }\n\n .triangle.secondary {\n &.ghost {\n color: var(--theme-btn-invisible-secondary--color);\n }\n\n &.outline {\n color: var(--theme-btn-outline-secondary--color);\n }\n\n &.ghost.disabled {\n color: var(--theme-btn-invisible-secondary--color--disabled);\n }\n\n &.outline.disabled {\n color: var(--theme-btn-outline-secondary--color--disabled);\n }\n\n &.disabled {\n color: var(--theme-btn-secondary--color--disabled);\n }\n }\n\n .dropdown {\n width: auto !important;\n inset: auto !important;\n transform: unset !important;\n }\n}\n\n:host(.disabled) {\n pointer-events: none;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, Element, h, Host, Prop, State } from '@stencil/core';\nimport { ButtonVariant } from '../button/button';\n\nexport type DropdownButtonVariant = ButtonVariant;\n\n/**\n * @since 1.3.0\n */\n@Component({\n tag: 'ix-dropdown-button',\n styleUrl: 'dropdown-button.scss',\n shadow: true,\n})\nexport class DropdownButton {\n @Element() hostElement!: HTMLIxDropdownButtonElement;\n\n /**\n * Button variant\n */\n @Prop() variant: DropdownButtonVariant = 'primary';\n\n /**\n * Outline button\n */\n @Prop() outline = false;\n\n /**\n * Button with no background or outline\n */\n @Prop() ghost = false;\n\n /**\n * Active button (has no effect)\n * @deprecated Will be removed in 3.0.0\n */\n @Prop() active = false;\n\n /**\n * Disable button\n */\n @Prop() disabled = false;\n\n /**\n * Set label\n */\n @Prop() label: string;\n\n /**\n * Button icon\n */\n @Prop() icon: string;\n\n @State() dropdownAnchor!: HTMLElement;\n\n private getTriangle() {\n return (\n <div\n class={{\n triangle: true,\n hide: this.label !== '',\n primary: this.variant === 'primary',\n secondary: this.variant === 'secondary',\n ghost: this.ghost,\n outline: this.outline,\n disabled: this.disabled,\n }}\n ></div>\n );\n }\n\n render() {\n return (\n <Host\n class={{\n disabled: this.disabled,\n }}\n >\n <div\n class=\"dropdown-button\"\n ref={(ref) => {\n this.dropdownAnchor = ref;\n }}\n >\n {this.label ? (\n <ix-button\n variant={this.variant}\n outline={this.outline}\n ghost={this.ghost}\n disabled={this.disabled}\n >\n <ix-icon\n name={this.icon}\n size=\"24\"\n class={{ hide: this.icon === '' || this.icon === undefined }}\n ></ix-icon>\n <div class={'button-label'}>{this.label}</div>\n <ix-icon name=\"chevron-down-small\" size=\"24\"></ix-icon>\n </ix-button>\n ) : (\n <div>\n <ix-icon-button\n icon={this.icon}\n variant={this.variant}\n outline={this.outline}\n ghost={this.ghost}\n disabled={this.disabled}\n ></ix-icon-button>\n {this.getTriangle()}\n </div>\n )}\n </div>\n\n <ix-dropdown\n class=\"dropdown\"\n trigger={this.dropdownAnchor}\n positioningStrategy={'fixed'}\n >\n <slot></slot>\n </ix-dropdown>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,9 +1,9 @@
1
1
  import type { Components, JSX } from "../types/components";
2
2
 
3
- interface IxModalContainer extends Components.IxModalContainer, HTMLElement {}
4
- export const IxModalContainer: {
5
- prototype: IxModalContainer;
6
- new (): IxModalContainer;
3
+ interface IxDropdownHeader extends Components.IxDropdownHeader, HTMLElement {}
4
+ export const IxDropdownHeader: {
5
+ prototype: IxDropdownHeader;
6
+ new (): IxDropdownHeader;
7
7
  };
8
8
  /**
9
9
  * Used to define this component and all nested components recursively.
@@ -0,0 +1,44 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+ import { d as defineCustomElement$2 } from './typography.js';
3
+
4
+ const dropdownHeaderCss = ":host{display:flex;align-items:center;position:relative;height:2.5rem;width:auto;padding:0.25rem 1rem;overflow:hidden;cursor:default;color:var(--theme-color-soft-text)}:host *,:host *::after,:host *::before{box-sizing:border-box}";
5
+
6
+ const DropdownHeader = /*@__PURE__*/ proxyCustomElement(class DropdownHeader extends HTMLElement {
7
+ constructor() {
8
+ super();
9
+ this.__registerHost();
10
+ this.__attachShadow();
11
+ this.label = undefined;
12
+ }
13
+ render() {
14
+ return (h(Host, null, h("ix-typography", { class: 'category-text', variant: 'default-title' }, this.label)));
15
+ }
16
+ static get style() { return dropdownHeaderCss; }
17
+ }, [1, "ix-dropdown-header", {
18
+ "label": [1]
19
+ }]);
20
+ function defineCustomElement$1() {
21
+ if (typeof customElements === "undefined") {
22
+ return;
23
+ }
24
+ const components = ["ix-dropdown-header", "ix-typography"];
25
+ components.forEach(tagName => { switch (tagName) {
26
+ case "ix-dropdown-header":
27
+ if (!customElements.get(tagName)) {
28
+ customElements.define(tagName, DropdownHeader);
29
+ }
30
+ break;
31
+ case "ix-typography":
32
+ if (!customElements.get(tagName)) {
33
+ defineCustomElement$2();
34
+ }
35
+ break;
36
+ } });
37
+ }
38
+
39
+ const IxDropdownHeader = DropdownHeader;
40
+ const defineCustomElement = defineCustomElement$1;
41
+
42
+ export { IxDropdownHeader, defineCustomElement };
43
+
44
+ //# sourceMappingURL=ix-dropdown-header.js.map
@@ -0,0 +1 @@
1
+ {"file":"ix-dropdown-header.js","mappings":";;;AAAA,MAAM,iBAAiB,GAAG,uOAAuO;;MCmBpP,cAAc;;;;;;;EAMzB,MAAM;IACJ,QACE,EAAC,IAAI,QACH,qBAAe,KAAK,EAAE,eAAe,EAAE,OAAO,EAAE,eAAe,IAC5D,IAAI,CAAC,KAAK,CACG,CACX,EACP;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/dropdown-header/dropdown-header.scss?tag=ix-dropdown-header&encapsulation=shadow","./src/components/dropdown-header/dropdown-header.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n\n display: flex;\n align-items: center;\n position: relative;\n height: 2.5rem;\n width: auto;\n\n padding: 0.25rem 1rem;\n\n overflow: hidden;\n cursor: default;\n\n color: var(--theme-color-soft-text);\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, h, Host, Prop } from '@stencil/core';\n\n/**\n * @since 2.0.0\n */\n@Component({\n tag: 'ix-dropdown-header',\n styleUrl: 'dropdown-header.scss',\n shadow: true,\n})\nexport class DropdownHeader {\n /**\n * Display name of the header\n */\n @Prop() label: string;\n\n render() {\n return (\n <Host>\n <ix-typography class={'category-text'} variant={'default-title'}>\n {this.label}\n </ix-typography>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,6 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
- import { d as defineCustomElement$4 } from './button.js';
3
- import { d as defineCustomElement$3 } from './icon.js';
2
+ import { d as defineCustomElement$5 } from './button.js';
3
+ import { d as defineCustomElement$4 } from './icon.js';
4
+ import { d as defineCustomElement$3 } from './spinner.js';
4
5
  import { d as defineCustomElement$2 } from './typography.js';
5
6
 
6
7
  const emptyStateCss = ":host *,:host *::after,:host *::before{box-sizing:border-box}:host .label__subHeader{color:var(--theme-color-soft-text)}:host(.emptyState.emptyState--large){display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1rem}:host(.emptyState.emptyState--large) .emptyState__icon{width:3.5rem;height:3.5rem;display:flex;justify-content:center;align-items:center}:host(.emptyState.emptyState--large) .emptyState__icon ix-icon{transform:scale(1.75)}:host(.emptyState.emptyState--large) .emptyState__content{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1.5rem}:host(.emptyState.emptyState--large) .emptyState__content .content__label{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:0.5rem}:host(.emptyState.emptyState--compact){display:flex;flex-direction:row;justify-content:center;align-items:center;gap:1rem}:host(.emptyState.emptyState--compact) .emptyState__icon{display:flex;flex-direction:row;align-items:center;height:2.5rem}:host(.emptyState.emptyState--compact) .emptyState__content{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:1rem}:host(.emptyState.emptyState--compactBreak){display:flex;flex-direction:row;align-items:flex-start;gap:1rem}:host(.emptyState.emptyState--compactBreak) .emptyState__icon{display:flex;flex-direction:row;align-items:center;height:2.5rem}:host(.emptyState.emptyState--compactBreak) .emptyState__content{display:flex;flex-direction:column;align-items:flex-start;gap:0.5rem}";
@@ -32,7 +33,7 @@ function defineCustomElement$1() {
32
33
  if (typeof customElements === "undefined") {
33
34
  return;
34
35
  }
35
- const components = ["ix-empty-state", "ix-button", "ix-icon", "ix-typography"];
36
+ const components = ["ix-empty-state", "ix-button", "ix-icon", "ix-spinner", "ix-typography"];
36
37
  components.forEach(tagName => { switch (tagName) {
37
38
  case "ix-empty-state":
38
39
  if (!customElements.get(tagName)) {
@@ -41,10 +42,15 @@ function defineCustomElement$1() {
41
42
  break;
42
43
  case "ix-button":
43
44
  if (!customElements.get(tagName)) {
44
- defineCustomElement$4();
45
+ defineCustomElement$5();
45
46
  }
46
47
  break;
47
48
  case "ix-icon":
49
+ if (!customElements.get(tagName)) {
50
+ defineCustomElement$4();
51
+ }
52
+ break;
53
+ case "ix-spinner":
48
54
  if (!customElements.get(tagName)) {
49
55
  defineCustomElement$3();
50
56
  }
@@ -1 +1 @@
1
- {"file":"ix-empty-state.js","mappings":";;;;;AAAA,MAAM,aAAa,GAAG,2/CAA2/C;;MCqBpgD,UAAU;;;;;;kBAIc,OAAO;;;;;;EA2B1C,MAAM;IACJ,QACE,EAAC,IAAI,IAAC,KAAK,EAAE,0BAA0B,IAAI,CAAC,MAAM,EAAE,IACjD,IAAI,CAAC,IAAI,KACR,WAAK,KAAK,EAAC,kBAAkB,IAE3B,eACE,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,IAAI,EAAE,IAAI,CAAC,MAAM,KAAK,OAAO,GAAG,IAAI,GAAG,IAAI,EAC3C,KAAK,EAAC,iBAAiB,GACvB,CACE,CACP,EAED,WAAK,KAAK,EAAC,qBAAqB,IAC9B,WAAK,KAAK,EAAC,gBAAgB,IACzB,qBACE,OAAO,EAAE,IAAI,CAAC,MAAM,KAAK,OAAO,GAAG,eAAe,GAAG,SAAS,IAE7D,IAAI,CAAC,MAAM,CACE,EAEf,IAAI,CAAC,SAAS,KACb,WAAK,KAAK,EAAC,kBAAkB,IAAE,IAAI,CAAC,SAAS,CAAO,CACrD,CACG,EAEL,IAAI,CAAC,MAAM,KACV,WAAK,KAAK,EAAC,iBAAiB,IAC1B,iBAAW,OAAO,EAAE,MAAM,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,IAC9C,IAAI,CAAC,MAAM,CACF,CACR,CACP,CACG,CACD,EACP;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/empty-state/empty-state.scss?tag=ix-empty-state&encapsulation=shadow","./src/components/empty-state/empty-state.tsx"],"sourcesContent":["@import 'common-variables';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n\n .label__subHeader {\n color: var(--theme-color-soft-text);\n }\n}\n\n:host(.emptyState.emptyState--large) {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: $default-space;\n\n .emptyState__icon {\n width: 3.5rem;\n height: 3.5rem;\n display: flex;\n justify-content: center;\n align-items: center;\n\n ix-icon {\n transform: scale(1.75);\n }\n }\n\n .emptyState__content {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: $large-space;\n\n .content__label {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: $small-space;\n }\n }\n}\n\n:host(.emptyState.emptyState--compact) {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n gap: $default-space;\n\n .emptyState__icon {\n display: flex;\n flex-direction: row;\n align-items: center;\n height: $large-control-height;\n }\n\n .emptyState__content {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n gap: $default-space;\n }\n}\n\n:host(.emptyState.emptyState--compactBreak) {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n gap: $default-space;\n\n .emptyState__icon {\n display: flex;\n flex-direction: row;\n align-items: center;\n height: $large-control-height;\n }\n\n .emptyState__content {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: $small-space;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, Event, EventEmitter, h, Host, Prop } from '@stencil/core';\n\nexport type EmptyStateLayout = 'large' | 'compact' | 'compactBreak';\n\n/**\n * @since 1.6.0\n */\n@Component({\n tag: 'ix-empty-state',\n styleUrl: 'empty-state.scss',\n shadow: true,\n})\nexport class EmptyState {\n /**\n * Optional empty state layout - one of 'large', 'compact' or 'compactBreak'\n */\n @Prop() layout: EmptyStateLayout = 'large';\n\n /**\n * Optional empty state icon\n */\n @Prop() icon: string;\n\n /**\n * Empty state header\n */\n @Prop() header!: string;\n\n /**\n * Optional empty state sub header\n */\n @Prop() subHeader: string;\n\n /**\n * Optional empty state action\n */\n @Prop() action: string;\n\n /**\n * Empty state action click event\n */\n @Event() actionClick: EventEmitter<void>;\n\n render() {\n return (\n <Host class={`emptyState emptyState--${this.layout}`}>\n {this.icon && (\n <div class=\"emptyState__icon\">\n {/* TODO: replace size for large layout with '56' if available */}\n <ix-icon\n name={this.icon}\n size={this.layout === 'large' ? '32' : '32'}\n color=\"color-soft-text\"\n />\n </div>\n )}\n\n <div class=\"emptyState__content\">\n <div class=\"content__label\">\n <ix-typography\n variant={this.layout === 'large' ? 'display-large' : 'default'}\n >\n {this.header}\n </ix-typography>\n\n {this.subHeader && (\n <div class=\"label__subHeader\">{this.subHeader}</div>\n )}\n </div>\n\n {this.action && (\n <div class=\"content__action\">\n <ix-button onClick={() => this.actionClick.emit()}>\n {this.action}\n </ix-button>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ix-empty-state.js","mappings":";;;;;;AAAA,MAAM,aAAa,GAAG,2/CAA2/C;;MCqBpgD,UAAU;;;;;;kBAIc,OAAO;;;;;;EA2B1C,MAAM;IACJ,QACE,EAAC,IAAI,IAAC,KAAK,EAAE,0BAA0B,IAAI,CAAC,MAAM,EAAE,IACjD,IAAI,CAAC,IAAI,KACR,WAAK,KAAK,EAAC,kBAAkB,IAE3B,eACE,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,IAAI,EAAE,IAAI,CAAC,MAAM,KAAK,OAAO,GAAG,IAAI,GAAG,IAAI,EAC3C,KAAK,EAAC,iBAAiB,GACvB,CACE,CACP,EAED,WAAK,KAAK,EAAC,qBAAqB,IAC9B,WAAK,KAAK,EAAC,gBAAgB,IACzB,qBACE,OAAO,EAAE,IAAI,CAAC,MAAM,KAAK,OAAO,GAAG,eAAe,GAAG,SAAS,IAE7D,IAAI,CAAC,MAAM,CACE,EAEf,IAAI,CAAC,SAAS,KACb,WAAK,KAAK,EAAC,kBAAkB,IAAE,IAAI,CAAC,SAAS,CAAO,CACrD,CACG,EAEL,IAAI,CAAC,MAAM,KACV,WAAK,KAAK,EAAC,iBAAiB,IAC1B,iBAAW,OAAO,EAAE,MAAM,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,IAC9C,IAAI,CAAC,MAAM,CACF,CACR,CACP,CACG,CACD,EACP;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/empty-state/empty-state.scss?tag=ix-empty-state&encapsulation=shadow","./src/components/empty-state/empty-state.tsx"],"sourcesContent":["@import 'common-variables';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n\n .label__subHeader {\n color: var(--theme-color-soft-text);\n }\n}\n\n:host(.emptyState.emptyState--large) {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: $default-space;\n\n .emptyState__icon {\n width: 3.5rem;\n height: 3.5rem;\n display: flex;\n justify-content: center;\n align-items: center;\n\n ix-icon {\n transform: scale(1.75);\n }\n }\n\n .emptyState__content {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: $large-space;\n\n .content__label {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: $small-space;\n }\n }\n}\n\n:host(.emptyState.emptyState--compact) {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n gap: $default-space;\n\n .emptyState__icon {\n display: flex;\n flex-direction: row;\n align-items: center;\n height: $large-control-height;\n }\n\n .emptyState__content {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n gap: $default-space;\n }\n}\n\n:host(.emptyState.emptyState--compactBreak) {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n gap: $default-space;\n\n .emptyState__icon {\n display: flex;\n flex-direction: row;\n align-items: center;\n height: $large-control-height;\n }\n\n .emptyState__content {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: $small-space;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, Event, EventEmitter, h, Host, Prop } from '@stencil/core';\n\nexport type EmptyStateLayout = 'large' | 'compact' | 'compactBreak';\n\n/**\n * @since 1.6.0\n */\n@Component({\n tag: 'ix-empty-state',\n styleUrl: 'empty-state.scss',\n shadow: true,\n})\nexport class EmptyState {\n /**\n * Optional empty state layout - one of 'large', 'compact' or 'compactBreak'\n */\n @Prop() layout: EmptyStateLayout = 'large';\n\n /**\n * Optional empty state icon\n */\n @Prop() icon: string;\n\n /**\n * Empty state header\n */\n @Prop() header!: string;\n\n /**\n * Optional empty state sub header\n */\n @Prop() subHeader: string;\n\n /**\n * Optional empty state action\n */\n @Prop() action: string;\n\n /**\n * Empty state action click event\n */\n @Event() actionClick: EventEmitter<void>;\n\n render() {\n return (\n <Host class={`emptyState emptyState--${this.layout}`}>\n {this.icon && (\n <div class=\"emptyState__icon\">\n {/* TODO: replace size for large layout with '56' if available */}\n <ix-icon\n name={this.icon}\n size={this.layout === 'large' ? '32' : '32'}\n color=\"color-soft-text\"\n />\n </div>\n )}\n\n <div class=\"emptyState__content\">\n <div class=\"content__label\">\n <ix-typography\n variant={this.layout === 'large' ? 'display-large' : 'default'}\n >\n {this.header}\n </ix-typography>\n\n {this.subHeader && (\n <div class=\"label__subHeader\">{this.subHeader}</div>\n )}\n </div>\n\n {this.action && (\n <div class=\"content__action\">\n <ix-button onClick={() => this.actionClick.emit()}>\n {this.action}\n </ix-button>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,11 +1,13 @@
1
- import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
1
+ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
+ import { d as defineCustomElement$2 } from './icon.js';
2
3
 
3
- const eventListItemCss = ".ix-event-list-item{display:flex;align-items:center;position:relative;height:2.5rem;max-height:2.5rem;border-radius:0.25rem;background-color:var(--theme-event-item--background);overflow:hidden;transition:150ms;cursor:pointer;margin-bottom:0.5rem}.ix-event-list-item .indicator{height:100%;width:0.5rem;max-width:0.5rem;min-width:0.5rem;border-top-left-radius:0.25rem;border-bottom-left-radius:0.25rem}.ix-event-list-item .indicator-empty{border:var(--theme-weak-bdr-1);border-right:none}.ix-event-list-item .event-list-item-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;flex-grow:1;width:calc(100% - (1rem + 0.5rem));height:100%;border:0.062rem solid;border-color:var(--theme-event-item--border);border-top-left-radius:0;border-top-right-radius:0.25rem;border-bottom-left-radius:0;border-bottom-right-radius:0.25rem;border-left:none;padding-left:1rem}.ix-event-list-item:not(.selected):not(.disabled):not(:disabled){cursor:pointer}.ix-event-list-item:not(.selected):not(.disabled):not(:disabled):hover{background-color:var(--theme-event-item--background--hover)}.ix-event-list-item:not(.selected):not(.disabled):not(:disabled){cursor:pointer}.ix-event-list-item:not(.selected):not(.disabled):not(:disabled):active{background-color:var(--theme-event-item--background--active)}.ix-event-list-item:not(.selected) .event-list-item-container:not(.disabled):not(:disabled){cursor:pointer}.ix-event-list-item:not(.selected) .event-list-item-container:not(.disabled):not(:disabled):hover{border-color:var(--theme-event-item--border--hover)}.ix-event-list-item:not(.selected) .event-list-item-container:not(.disabled):not(:disabled){cursor:pointer}.ix-event-list-item:not(.selected) .event-list-item-container:not(.disabled):not(:disabled):active{border-color:var(--theme-event-item--border--active)}.ix-event-list-item.selected .event-list-item-container{background-color:var(--theme-event-item--background--selected);border-color:var(--theme-event-item--border--selected)}.ix-event-list-item[disabled],.ix-event-list-item.disabled{pointer-events:none}.ix-event-list-item[disabled] .event-list-item-container,.ix-event-list-item.disabled .event-list-item-container{background-color:var(--theme-event-item--background--disabled);border-color:var(--theme-event-item--border--disabled)}.ix-event-list-item .chevron-icon{margin-left:auto;margin-right:0.5rem;opacity:0.6;align-self:center}.ix-event-list-item .event-content{display:flex;align-items:center;width:100%;height:100%;overflow:hidden}";
4
+ const eventListItemCss = ":host *,:host *::after,:host *::before{box-sizing:border-box}:host .event-list-item{display:flex;align-items:center;position:relative;height:var(--event-list-item-height, 2.5rem);max-height:var(--event-list-item-height, 2.5rem);border-radius:var(--event-list-item-border-radius, 0.25rem);background-color:var(--theme-event-item--background);overflow:hidden;transition:150ms;cursor:pointer;margin-bottom:var(--event-list-item-margin-bottom, 0.5rem)}:host .event-list-item .indicator{height:100%;width:0.5rem;max-width:0.5rem;min-width:0.5rem;border-top-left-radius:var(--event-list-item-border-radius, 0.25rem);border-bottom-left-radius:var(--event-list-item-border-radius, 0.25rem)}:host .event-list-item .indicator-empty{border:var(--theme-weak-bdr-1);border-right:none}:host .event-list-item .event-list-item-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;flex-grow:1;width:calc(100% - (1rem + 0.5rem));height:100%;border:0.062rem solid;border-color:var(--theme-event-item--border);border-top-left-radius:0;border-top-right-radius:var(--event-list-item-border-radius, 0.25rem);border-bottom-left-radius:0;border-bottom-right-radius:var(--event-list-item-border-radius, 0.25rem);border-left:none;padding-left:1rem}:host .event-list-item .event-content{display:flex;align-items:center;width:100%;height:var(--event-list-item-height, 100%);max-height:var(--event-list-item-height, 100%);white-space:var(--event-list-item-content-white-space, inherit);overflow:hidden}:host .event-list-item .chevron-icon{margin-left:auto;margin-right:0.5rem;opacity:0.6;align-self:center}:host .event-list-item:not(.selected):not(.disabled):not(:disabled){cursor:pointer}:host .event-list-item:not(.selected):not(.disabled):not(:disabled):hover{background-color:var(--theme-event-item--background--hover)}:host .event-list-item:not(.selected):not(.disabled):not(:disabled){cursor:pointer}:host .event-list-item:not(.selected):not(.disabled):not(:disabled):active{background-color:var(--theme-event-item--background--active)}:host .event-list-item:not(.selected) .event-list-item-container:not(.disabled):not(:disabled){cursor:pointer}:host .event-list-item:not(.selected) .event-list-item-container:not(.disabled):not(:disabled):hover{border-color:var(--theme-event-item--border--hover)}:host .event-list-item:not(.selected) .event-list-item-container:not(.disabled):not(:disabled){cursor:pointer}:host .event-list-item:not(.selected) .event-list-item-container:not(.disabled):not(:disabled):active{border-color:var(--theme-event-item--border--active)}:host .event-list-item.selected .event-list-item-container{background-color:var(--theme-event-item--background--selected);border-color:var(--theme-event-item--border--selected)}:host .event-list-item[disabled],:host .event-list-item.disabled{pointer-events:none}:host .event-list-item[disabled] .event-list-item-container,:host .event-list-item.disabled .event-list-item-container{background-color:var(--theme-event-item--background--disabled);border-color:var(--theme-event-item--border--disabled)}:host(.disabled){pointer-events:none}";
4
5
 
5
6
  const EventListItem = /*@__PURE__*/ proxyCustomElement(class EventListItem extends HTMLElement {
6
7
  constructor() {
7
8
  super();
8
9
  this.__registerHost();
10
+ this.__attachShadow();
9
11
  this.itemClick = createEvent(this, "itemClick", 7);
10
12
  this.color = undefined;
11
13
  this.selected = undefined;
@@ -17,20 +19,23 @@ const EventListItem = /*@__PURE__*/ proxyCustomElement(class EventListItem exten
17
19
  this.itemClick.emit();
18
20
  }
19
21
  render() {
20
- return (h("div", { class: {
21
- 'ix-event-list-item': true,
22
+ var _a;
23
+ const color = ((_a = this.color) === null || _a === void 0 ? void 0 : _a.startsWith('--theme'))
24
+ ? `var(${this.color})`
25
+ : `var(--theme-${this.color})`;
26
+ return (h(Host, { class: {
27
+ disabled: this.disabled,
28
+ } }, h("div", { class: {
29
+ 'event-list-item': true,
22
30
  selected: this.selected,
23
31
  disabled: this.disabled,
24
32
  } }, h("div", { class: `indicator ${!this.color ? 'indicator-empty' : ''}`, style: {
25
- 'background-color': this.color
26
- ? `var(--theme-${this.color})`
27
- : 'inherit',
33
+ 'background-color': this.color ? color : 'inherit',
28
34
  opacity: `${this.disabled ? 0.4 : this.opacity}`,
29
- } }), h("div", { class: "event-list-item-container" }, h("div", { class: "event-content" }, h("slot", null)), this.chevron ? (h("i", { class: "glyph glyph-16 glyph-chevron-right chevron-icon" })) : (''))));
35
+ } }), h("div", { class: "event-list-item-container" }, h("div", { class: "event-content" }, h("slot", null)), this.chevron && (h("ix-icon", { name: "chevron-right", size: "16", class: "chevron-icon" }))))));
30
36
  }
31
- get el() { return this; }
32
37
  static get style() { return eventListItemCss; }
33
- }, [4, "ix-event-list-item", {
38
+ }, [1, "ix-event-list-item", {
34
39
  "color": [1],
35
40
  "selected": [4],
36
41
  "disabled": [4],
@@ -41,13 +46,18 @@ function defineCustomElement$1() {
41
46
  if (typeof customElements === "undefined") {
42
47
  return;
43
48
  }
44
- const components = ["ix-event-list-item"];
49
+ const components = ["ix-event-list-item", "ix-icon"];
45
50
  components.forEach(tagName => { switch (tagName) {
46
51
  case "ix-event-list-item":
47
52
  if (!customElements.get(tagName)) {
48
53
  customElements.define(tagName, EventListItem);
49
54
  }
50
55
  break;
56
+ case "ix-icon":
57
+ if (!customElements.get(tagName)) {
58
+ defineCustomElement$2();
59
+ }
60
+ break;
51
61
  } });
52
62
  }
53
63
 
@@ -1 +1 @@
1
- {"file":"ix-event-list-item.js","mappings":";;AAAA,MAAM,gBAAgB,GAAG,u9EAAu9E;;MCwBn+E,aAAa;;;;;;;;;mBA8BN,CAAC;;EAQnB,eAAe;IACb,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;GACvB;EAED,MAAM;IACJ,QACE,WACE,KAAK,EAAE;QACL,oBAAoB,EAAE,IAAI;QAC1B,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;OACxB,IAED,WACE,KAAK,EAAE,aAAa,CAAC,IAAI,CAAC,KAAK,GAAG,iBAAiB,GAAG,EAAE,EAAE,EAC1D,KAAK,EAAE;QACL,kBAAkB,EAAE,IAAI,CAAC,KAAK;YAC1B,eAAe,IAAI,CAAC,KAAK,GAAG;YAC5B,SAAS;QACb,OAAO,EAAE,GAAG,IAAI,CAAC,QAAQ,GAAG,GAAG,GAAG,IAAI,CAAC,OAAO,EAAE;OACjD,GACI,EAEP,WAAK,KAAK,EAAC,2BAA2B,IACpC,WAAK,KAAK,EAAC,eAAe,IACxB,eAAa,CACT,EACL,IAAI,CAAC,OAAO,IACX,SAAG,KAAK,EAAC,iDAAiD,GAAK,KAE/D,EAAE,CACH,CACG,CACF,EACN;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/event-list-item/event-list-item.scss?tag=ix-event-list-item","./src/components/event-list-item/event-list-item.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'mixins/text-truncation';\n@import 'mixins/hover';\n@import 'common-variables';\n\n$height-single-line: 2.5rem;\n\n.ix-event-list-item {\n display: flex;\n align-items: center;\n position: relative;\n height: $height-single-line;\n max-height: $height-single-line;\n border-radius: $default-border-radius;\n background-color: var(--theme-event-item--background);\n overflow: hidden;\n transition: $default-time;\n cursor: pointer;\n\n .indicator {\n height: 100%;\n width: $small-space;\n max-width: $small-space;\n min-width: $small-space;\n border-top-left-radius: $default-border-radius;\n border-bottom-left-radius: $default-border-radius;\n }\n\n .indicator-empty {\n border: var(--theme-weak-bdr-1);\n border-right: none;\n }\n\n .event-list-item-container {\n @include ellipsis;\n\n display: flex;\n flex-grow: 1;\n width: calc(100% - (#{$default-space} + #{$small-space}));\n height: 100%;\n border: 0.062rem solid;\n border-color: var(--theme-event-item--border);\n border-top-left-radius: 0;\n border-top-right-radius: $default-border-radius;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: $default-border-radius;\n border-left: none;\n padding-left: $default-space;\n }\n\n &:not(.selected) {\n @include hover {\n background-color: var(--theme-event-item--background--hover);\n }\n\n @include active {\n background-color: var(--theme-event-item--background--active);\n }\n\n .event-list-item-container {\n @include hover {\n border-color: var(--theme-event-item--border--hover);\n }\n\n @include active {\n border-color: var(--theme-event-item--border--active);\n }\n }\n }\n\n &.selected {\n .event-list-item-container {\n background-color: var(--theme-event-item--background--selected);\n border-color: var(--theme-event-item--border--selected);\n }\n }\n\n &[disabled],\n &.disabled {\n pointer-events: none;\n\n .event-list-item-container {\n background-color: var(--theme-event-item--background--disabled);\n border-color: var(--theme-event-item--border--disabled);\n }\n }\n\n .chevron-icon {\n margin-left: auto;\n margin-right: $small-space;\n opacity: 0.6;\n align-self: center;\n }\n\n .event-content {\n display: flex;\n align-items: center;\n width: 100%;\n height: 100%;\n overflow: hidden;\n }\n\n margin-bottom: $small-space;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Listen,\n Prop,\n} from '@stencil/core';\n\n@Component({\n tag: 'ix-event-list-item',\n styleUrl: 'event-list-item.scss',\n scoped: false,\n})\nexport class EventListItem {\n @Element() el!: HTMLIxEventListItemElement;\n\n /**\n * Color of the status indicator.\n * Allowed values are all Core UI color names.\n */\n @Prop() color: string;\n\n /**\n * Show event list item as selected\n */\n @Prop() selected: boolean;\n\n /**\n * Disable event list item\n */\n @Prop() disabled: boolean;\n\n /**\n * Show chevron on right side of the event list item\n */\n @Prop() chevron: boolean;\n\n /**\n * Opacity of the status indicator.\n * Defaults to 1.0\n *\n * @deprecated Will be removed in 2.0.0\n */\n @Prop() opacity = 1;\n\n /**\n * Event list item click\n */\n @Event() itemClick: EventEmitter;\n\n @Listen('click', { passive: true })\n handleItemClick() {\n this.itemClick.emit();\n }\n\n render() {\n return (\n <div\n class={{\n 'ix-event-list-item': true,\n selected: this.selected,\n disabled: this.disabled,\n }}\n >\n <div\n class={`indicator ${!this.color ? 'indicator-empty' : ''}`}\n style={{\n 'background-color': this.color\n ? `var(--theme-${this.color})`\n : 'inherit',\n opacity: `${this.disabled ? 0.4 : this.opacity}`,\n }}\n ></div>\n\n <div class=\"event-list-item-container\">\n <div class=\"event-content\">\n <slot></slot>\n </div>\n {this.chevron ? (\n <i class=\"glyph glyph-16 glyph-chevron-right chevron-icon\"></i>\n ) : (\n ''\n )}\n </div>\n </div>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ix-event-list-item.js","mappings":";;;AAAA,MAAM,gBAAgB,GAAG,kiGAAkiG;;MCwB9iG,aAAa;;;;;;;;;;mBA+BN,CAAC;;EAQnB,eAAe;IACb,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;GACvB;EAED,MAAM;;IACJ,MAAM,KAAK,GAAG,CAAA,MAAA,IAAI,CAAC,KAAK,0CAAE,UAAU,CAAC,SAAS,CAAC;QAC3C,OAAO,IAAI,CAAC,KAAK,GAAG;QACpB,eAAe,IAAI,CAAC,KAAK,GAAG,CAAC;IAEjC,QACE,EAAC,IAAI,IACH,KAAK,EAAE;QACL,QAAQ,EAAE,IAAI,CAAC,QAAQ;OACxB,IAED,WACE,KAAK,EAAE;QACL,iBAAiB,EAAE,IAAI;QACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;OACxB,IAED,WACE,KAAK,EAAE,aAAa,CAAC,IAAI,CAAC,KAAK,GAAG,iBAAiB,GAAG,EAAE,EAAE,EAC1D,KAAK,EAAE;QACL,kBAAkB,EAAE,IAAI,CAAC,KAAK,GAAG,KAAK,GAAG,SAAS;QAClD,OAAO,EAAE,GAAG,IAAI,CAAC,QAAQ,GAAG,GAAG,GAAG,IAAI,CAAC,OAAO,EAAE;OACjD,GACI,EAEP,WAAK,KAAK,EAAC,2BAA2B,IACpC,WAAK,KAAK,EAAC,eAAe,IACxB,eAAa,CACT,EACL,IAAI,CAAC,OAAO,KACX,eACE,IAAI,EAAC,eAAe,EACpB,IAAI,EAAC,IAAI,EACT,KAAK,EAAC,cAAc,GACX,CACZ,CACG,CACF,CACD,EACP;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/event-list-item/event-list-item.scss?tag=ix-event-list-item&encapsulation=shadow","./src/components/event-list-item/event-list-item.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'mixins/text-truncation';\n@import 'mixins/hover';\n@import 'mixins/shadow-dom/component';\n@import 'mixins/shadow-dom/host-disabled';\n@import 'common-variables';\n\n$default-event-list-item-height: 2.5rem;\n\n:host {\n @include ix-component;\n\n .event-list-item {\n display: flex;\n align-items: center;\n position: relative;\n height: var(--event-list-item-height, $default-event-list-item-height);\n max-height: var(--event-list-item-height, $default-event-list-item-height);\n border-radius: var(--event-list-item-border-radius, $default-border-radius);\n background-color: var(--theme-event-item--background);\n overflow: hidden;\n transition: $default-time;\n cursor: pointer;\n margin-bottom: var(--event-list-item-margin-bottom, $small-space);\n\n .indicator {\n height: 100%;\n width: $small-space;\n max-width: $small-space;\n min-width: $small-space;\n border-top-left-radius: var(\n --event-list-item-border-radius,\n $default-border-radius\n );\n border-bottom-left-radius: var(\n --event-list-item-border-radius,\n $default-border-radius\n );\n }\n\n .indicator-empty {\n border: var(--theme-weak-bdr-1);\n border-right: none;\n }\n\n .event-list-item-container {\n @include ellipsis;\n\n display: flex;\n flex-grow: 1;\n width: calc(100% - (#{$default-space} + #{$small-space}));\n height: 100%;\n border: 0.062rem solid;\n border-color: var(--theme-event-item--border);\n border-top-left-radius: 0;\n border-top-right-radius: var(\n --event-list-item-border-radius,\n $default-border-radius\n );\n border-bottom-left-radius: 0;\n border-bottom-right-radius: var(\n --event-list-item-border-radius,\n $default-border-radius\n );\n border-left: none;\n padding-left: $default-space;\n }\n\n .event-content {\n display: flex;\n align-items: center;\n width: 100%;\n height: var(--event-list-item-height, 100%);\n max-height: var(--event-list-item-height, 100%);\n white-space: var(--event-list-item-content-white-space, inherit);\n overflow: hidden;\n }\n\n .chevron-icon {\n margin-left: auto;\n margin-right: $small-space;\n opacity: 0.6;\n align-self: center;\n }\n\n &:not(.selected) {\n @include hover {\n background-color: var(--theme-event-item--background--hover);\n }\n\n @include active {\n background-color: var(--theme-event-item--background--active);\n }\n\n .event-list-item-container {\n @include hover {\n border-color: var(--theme-event-item--border--hover);\n }\n\n @include active {\n border-color: var(--theme-event-item--border--active);\n }\n }\n }\n\n &.selected .event-list-item-container {\n background-color: var(--theme-event-item--background--selected);\n border-color: var(--theme-event-item--border--selected);\n }\n\n &[disabled],\n &.disabled {\n pointer-events: none;\n\n .event-list-item-container {\n background-color: var(--theme-event-item--background--disabled);\n border-color: var(--theme-event-item--border--disabled);\n }\n }\n }\n}\n\n@include host-disabled;\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n} from '@stencil/core';\n\n@Component({\n tag: 'ix-event-list-item',\n styleUrl: 'event-list-item.scss',\n shadow: true,\n})\nexport class EventListItem {\n /**\n * Color of the status indicator.\n * You can find a list of all available colors in our documentation.\n * Example values are `--theme-color-alarm` or `color-alarm`\n *\n * @see https://ix.siemens.io/docs/theming/colors/\n */\n @Prop() color: string;\n\n /**\n * Show event list item as selected\n */\n @Prop() selected: boolean;\n\n /**\n * Disable event list item\n */\n @Prop() disabled: boolean;\n\n /**\n * Show chevron on right side of the event list item\n */\n @Prop() chevron: boolean;\n\n /**\n * Opacity of the status indicator.\n * Defaults to 1.0\n *\n * @deprecated Will be removed in 2.0.0\n */\n @Prop() opacity = 1;\n\n /**\n * Event list item click\n */\n @Event() itemClick: EventEmitter;\n\n @Listen('click', { passive: true })\n handleItemClick() {\n this.itemClick.emit();\n }\n\n render() {\n const color = this.color?.startsWith('--theme')\n ? `var(${this.color})`\n : `var(--theme-${this.color})`;\n\n return (\n <Host\n class={{\n disabled: this.disabled,\n }}\n >\n <div\n class={{\n 'event-list-item': true,\n selected: this.selected,\n disabled: this.disabled,\n }}\n >\n <div\n class={`indicator ${!this.color ? 'indicator-empty' : ''}`}\n style={{\n 'background-color': this.color ? color : 'inherit',\n opacity: `${this.disabled ? 0.4 : this.opacity}`,\n }}\n ></div>\n\n <div class=\"event-list-item-container\">\n <div class=\"event-content\">\n <slot></slot>\n </div>\n {this.chevron && (\n <ix-icon\n name=\"chevron-right\"\n size=\"16\"\n class=\"chevron-icon\"\n ></ix-icon>\n )}\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -2,30 +2,39 @@ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal
2
2
  import { c as createMutationObserver } from './mutation-observer.js';
3
3
  import { a as convertToRemString } from './rwd.util.js';
4
4
 
5
- const eventListCss = ".sc-ix-event-list-h{display:block;position:relative}ul.sc-ix-event-list{list-style:none;padding:0;margin-bottom:0}.sc-ix-event-list-s>.sc-ix-event-list-h:not(.item-size-s) .ix-event-list-item,.sc-ix-event-list-h:not(.item-size-l) .ix-event-list-item.sc-ix-event-list{display:none}.sc-ix-event-list-h.chevron .sc-ix-event-list-s .ix-event-list-item .chevron-icon{display:initial}.item-size-l .sc-ix-event-list-s .ix-event-list-item{height:6.5rem;max-height:6.5rem}.item-size-l .sc-ix-event-list-s .ix-event-list-item .event-content{height:6.5rem;max-height:6.5rem;white-space:normal}.compact .sc-ix-event-list-s .ix-event-list-item{margin-bottom:0px;border-radius:0px}.compact .sc-ix-event-list-s .ix-event-list-item .indicator{border-top-left-radius:0px;border-bottom-left-radius:0px}.compact .sc-ix-event-list-s .ix-event-list-item .event-list-item-container{border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.compact.sc-ix-event-list .compact.sc-ix-event-list:not(:last-child) .event-list-item-container.sc-ix-event-list{border-bottom:none}";
5
+ const eventListCss = ":host{display:block;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ul{list-style:none;padding:0;margin-bottom:0}:host(.item-size-l){--event-list-item-height:6.5rem;--event-list-item-content-white-space:normal}:host(.compact){--event-list-item-border-radius:0;--event-list-item-margin-bottom:0}";
6
6
 
7
7
  const EventList = /*@__PURE__*/ proxyCustomElement(class EventList extends HTMLElement {
8
8
  constructor() {
9
9
  super();
10
10
  this.__registerHost();
11
+ this.__attachShadow();
11
12
  this.mutationObserver = createMutationObserver(this.onMutation.bind(this));
12
13
  this.itemHeight = 'S';
13
14
  this.compact = false;
14
15
  this.animated = true;
15
16
  this.chevron = undefined;
16
17
  }
18
+ watchChevron(chevron) {
19
+ this.handleChevron(chevron);
20
+ }
17
21
  componentDidLoad() {
18
22
  if (this.animated) {
19
23
  this.triggerFadeIn();
20
24
  }
21
- if (typeof this.itemHeight === 'number') {
25
+ if (!Number.isNaN(Number(this.itemHeight))) {
22
26
  const height = convertToRemString(this.itemHeight);
23
- this.el.querySelectorAll('.ix-event-list-item').forEach((item) => {
24
- item.classList.add('d-flex');
27
+ this.hostElement
28
+ .querySelectorAll('ix-event-list-item')
29
+ .forEach((item) => {
25
30
  this.setCustomHeight(item, height);
26
31
  });
27
32
  }
28
- this.mutationObserver.observe(this.el, { childList: true, subtree: true });
33
+ this.handleChevron(this.chevron);
34
+ this.mutationObserver.observe(this.hostElement, {
35
+ childList: true,
36
+ subtree: true,
37
+ });
29
38
  }
30
39
  onMutation(mutationRecords) {
31
40
  this.triggerFadeOut().then(() => {
@@ -34,21 +43,16 @@ const EventList = /*@__PURE__*/ proxyCustomElement(class EventList extends HTMLE
34
43
  mutationRecords
35
44
  .filter((mutation) => mutation.type === 'childList')
36
45
  .forEach((mutation) => mutation.addedNodes.forEach((item) => {
37
- var _a;
38
46
  const itemHtml = item;
39
- if (!((_a = itemHtml.classList) === null || _a === void 0 ? void 0 : _a.contains('ix-event-list-item'))) {
40
- return;
41
- }
42
- itemHtml.classList.add('d-flex');
43
47
  this.setCustomHeight(itemHtml, height);
44
48
  }));
45
49
  }
50
+ this.handleChevron(this.chevron);
46
51
  this.triggerFadeIn();
47
52
  });
48
53
  }
49
54
  setCustomHeight(item, height) {
50
- item.style.height = height;
51
- item.style.maxHeight = height;
55
+ item.style.setProperty('--event-list-item-height', height);
52
56
  }
53
57
  triggerFadeOut() {
54
58
  if (!this.animated) {
@@ -61,7 +65,7 @@ const EventList = /*@__PURE__*/ proxyCustomElement(class EventList extends HTMLE
61
65
  },
62
66
  { opacity: 0 },
63
67
  ];
64
- const listElement = this.el.querySelector('ul');
68
+ const listElement = this.hostElement.shadowRoot.querySelector('ul');
65
69
  return listElement.animate(keyframes, {
66
70
  duration: EventList.fadeOutDuration,
67
71
  }).finished;
@@ -70,7 +74,7 @@ const EventList = /*@__PURE__*/ proxyCustomElement(class EventList extends HTMLE
70
74
  if (!this.animated) {
71
75
  return;
72
76
  }
73
- const listItems = this.el.querySelectorAll('.ix-event-list-item');
77
+ const listItems = this.hostElement.querySelectorAll('ix-event-list-item');
74
78
  listItems.forEach((e, i) => {
75
79
  const delay = i * 80;
76
80
  const offset = delay / (delay + EventList.fadeInDuration);
@@ -86,17 +90,30 @@ const EventList = /*@__PURE__*/ proxyCustomElement(class EventList extends HTMLE
86
90
  e.animate(keyframes, options);
87
91
  });
88
92
  }
93
+ handleChevron(chevron) {
94
+ const listItems = this.hostElement.querySelectorAll('ix-event-list-item');
95
+ listItems.forEach((e) => {
96
+ if (chevron) {
97
+ e.setAttribute('chevron', 'true');
98
+ }
99
+ else if (chevron !== undefined) {
100
+ e.removeAttribute('chevron');
101
+ }
102
+ });
103
+ }
89
104
  render() {
90
105
  return (h(Host, { class: {
91
106
  'item-size-s': this.itemHeight === 'S',
92
107
  'item-size-l': this.itemHeight === 'L',
93
108
  compact: this.compact,
94
- chevron: this.chevron,
95
109
  } }, h("ul", null, h("slot", null))));
96
110
  }
97
- get el() { return this; }
111
+ get hostElement() { return this; }
112
+ static get watchers() { return {
113
+ "chevron": ["watchChevron"]
114
+ }; }
98
115
  static get style() { return eventListCss; }
99
- }, [6, "ix-event-list", {
116
+ }, [1, "ix-event-list", {
100
117
  "itemHeight": [8, "item-height"],
101
118
  "compact": [4],
102
119
  "animated": [4],
@@ -1 +1 @@
1
- {"file":"ix-event-list.js","mappings":";;;;AAAA,MAAM,YAAY,GAAG,8kCAA8kC;;MCkBtlC,SAAS;;;;IACH,qBAAgB,GAAG,sBAAsB,CACxD,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAC3B,CAAC;sBAauC,GAAG;mBAK1B,KAAK;oBAKJ,IAAI;;;EAOvB,gBAAgB;IACd,IAAI,IAAI,CAAC,QAAQ,EAAE;MACjB,IAAI,CAAC,aAAa,EAAE,CAAC;KACtB;IAED,IAAI,OAAO,IAAI,CAAC,UAAU,KAAK,QAAQ,EAAE;MACvC,MAAM,MAAM,GAAG,kBAAkB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;MACnD,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI;QAC3D,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QAC7B,IAAI,CAAC,eAAe,CAAC,IAAmB,EAAE,MAAM,CAAC,CAAC;OACnD,CAAC,CAAC;KACJ;IAED,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;GAC5E;EAEO,UAAU,CAAC,eAAsC;IACvD,IAAI,CAAC,cAAc,EAAE,CAAC,IAAI,CAAC;MACzB,IAAI,OAAO,IAAI,CAAC,UAAU,KAAK,QAAQ,EAAE;QACvC,MAAM,MAAM,GAAG,kBAAkB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAEnD,eAAe;WACZ,MAAM,CAAC,CAAC,QAAQ,KAAK,QAAQ,CAAC,IAAI,KAAK,WAAW,CAAC;WACnD,OAAO,CAAC,CAAC,QAAQ,KAChB,QAAQ,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,IAAI;;UAC/B,MAAM,QAAQ,GAAG,IAAmB,CAAC;UACrC,IAAI,EAAC,MAAA,QAAQ,CAAC,SAAS,0CAAE,QAAQ,CAAC,oBAAoB,CAAC,CAAA,EAAE;YACvD,OAAO;WACR;UAED,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;UACjC,IAAI,CAAC,eAAe,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;SACxC,CAAC,CACH,CAAC;OACL;MAED,IAAI,CAAC,aAAa,EAAE,CAAC;KACtB,CAAC,CAAC;GACJ;EAEO,eAAe,CAAC,IAAiB,EAAE,MAAc;IACvD,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC;IAC3B,IAAI,CAAC,KAAK,CAAC,SAAS,GAAG,MAAM,CAAC;GAC/B;EAEO,cAAc;IACpB,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;MAClB,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;KAC1B;IAED,MAAM,SAAS,GAAG;MAChB;QACE,OAAO,EAAE,CAAC;QACV,MAAM,EAAE,SAAS;OAClB;MACD,EAAE,OAAO,EAAE,CAAC,EAAE;KACf,CAAC;IACF,MAAM,WAAW,GAAG,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;IAChD,OAAO,WAAW,CAAC,OAAO,CAAC,SAAS,EAAE;MACpC,QAAQ,EAAE,SAAS,CAAC,eAAe;KACpC,CAAC,CAAC,QAAQ,CAAC;GACb;EAEO,aAAa;IACnB,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;MAClB,OAAO;KACR;IAED,MAAM,SAAS,GAAG,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,CAAC;IAClE,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC;MACrB,MAAM,KAAK,GAAG,CAAC,GAAG,EAAE,CAAC;MACrB,MAAM,MAAM,GAAG,KAAK,IAAI,KAAK,GAAG,SAAS,CAAC,cAAc,CAAC,CAAC;MAC1D,MAAM,SAAS,GAAG;QAChB,EAAE,OAAO,EAAE,CAAC,EAAE;QACd,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE;QAC1C,EAAE,OAAO,EAAE,CAAC,EAAE;OACf,CAAC;MACF,MAAM,OAAO,GAAG;QACd,QAAQ,EAAE,SAAS,CAAC,cAAc,GAAG,KAAK;QAC1C,UAAU,EAAE,CAAC;OACd,CAAC;MACF,CAAC,CAAC,OAAO,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;KAC/B,CAAC,CAAC;GACJ;EAED,MAAM;IACJ,QACE,EAAC,IAAI,IACH,KAAK,EAAE;QACL,aAAa,EAAE,IAAI,CAAC,UAAU,KAAK,GAAG;QACtC,aAAa,EAAE,IAAI,CAAC,UAAU,KAAK,GAAG;QACtC,OAAO,EAAE,IAAI,CAAC,OAAO;QACrB,OAAO,EAAE,IAAI,CAAC,OAAO;OACtB,IAED,cACE,eAAa,CACV,CACA,EACP;GACH;;;;;;;;;AAhIuB,yBAAe,GAAG,EAAE,CAAC;AACrB,wBAAc,GAAG,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/event-list/event-list.scss?tag=ix-event-list&encapsulation=scoped","./src/components/event-list/event-list.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n$item-height-l: 6.5rem;\n\n:host {\n display: block;\n position: relative;\n}\n\nul {\n list-style: none;\n padding: 0;\n margin-bottom: 0;\n}\n\n:host:not(.item-size-s),\n:host:not(.item-size-l) {\n ::slotted(& .ix-event-list-item) {\n display: none;\n }\n}\n\n:host.chevron ::slotted(* .ix-event-list-item) .chevron-icon {\n display: initial;\n}\n\n.item-size-l {\n ::slotted(* .ix-event-list-item) {\n height: $item-height-l;\n max-height: $item-height-l;\n\n .event-content {\n height: $item-height-l;\n max-height: $item-height-l;\n white-space: normal;\n }\n }\n}\n\n.compact {\n ::slotted(* .ix-event-list-item) {\n margin-bottom: 0px;\n border-radius: 0px;\n\n .indicator {\n border-top-left-radius: 0px;\n border-bottom-left-radius: 0px;\n }\n\n .event-list-item-container {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n }\n }\n\n .compact:not(:last-child) {\n .event-list-item-container {\n border-bottom: none;\n }\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, Element, h, Host, Prop } from '@stencil/core';\nimport { createMutationObserver } from '../utils/mutation-observer';\nimport { convertToRemString } from '../utils/rwd.util';\n\n@Component({\n tag: 'ix-event-list',\n styleUrl: 'event-list.scss',\n scoped: true,\n})\nexport class EventList {\n private readonly mutationObserver = createMutationObserver(\n this.onMutation.bind(this)\n );\n\n private static readonly fadeOutDuration = 50;\n private static readonly fadeInDuration = 150;\n\n @Element() el!: HTMLIxEventListElement;\n\n /**\n * Determines the height of list items.\n * This can either be one of two predefined sizes ('S' or 'L') or an absolute pixel value.\n * In case a number is supplied it will get converted to rem internally.\n * Defaults to 'S'.\n */\n @Prop() itemHeight: 'S' | 'L' | number = 'S';\n\n /**\n * Make event-list items more compact\n */\n @Prop() compact = false;\n\n /**\n * Animate state change transitions. Defaults to 'true'.\n */\n @Prop() animated = true;\n\n /**\n * Display a chevron icon in list items. Defaults to 'false'\n */\n @Prop() chevron: boolean;\n\n componentDidLoad() {\n if (this.animated) {\n this.triggerFadeIn();\n }\n\n if (typeof this.itemHeight === 'number') {\n const height = convertToRemString(this.itemHeight);\n this.el.querySelectorAll('.ix-event-list-item').forEach((item) => {\n item.classList.add('d-flex');\n this.setCustomHeight(item as HTMLElement, height);\n });\n }\n\n this.mutationObserver.observe(this.el, { childList: true, subtree: true });\n }\n\n private onMutation(mutationRecords: Array<MutationRecord>) {\n this.triggerFadeOut().then(() => {\n if (typeof this.itemHeight === 'number') {\n const height = convertToRemString(this.itemHeight);\n\n mutationRecords\n .filter((mutation) => mutation.type === 'childList')\n .forEach((mutation) =>\n mutation.addedNodes.forEach((item) => {\n const itemHtml = item as HTMLElement;\n if (!itemHtml.classList?.contains('ix-event-list-item')) {\n return;\n }\n\n itemHtml.classList.add('d-flex');\n this.setCustomHeight(itemHtml, height);\n })\n );\n }\n\n this.triggerFadeIn();\n });\n }\n\n private setCustomHeight(item: HTMLElement, height: string) {\n item.style.height = height;\n item.style.maxHeight = height;\n }\n\n private triggerFadeOut(): Promise<any> {\n if (!this.animated) {\n return Promise.resolve();\n }\n\n const keyframes = [\n {\n opacity: 1,\n easing: 'ease-in',\n },\n { opacity: 0 },\n ];\n const listElement = this.el.querySelector('ul');\n return listElement.animate(keyframes, {\n duration: EventList.fadeOutDuration,\n }).finished;\n }\n\n private triggerFadeIn() {\n if (!this.animated) {\n return;\n }\n\n const listItems = this.el.querySelectorAll('.ix-event-list-item');\n listItems.forEach((e, i) => {\n const delay = i * 80;\n const offset = delay / (delay + EventList.fadeInDuration);\n const keyframes = [\n { opacity: 0 },\n { opacity: 0, easing: 'ease-out', offset },\n { opacity: 1 },\n ];\n const options = {\n duration: EventList.fadeInDuration + delay,\n iterations: 1,\n };\n e.animate(keyframes, options);\n });\n }\n\n render() {\n return (\n <Host\n class={{\n 'item-size-s': this.itemHeight === 'S',\n 'item-size-l': this.itemHeight === 'L',\n compact: this.compact,\n chevron: this.chevron,\n }}\n >\n <ul>\n <slot></slot>\n </ul>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ix-event-list.js","mappings":";;;;AAAA,MAAM,YAAY,GAAG,6UAA6U;;MCkBrV,SAAS;;;;;IACH,qBAAgB,GAAG,sBAAsB,CACxD,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAC3B,CAAC;sBAauC,GAAG;mBAK1B,KAAK;oBAKJ,IAAI;;;EAQvB,YAAY,CAAC,OAA4B;IACvC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;GAC7B;EAED,gBAAgB;IACd,IAAI,IAAI,CAAC,QAAQ,EAAE;MACjB,IAAI,CAAC,aAAa,EAAE,CAAC;KACtB;IAED,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,EAAE;MAC1C,MAAM,MAAM,GAAG,kBAAkB,CAAC,IAAI,CAAC,UAAoB,CAAC,CAAC;MAC7D,IAAI,CAAC,WAAW;SACb,gBAAgB,CAAC,oBAAoB,CAAC;SACtC,OAAO,CAAC,CAAC,IAAI;QACZ,IAAI,CAAC,eAAe,CAAC,IAAmB,EAAE,MAAM,CAAC,CAAC;OACnD,CAAC,CAAC;KACN;IAED,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAEjC,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE;MAC9C,SAAS,EAAE,IAAI;MACf,OAAO,EAAE,IAAI;KACd,CAAC,CAAC;GACJ;EAEO,UAAU,CAAC,eAAsC;IACvD,IAAI,CAAC,cAAc,EAAE,CAAC,IAAI,CAAC;MACzB,IAAI,OAAO,IAAI,CAAC,UAAU,KAAK,QAAQ,EAAE;QACvC,MAAM,MAAM,GAAG,kBAAkB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAEnD,eAAe;WACZ,MAAM,CAAC,CAAC,QAAQ,KAAK,QAAQ,CAAC,IAAI,KAAK,WAAW,CAAC;WACnD,OAAO,CAAC,CAAC,QAAQ,KAChB,QAAQ,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,IAAI;UAC/B,MAAM,QAAQ,GAAG,IAAmB,CAAC;UAErC,IAAI,CAAC,eAAe,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;SACxC,CAAC,CACH,CAAC;OACL;MAED,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;MAEjC,IAAI,CAAC,aAAa,EAAE,CAAC;KACtB,CAAC,CAAC;GACJ;EAEO,eAAe,CAAC,IAAiB,EAAE,MAAc;IACvD,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,0BAA0B,EAAE,MAAM,CAAC,CAAC;GAC5D;EAEO,cAAc;IACpB,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;MAClB,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;KAC1B;IAED,MAAM,SAAS,GAAG;MAChB;QACE,OAAO,EAAE,CAAC;QACV,MAAM,EAAE,SAAS;OAClB;MACD,EAAE,OAAO,EAAE,CAAC,EAAE;KACf,CAAC;IACF,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;IACpE,OAAO,WAAW,CAAC,OAAO,CAAC,SAAS,EAAE;MACpC,QAAQ,EAAE,SAAS,CAAC,eAAe;KACpC,CAAC,CAAC,QAAQ,CAAC;GACb;EAEO,aAAa;IACnB,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;MAClB,OAAO;KACR;IAED,MAAM,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;IAC1E,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC;MACrB,MAAM,KAAK,GAAG,CAAC,GAAG,EAAE,CAAC;MACrB,MAAM,MAAM,GAAG,KAAK,IAAI,KAAK,GAAG,SAAS,CAAC,cAAc,CAAC,CAAC;MAC1D,MAAM,SAAS,GAAG;QAChB,EAAE,OAAO,EAAE,CAAC,EAAE;QACd,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE;QAC1C,EAAE,OAAO,EAAE,CAAC,EAAE;OACf,CAAC;MACF,MAAM,OAAO,GAAG;QACd,QAAQ,EAAE,SAAS,CAAC,cAAc,GAAG,KAAK;QAC1C,UAAU,EAAE,CAAC;OACd,CAAC;MACF,CAAC,CAAC,OAAO,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;KAC/B,CAAC,CAAC;GACJ;EAEO,aAAa,CAAC,OAA4B;IAChD,MAAM,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;IAE1E,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC;MAClB,IAAI,OAAO,EAAE;QACX,CAAC,CAAC,YAAY,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;OACnC;WAAM,IAAI,OAAO,KAAK,SAAS,EAAE;QAChC,CAAC,CAAC,eAAe,CAAC,SAAS,CAAC,CAAC;OAC9B;KACF,CAAC,CAAC;GACJ;EAED,MAAM;IACJ,QACE,EAAC,IAAI,IACH,KAAK,EAAE;QACL,aAAa,EAAE,IAAI,CAAC,UAAU,KAAK,GAAG;QACtC,aAAa,EAAE,IAAI,CAAC,UAAU,KAAK,GAAG;QACtC,OAAO,EAAE,IAAI,CAAC,OAAO;OACtB,IAED,cACE,eAAa,CACV,CACA,EACP;GACH;;;;;;;;;;;;AAnJuB,yBAAe,GAAG,EAAE,CAAC;AACrB,wBAAc,GAAG,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/event-list/event-list.scss?tag=ix-event-list&encapsulation=shadow","./src/components/event-list/event-list.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n\n display: block;\n position: relative;\n\n ul {\n list-style: none;\n padding: 0;\n margin-bottom: 0;\n }\n}\n\n:host(.item-size-l) {\n --event-list-item-height: 6.5rem;\n --event-list-item-content-white-space: normal;\n}\n\n:host(.compact) {\n --event-list-item-border-radius: 0;\n --event-list-item-margin-bottom: 0;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, Element, h, Host, Prop, Watch } from '@stencil/core';\nimport { createMutationObserver } from '../utils/mutation-observer';\nimport { convertToRemString } from '../utils/rwd.util';\n\n@Component({\n tag: 'ix-event-list',\n styleUrl: 'event-list.scss',\n shadow: true,\n})\nexport class EventList {\n private readonly mutationObserver = createMutationObserver(\n this.onMutation.bind(this)\n );\n\n private static readonly fadeOutDuration = 50;\n private static readonly fadeInDuration = 150;\n\n @Element() hostElement!: HTMLIxEventListElement;\n\n /**\n * Determines the height of list items.\n * This can either be one of two predefined sizes ('S' or 'L') or an absolute pixel value.\n * In case a number is supplied it will get converted to rem internally.\n * Defaults to 'S'.\n */\n @Prop() itemHeight: 'S' | 'L' | number = 'S';\n\n /**\n * Make event-list items more compact\n */\n @Prop() compact = false;\n\n /**\n * Animate state change transitions. Defaults to 'true'.\n */\n @Prop() animated = true;\n\n /**\n * Display a chevron icon in list items. Defaults to 'false'\n */\n @Prop() chevron: boolean;\n\n @Watch('chevron')\n watchChevron(chevron: boolean | undefined) {\n this.handleChevron(chevron);\n }\n\n componentDidLoad() {\n if (this.animated) {\n this.triggerFadeIn();\n }\n\n if (!Number.isNaN(Number(this.itemHeight))) {\n const height = convertToRemString(this.itemHeight as number);\n this.hostElement\n .querySelectorAll('ix-event-list-item')\n .forEach((item) => {\n this.setCustomHeight(item as HTMLElement, height);\n });\n }\n\n this.handleChevron(this.chevron);\n\n this.mutationObserver.observe(this.hostElement, {\n childList: true,\n subtree: true,\n });\n }\n\n private onMutation(mutationRecords: Array<MutationRecord>) {\n this.triggerFadeOut().then(() => {\n if (typeof this.itemHeight === 'number') {\n const height = convertToRemString(this.itemHeight);\n\n mutationRecords\n .filter((mutation) => mutation.type === 'childList')\n .forEach((mutation) =>\n mutation.addedNodes.forEach((item) => {\n const itemHtml = item as HTMLElement;\n\n this.setCustomHeight(itemHtml, height);\n })\n );\n }\n\n this.handleChevron(this.chevron);\n\n this.triggerFadeIn();\n });\n }\n\n private setCustomHeight(item: HTMLElement, height: string) {\n item.style.setProperty('--event-list-item-height', height);\n }\n\n private triggerFadeOut(): Promise<any> {\n if (!this.animated) {\n return Promise.resolve();\n }\n\n const keyframes = [\n {\n opacity: 1,\n easing: 'ease-in',\n },\n { opacity: 0 },\n ];\n const listElement = this.hostElement.shadowRoot.querySelector('ul');\n return listElement.animate(keyframes, {\n duration: EventList.fadeOutDuration,\n }).finished;\n }\n\n private triggerFadeIn() {\n if (!this.animated) {\n return;\n }\n\n const listItems = this.hostElement.querySelectorAll('ix-event-list-item');\n listItems.forEach((e, i) => {\n const delay = i * 80;\n const offset = delay / (delay + EventList.fadeInDuration);\n const keyframes = [\n { opacity: 0 },\n { opacity: 0, easing: 'ease-out', offset },\n { opacity: 1 },\n ];\n const options = {\n duration: EventList.fadeInDuration + delay,\n iterations: 1,\n };\n e.animate(keyframes, options);\n });\n }\n\n private handleChevron(chevron: boolean | undefined): void {\n const listItems = this.hostElement.querySelectorAll('ix-event-list-item');\n\n listItems.forEach((e) => {\n if (chevron) {\n e.setAttribute('chevron', 'true');\n } else if (chevron !== undefined) {\n e.removeAttribute('chevron');\n }\n });\n }\n\n render() {\n return (\n <Host\n class={{\n 'item-size-s': this.itemHeight === 'S',\n 'item-size-l': this.itemHeight === 'L',\n compact: this.compact,\n }}\n >\n <ul>\n <slot></slot>\n </ul>\n </Host>\n );\n }\n}\n"],"version":3}