@siemens/ix 0.0.0-pr-2238-20251103105018 → 0.0.0-pr-2269-20251117133306

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 (971) hide show
  1. package/components/index.js +4 -4
  2. package/components/ix-action-card.js +4 -4
  3. package/components/ix-application-header.js +263 -1
  4. package/components/ix-application-header.js.map +1 -1
  5. package/components/ix-application-sidebar.js +1 -1
  6. package/components/ix-application-switch-modal.js +8 -8
  7. package/components/ix-application.js +5 -7
  8. package/components/ix-application.js.map +1 -1
  9. package/components/ix-avatar.js +1 -1
  10. package/components/ix-blind.js +8 -8
  11. package/components/ix-breadcrumb-item.js +1 -1
  12. package/components/ix-breadcrumb.js +7 -7
  13. package/components/ix-button.js +1 -1
  14. package/components/ix-card-accordion.js +1 -1
  15. package/components/ix-card-content.js +1 -1
  16. package/components/ix-card-list.js +12 -12
  17. package/components/ix-card-title.js +1 -1
  18. package/components/ix-card.js +1 -1
  19. package/components/ix-category-filter.js +21 -15
  20. package/components/ix-category-filter.js.map +1 -1
  21. package/components/ix-checkbox-group.js +8 -8
  22. package/components/ix-checkbox.js +6 -6
  23. package/components/ix-chip.js +10 -10
  24. package/components/ix-col.js +1 -1
  25. package/components/ix-content-header.js +8 -8
  26. package/components/ix-content.js +4 -4
  27. package/components/ix-css-grid-item.js +2 -2
  28. package/components/ix-css-grid.js +2 -2
  29. package/components/ix-custom-field.js +7 -7
  30. package/components/ix-date-dropdown.js +16 -16
  31. package/components/ix-date-input.js +33 -17
  32. package/components/ix-date-input.js.map +1 -1
  33. package/components/ix-date-picker.js +1 -1
  34. package/components/ix-date-time-card.js +1 -1
  35. package/components/ix-datetime-picker.js +14 -14
  36. package/components/ix-datetime-picker.js.map +1 -1
  37. package/components/ix-divider.js +1 -1
  38. package/components/ix-drawer.js +9 -9
  39. package/components/ix-dropdown-button.js +9 -9
  40. package/components/ix-dropdown-header.js +3 -3
  41. package/components/ix-dropdown-item.js +1 -1
  42. package/components/ix-dropdown-quick-actions.js +2 -2
  43. package/components/ix-dropdown.js +1 -1
  44. package/components/ix-empty-state.js +5 -5
  45. package/components/ix-event-list-item.js +6 -6
  46. package/components/ix-event-list.js +3 -3
  47. package/components/ix-expanding-search.js +8 -8
  48. package/components/ix-field-label.js +1 -1
  49. package/components/ix-field-wrapper.js +1 -1
  50. package/components/ix-filter-chip.js +1 -1
  51. package/components/ix-flip-tile-content.js +2 -2
  52. package/components/ix-flip-tile.js +7 -7
  53. package/components/ix-group-context-menu.js +1 -1
  54. package/components/ix-group-item.js +1 -1
  55. package/components/ix-group.js +14 -14
  56. package/components/ix-helper-text.js +5 -5
  57. package/components/ix-icon-button.js +1 -1
  58. package/components/ix-icon-toggle-button.js +4 -4
  59. package/components/ix-input-group.js +2 -2
  60. package/components/ix-input.js +26 -15
  61. package/components/ix-input.js.map +1 -1
  62. package/components/ix-key-value-list.js +2 -2
  63. package/components/ix-key-value.js +2 -2
  64. package/components/ix-kpi.js +5 -5
  65. package/components/ix-layout-auto.js +2 -2
  66. package/components/ix-layout-grid.js +1 -1
  67. package/components/ix-link-button.js +5 -5
  68. package/components/ix-menu-about-item.js +2 -2
  69. package/components/ix-menu-about-news.js +10 -10
  70. package/components/ix-menu-about.js +11 -9
  71. package/components/ix-menu-about.js.map +1 -1
  72. package/components/ix-menu-avatar-item.js +1 -1
  73. package/components/ix-menu-avatar.js +12 -12
  74. package/components/ix-menu-category.js +14 -14
  75. package/components/ix-menu-expand-icon.js +1 -1
  76. package/components/ix-menu-item.js +1 -1
  77. package/components/ix-menu-settings-item.js +2 -2
  78. package/components/ix-menu-settings.js +1 -1
  79. package/components/ix-menu.js +22 -32
  80. package/components/ix-menu.js.map +1 -1
  81. package/components/ix-message-bar.js +5 -5
  82. package/components/ix-modal-content.js +1 -1
  83. package/components/ix-modal-footer.js +2 -2
  84. package/components/ix-modal-header.js +1 -1
  85. package/components/ix-modal-loading.js +3 -3
  86. package/components/ix-modal.js +5 -5
  87. package/components/ix-number-input.js +172 -39
  88. package/components/ix-number-input.js.map +1 -1
  89. package/components/ix-pagination.js +17 -17
  90. package/components/ix-pane-layout.js +2 -2
  91. package/components/ix-pane.js +11 -11
  92. package/components/ix-pill.js +7 -7
  93. package/components/ix-progress-indicator.js +7 -7
  94. package/components/ix-push-card.js +7 -7
  95. package/components/ix-radio-group.js +40 -9
  96. package/components/ix-radio-group.js.map +1 -1
  97. package/components/ix-radio.js +46 -20
  98. package/components/ix-radio.js.map +1 -1
  99. package/components/ix-row.js +1 -1
  100. package/components/ix-select-item.js +1 -1
  101. package/components/ix-select.js +1 -1
  102. package/components/ix-slider.js +10 -10
  103. package/components/ix-spinner.js +1 -1
  104. package/components/ix-split-button.js +32 -18
  105. package/components/ix-split-button.js.map +1 -1
  106. package/components/ix-tab-item.js +1 -1
  107. package/components/ix-tabs.js +1 -1
  108. package/components/ix-textarea.js +9 -9
  109. package/components/ix-tile.js +5 -5
  110. package/components/ix-time-input.js +34 -18
  111. package/components/ix-time-input.js.map +1 -1
  112. package/components/ix-time-picker.js +1 -1
  113. package/components/ix-toast-container.js +7 -7
  114. package/components/ix-toast.js +1 -1
  115. package/components/ix-toggle-button.js +3 -3
  116. package/components/ix-toggle.js +6 -6
  117. package/components/ix-toggle.js.map +1 -1
  118. package/components/ix-tooltip.js +1 -1
  119. package/components/ix-tree-item.js +1 -1
  120. package/components/ix-tree.js +3 -3
  121. package/components/ix-typography.js +1 -1
  122. package/components/ix-upload.js +7 -7
  123. package/components/ix-validation-tooltip.js +3 -3
  124. package/components/ix-workflow-step.js +5 -5
  125. package/components/ix-workflow-steps.js +2 -2
  126. package/components/{p-BccEFWg2.js → p-10zMtvCF.js} +6 -6
  127. package/components/{p-BccEFWg2.js.map → p-10zMtvCF.js.map} +1 -1
  128. package/components/{p-CkrLmEP7.js → p-1pd_0dhF.js} +4 -4
  129. package/components/{p-CkrLmEP7.js.map → p-1pd_0dhF.js.map} +1 -1
  130. package/components/{p-BNwXjBuF.js → p-B006bhbX.js} +4 -4
  131. package/components/{p-BNwXjBuF.js.map → p-B006bhbX.js.map} +1 -1
  132. package/components/{p-DOEb0lKA.js → p-B45tl2du.js} +4 -4
  133. package/components/{p-DOEb0lKA.js.map → p-B45tl2du.js.map} +1 -1
  134. package/components/{p-DgfGA7Z3.js → p-BBwXlKhE.js} +4 -4
  135. package/components/{p-DgfGA7Z3.js.map → p-BBwXlKhE.js.map} +1 -1
  136. package/components/{p-ciUqTzkB.js → p-BEDohapR.js} +6 -6
  137. package/components/{p-ciUqTzkB.js.map → p-BEDohapR.js.map} +1 -1
  138. package/components/{p-DsftMeEA.js → p-BGdI6-nv.js} +4 -4
  139. package/components/{p-DsftMeEA.js.map → p-BGdI6-nv.js.map} +1 -1
  140. package/components/{p-XiZWDi7n.js → p-BGjnKa2h.js} +4 -4
  141. package/components/{p-XiZWDi7n.js.map → p-BGjnKa2h.js.map} +1 -1
  142. package/components/{p-D1In20Wh.js → p-BI7B-PUA.js} +5 -5
  143. package/components/{p-D1In20Wh.js.map → p-BI7B-PUA.js.map} +1 -1
  144. package/components/{p-CCQYIDJK.js → p-BLeWaHpy.js} +7 -7
  145. package/components/{p-CCQYIDJK.js.map → p-BLeWaHpy.js.map} +1 -1
  146. package/components/{p-CO2zhw6V.js → p-BQk7HpA-.js} +3 -3
  147. package/components/{p-CO2zhw6V.js.map → p-BQk7HpA-.js.map} +1 -1
  148. package/components/{p-CtusOOtv.js → p-BR5ayBuu.js} +6 -6
  149. package/components/{p-CtusOOtv.js.map → p-BR5ayBuu.js.map} +1 -1
  150. package/components/{p-VMk3rl5y.js → p-BVUD9f4A.js} +9 -9
  151. package/components/{p-VMk3rl5y.js.map → p-BVUD9f4A.js.map} +1 -1
  152. package/components/{p-DBsESzrF.js → p-BZLbfHdO.js} +70 -29
  153. package/components/p-BZLbfHdO.js.map +1 -0
  154. package/components/{p--2LOMK-5.js → p-BhgW5qDm.js} +2 -3
  155. package/components/p-BhgW5qDm.js.map +1 -0
  156. package/components/{p-BxNzvWr2.js → p-Bk0vKwmt.js} +5 -5
  157. package/components/{p-BxNzvWr2.js.map → p-Bk0vKwmt.js.map} +1 -1
  158. package/components/{p-Bvf7gwPU.js → p-BrYfZ-wy.js} +63 -42
  159. package/components/p-BrYfZ-wy.js.map +1 -0
  160. package/components/{p-taILGXkr.js → p-BvsadYCu.js} +3 -3
  161. package/components/{p-taILGXkr.js.map → p-BvsadYCu.js.map} +1 -1
  162. package/components/{p-BEzKnceP.js → p-Bye33cYU.js} +9 -9
  163. package/components/{p-BEzKnceP.js.map → p-Bye33cYU.js.map} +1 -1
  164. package/components/{p-DrH8EeUB.js → p-Bz7hxKB6.js} +6 -6
  165. package/components/{p-DrH8EeUB.js.map → p-Bz7hxKB6.js.map} +1 -1
  166. package/components/{p-BvKUU6Ta.js → p-C4KxNeD2.js} +4 -4
  167. package/components/{p-BvKUU6Ta.js.map → p-C4KxNeD2.js.map} +1 -1
  168. package/components/{p-Qsbo2ls8.js → p-C6_1qmP4.js} +5 -5
  169. package/components/{p-Qsbo2ls8.js.map → p-C6_1qmP4.js.map} +1 -1
  170. package/components/{p-CQhe_rqk.js → p-COWPG_SD.js} +6 -6
  171. package/components/p-COWPG_SD.js.map +1 -0
  172. package/components/{p-CFAI8dx_.js → p-CV_EVAOW.js} +3 -3
  173. package/components/{p-CFAI8dx_.js.map → p-CV_EVAOW.js.map} +1 -1
  174. package/components/{p-BaWdG-ph.js → p-Cc4uqNv5.js} +20 -13
  175. package/components/p-Cc4uqNv5.js.map +1 -0
  176. package/components/{p-DLPEB4G8.js → p-CcWC2eNL.js} +63 -42
  177. package/components/p-CcWC2eNL.js.map +1 -0
  178. package/components/{p-DeBhxnHo.js → p-ClQxnZ3d.js} +8 -8
  179. package/components/{p-DeBhxnHo.js.map → p-ClQxnZ3d.js.map} +1 -1
  180. package/components/{p-DcjRXRwg.js → p-ColBHyXN.js} +7 -7
  181. package/components/{p-DcjRXRwg.js.map → p-ColBHyXN.js.map} +1 -1
  182. package/components/{p-0MSWDTqB.js → p-CrqgL2m1.js} +10 -6
  183. package/components/p-CrqgL2m1.js.map +1 -0
  184. package/components/{p-By1IU8iL.js → p-CvD2yWeJ.js} +5 -5
  185. package/components/{p-By1IU8iL.js.map → p-CvD2yWeJ.js.map} +1 -1
  186. package/components/{p-fahyavc3.js → p-CvF96Z51.js} +8 -8
  187. package/components/{p-fahyavc3.js.map → p-CvF96Z51.js.map} +1 -1
  188. package/components/{p-CKuNFgoe.js → p-D-__gyet.js} +3 -3
  189. package/components/{p-CKuNFgoe.js.map → p-D-__gyet.js.map} +1 -1
  190. package/components/{p-cw5RHost.js → p-DC9anobw.js} +8 -8
  191. package/components/{p-cw5RHost.js.map → p-DC9anobw.js.map} +1 -1
  192. package/components/{p-CHAuj3bi.js → p-DSTHZygb.js} +10 -10
  193. package/components/{p-CHAuj3bi.js.map → p-DSTHZygb.js.map} +1 -1
  194. package/components/{p-IgT3dgxG.js → p-DXFN8JXp.js} +21 -10
  195. package/components/p-DXFN8JXp.js.map +1 -0
  196. package/components/{p-JUUSQc_M.js → p-D_4Mf9jE.js} +3 -3
  197. package/components/{p-JUUSQc_M.js.map → p-D_4Mf9jE.js.map} +1 -1
  198. package/components/{p-BWTF-D2w.js → p-Db0RazS2.js} +4 -4
  199. package/components/{p-BWTF-D2w.js.map → p-Db0RazS2.js.map} +1 -1
  200. package/components/{p-W_8b1-4d.js → p-DdLose3V.js} +3 -3
  201. package/components/{p-W_8b1-4d.js.map → p-DdLose3V.js.map} +1 -1
  202. package/components/{p-DzscKBhb.js → p-DlVaL0Yi.js} +9 -9
  203. package/components/{p-DzscKBhb.js.map → p-DlVaL0Yi.js.map} +1 -1
  204. package/components/{p-CJphMgA7.js → p-Dp03DeD0.js} +7 -7
  205. package/components/{p-CJphMgA7.js.map → p-Dp03DeD0.js.map} +1 -1
  206. package/components/{p-jbrSDf3o.js → p-Dy6xvLn4.js} +5 -5
  207. package/components/{p-jbrSDf3o.js.map → p-Dy6xvLn4.js.map} +1 -1
  208. package/components/{p-BUIOrNGz.js → p-DyGPjxFm.js} +6 -6
  209. package/components/{p-BUIOrNGz.js.map → p-DyGPjxFm.js.map} +1 -1
  210. package/components/{p-FnN74Elm.js → p-MuPiaYr1.js} +3 -3
  211. package/components/{p-FnN74Elm.js.map → p-MuPiaYr1.js.map} +1 -1
  212. package/components/{p-CINrBR9H.js → p-N4h8LKe5.js} +4 -4
  213. package/components/{p-CINrBR9H.js.map → p-N4h8LKe5.js.map} +1 -1
  214. package/components/{p-D_rmJU0n.js → p-PF0VLH1Q.js} +16 -16
  215. package/components/p-PF0VLH1Q.js.map +1 -0
  216. package/components/{p-C6MbjoUl.js → p-PpLLlogo.js} +8 -8
  217. package/components/{p-C6MbjoUl.js.map → p-PpLLlogo.js.map} +1 -1
  218. package/components/{p-xZXH2vKm.js → p-hwPzPVf8.js} +5 -5
  219. package/components/{p-xZXH2vKm.js.map → p-hwPzPVf8.js.map} +1 -1
  220. package/components/{p-2fxFa_VL.js → p-xHo-3QVy.js} +3 -3
  221. package/components/{p-2fxFa_VL.js.map → p-xHo-3QVy.js.map} +1 -1
  222. package/dist/cjs/{context-B8bRIFA2.js → context-CmNuiaNz.js} +2 -3
  223. package/dist/{esm/context-CKM5pVsv.js.map → cjs/context-CmNuiaNz.js.map} +1 -1
  224. package/dist/cjs/{helper-text-util-BlElJLxk.js → helper-text-util-D2W-yNmK.js} +8 -4
  225. package/dist/cjs/helper-text-util-D2W-yNmK.js.map +1 -0
  226. package/dist/cjs/index-C8Xo8L1k.js +6 -18
  227. package/dist/cjs/{input.util-4AhBphgX.js → input.fc-BzxtQeW-.js} +61 -39
  228. package/dist/cjs/input.fc-BzxtQeW-.js.map +1 -0
  229. package/dist/cjs/ix-application-header.cjs.entry.js +10 -15
  230. package/dist/cjs/ix-application-header.entry.cjs.js.map +1 -1
  231. package/dist/cjs/ix-application.cjs.entry.js +4 -6
  232. package/dist/cjs/ix-application.entry.cjs.js.map +1 -1
  233. package/dist/cjs/ix-avatar_2.cjs.entry.js +1 -1
  234. package/dist/cjs/ix-blind.cjs.entry.js +5 -5
  235. package/dist/cjs/ix-breadcrumb.cjs.entry.js +2 -2
  236. package/dist/cjs/ix-card-accordion_2.cjs.entry.js +5 -5
  237. package/dist/cjs/ix-card-list.cjs.entry.js +4 -4
  238. package/dist/cjs/ix-card_2.cjs.entry.js +3 -3
  239. package/dist/cjs/ix-category-filter.cjs.entry.js +14 -8
  240. package/dist/cjs/ix-category-filter.entry.cjs.js.map +1 -1
  241. package/dist/cjs/ix-checkbox-group.cjs.entry.js +2 -2
  242. package/dist/cjs/ix-checkbox.cjs.entry.js +3 -3
  243. package/dist/cjs/ix-chip.cjs.entry.js +4 -4
  244. package/dist/cjs/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.cjs.js.map +1 -1
  245. package/dist/cjs/ix-col_4.cjs.entry.js +10 -10
  246. package/dist/cjs/ix-content-header.cjs.entry.js +3 -3
  247. package/dist/cjs/ix-content.cjs.entry.js +3 -3
  248. package/dist/cjs/ix-css-grid-item.cjs.entry.js +1 -1
  249. package/dist/cjs/ix-css-grid.cjs.entry.js +1 -1
  250. package/dist/cjs/ix-custom-field.cjs.entry.js +1 -1
  251. package/dist/cjs/ix-date-dropdown.cjs.entry.js +4 -4
  252. package/dist/cjs/ix-date-input.cjs.entry.js +22 -8
  253. package/dist/cjs/ix-date-input.entry.cjs.js.map +1 -1
  254. package/dist/cjs/ix-date-time-card.cjs.entry.js +3 -3
  255. package/dist/cjs/ix-date-time-card.entry.cjs.js.map +1 -1
  256. package/dist/cjs/ix-datetime-picker.cjs.entry.js +2 -2
  257. package/dist/cjs/ix-datetime-picker.entry.cjs.js.map +1 -1
  258. package/dist/cjs/ix-divider.cjs.entry.js +1 -1
  259. package/dist/cjs/ix-drawer.cjs.entry.js +5 -5
  260. package/dist/cjs/ix-dropdown-button.cjs.entry.js +3 -3
  261. package/dist/cjs/ix-dropdown-header.cjs.entry.js +1 -1
  262. package/dist/cjs/ix-dropdown-item.cjs.entry.js +3 -3
  263. package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +1 -1
  264. package/dist/cjs/ix-dropdown.cjs.entry.js +2 -2
  265. package/dist/cjs/ix-empty-state.cjs.entry.js +1 -1
  266. package/dist/cjs/ix-event-list-item.cjs.entry.js +4 -4
  267. package/dist/cjs/ix-event-list.cjs.entry.js +2 -2
  268. package/dist/cjs/ix-expanding-search.cjs.entry.js +4 -4
  269. package/dist/cjs/ix-field-label_2.cjs.entry.js +4 -4
  270. package/dist/cjs/ix-filter-chip_2.cjs.entry.js +2 -2
  271. package/dist/cjs/ix-flip-tile-content.cjs.entry.js +1 -1
  272. package/dist/cjs/ix-flip-tile.cjs.entry.js +3 -3
  273. package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +1 -1
  274. package/dist/cjs/ix-group.cjs.entry.js +8 -8
  275. package/dist/cjs/ix-helper-text.cjs.entry.js +2 -2
  276. package/dist/cjs/ix-icon-button_2.cjs.entry.js +2 -2
  277. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +1 -1
  278. package/dist/cjs/ix-input-group.cjs.entry.js +1 -1
  279. package/dist/cjs/ix-input.cjs.entry.js +20 -11
  280. package/dist/cjs/ix-input.entry.cjs.js.map +1 -1
  281. package/dist/cjs/ix-key-value-list.cjs.entry.js +1 -1
  282. package/dist/cjs/ix-key-value.cjs.entry.js +1 -1
  283. package/dist/cjs/ix-kpi.cjs.entry.js +3 -3
  284. package/dist/cjs/ix-layout-auto.cjs.entry.js +1 -1
  285. package/dist/cjs/ix-link-button.cjs.entry.js +3 -3
  286. package/dist/cjs/ix-menu-about-item.cjs.entry.js +1 -1
  287. package/dist/cjs/ix-menu-about-news.cjs.entry.js +4 -4
  288. package/dist/cjs/ix-menu-about.cjs.entry.js +6 -4
  289. package/dist/cjs/ix-menu-about.entry.cjs.js.map +1 -1
  290. package/dist/cjs/ix-menu-avatar.cjs.entry.js +2 -2
  291. package/dist/cjs/ix-menu-category.cjs.entry.js +6 -6
  292. package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +1 -1
  293. package/dist/cjs/ix-menu-item.cjs.entry.js +4 -4
  294. package/dist/cjs/{ix-menu-settings-Cdqo0r8E.js → ix-menu-settings-CtWl0bME.js} +14 -7
  295. package/dist/cjs/ix-menu-settings-CtWl0bME.js.map +1 -0
  296. package/dist/cjs/ix-menu-settings-item.cjs.entry.js +1 -1
  297. package/dist/cjs/ix-menu-settings.cjs.entry.js +1 -1
  298. package/dist/cjs/ix-menu.cjs.entry.js +13 -23
  299. package/dist/cjs/ix-menu.entry.cjs.js.map +1 -1
  300. package/dist/cjs/ix-message-bar.cjs.entry.js +1 -1
  301. package/dist/cjs/ix-modal-content_2.cjs.entry.js +2 -2
  302. package/dist/cjs/ix-modal-footer.cjs.entry.js +1 -1
  303. package/dist/cjs/ix-modal-loading.cjs.entry.js +1 -1
  304. package/dist/cjs/ix-modal.cjs.entry.js +3 -3
  305. package/dist/cjs/ix-number-input.cjs.entry.js +161 -33
  306. package/dist/cjs/ix-number-input.entry.cjs.js.map +1 -1
  307. package/dist/cjs/ix-pagination.cjs.entry.js +3 -3
  308. package/dist/cjs/ix-pane-layout.cjs.entry.js +1 -1
  309. package/dist/cjs/ix-pane.cjs.entry.js +6 -6
  310. package/dist/cjs/ix-pill.cjs.entry.js +4 -4
  311. package/dist/cjs/ix-progress-indicator.cjs.entry.js +3 -3
  312. package/dist/cjs/ix-push-card.cjs.entry.js +1 -1
  313. package/dist/cjs/ix-radio-group.cjs.entry.js +32 -2
  314. package/dist/cjs/ix-radio-group.entry.cjs.js.map +1 -1
  315. package/dist/cjs/ix-radio.cjs.entry.js +43 -18
  316. package/dist/cjs/ix-radio.entry.cjs.js.map +1 -1
  317. package/dist/cjs/ix-select.cjs.entry.js +52 -13
  318. package/dist/cjs/ix-select.entry.cjs.js.map +1 -1
  319. package/dist/cjs/ix-slider.cjs.entry.js +6 -6
  320. package/dist/cjs/ix-split-button.cjs.entry.js +24 -12
  321. package/dist/cjs/ix-split-button.entry.cjs.js.map +1 -1
  322. package/dist/cjs/ix-tab-item_2.cjs.entry.js +5 -5
  323. package/dist/cjs/ix-textarea.cjs.entry.js +5 -5
  324. package/dist/cjs/ix-textarea.entry.cjs.js.map +1 -1
  325. package/dist/cjs/ix-tile.cjs.entry.js +4 -4
  326. package/dist/cjs/ix-time-input.cjs.entry.js +22 -8
  327. package/dist/cjs/ix-time-input.entry.cjs.js.map +1 -1
  328. package/dist/cjs/ix-time-picker.cjs.entry.js +55 -34
  329. package/dist/cjs/ix-time-picker.entry.cjs.js.map +1 -1
  330. package/dist/cjs/ix-toast-container.cjs.entry.js +2 -2
  331. package/dist/cjs/ix-toast.cjs.entry.js +2 -2
  332. package/dist/cjs/ix-toggle.cjs.entry.js +3 -3
  333. package/dist/cjs/ix-toggle.entry.cjs.js.map +1 -1
  334. package/dist/cjs/ix-tooltip.cjs.entry.js +17 -6
  335. package/dist/cjs/ix-tooltip.entry.cjs.js.map +1 -1
  336. package/dist/cjs/ix-tree-item.cjs.entry.js +4 -4
  337. package/dist/cjs/ix-tree.cjs.entry.js +1 -1
  338. package/dist/cjs/ix-typography.cjs.entry.js +1 -1
  339. package/dist/cjs/ix-upload.cjs.entry.js +3 -3
  340. package/dist/cjs/ix-validation-tooltip.cjs.entry.js +2 -2
  341. package/dist/cjs/ix-workflow-step.cjs.entry.js +3 -3
  342. package/dist/cjs/ix-workflow-steps.cjs.entry.js +1 -1
  343. package/dist/cjs/loader.cjs.js +1 -1
  344. package/dist/cjs/siemens-ix.cjs.js +1 -1
  345. package/dist/collection/collection-manifest.json +0 -3
  346. package/dist/collection/components/application/application.js +3 -5
  347. package/dist/collection/components/application/application.js.map +1 -1
  348. package/dist/collection/components/application-header/application-header.js +9 -14
  349. package/dist/collection/components/application-header/application-header.js.map +1 -1
  350. package/dist/collection/components/blind/blind.js +5 -5
  351. package/dist/collection/components/breadcrumb/breadcrumb.js +2 -2
  352. package/dist/collection/components/card/card.js +2 -2
  353. package/dist/collection/components/card-accordion/card-accordion.js +4 -4
  354. package/dist/collection/components/card-content/card-content.js +1 -1
  355. package/dist/collection/components/card-list/card-list.js +4 -4
  356. package/dist/collection/components/card-title/card-title.js +1 -1
  357. package/dist/collection/components/category-filter/category-filter.css +321 -50
  358. package/dist/collection/components/category-filter/category-filter.js +13 -7
  359. package/dist/collection/components/category-filter/category-filter.js.map +1 -1
  360. package/dist/collection/components/checkbox/checkbox.js +3 -3
  361. package/dist/collection/components/checkbox-group/checkbox-group.js +2 -2
  362. package/dist/collection/components/chip/chip.js +4 -4
  363. package/dist/collection/components/col/col.js +1 -1
  364. package/dist/collection/components/content/content.js +3 -3
  365. package/dist/collection/components/content-header/content-header.js +3 -3
  366. package/dist/collection/components/css-grid/css-grid-item.js +1 -1
  367. package/dist/collection/components/css-grid/css-grid.js +1 -1
  368. package/dist/collection/components/custom-field/custom-field.js +1 -1
  369. package/dist/collection/components/date-dropdown/date-dropdown.js +4 -4
  370. package/dist/collection/components/date-input/date-input.js +58 -4
  371. package/dist/collection/components/date-input/date-input.js.map +1 -1
  372. package/dist/collection/components/date-picker/date-picker.css +5 -8
  373. package/dist/collection/components/date-picker/date-picker.js +5 -5
  374. package/dist/collection/components/date-picker/date-picker.js.map +1 -1
  375. package/dist/collection/components/date-time-card/date-time-card.css +3 -2
  376. package/dist/collection/components/date-time-card/date-time-card.js +2 -2
  377. package/dist/collection/components/datetime-picker/datetime-picker.css +7 -1
  378. package/dist/collection/components/datetime-picker/datetime-picker.js +1 -1
  379. package/dist/collection/components/datetime-picker/datetime-picker.js.map +1 -1
  380. package/dist/collection/components/divider/divider.js +1 -1
  381. package/dist/collection/components/drawer/drawer.js +5 -5
  382. package/dist/collection/components/dropdown/dropdown.js +2 -2
  383. package/dist/collection/components/dropdown-button/dropdown-button.js +3 -3
  384. package/dist/collection/components/dropdown-header/dropdown-header.js +1 -1
  385. package/dist/collection/components/dropdown-item/dropdown-item.js +3 -3
  386. package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js +1 -1
  387. package/dist/collection/components/empty-state/empty-state.js +1 -1
  388. package/dist/collection/components/event-list/event-list.js +2 -2
  389. package/dist/collection/components/event-list-item/event-list-item.js +4 -4
  390. package/dist/collection/components/expanding-search/expanding-search.js +4 -4
  391. package/dist/collection/components/field-label/field-label.js +1 -1
  392. package/dist/collection/components/field-wrapper/field-wrapper.js +2 -2
  393. package/dist/collection/components/field-wrapper/helper-text-util.js +6 -2
  394. package/dist/collection/components/field-wrapper/helper-text-util.js.map +1 -1
  395. package/dist/collection/components/filter-chip/filter-chip.js +1 -1
  396. package/dist/collection/components/flip-tile/flip-tile.js +3 -3
  397. package/dist/collection/components/flip-tile-content/flip-tile-content.js +1 -1
  398. package/dist/collection/components/group/group-context-menu.js +1 -1
  399. package/dist/collection/components/group/group.js +8 -8
  400. package/dist/collection/components/helper-text/helper-text.js +1 -1
  401. package/dist/collection/components/icon-button/icon-button.js +1 -1
  402. package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +1 -1
  403. package/dist/collection/components/input/input.fc.js +10 -1
  404. package/dist/collection/components/input/input.fc.js.map +1 -1
  405. package/dist/collection/components/input/input.js +54 -5
  406. package/dist/collection/components/input/input.js.map +1 -1
  407. package/dist/collection/components/input/input.util.js +13 -0
  408. package/dist/collection/components/input/input.util.js.map +1 -1
  409. package/dist/collection/components/input/number-input.js +228 -36
  410. package/dist/collection/components/input/number-input.js.map +1 -1
  411. package/dist/collection/components/input/textarea.js +2 -2
  412. package/dist/collection/components/input-group/input-group.js +1 -1
  413. package/dist/collection/components/key-value/key-value.js +1 -1
  414. package/dist/collection/components/key-value-list/key-value-list.js +1 -1
  415. package/dist/collection/components/kpi/kpi.js +3 -3
  416. package/dist/collection/components/layout-auto/layout-auto.js +1 -1
  417. package/dist/collection/components/layout-grid/layout-grid.js +2 -2
  418. package/dist/collection/components/link-button/link-button.js +3 -3
  419. package/dist/collection/components/menu/menu-expand-icon.js +1 -1
  420. package/dist/collection/components/menu/menu.js +12 -22
  421. package/dist/collection/components/menu/menu.js.map +1 -1
  422. package/dist/collection/components/menu-about/menu-about.js +6 -4
  423. package/dist/collection/components/menu-about/menu-about.js.map +1 -1
  424. package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
  425. package/dist/collection/components/menu-about-news/menu-about-news.js +4 -4
  426. package/dist/collection/components/menu-avatar/menu-avatar.js +2 -2
  427. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
  428. package/dist/collection/components/menu-category/menu-category.js +5 -5
  429. package/dist/collection/components/menu-item/menu-item.js +4 -4
  430. package/dist/collection/components/menu-settings/menu-settings.js +6 -4
  431. package/dist/collection/components/menu-settings/menu-settings.js.map +1 -1
  432. package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
  433. package/dist/collection/components/message-bar/message-bar.js +1 -1
  434. package/dist/collection/components/modal/modal.js +3 -3
  435. package/dist/collection/components/modal-content/modal-content.js +1 -1
  436. package/dist/collection/components/modal-footer/modal-footer.js +1 -1
  437. package/dist/collection/components/modal-header/modal-header.js +1 -1
  438. package/dist/collection/components/modal-loading/modal-loading.js +1 -1
  439. package/dist/collection/components/pagination/pagination.js +3 -3
  440. package/dist/collection/components/pane/pane.js +6 -6
  441. package/dist/collection/components/pane-layout/pane-layout.js +1 -1
  442. package/dist/collection/components/pill/pill.js +4 -4
  443. package/dist/collection/components/progress-indicator/progress-indicator.js +3 -3
  444. package/dist/collection/components/push-card/push-card.js +1 -1
  445. package/dist/collection/components/radio/radio.css +70 -72
  446. package/dist/collection/components/radio/radio.js +69 -18
  447. package/dist/collection/components/radio/radio.js.map +1 -1
  448. package/dist/collection/components/radio-group/radio-group.js +64 -2
  449. package/dist/collection/components/radio-group/radio-group.js.map +1 -1
  450. package/dist/collection/components/row/row.js +1 -1
  451. package/dist/collection/components/select/select.js +94 -14
  452. package/dist/collection/components/select/select.js.map +1 -1
  453. package/dist/collection/components/select-item/select-item.js +1 -1
  454. package/dist/collection/components/slider/slider.js +6 -6
  455. package/dist/collection/components/spinner/spinner.js +1 -1
  456. package/dist/collection/components/split-button/split-button.js +70 -12
  457. package/dist/collection/components/split-button/split-button.js.map +1 -1
  458. package/dist/collection/components/tab-item/tab-item.js +3 -3
  459. package/dist/collection/components/tabs/tabs.js +2 -2
  460. package/dist/collection/components/tile/tile.js +4 -4
  461. package/dist/collection/components/time-input/time-input.js +59 -5
  462. package/dist/collection/components/time-input/time-input.js.map +1 -1
  463. package/dist/collection/components/time-picker/time-picker.css +19 -51
  464. package/dist/collection/components/time-picker/time-picker.js +57 -37
  465. package/dist/collection/components/time-picker/time-picker.js.map +1 -1
  466. package/dist/collection/components/time-picker/time-picker.types.js.map +1 -1
  467. package/dist/collection/components/toast/toast-container.js +2 -2
  468. package/dist/collection/components/toast/toast.js +2 -2
  469. package/dist/collection/components/toggle/toggle.js +3 -3
  470. package/dist/collection/components/toggle/toggle.js.map +1 -1
  471. package/dist/collection/components/tooltip/tooltip.css +2 -3
  472. package/dist/collection/components/tooltip/tooltip.js +17 -6
  473. package/dist/collection/components/tooltip/tooltip.js.map +1 -1
  474. package/dist/collection/components/tree/tree.js +1 -1
  475. package/dist/collection/components/tree-item/tree-item.js +4 -4
  476. package/dist/collection/components/typography/typography.js +1 -1
  477. package/dist/collection/components/upload/upload.js +3 -3
  478. package/dist/collection/components/utils/application-layout/context.js +0 -1
  479. package/dist/collection/components/utils/application-layout/context.js.map +1 -1
  480. package/dist/collection/components/utils/menu-tabs/menu-tabs-utils.js +6 -1
  481. package/dist/collection/components/utils/menu-tabs/menu-tabs-utils.js.map +1 -1
  482. package/dist/collection/components/validation-tooltip/validation-tooltip.js +2 -2
  483. package/dist/collection/components/workflow-step/workflow-step.js +3 -3
  484. package/dist/collection/components/workflow-steps/workflow-steps.js +1 -1
  485. package/dist/esm/{context-CKM5pVsv.js → context-BniHpAE1.js} +2 -3
  486. package/dist/{cjs/context-B8bRIFA2.js.map → esm/context-BniHpAE1.js.map} +1 -1
  487. package/dist/esm/{helper-text-util-rnbkuaac.js → helper-text-util-gKdL-wH2.js} +9 -5
  488. package/dist/esm/helper-text-util-gKdL-wH2.js.map +1 -0
  489. package/dist/esm/{index-Cz75KU1f.js → index-8HpPmDK_.js} +3 -3
  490. package/dist/esm/{index-Cz75KU1f.js.map → index-8HpPmDK_.js.map} +1 -1
  491. package/dist/esm/index-CtoreFVF.js +6 -18
  492. package/dist/esm/{index--ZIr3Aqz.js → index-Kp5Wf9wr.js} +3 -3
  493. package/dist/esm/{index--ZIr3Aqz.js.map → index-Kp5Wf9wr.js.map} +1 -1
  494. package/dist/esm/index.js +3 -3
  495. package/dist/esm/{input.util-VHrSuCP7.js → input.fc-DQBMrK9J.js} +61 -40
  496. package/dist/esm/input.fc-DQBMrK9J.js.map +1 -0
  497. package/dist/esm/ix-application-header.entry.js +13 -18
  498. package/dist/esm/ix-application-header.entry.js.map +1 -1
  499. package/dist/esm/ix-application-switch-modal.entry.js +2 -2
  500. package/dist/esm/ix-application.entry.js +4 -6
  501. package/dist/esm/ix-application.entry.js.map +1 -1
  502. package/dist/esm/ix-avatar_2.entry.js +1 -1
  503. package/dist/esm/ix-blind.entry.js +6 -6
  504. package/dist/esm/ix-breadcrumb-item.entry.js +1 -1
  505. package/dist/esm/ix-breadcrumb.entry.js +2 -2
  506. package/dist/esm/ix-card-accordion_2.entry.js +6 -6
  507. package/dist/esm/ix-card-list.entry.js +5 -5
  508. package/dist/esm/ix-card_2.entry.js +3 -3
  509. package/dist/esm/ix-category-filter.entry.js +15 -9
  510. package/dist/esm/ix-category-filter.entry.js.map +1 -1
  511. package/dist/esm/ix-checkbox-group.entry.js +2 -2
  512. package/dist/esm/ix-checkbox.entry.js +3 -3
  513. package/dist/esm/ix-chip.entry.js +5 -5
  514. package/dist/esm/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.js.map +1 -1
  515. package/dist/esm/ix-col_4.entry.js +11 -11
  516. package/dist/esm/ix-content-header.entry.js +4 -4
  517. package/dist/esm/ix-content.entry.js +3 -3
  518. package/dist/esm/ix-css-grid-item.entry.js +1 -1
  519. package/dist/esm/ix-css-grid.entry.js +1 -1
  520. package/dist/esm/ix-custom-field.entry.js +1 -1
  521. package/dist/esm/ix-date-dropdown.entry.js +5 -5
  522. package/dist/esm/ix-date-input.entry.js +19 -5
  523. package/dist/esm/ix-date-input.entry.js.map +1 -1
  524. package/dist/esm/ix-date-time-card.entry.js +3 -3
  525. package/dist/esm/ix-date-time-card.entry.js.map +1 -1
  526. package/dist/esm/ix-datetime-picker.entry.js +2 -2
  527. package/dist/esm/ix-datetime-picker.entry.js.map +1 -1
  528. package/dist/esm/ix-divider.entry.js +1 -1
  529. package/dist/esm/ix-drawer.entry.js +6 -6
  530. package/dist/esm/ix-dropdown-button.entry.js +4 -4
  531. package/dist/esm/ix-dropdown-header.entry.js +1 -1
  532. package/dist/esm/ix-dropdown-item.entry.js +4 -4
  533. package/dist/esm/ix-dropdown-quick-actions.entry.js +1 -1
  534. package/dist/esm/ix-dropdown.entry.js +2 -2
  535. package/dist/esm/ix-empty-state.entry.js +1 -1
  536. package/dist/esm/ix-event-list-item.entry.js +5 -5
  537. package/dist/esm/ix-event-list.entry.js +2 -2
  538. package/dist/esm/ix-expanding-search.entry.js +5 -5
  539. package/dist/esm/ix-field-label_2.entry.js +5 -5
  540. package/dist/esm/ix-filter-chip_2.entry.js +3 -3
  541. package/dist/esm/ix-flip-tile-content.entry.js +1 -1
  542. package/dist/esm/ix-flip-tile.entry.js +4 -4
  543. package/dist/esm/ix-group-context-menu_2.entry.js +2 -2
  544. package/dist/esm/ix-group.entry.js +9 -9
  545. package/dist/esm/ix-helper-text.entry.js +3 -3
  546. package/dist/esm/ix-icon-button_2.entry.js +2 -2
  547. package/dist/esm/ix-icon-toggle-button.entry.js +1 -1
  548. package/dist/esm/ix-input-group.entry.js +1 -1
  549. package/dist/esm/ix-input.entry.js +16 -7
  550. package/dist/esm/ix-input.entry.js.map +1 -1
  551. package/dist/esm/ix-key-value-list.entry.js +1 -1
  552. package/dist/esm/ix-key-value.entry.js +1 -1
  553. package/dist/esm/ix-kpi.entry.js +4 -4
  554. package/dist/esm/ix-layout-auto.entry.js +1 -1
  555. package/dist/esm/ix-link-button.entry.js +4 -4
  556. package/dist/esm/ix-menu-about-item.entry.js +1 -1
  557. package/dist/esm/ix-menu-about-news.entry.js +5 -5
  558. package/dist/esm/ix-menu-about.entry.js +7 -5
  559. package/dist/esm/ix-menu-about.entry.js.map +1 -1
  560. package/dist/esm/ix-menu-avatar.entry.js +3 -3
  561. package/dist/esm/ix-menu-category.entry.js +7 -7
  562. package/dist/esm/ix-menu-expand-icon.entry.js +2 -2
  563. package/dist/esm/ix-menu-item.entry.js +5 -5
  564. package/dist/esm/{ix-menu-settings-DRSkDgox.js → ix-menu-settings-f9o5GGw5.js} +15 -8
  565. package/dist/esm/ix-menu-settings-f9o5GGw5.js.map +1 -0
  566. package/dist/esm/ix-menu-settings-item.entry.js +1 -1
  567. package/dist/esm/ix-menu-settings.entry.js +2 -2
  568. package/dist/esm/ix-menu.entry.js +16 -26
  569. package/dist/esm/ix-menu.entry.js.map +1 -1
  570. package/dist/esm/ix-message-bar.entry.js +2 -2
  571. package/dist/esm/ix-modal-content_2.entry.js +3 -3
  572. package/dist/esm/ix-modal-footer.entry.js +1 -1
  573. package/dist/esm/ix-modal-loading.entry.js +1 -1
  574. package/dist/esm/ix-modal.entry.js +3 -3
  575. package/dist/esm/ix-number-input.entry.js +159 -31
  576. package/dist/esm/ix-number-input.entry.js.map +1 -1
  577. package/dist/esm/ix-pagination.entry.js +4 -4
  578. package/dist/esm/ix-pane-layout.entry.js +1 -1
  579. package/dist/esm/ix-pane.entry.js +7 -7
  580. package/dist/esm/ix-pill.entry.js +4 -4
  581. package/dist/esm/ix-progress-indicator.entry.js +4 -4
  582. package/dist/esm/ix-push-card.entry.js +1 -1
  583. package/dist/esm/ix-radio-group.entry.js +32 -2
  584. package/dist/esm/ix-radio-group.entry.js.map +1 -1
  585. package/dist/esm/ix-radio.entry.js +43 -18
  586. package/dist/esm/ix-radio.entry.js.map +1 -1
  587. package/dist/esm/ix-select.entry.js +53 -14
  588. package/dist/esm/ix-select.entry.js.map +1 -1
  589. package/dist/esm/ix-slider.entry.js +6 -6
  590. package/dist/esm/ix-split-button.entry.js +25 -13
  591. package/dist/esm/ix-split-button.entry.js.map +1 -1
  592. package/dist/esm/ix-tab-item_2.entry.js +6 -6
  593. package/dist/esm/ix-textarea.entry.js +3 -3
  594. package/dist/esm/ix-tile.entry.js +4 -4
  595. package/dist/esm/ix-time-input.entry.js +20 -6
  596. package/dist/esm/ix-time-input.entry.js.map +1 -1
  597. package/dist/esm/ix-time-picker.entry.js +55 -34
  598. package/dist/esm/ix-time-picker.entry.js.map +1 -1
  599. package/dist/esm/ix-toast-container.entry.js +2 -2
  600. package/dist/esm/ix-toast.entry.js +3 -3
  601. package/dist/esm/ix-toggle.entry.js +3 -3
  602. package/dist/esm/ix-toggle.entry.js.map +1 -1
  603. package/dist/esm/ix-tooltip.entry.js +17 -6
  604. package/dist/esm/ix-tooltip.entry.js.map +1 -1
  605. package/dist/esm/ix-tree-item.entry.js +5 -5
  606. package/dist/esm/ix-tree.entry.js +1 -1
  607. package/dist/esm/ix-typography.entry.js +1 -1
  608. package/dist/esm/ix-upload.entry.js +4 -4
  609. package/dist/esm/ix-validation-tooltip.entry.js +2 -2
  610. package/dist/esm/ix-workflow-step.entry.js +4 -4
  611. package/dist/esm/ix-workflow-steps.entry.js +1 -1
  612. package/dist/esm/loader.js +1 -1
  613. package/dist/esm/{modal-D9BaTrTa.js → modal-BTxff2hq.js} +3 -3
  614. package/dist/esm/{modal-D9BaTrTa.js.map → modal-BTxff2hq.js.map} +1 -1
  615. package/dist/esm/siemens-ix.js +1 -1
  616. package/dist/siemens-ix/index.esm.js +1 -1
  617. package/dist/siemens-ix/ix-application-header.entry.esm.js.map +1 -1
  618. package/dist/siemens-ix/ix-application.entry.esm.js.map +1 -1
  619. package/dist/siemens-ix/ix-category-filter.entry.esm.js.map +1 -1
  620. package/dist/siemens-ix/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.esm.js.map +1 -1
  621. package/dist/siemens-ix/ix-date-input.entry.esm.js.map +1 -1
  622. package/dist/siemens-ix/ix-date-time-card.entry.esm.js.map +1 -1
  623. package/dist/siemens-ix/ix-datetime-picker.entry.esm.js.map +1 -1
  624. package/dist/siemens-ix/ix-input.entry.esm.js.map +1 -1
  625. package/dist/siemens-ix/ix-menu-about.entry.esm.js.map +1 -1
  626. package/dist/siemens-ix/ix-menu.entry.esm.js.map +1 -1
  627. package/dist/siemens-ix/ix-number-input.entry.esm.js.map +1 -1
  628. package/dist/siemens-ix/ix-radio-group.entry.esm.js.map +1 -1
  629. package/dist/siemens-ix/ix-radio.entry.esm.js.map +1 -1
  630. package/dist/siemens-ix/ix-select.entry.esm.js.map +1 -1
  631. package/dist/siemens-ix/ix-split-button.entry.esm.js.map +1 -1
  632. package/dist/siemens-ix/ix-time-input.entry.esm.js.map +1 -1
  633. package/dist/siemens-ix/ix-time-picker.entry.esm.js.map +1 -1
  634. package/dist/siemens-ix/ix-toggle.entry.esm.js.map +1 -1
  635. package/dist/siemens-ix/ix-tooltip.entry.esm.js.map +1 -1
  636. package/dist/siemens-ix/p-0411df39.entry.js +2 -0
  637. package/dist/siemens-ix/{p-6f152ed2.entry.js → p-06a2c69b.entry.js} +2 -2
  638. package/dist/siemens-ix/p-07953481.entry.js +2 -0
  639. package/dist/siemens-ix/p-07953481.entry.js.map +1 -0
  640. package/dist/siemens-ix/p-07c079fd.entry.js +2 -0
  641. package/dist/siemens-ix/{p-f29f280b.entry.js.map → p-07c079fd.entry.js.map} +1 -1
  642. package/dist/siemens-ix/{p-7e6beda5.entry.js → p-0ce03ad3.entry.js} +2 -2
  643. package/dist/siemens-ix/{p-17a74a48.entry.js → p-0d621531.entry.js} +2 -2
  644. package/dist/siemens-ix/p-10f2a239.entry.js +2 -0
  645. package/dist/siemens-ix/p-10f2a239.entry.js.map +1 -0
  646. package/dist/siemens-ix/{p-f9b4e5f1.entry.js → p-162a4cc0.entry.js} +2 -2
  647. package/dist/siemens-ix/{p-337a3457.entry.js → p-196cffb5.entry.js} +2 -2
  648. package/dist/siemens-ix/p-19b9f862.entry.js +2 -0
  649. package/dist/siemens-ix/p-19b9f862.entry.js.map +1 -0
  650. package/dist/siemens-ix/{p-20ad8d1e.entry.js → p-1c83cb5f.entry.js} +2 -2
  651. package/dist/siemens-ix/{p-3acbbe01.entry.js → p-1de1a2bf.entry.js} +2 -2
  652. package/dist/siemens-ix/{p-89449e22.entry.js → p-2597a988.entry.js} +2 -2
  653. package/dist/siemens-ix/{p-e825a921.entry.js → p-2ffde2d5.entry.js} +2 -2
  654. package/dist/siemens-ix/{p-759ba03d.entry.js → p-31a8eaf9.entry.js} +2 -2
  655. package/dist/siemens-ix/{p-7cf61ff6.entry.js → p-33fcea65.entry.js} +2 -2
  656. package/dist/siemens-ix/p-35d6b656.entry.js +2 -0
  657. package/dist/siemens-ix/p-35d6b656.entry.js.map +1 -0
  658. package/dist/siemens-ix/{p-34e530b9.entry.js → p-367df024.entry.js} +2 -2
  659. package/dist/siemens-ix/{p-75d8b192.entry.js → p-3751c675.entry.js} +2 -2
  660. package/dist/siemens-ix/{p-67e4f814.entry.js → p-37bd983a.entry.js} +2 -2
  661. package/dist/siemens-ix/{p-a02e0685.entry.js → p-38e45020.entry.js} +2 -2
  662. package/dist/siemens-ix/{p-fabcc5f5.entry.js → p-396e1f3d.entry.js} +2 -2
  663. package/dist/siemens-ix/{p-0e2b89f2.entry.js → p-3b7573d6.entry.js} +2 -2
  664. package/dist/siemens-ix/p-3ce5fd87.entry.js +2 -0
  665. package/dist/siemens-ix/p-3ce5fd87.entry.js.map +1 -0
  666. package/dist/siemens-ix/{p-4b1745dc.entry.js → p-3d3bba47.entry.js} +2 -2
  667. package/dist/siemens-ix/p-3d3bba47.entry.js.map +1 -0
  668. package/dist/siemens-ix/p-3f13b14e.entry.js +2 -0
  669. package/dist/siemens-ix/p-3f13b14e.entry.js.map +1 -0
  670. package/dist/siemens-ix/p-3f62166e.entry.js +2 -0
  671. package/dist/siemens-ix/{p-9d135d59.entry.js.map → p-3f62166e.entry.js.map} +1 -1
  672. package/dist/siemens-ix/p-425d6925.entry.js +2 -0
  673. package/dist/siemens-ix/{p-db9d5872.entry.js → p-484bddf4.entry.js} +2 -2
  674. package/dist/siemens-ix/{p-51786593.entry.js → p-496e98ac.entry.js} +2 -2
  675. package/dist/siemens-ix/{p-7388d2ee.entry.js → p-4c18f123.entry.js} +2 -2
  676. package/dist/siemens-ix/{p-548a2231.entry.js → p-4c1f90cb.entry.js} +2 -2
  677. package/dist/siemens-ix/{p-3b314194.entry.js → p-4e4d792d.entry.js} +2 -2
  678. package/dist/siemens-ix/{p-608b3631.entry.js → p-534a0e0a.entry.js} +2 -2
  679. package/dist/siemens-ix/{p-d8fb5a86.entry.js → p-5779f16e.entry.js} +2 -2
  680. package/dist/siemens-ix/{p-48cbacaf.entry.js → p-5b57bde1.entry.js} +2 -2
  681. package/dist/siemens-ix/p-620158aa.entry.js +2 -0
  682. package/dist/siemens-ix/{p-347fcf94.entry.js → p-6445a54f.entry.js} +2 -2
  683. package/dist/siemens-ix/{p-aa6368b4.entry.js → p-667e3184.entry.js} +2 -2
  684. package/dist/siemens-ix/{p-538843d4.entry.js → p-6a4bc78a.entry.js} +2 -2
  685. package/dist/siemens-ix/{p-4b65234d.entry.js → p-6dc6eb63.entry.js} +2 -2
  686. package/dist/siemens-ix/p-70af7f44.entry.js +2 -0
  687. package/dist/siemens-ix/{p-467c0fff.entry.js → p-7364534a.entry.js} +2 -2
  688. package/dist/siemens-ix/{p-788e1ef8.entry.js → p-74e7b03f.entry.js} +2 -2
  689. package/dist/siemens-ix/{p-e562ffb2.entry.js → p-77fd2138.entry.js} +2 -2
  690. package/dist/siemens-ix/{p-0d4f0223.entry.js → p-7827c263.entry.js} +2 -2
  691. package/dist/siemens-ix/{p-a4d6ee80.entry.js → p-7bad0544.entry.js} +2 -2
  692. package/dist/siemens-ix/{p-9c862819.entry.js → p-7f90eeef.entry.js} +2 -2
  693. package/dist/siemens-ix/{p-9c862819.entry.js.map → p-7f90eeef.entry.js.map} +1 -1
  694. package/dist/siemens-ix/{p-f3b485de.entry.js → p-81491f7d.entry.js} +2 -2
  695. package/dist/siemens-ix/p-81491f7d.entry.js.map +1 -0
  696. package/dist/siemens-ix/p-8418f756.entry.js +2 -0
  697. package/dist/siemens-ix/p-8418f756.entry.js.map +1 -0
  698. package/dist/siemens-ix/{p-Cz75KU1f.js → p-8HpPmDK_.js} +2 -2
  699. package/dist/siemens-ix/{p-Cz75KU1f.js.map → p-8HpPmDK_.js.map} +1 -1
  700. package/dist/siemens-ix/{p-784c6dd6.entry.js → p-8ce61408.entry.js} +2 -2
  701. package/dist/siemens-ix/{p-c0064123.entry.js → p-8f17f6ec.entry.js} +2 -2
  702. package/dist/siemens-ix/{p-67766c28.entry.js → p-8f9368b8.entry.js} +2 -2
  703. package/dist/siemens-ix/p-8fa8d0e3.entry.js +2 -0
  704. package/dist/siemens-ix/{p-3472fc1a.entry.js → p-8fc2bea6.entry.js} +2 -2
  705. package/dist/siemens-ix/{p-9e7223f6.entry.js → p-905d4977.entry.js} +2 -2
  706. package/dist/siemens-ix/p-92ec7f27.entry.js +2 -0
  707. package/dist/siemens-ix/p-97ef77b3.entry.js +2 -0
  708. package/dist/siemens-ix/p-97ef77b3.entry.js.map +1 -0
  709. package/dist/siemens-ix/{p-CpVbQsUI.js → p-BC0Exw_O.js} +2 -2
  710. package/dist/siemens-ix/{p-CpVbQsUI.js.map → p-BC0Exw_O.js.map} +1 -1
  711. package/dist/siemens-ix/{p-sxLz5AVO.js → p-BcCDexod.js} +2 -2
  712. package/dist/siemens-ix/p-BcCDexod.js.map +1 -0
  713. package/dist/siemens-ix/{p--2LOMK-5.js → p-BhgW5qDm.js} +2 -2
  714. package/dist/siemens-ix/{p--2LOMK-5.js.map → p-BhgW5qDm.js.map} +1 -1
  715. package/dist/siemens-ix/p-C1GTokd8.js +2 -0
  716. package/dist/siemens-ix/p-C1GTokd8.js.map +1 -0
  717. package/dist/siemens-ix/{p-DRnSC9aV.js → p-CObJ-t0Z.js} +2 -2
  718. package/dist/siemens-ix/{p-DRnSC9aV.js.map → p-CObJ-t0Z.js.map} +1 -1
  719. package/dist/siemens-ix/p-Cn013Iz8.js +2 -0
  720. package/dist/siemens-ix/p-Cn013Iz8.js.map +1 -0
  721. package/dist/siemens-ix/p-a3baca2f.entry.js +2 -0
  722. package/dist/siemens-ix/p-a61972c5.entry.js +2 -0
  723. package/dist/siemens-ix/{p-2180ddb8.entry.js.map → p-a61972c5.entry.js.map} +1 -1
  724. package/dist/siemens-ix/{p-9d8fb7dd.entry.js → p-aa89d586.entry.js} +2 -2
  725. package/dist/siemens-ix/{p-fea12773.entry.js → p-b3453edf.entry.js} +2 -2
  726. package/dist/siemens-ix/{p-556417c6.entry.js → p-b41a7abb.entry.js} +2 -2
  727. package/dist/siemens-ix/{p-957d0d0b.entry.js → p-b76df1c7.entry.js} +2 -2
  728. package/dist/siemens-ix/{p-65842e35.entry.js → p-b7ef70d4.entry.js} +2 -2
  729. package/dist/siemens-ix/{p-b7c5ab43.entry.js → p-b8f4b001.entry.js} +2 -2
  730. package/dist/siemens-ix/p-b8f4b001.entry.js.map +1 -0
  731. package/dist/siemens-ix/{p-2f54ce99.entry.js → p-b9880608.entry.js} +2 -2
  732. package/dist/siemens-ix/p-b9e8d497.entry.js +2 -0
  733. package/dist/siemens-ix/{p-5e86944d.entry.js.map → p-b9e8d497.entry.js.map} +1 -1
  734. package/dist/siemens-ix/{p-fc3071d0.entry.js → p-c5c863e1.entry.js} +2 -2
  735. package/dist/siemens-ix/{p-d1941577.entry.js → p-c94739d0.entry.js} +2 -2
  736. package/dist/siemens-ix/{p-04f1b89a.entry.js → p-ca3b24b1.entry.js} +2 -2
  737. package/dist/siemens-ix/p-ca43aa61.entry.js +2 -0
  738. package/dist/siemens-ix/{p-58219b7e.entry.js → p-cd1afcc9.entry.js} +2 -2
  739. package/dist/siemens-ix/{p-d4ba3f9f.entry.js → p-cf041cfd.entry.js} +2 -2
  740. package/dist/siemens-ix/{p-80f55403.entry.js → p-d10b9798.entry.js} +2 -2
  741. package/dist/siemens-ix/{p-ecff1e2f.entry.js → p-d193381f.entry.js} +2 -2
  742. package/dist/siemens-ix/{p-dff78943.entry.js → p-d3a60c52.entry.js} +2 -2
  743. package/dist/siemens-ix/p-d688f76e.entry.js +2 -0
  744. package/dist/siemens-ix/{p-d49f7ae4.entry.js.map → p-d688f76e.entry.js.map} +1 -1
  745. package/dist/siemens-ix/{p-41b9392e.entry.js → p-da3a9845.entry.js} +2 -2
  746. package/dist/siemens-ix/p-dc8de6cb.entry.js +2 -0
  747. package/dist/siemens-ix/p-dc8de6cb.entry.js.map +1 -0
  748. package/dist/siemens-ix/p-de416133.entry.js +2 -0
  749. package/dist/siemens-ix/{p-f753f1f5.entry.js.map → p-de416133.entry.js.map} +1 -1
  750. package/dist/siemens-ix/{p-94fa5d00.entry.js → p-df6bb698.entry.js} +2 -2
  751. package/dist/siemens-ix/{p-85f3aa13.entry.js → p-e0b9cf68.entry.js} +2 -2
  752. package/dist/siemens-ix/{p-81120f11.entry.js → p-e42f62a1.entry.js} +2 -2
  753. package/dist/siemens-ix/{p-da6a27c1.entry.js → p-e48977ed.entry.js} +2 -2
  754. package/dist/siemens-ix/{p-2db36aa6.entry.js → p-e7bdc0a0.entry.js} +2 -2
  755. package/dist/siemens-ix/p-e7bdc0a0.entry.js.map +1 -0
  756. package/dist/siemens-ix/{p-1f5befb2.entry.js → p-ea15fc79.entry.js} +2 -2
  757. package/dist/siemens-ix/{p-4448252f.entry.js → p-ea37abf6.entry.js} +2 -2
  758. package/dist/siemens-ix/{p-b5e0ddb3.entry.js → p-ea410634.entry.js} +2 -2
  759. package/dist/siemens-ix/{p-39950a1c.entry.js → p-eba7f62c.entry.js} +2 -2
  760. package/dist/siemens-ix/p-ebef3d52.entry.js +2 -0
  761. package/dist/siemens-ix/p-ebef3d52.entry.js.map +1 -0
  762. package/dist/siemens-ix/p-fb8877bc.entry.js +2 -0
  763. package/dist/siemens-ix/p-fb8877bc.entry.js.map +1 -0
  764. package/dist/siemens-ix/{p-e25aa385.entry.js → p-fbdf1c7d.entry.js} +2 -2
  765. package/dist/siemens-ix/{p-79798af1.entry.js → p-ff83eafd.entry.js} +2 -2
  766. package/dist/siemens-ix/siemens-ix-core.css +1 -1
  767. package/dist/siemens-ix/siemens-ix.css +12 -23
  768. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  769. package/dist/types/components/date-input/date-input.d.ts +10 -0
  770. package/dist/types/components/field-wrapper/helper-text-util.d.ts +5 -1
  771. package/dist/types/components/input/input.d.ts +9 -0
  772. package/dist/types/components/input/input.fc.d.ts +6 -0
  773. package/dist/types/components/input/input.util.d.ts +1 -0
  774. package/dist/types/components/input/number-input.d.ts +31 -5
  775. package/dist/types/components/menu-about/menu-about.d.ts +1 -1
  776. package/dist/types/components/menu-settings/menu-settings.d.ts +1 -1
  777. package/dist/types/components/radio/radio.d.ts +3 -2
  778. package/dist/types/components/radio-group/radio-group.d.ts +3 -0
  779. package/dist/types/components/select/select.d.ts +11 -0
  780. package/dist/types/components/split-button/split-button.d.ts +15 -4
  781. package/dist/types/components/time-input/time-input.d.ts +10 -0
  782. package/dist/types/components/time-picker/time-picker.d.ts +6 -1
  783. package/dist/types/components/tooltip/tooltip.d.ts +2 -1
  784. package/dist/types/components/utils/application-layout/context.d.ts +0 -1
  785. package/dist/types/components/utils/menu-tabs/menu-tabs-utils.d.ts +1 -0
  786. package/dist/types/components.d.ts +150 -241
  787. package/hydrate/index.js +764 -764
  788. package/hydrate/index.mjs +764 -764
  789. package/package.json +1 -1
  790. package/scss/mixins/_input.scss +2 -2
  791. package/scss/theme/classic/dark/_variables.scss +5 -3
  792. package/scss/theme/core/_components.scss +0 -2
  793. package/components/ix-basic-navigation.d.ts +0 -11
  794. package/components/ix-basic-navigation.js +0 -156
  795. package/components/ix-basic-navigation.js.map +0 -1
  796. package/components/ix-map-navigation-overlay.d.ts +0 -11
  797. package/components/ix-map-navigation-overlay.js +0 -9
  798. package/components/ix-map-navigation-overlay.js.map +0 -1
  799. package/components/ix-map-navigation.d.ts +0 -11
  800. package/components/ix-map-navigation.js +0 -240
  801. package/components/ix-map-navigation.js.map +0 -1
  802. package/components/p--2LOMK-5.js.map +0 -1
  803. package/components/p-0MSWDTqB.js.map +0 -1
  804. package/components/p-BaWdG-ph.js.map +0 -1
  805. package/components/p-Bvf7gwPU.js.map +0 -1
  806. package/components/p-CQhe_rqk.js.map +0 -1
  807. package/components/p-DBsESzrF.js.map +0 -1
  808. package/components/p-DLPEB4G8.js.map +0 -1
  809. package/components/p-D_rmJU0n.js.map +0 -1
  810. package/components/p-IgT3dgxG.js.map +0 -1
  811. package/components/p-UEMLzDk6.js +0 -92
  812. package/components/p-UEMLzDk6.js.map +0 -1
  813. package/components/p-yuZO1O90.js +0 -273
  814. package/components/p-yuZO1O90.js.map +0 -1
  815. package/dist/cjs/helper-text-util-BlElJLxk.js.map +0 -1
  816. package/dist/cjs/input.util-4AhBphgX.js.map +0 -1
  817. package/dist/cjs/ix-basic-navigation.cjs.entry.js +0 -93
  818. package/dist/cjs/ix-basic-navigation.entry.cjs.js.map +0 -1
  819. package/dist/cjs/ix-map-navigation-overlay.cjs.entry.js +0 -56
  820. package/dist/cjs/ix-map-navigation-overlay.entry.cjs.js.map +0 -1
  821. package/dist/cjs/ix-map-navigation.cjs.entry.js +0 -169
  822. package/dist/cjs/ix-map-navigation.entry.cjs.js.map +0 -1
  823. package/dist/cjs/ix-menu-settings-Cdqo0r8E.js.map +0 -1
  824. package/dist/collection/components/basic-navigation/basic-navigation.css +0 -113
  825. package/dist/collection/components/basic-navigation/basic-navigation.js +0 -209
  826. package/dist/collection/components/basic-navigation/basic-navigation.js.map +0 -1
  827. package/dist/collection/components/map-navigation/map-navigation.css +0 -212
  828. package/dist/collection/components/map-navigation/map-navigation.js +0 -401
  829. package/dist/collection/components/map-navigation/map-navigation.js.map +0 -1
  830. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.css +0 -156
  831. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +0 -209
  832. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js.map +0 -1
  833. package/dist/esm/helper-text-util-rnbkuaac.js.map +0 -1
  834. package/dist/esm/input.util-VHrSuCP7.js.map +0 -1
  835. package/dist/esm/ix-basic-navigation.entry.js +0 -91
  836. package/dist/esm/ix-basic-navigation.entry.js.map +0 -1
  837. package/dist/esm/ix-map-navigation-overlay.entry.js +0 -54
  838. package/dist/esm/ix-map-navigation-overlay.entry.js.map +0 -1
  839. package/dist/esm/ix-map-navigation.entry.js +0 -167
  840. package/dist/esm/ix-map-navigation.entry.js.map +0 -1
  841. package/dist/esm/ix-menu-settings-DRSkDgox.js.map +0 -1
  842. package/dist/siemens-ix/ix-basic-navigation.entry.esm.js.map +0 -1
  843. package/dist/siemens-ix/ix-map-navigation-overlay.entry.esm.js.map +0 -1
  844. package/dist/siemens-ix/ix-map-navigation.entry.esm.js.map +0 -1
  845. package/dist/siemens-ix/p-01030dfb.entry.js +0 -2
  846. package/dist/siemens-ix/p-01030dfb.entry.js.map +0 -1
  847. package/dist/siemens-ix/p-08f4c3f0.entry.js +0 -2
  848. package/dist/siemens-ix/p-2055daf3.entry.js +0 -2
  849. package/dist/siemens-ix/p-2055daf3.entry.js.map +0 -1
  850. package/dist/siemens-ix/p-2180ddb8.entry.js +0 -2
  851. package/dist/siemens-ix/p-2db36aa6.entry.js.map +0 -1
  852. package/dist/siemens-ix/p-4b1745dc.entry.js.map +0 -1
  853. package/dist/siemens-ix/p-4f2fb1c5.entry.js +0 -2
  854. package/dist/siemens-ix/p-4f2fb1c5.entry.js.map +0 -1
  855. package/dist/siemens-ix/p-52d377d1.entry.js +0 -2
  856. package/dist/siemens-ix/p-52d377d1.entry.js.map +0 -1
  857. package/dist/siemens-ix/p-5e86944d.entry.js +0 -2
  858. package/dist/siemens-ix/p-710af987.entry.js +0 -2
  859. package/dist/siemens-ix/p-710af987.entry.js.map +0 -1
  860. package/dist/siemens-ix/p-730a6161.entry.js +0 -2
  861. package/dist/siemens-ix/p-730a6161.entry.js.map +0 -1
  862. package/dist/siemens-ix/p-7e612a3b.entry.js +0 -2
  863. package/dist/siemens-ix/p-7e612a3b.entry.js.map +0 -1
  864. package/dist/siemens-ix/p-845054ca.entry.js +0 -2
  865. package/dist/siemens-ix/p-879a0cc5.entry.js +0 -2
  866. package/dist/siemens-ix/p-879a0cc5.entry.js.map +0 -1
  867. package/dist/siemens-ix/p-8aa0fda7.entry.js +0 -2
  868. package/dist/siemens-ix/p-8aa0fda7.entry.js.map +0 -1
  869. package/dist/siemens-ix/p-92a6324b.entry.js +0 -2
  870. package/dist/siemens-ix/p-9d135d59.entry.js +0 -2
  871. package/dist/siemens-ix/p-CX3n_rRh.js +0 -2
  872. package/dist/siemens-ix/p-CX3n_rRh.js.map +0 -1
  873. package/dist/siemens-ix/p-DS9crO46.js +0 -2
  874. package/dist/siemens-ix/p-DS9crO46.js.map +0 -1
  875. package/dist/siemens-ix/p-ad20efd0.entry.js +0 -2
  876. package/dist/siemens-ix/p-b6736ce7.entry.js +0 -2
  877. package/dist/siemens-ix/p-b6736ce7.entry.js.map +0 -1
  878. package/dist/siemens-ix/p-b7c5ab43.entry.js.map +0 -1
  879. package/dist/siemens-ix/p-c4b26603.entry.js +0 -2
  880. package/dist/siemens-ix/p-cc80918d.entry.js +0 -2
  881. package/dist/siemens-ix/p-d120adf6.entry.js +0 -2
  882. package/dist/siemens-ix/p-d120adf6.entry.js.map +0 -1
  883. package/dist/siemens-ix/p-d49f7ae4.entry.js +0 -2
  884. package/dist/siemens-ix/p-dd89a190.entry.js +0 -2
  885. package/dist/siemens-ix/p-e3c57208.entry.js +0 -2
  886. package/dist/siemens-ix/p-eebe632b.entry.js +0 -2
  887. package/dist/siemens-ix/p-eebe632b.entry.js.map +0 -1
  888. package/dist/siemens-ix/p-eef311b1.entry.js +0 -2
  889. package/dist/siemens-ix/p-eef311b1.entry.js.map +0 -1
  890. package/dist/siemens-ix/p-f29f280b.entry.js +0 -2
  891. package/dist/siemens-ix/p-f3b485de.entry.js.map +0 -1
  892. package/dist/siemens-ix/p-f753f1f5.entry.js +0 -2
  893. package/dist/siemens-ix/p-f82e4e0f.entry.js +0 -2
  894. package/dist/siemens-ix/p-f82e4e0f.entry.js.map +0 -1
  895. package/dist/siemens-ix/p-sxLz5AVO.js.map +0 -1
  896. package/dist/types/components/basic-navigation/basic-navigation.d.ts +0 -33
  897. package/dist/types/components/map-navigation/map-navigation.d.ts +0 -68
  898. package/dist/types/components/map-navigation-overlay/map-navigation-overlay.d.ts +0 -43
  899. package/scss/theme/core/components/map-navigation.scss +0 -20
  900. /package/dist/siemens-ix/{p-08f4c3f0.entry.js.map → p-0411df39.entry.js.map} +0 -0
  901. /package/dist/siemens-ix/{p-6f152ed2.entry.js.map → p-06a2c69b.entry.js.map} +0 -0
  902. /package/dist/siemens-ix/{p-7e6beda5.entry.js.map → p-0ce03ad3.entry.js.map} +0 -0
  903. /package/dist/siemens-ix/{p-17a74a48.entry.js.map → p-0d621531.entry.js.map} +0 -0
  904. /package/dist/siemens-ix/{p-f9b4e5f1.entry.js.map → p-162a4cc0.entry.js.map} +0 -0
  905. /package/dist/siemens-ix/{p-337a3457.entry.js.map → p-196cffb5.entry.js.map} +0 -0
  906. /package/dist/siemens-ix/{p-20ad8d1e.entry.js.map → p-1c83cb5f.entry.js.map} +0 -0
  907. /package/dist/siemens-ix/{p-3acbbe01.entry.js.map → p-1de1a2bf.entry.js.map} +0 -0
  908. /package/dist/siemens-ix/{p-89449e22.entry.js.map → p-2597a988.entry.js.map} +0 -0
  909. /package/dist/siemens-ix/{p-e825a921.entry.js.map → p-2ffde2d5.entry.js.map} +0 -0
  910. /package/dist/siemens-ix/{p-759ba03d.entry.js.map → p-31a8eaf9.entry.js.map} +0 -0
  911. /package/dist/siemens-ix/{p-7cf61ff6.entry.js.map → p-33fcea65.entry.js.map} +0 -0
  912. /package/dist/siemens-ix/{p-34e530b9.entry.js.map → p-367df024.entry.js.map} +0 -0
  913. /package/dist/siemens-ix/{p-75d8b192.entry.js.map → p-3751c675.entry.js.map} +0 -0
  914. /package/dist/siemens-ix/{p-67e4f814.entry.js.map → p-37bd983a.entry.js.map} +0 -0
  915. /package/dist/siemens-ix/{p-a02e0685.entry.js.map → p-38e45020.entry.js.map} +0 -0
  916. /package/dist/siemens-ix/{p-fabcc5f5.entry.js.map → p-396e1f3d.entry.js.map} +0 -0
  917. /package/dist/siemens-ix/{p-0e2b89f2.entry.js.map → p-3b7573d6.entry.js.map} +0 -0
  918. /package/dist/siemens-ix/{p-845054ca.entry.js.map → p-425d6925.entry.js.map} +0 -0
  919. /package/dist/siemens-ix/{p-db9d5872.entry.js.map → p-484bddf4.entry.js.map} +0 -0
  920. /package/dist/siemens-ix/{p-51786593.entry.js.map → p-496e98ac.entry.js.map} +0 -0
  921. /package/dist/siemens-ix/{p-7388d2ee.entry.js.map → p-4c18f123.entry.js.map} +0 -0
  922. /package/dist/siemens-ix/{p-548a2231.entry.js.map → p-4c1f90cb.entry.js.map} +0 -0
  923. /package/dist/siemens-ix/{p-3b314194.entry.js.map → p-4e4d792d.entry.js.map} +0 -0
  924. /package/dist/siemens-ix/{p-608b3631.entry.js.map → p-534a0e0a.entry.js.map} +0 -0
  925. /package/dist/siemens-ix/{p-d8fb5a86.entry.js.map → p-5779f16e.entry.js.map} +0 -0
  926. /package/dist/siemens-ix/{p-48cbacaf.entry.js.map → p-5b57bde1.entry.js.map} +0 -0
  927. /package/dist/siemens-ix/{p-dd89a190.entry.js.map → p-620158aa.entry.js.map} +0 -0
  928. /package/dist/siemens-ix/{p-347fcf94.entry.js.map → p-6445a54f.entry.js.map} +0 -0
  929. /package/dist/siemens-ix/{p-aa6368b4.entry.js.map → p-667e3184.entry.js.map} +0 -0
  930. /package/dist/siemens-ix/{p-538843d4.entry.js.map → p-6a4bc78a.entry.js.map} +0 -0
  931. /package/dist/siemens-ix/{p-4b65234d.entry.js.map → p-6dc6eb63.entry.js.map} +0 -0
  932. /package/dist/siemens-ix/{p-e3c57208.entry.js.map → p-70af7f44.entry.js.map} +0 -0
  933. /package/dist/siemens-ix/{p-467c0fff.entry.js.map → p-7364534a.entry.js.map} +0 -0
  934. /package/dist/siemens-ix/{p-788e1ef8.entry.js.map → p-74e7b03f.entry.js.map} +0 -0
  935. /package/dist/siemens-ix/{p-e562ffb2.entry.js.map → p-77fd2138.entry.js.map} +0 -0
  936. /package/dist/siemens-ix/{p-0d4f0223.entry.js.map → p-7827c263.entry.js.map} +0 -0
  937. /package/dist/siemens-ix/{p-a4d6ee80.entry.js.map → p-7bad0544.entry.js.map} +0 -0
  938. /package/dist/siemens-ix/{p-784c6dd6.entry.js.map → p-8ce61408.entry.js.map} +0 -0
  939. /package/dist/siemens-ix/{p-c0064123.entry.js.map → p-8f17f6ec.entry.js.map} +0 -0
  940. /package/dist/siemens-ix/{p-67766c28.entry.js.map → p-8f9368b8.entry.js.map} +0 -0
  941. /package/dist/siemens-ix/{p-92a6324b.entry.js.map → p-8fa8d0e3.entry.js.map} +0 -0
  942. /package/dist/siemens-ix/{p-3472fc1a.entry.js.map → p-8fc2bea6.entry.js.map} +0 -0
  943. /package/dist/siemens-ix/{p-9e7223f6.entry.js.map → p-905d4977.entry.js.map} +0 -0
  944. /package/dist/siemens-ix/{p-c4b26603.entry.js.map → p-92ec7f27.entry.js.map} +0 -0
  945. /package/dist/siemens-ix/{p-ad20efd0.entry.js.map → p-a3baca2f.entry.js.map} +0 -0
  946. /package/dist/siemens-ix/{p-9d8fb7dd.entry.js.map → p-aa89d586.entry.js.map} +0 -0
  947. /package/dist/siemens-ix/{p-fea12773.entry.js.map → p-b3453edf.entry.js.map} +0 -0
  948. /package/dist/siemens-ix/{p-556417c6.entry.js.map → p-b41a7abb.entry.js.map} +0 -0
  949. /package/dist/siemens-ix/{p-957d0d0b.entry.js.map → p-b76df1c7.entry.js.map} +0 -0
  950. /package/dist/siemens-ix/{p-65842e35.entry.js.map → p-b7ef70d4.entry.js.map} +0 -0
  951. /package/dist/siemens-ix/{p-2f54ce99.entry.js.map → p-b9880608.entry.js.map} +0 -0
  952. /package/dist/siemens-ix/{p-fc3071d0.entry.js.map → p-c5c863e1.entry.js.map} +0 -0
  953. /package/dist/siemens-ix/{p-d1941577.entry.js.map → p-c94739d0.entry.js.map} +0 -0
  954. /package/dist/siemens-ix/{p-04f1b89a.entry.js.map → p-ca3b24b1.entry.js.map} +0 -0
  955. /package/dist/siemens-ix/{p-cc80918d.entry.js.map → p-ca43aa61.entry.js.map} +0 -0
  956. /package/dist/siemens-ix/{p-58219b7e.entry.js.map → p-cd1afcc9.entry.js.map} +0 -0
  957. /package/dist/siemens-ix/{p-d4ba3f9f.entry.js.map → p-cf041cfd.entry.js.map} +0 -0
  958. /package/dist/siemens-ix/{p-80f55403.entry.js.map → p-d10b9798.entry.js.map} +0 -0
  959. /package/dist/siemens-ix/{p-ecff1e2f.entry.js.map → p-d193381f.entry.js.map} +0 -0
  960. /package/dist/siemens-ix/{p-dff78943.entry.js.map → p-d3a60c52.entry.js.map} +0 -0
  961. /package/dist/siemens-ix/{p-41b9392e.entry.js.map → p-da3a9845.entry.js.map} +0 -0
  962. /package/dist/siemens-ix/{p-94fa5d00.entry.js.map → p-df6bb698.entry.js.map} +0 -0
  963. /package/dist/siemens-ix/{p-85f3aa13.entry.js.map → p-e0b9cf68.entry.js.map} +0 -0
  964. /package/dist/siemens-ix/{p-81120f11.entry.js.map → p-e42f62a1.entry.js.map} +0 -0
  965. /package/dist/siemens-ix/{p-da6a27c1.entry.js.map → p-e48977ed.entry.js.map} +0 -0
  966. /package/dist/siemens-ix/{p-1f5befb2.entry.js.map → p-ea15fc79.entry.js.map} +0 -0
  967. /package/dist/siemens-ix/{p-4448252f.entry.js.map → p-ea37abf6.entry.js.map} +0 -0
  968. /package/dist/siemens-ix/{p-b5e0ddb3.entry.js.map → p-ea410634.entry.js.map} +0 -0
  969. /package/dist/siemens-ix/{p-39950a1c.entry.js.map → p-eba7f62c.entry.js.map} +0 -0
  970. /package/dist/siemens-ix/{p-e25aa385.entry.js.map → p-fbdf1c7d.entry.js.map} +0 -0
  971. /package/dist/siemens-ix/{p-79798af1.entry.js.map → p-ff83eafd.entry.js.map} +0 -0
