@siemens/ix 0.0.0-pr-1318-20240627080522 → 0.0.0-pr-1522-20241021144048

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1498) hide show
  1. package/components/a11y.js +3 -4
  2. package/components/a11y.js.map +1 -1
  3. package/components/application-header.js +51 -15
  4. package/components/application-header.js.map +1 -1
  5. package/components/avatar.js +1 -1
  6. package/components/avatar.js.map +1 -1
  7. package/components/base-button.js +2 -2
  8. package/components/base-button.js.map +1 -1
  9. package/components/button.js +2 -2
  10. package/components/button.js.map +1 -1
  11. package/components/card-accordion.js +6 -6
  12. package/components/card-accordion.js.map +1 -1
  13. package/components/card-content.js +1 -1
  14. package/components/card-title.js +1 -1
  15. package/components/card.js +4 -4
  16. package/components/card.js.map +1 -1
  17. package/components/col.js +1 -1
  18. package/components/col.js.map +1 -1
  19. package/components/context.js +6 -3
  20. package/components/context.js.map +1 -1
  21. package/components/date-picker.js +53 -41
  22. package/components/date-picker.js.map +1 -1
  23. package/components/date-time-card.js +2 -2
  24. package/components/date-time-card.js.map +1 -1
  25. package/components/divider.js +1 -1
  26. package/{dist/esm/dropdown-controller-d6d8b14a.js → components/dropdown-controller.js} +16 -11
  27. package/components/dropdown-controller.js.map +1 -0
  28. package/components/dropdown-item.js +4 -4
  29. package/components/dropdown-item.js.map +1 -1
  30. package/components/dropdown.js +120 -206
  31. package/components/dropdown.js.map +1 -1
  32. package/components/filter-chip.js +1 -1
  33. package/components/floating-ui.dom.esm.js +533 -60
  34. package/components/floating-ui.dom.esm.js.map +1 -1
  35. package/components/group-context-menu.js +1 -1
  36. package/components/group-context-menu.js.map +1 -1
  37. package/components/group-item.js +4 -8
  38. package/components/group-item.js.map +1 -1
  39. package/components/icon-button.js +1 -1
  40. package/components/index.js +5 -19
  41. package/components/index.js.map +1 -1
  42. package/components/ix-action-card.js +1 -1
  43. package/components/ix-action-card.js.map +1 -1
  44. package/components/ix-application-sidebar.js +1 -1
  45. package/components/ix-application-switch-modal.js +1 -1
  46. package/components/ix-application.js +4 -4
  47. package/components/ix-application.js.map +1 -1
  48. package/components/ix-basic-navigation.js +18 -12
  49. package/components/ix-basic-navigation.js.map +1 -1
  50. package/components/ix-blind.js +5 -5
  51. package/components/ix-blind.js.map +1 -1
  52. package/components/ix-breadcrumb.js +9 -10
  53. package/components/ix-breadcrumb.js.map +1 -1
  54. package/components/ix-card-list.js +6 -6
  55. package/components/ix-card-list.js.map +1 -1
  56. package/components/ix-category-filter.js +129 -71
  57. package/components/ix-category-filter.js.map +1 -1
  58. package/components/ix-chip.js +4 -4
  59. package/components/ix-chip.js.map +1 -1
  60. package/components/ix-content-header.js +2 -2
  61. package/components/ix-content-header.js.map +1 -1
  62. package/components/ix-content.js +3 -3
  63. package/components/ix-css-grid-item.js +1 -1
  64. package/components/ix-css-grid.js +8 -3
  65. package/components/ix-css-grid.js.map +1 -1
  66. package/components/ix-date-dropdown.js +25 -16
  67. package/components/ix-date-dropdown.js.map +1 -1
  68. package/components/ix-datetime-picker.js +1 -1
  69. package/components/ix-drawer.js +2 -2
  70. package/components/ix-dropdown-button.js +5 -7
  71. package/components/ix-dropdown-button.js.map +1 -1
  72. package/components/ix-dropdown-header.js +1 -1
  73. package/components/ix-dropdown-header.js.map +1 -1
  74. package/components/ix-dropdown-quick-actions.js +1 -1
  75. package/components/ix-empty-state.js +1 -1
  76. package/components/ix-empty-state.js.map +1 -1
  77. package/components/ix-event-list-item.js +4 -4
  78. package/components/ix-event-list.js +2 -2
  79. package/components/ix-expanding-search.js +4 -4
  80. package/components/ix-flip-tile-content.js +1 -1
  81. package/components/ix-flip-tile.js +4 -4
  82. package/components/{ix-text-field.d.ts → ix-form-field.d.ts} +4 -4
  83. package/components/ix-form-field.js +44 -0
  84. package/components/ix-form-field.js.map +1 -0
  85. package/components/ix-group.js +69 -44
  86. package/components/ix-group.js.map +1 -1
  87. package/components/ix-icon-toggle-button.js +1 -2
  88. package/components/ix-icon-toggle-button.js.map +1 -1
  89. package/components/ix-input-group.js +1 -1
  90. package/components/ix-key-value-list.js +1 -1
  91. package/components/ix-key-value.js +1 -1
  92. package/components/ix-kpi.js +3 -3
  93. package/components/ix-kpi.js.map +1 -1
  94. package/components/ix-link-button.js +3 -3
  95. package/components/ix-map-navigation.js +21 -15
  96. package/components/ix-map-navigation.js.map +1 -1
  97. package/components/ix-menu-about-item.js +1 -1
  98. package/components/ix-menu-about-news.js +4 -4
  99. package/components/ix-menu-about-news.js.map +1 -1
  100. package/components/ix-menu-about.js +1 -1
  101. package/components/ix-menu-avatar.js +2 -2
  102. package/components/ix-menu-category.js +5 -5
  103. package/components/ix-menu-category.js.map +1 -1
  104. package/components/ix-menu-settings-item.js +1 -1
  105. package/components/ix-menu.js +12 -12
  106. package/components/ix-menu.js.map +1 -1
  107. package/components/ix-message-bar.js +1 -1
  108. package/components/ix-modal-example.js +1 -1
  109. package/components/ix-modal-footer.js +1 -1
  110. package/components/ix-modal-loading.js +1 -1
  111. package/components/ix-modal.js +11 -4
  112. package/components/ix-modal.js.map +1 -1
  113. package/components/ix-pagination.js +17 -35
  114. package/components/ix-pagination.js.map +1 -1
  115. package/components/ix-pane-layout.js +1 -1
  116. package/components/ix-pane.js +6 -6
  117. package/components/ix-pane.js.map +1 -1
  118. package/components/ix-pill.js +4 -4
  119. package/components/ix-pill.js.map +1 -1
  120. package/components/ix-playground-internal.js +1 -1
  121. package/components/ix-playground-internal.js.map +1 -1
  122. package/components/ix-push-card.js +1 -1
  123. package/components/ix-push-card.js.map +1 -1
  124. package/components/ix-slider.js +21 -14
  125. package/components/ix-slider.js.map +1 -1
  126. package/components/ix-split-button-item.js +1 -1
  127. package/components/ix-split-button.js +1 -1
  128. package/components/ix-tile.js +4 -4
  129. package/components/ix-tile.js.map +1 -1
  130. package/components/ix-toast-container.js +2 -2
  131. package/components/ix-toast-container.js.map +1 -1
  132. package/components/ix-toggle-button.js +2 -2
  133. package/components/ix-toggle.js +5 -43
  134. package/components/ix-toggle.js.map +1 -1
  135. package/components/ix-tree.js +21 -7
  136. package/components/ix-tree.js.map +1 -1
  137. package/components/ix-upload.js +60 -4
  138. package/components/ix-upload.js.map +1 -1
  139. package/components/ix-validation-tooltip.js +2 -2
  140. package/components/ix-workflow-step.js +3 -3
  141. package/components/ix-workflow-step.js.map +1 -1
  142. package/components/ix-workflow-steps.js +1 -1
  143. package/components/ix-workflow-steps.js.map +1 -1
  144. package/components/layout-grid.js +2 -2
  145. package/components/layout-grid.js.map +1 -1
  146. package/components/listener.js +2 -2
  147. package/components/listener.js.map +1 -1
  148. package/components/logical-filter-operator.js +1 -1
  149. package/components/logical-filter-operator.js.map +1 -1
  150. package/components/make-ref.js +7 -17
  151. package/components/make-ref.js.map +1 -1
  152. package/components/map-navigation-overlay.js +2 -2
  153. package/components/menu-avatar-item.js +1 -1
  154. package/components/menu-expand-icon.js +1 -1
  155. package/components/menu-expand-icon.js.map +1 -1
  156. package/components/menu-item.js +14 -14
  157. package/components/menu-item.js.map +1 -1
  158. package/components/menu-tabs-fc.js +17 -14
  159. package/components/menu-tabs-fc.js.map +1 -1
  160. package/components/modal-content.js +2 -2
  161. package/components/modal-content.js.map +1 -1
  162. package/components/modal-header.js +2 -2
  163. package/components/modal-header.js.map +1 -1
  164. package/components/row.js +1 -1
  165. package/components/row.js.map +1 -1
  166. package/components/select-item.js +1 -1
  167. package/components/select.js +117 -203
  168. package/components/select.js.map +1 -1
  169. package/components/service.js +2 -2
  170. package/components/service.js.map +1 -1
  171. package/components/shadow-dom.js +1 -1
  172. package/components/shadow-dom.js.map +1 -1
  173. package/components/spinner.js +1 -1
  174. package/components/tab-item.js +3 -3
  175. package/components/tab-item.js.map +1 -1
  176. package/components/tabs.js +77 -43
  177. package/components/tabs.js.map +1 -1
  178. package/components/theme-switcher.js +1 -0
  179. package/components/theme-switcher.js.map +1 -1
  180. package/components/time-picker.js +4 -4
  181. package/components/time-picker.js.map +1 -1
  182. package/components/toast.js +2 -2
  183. package/components/toast.js.map +1 -1
  184. package/components/tooltip.js +25 -23
  185. package/components/tooltip.js.map +1 -1
  186. package/components/tree-item.js +8 -8
  187. package/components/tree-item.js.map +1 -1
  188. package/components/typography.js +3 -25
  189. package/components/typography.js.map +1 -1
  190. package/dist/cjs/{a11y-32046b56.js → a11y-eba397e8.js} +4 -5
  191. package/dist/cjs/a11y-eba397e8.js.map +1 -0
  192. package/dist/cjs/{base-button-16d4fadf.js → base-button-a472cf2f.js} +4 -4
  193. package/dist/cjs/base-button-a472cf2f.js.map +1 -0
  194. package/dist/cjs/{base-icon-button-aba2ddbf.js → base-icon-button-9ff5faad.js} +3 -3
  195. package/dist/cjs/{base-icon-button-aba2ddbf.js.map → base-icon-button-9ff5faad.js.map} +1 -1
  196. package/dist/cjs/{context-98f4a0b3.js → context-6644f454.js} +7 -4
  197. package/dist/cjs/context-6644f454.js.map +1 -0
  198. package/dist/cjs/disposable-event-listener-1ed769b9.js +20 -0
  199. package/dist/cjs/disposable-event-listener-1ed769b9.js.map +1 -0
  200. package/dist/cjs/{dropdown-controller-403dc7fa.js → dropdown-controller-1781ef55.js} +15 -11
  201. package/dist/cjs/dropdown-controller-1781ef55.js.map +1 -0
  202. package/dist/cjs/{floating-ui.dom.esm-94b4d17c.js → floating-ui.dom.esm-9dde6cd6.js} +534 -60
  203. package/dist/cjs/floating-ui.dom.esm-9dde6cd6.js.map +1 -0
  204. package/dist/cjs/{focus-9c8ffbb0.js → focus-83f8f1ba.js} +21 -18
  205. package/dist/cjs/focus-83f8f1ba.js.map +1 -0
  206. package/dist/cjs/{index-0f6297c8.js → index-529f21c1.js} +156 -78
  207. package/dist/cjs/index-529f21c1.js.map +1 -0
  208. package/dist/cjs/index.cjs.js +4 -19
  209. package/dist/cjs/index.cjs.js.map +1 -1
  210. package/dist/cjs/ix-action-card.cjs.entry.js +2 -2
  211. package/dist/cjs/ix-action-card.cjs.entry.js.map +1 -1
  212. package/dist/cjs/ix-application-header.cjs.entry.js +36 -10
  213. package/dist/cjs/ix-application-header.cjs.entry.js.map +1 -1
  214. package/dist/cjs/ix-application-sidebar.cjs.entry.js +2 -2
  215. package/dist/cjs/ix-application-switch-modal.cjs.entry.js +2 -2
  216. package/dist/cjs/ix-application.cjs.entry.js +9 -9
  217. package/dist/cjs/ix-application.cjs.entry.js.map +1 -1
  218. package/dist/cjs/ix-avatar_2.cjs.entry.js +6 -6
  219. package/dist/cjs/ix-avatar_2.cjs.entry.js.map +1 -1
  220. package/dist/cjs/ix-basic-navigation.cjs.entry.js +5 -5
  221. package/dist/cjs/ix-basic-navigation.cjs.entry.js.map +1 -1
  222. package/dist/cjs/ix-blind.cjs.entry.js +7 -7
  223. package/dist/cjs/ix-blind.cjs.entry.js.map +1 -1
  224. package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +3 -3
  225. package/dist/cjs/ix-breadcrumb.cjs.entry.js +11 -10
  226. package/dist/cjs/ix-breadcrumb.cjs.entry.js.map +1 -1
  227. package/dist/cjs/ix-button.cjs.entry.js +4 -4
  228. package/dist/cjs/ix-button.cjs.entry.js.map +1 -1
  229. package/dist/cjs/ix-card-accordion_2.cjs.entry.js +8 -8
  230. package/dist/cjs/ix-card-accordion_2.cjs.entry.js.map +1 -1
  231. package/dist/cjs/ix-card-list.cjs.entry.js +7 -7
  232. package/dist/cjs/ix-card-list.cjs.entry.js.map +1 -1
  233. package/dist/cjs/ix-card_2.cjs.entry.js +6 -6
  234. package/dist/cjs/ix-card_2.cjs.entry.js.map +1 -1
  235. package/dist/cjs/ix-category-filter.cjs.entry.js +132 -72
  236. package/dist/cjs/ix-category-filter.cjs.entry.js.map +1 -1
  237. package/dist/cjs/ix-chip.cjs.entry.js +5 -5
  238. package/dist/cjs/ix-chip.cjs.entry.js.map +1 -1
  239. package/dist/cjs/ix-col_4.cjs.entry.js +59 -43
  240. package/dist/cjs/ix-col_4.cjs.entry.js.map +1 -1
  241. package/dist/cjs/ix-content-header.cjs.entry.js +3 -3
  242. package/dist/cjs/ix-content-header.cjs.entry.js.map +1 -1
  243. package/dist/cjs/ix-content.cjs.entry.js +5 -5
  244. package/dist/cjs/ix-css-grid-item.cjs.entry.js +2 -2
  245. package/dist/cjs/ix-css-grid.cjs.entry.js +9 -4
  246. package/dist/cjs/ix-css-grid.cjs.entry.js.map +1 -1
  247. package/dist/cjs/ix-date-dropdown.cjs.entry.js +26 -16
  248. package/dist/cjs/ix-date-dropdown.cjs.entry.js.map +1 -1
  249. package/dist/cjs/ix-date-time-card.cjs.entry.js +2 -2
  250. package/dist/cjs/ix-date-time-card.cjs.entry.js.map +1 -1
  251. package/dist/cjs/ix-datetime-picker.cjs.entry.js +2 -2
  252. package/dist/cjs/ix-divider.cjs.entry.js +2 -2
  253. package/dist/cjs/ix-drawer.cjs.entry.js +3 -3
  254. package/dist/cjs/ix-dropdown-button.cjs.entry.js +5 -6
  255. package/dist/cjs/ix-dropdown-button.cjs.entry.js.map +1 -1
  256. package/dist/cjs/ix-dropdown-header.cjs.entry.js +2 -2
  257. package/dist/cjs/ix-dropdown-header.cjs.entry.js.map +1 -1
  258. package/dist/cjs/ix-dropdown-item.cjs.entry.js +5 -5
  259. package/dist/cjs/ix-dropdown-item.cjs.entry.js.map +1 -1
  260. package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +2 -2
  261. package/dist/cjs/ix-dropdown.cjs.entry.js +87 -49
  262. package/dist/cjs/ix-dropdown.cjs.entry.js.map +1 -1
  263. package/dist/cjs/ix-empty-state.cjs.entry.js +2 -2
  264. package/dist/cjs/ix-empty-state.cjs.entry.js.map +1 -1
  265. package/dist/cjs/ix-event-list-item.cjs.entry.js +6 -6
  266. package/dist/cjs/ix-event-list.cjs.entry.js +3 -3
  267. package/dist/cjs/ix-expanding-search.cjs.entry.js +5 -5
  268. package/dist/cjs/ix-filter-chip_2.cjs.entry.js +3 -3
  269. package/dist/cjs/ix-flip-tile-content.cjs.entry.js +2 -2
  270. package/dist/cjs/ix-flip-tile.cjs.entry.js +5 -5
  271. package/dist/cjs/ix-form-field.cjs.entry.js +28 -0
  272. package/dist/cjs/ix-form-field.cjs.entry.js.map +1 -0
  273. package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +7 -11
  274. package/dist/cjs/ix-group-context-menu_2.cjs.entry.js.map +1 -1
  275. package/dist/cjs/ix-group.cjs.entry.js +69 -45
  276. package/dist/cjs/ix-group.cjs.entry.js.map +1 -1
  277. package/dist/cjs/ix-icon-button_2.cjs.entry.js +6 -6
  278. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +5 -6
  279. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js.map +1 -1
  280. package/dist/cjs/ix-input-group.cjs.entry.js +3 -3
  281. package/dist/cjs/ix-key-value-list.cjs.entry.js +2 -2
  282. package/dist/cjs/ix-key-value.cjs.entry.js +2 -2
  283. package/dist/cjs/ix-kpi.cjs.entry.js +4 -4
  284. package/dist/cjs/ix-kpi.cjs.entry.js.map +1 -1
  285. package/dist/cjs/ix-link-button.cjs.entry.js +4 -4
  286. package/dist/cjs/ix-map-navigation-overlay.cjs.entry.js +3 -3
  287. package/dist/cjs/ix-map-navigation.cjs.entry.js +5 -5
  288. package/dist/cjs/ix-map-navigation.cjs.entry.js.map +1 -1
  289. package/dist/cjs/ix-menu-about-item.cjs.entry.js +2 -2
  290. package/dist/cjs/ix-menu-about-news.cjs.entry.js +5 -5
  291. package/dist/cjs/ix-menu-about-news.cjs.entry.js.map +1 -1
  292. package/dist/cjs/ix-menu-about.cjs.entry.js +3 -3
  293. package/dist/cjs/ix-menu-avatar.cjs.entry.js +4 -4
  294. package/dist/cjs/ix-menu-category.cjs.entry.js +7 -7
  295. package/dist/cjs/ix-menu-category.cjs.entry.js.map +1 -1
  296. package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +4 -4
  297. package/dist/cjs/ix-menu-expand-icon.cjs.entry.js.map +1 -1
  298. package/dist/cjs/ix-menu-item.cjs.entry.js +15 -15
  299. package/dist/cjs/ix-menu-item.cjs.entry.js.map +1 -1
  300. package/dist/cjs/ix-menu-settings-item.cjs.entry.js +2 -2
  301. package/dist/cjs/ix-menu-settings.cjs.entry.js +2 -2
  302. package/dist/cjs/ix-menu.cjs.entry.js +16 -16
  303. package/dist/cjs/ix-menu.cjs.entry.js.map +1 -1
  304. package/dist/cjs/ix-message-bar.cjs.entry.js +2 -2
  305. package/dist/cjs/ix-modal-content_2.cjs.entry.js +6 -6
  306. package/dist/cjs/ix-modal-content_2.cjs.entry.js.map +1 -1
  307. package/dist/cjs/ix-modal-example.cjs.entry.js +2 -2
  308. package/dist/cjs/ix-modal-footer.cjs.entry.js +2 -2
  309. package/dist/cjs/ix-modal-loading.cjs.entry.js +2 -2
  310. package/dist/cjs/ix-modal.cjs.entry.js +14 -7
  311. package/dist/cjs/ix-modal.cjs.entry.js.map +1 -1
  312. package/dist/cjs/ix-pagination.cjs.entry.js +6 -6
  313. package/dist/cjs/ix-pagination.cjs.entry.js.map +1 -1
  314. package/dist/cjs/ix-pane-layout.cjs.entry.js +3 -3
  315. package/dist/cjs/ix-pane.cjs.entry.js +8 -8
  316. package/dist/cjs/ix-pane.cjs.entry.js.map +1 -1
  317. package/dist/cjs/ix-pill.cjs.entry.js +5 -5
  318. package/dist/cjs/ix-pill.cjs.entry.js.map +1 -1
  319. package/dist/cjs/ix-playground-internal.cjs.entry.js +2 -2
  320. package/dist/cjs/ix-playground-internal.cjs.entry.js.map +1 -1
  321. package/dist/cjs/ix-push-card.cjs.entry.js +2 -2
  322. package/dist/cjs/ix-push-card.cjs.entry.js.map +1 -1
  323. package/dist/cjs/ix-select.cjs.entry.js +108 -157
  324. package/dist/cjs/ix-select.cjs.entry.js.map +1 -1
  325. package/dist/cjs/ix-slider.cjs.entry.js +24 -17
  326. package/dist/cjs/ix-slider.cjs.entry.js.map +1 -1
  327. package/dist/cjs/ix-split-button-item.cjs.entry.js +3 -3
  328. package/dist/cjs/ix-split-button.cjs.entry.js +2 -2
  329. package/dist/cjs/ix-tab-item_2.cjs.entry.js +75 -45
  330. package/dist/cjs/ix-tab-item_2.cjs.entry.js.map +1 -1
  331. package/dist/cjs/ix-tile.cjs.entry.js +5 -5
  332. package/dist/cjs/ix-tile.cjs.entry.js.map +1 -1
  333. package/dist/cjs/ix-time-picker.cjs.entry.js +5 -5
  334. package/dist/cjs/ix-time-picker.cjs.entry.js.map +1 -1
  335. package/dist/cjs/ix-toast-container.cjs.entry.js +3 -3
  336. package/dist/cjs/ix-toast-container.cjs.entry.js.map +1 -1
  337. package/dist/cjs/ix-toast.cjs.entry.js +3 -3
  338. package/dist/cjs/ix-toast.cjs.entry.js.map +1 -1
  339. package/dist/cjs/ix-toggle-button.cjs.entry.js +5 -5
  340. package/dist/cjs/ix-toggle.cjs.entry.js +5 -42
  341. package/dist/cjs/ix-toggle.cjs.entry.js.map +1 -1
  342. package/dist/cjs/ix-tooltip.cjs.entry.js +299 -0
  343. package/dist/cjs/ix-tooltip.cjs.entry.js.map +1 -0
  344. package/dist/cjs/ix-tree-item.cjs.entry.js +9 -9
  345. package/dist/cjs/ix-tree-item.cjs.entry.js.map +1 -1
  346. package/dist/cjs/ix-tree.cjs.entry.js +22 -8
  347. package/dist/cjs/ix-tree.cjs.entry.js.map +1 -1
  348. package/dist/cjs/ix-typography.cjs.entry.js +4 -25
  349. package/dist/cjs/ix-typography.cjs.entry.js.map +1 -1
  350. package/dist/cjs/ix-upload.cjs.entry.js +59 -5
  351. package/dist/cjs/ix-upload.cjs.entry.js.map +1 -1
  352. package/dist/cjs/ix-validation-tooltip.cjs.entry.js +4 -4
  353. package/dist/cjs/ix-workflow-step.cjs.entry.js +4 -4
  354. package/dist/cjs/ix-workflow-step.cjs.entry.js.map +1 -1
  355. package/dist/cjs/ix-workflow-steps.cjs.entry.js +2 -2
  356. package/dist/cjs/ix-workflow-steps.cjs.entry.js.map +1 -1
  357. package/dist/cjs/{listener-0881dc51.js → listener-164d1a4a.js} +4 -4
  358. package/dist/cjs/listener-164d1a4a.js.map +1 -0
  359. package/dist/cjs/loader.cjs.js +2 -2
  360. package/dist/cjs/{logical-filter-operator-5564322e.js → logical-filter-operator-4917393f.js} +2 -2
  361. package/dist/cjs/{logical-filter-operator-5564322e.js.map → logical-filter-operator-4917393f.js.map} +1 -1
  362. package/dist/cjs/{make-ref-01530e5a.js → make-ref-499e1e41.js} +8 -18
  363. package/dist/cjs/make-ref-499e1e41.js.map +1 -0
  364. package/dist/cjs/{menu-tabs-fc-f6b706e3.js → menu-tabs-fc-b532aeb4.js} +19 -16
  365. package/dist/cjs/menu-tabs-fc-b532aeb4.js.map +1 -0
  366. package/dist/cjs/{service-a42add5f.js → service-39a8e5fe.js} +3 -3
  367. package/dist/cjs/service-39a8e5fe.js.map +1 -0
  368. package/dist/cjs/{shadow-dom-73f9d553.js → shadow-dom-454acc38.js} +2 -2
  369. package/dist/cjs/{shadow-dom-73f9d553.js.map → shadow-dom-454acc38.js.map} +1 -1
  370. package/dist/cjs/siemens-ix.cjs.js +2 -2
  371. package/dist/cjs/{theme-switcher-2d2bde85.js → theme-switcher-88b70d73.js} +2 -1
  372. package/dist/cjs/theme-switcher-88b70d73.js.map +1 -0
  373. package/dist/collection/collection-manifest.json +1 -13
  374. package/dist/collection/components/action-card/action-card.js +8 -5
  375. package/dist/collection/components/action-card/action-card.js.map +1 -1
  376. package/dist/collection/components/application/application.css +26 -6
  377. package/dist/collection/components/application/application.js +3 -3
  378. package/dist/collection/components/application/application.js.map +1 -1
  379. package/dist/collection/components/application-header/application-header.css +9 -7
  380. package/dist/collection/components/application-header/application-header.js +78 -6
  381. package/dist/collection/components/application-header/application-header.js.map +1 -1
  382. package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.js +1 -1
  383. package/dist/collection/components/application-sidebar/application-sidebar.js +1 -1
  384. package/dist/collection/components/avatar/avatar.css +42 -0
  385. package/dist/collection/components/basic-navigation/basic-navigation.js +7 -4
  386. package/dist/collection/components/basic-navigation/basic-navigation.js.map +1 -1
  387. package/dist/collection/components/blind/blind.css +1 -1
  388. package/dist/collection/components/blind/blind.js +10 -10
  389. package/dist/collection/components/blind/blind.js.map +1 -1
  390. package/dist/collection/components/blind/test/blind.ct.js +1 -1
  391. package/dist/collection/components/blind/test/blind.ct.js.map +1 -1
  392. package/dist/collection/components/breadcrumb/breadcrumb.js +9 -10
  393. package/dist/collection/components/breadcrumb/breadcrumb.js.map +1 -1
  394. package/dist/collection/components/button/base-button.js +2 -2
  395. package/dist/collection/components/button/base-button.js.map +1 -1
  396. package/dist/collection/components/button/button.js +3 -3
  397. package/dist/collection/components/button/button.js.map +1 -1
  398. package/dist/collection/components/card/card.css +3 -3
  399. package/dist/collection/components/card/card.js +10 -6
  400. package/dist/collection/components/card/card.js.map +1 -1
  401. package/dist/collection/components/card-accordion/card-accordion.css +4 -4
  402. package/dist/collection/components/card-accordion/card-accordion.js +5 -5
  403. package/dist/collection/components/card-accordion/card-accordion.js.map +1 -1
  404. package/dist/collection/components/card-content/card-content.js +1 -1
  405. package/dist/collection/components/card-list/card-list.css +6 -0
  406. package/dist/collection/components/card-list/card-list.js +5 -5
  407. package/dist/collection/components/card-list/card-list.js.map +1 -1
  408. package/dist/collection/components/card-title/card-title.js +1 -1
  409. package/dist/collection/components/category-filter/category-filter.css +32 -132
  410. package/dist/collection/components/category-filter/category-filter.js +138 -78
  411. package/dist/collection/components/category-filter/category-filter.js.map +1 -1
  412. package/dist/collection/components/category-filter/logical-filter-operator.js +1 -1
  413. package/dist/collection/components/category-filter/logical-filter-operator.js.map +1 -1
  414. package/dist/collection/components/category-filter/test/category-filter.ct.js +52 -0
  415. package/dist/collection/components/category-filter/test/category-filter.ct.js.map +1 -0
  416. package/dist/collection/components/chip/chip.css +2 -2
  417. package/dist/collection/components/chip/chip.js +5 -5
  418. package/dist/collection/components/chip/chip.js.map +1 -1
  419. package/dist/collection/components/col/col.css +1 -1
  420. package/dist/collection/components/col/col.js +2 -2
  421. package/dist/collection/components/col/col.js.map +1 -1
  422. package/dist/collection/components/content/content.js +3 -3
  423. package/dist/collection/components/content-header/content-header.css +6 -3
  424. package/dist/collection/components/content-header/content-header.js +2 -2
  425. package/dist/collection/components/content-header/content-header.js.map +1 -1
  426. package/dist/collection/components/css-grid/css-grid-item.js +1 -1
  427. package/dist/collection/components/css-grid/css-grid.js +9 -4
  428. package/dist/collection/components/css-grid/css-grid.js.map +1 -1
  429. package/dist/collection/components/date-dropdown/date-dropdown.js +34 -21
  430. package/dist/collection/components/date-dropdown/date-dropdown.js.map +1 -1
  431. package/dist/collection/components/date-picker/date-picker.js +62 -48
  432. package/dist/collection/components/date-picker/date-picker.js.map +1 -1
  433. package/dist/collection/components/date-time-card/date-time-card.js +7 -6
  434. package/dist/collection/components/date-time-card/date-time-card.js.map +1 -1
  435. package/dist/collection/components/datetime-picker/datetime-picker.js +1 -1
  436. package/dist/collection/components/divider/divider.js +1 -1
  437. package/dist/collection/components/drawer/drawer.js +2 -2
  438. package/dist/collection/components/dropdown/dropdown-controller.js +14 -13
  439. package/dist/collection/components/dropdown/dropdown-controller.js.map +1 -1
  440. package/dist/collection/components/dropdown/dropdown.js +101 -65
  441. package/dist/collection/components/dropdown/dropdown.js.map +1 -1
  442. package/dist/collection/components/dropdown/test/dropdown.ct.js +19 -8
  443. package/dist/collection/components/dropdown/test/dropdown.ct.js.map +1 -1
  444. package/dist/collection/components/dropdown-button/dropdown-button.ct.js +28 -0
  445. package/dist/collection/components/dropdown-button/dropdown-button.ct.js.map +1 -1
  446. package/dist/collection/components/dropdown-button/dropdown-button.js +7 -13
  447. package/dist/collection/components/dropdown-button/dropdown-button.js.map +1 -1
  448. package/dist/collection/components/dropdown-header/dropdown-header.js +1 -1
  449. package/dist/collection/components/dropdown-header/dropdown-header.js.map +1 -1
  450. package/dist/collection/components/dropdown-item/dropdown-item.css +3 -3
  451. package/dist/collection/components/dropdown-item/dropdown-item.js +5 -5
  452. package/dist/collection/components/dropdown-item/dropdown-item.js.map +1 -1
  453. package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js +1 -1
  454. package/dist/collection/components/empty-state/empty-state.js +1 -1
  455. package/dist/collection/components/empty-state/empty-state.js.map +1 -1
  456. package/dist/collection/components/event-list/event-list.js +2 -2
  457. package/dist/collection/components/event-list-item/event-list-item.js +4 -4
  458. package/dist/collection/components/expanding-search/expanding-search.js +4 -4
  459. package/dist/collection/components/filter-chip/filter-chip.js +1 -1
  460. package/dist/collection/components/flip-tile/flip-tile.js +4 -4
  461. package/dist/collection/components/flip-tile-content/flip-tile-content.js +1 -1
  462. package/dist/collection/components/{text-field/number-field.css → form-field/form-field.css} +15 -242
  463. package/dist/collection/components/form-field/form-field.js +56 -0
  464. package/dist/collection/components/form-field/form-field.js.map +1 -0
  465. package/dist/collection/components/grid/layout-grid.css +1 -1
  466. package/dist/collection/components/grid/layout-grid.js +3 -3
  467. package/dist/collection/components/grid/layout-grid.js.map +1 -1
  468. package/dist/collection/components/group/group-context-menu.css +1 -1
  469. package/dist/collection/components/group/group-context-menu.js +2 -2
  470. package/dist/collection/components/group/group-context-menu.js.map +1 -1
  471. package/dist/collection/components/group/group.css +3 -2
  472. package/dist/collection/components/group/group.js +84 -48
  473. package/dist/collection/components/group/group.js.map +1 -1
  474. package/dist/collection/components/group/test/group.ct.js +70 -2
  475. package/dist/collection/components/group/test/group.ct.js.map +1 -1
  476. package/dist/collection/components/group-item/group-item.css +0 -4
  477. package/dist/collection/components/group-item/group-item.js +9 -12
  478. package/dist/collection/components/group-item/group-item.js.map +1 -1
  479. package/dist/collection/components/icon-button/icon-button.js +1 -1
  480. package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +1 -2
  481. package/dist/collection/components/icon-toggle-button/icon-toggle-button.js.map +1 -1
  482. package/dist/collection/components/input-group/input-group.js +1 -1
  483. package/dist/collection/components/key-value/key-value.js +1 -1
  484. package/dist/collection/components/key-value-list/key-value-list.js +1 -1
  485. package/dist/collection/components/kpi/kpi.css +1 -1
  486. package/dist/collection/components/kpi/kpi.js +4 -4
  487. package/dist/collection/components/kpi/kpi.js.map +1 -1
  488. package/dist/collection/components/link-button/link-button.js +3 -3
  489. package/dist/collection/components/map-navigation/map-navigation.css +3 -3
  490. package/dist/collection/components/map-navigation/map-navigation.js +2 -2
  491. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +2 -2
  492. package/dist/collection/components/menu/menu-expand-icon.css +1 -1
  493. package/dist/collection/components/menu/menu-expand-icon.js +3 -3
  494. package/dist/collection/components/menu/menu-expand-icon.js.map +1 -1
  495. package/dist/collection/components/menu/menu.css +4 -3
  496. package/dist/collection/components/menu/menu.js +12 -12
  497. package/dist/collection/components/menu/menu.js.map +1 -1
  498. package/dist/collection/components/menu/test/menu.ct.js +1 -1
  499. package/dist/collection/components/menu/test/menu.ct.js.map +1 -1
  500. package/dist/collection/components/menu-about/menu-about.js +1 -1
  501. package/dist/collection/components/menu-about/test/menu-about.ct.js +44 -0
  502. package/dist/collection/components/menu-about/test/menu-about.ct.js.map +1 -0
  503. package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
  504. package/dist/collection/components/menu-about-news/menu-about-news.js +4 -4
  505. package/dist/collection/components/menu-about-news/menu-about-news.js.map +1 -1
  506. package/dist/collection/components/menu-avatar/menu-avatar.js +2 -2
  507. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
  508. package/dist/collection/components/menu-category/menu-category.js +5 -5
  509. package/dist/collection/components/menu-category/menu-category.js.map +1 -1
  510. package/dist/collection/components/menu-item/menu-item.js +24 -21
  511. package/dist/collection/components/menu-item/menu-item.js.map +1 -1
  512. package/dist/collection/components/menu-settings/menu-settings.js +1 -1
  513. package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
  514. package/dist/collection/components/message-bar/message-bar.js +1 -1
  515. package/dist/collection/components/modal/modal.css +19 -9
  516. package/dist/collection/components/modal/modal.js +11 -4
  517. package/dist/collection/components/modal/modal.js.map +1 -1
  518. package/dist/collection/components/modal/test/modal.ct.js +47 -1
  519. package/dist/collection/components/modal/test/modal.ct.js.map +1 -1
  520. package/dist/collection/components/modal-content/modal-content.css +2 -2
  521. package/dist/collection/components/modal-content/modal-content.js +1 -1
  522. package/dist/collection/components/modal-footer/modal-footer.js +1 -1
  523. package/dist/collection/components/modal-header/modal-header.css +6 -7
  524. package/dist/collection/components/modal-header/modal-header.js +4 -4
  525. package/dist/collection/components/modal-header/modal-header.js.map +1 -1
  526. package/dist/collection/components/modal-loading/modal-loading.js +1 -1
  527. package/dist/collection/components/pagination/pagination.js +5 -4
  528. package/dist/collection/components/pagination/pagination.js.map +1 -1
  529. package/dist/collection/components/pane/pane.css +1 -1
  530. package/dist/collection/components/pane/pane.js +7 -7
  531. package/dist/collection/components/pane/pane.js.map +1 -1
  532. package/dist/collection/components/pane/test/panes.ct.js +1 -1
  533. package/dist/collection/components/pane/test/panes.ct.js.map +1 -1
  534. package/dist/collection/components/pane-layout/pane-layout.js +1 -1
  535. package/dist/collection/components/pill/pill.css +2 -2
  536. package/dist/collection/components/pill/pill.js +5 -5
  537. package/dist/collection/components/pill/pill.js.map +1 -1
  538. package/dist/collection/components/playground/example-modal.js +1 -1
  539. package/dist/collection/components/playground/playground.js +2 -2
  540. package/dist/collection/components/playground/playground.js.map +1 -1
  541. package/dist/collection/components/push-card/push-card.js +9 -6
  542. package/dist/collection/components/push-card/push-card.js.map +1 -1
  543. package/dist/collection/components/row/row.css +1 -1
  544. package/dist/collection/components/row/row.js +2 -2
  545. package/dist/collection/components/row/row.js.map +1 -1
  546. package/dist/collection/components/select/select.css +0 -52
  547. package/dist/collection/components/select/select.js +105 -423
  548. package/dist/collection/components/select/select.js.map +1 -1
  549. package/dist/collection/components/select/test/select.ct.js +139 -80
  550. package/dist/collection/components/select/test/select.ct.js.map +1 -1
  551. package/dist/collection/components/select-item/select-item.js +1 -1
  552. package/dist/collection/components/slider/slider.css +1 -1
  553. package/dist/collection/components/slider/slider.js +24 -16
  554. package/dist/collection/components/slider/slider.js.map +1 -1
  555. package/dist/collection/components/slider/test/slider.ct.js +15 -6
  556. package/dist/collection/components/slider/test/slider.ct.js.map +1 -1
  557. package/dist/collection/components/spinner/spinner.js +1 -1
  558. package/dist/collection/components/split-button/split-button.js +1 -1
  559. package/dist/collection/components/split-button-item/split-button-item.js +1 -1
  560. package/dist/collection/components/tab-item/tab-item.js +5 -5
  561. package/dist/collection/components/tab-item/tab-item.js.map +1 -1
  562. package/dist/collection/components/tabs/tabs.css +1 -1
  563. package/dist/collection/components/tabs/tabs.js +78 -43
  564. package/dist/collection/components/tabs/tabs.js.map +1 -1
  565. package/dist/collection/components/tabs/test/tabs.ct.js +35 -9
  566. package/dist/collection/components/tabs/test/tabs.ct.js.map +1 -1
  567. package/dist/collection/components/tile/tile.css +1 -1
  568. package/dist/collection/components/tile/tile.js +5 -5
  569. package/dist/collection/components/tile/tile.js.map +1 -1
  570. package/dist/collection/components/time-picker/time-picker.css +13 -86
  571. package/dist/collection/components/time-picker/time-picker.js +3 -3
  572. package/dist/collection/components/time-picker/time-picker.js.map +1 -1
  573. package/dist/collection/components/toast/styles/toast-container.css +1 -1
  574. package/dist/collection/components/toast/toast-container.js +3 -3
  575. package/dist/collection/components/toast/toast-container.js.map +1 -1
  576. package/dist/collection/components/toast/toast-utils.js.map +1 -1
  577. package/dist/collection/components/toast/toast.css +1 -1
  578. package/dist/collection/components/toast/toast.js +3 -3
  579. package/dist/collection/components/toast/toast.js.map +1 -1
  580. package/dist/collection/components/toggle/test/toggle.ct.js +1 -24
  581. package/dist/collection/components/toggle/test/toggle.ct.js.map +1 -1
  582. package/dist/collection/components/toggle/toggle.css +1 -132
  583. package/dist/collection/components/toggle/toggle.js +2 -157
  584. package/dist/collection/components/toggle/toggle.js.map +1 -1
  585. package/dist/collection/components/toggle-button/toggle-button.js +2 -2
  586. package/dist/collection/components/tooltip/tooltip.css +15 -5
  587. package/dist/collection/components/tooltip/tooltip.js +39 -35
  588. package/dist/collection/components/tooltip/tooltip.js.map +1 -1
  589. package/dist/collection/components/tree/test/tree.ct.js +37 -1
  590. package/dist/collection/components/tree/test/tree.ct.js.map +1 -1
  591. package/dist/collection/components/tree/tree-model.js.map +1 -1
  592. package/dist/collection/components/tree/tree.css +1 -1
  593. package/dist/collection/components/tree/tree.js +26 -11
  594. package/dist/collection/components/tree/tree.js.map +1 -1
  595. package/dist/collection/components/tree-item/tree-item.css +9 -0
  596. package/dist/collection/components/tree-item/tree-item.js +13 -12
  597. package/dist/collection/components/tree-item/tree-item.js.map +1 -1
  598. package/dist/collection/components/typography/test/ix-typography.spec.js +0 -14
  599. package/dist/collection/components/typography/test/ix-typography.spec.js.map +1 -1
  600. package/dist/collection/components/typography/type-mapping.js +3 -0
  601. package/dist/collection/components/typography/type-mapping.js.map +1 -1
  602. package/dist/collection/components/typography/typography.js +6 -42
  603. package/dist/collection/components/typography/typography.js.map +1 -1
  604. package/dist/collection/components/upload/test/upload.ct.js +17 -0
  605. package/dist/collection/components/upload/test/upload.ct.js.map +1 -0
  606. package/dist/collection/components/upload/upload.js +50 -6
  607. package/dist/collection/components/upload/upload.js.map +1 -1
  608. package/dist/collection/components/utils/a11y.js +2 -3
  609. package/dist/collection/components/utils/a11y.js.map +1 -1
  610. package/dist/collection/components/utils/application-layout/service.js +2 -2
  611. package/dist/collection/components/utils/application-layout/service.js.map +1 -1
  612. package/dist/collection/components/utils/condition-checks.js +1 -1
  613. package/dist/collection/components/utils/condition-checks.js.map +1 -1
  614. package/dist/collection/components/utils/context.js +6 -3
  615. package/dist/collection/components/utils/context.js.map +1 -1
  616. package/dist/collection/components/utils/disposable-event-listener.js +19 -0
  617. package/dist/collection/components/utils/disposable-event-listener.js.map +1 -0
  618. package/dist/collection/components/utils/element-reference.js +2 -0
  619. package/dist/collection/components/utils/element-reference.js.map +1 -0
  620. package/dist/collection/components/utils/focus.js +19 -17
  621. package/dist/collection/components/utils/focus.js.map +1 -1
  622. package/dist/collection/components/utils/listener.js +2 -2
  623. package/dist/collection/components/utils/listener.js.map +1 -1
  624. package/dist/collection/components/utils/make-ref.js +7 -17
  625. package/dist/collection/components/utils/make-ref.js.map +1 -1
  626. package/dist/collection/components/utils/menu-tabs/menu-tabs-fc.js +11 -8
  627. package/dist/collection/components/utils/menu-tabs/menu-tabs-fc.js.map +1 -1
  628. package/dist/collection/components/utils/notification-color.js.map +1 -1
  629. package/dist/collection/components/utils/shadow-dom.js +1 -1
  630. package/dist/collection/components/utils/shadow-dom.js.map +1 -1
  631. package/dist/collection/components/utils/theme-switcher.js +1 -0
  632. package/dist/collection/components/utils/theme-switcher.js.map +1 -1
  633. package/dist/collection/components/validation-tooltip/validation-tooltip.js +2 -2
  634. package/dist/collection/components/workflow-step/workflow-step.css +1 -1
  635. package/dist/collection/components/workflow-step/workflow-step.js +4 -4
  636. package/dist/collection/components/workflow-step/workflow-step.js.map +1 -1
  637. package/dist/collection/components/workflow-steps/test/workflow-steps.ct.js +2 -2
  638. package/dist/collection/components/workflow-steps/test/workflow-steps.ct.js.map +1 -1
  639. package/dist/collection/components/workflow-steps/workflow-steps.css +1 -1
  640. package/dist/collection/components/workflow-steps/workflow-steps.js +2 -2
  641. package/dist/collection/components/workflow-steps/workflow-steps.js.map +1 -1
  642. package/dist/collection/index.js +1 -6
  643. package/dist/collection/index.js.map +1 -1
  644. package/dist/collection/tests/application/application.e2e.js.map +1 -1
  645. package/dist/collection/tests/application-header/application-header.e2e.js +9 -0
  646. package/dist/collection/tests/application-header/application-header.e2e.js.map +1 -1
  647. package/dist/collection/tests/avatar/avatar.e2e.js +6 -0
  648. package/dist/collection/tests/avatar/avatar.e2e.js.map +1 -1
  649. package/dist/collection/tests/card-list/card-list.e2e.js +7 -1
  650. package/dist/collection/tests/card-list/card-list.e2e.js.map +1 -1
  651. package/dist/collection/tests/dropdown/dropdown.e2e.js +6 -0
  652. package/dist/collection/tests/dropdown/dropdown.e2e.js.map +1 -1
  653. package/dist/collection/tests/group/group.e2e.js +12 -3
  654. package/dist/collection/tests/group/group.e2e.js.map +1 -1
  655. package/dist/collection/tests/input/input.e2e.js +12 -0
  656. package/dist/collection/tests/input/input.e2e.js.map +1 -1
  657. package/dist/collection/tests/slider/slider.e2e.js +31 -0
  658. package/dist/collection/tests/slider/slider.e2e.js.map +1 -1
  659. package/dist/collection/tests/tabs/tabs.e2e.js +1 -1
  660. package/dist/collection/tests/tabs/tabs.e2e.js.map +1 -1
  661. package/dist/collection/tests/tooltip/tooltip.e2e.js +22 -0
  662. package/dist/collection/tests/tooltip/tooltip.e2e.js.map +1 -1
  663. package/dist/collection/tests/tree/tree.e2e.js +12 -0
  664. package/dist/collection/tests/tree/tree.e2e.js.map +1 -1
  665. package/dist/collection/tests/utils/test/index.js +0 -11
  666. package/dist/collection/tests/utils/test/index.js.map +1 -1
  667. package/dist/collection/tests/utils/test/page.js +3 -12
  668. package/dist/collection/tests/utils/test/page.js.map +1 -1
  669. package/dist/esm/{a11y-13dedaef.js → a11y-2e34777f.js} +4 -5
  670. package/dist/esm/a11y-2e34777f.js.map +1 -0
  671. package/dist/esm/{base-button-ea06697f.js → base-button-103d6f26.js} +4 -4
  672. package/dist/esm/base-button-103d6f26.js.map +1 -0
  673. package/dist/esm/{base-icon-button-c64fdb50.js → base-icon-button-9770fa3e.js} +3 -3
  674. package/dist/esm/{base-icon-button-c64fdb50.js.map → base-icon-button-9770fa3e.js.map} +1 -1
  675. package/dist/esm/{context-c9078420.js → context-42311cff.js} +7 -4
  676. package/dist/esm/context-42311cff.js.map +1 -0
  677. package/dist/esm/disposable-event-listener-ff2cb862.js +18 -0
  678. package/dist/esm/disposable-event-listener-ff2cb862.js.map +1 -0
  679. package/dist/esm/dropdown-controller-c79f65b3.js +148 -0
  680. package/dist/esm/dropdown-controller-c79f65b3.js.map +1 -0
  681. package/dist/esm/{floating-ui.dom.esm-6e7c098f.js → floating-ui.dom.esm-d4ad786a.js} +534 -61
  682. package/dist/esm/floating-ui.dom.esm-d4ad786a.js.map +1 -0
  683. package/dist/esm/{focus-d4d3abaf.js → focus-5ccebfbc.js} +21 -18
  684. package/dist/esm/focus-5ccebfbc.js.map +1 -0
  685. package/dist/esm/{index-9103b14c.js → index-5429f20b.js} +156 -78
  686. package/dist/esm/index-5429f20b.js.map +1 -0
  687. package/dist/esm/index.js +4 -19
  688. package/dist/esm/index.js.map +1 -1
  689. package/dist/esm/ix-action-card.entry.js +2 -2
  690. package/dist/esm/ix-action-card.entry.js.map +1 -1
  691. package/dist/esm/ix-application-header.entry.js +36 -10
  692. package/dist/esm/ix-application-header.entry.js.map +1 -1
  693. package/dist/esm/ix-application-sidebar.entry.js +2 -2
  694. package/dist/esm/ix-application-switch-modal.entry.js +2 -2
  695. package/dist/esm/ix-application.entry.js +9 -9
  696. package/dist/esm/ix-application.entry.js.map +1 -1
  697. package/dist/esm/ix-avatar_2.entry.js +6 -6
  698. package/dist/esm/ix-avatar_2.entry.js.map +1 -1
  699. package/dist/esm/ix-basic-navigation.entry.js +5 -5
  700. package/dist/esm/ix-basic-navigation.entry.js.map +1 -1
  701. package/dist/esm/ix-blind.entry.js +7 -7
  702. package/dist/esm/ix-blind.entry.js.map +1 -1
  703. package/dist/esm/ix-breadcrumb-item.entry.js +3 -3
  704. package/dist/esm/ix-breadcrumb.entry.js +11 -10
  705. package/dist/esm/ix-breadcrumb.entry.js.map +1 -1
  706. package/dist/esm/ix-button.entry.js +4 -4
  707. package/dist/esm/ix-button.entry.js.map +1 -1
  708. package/dist/esm/ix-card-accordion_2.entry.js +8 -8
  709. package/dist/esm/ix-card-accordion_2.entry.js.map +1 -1
  710. package/dist/esm/ix-card-list.entry.js +7 -7
  711. package/dist/esm/ix-card-list.entry.js.map +1 -1
  712. package/dist/esm/ix-card_2.entry.js +6 -6
  713. package/dist/esm/ix-card_2.entry.js.map +1 -1
  714. package/dist/esm/ix-category-filter.entry.js +132 -72
  715. package/dist/esm/ix-category-filter.entry.js.map +1 -1
  716. package/dist/esm/ix-chip.entry.js +5 -5
  717. package/dist/esm/ix-chip.entry.js.map +1 -1
  718. package/dist/esm/ix-col_4.entry.js +59 -43
  719. package/dist/esm/ix-col_4.entry.js.map +1 -1
  720. package/dist/esm/ix-content-header.entry.js +3 -3
  721. package/dist/esm/ix-content-header.entry.js.map +1 -1
  722. package/dist/esm/ix-content.entry.js +5 -5
  723. package/dist/esm/ix-css-grid-item.entry.js +2 -2
  724. package/dist/esm/ix-css-grid.entry.js +9 -4
  725. package/dist/esm/ix-css-grid.entry.js.map +1 -1
  726. package/dist/esm/ix-date-dropdown.entry.js +26 -16
  727. package/dist/esm/ix-date-dropdown.entry.js.map +1 -1
  728. package/dist/esm/ix-date-time-card.entry.js +2 -2
  729. package/dist/esm/ix-date-time-card.entry.js.map +1 -1
  730. package/dist/esm/ix-datetime-picker.entry.js +2 -2
  731. package/dist/esm/ix-divider.entry.js +2 -2
  732. package/dist/esm/ix-drawer.entry.js +3 -3
  733. package/dist/esm/ix-dropdown-button.entry.js +5 -6
  734. package/dist/esm/ix-dropdown-button.entry.js.map +1 -1
  735. package/dist/esm/ix-dropdown-header.entry.js +2 -2
  736. package/dist/esm/ix-dropdown-header.entry.js.map +1 -1
  737. package/dist/esm/ix-dropdown-item.entry.js +5 -5
  738. package/dist/esm/ix-dropdown-item.entry.js.map +1 -1
  739. package/dist/esm/ix-dropdown-quick-actions.entry.js +2 -2
  740. package/dist/esm/ix-dropdown.entry.js +86 -48
  741. package/dist/esm/ix-dropdown.entry.js.map +1 -1
  742. package/dist/esm/ix-empty-state.entry.js +2 -2
  743. package/dist/esm/ix-empty-state.entry.js.map +1 -1
  744. package/dist/esm/ix-event-list-item.entry.js +6 -6
  745. package/dist/esm/ix-event-list.entry.js +3 -3
  746. package/dist/esm/ix-expanding-search.entry.js +5 -5
  747. package/dist/esm/ix-filter-chip_2.entry.js +3 -3
  748. package/dist/esm/ix-flip-tile-content.entry.js +2 -2
  749. package/dist/esm/ix-flip-tile.entry.js +5 -5
  750. package/dist/esm/ix-form-field.entry.js +24 -0
  751. package/dist/esm/ix-form-field.entry.js.map +1 -0
  752. package/dist/esm/ix-group-context-menu_2.entry.js +7 -11
  753. package/dist/esm/ix-group-context-menu_2.entry.js.map +1 -1
  754. package/dist/esm/ix-group.entry.js +69 -45
  755. package/dist/esm/ix-group.entry.js.map +1 -1
  756. package/dist/esm/ix-icon-button_2.entry.js +6 -6
  757. package/dist/esm/ix-icon-toggle-button.entry.js +5 -6
  758. package/dist/esm/ix-icon-toggle-button.entry.js.map +1 -1
  759. package/dist/esm/ix-input-group.entry.js +3 -3
  760. package/dist/esm/ix-key-value-list.entry.js +2 -2
  761. package/dist/esm/ix-key-value.entry.js +2 -2
  762. package/dist/esm/ix-kpi.entry.js +4 -4
  763. package/dist/esm/ix-kpi.entry.js.map +1 -1
  764. package/dist/esm/ix-link-button.entry.js +4 -4
  765. package/dist/esm/ix-map-navigation-overlay.entry.js +3 -3
  766. package/dist/esm/ix-map-navigation.entry.js +5 -5
  767. package/dist/esm/ix-map-navigation.entry.js.map +1 -1
  768. package/dist/esm/ix-menu-about-item.entry.js +2 -2
  769. package/dist/esm/ix-menu-about-news.entry.js +5 -5
  770. package/dist/esm/ix-menu-about-news.entry.js.map +1 -1
  771. package/dist/esm/ix-menu-about.entry.js +3 -3
  772. package/dist/esm/ix-menu-avatar.entry.js +4 -4
  773. package/dist/esm/ix-menu-category.entry.js +7 -7
  774. package/dist/esm/ix-menu-category.entry.js.map +1 -1
  775. package/dist/esm/ix-menu-expand-icon.entry.js +4 -4
  776. package/dist/esm/ix-menu-expand-icon.entry.js.map +1 -1
  777. package/dist/esm/ix-menu-item.entry.js +15 -15
  778. package/dist/esm/ix-menu-item.entry.js.map +1 -1
  779. package/dist/esm/ix-menu-settings-item.entry.js +2 -2
  780. package/dist/esm/ix-menu-settings.entry.js +2 -2
  781. package/dist/esm/ix-menu.entry.js +16 -16
  782. package/dist/esm/ix-menu.entry.js.map +1 -1
  783. package/dist/esm/ix-message-bar.entry.js +2 -2
  784. package/dist/esm/ix-modal-content_2.entry.js +6 -6
  785. package/dist/esm/ix-modal-content_2.entry.js.map +1 -1
  786. package/dist/esm/ix-modal-example.entry.js +2 -2
  787. package/dist/esm/ix-modal-footer.entry.js +2 -2
  788. package/dist/esm/ix-modal-loading.entry.js +2 -2
  789. package/dist/esm/ix-modal.entry.js +14 -7
  790. package/dist/esm/ix-modal.entry.js.map +1 -1
  791. package/dist/esm/ix-pagination.entry.js +6 -6
  792. package/dist/esm/ix-pagination.entry.js.map +1 -1
  793. package/dist/esm/ix-pane-layout.entry.js +3 -3
  794. package/dist/esm/ix-pane.entry.js +8 -8
  795. package/dist/esm/ix-pane.entry.js.map +1 -1
  796. package/dist/esm/ix-pill.entry.js +5 -5
  797. package/dist/esm/ix-pill.entry.js.map +1 -1
  798. package/dist/esm/ix-playground-internal.entry.js +2 -2
  799. package/dist/esm/ix-playground-internal.entry.js.map +1 -1
  800. package/dist/esm/ix-push-card.entry.js +2 -2
  801. package/dist/esm/ix-push-card.entry.js.map +1 -1
  802. package/dist/esm/ix-select.entry.js +108 -157
  803. package/dist/esm/ix-select.entry.js.map +1 -1
  804. package/dist/esm/ix-slider.entry.js +24 -17
  805. package/dist/esm/ix-slider.entry.js.map +1 -1
  806. package/dist/esm/ix-split-button-item.entry.js +3 -3
  807. package/dist/esm/ix-split-button.entry.js +2 -2
  808. package/dist/esm/ix-tab-item_2.entry.js +75 -45
  809. package/dist/esm/ix-tab-item_2.entry.js.map +1 -1
  810. package/dist/esm/ix-tile.entry.js +5 -5
  811. package/dist/esm/ix-tile.entry.js.map +1 -1
  812. package/dist/esm/ix-time-picker.entry.js +5 -5
  813. package/dist/esm/ix-time-picker.entry.js.map +1 -1
  814. package/dist/esm/ix-toast-container.entry.js +3 -3
  815. package/dist/esm/ix-toast-container.entry.js.map +1 -1
  816. package/dist/esm/ix-toast.entry.js +3 -3
  817. package/dist/esm/ix-toast.entry.js.map +1 -1
  818. package/dist/esm/ix-toggle-button.entry.js +5 -5
  819. package/dist/esm/ix-toggle.entry.js +5 -42
  820. package/dist/esm/ix-toggle.entry.js.map +1 -1
  821. package/dist/esm/ix-tooltip.entry.js +295 -0
  822. package/dist/esm/ix-tooltip.entry.js.map +1 -0
  823. package/dist/esm/ix-tree-item.entry.js +9 -9
  824. package/dist/esm/ix-tree-item.entry.js.map +1 -1
  825. package/dist/esm/ix-tree.entry.js +22 -8
  826. package/dist/esm/ix-tree.entry.js.map +1 -1
  827. package/dist/esm/ix-typography.entry.js +4 -25
  828. package/dist/esm/ix-typography.entry.js.map +1 -1
  829. package/dist/esm/ix-upload.entry.js +59 -5
  830. package/dist/esm/ix-upload.entry.js.map +1 -1
  831. package/dist/esm/ix-validation-tooltip.entry.js +4 -4
  832. package/dist/esm/ix-workflow-step.entry.js +4 -4
  833. package/dist/esm/ix-workflow-step.entry.js.map +1 -1
  834. package/dist/esm/ix-workflow-steps.entry.js +2 -2
  835. package/dist/esm/ix-workflow-steps.entry.js.map +1 -1
  836. package/dist/esm/{listener-98571ba8.js → listener-ade7081c.js} +4 -4
  837. package/dist/esm/listener-ade7081c.js.map +1 -0
  838. package/dist/esm/loader.js +3 -3
  839. package/dist/esm/{logical-filter-operator-f6701df5.js → logical-filter-operator-d793d1c3.js} +2 -2
  840. package/dist/esm/{logical-filter-operator-f6701df5.js.map → logical-filter-operator-d793d1c3.js.map} +1 -1
  841. package/dist/esm/{make-ref-6b3b4e16.js → make-ref-4b76e9b5.js} +8 -18
  842. package/dist/esm/make-ref-4b76e9b5.js.map +1 -0
  843. package/dist/esm/{menu-tabs-fc-7ec1fb5d.js → menu-tabs-fc-b549da52.js} +19 -16
  844. package/dist/esm/menu-tabs-fc-b549da52.js.map +1 -0
  845. package/dist/esm/{service-02cc9011.js → service-c7fc628b.js} +3 -3
  846. package/dist/esm/service-c7fc628b.js.map +1 -0
  847. package/dist/esm/{shadow-dom-60e9243d.js → shadow-dom-cc0bc152.js} +2 -2
  848. package/dist/esm/{shadow-dom-60e9243d.js.map → shadow-dom-cc0bc152.js.map} +1 -1
  849. package/dist/esm/siemens-ix.js +3 -3
  850. package/dist/esm/{theme-switcher-b10fb4da.js → theme-switcher-5fcf712d.js} +2 -1
  851. package/dist/esm/theme-switcher-5fcf712d.js.map +1 -0
  852. package/dist/siemens-ix/index.esm.js +1 -1
  853. package/dist/siemens-ix/index.esm.js.map +1 -1
  854. package/dist/siemens-ix/{p-781a1922.entry.js → p-0379b864.entry.js} +2 -2
  855. package/dist/siemens-ix/{p-846cf6d2.entry.js → p-054451cb.entry.js} +2 -2
  856. package/dist/siemens-ix/{p-9840f086.entry.js → p-0691b6a5.entry.js} +2 -2
  857. package/dist/siemens-ix/{p-9840f086.entry.js.map → p-0691b6a5.entry.js.map} +1 -1
  858. package/dist/siemens-ix/{p-504f43d4.entry.js → p-06f9e19f.entry.js} +2 -2
  859. package/dist/siemens-ix/{p-504f43d4.entry.js.map → p-06f9e19f.entry.js.map} +1 -1
  860. package/dist/siemens-ix/p-093c25b1.entry.js +2 -0
  861. package/dist/siemens-ix/p-093c25b1.entry.js.map +1 -0
  862. package/dist/siemens-ix/p-0996d9f6.entry.js +2 -0
  863. package/dist/siemens-ix/{p-5924a783.entry.js → p-09e0ede1.entry.js} +2 -2
  864. package/dist/siemens-ix/{p-5924a783.entry.js.map → p-09e0ede1.entry.js.map} +1 -1
  865. package/dist/siemens-ix/{p-ec0806c3.entry.js → p-0b8718d9.entry.js} +2 -2
  866. package/dist/siemens-ix/p-0b8718d9.entry.js.map +1 -0
  867. package/dist/siemens-ix/{p-1da901d5.js → p-0e983f70.js} +2 -2
  868. package/dist/siemens-ix/p-0e983f70.js.map +1 -0
  869. package/dist/siemens-ix/p-0f099811.entry.js +2 -0
  870. package/dist/siemens-ix/{p-4b69ab0d.entry.js.map → p-0f099811.entry.js.map} +1 -1
  871. package/dist/siemens-ix/{p-8d737a35.entry.js → p-0f4e62f3.entry.js} +2 -2
  872. package/dist/siemens-ix/p-10368ba0.entry.js +2 -0
  873. package/dist/siemens-ix/{p-02ed5606.entry.js.map → p-10368ba0.entry.js.map} +1 -1
  874. package/dist/siemens-ix/p-10a522ca.js +2 -0
  875. package/dist/siemens-ix/p-10a522ca.js.map +1 -0
  876. package/dist/siemens-ix/p-156fa685.entry.js +2 -0
  877. package/dist/siemens-ix/p-156fa685.entry.js.map +1 -0
  878. package/dist/siemens-ix/p-157b1b28.js +2 -0
  879. package/dist/siemens-ix/p-157b1b28.js.map +1 -0
  880. package/dist/siemens-ix/p-17240a7f.entry.js +2 -0
  881. package/dist/siemens-ix/p-17240a7f.entry.js.map +1 -0
  882. package/dist/siemens-ix/p-178ce002.js +2 -0
  883. package/dist/siemens-ix/p-178ce002.js.map +1 -0
  884. package/dist/siemens-ix/p-1a8e3fea.entry.js +2 -0
  885. package/dist/siemens-ix/{p-3de71a19.entry.js → p-1b6dda61.entry.js} +2 -2
  886. package/dist/siemens-ix/p-1b6dda61.entry.js.map +1 -0
  887. package/dist/siemens-ix/{p-b789e0e7.entry.js → p-1e3d6d27.entry.js} +2 -2
  888. package/dist/siemens-ix/{p-37ca7ed4.js → p-24afab39.js} +2 -2
  889. package/dist/{cjs/menu-tabs-fc-f6b706e3.js.map → siemens-ix/p-24afab39.js.map} +1 -1
  890. package/dist/siemens-ix/p-26609c63.entry.js +2 -0
  891. package/dist/siemens-ix/p-26609c63.entry.js.map +1 -0
  892. package/dist/siemens-ix/{p-b0fe18f7.entry.js → p-2c1540ba.entry.js} +2 -2
  893. package/dist/siemens-ix/{p-b0fe18f7.entry.js.map → p-2c1540ba.entry.js.map} +1 -1
  894. package/dist/siemens-ix/{p-921c59c4.entry.js → p-2f232c45.entry.js} +2 -2
  895. package/dist/siemens-ix/p-2f232c45.entry.js.map +1 -0
  896. package/dist/siemens-ix/{p-8a9fc2f0.entry.js → p-3028d530.entry.js} +2 -2
  897. package/dist/siemens-ix/{p-8a9fc2f0.entry.js.map → p-3028d530.entry.js.map} +1 -1
  898. package/dist/siemens-ix/p-3150070f.entry.js +2 -0
  899. package/dist/siemens-ix/p-3150070f.entry.js.map +1 -0
  900. package/dist/siemens-ix/{p-6c412b52.entry.js → p-315ecf68.entry.js} +2 -2
  901. package/dist/siemens-ix/{p-712e0ee0.js → p-345e1c73.js} +1 -1
  902. package/dist/siemens-ix/{p-712e0ee0.js.map → p-345e1c73.js.map} +1 -1
  903. package/dist/siemens-ix/{p-9ec92185.entry.js → p-380a7d93.entry.js} +2 -2
  904. package/dist/siemens-ix/p-380a7d93.entry.js.map +1 -0
  905. package/dist/siemens-ix/p-3b576b4e.js +2 -0
  906. package/dist/siemens-ix/{p-6bd0ba14.entry.js → p-3be4c628.entry.js} +2 -2
  907. package/dist/siemens-ix/p-3be4c628.entry.js.map +1 -0
  908. package/dist/siemens-ix/p-3e867ef9.entry.js +2 -0
  909. package/dist/siemens-ix/p-3e867ef9.entry.js.map +1 -0
  910. package/dist/siemens-ix/p-40f20208.entry.js +2 -0
  911. package/dist/siemens-ix/p-40f20208.entry.js.map +1 -0
  912. package/dist/siemens-ix/{p-61265df9.entry.js → p-41935530.entry.js} +2 -2
  913. package/dist/siemens-ix/{p-61265df9.entry.js.map → p-41935530.entry.js.map} +1 -1
  914. package/dist/siemens-ix/{p-293dd6d1.entry.js → p-41d9a2e4.entry.js} +2 -2
  915. package/dist/siemens-ix/p-476e4a9d.entry.js +2 -0
  916. package/dist/siemens-ix/p-476e4a9d.entry.js.map +1 -0
  917. package/dist/siemens-ix/{p-25ee1b62.js → p-4ac31849.js} +1 -1
  918. package/dist/siemens-ix/{p-25ee1b62.js.map → p-4ac31849.js.map} +1 -1
  919. package/dist/siemens-ix/{p-35690183.entry.js → p-509dba4c.entry.js} +2 -2
  920. package/dist/siemens-ix/{p-6ca97a73.entry.js → p-50bcb3f8.entry.js} +2 -2
  921. package/dist/siemens-ix/{p-628f031a.entry.js → p-5232d441.entry.js} +2 -2
  922. package/dist/siemens-ix/{p-b5c4fd55.entry.js → p-619a80d3.entry.js} +2 -2
  923. package/dist/siemens-ix/{p-b5c4fd55.entry.js.map → p-619a80d3.entry.js.map} +1 -1
  924. package/dist/siemens-ix/p-633a8884.entry.js +2 -0
  925. package/dist/siemens-ix/p-633a8884.entry.js.map +1 -0
  926. package/dist/siemens-ix/{p-724b98ce.entry.js → p-66d4e328.entry.js} +2 -2
  927. package/dist/siemens-ix/{p-724b98ce.entry.js.map → p-66d4e328.entry.js.map} +1 -1
  928. package/dist/siemens-ix/{p-3b38f812.entry.js → p-6913e59d.entry.js} +2 -2
  929. package/dist/siemens-ix/{p-aae05303.entry.js → p-6a9577b5.entry.js} +2 -2
  930. package/dist/siemens-ix/p-6a9577b5.entry.js.map +1 -0
  931. package/dist/siemens-ix/p-72472fa5.entry.js +2 -0
  932. package/dist/siemens-ix/{p-0d907964.entry.js.map → p-72472fa5.entry.js.map} +1 -1
  933. package/dist/siemens-ix/{p-ed991838.js → p-72d096e9.js} +2 -2
  934. package/dist/siemens-ix/p-72d096e9.js.map +1 -0
  935. package/dist/siemens-ix/{p-9cc0d11b.entry.js → p-7354cdb0.entry.js} +2 -2
  936. package/dist/siemens-ix/p-737954bf.entry.js +2 -0
  937. package/dist/siemens-ix/p-737954bf.entry.js.map +1 -0
  938. package/dist/siemens-ix/p-737c61da.entry.js +2 -0
  939. package/dist/siemens-ix/{p-b6c0dfb5.entry.js.map → p-737c61da.entry.js.map} +1 -1
  940. package/dist/siemens-ix/p-73bd61ca.entry.js +2 -0
  941. package/dist/siemens-ix/{p-dde0af66.entry.js → p-74461f94.entry.js} +2 -2
  942. package/dist/siemens-ix/{p-f37ac17d.entry.js → p-7815494b.entry.js} +2 -2
  943. package/dist/siemens-ix/p-7815494b.entry.js.map +1 -0
  944. package/dist/siemens-ix/{p-f0bbd496.entry.js → p-8578629c.entry.js} +2 -2
  945. package/dist/siemens-ix/p-8578629c.entry.js.map +1 -0
  946. package/dist/siemens-ix/p-8a56153a.entry.js +2 -0
  947. package/dist/siemens-ix/{p-f3c3366d.entry.js.map → p-8a56153a.entry.js.map} +1 -1
  948. package/dist/siemens-ix/{p-104097fb.entry.js → p-8b21fc75.entry.js} +2 -2
  949. package/dist/siemens-ix/p-8b21fc75.entry.js.map +1 -0
  950. package/dist/siemens-ix/p-8b2b4ce3.entry.js +2 -0
  951. package/dist/siemens-ix/p-8b2b4ce3.entry.js.map +1 -0
  952. package/dist/siemens-ix/p-8f48462b.entry.js +2 -0
  953. package/dist/siemens-ix/p-8f48462b.entry.js.map +1 -0
  954. package/dist/siemens-ix/p-9144ea56.entry.js +2 -0
  955. package/dist/siemens-ix/p-9144ea56.entry.js.map +1 -0
  956. package/dist/siemens-ix/p-98af5c4d.entry.js +2 -0
  957. package/dist/siemens-ix/p-98af5c4d.entry.js.map +1 -0
  958. package/dist/siemens-ix/p-99a1cd81.entry.js +2 -0
  959. package/dist/siemens-ix/{p-06965e5f.entry.js → p-9b8c6123.entry.js} +2 -2
  960. package/dist/siemens-ix/p-9b8c6123.entry.js.map +1 -0
  961. package/dist/siemens-ix/p-9cd40e56.entry.js +2 -0
  962. package/dist/siemens-ix/p-9cd40e56.entry.js.map +1 -0
  963. package/dist/siemens-ix/{p-80051a81.entry.js → p-ad0c6a32.entry.js} +2 -2
  964. package/dist/siemens-ix/p-af7a836c.entry.js +2 -0
  965. package/dist/siemens-ix/p-af7a836c.entry.js.map +1 -0
  966. package/dist/siemens-ix/{p-8dcf30ce.entry.js → p-b247d124.entry.js} +2 -2
  967. package/dist/siemens-ix/p-b53aa733.entry.js +2 -0
  968. package/dist/siemens-ix/p-b53aa733.entry.js.map +1 -0
  969. package/dist/siemens-ix/{p-9569e1a2.entry.js → p-b6a11e17.entry.js} +2 -2
  970. package/dist/siemens-ix/p-b9e66925.entry.js +2 -0
  971. package/dist/siemens-ix/{p-fad5daa1.entry.js → p-b9f67de0.entry.js} +2 -2
  972. package/dist/siemens-ix/{p-fad5daa1.entry.js.map → p-b9f67de0.entry.js.map} +1 -1
  973. package/dist/siemens-ix/{p-1f771917.entry.js → p-ba2e041e.entry.js} +2 -2
  974. package/dist/siemens-ix/p-ba6e955a.js +2 -0
  975. package/dist/siemens-ix/p-ba6e955a.js.map +1 -0
  976. package/dist/siemens-ix/p-bf1e16f6.entry.js +2 -0
  977. package/dist/siemens-ix/p-bf1e16f6.entry.js.map +1 -0
  978. package/dist/siemens-ix/{p-35fa9e1a.entry.js → p-c0bf3052.entry.js} +2 -2
  979. package/dist/siemens-ix/{p-1ec8d2b9.entry.js → p-c39a6215.entry.js} +2 -2
  980. package/dist/siemens-ix/p-c5e08d24.entry.js +2 -0
  981. package/dist/siemens-ix/p-c5e08d24.entry.js.map +1 -0
  982. package/dist/siemens-ix/{p-b973db5e.entry.js → p-c841c191.entry.js} +2 -2
  983. package/dist/siemens-ix/p-c841c191.entry.js.map +1 -0
  984. package/dist/siemens-ix/p-c8c3efb6.entry.js +2 -0
  985. package/dist/siemens-ix/p-c8c3efb6.entry.js.map +1 -0
  986. package/dist/siemens-ix/p-cacd4857.entry.js +2 -0
  987. package/dist/siemens-ix/p-cacd4857.entry.js.map +1 -0
  988. package/dist/siemens-ix/p-cdaad9de.entry.js +2 -0
  989. package/dist/siemens-ix/p-cdaad9de.entry.js.map +1 -0
  990. package/dist/siemens-ix/p-ce563a48.js +2 -0
  991. package/dist/siemens-ix/p-ce563a48.js.map +1 -0
  992. package/dist/siemens-ix/p-ce808a3f.entry.js +2 -0
  993. package/dist/siemens-ix/p-ce808a3f.entry.js.map +1 -0
  994. package/dist/siemens-ix/p-d057b634.entry.js +2 -0
  995. package/dist/siemens-ix/p-d1a5b773.entry.js +2 -0
  996. package/dist/siemens-ix/p-d1a5b773.entry.js.map +1 -0
  997. package/dist/siemens-ix/p-d7072aad.entry.js +2 -0
  998. package/dist/siemens-ix/{p-c6dcff7e.entry.js → p-d7a0deb7.entry.js} +2 -2
  999. package/dist/siemens-ix/p-d8780f8c.entry.js +2 -0
  1000. package/dist/siemens-ix/p-d8780f8c.entry.js.map +1 -0
  1001. package/dist/siemens-ix/p-da71920f.entry.js +2 -0
  1002. package/dist/siemens-ix/p-da71920f.entry.js.map +1 -0
  1003. package/dist/siemens-ix/{p-bd24bbde.entry.js → p-dc284f4d.entry.js} +2 -2
  1004. package/dist/siemens-ix/p-dda1ce22.entry.js +2 -0
  1005. package/dist/siemens-ix/p-dda1ce22.entry.js.map +1 -0
  1006. package/dist/siemens-ix/{p-e1bd7b4f.entry.js → p-de44d65b.entry.js} +2 -2
  1007. package/dist/siemens-ix/{p-e1bd7b4f.entry.js.map → p-de44d65b.entry.js.map} +1 -1
  1008. package/dist/siemens-ix/p-e4441794.entry.js +2 -0
  1009. package/dist/siemens-ix/p-e4441794.entry.js.map +1 -0
  1010. package/dist/siemens-ix/{p-15a5bc5a.entry.js → p-e4ca3618.entry.js} +2 -2
  1011. package/dist/siemens-ix/{p-15a5bc5a.entry.js.map → p-e4ca3618.entry.js.map} +1 -1
  1012. package/dist/siemens-ix/p-e6652822.js +2 -0
  1013. package/dist/siemens-ix/p-e6652822.js.map +1 -0
  1014. package/dist/siemens-ix/{p-97f475db.entry.js → p-e89c0e29.entry.js} +2 -2
  1015. package/dist/siemens-ix/{p-ac05950c.entry.js → p-ead295d5.entry.js} +2 -2
  1016. package/dist/siemens-ix/{p-ac05950c.entry.js.map → p-ead295d5.entry.js.map} +1 -1
  1017. package/dist/siemens-ix/p-ec037f98.js +2 -0
  1018. package/dist/siemens-ix/p-ec037f98.js.map +1 -0
  1019. package/dist/siemens-ix/p-ee50f7fa.entry.js +2 -0
  1020. package/dist/siemens-ix/{p-75c61fbf.entry.js → p-f47bd4e8.entry.js} +2 -2
  1021. package/dist/siemens-ix/p-f576c41d.entry.js +2 -0
  1022. package/dist/siemens-ix/{p-18d15442.entry.js.map → p-f576c41d.entry.js.map} +1 -1
  1023. package/dist/siemens-ix/p-f5a9140e.entry.js +2 -0
  1024. package/dist/siemens-ix/p-f5a9140e.entry.js.map +1 -0
  1025. package/dist/siemens-ix/p-f87cd962.js +3 -0
  1026. package/dist/siemens-ix/p-f87cd962.js.map +1 -0
  1027. package/dist/siemens-ix/p-fb593d70.entry.js +2 -0
  1028. package/dist/siemens-ix/p-fb593d70.entry.js.map +1 -0
  1029. package/dist/siemens-ix/{p-702f9349.js → p-fbe017b7.js} +2 -2
  1030. package/dist/siemens-ix/p-fbe017b7.js.map +1 -0
  1031. package/dist/siemens-ix/{p-934ae9a0.entry.js → p-fc766ada.entry.js} +2 -2
  1032. package/dist/siemens-ix/p-fe01bff0.js +2 -0
  1033. package/dist/siemens-ix/p-fe01bff0.js.map +1 -0
  1034. package/dist/siemens-ix/p-ff6668b8.entry.js +2 -0
  1035. package/dist/siemens-ix/siemens-ix-core.css +1 -1
  1036. package/dist/siemens-ix/siemens-ix.css +18 -87
  1037. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  1038. package/dist/siemens-ix/siemens-ix.esm.js.map +1 -1
  1039. package/dist/types/components/action-card/action-card.d.ts +3 -2
  1040. package/dist/types/components/application-header/application-header.d.ts +19 -1
  1041. package/dist/types/components/basic-navigation/basic-navigation.d.ts +2 -1
  1042. package/dist/types/components/blind/blind.d.ts +4 -4
  1043. package/dist/types/components/breadcrumb/breadcrumb.d.ts +3 -3
  1044. package/dist/types/components/button/base-button.d.ts +3 -2
  1045. package/dist/types/components/button/button.d.ts +2 -2
  1046. package/dist/types/components/card/card.d.ts +2 -1
  1047. package/dist/types/components/category-filter/category-filter.d.ts +23 -12
  1048. package/dist/types/components/content-header/content-header.d.ts +1 -1
  1049. package/dist/types/components/css-grid/css-grid.d.ts +2 -2
  1050. package/dist/types/components/date-dropdown/date-dropdown.d.ts +3 -3
  1051. package/dist/types/components/date-picker/date-picker.d.ts +6 -7
  1052. package/dist/types/components/date-time-card/date-time-card.d.ts +1 -1
  1053. package/dist/types/components/dropdown/dropdown-controller.d.ts +1 -7
  1054. package/dist/types/components/dropdown/dropdown.d.ts +11 -10
  1055. package/dist/types/components/dropdown-button/dropdown-button.d.ts +4 -4
  1056. package/dist/types/components/dropdown-item/dropdown-item.d.ts +2 -2
  1057. package/dist/types/components/form-field/form-field.d.ts +10 -0
  1058. package/dist/types/components/group/group.d.ts +7 -6
  1059. package/dist/types/components/group-item/group-item.d.ts +4 -4
  1060. package/dist/types/components/menu-item/menu-item.d.ts +6 -5
  1061. package/dist/types/components/modal/test/modal.ct.d.ts +3 -2
  1062. package/dist/types/components/modal-header/modal-header.d.ts +3 -3
  1063. package/dist/types/components/push-card/push-card.d.ts +4 -3
  1064. package/dist/types/components/select/select.d.ts +12 -93
  1065. package/dist/types/components/slider/slider.d.ts +3 -3
  1066. package/dist/types/components/tab-item/tab-item.d.ts +2 -2
  1067. package/dist/types/components/tabs/tabs.d.ts +7 -4
  1068. package/dist/types/components/toggle/toggle.d.ts +1 -29
  1069. package/dist/types/components/tooltip/tooltip.d.ts +10 -10
  1070. package/dist/types/components/tree/tree.d.ts +1 -1
  1071. package/dist/types/components/tree-item/tree-item.d.ts +3 -3
  1072. package/dist/types/components/typography/type-mapping.d.ts +3 -0
  1073. package/dist/types/components/typography/typography.d.ts +3 -10
  1074. package/dist/types/components/upload/upload.d.ts +4 -2
  1075. package/dist/types/components/utils/a11y.d.ts +5 -5
  1076. package/dist/types/components/utils/disposable-event-listener.d.ts +7 -0
  1077. package/dist/types/components/utils/element-reference.d.ts +1 -0
  1078. package/dist/types/components/utils/focus.d.ts +5 -4
  1079. package/dist/types/components/utils/listener.d.ts +4 -2
  1080. package/dist/types/components/utils/make-ref.d.ts +2 -2
  1081. package/dist/types/components/utils/theme-switcher.d.ts +1 -1
  1082. package/dist/types/components.d.ts +221 -1866
  1083. package/dist/types/index.d.ts +2 -1
  1084. package/dist/types/tests/utils/test/index.d.ts +0 -3
  1085. package/dist/types/tests/utils/test/page.d.ts +1 -3
  1086. package/hydrate/index.js +1802 -3122
  1087. package/package.json +8 -6
  1088. package/scss/_core.scss +5 -0
  1089. package/scss/components/form/_input.scss +19 -72
  1090. package/components/field-label.js +0 -127
  1091. package/components/field-label.js.map +0 -1
  1092. package/components/field-wrapper.js +0 -97
  1093. package/components/field-wrapper.js.map +0 -1
  1094. package/components/helper-text-util.js +0 -48
  1095. package/components/helper-text-util.js.map +0 -1
  1096. package/components/ix-checkbox-group.d.ts +0 -11
  1097. package/components/ix-checkbox-group.js +0 -105
  1098. package/components/ix-checkbox-group.js.map +0 -1
  1099. package/components/ix-checkbox.d.ts +0 -11
  1100. package/components/ix-checkbox.js +0 -141
  1101. package/components/ix-checkbox.js.map +0 -1
  1102. package/components/ix-custom-field.d.ts +0 -11
  1103. package/components/ix-custom-field.js +0 -116
  1104. package/components/ix-custom-field.js.map +0 -1
  1105. package/components/ix-date-field.d.ts +0 -11
  1106. package/components/ix-date-field.js +0 -351
  1107. package/components/ix-date-field.js.map +0 -1
  1108. package/components/ix-field-label.d.ts +0 -11
  1109. package/components/ix-field-label.js +0 -8
  1110. package/components/ix-field-label.js.map +0 -1
  1111. package/components/ix-field-wrapper.d.ts +0 -11
  1112. package/components/ix-field-wrapper.js +0 -8
  1113. package/components/ix-field-wrapper.js.map +0 -1
  1114. package/components/ix-helper-text.d.ts +0 -11
  1115. package/components/ix-helper-text.js +0 -97
  1116. package/components/ix-helper-text.js.map +0 -1
  1117. package/components/ix-layout-form.d.ts +0 -11
  1118. package/components/ix-layout-form.js +0 -113
  1119. package/components/ix-layout-form.js.map +0 -1
  1120. package/components/ix-number-field.d.ts +0 -11
  1121. package/components/ix-number-field.js +0 -217
  1122. package/components/ix-number-field.js.map +0 -1
  1123. package/components/ix-radio-group.d.ts +0 -11
  1124. package/components/ix-radio-group.js +0 -169
  1125. package/components/ix-radio-group.js.map +0 -1
  1126. package/components/ix-radio.d.ts +0 -11
  1127. package/components/ix-radio.js +0 -115
  1128. package/components/ix-radio.js.map +0 -1
  1129. package/components/ix-text-field.js +0 -223
  1130. package/components/ix-text-field.js.map +0 -1
  1131. package/components/ix-textarea-field.d.ts +0 -11
  1132. package/components/ix-textarea-field.js +0 -177
  1133. package/components/ix-textarea-field.js.map +0 -1
  1134. package/components/text-field.util.js +0 -167
  1135. package/components/text-field.util.js.map +0 -1
  1136. package/components/validation.js +0 -112
  1137. package/components/validation.js.map +0 -1
  1138. package/dist/cjs/a11y-32046b56.js.map +0 -1
  1139. package/dist/cjs/base-button-16d4fadf.js.map +0 -1
  1140. package/dist/cjs/context-98f4a0b3.js.map +0 -1
  1141. package/dist/cjs/dropdown-controller-403dc7fa.js.map +0 -1
  1142. package/dist/cjs/floating-ui.dom.esm-94b4d17c.js.map +0 -1
  1143. package/dist/cjs/focus-9c8ffbb0.js.map +0 -1
  1144. package/dist/cjs/helper-text-util-9f617ef2.js +0 -40
  1145. package/dist/cjs/helper-text-util-9f617ef2.js.map +0 -1
  1146. package/dist/cjs/index-0f6297c8.js.map +0 -1
  1147. package/dist/cjs/index-762a29a3.js +0 -24
  1148. package/dist/cjs/index-762a29a3.js.map +0 -1
  1149. package/dist/cjs/ix-checkbox-group.cjs.entry.js +0 -56
  1150. package/dist/cjs/ix-checkbox-group.cjs.entry.js.map +0 -1
  1151. package/dist/cjs/ix-checkbox.cjs.entry.js +0 -114
  1152. package/dist/cjs/ix-checkbox.cjs.entry.js.map +0 -1
  1153. package/dist/cjs/ix-custom-field.cjs.entry.js +0 -65
  1154. package/dist/cjs/ix-custom-field.cjs.entry.js.map +0 -1
  1155. package/dist/cjs/ix-date-field.cjs.entry.js +0 -255
  1156. package/dist/cjs/ix-date-field.cjs.entry.js.map +0 -1
  1157. package/dist/cjs/ix-field-label_3.cjs.entry.js +0 -438
  1158. package/dist/cjs/ix-field-label_3.cjs.entry.js.map +0 -1
  1159. package/dist/cjs/ix-helper-text.cjs.entry.js +0 -70
  1160. package/dist/cjs/ix-helper-text.cjs.entry.js.map +0 -1
  1161. package/dist/cjs/ix-layout-form.cjs.entry.js +0 -94
  1162. package/dist/cjs/ix-layout-form.cjs.entry.js.map +0 -1
  1163. package/dist/cjs/ix-number-field.cjs.entry.js +0 -148
  1164. package/dist/cjs/ix-number-field.cjs.entry.js.map +0 -1
  1165. package/dist/cjs/ix-radio-group.cjs.entry.js +0 -116
  1166. package/dist/cjs/ix-radio-group.cjs.entry.js.map +0 -1
  1167. package/dist/cjs/ix-radio.cjs.entry.js +0 -96
  1168. package/dist/cjs/ix-radio.cjs.entry.js.map +0 -1
  1169. package/dist/cjs/ix-text-field.cjs.entry.js +0 -151
  1170. package/dist/cjs/ix-text-field.cjs.entry.js.map +0 -1
  1171. package/dist/cjs/ix-textarea-field.cjs.entry.js +0 -118
  1172. package/dist/cjs/ix-textarea-field.cjs.entry.js.map +0 -1
  1173. package/dist/cjs/listener-0881dc51.js.map +0 -1
  1174. package/dist/cjs/make-ref-01530e5a.js.map +0 -1
  1175. package/dist/cjs/service-a42add5f.js.map +0 -1
  1176. package/dist/cjs/text-field.util-d7c5c1cd.js +0 -179
  1177. package/dist/cjs/text-field.util-d7c5c1cd.js.map +0 -1
  1178. package/dist/cjs/theme-switcher-2d2bde85.js.map +0 -1
  1179. package/dist/cjs/validation-c5a41d68.js +0 -117
  1180. package/dist/cjs/validation-c5a41d68.js.map +0 -1
  1181. package/dist/collection/components/checkbox/checkbox.css +0 -437
  1182. package/dist/collection/components/checkbox/checkbox.js +0 -323
  1183. package/dist/collection/components/checkbox/checkbox.js.map +0 -1
  1184. package/dist/collection/components/checkbox/tests/checkbox.ct.js +0 -52
  1185. package/dist/collection/components/checkbox/tests/checkbox.ct.js.map +0 -1
  1186. package/dist/collection/components/checkbox-group/checkbox-group.css +0 -35
  1187. package/dist/collection/components/checkbox-group/checkbox-group.js +0 -173
  1188. package/dist/collection/components/checkbox-group/checkbox-group.js.map +0 -1
  1189. package/dist/collection/components/custom-field/custom-field.css +0 -11
  1190. package/dist/collection/components/custom-field/custom-field.js +0 -216
  1191. package/dist/collection/components/custom-field/custom-field.js.map +0 -1
  1192. package/dist/collection/components/custom-field/tests/custom-field.ct.js +0 -68
  1193. package/dist/collection/components/custom-field/tests/custom-field.ct.js.map +0 -1
  1194. package/dist/collection/components/date-field/date-field.css +0 -938
  1195. package/dist/collection/components/date-field/date-field.js +0 -696
  1196. package/dist/collection/components/date-field/date-field.js.map +0 -1
  1197. package/dist/collection/components/date-field/tests/date-field.ct.js +0 -114
  1198. package/dist/collection/components/date-field/tests/date-field.ct.js.map +0 -1
  1199. package/dist/collection/components/field-label/field-label.css +0 -14
  1200. package/dist/collection/components/field-label/field-label.js +0 -173
  1201. package/dist/collection/components/field-label/field-label.js.map +0 -1
  1202. package/dist/collection/components/field-label/tests/field-label.ct.js +0 -70
  1203. package/dist/collection/components/field-label/tests/field-label.ct.js.map +0 -1
  1204. package/dist/collection/components/field-wrapper/field-wrapper.css +0 -71
  1205. package/dist/collection/components/field-wrapper/field-wrapper.js +0 -309
  1206. package/dist/collection/components/field-wrapper/field-wrapper.js.map +0 -1
  1207. package/dist/collection/components/field-wrapper/helper-text-util.js +0 -26
  1208. package/dist/collection/components/field-wrapper/helper-text-util.js.map +0 -1
  1209. package/dist/collection/components/field-wrapper/tests/field-wrapper.ct.js +0 -63
  1210. package/dist/collection/components/field-wrapper/tests/field-wrapper.ct.js.map +0 -1
  1211. package/dist/collection/components/helper-text/helper-text.css +0 -34
  1212. package/dist/collection/components/helper-text/helper-text.js +0 -179
  1213. package/dist/collection/components/helper-text/helper-text.js.map +0 -1
  1214. package/dist/collection/components/layout-form/layout-form.css +0 -15
  1215. package/dist/collection/components/layout-form/layout-form.js +0 -126
  1216. package/dist/collection/components/layout-form/layout-form.js.map +0 -1
  1217. package/dist/collection/components/radio/radio.css +0 -428
  1218. package/dist/collection/components/radio/radio.js +0 -276
  1219. package/dist/collection/components/radio/radio.js.map +0 -1
  1220. package/dist/collection/components/radio/test/radio.ct.js +0 -36
  1221. package/dist/collection/components/radio/test/radio.ct.js.map +0 -1
  1222. package/dist/collection/components/radio-group/radio-group.css +0 -35
  1223. package/dist/collection/components/radio-group/radio-group.js +0 -296
  1224. package/dist/collection/components/radio-group/radio-group.js.map +0 -1
  1225. package/dist/collection/components/radio-group/test/radio-group.ct.js +0 -99
  1226. package/dist/collection/components/radio-group/test/radio-group.ct.js.map +0 -1
  1227. package/dist/collection/components/text-field/input.fc.js +0 -38
  1228. package/dist/collection/components/text-field/input.fc.js.map +0 -1
  1229. package/dist/collection/components/text-field/number-field.js +0 -586
  1230. package/dist/collection/components/text-field/number-field.js.map +0 -1
  1231. package/dist/collection/components/text-field/tests/form-ready.ct.js +0 -63
  1232. package/dist/collection/components/text-field/tests/form-ready.ct.js.map +0 -1
  1233. package/dist/collection/components/text-field/text-field.animation.js +0 -36
  1234. package/dist/collection/components/text-field/text-field.animation.js.map +0 -1
  1235. package/dist/collection/components/text-field/text-field.css +0 -899
  1236. package/dist/collection/components/text-field/text-field.js +0 -594
  1237. package/dist/collection/components/text-field/text-field.js.map +0 -1
  1238. package/dist/collection/components/text-field/text-field.util.js +0 -93
  1239. package/dist/collection/components/text-field/text-field.util.js.map +0 -1
  1240. package/dist/collection/components/text-field/textarea-field.css +0 -550
  1241. package/dist/collection/components/text-field/textarea-field.js +0 -595
  1242. package/dist/collection/components/text-field/textarea-field.js.map +0 -1
  1243. package/dist/collection/components/utils/attributes.js +0 -25
  1244. package/dist/collection/components/utils/attributes.js.map +0 -1
  1245. package/dist/collection/components/utils/field/index.js +0 -9
  1246. package/dist/collection/components/utils/field/index.js.map +0 -1
  1247. package/dist/collection/components/utils/field/validation.js +0 -108
  1248. package/dist/collection/components/utils/field/validation.js.map +0 -1
  1249. package/dist/collection/components/utils/testing/index.js +0 -9
  1250. package/dist/collection/components/utils/testing/index.js.map +0 -1
  1251. package/dist/collection/components/utils/uuid.js +0 -16
  1252. package/dist/collection/components/utils/uuid.js.map +0 -1
  1253. package/dist/collection/tests/form-fields/form-fields.e2e.js +0 -57
  1254. package/dist/collection/tests/form-fields/form-fields.e2e.js.map +0 -1
  1255. package/dist/esm/a11y-13dedaef.js.map +0 -1
  1256. package/dist/esm/base-button-ea06697f.js.map +0 -1
  1257. package/dist/esm/context-c9078420.js.map +0 -1
  1258. package/dist/esm/dropdown-controller-d6d8b14a.js.map +0 -1
  1259. package/dist/esm/floating-ui.dom.esm-6e7c098f.js.map +0 -1
  1260. package/dist/esm/focus-d4d3abaf.js.map +0 -1
  1261. package/dist/esm/helper-text-util-3dd33b44.js +0 -38
  1262. package/dist/esm/helper-text-util-3dd33b44.js.map +0 -1
  1263. package/dist/esm/index-9103b14c.js.map +0 -1
  1264. package/dist/esm/index-f51bf247.js +0 -14
  1265. package/dist/esm/index-f51bf247.js.map +0 -1
  1266. package/dist/esm/ix-checkbox-group.entry.js +0 -52
  1267. package/dist/esm/ix-checkbox-group.entry.js.map +0 -1
  1268. package/dist/esm/ix-checkbox.entry.js +0 -110
  1269. package/dist/esm/ix-checkbox.entry.js.map +0 -1
  1270. package/dist/esm/ix-custom-field.entry.js +0 -61
  1271. package/dist/esm/ix-custom-field.entry.js.map +0 -1
  1272. package/dist/esm/ix-date-field.entry.js +0 -251
  1273. package/dist/esm/ix-date-field.entry.js.map +0 -1
  1274. package/dist/esm/ix-field-label_3.entry.js +0 -432
  1275. package/dist/esm/ix-field-label_3.entry.js.map +0 -1
  1276. package/dist/esm/ix-helper-text.entry.js +0 -66
  1277. package/dist/esm/ix-helper-text.entry.js.map +0 -1
  1278. package/dist/esm/ix-layout-form.entry.js +0 -90
  1279. package/dist/esm/ix-layout-form.entry.js.map +0 -1
  1280. package/dist/esm/ix-number-field.entry.js +0 -144
  1281. package/dist/esm/ix-number-field.entry.js.map +0 -1
  1282. package/dist/esm/ix-radio-group.entry.js +0 -112
  1283. package/dist/esm/ix-radio-group.entry.js.map +0 -1
  1284. package/dist/esm/ix-radio.entry.js +0 -92
  1285. package/dist/esm/ix-radio.entry.js.map +0 -1
  1286. package/dist/esm/ix-text-field.entry.js +0 -147
  1287. package/dist/esm/ix-text-field.entry.js.map +0 -1
  1288. package/dist/esm/ix-textarea-field.entry.js +0 -114
  1289. package/dist/esm/ix-textarea-field.entry.js.map +0 -1
  1290. package/dist/esm/listener-98571ba8.js.map +0 -1
  1291. package/dist/esm/make-ref-6b3b4e16.js.map +0 -1
  1292. package/dist/esm/menu-tabs-fc-7ec1fb5d.js.map +0 -1
  1293. package/dist/esm/service-02cc9011.js.map +0 -1
  1294. package/dist/esm/text-field.util-6a84bffd.js +0 -167
  1295. package/dist/esm/text-field.util-6a84bffd.js.map +0 -1
  1296. package/dist/esm/theme-switcher-b10fb4da.js.map +0 -1
  1297. package/dist/esm/validation-9db7dfa3.js +0 -112
  1298. package/dist/esm/validation-9db7dfa3.js.map +0 -1
  1299. package/dist/siemens-ix/p-02ed5606.entry.js +0 -2
  1300. package/dist/siemens-ix/p-0681f4d8.entry.js +0 -2
  1301. package/dist/siemens-ix/p-0681f4d8.entry.js.map +0 -1
  1302. package/dist/siemens-ix/p-06965e5f.entry.js.map +0 -1
  1303. package/dist/siemens-ix/p-08215ad3.entry.js +0 -2
  1304. package/dist/siemens-ix/p-08215ad3.entry.js.map +0 -1
  1305. package/dist/siemens-ix/p-0bed10af.entry.js +0 -2
  1306. package/dist/siemens-ix/p-0d907964.entry.js +0 -2
  1307. package/dist/siemens-ix/p-0dfc3b80.entry.js +0 -2
  1308. package/dist/siemens-ix/p-104097fb.entry.js.map +0 -1
  1309. package/dist/siemens-ix/p-18d15442.entry.js +0 -2
  1310. package/dist/siemens-ix/p-1da901d5.js.map +0 -1
  1311. package/dist/siemens-ix/p-1df98c59.entry.js +0 -2
  1312. package/dist/siemens-ix/p-1df98c59.entry.js.map +0 -1
  1313. package/dist/siemens-ix/p-224ebf90.js +0 -2
  1314. package/dist/siemens-ix/p-224ebf90.js.map +0 -1
  1315. package/dist/siemens-ix/p-2442ad01.entry.js +0 -2
  1316. package/dist/siemens-ix/p-2442ad01.entry.js.map +0 -1
  1317. package/dist/siemens-ix/p-277980fa.entry.js +0 -2
  1318. package/dist/siemens-ix/p-277980fa.entry.js.map +0 -1
  1319. package/dist/siemens-ix/p-36c0f378.js +0 -2
  1320. package/dist/siemens-ix/p-36c0f378.js.map +0 -1
  1321. package/dist/siemens-ix/p-3730ac72.entry.js +0 -2
  1322. package/dist/siemens-ix/p-3730ac72.entry.js.map +0 -1
  1323. package/dist/siemens-ix/p-3782e028.js +0 -2
  1324. package/dist/siemens-ix/p-3782e028.js.map +0 -1
  1325. package/dist/siemens-ix/p-37ca7ed4.js.map +0 -1
  1326. package/dist/siemens-ix/p-399bb0ce.entry.js +0 -2
  1327. package/dist/siemens-ix/p-399bb0ce.entry.js.map +0 -1
  1328. package/dist/siemens-ix/p-3a5f7b61.entry.js +0 -2
  1329. package/dist/siemens-ix/p-3a5f7b61.entry.js.map +0 -1
  1330. package/dist/siemens-ix/p-3de71a19.entry.js.map +0 -1
  1331. package/dist/siemens-ix/p-4017727a.entry.js +0 -2
  1332. package/dist/siemens-ix/p-4017727a.entry.js.map +0 -1
  1333. package/dist/siemens-ix/p-42c66a44.js +0 -2
  1334. package/dist/siemens-ix/p-42c66a44.js.map +0 -1
  1335. package/dist/siemens-ix/p-4a335b55.entry.js +0 -2
  1336. package/dist/siemens-ix/p-4a335b55.entry.js.map +0 -1
  1337. package/dist/siemens-ix/p-4b69ab0d.entry.js +0 -2
  1338. package/dist/siemens-ix/p-50cae62d.entry.js +0 -2
  1339. package/dist/siemens-ix/p-53e62b51.entry.js +0 -2
  1340. package/dist/siemens-ix/p-56d01130.entry.js +0 -2
  1341. package/dist/siemens-ix/p-56d01130.entry.js.map +0 -1
  1342. package/dist/siemens-ix/p-576b09c9.entry.js +0 -2
  1343. package/dist/siemens-ix/p-576b09c9.entry.js.map +0 -1
  1344. package/dist/siemens-ix/p-5a6d8b69.entry.js +0 -2
  1345. package/dist/siemens-ix/p-5a6d8b69.entry.js.map +0 -1
  1346. package/dist/siemens-ix/p-5bf40a9f.entry.js +0 -2
  1347. package/dist/siemens-ix/p-5eb935a3.entry.js +0 -2
  1348. package/dist/siemens-ix/p-5eb935a3.entry.js.map +0 -1
  1349. package/dist/siemens-ix/p-628c8612.entry.js +0 -2
  1350. package/dist/siemens-ix/p-628c8612.entry.js.map +0 -1
  1351. package/dist/siemens-ix/p-6bd0ba14.entry.js.map +0 -1
  1352. package/dist/siemens-ix/p-6f83793b.entry.js +0 -2
  1353. package/dist/siemens-ix/p-6f83793b.entry.js.map +0 -1
  1354. package/dist/siemens-ix/p-702f9349.js.map +0 -1
  1355. package/dist/siemens-ix/p-70a7bd22.entry.js +0 -2
  1356. package/dist/siemens-ix/p-70a7bd22.entry.js.map +0 -1
  1357. package/dist/siemens-ix/p-73e0eb40.entry.js +0 -2
  1358. package/dist/siemens-ix/p-73e0eb40.entry.js.map +0 -1
  1359. package/dist/siemens-ix/p-787293f4.entry.js +0 -2
  1360. package/dist/siemens-ix/p-787293f4.entry.js.map +0 -1
  1361. package/dist/siemens-ix/p-79c848ec.entry.js +0 -2
  1362. package/dist/siemens-ix/p-79c848ec.entry.js.map +0 -1
  1363. package/dist/siemens-ix/p-7c36d3fa.js +0 -2
  1364. package/dist/siemens-ix/p-7c36d3fa.js.map +0 -1
  1365. package/dist/siemens-ix/p-7f4b78e5.js +0 -2
  1366. package/dist/siemens-ix/p-7f4b78e5.js.map +0 -1
  1367. package/dist/siemens-ix/p-815dd9a1.entry.js +0 -2
  1368. package/dist/siemens-ix/p-815dd9a1.entry.js.map +0 -1
  1369. package/dist/siemens-ix/p-83b8b502.entry.js +0 -2
  1370. package/dist/siemens-ix/p-83b8b502.entry.js.map +0 -1
  1371. package/dist/siemens-ix/p-86b46723.entry.js +0 -2
  1372. package/dist/siemens-ix/p-86b46723.entry.js.map +0 -1
  1373. package/dist/siemens-ix/p-87d7aaf9.entry.js +0 -2
  1374. package/dist/siemens-ix/p-87d7aaf9.entry.js.map +0 -1
  1375. package/dist/siemens-ix/p-8e10d2f2.entry.js +0 -2
  1376. package/dist/siemens-ix/p-8e10d2f2.entry.js.map +0 -1
  1377. package/dist/siemens-ix/p-9010831e.entry.js +0 -2
  1378. package/dist/siemens-ix/p-9010831e.entry.js.map +0 -1
  1379. package/dist/siemens-ix/p-921c59c4.entry.js.map +0 -1
  1380. package/dist/siemens-ix/p-9ec92185.entry.js.map +0 -1
  1381. package/dist/siemens-ix/p-a9b0c087.entry.js +0 -2
  1382. package/dist/siemens-ix/p-aae05303.entry.js.map +0 -1
  1383. package/dist/siemens-ix/p-ac6c6d3f.entry.js +0 -2
  1384. package/dist/siemens-ix/p-ac6c6d3f.entry.js.map +0 -1
  1385. package/dist/siemens-ix/p-aca94a5e.entry.js +0 -2
  1386. package/dist/siemens-ix/p-aca94a5e.entry.js.map +0 -1
  1387. package/dist/siemens-ix/p-ae7fdfa6.entry.js +0 -2
  1388. package/dist/siemens-ix/p-ae7fdfa6.entry.js.map +0 -1
  1389. package/dist/siemens-ix/p-b3f35666.js +0 -2
  1390. package/dist/siemens-ix/p-b3f35666.js.map +0 -1
  1391. package/dist/siemens-ix/p-b6c0dfb5.entry.js +0 -2
  1392. package/dist/siemens-ix/p-b8ed7953.entry.js +0 -2
  1393. package/dist/siemens-ix/p-b8ed7953.entry.js.map +0 -1
  1394. package/dist/siemens-ix/p-b973db5e.entry.js.map +0 -1
  1395. package/dist/siemens-ix/p-b9b59a08.entry.js +0 -2
  1396. package/dist/siemens-ix/p-b9b59a08.entry.js.map +0 -1
  1397. package/dist/siemens-ix/p-bc1e92ac.js +0 -2
  1398. package/dist/siemens-ix/p-c09553f3.js +0 -2
  1399. package/dist/siemens-ix/p-c09553f3.js.map +0 -1
  1400. package/dist/siemens-ix/p-c3db120e.entry.js +0 -2
  1401. package/dist/siemens-ix/p-c66e4a5f.entry.js +0 -2
  1402. package/dist/siemens-ix/p-c71d1690.entry.js +0 -2
  1403. package/dist/siemens-ix/p-c71d1690.entry.js.map +0 -1
  1404. package/dist/siemens-ix/p-cce7a3d5.js +0 -2
  1405. package/dist/siemens-ix/p-cce7a3d5.js.map +0 -1
  1406. package/dist/siemens-ix/p-ce8a0611.entry.js +0 -2
  1407. package/dist/siemens-ix/p-ce8a0611.entry.js.map +0 -1
  1408. package/dist/siemens-ix/p-cf65d3b6.entry.js +0 -2
  1409. package/dist/siemens-ix/p-cf65d3b6.entry.js.map +0 -1
  1410. package/dist/siemens-ix/p-cfcd2bd3.entry.js +0 -2
  1411. package/dist/siemens-ix/p-cfcd2bd3.entry.js.map +0 -1
  1412. package/dist/siemens-ix/p-d7131f75.entry.js +0 -2
  1413. package/dist/siemens-ix/p-d7131f75.entry.js.map +0 -1
  1414. package/dist/siemens-ix/p-da8517ed.js +0 -2
  1415. package/dist/siemens-ix/p-da8517ed.js.map +0 -1
  1416. package/dist/siemens-ix/p-dead9c8e.js +0 -2
  1417. package/dist/siemens-ix/p-dead9c8e.js.map +0 -1
  1418. package/dist/siemens-ix/p-e5218382.entry.js +0 -2
  1419. package/dist/siemens-ix/p-e5218382.entry.js.map +0 -1
  1420. package/dist/siemens-ix/p-e72dfb3c.entry.js +0 -2
  1421. package/dist/siemens-ix/p-e72dfb3c.entry.js.map +0 -1
  1422. package/dist/siemens-ix/p-ec0806c3.entry.js.map +0 -1
  1423. package/dist/siemens-ix/p-ed991838.js.map +0 -1
  1424. package/dist/siemens-ix/p-edd99767.entry.js +0 -2
  1425. package/dist/siemens-ix/p-edd99767.entry.js.map +0 -1
  1426. package/dist/siemens-ix/p-ef6171a2.entry.js +0 -2
  1427. package/dist/siemens-ix/p-f0bbd496.entry.js.map +0 -1
  1428. package/dist/siemens-ix/p-f22e4bb2.entry.js +0 -2
  1429. package/dist/siemens-ix/p-f22e4bb2.entry.js.map +0 -1
  1430. package/dist/siemens-ix/p-f37ac17d.entry.js.map +0 -1
  1431. package/dist/siemens-ix/p-f3c3366d.entry.js +0 -2
  1432. package/dist/siemens-ix/p-f86a894a.js +0 -3
  1433. package/dist/siemens-ix/p-f86a894a.js.map +0 -1
  1434. package/dist/types/components/checkbox/checkbox.d.ts +0 -61
  1435. package/dist/types/components/checkbox-group/checkbox-group.d.ts +0 -40
  1436. package/dist/types/components/custom-field/custom-field.d.ts +0 -46
  1437. package/dist/types/components/date-field/date-field.d.ts +0 -127
  1438. package/dist/types/components/field-label/field-label.d.ts +0 -27
  1439. package/dist/types/components/field-label/tests/field-label.ct.d.ts +0 -1
  1440. package/dist/types/components/field-wrapper/field-wrapper.d.ts +0 -64
  1441. package/dist/types/components/field-wrapper/helper-text-util.d.ts +0 -11
  1442. package/dist/types/components/field-wrapper/tests/field-wrapper.ct.d.ts +0 -1
  1443. package/dist/types/components/helper-text/helper-text.d.ts +0 -37
  1444. package/dist/types/components/layout-form/layout-form.d.ts +0 -22
  1445. package/dist/types/components/radio/radio.d.ts +0 -53
  1446. package/dist/types/components/radio/test/radio.ct.d.ts +0 -1
  1447. package/dist/types/components/radio-group/radio-group.d.ts +0 -60
  1448. package/dist/types/components/radio-group/test/radio-group.ct.d.ts +0 -1
  1449. package/dist/types/components/text-field/input.fc.d.ts +0 -50
  1450. package/dist/types/components/text-field/number-field.d.ts +0 -117
  1451. package/dist/types/components/text-field/tests/form-ready.ct.d.ts +0 -1
  1452. package/dist/types/components/text-field/text-field.animation.d.ts +0 -1
  1453. package/dist/types/components/text-field/text-field.d.ts +0 -119
  1454. package/dist/types/components/text-field/text-field.util.d.ts +0 -13
  1455. package/dist/types/components/text-field/textarea-field.d.ts +0 -127
  1456. package/dist/types/components/utils/attributes.d.ts +0 -2
  1457. package/dist/types/components/utils/field/index.d.ts +0 -60
  1458. package/dist/types/components/utils/field/validation.d.ts +0 -15
  1459. package/dist/types/components/utils/testing/index.d.ts +0 -0
  1460. package/dist/types/components/utils/uuid.d.ts +0 -1
  1461. package/scss/mixins/_field.scss +0 -18
  1462. package/scss/mixins/validation/_form-component.scss +0 -63
  1463. /package/dist/siemens-ix/{p-781a1922.entry.js.map → p-0379b864.entry.js.map} +0 -0
  1464. /package/dist/siemens-ix/{p-846cf6d2.entry.js.map → p-054451cb.entry.js.map} +0 -0
  1465. /package/dist/siemens-ix/{p-53e62b51.entry.js.map → p-0996d9f6.entry.js.map} +0 -0
  1466. /package/dist/siemens-ix/{p-8d737a35.entry.js.map → p-0f4e62f3.entry.js.map} +0 -0
  1467. /package/dist/siemens-ix/{p-c66e4a5f.entry.js.map → p-1a8e3fea.entry.js.map} +0 -0
  1468. /package/dist/siemens-ix/{p-b789e0e7.entry.js.map → p-1e3d6d27.entry.js.map} +0 -0
  1469. /package/dist/siemens-ix/{p-6c412b52.entry.js.map → p-315ecf68.entry.js.map} +0 -0
  1470. /package/dist/siemens-ix/{p-bc1e92ac.js.map → p-3b576b4e.js.map} +0 -0
  1471. /package/dist/siemens-ix/{p-293dd6d1.entry.js.map → p-41d9a2e4.entry.js.map} +0 -0
  1472. /package/dist/siemens-ix/{p-35690183.entry.js.map → p-509dba4c.entry.js.map} +0 -0
  1473. /package/dist/siemens-ix/{p-6ca97a73.entry.js.map → p-50bcb3f8.entry.js.map} +0 -0
  1474. /package/dist/siemens-ix/{p-628f031a.entry.js.map → p-5232d441.entry.js.map} +0 -0
  1475. /package/dist/siemens-ix/{p-3b38f812.entry.js.map → p-6913e59d.entry.js.map} +0 -0
  1476. /package/dist/siemens-ix/{p-9cc0d11b.entry.js.map → p-7354cdb0.entry.js.map} +0 -0
  1477. /package/dist/siemens-ix/{p-a9b0c087.entry.js.map → p-73bd61ca.entry.js.map} +0 -0
  1478. /package/dist/siemens-ix/{p-dde0af66.entry.js.map → p-74461f94.entry.js.map} +0 -0
  1479. /package/dist/siemens-ix/{p-0bed10af.entry.js.map → p-99a1cd81.entry.js.map} +0 -0
  1480. /package/dist/siemens-ix/{p-80051a81.entry.js.map → p-ad0c6a32.entry.js.map} +0 -0
  1481. /package/dist/siemens-ix/{p-8dcf30ce.entry.js.map → p-b247d124.entry.js.map} +0 -0
  1482. /package/dist/siemens-ix/{p-9569e1a2.entry.js.map → p-b6a11e17.entry.js.map} +0 -0
  1483. /package/dist/siemens-ix/{p-0dfc3b80.entry.js.map → p-b9e66925.entry.js.map} +0 -0
  1484. /package/dist/siemens-ix/{p-1f771917.entry.js.map → p-ba2e041e.entry.js.map} +0 -0
  1485. /package/dist/siemens-ix/{p-35fa9e1a.entry.js.map → p-c0bf3052.entry.js.map} +0 -0
  1486. /package/dist/siemens-ix/{p-1ec8d2b9.entry.js.map → p-c39a6215.entry.js.map} +0 -0
  1487. /package/dist/siemens-ix/{p-5bf40a9f.entry.js.map → p-d057b634.entry.js.map} +0 -0
  1488. /package/dist/siemens-ix/{p-c3db120e.entry.js.map → p-d7072aad.entry.js.map} +0 -0
  1489. /package/dist/siemens-ix/{p-c6dcff7e.entry.js.map → p-d7a0deb7.entry.js.map} +0 -0
  1490. /package/dist/siemens-ix/{p-bd24bbde.entry.js.map → p-dc284f4d.entry.js.map} +0 -0
  1491. /package/dist/siemens-ix/{p-97f475db.entry.js.map → p-e89c0e29.entry.js.map} +0 -0
  1492. /package/dist/siemens-ix/{p-50cae62d.entry.js.map → p-ee50f7fa.entry.js.map} +0 -0
  1493. /package/dist/siemens-ix/{p-75c61fbf.entry.js.map → p-f47bd4e8.entry.js.map} +0 -0
  1494. /package/dist/siemens-ix/{p-934ae9a0.entry.js.map → p-fc766ada.entry.js.map} +0 -0
  1495. /package/dist/siemens-ix/{p-ef6171a2.entry.js.map → p-ff6668b8.entry.js.map} +0 -0
  1496. /package/dist/types/components/{checkbox/tests/checkbox.ct.d.ts → category-filter/test/category-filter.ct.d.ts} +0 -0
  1497. /package/dist/types/components/{custom-field/tests/custom-field.ct.d.ts → menu-about/test/menu-about.ct.d.ts} +0 -0
  1498. /package/dist/types/components/{date-field/tests/date-field.ct.d.ts → upload/test/upload.ct.d.ts} +0 -0
