@infineon/infineon-design-system-stencil 33.1.1--canary.1824.75b5030250f4474f2c947b6e8dc7055bdc915c43.0 → 33.1.1--canary.1818.94e54a71935d0367c21fd257850df436af269985.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 (670) hide show
  1. package/dist/cjs/ifx-accordion_2.cjs.entry.js +2 -2
  2. package/dist/cjs/ifx-accordion_2.cjs.entry.js.map +1 -1
  3. package/dist/cjs/ifx-alert_2.cjs.entry.js +2 -2
  4. package/dist/cjs/ifx-alert_2.cjs.entry.js.map +1 -1
  5. package/dist/cjs/ifx-badge.cjs.entry.js +1 -1
  6. package/dist/cjs/ifx-badge.cjs.entry.js.map +1 -1
  7. package/dist/cjs/ifx-basic-table.cjs.entry.js +2 -2
  8. package/dist/cjs/ifx-basic-table.cjs.entry.js.map +1 -1
  9. package/dist/cjs/ifx-breadcrumb-item.cjs.entry.js +1 -1
  10. package/dist/cjs/ifx-breadcrumb-item.cjs.entry.js.map +1 -1
  11. package/dist/cjs/ifx-breadcrumb.cjs.entry.js +1 -1
  12. package/dist/cjs/ifx-breadcrumb.cjs.entry.js.map +1 -1
  13. package/dist/cjs/ifx-button.cjs.entry.js +1 -1
  14. package/dist/cjs/ifx-button.cjs.entry.js.map +1 -1
  15. package/dist/cjs/ifx-card-headline.cjs.entry.js +1 -1
  16. package/dist/cjs/ifx-card-headline.cjs.entry.js.map +1 -1
  17. package/dist/cjs/ifx-card.cjs.entry.js +1 -1
  18. package/dist/cjs/ifx-card.cjs.entry.js.map +1 -1
  19. package/dist/cjs/ifx-checkbox-group.cjs.entry.js +1 -1
  20. package/dist/cjs/ifx-checkbox-group.cjs.entry.js.map +1 -1
  21. package/dist/cjs/ifx-checkbox.cjs.entry.js +1 -1
  22. package/dist/cjs/ifx-checkbox.cjs.entry.js.map +1 -1
  23. package/dist/cjs/ifx-chip_3.cjs.entry.js +2 -2
  24. package/dist/cjs/ifx-chip_3.cjs.entry.js.map +1 -1
  25. package/dist/cjs/ifx-dropdown-header.cjs.entry.js +1 -1
  26. package/dist/cjs/ifx-dropdown-header.cjs.entry.js.map +1 -1
  27. package/dist/cjs/ifx-dropdown-item.cjs.entry.js +1 -1
  28. package/dist/cjs/ifx-dropdown-item.cjs.entry.js.map +1 -1
  29. package/dist/cjs/ifx-dropdown-menu.cjs.entry.js +1 -1
  30. package/dist/cjs/ifx-dropdown-menu.cjs.entry.js.map +1 -1
  31. package/dist/cjs/ifx-faq.cjs.entry.js +1 -1
  32. package/dist/cjs/ifx-filter-accordion.cjs.entry.js +2 -2
  33. package/dist/cjs/ifx-filter-bar.cjs.entry.js +1 -1
  34. package/dist/cjs/ifx-filter-search.cjs.entry.js +2 -2
  35. package/dist/cjs/ifx-filter-search.cjs.entry.js.map +1 -1
  36. package/dist/cjs/ifx-filter-type-group.cjs.entry.js +1 -1
  37. package/dist/cjs/ifx-footer-column.cjs.entry.js +2 -2
  38. package/dist/cjs/ifx-footer-column.cjs.entry.js.map +1 -1
  39. package/dist/cjs/ifx-footer.cjs.entry.js +5 -5
  40. package/dist/cjs/ifx-footer.cjs.entry.js.map +1 -1
  41. package/dist/cjs/ifx-icon-button.cjs.entry.js +2 -2
  42. package/dist/cjs/ifx-icon-button.cjs.entry.js.map +1 -1
  43. package/dist/cjs/ifx-icon.cjs.entry.js +1 -1
  44. package/dist/cjs/ifx-icons-preview.cjs.entry.js +1 -1
  45. package/dist/cjs/ifx-link.cjs.entry.js +2 -2
  46. package/dist/cjs/ifx-link.cjs.entry.js.map +1 -1
  47. package/dist/cjs/ifx-list-entry.cjs.entry.js +1 -1
  48. package/dist/cjs/ifx-modal.cjs.entry.js +3 -3
  49. package/dist/cjs/ifx-modal.cjs.entry.js.map +1 -1
  50. package/dist/cjs/ifx-multiselect.cjs.entry.js +1 -1
  51. package/dist/cjs/ifx-multiselect.cjs.entry.js.map +1 -1
  52. package/dist/cjs/ifx-navbar-item.cjs.entry.js +6 -6
  53. package/dist/cjs/ifx-navbar-item.cjs.entry.js.map +1 -1
  54. package/dist/cjs/ifx-navbar-profile.cjs.entry.js +4 -4
  55. package/dist/cjs/ifx-navbar-profile.cjs.entry.js.map +1 -1
  56. package/dist/cjs/ifx-navbar.cjs.entry.js +4 -4
  57. package/dist/cjs/ifx-navbar.cjs.entry.js.map +1 -1
  58. package/dist/cjs/ifx-notification.cjs.entry.js +3 -3
  59. package/dist/cjs/ifx-notification.cjs.entry.js.map +1 -1
  60. package/dist/cjs/ifx-number-indicator.cjs.entry.js +1 -1
  61. package/dist/cjs/ifx-overview-table.cjs.entry.js +1 -1
  62. package/dist/cjs/ifx-progress-bar.cjs.entry.js +2 -2
  63. package/dist/cjs/ifx-progress-bar.cjs.entry.js.map +1 -1
  64. package/dist/cjs/ifx-radio-button-group.cjs.entry.js +2 -2
  65. package/dist/cjs/ifx-radio-button-group.cjs.entry.js.map +1 -1
  66. package/dist/cjs/ifx-radio-button.cjs.entry.js +3 -3
  67. package/dist/cjs/ifx-radio-button.cjs.entry.js.map +1 -1
  68. package/dist/cjs/ifx-search-bar.cjs.entry.js +2 -2
  69. package/dist/cjs/ifx-search-bar.cjs.entry.js.map +1 -1
  70. package/dist/cjs/ifx-search-field.cjs.entry.js +2 -2
  71. package/dist/cjs/ifx-search-field.cjs.entry.js.map +1 -1
  72. package/dist/cjs/ifx-segment.cjs.entry.js +1 -1
  73. package/dist/cjs/ifx-segmented-control.cjs.entry.js +2 -2
  74. package/dist/cjs/ifx-select.cjs.entry.js +3 -3
  75. package/dist/cjs/ifx-select.cjs.entry.js.map +1 -1
  76. package/dist/cjs/ifx-sidebar-item.cjs.entry.js +6 -6
  77. package/dist/cjs/ifx-sidebar-item.cjs.entry.js.map +1 -1
  78. package/dist/cjs/ifx-sidebar-title.cjs.entry.js +1 -1
  79. package/dist/cjs/ifx-sidebar.cjs.entry.js +6 -6
  80. package/dist/cjs/ifx-sidebar.cjs.entry.js.map +1 -1
  81. package/dist/cjs/ifx-slider.cjs.entry.js +2 -2
  82. package/dist/cjs/ifx-spinner_2.cjs.entry.js +7 -7
  83. package/dist/cjs/ifx-spinner_2.cjs.entry.js.map +1 -1
  84. package/dist/cjs/ifx-status.cjs.entry.js +2 -2
  85. package/dist/cjs/ifx-status.cjs.entry.js.map +1 -1
  86. package/dist/cjs/ifx-step.cjs.entry.js +4 -4
  87. package/dist/cjs/ifx-stepper.cjs.entry.js +2 -2
  88. package/dist/cjs/ifx-switch.cjs.entry.js +1 -1
  89. package/dist/cjs/ifx-tab.cjs.entry.js +1 -1
  90. package/dist/cjs/ifx-table.cjs.entry.js +3 -3
  91. package/dist/cjs/ifx-table.cjs.entry.js.map +1 -1
  92. package/dist/cjs/ifx-tabs.cjs.entry.js +3 -3
  93. package/dist/cjs/ifx-tabs.cjs.entry.js.map +1 -1
  94. package/dist/cjs/ifx-tag.cjs.entry.js +2 -2
  95. package/dist/cjs/ifx-tag.cjs.entry.js.map +1 -1
  96. package/dist/cjs/ifx-templates-ui.cjs.entry.js +1 -1
  97. package/dist/cjs/ifx-textarea.cjs.entry.js +1 -1
  98. package/dist/cjs/ifx-tooltip.cjs.entry.js +5 -5
  99. package/dist/cjs/ifx-tooltip.cjs.entry.js.map +1 -1
  100. package/dist/cjs/index-c9480f70.js +8 -12
  101. package/dist/cjs/infineon-design-system-stencil.cjs.js +1 -1
  102. package/dist/cjs/loader.cjs.js +1 -1
  103. package/dist/collection/collection-manifest.json +0 -1
  104. package/dist/collection/components/accordion/accordion.css +1 -1
  105. package/dist/collection/components/accordion/accordionItem.css +1 -1
  106. package/dist/collection/components/alert/alert.css +2 -2
  107. package/dist/collection/components/badge/badge.css +1 -1
  108. package/dist/collection/components/breadcrumb/breadcrumb-item.css +1 -1
  109. package/dist/collection/components/breadcrumb/breadcrumb.css +1 -1
  110. package/dist/collection/components/button/button.css +1 -1
  111. package/dist/collection/components/card/card-headline/card-headline.css +1 -1
  112. package/dist/collection/components/card/card.css +1 -1
  113. package/dist/collection/components/checkbox/checkbox.css +1 -1
  114. package/dist/collection/components/checkbox-group/checkbox-group.css +1 -1
  115. package/dist/collection/components/dropdown/dropdown-header/dropdown-header.css +2 -2
  116. package/dist/collection/components/dropdown/dropdown-item/dropdown-item.css +1 -1
  117. package/dist/collection/components/dropdown/dropdown-menu/dropdown-menu.css +1 -1
  118. package/dist/collection/components/footer/footer-column.css +1 -1
  119. package/dist/collection/components/footer/footer-column.js +1 -1
  120. package/dist/collection/components/footer/footer.css +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.css +1 -1
  124. package/dist/collection/components/icon-button/icon-button.js +1 -1
  125. package/dist/collection/components/icons-preview/icons-preview.js +1 -1
  126. package/dist/collection/components/link/link.css +1 -1
  127. package/dist/collection/components/link/link.js +1 -1
  128. package/dist/collection/components/modal/modal.css +1 -1
  129. package/dist/collection/components/modal/modal.js +2 -2
  130. package/dist/collection/components/navigation/navbar/navbar-item.css +3 -3
  131. package/dist/collection/components/navigation/navbar/navbar-item.js +5 -5
  132. package/dist/collection/components/navigation/navbar/navbar-profile.js +3 -3
  133. package/dist/collection/components/navigation/navbar/navbar.css +2 -2
  134. package/dist/collection/components/navigation/navbar/navbar.js +3 -3
  135. package/dist/collection/components/navigation/sidebar/sidebar-item.css +1 -1
  136. package/dist/collection/components/navigation/sidebar/sidebar-item.js +5 -5
  137. package/dist/collection/components/navigation/sidebar/sidebar-title.js +1 -1
  138. package/dist/collection/components/navigation/sidebar/sidebar.css +1 -1
  139. package/dist/collection/components/navigation/sidebar/sidebar.js +5 -5
  140. package/dist/collection/components/notification/notification.css +1 -1
  141. package/dist/collection/components/notification/notification.js +2 -2
  142. package/dist/collection/components/number-indicator/number-indicator.js +1 -1
  143. package/dist/collection/components/overview-table/overview-table.js +1 -1
  144. package/dist/collection/components/pagination/pagination.css +1 -1
  145. package/dist/collection/components/pagination/pagination.js +1 -1
  146. package/dist/collection/components/progress-bar/progress-bar.css +1 -1
  147. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  148. package/dist/collection/components/radio-button/radio-button.css +1 -1
  149. package/dist/collection/components/radio-button/radio-button.js +2 -2
  150. package/dist/collection/components/radio-button-group/radio-button-group.css +1 -1
  151. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  152. package/dist/collection/components/search-bar/search-bar.css +1 -1
  153. package/dist/collection/components/search-bar/search-bar.js +1 -1
  154. package/dist/collection/components/search-field/search-field.css +1 -1
  155. package/dist/collection/components/search-field/search-field.js +1 -1
  156. package/dist/collection/components/segmented-control/segment/segment.js +1 -1
  157. package/dist/collection/components/segmented-control/segmented-control.js +2 -2
  158. package/dist/collection/components/select/multi-select/multiselect.css +1 -1
  159. package/dist/collection/components/select/single-select/select.css +1 -1
  160. package/dist/collection/components/select/single-select/select.js +2 -2
  161. package/dist/collection/components/slider/slider.js +2 -2
  162. package/dist/collection/components/spinner/spinner.js +2 -2
  163. package/dist/collection/components/status/status.css +1 -1
  164. package/dist/collection/components/status/status.js +1 -1
  165. package/dist/collection/components/stepper/step/step.js +4 -4
  166. package/dist/collection/components/stepper/stepper.js +2 -2
  167. package/dist/collection/components/switch/switch.js +1 -1
  168. package/dist/collection/components/table-advanced-version/filter-bar/filter-bar.js +1 -1
  169. package/dist/collection/components/table-advanced-version/filter-type-group/filter-accordion/filter-accordion.js +2 -2
  170. package/dist/collection/components/table-advanced-version/filter-type-group/filter-search/filter-search.css +2 -2
  171. package/dist/collection/components/table-advanced-version/filter-type-group/filter-search/filter-search.js +1 -1
  172. package/dist/collection/components/table-advanced-version/filter-type-group/filter-type-group.js +1 -1
  173. package/dist/collection/components/table-advanced-version/list/list-entry/list-entry.js +1 -1
  174. package/dist/collection/components/table-advanced-version/table.css +1 -1
  175. package/dist/collection/components/table-advanced-version/table.js +2 -2
  176. package/dist/collection/components/table-basic-version/table.css +1 -1
  177. package/dist/collection/components/table-basic-version/table.js +1 -1
  178. package/dist/collection/components/tabs/tab.js +1 -1
  179. package/dist/collection/components/tabs/tabs.css +1 -1
  180. package/dist/collection/components/tabs/tabs.js +2 -2
  181. package/dist/collection/components/tag/tag.css +1 -1
  182. package/dist/collection/components/tag/tag.js +1 -1
  183. package/dist/collection/components/templates/template/template.js +1 -1
  184. package/dist/collection/components/templates/templates-ui/templates-ui.js +1 -1
  185. package/dist/collection/components/text-field/text-field.css +1 -1
  186. package/dist/collection/components/text-field/text-field.js +4 -4
  187. package/dist/collection/components/textarea/textarea.js +1 -1
  188. package/dist/collection/components/tooltip/tooltip.css +1 -1
  189. package/dist/collection/components/tooltip/tooltip.js +4 -4
  190. package/dist/collection/global/font-import.js +2 -0
  191. package/dist/collection/global/font-import.js.map +1 -0
  192. package/dist/collection/index.js +1 -0
  193. package/dist/collection/index.js.map +1 -1
  194. package/dist/collection/stories/setup-and-installation/faq/faq.js +1 -1
  195. package/dist/components/ifx-accordion-item.js +1 -1
  196. package/dist/components/ifx-accordion.js +1 -1
  197. package/dist/components/ifx-alert.js +1 -1
  198. package/dist/components/ifx-badge.js +1 -1
  199. package/dist/components/ifx-badge.js.map +1 -1
  200. package/dist/components/ifx-basic-table.js +2 -2
  201. package/dist/components/ifx-basic-table.js.map +1 -1
  202. package/dist/components/ifx-breadcrumb-item-label.js +1 -1
  203. package/dist/components/ifx-breadcrumb-item.js +1 -1
  204. package/dist/components/ifx-breadcrumb-item.js.map +1 -1
  205. package/dist/components/ifx-breadcrumb.js +1 -1
  206. package/dist/components/ifx-breadcrumb.js.map +1 -1
  207. package/dist/components/ifx-button.js +1 -1
  208. package/dist/components/ifx-card-headline.js +1 -1
  209. package/dist/components/ifx-card-headline.js.map +1 -1
  210. package/dist/components/ifx-card.js +1 -1
  211. package/dist/components/ifx-card.js.map +1 -1
  212. package/dist/components/ifx-checkbox-group.js +2 -2
  213. package/dist/components/ifx-checkbox-group.js.map +1 -1
  214. package/dist/components/ifx-checkbox.js +1 -1
  215. package/dist/components/ifx-chip-item.js +1 -1
  216. package/dist/components/ifx-chip.js +1 -1
  217. package/dist/components/ifx-date-picker.js +1 -1
  218. package/dist/components/ifx-download.js +1 -1
  219. package/dist/components/ifx-dropdown-header.js +1 -1
  220. package/dist/components/ifx-dropdown-header.js.map +1 -1
  221. package/dist/components/ifx-dropdown-item.js +2 -2
  222. package/dist/components/ifx-dropdown-item.js.map +1 -1
  223. package/dist/components/ifx-dropdown-menu.js +1 -1
  224. package/dist/components/ifx-dropdown-menu.js.map +1 -1
  225. package/dist/components/ifx-dropdown-trigger-button.js +2 -2
  226. package/dist/components/ifx-faq.js +4 -4
  227. package/dist/components/ifx-filter-accordion.js +4 -4
  228. package/dist/components/ifx-filter-bar.js +3 -3
  229. package/dist/components/ifx-filter-search.js +4 -4
  230. package/dist/components/ifx-filter-search.js.map +1 -1
  231. package/dist/components/ifx-filter-type-group.js +1 -1
  232. package/dist/components/ifx-footer-column.js +2 -2
  233. package/dist/components/ifx-footer-column.js.map +1 -1
  234. package/dist/components/ifx-footer.js +5 -5
  235. package/dist/components/ifx-footer.js.map +1 -1
  236. package/dist/components/ifx-icon-button.js +1 -1
  237. package/dist/components/ifx-icon.js +1 -1
  238. package/dist/components/ifx-icons-preview.js +4 -4
  239. package/dist/components/ifx-link.js +1 -1
  240. package/dist/components/ifx-list-entry.js +4 -4
  241. package/dist/components/ifx-list.js +2 -2
  242. package/dist/components/ifx-modal.js +5 -5
  243. package/dist/components/ifx-modal.js.map +1 -1
  244. package/dist/components/ifx-multiselect.js +1 -1
  245. package/dist/components/ifx-navbar-item.js +8 -8
  246. package/dist/components/ifx-navbar-item.js.map +1 -1
  247. package/dist/components/ifx-navbar-profile.js +4 -4
  248. package/dist/components/ifx-navbar-profile.js.map +1 -1
  249. package/dist/components/ifx-navbar.js +5 -5
  250. package/dist/components/ifx-navbar.js.map +1 -1
  251. package/dist/components/ifx-notification.js +1 -1
  252. package/dist/components/ifx-number-indicator.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 +49 -1
  256. package/dist/components/ifx-progress-bar.js.map +1 -1
  257. package/dist/components/ifx-radio-button-group.js +3 -3
  258. package/dist/components/ifx-radio-button-group.js.map +1 -1
  259. package/dist/components/ifx-radio-button.js +1 -1
  260. package/dist/components/ifx-search-bar.js +4 -4
  261. package/dist/components/ifx-search-bar.js.map +1 -1
  262. package/dist/components/ifx-search-field.js +1 -1
  263. package/dist/components/ifx-segment.js +2 -2
  264. package/dist/components/ifx-segmented-control.js +3 -3
  265. package/dist/components/ifx-select.js +1 -1
  266. package/dist/components/ifx-set-filter.js +5 -5
  267. package/dist/components/ifx-sidebar-item.js +8 -8
  268. package/dist/components/ifx-sidebar-item.js.map +1 -1
  269. package/dist/components/ifx-sidebar-title.js +1 -1
  270. package/dist/components/ifx-sidebar.js +6 -6
  271. package/dist/components/ifx-sidebar.js.map +1 -1
  272. package/dist/components/ifx-slider.js +3 -3
  273. package/dist/components/ifx-spinner.js +1 -1
  274. package/dist/components/ifx-status.js +2 -2
  275. package/dist/components/ifx-status.js.map +1 -1
  276. package/dist/components/ifx-step.js +5 -5
  277. package/dist/components/ifx-stepper.js +2 -2
  278. package/dist/components/ifx-switch.js +1 -1
  279. package/dist/components/ifx-tab.js +1 -1
  280. package/dist/components/ifx-table.js +12 -12
  281. package/dist/components/ifx-table.js.map +1 -1
  282. package/dist/components/ifx-tabs.js +4 -4
  283. package/dist/components/ifx-tabs.js.map +1 -1
  284. package/dist/components/ifx-tag.js +3 -3
  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 +9 -9
  288. package/dist/components/ifx-text-field.js +1 -1
  289. package/dist/components/ifx-textarea.js +1 -1
  290. package/dist/components/ifx-tooltip.js +6 -6
  291. package/dist/components/ifx-tooltip.js.map +1 -1
  292. package/dist/components/{p-9306088d.js → p-03acdbd0.js} +2 -2
  293. package/dist/components/{p-9306088d.js.map → p-03acdbd0.js.map} +1 -1
  294. package/dist/components/{p-905fb988.js → p-097c39fc.js} +2 -2
  295. package/dist/components/p-097c39fc.js.map +1 -0
  296. package/dist/components/{p-2bc9826e.js → p-0bdd8c1f.js} +3 -3
  297. package/dist/components/p-0bdd8c1f.js.map +1 -0
  298. package/dist/components/{p-fc183f8e.js → p-159bab57.js} +4 -4
  299. package/dist/components/p-159bab57.js.map +1 -0
  300. package/dist/components/{p-48f52e18.js → p-1961c269.js} +4 -4
  301. package/dist/components/p-1961c269.js.map +1 -0
  302. package/dist/components/{p-cd9e4789.js → p-1d22dfb4.js} +4 -4
  303. package/dist/components/p-1d22dfb4.js.map +1 -0
  304. package/dist/components/{p-ccc83a43.js → p-2eee9126.js} +3 -3
  305. package/dist/components/p-2eee9126.js.map +1 -0
  306. package/dist/components/p-4213a3a9.js +68 -0
  307. package/dist/components/p-4213a3a9.js.map +1 -0
  308. package/dist/components/{p-846923e6.js → p-48300c0e.js} +3 -3
  309. package/dist/components/p-48300c0e.js.map +1 -0
  310. package/dist/components/{p-bef5241a.js → p-4db82ee0.js} +5 -5
  311. package/dist/components/{p-bef5241a.js.map → p-4db82ee0.js.map} +1 -1
  312. package/dist/components/{p-0e277223.js → p-519cb249.js} +3 -3
  313. package/dist/components/{p-0e277223.js.map → p-519cb249.js.map} +1 -1
  314. package/dist/components/{p-c2b0bf22.js → p-5e8d7598.js} +2 -2
  315. package/dist/components/p-5e8d7598.js.map +1 -0
  316. package/dist/components/p-68f93ba6.js +116 -0
  317. package/dist/components/p-68f93ba6.js.map +1 -0
  318. package/dist/components/{p-461cf021.js → p-6974ad0b.js} +4 -4
  319. package/dist/components/p-6974ad0b.js.map +1 -0
  320. package/dist/components/{p-ab514a04.js → p-adfc43f2.js} +6 -6
  321. package/dist/components/p-adfc43f2.js.map +1 -0
  322. package/dist/components/{p-d1985f77.js → p-b024aa08.js} +3 -3
  323. package/dist/components/{p-d1985f77.js.map → p-b024aa08.js.map} +1 -1
  324. package/dist/components/{p-05c79468.js → p-c2c8b055.js} +7 -7
  325. package/dist/components/{p-05c79468.js.map → p-c2c8b055.js.map} +1 -1
  326. package/dist/components/{p-1678fee6.js → p-c9e59d0f.js} +3 -3
  327. package/dist/components/{p-1678fee6.js.map → p-c9e59d0f.js.map} +1 -1
  328. package/dist/components/{p-35d83f23.js → p-e7551b24.js} +2 -2
  329. package/dist/components/{p-35d83f23.js.map → p-e7551b24.js.map} +1 -1
  330. package/dist/components/{p-18b340af.js → p-f9e92fd3.js} +3 -3
  331. package/dist/components/p-f9e92fd3.js.map +1 -0
  332. package/dist/esm/ifx-accordion_2.entry.js +2 -2
  333. package/dist/esm/ifx-accordion_2.entry.js.map +1 -1
  334. package/dist/esm/ifx-alert_2.entry.js +2 -2
  335. package/dist/esm/ifx-alert_2.entry.js.map +1 -1
  336. package/dist/esm/ifx-badge.entry.js +1 -1
  337. package/dist/esm/ifx-badge.entry.js.map +1 -1
  338. package/dist/esm/ifx-basic-table.entry.js +2 -2
  339. package/dist/esm/ifx-basic-table.entry.js.map +1 -1
  340. package/dist/esm/ifx-breadcrumb-item.entry.js +1 -1
  341. package/dist/esm/ifx-breadcrumb-item.entry.js.map +1 -1
  342. package/dist/esm/ifx-breadcrumb.entry.js +1 -1
  343. package/dist/esm/ifx-breadcrumb.entry.js.map +1 -1
  344. package/dist/esm/ifx-button.entry.js +1 -1
  345. package/dist/esm/ifx-button.entry.js.map +1 -1
  346. package/dist/esm/ifx-card-headline.entry.js +1 -1
  347. package/dist/esm/ifx-card-headline.entry.js.map +1 -1
  348. package/dist/esm/ifx-card.entry.js +1 -1
  349. package/dist/esm/ifx-card.entry.js.map +1 -1
  350. package/dist/esm/ifx-checkbox-group.entry.js +1 -1
  351. package/dist/esm/ifx-checkbox-group.entry.js.map +1 -1
  352. package/dist/esm/ifx-checkbox.entry.js +1 -1
  353. package/dist/esm/ifx-checkbox.entry.js.map +1 -1
  354. package/dist/esm/ifx-chip_3.entry.js +2 -2
  355. package/dist/esm/ifx-chip_3.entry.js.map +1 -1
  356. package/dist/esm/ifx-dropdown-header.entry.js +1 -1
  357. package/dist/esm/ifx-dropdown-header.entry.js.map +1 -1
  358. package/dist/esm/ifx-dropdown-item.entry.js +1 -1
  359. package/dist/esm/ifx-dropdown-item.entry.js.map +1 -1
  360. package/dist/esm/ifx-dropdown-menu.entry.js +1 -1
  361. package/dist/esm/ifx-dropdown-menu.entry.js.map +1 -1
  362. package/dist/esm/ifx-faq.entry.js +1 -1
  363. package/dist/esm/ifx-filter-accordion.entry.js +2 -2
  364. package/dist/esm/ifx-filter-bar.entry.js +1 -1
  365. package/dist/esm/ifx-filter-search.entry.js +2 -2
  366. package/dist/esm/ifx-filter-search.entry.js.map +1 -1
  367. package/dist/esm/ifx-filter-type-group.entry.js +1 -1
  368. package/dist/esm/ifx-footer-column.entry.js +2 -2
  369. package/dist/esm/ifx-footer-column.entry.js.map +1 -1
  370. package/dist/esm/ifx-footer.entry.js +5 -5
  371. package/dist/esm/ifx-footer.entry.js.map +1 -1
  372. package/dist/esm/ifx-icon-button.entry.js +2 -2
  373. package/dist/esm/ifx-icon-button.entry.js.map +1 -1
  374. package/dist/esm/ifx-icon.entry.js +1 -1
  375. package/dist/esm/ifx-icons-preview.entry.js +1 -1
  376. package/dist/esm/ifx-link.entry.js +2 -2
  377. package/dist/esm/ifx-link.entry.js.map +1 -1
  378. package/dist/esm/ifx-list-entry.entry.js +1 -1
  379. package/dist/esm/ifx-modal.entry.js +3 -3
  380. package/dist/esm/ifx-modal.entry.js.map +1 -1
  381. package/dist/esm/ifx-multiselect.entry.js +1 -1
  382. package/dist/esm/ifx-multiselect.entry.js.map +1 -1
  383. package/dist/esm/ifx-navbar-item.entry.js +6 -6
  384. package/dist/esm/ifx-navbar-item.entry.js.map +1 -1
  385. package/dist/esm/ifx-navbar-profile.entry.js +4 -4
  386. package/dist/esm/ifx-navbar-profile.entry.js.map +1 -1
  387. package/dist/esm/ifx-navbar.entry.js +4 -4
  388. package/dist/esm/ifx-navbar.entry.js.map +1 -1
  389. package/dist/esm/ifx-notification.entry.js +3 -3
  390. package/dist/esm/ifx-notification.entry.js.map +1 -1
  391. package/dist/esm/ifx-number-indicator.entry.js +1 -1
  392. package/dist/esm/ifx-overview-table.entry.js +1 -1
  393. package/dist/esm/ifx-progress-bar.entry.js +2 -2
  394. package/dist/esm/ifx-progress-bar.entry.js.map +1 -1
  395. package/dist/esm/ifx-radio-button-group.entry.js +2 -2
  396. package/dist/esm/ifx-radio-button-group.entry.js.map +1 -1
  397. package/dist/esm/ifx-radio-button.entry.js +3 -3
  398. package/dist/esm/ifx-radio-button.entry.js.map +1 -1
  399. package/dist/esm/ifx-search-bar.entry.js +2 -2
  400. package/dist/esm/ifx-search-bar.entry.js.map +1 -1
  401. package/dist/esm/ifx-search-field.entry.js +2 -2
  402. package/dist/esm/ifx-search-field.entry.js.map +1 -1
  403. package/dist/esm/ifx-segment.entry.js +1 -1
  404. package/dist/esm/ifx-segmented-control.entry.js +2 -2
  405. package/dist/esm/ifx-select.entry.js +3 -3
  406. package/dist/esm/ifx-select.entry.js.map +1 -1
  407. package/dist/esm/ifx-sidebar-item.entry.js +6 -6
  408. package/dist/esm/ifx-sidebar-item.entry.js.map +1 -1
  409. package/dist/esm/ifx-sidebar-title.entry.js +1 -1
  410. package/dist/esm/ifx-sidebar.entry.js +6 -6
  411. package/dist/esm/ifx-sidebar.entry.js.map +1 -1
  412. package/dist/esm/ifx-slider.entry.js +2 -2
  413. package/dist/esm/ifx-spinner_2.entry.js +7 -7
  414. package/dist/esm/ifx-spinner_2.entry.js.map +1 -1
  415. package/dist/esm/ifx-status.entry.js +2 -2
  416. package/dist/esm/ifx-status.entry.js.map +1 -1
  417. package/dist/esm/ifx-step.entry.js +4 -4
  418. package/dist/esm/ifx-stepper.entry.js +2 -2
  419. package/dist/esm/ifx-switch.entry.js +1 -1
  420. package/dist/esm/ifx-tab.entry.js +1 -1
  421. package/dist/esm/ifx-table.entry.js +3 -3
  422. package/dist/esm/ifx-table.entry.js.map +1 -1
  423. package/dist/esm/ifx-tabs.entry.js +3 -3
  424. package/dist/esm/ifx-tabs.entry.js.map +1 -1
  425. package/dist/esm/ifx-tag.entry.js +2 -2
  426. package/dist/esm/ifx-tag.entry.js.map +1 -1
  427. package/dist/esm/ifx-templates-ui.entry.js +1 -1
  428. package/dist/esm/ifx-textarea.entry.js +1 -1
  429. package/dist/esm/ifx-tooltip.entry.js +5 -5
  430. package/dist/esm/ifx-tooltip.entry.js.map +1 -1
  431. package/dist/esm/index-c77e25a0.js +8 -12
  432. package/dist/esm/infineon-design-system-stencil.js +1 -1
  433. package/dist/esm/loader.js +1 -1
  434. package/dist/infineon-design-system-stencil/infineon-design-system-stencil.css +1 -1
  435. package/dist/infineon-design-system-stencil/infineon-design-system-stencil.esm.js +1 -1
  436. package/dist/infineon-design-system-stencil/infineon-design-system-stencil.esm.js.map +1 -1
  437. package/dist/infineon-design-system-stencil/p-0009a396.entry.js +2 -0
  438. package/dist/infineon-design-system-stencil/p-0009a396.entry.js.map +1 -0
  439. package/dist/infineon-design-system-stencil/p-00c52c84.entry.js +2 -0
  440. package/dist/infineon-design-system-stencil/p-0fbc70db.entry.js +2 -0
  441. package/dist/infineon-design-system-stencil/p-0fbc70db.entry.js.map +1 -0
  442. package/dist/infineon-design-system-stencil/p-127120bc.entry.js +2 -0
  443. package/dist/infineon-design-system-stencil/p-127120bc.entry.js.map +1 -0
  444. package/dist/infineon-design-system-stencil/p-12a8b8d9.entry.js +2 -0
  445. package/dist/infineon-design-system-stencil/p-12a8b8d9.entry.js.map +1 -0
  446. package/dist/infineon-design-system-stencil/p-1a882a37.entry.js +2 -0
  447. package/dist/infineon-design-system-stencil/p-1a882a37.entry.js.map +1 -0
  448. package/dist/infineon-design-system-stencil/{p-5bc7c9cc.entry.js → p-1abbcdbc.entry.js} +2 -2
  449. package/dist/infineon-design-system-stencil/p-1b59a7f9.entry.js +2 -0
  450. package/dist/infineon-design-system-stencil/p-1b870109.entry.js +2 -0
  451. package/dist/infineon-design-system-stencil/p-1b870109.entry.js.map +1 -0
  452. package/dist/infineon-design-system-stencil/{p-31f3dba0.entry.js → p-1de4f93c.entry.js} +2 -2
  453. package/dist/infineon-design-system-stencil/p-20c1967d.entry.js +2 -0
  454. package/dist/infineon-design-system-stencil/p-20c1967d.entry.js.map +1 -0
  455. package/dist/infineon-design-system-stencil/p-21dee1b7.entry.js +2 -0
  456. package/dist/infineon-design-system-stencil/p-21dee1b7.entry.js.map +1 -0
  457. package/dist/infineon-design-system-stencil/p-32d311b7.entry.js +2 -0
  458. package/dist/infineon-design-system-stencil/p-32d311b7.entry.js.map +1 -0
  459. package/dist/infineon-design-system-stencil/p-3303a29d.entry.js +2 -0
  460. package/dist/infineon-design-system-stencil/p-3303a29d.entry.js.map +1 -0
  461. package/dist/infineon-design-system-stencil/{p-051f1f75.entry.js → p-37e75e7c.entry.js} +2 -2
  462. package/dist/infineon-design-system-stencil/p-4218b47a.entry.js +2 -0
  463. package/dist/infineon-design-system-stencil/p-4218b47a.entry.js.map +1 -0
  464. package/dist/infineon-design-system-stencil/p-46d704f4.entry.js +2 -0
  465. package/dist/infineon-design-system-stencil/p-46d704f4.entry.js.map +1 -0
  466. package/dist/infineon-design-system-stencil/p-4c031d6e.entry.js +2 -0
  467. package/dist/infineon-design-system-stencil/p-4c031d6e.entry.js.map +1 -0
  468. package/dist/infineon-design-system-stencil/{p-99a53e43.entry.js → p-4c2ce98e.entry.js} +2 -2
  469. package/dist/infineon-design-system-stencil/p-4c2ce98e.entry.js.map +1 -0
  470. package/dist/infineon-design-system-stencil/{p-3f5e136b.entry.js → p-4fa1f905.entry.js} +2 -2
  471. package/dist/infineon-design-system-stencil/p-4fa1f905.entry.js.map +1 -0
  472. package/dist/infineon-design-system-stencil/{p-81391688.entry.js → p-506dc67f.entry.js} +2 -2
  473. package/dist/infineon-design-system-stencil/{p-81391688.entry.js.map → p-506dc67f.entry.js.map} +1 -1
  474. package/dist/infineon-design-system-stencil/p-50ce73a9.entry.js +2 -0
  475. package/dist/infineon-design-system-stencil/p-50ce73a9.entry.js.map +1 -0
  476. package/dist/infineon-design-system-stencil/{p-474b0bda.entry.js → p-5ba50092.entry.js} +2 -2
  477. package/dist/infineon-design-system-stencil/p-635c7fca.entry.js +2 -0
  478. package/dist/infineon-design-system-stencil/p-635c7fca.entry.js.map +1 -0
  479. package/dist/infineon-design-system-stencil/p-65d9faca.entry.js +2 -0
  480. package/dist/infineon-design-system-stencil/p-66b1eeab.entry.js +2 -0
  481. package/dist/infineon-design-system-stencil/{p-7a977f98.entry.js.map → p-66b1eeab.entry.js.map} +1 -1
  482. package/dist/infineon-design-system-stencil/p-66c03f4e.entry.js +2 -0
  483. package/dist/infineon-design-system-stencil/p-66c03f4e.entry.js.map +1 -0
  484. package/dist/infineon-design-system-stencil/{p-0be5bec9.entry.js → p-67c63b48.entry.js} +2 -2
  485. package/dist/infineon-design-system-stencil/p-6a1ff5df.entry.js +2 -0
  486. package/dist/infineon-design-system-stencil/p-6a1ff5df.entry.js.map +1 -0
  487. package/dist/infineon-design-system-stencil/{p-af1d9944.entry.js → p-6b9ecace.entry.js} +2 -2
  488. package/dist/infineon-design-system-stencil/{p-89f8f8c7.entry.js → p-6ee1b4e7.entry.js} +2 -2
  489. package/dist/infineon-design-system-stencil/p-711c9832.entry.js +2 -0
  490. package/dist/infineon-design-system-stencil/p-711c9832.entry.js.map +1 -0
  491. package/dist/infineon-design-system-stencil/p-73388693.entry.js +2 -0
  492. package/dist/infineon-design-system-stencil/p-73388693.entry.js.map +1 -0
  493. package/dist/infineon-design-system-stencil/p-75c2484b.entry.js +2 -0
  494. package/dist/infineon-design-system-stencil/p-75c2484b.entry.js.map +1 -0
  495. package/dist/infineon-design-system-stencil/p-796766bb.entry.js +2 -0
  496. package/dist/infineon-design-system-stencil/p-796766bb.entry.js.map +1 -0
  497. package/dist/infineon-design-system-stencil/{p-38fd172b.entry.js → p-7abdbf1f.entry.js} +2 -2
  498. package/dist/infineon-design-system-stencil/{p-2170ccf1.entry.js → p-7c142528.entry.js} +2 -2
  499. package/dist/infineon-design-system-stencil/p-7c142528.entry.js.map +1 -0
  500. package/dist/infineon-design-system-stencil/p-8dbe0add.entry.js +2 -0
  501. package/dist/infineon-design-system-stencil/{p-13e47c02.entry.js → p-95b48437.entry.js} +2 -2
  502. package/dist/infineon-design-system-stencil/p-98f8a17b.entry.js +2 -0
  503. package/dist/infineon-design-system-stencil/p-98f8a17b.entry.js.map +1 -0
  504. package/dist/infineon-design-system-stencil/p-99493a11.entry.js +2 -0
  505. package/dist/infineon-design-system-stencil/p-99493a11.entry.js.map +1 -0
  506. package/dist/infineon-design-system-stencil/{p-d4a4c134.entry.js → p-9e413f66.entry.js} +2 -2
  507. package/dist/infineon-design-system-stencil/{p-38a17a09.entry.js → p-9feda3ff.entry.js} +2 -2
  508. package/dist/infineon-design-system-stencil/p-a2450ed1.entry.js +2 -0
  509. package/dist/infineon-design-system-stencil/p-a2450ed1.entry.js.map +1 -0
  510. package/dist/infineon-design-system-stencil/p-b12bfbf9.entry.js +2 -0
  511. package/dist/infineon-design-system-stencil/p-b12bfbf9.entry.js.map +1 -0
  512. package/dist/infineon-design-system-stencil/{p-ce55b323.entry.js → p-b7057914.entry.js} +2 -2
  513. package/dist/infineon-design-system-stencil/p-bdf85a8a.entry.js +2 -0
  514. package/dist/infineon-design-system-stencil/p-bdf85a8a.entry.js.map +1 -0
  515. package/dist/infineon-design-system-stencil/p-c14d824b.entry.js +2 -0
  516. package/dist/infineon-design-system-stencil/p-c14d824b.entry.js.map +1 -0
  517. package/dist/infineon-design-system-stencil/p-c175ac96.entry.js +2 -0
  518. package/dist/infineon-design-system-stencil/p-c175ac96.entry.js.map +1 -0
  519. package/dist/infineon-design-system-stencil/p-c5b9e748.entry.js +2 -0
  520. package/dist/infineon-design-system-stencil/p-c5b9e748.entry.js.map +1 -0
  521. package/dist/infineon-design-system-stencil/p-ce80fe1a.entry.js +2 -0
  522. package/dist/infineon-design-system-stencil/p-ce80fe1a.entry.js.map +1 -0
  523. package/dist/infineon-design-system-stencil/p-e2106ed0.entry.js +2 -0
  524. package/dist/infineon-design-system-stencil/p-e2106ed0.entry.js.map +1 -0
  525. package/dist/infineon-design-system-stencil/{p-be9c2a02.entry.js → p-e2d0ad64.entry.js} +2 -2
  526. package/dist/infineon-design-system-stencil/p-e4de8215.entry.js +2 -0
  527. package/dist/infineon-design-system-stencil/{p-0306ed65.entry.js → p-e57f8890.entry.js} +2 -2
  528. package/dist/infineon-design-system-stencil/p-f99197dd.entry.js +2 -0
  529. package/dist/infineon-design-system-stencil/p-f99197dd.entry.js.map +1 -0
  530. package/dist/infineon-design-system-stencil/p-fa3a3a00.entry.js +2 -0
  531. package/dist/infineon-design-system-stencil/p-fa3a3a00.entry.js.map +1 -0
  532. package/dist/infineon-design-system-stencil/p-fbd1163b.entry.js +2 -0
  533. package/dist/infineon-design-system-stencil/p-fbd1163b.entry.js.map +1 -0
  534. package/dist/infineon-design-system-stencil/p-fc9c81fa.entry.js +2 -0
  535. package/dist/infineon-design-system-stencil/p-fc9c81fa.entry.js.map +1 -0
  536. package/dist/types/components.d.ts +0 -68
  537. package/dist/types/global/font-import.d.ts +1 -0
  538. package/dist/types/index.d.ts +1 -0
  539. package/package.json +1 -1
  540. package/dist/cjs/ifx-file-upload.cjs.entry.js +0 -322
  541. package/dist/cjs/ifx-file-upload.cjs.entry.js.map +0 -1
  542. package/dist/collection/components/file-upload/file-upload.css +0 -144
  543. package/dist/collection/components/file-upload/file-upload.js +0 -749
  544. package/dist/collection/components/file-upload/file-upload.js.map +0 -1
  545. package/dist/collection/components/file-upload/file-upload.stories.js +0 -144
  546. package/dist/collection/components/file-upload/file-upload.stories.js.map +0 -1
  547. package/dist/components/ifx-file-upload.d.ts +0 -11
  548. package/dist/components/ifx-file-upload.js +0 -377
  549. package/dist/components/ifx-file-upload.js.map +0 -1
  550. package/dist/components/p-18b340af.js.map +0 -1
  551. package/dist/components/p-2bc9826e.js.map +0 -1
  552. package/dist/components/p-2c77bbe2.js +0 -116
  553. package/dist/components/p-2c77bbe2.js.map +0 -1
  554. package/dist/components/p-461cf021.js.map +0 -1
  555. package/dist/components/p-48f52e18.js.map +0 -1
  556. package/dist/components/p-846923e6.js.map +0 -1
  557. package/dist/components/p-905fb988.js.map +0 -1
  558. package/dist/components/p-ab514a04.js.map +0 -1
  559. package/dist/components/p-c2b0bf22.js.map +0 -1
  560. package/dist/components/p-ccc83a43.js.map +0 -1
  561. package/dist/components/p-cd9e4789.js.map +0 -1
  562. package/dist/components/p-cf1e2d94.js +0 -53
  563. package/dist/components/p-cf1e2d94.js.map +0 -1
  564. package/dist/components/p-fa58a72c.js +0 -68
  565. package/dist/components/p-fa58a72c.js.map +0 -1
  566. package/dist/components/p-fc183f8e.js.map +0 -1
  567. package/dist/esm/ifx-file-upload.entry.js +0 -318
  568. package/dist/esm/ifx-file-upload.entry.js.map +0 -1
  569. package/dist/infineon-design-system-stencil/p-021719f5.entry.js +0 -2
  570. package/dist/infineon-design-system-stencil/p-02bf3e6a.entry.js +0 -2
  571. package/dist/infineon-design-system-stencil/p-02bf3e6a.entry.js.map +0 -1
  572. package/dist/infineon-design-system-stencil/p-08ded326.entry.js +0 -2
  573. package/dist/infineon-design-system-stencil/p-08ded326.entry.js.map +0 -1
  574. package/dist/infineon-design-system-stencil/p-18145ed5.entry.js +0 -2
  575. package/dist/infineon-design-system-stencil/p-18145ed5.entry.js.map +0 -1
  576. package/dist/infineon-design-system-stencil/p-1c80700d.entry.js +0 -2
  577. package/dist/infineon-design-system-stencil/p-1c80700d.entry.js.map +0 -1
  578. package/dist/infineon-design-system-stencil/p-1dbd5a8f.entry.js +0 -2
  579. package/dist/infineon-design-system-stencil/p-1fc608a3.entry.js +0 -2
  580. package/dist/infineon-design-system-stencil/p-1fc608a3.entry.js.map +0 -1
  581. package/dist/infineon-design-system-stencil/p-2170ccf1.entry.js.map +0 -1
  582. package/dist/infineon-design-system-stencil/p-3d4c474f.entry.js +0 -2
  583. package/dist/infineon-design-system-stencil/p-3d4c474f.entry.js.map +0 -1
  584. package/dist/infineon-design-system-stencil/p-3f5e136b.entry.js.map +0 -1
  585. package/dist/infineon-design-system-stencil/p-42234c99.entry.js +0 -2
  586. package/dist/infineon-design-system-stencil/p-42964c5d.entry.js +0 -2
  587. package/dist/infineon-design-system-stencil/p-42964c5d.entry.js.map +0 -1
  588. package/dist/infineon-design-system-stencil/p-44ffa393.entry.js +0 -2
  589. package/dist/infineon-design-system-stencil/p-44ffa393.entry.js.map +0 -1
  590. package/dist/infineon-design-system-stencil/p-4679e8ea.entry.js +0 -2
  591. package/dist/infineon-design-system-stencil/p-4679e8ea.entry.js.map +0 -1
  592. package/dist/infineon-design-system-stencil/p-51c067b1.entry.js +0 -2
  593. package/dist/infineon-design-system-stencil/p-51c067b1.entry.js.map +0 -1
  594. package/dist/infineon-design-system-stencil/p-534ef91b.entry.js +0 -2
  595. package/dist/infineon-design-system-stencil/p-534ef91b.entry.js.map +0 -1
  596. package/dist/infineon-design-system-stencil/p-54d98fa9.entry.js +0 -2
  597. package/dist/infineon-design-system-stencil/p-54d98fa9.entry.js.map +0 -1
  598. package/dist/infineon-design-system-stencil/p-582970ed.entry.js +0 -2
  599. package/dist/infineon-design-system-stencil/p-5bef967e.entry.js +0 -2
  600. package/dist/infineon-design-system-stencil/p-5bef967e.entry.js.map +0 -1
  601. package/dist/infineon-design-system-stencil/p-5e300ee5.entry.js +0 -2
  602. package/dist/infineon-design-system-stencil/p-5e300ee5.entry.js.map +0 -1
  603. package/dist/infineon-design-system-stencil/p-63679e7a.entry.js +0 -2
  604. package/dist/infineon-design-system-stencil/p-63679e7a.entry.js.map +0 -1
  605. package/dist/infineon-design-system-stencil/p-68f13949.entry.js +0 -2
  606. package/dist/infineon-design-system-stencil/p-68f13949.entry.js.map +0 -1
  607. package/dist/infineon-design-system-stencil/p-7103bb15.entry.js +0 -2
  608. package/dist/infineon-design-system-stencil/p-7103bb15.entry.js.map +0 -1
  609. package/dist/infineon-design-system-stencil/p-7a977f98.entry.js +0 -2
  610. package/dist/infineon-design-system-stencil/p-7f777885.entry.js +0 -2
  611. package/dist/infineon-design-system-stencil/p-7f777885.entry.js.map +0 -1
  612. package/dist/infineon-design-system-stencil/p-81b2a882.entry.js +0 -2
  613. package/dist/infineon-design-system-stencil/p-81b2a882.entry.js.map +0 -1
  614. package/dist/infineon-design-system-stencil/p-8319c8c5.entry.js +0 -2
  615. package/dist/infineon-design-system-stencil/p-8319c8c5.entry.js.map +0 -1
  616. package/dist/infineon-design-system-stencil/p-97100c2f.entry.js +0 -2
  617. package/dist/infineon-design-system-stencil/p-97100c2f.entry.js.map +0 -1
  618. package/dist/infineon-design-system-stencil/p-99a53e43.entry.js.map +0 -1
  619. package/dist/infineon-design-system-stencil/p-a26382ae.entry.js +0 -2
  620. package/dist/infineon-design-system-stencil/p-a26382ae.entry.js.map +0 -1
  621. package/dist/infineon-design-system-stencil/p-acf32338.entry.js +0 -2
  622. package/dist/infineon-design-system-stencil/p-acf32338.entry.js.map +0 -1
  623. package/dist/infineon-design-system-stencil/p-ad24c623.entry.js +0 -2
  624. package/dist/infineon-design-system-stencil/p-ad24c623.entry.js.map +0 -1
  625. package/dist/infineon-design-system-stencil/p-b2995f20.entry.js +0 -2
  626. package/dist/infineon-design-system-stencil/p-b2995f20.entry.js.map +0 -1
  627. package/dist/infineon-design-system-stencil/p-b4f0ce88.entry.js +0 -2
  628. package/dist/infineon-design-system-stencil/p-b4f0ce88.entry.js.map +0 -1
  629. package/dist/infineon-design-system-stencil/p-bbc83759.entry.js +0 -2
  630. package/dist/infineon-design-system-stencil/p-bbc83759.entry.js.map +0 -1
  631. package/dist/infineon-design-system-stencil/p-bdb0e937.entry.js +0 -2
  632. package/dist/infineon-design-system-stencil/p-c950abaf.entry.js +0 -2
  633. package/dist/infineon-design-system-stencil/p-c950abaf.entry.js.map +0 -1
  634. package/dist/infineon-design-system-stencil/p-ca42aecb.entry.js +0 -2
  635. package/dist/infineon-design-system-stencil/p-ca42aecb.entry.js.map +0 -1
  636. package/dist/infineon-design-system-stencil/p-cf96a19e.entry.js +0 -2
  637. package/dist/infineon-design-system-stencil/p-cf96a19e.entry.js.map +0 -1
  638. package/dist/infineon-design-system-stencil/p-d097a48f.entry.js +0 -2
  639. package/dist/infineon-design-system-stencil/p-d097a48f.entry.js.map +0 -1
  640. package/dist/infineon-design-system-stencil/p-d66fc7fa.entry.js +0 -2
  641. package/dist/infineon-design-system-stencil/p-d66fc7fa.entry.js.map +0 -1
  642. package/dist/infineon-design-system-stencil/p-e54766be.entry.js +0 -2
  643. package/dist/infineon-design-system-stencil/p-e54766be.entry.js.map +0 -1
  644. package/dist/infineon-design-system-stencil/p-e6f4865a.entry.js +0 -2
  645. package/dist/infineon-design-system-stencil/p-e6f4865a.entry.js.map +0 -1
  646. package/dist/infineon-design-system-stencil/p-ea24eca0.entry.js +0 -2
  647. package/dist/infineon-design-system-stencil/p-ea24eca0.entry.js.map +0 -1
  648. package/dist/infineon-design-system-stencil/p-edf98dc3.entry.js +0 -2
  649. package/dist/infineon-design-system-stencil/p-edf98dc3.entry.js.map +0 -1
  650. package/dist/types/components/file-upload/file-upload.d.ts +0 -88
  651. package/dist/types/components/file-upload/file-upload.stories.d.ts +0 -7
  652. /package/dist/infineon-design-system-stencil/{p-1dbd5a8f.entry.js.map → p-00c52c84.entry.js.map} +0 -0
  653. /package/dist/infineon-design-system-stencil/{p-5bc7c9cc.entry.js.map → p-1abbcdbc.entry.js.map} +0 -0
  654. /package/dist/infineon-design-system-stencil/{p-021719f5.entry.js.map → p-1b59a7f9.entry.js.map} +0 -0
  655. /package/dist/infineon-design-system-stencil/{p-31f3dba0.entry.js.map → p-1de4f93c.entry.js.map} +0 -0
  656. /package/dist/infineon-design-system-stencil/{p-051f1f75.entry.js.map → p-37e75e7c.entry.js.map} +0 -0
  657. /package/dist/infineon-design-system-stencil/{p-474b0bda.entry.js.map → p-5ba50092.entry.js.map} +0 -0
  658. /package/dist/infineon-design-system-stencil/{p-bdb0e937.entry.js.map → p-65d9faca.entry.js.map} +0 -0
  659. /package/dist/infineon-design-system-stencil/{p-0be5bec9.entry.js.map → p-67c63b48.entry.js.map} +0 -0
  660. /package/dist/infineon-design-system-stencil/{p-af1d9944.entry.js.map → p-6b9ecace.entry.js.map} +0 -0
  661. /package/dist/infineon-design-system-stencil/{p-89f8f8c7.entry.js.map → p-6ee1b4e7.entry.js.map} +0 -0
  662. /package/dist/infineon-design-system-stencil/{p-38fd172b.entry.js.map → p-7abdbf1f.entry.js.map} +0 -0
  663. /package/dist/infineon-design-system-stencil/{p-42234c99.entry.js.map → p-8dbe0add.entry.js.map} +0 -0
  664. /package/dist/infineon-design-system-stencil/{p-13e47c02.entry.js.map → p-95b48437.entry.js.map} +0 -0
  665. /package/dist/infineon-design-system-stencil/{p-d4a4c134.entry.js.map → p-9e413f66.entry.js.map} +0 -0
  666. /package/dist/infineon-design-system-stencil/{p-38a17a09.entry.js.map → p-9feda3ff.entry.js.map} +0 -0
  667. /package/dist/infineon-design-system-stencil/{p-ce55b323.entry.js.map → p-b7057914.entry.js.map} +0 -0
  668. /package/dist/infineon-design-system-stencil/{p-be9c2a02.entry.js.map → p-e2d0ad64.entry.js.map} +0 -0
  669. /package/dist/infineon-design-system-stencil/{p-582970ed.entry.js.map → p-e4de8215.entry.js.map} +0 -0
  670. /package/dist/infineon-design-system-stencil/{p-0306ed65.entry.js.map → p-e57f8890.entry.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h } from './index-c77e25a0.js';