@@ -78,10 +78,20 @@ const RadiobuttonGroup = class {
78
78
  }
79
79
  radio.checked = false;
80
80
  });
81
+ const hasCheckedRadio = this.isSomeRadioChecked();
82
+ for (const radio of this.radiobuttonElements) {
83
+ radio.tabIndex = radio.checked ? 0 : -1;
84
+ }
85
+ if (!hasCheckedRadio && this.radiobuttonElements.length > 0) {
86
+ this.radiobuttonElements[0].tabIndex = 0;
87
+ }
81
88
  }
82
89
  hasNestedRequiredRadio() {
83
90
  this.required = this.radiobuttonElements.some((radiobutton) => radiobutton.required);
84
91
  }
92
+ isSomeRadioChecked() {
93
+ return this.radiobuttonElements.some((radio) => radio.checked);
94
+ }
85
95
  onValueChangeHandler(newValue) {
86
96
  this.touched = true;
87
97
  this.radiobuttonElements.forEach((radiobutton) => {
@@ -112,11 +122,31 @@ const RadiobuttonGroup = class {
112
122
  isTouched() {
113
123
  return Promise.resolve(this.touched);
114
124
  }
125
+ /** @internal */
126
+ async setCheckedToNextItem(currentRadio, forward = true) {
127
+ const { radiobuttonElements } = this;
128
+ const { length } = radiobuttonElements;
129
+ if (length <= 1) {
130
+ return;
131
+ }
132
+ const index = radiobuttonElements.indexOf(currentRadio);
133
+ const step = forward ? 1 : -1;
134
+ let nextIndex = (index + step + length) % length;
135
+ while (radiobuttonElements[nextIndex].disabled) {
136
+ if (nextIndex === index) {
137
+ return;
138
+ }
139
+ nextIndex = (nextIndex + step + length) % length;
140
+ }
141
+ const nextRadio = radiobuttonElements[nextIndex];
142
+ nextRadio.setCheckedState(true);
143
+ nextRadio.focus();
144
+ }
115
145
  render() {
116
- return (index.h(index.Host, { key: '93241d4ab22b1d87d5fd1e5ff65d5fc8877e1784', onIxBlur: () => (this.touched = true), ref: this.groupRef }, index.h("ix-field-wrapper", { key: '8ee3487bb24408f698cb975822eed476c070f3eb', 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, controlRef: this.groupRef }, index.h("div", { key: '96216c66bce9e4b63071048a3848de1c611da84f', class: {
146
+ return (index.h(index.Host, { key: 'db3158ccabcd99d1b5185607b848c424a4c4c970', onIxBlur: () => (this.touched = true), ref: this.groupRef, role: "radiogroup" }, index.h("ix-field-wrapper", { key: '5668fbc12f4d264869dfe03dc2bbd3d380da6ae1', 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, controlRef: this.groupRef }, index.h("div", { key: 'a5ec59c15eb8353d66bc6f0668dd7148dbd447a6', class: {
117
147
  'checkbox-container': true,
118
148
  'row-layout': this.direction === 'row',
119
- } }, index.h("slot", { key: '8910a200a6eb0d9f88f3b45d96967a7f406b545d' })))));
149
+ } }, index.h("slot", { key: '325b19034d55cc20cd556a24585d05ce32f22bb6' })))));
120
150
  }
121
151
  get hostElement() { return index.getElement(this); }
122
152
  static get watchers() { return {
@@ -1 +1 @@
1
- {"version":3,"file":"ix-radio-group.entry.cjs.js","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@use 'mixins/shadow-dom/component';\n\n:host {\n display: inline-block;\n position: relative;\n\n .checkbox-container {\n display: flex;\n flex-direction: column;\n gap: 0.5rem 1rem;\n margin: 0.375rem 0;\n flex-wrap: wrap;\n\n &.row-layout {\n flex-direction: row;\n }\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport {\n Component,\n Element,\n EventEmitter,\n Host,\n Event,\n Listen,\n Prop,\n State,\n h,\n Watch,\n Method,\n} from '@stencil/core';\nimport {\n ValidationResults,\n HookValidationLifecycle,\n FieldWrapperInterface,\n IxFormValidationState,\n} from '../utils/input';\nimport { makeRef } from '../utils/make-ref';\n\n/**\n * @form-ready\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 * Alignment of the radio buttons in the group\n */\n @Prop() direction: 'column' | 'row' = 'column';\n\n /**\n * Required state of the checkbox component\n *\n * @internal\n */\n @Prop() required?: boolean = false;\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 touched = false;\n private readonly groupRef = makeRef<HTMLElement>();\n\n private readonly observer = new MutationObserver(() => {\n this.ensureOnlyLastRadioChecked();\n this.hasNestedRequiredRadio();\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', 'required'],\n });\n }\n\n componentWillLoad(): void | Promise<void> {\n this.selectInitialValue();\n this.ensureOnlyLastRadioChecked();\n this.hasNestedRequiredRadio();\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 private hasNestedRequiredRadio() {\n this.required = this.radiobuttonElements.some(\n (radiobutton) => radiobutton.required\n );\n }\n\n @Watch('value')\n onValueChangeHandler(newValue: string) {\n this.touched = true;\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({\n isInvalid,\n isInfo,\n isValid,\n isWarning,\n isInvalidByRequired,\n }: ValidationResults) {\n this.isInvalid = isInvalid || isInvalidByRequired;\n this.isInfo = isInfo;\n this.isValid = isValid;\n this.isWarning = isWarning;\n }\n\n /** @internal */\n @Method()\n hasValidValue(): Promise<boolean> {\n return Promise.resolve(\n !!Array.from(this.hostElement.querySelectorAll('ix-radio')).find(\n (radio) => radio.checked\n )\n );\n }\n\n /** @internal */\n @Method()\n isTouched(): Promise<boolean> {\n return Promise.resolve(this.touched);\n }\n\n render() {\n return (\n <Host onIxBlur={() => (this.touched = true)} ref={this.groupRef}>\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 controlRef={this.groupRef}\n >\n <div\n class={{\n 'checkbox-container': true,\n 'row-layout': this.direction === 'row',\n }}\n >\n <slot></slot>\n </div>\n </ix-field-wrapper>\n </Host>\n );\n }\n}\n"],"names":["makeRef","h","Host","HookValidationLifecycle"],"mappings":";;;;;;AAAA,MAAM,aAAa,GAAG,qNAAqN;;;;;;;;;;;;MCqC9N,gBAAgB,GAAA,MAAA;AAL7B,IAAA,WAAA,CAAA,OAAA,EAAA;;;AAiDE;;AAEG;AACK,QAAA,IAAS,CAAA,SAAA,GAAqB,QAAQ;AAE9C;;;;AAIG;AACK,QAAA,IAAQ,CAAA,QAAA,GAAa,KAAK;AAOzB,QAAA,IAAS,CAAA,SAAA,GAAG,KAAK;AACjB,QAAA,IAAO,CAAA,OAAA,GAAG,KAAK;AACf,QAAA,IAAM,CAAA,MAAA,GAAG,KAAK;AACd,QAAA,IAAS,CAAA,SAAA,GAAG,KAAK;AAElB,QAAA,IAAO,CAAA,OAAA,GAAG,KAAK;AACN,QAAA,IAAQ,CAAA,QAAA,GAAGA,eAAO,EAAe;AAEjC,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAI,gBAAgB,CAAC,MAAK;YACpD,IAAI,CAAC,0BAA0B,EAAE;YACjC,IAAI,CAAC,sBAAsB,EAAE;AAC/B,SAAC,CAAC;AAuIH;AArIC,IAAA,IAAY,mBAAmB,GAAA;AAC7B,Q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,GAAA,EAAA,0CAAA,EAAC,QAAQ,EAAE,OAAO,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC,QAAQ,EAAA,EAC7DD,OAAA,CAAA,kBAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,EACzC,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,UAAU,EAAE,IAAI,CAAC,QAAQ,EAAA,EAEzBA,OAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAE;AACL,gBAAA,oBAAoB,EAAE,IAAI;AAC1B,gBAAA,YAAY,EAAE,IAAI,CAAC,SAAS,KAAK,KAAK;AACvC,aAAA,EAAA,EAEDA,OAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAa,CACT,CACW,CACd;;;;;;;AAvDX,UAAA,CAAA;AAHC,IAAAE,kCAAuB,CAAC;AACvB,QAAA,eAAe,EAAE,IAAI;KACtB;CAYA,EAAA,gBAAA,CAAA,SAAA,EAAA,cAAA,EAAA,IAAA,CAAA;;;;;"}
1
+ {"version":3,"file":"ix-radio-group.entry.cjs.js","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@use 'mixins/shadow-dom/component';\n\n:host {\n display: inline-block;\n position: relative;\n\n .checkbox-container {\n display: flex;\n flex-direction: column;\n gap: 0.5rem 1rem;\n margin: 0.375rem 0;\n flex-wrap: wrap;\n\n &.row-layout {\n flex-direction: row;\n }\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport {\n Component,\n Element,\n EventEmitter,\n Host,\n Event,\n Listen,\n Prop,\n State,\n h,\n Watch,\n Method,\n} from '@stencil/core';\nimport {\n ValidationResults,\n HookValidationLifecycle,\n FieldWrapperInterface,\n IxFormValidationState,\n} from '../utils/input';\nimport { makeRef } from '../utils/make-ref';\n\n/**\n * @form-ready\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 * Alignment of the radio buttons in the group\n */\n @Prop() direction: 'column' | 'row' = 'column';\n\n /**\n * Required state of the checkbox component\n *\n * @internal\n */\n @Prop() required?: boolean = false;\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 touched = false;\n private readonly groupRef = makeRef<HTMLElement>();\n\n private readonly observer = new MutationObserver(() => {\n this.ensureOnlyLastRadioChecked();\n this.hasNestedRequiredRadio();\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', 'required'],\n });\n }\n\n componentWillLoad(): void | Promise<void> {\n this.selectInitialValue();\n this.ensureOnlyLastRadioChecked();\n this.hasNestedRequiredRadio();\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\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 const hasCheckedRadio = this.isSomeRadioChecked();\n\n for (const radio of this.radiobuttonElements) {\n radio.tabIndex = radio.checked ? 0 : -1;\n }\n\n if (!hasCheckedRadio && this.radiobuttonElements.length > 0) {\n this.radiobuttonElements[0].tabIndex = 0;\n }\n }\n\n private hasNestedRequiredRadio() {\n this.required = this.radiobuttonElements.some(\n (radiobutton) => radiobutton.required\n );\n }\n\n private isSomeRadioChecked() {\n return this.radiobuttonElements.some((radio) => radio.checked);\n }\n\n @Watch('value')\n onValueChangeHandler(newValue: string) {\n this.touched = true;\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({\n isInvalid,\n isInfo,\n isValid,\n isWarning,\n isInvalidByRequired,\n }: ValidationResults) {\n this.isInvalid = isInvalid || isInvalidByRequired;\n this.isInfo = isInfo;\n this.isValid = isValid;\n this.isWarning = isWarning;\n }\n\n /** @internal */\n @Method()\n hasValidValue(): Promise<boolean> {\n return Promise.resolve(\n !!Array.from(this.hostElement.querySelectorAll('ix-radio')).find(\n (radio) => radio.checked\n )\n );\n }\n\n /** @internal */\n @Method()\n isTouched(): Promise<boolean> {\n return Promise.resolve(this.touched);\n }\n\n /** @internal */\n @Method()\n async setCheckedToNextItem(\n currentRadio: HTMLIxRadioElement,\n forward = true\n ): Promise<void> {\n const { radiobuttonElements } = this;\n const { length } = radiobuttonElements;\n if (length <= 1) {\n return;\n }\n\n const index = radiobuttonElements.indexOf(currentRadio);\n const step = forward ? 1 : -1;\n let nextIndex = (index + step + length) % length;\n\n while (radiobuttonElements[nextIndex].disabled) {\n if (nextIndex === index) {\n return;\n }\n nextIndex = (nextIndex + step + length) % length;\n }\n\n const nextRadio = radiobuttonElements[nextIndex];\n nextRadio.setCheckedState(true);\n nextRadio.focus();\n }\n\n render() {\n return (\n <Host\n onIxBlur={() => (this.touched = true)}\n ref={this.groupRef}\n role=\"radiogroup\"\n >\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 controlRef={this.groupRef}\n >\n <div\n class={{\n 'checkbox-container': true,\n 'row-layout': this.direction === 'row',\n }}\n >\n <slot></slot>\n </div>\n </ix-field-wrapper>\n </Host>\n );\n }\n}\n"],"names":["makeRef","h","Host","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EAAE,IAAI,CAAC,MAAM,EACnB,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,UAAU,EAAE,IAAI,CAAC,QAAQ,EAAA,EAEzBA,OAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAE;AACL,gBAAA,oBAAoB,EAAE,IAAI;AAC1B,gBAAA,YAAY,EAAE,IAAI,CAAC,SAAS,KAAK,KAAK;AACvC,aAAA,EAAA,EAEDA,OAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAa,CACT,CACW,CACd;;;;;;;AAvFX,UAAA,CAAA;AAHC,IAAAE,kCAAuB,CAAC;AACvB,QAAA,eAAe,EAAE,IAAI;KACtB;CAYA,EAAA,gBAAA,CAAA,SAAA,EAAA,cAAA,EAAA,IAAA,CAAA;;;;;"}
@@ -1,11 +1,10 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-C8Xo8L1k.js');
4
- var makeRef = require('./make-ref-BaH6_YJk.js');
5
- var validation = require('./validation-CfL71_0d.js');
6
4
  var a11y = require('./a11y-B_6chCvu.js');
5
+ var validation = require('./validation-CfL71_0d.js');
7
6
 
8
- 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{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host button{all:unset;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}: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 .radio-button{height:1.5rem;width:1.5rem;display:flex;align-items:center;justify-content:center}:host label{display:flex;justify-content:flex-start;align-items:center;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){pointer-events:none}: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([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)}ix-typography{margin:0.125rem 0 0.125rem 0.5rem}:host(.ix-info:not(.disabled)) button{--theme-radiobtn-unchecked--background:var(\n --theme-radiobtn-unchecked--background--info\n );--theme-radiobtn-unchecked--background--hover:var(\n --theme-radiobtn-unchecked--background--info--hover\n );--theme-radiobtn-unchecked--background--active:var(\n --theme-radiobtn-unchecked--background--info--active\n );--theme-radiobtn-unchecked--border-color:var(\n --theme-radiobtn-unchecked--border-color--info\n );--theme-radiobtn-unchecked--border-color--hover:var(\n --theme-radiobtn-unchecked--border-color--info--hover\n );--theme-radiobtn-unchecked--border-color--active:var(\n --theme-radiobtn-unchecked--border-color--info--active\n );--theme-radiobtn-checked--background:var(\n --theme-radiobtn-checked--background--info\n );--theme-radiobtn-checked--background--hover:var(\n --theme-radiobtn-checked--background--info--hover\n );--theme-radiobtn-checked--background--active:var(\n --theme-radiobtn-checked--background--info--active\n );--theme-radiobtn-checked--border-color:var(\n --theme-radiobtn-checked--border-color--info\n );--theme-radiobtn-checked--border-color--hover:var(\n --theme-radiobtn-checked--border-color--info--hover\n );--theme-radiobtn-checked--border-color--active:var(\n --theme-radiobtn-checked--border-color--info--active\n );--theme-radiobtn-mixed--background:var(\n --theme-radiobtn-mixed--background--info\n );--theme-radiobtn-mixed--background--hover:var(\n --theme-radiobtn-mixed--background--info--hover\n );--theme-radiobtn-mixed--background--active:var(\n --theme-radiobtn-mixed--background--info--active\n );--theme-radiobtn-mixed--border-color:var(\n --theme-radiobtn-mixed--border-color--info\n );--theme-radiobtn-mixed--border-color--hover:var(\n --theme-radiobtn-mixed--border-color--info--hover\n );--theme-radiobtn-mixed--border-color--active:var(\n --theme-radiobtn-mixed--border-color--info--active\n )}: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{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[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(\n --theme-radiobtn-unchecked--background--warning\n );--theme-radiobtn-unchecked--background--hover:var(\n --theme-radiobtn-unchecked--background--warning--hover\n );--theme-radiobtn-unchecked--background--active:var(\n --theme-radiobtn-unchecked--background--warning--active\n );--theme-radiobtn-unchecked--border-color:var(\n --theme-radiobtn-unchecked--border-color--warning\n );--theme-radiobtn-unchecked--border-color--hover:var(\n --theme-radiobtn-unchecked--border-color--warning--hover\n );--theme-radiobtn-unchecked--border-color--active:var(\n --theme-radiobtn-unchecked--border-color--warning--active\n );--theme-radiobtn-checked--background:var(\n --theme-radiobtn-checked--background--warning\n );--theme-radiobtn-checked--background--hover:var(\n --theme-radiobtn-checked--background--warning--hover\n );--theme-radiobtn-checked--background--active:var(\n --theme-radiobtn-checked--background--warning--active\n );--theme-radiobtn-checked--border-color:var(\n --theme-radiobtn-checked--border-color--warning\n );--theme-radiobtn-checked--border-color--hover:var(\n --theme-radiobtn-checked--border-color--warning--hover\n );--theme-radiobtn-checked--border-color--active:var(\n --theme-radiobtn-checked--border-color--warning--active\n );--theme-radiobtn-mixed--background:var(\n --theme-radiobtn-mixed--background--warning\n );--theme-radiobtn-mixed--background--hover:var(\n --theme-radiobtn-mixed--background--warning--hover\n );--theme-radiobtn-mixed--background--active:var(\n --theme-radiobtn-mixed--background--warning--active\n );--theme-radiobtn-mixed--border-color:var(\n --theme-radiobtn-mixed--border-color--warning\n );--theme-radiobtn-mixed--border-color--hover:var(\n --theme-radiobtn-mixed--border-color--warning--hover\n );--theme-radiobtn-mixed--border-color--active:var(\n --theme-radiobtn-mixed--border-color--warning--active\n )}: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{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[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(\n --theme-radiobtn-unchecked--background--invalid\n );--theme-radiobtn-unchecked--background--hover:var(\n --theme-radiobtn-unchecked--background--invalid--hover\n );--theme-radiobtn-unchecked--background--active:var(\n --theme-radiobtn-unchecked--background--invalid--active\n );--theme-radiobtn-unchecked--border-color:var(\n --theme-radiobtn-unchecked--border-color--invalid\n );--theme-radiobtn-unchecked--border-color--hover:var(\n --theme-radiobtn-unchecked--border-color--invalid--hover\n );--theme-radiobtn-unchecked--border-color--active:var(\n --theme-radiobtn-unchecked--border-color--invalid--active\n );--theme-radiobtn-checked--background:var(\n --theme-radiobtn-checked--background--invalid\n );--theme-radiobtn-checked--background--hover:var(\n --theme-radiobtn-checked--background--invalid--hover\n );--theme-radiobtn-checked--background--active:var(\n --theme-radiobtn-checked--background--invalid--active\n );--theme-radiobtn-checked--border-color:var(\n --theme-radiobtn-checked--border-color--invalid\n );--theme-radiobtn-checked--border-color--hover:var(\n --theme-radiobtn-checked--border-color--invalid--hover\n );--theme-radiobtn-checked--border-color--active:var(\n --theme-radiobtn-checked--border-color--invalid--active\n );--theme-radiobtn-mixed--background:var(\n --theme-radiobtn-mixed--background--invalid\n );--theme-radiobtn-mixed--background--hover:var(\n --theme-radiobtn-mixed--background--invalid--hover\n );--theme-radiobtn-mixed--background--active:var(\n --theme-radiobtn-mixed--background--invalid--active\n );--theme-radiobtn-mixed--border-color:var(\n --theme-radiobtn-mixed--border-color--invalid\n );--theme-radiobtn-mixed--border-color--hover:var(\n --theme-radiobtn-mixed--border-color--invalid--hover\n );--theme-radiobtn-mixed--border-color--active:var(\n --theme-radiobtn-mixed--border-color--invalid--active\n )}: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{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[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(\n --theme-radiobtn-unchecked--background--invalid\n );--theme-radiobtn-unchecked--background--hover:var(\n --theme-radiobtn-unchecked--background--invalid--hover\n );--theme-radiobtn-unchecked--background--active:var(\n --theme-radiobtn-unchecked--background--invalid--active\n );--theme-radiobtn-unchecked--border-color:var(\n --theme-radiobtn-unchecked--border-color--invalid\n );--theme-radiobtn-unchecked--border-color--hover:var(\n --theme-radiobtn-unchecked--border-color--invalid--hover\n );--theme-radiobtn-unchecked--border-color--active:var(\n --theme-radiobtn-unchecked--border-color--invalid--active\n );--theme-radiobtn-checked--background:var(\n --theme-radiobtn-checked--background--invalid\n );--theme-radiobtn-checked--background--hover:var(\n --theme-radiobtn-checked--background--invalid--hover\n );--theme-radiobtn-checked--background--active:var(\n --theme-radiobtn-checked--background--invalid--active\n );--theme-radiobtn-checked--border-color:var(\n --theme-radiobtn-checked--border-color--invalid\n );--theme-radiobtn-checked--border-color--hover:var(\n --theme-radiobtn-checked--border-color--invalid--hover\n );--theme-radiobtn-checked--border-color--active:var(\n --theme-radiobtn-checked--border-color--invalid--active\n );--theme-radiobtn-mixed--background:var(\n --theme-radiobtn-mixed--background--invalid\n );--theme-radiobtn-mixed--background--hover:var(\n --theme-radiobtn-mixed--background--invalid--hover\n );--theme-radiobtn-mixed--background--active:var(\n --theme-radiobtn-mixed--background--invalid--active\n );--theme-radiobtn-mixed--border-color:var(\n --theme-radiobtn-mixed--border-color--invalid\n );--theme-radiobtn-mixed--border-color--hover:var(\n --theme-radiobtn-mixed--border-color--invalid--hover\n );--theme-radiobtn-mixed--border-color--active:var(\n --theme-radiobtn-mixed--border-color--invalid--active\n )}: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{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[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)}";
7
+ 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{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .radio-checkmark{all:unset;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}:host .radio-button{height:1.5rem;width:1.5rem;display:flex;align-items:center;justify-content:center}:host label{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%}:host .checkmark{border-radius:100px;background-color:var(--theme-color-primary--contrast);width:0.5rem;height:0.5rem}:host .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color)}:host(:hover) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--hover)}:host(:active) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--active)}:host(.checked) .radio-checkmark,:host([indeterminate]) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color)}:host(.checked:hover) .radio-checkmark,:host([indeterminate]:hover) .radio-checkmark{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) .radio-checkmark,:host([indeterminate]:active) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .radio-checkmark{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) .radio-checkmark,:host([indeterminate].disabled) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--disabled)}:host(:focus-visible){outline:0.0625rem solid var(--theme-color-focus-bdr);outline-offset:var(--theme-radiobtn--focus--outline-offset)}ix-typography{margin:0.125rem 0 0.125rem 0.5rem}:host(.ix-info:not(.disabled)) .radio-checkmark{--theme-radiobtn-unchecked--background:var(\n --theme-radiobtn-unchecked--background--info\n );--theme-radiobtn-unchecked--background--hover:var(\n --theme-radiobtn-unchecked--background--info--hover\n );--theme-radiobtn-unchecked--background--active:var(\n --theme-radiobtn-unchecked--background--info--active\n );--theme-radiobtn-unchecked--border-color:var(\n --theme-radiobtn-unchecked--border-color--info\n );--theme-radiobtn-unchecked--border-color--hover:var(\n --theme-radiobtn-unchecked--border-color--info--hover\n );--theme-radiobtn-unchecked--border-color--active:var(\n --theme-radiobtn-unchecked--border-color--info--active\n );--theme-radiobtn-checked--background:var(\n --theme-radiobtn-checked--background--info\n );--theme-radiobtn-checked--background--hover:var(\n --theme-radiobtn-checked--background--info--hover\n );--theme-radiobtn-checked--background--active:var(\n --theme-radiobtn-checked--background--info--active\n );--theme-radiobtn-checked--border-color:var(\n --theme-radiobtn-checked--border-color--info\n );--theme-radiobtn-checked--border-color--hover:var(\n --theme-radiobtn-checked--border-color--info--hover\n );--theme-radiobtn-checked--border-color--active:var(\n --theme-radiobtn-checked--border-color--info--active\n );--theme-radiobtn-mixed--background:var(\n --theme-radiobtn-mixed--background--info\n );--theme-radiobtn-mixed--background--hover:var(\n --theme-radiobtn-mixed--background--info--hover\n );--theme-radiobtn-mixed--background--active:var(\n --theme-radiobtn-mixed--background--info--active\n );--theme-radiobtn-mixed--border-color:var(\n --theme-radiobtn-mixed--border-color--info\n );--theme-radiobtn-mixed--border-color--hover:var(\n --theme-radiobtn-mixed--border-color--info--hover\n );--theme-radiobtn-mixed--border-color--active:var(\n --theme-radiobtn-mixed--border-color--info--active\n )}:host(.ix-info) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color)}:host(.ix-info:hover) .radio-checkmark{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) .radio-checkmark{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) .radio-checkmark,:host(.ix-info[indeterminate]) .radio-checkmark{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) .radio-checkmark,:host(.ix-info[indeterminate]:hover) .radio-checkmark{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) .radio-checkmark,:host(.ix-info[indeterminate]:active) .radio-checkmark{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) .radio-checkmark{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) .radio-checkmark,:host(.ix-info[indeterminate].disabled) .radio-checkmark{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)) .radio-checkmark{--theme-radiobtn-unchecked--background:var(\n --theme-radiobtn-unchecked--background--warning\n );--theme-radiobtn-unchecked--background--hover:var(\n --theme-radiobtn-unchecked--background--warning--hover\n );--theme-radiobtn-unchecked--background--active:var(\n --theme-radiobtn-unchecked--background--warning--active\n );--theme-radiobtn-unchecked--border-color:var(\n --theme-radiobtn-unchecked--border-color--warning\n );--theme-radiobtn-unchecked--border-color--hover:var(\n --theme-radiobtn-unchecked--border-color--warning--hover\n );--theme-radiobtn-unchecked--border-color--active:var(\n --theme-radiobtn-unchecked--border-color--warning--active\n );--theme-radiobtn-checked--background:var(\n --theme-radiobtn-checked--background--warning\n );--theme-radiobtn-checked--background--hover:var(\n --theme-radiobtn-checked--background--warning--hover\n );--theme-radiobtn-checked--background--active:var(\n --theme-radiobtn-checked--background--warning--active\n );--theme-radiobtn-checked--border-color:var(\n --theme-radiobtn-checked--border-color--warning\n );--theme-radiobtn-checked--border-color--hover:var(\n --theme-radiobtn-checked--border-color--warning--hover\n );--theme-radiobtn-checked--border-color--active:var(\n --theme-radiobtn-checked--border-color--warning--active\n );--theme-radiobtn-mixed--background:var(\n --theme-radiobtn-mixed--background--warning\n );--theme-radiobtn-mixed--background--hover:var(\n --theme-radiobtn-mixed--background--warning--hover\n );--theme-radiobtn-mixed--background--active:var(\n --theme-radiobtn-mixed--background--warning--active\n );--theme-radiobtn-mixed--border-color:var(\n --theme-radiobtn-mixed--border-color--warning\n );--theme-radiobtn-mixed--border-color--hover:var(\n --theme-radiobtn-mixed--border-color--warning--hover\n );--theme-radiobtn-mixed--border-color--active:var(\n --theme-radiobtn-mixed--border-color--warning--active\n )}:host(.ix-warning) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color)}:host(.ix-warning:hover) .radio-checkmark{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) .radio-checkmark{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) .radio-checkmark,:host(.ix-warning[indeterminate]) .radio-checkmark{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) .radio-checkmark,:host(.ix-warning[indeterminate]:hover) .radio-checkmark{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) .radio-checkmark,:host(.ix-warning[indeterminate]:active) .radio-checkmark{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) .radio-checkmark{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) .radio-checkmark,:host(.ix-warning[indeterminate].disabled) .radio-checkmark{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)) .radio-checkmark{--theme-radiobtn-unchecked--background:var(\n --theme-radiobtn-unchecked--background--invalid\n );--theme-radiobtn-unchecked--background--hover:var(\n --theme-radiobtn-unchecked--background--invalid--hover\n );--theme-radiobtn-unchecked--background--active:var(\n --theme-radiobtn-unchecked--background--invalid--active\n );--theme-radiobtn-unchecked--border-color:var(\n --theme-radiobtn-unchecked--border-color--invalid\n );--theme-radiobtn-unchecked--border-color--hover:var(\n --theme-radiobtn-unchecked--border-color--invalid--hover\n );--theme-radiobtn-unchecked--border-color--active:var(\n --theme-radiobtn-unchecked--border-color--invalid--active\n );--theme-radiobtn-checked--background:var(\n --theme-radiobtn-checked--background--invalid\n );--theme-radiobtn-checked--background--hover:var(\n --theme-radiobtn-checked--background--invalid--hover\n );--theme-radiobtn-checked--background--active:var(\n --theme-radiobtn-checked--background--invalid--active\n );--theme-radiobtn-checked--border-color:var(\n --theme-radiobtn-checked--border-color--invalid\n );--theme-radiobtn-checked--border-color--hover:var(\n --theme-radiobtn-checked--border-color--invalid--hover\n );--theme-radiobtn-checked--border-color--active:var(\n --theme-radiobtn-checked--border-color--invalid--active\n );--theme-radiobtn-mixed--background:var(\n --theme-radiobtn-mixed--background--invalid\n );--theme-radiobtn-mixed--background--hover:var(\n --theme-radiobtn-mixed--background--invalid--hover\n );--theme-radiobtn-mixed--background--active:var(\n --theme-radiobtn-mixed--background--invalid--active\n );--theme-radiobtn-mixed--border-color:var(\n --theme-radiobtn-mixed--border-color--invalid\n );--theme-radiobtn-mixed--border-color--hover:var(\n --theme-radiobtn-mixed--border-color--invalid--hover\n );--theme-radiobtn-mixed--border-color--active:var(\n --theme-radiobtn-mixed--border-color--invalid--active\n )}:host(.ix-invalid--required) .radio-checkmark{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) .radio-checkmark{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) .radio-checkmark{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) .radio-checkmark,:host(.ix-invalid--required[indeterminate]) .radio-checkmark{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) .radio-checkmark,:host(.ix-invalid--required[indeterminate]:hover) .radio-checkmark{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) .radio-checkmark,:host(.ix-invalid--required[indeterminate]:active) .radio-checkmark{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) .radio-checkmark{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) .radio-checkmark,:host(.ix-invalid--required[indeterminate].disabled) .radio-checkmark{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)) .radio-checkmark{--theme-radiobtn-unchecked--background:var(\n --theme-radiobtn-unchecked--background--invalid\n );--theme-radiobtn-unchecked--background--hover:var(\n --theme-radiobtn-unchecked--background--invalid--hover\n );--theme-radiobtn-unchecked--background--active:var(\n --theme-radiobtn-unchecked--background--invalid--active\n );--theme-radiobtn-unchecked--border-color:var(\n --theme-radiobtn-unchecked--border-color--invalid\n );--theme-radiobtn-unchecked--border-color--hover:var(\n --theme-radiobtn-unchecked--border-color--invalid--hover\n );--theme-radiobtn-unchecked--border-color--active:var(\n --theme-radiobtn-unchecked--border-color--invalid--active\n );--theme-radiobtn-checked--background:var(\n --theme-radiobtn-checked--background--invalid\n );--theme-radiobtn-checked--background--hover:var(\n --theme-radiobtn-checked--background--invalid--hover\n );--theme-radiobtn-checked--background--active:var(\n --theme-radiobtn-checked--background--invalid--active\n );--theme-radiobtn-checked--border-color:var(\n --theme-radiobtn-checked--border-color--invalid\n );--theme-radiobtn-checked--border-color--hover:var(\n --theme-radiobtn-checked--border-color--invalid--hover\n );--theme-radiobtn-checked--border-color--active:var(\n --theme-radiobtn-checked--border-color--invalid--active\n );--theme-radiobtn-mixed--background:var(\n --theme-radiobtn-mixed--background--invalid\n );--theme-radiobtn-mixed--background--hover:var(\n --theme-radiobtn-mixed--background--invalid--hover\n );--theme-radiobtn-mixed--background--active:var(\n --theme-radiobtn-mixed--background--invalid--active\n );--theme-radiobtn-mixed--border-color:var(\n --theme-radiobtn-mixed--border-color--invalid\n );--theme-radiobtn-mixed--border-color--hover:var(\n --theme-radiobtn-mixed--border-color--invalid--hover\n );--theme-radiobtn-mixed--border-color--active:var(\n --theme-radiobtn-mixed--border-color--invalid--active\n )}:host(.ix-invalid) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color)}:host(.ix-invalid:hover) .radio-checkmark{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) .radio-checkmark{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) .radio-checkmark,:host(.ix-invalid[indeterminate]) .radio-checkmark{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) .radio-checkmark,:host(.ix-invalid[indeterminate]:hover) .radio-checkmark{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) .radio-checkmark,:host(.ix-invalid[indeterminate]:active) .radio-checkmark{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) .radio-checkmark{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) .radio-checkmark,:host(.ix-invalid[indeterminate].disabled) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--disabled)}";
9
8
 
