@infineon/infineon-design-system-stencil 37.13.1--canary.1987.3a00aa50ac2f53008f1e351eabf4b0c340894bb9.0 → 37.14.0--canary.1964.0cc47e126559ad69071eedaaa2c1137ce976ec2c.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (622) hide show
  1. package/dist/cjs/ifx-alert_2.cjs.entry.js +1 -1
  2. package/dist/cjs/ifx-basic-table.cjs.entry.js +1 -1
  3. package/dist/cjs/ifx-card.cjs.entry.js +21 -11
  4. package/dist/cjs/ifx-card.cjs.entry.js.map +1 -1
  5. package/dist/cjs/ifx-card.entry.cjs.js.map +1 -1
  6. package/dist/cjs/ifx-checkbox-group.cjs.entry.js +3 -2
  7. package/dist/cjs/ifx-checkbox-group.cjs.entry.js.map +1 -1
  8. package/dist/cjs/ifx-checkbox-group.entry.cjs.js.map +1 -1
  9. package/dist/cjs/ifx-chip.ifx-chip-item.ifx-pagination.entry.cjs.js.map +1 -1
  10. package/dist/cjs/ifx-chip_3.cjs.entry.js +12 -12
  11. package/dist/cjs/ifx-chip_3.cjs.entry.js.map +1 -1
  12. package/dist/cjs/ifx-content-switcher-item.cjs.entry.js +1 -1
  13. package/dist/cjs/ifx-content-switcher.cjs.entry.js +1 -1
  14. package/dist/cjs/ifx-date-picker.cjs.entry.js +2 -2
  15. package/dist/cjs/ifx-download.cjs.entry.js +2 -2
  16. package/dist/cjs/ifx-dropdown-header.cjs.entry.js +1 -1
  17. package/dist/cjs/ifx-dropdown-separator.cjs.entry.js +1 -1
  18. package/dist/cjs/ifx-dropdown-trigger-button.cjs.entry.js +2 -2
  19. package/dist/cjs/ifx-dropdown-trigger.cjs.entry.js +1 -1
  20. package/dist/cjs/ifx-dropdown.cjs.entry.js +1 -1
  21. package/dist/cjs/ifx-faq.cjs.entry.js +1 -1
  22. package/dist/cjs/ifx-file-upload.cjs.entry.js +2 -2
  23. package/dist/cjs/ifx-filter-accordion.cjs.entry.js +2 -2
  24. package/dist/cjs/ifx-filter-bar.cjs.entry.js +1 -1
  25. package/dist/cjs/ifx-filter-search.cjs.entry.js +1 -1
  26. package/dist/cjs/ifx-filter-type-group.cjs.entry.js +1 -1
  27. package/dist/cjs/ifx-footer-column.cjs.entry.js +1 -1
  28. package/dist/cjs/ifx-footer.cjs.entry.js +4 -4
  29. package/dist/cjs/ifx-icon-button.cjs.entry.js +1 -1
  30. package/dist/cjs/ifx-icon.cjs.entry.js +1 -1
  31. package/dist/cjs/ifx-icons-preview.cjs.entry.js +1 -1
  32. package/dist/cjs/ifx-indicator.cjs.entry.js +2 -2
  33. package/dist/cjs/ifx-link.cjs.entry.js +1 -1
  34. package/dist/cjs/ifx-link.cjs.entry.js.map +1 -1
  35. package/dist/cjs/ifx-link.entry.cjs.js.map +1 -1
  36. package/dist/cjs/ifx-list-entry.cjs.entry.js +1 -1
  37. package/dist/cjs/ifx-modal.cjs.entry.js +2 -2
  38. package/dist/cjs/ifx-multiselect_2.cjs.entry.js +4 -4
  39. package/dist/cjs/ifx-navbar-item.cjs.entry.js +5 -5
  40. package/dist/cjs/ifx-navbar-profile.cjs.entry.js +3 -3
  41. package/dist/cjs/ifx-navbar.cjs.entry.js +3 -3
  42. package/dist/cjs/ifx-notification.cjs.entry.js +2 -2
  43. package/dist/cjs/ifx-overview-table.cjs.entry.js +1 -1
  44. package/dist/cjs/ifx-progress-bar.cjs.entry.js +1 -1
  45. package/dist/cjs/ifx-progress-bar.cjs.entry.js.map +1 -1
  46. package/dist/cjs/ifx-progress-bar.entry.cjs.js.map +1 -1
  47. package/dist/cjs/ifx-radio-button-group.cjs.entry.js +3 -2
  48. package/dist/cjs/ifx-radio-button-group.cjs.entry.js.map +1 -1
  49. package/dist/cjs/ifx-radio-button-group.entry.cjs.js.map +1 -1
  50. package/dist/cjs/ifx-radio-button.cjs.entry.js +2 -2
  51. package/dist/cjs/ifx-search-bar.cjs.entry.js +1 -1
  52. package/dist/cjs/ifx-search-field.cjs.entry.js +2 -2
  53. package/dist/cjs/ifx-segment.cjs.entry.js +1 -1
  54. package/dist/cjs/ifx-segmented-control.cjs.entry.js +5 -3
  55. package/dist/cjs/ifx-segmented-control.cjs.entry.js.map +1 -1
  56. package/dist/cjs/ifx-segmented-control.entry.cjs.js.map +1 -1
  57. package/dist/cjs/ifx-select.cjs.entry.js +27 -43
  58. package/dist/cjs/ifx-select.cjs.entry.js.map +1 -1
  59. package/dist/cjs/ifx-select.entry.cjs.js.map +1 -1
  60. package/dist/cjs/ifx-sidebar-item.cjs.entry.js +6 -6
  61. package/dist/cjs/ifx-sidebar-item.cjs.entry.js.map +1 -1
  62. package/dist/cjs/ifx-sidebar-item.entry.cjs.js.map +1 -1
  63. package/dist/cjs/ifx-sidebar-title.cjs.entry.js +1 -1
  64. package/dist/cjs/ifx-sidebar.cjs.entry.js +5 -5
  65. package/dist/cjs/ifx-slider.cjs.entry.js +4 -4
  66. package/dist/cjs/ifx-slider.cjs.entry.js.map +1 -1
  67. package/dist/cjs/ifx-slider.entry.cjs.js.map +1 -1
  68. package/dist/cjs/ifx-spinner.ifx-text-field.entry.cjs.js.map +1 -1
  69. package/dist/cjs/ifx-spinner_2.cjs.entry.js +7 -7
  70. package/dist/cjs/ifx-spinner_2.cjs.entry.js.map +1 -1
  71. package/dist/cjs/ifx-status.cjs.entry.js +1 -1
  72. package/dist/cjs/ifx-status.cjs.entry.js.map +1 -1
  73. package/dist/cjs/ifx-status.entry.cjs.js.map +1 -1
  74. package/dist/cjs/ifx-step.cjs.entry.js +5 -5
  75. package/dist/cjs/ifx-step.cjs.entry.js.map +1 -1
  76. package/dist/cjs/ifx-step.entry.cjs.js.map +1 -1
  77. package/dist/cjs/ifx-stepper.cjs.entry.js +2 -2
  78. package/dist/cjs/ifx-stepper.cjs.entry.js.map +1 -1
  79. package/dist/cjs/ifx-stepper.entry.cjs.js.map +1 -1
  80. package/dist/cjs/ifx-switch.cjs.entry.js +1 -1
  81. package/dist/cjs/ifx-switch.cjs.entry.js.map +1 -1
  82. package/dist/cjs/ifx-switch.entry.cjs.js.map +1 -1
  83. package/dist/cjs/ifx-tab.cjs.entry.js +1 -1
  84. package/dist/cjs/ifx-table.cjs.entry.js +2 -2
  85. package/dist/cjs/ifx-tabs.cjs.entry.js +2 -2
  86. package/dist/cjs/ifx-tag.cjs.entry.js +2 -2
  87. package/dist/cjs/ifx-tag.cjs.entry.js.map +1 -1
  88. package/dist/cjs/ifx-tag.entry.cjs.js.map +1 -1
  89. package/dist/cjs/ifx-templates-ui.cjs.entry.js +1 -1
  90. package/dist/cjs/ifx-textarea.cjs.entry.js +3 -3
  91. package/dist/cjs/ifx-textarea.cjs.entry.js.map +1 -1
  92. package/dist/cjs/ifx-textarea.entry.cjs.js.map +1 -1
  93. package/dist/cjs/ifx-tooltip.cjs.entry.js +4 -4
  94. package/dist/cjs/ifx-tooltip.cjs.entry.js.map +1 -1
  95. package/dist/cjs/ifx-tooltip.entry.cjs.js.map +1 -1
  96. package/dist/cjs/ifx-tree-view-item.cjs.entry.js +2 -2
  97. package/dist/cjs/ifx-tree-view.cjs.entry.js +1 -1
  98. package/dist/cjs/infineon-design-system-stencil.cjs.js +1 -1
  99. package/dist/cjs/loader.cjs.js +1 -1
  100. package/dist/collection/components/card/card.css +2 -2
  101. package/dist/collection/components/card/card.js +20 -10
  102. package/dist/collection/components/card/card.js.map +1 -1
  103. package/dist/collection/components/checkbox-group/checkbox-group.css +15 -2
  104. package/dist/collection/components/checkbox-group/checkbox-group.js +22 -1
  105. package/dist/collection/components/checkbox-group/checkbox-group.js.map +1 -1
  106. package/dist/collection/components/checkbox-group/checkbox-group.stories.js +10 -1
  107. package/dist/collection/components/checkbox-group/checkbox-group.stories.js.map +1 -1
  108. package/dist/collection/components/chip/chip-item/chip-item.js +2 -2
  109. package/dist/collection/components/chip/chip.js +8 -8
  110. package/dist/collection/components/content-switcher/content-switcher-item.js +1 -1
  111. package/dist/collection/components/content-switcher/content-switcher.js +1 -1
  112. package/dist/collection/components/date-picker/date-picker.js +2 -2
  113. package/dist/collection/components/download/download.js +2 -2
  114. package/dist/collection/components/dropdown/dropdown-header/dropdown-header.js +1 -1
  115. package/dist/collection/components/dropdown/dropdown-seperator/dropdown-separator.js +1 -1
  116. package/dist/collection/components/dropdown/dropdown-trigger/dropdown-trigger.js +1 -1
  117. package/dist/collection/components/dropdown/dropdown-trigger-button/dropdown-trigger-button.js +2 -2
  118. package/dist/collection/components/dropdown/dropdown.js +1 -1
  119. package/dist/collection/components/file-upload/file-upload.js +2 -2
  120. package/dist/collection/components/footer/footer-column.js +1 -1
  121. package/dist/collection/components/footer/footer.js +4 -4
  122. package/dist/collection/components/icon/infineonIconStencil.js +1 -1
  123. package/dist/collection/components/icon-button/icon-button.js +1 -1
  124. package/dist/collection/components/icons-preview/icons-preview.js +1 -1
  125. package/dist/collection/components/indicator/indicator.js +2 -2
  126. package/dist/collection/components/link/link.js +1 -1
  127. package/dist/collection/components/link/link.js.map +1 -1
  128. package/dist/collection/components/modal/modal.js +2 -2
  129. package/dist/collection/components/navigation/navbar/navbar-item.js +5 -5
  130. package/dist/collection/components/navigation/navbar/navbar-profile.js +3 -3
  131. package/dist/collection/components/navigation/navbar/navbar.js +3 -3
  132. package/dist/collection/components/navigation/sidebar/sidebar-item.css +2 -6
  133. package/dist/collection/components/navigation/sidebar/sidebar-item.js +5 -5
  134. package/dist/collection/components/navigation/sidebar/sidebar-title.js +1 -1
  135. package/dist/collection/components/navigation/sidebar/sidebar.js +5 -5
  136. package/dist/collection/components/notification/notification.js +2 -2
  137. package/dist/collection/components/overview-table/overview-table.js +1 -1
  138. package/dist/collection/components/pagination/pagination.css +5 -5
  139. package/dist/collection/components/pagination/pagination.js +1 -1
  140. package/dist/collection/components/pagination/pagination.js.map +1 -1
  141. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  142. package/dist/collection/components/progress-bar/progress-bar.js.map +1 -1
  143. package/dist/collection/components/radio-button/radio-button.js +2 -2
  144. package/dist/collection/components/radio-button-group/radio-button-group.css +14 -2
  145. package/dist/collection/components/radio-button-group/radio-button-group.js +22 -1
  146. package/dist/collection/components/radio-button-group/radio-button-group.js.map +1 -1
  147. package/dist/collection/components/radio-button-group/radio-button-group.stories.js +10 -1
  148. package/dist/collection/components/radio-button-group/radio-button-group.stories.js.map +1 -1
  149. package/dist/collection/components/search-bar/search-bar.js +1 -1
  150. package/dist/collection/components/search-field/search-field.js +2 -2
  151. package/dist/collection/components/segmented-control/segment/segment.js +1 -1
  152. package/dist/collection/components/segmented-control/segmented-control.css +17 -3
  153. package/dist/collection/components/segmented-control/segmented-control.js +44 -2
  154. package/dist/collection/components/segmented-control/segmented-control.js.map +1 -1
  155. package/dist/collection/components/segmented-control/segmented-control.stories.js +24 -2
  156. package/dist/collection/components/segmented-control/segmented-control.stories.js.map +1 -1
  157. package/dist/collection/components/select/multi-select/multiselect-option.js +4 -4
  158. package/dist/collection/components/select/single-select/select.css +0 -6
  159. package/dist/collection/components/select/single-select/select.js +26 -42
  160. package/dist/collection/components/select/single-select/select.js.map +1 -1
  161. package/dist/collection/components/slider/slider.css +0 -8
  162. package/dist/collection/components/slider/slider.js +3 -22
  163. package/dist/collection/components/slider/slider.js.map +1 -1
  164. package/dist/collection/components/slider/slider.stories.js +0 -14
  165. package/dist/collection/components/slider/slider.stories.js.map +1 -1
  166. package/dist/collection/components/spinner/spinner.js +2 -21
  167. package/dist/collection/components/spinner/spinner.js.map +1 -1
  168. package/dist/collection/components/spinner/spinner.stories.js +2 -16
  169. package/dist/collection/components/spinner/spinner.stories.js.map +1 -1
  170. package/dist/collection/components/status/status.js +1 -1
  171. package/dist/collection/components/status/status.js.map +1 -1
  172. package/dist/collection/components/stepper/step/step.css +0 -4
  173. package/dist/collection/components/stepper/step/step.js +4 -4
  174. package/dist/collection/components/stepper/stepper.js +2 -40
  175. package/dist/collection/components/stepper/stepper.js.map +1 -1
  176. package/dist/collection/components/stepper/stepper.stories.js +0 -30
  177. package/dist/collection/components/stepper/stepper.stories.js.map +1 -1
  178. package/dist/collection/components/switch/switch.js +1 -1
  179. package/dist/collection/components/switch/switch.js.map +1 -1
  180. package/dist/collection/components/table-advanced-version/filter-bar/filter-bar.js +1 -1
  181. package/dist/collection/components/table-advanced-version/filter-type-group/filter-accordion/filter-accordion.js +2 -2
  182. package/dist/collection/components/table-advanced-version/filter-type-group/filter-search/filter-search.js +1 -1
  183. package/dist/collection/components/table-advanced-version/filter-type-group/filter-type-group.js +1 -1
  184. package/dist/collection/components/table-advanced-version/list/list-entry/list-entry.js +1 -1
  185. package/dist/collection/components/table-advanced-version/table.js +2 -2
  186. package/dist/collection/components/table-basic-version/table.js +1 -1
  187. package/dist/collection/components/tabs/tab.js +1 -1
  188. package/dist/collection/components/tabs/tabs.js +2 -2
  189. package/dist/collection/components/tag/tag.css +5 -2
  190. package/dist/collection/components/tag/tag.js +1 -39
  191. package/dist/collection/components/tag/tag.js.map +1 -1
  192. package/dist/collection/components/tag/tag.stories.js +1 -29
  193. package/dist/collection/components/tag/tag.stories.js.map +1 -1
  194. package/dist/collection/components/templates/template/template.js +1 -1
  195. package/dist/collection/components/templates/templates-ui/templates-ui.js +1 -1
  196. package/dist/collection/components/text-field/text-field.css +3 -12
  197. package/dist/collection/components/text-field/text-field.js +4 -23
  198. package/dist/collection/components/text-field/text-field.js.map +1 -1
  199. package/dist/collection/components/text-field/text-field.stories.js +2 -17
  200. package/dist/collection/components/text-field/text-field.stories.js.map +1 -1
  201. package/dist/collection/components/textarea/textarea.css +2 -2
  202. package/dist/collection/components/textarea/textarea.js +2 -2
  203. package/dist/collection/components/tooltip/tooltip.js +4 -23
  204. package/dist/collection/components/tooltip/tooltip.js.map +1 -1
  205. package/dist/collection/components/tooltip/tooltip.stories.js +1 -16
  206. package/dist/collection/components/tooltip/tooltip.stories.js.map +1 -1
  207. package/dist/collection/components/tree-view/tree-view-item.js +2 -2
  208. package/dist/collection/components/tree-view/tree-view.js +1 -1
  209. package/dist/collection/stories/setup-and-installation/faq/faq.js +1 -1
  210. package/dist/components/ifx-accordion-item.js +1 -1
  211. package/dist/components/ifx-alert.js +1 -1
  212. package/dist/components/ifx-basic-table.js +1 -1
  213. package/dist/components/ifx-breadcrumb-item-label.js +1 -1
  214. package/dist/components/ifx-card.js +21 -11
  215. package/dist/components/ifx-card.js.map +1 -1
  216. package/dist/components/ifx-checkbox-group.js +5 -3
  217. package/dist/components/ifx-checkbox-group.js.map +1 -1
  218. package/dist/components/ifx-checkbox.js +1 -1
  219. package/dist/components/ifx-chip-item.js +1 -1
  220. package/dist/components/ifx-chip.js +1 -1
  221. package/dist/components/ifx-content-switcher-item.js +1 -1
  222. package/dist/components/ifx-content-switcher.js +1 -1
  223. package/dist/components/ifx-date-picker.js +3 -3
  224. package/dist/components/ifx-download.js +3 -3
  225. package/dist/components/ifx-dropdown-header.js +1 -1
  226. package/dist/components/ifx-dropdown-item.js +1 -1
  227. package/dist/components/ifx-dropdown-separator.js +1 -1
  228. package/dist/components/ifx-dropdown-trigger-button.js +3 -3
  229. package/dist/components/ifx-dropdown-trigger.js +1 -1
  230. package/dist/components/ifx-dropdown.js +1 -1
  231. package/dist/components/ifx-faq.js +3 -3
  232. package/dist/components/ifx-file-upload.js +5 -5
  233. package/dist/components/ifx-filter-accordion.js +4 -4
  234. package/dist/components/ifx-filter-bar.js +2 -2
  235. package/dist/components/ifx-filter-search.js +3 -3
  236. package/dist/components/ifx-filter-type-group.js +1 -1
  237. package/dist/components/ifx-footer-column.js +1 -1
  238. package/dist/components/ifx-footer.js +4 -4
  239. package/dist/components/ifx-icon-button.js +1 -1
  240. package/dist/components/ifx-icon.js +1 -1
  241. package/dist/components/ifx-icons-preview.js +5 -5
  242. package/dist/components/ifx-indicator.js +1 -1
  243. package/dist/components/ifx-link.js +1 -1
  244. package/dist/components/ifx-list-entry.js +4 -4
  245. package/dist/components/ifx-list.js +2 -2
  246. package/dist/components/ifx-modal.js +4 -4
  247. package/dist/components/ifx-multiselect-option.js +1 -1
  248. package/dist/components/ifx-multiselect.js +1 -1
  249. package/dist/components/ifx-navbar-item.js +7 -7
  250. package/dist/components/ifx-navbar-profile.js +3 -3
  251. package/dist/components/ifx-navbar.js +4 -4
  252. package/dist/components/ifx-notification.js +1 -1
  253. package/dist/components/ifx-overview-table.js +4 -4
  254. package/dist/components/ifx-pagination.js +1 -1
  255. package/dist/components/ifx-progress-bar.js +1 -1
  256. package/dist/components/ifx-radio-button-group.js +5 -3
  257. package/dist/components/ifx-radio-button-group.js.map +1 -1
  258. package/dist/components/ifx-radio-button.js +1 -1
  259. package/dist/components/ifx-search-bar.js +3 -3
  260. package/dist/components/ifx-search-field.js +1 -1
  261. package/dist/components/ifx-segment.js +2 -2
  262. package/dist/components/ifx-segmented-control.js +9 -5
  263. package/dist/components/ifx-segmented-control.js.map +1 -1
  264. package/dist/components/ifx-select.js +1 -1
  265. package/dist/components/ifx-set-filter.js +7 -7
  266. package/dist/components/ifx-sidebar-item.js +8 -8
  267. package/dist/components/ifx-sidebar-item.js.map +1 -1
  268. package/dist/components/ifx-sidebar-title.js +1 -1
  269. package/dist/components/ifx-sidebar.js +5 -5
  270. package/dist/components/ifx-slider.js +5 -6
  271. package/dist/components/ifx-slider.js.map +1 -1
  272. package/dist/components/ifx-spinner.js +1 -1
  273. package/dist/components/ifx-status.js +1 -1
  274. package/dist/components/ifx-status.js.map +1 -1
  275. package/dist/components/ifx-step.js +6 -6
  276. package/dist/components/ifx-step.js.map +1 -1
  277. package/dist/components/ifx-stepper.js +2 -4
  278. package/dist/components/ifx-stepper.js.map +1 -1
  279. package/dist/components/ifx-switch.js +1 -1
  280. package/dist/components/ifx-switch.js.map +1 -1
  281. package/dist/components/ifx-tab.js +1 -1
  282. package/dist/components/ifx-table.js +10 -10
  283. package/dist/components/ifx-tabs.js +3 -3
  284. package/dist/components/ifx-tag.js +4 -6
  285. package/dist/components/ifx-tag.js.map +1 -1
  286. package/dist/components/ifx-template.js +1 -1
  287. package/dist/components/ifx-templates-ui.js +8 -8
  288. package/dist/components/ifx-text-field.js +1 -1
  289. package/dist/components/ifx-textarea.js +3 -3
  290. package/dist/components/ifx-textarea.js.map +1 -1
  291. package/dist/components/ifx-tooltip.js +5 -6
  292. package/dist/components/ifx-tooltip.js.map +1 -1
  293. package/dist/components/ifx-tree-view-item.js +4 -4
  294. package/dist/components/ifx-tree-view.js +1 -1
  295. package/dist/components/{p-BeILQ55F.js → p-2JFFbyg-.js} +3 -3
  296. package/dist/components/{p-BeILQ55F.js.map → p-2JFFbyg-.js.map} +1 -1
  297. package/dist/components/{p-Cwianh3O.js → p-8wciosDA.js} +8 -8
  298. package/dist/components/{p-Cwianh3O.js.map → p-8wciosDA.js.map} +1 -1
  299. package/dist/components/{p-C-KteFFX.js → p-A0BhYJXW.js} +4 -4
  300. package/dist/components/{p-C-KteFFX.js.map → p-A0BhYJXW.js.map} +1 -1
  301. package/dist/components/{p-VdirQ-rJ.js → p-ADIPRswj.js} +30 -46
  302. package/dist/components/p-ADIPRswj.js.map +1 -0
  303. package/dist/components/{p-r7hBylnC.js → p-B-erGWs9.js} +4 -4
  304. package/dist/components/{p-r7hBylnC.js.map → p-B-erGWs9.js.map} +1 -1
  305. package/dist/components/{p-DUpz5Fu_.js → p-B2j8iujQ.js} +6 -6
  306. package/dist/components/{p-DUpz5Fu_.js.map → p-B2j8iujQ.js.map} +1 -1
  307. package/dist/components/{p-CssgRUtq.js → p-B6Fm7iTY.js} +7 -7
  308. package/dist/components/p-B6Fm7iTY.js.map +1 -0
  309. package/dist/components/{p-aoMMugzu.js → p-B8kacvl9.js} +3 -3
  310. package/dist/components/p-B8kacvl9.js.map +1 -0
  311. package/dist/components/{p-hknsKJbL.js → p-B9dL8SWq.js} +3 -3
  312. package/dist/components/p-B9dL8SWq.js.map +1 -0
  313. package/dist/components/{p-CLgcoxeD.js → p-BUTrT3Q6.js} +4 -4
  314. package/dist/components/{p-CLgcoxeD.js.map → p-BUTrT3Q6.js.map} +1 -1
  315. package/dist/components/{p-Dt9X9aqI.js → p-BWgf6L-y.js} +5 -5
  316. package/dist/components/{p-Dt9X9aqI.js.map → p-BWgf6L-y.js.map} +1 -1
  317. package/dist/components/{p-Bq-GdSe7.js → p-BctmSAbW.js} +3 -3
  318. package/dist/components/{p-Bq-GdSe7.js.map → p-BctmSAbW.js.map} +1 -1
  319. package/dist/components/{p-CqzFm2Ow.js → p-BfmQxZSi.js} +3 -3
  320. package/dist/components/{p-CqzFm2Ow.js.map → p-BfmQxZSi.js.map} +1 -1
  321. package/dist/components/p-BlJijJEP.js +124 -0
  322. package/dist/components/p-BlJijJEP.js.map +1 -0
  323. package/dist/components/{p-C0tC8p0l.js → p-BrOTS__r.js} +12 -12
  324. package/dist/components/{p-C0tC8p0l.js.map → p-BrOTS__r.js.map} +1 -1
  325. package/dist/components/{p-CwnDj9-A.js → p-C7evM2QQ.js} +3 -3
  326. package/dist/components/{p-CwnDj9-A.js.map → p-C7evM2QQ.js.map} +1 -1
  327. package/dist/components/{p-frFN17iF.js → p-CC_GHbya.js} +5 -5
  328. package/dist/components/{p-frFN17iF.js.map → p-CC_GHbya.js.map} +1 -1
  329. package/dist/components/{p-By5SOUeF.js → p-Cu4C5pWD.js} +7 -7
  330. package/dist/components/{p-By5SOUeF.js.map → p-Cu4C5pWD.js.map} +1 -1
  331. package/dist/components/{p-C09NpLE0.js → p-DbtZVHL-.js} +5 -6
  332. package/dist/components/p-DbtZVHL-.js.map +1 -0
  333. package/dist/components/{p-C3VPtV-F.js → p-pGEk1iMS.js} +6 -6
  334. package/dist/components/{p-C3VPtV-F.js.map → p-pGEk1iMS.js.map} +1 -1
  335. package/dist/esm/ifx-alert_2.entry.js +1 -1
  336. package/dist/esm/ifx-basic-table.entry.js +1 -1
  337. package/dist/esm/ifx-card.entry.js +21 -11
  338. package/dist/esm/ifx-card.entry.js.map +1 -1
  339. package/dist/esm/ifx-checkbox-group.entry.js +3 -2
  340. package/dist/esm/ifx-checkbox-group.entry.js.map +1 -1
  341. package/dist/esm/ifx-chip.ifx-chip-item.ifx-pagination.entry.js.map +1 -1
  342. package/dist/esm/ifx-chip_3.entry.js +12 -12
  343. package/dist/esm/ifx-chip_3.entry.js.map +1 -1
  344. package/dist/esm/ifx-content-switcher-item.entry.js +1 -1
  345. package/dist/esm/ifx-content-switcher.entry.js +1 -1
  346. package/dist/esm/ifx-date-picker.entry.js +2 -2
  347. package/dist/esm/ifx-download.entry.js +2 -2
  348. package/dist/esm/ifx-dropdown-header.entry.js +1 -1
  349. package/dist/esm/ifx-dropdown-separator.entry.js +1 -1
  350. package/dist/esm/ifx-dropdown-trigger-button.entry.js +2 -2
  351. package/dist/esm/ifx-dropdown-trigger.entry.js +1 -1
  352. package/dist/esm/ifx-dropdown.entry.js +1 -1
  353. package/dist/esm/ifx-faq.entry.js +1 -1
  354. package/dist/esm/ifx-file-upload.entry.js +2 -2
  355. package/dist/esm/ifx-filter-accordion.entry.js +2 -2
  356. package/dist/esm/ifx-filter-bar.entry.js +1 -1
  357. package/dist/esm/ifx-filter-search.entry.js +1 -1
  358. package/dist/esm/ifx-filter-type-group.entry.js +1 -1
  359. package/dist/esm/ifx-footer-column.entry.js +1 -1
  360. package/dist/esm/ifx-footer.entry.js +4 -4
  361. package/dist/esm/ifx-icon-button.entry.js +1 -1
  362. package/dist/esm/ifx-icon.entry.js +1 -1
  363. package/dist/esm/ifx-icons-preview.entry.js +1 -1
  364. package/dist/esm/ifx-indicator.entry.js +2 -2
  365. package/dist/esm/ifx-link.entry.js +1 -1
  366. package/dist/esm/ifx-link.entry.js.map +1 -1
  367. package/dist/esm/ifx-list-entry.entry.js +1 -1
  368. package/dist/esm/ifx-modal.entry.js +2 -2
  369. package/dist/esm/ifx-multiselect_2.entry.js +4 -4
  370. package/dist/esm/ifx-navbar-item.entry.js +5 -5
  371. package/dist/esm/ifx-navbar-profile.entry.js +3 -3
  372. package/dist/esm/ifx-navbar.entry.js +3 -3
  373. package/dist/esm/ifx-notification.entry.js +2 -2
  374. package/dist/esm/ifx-overview-table.entry.js +1 -1
  375. package/dist/esm/ifx-progress-bar.entry.js +1 -1
  376. package/dist/esm/ifx-progress-bar.entry.js.map +1 -1
  377. package/dist/esm/ifx-radio-button-group.entry.js +3 -2
  378. package/dist/esm/ifx-radio-button-group.entry.js.map +1 -1
  379. package/dist/esm/ifx-radio-button.entry.js +2 -2
  380. package/dist/esm/ifx-search-bar.entry.js +1 -1
  381. package/dist/esm/ifx-search-field.entry.js +2 -2
  382. package/dist/esm/ifx-segment.entry.js +1 -1
  383. package/dist/esm/ifx-segmented-control.entry.js +5 -3
  384. package/dist/esm/ifx-segmented-control.entry.js.map +1 -1
  385. package/dist/esm/ifx-select.entry.js +27 -43
  386. package/dist/esm/ifx-select.entry.js.map +1 -1
  387. package/dist/esm/ifx-sidebar-item.entry.js +6 -6
  388. package/dist/esm/ifx-sidebar-item.entry.js.map +1 -1
  389. package/dist/esm/ifx-sidebar-title.entry.js +1 -1
  390. package/dist/esm/ifx-sidebar.entry.js +5 -5
  391. package/dist/esm/ifx-slider.entry.js +4 -4
  392. package/dist/esm/ifx-slider.entry.js.map +1 -1
  393. package/dist/esm/ifx-spinner.ifx-text-field.entry.js.map +1 -1
  394. package/dist/esm/ifx-spinner_2.entry.js +7 -7
  395. package/dist/esm/ifx-spinner_2.entry.js.map +1 -1
  396. package/dist/esm/ifx-status.entry.js +1 -1
  397. package/dist/esm/ifx-status.entry.js.map +1 -1
  398. package/dist/esm/ifx-step.entry.js +5 -5
  399. package/dist/esm/ifx-step.entry.js.map +1 -1
  400. package/dist/esm/ifx-stepper.entry.js +2 -2
  401. package/dist/esm/ifx-stepper.entry.js.map +1 -1
  402. package/dist/esm/ifx-switch.entry.js +1 -1
  403. package/dist/esm/ifx-switch.entry.js.map +1 -1
  404. package/dist/esm/ifx-tab.entry.js +1 -1
  405. package/dist/esm/ifx-table.entry.js +2 -2
  406. package/dist/esm/ifx-tabs.entry.js +2 -2
  407. package/dist/esm/ifx-tag.entry.js +2 -2
  408. package/dist/esm/ifx-tag.entry.js.map +1 -1
  409. package/dist/esm/ifx-templates-ui.entry.js +1 -1
  410. package/dist/esm/ifx-textarea.entry.js +3 -3
  411. package/dist/esm/ifx-textarea.entry.js.map +1 -1
  412. package/dist/esm/ifx-tooltip.entry.js +4 -4
  413. package/dist/esm/ifx-tooltip.entry.js.map +1 -1
  414. package/dist/esm/ifx-tree-view-item.entry.js +2 -2
  415. package/dist/esm/ifx-tree-view.entry.js +1 -1
  416. package/dist/esm/infineon-design-system-stencil.js +1 -1
  417. package/dist/esm/loader.js +1 -1
  418. package/dist/infineon-design-system-stencil/ifx-card.entry.esm.js.map +1 -1
  419. package/dist/infineon-design-system-stencil/ifx-checkbox-group.entry.esm.js.map +1 -1
  420. package/dist/infineon-design-system-stencil/ifx-chip.ifx-chip-item.ifx-pagination.entry.esm.js.map +1 -1
  421. package/dist/infineon-design-system-stencil/ifx-link.entry.esm.js.map +1 -1
  422. package/dist/infineon-design-system-stencil/ifx-progress-bar.entry.esm.js.map +1 -1
  423. package/dist/infineon-design-system-stencil/ifx-radio-button-group.entry.esm.js.map +1 -1
  424. package/dist/infineon-design-system-stencil/ifx-segmented-control.entry.esm.js.map +1 -1
  425. package/dist/infineon-design-system-stencil/ifx-select.entry.esm.js.map +1 -1
  426. package/dist/infineon-design-system-stencil/ifx-sidebar-item.entry.esm.js.map +1 -1
  427. package/dist/infineon-design-system-stencil/ifx-slider.entry.esm.js.map +1 -1
  428. package/dist/infineon-design-system-stencil/ifx-spinner.ifx-text-field.entry.esm.js.map +1 -1
  429. package/dist/infineon-design-system-stencil/ifx-status.entry.esm.js.map +1 -1
  430. package/dist/infineon-design-system-stencil/ifx-step.entry.esm.js.map +1 -1
  431. package/dist/infineon-design-system-stencil/ifx-stepper.entry.esm.js.map +1 -1
  432. package/dist/infineon-design-system-stencil/ifx-switch.entry.esm.js.map +1 -1
  433. package/dist/infineon-design-system-stencil/ifx-tag.entry.esm.js.map +1 -1
  434. package/dist/infineon-design-system-stencil/ifx-textarea.entry.esm.js.map +1 -1
  435. package/dist/infineon-design-system-stencil/ifx-tooltip.entry.esm.js.map +1 -1
  436. package/dist/infineon-design-system-stencil/infineon-design-system-stencil.esm.js +1 -1
  437. package/dist/infineon-design-system-stencil/p-03eee689.entry.js +2 -0
  438. package/dist/infineon-design-system-stencil/p-03eee689.entry.js.map +1 -0
  439. package/dist/infineon-design-system-stencil/{p-6ae1a75c.entry.js → p-09d191e0.entry.js} +2 -2
  440. package/dist/infineon-design-system-stencil/p-09d191e0.entry.js.map +1 -0
  441. package/dist/infineon-design-system-stencil/p-0c07a971.entry.js +2 -0
  442. package/dist/infineon-design-system-stencil/p-0c07a971.entry.js.map +1 -0
  443. package/dist/infineon-design-system-stencil/p-0f5b0903.entry.js +2 -0
  444. package/dist/infineon-design-system-stencil/{p-1453032c.entry.js.map → p-0f5b0903.entry.js.map} +1 -1
  445. package/dist/infineon-design-system-stencil/p-14e1cec1.entry.js +2 -0
  446. package/dist/infineon-design-system-stencil/{p-3d447d67.entry.js → p-16cc28da.entry.js} +2 -2
  447. package/dist/infineon-design-system-stencil/{p-3d447d67.entry.js.map → p-16cc28da.entry.js.map} +1 -1
  448. package/dist/infineon-design-system-stencil/p-179954e8.entry.js +2 -0
  449. package/dist/infineon-design-system-stencil/{p-189302bb.entry.js → p-19aa5352.entry.js} +2 -2
  450. package/dist/infineon-design-system-stencil/p-1e86db3e.entry.js +2 -0
  451. package/dist/infineon-design-system-stencil/p-1e86db3e.entry.js.map +1 -0
  452. package/dist/infineon-design-system-stencil/p-235650f4.entry.js +2 -0
  453. package/dist/infineon-design-system-stencil/{p-202d262d.entry.js.map → p-235650f4.entry.js.map} +1 -1
  454. package/dist/infineon-design-system-stencil/{p-993d003a.entry.js → p-23bcf3c6.entry.js} +2 -2
  455. package/dist/infineon-design-system-stencil/p-23bcf3c6.entry.js.map +1 -0
  456. package/dist/infineon-design-system-stencil/p-25713d78.entry.js +2 -0
  457. package/dist/infineon-design-system-stencil/p-25713d78.entry.js.map +1 -0
  458. package/dist/infineon-design-system-stencil/{p-1156b5e0.entry.js → p-2bd96917.entry.js} +2 -2
  459. package/dist/infineon-design-system-stencil/{p-09796daa.entry.js → p-2fa9ad54.entry.js} +2 -2
  460. package/dist/infineon-design-system-stencil/p-3601025f.entry.js +2 -0
  461. package/dist/infineon-design-system-stencil/{p-2908cc2a.entry.js → p-3f0760ab.entry.js} +2 -2
  462. package/dist/infineon-design-system-stencil/{p-733cc7f4.entry.js → p-3f21dace.entry.js} +2 -2
  463. package/dist/infineon-design-system-stencil/p-3f21dace.entry.js.map +1 -0
  464. package/dist/infineon-design-system-stencil/{p-98f57aed.entry.js → p-402f01e3.entry.js} +2 -2
  465. package/dist/infineon-design-system-stencil/{p-7dd092cf.entry.js → p-458d92ea.entry.js} +2 -2
  466. package/dist/infineon-design-system-stencil/{p-554d7431.entry.js → p-491dbc4c.entry.js} +2 -2
  467. package/dist/infineon-design-system-stencil/{p-c75a57a2.entry.js → p-4d7ea99b.entry.js} +2 -2
  468. package/dist/infineon-design-system-stencil/p-4d7ea99b.entry.js.map +1 -0
  469. package/dist/infineon-design-system-stencil/{p-d246597b.entry.js → p-5092ced0.entry.js} +2 -2
  470. package/dist/infineon-design-system-stencil/{p-8ca1da22.entry.js → p-50ee7b57.entry.js} +2 -2
  471. package/dist/infineon-design-system-stencil/{p-00672789.entry.js → p-564d8c2e.entry.js} +2 -2
  472. package/dist/infineon-design-system-stencil/{p-653d31bd.entry.js → p-5864bff0.entry.js} +2 -2
  473. package/dist/infineon-design-system-stencil/p-589b92d7.entry.js +2 -0
  474. package/dist/infineon-design-system-stencil/{p-8a960c92.entry.js → p-59378506.entry.js} +2 -2
  475. package/dist/infineon-design-system-stencil/{p-5f79d386.entry.js → p-5fcea1fe.entry.js} +2 -2
  476. package/dist/infineon-design-system-stencil/{p-ef8fabdf.entry.js → p-68d7c6bf.entry.js} +2 -2
  477. package/dist/infineon-design-system-stencil/{p-c648a109.entry.js → p-6e2293d4.entry.js} +2 -2
  478. package/dist/infineon-design-system-stencil/{p-05f154da.entry.js → p-728a11db.entry.js} +2 -2
  479. package/dist/infineon-design-system-stencil/{p-50cd0c8a.entry.js → p-743c7e0e.entry.js} +2 -2
  480. package/dist/infineon-design-system-stencil/{p-6a51e524.entry.js → p-7499257e.entry.js} +2 -2
  481. package/dist/infineon-design-system-stencil/{p-b3532d16.entry.js → p-77c8c387.entry.js} +2 -2
  482. package/dist/infineon-design-system-stencil/p-7873796d.entry.js +2 -0
  483. package/dist/infineon-design-system-stencil/p-7873796d.entry.js.map +1 -0
  484. package/dist/infineon-design-system-stencil/p-78a44314.entry.js +2 -0
  485. package/dist/infineon-design-system-stencil/{p-132d0b9d.entry.js → p-7fe8d1e6.entry.js} +2 -2
  486. package/dist/infineon-design-system-stencil/{p-5f5e674d.entry.js → p-84a13050.entry.js} +2 -2
  487. package/dist/infineon-design-system-stencil/{p-7a5101d6.entry.js → p-879fcf5b.entry.js} +2 -2
  488. package/dist/infineon-design-system-stencil/{p-8c646c1d.entry.js → p-88e1d1e9.entry.js} +2 -2
  489. package/dist/infineon-design-system-stencil/p-8d0ca3a9.entry.js +2 -0
  490. package/dist/infineon-design-system-stencil/p-8d0ca3a9.entry.js.map +1 -0
  491. package/dist/infineon-design-system-stencil/p-91663a1c.entry.js +2 -0
  492. package/dist/infineon-design-system-stencil/p-94244a62.entry.js +2 -0
  493. package/dist/infineon-design-system-stencil/p-94244a62.entry.js.map +1 -0
  494. package/dist/infineon-design-system-stencil/p-958796b1.entry.js +2 -0
  495. package/dist/infineon-design-system-stencil/p-958796b1.entry.js.map +1 -0
  496. package/dist/infineon-design-system-stencil/{p-ead84183.entry.js → p-9b204c5a.entry.js} +2 -2
  497. package/dist/infineon-design-system-stencil/p-9dff807a.entry.js +2 -0
  498. package/dist/infineon-design-system-stencil/{p-d61b483a.entry.js → p-ace11822.entry.js} +2 -2
  499. package/dist/infineon-design-system-stencil/p-bc89d9dd.entry.js +2 -0
  500. package/dist/infineon-design-system-stencil/{p-ade0ec39.entry.js → p-c0b08508.entry.js} +2 -2
  501. package/dist/infineon-design-system-stencil/p-c0b08508.entry.js.map +1 -0
  502. package/dist/infineon-design-system-stencil/{p-394548d7.entry.js → p-c5023809.entry.js} +2 -2
  503. package/dist/infineon-design-system-stencil/{p-b61430f7.entry.js → p-c99cff31.entry.js} +2 -2
  504. package/dist/infineon-design-system-stencil/{p-a10a1d46.entry.js → p-cead5ccf.entry.js} +2 -2
  505. package/dist/infineon-design-system-stencil/{p-633ca789.entry.js → p-d3501865.entry.js} +2 -2
  506. package/dist/infineon-design-system-stencil/{p-4d2dfb65.entry.js → p-d77af62a.entry.js} +2 -2
  507. package/dist/infineon-design-system-stencil/p-d77af62a.entry.js.map +1 -0
  508. package/dist/infineon-design-system-stencil/p-dabc95ae.entry.js +2 -0
  509. package/dist/infineon-design-system-stencil/p-dabc95ae.entry.js.map +1 -0
  510. package/dist/infineon-design-system-stencil/{p-a11b5f74.entry.js → p-e2a870b7.entry.js} +2 -2
  511. package/dist/infineon-design-system-stencil/{p-c378c228.entry.js → p-e33748eb.entry.js} +2 -2
  512. package/dist/infineon-design-system-stencil/{p-64803e16.entry.js → p-e6d9a677.entry.js} +2 -2
  513. package/dist/infineon-design-system-stencil/p-eef13138.entry.js +2 -0
  514. package/dist/infineon-design-system-stencil/p-eef13138.entry.js.map +1 -0
  515. package/dist/infineon-design-system-stencil/{p-6ab5c27f.entry.js → p-f158df88.entry.js} +2 -2
  516. package/dist/infineon-design-system-stencil/{p-582f7515.entry.js → p-fc14f24c.entry.js} +2 -2
  517. package/dist/types/components/card/card.d.ts +1 -0
  518. package/dist/types/components/checkbox-group/checkbox-group.d.ts +1 -0
  519. package/dist/types/components/checkbox-group/checkbox-group.stories.d.ts +13 -0
  520. package/dist/types/components/radio-button-group/radio-button-group.d.ts +1 -0
  521. package/dist/types/components/radio-button-group/radio-button-group.stories.d.ts +13 -0
  522. package/dist/types/components/segmented-control/segmented-control.d.ts +2 -0
  523. package/dist/types/components/segmented-control/segmented-control.stories.d.ts +20 -0
  524. package/dist/types/components/slider/slider.d.ts +0 -1
  525. package/dist/types/components/slider/slider.stories.d.ts +0 -13
  526. package/dist/types/components/spinner/spinner.d.ts +0 -1
  527. package/dist/types/components/spinner/spinner.stories.d.ts +0 -14
  528. package/dist/types/components/stepper/stepper.d.ts +0 -2
  529. package/dist/types/components/stepper/stepper.stories.d.ts +0 -28
  530. package/dist/types/components/tag/tag.d.ts +0 -2
  531. package/dist/types/components/tag/tag.stories.d.ts +0 -28
  532. package/dist/types/components/text-field/text-field.d.ts +0 -1
  533. package/dist/types/components/text-field/text-field.stories.d.ts +0 -14
  534. package/dist/types/components/tooltip/tooltip.d.ts +0 -1
  535. package/dist/types/components/tooltip/tooltip.stories.d.ts +0 -14
  536. package/dist/types/components.d.ts +32 -16
  537. package/package.json +1 -1
  538. package/dist/components/p-C09NpLE0.js.map +0 -1
  539. package/dist/components/p-CssgRUtq.js.map +0 -1
  540. package/dist/components/p-VdirQ-rJ.js.map +0 -1
  541. package/dist/components/p-aoMMugzu.js.map +0 -1
  542. package/dist/components/p-cqNsYK8s.js +0 -125
  543. package/dist/components/p-cqNsYK8s.js.map +0 -1
  544. package/dist/components/p-hknsKJbL.js.map +0 -1
  545. package/dist/infineon-design-system-stencil/p-08ac6334.entry.js +0 -2
  546. package/dist/infineon-design-system-stencil/p-08ac6334.entry.js.map +0 -1
  547. package/dist/infineon-design-system-stencil/p-1453032c.entry.js +0 -2
  548. package/dist/infineon-design-system-stencil/p-202d262d.entry.js +0 -2
  549. package/dist/infineon-design-system-stencil/p-3225e159.entry.js +0 -2
  550. package/dist/infineon-design-system-stencil/p-3a444f2d.entry.js +0 -2
  551. package/dist/infineon-design-system-stencil/p-47388e22.entry.js +0 -2
  552. package/dist/infineon-design-system-stencil/p-47388e22.entry.js.map +0 -1
  553. package/dist/infineon-design-system-stencil/p-4d2dfb65.entry.js.map +0 -1
  554. package/dist/infineon-design-system-stencil/p-4f951b7e.entry.js +0 -2
  555. package/dist/infineon-design-system-stencil/p-6ae1a75c.entry.js.map +0 -1
  556. package/dist/infineon-design-system-stencil/p-733cc7f4.entry.js.map +0 -1
  557. package/dist/infineon-design-system-stencil/p-7780665b.entry.js +0 -2
  558. package/dist/infineon-design-system-stencil/p-7780665b.entry.js.map +0 -1
  559. package/dist/infineon-design-system-stencil/p-7cf08e30.entry.js +0 -2
  560. package/dist/infineon-design-system-stencil/p-863e520d.entry.js +0 -2
  561. package/dist/infineon-design-system-stencil/p-9062208e.entry.js +0 -2
  562. package/dist/infineon-design-system-stencil/p-9062208e.entry.js.map +0 -1
  563. package/dist/infineon-design-system-stencil/p-993d003a.entry.js.map +0 -1
  564. package/dist/infineon-design-system-stencil/p-a5e5a2cf.entry.js +0 -2
  565. package/dist/infineon-design-system-stencil/p-ade0ec39.entry.js.map +0 -1
  566. package/dist/infineon-design-system-stencil/p-b288ba34.entry.js +0 -2
  567. package/dist/infineon-design-system-stencil/p-b9a871a7.entry.js +0 -2
  568. package/dist/infineon-design-system-stencil/p-b9a871a7.entry.js.map +0 -1
  569. package/dist/infineon-design-system-stencil/p-c51df9e9.entry.js +0 -2
  570. package/dist/infineon-design-system-stencil/p-c51df9e9.entry.js.map +0 -1
  571. package/dist/infineon-design-system-stencil/p-c75a57a2.entry.js.map +0 -1
  572. package/dist/infineon-design-system-stencil/p-caccdf14.entry.js +0 -2
  573. package/dist/infineon-design-system-stencil/p-cb838071.entry.js +0 -2
  574. package/dist/infineon-design-system-stencil/p-cb838071.entry.js.map +0 -1
  575. package/dist/infineon-design-system-stencil/p-d5ee7c5a.entry.js +0 -2
  576. package/dist/infineon-design-system-stencil/p-d5ee7c5a.entry.js.map +0 -1
  577. package/dist/infineon-design-system-stencil/p-f8f4af1c.entry.js +0 -2
  578. package/dist/infineon-design-system-stencil/p-f8f4af1c.entry.js.map +0 -1
  579. package/dist/infineon-design-system-stencil/p-fb11d0cc.entry.js +0 -2
  580. package/dist/infineon-design-system-stencil/p-fb11d0cc.entry.js.map +0 -1
  581. /package/dist/infineon-design-system-stencil/{p-a5e5a2cf.entry.js.map → p-14e1cec1.entry.js.map} +0 -0
  582. /package/dist/infineon-design-system-stencil/{p-4f951b7e.entry.js.map → p-179954e8.entry.js.map} +0 -0
  583. /package/dist/infineon-design-system-stencil/{p-189302bb.entry.js.map → p-19aa5352.entry.js.map} +0 -0
  584. /package/dist/infineon-design-system-stencil/{p-1156b5e0.entry.js.map → p-2bd96917.entry.js.map} +0 -0
  585. /package/dist/infineon-design-system-stencil/{p-09796daa.entry.js.map → p-2fa9ad54.entry.js.map} +0 -0
  586. /package/dist/infineon-design-system-stencil/{p-3a444f2d.entry.js.map → p-3601025f.entry.js.map} +0 -0
  587. /package/dist/infineon-design-system-stencil/{p-2908cc2a.entry.js.map → p-3f0760ab.entry.js.map} +0 -0
  588. /package/dist/infineon-design-system-stencil/{p-98f57aed.entry.js.map → p-402f01e3.entry.js.map} +0 -0
  589. /package/dist/infineon-design-system-stencil/{p-7dd092cf.entry.js.map → p-458d92ea.entry.js.map} +0 -0
  590. /package/dist/infineon-design-system-stencil/{p-554d7431.entry.js.map → p-491dbc4c.entry.js.map} +0 -0
  591. /package/dist/infineon-design-system-stencil/{p-d246597b.entry.js.map → p-5092ced0.entry.js.map} +0 -0
  592. /package/dist/infineon-design-system-stencil/{p-8ca1da22.entry.js.map → p-50ee7b57.entry.js.map} +0 -0
  593. /package/dist/infineon-design-system-stencil/{p-00672789.entry.js.map → p-564d8c2e.entry.js.map} +0 -0
  594. /package/dist/infineon-design-system-stencil/{p-653d31bd.entry.js.map → p-5864bff0.entry.js.map} +0 -0
  595. /package/dist/infineon-design-system-stencil/{p-caccdf14.entry.js.map → p-589b92d7.entry.js.map} +0 -0
  596. /package/dist/infineon-design-system-stencil/{p-8a960c92.entry.js.map → p-59378506.entry.js.map} +0 -0
  597. /package/dist/infineon-design-system-stencil/{p-5f79d386.entry.js.map → p-5fcea1fe.entry.js.map} +0 -0
  598. /package/dist/infineon-design-system-stencil/{p-ef8fabdf.entry.js.map → p-68d7c6bf.entry.js.map} +0 -0
  599. /package/dist/infineon-design-system-stencil/{p-c648a109.entry.js.map → p-6e2293d4.entry.js.map} +0 -0
  600. /package/dist/infineon-design-system-stencil/{p-05f154da.entry.js.map → p-728a11db.entry.js.map} +0 -0
  601. /package/dist/infineon-design-system-stencil/{p-50cd0c8a.entry.js.map → p-743c7e0e.entry.js.map} +0 -0
  602. /package/dist/infineon-design-system-stencil/{p-6a51e524.entry.js.map → p-7499257e.entry.js.map} +0 -0
  603. /package/dist/infineon-design-system-stencil/{p-b3532d16.entry.js.map → p-77c8c387.entry.js.map} +0 -0
  604. /package/dist/infineon-design-system-stencil/{p-b288ba34.entry.js.map → p-78a44314.entry.js.map} +0 -0
  605. /package/dist/infineon-design-system-stencil/{p-132d0b9d.entry.js.map → p-7fe8d1e6.entry.js.map} +0 -0
  606. /package/dist/infineon-design-system-stencil/{p-5f5e674d.entry.js.map → p-84a13050.entry.js.map} +0 -0
  607. /package/dist/infineon-design-system-stencil/{p-7a5101d6.entry.js.map → p-879fcf5b.entry.js.map} +0 -0
  608. /package/dist/infineon-design-system-stencil/{p-8c646c1d.entry.js.map → p-88e1d1e9.entry.js.map} +0 -0
  609. /package/dist/infineon-design-system-stencil/{p-3225e159.entry.js.map → p-91663a1c.entry.js.map} +0 -0
  610. /package/dist/infineon-design-system-stencil/{p-ead84183.entry.js.map → p-9b204c5a.entry.js.map} +0 -0
  611. /package/dist/infineon-design-system-stencil/{p-7cf08e30.entry.js.map → p-9dff807a.entry.js.map} +0 -0
  612. /package/dist/infineon-design-system-stencil/{p-d61b483a.entry.js.map → p-ace11822.entry.js.map} +0 -0
  613. /package/dist/infineon-design-system-stencil/{p-863e520d.entry.js.map → p-bc89d9dd.entry.js.map} +0 -0
  614. /package/dist/infineon-design-system-stencil/{p-394548d7.entry.js.map → p-c5023809.entry.js.map} +0 -0
  615. /package/dist/infineon-design-system-stencil/{p-b61430f7.entry.js.map → p-c99cff31.entry.js.map} +0 -0
  616. /package/dist/infineon-design-system-stencil/{p-a10a1d46.entry.js.map → p-cead5ccf.entry.js.map} +0 -0
  617. /package/dist/infineon-design-system-stencil/{p-633ca789.entry.js.map → p-d3501865.entry.js.map} +0 -0
  618. /package/dist/infineon-design-system-stencil/{p-a11b5f74.entry.js.map → p-e2a870b7.entry.js.map} +0 -0
  619. /package/dist/infineon-design-system-stencil/{p-c378c228.entry.js.map → p-e33748eb.entry.js.map} +0 -0
  620. /package/dist/infineon-design-system-stencil/{p-64803e16.entry.js.map → p-e6d9a677.entry.js.map} +0 -0
  621. /package/dist/infineon-design-system-stencil/{p-6ab5c27f.entry.js.map → p-f158df88.entry.js.map} +0 -0
  622. /package/dist/infineon-design-system-stencil/{p-582f7515.entry.js.map → p-fc14f24c.entry.js.map} +0 -0