2
2
 
3
- const progressBarCss = ":root{--ifx-font-family:\"Source Sans 3\";font-family:var(--ifx-font-family, sans-serif)}:host{display:flex;width:100%}.progress-bar{height:16px;bottom:0;right:0;top:0;left:0;display:flex;height:20px;border-radius:1px;width:100%;overflow:hidden;background-color:#EEEDED;font-family:var(--ifx-font-family, sans-serif)}.progress-bar.s{height:4px}.progress-bar .label{font-style:normal;font-size:0.875rem;font-weight:400;line-height:1.25rem;color:#FFFFFF}.progress-bar .progress{display:flex;align-items:center;justify-content:center;min-width:fit-content;height:100%;background-color:#0A8276;transition:width 0.2s ease}";
3
+ const progressBarCss = ":root{--ifx-font-family:\"Source Sans 3\";font-family:var(--ifx-font-family, sans-serif)}:host{display:flex;width:100%}.progress-bar{height:16px;bottom:0;right:0;top:0;left:0;display:flex;height:20px;border-radius:1px;width:100%;overflow:hidden;background-color:#EEEDED;font-family:var(--ifx-font-family, Source Sans 3)}.progress-bar.s{height:4px}.progress-bar .label{font-style:normal;font-size:0.875rem;font-weight:400;line-height:1.25rem;color:#FFFFFF}.progress-bar .progress{display:flex;align-items:center;justify-content:center;min-width:fit-content;height:100%;background-color:#0A8276;transition:width 0.2s ease}";
4
4
  const IfxProgressBarStyle0 = progressBarCss;
