@siemens/ix 2.1.2-beta.0 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (599) hide show
  1. package/components/application-header.js +3 -3
  2. package/components/avatar.js +1 -1
  3. package/components/avatar.js.map +1 -1
  4. package/components/burger-menu.js +1 -1
  5. package/components/card-content.js +1 -1
  6. package/components/card-title.js +1 -1
  7. package/components/date-picker.js +4 -4
  8. package/components/date-time-card.js +1 -1
  9. package/components/divider.js +1 -1
  10. package/components/dropdown-item.js +3 -3
  11. package/components/dropdown.js +2 -2
  12. package/components/filter-chip.js +1 -1
  13. package/components/group-context-menu.js +1 -1
  14. package/components/group-item.js +2 -2
  15. package/components/icon-button.js +1 -1
  16. package/components/ix-application-sidebar.js +1 -1
  17. package/components/ix-application-switch-modal.js +1 -1
  18. package/components/ix-application.js +3 -3
  19. package/components/ix-basic-navigation.js +2 -2
  20. package/components/ix-breadcrumb.js +2 -2
  21. package/components/ix-card-list.js +4 -4
  22. package/components/ix-category-filter.js +3 -3
  23. package/components/ix-chip.js +4 -4
  24. package/components/ix-content.js +3 -3
  25. package/components/ix-css-grid-item.js +1 -1
  26. package/components/ix-date-dropdown.js +6 -6
  27. package/components/ix-date-dropdown.js.map +1 -1
  28. package/components/ix-datetime-picker.js +1 -1
  29. package/components/ix-drawer.js +2 -2
  30. package/components/ix-dropdown-button.js +2 -2
  31. package/components/ix-dropdown-header.js +1 -1
  32. package/components/ix-dropdown-quick-actions.js +1 -1
  33. package/components/ix-empty-state.js +1 -1
  34. package/components/ix-event-list-item.js +4 -4
  35. package/components/ix-event-list.js +2 -2
  36. package/components/ix-expanding-search.js +4 -4
  37. package/components/ix-flip-tile-content.js +1 -1
  38. package/components/ix-flip-tile.js +4 -4
  39. package/components/ix-form-field.js +1 -1
  40. package/components/ix-group.js +4 -4
  41. package/components/ix-icon-toggle-button.js +1 -1
  42. package/components/ix-input-group.js +1 -1
  43. package/components/ix-key-value-list.js +1 -1
  44. package/components/ix-key-value.js +1 -1
  45. package/components/ix-kpi.js +3 -3
  46. package/components/ix-link-button.js +3 -3
  47. package/components/ix-map-navigation.js +2 -2
  48. package/components/ix-menu-about-item.js +1 -1
  49. package/components/ix-menu-about-news.js +5 -5
  50. package/components/ix-menu-about-news.js.map +1 -1
  51. package/components/ix-menu-about.js +1 -1
  52. package/components/ix-menu-avatar.js +3 -3
  53. package/components/ix-menu-avatar.js.map +1 -1
  54. package/components/ix-menu-category.js +5 -5
  55. package/components/ix-menu-settings-item.js +1 -1
  56. package/components/ix-menu.js +19 -11
  57. package/components/ix-menu.js.map +1 -1
  58. package/components/ix-message-bar.js +1 -1
  59. package/components/ix-modal-example.js +1 -1
  60. package/components/ix-modal-footer.js +1 -1
  61. package/components/ix-modal-loading.js +1 -1
  62. package/components/ix-modal.js +3 -3
  63. package/components/ix-pagination.js +2 -2
  64. package/components/ix-pane-layout.js +1 -1
  65. package/components/ix-pane.js +6 -6
  66. package/components/ix-pill.js +4 -4
  67. package/components/ix-playground-internal.js +1 -1
  68. package/components/ix-push-card.js +1 -1
  69. package/components/ix-slider.js +6 -6
  70. package/components/ix-split-button-item.js +1 -1
  71. package/components/ix-split-button.js +1 -1
  72. package/components/ix-tile.js +4 -4
  73. package/components/ix-toast-container.js +1 -1
  74. package/components/ix-toggle-button.js +2 -2
  75. package/components/ix-toggle.js +2 -2
  76. package/components/ix-tree.js +1 -1
  77. package/components/ix-upload.js +3 -3
  78. package/components/ix-validation-tooltip.js +2 -2
  79. package/components/ix-workflow-step.js +3 -3
  80. package/components/ix-workflow-steps.js +1 -1
  81. package/components/layout-grid.js +2 -2
  82. package/components/map-navigation-overlay.js +2 -2
  83. package/components/menu-avatar-item.js +1 -1
  84. package/components/menu-item.js +3 -3
  85. package/components/menu-item.js.map +1 -1
  86. package/components/menu-tabs-fc.js +1 -1
  87. package/components/modal-content.js +1 -1
  88. package/components/modal-header.js +1 -1
  89. package/components/row.js +1 -1
  90. package/components/select-item.js +2 -2
  91. package/components/select-item.js.map +1 -1
  92. package/components/select.js +6 -6
  93. package/components/spinner.js +1 -1
  94. package/components/tab-item.js +3 -3
  95. package/components/tabs.js +2 -2
  96. package/components/time-picker.js +3 -3
  97. package/components/toast.js +2 -2
  98. package/components/tooltip.js +2 -2
  99. package/components/tree-item.js +4 -4
  100. package/components/typography.js +2 -2
  101. package/components/typography.js.map +1 -1
  102. package/dist/cjs/ix-application-header.cjs.entry.js +3 -3
  103. package/dist/cjs/ix-application-sidebar.cjs.entry.js +1 -1
  104. package/dist/cjs/ix-application-switch-modal.cjs.entry.js +1 -1
  105. package/dist/cjs/ix-application.cjs.entry.js +3 -3
  106. package/dist/cjs/ix-avatar_2.cjs.entry.js +2 -2
  107. package/dist/cjs/ix-avatar_2.cjs.entry.js.map +1 -1
  108. package/dist/cjs/ix-basic-navigation.cjs.entry.js +2 -2
  109. package/dist/cjs/ix-breadcrumb.cjs.entry.js +2 -2
  110. package/dist/cjs/ix-burger-menu.cjs.entry.js +1 -1
  111. package/dist/cjs/ix-card-accordion_2.cjs.entry.js +1 -1
  112. package/dist/cjs/ix-card-list.cjs.entry.js +4 -4
  113. package/dist/cjs/ix-card_2.cjs.entry.js +1 -1
  114. package/dist/cjs/ix-category-filter.cjs.entry.js +3 -3
  115. package/dist/cjs/ix-chip.cjs.entry.js +4 -4
  116. package/dist/cjs/ix-col_4.cjs.entry.js +7 -7
  117. package/dist/cjs/ix-content.cjs.entry.js +3 -3
  118. package/dist/cjs/ix-css-grid-item.cjs.entry.js +1 -1
  119. package/dist/cjs/ix-date-dropdown.cjs.entry.js +6 -6
  120. package/dist/cjs/ix-date-dropdown.cjs.entry.js.map +1 -1
  121. package/dist/cjs/ix-date-time-card.cjs.entry.js +1 -1
  122. package/dist/cjs/ix-datetime-picker.cjs.entry.js +1 -1
  123. package/dist/cjs/ix-divider.cjs.entry.js +1 -1
  124. package/dist/cjs/ix-drawer.cjs.entry.js +2 -2
  125. package/dist/cjs/ix-dropdown-button.cjs.entry.js +2 -2
  126. package/dist/cjs/ix-dropdown-header.cjs.entry.js +1 -1
  127. package/dist/cjs/ix-dropdown-item.cjs.entry.js +3 -3
  128. package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +1 -1
  129. package/dist/cjs/ix-dropdown.cjs.entry.js +2 -2
  130. package/dist/cjs/ix-empty-state.cjs.entry.js +1 -1
  131. package/dist/cjs/ix-event-list-item.cjs.entry.js +4 -4
  132. package/dist/cjs/ix-event-list.cjs.entry.js +2 -2
  133. package/dist/cjs/ix-expanding-search.cjs.entry.js +4 -4
  134. package/dist/cjs/ix-filter-chip_2.cjs.entry.js +3 -3
  135. package/dist/cjs/ix-filter-chip_2.cjs.entry.js.map +1 -1
  136. package/dist/cjs/ix-flip-tile-content.cjs.entry.js +1 -1
  137. package/dist/cjs/ix-flip-tile.cjs.entry.js +4 -4
  138. package/dist/cjs/ix-form-field.cjs.entry.js +1 -1
  139. package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +3 -3
  140. package/dist/cjs/ix-group.cjs.entry.js +4 -4
  141. package/dist/cjs/ix-icon-button_2.cjs.entry.js +2 -2
  142. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +1 -1
  143. package/dist/cjs/ix-input-group.cjs.entry.js +1 -1
  144. package/dist/cjs/ix-key-value-list.cjs.entry.js +1 -1
  145. package/dist/cjs/ix-key-value.cjs.entry.js +1 -1
  146. package/dist/cjs/ix-kpi.cjs.entry.js +3 -3
  147. package/dist/cjs/ix-link-button.cjs.entry.js +3 -3
  148. package/dist/cjs/ix-map-navigation-overlay.cjs.entry.js +2 -2
  149. package/dist/cjs/ix-map-navigation.cjs.entry.js +2 -2
  150. package/dist/cjs/ix-menu-about-item.cjs.entry.js +1 -1
  151. package/dist/cjs/ix-menu-about-news.cjs.entry.js +5 -5
  152. package/dist/cjs/ix-menu-about-news.cjs.entry.js.map +1 -1
  153. package/dist/cjs/ix-menu-about.cjs.entry.js +2 -2
  154. package/dist/cjs/ix-menu-avatar.cjs.entry.js +3 -3
  155. package/dist/cjs/ix-menu-avatar.cjs.entry.js.map +1 -1
  156. package/dist/cjs/ix-menu-category.cjs.entry.js +5 -5
  157. package/dist/cjs/ix-menu-item.cjs.entry.js +3 -3
  158. package/dist/cjs/ix-menu-item.cjs.entry.js.map +1 -1
  159. package/dist/cjs/ix-menu-settings-item.cjs.entry.js +1 -1
  160. package/dist/cjs/ix-menu-settings.cjs.entry.js +1 -1
  161. package/dist/cjs/ix-menu.cjs.entry.js +19 -11
  162. package/dist/cjs/ix-menu.cjs.entry.js.map +1 -1
  163. package/dist/cjs/ix-message-bar.cjs.entry.js +1 -1
  164. package/dist/cjs/ix-modal-content_2.cjs.entry.js +2 -2
  165. package/dist/cjs/ix-modal-example.cjs.entry.js +1 -1
  166. package/dist/cjs/ix-modal-footer.cjs.entry.js +1 -1
  167. package/dist/cjs/ix-modal-loading.cjs.entry.js +1 -1
  168. package/dist/cjs/ix-modal.cjs.entry.js +3 -3
  169. package/dist/cjs/ix-pagination.cjs.entry.js +2 -2
  170. package/dist/cjs/ix-pane-layout.cjs.entry.js +1 -1
  171. package/dist/cjs/ix-pane.cjs.entry.js +6 -6
  172. package/dist/cjs/ix-pill.cjs.entry.js +4 -4
  173. package/dist/cjs/ix-playground-internal.cjs.entry.js +1 -1
  174. package/dist/cjs/ix-push-card.cjs.entry.js +1 -1
  175. package/dist/cjs/ix-select.cjs.entry.js +6 -6
  176. package/dist/cjs/ix-slider.cjs.entry.js +6 -6
  177. package/dist/cjs/ix-split-button-item.cjs.entry.js +1 -1
  178. package/dist/cjs/ix-split-button.cjs.entry.js +1 -1
  179. package/dist/cjs/ix-tab-item_2.cjs.entry.js +5 -5
  180. package/dist/cjs/ix-tile.cjs.entry.js +4 -4
  181. package/dist/cjs/ix-time-picker.cjs.entry.js +3 -3
  182. package/dist/cjs/ix-toast-container.cjs.entry.js +1 -1
  183. package/dist/cjs/ix-toast.cjs.entry.js +2 -2
  184. package/dist/cjs/ix-toggle-button.cjs.entry.js +2 -2
  185. package/dist/cjs/ix-toggle.cjs.entry.js +2 -2
  186. package/dist/cjs/ix-tooltip.cjs.entry.js +2 -2
  187. package/dist/cjs/ix-tree-item.cjs.entry.js +4 -4
  188. package/dist/cjs/ix-tree.cjs.entry.js +1 -1
  189. package/dist/cjs/ix-typography.cjs.entry.js +2 -2
  190. package/dist/cjs/ix-typography.cjs.entry.js.map +1 -1
  191. package/dist/cjs/ix-upload.cjs.entry.js +3 -3
  192. package/dist/cjs/ix-validation-tooltip.cjs.entry.js +2 -2
  193. package/dist/cjs/ix-workflow-step.cjs.entry.js +3 -3
  194. package/dist/cjs/ix-workflow-steps.cjs.entry.js +1 -1
  195. package/dist/cjs/{menu-tabs-fc-b6a9af97.js → menu-tabs-fc-30a1b06b.js} +2 -2
  196. package/dist/cjs/{menu-tabs-fc-b6a9af97.js.map → menu-tabs-fc-30a1b06b.js.map} +1 -1
  197. package/dist/collection/components/application/application.js +3 -3
  198. package/dist/collection/components/application-header/application-header.js +3 -3
  199. package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.js +1 -1
  200. package/dist/collection/components/application-sidebar/application-sidebar.js +1 -1
  201. package/dist/collection/components/avatar/avatar.css +3 -3
  202. package/dist/collection/components/basic-navigation/basic-navigation.js +2 -2
  203. package/dist/collection/components/breadcrumb/breadcrumb.js +2 -2
  204. package/dist/collection/components/card-content/card-content.js +1 -1
  205. package/dist/collection/components/card-list/card-list.js +4 -4
  206. package/dist/collection/components/card-title/card-title.js +1 -1
  207. package/dist/collection/components/category-filter/category-filter.js +3 -3
  208. package/dist/collection/components/chip/chip.js +4 -4
  209. package/dist/collection/components/content/content.js +3 -3
  210. package/dist/collection/components/css-grid/css-grid-item.js +1 -1
  211. package/dist/collection/components/date-dropdown/date-dropdown.css +3 -0
  212. package/dist/collection/components/date-dropdown/date-dropdown.js +5 -5
  213. package/dist/collection/components/date-dropdown/date-dropdown.js.map +1 -1
  214. package/dist/collection/components/date-picker/date-picker.js +4 -4
  215. package/dist/collection/components/date-time-card/date-time-card.js +1 -1
  216. package/dist/collection/components/datetime-picker/datetime-picker.js +1 -1
  217. package/dist/collection/components/divider/divider.js +1 -1
  218. package/dist/collection/components/drawer/drawer.js +2 -2
  219. package/dist/collection/components/dropdown/dropdown.js +2 -2
  220. package/dist/collection/components/dropdown-button/dropdown-button.js +2 -2
  221. package/dist/collection/components/dropdown-header/dropdown-header.js +1 -1
  222. package/dist/collection/components/dropdown-item/dropdown-item.js +3 -3
  223. package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js +1 -1
  224. package/dist/collection/components/empty-state/empty-state.js +1 -1
  225. package/dist/collection/components/event-list/event-list.js +2 -2
  226. package/dist/collection/components/event-list-item/event-list-item.js +4 -4
  227. package/dist/collection/components/expanding-search/expanding-search.js +4 -4
  228. package/dist/collection/components/filter-chip/filter-chip.js +1 -1
  229. package/dist/collection/components/flip-tile/flip-tile.js +4 -4
  230. package/dist/collection/components/flip-tile-content/flip-tile-content.js +1 -1
  231. package/dist/collection/components/form-field/form-field.js +1 -1
  232. package/dist/collection/components/grid/layout-grid.js +2 -2
  233. package/dist/collection/components/group/group-context-menu.js +1 -1
  234. package/dist/collection/components/group/group.js +4 -4
  235. package/dist/collection/components/group-item/group-item.js +2 -2
  236. package/dist/collection/components/icon-button/icon-button.js +1 -1
  237. package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +1 -1
  238. package/dist/collection/components/input-group/input-group.js +1 -1
  239. package/dist/collection/components/key-value/key-value.js +1 -1
  240. package/dist/collection/components/key-value-list/key-value-list.js +1 -1
  241. package/dist/collection/components/kpi/kpi.js +3 -3
  242. package/dist/collection/components/link-button/link-button.js +3 -3
  243. package/dist/collection/components/map-navigation/map-navigation.js +2 -2
  244. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +2 -2
  245. package/dist/collection/components/menu/burger-menu.js +1 -1
  246. package/dist/collection/components/menu/menu.css +16 -9
  247. package/dist/collection/components/menu/menu.js +18 -10
  248. package/dist/collection/components/menu/menu.js.map +1 -1
  249. package/dist/collection/components/menu-about/menu-about.js +1 -1
  250. package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
  251. package/dist/collection/components/menu-about-news/menu-about-news.css +2 -5
  252. package/dist/collection/components/menu-about-news/menu-about-news.js +4 -4
  253. package/dist/collection/components/menu-about-news/menu-about-news.js.map +1 -1
  254. package/dist/collection/components/menu-avatar/menu-avatar.css +1 -24
  255. package/dist/collection/components/menu-avatar/menu-avatar.js +2 -2
  256. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
  257. package/dist/collection/components/menu-category/menu-category.js +5 -5
  258. package/dist/collection/components/menu-item/menu-item.css +1 -2
  259. package/dist/collection/components/menu-item/menu-item.js +2 -2
  260. package/dist/collection/components/menu-settings/menu-settings.js +1 -1
  261. package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
  262. package/dist/collection/components/message-bar/message-bar.js +1 -1
  263. package/dist/collection/components/modal/modal.js +3 -3
  264. package/dist/collection/components/modal-content/modal-content.js +1 -1
  265. package/dist/collection/components/modal-footer/modal-footer.js +1 -1
  266. package/dist/collection/components/modal-header/modal-header.js +1 -1
  267. package/dist/collection/components/modal-loading/modal-loading.js +1 -1
  268. package/dist/collection/components/pagination/pagination.js +2 -2
  269. package/dist/collection/components/pane/pane.js +6 -6
  270. package/dist/collection/components/pane-layout/pane-layout.js +1 -1
  271. package/dist/collection/components/pill/pill.js +4 -4
  272. package/dist/collection/components/playground/example-modal.js +1 -1
  273. package/dist/collection/components/playground/playground.js +1 -1
  274. package/dist/collection/components/push-card/push-card.js +1 -1
  275. package/dist/collection/components/row/row.js +1 -1
  276. package/dist/collection/components/select/select.js +6 -6
  277. package/dist/collection/components/select-item/select-item.css +3 -0
  278. package/dist/collection/components/select-item/select-item.js +1 -1
  279. package/dist/collection/components/slider/slider.js +6 -6
  280. package/dist/collection/components/spinner/spinner.js +1 -1
  281. package/dist/collection/components/split-button/split-button.js +1 -1
  282. package/dist/collection/components/split-button-item/split-button-item.js +1 -1
  283. package/dist/collection/components/tab-item/tab-item.js +3 -3
  284. package/dist/collection/components/tabs/tabs.js +2 -2
  285. package/dist/collection/components/tile/tile.js +4 -4
  286. package/dist/collection/components/time-picker/time-picker.js +3 -3
  287. package/dist/collection/components/toast/toast-container.js +1 -1
  288. package/dist/collection/components/toast/toast.js +2 -2
  289. package/dist/collection/components/toggle/toggle.js +2 -2
  290. package/dist/collection/components/toggle-button/toggle-button.js +2 -2
  291. package/dist/collection/components/tooltip/tooltip.js +2 -2
  292. package/dist/collection/components/tree/tree.js +1 -1
  293. package/dist/collection/components/tree-item/tree-item.js +4 -4
  294. package/dist/collection/components/typography/typography.js +2 -2
  295. package/dist/collection/components/typography/typography.js.map +1 -1
  296. package/dist/collection/components/upload/upload.js +3 -3
  297. package/dist/collection/components/validation-tooltip/validation-tooltip.js +2 -2
  298. package/dist/collection/components/workflow-step/workflow-step.js +3 -3
  299. package/dist/collection/components/workflow-steps/workflow-steps.js +1 -1
  300. package/dist/collection/tests/date-dropdown/date-dropdown.e2e.js +22 -0
  301. package/dist/collection/tests/date-dropdown/date-dropdown.e2e.js.map +1 -1
  302. package/dist/collection/tests/menu/menu.e2e.js +52 -0
  303. package/dist/collection/tests/menu/menu.e2e.js.map +1 -1
  304. package/dist/collection/tests/typography/typography.e2e.js +29 -0
  305. package/dist/collection/tests/typography/typography.e2e.js.map +1 -0
  306. package/dist/esm/ix-application-header.entry.js +3 -3
  307. package/dist/esm/ix-application-sidebar.entry.js +1 -1
  308. package/dist/esm/ix-application-switch-modal.entry.js +1 -1
  309. package/dist/esm/ix-application.entry.js +3 -3
  310. package/dist/esm/ix-avatar_2.entry.js +2 -2
  311. package/dist/esm/ix-avatar_2.entry.js.map +1 -1
  312. package/dist/esm/ix-basic-navigation.entry.js +2 -2
  313. package/dist/esm/ix-breadcrumb.entry.js +2 -2
  314. package/dist/esm/ix-burger-menu.entry.js +1 -1
  315. package/dist/esm/ix-card-accordion_2.entry.js +1 -1
  316. package/dist/esm/ix-card-list.entry.js +4 -4
  317. package/dist/esm/ix-card_2.entry.js +1 -1
  318. package/dist/esm/ix-category-filter.entry.js +3 -3
  319. package/dist/esm/ix-chip.entry.js +4 -4
  320. package/dist/esm/ix-col_4.entry.js +7 -7
  321. package/dist/esm/ix-content.entry.js +3 -3
  322. package/dist/esm/ix-css-grid-item.entry.js +1 -1
  323. package/dist/esm/ix-date-dropdown.entry.js +6 -6
  324. package/dist/esm/ix-date-dropdown.entry.js.map +1 -1
  325. package/dist/esm/ix-date-time-card.entry.js +1 -1
  326. package/dist/esm/ix-datetime-picker.entry.js +1 -1
  327. package/dist/esm/ix-divider.entry.js +1 -1
  328. package/dist/esm/ix-drawer.entry.js +2 -2
  329. package/dist/esm/ix-dropdown-button.entry.js +2 -2
  330. package/dist/esm/ix-dropdown-header.entry.js +1 -1
  331. package/dist/esm/ix-dropdown-item.entry.js +3 -3
  332. package/dist/esm/ix-dropdown-quick-actions.entry.js +1 -1
  333. package/dist/esm/ix-dropdown.entry.js +2 -2
  334. package/dist/esm/ix-empty-state.entry.js +1 -1
  335. package/dist/esm/ix-event-list-item.entry.js +4 -4
  336. package/dist/esm/ix-event-list.entry.js +2 -2
  337. package/dist/esm/ix-expanding-search.entry.js +4 -4
  338. package/dist/esm/ix-filter-chip_2.entry.js +3 -3
  339. package/dist/esm/ix-filter-chip_2.entry.js.map +1 -1
  340. package/dist/esm/ix-flip-tile-content.entry.js +1 -1
  341. package/dist/esm/ix-flip-tile.entry.js +4 -4
  342. package/dist/esm/ix-form-field.entry.js +1 -1
  343. package/dist/esm/ix-group-context-menu_2.entry.js +3 -3
  344. package/dist/esm/ix-group.entry.js +4 -4
  345. package/dist/esm/ix-icon-button_2.entry.js +2 -2
  346. package/dist/esm/ix-icon-toggle-button.entry.js +1 -1
  347. package/dist/esm/ix-input-group.entry.js +1 -1
  348. package/dist/esm/ix-key-value-list.entry.js +1 -1
  349. package/dist/esm/ix-key-value.entry.js +1 -1
  350. package/dist/esm/ix-kpi.entry.js +3 -3
  351. package/dist/esm/ix-link-button.entry.js +3 -3
  352. package/dist/esm/ix-map-navigation-overlay.entry.js +2 -2
  353. package/dist/esm/ix-map-navigation.entry.js +2 -2
  354. package/dist/esm/ix-menu-about-item.entry.js +1 -1
  355. package/dist/esm/ix-menu-about-news.entry.js +5 -5
  356. package/dist/esm/ix-menu-about-news.entry.js.map +1 -1
  357. package/dist/esm/ix-menu-about.entry.js +2 -2
  358. package/dist/esm/ix-menu-avatar.entry.js +3 -3
  359. package/dist/esm/ix-menu-avatar.entry.js.map +1 -1
  360. package/dist/esm/ix-menu-category.entry.js +5 -5
  361. package/dist/esm/ix-menu-item.entry.js +3 -3
  362. package/dist/esm/ix-menu-item.entry.js.map +1 -1
  363. package/dist/esm/ix-menu-settings-item.entry.js +1 -1
  364. package/dist/esm/ix-menu-settings.entry.js +1 -1
  365. package/dist/esm/ix-menu.entry.js +19 -11
  366. package/dist/esm/ix-menu.entry.js.map +1 -1
  367. package/dist/esm/ix-message-bar.entry.js +1 -1
  368. package/dist/esm/ix-modal-content_2.entry.js +2 -2
  369. package/dist/esm/ix-modal-example.entry.js +1 -1
  370. package/dist/esm/ix-modal-footer.entry.js +1 -1
  371. package/dist/esm/ix-modal-loading.entry.js +1 -1
  372. package/dist/esm/ix-modal.entry.js +3 -3
  373. package/dist/esm/ix-pagination.entry.js +2 -2
  374. package/dist/esm/ix-pane-layout.entry.js +1 -1
  375. package/dist/esm/ix-pane.entry.js +6 -6
  376. package/dist/esm/ix-pill.entry.js +4 -4
  377. package/dist/esm/ix-playground-internal.entry.js +1 -1
  378. package/dist/esm/ix-push-card.entry.js +1 -1
  379. package/dist/esm/ix-select.entry.js +6 -6
  380. package/dist/esm/ix-slider.entry.js +6 -6
  381. package/dist/esm/ix-split-button-item.entry.js +1 -1
  382. package/dist/esm/ix-split-button.entry.js +1 -1
  383. package/dist/esm/ix-tab-item_2.entry.js +5 -5
  384. package/dist/esm/ix-tile.entry.js +4 -4
  385. package/dist/esm/ix-time-picker.entry.js +3 -3
  386. package/dist/esm/ix-toast-container.entry.js +1 -1
  387. package/dist/esm/ix-toast.entry.js +2 -2
  388. package/dist/esm/ix-toggle-button.entry.js +2 -2
  389. package/dist/esm/ix-toggle.entry.js +2 -2
  390. package/dist/esm/ix-tooltip.entry.js +2 -2
  391. package/dist/esm/ix-tree-item.entry.js +4 -4
  392. package/dist/esm/ix-tree.entry.js +1 -1
  393. package/dist/esm/ix-typography.entry.js +2 -2
  394. package/dist/esm/ix-typography.entry.js.map +1 -1
  395. package/dist/esm/ix-upload.entry.js +3 -3
  396. package/dist/esm/ix-validation-tooltip.entry.js +2 -2
  397. package/dist/esm/ix-workflow-step.entry.js +3 -3
  398. package/dist/esm/ix-workflow-steps.entry.js +1 -1
  399. package/dist/esm/{menu-tabs-fc-7b7acc8b.js → menu-tabs-fc-67d86171.js} +2 -2
  400. package/dist/esm/{menu-tabs-fc-7b7acc8b.js.map → menu-tabs-fc-67d86171.js.map} +1 -1
  401. package/dist/siemens-ix/p-0052cdd7.entry.js +2 -0
  402. package/dist/siemens-ix/{p-050f482a.entry.js.map → p-0052cdd7.entry.js.map} +1 -1
  403. package/dist/siemens-ix/{p-5ca2ef74.entry.js → p-010d7fb9.entry.js} +2 -2
  404. package/dist/siemens-ix/{p-fcbe42c4.entry.js → p-035a5a5d.entry.js} +2 -2
  405. package/dist/siemens-ix/{p-8be3bc6d.entry.js → p-073a5bf5.entry.js} +2 -2
  406. package/dist/siemens-ix/{p-d277e7e2.entry.js → p-09611138.entry.js} +2 -2
  407. package/dist/siemens-ix/{p-535ee46b.entry.js → p-11483cf6.entry.js} +2 -2
  408. package/dist/siemens-ix/{p-f8169051.entry.js → p-1215edb5.entry.js} +2 -2
  409. package/dist/siemens-ix/{p-f1e94d25.entry.js → p-127ca9ce.entry.js} +2 -2
  410. package/dist/siemens-ix/{p-f0e7e035.js → p-1587fdab.js} +2 -2
  411. package/dist/siemens-ix/{p-f2ee640a.entry.js → p-15c0c3d0.entry.js} +2 -2
  412. package/dist/siemens-ix/{p-ca8407f5.entry.js → p-196f25fc.entry.js} +2 -2
  413. package/dist/siemens-ix/{p-4c29feb5.entry.js → p-1e620fab.entry.js} +2 -2
  414. package/dist/siemens-ix/p-1f06e7b5.entry.js +2 -0
  415. package/dist/siemens-ix/p-1f06e7b5.entry.js.map +1 -0
  416. package/dist/siemens-ix/{p-3ead4fed.entry.js → p-233282c1.entry.js} +2 -2
  417. package/dist/siemens-ix/{p-8b51637c.entry.js → p-245eff21.entry.js} +2 -2
  418. package/dist/siemens-ix/{p-c0bf9382.entry.js → p-2630b802.entry.js} +2 -2
  419. package/dist/siemens-ix/{p-27118d3b.entry.js → p-2a469532.entry.js} +2 -2
  420. package/dist/siemens-ix/p-2b0329ee.entry.js +2 -0
  421. package/dist/siemens-ix/{p-6a8d50c3.entry.js → p-2f466e2d.entry.js} +2 -2
  422. package/dist/siemens-ix/p-2f466e2d.entry.js.map +1 -0
  423. package/dist/siemens-ix/{p-75943110.entry.js → p-2ff3da3c.entry.js} +2 -2
  424. package/dist/siemens-ix/{p-50f12507.entry.js → p-327cf179.entry.js} +2 -2
  425. package/dist/siemens-ix/{p-f10824af.entry.js → p-3497cff4.entry.js} +2 -2
  426. package/dist/siemens-ix/p-3cc7e05e.entry.js +2 -0
  427. package/dist/siemens-ix/p-3cc7e05e.entry.js.map +1 -0
  428. package/dist/siemens-ix/{p-26355e12.entry.js → p-3d1a831a.entry.js} +2 -2
  429. package/dist/siemens-ix/p-425fd2c3.entry.js +2 -0
  430. package/dist/siemens-ix/{p-40335e7c.entry.js → p-46fa1780.entry.js} +2 -2
  431. package/dist/siemens-ix/{p-fdccc402.entry.js → p-4a8698ca.entry.js} +2 -2
  432. package/dist/siemens-ix/{p-e1d7c7fa.entry.js → p-56738f8c.entry.js} +2 -2
  433. package/dist/siemens-ix/p-570d20b9.entry.js +2 -0
  434. package/dist/siemens-ix/{p-16d529ee.entry.js → p-597d346d.entry.js} +2 -2
  435. package/dist/siemens-ix/{p-db47293b.entry.js → p-5c2b6399.entry.js} +2 -2
  436. package/dist/siemens-ix/{p-06b783a7.entry.js → p-5c4c579d.entry.js} +2 -2
  437. package/dist/siemens-ix/{p-a643ad05.entry.js → p-5cf8f2b2.entry.js} +2 -2
  438. package/dist/siemens-ix/p-5e3c6d92.entry.js +2 -0
  439. package/dist/siemens-ix/{p-34ccbe57.entry.js → p-690130d1.entry.js} +2 -2
  440. package/dist/siemens-ix/p-6b14ca75.entry.js +2 -0
  441. package/dist/siemens-ix/{p-3214478e.entry.js → p-715fc314.entry.js} +2 -2
  442. package/dist/siemens-ix/{p-0e0e5f67.entry.js → p-73ca81fa.entry.js} +2 -2
  443. package/dist/siemens-ix/{p-353e2dd5.entry.js → p-76a113cd.entry.js} +2 -2
  444. package/dist/siemens-ix/{p-f5af5a9f.entry.js → p-7b915c46.entry.js} +2 -2
  445. package/dist/siemens-ix/p-7e28d26c.entry.js +2 -0
  446. package/dist/siemens-ix/{p-f56686c9.entry.js → p-828ed4cc.entry.js} +2 -2
  447. package/dist/siemens-ix/{p-42f7289e.entry.js → p-8572cee0.entry.js} +2 -2
  448. package/dist/siemens-ix/{p-75050430.entry.js → p-89d4a3c4.entry.js} +2 -2
  449. package/dist/siemens-ix/p-8a8f7bd3.entry.js +2 -0
  450. package/dist/siemens-ix/p-8e751da8.entry.js +2 -0
  451. package/dist/siemens-ix/{p-5d3975c8.entry.js → p-93f8a994.entry.js} +2 -2
  452. package/dist/siemens-ix/{p-b62e2edf.entry.js → p-95e8f88b.entry.js} +2 -2
  453. package/dist/siemens-ix/{p-da9f8709.entry.js → p-9ba43990.entry.js} +2 -2
  454. package/dist/siemens-ix/{p-782b33d3.entry.js → p-a4f58920.entry.js} +2 -2
  455. package/dist/siemens-ix/{p-c98d8ec2.entry.js → p-a9fcccaf.entry.js} +2 -2
  456. package/dist/siemens-ix/p-ad08daa9.entry.js +2 -0
  457. package/dist/siemens-ix/{p-81b570f5.entry.js → p-ae1d5e65.entry.js} +2 -2
  458. package/dist/siemens-ix/p-b38ce971.entry.js +2 -0
  459. package/dist/siemens-ix/p-b38ce971.entry.js.map +1 -0
  460. package/dist/siemens-ix/p-b3ffcdef.entry.js +2 -0
  461. package/dist/siemens-ix/{p-ca53ecd8.entry.js → p-b5842e13.entry.js} +2 -2
  462. package/dist/siemens-ix/{p-4ca6beed.entry.js → p-b58b68cb.entry.js} +2 -2
  463. package/dist/siemens-ix/{p-4bb08459.entry.js → p-bc88ecb1.entry.js} +2 -2
  464. package/dist/siemens-ix/{p-04ba3c79.entry.js → p-bde45bbd.entry.js} +2 -2
  465. package/dist/siemens-ix/{p-31bfd5ff.entry.js → p-c42e4e81.entry.js} +2 -2
  466. package/dist/siemens-ix/{p-f5a108d5.entry.js → p-c46f55ec.entry.js} +2 -2
  467. package/dist/siemens-ix/{p-8c01fea2.entry.js → p-c7686e47.entry.js} +2 -2
  468. package/dist/siemens-ix/{p-d445b333.entry.js → p-c88d73da.entry.js} +2 -2
  469. package/dist/siemens-ix/{p-4dad31fa.entry.js → p-cabc62fd.entry.js} +2 -2
  470. package/dist/siemens-ix/{p-73d5ea4a.entry.js → p-ce60f35c.entry.js} +2 -2
  471. package/dist/siemens-ix/{p-6cd2b4d4.entry.js → p-d6db8257.entry.js} +2 -2
  472. package/dist/siemens-ix/p-d71bdcfb.entry.js +2 -0
  473. package/dist/siemens-ix/{p-ddf93bce.entry.js → p-d779f396.entry.js} +2 -2
  474. package/dist/siemens-ix/{p-ab282d03.entry.js → p-dab7059f.entry.js} +2 -2
  475. package/dist/siemens-ix/p-df2d9a30.entry.js +2 -0
  476. package/dist/siemens-ix/{p-92fc6ba1.entry.js → p-e0c645be.entry.js} +2 -2
  477. package/dist/siemens-ix/{p-0e51828d.entry.js → p-e111ffb2.entry.js} +2 -2
  478. package/dist/siemens-ix/{p-988d23ac.entry.js → p-e1c428d2.entry.js} +2 -2
  479. package/dist/siemens-ix/{p-fc5fd951.entry.js → p-e2ae8b88.entry.js} +2 -2
  480. package/dist/siemens-ix/{p-fc5fd951.entry.js.map → p-e2ae8b88.entry.js.map} +1 -1
  481. package/dist/siemens-ix/{p-14d2576e.entry.js → p-e4890017.entry.js} +2 -2
  482. package/dist/siemens-ix/{p-3bc095f3.entry.js → p-e5e0688c.entry.js} +2 -2
  483. package/dist/siemens-ix/{p-3bc095f3.entry.js.map → p-e5e0688c.entry.js.map} +1 -1
  484. package/dist/siemens-ix/{p-1e5e042b.entry.js → p-e8ac3fac.entry.js} +2 -2
  485. package/dist/siemens-ix/{p-47919d43.entry.js → p-eb02e8bf.entry.js} +2 -2
  486. package/dist/siemens-ix/{p-d464b60e.entry.js → p-ec3bf78f.entry.js} +2 -2
  487. package/dist/siemens-ix/{p-9ceabb5f.entry.js → p-f2acf280.entry.js} +2 -2
  488. package/dist/siemens-ix/p-f499aeb3.entry.js +2 -0
  489. package/dist/siemens-ix/p-f499aeb3.entry.js.map +1 -0
  490. package/dist/siemens-ix/{p-a3431d63.entry.js → p-f9e7b4cf.entry.js} +2 -2
  491. package/dist/siemens-ix/{p-2462fc76.entry.js → p-fc3a3f5a.entry.js} +2 -2
  492. package/dist/siemens-ix/p-fd45e8f5.entry.js +2 -0
  493. package/dist/siemens-ix/p-fd45e8f5.entry.js.map +1 -0
  494. package/dist/siemens-ix/p-fe3f3411.entry.js +2 -0
  495. package/dist/siemens-ix/{p-2deed888.entry.js.map → p-fe3f3411.entry.js.map} +1 -1
  496. package/dist/siemens-ix/{p-cfc7a9ac.entry.js → p-ffe299a6.entry.js} +2 -2
  497. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  498. package/package.json +1 -1
  499. package/dist/siemens-ix/p-050f482a.entry.js +0 -2
  500. package/dist/siemens-ix/p-196d2cef.entry.js +0 -2
  501. package/dist/siemens-ix/p-232bee46.entry.js +0 -2
  502. package/dist/siemens-ix/p-2deed888.entry.js +0 -2
  503. package/dist/siemens-ix/p-3c0425f3.entry.js +0 -2
  504. package/dist/siemens-ix/p-3c6e6130.entry.js +0 -2
  505. package/dist/siemens-ix/p-572455df.entry.js +0 -2
  506. package/dist/siemens-ix/p-58f51cce.entry.js +0 -2
  507. package/dist/siemens-ix/p-58f51cce.entry.js.map +0 -1
  508. package/dist/siemens-ix/p-6a8d50c3.entry.js.map +0 -1
  509. package/dist/siemens-ix/p-78e332f4.entry.js +0 -2
  510. package/dist/siemens-ix/p-8493da96.entry.js +0 -2
  511. package/dist/siemens-ix/p-8efe88e8.entry.js +0 -2
  512. package/dist/siemens-ix/p-8efe88e8.entry.js.map +0 -1
  513. package/dist/siemens-ix/p-975cb736.entry.js +0 -2
  514. package/dist/siemens-ix/p-d59b3f31.entry.js +0 -2
  515. package/dist/siemens-ix/p-e1b790d3.entry.js +0 -2
  516. package/dist/siemens-ix/p-e23cd82e.entry.js +0 -2
  517. package/dist/siemens-ix/p-e23cd82e.entry.js.map +0 -1
  518. package/dist/siemens-ix/p-e345d0d2.entry.js +0 -2
  519. package/dist/siemens-ix/p-e345d0d2.entry.js.map +0 -1
  520. package/dist/siemens-ix/p-eb6ea42d.entry.js +0 -2
  521. package/dist/siemens-ix/p-f6691728.entry.js +0 -2
  522. package/dist/siemens-ix/p-f6691728.entry.js.map +0 -1
  523. package/dist/siemens-ix/p-fe760d17.entry.js +0 -2
  524. /package/dist/siemens-ix/{p-5ca2ef74.entry.js.map → p-010d7fb9.entry.js.map} +0 -0
  525. /package/dist/siemens-ix/{p-fcbe42c4.entry.js.map → p-035a5a5d.entry.js.map} +0 -0
  526. /package/dist/siemens-ix/{p-8be3bc6d.entry.js.map → p-073a5bf5.entry.js.map} +0 -0
  527. /package/dist/siemens-ix/{p-d277e7e2.entry.js.map → p-09611138.entry.js.map} +0 -0
  528. /package/dist/siemens-ix/{p-535ee46b.entry.js.map → p-11483cf6.entry.js.map} +0 -0
  529. /package/dist/siemens-ix/{p-f8169051.entry.js.map → p-1215edb5.entry.js.map} +0 -0
  530. /package/dist/siemens-ix/{p-f1e94d25.entry.js.map → p-127ca9ce.entry.js.map} +0 -0
  531. /package/dist/siemens-ix/{p-f0e7e035.js.map → p-1587fdab.js.map} +0 -0
  532. /package/dist/siemens-ix/{p-f2ee640a.entry.js.map → p-15c0c3d0.entry.js.map} +0 -0
  533. /package/dist/siemens-ix/{p-ca8407f5.entry.js.map → p-196f25fc.entry.js.map} +0 -0
  534. /package/dist/siemens-ix/{p-4c29feb5.entry.js.map → p-1e620fab.entry.js.map} +0 -0
  535. /package/dist/siemens-ix/{p-3ead4fed.entry.js.map → p-233282c1.entry.js.map} +0 -0
  536. /package/dist/siemens-ix/{p-8b51637c.entry.js.map → p-245eff21.entry.js.map} +0 -0
  537. /package/dist/siemens-ix/{p-c0bf9382.entry.js.map → p-2630b802.entry.js.map} +0 -0
  538. /package/dist/siemens-ix/{p-27118d3b.entry.js.map → p-2a469532.entry.js.map} +0 -0
  539. /package/dist/siemens-ix/{p-975cb736.entry.js.map → p-2b0329ee.entry.js.map} +0 -0
  540. /package/dist/siemens-ix/{p-75943110.entry.js.map → p-2ff3da3c.entry.js.map} +0 -0
  541. /package/dist/siemens-ix/{p-50f12507.entry.js.map → p-327cf179.entry.js.map} +0 -0
  542. /package/dist/siemens-ix/{p-f10824af.entry.js.map → p-3497cff4.entry.js.map} +0 -0
  543. /package/dist/siemens-ix/{p-26355e12.entry.js.map → p-3d1a831a.entry.js.map} +0 -0
  544. /package/dist/siemens-ix/{p-d59b3f31.entry.js.map → p-425fd2c3.entry.js.map} +0 -0
  545. /package/dist/siemens-ix/{p-40335e7c.entry.js.map → p-46fa1780.entry.js.map} +0 -0
  546. /package/dist/siemens-ix/{p-fdccc402.entry.js.map → p-4a8698ca.entry.js.map} +0 -0
  547. /package/dist/siemens-ix/{p-e1d7c7fa.entry.js.map → p-56738f8c.entry.js.map} +0 -0
  548. /package/dist/siemens-ix/{p-232bee46.entry.js.map → p-570d20b9.entry.js.map} +0 -0
  549. /package/dist/siemens-ix/{p-16d529ee.entry.js.map → p-597d346d.entry.js.map} +0 -0
  550. /package/dist/siemens-ix/{p-db47293b.entry.js.map → p-5c2b6399.entry.js.map} +0 -0
  551. /package/dist/siemens-ix/{p-06b783a7.entry.js.map → p-5c4c579d.entry.js.map} +0 -0
  552. /package/dist/siemens-ix/{p-a643ad05.entry.js.map → p-5cf8f2b2.entry.js.map} +0 -0
  553. /package/dist/siemens-ix/{p-8493da96.entry.js.map → p-5e3c6d92.entry.js.map} +0 -0
  554. /package/dist/siemens-ix/{p-34ccbe57.entry.js.map → p-690130d1.entry.js.map} +0 -0
  555. /package/dist/siemens-ix/{p-fe760d17.entry.js.map → p-6b14ca75.entry.js.map} +0 -0
  556. /package/dist/siemens-ix/{p-3214478e.entry.js.map → p-715fc314.entry.js.map} +0 -0
  557. /package/dist/siemens-ix/{p-0e0e5f67.entry.js.map → p-73ca81fa.entry.js.map} +0 -0
  558. /package/dist/siemens-ix/{p-353e2dd5.entry.js.map → p-76a113cd.entry.js.map} +0 -0
  559. /package/dist/siemens-ix/{p-f5af5a9f.entry.js.map → p-7b915c46.entry.js.map} +0 -0
  560. /package/dist/siemens-ix/{p-e1b790d3.entry.js.map → p-7e28d26c.entry.js.map} +0 -0
  561. /package/dist/siemens-ix/{p-f56686c9.entry.js.map → p-828ed4cc.entry.js.map} +0 -0
  562. /package/dist/siemens-ix/{p-42f7289e.entry.js.map → p-8572cee0.entry.js.map} +0 -0
  563. /package/dist/siemens-ix/{p-75050430.entry.js.map → p-89d4a3c4.entry.js.map} +0 -0
  564. /package/dist/siemens-ix/{p-3c0425f3.entry.js.map → p-8a8f7bd3.entry.js.map} +0 -0
  565. /package/dist/siemens-ix/{p-eb6ea42d.entry.js.map → p-8e751da8.entry.js.map} +0 -0
  566. /package/dist/siemens-ix/{p-5d3975c8.entry.js.map → p-93f8a994.entry.js.map} +0 -0
  567. /package/dist/siemens-ix/{p-b62e2edf.entry.js.map → p-95e8f88b.entry.js.map} +0 -0
  568. /package/dist/siemens-ix/{p-da9f8709.entry.js.map → p-9ba43990.entry.js.map} +0 -0
  569. /package/dist/siemens-ix/{p-782b33d3.entry.js.map → p-a4f58920.entry.js.map} +0 -0
  570. /package/dist/siemens-ix/{p-c98d8ec2.entry.js.map → p-a9fcccaf.entry.js.map} +0 -0
  571. /package/dist/siemens-ix/{p-78e332f4.entry.js.map → p-ad08daa9.entry.js.map} +0 -0
  572. /package/dist/siemens-ix/{p-81b570f5.entry.js.map → p-ae1d5e65.entry.js.map} +0 -0
  573. /package/dist/siemens-ix/{p-572455df.entry.js.map → p-b3ffcdef.entry.js.map} +0 -0
  574. /package/dist/siemens-ix/{p-ca53ecd8.entry.js.map → p-b5842e13.entry.js.map} +0 -0
  575. /package/dist/siemens-ix/{p-4ca6beed.entry.js.map → p-b58b68cb.entry.js.map} +0 -0
  576. /package/dist/siemens-ix/{p-4bb08459.entry.js.map → p-bc88ecb1.entry.js.map} +0 -0
  577. /package/dist/siemens-ix/{p-04ba3c79.entry.js.map → p-bde45bbd.entry.js.map} +0 -0
  578. /package/dist/siemens-ix/{p-31bfd5ff.entry.js.map → p-c42e4e81.entry.js.map} +0 -0
  579. /package/dist/siemens-ix/{p-f5a108d5.entry.js.map → p-c46f55ec.entry.js.map} +0 -0
  580. /package/dist/siemens-ix/{p-8c01fea2.entry.js.map → p-c7686e47.entry.js.map} +0 -0
  581. /package/dist/siemens-ix/{p-d445b333.entry.js.map → p-c88d73da.entry.js.map} +0 -0
  582. /package/dist/siemens-ix/{p-4dad31fa.entry.js.map → p-cabc62fd.entry.js.map} +0 -0
  583. /package/dist/siemens-ix/{p-73d5ea4a.entry.js.map → p-ce60f35c.entry.js.map} +0 -0
  584. /package/dist/siemens-ix/{p-6cd2b4d4.entry.js.map → p-d6db8257.entry.js.map} +0 -0
  585. /package/dist/siemens-ix/{p-3c6e6130.entry.js.map → p-d71bdcfb.entry.js.map} +0 -0
  586. /package/dist/siemens-ix/{p-ddf93bce.entry.js.map → p-d779f396.entry.js.map} +0 -0
  587. /package/dist/siemens-ix/{p-ab282d03.entry.js.map → p-dab7059f.entry.js.map} +0 -0
  588. /package/dist/siemens-ix/{p-196d2cef.entry.js.map → p-df2d9a30.entry.js.map} +0 -0
  589. /package/dist/siemens-ix/{p-92fc6ba1.entry.js.map → p-e0c645be.entry.js.map} +0 -0
  590. /package/dist/siemens-ix/{p-0e51828d.entry.js.map → p-e111ffb2.entry.js.map} +0 -0
  591. /package/dist/siemens-ix/{p-988d23ac.entry.js.map → p-e1c428d2.entry.js.map} +0 -0
  592. /package/dist/siemens-ix/{p-14d2576e.entry.js.map → p-e4890017.entry.js.map} +0 -0
  593. /package/dist/siemens-ix/{p-1e5e042b.entry.js.map → p-e8ac3fac.entry.js.map} +0 -0
  594. /package/dist/siemens-ix/{p-47919d43.entry.js.map → p-eb02e8bf.entry.js.map} +0 -0
  595. /package/dist/siemens-ix/{p-d464b60e.entry.js.map → p-ec3bf78f.entry.js.map} +0 -0
  596. /package/dist/siemens-ix/{p-9ceabb5f.entry.js.map → p-f2acf280.entry.js.map} +0 -0
  597. /package/dist/siemens-ix/{p-a3431d63.entry.js.map → p-f9e7b4cf.entry.js.map} +0 -0
  598. /package/dist/siemens-ix/{p-2462fc76.entry.js.map → p-fc3a3f5a.entry.js.map} +0 -0
  599. /package/dist/siemens-ix/{p-cfc7a9ac.entry.js.map → p-ffe299a6.entry.js.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, g as getElement } from './index-0d053ada.js';