@@ -25,7 +25,7 @@ const ProgressBar = class {
25
25
  }
26
26
  }
27
27
  render() {
28
- return (h("div", { key: '8fca691ec07d456af7fb2559047d88dfecd00b68', role: "progressbar", "aria-valuenow": this.internalValue, "aria-valuemin": "0", "aria-valuemax": "100", "aria-label": `Progress: ${this.internalValue}%`, class: `progress-bar ${this.size}` }, h("div", { key: 'd481b45e3bb67f6a3bbfaa2b31fd529941abb976', class: "progress", style: { width: `${this.internalValue}%` } }, this.showLabel && this.size !== "s" && this.internalValue !== 0 && h("span", { key: '17f2a5a50a42bba13e780b3a14e2f5e6046eb02e', class: "label" }, `${this.internalValue}%`))));
28
+ return (h("div", { key: '8b85b9583b257c2bb08471502ec81eaf18240299', "aria-label": 'a progress bar', "aria-value": this.value, class: `progress-bar ${this.size}` }, h("div", { key: '4d4ab3b145e47f2ef34b9515d85916bb27d7b2ce', class: "progress", style: { width: `${this.internalValue}%` } }, this.showLabel && this.size !== "s" && this.internalValue !== 0 && h("span", { key: '43ea3c707df2f815321e7d6a757cb164fbe11500', class: "label" }, `${this.internalValue}%`))));
29
29
  }