5
5
 
6
6
  const ProgressBar = class {
@@ -18,7 +18,7 @@ const ProgressBar = class {
18
18
  this.internalValue = this.value;
19
19
  }
20
20
  render() {
21
- return (h("div", { key: '64f507df1eac5c53bd7d63fe189fbf56dc709c84', "aria-label": 'a progress bar', "aria-value": this.value, class: `progress-bar ${this.size}` }, h("div", { key: '4c5ad2468ad886bcdfb82b5bccf89ca7d12a92f4', class: "progress", style: { width: `${this.internalValue}%` } }, this.showLabel && this.size !== "s" && this.internalValue !== 0 && h("span", { key: 'dba659058f24981db9abd33f127a02ded4ae22b4', class: "label" }, `${this.internalValue}%`))));
21
+ return (h("div", { key: 'e1978cda672a5b004cd0520c099041172ec5e819', "aria-label": 'a progress bar', "aria-value": this.value, class: `progress-bar ${this.size}` }, h("div", { key: '2e9094099e63479b88f5b832ec55f5eb51ab0d13', class: "progress", style: { width: `${this.internalValue}%` } }, this.showLabel && this.size !== "s" && this.internalValue !== 0 && h("span", { key: 'd7f1ecd1109f03379ffa36626e27f50f9ef7ca72', class: "label" }, `${this.internalValue}%`))));
22
22
  }
23
23
  static get watchers() { return {
24
24
  "value": ["valueChanged"]
@@ -1 +1 @@
1
- {"file":"ifx-progress-bar.entry.js","mappings":";;AAAA,MAAM,cAAc,GAAG,2mBAA2mB,CAAC;AACnoB,6BAAe,cAAc;;MCOhB,WAAW;IALxB;;QAMU,UAAK,GAAW,CAAC,CAAC;QAElB,cAAS,GAAY,KAAK,CAAC;KA2BpC;IAtBC,YAAY,CAAC,QAAgB,EAAE,QAAgB;QAC7C,IAAI,QAAQ,KAAK,QAAQ,EAAE;YACzB,IAAI,CAAC,aAAa,GAAG,QAAQ,CAAC;SAC/B;KACF;IAGD,iBAAiB;QACf,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,KAAK,CAAC;KACjC;IAID,MAAM;QACJ,QACE,0EAAgB,gBAAgB,gBAAa,IAAI,CAAC,KAAK,EAAG,KAAK,EAAE,gBAAgB,IAAI,CAAC,IAAI,EAAE,IAC1F,4DAAK,KAAK,EAAC,UAAU,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,aAAa,GAAG,EAAE,IAC7D,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,IAAI,KAAK,GAAG,IAAI,IAAI,CAAC,aAAa,KAAK,CAAC,IAAI,6DAAM,KAAK,EAAC,OAAO,IAAE,GAAG,IAAI,CAAC,aAAa,GAAG,CAAQ,CACrH,CACF,EACN;KACH;;;;;;;;;","names":[],"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, sans-serif);\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 } from '@stencil/core';\n \n\n@Component({\n tag: 'ifx-progress-bar',\n styleUrl: 'progress-bar.scss',\n shadow: true\n})\nexport class ProgressBar {\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 \n componentWillLoad() {\n this.internalValue = this.value;\n }\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"],"version":3}
1
+ {"file":"ifx-progress-bar.entry.js","mappings":";;AAAA,MAAM,cAAc,GAAG,8mBAA8mB,CAAC;AACtoB,6BAAe,cAAc;;MCOhB,WAAW;IALxB;;QAMU,UAAK,GAAW,CAAC,CAAC;QAElB,cAAS,GAAY,KAAK,CAAC;KA2BpC;IAtBC,YAAY,CAAC,QAAgB,EAAE,QAAgB;QAC7C,IAAI,QAAQ,KAAK,QAAQ,EAAE;YACzB,IAAI,CAAC,aAAa,GAAG,QAAQ,CAAC;SAC/B;KACF;IAGD,iBAAiB;QACf,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,KAAK,CAAC;KACjC;IAID,MAAM;QACJ,QACE,0EAAgB,gBAAgB,gBAAa,IAAI,CAAC,KAAK,EAAG,KAAK,EAAE,gBAAgB,IAAI,CAAC,IAAI,EAAE,IAC1F,4DAAK,KAAK,EAAC,UAAU,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,aAAa,GAAG,EAAE,IAC7D,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,IAAI,KAAK,GAAG,IAAI,IAAI,CAAC,aAAa,KAAK,CAAC,IAAI,6DAAM,KAAK,EAAC,OAAO,IAAE,GAAG,IAAI,CAAC,aAAa,GAAG,CAAQ,CACrH,CACF,EACN;KACH;;;;;;;;;","names":[],"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 &.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 } from '@stencil/core';\n \n\n@Component({\n tag: 'ifx-progress-bar',\n styleUrl: 'progress-bar.scss',\n shadow: true\n})\nexport class ProgressBar {\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 \n componentWillLoad() {\n this.internalValue = this.value;\n }\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"],"version":3}
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, g as getElement } from './index-c77e25a0.js';
2
2
 
