@siemens/ix 2.1.2-beta.0 → 2.1.2

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