2
2
  import { D as DateTime_1 } from './luxon-761b9b2d.js';
3
3
 
4
- const dateDropdownCss = ":host{display:inline-block;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}@media (max-width: 48em){:host .min-width{width:-moz-min-content;width:min-content}}@media (min-width: 48em){:host .border-right{border-right:var(--theme-x-weak-bdr-2)}}:host .max-height{max-height:-moz-max-content;max-height:max-content}:host .no-margin{margin:0;padding:0}:host .pull-right{float:right;padding:0.25rem 1rem}";
4
+ const dateDropdownCss = ":host{display:inline-block;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}@media (max-width: 48em){:host .min-width{width:-moz-min-content;width:min-content}}@media (min-width: 48em){:host .border-right{border-right:var(--theme-x-weak-bdr-2)}}:host ix-button{width:100%}:host .max-height{max-height:-moz-max-content;max-height:max-content}:host .no-margin{margin:0;padding:0}:host .pull-right{float:right;padding:0.25rem 1rem}";
5
5
  const IxDateDropdownStyle0 = dateDropdownCss;
6
6
 
7
7
  const DateDropdown = class {
@@ -119,21 +119,21 @@ const DateDropdown = class {
119
119
  return option.label;
120
120
  }
121
121
  render() {
122
- var _a, _b;
123
- return (h(Host, { key: '587a80ff64848ac3072ae04a27573f83e1e11fd8' }, h("ix-button", { key: '6fa079d6960402455bcb6b097c459efc77e08d6e', "data-date-dropdown-trigger": true, variant: "primary", icon: "history", ref: (ref) => (this.triggerRef = ref), class: "button-width" }, this.getButtonLabel()), h("ix-dropdown", { key: 'dc9435a7533f1dc4d227ec12807f3d13d60161bf', "data-date-dropdown": true, class: "min-width max-height", trigger: this.triggerRef, "close-behavior": "outside", placement: "bottom-start", onShowChanged: ({ detail: show }) => {
122
+ var _a, _b, _c;
123
+ return (h(Host, { key: '587a80ff64848ac3072ae04a27573f83e1e11fd8' }, h("ix-button", { key: '54dce5bf9e30572642386c16c7f18e69e55f3fd1', "data-date-dropdown-trigger": true, variant: "primary", icon: "history", ref: (ref) => (this.triggerRef = ref) }, this.getButtonLabel()), h("ix-dropdown", { key: '4292a46172362908d80a49874b0e4a62ae0461e9', "data-date-dropdown": true, class: "min-width max-height", trigger: this.triggerRef, "close-behavior": "outside", placement: "bottom-start", onShowChanged: ({ detail: show }) => {
124
124
  if (!show &&
125
125
  this.selectedDateRangeId === 'custom' &&
126
126
  this.datePickerTouched) {
127
127
  this.onDateSelect(this.currentRangeValue);
128
128
  }
129
- } }, h("ix-layout-grid", { key: 'efb1071081dbf2e2a2f913af3c2e7d3ce78aa060', "no-margin": "true" }, h("ix-row", { key: '7c06508000770f55ff36057a8dae7b6e4b9404f4' }, h("ix-col", { key: 'ba2ea4063475d9bab8d1790991f7ef8564db9b23', class: {
129
+ } }, h("ix-layout-grid", { key: '9d92b3fd14fb2546fe9f6b588e048ad9048ed99e', "no-margin": "true" }, h("ix-row", { key: 'ea35e1f9c8df2f1bed99dff82ffcf57206864d47' }, ((_a = this.dateRangeOptions) === null || _a === void 0 ? void 0 : _a.length) > 1 && (h("ix-col", { class: {
130
130
  'no-margin': true,
131
131
  'border-right': this.selectedDateRangeId === 'custom',
132
- } }, this.dateRangeOptions.map((dateRangeOption) => (h("ix-dropdown-item", { label: dateRangeOption.label, onClick: () => this.onRangeListSelect(dateRangeOption.id), checked: this.selectedDateRangeId === dateRangeOption.id }))), h("div", { key: 'caca9bcebaa6d232b69142762318874e1caa5f75', hidden: !this.customRangeAllowed }, h("ix-dropdown-item", { key: 'cd086f353be43158775857cd14b61057b1302e34', label: this.i18nCustomItem, checked: this.selectedDateRangeId === 'custom', onClick: () => this.onRangeListSelect('custom') }))), h("ix-col", { key: '8c21ecaaadec975b347848af14f4b63713a14026', class: "no-margin" }, this.selectedDateRangeId === 'custom' && (h(Fragment, null, h("ix-date-picker", { standaloneAppearance: false, onDateChange: (e) => {
132
+ } }, this.dateRangeOptions.map((dateRangeOption) => (h("ix-dropdown-item", { label: dateRangeOption.label, onClick: () => this.onRangeListSelect(dateRangeOption.id), checked: this.selectedDateRangeId === dateRangeOption.id }))), h("div", { hidden: !this.customRangeAllowed }, h("ix-dropdown-item", { label: this.i18nCustomItem, checked: this.selectedDateRangeId === 'custom', onClick: () => this.onRangeListSelect('custom') })))), h("ix-col", { key: '39d788b4f948826461facbf8f0510d871416a2a3', class: "no-margin" }, this.selectedDateRangeId === 'custom' && (h(Fragment, null, h("ix-date-picker", { standaloneAppearance: false, onDateChange: (e) => {
133
133
  e.stopPropagation();
134
134
  this.currentRangeValue = Object.assign(Object.assign({}, e.detail), { id: 'custom' });
135
135
  this.datePickerTouched = true;
136
- }, onDateRangeChange: (e) => e.stopPropagation(), format: this.format, range: this.range, from: this.from || ((_a = this.currentRangeValue) === null || _a === void 0 ? void 0 : _a.from), to: this.to || ((_b = this.currentRangeValue) === null || _b === void 0 ? void 0 : _b.to), minDate: this.minDate, maxDate: this.maxDate, today: this.today }), h("div", { class: "pull-right" }, h("ix-button", { onClick: () => {
136
+ }, onDateRangeChange: (e) => e.stopPropagation(), format: this.format, range: this.range, from: this.from || ((_b = this.currentRangeValue) === null || _b === void 0 ? void 0 : _b.from), to: this.to || ((_c = this.currentRangeValue) === null || _c === void 0 ? void 0 : _c.to), minDate: this.minDate, maxDate: this.maxDate, today: this.today }), h("div", { class: "pull-right" }, h("ix-button", { onClick: () => {
137
137
  this.onDateSelect(this.currentRangeValue);
138
138
  } }, this.i18nDone))))))))));
139
139
  }
@@ -1 +1 @@
1
- {"file":"ix-date-dropdown.entry.js","mappings":";;;AAAA,MAAM,eAAe,GAAG,g9BAAg9B,CAAC;AACz+B,6BAAe,eAAe;;MC4CjB,YAAY;;;;QAwHf,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E,IAAI,CAAC,KAAK,EACjB,IAAI,EAAE,IAAI,CAAC,IAAI,KAAI,MAAA,IAAI,CAAC,iBAAiB,0CAAE,IAAI,CAAA,EAC/C,EAAE,EAAE,IAAI,CAAC,EAAE,KAAI,MAAA,IAAI,CAAC,iBAAiB,0CAAE,EAAE,CAAA,EACzC,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,KAAK,EAAE,IAAI,CAAC,KAAK,GACD,EAClB,WAAK,KAAK,EAAC,YAAY,IACrB,iBACE,OAAO,EAAE;gBACP,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;aAC3C,IAEA,IAAI,CAAC,QAAQ,CACJ,CACR,CACG,CACZ,CACM,CACF,CACM,CACL,CACT,EACP;KACH;;;;;;;;;;;;;","names":["DateTime"],"sources":["src/components/date-dropdown/date-dropdown.scss?tag=ix-date-dropdown&encapsulation=shadow","src/components/date-dropdown/date-dropdown.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n display: inline-block;\n position: relative;\n\n @media (max-width: 48em) {\n .min-width {\n width: min-content;\n }\n }\n\n @media (min-width: 48em) {\n .border-right {\n border-right: var(--theme-x-weak-bdr-2);\n }\n }\n\n .max-height {\n max-height: max-content;\n }\n\n .no-margin {\n margin: 0;\n padding: 0;\n }\n\n .pull-right {\n float: right;\n padding: $tiny-space $default-space;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n Fragment,\n h,\n Host,\n Method,\n Prop,\n State,\n Watch,\n} from '@stencil/core';\nimport { DateTime } from 'luxon';\n\nexport type DateDropdownOption = {\n id: string;\n label: string;\n from: string;\n to: string;\n};\n\nexport type DateRangeChangeEvent = {\n id: string;\n from: string;\n to: string;\n};\n\n/**\n * @since 2.1.0\n */\n@Component({\n tag: 'ix-date-dropdown',\n styleUrl: 'date-dropdown.scss',\n shadow: true,\n})\nexport class DateDropdown {\n @Element() hostElement: HTMLIxDateDropdownElement;\n\n /**\n * Date format string.\n * See @link https://moment.github.io/luxon/#/formatting?id=table-of-tokens for all available tokens.\n */\n @Prop() format = 'yyyy/LL/dd';\n\n /**\n * If true a range of dates can be selected.\n */\n @Prop() range = true;\n\n /**\n * Picker date. If the picker is in range mode this property is the start date.\n * If set to `null` no default start date will be pre-selected.\n *\n * Format is based on `format`\n */\n @Prop() from: string;\n\n /**\n * Picker date. If the picker is in range mode this property is the end date.\n * If the picker is not in range mode leave this value `null`\n *\n * Format is based on `format`\n */\n @Prop() to: string;\n\n /**\n * The earliest date that can be selected by the date picker.\n * If not set there will be no restriction.\n */\n @Prop() minDate: string;\n\n /**\n * The latest date that can be selected by the date picker.\n * If not set there will be no restriction.\n */\n @Prop() maxDate: string;\n\n /**\n * Used to set the initial select date range as well as the button name,\n * if not set or no according date range label is found, nothing will be selected\n */\n @Prop() dateRangeId = 'custom';\n @Watch('dateRangeId')\n @Watch('to')\n @Watch('from')\n onDateRangeIdChange() {\n this.onRangeListSelect(this.dateRangeId);\n this.onDateSelect({\n from: this.currentRangeValue.from,\n to: this.currentRangeValue.to,\n id: this.currentRangeValue.id,\n });\n }\n\n /**\n * Controls whether the user is allowed to pick custom date ranges in the component.\n * When set to 'true', the user can select a custom date range using the date picker.\n * When set to 'false', only predefined time date ranges are available for selection.\n */\n @Prop() customRangeAllowed = true;\n\n /**\n * An array of predefined date range options for the date picker.\n * Each option is an object with a label describing the range and a function\n * that returns the start and end dates of the range as a DateRangeOption object.\n *\n * Example format:\n * {\n * id: 'some unique id',\n * label: 'Name of the range',\n * from: undefined, to: '2023/03/29'\n * },\n * // ... other predefined date range options ...\n */\n @Prop() dateRangeOptions: DateDropdownOption[] = [];\n @Watch('dateRangeOptions')\n onDateRangeOptionsChange() {\n this.initialize();\n this.onDateRangeIdChange();\n }\n\n /**\n * Text for custom dropdown item. Will be used for translation.\n */\n @Prop({ attribute: 'i18n-custom-item' }) i18nCustomItem = 'Custom...';\n\n /**\n * Text for the done button. Will be used for translation.\n */\n @Prop({ attribute: 'i18n-done' }) i18nDone = 'Done';\n\n /**\n * Text for the done button. Will be used for translation.\n */\n @Prop({ attribute: 'i18n-no-range' }) i18nNoRange = 'No range set';\n\n /** @internal */\n @Prop() today = DateTime.now().toISO();\n\n /**\n * EventEmitter for date range change events.\n *\n * This event is emitted when the date range changes within the component.\n * The event payload contains information about the selected date range.\n */\n @Event() private dateRangeChange: EventEmitter<DateRangeChangeEvent>;\n\n @State() private selectedDateRangeId: 'custom' | (string & {});\n @State() private currentRangeValue: {\n from: string;\n to: string;\n id: string;\n };\n @State() private triggerRef: HTMLElement;\n\n private datePickerTouched = false;\n\n componentWillLoad() {\n this.initialize();\n this.setDateRangeSelection(this.dateRangeId);\n }\n\n /**\n * Retrieves the currently selected date range from the component.\n * This method returns the selected date range as a `DateChangeEvent` object.\n */\n @Method()\n public async getDateRange(): Promise<DateRangeChangeEvent> {\n return this.currentRangeValue;\n }\n\n private initialize() {\n const isCustomRange =\n this.dateRangeId === 'custom' ||\n (!this.dateRangeId && !!this.from && !!this.to);\n\n if (isCustomRange && this.customRangeAllowed) {\n this.selectedDateRangeId = 'custom';\n this.currentRangeValue = {\n id: this.selectedDateRangeId,\n from: this.from,\n to: this.to,\n };\n\n return;\n }\n const isValidConfiguration = !isCustomRange && !this.from;\n if (!isValidConfiguration) {\n console.warn(\n '\"from\" and \"range-date-id\" is provided this is an invalid combination. Using \"custom\".'\n );\n\n this.selectedDateRangeId = 'custom';\n this.currentRangeValue = {\n id: this.selectedDateRangeId,\n from: this.from,\n to: this.to,\n };\n\n return;\n }\n }\n\n private onDateSelect(\n rangeValue: { from: string; to: string; id: string },\n preserveDropdown = true\n ) {\n this.dateRangeChange.emit(rangeValue);\n\n if (preserveDropdown) {\n this.closeDropdown();\n }\n\n this.datePickerTouched = false;\n }\n\n private onRangeListSelect(id: string) {\n if (this.setDateRangeSelection(id)) {\n this.onDateSelect(this.currentRangeValue);\n }\n }\n\n private setDateRangeSelection(id: string) {\n this.selectedDateRangeId = id;\n const option = this.dateRangeOptions.find((range) => range.id === id);\n\n if (option) {\n this.currentRangeValue = option;\n }\n\n return option;\n }\n\n private closeDropdown() {\n this.hostElement.shadowRoot.querySelector('ix-dropdown').show = false;\n }\n\n private getButtonLabel() {\n if (this.selectedDateRangeId === 'custom' && this.currentRangeValue?.from) {\n let range = this.currentRangeValue.from;\n\n if (this.currentRangeValue.to) {\n range += ` - ${this.currentRangeValue.to}`;\n }\n\n return range;\n }\n\n if (!this.selectedDateRangeId) {\n return this.i18nNoRange;\n }\n\n if (!this.dateRangeOptions || this.dateRangeOptions?.length === 0) {\n return this.i18nNoRange;\n }\n\n const option = this.dateRangeOptions.find(\n (option) => option.id === this.selectedDateRangeId\n );\n\n if (!option) {\n console.error(\n `Cannot find range option with id ${this.selectedDateRangeId}`\n );\n return this.i18nNoRange;\n }\n\n return option.label;\n }\n\n render() {\n return (\n <Host>\n <ix-button\n data-date-dropdown-trigger\n variant=\"primary\"\n icon=\"history\"\n ref={(ref) => (this.triggerRef = ref)}\n class=\"button-width\"\n >\n {this.getButtonLabel()}\n </ix-button>\n <ix-dropdown\n data-date-dropdown\n class=\"min-width max-height\"\n trigger={this.triggerRef}\n close-behavior=\"outside\"\n placement=\"bottom-start\"\n onShowChanged={({ detail: show }) => {\n if (\n !show &&\n this.selectedDateRangeId === 'custom' &&\n this.datePickerTouched\n ) {\n this.onDateSelect(this.currentRangeValue);\n }\n }}\n >\n <ix-layout-grid no-margin=\"true\">\n <ix-row>\n <ix-col\n class={{\n 'no-margin': true,\n 'border-right': this.selectedDateRangeId === 'custom',\n }}\n >\n {this.dateRangeOptions.map((dateRangeOption) => (\n <ix-dropdown-item\n label={dateRangeOption.label}\n onClick={() => this.onRangeListSelect(dateRangeOption.id)}\n checked={this.selectedDateRangeId === dateRangeOption.id}\n ></ix-dropdown-item>\n ))}\n <div hidden={!this.customRangeAllowed}>\n <ix-dropdown-item\n label={this.i18nCustomItem}\n checked={this.selectedDateRangeId === 'custom'}\n onClick={() => this.onRangeListSelect('custom')}\n ></ix-dropdown-item>\n </div>\n </ix-col>\n <ix-col class=\"no-margin\">\n {this.selectedDateRangeId === 'custom' && (\n <Fragment>\n <ix-date-picker\n standaloneAppearance={false}\n onDateChange={(e) => {\n e.stopPropagation();\n this.currentRangeValue = {\n ...e.detail,\n id: 'custom',\n };\n this.datePickerTouched = true;\n }}\n onDateRangeChange={(e) => e.stopPropagation()}\n format={this.format}\n range={this.range}\n from={this.from || this.currentRangeValue?.from}\n to={this.to || this.currentRangeValue?.to}\n minDate={this.minDate}\n maxDate={this.maxDate}\n today={this.today}\n ></ix-date-picker>\n <div class=\"pull-right\">\n <ix-button\n onClick={() => {\n this.onDateSelect(this.currentRangeValue);\n }}\n >\n {this.i18nDone}\n </ix-button>\n </div>\n </Fragment>\n )}\n </ix-col>\n </ix-row>\n </ix-layout-grid>\n </ix-dropdown>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ix-date-dropdown.entry.js","mappings":";;;AAAA,MAAM,eAAe,GAAG,2+BAA2+B,CAAC;AACpgC,6BAAe,eAAe;;MC4CjB,YAAY;;;;QAwHf,sBAAiB,GAAG,KAAK,CAAC;sBAjHjB,YAAY;qBAKb,IAAI;;;;;2BAkCE,QAAQ;kCAkBD,IAAI;gCAegB,EAAE;8BAUO,WAAW;wBAKxB,MAAM;2BAKC,cAAc;qBAGlDA,UAAQ,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE;;;;;IApDtC,mBAAmB;QACjB,IAAI,CAAC,iBAAiB,CA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AAO,EAAE,IAAI,CAAC,OAAO,EACrB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,KAAK,EAAE,IAAI,CAAC,KAAK,GACD,EAClB,WAAK,KAAK,EAAC,YAAY,IACrB,iBACE,OAAO,EAAE;gBACP,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;aAC3C,IAEA,IAAI,CAAC,QAAQ,CACJ,CACR,CACG,CACZ,CACM,CACF,CACM,CACL,CACT,EACP;KACH;;;;;;;;;;;;;","names":["DateTime"],"sources":["src/components/date-dropdown/date-dropdown.scss?tag=ix-date-dropdown&encapsulation=shadow","src/components/date-dropdown/date-dropdown.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n display: inline-block;\n position: relative;\n\n @media (max-width: 48em) {\n .min-width {\n width: min-content;\n }\n }\n\n @media (min-width: 48em) {\n .border-right {\n border-right: var(--theme-x-weak-bdr-2);\n }\n }\n\n ix-button {\n width: 100%;\n }\n\n .max-height {\n max-height: max-content;\n }\n\n .no-margin {\n margin: 0;\n padding: 0;\n }\n\n .pull-right {\n float: right;\n padding: $tiny-space $default-space;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n Fragment,\n h,\n Host,\n Method,\n Prop,\n State,\n Watch,\n} from '@stencil/core';\nimport { DateTime } from 'luxon';\n\nexport type DateDropdownOption = {\n id: string;\n label: string;\n from: string;\n to: string;\n};\n\nexport type DateRangeChangeEvent = {\n id: string;\n from: string;\n to: string;\n};\n\n/**\n * @since 2.1.0\n */\n@Component({\n tag: 'ix-date-dropdown',\n styleUrl: 'date-dropdown.scss',\n shadow: true,\n})\nexport class DateDropdown {\n @Element() hostElement: HTMLIxDateDropdownElement;\n\n /**\n * Date format string.\n * See @link https://moment.github.io/luxon/#/formatting?id=table-of-tokens for all available tokens.\n */\n @Prop() format = 'yyyy/LL/dd';\n\n /**\n * If true a range of dates can be selected.\n */\n @Prop() range = true;\n\n /**\n * Picker date. If the picker is in range mode this property is the start date.\n * If set to `null` no default start date will be pre-selected.\n *\n * Format is based on `format`\n */\n @Prop() from: string;\n\n /**\n * Picker date. If the picker is in range mode this property is the end date.\n * If the picker is not in range mode leave this value `null`\n *\n * Format is based on `format`\n */\n @Prop() to: string;\n\n /**\n * The earliest date that can be selected by the date picker.\n * If not set there will be no restriction.\n */\n @Prop() minDate: string;\n\n /**\n * The latest date that can be selected by the date picker.\n * If not set there will be no restriction.\n */\n @Prop() maxDate: string;\n\n /**\n * Used to set the initial select date range as well as the button name,\n * if not set or no according date range label is found, nothing will be selected\n */\n @Prop() dateRangeId = 'custom';\n @Watch('dateRangeId')\n @Watch('to')\n @Watch('from')\n onDateRangeIdChange() {\n this.onRangeListSelect(this.dateRangeId);\n this.onDateSelect({\n from: this.currentRangeValue.from,\n to: this.currentRangeValue.to,\n id: this.currentRangeValue.id,\n });\n }\n\n /**\n * Controls whether the user is allowed to pick custom date ranges in the component.\n * When set to 'true', the user can select a custom date range using the date picker.\n * When set to 'false', only predefined time date ranges are available for selection.\n */\n @Prop() customRangeAllowed = true;\n\n /**\n * An array of predefined date range options for the date picker.\n * Each option is an object with a label describing the range and a function\n * that returns the start and end dates of the range as a DateRangeOption object.\n *\n * Example format:\n * {\n * id: 'some unique id',\n * label: 'Name of the range',\n * from: undefined, to: '2023/03/29'\n * },\n * // ... other predefined date range options ...\n */\n @Prop() dateRangeOptions: DateDropdownOption[] = [];\n @Watch('dateRangeOptions')\n onDateRangeOptionsChange() {\n this.initialize();\n this.onDateRangeIdChange();\n }\n\n /**\n * Text for custom dropdown item. Will be used for translation.\n */\n @Prop({ attribute: 'i18n-custom-item' }) i18nCustomItem = 'Custom...';\n\n /**\n * Text for the done button. Will be used for translation.\n */\n @Prop({ attribute: 'i18n-done' }) i18nDone = 'Done';\n\n /**\n * Text for the done button. Will be used for translation.\n */\n @Prop({ attribute: 'i18n-no-range' }) i18nNoRange = 'No range set';\n\n /** @internal */\n @Prop() today = DateTime.now().toISO();\n\n /**\n * EventEmitter for date range change events.\n *\n * This event is emitted when the date range changes within the component.\n * The event payload contains information about the selected date range.\n */\n @Event() private dateRangeChange: EventEmitter<DateRangeChangeEvent>;\n\n @State() private selectedDateRangeId: 'custom' | (string & {});\n @State() private currentRangeValue: {\n from: string;\n to: string;\n id: string;\n };\n @State() private triggerRef: HTMLElement;\n\n private datePickerTouched = false;\n\n componentWillLoad() {\n this.initialize();\n this.setDateRangeSelection(this.dateRangeId);\n }\n\n /**\n * Retrieves the currently selected date range from the component.\n * This method returns the selected date range as a `DateChangeEvent` object.\n */\n @Method()\n public async getDateRange(): Promise<DateRangeChangeEvent> {\n return this.currentRangeValue;\n }\n\n private initialize() {\n const isCustomRange =\n this.dateRangeId === 'custom' ||\n (!this.dateRangeId && !!this.from && !!this.to);\n\n if (isCustomRange && this.customRangeAllowed) {\n this.selectedDateRangeId = 'custom';\n this.currentRangeValue = {\n id: this.selectedDateRangeId,\n from: this.from,\n to: this.to,\n };\n\n return;\n }\n const isValidConfiguration = !isCustomRange && !this.from;\n if (!isValidConfiguration) {\n console.warn(\n '\"from\" and \"range-date-id\" is provided this is an invalid combination. Using \"custom\".'\n );\n\n this.selectedDateRangeId = 'custom';\n this.currentRangeValue = {\n id: this.selectedDateRangeId,\n from: this.from,\n to: this.to,\n };\n\n return;\n }\n }\n\n private onDateSelect(\n rangeValue: { from: string; to: string; id: string },\n preserveDropdown = true\n ) {\n this.dateRangeChange.emit(rangeValue);\n\n if (preserveDropdown) {\n this.closeDropdown();\n }\n\n this.datePickerTouched = false;\n }\n\n private onRangeListSelect(id: string) {\n if (this.setDateRangeSelection(id)) {\n this.onDateSelect(this.currentRangeValue);\n }\n }\n\n private setDateRangeSelection(id: string) {\n this.selectedDateRangeId = id;\n const option = this.dateRangeOptions.find((range) => range.id === id);\n\n if (option) {\n this.currentRangeValue = option;\n }\n\n return option;\n }\n\n private closeDropdown() {\n this.hostElement.shadowRoot.querySelector('ix-dropdown').show = false;\n }\n\n private getButtonLabel() {\n if (this.selectedDateRangeId === 'custom' && this.currentRangeValue?.from) {\n let range = this.currentRangeValue.from;\n\n if (this.currentRangeValue.to) {\n range += ` - ${this.currentRangeValue.to}`;\n }\n\n return range;\n }\n\n if (!this.selectedDateRangeId) {\n return this.i18nNoRange;\n }\n\n if (!this.dateRangeOptions || this.dateRangeOptions?.length === 0) {\n return this.i18nNoRange;\n }\n\n const option = this.dateRangeOptions.find(\n (option) => option.id === this.selectedDateRangeId\n );\n\n if (!option) {\n console.error(\n `Cannot find range option with id ${this.selectedDateRangeId}`\n );\n return this.i18nNoRange;\n }\n\n return option.label;\n }\n\n render() {\n return (\n <Host>\n <ix-button\n data-date-dropdown-trigger\n variant=\"primary\"\n icon=\"history\"\n ref={(ref) => (this.triggerRef = ref)}\n >\n {this.getButtonLabel()}\n </ix-button>\n <ix-dropdown\n data-date-dropdown\n class=\"min-width max-height\"\n trigger={this.triggerRef}\n close-behavior=\"outside\"\n placement=\"bottom-start\"\n onShowChanged={({ detail: show }) => {\n if (\n !show &&\n this.selectedDateRangeId === 'custom' &&\n this.datePickerTouched\n ) {\n this.onDateSelect(this.currentRangeValue);\n }\n }}\n >\n <ix-layout-grid no-margin=\"true\">\n <ix-row>\n {this.dateRangeOptions?.length > 1 && (\n <ix-col\n class={{\n 'no-margin': true,\n 'border-right': this.selectedDateRangeId === 'custom',\n }}\n >\n {this.dateRangeOptions.map((dateRangeOption) => (\n <ix-dropdown-item\n label={dateRangeOption.label}\n onClick={() => this.onRangeListSelect(dateRangeOption.id)}\n checked={this.selectedDateRangeId === dateRangeOption.id}\n ></ix-dropdown-item>\n ))}\n <div hidden={!this.customRangeAllowed}>\n <ix-dropdown-item\n label={this.i18nCustomItem}\n checked={this.selectedDateRangeId === 'custom'}\n onClick={() => this.onRangeListSelect('custom')}\n ></ix-dropdown-item>\n </div>\n </ix-col>\n )}\n <ix-col class=\"no-margin\">\n {this.selectedDateRangeId === 'custom' && (\n <Fragment>\n <ix-date-picker\n standaloneAppearance={false}\n onDateChange={(e) => {\n e.stopPropagation();\n this.currentRangeValue = {\n ...e.detail,\n id: 'custom',\n };\n this.datePickerTouched = true;\n }}\n onDateRangeChange={(e) => e.stopPropagation()}\n format={this.format}\n range={this.range}\n from={this.from || this.currentRangeValue?.from}\n to={this.to || this.currentRangeValue?.to}\n minDate={this.minDate}\n maxDate={this.maxDate}\n today={this.today}\n ></ix-date-picker>\n <div class=\"pull-right\">\n <ix-button\n onClick={() => {\n this.onDateSelect(this.currentRangeValue);\n }}\n >\n {this.i18nDone}\n </ix-button>\n </div>\n </Fragment>\n )}\n </ix-col>\n </ix-row>\n </ix-layout-grid>\n </ix-dropdown>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -22,7 +22,7 @@ const DateTimeCard = class {
22
22
  };
23
23
  }
24
24
  render() {
25
- return (h(Host, { key: 'be249cc33523ab05fcea91c285a828d42803530c' }, h("div", { key: '3a4389a7bf5e5ec46622ddae68a14d121a1cad97', class: this.cardClasses() }, h("div", { key: '711acb2cd8a3a78046bc800e7c6ead60a0ad1b1f', class: "header" }, h("slot", { key: '72dd5f1b4c27869449729395a2dd9fe73b81d2b8', name: "header" })), h("div", { key: 'cc763fd99e776b0e8fa4b5615d92c51a556e0ee8', class: "separator" }), h("div", { key: '3654550d4f9fa01bbd79d0c8666116ed645ae495', class: "content" }, h("slot", { key: 'b2e03f699d22bedc7a586ec2f1be3bce3497d82f' })))));
25
+ return (h(Host, { key: 'f8ed1e43427e1723f5015a550c2cc9a110bee2b2' }, h("div", { key: 'f29905676e209d12e851fb8991e60d28cf7153bb', class: this.cardClasses() }, h("div", { key: '4e34b58cb52dddd372fda6713bdd41d612612f96', class: "header" }, h("slot", { key: 'c31d602a45866159181c20a3674cd18c5679052f', name: "header" })), h("div", { key: '5d86be7a1b70d75246bf07cda2898bc3ee768ca5', class: "separator" }), h("div", { key: '3d3e38bff5d56f06e88ef654e6f621ee3ffc8b9c', class: "content" }, h("slot", { key: 'c8a3b2a6ef2f7260ee0a8a16f5ee8c5eda1d9db6' })))));
26
26
  }
27
27
  };
28
28
  DateTimeCard.style = IxDateTimeCardStyle0;
@@ -53,7 +53,7 @@ const DatetimePicker = class {
53
53
  this.timeChange.emit(time);
54
54
  }
55
55
  render() {
56
- return (h(Host, { key: '7aa5e453963c62a4c168f2897f5408363f5c3d20' }, h("ix-layout-grid", { key: '5f47e5e23adb80a89591a1a2aeaa59531b963f1c', class: "no-padding" }, h("ix-row", { key: '8bd9fc26a2ccfae88142350ca76a0ef203ffaaa9' }, h("ix-col", { key: 'f2dc175c68cfaa2659680ca0c57af20f727aee2b', class: "no-padding" }, h("ix-date-picker", { key: 'a8712aad46e1c4f642ad0d0f1c1da865c1b111b1', ref: (ref) => (this.datePickerElement = ref), corners: "left", range: this.range, onDateChange: (event) => this.onDateChange(event), from: this.from, to: this.to, format: this.dateFormat, minDate: this.minDate, maxDate: this.maxDate, weekStartIndex: this.weekStartIndex, standaloneAppearance: false, locale: this.locale })), h("ix-col", { key: 'ad944278fd9b15feeec3f3cb87b159c02a9e3ea1', class: "no-padding" }, h("ix-time-picker", { key: 'aea360fe3436838190a32722498b4085a7cc2014', class: "min-width", ref: (ref) => (this.timePickerElement = ref), corners: "right", standaloneAppearance: false, showHour: this.showHour, showMinutes: this.showMinutes, showSeconds: this.showSeconds, onTimeChange: (event) => this.onTimeChange(event), format: this.timeFormat, time: this.time }))), h("ix-row", { key: 'cdfc9c5611a06d928503e1c97a32eabca8db1c91' }, h("ix-col", { key: 'f1d139a978e450241f14a6907f708404c44f2596' }, h("ix-button", { key: 'd79116b7084cffcde9705908d0ed174fc988f829', class: "btn-select-date btn-md-width", onClick: () => this.onDone() }, this.textSelectDate || this.i18nDone))))));
56
+ return (h(Host, { key: '83ee67741b982fbf3a6191c04fa3edbbdb6e6f44' }, h("ix-layout-grid", { key: 'f5f2c66badc930b769638f8f087058b51e44aca7', class: "no-padding" }, h("ix-row", { key: '15361bfa7b0cba0688507273601701160016d69b' }, h("ix-col", { key: 'c4d1d8a41b939e7970277d7a8d9a1c68db7bfa91', class: "no-padding" }, h("ix-date-picker", { key: '77bc6717428ef6fd131cd364b15b5e62a79e8f7f', ref: (ref) => (this.datePickerElement = ref), corners: "left", range: this.range, onDateChange: (event) => this.onDateChange(event), from: this.from, to: this.to, format: this.dateFormat, minDate: this.minDate, maxDate: this.maxDate, weekStartIndex: this.weekStartIndex, standaloneAppearance: false, locale: this.locale })), h("ix-col", { key: '52d25a39e84d6e0bc35bfe2159c368d2611570c3', class: "no-padding" }, h("ix-time-picker", { key: 'c19954e799ec9a0f5afb7df35472e58911ea7209', class: "min-width", ref: (ref) => (this.timePickerElement = ref), corners: "right", standaloneAppearance: false, showHour: this.showHour, showMinutes: this.showMinutes, showSeconds: this.showSeconds, onTimeChange: (event) => this.onTimeChange(event), format: this.timeFormat, time: this.time }))), h("ix-row", { key: 'cc6b061a09a9e3b8e06d7acd6bfe801dc884cc92' }, h("ix-col", { key: '86d98b8b9d25f0d77707c7104ed3b53efed3fd04' }, h("ix-button", { key: '5e843ec14cc32176420a8304779e7563117af40d', class: "btn-select-date btn-md-width", onClick: () => this.onDone() }, this.textSelectDate || this.i18nDone))))));
57
57
  }
58
58
  };
59
59
  DatetimePicker.style = IxDatetimePickerStyle0;
@@ -8,7 +8,7 @@ const Divider = class {
8
8
  registerInstance(this, hostRef);
9
9
  }
10
10
  render() {
11
- return h(Host, { key: 'a12f752ef0fa741ad16068b425293e9ba39d21c8' });
11
+ return h(Host, { key: '77aba5256230ceae62d44788f8b3c5e882fe5e80' });
12
12
  }
13
13
  };
14
14
  Divider.style = IxDividerStyle0;
@@ -85,7 +85,7 @@ const Drawer = class {
85
85
  this.onShowChanged(this.show);
86
86
  }
87
87
  render() {
88
- return (h(Host, { key: '91fc9415b70a8ee79f85dcf40fef3ccb9cbb20c9', class: {
88
+ return (h(Host, { key: 'e62222323c1b4c58abef1702618873c3856405de', class: {
89
89
  'drawer-container': true,
90
90
  toggle: this.show,
91
91
  'full-height': this.fullHeight,
@@ -94,7 +94,7 @@ const Drawer = class {
94
94
  width: this.width === 'auto' ? this.width : `${this.width}rem`,
95
95
  'min-width': `${this.minWidth}rem`,
96
96
  'max-width': `${this.maxWidth}rem`,
97
- }, ref: (el) => (this.divElement = el), "data-testid": "container", id: "div-container" }, h("div", { key: 'b773ea537ab6410433b6af3f7d57f96070a8f462', class: "header" }, h("div", { key: 'd032e1d8af587f872f61aaae3630aa0b03a99993', class: "header-content" }, h("slot", { key: '8d1c3b9819ed60666dff64386bd87d60d880bb13', name: "header" })), h("ix-icon-button", { key: 'b73baa2dea5c23cab77fc05e9506faf0424135c6', class: "close-button", icon: 'close', size: "24", ghost: true, onClick: () => this.onCloseClicked(), "data-testid": "close-button" })), h("div", { key: '8b838c388ca39c900245896b5912ed769b63bae6', class: "content" }, h("slot", { key: '08ba8b51e00558a0063430d32d300e347b09a310' }))));
97
+ }, ref: (el) => (this.divElement = el), "data-testid": "container", id: "div-container" }, h("div", { key: 'add6dc645923e78ea4aab5a5119900ffb77f84e2', class: "header" }, h("div", { key: 'e173f66d20de86d73957e68ba58049d9fd5694f2', class: "header-content" }, h("slot", { key: '8c3fcccd355f8648ef1bd2367c764d3360805ffb', name: "header" })), h("ix-icon-button", { key: '4ca6c7513df414120a6f7f4164cb8cfed84992fe', class: "close-button", icon: 'close', size: "24", ghost: true, onClick: () => this.onCloseClicked(), "data-testid": "close-button" })), h("div", { key: '95fb535fc3fe56ff7731d00d849fd4d93b61d31a', class: "content" }, h("slot", { key: '44f5d0a2b5d4c876c67c4db047653d63550e5ac2' }))));
98
98
  }
99
99
  static get watchers() { return {
100
100
  "show": ["onShowChanged"]
@@ -28,11 +28,11 @@ const DropdownButton = class {
28
28
  } }));
29
29
  }
30
30
  render() {
31
- return (h(Host, { key: '8930487c4b37d245f7fb9828c5028136e50ac81b', class: {
31
+ return (h(Host, { key: '4a18eaa51a9defa9a50aa2d4008176640d94fd5a', class: {
32
32
  disabled: this.disabled,
33
33
  }, ref: (ref) => {
34
34
  this.dropdownAnchor = ref;
35
- } }, h("div", { key: 'ea5caa3aac82f89ece0f569345f10b8afe995e44', class: "dropdown-button" }, this.label ? (h("ix-button", { variant: this.variant, outline: this.outline, ghost: this.ghost, disabled: this.disabled, alignment: "start" }, h("div", { class: 'content' }, this.icon ? (h("ix-icon", { name: this.icon, size: "24", class: 'dropdown-icon' })) : null, h("div", { class: 'button-label' }, this.label), h("ix-icon", { name: 'chevron-down-small', size: "24" })))) : (h("div", null, h("ix-icon-button", { icon: this.icon, variant: this.variant, outline: this.outline, ghost: this.ghost, disabled: this.disabled }), this.getTriangle()))), h("ix-dropdown", { key: '744ebec47c4658921d5a57f0165f6a7c95ed32e8', class: "dropdown", trigger: this.dropdownAnchor, placement: this.placement, closeBehavior: this.closeBehavior }, h("slot", { key: '438133ed750034c6a94cab0921c06cdf74c7b79e' }))));
35
+ } }, h("div", { key: '2e967b92d073f88609f31d90cafd6b5455930560', class: "dropdown-button" }, this.label ? (h("ix-button", { variant: this.variant, outline: this.outline, ghost: this.ghost, disabled: this.disabled, alignment: "start" }, h("div", { class: 'content' }, this.icon ? (h("ix-icon", { name: this.icon, size: "24", class: 'dropdown-icon' })) : null, h("div", { class: 'button-label' }, this.label), h("ix-icon", { name: 'chevron-down-small', size: "24" })))) : (h("div", null, h("ix-icon-button", { icon: this.icon, variant: this.variant, outline: this.outline, ghost: this.ghost, disabled: this.disabled }), this.getTriangle()))), h("ix-dropdown", { key: '1477ef9b47c696f1ab705f0973b6ba20228975b2', class: "dropdown", trigger: this.dropdownAnchor, placement: this.placement, closeBehavior: this.closeBehavior }, h("slot", { key: '137db0e0b45d8e5f370346620782007c3b28f7f7' }))));
36
36
  }
37
37
  get hostElement() { return getElement(this); }
38
38
  };
@@ -9,7 +9,7 @@ const DropdownHeader = class {
9
9
  this.label = undefined;
10
10
  }
11
11
  render() {
12
- return (h(Host, { key: '9b48e23d908cf0cc9f47822f9e25adacc878165d' }, h("ix-typography", { key: 'd89842c74ad80c00e696b0ca5d5a02d4eb646c3c', class: 'category-text', variant: 'default-title' }, this.label)));
12
+ return (h(Host, { key: 'fa3daed3c42026d56472617e8011daf26a6a0143' }, h("ix-typography", { key: 'd5b713244e69d78221498344e435c0fe08c06b26', class: 'category-text', variant: 'default-title' }, this.label)));
13
13
  }
14
14
  };
15
15
  DropdownHeader.style = IxDropdownHeaderStyle0;
@@ -31,15 +31,15 @@ const DropdownItem = class {
31
31
  this.icon !== undefined);
32
32
  }
33
33
  render() {
34
- return (h(Host, { key: 'd0961e924032ae68a9413214e4d1ab295c938507', class: {
34
+ return (h(Host, { key: '3882c42ff856b85402ec8fbcd366832993a2d50b', class: {
35
35
  hover: this.hover,
36
36
  'icon-only': this.isIconOnly(),
37
37
  disabled: this.disabled,
38
38
  submenu: this.isSubMenu,
39
- }, role: "listitem" }, h("button", { key: '798221fee0673bad5791f7823a0316217890d744', type: "button", tabIndex: 0, class: {
39
+ }, role: "listitem" }, h("button", { key: '18957e0107f55aed30e6cecfa6bfbe02c456a850', type: "button", tabIndex: 0, class: {
40
40
  'dropdown-item': true,
41
41
  'no-checked-field': this.suppressChecked,
42
- }, onClick: () => this.emitItemClick() }, !this.suppressChecked ? (h("div", { class: "dropdown-item-checked" }, this.checked ? (h("ix-icon", { class: "checkmark", name: 'single-check', size: "16" })) : null)) : null, this.icon ? (h("ix-icon", { class: "dropdown-item-icon", name: this.icon })) : null, h("div", { key: '590a12e0a50264cb5367a94c23d2641f4adc2b82', class: "dropdown-item-text" }, this.label, h("slot", { key: 'dcbeb64fc42ff9ef4a21e2dbec9eb843e09f658c' })), this.isSubMenu ? (h("ix-icon", { name: 'chevron-right-small', class: 'submenu-icon' })) : null)));
42
+ }, onClick: () => this.emitItemClick() }, !this.suppressChecked ? (h("div", { class: "dropdown-item-checked" }, this.checked ? (h("ix-icon", { class: "checkmark", name: 'single-check', size: "16" })) : null)) : null, this.icon ? (h("ix-icon", { class: "dropdown-item-icon", name: this.icon })) : null, h("div", { key: '94d506721e5e4b776e447bdfc678bce32811081c', class: "dropdown-item-text" }, this.label, h("slot", { key: 'ca6d981217740a41bce4bf024ed1f4c1bed2d915' })), this.isSubMenu ? (h("ix-icon", { name: 'chevron-right-small', class: 'submenu-icon' })) : null)));
43
43
  }
44
44
  get hostElement() { return getElement(this); }
45
45
  };
@@ -8,7 +8,7 @@ const DropdownQuickActions = class {
8
8
  registerInstance(this, hostRef);
9
9
  }
10
10
  render() {
11
- return (h(Host, { key: '6fc1f482e9e43fd2e70535c7f2bb7786fc59e305' }, h("slot", { key: 'd8a06e975f6498b7735159e09a29e8d715a1ff99' })));
11
+ return (h(Host, { key: '4276b052d998fa436597a67bc7df4b5f4dac79e7' }, h("slot", { key: 'fe99c816c933c10d45fdb93acfadf23938ffa1ae' })));
12
12
  }
13
13
  };
14
14
  DropdownQuickActions.style = IxDropdownQuickActionsStyle0;
@@ -376,7 +376,7 @@ const Dropdown = class {
376
376
  this.applyDropdownPosition();
377
377
  }
378
378
  render() {
379
- return (h(Host, { key: '704bc3d7987061a7b9835263d45ee11f753ba71b', "data-ix-dropdown": this.localUId, ref: (ref) => (this.dropdownRef = ref), class: {
379
+ return (h(Host, { key: '238292e4c3d58cb76a31d55701e12768e6dac3e7', "data-ix-dropdown": this.localUId, ref: (ref) => (this.dropdownRef = ref), class: {
380
380
  'dropdown-menu': true,
381
381
  show: this.show,
382
382
  overflow: true,
@@ -384,7 +384,7 @@ const Dropdown = class {
384
384
  margin: '0',
385
385
  minWidth: '0px',
386
386
  position: this.positioningStrategy,
387
- }, role: "list", onClick: (event) => this.onDropdownClick(event) }, h("div", { key: '5e0c4a15d72372573f992b86774d52bfa64c72c8', style: { display: 'contents' } }, this.header && h("div", { class: "dropdown-header" }, this.header), h("slot", { key: 'f182bef9568ab69d49a5fb2d2fbccfdd05041c80' }))));
387
+ }, role: "list", onClick: (event) => this.onDropdownClick(event) }, h("div", { key: 'c7ae3b8f704c5b80742920d9375267f77813330f', style: { display: 'contents' } }, this.header && h("div", { class: "dropdown-header" }, this.header), h("slot", { key: '982197ccab46e37c8651eb6937f93b6441880fe2' }))));
388
388
  }
389
389
  get hostElement() { return getElement(this); }
390
390
  static get watchers() { return {
@@ -14,7 +14,7 @@ const EmptyState = class {
14
14
  this.action = undefined;
15
15
  }
16
16
  render() {
17
- return (h(Host, { key: '79259f06912559cfdc060adbd8af1841b6743d5d', class: `emptyState emptyState--${this.layout}` }, this.icon && (h("div", { class: "emptyState__icon" }, h("ix-icon", { name: this.icon, size: this.layout === 'large' ? '32' : '32', color: "color-soft-text" }))), h("div", { key: 'f9665e695a8d12c6ed0c07f66a1a9e46c87ee99e', class: "emptyState__content" }, h("div", { key: '073f23f872bc5c761679e29951824b1b5123991d', class: "content__label" }, h("ix-typography", { key: 'a3dd46861fe229b04905c4bb1be31f549e3d4c3b', variant: this.layout === 'large' ? 'display-large' : 'default' }, this.header), this.subHeader && (h("div", { class: "label__subHeader" }, this.subHeader))), this.action && (h("div", { class: "content__action" }, h("ix-button", { onClick: () => this.actionClick.emit() }, this.action))))));
17
+ return (h(Host, { key: '05758725d4d8effa0b61ae90189bea0556576bf5', class: `emptyState emptyState--${this.layout}` }, this.icon && (h("div", { class: "emptyState__icon" }, h("ix-icon", { name: this.icon, size: this.layout === 'large' ? '32' : '32', color: "color-soft-text" }))), h("div", { key: '443bdba623c0a05f224a113e27de4fa281c27563', class: "emptyState__content" }, h("div", { key: 'df17e2f2ca3c227bde9af9bbfbd25c8593b93472', class: "content__label" }, h("ix-typography", { key: '9a9d096c9676dd62d8ccf78f67e05f98d4abd761', variant: this.layout === 'large' ? 'display-large' : 'default' }, this.header), this.subHeader && (h("div", { class: "label__subHeader" }, this.subHeader))), this.action && (h("div", { class: "content__action" }, h("ix-button", { onClick: () => this.actionClick.emit() }, this.action))))));
18
18
  }
19
19
  };
20
20
  EmptyState.style = IxEmptyStateStyle0;
@@ -26,16 +26,16 @@ const EventListItem = class {
26
26
  ? `var(${this.color})`
27
27
  : `var(--theme-${this.color})`;
28
28
  }
29
- return (h(Host, { key: 'ed92a7e8394856c074b51ebed8189e99fe1e29a2', class: {
29
+ return (h(Host, { key: '3e25c77fbee09f5cbd02c5ad5e449ea4eb63ddbb', class: {
30
30
  disabled: this.disabled,
31
- } }, h("div", { key: 'b4a23c2bc24a9589b019c5f27db2c66e3becf6ef', class: {
31
+ } }, h("div", { key: 'ef165d8f55102f0c3f308782389e5c2cccae782e', class: {
32
32
  'event-list-item': true,
33
33
  selected: this.selected,
34
34
  disabled: this.disabled,
35
- } }, h("div", { key: '1d04c7f035c233c2d9076626cc5a117404d6a135', class: `indicator ${!((_c = this.itemColor) !== null && _c !== void 0 ? _c : this.color) ? 'indicator-empty' : ''}`, style: {
35
+ } }, h("div", { key: '5a9f0d1af17820bab17fb8d1cefffdcd0ee1b02a', class: `indicator ${!((_c = this.itemColor) !== null && _c !== void 0 ? _c : this.color) ? 'indicator-empty' : ''}`, style: {
36
36
  'background-color': ((_d = this.itemColor) !== null && _d !== void 0 ? _d : this.color) ? color : 'inherit',
37
37
  opacity: `${this.disabled ? 0.4 : 1}`,
38
- } }), h("div", { key: '930d5297013c14fff5494f70b5679fd63240ccb8', class: "event-list-item-container" }, h("div", { key: 'bf5e074f3beb0ac61df18aa15efd62baa8320aba', class: "event-content" }, h("slot", { key: 'ce0730f3c2cbb9d89a36abe041c6a3e5780434a1' })), this.chevron && (h("ix-icon", { name: 'chevron-right', size: "16", class: "chevron-icon" }))))));
38
+ } }), h("div", { key: '0bc498d396328ac8e7a4543339d1ff6c362fd19e', class: "event-list-item-container" }, h("div", { key: '6f57320d0c1c43222527a455bdea9193b53524fb', class: "event-content" }, h("slot", { key: '15cee1c7afade0bb0fe0112bfba54c7fe70d8e1e' })), this.chevron && (h("ix-icon", { name: 'chevron-right', size: "16", class: "chevron-icon" }))))));
39
39
  }
40
40
  };
41
41
  EventListItem.style = IxEventListItemStyle0;
@@ -101,11 +101,11 @@ const EventList = class {
101
101
  });
102
102
  }
103
103
  render() {
104
- return (h(Host, { key: '6bc5d62a320af1a618b976d7a745dd1da08d5e0b', class: {
104
+ return (h(Host, { key: '89be0fbb595cea7d39e50feedb367108c2a206bb', class: {
105
105
  'item-size-s': this.itemHeight === 'S',
106
106
  'item-size-l': this.itemHeight === 'L',
107
107
  compact: this.compact,
108
- } }, h("ul", { key: 'ae28f0ca948651a677b6eff296043d9fe68f84f6' }, h("slot", { key: '3e5aaa7d87e8c72a2e83a8b086060ec86ab4fa30' }))));
108
+ } }, h("ul", { key: '1e14d4602a221795448e7216c0952b29af06c522' }, h("slot", { key: '5c55793caf21fb2f76f7019b7813a75b9746b180' }))));
109
109
  }
110
110
  get hostElement() { return getElement(this); }
111
111
  static get watchers() { return {
@@ -50,20 +50,20 @@ const ExpandingSearch = class {
50
50
  this.valueChange.emit(this.value);
51
51
  }
52
52
  render() {
53
- return (h(Host, { key: 'd354ef216d5dc5f80ce2a7a4a7ab9130afe94c0e', class: {
53
+ return (h(Host, { key: '4c4ad028a6843aa48f111eab03289f05093ff0c4', class: {
54
54
  expanded: this.expanded,
55
55
  'right-position': this.expanded,
56
56
  fullWidth: this.fullWidth,
57
- } }, h("ix-icon-button", { key: '960286296bba24fa10228927d446f23c542e3404', size: this.expanded ? '16' : '24', icon: this.icon, ghost: true, variant: "primary", "data-testid": "button", onClick: () => this.expandInput(), tabindex: this.expanded ? -1 : 0, color: this.hasFocus ? 'input-search-icon--color--focus' : undefined, class: {
57
+ } }, h("ix-icon-button", { key: 'c919f410191cb51957c1d00938cfde61193ebdd5', size: this.expanded ? '16' : '24', icon: this.icon, ghost: true, variant: "primary", "data-testid": "button", onClick: () => this.expandInput(), tabindex: this.expanded ? -1 : 0, color: this.hasFocus ? 'input-search-icon--color--focus' : undefined, class: {
58
58
  'btn-search': true,
59
59
  'btn-search--expanded': this.expanded,
60
- } }), h("div", { key: '08c1c9975d18d21a1a2f0331ac72fd44e5ed1fb2', class: {
60
+ } }), h("div", { key: 'e3c42bb3f8940113d4da24d8d235240fce59fa91', class: {
61
61
  expanded: this.expanded,
62
62
  fullWidth: this.fullWidth,
63
63
  collapsed: !this.expanded,
64
64
  'disable-pointer': !this.expanded,
65
65
  'input-container': true,
66
- }, "data-testid": "input-wrapper" }, h("input", { key: 'f2bafc86d72957c20343fbde76664c70ad1a4dc6', class: {
66
+ }, "data-testid": "input-wrapper" }, h("input", { key: 'ec9dabd6711e59f9675b3c961abdae17ea0da703', class: {
67
67
  'form-control': true,
68
68
  input: this.expanded,
69
69
  'disable-pointer': !this.expanded,
@@ -16,7 +16,7 @@ const FilterChip = class {
16
16
  this.closeClick.emit();
17
17
  }
18
18
  render() {
19
- return (h(Host, { key: '828da5a62ec5accc6b74cff38e4bfcf51de94c98', class: { disabled: this.disabled, readonly: this.readonly }, title: this.el.textContent }, h("div", { key: '8aba552ef0dee8349ab558d77db21a2c22f76f8f', class: "slot-container" }, h("slot", { key: 'a81343d2a06faf7bd6c5ca2522d40af99ee589ca' })), !this.disabled && !this.readonly ? (h("ix-icon-button", { ghost: true, oval: true, icon: 'close-small', size: "16", tabindex: this.disabled ? -1 : 0, variant: "primary", disabled: this.disabled, onClick: (e) => this.onCloseClick(e) })) : null));
19
+ return (h(Host, { key: '10df51e34656ed3b7b18e9f2a07a59c18784a3d1', class: { disabled: this.disabled, readonly: this.readonly }, title: this.el.textContent }, h("div", { key: '5a94912e2c22cbddb984b28ba0126f31c1e20165', class: "slot-container" }, h("slot", { key: '0fdc94729908b9c3a040667318dcc18d300e4176' })), !this.disabled && !this.readonly ? (h("ix-icon-button", { ghost: true, oval: true, icon: 'close-small', size: "16", tabindex: this.disabled ? -1 : 0, variant: "primary", disabled: this.disabled, onClick: (e) => this.onCloseClick(e) })) : null));
20
20
  }
21
21
  get el() { return getElement(this); }
22
22
  };
@@ -39,7 +39,7 @@ class IxSelectItemLabelChangeEvent extends CustomEvent {
39
39
  }
40
40
  }
41
41
 
42
- const selectItemCss = ":host{display:block;position:relative}:host>ix-dropdown-item{width:100%}:host .select-item-checked{background-color:var(--theme-select-list-item--background--selected);--ix-dropdown-item-checked-color:var(--theme-color-std-text)}:host(.d-none){display:none}";
42
+ const selectItemCss = ":host{display:block;position:relative}:host>ix-dropdown-item{width:100%}:host ix-dropdown-item{color:var(--theme-color-std-text)}:host .select-item-checked{background-color:var(--theme-select-list-item--background--selected);--ix-dropdown-item-checked-color:var(--theme-color-std-text)}:host(.d-none){display:none}";
43
43
  const IxSelectItemStyle0 = selectItemCss;
44
44
 
45
45
  const SelectItem = class {
@@ -72,7 +72,7 @@ const SelectItem = class {
72
72
  }));
73
73
  }
74
74
  render() {
75
- return (h(Host, { key: 'c56aa1ee5e174f9de7905bcaef381e0a8fd212a2' }, h("ix-dropdown-item", { key: '00ec7a1e52a6b17cf94ce702239fef06df0cb936', class: {
75
+ return (h(Host, { key: '3d43f9c4cc86b5820ebe0fe15c3ccd2a6a4f0f95' }, h("ix-dropdown-item", { key: 'a169c7bf3533f5203ad557b6ef52edd6ddf9c547', class: {
76
76
  'select-item-checked': this.selected,
77
77
  }, checked: this.selected, label: this.label ? this.label : this.value, onItemClick: (e) => this.onItemClick(e) })));
78
78
  }
@@ -1 +1 @@
1
- {"file":"ix-filter-chip.ix-select-item.entry.js","mappings":";;AAAA,MAAM,aAAa,GAAG,8qEAA8qE,CAAC;AACrsE,2BAAe,aAAa;;MCuBf,UAAU;;;;wBAMF,KAAK;wBAML,KAAK;;IAOhB,YAAY,CAAC,KAAY;QAC/B,KAAK,CAAC,cAAc,EAAE,CAAC;QACvB,KAAK,CAAC,eAAe,EAAE,CAAC;QACxB,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE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AC;SAC5D;KACF;IAGD,WAAW,CAAC,QAAgB,EAAE,QAAgB;QAC5C,IAAI,CAAC,WAAW,CAAC,aAAa,CAC5B,IAAI,4BAA4B,CAAC;YAC/B,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;SACnB,CAAC,CACH,CAAC;KACH;IAED,MAAM;QACJ,QACE,EAAC,IAAI,uDACH,yEACE,KAAK,EAAE;gBACL,qBAAqB,EAAE,IAAI,CAAC,QAAQ;aACrC,EACD,OAAO,EAAE,IAAI,CAAC,QAAQ,EACtB,KAAK,EAAE,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,EAC3C,WAAW,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,GACrB,CACf,EACP;KACH;;;;;;;;;;","names":[],"sources":["src/components/filter-chip/filter-chip.scss?tag=ix-filter-chip&encapsulation=shadow","src/components/filter-chip/filter-chip.tsx","src/components/select-item/events.ts","src/components/select-item/select-item.scss?tag=ix-select-item&encapsulation=shadow","src/components/select-item/select-item.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'mixins/hover';\n@import 'mixins/text-truncation';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n\n display: inline-flex;\n align-items: center;\n justify-content: space-between;\n height: $large-space;\n padding-left: $small-space;\n border: var(--theme-focus--border-thickness) solid\n var(--theme-chip-primary-outline--border-color);\n border-radius: $x-large-space;\n background-color: var(--theme-color-ghost);\n color: var(--theme-chip-primary-outline--color);\n\n .slot-container {\n @include ellipsis;\n\n :host-context(.disabled) {\n background-color: var(--theme-color-ghost);\n border-color: var(--theme-color-component-4);\n color: var(--theme-color-weak-text);\n }\n }\n\n ix-icon-button {\n height: $large-space;\n margin-left: 0.25rem;\n\n @include focus-visible {\n outline: none;\n }\n }\n}\n\n:host(.disabled) {\n border: var(--theme-focus--border-thickness) solid\n var(--theme-color-component-4);\n color: var(--theme-color-weak-text);\n padding-right: $small-space;\n\n cursor: default;\n}\n\n:host(.readonly) {\n padding-right: $small-space;\n}\n\n@include host-hover {\n background-color: var(--theme-color-ghost-primary--hover);\n border-color: var(--theme-chip-primary-outline--border-color--hover);\n color: var(--theme-chip-primary-outline--color--hover);\n}\n\n@include host-active {\n background-color: var(--theme-color-ghost-primary--active);\n border-color: var(--theme-chip-primary-outline--border-color--active);\n color: var(--theme-chip-primary-outline--color--active);\n}\n\n@include host-focus-visible {\n outline: var(--theme-color-focus-bdr) solid\n var(--theme-focus--border-thickness);\n outline-offset: -0.125rem;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n} from '@stencil/core';\n\n@Component({\n tag: 'ix-filter-chip',\n styleUrl: 'filter-chip.scss',\n shadow: true,\n})\nexport class FilterChip {\n @Element() el: HTMLIxFilterChipElement;\n\n /**\n * If true the filter chip will be in disabled state\n */\n @Prop() disabled = false;\n\n /**\n * If true the filter chip will be in readonly mode\n * @since 2.0.0\n */\n @Prop() readonly = false;\n\n /**\n * Close clicked\n */\n @Event() closeClick: EventEmitter<void>;\n\n private onCloseClick(event: Event) {\n event.preventDefault();\n event.stopPropagation();\n this.closeClick.emit();\n }\n\n render() {\n return (\n <Host\n class={{ disabled: this.disabled, readonly: this.readonly }}\n title={this.el.textContent}\n >\n <div class=\"slot-container\">\n <slot></slot>\n </div>\n {!this.disabled && !this.readonly ? (\n <ix-icon-button\n ghost\n oval\n icon={'close-small'}\n size=\"16\"\n tabindex={this.disabled ? -1 : 0}\n variant=\"primary\"\n disabled={this.disabled}\n onClick={(e) => this.onCloseClick(e)}\n ></ix-icon-button>\n ) : null}\n </Host>\n );\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nexport class IxSelectItemLabelChangeEvent extends CustomEvent<{\n oldValue: string;\n newValue: string;\n}> {\n constructor(detail: { oldValue: string; newValue: string }) {\n super('ix-select-item:labelChange', {\n bubbles: true,\n detail,\n });\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n position: relative;\n\n > ix-dropdown-item {\n width: 100%;\n }\n\n .select-item-checked {\n background-color: var(--theme-select-list-item--background--selected);\n --ix-dropdown-item-checked-color: var(--theme-color-std-text);\n }\n}\n\n:host(.d-none) {\n display: none;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n Watch,\n} from '@stencil/core';\nimport { IxSelectItemLabelChangeEvent } from './events';\n\n@Component({\n tag: 'ix-select-item',\n styleUrl: 'select-item.scss',\n shadow: true,\n})\nexport class SelectItem {\n @Element() hostElement: HTMLIxSelectItemElement;\n\n /**\n * Displayed name of the item\n */\n @Prop({ reflect: true }) label: string;\n\n /**\n * Item value\n */\n @Prop({ reflect: true }) value!: any;\n\n /**\n * 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) {\n throw Error('ix-select-item must have a `value` property');\n }\n }\n\n @Watch('label')\n labelChange(newValue: string, oldValue: string) {\n this.hostElement.dispatchEvent(\n new IxSelectItemLabelChangeEvent({\n newValue: newValue,\n oldValue: oldValue,\n })\n );\n }\n\n render() {\n return (\n <Host>\n <ix-dropdown-item\n class={{\n 'select-item-checked': this.selected,\n }}\n checked={this.selected}\n label={this.label ? this.label : this.value}\n onItemClick={(e) => this.onItemClick(e)}\n ></ix-dropdown-item>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ix-filter-chip.ix-select-item.entry.js","mappings":";;AAAA,MAAM,aAAa,GAAG,8qEAA8qE,CAAC;AACrsE,2BAAe,aAAa;;MCuBf,UAAU;;;;wBAMF,KAAK;wBAML,KAAK;;IAOhB,YAAY,CAAC,KAAY;QAC/B,KAAK,CAAC,cAAc,EAAE,CAAC;QACvB,KAAK,CAAC,eAAe,EAAE,CAAC;QACxB,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC;KACxB;IAED,MAAM;QACJ,QACE,EAAC,IAAI,qDACH,KAAK,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,EAC3D,KAAK,EAAE,IAAI,CAAC,EAAE,CAAC,WAAW,IAE1B,4DAAK,KAAK,EAAC,gBAAgB,IACzB,8DAAa,CACT,EACL,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,QAAQ,IAC/B,sBACE,KAAK,QACL,IAAI,QACJ,IAAI,EAAE,aAAa,EACnB,IAAI,EAAC,IAAI,EACT,QAAQ,EAAE,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC,GAAG,CAAC,EAChC,OAAO,EAAC,SAAS,EACjB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,CAAC,CAAC,K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filter-chip.scss?tag=ix-filter-chip&encapsulation=shadow","src/components/filter-chip/filter-chip.tsx","src/components/select-item/events.ts","src/components/select-item/select-item.scss?tag=ix-select-item&encapsulation=shadow","src/components/select-item/select-item.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'mixins/hover';\n@import 'mixins/text-truncation';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n\n display: inline-flex;\n align-items: center;\n justify-content: space-between;\n height: $large-space;\n padding-left: $small-space;\n border: var(--theme-focus--border-thickness) solid\n var(--theme-chip-primary-outline--border-color);\n border-radius: $x-large-space;\n background-color: var(--theme-color-ghost);\n color: var(--theme-chip-primary-outline--color);\n\n .slot-container {\n @include ellipsis;\n\n :host-context(.disabled) {\n background-color: var(--theme-color-ghost);\n border-color: var(--theme-color-component-4);\n color: var(--theme-color-weak-text);\n }\n }\n\n ix-icon-button {\n height: $large-space;\n margin-left: 0.25rem;\n\n @include focus-visible {\n outline: none;\n }\n }\n}\n\n:host(.disabled) {\n border: var(--theme-focus--border-thickness) solid\n var(--theme-color-component-4);\n color: var(--theme-color-weak-text);\n padding-right: $small-space;\n\n cursor: default;\n}\n\n:host(.readonly) {\n padding-right: $small-space;\n}\n\n@include host-hover {\n background-color: var(--theme-color-ghost-primary--hover);\n border-color: var(--theme-chip-primary-outline--border-color--hover);\n color: var(--theme-chip-primary-outline--color--hover);\n}\n\n@include host-active {\n background-color: var(--theme-color-ghost-primary--active);\n border-color: var(--theme-chip-primary-outline--border-color--active);\n color: var(--theme-chip-primary-outline--color--active);\n}\n\n@include host-focus-visible {\n outline: var(--theme-color-focus-bdr) solid\n var(--theme-focus--border-thickness);\n outline-offset: -0.125rem;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n} from '@stencil/core';\n\n@Component({\n tag: 'ix-filter-chip',\n styleUrl: 'filter-chip.scss',\n shadow: true,\n})\nexport class FilterChip {\n @Element() el: HTMLIxFilterChipElement;\n\n /**\n * If true the filter chip will be in disabled state\n */\n @Prop() disabled = false;\n\n /**\n * If true the filter chip will be in readonly mode\n * @since 2.0.0\n */\n @Prop() readonly = false;\n\n /**\n * Close clicked\n */\n @Event() closeClick: EventEmitter<void>;\n\n private onCloseClick(event: Event) {\n event.preventDefault();\n event.stopPropagation();\n this.closeClick.emit();\n }\n\n render() {\n return (\n <Host\n class={{ disabled: this.disabled, readonly: this.readonly }}\n title={this.el.textContent}\n >\n <div class=\"slot-container\">\n <slot></slot>\n </div>\n {!this.disabled && !this.readonly ? (\n <ix-icon-button\n ghost\n oval\n icon={'close-small'}\n size=\"16\"\n tabindex={this.disabled ? -1 : 0}\n variant=\"primary\"\n disabled={this.disabled}\n onClick={(e) => this.onCloseClick(e)}\n ></ix-icon-button>\n ) : null}\n </Host>\n );\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nexport class IxSelectItemLabelChangeEvent extends CustomEvent<{\n oldValue: string;\n newValue: string;\n}> {\n constructor(detail: { oldValue: string; newValue: string }) {\n super('ix-select-item:labelChange', {\n bubbles: true,\n detail,\n });\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n position: relative;\n\n > ix-dropdown-item {\n width: 100%;\n }\n\n ix-dropdown-item {\n color: var(--theme-color-std-text);\n }\n\n .select-item-checked {\n background-color: var(--theme-select-list-item--background--selected);\n --ix-dropdown-item-checked-color: var(--theme-color-std-text);\n }\n}\n\n:host(.d-none) {\n display: none;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n Watch,\n} from '@stencil/core';\nimport { IxSelectItemLabelChangeEvent } from './events';\n\n@Component({\n tag: 'ix-select-item',\n styleUrl: 'select-item.scss',\n shadow: true,\n})\nexport class SelectItem {\n @Element() hostElement: HTMLIxSelectItemElement;\n\n /**\n * Displayed name of the item\n */\n @Prop({ reflect: true }) label: string;\n\n /**\n * Item value\n */\n @Prop({ reflect: true }) value!: any;\n\n /**\n * 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) {\n throw Error('ix-select-item must have a `value` property');\n }\n }\n\n @Watch('label')\n labelChange(newValue: string, oldValue: string) {\n this.hostElement.dispatchEvent(\n new IxSelectItemLabelChangeEvent({\n newValue: newValue,\n oldValue: oldValue,\n })\n );\n }\n\n render() {\n return (\n <Host>\n <ix-dropdown-item\n class={{\n 'select-item-checked': this.selected,\n }}\n checked={this.selected}\n label={this.label ? this.label : this.value}\n onItemClick={(e) => this.onItemClick(e)}\n ></ix-dropdown-item>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -9,7 +9,7 @@ const FlipTileContent = class {
9
9
  this.contentVisible = false;
10
10
  }
11
11
  render() {
12
- return h(Host, { key: '861c12c524efa42bdcf52922898ceb4fd367ffb0' }, this.contentVisible ? h("slot", null) : null);
12
+ return h(Host, { key: 'e92abcbb8b1cfdeb739ee4933f6ed66a6c2a7dc5' }, this.contentVisible ? h("slot", null) : null);
13
13
  }
14
14
  };
15
15
  FlipTileContent.style = IxFlipTileContentStyle0;
@@ -56,26 +56,26 @@ const FlipTile = class {
56
56
  }, 2 * this.ANIMATION_DURATION);
57
57
  }
58
58
  render() {
59
- return (h(Host, { key: 'ce09b1e9ed6bed31afff8feb5331bae2fd9c4206', style: {
59
+ return (h(Host, { key: 'f48c8fa439a5b38b06fbda02e4185aa4195dcba5', style: {
60
60
  height: `${this.height}${this.height === 'auto' ? '' : 'rem'}`,
61
61
  'min-height': `${this.height}${this.height === 'auto' ? '' : 'rem'}`,
62
62
  'max-height': `${this.height}${this.height === 'auto' ? '' : 'rem'}`,
63
63
  width: `${this.width}${this.width === 'auto' ? '' : 'rem'}`,
64
64
  'min-width': `${this.width}${this.width === 'auto' ? '' : 'rem'}`,
65
65
  'max-width': `${this.width}${this.width === 'auto' ? '' : 'rem'}`,
66
- } }, h("div", { key: '7b05701a4d284b7bf5df7506d05740ceeeee7721', class: {
66
+ } }, h("div", { key: 'fc676886cdf565c7cc121640b37c579eb1ea2f64', class: {
67
67
  'flip-tile-container': true,
68
68
  info: this.state === FlipTileState.Info,
69
69
  warning: this.state === FlipTileState.Warning,
70
70
  alarm: this.state === FlipTileState.Alarm,
71
71
  primary: this.state === FlipTileState.Primary,
72
72
  'flip-animation-active': this.isFlipAnimationActive,
73
- } }, h("div", { key: 'ce614d5f1fc065d74b6918cfa3f4f3299700ac4b', class: "flip-tile-header" }, h("div", { key: '0c21600adb7f402fe9930813148f924e87143bfe', class: "header-slot-container text-l-title" }, h("slot", { key: '7eca17dff980859c83891d7f2b90192e21dc25ec', name: "header" })), h("ix-icon-button", { key: '8940db181c5db54ccba409fd42d57f08a7dd665b', icon: 'eye', variant: "primary", ghost: true, onClick: () => this.toggleIndex() })), h("div", { key: 'c449e4aabde02243da7b5ab6b68ebd128708b929', class: "content-container" }, h("slot", { key: '7931ffd8b5428c865f5da4481d6641addd11928d' })), h("div", { key: '71061185c12c66f664b05775cf1c204bbfd273dc', class: {
73
+ } }, h("div", { key: '036a5f9b336796232c649a0c1718601ccd5c46b5', class: "flip-tile-header" }, h("div", { key: '3eb347f451cf27f614f855eee99f8562fc4aa785', class: "header-slot-container text-l-title" }, h("slot", { key: '563785f622191f0692f3790f3a908125e30e7276', name: "header" })), h("ix-icon-button", { key: '9a52873d2890f187d3a2c940688bbd000e676233', icon: 'eye', variant: "primary", ghost: true, onClick: () => this.toggleIndex() })), h("div", { key: '0efc4537aa97d3b79459141678dc180a140bd658', class: "content-container" }, h("slot", { key: '1c7035e6e29731a2f192a37f1d86985c3c219220' })), h("div", { key: '2d1f20e35490d7f87b1d70cb9783268c5f1dc270', class: {
74
74
  footer: true,
75
75
  'contrast-light': this.state === FlipTileState.Warning,
76
76
  'contrast-dark': this.state === FlipTileState.Info ||
77
77
  this.state === FlipTileState.Alarm,
78
- } }, h("slot", { key: 'b4ce29eae8a575c65a0d4fbb323f52ef6edff62d', name: "footer" })))));
78
+ } }, h("slot", { key: '074e8bcae63f134dab5623df0682c754e3212159', name: "footer" })))));
79
79
  }
80
80
  get hostElement() { return getElement(this); }
81
81
  };
@@ -13,7 +13,7 @@ const FormField = class {
13
13
  }
14
14
  componentWillLoad() { }
15
15
  render() {
16
- return (h(Host, { key: '6b94db9e2ce60a80ccf1f64463fabcf6c432ad70' }, this.label ? (h("label", { htmlFor: this.inputElement.id }, this.label)) : null, h("slot", { key: '7dd324c00fa1fddd947739ec7f4e3a77a10ceaf8' })));
16
+ return (h(Host, { key: '84f5465600ed945caa31926c700957a4e1b7e43e' }, this.label ? (h("label", { htmlFor: this.inputElement.id }, this.label)) : null, h("slot", { key: 'c57485ac6285e411275e9e7fafeb6aa3b3e96ee3' })));
17
17
  }
18
18
  get hostElement() { return getElement(this); }
19
19
  };
@@ -34,7 +34,7 @@ const GroupContextMenu = class {
34
34
  this.configureDropdown(dropdownElement, triggerElement);
35
35
  }
36
36
  render() {
37
- return (h(Host, { key: '7b561df4adbe4906b1f4dbc4c50fab9788ec30c9' }, h("ix-icon-button", { key: '602b724690fb58e3261710002ef95fff2ef28c25', class: { hide: !this.showContextMenu }, size: "24", ghost: true, icon: 'context-menu' }), h("slot", { key: '0d42add312838be530623029430bc1007ba08a5a', onSlotchange: () => this.onSlotChange() })));
37
+ return (h(Host, { key: 'f709297153c95aae9ae99750d6eef9bb93b6e93b' }, h("ix-icon-button", { key: 'da299782cd2d0fbf3da4ffebedbd69f3a5f24bf9', class: { hide: !this.showContextMenu }, size: "24", ghost: true, icon: 'context-menu' }), h("slot", { key: '8557ba5e78f8098a9defdf3f966e83046522c2ae', onSlotchange: () => this.onSlotChange() })));
38
38
  }
39
39
  get hostElement() { return getElement(this); }
40
40
  };
@@ -62,10 +62,10 @@ const GroupItem = class {
62
62
  this.selectedChanged.emit(this.hostElement);
63
63
  }
64
64
  render() {
65
- return (h(Host, { key: '7cfbff33c26c7dbd32d0d3616b115bf876026beb', class: {
65
+ return (h(Host, { key: '510249c40eb513c0cad7ad186f94311e86b99c1c', class: {
66
66
  selected: this.selected && !this.suppressSelection,
67
67
  'suppress-selection': this.suppressSelection,
68
- } }, h("button", { key: 'e6c9e6094dd24a417f49f18aceb32b6504f83f6b', tabindex: this.focusable ? 0 : -1 }, h("div", { key: '9c736883c42fc5d39f36f9fbb6c39d01624ba8ed', class: "group-entry-selection-indicator" }), this.icon ? h("ix-icon", { size: "16", name: this.icon }) : null, this.text ? (h("span", { class: "group-entry-text" }, h("span", { title: this.text }, this.text))) : null, this.secondaryText ? (h("span", { class: "group-entry-text-secondary" }, h("span", { title: this.secondaryText }, this.secondaryText))) : null, h("slot", { key: '770f048023b4ecca5302d7d11162ed4670e8db16' }))));
68
+ } }, h("button", { key: '58314b961969fc828b490a251eb3fc991b332356', tabindex: this.focusable ? 0 : -1 }, h("div", { key: '3b643550562e7368c87e4b6443a51902f63da7d5', class: "group-entry-selection-indicator" }), this.icon ? h("ix-icon", { size: "16", name: this.icon }) : null, this.text ? (h("span", { class: "group-entry-text" }, h("span", { title: this.text }, this.text))) : null, this.secondaryText ? (h("span", { class: "group-entry-text-secondary" }, h("span", { title: this.secondaryText }, this.secondaryText))) : null, h("slot", { key: '1314f12170969fd85675165af10b1bff1048f8a5' }))));
69
69
  }
70
70
  get hostElement() { return getElement(this); }
71
71
  };
@@ -100,16 +100,16 @@ const Group = class {
100
100
  }
101
101
  }
102
102
  render() {
103
- return (h(Host, { key: 'bda6803545577fefae47c47adbec8a9386096713' }, h("div", { key: '767084cb393dfd58a2f4af2a66167c4a8b29c942', class: {
103
+ return (h(Host, { key: '50658e58108e551e704d40f5658e8bf405908841' }, h("div", { key: '7c6dd6d17182f417b7b8845a1caebfc42b2a4ae3', class: {
104
104
  'group-header': true,
105
105
  expand: !this.collapsed,
106
106
  selected: this.selected,
107
- }, tabindex: "0" }, h("div", { key: 'a4ab69fe6407477a4b47ec615e592bd8725a4a7c', class: "group-header-clickable", onClick: (e) => this.onHeaderClick(e) }, h("div", { key: '230227a102bd5397b4b54f65a517ad03e8affb71', class: {
107
+ }, tabindex: "0" }, h("div", { key: '82064c34500593f4dddc2f5766466e48239b6558', class: "group-header-clickable", onClick: (e) => this.onHeaderClick(e) }, h("div", { key: '551ad7dcd5b93652012ca16f8e6df6a029e9de3e', class: {
108
108
  'group-header-selection-indicator': true,
109
109
  'group-header-selection-indicator-item-selected': this.itemSelected,
110
- } }), h("div", { key: '795295a972e0df5e77ad71f91d1b6d9c6290335c', class: "btn-expand-header" }, h("ix-icon", { key: 'f1e0de9ab7ad78eaa769545964d28e3dd48f3d5d', class: {
110
+ } }), h("div", { key: '551174d9914334ad390798ae0483237dedebcd73', class: "btn-expand-header" }, h("ix-icon", { key: '0b86cb98fcb9022a77f855ba34166012a2693a4a', class: {
111
111
  hidden: this.slotSize === 0,
112
- }, name: this.collapsed ? 'chevron-right-small' : 'chevron-down-small', onClick: (e) => this.onExpandClick(e) })), h("div", { key: 'e067c4232cfd54b8071f4e713d25b59f7b4b8571', class: "group-header-content" }, this.header ? (h("div", { class: "group-header-props-container" }, h("div", { class: "group-header-title" }, h("span", { title: this.header }, this.header)), h("div", { class: "group-subheader", title: this.subHeader }, this.subHeader))) : null, h("slot", { key: 'f4d0abe144cc870db4393aa5c06bc455a8213e26', name: "header" }))), h("ix-group-context-menu", { key: 'c53d7dc2d6f8edb497f8d03484fee968c7e92539' }, h("slot", { key: '3b145e25ce63ae7396b1d4ecff254345b664ddca', name: "dropdown" }))), h("div", { key: 'b3e1900cf5a41383899f7ff97583898070be7ed7', class: {
112
+ }, name: this.collapsed ? 'chevron-right-small' : 'chevron-down-small', onClick: (e) => this.onExpandClick(e) })), h("div", { key: '39717ec88f2e53e9a9f4f48e2e7245637ec00653', class: "group-header-content" }, this.header ? (h("div", { class: "group-header-props-container" }, h("div", { class: "group-header-title" }, h("span", { title: this.header }, this.header)), h("div", { class: "group-subheader", title: this.subHeader }, this.subHeader))) : null, h("slot", { key: '2b33b0c9c50099f7d904ed1bf8787acd888ad24d', name: "header" }))), h("ix-group-context-menu", { key: 'cd1268faa06b30f4292cbf988c041da0f0738e8d' }, h("slot", { key: '6152c5bb0e8831ccba53067d4aac1350027e208b', name: "dropdown" }))), h("div", { key: '7682ad50798d4839c71e79d88761cda57cf06801', class: {
113
113
  'group-content': true,
114
114
  } }, !this.collapsed ? (h(Fragment, null, h("slot", null), h("ix-group-item", { suppressSelection: true, focusable: false, class: {
115
115
  footer: true,
@@ -67,7 +67,7 @@ const IconButton = class {
67
67
  type: this.type,
68
68
  extraClasses: this.getIconSizeClass(),
69
69
  };
70
- return (h(Host, { key: '7da24896eae7dce5de64057e70c6d996681d60b7', class: Object.assign(Object.assign({}, this.getIconSizeClass()), { disabled: this.disabled || this.loading }) }, h(BaseIconButton, Object.assign({ key: '067f21e0afca8fb01ea374d60fe51560ec203228' }, baseButtonProps))));
70
+ return (h(Host, { key: '2990b79a4d4b413e844a3c2ab4b0a4604464eeeb', class: Object.assign(Object.assign({}, this.getIconSizeClass()), { disabled: this.disabled || this.loading }) }, h(BaseIconButton, Object.assign({ key: 'a2983c635bf15e0d7a866d17309be343d78e9aa6' }, baseButtonProps))));
71
71
  }
72
72
  get hostElement() { return getElement(this); }
73
73
  };
@@ -84,7 +84,7 @@ const Spinner = class {
84
84
  this.hideTrack = false;
85
85
  }
86
86
  render() {
87
- return (h(Host, { key: '764ff87a7fd663a12419610e551a54778bd7700a', class: {
87
+ return (h(Host, { key: 'fce135db438427cf948004c96dcee4c044cd1a98', class: {
88
88
  primary: this.variant === 'primary',
89
89
  'xx-small': this.size === 'xx-small',
90
90
  'x-small': this.size === 'x-small',
@@ -69,7 +69,7 @@ const IconToggleButton = class {
69
69
  extraClasses: Object.assign({ 'icon-button': true }, this.getIconSizeClass()),
70
70
  };
71
71
  console.log(baseButtonProps, this.disabled, this.loading);
72
- return (h(Host, { key: '0c195dca24a6e0ec78e2165ffa5c8d7c89484935', class: Object.assign(Object.assign({}, this.getIconSizeClass()), { disabled: this.disabled || this.loading }) }, h(BaseIconButton, Object.assign({ key: 'd97b5d763eaee5f22ca8752480e441fc6ae9a444' }, baseButtonProps))));
72
+ return (h(Host, { key: '86f8d6e28705fe03d3a918e8452f62b18fc1ee01', class: Object.assign(Object.assign({}, this.getIconSizeClass()), { disabled: this.disabled || this.loading }) }, h(BaseIconButton, Object.assign({ key: '5e4379a3bbb5fe48603b520a268d51b9703540f8' }, baseButtonProps))));
73
73
  }
74
74
  get hostElement() { return getElement(this); }
75
75
  static get watchers() { return {
@@ -115,7 +115,7 @@ const InputGroup = class {
115
115
  return width;
116
116
  }
117
117
  render() {
118
- return (h(Host, { key: 'e6da076846905dfc765c61e7013f5d3661a32845' }, h("div", { key: '74b8fdf8c0dec9b87fc687036ffb2b3c9856c8c1', class: "group group-start" }, h("slot", { key: 'e807551ee9bf366867bb5c3177759155cbb27c84', name: "input-start" })), h("slot", { key: '9072e4cfd9bb3beeff731b1ce67c02a32ed51f7b' }), h("div", { key: '84484ed6357e0aa40515480d409f5fcbf59fa1f8', class: "group group-end" }, h("slot", { key: '34d4fcbf02cf62b1922e20d403d1a52a145f1cd9', name: "input-end" }))));
118
+ return (h(Host, { key: '6c305a387eab52c23cff873efb217835cb6552fa' }, h("div", { key: 'db0c738d7a46099408b419a27bc00b8417d3c365', class: "group group-start" }, h("slot", { key: '63c34ce0364cb706b008d50ccf0f56e6fd79dd98', name: "input-start" })), h("slot", { key: '1aac71bae49371f2974dac8f2e9b88df12fd57cb' }), h("div", { key: '552f38ecce4f5db61b108f3a1f8badc52fe546ea', class: "group group-end" }, h("slot", { key: 'e4074cd35b74ec82b7413f11e2c21a8896def99e', name: "input-end" }))));
119
119
  }
120
120
  get hostElement() { return getElement(this); }
121
121
  };
@@ -9,7 +9,7 @@ const KeyValueList = class {
9
9
  this.striped = undefined;
10
10
  }
11
11
  render() {
12
- return (h(Host, { key: '46642ccf687b608a8db31936f492e56c6e360cb7', class: { keyValueList: true, 'keyValueList--striped': this.striped } }, h("slot", { key: '9888ad2f28136d0f354e1d14087fbcdd4d65c946' })));
12
+ return (h(Host, { key: '8d21b4ebf885e1ca21fddb7c6dc94b7d46940f95', class: { keyValueList: true, 'keyValueList--striped': this.striped } }, h("slot", { key: '782c4a007ea866740087f022bf7c6661aa8eea5a' })));
13
13
  }
14
14
  };
15
15
  KeyValueList.style = IxKeyValueListStyle0;