3
- const radioButtonGroupCss = ":root{--ifx-font-family:\"Source Sans 3\";font-family:var(--ifx-font-family, 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}";
3
+ const radioButtonGroupCss = ":root{--ifx-font-family:\"Source Sans 3\";font-family:var(--ifx-font-family, sans-serif)}.radio-button-group-container{display:flex;flex-direction:column}.radio-button-group{display:flex;font-family:var(--ifx-font-family, Source Sans 3);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}";
4
4
  const IfxRadioButtonGroupStyle0 = radioButtonGroupCss;
5
5
 
6
6
  const RadioButtonGroup = class {
@@ -45,7 +45,7 @@ const RadioButtonGroup = class {
45
45
  this.hasErrors = Array.from(this.errorStates.values()).some((error) => error);
46
46
  }
47
47
  render() {
48
- return (h("div", { key: '86189849ec52df99ab0d994016ec346e366125bd', class: 'radio-button-group-container' }, this.showGroupLabel ? h("div", { class: 'group-label' }, this.groupLabelText, " *") : '', h("div", { key: 'bcfebaea120d43a15f3a3384b3b66513c3fc9d81', class: `radio-button-group ${this.alignment} ${this.size}` }, h("slot", { key: '1b8d66770b3e86f74f7db221885aa5010c3fe340', 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))) : ''));
48
+ return (h("div", { key: '81ad6c9e3c9383011b89b8c5cbc0199a82731ede', class: 'radio-button-group-container' }, this.showGroupLabel ? h("div", { class: 'group-label' }, this.groupLabelText, " *") : '', h("div", { key: '7cff1f5f620a3d8a8b9942fa036e7da781365332', class: `radio-button-group ${this.alignment} ${this.size}` }, h("slot", { key: '379cb323140188aa43ad1677d05e81a6b6335b03', 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))) : ''));
49
49
  }
50
50
  static get formAssociated() { return true; }
51
51
  get el() { return getElement(this); }
@@ -1 +1 @@
1
- {"file":"ifx-radio-button-group.entry.js","mappings":";;AAAA,MAAM,mBA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,KAAK,IAAI,KAAK,CAAC,CAAC;aAC1E;SACJ,CAAC,CAAC;QACH,IAAI,CAAC,eAAe,EAAE,CAAC;KAC1B;IAEO,eAAe;QACnB,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,KAAK,KAAK,CAAC,CAAC;KACjF;IAED,MAAM;QACF,QACI,4DAAK,KAAK,EAAC,8BAA8B,IACpC,IAAI,CAAC,cAAc,GAAG,WAAK,KAAK,EAAC,aAAa,IAAE,IAAI,CAAC,cAAc,OAAS,GAAG,EAAE,EAClF,4DAAK,KAAK,EAAE,sBAAsB,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,IAAI,EAAE,IAC3D,6DAAM,YAAY,EAAE,IAAI,CAAC,gBAAgB,GAAU,CACjD,EACL,IAAI,CAAC,WAAW,IACb,WAAK,KAAK,EAAE,WAAW,IAAI,CAAC,SAAS,GAAG,OAAO,GAAG,SAAS,EAAE,IACxD,IAAI,CAAC,eAAe,GAAG,WAAK,KAAK,EAAC,cAAc,IAAC,gBAAU,IAAI,EAAC,WAAW,GACjE,CAAM,GAAG,EAAE,EACtB,WAAK,KAAK,EAAC,cAAc,IAAE,IAAI,CAAC,WAAW,CAAO,CAChD,IAAI,EAAE,CACd,EACR;KACL;;;;;;;;","names":[],"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);\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';\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 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}"],"version":3}
1
+ {"file":"ifx-radio-button-group.entry.js","mappings":";;AAAA,MAAM,mBAAmB,GAAG,i4BAAi4B,CAAC;AAC95B,kCAAe,mBAAmB;;MCQrB,gBAAgB;IAP7B;;QAQY,gBAAW,GAA8B,IAAI,GAAG,EAAE,CAAC;QAGnD,cAAS,GAA8B,UAAU,CAAC;QAGlD,mBAAc,GAAW,kBAAkB,CAAC;QAI3C,cAAS,GAAY,KAAK,CAAC;QAwBpC,qBAAgB,GAAG;YACf,IAAI,CAAC,eAAe,EAAE,CAAC;SAC1B,CAAC;KAiCL;IAxDG,sBAAsB,CAAC,KAAkB;QACrC,MAAM,WAAW,GAAG,KAAK,CAAC,MAAqB,CAAC;QAChD,IAAI,WAAW,CAAC,OAAO,KAAK,kBAAkB,EAAE;YAC5C,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;YAChD,IAAI,CAAC,eAAe,EAAE,CAAC;SAC1B;KACJ;;IAIC,MAAM,aAAa,CAAC,KAAc;QAChC,MAAM,YAAY,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAA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AAG,WAAK,KAAK,EAAC,cAAc,IAAC,gBAAU,IAAI,EAAC,WAAW,GACjE,CAAM,GAAG,EAAE,EACtB,WAAK,KAAK,EAAC,cAAc,IAAE,IAAI,CAAC,WAAW,CAAO,CAChD,IAAI,EAAE,CACd,EACR;KACL;;;;;;;;","names":[],"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 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';\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 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}"],"version":3}
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-c77e25a0.js';
2
2
 