10
9
  const Radio = class {
11
10
  constructor(hostRef) {
@@ -34,11 +33,9 @@ const Radio = class {
34
33
  * @since 3.0.0
35
34
  */
36
35
  this.required = false;
37
- this.inputRef = makeRef.makeRef((radiobuttonRef) => {
38
- radiobuttonRef.checked = this.checked;
39
- });
40
36
  }
41
- setCheckedState(newChecked) {
37
+ /** @internal */
38
+ async setCheckedState(newChecked) {
42
39
  if (this.checked) {
43
40
  return;
44
41
  }
@@ -49,8 +46,6 @@ const Radio = class {
49
46
  this.checked = newChecked;
50
47
  }
51
48
  async onCheckedChange() {
52
- const radiobuttonRef = await this.inputRef.waitForCurrent();
53
- radiobuttonRef.checked = this.checked;
54
49
  this.updateFormInternalValue();
55
50
  }
56
51
  onValueChange() {
@@ -81,6 +76,33 @@ const Radio = class {
81
76
  this.formInternals.setFormValue(null);
82
77
  }
83
78
  }
79
+ onKeyDown(event) {
80
+ if (this.disabled) {
81
+ return;
82
+ }
83
+ let preventEvent = false;
84
+ if (event.code === 'Space') {
85
+ preventEvent = true;
86
+ this.setCheckedState(true);
87
+ }
88
+ const closestRadioGroup = this.hostElement.closest('ix-radio-group');
89
+ switch (event.code) {
90
+ case 'ArrowUp':
91
+ case 'ArrowLeft':
92
+ preventEvent = true;
93
+ closestRadioGroup === null || closestRadioGroup === void 0 ? void 0 : closestRadioGroup.setCheckedToNextItem(this.hostElement, false);
94
+ break;
95
+ case 'ArrowDown':
96
+ case 'ArrowRight':
97
+ preventEvent = true;
98
+ closestRadioGroup === null || closestRadioGroup === void 0 ? void 0 : closestRadioGroup.setCheckedToNextItem(this.hostElement, true);
99
+ break;
100
+ }
101
+ if (preventEvent) {
102
+ event.stopPropagation();
103
+ event.preventDefault();
104
+ }
105
+ }
84
106
  /** @internal */
85
107
  hasValidValue() {
86
108
  return Promise.resolve(this.checked);
@@ -90,18 +112,21 @@ const Radio = class {
90
112
  return Promise.resolve(this.formInternals.form);
91
113
  }
92
114
  render() {
93
- var _a;
94
- return (index.h(index.Host, { key: 'e74cc1b490830412ff329d586c35914a8b55abb8', "aria-checked": a11y.a11yBoolean(this.checked), "aria-disabled": a11y.a11yBoolean(this.disabled), role: "radio", class: {
115
+ let tabIndex = 0;
116
+ if (this.disabled) {
117
+ tabIndex = -1;
118
+ }
119
+ return (index.h(index.Host, { key: '0a08dcbeaaf21bb9063ff44dbb9b7fec0bd18b85', "aria-checked": a11y.a11yBoolean(this.checked), "aria-disabled": a11y.a11yBoolean(this.disabled), role: "radio", tabindex: tabIndex, class: {
95
120
  disabled: this.disabled,
96
121
  checked: this.checked,
97
- }, onBlur: () => this.ixBlur.emit() }, index.h("label", { key: '2e2736e762d21e1e254078dc07e0e6754c9f0d60' }, index.h("div", { key: 'c22603f3a435fc4271b092af4010208ab7d43eda', class: "radio-button" }, index.h("input", { key: 'd56beba76c83ab1ccf2e3eaea89c6d1c285e3c62', "aria-checked": a11y.a11yBoolean(this.checked), required: this.required, disabled: this.disabled, checked: this.checked, name: this.name, ref: this.inputRef, type: "radio", value: (_a = this.value) !== null && _a !== void 0 ? _a : 'on', onChange: () => {
98
- const ref = this.inputRef.current;
99
- if (ref) {
100
- this.setCheckedState(ref.checked);
101
- }
102
- } }), index.h("button", { key: '70747f5c03103161f8808d996b15720af681c54d', disabled: this.disabled, class: {
122
+ }, onClick: () => {
123
+ if (this.disabled)
124
+ return;
125
+ this.setCheckedState(true);
126
+ }, onKeyDown: (event) => this.onKeyDown(event), onBlur: () => this.ixBlur.emit() }, index.h("label", { key: 'ba82e05023a706e366cede669060ec11d2848754' }, index.h("div", { key: 'c3b75eea221618adc27dec099089dac0f84a91ac', class: "radio-button" }, index.h("div", { key: 'd5d10cfce1442f641f939aa16a6feb79fc38caf0', "aria-hidden": "true", class: {
127
+ ['radio-checkmark']: true,
103
128
  checked: this.checked,
104
- }, onClick: () => this.setCheckedState(!this.checked) }, index.h("div", { key: '3f2a5030726debb338686f95feabc123f64524bb', class: "checkmark", style: { visibility: this.checked ? 'visible' : 'hidden' } }))), this.label && (index.h("ix-typography", { key: '1beb22d26c2e6c759bfc6be64ad6a11b1c0d2d19', format: "label", textColor: this.disabled ? 'weak' : 'std' }, this.label, index.h("slot", { key: 'cbf06b0578d34daed1a952d2bb3346affaf384b6' }))))));
129
+ } }, index.h("div", { key: 'fe7c6830a7fb254291fe95d4310b59bd32ed9492', class: "checkmark", style: { visibility: this.checked ? 'visible' : 'hidden' } }))), this.label && (index.h("ix-typography", { key: 'bc5fe1821b5686760eb7fa3959cf30b54cca40ee', format: "label", textColor: this.disabled ? 'weak' : 'std' }, this.label, index.h("slot", { key: 'a72b3d10cdcbaa398a6f59b9ce1d036f12e4819c' }))))));
105
130
  }
106
131
  static get formAssociated() { return true; }
107
132
  get hostElement() { return index.getElement(this); }
@@ -1 +1 @@
1
- {"version":3,"file":"ix-radio.entry.cjs.js","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@use 'mixins/shadow-dom/component';\n\n:host {\n display: inline-block;\n position: relative;\n\n @include component.ix-component;\n\n button {\n all: unset;\n\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 border: 1px solid white;\n border-radius: 100px;\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 .radio-button {\n height: 1.5rem;\n width: 1.5rem;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n label {\n display: flex;\n\n justify-content: flex-start;\n align-items: center;\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 pointer-events: none;\n\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([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 ix-typography {\n margin: 0.125rem 0 0.125rem 0.5rem;\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 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}[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(\n --theme-radiobtn-#{$state}--background--#{$type}\n );\n --theme-radiobtn-#{$state}--background--hover: var(\n --theme-radiobtn-#{$state}--background--#{$type}--hover\n );\n --theme-radiobtn-#{$state}--background--active: var(\n --theme-radiobtn-#{$state}--background--#{$type}--active\n );\n\n --theme-radiobtn-#{$state}--border-color: var(\n --theme-radiobtn-#{$state}--border-color--#{$type}\n );\n --theme-radiobtn-#{$state}--border-color--hover: var(\n --theme-radiobtn-#{$state}--border-color--#{$type}--hover\n );\n --theme-radiobtn-#{$state}--border-color--active: var(\n --theme-radiobtn-#{$state}--border-color--#{$type}--active\n );\n}\n\n@include radio-base();\n@include radio-variant($selector: '.ix-info') {\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($selector: '.ix-warning') {\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($selector: '.ix-invalid--required') {\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($selector: '.ix-invalid') {\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 {\n ClassMutationObserver,\n createClassMutationObserver,\n IxFormComponent,\n} from '../utils/input';\nimport { a11yBoolean } from '../utils/a11y';\n\n/**\n * @form-ready\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 * Requires the radio component and its group to be checked for the form to be submittable\n *\n * @since 3.0.0\n */\n @Prop({ reflect: true }) required: 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 * Event emitted when the radio is blurred\n */\n @Event() ixBlur!: EventEmitter<void>;\n\n private classMutationObserver?: ClassMutationObserver;\n\n private readonly 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 connectedCallback(): void {\n const parent = this.hostElement.closest('ix-radio-group');\n if (parent) {\n this.classMutationObserver = createClassMutationObserver(parent, () => {\n this.hostElement.classList.toggle(\n 'ix-invalid--required',\n parent.classList.contains('ix-invalid--required')\n );\n });\n }\n }\n\n disconnectedCallback(): void {\n if (this.classMutationObserver) {\n this.classMutationObserver.destroy();\n }\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={a11yBoolean(this.checked)}\n aria-disabled={a11yBoolean(this.disabled)}\n role=\"radio\"\n class={{\n disabled: this.disabled,\n checked: this.checked,\n }}\n onBlur={() => this.ixBlur.emit()}\n >\n <label>\n <div class=\"radio-button\">\n <input\n aria-checked={a11yBoolean(this.checked)}\n required={this.required}\n disabled={this.disabled}\n checked={this.checked}\n name={this.name}\n ref={this.inputRef}\n type=\"radio\"\n value={this.value ?? 'on'}\n onChange={() => {\n const ref = this.inputRef.current;\n if (ref) {\n this.setCheckedState(ref.checked);\n }\n }}\n />\n <button\n disabled={this.disabled}\n class={{\n checked: this.checked,\n }}\n onClick={() => this.setCheckedState(!this.checked)}\n >\n <div\n class=\"checkmark\"\n style={{ visibility: this.checked ? 'visible' : 'hidden' }}\n ></div>\n </button>\n </div>\n {this.label && (\n <ix-typography\n format=\"label\"\n textColor={this.disabled ? 'weak' : 'std'}\n >\n {this.label}\n <slot></slot>\n </ix-typography>\n )}\n </label>\n </Host>\n );\n }\n}\n"],"names":["makeRef","createClassMutationObserver","h","Host","a11yBoolean"],"mappings":";;;;;;;AAAA,MAAM,QAAQ,GAAG,u4kBAAu4kB;;MCsC34kB,KAAK,GAAA,MAAA;AANlB,IAAA,WAAA,CAAA,OAAA,EAAA;;;;;;;;;;;;AAyBE;;AAEG;AACK,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;AAEjC;;AAEG;AACqC,QAAA,IAAO,CAAA,OAAA,GAAY,KAAK;AAEhE;;;;AAIG;AACsB,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;QAmBjC,IAAA,CAAA,QAAQ,GAAGA,eAAO,CAAmB,CAAC,cAAc,KAAI;AACvE,YAAA,cAAc,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO;AACvC,SAAC,CAAC;AA6HH;AA3HS,IAAA,eAAe,CAAC,UAAmB,EAAA;AACzC,QAAA,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB;;QAEF,MAAM,MAAM,GAAG,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC;AAClD,QAAA,IAAI,MAAM,CAAC,gBAAgB,EAAE;YAC3B;;AAGF,QAAA,IAAI,CAAC,OAAO,GAAG,UAAU;;AAI3B,IAAA,MAAM,eAAe,GAAA;QACnB,MAAM,cAAc,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,cAAc,EAAE;AAC3D,QAAA,cAAc,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO;QAEr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I,CAAC,OAAO,CAAC,EAAA,EAElDA,OACE,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,WAAW,EACjB,KAAK,EAAE,EAAE,UAAU,EAAE,IAAI,CAAC,OAAO,GAAG,SAAS,GAAG,QAAQ,EAAE,EACrD,CAAA,CACA,CACL,EACL,IAAI,CAAC,KAAK,KACTA,4EACE,MAAM,EAAC,OAAO,EACd,SAAS,EAAE,IAAI,CAAC,QAAQ,GAAG,MAAM,GAAG,KAAK,EAAA,EAExC,IAAI,CAAC,KAAK,EACXA,OAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAa,CACC,CACjB,CACK,CACH;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ix-radio.entry.cjs.js","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@use 'mixins/shadow-dom/component';\n\n:host {\n display: inline-block;\n position: relative;\n\n @include component.ix-component;\n\n .radio-checkmark {\n all: unset;\n\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 border: 1px solid white;\n border-radius: 100px;\n }\n\n .radio-button {\n height: 1.5rem;\n width: 1.5rem;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n label {\n display: flex;\n\n justify-content: flex-start;\n align-items: center;\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 .radio-checkmark {\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 .radio-checkmark {\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 .radio-checkmark {\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 .radio-checkmark {\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 .radio-checkmark {\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 .radio-checkmark {\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 pointer-events: none;\n\n .radio-checkmark {\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([indeterminate].disabled) {\n .radio-checkmark {\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 :host(:focus-visible) {\n outline: 0.0625rem solid var(--theme-color-focus-bdr);\n outline-offset: var(--theme-radiobtn--focus--outline-offset);\n }\n\n ix-typography {\n margin: 0.125rem 0 0.125rem 0.5rem;\n }\n}\n\n@mixin radio-variant($selector) {\n :host(#{$selector}:not(.disabled)) {\n .radio-checkmark {\n @content;\n }\n }\n\n :host(#{$selector}) {\n .radio-checkmark {\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 .radio-checkmark {\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 .radio-checkmark {\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 .radio-checkmark {\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 .radio-checkmark {\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 .radio-checkmark {\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 .radio-checkmark {\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}[indeterminate].disabled) {\n .radio-checkmark {\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(\n --theme-radiobtn-#{$state}--background--#{$type}\n );\n --theme-radiobtn-#{$state}--background--hover: var(\n --theme-radiobtn-#{$state}--background--#{$type}--hover\n );\n --theme-radiobtn-#{$state}--background--active: var(\n --theme-radiobtn-#{$state}--background--#{$type}--active\n );\n\n --theme-radiobtn-#{$state}--border-color: var(\n --theme-radiobtn-#{$state}--border-color--#{$type}\n );\n --theme-radiobtn-#{$state}--border-color--hover: var(\n --theme-radiobtn-#{$state}--border-color--#{$type}--hover\n );\n --theme-radiobtn-#{$state}--border-color--active: var(\n --theme-radiobtn-#{$state}--border-color--#{$type}--active\n );\n}\n\n@include radio-base();\n@include radio-variant($selector: '.ix-info') {\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($selector: '.ix-warning') {\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($selector: '.ix-invalid--required') {\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($selector: '.ix-invalid') {\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 Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n Watch,\n} from '@stencil/core';\nimport { a11yBoolean } from '../utils/a11y';\nimport {\n ClassMutationObserver,\n createClassMutationObserver,\n IxFormComponent,\n} from '../utils/input';\n\n/**\n * @form-ready\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 * Requires the radio component and its group to be checked for the form to be submittable\n *\n * @since 3.0.0\n */\n @Prop({ reflect: true }) required: 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 * Event emitted when the radio is blurred\n */\n @Event() ixBlur!: EventEmitter<void>;\n\n private classMutationObserver?: ClassMutationObserver;\n\n /** @internal */\n @Method()\n async 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 this.updateFormInternalValue();\n }\n\n @Watch('value')\n onValueChange() {\n this.valueChange.emit(this.value);\n }\n\n connectedCallback(): void {\n const parent = this.hostElement.closest('ix-radio-group');\n if (parent) {\n this.classMutationObserver = createClassMutationObserver(parent, () => {\n this.hostElement.classList.toggle(\n 'ix-invalid--required',\n parent.classList.contains('ix-invalid--required')\n );\n });\n }\n }\n\n disconnectedCallback(): void {\n if (this.classMutationObserver) {\n this.classMutationObserver.destroy();\n }\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 onKeyDown(event: KeyboardEvent) {\n if (this.disabled) {\n return;\n }\n let preventEvent = false;\n\n if (event.code === 'Space') {\n preventEvent = true;\n this.setCheckedState(true);\n }\n const closestRadioGroup = this.hostElement.closest('ix-radio-group');\n\n switch (event.code) {\n case 'ArrowUp':\n case 'ArrowLeft':\n preventEvent = true;\n closestRadioGroup?.setCheckedToNextItem(this.hostElement, false);\n break;\n case 'ArrowDown':\n case 'ArrowRight':\n preventEvent = true;\n closestRadioGroup?.setCheckedToNextItem(this.hostElement, true);\n break;\n default:\n break;\n }\n\n if (preventEvent) {\n event.stopPropagation();\n event.preventDefault();\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 let tabIndex = 0;\n\n if (this.disabled) {\n tabIndex = -1;\n }\n\n return (\n <Host\n aria-checked={a11yBoolean(this.checked)}\n aria-disabled={a11yBoolean(this.disabled)}\n role=\"radio\"\n tabindex={tabIndex}\n class={{\n disabled: this.disabled,\n checked: this.checked,\n }}\n onClick={() => {\n if (this.disabled) return;\n this.setCheckedState(true);\n }}\n onKeyDown={(event: KeyboardEvent) => this.onKeyDown(event)}\n onBlur={() => this.ixBlur.emit()}\n >\n <label>\n <div class=\"radio-button\">\n <div\n aria-hidden=\"true\"\n class={{\n ['radio-checkmark']: true,\n checked: this.checked,\n }}\n >\n <div\n class=\"checkmark\"\n style={{ visibility: this.checked ? 'visible' : 'hidden' }}\n ></div>\n </div>\n </div>\n {this.label && (\n <ix-typography\n format=\"label\"\n textColor={this.disabled ? 'weak' : 'std'}\n >\n {this.label}\n <slot></slot>\n </ix-typography>\n )}\n </label>\n </Host>\n );\n }\n}\n"],"names":["createClassMutationObserver","h","Host","a11yBoolean"],"mappings":";;;;;;AAAA,MAAM,QAAQ,GAAG,u+lBAAu+lB;;MCqC3+lB,KAAK,GAAA,MAAA;AANlB,IAAA,WAAA,CAAA,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EACrD,CAAA,CACH,CACF,EACL,IAAI,CAAC,KAAK,KACTA,4EACE,MAAM,EAAC,OAAO,EACd,SAAS,EAAE,IAAI,CAAC,QAAQ,GAAG,MAAM,GAAG,KAAK,EAAA,EAExC,IAAI,CAAC,KAAK,EACXA,OAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAa,CACC,CACjB,CACK,CACH;;;;;;;;;;;;;"}
@@ -48,6 +48,13 @@ const Select = class {
48
48
  * A Boolean attribute indicating that an option with a non-empty string value must be selected
49
49
  */
50
50
  this.required = false;
51
+ /**
52
+ * ARIA label for the chevron down icon button
53
+ * Will be set as aria-label on the nested HTML button element
54
+ *
55
+ * @since 3.2.0
56
+ */
57
+ this.ariaLabelChevronDownIconButton = 'Open select dropdown';
51
58
  /**
52
59
  * Current selected value.
53
60
  * This corresponds to the value property of ix-select-items
@@ -89,10 +96,18 @@ const Select = class {
89
96
  * Information inside of dropdown if no items where found with current filter text
90
97
  */
91
98
  this.i18nNoMatches = 'No matches';
99
+ /**
100
+ * Chip label for all selected items in multiple mode.
101
+ */
102
+ this.i18nAllSelected = 'All';
92
103
  /**
93
104
  * Hide list header
94
105
  */
95
106
  this.hideListHeader = false;
107
+ /**
108
+ * Show "all" chip when all items are selected in multiple mode
109
+ */
110
+ this.collapseMultipleSelection = false;
96
111
  this.dropdownShow = false;
97
112
  this.selectedLabels = [];
98
113
  this.isDropdownEmpty = false;
@@ -214,6 +229,14 @@ const Select = class {
214
229
  return;
215
230
  }
216
231
  this.updateSelection();
232
+ if (this.isMultipleMode && this.inputFilterText) {
233
+ this.clearInput();
234
+ this.removeHiddenFromItems();
235
+ if (this.arrowFocusController) {
236
+ this.arrowFocusController.items = this.visibleNonShadowItems;
237
+ }
238
+ this.navigationItem = undefined;
239
+ }
217
240
  }
218
241
  emitAddItem(value) {
219
242
  var _a;
@@ -532,6 +555,24 @@ const Select = class {
532
555
  this.editable &&
533
556
  this.inputFilterText);
534
557
  }
558
+ shouldDisplayAllChip() {
559
+ return (this.selectedItems.length === this.items.length &&
560
+ this.collapseMultipleSelection);
561
+ }
562
+ renderAllChip() {
563
+ return (index.h("ix-filter-chip", { disabled: this.disabled || this.readonly, ariaLabelCloseIconButton: this.i18nAllSelected, onCloseClick: (e) => {
564
+ e.preventDefault();
565
+ e.stopPropagation();
566
+ this.clear();
567
+ } }, `${this.i18nAllSelected} (${this.selectedItems.length})`));
568
+ }
569
+ renderChip(item) {
570
+ return (index.h("ix-filter-chip", { disabled: this.disabled || this.readonly, key: item.value, onCloseClick: (e) => {
571
+ e.preventDefault();
572
+ e.stopPropagation();
573
+ this.itemClick(item.value);
574
+ } }, item.label));
575
+ }
535
576
  onValidationChange({ isInvalid, isInvalidByRequired, isValid, isInfo, isWarning, }) {
536
577
  this.isInvalid = isInvalid || isInvalidByRequired;
537
578
  this.isValid = isValid;
@@ -571,9 +612,9 @@ const Select = class {
571
612
  }
572
613
  render() {
573
614
  var _a, _b, _c, _d;
574
- return (index.h(index.Host, { key: '616b4904936081cc06fea9f96ba1534ad9c72072', "aria-disabled": a11y.a11yBoolean(this.disabled), class: {
615
+ return (index.h(index.Host, { key: '1610cc7dd06025b8dc05cd905eb1fad5574a64f8', "aria-disabled": a11y.a11yBoolean(this.disabled), class: {
575
616
  disabled: this.disabled,
576
- } }, index.h("ix-field-wrapper", { key: 'f5db8587baff69257f674e0563c36561fb38411e', 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 }, index.h("div", { key: '3daefd90f192731fa4b770e5da2c189c80551d3a', class: {
617
+ } }, index.h("ix-field-wrapper", { key: '912ca0f6e59259ea7de5fbb4857357fcf1db8370', 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 }, index.h("div", { key: '217ad54b9ca7a3e7aa9e60d89482b5fbc5389fc1', class: {
577
618
  select: true,
578
619
  disabled: this.disabled,
579
620
  readonly: this.readonly,
@@ -581,13 +622,11 @@ const Select = class {
581
622
  this.dropdownAnchorRef(ref);
582
623
  if (!this.editable)
583
624
  this.dropdownWrapperRef(ref);
584
- } }, index.h("div", { key: '61298dac05f4be62b06e0db6fd18299fee55ce76', class: "input-container" }, index.h("div", { key: '21c3950b5d76a4027de13baaf9c8054f90b4cbcf', class: "chips" }, this.isMultipleMode
585
- ? (_a = this.selectedItems) === null || _a === void 0 ? void 0 : _a.map((item) => (index.h("ix-filter-chip", { disabled: this.disabled || this.readonly, key: item.value, onCloseClick: (e) => {
586
- e.preventDefault();
587
- e.stopPropagation();
588
- this.itemClick(item.value);
589
- } }, item.label)))
590
- : '', index.h("div", { key: '31390b0957847514ace6fef5c3bfe68f9975a3c0', class: "trigger" }, index.h("input", { key: 'cce77232cf533ff29bd394cdaaf1698ab3bcdc5e', autocomplete: "off", "data-testid": "input", disabled: this.disabled, readOnly: this.readonly, required: this.required, type: "text", class: {
625
+ } }, index.h("div", { key: '58d7051c6e884dc714643dcf974f7424b4581dfb', class: "input-container" }, index.h("div", { key: 'be6fec6f27345d8033b9b56ca3760c953951b801', class: "chips" }, this.isMultipleMode &&
626
+ this.items.length !== 0 &&
627
+ (this.shouldDisplayAllChip()
628
+ ? this.renderAllChip()
629
+ : (_a = this.selectedItems) === null || _a === void 0 ? void 0 : _a.map((item) => this.renderChip(item))), index.h("div", { key: 'a9b0c66c623856ab4b2c34f136bbef89a4b3377f', class: "trigger" }, index.h("input", { key: '1920a23f38ce924fae991be2b5c4a760031aae1f', autocomplete: "off", "data-testid": "input", disabled: this.disabled, readOnly: this.readonly, required: this.required, type: "text", class: {
591
630
  'allow-clear': this.allowClear && !!((_b = this.selectedLabels) === null || _b === void 0 ? void 0 : _b.length),
592
631
  }, placeholder: this.placeholderValue(), value: (_c = this.inputValue) !== null && _c !== void 0 ? _c : '', ref: (ref) => {
593
632
  this.inputElement = ref;
@@ -606,7 +645,7 @@ const Select = class {
606
645
  : index$1.iconChevronDownSmall, variant: "subtle-tertiary", ref: (ref) => {
607
646
  if (this.editable)
608
647
  this.dropdownWrapperRef(ref);
609
- }, "aria-label": this.ariaLabelChevronDownIconButton }))))))), index.h("ix-dropdown", { key: '69e81d42ef04f3c65449fda9778596bde0c0c708', ref: (ref) => (this.dropdownElement = ref), show: this.dropdownShow, closeBehavior: this.isMultipleMode ? 'outside' : 'both', class: {
648
+ }, "aria-label": this.ariaLabelChevronDownIconButton }))))))), index.h("ix-dropdown", { key: '4fcf2193ed3cc0faea0e5de7acab2835751c5583', ref: (ref) => (this.dropdownElement = ref), show: this.dropdownShow, closeBehavior: this.isMultipleMode ? 'outside' : 'both', class: {
610
649
  'display-none': this.disabled || this.readonly,
611
650
  }, anchor: this.dropdownAnchorRef.waitForCurrent(), trigger: this.dropdownWrapperRef.waitForCurrent(), onShowChanged: (e) => this.dropdownVisibilityChanged(e), placement: "bottom-start", overwriteDropdownStyle: async () => {
612
651
  var _a, _b;
@@ -622,12 +661,12 @@ const Select = class {
622
661
  styleOverwrites.maxWidth = `min(${this.dropdownMaxWidth}, 100%)`;
623
662
  }
624
663
  return styleOverwrites;
625
- } }, index.h("div", { key: 'e3bbcfe9eaa0547b4f1818d1e96e2aba4b1ff199', class: {
664
+ } }, index.h("div", { key: '428a499947d6f345a83d075d1749831d6b1ab348', class: {
626
665
  'select-list-header': true,
627
666
  hidden: this.hideListHeader || this.isDropdownEmpty,
628
- }, title: this.i18nSelectListHeader, onClick: (e) => e.preventDefault() }, this.i18nSelectListHeader), index.h("slot", { key: 'd9d1060ee1fa7188a60e854d855c96cee1752355', onSlotchange: () => {
667
+ }, title: this.i18nSelectListHeader, onClick: (e) => e.preventDefault() }, this.i18nSelectListHeader), index.h("slot", { key: '9bffa4284f53b45116dfff2f142fd2f4aea2032c', onSlotchange: () => {
629
668
  this.updateSelection();
630
- } }), index.h("div", { key: '80906bd69760d63dd6b45c62337d8b9fdb1b3c3a', ref: (ref) => (this.customItemsContainerElement = ref) }), this.isAddItemVisible() ? (index.h("ix-dropdown-item", { "data-testid": "add-item", icon: index$1.iconPlus, class: {
669
+ } }), index.h("div", { key: 'a039c9fda5d61358d39ae9cdc08df2fc82b55fa7', ref: (ref) => (this.customItemsContainerElement = ref) }), this.isAddItemVisible() ? (index.h("ix-dropdown-item", { "data-testid": "add-item", icon: index$1.iconPlus, class: {
631
670
  'add-item': true,
632
671
  }, label: this.inputFilterText, onItemClick: (e) => {
633
672
  e.preventDefault();