30
30
  get el() { return getElement(this); }
31
31
  static get watchers() { return {
@@ -1 +1 @@
1
- {"version":3,"file":"ifx-progress-bar.entry.js","sources":["src/components/progress-bar/progress-bar.scss?tag=ifx-progress-bar&encapsulation=shadow","src/components/progress-bar/progress-bar.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n:host {\n display: flex;\n width: 100%;\n}\n\n.progress-bar {\n height: tokens.$ifxSize200;\n bottom: 0;\n right: 0;\n top: 0;\n left: 0;\n display: flex;\n height: tokens.$ifxSize250;\n border-radius: tokens.$ifxBorderRadius12;\n width: 100%; // Ensure the bar itself can grow up to 100% width\n overflow: hidden; // Ensures that the inner progress bar doesn't exceed the width of the outer progress bar\n background-color: tokens.$ifxColorEngineering200;\n font-family: var(--ifx-font-family); // tokens.$ifxFontFamilyBody;\n\n \n \n &.s {\n height: 4px;\n }\n\n .label {\n font-style: normal;\n font-size: tokens.$ifxFontSizeS;\n font-weight: 400;\n line-height: tokens.$ifxLineHeightS;\n color: tokens.$ifxColorBaseWhite;\n }\n \n .progress {\n display: flex;\n align-items: center;\n justify-content: center;\n min-width: fit-content;\n height: 100%;\n background-color: #0A8276;\n transition: width 0.2s ease;\n }\n}","import { Component, Prop, h, State, Watch, Element } from '@stencil/core';\nimport { trackComponent } from '../../global/utils/tracking';\nimport { isNestedInIfxComponent } from '../../global/utils/dom-utils';\nimport { detectFramework } from '../../global/utils/framework-detection';\n\n@Component({\n tag: 'ifx-progress-bar',\n styleUrl: 'progress-bar.scss',\n shadow: true\n})\nexport class ProgressBar {\n @Element() el: HTMLElement;\n @Prop() value: number = 0;\n @Prop() size: string;\n @Prop() showLabel: boolean = false;\n\n @State() internalValue: number;\n\n @Watch('value')\n valueChanged(newValue: number, oldValue: number) {\n if (newValue !== oldValue) {\n this.internalValue = newValue;\n }\n }\n\n componentWillLoad() {\n this.internalValue = this.value;\n }\n\n async componentDidLoad() { \n if(!isNestedInIfxComponent(this.el)) { \n const framework = detectFramework();\n trackComponent('ifx-progress-bar', await framework)\n }\n }\n\n render() {\n return (\n <div role=\"progressbar\"\n aria-valuenow={this.internalValue}\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n aria-label={`Progress: ${this.internalValue}%`} class={`progress-bar ${this.size}`}>\n <div class=\"progress\" style={{ width: `${this.internalValue}%` }}>\n {this.showLabel && this.size !== \"s\" && this.internalValue !== 0 && <span class=\"label\">{`${this.internalValue}%`}</span>}\n </div>\n </div>\n );\n }\n}\n"],"names":[],"mappings":";;;;AAAA,MAAM,cAAc,GAAG,ukBAAukB;;MCUjlB,WAAW,GAAA,MAAA;AALxB,IAAA,WAAA,CAAA,OAAA,EAAA;;AAOU,QAAA,IAAK,CAAA,KAAA,GAAW,CAAC;AAEjB,QAAA,IAAS,CAAA,SAAA,GAAY,KAAK;AAmCnC;IA9BC,YAAY,CAAC,QAAgB,EAAE,QAAgB,EAAA;AAC7C,QAAA,IAAI,QAAQ,KAAK,QAAQ,EAAE;AACzB,YAAA,IAAI,CAAC,aAAa,GAAG,QAAQ;;;IAIjC,iBAAiB,GAAA;AACf,QAAA,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,KAAK;;AAGjC,IAAA,MAAM,gBAAgB,GAAA;QACpB,IAAG,CAAC,sBAAsB,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE;AACnC,YAAA,MAAM,SAAS,GAAG,eAAe,EAAE;AACnC,YAAA,cAAc,CAAC,kBAAkB,EAAE,MAAM,SAAS,CAAC;;;IAIvD,MAAM,GAAA;QACJ,QACE,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,aAAa,EACN,eAAA,EAAA,IAAI,CAAC,aAAa,EACnB,eAAA,EAAA,GAAG,EACH,eAAA,EAAA,KAAK,gBACP,CAAA,UAAA,EAAa,IAAI,CAAC,aAAa,CAAG,CAAA,CAAA,EAAE,KAAK,EAAE,CAAgB,aAAA,EAAA,IAAI,CAAC,IAAI,CAAA,CAAE,EAAA,EAClF,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,UAAU,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,CAAG,EAAA,IAAI,CAAC,aAAa,CAAG,CAAA,CAAA,EAAE,EAAA,EAC7D,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,IAAI,KAAK,GAAG,IAAI,IAAI,CAAC,aAAa,KAAK,CAAC,IAAI,6DAAM,KAAK,EAAC,OAAO,EAAE,EAAA,CAAA,EAAG,IAAI,CAAC,aAAa,CAAA,CAAA,CAAG,CAAQ,CACrH,CACF;;;;;;;;;;;"}
1
+ {"version":3,"file":"ifx-progress-bar.entry.js","sources":["src/components/progress-bar/progress-bar.scss?tag=ifx-progress-bar&encapsulation=shadow","src/components/progress-bar/progress-bar.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n:host {\n display: flex;\n width: 100%;\n}\n\n.progress-bar {\n height: tokens.$ifxSize200;\n bottom: 0;\n right: 0;\n top: 0;\n left: 0;\n display: flex;\n height: tokens.$ifxSize250;\n border-radius: tokens.$ifxBorderRadius12;\n width: 100%; // Ensure the bar itself can grow up to 100% width\n overflow: hidden; // Ensures that the inner progress bar doesn't exceed the width of the outer progress bar\n background-color: tokens.$ifxColorEngineering200;\n font-family: var(--ifx-font-family); // tokens.$ifxFontFamilyBody;\n\n \n \n &.s {\n height: 4px;\n }\n\n .label {\n font-style: normal;\n font-size: tokens.$ifxFontSizeS;\n font-weight: 400;\n line-height: tokens.$ifxLineHeightS;\n color: tokens.$ifxColorBaseWhite;\n }\n \n .progress {\n display: flex;\n align-items: center;\n justify-content: center;\n min-width: fit-content;\n height: 100%;\n background-color: #0A8276;\n transition: width 0.2s ease;\n }\n}","import { Component, Prop, h, State, Watch, Element } from '@stencil/core';\nimport { trackComponent } from '../../global/utils/tracking';\nimport { isNestedInIfxComponent } from '../../global/utils/dom-utils';\nimport { detectFramework } from '../../global/utils/framework-detection';\n\n@Component({\n tag: 'ifx-progress-bar',\n styleUrl: 'progress-bar.scss',\n shadow: true\n})\nexport class ProgressBar {\n @Element() el: HTMLElement;\n @Prop() value: number = 0;\n @Prop() size: string;\n @Prop() showLabel: boolean = false;\n\n @State() internalValue: number;\n\n @Watch('value')\n valueChanged(newValue: number, oldValue: number) {\n if (newValue !== oldValue) {\n this.internalValue = newValue;\n }\n }\n\n componentWillLoad() {\n this.internalValue = this.value;\n }\n\n async componentDidLoad() { \n if(!isNestedInIfxComponent(this.el)) { \n const framework = detectFramework();\n trackComponent('ifx-progress-bar', await framework)\n }\n }\n\n render() {\n return (\n <div aria-label='a progress bar' aria-value={this.value} class={`progress-bar ${this.size}`}>\n <div class=\"progress\" style={{ width: `${this.internalValue}%` }}>\n {this.showLabel && this.size !== \"s\" && this.internalValue !== 0 && <span class=\"label\">{`${this.internalValue}%`}</span>}\n </div>\n </div>\n );\n }\n}\n"],"names":[],"mappings":";;;;AAAA,MAAM,cAAc,GAAG,ukBAAukB;;MCUjlB,WAAW,GAAA,MAAA;AALxB,IAAA,WAAA,CAAA,OAAA,EAAA;;AAOU,QAAA,IAAK,CAAA,KAAA,GAAW,CAAC;AAEjB,QAAA,IAAS,CAAA,SAAA,GAAY,KAAK;AA+BnC;IA1BC,YAAY,CAAC,QAAgB,EAAE,QAAgB,EAAA;AAC7C,QAAA,IAAI,QAAQ,KAAK,QAAQ,EAAE;AACzB,YAAA,IAAI,CAAC,aAAa,GAAG,QAAQ;;;IAIjC,iBAAiB,GAAA;AACf,QAAA,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,KAAK;;AAGjC,IAAA,MAAM,gBAAgB,GAAA;QACpB,IAAG,CAAC,sBAAsB,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE;AACnC,YAAA,MAAM,SAAS,GAAG,eAAe,EAAE;AACnC,YAAA,cAAc,CAAC,kBAAkB,EAAE,MAAM,SAAS,CAAC;;;IAIvD,MAAM,GAAA;QACJ,QACE,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,YAAA,EAAgB,gBAAgB,EAAA,YAAA,EAAa,IAAI,CAAC,KAAK,EAAG,KAAK,EAAE,gBAAgB,IAAI,CAAC,IAAI,CAAE,CAAA,EAAA,EAC1F,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,UAAU,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,aAAa,CAAG,CAAA,CAAA,EAAE,EAAA,EAC7D,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,IAAI,KAAK,GAAG,IAAI,IAAI,CAAC,aAAa,KAAK,CAAC,IAAI,6DAAM,KAAK,EAAC,OAAO,EAAE,EAAA,CAAA,EAAG,IAAI,CAAC,aAAa,GAAG,CAAQ,CACrH,CACF;;;;;;;;;;;"}
@@ -2,7 +2,7 @@ import { r as registerInstance, h, a as getElement } from './index-DS8meZSd.js';
2
2
  import { d as detectFramework, t as trackComponent } from './framework-detection-DcmcuUOA.js';
3
3
  import { i as isNestedInIfxComponent } from './dom-utils-Bw2fh5LT.js';
4
4
 
5
- const radioButtonGroupCss = ":root{--ifx-font-family:\"Source Sans 3\", \"Arial, sans-serif\"}.radio-button-group-container{display:flex;flex-direction:column}.radio-button-group{display:flex;font-family:var(--ifx-font-family);gap:8px}.radio-button-group.horizontal{flex-direction:row;column-gap:12px}.radio-button-group.vertical{flex-direction:column;row-gap:12px}.group-label{font:400 0.75rem/1rem \"Source Sans 3\";margin-bottom:8px;text-align:left;text-underline-position:from-font;text-decoration-skip-ink:none}.caption{margin-top:8px;align-self:flex-start;display:flex;width:100%;column-gap:8px;justify-content:space-between;align-items:center}.caption.default{color:#1D1D1D}.caption.error{color:#CD002F}.caption-text{font:400 0.75rem/1rem \"Source Sans 3\";flex:1;text-align:left;text-underline-position:from-font;text-decoration-skip-ink:none}.caption-icon{flex:0;display:flex}";
5
+ const radioButtonGroupCss = ":root{--ifx-font-family:\"Source Sans 3\", \"Arial, sans-serif\"}.radio-button-group-container{display:flex;flex-direction:column}.radio-button-group{display:flex;font-family:var(--ifx-font-family);gap:8px}.radio-button-group.horizontal{flex-direction:row;column-gap:12px}.radio-button-group.vertical{flex-direction:column;row-gap:12px}.group-label{font-size:1rem;line-height:1.5rem;font-weight:400;margin-bottom:8px;text-align:left;text-underline-position:from-font;text-decoration-skip-ink:none}.group-label .required{color:#575352;margin-left:4px}.group-label .required.error{color:#CD002F}.caption{margin-top:8px;align-self:flex-start;display:flex;width:100%;column-gap:8px;justify-content:space-between;align-items:center}.caption.default{color:#1D1D1D}.caption.error{color:#CD002F}.caption-text{font-size:0.75rem;line-height:1rem;flex:1;text-align:left;text-underline-position:from-font;text-decoration-skip-ink:none}.caption-icon{flex:0;display:flex}";
6
6
 
7
7
  const RadioButtonGroup = class {
8
8
  constructor(hostRef) {
@@ -10,6 +10,7 @@ const RadioButtonGroup = class {
10
10
  this.errorStates = new Map();
11
11
  this.alignment = 'vertical';
12
12
  this.groupLabelText = 'Group Label Text';
13
+ this.required = false;
13
14
  this.hasErrors = false;
14
15
  this.handleSlotChange = () => {
15
16
  this.initializeState();
@@ -52,7 +53,7 @@ const RadioButtonGroup = class {
52
53
  this.hasErrors = Array.from(this.errorStates.values()).some((error) => error);
53
54
  }
54
55
  render() {
55
- return (h("div", { key: '110dd90eedde21f29a02bf7844c046cc1b5de641', class: 'radio-button-group-container' }, this.showGroupLabel ? h("div", { class: 'group-label' }, this.groupLabelText, " *") : '', h("div", { key: '891bd69906ffeefeb2641e72f4d468c100f43b90', class: `radio-button-group ${this.alignment} ${this.size}` }, h("slot", { key: '32b754f9b0b47fb53bdaeb825740114b7b6fe737', onSlotchange: this.handleSlotChange })), this.showCaption ? (h("div", { class: `caption ${this.hasErrors ? 'error' : 'default'}` }, this.showCaptionIcon ? h("div", { class: 'caption-icon' }, h("ifx-icon", { icon: "c-info-16" })) : '', h("div", { class: 'caption-text' }, this.captionText))) : ''));
56
+ return (h("div", { key: 'ca42b9470187fb67619fad0e62c0c7aec3f5fb62', class: 'radio-button-group-container' }, this.showGroupLabel && (h("div", { key: 'b89340bfcabb087301338bdedf04215d87a3e661', class: "group-label" }, this.groupLabelText, this.required && h("span", { key: '6b851812a7f1cdbe3b0a8450bd8cb1569f3f893a', class: `required ${this.hasErrors ? 'error' : ''}` }, "*"))), h("div", { key: 'd46fc6be13198ccb04b50fa499c8d4680ae064b3', class: `radio-button-group ${this.alignment} ${this.size}` }, h("slot", { key: '89f23313cb670cb1d18060cb38f7ece2d5401d7d', onSlotchange: this.handleSlotChange })), this.showCaption ? (h("div", { class: `caption ${this.hasErrors ? 'error' : 'default'}` }, this.showCaptionIcon ? h("div", { class: 'caption-icon' }, h("ifx-icon", { icon: "c-info-16" })) : '', h("div", { class: 'caption-text' }, this.captionText))) : ''));
56
57
  }
57
58
  static get formAssociated() { return true; }
58
59
  get el() { return getElement(this); }
@@ -1 +1 @@
1
- {"version":3,"file":"ifx-radio-button-group.entry.js","sources":["src/components/radio-button-group/radio-button-group.scss?tag=ifx-radio-button-group&encapsulation=shadow","src/components/radio-button-group/radio-button-group.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n.radio-button-group-container {\n display: flex;\n flex-direction: column;\n}\n\n.radio-button-group {\n display: flex;\n font-family: var(--ifx-font-family); // tokens.$ifxFontFamilyBody;\n\n\n gap: tokens.$ifxSpace100;\n\n &.horizontal {\n flex-direction: row;\n column-gap: tokens.$ifxSpace150;\n }\n\n &.vertical {\n flex-direction: column;\n row-gap: tokens.$ifxSpace150;\n }\n}\n\n.group-label {\n font: tokens.$ifxBodyBody05;\n margin-bottom: tokens.$ifxSpace100;\n text-align: left;\n text-underline-position: from-font;\n text-decoration-skip-ink: none;\n}\n\n.caption {\n margin-top: tokens.$ifxSpace100;\n align-self: flex-start;\n display: flex;\n width: 100%;\n column-gap: tokens.$ifxSpace100;\n justify-content: space-between;\n align-items: center;\n\n &.default {\n color: tokens.$ifxColorBaseBlack;\n }\n\n &.error {\n color: tokens.$ifxColorRed500;\n }\n}\n\n.caption-text {\n font: tokens.$ifxBodyBody05;\n flex: 1;\n text-align: left;\n text-underline-position: from-font;\n text-decoration-skip-ink: none;\n}\n\n.caption-icon {\n flex:0;\n display: flex;\n}","import { Component, State, Prop, h, Element, Listen, Method } from '@stencil/core';\nimport { trackComponent } from '../../global/utils/tracking';\nimport { isNestedInIfxComponent } from '../../global/utils/dom-utils';\nimport { detectFramework } from '../../global/utils/framework-detection';\n\n@Component({\n tag: 'ifx-radio-button-group',\n styleUrl: 'radio-button-group.scss',\n shadow: true,\n formAssociated: true\n})\n\nexport class RadioButtonGroup {\n private errorStates: Map<HTMLElement, boolean> = new Map();\n\n @Element() el: HTMLElement;\n @Prop() alignment: 'horizontal' | 'vertical' = 'vertical';\n @Prop() size: string;\n @Prop() showGroupLabel: boolean;\n @Prop() groupLabelText: string = 'Group Label Text';\n @Prop() showCaption: boolean;\n @Prop() captionText: string;\n @Prop() showCaptionIcon: boolean;\n @State() hasErrors: boolean = false;\n \n @Listen('ifxError')\n handleRadioButtonError(event: CustomEvent) {\n const radioButton = event.target as HTMLElement;\n if (radioButton.tagName === 'ifx-radio-button') {\n this.errorStates.set(radioButton, event.detail);\n this.updateHasErrors();\n }\n }\n\n // Method to set the error state of all radio-butttons in the group\n @Method()\n async setGroupError(error: boolean) {\n const radioButtons = Array.from(this.el.querySelectorAll('ifx-radio-button'));\n radioButtons.forEach((radioButton) => {\n (radioButton as any).error = error;\n });\n }\n\n componentWillLoad() {\n this.initializeState();\n }\n\n async componentDidLoad() { \n if(!isNestedInIfxComponent(this.el)) { \n const framework = detectFramework();\n trackComponent('ifx-radio-button-group', await framework)\n }\n }\n\n handleSlotChange = () => {\n this.initializeState();\n };\n\n private initializeState() {\n this.errorStates.clear();\n const radioButtons = Array.from(this.el.querySelectorAll('ifx-radio-button'));\n radioButtons.forEach((radioButton) => {\n if (!this.errorStates.has(radioButton)) {\n this.errorStates.set(radioButton, (radioButton as any).error || false);\n }\n });\n this.updateHasErrors();\n }\n\n private updateHasErrors() {\n this.hasErrors = Array.from(this.errorStates.values()).some((error) => error);\n }\n\n render() {\n return (\n <div class='radio-button-group-container'>\n {this.showGroupLabel ? <div class='group-label'>{this.groupLabelText} *</div> : ''}\n <div class={`radio-button-group ${this.alignment} ${this.size}`}>\n <slot onSlotchange={this.handleSlotChange} ></slot>\n </div>\n {this.showCaption ? (\n <div class={`caption ${this.hasErrors ? 'error' : 'default'}`}>\n {this.showCaptionIcon ? <div class='caption-icon'><ifx-icon icon=\"c-info-16\">\n </ifx-icon></div> : ''}\n <div class='caption-text'>{this.captionText}</div>\n </div>) : ''}\n </div>\n );\n }\n}"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"ifx-radio-button-group.entry.js","sources":["src/components/radio-button-group/radio-button-group.scss?tag=ifx-radio-button-group&encapsulation=shadow","src/components/radio-button-group/radio-button-group.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n.radio-button-group-container {\n display: flex;\n flex-direction: column;\n}\n\n.radio-button-group {\n display: flex;\n font-family: var(--ifx-font-family); // tokens.$ifxFontFamilyBody;\n\n\n gap: tokens.$ifxSpace100;\n\n &.horizontal {\n flex-direction: row;\n column-gap: tokens.$ifxSpace150;\n }\n\n &.vertical {\n flex-direction: column;\n row-gap: tokens.$ifxSpace150;\n }\n}\n\n.group-label {\n font-size: tokens.$ifxFontSizeM;\n line-height: tokens.$ifxLineHeightM;\n font-weight: tokens.$ifxFontWeightRegular;\n margin-bottom: tokens.$ifxSpace100;\n text-align: left;\n text-underline-position: from-font;\n text-decoration-skip-ink: none;\n}\n\n.group-label .required {\n color: tokens.$ifxColorEngineering500;\n margin-left: tokens.$ifxSpace50;\n}\n\n.group-label .required.error {\n color: tokens.$ifxColorRed500;\n}\n\n.caption {\n margin-top: tokens.$ifxSpace100;\n align-self: flex-start;\n display: flex;\n width: 100%;\n column-gap: tokens.$ifxSpace100;\n justify-content: space-between;\n align-items: center;\n\n &.default {\n color: tokens.$ifxColorBaseBlack;\n }\n\n &.error {\n color: tokens.$ifxColorRed500;\n }\n}\n\n.caption-text {\n font-size: tokens.$ifxFontSizeXs;\n line-height: tokens.$ifxLineHeightXs;\n flex: 1;\n text-align: left;\n text-underline-position: from-font;\n text-decoration-skip-ink: none;\n}\n\n.caption-icon {\n flex:0;\n display: flex;\n}","import { Component, State, Prop, h, Element, Listen, Method } from '@stencil/core';\nimport { trackComponent } from '../../global/utils/tracking';\nimport { isNestedInIfxComponent } from '../../global/utils/dom-utils';\nimport { detectFramework } from '../../global/utils/framework-detection';\n\n@Component({\n tag: 'ifx-radio-button-group',\n styleUrl: 'radio-button-group.scss',\n shadow: true,\n formAssociated: true\n})\n\nexport class RadioButtonGroup {\n private errorStates: Map<HTMLElement, boolean> = new Map();\n\n @Element() el: HTMLElement;\n @Prop() alignment: 'horizontal' | 'vertical' = 'vertical';\n @Prop() size: string;\n @Prop() showGroupLabel: boolean;\n @Prop() groupLabelText: string = 'Group Label Text';\n @Prop() showCaption: boolean;\n @Prop() captionText: string;\n @Prop() showCaptionIcon: boolean;\n @Prop() required: boolean = false;\n @State() hasErrors: boolean = false;\n \n @Listen('ifxError')\n handleRadioButtonError(event: CustomEvent) {\n const radioButton = event.target as HTMLElement;\n if (radioButton.tagName === 'ifx-radio-button') {\n this.errorStates.set(radioButton, event.detail);\n this.updateHasErrors();\n }\n }\n\n // Method to set the error state of all radio-butttons in the group\n @Method()\n async setGroupError(error: boolean) {\n const radioButtons = Array.from(this.el.querySelectorAll('ifx-radio-button'));\n radioButtons.forEach((radioButton) => {\n (radioButton as any).error = error;\n });\n }\n\n componentWillLoad() {\n this.initializeState();\n }\n\n async componentDidLoad() { \n if(!isNestedInIfxComponent(this.el)) { \n const framework = detectFramework();\n trackComponent('ifx-radio-button-group', await framework)\n }\n }\n\n handleSlotChange = () => {\n this.initializeState();\n };\n\n private initializeState() {\n this.errorStates.clear();\n const radioButtons = Array.from(this.el.querySelectorAll('ifx-radio-button'));\n radioButtons.forEach((radioButton) => {\n if (!this.errorStates.has(radioButton)) {\n this.errorStates.set(radioButton, (radioButton as any).error || false);\n }\n });\n this.updateHasErrors();\n }\n\n private updateHasErrors() {\n this.hasErrors = Array.from(this.errorStates.values()).some((error) => error);\n }\n\n render() {\n return (\n <div class='radio-button-group-container'>\n {this.showGroupLabel && (\n <div class=\"group-label\">\n {this.groupLabelText}\n {this.required && <span class={`required ${this.hasErrors ? 'error' : ''}`}>*</span>}\n </div>\n )}\n <div class={`radio-button-group ${this.alignment} ${this.size}`}>\n <slot onSlotchange={this.handleSlotChange} ></slot>\n </div>\n {this.showCaption ? (\n <div class={`caption ${this.hasErrors ? 'error' : 'default'}`}>\n {this.showCaptionIcon ? <div class='caption-icon'><ifx-icon icon=\"c-info-16\">\n </ifx-icon></div> : ''}\n <div class='caption-text'>{this.captionText}</div>\n </div>) : ''}\n </div>\n );\n }\n}"],"names":[],"mappings":"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"}
@@ -104,10 +104,10 @@ const RadioButton = class {
104
104
  }
105
105
  }
106
106
  render() {
107
- return (h("div", { key: '70a3fcd52e6e216c89ab477df26405f77d4d56be', role: "radio", "aria-checked": String(this.internalChecked), "aria-disabled": String(this.disabled), class: `radioButton__container ${this.size} ${this.disabled ? 'disabled' : ''}`, onClick: (e) => this.handleRadioButtonClick(e), tabindex: this.disabled ? -1 : 0 }, h("div", { key: '9cd248817e1ceccae7cbd23fce48116054b9d0c6', class: `radioButton__wrapper
107
+ return (h("div", { key: '672fd8be8a134e481c7f4251b95a0978fa3d934e', role: "radio", "aria-checked": String(this.internalChecked), "aria-disabled": String(this.disabled), class: `radioButton__container ${this.size} ${this.disabled ? 'disabled' : ''}`, onClick: (e) => this.handleRadioButtonClick(e), tabindex: this.disabled ? -1 : 0 }, h("div", { key: '33e9862f00b7544eb320f43e5763edb44242c299', class: `radioButton__wrapper
108
108
  ${this.internalChecked ? 'checked' : ''}
109
109
  ${this.disabled ? 'disabled' : ''}
110
- ${this.error ? 'error' : ''}` }, this.internalChecked && h("div", { key: '03f787f6a6e124a4d4ae4059401bc47c91c0b79e', class: "radioButton__wrapper-mark" })), this.hasSlot && (h("div", { key: '372a031591d76cfba685bfd0519fbf5f8332701b', class: `label ${this.size === "m" ? "label-m" : ""} ${this.disabled ? 'disabled' : ''}` }, h("slot", { key: '72ff42a1a482e8003829b56b4b40f216e32a9fb9' }))), h("input", { key: '70e8526b7498b94e21e06eb33c21766c29af6804', type: "radio", hidden: true, ref: el => this.inputElement = el, name: this.name, value: this.value, checked: this.internalChecked, disabled: this.disabled, onClick: (e) => e.stopPropagation() })));
110
+ ${this.error ? 'error' : ''}` }, this.internalChecked && h("div", { key: 'b2e090f994f231c55fabaa55fa7f7bf0790c92af', class: "radioButton__wrapper-mark" })), this.hasSlot && (h("div", { key: 'b3b0f595a56ff3fb5f43f3d4fee7065a13932a3e', class: `label ${this.size === "m" ? "label-m" : ""} ${this.disabled ? 'disabled' : ''}` }, h("slot", { key: '6f235a7af0381d4dfcc15a80a32604ed4843eb89' }))), h("input", { key: 'd0c2bf2a3f1471221887fe4046760b9ebf9ce300', type: "radio", hidden: true, ref: el => this.inputElement = el, name: this.name, value: this.value, checked: this.internalChecked, disabled: this.disabled, onClick: (e) => e.stopPropagation() })));
111
111
  }
112
112
  static get formAssociated() { return true; }
113
113
  get el() { return getElement(this); }
@@ -44,7 +44,7 @@ const SearchBar = class {
44
44
  this.value = event.detail;
45
45
  }
46
46
  render() {
47
- return (h("div", { key: '09974ec9adab8f6dfa54364c8ba4665574cdebe9', role: "search", "aria-label": "a search field for user input", "aria-value": this.value, "aria-disabled": this.disabled, class: `search-bar ${this.internalState ? 'open' : 'closed'}` }, this.internalState ? (h("div", { class: "search-bar-wrapper" }, h("ifx-search-field", { autocomplete: this.autocomplete, disabled: this.disabled, value: this.value, maxlength: this.maxlength, onIfxInput: this.handleInput.bind(this) }, h("ifx-icon", { icon: "search-16", slot: "search-icon" })), h("a", { "aria-label": "Close button", href: 'javascript:void(0)', onClick: this.handleCloseButton }, "Close"))) : (h("div", { class: "search-bar_icon-wrapper", onClick: this.handleCloseButton }, h("ifx-icon", { icon: "search-16" })))));
47
+ return (h("div", { key: '7d45f985d7fd0b65e714f7cb129aa85dc1cc5a8b', role: "search", "aria-label": "a search field for user input", "aria-value": this.value, "aria-disabled": this.disabled, class: `search-bar ${this.internalState ? 'open' : 'closed'}` }, this.internalState ? (h("div", { class: "search-bar-wrapper" }, h("ifx-search-field", { autocomplete: this.autocomplete, disabled: this.disabled, value: this.value, maxlength: this.maxlength, onIfxInput: this.handleInput.bind(this) }, h("ifx-icon", { icon: "search-16", slot: "search-icon" })), h("a", { "aria-label": "Close button", href: 'javascript:void(0)', onClick: this.handleCloseButton }, "Close"))) : (h("div", { class: "search-bar_icon-wrapper", onClick: this.handleCloseButton }, h("ifx-icon", { icon: "search-16" })))));
48
48
  }
49
49
  get el() { return getElement(this); }
50
50
  static get watchers() { return {
@@ -375,12 +375,12 @@ const SearchField = class {
375
375
  this.showDeleteIconInternalState = false;
376
376
  }
377
377
  render() {
378
- return (h("div", { key: '1464337ac84aa2707e9c17d6d21af2087253c233', "aria-disabled": this.disabled, "aria-value": this.value, class: 'search-field' }, h("div", { key: 'd7bace664f3b66a42feff790959c83d3cd86fbe0', class: this.getWrapperClassNames(), tabindex: 1, onClick: () => this.focusInput() }, h("ifx-icon", { key: 'deb5c77cf9ebde1146afdffc5279b260da4f757a', icon: "search-16", class: "search-icon" }), h("input", { key: 'cc247404c0d78ca0e8d163e9a1b315abd279f093', ref: (el) => (this.inputElement = el), type: "text", autocomplete: this.autocomplete, onInput: () => this.handleInput(), onFocus: () => this.focusInput(), onBlur: () => this.blurInput(), placeholder: this.placeholder, disabled: this.disabled, maxlength: this.maxlength, value: this.value, role: "combobox", "aria-expanded": this.showDropdown, "aria-autocomplete": "list", "aria-haspopup": "listbox", "aria-label": this.ariaLabel, "aria-labelledby": this.ariaLabelledBy, "aria-describedby": this.ariaDescribedBy, "aria-owns": this.showDropdown ? 'suggestions-dropdown' : undefined, "aria-activedescendant": this.selectedSuggestionIndex >= 0 ? `suggestion-${this.selectedSuggestionIndex}` : undefined }), this.showDeleteIcon && this.showDeleteIconInternalState ? (h("ifx-icon", { icon: "cRemove16", class: "delete-icon", onClick: this.handleDelete, role: "button", tabindex: "0", "aria-label": this.deleteIconAriaLabel, onKeyDown: (event) => {
378
+ return (h("div", { key: '63db140a599cfc988bcf0ea60a362bc84dbf830d', "aria-disabled": this.disabled, "aria-value": this.value, class: 'search-field' }, h("div", { key: 'a5e8dda10cf69739331c68da2f3caf42006ab0d9', class: this.getWrapperClassNames(), tabindex: 1, onClick: () => this.focusInput() }, h("ifx-icon", { key: 'fcb9692cc68524a3efcd6ec177f504a653c872d0', icon: "search-16", class: "search-icon" }), h("input", { key: '0ca39241326c6af91fd2f8d193f4f6e8aab49b07', ref: (el) => (this.inputElement = el), type: "text", autocomplete: this.autocomplete, onInput: () => this.handleInput(), onFocus: () => this.focusInput(), onBlur: () => this.blurInput(), placeholder: this.placeholder, disabled: this.disabled, maxlength: this.maxlength, value: this.value, role: "combobox", "aria-expanded": this.showDropdown, "aria-autocomplete": "list", "aria-haspopup": "listbox", "aria-label": this.ariaLabel, "aria-labelledby": this.ariaLabelledBy, "aria-describedby": this.ariaDescribedBy, "aria-owns": this.showDropdown ? 'suggestions-dropdown' : undefined, "aria-activedescendant": this.selectedSuggestionIndex >= 0 ? `suggestion-${this.selectedSuggestionIndex}` : undefined }), this.showDeleteIcon && this.showDeleteIconInternalState ? (h("ifx-icon", { icon: "cRemove16", class: "delete-icon", onClick: this.handleDelete, role: "button", tabindex: "0", "aria-label": this.deleteIconAriaLabel, onKeyDown: (event) => {
379
379
  if (event.key === 'Enter' || event.key === ' ') {
380
380
  event.preventDefault();
381
381
  this.handleDelete();
382
382
  }
383
- } })) : null), this.showDropdown && this.filteredSuggestions.length > 0 && (h("div", { key: '641b84e82bd07d44f6a657ac4e3af27af33f868a', ref: (el) => (this.dropdownElement = el), id: "suggestions-dropdown", class: "suggestions-dropdown", role: "listbox", "aria-label": this.dropdownAriaLabel }, this.isShowingOnlyHistory() && (h("div", { key: '66dbc2db67478154a79cc6a10796086e0ce819c3', class: "suggestions-header" }, this.historyHeaderText)), this.filteredSuggestions.map((suggestion, index) => (h("div", { key: suggestion.id, id: `suggestion-${index}`, class: this.getSuggestionClassNames(index), role: "option", "aria-selected": index === this.selectedSuggestionIndex, "aria-label": `${suggestion.type === 'history' ? this.historyItemAriaLabel : this.suggestionAriaLabel}: ${suggestion.text}${suggestion.scope ? `, ${suggestion.scope}` : ''}${suggestion.resultCount ? `, ${suggestion.resultCount} results` : ''}`, onClick: () => this.selectSuggestion(suggestion), onMouseEnter: () => this.selectedSuggestionIndex = index }, h("div", { class: "suggestion-content" }, suggestion.type === 'history' && (h("ifx-icon", { icon: "history-16", class: "suggestion-icon suggestion-icon--history" })), suggestion.type === 'suggestion' && (h("ifx-icon", { icon: "search-16", class: "suggestion-icon suggestion-icon--suggestion" })), h("span", { class: "suggestion-text" }, h("span", { class: "suggestion-main-text" }, this.renderHighlightedText(suggestion.text, this.value)), suggestion.scope && (h("span", { class: "suggestion-scope" }, "\u2013 ", suggestion.scope))), suggestion.resultCount !== undefined && suggestion.scope && (h("span", { class: "suggestion-count" }, suggestion.resultCount)), suggestion.type === 'history' && (h("ifx-icon", { icon: "cross16", class: "suggestion-delete-icon", role: "button", tabindex: "0", "aria-label": `${this.historyDeleteAriaLabel}: ${suggestion.text}`, onClick: (event) => this.handleHistoryDelete(event, suggestion.text), onKeyDown: (event) => {
383
+ } })) : null), this.showDropdown && this.filteredSuggestions.length > 0 && (h("div", { key: 'e02b8183ecc5a2a146d8a9c9f19e8b0c74a8c48a', ref: (el) => (this.dropdownElement = el), id: "suggestions-dropdown", class: "suggestions-dropdown", role: "listbox", "aria-label": this.dropdownAriaLabel }, this.isShowingOnlyHistory() && (h("div", { key: '0d77206d8a2e599a389d3df1a66151102390d9fe', class: "suggestions-header" }, this.historyHeaderText)), this.filteredSuggestions.map((suggestion, index) => (h("div", { key: suggestion.id, id: `suggestion-${index}`, class: this.getSuggestionClassNames(index), role: "option", "aria-selected": index === this.selectedSuggestionIndex, "aria-label": `${suggestion.type === 'history' ? this.historyItemAriaLabel : this.suggestionAriaLabel}: ${suggestion.text}${suggestion.scope ? `, ${suggestion.scope}` : ''}${suggestion.resultCount ? `, ${suggestion.resultCount} results` : ''}`, onClick: () => this.selectSuggestion(suggestion), onMouseEnter: () => this.selectedSuggestionIndex = index }, h("div", { class: "suggestion-content" }, suggestion.type === 'history' && (h("ifx-icon", { icon: "history-16", class: "suggestion-icon suggestion-icon--history" })), suggestion.type === 'suggestion' && (h("ifx-icon", { icon: "search-16", class: "suggestion-icon suggestion-icon--suggestion" })), h("span", { class: "suggestion-text" }, h("span", { class: "suggestion-main-text" }, this.renderHighlightedText(suggestion.text, this.value)), suggestion.scope && (h("span", { class: "suggestion-scope" }, "\u2013 ", suggestion.scope))), suggestion.resultCount !== undefined && suggestion.scope && (h("span", { class: "suggestion-count" }, suggestion.resultCount)), suggestion.type === 'history' && (h("ifx-icon", { icon: "cross16", class: "suggestion-delete-icon", role: "button", tabindex: "0", "aria-label": `${this.historyDeleteAriaLabel}: ${suggestion.text}`, onClick: (event) => this.handleHistoryDelete(event, suggestion.text), onKeyDown: (event) => {
384
384
  if (event.key === 'Enter' || event.key === ' ') {
385
385
  event.preventDefault();
386
386
  this.handleHistoryDelete(event, suggestion.text);
@@ -23,7 +23,7 @@ const Segment = class {
23
23
  }
24
24
  }
25
25
  render() {
26
- return (h("div", { key: 'cd801960a7ce5e8112b0d544a0122ded889cfc1f', class: `segment ${this.selected ? 'segment--selected' : ''}`, tabIndex: 0, onClick: () => { this.handleSegmentClick(); }, onKeyDown: (e) => { this.handleSegmentKeyDown(e); } }, h("ifx-icon", { key: 'c81cddf4a652f00324cbc0b8a31c3598c1b62a08', icon: this.icon }), " ", h("slot", { key: '7b9786b4b20e69eaf30b5a6d140decff95e04423' })));
26
+ return (h("div", { key: 'a76781c607aad619d279d69346755e5d24e419f2', class: `segment ${this.selected ? 'segment--selected' : ''}`, tabIndex: 0, onClick: () => { this.handleSegmentClick(); }, onKeyDown: (e) => { this.handleSegmentKeyDown(e); } }, h("ifx-icon", { key: '1f0e9e14400d9f78c8c849e9073ae89b191d041e', icon: this.icon }), " ", h("slot", { key: '201ac1267f6a0930cd4baa0721c5010fa82de700' })));
27
27
  }
28
28
  };
29
29
  Segment.style = segmentCss;
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, h, a as getElement } from './i
2
2
  import { d as detectFramework, t as trackComponent } from './framework-detection-DcmcuUOA.js';
3
3
  import { i as isNestedInIfxComponent } from './dom-utils-Bw2fh5LT.js';
4
4
 
5
- const segmentedControlCss = ":root{--ifx-font-family:\"Source Sans 3\", \"Arial, sans-serif\"}.group{display:flex;flex-direction:column;justify-content:space-between;gap:12px}.group__label{font:400 0.75rem/1rem \"Source Sans 3\"}.group__label:empty{display:none}.group__controls{display:flex;flex-wrap:wrap}.group__controls ::slotted(*){margin-left:-1px;margin-top:-1px}.group__caption{display:flex;align-items:center;gap:8px;font:400 0.75rem/1rem \"Source Sans 3\"}";
5
+ const segmentedControlCss = ":root{--ifx-font-family:\"Source Sans 3\", \"Arial, sans-serif\"}.group{display:flex;flex-direction:column;justify-content:space-between}.group__label{font-size:1rem;line-height:1.5rem;font-weight:400}.group__label:empty{display:none}.group__label .required{color:#575352;margin-left:4px}.group__label .required.error{color:#CD002F}.group__controls{display:flex;flex-wrap:wrap}.group__controls ::slotted(*){margin-left:-1px;margin-top:-1px}.group__caption{margin-top:4px;display:flex;align-items:center;gap:8px;font-weight:400;font-size:0.75rem;line-height:1rem}.group__caption.error{color:#CD002F}";
6
6
 
7
7
  const SegmentedControl = class {
8
8
  constructor(hostRef) {
@@ -11,6 +11,8 @@ const SegmentedControl = class {
11
11
  this.caption = '';
12
12
  this.label = '';
13
13
  this.size = 'regular';
14
+ this.required = false;
15
+ this.error = false;
14
16
  this.selectedValue = '';
15
17
  }
16
18
  onSegmentSelect(event) {
@@ -69,8 +71,8 @@ const SegmentedControl = class {
69
71
  this.setActiveSegment();
70
72
  }
71
73
  render() {
72
- return (h("div", { key: '7c7d870d32000a823ae2d365fb8b864d800ec9fe', "aria-value": this.selectedValue, "aria-label": 'segmented control', class: 'group' }, h("div", { key: '66e95707b6616e370e35cd98e4c3b89853b8501f', class: 'group__label' }, this.label.trim()), h("div", { key: 'ab8c969a145fa9e1071ee12426a641034ff8be4d', class: 'group__controls' }, h("slot", { key: '849c4bdf76a0951d829820620813258553b8a6df' })), this.caption.trim() &&
73
- h("div", { key: '905c964392ca304634aba610f96c43a4e5b95eb9', class: 'group__caption' }, h("ifx-icon", { key: '42fb13f0a7170a7b36ea2a9c8afb1d3ba9d579c9', icon: 'c-info-16' }), " ", this.caption.trim())));
74
+ return (h("div", { key: '89adf4eb1c9da0bdacac4d7d0a26bf0c4d01666d', "aria-value": this.selectedValue, "aria-label": 'segmented control', class: "group" }, h("div", { key: '5ed77f418047838589851b36d90d1a12eeb9b664', class: 'group__label' }, this.label.trim(), this.required && h("span", { key: '745973fd74bcbdadb4651a8148aa584c45a6999a', class: `required ${this.error ? 'error' : ''}` }, "*")), h("div", { key: '02a611e12d25901cd6657774d3e6dbebaeb2686d', class: 'group__controls' }, h("slot", { key: '601f72992d94bc5cefc1de872edd4ba1567c4564' })), this.caption.trim() &&
75
+ h("div", { key: 'b6e5ac307a1d908a5054ce225acc9a41db235618', class: `group__caption ${this.error ? 'error' : ''}` }, h("ifx-icon", { key: '3d44e4a1a64e608948d807fe6ec014c4adc45c6a', icon: 'c-info-16' }), " ", this.caption.trim())));
74
76
  }
75
77
  componentDidRender() {
76
78
  this.setSegmentSize();
@@ -1 +1 @@
1
- {"version":3,"file":"ifx-segmented-control.entry.js","sources":["src/components/segmented-control/segmented-control.scss?tag=ifx-segmented-control&encapsulation=shadow","src/components/segmented-control/segmented-control.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n.group {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n gap: tokens.$ifxSpace150;\n}\n\n.group__label {\n font: tokens.$ifxBodyBody05;\n\n &:empty {\n display: none;\n }\n}\n\n.group__controls {\n display: flex;\n flex-wrap: wrap;\n}\n\n.group__controls ::slotted(*) {\n margin-left: -1px;\n margin-top: -1px;\n}\n\n.group__caption {\n display: flex;\n align-items: center;\n gap: tokens.$ifxSpace100;\n \n font: tokens.$ifxBodyBody05;\n}\n","import { h, Component, Element, Event, EventEmitter, Listen, Prop } from \"@stencil/core\";\nimport { trackComponent } from '../../global/utils/tracking'; \nimport { isNestedInIfxComponent } from '../../global/utils/dom-utils';\nimport { detectFramework } from '../../global/utils/framework-detection';\n\n@Component ({\n tag: 'ifx-segmented-control',\n styleUrl: 'segmented-control.scss',\n shadow: true\n})\n\nexport class SegmentedControl {\n @Element() SegmentedControl: HTMLIfxSegmentedControlElement;\n\n @Event() ifxChange: EventEmitter<{ previousValue: string, selectedValue: string }>;\n\n @Prop() caption: string = '';\n @Prop() label: string = '';\n @Prop() size: 'regular' | 'small' = 'regular';\n\n @Listen('segmentSelect')\n onSegmentSelect(event: CustomEvent) {\n const { previousValue, selectedValue } = this.unselectPreviousSegment(event.detail);\n this.selectedValue = selectedValue;\n this.ifxChange.emit({ previousValue, selectedValue });\n }\n\n private selectedValue: string = '';\n\n unselectPreviousSegment(newSelectedIndex: number): { previousValue: string, selectedValue: string } {\n let previousValue: string;\n let selectedValue: string;\n\n const segments: NodeList = this.getSegments();\n segments.forEach((control: HTMLIfxSegmentElement) => {\n if (control.selected) {\n if (control.segmentIndex !== newSelectedIndex) {\n control.selected = false;\n previousValue = control.value;\n } else {\n selectedValue = control.value;\n }\n }\n })\n\n return { previousValue, selectedValue };\n }\n\n getSegments(): NodeList {\n return this.SegmentedControl.querySelectorAll('ifx-segment');\n }\n\n setActiveSegment(): void {\n const segments: NodeList = this.getSegments();\n let activeSegmentedControlFound = false;\n segments.forEach((control: HTMLIfxSegmentElement, idx: number) => {\n control.segmentIndex = idx;\n if (activeSegmentedControlFound) {\n if (control.selected) control.selected = false;\n } else {\n if (control.selected) {\n activeSegmentedControlFound = true;\n this.selectedValue = control.value;\n }\n }\n });\n }\n\n setSegmentSize(): void {\n const segments: NodeList = this.getSegments();\n segments.forEach((control: HTMLIfxSegmentElement) => {\n control.shadowRoot.querySelector('.segment').classList.add(`segment--${this.size}`);\n });\n }\n\n async componentDidLoad() {\n if(!isNestedInIfxComponent(this.SegmentedControl)) { \n const framework = detectFramework();\n trackComponent('ifx-segmented-control', await framework)\n }\n this.setActiveSegment();\n }\n\n render() {\n return (\n <div aria-value={this.selectedValue} aria-label='segmented control' class='group'>\n <div class='group__label'>\n { this.label.trim() }\n </div>\n \n <div class='group__controls'>\n <slot />\n </div>\n \n {\n this.caption.trim() &&\n <div class='group__caption'>\n <ifx-icon icon='c-info-16'></ifx-icon> { this.caption.trim() }\n </div>\n }\n </div>\n );\n }\n\n componentDidRender() {\n this.setSegmentSize();\n }\n}"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"ifx-segmented-control.entry.js","sources":["src/components/segmented-control/segmented-control.scss?tag=ifx-segmented-control&encapsulation=shadow","src/components/segmented-control/segmented-control.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n.group {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n}\n\n.group__label {\n font-size: tokens.$ifxFontSizeM;\n line-height: tokens.$ifxLineHeightM;\n font-weight: tokens.$ifxFontWeightRegular;\n \n &:empty {\n display: none;\n }\n\n & .required {\n color: tokens.$ifxColorEngineering500;\n margin-left: tokens.$ifxSpace50;\n\n &.error {\n color: tokens.$ifxColorRed500;\n }\n }\n}\n\n.group__controls {\n display: flex;\n flex-wrap: wrap;\n}\n\n.group__controls ::slotted(*) {\n margin-left: -1px;\n margin-top: -1px;\n}\n\n.group__caption {\n margin-top: tokens.$ifxSpace50;\n display: flex;\n align-items: center;\n gap: tokens.$ifxSpace100;\n font-weight: tokens.$ifxFontWeightRegular;\n font-size: tokens.$ifxFontSizeXs;\n line-height: tokens.$ifxLineHeightXs;\n\n &.error {\n color: tokens.$ifxColorRed500;\n }\n}\n","import { h, Component, Element, Event, EventEmitter, Listen, Prop } from \"@stencil/core\";\nimport { trackComponent } from '../../global/utils/tracking'; \nimport { isNestedInIfxComponent } from '../../global/utils/dom-utils';\nimport { detectFramework } from '../../global/utils/framework-detection';\n\n@Component ({\n tag: 'ifx-segmented-control',\n styleUrl: 'segmented-control.scss',\n shadow: true\n})\n\nexport class SegmentedControl {\n @Element() SegmentedControl: HTMLIfxSegmentedControlElement;\n\n @Event() ifxChange: EventEmitter<{ previousValue: string, selectedValue: string }>;\n\n @Prop() caption: string = '';\n @Prop() label: string = '';\n @Prop() size: 'regular' | 'small' = 'regular';\n @Prop() required: boolean = false;\n @Prop() error: boolean = false;\n\n\n @Listen('segmentSelect')\n onSegmentSelect(event: CustomEvent) {\n const { previousValue, selectedValue } = this.unselectPreviousSegment(event.detail);\n this.selectedValue = selectedValue;\n this.ifxChange.emit({ previousValue, selectedValue });\n }\n\n private selectedValue: string = '';\n\n unselectPreviousSegment(newSelectedIndex: number): { previousValue: string, selectedValue: string } {\n let previousValue: string;\n let selectedValue: string;\n\n const segments: NodeList = this.getSegments();\n segments.forEach((control: HTMLIfxSegmentElement) => {\n if (control.selected) {\n if (control.segmentIndex !== newSelectedIndex) {\n control.selected = false;\n previousValue = control.value;\n } else {\n selectedValue = control.value;\n }\n }\n })\n\n return { previousValue, selectedValue };\n }\n\n getSegments(): NodeList {\n return this.SegmentedControl.querySelectorAll('ifx-segment');\n }\n\n setActiveSegment(): void {\n const segments: NodeList = this.getSegments();\n let activeSegmentedControlFound = false;\n segments.forEach((control: HTMLIfxSegmentElement, idx: number) => {\n control.segmentIndex = idx;\n if (activeSegmentedControlFound) {\n if (control.selected) control.selected = false;\n } else {\n if (control.selected) {\n activeSegmentedControlFound = true;\n this.selectedValue = control.value;\n }\n }\n });\n }\n\n setSegmentSize(): void {\n const segments: NodeList = this.getSegments();\n segments.forEach((control: HTMLIfxSegmentElement) => {\n control.shadowRoot.querySelector('.segment').classList.add(`segment--${this.size}`);\n });\n }\n\n async componentDidLoad() {\n if(!isNestedInIfxComponent(this.SegmentedControl)) { \n const framework = detectFramework();\n trackComponent('ifx-segmented-control', await framework)\n }\n this.setActiveSegment();\n }\n\n render() {\n return (\n <div aria-value={this.selectedValue} aria-label='segmented control' class=\"group\">\n <div class='group__label'>\n { this.label.trim() }\n { this.required && <span class={`required ${this.error ? 'error' : ''}`}>*</span> }\n </div>\n \n <div class='group__controls'>\n <slot />\n </div>\n \n {\n this.caption.trim() &&\n <div class={`group__caption ${this.error ? 'error' : ''}`}>\n <ifx-icon icon='c-info-16'></ifx-icon> { this.caption.trim() }\n </div>\n }\n </div>\n );\n }\n\n componentDidRender() {\n this.setSegmentSize();\n }\n}"],"names":[],"mappings":"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"}
@@ -6834,7 +6834,7 @@ function isJSONParseable(str) {
6834
6834
  }
6835
6835
  }
6836
6836
 
6837
- const selectCss = ":root{--ifx-font-family:\"Source Sans 3\", \"Arial, sans-serif\"}.ifx-select-container{box-sizing:border-box;font-family:var(--ifx-font-family);}.ifx-select-container.small-select{height:36px}.ifx-select-container.medium-select{height:40px}.ifx-select-container:hover{cursor:pointer}.ifx-select-container .ifx-label-wrapper{font-size:1rem;line-height:1.5rem;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:anywhere;max-width:100%;overflow:hidden}.ifx-select-container .ifx-error-message-wrapper{color:#CD002F;font-size:0.75rem;line-height:1rem;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:anywhere;max-width:100%;overflow:hidden}.ifx-select-container .ifx-choices__wrapper{background-color:#FFFFFF;box-sizing:border-box;position:relative;display:flex;align-items:center;border:1px solid #8D8786;border-radius:1px;font-weight:400;font-style:normal;width:100%}.ifx-select-container .ifx-choices__wrapper .choices{flex-grow:1;overflow:hidden}.ifx-select-container .ifx-choices__wrapper .single__select-icon-container{display:flex;align-items:center;margin-left:auto}.ifx-select-container .ifx-choices__wrapper.small-select{height:36px;line-height:20px;padding:8px 12px;font-size:0.875rem;line-height:1.25rem}.ifx-select-container .ifx-choices__wrapper.medium-select{height:40px;line-height:24px;padding:8px 16px;font-size:1rem;line-height:1.5rem}.ifx-select-container .ifx-choices__wrapper.disabled{background:#EEEDED;color:#575352;border-color:#575352;cursor:default;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ifx-select-container .ifx-choices__wrapper.disabled .ifx-choices__icon-wrapper-down:hover{cursor:default}.ifx-select-container .ifx-choices__wrapper.error{border-color:#CD002F}.ifx-select-container .ifx-choices__wrapper:hover:not(.focus,:focus){border-color:#575352}.ifx-select-container .ifx-choices__wrapper.active{border-color:#0A8276 !important}.ifx-select-container .ifx-choices__wrapper.active .ifx-choices__icon-wrapper-up{display:flex;align-items:center;justify-content:center;padding-left:8px}.ifx-select-container .ifx-choices__wrapper.active .ifx-choices__icon-wrapper-down{display:none}.ifx-select-container .ifx-choices__wrapper:focus-visible:not(.active):not(:active){outline:none}.ifx-select-container .ifx-choices__wrapper:focus-visible:not(.active):not(:active)::before{content:\"\";position:absolute;width:calc(100% + 4px);height:calc(100% + 4px);top:50%;left:50%;transform:translate(-50%, -50%);border:2px solid #0A8276;border-radius:2px}.ifx-select-container .ifx-choices__wrapper:focus:not(.active,:active):not(.disabled)::before{content:\"\";position:absolute;width:calc(100% + 4px);height:calc(100% + 4px);top:50%;left:50%;transform:translate(-50%, -50%)}.ifx-select-container .ifx-choices__wrapper .ifx-choices__icon-wrapper-up{display:none}.ifx-select-container .ifx-choices__wrapper .ifx-choices__icon-wrapper-up:hover{cursor:pointer}.ifx-select-container .ifx-choices__wrapper .ifx-choices__icon-wrapper-down{display:flex;align-items:center;justify-content:center;padding-left:8px}.ifx-select-container .ifx-choices__wrapper .ifx-choices__icon-wrapper-down:hover{cursor:pointer}.ifx-select-container .ifx-choices__wrapper .ifx-choices__icon-wrapper-delete{display:flex;align-items:center;justify-content:center}.ifx-select-container .ifx-choices__wrapper .ifx-choices__icon-wrapper-delete.hide{display:none}.ifx-select-container .ifx-choices__wrapper .ifx-choices__icon-wrapper-delete:focus{outline:none;border:2px solid #08665C;border-radius:50%;box-sizing:border-box}.ifx-select-container .choices{width:100%}.ifx-select-container .choices:focus{outline:none}.choices .ifx-select-container.is-focused{outline:none}.ifx-select-container .choices:last-child{margin-bottom:0}.ifx-select-container .choices.is-disabled .choices__inner,.ifx-select-container .choices.is-disabled .choices__input{cursor:default;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ifx-select-container .choices.is-disabled .choices__item{cursor:default;color:#575352}.ifx-select-container .choices [hidden]{display:none !important}.ifx-select-container .choices[data-type*=select-one]{cursor:pointer}.ifx-select-container .choices[data-type*=select-one] .choices__input{display:block;width:100%;padding:8px 16px;border-bottom:1px solid #8D8786;background-color:#ffffff;margin:0;font-style:normal;font-weight:400}.ifx-select-container .choices[data-type*=select-one] .choices__input.small-select{font-size:0.875rem;line-height:1.25rem}.ifx-select-container .choices[data-type*=select-one] .choices__input.medium-select{font-size:1rem;line-height:1.5rem}.ifx-select-container .choices[data-type*=select-one] .choices__single-button{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==);padding:0;background-size:8px;position:absolute;top:50%;right:0;margin-top:-10px;margin-right:25px;height:20px;width:20px;border-radius:10em;opacity:0.5}.ifx-select-container .choices[data-type*=select-one] .choices__single-button:hover,.ifx-select-container .choices[data-type*=select-one] .choices__single-button:focus{opacity:1}.ifx-select-container .choices[data-type*=select-one] .choices__single-button:focus{box-shadow:0px 0px 0px 2px #0A8276}.ifx-select-container .choices[data-type*=select-one] .choices__item[data-value=\"\"] .choices__single-button{display:none}.ifx-select-container .choices[data-type*=select-one].is-open:after{margin-top:-7.5px}.ifx-select-container .choices[data-type*=select-one][dir=rtl]:after{left:11.5px;right:auto}.ifx-select-container .choices[data-type*=select-one][dir=rtl] .choices__single-button{right:auto;left:0;margin-left:25px;margin-right:0}.ifx-select-container .choices[data-type*=select-multiple]{cursor:pointer}.ifx-select-container .choices[data-type*=select-multiple] .choices__input{display:block;width:100%;margin:0}.ifx-select-container .choices[data-type*=select-multiple] .choices__inner,.ifx-select-container .choices[data-type*=text] .choices__inner{cursor:text}.ifx-select-container .choices[data-type*=select-multiple] .choices__button,.ifx-select-container .choices[data-type*=text] .choices__button{position:relative;display:inline-block;margin-top:0;margin-right:-4px;margin-bottom:0;margin-left:8px;padding-left:16px;border-left:1px solid #0A8276;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==);background-size:8px;width:8px;line-height:1;opacity:0.75;border-radius:0}.ifx-select-container .choices[data-type*=select-multiple] .choices__button:hover,.ifx-select-container .choices[data-type*=select-multiple] .choices__button:focus,.ifx-select-container .choices[data-type*=text] .choices__button:hover,.ifx-select-container .choices[data-type*=text] .choices__button:focus{opacity:1}.ifx-select-container .choices__inner{overflow:hidden}.ifx-select-container .choices__inner .choices__list .choices__item span{flex-grow:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ifx-select-container .is-focused .choices__inner,.ifx-select-container .is-open .choices__inner{border-color:#b7b7b7}.ifx-select-container .is-open .choices__inner{border-radius:2.5px 2.5px 0 0}.ifx-select-container .is-flipped.is-open .choices__inner{border-radius:0 0 2.5px 2.5px}.ifx-select-container .choices__list{margin:0;padding-left:0;list-style:none}.ifx-select-container .choices__list--single .choices__item{width:100%;display:flex;justify-content:space-between}.ifx-select-container .disabled>.choices__list--single .choices__item[data-value=\"\"]{color:#8D8786;}.ifx-select-container .choices__list--multiple .choices__item{display:inline-block;vertical-align:middle;border-radius:20px;padding:4px 10px;font-size:0.75rem;line-height:1rem;font-weight:500;margin-right:3.75px;margin-bottom:3.75px;background-color:#0A8276;border:1px solid #0A8276;color:#FFFFFF;word-break:break-all;box-sizing:border-box}.ifx-select-container .choices__list--multiple .choices__item[data-deletable]{padding-right:5px}.ifx-select-container [dir=rtl] .choices__list--multiple .choices__item{margin-right:0;margin-left:3.75px}.ifx-select-container .choices__list--multiple .choices__item.is-highlighted{background-color:#EEEDED;border:1px solid #0A8276}.ifx-select-container .choices__list--dropdown{display:none;visibility:hidden;box-sizing:border-box;position:absolute;width:100%;background-color:#fff;top:100%;margin-top:-1px;overflow:hidden;word-break:break-all;will-change:visibility;box-shadow:0px 0px 16px rgba(29, 29, 29, 0.12);border-radius:1px;margin-top:8px;z-index:1000;left:0}.ifx-select-container .choices__list--dropdown.is-active{display:block;visibility:visible}.ifx-select-container .is-open .choices__list--dropdown{border-color:#b7b7b7}.ifx-select-container .is-flipped .choices__list--dropdown{top:auto;bottom:100%;margin-top:0;margin-bottom:-1px;border-radius:0.25rem 0.25rem 0 0}.ifx-select-container .choices__list--dropdown .choices__list{position:relative;max-height:300px;overflow:auto;-webkit-overflow-scrolling:touch;will-change:scroll-position}.ifx-select-container .choices__list--dropdown .choices__item{position:relative;padding:8px 16px;gap:8px;align-items:center;display:flex;justify-content:space-between;font-style:normal;font-weight:400}.ifx-select-container .choices__list--dropdown .choices__item.small-select{font-size:0.875rem;line-height:1.25rem}.ifx-select-container .choices__list--dropdown .choices__item.medium-select{font-size:1rem;line-height:1.5rem}.ifx-select-container .choices__list--dropdown .choices__item.selected{color:#0A8276}.ifx-select-container [dir=rtl] .choices__list--dropdown .choices__item{text-align:right}@media (min-width: 640px){.ifx-select-container .choices__list--dropdown .choices__item--selectable:after{font-size:0.75rem;line-height:1rem;opacity:0;position:absolute;right:10px;top:50%;transform:translateY(-50%)}.ifx-select-container [dir=rtl] .choices__list--dropdown .choices__item--selectable{text-align:right;padding-left:100px;padding-right:10px}.ifx-select-container [dir=rtl] .choices__list--dropdown .choices__item--selectable:after{right:auto;left:10px}}.ifx-select-container .choices__list--dropdown .choices__item--selectable.is-highlighted{background-color:#EEEDED}.ifx-select-container .choices__list--dropdown .choices__item--selectable.is-highlighted.selected{color:#0A8276}.ifx-select-container .choices__list--dropdown .choices__item--selectable:hover{background-color:#EEEDED}.ifx-select-container .choices__list--dropdown .choices__item--selectable:hover.selected{color:#0A8276}.ifx-select-container .choices__list--dropdown .choices__item--selectable.is-highlighted:after{opacity:0.5}.ifx-select-container .choices__item{cursor:default}.ifx-select-container .choices__item--selectable{cursor:pointer}.ifx-select-container .choices__item--disabled{cursor:default;-webkit-user-select:none;-ms-user-select:none;user-select:none;opacity:0.5}.ifx-select-container .choices__heading{font-weight:600;font-size:0.75rem;line-height:1rem;padding:10px;border-bottom:1px solid #f7f7f7;color:#1D1D1D}.ifx-select-container .choices__button{text-indent:-9999px;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background-color:transparent;background-repeat:no-repeat;background-position:center;cursor:pointer}.ifx-select-container .choices__button:focus{outline:none}.ifx-select-container .choices__single-button{text-indent:-9999px;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background-color:transparent;background-repeat:no-repeat;background-position:center;cursor:pointer;visibility:hidden}.ifx-select-container .choices__single-button:focus{outline:none}.ifx-select-container .choices__input{display:inline-block;vertical-align:baseline;background-color:#f9f9f9;font-size:0.875rem;line-height:1.25rem;margin-bottom:5px;border:0;border-radius:0;max-width:100%}.ifx-select-container .choices__input--cloned{background-color:transparent}.ifx-select-container .choices__input::-ms-clear{display:none;width:0;height:0}.ifx-select-container .choices__input::-ms-reveal{display:none;width:0;height:0}.ifx-select-container .choices__input::-webkit-search-decoration,.ifx-select-container .choices__input::-webkit-search-cancel-button,.ifx-select-container .choices__input::-webkit-search-results-button,.ifx-select-container .choices__input::-webkit-search-results-decoration{display:none}.ifx-select-container .choices__input:focus{outline:0}.ifx-select-container [dir=rtl] .choices__input{padding-right:2px;padding-left:0}.ifx-select-container .choices__placeholder{opacity:0.5}";
6837
+ const selectCss = ":root{--ifx-font-family:\"Source Sans 3\", \"Arial, sans-serif\"}.ifx-select-container{box-sizing:border-box;font-family:var(--ifx-font-family);}.ifx-select-container.small-select{height:36px}.ifx-select-container.medium-select{height:40px}.ifx-select-container:hover{cursor:pointer}.ifx-select-container .ifx-label-wrapper{font-size:1rem;line-height:1.5rem;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:anywhere;max-width:100%;overflow:hidden}.ifx-select-container .ifx-error-message-wrapper{color:#CD002F;font-size:0.75rem;line-height:1rem;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:anywhere;max-width:100%;overflow:hidden}.ifx-select-container .ifx-choices__wrapper{background-color:#FFFFFF;box-sizing:border-box;position:relative;display:flex;align-items:center;border:1px solid #8D8786;border-radius:1px;font-weight:400;font-style:normal;width:100%}.ifx-select-container .ifx-choices__wrapper .choices{flex-grow:1;overflow:hidden}.ifx-select-container .ifx-choices__wrapper .single__select-icon-container{display:flex;align-items:center;margin-left:auto}.ifx-select-container .ifx-choices__wrapper.small-select{height:36px;line-height:20px;padding:8px 12px;font-size:0.875rem;line-height:1.25rem}.ifx-select-container .ifx-choices__wrapper.medium-select{height:40px;line-height:24px;padding:8px 16px;font-size:1rem;line-height:1.5rem}.ifx-select-container .ifx-choices__wrapper.disabled{background:#EEEDED;color:#575352;border-color:#575352;cursor:default;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ifx-select-container .ifx-choices__wrapper.disabled .ifx-choices__icon-wrapper-down:hover{cursor:default}.ifx-select-container .ifx-choices__wrapper.error{border-color:#CD002F}.ifx-select-container .ifx-choices__wrapper:hover:not(.focus,:focus){border-color:#575352}.ifx-select-container .ifx-choices__wrapper.active{border-color:#0A8276 !important}.ifx-select-container .ifx-choices__wrapper.active .ifx-choices__icon-wrapper-up{display:flex;align-items:center;justify-content:center;padding-left:8px}.ifx-select-container .ifx-choices__wrapper.active .ifx-choices__icon-wrapper-down{display:none}.ifx-select-container .ifx-choices__wrapper:focus-visible:not(.active):not(:active){outline:none}.ifx-select-container .ifx-choices__wrapper:focus-visible:not(.active):not(:active)::before{content:\"\";position:absolute;width:calc(100% + 4px);height:calc(100% + 4px);top:50%;left:50%;transform:translate(-50%, -50%);border:2px solid #0A8276;border-radius:2px}.ifx-select-container .ifx-choices__wrapper:focus:not(.active,:active):not(.disabled)::before{content:\"\";position:absolute;width:calc(100% + 4px);height:calc(100% + 4px);top:50%;left:50%;transform:translate(-50%, -50%)}.ifx-select-container .ifx-choices__wrapper .ifx-choices__icon-wrapper-up{display:none}.ifx-select-container .ifx-choices__wrapper .ifx-choices__icon-wrapper-up:hover{cursor:pointer}.ifx-select-container .ifx-choices__wrapper .ifx-choices__icon-wrapper-down{display:flex;align-items:center;justify-content:center;padding-left:8px}.ifx-select-container .ifx-choices__wrapper .ifx-choices__icon-wrapper-down:hover{cursor:pointer}.ifx-select-container .ifx-choices__wrapper .ifx-choices__icon-wrapper-delete{display:flex;align-items:center;justify-content:center}.ifx-select-container .ifx-choices__wrapper .ifx-choices__icon-wrapper-delete.hide{display:none}.ifx-select-container .choices{width:100%}.ifx-select-container .choices:focus{outline:none}.choices .ifx-select-container.is-focused{outline:none}.ifx-select-container .choices:last-child{margin-bottom:0}.ifx-select-container .choices.is-disabled .choices__inner,.ifx-select-container .choices.is-disabled .choices__input{cursor:default;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ifx-select-container .choices.is-disabled .choices__item{cursor:default;color:#575352}.ifx-select-container .choices [hidden]{display:none !important}.ifx-select-container .choices[data-type*=select-one]{cursor:pointer}.ifx-select-container .choices[data-type*=select-one] .choices__input{display:block;width:100%;padding:8px 16px;border-bottom:1px solid #8D8786;background-color:#ffffff;margin:0;font-style:normal;font-weight:400}.ifx-select-container .choices[data-type*=select-one] .choices__input.small-select{font-size:0.875rem;line-height:1.25rem}.ifx-select-container .choices[data-type*=select-one] .choices__input.medium-select{font-size:1rem;line-height:1.5rem}.ifx-select-container .choices[data-type*=select-one] .choices__single-button{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==);padding:0;background-size:8px;position:absolute;top:50%;right:0;margin-top:-10px;margin-right:25px;height:20px;width:20px;border-radius:10em;opacity:0.5}.ifx-select-container .choices[data-type*=select-one] .choices__single-button:hover,.ifx-select-container .choices[data-type*=select-one] .choices__single-button:focus{opacity:1}.ifx-select-container .choices[data-type*=select-one] .choices__single-button:focus{box-shadow:0px 0px 0px 2px #0A8276}.ifx-select-container .choices[data-type*=select-one] .choices__item[data-value=\"\"] .choices__single-button{display:none}.ifx-select-container .choices[data-type*=select-one].is-open:after{margin-top:-7.5px}.ifx-select-container .choices[data-type*=select-one][dir=rtl]:after{left:11.5px;right:auto}.ifx-select-container .choices[data-type*=select-one][dir=rtl] .choices__single-button{right:auto;left:0;margin-left:25px;margin-right:0}.ifx-select-container .choices[data-type*=select-multiple]{cursor:pointer}.ifx-select-container .choices[data-type*=select-multiple] .choices__input{display:block;width:100%;margin:0}.ifx-select-container .choices[data-type*=select-multiple] .choices__inner,.ifx-select-container .choices[data-type*=text] .choices__inner{cursor:text}.ifx-select-container .choices[data-type*=select-multiple] .choices__button,.ifx-select-container .choices[data-type*=text] .choices__button{position:relative;display:inline-block;margin-top:0;margin-right:-4px;margin-bottom:0;margin-left:8px;padding-left:16px;border-left:1px solid #0A8276;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==);background-size:8px;width:8px;line-height:1;opacity:0.75;border-radius:0}.ifx-select-container .choices[data-type*=select-multiple] .choices__button:hover,.ifx-select-container .choices[data-type*=select-multiple] .choices__button:focus,.ifx-select-container .choices[data-type*=text] .choices__button:hover,.ifx-select-container .choices[data-type*=text] .choices__button:focus{opacity:1}.ifx-select-container .choices__inner{overflow:hidden}.ifx-select-container .choices__inner .choices__list .choices__item span{flex-grow:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ifx-select-container .is-focused .choices__inner,.ifx-select-container .is-open .choices__inner{border-color:#b7b7b7}.ifx-select-container .is-open .choices__inner{border-radius:2.5px 2.5px 0 0}.ifx-select-container .is-flipped.is-open .choices__inner{border-radius:0 0 2.5px 2.5px}.ifx-select-container .choices__list{margin:0;padding-left:0;list-style:none}.ifx-select-container .choices__list--single .choices__item{width:100%;display:flex;justify-content:space-between}.ifx-select-container .disabled>.choices__list--single .choices__item[data-value=\"\"]{color:#8D8786;}.ifx-select-container .choices__list--multiple .choices__item{display:inline-block;vertical-align:middle;border-radius:20px;padding:4px 10px;font-size:0.75rem;line-height:1rem;font-weight:500;margin-right:3.75px;margin-bottom:3.75px;background-color:#0A8276;border:1px solid #0A8276;color:#FFFFFF;word-break:break-all;box-sizing:border-box}.ifx-select-container .choices__list--multiple .choices__item[data-deletable]{padding-right:5px}.ifx-select-container [dir=rtl] .choices__list--multiple .choices__item{margin-right:0;margin-left:3.75px}.ifx-select-container .choices__list--multiple .choices__item.is-highlighted{background-color:#EEEDED;border:1px solid #0A8276}.ifx-select-container .choices__list--dropdown{display:none;visibility:hidden;box-sizing:border-box;position:absolute;width:100%;background-color:#fff;top:100%;margin-top:-1px;overflow:hidden;word-break:break-all;will-change:visibility;box-shadow:0px 0px 16px rgba(29, 29, 29, 0.12);border-radius:1px;margin-top:8px;z-index:1000;left:0}.ifx-select-container .choices__list--dropdown.is-active{display:block;visibility:visible}.ifx-select-container .is-open .choices__list--dropdown{border-color:#b7b7b7}.ifx-select-container .is-flipped .choices__list--dropdown{top:auto;bottom:100%;margin-top:0;margin-bottom:-1px;border-radius:0.25rem 0.25rem 0 0}.ifx-select-container .choices__list--dropdown .choices__list{position:relative;max-height:300px;overflow:auto;-webkit-overflow-scrolling:touch;will-change:scroll-position}.ifx-select-container .choices__list--dropdown .choices__item{position:relative;padding:8px 16px;gap:8px;align-items:center;display:flex;justify-content:space-between;font-style:normal;font-weight:400}.ifx-select-container .choices__list--dropdown .choices__item.small-select{font-size:0.875rem;line-height:1.25rem}.ifx-select-container .choices__list--dropdown .choices__item.medium-select{font-size:1rem;line-height:1.5rem}.ifx-select-container .choices__list--dropdown .choices__item.selected{color:#0A8276}.ifx-select-container [dir=rtl] .choices__list--dropdown .choices__item{text-align:right}@media (min-width: 640px){.ifx-select-container .choices__list--dropdown .choices__item--selectable:after{font-size:0.75rem;line-height:1rem;opacity:0;position:absolute;right:10px;top:50%;transform:translateY(-50%)}.ifx-select-container [dir=rtl] .choices__list--dropdown .choices__item--selectable{text-align:right;padding-left:100px;padding-right:10px}.ifx-select-container [dir=rtl] .choices__list--dropdown .choices__item--selectable:after{right:auto;left:10px}}.ifx-select-container .choices__list--dropdown .choices__item--selectable.is-highlighted{background-color:#EEEDED}.ifx-select-container .choices__list--dropdown .choices__item--selectable.is-highlighted.selected{color:#0A8276}.ifx-select-container .choices__list--dropdown .choices__item--selectable:hover{background-color:#EEEDED}.ifx-select-container .choices__list--dropdown .choices__item--selectable:hover.selected{color:#0A8276}.ifx-select-container .choices__list--dropdown .choices__item--selectable.is-highlighted:after{opacity:0.5}.ifx-select-container .choices__item{cursor:default}.ifx-select-container .choices__item--selectable{cursor:pointer}.ifx-select-container .choices__item--disabled{cursor:default;-webkit-user-select:none;-ms-user-select:none;user-select:none;opacity:0.5}.ifx-select-container .choices__heading{font-weight:600;font-size:0.75rem;line-height:1rem;padding:10px;border-bottom:1px solid #f7f7f7;color:#1D1D1D}.ifx-select-container .choices__button{text-indent:-9999px;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background-color:transparent;background-repeat:no-repeat;background-position:center;cursor:pointer}.ifx-select-container .choices__button:focus{outline:none}.ifx-select-container .choices__single-button{text-indent:-9999px;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background-color:transparent;background-repeat:no-repeat;background-position:center;cursor:pointer;visibility:hidden}.ifx-select-container .choices__single-button:focus{outline:none}.ifx-select-container .choices__input{display:inline-block;vertical-align:baseline;background-color:#f9f9f9;font-size:0.875rem;line-height:1.25rem;margin-bottom:5px;border:0;border-radius:0;max-width:100%}.ifx-select-container .choices__input--cloned{background-color:transparent}.ifx-select-container .choices__input::-ms-clear{display:none;width:0;height:0}.ifx-select-container .choices__input::-ms-reveal{display:none;width:0;height:0}.ifx-select-container .choices__input::-webkit-search-decoration,.ifx-select-container .choices__input::-webkit-search-cancel-button,.ifx-select-container .choices__input::-webkit-search-results-button,.ifx-select-container .choices__input::-webkit-search-results-decoration{display:none}.ifx-select-container .choices__input:focus{outline:0}.ifx-select-container [dir=rtl] .choices__input{padding-right:2px;padding-left:0}.ifx-select-container .choices__placeholder{opacity:0.5}";
6838
6838
 
6839
6839
  const Choices = class {
6840
6840
  constructor(hostRef) {
@@ -7062,14 +7062,15 @@ const Choices = class {
7062
7062
  // destroy choices element to restore previous dom structure
7063
7063
  // so vdom can replace the element correctly
7064
7064
  this.destroy();
7065
- return (h("div", { key: '0d7a1eb100a44ab462c493455a122606cf1549fe', class: `ifx-select-container` }, this.label ? (h("div", { class: "ifx-label-wrapper", id: "ifx-label-wrapper" }, h("span", null, this.label))) : null, h("div", { key: 'dc010d3bc95c85af8c49bef084872c860e0dd6fa', class: `${choicesWrapperClass}
7065
+ return (h("div", { key: '7635246674406b28c15ba740462ec8f8e2dfc129', class: `ifx-select-container` }, this.label ? (h("div", { class: "ifx-label-wrapper" }, h("span", null, this.label))) : null, h("div", { key: 'c3ecc9a0ec839ad5fbc3a77f884694c3a8a1a078', class: `${choicesWrapperClass}
7066
7066
  ${this.disabled ? 'disabled' : ''}
7067
- ${this.error ? 'error' : ''}`, onClick: this.disabled ? undefined : (e) => this.handleWrapperClick(e), onKeyDown: event => this.handleKeyDown(event) }, h("select", Object.assign({ key: 'c0fa700fd30361fc31d353651f83e11783eebf38', class: 'single__select-input-field', disabled: this.disabled }, attributes, { "data-trigger": true, onChange: () => this.handleChange() }), this.createSelectOptions(this.options)), h("div", { key: '899bbb94afc52255213ccbdf0463b6989b0aea57', class: 'single__select-icon-container' }, this.optionIsSelected && (h("div", { key: '538a88901083c14cc93ad3f3e298786a2653c01d', class: `ifx-choices__icon-wrapper-delete ${!this.showClearButton ? 'hide' : ''}` }, h("ifx-icon", { key: 'b022c889d94e2ebfeb3f36861fa44dccbe29bbff', icon: "cRemove16", onClick: () => this.clearSelection() }))), h("div", { key: '7617fed2c19911020597d395a71a44af1058f088', class: "ifx-choices__icon-wrapper-up" }, h("ifx-icon", { key: "icon-up", icon: "chevron-up-16" })), h("div", { key: '8c7e95b8d8ab365fa8fd9a78c63927df5ef2e825', class: "ifx-choices__icon-wrapper-down" }, h("ifx-icon", { key: "icon-down", icon: "chevron-down-16" })))), this.error ? (h("div", { class: "ifx-error-message-wrapper" }, h("span", null, this.errorMessage))) : null));
7067
+ ${this.error ? 'error' : ''}`, onClick: this.disabled ? undefined : (e) => this.handleWrapperClick(e), onKeyDown: event => this.handleKeyDown(event) }, h("select", Object.assign({ key: 'da15a89e5cddb4e96b5a8a30d54bc39f0b918ec0', class: 'single__select-input-field', disabled: this.disabled }, attributes, { "data-trigger": true, onChange: () => this.handleChange() }), this.createSelectOptions(this.options)), h("div", { key: '5d6d13b9d7e398dff1e3dd7be1242e3ea371fb15', class: 'single__select-icon-container' }, this.optionIsSelected && (h("div", { key: '27e88333d3f484c902728bccc3cda3adb55fb792', class: `ifx-choices__icon-wrapper-delete ${!this.showClearButton ? 'hide' : ''}` }, h("ifx-icon", { key: '3e1307cfa3ca93bcd6da6eb69a4b8bc8d22b3127', icon: "cRemove16", onClick: () => this.clearSelection() }))), h("div", { key: '121f4029db4e17393d7029b91610bb0383b886b2', class: "ifx-choices__icon-wrapper-up" }, h("ifx-icon", { key: "icon-up", icon: "chevron-up-16" })), h("div", { key: '53d963cf1526db6f1039bdf9270183dbe1dacba2', class: "ifx-choices__icon-wrapper-down" }, h("ifx-icon", { key: "icon-down", icon: "chevron-down-16" })))), this.error ? (h("div", { class: "ifx-error-message-wrapper" }, h("span", null, this.errorMessage))) : null));
7068
7068
  }
7069
7069
  toggleDropdown() {
7070
7070
  const div = this.root.querySelector('.ifx-choices__wrapper');
7071
7071
  if (div.classList.contains('active') || this.choice.dropdown.isActive) {
7072
- this.closeDropdown();
7072
+ this.hideDropdown();
7073
+ div.classList.remove('active');
7073
7074
  }
7074
7075
  else {
7075
7076
  this.choice.showDropdown();
@@ -7079,10 +7080,8 @@ const Choices = class {
7079
7080
  choicesElement.classList.add('is-focused'); // Add the 'is-focused' class, cause a click on the wrapper (and not the embedded select element) doesnt add this automatically to the choices instance
7080
7081
  }
7081
7082
  closeDropdown() {
7082
- this.hideDropdown();
7083
- const wrapper = this.root.querySelector('.ifx-choices__wrapper');
7084
- wrapper.focus();
7085
- wrapper.classList.remove('active');
7083
+ const ifxChoicesWrapper = this.root.querySelector('.ifx-choices__wrapper');
7084
+ ifxChoicesWrapper.classList.remove('active');
7086
7085
  }
7087
7086
  handleOutsideClick(event) {
7088
7087
  const path = event.composedPath();
@@ -7092,34 +7091,19 @@ const Choices = class {
7092
7091
  }
7093
7092
  }
7094
7093
  handleKeyDown(event) {
7095
- if (this.disabled) {
7094
+ if (this.disabled)
7096
7095
  return;
7097
- }
7098
7096
  const isSearchInput = event.target.classList.contains('choices__input');
7099
- const isClearButton = event.target.classList.contains('ifx-choices__icon-wrapper-delete');
7100
- switch (event.code) {
7101
- case 'Enter': {
7102
- if (isClearButton) {
7103
- this.clearSelection();
7104
- }
7105
- else {
7106
- this.toggleDropdown();
7107
- }
7108
- break;
7109
- }
7110
- case 'Space': {
7111
- if (!isSearchInput) {
7112
- this.toggleDropdown();
7113
- }
7114
- break;
7115
- }
7116
- case 'Tab': {
7117
- if (isSearchInput) {
7118
- event.preventDefault();
7119
- this.closeDropdown();
7120
- }
7121
- break;
7122
- }
7097
+ // If the event originated from the search input and the key is 'Space', do nothing.
7098
+ if (isSearchInput && event.code === 'Space') {
7099
+ return;
7100
+ }
7101
+ if (event.code === 'Enter' || (event.code === 'Space' && !isSearchInput)) {
7102
+ this.toggleDropdown();
7103
+ }
7104
+ // Only prevent default space behavior when it's not from the search input.
7105
+ if (event.code === 'Space' && !isSearchInput) {
7106
+ event.preventDefault(); // Prevent default page scrolling.
7123
7107
  }
7124
7108
  }
7125
7109
  getSizeClass() {
@@ -7207,15 +7191,15 @@ const Choices = class {
7207
7191
  },
7208
7192
  input: ({ classNames }) => {
7209
7193
  return template(`
7210
- <input
7211
- type="search"
7212
- class="${classNames.input} ${classNames.inputCloned} ${self.getSizeClass()}"
7213
- autocomplete="off"
7214
- autocapitalize="off"
7215
- spellcheck="false"
7216
- role="textbox"
7217
- aria-autocomplete="list"
7218
- aria-label="${this.showSearch ? this.searchPlaceholderValue : ''}">`);
7194
+ <input type="search"
7195
+ class="${classNames.input} ${classNames.inputCloned} ${self.getSizeClass()}"
7196
+ autocomplete="off"
7197
+ autocapitalize="off"
7198
+ spellcheck="false"
7199
+ role="textbox"
7200
+ aria-autocomplete="list"
7201
+ aria-label="${this.showSearch ? this.searchPlaceholderValue : ''}" >
7202
+ `);
7219
7203
  },
7220
7204
  //modifying the template of each item in the options list
7221
7205
  choice: ({ classNames }, data) => {