3
- const radioButtonCss = ":root{--ifx-font-family:\"Source Sans 3\";font-family:var(--ifx-font-family, sans-serif)}:host{display:inline-flex;--_ifx-fallback-display:none !important}._ifx-radiobutton-fallback{display:var(--_ifx-fallback-display);position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;border:0 !important}.radioButton__container{box-sizing:border-box;display:inline-flex;flex-direction:row;align-items:center;padding:0px;gap:8px;cursor:pointer;font-family:var(--ifx-font-family)}.radioButton__container.m .radioButton__wrapper{width:24px;height:24px}.radioButton__container .radioButton__wrapper{width:20px;height:20px;position:relative;display:block;border-radius:50%;background-color:#FFFFFF;border:1px solid #575352}.radioButton__container .radioButton__wrapper:focus{outline:none}.radioButton__container .radioButton__wrapper:focus::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:50%}.radioButton__container .radioButton__wrapper .radioButton__wrapper-mark{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);background-color:#0A8276;border-radius:50%;display:flex;justify-content:center;align-items:center;border-color:transparent}.radioButton__container .radioButton__wrapper:hover{background-color:#EEEDED}.radioButton__container .radioButton__wrapper.disabled{background-color:#BFBBBB;border-color:#BFBBBB}.radioButton__container .radioButton__wrapper.disabled.error:hover,.radioButton__container .radioButton__wrapper.disabled.error:focus-visible{border-color:#CD002F}.radioButton__container .radioButton__wrapper.checked{border-color:#0A8276}.radioButton__container .radioButton__wrapper.checked::after{content:\"\";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:10px;height:10px;background-color:#0A8276;border-radius:50%}.radioButton__container .radioButton__wrapper.checked.disabled::after{background-color:#BFBBBB}.radioButton__container .radioButton__wrapper.checked:hover{border-color:#08665C}.radioButton__container .radioButton__wrapper.checked:hover .radioButton__wrapper-mark{background-color:#08665C}.radioButton__container .radioButton__wrapper.checked.disabled{background-color:#FFFFFF;border-color:#BFBBBB}.radioButton__container .radioButton__wrapper.checked.disabled.disabled::after{background-color:#BFBBBB}.radioButton__container .radioButton__wrapper.checked.disabled .radioButton__wrapper-mark{background-color:#BFBBBB}.radioButton__container .radioButton__wrapper.checked.error::after{border-color:#CD002F;background-color:#CD002F}.radioButton__container .radioButton__wrapper.error:not(.disabled){border-color:#CD002F}.radioButton__container .radioButton__wrapper.error:not(.disabled):hover,.radioButton__container .radioButton__wrapper.error:not(.disabled):focus-visible{border-color:#CD002F}.radioButton__container .label{display:flex;align-items:center;height:20px;font-style:normal;font-weight:400;font-size:0.875rem;line-height:1.25rem;color:#1D1D1D;flex:none;order:1;flex-grow:0}.radioButton__container .label.label-m{height:24px;font-size:1rem;line-height:1.5rem}.radioButton__container .label.disabled{color:#BFBBBB}.radioButton__container .label:hover{cursor:pointer}";
3
+ const radioButtonCss = ":root{--ifx-font-family:\"Source Sans 3\";font-family:var(--ifx-font-family, sans-serif)}:host{display:inline-flex;--_ifx-fallback-display:none !important}._ifx-radiobutton-fallback{display:var(--_ifx-fallback-display);position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;border:0 !important}.radioButton__container{box-sizing:border-box;display:inline-flex;flex-direction:row;align-items:center;padding:0px;gap:8px;cursor:pointer;font-family:var(--ifx-font-family, Source Sans 3)}.radioButton__container.m .radioButton__wrapper{width:24px;height:24px}.radioButton__container .radioButton__wrapper{width:20px;height:20px;position:relative;display:block;border-radius:50%;background-color:#FFFFFF;border:1px solid #575352}.radioButton__container .radioButton__wrapper:focus{outline:none}.radioButton__container .radioButton__wrapper:focus::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:50%}.radioButton__container .radioButton__wrapper .radioButton__wrapper-mark{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);background-color:#0A8276;border-radius:50%;display:flex;justify-content:center;align-items:center;border-color:transparent}.radioButton__container .radioButton__wrapper:hover{background-color:#EEEDED}.radioButton__container .radioButton__wrapper.disabled{background-color:#BFBBBB;border-color:#BFBBBB}.radioButton__container .radioButton__wrapper.disabled.error:hover,.radioButton__container .radioButton__wrapper.disabled.error:focus-visible{border-color:#CD002F}.radioButton__container .radioButton__wrapper.checked{border-color:#0A8276}.radioButton__container .radioButton__wrapper.checked::after{content:\"\";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:10px;height:10px;background-color:#0A8276;border-radius:50%}.radioButton__container .radioButton__wrapper.checked.disabled::after{background-color:#BFBBBB}.radioButton__container .radioButton__wrapper.checked:hover{border-color:#08665C}.radioButton__container .radioButton__wrapper.checked:hover .radioButton__wrapper-mark{background-color:#08665C}.radioButton__container .radioButton__wrapper.checked.disabled{background-color:#FFFFFF;border-color:#BFBBBB}.radioButton__container .radioButton__wrapper.checked.disabled.disabled::after{background-color:#BFBBBB}.radioButton__container .radioButton__wrapper.checked.disabled .radioButton__wrapper-mark{background-color:#BFBBBB}.radioButton__container .radioButton__wrapper.checked.error::after{border-color:#CD002F;background-color:#CD002F}.radioButton__container .radioButton__wrapper.error:not(.disabled){border-color:#CD002F}.radioButton__container .radioButton__wrapper.error:not(.disabled):hover,.radioButton__container .radioButton__wrapper.error:not(.disabled):focus-visible{border-color:#CD002F}.radioButton__container .label{display:flex;align-items:center;height:20px;font-style:normal;font-weight:400;font-size:0.875rem;line-height:1.25rem;color:#1D1D1D;flex:none;order:1;flex-grow:0}.radioButton__container .label.label-m{height:24px;font-size:1rem;line-height:1.5rem}.radioButton__container .label.disabled{color:#BFBBBB}.radioButton__container .label:hover{cursor:pointer}";
4
4
  const IfxRadioButtonStyle0 = radioButtonCss;
5
5
 
6
6
  const RadioButton = class {
@@ -94,10 +94,10 @@ const RadioButton = class {
94
94
  }
95
95
  }
96
96
  render() {
97
- return (h("div", { key: 'fb96cb8ec773d535c899a67b95367b9a41e9972e', 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: 'aab931a5d17633db56b1427041441d59c17b9bca', class: `radioButton__wrapper
97
+ return (h("div", { key: '8b8ef83f01253deda3870317ac1899ea1e6d7bca', 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: '7668fa54b0682d512ef1af676dac8aee5575f8e8', class: `radioButton__wrapper
98
98
  ${this.internalChecked ? 'checked' : ''}
99
99
  ${this.disabled ? 'disabled' : ''}
100
- ${this.error ? 'error' : ''}` }, this.internalChecked && h("div", { key: '070abfb34203284052a23b123cacc902b6ec1b54', class: "radioButton__wrapper-mark" })), this.hasSlot && (h("div", { key: '029b22757a26ef835972e66f62c4bab458c495a1', class: `label ${this.size === "m" ? "label-m" : ""} ${this.disabled ? 'disabled' : ''}` }, h("slot", { key: '39ffad71bc767b82b98addecef6a95a5939b6e0c' }))), h("input", { key: '296c33ab1446e723d92d00c21fe91abb36461b87', 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() })));
100
+ ${this.error ? 'error' : ''}` }, this.internalChecked && h("div", { key: '5bd3bd3000434c1f0811534d0239b4b119e73f34', class: "radioButton__wrapper-mark" })), this.hasSlot && (h("div", { key: 'a4a533b20998726877f131d75f8477e41f7205e1', class: `label ${this.size === "m" ? "label-m" : ""} ${this.disabled ? 'disabled' : ''}` }, h("slot", { key: '5e097bb9d5048fd13d1a8a790ec3e0af666a24b4' }))), h("input", { key: '52c6fb892db708d17a460df3c31ea998d2528895', 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() })));
101
101
  }
102
102
  static get formAssociated() { return true; }