@@ -1 +1 @@
1
- {"file":"ix-time-picker.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,aAAa,GAAG,0hpBAA0hpB,CAAC;AACjjpB,2BAAe,aAAa;;MCyCf,UAAU;;;;;;sBAOI,IAAI;uBAKQ,SAAS;oCAKN,IAAI;0BAKd,IAAI;wBAKf,IAAI;2BAKD,IAAI;2BAKJ,IAAI;oBAQHA,gBAAQ,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC;iCAiBJ,SAAS;;8BAYvC,MAAM;wBAOJ,MAAM;;;;;IAjCjC,oBAAoB,CAAC,QAAgB;QACnC,IAAI,CAAC,KAAK,GAAGA,gBAAQ,CAAC,UAAU,CAAC,QAAQ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AAI;gBACb,eAAe,EAAE,IAAI;gBACrB,MAAM,EAAE,IAAI,CAAC,QAAQ,KAAK,SAAS;aACpC,IAEDA,6EACE,IAAI,EAAC,IAAI,EACT,OAAO,EAAE,MAAM,IAAI,CAAC,mBAAmB,EAAE,EACzC,KAAK,QACL,IAAI,EAAC,YAAY,EACjB,OAAO,EAAC,SAAS,EACjB,KAAK,EAAC,QAAQ,GACE,EAClBA,kEAAK,KAAK,EAAC,gBAAgB,IAAE,IAAI,CAAC,QAAQ,CAAO,EACjDA,6EACE,IAAI,EAAC,IAAI,EACT,OAAO,EAAE,MAAM,IAAI,CAAC,mBAAmB,EAAE,EACzC,KAAK,QACL,IAAI,EAAC,cAAc,EACnB,OAAO,EAAC,SAAS,EACjB,KAAK,EAAC,QAAQ,GACE,CACd,CACF,EACNA,kEAAK,KAAK,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,IAAI,CAAC,oBAAoB,EAAE,IAC9DA,wEACE,OAAO,EAAE;gBACP,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;gBACvD,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;aAClD,IAEA,IAAI,CAAC,cAAc,CACV,CACR,CACY,CACf,EACP;KACH;;;;;;;;;;","names":["DateTime","h","Host","index"],"sources":["src/components/time-picker/time-picker.scss?tag=ix-time-picker&encapsulation=shadow","src/components/time-picker/time-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@import 'common-variables';\n@import 'mixins/shadow-dom/component';\n@import 'components/form/input';\n\n:host {\n @include ix-component;\n @import 'legacy/components/forms';\n\n display: block;\n position: relative;\n width: 22rem;\n\n @media (max-width: 576px) {\n .clock {\n padding: 1.5rem 0;\n }\n\n .header {\n height: $medium-control-height !important;\n }\n }\n\n @media (min-width: 576px) {\n .clock {\n padding: 4.25rem 0;\n }\n\n .header {\n height: $large-control-height !important;\n }\n }\n\n .header {\n display: flex;\n align-items: center;\n justify-content: center;\n height: $large-control-height;\n }\n\n .flex {\n display: flex;\n }\n\n .clock {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n input,\n .time-reference {\n width: 2.625rem;\n height: $large-space;\n text-align: center;\n margin-top: 0.25rem;\n margin-bottom: 0.25rem;\n\n /* Chrome, Safari, Edge, Opera */\n &::-webkit-outer-spin-button,\n &::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0 0.3125rem;\n }\n\n /* Firefox */\n &[type='number'] {\n -moz-appearance: textfield;\n }\n }\n\n .form-control[type='number'] {\n text-align: center;\n }\n\n .columns {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-around;\n }\n\n .column-seperator {\n display: flex;\n align-items: center;\n margin: 0 $tiny-space;\n }\n\n .button {\n display: flex;\n justify-content: flex-end;\n }\n\n .default-space {\n margin-left: $default-space;\n }\n\n .text-align {\n text-align: center;\n }\n\n .hidden {\n display: none;\n }\n\n .time-reference {\n margin-top: 0.5rem;\n margin-bottom: 0.5rem;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n State,\n Watch,\n} from '@stencil/core';\nimport { DateTime } from 'luxon';\nimport { DateTimeCardCorners } from '../date-time-card/date-time-card';\n\nexport type TimePickerCorners = DateTimeCardCorners;\n\ninterface TimePickerDescriptor {\n unit: 'hour' | 'minute' | 'second';\n placeholder: string;\n hidden: boolean;\n}\n\ninterface TimeOutputFormat {\n hour: string;\n minute: string;\n second: string;\n}\n\n@Component({\n tag: 'ix-time-picker',\n styleUrl: 'time-picker.scss',\n shadow: true,\n})\nexport class TimePicker {\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 * @since 1.1.0\n */\n @Prop() format: string = 'TT';\n\n /**\n * Corner style\n */\n @Prop() corners: TimePickerCorners = 'rounded';\n\n /**\n * Controls the visual presentation and styling of the component when it is displayed as a standalone element\n */\n @Prop() standaloneAppearance: boolean = true;\n\n /**\n * @deprecated Not supported since 2.0.0.\n */\n @Prop() individual: boolean = true;\n\n /**\n * Show hour input\n */\n @Prop() showHour = true;\n\n /**\n * Show minutes input\n */\n @Prop() showMinutes = true;\n\n /**\n * Show seconds input\n */\n @Prop() showSeconds = true;\n\n /**\n * Select time with format string\n * Format has to match the `format` property.\n *\n * @since 1.1.0\n */\n @Prop() time: string = DateTime.now().toFormat(this.format);\n\n @Watch('time')\n watchTimePropHandler(newValue: string) {\n this._time = DateTime.fromFormat(newValue, this.format);\n if (!this._time.isValid) {\n throw new Error('Format is not supported or not correct');\n }\n }\n\n /**\n * Show time reference input\n *\n * @since 1.1.0 time reference is default aligned with format tt\n * @deprecated Since 2.0.0 time reference will be displayed depending on format.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable\n @Prop({ mutable: true }) showTimeReference?: boolean = undefined;\n\n /**\n * Set time reference\n */\n @Prop() timeReference: 'AM' | 'PM' | undefined;\n\n /**\n * Text of date select button\n *\n * @since 1.1.0\n */\n @Prop() textSelectTime = 'Done';\n\n /**\n * Text for top label\n *\n * @since 2.1.0\n */\n @Prop() textTime: string = 'Time';\n\n /**\n * Time event\n */\n @Event() timeSelect: EventEmitter<string>;\n\n /**\n * Time event\n * @deprecated Will be removed in 3.0.0. Use `time-select` event.\n */\n @Event() done: EventEmitter<string>;\n\n /**\n * Time change event\n */\n @Event() timeChange: EventEmitter<string>;\n\n @State() private _time: DateTime;\n @State() private _timeRef: 'AM' | 'PM' | undefined;\n @State() private _formattedTime: TimeOutputFormat;\n\n componentWillLoad() {\n this._time = DateTime.fromFormat(this.time, this.format);\n\n if (!this._time.isValid) {\n console.error(\n `Invalid time format. The configured format does not match the format of the passed time. ${this._time.invalidReason}: ${this._time.invalidExplanation}`\n );\n return;\n }\n\n this._timeRef = this.format.includes('a')\n ? (DateTime.fromFormat(this.time, this.format).toFormat('a') as\n | 'AM'\n | 'PM')\n : undefined;\n this.formatTime();\n }\n\n @Watch('_time')\n formatTime() {\n const [hour, minute, second] = this._time\n .toFormat(this.format)\n .split(' ')[0]\n .split(':');\n\n this._formattedTime = {\n hour: hour,\n minute: minute,\n second: second,\n };\n }\n\n @Watch('_time')\n onInternalTimeChange() {\n this.timeChange.emit(this._time.toFormat(this.format));\n if (this._timeRef) this._timeRef = this._time.toFormat('a') as 'AM' | 'PM';\n }\n\n timeUpdate(unit: 'hour' | 'minute' | 'second', value: number): number {\n let maxValue = DateTime.now().endOf('day').get(unit);\n\n if (this._timeRef === 'PM' && unit === 'hour') value += 12;\n if (this._timeRef === 'AM' && unit === 'hour') maxValue = 12;\n\n if (value > maxValue) {\n value = maxValue;\n } else if (value < 0) {\n value = 0;\n }\n\n this._time = this._time.set({\n [unit]: value,\n });\n return value;\n }\n\n changeTimeReference() {\n this._timeRef = this._timeRef === 'AM' ? 'PM' : 'AM';\n\n if (!this._time.toFormat('a').includes(this._timeRef)) {\n this._time = this._time.plus({\n hour: 12,\n });\n }\n }\n\n /**\n * Get the current time based on the wanted format\n */\n @Method()\n async getCurrentTime() {\n return this._time.toFormat(this.format);\n }\n\n render() {\n let timepickerInformation: TimePickerDescriptor[] = [\n {\n unit: 'hour',\n placeholder: 'HH',\n hidden: !this.showHour,\n },\n {\n unit: 'minute',\n placeholder: 'MM',\n hidden: !this.showMinutes,\n },\n {\n unit: 'second',\n placeholder: 'SS',\n hidden: !this.showSeconds,\n },\n ];\n\n timepickerInformation = timepickerInformation.filter(\n (item) => !item.hidden\n );\n\n return (\n <Host>\n <ix-date-time-card\n standaloneAppearance={this.standaloneAppearance}\n corners={this.corners}\n >\n <div class=\"header\" slot=\"header\">\n <ix-typography variant=\"default-title\">\n {this.textTime || 'Time'}\n </ix-typography>\n </div>\n <div class=\"clock\">\n {timepickerInformation.map((descriptor, index: number) => (\n <div class=\"flex\">\n <div class={{ columns: true, hidden: descriptor.hidden }}>\n <ix-icon-button\n size=\"16\"\n onClick={() =>\n (this._time = this._time.plus({\n [descriptor.unit]: 1,\n }))\n }\n ghost\n icon=\"chevron-up\"\n variant=\"primary\"\n class=\"arrows\"\n ></ix-icon-button>\n\n <input\n class=\"form-control\"\n name={descriptor.unit}\n type=\"number\"\n placeholder={descriptor.placeholder}\n value={\n this._formattedTime\n ? this._formattedTime[descriptor.unit]\n : null\n }\n onKeyDown={(e) => {\n if (e.key !== 'ArrowUp' && e.key !== 'ArrowDown') return;\n\n const value = e.key === 'ArrowUp' ? 1 : -1;\n this._time = this._time.plus({\n [descriptor.unit]: value,\n });\n e.preventDefault();\n }}\n onChange={(e: any) => {\n let inputElement = e.target as HTMLInputElement;\n inputElement.value = this.timeUpdate(\n descriptor.unit,\n +inputElement.value\n ).toString();\n }}\n ></input>\n\n <ix-icon-button\n size=\"16\"\n onClick={() =>\n (this._time = this._time.minus({\n [descriptor.unit]: 1,\n }))\n }\n ghost\n icon=\"chevron-down\"\n variant=\"primary\"\n class=\"arrows\"\n ></ix-icon-button>\n </div>\n\n {index !== timepickerInformation.length - 1 && (\n <div\n class={{\n 'column-seperator': true,\n hidden: descriptor.hidden,\n }}\n >\n :\n </div>\n )}\n </div>\n ))}\n\n <div\n class={{\n columns: true,\n 'default-space': true,\n hidden: this._timeRef === undefined,\n }}\n >\n <ix-icon-button\n size=\"16\"\n onClick={() => this.changeTimeReference()}\n ghost\n icon=\"chevron-up\"\n variant=\"primary\"\n class=\"arrows\"\n ></ix-icon-button>\n <div class=\"time-reference\">{this._timeRef}</div>\n <ix-icon-button\n size=\"16\"\n onClick={() => this.changeTimeReference()}\n ghost\n icon=\"chevron-down\"\n variant=\"primary\"\n class=\"arrows\"\n ></ix-icon-button>\n </div>\n </div>\n <div class={{ button: true, hidden: !this.standaloneAppearance }}>\n <ix-button\n onClick={() => {\n this.timeSelect.emit(this._time.toFormat(this.format));\n this.done.emit(this._time.toFormat(this.format));\n }}\n >\n {this.textSelectTime}\n </ix-button>\n </div>\n </ix-date-time-card>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ix-time-picker.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,aAAa,GAAG,0riBAA0riB,CAAC;AACjtiB,2BAAe,aAAa;;MCyCf,UAAU;;;;;;sBAOI,IAAI;uBAKQ,SAAS;oCAKN,IAAI;0BAKd,IAAI;wBAKf,IAAI;2BAKD,IAAI;2BAKJ,IAAI;oBAQHA,gBAAQ,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC;iCAiBJ,SAAS;;8BAYvC,MAAM;wBAOJ,MAAM;;;;;IAjCjC,oBAAoB,CAAC,QAAgB;QACnC,IAAI,CAAC,KAAK,GAAGA,gBAAQ,CAAC,UAAU,CAAC,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;QACxD,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE;YACvB,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;SAC3D;KACF;IAkDD,iBAAiB;QACf,IAAI,CAAC,KAAK,GAAGA,gBAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;QAEzD,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE;YACvB,OAAO,CAAC,KAAK,CACX,4FAA4F,IAAI,CAAC,KAAK,CAAC,aAAa,KAAK,IAAI,CAAC,KAAK,CAAC,kBAAkB,EAAE,CACzJ,CAAC;YACF,OAAO;SACR;Q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C,QAAQ,GACE,CACd,CACF,EACNA,kEAAK,KAAK,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,IAAI,CAAC,oBAAoB,EAAE,IAC9DA,wEACE,OAAO,EAAE;gBACP,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;gBACvD,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;aAClD,IAEA,IAAI,CAAC,cAAc,CACV,CACR,CACY,CACf,EACP;KACH;;;;;;;;;;","names":["DateTime","h","Host","index"],"sources":["src/components/time-picker/time-picker.scss?tag=ix-time-picker&encapsulation=shadow","src/components/time-picker/time-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@import 'common-variables';\n@import 'mixins/shadow-dom/component';\n@import 'components/form/input';\n\n:host {\n @include ix-component;\n @import 'legacy/components/forms';\n\n display: block;\n position: relative;\n width: 22rem;\n\n @media (max-width: 576px) {\n .clock {\n padding: 1.5rem 0;\n }\n\n .header {\n height: $medium-control-height !important;\n }\n }\n\n @media (min-width: 576px) {\n .clock {\n padding: 4.25rem 0;\n }\n\n .header {\n height: $large-control-height !important;\n }\n }\n\n .header {\n display: flex;\n align-items: center;\n justify-content: center;\n height: $large-control-height;\n }\n\n .flex {\n display: flex;\n }\n\n .clock {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n input,\n .time-reference {\n width: 2.625rem;\n height: $large-space;\n text-align: center;\n margin-top: 0.25rem;\n margin-bottom: 0.25rem;\n\n /* Chrome, Safari, Edge, Opera */\n &::-webkit-outer-spin-button,\n &::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0 0.3125rem;\n }\n\n /* Firefox */\n &[type='number'] {\n -moz-appearance: textfield;\n }\n }\n\n .form-control[type='number'] {\n text-align: center;\n }\n\n .columns {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-around;\n }\n\n .column-seperator {\n display: flex;\n align-items: center;\n margin: 0 $tiny-space;\n }\n\n .button {\n display: flex;\n justify-content: flex-end;\n }\n\n .default-space {\n margin-left: $default-space;\n }\n\n .text-align {\n text-align: center;\n }\n\n .hidden {\n display: none;\n }\n\n .time-reference {\n margin-top: 0.5rem;\n margin-bottom: 0.5rem;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n State,\n Watch,\n} from '@stencil/core';\nimport { DateTime } from 'luxon';\nimport { DateTimeCardCorners } from '../date-time-card/date-time-card';\n\nexport type TimePickerCorners = DateTimeCardCorners;\n\ninterface TimePickerDescriptor {\n unit: 'hour' | 'minute' | 'second';\n placeholder: string;\n hidden: boolean;\n}\n\ninterface TimeOutputFormat {\n hour: string;\n minute: string;\n second: string;\n}\n\n@Component({\n tag: 'ix-time-picker',\n styleUrl: 'time-picker.scss',\n shadow: true,\n})\nexport class TimePicker {\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 * @since 1.1.0\n */\n @Prop() format: string = 'TT';\n\n /**\n * Corner style\n */\n @Prop() corners: TimePickerCorners = 'rounded';\n\n /**\n * Controls the visual presentation and styling of the component when it is displayed as a standalone element\n */\n @Prop() standaloneAppearance: boolean = true;\n\n /**\n * @deprecated Not supported since 2.0.0.\n */\n @Prop() individual: boolean = true;\n\n /**\n * Show hour input\n */\n @Prop() showHour = true;\n\n /**\n * Show minutes input\n */\n @Prop() showMinutes = true;\n\n /**\n * Show seconds input\n */\n @Prop() showSeconds = true;\n\n /**\n * Select time with format string\n * Format has to match the `format` property.\n *\n * @since 1.1.0\n */\n @Prop() time: string = DateTime.now().toFormat(this.format);\n\n @Watch('time')\n watchTimePropHandler(newValue: string) {\n this._time = DateTime.fromFormat(newValue, this.format);\n if (!this._time.isValid) {\n throw new Error('Format is not supported or not correct');\n }\n }\n\n /**\n * Show time reference input\n *\n * @since 1.1.0 time reference is default aligned with format tt\n * @deprecated Since 2.0.0 time reference will be displayed depending on format.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable\n @Prop({ mutable: true }) showTimeReference?: boolean = undefined;\n\n /**\n * Set time reference\n */\n @Prop() timeReference: 'AM' | 'PM' | undefined;\n\n /**\n * Text of date select button\n *\n * @since 1.1.0\n */\n @Prop() textSelectTime = 'Done';\n\n /**\n * Text for top label\n *\n * @since 2.1.0\n */\n @Prop() textTime: string = 'Time';\n\n /**\n * Time event\n */\n @Event() timeSelect: EventEmitter<string>;\n\n /**\n * Time event\n * @deprecated Will be removed in 3.0.0. Use `time-select` event.\n */\n @Event() done: EventEmitter<string>;\n\n /**\n * Time change event\n */\n @Event() timeChange: EventEmitter<string>;\n\n @State() private _time: DateTime;\n @State() private _timeRef: 'AM' | 'PM' | undefined;\n @State() private _formattedTime: TimeOutputFormat;\n\n componentWillLoad() {\n this._time = DateTime.fromFormat(this.time, this.format);\n\n if (!this._time.isValid) {\n console.error(\n `Invalid time format. The configured format does not match the format of the passed time. ${this._time.invalidReason}: ${this._time.invalidExplanation}`\n );\n return;\n }\n\n this._timeRef = this.format.includes('a')\n ? (DateTime.fromFormat(this.time, this.format).toFormat('a') as\n | 'AM'\n | 'PM')\n : undefined;\n this.formatTime();\n }\n\n @Watch('_time')\n formatTime() {\n const [hour, minute, second] = this._time\n .toFormat(this.format)\n .split(' ')[0]\n .split(':');\n\n this._formattedTime = {\n hour: hour,\n minute: minute,\n second: second,\n };\n }\n\n @Watch('_time')\n onInternalTimeChange() {\n this.timeChange.emit(this._time.toFormat(this.format));\n if (this._timeRef) this._timeRef = this._time.toFormat('a') as 'AM' | 'PM';\n }\n\n timeUpdate(unit: 'hour' | 'minute' | 'second', value: number): number {\n let maxValue = DateTime.now().endOf('day').get(unit);\n\n if (this._timeRef === 'PM' && unit === 'hour') value += 12;\n if (this._timeRef === 'AM' && unit === 'hour') maxValue = 12;\n\n if (value > maxValue) {\n value = maxValue;\n } else if (value < 0) {\n value = 0;\n }\n\n this._time = this._time.set({\n [unit]: value,\n });\n return value;\n }\n\n changeTimeReference() {\n this._timeRef = this._timeRef === 'AM' ? 'PM' : 'AM';\n\n if (!this._time.toFormat('a').includes(this._timeRef)) {\n this._time = this._time.plus({\n hour: 12,\n });\n }\n }\n\n /**\n * Get the current time based on the wanted format\n */\n @Method()\n async getCurrentTime() {\n return this._time.toFormat(this.format);\n }\n\n render() {\n let timepickerInformation: TimePickerDescriptor[] = [\n {\n unit: 'hour',\n placeholder: 'HH',\n hidden: !this.showHour,\n },\n {\n unit: 'minute',\n placeholder: 'MM',\n hidden: !this.showMinutes,\n },\n {\n unit: 'second',\n placeholder: 'SS',\n hidden: !this.showSeconds,\n },\n ];\n\n timepickerInformation = timepickerInformation.filter(\n (item) => !item.hidden\n );\n\n return (\n <Host>\n <ix-date-time-card\n standaloneAppearance={this.standaloneAppearance}\n corners={this.corners}\n >\n <div class=\"header\" slot=\"header\">\n <ix-typography format=\"h5\">{this.textTime || 'Time'}</ix-typography>\n </div>\n <div class=\"clock\">\n {timepickerInformation.map((descriptor, index: number) => (\n <div class=\"flex\">\n <div class={{ columns: true, hidden: descriptor.hidden }}>\n <ix-icon-button\n size=\"16\"\n onClick={() =>\n (this._time = this._time.plus({\n [descriptor.unit]: 1,\n }))\n }\n ghost\n icon=\"chevron-up\"\n variant=\"primary\"\n class=\"arrows\"\n ></ix-icon-button>\n\n <input\n class=\"form-control\"\n name={descriptor.unit}\n type=\"number\"\n placeholder={descriptor.placeholder}\n value={\n this._formattedTime\n ? this._formattedTime[descriptor.unit]\n : null\n }\n onKeyDown={(e) => {\n if (e.key !== 'ArrowUp' && e.key !== 'ArrowDown') return;\n\n const value = e.key === 'ArrowUp' ? 1 : -1;\n this._time = this._time.plus({\n [descriptor.unit]: value,\n });\n e.preventDefault();\n }}\n onChange={(e: any) => {\n let inputElement = e.target as HTMLInputElement;\n inputElement.value = this.timeUpdate(\n descriptor.unit,\n +inputElement.value\n ).toString();\n }}\n ></input>\n\n <ix-icon-button\n size=\"16\"\n onClick={() =>\n (this._time = this._time.minus({\n [descriptor.unit]: 1,\n }))\n }\n ghost\n icon=\"chevron-down\"\n variant=\"primary\"\n class=\"arrows\"\n ></ix-icon-button>\n </div>\n\n {index !== timepickerInformation.length - 1 && (\n <div\n class={{\n 'column-seperator': true,\n hidden: descriptor.hidden,\n }}\n >\n :\n </div>\n )}\n </div>\n ))}\n\n <div\n class={{\n columns: true,\n 'default-space': true,\n hidden: this._timeRef === undefined,\n }}\n >\n <ix-icon-button\n size=\"16\"\n onClick={() => this.changeTimeReference()}\n ghost\n icon=\"chevron-up\"\n variant=\"primary\"\n class=\"arrows\"\n ></ix-icon-button>\n <div class=\"time-reference\">{this._timeRef}</div>\n <ix-icon-button\n size=\"16\"\n onClick={() => this.changeTimeReference()}\n ghost\n icon=\"chevron-down\"\n variant=\"primary\"\n class=\"arrows\"\n ></ix-icon-button>\n </div>\n </div>\n <div class={{ button: true, hidden: !this.standaloneAppearance }}>\n <ix-button\n onClick={() => {\n this.timeSelect.emit(this._time.toFormat(this.format));\n this.done.emit(this._time.toFormat(this.format));\n }}\n >\n {this.textSelectTime}\n </ix-button>\n </div>\n </ix-date-time-card>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-0f6297c8.js');
5
+ const index = require('./index-529f21c1.js');
6
6
  const typedEvent = require('./typed-event-8032c0c0.js');
7
7
 
8
8
  const toastContainerCss = ":host{}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}#toast-container>:not(:last-child){margin-block-end:1rem}.toast-container{display:block;position:fixed}.toast-container--top-right{right:1rem;top:2rem}.toast-container--bottom-right{right:1rem;bottom:2rem}";
@@ -78,10 +78,10 @@ const ToastContainer = class {
78
78
  };
79
79
  }
80
80
  render() {
81
- return (index.h(index.Host, { key: '7ed12499736b25361b54781a914704624361f413', class: {
81
+ return (index.h(index.Host, { key: '6685007196b533f4494919f084cdba16ec0deed1', class: {
82
82
  'toast-container--bottom-right': this.position === 'bottom-right',
83
83
  'toast-container--top-right': this.position === 'top-right',
84
- } }, index.h("slot", { key: '48a789d536cb007c2dc31d15615600cd0b51111d' })));
84
+ } }, index.h("slot", { key: 'ad09d6ad68e29b75ef29c4e943006ddf22a7233e' })));
85
85
  }
86
86
  static get watchers() { return {
87
87
  "position": ["onPositionChange"]
@@ -1 +1 @@
1
- {"file":"ix-toast-container.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,iBAAiB,GAAG,88BAA88B,CAAC;AACz+B,+BAAe,iBAAiB;;MCsBnB,cAAc;;;QAaR,0BAAqB,GAAG,mBAAmB,CAAC;2BAVvC,iBAAiB;8BAId,iBAAiB;wBAIO,cAAc;;IAI/D,IAAI,aAAa;QACf,OAAO,IAAI,OAAO,CAAc,CAAC,OAAO;YACtC,MAAM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styles/toast-container.scss?tag=ix-toast-container&encapsulation=shadow","src/components/toast/toast-container.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n}\n\n#toast-container {\n > :not(:last-child) {\n margin-block-end: $default-space;\n }\n}\n\n.toast-container {\n display: block;\n position: fixed;\n}\n\n.toast-container--top-right {\n right: 1rem;\n top: 2rem;\n}\n\n.toast-container--bottom-right {\n right: 1rem;\n bottom: 2rem;\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, Method, Prop, Watch } from '@stencil/core';\nimport { TypedEvent } from '../utils/typed-event';\nimport { ToastConfig } from './toast-utils';\n\nexport type ShowToastResult = {\n onClose: TypedEvent<any | undefined>;\n close: (result?: any) => void;\n};\n\n@Component({\n tag: 'ix-toast-container',\n styleUrl: './styles/toast-container.scss',\n shadow: true,\n})\nexport class ToastContainer {\n /**\n */\n @Prop() containerId = 'toast-container';\n\n /**\n */\n @Prop() containerClass = 'toast-container';\n\n /**\n */\n @Prop() position: 'bottom-right' | 'top-right' = 'bottom-right';\n\n private readonly PREFIX_POSITION_CLASS = 'toast-container--';\n\n get hostContainer() {\n return new Promise<HTMLElement>((resolve) => {\n const interval = setInterval(() => {\n const containerElement = document.getElementById(this.containerId);\n if (containerElement) {\n clearInterval(interval);\n resolve(containerElement);\n }\n });\n });\n }\n\n componentDidLoad() {\n if (!document.getElementById(this.containerId)) {\n const toastContainer = document.createElement('div');\n toastContainer.id = this.containerId;\n toastContainer.classList.add(this.containerClass);\n toastContainer.classList.add(\n `${this.PREFIX_POSITION_CLASS}${this.position}`\n );\n document.body.appendChild(toastContainer);\n }\n }\n\n @Watch('position')\n onPositionChange(newPosition: string, oldPosition: string) {\n const toastContainer = document.getElementById(this.containerId);\n toastContainer.classList.remove(\n `${this.PREFIX_POSITION_CLASS}${oldPosition}`\n );\n toastContainer.classList.add(`${this.PREFIX_POSITION_CLASS}${newPosition}`);\n }\n\n /**\n * Display a toast message\n * @param config\n */\n @Method()\n async showToast(config: ToastConfig): Promise<ShowToastResult> {\n const toast = document.createElement('ix-toast');\n const onClose = new TypedEvent<any | undefined>();\n\n function removeToast(result?: any) {\n toast.remove();\n onClose.emit(result);\n }\n\n toast.toastTitle = config.title;\n toast.type = config.type;\n toast.autoClose = config.autoClose ?? true;\n toast.autoCloseDelay = config.autoCloseDelay ?? 5000;\n toast.icon = config.icon;\n toast.iconColor = config.iconColor;\n toast.addEventListener(\n 'closeToast',\n (event: CustomEvent<any | undefined>) => {\n const { detail } = event;\n removeToast(detail);\n }\n );\n\n if (typeof config.message === 'string') {\n toast.innerText = config.message;\n } else {\n toast.appendChild(config.message);\n }\n\n (await this.hostContainer).appendChild(toast);\n\n return {\n onClose,\n close: (result?: any) => {\n removeToast(result);\n },\n };\n }\n\n render() {\n return (\n <Host\n class={{\n 'toast-container--bottom-right': this.position === 'bottom-right',\n 'toast-container--top-right': this.position === 'top-right',\n }}\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ix-toast-container.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,iBAAiB,GAAG,88BAA88B,CAAC;AACz+B,+BAAe,iBAAiB;;MCsBnB,cAAc;;;QAaR,0BAAqB,GAAG,mBAAmB,CAAC;2BAVvC,iBAAiB;8BAId,iBAAiB;wBAIO,cAAc;;IAI/D,IAAI,aAAa;QACf,OAAO,IAAI,OAAO,CAAc,CAAC,OAAO;YACtC,MAAM,QAAQ,GAAG,WAAW,CAAC;gBAC3B,MAAM,gBAAgB,GAAG,QAAQ,CAAC,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC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AK,CAAC,UAAU,GAAG,MAAM,CAAC,KAAK,CAAC;QAChC,KAAK,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACzB,KAAK,CAAC,SAAS,GAAG,MAAA,MAAM,CAAC,SAAS,mCAAI,IAAI,CAAC;QAC3C,KAAK,CAAC,cAAc,GAAG,MAAA,MAAM,CAAC,cAAc,mCAAI,IAAI,CAAC;QACrD,KAAK,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACzB,KAAK,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC;QACnC,KAAK,CAAC,gBAAgB,CACpB,YAAY,EACZ,CAAC,KAAmC;YAClC,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;YACzB,WAAW,CAAC,MAAM,CAAC,CAAC;SACrB,CACF,CAAC;QAEF,IAAI,OAAO,MAAM,CAAC,OAAO,KAAK,QAAQ,EAAE;YACtC,KAAK,CAAC,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC;SAClC;aAAM;YACL,KAAK,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;SACnC;QAED,CAAC,MAAM,IAAI,CAAC,aAAa,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;QAE9C,OAAO;YACL,OAAO;YACP,KAAK,EAAE,CAAC,MAAY;gBAClB,WAAW,CAAC,MAAM,CAAC,CAAC;aACrB;SACF,CAAC;KACH;IAED,MAAM;QACJ,QACEC,QAACC,UAAI,qDACH,KAAK,EAAE;gBACL,+BAA+B,EAAE,IAAI,CAAC,QAAQ,KAAK,cAAc;gBACjE,4BAA4B,EAAE,IAAI,CAAC,QAAQ,KAAK,WAAW;aAC5D,IAEDD,oEAAa,CACR,EACP;KACH;;;;;;;;;","names":["TypedEvent","h","Host"],"sources":["src/components/toast/styles/toast-container.scss?tag=ix-toast-container&encapsulation=shadow","src/components/toast/toast-container.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\n@import 'common-variables';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n}\n\n#toast-container {\n > :not(:last-child) {\n margin-block-end: $default-space;\n }\n}\n\n.toast-container {\n display: block;\n position: fixed;\n}\n\n.toast-container--top-right {\n right: 1rem;\n top: 2rem;\n}\n\n.toast-container--bottom-right {\n right: 1rem;\n bottom: 2rem;\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 { Component, h, Host, Method, Prop, Watch } from '@stencil/core';\nimport { TypedEvent } from '../utils/typed-event';\nimport { ToastConfig } from './toast-utils';\n\nexport type ShowToastResult = {\n onClose: TypedEvent<any | undefined>;\n close: (result?: any) => void;\n};\n\n@Component({\n tag: 'ix-toast-container',\n styleUrl: './styles/toast-container.scss',\n shadow: true,\n})\nexport class ToastContainer {\n /**\n */\n @Prop() containerId = 'toast-container';\n\n /**\n */\n @Prop() containerClass = 'toast-container';\n\n /**\n */\n @Prop() position: 'bottom-right' | 'top-right' = 'bottom-right';\n\n private readonly PREFIX_POSITION_CLASS = 'toast-container--';\n\n get hostContainer() {\n return new Promise<HTMLElement>((resolve) => {\n const interval = setInterval(() => {\n const containerElement = document.getElementById(this.containerId);\n if (containerElement) {\n clearInterval(interval);\n resolve(containerElement);\n }\n });\n });\n }\n\n componentDidLoad() {\n if (!document.getElementById(this.containerId)) {\n const toastContainer = document.createElement('div');\n toastContainer.id = this.containerId;\n toastContainer.classList.add(this.containerClass);\n toastContainer.classList.add(\n `${this.PREFIX_POSITION_CLASS}${this.position}`\n );\n document.body.appendChild(toastContainer);\n }\n }\n\n @Watch('position')\n onPositionChange(newPosition: string, oldPosition: string) {\n const toastContainer = document.getElementById(this.containerId);\n toastContainer.classList.remove(\n `${this.PREFIX_POSITION_CLASS}${oldPosition}`\n );\n toastContainer.classList.add(`${this.PREFIX_POSITION_CLASS}${newPosition}`);\n }\n\n /**\n * Display a toast message\n * @param config\n */\n @Method()\n async showToast(config: ToastConfig): Promise<ShowToastResult> {\n const toast = document.createElement('ix-toast');\n const onClose = new TypedEvent<any | undefined>();\n\n function removeToast(result?: any) {\n toast.remove();\n onClose.emit(result);\n }\n\n toast.toastTitle = config.title;\n toast.type = config.type;\n toast.autoClose = config.autoClose ?? true;\n toast.autoCloseDelay = config.autoCloseDelay ?? 5000;\n toast.icon = config.icon;\n toast.iconColor = config.iconColor;\n toast.addEventListener(\n 'closeToast',\n (event: CustomEvent<any | undefined>) => {\n const { detail } = event;\n removeToast(detail);\n }\n );\n\n if (typeof config.message === 'string') {\n toast.innerText = config.message;\n } else {\n toast.appendChild(config.message);\n }\n\n (await this.hostContainer).appendChild(toast);\n\n return {\n onClose,\n close: (result?: any) => {\n removeToast(result);\n },\n };\n }\n\n render() {\n return (\n <Host\n class={{\n 'toast-container--bottom-right': this.position === 'bottom-right',\n 'toast-container--top-right': this.position === 'top-right',\n }}\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-0f6297c8.js');
5
+ const index = require('./index-529f21c1.js');
6
6
 
7
7
  const toastCss = ":host{display:flex;flex-direction:column;position:relative;min-width:17.5rem;max-width:17.5rem;min-height:3.5rem;pointer-events:all;background-color:var(--theme-toast--background);border:var(--theme-toast--border-thickness) solid var(--theme-toast--border-color);border-radius:var(--theme-toast--border-radius);box-shadow:var(--theme-toast--box-shadow);--animate-duration:300ms}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .toast-body{display:flex;position:relative;min-height:3.5rem;width:100%;flex-grow:1;padding:0.75rem}:host .toast-body .toast-icon{display:flex;align-items:flex-start;margin-right:1rem}:host .toast-body .toast-content{overflow:hidden;text-overflow:ellipsis;min-width:0;width:100%}:host .toast-body .toast-content .toast-title{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.143em;color:var(--theme-color-std-text);margin:0.25rem 0px}:host .toast-body .toast-content .toast-message{min-width:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text)}:host .toast-body .toast-icon+.toast-content{max-width:10.25rem}:host .toast-close{display:flex;position:relative;pointer-events:all;margin-left:auto;margin-right:0px}:host .toast-progress-bar{position:absolute;bottom:0;height:0.25rem;width:100%;background-color:var(--theme-toast-timer-value--background);transform-origin:left}:host .toast-progress-bar--animated{animation:trackProgress linear 1 forwards}@keyframes trackProgress{0%{transform:scaleX(1)}100%{transform:scaleX(0)}}";
8
8
  const IxToastStyle0 = toastCss;
@@ -53,11 +53,11 @@ const Toast = class {
53
53
  animationPlayState: this.touched ? 'paused' : 'running',
54
54
  };
55
55
  progressBarClass.push('toast-progress-bar--animated');
56
- return (index.h(index.Host, { key: 'ca58e7b2c0e4ee3d77bb0ee9be2a7ff86759f52a', class: "animate__animated animate__fadeIn" }, index.h("div", { key: '0d37ab4e3103087f5cb6d8b55c7afe843b2359c3', class: "toast-body", onPointerLeave: () => {
56
+ return (index.h(index.Host, { key: 'e00304dc08ce19e66135e61ae24c927d15fb37e5', class: "animate__animated animate__fadeIn" }, index.h("div", { key: 'e53eab36e6c27b98be7f8c36f9d03005e510cdf5', class: "toast-body", onPointerLeave: () => {
57
57
  this.touched = false;
58
58
  }, onPointerEnter: () => {
59
59
  this.touched = true;
60
- } }, this.type || this.icon ? (index.h("div", { class: "toast-icon" }, this.getIcon())) : null, index.h("div", { key: '83e897aa8388de4205c5348f7db698da94f83a19', class: "toast-content" }, this.toastTitle ? (index.h("div", { class: "toast-title" }, this.toastTitle)) : null, index.h("div", { key: '306f6cb5055ba4b60823d692bf7154c8364ab0f5', class: "toast-message" }, index.h("slot", { key: 'fcea3e5a631e27e9045167fde508e610c964063a' }))), index.h("div", { key: '706771eeb884647bd84a3895da2e42409971ab2e', class: "toast-close" }, index.h("ix-icon-button", { key: '7e27ce2f29d8d010d216bf6ef3d69feb9ebe51c8', icon: 'close', size: "24", ghost: true, onClick: () => this.closeToast.emit() }))), this.autoClose ? (index.h("div", { class: progressBarClass.join(' '), style: progressBarStyle, onAnimationEnd: () => {
60
+ } }, this.type || this.icon ? (index.h("div", { class: "toast-icon" }, this.getIcon())) : null, index.h("div", { key: '91137fd2fd716ced8b18201895f19fffb12debb8', class: "toast-content" }, this.toastTitle ? (index.h("div", { class: "toast-title" }, this.toastTitle)) : null, index.h("div", { key: 'bf560ba99247ceedde1aed98ffaa9a50ee1eca30', class: "toast-message" }, index.h("slot", { key: '6c39fed29c462a1931c7d4eea06632f7497aa674' }))), index.h("div", { key: 'b62c72ff64b9fc9e0f9944050a3a2482d6d83d85', class: "toast-close" }, index.h("ix-icon-button", { key: '14406229f4b5d7a6ef23317a295b4f5904f2fc03', icon: 'close', size: "24", ghost: true, onClick: () => this.closeToast.emit() }))), this.autoClose ? (index.h("div", { class: progressBarClass.join(' '), style: progressBarStyle, onAnimationEnd: () => {
61
61
  this.close();
62
62
  }, onTransitionEnd: () => {
63
63
  if (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AK,EAAE,CAAC;iBACd;aACF,GACI,IACL,IAAI,CACH,EACP;KACH;;;;;;;","names":["h","Host"],"sources":["src/components/toast/toast.scss?tag=ix-toast&encapsulation=shadow","src/components/toast/toast.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'mixins/hover';\n@import 'mixins/text-truncation';\n@import 'mixins/shadow-dom/component';\n@import 'legacy/mixins/fonts';\n\n:host {\n @include ix-component;\n\n display: flex;\n flex-direction: column;\n position: relative;\n min-width: 17.5rem;\n max-width: 17.5rem;\n min-height: 3.5rem;\n\n pointer-events: all;\n\n background-color: var(--theme-toast--background);\n border: var(--theme-toast--border-thickness) solid\n var(--theme-toast--border-color);\n border-radius: var(--theme-toast--border-radius);\n box-shadow: var(--theme-toast--box-shadow);\n\n --animate-duration: #{$medium-time};\n\n .toast-body {\n display: flex;\n position: relative;\n min-height: 3.5rem;\n width: 100%;\n flex-grow: 1;\n padding: 0.75rem;\n\n .toast-icon {\n display: flex;\n align-items: flex-start;\n margin-right: $default-space;\n }\n\n .toast-content {\n overflow: hidden;\n text-overflow: ellipsis;\n min-width: 0;\n width: 100%;\n\n .toast-title {\n @include text-default-title-single;\n margin: 0.25rem 0px;\n }\n\n .toast-message {\n min-width: 0;\n\n @include text-default;\n }\n }\n\n .toast-icon + .toast-content {\n max-width: 10.25rem;\n }\n }\n\n .toast-close {\n display: flex;\n position: relative;\n pointer-events: all;\n margin-left: auto;\n margin-right: 0px;\n }\n\n .toast-progress-bar {\n position: absolute;\n bottom: 0;\n height: $tiny-space;\n width: 100%;\n background-color: var(--theme-toast-timer-value--background);\n transform-origin: left;\n\n &--animated {\n animation: trackProgress linear 1 forwards;\n }\n }\n\n @keyframes trackProgress {\n 0% {\n transform: scaleX(1);\n }\n 100% {\n transform: scaleX(0);\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 {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n State,\n} from '@stencil/core';\nimport { ToastType } from './toast-utils';\n\n@Component({\n tag: 'ix-toast',\n styleUrl: 'toast.scss',\n shadow: true,\n})\nexport class Toast {\n /**\n * Toast type\n */\n @Prop() type: ToastType = 'info';\n\n /**\n * Toast title\n */\n @Prop() toastTitle: string;\n\n /**\n * Autoclose title after delay\n */\n @Prop() autoCloseDelay = 5000;\n\n /**\n * Autoclose behavior\n */\n @Prop() autoClose = true;\n\n /**\n * Icon of toast\n */\n @Prop() icon: string;\n\n /**\n * Icon color of toast\n */\n @Prop() iconColor: string;\n\n /**\n * Toast closed\n */\n @Event() closeToast: EventEmitter;\n\n @State() progress = 0;\n @State() touched = false;\n\n @Element() hostElement!: HTMLIxToastElement;\n\n private getIcon() {\n if (this.icon) {\n return (\n <ix-icon\n data-testid=\"toast-icon\"\n name={this.icon}\n color={this.iconColor}\n size=\"24\"\n />\n );\n }\n\n switch (this.type) {\n case 'info':\n return (\n <ix-icon\n data-testid=\"toast-icon\"\n name={'info'}\n size=\"24\"\n color=\"color-std-text\"\n />\n );\n\n case 'error':\n return (\n <ix-icon\n data-testid=\"toast-icon\"\n name={'error'}\n size=\"24\"\n color=\"color-alarm\"\n />\n );\n\n case 'success':\n return (\n <ix-icon\n data-testid=\"toast-icon\"\n name={'success'}\n size=\"24\"\n color=\"color-success\"\n />\n );\n\n case 'warning':\n return (\n <ix-icon\n data-testid=\"toast-icon\"\n name={'warning'}\n size=\"24\"\n color=\"color-warning\"\n />\n );\n\n default:\n return '';\n }\n }\n\n private close() {\n if (this.hostElement) {\n this.hostElement.classList.add('animate__fadeOut');\n }\n setTimeout(() => {\n this.closeToast.emit();\n }, 250);\n }\n\n render() {\n let progressBarStyle: Record<string, string> = {};\n\n const progressBarClass = ['toast-progress-bar'];\n\n progressBarStyle = {\n animationDuration: `${this.autoCloseDelay}ms`,\n animationPlayState: this.touched ? 'paused' : 'running',\n };\n\n progressBarClass.push('toast-progress-bar--animated');\n\n return (\n <Host class=\"animate__animated animate__fadeIn\">\n <div\n class=\"toast-body\"\n onPointerLeave={() => {\n this.touched = false;\n }}\n onPointerEnter={() => {\n this.touched = true;\n }}\n >\n {this.type || this.icon ? (\n <div class=\"toast-icon\">{this.getIcon()}</div>\n ) : null}\n <div class=\"toast-content\">\n {this.toastTitle ? (\n <div class=\"toast-title\">{this.toastTitle}</div>\n ) : null}\n <div class=\"toast-message\">\n <slot></slot>\n </div>\n </div>\n <div class=\"toast-close\">\n <ix-icon-button\n icon={'close'}\n size=\"24\"\n ghost\n onClick={() => this.closeToast.emit()}\n />\n </div>\n </div>\n {this.autoClose ? (\n <div\n class={progressBarClass.join(' ')}\n style={progressBarStyle}\n onAnimationEnd={() => {\n this.close();\n }}\n onTransitionEnd={() => {\n if (this.progress === 0) {\n this.close();\n }\n }}\n ></div>\n ) : null}\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ix-toast.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,QAAQ,GAAG,k3EAAk3E,CAAC;AACp4E,sBAAe,QAAQ;;MCyBV,KAAK;;;;oBAIU,MAAM;;8BAUP,IAAI;yBAKT,IAAI;;;wBAiBJ,CAAC;uBACF,KAAK;;IAIhB,OAAO;QACb,IAAI,IAAI,CAAC,IAAI,EAAE;YACb,QACEA,oCACc,YAAY,EACxB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,KAAK,EAAE,IAAI,CAAC,SAAS,EACrB,IAAI,EAAC,IAAI,GACT,EACF;SACH;QAED,QAAQ,IAAI,CAAC,IAAI;YACf,KAAK,MAAM;gBACT,QACEA,oCACc,YAAY,EACxB,IAAI,EAAE,MAAM,EACZ,IAAI,EAAC,IAAI,EACT,KAAK,EAAC,gBAAgB,GACtB,E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AK,EAAC,YAAY,IAAE,IAAI,CAAC,OAAO,EAAE,CAAO,IAC5C,IAAI,EACRA,kEAAK,KAAK,EAAC,eAAe,IACvB,IAAI,CAAC,UAAU,IACdA,iBAAK,KAAK,EAAC,aAAa,IAAE,IAAI,CAAC,UAAU,CAAO,IAC9C,IAAI,EACRA,kEAAK,KAAK,EAAC,eAAe,IACxBA,oEAAa,CACT,CACF,EACNA,kEAAK,KAAK,EAAC,aAAa,IACtBA,6EACE,IAAI,EAAE,OAAO,EACb,IAAI,EAAC,IAAI,EACT,KAAK,QACL,OAAO,EAAE,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,GACrC,CACE,CACF,EACL,IAAI,CAAC,SAAS,IACbA,iBACE,KAAK,EAAE,gBAAgB,CAAC,IAAI,CAAC,GAAG,CAAC,EACjC,KAAK,EAAE,gBAAgB,EACvB,cAAc,EAAE;gBACd,IAAI,CAAC,KAAK,EAAE,CAAC;aACd,EACD,eAAe,EAAE;gBACf,IAAI,IAAI,CAAC,QAAQ,KAAK,CAAC,EAAE;oBACvB,IAAI,CAAC,KAAK,EAAE,CAAC;iBACd;aACF,GACI,IACL,IAAI,CACH,EACP;KACH;;;;;;;","names":["h","Host"],"sources":["src/components/toast/toast.scss?tag=ix-toast&encapsulation=shadow","src/components/toast/toast.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\n@import 'common-variables';\n@import 'mixins/hover';\n@import 'mixins/text-truncation';\n@import 'mixins/shadow-dom/component';\n@import 'legacy/mixins/fonts';\n\n:host {\n @include ix-component;\n\n display: flex;\n flex-direction: column;\n position: relative;\n min-width: 17.5rem;\n max-width: 17.5rem;\n min-height: 3.5rem;\n\n pointer-events: all;\n\n background-color: var(--theme-toast--background);\n border: var(--theme-toast--border-thickness) solid\n var(--theme-toast--border-color);\n border-radius: var(--theme-toast--border-radius);\n box-shadow: var(--theme-toast--box-shadow);\n\n --animate-duration: #{$medium-time};\n\n .toast-body {\n display: flex;\n position: relative;\n min-height: 3.5rem;\n width: 100%;\n flex-grow: 1;\n padding: 0.75rem;\n\n .toast-icon {\n display: flex;\n align-items: flex-start;\n margin-right: $default-space;\n }\n\n .toast-content {\n overflow: hidden;\n text-overflow: ellipsis;\n min-width: 0;\n width: 100%;\n\n .toast-title {\n @include text-default-title-single;\n margin: 0.25rem 0px;\n }\n\n .toast-message {\n min-width: 0;\n\n @include text-default;\n }\n }\n\n .toast-icon + .toast-content {\n max-width: 10.25rem;\n }\n }\n\n .toast-close {\n display: flex;\n position: relative;\n pointer-events: all;\n margin-left: auto;\n margin-right: 0px;\n }\n\n .toast-progress-bar {\n position: absolute;\n bottom: 0;\n height: $tiny-space;\n width: 100%;\n background-color: var(--theme-toast-timer-value--background);\n transform-origin: left;\n\n &--animated {\n animation: trackProgress linear 1 forwards;\n }\n }\n\n @keyframes trackProgress {\n 0% {\n transform: scaleX(1);\n }\n 100% {\n transform: scaleX(0);\n }\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 {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n State,\n} from '@stencil/core';\nimport { ToastType } from './toast-utils';\n\n@Component({\n tag: 'ix-toast',\n styleUrl: 'toast.scss',\n shadow: true,\n})\nexport class Toast {\n /**\n * Toast type\n */\n @Prop() type: ToastType = 'info';\n\n /**\n * Toast title\n */\n @Prop() toastTitle: string;\n\n /**\n * Autoclose title after delay\n */\n @Prop() autoCloseDelay = 5000;\n\n /**\n * Autoclose behavior\n */\n @Prop() autoClose = true;\n\n /**\n * Icon of toast\n */\n @Prop() icon: string;\n\n /**\n * Icon color of toast\n */\n @Prop() iconColor: string;\n\n /**\n * Toast closed\n */\n @Event() closeToast: EventEmitter;\n\n @State() progress = 0;\n @State() touched = false;\n\n @Element() hostElement!: HTMLIxToastElement;\n\n private getIcon() {\n if (this.icon) {\n return (\n <ix-icon\n data-testid=\"toast-icon\"\n name={this.icon}\n color={this.iconColor}\n size=\"24\"\n />\n );\n }\n\n switch (this.type) {\n case 'info':\n return (\n <ix-icon\n data-testid=\"toast-icon\"\n name={'info'}\n size=\"24\"\n color=\"color-std-text\"\n />\n );\n\n case 'error':\n return (\n <ix-icon\n data-testid=\"toast-icon\"\n name={'error'}\n size=\"24\"\n color=\"color-alarm\"\n />\n );\n\n case 'success':\n return (\n <ix-icon\n data-testid=\"toast-icon\"\n name={'success'}\n size=\"24\"\n color=\"color-success\"\n />\n );\n\n case 'warning':\n return (\n <ix-icon\n data-testid=\"toast-icon\"\n name={'warning'}\n size=\"24\"\n color=\"color-warning\"\n />\n );\n\n default:\n return '';\n }\n }\n\n private close() {\n if (this.hostElement) {\n this.hostElement.classList.add('animate__fadeOut');\n }\n setTimeout(() => {\n this.closeToast.emit();\n }, 250);\n }\n\n render() {\n let progressBarStyle: Record<string, string> = {};\n\n const progressBarClass = ['toast-progress-bar'];\n\n progressBarStyle = {\n animationDuration: `${this.autoCloseDelay}ms`,\n animationPlayState: this.touched ? 'paused' : 'running',\n };\n\n progressBarClass.push('toast-progress-bar--animated');\n\n return (\n <Host class=\"animate__animated animate__fadeIn\">\n <div\n class=\"toast-body\"\n onPointerLeave={() => {\n this.touched = false;\n }}\n onPointerEnter={() => {\n this.touched = true;\n }}\n >\n {this.type || this.icon ? (\n <div class=\"toast-icon\">{this.getIcon()}</div>\n ) : null}\n <div class=\"toast-content\">\n {this.toastTitle ? (\n <div class=\"toast-title\">{this.toastTitle}</div>\n ) : null}\n <div class=\"toast-message\">\n <slot></slot>\n </div>\n </div>\n <div class=\"toast-close\">\n <ix-icon-button\n icon={'close'}\n size=\"24\"\n ghost\n onClick={() => this.closeToast.emit()}\n />\n </div>\n </div>\n {this.autoClose ? (\n <div\n class={progressBarClass.join(' ')}\n style={progressBarStyle}\n onAnimationEnd={() => {\n this.close();\n }}\n onTransitionEnd={() => {\n if (this.progress === 0) {\n this.close();\n }\n }}\n ></div>\n ) : null}\n </Host>\n );\n }\n}\n"],"version":3}
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-0f6297c8.js');
6
- const baseButton = require('./base-button-16d4fadf.js');
7
- const a11y = require('./a11y-32046b56.js');
5
+ const index = require('./index-529f21c1.js');
6
+ const baseButton = require('./base-button-a472cf2f.js');
7
+ const a11y = require('./a11y-eba397e8.js');
8
8
 
9
9
  const toggleButtonCss = ".btn{display:inline-flex;align-items:center;justify-content:center;height:2rem;font-size:0.875rem;font-weight:700;transition:var(--theme-default-time);padding:0 0.5rem;min-width:5rem;gap:0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.btn .glyph{margin-right:0.25rem;font-weight:400}.btn:focus-visible,.btn.focus{box-shadow:none}.btn-primary{border-radius:var(--theme-btn--border-radius)}.btn-primary,.btn-primary.focus,.btn-primary:focus-visible{background-color:var(--theme-btn-primary--background);color:var(--theme-btn-primary--color);--ix-button-color:var(--theme-btn-primary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-primary--border-color);border-style:solid}.btn-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-primary.hover,.btn-primary:hover{border-color:var(--theme-btn-primary--border-color--hover);background-color:var(--theme-btn-primary--background--hover);color:var(--theme-btn-primary--color--hover)}.btn-primary.selected.hover,.btn-primary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-primary:not(:disabled):not(.disabled):active,.btn-primary:not(:disabled):not(.disabled).active,.show>.btn-primary.dropdown-toggle{border-color:var(--theme-btn-primary--border-color--active);background-color:var(--theme-btn-primary--background--active);color:var(--theme-btn-primary--color--active)}.btn-primary.selected:not(:disabled):not(.disabled):active,.btn-primary.selected:not(:disabled):not(.disabled).active,.show>.btn-primary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-primary.disabled,.btn-primary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-primary--border-color--disabled);background-color:var(--theme-btn-primary--background--disabled);color:var(--theme-btn-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-primary--color--disabled)}.btn-outline-primary{border-radius:var(--theme-btn--border-radius)}.btn-outline-primary,.btn-outline-primary.focus,.btn-outline-primary:focus-visible{background-color:var(--theme-btn-outline-primary--background);color:var(--theme-btn-outline-primary--color);--ix-button-color:var(--theme-btn-outline-primary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-outline-primary--border-color);border-style:solid}.btn-outline-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-outline-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-outline-primary.hover,.btn-outline-primary:hover{border-color:var(--theme-btn-outline-primary--border-color--hover);background-color:var(--theme-btn-outline-primary--background--hover);color:var(--theme-btn-outline-primary--color--hover)}.btn-outline-primary.selected.hover,.btn-outline-primary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-outline-primary:not(:disabled):not(.disabled):active,.btn-outline-primary:not(:disabled):not(.disabled).active,.show>.btn-outline-primary.dropdown-toggle{border-color:var(--theme-btn-outline-primary--border-color--active);background-color:var(--theme-btn-outline-primary--background--active);color:var(--theme-btn-outline-primary--color--active)}.btn-outline-primary.selected:not(:disabled):not(.disabled):active,.btn-outline-primary.selected:not(:disabled):not(.disabled).active,.show>.btn-outline-primary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-outline-primary.disabled,.btn-outline-primary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-outline-primary--border-color--disabled);background-color:var(--theme-btn-outline-primary--background--disabled);color:var(--theme-btn-outline-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-outline-primary--color--disabled)}.btn-invisible-primary{border-radius:var(--theme-btn--border-radius);--bs-btn-border-width:0px;--bs-btn-active-border-color:none}.btn-invisible-primary,.btn-invisible-primary.focus,.btn-invisible-primary:focus-visible{background-color:var(--theme-btn-invisible-primary--background);color:var(--theme-btn-invisible-primary--color);--ix-button-color:var(--theme-btn-invisible-primary--color);border-color:transparent}.btn-invisible-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-invisible-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-invisible-primary.hover,.btn-invisible-primary:hover{background-color:var(--theme-btn-invisible-primary--background--hover);color:var(--theme-btn-invisible-primary--color--hover)}.btn-invisible-primary.selected.hover,.btn-invisible-primary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-invisible-primary:not(:disabled):not(.disabled):active,.btn-invisible-primary:not(:disabled):not(.disabled).active,.show>.btn-invisible-primary.dropdown-toggle{background-color:var(--theme-btn-invisible-primary--background--active);color:var(--theme-btn-invisible-primary--color--active)}.btn-invisible-primary.selected:not(:disabled):not(.disabled):active,.btn-invisible-primary.selected:not(:disabled):not(.disabled).active,.show>.btn-invisible-primary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-invisible-primary.disabled,.btn-invisible-primary:disabled{pointer-events:none;cursor:initial;background-color:var(--theme-btn-invisible-primary--background--disabled);color:var(--theme-btn-invisible-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-invisible-primary--color--disabled)}.btn-secondary{border-radius:var(--theme-btn--border-radius)}.btn-secondary,.btn-secondary.focus,.btn-secondary:focus-visible{background-color:var(--theme-btn-secondary--background);color:var(--theme-btn-secondary--color);--ix-button-color:var(--theme-btn-secondary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-secondary--border-color);border-style:solid}.btn-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-secondary.hover,.btn-secondary:hover{border-color:var(--theme-btn-secondary--border-color--hover);background-color:var(--theme-btn-secondary--background--hover);color:var(--theme-btn-secondary--color--hover)}.btn-secondary.selected.hover,.btn-secondary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-secondary:not(:disabled):not(.disabled):active,.btn-secondary:not(:disabled):not(.disabled).active,.show>.btn-secondary.dropdown-toggle{border-color:var(--theme-btn-secondary--border-color--active);background-color:var(--theme-btn-secondary--background--active);color:var(--theme-btn-secondary--color--active)}.btn-secondary.selected:not(:disabled):not(.disabled):active,.btn-secondary.selected:not(:disabled):not(.disabled).active,.show>.btn-secondary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-secondary.disabled,.btn-secondary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-secondary--border-color--disabled);background-color:var(--theme-btn-secondary--background--disabled);color:var(--theme-btn-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-secondary--color--disabled)}.btn-outline-secondary{border-radius:var(--theme-btn--border-radius)}.btn-outline-secondary,.btn-outline-secondary.focus,.btn-outline-secondary:focus-visible{background-color:var(--theme-btn-outline-secondary--background);color:var(--theme-btn-outline-secondary--color);--ix-button-color:var(--theme-btn-outline-secondary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-outline-secondary--border-color);border-style:solid}.btn-outline-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-outline-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-outline-secondary.hover,.btn-outline-secondary:hover{border-color:var(--theme-btn-outline-secondary--border-color--hover);background-color:var(--theme-btn-outline-secondary--background--hover);color:var(--theme-btn-outline-secondary--color--hover)}.btn-outline-secondary.selected.hover,.btn-outline-secondary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-outline-secondary:not(:disabled):not(.disabled):active,.btn-outline-secondary:not(:disabled):not(.disabled).active,.show>.btn-outline-secondary.dropdown-toggle{border-color:var(--theme-btn-outline-secondary--border-color--active);background-color:var(--theme-btn-outline-secondary--background--active);color:var(--theme-btn-outline-secondary--color--active)}.btn-outline-secondary.selected:not(:disabled):not(.disabled):active,.btn-outline-secondary.selected:not(:disabled):not(.disabled).active,.show>.btn-outline-secondary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-outline-secondary--border-color--disabled);background-color:var(--theme-btn-outline-secondary--background--disabled);color:var(--theme-btn-outline-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-outline-secondary--color--disabled)}.btn-invisible-secondary{border-radius:var(--theme-btn--border-radius);--bs-btn-border-width:0px;--bs-btn-active-border-color:none}.btn-invisible-secondary,.btn-invisible-secondary.focus,.btn-invisible-secondary:focus-visible{background-color:var(--theme-btn-invisible-secondary--background);color:var(--theme-btn-invisible-secondary--color);--ix-button-color:var(--theme-btn-invisible-secondary--color);border-color:transparent}.btn-invisible-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-invisible-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-invisible-secondary.hover,.btn-invisible-secondary:hover{background-color:var(--theme-btn-invisible-secondary--background--hover);color:var(--theme-btn-invisible-secondary--color--hover)}.btn-invisible-secondary.selected.hover,.btn-invisible-secondary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-invisible-secondary:not(:disabled):not(.disabled):active,.btn-invisible-secondary:not(:disabled):not(.disabled).active,.show>.btn-invisible-secondary.dropdown-toggle{background-color:var(--theme-btn-invisible-secondary--background--active);color:var(--theme-btn-invisible-secondary--color--active)}.btn-invisible-secondary.selected:not(:disabled):not(.disabled):active,.btn-invisible-secondary.selected:not(:disabled):not(.disabled).active,.show>.btn-invisible-secondary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-invisible-secondary.disabled,.btn-invisible-secondary:disabled{pointer-events:none;cursor:initial;background-color:var(--theme-btn-invisible-secondary--background--disabled);color:var(--theme-btn-invisible-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-invisible-secondary--color--disabled)}.btn-oval,.btn-icon{min-width:2rem;width:2rem}.btn-oval .glyph,.btn-icon .glyph{margin-right:0}.btn-oval{border-radius:6.25rem;width:2rem}.btn-icon-xs,.btn-icon-12{height:1rem;width:1rem;min-width:1rem;min-height:1rem}.btn-icon-s,.btn-icon-16{height:1.5rem;width:1.5rem;min-width:1.5rem;min-height:1.5rem}.btn-icon-32{height:2rem;width:2rem;min-width:2rem;min-height:2rem}:host{display:inline-block;width:auto;height:2rem;vertical-align:middle}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .btn{width:100%;height:100%}:host button:not(:disabled){cursor:pointer}:host(.disabled){pointer-events:none}";
10
10
  const IxToggleButtonStyle0 = toggleButtonCss;
@@ -61,9 +61,9 @@ const ToggleButton = class {
61
61
  'aria-pressed': a11y.a11yBoolean(this.pressed),
62
62
  },
63
63
  };
64
- return (index.h(index.Host, { key: '03308c568a28a0c4410fe3872b1a770995627183', class: {
64
+ return (index.h(index.Host, { key: '7bfb2bae3e38637b194470d62d25b10d82ca40a3', class: {
65
65
  disabled: this.disabled || this.loading,
66
- } }, index.h(baseButton.BaseButton, Object.assign({ key: '849c02e51091538631c0a8019fdea2b9091861b6' }, baseButtonProps), index.h("slot", { key: '1f4c89e2ee5e540dc3f7caae1641853d466b61b4' }))));
66
+ } }, index.h(baseButton.BaseButton, Object.assign({ key: '61c614727d11cb4f2e806649e931b865c57e25c6' }, baseButtonProps), index.h("slot", { key: 'c1f7e51d178d87ed25abfc1179300cfb65553c2e' }))));
67
67
  }
68
68
  static get watchers() { return {
69
69
  "variant": ["onVariantChange"],
@@ -2,26 +2,16 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-0f6297c8.js');
6
- const a11y = require('./a11y-32046b56.js');
5
+ const index = require('./index-529f21c1.js');
6
+ const a11y = require('./a11y-eba397e8.js');
7
7
 
8
- const toggleCss = ":host{display:inline-flex;position:relative;height:2rem;justify-content:flex-start;align-items:center;margin-right:0.25rem;cursor:pointer}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .switch{position:relative;display:inline-block;width:3rem;min-width:3rem;max-width:3rem;height:1.5rem;margin-right:0.25rem}:host .switch input{opacity:0;width:0;height:0}:host .slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:var(--theme-switch-off--background);transition:var(--theme-default-time);border-radius:1.5rem;border:1px solid transparent}:host .slider:before{position:absolute;content:\"\";height:1.125rem;width:1.125rem;left:4px;bottom:2px;background-color:var(--theme-switch-thumb-off--background);transition:var(--theme-default-time);border-radius:50%}:host input{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}:host input:focus-visible+.switch>.slider{outline:1px solid var(--theme-color-focus-bdr);outline-offset:1px}:host input:checked+.switch>.slider{background-color:var(--theme-switch-on--background)}:host input:checked+.switch>.slider::before{background-color:var(--theme-switch-thumb-on--background);transform:translateX(1.35rem)}:host input+.switch>.slider{border-color:var(--theme-switch-off--border-color)}:host input+.switch:hover>.slider{background-color:var(--theme-switch-off--background--hover);border-color:var(--theme-switch-off--border-color--hover)}:host input+.switch:hover>.slider:before{background-color:var(--theme-switch-thumb-off--background--hover)}:host input+.switch:active>.slider{background-color:var(--theme-switch-off--background--active);border-color:var(--theme-switch-off--border-color--active)}:host input+.switch:active>.slider:before{background-color:var(--theme-switch-thumb-off--background--active)}:host input:checked+.switch>.slider{border-color:var(--theme-switch-on--border-color)}:host input:checked+.switch:hover>.slider{background-color:var(--theme-switch-on--background--hover);border-color:var(--theme-switch-on--border-color--hover)}:host input:checked+.switch:hover>.slider:before{background-color:var(--theme-switch-thumb-on--background--hover)}:host input:checked+.switch:active>.slider{background-color:var(--theme-switch-on--background--active);border-color:var(--theme-switch-on--border-color--active)}:host input:checked+.switch:active>.slider:before{background-color:var(--theme-switch-thumb-on--background--active)}:host input:indeterminate+.switch>.slider::before{transform:translateX(0.7rem)}:host .toggle-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host(.disabled){pointer-events:none}:host(.disabled) input+.switch{opacity:0.5}:host(.disabled) input+.switch>.slider{background-color:var(--theme-switch-off--background--disabled)}:host(.disabled) input+.switch>.slider:before{background-color:var(--theme-switch-thumb-off--background--disabled)}:host(.disabled) input:checked+.switch>.slider{background-color:var(--theme-switch-on--background--disabled)}:host(.disabled) input:checked+.switch>.slider:before{background-color:var(--theme-switch-thumb-on--background--disabled)}:host(.disabled) .toggle-text{color:var(--theme-color-weak-text)}:host(.ix-info:not(.disabled)) .slider{--theme-switch-off--background:var(--theme-switch-off--background--info);--theme-switch-off--background--hover:var(--theme-switch-off--background--info--hover);--theme-switch-off--background--active:var(--theme-switch-off--background--info--active);--theme-switch-thumb-off--background:var(--theme-switch-thumb-off--background--info);--theme-switch-thumb-off--background--hover:var(--theme-switch-thumb-off--background--info--hover);--theme-switch-thumb-off--background--active:var(--theme-switch-thumb-off--background--info--active);--theme-switch-off--border-color:var(--theme-switch-off--border-color--info);--theme-switch-off--border-color--hover:var(--theme-switch-off--border-color--info--hover);--theme-switch-off--border-color--active:var(--theme-switch-off--border-color--info--active);--theme-switch-on--background:var(--theme-switch-on--background--info);--theme-switch-on--background--hover:var(--theme-switch-on--background--info--hover);--theme-switch-on--background--active:var(--theme-switch-on--background--info--active);--theme-switch-thumb-on--background:var(--theme-switch-thumb-on--background--info);--theme-switch-thumb-on--background--hover:var(--theme-switch-thumb-on--background--info--hover);--theme-switch-thumb-on--background--active:var(--theme-switch-thumb-on--background--info--active);--theme-switch-on--border-color:var(--theme-switch-on--border-color--info);--theme-switch-on--border-color--hover:var(--theme-switch-on--border-color--info--hover);--theme-switch-on--border-color--active:var(--theme-switch-on--border-color--info--active);--theme-switch-mixed--background:var(--theme-switch-mixed--background--info);--theme-switch-mixed--background--hover:var(--theme-switch-mixed--background--info--hover);--theme-switch-mixed--background--active:var(--theme-switch-mixed--background--info--active);--theme-switch-thumb-mixed--background:var(--theme-switch-thumb-mixed--background--info);--theme-switch-thumb-mixed--background--hover:var(--theme-switch-thumb-mixed--background--info--hover);--theme-switch-thumb-mixed--background--active:var(--theme-switch-thumb-mixed--background--info--active);--theme-switch-mixed--border-color:var(--theme-switch-mixed--border-color--info);--theme-switch-mixed--border-color--hover:var(--theme-switch-mixed--border-color--info--hover);--theme-switch-mixed--border-color--active:var(--theme-switch-mixed--border-color--info--active)}:host(.ix-warning:not(.disabled)) .slider{--theme-switch-off--background:var(--theme-switch-off--background--warning);--theme-switch-off--background--hover:var(--theme-switch-off--background--warning--hover);--theme-switch-off--background--active:var(--theme-switch-off--background--warning--active);--theme-switch-thumb-off--background:var(--theme-switch-thumb-off--background--warning);--theme-switch-thumb-off--background--hover:var(--theme-switch-thumb-off--background--warning--hover);--theme-switch-thumb-off--background--active:var(--theme-switch-thumb-off--background--warning--active);--theme-switch-off--border-color:var(--theme-switch-off--border-color--warning);--theme-switch-off--border-color--hover:var(--theme-switch-off--border-color--warning--hover);--theme-switch-off--border-color--active:var(--theme-switch-off--border-color--warning--active);--theme-switch-on--background:var(--theme-switch-on--background--warning);--theme-switch-on--background--hover:var(--theme-switch-on--background--warning--hover);--theme-switch-on--background--active:var(--theme-switch-on--background--warning--active);--theme-switch-thumb-on--background:var(--theme-switch-thumb-on--background--warning);--theme-switch-thumb-on--background--hover:var(--theme-switch-thumb-on--background--warning--hover);--theme-switch-thumb-on--background--active:var(--theme-switch-thumb-on--background--warning--active);--theme-switch-on--border-color:var(--theme-switch-on--border-color--warning);--theme-switch-on--border-color--hover:var(--theme-switch-on--border-color--warning--hover);--theme-switch-on--border-color--active:var(--theme-switch-on--border-color--warning--active);--theme-switch-mixed--background:var(--theme-switch-mixed--background--warning);--theme-switch-mixed--background--hover:var(--theme-switch-mixed--background--warning--hover);--theme-switch-mixed--background--active:var(--theme-switch-mixed--background--warning--active);--theme-switch-thumb-mixed--background:var(--theme-switch-thumb-mixed--background--warning);--theme-switch-thumb-mixed--background--hover:var(--theme-switch-thumb-mixed--background--warning--hover);--theme-switch-thumb-mixed--background--active:var(--theme-switch-thumb-mixed--background--warning--active);--theme-switch-mixed--border-color:var(--theme-switch-mixed--border-color--warning);--theme-switch-mixed--border-color--hover:var(--theme-switch-mixed--border-color--warning--hover);--theme-switch-mixed--border-color--active:var(--theme-switch-mixed--border-color--warning--active)}:host(.ix-invalid--required:not(.disabled)) .slider{--theme-switch-off--background:var(--theme-switch-off--background--invalid);--theme-switch-off--background--hover:var(--theme-switch-off--background--invalid--hover);--theme-switch-off--background--active:var(--theme-switch-off--background--invalid--active);--theme-switch-thumb-off--background:var(--theme-switch-thumb-off--background--invalid);--theme-switch-thumb-off--background--hover:var(--theme-switch-thumb-off--background--invalid--hover);--theme-switch-thumb-off--background--active:var(--theme-switch-thumb-off--background--invalid--active);--theme-switch-off--border-color:var(--theme-switch-off--border-color--invalid);--theme-switch-off--border-color--hover:var(--theme-switch-off--border-color--invalid--hover);--theme-switch-off--border-color--active:var(--theme-switch-off--border-color--invalid--active);--theme-switch-on--background:var(--theme-switch-on--background--invalid);--theme-switch-on--background--hover:var(--theme-switch-on--background--invalid--hover);--theme-switch-on--background--active:var(--theme-switch-on--background--invalid--active);--theme-switch-thumb-on--background:var(--theme-switch-thumb-on--background--invalid);--theme-switch-thumb-on--background--hover:var(--theme-switch-thumb-on--background--invalid--hover);--theme-switch-thumb-on--background--active:var(--theme-switch-thumb-on--background--invalid--active);--theme-switch-on--border-color:var(--theme-switch-on--border-color--invalid);--theme-switch-on--border-color--hover:var(--theme-switch-on--border-color--invalid--hover);--theme-switch-on--border-color--active:var(--theme-switch-on--border-color--invalid--active);--theme-switch-mixed--background:var(--theme-switch-mixed--background--invalid);--theme-switch-mixed--background--hover:var(--theme-switch-mixed--background--invalid--hover);--theme-switch-mixed--background--active:var(--theme-switch-mixed--background--invalid--active);--theme-switch-thumb-mixed--background:var(--theme-switch-thumb-mixed--background--invalid);--theme-switch-thumb-mixed--background--hover:var(--theme-switch-thumb-mixed--background--invalid--hover);--theme-switch-thumb-mixed--background--active:var(--theme-switch-thumb-mixed--background--invalid--active);--theme-switch-mixed--border-color:var(--theme-switch-mixed--border-color--invalid);--theme-switch-mixed--border-color--hover:var(--theme-switch-mixed--border-color--invalid--hover);--theme-switch-mixed--border-color--active:var(--theme-switch-mixed--border-color--invalid--active)}:host(.ix-invalid:not(.disabled)) .slider{--theme-switch-off--background:var(--theme-switch-off--background--invalid);--theme-switch-off--background--hover:var(--theme-switch-off--background--invalid--hover);--theme-switch-off--background--active:var(--theme-switch-off--background--invalid--active);--theme-switch-thumb-off--background:var(--theme-switch-thumb-off--background--invalid);--theme-switch-thumb-off--background--hover:var(--theme-switch-thumb-off--background--invalid--hover);--theme-switch-thumb-off--background--active:var(--theme-switch-thumb-off--background--invalid--active);--theme-switch-off--border-color:var(--theme-switch-off--border-color--invalid);--theme-switch-off--border-color--hover:var(--theme-switch-off--border-color--invalid--hover);--theme-switch-off--border-color--active:var(--theme-switch-off--border-color--invalid--active);--theme-switch-on--background:var(--theme-switch-on--background--invalid);--theme-switch-on--background--hover:var(--theme-switch-on--background--invalid--hover);--theme-switch-on--background--active:var(--theme-switch-on--background--invalid--active);--theme-switch-thumb-on--background:var(--theme-switch-thumb-on--background--invalid);--theme-switch-thumb-on--background--hover:var(--theme-switch-thumb-on--background--invalid--hover);--theme-switch-thumb-on--background--active:var(--theme-switch-thumb-on--background--invalid--active);--theme-switch-on--border-color:var(--theme-switch-on--border-color--invalid);--theme-switch-on--border-color--hover:var(--theme-switch-on--border-color--invalid--hover);--theme-switch-on--border-color--active:var(--theme-switch-on--border-color--invalid--active);--theme-switch-mixed--background:var(--theme-switch-mixed--background--invalid);--theme-switch-mixed--background--hover:var(--theme-switch-mixed--background--invalid--hover);--theme-switch-mixed--background--active:var(--theme-switch-mixed--background--invalid--active);--theme-switch-thumb-mixed--background:var(--theme-switch-thumb-mixed--background--invalid);--theme-switch-thumb-mixed--background--hover:var(--theme-switch-thumb-mixed--background--invalid--hover);--theme-switch-thumb-mixed--background--active:var(--theme-switch-thumb-mixed--background--invalid--active);--theme-switch-mixed--border-color:var(--theme-switch-mixed--border-color--invalid);--theme-switch-mixed--border-color--hover:var(--theme-switch-mixed--border-color--invalid--hover);--theme-switch-mixed--border-color--active:var(--theme-switch-mixed--border-color--invalid--active)}";
8
+ const toggleCss = ":host{display:inline-flex;position:relative;height:2rem;justify-content:flex-start;align-items:center;margin-right:0.25rem;cursor:pointer}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .switch{position:relative;display:inline-block;width:3rem;min-width:3rem;max-width:3rem;height:1.5rem;margin-right:0.25rem}:host .switch input{opacity:0;width:0;height:0}:host .slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:var(--theme-switch-off--background);transition:var(--theme-default-time);border-radius:1.5rem}:host .slider:before{position:absolute;content:\"\";height:1.125rem;width:1.125rem;left:4px;bottom:3px;background-color:var(--theme-switch-thumb-off--background);transition:var(--theme-default-time);border-radius:50%}:host input{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}:host input:focus-visible+.switch>.slider{outline:1px solid var(--theme-color-focus-bdr);outline-offset:1px}:host input:checked+.switch>.slider{background-color:var(--theme-switch-on--background)}:host input:checked+.switch>.slider::before{background-color:var(--theme-switch-thumb-on--background);transform:translateX(1.35rem)}:host input+.switch:hover>.slider{background-color:var(--theme-switch-off--background--hover)}:host input+.switch:hover>.slider:before{background-color:var(--theme-switch-thumb-off--background--hover)}:host input+.switch:active>.slider{background-color:var(--theme-switch-off--background--active)}:host input+.switch:active>.slider:before{background-color:var(--theme-switch-thumb-off--background--active)}:host input:checked+.switch:hover>.slider{background-color:var(--theme-switch-on--background--hover)}:host input:checked+.switch:hover>.slider:before{background-color:var(--theme-switch-thumb-on--background--hover)}:host input:checked+.switch:active>.slider{background-color:var(--theme-switch-on--background--active)}:host input:checked+.switch:active>.slider:before{background-color:var(--theme-switch-thumb-on--background--active)}:host input:indeterminate+.switch>.slider::before{transform:translateX(0.7rem)}:host .toggle-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host(.disabled){pointer-events:none}:host(.disabled) input+.switch{opacity:0.5}:host(.disabled) input+.switch>.slider{background-color:var(--theme-switch-off--background--disabled)}:host(.disabled) input+.switch>.slider:before{background-color:var(--theme-switch-thumb-off--background--disabled)}:host(.disabled) input:checked+.switch>.slider{background-color:var(--theme-switch-on--background--disabled)}:host(.disabled) input:checked+.switch>.slider:before{background-color:var(--theme-switch-thumb-on--background--disabled)}:host(.disabled) .toggle-text{color:var(--theme-color-weak-text)}";
9
9
  const IxToggleStyle0 = toggleCss;
10
10
 
11
11
  const Toggle = class {
12
12
  constructor(hostRef) {
13
13
  index.registerInstance(this, hostRef);
14
14
  this.checkedChange = index.createEvent(this, "checkedChange", 7);
15
- this.valueChange = index.createEvent(this, "valueChange", 7);
16
- if (hostRef.$hostElement$["s-ei"]) {
17
- this.formInternals = hostRef.$hostElement$["s-ei"];
18
- }
19
- else {
20
- this.formInternals = hostRef.$hostElement$.attachInternals();
21
- hostRef.$hostElement$["s-ei"] = this.formInternals;
22
- }
23
- this.name = undefined;
24
- this.value = 'on';
25
15
  this.checked = false;
26
16
  this.disabled = false;
27
17
  this.indeterminate = false;
@@ -29,7 +19,6 @@ const Toggle = class {
29
19
  this.textOff = 'Off';
30
20
  this.textIndeterminate = 'Mixed';
31
21
  this.hideText = false;
32
- this.required = false;
33
22
  }
34
23
  onCheckedChange(newChecked) {
35
24
  if (this.indeterminate) {
@@ -38,38 +27,12 @@ const Toggle = class {
38
27
  this.checked = newChecked;
39
28
  this.checkedChange.emit(this.checked);
40
29
  }
41
- componentWillLoad() {
42
- this.updateFormInternalValue();
43
- }
44
- updateFormInternalValue() {
45
- if (this.checked) {
46
- this.formInternals.setFormValue(this.value);
47
- }
48
- else {
49
- this.formInternals.setFormValue(null);
50
- }
51
- }
52
- watchCheckedChange() {
53
- this.updateFormInternalValue();
54
- }
55
- /** @internal */
56
- hasValidValue() {
57
- return Promise.resolve(this.checked);
58
- }
59
- /** @internal */
60
- getAssociatedFormElement() {
61
- return Promise.resolve(this.formInternals.form);
62
- }
63
30
  render() {
64
- return (index.h(index.Host, { key: '0afa08e1803352f2bb3360c11fcda2745531e20d', class: {
31
+ return (index.h(index.Host, { key: '5e6df44041a09e40e0633022e3261b9cc38db141', class: {
65
32
  disabled: this.disabled,
66
- }, onClick: () => this.onCheckedChange(!this.checked) }, index.h("input", { key: '37ba0cf086ed01c01e61ff0bb24367759b537cd7', disabled: this.disabled, indeterminate: this.indeterminate, checked: this.checked, role: "switch", tabindex: 0, type: "checkbox", "aria-checked": a11y.a11yBoolean(this.checked), onChange: (event) => this.onCheckedChange(event.target.checked) }), index.h("label", { key: '83d6712432de4b45396b11f7f21cf7072fd19fcd', class: "switch", tabIndex: -1 }, index.h("span", { key: 'f3f91c36a2043f039813b43bbc6285d67239d050', class: "slider" })), !this.hideText ? (index.h(index.Fragment, null, !this.indeterminate ? (index.h("span", { class: 'toggle-text', "aria-hidden": a11y.a11yBoolean(true) }, this.checked ? this.textOn : this.textOff)) : (index.h("span", { class: 'toggle-text', "aria-hidden": a11y.a11yBoolean(true) }, this.textIndeterminate)))) : null));
33
+ }, onClick: () => this.onCheckedChange(!this.checked) }, index.h("input", { key: 'ef94845255dde9150edd3fdaa1b534775f12bdb1', disabled: this.disabled, indeterminate: this.indeterminate, checked: this.checked, role: "switch", tabindex: 0, type: "checkbox", "aria-checked": a11y.a11yBoolean(this.checked), onChange: (event) => this.onCheckedChange(event.target.checked) }), index.h("label", { key: '951669fc7caac59eed9d4ea0b85b5eecad423e0a', class: "switch", tabIndex: -1 }, index.h("span", { key: '9e6827bb3258743340fb1c04593a1d4fa8ac27eb', class: "slider" })), !this.hideText ? (index.h(index.Fragment, null, !this.indeterminate ? (index.h("span", { class: 'toggle-text', "aria-hidden": a11y.a11yBoolean(true) }, this.checked ? this.textOn : this.textOff)) : (index.h("span", { class: 'toggle-text', "aria-hidden": a11y.a11yBoolean(true) }, this.textIndeterminate)))) : null));
67
34
  }
68
- static get formAssociated() { return true; }
69
35
  get hostElement() { return index.getElement(this); }
70
- static get watchers() { return {
71
- "checked": ["watchCheckedChange"]
72
- }; }
73
36
  };
74
37
  Toggle.style = IxToggleStyle0;
75
38
 
@@ -1 +1 @@
1
- {"file":"ix-toggle.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,SAAS,GAAG,mpbAAmpb,CAAC;AACtqb,uBAAe,SAAS;;MCiCX,MAAM;;;;;;;;;;;;;qBAawB,IAAI;uBAKK,KAAK;wBAKpC,KAAK;6BAKgC,KAAK;sBAK5C,IAAI;uBAKH,KAAK;iCAKK,OAAO;wBAKhB,KAAK;wBAOY,KAAK;;IAUzC,eAAe,CAAC,UAAmB;QACjC,IAAI,IAAI,CAAC,aAAa,EAAE;YACtB,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;SAC5B;QACD,IAAI,CAAC,OAAO,GAAG,UAAU,CAAC;QAC1B,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CA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K,EAAE,aAAa,iBAAeE,gBAAW,CAAC,IAAI,CAAC,IACvD,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,OAAO,CACrC,KAEPF,kBAAM,KAAK,EAAE,aAAa,iBAAeE,gBAAW,CAAC,IAAI,CAAC,IACvD,IAAI,CAAC,iBAAiB,CAClB,CACR,CACQ,IACT,IAAI,CACH,EACP;KACH;;;;;;;;;;;","names":["h","Host","a11yBoolean","Fragment"],"sources":["src/components/toggle/toggle.scss?tag=ix-toggle&encapsulation=shadow","src/components/toggle/toggle.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'mixins/hover';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n display: inline-flex;\n position: relative;\n height: 2rem;\n justify-content: flex-start;\n align-items: center;\n margin-right: 0.25rem;\n\n cursor: pointer;\n\n .switch {\n position: relative;\n display: inline-block;\n width: 3rem;\n min-width: 3rem;\n max-width: 3rem;\n height: 1.5rem;\n margin-right: 0.25rem;\n }\n\n .switch input {\n opacity: 0;\n width: 0;\n height: 0;\n }\n\n .slider {\n position: absolute;\n cursor: pointer;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: var(--theme-switch-off--background);\n transition: var(--theme-default-time);\n border-radius: 1.5rem;\n border: 1px solid transparent;\n }\n\n .slider:before {\n position: absolute;\n content: '';\n height: 1.125rem;\n width: 1.125rem;\n left: 4px;\n bottom: 2px;\n background-color: var(--theme-switch-thumb-off--background);\n transition: var(--theme-default-time);\n border-radius: 50%;\n }\n\n input {\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n }\n\n input:focus-visible + .switch > .slider {\n outline: 1px solid var(--theme-color-focus-bdr);\n outline-offset: 1px;\n }\n\n input:checked + .switch > .slider {\n background-color: var(--theme-switch-on--background);\n }\n\n input:checked + .switch > .slider::before {\n background-color: var(--theme-switch-thumb-on--background);\n transform: translateX(1.35rem);\n }\n\n // Toggle NOT checked\n input + .switch > .slider {\n border-color: var(--theme-switch-off--border-color);\n }\n\n input + .switch:hover > .slider {\n background-color: var(--theme-switch-off--background--hover);\n border-color: var(--theme-switch-off--border-color--hover);\n }\n\n input + .switch:hover > .slider:before {\n background-color: var(--theme-switch-thumb-off--background--hover);\n }\n\n input + .switch:active > .slider {\n background-color: var(--theme-switch-off--background--active);\n border-color: var(--theme-switch-off--border-color--active);\n }\n\n input + .switch:active > .slider:before {\n background-color: var(--theme-switch-thumb-off--background--active);\n }\n\n // Toggle checked\n input:checked + .switch > .slider {\n border-color: var(--theme-switch-on--border-color);\n }\n\n input:checked + .switch:hover > .slider {\n background-color: var(--theme-switch-on--background--hover);\n border-color: var(--theme-switch-on--border-color--hover);\n }\n\n input:checked + .switch:hover > .slider:before {\n background-color: var(--theme-switch-thumb-on--background--hover);\n }\n\n input:checked + .switch:active > .slider {\n background-color: var(--theme-switch-on--background--active);\n border-color: var(--theme-switch-on--border-color--active);\n }\n\n input:checked + .switch:active > .slider:before {\n background-color: var(--theme-switch-thumb-on--background--active);\n }\n\n input:indeterminate + .switch > .slider::before {\n transform: translateX(0.7rem);\n }\n\n .toggle-text {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n}\n\n:host(.disabled) {\n pointer-events: none;\n\n input + .switch {\n opacity: 0.5;\n }\n\n input + .switch > .slider {\n background-color: var(--theme-switch-off--background--disabled);\n }\n\n input + .switch > .slider:before {\n background-color: var(--theme-switch-thumb-off--background--disabled);\n }\n\n input:checked + .switch > .slider {\n background-color: var(--theme-switch-on--background--disabled);\n }\n\n input:checked + .switch > .slider:before {\n background-color: var(--theme-switch-thumb-on--background--disabled);\n }\n\n .toggle-text {\n color: var(--theme-color-weak-text);\n }\n}\n\n@mixin toggle-variant($selector) {\n :host(#{$selector}:not(.disabled)) {\n .slider {\n @content;\n }\n }\n}\n\n@mixin define-toggle-vars($state, $type) {\n --theme-switch-#{$state}--background: var(--theme-switch-#{$state}--background--#{$type});\n --theme-switch-#{$state}--background--hover: var(--theme-switch-#{$state}--background--#{$type}--hover);\n --theme-switch-#{$state}--background--active: var(--theme-switch-#{$state}--background--#{$type}--active);\n\n --theme-switch-thumb-#{$state}--background: var(--theme-switch-thumb-#{$state}--background--#{$type});\n --theme-switch-thumb-#{$state}--background--hover: var(--theme-switch-thumb-#{$state}--background--#{$type}--hover);\n --theme-switch-thumb-#{$state}--background--active: var(--theme-switch-thumb-#{$state}--background--#{$type}--active);\n\n --theme-switch-#{$state}--border-color: var(--theme-switch-#{$state}--border-color--#{$type});\n --theme-switch-#{$state}--border-color--hover: var(--theme-switch-#{$state}--border-color--#{$type}--hover);\n --theme-switch-#{$state}--border-color--active: var(--theme-switch-#{$state}--border-color--#{$type}--active);\n}\n\n@include toggle-variant(\n $selector: '.ix-info',\n) {\n @include define-toggle-vars('off', 'info');\n @include define-toggle-vars('on', 'info');\n @include define-toggle-vars('mixed', 'info');\n}\n\n@include toggle-variant(\n $selector: '.ix-warning',\n) {\n @include define-toggle-vars('off', 'warning');\n @include define-toggle-vars('on', 'warning');\n @include define-toggle-vars('mixed', 'warning');\n}\n\n@include toggle-variant(\n $selector: '.ix-invalid--required',\n) {\n @include define-toggle-vars('off', 'invalid');\n @include define-toggle-vars('on', 'invalid');\n @include define-toggle-vars('mixed', 'invalid');\n}\n\n@include toggle-variant(\n $selector: '.ix-invalid',\n) {\n @include define-toggle-vars('off', 'invalid');\n @include define-toggle-vars('on', 'invalid');\n @include define-toggle-vars('mixed', 'invalid');\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n AttachInternals,\n Component,\n Element,\n Event,\n EventEmitter,\n Fragment,\n h,\n Host,\n Method,\n Prop,\n Watch,\n} from '@stencil/core';\nimport { a11yBoolean } from '../utils/a11y';\nimport { IxFormComponent } from '../utils/field';\n\n/**\n * @form-ready 2.4.0\n * */\n@Component({\n tag: 'ix-toggle',\n styleUrl: 'toggle.scss',\n shadow: true,\n formAssociated: true,\n})\nexport class Toggle implements IxFormComponent<string> {\n @AttachInternals() formInternals!: ElementInternals;\n\n @Element() hostElement!: HTMLIxToggleElement;\n\n /**\n * Name of the checkbox component\n */\n @Prop({ reflect: true }) name?: string;\n\n /**\n * Value of the checkbox component\n */\n @Prop({ reflect: true }) value: string = 'on';\n\n /**\n * Whether the slide-toggle element is checked or not.\n */\n @Prop({ mutable: true, reflect: true }) checked = false;\n\n /**\n * Whether the slide-toggle element is disabled or not.\n */\n @Prop() disabled = false;\n\n /**\n * If true the control is in indeterminate state\n */\n @Prop({ mutable: true, reflect: true }) indeterminate = false;\n\n /**\n * Text for on state\n */\n @Prop() textOn = 'On';\n\n /**\n * Text for off state\n */\n @Prop() textOff = 'Off';\n\n /**\n * Text for indeterminate state\n */\n @Prop() textIndeterminate = 'Mixed';\n\n /**\n * Hide `on` and `off` text\n */\n @Prop() hideText = false;\n\n /**\n * Required state of the checkbox component.\n *\n * If true, checkbox needs to be checked to be valid\n */\n @Prop({ reflect: true }) required = false;\n\n /**\n * An event will be dispatched each time the slide-toggle changes its value.\n */\n @Event() checkedChange!: EventEmitter<boolean>;\n\n /** @internal */\n @Event() valueChange!: EventEmitter<string>;\n\n onCheckedChange(newChecked: boolean) {\n if (this.indeterminate) {\n this.indeterminate = false;\n }\n this.checked = newChecked;\n this.checkedChange.emit(this.checked);\n }\n\n componentWillLoad() {\n this.updateFormInternalValue();\n }\n\n updateFormInternalValue(): void {\n if (this.checked) {\n this.formInternals.setFormValue(this.value);\n } else {\n this.formInternals.setFormValue(null);\n }\n }\n\n @Watch('checked')\n watchCheckedChange() {\n this.updateFormInternalValue();\n }\n\n /** @internal */\n @Method()\n hasValidValue(): Promise<boolean> {\n return Promise.resolve(this.checked);\n }\n\n /** @internal */\n @Method()\n getAssociatedFormElement(): Promise<HTMLFormElement | null> {\n return Promise.resolve(this.formInternals.form);\n }\n\n render() {\n return (\n <Host\n class={{\n disabled: this.disabled,\n }}\n onClick={() => this.onCheckedChange(!this.checked)}\n >\n <input\n disabled={this.disabled}\n indeterminate={this.indeterminate}\n checked={this.checked}\n role=\"switch\"\n tabindex={0}\n type=\"checkbox\"\n aria-checked={a11yBoolean(this.checked)}\n onChange={(event) =>\n this.onCheckedChange((event.target as HTMLInputElement).checked)\n }\n ></input>\n <label class=\"switch\" tabIndex={-1}>\n <span class=\"slider\"></span>\n </label>\n {!this.hideText ? (\n <Fragment>\n {!this.indeterminate ? (\n <span class={'toggle-text'} aria-hidden={a11yBoolean(true)}>\n {this.checked ? this.textOn : this.textOff}\n </span>\n ) : (\n <span class={'toggle-text'} aria-hidden={a11yBoolean(true)}>\n {this.textIndeterminate}\n </span>\n )}\n </Fragment>\n ) : null}\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ix-toggle.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,SAAS,GAAG,27GAA27G,CAAC;AAC98G,uBAAe,SAAS;;MCyBX,MAAM;;;;uBAMiC,KAAK;wBAKpC,KAAK;6BAKgC,KAAK;sBAK5C,IAAI;uBAKH,KAAK;iCAKK,OAAO;wBAKhB,KAAK;;IAOxB,eAAe,CAAC,UAAmB;QACjC,IAAI,IAAI,CAAC,aAAa,EAAE;YACtB,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;SAC5B;QACD,IAAI,CAAC,OAAO,GAAG,UAAU,CAAC;QAC1B,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;KACvC;IAED,MAAM;QACJ,QACEA,QAACC,UAAI,qDACH,KAAK,EAAE;gBACL,QAAQ,EAAE,IAAI,CAAC,QAAQ;aACxB,EACD,OAAO,EAAE,MAAM,IAAI,CAAC,eAAe,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,IAElDD,oEACE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,CAAC,EACX,IAAI,EAAC,UAAU,kBACDE,gBAAW,CAAC,IAAI,CAAC,OAAO,CAAC,EACvC,QAAQ,EAAE,CAAC,KAAK,KACd,IAAI,CAAC,eAAe,CAAE,KAAK,CAAC,MAAc,CAAC,OAAO,CAAC,GAE9C,EACTF,oEAAO,KAAK,EAAC,QAAQ,EAAC,QAAQ,EAAE,CAAC,CAAC,IAChCA,mEAAM,KAAK,EAAC,QAAQ,GAAQ,CACtB,EACP,CAAC,IAAI,CAAC,QAAQ,IACbA,QAACG,cAAQ,QACN,CAAC,IAAI,CAAC,aAAa,IAClBH,kBAAM,KAAK,EAAE,aAAa,iBAAeE,gBAAW,CAAC,IAAI,CAAC,IACvD,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,OAAO,CACrC,KAEPF,kBAAM,KAAK,EAAE,aAAa,iBAAeE,gBAAW,CAAC,IAAI,CAAC,IACvD,IAAI,CAAC,iBAAiB,CAClB,CACR,CACQ,IACT,IAAI,CACH,EACP;KACH;;;;;;;","names":["h","Host","a11yBoolean","Fragment"],"sources":["src/components/toggle/toggle.scss?tag=ix-toggle&encapsulation=shadow","src/components/toggle/toggle.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'mixins/hover';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n display: inline-flex;\n position: relative;\n height: 2rem;\n justify-content: flex-start;\n align-items: center;\n margin-right: 0.25rem;\n\n cursor: pointer;\n\n .switch {\n position: relative;\n display: inline-block;\n width: 3rem;\n min-width: 3rem;\n max-width: 3rem;\n height: 1.5rem;\n margin-right: 0.25rem;\n }\n\n .switch input {\n opacity: 0;\n width: 0;\n height: 0;\n }\n\n .slider {\n position: absolute;\n cursor: pointer;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: var(--theme-switch-off--background);\n transition: var(--theme-default-time);\n border-radius: 1.5rem;\n }\n\n .slider:before {\n position: absolute;\n content: '';\n height: 1.125rem;\n width: 1.125rem;\n left: 4px;\n bottom: 3px;\n background-color: var(--theme-switch-thumb-off--background);\n transition: var(--theme-default-time);\n border-radius: 50%;\n }\n\n input {\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n }\n\n input:focus-visible + .switch > .slider {\n outline: 1px solid var(--theme-color-focus-bdr);\n outline-offset: 1px;\n }\n\n input:checked + .switch > .slider {\n background-color: var(--theme-switch-on--background);\n }\n\n input:checked + .switch > .slider::before {\n background-color: var(--theme-switch-thumb-on--background);\n transform: translateX(1.35rem);\n }\n\n // Toggle NOT checked\n input + .switch:hover > .slider {\n background-color: var(--theme-switch-off--background--hover);\n }\n\n input + .switch:hover > .slider:before {\n background-color: var(--theme-switch-thumb-off--background--hover);\n }\n\n input + .switch:active > .slider {\n background-color: var(--theme-switch-off--background--active);\n }\n\n input + .switch:active > .slider:before {\n background-color: var(--theme-switch-thumb-off--background--active);\n }\n\n // Toggle checked\n input:checked + .switch:hover > .slider {\n background-color: var(--theme-switch-on--background--hover);\n }\n\n input:checked + .switch:hover > .slider:before {\n background-color: var(--theme-switch-thumb-on--background--hover);\n }\n\n input:checked + .switch:active > .slider {\n background-color: var(--theme-switch-on--background--active);\n }\n\n input:checked + .switch:active > .slider:before {\n background-color: var(--theme-switch-thumb-on--background--active);\n }\n\n input:indeterminate + .switch > .slider::before {\n transform: translateX(0.7rem);\n }\n\n .toggle-text {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n}\n\n:host(.disabled) {\n pointer-events: none;\n\n input + .switch {\n opacity: 0.5;\n }\n\n input + .switch > .slider {\n background-color: var(--theme-switch-off--background--disabled);\n }\n\n input + .switch > .slider:before {\n background-color: var(--theme-switch-thumb-off--background--disabled);\n }\n\n input:checked + .switch > .slider {\n background-color: var(--theme-switch-on--background--disabled);\n }\n\n input:checked + .switch > .slider:before {\n background-color: var(--theme-switch-thumb-on--background--disabled);\n }\n\n .toggle-text {\n color: var(--theme-color-weak-text);\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n Fragment,\n h,\n Host,\n Prop,\n} from '@stencil/core';\nimport { a11yBoolean } from '../utils/a11y';\n\n@Component({\n tag: 'ix-toggle',\n styleUrl: 'toggle.scss',\n shadow: true,\n})\nexport class Toggle {\n @Element() hostElement!: HTMLIxToggleElement;\n\n /**\n * Whether the slide-toggle element is checked or not.\n */\n @Prop({ mutable: true, reflect: true }) checked = false;\n\n /**\n * Whether the slide-toggle element is disabled or not.\n */\n @Prop() disabled = false;\n\n /**\n * If true the control is in indeterminate state\n */\n @Prop({ mutable: true, reflect: true }) indeterminate = false;\n\n /**\n * Text for on state\n */\n @Prop() textOn = 'On';\n\n /**\n * Text for off state\n */\n @Prop() textOff = 'Off';\n\n /**\n * Text for indeterminate state\n */\n @Prop() textIndeterminate = 'Mixed';\n\n /**\n * Hide `on` and `off` text\n */\n @Prop() hideText = false;\n\n /**\n * An event will be dispatched each time the slide-toggle changes its value.\n */\n @Event() checkedChange: EventEmitter<boolean>;\n\n onCheckedChange(newChecked: boolean) {\n if (this.indeterminate) {\n this.indeterminate = false;\n }\n this.checked = newChecked;\n this.checkedChange.emit(this.checked);\n }\n\n render() {\n return (\n <Host\n class={{\n disabled: this.disabled,\n }}\n onClick={() => this.onCheckedChange(!this.checked)}\n >\n <input\n disabled={this.disabled}\n indeterminate={this.indeterminate}\n checked={this.checked}\n role=\"switch\"\n tabindex={0}\n type=\"checkbox\"\n aria-checked={a11yBoolean(this.checked)}\n onChange={(event) =>\n this.onCheckedChange((event.target as any).checked)\n }\n ></input>\n <label class=\"switch\" tabIndex={-1}>\n <span class=\"slider\"></span>\n </label>\n {!this.hideText ? (\n <Fragment>\n {!this.indeterminate ? (\n <span class={'toggle-text'} aria-hidden={a11yBoolean(true)}>\n {this.checked ? this.textOn : this.textOff}\n </span>\n ) : (\n <span class={'toggle-text'} aria-hidden={a11yBoolean(true)}>\n {this.textIndeterminate}\n </span>\n )}\n </Fragment>\n ) : null}\n </Host>\n );\n }\n}\n"],"version":3}