@siemens/ix 0.0.0-20240419081748 → 0.0.0-20240522073858

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 (838) hide show
  1. package/components/base-button.js +26 -3
  2. package/components/base-button.js.map +1 -1
  3. package/components/breadcrumb-item.js +1 -1
  4. package/components/breadcrumb-item.js.map +1 -1
  5. package/components/button.js +3 -3
  6. package/components/button.js.map +1 -1
  7. package/components/date-picker.js +4 -4
  8. package/components/date-picker.js.map +1 -1
  9. package/components/dropdown.js +139 -19
  10. package/components/dropdown.js.map +1 -1
  11. package/components/group-context-menu.js +1 -1
  12. package/components/group-context-menu.js.map +1 -1
  13. package/components/group-item.js +3 -3
  14. package/components/group-item.js.map +1 -1
  15. package/components/icon-button.js +2 -2
  16. package/components/icon-button.js.map +1 -1
  17. package/components/ix-blind.js +1 -1
  18. package/components/ix-blind.js.map +1 -1
  19. package/components/ix-category-filter.js +34 -10
  20. package/components/ix-category-filter.js.map +1 -1
  21. package/components/ix-date-dropdown.js +14 -5
  22. package/components/ix-date-dropdown.js.map +1 -1
  23. package/components/ix-event-list-item.js +5 -4
  24. package/components/ix-event-list-item.js.map +1 -1
  25. package/components/ix-event-list.js +26 -25
  26. package/components/ix-event-list.js.map +1 -1
  27. package/components/ix-form-field.js +1 -1
  28. package/components/ix-form-field.js.map +1 -1
  29. package/components/ix-group.js +16 -9
  30. package/components/ix-group.js.map +1 -1
  31. package/components/ix-icon-toggle-button.js +2 -2
  32. package/components/ix-icon-toggle-button.js.map +1 -1
  33. package/components/ix-input-group.js +1 -1
  34. package/components/ix-key-value-list.js +1 -1
  35. package/components/ix-kpi.js +3 -3
  36. package/components/ix-link-button.js +3 -3
  37. package/components/ix-map-navigation.js +2 -2
  38. package/components/ix-menu-about-item.js +1 -1
  39. package/components/ix-menu-about-news.js +4 -4
  40. package/components/ix-menu-about.js +1 -1
  41. package/components/ix-menu-about.js.map +1 -1
  42. package/components/ix-menu-avatar.js +2 -2
  43. package/components/ix-menu-category.js +5 -5
  44. package/components/ix-menu-settings-item.js +1 -1
  45. package/components/ix-menu.js +11 -11
  46. package/components/ix-menu.js.map +1 -1
  47. package/components/ix-message-bar.js +1 -1
  48. package/components/ix-modal-example.js +1 -1
  49. package/components/ix-modal-footer.js +1 -1
  50. package/components/ix-modal-loading.js +1 -1
  51. package/components/ix-pagination.js +3 -3
  52. package/components/ix-pagination.js.map +1 -1
  53. package/components/ix-pane-layout.js +1 -1
  54. package/components/ix-pill.js +4 -4
  55. package/components/ix-playground-internal.js +1 -1
  56. package/components/ix-split-button-item.js +1 -1
  57. package/components/ix-tile.js +4 -4
  58. package/components/ix-toggle-button.js +2 -2
  59. package/components/ix-toggle.js +2 -2
  60. package/components/ix-tree.js +1 -1
  61. package/components/ix-upload.js +3 -3
  62. package/components/ix-validation-tooltip.js +2 -2
  63. package/components/ix-workflow-step.js +4 -4
  64. package/components/ix-workflow-step.js.map +1 -1
  65. package/components/ix-workflow-steps.js +2 -2
  66. package/components/ix-workflow-steps.js.map +1 -1
  67. package/components/map-navigation-overlay.js +2 -2
  68. package/components/menu-avatar-item.js +1 -1
  69. package/components/menu-expand-icon.js +1 -1
  70. package/components/menu-item.js +2 -2
  71. package/components/modal-content.js +1 -1
  72. package/components/modal-header.js +1 -1
  73. package/components/row.js +1 -1
  74. package/components/select-item.js +9 -1
  75. package/components/select-item.js.map +1 -1
  76. package/components/select.js +161 -42
  77. package/components/select.js.map +1 -1
  78. package/components/spinner.js +1 -1
  79. package/components/tabs.js +2 -2
  80. package/components/time-picker.js +1 -1
  81. package/components/time-picker.js.map +1 -1
  82. package/components/toast.js +2 -2
  83. package/components/tooltip.js +5 -2
  84. package/components/tooltip.js.map +1 -1
  85. package/components/tree-item.js +4 -4
  86. package/dist/cjs/{app-globals-7ea20f68.js → app-globals-5cfdf2a0.js} +2 -2
  87. package/dist/cjs/{app-globals-7ea20f68.js.map → app-globals-5cfdf2a0.js.map} +1 -1
  88. package/dist/cjs/{base-button-2f74b19d.js → base-button-7c45a6c4.js} +27 -4
  89. package/dist/cjs/base-button-7c45a6c4.js.map +1 -0
  90. package/dist/cjs/{base-icon-button-848c77f2.js → base-icon-button-ac2fcf4b.js} +2 -2
  91. package/dist/cjs/{base-icon-button-848c77f2.js.map → base-icon-button-ac2fcf4b.js.map} +1 -1
  92. package/dist/cjs/{core-js-a890bac8.js → core-js-2fc351ee.js} +1 -1
  93. package/dist/cjs/{core-js-a890bac8.js.map → core-js-2fc351ee.js.map} +1 -1
  94. package/dist/cjs/dom-83fb07d8.js.map +1 -1
  95. package/dist/cjs/focus-9c8ffbb0.js +65 -0
  96. package/dist/cjs/focus-9c8ffbb0.js.map +1 -0
  97. package/dist/cjs/{index.es2017-0db94b91.js → index.es2017-0c2b80b6.js} +3 -3
  98. package/dist/cjs/{index.es2017-0db94b91.js.map → index.es2017-0c2b80b6.js.map} +1 -1
  99. package/dist/cjs/ix-avatar_2.cjs.entry.js +2 -2
  100. package/dist/cjs/ix-blind.cjs.entry.js +1 -1
  101. package/dist/cjs/ix-blind.cjs.entry.js.map +1 -1
  102. package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +2 -2
  103. package/dist/cjs/ix-breadcrumb-item.cjs.entry.js.map +1 -1
  104. package/dist/cjs/ix-button.cjs.entry.js +4 -4
  105. package/dist/cjs/ix-button.cjs.entry.js.map +1 -1
  106. package/dist/cjs/ix-category-filter.cjs.entry.js +34 -11
  107. package/dist/cjs/ix-category-filter.cjs.entry.js.map +1 -1
  108. package/dist/cjs/ix-col_4.cjs.entry.js +5 -5
  109. package/dist/cjs/ix-col_4.cjs.entry.js.map +1 -1
  110. package/dist/cjs/ix-date-dropdown.cjs.entry.js +11 -4
  111. package/dist/cjs/ix-date-dropdown.cjs.entry.js.map +1 -1
  112. package/dist/cjs/ix-dropdown.cjs.entry.js +78 -18
  113. package/dist/cjs/ix-dropdown.cjs.entry.js.map +1 -1
  114. package/dist/cjs/ix-event-list-item.cjs.entry.js +5 -4
  115. package/dist/cjs/ix-event-list-item.cjs.entry.js.map +1 -1
  116. package/dist/cjs/ix-event-list.cjs.entry.js +26 -25
  117. package/dist/cjs/ix-event-list.cjs.entry.js.map +1 -1
  118. package/dist/cjs/ix-filter-chip_2.cjs.entry.js +8 -1
  119. package/dist/cjs/ix-filter-chip_2.cjs.entry.js.map +1 -1
  120. package/dist/cjs/ix-form-field.cjs.entry.js +1 -1
  121. package/dist/cjs/ix-form-field.cjs.entry.js.map +1 -1
  122. package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +4 -4
  123. package/dist/cjs/ix-group-context-menu_2.cjs.entry.js.map +1 -1
  124. package/dist/cjs/ix-group.cjs.entry.js +13 -7
  125. package/dist/cjs/ix-group.cjs.entry.js.map +1 -1
  126. package/dist/cjs/ix-icon-button_2.cjs.entry.js +5 -5
  127. package/dist/cjs/ix-icon-button_2.cjs.entry.js.map +1 -1
  128. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +4 -4
  129. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js.map +1 -1
  130. package/dist/cjs/ix-icon.entry-e95ddded.js +1533 -0
  131. package/dist/cjs/ix-icon.entry-e95ddded.js.map +1 -0
  132. package/dist/cjs/ix-input-group.cjs.entry.js +1 -1
  133. package/dist/cjs/ix-key-value-list.cjs.entry.js +1 -1
  134. package/dist/cjs/ix-kpi.cjs.entry.js +3 -3
  135. package/dist/cjs/ix-link-button.cjs.entry.js +3 -3
  136. package/dist/cjs/ix-map-navigation-overlay.cjs.entry.js +2 -2
  137. package/dist/cjs/ix-map-navigation.cjs.entry.js +2 -2
  138. package/dist/cjs/ix-menu-about-item.cjs.entry.js +1 -1
  139. package/dist/cjs/ix-menu-about-news.cjs.entry.js +4 -4
  140. package/dist/cjs/ix-menu-about.cjs.entry.js +1 -1
  141. package/dist/cjs/ix-menu-about.cjs.entry.js.map +1 -1
  142. package/dist/cjs/ix-menu-avatar.cjs.entry.js +2 -2
  143. package/dist/cjs/ix-menu-category.cjs.entry.js +5 -5
  144. package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +2 -2
  145. package/dist/cjs/ix-menu-item.cjs.entry.js +2 -2
  146. package/dist/cjs/ix-menu-settings-item.cjs.entry.js +1 -1
  147. package/dist/cjs/ix-menu.cjs.entry.js +11 -11
  148. package/dist/cjs/ix-menu.cjs.entry.js.map +1 -1
  149. package/dist/cjs/ix-message-bar.cjs.entry.js +1 -1
  150. package/dist/cjs/ix-modal-content_2.cjs.entry.js +2 -2
  151. package/dist/cjs/ix-modal-example.cjs.entry.js +1 -1
  152. package/dist/cjs/ix-modal-footer.cjs.entry.js +1 -1
  153. package/dist/cjs/ix-modal-loading.cjs.entry.js +1 -1
  154. package/dist/cjs/ix-pagination.cjs.entry.js +4 -4
  155. package/dist/cjs/ix-pagination.cjs.entry.js.map +1 -1
  156. package/dist/cjs/ix-pane-layout.cjs.entry.js +1 -1
  157. package/dist/cjs/ix-pill.cjs.entry.js +4 -4
  158. package/dist/cjs/ix-playground-internal.cjs.entry.js +1 -1
  159. package/dist/cjs/ix-select.cjs.entry.js +159 -39
  160. package/dist/cjs/ix-select.cjs.entry.js.map +1 -1
  161. package/dist/cjs/ix-split-button-item.cjs.entry.js +1 -1
  162. package/dist/cjs/ix-tab-item_2.cjs.entry.js +2 -2
  163. package/dist/cjs/ix-tile.cjs.entry.js +4 -4
  164. package/dist/cjs/ix-time-picker.cjs.entry.js +1 -1
  165. package/dist/cjs/ix-time-picker.cjs.entry.js.map +1 -1
  166. package/dist/cjs/ix-toast.cjs.entry.js +2 -2
  167. package/dist/cjs/ix-toggle-button.cjs.entry.js +3 -3
  168. package/dist/cjs/ix-toggle.cjs.entry.js +2 -2
  169. package/dist/cjs/ix-tooltip.cjs.entry.js +5 -2
  170. package/dist/cjs/ix-tooltip.cjs.entry.js.map +1 -1
  171. package/dist/cjs/ix-tree-item.cjs.entry.js +4 -4
  172. package/dist/cjs/ix-tree.cjs.entry.js +1 -1
  173. package/dist/cjs/ix-upload.cjs.entry.js +3 -3
  174. package/dist/cjs/ix-validation-tooltip.cjs.entry.js +2 -2
  175. package/dist/cjs/ix-workflow-step.cjs.entry.js +4 -4
  176. package/dist/cjs/ix-workflow-step.cjs.entry.js.map +1 -1
  177. package/dist/cjs/ix-workflow-steps.cjs.entry.js +2 -2
  178. package/dist/cjs/ix-workflow-steps.cjs.entry.js.map +1 -1
  179. package/dist/cjs/loader.cjs.js +2 -2
  180. package/dist/cjs/siemens-ix.cjs.js +2 -2
  181. package/dist/collection/components/action-card/action-card.js.map +1 -1
  182. package/dist/collection/components/application/application.js.map +1 -1
  183. package/dist/collection/components/application-header/application-header.js.map +1 -1
  184. package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.js.map +1 -1
  185. package/dist/collection/components/application-header/test/application-header.ct.js.map +1 -1
  186. package/dist/collection/components/application-sidebar/application-sidebar.js.map +1 -1
  187. package/dist/collection/components/application-sidebar/events.js.map +1 -1
  188. package/dist/collection/components/avatar/avatar.js.map +1 -1
  189. package/dist/collection/components/avatar/test/avatar.ct.js.map +1 -1
  190. package/dist/collection/components/basic-navigation/basic-navigation.js.map +1 -1
  191. package/dist/collection/components/blind/blind.css +1 -1
  192. package/dist/collection/components/blind/blind.js.map +1 -1
  193. package/dist/collection/components/blind/test/blind.ct.js.map +1 -1
  194. package/dist/collection/components/breadcrumb/breadcrumb.js.map +1 -1
  195. package/dist/collection/components/breadcrumb/test/breadcrumb.ct.js.map +1 -1
  196. package/dist/collection/components/breadcrumb-item/breadcrumb-item.css +181 -0
  197. package/dist/collection/components/breadcrumb-item/breadcrumb-item.js.map +1 -1
  198. package/dist/collection/components/button/base-button.js +25 -2
  199. package/dist/collection/components/button/base-button.js.map +1 -1
  200. package/dist/collection/components/button/button.css +181 -0
  201. package/dist/collection/components/button/button.js +7 -4
  202. package/dist/collection/components/button/button.js.map +1 -1
  203. package/dist/collection/components/button/test/button.ct.js +11 -0
  204. package/dist/collection/components/button/test/button.ct.js.map +1 -1
  205. package/dist/collection/components/button/test/button.spec.js.map +1 -1
  206. package/dist/collection/components/card/card.js.map +1 -1
  207. package/dist/collection/components/card-accordion/card-accordion.js.map +1 -1
  208. package/dist/collection/components/card-content/card-content.js.map +1 -1
  209. package/dist/collection/components/card-list/card-list.js.map +1 -1
  210. package/dist/collection/components/card-title/card-title.js.map +1 -1
  211. package/dist/collection/components/category-filter/category-filter.css +241 -24
  212. package/dist/collection/components/category-filter/category-filter.js +58 -9
  213. package/dist/collection/components/category-filter/category-filter.js.map +1 -1
  214. package/dist/collection/components/category-filter/filter-state.js.map +1 -1
  215. package/dist/collection/components/category-filter/input-state.js.map +1 -1
  216. package/dist/collection/components/category-filter/logical-filter-operator.js.map +1 -1
  217. package/dist/collection/components/chip/chip.js.map +1 -1
  218. package/dist/collection/components/col/col.js.map +1 -1
  219. package/dist/collection/components/content/content.js.map +1 -1
  220. package/dist/collection/components/content-header/content-header.js.map +1 -1
  221. package/dist/collection/components/css-grid/builder.js.map +1 -1
  222. package/dist/collection/components/css-grid/css-grid-item.js.map +1 -1
  223. package/dist/collection/components/css-grid/css-grid.js.map +1 -1
  224. package/dist/collection/components/date-dropdown/date-dropdown.js +33 -3
  225. package/dist/collection/components/date-dropdown/date-dropdown.js.map +1 -1
  226. package/dist/collection/components/date-dropdown/test/date-dropdown.ct.js +43 -0
  227. package/dist/collection/components/date-dropdown/test/date-dropdown.ct.js.map +1 -1
  228. package/dist/collection/components/date-picker/date-picker.js +4 -4
  229. package/dist/collection/components/date-picker/date-picker.js.map +1 -1
  230. package/dist/collection/components/date-picker/test/date-picker.ct.js.map +1 -1
  231. package/dist/collection/components/date-time-card/date-time-card.js.map +1 -1
  232. package/dist/collection/components/datetime-picker/datetime-picker.js.map +1 -1
  233. package/dist/collection/components/datetime-picker/test/datetime-picker.ct.js.map +1 -1
  234. package/dist/collection/components/divider/divider.js.map +1 -1
  235. package/dist/collection/components/drawer/drawer.js.map +1 -1
  236. package/dist/collection/components/drawer/test/drawer.ct.js.map +1 -1
  237. package/dist/collection/components/drawer/test/drawer.spec.js.map +1 -1
  238. package/dist/collection/components/dropdown/dropdown-controller.js +19 -6
  239. package/dist/collection/components/dropdown/dropdown-controller.js.map +1 -1
  240. package/dist/collection/components/dropdown/dropdown.js +80 -12
  241. package/dist/collection/components/dropdown/dropdown.js.map +1 -1
  242. package/dist/collection/components/dropdown/placement.js.map +1 -1
  243. package/dist/collection/components/dropdown/test/dropdown-controller.spec.js.map +1 -1
  244. package/dist/collection/components/dropdown/test/dropdown.ct.js +42 -0
  245. package/dist/collection/components/dropdown/test/dropdown.ct.js.map +1 -1
  246. package/dist/collection/components/dropdown-button/dropdown-button.js +1 -1
  247. package/dist/collection/components/dropdown-button/dropdown-button.js.map +1 -1
  248. package/dist/collection/components/dropdown-header/dropdown-header.js.map +1 -1
  249. package/dist/collection/components/dropdown-item/dropdown-item.js.map +1 -1
  250. package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js.map +1 -1
  251. package/dist/collection/components/empty-state/empty-state.js.map +1 -1
  252. package/dist/collection/components/event-list/event-list.js +26 -25
  253. package/dist/collection/components/event-list/event-list.js.map +1 -1
  254. package/dist/collection/components/event-list/test/event-list.ct.js +61 -0
  255. package/dist/collection/components/event-list/test/event-list.ct.js.map +1 -0
  256. package/dist/collection/components/event-list/test/event-list.spec.js +0 -47
  257. package/dist/collection/components/event-list/test/event-list.spec.js.map +1 -1
  258. package/dist/collection/components/event-list-item/event-list-item.js +5 -4
  259. package/dist/collection/components/event-list-item/event-list-item.js.map +1 -1
  260. package/dist/collection/components/event-list-item/test/event-list-item.spec.js.map +1 -1
  261. package/dist/collection/components/expanding-search/expanding-search.js.map +1 -1
  262. package/dist/collection/components/expanding-search/test/expanding-search.ct.js.map +1 -1
  263. package/dist/collection/components/expanding-search/test/expanding-search.spec.js.map +1 -1
  264. package/dist/collection/components/filter-chip/filter-chip.js.map +1 -1
  265. package/dist/collection/components/flip-tile/flip-tile-state.js.map +1 -1
  266. package/dist/collection/components/flip-tile/flip-tile.js.map +1 -1
  267. package/dist/collection/components/flip-tile/test/flip-tile.ct.js.map +1 -1
  268. package/dist/collection/components/flip-tile-content/flip-tile-content.js.map +1 -1
  269. package/dist/collection/components/form-field/form-field.css +30 -12
  270. package/dist/collection/components/form-field/form-field.js.map +1 -1
  271. package/dist/collection/components/grid/layout-grid.js.map +1 -1
  272. package/dist/collection/components/group/group-context-menu.css +3 -0
  273. package/dist/collection/components/group/group-context-menu.js.map +1 -1
  274. package/dist/collection/components/group/group.js +16 -9
  275. package/dist/collection/components/group/group.js.map +1 -1
  276. package/dist/collection/components/group/test/group.ct.js +47 -0
  277. package/dist/collection/components/group/test/group.ct.js.map +1 -0
  278. package/dist/collection/components/group-item/group-item.css +9 -4
  279. package/dist/collection/components/group-item/group-item.js +2 -2
  280. package/dist/collection/components/group-item/group-item.js.map +1 -1
  281. package/dist/collection/components/icon-button/base-icon-button.js.map +1 -1
  282. package/dist/collection/components/icon-button/icon-button.css +181 -0
  283. package/dist/collection/components/icon-button/icon-button.js +6 -3
  284. package/dist/collection/components/icon-button/icon-button.js.map +1 -1
  285. package/dist/collection/components/icon-button/test/icon-button.ct.js.map +1 -1
  286. package/dist/collection/components/icon-button/test/icon-button.spec.js.map +1 -1
  287. package/dist/collection/components/icon-toggle-button/icon-toggle-button.css +181 -0
  288. package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +2 -2
  289. package/dist/collection/components/icon-toggle-button/icon-toggle-button.js.map +1 -1
  290. package/dist/collection/components/input-group/input-group.js +1 -1
  291. package/dist/collection/components/input-group/input-group.js.map +1 -1
  292. package/dist/collection/components/input-group/tests/input-group.ct.js.map +1 -1
  293. package/dist/collection/components/key-value/key-value.js.map +1 -1
  294. package/dist/collection/components/key-value-list/key-value-list.js +1 -1
  295. package/dist/collection/components/key-value-list/key-value-list.js.map +1 -1
  296. package/dist/collection/components/kpi/kpi.js +3 -3
  297. package/dist/collection/components/kpi/kpi.js.map +1 -1
  298. package/dist/collection/components/link-button/link-button.js +3 -3
  299. package/dist/collection/components/link-button/link-button.js.map +1 -1
  300. package/dist/collection/components/map-navigation/map-navigation.js +2 -2
  301. package/dist/collection/components/map-navigation/map-navigation.js.map +1 -1
  302. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +2 -2
  303. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js.map +1 -1
  304. package/dist/collection/components/menu/menu-expand-icon.js +1 -1
  305. package/dist/collection/components/menu/menu-expand-icon.js.map +1 -1
  306. package/dist/collection/components/menu/menu.js +11 -11
  307. package/dist/collection/components/menu/menu.js.map +1 -1
  308. package/dist/collection/components/menu/test/menu.ct.js.map +1 -1
  309. package/dist/collection/components/menu-about/menu-about.js +2 -2
  310. package/dist/collection/components/menu-about/menu-about.js.map +1 -1
  311. package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
  312. package/dist/collection/components/menu-about-item/menu-about-item.js.map +1 -1
  313. package/dist/collection/components/menu-about-news/menu-about-news.js +4 -4
  314. package/dist/collection/components/menu-about-news/menu-about-news.js.map +1 -1
  315. package/dist/collection/components/menu-avatar/menu-avatar.js +2 -2
  316. package/dist/collection/components/menu-avatar/menu-avatar.js.map +1 -1
  317. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
  318. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js.map +1 -1
  319. package/dist/collection/components/menu-avatar-item/test/menu-avatar-item.ct.js.map +1 -1
  320. package/dist/collection/components/menu-category/enter-leave.js.map +1 -1
  321. package/dist/collection/components/menu-category/menu-category.js +5 -5
  322. package/dist/collection/components/menu-category/menu-category.js.map +1 -1
  323. package/dist/collection/components/menu-category/test/menu-category.ct.js.map +1 -1
  324. package/dist/collection/components/menu-item/menu-item.js +2 -2
  325. package/dist/collection/components/menu-item/menu-item.js.map +1 -1
  326. package/dist/collection/components/menu-item/test/menu-item.ct.js.map +1 -1
  327. package/dist/collection/components/menu-settings/menu-settings.js.map +1 -1
  328. package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
  329. package/dist/collection/components/menu-settings-item/menu-settings-item.js.map +1 -1
  330. package/dist/collection/components/message-bar/message-bar.js +1 -1
  331. package/dist/collection/components/message-bar/message-bar.js.map +1 -1
  332. package/dist/collection/components/message-bar/test/message-bar.spec.js.map +1 -1
  333. package/dist/collection/components/modal/modal.js.map +1 -1
  334. package/dist/collection/components/modal/test/modal.ct.js.map +1 -1
  335. package/dist/collection/components/modal-content/modal-content.js +1 -1
  336. package/dist/collection/components/modal-content/modal-content.js.map +1 -1
  337. package/dist/collection/components/modal-footer/modal-footer.js +1 -1
  338. package/dist/collection/components/modal-footer/modal-footer.js.map +1 -1
  339. package/dist/collection/components/modal-header/modal-header.js +1 -1
  340. package/dist/collection/components/modal-header/modal-header.js.map +1 -1
  341. package/dist/collection/components/modal-loading/modal-loading.js +1 -1
  342. package/dist/collection/components/modal-loading/modal-loading.js.map +1 -1
  343. package/dist/collection/components/pagination/pagination.css +181 -0
  344. package/dist/collection/components/pagination/pagination.js +2 -2
  345. package/dist/collection/components/pagination/pagination.js.map +1 -1
  346. package/dist/collection/components/pagination/test/pagination.ct.js.map +1 -1
  347. package/dist/collection/components/pagination/test/pagination.spec.js.map +1 -1
  348. package/dist/collection/components/pane/pane.js.map +1 -1
  349. package/dist/collection/components/pane/test/panes.ct.js.map +1 -1
  350. package/dist/collection/components/pane-layout/pane-layout.js +1 -1
  351. package/dist/collection/components/pane-layout/pane-layout.js.map +1 -1
  352. package/dist/collection/components/pane-layout/test/pane-layout.ct.js.map +1 -1
  353. package/dist/collection/components/pill/pill.js +4 -4
  354. package/dist/collection/components/pill/pill.js.map +1 -1
  355. package/dist/collection/components/playground/example-modal.js +1 -1
  356. package/dist/collection/components/playground/example-modal.js.map +1 -1
  357. package/dist/collection/components/playground/playground.js +1 -1
  358. package/dist/collection/components/playground/playground.js.map +1 -1
  359. package/dist/collection/components/push-card/push-card.js.map +1 -1
  360. package/dist/collection/components/row/row.js +1 -1
  361. package/dist/collection/components/row/row.js.map +1 -1
  362. package/dist/collection/components/select/select.css +27 -9
  363. package/dist/collection/components/select/select.js +159 -38
  364. package/dist/collection/components/select/select.js.map +1 -1
  365. package/dist/collection/components/select/test/select.ct.js +342 -0
  366. package/dist/collection/components/select/test/select.ct.js.map +1 -1
  367. package/dist/collection/components/select-item/events.js.map +1 -1
  368. package/dist/collection/components/select-item/select-item.js +32 -1
  369. package/dist/collection/components/select-item/select-item.js.map +1 -1
  370. package/dist/collection/components/select-item/test/select-item.spec.js.map +1 -1
  371. package/dist/collection/components/slider/slider.js.map +1 -1
  372. package/dist/collection/components/slider/test/slider.ct.js.map +1 -1
  373. package/dist/collection/components/spinner/spinner.js +1 -1
  374. package/dist/collection/components/spinner/spinner.js.map +1 -1
  375. package/dist/collection/components/split-button/split-button.js +1 -1
  376. package/dist/collection/components/split-button/split-button.js.map +1 -1
  377. package/dist/collection/components/split-button-item/split-button-item.js +1 -1
  378. package/dist/collection/components/split-button-item/split-button-item.js.map +1 -1
  379. package/dist/collection/components/tab-item/tab-item.js.map +1 -1
  380. package/dist/collection/components/tabs/tabs.js +2 -2
  381. package/dist/collection/components/tabs/tabs.js.map +1 -1
  382. package/dist/collection/components/tabs/test/tabs.ct.js.map +1 -1
  383. package/dist/collection/components/tile/tile.js +4 -4
  384. package/dist/collection/components/tile/tile.js.map +1 -1
  385. package/dist/collection/components/time-picker/test/time-picker.ct.js.map +1 -1
  386. package/dist/collection/components/time-picker/time-picker.css +30 -12
  387. package/dist/collection/components/time-picker/time-picker.js.map +1 -1
  388. package/dist/collection/components/toast/toast-container.js.map +1 -1
  389. package/dist/collection/components/toast/toast-utils.js.map +1 -1
  390. package/dist/collection/components/toast/toast.js +2 -2
  391. package/dist/collection/components/toast/toast.js.map +1 -1
  392. package/dist/collection/components/toggle/test/toggle.ct.js.map +1 -1
  393. package/dist/collection/components/toggle/toggle.js +2 -2
  394. package/dist/collection/components/toggle/toggle.js.map +1 -1
  395. package/dist/collection/components/toggle-button/toggle-button.js +3 -3
  396. package/dist/collection/components/toggle-button/toggle-button.js.map +1 -1
  397. package/dist/collection/components/tooltip/test/tooltip.ct.js.map +1 -1
  398. package/dist/collection/components/tooltip/tooltip-controller.js.map +1 -1
  399. package/dist/collection/components/tooltip/tooltip.js +5 -2
  400. package/dist/collection/components/tooltip/tooltip.js.map +1 -1
  401. package/dist/collection/components/tree/test/tree.ct.js.map +1 -1
  402. package/dist/collection/components/tree/tree-model.js.map +1 -1
  403. package/dist/collection/components/tree/tree.js +1 -1
  404. package/dist/collection/components/tree/tree.js.map +1 -1
  405. package/dist/collection/components/tree-item/default-tree-item.js.map +1 -1
  406. package/dist/collection/components/tree-item/tree-item.js +4 -4
  407. package/dist/collection/components/tree-item/tree-item.js.map +1 -1
  408. package/dist/collection/components/typography/test/ix-typography.spec.js.map +1 -1
  409. package/dist/collection/components/typography/type-mapping.js.map +1 -1
  410. package/dist/collection/components/typography/typography.js.map +1 -1
  411. package/dist/collection/components/upload/upload-file-state.js.map +1 -1
  412. package/dist/collection/components/upload/upload.js +3 -3
  413. package/dist/collection/components/upload/upload.js.map +1 -1
  414. package/dist/collection/components/utils/a11y.js.map +1 -1
  415. package/dist/collection/components/utils/animation.js.map +1 -1
  416. package/dist/collection/components/utils/app-switch/index.js.map +1 -1
  417. package/dist/collection/components/utils/application-layout/context.js.map +1 -1
  418. package/dist/collection/components/utils/application-layout/index.js.map +1 -1
  419. package/dist/collection/components/utils/application-layout/service.js.map +1 -1
  420. package/dist/collection/components/utils/breakpoints.js.map +1 -1
  421. package/dist/collection/components/utils/condition-checks.js.map +1 -1
  422. package/dist/collection/components/utils/context.js.map +1 -1
  423. package/dist/collection/components/utils/debounce.js.map +1 -1
  424. package/dist/collection/components/utils/delegate.js.map +1 -1
  425. package/dist/collection/components/utils/focus.js +60 -0
  426. package/dist/collection/components/utils/focus.js.map +1 -0
  427. package/dist/collection/components/utils/internal/component.js.map +1 -1
  428. package/dist/collection/components/utils/internal/index.js.map +1 -1
  429. package/dist/collection/components/utils/listener.js.map +1 -1
  430. package/dist/collection/components/utils/make-ref.js.map +1 -1
  431. package/dist/collection/components/utils/menu-service/menu-service.js.map +1 -1
  432. package/dist/collection/components/utils/menu-tabs/menu-tabs-fc.js.map +1 -1
  433. package/dist/collection/components/utils/menu-tabs/menu-tabs-utils.js.map +1 -1
  434. package/dist/collection/components/utils/modal/index.js.map +1 -1
  435. package/dist/collection/components/utils/modal/loading.js.map +1 -1
  436. package/dist/collection/components/utils/modal/message.js.map +1 -1
  437. package/dist/collection/components/utils/modal/modal.js.map +1 -1
  438. package/dist/collection/components/utils/mutation-observer.js.map +1 -1
  439. package/dist/collection/components/utils/notification-color.js.map +1 -1
  440. package/dist/collection/components/utils/overlay.js.map +1 -1
  441. package/dist/collection/components/utils/requestAnimationFrame.js.map +1 -1
  442. package/dist/collection/components/utils/rwd.util.js.map +1 -1
  443. package/dist/collection/components/utils/shadow-dom.js.map +1 -1
  444. package/dist/collection/components/utils/theme-switcher.js.map +1 -1
  445. package/dist/collection/components/utils/typed-event.js.map +1 -1
  446. package/dist/collection/components/utils/waitForElement.js.map +1 -1
  447. package/dist/collection/components/validation-tooltip/validation-tooltip.js +2 -2
  448. package/dist/collection/components/validation-tooltip/validation-tooltip.js.map +1 -1
  449. package/dist/collection/components/workflow-step/workflow-step.css +27 -7
  450. package/dist/collection/components/workflow-step/workflow-step.js +3 -3
  451. package/dist/collection/components/workflow-step/workflow-step.js.map +1 -1
  452. package/dist/collection/components/workflow-steps/test/workflow-steps.ct.js.map +1 -1
  453. package/dist/collection/components/workflow-steps/test/workflow-steps.spec.js.map +1 -1
  454. package/dist/collection/components/workflow-steps/workflow-steps.css +9 -1
  455. package/dist/collection/components/workflow-steps/workflow-steps.js +1 -1
  456. package/dist/collection/components/workflow-steps/workflow-steps.js.map +1 -1
  457. package/dist/collection/index.js.map +1 -1
  458. package/dist/collection/setup.js.map +1 -1
  459. package/dist/collection/tests/action-card/action-card.e2e.js.map +1 -1
  460. package/dist/collection/tests/application/application.e2e.js.map +1 -1
  461. package/dist/collection/tests/application-header/application-header.e2e.js.map +1 -1
  462. package/dist/collection/tests/avatar/avatar.e2e.js.map +1 -1
  463. package/dist/collection/tests/basic-navigation/basic-navigation.e2e.js.map +1 -1
  464. package/dist/collection/tests/blind/blind.e2e.js.map +1 -1
  465. package/dist/collection/tests/breadcrumb/breadcrumb.e2e.js.map +1 -1
  466. package/dist/collection/tests/button/button.e2e.js.map +1 -1
  467. package/dist/collection/tests/card/card.e2e.js.map +1 -1
  468. package/dist/collection/tests/card-list/card-list.e2e.js.map +1 -1
  469. package/dist/collection/tests/category-filter/category-filter.e2e.js +30 -0
  470. package/dist/collection/tests/category-filter/category-filter.e2e.js.map +1 -1
  471. package/dist/collection/tests/checkbox/checkbox.e2e.js.map +1 -1
  472. package/dist/collection/tests/chip/chip.e2e.js.map +1 -1
  473. package/dist/collection/tests/content-header/content-header.e2e.js.map +1 -1
  474. package/dist/collection/tests/date-dropdown/date-dropdown.e2e.js.map +1 -1
  475. package/dist/collection/tests/date-picker/date-picker.e2e.js.map +1 -1
  476. package/dist/collection/tests/date-picker-rework/date-picker-rework.e2e.js.map +1 -1
  477. package/dist/collection/tests/datetime-picker/datetime-picker.e2e.js.map +1 -1
  478. package/dist/collection/tests/datetime-picker-rework/datetime-picker-rework.e2e.js.map +1 -1
  479. package/dist/collection/tests/divider/divider.e2e.js.map +1 -1
  480. package/dist/collection/tests/drawer/drawer.e2e.js.map +1 -1
  481. package/dist/collection/tests/dropdown/dropdown.e2e.js.map +1 -1
  482. package/dist/collection/tests/dropdown-button/dropdown-button.e2e.js.map +1 -1
  483. package/dist/collection/tests/dropdown-quick-actions/dropdown-quick-actions.e2e.js.map +1 -1
  484. package/dist/collection/tests/empty-state/empty-state.e2e.js.map +1 -1
  485. package/dist/collection/tests/event-list/event-list.e2e.js.map +1 -1
  486. package/dist/collection/tests/expanding-search/expanding-search.e2e.js.map +1 -1
  487. package/dist/collection/tests/flip-tile/flip-tile.e2e.js.map +1 -1
  488. package/dist/collection/tests/fonts/fonts.e2e.js.map +1 -1
  489. package/dist/collection/tests/group/group.e2e.js.map +1 -1
  490. package/dist/collection/tests/html-table/html-table.e2e.js.map +1 -1
  491. package/dist/collection/tests/icon/icon.e2e.js.map +1 -1
  492. package/dist/collection/tests/icon-button/icon-button.e2e.js +34 -2
  493. package/dist/collection/tests/icon-button/icon-button.e2e.js.map +1 -1
  494. package/dist/collection/tests/icon-toggle-button/toggle-button.e2e.js.map +1 -1
  495. package/dist/collection/tests/input/input.e2e.js.map +1 -1
  496. package/dist/collection/tests/input-group/input-group.e2e.js.map +1 -1
  497. package/dist/collection/tests/key-value/key-value.e2e.js.map +1 -1
  498. package/dist/collection/tests/key-value-list/key-value-list.e2e.js.map +1 -1
  499. package/dist/collection/tests/kpi/kpi.e2e.js.map +1 -1
  500. package/dist/collection/tests/layout-grid/layout-grid.e2e.js.map +1 -1
  501. package/dist/collection/tests/link-button/link-button.e2e.js.map +1 -1
  502. package/dist/collection/tests/map-navigation/map-navigation.e2e.js.map +1 -1
  503. package/dist/collection/tests/map-navigation-overlay/map-navigation.e2e.js.map +1 -1
  504. package/dist/collection/tests/menu/menu.e2e.js.map +1 -1
  505. package/dist/collection/tests/menu-about/menu-about.e2e.js.map +1 -1
  506. package/dist/collection/tests/menu-about-news/menu-about-news.e2e.js.map +1 -1
  507. package/dist/collection/tests/menu-avatar/menu-avatar.e2e.js.map +1 -1
  508. package/dist/collection/tests/menu-settings/menu-settings.e2e.js.map +1 -1
  509. package/dist/collection/tests/message-bar/message-bar.e2e.js.map +1 -1
  510. package/dist/collection/tests/modal/modal.e2e.js.map +1 -1
  511. package/dist/collection/tests/pagination/pagination.e2e.js.map +1 -1
  512. package/dist/collection/tests/panes/panes.e2e.js.map +1 -1
  513. package/dist/collection/tests/pill/pill.e2e.js.map +1 -1
  514. package/dist/collection/tests/push-card/push-card.e2e.js.map +1 -1
  515. package/dist/collection/tests/radiobutton/radiobutton.e2e.js.map +1 -1
  516. package/dist/collection/tests/select/select.e2e.js +21 -0
  517. package/dist/collection/tests/select/select.e2e.js.map +1 -1
  518. package/dist/collection/tests/slider/slider.e2e.js.map +1 -1
  519. package/dist/collection/tests/spinner/spinner.e2e.js.map +1 -1
  520. package/dist/collection/tests/split-button/split-button.e2e.js.map +1 -1
  521. package/dist/collection/tests/tabs/tabs.e2e.js.map +1 -1
  522. package/dist/collection/tests/textarea/textarea.e2e.js.map +1 -1
  523. package/dist/collection/tests/tile/tile.e2e.js.map +1 -1
  524. package/dist/collection/tests/time-picker-rework/time-picker-rework.e2e.js.map +1 -1
  525. package/dist/collection/tests/toast/toast.e2e.js.map +1 -1
  526. package/dist/collection/tests/toggle/toggle.e2e.js.map +1 -1
  527. package/dist/collection/tests/toggle-button/toggle-button.e2e.js.map +1 -1
  528. package/dist/collection/tests/tooltip/tooltip.e2e.js.map +1 -1
  529. package/dist/collection/tests/tree/tree.e2e.js.map +1 -1
  530. package/dist/collection/tests/typography/typography.e2e.js.map +1 -1
  531. package/dist/collection/tests/upload/upload.e2e.js.map +1 -1
  532. package/dist/collection/tests/utils/test/index.js.map +1 -1
  533. package/dist/collection/tests/utils/test/page.js.map +1 -1
  534. package/dist/collection/tests/workflow-steps/workflow-steps.e2e.js.map +1 -1
  535. package/dist/esm/{app-globals-bdfc5499.js → app-globals-0cd07cd9.js} +2 -2
  536. package/dist/esm/{app-globals-bdfc5499.js.map → app-globals-0cd07cd9.js.map} +1 -1
  537. package/dist/esm/{base-button-37b915d6.js → base-button-3ac703a7.js} +27 -4
  538. package/dist/esm/base-button-3ac703a7.js.map +1 -0
  539. package/dist/esm/{base-icon-button-976ef0f6.js → base-icon-button-59eb1fe5.js} +2 -2
  540. package/dist/esm/{base-icon-button-976ef0f6.js.map → base-icon-button-59eb1fe5.js.map} +1 -1
  541. package/dist/esm/{core-js-1c33b685.js → core-js-78b486a8.js} +1 -1
  542. package/dist/esm/{core-js-1c33b685.js.map → core-js-78b486a8.js.map} +1 -1
  543. package/dist/esm/dom-64ac48b5.js.map +1 -1
  544. package/dist/esm/focus-d4d3abaf.js +63 -0
  545. package/dist/esm/focus-d4d3abaf.js.map +1 -0
  546. package/dist/esm/{index.es2017-45304832.js → index.es2017-93ac816c.js} +3 -3
  547. package/dist/esm/{index.es2017-45304832.js.map → index.es2017-93ac816c.js.map} +1 -1
  548. package/dist/esm/ix-avatar_2.entry.js +2 -2
  549. package/dist/esm/ix-blind.entry.js +1 -1
  550. package/dist/esm/ix-blind.entry.js.map +1 -1
  551. package/dist/esm/ix-breadcrumb-item.entry.js +2 -2
  552. package/dist/esm/ix-breadcrumb-item.entry.js.map +1 -1
  553. package/dist/esm/ix-button.entry.js +4 -4
  554. package/dist/esm/ix-button.entry.js.map +1 -1
  555. package/dist/esm/ix-category-filter.entry.js +34 -11
  556. package/dist/esm/ix-category-filter.entry.js.map +1 -1
  557. package/dist/esm/ix-col_4.entry.js +5 -5
  558. package/dist/esm/ix-col_4.entry.js.map +1 -1
  559. package/dist/esm/ix-date-dropdown.entry.js +11 -4
  560. package/dist/esm/ix-date-dropdown.entry.js.map +1 -1
  561. package/dist/esm/ix-dropdown.entry.js +78 -18
  562. package/dist/esm/ix-dropdown.entry.js.map +1 -1
  563. package/dist/esm/ix-event-list-item.entry.js +5 -4
  564. package/dist/esm/ix-event-list-item.entry.js.map +1 -1
  565. package/dist/esm/ix-event-list.entry.js +26 -25
  566. package/dist/esm/ix-event-list.entry.js.map +1 -1
  567. package/dist/esm/ix-filter-chip_2.entry.js +8 -1
  568. package/dist/esm/ix-filter-chip_2.entry.js.map +1 -1
  569. package/dist/esm/ix-form-field.entry.js +1 -1
  570. package/dist/esm/ix-form-field.entry.js.map +1 -1
  571. package/dist/esm/ix-group-context-menu_2.entry.js +4 -4
  572. package/dist/esm/ix-group-context-menu_2.entry.js.map +1 -1
  573. package/dist/esm/ix-group.entry.js +14 -8
  574. package/dist/esm/ix-group.entry.js.map +1 -1
  575. package/dist/esm/ix-icon-button_2.entry.js +5 -5
  576. package/dist/esm/ix-icon-button_2.entry.js.map +1 -1
  577. package/dist/esm/ix-icon-toggle-button.entry.js +4 -4
  578. package/dist/esm/ix-icon-toggle-button.entry.js.map +1 -1
  579. package/dist/esm/ix-icon.entry-621b700a.js +1531 -0
  580. package/dist/esm/ix-icon.entry-621b700a.js.map +1 -0
  581. package/dist/esm/ix-input-group.entry.js +1 -1
  582. package/dist/esm/ix-key-value-list.entry.js +1 -1
  583. package/dist/esm/ix-kpi.entry.js +3 -3
  584. package/dist/esm/ix-link-button.entry.js +3 -3
  585. package/dist/esm/ix-map-navigation-overlay.entry.js +2 -2
  586. package/dist/esm/ix-map-navigation.entry.js +2 -2
  587. package/dist/esm/ix-menu-about-item.entry.js +1 -1
  588. package/dist/esm/ix-menu-about-news.entry.js +4 -4
  589. package/dist/esm/ix-menu-about.entry.js +1 -1
  590. package/dist/esm/ix-menu-about.entry.js.map +1 -1
  591. package/dist/esm/ix-menu-avatar.entry.js +2 -2
  592. package/dist/esm/ix-menu-category.entry.js +5 -5
  593. package/dist/esm/ix-menu-expand-icon.entry.js +2 -2
  594. package/dist/esm/ix-menu-item.entry.js +2 -2
  595. package/dist/esm/ix-menu-settings-item.entry.js +1 -1
  596. package/dist/esm/ix-menu.entry.js +11 -11
  597. package/dist/esm/ix-menu.entry.js.map +1 -1
  598. package/dist/esm/ix-message-bar.entry.js +1 -1
  599. package/dist/esm/ix-modal-content_2.entry.js +2 -2
  600. package/dist/esm/ix-modal-example.entry.js +1 -1
  601. package/dist/esm/ix-modal-footer.entry.js +1 -1
  602. package/dist/esm/ix-modal-loading.entry.js +1 -1
  603. package/dist/esm/ix-pagination.entry.js +4 -4
  604. package/dist/esm/ix-pagination.entry.js.map +1 -1
  605. package/dist/esm/ix-pane-layout.entry.js +1 -1
  606. package/dist/esm/ix-pill.entry.js +4 -4
  607. package/dist/esm/ix-playground-internal.entry.js +1 -1
  608. package/dist/esm/ix-select.entry.js +159 -39
  609. package/dist/esm/ix-select.entry.js.map +1 -1
  610. package/dist/esm/ix-split-button-item.entry.js +1 -1
  611. package/dist/esm/ix-tab-item_2.entry.js +2 -2
  612. package/dist/esm/ix-tile.entry.js +4 -4
  613. package/dist/esm/ix-time-picker.entry.js +1 -1
  614. package/dist/esm/ix-time-picker.entry.js.map +1 -1
  615. package/dist/esm/ix-toast.entry.js +2 -2
  616. package/dist/esm/ix-toggle-button.entry.js +3 -3
  617. package/dist/esm/ix-toggle.entry.js +2 -2
  618. package/dist/esm/ix-tooltip.entry.js +5 -2
  619. package/dist/esm/ix-tooltip.entry.js.map +1 -1
  620. package/dist/esm/ix-tree-item.entry.js +4 -4
  621. package/dist/esm/ix-tree.entry.js +1 -1
  622. package/dist/esm/ix-upload.entry.js +3 -3
  623. package/dist/esm/ix-validation-tooltip.entry.js +2 -2
  624. package/dist/esm/ix-workflow-step.entry.js +4 -4
  625. package/dist/esm/ix-workflow-step.entry.js.map +1 -1
  626. package/dist/esm/ix-workflow-steps.entry.js +2 -2
  627. package/dist/esm/ix-workflow-steps.entry.js.map +1 -1
  628. package/dist/esm/loader.js +2 -2
  629. package/dist/esm/siemens-ix.js +2 -2
  630. package/dist/siemens-ix/p-01b8b98c.entry.js +2 -0
  631. package/dist/siemens-ix/{p-9fcf9dcd.entry.js.map → p-01b8b98c.entry.js.map} +1 -1
  632. package/dist/siemens-ix/{p-d2ee87ae.entry.js → p-0a1bfcfc.entry.js} +2 -2
  633. package/dist/siemens-ix/p-0fee2dd5.entry.js +2 -0
  634. package/dist/siemens-ix/p-0fee2dd5.entry.js.map +1 -0
  635. package/dist/siemens-ix/{p-9c03b231.entry.js → p-114bb49b.entry.js} +2 -2
  636. package/dist/siemens-ix/p-18a1c4dd.entry.js +2 -0
  637. package/dist/siemens-ix/p-18a1c4dd.entry.js.map +1 -0
  638. package/dist/siemens-ix/p-18a27007.entry.js +2 -0
  639. package/dist/siemens-ix/p-18a27007.entry.js.map +1 -0
  640. package/dist/siemens-ix/{p-84430d2c.js → p-1f6df0c6.js} +2 -2
  641. package/dist/siemens-ix/{p-84430d2c.js.map → p-1f6df0c6.js.map} +1 -1
  642. package/dist/siemens-ix/p-213f16d5.entry.js +2 -0
  643. package/dist/siemens-ix/p-213f16d5.entry.js.map +1 -0
  644. package/dist/siemens-ix/{p-7702a8c2.js → p-235c14ca.js} +2 -2
  645. package/dist/siemens-ix/p-2459f98f.entry.js +2 -0
  646. package/dist/siemens-ix/p-2459f98f.entry.js.map +1 -0
  647. package/dist/siemens-ix/p-2c14670e.entry.js +2 -0
  648. package/dist/siemens-ix/p-2c14670e.entry.js.map +1 -0
  649. package/dist/siemens-ix/{p-d76ee9ff.entry.js → p-306c5ab2.entry.js} +2 -2
  650. package/dist/siemens-ix/{p-f2856faf.entry.js → p-30e8a26a.entry.js} +2 -2
  651. package/dist/siemens-ix/{p-1450ba99.entry.js → p-3b8e4fe5.entry.js} +2 -2
  652. package/dist/siemens-ix/{p-96615442.entry.js → p-418959d3.entry.js} +2 -2
  653. package/dist/siemens-ix/{p-96615442.entry.js.map → p-418959d3.entry.js.map} +1 -1
  654. package/dist/siemens-ix/p-4290098e.entry.js +2 -0
  655. package/dist/siemens-ix/{p-cb1c0d63.entry.js.map → p-4290098e.entry.js.map} +1 -1
  656. package/dist/siemens-ix/p-43a58a77.entry.js +2 -0
  657. package/dist/siemens-ix/{p-7289b0be.entry.js.map → p-43a58a77.entry.js.map} +1 -1
  658. package/dist/siemens-ix/{p-ca838b5c.entry.js → p-493cb880.entry.js} +2 -2
  659. package/dist/siemens-ix/p-493cb880.entry.js.map +1 -0
  660. package/dist/siemens-ix/{p-f17e4cce.entry.js → p-4cf6e817.entry.js} +2 -2
  661. package/dist/siemens-ix/p-4fd11865.entry.js +2 -0
  662. package/dist/siemens-ix/p-56bbdae4.entry.js +2 -0
  663. package/dist/siemens-ix/p-5d43cae8.js.map +1 -1
  664. package/dist/siemens-ix/{p-0d268489.entry.js → p-5f08da2c.entry.js} +2 -2
  665. package/dist/siemens-ix/{p-26789c86.entry.js → p-601cfc6a.entry.js} +2 -2
  666. package/dist/siemens-ix/p-678d821f.entry.js +2 -0
  667. package/dist/siemens-ix/{p-b1ec7f32.entry.js → p-6ea6396e.entry.js} +2 -2
  668. package/dist/siemens-ix/{p-7c1fd9a0.entry.js → p-6eb4eefc.entry.js} +2 -2
  669. package/dist/siemens-ix/{p-af46164c.entry.js → p-784fe260.entry.js} +2 -2
  670. package/dist/siemens-ix/p-8362e966.js +2 -0
  671. package/dist/siemens-ix/p-8362e966.js.map +1 -0
  672. package/dist/siemens-ix/{p-d77fa665.entry.js → p-90c55341.entry.js} +2 -2
  673. package/dist/siemens-ix/p-90c55341.entry.js.map +1 -0
  674. package/dist/siemens-ix/p-96d2d21f.entry.js +2 -0
  675. package/dist/siemens-ix/p-96d2d21f.entry.js.map +1 -0
  676. package/dist/siemens-ix/{p-c5762d6c.entry.js → p-9dabe2f7.entry.js} +2 -2
  677. package/dist/siemens-ix/p-a147b152.entry.js +2 -0
  678. package/dist/siemens-ix/p-a147b152.entry.js.map +1 -0
  679. package/dist/siemens-ix/{p-b5c53faf.js → p-a2200306.js} +1 -1
  680. package/dist/siemens-ix/{p-b5c53faf.js.map → p-a2200306.js.map} +1 -1
  681. package/dist/siemens-ix/p-a35d02ea.entry.js +2 -0
  682. package/dist/siemens-ix/{p-31cc5367.entry.js → p-a3ad98bc.entry.js} +2 -2
  683. package/dist/siemens-ix/p-a6fbea5b.entry.js +2 -0
  684. package/dist/siemens-ix/p-a6fbea5b.entry.js.map +1 -0
  685. package/dist/siemens-ix/p-a8838a77.js +2 -0
  686. package/dist/siemens-ix/p-a9d1ab94.entry.js +2 -0
  687. package/dist/siemens-ix/{p-080653aa.entry.js.map → p-a9d1ab94.entry.js.map} +1 -1
  688. package/dist/siemens-ix/p-aa58d9d7.entry.js +2 -0
  689. package/dist/siemens-ix/p-aa58d9d7.entry.js.map +1 -0
  690. package/dist/siemens-ix/p-abb29515.entry.js +2 -0
  691. package/dist/siemens-ix/p-abb29515.entry.js.map +1 -0
  692. package/dist/siemens-ix/p-add5b76c.entry.js +2 -0
  693. package/dist/siemens-ix/{p-33e903e1.entry.js.map → p-add5b76c.entry.js.map} +1 -1
  694. package/dist/siemens-ix/p-b32c2183.entry.js +2 -0
  695. package/dist/siemens-ix/{p-d0cf522c.entry.js.map → p-b32c2183.entry.js.map} +1 -1
  696. package/dist/siemens-ix/{p-6f056fc6.entry.js → p-bc5d33ce.entry.js} +2 -2
  697. package/dist/siemens-ix/p-bd576793.entry.js +2 -0
  698. package/dist/siemens-ix/p-bd576793.entry.js.map +1 -0
  699. package/dist/siemens-ix/p-bdc57334.entry.js +2 -0
  700. package/dist/siemens-ix/{p-f7e82b50.entry.js.map → p-bdc57334.entry.js.map} +1 -1
  701. package/dist/siemens-ix/p-c09553f3.js +2 -0
  702. package/dist/siemens-ix/p-c09553f3.js.map +1 -0
  703. package/dist/siemens-ix/{p-30f449bc.entry.js → p-ca65a043.entry.js} +2 -2
  704. package/dist/siemens-ix/{p-4bbae41b.entry.js → p-cbbe9dee.entry.js} +2 -2
  705. package/dist/siemens-ix/p-ccf1bd22.entry.js +2 -0
  706. package/dist/siemens-ix/{p-c2f6aaae.entry.js → p-cf546284.entry.js} +2 -2
  707. package/dist/siemens-ix/p-cf546284.entry.js.map +1 -0
  708. package/dist/siemens-ix/{p-47017ce7.entry.js → p-d08cbeaf.entry.js} +2 -2
  709. package/dist/siemens-ix/p-d600ea55.entry.js +2 -0
  710. package/dist/siemens-ix/p-d600ea55.entry.js.map +1 -0
  711. package/dist/siemens-ix/{p-1255e76b.entry.js → p-d6a094cf.entry.js} +2 -2
  712. package/dist/siemens-ix/{p-f6635bfc.entry.js → p-def8b3a4.entry.js} +2 -2
  713. package/dist/siemens-ix/{p-f6635bfc.entry.js.map → p-def8b3a4.entry.js.map} +1 -1
  714. package/dist/siemens-ix/{p-177f9a5c.entry.js → p-e2464e13.entry.js} +2 -2
  715. package/dist/siemens-ix/p-e4e24f59.entry.js +2 -0
  716. package/dist/siemens-ix/{p-c89a070a.entry.js.map → p-e4e24f59.entry.js.map} +1 -1
  717. package/dist/siemens-ix/{p-d9d5389b.entry.js → p-e678bfc5.entry.js} +2 -2
  718. package/dist/siemens-ix/{p-c8e0563a.entry.js → p-ec741c06.entry.js} +2 -2
  719. package/dist/siemens-ix/{p-ca658a19.entry.js → p-ed2ec72f.entry.js} +2 -2
  720. package/dist/siemens-ix/{p-d9370972.entry.js → p-f2a81e70.entry.js} +2 -2
  721. package/dist/siemens-ix/{p-32fa185a.entry.js → p-fb55854a.entry.js} +2 -2
  722. package/dist/siemens-ix/p-fe87443e.js +2 -0
  723. package/dist/siemens-ix/p-fe87443e.js.map +1 -0
  724. package/dist/siemens-ix/siemens-ix-core.css +1 -1
  725. package/dist/siemens-ix/siemens-ix.css +102 -12
  726. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  727. package/dist/siemens-ix/siemens-ix.esm.js.map +1 -1
  728. package/dist/siemens-ix/theme/classic-dark.css +1 -1
  729. package/dist/siemens-ix/theme/classic-light.css +1 -1
  730. package/dist/types/components/button/base-button.d.ts +3 -0
  731. package/dist/types/components/button/button.d.ts +2 -1
  732. package/dist/types/components/category-filter/category-filter.d.ts +10 -0
  733. package/dist/types/components/date-dropdown/date-dropdown.d.ts +7 -0
  734. package/dist/types/components/dropdown/dropdown-controller.d.ts +2 -2
  735. package/dist/types/components/dropdown/dropdown.d.ts +9 -1
  736. package/dist/types/components/event-list/test/event-list.ct.d.ts +1 -0
  737. package/dist/types/components/group/group.d.ts +1 -0
  738. package/dist/types/components/group/test/group.ct.d.ts +1 -0
  739. package/dist/types/components/icon-button/icon-button.d.ts +1 -0
  740. package/dist/types/components/menu-about/menu-about.d.ts +1 -1
  741. package/dist/types/components/select/select.d.ts +15 -3
  742. package/dist/types/components/select-item/select-item.d.ts +5 -1
  743. package/dist/types/components/utils/focus.d.ts +10 -0
  744. package/dist/types/components.d.ts +30 -2
  745. package/package.json +1 -1
  746. package/scss/components/form/_input.scss +11 -8
  747. package/scss/theme/classic-dark/_color.scss +36 -0
  748. package/scss/theme/classic-light/_color.scss +36 -0
  749. package/dist/cjs/base-button-2f74b19d.js.map +0 -1
  750. package/dist/cjs/ix-icon.entry-01b3822b.js +0 -1487
  751. package/dist/cjs/ix-icon.entry-01b3822b.js.map +0 -1
  752. package/dist/esm/base-button-37b915d6.js.map +0 -1
  753. package/dist/esm/ix-icon.entry-9fafcf35.js +0 -1485
  754. package/dist/esm/ix-icon.entry-9fafcf35.js.map +0 -1
  755. package/dist/playwright-ct.config.js +0 -23
  756. package/dist/playwright-ct.config.js.map +0 -1
  757. package/dist/playwright.config.js +0 -75
  758. package/dist/playwright.config.js.map +0 -1
  759. package/dist/siemens-ix/p-080653aa.entry.js +0 -2
  760. package/dist/siemens-ix/p-08bedeaa.entry.js +0 -2
  761. package/dist/siemens-ix/p-16826ff7.js +0 -2
  762. package/dist/siemens-ix/p-16d378f3.js +0 -2
  763. package/dist/siemens-ix/p-16d378f3.js.map +0 -1
  764. package/dist/siemens-ix/p-1ad7fd83.entry.js +0 -2
  765. package/dist/siemens-ix/p-1ad7fd83.entry.js.map +0 -1
  766. package/dist/siemens-ix/p-2a9673f3.entry.js +0 -2
  767. package/dist/siemens-ix/p-2a9673f3.entry.js.map +0 -1
  768. package/dist/siemens-ix/p-33e903e1.entry.js +0 -2
  769. package/dist/siemens-ix/p-37e4df76.entry.js +0 -2
  770. package/dist/siemens-ix/p-37e4df76.entry.js.map +0 -1
  771. package/dist/siemens-ix/p-3e4e3b23.entry.js +0 -2
  772. package/dist/siemens-ix/p-3e4e3b23.entry.js.map +0 -1
  773. package/dist/siemens-ix/p-6f097cae.entry.js +0 -2
  774. package/dist/siemens-ix/p-6f097cae.entry.js.map +0 -1
  775. package/dist/siemens-ix/p-7289b0be.entry.js +0 -2
  776. package/dist/siemens-ix/p-7b5ed355.entry.js +0 -2
  777. package/dist/siemens-ix/p-87fe9d5f.entry.js +0 -2
  778. package/dist/siemens-ix/p-87fe9d5f.entry.js.map +0 -1
  779. package/dist/siemens-ix/p-8a06a632.entry.js +0 -2
  780. package/dist/siemens-ix/p-96f2c71a.entry.js +0 -2
  781. package/dist/siemens-ix/p-96f2c71a.entry.js.map +0 -1
  782. package/dist/siemens-ix/p-9fcf9dcd.entry.js +0 -2
  783. package/dist/siemens-ix/p-9fd3ae7f.entry.js +0 -2
  784. package/dist/siemens-ix/p-a4e489ea.js +0 -2
  785. package/dist/siemens-ix/p-a4e489ea.js.map +0 -1
  786. package/dist/siemens-ix/p-a93df5f2.entry.js +0 -2
  787. package/dist/siemens-ix/p-a93df5f2.entry.js.map +0 -1
  788. package/dist/siemens-ix/p-ab446f83.entry.js +0 -2
  789. package/dist/siemens-ix/p-ab446f83.entry.js.map +0 -1
  790. package/dist/siemens-ix/p-acdeb192.entry.js +0 -2
  791. package/dist/siemens-ix/p-acdeb192.entry.js.map +0 -1
  792. package/dist/siemens-ix/p-b78fd38b.entry.js +0 -2
  793. package/dist/siemens-ix/p-b78fd38b.entry.js.map +0 -1
  794. package/dist/siemens-ix/p-c2f6aaae.entry.js.map +0 -1
  795. package/dist/siemens-ix/p-c49701a0.entry.js +0 -2
  796. package/dist/siemens-ix/p-c4d3f089.entry.js +0 -2
  797. package/dist/siemens-ix/p-c4d3f089.entry.js.map +0 -1
  798. package/dist/siemens-ix/p-c89a070a.entry.js +0 -2
  799. package/dist/siemens-ix/p-ca838b5c.entry.js.map +0 -1
  800. package/dist/siemens-ix/p-cb1c0d63.entry.js +0 -2
  801. package/dist/siemens-ix/p-d0cf522c.entry.js +0 -2
  802. package/dist/siemens-ix/p-d48a746d.entry.js +0 -2
  803. package/dist/siemens-ix/p-d48a746d.entry.js.map +0 -1
  804. package/dist/siemens-ix/p-d77fa665.entry.js.map +0 -1
  805. package/dist/siemens-ix/p-f7e82b50.entry.js +0 -2
  806. package/dist/types/Users/daniel/dev/oss/ix/packages/core/.stencil/playwright-ct.config.d.ts +0 -7
  807. package/dist/types/Users/daniel/dev/oss/ix/packages/core/.stencil/playwright.config.d.ts +0 -7
  808. /package/dist/siemens-ix/{p-d2ee87ae.entry.js.map → p-0a1bfcfc.entry.js.map} +0 -0
  809. /package/dist/siemens-ix/{p-9c03b231.entry.js.map → p-114bb49b.entry.js.map} +0 -0
  810. /package/dist/siemens-ix/{p-7702a8c2.js.map → p-235c14ca.js.map} +0 -0
  811. /package/dist/siemens-ix/{p-d76ee9ff.entry.js.map → p-306c5ab2.entry.js.map} +0 -0
  812. /package/dist/siemens-ix/{p-f2856faf.entry.js.map → p-30e8a26a.entry.js.map} +0 -0
  813. /package/dist/siemens-ix/{p-1450ba99.entry.js.map → p-3b8e4fe5.entry.js.map} +0 -0
  814. /package/dist/siemens-ix/{p-f17e4cce.entry.js.map → p-4cf6e817.entry.js.map} +0 -0
  815. /package/dist/siemens-ix/{p-c49701a0.entry.js.map → p-4fd11865.entry.js.map} +0 -0
  816. /package/dist/siemens-ix/{p-9fd3ae7f.entry.js.map → p-56bbdae4.entry.js.map} +0 -0
  817. /package/dist/siemens-ix/{p-0d268489.entry.js.map → p-5f08da2c.entry.js.map} +0 -0
  818. /package/dist/siemens-ix/{p-26789c86.entry.js.map → p-601cfc6a.entry.js.map} +0 -0
  819. /package/dist/siemens-ix/{p-7b5ed355.entry.js.map → p-678d821f.entry.js.map} +0 -0
  820. /package/dist/siemens-ix/{p-b1ec7f32.entry.js.map → p-6ea6396e.entry.js.map} +0 -0
  821. /package/dist/siemens-ix/{p-7c1fd9a0.entry.js.map → p-6eb4eefc.entry.js.map} +0 -0
  822. /package/dist/siemens-ix/{p-af46164c.entry.js.map → p-784fe260.entry.js.map} +0 -0
  823. /package/dist/siemens-ix/{p-c5762d6c.entry.js.map → p-9dabe2f7.entry.js.map} +0 -0
  824. /package/dist/siemens-ix/{p-08bedeaa.entry.js.map → p-a35d02ea.entry.js.map} +0 -0
  825. /package/dist/siemens-ix/{p-31cc5367.entry.js.map → p-a3ad98bc.entry.js.map} +0 -0
  826. /package/dist/siemens-ix/{p-16826ff7.js.map → p-a8838a77.js.map} +0 -0
  827. /package/dist/siemens-ix/{p-6f056fc6.entry.js.map → p-bc5d33ce.entry.js.map} +0 -0
  828. /package/dist/siemens-ix/{p-30f449bc.entry.js.map → p-ca65a043.entry.js.map} +0 -0
  829. /package/dist/siemens-ix/{p-4bbae41b.entry.js.map → p-cbbe9dee.entry.js.map} +0 -0
  830. /package/dist/siemens-ix/{p-8a06a632.entry.js.map → p-ccf1bd22.entry.js.map} +0 -0
  831. /package/dist/siemens-ix/{p-47017ce7.entry.js.map → p-d08cbeaf.entry.js.map} +0 -0
  832. /package/dist/siemens-ix/{p-1255e76b.entry.js.map → p-d6a094cf.entry.js.map} +0 -0
  833. /package/dist/siemens-ix/{p-177f9a5c.entry.js.map → p-e2464e13.entry.js.map} +0 -0
  834. /package/dist/siemens-ix/{p-d9d5389b.entry.js.map → p-e678bfc5.entry.js.map} +0 -0
  835. /package/dist/siemens-ix/{p-c8e0563a.entry.js.map → p-ec741c06.entry.js.map} +0 -0
  836. /package/dist/siemens-ix/{p-ca658a19.entry.js.map → p-ed2ec72f.entry.js.map} +0 -0
  837. /package/dist/siemens-ix/{p-d9370972.entry.js.map → p-f2a81e70.entry.js.map} +0 -0
  838. /package/dist/siemens-ix/{p-32fa185a.entry.js.map → p-fb55854a.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"file":"ix-dropdown.entry.cjs.js","mappings":";;;;;;;AAAA;;;;;;;;SA8BgB,iCAAiC,CAC/C,IAAa;IAEb,QACE,IAAI;QACH,IAA4B,CAAC,sBAAsB,KAAK,SAAS;QAClE,OAAQ,IAA4B,CAAC,sBAAsB,KAAK,UAAU,EAC1E;AACJ,CAAC;AAQD,MAAM,kBAAkB;IAAxB;QACU,cAAS,GAAmC,IAAI,GAAG,EAGxD,CAAC;QACI,eAAU,GAAe,EAAE,CAAC;QAE5B,2BAAsB,GAAG,KAAK,CAAC;KA2HxC;IAzHC,SAAS,CAAC,QAA2B;QACnC,IAAI,CAAC,IAAI,CAAC,sBAAsB,EAAE;Y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AI,CAAC,MAAM,IAAIA,iBAAK,KAAK,EAAC,iBAAiB,IAAE,IAAI,CAAC,MAAM,CAAO,EAEhEA,oEAAa,CACT,CACD,EACP;KACH;;;;;;;;;;;","names":["flip","inline","shift","offset","autoUpdate","computePosition","h","Host"],"sources":["src/components/dropdown/dropdown-controller.ts","src/components/dropdown/dropdown.scss?tag=ix-dropdown&encapsulation=shadow","src/components/dropdown/dropdown.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { IxComponent } from '../utils/internal';\nexport type CloseBehavior = 'inside' | 'outside' | 'both' | boolean;\n\nexport interface DropdownInterface extends IxComponent {\n closeBehavior: CloseBehavior;\n discoverAllSubmenus: boolean;\n\n getAssignedSubmenuIds(): string[];\n getId(): string;\n\n discoverSubmenu(): void;\n\n isPresent(): boolean;\n\n willPresent?(): boolean;\n willDismiss?(): boolean;\n\n present(): void;\n dismiss(): void;\n}\n\nexport function hasDropdownItemWrapperImplemented(\n item: unknown\n): item is DropdownItemWrapper {\n return (\n item &&\n (item as DropdownItemWrapper).getDropdownItemElement !== undefined &&\n typeof (item as DropdownItemWrapper).getDropdownItemElement === 'function'\n );\n}\n\nexport interface DropdownItemWrapper {\n getDropdownItemElement(): Promise<HTMLIxDropdownItemElement>;\n}\n\ntype SubmenuIds = Record<string, string[]>;\n\nclass DropdownController {\n private dropdowns: Map<string, DropdownInterface> = new Map<\n string,\n DropdownInterface\n >();\n private submenuIds: SubmenuIds = {};\n\n private isWindowListenerActive = false;\n\n connected(dropdown: DropdownInterface) {\n if (!this.isWindowListenerActive) {\n this.addOverlayListeners();\n }\n this.dropdowns.set(dropdown.getId(), dropdown);\n\n if (dropdown.discoverAllSubmenus) {\n this.discoverSubmenus();\n }\n }\n\n disconnected(dropdown: DropdownInterface) {\n this.dropdowns.delete(dropdown.getId());\n }\n\n discoverSubmenus() {\n this.dropdowns.forEach((dropdown) => {\n dropdown.discoverSubmenu();\n });\n }\n\n present(dropdown: DropdownInterface) {\n if (!dropdown.isPresent() && dropdown.willPresent()) {\n this.submenuIds[dropdown.getId()] = dropdown.getAssignedSubmenuIds();\n dropdown.present();\n }\n }\n\n dismissChildren(uid: string) {\n const childIds = this.submenuIds[uid] || [];\n for (const id of childIds) {\n this.dismiss(this.dropdowns.get(id));\n }\n }\n\n dismiss(dropdown: DropdownInterface) {\n if (dropdown.isPresent() && dropdown.willDismiss()) {\n this.dismissChildren(dropdown.getId());\n dropdown.dismiss();\n delete this.submenuIds[dropdown.getId()];\n }\n }\n\n dismissAll(ignoreBehaviorForIds: string[] = []) {\n this.dropdowns.forEach((dropdown) => {\n if (\n !ignoreBehaviorForIds.includes(dropdown.getId()) &&\n (dropdown.closeBehavior === 'inside' ||\n dropdown.closeBehavior === false)\n ) {\n return;\n }\n\n this.dismiss(dropdown);\n });\n }\n\n dismissOthers(uid: string) {\n let path = this.buildComposedPath(uid, new Set<string>());\n\n this.dropdowns.forEach((dropdown) => {\n if (\n dropdown.closeBehavior !== 'inside' &&\n dropdown.closeBehavior !== false &&\n !path.has(dropdown.getId())\n ) {\n this.dismiss(dropdown);\n }\n });\n }\n\n pathIncludesTrigger(eventTargets: EventTarget[]) {\n for (let eventTarget of eventTargets) {\n if (eventTarget instanceof HTMLElement) {\n if (eventTarget.hasAttribute('data-ix-dropdown-trigger')) {\n return true;\n }\n }\n }\n\n return false;\n }\n\n private pathIncludesDropdown(eventTargets: EventTarget[]) {\n return !!eventTargets.find(\n (element: HTMLElement) => element.tagName === 'IX-DROPDOWN'\n );\n }\n\n private buildComposedPath(id: string, path: Set<string>): Set<string> {\n if (this.submenuIds[id]) {\n path.add(id);\n }\n\n for (const ruleKey of Object.keys(this.submenuIds)) {\n if (this.submenuIds[ruleKey].includes(id)) {\n this.buildComposedPath(ruleKey, path).forEach((key) => path.add(key));\n }\n }\n\n return path;\n }\n\n private addOverlayListeners() {\n this.isWindowListenerActive = true;\n\n window.addEventListener('click', (event: PointerEvent) => {\n const hasTrigger = this.pathIncludesTrigger(event.composedPath());\n const hasDropdown = this.pathIncludesDropdown(event.composedPath());\n\n if (!hasTrigger && !hasDropdown) {\n this.dismissAll();\n }\n });\n\n window.addEventListener('keydown', (event: KeyboardEvent) => {\n if (event.key === 'Escape') {\n this.dismissAll([...this.dropdowns.keys()]);\n }\n });\n }\n}\n\nexport const addDisposableEventListener = (\n element: Element | Window | Document,\n eventType: string,\n callback: EventListenerOrEventListenerObject\n) => {\n element.addEventListener(eventType, callback);\n\n return () => {\n element.removeEventListener(eventType, callback);\n };\n};\n\nexport const addDisposableEventListenerAsArray = (\n listener: {\n element: Element | Window | Document;\n eventType: string;\n callback: EventListenerOrEventListenerObject;\n }[]\n) => {\n const disposables = listener.map(({ callback, element, eventType }) =>\n addDisposableEventListener(element, eventType, callback)\n );\n\n return () => disposables.forEach((dispose) => dispose());\n};\n\nexport const dropdownController = new DropdownController();\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\n@import 'common-variables';\n\n@import 'legacy/mixins/fonts';\n@import 'mixins/text-truncation';\n@import 'mixins/shadow-dom/component';\n\n:host {\n background-color: var(--theme-color-2);\n border-radius: var(--theme-default-border-radius);\n @include ix-component;\n min-width: 0px;\n z-index: var(--theme-z-index-dropdown);\n box-shadow: var(--theme-shadow-4);\n\n padding: 0.25rem 0px;\n\n .dropdown-header {\n display: flex;\n align-items: center;\n height: $large-control-height;\n color: var(--theme-menu-header--color);\n padding: 0 $default-space;\n }\n}\n\n:host(.overflow) {\n max-height: 50vh;\n overflow-y: auto;\n}\n\n:host(:not(.show)) {\n display: 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 {\n autoUpdate,\n computePosition,\n ComputePositionConfig,\n flip,\n inline,\n offset,\n shift,\n} from '@floating-ui/dom';\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n Watch,\n} from '@stencil/core';\nimport { ComponentInterface } from '@stencil/core/internal';\nimport {\n addDisposableEventListener,\n CloseBehavior,\n dropdownController,\n DropdownInterface,\n hasDropdownItemWrapperImplemented,\n} from './dropdown-controller';\nimport { AlignedPlacement } from './placement';\n\nlet sequenceId = 0;\n\n@Component({\n tag: 'ix-dropdown',\n styleUrl: 'dropdown.scss',\n shadow: true,\n})\nexport class Dropdown implements ComponentInterface, DropdownInterface {\n @Element() hostElement!: HTMLIxDropdownElement;\n\n /**\n * Suppress the automatic placement of the dropdown.\n *\n * @since 2.0.0\n */\n @Prop() suppressAutomaticPlacement = false;\n\n /**\n * Show dropdown\n */\n @Prop({ mutable: true, reflect: true }) show = false;\n\n /**\n * Define an element that triggers the dropdown.\n * A trigger can either be a string that will be interpreted as id attribute or a DOM element.\n */\n @Prop() trigger: string | HTMLElement | Promise<HTMLElement>;\n\n /**\n * Define an anchor element\n */\n @Prop() anchor: string | HTMLElement;\n\n /**\n * Controls if the dropdown will be closed in response to a click event depending on the position of the event relative to the dropdown.\n * If the dropdown is a child of another one, it will be closed with the parent, regardless of its own close behavior.\n */\n @Prop() closeBehavior: CloseBehavior = 'both';\n\n /**\n * Placement of the dropdown\n */\n @Prop() placement: AlignedPlacement = 'bottom-start';\n\n /**\n * Position strategy\n */\n @Prop() positioningStrategy: 'absolute' | 'fixed' = 'fixed';\n\n /**\n * An optional header shown at the top of the dropdown\n */\n @Prop() header?: string;\n\n /**\n * Move dropdown along main axis of alignment\n *\n * @internal\n */\n @Prop() offset: {\n mainAxis?: number;\n crossAxis?: number;\n alignmentAxis?: number;\n };\n\n /**\n * @internal\n */\n @Prop() overwriteDropdownStyle: (delegate: {\n dropdownRef: HTMLElement;\n triggerRef?: HTMLElement;\n }) => Promise<Partial<CSSStyleDeclaration>>;\n\n /**\n * @internal\n * If initialisation of this dropdown is expected to be defered submenu discovery will have to be re-run globally by the controller.\n * This property indicates the need for that to the controller.\n */\n @Prop() discoverAllSubmenus = false;\n\n /**\n * Fire event after visibility of dropdown has changed\n */\n @Event() showChanged: EventEmitter<boolean>;\n\n private autoUpdateCleanup: () => void = null;\n\n private triggerElement?: Element;\n private anchorElement?: Element;\n\n private dropdownRef: HTMLElement;\n private localUId = `dropdown-${sequenceId++}`;\n private assignedSubmenu: string[] = [];\n\n connectedCallback(): void {\n dropdownController.connected(this);\n\n if (this.trigger != undefined) {\n this.registerListener(this.trigger);\n }\n }\n\n @Listen('ix-assign-sub-menu')\n cacheSubmenuId(event: CustomEvent<string>) {\n event.stopImmediatePropagation();\n event.preventDefault();\n\n const { detail } = event;\n\n if (this.assignedSubmenu.indexOf(detail) === -1) {\n this.assignedSubmenu.push(detail);\n }\n }\n\n disconnectedCallback() {\n dropdownController.dismiss(this);\n dropdownController.disconnected(this);\n\n if (this.disposeListener) {\n this.disposeListener();\n }\n\n if (this.autoUpdateCleanup) {\n this.autoUpdateCleanup();\n }\n }\n\n getAssignedSubmenuIds() {\n return this.assignedSubmenu;\n }\n\n isPresent() {\n return this.show;\n }\n\n present() {\n this.show = true;\n }\n\n dismiss() {\n this.show = false;\n }\n\n getId() {\n return this.localUId;\n }\n\n willDismiss() {\n const { defaultPrevented } = this.showChanged.emit(false);\n return !defaultPrevented;\n }\n\n willPresent() {\n const { defaultPrevented } = this.showChanged.emit(true);\n return !defaultPrevented;\n }\n\n get dropdownItems() {\n return Array.from(this.hostElement.querySelectorAll('ix-dropdown-item'));\n }\n\n get slotElement() {\n return this.hostElement.shadowRoot.querySelector('slot');\n }\n\n private disposeListener?: Function;\n\n private addEventListenersFor() {\n this.disposeListener?.();\n\n const toggleController = () => {\n if (!this.isPresent()) {\n dropdownController.present(this);\n } else {\n dropdownController.dismiss(this);\n }\n\n dropdownController.dismissOthers(this.getId());\n };\n\n this.disposeListener = addDisposableEventListener(\n this.triggerElement,\n 'click',\n (event: PointerEvent) => {\n if (!event.defaultPrevented) {\n toggleController();\n }\n }\n );\n\n this.triggerElement?.setAttribute(\n 'data-ix-dropdown-trigger',\n this.localUId\n );\n }\n\n /** @internal */\n @Method()\n async discoverSubmenu() {\n this.triggerElement?.dispatchEvent(\n new CustomEvent('ix-assign-sub-menu', {\n bubbles: true,\n composed: false,\n cancelable: true,\n detail: this.localUId,\n })\n );\n }\n\n private async registerListener(\n element: string | HTMLElement | Promise<HTMLElement>\n ) {\n this.triggerElement = await this.resolveElement(element);\n if (this.triggerElement) {\n this.addEventListenersFor();\n this.discoverSubmenu();\n }\n }\n\n private async resolveElement(\n element: string | HTMLElement | Promise<HTMLElement>\n ) {\n const el = await this.findElement(element);\n\n return this.checkForSubmenuAnchor(el);\n }\n\n private async checkForSubmenuAnchor(element: Element) {\n if (!element) {\n return null;\n }\n\n if (hasDropdownItemWrapperImplemented(element)) {\n const dropdownItem = await element.getDropdownItemElement();\n dropdownItem.isSubMenu = true;\n this.hostElement.style.zIndex = `var(--theme-z-index-dropdown)`;\n }\n\n if (element.tagName === 'IX-DROPDOWN-ITEM') {\n (element as HTMLIxDropdownItemElement).isSubMenu = true;\n this.hostElement.style.zIndex = `var(--theme-z-index-dropdown)`;\n }\n\n return element;\n }\n\n private findElement(\n element: string | HTMLElement | Promise<HTMLElement>\n ): Promise<Element> {\n if (element instanceof Promise) {\n return element;\n }\n\n if (typeof element === 'object') {\n return Promise.resolve(element);\n }\n\n if (typeof element != 'string') {\n return;\n }\n\n const selector = `#${element}`;\n return new Promise((resolve) => {\n if (document.querySelector(selector)) {\n return resolve(document.querySelector(selector));\n }\n\n const observer = new MutationObserver(() => {\n if (document.querySelector(selector)) {\n resolve(document.querySelector(selector));\n observer.disconnect();\n }\n });\n\n observer.observe(document.body, {\n childList: true,\n subtree: true,\n });\n });\n }\n\n @Watch('show')\n async changedShow(newShow: boolean) {\n if (newShow) {\n this.anchorElement = await (this.anchor\n ? this.resolveElement(this.anchor)\n : this.resolveElement(this.trigger));\n\n if (this.anchorElement) {\n this.applyDropdownPosition();\n }\n }\n }\n\n @Watch('trigger')\n changedTrigger(newTriggerValue: string | HTMLElement | Promise<HTMLElement>) {\n this.registerListener(newTriggerValue);\n }\n\n private isAnchorSubmenu(): boolean {\n if (!hasDropdownItemWrapperImplemented(this.anchorElement)) {\n // Is no official dropdown-item, but check if any dropdown-item\n // is placed somewhere up the DOM\n return !!this.anchorElement?.closest('ix-dropdown-item');\n }\n\n return true;\n }\n\n private async applyDropdownPosition() {\n if (!this.show) {\n return;\n }\n if (!this.anchorElement) {\n return;\n }\n if (!this.dropdownRef) {\n return;\n }\n const isSubmenu = this.isAnchorSubmenu();\n\n let positionConfig: Partial<ComputePositionConfig> = {\n strategy: this.positioningStrategy,\n middleware: [],\n };\n\n if (!this.suppressAutomaticPlacement) {\n positionConfig.middleware.push(\n flip({ fallbackStrategy: 'initialPlacement' })\n );\n }\n\n positionConfig.placement = isSubmenu ? 'right-start' : this.placement;\n\n positionConfig.middleware = [\n ...positionConfig.middleware,\n inline(),\n shift(),\n ];\n\n if (this.offset) {\n positionConfig.middleware.push(offset(this.offset));\n }\n\n if (this.autoUpdateCleanup) {\n this.autoUpdateCleanup();\n this.autoUpdateCleanup = null;\n }\n\n this.autoUpdateCleanup = autoUpdate(\n this.anchorElement,\n this.dropdownRef,\n async () => {\n const computeResponse = await computePosition(\n this.anchorElement,\n this.dropdownRef,\n positionConfig\n );\n Object.assign(this.dropdownRef.style, {\n top: '0',\n left: '0',\n transform: `translate(${Math.round(computeResponse.x)}px,${Math.round(\n computeResponse.y\n )}px)`,\n });\n if (this.overwriteDropdownStyle) {\n const overwriteStyle = await this.overwriteDropdownStyle({\n dropdownRef: this.dropdownRef,\n triggerRef: this.triggerElement as HTMLElement,\n });\n\n Object.assign(this.dropdownRef.style, overwriteStyle);\n }\n },\n {\n ancestorResize: true,\n ancestorScroll: true,\n elementResize: true,\n }\n );\n }\n\n async componentDidLoad() {\n this.changedTrigger(this.trigger);\n }\n\n async componentDidRender() {\n await this.applyDropdownPosition();\n this.anchorElement = await (this.anchor\n ? this.resolveElement(this.anchor)\n : this.resolveElement(this.trigger));\n }\n\n private isTriggerElement(element: HTMLElement) {\n const trigger = !!element.hasAttribute('data-ix-dropdown-trigger');\n\n return trigger;\n }\n\n private onDropdownClick(event: PointerEvent) {\n if (dropdownController.pathIncludesTrigger(event.composedPath())) {\n event.preventDefault();\n\n if (this.isTriggerElement(event.target as HTMLElement)) {\n return;\n }\n }\n\n if (this.closeBehavior === 'inside' || this.closeBehavior === 'both') {\n dropdownController.dismissAll([this.getId()]);\n }\n\n dropdownController.dismissOthers(this.getId());\n }\n\n /**\n * Update position of dropdown\n */\n @Method()\n async updatePosition() {\n this.applyDropdownPosition();\n }\n\n render() {\n return (\n <Host\n data-ix-dropdown={this.localUId}\n ref={(ref) => (this.dropdownRef = ref)}\n class={{\n 'dropdown-menu': true,\n show: this.show,\n overflow: true,\n }}\n style={{\n margin: '0',\n minWidth: '0px',\n position: this.positioningStrategy,\n }}\n role=\"list\"\n onClick={(event: PointerEvent) => this.onDropdownClick(event)}\n >\n <div style={{ display: 'contents' }}>\n {this.header && <div class=\"dropdown-header\">{this.header}</div>}\n\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ix-dropdown.entry.cjs.js","mappings":";;;;;;;;AAAA;;;;;;;;SA8BgB,iCAAiC,CAC/C,IAAa;IAEb,QACE,IAAI;QACH,IAA4B,CAAC,sBAAsB,KAAK,SAAS;QAClE,OAAQ,IAA4B,CAAC,sBAAsB,KAAK,UAAU,EAC1E;AACJ,CAAC;AAQD,MAAM,kBAAkB;IAAxB;QACU,cAAS,GAAmC,IAAI,GAAG,EAGxD,CAAC;QACI,eAAU,GAAe,EAAE,CAAC;QAE5B,2BAAsB,GAAG,KAAK,CAAC;KA+IxC;IA7IC,SAA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,MAAM,CAAC,EAAE;gBACjC,OAAO;aACR;SACF;QAED,IAAI,IAAI,CAAC,aAAa,KAAK,QAAQ,IAAI,IAAI,CAAC,aAAa,KAAK,MAAM,EAAE;YACpE,kBAAkB,CAAC,UAAU,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,EAAE,IAAI,CAAC,oBAAoB,CAAC,CAAC;YACzE,OAAO;SACR;QAED,kBAAkB,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC;KAChD;;;;IAMD,MAAM,cAAc;QAClB,IAAI,CAAC,qBAAqB,EAAE,CAAC;KAC9B;IAED,MAAM;QACJ,QACEC,QAACC,UAAI,yEACe,IAAI,CAAC,QAAQ,EAC/B,GAAG,EAAE,CAAC,GAAG,MAAM,IAAI,CAAC,WAAW,GAAG,GAAG,CAAC,EACtC,KAAK,EAAE;gBACL,eAAe,EAAE,IAAI;gBACrB,IAAI,EAAE,IAAI,CAAC,IAAI;gBACf,QAAQ,EAAE,IAAI;aACf,EACD,KAAK,EAAE;gBACL,MAAM,EAAE,GAAG;gBACX,QAAQ,EAAE,KAAK;gBACf,QAAQ,EAAE,IAAI,CAAC,mBAAmB;aACnC,EACD,IAAI,EAAC,MAAM,EACX,OAAO,EAAE,CAAC,KAAmB,KAAK,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,IAE7DD,kEAAK,KAAK,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE,IAChC,IAAI,CAAC,MAAM,IAAIA,iBAAK,KAAK,EAAC,iBAAiB,IAAE,IAAI,CAAC,MAAM,CAAO,EAEhEA,oEAAa,CACT,CACD,EACP;KACH;;;;;;;;;;;","names":["ArrowFocusController","flip","inline","shift","offset","autoUpdate","computePosition","h","Host"],"sources":["src/components/dropdown/dropdown-controller.ts","src/components/dropdown/dropdown.scss?tag=ix-dropdown&encapsulation=shadow","src/components/dropdown/dropdown.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { IxComponent } from '../utils/internal';\nexport type CloseBehavior = 'inside' | 'outside' | 'both' | boolean;\n\nexport interface DropdownInterface extends IxComponent {\n closeBehavior: CloseBehavior;\n discoverAllSubmenus: boolean;\n\n getAssignedSubmenuIds(): string[];\n getId(): string;\n\n discoverSubmenu(): void;\n\n isPresent(): boolean;\n\n willPresent?(): boolean;\n willDismiss?(): boolean;\n\n present(): void;\n dismiss(): void;\n}\n\nexport function hasDropdownItemWrapperImplemented(\n item: unknown\n): item is DropdownItemWrapper {\n return (\n item &&\n (item as DropdownItemWrapper).getDropdownItemElement !== undefined &&\n typeof (item as DropdownItemWrapper).getDropdownItemElement === 'function'\n );\n}\n\nexport interface DropdownItemWrapper {\n getDropdownItemElement(): Promise<HTMLIxDropdownItemElement>;\n}\n\ntype SubmenuIds = Record<string, string[]>;\n\nclass DropdownController {\n private dropdowns: Map<string, DropdownInterface> = new Map<\n string,\n DropdownInterface\n >();\n private submenuIds: SubmenuIds = {};\n\n private isWindowListenerActive = false;\n\n connected(dropdown: DropdownInterface) {\n if (!this.isWindowListenerActive) {\n this.addOverlayListeners();\n }\n this.dropdowns.set(dropdown.getId(), dropdown);\n\n if (dropdown.discoverAllSubmenus) {\n this.discoverSubmenus();\n }\n }\n\n disconnected(dropdown: DropdownInterface) {\n this.dropdowns.delete(dropdown.getId());\n }\n\n discoverSubmenus() {\n this.dropdowns.forEach((dropdown) => {\n dropdown.discoverSubmenu();\n });\n }\n\n present(dropdown: DropdownInterface) {\n if (!dropdown.isPresent() && dropdown.willPresent()) {\n this.submenuIds[dropdown.getId()] = dropdown.getAssignedSubmenuIds();\n dropdown.present();\n }\n }\n\n dismissChildren(uid: string) {\n const childIds = this.submenuIds[uid] || [];\n for (const id of childIds) {\n this.dismiss(this.dropdowns.get(id));\n }\n }\n\n dismiss(dropdown: DropdownInterface) {\n if (dropdown.isPresent() && dropdown.willDismiss()) {\n this.dismissChildren(dropdown.getId());\n dropdown.dismiss();\n delete this.submenuIds[dropdown.getId()];\n }\n }\n\n dismissAll(\n ignoreBehaviorForIds: string[] = [],\n ignoreRelatedDropdowns = false\n ) {\n this.dropdowns.forEach((dropdown) => {\n const preventClosing =\n dropdown.closeBehavior === 'inside' || dropdown.closeBehavior === false;\n\n const shouldIgnore = ignoreBehaviorForIds.includes(dropdown.getId());\n const path = this.buildComposedPath(dropdown.getId(), new Set<string>());\n\n if (ignoreBehaviorForIds.length > 0 && ignoreRelatedDropdowns) {\n let skipRelatedDropdown = false;\n\n ignoreBehaviorForIds.forEach((id) => {\n if (path.has(id)) {\n skipRelatedDropdown = true;\n return;\n }\n });\n\n if (!skipRelatedDropdown) {\n return;\n }\n }\n\n if (!shouldIgnore && preventClosing) {\n return;\n }\n\n this.dismiss(dropdown);\n });\n }\n\n dismissOthers(uid: string) {\n let path = this.buildComposedPath(uid, new Set<string>());\n\n this.dropdowns.forEach((dropdown) => {\n if (\n dropdown.closeBehavior !== 'inside' &&\n dropdown.closeBehavior !== false &&\n !path.has(dropdown.getId())\n ) {\n this.dismiss(dropdown);\n }\n });\n }\n\n pathIncludesTrigger(eventTargets: EventTarget[]) {\n for (let eventTarget of eventTargets) {\n if (eventTarget instanceof HTMLElement) {\n if (eventTarget.hasAttribute('data-ix-dropdown-trigger')) {\n return eventTarget;\n }\n }\n }\n\n return;\n }\n\n private pathIncludesDropdown(eventTargets: EventTarget[]) {\n return !!eventTargets.find(\n (element: HTMLElement) => element.tagName === 'IX-DROPDOWN'\n );\n }\n\n private buildComposedPath(id: string, path: Set<string>): Set<string> {\n if (this.submenuIds[id]) {\n path.add(id);\n }\n\n for (const ruleKey of Object.keys(this.submenuIds)) {\n if (this.submenuIds[ruleKey].includes(id)) {\n this.buildComposedPath(ruleKey, path).forEach((key) => path.add(key));\n }\n }\n\n return path;\n }\n\n private addOverlayListeners() {\n this.isWindowListenerActive = true;\n\n window.addEventListener('click', (event: PointerEvent) => {\n const hasTrigger = this.pathIncludesTrigger(event.composedPath());\n const hasDropdown = this.pathIncludesDropdown(event.composedPath());\n\n if (!hasTrigger && !hasDropdown) {\n this.dismissAll();\n }\n });\n\n window.addEventListener('keydown', (event: KeyboardEvent) => {\n if (event.key === 'Escape') {\n this.dismissAll([...this.dropdowns.keys()]);\n }\n });\n }\n}\n\nexport const addDisposableEventListener = (\n element: Element | Window | Document,\n eventType: string,\n callback: EventListenerOrEventListenerObject\n) => {\n element.addEventListener(eventType, callback);\n\n return () => {\n element.removeEventListener(eventType, callback);\n };\n};\n\nexport const addDisposableEventListenerAsArray = (\n listener: {\n element: Element | Window | Document;\n eventType: string;\n callback: EventListenerOrEventListenerObject;\n }[]\n) => {\n const disposables = listener.map(({ callback, element, eventType }) =>\n addDisposableEventListener(element, eventType, callback)\n );\n\n return () => disposables.forEach((dispose) => dispose());\n};\n\nexport const dropdownController = new DropdownController();\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\n@import 'common-variables';\n\n@import 'legacy/mixins/fonts';\n@import 'mixins/text-truncation';\n@import 'mixins/shadow-dom/component';\n\n:host {\n background-color: var(--theme-color-2);\n border-radius: var(--theme-default-border-radius);\n @include ix-component;\n min-width: 0px;\n z-index: var(--theme-z-index-dropdown);\n box-shadow: var(--theme-shadow-4);\n\n padding: 0.25rem 0px;\n\n .dropdown-header {\n display: flex;\n align-items: center;\n height: $large-control-height;\n color: var(--theme-menu-header--color);\n padding: 0 $default-space;\n }\n}\n\n:host(.overflow) {\n max-height: 50vh;\n overflow-y: auto;\n}\n\n:host(:not(.show)) {\n display: 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 {\n autoUpdate,\n computePosition,\n ComputePositionConfig,\n flip,\n inline,\n offset,\n shift,\n} from '@floating-ui/dom';\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n Watch,\n} from '@stencil/core';\nimport { ComponentInterface } from '@stencil/core/internal';\nimport { ArrowFocusController } from '../utils/focus';\nimport {\n addDisposableEventListener,\n CloseBehavior,\n dropdownController,\n DropdownInterface,\n hasDropdownItemWrapperImplemented,\n} from './dropdown-controller';\nimport { AlignedPlacement } from './placement';\n\nlet sequenceId = 0;\n\n@Component({\n tag: 'ix-dropdown',\n styleUrl: 'dropdown.scss',\n shadow: true,\n})\nexport class Dropdown implements ComponentInterface, DropdownInterface {\n @Element() hostElement!: HTMLIxDropdownElement;\n\n /**\n * Suppress the automatic placement of the dropdown.\n *\n * @since 2.0.0\n */\n @Prop() suppressAutomaticPlacement = false;\n\n /**\n * Show dropdown\n */\n @Prop({ mutable: true, reflect: true }) show = false;\n\n /**\n * Define an element that triggers the dropdown.\n * A trigger can either be a string that will be interpreted as id attribute or a DOM element.\n */\n @Prop() trigger: string | HTMLElement | Promise<HTMLElement>;\n\n /**\n * Define an anchor element\n */\n @Prop() anchor: string | HTMLElement;\n\n /**\n * Controls if the dropdown will be closed in response to a click event depending on the position of the event relative to the dropdown.\n * If the dropdown is a child of another one, it will be closed with the parent, regardless of its own close behavior.\n */\n @Prop() closeBehavior: CloseBehavior = 'both';\n\n /**\n * Placement of the dropdown\n */\n @Prop() placement: AlignedPlacement = 'bottom-start';\n\n /**\n * Position strategy\n */\n @Prop() positioningStrategy: 'absolute' | 'fixed' = 'fixed';\n\n /**\n * An optional header shown at the top of the dropdown\n */\n @Prop() header?: string;\n\n /**\n * Move dropdown along main axis of alignment\n *\n * @internal\n */\n @Prop() offset: {\n mainAxis?: number;\n crossAxis?: number;\n alignmentAxis?: number;\n };\n\n /**\n * @internal\n */\n @Prop() overwriteDropdownStyle: (delegate: {\n dropdownRef: HTMLElement;\n triggerRef?: HTMLElement;\n }) => Promise<Partial<CSSStyleDeclaration>>;\n\n /**\n * @internal\n * If initialisation of this dropdown is expected to be defered submenu discovery will have to be re-run globally by the controller.\n * This property indicates the need for that to the controller.\n */\n @Prop() discoverAllSubmenus = false;\n\n /** @internal */\n @Prop() ignoreRelatedSubmenu = false;\n\n /**\n * Fire event after visibility of dropdown has changed\n */\n @Event() showChanged: EventEmitter<boolean>;\n\n private autoUpdateCleanup: () => void = null;\n\n private triggerElement?: Element;\n private anchorElement?: Element;\n\n private dropdownRef: HTMLElement;\n private localUId = `dropdown-${sequenceId++}`;\n private assignedSubmenu: string[] = [];\n\n private arrowFocusController: ArrowFocusController;\n private focusDropdownItemBind = this.focusDropdownItem.bind(this);\n\n private itemObserver = new MutationObserver(() => {\n this.arrowFocusController.items = this.dropdownItems;\n });\n\n connectedCallback(): void {\n dropdownController.connected(this);\n\n if (this.trigger != undefined) {\n this.registerListener(this.trigger);\n }\n }\n\n @Listen('ix-assign-sub-menu')\n cacheSubmenuId(event: CustomEvent<string>) {\n event.stopImmediatePropagation();\n event.preventDefault();\n\n const { detail } = event;\n\n if (this.assignedSubmenu.indexOf(detail) === -1) {\n this.assignedSubmenu.push(detail);\n }\n }\n\n disconnectedCallback() {\n dropdownController.dismiss(this);\n dropdownController.disconnected(this);\n\n if (this.disposeClickListener) {\n this.disposeClickListener();\n }\n\n if (this.disposeKeyListener) {\n this.disposeKeyListener();\n }\n\n if (this.autoUpdateCleanup) {\n this.autoUpdateCleanup();\n }\n }\n\n getAssignedSubmenuIds() {\n return this.assignedSubmenu;\n }\n\n isPresent() {\n return this.show;\n }\n\n present() {\n this.show = true;\n }\n\n dismiss() {\n this.show = false;\n }\n\n getId() {\n return this.localUId;\n }\n\n willDismiss() {\n const { defaultPrevented } = this.showChanged.emit(false);\n return !defaultPrevented;\n }\n\n willPresent() {\n const { defaultPrevented } = this.showChanged.emit(true);\n return !defaultPrevented;\n }\n\n get dropdownItems() {\n return Array.from(this.hostElement.querySelectorAll('ix-dropdown-item'));\n }\n\n get slotElement() {\n return this.hostElement.shadowRoot.querySelector('slot');\n }\n\n private disposeClickListener?: () => void;\n private disposeKeyListener?: () => void;\n\n private addEventListenersFor() {\n this.disposeClickListener?.();\n this.disposeKeyListener?.();\n\n const toggleController = () => {\n if (!this.isPresent()) {\n dropdownController.present(this);\n } else {\n dropdownController.dismiss(this);\n }\n\n dropdownController.dismissOthers(this.getId());\n };\n\n this.disposeClickListener = addDisposableEventListener(\n this.triggerElement,\n 'click',\n (event: PointerEvent) => {\n if (!event.defaultPrevented) {\n toggleController();\n }\n }\n );\n\n this.triggerElement?.setAttribute(\n 'data-ix-dropdown-trigger',\n this.localUId\n );\n }\n\n /** @internal */\n @Method()\n async discoverSubmenu() {\n this.triggerElement?.dispatchEvent(\n new CustomEvent('ix-assign-sub-menu', {\n bubbles: true,\n composed: true,\n cancelable: true,\n detail: this.localUId,\n })\n );\n }\n\n private registerKeyListener() {\n if (!this.triggerElement) {\n return;\n }\n\n this.disposeKeyListener = addDisposableEventListener(\n this.triggerElement,\n 'keydown',\n (event: KeyboardEvent) => {\n if (event.key !== 'ArrowDown') {\n return;\n }\n\n if (document.activeElement !== this.triggerElement) {\n return;\n }\n\n dropdownController.present(this);\n\n setTimeout(() => {\n this.focusDropdownItem(0);\n });\n }\n );\n }\n\n private async registerListener(\n element: string | HTMLElement | Promise<HTMLElement>\n ) {\n this.triggerElement = await this.resolveElement(element);\n if (this.triggerElement) {\n this.addEventListenersFor();\n this.discoverSubmenu();\n }\n }\n\n private async resolveElement(\n element: string | HTMLElement | Promise<HTMLElement>\n ) {\n const el = await this.findElement(element);\n\n return this.checkForSubmenuAnchor(el);\n }\n\n private async checkForSubmenuAnchor(element: Element) {\n if (!element) {\n return null;\n }\n\n if (hasDropdownItemWrapperImplemented(element)) {\n const dropdownItem = await element.getDropdownItemElement();\n dropdownItem.isSubMenu = true;\n this.hostElement.style.zIndex = `var(--theme-z-index-dropdown)`;\n }\n\n if (element.tagName === 'IX-DROPDOWN-ITEM') {\n (element as HTMLIxDropdownItemElement).isSubMenu = true;\n this.hostElement.style.zIndex = `var(--theme-z-index-dropdown)`;\n }\n\n return element;\n }\n\n private findElement(\n element: string | HTMLElement | Promise<HTMLElement>\n ): Promise<Element> {\n if (element instanceof Promise) {\n return element;\n }\n\n if (typeof element === 'object') {\n return Promise.resolve(element);\n }\n\n if (typeof element != 'string') {\n return;\n }\n\n const selector = `#${element}`;\n return new Promise((resolve) => {\n if (document.querySelector(selector)) {\n return resolve(document.querySelector(selector));\n }\n\n const observer = new MutationObserver(() => {\n if (document.querySelector(selector)) {\n resolve(document.querySelector(selector));\n observer.disconnect();\n }\n });\n\n observer.observe(document.body, {\n childList: true,\n subtree: true,\n });\n });\n }\n\n @Watch('show')\n async changedShow(newShow: boolean) {\n if (newShow) {\n this.anchorElement = await (this.anchor\n ? this.resolveElement(this.anchor)\n : this.resolveElement(this.trigger));\n\n if (this.anchorElement) {\n this.applyDropdownPosition();\n }\n\n this.arrowFocusController = new ArrowFocusController(\n this.dropdownItems,\n this.dropdownRef,\n this.focusDropdownItemBind\n );\n\n this.itemObserver.observe(this.dropdownRef, {\n childList: true,\n subtree: true,\n });\n\n this.registerKeyListener();\n } else {\n this.arrowFocusController.disconnect();\n this.itemObserver.disconnect();\n this.disposeKeyListener?.();\n }\n }\n\n @Watch('trigger')\n changedTrigger(newTriggerValue: string | HTMLElement | Promise<HTMLElement>) {\n this.registerListener(newTriggerValue);\n }\n\n private isAnchorSubmenu(): boolean {\n if (!hasDropdownItemWrapperImplemented(this.anchorElement)) {\n // Is no official dropdown-item, but check if any dropdown-item\n // is placed somewhere up the DOM\n return !!this.anchorElement?.closest('ix-dropdown-item');\n }\n\n return true;\n }\n\n private async applyDropdownPosition() {\n if (!this.show) {\n return;\n }\n if (!this.anchorElement) {\n return;\n }\n if (!this.dropdownRef) {\n return;\n }\n const isSubmenu = this.isAnchorSubmenu();\n\n let positionConfig: Partial<ComputePositionConfig> = {\n strategy: this.positioningStrategy,\n middleware: [],\n };\n\n if (!this.suppressAutomaticPlacement) {\n positionConfig.middleware.push(\n flip({ fallbackStrategy: 'initialPlacement' })\n );\n }\n\n positionConfig.placement = isSubmenu ? 'right-start' : this.placement;\n\n positionConfig.middleware = [\n ...positionConfig.middleware,\n inline(),\n shift(),\n ];\n\n if (this.offset) {\n positionConfig.middleware.push(offset(this.offset));\n }\n\n if (this.autoUpdateCleanup) {\n this.autoUpdateCleanup();\n this.autoUpdateCleanup = null;\n }\n\n this.autoUpdateCleanup = autoUpdate(\n this.anchorElement,\n this.dropdownRef,\n async () => {\n const computeResponse = await computePosition(\n this.anchorElement,\n this.dropdownRef,\n positionConfig\n );\n Object.assign(this.dropdownRef.style, {\n top: '0',\n left: '0',\n transform: `translate(${Math.round(computeResponse.x)}px,${Math.round(\n computeResponse.y\n )}px)`,\n });\n if (this.overwriteDropdownStyle) {\n const overwriteStyle = await this.overwriteDropdownStyle({\n dropdownRef: this.dropdownRef,\n triggerRef: this.triggerElement as HTMLElement,\n });\n\n Object.assign(this.dropdownRef.style, overwriteStyle);\n }\n },\n {\n ancestorResize: true,\n ancestorScroll: true,\n elementResize: true,\n }\n );\n }\n\n private focusDropdownItem(index: number) {\n requestAnimationFrame(() => {\n this.dropdownItems[index]?.shadowRoot.querySelector('button').focus();\n });\n }\n\n async componentDidLoad() {\n this.changedTrigger(this.trigger);\n }\n\n async componentDidRender() {\n await this.applyDropdownPosition();\n this.anchorElement = await (this.anchor\n ? this.resolveElement(this.anchor)\n : this.resolveElement(this.trigger));\n }\n\n private isTriggerElement(element: HTMLElement) {\n const trigger = !!element.hasAttribute('data-ix-dropdown-trigger');\n\n return trigger;\n }\n\n private onDropdownClick(event: PointerEvent) {\n const target = dropdownController.pathIncludesTrigger(event.composedPath());\n if (target) {\n event.preventDefault();\n\n if (this.isTriggerElement(target)) {\n return;\n }\n }\n\n if (this.closeBehavior === 'inside' || this.closeBehavior === 'both') {\n dropdownController.dismissAll([this.getId()], this.ignoreRelatedSubmenu);\n return;\n }\n\n dropdownController.dismissOthers(this.getId());\n }\n\n /**\n * Update position of dropdown\n */\n @Method()\n async updatePosition() {\n this.applyDropdownPosition();\n }\n\n render() {\n return (\n <Host\n data-ix-dropdown={this.localUId}\n ref={(ref) => (this.dropdownRef = ref)}\n class={{\n 'dropdown-menu': true,\n show: this.show,\n overflow: true,\n }}\n style={{\n margin: '0',\n minWidth: '0px',\n position: this.positioningStrategy,\n }}\n role=\"list\"\n onClick={(event: PointerEvent) => this.onDropdownClick(event)}\n >\n <div style={{ display: 'contents' }}>\n {this.header && <div class=\"dropdown-header\">{this.header}</div>}\n\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-c6f0ac73.js');
6
+ const a11y = require('./a11y-d3ce56d1.js');
6
7
 
7
8
  const eventListItemCss = ":host{}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}: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:var(--theme-default-time);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;padding-inline-end:0.5rem}: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,: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,: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}";
8
9
  const IxEventListItemStyle0 = eventListItemCss;
@@ -30,16 +31,16 @@ const EventListItem = class {
30
31
  ? `var(${this.color})`
31
32
  : `var(--theme-${this.color})`;
32
33
  }
33
- return (index.h(index.Host, { key: 'ea6803280e270d6b6c4dc0023de76812bc7e90ed', class: {
34
+ return (index.h(index.Host, { key: '886fd04038ed9b7ae7e9137b2e939ce5a391889b', class: {
34
35
  disabled: this.disabled,
35
- } }, index.h("div", { key: '75efa47c7a119ea2d7aa659f5c2709fa34cfb3eb', class: {
36
+ } }, index.h("li", { key: 'abcf0a5109a0a267482a21cf5daf0aa1190b14df', "aria-disabled": a11y.a11yBoolean(this.disabled), class: {
36
37
  'event-list-item': true,
37
38
  selected: this.selected,
38
39
  disabled: this.disabled,
39
- } }, index.h("div", { key: '74d747f6b58ce8b56343983e3f4cc1c97e0623fc', class: `indicator ${!((_c = this.itemColor) !== null && _c !== void 0 ? _c : this.color) ? 'indicator-empty' : ''}`, style: {
40
+ } }, index.h("div", { key: '80965a6f06a8e06e7fd4eb3c7e18a42cfb1fe68d', class: `indicator ${!((_c = this.itemColor) !== null && _c !== void 0 ? _c : this.color) ? 'indicator-empty' : ''}`, style: {
40
41
  'background-color': ((_d = this.itemColor) !== null && _d !== void 0 ? _d : this.color) ? color : 'inherit',
41
42
  opacity: `${this.disabled ? 0.4 : 1}`,
42
- } }), index.h("div", { key: 'b32602b0c89701f487cf10b1600c2ed039e86498', class: "event-list-item-container" }, index.h("div", { key: 'd3298c260d4f74aa91a747a61b93203fab354432', class: "event-content" }, index.h("slot", { key: '45c7a053766b5f7ce3dcae9d74bb22201c0dba9b' })), this.chevron && (index.h("ix-icon", { name: 'chevron-right', size: "16", class: "chevron-icon" }))))));
43
+ } }), index.h("div", { key: '1848fb6081def3209f3089713c1fee3e5f10379f', class: "event-list-item-container" }, index.h("div", { key: '93938c03d5576c5ecc35006b1620ff5170e37fb7', class: "event-content" }, index.h("slot", { key: 'e35b7858bf2766e1e546e850b037bf98880083fc' })), this.chevron && (index.h("ix-icon", { name: 'chevron-right', size: "16", class: "chevron-icon" }))))));
43
44
  }
44
45
  };
45
46
  EventListItem.style = IxEventListItemStyle0;
@@ -1 +1 @@
1
- {"file":"ix-event-list-item.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,gBAAgB,GAAG,uyHAAuyH,CAAC;AACj0H,8BAAe,gBAAgB;;MCuBlB,aAAa;;;;;;;;;;IA2CxB,eAAe;QACb,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;KACvB;IAED,MAAM;;QACJ,IAAI,KAAK,GAAG,CAAA,MAAA,IAAI,CAAC,SAAS,0CAAE,UAAU,CAAC,SAAS,CAAC;cAC7C,OAAO,IAAI,CAAC,SAAS,GAAG;cACxB,eAAe,IAAI,CAAC,SAAS,GAAG,CAAC;QAErC,IAAI,IAAI,CAAC,KAAK,EAAE;YACd,KAAK,GAAG,CAAA,MAAA,IAAI,CAAC,KAAK,0CAAE,UAAU,CAAC,SAAS,CAAC;kBACrC,OAAO,IAAI,CAAC,KAAK,GAAG;kBACpB,eAAe,IAAI,CAAC,KAAK,GAAG,CAAC;SAClC;QAED,QACEA,QAACC,UAAI,qDACH,KAAK,EAAE;gBACL,QAAQ,EAAE,IAAI,CAAC,QAAQ;aACxB,IAEDD,kEACE,KAAK,EAAE;gBACL,iBAAiB,EAAE,IAAI;gBACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;gBACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;aACxB,IAEDA,kEACE,KAAK,EAAE,aACL,EAAE,MAAA,IAAI,CAAC,SAAS,mCAAI,IAAI,CAAC,KAAK,CAAC,GAAG,iBAAiB,GAAG,EACxD,EAAE,EACF,KAAK,EAAE;gBACL,kBAAkB,EAChB,CAAA,MAAA,IAAI,CAAC,SAAS,mCAAI,IAAI,CAAC,KAAK,IAAG,KAAK,GAAG,SAAS;gBAClD,OAAO,EAAE,GAAG,IAAI,CAAC,QAAQ,GAAG,GAAG,GAAG,CAAC,EAAE;aACtC,GACI,EAEPA,kEAAK,KAAK,EAAC,2BAA2B,IACpCA,kEAAK,KAAK,EAAC,eAAe,IACxBA,oEAAa,CACT,EACL,IAAI,CAAC,OAAO,KACXA,qBACE,IAAI,EAAE,eAAe,EACrB,IAAI,EAAC,IAAI,EACT,KAAK,EAAC,cAAc,GACX,CACZ,CACG,CACF,CACD,EACP;KACH;;;;;;","names":["h","Host"],"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: var(--theme-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 padding-inline-end: $small-space;\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 * @link https://ix.siemens.io/docs/theming/colors/\n *\n * @deprecated since 2.1.0 use `item-color`\n */\n // eslint-disable-next-line @stencil-community/reserved-member-names\n @Prop() color: string;\n\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 * @link https://ix.siemens.io/docs/theming/colors/\n */\n @Prop() itemColor: 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 * 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 let color = this.itemColor?.startsWith('--theme')\n ? `var(${this.itemColor})`\n : `var(--theme-${this.itemColor})`;\n\n if (this.color) {\n color = this.color?.startsWith('--theme')\n ? `var(${this.color})`\n : `var(--theme-${this.color})`;\n }\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 ${\n !(this.itemColor ?? this.color) ? 'indicator-empty' : ''\n }`}\n style={{\n 'background-color':\n this.itemColor ?? this.color ? color : 'inherit',\n opacity: `${this.disabled ? 0.4 : 1}`,\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}
1
+ {"file":"ix-event-list-item.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,gBAAgB,GAAG,uyHAAuyH,CAAC;AACj0H,8BAAe,gBAAgB;;MCwBlB,aAAa;;;;;;;;;;IA2CxB,eAAe;QACb,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;KACvB;IAED,MAAM;;QACJ,IAAI,KAAK,GAAG,CAAA,MAAA,IAAI,CAAC,SAAS,0CAAE,UAAU,CAAC,SAAS,CAAC;cAC7C,OAAO,IAAI,CAAC,SAAS,GAAG;cACxB,eAAe,IAAI,CAAC,SAAS,GAAG,CAAC;QAErC,IAAI,IAAI,CAAC,KAAK,EAAE;YACd,KAAK,GAAG,CAAA,MAAA,IAAI,CAAC,KAAK,0CAAE,UAAU,CAAC,SAAS,CAAC;kBACrC,OAAO,IAAI,CAAC,KAAK,GAAG;kBACpB,eAAe,IAAI,CAAC,KAAK,GAAG,CAAC;SAClC;QAED,QACEA,QAACC,UAAI,qDACH,KAAK,EAAE;gBACL,QAAQ,EAAE,IAAI,CAAC,QAAQ;aACxB,IAEDD,kFACiBE,gBAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,EACzC,KAAK,EAAE;gBACL,iBAAiB,EAAE,IAAI;gBACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;gBACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;aACxB,IAEDF,kEACE,KAAK,EAAE,aACL,EAAE,MAAA,IAAI,CAAC,SAAS,mCAAI,IAAI,CAAC,KAAK,CAAC,GAAG,iBAAiB,GAAG,EACxD,EAAE,EACF,KAAK,EAAE;gBACL,kBAAkB,EAChB,CAAA,MAAA,IAAI,CAAC,SAAS,mCAAI,IAAI,CAAC,KAAK,IAAG,KAAK,GAAG,SAAS;gBAClD,OAAO,EAAE,GAAG,IAAI,CAAC,QAAQ,GAAG,GAAG,GAAG,CAAC,EAAE;aACtC,GACI,EAEPA,kEAAK,KAAK,EAAC,2BAA2B,IACpCA,kEAAK,KAAK,EAAC,eAAe,IACxBA,oEAAa,CACT,EACL,IAAI,CAAC,OAAO,KACXA,qBACE,IAAI,EAAE,eAAe,EACrB,IAAI,EAAC,IAAI,EACT,KAAK,EAAC,cAAc,GACX,CACZ,CACG,CACH,CACA,EACP;KACH;;;;;;","names":["h","Host","a11yBoolean"],"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: var(--theme-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 padding-inline-end: $small-space;\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';\nimport { a11yBoolean } from '../utils/a11y';\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 * @link https://ix.siemens.io/docs/theming/colors/\n *\n * @deprecated since 2.1.0 use `item-color`\n */\n // eslint-disable-next-line @stencil-community/reserved-member-names\n @Prop() color: string;\n\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 * @link https://ix.siemens.io/docs/theming/colors/\n */\n @Prop() itemColor: 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 * 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 let color = this.itemColor?.startsWith('--theme')\n ? `var(${this.itemColor})`\n : `var(--theme-${this.itemColor})`;\n\n if (this.color) {\n color = this.color?.startsWith('--theme')\n ? `var(${this.color})`\n : `var(--theme-${this.color})`;\n }\n\n return (\n <Host\n class={{\n disabled: this.disabled,\n }}\n >\n <li\n aria-disabled={a11yBoolean(this.disabled)}\n class={{\n 'event-list-item': true,\n selected: this.selected,\n disabled: this.disabled,\n }}\n >\n <div\n class={`indicator ${\n !(this.itemColor ?? this.color) ? 'indicator-empty' : ''\n }`}\n style={{\n 'background-color':\n this.itemColor ?? this.color ? color : 'inherit',\n opacity: `${this.disabled ? 0.4 : 1}`,\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 </li>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-c6f0ac73.js');
6
6
  const mutationObserver = require('./mutation-observer-babb20a5.js');
7
7
  const rwd_util = require('./rwd.util-ee53cbd1.js');
8
+ const anime_es = require('./anime.es-e2814360.js');
8
9
 
9
10
  const eventListCss = ":host{display:block;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host ul{list-style:none;padding:0;margin-top: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}";
10
11
  const IxEventListStyle0 = eventListCss;
@@ -58,20 +59,21 @@ const EventList = class {
58
59
  item.style.setProperty('--event-list-item-height', height);
59
60
  }
60
61
  triggerFadeOut() {
61
- if (!this.animated) {
62
- return Promise.resolve();
63
- }
64
- const keyframes = [
65
- {
66
- opacity: 1,
67
- easing: 'ease-in',
68
- },
69
- { opacity: 0 },
70
- ];
71
- const listElement = this.hostElement.shadowRoot.querySelector('ul');
72
- return listElement.animate(keyframes, {
73
- duration: EventList.fadeOutDuration,
74
- }).finished;
62
+ return new Promise((resolve) => {
63
+ if (!this.animated) {
64
+ resolve();
65
+ }
66
+ const keyframes = [{ opacity: 1, easing: 'easeInSine' }, { opacity: 0 }];
67
+ const listElement = this.hostElement.shadowRoot.querySelector('ul');
68
+ anime_es.anime({
69
+ targets: listElement,
70
+ opacity: keyframes,
71
+ duration: EventList.fadeOutDuration,
72
+ complete: () => {
73
+ resolve();
74
+ },
75
+ });
76
+ });
75
77
  }
76
78
  triggerFadeIn() {
77
79
  if (!this.animated) {
@@ -81,16 +83,15 @@ const EventList = class {
81
83
  listItems.forEach((e, i) => {
82
84
  const delay = i * 80;
83
85
  const offset = delay / (delay + EventList.fadeInDuration);
84
- const keyframes = [
85
- { opacity: 0 },
86
- { opacity: 0, easing: 'ease-out', offset },
87
- { opacity: 1 },
88
- ];
89
- const options = {
86
+ anime_es.anime({
87
+ targets: e,
88
+ offset: offset,
90
89
  duration: EventList.fadeInDuration + delay,
91
- iterations: 1,
92
- };
93
- e.animate(keyframes, options);
90
+ opacity: [0, 1],
91
+ easing: 'easeInOutSine',
92
+ delay: delay,
93
+ autoplay: true,
94
+ });
94
95
  });
95
96
  }
96
97
  handleChevron(chevron) {
@@ -105,11 +106,11 @@ const EventList = class {
105
106
  });
106
107
  }
107
108
  render() {
108
- return (index.h(index.Host, { key: '753ef5eaecb97380a454359d59397b163a75c70f', class: {
109
+ return (index.h(index.Host, { key: 'd24b72d6682a8bbd5c115814d9e6894f97f5517b', class: {
109
110
  'item-size-s': this.itemHeight === 'S',
110
111
  'item-size-l': this.itemHeight === 'L',
111
112
  compact: this.compact,
112
- } }, index.h("ul", { key: 'c4264b59d439dc2dae8ec3153aa04fe5ee04383c' }, index.h("slot", { key: '114837af21b63c7acec8eed2901aacc046608ab3' }))));
113
+ } }, index.h("ul", { key: '1a1e8b938a2182c6578b7a60fab2cd2f63d54180' }, index.h("slot", { key: 'c9a9f3c9e06c039c9afa1e954d1bf77c1cda5122' }))));
113
114
  }
114
115
  get hostElement() { return index.getElement(this); }
115
116
  static get watchers() { return {
@@ -1 +1 @@
1
- {"file":"ix-event-list.entry.cjs.js","mappings":";;;;;;;;AAAA,MAAM,YAAY,GAAG,y3BAAy3B,CAAC;AAC/4B,0BAAe,YAAY;;MCiBd,SAAS;;;QACH,qBAAgB,GAAGA,uCAAsB,CACxD,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAC3B,CAAC;0BAauC,GAAG;uBAK1B,KAAK;wBAKJ,IAAI;;;IAQvB,YAAY,CAAC,OAA4B;QACvC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;KAC7B;IAED,gBAAgB;QACd,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,IAAI,CAAC,aAAa,EAAE,CAAC;SACtB;QAED,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,EAAE;YAC1C,MAAM,MAAM,GAAGC,2BAAkB,CAAC,IAAI,CAAC,UAAoB,CAAC,CAAC;YAC7D,IAAI,CAAC,WAAW;iBACb,gBAAgB,CAAC,oBAAoB,CAAC;iBACtC,OAAO,CAAC,CAAC,IAAI;gBACZ,IAAI,CAAC,eAAe,CAAC,IAAmB,EAAE,MAAM,CAAC,CAAC;aACnD,CAAC,CAAC;SACN;QAED,IAAI,CAAC,aAAa,CAAC,IAA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AI,qDACH,KAAK,EAAE;gBACL,aAAa,EAAE,IAAI,CAAC,UAAU,KAAK,GAAG;gBACtC,aAAa,EAAE,IAAI,CAAC,UAAU,KAAK,GAAG;gBACtC,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,IAEDD,mEACEA,oEAAa,CACV,CACA,EACP;KACH;;;;;;AAnJuB,yBAAe,GAAG,EAAH,CAAM;AACrB,wBAAc,GAAG,GAAH,CAAO;;;;;","names":["createMutationObserver","convertToRemString","h","Host"],"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-top: 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}
1
+ {"file":"ix-event-list.entry.cjs.js","mappings":";;;;;;;;;AAAA,MAAM,YAAY,GAAG,y3BAAy3B,CAAC;AAC/4B,0BAAe,YAAY;;MCkBd,SAAS;;;QACH,qBAAgB,GAAGA,uCAAsB,CACxD,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAC3B,CAAC;0BAauC,GAAG;uBAK1B,KAAK;wBAKJ,IAAI;;;IAQvB,YAAY,CAAC,OAA4B;QACvC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;KAC7B;IAED,gBAAgB;QACd,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,IAAI,CAAC,aAAa,EAAE,CAAC;SACtB;QAED,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,EAAE;YAC1C,MAAM,MAAM,GAAGC,2BAAkB,CAAC,IAAI,CAAC,UAAoB,CAAC,CAAC;YAC7D,IAAI,CAAC,WAAW;iBACb,gBAAgB,CAAC,oBAAoB,CAAC;iBACtC,OAAO,CAAC,CAAC,IAAI;gBACZ,IAAI,CAAC,eAAe,CAAC,IAAmB,EAAE,MAAM,CAA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SAAS,CAAC,CAAC;aAC9B;SACF,CAAC,CAAC;KACJ;IAED,MAAM;QACJ,QACEC,QAACC,UAAI,qDACH,KAAK,EAAE;gBACL,aAAa,EAAE,IAAI,CAAC,UAAU,KAAK,GAAG;gBACtC,aAAa,EAAE,IAAI,CAAC,UAAU,KAAK,GAAG;gBACtC,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,IAEDD,mEACEA,oEAAa,CACV,CACA,EACP;KACH;;;;;;AArJuB,yBAAe,GAAG,EAAH,CAAM;AACrB,wBAAc,GAAG,GAAH,CAAO;;;;;","names":["createMutationObserver","convertToRemString","anime","h","Host"],"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-top: 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';\nimport anime from 'animejs';\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<void> {\n return new Promise((resolve) => {\n if (!this.animated) {\n resolve();\n }\n\n const keyframes = [{ opacity: 1, easing: 'easeInSine' }, { opacity: 0 }];\n\n const listElement = this.hostElement.shadowRoot.querySelector('ul');\n\n anime({\n targets: listElement,\n opacity: keyframes,\n duration: EventList.fadeOutDuration,\n complete: () => {\n resolve();\n },\n });\n });\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 anime({\n targets: e,\n offset: offset,\n duration: EventList.fadeInDuration + delay,\n opacity: [0, 1],\n easing: 'easeInOutSine',\n delay: delay,\n autoplay: true,\n });\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}
@@ -55,6 +55,10 @@ const SelectItem = class {
55
55
  this.selected = false;
56
56
  this.hover = false;
57
57
  }
58
+ /** @internal */
59
+ async getDropdownItemElement() {
60
+ return this.dropdownItem;
61
+ }
58
62
  /**
59
63
  * @internal
60
64
  * @param event
@@ -64,6 +68,9 @@ const SelectItem = class {
64
68
  event === null || event === void 0 ? void 0 : event.stopPropagation();
65
69
  this.itemClick.emit(this.value);
66
70
  }
71
+ get dropdownItem() {
72
+ return this.hostElement.querySelector('ix-dropdown-item');
73
+ }
67
74
  componentDidRender() {
68
75
  if (this.value === undefined || this.value === null) {
69
76
  throw Error('ix-select-item must have a `value` property');
@@ -76,7 +83,7 @@ const SelectItem = class {
76
83
  }));
77
84
  }
78
85
  render() {
79
- return (index.h(index.Host, { key: 'ca61c042dedf75ce6c33406257b9a26072d75865' }, index.h("ix-dropdown-item", { key: 'ac5bb56f3d7368860379582e4faf1c594dfaeab2', class: {
86
+ return (index.h(index.Host, { key: '89b4b9f70f1157e728d82d981566d3528c96c2da' }, index.h("ix-dropdown-item", { key: '3d480e6d1d0a0969f50bf6925101819c8cae9a67', class: {
80
87
  'select-item-checked': this.selected,
81
88
  }, checked: this.selected, label: this.label ? this.label : this.value, onItemClick: (e) => this.onItemClick(e) })));
82
89
  }
@@ -1 +1 @@
1
- {"file":"ix-filter-chip.ix-select-item.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,aAAa,GAAG,8qEAA8qE,CAAC;AACrsE,2BAAe,aAAa;;MCuBf,UAAU;;;;wBAMF,KAAK;wBAML,KAAK;;IAOhB,YAAY,CAAC,KAAY;QAC/B,KAAK,CAAC,cAAc,EAAE,CAAC;QACvB,KAAK,CAAC,eAAe,EAAE,CAAC;QACxB,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC;KACxB;IAED,MAAM;QACJ,QACEA,QAACC,UAAI,qDACH,KAAK,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,EAC3D,KAAK,EAAE,IAAI,CAAC,EAAE,CAAC,WAAW,IAE1BD,kEAAK,KAAK,EAAC,gBAAgB,IACzBA,oEAAa,CACT,EACL,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,QAAQ,IAC/BA,4BACE,KAAK,QACL,IAAI,QACJ,IAAI,EAAE,aAAa,EACnB,IAAI,EAAC,IAAI,EACT,QAAQ,EAAE,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC,GAAG,CAAC,EAChC,OAAO,EAAC,SAAS,EACjB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,GACpB,IAChB,IAAI,CACH,EACP;KACH;;;;;ACxEH;;;;;;;;MAQa,4BAA6B,SAAQ,WAGhD;IACA,YAAY,MAA8C;QACxD,KAAK,CAAC,4BAA4B,EAAE;YAClC,OAAO,EAAE,IAAI;YACb,MAAM;SACP,CAAC,CAAC;KACJ;;;ACjBH,MAAM,aAAa,GAAG,4TAA4T,CAAC;AACnV,2BAAe,aAAa;;MC0Bf,UAAU;;;;;;wBAmBF,KAAK;qBAKR,KAAK;;;;;;IAYrB,MAAM,WAAW,CAAC,KAA8C;QAC9D,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,cAAc,EAAE,CAAC;QACxB,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,eAAe,EAAE,CAAC;QAEzB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KACjC;IAED,kBAAkB;QAChB,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,IAAI,IAAI,CAAC,KAAK,KAAK,IAAI,EAAE;YACnD,MAAM,KAAK,CAAC,6CAA6C,CAAC,CAAC;SAC5D;KACF;IAGD,WAAW,CAAC,QAAgB,EAAE,QAAgB;QAC5C,IAAI,CAAC,WAAW,CAAC,aAAa,CAC5B,IAAI,4BAA4B,CAAC;YAC/B,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;SACnB,CAAC,CACH,CAAC;KACH;IAED,MAAM;QACJ,QACEA,QAACC,UAAI,uDACHD,+EACE,KAAK,EAAE;gBACL,qBAAqB,EAAE,IAAI,CAAC,QAAQ;aACrC,EACD,OAAO,EAAE,IAAI,CAAC,QAAQ,EACtB,KAAK,EAAE,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,EAC3C,WAAW,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,GACrB,CACf,EACP;KACH;;;;;;;;;;;","names":["h","Host"],"sources":["src/components/filter-chip/filter-chip.scss?tag=ix-filter-chip&encapsulation=shadow","src/components/filter-chip/filter-chip.tsx","src/components/select-item/events.ts","src/components/select-item/select-item.scss?tag=ix-select-item&encapsulation=shadow","src/components/select-item/select-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 'common-variables';\n@import 'mixins/hover';\n@import 'mixins/text-truncation';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n\n display: inline-flex;\n align-items: center;\n justify-content: space-between;\n height: $large-space;\n padding-left: $small-space;\n border: var(--theme-focus--border-thickness) solid\n var(--theme-chip-primary-outline--border-color);\n border-radius: $x-large-space;\n background-color: var(--theme-color-ghost);\n color: var(--theme-chip-primary-outline--color);\n\n .slot-container {\n @include ellipsis;\n\n :host-context(.disabled) {\n background-color: var(--theme-color-ghost);\n border-color: var(--theme-color-component-4);\n color: var(--theme-color-weak-text);\n }\n }\n\n ix-icon-button {\n height: $large-space;\n margin-left: 0.25rem;\n\n @include focus-visible {\n outline: none;\n }\n }\n}\n\n:host(.disabled) {\n border: var(--theme-focus--border-thickness) solid\n var(--theme-color-component-4);\n color: var(--theme-color-weak-text);\n padding-right: $small-space;\n\n cursor: default;\n}\n\n:host(.readonly) {\n padding-right: $small-space;\n}\n\n@include host-hover {\n background-color: var(--theme-color-ghost-primary--hover);\n border-color: var(--theme-chip-primary-outline--border-color--hover);\n color: var(--theme-chip-primary-outline--color--hover);\n}\n\n@include host-active {\n background-color: var(--theme-color-ghost-primary--active);\n border-color: var(--theme-chip-primary-outline--border-color--active);\n color: var(--theme-chip-primary-outline--color--active);\n}\n\n@include host-focus-visible {\n outline: var(--theme-color-focus-bdr) solid\n var(--theme-focus--border-thickness);\n outline-offset: -0.125rem;\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 Host,\n Prop,\n} from '@stencil/core';\n\n@Component({\n tag: 'ix-filter-chip',\n styleUrl: 'filter-chip.scss',\n shadow: true,\n})\nexport class FilterChip {\n @Element() el: HTMLIxFilterChipElement;\n\n /**\n * If true the filter chip will be in disabled state\n */\n @Prop() disabled = false;\n\n /**\n * If true the filter chip will be in readonly mode\n * @since 2.0.0\n */\n @Prop() readonly = false;\n\n /**\n * Close clicked\n */\n @Event() closeClick: EventEmitter<void>;\n\n private onCloseClick(event: Event) {\n event.preventDefault();\n event.stopPropagation();\n this.closeClick.emit();\n }\n\n render() {\n return (\n <Host\n class={{ disabled: this.disabled, readonly: this.readonly }}\n title={this.el.textContent}\n >\n <div class=\"slot-container\">\n <slot></slot>\n </div>\n {!this.disabled && !this.readonly ? (\n <ix-icon-button\n ghost\n oval\n icon={'close-small'}\n size=\"16\"\n tabindex={this.disabled ? -1 : 0}\n variant=\"primary\"\n disabled={this.disabled}\n onClick={(e) => this.onCloseClick(e)}\n ></ix-icon-button>\n ) : null}\n </Host>\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 */\nexport class IxSelectItemLabelChangeEvent extends CustomEvent<{\n oldValue: string;\n newValue: string;\n}> {\n constructor(detail: { oldValue: string; newValue: string }) {\n super('ix-select-item:labelChange', {\n bubbles: true,\n detail,\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\n:host {\n display: block;\n position: relative;\n\n > ix-dropdown-item {\n width: 100%;\n }\n\n ix-dropdown-item {\n color: var(--theme-color-std-text);\n }\n\n .select-item-checked {\n background-color: var(--theme-select-list-item--background--selected);\n --ix-dropdown-item-checked-color: var(--theme-color-std-text);\n }\n}\n\n:host(.d-none) {\n display: 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 {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n Watch,\n} from '@stencil/core';\nimport { IxSelectItemLabelChangeEvent } from './events';\n\n@Component({\n tag: 'ix-select-item',\n styleUrl: 'select-item.scss',\n shadow: true,\n})\nexport class SelectItem {\n @Element() hostElement: HTMLIxSelectItemElement;\n\n /**\n * Displayed name of the item\n */\n @Prop({ reflect: true }) label: string;\n\n /**\n * The value of the item.\n * Important: The select component uses string values to handle selection and will call toString() on this value.\n * Therefor a string should be passed to value to prevent unexpected behavior.\n * @deprecated will be changed to type string with next major release (3.0.0)\n */\n @Prop({ reflect: true }) value!: any;\n\n /**\n * Flag indicating whether the item is selected\n */\n @Prop() selected = false;\n\n /**\n * @internal\n */\n @Prop() hover = false;\n\n /**\n * Item clicked\n */\n @Event() itemClick: EventEmitter<string>;\n\n /**\n * @internal\n * @param event\n */\n @Method()\n async onItemClick(event?: CustomEvent<HTMLIxDropdownItemElement>) {\n event?.preventDefault();\n event?.stopPropagation();\n\n this.itemClick.emit(this.value);\n }\n\n componentDidRender() {\n if (this.value === undefined || this.value === null) {\n throw Error('ix-select-item must have a `value` property');\n }\n }\n\n @Watch('label')\n labelChange(newValue: string, oldValue: string) {\n this.hostElement.dispatchEvent(\n new IxSelectItemLabelChangeEvent({\n newValue: newValue,\n oldValue: oldValue,\n })\n );\n }\n\n render() {\n return (\n <Host>\n <ix-dropdown-item\n class={{\n 'select-item-checked': this.selected,\n }}\n checked={this.selected}\n label={this.label ? this.label : this.value}\n onItemClick={(e) => this.onItemClick(e)}\n ></ix-dropdown-item>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ix-filter-chip.ix-select-item.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,aAAa,GAAG,8qEAA8qE,CAAC;AACrsE,2BAAe,aAAa;;MCuBf,UAAU;;;;wBAMF,KAAK;wBAML,KAAK;;IAOhB,YAAY,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,eAAe,EAAE,CAAC;QAEzB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KACjC;IAED,IAAI,YAAY;QACd,OAAO,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC;KAC3D;IAED,kBAAkB;QAChB,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,IAAI,IAAI,CAAC,KAAK,KAAK,IAAI,EAAE;YACnD,MAAM,KAAK,CAAC,6CAA6C,CAAC,CAAC;SAC5D;KACF;IAGD,WAAW,CAAC,QAAgB,EAAE,QAAgB;QAC5C,IAAI,CAAC,WAAW,CAAC,aAAa,CAC5B,IAAI,4BAA4B,CAAC;YAC/B,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;SACnB,CAAC,CACH,CAAC;KACH;IAED,MAAM;QACJ,QACEA,QAACC,UAAI,uDACHD,+EACE,KAAK,EAAE;gBACL,qBAAqB,EAAE,IAAI,CAAC,QAAQ;aACrC,EACD,OAAO,EAAE,IAAI,CAAC,QAAQ,EACtB,KAAK,EAAE,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,EAC3C,WAAW,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,GACrB,CACf,EACP;KACH;;;;;;;;;;;","names":["h","Host"],"sources":["src/components/filter-chip/filter-chip.scss?tag=ix-filter-chip&encapsulation=shadow","src/components/filter-chip/filter-chip.tsx","src/components/select-item/events.ts","src/components/select-item/select-item.scss?tag=ix-select-item&encapsulation=shadow","src/components/select-item/select-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 'common-variables';\n@import 'mixins/hover';\n@import 'mixins/text-truncation';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n\n display: inline-flex;\n align-items: center;\n justify-content: space-between;\n height: $large-space;\n padding-left: $small-space;\n border: var(--theme-focus--border-thickness) solid\n var(--theme-chip-primary-outline--border-color);\n border-radius: $x-large-space;\n background-color: var(--theme-color-ghost);\n color: var(--theme-chip-primary-outline--color);\n\n .slot-container {\n @include ellipsis;\n\n :host-context(.disabled) {\n background-color: var(--theme-color-ghost);\n border-color: var(--theme-color-component-4);\n color: var(--theme-color-weak-text);\n }\n }\n\n ix-icon-button {\n height: $large-space;\n margin-left: 0.25rem;\n\n @include focus-visible {\n outline: none;\n }\n }\n}\n\n:host(.disabled) {\n border: var(--theme-focus--border-thickness) solid\n var(--theme-color-component-4);\n color: var(--theme-color-weak-text);\n padding-right: $small-space;\n\n cursor: default;\n}\n\n:host(.readonly) {\n padding-right: $small-space;\n}\n\n@include host-hover {\n background-color: var(--theme-color-ghost-primary--hover);\n border-color: var(--theme-chip-primary-outline--border-color--hover);\n color: var(--theme-chip-primary-outline--color--hover);\n}\n\n@include host-active {\n background-color: var(--theme-color-ghost-primary--active);\n border-color: var(--theme-chip-primary-outline--border-color--active);\n color: var(--theme-chip-primary-outline--color--active);\n}\n\n@include host-focus-visible {\n outline: var(--theme-color-focus-bdr) solid\n var(--theme-focus--border-thickness);\n outline-offset: -0.125rem;\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 Host,\n Prop,\n} from '@stencil/core';\n\n@Component({\n tag: 'ix-filter-chip',\n styleUrl: 'filter-chip.scss',\n shadow: true,\n})\nexport class FilterChip {\n @Element() el: HTMLIxFilterChipElement;\n\n /**\n * If true the filter chip will be in disabled state\n */\n @Prop() disabled = false;\n\n /**\n * If true the filter chip will be in readonly mode\n * @since 2.0.0\n */\n @Prop() readonly = false;\n\n /**\n * Close clicked\n */\n @Event() closeClick: EventEmitter<void>;\n\n private onCloseClick(event: Event) {\n event.preventDefault();\n event.stopPropagation();\n this.closeClick.emit();\n }\n\n render() {\n return (\n <Host\n class={{ disabled: this.disabled, readonly: this.readonly }}\n title={this.el.textContent}\n >\n <div class=\"slot-container\">\n <slot></slot>\n </div>\n {!this.disabled && !this.readonly ? (\n <ix-icon-button\n ghost\n oval\n icon={'close-small'}\n size=\"16\"\n tabindex={this.disabled ? -1 : 0}\n variant=\"primary\"\n disabled={this.disabled}\n onClick={(e) => this.onCloseClick(e)}\n ></ix-icon-button>\n ) : null}\n </Host>\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 */\nexport class IxSelectItemLabelChangeEvent extends CustomEvent<{\n oldValue: string;\n newValue: string;\n}> {\n constructor(detail: { oldValue: string; newValue: string }) {\n super('ix-select-item:labelChange', {\n bubbles: true,\n detail,\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\n:host {\n display: block;\n position: relative;\n\n > ix-dropdown-item {\n width: 100%;\n }\n\n ix-dropdown-item {\n color: var(--theme-color-std-text);\n }\n\n .select-item-checked {\n background-color: var(--theme-select-list-item--background--selected);\n --ix-dropdown-item-checked-color: var(--theme-color-std-text);\n }\n}\n\n:host(.d-none) {\n display: 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 {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n Watch,\n} from '@stencil/core';\nimport { IxSelectItemLabelChangeEvent } from './events';\nimport { DropdownItemWrapper } from '../dropdown/dropdown-controller';\n\n@Component({\n tag: 'ix-select-item',\n styleUrl: 'select-item.scss',\n shadow: true,\n})\nexport class SelectItem implements DropdownItemWrapper {\n @Element() hostElement: HTMLIxSelectItemElement;\n\n /**\n * Displayed name of the item\n */\n @Prop({ reflect: true }) label: string;\n\n /**\n * The value of the item.\n * Important: The select component uses string values to handle selection and will call toString() on this value.\n * Therefor a string should be passed to value to prevent unexpected behavior.\n * @deprecated will be changed to type string with next major release (3.0.0)\n */\n @Prop({ reflect: true }) value!: any;\n\n /**\n * Flag indicating whether the item is selected\n */\n @Prop() selected = false;\n\n /**\n * @internal\n */\n @Prop() hover = false;\n\n /**\n * Item clicked\n */\n @Event() itemClick: EventEmitter<string>;\n\n /** @internal */\n @Method()\n async getDropdownItemElement(): Promise<HTMLIxDropdownItemElement> {\n return this.dropdownItem;\n }\n\n /**\n * @internal\n * @param event\n */\n @Method()\n async onItemClick(event?: CustomEvent<HTMLIxDropdownItemElement>) {\n event?.preventDefault();\n event?.stopPropagation();\n\n this.itemClick.emit(this.value);\n }\n\n get dropdownItem() {\n return this.hostElement.querySelector('ix-dropdown-item');\n }\n\n componentDidRender() {\n if (this.value === undefined || this.value === null) {\n throw Error('ix-select-item must have a `value` property');\n }\n }\n\n @Watch('label')\n labelChange(newValue: string, oldValue: string) {\n this.hostElement.dispatchEvent(\n new IxSelectItemLabelChangeEvent({\n newValue: newValue,\n oldValue: oldValue,\n })\n );\n }\n\n render() {\n return (\n <Host>\n <ix-dropdown-item\n class={{\n 'select-item-checked': this.selected,\n }}\n checked={this.selected}\n label={this.label ? this.label : this.value}\n onItemClick={(e) => this.onItemClick(e)}\n ></ix-dropdown-item>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-c6f0ac73.js');
6
6
 
7
- const formFieldCss = "label{color:var(--theme-color-soft-text);padding:2px 0px}label.label-alignment-left{padding:6px 0px}input,input:-webkit-autofill{font-feature-settings:\"clig\" off, \"liga\" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-md);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;min-height:2rem;width:100%;padding:0.25rem 0.5rem;background-color:var(--theme-input--background);color:var(--theme-input--color);text-overflow:ellipsis;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color);border-radius:var(--theme-input--border-radius);box-shadow:var(--theme-input--box-shadow)}input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-input--background) inset !important;-webkit-text-fill-color:var(--theme-input--color) !important;border-color:var(--theme-input--border-color) !important}input::-moz-placeholder{color:var(--theme-input-hint--color)}input::placeholder{color:var(--theme-input-hint--color)}input.hover,input:hover{border-color:var(--theme-input--border-color--hover);background-color:var(--theme-input--background--hover)}input.focus,input:focus{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus)}input:-moz-read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}input.read-only,input:read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}input.read-only::-moz-placeholder,input:read-only::-moz-placeholder{color:transparent}input:-moz-read-only::placeholder{color:transparent}input.read-only::placeholder,input:read-only::placeholder{color:transparent}input:disabled{box-shadow:none;background-color:transparent;outline:none;border:none;color:var(--theme-input--color--disabled);border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--disabled)}input:disabled::-moz-placeholder{color:transparent}input:disabled::placeholder{color:transparent}input[type=number]{text-align:right}input[type=number]::-webkit-inner-spin-button{margin-right:-2px;margin-left:2px;display:none}textarea{height:3.25rem;padding:0.375rem 1.25rem 0.375rem 0.5rem}textarea,textarea:-webkit-autofill{font-feature-settings:\"clig\" off, \"liga\" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-md);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;min-height:2rem;width:100%;padding:0.25rem 0.5rem;background-color:var(--theme-input--background);color:var(--theme-input--color);text-overflow:ellipsis;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color);border-radius:var(--theme-input--border-radius);box-shadow:var(--theme-input--box-shadow)}textarea:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-input--background) inset !important;-webkit-text-fill-color:var(--theme-input--color) !important;border-color:var(--theme-input--border-color) !important}textarea::-moz-placeholder{color:var(--theme-input-hint--color)}textarea::placeholder{color:var(--theme-input-hint--color)}textarea.hover,textarea:hover{border-color:var(--theme-input--border-color--hover);background-color:var(--theme-input--background--hover)}textarea.focus,textarea:focus{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus)}textarea:-moz-read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}textarea.read-only,textarea:read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}textarea.read-only::-moz-placeholder,textarea:read-only::-moz-placeholder{color:transparent}textarea:-moz-read-only::placeholder{color:transparent}textarea.read-only::placeholder,textarea:read-only::placeholder{color:transparent}textarea:disabled{box-shadow:none;background-color:transparent;outline:none;border:none;color:var(--theme-input--color--disabled);border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--disabled)}textarea:disabled::-moz-placeholder{color:transparent}textarea:disabled::placeholder{color:transparent}textarea~.valid-feedback,textarea~.invalid-feedback,input~.valid-feedback,input~.invalid-feedback{display:none;font-feature-settings:\"clig\" off, \"liga\" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-md);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}form textarea~.valid-feedback,form input~.valid-feedback{color:var(--theme-color-success)}form textarea~.invalid-feedback,form input~.invalid-feedback{color:var(--theme-color-alarm-text)}form:not([novalidate]) :invalid,form:not([novalidate]) .is-invalid,form.was-validated :invalid,form.was-validated .is-invalid{background-color:var(--theme-input-error--background);border-color:var(--theme-input-error--border-color);background-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3C!-- Generator: sketchtool 62 (101010) - https://sketch.com --%3E%3Ctitle%3Eerror%3C/title%3E%3Cdesc%3ECreated with sketchtool.%3C/desc%3E%3Cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd' fill-opacity='0.75'%3E%3Cg id='error' fill='%23ff2640'%3E%3Cg id='error/error'%3E%3Cpath d='M256,42.6666667 C373.626371,42.6666667 469.333333,138.373627 469.333333,256 C469.333333,373.626371 373.626371,469.333333 256,469.333333 C138.373627,469.333333 42.6666667,373.626371 42.6666667,256 C42.6666667,138.373627 138.373627,42.6666667 256,42.6666667 Z M256,85.3333333 C161.559631,85.3333333 85.3333333,161.559631 85.3333333,256 C85.3333333,350.44037 161.559631,426.666667 256,426.666667 C350.44037,426.666667 426.666667,350.44037 426.666667,256 C426.666667,161.559631 350.44037,85.3333333 256,85.3333333 Z M326.248389,155.581722 L356.418278,185.751611 L286.168667,255.999667 L356.418278,326.248389 L326.248389,356.418278 L255.999667,286.168667 L185.751611,356.418278 L155.581722,326.248389 L225.829667,255.999667 L155.581722,185.751611 L185.751611,155.581722 L255.999667,225.829667 L326.248389,155.581722 Z' id='Combined-Shape'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E\") !important;background-position:left calc(0.375em + 0.1875rem) center;padding-right:0.75rem;padding-left:calc(1.5em + 0.75rem);background-size:18px;background-repeat:no-repeat}form:not([novalidate]) :invalid~.invalid-feedback,form:not([novalidate]) .is-invalid~.invalid-feedback,form.was-validated :invalid~.invalid-feedback,form.was-validated .is-invalid~.invalid-feedback{display:block}form:not([novalidate]) :valid~.valid-feedback,form:not([novalidate]) .is-valid~.valid-feedback,form.was-validated :valid~.valid-feedback,form.was-validated .is-valid~.valid-feedback{display:block}form:not(.was-validated) .invalid-feedback,form:not(.was-validated) .valid-feedback{display:none !important}:host{display:contents}";
7
+ const formFieldCss = "label{color:var(--theme-color-soft-text);padding:2px 0px}label.label-alignment-left{padding:6px 0px}input{font-feature-settings:\"clig\" off, \"liga\" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-md);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;min-height:2rem;width:100%;padding:0.25rem 0.5rem;background-color:var(--theme-input--background);color:var(--theme-input--color);text-overflow:ellipsis;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color);border-radius:var(--theme-input--border-radius);box-shadow:var(--theme-input--box-shadow)}input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}input:-webkit-autofill,input:autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}input::-moz-placeholder{color:var(--theme-input-hint--color)}input::placeholder{color:var(--theme-input-hint--color)}input.hover,input:hover{border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}input.focus,input:focus{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}input:-moz-read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}input.read-only,input:read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}input.read-only::-moz-placeholder,input:read-only::-moz-placeholder{color:transparent}input:-moz-read-only::placeholder{color:transparent}input.read-only::placeholder,input:read-only::placeholder{color:transparent}input:disabled{box-shadow:none;background-color:transparent;outline:none;border:none;color:var(--theme-input--color--disabled);border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--disabled)}input:disabled::-moz-placeholder{color:transparent}input:disabled::placeholder{color:transparent}input[type=number]{text-align:right}input[type=number]::-webkit-inner-spin-button{margin-right:-2px;margin-left:2px;display:none}textarea{height:3.25rem;padding:0.375rem 1.25rem 0.375rem 0.5rem}textarea{font-feature-settings:\"clig\" off, \"liga\" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-md);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;min-height:2rem;width:100%;padding:0.25rem 0.5rem;background-color:var(--theme-input--background);color:var(--theme-input--color);text-overflow:ellipsis;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color);border-radius:var(--theme-input--border-radius);box-shadow:var(--theme-input--box-shadow)}textarea:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}textarea:-webkit-autofill,textarea:autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}textarea::-moz-placeholder{color:var(--theme-input-hint--color)}textarea::placeholder{color:var(--theme-input-hint--color)}textarea.hover,textarea:hover{border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}textarea.focus,textarea:focus{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}textarea:-moz-read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}textarea.read-only,textarea:read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}textarea.read-only::-moz-placeholder,textarea:read-only::-moz-placeholder{color:transparent}textarea:-moz-read-only::placeholder{color:transparent}textarea.read-only::placeholder,textarea:read-only::placeholder{color:transparent}textarea:disabled{box-shadow:none;background-color:transparent;outline:none;border:none;color:var(--theme-input--color--disabled);border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--disabled)}textarea:disabled::-moz-placeholder{color:transparent}textarea:disabled::placeholder{color:transparent}textarea~.valid-feedback,textarea~.invalid-feedback,input~.valid-feedback,input~.invalid-feedback{display:none;font-feature-settings:\"clig\" off, \"liga\" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-md);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}form textarea~.valid-feedback,form input~.valid-feedback{color:var(--theme-color-success)}form textarea~.invalid-feedback,form input~.invalid-feedback{color:var(--theme-color-alarm-text)}form:not([novalidate]) :invalid,form:not([novalidate]) .is-invalid,form.was-validated :invalid,form.was-validated .is-invalid{background-color:var(--theme-input-error--background);border-color:var(--theme-input-error--border-color);background-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3C!-- Generator: sketchtool 62 (101010) - https://sketch.com --%3E%3Ctitle%3Eerror%3C/title%3E%3Cdesc%3ECreated with sketchtool.%3C/desc%3E%3Cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd' fill-opacity='0.75'%3E%3Cg id='error' fill='%23ff2640'%3E%3Cg id='error/error'%3E%3Cpath d='M256,42.6666667 C373.626371,42.6666667 469.333333,138.373627 469.333333,256 C469.333333,373.626371 373.626371,469.333333 256,469.333333 C138.373627,469.333333 42.6666667,373.626371 42.6666667,256 C42.6666667,138.373627 138.373627,42.6666667 256,42.6666667 Z M256,85.3333333 C161.559631,85.3333333 85.3333333,161.559631 85.3333333,256 C85.3333333,350.44037 161.559631,426.666667 256,426.666667 C350.44037,426.666667 426.666667,350.44037 426.666667,256 C426.666667,161.559631 350.44037,85.3333333 256,85.3333333 Z M326.248389,155.581722 L356.418278,185.751611 L286.168667,255.999667 L356.418278,326.248389 L326.248389,356.418278 L255.999667,286.168667 L185.751611,356.418278 L155.581722,326.248389 L225.829667,255.999667 L155.581722,185.751611 L185.751611,155.581722 L255.999667,225.829667 L326.248389,155.581722 Z' id='Combined-Shape'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E\") !important;background-position:left calc(0.375em + 0.1875rem) center;padding-right:0.75rem;padding-left:calc(1.5em + 0.75rem);background-size:18px;background-repeat:no-repeat}form:not([novalidate]) :invalid~.invalid-feedback,form:not([novalidate]) .is-invalid~.invalid-feedback,form.was-validated :invalid~.invalid-feedback,form.was-validated .is-invalid~.invalid-feedback{display:block}form:not([novalidate]) :valid~.valid-feedback,form:not([novalidate]) .is-valid~.valid-feedback,form.was-validated :valid~.valid-feedback,form.was-validated .is-valid~.valid-feedback{display:block}form:not(.was-validated) .invalid-feedback,form:not(.was-validated) .valid-feedback{display:none !important}:host{display:contents}";
8
8
  const IxFormFieldStyle0 = formFieldCss;
9
9
 
10
10
  const FormField = class {
@@ -1 +1 @@
1
- {"file":"ix-form-field.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,YAAY,GAAG,88PAA88P,CAAC;AACp+P,0BAAe,YAAY;;MCcd,SAAS;;;;;IAQpB,IAAY,YAAY;QACtB,OAAO,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;KAChD;IAED,iBAAiB,MAAK;IAEtB,MAAM;QACJ,QACEA,QAACC,UAAI,uDACF,IAAI,CAAC,KAAK,IACTD,mBAAO,OAAO,EAAE,IAAI,CAAC,YAAY,CAAC,EAAE,IAAG,IAAI,CAAC,KAAK,CAAS,IACxD,IAAI,EACRA,oEAAa,CACR,EACP;KACH;;;;;;;","names":["h","Host"],"sources":["src/components/form-field/form-field.scss?tag=ix-form-field&encapsulation=shadow","src/components/form-field/form-field.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 'components/form/input';\n\n:host {\n display: contents;\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 */\nimport { Component, Element, h, Host, Prop } from '@stencil/core';\n\n@Component({\n tag: 'ix-form-field',\n styleUrl: 'form-field.scss',\n shadow: true,\n})\nexport class FormField {\n @Element() hostElement!: HTMLIxFormFieldElement;\n\n /**\n * Label\n */\n @Prop() label: string;\n\n private get inputElement() {\n return this.hostElement.querySelector('input');\n }\n\n componentWillLoad() {}\n\n render() {\n return (\n <Host>\n {this.label ? (\n <label htmlFor={this.inputElement.id}>{this.label}</label>\n ) : null}\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ix-form-field.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,YAAY,GAAG,mpSAAmpS,CAAC;AACzqS,0BAAe,YAAY;;MCcd,SAAS;;;;;IAQpB,IAAY,YAAY;QACtB,OAAO,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;KAChD;IAED,iBAAiB,MAAK;IAEtB,MAAM;QACJ,QACEA,QAACC,UAAI,uDACF,IAAI,CAAC,KAAK,IACTD,mBAAO,OAAO,EAAE,IAAI,CAAC,YAAY,CAAC,EAAE,IAAG,IAAI,CAAC,KAAK,CAAS,IACxD,IAAI,EACRA,oEAAa,CACR,EACP;KACH;;;;;;;","names":["h","Host"],"sources":["src/components/form-field/form-field.scss?tag=ix-form-field&encapsulation=shadow","src/components/form-field/form-field.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 'components/form/input';\n\n:host {\n display: contents;\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 */\nimport { Component, Element, h, Host, Prop } from '@stencil/core';\n\n@Component({\n tag: 'ix-form-field',\n styleUrl: 'form-field.scss',\n shadow: true,\n})\nexport class FormField {\n @Element() hostElement!: HTMLIxFormFieldElement;\n\n /**\n * Label\n */\n @Prop() label: string;\n\n private get inputElement() {\n return this.hostElement.querySelector('input');\n }\n\n componentWillLoad() {}\n\n render() {\n return (\n <Host>\n {this.label ? (\n <label htmlFor={this.inputElement.id}>{this.label}</label>\n ) : null}\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-c6f0ac73.js');
6
6
  const shadowDom = require('./shadow-dom-73f9d553.js');
7
7
 
8
- const groupContextMenuCss = ":host{display:block;position:relative;height:2rem;width:2rem;margin-block-start:0.3125rem;margin-inline-end:0.3125rem;margin-inline-start:auto}:host .hide{visibility:collapse}";
8
+ const groupContextMenuCss = ":host{display:block;position:relative;height:2rem;width:2rem;margin-block-start:0.3125rem;margin-inline-end:0.3125rem;margin-inline-start:auto}:host .hide{visibility:collapse}:host ::slotted(ix-dropdown){cursor:default}";
9
9
  const IxGroupContextMenuStyle0 = groupContextMenuCss;
10
10
 
11
11
  const GroupContextMenu = class {
@@ -44,7 +44,7 @@ const GroupContextMenu = class {
44
44
  };
45
45
  GroupContextMenu.style = IxGroupContextMenuStyle0;
46
46
 
47
- const groupItemCss = ":host{display:flex;min-height:2.25rem;height:2.25rem}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host>button{display:flex;height:100%;width:100%;align-items:center;justify-content:flex-start;position:relative;outline:none;background-color:var(--theme-group-item--background);border:1px solid transparent;color:var(--theme-color-std-text);padding-left:2.5rem}:host>button:focus-visible{border:1px solid var(--theme-color-focus-bdr)}:host ix-icon{margin-right:0.25rem;margin-top:-0.125rem}:host .group-entry-selection-indicator{position:absolute;left:-1px;height:calc(100% + 2px);width:0.25rem}:host .group-entry-text{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .group-entry-text-secondary{display:flex;justify-content:flex-end;flex-grow:1;white-space:nowrap;color:var(--theme-color-soft-text)}:host .group-entry-text-secondary,:host .group-entry-text-secondary span{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.selected){border-top-width:0.062rem !important;background-color:var(--theme-color-ghost--selected)}:host(.selected) .group-entry-selection-indicator{background-color:var(--theme-group-item-indicator--background--selected)}:host(:not(.suppress-selection):hover){background-color:var(--theme-color-ghost--selected-hover);border-color:var(--theme-group-item--border-color--hover)}:host(:not(.suppress-selection).selected:hover){background-color:var(--theme-color-ghost--selected-hover)}:host(:not(.suppress-selection):active){background-color:var(--theme-color-ghost--selected-active);border-color:var(--theme-group-item--border-color--active)}:host(:not(.suppress-selection).selected:active){background-color:var(--theme-color-ghost--selected-active)}";
47
+ const groupItemCss = ":host{display:flex;min-height:2.25rem;height:2.25rem}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host>button{display:flex;height:100%;width:100%;align-items:center;justify-content:flex-start;position:relative;outline:none;background-color:var(--theme-group-item--background);border:1px solid transparent;color:var(--theme-color-std-text);cursor:pointer;padding-left:2.5rem}:host>button:focus-visible{border:1px solid var(--theme-color-focus-bdr)}:host ix-icon{margin-right:0.25rem;margin-top:-0.125rem}:host .group-entry-selection-indicator{position:absolute;left:-1px;height:calc(100% + 2px);width:0.25rem}:host .group-entry-text{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .group-entry-text-secondary{display:flex;justify-content:flex-end;flex-grow:1;white-space:nowrap;color:var(--theme-color-soft-text)}:host .group-entry-text-secondary,:host .group-entry-text-secondary span{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.suppress-selection){pointer-events:none}:host(.selected){border-top-width:0.062rem !important;background-color:var(--theme-color-ghost--selected)}:host(.selected) .group-entry-selection-indicator{background-color:var(--theme-group-item-indicator--background--selected)}:host(:hover){background-color:var(--theme-color-ghost--selected-hover);border-color:var(--theme-group-item--border-color--hover)}:host(.selected:hover){background-color:var(--theme-color-ghost--selected-hover)}:host(:active){background-color:var(--theme-color-ghost--selected-active);border-color:var(--theme-group-item--border-color--active)}:host(.selected:active){background-color:var(--theme-color-ghost--selected-active)}";
48
48
  const IxGroupItemStyle0 = groupItemCss;
49
49
 
50
50
  const GroupItem = class {
@@ -66,10 +66,10 @@ const GroupItem = class {
66
66
  this.selectedChanged.emit(this.hostElement);
67
67
  }
68
68
  render() {
69
- return (index.h(index.Host, { key: '5d465a80365854b2dc13389fcee91f0e824cf9c6', class: {
69
+ return (index.h(index.Host, { key: 'ec30959a56062acbad4443b9ca91fb8c99125b03', class: {
70
70
  selected: this.selected && !this.suppressSelection,
71
71
  'suppress-selection': this.suppressSelection,
72
- } }, index.h("button", { key: 'df47595b58a38860ec502bb9478b3626a47c9d9d', tabindex: this.focusable ? 0 : -1 }, index.h("div", { key: '97b2949849401b49e746676b077b9b9f134ba4a0', class: "group-entry-selection-indicator" }), this.icon ? index.h("ix-icon", { size: "16", name: this.icon }) : null, this.text ? (index.h("span", { class: "group-entry-text" }, index.h("span", { title: this.text }, this.text))) : null, this.secondaryText ? (index.h("span", { class: "group-entry-text-secondary" }, index.h("span", { title: this.secondaryText }, this.secondaryText))) : null, index.h("slot", { key: '4b81d50e99262b562ffc5b4745059ad83973c8bf' }))));
72
+ } }, index.h("button", { key: 'e29e098d709f657d5109ff840d54e84b7c645d28', tabindex: this.focusable ? 0 : -1 }, index.h("div", { key: 'd82048e82f3a9de77f1acb19f9500c475f400147', class: "group-entry-selection-indicator" }), this.icon ? index.h("ix-icon", { size: "16", name: this.icon }) : null, this.text ? (index.h("span", { class: "group-entry-text" }, index.h("span", { title: this.text }, this.text))) : null, this.secondaryText ? (index.h("span", { class: "group-entry-text-secondary" }, index.h("span", { title: this.secondaryText }, this.secondaryText))) : null, index.h("slot", { key: '1cde0aba243ca5f3537ce589be9e44d3ba9e2494' }))));
73
73
  }
74
74
  get hostElement() { return index.getElement(this); }
75
75
  };