103
103
  get el() { return getElement(this); }
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AG,EAAE,EAAE,IAE9B,IAAI,CAAC,eAAe,IAAI,4DAAK,KAAK,EAAC,2BAA2B,GAAO,CAClE,EAEL,IAAI,CAAC,OAAO,KACX,4DAAK,KAAK,EAAE,SAAS,IAAI,CAAC,IAAI,KAAK,GAAG,GAAG,SAAS,GAAG,EAAE,IAAI,IAAI,CAAC,QAAQ,GAAG,UAAU,GAAG,EAAE,EAAE,IAC1F,8DAAQ,CACJ,CACP,EAED,8DACE,IAAI,EAAC,OAAO,EACZ,MAAM,QACN,GAAG,EAAE,EAAE,IAAI,IAAI,CAAC,YAAY,GAAG,EAAE,EACjC,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,OAAO,EAAE,IAAI,CAAC,eAAe,EAC7B,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,eAAe,EAAE,GACnC,CACE,EACN;KACH;;;;;;;;;;;;;","names":[],"sources":["src/components/radio-button/radio-button.scss?tag=ifx-radio-button&encapsulation=shadow","src/components/radio-button/radio-button.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n:host {\n display: inline-flex;\n --_ifx-fallback-display: none !important;\n}\n\n._ifx-radiobutton-fallback {\n display: var(--_ifx-fallback-display);\n position: absolute !important;\n width: 1px !important;\n height: 1px !important;\n padding: 0 !important;\n margin: -1px !important;\n overflow: hidden !important;\n clip: rect(0,0,0,0) !important;\n border: 0 !important;\n }\n\n.radioButton__container {\n box-sizing: border-box;\n display: inline-flex;\n flex-direction: row;\n align-items: center;\n padding: 0px;\n gap: tokens.$ifxSpace100;\n cursor: pointer;\n font-family: var(--ifx-font-family);\n\n &.m .radioButton__wrapper {\n width: tokens.$ifxSize300;\n height: tokens.$ifxSize300;\n }\n\n .radioButton__wrapper {\n width: tokens.$ifxSize250;\n height: tokens.$ifxSize250;\n position: relative;\n display: block;\n border-radius: 50%;\n background-color: tokens.$ifxColorBaseWhite;\n border: 1px solid #575352;\n\n &:focus {\n outline: none;\n\n &::before {\n content: '';\n position: absolute;\n width: calc(100% + 4px);\n height: calc(100% + 4px);\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n border: 2px solid tokens.$ifxColorOcean500;\n border-radius: 50%;\n }\n }\n\n .radioButton__wrapper-mark {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n background-color: #0A8276;\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n border-color: tokens.$ifxColorBaseTransparent;\n }\n\n &:hover {\n background-color: tokens.$ifxColorEngineering200;\n }\n\n &.disabled {\n background-color: #BFBBBB;\n border-color: #BFBBBB;\n\n &.error {\n\n &:hover,\n &:focus-visible {\n border-color: #CD002F;\n }\n }\n }\n\n &.checked {\n border-color: #0A8276;\n\n &::after {\n content: \"\";\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 10px;\n height: 10px;\n background-color: #0A8276;\n border-radius: 50%;\n }\n\n &.disabled::after {\n background-color: #BFBBBB;\n }\n\n\n &:hover {\n border-color: tokens.$ifxColorOcean600;\n\n & .radioButton__wrapper-mark {\n background-color: tokens.$ifxColorOcean600;\n }\n }\n\n &.disabled {\n background-color: tokens.$ifxColorBaseWhite;\n border-color: #BFBBBB;\n\n &.disabled::after {\n background-color: #BFBBBB;\n }\n\n & .radioButton__wrapper-mark {\n background-color: #BFBBBB;\n }\n }\n &.error::after {\n border-color: #CD002F;\n background-color: #CD002F;\n }\n }\n\n &.error:not(.disabled) {\n border-color: #CD002F;\n\n &:hover,\n &:focus-visible {\n border-color: #CD002F;\n }\n }\n }\n\n .label {\n display: flex;\n align-items: center;\n height: tokens.$ifxSize250;\n font-style: normal;\n font-weight: 400;\n font-size: tokens.$ifxFontSizeS;\n line-height: tokens.$ifxLineHeightS;\n color: tokens.$ifxColorBaseBlack;\n flex: none;\n order: 1;\n flex-grow: 0;\n\n &.label-m {\n height: tokens.$ifxSize300;\n font-size: tokens.$ifxFontSizeM;\n line-height: tokens.$ifxLineHeightM;\n }\n\n &.disabled {\n color: #BFBBBB;\n }\n\n\n\n &:hover {\n cursor: pointer;\n }\n }\n}\n\n","import { Component, h, Prop, Element, State, Event, EventEmitter, Listen, Watch } from '@stencil/core';\n\n@Component({\n tag: 'ifx-radio-button',\n styleUrl: 'radio-button.scss',\n shadow: true,\n formAssociated: true\n})\nexport class RadioButton {\n @Element() el: HTMLElement;\n @Prop() disabled: boolean = false;\n @Prop() value: string;\n @Prop() error: boolean = false;\n @Prop({ reflect: true }) size: \"s\" | \"m\" = \"s\";\n @Prop({ reflect: true }) name: string;\n @Prop({ mutable: true }) checked: boolean;\n @State() internalChecked: boolean = false;\n @State() hasSlot: boolean = false;\n\n private inputElement: HTMLInputElement;\n private internals: ElementInternals;\n private fallbackInput: HTMLInputElement;\n\n @Event({ eventName: 'ifxChange' }) ifxChange: EventEmitter;\n @Event({ eventName: 'ifxError' }) ifxError: EventEmitter;\n\n componentWillLoad() {\n // Fallback for form association\n this.fallbackInput = document.createElement('input');\n this.fallbackInput.type = 'radio';\n this.fallbackInput.hidden = true;\n this.fallbackInput.className = '_ifx-radiobutton-fallback';\n this.fallbackInput.style.cssText = `\n display: none !important;\n position: absolute !important;\n opacity: 0 !important;\n pointer-events: none !important;\n width: 0 !important;\n height: 0 !important;\n `;\n this.fallbackInput.setAttribute('aria-hidden', 'true');\n this.fallbackInput.tabIndex = -1;\n this.el.appendChild(this.fallbackInput);\n\n // Initialize ElementInternals if supported\n if ('attachInternals' in HTMLElement.prototype) {\n try {\n this.internals = this.el.attachInternals();\n } catch (e) {\n console.warn('ElementInternals not supported');\n }\n }\n\n // Initial state\n this.internalChecked = this.checked || false;\n this.hasSlot = !!this.el.querySelector('[slot]') || this.el.innerHTML.trim() !== '';\n }\n\n @Watch('checked')\n handleCheckedChange(newValue: boolean) {\n this.internalChecked = newValue;\n }\n\n @Watch('internalChecked')\n updateFormValue() {\n // Update both ElementInternals and fallback input\n if (this.internals?.setFormValue) {\n this.internals.setFormValue(this.internalChecked ? this.value : null);\n }\n this.fallbackInput.checked = this.internalChecked;\n this.fallbackInput.name = this.name;\n this.fallbackInput.value = this.value;\n this.fallbackInput.disabled = this.disabled;\n }\n\n @Watch('error')\n errorChanged(newValue: boolean, oldValue: boolean) {\n if (newValue !== oldValue) {\n this.ifxError.emit(newValue);\n }\n }\n\n handleRadioButtonClick(event: Event) {\n if (this.disabled) {\n event.stopPropagation();\n return;\n }\n\n this.inputElement.click();\n this.internalChecked = this.inputElement.checked;\n this.checked = this.internalChecked;\n this.ifxChange.emit(this.internalChecked);\n\n const changeEvent = new CustomEvent('change', {\n bubbles: true,\n composed: true,\n detail: { checked: this.internalChecked }\n });\n this.el.dispatchEvent(changeEvent);\n }\n\n @Listen('keydown')\n handleKeyDown(ev: KeyboardEvent) {\n if ([' ', 'Enter'].includes(ev.key)) {\n ev.preventDefault();\n this.handleRadioButtonClick(new PointerEvent('click'));\n }\n }\n\n @Listen('change', { target: 'document' })\n handleExternalChange(event: Event) {\n const target = event.target as HTMLElement;\n if (target === this.el || target.tagName.toLowerCase() !== 'ifx-radio-button') return;\n \n if (target.getAttribute('name') === this.name) {\n this.internalChecked = false;\n }\n }\n\n render() {\n return (\n <div\n role=\"radio\"\n aria-checked={String(this.internalChecked)}\n aria-disabled={String(this.disabled)}\n class={`radioButton__container ${this.size} ${this.disabled ? 'disabled' : ''}`}\n onClick={(e) => this.handleRadioButtonClick(e)}\n tabindex={this.disabled ? -1 : 0}\n >\n <div\n class={`radioButton__wrapper \n ${this.internalChecked ? 'checked' : ''} \n ${this.disabled ? 'disabled' : ''} \n ${this.error ? 'error' : ''}`}\n >\n {this.internalChecked && <div class=\"radioButton__wrapper-mark\"></div>}\n </div>\n\n {this.hasSlot && (\n <div class={`label ${this.size === \"m\" ? \"label-m\" : \"\"} ${this.disabled ? 'disabled' : ''}`}>\n <slot />\n </div>\n )}\n\n <input\n type=\"radio\"\n hidden\n ref={el => this.inputElement = el}\n name={this.name}\n value={this.value}\n checked={this.internalChecked}\n disabled={this.disabled}\n onClick={(e) => e.stopPropagation()}\n />\n </div>\n );\n }\n}"],"version":3}
1
+ {"file":"ifx-radio-button.entry.js","mappings":";;AAAA,MAAM,cAAc,GAAG,00GAA00G,CAAC;AACl2G,6BAAe,cAAc;;MCOhB,WAAW;IANxB;;;;QAQU,aAAQ,GAAY,KAAK,CAAC;QAE1B,UAAK,GAAY,KAAK,CAAC;QACN,SAAI,GAAc,GAAG,CAAC;QAGtC,oBAAe,GAAY,KAAK,CAAC;QACjC,YAAO,GAAY,KAAK,CAAC;KA4InC;IAnIC,iBAAiB;;QAEf,IAAI,CAAC,aAAa,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACrD,IAAI,CAAC,aAAa,CAAC,IAAI,GAAG,OAAO,CAAC;QAClC,IAAI,CAAC,aAAa,CAAC,MAAM,GAAG,IAAI,CAAC;QACjC,IAAI,CAAC,aAAa,CAAC,SAAS,GAAG,2BAA2B,CAAC;QAC3D,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,OAAO,GAAG;;;;;;;KAOlC,CAAC;QACF,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;QACvD,IAAI,CAAC,aAAa,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC;QACjC,IAAI,CAAC,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;;QAGxC,IAAI,iBAAiB,IAAI,WAAW,CAAC,SAAS,EAAE;YAC9C,IAAI;gBACF,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,EAAE,CAAC,eAAe,EAAE,CAAC;aAC5C;YAAC,OAAO,CAAC,EAAE;gBACV,OAAO,CAAC,IAAI,CAAC,gCAAgC,CAAC,CAAC;aAChD;SACF;;QAGD,IAAI,CAAC,eAAe,GAAG,IAAI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ACH,IAAI,CAAC,eAAe,GAAG,SAAS,GAAG,EAAE;cACrC,IAAI,CAAC,QAAQ,GAAG,UAAU,GAAG,EAAE;cAC/B,IAAI,CAAC,KAAK,GAAG,OAAO,GAAG,EAAE,EAAE,IAE9B,IAAI,CAAC,eAAe,IAAI,4DAAK,KAAK,EAAC,2BAA2B,GAAO,CAClE,EAEL,IAAI,CAAC,OAAO,KACX,4DAAK,KAAK,EAAE,SAAS,IAAI,CAAC,IAAI,KAAK,GAAG,GAAG,SAAS,GAAG,EAAE,IAAI,IAAI,CAAC,QAAQ,GAAG,UAAU,GAAG,EAAE,EAAE,IAC1F,8DAAQ,CACJ,CACP,EAED,8DACE,IAAI,EAAC,OAAO,EACZ,MAAM,QACN,GAAG,EAAE,EAAE,IAAI,IAAI,CAAC,YAAY,GAAG,EAAE,EACjC,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,OAAO,EAAE,IAAI,CAAC,eAAe,EAC7B,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,eAAe,EAAE,GACnC,CACE,EACN;KACH;;;;;;;;;;;;;","names":[],"sources":["src/components/radio-button/radio-button.scss?tag=ifx-radio-button&encapsulation=shadow","src/components/radio-button/radio-button.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n:host {\n display: inline-flex;\n --_ifx-fallback-display: none !important;\n}\n\n._ifx-radiobutton-fallback {\n display: var(--_ifx-fallback-display);\n position: absolute !important;\n width: 1px !important;\n height: 1px !important;\n padding: 0 !important;\n margin: -1px !important;\n overflow: hidden !important;\n clip: rect(0,0,0,0) !important;\n border: 0 !important;\n }\n\n.radioButton__container {\n box-sizing: border-box;\n display: inline-flex;\n flex-direction: row;\n align-items: center;\n padding: 0px;\n gap: tokens.$ifxSpace100;\n cursor: pointer;\n font-family: var(--ifx-font-family, #{tokens.$ifxFontFamilyBody});\n\n &.m .radioButton__wrapper {\n width: tokens.$ifxSize300;\n height: tokens.$ifxSize300;\n }\n\n .radioButton__wrapper {\n width: tokens.$ifxSize250;\n height: tokens.$ifxSize250;\n position: relative;\n display: block;\n border-radius: 50%;\n background-color: tokens.$ifxColorBaseWhite;\n border: 1px solid #575352;\n\n &:focus {\n outline: none;\n\n &::before {\n content: '';\n position: absolute;\n width: calc(100% + 4px);\n height: calc(100% + 4px);\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n border: 2px solid tokens.$ifxColorOcean500;\n border-radius: 50%;\n }\n }\n\n .radioButton__wrapper-mark {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n background-color: #0A8276;\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n border-color: tokens.$ifxColorBaseTransparent;\n }\n\n &:hover {\n background-color: tokens.$ifxColorEngineering200;\n }\n\n &.disabled {\n background-color: #BFBBBB;\n border-color: #BFBBBB;\n\n &.error {\n\n &:hover,\n &:focus-visible {\n border-color: #CD002F;\n }\n }\n }\n\n &.checked {\n border-color: #0A8276;\n\n &::after {\n content: \"\";\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 10px;\n height: 10px;\n background-color: #0A8276;\n border-radius: 50%;\n }\n\n &.disabled::after {\n background-color: #BFBBBB;\n }\n\n\n &:hover {\n border-color: tokens.$ifxColorOcean600;\n\n & .radioButton__wrapper-mark {\n background-color: tokens.$ifxColorOcean600;\n }\n }\n\n &.disabled {\n background-color: tokens.$ifxColorBaseWhite;\n border-color: #BFBBBB;\n\n &.disabled::after {\n background-color: #BFBBBB;\n }\n\n & .radioButton__wrapper-mark {\n background-color: #BFBBBB;\n }\n }\n &.error::after {\n border-color: #CD002F;\n background-color: #CD002F;\n }\n }\n\n &.error:not(.disabled) {\n border-color: #CD002F;\n\n &:hover,\n &:focus-visible {\n border-color: #CD002F;\n }\n }\n }\n\n .label {\n display: flex;\n align-items: center;\n height: tokens.$ifxSize250;\n font-style: normal;\n font-weight: 400;\n font-size: tokens.$ifxFontSizeS;\n line-height: tokens.$ifxLineHeightS;\n color: tokens.$ifxColorBaseBlack;\n flex: none;\n order: 1;\n flex-grow: 0;\n\n &.label-m {\n height: tokens.$ifxSize300;\n font-size: tokens.$ifxFontSizeM;\n line-height: tokens.$ifxLineHeightM;\n }\n\n &.disabled {\n color: #BFBBBB;\n }\n\n\n\n &:hover {\n cursor: pointer;\n }\n }\n}\n\n","import { Component, h, Prop, Element, State, Event, EventEmitter, Listen, Watch } from '@stencil/core';\n\n@Component({\n tag: 'ifx-radio-button',\n styleUrl: 'radio-button.scss',\n shadow: true,\n formAssociated: true\n})\nexport class RadioButton {\n @Element() el: HTMLElement;\n @Prop() disabled: boolean = false;\n @Prop() value: string;\n @Prop() error: boolean = false;\n @Prop({ reflect: true }) size: \"s\" | \"m\" = \"s\";\n @Prop({ reflect: true }) name: string;\n @Prop({ mutable: true }) checked: boolean;\n @State() internalChecked: boolean = false;\n @State() hasSlot: boolean = false;\n\n private inputElement: HTMLInputElement;\n private internals: ElementInternals;\n private fallbackInput: HTMLInputElement;\n\n @Event({ eventName: 'ifxChange' }) ifxChange: EventEmitter;\n @Event({ eventName: 'ifxError' }) ifxError: EventEmitter;\n\n componentWillLoad() {\n // Fallback for form association\n this.fallbackInput = document.createElement('input');\n this.fallbackInput.type = 'radio';\n this.fallbackInput.hidden = true;\n this.fallbackInput.className = '_ifx-radiobutton-fallback';\n this.fallbackInput.style.cssText = `\n display: none !important;\n position: absolute !important;\n opacity: 0 !important;\n pointer-events: none !important;\n width: 0 !important;\n height: 0 !important;\n `;\n this.fallbackInput.setAttribute('aria-hidden', 'true');\n this.fallbackInput.tabIndex = -1;\n this.el.appendChild(this.fallbackInput);\n\n // Initialize ElementInternals if supported\n if ('attachInternals' in HTMLElement.prototype) {\n try {\n this.internals = this.el.attachInternals();\n } catch (e) {\n console.warn('ElementInternals not supported');\n }\n }\n\n // Initial state\n this.internalChecked = this.checked || false;\n this.hasSlot = !!this.el.querySelector('[slot]') || this.el.innerHTML.trim() !== '';\n }\n\n @Watch('checked')\n handleCheckedChange(newValue: boolean) {\n this.internalChecked = newValue;\n }\n\n @Watch('internalChecked')\n updateFormValue() {\n // Update both ElementInternals and fallback input\n if (this.internals?.setFormValue) {\n this.internals.setFormValue(this.internalChecked ? this.value : null);\n }\n this.fallbackInput.checked = this.internalChecked;\n this.fallbackInput.name = this.name;\n this.fallbackInput.value = this.value;\n this.fallbackInput.disabled = this.disabled;\n }\n\n @Watch('error')\n errorChanged(newValue: boolean, oldValue: boolean) {\n if (newValue !== oldValue) {\n this.ifxError.emit(newValue);\n }\n }\n\n handleRadioButtonClick(event: Event) {\n if (this.disabled) {\n event.stopPropagation();\n return;\n }\n\n this.inputElement.click();\n this.internalChecked = this.inputElement.checked;\n this.checked = this.internalChecked;\n this.ifxChange.emit(this.internalChecked);\n\n const changeEvent = new CustomEvent('change', {\n bubbles: true,\n composed: true,\n detail: { checked: this.internalChecked }\n });\n this.el.dispatchEvent(changeEvent);\n }\n\n @Listen('keydown')\n handleKeyDown(ev: KeyboardEvent) {\n if ([' ', 'Enter'].includes(ev.key)) {\n ev.preventDefault();\n this.handleRadioButtonClick(new PointerEvent('click'));\n }\n }\n\n @Listen('change', { target: 'document' })\n handleExternalChange(event: Event) {\n const target = event.target as HTMLElement;\n if (target === this.el || target.tagName.toLowerCase() !== 'ifx-radio-button') return;\n \n if (target.getAttribute('name') === this.name) {\n this.internalChecked = false;\n }\n }\n\n render() {\n return (\n <div\n role=\"radio\"\n aria-checked={String(this.internalChecked)}\n aria-disabled={String(this.disabled)}\n class={`radioButton__container ${this.size} ${this.disabled ? 'disabled' : ''}`}\n onClick={(e) => this.handleRadioButtonClick(e)}\n tabindex={this.disabled ? -1 : 0}\n >\n <div\n class={`radioButton__wrapper \n ${this.internalChecked ? 'checked' : ''} \n ${this.disabled ? 'disabled' : ''} \n ${this.error ? 'error' : ''}`}\n >\n {this.internalChecked && <div class=\"radioButton__wrapper-mark\"></div>}\n </div>\n\n {this.hasSlot && (\n <div class={`label ${this.size === \"m\" ? \"label-m\" : \"\"} ${this.disabled ? 'disabled' : ''}`}>\n <slot />\n </div>\n )}\n\n <input\n type=\"radio\"\n hidden\n ref={el => this.inputElement = el}\n name={this.name}\n value={this.value}\n checked={this.internalChecked}\n disabled={this.disabled}\n onClick={(e) => e.stopPropagation()}\n />\n </div>\n );\n }\n}"],"version":3}
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-c77e25a0.js';
2
2
 
3
- const searchBarCss = ":root{--ifx-font-family:\"Source Sans 3\";font-family:var(--ifx-font-family, sans-serif)}:host{width:100%;display:flex}.search-bar{box-sizing:border-box;height:40px;background-color:#FFFFFF;display:flex;flex-direction:row;align-items:center;width:100%;font-family:var(--ifx-font-family)}.search-bar.closed{display:flex;width:auto;justify-content:flex-start}.search-bar .search-bar-wrapper{display:flex;align-items:center;gap:16px;width:100%}.search-bar .search-bar-wrapper a{text-decoration:none;font-size:1rem;font-style:normal;font-weight:600;line-height:1.5rem;color:#0A8276;cursor:pointer}.search-bar .search-bar-wrapper ifx-search-field{width:100%}.search-bar .search-bar__icon-wrapper{display:none;flex-direction:row;align-items:center}.search-bar .search-bar__icon-wrapper ifx-icon:hover{cursor:pointer}.search-bar.closed .search-bar__icon-wrapper{display:flex}.search-bar.closed .search-bar-wrapper{display:none}";
3
+ const searchBarCss = ":root{--ifx-font-family:\"Source Sans 3\";font-family:var(--ifx-font-family, sans-serif)}:host{width:100%;display:flex}.search-bar{box-sizing:border-box;height:40px;background-color:#FFFFFF;display:flex;flex-direction:row;align-items:center;width:100%;font-family:var(--ifx-font-family, Source Sans 3)}.search-bar.closed{display:flex;width:auto;justify-content:flex-start}.search-bar .search-bar-wrapper{display:flex;align-items:center;gap:16px;width:100%}.search-bar .search-bar-wrapper a{text-decoration:none;font-size:1rem;font-style:normal;font-weight:600;line-height:1.5rem;color:#0A8276;cursor:pointer}.search-bar .search-bar-wrapper ifx-search-field{width:100%}.search-bar .search-bar__icon-wrapper{display:none;flex-direction:row;align-items:center}.search-bar .search-bar__icon-wrapper ifx-icon:hover{cursor:pointer}.search-bar.closed .search-bar__icon-wrapper{display:flex}.search-bar.closed .search-bar-wrapper{display:none}";
4
4
  const IfxSearchBarStyle0 = searchBarCss;
5
5
 
6
6
  const SearchBar = class {
@@ -37,7 +37,7 @@ const SearchBar = class {
37
37
  this.value = event.detail;
38
38
  }
39
39
  render() {
40
- return (h("div", { key: 'a55d4e65246eea46fddc5552b82baaee3a5d5145', "aria-label": 'a search bar', "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", { tabindex: "-1", href: 'javascript:void(0)', onClick: this.handleCloseButton }, "Close"))) : (h("div", { class: "search-bar__icon-wrapper", onClick: this.handleCloseButton }, h("ifx-icon", { icon: "search-16" })))));
40
+ return (h("div", { key: 'c902f46ef9efab55d05e5f0c5bf24204e364f9f7', "aria-label": 'a search bar', "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", { tabindex: "-1", href: 'javascript:void(0)', onClick: this.handleCloseButton }, "Close"))) : (h("div", { class: "search-bar__icon-wrapper", onClick: this.handleCloseButton }, h("ifx-icon", { icon: "search-16" })))));
41
41
  }
42
42
  get el() { return getElement(this); }
