@siemens/ix 0.0.0-pr-1373-20240705054533 → 0.0.0-pr-1522-20241021144048

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 (1191) hide show
  1. package/components/a11y.js +1 -1
  2. package/components/a11y.js.map +1 -1
  3. package/components/application-header.js +51 -15
  4. package/components/application-header.js.map +1 -1
  5. package/components/avatar.js +1 -1
  6. package/components/avatar.js.map +1 -1
  7. package/components/base-button.js +2 -2
  8. package/components/base-button.js.map +1 -1
  9. package/components/button.js +2 -2
  10. package/components/button.js.map +1 -1
  11. package/components/card-accordion.js +6 -6
  12. package/components/card-accordion.js.map +1 -1
  13. package/components/card-content.js +1 -1
  14. package/components/card-title.js +1 -1
  15. package/components/card.js +4 -4
  16. package/components/card.js.map +1 -1
  17. package/components/col.js +1 -1
  18. package/components/col.js.map +1 -1
  19. package/components/context.js +6 -3
  20. package/components/context.js.map +1 -1
  21. package/components/date-picker.js +53 -41
  22. package/components/date-picker.js.map +1 -1
  23. package/components/date-time-card.js +1 -1
  24. package/components/divider.js +1 -1
  25. package/components/dropdown-controller.js +148 -0
  26. package/components/dropdown-controller.js.map +1 -0
  27. package/components/dropdown-item.js +4 -4
  28. package/components/dropdown-item.js.map +1 -1
  29. package/components/dropdown.js +117 -203
  30. package/components/dropdown.js.map +1 -1
  31. package/components/filter-chip.js +1 -1
  32. package/components/floating-ui.dom.esm.js +533 -60
  33. package/components/floating-ui.dom.esm.js.map +1 -1
  34. package/components/group-context-menu.js +1 -1
  35. package/components/group-context-menu.js.map +1 -1
  36. package/components/group-item.js +4 -8
  37. package/components/group-item.js.map +1 -1
  38. package/components/icon-button.js +1 -1
  39. package/components/index.js +1 -0
  40. package/components/index.js.map +1 -1
  41. package/components/ix-action-card.js +1 -1
  42. package/components/ix-action-card.js.map +1 -1
  43. package/components/ix-application-sidebar.js +1 -1
  44. package/components/ix-application-switch-modal.js +1 -1
  45. package/components/ix-application.js +4 -4
  46. package/components/ix-application.js.map +1 -1
  47. package/components/ix-basic-navigation.js +18 -12
  48. package/components/ix-basic-navigation.js.map +1 -1
  49. package/components/ix-blind.js +5 -5
  50. package/components/ix-blind.js.map +1 -1
  51. package/components/ix-breadcrumb.js +9 -10
  52. package/components/ix-breadcrumb.js.map +1 -1
  53. package/components/ix-card-list.js +6 -6
  54. package/components/ix-card-list.js.map +1 -1
  55. package/components/ix-category-filter.js +129 -71
  56. package/components/ix-category-filter.js.map +1 -1
  57. package/components/ix-chip.js +4 -4
  58. package/components/ix-chip.js.map +1 -1
  59. package/components/ix-content-header.js +2 -2
  60. package/components/ix-content-header.js.map +1 -1
  61. package/components/ix-content.js +3 -3
  62. package/components/ix-css-grid-item.js +1 -1
  63. package/components/ix-css-grid.js +8 -3
  64. package/components/ix-css-grid.js.map +1 -1
  65. package/components/ix-date-dropdown.js +25 -16
  66. package/components/ix-date-dropdown.js.map +1 -1
  67. package/components/ix-datetime-picker.js +1 -1
  68. package/components/ix-drawer.js +2 -2
  69. package/components/ix-dropdown-button.js +5 -7
  70. package/components/ix-dropdown-button.js.map +1 -1
  71. package/components/ix-dropdown-header.js +1 -1
  72. package/components/ix-dropdown-header.js.map +1 -1
  73. package/components/ix-dropdown-quick-actions.js +1 -1
  74. package/components/ix-empty-state.js +1 -1
  75. package/components/ix-empty-state.js.map +1 -1
  76. package/components/ix-event-list-item.js +4 -4
  77. package/components/ix-event-list.js +2 -2
  78. package/components/ix-expanding-search.js +4 -4
  79. package/components/ix-flip-tile-content.js +1 -1
  80. package/components/ix-flip-tile.js +4 -4
  81. package/components/ix-form-field.js +2 -2
  82. package/components/ix-form-field.js.map +1 -1
  83. package/components/ix-group.js +69 -44
  84. package/components/ix-group.js.map +1 -1
  85. package/components/ix-icon-toggle-button.js +1 -2
  86. package/components/ix-icon-toggle-button.js.map +1 -1
  87. package/components/ix-input-group.js +1 -1
  88. package/components/ix-key-value-list.js +1 -1
  89. package/components/ix-key-value.js +1 -1
  90. package/components/ix-kpi.js +3 -3
  91. package/components/ix-kpi.js.map +1 -1
  92. package/components/ix-link-button.js +3 -3
  93. package/components/ix-map-navigation.js +21 -15
  94. package/components/ix-map-navigation.js.map +1 -1
  95. package/components/ix-menu-about-item.js +1 -1
  96. package/components/ix-menu-about-news.js +4 -4
  97. package/components/ix-menu-about-news.js.map +1 -1
  98. package/components/ix-menu-about.js +1 -1
  99. package/components/ix-menu-avatar.js +2 -2
  100. package/components/ix-menu-category.js +5 -5
  101. package/components/ix-menu-category.js.map +1 -1
  102. package/components/ix-menu-settings-item.js +1 -1
  103. package/components/ix-menu.js +12 -12
  104. package/components/ix-menu.js.map +1 -1
  105. package/components/ix-message-bar.js +1 -1
  106. package/components/ix-modal-example.js +1 -1
  107. package/components/ix-modal-footer.js +1 -1
  108. package/components/ix-modal-loading.js +1 -1
  109. package/components/ix-modal.js +11 -4
  110. package/components/ix-modal.js.map +1 -1
  111. package/components/ix-pagination.js +3 -3
  112. package/components/ix-pagination.js.map +1 -1
  113. package/components/ix-pane-layout.js +1 -1
  114. package/components/ix-pane.js +6 -6
  115. package/components/ix-pane.js.map +1 -1
  116. package/components/ix-pill.js +4 -4
  117. package/components/ix-pill.js.map +1 -1
  118. package/components/ix-playground-internal.js +1 -1
  119. package/components/ix-playground-internal.js.map +1 -1
  120. package/components/ix-push-card.js +1 -1
  121. package/components/ix-push-card.js.map +1 -1
  122. package/components/ix-slider.js +21 -14
  123. package/components/ix-slider.js.map +1 -1
  124. package/components/ix-split-button-item.js +1 -1
  125. package/components/ix-split-button.js +1 -1
  126. package/components/ix-tile.js +4 -4
  127. package/components/ix-tile.js.map +1 -1
  128. package/components/ix-toast-container.js +2 -2
  129. package/components/ix-toast-container.js.map +1 -1
  130. package/components/ix-toggle-button.js +2 -2
  131. package/components/ix-toggle.js +2 -2
  132. package/components/ix-tree.js +21 -7
  133. package/components/ix-tree.js.map +1 -1
  134. package/components/ix-upload.js +60 -4
  135. package/components/ix-upload.js.map +1 -1
  136. package/components/ix-validation-tooltip.js +2 -2
  137. package/components/ix-workflow-step.js +3 -3
  138. package/components/ix-workflow-step.js.map +1 -1
  139. package/components/ix-workflow-steps.js +1 -1
  140. package/components/ix-workflow-steps.js.map +1 -1
  141. package/components/layout-grid.js +2 -2
  142. package/components/layout-grid.js.map +1 -1
  143. package/components/listener.js +2 -2
  144. package/components/listener.js.map +1 -1
  145. package/components/logical-filter-operator.js +1 -1
  146. package/components/logical-filter-operator.js.map +1 -1
  147. package/components/make-ref.js +7 -12
  148. package/components/make-ref.js.map +1 -1
  149. package/components/map-navigation-overlay.js +2 -2
  150. package/components/menu-avatar-item.js +1 -1
  151. package/components/menu-expand-icon.js +1 -1
  152. package/components/menu-expand-icon.js.map +1 -1
  153. package/components/menu-item.js +14 -14
  154. package/components/menu-item.js.map +1 -1
  155. package/components/menu-tabs-fc.js +17 -14
  156. package/components/menu-tabs-fc.js.map +1 -1
  157. package/components/modal-content.js +2 -2
  158. package/components/modal-content.js.map +1 -1
  159. package/components/modal-header.js +2 -2
  160. package/components/modal-header.js.map +1 -1
  161. package/components/row.js +1 -1
  162. package/components/row.js.map +1 -1
  163. package/components/select-item.js +1 -1
  164. package/components/select.js +83 -73
  165. package/components/select.js.map +1 -1
  166. package/components/shadow-dom.js +1 -1
  167. package/components/shadow-dom.js.map +1 -1
  168. package/components/spinner.js +1 -1
  169. package/components/tab-item.js +3 -3
  170. package/components/tab-item.js.map +1 -1
  171. package/components/tabs.js +77 -43
  172. package/components/tabs.js.map +1 -1
  173. package/components/theme-switcher.js +1 -0
  174. package/components/theme-switcher.js.map +1 -1
  175. package/components/time-picker.js +4 -4
  176. package/components/time-picker.js.map +1 -1
  177. package/components/toast.js +2 -2
  178. package/components/toast.js.map +1 -1
  179. package/components/tooltip.js +25 -23
  180. package/components/tooltip.js.map +1 -1
  181. package/components/tree-item.js +8 -8
  182. package/components/tree-item.js.map +1 -1
  183. package/components/typography.js +3 -25
  184. package/components/typography.js.map +1 -1
  185. package/dist/cjs/{a11y-d3ce56d1.js → a11y-eba397e8.js} +2 -2
  186. package/dist/cjs/{a11y-d3ce56d1.js.map → a11y-eba397e8.js.map} +1 -1
  187. package/dist/cjs/{base-button-3735b8c2.js → base-button-a472cf2f.js} +3 -3
  188. package/dist/cjs/base-button-a472cf2f.js.map +1 -0
  189. package/dist/cjs/{base-icon-button-44c72bc8.js → base-icon-button-9ff5faad.js} +2 -2
  190. package/dist/cjs/{base-icon-button-44c72bc8.js.map → base-icon-button-9ff5faad.js.map} +1 -1
  191. package/dist/cjs/{context-98f4a0b3.js → context-6644f454.js} +7 -4
  192. package/dist/cjs/context-6644f454.js.map +1 -0
  193. package/dist/cjs/disposable-event-listener-1ed769b9.js +20 -0
  194. package/dist/cjs/disposable-event-listener-1ed769b9.js.map +1 -0
  195. package/dist/cjs/dropdown-controller-1781ef55.js +151 -0
  196. package/dist/cjs/dropdown-controller-1781ef55.js.map +1 -0
  197. package/dist/cjs/{floating-ui.dom.esm-94b4d17c.js → floating-ui.dom.esm-9dde6cd6.js} +534 -60
  198. package/dist/cjs/floating-ui.dom.esm-9dde6cd6.js.map +1 -0
  199. package/dist/cjs/{focus-9c8ffbb0.js → focus-83f8f1ba.js} +21 -18
  200. package/dist/cjs/focus-83f8f1ba.js.map +1 -0
  201. package/dist/cjs/index.cjs.js +4 -3
  202. package/dist/cjs/index.cjs.js.map +1 -1
  203. package/dist/cjs/ix-action-card.cjs.entry.js +1 -1
  204. package/dist/cjs/ix-action-card.cjs.entry.js.map +1 -1
  205. package/dist/cjs/ix-application-header.cjs.entry.js +34 -8
  206. package/dist/cjs/ix-application-header.cjs.entry.js.map +1 -1
  207. package/dist/cjs/ix-application-sidebar.cjs.entry.js +1 -1
  208. package/dist/cjs/ix-application-switch-modal.cjs.entry.js +1 -1
  209. package/dist/cjs/ix-application.cjs.entry.js +7 -7
  210. package/dist/cjs/ix-application.cjs.entry.js.map +1 -1
  211. package/dist/cjs/ix-avatar_2.cjs.entry.js +5 -5
  212. package/dist/cjs/ix-avatar_2.cjs.entry.js.map +1 -1
  213. package/dist/cjs/ix-basic-navigation.cjs.entry.js +3 -3
  214. package/dist/cjs/ix-basic-navigation.cjs.entry.js.map +1 -1
  215. package/dist/cjs/ix-blind.cjs.entry.js +6 -6
  216. package/dist/cjs/ix-blind.cjs.entry.js.map +1 -1
  217. package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +2 -2
  218. package/dist/cjs/ix-breadcrumb.cjs.entry.js +10 -9
  219. package/dist/cjs/ix-breadcrumb.cjs.entry.js.map +1 -1
  220. package/dist/cjs/ix-button.cjs.entry.js +3 -3
  221. package/dist/cjs/ix-button.cjs.entry.js.map +1 -1
  222. package/dist/cjs/ix-card-accordion_2.cjs.entry.js +7 -7
  223. package/dist/cjs/ix-card-accordion_2.cjs.entry.js.map +1 -1
  224. package/dist/cjs/ix-card-list.cjs.entry.js +6 -6
  225. package/dist/cjs/ix-card-list.cjs.entry.js.map +1 -1
  226. package/dist/cjs/ix-card_2.cjs.entry.js +5 -5
  227. package/dist/cjs/ix-card_2.cjs.entry.js.map +1 -1
  228. package/dist/cjs/ix-category-filter.cjs.entry.js +131 -71
  229. package/dist/cjs/ix-category-filter.cjs.entry.js.map +1 -1
  230. package/dist/cjs/ix-chip.cjs.entry.js +4 -4
  231. package/dist/cjs/ix-chip.cjs.entry.js.map +1 -1
  232. package/dist/cjs/ix-col_4.cjs.entry.js +58 -42
  233. package/dist/cjs/ix-col_4.cjs.entry.js.map +1 -1
  234. package/dist/cjs/ix-content-header.cjs.entry.js +2 -2
  235. package/dist/cjs/ix-content-header.cjs.entry.js.map +1 -1
  236. package/dist/cjs/ix-content.cjs.entry.js +4 -4
  237. package/dist/cjs/ix-css-grid-item.cjs.entry.js +1 -1
  238. package/dist/cjs/ix-css-grid.cjs.entry.js +8 -3
  239. package/dist/cjs/ix-css-grid.cjs.entry.js.map +1 -1
  240. package/dist/cjs/ix-date-dropdown.cjs.entry.js +25 -15
  241. package/dist/cjs/ix-date-dropdown.cjs.entry.js.map +1 -1
  242. package/dist/cjs/ix-date-time-card.cjs.entry.js +1 -1
  243. package/dist/cjs/ix-datetime-picker.cjs.entry.js +1 -1
  244. package/dist/cjs/ix-divider.cjs.entry.js +1 -1
  245. package/dist/cjs/ix-drawer.cjs.entry.js +2 -2
  246. package/dist/cjs/ix-dropdown-button.cjs.entry.js +4 -5
  247. package/dist/cjs/ix-dropdown-button.cjs.entry.js.map +1 -1
  248. package/dist/cjs/ix-dropdown-header.cjs.entry.js +1 -1
  249. package/dist/cjs/ix-dropdown-header.cjs.entry.js.map +1 -1
  250. package/dist/cjs/ix-dropdown-item.cjs.entry.js +4 -4
  251. package/dist/cjs/ix-dropdown-item.cjs.entry.js.map +1 -1
  252. package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +1 -1
  253. package/dist/cjs/ix-dropdown.cjs.entry.js +95 -196
  254. package/dist/cjs/ix-dropdown.cjs.entry.js.map +1 -1
  255. package/dist/cjs/ix-empty-state.cjs.entry.js +1 -1
  256. package/dist/cjs/ix-empty-state.cjs.entry.js.map +1 -1
  257. package/dist/cjs/ix-event-list-item.cjs.entry.js +5 -5
  258. package/dist/cjs/ix-event-list.cjs.entry.js +2 -2
  259. package/dist/cjs/ix-expanding-search.cjs.entry.js +4 -4
  260. package/dist/cjs/ix-filter-chip_2.cjs.entry.js +2 -2
  261. package/dist/cjs/ix-flip-tile-content.cjs.entry.js +1 -1
  262. package/dist/cjs/ix-flip-tile.cjs.entry.js +4 -4
  263. package/dist/cjs/ix-form-field.cjs.entry.js +2 -2
  264. package/dist/cjs/ix-form-field.cjs.entry.js.map +1 -1
  265. package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +6 -10
  266. package/dist/cjs/ix-group-context-menu_2.cjs.entry.js.map +1 -1
  267. package/dist/cjs/ix-group.cjs.entry.js +68 -44
  268. package/dist/cjs/ix-group.cjs.entry.js.map +1 -1
  269. package/dist/cjs/ix-icon-button_2.cjs.entry.js +5 -5
  270. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +4 -5
  271. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js.map +1 -1
  272. package/dist/cjs/ix-input-group.cjs.entry.js +2 -2
  273. package/dist/cjs/ix-key-value-list.cjs.entry.js +1 -1
  274. package/dist/cjs/ix-key-value.cjs.entry.js +1 -1
  275. package/dist/cjs/ix-kpi.cjs.entry.js +3 -3
  276. package/dist/cjs/ix-kpi.cjs.entry.js.map +1 -1
  277. package/dist/cjs/ix-link-button.cjs.entry.js +3 -3
  278. package/dist/cjs/ix-map-navigation-overlay.cjs.entry.js +2 -2
  279. package/dist/cjs/ix-map-navigation.cjs.entry.js +4 -4
  280. package/dist/cjs/ix-map-navigation.cjs.entry.js.map +1 -1
  281. package/dist/cjs/ix-menu-about-item.cjs.entry.js +1 -1
  282. package/dist/cjs/ix-menu-about-news.cjs.entry.js +4 -4
  283. package/dist/cjs/ix-menu-about-news.cjs.entry.js.map +1 -1
  284. package/dist/cjs/ix-menu-about.cjs.entry.js +2 -2
  285. package/dist/cjs/ix-menu-avatar.cjs.entry.js +3 -3
  286. package/dist/cjs/ix-menu-category.cjs.entry.js +6 -6
  287. package/dist/cjs/ix-menu-category.cjs.entry.js.map +1 -1
  288. package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +3 -3
  289. package/dist/cjs/ix-menu-expand-icon.cjs.entry.js.map +1 -1
  290. package/dist/cjs/ix-menu-item.cjs.entry.js +14 -14
  291. package/dist/cjs/ix-menu-item.cjs.entry.js.map +1 -1
  292. package/dist/cjs/ix-menu-settings-item.cjs.entry.js +1 -1
  293. package/dist/cjs/ix-menu-settings.cjs.entry.js +1 -1
  294. package/dist/cjs/ix-menu.cjs.entry.js +14 -14
  295. package/dist/cjs/ix-menu.cjs.entry.js.map +1 -1
  296. package/dist/cjs/ix-message-bar.cjs.entry.js +1 -1
  297. package/dist/cjs/ix-modal-content_2.cjs.entry.js +5 -5
  298. package/dist/cjs/ix-modal-content_2.cjs.entry.js.map +1 -1
  299. package/dist/cjs/ix-modal-example.cjs.entry.js +1 -1
  300. package/dist/cjs/ix-modal-footer.cjs.entry.js +1 -1
  301. package/dist/cjs/ix-modal-loading.cjs.entry.js +1 -1
  302. package/dist/cjs/ix-modal.cjs.entry.js +13 -6
  303. package/dist/cjs/ix-modal.cjs.entry.js.map +1 -1
  304. package/dist/cjs/ix-pagination.cjs.entry.js +5 -5
  305. package/dist/cjs/ix-pagination.cjs.entry.js.map +1 -1
  306. package/dist/cjs/ix-pane-layout.cjs.entry.js +1 -1
  307. package/dist/cjs/ix-pane.cjs.entry.js +6 -6
  308. package/dist/cjs/ix-pane.cjs.entry.js.map +1 -1
  309. package/dist/cjs/ix-pill.cjs.entry.js +4 -4
  310. package/dist/cjs/ix-pill.cjs.entry.js.map +1 -1
  311. package/dist/cjs/ix-playground-internal.cjs.entry.js +1 -1
  312. package/dist/cjs/ix-playground-internal.cjs.entry.js.map +1 -1
  313. package/dist/cjs/ix-push-card.cjs.entry.js +1 -1
  314. package/dist/cjs/ix-push-card.cjs.entry.js.map +1 -1
  315. package/dist/cjs/ix-select.cjs.entry.js +86 -73
  316. package/dist/cjs/ix-select.cjs.entry.js.map +1 -1
  317. package/dist/cjs/ix-slider.cjs.entry.js +23 -16
  318. package/dist/cjs/ix-slider.cjs.entry.js.map +1 -1
  319. package/dist/cjs/ix-split-button-item.cjs.entry.js +2 -2
  320. package/dist/cjs/ix-split-button.cjs.entry.js +1 -1
  321. package/dist/cjs/ix-tab-item_2.cjs.entry.js +74 -44
  322. package/dist/cjs/ix-tab-item_2.cjs.entry.js.map +1 -1
  323. package/dist/cjs/ix-tile.cjs.entry.js +4 -4
  324. package/dist/cjs/ix-tile.cjs.entry.js.map +1 -1
  325. package/dist/cjs/ix-time-picker.cjs.entry.js +4 -4
  326. package/dist/cjs/ix-time-picker.cjs.entry.js.map +1 -1
  327. package/dist/cjs/ix-toast-container.cjs.entry.js +2 -2
  328. package/dist/cjs/ix-toast-container.cjs.entry.js.map +1 -1
  329. package/dist/cjs/ix-toast.cjs.entry.js +2 -2
  330. package/dist/cjs/ix-toast.cjs.entry.js.map +1 -1
  331. package/dist/cjs/ix-toggle-button.cjs.entry.js +4 -4
  332. package/dist/cjs/ix-toggle.cjs.entry.js +3 -3
  333. package/dist/cjs/ix-tooltip.cjs.entry.js +26 -24
  334. package/dist/cjs/ix-tooltip.cjs.entry.js.map +1 -1
  335. package/dist/cjs/ix-tree-item.cjs.entry.js +8 -8
  336. package/dist/cjs/ix-tree-item.cjs.entry.js.map +1 -1
  337. package/dist/cjs/ix-tree.cjs.entry.js +21 -7
  338. package/dist/cjs/ix-tree.cjs.entry.js.map +1 -1
  339. package/dist/cjs/ix-typography.cjs.entry.js +3 -24
  340. package/dist/cjs/ix-typography.cjs.entry.js.map +1 -1
  341. package/dist/cjs/ix-upload.cjs.entry.js +58 -4
  342. package/dist/cjs/ix-upload.cjs.entry.js.map +1 -1
  343. package/dist/cjs/ix-validation-tooltip.cjs.entry.js +3 -3
  344. package/dist/cjs/ix-workflow-step.cjs.entry.js +3 -3
  345. package/dist/cjs/ix-workflow-step.cjs.entry.js.map +1 -1
  346. package/dist/cjs/ix-workflow-steps.cjs.entry.js +1 -1
  347. package/dist/cjs/ix-workflow-steps.cjs.entry.js.map +1 -1
  348. package/dist/cjs/{listener-bc3e7c0c.js → listener-164d1a4a.js} +3 -3
  349. package/dist/cjs/listener-164d1a4a.js.map +1 -0
  350. package/dist/cjs/loader.cjs.js +1 -1
  351. package/dist/cjs/{logical-filter-operator-5564322e.js → logical-filter-operator-4917393f.js} +2 -2
  352. package/dist/cjs/{logical-filter-operator-5564322e.js.map → logical-filter-operator-4917393f.js.map} +1 -1
  353. package/dist/cjs/{make-ref-c25629b7.js → make-ref-499e1e41.js} +8 -13
  354. package/dist/cjs/make-ref-499e1e41.js.map +1 -0
  355. package/dist/cjs/{menu-tabs-fc-df53f176.js → menu-tabs-fc-b532aeb4.js} +18 -15
  356. package/dist/cjs/menu-tabs-fc-b532aeb4.js.map +1 -0
  357. package/dist/cjs/{shadow-dom-73f9d553.js → shadow-dom-454acc38.js} +2 -2
  358. package/dist/cjs/{shadow-dom-73f9d553.js.map → shadow-dom-454acc38.js.map} +1 -1
  359. package/dist/cjs/siemens-ix.cjs.js +1 -1
  360. package/dist/cjs/{theme-switcher-2d2bde85.js → theme-switcher-88b70d73.js} +2 -1
  361. package/dist/cjs/theme-switcher-88b70d73.js.map +1 -0
  362. package/dist/collection/components/action-card/action-card.js +8 -5
  363. package/dist/collection/components/action-card/action-card.js.map +1 -1
  364. package/dist/collection/components/application/application.css +26 -6
  365. package/dist/collection/components/application/application.js +3 -3
  366. package/dist/collection/components/application/application.js.map +1 -1
  367. package/dist/collection/components/application-header/application-header.css +9 -7
  368. package/dist/collection/components/application-header/application-header.js +78 -6
  369. package/dist/collection/components/application-header/application-header.js.map +1 -1
  370. package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.js +1 -1
  371. package/dist/collection/components/application-sidebar/application-sidebar.js +1 -1
  372. package/dist/collection/components/avatar/avatar.css +42 -0
  373. package/dist/collection/components/basic-navigation/basic-navigation.js +7 -4
  374. package/dist/collection/components/basic-navigation/basic-navigation.js.map +1 -1
  375. package/dist/collection/components/blind/blind.css +1 -1
  376. package/dist/collection/components/blind/blind.js +10 -10
  377. package/dist/collection/components/blind/blind.js.map +1 -1
  378. package/dist/collection/components/blind/test/blind.ct.js +1 -1
  379. package/dist/collection/components/blind/test/blind.ct.js.map +1 -1
  380. package/dist/collection/components/breadcrumb/breadcrumb.js +9 -10
  381. package/dist/collection/components/breadcrumb/breadcrumb.js.map +1 -1
  382. package/dist/collection/components/button/base-button.js +2 -2
  383. package/dist/collection/components/button/base-button.js.map +1 -1
  384. package/dist/collection/components/button/button.js +3 -3
  385. package/dist/collection/components/button/button.js.map +1 -1
  386. package/dist/collection/components/card/card.css +3 -3
  387. package/dist/collection/components/card/card.js +10 -6
  388. package/dist/collection/components/card/card.js.map +1 -1
  389. package/dist/collection/components/card-accordion/card-accordion.css +4 -4
  390. package/dist/collection/components/card-accordion/card-accordion.js +5 -5
  391. package/dist/collection/components/card-accordion/card-accordion.js.map +1 -1
  392. package/dist/collection/components/card-content/card-content.js +1 -1
  393. package/dist/collection/components/card-list/card-list.css +6 -0
  394. package/dist/collection/components/card-list/card-list.js +5 -5
  395. package/dist/collection/components/card-list/card-list.js.map +1 -1
  396. package/dist/collection/components/card-title/card-title.js +1 -1
  397. package/dist/collection/components/category-filter/category-filter.css +20 -20
  398. package/dist/collection/components/category-filter/category-filter.js +138 -78
  399. package/dist/collection/components/category-filter/category-filter.js.map +1 -1
  400. package/dist/collection/components/category-filter/logical-filter-operator.js +1 -1
  401. package/dist/collection/components/category-filter/logical-filter-operator.js.map +1 -1
  402. package/dist/collection/components/category-filter/test/category-filter.ct.js +52 -0
  403. package/dist/collection/components/category-filter/test/category-filter.ct.js.map +1 -0
  404. package/dist/collection/components/chip/chip.css +2 -2
  405. package/dist/collection/components/chip/chip.js +5 -5
  406. package/dist/collection/components/chip/chip.js.map +1 -1
  407. package/dist/collection/components/col/col.css +1 -1
  408. package/dist/collection/components/col/col.js +2 -2
  409. package/dist/collection/components/col/col.js.map +1 -1
  410. package/dist/collection/components/content/content.js +3 -3
  411. package/dist/collection/components/content-header/content-header.css +6 -3
  412. package/dist/collection/components/content-header/content-header.js +2 -2
  413. package/dist/collection/components/content-header/content-header.js.map +1 -1
  414. package/dist/collection/components/css-grid/css-grid-item.js +1 -1
  415. package/dist/collection/components/css-grid/css-grid.js +9 -4
  416. package/dist/collection/components/css-grid/css-grid.js.map +1 -1
  417. package/dist/collection/components/date-dropdown/date-dropdown.js +34 -21
  418. package/dist/collection/components/date-dropdown/date-dropdown.js.map +1 -1
  419. package/dist/collection/components/date-picker/date-picker.js +62 -48
  420. package/dist/collection/components/date-picker/date-picker.js.map +1 -1
  421. package/dist/collection/components/date-time-card/date-time-card.js +1 -1
  422. package/dist/collection/components/datetime-picker/datetime-picker.js +1 -1
  423. package/dist/collection/components/divider/divider.js +1 -1
  424. package/dist/collection/components/drawer/drawer.js +2 -2
  425. package/dist/collection/components/dropdown/dropdown-controller.js +15 -11
  426. package/dist/collection/components/dropdown/dropdown-controller.js.map +1 -1
  427. package/dist/collection/components/dropdown/dropdown.js +98 -65
  428. package/dist/collection/components/dropdown/dropdown.js.map +1 -1
  429. package/dist/collection/components/dropdown/test/dropdown.ct.js +19 -8
  430. package/dist/collection/components/dropdown/test/dropdown.ct.js.map +1 -1
  431. package/dist/collection/components/dropdown-button/dropdown-button.js +7 -13
  432. package/dist/collection/components/dropdown-button/dropdown-button.js.map +1 -1
  433. package/dist/collection/components/dropdown-header/dropdown-header.js +1 -1
  434. package/dist/collection/components/dropdown-header/dropdown-header.js.map +1 -1
  435. package/dist/collection/components/dropdown-item/dropdown-item.css +3 -3
  436. package/dist/collection/components/dropdown-item/dropdown-item.js +5 -5
  437. package/dist/collection/components/dropdown-item/dropdown-item.js.map +1 -1
  438. package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js +1 -1
  439. package/dist/collection/components/empty-state/empty-state.js +1 -1
  440. package/dist/collection/components/empty-state/empty-state.js.map +1 -1
  441. package/dist/collection/components/event-list/event-list.js +2 -2
  442. package/dist/collection/components/event-list-item/event-list-item.js +4 -4
  443. package/dist/collection/components/expanding-search/expanding-search.js +4 -4
  444. package/dist/collection/components/filter-chip/filter-chip.js +1 -1
  445. package/dist/collection/components/flip-tile/flip-tile.js +4 -4
  446. package/dist/collection/components/flip-tile-content/flip-tile-content.js +1 -1
  447. package/dist/collection/components/form-field/form-field.css +10 -10
  448. package/dist/collection/components/form-field/form-field.js +1 -1
  449. package/dist/collection/components/grid/layout-grid.css +1 -1
  450. package/dist/collection/components/grid/layout-grid.js +3 -3
  451. package/dist/collection/components/grid/layout-grid.js.map +1 -1
  452. package/dist/collection/components/group/group-context-menu.css +1 -1
  453. package/dist/collection/components/group/group-context-menu.js +2 -2
  454. package/dist/collection/components/group/group-context-menu.js.map +1 -1
  455. package/dist/collection/components/group/group.css +3 -2
  456. package/dist/collection/components/group/group.js +84 -48
  457. package/dist/collection/components/group/group.js.map +1 -1
  458. package/dist/collection/components/group/test/group.ct.js +70 -2
  459. package/dist/collection/components/group/test/group.ct.js.map +1 -1
  460. package/dist/collection/components/group-item/group-item.css +0 -4
  461. package/dist/collection/components/group-item/group-item.js +9 -12
  462. package/dist/collection/components/group-item/group-item.js.map +1 -1
  463. package/dist/collection/components/icon-button/icon-button.js +1 -1
  464. package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +1 -2
  465. package/dist/collection/components/icon-toggle-button/icon-toggle-button.js.map +1 -1
  466. package/dist/collection/components/input-group/input-group.js +1 -1
  467. package/dist/collection/components/key-value/key-value.js +1 -1
  468. package/dist/collection/components/key-value-list/key-value-list.js +1 -1
  469. package/dist/collection/components/kpi/kpi.css +1 -1
  470. package/dist/collection/components/kpi/kpi.js +4 -4
  471. package/dist/collection/components/kpi/kpi.js.map +1 -1
  472. package/dist/collection/components/link-button/link-button.js +3 -3
  473. package/dist/collection/components/map-navigation/map-navigation.css +3 -3
  474. package/dist/collection/components/map-navigation/map-navigation.js +2 -2
  475. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +2 -2
  476. package/dist/collection/components/menu/menu-expand-icon.css +1 -1
  477. package/dist/collection/components/menu/menu-expand-icon.js +3 -3
  478. package/dist/collection/components/menu/menu-expand-icon.js.map +1 -1
  479. package/dist/collection/components/menu/menu.css +4 -3
  480. package/dist/collection/components/menu/menu.js +12 -12
  481. package/dist/collection/components/menu/menu.js.map +1 -1
  482. package/dist/collection/components/menu/test/menu.ct.js +1 -1
  483. package/dist/collection/components/menu/test/menu.ct.js.map +1 -1
  484. package/dist/collection/components/menu-about/menu-about.js +1 -1
  485. package/dist/collection/components/menu-about/test/menu-about.ct.js +44 -0
  486. package/dist/collection/components/menu-about/test/menu-about.ct.js.map +1 -0
  487. package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
  488. package/dist/collection/components/menu-about-news/menu-about-news.js +4 -4
  489. package/dist/collection/components/menu-about-news/menu-about-news.js.map +1 -1
  490. package/dist/collection/components/menu-avatar/menu-avatar.js +2 -2
  491. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
  492. package/dist/collection/components/menu-category/menu-category.js +5 -5
  493. package/dist/collection/components/menu-category/menu-category.js.map +1 -1
  494. package/dist/collection/components/menu-item/menu-item.js +24 -21
  495. package/dist/collection/components/menu-item/menu-item.js.map +1 -1
  496. package/dist/collection/components/menu-settings/menu-settings.js +1 -1
  497. package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
  498. package/dist/collection/components/message-bar/message-bar.js +1 -1
  499. package/dist/collection/components/modal/modal.css +19 -9
  500. package/dist/collection/components/modal/modal.js +11 -4
  501. package/dist/collection/components/modal/modal.js.map +1 -1
  502. package/dist/collection/components/modal/test/modal.ct.js +47 -1
  503. package/dist/collection/components/modal/test/modal.ct.js.map +1 -1
  504. package/dist/collection/components/modal-content/modal-content.css +2 -2
  505. package/dist/collection/components/modal-content/modal-content.js +1 -1
  506. package/dist/collection/components/modal-footer/modal-footer.js +1 -1
  507. package/dist/collection/components/modal-header/modal-header.css +6 -7
  508. package/dist/collection/components/modal-header/modal-header.js +4 -4
  509. package/dist/collection/components/modal-header/modal-header.js.map +1 -1
  510. package/dist/collection/components/modal-loading/modal-loading.js +1 -1
  511. package/dist/collection/components/pagination/pagination.js +5 -4
  512. package/dist/collection/components/pagination/pagination.js.map +1 -1
  513. package/dist/collection/components/pane/pane.css +1 -1
  514. package/dist/collection/components/pane/pane.js +7 -7
  515. package/dist/collection/components/pane/pane.js.map +1 -1
  516. package/dist/collection/components/pane/test/panes.ct.js +1 -1
  517. package/dist/collection/components/pane/test/panes.ct.js.map +1 -1
  518. package/dist/collection/components/pane-layout/pane-layout.js +1 -1
  519. package/dist/collection/components/pill/pill.css +2 -2
  520. package/dist/collection/components/pill/pill.js +5 -5
  521. package/dist/collection/components/pill/pill.js.map +1 -1
  522. package/dist/collection/components/playground/example-modal.js +1 -1
  523. package/dist/collection/components/playground/playground.js +2 -2
  524. package/dist/collection/components/playground/playground.js.map +1 -1
  525. package/dist/collection/components/push-card/push-card.js +9 -6
  526. package/dist/collection/components/push-card/push-card.js.map +1 -1
  527. package/dist/collection/components/row/row.css +1 -1
  528. package/dist/collection/components/row/row.js +2 -2
  529. package/dist/collection/components/row/row.js.map +1 -1
  530. package/dist/collection/components/select/select.js +83 -73
  531. package/dist/collection/components/select/select.js.map +1 -1
  532. package/dist/collection/components/select/test/select.ct.js +48 -3
  533. package/dist/collection/components/select/test/select.ct.js.map +1 -1
  534. package/dist/collection/components/select-item/select-item.js +1 -1
  535. package/dist/collection/components/slider/slider.css +1 -1
  536. package/dist/collection/components/slider/slider.js +24 -16
  537. package/dist/collection/components/slider/slider.js.map +1 -1
  538. package/dist/collection/components/slider/test/slider.ct.js +15 -6
  539. package/dist/collection/components/slider/test/slider.ct.js.map +1 -1
  540. package/dist/collection/components/spinner/spinner.js +1 -1
  541. package/dist/collection/components/split-button/split-button.js +1 -1
  542. package/dist/collection/components/split-button-item/split-button-item.js +1 -1
  543. package/dist/collection/components/tab-item/tab-item.js +4 -4
  544. package/dist/collection/components/tab-item/tab-item.js.map +1 -1
  545. package/dist/collection/components/tabs/tabs.css +1 -1
  546. package/dist/collection/components/tabs/tabs.js +78 -43
  547. package/dist/collection/components/tabs/tabs.js.map +1 -1
  548. package/dist/collection/components/tabs/test/tabs.ct.js +35 -9
  549. package/dist/collection/components/tabs/test/tabs.ct.js.map +1 -1
  550. package/dist/collection/components/tile/tile.css +1 -1
  551. package/dist/collection/components/tile/tile.js +5 -5
  552. package/dist/collection/components/tile/tile.js.map +1 -1
  553. package/dist/collection/components/time-picker/time-picker.css +10 -10
  554. package/dist/collection/components/time-picker/time-picker.js +3 -3
  555. package/dist/collection/components/time-picker/time-picker.js.map +1 -1
  556. package/dist/collection/components/toast/styles/toast-container.css +1 -1
  557. package/dist/collection/components/toast/toast-container.js +3 -3
  558. package/dist/collection/components/toast/toast-container.js.map +1 -1
  559. package/dist/collection/components/toast/toast-utils.js.map +1 -1
  560. package/dist/collection/components/toast/toast.css +1 -1
  561. package/dist/collection/components/toast/toast.js +3 -3
  562. package/dist/collection/components/toast/toast.js.map +1 -1
  563. package/dist/collection/components/toggle/toggle.js +2 -2
  564. package/dist/collection/components/toggle-button/toggle-button.js +2 -2
  565. package/dist/collection/components/tooltip/tooltip.css +15 -5
  566. package/dist/collection/components/tooltip/tooltip.js +39 -35
  567. package/dist/collection/components/tooltip/tooltip.js.map +1 -1
  568. package/dist/collection/components/tree/test/tree.ct.js +37 -1
  569. package/dist/collection/components/tree/test/tree.ct.js.map +1 -1
  570. package/dist/collection/components/tree/tree-model.js.map +1 -1
  571. package/dist/collection/components/tree/tree.css +1 -1
  572. package/dist/collection/components/tree/tree.js +26 -11
  573. package/dist/collection/components/tree/tree.js.map +1 -1
  574. package/dist/collection/components/tree-item/tree-item.css +9 -0
  575. package/dist/collection/components/tree-item/tree-item.js +13 -12
  576. package/dist/collection/components/tree-item/tree-item.js.map +1 -1
  577. package/dist/collection/components/typography/test/ix-typography.spec.js +0 -14
  578. package/dist/collection/components/typography/test/ix-typography.spec.js.map +1 -1
  579. package/dist/collection/components/typography/type-mapping.js +3 -0
  580. package/dist/collection/components/typography/type-mapping.js.map +1 -1
  581. package/dist/collection/components/typography/typography.js +6 -42
  582. package/dist/collection/components/typography/typography.js.map +1 -1
  583. package/dist/collection/components/upload/test/upload.ct.js +17 -0
  584. package/dist/collection/components/upload/test/upload.ct.js.map +1 -0
  585. package/dist/collection/components/upload/upload.js +50 -6
  586. package/dist/collection/components/upload/upload.js.map +1 -1
  587. package/dist/collection/components/utils/condition-checks.js +1 -1
  588. package/dist/collection/components/utils/condition-checks.js.map +1 -1
  589. package/dist/collection/components/utils/context.js +6 -3
  590. package/dist/collection/components/utils/context.js.map +1 -1
  591. package/dist/collection/components/utils/disposable-event-listener.js +19 -0
  592. package/dist/collection/components/utils/disposable-event-listener.js.map +1 -0
  593. package/dist/collection/components/utils/element-reference.js +2 -0
  594. package/dist/collection/components/utils/element-reference.js.map +1 -0
  595. package/dist/collection/components/utils/focus.js +19 -17
  596. package/dist/collection/components/utils/focus.js.map +1 -1
  597. package/dist/collection/components/utils/listener.js +2 -2
  598. package/dist/collection/components/utils/listener.js.map +1 -1
  599. package/dist/collection/components/utils/make-ref.js +7 -12
  600. package/dist/collection/components/utils/make-ref.js.map +1 -1
  601. package/dist/collection/components/utils/menu-tabs/menu-tabs-fc.js +11 -8
  602. package/dist/collection/components/utils/menu-tabs/menu-tabs-fc.js.map +1 -1
  603. package/dist/collection/components/utils/notification-color.js.map +1 -1
  604. package/dist/collection/components/utils/shadow-dom.js +1 -1
  605. package/dist/collection/components/utils/shadow-dom.js.map +1 -1
  606. package/dist/collection/components/utils/theme-switcher.js +1 -0
  607. package/dist/collection/components/utils/theme-switcher.js.map +1 -1
  608. package/dist/collection/components/validation-tooltip/validation-tooltip.js +2 -2
  609. package/dist/collection/components/workflow-step/workflow-step.css +1 -1
  610. package/dist/collection/components/workflow-step/workflow-step.js +4 -4
  611. package/dist/collection/components/workflow-step/workflow-step.js.map +1 -1
  612. package/dist/collection/components/workflow-steps/test/workflow-steps.ct.js +2 -2
  613. package/dist/collection/components/workflow-steps/test/workflow-steps.ct.js.map +1 -1
  614. package/dist/collection/components/workflow-steps/workflow-steps.css +1 -1
  615. package/dist/collection/components/workflow-steps/workflow-steps.js +2 -2
  616. package/dist/collection/components/workflow-steps/workflow-steps.js.map +1 -1
  617. package/dist/collection/index.js +1 -0
  618. package/dist/collection/index.js.map +1 -1
  619. package/dist/collection/tests/application/application.e2e.js.map +1 -1
  620. package/dist/collection/tests/application-header/application-header.e2e.js +9 -0
  621. package/dist/collection/tests/application-header/application-header.e2e.js.map +1 -1
  622. package/dist/collection/tests/avatar/avatar.e2e.js +6 -0
  623. package/dist/collection/tests/avatar/avatar.e2e.js.map +1 -1
  624. package/dist/collection/tests/card-list/card-list.e2e.js +7 -1
  625. package/dist/collection/tests/card-list/card-list.e2e.js.map +1 -1
  626. package/dist/collection/tests/dropdown/dropdown.e2e.js +6 -0
  627. package/dist/collection/tests/dropdown/dropdown.e2e.js.map +1 -1
  628. package/dist/collection/tests/group/group.e2e.js +12 -3
  629. package/dist/collection/tests/group/group.e2e.js.map +1 -1
  630. package/dist/collection/tests/input/input.e2e.js +12 -0
  631. package/dist/collection/tests/input/input.e2e.js.map +1 -1
  632. package/dist/collection/tests/slider/slider.e2e.js +31 -0
  633. package/dist/collection/tests/slider/slider.e2e.js.map +1 -1
  634. package/dist/collection/tests/tabs/tabs.e2e.js +1 -1
  635. package/dist/collection/tests/tabs/tabs.e2e.js.map +1 -1
  636. package/dist/collection/tests/tooltip/tooltip.e2e.js +22 -0
  637. package/dist/collection/tests/tooltip/tooltip.e2e.js.map +1 -1
  638. package/dist/collection/tests/tree/tree.e2e.js +12 -0
  639. package/dist/collection/tests/tree/tree.e2e.js.map +1 -1
  640. package/dist/collection/tests/utils/test/page.js +3 -12
  641. package/dist/collection/tests/utils/test/page.js.map +1 -1
  642. package/dist/esm/{a11y-d5444a76.js → a11y-2e34777f.js} +2 -2
  643. package/dist/esm/{a11y-d5444a76.js.map → a11y-2e34777f.js.map} +1 -1
  644. package/dist/esm/{base-button-1b40b11d.js → base-button-103d6f26.js} +3 -3
  645. package/dist/esm/base-button-103d6f26.js.map +1 -0
  646. package/dist/esm/{base-icon-button-bc1dabe0.js → base-icon-button-9770fa3e.js} +2 -2
  647. package/dist/esm/{base-icon-button-bc1dabe0.js.map → base-icon-button-9770fa3e.js.map} +1 -1
  648. package/dist/esm/{context-c9078420.js → context-42311cff.js} +7 -4
  649. package/dist/esm/context-42311cff.js.map +1 -0
  650. package/dist/esm/disposable-event-listener-ff2cb862.js +18 -0
  651. package/dist/esm/disposable-event-listener-ff2cb862.js.map +1 -0
  652. package/dist/esm/dropdown-controller-c79f65b3.js +148 -0
  653. package/dist/esm/dropdown-controller-c79f65b3.js.map +1 -0
  654. package/dist/esm/{floating-ui.dom.esm-6e7c098f.js → floating-ui.dom.esm-d4ad786a.js} +534 -61
  655. package/dist/esm/floating-ui.dom.esm-d4ad786a.js.map +1 -0
  656. package/dist/esm/{focus-d4d3abaf.js → focus-5ccebfbc.js} +21 -18
  657. package/dist/esm/focus-5ccebfbc.js.map +1 -0
  658. package/dist/esm/index.js +3 -3
  659. package/dist/esm/index.js.map +1 -1
  660. package/dist/esm/ix-action-card.entry.js +1 -1
  661. package/dist/esm/ix-action-card.entry.js.map +1 -1
  662. package/dist/esm/ix-application-header.entry.js +35 -9
  663. package/dist/esm/ix-application-header.entry.js.map +1 -1
  664. package/dist/esm/ix-application-sidebar.entry.js +1 -1
  665. package/dist/esm/ix-application-switch-modal.entry.js +1 -1
  666. package/dist/esm/ix-application.entry.js +7 -7
  667. package/dist/esm/ix-application.entry.js.map +1 -1
  668. package/dist/esm/ix-avatar_2.entry.js +5 -5
  669. package/dist/esm/ix-avatar_2.entry.js.map +1 -1
  670. package/dist/esm/ix-basic-navigation.entry.js +3 -3
  671. package/dist/esm/ix-basic-navigation.entry.js.map +1 -1
  672. package/dist/esm/ix-blind.entry.js +6 -6
  673. package/dist/esm/ix-blind.entry.js.map +1 -1
  674. package/dist/esm/ix-breadcrumb-item.entry.js +2 -2
  675. package/dist/esm/ix-breadcrumb.entry.js +10 -9
  676. package/dist/esm/ix-breadcrumb.entry.js.map +1 -1
  677. package/dist/esm/ix-button.entry.js +3 -3
  678. package/dist/esm/ix-button.entry.js.map +1 -1
  679. package/dist/esm/ix-card-accordion_2.entry.js +7 -7
  680. package/dist/esm/ix-card-accordion_2.entry.js.map +1 -1
  681. package/dist/esm/ix-card-list.entry.js +6 -6
  682. package/dist/esm/ix-card-list.entry.js.map +1 -1
  683. package/dist/esm/ix-card_2.entry.js +5 -5
  684. package/dist/esm/ix-card_2.entry.js.map +1 -1
  685. package/dist/esm/ix-category-filter.entry.js +131 -71
  686. package/dist/esm/ix-category-filter.entry.js.map +1 -1
  687. package/dist/esm/ix-chip.entry.js +4 -4
  688. package/dist/esm/ix-chip.entry.js.map +1 -1
  689. package/dist/esm/ix-col_4.entry.js +58 -42
  690. package/dist/esm/ix-col_4.entry.js.map +1 -1
  691. package/dist/esm/ix-content-header.entry.js +2 -2
  692. package/dist/esm/ix-content-header.entry.js.map +1 -1
  693. package/dist/esm/ix-content.entry.js +4 -4
  694. package/dist/esm/ix-css-grid-item.entry.js +1 -1
  695. package/dist/esm/ix-css-grid.entry.js +8 -3
  696. package/dist/esm/ix-css-grid.entry.js.map +1 -1
  697. package/dist/esm/ix-date-dropdown.entry.js +25 -15
  698. package/dist/esm/ix-date-dropdown.entry.js.map +1 -1
  699. package/dist/esm/ix-date-time-card.entry.js +1 -1
  700. package/dist/esm/ix-datetime-picker.entry.js +1 -1
  701. package/dist/esm/ix-divider.entry.js +1 -1
  702. package/dist/esm/ix-drawer.entry.js +2 -2
  703. package/dist/esm/ix-dropdown-button.entry.js +4 -5
  704. package/dist/esm/ix-dropdown-button.entry.js.map +1 -1
  705. package/dist/esm/ix-dropdown-header.entry.js +1 -1
  706. package/dist/esm/ix-dropdown-header.entry.js.map +1 -1
  707. package/dist/esm/ix-dropdown-item.entry.js +4 -4
  708. package/dist/esm/ix-dropdown-item.entry.js.map +1 -1
  709. package/dist/esm/ix-dropdown-quick-actions.entry.js +1 -1
  710. package/dist/esm/ix-dropdown.entry.js +82 -183
  711. package/dist/esm/ix-dropdown.entry.js.map +1 -1
  712. package/dist/esm/ix-empty-state.entry.js +1 -1
  713. package/dist/esm/ix-empty-state.entry.js.map +1 -1
  714. package/dist/esm/ix-event-list-item.entry.js +5 -5
  715. package/dist/esm/ix-event-list.entry.js +2 -2
  716. package/dist/esm/ix-expanding-search.entry.js +4 -4
  717. package/dist/esm/ix-filter-chip_2.entry.js +2 -2
  718. package/dist/esm/ix-flip-tile-content.entry.js +1 -1
  719. package/dist/esm/ix-flip-tile.entry.js +4 -4
  720. package/dist/esm/ix-form-field.entry.js +2 -2
  721. package/dist/esm/ix-form-field.entry.js.map +1 -1
  722. package/dist/esm/ix-group-context-menu_2.entry.js +6 -10
  723. package/dist/esm/ix-group-context-menu_2.entry.js.map +1 -1
  724. package/dist/esm/ix-group.entry.js +68 -44
  725. package/dist/esm/ix-group.entry.js.map +1 -1
  726. package/dist/esm/ix-icon-button_2.entry.js +5 -5
  727. package/dist/esm/ix-icon-toggle-button.entry.js +4 -5
  728. package/dist/esm/ix-icon-toggle-button.entry.js.map +1 -1
  729. package/dist/esm/ix-input-group.entry.js +2 -2
  730. package/dist/esm/ix-key-value-list.entry.js +1 -1
  731. package/dist/esm/ix-key-value.entry.js +1 -1
  732. package/dist/esm/ix-kpi.entry.js +3 -3
  733. package/dist/esm/ix-kpi.entry.js.map +1 -1
  734. package/dist/esm/ix-link-button.entry.js +3 -3
  735. package/dist/esm/ix-map-navigation-overlay.entry.js +2 -2
  736. package/dist/esm/ix-map-navigation.entry.js +4 -4
  737. package/dist/esm/ix-map-navigation.entry.js.map +1 -1
  738. package/dist/esm/ix-menu-about-item.entry.js +1 -1
  739. package/dist/esm/ix-menu-about-news.entry.js +4 -4
  740. package/dist/esm/ix-menu-about-news.entry.js.map +1 -1
  741. package/dist/esm/ix-menu-about.entry.js +2 -2
  742. package/dist/esm/ix-menu-avatar.entry.js +3 -3
  743. package/dist/esm/ix-menu-category.entry.js +6 -6
  744. package/dist/esm/ix-menu-category.entry.js.map +1 -1
  745. package/dist/esm/ix-menu-expand-icon.entry.js +3 -3
  746. package/dist/esm/ix-menu-expand-icon.entry.js.map +1 -1
  747. package/dist/esm/ix-menu-item.entry.js +15 -15
  748. package/dist/esm/ix-menu-item.entry.js.map +1 -1
  749. package/dist/esm/ix-menu-settings-item.entry.js +1 -1
  750. package/dist/esm/ix-menu-settings.entry.js +1 -1
  751. package/dist/esm/ix-menu.entry.js +14 -14
  752. package/dist/esm/ix-menu.entry.js.map +1 -1
  753. package/dist/esm/ix-message-bar.entry.js +1 -1
  754. package/dist/esm/ix-modal-content_2.entry.js +5 -5
  755. package/dist/esm/ix-modal-content_2.entry.js.map +1 -1
  756. package/dist/esm/ix-modal-example.entry.js +1 -1
  757. package/dist/esm/ix-modal-footer.entry.js +1 -1
  758. package/dist/esm/ix-modal-loading.entry.js +1 -1
  759. package/dist/esm/ix-modal.entry.js +13 -6
  760. package/dist/esm/ix-modal.entry.js.map +1 -1
  761. package/dist/esm/ix-pagination.entry.js +5 -5
  762. package/dist/esm/ix-pagination.entry.js.map +1 -1
  763. package/dist/esm/ix-pane-layout.entry.js +1 -1
  764. package/dist/esm/ix-pane.entry.js +6 -6
  765. package/dist/esm/ix-pane.entry.js.map +1 -1
  766. package/dist/esm/ix-pill.entry.js +4 -4
  767. package/dist/esm/ix-pill.entry.js.map +1 -1
  768. package/dist/esm/ix-playground-internal.entry.js +1 -1
  769. package/dist/esm/ix-playground-internal.entry.js.map +1 -1
  770. package/dist/esm/ix-push-card.entry.js +1 -1
  771. package/dist/esm/ix-push-card.entry.js.map +1 -1
  772. package/dist/esm/ix-select.entry.js +86 -73
  773. package/dist/esm/ix-select.entry.js.map +1 -1
  774. package/dist/esm/ix-slider.entry.js +23 -16
  775. package/dist/esm/ix-slider.entry.js.map +1 -1
  776. package/dist/esm/ix-split-button-item.entry.js +2 -2
  777. package/dist/esm/ix-split-button.entry.js +1 -1
  778. package/dist/esm/ix-tab-item_2.entry.js +74 -44
  779. package/dist/esm/ix-tab-item_2.entry.js.map +1 -1
  780. package/dist/esm/ix-tile.entry.js +4 -4
  781. package/dist/esm/ix-tile.entry.js.map +1 -1
  782. package/dist/esm/ix-time-picker.entry.js +4 -4
  783. package/dist/esm/ix-time-picker.entry.js.map +1 -1
  784. package/dist/esm/ix-toast-container.entry.js +2 -2
  785. package/dist/esm/ix-toast-container.entry.js.map +1 -1
  786. package/dist/esm/ix-toast.entry.js +2 -2
  787. package/dist/esm/ix-toast.entry.js.map +1 -1
  788. package/dist/esm/ix-toggle-button.entry.js +4 -4
  789. package/dist/esm/ix-toggle.entry.js +3 -3
  790. package/dist/esm/ix-tooltip.entry.js +26 -24
  791. package/dist/esm/ix-tooltip.entry.js.map +1 -1
  792. package/dist/esm/ix-tree-item.entry.js +8 -8
  793. package/dist/esm/ix-tree-item.entry.js.map +1 -1
  794. package/dist/esm/ix-tree.entry.js +21 -7
  795. package/dist/esm/ix-tree.entry.js.map +1 -1
  796. package/dist/esm/ix-typography.entry.js +3 -24
  797. package/dist/esm/ix-typography.entry.js.map +1 -1
  798. package/dist/esm/ix-upload.entry.js +58 -4
  799. package/dist/esm/ix-upload.entry.js.map +1 -1
  800. package/dist/esm/ix-validation-tooltip.entry.js +3 -3
  801. package/dist/esm/ix-workflow-step.entry.js +3 -3
  802. package/dist/esm/ix-workflow-step.entry.js.map +1 -1
  803. package/dist/esm/ix-workflow-steps.entry.js +1 -1
  804. package/dist/esm/ix-workflow-steps.entry.js.map +1 -1
  805. package/dist/esm/{listener-4f3baab5.js → listener-ade7081c.js} +3 -3
  806. package/dist/esm/listener-ade7081c.js.map +1 -0
  807. package/dist/esm/loader.js +1 -1
  808. package/dist/esm/{logical-filter-operator-f6701df5.js → logical-filter-operator-d793d1c3.js} +2 -2
  809. package/dist/esm/{logical-filter-operator-f6701df5.js.map → logical-filter-operator-d793d1c3.js.map} +1 -1
  810. package/dist/esm/{make-ref-c80046bf.js → make-ref-4b76e9b5.js} +8 -13
  811. package/dist/esm/make-ref-4b76e9b5.js.map +1 -0
  812. package/dist/esm/{menu-tabs-fc-d9a7dd06.js → menu-tabs-fc-b549da52.js} +18 -15
  813. package/dist/esm/menu-tabs-fc-b549da52.js.map +1 -0
  814. package/dist/esm/{shadow-dom-60e9243d.js → shadow-dom-cc0bc152.js} +2 -2
  815. package/dist/esm/{shadow-dom-60e9243d.js.map → shadow-dom-cc0bc152.js.map} +1 -1
  816. package/dist/esm/siemens-ix.js +1 -1
  817. package/dist/esm/{theme-switcher-b10fb4da.js → theme-switcher-5fcf712d.js} +2 -1
  818. package/dist/esm/theme-switcher-5fcf712d.js.map +1 -0
  819. package/dist/siemens-ix/index.esm.js +1 -1
  820. package/dist/siemens-ix/index.esm.js.map +1 -1
  821. package/dist/siemens-ix/{p-bf14c60b.entry.js → p-0379b864.entry.js} +2 -2
  822. package/dist/siemens-ix/{p-24a8737a.entry.js → p-054451cb.entry.js} +2 -2
  823. package/dist/siemens-ix/{p-5aa0b93c.entry.js → p-0691b6a5.entry.js} +2 -2
  824. package/dist/siemens-ix/{p-5aa0b93c.entry.js.map → p-0691b6a5.entry.js.map} +1 -1
  825. package/dist/siemens-ix/{p-90440046.entry.js → p-06f9e19f.entry.js} +2 -2
  826. package/dist/siemens-ix/p-093c25b1.entry.js +2 -0
  827. package/dist/siemens-ix/p-093c25b1.entry.js.map +1 -0
  828. package/dist/siemens-ix/{p-fb4c79c6.entry.js → p-0996d9f6.entry.js} +2 -2
  829. package/dist/siemens-ix/{p-453fa360.entry.js → p-09e0ede1.entry.js} +2 -2
  830. package/dist/siemens-ix/{p-453fa360.entry.js.map → p-09e0ede1.entry.js.map} +1 -1
  831. package/dist/siemens-ix/{p-7076210b.entry.js → p-0b8718d9.entry.js} +2 -2
  832. package/dist/siemens-ix/p-0b8718d9.entry.js.map +1 -0
  833. package/dist/siemens-ix/{p-1da901d5.js → p-0e983f70.js} +2 -2
  834. package/dist/siemens-ix/p-0e983f70.js.map +1 -0
  835. package/dist/siemens-ix/p-0f099811.entry.js +2 -0
  836. package/dist/siemens-ix/{p-0f7ef743.entry.js.map → p-0f099811.entry.js.map} +1 -1
  837. package/dist/siemens-ix/{p-bea7c748.entry.js → p-0f4e62f3.entry.js} +2 -2
  838. package/dist/siemens-ix/p-10368ba0.entry.js +2 -0
  839. package/dist/siemens-ix/{p-2ebfd4fd.entry.js.map → p-10368ba0.entry.js.map} +1 -1
  840. package/dist/siemens-ix/p-10a522ca.js +2 -0
  841. package/dist/siemens-ix/p-10a522ca.js.map +1 -0
  842. package/dist/siemens-ix/p-156fa685.entry.js +2 -0
  843. package/dist/siemens-ix/p-156fa685.entry.js.map +1 -0
  844. package/dist/siemens-ix/{p-4f8ac3bf.js → p-157b1b28.js} +1 -1
  845. package/dist/siemens-ix/{p-4f8ac3bf.js.map → p-157b1b28.js.map} +1 -1
  846. package/dist/siemens-ix/p-17240a7f.entry.js +2 -0
  847. package/dist/siemens-ix/p-17240a7f.entry.js.map +1 -0
  848. package/dist/siemens-ix/p-178ce002.js +2 -0
  849. package/dist/siemens-ix/p-178ce002.js.map +1 -0
  850. package/dist/siemens-ix/p-1a8e3fea.entry.js +2 -0
  851. package/dist/siemens-ix/{p-a8d291fa.entry.js → p-1b6dda61.entry.js} +2 -2
  852. package/dist/siemens-ix/p-1b6dda61.entry.js.map +1 -0
  853. package/dist/siemens-ix/{p-bc2c74c5.entry.js → p-1e3d6d27.entry.js} +2 -2
  854. package/dist/siemens-ix/{p-1db6be55.js → p-24afab39.js} +2 -2
  855. package/dist/{cjs/menu-tabs-fc-df53f176.js.map → siemens-ix/p-24afab39.js.map} +1 -1
  856. package/dist/siemens-ix/p-26609c63.entry.js +2 -0
  857. package/dist/siemens-ix/p-26609c63.entry.js.map +1 -0
  858. package/dist/siemens-ix/{p-68644ee1.entry.js → p-2c1540ba.entry.js} +2 -2
  859. package/dist/siemens-ix/{p-68644ee1.entry.js.map → p-2c1540ba.entry.js.map} +1 -1
  860. package/dist/siemens-ix/{p-9ebc4fc3.entry.js → p-2f232c45.entry.js} +2 -2
  861. package/dist/siemens-ix/p-2f232c45.entry.js.map +1 -0
  862. package/dist/siemens-ix/{p-6af4415c.entry.js → p-3028d530.entry.js} +2 -2
  863. package/dist/siemens-ix/{p-6af4415c.entry.js.map → p-3028d530.entry.js.map} +1 -1
  864. package/dist/siemens-ix/p-3150070f.entry.js +2 -0
  865. package/dist/siemens-ix/p-3150070f.entry.js.map +1 -0
  866. package/dist/siemens-ix/{p-f78246bd.entry.js → p-315ecf68.entry.js} +2 -2
  867. package/dist/siemens-ix/{p-712e0ee0.js → p-345e1c73.js} +1 -1
  868. package/dist/siemens-ix/{p-712e0ee0.js.map → p-345e1c73.js.map} +1 -1
  869. package/dist/siemens-ix/{p-fc5814df.entry.js → p-380a7d93.entry.js} +2 -2
  870. package/dist/siemens-ix/p-380a7d93.entry.js.map +1 -0
  871. package/dist/siemens-ix/p-3b576b4e.js +2 -0
  872. package/dist/siemens-ix/{p-112069ca.entry.js → p-3be4c628.entry.js} +2 -2
  873. package/dist/siemens-ix/p-3be4c628.entry.js.map +1 -0
  874. package/dist/siemens-ix/p-3e867ef9.entry.js +2 -0
  875. package/dist/siemens-ix/p-3e867ef9.entry.js.map +1 -0
  876. package/dist/siemens-ix/p-40f20208.entry.js +2 -0
  877. package/dist/siemens-ix/p-40f20208.entry.js.map +1 -0
  878. package/dist/siemens-ix/{p-d95cbd1f.entry.js → p-41935530.entry.js} +2 -2
  879. package/dist/siemens-ix/{p-d95cbd1f.entry.js.map → p-41935530.entry.js.map} +1 -1
  880. package/dist/siemens-ix/{p-b663ca16.entry.js → p-41d9a2e4.entry.js} +2 -2
  881. package/dist/siemens-ix/p-476e4a9d.entry.js +2 -0
  882. package/dist/siemens-ix/p-476e4a9d.entry.js.map +1 -0
  883. package/dist/siemens-ix/{p-25ee1b62.js → p-4ac31849.js} +1 -1
  884. package/dist/siemens-ix/{p-25ee1b62.js.map → p-4ac31849.js.map} +1 -1
  885. package/dist/siemens-ix/{p-2c4c03d4.entry.js → p-509dba4c.entry.js} +2 -2
  886. package/dist/siemens-ix/{p-113cc793.entry.js → p-50bcb3f8.entry.js} +2 -2
  887. package/dist/siemens-ix/{p-dcb3e5be.entry.js → p-5232d441.entry.js} +2 -2
  888. package/dist/siemens-ix/{p-5f25e7fd.entry.js → p-619a80d3.entry.js} +2 -2
  889. package/dist/siemens-ix/{p-5f25e7fd.entry.js.map → p-619a80d3.entry.js.map} +1 -1
  890. package/dist/siemens-ix/p-633a8884.entry.js +2 -0
  891. package/dist/siemens-ix/p-633a8884.entry.js.map +1 -0
  892. package/dist/siemens-ix/{p-dde7eb80.entry.js → p-66d4e328.entry.js} +2 -2
  893. package/dist/siemens-ix/{p-dde7eb80.entry.js.map → p-66d4e328.entry.js.map} +1 -1
  894. package/dist/siemens-ix/{p-1a122c76.entry.js → p-6913e59d.entry.js} +2 -2
  895. package/dist/siemens-ix/{p-fb47546b.entry.js → p-6a9577b5.entry.js} +2 -2
  896. package/dist/siemens-ix/p-6a9577b5.entry.js.map +1 -0
  897. package/dist/siemens-ix/{p-882a0233.entry.js → p-72472fa5.entry.js} +2 -2
  898. package/dist/siemens-ix/{p-1d581190.js → p-72d096e9.js} +2 -2
  899. package/dist/siemens-ix/p-72d096e9.js.map +1 -0
  900. package/dist/siemens-ix/{p-052340f9.entry.js → p-7354cdb0.entry.js} +2 -2
  901. package/dist/siemens-ix/p-737954bf.entry.js +2 -0
  902. package/dist/siemens-ix/p-737954bf.entry.js.map +1 -0
  903. package/dist/siemens-ix/p-737c61da.entry.js +2 -0
  904. package/dist/siemens-ix/{p-4430117a.entry.js.map → p-737c61da.entry.js.map} +1 -1
  905. package/dist/siemens-ix/p-73bd61ca.entry.js +2 -0
  906. package/dist/siemens-ix/{p-0653a145.entry.js → p-74461f94.entry.js} +2 -2
  907. package/dist/siemens-ix/{p-b4ce366d.entry.js → p-7815494b.entry.js} +2 -2
  908. package/dist/siemens-ix/p-7815494b.entry.js.map +1 -0
  909. package/dist/siemens-ix/{p-53352bfb.entry.js → p-8578629c.entry.js} +2 -2
  910. package/dist/siemens-ix/p-8578629c.entry.js.map +1 -0
  911. package/dist/siemens-ix/p-8a56153a.entry.js +2 -0
  912. package/dist/siemens-ix/{p-92a18c10.entry.js.map → p-8a56153a.entry.js.map} +1 -1
  913. package/dist/siemens-ix/{p-fb2b78f7.entry.js → p-8b21fc75.entry.js} +2 -2
  914. package/dist/siemens-ix/p-8b21fc75.entry.js.map +1 -0
  915. package/dist/siemens-ix/p-8b2b4ce3.entry.js +2 -0
  916. package/dist/siemens-ix/p-8b2b4ce3.entry.js.map +1 -0
  917. package/dist/siemens-ix/p-8f48462b.entry.js +2 -0
  918. package/dist/siemens-ix/p-8f48462b.entry.js.map +1 -0
  919. package/dist/siemens-ix/p-9144ea56.entry.js +2 -0
  920. package/dist/siemens-ix/p-9144ea56.entry.js.map +1 -0
  921. package/dist/siemens-ix/p-98af5c4d.entry.js +2 -0
  922. package/dist/siemens-ix/p-98af5c4d.entry.js.map +1 -0
  923. package/dist/siemens-ix/p-99a1cd81.entry.js +2 -0
  924. package/dist/siemens-ix/{p-96a3a750.entry.js → p-9b8c6123.entry.js} +2 -2
  925. package/dist/siemens-ix/p-9b8c6123.entry.js.map +1 -0
  926. package/dist/siemens-ix/p-9cd40e56.entry.js +2 -0
  927. package/dist/siemens-ix/p-9cd40e56.entry.js.map +1 -0
  928. package/dist/siemens-ix/{p-2946fd70.entry.js → p-ad0c6a32.entry.js} +2 -2
  929. package/dist/siemens-ix/p-af7a836c.entry.js +2 -0
  930. package/dist/siemens-ix/p-af7a836c.entry.js.map +1 -0
  931. package/dist/siemens-ix/{p-6fd7ecd0.entry.js → p-b247d124.entry.js} +2 -2
  932. package/dist/siemens-ix/p-b53aa733.entry.js +2 -0
  933. package/dist/siemens-ix/p-b53aa733.entry.js.map +1 -0
  934. package/dist/siemens-ix/{p-b804b8c5.entry.js → p-b6a11e17.entry.js} +2 -2
  935. package/dist/siemens-ix/p-b9e66925.entry.js +2 -0
  936. package/dist/siemens-ix/{p-2908cacd.entry.js → p-b9f67de0.entry.js} +2 -2
  937. package/dist/siemens-ix/{p-2908cacd.entry.js.map → p-b9f67de0.entry.js.map} +1 -1
  938. package/dist/siemens-ix/{p-14a41c8c.entry.js → p-ba2e041e.entry.js} +2 -2
  939. package/dist/siemens-ix/p-ba6e955a.js +2 -0
  940. package/dist/siemens-ix/p-ba6e955a.js.map +1 -0
  941. package/dist/siemens-ix/p-bf1e16f6.entry.js +2 -0
  942. package/dist/siemens-ix/p-bf1e16f6.entry.js.map +1 -0
  943. package/dist/siemens-ix/{p-ff1ac5b3.entry.js → p-c0bf3052.entry.js} +2 -2
  944. package/dist/siemens-ix/{p-1f4b8463.entry.js → p-c39a6215.entry.js} +2 -2
  945. package/dist/siemens-ix/p-c5e08d24.entry.js +2 -0
  946. package/dist/siemens-ix/p-c5e08d24.entry.js.map +1 -0
  947. package/dist/siemens-ix/{p-29df2e29.entry.js → p-c841c191.entry.js} +2 -2
  948. package/dist/siemens-ix/p-c841c191.entry.js.map +1 -0
  949. package/dist/siemens-ix/p-c8c3efb6.entry.js +2 -0
  950. package/dist/siemens-ix/p-c8c3efb6.entry.js.map +1 -0
  951. package/dist/siemens-ix/{p-5696bb62.entry.js → p-cacd4857.entry.js} +2 -2
  952. package/dist/siemens-ix/p-cdaad9de.entry.js +2 -0
  953. package/dist/siemens-ix/p-cdaad9de.entry.js.map +1 -0
  954. package/dist/siemens-ix/p-ce563a48.js +2 -0
  955. package/dist/siemens-ix/p-ce563a48.js.map +1 -0
  956. package/dist/siemens-ix/p-ce808a3f.entry.js +2 -0
  957. package/dist/siemens-ix/{p-d03df401.entry.js.map → p-ce808a3f.entry.js.map} +1 -1
  958. package/dist/siemens-ix/p-d057b634.entry.js +2 -0
  959. package/dist/siemens-ix/p-d1a5b773.entry.js +2 -0
  960. package/dist/siemens-ix/p-d1a5b773.entry.js.map +1 -0
  961. package/dist/siemens-ix/{p-16b923e9.entry.js → p-d7072aad.entry.js} +2 -2
  962. package/dist/siemens-ix/{p-af099ca4.entry.js → p-d7a0deb7.entry.js} +2 -2
  963. package/dist/siemens-ix/p-d8780f8c.entry.js +2 -0
  964. package/dist/siemens-ix/p-d8780f8c.entry.js.map +1 -0
  965. package/dist/siemens-ix/p-da71920f.entry.js +2 -0
  966. package/dist/siemens-ix/p-da71920f.entry.js.map +1 -0
  967. package/dist/siemens-ix/{p-feac09bc.entry.js → p-dc284f4d.entry.js} +2 -2
  968. package/dist/siemens-ix/p-dda1ce22.entry.js +2 -0
  969. package/dist/siemens-ix/p-dda1ce22.entry.js.map +1 -0
  970. package/dist/siemens-ix/{p-c33cee36.entry.js → p-de44d65b.entry.js} +2 -2
  971. package/dist/siemens-ix/{p-c33cee36.entry.js.map → p-de44d65b.entry.js.map} +1 -1
  972. package/dist/siemens-ix/p-e4441794.entry.js +2 -0
  973. package/dist/siemens-ix/p-e4441794.entry.js.map +1 -0
  974. package/dist/siemens-ix/{p-e8d3cf35.entry.js → p-e4ca3618.entry.js} +2 -2
  975. package/dist/siemens-ix/{p-e8d3cf35.entry.js.map → p-e4ca3618.entry.js.map} +1 -1
  976. package/dist/siemens-ix/p-e6652822.js +2 -0
  977. package/dist/siemens-ix/p-e6652822.js.map +1 -0
  978. package/dist/siemens-ix/{p-8629db91.entry.js → p-e89c0e29.entry.js} +2 -2
  979. package/dist/siemens-ix/{p-0b4e398e.entry.js → p-ead295d5.entry.js} +2 -2
  980. package/dist/siemens-ix/{p-0b4e398e.entry.js.map → p-ead295d5.entry.js.map} +1 -1
  981. package/dist/siemens-ix/p-ec037f98.js +2 -0
  982. package/dist/siemens-ix/p-ec037f98.js.map +1 -0
  983. package/dist/siemens-ix/p-ee50f7fa.entry.js +2 -0
  984. package/dist/siemens-ix/{p-8d0758c1.entry.js → p-f47bd4e8.entry.js} +2 -2
  985. package/dist/siemens-ix/{p-87e692d9.entry.js → p-f576c41d.entry.js} +2 -2
  986. package/dist/siemens-ix/{p-87e692d9.entry.js.map → p-f576c41d.entry.js.map} +1 -1
  987. package/dist/siemens-ix/p-f5a9140e.entry.js +2 -0
  988. package/dist/siemens-ix/p-f5a9140e.entry.js.map +1 -0
  989. package/dist/siemens-ix/p-fb593d70.entry.js +2 -0
  990. package/dist/siemens-ix/p-fb593d70.entry.js.map +1 -0
  991. package/dist/siemens-ix/{p-c1968b80.entry.js → p-fc766ada.entry.js} +2 -2
  992. package/dist/siemens-ix/p-fe01bff0.js +2 -0
  993. package/dist/siemens-ix/p-fe01bff0.js.map +1 -0
  994. package/dist/siemens-ix/p-ff6668b8.entry.js +2 -0
  995. package/dist/siemens-ix/siemens-ix-core.css +1 -1
  996. package/dist/siemens-ix/siemens-ix.css +15 -11
  997. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  998. package/dist/siemens-ix/siemens-ix.esm.js.map +1 -1
  999. package/dist/types/components/action-card/action-card.d.ts +3 -2
  1000. package/dist/types/components/application-header/application-header.d.ts +19 -1
  1001. package/dist/types/components/basic-navigation/basic-navigation.d.ts +2 -1
  1002. package/dist/types/components/blind/blind.d.ts +4 -4
  1003. package/dist/types/components/breadcrumb/breadcrumb.d.ts +3 -3
  1004. package/dist/types/components/button/base-button.d.ts +3 -2
  1005. package/dist/types/components/button/button.d.ts +2 -2
  1006. package/dist/types/components/card/card.d.ts +2 -1
  1007. package/dist/types/components/category-filter/category-filter.d.ts +23 -12
  1008. package/dist/types/components/category-filter/test/category-filter.ct.d.ts +1 -0
  1009. package/dist/types/components/content-header/content-header.d.ts +1 -1
  1010. package/dist/types/components/css-grid/css-grid.d.ts +2 -2
  1011. package/dist/types/components/date-dropdown/date-dropdown.d.ts +3 -3
  1012. package/dist/types/components/date-picker/date-picker.d.ts +6 -7
  1013. package/dist/types/components/dropdown/dropdown-controller.d.ts +1 -6
  1014. package/dist/types/components/dropdown/dropdown.d.ts +11 -10
  1015. package/dist/types/components/dropdown-button/dropdown-button.d.ts +4 -4
  1016. package/dist/types/components/dropdown-item/dropdown-item.d.ts +2 -2
  1017. package/dist/types/components/group/group.d.ts +7 -6
  1018. package/dist/types/components/group-item/group-item.d.ts +4 -4
  1019. package/dist/types/components/menu-about/test/menu-about.ct.d.ts +1 -0
  1020. package/dist/types/components/menu-item/menu-item.d.ts +6 -5
  1021. package/dist/types/components/modal/test/modal.ct.d.ts +3 -2
  1022. package/dist/types/components/modal-header/modal-header.d.ts +3 -3
  1023. package/dist/types/components/push-card/push-card.d.ts +4 -3
  1024. package/dist/types/components/select/select.d.ts +9 -10
  1025. package/dist/types/components/slider/slider.d.ts +3 -3
  1026. package/dist/types/components/tab-item/tab-item.d.ts +1 -1
  1027. package/dist/types/components/tabs/tabs.d.ts +7 -4
  1028. package/dist/types/components/tooltip/tooltip.d.ts +10 -10
  1029. package/dist/types/components/tree/tree.d.ts +1 -1
  1030. package/dist/types/components/tree-item/tree-item.d.ts +3 -3
  1031. package/dist/types/components/typography/type-mapping.d.ts +3 -0
  1032. package/dist/types/components/typography/typography.d.ts +3 -10
  1033. package/dist/types/components/upload/test/upload.ct.d.ts +1 -0
  1034. package/dist/types/components/upload/upload.d.ts +4 -2
  1035. package/dist/types/components/utils/disposable-event-listener.d.ts +7 -0
  1036. package/dist/types/components/utils/element-reference.d.ts +1 -0
  1037. package/dist/types/components/utils/focus.d.ts +5 -4
  1038. package/dist/types/components/utils/listener.d.ts +4 -2
  1039. package/dist/types/components/utils/make-ref.d.ts +2 -2
  1040. package/dist/types/components/utils/theme-switcher.d.ts +1 -1
  1041. package/dist/types/components.d.ts +114 -75
  1042. package/dist/types/index.d.ts +2 -0
  1043. package/dist/types/tests/utils/test/page.d.ts +1 -3
  1044. package/hydrate/index.js +1538 -790
  1045. package/package.json +6 -4
  1046. package/scss/_core.scss +5 -0
  1047. package/scss/components/form/_input.scss +17 -20
  1048. package/dist/cjs/base-button-3735b8c2.js.map +0 -1
  1049. package/dist/cjs/context-98f4a0b3.js.map +0 -1
  1050. package/dist/cjs/floating-ui.dom.esm-94b4d17c.js.map +0 -1
  1051. package/dist/cjs/focus-9c8ffbb0.js.map +0 -1
  1052. package/dist/cjs/listener-bc3e7c0c.js.map +0 -1
  1053. package/dist/cjs/make-ref-c25629b7.js.map +0 -1
  1054. package/dist/cjs/theme-switcher-2d2bde85.js.map +0 -1
  1055. package/dist/esm/base-button-1b40b11d.js.map +0 -1
  1056. package/dist/esm/context-c9078420.js.map +0 -1
  1057. package/dist/esm/floating-ui.dom.esm-6e7c098f.js.map +0 -1
  1058. package/dist/esm/focus-d4d3abaf.js.map +0 -1
  1059. package/dist/esm/listener-4f3baab5.js.map +0 -1
  1060. package/dist/esm/make-ref-c80046bf.js.map +0 -1
  1061. package/dist/esm/menu-tabs-fc-d9a7dd06.js.map +0 -1
  1062. package/dist/esm/theme-switcher-b10fb4da.js.map +0 -1
  1063. package/dist/siemens-ix/p-0c8a98cd.js +0 -2
  1064. package/dist/siemens-ix/p-0c8a98cd.js.map +0 -1
  1065. package/dist/siemens-ix/p-0d2a6886.entry.js +0 -2
  1066. package/dist/siemens-ix/p-0f7ef743.entry.js +0 -2
  1067. package/dist/siemens-ix/p-112069ca.entry.js.map +0 -1
  1068. package/dist/siemens-ix/p-15b3c17e.entry.js +0 -2
  1069. package/dist/siemens-ix/p-15b3c17e.entry.js.map +0 -1
  1070. package/dist/siemens-ix/p-1cff59db.entry.js +0 -2
  1071. package/dist/siemens-ix/p-1cff59db.entry.js.map +0 -1
  1072. package/dist/siemens-ix/p-1d581190.js.map +0 -1
  1073. package/dist/siemens-ix/p-1da901d5.js.map +0 -1
  1074. package/dist/siemens-ix/p-1db6be55.js.map +0 -1
  1075. package/dist/siemens-ix/p-29df2e29.entry.js.map +0 -1
  1076. package/dist/siemens-ix/p-2ebfd4fd.entry.js +0 -2
  1077. package/dist/siemens-ix/p-2ec7f841.entry.js +0 -2
  1078. package/dist/siemens-ix/p-2ec7f841.entry.js.map +0 -1
  1079. package/dist/siemens-ix/p-309ac3ad.entry.js +0 -2
  1080. package/dist/siemens-ix/p-309ac3ad.entry.js.map +0 -1
  1081. package/dist/siemens-ix/p-315f070d.entry.js +0 -2
  1082. package/dist/siemens-ix/p-315f070d.entry.js.map +0 -1
  1083. package/dist/siemens-ix/p-32375ddb.entry.js +0 -2
  1084. package/dist/siemens-ix/p-32d4ed3b.entry.js +0 -2
  1085. package/dist/siemens-ix/p-427676f4.entry.js +0 -2
  1086. package/dist/siemens-ix/p-427676f4.entry.js.map +0 -1
  1087. package/dist/siemens-ix/p-4430117a.entry.js +0 -2
  1088. package/dist/siemens-ix/p-44db3646.entry.js +0 -2
  1089. package/dist/siemens-ix/p-4b3facea.entry.js +0 -2
  1090. package/dist/siemens-ix/p-4b3facea.entry.js.map +0 -1
  1091. package/dist/siemens-ix/p-52857629.entry.js +0 -2
  1092. package/dist/siemens-ix/p-52857629.entry.js.map +0 -1
  1093. package/dist/siemens-ix/p-53352bfb.entry.js.map +0 -1
  1094. package/dist/siemens-ix/p-5c673ae9.entry.js +0 -2
  1095. package/dist/siemens-ix/p-5c673ae9.entry.js.map +0 -1
  1096. package/dist/siemens-ix/p-60c16878.entry.js +0 -2
  1097. package/dist/siemens-ix/p-60c16878.entry.js.map +0 -1
  1098. package/dist/siemens-ix/p-6227e62b.entry.js +0 -2
  1099. package/dist/siemens-ix/p-6227e62b.entry.js.map +0 -1
  1100. package/dist/siemens-ix/p-64c3fa3d.js +0 -2
  1101. package/dist/siemens-ix/p-64c3fa3d.js.map +0 -1
  1102. package/dist/siemens-ix/p-68532fa2.js +0 -2
  1103. package/dist/siemens-ix/p-7076210b.entry.js.map +0 -1
  1104. package/dist/siemens-ix/p-713828ed.entry.js +0 -2
  1105. package/dist/siemens-ix/p-713828ed.entry.js.map +0 -1
  1106. package/dist/siemens-ix/p-7bfd6cd2.entry.js +0 -2
  1107. package/dist/siemens-ix/p-7bfd6cd2.entry.js.map +0 -1
  1108. package/dist/siemens-ix/p-7c36d3fa.js +0 -2
  1109. package/dist/siemens-ix/p-7c36d3fa.js.map +0 -1
  1110. package/dist/siemens-ix/p-7faa148f.entry.js +0 -2
  1111. package/dist/siemens-ix/p-85423643.entry.js +0 -2
  1112. package/dist/siemens-ix/p-85423643.entry.js.map +0 -1
  1113. package/dist/siemens-ix/p-8d599677.entry.js +0 -2
  1114. package/dist/siemens-ix/p-8d599677.entry.js.map +0 -1
  1115. package/dist/siemens-ix/p-92a18c10.entry.js +0 -2
  1116. package/dist/siemens-ix/p-96a3a750.entry.js.map +0 -1
  1117. package/dist/siemens-ix/p-9ebc4fc3.entry.js.map +0 -1
  1118. package/dist/siemens-ix/p-a0138163.entry.js +0 -2
  1119. package/dist/siemens-ix/p-a0138163.entry.js.map +0 -1
  1120. package/dist/siemens-ix/p-a0a44a2b.entry.js +0 -2
  1121. package/dist/siemens-ix/p-a0a44a2b.entry.js.map +0 -1
  1122. package/dist/siemens-ix/p-a8d291fa.entry.js.map +0 -1
  1123. package/dist/siemens-ix/p-b3b23af7.entry.js +0 -2
  1124. package/dist/siemens-ix/p-b3f35666.js +0 -2
  1125. package/dist/siemens-ix/p-b3f35666.js.map +0 -1
  1126. package/dist/siemens-ix/p-b4ce366d.entry.js.map +0 -1
  1127. package/dist/siemens-ix/p-c09553f3.js +0 -2
  1128. package/dist/siemens-ix/p-c09553f3.js.map +0 -1
  1129. package/dist/siemens-ix/p-c1222581.entry.js +0 -2
  1130. package/dist/siemens-ix/p-c45601cb.entry.js +0 -2
  1131. package/dist/siemens-ix/p-c45601cb.entry.js.map +0 -1
  1132. package/dist/siemens-ix/p-c55db6c7.entry.js +0 -2
  1133. package/dist/siemens-ix/p-c55db6c7.entry.js.map +0 -1
  1134. package/dist/siemens-ix/p-d03df401.entry.js +0 -2
  1135. package/dist/siemens-ix/p-d14024d3.entry.js +0 -2
  1136. package/dist/siemens-ix/p-d14024d3.entry.js.map +0 -1
  1137. package/dist/siemens-ix/p-d1f49940.entry.js +0 -2
  1138. package/dist/siemens-ix/p-d1f49940.entry.js.map +0 -1
  1139. package/dist/siemens-ix/p-d998415f.entry.js +0 -2
  1140. package/dist/siemens-ix/p-d998415f.entry.js.map +0 -1
  1141. package/dist/siemens-ix/p-e30ed20a.entry.js +0 -2
  1142. package/dist/siemens-ix/p-e30ed20a.entry.js.map +0 -1
  1143. package/dist/siemens-ix/p-e9a3f58a.entry.js +0 -2
  1144. package/dist/siemens-ix/p-e9a3f58a.entry.js.map +0 -1
  1145. package/dist/siemens-ix/p-eb6268a6.entry.js +0 -2
  1146. package/dist/siemens-ix/p-eb6268a6.entry.js.map +0 -1
  1147. package/dist/siemens-ix/p-ebb277f0.entry.js +0 -2
  1148. package/dist/siemens-ix/p-ebb277f0.entry.js.map +0 -1
  1149. package/dist/siemens-ix/p-f07110c6.entry.js +0 -2
  1150. package/dist/siemens-ix/p-f07110c6.entry.js.map +0 -1
  1151. package/dist/siemens-ix/p-fb2b78f7.entry.js.map +0 -1
  1152. package/dist/siemens-ix/p-fb47546b.entry.js.map +0 -1
  1153. package/dist/siemens-ix/p-fc5814df.entry.js.map +0 -1
  1154. package/dist/siemens-ix/p-ff148103.entry.js +0 -2
  1155. package/dist/siemens-ix/p-ff148103.entry.js.map +0 -1
  1156. /package/dist/siemens-ix/{p-bf14c60b.entry.js.map → p-0379b864.entry.js.map} +0 -0
  1157. /package/dist/siemens-ix/{p-24a8737a.entry.js.map → p-054451cb.entry.js.map} +0 -0
  1158. /package/dist/siemens-ix/{p-90440046.entry.js.map → p-06f9e19f.entry.js.map} +0 -0
  1159. /package/dist/siemens-ix/{p-fb4c79c6.entry.js.map → p-0996d9f6.entry.js.map} +0 -0
  1160. /package/dist/siemens-ix/{p-bea7c748.entry.js.map → p-0f4e62f3.entry.js.map} +0 -0
  1161. /package/dist/siemens-ix/{p-c1222581.entry.js.map → p-1a8e3fea.entry.js.map} +0 -0
  1162. /package/dist/siemens-ix/{p-bc2c74c5.entry.js.map → p-1e3d6d27.entry.js.map} +0 -0
  1163. /package/dist/siemens-ix/{p-f78246bd.entry.js.map → p-315ecf68.entry.js.map} +0 -0
  1164. /package/dist/siemens-ix/{p-68532fa2.js.map → p-3b576b4e.js.map} +0 -0
  1165. /package/dist/siemens-ix/{p-b663ca16.entry.js.map → p-41d9a2e4.entry.js.map} +0 -0
  1166. /package/dist/siemens-ix/{p-2c4c03d4.entry.js.map → p-509dba4c.entry.js.map} +0 -0
  1167. /package/dist/siemens-ix/{p-113cc793.entry.js.map → p-50bcb3f8.entry.js.map} +0 -0
  1168. /package/dist/siemens-ix/{p-dcb3e5be.entry.js.map → p-5232d441.entry.js.map} +0 -0
  1169. /package/dist/siemens-ix/{p-1a122c76.entry.js.map → p-6913e59d.entry.js.map} +0 -0
  1170. /package/dist/siemens-ix/{p-882a0233.entry.js.map → p-72472fa5.entry.js.map} +0 -0
  1171. /package/dist/siemens-ix/{p-052340f9.entry.js.map → p-7354cdb0.entry.js.map} +0 -0
  1172. /package/dist/siemens-ix/{p-32d4ed3b.entry.js.map → p-73bd61ca.entry.js.map} +0 -0
  1173. /package/dist/siemens-ix/{p-0653a145.entry.js.map → p-74461f94.entry.js.map} +0 -0
  1174. /package/dist/siemens-ix/{p-b3b23af7.entry.js.map → p-99a1cd81.entry.js.map} +0 -0
  1175. /package/dist/siemens-ix/{p-2946fd70.entry.js.map → p-ad0c6a32.entry.js.map} +0 -0
  1176. /package/dist/siemens-ix/{p-6fd7ecd0.entry.js.map → p-b247d124.entry.js.map} +0 -0
  1177. /package/dist/siemens-ix/{p-b804b8c5.entry.js.map → p-b6a11e17.entry.js.map} +0 -0
  1178. /package/dist/siemens-ix/{p-44db3646.entry.js.map → p-b9e66925.entry.js.map} +0 -0
  1179. /package/dist/siemens-ix/{p-14a41c8c.entry.js.map → p-ba2e041e.entry.js.map} +0 -0
  1180. /package/dist/siemens-ix/{p-ff1ac5b3.entry.js.map → p-c0bf3052.entry.js.map} +0 -0
  1181. /package/dist/siemens-ix/{p-1f4b8463.entry.js.map → p-c39a6215.entry.js.map} +0 -0
  1182. /package/dist/siemens-ix/{p-5696bb62.entry.js.map → p-cacd4857.entry.js.map} +0 -0
  1183. /package/dist/siemens-ix/{p-7faa148f.entry.js.map → p-d057b634.entry.js.map} +0 -0
  1184. /package/dist/siemens-ix/{p-16b923e9.entry.js.map → p-d7072aad.entry.js.map} +0 -0
  1185. /package/dist/siemens-ix/{p-af099ca4.entry.js.map → p-d7a0deb7.entry.js.map} +0 -0
  1186. /package/dist/siemens-ix/{p-feac09bc.entry.js.map → p-dc284f4d.entry.js.map} +0 -0
  1187. /package/dist/siemens-ix/{p-8629db91.entry.js.map → p-e89c0e29.entry.js.map} +0 -0
  1188. /package/dist/siemens-ix/{p-32375ddb.entry.js.map → p-ee50f7fa.entry.js.map} +0 -0
  1189. /package/dist/siemens-ix/{p-8d0758c1.entry.js.map → p-f47bd4e8.entry.js.map} +0 -0
  1190. /package/dist/siemens-ix/{p-c1968b80.entry.js.map → p-fc766ada.entry.js.map} +0 -0
  1191. /package/dist/siemens-ix/{p-0d2a6886.entry.js.map → p-ff6668b8.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"file":"ix-date-dropdown.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,eAAe,GAAG,uoCAAuoC,CAAC;AAChqC,6BAAe,eAAe;;MC4CjB,YAAY;;;;QAwIf,sBAAiB,GAAG,KAAK,CAAC;wBAhIf,KAAK;sBAMP,YAAY;qBAKb,IAAI;;;;;2BAkCE,QAAQ;kCAqBD,IAAI;gCAegB,EAAE;8BAUO,WAAW;wBAKxB,MAAM;2BAKC,cAAc;qBAGlDA,gBAAQ,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE;;;;;IAvDtC,mBAAmB;QACjB,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACzC,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACzB,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAE7C,IAAI,CAAC,YAAY,CAAC;YAChB,IAAI,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI;YACjC,EAAE,EAAE,IAAI,CAAC,iBAAiB,CAAC,EAAE;YAC7B,EAAE,EAAE,IAAI,CAAC,iBAAiB,CAAC,EAAE;SAC9B,CAAC,CAAC;KACJ;IAwBD,wBAAwB;QACtB,IAAI,CAAC,UAAU,EAAE,CAAC;QAClB,IAAI,CAAC,mBAAmB,EAAE,CAAC;KAC5B;IAqCD,gBAAgB;QACd,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,IAAI,CAAC,aAAa,EAAE,CAAC;SACtB;KACF;IAGD,iBAAiB;QACf,IAAI,CAAC,UAAU,EAAE,CAAC;QAClB,IAAI,CAAC,q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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 * Disable the button that opens the dropdown containing the date picker.\n *\n * @since 2.3.0\n */\n @Prop() disabled = false;\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.updateCurrentDate();\n this.setDateRangeSelection(this.dateRangeId);\n\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 @Watch('disabled')\n onDisabledChange() {\n if (this.disabled) {\n this.closeDropdown();\n }\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.updateCurrentDate();\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.updateCurrentDate();\n\n return;\n }\n }\n\n private updateCurrentDate() {\n this.currentRangeValue = {\n id: this.selectedDateRangeId,\n from: this.from,\n to: this.to,\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-testid=\"date-dropdown-trigger\"\n data-date-dropdown-trigger\n variant=\"primary\"\n icon=\"history\"\n ref={(ref) => (this.triggerRef = ref)}\n disabled={this.disabled}\n >\n {this.getButtonLabel()}\n </ix-button>\n <ix-dropdown\n data-testid=\"date-dropdown\"\n data-date-dropdown\n class=\"min-width max-height\"\n trigger={this.triggerRef}\n closeBehavior=\"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}
1
+ {"file":"ix-date-dropdown.entry.cjs.js","mappings":";;;;;;;;AAAA,MAAM,eAAe,GAAG,uoCAAuoC,CAAC;AAChqC,6BAAe,eAAe;;MC6CjB,YAAY;;;;QAqIN,eAAU,GAAGA,eAAO,EAAe,CAAC;QAQ7C,sBAAiB,GAAG,KAAK,CAAC;wBArIf,KAAK;sBAMP,YAAY;qBAKb,IAAI;oBAQL,EAAE;kBAQJ,EAAE;uBAMG,EAAE;uBAMF,EAAE;2BAME,QAAQ;kCAyBD,IAAI;gCAegB,EAAE;8BAUO,WAAW;wBAKxB,MAAM;2BAKC,cAAc;qBAGlDC,gBAAQ,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE;mCAWS,QAAQ;;;IAtEvD,mBAAmB;QACjB,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACzC,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACzB,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAE7C,IAAI,CAAC,IAAI,CAAC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B,EACD,iBAAiB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,eAAe,EAAE,EAC7C,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,KAAK,EAAE,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,EAClBA,kEAAK,KAAK,EAAC,YAAY,IACrBA,wEACE,OAAO,EAAE;gBACP,IAAI,IAAI,CAAC,iBAAiB,EAAE;oBAC1B,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;iBAC3C;aACF,IAEA,IAAI,CAAC,QAAQ,CACJ,CACR,CACG,CACZ,CACM,CACF,CACM,CACL,CACT,EACP;KACH;;;;;;;;;;;;;;","names":["makeRef","DateTime","h","Host","Fragment"],"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';\nimport { makeRef } from '../utils/make-ref';\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 * Disable the button that opens the dropdown containing the date picker.\n *\n * @since 2.3.0\n */\n @Prop() disabled = false;\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 = '';\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 = '';\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 = '';\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 = '';\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.updateCurrentDate();\n this.setDateRangeSelection(this.dateRangeId);\n\n if (!this.currentRangeValue) {\n return;\n }\n\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()\n private readonly dateRangeChange!: EventEmitter<DateRangeChangeEvent>;\n\n @State() private selectedDateRangeId: string = 'custom';\n @State() private currentRangeValue?: {\n from: string;\n to: string;\n id: string;\n };\n private readonly triggerRef = makeRef<HTMLElement>();\n\n @Watch('disabled')\n onDisabledChange() {\n if (this.disabled) {\n this.closeDropdown();\n }\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 || { id: '', from: '', to: '' };\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.updateCurrentDate();\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.updateCurrentDate();\n\n return;\n }\n }\n\n private updateCurrentDate() {\n this.currentRangeValue = {\n id: this.selectedDateRangeId,\n from: this.from,\n to: this.to,\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) && this.currentRangeValue) {\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 const dropdown = this.hostElement.shadowRoot!.querySelector('ix-dropdown');\n\n if (dropdown) {\n dropdown.show = false;\n }\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-testid=\"date-dropdown-trigger\"\n data-date-dropdown-trigger\n variant=\"primary\"\n icon=\"history\"\n ref={this.triggerRef}\n disabled={this.disabled}\n >\n {this.getButtonLabel()}\n </ix-button>\n <ix-dropdown\n data-testid=\"date-dropdown\"\n data-date-dropdown\n class=\"min-width max-height\"\n trigger={this.triggerRef.waitForCurrent()}\n closeBehavior=\"outside\"\n placement=\"bottom-start\"\n onShowChanged={({ detail: show }) => {\n if (\n !show &&\n this.selectedDateRangeId === 'custom' &&\n this.datePickerTouched &&\n this.currentRangeValue\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 if (this.currentRangeValue) {\n this.onDateSelect(this.currentRangeValue);\n }\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}
@@ -26,7 +26,7 @@ const DateTimeCard = class {
26
26
  };
27
27
  }
28
28
  render() {
29
- return (index.h(index.Host, { key: 'b699133fd52ef092307f90f515aa7046a99cd21f' }, index.h("div", { key: '938a7c031dae445fee084ea8c1390627b1743bfb', class: this.cardClasses() }, index.h("div", { key: '1d20df2d528d8219a7fcea504f63da8a07a4fe74', class: "header" }, index.h("slot", { key: '0dadc7cb6813210aa9de4299f86a2e1b8ed01764', name: "header" })), index.h("div", { key: '79a1560d676b4d7583edf9c2fc14be75d4a35514', class: "separator" }), index.h("div", { key: 'e0f633c51c1167383fc9f75d153cfb20ee77bc39', class: "content" }, index.h("slot", { key: 'eb8a5596284dd1a461d7f83abe3ec94ac0ebe76c' })))));
29
+ return (index.h(index.Host, { key: '7cc34e0218f22893a5ff27e2c3c680026939fac6' }, index.h("div", { key: 'eb37559feb28a2e1cbb65e23798d15a86a9d42d5', class: this.cardClasses() }, index.h("div", { key: '6b563589d43855cb79adb7c1b49ee3cc89eaa4b1', class: "header" }, index.h("slot", { key: '504c4b9c5ffb76709e5316ac90fd7333f73c37ca', name: "header" })), index.h("div", { key: 'a2699f1741c8199858286c103cc486f1a79e6c3a', class: "separator" }), index.h("div", { key: 'ae764322e05cde48f95a97bd1a277e0469fb6108', class: "content" }, index.h("slot", { key: '0df494e57a0335bf250eff1c7f8ee2a64f79d563' })))));
30
30
  }
31
31
  };
