@siemens/ix 4.0.0 → 4.1.0

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 (735) hide show
  1. package/components/ix-action-card.js +1 -1
  2. package/components/ix-application-header.js +5 -5
  3. package/components/ix-application-switch-modal.js +5 -5
  4. package/components/ix-avatar.js +1 -1
  5. package/components/ix-blind.js +1 -1
  6. package/components/ix-breadcrumb-item.js +1 -1
  7. package/components/ix-breadcrumb.js +4 -4
  8. package/components/ix-button.js +1 -1
  9. package/components/ix-card-list.js +4 -4
  10. package/components/ix-category-filter.js +18 -12
  11. package/components/ix-category-filter.js.map +1 -1
  12. package/components/ix-checkbox-group.js +4 -4
  13. package/components/ix-checkbox.js +1 -1
  14. package/components/ix-chip.js +4 -4
  15. package/components/ix-content-header.js +3 -3
  16. package/components/ix-custom-field.js +4 -4
  17. package/components/ix-date-dropdown.js +9 -9
  18. package/components/ix-date-input.js +30 -14
  19. package/components/ix-date-input.js.map +1 -1
  20. package/components/ix-date-picker.js +1 -1
  21. package/components/ix-date-time-card.js +1 -1
  22. package/components/ix-datetime-picker.js +12 -12
  23. package/components/ix-datetime-picker.js.map +1 -1
  24. package/components/ix-divider.js +1 -1
  25. package/components/ix-drawer.js +7 -7
  26. package/components/ix-dropdown-button.js +7 -7
  27. package/components/ix-dropdown-header.js +2 -2
  28. package/components/ix-dropdown-item.js +1 -1
  29. package/components/ix-dropdown-quick-actions.js +1 -1
  30. package/components/ix-dropdown.js +1 -1
  31. package/components/ix-empty-state.js +4 -4
  32. package/components/ix-event-list-item.js +4 -4
  33. package/components/ix-event-list.js +2 -2
  34. package/components/ix-expanding-search.js +6 -6
  35. package/components/ix-field-label.js +1 -1
  36. package/components/ix-field-wrapper.js +1 -1
  37. package/components/ix-filter-chip.js +1 -1
  38. package/components/ix-flip-tile-content.js +1 -1
  39. package/components/ix-flip-tile.js +5 -5
  40. package/components/ix-group-context-menu.js +1 -1
  41. package/components/ix-group.js +11 -11
  42. package/components/ix-helper-text.js +3 -3
  43. package/components/ix-icon-button.js +1 -1
  44. package/components/ix-icon-toggle-button.js +2 -2
  45. package/components/ix-input-group.js +1 -1
  46. package/components/ix-input.js +23 -12
  47. package/components/ix-input.js.map +1 -1
  48. package/components/ix-key-value-list.js +1 -1
  49. package/components/ix-key-value.js +1 -1
  50. package/components/ix-kpi.js +3 -3
  51. package/components/ix-layout-auto.js +1 -1
  52. package/components/ix-layout-grid.js +1 -1
  53. package/components/ix-link-button.js +4 -4
  54. package/components/ix-link-button.js.map +1 -1
  55. package/components/ix-menu-about-item.js +1 -1
  56. package/components/ix-menu-about-news.js +8 -8
  57. package/components/ix-menu-about.js +10 -8
  58. package/components/ix-menu-about.js.map +1 -1
  59. package/components/ix-menu-avatar-item.js +1 -1
  60. package/components/ix-menu-avatar.js +10 -10
  61. package/components/ix-menu-category.js +11 -11
  62. package/components/ix-menu-expand-icon.js +1 -1
  63. package/components/ix-menu-item.js +1 -1
  64. package/components/ix-menu-settings-item.js +1 -1
  65. package/components/ix-menu-settings.js +1 -1
  66. package/components/ix-menu.js +18 -18
  67. package/components/ix-message-bar.js +3 -3
  68. package/components/ix-modal-content.js +1 -1
  69. package/components/ix-modal-footer.js +1 -1
  70. package/components/ix-modal-header.js +1 -1
  71. package/components/ix-modal-loading.js +2 -2
  72. package/components/ix-modal.js +3 -3
  73. package/components/ix-number-input.js +169 -36
  74. package/components/ix-number-input.js.map +1 -1
  75. package/components/ix-pagination.js +42 -19
  76. package/components/ix-pagination.js.map +1 -1
  77. package/components/ix-pane-layout.js +1 -1
  78. package/components/ix-pane.js +9 -9
  79. package/components/ix-pill.js +6 -6
  80. package/components/ix-progress-indicator.js +5 -5
  81. package/components/ix-push-card.js +2 -2
  82. package/components/ix-radio-group.js +6 -6
  83. package/components/ix-radio.js +4 -4
  84. package/components/ix-row.js +1 -1
  85. package/components/ix-select-item.js +1 -1
  86. package/components/ix-select.js +1 -1
  87. package/components/ix-slider.js +8 -8
  88. package/components/ix-spinner.js +1 -1
  89. package/components/ix-split-button.js +30 -16
  90. package/components/ix-split-button.js.map +1 -1
  91. package/components/ix-tab-item.js +1 -1
  92. package/components/ix-tabs.js +1 -1
  93. package/components/ix-textarea.js +7 -7
  94. package/components/ix-tile.js +4 -4
  95. package/components/ix-time-input.js +31 -15
  96. package/components/ix-time-input.js.map +1 -1
  97. package/components/ix-time-picker.js +1 -1
  98. package/components/ix-toast-container.js +6 -6
  99. package/components/ix-toast.js +1 -1
  100. package/components/ix-toggle-button.js +1 -1
  101. package/components/ix-toggle.js +4 -4
  102. package/components/ix-tooltip.js +1 -1
  103. package/components/ix-tree-item.js +1 -1
  104. package/components/ix-tree.js +2 -2
  105. package/components/ix-typography.js +1 -1
  106. package/components/ix-upload.js +5 -5
  107. package/components/ix-validation-tooltip.js +2 -2
  108. package/components/ix-workflow-step.js +3 -3
  109. package/components/ix-workflow-steps.js +1 -1
  110. package/components/{p-ChZQLy9v.js → p-10zMtvCF.js} +4 -4
  111. package/components/{p-ChZQLy9v.js.map → p-10zMtvCF.js.map} +1 -1
  112. package/components/{p-D8hPr0Kb.js → p-1pd_0dhF.js} +3 -3
  113. package/components/{p-D8hPr0Kb.js.map → p-1pd_0dhF.js.map} +1 -1
  114. package/components/{p-axBTucsn.js → p-B006bhbX.js} +3 -3
  115. package/components/{p-axBTucsn.js.map → p-B006bhbX.js.map} +1 -1
  116. package/components/{p-B-mB5dVY.js → p-BBwXlKhE.js} +3 -3
  117. package/components/{p-B-mB5dVY.js.map → p-BBwXlKhE.js.map} +1 -1
  118. package/components/{p-DInJFFDT.js → p-BEDohapR.js} +4 -4
  119. package/components/{p-DInJFFDT.js.map → p-BEDohapR.js.map} +1 -1
  120. package/components/{p-DkDGUG2W.js → p-BI7B-PUA.js} +4 -4
  121. package/components/{p-DkDGUG2W.js.map → p-BI7B-PUA.js.map} +1 -1
  122. package/components/{p-DvD1nW88.js → p-BLeWaHpy.js} +5 -5
  123. package/components/{p-DvD1nW88.js.map → p-BLeWaHpy.js.map} +1 -1
  124. package/components/{p-CFDRGf6r.js → p-BR5ayBuu.js} +3 -3
  125. package/components/{p-CFDRGf6r.js.map → p-BR5ayBuu.js.map} +1 -1
  126. package/components/{p-Cj9oZ8ym.js → p-BVUD9f4A.js} +8 -8
  127. package/components/{p-Cj9oZ8ym.js.map → p-BVUD9f4A.js.map} +1 -1
  128. package/components/{p-CvuFiT5X.js → p-BZLbfHdO.js} +66 -25
  129. package/components/p-BZLbfHdO.js.map +1 -0
  130. package/components/{p-BHcP7TVn.js → p-Bk0vKwmt.js} +4 -4
  131. package/components/{p-BHcP7TVn.js.map → p-Bk0vKwmt.js.map} +1 -1
  132. package/components/{p-GPVWLtS3.js → p-Bye33cYU.js} +7 -7
  133. package/components/{p-GPVWLtS3.js.map → p-Bye33cYU.js.map} +1 -1
  134. package/components/{p-4kEXJDiJ.js → p-Bz7hxKB6.js} +4 -4
  135. package/components/{p-4kEXJDiJ.js.map → p-Bz7hxKB6.js.map} +1 -1
  136. package/components/{p-D6KzHh-w.js → p-C4KxNeD2.js} +3 -3
  137. package/components/{p-D6KzHh-w.js.map → p-C4KxNeD2.js.map} +1 -1
  138. package/components/{p-DWRnKXkl.js → p-C6_1qmP4.js} +3 -3
  139. package/components/{p-DWRnKXkl.js.map → p-C6_1qmP4.js.map} +1 -1
  140. package/components/{p-OLe05BAC.js → p-COWPG_SD.js} +3 -3
  141. package/components/p-COWPG_SD.js.map +1 -0
  142. package/components/{p-C56HnkHy.js → p-Cc4uqNv5.js} +18 -11
  143. package/components/p-Cc4uqNv5.js.map +1 -0
  144. package/components/{p-FWLjfP4_.js → p-CjDPpSJX.js} +13 -13
  145. package/components/p-CjDPpSJX.js.map +1 -0
  146. package/components/{p-DkKuaBAh.js → p-ClQxnZ3d.js} +6 -6
  147. package/components/{p-DkKuaBAh.js.map → p-ClQxnZ3d.js.map} +1 -1
  148. package/components/{p-CL7Uj2A_.js → p-ColBHyXN.js} +5 -5
  149. package/components/{p-CL7Uj2A_.js.map → p-ColBHyXN.js.map} +1 -1
  150. package/components/{p-ChFNWyCb.js → p-CrqgL2m1.js} +8 -4
  151. package/components/p-CrqgL2m1.js.map +1 -0
  152. package/components/{p-De0habf3.js → p-CvD2yWeJ.js} +4 -4
  153. package/components/{p-De0habf3.js.map → p-CvD2yWeJ.js.map} +1 -1
  154. package/components/{p-B1sSJ2R2.js → p-DC9anobw.js} +6 -6
  155. package/components/{p-B1sSJ2R2.js.map → p-DC9anobw.js.map} +1 -1
  156. package/components/{p-BTR8UA6s.js → p-DSTHZygb.js} +8 -8
  157. package/components/{p-BTR8UA6s.js.map → p-DSTHZygb.js.map} +1 -1
  158. package/components/{p-Ow_osSm5.js → p-DXFN8JXp.js} +20 -9
  159. package/components/p-DXFN8JXp.js.map +1 -0
  160. package/components/{p-BtDCIGt3.js → p-Db0RazS2.js} +3 -3
  161. package/components/{p-BtDCIGt3.js.map → p-Db0RazS2.js.map} +1 -1
  162. package/components/{p-DTo0UW1Q.js → p-DlVaL0Yi.js} +7 -7
  163. package/components/{p-DTo0UW1Q.js.map → p-DlVaL0Yi.js.map} +1 -1
  164. package/components/{p-LVGd1t9U.js → p-Dp03DeD0.js} +5 -5
  165. package/components/{p-LVGd1t9U.js.map → p-Dp03DeD0.js.map} +1 -1
  166. package/components/{p-CMC0yuht.js → p-Dy6xvLn4.js} +4 -4
  167. package/components/{p-CMC0yuht.js.map → p-Dy6xvLn4.js.map} +1 -1
  168. package/components/{p-BAG4Ixzu.js → p-DyGPjxFm.js} +5 -5
  169. package/components/{p-BAG4Ixzu.js.map → p-DyGPjxFm.js.map} +1 -1
  170. package/components/{p-CwFNYtOl.js → p-PpLLlogo.js} +5 -5
  171. package/components/{p-CwFNYtOl.js.map → p-PpLLlogo.js.map} +1 -1
  172. package/components/{p-S6nC3Yb4.js → p-g2Y5blor.js} +68 -43
  173. package/components/p-g2Y5blor.js.map +1 -0
  174. package/components/{p-CDPfohEH.js → p-kJlC6ZD0.js} +62 -41
  175. package/components/p-kJlC6ZD0.js.map +1 -0
  176. package/dist/cjs/{helper-text-util-BlElJLxk.js → helper-text-util-D2W-yNmK.js} +8 -4
  177. package/dist/cjs/helper-text-util-D2W-yNmK.js.map +1 -0
  178. package/dist/cjs/{input.util-4AhBphgX.js → input.fc-B5JMSZbY.js} +68 -42
  179. package/dist/cjs/input.fc-B5JMSZbY.js.map +1 -0
  180. package/dist/cjs/ix-avatar_2.cjs.entry.js +1 -1
  181. package/dist/cjs/ix-category-filter.cjs.entry.js +14 -8
  182. package/dist/cjs/ix-category-filter.entry.cjs.js.map +1 -1
  183. package/dist/cjs/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.cjs.js.map +1 -1
  184. package/dist/cjs/ix-col_4.cjs.entry.js +9 -9
  185. package/dist/cjs/ix-date-input.cjs.entry.js +22 -8
  186. package/dist/cjs/ix-date-input.entry.cjs.js.map +1 -1
  187. package/dist/cjs/ix-date-time-card.cjs.entry.js +1 -1
  188. package/dist/cjs/ix-date-time-card.entry.cjs.js.map +1 -1
  189. package/dist/cjs/ix-datetime-picker.cjs.entry.js +2 -2
  190. package/dist/cjs/ix-datetime-picker.entry.cjs.js.map +1 -1
  191. package/dist/cjs/ix-divider.cjs.entry.js +1 -1
  192. package/dist/cjs/ix-drawer.cjs.entry.js +5 -5
  193. package/dist/cjs/ix-dropdown-button.cjs.entry.js +3 -3
  194. package/dist/cjs/ix-dropdown-header.cjs.entry.js +1 -1
  195. package/dist/cjs/ix-dropdown-item.cjs.entry.js +3 -3
  196. package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +1 -1
  197. package/dist/cjs/ix-dropdown.cjs.entry.js +2 -2
  198. package/dist/cjs/ix-empty-state.cjs.entry.js +1 -1
  199. package/dist/cjs/ix-event-list-item.cjs.entry.js +4 -4
  200. package/dist/cjs/ix-event-list.cjs.entry.js +2 -2
  201. package/dist/cjs/ix-expanding-search.cjs.entry.js +4 -4
  202. package/dist/cjs/ix-field-label_2.cjs.entry.js +4 -4
  203. package/dist/cjs/ix-filter-chip_2.cjs.entry.js +2 -2
  204. package/dist/cjs/ix-flip-tile-content.cjs.entry.js +1 -1
  205. package/dist/cjs/ix-flip-tile.cjs.entry.js +3 -3
  206. package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +1 -1
  207. package/dist/cjs/ix-group.cjs.entry.js +8 -8
  208. package/dist/cjs/ix-helper-text.cjs.entry.js +2 -2
  209. package/dist/cjs/ix-icon-button_2.cjs.entry.js +2 -2
  210. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +1 -1
  211. package/dist/cjs/ix-input-group.cjs.entry.js +1 -1
  212. package/dist/cjs/ix-input.cjs.entry.js +20 -11
  213. package/dist/cjs/ix-input.entry.cjs.js.map +1 -1
  214. package/dist/cjs/ix-key-value-list.cjs.entry.js +1 -1
  215. package/dist/cjs/ix-key-value.cjs.entry.js +1 -1
  216. package/dist/cjs/ix-kpi.cjs.entry.js +3 -3
  217. package/dist/cjs/ix-layout-auto.cjs.entry.js +1 -1
  218. package/dist/cjs/ix-link-button.cjs.entry.js +4 -4
  219. package/dist/cjs/ix-link-button.entry.cjs.js.map +1 -1
  220. package/dist/cjs/ix-menu-about-item.cjs.entry.js +1 -1
  221. package/dist/cjs/ix-menu-about-news.cjs.entry.js +4 -4
  222. package/dist/cjs/ix-menu-about.cjs.entry.js +6 -4
  223. package/dist/cjs/ix-menu-about.entry.cjs.js.map +1 -1
  224. package/dist/cjs/ix-menu-avatar.cjs.entry.js +2 -2
  225. package/dist/cjs/ix-menu-category.cjs.entry.js +5 -5
  226. package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +1 -1
  227. package/dist/cjs/ix-menu-item.cjs.entry.js +4 -4
  228. package/dist/cjs/{ix-menu-settings-Cdqo0r8E.js → ix-menu-settings-CtWl0bME.js} +14 -7
  229. package/dist/cjs/ix-menu-settings-CtWl0bME.js.map +1 -0
  230. package/dist/cjs/ix-menu-settings-item.cjs.entry.js +1 -1
  231. package/dist/cjs/ix-menu-settings.cjs.entry.js +1 -1
  232. package/dist/cjs/ix-menu.cjs.entry.js +12 -12
  233. package/dist/cjs/ix-message-bar.cjs.entry.js +1 -1
  234. package/dist/cjs/ix-modal-content_2.cjs.entry.js +2 -2
  235. package/dist/cjs/ix-modal-footer.cjs.entry.js +1 -1
  236. package/dist/cjs/ix-modal-loading.cjs.entry.js +1 -1
  237. package/dist/cjs/ix-modal.cjs.entry.js +3 -3
  238. package/dist/cjs/ix-number-input.cjs.entry.js +161 -33
  239. package/dist/cjs/ix-number-input.entry.cjs.js.map +1 -1
  240. package/dist/cjs/ix-pagination.cjs.entry.js +29 -7
  241. package/dist/cjs/ix-pagination.entry.cjs.js.map +1 -1
  242. package/dist/cjs/ix-pane-layout.cjs.entry.js +1 -1
  243. package/dist/cjs/ix-pane.cjs.entry.js +6 -6
  244. package/dist/cjs/ix-pill.cjs.entry.js +4 -4
  245. package/dist/cjs/ix-progress-indicator.cjs.entry.js +3 -3
  246. package/dist/cjs/ix-push-card.cjs.entry.js +1 -1
  247. package/dist/cjs/ix-radio-group.cjs.entry.js +2 -2
  248. package/dist/cjs/ix-radio.cjs.entry.js +3 -3
  249. package/dist/cjs/ix-select.cjs.entry.js +52 -13
  250. package/dist/cjs/ix-select.entry.cjs.js.map +1 -1
  251. package/dist/cjs/ix-slider.cjs.entry.js +6 -6
  252. package/dist/cjs/ix-split-button.cjs.entry.js +24 -12
  253. package/dist/cjs/ix-split-button.entry.cjs.js.map +1 -1
  254. package/dist/cjs/ix-tab-item_2.cjs.entry.js +5 -5
  255. package/dist/cjs/ix-textarea.cjs.entry.js +5 -5
  256. package/dist/cjs/ix-textarea.entry.cjs.js.map +1 -1
  257. package/dist/cjs/ix-tile.cjs.entry.js +4 -4
  258. package/dist/cjs/ix-time-input.cjs.entry.js +22 -8
  259. package/dist/cjs/ix-time-input.entry.cjs.js.map +1 -1
  260. package/dist/cjs/ix-time-picker.cjs.entry.js +56 -35
  261. package/dist/cjs/ix-time-picker.entry.cjs.js.map +1 -1
  262. package/dist/cjs/ix-toast-container.cjs.entry.js +2 -2
  263. package/dist/cjs/ix-toast.cjs.entry.js +2 -2
  264. package/dist/cjs/ix-toggle.cjs.entry.js +3 -3
  265. package/dist/cjs/ix-tooltip.cjs.entry.js +17 -6
  266. package/dist/cjs/ix-tooltip.entry.cjs.js.map +1 -1
  267. package/dist/cjs/ix-tree-item.cjs.entry.js +4 -4
  268. package/dist/cjs/ix-tree.cjs.entry.js +1 -1
  269. package/dist/cjs/ix-typography.cjs.entry.js +1 -1
  270. package/dist/cjs/ix-upload.cjs.entry.js +3 -3
  271. package/dist/cjs/ix-validation-tooltip.cjs.entry.js +2 -2
  272. package/dist/cjs/ix-workflow-step.cjs.entry.js +3 -3
  273. package/dist/cjs/ix-workflow-steps.cjs.entry.js +1 -1
  274. package/dist/cjs/loader.cjs.js +1 -1
  275. package/dist/cjs/siemens-ix.cjs.js +1 -1
  276. package/dist/collection/components/category-filter/category-filter.css +321 -50
  277. package/dist/collection/components/category-filter/category-filter.js +13 -7
  278. package/dist/collection/components/category-filter/category-filter.js.map +1 -1
  279. package/dist/collection/components/date-input/date-input.js +58 -4
  280. package/dist/collection/components/date-input/date-input.js.map +1 -1
  281. package/dist/collection/components/date-picker/date-picker.css +6 -8
  282. package/dist/collection/components/date-picker/date-picker.js +5 -5
  283. package/dist/collection/components/date-picker/date-picker.js.map +1 -1
  284. package/dist/collection/components/date-time-card/date-time-card.css +3 -2
  285. package/dist/collection/components/datetime-picker/datetime-picker.css +12 -1
  286. package/dist/collection/components/datetime-picker/datetime-picker.js +1 -1
  287. package/dist/collection/components/datetime-picker/datetime-picker.js.map +1 -1
  288. package/dist/collection/components/divider/divider.js +1 -1
  289. package/dist/collection/components/drawer/drawer.js +5 -5
  290. package/dist/collection/components/dropdown/dropdown.js +2 -2
  291. package/dist/collection/components/dropdown-button/dropdown-button.js +3 -3
  292. package/dist/collection/components/dropdown-header/dropdown-header.js +1 -1
  293. package/dist/collection/components/dropdown-item/dropdown-item.js +3 -3
  294. package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js +1 -1
  295. package/dist/collection/components/empty-state/empty-state.js +1 -1
  296. package/dist/collection/components/event-list/event-list.js +2 -2
  297. package/dist/collection/components/event-list-item/event-list-item.js +4 -4
  298. package/dist/collection/components/expanding-search/expanding-search.js +4 -4
  299. package/dist/collection/components/field-label/field-label.js +1 -1
  300. package/dist/collection/components/field-wrapper/field-wrapper.js +2 -2
  301. package/dist/collection/components/field-wrapper/helper-text-util.js +6 -2
  302. package/dist/collection/components/field-wrapper/helper-text-util.js.map +1 -1
  303. package/dist/collection/components/filter-chip/filter-chip.js +1 -1
  304. package/dist/collection/components/flip-tile/flip-tile.js +3 -3
  305. package/dist/collection/components/flip-tile-content/flip-tile-content.js +1 -1
  306. package/dist/collection/components/group/group-context-menu.js +1 -1
  307. package/dist/collection/components/group/group.js +8 -8
  308. package/dist/collection/components/helper-text/helper-text.js +1 -1
  309. package/dist/collection/components/icon-button/icon-button.js +1 -1
  310. package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +1 -1
  311. package/dist/collection/components/input/input.fc.js +10 -1
  312. package/dist/collection/components/input/input.fc.js.map +1 -1
  313. package/dist/collection/components/input/input.js +54 -5
  314. package/dist/collection/components/input/input.js.map +1 -1
  315. package/dist/collection/components/input/input.util.js +20 -3
  316. package/dist/collection/components/input/input.util.js.map +1 -1
  317. package/dist/collection/components/input/number-input.js +228 -36
  318. package/dist/collection/components/input/number-input.js.map +1 -1
  319. package/dist/collection/components/input/textarea.js +2 -2
  320. package/dist/collection/components/input-group/input-group.js +1 -1
  321. package/dist/collection/components/key-value/key-value.js +1 -1
  322. package/dist/collection/components/key-value-list/key-value-list.js +1 -1
  323. package/dist/collection/components/kpi/kpi.js +3 -3
  324. package/dist/collection/components/layout-auto/layout-auto.js +1 -1
  325. package/dist/collection/components/layout-grid/layout-grid.js +2 -2
  326. package/dist/collection/components/link-button/link-button.css +2 -8
  327. package/dist/collection/components/link-button/link-button.js +3 -3
  328. package/dist/collection/components/menu/menu-expand-icon.js +1 -1
  329. package/dist/collection/components/menu/menu.js +12 -12
  330. package/dist/collection/components/menu-about/menu-about.js +6 -4
  331. package/dist/collection/components/menu-about/menu-about.js.map +1 -1
  332. package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
  333. package/dist/collection/components/menu-about-news/menu-about-news.js +4 -4
  334. package/dist/collection/components/menu-avatar/menu-avatar.js +2 -2
  335. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
  336. package/dist/collection/components/menu-category/menu-category.js +5 -5
  337. package/dist/collection/components/menu-item/menu-item.js +4 -4
  338. package/dist/collection/components/menu-settings/menu-settings.js +6 -4
  339. package/dist/collection/components/menu-settings/menu-settings.js.map +1 -1
  340. package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
  341. package/dist/collection/components/message-bar/message-bar.js +1 -1
  342. package/dist/collection/components/modal/modal.js +3 -3
  343. package/dist/collection/components/modal-content/modal-content.js +1 -1
  344. package/dist/collection/components/modal-footer/modal-footer.js +1 -1
  345. package/dist/collection/components/modal-header/modal-header.js +1 -1
  346. package/dist/collection/components/modal-loading/modal-loading.js +1 -1
  347. package/dist/collection/components/pagination/pagination.js +52 -7
  348. package/dist/collection/components/pagination/pagination.js.map +1 -1
  349. package/dist/collection/components/pane/pane.js +6 -6
  350. package/dist/collection/components/pane-layout/pane-layout.js +1 -1
  351. package/dist/collection/components/pill/pill.js +4 -4
  352. package/dist/collection/components/progress-indicator/progress-indicator.js +3 -3
  353. package/dist/collection/components/push-card/push-card.js +1 -1
  354. package/dist/collection/components/radio/radio.js +3 -3
  355. package/dist/collection/components/radio-group/radio-group.js +2 -2
  356. package/dist/collection/components/row/row.js +1 -1
  357. package/dist/collection/components/select/select.js +94 -14
  358. package/dist/collection/components/select/select.js.map +1 -1
  359. package/dist/collection/components/select-item/select-item.js +1 -1
  360. package/dist/collection/components/slider/slider.js +6 -6
  361. package/dist/collection/components/spinner/spinner.js +1 -1
  362. package/dist/collection/components/split-button/split-button.js +70 -12
  363. package/dist/collection/components/split-button/split-button.js.map +1 -1
  364. package/dist/collection/components/tab-item/tab-item.js +3 -3
  365. package/dist/collection/components/tabs/tabs.js +2 -2
  366. package/dist/collection/components/tile/tile.js +4 -4
  367. package/dist/collection/components/time-input/time-input.js +59 -5
  368. package/dist/collection/components/time-input/time-input.js.map +1 -1
  369. package/dist/collection/components/time-picker/time-picker.css +20 -52
  370. package/dist/collection/components/time-picker/time-picker.js +58 -38
  371. package/dist/collection/components/time-picker/time-picker.js.map +1 -1
  372. package/dist/collection/components/time-picker/time-picker.types.js.map +1 -1
  373. package/dist/collection/components/toast/toast-container.js +2 -2
  374. package/dist/collection/components/toast/toast.js +2 -2
  375. package/dist/collection/components/toggle/toggle.js +3 -3
  376. package/dist/collection/components/tooltip/tooltip.css +2 -3
  377. package/dist/collection/components/tooltip/tooltip.js +17 -6
  378. package/dist/collection/components/tooltip/tooltip.js.map +1 -1
  379. package/dist/collection/components/tree/tree.js +1 -1
  380. package/dist/collection/components/tree-item/tree-item.js +4 -4
  381. package/dist/collection/components/typography/typography.js +1 -1
  382. package/dist/collection/components/upload/upload.js +3 -3
  383. package/dist/collection/components/utils/menu-tabs/menu-tabs-utils.js +6 -1
  384. package/dist/collection/components/utils/menu-tabs/menu-tabs-utils.js.map +1 -1
  385. package/dist/collection/components/validation-tooltip/validation-tooltip.js +2 -2
  386. package/dist/collection/components/workflow-step/workflow-step.js +3 -3
  387. package/dist/collection/components/workflow-steps/workflow-steps.js +1 -1
  388. package/dist/esm/{helper-text-util-BurV4TiQ.js → helper-text-util-gKdL-wH2.js} +8 -4
  389. package/dist/esm/helper-text-util-gKdL-wH2.js.map +1 -0
  390. package/dist/esm/{input.util-VHrSuCP7.js → input.fc-CQbX6V05.js} +68 -43
  391. package/dist/esm/input.fc-CQbX6V05.js.map +1 -0
  392. package/dist/esm/ix-avatar_2.entry.js +1 -1
  393. package/dist/esm/ix-category-filter.entry.js +14 -8
  394. package/dist/esm/ix-category-filter.entry.js.map +1 -1
  395. package/dist/esm/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.js.map +1 -1
  396. package/dist/esm/ix-col_4.entry.js +9 -9
  397. package/dist/esm/ix-date-input.entry.js +18 -4
  398. package/dist/esm/ix-date-input.entry.js.map +1 -1
  399. package/dist/esm/ix-date-time-card.entry.js +1 -1
  400. package/dist/esm/ix-date-time-card.entry.js.map +1 -1
  401. package/dist/esm/ix-datetime-picker.entry.js +2 -2
  402. package/dist/esm/ix-datetime-picker.entry.js.map +1 -1
  403. package/dist/esm/ix-divider.entry.js +1 -1
  404. package/dist/esm/ix-drawer.entry.js +5 -5
  405. package/dist/esm/ix-dropdown-button.entry.js +3 -3
  406. package/dist/esm/ix-dropdown-header.entry.js +1 -1
  407. package/dist/esm/ix-dropdown-item.entry.js +3 -3
  408. package/dist/esm/ix-dropdown-quick-actions.entry.js +1 -1
  409. package/dist/esm/ix-dropdown.entry.js +2 -2
  410. package/dist/esm/ix-empty-state.entry.js +1 -1
  411. package/dist/esm/ix-event-list-item.entry.js +4 -4
  412. package/dist/esm/ix-event-list.entry.js +2 -2
  413. package/dist/esm/ix-expanding-search.entry.js +4 -4
  414. package/dist/esm/ix-field-label_2.entry.js +4 -4
  415. package/dist/esm/ix-filter-chip_2.entry.js +2 -2
  416. package/dist/esm/ix-flip-tile-content.entry.js +1 -1
  417. package/dist/esm/ix-flip-tile.entry.js +3 -3
  418. package/dist/esm/ix-group-context-menu_2.entry.js +1 -1
  419. package/dist/esm/ix-group.entry.js +8 -8
  420. package/dist/esm/ix-helper-text.entry.js +2 -2
  421. package/dist/esm/ix-icon-button_2.entry.js +2 -2
  422. package/dist/esm/ix-icon-toggle-button.entry.js +1 -1
  423. package/dist/esm/ix-input-group.entry.js +1 -1
  424. package/dist/esm/ix-input.entry.js +15 -6
  425. package/dist/esm/ix-input.entry.js.map +1 -1
  426. package/dist/esm/ix-key-value-list.entry.js +1 -1
  427. package/dist/esm/ix-key-value.entry.js +1 -1
  428. package/dist/esm/ix-kpi.entry.js +3 -3
  429. package/dist/esm/ix-layout-auto.entry.js +1 -1
  430. package/dist/esm/ix-link-button.entry.js +4 -4
  431. package/dist/esm/ix-link-button.entry.js.map +1 -1
  432. package/dist/esm/ix-menu-about-item.entry.js +1 -1
  433. package/dist/esm/ix-menu-about-news.entry.js +4 -4
  434. package/dist/esm/ix-menu-about.entry.js +6 -4
  435. package/dist/esm/ix-menu-about.entry.js.map +1 -1
  436. package/dist/esm/ix-menu-avatar.entry.js +2 -2
  437. package/dist/esm/ix-menu-category.entry.js +5 -5
  438. package/dist/esm/ix-menu-expand-icon.entry.js +1 -1
  439. package/dist/esm/ix-menu-item.entry.js +4 -4
  440. package/dist/esm/{ix-menu-settings-Bif4wByb.js → ix-menu-settings-f9o5GGw5.js} +14 -7
  441. package/dist/esm/ix-menu-settings-f9o5GGw5.js.map +1 -0
  442. package/dist/esm/ix-menu-settings-item.entry.js +1 -1
  443. package/dist/esm/ix-menu-settings.entry.js +1 -1
  444. package/dist/esm/ix-menu.entry.js +12 -12
  445. package/dist/esm/ix-message-bar.entry.js +1 -1
  446. package/dist/esm/ix-modal-content_2.entry.js +2 -2
  447. package/dist/esm/ix-modal-footer.entry.js +1 -1
  448. package/dist/esm/ix-modal-loading.entry.js +1 -1
  449. package/dist/esm/ix-modal.entry.js +3 -3
  450. package/dist/esm/ix-number-input.entry.js +158 -30
  451. package/dist/esm/ix-number-input.entry.js.map +1 -1
  452. package/dist/esm/ix-pagination.entry.js +29 -7
  453. package/dist/esm/ix-pagination.entry.js.map +1 -1
  454. package/dist/esm/ix-pane-layout.entry.js +1 -1
  455. package/dist/esm/ix-pane.entry.js +6 -6
  456. package/dist/esm/ix-pill.entry.js +4 -4
  457. package/dist/esm/ix-progress-indicator.entry.js +3 -3
  458. package/dist/esm/ix-push-card.entry.js +1 -1
  459. package/dist/esm/ix-radio-group.entry.js +2 -2
  460. package/dist/esm/ix-radio.entry.js +3 -3
  461. package/dist/esm/ix-select.entry.js +52 -13
  462. package/dist/esm/ix-select.entry.js.map +1 -1
  463. package/dist/esm/ix-slider.entry.js +6 -6
  464. package/dist/esm/ix-split-button.entry.js +24 -12
  465. package/dist/esm/ix-split-button.entry.js.map +1 -1
  466. package/dist/esm/ix-tab-item_2.entry.js +5 -5
  467. package/dist/esm/ix-textarea.entry.js +3 -3
  468. package/dist/esm/ix-tile.entry.js +4 -4
  469. package/dist/esm/ix-time-input.entry.js +19 -5
  470. package/dist/esm/ix-time-input.entry.js.map +1 -1
  471. package/dist/esm/ix-time-picker.entry.js +56 -35
  472. package/dist/esm/ix-time-picker.entry.js.map +1 -1
  473. package/dist/esm/ix-toast-container.entry.js +2 -2
  474. package/dist/esm/ix-toast.entry.js +2 -2
  475. package/dist/esm/ix-toggle.entry.js +3 -3
  476. package/dist/esm/ix-tooltip.entry.js +17 -6
  477. package/dist/esm/ix-tooltip.entry.js.map +1 -1
  478. package/dist/esm/ix-tree-item.entry.js +4 -4
  479. package/dist/esm/ix-tree.entry.js +1 -1
  480. package/dist/esm/ix-typography.entry.js +1 -1
  481. package/dist/esm/ix-upload.entry.js +3 -3
  482. package/dist/esm/ix-validation-tooltip.entry.js +2 -2
  483. package/dist/esm/ix-workflow-step.entry.js +3 -3
  484. package/dist/esm/ix-workflow-steps.entry.js +1 -1
  485. package/dist/esm/loader.js +1 -1
  486. package/dist/esm/siemens-ix.js +1 -1
  487. package/dist/siemens-ix/ix-category-filter.entry.esm.js.map +1 -1
  488. package/dist/siemens-ix/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.esm.js.map +1 -1
  489. package/dist/siemens-ix/ix-date-input.entry.esm.js.map +1 -1
  490. package/dist/siemens-ix/ix-date-time-card.entry.esm.js.map +1 -1
  491. package/dist/siemens-ix/ix-datetime-picker.entry.esm.js.map +1 -1
  492. package/dist/siemens-ix/ix-input.entry.esm.js.map +1 -1
  493. package/dist/siemens-ix/ix-link-button.entry.esm.js.map +1 -1
  494. package/dist/siemens-ix/ix-menu-about.entry.esm.js.map +1 -1
  495. package/dist/siemens-ix/ix-number-input.entry.esm.js.map +1 -1
  496. package/dist/siemens-ix/ix-pagination.entry.esm.js.map +1 -1
  497. package/dist/siemens-ix/ix-select.entry.esm.js.map +1 -1
  498. package/dist/siemens-ix/ix-split-button.entry.esm.js.map +1 -1
  499. package/dist/siemens-ix/ix-time-input.entry.esm.js.map +1 -1
  500. package/dist/siemens-ix/ix-time-picker.entry.esm.js.map +1 -1
  501. package/dist/siemens-ix/ix-tooltip.entry.esm.js.map +1 -1
  502. package/dist/siemens-ix/p-0411df39.entry.js +2 -0
  503. package/dist/siemens-ix/p-051f428c.entry.js +2 -0
  504. package/dist/siemens-ix/{p-4288bd66.entry.js.map → p-051f428c.entry.js.map} +1 -1
  505. package/dist/siemens-ix/{p-49843cce.entry.js → p-086d31e7.entry.js} +2 -2
  506. package/dist/siemens-ix/p-086d31e7.entry.js.map +1 -0
  507. package/dist/siemens-ix/{p-9f7f5cd3.entry.js → p-0ce03ad3.entry.js} +2 -2
  508. package/dist/siemens-ix/{p-60d2f3db.entry.js → p-0d621531.entry.js} +2 -2
  509. package/dist/siemens-ix/{p-4a127027.entry.js → p-10f2a239.entry.js} +2 -2
  510. package/dist/siemens-ix/{p-d70cd703.entry.js → p-196cffb5.entry.js} +2 -2
  511. package/dist/siemens-ix/{p-94596bff.entry.js → p-1de1a2bf.entry.js} +2 -2
  512. package/dist/siemens-ix/{p-b7c64537.entry.js → p-2597a988.entry.js} +2 -2
  513. package/dist/siemens-ix/{p-a8f08878.entry.js → p-2ffde2d5.entry.js} +2 -2
  514. package/dist/siemens-ix/p-31a8eaf9.entry.js +2 -0
  515. package/dist/siemens-ix/{p-2e3ac12c.entry.js → p-33fcea65.entry.js} +2 -2
  516. package/dist/siemens-ix/{p-bd2127d0.entry.js → p-367df024.entry.js} +2 -2
  517. package/dist/siemens-ix/{p-65c759c5.entry.js → p-3751c675.entry.js} +2 -2
  518. package/dist/siemens-ix/{p-76bd4cf9.entry.js → p-37bd983a.entry.js} +2 -2
  519. package/dist/siemens-ix/{p-d2831f7b.entry.js → p-38e45020.entry.js} +2 -2
  520. package/dist/siemens-ix/{p-d997238b.entry.js → p-396e1f3d.entry.js} +2 -2
  521. package/dist/siemens-ix/{p-0fd006b9.entry.js → p-3b7573d6.entry.js} +2 -2
  522. package/dist/siemens-ix/p-3ce5fd87.entry.js +2 -0
  523. package/dist/siemens-ix/p-3ce5fd87.entry.js.map +1 -0
  524. package/dist/siemens-ix/p-3f13b14e.entry.js +2 -0
  525. package/dist/siemens-ix/p-3f13b14e.entry.js.map +1 -0
  526. package/dist/siemens-ix/p-3f62166e.entry.js +2 -0
  527. package/dist/siemens-ix/{p-6880e267.entry.js.map → p-3f62166e.entry.js.map} +1 -1
  528. package/dist/siemens-ix/p-425d6925.entry.js +2 -0
  529. package/dist/siemens-ix/{p-ec3ec461.entry.js → p-484bddf4.entry.js} +2 -2
  530. package/dist/siemens-ix/{p-df5494ff.entry.js → p-496e98ac.entry.js} +2 -2
  531. package/dist/siemens-ix/{p-ab6d123c.entry.js → p-4c18f123.entry.js} +2 -2
  532. package/dist/siemens-ix/{p-c96ce76c.entry.js → p-4c1f90cb.entry.js} +2 -2
  533. package/dist/siemens-ix/{p-a53d7dbb.entry.js → p-4e4d792d.entry.js} +2 -2
  534. package/dist/siemens-ix/p-51ae739e.entry.js +2 -0
  535. package/dist/siemens-ix/p-51ae739e.entry.js.map +1 -0
  536. package/dist/siemens-ix/{p-80981f03.entry.js → p-5779f16e.entry.js} +2 -2
  537. package/dist/siemens-ix/{p-4d0e900c.entry.js → p-5b57bde1.entry.js} +2 -2
  538. package/dist/siemens-ix/{p-6045dce9.entry.js → p-5d6f43fd.entry.js} +2 -2
  539. package/dist/siemens-ix/p-5iwF1M9X.js +2 -0
  540. package/dist/siemens-ix/p-5iwF1M9X.js.map +1 -0
  541. package/dist/siemens-ix/{p-2b2f339e.entry.js → p-6445a54f.entry.js} +2 -2
  542. package/dist/siemens-ix/{p-acb7c236.entry.js → p-667e3184.entry.js} +2 -2
  543. package/dist/siemens-ix/{p-92e0ebf1.entry.js → p-6a4bc78a.entry.js} +2 -2
  544. package/dist/siemens-ix/p-6dc6eb63.entry.js +2 -0
  545. package/dist/siemens-ix/{p-453aa17a.entry.js.map → p-6dc6eb63.entry.js.map} +1 -1
  546. package/dist/siemens-ix/{p-319e292f.entry.js → p-74e7b03f.entry.js} +2 -2
  547. package/dist/siemens-ix/{p-7c474c82.entry.js → p-77fd2138.entry.js} +2 -2
  548. package/dist/siemens-ix/{p-11b1eaa3.entry.js → p-7bad0544.entry.js} +2 -2
  549. package/dist/siemens-ix/{p-23e4f5f3.entry.js → p-7beba4ad.entry.js} +2 -2
  550. package/dist/siemens-ix/p-7beba4ad.entry.js.map +1 -0
  551. package/dist/siemens-ix/{p-ffe0835b.entry.js → p-7f90eeef.entry.js} +2 -2
  552. package/dist/siemens-ix/{p-b76ed7c3.entry.js → p-84df2a86.entry.js} +2 -2
  553. package/dist/siemens-ix/p-84df2a86.entry.js.map +1 -0
  554. package/dist/siemens-ix/p-8b42ad35.entry.js +2 -0
  555. package/dist/siemens-ix/{p-31f77d98.entry.js.map → p-8b42ad35.entry.js.map} +1 -1
  556. package/dist/siemens-ix/{p-5c22d3e5.entry.js → p-8f9368b8.entry.js} +2 -2
  557. package/dist/siemens-ix/p-8fa8d0e3.entry.js +2 -0
  558. package/dist/siemens-ix/p-92ec7f27.entry.js +2 -0
  559. package/dist/siemens-ix/{p-DBsKyLIP.js → p-BcCDexod.js} +2 -2
  560. package/dist/siemens-ix/p-BcCDexod.js.map +1 -0
  561. package/dist/siemens-ix/p-Cn013Iz8.js +2 -0
  562. package/dist/siemens-ix/p-Cn013Iz8.js.map +1 -0
  563. package/dist/siemens-ix/p-a3baca2f.entry.js +2 -0
  564. package/dist/siemens-ix/{p-75a10c1e.entry.js → p-b3453edf.entry.js} +2 -2
  565. package/dist/siemens-ix/p-b41a7abb.entry.js +2 -0
  566. package/dist/siemens-ix/{p-53df921a.entry.js.map → p-b41a7abb.entry.js.map} +1 -1
  567. package/dist/siemens-ix/{p-9a4db5e9.entry.js → p-b76df1c7.entry.js} +2 -2
  568. package/dist/siemens-ix/{p-332dccc7.entry.js → p-b7ef70d4.entry.js} +2 -2
  569. package/dist/siemens-ix/{p-43ecc5c3.entry.js → p-b8f4b001.entry.js} +2 -2
  570. package/dist/siemens-ix/{p-531f9746.entry.js → p-b9880608.entry.js} +2 -2
  571. package/dist/siemens-ix/{p-619a3dc8.entry.js → p-c5c863e1.entry.js} +2 -2
  572. package/dist/siemens-ix/{p-bb744e91.entry.js → p-c94739d0.entry.js} +2 -2
  573. package/dist/siemens-ix/{p-8cb3d70c.entry.js → p-ca3b24b1.entry.js} +2 -2
  574. package/dist/siemens-ix/{p-4acf0d7b.entry.js → p-cd1afcc9.entry.js} +2 -2
  575. package/dist/siemens-ix/{p-713df610.entry.js → p-cf041cfd.entry.js} +2 -2
  576. package/dist/siemens-ix/{p-338c68ea.entry.js → p-d10b9798.entry.js} +2 -2
  577. package/dist/siemens-ix/{p-6fd7d11a.entry.js → p-d193381f.entry.js} +2 -2
  578. package/dist/siemens-ix/{p-d90d1310.entry.js → p-d3a60c52.entry.js} +2 -2
  579. package/dist/siemens-ix/p-d688f76e.entry.js +2 -0
  580. package/dist/siemens-ix/{p-2d96a4a1.entry.js.map → p-d688f76e.entry.js.map} +1 -1
  581. package/dist/siemens-ix/p-dc8de6cb.entry.js +2 -0
  582. package/dist/siemens-ix/p-dc8de6cb.entry.js.map +1 -0
  583. package/dist/siemens-ix/p-dd16efd4.entry.js +2 -0
  584. package/dist/siemens-ix/p-dd16efd4.entry.js.map +1 -0
  585. package/dist/siemens-ix/p-de12078d.entry.js +2 -0
  586. package/dist/siemens-ix/{p-418671c7.entry.js.map → p-de12078d.entry.js.map} +1 -1
  587. package/dist/siemens-ix/{p-f40573e7.entry.js → p-df6bb698.entry.js} +2 -2
  588. package/dist/siemens-ix/p-e0b9cf68.entry.js +2 -0
  589. package/dist/siemens-ix/{p-5bb86bf7.entry.js → p-e42f62a1.entry.js} +2 -2
  590. package/dist/siemens-ix/{p-fb02d7fd.entry.js → p-e48977ed.entry.js} +2 -2
  591. package/dist/siemens-ix/{p-3099c12a.entry.js → p-e7bdc0a0.entry.js} +2 -2
  592. package/dist/siemens-ix/p-e7bdc0a0.entry.js.map +1 -0
  593. package/dist/siemens-ix/{p-ff6f13e1.entry.js → p-ea15fc79.entry.js} +2 -2
  594. package/dist/siemens-ix/{p-18d4645d.entry.js → p-ea37abf6.entry.js} +2 -2
  595. package/dist/siemens-ix/{p-f253d38c.entry.js → p-eba7f62c.entry.js} +2 -2
  596. package/dist/siemens-ix/{p-b64a3d8a.entry.js → p-ebef3d52.entry.js} +2 -2
  597. package/dist/siemens-ix/p-f05aa76f.entry.js +2 -0
  598. package/dist/siemens-ix/p-f05aa76f.entry.js.map +1 -0
  599. package/dist/siemens-ix/p-fb8877bc.entry.js +2 -0
  600. package/dist/siemens-ix/p-fb8877bc.entry.js.map +1 -0
  601. package/dist/siemens-ix/{p-e3dca831.entry.js → p-ff83eafd.entry.js} +2 -2
  602. package/dist/siemens-ix/siemens-ix-core.css +1 -1
  603. package/dist/siemens-ix/siemens-ix.css +2 -5
  604. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  605. package/dist/types/components/date-input/date-input.d.ts +10 -0
  606. package/dist/types/components/field-wrapper/helper-text-util.d.ts +5 -1
  607. package/dist/types/components/input/input.d.ts +9 -0
  608. package/dist/types/components/input/input.fc.d.ts +6 -0
  609. package/dist/types/components/input/input.util.d.ts +1 -0
  610. package/dist/types/components/input/number-input.d.ts +31 -5
  611. package/dist/types/components/menu-about/menu-about.d.ts +1 -1
  612. package/dist/types/components/menu-settings/menu-settings.d.ts +1 -1
  613. package/dist/types/components/pagination/pagination.d.ts +8 -0
  614. package/dist/types/components/select/select.d.ts +11 -0
  615. package/dist/types/components/split-button/split-button.d.ts +15 -4
  616. package/dist/types/components/time-input/time-input.d.ts +10 -0
  617. package/dist/types/components/time-picker/time-picker.d.ts +6 -1
  618. package/dist/types/components/tooltip/tooltip.d.ts +2 -1
  619. package/dist/types/components/utils/menu-tabs/menu-tabs-utils.d.ts +1 -0
  620. package/dist/types/components.d.ts +160 -12
  621. package/hydrate/index.js +673 -347
  622. package/hydrate/index.mjs +673 -347
  623. package/package.json +1 -1
  624. package/scss/components/_links.scss +2 -5
  625. package/scss/mixins/_input.scss +2 -2
  626. package/scss/theme/classic/dark/_variables.scss +1 -1
  627. package/components/p-C56HnkHy.js.map +0 -1
  628. package/components/p-CDPfohEH.js.map +0 -1
  629. package/components/p-ChFNWyCb.js.map +0 -1
  630. package/components/p-CvuFiT5X.js.map +0 -1
  631. package/components/p-FWLjfP4_.js.map +0 -1
  632. package/components/p-OLe05BAC.js.map +0 -1
  633. package/components/p-Ow_osSm5.js.map +0 -1
  634. package/components/p-S6nC3Yb4.js.map +0 -1
  635. package/dist/cjs/helper-text-util-BlElJLxk.js.map +0 -1
  636. package/dist/cjs/input.util-4AhBphgX.js.map +0 -1
  637. package/dist/cjs/ix-menu-settings-Cdqo0r8E.js.map +0 -1
  638. package/dist/esm/helper-text-util-BurV4TiQ.js.map +0 -1
  639. package/dist/esm/input.util-VHrSuCP7.js.map +0 -1
  640. package/dist/esm/ix-menu-settings-Bif4wByb.js.map +0 -1
  641. package/dist/siemens-ix/p-10ed549b.entry.js +0 -2
  642. package/dist/siemens-ix/p-10ed549b.entry.js.map +0 -1
  643. package/dist/siemens-ix/p-1550973a.entry.js +0 -2
  644. package/dist/siemens-ix/p-1de6e736.entry.js +0 -2
  645. package/dist/siemens-ix/p-1de6e736.entry.js.map +0 -1
  646. package/dist/siemens-ix/p-23e4f5f3.entry.js.map +0 -1
  647. package/dist/siemens-ix/p-2d96a4a1.entry.js +0 -2
  648. package/dist/siemens-ix/p-3099c12a.entry.js.map +0 -1
  649. package/dist/siemens-ix/p-31f77d98.entry.js +0 -2
  650. package/dist/siemens-ix/p-418671c7.entry.js +0 -2
  651. package/dist/siemens-ix/p-4288bd66.entry.js +0 -2
  652. package/dist/siemens-ix/p-453aa17a.entry.js +0 -2
  653. package/dist/siemens-ix/p-45b53c34.entry.js +0 -2
  654. package/dist/siemens-ix/p-45b53c34.entry.js.map +0 -1
  655. package/dist/siemens-ix/p-49843cce.entry.js.map +0 -1
  656. package/dist/siemens-ix/p-53df921a.entry.js +0 -2
  657. package/dist/siemens-ix/p-598ece5a.entry.js +0 -2
  658. package/dist/siemens-ix/p-6880e267.entry.js +0 -2
  659. package/dist/siemens-ix/p-712e393d.entry.js +0 -2
  660. package/dist/siemens-ix/p-712e393d.entry.js.map +0 -1
  661. package/dist/siemens-ix/p-89a7705b.entry.js +0 -2
  662. package/dist/siemens-ix/p-89a7705b.entry.js.map +0 -1
  663. package/dist/siemens-ix/p-DBsKyLIP.js.map +0 -1
  664. package/dist/siemens-ix/p-DS9crO46.js +0 -2
  665. package/dist/siemens-ix/p-DS9crO46.js.map +0 -1
  666. package/dist/siemens-ix/p-DXAZefAa.js +0 -2
  667. package/dist/siemens-ix/p-DXAZefAa.js.map +0 -1
  668. package/dist/siemens-ix/p-a0ffeea7.entry.js +0 -2
  669. package/dist/siemens-ix/p-a6e398d2.entry.js +0 -2
  670. package/dist/siemens-ix/p-b76ed7c3.entry.js.map +0 -1
  671. package/dist/siemens-ix/p-b7da78c6.entry.js +0 -2
  672. package/dist/siemens-ix/p-b7da78c6.entry.js.map +0 -1
  673. package/dist/siemens-ix/p-c6536a88.entry.js +0 -2
  674. package/dist/siemens-ix/p-d18df859.entry.js +0 -2
  675. package/dist/siemens-ix/p-e5180acd.entry.js +0 -2
  676. package/dist/siemens-ix/p-e5180acd.entry.js.map +0 -1
  677. package/dist/siemens-ix/p-fdb802ac.entry.js +0 -2
  678. /package/dist/siemens-ix/{p-fdb802ac.entry.js.map → p-0411df39.entry.js.map} +0 -0
  679. /package/dist/siemens-ix/{p-9f7f5cd3.entry.js.map → p-0ce03ad3.entry.js.map} +0 -0
  680. /package/dist/siemens-ix/{p-60d2f3db.entry.js.map → p-0d621531.entry.js.map} +0 -0
  681. /package/dist/siemens-ix/{p-4a127027.entry.js.map → p-10f2a239.entry.js.map} +0 -0
  682. /package/dist/siemens-ix/{p-d70cd703.entry.js.map → p-196cffb5.entry.js.map} +0 -0
  683. /package/dist/siemens-ix/{p-94596bff.entry.js.map → p-1de1a2bf.entry.js.map} +0 -0
  684. /package/dist/siemens-ix/{p-b7c64537.entry.js.map → p-2597a988.entry.js.map} +0 -0
  685. /package/dist/siemens-ix/{p-a8f08878.entry.js.map → p-2ffde2d5.entry.js.map} +0 -0
  686. /package/dist/siemens-ix/{p-598ece5a.entry.js.map → p-31a8eaf9.entry.js.map} +0 -0
  687. /package/dist/siemens-ix/{p-2e3ac12c.entry.js.map → p-33fcea65.entry.js.map} +0 -0
  688. /package/dist/siemens-ix/{p-bd2127d0.entry.js.map → p-367df024.entry.js.map} +0 -0
  689. /package/dist/siemens-ix/{p-65c759c5.entry.js.map → p-3751c675.entry.js.map} +0 -0
  690. /package/dist/siemens-ix/{p-76bd4cf9.entry.js.map → p-37bd983a.entry.js.map} +0 -0
  691. /package/dist/siemens-ix/{p-d2831f7b.entry.js.map → p-38e45020.entry.js.map} +0 -0
  692. /package/dist/siemens-ix/{p-d997238b.entry.js.map → p-396e1f3d.entry.js.map} +0 -0
  693. /package/dist/siemens-ix/{p-0fd006b9.entry.js.map → p-3b7573d6.entry.js.map} +0 -0
  694. /package/dist/siemens-ix/{p-c6536a88.entry.js.map → p-425d6925.entry.js.map} +0 -0
  695. /package/dist/siemens-ix/{p-ec3ec461.entry.js.map → p-484bddf4.entry.js.map} +0 -0
  696. /package/dist/siemens-ix/{p-df5494ff.entry.js.map → p-496e98ac.entry.js.map} +0 -0
  697. /package/dist/siemens-ix/{p-ab6d123c.entry.js.map → p-4c18f123.entry.js.map} +0 -0
  698. /package/dist/siemens-ix/{p-c96ce76c.entry.js.map → p-4c1f90cb.entry.js.map} +0 -0
  699. /package/dist/siemens-ix/{p-a53d7dbb.entry.js.map → p-4e4d792d.entry.js.map} +0 -0
  700. /package/dist/siemens-ix/{p-80981f03.entry.js.map → p-5779f16e.entry.js.map} +0 -0
  701. /package/dist/siemens-ix/{p-4d0e900c.entry.js.map → p-5b57bde1.entry.js.map} +0 -0
  702. /package/dist/siemens-ix/{p-6045dce9.entry.js.map → p-5d6f43fd.entry.js.map} +0 -0
  703. /package/dist/siemens-ix/{p-2b2f339e.entry.js.map → p-6445a54f.entry.js.map} +0 -0
  704. /package/dist/siemens-ix/{p-acb7c236.entry.js.map → p-667e3184.entry.js.map} +0 -0
  705. /package/dist/siemens-ix/{p-92e0ebf1.entry.js.map → p-6a4bc78a.entry.js.map} +0 -0
  706. /package/dist/siemens-ix/{p-319e292f.entry.js.map → p-74e7b03f.entry.js.map} +0 -0
  707. /package/dist/siemens-ix/{p-7c474c82.entry.js.map → p-77fd2138.entry.js.map} +0 -0
  708. /package/dist/siemens-ix/{p-11b1eaa3.entry.js.map → p-7bad0544.entry.js.map} +0 -0
  709. /package/dist/siemens-ix/{p-ffe0835b.entry.js.map → p-7f90eeef.entry.js.map} +0 -0
  710. /package/dist/siemens-ix/{p-5c22d3e5.entry.js.map → p-8f9368b8.entry.js.map} +0 -0
  711. /package/dist/siemens-ix/{p-d18df859.entry.js.map → p-8fa8d0e3.entry.js.map} +0 -0
  712. /package/dist/siemens-ix/{p-a6e398d2.entry.js.map → p-92ec7f27.entry.js.map} +0 -0
  713. /package/dist/siemens-ix/{p-1550973a.entry.js.map → p-a3baca2f.entry.js.map} +0 -0
  714. /package/dist/siemens-ix/{p-75a10c1e.entry.js.map → p-b3453edf.entry.js.map} +0 -0
  715. /package/dist/siemens-ix/{p-9a4db5e9.entry.js.map → p-b76df1c7.entry.js.map} +0 -0
  716. /package/dist/siemens-ix/{p-332dccc7.entry.js.map → p-b7ef70d4.entry.js.map} +0 -0
  717. /package/dist/siemens-ix/{p-43ecc5c3.entry.js.map → p-b8f4b001.entry.js.map} +0 -0
  718. /package/dist/siemens-ix/{p-531f9746.entry.js.map → p-b9880608.entry.js.map} +0 -0
  719. /package/dist/siemens-ix/{p-619a3dc8.entry.js.map → p-c5c863e1.entry.js.map} +0 -0
  720. /package/dist/siemens-ix/{p-bb744e91.entry.js.map → p-c94739d0.entry.js.map} +0 -0
  721. /package/dist/siemens-ix/{p-8cb3d70c.entry.js.map → p-ca3b24b1.entry.js.map} +0 -0
  722. /package/dist/siemens-ix/{p-4acf0d7b.entry.js.map → p-cd1afcc9.entry.js.map} +0 -0
  723. /package/dist/siemens-ix/{p-713df610.entry.js.map → p-cf041cfd.entry.js.map} +0 -0
  724. /package/dist/siemens-ix/{p-338c68ea.entry.js.map → p-d10b9798.entry.js.map} +0 -0
  725. /package/dist/siemens-ix/{p-6fd7d11a.entry.js.map → p-d193381f.entry.js.map} +0 -0
  726. /package/dist/siemens-ix/{p-d90d1310.entry.js.map → p-d3a60c52.entry.js.map} +0 -0
  727. /package/dist/siemens-ix/{p-f40573e7.entry.js.map → p-df6bb698.entry.js.map} +0 -0
  728. /package/dist/siemens-ix/{p-a0ffeea7.entry.js.map → p-e0b9cf68.entry.js.map} +0 -0
  729. /package/dist/siemens-ix/{p-5bb86bf7.entry.js.map → p-e42f62a1.entry.js.map} +0 -0
  730. /package/dist/siemens-ix/{p-fb02d7fd.entry.js.map → p-e48977ed.entry.js.map} +0 -0
  731. /package/dist/siemens-ix/{p-ff6f13e1.entry.js.map → p-ea15fc79.entry.js.map} +0 -0
  732. /package/dist/siemens-ix/{p-18d4645d.entry.js.map → p-ea37abf6.entry.js.map} +0 -0
  733. /package/dist/siemens-ix/{p-f253d38c.entry.js.map → p-eba7f62c.entry.js.map} +0 -0
  734. /package/dist/siemens-ix/{p-b64a3d8a.entry.js.map → p-ebef3d52.entry.js.map} +0 -0
  735. /package/dist/siemens-ix/{p-e3dca831.entry.js.map → p-ff83eafd.entry.js.map} +0 -0
