@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
@@ -134,4 +134,346 @@ test('open filtered dropdown on input', async ({ mount, page }) => {
134
134
  await expect(item1).toBeVisible();
135
135
  await expect(item2).not.toBeVisible();
136
136
  });
137
+ test('remove text from input and reselect the element', async ({ mount, page, }) => {
138
+ await mount(`
139
+ <ix-select value="2">
140
+ <ix-select-item value="1" label="Item 1">Test</ix-select-item>
141
+ <ix-select-item value="2" label="Item 2">Test</ix-select-item>
142
+ <ix-select-item value="3" label="Item 3">Test</ix-select-item>
143
+ </ix-select>
144
+ `);
145
+ await page.locator('[data-select-dropdown]').click();
146
+ const element = page.locator('ix-select');
147
+ await element.evaluate((select) => (select.value = []));
148
+ const dropdown = element.locator('ix-dropdown');
149
+ await expect(dropdown).toBeVisible();
150
+ const item2 = page.getByRole('button', { name: 'Item 2' });
151
+ await item2.click();
152
+ const inputValue = await element.locator('input').inputValue();
153
+ expect(inputValue).toEqual('Item 2');
154
+ });
155
+ test('type in a novel item name in editable mode and then remove it', async ({ mount, page, }) => {
156
+ await mount(`
157
+ <ix-select value="2" editable>
158
+ <ix-select-item value="1" label="Item 1">Test</ix-select-item>
159
+ <ix-select-item value="2" label="Item 2">Test</ix-select-item>
160
+ </ix-select>
161
+ `);
162
+ const element = page.locator('ix-select');
163
+ await expect(element).toHaveClass(/hydrated/);
164
+ await page.locator('[data-select-dropdown]').click();
165
+ await page.getByTestId('input').fill('test');
166
+ await expect(page.getByRole('button', { name: 'Item 1' })).not.toBeVisible();
167
+ await expect(page.getByRole('button', { name: 'Item 2' })).not.toBeVisible();
168
+ const add = page.getByRole('button', { name: 'test' });
169
+ await expect(add).toBeVisible();
170
+ await page.getByTestId('input').fill('');
171
+ await expect(page.getByRole('button', { name: 'Item 1' })).toBeVisible();
172
+ await expect(page.getByRole('button', { name: 'Item 2' })).toBeVisible();
173
+ await expect(add).not.toBeVisible();
174
+ });
175
+ test('type in a novel item name in editable mode, click outside and reopen the select', async ({ mount, page, }) => {
176
+ await mount(`
177
+ <ix-select value="2" editable>
178
+ <ix-select-item value="1" label="Item 1">Test</ix-select-item>
179
+ <ix-select-item value="2" label="Item 2">Test</ix-select-item>
180
+ <ix-select-item value="3" label="Item 3">Test</ix-select-item>
181
+ </ix-select>
182
+ <ix-button>outside</ix-button>
183
+ `);
184
+ const selectElement = page.locator('ix-select');
185
+ const btnElement = page.locator('ix-button');
186
+ await expect(selectElement).toHaveClass(/hydrated/);
187
+ await expect(btnElement).toBeVisible();
188
+ await page.locator('[data-select-dropdown]').click();
189
+ await page.getByTestId('input').fill('test');
190
+ const add = page.getByRole('button', { name: 'test' });
191
+ await expect(add).toBeVisible();
192
+ await btnElement.click();
193
+ const inputValue = await page.getByTestId('input').inputValue();
194
+ expect(inputValue).toBe('Item 2');
195
+ await page.locator('[data-select-dropdown]').click();
196
+ await expect(page.getByRole('button', { name: 'Item 1' })).toBeVisible();
197
+ await expect(page.getByRole('button', { name: 'Item 2' })).toBeVisible();
198
+ await expect(page.getByRole('button', { name: 'Item 3' })).toBeVisible();
199
+ });
200
+ test.describe('arrow key navigation', () => {
201
+ test.describe('ArrowDown', () => {
202
+ test('input -> slotted item', async ({ mount, page }) => {
203
+ await mount(`
204
+ <ix-select>
205
+ <ix-select-item value="1" label="Item 1">Test</ix-select-item>
206
+ <ix-select-item value="2" label="Item 2">Test</ix-select-item>
207
+ </ix-select>
208
+ `);
209
+ await page.locator('ix-select input').click();
210
+ await page.keyboard.down('ArrowDown');
211
+ const itemOne = await page.locator('ix-select-item').first();
212
+ await expect(itemOne).toBeFocused();
213
+ });
214
+ test('input -> dynamic item', async ({ mount, page }) => {
215
+ await mount(`
216
+ <ix-select editable></ix-select>
217
+ `);
218
+ await page.locator('ix-select input').focus();
219
+ await page.keyboard.type('I');
220
+ await page.waitForSelector('.add-item');
221
+ await page.keyboard.down('ArrowDown');
222
+ const itemOne = await page.locator('.add-item');
223
+ await expect(itemOne).toBeFocused();
224
+ });
225
+ test('input -> add item', async ({ mount, page }) => {
226
+ await mount(`
227
+ <ix-select editable></ix-select>
228
+ `);
229
+ await page.locator('ix-select input').focus();
230
+ await page.keyboard.type('I');
231
+ await page.keyboard.down('Enter');
232
+ await page.waitForSelector('.checkmark');
233
+ await page.keyboard.down('ArrowDown');
234
+ const addItem = await page.locator('ix-dropdown-item');
235
+ await expect(addItem).toBeFocused();
236
+ });
237
+ test('slot -> dynamic item', async ({ mount, page }) => {
238
+ await mount(`
239
+ <ix-select editable>
240
+ <ix-select-item value="1" label="Item 1">Test</ix-select-item>
241
+ <ix-select-item value="2" label="Item 2">Test</ix-select-item>
242
+ </ix-select>
243
+ `);
244
+ await page.locator('ix-select input').focus();
245
+ await page.keyboard.type('I');
246
+ await page.keyboard.down('Enter');
247
+ await page.waitForSelector('.checkmark');
248
+ await page.keyboard.down('ArrowDown');
249
+ await page.waitForTimeout(100);
250
+ await page.keyboard.down('ArrowDown');
251
+ await page.waitForTimeout(100);
252
+ await page.keyboard.down('ArrowDown');
253
+ await page.waitForTimeout(100);
254
+ const itemThree = page.locator('ix-select-item').last();
255
+ await expect(itemThree).toBeFocused();
256
+ });
257
+ test('slot -> add item', async ({ mount, page }) => {
258
+ await mount(`
259
+ <ix-select editable>
260
+ <ix-select-item value="1" label="Item 1">Test</ix-select-item>
261
+ <ix-select-item value="2" label="Item 2">Test</ix-select-item>
262
+ </ix-select>
263
+ `);
264
+ await page.locator('ix-select input').focus();
265
+ await page.keyboard.type('I');
266
+ await page.waitForSelector('.add-item');
267
+ await page.keyboard.down('ArrowDown');
268
+ await page.waitForTimeout(100);
269
+ await page.keyboard.down('ArrowDown');
270
+ await page.waitForTimeout(100);
271
+ await page.keyboard.down('ArrowDown');
272
+ await page.waitForTimeout(100);
273
+ const addItem = page.locator('.add-item');
274
+ await expect(addItem).toBeFocused();
275
+ });
276
+ test('dynamic item -> add item', async ({ mount, page }) => {
277
+ await mount(`
278
+ <ix-select editable>
279
+ <ix-select-item value="1" label="Item 1">Test</ix-select-item>
280
+ </ix-select>
281
+ `);
282
+ await page.locator('ix-select input').focus();
283
+ await page.keyboard.type('Item 2');
284
+ await page.keyboard.down('Enter');
285
+ await page.waitForSelector('.checkmark');
286
+ await page.locator('input').clear();
287
+ await page.keyboard.type('I');
288
+ await page.waitForSelector('.add-item');
289
+ await page.keyboard.down('ArrowDown');
290
+ await page.waitForTimeout(100);
291
+ await page.keyboard.down('ArrowDown');
292
+ await page.waitForTimeout(100);
293
+ await page.keyboard.down('ArrowDown');
294
+ await page.waitForTimeout(100);
295
+ const addItem = page.locator('.add-item');
296
+ await expect(addItem).toBeFocused();
297
+ });
298
+ test('wrap - dynamic item -> slot', async ({ mount, page }) => {
299
+ await mount(`
300
+ <ix-select editable>
301
+ <ix-select-item value="1" label="Item 1">Test</ix-select-item>
302
+ </ix-select>
303
+ `);
304
+ await page.locator('ix-select input').focus();
305
+ await page.keyboard.type('Item 2');
306
+ await page.keyboard.press('Enter');
307
+ await page.locator('input').clear();
308
+ await page.keyboard.down('ArrowDown');
309
+ await page.waitForTimeout(100);
310
+ await page.keyboard.down('ArrowDown');
311
+ await page.waitForTimeout(100);
312
+ const itemTwo = page.locator('ix-select-item').nth(1);
313
+ await expect(itemTwo).toBeFocused();
314
+ await page.keyboard.down('ArrowDown');
315
+ await page.waitForTimeout(100);
316
+ const itemOne = page.locator('ix-select-item').first();
317
+ await expect(itemOne).toBeFocused();
318
+ });
319
+ test('wrap - add item -> slot', async ({ mount, page }) => {
320
+ await mount(`
321
+ <ix-select editable>
322
+ <ix-select-item value="1" label="Item 1">Test</ix-select-item>
323
+ </ix-select>
324
+ `);
325
+ await page.locator('ix-select input').focus();
326
+ await page.keyboard.type('I');
327
+ await page.waitForSelector('.add-item');
328
+ await page.keyboard.down('ArrowDown');
329
+ await page.waitForTimeout(100);
330
+ await page.keyboard.down('ArrowDown');
331
+ await page.waitForTimeout(100);
332
+ const addItem = page.locator('.add-item');
333
+ await expect(addItem).toBeFocused();
334
+ await page.keyboard.down('ArrowDown');
335
+ await page.waitForTimeout(100);
336
+ const itemOne = page.locator('ix-select-item').first();
337
+ await expect(itemOne).toBeFocused();
338
+ });
339
+ test('wrap - add item -> dynamic item', async ({ mount, page }) => {
340
+ await mount(`
341
+ <ix-select editable></ix-select>
342
+ `);
343
+ await page.locator('ix-select input').focus();
344
+ await page.keyboard.type('Item 1');
345
+ await page.keyboard.press('Enter');
346
+ await page.waitForSelector('.checkmark');
347
+ await page.locator('input').clear();
348
+ await page.keyboard.type('I');
349
+ await page.waitForSelector('.add-item');
350
+ await page.keyboard.down('ArrowDown');
351
+ await page.waitForTimeout(100);
352
+ await page.keyboard.down('ArrowDown');
353
+ await page.waitForTimeout(100);
354
+ const addItem = page.locator('.add-item');
355
+ await expect(addItem).toBeFocused();
356
+ await page.keyboard.down('ArrowDown');
357
+ await page.waitForTimeout(100);
358
+ const itemOne = page.locator('ix-select-item');
359
+ await expect(itemOne).toBeFocused();
360
+ });
361
+ });
362
+ test.describe('ArrowUp', () => {
363
+ test('dynamic item -> slot', async ({ mount, page }) => {
364
+ await mount(`
365
+ <ix-select editable>
366
+ <ix-select-item value="1" label="Item 1">Test</ix-select-item>
367
+ </ix-select>
368
+ `);
369
+ await page.locator('ix-select input').focus();
370
+ await page.keyboard.type('I');
371
+ await page.keyboard.down('Enter');
372
+ await page.waitForSelector('.checkmark');
373
+ await page.keyboard.down('ArrowDown');
374
+ await page.waitForTimeout(100);
375
+ await page.keyboard.down('ArrowDown');
376
+ await page.waitForTimeout(100);
377
+ const itemTwo = page.locator('ix-select-item').last();
378
+ await expect(itemTwo).toBeFocused();
379
+ await page.keyboard.down('ArrowUp');
380
+ await page.waitForTimeout(100);
381
+ const itemOne = page.locator('ix-select-item').first();
382
+ await expect(itemOne).toBeFocused();
383
+ });
384
+ test('add item -> slot', async ({ mount, page }) => {
385
+ await mount(`
386
+ <ix-select editable>
387
+ <ix-select-item value="1" label="Item 1">Test</ix-select-item>
388
+ </ix-select>
389
+ `);
390
+ await page.locator('ix-select input').focus();
391
+ await page.keyboard.type('I');
392
+ await page.waitForSelector('.add-item');
393
+ await page.keyboard.down('ArrowDown');
394
+ await page.waitForTimeout(100);
395
+ await page.keyboard.down('ArrowDown');
396
+ await page.waitForTimeout(100);
397
+ const addItem = page.locator('.add-item');
398
+ await expect(addItem).toBeFocused();
399
+ await page.keyboard.down('ArrowUp');
400
+ await page.waitForTimeout(100);
401
+ const itemOne = page.locator('ix-select-item');
402
+ await expect(itemOne).toBeFocused();
403
+ });
404
+ test('add item -> dynamic item', async ({ mount, page }) => {
405
+ await mount(`
406
+ <ix-select editable></ix-select>
407
+ `);
408
+ await page.locator('ix-select input').focus();
409
+ await page.keyboard.type('Item 1');
410
+ await page.keyboard.press('Enter');
411
+ await page.waitForSelector('.checkmark');
412
+ await page.locator('input').clear();
413
+ await page.keyboard.type('I');
414
+ await page.waitForSelector('.add-item');
415
+ await page.keyboard.down('ArrowDown');
416
+ await page.waitForTimeout(100);
417
+ await page.keyboard.down('ArrowDown');
418
+ await page.waitForTimeout(100);
419
+ const addItem = page.locator('.add-item');
420
+ await expect(addItem).toBeFocused();
421
+ await page.keyboard.down('ArrowUp');
422
+ await page.waitForTimeout(100);
423
+ const itemOne = page.locator('ix-select-item');
424
+ await expect(itemOne).toBeFocused();
425
+ });
426
+ test('wrap - slot -> dynamic item', async ({ mount, page }) => {
427
+ await mount(`
428
+ <ix-select editable>
429
+ <ix-select-item value="1" label="Item 1">Test</ix-select-item>
430
+ </ix-select>
431
+ `);
432
+ await page.locator('input').focus();
433
+ await page.keyboard.type('Item 2');
434
+ await page.keyboard.press('Enter');
435
+ await page.locator('input').clear();
436
+ await page.keyboard.down('ArrowDown');
437
+ await page.waitForTimeout(100);
438
+ await page.keyboard.down('ArrowUp');
439
+ await page.waitForTimeout(100);
440
+ const itemTwo = page.locator('ix-select-item').last();
441
+ await expect(itemTwo).toBeFocused();
442
+ });
443
+ test('wrap - slot -> add-item', async ({ mount, page }) => {
444
+ await mount(`
445
+ <ix-select editable>
446
+ <ix-select-item value="1" label="Item 1">Test</ix-select-item>
447
+ </ix-select>
448
+ `);
449
+ await page.locator('ix-select input').focus();
450
+ await page.keyboard.type('I');
451
+ await page.waitForSelector('.add-item');
452
+ await page.keyboard.down('ArrowDown');
453
+ await page.waitForTimeout(100);
454
+ await page.keyboard.down('ArrowUp');
455
+ await page.waitForTimeout(100);
456
+ const addItem = page.locator('.add-item');
457
+ await expect(addItem).toBeFocused();
458
+ });
459
+ test('wrap - dynamic item -> add item', async ({ mount, page }) => {
460
+ await mount(`
461
+ <ix-select editable></ix-select>
462
+ `);
463
+ await page.locator('ix-select input').focus();
464
+ await page.keyboard.type('Item 1');
465
+ await page.keyboard.press('Enter');
466
+ await page.waitForSelector('.checkmark');
467
+ await page.locator('input').clear();
468
+ await page.keyboard.type('I');
469
+ await page.waitForSelector('.add-item');
470
+ await page.keyboard.down('ArrowDown');
471
+ await page.waitForTimeout(100);
472
+ await page.keyboard.down('ArrowUp');
473
+ await page.waitForTimeout(100);
474
+ const addItem = page.locator('.add-item');
475
+ await expect(addItem).toBeFocused();
476
+ });
477
+ });
478
+ });
137
479
  //# sourceMappingURL=select.ct.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"select.ct.js","sourceRoot":"","sources":["../../../../../src/components/select/test/select.ct.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAEnC,IAAI,CAAC,SAAS,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE;IACxC,MAAM,KAAK,CAAC;;;;;KAKT,CAAC,CAAC;IACL,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;IAC1C,MAAM,MAAM,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IAE9C,MAAM,IAAI,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC,KAAK,EAAE,CAAC;IAErD,MAAM,QAAQ,GAAG,OAAO,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;IAChD,MAAM,MAAM,CAAC,QAAQ,CAAC,CAAC,WAAW,EAAE,CAAC;IAErC,MAAM,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;IACzE,MAAM,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;AAC3E,CAAC,CAAC,CAAC;AAEH,IAAI,CAAC,eAAe,EAAE,KA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,CAAC,WAAW,EAAE,CAAC;AACxC,CAAC,CAAC,CAAC","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 */\nimport { expect } from '@playwright/test';\nimport { test } from '@utils/test';\n\ntest('renders', async ({ mount, page }) => {\n await mount(`\n <ix-select>\n <ix-select-item value=\"11\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"22\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await expect(element).toHaveClass(/hydrated/);\n\n await page.locator('[data-select-dropdown]').click();\n\n const dropdown = element.locator('ix-dropdown');\n await expect(dropdown).toBeVisible();\n\n await expect(page.getByRole('button', { name: 'Item 1' })).toBeVisible();\n await expect(page.getByRole('button', { name: 'Item 2' })).toBeVisible();\n});\n\ntest('editable mode', async ({ mount, page }) => {\n await mount(`\n <ix-select editable>\n <ix-select-item value=\"11\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"22\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await expect(element).toHaveClass(/hydrated/);\n\n await page.locator('[data-select-dropdown]').click();\n await page.getByTestId('input').fill('Not existing');\n\n const dropdown = element.locator('ix-dropdown');\n await expect(dropdown).toBeVisible();\n\n await expect(page.getByRole('button', { name: 'Item 1' })).not.toBeVisible();\n await expect(page.getByRole('button', { name: 'Item 2' })).not.toBeVisible();\n\n const add = page.getByRole('button', { name: /Not existing/ });\n await expect(add).toBeVisible();\n\n await add.click();\n await expect(page.getByTestId('input')).toHaveValue(/Not existing/);\n await page.locator('[data-select-dropdown]').click();\n\n await expect(page.getByRole('button', { name: 'Item 1' })).toBeVisible();\n await expect(page.getByRole('button', { name: 'Item 2' })).toBeVisible();\n\n const addedItem = page\n .getByRole('listitem')\n .filter({ hasText: 'Not existing' });\n\n await expect(addedItem).toBeVisible();\n});\n\ntest('single selection', async ({ mount, page }) => {\n await mount(`\n <ix-select>\n <ix-select-item value=\"11\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"22\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await element.evaluate(\n (select: HTMLIxSelectElement) => (select.value = '22')\n );\n\n await page.locator('[data-select-dropdown]').click();\n\n const dropdown = element.locator('ix-dropdown');\n await expect(dropdown).toBeVisible();\n\n await expect(page.getByRole('button', { name: 'Item 1' })).toBeVisible();\n await expect(\n page.getByRole('button', { name: 'Item 2' }).locator('ix-icon')\n ).toBeVisible();\n});\n\ntest('multiple selection', async ({ mount, page }) => {\n await mount(`\n <ix-select mode=\"multiple\">\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n <ix-select-item value=\"3\" label=\"Item 3\">Test</ix-select-item>\n <ix-select-item value=\"4\" label=\"Item 4\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await element.evaluate((select: HTMLIxSelectElement) => (select.value = []));\n await page.locator('[data-select-dropdown]').click();\n\n const dropdown = element.locator('ix-dropdown');\n const chips = element.locator('.chips');\n\n await expect(dropdown).toBeVisible();\n\n const item1 = element.locator('ix-select-item').nth(0);\n const item3 = element.locator('ix-select-item').nth(2);\n await item1.click();\n await item3.click();\n\n await expect(item1.locator('ix-icon')).toBeVisible();\n await expect(item3.locator('ix-icon')).toBeVisible();\n\n const chip1 = chips.getByTitle('Item 1');\n const chip3 = chips.getByTitle('Item 3');\n\n await expect(chip1).toBeVisible();\n await expect(chip3).toBeVisible();\n});\n\ntest('filter', async ({ mount, page }) => {\n await mount(`\n <ix-select mode=\"multiple\">\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n <ix-select-item value=\"abc\" label=\"abc\">Test</ix-select-item>\n <ix-select-item value=\"4\" label=\"Item 4\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await element.evaluate((select: HTMLIxSelectElement) => (select.value = []));\n\n await page.locator('[data-select-dropdown]').click();\n const dropdown = element.locator('ix-dropdown');\n await expect(dropdown).toBeVisible();\n\n await element.locator('input').fill('abc');\n\n const item1 = page.getByRole('button', { name: 'Item 1' });\n const item2 = page.getByRole('button', { name: 'Item 2' });\n const item4 = page.getByRole('button', { name: 'Item 4' });\n const item_abc = page.getByRole('button', { name: 'abc' });\n\n await expect(item1).not.toBeVisible();\n await expect(item2).not.toBeVisible();\n await expect(item4).not.toBeVisible();\n await expect(item_abc).toBeVisible();\n});\n\ntest('open filtered dropdown on input', async ({ mount, page }) => {\n await mount(`\n <ix-select>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await element.evaluate((select: HTMLIxSelectElement) => (select.value = []));\n\n await page.locator('[data-testid=\"input\"]').focus();\n page.keyboard.down('Escape');\n const dropdown = element.locator('ix-dropdown');\n await expect(dropdown).not.toBeVisible();\n\n page.keyboard.down('1');\n\n const item1 = page.getByRole('button', { name: 'Item 1' });\n const item2 = page.getByRole('button', { name: 'Item 2' });\n\n await expect(item1).toBeVisible();\n await expect(item2).not.toBeVisible();\n});\n"]}