43
43
  static get watchers() { return {
@@ -1 +1 @@
1
- {"file":"if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AAI,CAAC,KAAK,EAAE,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,UAAU,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,IAC/J,gBAAU,IAAI,EAAC,WAAW,EAAC,IAAI,EAAC,aAAa,GAAY,CACxC,EAEnB,SAAG,QAAQ,EAAC,IAAI,EAAC,IAAI,EAAC,oBAAoB,EAAC,OAAO,EAAE,IAAI,CAAC,iBAAiB,YAAW,CACjF,KAEN,WAAK,KAAK,EAAC,0BAA0B,EAAC,OAAO,EAAE,IAAI,CAAC,iBAAiB,IACnE,gBAAU,IAAI,EAAC,WAAW,GAAY,CAClC,CACP,CACG,EACN;KACH;;;;;;;;;;","names":[],"sources":["src/components/search-bar/search-bar.scss?tag=ifx-search-bar&encapsulation=shadow","src/components/search-bar/search-bar.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n:host {\n width: 100%; //revert\n display: flex;\n}\n\n.search-bar {\n box-sizing: border-box;\n height: tokens.$ifxSize500;\n background-color: tokens.$ifxColorBaseWhite;\n display: flex;\n flex-direction: row;\n align-items: center;\n width: 100%;\n font-family: var(--ifx-font-family);\n\n &.closed {\n display: flex;\n width: auto;\n justify-content: flex-start;\n }\n\n & .search-bar-wrapper {\n display: flex;\n align-items: center;\n gap: tokens.$ifxSpace200;\n width: 100%;\n\n & a {\n text-decoration: none;\n font-size: tokens.$ifxFontSizeM;\n font-style: normal;\n font-weight: tokens.$ifxFontWeightSemibold;\n line-height: tokens.$ifxLineHeightM;\n color: tokens.$ifxColorOcean500;\n cursor: pointer;\n }\n\n & ifx-search-field {\n width: 100%;\n }\n }\n\n .search-bar__icon-wrapper {\n display: none;\n flex-direction: row;\n align-items: center;\n\n & ifx-icon:hover {\n cursor: pointer;\n }\n }\n\n &.closed {\n .search-bar__icon-wrapper {\n display: flex;\n }\n\n .search-bar-wrapper {\n display: none;\n }\n }\n}","import { Component, h, Prop, Event, EventEmitter, State, Watch, Element, Method } from '@stencil/core';\n \n\n@Component({\n tag: 'ifx-search-bar',\n styleUrl: 'search-bar.scss',\n shadow: true,\n})\nexport class SearchBar {\n @Prop() isOpen: boolean = true;\n @Prop() disabled: boolean = false;\n @State() internalState: boolean;\n @Prop({ mutable: true }) value: string;\n @Prop() maxlength?: number;\n @Event() ifxInput: EventEmitter;\n @Event() ifxOpen: EventEmitter;\n @Prop() autocomplete: string = \"on\";\n @Element() el;\n\n @Method()\n async onNavbarMobile() {\n this.ifxOpen.emit(false)\n this.internalState = false;\n }\n\n @Watch('isOpen')\n handlePropChange() {\n this.internalState = this.isOpen;\n }\n\n handleCloseButton = () => {\n this.internalState = !this.internalState;\n this.ifxOpen.emit(this.internalState)\n }\n\n setInitialState() {\n this.internalState = this.isOpen;\n }\n\n \n\n componentWillLoad() {\n this.setInitialState();\n this.ifxOpen.emit(this.internalState)\n }\n\n\n handleInput(event: CustomEvent) {\n this.value = event.detail;\n }\n\n handleFocus = () => {\n this.internalState = true;\n }\n\n\n render() {\n return (\n <div aria-label='a search bar' aria-disabled={this.disabled} class={`search-bar ${this.internalState ? 'open' : 'closed'}`}>\n {this.internalState ? (\n <div class=\"search-bar-wrapper\">\n <ifx-search-field autocomplete={this.autocomplete} disabled={this.disabled} value={this.value} maxlength={this.maxlength} onIfxInput={this.handleInput.bind(this)}>\n <ifx-icon icon=\"search-16\" slot=\"search-icon\"></ifx-icon>\n </ifx-search-field>\n\n <a tabindex=\"-1\" href='javascript:void(0)' onClick={this.handleCloseButton}>Close</a>\n </div>\n ) : (\n <div class=\"search-bar__icon-wrapper\" onClick={this.handleCloseButton}>\n <ifx-icon icon=\"search-16\"></ifx-icon>\n </div>\n )}\n </div>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ifx-search-bar.entry.js","mappings":";;AAAA,MAAM,YAAY,GAAG,y6BAAy6B,CAAC;AAC/7B,2BAAe,YAAY;;MCOd,SAAS;IALtB;;;;QAMU,WAAM,GAAY,IA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J,gBAAU,IAAI,EAAC,WAAW,EAAC,IAAI,EAAC,aAAa,GAAY,CACxC,EAEnB,SAAG,QAAQ,EAAC,IAAI,EAAC,IAAI,EAAC,oBAAoB,EAAC,OAAO,EAAE,IAAI,CAAC,iBAAiB,YAAW,CACjF,KAEN,WAAK,KAAK,EAAC,0BAA0B,EAAC,OAAO,EAAE,IAAI,CAAC,iBAAiB,IACnE,gBAAU,IAAI,EAAC,WAAW,GAAY,CAClC,CACP,CACG,EACN;KACH;;;;;;;;;;","names":[],"sources":["src/components/search-bar/search-bar.scss?tag=ifx-search-bar&encapsulation=shadow","src/components/search-bar/search-bar.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n:host {\n width: 100%; //revert\n display: flex;\n}\n\n.search-bar {\n box-sizing: border-box;\n height: tokens.$ifxSize500;\n background-color: tokens.$ifxColorBaseWhite;\n display: flex;\n flex-direction: row;\n align-items: center;\n width: 100%;\n font-family: var(--ifx-font-family, #{tokens.$ifxFontFamilyBody});\n\n &.closed {\n display: flex;\n width: auto;\n justify-content: flex-start;\n }\n\n & .search-bar-wrapper {\n display: flex;\n align-items: center;\n gap: tokens.$ifxSpace200;\n width: 100%;\n\n & a {\n text-decoration: none;\n font-size: tokens.$ifxFontSizeM;\n font-style: normal;\n font-weight: tokens.$ifxFontWeightSemibold;\n line-height: tokens.$ifxLineHeightM;\n color: tokens.$ifxColorOcean500;\n cursor: pointer;\n }\n\n & ifx-search-field {\n width: 100%;\n }\n }\n\n .search-bar__icon-wrapper {\n display: none;\n flex-direction: row;\n align-items: center;\n\n & ifx-icon:hover {\n cursor: pointer;\n }\n }\n\n &.closed {\n .search-bar__icon-wrapper {\n display: flex;\n }\n\n .search-bar-wrapper {\n display: none;\n }\n }\n}","import { Component, h, Prop, Event, EventEmitter, State, Watch, Element, Method } from '@stencil/core';\n \n\n@Component({\n tag: 'ifx-search-bar',\n styleUrl: 'search-bar.scss',\n shadow: true,\n})\nexport class SearchBar {\n @Prop() isOpen: boolean = true;\n @Prop() disabled: boolean = false;\n @State() internalState: boolean;\n @Prop({ mutable: true }) value: string;\n @Prop() maxlength?: number;\n @Event() ifxInput: EventEmitter;\n @Event() ifxOpen: EventEmitter;\n @Prop() autocomplete: string = \"on\";\n @Element() el;\n\n @Method()\n async onNavbarMobile() {\n this.ifxOpen.emit(false)\n this.internalState = false;\n }\n\n @Watch('isOpen')\n handlePropChange() {\n this.internalState = this.isOpen;\n }\n\n handleCloseButton = () => {\n this.internalState = !this.internalState;\n this.ifxOpen.emit(this.internalState)\n }\n\n setInitialState() {\n this.internalState = this.isOpen;\n }\n\n \n\n componentWillLoad() {\n this.setInitialState();\n this.ifxOpen.emit(this.internalState)\n }\n\n\n handleInput(event: CustomEvent) {\n this.value = event.detail;\n }\n\n handleFocus = () => {\n this.internalState = true;\n }\n\n\n render() {\n return (\n <div aria-label='a search bar' aria-disabled={this.disabled} class={`search-bar ${this.internalState ? 'open' : 'closed'}`}>\n {this.internalState ? (\n <div class=\"search-bar-wrapper\">\n <ifx-search-field autocomplete={this.autocomplete} disabled={this.disabled} value={this.value} maxlength={this.maxlength} onIfxInput={this.handleInput.bind(this)}>\n <ifx-icon icon=\"search-16\" slot=\"search-icon\"></ifx-icon>\n </ifx-search-field>\n\n <a tabindex=\"-1\" href='javascript:void(0)' onClick={this.handleCloseButton}>Close</a>\n </div>\n ) : (\n <div class=\"search-bar__icon-wrapper\" onClick={this.handleCloseButton}>\n <ifx-icon icon=\"search-16\"></ifx-icon>\n </div>\n )}\n </div>\n );\n }\n}\n"],"version":3}
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-c77e25a0.js';
2
2
  import { c as classNames } from './index-72ac5051.js';
3
3
 
4
- const searchFieldCss = ":root{--ifx-font-family:\"Source Sans 3\";font-family:var(--ifx-font-family, sans-serif)}:host{display:flex}.search-field{box-sizing:border-box;background-color:#FFFFFF;width:100%;font-family:var(--ifx-font-family)}.search-field .search-field__wrapper{box-sizing:border-box;height:40px;display:flex;align-items:center;border:1px solid #8D8786;border-radius:1px;padding:8px 16px;gap:12px;flex:none;order:0;align-self:stretch;flex-grow:0;position:relative;width:100%;outline:none;color:#8D8786}.search-field .search-field__wrapper.focused{border:1px solid #0A8276}.search-field .search-field__wrapper.focused ifx-icon{color:#575352}.search-field .search-field__wrapper.search-field__wrapper-s{height:36px}.search-field .search-field__wrapper:hover:not(.focused,:focus){border:1px solid #3C3A39}.search-field .search-field__wrapper:focus{outline:none;border:1px solid #0A8276}.search-field .search-field__wrapper .delete-icon{right:12px;cursor:pointer}.search-field .search-field__wrapper input[type=text]{font-style:normal;font-weight:400;font-size:16px;color:#8D8786;border:none;width:100%;outline:none;height:16px}.search-field .search-field__wrapper input[type=text]:focus{outline:none;color:#1d1d1d}.search-field .search-field__wrapper input[type=text]:disabled{background-color:#EEEDED}.search-field .search-field__wrapper:has(input[disabled]){background-color:#EEEDED}";
4
+ const searchFieldCss = ":root{--ifx-font-family:\"Source Sans 3\";font-family:var(--ifx-font-family, sans-serif)}:host{display:flex}.search-field{box-sizing:border-box;background-color:#FFFFFF;width:100%;font-family:var(--ifx-font-family, Source Sans 3)}.search-field .search-field__wrapper{box-sizing:border-box;height:40px;display:flex;align-items:center;border:1px solid #8D8786;border-radius:1px;padding:8px 16px;gap:12px;flex:none;order:0;align-self:stretch;flex-grow:0;position:relative;width:100%;outline:none;color:#8D8786}.search-field .search-field__wrapper.focused{border:1px solid #0A8276}.search-field .search-field__wrapper.focused ifx-icon{color:#575352}.search-field .search-field__wrapper.search-field__wrapper-s{height:36px}.search-field .search-field__wrapper:hover:not(.focused,:focus){border:1px solid #3C3A39}.search-field .search-field__wrapper:focus{outline:none;border:1px solid #0A8276}.search-field .search-field__wrapper .delete-icon{right:12px;cursor:pointer}.search-field .search-field__wrapper input[type=text]{font-style:normal;font-weight:400;font-size:16px;color:#8D8786;border:none;width:100%;outline:none;height:16px}.search-field .search-field__wrapper input[type=text]:focus{outline:none;color:#1d1d1d}.search-field .search-field__wrapper input[type=text]:disabled{background-color:#EEEDED}.search-field .search-field__wrapper:has(input[disabled]){background-color:#EEEDED}";
5
5
  const IfxSearchFieldStyle0 = searchFieldCss;
6
6
 
7
7
  const SearchField = class {
@@ -52,7 +52,7 @@ const SearchField = class {
52
52
  this.showDeleteIconInternalState = false;
53
53
  }
54
54
  render() {
55
- return (h("div", { key: 'f7e39651b1113f8344bc93a4675b2a67413bd4aa', "aria-label": "a search field for user input", "aria-disabled": this.disabled, "aria-value": this.value, class: 'search-field' }, h("div", { key: 'db17b6f0444655ca36f1c45e5ab2e6087059da72', class: this.getWrapperClassNames(), tabindex: 1, onFocus: () => this.focusInput(), onClick: () => this.focusInput() }, h("ifx-icon", { key: '6bd37c551588c707c8ea5e3df755b0a1acc4c120', icon: "search-16", class: "search-icon" }), h("input", { key: 'a5b176c77b7822a41e932aea15245f1f88e48db3', ref: (el) => (this.inputElement = el), type: "text", autocomplete: this.autocomplete, onInput: () => this.handleInput(), placeholder: this.placeholder, disabled: this.disabled, maxlength: this.maxlength, value: this.value }), this.showDeleteIcon && this.showDeleteIconInternalState ? (h("ifx-icon", { icon: "cremove16", class: "delete-icon", onClick: this.handleDelete })) : null)));
55
+ return (h("div", { key: '69bfbbbb91d0d918c9d62f1023babc630325882e', "aria-label": "a search field for user input", "aria-disabled": this.disabled, "aria-value": this.value, class: 'search-field' }, h("div", { key: '0bd284139b40d1c6b2288c74fb4f65235e470ab1', class: this.getWrapperClassNames(), tabindex: 1, onFocus: () => this.focusInput(), onClick: () => this.focusInput() }, h("ifx-icon", { key: 'a472e315073ad3d92fd55a5689f84e31bb57271c', icon: "search-16", class: "search-icon" }), h("input", { key: '0e4d8258fe7058ee1ad9b12605ccd7ba14f23ce2', ref: (el) => (this.inputElement = el), type: "text", autocomplete: this.autocomplete, onInput: () => this.handleInput(), placeholder: this.placeholder, disabled: this.disabled, maxlength: this.maxlength, value: this.value }), this.showDeleteIcon && this.showDeleteIconInternalState ? (h("ifx-icon", { icon: "cremove16", class: "delete-icon", onClick: this.handleDelete })) : null)));
56
56
  }
57
57
  getSizeClass() {
58
58
  return `${this.size}` === "s"
@@ -1 +1 @@
1
- {"file":"ifx-search-field.entry.js","mappings":";;;AAAA,MAAM,cAAc,GAAG,81CAA81C,CAAC;AACt3C,6BAAe,cAAc;;MCWhB,WAAW;IAPxB;;;QAS2B,UAAK,GAAW,EAAE,CAAC;QAGnC,mBAAc,GAAY,KAAK,CAAC;QAEjC,mBAAc,GAAY,KAAK,CAAC;QAC/B,gCAA2B,GAAY,KAAK,CAAC;QAC9C,aAAQ,GAAY,KAAK,CAAC;QAC1B,SAAI,GAAW,GAAG,CAAC;QAClB,cAAS,GAAY,KAAK,CAAC;QAC5B,gBAAW,GAAW,WAAW,CAAC;QAClC,iBAAY,GAAW,IAAI,CAAC;QAC5B,cAAS,GAAY,IAAI,CAAC;QAkBlC,gBAAW,GAAG;YACZ,MAAM,KAAK,GAAG,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC;YACtC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;YACnB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SAChC,CAAC;QAEF,iBAAY,GAAG;YACb,IAAI,CAAC,YAAY,CAAC,KAAK,GAAG,EAAE,CAAC;YAC7B,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC;YAChB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SAChC,CAAA;KA0DF;IAnFC,kBAAkB,CAAC,KAAiB;QAClC,MAAM,IAAI,GAAG,KAAK,CAAC,YAAY,EAAE,CAAC;QAClC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE;YACrC,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;SACxB;KACF;IAGD,YAAY,CAAC,QAAgB;QAC3B,IAAI,QAAQ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,CACJ,CACF,EACN;KACH;IAED,YAAY;QACV,OAAO,GAAG,IAAI,CAAC,IAAI,EAAE,KAAK,GAAG;cACzB,yBAAyB;cACzB,EAAE,CAAC;KACR;IAGD,oBAAoB;QAClB,OAAO,UAAU,CACf,uBAAuB,EACvB,yBAAyB,IAAI,CAAC,YAAY,EAAE,EAAE,EAC9C,GAAG,IAAI,CAAC,SAAS,GAAG,SAAS,GAAG,EAAE,EAAE,CACrC,CAAC;KACH;;;;;;;;;","names":[],"sources":["src/components/search-field/search-field.scss?tag=ifx-search-field&encapsulation=shadow","src/components/search-field/search-field.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n:host {\n display: flex;\n}\n\n.search-field {\n box-sizing: border-box;\n background-color: tokens.$ifxColorBaseWhite;\n width: 100%;\n font-family: var(--ifx-font-family);\n\n\n .search-field__wrapper {\n box-sizing: border-box;\n height: tokens.$ifxSize500;\n display: flex;\n align-items: center;\n border: 1px solid #8D8786;\n border-radius: tokens.$ifxBorderRadius12;\n padding: tokens.$ifxSpace100 tokens.$ifxSpace200;\n gap: tokens.$ifxSpace150;\n flex: none;\n order: 0;\n align-self: stretch;\n flex-grow: 0;\n position: relative;\n width: 100%;\n outline: none;\n color: tokens.$ifxColorEngineering400;\n\n &.focused {\n border: 1px solid tokens.$ifxColorOcean500;\n\n & ifx-icon {\n color: tokens.$ifxColorEngineering500;\n }\n }\n\n &.search-field__wrapper-s {\n height: 36px;\n }\n\n\n &:hover:not(.focused, :focus) {\n border: 1px solid #3C3A39;\n }\n\n &:focus {\n outline: none;\n border: 1px solid #0A8276;\n }\n\n\n .delete-icon {\n right: 12px;\n cursor: pointer;\n }\n\n input[type='text'] {\n font-style: normal;\n font-weight: 400;\n font-size: 16px;\n //line-height: 24px;\n color: #8D8786;\n border: none;\n width: 100%;\n outline: none;\n //height: 100%;\n height: 16px;\n\n &:focus {\n outline: none;\n color: #1d1d1d;\n }\n\n &:disabled {\n background-color: #EEEDED;\n }\n }\n\n &:has(input[disabled]) {\n background-color: #EEEDED;\n }\n }\n}","import { Component, EventEmitter, h, Event, Prop, Watch, State, Listen } from '@stencil/core';\nimport classNames from 'classnames';\n \n\n\n@Component({\n tag: 'ifx-search-field',\n styleUrl: 'search-field.scss',\n shadow: true\n})\n\n\nexport class SearchField {\n private inputElement: HTMLInputElement;\n @Prop({ mutable: true }) value: string = '';\n\n @Event() ifxInput: EventEmitter<String>;\n @State() insideDropdown: boolean = false;\n\n @Prop() showDeleteIcon: boolean = false;\n @State() showDeleteIconInternalState: boolean = false;\n @Prop() disabled: boolean = false;\n @Prop() size: string = 'l';\n @State() isFocused: boolean = false;\n @Prop() placeholder: string = \"Search...\";\n @Prop() autocomplete: string = \"on\";\n @Prop() maxlength?: number = null; \n\n @Listen('mousedown', { target: 'document' })\n handleOutsideClick(event: MouseEvent) {\n const path = event.composedPath();\n if (!path.includes(this.inputElement)) {\n this.isFocused = false;\n }\n }\n\n @Watch('value')\n valueWatcher(newValue: string) {\n if (newValue !== this.inputElement.value) {\n this.inputElement.value = newValue;\n }\n }\n\n\n handleInput = () => {\n const query = this.inputElement.value;\n this.value = query; // update the value property when input changes\n this.ifxInput.emit(this.value);\n };\n\n handleDelete = () => {\n this.inputElement.value = '';\n this.value = \"\";\n this.ifxInput.emit(this.value);\n }\n\n focusInput() {\n this.inputElement.focus();\n this.isFocused = true;\n }\n \n\n\n\n componentWillUpdate() {\n if (this.value !== \"\") {\n this.showDeleteIconInternalState = true;\n } else this.showDeleteIconInternalState = false;\n }\n\n render() {\n return (\n <div aria-label=\"a search field for user input\" aria-disabled={this.disabled} aria-value={this.value} class='search-field'>\n <div class={this.getWrapperClassNames()}\n tabindex={1}\n onFocus={() => this.focusInput()}\n onClick={() => this.focusInput()}\n >\n <ifx-icon icon=\"search-16\" class=\"search-icon\"></ifx-icon>\n <input\n ref={(el) => (this.inputElement = el)}\n type=\"text\"\n autocomplete={this.autocomplete}\n onInput={() => this.handleInput()}\n placeholder={this.placeholder}\n disabled={this.disabled}\n maxlength={this.maxlength}\n value={this.value} // bind the value property to input element\n />\n {this.showDeleteIcon && this.showDeleteIconInternalState ? (\n <ifx-icon icon=\"cremove16\" class=\"delete-icon\" onClick={this.handleDelete}>\n </ifx-icon>\n ) : null}\n </div>\n </div>\n );\n }\n\n getSizeClass() {\n return `${this.size}` === \"s\"\n ? \"search-field__wrapper-s\"\n : \"\";\n }\n\n\n getWrapperClassNames() {\n return classNames(\n `search-field__wrapper`,\n `search-field__wrapper ${this.getSizeClass()}`,\n `${this.isFocused ? 'focused' : \"\"}`\n );\n }\n}"],"version":3}
1
+ {"file":"ifx-search-field.entry.js","mappings":";;;AAAA,MAAM,cAAc,GAAG,62CAA62C,CAAC;AACr4C,6BAAe,cAAc;;MCWhB,WAAW;IAPxB;;;QAS2B,UAAK,GAAW,EAAE,CAAC;QAGnC,mBAAc,GAAY,KAAK,CAAC;QAEjC,mBAAc,GAAY,KAAK,CAAC;QAC/B,gCAA2B,GAAY,KAAK,CAAC;QAC9C,aAAQ,GAAY,KAAK,CAAC;QAC1B,SAAI,GAAW,GAAG,CAAC;QAClB,cAAS,GAAY,KAAK,CAAC;QAC5B,gBAAW,GAAW,WAAW,CAAC;QAClC,iBAAY,GAAW,IAAI,CAAC;QAC5B,cAAS,GAAY,IAAI,CAAC;QAkBlC,gBAAW,GAAG;YACZ,MAAM,KAAK,GAAG,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC;YACtC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;YACnB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SAChC,CAAC;QAEF,iBAAY,GAAG;YACb,IAAI,CAAC,YAAY,CAAC,KAAK,GAAG,EAAE,CAAC;YAC7B,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC;YAChB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SA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B,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,KAAK,EAAE,IAAI,CAAC,KAAK,GACjB,EACD,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,2BAA2B,IACtD,gBAAU,IAAI,EAAC,WAAW,EAAC,KAAK,EAAC,aAAa,EAAC,OAAO,EAAE,IAAI,CAAC,YAAY,GAC9D,IACT,IAAI,CACJ,CACF,EACN;KACH;IAED,YAAY;QACV,OAAO,GAAG,IAAI,CAAC,IAAI,EAAE,KAAK,GAAG;cACzB,yBAAyB;cACzB,EAAE,CAAC;KACR;IAGD,oBAAoB;QAClB,OAAO,UAAU,CACf,uBAAuB,EACvB,yBAAyB,IAAI,CAAC,YAAY,EAAE,EAAE,EAC9C,GAAG,IAAI,CAAC,SAAS,GAAG,SAAS,GAAG,EAAE,EAAE,CACrC,CAAC;KACH;;;;;;;;;","names":[],"sources":["src/components/search-field/search-field.scss?tag=ifx-search-field&encapsulation=shadow","src/components/search-field/search-field.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n:host {\n display: flex;\n}\n\n.search-field {\n box-sizing: border-box;\n background-color: tokens.$ifxColorBaseWhite;\n width: 100%;\n font-family: var(--ifx-font-family, #{tokens.$ifxFontFamilyBody});\n\n\n .search-field__wrapper {\n box-sizing: border-box;\n height: tokens.$ifxSize500;\n display: flex;\n align-items: center;\n border: 1px solid #8D8786;\n border-radius: tokens.$ifxBorderRadius12;\n padding: tokens.$ifxSpace100 tokens.$ifxSpace200;\n gap: tokens.$ifxSpace150;\n flex: none;\n order: 0;\n align-self: stretch;\n flex-grow: 0;\n position: relative;\n width: 100%;\n outline: none;\n color: tokens.$ifxColorEngineering400;\n\n &.focused {\n border: 1px solid tokens.$ifxColorOcean500;\n\n & ifx-icon {\n color: tokens.$ifxColorEngineering500;\n }\n }\n\n &.search-field__wrapper-s {\n height: 36px;\n }\n\n\n &:hover:not(.focused, :focus) {\n border: 1px solid #3C3A39;\n }\n\n &:focus {\n outline: none;\n border: 1px solid #0A8276;\n }\n\n\n .delete-icon {\n right: 12px;\n cursor: pointer;\n }\n\n input[type='text'] {\n font-style: normal;\n font-weight: 400;\n font-size: 16px;\n //line-height: 24px;\n color: #8D8786;\n border: none;\n width: 100%;\n outline: none;\n //height: 100%;\n height: 16px;\n\n &:focus {\n outline: none;\n color: #1d1d1d;\n }\n\n &:disabled {\n background-color: #EEEDED;\n }\n }\n\n &:has(input[disabled]) {\n background-color: #EEEDED;\n }\n }\n}","import { Component, EventEmitter, h, Event, Prop, Watch, State, Listen } from '@stencil/core';\nimport classNames from 'classnames';\n \n\n\n@Component({\n tag: 'ifx-search-field',\n styleUrl: 'search-field.scss',\n shadow: true\n})\n\n\nexport class SearchField {\n private inputElement: HTMLInputElement;\n @Prop({ mutable: true }) value: string = '';\n\n @Event() ifxInput: EventEmitter<String>;\n @State() insideDropdown: boolean = false;\n\n @Prop() showDeleteIcon: boolean = false;\n @State() showDeleteIconInternalState: boolean = false;\n @Prop() disabled: boolean = false;\n @Prop() size: string = 'l';\n @State() isFocused: boolean = false;\n @Prop() placeholder: string = \"Search...\";\n @Prop() autocomplete: string = \"on\";\n @Prop() maxlength?: number = null; \n\n @Listen('mousedown', { target: 'document' })\n handleOutsideClick(event: MouseEvent) {\n const path = event.composedPath();\n if (!path.includes(this.inputElement)) {\n this.isFocused = false;\n }\n }\n\n @Watch('value')\n valueWatcher(newValue: string) {\n if (newValue !== this.inputElement.value) {\n this.inputElement.value = newValue;\n }\n }\n\n\n handleInput = () => {\n const query = this.inputElement.value;\n this.value = query; // update the value property when input changes\n this.ifxInput.emit(this.value);\n };\n\n handleDelete = () => {\n this.inputElement.value = '';\n this.value = \"\";\n this.ifxInput.emit(this.value);\n }\n\n focusInput() {\n this.inputElement.focus();\n this.isFocused = true;\n }\n \n\n\n\n componentWillUpdate() {\n if (this.value !== \"\") {\n this.showDeleteIconInternalState = true;\n } else this.showDeleteIconInternalState = false;\n }\n\n render() {\n return (\n <div aria-label=\"a search field for user input\" aria-disabled={this.disabled} aria-value={this.value} class='search-field'>\n <div class={this.getWrapperClassNames()}\n tabindex={1}\n onFocus={() => this.focusInput()}\n onClick={() => this.focusInput()}\n >\n <ifx-icon icon=\"search-16\" class=\"search-icon\"></ifx-icon>\n <input\n ref={(el) => (this.inputElement = el)}\n type=\"text\"\n autocomplete={this.autocomplete}\n onInput={() => this.handleInput()}\n placeholder={this.placeholder}\n disabled={this.disabled}\n maxlength={this.maxlength}\n value={this.value} // bind the value property to input element\n />\n {this.showDeleteIcon && this.showDeleteIconInternalState ? (\n <ifx-icon icon=\"cremove16\" class=\"delete-icon\" onClick={this.handleDelete}>\n </ifx-icon>\n ) : null}\n </div>\n </div>\n );\n }\n\n getSizeClass() {\n return `${this.size}` === \"s\"\n ? \"search-field__wrapper-s\"\n : \"\";\n }\n\n\n getWrapperClassNames() {\n return classNames(\n `search-field__wrapper`,\n `search-field__wrapper ${this.getSizeClass()}`,\n `${this.isFocused ? 'focused' : \"\"}`\n );\n }\n}"],"version":3}
@@ -24,7 +24,7 @@ const Segment = class {
24
24
  }
25
25
  }
26
26
  render() {
27
- return (h("div", { key: 'b0e0c3be590edbecf7957839802f5f3fbecb4c00', class: `segment ${this.selected ? 'segment--selected' : ''}`, tabIndex: 0, onClick: () => { this.handleSegmentClick(); }, onKeyDown: (e) => { this.handleSegmentKeyDown(e); } }, h("ifx-icon", { key: '395449d5d173dcd61de6cd62fc1d494854c3172d', icon: this.icon }), " ", h("slot", { key: '8ef28870e7585df49a38f7d7525a0b21832f2dda' })));
27
+ return (h("div", { key: 'a2a4f876b6df7d82483690ab39a8eb2957f86b98', class: `segment ${this.selected ? 'segment--selected' : ''}`, tabIndex: 0, onClick: () => { this.handleSegmentClick(); }, onKeyDown: (e) => { this.handleSegmentKeyDown(e); } }, h("ifx-icon", { key: 'ebb49e6c61e102ef1b215c7210108af449a4533f', icon: this.icon }), " ", h("slot", { key: 'cbbb7945b5cfe90543b0ed3ddbe64f1799f1483c' })));
28
28
  }
29
29
  };
30
30
  Segment.style = IfxSegmentStyle0;
@@ -68,8 +68,8 @@ const SegmentedControl = class {
68
68
  this.setActiveSegment();
69
69
  }
70
70
  render() {
71
- return (h("div", { key: '485d5854ee472ee281b5f5d2265e9ca9758e67b5', "aria-value": this.selectedValue, "aria-label": 'segmented control', class: 'group' }, h("div", { key: '688f90f36efb36beebd5c3b2d584c5ebbef37ba9', class: 'group__label' }, this.label.trim()), h("div", { key: '7eb4812bcf09729220a5e4816b3a90038b738c74', class: 'group__controls' }, h("slot", { key: '500001ba964000357ea760e7238f96efc5c00b30' })), this.caption.trim() &&
72
- h("div", { key: '0064cafed88e72a7bc9bf0d28d168dbfc9a95e67', class: 'group__caption' }, h("ifx-icon", { key: '190548d6635d7d341d3a755aeef79abdfde3ac14', icon: 'cinfo16' }), " ", this.caption.trim())));
71
+ return (h("div", { key: '440acc93eac2fe00fb0de05708e74361b47889e3', "aria-value": this.selectedValue, "aria-label": 'segmented control', class: 'group' }, h("div", { key: '0fbbe733af666f4da2684f7146cace877d43be18', class: 'group__label' }, this.label.trim()), h("div", { key: 'f4ddddb0f4870b5de51133e1d4f44b52aac091b6', class: 'group__controls' }, h("slot", { key: 'c89b3beba004ae66725b3fe82c588a9af2c1b645' })), this.caption.trim() &&
72
+ h("div", { key: '25e23614a9f8c980c7a96a6dff27ca9836b552ab', class: 'group__caption' }, h("ifx-icon", { key: '09766369503ef8aac9ea018b5eb3e547932b6121', icon: 'cinfo16' }), " ", this.caption.trim())));
73
73
  }
74
74
  componentDidRender() {
75
75
  this.setSegmentSize();
@@ -6830,7 +6830,7 @@ function isJSONParseable(str) {
6830
6830
  }
6831
6831
  }
6832
6832
 
6833
- const selectCss = ":root{--ifx-font-family:\"Source Sans 3\";font-family:var(--ifx-font-family, 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}";
6833
+ const selectCss = ":root{--ifx-font-family:\"Source Sans 3\";font-family:var(--ifx-font-family, sans-serif)}.ifx-select-container{box-sizing:border-box;font-family:var(--ifx-font-family, Source Sans 3);}.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}";
6834
6834
  const IfxSelectStyle0 = selectCss;
6835
6835
 
6836
6836
  const Choices = class {
@@ -7053,9 +7053,9 @@ const Choices = class {
7053
7053
  // destroy choices element to restore previous dom structure
7054
7054
  // so vdom can replace the element correctly
7055
7055
  this.destroy();
7056
- return (h("div", { key: 'd1084afed1846d9318dc8197686dba20012ae2a5', class: `ifx-select-container` }, this.label ? (h("div", { class: "ifx-label-wrapper" }, h("span", null, this.label))) : null, h("div", { key: 'bf90f1b486e2b0e85adcc1ec65cf5bb1851defc3', class: `${choicesWrapperClass}
7056
+ return (h("div", { key: '4c8d53aa45b4271d4605d53fab95930cfa238e41', class: `ifx-select-container` }, this.label ? (h("div", { class: "ifx-label-wrapper" }, h("span", null, this.label))) : null, h("div", { key: 'dd8a78c93962d3a2c23cb9166b1790f1aa52b0d2', class: `${choicesWrapperClass}
7057
7057
  ${this.disabled ? 'disabled' : ''}
7058
- ${this.error ? 'error' : ''}`, onClick: this.disabled ? undefined : (e) => this.handleWrapperClick(e), onKeyDown: event => this.handleKeyDown(event) }, h("select", Object.assign({ key: '285000685100dd8cf19f71fbf7b7796a99b6d925', class: 'single__select-input-field', disabled: this.disabled }, attributes, { "data-trigger": true, onChange: () => this.handleChange() }), this.createSelectOptions(this.options)), h("div", { key: '9046acceca10d77f7e3b944b6a08f0ebd7d5135b', class: "single__select-icon-container" }, this.optionIsSelected && (h("div", { key: '429c3bf05d709ed77af0b2428ea8cde1767c5c7a', class: "ifx-choices__icon-wrapper-delete" }, h("ifx-icon", { key: '2df6b18d6aa7ffdefc285931f8715b4e1c430845', icon: "cremove16", onClick: () => this.handleDeleteSelection() }))), h("div", { key: '45426b047419d3cc73085b998c5753bfd4ee36b7', class: "ifx-choices__icon-wrapper-up" }, h("ifx-icon", { key: "icon-up", icon: "chevronup-16" })), h("div", { key: 'fce02b9aab8cef05106c3da223019786821a6273', 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));
7058
+ ${this.error ? 'error' : ''}`, onClick: this.disabled ? undefined : (e) => this.handleWrapperClick(e), onKeyDown: event => this.handleKeyDown(event) }, h("select", Object.assign({ key: '79659e3d6add1302f4b311f1b911dd8f6a472718', class: 'single__select-input-field', disabled: this.disabled }, attributes, { "data-trigger": true, onChange: () => this.handleChange() }), this.createSelectOptions(this.options)), h("div", { key: '8ed023feb5d55c75083dc43403c3c3365d58fcd2', class: "single__select-icon-container" }, this.optionIsSelected && (h("div", { key: '40b5fbb5bb07bd23aa49c2f0485855e6f9604cf7', class: "ifx-choices__icon-wrapper-delete" }, h("ifx-icon", { key: '81ecbe40f43c555df8990ce2a393170193e5c6d7', icon: "cremove16", onClick: () => this.handleDeleteSelection() }))), h("div", { key: '2aabe5ee5ecce1ff833e26c62b514f41209cef5b', class: "ifx-choices__icon-wrapper-up" }, h("ifx-icon", { key: "icon-up", icon: "chevronup-16" })), h("div", { key: 'b89f70067c4da987d24eb9da9835287e94819d3a', 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));
7059
7059
  }
7060
7060
  toggleDropdown() {
7061
7061
  const div = this.root.querySelector('.ifx-choices__wrapper');