32
32
  DateTimeCard.style = IxDateTimeCardStyle0;
@@ -57,7 +57,7 @@ const DatetimePicker = class {
57
57
  this.timeChange.emit(time);
58
58
  }
59
59
  render() {
60
- return (index.h(index.Host, { key: '245fa3202c8983bc8eff53d4078c2a6a8daa0810' }, index.h("ix-layout-grid", { key: '1bc34611a653f3dea08ee0be6a336766da38b914', class: "no-padding" }, index.h("ix-row", { key: '26eef283266f46fb5a19fcaf1d78f985119cec3a' }, index.h("ix-col", { key: 'd4ac83db8977067d5c178fb48eac1acc1adca898', class: "no-padding" }, index.h("ix-date-picker", { key: '967af43189787bc677ff273de023b43d9e3b0019', 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 })), index.h("ix-col", { key: '53bbc9d021687f71f211b6d4091e421b7374ae56', class: "no-padding" }, index.h("ix-time-picker", { key: 'da5a855b94d37b1424de7f10804e707e9d082139', 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 }))), index.h("ix-row", { key: 'aa564cb9741fda50e046a508cb9e2ad985ed11d7' }, index.h("ix-col", { key: 'a13d931565a1165e262070e6e3d637fce6da38c6' }, index.h("ix-button", { key: '6769327a6e405d2b2705c3a64b4b2031e8f80de4', class: "btn-select-date btn-md-width", onClick: () => this.onDone() }, this.textSelectDate || this.i18nDone))))));
60
+ return (index.h(index.Host, { key: '9b01b8df6d5a2639b4a366edb54b74ecb83177fd' }, index.h("ix-layout-grid", { key: '909420ce17eeec9975cbc926c9d721b3ccb2af96', class: "no-padding" }, index.h("ix-row", { key: '29bd4647604c309e619238c5d5263280e83df6e4' }, index.h("ix-col", { key: 'f909e90d55276646b83c1366d629e7e13974a56f', class: "no-padding" }, index.h("ix-date-picker", { key: '3956832c2249fb43dc71096e73a98e7b8b8a0445', 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 })), index.h("ix-col", { key: '2eb19f415cd133e5ac300ce4609a3671c0e76d0a', class: "no-padding" }, index.h("ix-time-picker", { key: '2ecb2aa268d4c239c69f52d8fba8d4904bb608d8', 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 }))), index.h("ix-row", { key: 'aa43460c810f84730455581102416e420ce38123' }, index.h("ix-col", { key: 'aa2068f0d7fc63a4677ac666b97b4c1bec82e29a' }, index.h("ix-button", { key: 'c2f8c11facdec2c40a3218f2faed1b423ff65347', class: "btn-select-date btn-md-width", onClick: () => this.onDone() }, this.textSelectDate || this.i18nDone))))));
61
61
  }