1
+ {"version":3,"file":"select.ct.js","sourceRoot":"","sources":["../../../../src/components/select/test/select.ct.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAEnC,IAAI,CAAC,SAAS,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE;IACxC,MAAM,KAAK,CAAC;;;;;KAKT,CAAC,CAAC;IACL,MAAM,OAAO,GA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EH,IAAI,CAAC,iCAAiC,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE;YAChE,MAAM,KAAK,CAAC;;MAEZ,CAAC,CAAC;YAEF,MAAM,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,KAAK,EAAE,CAAC;YAC9C,MAAM,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YACnC,MAAM,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;YACnC,MAAM,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC;YAEzC,MAAM,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,CAAC;YACpC,MAAM,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YAC9B,MAAM,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC;YAExC,MAAM,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;YACtC,MAAM,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;YAC/B,MAAM,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;YACpC,MAAM,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;YAE/B,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;YAC1C,MAAM,MAAM,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE,CAAC;QACtC,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","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 */\nimport { expect } from '@playwright/test';\nimport { test } from '@utils/test';\n\ntest('renders', async ({ mount, page }) => {\n await mount(`\n <ix-select>\n <ix-select-item value=\"11\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"22\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await expect(element).toHaveClass(/hydrated/);\n\n await page.locator('[data-select-dropdown]').click();\n\n const dropdown = element.locator('ix-dropdown');\n await expect(dropdown).toBeVisible();\n\n await expect(page.getByRole('button', { name: 'Item 1' })).toBeVisible();\n await expect(page.getByRole('button', { name: 'Item 2' })).toBeVisible();\n});\n\ntest('editable mode', async ({ mount, page }) => {\n await mount(`\n <ix-select editable>\n <ix-select-item value=\"11\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"22\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await expect(element).toHaveClass(/hydrated/);\n\n await page.locator('[data-select-dropdown]').click();\n await page.getByTestId('input').fill('Not existing');\n\n const dropdown = element.locator('ix-dropdown');\n await expect(dropdown).toBeVisible();\n\n await expect(page.getByRole('button', { name: 'Item 1' })).not.toBeVisible();\n await expect(page.getByRole('button', { name: 'Item 2' })).not.toBeVisible();\n\n const add = page.getByRole('button', { name: /Not existing/ });\n await expect(add).toBeVisible();\n\n await add.click();\n await expect(page.getByTestId('input')).toHaveValue(/Not existing/);\n await page.locator('[data-select-dropdown]').click();\n\n await expect(page.getByRole('button', { name: 'Item 1' })).toBeVisible();\n await expect(page.getByRole('button', { name: 'Item 2' })).toBeVisible();\n\n const addedItem = page\n .getByRole('listitem')\n .filter({ hasText: 'Not existing' });\n\n await expect(addedItem).toBeVisible();\n});\n\ntest('single selection', async ({ mount, page }) => {\n await mount(`\n <ix-select>\n <ix-select-item value=\"11\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"22\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await element.evaluate(\n (select: HTMLIxSelectElement) => (select.value = '22')\n );\n\n await page.locator('[data-select-dropdown]').click();\n\n const dropdown = element.locator('ix-dropdown');\n await expect(dropdown).toBeVisible();\n\n await expect(page.getByRole('button', { name: 'Item 1' })).toBeVisible();\n await expect(\n page.getByRole('button', { name: 'Item 2' }).locator('ix-icon')\n ).toBeVisible();\n});\n\ntest('multiple selection', async ({ mount, page }) => {\n await mount(`\n <ix-select mode=\"multiple\">\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n <ix-select-item value=\"3\" label=\"Item 3\">Test</ix-select-item>\n <ix-select-item value=\"4\" label=\"Item 4\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await element.evaluate((select: HTMLIxSelectElement) => (select.value = []));\n await page.locator('[data-select-dropdown]').click();\n\n const dropdown = element.locator('ix-dropdown');\n const chips = element.locator('.chips');\n\n await expect(dropdown).toBeVisible();\n\n const item1 = element.locator('ix-select-item').nth(0);\n const item3 = element.locator('ix-select-item').nth(2);\n await item1.click();\n await item3.click();\n\n await expect(item1.locator('ix-icon')).toBeVisible();\n await expect(item3.locator('ix-icon')).toBeVisible();\n\n const chip1 = chips.getByTitle('Item 1');\n const chip3 = chips.getByTitle('Item 3');\n\n await expect(chip1).toBeVisible();\n await expect(chip3).toBeVisible();\n});\n\ntest('filter', async ({ mount, page }) => {\n await mount(`\n <ix-select mode=\"multiple\">\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n <ix-select-item value=\"abc\" label=\"abc\">Test</ix-select-item>\n <ix-select-item value=\"4\" label=\"Item 4\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await element.evaluate((select: HTMLIxSelectElement) => (select.value = []));\n\n await page.locator('[data-select-dropdown]').click();\n const dropdown = element.locator('ix-dropdown');\n await expect(dropdown).toBeVisible();\n\n await element.locator('input').fill('abc');\n\n const item1 = page.getByRole('button', { name: 'Item 1' });\n const item2 = page.getByRole('button', { name: 'Item 2' });\n const item4 = page.getByRole('button', { name: 'Item 4' });\n const item_abc = page.getByRole('button', { name: 'abc' });\n\n await expect(item1).not.toBeVisible();\n await expect(item2).not.toBeVisible();\n await expect(item4).not.toBeVisible();\n await expect(item_abc).toBeVisible();\n});\n\ntest('open filtered dropdown on input', async ({ mount, page }) => {\n await mount(`\n <ix-select>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await element.evaluate((select: HTMLIxSelectElement) => (select.value = []));\n\n await page.locator('[data-testid=\"input\"]').focus();\n page.keyboard.down('Escape');\n const dropdown = element.locator('ix-dropdown');\n await expect(dropdown).not.toBeVisible();\n\n page.keyboard.down('1');\n\n const item1 = page.getByRole('button', { name: 'Item 1' });\n const item2 = page.getByRole('button', { name: 'Item 2' });\n\n await expect(item1).toBeVisible();\n await expect(item2).not.toBeVisible();\n});\n\ntest('remove text from input and reselect the element', async ({\n mount,\n page,\n}) => {\n await mount(`\n <ix-select value=\"2\">\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n <ix-select-item value=\"3\" label=\"Item 3\">Test</ix-select-item>\n </ix-select>\n `);\n\n await page.locator('[data-select-dropdown]').click();\n const element = page.locator('ix-select');\n await element.evaluate((select: HTMLIxSelectElement) => (select.value = []));\n const dropdown = element.locator('ix-dropdown');\n await expect(dropdown).toBeVisible();\n\n const item2 = page.getByRole('button', { name: 'Item 2' });\n await item2.click();\n\n const inputValue = await element.locator('input').inputValue();\n expect(inputValue).toEqual('Item 2');\n});\n\ntest('type in a novel item name in editable mode and then remove it', async ({\n mount,\n page,\n}) => {\n await mount(`\n <ix-select value=\"2\" editable>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n\n const element = page.locator('ix-select');\n await expect(element).toHaveClass(/hydrated/);\n\n await page.locator('[data-select-dropdown]').click();\n await page.getByTestId('input').fill('test');\n\n await expect(page.getByRole('button', { name: 'Item 1' })).not.toBeVisible();\n await expect(page.getByRole('button', { name: 'Item 2' })).not.toBeVisible();\n\n const add = page.getByRole('button', { name: 'test' });\n await expect(add).toBeVisible();\n\n await page.getByTestId('input').fill('');\n\n await expect(page.getByRole('button', { name: 'Item 1' })).toBeVisible();\n await expect(page.getByRole('button', { name: 'Item 2' })).toBeVisible();\n await expect(add).not.toBeVisible();\n});\n\ntest('type in a novel item name in editable mode, click outside and reopen the select', async ({\n mount,\n page,\n}) => {\n await mount(`\n <ix-select value=\"2\" editable>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n <ix-select-item value=\"3\" label=\"Item 3\">Test</ix-select-item>\n </ix-select>\n <ix-button>outside</ix-button>\n `);\n\n const selectElement = page.locator('ix-select');\n const btnElement = page.locator('ix-button');\n await expect(selectElement).toHaveClass(/hydrated/);\n await expect(btnElement).toBeVisible();\n\n await page.locator('[data-select-dropdown]').click();\n await page.getByTestId('input').fill('test');\n\n const add = page.getByRole('button', { name: 'test' });\n await expect(add).toBeVisible();\n\n await btnElement.click();\n const inputValue = await page.getByTestId('input').inputValue();\n\n expect(inputValue).toBe('Item 2');\n\n await page.locator('[data-select-dropdown]').click();\n\n await expect(page.getByRole('button', { name: 'Item 1' })).toBeVisible();\n await expect(page.getByRole('button', { name: 'Item 2' })).toBeVisible();\n await expect(page.getByRole('button', { name: 'Item 3' })).toBeVisible();\n});\n\ntest.describe('arrow key navigation', () => {\n test.describe('ArrowDown', () => {\n test('input -> slotted item', async ({ mount, page }) => {\n await mount(`\n <ix-select>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n\n await page.locator('ix-select input').click();\n await page.keyboard.down('ArrowDown');\n const itemOne = await page.locator('ix-select-item').first();\n await expect(itemOne).toBeFocused();\n });\n\n test('input -> dynamic item', async ({ mount, page }) => {\n await mount(`\n <ix-select editable></ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('I');\n await page.waitForSelector('.add-item');\n\n await page.keyboard.down('ArrowDown');\n const itemOne = await page.locator('.add-item');\n await expect(itemOne).toBeFocused();\n });\n\n test('input -> add item', async ({ mount, page }) => {\n await mount(`\n <ix-select editable></ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('I');\n await page.keyboard.down('Enter');\n await page.waitForSelector('.checkmark');\n\n await page.keyboard.down('ArrowDown');\n const addItem = await page.locator('ix-dropdown-item');\n await expect(addItem).toBeFocused();\n });\n\n test('slot -> dynamic item', async ({ mount, page }) => {\n await mount(`\n <ix-select editable>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('I');\n await page.keyboard.down('Enter');\n await page.waitForSelector('.checkmark');\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const itemThree = page.locator('ix-select-item').last();\n await expect(itemThree).toBeFocused();\n });\n\n test('slot -> add item', async ({ mount, page }) => {\n await mount(`\n <ix-select editable>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('I');\n await page.waitForSelector('.add-item');\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const addItem = page.locator('.add-item');\n await expect(addItem).toBeFocused();\n });\n\n test('dynamic item -> add item', async ({ mount, page }) => {\n await mount(`\n <ix-select editable>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n </ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('Item 2');\n await page.keyboard.down('Enter');\n await page.waitForSelector('.checkmark');\n\n await page.locator('input').clear();\n await page.keyboard.type('I');\n await page.waitForSelector('.add-item');\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const addItem = page.locator('.add-item');\n await expect(addItem).toBeFocused();\n });\n\n test('wrap - dynamic item -> slot', async ({ mount, page }) => {\n await mount(`\n <ix-select editable>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n </ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('Item 2');\n await page.keyboard.press('Enter');\n await page.locator('input').clear();\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const itemTwo = page.locator('ix-select-item').nth(1);\n await expect(itemTwo).toBeFocused();\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const itemOne = page.locator('ix-select-item').first();\n await expect(itemOne).toBeFocused();\n });\n\n test('wrap - add item -> slot', async ({ mount, page }) => {\n await mount(`\n <ix-select editable>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n </ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('I');\n await page.waitForSelector('.add-item');\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const addItem = page.locator('.add-item');\n await expect(addItem).toBeFocused();\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const itemOne = page.locator('ix-select-item').first();\n await expect(itemOne).toBeFocused();\n });\n\n test('wrap - add item -> dynamic item', async ({ mount, page }) => {\n await mount(`\n <ix-select editable></ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('Item 1');\n await page.keyboard.press('Enter');\n await page.waitForSelector('.checkmark');\n\n await page.locator('input').clear();\n await page.keyboard.type('I');\n await page.waitForSelector('.add-item');\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const addItem = page.locator('.add-item');\n await expect(addItem).toBeFocused();\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const itemOne = page.locator('ix-select-item');\n await expect(itemOne).toBeFocused();\n });\n });\n\n test.describe('ArrowUp', () => {\n test('dynamic item -> slot', async ({ mount, page }) => {\n await mount(`\n <ix-select editable>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n </ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('I');\n await page.keyboard.down('Enter');\n await page.waitForSelector('.checkmark');\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const itemTwo = page.locator('ix-select-item').last();\n await expect(itemTwo).toBeFocused();\n\n await page.keyboard.down('ArrowUp');\n await page.waitForTimeout(100);\n\n const itemOne = page.locator('ix-select-item').first();\n await expect(itemOne).toBeFocused();\n });\n\n test('add item -> slot', async ({ mount, page }) => {\n await mount(`\n <ix-select editable>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n </ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('I');\n await page.waitForSelector('.add-item');\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const addItem = page.locator('.add-item');\n await expect(addItem).toBeFocused();\n\n await page.keyboard.down('ArrowUp');\n await page.waitForTimeout(100);\n\n const itemOne = page.locator('ix-select-item');\n await expect(itemOne).toBeFocused();\n });\n\n test('add item -> dynamic item', async ({ mount, page }) => {\n await mount(`\n <ix-select editable></ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('Item 1');\n await page.keyboard.press('Enter');\n await page.waitForSelector('.checkmark');\n\n await page.locator('input').clear();\n await page.keyboard.type('I');\n await page.waitForSelector('.add-item');\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const addItem = page.locator('.add-item');\n await expect(addItem).toBeFocused();\n\n await page.keyboard.down('ArrowUp');\n await page.waitForTimeout(100);\n\n const itemOne = page.locator('ix-select-item');\n await expect(itemOne).toBeFocused();\n });\n\n test('wrap - slot -> dynamic item', async ({ mount, page }) => {\n await mount(`\n <ix-select editable>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n </ix-select>\n `);\n\n await page.locator('input').focus();\n await page.keyboard.type('Item 2');\n await page.keyboard.press('Enter');\n await page.locator('input').clear();\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowUp');\n await page.waitForTimeout(100);\n\n const itemTwo = page.locator('ix-select-item').last();\n await expect(itemTwo).toBeFocused();\n });\n\n test('wrap - slot -> add-item', async ({ mount, page }) => {\n await mount(`\n <ix-select editable>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n </ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('I');\n await page.waitForSelector('.add-item');\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowUp');\n await page.waitForTimeout(100);\n\n const addItem = page.locator('.add-item');\n await expect(addItem).toBeFocused();\n });\n\n test('wrap - dynamic item -> add item', async ({ mount, page }) => {\n await mount(`\n <ix-select editable></ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('Item 1');\n await page.keyboard.press('Enter');\n await page.waitForSelector('.checkmark');\n\n await page.locator('input').clear();\n await page.keyboard.type('I');\n await page.waitForSelector('.add-item');\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowUp');\n await page.waitForTimeout(100);\n\n const addItem = page.locator('.add-item');\n await expect(addItem).toBeFocused();\n });\n });\n});\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"events.js","sourceRoot":"","sources":["../../../../src/components/select-item/events.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,OAAO,4BAA6B,SAAQ,WAGhD;IACA,YAAY,MAA8C;QACxD,KAAK,CAAC,4BAA4B,EAAE;YAClC,OAAO,EAAE,IAAI;YACb,MAAM;SACP,CAAC,CAAC;IACL,CAAC;CACF","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 */\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"]}
1
+ {"version":3,"file":"events.js","sourceRoot":"","sources":["../../../src/components/select-item/events.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,OAAO,4BAA6B,SAAQ,WAGhD;IACA,YAAY,MAA8C;QACxD,KAAK,CAAC,4BAA4B,EAAE;YAClC,OAAO,EAAE,IAAI;YACb,MAAM;SACP,CAAC,CAAC;IACL,CAAC;CACF","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 */\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"]}
@@ -15,6 +15,10 @@ export class SelectItem {
15
15
  this.selected = false;
16
16
  this.hover = false;
17
17
  }
18
+ /** @internal */
19
+ async getDropdownItemElement() {
20
+ return this.dropdownItem;
21
+ }
18
22
  /**
19
23
  * @internal
20
24
  * @param event
@@ -24,6 +28,9 @@ export class SelectItem {
24
28
  event === null || event === void 0 ? void 0 : event.stopPropagation();
25
29
  this.itemClick.emit(this.value);
26
30
  }
31
+ get dropdownItem() {
32
+ return this.hostElement.querySelector('ix-dropdown-item');
33
+ }
27
34
  componentDidRender() {
28
35
  if (this.value === undefined || this.value === null) {
29
36
  throw Error('ix-select-item must have a `value` property');
@@ -36,7 +43,7 @@ export class SelectItem {
36
43
  }));
37
44
  }
38
45
  render() {
39
- return (h(Host, { key: 'ca61c042dedf75ce6c33406257b9a26072d75865' }, h("ix-dropdown-item", { key: 'ac5bb56f3d7368860379582e4faf1c594dfaeab2', class: {
46
+ return (h(Host, { key: '89b4b9f70f1157e728d82d981566d3528c96c2da' }, h("ix-dropdown-item", { key: '3d480e6d1d0a0969f50bf6925101819c8cae9a67', class: {
40
47
  'select-item-checked': this.selected,
41
48
  }, checked: this.selected, label: this.label ? this.label : this.value, onItemClick: (e) => this.onItemClick(e) })));
42
49
  }
@@ -152,6 +159,30 @@ export class SelectItem {
152
159
  }
153
160
  static get methods() {
154
161
  return {
162
+ "getDropdownItemElement": {
163
+ "complexType": {
164
+ "signature": "() => Promise<HTMLIxDropdownItemElement>",
165
+ "parameters": [],
166
+ "references": {
167
+ "Promise": {
168
+ "location": "global",
169
+ "id": "global::Promise"
170
+ },
171
+ "HTMLIxDropdownItemElement": {
172
+ "location": "global",
173
+ "id": "global::HTMLIxDropdownItemElement"
174
+ }
175
+ },
176
+ "return": "Promise<HTMLIxDropdownItemElement>"
177
+ },
178
+ "docs": {
179
+ "text": "",
180
+ "tags": [{
181
+ "name": "internal",
182
+ "text": undefined
183
+ }]
184
+ }
185
+ },
155
186
  "onItemClick": {
156
187
  "complexType": {
157
188
  "signature": "(event?: CustomEvent<HTMLIxDropdownItemElement>) => Promise<void>",
@@ -1 +1 @@
1
- {"version":3,"file":"select-item.js","sourceRoot":"","sources":["../../../../src/components/select-item/select-item.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACL,SAAS,EACT,OAAO,EACP,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,GACN,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAC;AAOxD,MAAM,OAAO,UAAU;;;;wBAmBF,KAAK;qBAKR,KAAK;;IAOrB;;;OAGG;IAEH,KAAK,CAAC,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;IAClC,CAAC;IAED,kBAAkB;QAChB,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,IAAI,IAAI,CAAC,KAAK,KAAK,IAAI,EAAE,CAAC;YACpD,MAAM,KAAK,CAAC,6CAA6C,CAAC,CAAC;QAC7D,CAAC;IACH,CAAC;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;IACJ,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI;YACH,yEACE,KAAK,EAAE;oBACL,qBAAqB,EAAE,IAAI,CAAC,QAAQ;iBACrC,EACD,OAAO,EAAE,IAAI,CAAC,QAAQ,EACtB,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,EAC3C,WAAW,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,GACrB,CACf,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","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\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"]}
1
+ {"version":3,"file":"select-item.js","sourceRoot":"","sources":["../../../src/components/select-item/select-item.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACL,SAAS,EACT,OAAO,EACP,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,GACN,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAC;AAQxD,MAAM,OAAO,UAAU;;;;wBAmBF,KAAK;qBAKR,KAAK;;IAOrB,gBAAgB;IAEhB,KAAK,CAAC,sBAAsB;QAC1B,OAAO,IAAI,CAAC,YAAY,CAAC;IAC3B,CAAC;IAED;;;OAGG;IAEH,KAAK,CAAC,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;IAClC,CAAC;IAED,IAAI,YAAY;QACd,OAAO,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC;IAC5D,CAAC;IAED,kBAAkB;QAChB,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,IAAI,IAAI,CAAC,KAAK,KAAK,IAAI,EAAE,CAAC;YACpD,MAAM,KAAK,CAAC,6CAA6C,CAAC,CAAC;QAC7D,CAAC;IACH,CAAC;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;IACJ,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI;YACH,yEACE,KAAK,EAAE;oBACL,qBAAqB,EAAE,IAAI,CAAC,QAAQ;iBACrC,EACD,OAAO,EAAE,IAAI,CAAC,QAAQ,EACtB,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,EAC3C,WAAW,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,GACrB,CACf,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","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\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"]}
@@ -1 +1 @@
1
- {"version":3,"file":"select-item.spec.js","sourceRoot":"","sources":["../../../../../src/components/select-item/test/select-item.spec.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;IAC3B,EAAE,CAAC,4CAA4C,EAAE,CAAC,IAAI,EAAE,EAAE;QACxD,WAAW,CAAC;YACV,UAAU,EAAE,CAAC,UAAU,CAAC;YACxB,IAAI,EAAE,mCAAmC;SAC1C,CAAC,CAAC,KAAK,CAAC,CAAC,CAAQ,EAAE,EAAE;YACpB,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,6CAA6C,CAAC,CAAC;YACtE,IAAI,EAAE,CAAC;QACT,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,oDAAoD,EAAE,KAAK,IAAI,EAAE;QAClE,IAAI,QAAQ,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;QAEzB,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;YAC7B,UAAU,EAAE,CAAC,YAAY,EAAE,UAAU,CAAC;YACtC,IAAI,EAAE,6DAA6D;SACpE,CAAC,CAAC;QAEH,IAAI,CAAC,GAAG;aACL,aAAa,CAAC,gBAAgB,CAAC;aAC/B,gBAAgB,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;QAE3C,MAAM,YAAY,GAAG,IAAI,CAAC,GAAG;aAC1B,aAAa,CAAC,gBAAgB,CAAC;aAC/B,UAAU,CAAC,aAAa,CAAC,kBAAkB,CAAgB,CAAC;QAC/D,YAAY,CAAC,UAAU,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC,KAAK,EAAE,CAAC;QAExD,MAAM,CAAC,QAAQ,CAAC,CAAC,gBAAgB,EAAE,CAAC;IACtC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","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\nimport { newSpecPage } from '@stencil/core/testing';\nimport { DropdownItem } from '../../dropdown-item/dropdown-item';\nimport { SelectItem } from '../select-item';\n\ndescribe('select-item', () => {\n it('should throw exception if value is missing', (done) => {\n newSpecPage({\n components: [SelectItem],\n html: '<ix-select-item></ix-select-item>',\n }).catch((e: Error) => {\n expect(e.message).toBe('ix-select-item must have a `value` property');\n done();\n });\n });\n\n it('should pass through click event from dropdown item', async () => {\n let eventSpy = jest.fn();\n\n const page = await newSpecPage({\n components: [DropdownItem, SelectItem],\n html: '<ix-select-item value=\"test\" label=\"Test\"></ix-select-item>',\n });\n\n page.doc\n .querySelector('ix-select-item')\n .addEventListener('itemClick', eventSpy);\n\n const dropdownItem = page.doc\n .querySelector('ix-select-item')\n .shadowRoot.querySelector('ix-dropdown-item') as HTMLElement;\n dropdownItem.shadowRoot.querySelector('button').click();\n\n expect(eventSpy).toHaveBeenCalled();\n });\n});\n"]}
1
+ {"version":3,"file":"select-item.spec.js","sourceRoot":"","sources":["../../../../src/components/select-item/test/select-item.spec.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;IAC3B,EAAE,CAAC,4CAA4C,EAAE,CAAC,IAAI,EAAE,EAAE;QACxD,WAAW,CAAC;YACV,UAAU,EAAE,CAAC,UAAU,CAAC;YACxB,IAAI,EAAE,mCAAmC;SAC1C,CAAC,CAAC,KAAK,CAAC,CAAC,CAAQ,EAAE,EAAE;YACpB,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,6CAA6C,CAAC,CAAC;YACtE,IAAI,EAAE,CAAC;QACT,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,oDAAoD,EAAE,KAAK,IAAI,EAAE;QAClE,IAAI,QAAQ,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;QAEzB,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;YAC7B,UAAU,EAAE,CAAC,YAAY,EAAE,UAAU,CAAC;YACtC,IAAI,EAAE,6DAA6D;SACpE,CAAC,CAAC;QAEH,IAAI,CAAC,GAAG;aACL,aAAa,CAAC,gBAAgB,CAAC;aAC/B,gBAAgB,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;QAE3C,MAAM,YAAY,GAAG,IAAI,CAAC,GAAG;aAC1B,aAAa,CAAC,gBAAgB,CAAC;aAC/B,UAAU,CAAC,aAAa,CAAC,kBAAkB,CAAgB,CAAC;QAC/D,YAAY,CAAC,UAAU,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC,KAAK,EAAE,CAAC;QAExD,MAAM,CAAC,QAAQ,CAAC,CAAC,gBAAgB,EAAE,CAAC;IACtC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","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\nimport { newSpecPage } from '@stencil/core/testing';\nimport { DropdownItem } from '../../dropdown-item/dropdown-item';\nimport { SelectItem } from '../select-item';\n\ndescribe('select-item', () => {\n it('should throw exception if value is missing', (done) => {\n newSpecPage({\n components: [SelectItem],\n html: '<ix-select-item></ix-select-item>',\n }).catch((e: Error) => {\n expect(e.message).toBe('ix-select-item must have a `value` property');\n done();\n });\n });\n\n it('should pass through click event from dropdown item', async () => {\n let eventSpy = jest.fn();\n\n const page = await newSpecPage({\n components: [DropdownItem, SelectItem],\n html: '<ix-select-item value=\"test\" label=\"Test\"></ix-select-item>',\n });\n\n page.doc\n .querySelector('ix-select-item')\n .addEventListener('itemClick', eventSpy);\n\n const dropdownItem = page.doc\n .querySelector('ix-select-item')\n .shadowRoot.querySelector('ix-dropdown-item') as HTMLElement;\n dropdownItem.shadowRoot.querySelector('button').click();\n\n expect(eventSpy).toHaveBeenCalled();\n });\n});\n"]}