@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,90 +0,0 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-9103b14c.js';
2
-
3
- const layoutFormCss = ":host{display:block;position:relative;margin:0 0.5rem}:host .container{display:flex;align-items:stretch;flex-wrap:wrap;gap:0.5rem}:host ::slotted(*){flex-grow:0;flex-shrink:0}";
4
- const IxLayoutFormStyle0 = layoutFormCss;
5
-
6
- const LayoutForm = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- this.mediaQueryList = [];
10
- this.observer = new MutationObserver(() => this.calculateGridTemplateColumns());
11
- this.resizeObserver = new ResizeObserver(() => {
12
- this.calculateGridTemplateColumns();
13
- });
14
- this.layout = [
15
- { minWidth: '0', columns: 1 },
16
- { minWidth: '35rem', columns: 2 },
17
- ];
18
- this.gridTemplateColumns = undefined;
19
- }
20
- connectedCallback() {
21
- this.observer.observe(this.hostElement, {
22
- childList: true,
23
- subtree: true,
24
- attributes: true,
25
- attributeFilter: ['data-colspan'],
26
- });
27
- this.resizeObserver.observe(this.hostElement);
28
- this.updateMediaQueryList();
29
- }
30
- componentWillLoad() {
31
- this.calculateGridTemplateColumns();
32
- }
33
- disconnectedCallback() {
34
- if (this.observer) {
35
- this.observer.disconnect();
36
- }
37
- if (this.resizeObserver) {
38
- this.resizeObserver.disconnect();
39
- }
40
- }
41
- updateMediaQueryList() {
42
- this.mediaQueryList = [];
43
- this.layout.forEach((layout) => {
44
- const mediaQuery = window.matchMedia(`(min-width: ${layout.minWidth})`);
45
- this.mediaQueryList.push({
46
- mediaQuery,
47
- layout,
48
- });
49
- });
50
- }
51
- parseNumber(number) {
52
- if (!number) {
53
- return 1;
54
- }
55
- const result = parseInt(number);
56
- if (isNaN(result)) {
57
- return 1;
58
- }
59
- return result;
60
- }
61
- calculateGridTemplateColumns() {
62
- let layoutColumns = 1;
63
- let columnSpacing = '0.5rem';
64
- this.mediaQueryList.forEach((mediaQuery) => {
65
- if (mediaQuery.mediaQuery.matches) {
66
- layoutColumns = mediaQuery.layout.columns;
67
- }
68
- });
69
- Array.from(this.hostElement.children).forEach((child) => {
70
- let colspan = this.parseNumber(child.getAttribute('data-colspan'));
71
- colspan = Math.min(colspan, layoutColumns);
72
- const childRatio = colspan / layoutColumns;
73
- child.style.width = `calc(${childRatio * 99.9}% - ${1 - childRatio} * ${columnSpacing})`;
74
- });
75
- }
76
- render() {
77
- return (h(Host, { key: 'd2fa4c6a9f79d88482f665cd46bc96dfe8536535' }, h("div", { key: '32c2e2f039e5545b039d073200f1575aafe2b625', class: "container", style: {
78
- gridTemplateColumns: this.gridTemplateColumns,
79
- } }, h("slot", { key: '59930603690b5d72f584817f0e0e3a44e423ca6e' }))));
80
- }
81
- get hostElement() { return getElement(this); }
82
- static get watchers() { return {
83
- "layout": ["updateMediaQueryList"]
84
- }; }
85
- };
86
- LayoutForm.style = IxLayoutFormStyle0;
87
-
88
- export { LayoutForm as ix_layout_form };
89
-
90
- //# sourceMappingURL=ix-layout-form.entry.js.map
@@ -1 +0,0 @@
1
- {"file":"ix-layout-form.entry.js","mappings":";;AAAA,MAAM,aAAa,GAAG,iLAAiL,CAAC;AACxM,2BAAe,aAAa;;MCOf,UAAU;;;QAgBb,mBAAc,GAMhB,EAAE,CAAC;QAED,aAAQ,GAAG,IAAI,gBAAgB,CAAC,MACtC,IAAI,CAAC,4BAA4B,EAAE,CACpC,CAAC;QAEM,mBAAc,GAAG,IAAI,cAAc,CAAC;YAC1C,IAAI,CAAC,4BAA4B,EAAE,CAAC;SACrC,CAAC,CAAC;sBArBG;YACJ,EAAE,QAAQ,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE;YAC7B,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,EAAE;SAClC;;;IAoBD,iBAAiB;QACf,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE;YACtC,SAAS,EAAE,IAAI;YACf,OAAO,EAAE,IAAI;YACb,UAAU,EAAE,IAAI;YAChB,eAAe,EAAE,CAAC,cAAc,CAAC;SAClC,CAAC,CAAC;QACH,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAE9C,IAAI,CAAC,oBAAoB,EAAE,CAAC;KAC7B;IAED,iBAAiB;QACf,IAAI,CAAC,4BAA4B,EAAE,CAAC;KACrC;IAED,oBAAoB;QAClB,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,IAAI,CAAC,QAAQ,CAAC,UAAU,EAAE,CAAC;SAC5B;QAED,IAAI,IAAI,CAAC,cAAc,EAAE;YACvB,IAAI,CAAC,cAAc,CAAC,UAAU,EAAE,CAAC;SAClC;KACF;IAGD,oBAAoB;QAClB,IAAI,CAAC,cAAc,GAAG,EAAE,CAAC;QACzB,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,MAAM;YACzB,MAAM,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC,eAAe,MAAM,CAAC,QAAQ,GAAG,CAAC,CAAC;YACxE,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC;gBACvB,UAAU;gBACV,MAAM;aACP,CAAC,CAAC;SACJ,CAAC,CAAC;KACJ;IAEO,WAAW,CAAC,MAAqB;QACvC,IAAI,CAAC,MAAM,EAAE;YACX,OAAO,CAAC,CAAC;SACV;QAED,MAAM,MAAM,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC;QAChC,IAAI,KAAK,CAAC,MAAM,CAAC,EAAE;YACjB,OAAO,CAAC,CAAC;SACV;QAED,OAAO,MAAM,CAAC;KACf;IAEO,4BAA4B;QAClC,IAAI,aAAa,GAAG,CAAC,CAAC;QACtB,IAAI,aAAa,GAAG,QAAQ,CAAC;QAE7B,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,UAAU;YACrC,IAAI,UAAU,CAAC,UAAU,CAAC,OAAO,EAAE;gBACjC,aAAa,GAAG,UAAU,CAAC,MAAM,CAAC,OAAO,CAAC;aAC3C;SACF,CAAC,CAAC;QAGH,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,KAAkB;YAC/D,IAAI,OAAO,GAAG,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,YAAY,CAAC,cAAc,CAAC,CAAC,CAAC;YACnE,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;YAC3C,MAAM,UAAU,GAAG,OAAO,GAAG,aAAa,CAAC;YAE3C,KAAK,CAAC,KAAK,CAAC,KAAK,GAAG,QAAQ,UAAU,GAAG,IAAI,OAC3C,CAAC,GAAG,UACN,MAAM,aAAa,GAAG,CAAC;SAOxB,CAAC,CAAC;KACJ;IAED,MAAM;QACJ,QACE,EAAC,IAAI,uDACH,4DACE,KAAK,EAAC,WAAW,EACjB,KAAK,EAAE;gBACL,mBAAmB,EAAE,IAAI,CAAC,mBAAmB;aAC9C,IAED,8DAAa,CACT,CACD,EACP;KACH;;;;;;;;;;","names":[],"sources":["src/components/layout-form/layout-form.scss?tag=ix-layout-form&encapsulation=shadow","src/components/layout-form/layout-form.tsx"],"sourcesContent":[":host {\n display: block;\n position: relative;\n\n margin: 0 0.5rem;\n\n .container {\n display: flex;\n align-items: stretch;\n flex-wrap: wrap;\n gap: 0.5rem;\n }\n\n ::slotted(*) {\n flex-grow: 0;\n flex-shrink: 0;\n }\n}\n","import { Component, Element, Host, Prop, State, Watch, h } from '@stencil/core';\nimport { IxComponent } from '../utils/internal';\n\n@Component({\n tag: 'ix-layout-form',\n styleUrl: 'layout-form.scss',\n shadow: true,\n})\nexport class LayoutForm implements IxComponent {\n @Element() hostElement!: HTMLIxLayoutFormElement;\n\n /**\n * Defines the layout of the form.\n */\n @Prop() layout: {\n minWidth: string;\n columns: number;\n }[] = [\n { minWidth: '0', columns: 1 },\n { minWidth: '35rem', columns: 2 },\n ];\n\n @State() gridTemplateColumns?: string;\n\n private mediaQueryList: {\n mediaQuery: MediaQueryList;\n layout: {\n minWidth: string;\n columns: number;\n };\n }[] = [];\n\n private observer = new MutationObserver(() =>\n this.calculateGridTemplateColumns()\n );\n\n private resizeObserver = new ResizeObserver(() => {\n this.calculateGridTemplateColumns();\n });\n\n connectedCallback(): void {\n this.observer.observe(this.hostElement, {\n childList: true,\n subtree: true,\n attributes: true,\n attributeFilter: ['data-colspan'],\n });\n this.resizeObserver.observe(this.hostElement);\n\n this.updateMediaQueryList();\n }\n\n componentWillLoad(): void | Promise<void> {\n this.calculateGridTemplateColumns();\n }\n\n disconnectedCallback(): void {\n if (this.observer) {\n this.observer.disconnect();\n }\n\n if (this.resizeObserver) {\n this.resizeObserver.disconnect();\n }\n }\n\n @Watch('layout')\n updateMediaQueryList() {\n this.mediaQueryList = [];\n this.layout.forEach((layout) => {\n const mediaQuery = window.matchMedia(`(min-width: ${layout.minWidth})`);\n this.mediaQueryList.push({\n mediaQuery,\n layout,\n });\n });\n }\n\n private parseNumber(number: string | null) {\n if (!number) {\n return 1;\n }\n\n const result = parseInt(number);\n if (isNaN(result)) {\n return 1;\n }\n\n return result;\n }\n\n private calculateGridTemplateColumns() {\n let layoutColumns = 1;\n let columnSpacing = '0.5rem';\n\n this.mediaQueryList.forEach((mediaQuery) => {\n if (mediaQuery.mediaQuery.matches) {\n layoutColumns = mediaQuery.layout.columns;\n }\n });\n\n let column = 0;\n Array.from(this.hostElement.children).forEach((child: HTMLElement) => {\n let colspan = this.parseNumber(child.getAttribute('data-colspan'));\n colspan = Math.min(colspan, layoutColumns);\n const childRatio = colspan / layoutColumns;\n\n child.style.width = `calc(${childRatio * 99.9}% - ${\n 1 - childRatio\n } * ${columnSpacing})`;\n\n if (column + colspan > layoutColumns) {\n column = 0;\n }\n\n column = (column + colspan) % layoutColumns;\n });\n }\n\n render() {\n return (\n <Host>\n <div\n class=\"container\"\n style={{\n gridTemplateColumns: this.gridTemplateColumns,\n }}\n >\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,144 +0,0 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9103b14c.js';
2
- import { e as iconMinus, f as iconPlus } from './index-f51bf247.js';
3
- import { H as HookValidationLifecycle } from './validation-9db7dfa3.js';
4
- import { m as makeRef } from './make-ref-6b3b4e16.js';
5
- import { m as mapValidationResult, c as applyPostfixPadding, b as PrefixSlot, I as InputElement, d as checkAllowedKeys, o as onInputBlur, P as PostfixSlot, e as checkInternalValidity } from './text-field.util-6a84bffd.js';
6
- import './a11y-13dedaef.js';
7
- import './anime.es-a5520566.js';
8
-
9
- const numberFieldCss = "label{color:var(--theme-color-soft-text);padding:2px 0px}label.label-alignment-left{padding:6px 0px}input{font-feature-settings:\"clig\" off, \"liga\" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-md);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;min-height:2rem;width:100%;padding:0.25rem 0.5rem;background-color:var(--theme-input--background);color:var(--theme-input--color);-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;text-overflow:ellipsis;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color);border-radius:var(--theme-input--border-radius);box-shadow:var(--theme-input--box-shadow)}input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}input:-webkit-autofill,input:autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}input::-moz-placeholder{color:var(--theme-input-hint--color)}input::placeholder{color:var(--theme-input-hint--color)}input:not(.readonly):not([readonly]):not([readOnly]):not(:-moz-read-only).hover,input:not(.readonly):not([readonly]):not([readOnly]):not(:-moz-read-only):hover{border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}input:not(.readonly):not([readonly]):not([readOnly]):not(:read-only).hover,input:not(.readonly):not([readonly]):not([readOnly]):not(:read-only):hover{border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}input:not(.readonly):not([readonly]):not([readOnly]):not(:-moz-read-only).focus,input:not(.readonly):not([readonly]):not([readOnly]):not(:-moz-read-only):focus{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}input:not(.readonly):not([readonly]):not([readOnly]):not(:read-only).focus,input:not(.readonly):not([readonly]):not([readOnly]):not(:read-only):focus{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}input:-moz-read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}input.read-only,input:read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}input.read-only::-moz-placeholder,input:read-only::-moz-placeholder{color:transparent}input:-moz-read-only::placeholder{color:transparent}input.read-only::placeholder,input:read-only::placeholder{color:transparent}input:disabled{box-shadow:none;background-color:transparent;outline:none;border:none;color:var(--theme-input--color--disabled);border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--disabled)}input:disabled::-moz-placeholder{color:transparent}input:disabled::placeholder{color:transparent}input[type=number]{text-align:right}input[type=number]::-webkit-inner-spin-button{margin-right:-2px;margin-left:2px;display:none}textarea{padding:0.375rem 1.25rem 0.375rem 0.5rem}textarea{font-feature-settings:\"clig\" off, \"liga\" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-md);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;min-height:2rem;width:100%;padding:0.25rem 0.5rem;background-color:var(--theme-input--background);color:var(--theme-input--color);-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;text-overflow:ellipsis;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color);border-radius:var(--theme-input--border-radius);box-shadow:var(--theme-input--box-shadow)}textarea:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}textarea:-webkit-autofill,textarea:autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}textarea::-moz-placeholder{color:var(--theme-input-hint--color)}textarea::placeholder{color:var(--theme-input-hint--color)}textarea:not(.readonly):not([readonly]):not([readOnly]):not(:-moz-read-only).hover,textarea:not(.readonly):not([readonly]):not([readOnly]):not(:-moz-read-only):hover{border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}textarea:not(.readonly):not([readonly]):not([readOnly]):not(:read-only).hover,textarea:not(.readonly):not([readonly]):not([readOnly]):not(:read-only):hover{border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}textarea:not(.readonly):not([readonly]):not([readOnly]):not(:-moz-read-only).focus,textarea:not(.readonly):not([readonly]):not([readOnly]):not(:-moz-read-only):focus{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}textarea:not(.readonly):not([readonly]):not([readOnly]):not(:read-only).focus,textarea:not(.readonly):not([readonly]):not([readOnly]):not(:read-only):focus{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}textarea:-moz-read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}textarea.read-only,textarea:read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}textarea.read-only::-moz-placeholder,textarea:read-only::-moz-placeholder{color:transparent}textarea:-moz-read-only::placeholder{color:transparent}textarea.read-only::placeholder,textarea:read-only::placeholder{color:transparent}textarea:disabled{box-shadow:none;background-color:transparent;outline:none;border:none;color:var(--theme-input--color--disabled);border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--disabled)}textarea:disabled::-moz-placeholder{color:transparent}textarea:disabled::placeholder{color:transparent}textarea~.valid-feedback,textarea~.invalid-feedback,input~.valid-feedback,input~.invalid-feedback{display:none;font-feature-settings:\"clig\" off, \"liga\" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-md);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}form textarea~.valid-feedback,form input~.valid-feedback{color:var(--theme-color-success)}form textarea~.invalid-feedback,form input~.invalid-feedback{color:var(--theme-color-alarm-text)}form:not([novalidate]) :invalid,form:not([novalidate]) .is-invalid,form.was-validated :invalid,form.was-validated .is-invalid{background-color:var(--theme-input-error--background);border-color:var(--theme-input-error--border-color);background-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3C!-- Generator: sketchtool 62 (101010) - https://sketch.com --%3E%3Ctitle%3Eerror%3C/title%3E%3Cdesc%3ECreated with sketchtool.%3C/desc%3E%3Cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd' fill-opacity='0.75'%3E%3Cg id='error' fill='%23ff2640'%3E%3Cg id='error/error'%3E%3Cpath d='M256,42.6666667 C373.626371,42.6666667 469.333333,138.373627 469.333333,256 C469.333333,373.626371 373.626371,469.333333 256,469.333333 C138.373627,469.333333 42.6666667,373.626371 42.6666667,256 C42.6666667,138.373627 138.373627,42.6666667 256,42.6666667 Z M256,85.3333333 C161.559631,85.3333333 85.3333333,161.559631 85.3333333,256 C85.3333333,350.44037 161.559631,426.666667 256,426.666667 C350.44037,426.666667 426.666667,350.44037 426.666667,256 C426.666667,161.559631 350.44037,85.3333333 256,85.3333333 Z M326.248389,155.581722 L356.418278,185.751611 L286.168667,255.999667 L356.418278,326.248389 L326.248389,356.418278 L255.999667,286.168667 L185.751611,356.418278 L155.581722,326.248389 L225.829667,255.999667 L155.581722,185.751611 L185.751611,155.581722 L255.999667,225.829667 L326.248389,155.581722 Z' id='Combined-Shape'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E\") !important;background-position:left calc(0.375em + 0.1875rem) center;padding-right:0.75rem;padding-left:calc(1.5em + 0.75rem);background-size:18px;background-repeat:no-repeat}form:not([novalidate]) :invalid~.invalid-feedback,form:not([novalidate]) .is-invalid~.invalid-feedback,form.was-validated :invalid~.invalid-feedback,form.was-validated .is-invalid~.invalid-feedback{display:block}form:not([novalidate]) :valid~.valid-feedback,form:not([novalidate]) .is-valid~.valid-feedback,form.was-validated :valid~.valid-feedback,form.was-validated .is-valid~.valid-feedback{display:block}form:not(.was-validated) .invalid-feedback,form:not(.was-validated) .valid-feedback{display:none !important}textarea.ix-info:not(.disabled):not(:disabled):not([disabled]),input.ix-info:not(.disabled):not(:disabled):not([disabled]){border-color:var(--theme-input--border-color--info)}textarea.ix-info:not(.disabled):not(:disabled):not([disabled]):hover,input.ix-info:not(.disabled):not(:disabled):not([disabled]):hover{border-color:var(--theme-input--border-color--info--hover) !important}textarea.ix-info:not(.disabled):not(:disabled):not([disabled]):active,input.ix-info:not(.disabled):not(:disabled):not([disabled]):active{border-color:var(--theme-input--border-color--info--active) !important}textarea.ix-warning:not(.disabled):not(:disabled):not([disabled]),input.ix-warning:not(.disabled):not(:disabled):not([disabled]){border-color:var(--theme-input--border-color--warning--active) !important}textarea.ix-warning:not(.disabled):not(:disabled):not([disabled]):hover,input.ix-warning:not(.disabled):not(:disabled):not([disabled]):hover{border-color:var(--theme-input--border-color--warning--active) !important}textarea.ix-warning:not(.disabled):not(:disabled):not([disabled]):active,input.ix-warning:not(.disabled):not(:disabled):not([disabled]):active{border-color:var(--theme-input--border-color--warning--active) !important}textarea[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]),input[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]){background-color:var(--theme-input--background--invalid);border-color:var(--theme-input--border-color--invalid)}textarea[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]),input[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]){border-color:var(--theme-input--border-color--invalid) !important}textarea[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):hover,input[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):hover{border-color:var(--theme-input--border-color--invalid--hover) !important}textarea[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):active,input[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):active{border-color:var(--theme-input--border-color--invalid--active) !important}:host{display:inline-block;position:relative;width:auto}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .input-wrapper{display:flex;position:relative;align-items:center;width:100%;height:100%}:host input{width:100%;height:100%}:host .prefix-container,:host .postfix-container{display:flex;position:absolute;align-items:center;justify-content:center;z-index:1}:host .prefix-container{left:0.5rem}:host .postfix-container{right:0.5rem}:host(.disabled){pointer-events:none}:host(.disabled) input,:host(.disabled) textarea{pointer-events:none}:host(.ix-info:not(.disabled):not(:disabled):not([disabled])) input{border-color:var(--theme-input--border-color--info)}:host(.ix-info:not(.disabled):not(:disabled):not([disabled])) input:hover{border-color:var(--theme-input--border-color--info--hover) !important}:host(.ix-info:not(.disabled):not(:disabled):not([disabled])) input:active{border-color:var(--theme-input--border-color--info--active) !important}:host(.ix-warning:not(.disabled):not(:disabled):not([disabled])) input{border-color:var(--theme-input--border-color--warning--active) !important}:host(.ix-warning:not(.disabled):not(:disabled):not([disabled])) input:hover{border-color:var(--theme-input--border-color--warning--active) !important}:host(.ix-warning:not(.disabled):not(:disabled):not([disabled])) input:active{border-color:var(--theme-input--border-color--warning--active) !important}:host([class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled])) input,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled])) input{background-color:var(--theme-input--background--invalid);border-color:var(--theme-input--border-color--invalid)}:host([class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled])) input,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled])) input{border-color:var(--theme-input--border-color--invalid) !important}:host([class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled])) input:hover,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled])) input:hover{border-color:var(--theme-input--border-color--invalid--hover) !important}:host([class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled])) input:active,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled])) input:active{border-color:var(--theme-input--border-color--invalid--active) !important}:host .input-wrapper.show-stepper-buttons input[type=number]{min-width:6rem}:host .number-stepper-container{display:flex;position:relative;flex-direction:row;flex-wrap:nowrap;margin-left:0.5rem}";
10
- const IxNumberFieldStyle0 = numberFieldCss;
11
-
12
- /*
13
- * SPDX-FileCopyrightText: 2024 Siemens AG
14
- *
15
- * SPDX-License-Identifier: MIT
16
- *
17
- * This source code is licensed under the MIT license found in the
18
- * LICENSE file in the root directory of this source tree.
19
- */
20
- var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
21
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
22
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
23
- r = Reflect.decorate(decorators, target, key, desc);
24
- else
25
- for (var i = decorators.length - 1; i >= 0; i--)
26
- if (d = decorators[i])
27
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
28
- return c > 3 && r && Object.defineProperty(target, key, r), r;
29
- };
30
- let numberFieldIds = 0;
31
- const NumberField = class {
32
- constructor(hostRef) {
33
- registerInstance(this, hostRef);
34
- this.valueChange = createEvent(this, "valueChange", 7);
35
- this.validityStateChange = createEvent(this, "validityStateChange", 7);
36
- this.ixBlur = createEvent(this, "ixBlur", 7);
37
- if (hostRef.$hostElement$["s-ei"]) {
38
- this.formInternals = hostRef.$hostElement$["s-ei"];
39
- }
40
- else {
41
- this.formInternals = hostRef.$hostElement$.attachInternals();
42
- hostRef.$hostElement$["s-ei"] = this.formInternals;
43
- }
44
- this.inputRef = makeRef();
45
- this.postfixRef = makeRef();
46
- this.prefixRef = makeRef();
47
- this.numberFieldId = `number-field-${numberFieldIds++}`;
48
- this.name = undefined;
49
- this.placeholder = undefined;
50
- this.value = 0;
51
- this.required = false;
52
- this.disabled = false;
53
- this.readonly = false;
54
- this.helperText = undefined;
55
- this.infoText = undefined;
56
- this.showTextAsTooltip = undefined;
57
- this.validText = undefined;
58
- this.warningText = undefined;
59
- this.label = undefined;
60
- this.invalidText = undefined;
61
- this.pattern = undefined;
62
- this.min = undefined;
63
- this.max = undefined;
64
- this.allowedCharactersPattern = undefined;
65
- this.showStepperButtons = undefined;
66
- this.isInvalid = false;
67
- this.isValid = false;
68
- this.isInfo = false;
69
- this.isWarning = false;
70
- this.isInvalidByRequired = false;
71
- }
72
- updateClassMappings(result) {
73
- mapValidationResult(this, result);
74
- }
75
- componentWillLoad() {
76
- this.updateFormInternalValue(this.value);
77
- }
78
- componentDidRender() {
79
- setTimeout(() => this.updatePaddings());
80
- }
81
- updatePaddings() {
82
- var _a, _b;
83
- const prefixBoundingRect = (_a = this.prefixRef.current) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect();
84
- const postfixBoundingRect = (_b = this.postfixRef.current) === null || _b === void 0 ? void 0 : _b.getBoundingClientRect();
85
- if (prefixBoundingRect) {
86
- applyPostfixPadding(this.inputRef.current, prefixBoundingRect.width, {
87
- postfix: false,
88
- });
89
- }
90
- if (postfixBoundingRect) {
91
- applyPostfixPadding(this.inputRef.current, postfixBoundingRect.width, {
92
- postfix: true,
93
- });
94
- }
95
- }
96
- updateFormInternalValue(value) {
97
- this.formInternals.setFormValue(value.toString());
98
- this.value = value;
99
- }
100
- /** @internal */
101
- async getAssociatedFormElement() {
102
- return this.formInternals.form;
103
- }
104
- /** @internal */
105
- hasValidValue() {
106
- return Promise.resolve(!!this.value);
107
- }
108
- /**
109
- * Returns the native input element used under the hood
110
- */
111
- getNativeInputElement() {
112
- return this.inputRef.waitForCurrent();
113
- }
114
- render() {
115
- const showStepperButtons = this.showStepperButtons && (this.disabled || this.readonly) === false;
116
- return (h(Host, { key: 'bc98043b834e63219ec186af3e80a072227b99ff', class: {
117
- disabled: this.disabled,
118
- readonly: this.readonly,
119
- } }, h("ix-field-wrapper", { key: 'e91f81a841bca01fe5f04b53650d5321b9f916f2', id: this.numberFieldId, required: this.required, label: this.label, helperText: this.helperText, invalidText: this.invalidText, infoText: this.infoText, warningText: this.warningText, validText: this.validText, showTextAsTooltip: this.showTextAsTooltip, isInvalid: this.isInvalid, isValid: this.isValid, isInfo: this.isInfo, isWarning: this.isWarning, controlRef: this.inputRef }, h("slot", { key: '5f5a579c6d333deaf5e5ab58e4178eeed5489f07', name: "label", slot: "label" }), h("div", { key: '01f923bb9747f14ef7695ecf948d05e8f38a557c', class: {
120
- 'input-wrapper': true,
121
- 'show-stepper-buttons': !!this.showStepperButtons,
122
- } }, h(PrefixSlot, { key: 'a3e90b0961e0861e2cb22650ebe3fb4ac8d152b5', prefixRef: this.prefixRef, onSlotChange: () => this.updatePaddings() }), h(InputElement, { key: 'b88c27a10f346733ab9b03376c4e2f450ed70c33', id: this.numberFieldId, readonly: this.readonly, disabled: this.disabled, min: this.min, max: this.max, pattern: this.pattern, type: 'number', isInvalid: this.isInvalid, required: this.required, value: this.value, placeholder: this.placeholder, inputRef: this.inputRef, onKeyPress: (event) => checkAllowedKeys(this, event), valueChange: (value) => this.valueChange.emit(Number(value)), updateFormInternalValue: (value) => this.updateFormInternalValue(Number(value)), onBlur: () => onInputBlur(this, this.inputRef.current) }), h(PostfixSlot, { key: 'bb222aba3806e77c1fad93ef196e7e495b2a0782', postfixRef: this.postfixRef, onSlotChange: () => this.updatePaddings() }, showStepperButtons && (h("div", { key: 'e8f7697df863932a07d01876a9b23224d701a772', class: "number-stepper-container" }, h("ix-icon-button", { key: '32f08267ab6e67e1003066d04d5e4f5533a6eab1', ghost: true, icon: iconMinus, size: "16", class: "number-stepper-button step-minus", onClick: () => {
123
- this.inputRef.current.stepDown();
124
- checkInternalValidity(this, this.inputRef.current);
125
- this.updateFormInternalValue(Number(this.inputRef.current.value));
126
- this.valueChange.emit(this.value);
127
- } }), h("ix-icon-button", { key: '94fc35967b5b7a5988d55da06ba77fd2c3af0d1e', ghost: true, icon: iconPlus, size: "16", class: "number-stepper-button step-plus", onClick: () => {
128
- this.inputRef.current.stepUp();
129
- checkInternalValidity(this, this.inputRef.current);
130
- this.updateFormInternalValue(Number(this.inputRef.current.value));
131
- this.valueChange.emit(this.value);
132
- } }))))))));
133
- }
134
- static get formAssociated() { return true; }
135
- get hostElement() { return getElement(this); }
136
- };
137
- __decorate([
138
- HookValidationLifecycle()
139
- ], NumberField.prototype, "updateClassMappings", null);
140
- NumberField.style = IxNumberFieldStyle0;
141
-
142
- export { NumberField as ix_number_field };
143
-
144
- //# sourceMappingURL=ix-number-field.entry.js.map
@@ -1 +0,0 @@
1
- {"file":"ix-number-field.entry.js","mappings":"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","names":[],"sources":["src/components/text-field/number-field.scss?tag=ix-number-field&encapsulation=shadow","src/components/text-field/number-field.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@import \"./text-field.mixins.scss\";\n\n@include input-field;\n\n:host {\n .input-wrapper.show-stepper-buttons {\n input[type=\"number\"] {\n min-width: 6rem;\n }\n }\n\n .number-stepper-container {\n display: flex;\n position: relative;\n flex-direction: row;\n flex-wrap: nowrap;\n margin-left: 0.5rem;\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 { iconMinus, iconPlus } from '@siemens/ix-icons/icons';\nimport {\n AttachInternals,\n Component,\n Element,\n Event,\n EventEmitter,\n Host,\n Method,\n Prop,\n State,\n h,\n} from '@stencil/core';\nimport {\n HookValidationLifecycle,\n IxInputFieldComponent,\n ValidationResults,\n} from '../utils/field';\nimport { makeRef } from '../utils/make-ref';\nimport { InputElement, PostfixSlot, PrefixSlot } from './input.fc';\nimport {\n applyPostfixPadding,\n checkAllowedKeys,\n checkInternalValidity,\n mapValidationResult,\n onInputBlur,\n} from './text-field.util';\n\nlet numberFieldIds = 0;\n\n/**\n * @since 2.4.0\n * @form-ready 2.4.0\n */\n@Component({\n tag: 'ix-number-field',\n styleUrl: 'number-field.scss',\n shadow: true,\n formAssociated: true,\n})\nexport class NumberField implements IxInputFieldComponent<number> {\n @Element() hostElement!: HTMLIxNumberFieldElement;\n @AttachInternals() formInternals!: ElementInternals;\n\n /**\n * name of the input element\n */\n @Prop({ reflect: true }) name?: string;\n\n /**\n * placeholder of the input element\n */\n @Prop({ reflect: true }) placeholder?: string;\n\n /**\n * The value of the input field\n */\n @Prop({ reflect: true, mutable: true }) value: number = 0;\n\n /**\n * Indicates if the field is required\n */\n @Prop({ reflect: true }) required: boolean = false;\n\n /**\n * Disables the input field\n */\n @Prop() disabled: boolean = false;\n\n /**\n * Indicates if the field is read-only\n */\n @Prop() readonly: boolean = false;\n\n /**\n * The helper text for the input field\n */\n @Prop() helperText?: string;\n\n /**\n * The info text for the input field\n */\n @Prop() infoText?: string;\n\n /**\n * Indicates if the text should be shown as a tooltip\n */\n @Prop() showTextAsTooltip?: boolean;\n\n /**\n * The valid text for the input field\n */\n @Prop() validText?: string;\n\n /**\n * The warning text for the input field\n */\n @Prop() warningText?: string;\n\n /**\n * The label for the input field\n */\n @Prop({ reflect: true }) label?: string;\n\n /**\n * The error text for the input field\n */\n @Prop() invalidText?: string;\n\n /**\n * The pattern for the input field\n */\n @Prop() pattern?: string;\n\n /**\n * The minimum value for the input field\n */\n @Prop() min?: string | number;\n\n /**\n * The maximum value for the input field\n */\n @Prop() max?: string | number;\n\n /**\n * The allowed characters pattern for the input field\n */\n @Prop() allowedCharactersPattern?: string;\n\n /**\n * Indicates if the stepper buttons should be shown\n */\n @Prop() showStepperButtons?: boolean;\n\n /**\n * Event emitted when the value of the input field changes\n */\n @Event() valueChange!: EventEmitter<number>;\n\n /**\n * Event emitted when the validity state of the input field changes\n */\n @Event() validityStateChange!: EventEmitter<ValidityState>;\n\n /**\n * Event emitted when the input field loses focus\n */\n @Event() ixBlur!: EventEmitter<void>;\n\n @State() isInvalid = false;\n @State() isValid = false;\n @State() isInfo = false;\n @State() isWarning = false;\n @State() isInvalidByRequired = false;\n\n private inputRef = makeRef<HTMLInputElement>();\n private postfixRef = makeRef<HTMLDivElement>();\n private prefixRef = makeRef<HTMLDivElement>();\n private numberFieldId = `number-field-${numberFieldIds++}`;\n\n @HookValidationLifecycle()\n updateClassMappings(result: ValidationResults) {\n mapValidationResult(this, result);\n }\n\n componentWillLoad() {\n this.updateFormInternalValue(this.value);\n }\n\n componentDidRender() {\n setTimeout(() => this.updatePaddings());\n }\n\n private updatePaddings() {\n const prefixBoundingRect = this.prefixRef.current?.getBoundingClientRect();\n const postfixBoundingRect =\n this.postfixRef.current?.getBoundingClientRect();\n\n if (prefixBoundingRect) {\n applyPostfixPadding(this.inputRef.current, prefixBoundingRect.width, {\n postfix: false,\n });\n }\n\n if (postfixBoundingRect) {\n applyPostfixPadding(this.inputRef.current, postfixBoundingRect.width, {\n postfix: true,\n });\n }\n }\n\n updateFormInternalValue(value: number) {\n this.formInternals.setFormValue(value.toString());\n this.value = value;\n }\n\n /** @internal */\n @Method()\n async getAssociatedFormElement(): Promise<HTMLFormElement | null> {\n return this.formInternals.form;\n }\n\n /** @internal */\n @Method()\n hasValidValue(): Promise<boolean> {\n return Promise.resolve(!!this.value);\n }\n\n /**\n * Returns the native input element used under the hood\n */\n @Method()\n getNativeInputElement(): Promise<HTMLInputElement> {\n return this.inputRef.waitForCurrent();\n }\n\n render() {\n const showStepperButtons =\n this.showStepperButtons && (this.disabled || this.readonly) === false;\n\n return (\n <Host\n class={{\n disabled: this.disabled,\n readonly: this.readonly,\n }}\n >\n <ix-field-wrapper\n id={this.numberFieldId}\n required={this.required}\n label={this.label}\n helperText={this.helperText}\n invalidText={this.invalidText}\n infoText={this.infoText}\n warningText={this.warningText}\n validText={this.validText}\n showTextAsTooltip={this.showTextAsTooltip}\n isInvalid={this.isInvalid}\n isValid={this.isValid}\n isInfo={this.isInfo}\n isWarning={this.isWarning}\n controlRef={this.inputRef}\n >\n <slot name=\"label\" slot=\"label\"></slot>\n <div\n class={{\n 'input-wrapper': true,\n 'show-stepper-buttons': !!this.showStepperButtons,\n }}\n >\n <PrefixSlot\n prefixRef={this.prefixRef}\n onSlotChange={() => this.updatePaddings()}\n ></PrefixSlot>\n <InputElement\n id={this.numberFieldId}\n readonly={this.readonly}\n disabled={this.disabled}\n min={this.min}\n max={this.max}\n pattern={this.pattern}\n type={'number'}\n isInvalid={this.isInvalid}\n required={this.required}\n value={this.value}\n placeholder={this.placeholder}\n inputRef={this.inputRef}\n onKeyPress={(event) => checkAllowedKeys(this, event)}\n valueChange={(value) => this.valueChange.emit(Number(value))}\n updateFormInternalValue={(value) =>\n this.updateFormInternalValue(Number(value))\n }\n onBlur={() => onInputBlur(this, this.inputRef.current)}\n ></InputElement>\n <PostfixSlot\n postfixRef={this.postfixRef}\n onSlotChange={() => this.updatePaddings()}\n >\n {showStepperButtons && (\n <div class=\"number-stepper-container\">\n <ix-icon-button\n ghost\n icon={iconMinus}\n size=\"16\"\n class=\"number-stepper-button step-minus\"\n onClick={() => {\n this.inputRef.current.stepDown();\n checkInternalValidity(this, this.inputRef.current);\n this.updateFormInternalValue(\n Number(this.inputRef.current.value)\n );\n this.valueChange.emit(this.value);\n }}\n ></ix-icon-button>\n <ix-icon-button\n ghost\n icon={iconPlus}\n size=\"16\"\n class=\"number-stepper-button step-plus\"\n onClick={() => {\n this.inputRef.current.stepUp();\n checkInternalValidity(this, this.inputRef.current);\n this.updateFormInternalValue(\n Number(this.inputRef.current.value)\n );\n this.valueChange.emit(this.value);\n }}\n ></ix-icon-button>\n </div>\n )}\n </PostfixSlot>\n </div>\n </ix-field-wrapper>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,112 +0,0 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9103b14c.js';
2
- import { H as HookValidationLifecycle } from './validation-9db7dfa3.js';
3
-
4
- const radioGroupCss = ":host{display:inline-block;position:relative}:host .checkbox-container{display:flex;flex-direction:row;gap:0.5rem;margin:0.35rem 0;flex-wrap:wrap}";
5
- const IxRadioGroupStyle0 = radioGroupCss;
6
-
7
- var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
8
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
9
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
10
- r = Reflect.decorate(decorators, target, key, desc);
11
- else
12
- for (var i = decorators.length - 1; i >= 0; i--)
13
- if (d = decorators[i])
14
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
15
- return c > 3 && r && Object.defineProperty(target, key, r), r;
16
- };
17
- const RadiobuttonGroup = class {
18
- constructor(hostRef) {
19
- registerInstance(this, hostRef);
20
- this.valueChange = createEvent(this, "valueChange", 7);
21
- this.observer = new MutationObserver(() => {
22
- this.ensureOnlyLastRadioChecked();
23
- });
24
- this.helperText = undefined;
25
- this.label = undefined;
26
- this.value = undefined;
27
- this.invalidText = undefined;
28
- this.infoText = undefined;
29
- this.warningText = undefined;
30
- this.validText = undefined;
31
- this.showTextAsTooltip = undefined;
32
- this.isInvalid = false;
33
- this.isValid = false;
34
- this.isInfo = false;
35
- this.isWarning = false;
36
- }
37
- get radiobuttonElements() {
38
- return Array.from(this.hostElement.querySelectorAll('ix-radio'));
39
- }
40
- connectedCallback() {
41
- this.observer.observe(this.hostElement, {
42
- childList: true,
43
- subtree: true,
44
- attributes: true,
45
- attributeFilter: ['checked'],
46
- });
47
- }
48
- componentWillLoad() {
49
- this.selectInitialValue();
50
- this.ensureOnlyLastRadioChecked();
51
- }
52
- disconnectedCallback() {
53
- if (this.observer) {
54
- this.observer.disconnect();
55
- }
56
- }
57
- selectInitialValue() {
58
- if (!this.value) {
59
- return;
60
- }
61
- this.radiobuttonElements.forEach((radiobutton) => {
62
- radiobutton.checked = radiobutton.value === this.value;
63
- });
64
- }
65
- ensureOnlyLastRadioChecked() {
66
- const checkedRadios = this.radiobuttonElements.filter((radio) => radio.checked);
67
- checkedRadios.forEach((radio, index) => {
68
- if (index === checkedRadios.length - 1) {
69
- return;
70
- }
71
- radio.checked = false;
72
- });
73
- }
74
- onValueChangeHandler(newValue) {
75
- this.radiobuttonElements.forEach((radiobutton) => {
76
- radiobutton.checked = radiobutton.value === newValue;
77
- });
78
- }
79
- onCheckedChangeHandler(event) {
80
- this.radiobuttonElements.forEach((radiobutton) => {
81
- if (radiobutton !== event.target) {
82
- radiobutton.checked = false;
83
- return;
84
- }
85
- radiobutton.checked = true;
86
- this.valueChange.emit(radiobutton.value);
87
- });
88
- }
89
- onClassField({ isInvalid, isInfo, isValid, isWarning }) {
90
- this.isInvalid = isInvalid;
91
- this.isInfo = isInfo;
92
- this.isValid = isValid;
93
- this.isWarning = isWarning;
94
- }
95
- render() {
96
- return (h(Host, { key: '06f2de8cda259460c5b3c0a898f565ada89c8880' }, h("ix-field-wrapper", { key: '7d29f98bc31ee137db616621ace4887db15c9350', label: this.label, helperText: this.helperText, invalidText: this.invalidText, infoText: this.infoText, warningText: this.warningText, validText: this.validText, showTextAsTooltip: this.showTextAsTooltip, isValid: this.isValid, isInfo: this.isInfo, isWarning: this.isWarning, isInvalid: this.isInvalid }, h("slot", { key: '961f7f85c2f2f9c319eb924bdd06e9500fc1543d', name: "label", slot: "label" }), h("div", { key: '8c52e80c230edde2254ef6105a71e660f6d3e1d7', class: 'checkbox-container' }, h("slot", { key: 'cf0e1efd134143c4a15f798fc88ef024c941f03c' })))));
97
- }
98
- get hostElement() { return getElement(this); }
99
- static get watchers() { return {
100
- "value": ["onValueChangeHandler"]
101
- }; }
102
- };
103
- __decorate([
104
- HookValidationLifecycle({
105
- includeChildren: true,
106
- })
107
- ], RadiobuttonGroup.prototype, "onClassField", null);
108
- RadiobuttonGroup.style = IxRadioGroupStyle0;
109
-
110
- export { RadiobuttonGroup as ix_radio_group };
111
-
112
- //# sourceMappingURL=ix-radio-group.entry.js.map
@@ -1 +0,0 @@
1
- {"file":"ix-radio-group.entry.js","mappings":"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","names":[],"sources":["src/components/radio-group/radio-group.scss?tag=ix-radio-group&encapsulation=shadow","src/components/radio-group/radio-group.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@import 'mixins/shadow-dom/component';\n\n:host {\n display: inline-block;\n position: relative;\n\n .checkbox-container {\n display: flex;\n flex-direction: row;\n gap: 0.5rem;\n margin: 0.35rem 0;\n flex-wrap: wrap;\n }\n}\n","import {\n Component,\n Element,\n EventEmitter,\n Host,\n Event,\n Listen,\n Prop,\n State,\n h,\n Watch,\n} from '@stencil/core';\nimport {\n ValidationResults,\n HookValidationLifecycle,\n FieldWrapperInterface,\n IxFormValidationState,\n} from '../utils/field';\n\n/**\n * @since 2.4.0\n * @form-ready 2.4.0\n */\n@Component({\n tag: 'ix-radio-group',\n styleUrl: 'radio-group.scss',\n shadow: true,\n})\nexport class RadiobuttonGroup\n implements FieldWrapperInterface, IxFormValidationState\n{\n @Element() hostElement!: HTMLIxRadioGroupElement;\n /**\n * Show text below the field component\n */\n @Prop() helperText?: string;\n\n /**\n * Label for the field component\n */\n @Prop() label?: string;\n\n /**\n * Value of the radiobutton group component\n */\n @Prop() value?: string;\n\n /**\n * Error text for the field component\n */\n @Prop() invalidText?: string;\n\n /**\n * Info text for the field component\n */\n @Prop() infoText?: string;\n\n /**\n * Warning text for the field component\n */\n @Prop() warningText?: string;\n\n /**\n * Valid text for the field component\n */\n @Prop() validText?: string;\n\n /**\n * Show helper, info, warning, error and valid text as tooltip\n */\n @Prop() showTextAsTooltip?: boolean;\n\n /**\n * Event emitted when the value of the radiobutton group changes\n */\n @Event() valueChange!: EventEmitter<string>;\n\n @State() isInvalid = false;\n @State() isValid = false;\n @State() isInfo = false;\n @State() isWarning = false;\n\n private observer = new MutationObserver(() => {\n this.ensureOnlyLastRadioChecked();\n });\n\n private get radiobuttonElements() {\n return Array.from(this.hostElement.querySelectorAll('ix-radio'));\n }\n\n connectedCallback(): void {\n this.observer.observe(this.hostElement, {\n childList: true,\n subtree: true,\n attributes: true,\n attributeFilter: ['checked'],\n });\n }\n\n componentWillLoad(): void | Promise<void> {\n this.selectInitialValue();\n this.ensureOnlyLastRadioChecked();\n }\n\n disconnectedCallback(): void {\n if (this.observer) {\n this.observer.disconnect();\n }\n }\n\n private selectInitialValue() {\n if (!this.value) {\n return;\n }\n this.radiobuttonElements.forEach((radiobutton) => {\n radiobutton.checked = radiobutton.value === this.value;\n });\n }\n\n private ensureOnlyLastRadioChecked() {\n const checkedRadios = this.radiobuttonElements.filter(\n (radio) => radio.checked\n );\n checkedRadios.forEach((radio, index) => {\n if (index === checkedRadios.length - 1) {\n return;\n }\n radio.checked = false;\n });\n }\n\n @Watch('value')\n onValueChangeHandler(newValue: string) {\n this.radiobuttonElements.forEach((radiobutton) => {\n radiobutton.checked = radiobutton.value === newValue;\n });\n }\n\n @Listen('checkedChange')\n onCheckedChangeHandler(event: CustomEvent<boolean>) {\n this.radiobuttonElements.forEach((radiobutton) => {\n if (radiobutton !== event.target) {\n radiobutton.checked = false;\n return;\n }\n radiobutton.checked = true;\n this.valueChange.emit(radiobutton.value);\n });\n }\n\n @HookValidationLifecycle({\n includeChildren: true,\n })\n onClassField({ isInvalid, isInfo, isValid, isWarning }: ValidationResults) {\n this.isInvalid = isInvalid;\n this.isInfo = isInfo;\n this.isValid = isValid;\n this.isWarning = isWarning;\n }\n\n render() {\n return (\n <Host>\n <ix-field-wrapper\n label={this.label}\n helperText={this.helperText}\n invalidText={this.invalidText}\n infoText={this.infoText}\n warningText={this.warningText}\n validText={this.validText}\n showTextAsTooltip={this.showTextAsTooltip}\n isValid={this.isValid}\n isInfo={this.isInfo}\n isWarning={this.isWarning}\n isInvalid={this.isInvalid}\n >\n <slot name=\"label\" slot=\"label\"></slot>\n\n <div class={'checkbox-container'}>\n <slot></slot>\n </div>\n </ix-field-wrapper>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,92 +0,0 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9103b14c.js';
2
- import { m as makeRef } from './make-ref-6b3b4e16.js';
3
-
4
- const radioCss = ":host{display:inline-block;position:relative}: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 button{all:unset}:host button{display:inline-flex;position:relative;align-items:center;justify-content:center;width:1.125rem;min-width:1.125rem;max-width:1.125rem;height:1.125rem;min-height:1.125rem;max-height:1.125rem;border:1px solid white;border-radius:100px;margin-right:0.5rem}:host button:focus-visible{outline:0.0625rem solid var(--theme-color-focus-bdr);outline-offset:var(--theme-radiobtn--focus--outline-offset)}:host input[type=radio]{display:none}:host label{display:flex;justify-content:flex-start;align-items:flex-start;width:100%;height:100%}:host .checkmark{border-radius:100px;background-color:var(--theme-color-primary--contrast);width:0.5rem;height:0.5rem}:host button{background-color:var(--theme-radiobtn-unchecked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color)}:host(:hover) button{background-color:var(--theme-radiobtn-unchecked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--hover)}:host(:active) button{background-color:var(--theme-radiobtn-unchecked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--active)}:host(.checked) button,:host([indeterminate]) button{background-color:var(--theme-radiobtn-checked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color)}:host(.checked:hover) button,:host([indeterminate]:hover) button{background-color:var(--theme-radiobtn-checked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--hover)}:host(.checked:active) button,:host([indeterminate]:active) button{background-color:var(--theme-radiobtn-checked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--active)}:host(:disabled),:host(.disabled){pointer-events:none}:host(:disabled) button,:host(.disabled) button{background-color:var(--theme-radiobtn-unchecked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--disabled)}:host(.checked:disabled) button,:host(.checked.disabled) button,:host([indeterminate]:disabled) button,:host([indeterminate].disabled) button{background-color:var(--theme-radiobtn-checked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--disabled)}:host(.ix-info:not(.disabled)) button{--theme-radiobtn-unchecked--background:var(--theme-radiobtn-unchecked--background--info);--theme-radiobtn-unchecked--background--hover:var(--theme-radiobtn-unchecked--background--info--hover);--theme-radiobtn-unchecked--background--active:var(--theme-radiobtn-unchecked--background--info--active);--theme-radiobtn-unchecked--border-color:var(--theme-radiobtn-unchecked--border-color--info);--theme-radiobtn-unchecked--border-color--hover:var(--theme-radiobtn-unchecked--border-color--info--hover);--theme-radiobtn-unchecked--border-color--active:var(--theme-radiobtn-unchecked--border-color--info--active);--theme-radiobtn-checked--background:var(--theme-radiobtn-checked--background--info);--theme-radiobtn-checked--background--hover:var(--theme-radiobtn-checked--background--info--hover);--theme-radiobtn-checked--background--active:var(--theme-radiobtn-checked--background--info--active);--theme-radiobtn-checked--border-color:var(--theme-radiobtn-checked--border-color--info);--theme-radiobtn-checked--border-color--hover:var(--theme-radiobtn-checked--border-color--info--hover);--theme-radiobtn-checked--border-color--active:var(--theme-radiobtn-checked--border-color--info--active);--theme-radiobtn-mixed--background:var(--theme-radiobtn-mixed--background--info);--theme-radiobtn-mixed--background--hover:var(--theme-radiobtn-mixed--background--info--hover);--theme-radiobtn-mixed--background--active:var(--theme-radiobtn-mixed--background--info--active);--theme-radiobtn-mixed--border-color:var(--theme-radiobtn-mixed--border-color--info);--theme-radiobtn-mixed--border-color--hover:var(--theme-radiobtn-mixed--border-color--info--hover);--theme-radiobtn-mixed--border-color--active:var(--theme-radiobtn-mixed--border-color--info--active)}:host(.ix-info) button{background-color:var(--theme-radiobtn-unchecked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color)}:host(.ix-info:hover) button{background-color:var(--theme-radiobtn-unchecked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--hover)}:host(.ix-info:active) button{background-color:var(--theme-radiobtn-unchecked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--active)}:host(.ix-info.checked) button,:host(.ix-info[indeterminate]) button{background-color:var(--theme-radiobtn-checked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color)}:host(.ix-info.checked:hover) button,:host(.ix-info[indeterminate]:hover) button{background-color:var(--theme-radiobtn-checked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--hover)}:host(.ix-info.checked:active) button,:host(.ix-info[indeterminate]:active) button{background-color:var(--theme-radiobtn-checked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--active)}:host(.ix-info:disabled) button,:host(.ix-info.disabled) button{background-color:var(--theme-radiobtn-unchecked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--disabled)}:host(.ix-info.checked:disabled) button,:host(.ix-info.checked.disabled) button,:host(.ix-info[indeterminate]:disabled) button,:host(.ix-info[indeterminate].disabled) button{background-color:var(--theme-radiobtn-checked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--disabled)}:host(.ix-warning:not(.disabled)) button{--theme-radiobtn-unchecked--background:var(--theme-radiobtn-unchecked--background--warning);--theme-radiobtn-unchecked--background--hover:var(--theme-radiobtn-unchecked--background--warning--hover);--theme-radiobtn-unchecked--background--active:var(--theme-radiobtn-unchecked--background--warning--active);--theme-radiobtn-unchecked--border-color:var(--theme-radiobtn-unchecked--border-color--warning);--theme-radiobtn-unchecked--border-color--hover:var(--theme-radiobtn-unchecked--border-color--warning--hover);--theme-radiobtn-unchecked--border-color--active:var(--theme-radiobtn-unchecked--border-color--warning--active);--theme-radiobtn-checked--background:var(--theme-radiobtn-checked--background--warning);--theme-radiobtn-checked--background--hover:var(--theme-radiobtn-checked--background--warning--hover);--theme-radiobtn-checked--background--active:var(--theme-radiobtn-checked--background--warning--active);--theme-radiobtn-checked--border-color:var(--theme-radiobtn-checked--border-color--warning);--theme-radiobtn-checked--border-color--hover:var(--theme-radiobtn-checked--border-color--warning--hover);--theme-radiobtn-checked--border-color--active:var(--theme-radiobtn-checked--border-color--warning--active);--theme-radiobtn-mixed--background:var(--theme-radiobtn-mixed--background--warning);--theme-radiobtn-mixed--background--hover:var(--theme-radiobtn-mixed--background--warning--hover);--theme-radiobtn-mixed--background--active:var(--theme-radiobtn-mixed--background--warning--active);--theme-radiobtn-mixed--border-color:var(--theme-radiobtn-mixed--border-color--warning);--theme-radiobtn-mixed--border-color--hover:var(--theme-radiobtn-mixed--border-color--warning--hover);--theme-radiobtn-mixed--border-color--active:var(--theme-radiobtn-mixed--border-color--warning--active)}:host(.ix-warning) button{background-color:var(--theme-radiobtn-unchecked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color)}:host(.ix-warning:hover) button{background-color:var(--theme-radiobtn-unchecked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--hover)}:host(.ix-warning:active) button{background-color:var(--theme-radiobtn-unchecked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--active)}:host(.ix-warning.checked) button,:host(.ix-warning[indeterminate]) button{background-color:var(--theme-radiobtn-checked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color)}:host(.ix-warning.checked:hover) button,:host(.ix-warning[indeterminate]:hover) button{background-color:var(--theme-radiobtn-checked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--hover)}:host(.ix-warning.checked:active) button,:host(.ix-warning[indeterminate]:active) button{background-color:var(--theme-radiobtn-checked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--active)}:host(.ix-warning:disabled) button,:host(.ix-warning.disabled) button{background-color:var(--theme-radiobtn-unchecked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--disabled)}:host(.ix-warning.checked:disabled) button,:host(.ix-warning.checked.disabled) button,:host(.ix-warning[indeterminate]:disabled) button,:host(.ix-warning[indeterminate].disabled) button{background-color:var(--theme-radiobtn-checked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--disabled)}:host(.ix-invalid--required:not(.disabled)) button{--theme-radiobtn-unchecked--background:var(--theme-radiobtn-unchecked--background--invalid);--theme-radiobtn-unchecked--background--hover:var(--theme-radiobtn-unchecked--background--invalid--hover);--theme-radiobtn-unchecked--background--active:var(--theme-radiobtn-unchecked--background--invalid--active);--theme-radiobtn-unchecked--border-color:var(--theme-radiobtn-unchecked--border-color--invalid);--theme-radiobtn-unchecked--border-color--hover:var(--theme-radiobtn-unchecked--border-color--invalid--hover);--theme-radiobtn-unchecked--border-color--active:var(--theme-radiobtn-unchecked--border-color--invalid--active);--theme-radiobtn-checked--background:var(--theme-radiobtn-checked--background--invalid);--theme-radiobtn-checked--background--hover:var(--theme-radiobtn-checked--background--invalid--hover);--theme-radiobtn-checked--background--active:var(--theme-radiobtn-checked--background--invalid--active);--theme-radiobtn-checked--border-color:var(--theme-radiobtn-checked--border-color--invalid);--theme-radiobtn-checked--border-color--hover:var(--theme-radiobtn-checked--border-color--invalid--hover);--theme-radiobtn-checked--border-color--active:var(--theme-radiobtn-checked--border-color--invalid--active);--theme-radiobtn-mixed--background:var(--theme-radiobtn-mixed--background--invalid);--theme-radiobtn-mixed--background--hover:var(--theme-radiobtn-mixed--background--invalid--hover);--theme-radiobtn-mixed--background--active:var(--theme-radiobtn-mixed--background--invalid--active);--theme-radiobtn-mixed--border-color:var(--theme-radiobtn-mixed--border-color--invalid);--theme-radiobtn-mixed--border-color--hover:var(--theme-radiobtn-mixed--border-color--invalid--hover);--theme-radiobtn-mixed--border-color--active:var(--theme-radiobtn-mixed--border-color--invalid--active)}:host(.ix-invalid--required) button{background-color:var(--theme-radiobtn-unchecked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color)}:host(.ix-invalid--required:hover) button{background-color:var(--theme-radiobtn-unchecked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--hover)}:host(.ix-invalid--required:active) button{background-color:var(--theme-radiobtn-unchecked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--active)}:host(.ix-invalid--required.checked) button,:host(.ix-invalid--required[indeterminate]) button{background-color:var(--theme-radiobtn-checked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color)}:host(.ix-invalid--required.checked:hover) button,:host(.ix-invalid--required[indeterminate]:hover) button{background-color:var(--theme-radiobtn-checked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--hover)}:host(.ix-invalid--required.checked:active) button,:host(.ix-invalid--required[indeterminate]:active) button{background-color:var(--theme-radiobtn-checked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--active)}:host(.ix-invalid--required:disabled) button,:host(.ix-invalid--required.disabled) button{background-color:var(--theme-radiobtn-unchecked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--disabled)}:host(.ix-invalid--required.checked:disabled) button,:host(.ix-invalid--required.checked.disabled) button,:host(.ix-invalid--required[indeterminate]:disabled) button,:host(.ix-invalid--required[indeterminate].disabled) button{background-color:var(--theme-radiobtn-checked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--disabled)}:host(.ix-invalid:not(.disabled)) button{--theme-radiobtn-unchecked--background:var(--theme-radiobtn-unchecked--background--invalid);--theme-radiobtn-unchecked--background--hover:var(--theme-radiobtn-unchecked--background--invalid--hover);--theme-radiobtn-unchecked--background--active:var(--theme-radiobtn-unchecked--background--invalid--active);--theme-radiobtn-unchecked--border-color:var(--theme-radiobtn-unchecked--border-color--invalid);--theme-radiobtn-unchecked--border-color--hover:var(--theme-radiobtn-unchecked--border-color--invalid--hover);--theme-radiobtn-unchecked--border-color--active:var(--theme-radiobtn-unchecked--border-color--invalid--active);--theme-radiobtn-checked--background:var(--theme-radiobtn-checked--background--invalid);--theme-radiobtn-checked--background--hover:var(--theme-radiobtn-checked--background--invalid--hover);--theme-radiobtn-checked--background--active:var(--theme-radiobtn-checked--background--invalid--active);--theme-radiobtn-checked--border-color:var(--theme-radiobtn-checked--border-color--invalid);--theme-radiobtn-checked--border-color--hover:var(--theme-radiobtn-checked--border-color--invalid--hover);--theme-radiobtn-checked--border-color--active:var(--theme-radiobtn-checked--border-color--invalid--active);--theme-radiobtn-mixed--background:var(--theme-radiobtn-mixed--background--invalid);--theme-radiobtn-mixed--background--hover:var(--theme-radiobtn-mixed--background--invalid--hover);--theme-radiobtn-mixed--background--active:var(--theme-radiobtn-mixed--background--invalid--active);--theme-radiobtn-mixed--border-color:var(--theme-radiobtn-mixed--border-color--invalid);--theme-radiobtn-mixed--border-color--hover:var(--theme-radiobtn-mixed--border-color--invalid--hover);--theme-radiobtn-mixed--border-color--active:var(--theme-radiobtn-mixed--border-color--invalid--active)}:host(.ix-invalid) button{background-color:var(--theme-radiobtn-unchecked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color)}:host(.ix-invalid:hover) button{background-color:var(--theme-radiobtn-unchecked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--hover)}:host(.ix-invalid:active) button{background-color:var(--theme-radiobtn-unchecked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--active)}:host(.ix-invalid.checked) button,:host(.ix-invalid[indeterminate]) button{background-color:var(--theme-radiobtn-checked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color)}:host(.ix-invalid.checked:hover) button,:host(.ix-invalid[indeterminate]:hover) button{background-color:var(--theme-radiobtn-checked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--hover)}:host(.ix-invalid.checked:active) button,:host(.ix-invalid[indeterminate]:active) button{background-color:var(--theme-radiobtn-checked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--active)}:host(.ix-invalid:disabled) button,:host(.ix-invalid.disabled) button{background-color:var(--theme-radiobtn-unchecked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--disabled)}:host(.ix-invalid.checked:disabled) button,:host(.ix-invalid.checked.disabled) button,:host(.ix-invalid[indeterminate]:disabled) button,:host(.ix-invalid[indeterminate].disabled) button{background-color:var(--theme-radiobtn-checked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--disabled)}";
5
- const IxRadioStyle0 = radioCss;
6
-
7
- const Radio = class {
8
- constructor(hostRef) {
9
- registerInstance(this, hostRef);
10
- this.checkedChange = createEvent(this, "checkedChange", 7);
11
- this.valueChange = createEvent(this, "valueChange", 7);
12
- if (hostRef.$hostElement$["s-ei"]) {
13
- this.formInternals = hostRef.$hostElement$["s-ei"];
14
- }
15
- else {
16
- this.formInternals = hostRef.$hostElement$.attachInternals();
17
- hostRef.$hostElement$["s-ei"] = this.formInternals;
18
- }
19
- /**
20
- * Single radio cannot be required
21
- * */
22
- this.required = false;
23
- this.inputRef = makeRef((radiobuttonRef) => {
24
- radiobuttonRef.checked = this.checked;
25
- });
26
- this.name = undefined;
27
- this.value = undefined;
28
- this.label = undefined;
29
- this.disabled = false;
30
- this.checked = false;
31
- }
32
- setCheckedState(newChecked) {
33
- if (this.checked) {
34
- return;
35
- }
36
- const result = this.checkedChange.emit(newChecked);
37
- if (result.defaultPrevented) {
38
- return;
39
- }
40
- this.checked = newChecked;
41
- }
42
- async onCheckedChange() {
43
- const radiobuttonRef = await this.inputRef.waitForCurrent();
44
- radiobuttonRef.checked = this.checked;
45
- this.updateFormInternalValue();
46
- }
47
- onValueChange() {
48
- this.valueChange.emit(this.value);
49
- }
50
- componentWillLoad() {
51
- this.updateFormInternalValue();
52
- }
53
- updateFormInternalValue() {
54
- var _a;
55
- if (this.checked) {
56
- this.formInternals.setFormValue((_a = this.value) !== null && _a !== void 0 ? _a : 'on');
57
- }
58
- else {
59
- this.formInternals.setFormValue(null);
60
- }
61
- }
62
- /** @internal */
63
- hasValidValue() {
64
- return Promise.resolve(this.checked);
65
- }
66
- /** @internal */
67
- getAssociatedFormElement() {
68
- return Promise.resolve(this.formInternals.form);
69
- }
70
- render() {
71
- return (h(Host, { key: '1916ccc12519685b9a82514a09e587a8c4ea86de', "aria-checked": `${this.checked}`, "aria-disabled": `${this.disabled}`, role: "radio", class: {
72
- disabled: this.disabled,
73
- checked: this.checked,
74
- } }, h("label", { key: '9df4ff3f53aacee27988ae0862f5714baf8b1a0b' }, h("input", { key: 'fd5bd3946aa69f37325393d1682ce6b57b5d34ab', "aria-checked": `${this.checked}`, disabled: this.disabled, checked: this.checked, ref: this.inputRef, type: "radio", onChange: () => {
75
- const ref = this.inputRef.current;
76
- this.setCheckedState(ref.checked);
77
- } }), h("button", { key: '5d0fd3b9961311d76405c6cc7f2a301befe869ba', class: {
78
- checked: this.checked,
79
- }, onClick: () => this.setCheckedState(!this.checked) }, this.checked && h("div", { key: 'a07f44e7b9df8934c0d64d435431310c6e2dc548', class: "checkmark" })), this.label, h("slot", { key: '600c31ae8b821308286b4763f818956daeca4d40' }))));
80
- }
81
- static get formAssociated() { return true; }
82
- get hostElement() { return getElement(this); }
83
- static get watchers() { return {
84
- "checked": ["onCheckedChange"],
85
- "value": ["onValueChange"]
86
- }; }
87
- };
88
- Radio.style = IxRadioStyle0;
89
-
90
- export { Radio as ix_radio };
91
-
92
- //# sourceMappingURL=ix-radio.entry.js.map
@@ -1 +0,0 @@
1
- {"file":"ix-radio.entry.js","mappings":";;;AAAA,MAAM,QAAQ,GAAG,+qkBAA+qkB,CAAC;AACjskB,sBAAe,QAAQ;;MCiCV,KAAK;;;;;;;;;;;;;;;QA0ChB,aAAQ,GAAG,KAAK,CAAC;QAET,aAAQ,GAAG,OAAO,CAAmB,CAAC,cAAc;YAC1D,cAAc,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;SACvC,CAAC,CAAC;;;;wBAxByB,KAAK;uBAK0B,KAAK;;IAqBxD,eAAe,CAAC,UAAmB;QACzC,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,OAAO;SACR;QACD,MAAM,MAAM,GAAG,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QACnD,IAAI,MAAM,CAAC,gBAAgB,EAAE;YAC3B,OAAO;SACR;QAED,IAAI,CAAC,OAAO,GAAG,UAAU,CAAC;KAC3B;IAGD,MAAM,eAAe;QACnB,MAAM,cAAc,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,cAAc,EAAE,CAAC;QAC5D,cAAc,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAEtC,IAAI,CAAC,uBAAuB,EAAE,CAAC;KAChC;IAGD,aAAa;QACX,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KACnC;IAED,iBAAiB;QACf,IAAI,CAAC,uBAAuB,EAAE,CAAC;KAChC;IAED,uBAAuB;;QACrB,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC,MAAA,IAAI,CAAC,KAAK,mCAAI,IAAI,CAAC,CAAC;SACrD;aAAM;YACL,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;SACvC;KACF;;IAID,aAAa;QACX,OAAO,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;KACtC;;IAID,wBAAwB;QACtB,OAAO,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;KACjD;IAED,MAAM;QACJ,QACE,EAAC,IAAI,qEACW,GAAG,IAAI,CAAC,OAAO,EAAE,mBAChB,GAAG,IAAI,CAAC,QAAQ,EAAE,EACjC,IAAI,EAAC,OAAO,EACZ,KAAK,EAAE;gBACL,QAAQ,EAAE,IAAI,CAAC,QAAQ;gBACvB,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,IAED,gEACE,8EACgB,GAAG,IAAI,CAAC,OAAO,EAAE,EAC/B,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,GAAG,EAAE,IAAI,CAAC,QAAQ,EAClB,IAAI,EAAC,OAAO,EACZ,QAAQ,EAAE;gBACR,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC;gBAClC,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;aACnC,GACD,EACF,+DACE,KAAK,EAAE;gBACL,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,EACD,OAAO,EAAE,MAAM,IAAI,CAAC,eAAe,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,IAEjD,IAAI,CAAC,OAAO,IAAI,4DAAK,KAAK,EAAC,WAAW,GAAO,CACvC,EACR,IAAI,CAAC,KAAK,EACX,8DAAa,CACP,CACH,EACP;KACH;;;;;;;;;;;;","names":[],"sources":["src/components/radio/radio.scss?tag=ix-radio&encapsulation=shadow","src/components/radio/radio.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 @import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n display: inline-block;\n position: relative;\n\n button {\n all: unset;\n }\n\n button {\n display: inline-flex;\n position: relative;\n\n align-items: center;\n justify-content: center;\n\n width: 1.125rem;\n min-width: 1.125rem;\n max-width: 1.125rem;\n height: 1.125rem;\n min-height: 1.125rem;\n max-height: 1.125rem;\n\n border: 1px solid white;\n border-radius: 100px;\n\n margin-right: 0.5rem;\n }\n\n button:focus-visible {\n outline: 0.0625rem solid var(--theme-color-focus-bdr);\n outline-offset: var(--theme-radiobtn--focus--outline-offset);\n }\n\n input[type=\"radio\"] {\n display: none;\n }\n\n label {\n display: flex;\n\n justify-content: flex-start;\n align-items: flex-start;\n\n width: 100%;\n height: 100%;\n }\n\n .checkmark {\n border-radius: 100px;\n background-color: var(--theme-color-primary--contrast);\n width: 0.5rem;\n height: 0.5rem;\n }\n}\n\n@mixin radio-base() {\n :host {\n button {\n background-color: var(--theme-radiobtn-unchecked--background);\n border: var(--theme-radiobtn--border-thickness) solid\n var(--theme-radiobtn-unchecked--border-color);\n }\n }\n\n :host(:hover) {\n button {\n background-color: var(--theme-radiobtn-unchecked--background--hover);\n border: var(--theme-radiobtn--border-thickness) solid\n var(--theme-radiobtn-unchecked--border-color--hover);\n }\n }\n\n :host(:active) {\n button {\n background-color: var(--theme-radiobtn-unchecked--background--active);\n border: var(--theme-radiobtn--border-thickness) solid\n var(--theme-radiobtn-unchecked--border-color--active);\n }\n }\n\n :host(.checked),\n :host([indeterminate]) {\n button {\n background-color: var(--theme-radiobtn-checked--background);\n border: var(--theme-radiobtn--border-thickness) solid\n var(--theme-radiobtn-checked--border-color);\n }\n }\n\n :host(.checked:hover),\n :host([indeterminate]:hover) {\n button {\n background-color: var(--theme-radiobtn-checked--background--hover);\n border: var(--theme-radiobtn--border-thickness) solid\n var(--theme-radiobtn-checked--border-color--hover);\n }\n }\n\n :host(.checked:active),\n :host([indeterminate]:active) {\n button {\n background-color: var(--theme-radiobtn-checked--background--active);\n border: var(--theme-radiobtn--border-thickness) solid\n var(--theme-radiobtn-checked--border-color--active);\n }\n }\n\n :host(:disabled),\n :host(.disabled) {\n pointer-events: none;\n button {\n background-color: var(--theme-radiobtn-unchecked--background--disabled);\n border: var(--theme-radiobtn--border-thickness) solid\n var(--theme-radiobtn-unchecked--border-color--disabled);\n }\n }\n\n :host(.checked:disabled),\n :host(.checked.disabled),\n :host([indeterminate]:disabled),\n :host([indeterminate].disabled) {\n button {\n background-color: var(--theme-radiobtn-checked--background--disabled);\n border: var(--theme-radiobtn--border-thickness) solid\n var(--theme-radiobtn-checked--border-color--disabled);\n }\n }\n}\n\n@mixin radio-variant($selector) {\n :host(#{$selector}:not(.disabled)) {\n button {\n @content;\n }\n }\n\n :host(#{$selector}) {\n button {\n background-color: var(--theme-radiobtn-unchecked--background);\n border: var(--theme-radiobtn--border-thickness) solid\n var(--theme-radiobtn-unchecked--border-color);\n }\n }\n\n :host(#{$selector}:hover) {\n button {\n background-color: var(--theme-radiobtn-unchecked--background--hover);\n border: var(--theme-radiobtn--border-thickness) solid\n var(--theme-radiobtn-unchecked--border-color--hover);\n }\n }\n\n :host(#{$selector}:active) {\n button {\n background-color: var(--theme-radiobtn-unchecked--background--active);\n border: var(--theme-radiobtn--border-thickness) solid\n var(--theme-radiobtn-unchecked--border-color--active);\n }\n }\n\n :host(#{$selector}.checked),\n :host(#{$selector}[indeterminate]) {\n button {\n background-color: var(--theme-radiobtn-checked--background);\n border: var(--theme-radiobtn--border-thickness) solid\n var(--theme-radiobtn-checked--border-color);\n }\n }\n\n :host(#{$selector}.checked:hover),\n :host(#{$selector}[indeterminate]:hover) {\n button {\n background-color: var(--theme-radiobtn-checked--background--hover);\n border: var(--theme-radiobtn--border-thickness) solid\n var(--theme-radiobtn-checked--border-color--hover);\n }\n }\n\n :host(#{$selector}.checked:active),\n :host(#{$selector}[indeterminate]:active) {\n button {\n background-color: var(--theme-radiobtn-checked--background--active);\n border: var(--theme-radiobtn--border-thickness) solid\n var(--theme-radiobtn-checked--border-color--active);\n }\n }\n\n :host(#{$selector}:disabled),\n :host(#{$selector}.disabled) {\n button {\n background-color: var(--theme-radiobtn-unchecked--background--disabled);\n border: var(--theme-radiobtn--border-thickness) solid\n var(--theme-radiobtn-unchecked--border-color--disabled);\n }\n }\n\n :host(#{$selector}.checked:disabled),\n :host(#{$selector}.checked.disabled),\n :host(#{$selector}[indeterminate]:disabled),\n :host(#{$selector}[indeterminate].disabled) {\n button {\n background-color: var(--theme-radiobtn-checked--background--disabled);\n border: var(--theme-radiobtn--border-thickness) solid\n var(--theme-radiobtn-checked--border-color--disabled);\n }\n }\n}\n\n@mixin define-radio-vars($state, $type) {\n --theme-radiobtn-#{$state}--background: var(--theme-radiobtn-#{$state}--background--#{$type});\n --theme-radiobtn-#{$state}--background--hover: var(--theme-radiobtn-#{$state}--background--#{$type}--hover);\n --theme-radiobtn-#{$state}--background--active: var(--theme-radiobtn-#{$state}--background--#{$type}--active);\n\n --theme-radiobtn-#{$state}--border-color: var(--theme-radiobtn-#{$state}--border-color--#{$type});\n --theme-radiobtn-#{$state}--border-color--hover: var(--theme-radiobtn-#{$state}--border-color--#{$type}--hover);\n --theme-radiobtn-#{$state}--border-color--active: var(--theme-radiobtn-#{$state}--border-color--#{$type}--active);\n}\n\n@include radio-base();\n@include radio-variant(\n $selector: '.ix-info',\n) {\n @include define-radio-vars('unchecked', 'info');\n @include define-radio-vars('checked', 'info');\n @include define-radio-vars('mixed', 'info');\n}\n\n@include radio-variant(\n $selector: '.ix-warning',\n) {\n @include define-radio-vars('unchecked', 'warning');\n @include define-radio-vars('checked', 'warning');\n @include define-radio-vars('mixed', 'warning');\n}\n\n@include radio-variant(\n $selector: '.ix-invalid--required',\n) {\n @include define-radio-vars('unchecked', 'invalid');\n @include define-radio-vars('checked', 'invalid');\n @include define-radio-vars('mixed', 'invalid');\n}\n\n@include radio-variant(\n $selector: '.ix-invalid',\n) {\n @include define-radio-vars('unchecked', 'invalid');\n @include define-radio-vars('checked', 'invalid');\n @include define-radio-vars('mixed', 'invalid');\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 AttachInternals,\n Component,\n Event,\n EventEmitter,\n Host,\n Prop,\n Watch,\n h,\n Method,\n Element,\n} from '@stencil/core';\nimport { makeRef } from '../utils/make-ref';\nimport { IxFormComponent } from '../utils/field';\n\n/**\n * @since 2.4.0\n * @form-ready 2.4.0\n */\n@Component({\n tag: 'ix-radio',\n styleUrl: 'radio.scss',\n shadow: true,\n formAssociated: true,\n})\nexport class Radio implements IxFormComponent<string> {\n @Element() hostElement!: HTMLIxRadioElement;\n @AttachInternals() formInternals!: ElementInternals;\n\n /**\n * Name of the radio component\n */\n @Prop({ reflect: true }) name?: string;\n\n /**\n * Value of the radio component\n */\n @Prop({ reflect: true }) value?: string;\n\n /**\n * Label for the radio component\n */\n @Prop() label?: string;\n\n /**\n * Disabled state of the radio component\n */\n @Prop() disabled: boolean = false;\n\n /**\n * Checked state of the radio component\n */\n @Prop({ reflect: true, mutable: true }) checked: boolean = false;\n\n /**\n * Event emitted when the checked state of the radio changes\n */\n @Event() checkedChange!: EventEmitter<boolean>;\n\n /**\n * Event emitted when the value of the radio changes\n */\n @Event() valueChange!: EventEmitter<string>;\n\n /**\n * Single radio cannot be required\n * */\n required = false;\n\n private inputRef = makeRef<HTMLInputElement>((radiobuttonRef) => {\n radiobuttonRef.checked = this.checked;\n });\n\n private setCheckedState(newChecked: boolean) {\n if (this.checked) {\n return;\n }\n const result = this.checkedChange.emit(newChecked);\n if (result.defaultPrevented) {\n return;\n }\n\n this.checked = newChecked;\n }\n\n @Watch('checked')\n async onCheckedChange() {\n const radiobuttonRef = await this.inputRef.waitForCurrent();\n radiobuttonRef.checked = this.checked;\n\n this.updateFormInternalValue();\n }\n\n @Watch('value')\n onValueChange() {\n this.valueChange.emit(this.value);\n }\n\n componentWillLoad() {\n this.updateFormInternalValue();\n }\n\n updateFormInternalValue() {\n if (this.checked) {\n this.formInternals.setFormValue(this.value ?? 'on');\n } else {\n this.formInternals.setFormValue(null);\n }\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 aria-checked={`${this.checked}`}\n aria-disabled={`${this.disabled}`}\n role=\"radio\"\n class={{\n disabled: this.disabled,\n checked: this.checked,\n }}\n >\n <label>\n <input\n aria-checked={`${this.checked}`}\n disabled={this.disabled}\n checked={this.checked}\n ref={this.inputRef}\n type=\"radio\"\n onChange={() => {\n const ref = this.inputRef.current;\n this.setCheckedState(ref.checked);\n }}\n />\n <button\n class={{\n checked: this.checked,\n }}\n onClick={() => this.setCheckedState(!this.checked)}\n >\n {this.checked && <div class=\"checkmark\"></div>}\n </button>\n {this.label}\n <slot></slot>\n </label>\n </Host>\n );\n }\n}\n"],"version":3}