62
62
  };
63
63
  DatetimePicker.style = IxDatetimePickerStyle0;
@@ -12,7 +12,7 @@ const Divider = class {
12
12
  index.registerInstance(this, hostRef);
13
13
  }
14
14
  render() {
15
- return index.h(index.Host, { key: 'b940598630bbccaae3d37bfb9fef71c35e777a14' });
15
+ return index.h(index.Host, { key: '6f265f6b18de560468fcee37f850079a83098c15' });
16
16
  }
17
17
  };
18
18
  Divider.style = IxDividerStyle0;
@@ -89,7 +89,7 @@ const Drawer = class {
89
89
  this.onShowChanged(this.show);
90
90
  }
91
91
  render() {
92
- return (index.h(index.Host, { key: '4cb0a06786c80cd977ebfbbfef6c23d6e7926d86', class: {
92
+ return (index.h(index.Host, { key: 'c33f929791870aa05cd4d7bb80c0e85b0ddbca43', class: {
93
93
  'drawer-container': true,
94
94
  toggle: this.show,
95
95
  'full-height': this.fullHeight,
@@ -98,7 +98,7 @@ const Drawer = class {
98
98
  width: this.width === 'auto' ? this.width : `${this.width}rem`,
99
99
  'min-width': `${this.minWidth}rem`,
100
100
  'max-width': `${this.maxWidth}rem`,
101
- }, ref: (el) => (this.divElement = el), "data-testid": "container", id: "div-container" }, index.h("div", { key: '63c8952c342a1d412237ab82f96ac063c0a30158', class: "header" }, index.h("div", { key: '4a8525053f3954b3b83dac4f8b012f005e9725b7', class: "header-content" }, index.h("slot", { key: '55b887208a3bdc445950c2e5f153cfaa1ba89068', name: "header" })), index.h("ix-icon-button", { key: '84b5b11f21d4d768c0118450147bf74d6e0a1400', class: "close-button", icon: 'close', size: "24", ghost: true, onClick: () => this.onCloseClicked(), "data-testid": "close-button" })), index.h("div", { key: '00079cfb6504ed6fa44c23209787add116e72591', class: "content" }, index.h("slot", { key: '3de3610ac265b9eda7d69eedf28494b47861c7e3' }))));
101
+ }, ref: (el) => (this.divElement = el), "data-testid": "container", id: "div-container" }, index.h("div", { key: 'c7b8195595ae8b6a316439f1c70ab4649feabd3a', class: "header" }, index.h("div", { key: '0d9e7fe3591cbb237c1f5f12cce45b438088b9ff', class: "header-content" }, index.h("slot", { key: '3b5d57e5406d3b581d27855a3219ba361065b84d', name: "header" })), index.h("ix-icon-button", { key: '84e9ecfd1ed9e73fce6c5814d8cbc8631e6e746d', class: "close-button", icon: 'close', size: "24", ghost: true, onClick: () => this.onCloseClicked(), "data-testid": "close-button" })), index.h("div", { key: '91e39d7f77ae9a0357d73d76b71606810649d61c', class: "content" }, index.h("slot", { key: '4cee96836ef143d25ba7b69520bda47bc9dc768d' }))));
102
102
  }
103
103
  static get watchers() { return {
104
104
  "show": ["onShowChanged"]
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-529f21c1.js');
6
+ const makeRef = require('./make-ref-499e1e41.js');
6
7
 
7
8
  const dropdownButtonCss = ":host{display:inline-block;position:relative;height:2rem;width:auto}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .hide{display:none}:host .dropdown-button{display:block;position:relative;width:100%;height:100%}:host .dropdown-button>ix-button{width:100%;height:100%}:host .dropdown-button .button-label{margin-right:auto;min-width:0px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host .dropdown-button .dropdown-icon{margin-right:0.25rem}:host .triangle{position:absolute;margin-inline-start:1.5625rem;margin-block-start:-0.4375rem;border-right:0 solid transparent;border-left:4px solid transparent;border-top:0 solid transparent;border-bottom:4px solid;color:var(--theme-btn-primary--color)}:host .triangle.primary.ghost{color:var(--theme-btn-invisible-primary--color)}:host .triangle.primary.outline{color:var(--theme-btn-outline-primary--color)}:host .triangle.primary.ghost.disabled{color:var(--theme-btn-invisible-primary--color--disabled)}:host .triangle.primary.outline.disabled{color:var(--theme-btn-outline-primary--color--disabled)}:host .triangle.primary.disabled{color:var(--theme-btn-primary--color--disabled)}:host .triangle.secondary.ghost{color:var(--theme-btn-invisible-secondary--color)}:host .triangle.secondary.outline{color:var(--theme-btn-outline-secondary--color)}:host .triangle.secondary.ghost.disabled{color:var(--theme-btn-invisible-secondary--color--disabled)}:host .triangle.secondary.outline.disabled{color:var(--theme-btn-outline-secondary--color--disabled)}:host .triangle.secondary.disabled{color:var(--theme-btn-secondary--color--disabled)}:host .content{display:flex;align-items:center}:host(.disabled){pointer-events:none}";
8
9
  const IxDropdownButtonStyle0 = dropdownButtonCss;
@@ -10,6 +11,7 @@ const IxDropdownButtonStyle0 = dropdownButtonCss;
10
11
  const DropdownButton = class {
11
12
  constructor(hostRef) {
12
13
  index.registerInstance(this, hostRef);
14
+ this.dropdownAnchor = makeRef.makeRef();
13
15
  this.variant = 'primary';
14
16
  this.outline = false;
15
17
  this.ghost = false;
@@ -18,7 +20,6 @@ const DropdownButton = class {
18
20
  this.icon = undefined;
19
21
  this.closeBehavior = 'both';
20
22
  this.placement = undefined;
21
- this.dropdownAnchor = undefined;
22
23
  }
23
24
  getTriangle() {
24
25
  return (index.h("div", { class: {
@@ -32,11 +33,9 @@ const DropdownButton = class {
32
33
  } }));
33
34
  }
34
35
  render() {
35
- return (index.h(index.Host, { key: '8669f7d302b6009aa9ab9cadb3c86e4bbcc6330f', class: {
36
+ return (index.h(index.Host, { key: 'de22caabcde75df5653f3a44066a2510d5356b46', class: {
36
37
  disabled: this.disabled,
37
- }, ref: (ref) => {
38
- this.dropdownAnchor = ref;
39
- } }, index.h("div", { key: '5561196cfa6584097b0395ca1d4bf61db522b5a8', class: "dropdown-button" }, this.label ? (index.h("ix-button", { variant: this.variant, outline: this.outline, ghost: this.ghost, disabled: this.disabled, alignment: "start" }, index.h("div", { class: 'content' }, this.icon ? (index.h("ix-icon", { name: this.icon, size: "24", class: 'dropdown-icon' })) : null, index.h("div", { class: 'button-label' }, this.label), index.h("ix-icon", { name: 'chevron-down-small', size: "24" })))) : (index.h("div", null, index.h("ix-icon-button", { icon: this.icon, variant: this.variant, outline: this.outline, ghost: this.ghost, disabled: this.disabled }), this.getTriangle()))), index.h("ix-dropdown", { key: '4b738dfff8c84360e1d561560c3b29ba21684de6', class: "dropdown", trigger: this.dropdownAnchor, placement: this.placement, closeBehavior: this.closeBehavior }, index.h("slot", { key: 'ad15df81aad664b12a3183b45e443b110d2b4393' }))));
38
+ }, ref: this.dropdownAnchor }, index.h("div", { key: 'b704fee9b1f8842fe6468c8f510d880e75117208', class: "dropdown-button" }, this.label ? (index.h("ix-button", { variant: this.variant, outline: this.outline, ghost: this.ghost, disabled: this.disabled, alignment: "start" }, index.h("div", { class: 'content' }, this.icon ? (index.h("ix-icon", { name: this.icon, size: "24", class: 'dropdown-icon' })) : null, index.h("div", { class: 'button-label' }, this.label), index.h("ix-icon", { name: 'chevron-down-small', size: "24" })))) : (index.h("div", null, index.h("ix-icon-button", { icon: this.icon, variant: this.variant, outline: this.outline, ghost: this.ghost, disabled: this.disabled }), this.getTriangle()))), index.h("ix-dropdown", { key: 'd902fac793dc815b6f2aa7259d7f7c3fb8923879', class: "dropdown", trigger: this.dropdownAnchor.waitForCurrent(), placement: this.placement, closeBehavior: this.closeBehavior }, index.h("slot", { key: '173ee7c5e1ded4424fd5693ac802037800b278f9' }))));
40
39
  }
41
40
  get hostElement() { return index.getElement(this); }
42
41
  };
@@ -1 +1 @@
1
- {"file":"ix-dropdown-button.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,iBAAiB,GAAG,21EAA21E,CAAC;AACt3E,+BAAe,iBAAiB;;MCsBnB,cAAc;;;uBAMgB,SAAS;uBAKhC,KAAK;qBAKP,KAAK;wBAKF,KAAK;;;6BAgByC,MAAM;;;;IAW/D,WAAW;QACjB,QACEA,iBACE,KAAK,EAAE;gBACL,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE,IAAI,CAAC,KAAK,KAAK,EAAE;gBACvB,OAAO,EAAE,IAAI,CAAC,OAAO,KAAK,SAAS;gBACnC,SAAS,EAAE,IAAI,CAAC,OAAO,KAAK,WAAW;gBACvC,KAAK,EAAE,IAAI,CAAC,KAAK;gBACjB,OAAO,EAAE,IAAI,CAAC,OAAO;gBACrB,QAAQ,EAAE,IAAI,CAAC,QAAQ;aACxB,GACI,EACP;KACH;IAED,MAAM;QACJ,QACEA,QAACC,UAAI,qDACH,KAAK,EAAE;gBACL,QAAQ,EAAE,IAAI,CAAC,QAAQ;aACxB,EACD,GAAG,EAAE,CAAC,GAAG;gBACP,IAAI,CAAC,cAAc,GAAG,GAAG,CAAC;aAC3B,IAEDD,kEAAK,KAAK,EAAC,iBAAiB,IACzB,IAAI,CAAC,KAAK,IACTA,uBACE,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,SAAS,EAAC,OAAO,IAEjBA,iBAAK,KAAK,EAAE,SAAS,IAClB,IAAI,CAAC,IAAI,IACRA,qBACE,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,IAAI,EAAC,IAAI,EACT,KAAK,EAAE,eAAe,GACb,IACT,IAAI,EACRA,iBAAK,KAAK,EAAE,cAAc,IAAG,IAAI,CAAC,KAAK,CAAO,EAC9CA,qBAAS,IAAI,EAAE,oBAAoB,EAAE,IAAI,EAAC,IAAI,GAAW,CACrD,CACI,KAEZA,qBACEA,4BACE,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,QAAQ,EAAE,IAAI,CAAC,QAAQ,GACP,EACjB,IAAI,CAAC,WAAW,EAAE,CACf,CACP,CACG,EAENA,0EACE,KAAK,EAAC,UAAU,EAChB,OAAO,EAAE,IAAI,CAAC,cAAc,EAC5B,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,aAAa,EAAE,IAAI,CAAC,aAAa,IAEjCA,oEAAa,CACD,CACT,EACP;KACH;;;;;;;","names":["h","Host"],"sources":["src/components/dropdown-button/dropdown-button.scss?tag=ix-dropdown-button&encapsulation=shadow","src/components/dropdown-button/dropdown-button.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n@import 'common-variables';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n\n display: inline-block;\n position: relative;\n height: $x-large-space;\n width: auto;\n\n .hide {\n display: none;\n }\n\n .dropdown-button {\n display: block;\n position: relative;\n width: 100%;\n height: 100%;\n }\n\n .dropdown-button > ix-button {\n width: 100%;\n height: 100%;\n }\n\n .dropdown-button .button-label {\n margin-right: auto;\n min-width: 0px;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n\n .dropdown-button .dropdown-icon {\n margin-right: 0.25rem;\n }\n\n .triangle {\n position: absolute;\n margin-inline-start: 1.5625rem;\n margin-block-start: -0.4375rem;\n border-right: 0 solid transparent;\n border-left: 4px solid transparent;\n border-top: 0 solid transparent;\n border-bottom: 4px solid;\n color: var(--theme-btn-primary--color);\n }\n\n .triangle.primary {\n &.ghost {\n color: var(--theme-btn-invisible-primary--color);\n }\n\n &.outline {\n color: var(--theme-btn-outline-primary--color);\n }\n\n &.ghost.disabled {\n color: var(--theme-btn-invisible-primary--color--disabled);\n }\n\n &.outline.disabled {\n color: var(--theme-btn-outline-primary--color--disabled);\n }\n\n &.disabled {\n color: var(--theme-btn-primary--color--disabled);\n }\n }\n\n .triangle.secondary {\n &.ghost {\n color: var(--theme-btn-invisible-secondary--color);\n }\n\n &.outline {\n color: var(--theme-btn-outline-secondary--color);\n }\n\n &.ghost.disabled {\n color: var(--theme-btn-invisible-secondary--color--disabled);\n }\n\n &.outline.disabled {\n color: var(--theme-btn-outline-secondary--color--disabled);\n }\n\n &.disabled {\n color: var(--theme-btn-secondary--color--disabled);\n }\n }\n\n .content {\n display: flex;\n align-items: center;\n }\n}\n\n:host(.disabled) {\n pointer-events: none;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, Element, h, Host, Prop, State } from '@stencil/core';\nimport { ButtonVariant } from '../button/button';\nimport { AlignedPlacement } from '../dropdown/placement';\n\nexport type DropdownButtonVariant = ButtonVariant;\n\n/**\n * @since 1.3.0\n */\n@Component({\n tag: 'ix-dropdown-button',\n styleUrl: 'dropdown-button.scss',\n shadow: true,\n})\nexport class DropdownButton {\n @Element() hostElement!: HTMLIxDropdownButtonElement;\n\n /**\n * Button variant\n */\n @Prop() variant: DropdownButtonVariant = 'primary';\n\n /**\n * Outline button\n */\n @Prop() outline = false;\n\n /**\n * Button with no background or outline\n */\n @Prop() ghost = false;\n\n /**\n * Disable button\n */\n @Prop() disabled = false;\n\n /**\n * Set label\n */\n @Prop() label: string;\n\n /**\n * Button icon\n */\n @Prop() icon: string;\n\n /**\n * Controls if the dropdown will be closed in response to a click event depending on the position of the event relative to the dropdown.\n * @since 2.1.0\n */\n @Prop() closeBehavior: 'inside' | 'outside' | 'both' | boolean = 'both';\n\n /**\n * Placement of the dropdown\n *\n * @since 2.0.0\n */\n @Prop() placement: AlignedPlacement;\n\n @State() dropdownAnchor!: HTMLElement;\n\n private getTriangle() {\n return (\n <div\n class={{\n triangle: true,\n hide: this.label !== '',\n primary: this.variant === 'primary',\n secondary: this.variant === 'secondary',\n ghost: this.ghost,\n outline: this.outline,\n disabled: this.disabled,\n }}\n ></div>\n );\n }\n\n render() {\n return (\n <Host\n class={{\n disabled: this.disabled,\n }}\n ref={(ref) => {\n this.dropdownAnchor = ref;\n }}\n >\n <div class=\"dropdown-button\">\n {this.label ? (\n <ix-button\n variant={this.variant}\n outline={this.outline}\n ghost={this.ghost}\n disabled={this.disabled}\n alignment=\"start\"\n >\n <div class={'content'}>\n {this.icon ? (\n <ix-icon\n name={this.icon}\n size=\"24\"\n class={'dropdown-icon'}\n ></ix-icon>\n ) : null}\n <div class={'button-label'}>{this.label}</div>\n <ix-icon name={'chevron-down-small'} size=\"24\"></ix-icon>\n </div>\n </ix-button>\n ) : (\n <div>\n <ix-icon-button\n icon={this.icon}\n variant={this.variant}\n outline={this.outline}\n ghost={this.ghost}\n disabled={this.disabled}\n ></ix-icon-button>\n {this.getTriangle()}\n </div>\n )}\n </div>\n\n <ix-dropdown\n class=\"dropdown\"\n trigger={this.dropdownAnchor}\n placement={this.placement}\n closeBehavior={this.closeBehavior}\n >\n <slot></slot>\n </ix-dropdown>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ix-dropdown-button.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,iBAAiB,GAAG,21EAA21E,CAAC;AACt3E,+BAAe,iBAAiB;;MCuBnB,cAAc;;;QA8CR,mBAAc,GAAGA,eAAO,EAAe,CAAC;uBAxChB,SAAS;uBAKhC,KAAK;qBAKP,KAAK;wBAKF,KAAK;;;6BAgByC,MAAM;;;IAW/D,WAAW;QACjB,QACEC,iBACE,KAAK,EAAE;gBACL,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE,IAAI,CAAC,KAAK,KAAK,EAAE;gBACvB,OAAO,EAAE,IAAI,CAAC,OAAO,KAAK,SAAS;gBACnC,SAAS,EAAE,IAAI,CAAC,OAAO,KAAK,WAAW;gBACvC,KAAK,EAAE,IAAI,CAAC,KAAK;gBACjB,OAAO,EAAE,IAAI,CAAC,OAAO;gBACrB,QAAQ,EAAE,IAAI,CAAC,QAAQ;aACxB,GACI,EACP;KACH;IAED,MAAM;QACJ,QACEA,QAACC,UAAI,qDACH,KAAK,EAAE;gBACL,QAAQ,EAAE,IAAI,CAAC,QAAQ;aACxB,EACD,GAAG,EAAE,IAAI,CAAC,cAAc,IAExBD,kEAAK,KAAK,EAAC,iBAAiB,IACzB,IAAI,CAAC,KAAK,IACTA,uBACE,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,SAAS,EAAC,OAAO,IAEjBA,iBAAK,KAAK,EAAE,SAAS,IAClB,IAAI,CAAC,IAAI,IACRA,qBACE,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,IAAI,EAAC,IAAI,EACT,KAAK,EAAE,eAAe,GACb,IACT,IAAI,EACRA,iBAAK,KAAK,EAAE,cAAc,IAAG,IAAI,CAAC,KAAK,CAAO,EAC9CA,qBAAS,IAAI,EAAE,oBAAoB,EAAE,IAAI,EAAC,IAAI,GAAW,CACrD,CACI,KAEZA,qBACEA,4BACE,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,QAAQ,EAAE,IAAI,CAAC,QAAQ,GACP,EACjB,IAAI,CAAC,WAAW,EAAE,CACf,CACP,CACG,EAENA,0EACE,KAAK,EAAC,UAAU,EAChB,OAAO,EAAE,IAAI,CAAC,cAAc,CAAC,cAAc,EAAE,EAC7C,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,aAAa,EAAE,IAAI,CAAC,aAAa,IAEjCA,oEAAa,CACD,CACT,EACP;KACH;;;;;;;","names":["makeRef","h","Host"],"sources":["src/components/dropdown-button/dropdown-button.scss?tag=ix-dropdown-button&encapsulation=shadow","src/components/dropdown-button/dropdown-button.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n@import 'common-variables';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n\n display: inline-block;\n position: relative;\n height: $x-large-space;\n width: auto;\n\n .hide {\n display: none;\n }\n\n .dropdown-button {\n display: block;\n position: relative;\n width: 100%;\n height: 100%;\n }\n\n .dropdown-button > ix-button {\n width: 100%;\n height: 100%;\n }\n\n .dropdown-button .button-label {\n margin-right: auto;\n min-width: 0px;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n\n .dropdown-button .dropdown-icon {\n margin-right: 0.25rem;\n }\n\n .triangle {\n position: absolute;\n margin-inline-start: 1.5625rem;\n margin-block-start: -0.4375rem;\n border-right: 0 solid transparent;\n border-left: 4px solid transparent;\n border-top: 0 solid transparent;\n border-bottom: 4px solid;\n color: var(--theme-btn-primary--color);\n }\n\n .triangle.primary {\n &.ghost {\n color: var(--theme-btn-invisible-primary--color);\n }\n\n &.outline {\n color: var(--theme-btn-outline-primary--color);\n }\n\n &.ghost.disabled {\n color: var(--theme-btn-invisible-primary--color--disabled);\n }\n\n &.outline.disabled {\n color: var(--theme-btn-outline-primary--color--disabled);\n }\n\n &.disabled {\n color: var(--theme-btn-primary--color--disabled);\n }\n }\n\n .triangle.secondary {\n &.ghost {\n color: var(--theme-btn-invisible-secondary--color);\n }\n\n &.outline {\n color: var(--theme-btn-outline-secondary--color);\n }\n\n &.ghost.disabled {\n color: var(--theme-btn-invisible-secondary--color--disabled);\n }\n\n &.outline.disabled {\n color: var(--theme-btn-outline-secondary--color--disabled);\n }\n\n &.disabled {\n color: var(--theme-btn-secondary--color--disabled);\n }\n }\n\n .content {\n display: flex;\n align-items: center;\n }\n}\n\n:host(.disabled) {\n pointer-events: none;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, Element, h, Host, Prop } from '@stencil/core';\nimport { ButtonVariant } from '../button/button';\nimport { AlignedPlacement } from '../dropdown/placement';\nimport { makeRef } from '../utils/make-ref';\n\nexport type DropdownButtonVariant = ButtonVariant;\n\n/**\n * @since 1.3.0\n */\n@Component({\n tag: 'ix-dropdown-button',\n styleUrl: 'dropdown-button.scss',\n shadow: true,\n})\nexport class DropdownButton {\n @Element() hostElement!: HTMLIxDropdownButtonElement;\n\n /**\n * Button variant\n */\n @Prop() variant: DropdownButtonVariant = 'primary';\n\n /**\n * Outline button\n */\n @Prop() outline = false;\n\n /**\n * Button with no background or outline\n */\n @Prop() ghost = false;\n\n /**\n * Disable button\n */\n @Prop() disabled = false;\n\n /**\n * Set label\n */\n @Prop() label?: string;\n\n /**\n * Button icon\n */\n @Prop() icon?: string;\n\n /**\n * Controls if the dropdown will be closed in response to a click event depending on the position of the event relative to the dropdown.\n * @since 2.1.0\n */\n @Prop() closeBehavior: 'inside' | 'outside' | 'both' | boolean = 'both';\n\n /**\n * Placement of the dropdown\n *\n * @since 2.0.0\n */\n @Prop() placement?: AlignedPlacement;\n\n private readonly dropdownAnchor = makeRef<HTMLElement>();\n\n private getTriangle() {\n return (\n <div\n class={{\n triangle: true,\n hide: this.label !== '',\n primary: this.variant === 'primary',\n secondary: this.variant === 'secondary',\n ghost: this.ghost,\n outline: this.outline,\n disabled: this.disabled,\n }}\n ></div>\n );\n }\n\n render() {\n return (\n <Host\n class={{\n disabled: this.disabled,\n }}\n ref={this.dropdownAnchor}\n >\n <div class=\"dropdown-button\">\n {this.label ? (\n <ix-button\n variant={this.variant}\n outline={this.outline}\n ghost={this.ghost}\n disabled={this.disabled}\n alignment=\"start\"\n >\n <div class={'content'}>\n {this.icon ? (\n <ix-icon\n name={this.icon}\n size=\"24\"\n class={'dropdown-icon'}\n ></ix-icon>\n ) : null}\n <div class={'button-label'}>{this.label}</div>\n <ix-icon name={'chevron-down-small'} size=\"24\"></ix-icon>\n </div>\n </ix-button>\n ) : (\n <div>\n <ix-icon-button\n icon={this.icon}\n variant={this.variant}\n outline={this.outline}\n ghost={this.ghost}\n disabled={this.disabled}\n ></ix-icon-button>\n {this.getTriangle()}\n </div>\n )}\n </div>\n\n <ix-dropdown\n class=\"dropdown\"\n trigger={this.dropdownAnchor.waitForCurrent()}\n placement={this.placement}\n closeBehavior={this.closeBehavior}\n >\n <slot></slot>\n </ix-dropdown>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -13,7 +13,7 @@ const DropdownHeader = class {
13
13
  this.label = undefined;
14
14
  }
15
15
  render() {
16
- return (index.h(index.Host, { key: '987d6e23477350b4ea2c129802bcf1887970ef08' }, index.h("ix-typography", { key: '98aa123660b40148119a914d5edd0eb12b161823', class: 'category-text', variant: 'default-title' }, this.label)));
16
+ return (index.h(index.Host, { key: 'e95561bef7bee2a7234361522dbfa22941b6c8aa' }, index.h("ix-typography", { key: '4df8b4825d4dbc7703644924e396823647fab603', class: 'category-text', format: 'h5' }, this.label)));
17
17
  }
18
18
  };
19
19
  DropdownHeader.style = IxDropdownHeaderStyle0;
@@ -1 +1 @@
1
- {"file":"ix-dropdown-header.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,iBAAiB,GAAG,k6BAAk6B,CAAC;AAC77B,+BAAe,iBAAiB;;MCkBnB,cAAc;;;;;IAMzB,MAAM;QACJ,QACEA,QAACC,UAAI,uDACHD,4EAAe,KAAK,EAAE,eAAe,EAAE,OAAO,EAAE,eAAe,IAC5D,IAAI,CAAC,KAAK,CACG,CACX,EACP;KACH;;;;;;","names":["h","Host"],"sources":["src/components/dropdown-header/dropdown-header.scss?tag=ix-dropdown-header&encapsulation=shadow","src/components/dropdown-header/dropdown-header.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n\n display: flex;\n align-items: center;\n position: relative;\n height: 2.5rem;\n width: auto;\n\n padding: 0.25rem 1rem;\n\n overflow: hidden;\n cursor: default;\n\n color: var(--theme-color-soft-text);\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, h, Host, Prop } from '@stencil/core';\n\n/**\n * @since 2.0.0\n */\n@Component({\n tag: 'ix-dropdown-header',\n styleUrl: 'dropdown-header.scss',\n shadow: true,\n})\nexport class DropdownHeader {\n /**\n * Display name of the header\n */\n @Prop() label: string;\n\n render() {\n return (\n <Host>\n <ix-typography class={'category-text'} variant={'default-title'}>\n {this.label}\n </ix-typography>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ix-dropdown-header.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,iBAAiB,GAAG,k6BAAk6B,CAAC;AAC77B,+BAAe,iBAAiB;;MCkBnB,cAAc;;;;;IAMzB,MAAM;QACJ,QACEA,QAACC,UAAI,uDACHD,4EAAe,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,IAAI,IAChD,IAAI,CAAC,KAAK,CACG,CACX,EACP;KACH;;;;;;","names":["h","Host"],"sources":["src/components/dropdown-header/dropdown-header.scss?tag=ix-dropdown-header&encapsulation=shadow","src/components/dropdown-header/dropdown-header.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n\n display: flex;\n align-items: center;\n position: relative;\n height: 2.5rem;\n width: auto;\n\n padding: 0.25rem 1rem;\n\n overflow: hidden;\n cursor: default;\n\n color: var(--theme-color-soft-text);\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, h, Host, Prop } from '@stencil/core';\n\n/**\n * @since 2.0.0\n */\n@Component({\n tag: 'ix-dropdown-header',\n styleUrl: 'dropdown-header.scss',\n shadow: true,\n})\nexport class DropdownHeader {\n /**\n * Display name of the header\n */\n @Prop() label: string;\n\n render() {\n return (\n <Host>\n <ix-typography class={'category-text'} format={'h5'}>\n {this.label}\n </ix-typography>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-529f21c1.js');
6
6
 
7
- const dropdownItemCss = ":host{--ix-dropdown-item-checked-color:var(--theme-color-primary);display:flex;flex-direction:row;position:relative;height:2.5rem;width:auto;overflow:hidden;cursor:pointer}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .dropdown-item{all:unset;display:flex;flex-direction:row;align-items:center;position:relative;height:calc(100% - 2px);width:calc(100% - 0.5rem - 1.5rem);padding:0 0.5rem;padding-right:1.5rem;border:0.0625rem solid transparent;white-space:nowrap}:host .dropdown-item.no-checked-field{width:calc(100% - 1rem - 1.5rem);padding:0 1rem;padding-right:1.5rem}:host .dropdown-item:focus-visible{border-color:var(--theme-color-focus-bdr)}:host .dropdown-item-checked{display:flex;align-items:center;justify-content:center;position:relative;height:100%;width:1rem;min-width:1rem;margin-right:0.25rem;color:var(--ix-dropdown-item-checked-color)}:host .dropdown-item-icon{margin-right:0.25rem;color:var(--theme-color-soft-text)}:host .dropdown-item-text{display:block;position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .dropdown-item:focus-visible{outline:1px solid yellow}:host .submenu-icon{margin-left:auto}:host(.icon-only) .dropdown-item-icon{margin-right:0px}:host(.icon-only) .dropdown-item-checked{display:none}:host(.icon-only) .dropdown-item{width:calc(100% - 0.5rem - 0.5rem);padding:0 0.5rem;padding-right:0.5rem}:host(.submenu) .dropdown-item{width:calc(100% - 0.5rem - 0.5rem);padding:0 0.5rem;padding-right:0.5rem}:host(:not(.disabled):not(:disabled).hover),:host(:not(.disabled):not(:disabled):hover){background-color:var(--theme-ghost--background--hover)}:host(:not(.disabled):not(:disabled).active),:host(:not(.disabled):not(:disabled):active){background-color:var(--theme-ghost--background--active)}:host(.disabled){pointer-events:none;color:var(--theme-color-weak-text) !important}:host(.disabled) .dropdown-item-icon{color:var(--theme-color-weak-text) !important}";
7
+ const dropdownItemCss = ":host{--ix-dropdown-item-checked-color:var(--theme-color-primary);display:flex;flex-direction:row;position:relative;height:2.5rem;width:auto;overflow:hidden;cursor:pointer}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .dropdown-item{all:unset;display:flex;flex-direction:row;align-items:center;position:relative;height:calc(100% - 2px);width:calc(100% - 0.5rem - 1.5rem);padding:0 0.5rem;padding-right:1.5rem;border:0.0625rem solid transparent;white-space:nowrap}:host .dropdown-item.no-checked-field{width:calc(100% - 1rem - 1.5rem);padding:0 1rem;padding-right:1.5rem}:host .dropdown-item:focus-visible{border-color:var(--theme-color-focus-bdr)}:host .dropdown-item-checked{display:flex;align-items:center;justify-content:center;position:relative;height:100%;width:1rem;min-width:1rem;margin-right:0.5rem;color:var(--ix-dropdown-item-checked-color)}:host .dropdown-item-icon{margin-right:0.5rem;color:var(--theme-color-std-text)}:host .dropdown-item-text{display:block;position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .dropdown-item:focus-visible{outline:1px solid yellow}:host .submenu-icon{margin-left:auto}:host(.icon-only) .dropdown-item-icon{margin-right:0px}:host(.icon-only) .dropdown-item-checked{display:none}:host(.icon-only) .dropdown-item{width:calc(100% - 0.5rem - 0.5rem);padding:0 0.5rem;padding-right:0.5rem}:host(.submenu) .dropdown-item{width:calc(100% - 0.5rem - 0.5rem);padding:0 0.5rem;padding-right:0.5rem}:host(:not(.disabled):not(:disabled).hover),:host(:not(.disabled):not(:disabled):hover){background-color:var(--theme-ghost--background--hover)}:host(:not(.disabled):not(:disabled).active),:host(:not(.disabled):not(:disabled):active){background-color:var(--theme-ghost--background--active)}:host(.disabled){pointer-events:none;color:var(--theme-color-weak-text) !important}:host(.disabled) .dropdown-item-icon{color:var(--theme-color-weak-text) !important}";
8
8
  const IxDropdownItemStyle0 = dropdownItemCss;
9
9
 
10
10
  const DropdownItem = class {
@@ -35,15 +35,15 @@ const DropdownItem = class {
35
35
  this.icon !== undefined);
36
36
  }
37
37
  render() {
38
- return (index.h(index.Host, { key: '89da1b5ab639ecb4fe9caa06f16fc7f8cff8cd49', class: {
38
+ return (index.h(index.Host, { key: 'e84d815a34db2414b8cc1ef5f12e47eceed165b9', class: {
39
39
  hover: this.hover,
40
40
  'icon-only': this.isIconOnly(),
41
41
  disabled: this.disabled,
42
42
  submenu: this.isSubMenu,
43
- }, role: "listitem" }, index.h("button", { key: '386ba89dfedf42919298d1d4d189310c364c0acb', type: "button", tabIndex: 0, class: {
43
+ }, role: "listitem" }, index.h("button", { key: '8b15db8fe41afcee1875d0961c05c6e7ba472dc2', type: "button", tabIndex: 0, class: {
44
44
  'dropdown-item': true,
45
45
  'no-checked-field': this.suppressChecked,
46
- }, onClick: () => this.emitItemClick() }, !this.suppressChecked ? (index.h("div", { class: "dropdown-item-checked" }, this.checked ? (index.h("ix-icon", { class: "checkmark", name: 'single-check', size: "16" })) : null)) : null, this.icon ? (index.h("ix-icon", { class: "dropdown-item-icon", name: this.icon })) : null, index.h("div", { key: '385eaf4c6c074d1e21eeb55ef1c7956f8f8c4126', class: "dropdown-item-text" }, this.label, index.h("slot", { key: 'b9e7252f90c080074da87786cf5fce912f8bdb25' })), this.isSubMenu ? (index.h("ix-icon", { name: 'chevron-right-small', class: 'submenu-icon' })) : null)));
46
+ }, onClick: () => this.emitItemClick() }, !this.suppressChecked ? (index.h("div", { class: "dropdown-item-checked" }, this.checked ? (index.h("ix-icon", { class: "checkmark", name: 'single-check', size: "16" })) : null)) : null, this.icon ? (index.h("ix-icon", { class: "dropdown-item-icon", name: this.icon })) : null, index.h("div", { key: '769a00a9dd6614f268c11b9cd029c7cbcd1db2e2', class: "dropdown-item-text" }, this.label, index.h("slot", { key: 'fdc7eb7816e1cb63669381b102bdf903c4516f6e' })), this.isSubMenu ? (index.h("ix-icon", { name: 'chevron-right-small', class: 'submenu-icon' })) : null)));
47
47
  }
48
48
  get hostElement() { return index.getElement(this); }
49
49
  };
@@ -1 +1 @@
1
- {"file":"ix-dropdown-item.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,eAAe,GAAG,mlFAAmlF,CAAC;AAC5mF,6BAAe,eAAe;;MCyBjB,YAAY;;;;;;qBAgBP,KAAK;wBAKF,KAAK;uBAKN,KAAK;yBAGH,KAAK;+BAGC,KAAK;;;;;IAS/B,MAAM,aAAa;QACjB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;KACvC;;IAID,MAAM,sBAAsB;QAC1B,OAAO,IAAI,CAAC,WAAW,CAAC;KACzB;IAEO,UAAU;QAChB,QACE,IAAI,CAAC,KAAK,KAAK,SAAS;YACxB,IAAI,CAAC,WAAW,CAAC,SAAS,KAAK,EAAE;YACjC,IAAI,CAAC,IAAI,KAAK,SAAS,EACvB;KACH;IAED,MAAM;QACJ,QACEA,QAACC,UAAI,qDACH,KAAK,EAAE;gBACL,KAAK,EAAE,IAAI,CAAC,KAAK;gBACjB,WAAW,EAAE,IAAI,CAAC,UAAU,EAAE;gBAC9B,QAAQ,EAAE,IAAI,CAAC,QAAQ;gBACvB,OAAO,EAAE,IAAI,CAAC,SAAS;aACxB,EACD,IAAI,EAAC,UAAU,IAEfD,qEACE,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,CAAC,EACX,KAAK,EAAE;gBACL,eAAe,EAAE,IAAI;gBACrB,kBAAkB,EAAE,IAAI,CAAC,eAAe;aACzC,EACD,OAAO,EAAE,MAAM,IAAI,CAAC,aAAa,EAAE,IAElC,CAAC,IAAI,CAAC,eAAe,IACpBA,iBAAK,KAAK,EAAC,uBAAuB,IAC/B,IAAI,CAAC,OAAO,IACXA,qBACE,KAAK,EAAC,WAAW,EACjB,IAAI,EAAE,cAAc,EACpB,IAAI,EAAC,IAAI,GACA,IACT,IAAI,CACJ,IACJ,IAAI,EACP,IAAI,CAAC,IAAI,IACRA,qBAAS,KAAK,EAAC,oBAAoB,EAAC,IAAI,EAAE,IAAI,CAAC,IAAI,GAAY,IAC7D,IAAI,EACRA,kEAAK,KAAK,EAAC,oBAAoB,IAC5B,IAAI,CAAC,KAAK,EACXA,oEAAa,CACT,EACL,IAAI,CAAC,SAAS,IACbA,qBACE,IAAI,EAAE,qBAAqB,EAC3B,KAAK,EAAE,cAAc,GACZ,IACT,IAAI,CACD,CACJ,EACP;KACH;;;;;;;","names":["h","Host"],"sources":["src/components/dropdown-item/dropdown-item.scss?tag=ix-dropdown-item&encapsulation=shadow","src/components/dropdown-item/dropdown-item.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'mixins/shadow-dom/component';\n@import 'mixins/shadow-dom/hover';\n\n$itemPadding: 0.5rem;\n$itemPaddingRight: 1.5rem;\n$focusBorder: 0.0625rem;\n\n@mixin applyItemWidth($padding, $paddingRight) {\n width: calc(100% - #{$padding} - #{$paddingRight});\n\n padding: 0 $padding;\n padding-right: $paddingRight;\n}\n\n:host {\n --ix-dropdown-item-checked-color: var(--theme-color-primary);\n @include ix-component;\n display: flex;\n flex-direction: row;\n\n position: relative;\n height: 2.5rem;\n width: auto;\n overflow: hidden;\n cursor: pointer;\n\n .dropdown-item {\n all: unset;\n display: flex;\n flex-direction: row;\n align-items: center;\n position: relative;\n height: calc(100% - 2px);\n @include applyItemWidth($itemPadding, $itemPaddingRight);\n border: $focusBorder solid transparent;\n white-space: nowrap;\n }\n\n .dropdown-item.no-checked-field {\n @include applyItemWidth(1rem, $itemPaddingRight);\n }\n\n .dropdown-item:focus-visible {\n border-color: var(--theme-color-focus-bdr);\n }\n\n .dropdown-item-checked {\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n height: 100%;\n width: 1rem;\n min-width: 1rem;\n margin-right: 0.25rem;\n\n color: var(--ix-dropdown-item-checked-color);\n }\n\n .dropdown-item-icon {\n margin-right: 0.25rem;\n color: var(--theme-color-soft-text);\n }\n\n .dropdown-item-text {\n display: block;\n position: relative;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .dropdown-item:focus-visible {\n outline: 1px solid yellow;\n }\n\n .submenu-icon {\n margin-left: auto;\n }\n}\n\n:host(.icon-only) {\n .dropdown-item-icon {\n margin-right: 0px;\n }\n\n .dropdown-item-checked {\n display: none;\n }\n\n .dropdown-item {\n @include applyItemWidth(0.5rem, 0.5rem);\n }\n}\n\n:host(.submenu) {\n .dropdown-item {\n @include applyItemWidth($itemPadding, 0.5rem);\n }\n}\n\n@include ghost-hover-pressed;\n\n:host(.disabled) {\n pointer-events: none;\n color: var(--theme-color-weak-text) !important;\n\n .dropdown-item-icon {\n color: var(--theme-color-weak-text) !important;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n} from '@stencil/core';\nimport { DropdownItemWrapper } from '../dropdown/dropdown-controller';\n\n@Component({\n tag: 'ix-dropdown-item',\n styleUrl: 'dropdown-item.scss',\n shadow: true,\n})\nexport class DropdownItem implements DropdownItemWrapper {\n @Element() hostElement!: HTMLIxDropdownItemElement;\n\n /**\n * Label of dropdown item\n */\n @Prop() label: string;\n\n /**\n * Icon of dropdown item\n */\n @Prop() icon: string;\n\n /**\n * Display hover state\n */\n @Prop() hover = false;\n\n /**\n * Disable item and remove event listeners\n */\n @Prop() disabled = false;\n\n /**\n * Whether the item is checked or not. If true a checkmark will mark the item as checked.\n */\n @Prop() checked = false;\n\n /** @internal */\n @Prop() isSubMenu = false;\n\n /** @internal */\n @Prop() suppressChecked = false;\n\n /** @internal */\n @Event() itemClick: EventEmitter<HTMLIxDropdownItemElement>;\n\n /**\n * Internal usage only\n */\n @Method()\n async emitItemClick() {\n this.itemClick.emit(this.hostElement);\n }\n\n /** @internal */\n @Method()\n async getDropdownItemElement() {\n return this.hostElement;\n }\n\n private isIconOnly() {\n return (\n this.label === undefined &&\n this.hostElement.innerText === '' &&\n this.icon !== undefined\n );\n }\n\n render() {\n return (\n <Host\n class={{\n hover: this.hover,\n 'icon-only': this.isIconOnly(),\n disabled: this.disabled,\n submenu: this.isSubMenu,\n }}\n role=\"listitem\"\n >\n <button\n type=\"button\"\n tabIndex={0}\n class={{\n 'dropdown-item': true,\n 'no-checked-field': this.suppressChecked,\n }}\n onClick={() => this.emitItemClick()}\n >\n {!this.suppressChecked ? (\n <div class=\"dropdown-item-checked\">\n {this.checked ? (\n <ix-icon\n class=\"checkmark\"\n name={'single-check'}\n size=\"16\"\n ></ix-icon>\n ) : null}\n </div>\n ) : null}\n {this.icon ? (\n <ix-icon class=\"dropdown-item-icon\" name={this.icon}></ix-icon>\n ) : null}\n <div class=\"dropdown-item-text\">\n {this.label}\n <slot></slot>\n </div>\n {this.isSubMenu ? (\n <ix-icon\n name={'chevron-right-small'}\n class={'submenu-icon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S,KAAK,EAAC,oBAAoB,EAAC,IAAI,EAAE,IAAI,CAAC,IAAI,GAAY,IAC7D,IAAI,EACRA,kEAAK,KAAK,EAAC,oBAAoB,IAC5B,IAAI,CAAC,KAAK,EACXA,oEAAa,CACT,EACL,IAAI,CAAC,SAAS,IACbA,qBACE,IAAI,EAAE,qBAAqB,EAC3B,KAAK,EAAE,cAAc,GACZ,IACT,IAAI,CACD,CACJ,EACP;KACH;;;;;;;","names":["h","Host"],"sources":["src/components/dropdown-item/dropdown-item.scss?tag=ix-dropdown-item&encapsulation=shadow","src/components/dropdown-item/dropdown-item.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'mixins/shadow-dom/component';\n@import 'mixins/shadow-dom/hover';\n\n$itemPadding: 0.5rem;\n$itemPaddingRight: 1.5rem;\n$focusBorder: 0.0625rem;\n\n@mixin applyItemWidth($padding, $paddingRight) {\n width: calc(100% - #{$padding} - #{$paddingRight});\n\n padding: 0 $padding;\n padding-right: $paddingRight;\n}\n\n:host {\n --ix-dropdown-item-checked-color: var(--theme-color-primary);\n @include ix-component;\n display: flex;\n flex-direction: row;\n\n position: relative;\n height: 2.5rem;\n width: auto;\n overflow: hidden;\n cursor: pointer;\n\n .dropdown-item {\n all: unset;\n display: flex;\n flex-direction: row;\n align-items: center;\n position: relative;\n height: calc(100% - 2px);\n @include applyItemWidth($itemPadding, $itemPaddingRight);\n border: $focusBorder solid transparent;\n white-space: nowrap;\n }\n\n .dropdown-item.no-checked-field {\n @include applyItemWidth(1rem, $itemPaddingRight);\n }\n\n .dropdown-item:focus-visible {\n border-color: var(--theme-color-focus-bdr);\n }\n\n .dropdown-item-checked {\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n height: 100%;\n width: 1rem;\n min-width: 1rem;\n margin-right: 0.5rem;\n\n color: var(--ix-dropdown-item-checked-color);\n }\n\n .dropdown-item-icon {\n margin-right: 0.5rem;\n color: var(--theme-color-std-text);\n }\n\n .dropdown-item-text {\n display: block;\n position: relative;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .dropdown-item:focus-visible {\n outline: 1px solid yellow;\n }\n\n .submenu-icon {\n margin-left: auto;\n }\n}\n\n:host(.icon-only) {\n .dropdown-item-icon {\n margin-right: 0px;\n }\n\n .dropdown-item-checked {\n display: none;\n }\n\n .dropdown-item {\n @include applyItemWidth(0.5rem, 0.5rem);\n }\n}\n\n:host(.submenu) {\n .dropdown-item {\n @include applyItemWidth($itemPadding, 0.5rem);\n }\n}\n\n@include ghost-hover-pressed;\n\n:host(.disabled) {\n pointer-events: none;\n color: var(--theme-color-weak-text) !important;\n\n .dropdown-item-icon {\n color: var(--theme-color-weak-text) !important;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n} from '@stencil/core';\nimport { DropdownItemWrapper } from '../dropdown/dropdown-controller';\n\n@Component({\n tag: 'ix-dropdown-item',\n styleUrl: 'dropdown-item.scss',\n shadow: true,\n})\nexport class DropdownItem implements DropdownItemWrapper {\n @Element() hostElement!: HTMLIxDropdownItemElement;\n\n /**\n * Label of dropdown item\n */\n @Prop() label?: string;\n\n /**\n * Icon of dropdown item\n */\n @Prop() icon?: string;\n\n /**\n * Display hover state\n */\n @Prop() hover = false;\n\n /**\n * Disable item and remove event listeners\n */\n @Prop() disabled = false;\n\n /**\n * Whether the item is checked or not. If true a checkmark will mark the item as checked.\n */\n @Prop() checked = false;\n\n /** @internal */\n @Prop() isSubMenu = false;\n\n /** @internal */\n @Prop() suppressChecked = false;\n\n /** @internal */\n @Event() itemClick!: EventEmitter<HTMLIxDropdownItemElement>;\n\n /**\n * Internal usage only\n */\n @Method()\n async emitItemClick() {\n this.itemClick.emit(this.hostElement);\n }\n\n /** @internal */\n @Method()\n async getDropdownItemElement() {\n return this.hostElement;\n }\n\n private isIconOnly() {\n return (\n this.label === undefined &&\n this.hostElement.innerText === '' &&\n this.icon !== undefined\n );\n }\n\n render() {\n return (\n <Host\n class={{\n hover: this.hover,\n 'icon-only': this.isIconOnly(),\n disabled: this.disabled,\n submenu: this.isSubMenu,\n }}\n role=\"listitem\"\n >\n <button\n type=\"button\"\n tabIndex={0}\n class={{\n 'dropdown-item': true,\n 'no-checked-field': this.suppressChecked,\n }}\n onClick={() => this.emitItemClick()}\n >\n {!this.suppressChecked ? (\n <div class=\"dropdown-item-checked\">\n {this.checked ? (\n <ix-icon\n class=\"checkmark\"\n name={'single-check'}\n size=\"16\"\n ></ix-icon>\n ) : null}\n </div>\n ) : null}\n {this.icon ? (\n <ix-icon class=\"dropdown-item-icon\" name={this.icon}></ix-icon>\n ) : null}\n <div class=\"dropdown-item-text\">\n {this.label}\n <slot></slot>\n </div>\n {this.isSubMenu ? (\n <ix-icon\n name={'chevron-right-small'}\n class={'submenu-icon'}\n ></ix-icon>\n ) : null}\n </button>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -12,7 +12,7 @@ const DropdownQuickActions = class {
12
12
  index.registerInstance(this, hostRef);
13
13
  }
14
14
  render() {
15
- return (index.h(index.Host, { key: 'cf0b790f201df5ca5cd904de492140d79f49d29a' }, index.h("slot", { key: 'f2003c2b93ba50b6acb966ab05b036ce6516d829' })));
15
+ return (index.h(index.Host, { key: 'bdbbc2d4bbb21fcdf8704393d9687491044f30d2' }, index.h("slot", { key: 'fc0689d7f58c9359daa32bbad70fbef4527f9bb4' })));
16
16
  }
17
17
  };
18
18
  DropdownQuickActions.style = IxDropdownQuickActionsStyle0;