@@ -70,7 +70,7 @@ const Col = class {
70
70
  Col.Breakpoints = ['', 'sm', 'md', 'lg'];
71
71
  Col.style = colCss;
72
72
 
73
- const datePickerCss = ":host{display:block;position:relative;width:21rem}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}: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{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .header{display:flex;align-items:center;justify-content:space-between}:host .disabled-item{pointer-events:none;background-color:var(--theme-datepicker-day--background--disabled);color:var(--theme-datepicker-day--color--disabled);cursor:default}:host .selector{flex-basis:100%;display:flex;align-items:center;justify-content:center;padding:0.25rem 1rem}:host .selector .dropdown{color:var(--theme-menu-item--color);font-size:14px;line-height:20px}:host .selector .fontSize{font-size:16px}:host .selector .capitalize{text-transform:capitalize}:host .selector .month-dropdown-item{margin-left:4px;margin-right:4px}:host .selector .month-dropdown-item:focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .selector .arrowYear{display:flex;position:relative;padding:0.75rem 2rem;align-items:center;cursor:pointer}:host .selector .arrowYear:hover{background-color:var(--theme-select-list-item--background--hover)}:host .selector .arrowYear.selected{background-color:var(--theme-select-list-item--background--selected)}:host .selector .arrowYear .arrowPosition{position:absolute;left:calc(1rem - 6px);top:calc(50% - 6px)}:host .selector .arrowYear .checkPosition{position:absolute;left:calc(1rem - 6px);top:calc(50% - 8px)}:host .selector .arrowYear .monthMargin{margin-left:10px}:host .wrapper{display:flex}:host .wrapper .overflow{overflow-y:scroll;max-height:250px}:host .grid{display:grid;grid-template-columns:repeat(7, 40px);grid-template-rows:repeat(7, 40px);align-items:center;justify-items:center;justify-content:center;color:var(--theme-datepicker-today--color)}:host .grid--show-week-numbers{grid-template-columns:24px repeat(7, 40px)}:host .grid .calendar-item{position:relative;display:flex;justify-content:center;align-items:center;background-color:var(--theme-datepicker-day--background);border:1px solid var(--theme-datepicker-day--background);width:40px;height:40px;cursor:pointer}:host .grid .calendar-item:focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset);background-color:var(--theme-datepicker-day--background--selected);border:inset 1px solid var(--theme-datepicker-day--border-color--selected);color:var(--theme-datepicker-day--color--selected);font-size:14px;line-height:20px;letter-spacing:0}:host .grid .calendar-item.today{border:1px solid var(--theme-datepicker-today--border-color)}:host .grid .calendar-item.today:hover{background-color:var(--theme-datepicker-day--background--hover)}:host .grid .calendar-item.today:active{background-color:var(--theme-datepicker-day--background--active)}:host .grid .calendar-item.today.selected{box-shadow:inset 0 0 0 1px white}:host .grid .calendar-item.today.selected:hover{background-color:var(--theme-datepicker-day--background--selected-hover)}:host .grid .calendar-item.today.selected:active{background-color:var(--theme-datepicker-day--background--selected-active)}:host .grid .calendar-item.today.selected.disabled{pointer-events:none;background-color:var(--theme-datepicker-day--background--selected-disabled);border:1px solid var(--theme-datepicker-day--background--selected-disabled);color:var(--theme-datepicker-day--color--selected-disabled)}:host .grid .calendar-item.today.range{background-color:var(--theme-datepicker-day--background--range);color:var(--theme-datepicker-day--color--range);border:1px solid var(--theme-datepicker-today--border-color--range);box-shadow:inset 0 0 0 1px white}:host .grid .calendar-item.today.range:hover{background-color:var(--theme-datepicker-day--background--range-hover);border:1px solid var(--theme-datepicker-today--border-color--range-hover)}:host .grid .calendar-item.today.range:active{background-color:var(--theme-datepicker-day--background--range-active);border:1px solid var(--theme-datepicker-today--border-color--range-active)}:host .grid .calendar-item.today.range.disabled{background-color:var(--theme-datepicker-day--background--range-disabled);color:var(--theme-datepicker-day--color--range-disabled);border:1px solid var(--theme-datepicker-today--border-color--range-disabled)}:host .grid .calendar-item.today.disabled{pointer-events:none;background-color:var(--theme-datepicker-day--background--disabled);color:var(--theme-datepicker-day--color--disabled);cursor:default}:host .grid .calendar-item:hover{background-color:var(--theme-datepicker-day--background--hover)}:host .grid .calendar-item:active{background-color:var(--theme-datepicker-day--background--active)}:host .grid .calendar-item.selected{background-color:var(--theme-datepicker-day--background--selected);color:var(--theme-datepicker-day--color--selected);border:1px solid var(--theme-datepicker-day--background--selected)}:host .grid .calendar-item.selected:hover{background-color:var(--theme-datepicker-day--background--selected-hover)}:host .grid .calendar-item.selected:active{background-color:var(--theme-datepicker-day--background--selected-active)}:host .grid .calendar-item.selected.disabled{pointer-events:none;background-color:var(--theme-datepicker-day--background--selected-disabled);color:var(--theme-datepicker-day--color--selected-disabled)}:host .grid .calendar-item.range{background-color:var(--theme-datepicker-day--background--range);color:var(--theme-datepicker-day--color--range)}:host .grid .calendar-item.range:hover{background-color:var(--theme-datepicker-day--background--range-hover)}:host .grid .calendar-item.range:active{background-color:var(--theme-datepicker-day--background--range-active)}:host .grid .calendar-item.range.disabled{pointer-events:none;background-color:var(--theme-datepicker-day--background--range-disabled);color:var(--theme-datepicker-day--color--range-disabled)}:host .grid .calendar-item.disabled{pointer-events:none;background-color:var(--theme-datepicker-day--background--disabled);color:var(--theme-datepicker-day--color--disabled)}:host .grid .calendar-item.week-day{color:var(--theme-datepicker-weekday--color);font-size:12px;line-height:20px;border:none;background:none;cursor:initial}:host .grid .calendar-item.week-day .overflow{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .grid .calendar-item.empty-day{border:none;background:none;cursor:initial}:host .grid .calendar-item.week-number{font-size:10px;line-height:14px;color:var(--theme-datepicker-weekday--color);border:none;background:none;cursor:initial;width:1.5rem}:host .button{display:flex;justify-content:flex-end;margin-top:1rem}:host .hidden{display:none}";
73
+ const datePickerCss = ":host{display:block;position:relative;max-width:21rem}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}: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{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .header{display:flex;align-items:center;justify-content:space-between}:host .disabled-item{pointer-events:none;background-color:var(--theme-datepicker-day--background--disabled);color:var(--theme-datepicker-day--color--disabled);cursor:default}:host .selector{flex-basis:100%;display:flex;align-items:center;justify-content:center;padding:0 1rem}:host .selector .dropdown{color:var(--theme-menu-item--color);font-size:14px;line-height:20px}:host .selector .capitalize{text-transform:capitalize}:host .selector .month-dropdown-item{margin-left:4px;margin-right:4px}:host .selector .month-dropdown-item:focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .selector .arrowYear{display:flex;position:relative;padding:0.75rem 2rem;align-items:center;cursor:pointer}:host .selector .arrowYear:hover{background-color:var(--theme-select-list-item--background--hover)}:host .selector .arrowYear.selected{background-color:var(--theme-select-list-item--background--selected)}:host .selector .arrowYear .arrowPosition{position:absolute;left:calc(1rem - 6px);top:calc(50% - 6px)}:host .selector .arrowYear .checkPosition{position:absolute;left:calc(1rem - 6px);top:calc(50% - 8px)}:host .selector .arrowYear .monthMargin{margin-left:10px}:host .wrapper{display:flex}:host .wrapper .overflow{overflow-y:scroll;max-height:250px}:host .grid{display:grid;grid-template-columns:repeat(7, 40px);grid-template-rows:repeat(7, 40px);align-items:center;justify-items:center;justify-content:center;color:var(--theme-datepicker-today--color)}:host .grid--show-week-numbers{grid-template-columns:24px repeat(7, 40px)}:host .grid .calendar-item{position:relative;display:flex;justify-content:center;align-items:center;background-color:var(--theme-datepicker-day--background);border:1px solid var(--theme-datepicker-day--background);width:40px;height:40px;cursor:pointer}:host .grid .calendar-item:focus-visible{outline:1px solid var(--theme-color-focus-bdr);box-shadow:inset 0 0 0 1px var(--theme-color-inv-contrast-text);background-color:var(--theme-datepicker-day--background--selected);border:inset 1px solid var(--theme-datepicker-day--border-color--selected);color:var(--theme-datepicker-day--color--selected);font-size:14px;line-height:20px;letter-spacing:0}:host .grid .calendar-item.today{border:1px solid var(--theme-datepicker-today--border-color)}:host .grid .calendar-item.today:hover{background-color:var(--theme-datepicker-day--background--hover)}:host .grid .calendar-item.today:active{background-color:var(--theme-datepicker-day--background--active)}:host .grid .calendar-item.today.selected{box-shadow:inset 0 0 0 1px white}:host .grid .calendar-item.today.selected:hover{background-color:var(--theme-datepicker-day--background--selected-hover)}:host .grid .calendar-item.today.selected:active{background-color:var(--theme-datepicker-day--background--selected-active)}:host .grid .calendar-item.today.selected.disabled{pointer-events:none;background-color:var(--theme-datepicker-day--background--selected-disabled);border:1px solid var(--theme-datepicker-day--background--selected-disabled);color:var(--theme-datepicker-day--color--selected-disabled)}:host .grid .calendar-item.today.range{background-color:var(--theme-datepicker-day--background--range);color:var(--theme-datepicker-day--color--range);border:1px solid var(--theme-datepicker-today--border-color--range);box-shadow:inset 0 0 0 1px white}:host .grid .calendar-item.today.range:hover{background-color:var(--theme-datepicker-day--background--range-hover);border:1px solid var(--theme-datepicker-today--border-color--range-hover)}:host .grid .calendar-item.today.range:active{background-color:var(--theme-datepicker-day--background--range-active);border:1px solid var(--theme-datepicker-today--border-color--range-active)}:host .grid .calendar-item.today.range.disabled{background-color:var(--theme-datepicker-day--background--range-disabled);color:var(--theme-datepicker-day--color--range-disabled);border:1px solid var(--theme-datepicker-today--border-color--range-disabled)}:host .grid .calendar-item.today.disabled{pointer-events:none;background-color:var(--theme-datepicker-day--background--disabled);color:var(--theme-datepicker-day--color--disabled);cursor:default}:host .grid .calendar-item:hover{background-color:var(--theme-datepicker-day--background--hover)}:host .grid .calendar-item:active{background-color:var(--theme-datepicker-day--background--active)}:host .grid .calendar-item.selected{background-color:var(--theme-datepicker-day--background--selected);color:var(--theme-datepicker-day--color--selected);border:1px solid var(--theme-datepicker-day--background--selected);font-weight:var(--theme-font-weight-bold)}:host .grid .calendar-item.selected:hover{background-color:var(--theme-datepicker-day--background--selected-hover)}:host .grid .calendar-item.selected:active{background-color:var(--theme-datepicker-day--background--selected-active)}:host .grid .calendar-item.selected.disabled{pointer-events:none;background-color:var(--theme-datepicker-day--background--selected-disabled);color:var(--theme-datepicker-day--color--selected-disabled)}:host .grid .calendar-item.range{background-color:var(--theme-datepicker-day--background--range);color:var(--theme-datepicker-day--color--range)}:host .grid .calendar-item.range:hover{background-color:var(--theme-datepicker-day--background--range-hover)}:host .grid .calendar-item.range:active{background-color:var(--theme-datepicker-day--background--range-active)}:host .grid .calendar-item.range.disabled{pointer-events:none;background-color:var(--theme-datepicker-day--background--range-disabled);color:var(--theme-datepicker-day--color--range-disabled)}:host .grid .calendar-item.disabled{pointer-events:none;background-color:var(--theme-datepicker-day--background--disabled);color:var(--theme-datepicker-day--color--disabled)}:host .grid .calendar-item.week-day{color:var(--theme-datepicker-weekday--color);font-size:var(--theme-ms-0);line-height:143%;border:none;background:none;cursor:initial}:host .grid .calendar-item.week-day .overflow{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .grid .calendar-item.empty-day{border:none;background:none;cursor:initial}:host .grid .calendar-item.week-number{font-size:10px;line-height:14px;color:var(--theme-datepicker-weekday--color);border:none;background:none;cursor:initial;width:1.5rem}:host .button{display:flex;justify-content:flex-end;margin-top:1rem}:host .hidden{display:none}";
74
74
 
75
75
  /*
76
76
  * SPDX-FileCopyrightText: 2023 Siemens AG
@@ -552,7 +552,7 @@ const DatePicker = class {
552
552
  return rows;
553
553
  }
554
554
  render() {
555
- return (index.h(index.Host, { key: 'ac385bc586d47db0ce5aeb9eab3e7e71e71fe7cf' }, index.h("ix-date-time-card", { key: 'e1d11ba64aa8b1374c6ded705afa779a9b3966b1', corners: this.corners, embedded: this.embedded }, index.h("div", { key: 'bc99b5e074709ee8599799814a3bc7fd5ab417a5', class: "header", slot: "header" }, index.h("ix-icon-button", { key: '6bc172523c9588a3bb1d200d5113b2533117c021', onClick: () => this.changeToAdjacentMonth(-1), icon: index$1.iconChevronLeftSmall, variant: "tertiary", class: "arrows", "aria-label": this.ariaLabelPreviousMonthButton }), index.h("div", { key: 'e3505b87752b9d763ba61286f1091e67e2ee3314', class: "selector" }, index.h("ix-button", { key: 'f6740c7a4ea82875e876896ab0d311e56edf2c6d', variant: "tertiary", ref: this.dropdownButtonRef, "data-testid": "year-month-button" }, index.h("span", { key: '90701ae7a627b41129506f9fad3523a459493e1a', class: "fontSize capitalize" }, this.monthNames[this.selectedMonth], " ", this.selectedYear)), index.h("ix-dropdown", { key: '0d08063a316522be267f453e3c16221cf59ac5a6', "data-testid": "year-month-dropdown", class: "dropdown", trigger: this.dropdownButtonRef.waitForCurrent(), ignoreRelatedSubmenu: true, placement: "bottom-start" }, index.h("div", { key: '6d91caedadb78bad8b1e65d218b63c683d635641', class: "wrapper" }, index.h("div", { key: 'dae4910fc59d7653693f8e6db81c3a2eaf6cecf4', "data-testid": "year-container", class: "overflow", onScroll: () => this.infiniteScrollYears(), ref: this.yearContainerRef }, this.renderYears()), index.h("div", { key: '3d953e9c9e587526f9b82bb573781a51c17a0dfb', class: "overflow", "data-testid": "month-container" }, this.monthNames.map((month, index$2) => (index.h("div", { key: month, ref: (ref) => {
555
+ return (index.h(index.Host, { key: 'ac385bc586d47db0ce5aeb9eab3e7e71e71fe7cf' }, index.h("ix-date-time-card", { key: 'e1d11ba64aa8b1374c6ded705afa779a9b3966b1', corners: this.corners, embedded: this.embedded }, index.h("div", { key: 'bc99b5e074709ee8599799814a3bc7fd5ab417a5', class: "header", slot: "header" }, index.h("ix-icon-button", { key: '6bc172523c9588a3bb1d200d5113b2533117c021', onClick: () => this.changeToAdjacentMonth(-1), icon: index$1.iconChevronLeftSmall, variant: "tertiary", class: "arrows", "aria-label": this.ariaLabelPreviousMonthButton }), index.h("div", { key: 'e3505b87752b9d763ba61286f1091e67e2ee3314', class: "selector" }, index.h("ix-button", { key: 'f6740c7a4ea82875e876896ab0d311e56edf2c6d', variant: "tertiary", ref: this.dropdownButtonRef, "data-testid": "year-month-button" }, index.h("span", { key: '0cd1e04f63512e2c8798d3524c2e8cc3e719d853', class: "capitalize" }, this.monthNames[this.selectedMonth], " ", this.selectedYear)), index.h("ix-dropdown", { key: '0021b8af9b8ba6b23e9ed49ebb4edcecc55eeb26', "data-testid": "year-month-dropdown", class: "dropdown", trigger: this.dropdownButtonRef.waitForCurrent(), ignoreRelatedSubmenu: true, placement: "bottom-start" }, index.h("div", { key: 'f00cf88696bec06c49c59962d3dcb4838be3f3f2', class: "wrapper" }, index.h("div", { key: '0d6b2ca0c9a2f23a7fd1fa24cc05454da9e16af7', "data-testid": "year-container", class: "overflow", onScroll: () => this.infiniteScrollYears(), ref: this.yearContainerRef }, this.renderYears()), index.h("div", { key: 'bff068918a1f31e25f1d22b9e2f4b36e0a2affdd', class: "overflow", "data-testid": "month-container" }, this.monthNames.map((month, index$2) => (index.h("div", { key: month, ref: (ref) => {
556
556
  if (month === this.monthNames[0]) {
557
557
  this.firstMonthRef(ref);
558
558
  }
@@ -566,10 +566,10 @@ const DatePicker = class {
566
566
  hidden: this.tempYear !== this.selectedYear ||
567
567
  this.tempMonth !== index$2,
568
568
  checkPosition: true,
569
- }, name: index$1.iconSingleCheck, size: "16" }), index.h("div", null, index.h("span", { class: "capitalize monthMargin" }, `${month} ${this.tempYear}`))))))))), index.h("ix-icon-button", { key: '5f6380b580a26ca63f1285090a51affeaf667df3', onClick: () => this.changeToAdjacentMonth(1), icon: index$1.iconChevronRightSmall, variant: "tertiary", class: "arrows", "aria-label": this.ariaLabelNextMonthButton })), index.h("div", { key: '4f1c314d39956676a1cf055ac8f1bffe7f6027e7', class: {
569
+ }, name: index$1.iconSingleCheck, size: "16" }), index.h("div", null, index.h("span", { class: "capitalize monthMargin" }, `${month} ${this.tempYear}`))))))))), index.h("ix-icon-button", { key: '42af554f8f382640b60f98b68708e5cb4912bf33', onClick: () => this.changeToAdjacentMonth(1), icon: index$1.iconChevronRightSmall, variant: "tertiary", class: "arrows", "aria-label": this.ariaLabelNextMonthButton })), index.h("div", { key: '565551cf265951458d43742f5a64e1d3e8107bcc', class: {
570
570
  grid: true,
571
571
  'grid--show-week-numbers': this.showWeekNumbers,
572
- } }, this.showWeekNumbers && index.h("div", { key: '639a77b5bb12d1266145bb06777545b8807f7675', class: "calendar-item week-day" }), this.dayNames.map((name) => (index.h("div", { key: name, class: "calendar-item week-day" }, index.h("div", { class: "overflow" }, name.slice(0, 3))))), this.calendar.map((week) => {
572
+ } }, this.showWeekNumbers && index.h("div", { key: '153664ce89e84909f75d424f3af985f3c8caa22b', class: "calendar-item week-day" }), this.dayNames.map((name) => (index.h("div", { key: name, class: "calendar-item week-day" }, index.h("div", { class: "overflow" }, name.slice(0, 3))))), this.calendar.map((week) => {
573
573
  return (index.h(index.Fragment, null, this.showWeekNumbers && (index.h("div", { class: "calendar-item week-number" }, week.weekNumber)), week.dayNumbers.map((day) => {
574
574
  return day ? (index.h("div", { key: day, id: `day-cell-${day}`, "date-calender-day": true, class: this.getDayClasses(day), onClick: (e) => {
575
575
  const target = e.currentTarget;
@@ -581,10 +581,10 @@ const DatePicker = class {
581
581
  }
582
582
  }, tabIndex: day === this.focusedDay ? 0 : -1, onFocus: () => this.onDayFocus(), onBlur: () => this.onDayBlur(), "aria-label": `${this.selectedMonth}: ${day}` }, day)) : (index.h("div", null));
583
583
  })));
584
- })), index.h("div", { key: 'cabe525ef68e3a519d37a9f00684acaa70de03e7', class: {
584
+ })), index.h("div", { key: 'a3eaf5affbf21d93ac0bd2938a544e372ecee2bc', class: {
585
585
  button: true,
586
586
  hidden: this.singleSelection || this.embedded,
587
- } }, index.h("ix-button", { key: '25e5eac3ece688f38009fa3a0f15eab6fb56f3a4', onClick: () => this.onDone() }, this.i18nDone)))));
587
+ } }, index.h("ix-button", { key: 'bcbc94626760a7c8e755f4afb52f127d5b49dcd7', onClick: () => this.onDone() }, this.i18nDone)))));
588
588
  }
589
589
  get hostElement() { return index.getElement(this); }
590
590
  static get watchers() { return {
@@ -617,12 +617,12 @@ const LayoutGrid = class {
617
617
  this.columns = 12;
618
618
  }
619
619
  render() {
620
- return (index.h(index.Host, { key: '9ce5af84b9a377a949b94778ead107a441c51a78', class: {
620
+ return (index.h(index.Host, { key: '040fa69fa09d20fdbfc6ae40f85cdf70f74b3eee', class: {
621
621
  'no-margin': this.noMargin,
622
622
  }, style: {
623
623
  '--ix-layout-grid-columns': `${this.columns}`,
624
624
  '--ix-layout-grid-gutter': `${this.gap}px`,
625
- } }, index.h("slot", { key: '0c3a2747d12aa57a97b45ba478d495fcb0ab47a8' })));
625
+ } }, index.h("slot", { key: '50cae64ab0cc69aa2ffe55bfce8f069ea22b240b' })));
626
626
  }
627
627
  };
628
628
  LayoutGrid.style = layoutGridCss;
@@ -634,7 +634,7 @@ const Row = class {
634
634
  index.registerInstance(this, hostRef);
635
635
  }
636
636
  render() {
637
- return (index.h(index.Host, { key: 'e52017d7fe80956a0d68089decc17c4f8f5de360' }, index.h("slot", { key: '21a9f020f3afa15594ae029dd50643126303697c' })));
637
+ return (index.h(index.Host, { key: 'ff07b78a26aaca76105d0cf296807512620aa6e6' }, index.h("slot", { key: '46cf7e7f85f4a44831b6482df9a9b667519082f0' })));
638
638
  }
639
639
  };
640
640
  Row.style = rowCss;
@@ -3,7 +3,7 @@
3
3
  var index = require('./index-C8Xo8L1k.js');
4
4
  var index$1 = require('./index-Dyz3z1FD.js');
5
5
  var datetime = require('./datetime-Dvtv5O8f.js');
6
- var input_util = require('./input.util-4AhBphgX.js');
6
+ var input_fc = require('./input.fc-B5JMSZbY.js');
7
7
  var validation = require('./validation-CfL71_0d.js');
8
8
  var makeRef = require('./make-ref-BaH6_YJk.js');
9
9
  var pickerInput_util = require('./picker-input.util-DJNAVluZ.js');
@@ -90,6 +90,15 @@ const DateInput = class {
90
90
  * E.g. if the locale is en-us, weekStartIndex = 1 results in starting the week on monday.
91
91
  */
92
92
  this.weekStartIndex = 0;
93
+ /**
94
+ * If false, pressing Enter will submit the form (if inside a form).
95
+ * Set to true to suppress submit on Enter.
96
+ */
97
+ this.suppressSubmitOnEnter = false;
98
+ /**
99
+ * Text alignment within the date input. 'start' aligns the text to the start of the input, 'end' aligns the text to the end of the input.
100
+ */
101
+ this.textAlignment = 'start';
93
102
  this.show = false;
94
103
  this.from = null;
95
104
  this.isInputInvalid = false;
@@ -120,7 +129,7 @@ const DateInput = class {
120
129
  connectedCallback() {
121
130
  this.classObserver = validation.createClassMutationObserver(this.hostElement, () => this.checkClassList());
122
131
  this.disposableChangesAndVisibilityObservers =
123
- input_util.addDisposableChangesAndVisibilityObservers(this.hostElement, this.updatePaddings.bind(this));
132
+ input_fc.addDisposableChangesAndVisibilityObservers(this.hostElement, this.updatePaddings.bind(this));
124
133
  }
125
134
  componentWillLoad() {
126
135
  this.onInput(this.value);
@@ -134,7 +143,7 @@ const DateInput = class {
134
143
  this.updateFormInternalValue(this.value);
135
144
  }
136
145
  updatePaddings() {
137
- input_util.adjustPaddingForStartAndEnd(this.slotStartRef.current, this.slotEndRef.current, this.inputElementRef.current);
146
+ input_fc.adjustPaddingForStartAndEnd(this.slotStartRef.current, this.slotEndRef.current, this.inputElementRef.current);
138
147
  }
139
148
  disconnectedCallback() {
140
149
  var _a, _b;
@@ -187,9 +196,12 @@ const DateInput = class {
187
196
  checkClassList() {
188
197
  this.isInvalid = this.hostElement.classList.contains('ix-invalid');
189
198
  }
199
+ handleInputKeyDown(event) {
200
+ input_fc.handleSubmitOnEnterKeydown(event, this.suppressSubmitOnEnter, this.formInternals.form);
201
+ }
190
202
  renderInput() {
191
203
  var _a;
192
- return (index.h("div", { class: "input-wrapper" }, index.h(input_util.SlotStart, { slotStartRef: this.slotStartRef, onSlotChange: () => this.updatePaddings() }), index.h("input", { autoComplete: "off", class: {
204
+ return (index.h("div", { class: "input-wrapper" }, index.h(input_fc.SlotStart, { slotStartRef: this.slotStartRef, onSlotChange: () => this.updatePaddings() }), index.h("input", { autoComplete: "off", class: {
193
205
  'is-invalid': this.isInputInvalid,
194
206
  }, disabled: this.disabled, readOnly: this.readonly, readonly: this.readonly, required: this.required, ref: this.inputElementRef, type: "text", value: (_a = this.value) !== null && _a !== void 0 ? _a : '', placeholder: this.placeholder, name: this.name, onInput: (event) => {
195
207
  const target = event.target;
@@ -205,7 +217,9 @@ const DateInput = class {
205
217
  }, onBlur: () => {
206
218
  this.ixBlur.emit();
207
219
  this.touched = true;
208
- } }), index.h(input_util.SlotEnd, { slotEndRef: this.slotEndRef, onSlotChange: () => this.updatePaddings() }, index.h("ix-icon-button", { "data-testid": "open-calendar", class: { 'calendar-hidden': this.disabled || this.readonly }, variant: "subtle-tertiary", icon: index$1.iconCalendar, onClick: (event) => this.onCalenderClick(event), "aria-label": this.ariaLabelCalendarButton }))));
220
+ }, onKeyDown: (event) => this.handleInputKeyDown(event), style: {
221
+ textAlign: this.textAlignment,
222
+ } }), index.h(input_fc.SlotEnd, { slotEndRef: this.slotEndRef, onSlotChange: () => this.updatePaddings() }, index.h("ix-icon-button", { "data-testid": "open-calendar", class: { 'calendar-hidden': this.disabled || this.readonly }, variant: "subtle-tertiary", icon: index$1.iconCalendar, onClick: (event) => this.onCalenderClick(event), "aria-label": this.ariaLabelCalendarButton }))));
209
223
  }
210
224
  hookValidationLifecycle({ isInfo, isInvalid, isInvalidByRequired, isValid, isWarning, }) {
211
225
  this.isInvalid = isInvalid || isInvalidByRequired || this.isInputInvalid;
@@ -248,12 +262,12 @@ const DateInput = class {
248
262
  const invalidText = this.isInputInvalid
249
263
  ? this.i18nErrorDateUnparsable
250
264
  : this.invalidText;
251
- return (index.h(index.Host, { key: '33f5063a7f848dfe2666c0c03420c577e29da00c', class: {
265
+ return (index.h(index.Host, { key: '011a0643000de99532a82efcecdcc48d20a817e1', class: {
252
266
  disabled: this.disabled,
253
267
  readonly: this.readonly,
254
- } }, index.h("ix-field-wrapper", { key: '703e6fc7546f7fb0087ef593f365b10c6b30eb2b', label: this.label, helperText: this.helperText, isInvalid: this.isInvalid, invalidText: invalidText, infoText: this.infoText, isInfo: this.isInfo, isWarning: this.isWarning, warningText: this.warningText, isValid: this.isValid, validText: this.validText, showTextAsTooltip: this.showTextAsTooltip, required: this.required, controlRef: this.inputElementRef }, this.renderInput()), index.h("ix-dropdown", { key: '1bbe34f940ebe260e73f145be770f624a023644e', "data-testid": "date-dropdown", trigger: this.inputElementRef.waitForCurrent(), ref: this.dropdownElementRef, closeBehavior: "outside", suppressOverflowBehavior: true, show: this.show, onShowChanged: (event) => {
268
+ } }, index.h("ix-field-wrapper", { key: '08411e49b366d385cb96355bd4bd869d70bcee34', label: this.label, helperText: this.helperText, isInvalid: this.isInvalid, invalidText: invalidText, infoText: this.infoText, isInfo: this.isInfo, isWarning: this.isWarning, warningText: this.warningText, isValid: this.isValid, validText: this.validText, showTextAsTooltip: this.showTextAsTooltip, required: this.required, controlRef: this.inputElementRef }, this.renderInput()), index.h("ix-dropdown", { key: 'b471b5b81f4b4ad45a9403d54be147658f3b3e42', "data-testid": "date-dropdown", trigger: this.inputElementRef.waitForCurrent(), ref: this.dropdownElementRef, closeBehavior: "outside", suppressOverflowBehavior: true, show: this.show, onShowChanged: (event) => {
255
269
  this.show = event.detail;
256
- } }, index.h("ix-date-picker", { key: 'c9b60191ec638e2aacef51bf9973622dfbce5424', ref: this.datepickerRef, format: this.format, locale: this.locale, singleSelection: true, from: (_a = this.from) !== null && _a !== void 0 ? _a : '', minDate: this.minDate, maxDate: this.maxDate, onDateChange: (event) => {
270
+ } }, index.h("ix-date-picker", { key: '24ca8c4f0301ec042f13401e80463e85aa8a5d44', ref: this.datepickerRef, format: this.format, locale: this.locale, singleSelection: true, from: (_a = this.from) !== null && _a !== void 0 ? _a : '', minDate: this.minDate, maxDate: this.maxDate, onDateChange: (event) => {
257
271
  const { from } = event.detail;
258
272
  this.onInput(from);
259
273
  }, showWeekNumbers: this.showWeekNumbers, ariaLabelNextMonthButton: this.ariaLabelNextMonthButton, ariaLabelPreviousMonthButton: this.ariaLabelPreviousMonthButton, embedded: true }))));
@@ -1 +1 @@
1
- {"version":3,"file":"ix-date-input.entry.cjs.js","sources":["src/components/date-input/date-input.scss?tag=ix-date-input&encapsulation=shadow","src/components/date-input/date-input.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n@use 'mixins/shadow-dom/component';\n@use 'mixins/input';\n@use './../input/input.mixins.scss' as input-mixins;\n\n@include input-mixins.input-field;\n\n:host {\n display: inline-block;\n position: relative;\n\n @include component.ix-component;\n\n input {\n width: 100%;\n height: 100%;\n }\n\n .calendar-hidden {\n display: none;\n }\n}\n\n:host(.readonly) {\n input {\n pointer-events: none;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { iconCalendar } from '@siemens/ix-icons/icons';\nimport {\n AttachInternals,\n Component,\n Element,\n Event,\n EventEmitter,\n Host,\n Method,\n Prop,\n State,\n Watch,\n h,\n} from '@stencil/core';\nimport { DateTime } from 'luxon';\nimport { SlotEnd, SlotStart } from '../input/input.fc';\nimport {\n DisposableChangesAndVisibilityObservers,\n addDisposableChangesAndVisibilityObservers,\n adjustPaddingForStartAndEnd,\n} from '../input/input.util';\nimport {\n ClassMutationObserver,\n HookValidationLifecycle,\n IxInputFieldComponent,\n ValidationResults,\n createClassMutationObserver,\n} from '../utils/input';\nimport { makeRef } from '../utils/make-ref';\nimport type { DateInputValidityState } from './date-input.types';\nimport {\n closeDropdown as closeDropdownUtil,\n createValidityState,\n handleIconClick,\n openDropdown as openDropdownUtil,\n} from '../utils/input/picker-input.util';\n\n/**\n * @form-ready\n *\n * @slot start - Element will be displayed at the start of the input\n * @slot end - Element will be displayed at the end of the input\n */\n@Component({\n tag: 'ix-date-input',\n styleUrl: 'date-input.scss',\n shadow: true,\n formAssociated: true,\n})\nexport class DateInput implements IxInputFieldComponent<string | undefined> {\n @Element() hostElement!: HTMLIxDateInputElement;\n @AttachInternals() formInternals!: ElementInternals;\n\n /**\n * Name of the input element\n */\n @Prop({ reflect: true }) name?: string;\n\n /**\n * Placeholder of the input element\n */\n @Prop({ reflect: true }) placeholder?: string;\n\n /**\n * Value of the input element\n */\n @Prop({ reflect: true, mutable: true }) value?: string = '';\n\n @Watch('value') watchValuePropHandler(newValue: string) {\n this.onInput(newValue);\n }\n\n /**\n * The earliest date that can be selected by the date input/picker.\n * If not set there will be no restriction.\n */\n @Prop() minDate = '';\n\n /**\n * The latest date that can be selected by the date input/picker.\n * If not set there will be no restriction.\n */\n @Prop() maxDate = '';\n\n /**\n * Locale identifier (e.g. 'en' or 'de').\n * The locale is used to translate the labels for weekdays and months.\n * It also determines the default order of weekdays based on the locale's conventions.\n * When the locale changes, the weekday labels are rotated according to the `weekStartIndex`.\n * It does not affect the values returned by methods and events.\n */\n @Prop() locale?: string;\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: string = 'yyyy/LL/dd';\n\n /**\n * Required attribute\n */\n @Prop() required?: boolean;\n\n /**\n * Helper text below the input field\n */\n @Prop() helperText?: string;\n\n /**\n * Label of the input field\n */\n @Prop() label?: string;\n\n /**\n * ARIA label for the calendar icon button\n * Will be set as aria-label on the nested HTML button element\n *\n * @since 3.2.0\n */\n @Prop() ariaLabelCalendarButton?: string;\n\n /**\n * Error text below the input field\n */\n @Prop({ reflect: true }) invalidText?: string;\n\n /**\n * Readonly attribute\n */\n @Prop() readonly: boolean = false;\n\n /**\n * Disabled attribute\n */\n @Prop() disabled: boolean = false;\n\n /**\n * Info text below the input field\n */\n @Prop() infoText?: string;\n\n /**\n * Warning text below the input field\n */\n @Prop() warningText?: string;\n\n /**\n * Valid text below the input field\n */\n @Prop() validText?: string;\n\n /**\n * Show text as tooltip\n */\n @Prop() showTextAsTooltip?: boolean;\n\n /**\n * I18n string for the error message when the date is not parsable\n */\n @Prop({ attribute: 'i18n-error-date-unparsable' }) i18nErrorDateUnparsable =\n 'Date is not valid';\n\n /**\n * Shows week numbers displayed on the left side of the date picker\n *\n * @since 3.0.0\n */\n @Prop() showWeekNumbers = false;\n\n /**\n * The index of which day to start the week on, based on the Locale#weekdays array.\n * E.g. if the locale is en-us, weekStartIndex = 1 results in starting the week on monday.\n */\n @Prop() weekStartIndex = 0;\n\n /**\n * ARIA label for the previous month icon button\n * Will be set as aria-label on the nested HTML button element\n */\n @Prop() ariaLabelPreviousMonthButton?: string;\n\n /**\n * ARIA label for the next month icon button\n * Will be set as aria-label on the nested HTML button element\n */\n @Prop() ariaLabelNextMonthButton?: string;\n\n /**\n * Input change event.\n */\n @Event({ cancelable: false }) valueChange!: EventEmitter<string | undefined>;\n\n /**\n * Validation state change event.\n */\n @Event() validityStateChange!: EventEmitter<DateInputValidityState>;\n\n /** @internal */\n @Event() ixFocus!: EventEmitter<void>;\n\n /** @internal */\n @Event() ixBlur!: EventEmitter<void>;\n\n @State() show = false;\n @State() from?: string | null = null;\n @State() isInputInvalid = false;\n @State() isInvalid = false;\n @State() isValid = false;\n @State() isInfo = false;\n @State() isWarning = false;\n @State() focus = false;\n\n private readonly slotStartRef = makeRef<HTMLDivElement>();\n private readonly slotEndRef = makeRef<HTMLDivElement>();\n\n private readonly datepickerRef = makeRef<HTMLIxDatePickerElement>();\n\n private readonly inputElementRef = makeRef<HTMLInputElement>();\n private readonly dropdownElementRef = makeRef<HTMLIxDropdownElement>();\n private classObserver?: ClassMutationObserver;\n private invalidReason?: string;\n private touched = false;\n\n private disposableChangesAndVisibilityObservers?: DisposableChangesAndVisibilityObservers;\n\n updateFormInternalValue(value: string | undefined): void {\n if (value) {\n this.formInternals.setFormValue(value);\n } else {\n this.formInternals.setFormValue(null);\n }\n this.value = value;\n }\n\n connectedCallback(): void {\n this.classObserver = createClassMutationObserver(this.hostElement, () =>\n this.checkClassList()\n );\n\n this.disposableChangesAndVisibilityObservers =\n addDisposableChangesAndVisibilityObservers(\n this.hostElement,\n this.updatePaddings.bind(this)\n );\n }\n\n componentWillLoad(): void {\n this.onInput(this.value);\n if (this.isInputInvalid) {\n this.from = null;\n } else {\n this.watchValue();\n }\n\n this.checkClassList();\n this.updateFormInternalValue(this.value);\n }\n\n private updatePaddings() {\n adjustPaddingForStartAndEnd(\n this.slotStartRef.current,\n this.slotEndRef.current,\n this.inputElementRef.current\n );\n }\n\n disconnectedCallback(): void {\n this.classObserver?.destroy();\n this.disposableChangesAndVisibilityObservers?.();\n }\n\n @Watch('value')\n watchValue() {\n this.from = this.value;\n }\n\n /** @internal */\n @Method()\n hasValidValue(): Promise<boolean> {\n return Promise.resolve(!!this.value);\n }\n\n /** @internal */\n @Method()\n getAssociatedFormElement(): Promise<HTMLFormElement | null> {\n return Promise.resolve(this.formInternals.form);\n }\n\n async onInput(value: string | undefined) {\n this.value = value;\n if (!value) {\n this.valueChange.emit(value);\n return;\n }\n\n if (!this.format) {\n return;\n }\n\n const date = DateTime.fromFormat(value, this.format);\n const minDate = DateTime.fromFormat(this.minDate, this.format);\n const maxDate = DateTime.fromFormat(this.maxDate, this.format);\n\n this.isInputInvalid = !date.isValid || date < minDate || date > maxDate;\n\n if (this.isInputInvalid) {\n this.invalidReason = date.invalidReason || undefined;\n this.from = undefined;\n } else {\n this.updateFormInternalValue(value);\n this.closeDropdown();\n }\n\n this.valueChange.emit(value);\n }\n\n onCalenderClick(event: Event) {\n handleIconClick(\n event,\n this.show,\n () => this.openDropdown(),\n this.inputElementRef\n );\n }\n\n async openDropdown() {\n return openDropdownUtil(this.dropdownElementRef);\n }\n\n async closeDropdown() {\n return closeDropdownUtil(this.dropdownElementRef);\n }\n\n private checkClassList() {\n this.isInvalid = this.hostElement.classList.contains('ix-invalid');\n }\n\n private renderInput() {\n return (\n <div class=\"input-wrapper\">\n <SlotStart\n slotStartRef={this.slotStartRef}\n onSlotChange={() => this.updatePaddings()}\n ></SlotStart>\n <input\n autoComplete=\"off\"\n class={{\n 'is-invalid': this.isInputInvalid,\n }}\n disabled={this.disabled}\n readOnly={this.readonly}\n readonly={this.readonly}\n required={this.required}\n ref={this.inputElementRef}\n type=\"text\"\n value={this.value ?? ''}\n placeholder={this.placeholder}\n name={this.name}\n onInput={(event) => {\n const target = event.target as HTMLInputElement;\n this.onInput(target.value);\n }}\n onClick={(event) => {\n if (this.show) {\n event.stopPropagation();\n event.preventDefault();\n }\n }}\n onFocus={async () => {\n this.openDropdown();\n this.ixFocus.emit();\n }}\n onBlur={() => {\n this.ixBlur.emit();\n this.touched = true;\n }}\n ></input>\n <SlotEnd\n slotEndRef={this.slotEndRef}\n onSlotChange={() => this.updatePaddings()}\n >\n <ix-icon-button\n data-testid=\"open-calendar\"\n class={{ 'calendar-hidden': this.disabled || this.readonly }}\n variant=\"subtle-tertiary\"\n icon={iconCalendar}\n onClick={(event) => this.onCalenderClick(event)}\n aria-label={this.ariaLabelCalendarButton}\n ></ix-icon-button>\n </SlotEnd>\n </div>\n );\n }\n\n @HookValidationLifecycle()\n hookValidationLifecycle({\n isInfo,\n isInvalid,\n isInvalidByRequired,\n isValid,\n isWarning,\n }: ValidationResults) {\n this.isInvalid = isInvalid || isInvalidByRequired || this.isInputInvalid;\n this.isInfo = isInfo;\n this.isValid = isValid;\n this.isWarning = isWarning;\n }\n\n @Watch('isInputInvalid')\n async onInputValidationChange() {\n const state = await this.getValidityState();\n this.validityStateChange.emit({\n patternMismatch: state.patternMismatch,\n invalidReason: this.invalidReason,\n });\n }\n\n /** @internal */\n @Method()\n getValidityState(): Promise<ValidityState> {\n return Promise.resolve(\n createValidityState(this.isInputInvalid, !!this.required, this.value)\n );\n }\n\n /**\n * Get the native input element\n */\n @Method()\n getNativeInputElement(): Promise<HTMLInputElement> {\n return this.inputElementRef.waitForCurrent();\n }\n\n /**\n * Focuses the input field\n */\n @Method()\n async focusInput(): Promise<void> {\n return (await this.getNativeInputElement()).focus();\n }\n\n /**\n * Returns whether the text field has been touched.\n * @internal\n */\n @Method()\n isTouched(): Promise<boolean> {\n return Promise.resolve(this.touched);\n }\n\n render() {\n const invalidText = this.isInputInvalid\n ? this.i18nErrorDateUnparsable\n : this.invalidText;\n\n return (\n <Host\n class={{\n disabled: this.disabled,\n readonly: this.readonly,\n }}\n >\n <ix-field-wrapper\n label={this.label}\n helperText={this.helperText}\n isInvalid={this.isInvalid}\n invalidText={invalidText}\n infoText={this.infoText}\n isInfo={this.isInfo}\n isWarning={this.isWarning}\n warningText={this.warningText}\n isValid={this.isValid}\n validText={this.validText}\n showTextAsTooltip={this.showTextAsTooltip}\n required={this.required}\n controlRef={this.inputElementRef}\n >\n {this.renderInput()}\n </ix-field-wrapper>\n <ix-dropdown\n data-testid=\"date-dropdown\"\n trigger={this.inputElementRef.waitForCurrent()}\n ref={this.dropdownElementRef}\n closeBehavior=\"outside\"\n suppressOverflowBehavior={true}\n show={this.show}\n onShowChanged={(event) => {\n this.show = event.detail;\n }}\n >\n <ix-date-picker\n ref={this.datepickerRef}\n format={this.format}\n locale={this.locale}\n singleSelection\n from={this.from ?? ''}\n minDate={this.minDate}\n maxDate={this.maxDate}\n onDateChange={(event) => {\n const { from } = event.detail;\n this.onInput(from);\n }}\n showWeekNumbers={this.showWeekNumbers}\n ariaLabelNextMonthButton={this.ariaLabelNextMonthButton}\n ariaLabelPreviousMonthButton={this.ariaLabelPreviousMonthButton}\n embedded\n ></ix-date-picker>\n </ix-dropdown>\n </Host>\n );\n }\n}\n"],"names":["makeRef","createClassMutationObserver","addDisposableChangesAndVisibilityObservers","adjustPaddingForStartAndEnd","DateTime","handleIconClick","openDropdownUtil","closeDropdownUtil","h","SlotStart","SlotEnd","iconCalendar","createValidityState","Host","HookValidationLifecycle"],"mappings":";;;;;;;;;;;;;;;;AAAA,MAAM,YAAY,GAAG,4ieAA4ie;;ACAjke;;;;;;;AAOG;;;;;;;;;;;MAmDU,SAAS,GAAA,MAAA;AANtB,IAAA,WAAA,CAAA,OAAA,EAAA;;;;;;;;;;;;;AAoBE;;AAEG;AACqC,QAAA,IAAK,CAAA,KAAA,GAAY,EAAE;AAM3D;;;AAGG;AACK,QAAA,IAAO,CAAA,OAAA,GAAG,EAAE;AAEpB;;;AAGG;AACK,QAAA,IAAO,CAAA,OAAA,GAAG,EAAE;AAWpB;;;AAGG;AACK,QAAA,IAAM,CAAA,MAAA,GAAW,YAAY;AA8BrC;;AAEG;AACK,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;AAEjC;;AAEG;AACK,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;AAsBjC;;AAEG;AACgD,QAAA,IAAuB,CAAA,uBAAA,GACxE,mBAAmB;AAErB;;;;AAIG;AACK,QAAA,IAAe,CAAA,eAAA,GAAG,KAAK;AAE/B;;;AAGG;AACK,QAAA,IAAc,CAAA,cAAA,GAAG,CAAC;AA8BjB,QAAA,IAAI,CAAA,IAAA,GAAG,KAAK;AACZ,QAAA,IAAI,CAAA,IAAA,GAAmB,IAAI;AAC3B,QAAA,IAAc,CAAA,cAAA,GAAG,KAAK;AACtB,QAAA,IAAS,CAAA,SAAA,GAAG,KAAK;AACjB,QAAA,IAAO,CAAA,OAAA,GAAG,KAAK;AACf,QAAA,IAAM,CAAA,MAAA,GAAG,KAAK;AACd,QAAA,IAAS,CAAA,SAAA,GAAG,KAAK;AACjB,QAAA,IAAK,CAAA,KAAA,GAAG,KAAK;AAEL,QAAA,IAAY,CAAA,YAA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AAM,EAAE,IAAI,CAAC,MAAM,EACnB,eAAe,EACf,IAAA,EAAA,IAAI,EAAE,CAAA,EAAA,GAAA,IAAI,CAAC,IAAI,mCAAI,EAAE,EACrB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,YAAY,EAAE,CAAC,KAAK,KAAI;AACtB,gBAAA,MAAM,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC,MAAM;AAC7B,gBAAA,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC;aACnB,EACD,eAAe,EAAE,IAAI,CAAC,eAAe,EACrC,wBAAwB,EAAE,IAAI,CAAC,wBAAwB,EACvD,4BAA4B,EAAE,IAAI,CAAC,4BAA4B,EAC/D,QAAQ,EACQ,IAAA,EAAA,CAAA,CACN,CACT;;;;;;;;;AAjHX,UAAA,CAAA;AADC,IAAAM,kCAAuB;CAYvB,EAAA,SAAA,CAAA,SAAA,EAAA,yBAAA,EAAA,IAAA,CAAA;;;;;"}
1
+ {"version":3,"file":"ix-date-input.entry.cjs.js","sources":["src/components/date-input/date-input.scss?tag=ix-date-input&encapsulation=shadow","src/components/date-input/date-input.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n@use 'mixins/shadow-dom/component';\n@use 'mixins/input';\n@use './../input/input.mixins.scss' as input-mixins;\n\n@include input-mixins.input-field;\n\n:host {\n display: inline-block;\n position: relative;\n\n @include component.ix-component;\n\n input {\n width: 100%;\n height: 100%;\n }\n\n .calendar-hidden {\n display: none;\n }\n}\n\n:host(.readonly) {\n input {\n pointer-events: none;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { iconCalendar } from '@siemens/ix-icons/icons';\nimport {\n AttachInternals,\n Component,\n Element,\n Event,\n EventEmitter,\n Host,\n Method,\n Prop,\n State,\n Watch,\n h,\n} from '@stencil/core';\nimport { DateTime } from 'luxon';\nimport { SlotEnd, SlotStart } from '../input/input.fc';\nimport {\n DisposableChangesAndVisibilityObservers,\n addDisposableChangesAndVisibilityObservers,\n adjustPaddingForStartAndEnd,\n handleSubmitOnEnterKeydown,\n} from '../input/input.util';\nimport {\n ClassMutationObserver,\n HookValidationLifecycle,\n IxInputFieldComponent,\n ValidationResults,\n createClassMutationObserver,\n} from '../utils/input';\nimport { makeRef } from '../utils/make-ref';\nimport type { DateInputValidityState } from './date-input.types';\nimport {\n closeDropdown as closeDropdownUtil,\n createValidityState,\n handleIconClick,\n openDropdown as openDropdownUtil,\n} from '../utils/input/picker-input.util';\n\n/**\n * @form-ready\n *\n * @slot start - Element will be displayed at the start of the input\n * @slot end - Element will be displayed at the end of the input\n */\n@Component({\n tag: 'ix-date-input',\n styleUrl: 'date-input.scss',\n shadow: true,\n formAssociated: true,\n})\nexport class DateInput implements IxInputFieldComponent<string | undefined> {\n @Element() hostElement!: HTMLIxDateInputElement;\n @AttachInternals() formInternals!: ElementInternals;\n\n /**\n * Name of the input element\n */\n @Prop({ reflect: true }) name?: string;\n\n /**\n * Placeholder of the input element\n */\n @Prop({ reflect: true }) placeholder?: string;\n\n /**\n * Value of the input element\n */\n @Prop({ reflect: true, mutable: true }) value?: string = '';\n\n @Watch('value') watchValuePropHandler(newValue: string) {\n this.onInput(newValue);\n }\n\n /**\n * The earliest date that can be selected by the date input/picker.\n * If not set there will be no restriction.\n */\n @Prop() minDate = '';\n\n /**\n * The latest date that can be selected by the date input/picker.\n * If not set there will be no restriction.\n */\n @Prop() maxDate = '';\n\n /**\n * Locale identifier (e.g. 'en' or 'de').\n * The locale is used to translate the labels for weekdays and months.\n * It also determines the default order of weekdays based on the locale's conventions.\n * When the locale changes, the weekday labels are rotated according to the `weekStartIndex`.\n * It does not affect the values returned by methods and events.\n */\n @Prop() locale?: string;\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: string = 'yyyy/LL/dd';\n\n /**\n * Required attribute\n */\n @Prop() required?: boolean;\n\n /**\n * Helper text below the input field\n */\n @Prop() helperText?: string;\n\n /**\n * Label of the input field\n */\n @Prop() label?: string;\n\n /**\n * ARIA label for the calendar icon button\n * Will be set as aria-label on the nested HTML button element\n *\n * @since 3.2.0\n */\n @Prop() ariaLabelCalendarButton?: string;\n\n /**\n * Error text below the input field\n */\n @Prop({ reflect: true }) invalidText?: string;\n\n /**\n * Readonly attribute\n */\n @Prop() readonly: boolean = false;\n\n /**\n * Disabled attribute\n */\n @Prop() disabled: boolean = false;\n\n /**\n * Info text below the input field\n */\n @Prop() infoText?: string;\n\n /**\n * Warning text below the input field\n */\n @Prop() warningText?: string;\n\n /**\n * Valid text below the input field\n */\n @Prop() validText?: string;\n\n /**\n * Show text as tooltip\n */\n @Prop() showTextAsTooltip?: boolean;\n\n /**\n * I18n string for the error message when the date is not parsable\n */\n @Prop({ attribute: 'i18n-error-date-unparsable' }) i18nErrorDateUnparsable =\n 'Date is not valid';\n\n /**\n * Shows week numbers displayed on the left side of the date picker\n *\n * @since 3.0.0\n */\n @Prop() showWeekNumbers = false;\n\n /**\n * The index of which day to start the week on, based on the Locale#weekdays array.\n * E.g. if the locale is en-us, weekStartIndex = 1 results in starting the week on monday.\n */\n @Prop() weekStartIndex = 0;\n\n /**\n * ARIA label for the previous month icon button\n * Will be set as aria-label on the nested HTML button element\n */\n @Prop() ariaLabelPreviousMonthButton?: string;\n\n /**\n * ARIA label for the next month icon button\n * Will be set as aria-label on the nested HTML button element\n */\n @Prop() ariaLabelNextMonthButton?: string;\n\n /**\n * If false, pressing Enter will submit the form (if inside a form).\n * Set to true to suppress submit on Enter.\n */\n @Prop({ reflect: true }) suppressSubmitOnEnter: boolean = false;\n\n /**\n * Text alignment within the date input. 'start' aligns the text to the start of the input, 'end' aligns the text to the end of the input.\n */\n @Prop() textAlignment: 'start' | 'end' = 'start';\n\n /**\n * Input change event.\n */\n @Event({ cancelable: false }) valueChange!: EventEmitter<string | undefined>;\n\n /**\n * Validation state change event.\n */\n @Event() validityStateChange!: EventEmitter<DateInputValidityState>;\n\n /** @internal */\n @Event() ixFocus!: EventEmitter<void>;\n\n /** @internal */\n @Event() ixBlur!: EventEmitter<void>;\n\n @State() show = false;\n @State() from?: string | null = null;\n @State() isInputInvalid = false;\n @State() isInvalid = false;\n @State() isValid = false;\n @State() isInfo = false;\n @State() isWarning = false;\n @State() focus = false;\n\n private readonly slotStartRef = makeRef<HTMLDivElement>();\n private readonly slotEndRef = makeRef<HTMLDivElement>();\n\n private readonly datepickerRef = makeRef<HTMLIxDatePickerElement>();\n\n private readonly inputElementRef = makeRef<HTMLInputElement>();\n private readonly dropdownElementRef = makeRef<HTMLIxDropdownElement>();\n private classObserver?: ClassMutationObserver;\n private invalidReason?: string;\n private touched = false;\n\n private disposableChangesAndVisibilityObservers?: DisposableChangesAndVisibilityObservers;\n\n updateFormInternalValue(value: string | undefined): void {\n if (value) {\n this.formInternals.setFormValue(value);\n } else {\n this.formInternals.setFormValue(null);\n }\n this.value = value;\n }\n\n connectedCallback(): void {\n this.classObserver = createClassMutationObserver(this.hostElement, () =>\n this.checkClassList()\n );\n\n this.disposableChangesAndVisibilityObservers =\n addDisposableChangesAndVisibilityObservers(\n this.hostElement,\n this.updatePaddings.bind(this)\n );\n }\n\n componentWillLoad(): void {\n this.onInput(this.value);\n if (this.isInputInvalid) {\n this.from = null;\n } else {\n this.watchValue();\n }\n\n this.checkClassList();\n this.updateFormInternalValue(this.value);\n }\n\n private updatePaddings() {\n adjustPaddingForStartAndEnd(\n this.slotStartRef.current,\n this.slotEndRef.current,\n this.inputElementRef.current\n );\n }\n\n disconnectedCallback(): void {\n this.classObserver?.destroy();\n this.disposableChangesAndVisibilityObservers?.();\n }\n\n @Watch('value')\n watchValue() {\n this.from = this.value;\n }\n\n /** @internal */\n @Method()\n hasValidValue(): Promise<boolean> {\n return Promise.resolve(!!this.value);\n }\n\n /** @internal */\n @Method()\n getAssociatedFormElement(): Promise<HTMLFormElement | null> {\n return Promise.resolve(this.formInternals.form);\n }\n\n async onInput(value: string | undefined) {\n this.value = value;\n if (!value) {\n this.valueChange.emit(value);\n return;\n }\n\n if (!this.format) {\n return;\n }\n\n const date = DateTime.fromFormat(value, this.format);\n const minDate = DateTime.fromFormat(this.minDate, this.format);\n const maxDate = DateTime.fromFormat(this.maxDate, this.format);\n\n this.isInputInvalid = !date.isValid || date < minDate || date > maxDate;\n\n if (this.isInputInvalid) {\n this.invalidReason = date.invalidReason || undefined;\n this.from = undefined;\n } else {\n this.updateFormInternalValue(value);\n this.closeDropdown();\n }\n\n this.valueChange.emit(value);\n }\n\n onCalenderClick(event: Event) {\n handleIconClick(\n event,\n this.show,\n () => this.openDropdown(),\n this.inputElementRef\n );\n }\n\n async openDropdown() {\n return openDropdownUtil(this.dropdownElementRef);\n }\n\n async closeDropdown() {\n return closeDropdownUtil(this.dropdownElementRef);\n }\n\n private checkClassList() {\n this.isInvalid = this.hostElement.classList.contains('ix-invalid');\n }\n\n private handleInputKeyDown(event: KeyboardEvent) {\n handleSubmitOnEnterKeydown(\n event,\n this.suppressSubmitOnEnter,\n this.formInternals.form\n );\n }\n\n private renderInput() {\n return (\n <div class=\"input-wrapper\">\n <SlotStart\n slotStartRef={this.slotStartRef}\n onSlotChange={() => this.updatePaddings()}\n ></SlotStart>\n <input\n autoComplete=\"off\"\n class={{\n 'is-invalid': this.isInputInvalid,\n }}\n disabled={this.disabled}\n readOnly={this.readonly}\n readonly={this.readonly}\n required={this.required}\n ref={this.inputElementRef}\n type=\"text\"\n value={this.value ?? ''}\n placeholder={this.placeholder}\n name={this.name}\n onInput={(event) => {\n const target = event.target as HTMLInputElement;\n this.onInput(target.value);\n }}\n onClick={(event) => {\n if (this.show) {\n event.stopPropagation();\n event.preventDefault();\n }\n }}\n onFocus={async () => {\n this.openDropdown();\n this.ixFocus.emit();\n }}\n onBlur={() => {\n this.ixBlur.emit();\n this.touched = true;\n }}\n onKeyDown={(event) => this.handleInputKeyDown(event)}\n style={{\n textAlign: this.textAlignment,\n }}\n ></input>\n <SlotEnd\n slotEndRef={this.slotEndRef}\n onSlotChange={() => this.updatePaddings()}\n >\n <ix-icon-button\n data-testid=\"open-calendar\"\n class={{ 'calendar-hidden': this.disabled || this.readonly }}\n variant=\"subtle-tertiary\"\n icon={iconCalendar}\n onClick={(event) => this.onCalenderClick(event)}\n aria-label={this.ariaLabelCalendarButton}\n ></ix-icon-button>\n </SlotEnd>\n </div>\n );\n }\n\n @HookValidationLifecycle()\n hookValidationLifecycle({\n isInfo,\n isInvalid,\n isInvalidByRequired,\n isValid,\n isWarning,\n }: ValidationResults) {\n this.isInvalid = isInvalid || isInvalidByRequired || this.isInputInvalid;\n this.isInfo = isInfo;\n this.isValid = isValid;\n this.isWarning = isWarning;\n }\n\n @Watch('isInputInvalid')\n async onInputValidationChange() {\n const state = await this.getValidityState();\n this.validityStateChange.emit({\n patternMismatch: state.patternMismatch,\n invalidReason: this.invalidReason,\n });\n }\n\n /** @internal */\n @Method()\n getValidityState(): Promise<ValidityState> {\n return Promise.resolve(\n createValidityState(this.isInputInvalid, !!this.required, this.value)\n );\n }\n\n /**\n * Get the native input element\n */\n @Method()\n getNativeInputElement(): Promise<HTMLInputElement> {\n return this.inputElementRef.waitForCurrent();\n }\n\n /**\n * Focuses the input field\n */\n @Method()\n async focusInput(): Promise<void> {\n return (await this.getNativeInputElement()).focus();\n }\n\n /**\n * Returns whether the text field has been touched.\n * @internal\n */\n @Method()\n isTouched(): Promise<boolean> {\n return Promise.resolve(this.touched);\n }\n\n render() {\n const invalidText = this.isInputInvalid\n ? this.i18nErrorDateUnparsable\n : this.invalidText;\n\n return (\n <Host\n class={{\n disabled: this.disabled,\n readonly: this.readonly,\n }}\n >\n <ix-field-wrapper\n label={this.label}\n helperText={this.helperText}\n isInvalid={this.isInvalid}\n invalidText={invalidText}\n infoText={this.infoText}\n isInfo={this.isInfo}\n isWarning={this.isWarning}\n warningText={this.warningText}\n isValid={this.isValid}\n validText={this.validText}\n showTextAsTooltip={this.showTextAsTooltip}\n required={this.required}\n controlRef={this.inputElementRef}\n >\n {this.renderInput()}\n </ix-field-wrapper>\n <ix-dropdown\n data-testid=\"date-dropdown\"\n trigger={this.inputElementRef.waitForCurrent()}\n ref={this.dropdownElementRef}\n closeBehavior=\"outside\"\n suppressOverflowBehavior={true}\n show={this.show}\n onShowChanged={(event) => {\n this.show = event.detail;\n }}\n >\n <ix-date-picker\n ref={this.datepickerRef}\n format={this.format}\n locale={this.locale}\n singleSelection\n from={this.from ?? ''}\n minDate={this.minDate}\n maxDate={this.maxDate}\n onDateChange={(event) => {\n const { from } = event.detail;\n this.onInput(from);\n }}\n showWeekNumbers={this.showWeekNumbers}\n ariaLabelNextMonthButton={this.ariaLabelNextMonthButton}\n ariaLabelPreviousMonthButton={this.ariaLabelPreviousMonthButton}\n embedded\n ></ix-date-picker>\n </ix-dropdown>\n </Host>\n );\n }\n}\n"],"names":["makeRef","createClassMutationObserver","addDisposableChangesAndVisibilityObservers","adjustPaddingForStartAndEnd","DateTime","handleIconClick","openDropdownUtil","closeDropdownUtil","handleSubmitOnEnterKeydown","h","SlotStart","SlotEnd","iconCalendar","createValidityState","Host","HookValidationLifecycle"],"mappings":";;;;;;;;;;;;;;;;AAAA,MAAM,YAAY,GAAG,4ieAA4ie;;ACAjke;;;;;;;AAOG;;;;;;;;;;;MAoDU,SAAS,GAAA,MAAA;AANtB,IAAA,WAAA,CAAA,OAAA,EAAA;;;;;;;;;;;;;AAoBE;;AAEG;AACqC,QAAA,IAAK,CAAA,KAAA,GAAY,EAAE;AAM3D;;;AAGG;AACK,QAAA,IAAO,CAAA,OAAA,GAAG,EAAE;AAEpB;;;AAGG;AACK,QAAA,IAAO,CAAA,OAAA,GAAG,EAAE;AAWpB;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,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,YAAY,EAAE,CAAC,KAAK,KAAI;AACtB,gBAAA,MAAM,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC,MAAM;AAC7B,gBAAA,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC;aACnB,EACD,eAAe,EAAE,IAAI,CAAC,eAAe,EACrC,wBAAwB,EAAE,IAAI,CAAC,wBAAwB,EACvD,4BAA4B,EAAE,IAAI,CAAC,4BAA4B,EAC/D,QAAQ,EACQ,IAAA,EAAA,CAAA,CACN,CACT;;;;;;;;;AAjHX,UAAA,CAAA;AADC,IAAAM,kCAAuB;CAYvB,EAAA,SAAA,CAAA,SAAA,EAAA,yBAAA,EAAA,IAAA,CAAA;;;;;"}
@@ -2,7 +2,7 @@
2
2
 
3
3
  var index = require('./index-C8Xo8L1k.js');
4
4
 
5
- const dateTimeCardCss = ":host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}: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{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .card{background-color:var(--theme-menu--background);width:100%;box-shadow:none;border:none;border-radius:unset;display:flex;flex-direction:column}:host .card.standaloneAppearance{box-shadow:var(--theme-shadow-4);border-radius:0.25rem}:host .card.rounded{border-radius:4px}:host .card.left{border-radius:4px 0 0 4px;height:100%}:host .card.right{border-radius:0 4px 4px 0;height:100%}:host .card.straight{border-radius:0}:host .card .header-container{width:100%}:host .card .header-container .header{padding:1rem;flex:0 1 auto}:host .card .separator{border:1px solid var(--theme-datepicker-separator--background);width:100%;flex:0 1 auto}:host .card .content{padding:0 1rem 1rem 1rem;flex:1 1 auto;display:flex;flex-direction:column;justify-content:center}:host .card .content--time-picker{padding:0 1rem}:host .card .footer-container{width:100%}:host .card .footer-container .footer{padding:1rem}";
5
+ const dateTimeCardCss = ":host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}: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{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .card{background-color:var(--theme-menu--background);width:100%;box-shadow:none;border:none;border-radius:unset;display:flex;flex-direction:column}:host .card.standaloneAppearance{box-shadow:var(--theme-shadow-4);border-radius:0.25rem}:host .card.rounded{border-radius:4px}:host .card.left{border-radius:4px 0 0 4px;height:100%}:host .card.right{border-radius:0 4px 4px 0;height:100%}:host .card.straight{border-radius:0}:host .card .header-container{width:100%}:host .card .header-container .header{padding:0.75rem 1rem;flex:0 1 auto}:host .card .separator{height:1px;background-color:var(--theme-datepicker-separator--background);width:100%;flex:0 1 auto}:host .card .content{padding:0 1rem 1rem 1rem;flex:1 1 auto;display:flex;flex-direction:column;justify-content:center}:host .card .content--time-picker{padding:0 1rem}:host .card .footer-container{width:100%}:host .card .footer-container .footer{padding:1rem}";
6
6
 
7
7
  const DateTimeCard = class {
8
8
  constructor(hostRef) {
@@ -1 +1 @@
1
- {"version":3,"file":"ix-date-time-card.entry.cjs.js","sources":["src/components/date-time-card/date-time-card.scss?tag=ix-date-time-card&encapsulation=shadow","src/components/date-time-card/date-time-card.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@use './common-variables' as vars;\n@use 'mixins/shadow-dom/component';\n\n:host {\n @include component.ix-component;\n\n .card {\n background-color: var(--theme-menu--background);\n width: 100%;\n box-shadow: none;\n border: none;\n border-radius: unset;\n display: flex;\n flex-direction: column;\n\n &.standaloneAppearance {\n box-shadow: var(--theme-shadow-4);\n border-radius: 0.25rem;\n }\n\n &.rounded {\n border-radius: 4px;\n }\n\n &.left {\n border-radius: 4px 0 0 4px;\n height: 100%;\n }\n\n &.right {\n border-radius: 0 4px 4px 0;\n height: 100%;\n }\n\n &.straight {\n border-radius: 0;\n }\n\n .header-container {\n width: 100%;\n\n .header {\n padding: vars.$default-space;\n flex: 0 1 auto;\n }\n }\n\n .separator {\n border: 1px solid var(--theme-datepicker-separator--background);\n width: 100%;\n flex: 0 1 auto;\n }\n\n .content {\n padding: 0 vars.$default-space vars.$default-space vars.$default-space;\n flex: 1 1 auto;\n display: flex;\n flex-direction: column;\n justify-content: center;\n\n &--time-picker {\n padding: 0 vars.$default-space;\n }\n }\n\n .footer-container {\n width: 100%;\n\n .footer {\n padding: vars.$default-space;\n }\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\nimport { Component, h, Host, Prop } from '@stencil/core';\nimport type { DateTimeCardCorners } from './date-time-card.types';\n\n/**\n * @internal\n */\n@Component({\n tag: 'ix-date-time-card',\n styleUrl: 'date-time-card.scss',\n shadow: true,\n})\nexport class DateTimeCard {\n /** @internal */\n @Prop() embedded?: boolean;\n\n /** Timepicker specific styling */\n @Prop() timePickerAppearance: boolean = false;\n\n /**\n * Hide header\n */\n @Prop() hideHeader: boolean = false;\n\n /**\n * Display footer\n */\n @Prop() hasFooter: boolean = false;\n\n /**\n * Set corners style\n */\n @Prop() corners: DateTimeCardCorners = 'rounded';\n\n private cardClasses() {\n return {\n card: true,\n standaloneAppearance: this.embedded === false,\n rounded: this.corners === 'rounded',\n left: this.corners === 'left',\n right: this.corners === 'right',\n straight: this.corners === 'straight',\n };\n }\n\n render() {\n return (\n <Host>\n <div class={this.cardClasses()}>\n {!this.hideHeader && (\n <div class=\"header-container\">\n <div class=\"header\">\n <slot name=\"header\"></slot>\n </div>\n <div class=\"separator\"></div>\n </div>\n )}\n\n <div\n class={{\n content: true,\n 'content--time-picker': this.timePickerAppearance,\n }}\n >\n <slot></slot>\n </div>\n\n {this.hasFooter && (\n <div class=\"footer-container\">\n <div class=\"separator\"></div>\n <div class=\"footer\">\n <slot name=\"footer\"></slot>\n </div>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"names":["h","Host"],"mappings":";;;;AAAA,MAAM,eAAe,GAAG,6pDAA6pD;;MCoBxqD,YAAY,GAAA,MAAA;AALzB,IAAA,WAAA,CAAA,OAAA,EAAA;;;AAUU,QAAA,IAAoB,CAAA,oBAAA,GAAY,KAAK;AAE7C;;AAEG;AACK,QAAA,IAAU,CAAA,UAAA,GAAY,KAAK;AAEnC;;AAEG;AACK,QAAA,IAAS,CAAA,SAAA,GAAY,KAAK;AAElC;;AAEG;AACK,QAAA,IAAO,CAAA,OAAA,GAAwB,SAAS;AA+CjD;IA7CS,WAAW,GAAA;QACjB,OAAO;AACL,YAAA,IAAI,EAAE,IAAI;AACV,YAAA,oBAAoB,EAAE,IAAI,CAAC,QAAQ,KAAK,KAAK;AAC7C,YAAA,OAAO,EAAE,IAAI,CAAC,OAAO,KAAK,SAAS;AACnC,YAAA,IAAI,EAAE,IA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,0CAAA,EAAA,KAAK,EAAC,QAAQ,EAAA,EACjBA,OAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,QAAQ,EAAQ,CAAA,CACvB,CACF,CACP,CACG,CACD;;;;;;;"}
1
+ {"version":3,"file":"ix-date-time-card.entry.cjs.js","sources":["src/components/date-time-card/date-time-card.scss?tag=ix-date-time-card&encapsulation=shadow","src/components/date-time-card/date-time-card.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@use './common-variables' as vars;\n@use 'mixins/shadow-dom/component';\n\n:host {\n @include component.ix-component;\n\n .card {\n background-color: var(--theme-menu--background);\n width: 100%;\n box-shadow: none;\n border: none;\n border-radius: unset;\n display: flex;\n flex-direction: column;\n\n &.standaloneAppearance {\n box-shadow: var(--theme-shadow-4);\n border-radius: 0.25rem;\n }\n\n &.rounded {\n border-radius: 4px;\n }\n\n &.left {\n border-radius: 4px 0 0 4px;\n height: 100%;\n }\n\n &.right {\n border-radius: 0 4px 4px 0;\n height: 100%;\n }\n\n &.straight {\n border-radius: 0;\n }\n\n .header-container {\n width: 100%;\n\n .header {\n padding: vars.$medium-space vars.$default-space;\n flex: 0 1 auto;\n }\n }\n\n .separator {\n height: 1px;\n background-color: var(--theme-datepicker-separator--background);\n width: 100%;\n flex: 0 1 auto;\n }\n\n .content {\n padding: 0 vars.$default-space vars.$default-space vars.$default-space;\n flex: 1 1 auto;\n display: flex;\n flex-direction: column;\n justify-content: center;\n\n &--time-picker {\n padding: 0 vars.$default-space;\n }\n }\n\n .footer-container {\n width: 100%;\n\n .footer {\n padding: vars.$default-space;\n }\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\nimport { Component, h, Host, Prop } from '@stencil/core';\nimport type { DateTimeCardCorners } from './date-time-card.types';\n\n/**\n * @internal\n */\n@Component({\n tag: 'ix-date-time-card',\n styleUrl: 'date-time-card.scss',\n shadow: true,\n})\nexport class DateTimeCard {\n /** @internal */\n @Prop() embedded?: boolean;\n\n /** Timepicker specific styling */\n @Prop() timePickerAppearance: boolean = false;\n\n /**\n * Hide header\n */\n @Prop() hideHeader: boolean = false;\n\n /**\n * Display footer\n */\n @Prop() hasFooter: boolean = false;\n\n /**\n * Set corners style\n */\n @Prop() corners: DateTimeCardCorners = 'rounded';\n\n private cardClasses() {\n return {\n card: true,\n standaloneAppearance: this.embedded === false,\n rounded: this.corners === 'rounded',\n left: this.corners === 'left',\n right: this.corners === 'right',\n straight: this.corners === 'straight',\n };\n }\n\n render() {\n return (\n <Host>\n <div class={this.cardClasses()}>\n {!this.hideHeader && (\n <div class=\"header-container\">\n <div class=\"header\">\n <slot name=\"header\"></slot>\n </div>\n <div class=\"separator\"></div>\n </div>\n )}\n\n <div\n class={{\n content: true,\n 'content--time-picker': this.timePickerAppearance,\n }}\n >\n <slot></slot>\n </div>\n\n {this.hasFooter && (\n <div class=\"footer-container\">\n <div class=\"separator\"></div>\n <div class=\"footer\">\n <slot name=\"footer\"></slot>\n </div>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"names":["h","Host"],"mappings":";;;;AAAA,MAAM,eAAe,GAAG,grDAAgrD;;MCoB3rD,YAAY,GAAA,MAAA;AALzB,IAAA,WAAA,CAAA,OAAA,EAAA;;;AAUU,QAAA,IAAoB,CAAA,oBAAA,GAAY,KAAK;AAE7C;;AAEG;AACK,QAAA,IAAU,CAAA,UAAA,GAAY,KAAK;AAEnC;;AAEG;AACK,QAAA,IAAS,CAAA,SAAA,GAAY,KAAK;AAElC;;AAEG;AACK,QAAA,IAAO,CAAA,OAAA,GAAwB,SAAS;AA+CjD;IA7CS,WAAW,GAAA;QACjB,OAAO;AACL,YAAA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kBAAkB,EAAA,EAC3BA,OAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,WAAW,EAAO,CAAA,EAC7BA,OAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,QAAQ,EAAA,EACjBA,OAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,QAAQ,EAAQ,CAAA,CACvB,CACF,CACP,CACG,CACD;;;;;;;"}
@@ -2,7 +2,7 @@
2
2
 
3
3
  var index = require('./index-C8Xo8L1k.js');
4
4
 
5
- const datetimePickerCss = ":host{display:block;background-color:var(--theme-menu--background);border-radius:4px;position:relative;width:-moz-min-content;width:min-content}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}: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{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host ix-layout-grid{border-radius:0.25rem;box-shadow:var(--theme-shadow-4)}:host ix-time-picker{width:100%}:host .no-padding{padding:0}:host ix-col{display:flex;flex-direction:column;padding:0}:host .flex{display:flex;justify-content:center;flex-direction:column}@media (min-width: 576px){:host{min-width:-moz-max-content;min-width:max-content}:host .btn-select-date-container{display:inline-flex;flex-grow:1}:host .btn-select-date-container ix-button{margin-left:auto;margin-top:auto}:host .min-width{width:-moz-min-content;width:min-content}:host ix-time-picker{width:initial}}:host .individual{box-shadow:none;border:none}:host .btn-select-date-container{padding:0 1rem 1rem}@media (max-width: 576px){:host .btn-select-date-container .btn-select-date{width:100%}}";
5
+ const datetimePickerCss = ":host{display:block;background-color:var(--theme-menu--background);border-radius:4px;position:relative;width:-moz-min-content;width:min-content}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}: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{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host ix-layout-grid{border-radius:0.25rem;box-shadow:var(--theme-shadow-4)}:host ix-time-picker{width:100%}:host .no-padding{padding:0}:host ix-col{display:flex;flex-direction:column;padding:0}:host .flex{display:flex;justify-content:center;flex-direction:column}:host .row-separator,:host .col-separator{border-bottom:0.0625rem solid var(--theme-datepicker-separator--background)}:host .col-separator{border-right:none}@media (min-width: 576px){:host{min-width:-moz-max-content;min-width:max-content}:host .btn-select-date-container{display:inline-flex;flex-grow:1}:host .btn-select-date-container ix-button{margin-left:auto;margin-top:auto}:host .min-width{width:-moz-min-content;width:min-content}:host ix-time-picker{width:initial}:host .col-separator{border-right:0.0625rem solid var(--theme-datepicker-separator--background);border-bottom:none}}:host .individual{box-shadow:none;border:none}:host .btn-select-date-container{padding:1rem}@media (max-width: 576px){:host .btn-select-date-container .btn-select-date{width:100%}}";
6
6
 
7
7
  const DatetimePicker = class {
8
8
  constructor(hostRef) {
@@ -74,7 +74,7 @@ const DatetimePicker = class {
74
74
  this.timeChange.emit(time);
75
75
  }
76
76
  render() {
77
- return (index.h(index.Host, { key: '2b4812deec9408836a8187c3a520cd69b846e935' }, index.h("ix-layout-grid", { key: '610fad916eb544d6687bcbfb3543b926f7521b9e', class: "no-padding" }, index.h("ix-row", { key: 'e3aacceefb73ee04f1887da04d0b5e339daba649' }, index.h("ix-col", { key: '64b8c1c44a131fd546d54197031664b3c8270c28' }, index.h("ix-date-picker", { key: '926ca6fe6e4f17e80c83987598b374137a623a10', ref: (ref) => (this.datePickerElement = ref), corners: "left", singleSelection: this.singleSelection, onDateChange: (event) => this.onDateChange(event), from: this.from, to: this.to, format: this.dateFormat, minDate: this.minDate, maxDate: this.maxDate, weekStartIndex: this.weekStartIndex, embedded: true, locale: this.locale, showWeekNumbers: this.showWeekNumbers, ariaLabelPreviousMonthButton: this.ariaLabelPreviousMonthButton, ariaLabelNextMonthButton: this.ariaLabelNextMonthButton })), index.h("ix-col", { key: 'd27915a37d4d47bd11a066038adf59372f345296' }, index.h("ix-time-picker", { key: 'bc70ef23493d0c501be37d4425be5021c211e53b', class: "min-width", ref: (ref) => (this.timePickerElement = ref), embedded: true, dateTimePickerAppearance: true, onTimeChange: (event) => this.onTimeChange(event), format: this.timeFormat, time: this.time }), index.h("div", { key: '75f619c34b11412349017bed0013b41f7f947033', class: "btn-select-date-container" }, index.h("ix-button", { key: 'dc9602b6ed9e4406cb8ffee0168d41c7cc8d9763', class: "btn-select-date", onClick: () => this.onDone() }, this.i18nDone)))))));
77
+ return (index.h(index.Host, { key: '2b4812deec9408836a8187c3a520cd69b846e935' }, index.h("ix-layout-grid", { key: '610fad916eb544d6687bcbfb3543b926f7521b9e', class: "no-padding" }, index.h("ix-row", { key: '63dcab9421e05163577db32fda3bd714a0c00de7', class: "row-separator" }, index.h("ix-col", { key: '8ac25a8147b15ac20b45c3f1e48bfda34919eae1', class: "col-separator" }, index.h("ix-date-picker", { key: '1831729d8dcb31e5361fbef4a6290111847b8679', ref: (ref) => (this.datePickerElement = ref), corners: "left", singleSelection: this.singleSelection, onDateChange: (event) => this.onDateChange(event), from: this.from, to: this.to, format: this.dateFormat, minDate: this.minDate, maxDate: this.maxDate, weekStartIndex: this.weekStartIndex, embedded: true, locale: this.locale, showWeekNumbers: this.showWeekNumbers, ariaLabelPreviousMonthButton: this.ariaLabelPreviousMonthButton, ariaLabelNextMonthButton: this.ariaLabelNextMonthButton })), index.h("ix-col", { key: '51b004e4362c9dc26d0e59909cfb431fd874cbac' }, index.h("ix-time-picker", { key: '40672098b7e7cc369afd8429b34d14b97bcd1380', class: "min-width", ref: (ref) => (this.timePickerElement = ref), embedded: true, dateTimePickerAppearance: true, onTimeChange: (event) => this.onTimeChange(event), format: this.timeFormat, time: this.time }))), index.h("ix-row", { key: '876f3e8defe5de50013e8ea7e1f3465bd6e339a1' }, index.h("ix-col", { key: '1515e3e7b9ac5b121c8b0c3284092698f85652bf' }, index.h("div", { key: '6aa46d00d240c20de2e92bd5fa62f6ca59f53274', class: "btn-select-date-container" }, index.h("ix-button", { key: 'ca4e27ecc31600f97ac2ab061cbbf29b2c717078', class: "btn-select-date", onClick: () => this.onDone() }, this.i18nDone)))))));
78
78
  }
79
79
  };
80
80
  DatetimePicker.style = datetimePickerCss;
@@ -1 +1 @@
1
- {"version":3,"file":"ix-datetime-picker.entry.cjs.js","sources":["src/components/datetime-picker/datetime-picker.scss?tag=ix-datetime-picker&encapsulation=shadow","src/components/datetime-picker/datetime-picker.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@use './common-variables' as vars;\n@use 'mixins/shadow-dom/component';\n\n:host {\n display: block;\n background-color: var(--theme-menu--background);\n border-radius: 4px;\n position: relative;\n width: min-content;\n\n @include component.ix-component;\n\n ix-layout-grid {\n border-radius: 0.25rem;\n box-shadow: var(--theme-shadow-4);\n }\n\n ix-time-picker {\n width: 100%;\n }\n\n .no-padding {\n padding: 0;\n }\n\n ix-col {\n display: flex;\n flex-direction: column;\n padding: 0;\n }\n\n .flex {\n display: flex;\n justify-content: center;\n flex-direction: column;\n }\n\n @media (min-width: 576px) {\n min-width: max-content;\n\n .btn-select-date-container {\n display: inline-flex;\n flex-grow: 1;\n\n ix-button {\n margin-left: auto;\n margin-top: auto;\n }\n }\n\n .min-width {\n width: min-content;\n }\n\n ix-time-picker {\n width: initial;\n }\n }\n\n .individual {\n box-shadow: none;\n border: none;\n }\n\n .btn-select-date-container {\n padding: 0 vars.$default-space vars.$default-space;\n\n @media (max-width: 576px) {\n & .btn-select-date {\n width: 100%;\n }\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\nimport { Component, Event, EventEmitter, h, Host, Prop } from '@stencil/core';\nimport type { DateChangeEvent } from '../date-picker/date-picker.events';\nimport { IxDatePickerComponent } from '../date-picker/date-picker-component';\nimport type {\n DateTimeDateChangeEvent,\n DateTimeSelectEvent,\n} from './datetime-picker.types';\n\n@Component({\n tag: 'ix-datetime-picker',\n styleUrl: 'datetime-picker.scss',\n shadow: true,\n})\nexport class DatetimePicker\n implements Omit<IxDatePickerComponent, 'corners' | 'format'>\n{\n /**\n * If true disables date range selection (from/to).\n */\n @Prop() singleSelection = false;\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 * Date format string.\n * See {@link https://moment.github.io/luxon/#/formatting?id=table-of-tokens} for all available tokens.\n */\n @Prop() dateFormat: string = 'yyyy/LL/dd';\n\n /**\n * Time format string.\n * See {@link https://moment.github.io/luxon/#/formatting?id=table-of-tokens} for all available tokens.\n */\n @Prop() timeFormat: string = 'HH:mm:ss';\n\n /**\n * The selected starting date. If the picker is not in range mode this is the selected date.\n * Format has to match the `format` property.\n */\n @Prop() from?: string;\n\n /**\n * The selected end date. If the the picker is not in range mode this property has no impact.\n * Format has to match the `format` property.\n */\n @Prop() to?: string;\n\n /**\n * Select time with format string\n */\n @Prop() time?: string;\n\n /**\n * Show time reference input\n * Time reference is default aligned with @see {this.timeFormat}\n */\n @Prop() showTimeReference: boolean = false;\n\n /**\n * Set time reference\n */\n @Prop() timeReference?: 'AM' | 'PM';\n\n /**\n * Text of date select button\n */\n @Prop({ attribute: 'i18n-done' }) i18nDone: string = 'Done';\n\n /**\n * Top label of time picker\n *\n * @since 3.0.0\n */\n @Prop({ attribute: 'i18n-time' }) i18nTime: string = 'Time';\n\n /**\n * ARIA label for the previous month icon button\n * Will be set as aria-label on the nested HTML button element\n */\n @Prop() ariaLabelPreviousMonthButton?: string;\n\n /**\n * ARIA label for the next month icon button\n * Will be set as aria-label on the nested HTML button element\n */\n @Prop() ariaLabelNextMonthButton?: string;\n\n /**\n * The index of which day to start the week on, based on the Locale#weekdays array.\n * E.g. if the locale is en-us, weekStartIndex = 1 results in starting the week on monday.\n */\n @Prop() weekStartIndex = 0;\n\n /**\n * Format of time string\n * See {@link https://moment.github.io/luxon/#/formatting?id=table-of-tokens} for all available tokens.\n */\n @Prop() locale?: string;\n\n /**\n * Shows week numbers displayed on the left side of the date picker\n *\n * @since 3.0.0\n */\n @Prop() showWeekNumbers = false;\n\n /**\n * Time change\n */\n @Event() timeChange!: EventEmitter<string>;\n\n /**\n * Date change\n */\n @Event() dateChange!: EventEmitter<DateTimeDateChangeEvent>;\n\n /**\n * Datetime selection event is fired after confirm button is pressed\n */\n @Event() dateSelect!: EventEmitter<DateTimeSelectEvent>;\n\n private datePickerElement?: HTMLIxDatePickerElement;\n private timePickerElement?: HTMLIxTimePickerElement;\n\n private async onDone() {\n const date = await this.datePickerElement?.getCurrentDate();\n const time = await this.timePickerElement?.getCurrentTime();\n\n this.dateSelect.emit({\n from: date?.from ?? '',\n to: date?.to ?? '',\n time: time ?? '',\n });\n }\n\n private async onDateChange(event: CustomEvent<string | DateChangeEvent>) {\n event.preventDefault();\n event.stopPropagation();\n\n const { detail: date } = event;\n this.dateChange.emit(date);\n }\n\n private async onTimeChange(event: CustomEvent<string>) {\n event.preventDefault();\n event.stopPropagation();\n\n const { detail: time } = event;\n this.timeChange.emit(time);\n }\n\n render() {\n return (\n <Host>\n <ix-layout-grid class=\"no-padding\">\n <ix-row>\n <ix-col>\n <ix-date-picker\n ref={(ref) => (this.datePickerElement = ref)}\n corners=\"left\"\n singleSelection={this.singleSelection}\n onDateChange={(event) => this.onDateChange(event)}\n from={this.from}\n to={this.to}\n format={this.dateFormat}\n minDate={this.minDate}\n maxDate={this.maxDate}\n weekStartIndex={this.weekStartIndex}\n embedded\n locale={this.locale}\n showWeekNumbers={this.showWeekNumbers}\n ariaLabelPreviousMonthButton={this.ariaLabelPreviousMonthButton}\n ariaLabelNextMonthButton={this.ariaLabelNextMonthButton}\n ></ix-date-picker>\n </ix-col>\n\n <ix-col>\n <ix-time-picker\n class=\"min-width\"\n ref={(ref) => (this.timePickerElement = ref)}\n embedded\n dateTimePickerAppearance={true}\n onTimeChange={(event) => this.onTimeChange(event)}\n format={this.timeFormat}\n time={this.time}\n ></ix-time-picker>\n <div class=\"btn-select-date-container\">\n <ix-button\n class=\"btn-select-date\"\n onClick={() => this.onDone()}\n >\n {this.i18nDone}\n </ix-button>\n </div>\n </ix-col>\n </ix-row>\n </ix-layout-grid>\n </Host>\n );\n }\n}\n"],"names":["h","Host"],"mappings":";;;;AAAA,MAAM,iBAAiB,GAAG,qqDAAqqD;;MCsBlrD,cAAc,GAAA,MAAA;AAL3B,IAAA,WAAA,CAAA,OAAA,EAAA;;;;;AAQE;;AAEG;AACK,QAAA,IAAe,CAAA,eAAA,GAAG,KAAK;AAc/B;;;AAGG;AACK,QAAA,IAAU,CAAA,UAAA,GAAW,YAAY;AAEzC;;;AAGG;AACK,QAAA,IAAU,CAAA,UAAA,GA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EAAE,IAAI,CAAC,4BAA4B,EAC/D,wBAAwB,EAAE,IAAI,CAAC,wBAAwB,EAAA,CACvC,CACX,EAETA,OAAA,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACEA,OACE,CAAA,gBAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,WAAW,EACjB,GAAG,EAAE,CAAC,GAAG,MAAM,IAAI,CAAC,iBAAiB,GAAG,GAAG,CAAC,EAC5C,QAAQ,EAAA,IAAA,EACR,wBAAwB,EAAE,IAAI,EAC9B,YAAY,EAAE,CAAC,KAAK,KAAK,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,EACjD,MAAM,EAAE,IAAI,CAAC,UAAU,EACvB,IAAI,EAAE,IAAI,CAAC,IAAI,EACC,CAAA,EAClBA,OAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,2BAA2B,EAAA,EACpCA,OACE,CAAA,WAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,iBAAiB,EACvB,OAAO,EAAE,MAAM,IAAI,CAAC,MAAM,EAAE,EAE3B,EAAA,IAAI,CAAC,QAAQ,CACJ,CACR,CACC,CACF,CACM,CACZ;;;;;;;"}
1
+ {"version":3,"file":"ix-datetime-picker.entry.cjs.js","sources":["src/components/datetime-picker/datetime-picker.scss?tag=ix-datetime-picker&encapsulation=shadow","src/components/datetime-picker/datetime-picker.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@use './common-variables' as vars;\n@use 'mixins/shadow-dom/component';\n\n:host {\n display: block;\n background-color: var(--theme-menu--background);\n border-radius: 4px;\n position: relative;\n width: min-content;\n\n @include component.ix-component;\n\n ix-layout-grid {\n border-radius: 0.25rem;\n box-shadow: var(--theme-shadow-4);\n }\n\n ix-time-picker {\n width: 100%;\n }\n\n .no-padding {\n padding: 0;\n }\n\n ix-col {\n display: flex;\n flex-direction: column;\n padding: 0;\n }\n\n .flex {\n display: flex;\n justify-content: center;\n flex-direction: column;\n }\n\n .row-separator,\n .col-separator {\n border-bottom: 0.0625rem solid var(--theme-datepicker-separator--background);\n }\n\n .col-separator {\n border-right: none;\n }\n\n @media (min-width: 576px) {\n min-width: max-content;\n\n .btn-select-date-container {\n display: inline-flex;\n flex-grow: 1;\n\n ix-button {\n margin-left: auto;\n margin-top: auto;\n }\n }\n\n .min-width {\n width: min-content;\n }\n\n ix-time-picker {\n width: initial;\n }\n\n .col-separator {\n border-right: 0.0625rem solid\n var(--theme-datepicker-separator--background);\n border-bottom: none;\n }\n }\n\n .individual {\n box-shadow: none;\n border: none;\n }\n\n .btn-select-date-container {\n padding: vars.$default-space;\n\n @media (max-width: 576px) {\n & .btn-select-date {\n width: 100%;\n }\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\nimport { Component, Event, EventEmitter, h, Host, Prop } from '@stencil/core';\nimport { IxDatePickerComponent } from '../date-picker/date-picker-component';\nimport type { DateChangeEvent } from '../date-picker/date-picker.events';\nimport type {\n DateTimeDateChangeEvent,\n DateTimeSelectEvent,\n} from './datetime-picker.types';\n\n@Component({\n tag: 'ix-datetime-picker',\n styleUrl: 'datetime-picker.scss',\n shadow: true,\n})\nexport class DatetimePicker\n implements Omit<IxDatePickerComponent, 'corners' | 'format'>\n{\n /**\n * If true disables date range selection (from/to).\n */\n @Prop() singleSelection = false;\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 * Date format string.\n * See {@link https://moment.github.io/luxon/#/formatting?id=table-of-tokens} for all available tokens.\n */\n @Prop() dateFormat: string = 'yyyy/LL/dd';\n\n /**\n * Time format string.\n * See {@link https://moment.github.io/luxon/#/formatting?id=table-of-tokens} for all available tokens.\n */\n @Prop() timeFormat: string = 'HH:mm:ss';\n\n /**\n * The selected starting date. If the picker is not in range mode this is the selected date.\n * Format has to match the `format` property.\n */\n @Prop() from?: string;\n\n /**\n * The selected end date. If the the picker is not in range mode this property has no impact.\n * Format has to match the `format` property.\n */\n @Prop() to?: string;\n\n /**\n * Select time with format string\n */\n @Prop() time?: string;\n\n /**\n * Show time reference input\n * Time reference is default aligned with @see {this.timeFormat}\n */\n @Prop() showTimeReference: boolean = false;\n\n /**\n * Set time reference\n */\n @Prop() timeReference?: 'AM' | 'PM';\n\n /**\n * Text of date select button\n */\n @Prop({ attribute: 'i18n-done' }) i18nDone: string = 'Done';\n\n /**\n * Top label of time picker\n *\n * @since 3.0.0\n */\n @Prop({ attribute: 'i18n-time' }) i18nTime: string = 'Time';\n\n /**\n * ARIA label for the previous month icon button\n * Will be set as aria-label on the nested HTML button element\n */\n @Prop() ariaLabelPreviousMonthButton?: string;\n\n /**\n * ARIA label for the next month icon button\n * Will be set as aria-label on the nested HTML button element\n */\n @Prop() ariaLabelNextMonthButton?: string;\n\n /**\n * The index of which day to start the week on, based on the Locale#weekdays array.\n * E.g. if the locale is en-us, weekStartIndex = 1 results in starting the week on monday.\n */\n @Prop() weekStartIndex = 0;\n\n /**\n * Format of time string\n * See {@link https://moment.github.io/luxon/#/formatting?id=table-of-tokens} for all available tokens.\n */\n @Prop() locale?: string;\n\n /**\n * Shows week numbers displayed on the left side of the date picker\n *\n * @since 3.0.0\n */\n @Prop() showWeekNumbers = false;\n\n /**\n * Time change\n */\n @Event() timeChange!: EventEmitter<string>;\n\n /**\n * Date change\n */\n @Event() dateChange!: EventEmitter<DateTimeDateChangeEvent>;\n\n /**\n * Datetime selection event is fired after confirm button is pressed\n */\n @Event() dateSelect!: EventEmitter<DateTimeSelectEvent>;\n\n private datePickerElement?: HTMLIxDatePickerElement;\n private timePickerElement?: HTMLIxTimePickerElement;\n\n private async onDone() {\n const date = await this.datePickerElement?.getCurrentDate();\n const time = await this.timePickerElement?.getCurrentTime();\n\n this.dateSelect.emit({\n from: date?.from ?? '',\n to: date?.to ?? '',\n time: time ?? '',\n });\n }\n\n private async onDateChange(event: CustomEvent<string | DateChangeEvent>) {\n event.preventDefault();\n event.stopPropagation();\n\n const { detail: date } = event;\n this.dateChange.emit(date);\n }\n\n private async onTimeChange(event: CustomEvent<string>) {\n event.preventDefault();\n event.stopPropagation();\n\n const { detail: time } = event;\n this.timeChange.emit(time);\n }\n\n render() {\n return (\n <Host>\n <ix-layout-grid class=\"no-padding\">\n <ix-row class=\"row-separator\">\n <ix-col class=\"col-separator\">\n <ix-date-picker\n ref={(ref) => (this.datePickerElement = ref)}\n corners=\"left\"\n singleSelection={this.singleSelection}\n onDateChange={(event) => this.onDateChange(event)}\n from={this.from}\n to={this.to}\n format={this.dateFormat}\n minDate={this.minDate}\n maxDate={this.maxDate}\n weekStartIndex={this.weekStartIndex}\n embedded\n locale={this.locale}\n showWeekNumbers={this.showWeekNumbers}\n ariaLabelPreviousMonthButton={this.ariaLabelPreviousMonthButton}\n ariaLabelNextMonthButton={this.ariaLabelNextMonthButton}\n ></ix-date-picker>\n </ix-col>\n\n <ix-col>\n <ix-time-picker\n class=\"min-width\"\n ref={(ref) => (this.timePickerElement = ref)}\n embedded\n dateTimePickerAppearance={true}\n onTimeChange={(event) => this.onTimeChange(event)}\n format={this.timeFormat}\n time={this.time}\n ></ix-time-picker>\n </ix-col>\n </ix-row>\n <ix-row>\n <ix-col>\n <div class=\"btn-select-date-container\">\n <ix-button\n class=\"btn-select-date\"\n onClick={() => this.onDone()}\n >\n {this.i18nDone}\n </ix-button>\n </div>\n </ix-col>\n </ix-row>\n </ix-layout-grid>\n </Host>\n );\n }\n}\n"],"names":["h","Host"],"mappings":";;;;AAAA,MAAM,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;;;"}
@@ -9,7 +9,7 @@ const Divider = class {
9
9
  index.registerInstance(this, hostRef);
10
10
  }
11
11
  render() {
12
- return index.h(index.Host, { key: '265222b022fa8d13e4f07e6fe7e19abc7ae2b6c0' });
12
+ return index.h(index.Host, { key: 'ca814e8d386105be46954dfba6ae6f9a0c8ba4a9' });
13
13
  }
14
14
  };
15
15
  Divider.style = dividerCss;
@@ -130,7 +130,7 @@ const Drawer = class {
130
130
  this.toggleDrawer(this.show);
131
131
  }
132
132
  render() {
133
- return (index.h(index.Host, { key: 'fff4cbcfc2cef008be568700e64be24876e59e5a', class: {
133
+ return (index.h(index.Host, { key: 'f40c42d1e7b7e8420c4a8f804a46b722580dd132', class: {
134
134
  'drawer-container': true,
135
135
  'display-none': true,
136
136
  }, style: {
@@ -138,15 +138,15 @@ const Drawer = class {
138
138
  'max-width': `${this.maxWidth}rem`,
139
139
  height: this.fullHeight ? '100%' : 'auto',
140
140
  overflow: 'hidden',
141
- }, ref: (el) => (this.divElement = el), "data-testid": "container", id: "div-container" }, index.h("div", { key: 'eda993c94161ac174630ac6aa81a5be1d574fd40', style: {
141
+ }, ref: (el) => (this.divElement = el), "data-testid": "container", id: "div-container" }, index.h("div", { key: '810a3738ce5350281d758808ba93981914760877', style: {
142
142
  width: this.width === 'auto'
143
143
  ? 'auto'
144
144
  : `${this.getConstrainedWidth(this.width)}rem`,
145
- } }, index.h("div", { key: '4dd5149ba7e4ad3b40e7e9a7a46883de01831740', class: "header" }, index.h("div", { key: 'fffb646da836939ed2fef0c91424996059792ce5', class: "header-content" }, index.h("slot", { key: 'b5902a3bce51e8fc0fbb5ed96563595a2e95e187', name: "header" })), index.h("ix-icon-button", { key: '855489d11e8439dd1cc9807c9fc7e11af56cc510', class: "close-button", style: {
145
+ } }, index.h("div", { key: '5601266a5a02c122d1392234fe1c1a755e440bad', class: "header" }, index.h("div", { key: 'a43e56c621a03939233e10bb907e6f2bd7a7e176', class: "header-content" }, index.h("slot", { key: 'ab7c9e45ca78c512c1a242f53a616a16a98187fe', name: "header" })), index.h("ix-icon-button", { key: 'eaaa6f03ffdf2f5e2d9100ab3f45c4a1f46ef63d', class: "close-button", style: {
146
146
  display: this.showContent ? 'block' : 'none',
147
- }, icon: index$1.iconClose, iconColor: "color-soft-text", size: "24", variant: "tertiary", onClick: () => this.onCloseClicked(), "data-testid": "close-button", "aria-label": this.ariaLabelCloseButton })), index.h("div", { key: 'f5e9cbe17366b49ad20b501f663e8c8dee1e456a', class: "content", style: {
147
+ }, icon: index$1.iconClose, iconColor: "color-soft-text", size: "24", variant: "tertiary", onClick: () => this.onCloseClicked(), "data-testid": "close-button", "aria-label": this.ariaLabelCloseButton })), index.h("div", { key: '170d74d584fb7b641adaa45800144a27f4354d92', class: "content", style: {
148
148
  display: this.showContent ? 'block' : 'none',
149
- } }, index.h("slot", { key: '1a8be255dce06ad85fd6fb689d8a50375d746b88' })))));
149
+ } }, index.h("slot", { key: 'de087859ac50be70b998ab696698df91f6816f21' })))));
150
150
  }
151
151
  static get watchers() { return {
152
152
  "show": ["onShowChanged"]
@@ -36,11 +36,11 @@ const DropdownButton = class {
36
36
  } }));
37
37
  }
38
38
  render() {
39
- return (index.h(index.Host, { key: 'f30e5874fe837b3b6a9f2ef092f8b4d50cd37979', class: {
39
+ return (index.h(index.Host, { key: '4e4aca39eff13b8f665682b3f2dc9ace533c7ca0', class: {
40
40
  disabled: this.disabled,
41
- }, ref: this.dropdownAnchor }, index.h("div", { key: 'd1407beed3397c7dc0c84a78d4833f22799b7400', class: "dropdown-button" }, this.label ? (index.h("ix-button", { variant: this.variant, disabled: this.disabled, alignment: "start", ariaLabel: this.ariaLabelDropdownButton }, 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: this.dropdownShow
41
+ }, ref: this.dropdownAnchor }, index.h("div", { key: '9583ed2274621e67d779e9668fead87f663b7558', class: "dropdown-button" }, this.label ? (index.h("ix-button", { variant: this.variant, disabled: this.disabled, alignment: "start", ariaLabel: this.ariaLabelDropdownButton }, 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: this.dropdownShow
42
42
  ? index$1.iconChevronUpSmall
43
- : index$1.iconChevronDownSmall, size: "24" })))) : (index.h("div", null, index.h("ix-icon-button", { icon: this.icon, variant: this.variant, disabled: this.disabled }), this.getTriangle()))), index.h("ix-dropdown", { key: '9489f1c35d3483103b30aea27cd595ec9da21d58', class: "dropdown", trigger: this.dropdownAnchor.waitForCurrent(), placement: this.placement, closeBehavior: this.closeBehavior, onShowChanged: this.onDropdownShowChanged }, index.h("slot", { key: 'eccf0e7d86b7c4df9fe48b2873c0a05c7ec9a67f' }))));
43
+ : index$1.iconChevronDownSmall, size: "24" })))) : (index.h("div", null, index.h("ix-icon-button", { icon: this.icon, variant: this.variant, disabled: this.disabled }), this.getTriangle()))), index.h("ix-dropdown", { key: 'e4fd6fb8451d8883fac84764758a90ce6dc4d433', class: "dropdown", trigger: this.dropdownAnchor.waitForCurrent(), placement: this.placement, closeBehavior: this.closeBehavior, onShowChanged: this.onDropdownShowChanged }, index.h("slot", { key: 'be8d3427e80c326bc7a6993f53190e290b824967' }))));
44
44
  }
45
45
  get hostElement() { return index.getElement(this); }
46
46
  };
@@ -9,7 +9,7 @@ const DropdownHeader = class {
9
9
  index.registerInstance(this, hostRef);
10
10
  }
11
11
  render() {
12
- return (index.h(index.Host, { key: '07334cf803a7b60b148a688f954099d4c82dd156' }, index.h("ix-typography", { key: 'e71b5dca614dad0fdc6b29d04744b4d03042fcba', class: 'category-text', format: 'h5' }, this.label)));
12
+ return (index.h(index.Host, { key: '8c2634f5c46a222e4803fa7ae426fcdf9d8edaf4' }, index.h("ix-typography", { key: '0951a5b06d746db809529a9149e021696507ade2', class: 'category-text', format: 'h5' }, this.label)));
13
13
  }
14
14
  };
15
15
  DropdownHeader.style = dropdownHeaderCss;
@@ -40,15 +40,15 @@ const DropdownItem = class {
40
40
  this.icon !== undefined);
41
41
  }
42
42
  render() {
43
- return (index.h(index.Host, { key: 'cd6bfb531ae38e3016ec9ebca8d02ec359c3ea7c', class: {
43
+ return (index.h(index.Host, { key: '4683b34a35d26f4cdce448ed24cdc5115f838fed', class: {
44
44
  hover: this.hover,
45
45
  'icon-only': this.isIconOnly(),
46
46
  disabled: this.disabled,
47
47
  submenu: this.isSubMenu,
48
- }, role: "listitem" }, index.h("button", { key: '0c21ba9811bd0943835d206b2ef520a442817c53', type: "button", tabIndex: 0, class: {
48
+ }, role: "listitem" }, index.h("button", { key: 'a655623c265f18e805a0f60a093dd4ac565ab35c', type: "button", tabIndex: 0, class: {
49
49
  'dropdown-item': true,
50
50
  'no-checked-field': this.suppressChecked,
51
- }, onClick: () => this.emitItemClick(), "aria-label": this.ariaLabelButton }, !this.suppressChecked ? (index.h("div", { class: "dropdown-item-checked" }, this.checked ? (index.h("ix-icon", { class: "checkmark", name: index$1.iconSingleCheck, size: "16" })) : null)) : null, this.icon ? (index.h("ix-icon", { class: "dropdown-item-icon", name: this.icon, "aria-label": this.ariaLabelIcon })) : null, index.h("div", { key: '28895721674306daf8293096800e7a2296be2fbf', class: "dropdown-item-text" }, this.label, index.h("slot", { key: 'b71da89943666f609c8428aa62e91655766f2cb1' })), this.isSubMenu ? (index.h("ix-icon", { name: index$1.iconChevronRightSmall, class: 'submenu-icon' })) : null)));
51
+ }, onClick: () => this.emitItemClick(), "aria-label": this.ariaLabelButton }, !this.suppressChecked ? (index.h("div", { class: "dropdown-item-checked" }, this.checked ? (index.h("ix-icon", { class: "checkmark", name: index$1.iconSingleCheck, size: "16" })) : null)) : null, this.icon ? (index.h("ix-icon", { class: "dropdown-item-icon", name: this.icon, "aria-label": this.ariaLabelIcon })) : null, index.h("div", { key: 'd88e90650387ce4dd0d440fe03bf21c19c785709', class: "dropdown-item-text" }, this.label, index.h("slot", { key: 'd892aabbb2e268d36c348b800c043d08f2ceef83' })), this.isSubMenu ? (index.h("ix-icon", { name: index$1.iconChevronRightSmall, class: 'submenu-icon' })) : null)));
52
52
  }
53
53
  get hostElement() { return index.getElement(this); }
54
54
  };
@@ -9,7 +9,7 @@ const DropdownQuickActions = class {
9
9
  index.registerInstance(this, hostRef);
10
10
  }
11
11
  render() {
12
- return (index.h(index.Host, { key: 'fdd2e2b6dbcb923c0f777d59d6500aae7a809b62' }, index.h("slot", { key: '89da7a8f6531cbee860e5677035357c785743c64' })));
12
+ return (index.h(index.Host, { key: '270b8dba8a8b79072beb81301d923f8f8754b70f' }, index.h("slot", { key: '9970e51c7af36350359311ea217e2a402a35f994' })));
13
13
  }
14
14
  };
15
15
  DropdownQuickActions.style = dropdownQuickActionsCss;
@@ -345,7 +345,7 @@ const Dropdown = class {
345
345
  this.applyDropdownPosition();
346
346
  }
347
347
  render() {
348
- return (index.h(index.Host, { key: '86e8b81af4bc5ad0fe27bbe62e9f1f7eb7c49f7e', "data-ix-dropdown": this.localUId, class: {
348
+ return (index.h(index.Host, { key: '04a27e5950bf94cc355c91e0339f9450d46ff103', "data-ix-dropdown": this.localUId, class: {
349
349
  'dropdown-menu': true,
350
350
  show: this.show,
351
351
  overflow: !this.suppressOverflowBehavior,
@@ -353,7 +353,7 @@ const Dropdown = class {
353
353
  margin: '0',
354
354
  minWidth: '0px',
355
355
  position: this.positioningStrategy,
356
- }, role: "list", onClick: (event) => this.onDropdownClick(event) }, index.h("div", { key: '071d50d4dd055be7a6d430cf913de9e6a99ca88b', style: { display: 'contents' } }, this.header && index.h("div", { key: '408ab95eb7afaa61e1752204ebc1435038ecf49d', class: "dropdown-header" }, this.header), this.show && index.h("slot", { key: '3945c3c05e90a93acaaaff3110a26485fe058324' }))));
356
+ }, role: "list", onClick: (event) => this.onDropdownClick(event) }, index.h("div", { key: 'a5a82065838d09c0b0e8aa24887485664d0631b7', style: { display: 'contents' } }, this.header && index.h("div", { key: '08e34e9d67769670fed4328d59d23de0d0bc1ccb', class: "dropdown-header" }, this.header), this.show && index.h("slot", { key: 'ecf81415481bb26881fd6976b5e069ac444bb821' }))));
357
357
  }
358
358
  get hostElement() { return index.getElement(this); }
359
359
  static get watchers() { return {
@@ -14,7 +14,7 @@ const EmptyState = class {
14
14
  this.layout = 'large';
15
15
  }
16
16
  render() {
17
- return (index.h(index.Host, { key: 'c157ef4dd8518201fdae6fe41bf00208aa0067a7', class: `emptyState emptyState--${this.layout}` }, this.icon && (index.h("div", { key: '77152339a4f5e696d159ff2f37081debca16ef4d', class: "emptyState__icon" }, index.h("ix-icon", { key: '274f9d1288fc209e07b7b53286b149582c9ae2b9', name: this.icon, size: this.layout === 'large' ? '32' : '32', color: "color-soft-text", "aria-label": this.ariaLabelEmptyStateIcon }))), index.h("div", { key: '9f9aeddd7f574c59ac82ddf5d3abca5ca963257e', class: "emptyState__content" }, index.h("div", { key: '1def400c5abb743075aa44d531acf6ee97d2cb65', class: "content__label" }, index.h("ix-typography", { key: '9b304c1ae25a9dba4339c585b762cc98a369c3b5', format: this.layout === 'large' ? 'h3' : 'body' }, this.header), this.subHeader && (index.h("div", { key: 'f55d27f18bb2ad7ad4e0952c2a2b65c95a169a62', class: "label__subHeader" }, this.subHeader))), this.action && (index.h("div", { key: '45eda366d47fc9a8077b84015dd7f311df5a572f', class: "content__action" }, index.h("ix-button", { key: '349520a7e809efe28770db0ad81641ed450d1ef7', onClick: () => this.actionClick.emit() }, this.action))))));
17
+ return (index.h(index.Host, { key: '40044bc561b77f0ca121fec086c4e50959cd84b8', class: `emptyState emptyState--${this.layout}` }, this.icon && (index.h("div", { key: '4f7caad68b5bfdae9a3becc0d9cb86e6aa121b9a', class: "emptyState__icon" }, index.h("ix-icon", { key: '4f3540bc8589358f3a81136bf18e37a963ccf8c4', name: this.icon, size: this.layout === 'large' ? '32' : '32', color: "color-soft-text", "aria-label": this.ariaLabelEmptyStateIcon }))), index.h("div", { key: 'aa658e73609ff249ada8b4a11897bc6fd16f3e27', class: "emptyState__content" }, index.h("div", { key: 'f46a03dcf711bdfc3919d3f94e5b60e64f434173', class: "content__label" }, index.h("ix-typography", { key: 'dd56a7bc024921adedf792ed956614a13a7dd723', format: this.layout === 'large' ? 'h3' : 'body' }, this.header), this.subHeader && (index.h("div", { key: '7813b0fd9e490328b24566ae0abb805dbc2d1b3b', class: "label__subHeader" }, this.subHeader))), this.action && (index.h("div", { key: '4ffbf8f873bff95e04376dac344cd312d39a68d6', class: "content__action" }, index.h("ix-button", { key: '20739fd736c3176034dcc6d564c09879f745b9b3', onClick: () => this.actionClick.emit() }, this.action))))));
18
18
  }
19
19
  };
20
20
  EmptyState.style = emptyStateCss;