@infineon/infineon-design-system-stencil 33.2.1--canary.1723.b0e0253c13cf7166d5e9a69d5006845c2776873e.0 → 33.2.1--canary.1845.de39875295817275c37ebbbe9222be953c888b33.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 (632) 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 +1 -1
  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 +1 -1
  8. package/dist/cjs/ifx-basic-table.cjs.entry.js.map +1 -1
  9. package/dist/cjs/ifx-breadcrumb-item-label.cjs.entry.js +1 -1
  10. package/dist/cjs/ifx-breadcrumb-item-label.cjs.entry.js.map +1 -1
  11. package/dist/cjs/ifx-breadcrumb-item.cjs.entry.js +1 -1
  12. package/dist/cjs/ifx-breadcrumb-item.cjs.entry.js.map +1 -1
  13. package/dist/cjs/ifx-breadcrumb.cjs.entry.js +1 -1
  14. package/dist/cjs/ifx-breadcrumb.cjs.entry.js.map +1 -1
  15. package/dist/cjs/ifx-button.cjs.entry.js +1 -1
  16. package/dist/cjs/ifx-button.cjs.entry.js.map +1 -1
  17. package/dist/cjs/ifx-card-headline.cjs.entry.js +1 -1
  18. package/dist/cjs/ifx-card-headline.cjs.entry.js.map +1 -1
  19. package/dist/cjs/ifx-card-links.cjs.entry.js +1 -1
  20. package/dist/cjs/ifx-card-links.cjs.entry.js.map +1 -1
  21. package/dist/cjs/ifx-card-overline.cjs.entry.js +1 -1
  22. package/dist/cjs/ifx-card-overline.cjs.entry.js.map +1 -1
  23. package/dist/cjs/ifx-card-text.cjs.entry.js +1 -1
  24. package/dist/cjs/ifx-card-text.cjs.entry.js.map +1 -1
  25. package/dist/cjs/ifx-card.cjs.entry.js +1 -1
  26. package/dist/cjs/ifx-card.cjs.entry.js.map +1 -1
  27. package/dist/cjs/ifx-checkbox-group.cjs.entry.js +1 -1
  28. package/dist/cjs/ifx-checkbox-group.cjs.entry.js.map +1 -1
  29. package/dist/cjs/ifx-checkbox.cjs.entry.js +1 -1
  30. package/dist/cjs/ifx-checkbox.cjs.entry.js.map +1 -1
  31. package/dist/cjs/ifx-chip_3.cjs.entry.js +3 -3
  32. package/dist/cjs/ifx-chip_3.cjs.entry.js.map +1 -1
  33. package/dist/cjs/ifx-content-switcher-item.cjs.entry.js +1 -1
  34. package/dist/cjs/ifx-content-switcher-item.cjs.entry.js.map +1 -1
  35. package/dist/cjs/ifx-dropdown-header.cjs.entry.js +1 -1
  36. package/dist/cjs/ifx-dropdown-header.cjs.entry.js.map +1 -1
  37. package/dist/cjs/ifx-dropdown-item.cjs.entry.js +1 -1
  38. package/dist/cjs/ifx-dropdown-item.cjs.entry.js.map +1 -1
  39. package/dist/cjs/ifx-dropdown-menu.cjs.entry.js +1 -1
  40. package/dist/cjs/ifx-dropdown-menu.cjs.entry.js.map +1 -1
  41. package/dist/cjs/ifx-filter-search.cjs.entry.js +1 -1
  42. package/dist/cjs/ifx-filter-search.cjs.entry.js.map +1 -1
  43. package/dist/cjs/ifx-footer-column.cjs.entry.js +1 -1
  44. package/dist/cjs/ifx-footer-column.cjs.entry.js.map +1 -1
  45. package/dist/cjs/ifx-footer.cjs.entry.js +1 -1
  46. package/dist/cjs/ifx-footer.cjs.entry.js.map +1 -1
  47. package/dist/cjs/ifx-icon-button.cjs.entry.js +1 -1
  48. package/dist/cjs/ifx-icon-button.cjs.entry.js.map +1 -1
  49. package/dist/cjs/ifx-link.cjs.entry.js +1 -1
  50. package/dist/cjs/ifx-link.cjs.entry.js.map +1 -1
  51. package/dist/cjs/ifx-modal.cjs.entry.js +1 -1
  52. package/dist/cjs/ifx-modal.cjs.entry.js.map +1 -1
  53. package/dist/cjs/ifx-multiselect.cjs.entry.js +1 -1
  54. package/dist/cjs/ifx-multiselect.cjs.entry.js.map +1 -1
  55. package/dist/cjs/ifx-navbar-item.cjs.entry.js +1 -1
  56. package/dist/cjs/ifx-navbar-item.cjs.entry.js.map +1 -1
  57. package/dist/cjs/ifx-navbar-profile.cjs.entry.js +1 -1
  58. package/dist/cjs/ifx-navbar-profile.cjs.entry.js.map +1 -1
  59. package/dist/cjs/ifx-navbar.cjs.entry.js +1 -1
  60. package/dist/cjs/ifx-navbar.cjs.entry.js.map +1 -1
  61. package/dist/cjs/ifx-notification.cjs.entry.js +1 -1
  62. package/dist/cjs/ifx-notification.cjs.entry.js.map +1 -1
  63. package/dist/cjs/ifx-number-indicator.cjs.entry.js +1 -1
  64. package/dist/cjs/ifx-number-indicator.cjs.entry.js.map +1 -1
  65. package/dist/cjs/ifx-progress-bar.cjs.entry.js +1 -1
  66. package/dist/cjs/ifx-progress-bar.cjs.entry.js.map +1 -1
  67. package/dist/cjs/ifx-radio-button-group.cjs.entry.js +1 -1
  68. package/dist/cjs/ifx-radio-button-group.cjs.entry.js.map +1 -1
  69. package/dist/cjs/ifx-radio-button.cjs.entry.js +1 -1
  70. package/dist/cjs/ifx-radio-button.cjs.entry.js.map +1 -1
  71. package/dist/cjs/ifx-search-bar.cjs.entry.js +1 -1
  72. package/dist/cjs/ifx-search-bar.cjs.entry.js.map +1 -1
  73. package/dist/cjs/ifx-search-field.cjs.entry.js +1 -1
  74. package/dist/cjs/ifx-search-field.cjs.entry.js.map +1 -1
  75. package/dist/cjs/ifx-segment.cjs.entry.js +1 -1
  76. package/dist/cjs/ifx-segment.cjs.entry.js.map +1 -1
  77. package/dist/cjs/ifx-segmented-control.cjs.entry.js +1 -1
  78. package/dist/cjs/ifx-segmented-control.cjs.entry.js.map +1 -1
  79. package/dist/cjs/ifx-select.cjs.entry.js +1 -1
  80. package/dist/cjs/ifx-select.cjs.entry.js.map +1 -1
  81. package/dist/cjs/ifx-sidebar-item.cjs.entry.js +1 -1
  82. package/dist/cjs/ifx-sidebar-item.cjs.entry.js.map +1 -1
  83. package/dist/cjs/ifx-sidebar-title.cjs.entry.js +1 -1
  84. package/dist/cjs/ifx-sidebar-title.cjs.entry.js.map +1 -1
  85. package/dist/cjs/ifx-sidebar.cjs.entry.js +1 -1
  86. package/dist/cjs/ifx-sidebar.cjs.entry.js.map +1 -1
  87. package/dist/cjs/ifx-slider.cjs.entry.js +1 -1
  88. package/dist/cjs/ifx-slider.cjs.entry.js.map +1 -1
  89. package/dist/cjs/ifx-spinner_2.cjs.entry.js +1 -1
  90. package/dist/cjs/ifx-spinner_2.cjs.entry.js.map +1 -1
  91. package/dist/cjs/ifx-status.cjs.entry.js +1 -1
  92. package/dist/cjs/ifx-status.cjs.entry.js.map +1 -1
  93. package/dist/cjs/ifx-step.cjs.entry.js +1 -1
  94. package/dist/cjs/ifx-step.cjs.entry.js.map +1 -1
  95. package/dist/cjs/ifx-stepper.cjs.entry.js +1 -1
  96. package/dist/cjs/ifx-stepper.cjs.entry.js.map +1 -1
  97. package/dist/cjs/ifx-switch.cjs.entry.js +1 -1
  98. package/dist/cjs/ifx-switch.cjs.entry.js.map +1 -1
  99. package/dist/cjs/ifx-table.cjs.entry.js +1 -1
  100. package/dist/cjs/ifx-table.cjs.entry.js.map +1 -1
  101. package/dist/cjs/ifx-tabs.cjs.entry.js +1 -1
  102. package/dist/cjs/ifx-tabs.cjs.entry.js.map +1 -1
  103. package/dist/cjs/ifx-tag.cjs.entry.js +1 -1
  104. package/dist/cjs/ifx-tag.cjs.entry.js.map +1 -1
  105. package/dist/cjs/ifx-textarea.cjs.entry.js +1 -1
  106. package/dist/cjs/ifx-textarea.cjs.entry.js.map +1 -1
  107. package/dist/cjs/ifx-tooltip.cjs.entry.js +1 -1
  108. package/dist/cjs/ifx-tooltip.cjs.entry.js.map +1 -1
  109. package/dist/collection/components/accordion/accordion.css +2 -2
  110. package/dist/collection/components/accordion/accordionItem.css +2 -2
  111. package/dist/collection/components/alert/alert.css +3 -3
  112. package/dist/collection/components/badge/badge.css +2 -2
  113. package/dist/collection/components/breadcrumb/breadcrumb-item-label.css +1 -1
  114. package/dist/collection/components/breadcrumb/breadcrumb-item.css +2 -2
  115. package/dist/collection/components/breadcrumb/breadcrumb.css +2 -2
  116. package/dist/collection/components/button/button.css +2 -2
  117. package/dist/collection/components/card/card-headline/card-headline.css +2 -2
  118. package/dist/collection/components/card/card-links/card-links.css +1 -1
  119. package/dist/collection/components/card/card-overline/card-overline.css +1 -1
  120. package/dist/collection/components/card/card-text/card-text.css +1 -1
  121. package/dist/collection/components/card/card.css +2 -2
  122. package/dist/collection/components/checkbox/checkbox.css +1 -1
  123. package/dist/collection/components/checkbox-group/checkbox-group.css +2 -2
  124. package/dist/collection/components/chip/chip-item/chip-item.css +1 -1
  125. package/dist/collection/components/chip/chip.css +1 -1
  126. package/dist/collection/components/content-switcher/content-switcher-item.css +1 -1
  127. package/dist/collection/components/dropdown/dropdown-header/dropdown-header.css +3 -3
  128. package/dist/collection/components/dropdown/dropdown-item/dropdown-item.css +2 -2
  129. package/dist/collection/components/dropdown/dropdown-menu/dropdown-menu.css +1 -1
  130. package/dist/collection/components/footer/footer-column.css +2 -2
  131. package/dist/collection/components/footer/footer.css +2 -2
  132. package/dist/collection/components/icon-button/icon-button.css +1 -1
  133. package/dist/collection/components/link/link.css +2 -2
  134. package/dist/collection/components/modal/modal.css +2 -2
  135. package/dist/collection/components/navigation/navbar/navbar-item.css +3 -3
  136. package/dist/collection/components/navigation/navbar/navbar.css +3 -3
  137. package/dist/collection/components/navigation/sidebar/sidebar-item.css +2 -2
  138. package/dist/collection/components/navigation/sidebar/sidebar-title.css +1 -1
  139. package/dist/collection/components/navigation/sidebar/sidebar.css +2 -2
  140. package/dist/collection/components/notification/notification.css +2 -2
  141. package/dist/collection/components/number-indicator/number-indicator.css +1 -1
  142. package/dist/collection/components/pagination/pagination.css +2 -2
  143. package/dist/collection/components/progress-bar/progress-bar.css +2 -2
  144. package/dist/collection/components/radio-button/radio-button.css +2 -2
  145. package/dist/collection/components/radio-button-group/radio-button-group.css +2 -2
  146. package/dist/collection/components/search-bar/search-bar.css +2 -2
  147. package/dist/collection/components/search-field/search-field.css +2 -2
  148. package/dist/collection/components/segmented-control/segment/segment.css +1 -1
  149. package/dist/collection/components/segmented-control/segmented-control.css +1 -1
  150. package/dist/collection/components/select/multi-select/multiselect.css +2 -2
  151. package/dist/collection/components/select/single-select/select.css +2 -2
  152. package/dist/collection/components/slider/slider.css +1 -1
  153. package/dist/collection/components/status/status.css +2 -2
  154. package/dist/collection/components/stepper/step/step.css +1 -1
  155. package/dist/collection/components/stepper/stepper.css +1 -1
  156. package/dist/collection/components/switch/switch.css +1 -1
  157. package/dist/collection/components/table-advanced-version/filter-type-group/filter-search/filter-search.css +2 -2
  158. package/dist/collection/components/table-advanced-version/table.css +2 -2
  159. package/dist/collection/components/table-basic-version/table.css +2 -2
  160. package/dist/collection/components/tabs/tabs.css +2 -2
  161. package/dist/collection/components/tag/tag.css +2 -2
  162. package/dist/collection/components/text-field/text-field.css +3 -3
  163. package/dist/collection/components/textarea/textarea.css +1 -1
  164. package/dist/collection/components/tooltip/tooltip.css +2 -2
  165. package/dist/components/ifx-accordion-item.js +1 -1
  166. package/dist/components/ifx-accordion.js +1 -1
  167. package/dist/components/ifx-alert.js +1 -1
  168. package/dist/components/ifx-badge.js +1 -1
  169. package/dist/components/ifx-badge.js.map +1 -1
  170. package/dist/components/ifx-basic-table.js +1 -1
  171. package/dist/components/ifx-basic-table.js.map +1 -1
  172. package/dist/components/ifx-breadcrumb-item-label.js +1 -1
  173. package/dist/components/ifx-breadcrumb-item-label.js.map +1 -1
  174. package/dist/components/ifx-breadcrumb-item.js +1 -1
  175. package/dist/components/ifx-breadcrumb-item.js.map +1 -1
  176. package/dist/components/ifx-breadcrumb.js +1 -1
  177. package/dist/components/ifx-breadcrumb.js.map +1 -1
  178. package/dist/components/ifx-button.js +1 -1
  179. package/dist/components/ifx-card-headline.js +1 -1
  180. package/dist/components/ifx-card-headline.js.map +1 -1
  181. package/dist/components/ifx-card-links.js +1 -1
  182. package/dist/components/ifx-card-links.js.map +1 -1
  183. package/dist/components/ifx-card-overline.js +1 -1
  184. package/dist/components/ifx-card-overline.js.map +1 -1
  185. package/dist/components/ifx-card-text.js +1 -1
  186. package/dist/components/ifx-card-text.js.map +1 -1
  187. package/dist/components/ifx-card.js +1 -1
  188. package/dist/components/ifx-card.js.map +1 -1
  189. package/dist/components/ifx-checkbox-group.js +1 -1
  190. package/dist/components/ifx-checkbox-group.js.map +1 -1
  191. package/dist/components/ifx-checkbox.js +1 -1
  192. package/dist/components/ifx-chip-item.js +1 -1
  193. package/dist/components/ifx-chip.js +1 -1
  194. package/dist/components/ifx-content-switcher-item.js +1 -1
  195. package/dist/components/ifx-content-switcher-item.js.map +1 -1
  196. package/dist/components/ifx-download.js +1 -1
  197. package/dist/components/ifx-dropdown-header.js +1 -1
  198. package/dist/components/ifx-dropdown-header.js.map +1 -1
  199. package/dist/components/ifx-dropdown-item.js +1 -1
  200. package/dist/components/ifx-dropdown-item.js.map +1 -1
  201. package/dist/components/ifx-dropdown-menu.js +1 -1
  202. package/dist/components/ifx-dropdown-menu.js.map +1 -1
  203. package/dist/components/ifx-dropdown-trigger-button.js +1 -1
  204. package/dist/components/ifx-faq.js +2 -2
  205. package/dist/components/ifx-filter-accordion.js +1 -1
  206. package/dist/components/ifx-filter-bar.js +1 -1
  207. package/dist/components/ifx-filter-search.js +2 -2
  208. package/dist/components/ifx-filter-search.js.map +1 -1
  209. package/dist/components/ifx-footer-column.js +1 -1
  210. package/dist/components/ifx-footer-column.js.map +1 -1
  211. package/dist/components/ifx-footer.js +1 -1
  212. package/dist/components/ifx-footer.js.map +1 -1
  213. package/dist/components/ifx-icon-button.js +1 -1
  214. package/dist/components/ifx-icons-preview.js +2 -2
  215. package/dist/components/ifx-link.js +1 -1
  216. package/dist/components/ifx-list-entry.js +2 -2
  217. package/dist/components/ifx-list.js +1 -1
  218. package/dist/components/ifx-modal.js +2 -2
  219. package/dist/components/ifx-modal.js.map +1 -1
  220. package/dist/components/ifx-multiselect.js +1 -1
  221. package/dist/components/ifx-navbar-item.js +2 -2
  222. package/dist/components/ifx-navbar-item.js.map +1 -1
  223. package/dist/components/ifx-navbar-profile.js +1 -1
  224. package/dist/components/ifx-navbar-profile.js.map +1 -1
  225. package/dist/components/ifx-navbar.js +1 -1
  226. package/dist/components/ifx-navbar.js.map +1 -1
  227. package/dist/components/ifx-notification.js +1 -1
  228. package/dist/components/ifx-number-indicator.js +1 -1
  229. package/dist/components/ifx-overview-table.js +2 -2
  230. package/dist/components/ifx-pagination.js +1 -1
  231. package/dist/components/ifx-progress-bar.js +1 -1
  232. package/dist/components/ifx-progress-bar.js.map +1 -1
  233. package/dist/components/ifx-radio-button-group.js +1 -1
  234. package/dist/components/ifx-radio-button-group.js.map +1 -1
  235. package/dist/components/ifx-radio-button.js +1 -1
  236. package/dist/components/ifx-search-bar.js +2 -2
  237. package/dist/components/ifx-search-bar.js.map +1 -1
  238. package/dist/components/ifx-search-field.js +1 -1
  239. package/dist/components/ifx-segment.js +1 -1
  240. package/dist/components/ifx-segment.js.map +1 -1
  241. package/dist/components/ifx-segmented-control.js +1 -1
  242. package/dist/components/ifx-segmented-control.js.map +1 -1
  243. package/dist/components/ifx-select.js +1 -1
  244. package/dist/components/ifx-set-filter.js +4 -4
  245. package/dist/components/ifx-sidebar-item.js +2 -2
  246. package/dist/components/ifx-sidebar-item.js.map +1 -1
  247. package/dist/components/ifx-sidebar-title.js +1 -1
  248. package/dist/components/ifx-sidebar-title.js.map +1 -1
  249. package/dist/components/ifx-sidebar.js +1 -1
  250. package/dist/components/ifx-sidebar.js.map +1 -1
  251. package/dist/components/ifx-slider.js +1 -1
  252. package/dist/components/ifx-slider.js.map +1 -1
  253. package/dist/components/ifx-status.js +1 -1
  254. package/dist/components/ifx-status.js.map +1 -1
  255. package/dist/components/ifx-step.js +1 -1
  256. package/dist/components/ifx-step.js.map +1 -1
  257. package/dist/components/ifx-stepper.js +1 -1
  258. package/dist/components/ifx-stepper.js.map +1 -1
  259. package/dist/components/ifx-switch.js +1 -1
  260. package/dist/components/ifx-switch.js.map +1 -1
  261. package/dist/components/ifx-table.js +9 -9
  262. package/dist/components/ifx-table.js.map +1 -1
  263. package/dist/components/ifx-tabs.js +1 -1
  264. package/dist/components/ifx-tabs.js.map +1 -1
  265. package/dist/components/ifx-tag.js +1 -1
  266. package/dist/components/ifx-tag.js.map +1 -1
  267. package/dist/components/ifx-template.js +1 -1
  268. package/dist/components/ifx-templates-ui.js +6 -6
  269. package/dist/components/ifx-text-field.js +1 -1
  270. package/dist/components/ifx-textarea.js +1 -1
  271. package/dist/components/ifx-textarea.js.map +1 -1
  272. package/dist/components/ifx-tooltip.js +1 -1
  273. package/dist/components/ifx-tooltip.js.map +1 -1
  274. package/dist/components/{p-ee5532fd.js → p-1954dccf.js} +3 -3
  275. package/dist/components/{p-ee5532fd.js.map → p-1954dccf.js.map} +1 -1
  276. package/dist/components/{p-4d64e776.js → p-4ac265d2.js} +2 -2
  277. package/dist/components/p-4ac265d2.js.map +1 -0
  278. package/dist/components/{p-0ccba8b1.js → p-55145b59.js} +4 -4
  279. package/dist/components/p-55145b59.js.map +1 -0
  280. package/dist/components/{p-7b38ddd5.js → p-5b963344.js} +2 -2
  281. package/dist/components/p-5b963344.js.map +1 -0
  282. package/dist/components/{p-59110a4e.js → p-7a2df593.js} +2 -2
  283. package/dist/components/p-7a2df593.js.map +1 -0
  284. package/dist/components/{p-88691420.js → p-809ee2d5.js} +3 -3
  285. package/dist/components/p-809ee2d5.js.map +1 -0
  286. package/dist/components/{p-23757cfd.js → p-839c5ae6.js} +3 -3
  287. package/dist/components/{p-23757cfd.js.map → p-839c5ae6.js.map} +1 -1
  288. package/dist/components/{p-5b5399c2.js → p-9346ec80.js} +2 -2
  289. package/dist/components/p-9346ec80.js.map +1 -0
  290. package/dist/components/{p-79352b7c.js → p-94529148.js} +4 -4
  291. package/dist/components/{p-79352b7c.js.map → p-94529148.js.map} +1 -1
  292. package/dist/components/p-a3131ca8.js +164 -0
  293. package/dist/components/p-a3131ca8.js.map +1 -0
  294. package/dist/components/{p-04a697ad.js → p-a35a23ad.js} +2 -2
  295. package/dist/components/p-a35a23ad.js.map +1 -0
  296. package/dist/components/{p-327af560.js → p-aafad924.js} +2 -2
  297. package/dist/components/{p-327af560.js.map → p-aafad924.js.map} +1 -1
  298. package/dist/components/{p-26e62031.js → p-b1a6a268.js} +2 -2
  299. package/dist/components/p-b1a6a268.js.map +1 -0
  300. package/dist/components/{p-f36effad.js → p-d2f2583e.js} +2 -2
  301. package/dist/components/p-d2f2583e.js.map +1 -0
  302. package/dist/components/{p-803887ee.js → p-dfab7058.js} +2 -2
  303. package/dist/components/p-dfab7058.js.map +1 -0
  304. package/dist/components/{p-b4e91450.js → p-e09437e5.js} +3 -3
  305. package/dist/components/p-e09437e5.js.map +1 -0
  306. package/dist/components/{p-7c7a5393.js → p-f309fc91.js} +2 -2
  307. package/dist/components/p-f309fc91.js.map +1 -0
  308. package/dist/components/{p-1d737cf7.js → p-fe069544.js} +2 -2
  309. package/dist/components/{p-1d737cf7.js.map → p-fe069544.js.map} +1 -1
  310. package/dist/esm/ifx-accordion_2.entry.js +2 -2
  311. package/dist/esm/ifx-accordion_2.entry.js.map +1 -1
  312. package/dist/esm/ifx-alert_2.entry.js +1 -1
  313. package/dist/esm/ifx-alert_2.entry.js.map +1 -1
  314. package/dist/esm/ifx-badge.entry.js +1 -1
  315. package/dist/esm/ifx-badge.entry.js.map +1 -1
  316. package/dist/esm/ifx-basic-table.entry.js +1 -1
  317. package/dist/esm/ifx-basic-table.entry.js.map +1 -1
  318. package/dist/esm/ifx-breadcrumb-item-label.entry.js +1 -1
  319. package/dist/esm/ifx-breadcrumb-item-label.entry.js.map +1 -1
  320. package/dist/esm/ifx-breadcrumb-item.entry.js +1 -1
  321. package/dist/esm/ifx-breadcrumb-item.entry.js.map +1 -1
  322. package/dist/esm/ifx-breadcrumb.entry.js +1 -1
  323. package/dist/esm/ifx-breadcrumb.entry.js.map +1 -1
  324. package/dist/esm/ifx-button.entry.js +1 -1
  325. package/dist/esm/ifx-button.entry.js.map +1 -1
  326. package/dist/esm/ifx-card-headline.entry.js +1 -1
  327. package/dist/esm/ifx-card-headline.entry.js.map +1 -1
  328. package/dist/esm/ifx-card-links.entry.js +1 -1
  329. package/dist/esm/ifx-card-links.entry.js.map +1 -1
  330. package/dist/esm/ifx-card-overline.entry.js +1 -1
  331. package/dist/esm/ifx-card-overline.entry.js.map +1 -1
  332. package/dist/esm/ifx-card-text.entry.js +1 -1
  333. package/dist/esm/ifx-card-text.entry.js.map +1 -1
  334. package/dist/esm/ifx-card.entry.js +1 -1
  335. package/dist/esm/ifx-card.entry.js.map +1 -1
  336. package/dist/esm/ifx-checkbox-group.entry.js +1 -1
  337. package/dist/esm/ifx-checkbox-group.entry.js.map +1 -1
  338. package/dist/esm/ifx-checkbox.entry.js +1 -1
  339. package/dist/esm/ifx-checkbox.entry.js.map +1 -1
  340. package/dist/esm/ifx-chip_3.entry.js +3 -3
  341. package/dist/esm/ifx-chip_3.entry.js.map +1 -1
  342. package/dist/esm/ifx-content-switcher-item.entry.js +1 -1
  343. package/dist/esm/ifx-content-switcher-item.entry.js.map +1 -1
  344. package/dist/esm/ifx-dropdown-header.entry.js +1 -1
  345. package/dist/esm/ifx-dropdown-header.entry.js.map +1 -1
  346. package/dist/esm/ifx-dropdown-item.entry.js +1 -1
  347. package/dist/esm/ifx-dropdown-item.entry.js.map +1 -1
  348. package/dist/esm/ifx-dropdown-menu.entry.js +1 -1
  349. package/dist/esm/ifx-dropdown-menu.entry.js.map +1 -1
  350. package/dist/esm/ifx-filter-search.entry.js +1 -1
  351. package/dist/esm/ifx-filter-search.entry.js.map +1 -1
  352. package/dist/esm/ifx-footer-column.entry.js +1 -1
  353. package/dist/esm/ifx-footer-column.entry.js.map +1 -1
  354. package/dist/esm/ifx-footer.entry.js +1 -1
  355. package/dist/esm/ifx-footer.entry.js.map +1 -1
  356. package/dist/esm/ifx-icon-button.entry.js +1 -1
  357. package/dist/esm/ifx-icon-button.entry.js.map +1 -1
  358. package/dist/esm/ifx-link.entry.js +1 -1
  359. package/dist/esm/ifx-link.entry.js.map +1 -1
  360. package/dist/esm/ifx-modal.entry.js +1 -1
  361. package/dist/esm/ifx-modal.entry.js.map +1 -1
  362. package/dist/esm/ifx-multiselect.entry.js +1 -1
  363. package/dist/esm/ifx-multiselect.entry.js.map +1 -1
  364. package/dist/esm/ifx-navbar-item.entry.js +1 -1
  365. package/dist/esm/ifx-navbar-item.entry.js.map +1 -1
  366. package/dist/esm/ifx-navbar-profile.entry.js +1 -1
  367. package/dist/esm/ifx-navbar-profile.entry.js.map +1 -1
  368. package/dist/esm/ifx-navbar.entry.js +1 -1
  369. package/dist/esm/ifx-navbar.entry.js.map +1 -1
  370. package/dist/esm/ifx-notification.entry.js +1 -1
  371. package/dist/esm/ifx-notification.entry.js.map +1 -1
  372. package/dist/esm/ifx-number-indicator.entry.js +1 -1
  373. package/dist/esm/ifx-number-indicator.entry.js.map +1 -1
  374. package/dist/esm/ifx-progress-bar.entry.js +1 -1
  375. package/dist/esm/ifx-progress-bar.entry.js.map +1 -1
  376. package/dist/esm/ifx-radio-button-group.entry.js +1 -1
  377. package/dist/esm/ifx-radio-button-group.entry.js.map +1 -1
  378. package/dist/esm/ifx-radio-button.entry.js +1 -1
  379. package/dist/esm/ifx-radio-button.entry.js.map +1 -1
  380. package/dist/esm/ifx-search-bar.entry.js +1 -1
  381. package/dist/esm/ifx-search-bar.entry.js.map +1 -1
  382. package/dist/esm/ifx-search-field.entry.js +1 -1
  383. package/dist/esm/ifx-search-field.entry.js.map +1 -1
  384. package/dist/esm/ifx-segment.entry.js +1 -1
  385. package/dist/esm/ifx-segment.entry.js.map +1 -1
  386. package/dist/esm/ifx-segmented-control.entry.js +1 -1
  387. package/dist/esm/ifx-segmented-control.entry.js.map +1 -1
  388. package/dist/esm/ifx-select.entry.js +1 -1
  389. package/dist/esm/ifx-select.entry.js.map +1 -1
  390. package/dist/esm/ifx-sidebar-item.entry.js +1 -1
  391. package/dist/esm/ifx-sidebar-item.entry.js.map +1 -1
  392. package/dist/esm/ifx-sidebar-title.entry.js +1 -1
  393. package/dist/esm/ifx-sidebar-title.entry.js.map +1 -1
  394. package/dist/esm/ifx-sidebar.entry.js +1 -1
  395. package/dist/esm/ifx-sidebar.entry.js.map +1 -1
  396. package/dist/esm/ifx-slider.entry.js +1 -1
  397. package/dist/esm/ifx-slider.entry.js.map +1 -1
  398. package/dist/esm/ifx-spinner_2.entry.js +1 -1
  399. package/dist/esm/ifx-spinner_2.entry.js.map +1 -1
  400. package/dist/esm/ifx-status.entry.js +1 -1
  401. package/dist/esm/ifx-status.entry.js.map +1 -1
  402. package/dist/esm/ifx-step.entry.js +1 -1
  403. package/dist/esm/ifx-step.entry.js.map +1 -1
  404. package/dist/esm/ifx-stepper.entry.js +1 -1
  405. package/dist/esm/ifx-stepper.entry.js.map +1 -1
  406. package/dist/esm/ifx-switch.entry.js +1 -1
  407. package/dist/esm/ifx-switch.entry.js.map +1 -1
  408. package/dist/esm/ifx-table.entry.js +1 -1
  409. package/dist/esm/ifx-table.entry.js.map +1 -1
  410. package/dist/esm/ifx-tabs.entry.js +1 -1
  411. package/dist/esm/ifx-tabs.entry.js.map +1 -1
  412. package/dist/esm/ifx-tag.entry.js +1 -1
  413. package/dist/esm/ifx-tag.entry.js.map +1 -1
  414. package/dist/esm/ifx-textarea.entry.js +1 -1
  415. package/dist/esm/ifx-textarea.entry.js.map +1 -1
  416. package/dist/esm/ifx-tooltip.entry.js +1 -1
  417. package/dist/esm/ifx-tooltip.entry.js.map +1 -1
  418. package/dist/infineon-design-system-stencil/infineon-design-system-stencil.css +1 -1
  419. package/dist/infineon-design-system-stencil/infineon-design-system-stencil.esm.js +1 -1
  420. package/dist/infineon-design-system-stencil/p-021d8925.entry.js +2 -0
  421. package/dist/infineon-design-system-stencil/{p-33f48cf1.entry.js.map → p-021d8925.entry.js.map} +1 -1
  422. package/dist/infineon-design-system-stencil/p-028211a8.entry.js +2 -0
  423. package/dist/infineon-design-system-stencil/{p-69799784.entry.js.map → p-028211a8.entry.js.map} +1 -1
  424. package/dist/infineon-design-system-stencil/p-0abcae42.entry.js +2 -0
  425. package/dist/infineon-design-system-stencil/{p-fe55dfcd.entry.js.map → p-0abcae42.entry.js.map} +1 -1
  426. package/dist/infineon-design-system-stencil/p-0daa9503.entry.js +2 -0
  427. package/dist/infineon-design-system-stencil/p-0daa9503.entry.js.map +1 -0
  428. package/dist/infineon-design-system-stencil/p-0f8df960.entry.js +2 -0
  429. package/dist/infineon-design-system-stencil/{p-d9f7f285.entry.js.map → p-0f8df960.entry.js.map} +1 -1
  430. package/dist/infineon-design-system-stencil/p-10ab251e.entry.js +2 -0
  431. package/dist/infineon-design-system-stencil/p-10ab251e.entry.js.map +1 -0
  432. package/dist/infineon-design-system-stencil/{p-63679298.entry.js → p-2d43e237.entry.js} +2 -2
  433. package/dist/infineon-design-system-stencil/{p-63679298.entry.js.map → p-2d43e237.entry.js.map} +1 -1
  434. package/dist/infineon-design-system-stencil/p-33b93a7c.entry.js +2 -0
  435. package/dist/infineon-design-system-stencil/p-33b93a7c.entry.js.map +1 -0
  436. package/dist/infineon-design-system-stencil/p-34fdb2e6.entry.js +2 -0
  437. package/dist/infineon-design-system-stencil/{p-427b82a8.entry.js.map → p-34fdb2e6.entry.js.map} +1 -1
  438. package/dist/infineon-design-system-stencil/p-354be5a1.entry.js +2 -0
  439. package/dist/infineon-design-system-stencil/{p-0333c09a.entry.js.map → p-354be5a1.entry.js.map} +1 -1
  440. package/dist/infineon-design-system-stencil/p-398ecea5.entry.js +2 -0
  441. package/dist/infineon-design-system-stencil/p-398ecea5.entry.js.map +1 -0
  442. package/dist/infineon-design-system-stencil/p-3ebdb30e.entry.js +2 -0
  443. package/dist/infineon-design-system-stencil/p-3ebdb30e.entry.js.map +1 -0
  444. package/dist/infineon-design-system-stencil/p-40376c4d.entry.js +2 -0
  445. package/dist/infineon-design-system-stencil/p-40376c4d.entry.js.map +1 -0
  446. package/dist/infineon-design-system-stencil/p-4182b39d.entry.js +2 -0
  447. package/dist/infineon-design-system-stencil/p-4182b39d.entry.js.map +1 -0
  448. package/dist/infineon-design-system-stencil/p-42ff3839.entry.js +2 -0
  449. package/dist/infineon-design-system-stencil/p-42ff3839.entry.js.map +1 -0
  450. package/dist/infineon-design-system-stencil/p-4db60e07.entry.js +2 -0
  451. package/dist/infineon-design-system-stencil/{p-dc5ff11a.entry.js.map → p-4db60e07.entry.js.map} +1 -1
  452. package/dist/infineon-design-system-stencil/{p-5d486e15.entry.js → p-4df4c6f6.entry.js} +2 -2
  453. package/dist/infineon-design-system-stencil/p-4df4c6f6.entry.js.map +1 -0
  454. package/dist/infineon-design-system-stencil/p-51ae14a4.entry.js +2 -0
  455. package/dist/infineon-design-system-stencil/p-51ae14a4.entry.js.map +1 -0
  456. package/dist/infineon-design-system-stencil/p-5292f9ef.entry.js +2 -0
  457. package/dist/infineon-design-system-stencil/p-5292f9ef.entry.js.map +1 -0
  458. package/dist/infineon-design-system-stencil/p-5536a9c8.entry.js +2 -0
  459. package/dist/infineon-design-system-stencil/p-5536a9c8.entry.js.map +1 -0
  460. package/dist/infineon-design-system-stencil/p-56900722.entry.js +2 -0
  461. package/dist/infineon-design-system-stencil/p-56900722.entry.js.map +1 -0
  462. package/dist/infineon-design-system-stencil/p-5f40e1ad.entry.js +2 -0
  463. package/dist/infineon-design-system-stencil/p-5f40e1ad.entry.js.map +1 -0
  464. package/dist/infineon-design-system-stencil/p-711d5051.entry.js +2 -0
  465. package/dist/infineon-design-system-stencil/p-711d5051.entry.js.map +1 -0
  466. package/dist/infineon-design-system-stencil/p-75931b5c.entry.js +2 -0
  467. package/dist/infineon-design-system-stencil/p-75931b5c.entry.js.map +1 -0
  468. package/dist/infineon-design-system-stencil/p-75a33351.entry.js +2 -0
  469. package/dist/infineon-design-system-stencil/p-75a33351.entry.js.map +1 -0
  470. package/dist/infineon-design-system-stencil/p-75b79df1.entry.js +2 -0
  471. package/dist/infineon-design-system-stencil/p-75b79df1.entry.js.map +1 -0
  472. package/dist/infineon-design-system-stencil/p-76b9997a.entry.js +2 -0
  473. package/dist/infineon-design-system-stencil/{p-1f745731.entry.js.map → p-76b9997a.entry.js.map} +1 -1
  474. package/dist/infineon-design-system-stencil/p-83dda3e4.entry.js +2 -0
  475. package/dist/infineon-design-system-stencil/p-83dda3e4.entry.js.map +1 -0
  476. package/dist/infineon-design-system-stencil/{p-8531337f.entry.js → p-842d979a.entry.js} +2 -2
  477. package/dist/infineon-design-system-stencil/p-842d979a.entry.js.map +1 -0
  478. package/dist/infineon-design-system-stencil/p-85d5d3cc.entry.js +2 -0
  479. package/dist/infineon-design-system-stencil/p-85d5d3cc.entry.js.map +1 -0
  480. package/dist/infineon-design-system-stencil/p-8656c771.entry.js +2 -0
  481. package/dist/infineon-design-system-stencil/p-8656c771.entry.js.map +1 -0
  482. package/dist/infineon-design-system-stencil/p-8e21ebe3.entry.js +2 -0
  483. package/dist/infineon-design-system-stencil/p-8e21ebe3.entry.js.map +1 -0
  484. package/dist/infineon-design-system-stencil/p-91dc6410.entry.js +2 -0
  485. package/dist/infineon-design-system-stencil/p-91dc6410.entry.js.map +1 -0
  486. package/dist/infineon-design-system-stencil/p-9769a59d.entry.js +2 -0
  487. package/dist/infineon-design-system-stencil/p-9769a59d.entry.js.map +1 -0
  488. package/dist/infineon-design-system-stencil/p-9814ea4e.entry.js +2 -0
  489. package/dist/infineon-design-system-stencil/p-9814ea4e.entry.js.map +1 -0
  490. package/dist/infineon-design-system-stencil/p-9c6e4e72.entry.js +2 -0
  491. package/dist/infineon-design-system-stencil/p-9c6e4e72.entry.js.map +1 -0
  492. package/dist/infineon-design-system-stencil/p-a2b80c04.entry.js +2 -0
  493. package/dist/infineon-design-system-stencil/p-a2b80c04.entry.js.map +1 -0
  494. package/dist/infineon-design-system-stencil/p-a6c168e4.entry.js +2 -0
  495. package/dist/infineon-design-system-stencil/p-a6c168e4.entry.js.map +1 -0
  496. package/dist/infineon-design-system-stencil/p-a71081a1.entry.js +2 -0
  497. package/dist/infineon-design-system-stencil/{p-2f87fada.entry.js.map → p-a71081a1.entry.js.map} +1 -1
  498. package/dist/infineon-design-system-stencil/p-a7b72b06.entry.js +2 -0
  499. package/dist/infineon-design-system-stencil/{p-dba0c2d2.entry.js.map → p-a7b72b06.entry.js.map} +1 -1
  500. package/dist/infineon-design-system-stencil/p-acfec04a.entry.js +2 -0
  501. package/dist/infineon-design-system-stencil/p-acfec04a.entry.js.map +1 -0
  502. package/dist/infineon-design-system-stencil/p-ad290bef.entry.js +2 -0
  503. package/dist/infineon-design-system-stencil/{p-74fd43e9.entry.js.map → p-ad290bef.entry.js.map} +1 -1
  504. package/dist/infineon-design-system-stencil/p-aedc4548.entry.js +2 -0
  505. package/dist/infineon-design-system-stencil/p-aedc4548.entry.js.map +1 -0
  506. package/dist/infineon-design-system-stencil/p-b2995f20.entry.js +2 -0
  507. package/dist/infineon-design-system-stencil/p-b2995f20.entry.js.map +1 -0
  508. package/dist/infineon-design-system-stencil/p-b33ffb95.entry.js +2 -0
  509. package/dist/infineon-design-system-stencil/p-b33ffb95.entry.js.map +1 -0
  510. package/dist/infineon-design-system-stencil/p-c0f2b00d.entry.js +2 -0
  511. package/dist/infineon-design-system-stencil/p-c0f2b00d.entry.js.map +1 -0
  512. package/dist/infineon-design-system-stencil/p-cda1cd7c.entry.js +2 -0
  513. package/dist/infineon-design-system-stencil/{p-6a8bfce7.entry.js.map → p-cda1cd7c.entry.js.map} +1 -1
  514. package/dist/infineon-design-system-stencil/p-cf96a19e.entry.js +2 -0
  515. package/dist/infineon-design-system-stencil/p-cf96a19e.entry.js.map +1 -0
  516. package/dist/infineon-design-system-stencil/p-d0dbf1c7.entry.js +2 -0
  517. package/dist/infineon-design-system-stencil/p-d0dbf1c7.entry.js.map +1 -0
  518. package/dist/infineon-design-system-stencil/p-d1dfc56a.entry.js +2 -0
  519. package/dist/infineon-design-system-stencil/p-d1dfc56a.entry.js.map +1 -0
  520. package/dist/infineon-design-system-stencil/p-dac01fef.entry.js +2 -0
  521. package/dist/infineon-design-system-stencil/{p-47893f7e.entry.js.map → p-dac01fef.entry.js.map} +1 -1
  522. package/dist/infineon-design-system-stencil/p-dee6e43c.entry.js +2 -0
  523. package/dist/infineon-design-system-stencil/p-dee6e43c.entry.js.map +1 -0
  524. package/dist/infineon-design-system-stencil/p-f615aad2.entry.js +2 -0
  525. package/dist/infineon-design-system-stencil/p-f615aad2.entry.js.map +1 -0
  526. package/dist/infineon-design-system-stencil/p-f94b8118.entry.js +2 -0
  527. package/dist/infineon-design-system-stencil/{p-f88b928c.entry.js.map → p-f94b8118.entry.js.map} +1 -1
  528. package/package.json +1 -1
  529. package/dist/components/p-04a697ad.js.map +0 -1
  530. package/dist/components/p-0ccba8b1.js.map +0 -1
  531. package/dist/components/p-26e62031.js.map +0 -1
  532. package/dist/components/p-4d64e776.js.map +0 -1
  533. package/dist/components/p-59110a4e.js.map +0 -1
  534. package/dist/components/p-5b5399c2.js.map +0 -1
  535. package/dist/components/p-7b38ddd5.js.map +0 -1
  536. package/dist/components/p-7c7a5393.js.map +0 -1
  537. package/dist/components/p-803887ee.js.map +0 -1
  538. package/dist/components/p-88691420.js.map +0 -1
  539. package/dist/components/p-b4e91450.js.map +0 -1
  540. package/dist/components/p-cc9cb040.js +0 -164
  541. package/dist/components/p-cc9cb040.js.map +0 -1
  542. package/dist/components/p-f36effad.js.map +0 -1
  543. package/dist/infineon-design-system-stencil/p-0333c09a.entry.js +0 -2
  544. package/dist/infineon-design-system-stencil/p-05d332bd.entry.js +0 -2
  545. package/dist/infineon-design-system-stencil/p-05d332bd.entry.js.map +0 -1
  546. package/dist/infineon-design-system-stencil/p-080456bc.entry.js +0 -2
  547. package/dist/infineon-design-system-stencil/p-080456bc.entry.js.map +0 -1
  548. package/dist/infineon-design-system-stencil/p-0a69604b.entry.js +0 -2
  549. package/dist/infineon-design-system-stencil/p-0a69604b.entry.js.map +0 -1
  550. package/dist/infineon-design-system-stencil/p-0d11b881.entry.js +0 -2
  551. package/dist/infineon-design-system-stencil/p-0d11b881.entry.js.map +0 -1
  552. package/dist/infineon-design-system-stencil/p-1d47cfa5.entry.js +0 -2
  553. package/dist/infineon-design-system-stencil/p-1d47cfa5.entry.js.map +0 -1
  554. package/dist/infineon-design-system-stencil/p-1f745731.entry.js +0 -2
  555. package/dist/infineon-design-system-stencil/p-2ed9a934.entry.js +0 -2
  556. package/dist/infineon-design-system-stencil/p-2ed9a934.entry.js.map +0 -1
  557. package/dist/infineon-design-system-stencil/p-2f87fada.entry.js +0 -2
  558. package/dist/infineon-design-system-stencil/p-332313b0.entry.js +0 -2
  559. package/dist/infineon-design-system-stencil/p-332313b0.entry.js.map +0 -1
  560. package/dist/infineon-design-system-stencil/p-33f48cf1.entry.js +0 -2
  561. package/dist/infineon-design-system-stencil/p-41316712.entry.js +0 -2
  562. package/dist/infineon-design-system-stencil/p-41316712.entry.js.map +0 -1
  563. package/dist/infineon-design-system-stencil/p-427b82a8.entry.js +0 -2
  564. package/dist/infineon-design-system-stencil/p-43ab7b53.entry.js +0 -2
  565. package/dist/infineon-design-system-stencil/p-43ab7b53.entry.js.map +0 -1
  566. package/dist/infineon-design-system-stencil/p-47893f7e.entry.js +0 -2
  567. package/dist/infineon-design-system-stencil/p-485ba923.entry.js +0 -2
  568. package/dist/infineon-design-system-stencil/p-485ba923.entry.js.map +0 -1
  569. package/dist/infineon-design-system-stencil/p-4a5ac145.entry.js +0 -2
  570. package/dist/infineon-design-system-stencil/p-4a5ac145.entry.js.map +0 -1
  571. package/dist/infineon-design-system-stencil/p-4ddb3e72.entry.js +0 -2
  572. package/dist/infineon-design-system-stencil/p-4ddb3e72.entry.js.map +0 -1
  573. package/dist/infineon-design-system-stencil/p-50793991.entry.js +0 -2
  574. package/dist/infineon-design-system-stencil/p-50793991.entry.js.map +0 -1
  575. package/dist/infineon-design-system-stencil/p-53abaa78.entry.js +0 -2
  576. package/dist/infineon-design-system-stencil/p-53abaa78.entry.js.map +0 -1
  577. package/dist/infineon-design-system-stencil/p-5d486e15.entry.js.map +0 -1
  578. package/dist/infineon-design-system-stencil/p-5f6da116.entry.js +0 -2
  579. package/dist/infineon-design-system-stencil/p-5f6da116.entry.js.map +0 -1
  580. package/dist/infineon-design-system-stencil/p-602a1ada.entry.js +0 -2
  581. package/dist/infineon-design-system-stencil/p-602a1ada.entry.js.map +0 -1
  582. package/dist/infineon-design-system-stencil/p-61010cd5.entry.js +0 -2
  583. package/dist/infineon-design-system-stencil/p-61010cd5.entry.js.map +0 -1
  584. package/dist/infineon-design-system-stencil/p-661a7c0b.entry.js +0 -2
  585. package/dist/infineon-design-system-stencil/p-661a7c0b.entry.js.map +0 -1
  586. package/dist/infineon-design-system-stencil/p-66c73a3d.entry.js +0 -2
  587. package/dist/infineon-design-system-stencil/p-66c73a3d.entry.js.map +0 -1
  588. package/dist/infineon-design-system-stencil/p-69799784.entry.js +0 -2
  589. package/dist/infineon-design-system-stencil/p-6a8bfce7.entry.js +0 -2
  590. package/dist/infineon-design-system-stencil/p-6c3c5b20.entry.js +0 -2
  591. package/dist/infineon-design-system-stencil/p-6c3c5b20.entry.js.map +0 -1
  592. package/dist/infineon-design-system-stencil/p-74fd43e9.entry.js +0 -2
  593. package/dist/infineon-design-system-stencil/p-76e2c9c5.entry.js +0 -2
  594. package/dist/infineon-design-system-stencil/p-76e2c9c5.entry.js.map +0 -1
  595. package/dist/infineon-design-system-stencil/p-7de29aa8.entry.js +0 -2
  596. package/dist/infineon-design-system-stencil/p-7de29aa8.entry.js.map +0 -1
  597. package/dist/infineon-design-system-stencil/p-8531337f.entry.js.map +0 -1
  598. package/dist/infineon-design-system-stencil/p-96ba5e8c.entry.js +0 -2
  599. package/dist/infineon-design-system-stencil/p-96ba5e8c.entry.js.map +0 -1
  600. package/dist/infineon-design-system-stencil/p-a1bb909f.entry.js +0 -2
  601. package/dist/infineon-design-system-stencil/p-a1bb909f.entry.js.map +0 -1
  602. package/dist/infineon-design-system-stencil/p-aac226ce.entry.js +0 -2
  603. package/dist/infineon-design-system-stencil/p-aac226ce.entry.js.map +0 -1
  604. package/dist/infineon-design-system-stencil/p-b1c2e67a.entry.js +0 -2
  605. package/dist/infineon-design-system-stencil/p-b1c2e67a.entry.js.map +0 -1
  606. package/dist/infineon-design-system-stencil/p-b39303be.entry.js +0 -2
  607. package/dist/infineon-design-system-stencil/p-b39303be.entry.js.map +0 -1
  608. package/dist/infineon-design-system-stencil/p-b6bdc0a5.entry.js +0 -2
  609. package/dist/infineon-design-system-stencil/p-b6bdc0a5.entry.js.map +0 -1
  610. package/dist/infineon-design-system-stencil/p-b6d2073e.entry.js +0 -2
  611. package/dist/infineon-design-system-stencil/p-b6d2073e.entry.js.map +0 -1
  612. package/dist/infineon-design-system-stencil/p-b84588f9.entry.js +0 -2
  613. package/dist/infineon-design-system-stencil/p-b84588f9.entry.js.map +0 -1
  614. package/dist/infineon-design-system-stencil/p-bf1f6439.entry.js +0 -2
  615. package/dist/infineon-design-system-stencil/p-bf1f6439.entry.js.map +0 -1
  616. package/dist/infineon-design-system-stencil/p-c183f92b.entry.js +0 -2
  617. package/dist/infineon-design-system-stencil/p-c183f92b.entry.js.map +0 -1
  618. package/dist/infineon-design-system-stencil/p-c4eac5cd.entry.js +0 -2
  619. package/dist/infineon-design-system-stencil/p-c4eac5cd.entry.js.map +0 -1
  620. package/dist/infineon-design-system-stencil/p-d9f7f285.entry.js +0 -2
  621. package/dist/infineon-design-system-stencil/p-db9bdd7d.entry.js +0 -2
  622. package/dist/infineon-design-system-stencil/p-db9bdd7d.entry.js.map +0 -1
  623. package/dist/infineon-design-system-stencil/p-dba0c2d2.entry.js +0 -2
  624. package/dist/infineon-design-system-stencil/p-dc5ff11a.entry.js +0 -2
  625. package/dist/infineon-design-system-stencil/p-dd27040f.entry.js +0 -2
  626. package/dist/infineon-design-system-stencil/p-dd27040f.entry.js.map +0 -1
  627. package/dist/infineon-design-system-stencil/p-e93396ed.entry.js +0 -2
  628. package/dist/infineon-design-system-stencil/p-e93396ed.entry.js.map +0 -1
  629. package/dist/infineon-design-system-stencil/p-f88b928c.entry.js +0 -2
  630. package/dist/infineon-design-system-stencil/p-fc455450.entry.js +0 -2
  631. package/dist/infineon-design-system-stencil/p-fc455450.entry.js.map +0 -1
  632. package/dist/infineon-design-system-stencil/p-fe55dfcd.entry.js +0 -2
@@ -1 +0,0 @@
1
- {"version":3,"names":["buttonCss","IfxButtonStyle0","Button","constructor","hostRef","this","variant","theme","size","disabled","target","type","fullWidth","handleClick","ev","el","shadowRoot","parentForm","closest","preventDefault","resetClickHandler","fakeButton","document","createElement","style","display","appendChild","click","remove","setInternalHref","newValue","internalHref","setFocus","focusableElement","focus","insertNativeButton","nativeButton","handleFormAndInternalHref","href","undefined","handleButtonWidth","setProperty","componentWillLoad","componentWillRender","formElement","customElements","querySelectorAll","forEach","element","reset","handleKeyDown","key","handleHostClick","event","stopImmediatePropagation","handleFocus","blur","render","h","Host","role","tabIndex","ref","class","getClassNames","onClick","rel","onFocus","ariaLabel","getVariantClass","getSizeClass","classNames"],"sources":["src/components/button/button.scss?tag=ifx-button&encapsulation=shadow","src/components/button/button.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n:host {\n vertical-align: bottom;\n display: inline-flex;\n width: var(--bw, fit-content);\n}\n\n.btn {\n box-sizing: border-box;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n height: tokens.$ifxSize500;\n padding: 0px tokens.$ifxSpace200;\n gap: tokens.$ifxSpace100;\n color: tokens.$ifxColorBaseWhite;\n font-weight: tokens.$ifxFontWeightSemibold;\n border-radius: tokens.$ifxBorderRadius12;\n line-height: tokens.$ifxLineHeightM;\n font-family: tokens.$ifxFontFamilyBody;\n font-style: normal;\n text-decoration: none;\n user-select: none;\n font-size: tokens.$ifxFontSizeM;\n transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\n width: var(--bw, fit-content);\n}\n\n.btn:not(.disabled) {\n cursor: pointer;\n}\n\n.btn.disabled {\n pointer-events: none;\n}\n\n.btn-default {\n //default variant=primary; default color=default\n color: tokens.$ifxColorBaseWhite;\n background-color: tokens.$ifxColorOcean500;\n\n &:disabled,\n &.disabled {\n background-color: tokens.$ifxColorEngineering300;\n color: tokens.$ifxColorBaseWhite;\n pointer-events: none;\n\n }\n}\n\n.btn-secondary-default {\n background-color: tokens.$ifxColorBaseWhite;\n color: tokens.$ifxColorOcean500;\n border: 1px solid tokens.$ifxColorOcean500;\n\n &:disabled,\n &.disabled {\n background-color: tokens.$ifxColorBaseWhite;\n border: 1px solid tokens.$ifxColorEngineering300;\n color: tokens.$ifxColorEngineering300;\n pointer-events: none;\n\n }\n}\n\n.btn-tertiary-default {\n background-color: tokens.$ifxColorBaseTransparent;\n color: tokens.$ifxColorOcean500;\n\n &:disabled,\n &.disabled {\n color: tokens.$ifxColorEngineering300;\n pointer-events: none;\n\n }\n}\n\n\n.btn-danger {\n color: tokens.$ifxColorBaseWhite;\n background-color: tokens.$ifxColorRed500;\n border-color: tokens.$ifxColorRed500;\n\n &:disabled,\n &.disabled {\n background-color: tokens.$ifxColorEngineering300;\n color: tokens.$ifxColorBaseWhite;\n pointer-events: none;\n\n }\n}\n\n.btn-secondary-danger {\n background-color: tokens.$ifxColorBaseWhite;\n color: tokens.$ifxColorRed500;\n border: 1px solid tokens.$ifxColorRed500;\n\n &:disabled,\n &.disabled {\n background-color: tokens.$ifxColorBaseWhite;\n border: 1px solid tokens.$ifxColorEngineering300;\n color: tokens.$ifxColorEngineering300;\n pointer-events: none;\n\n }\n}\n\n.btn-tertiary-danger {\n //combination tertiary + danger not in design\n background-color: tokens.$ifxColorBaseTransparent;\n color: tokens.$ifxColorRed500;\n\n &:disabled,\n &.disabled {\n background-color: tokens.$ifxColorBaseWhite;\n color: tokens.$ifxColorEngineering300;\n pointer-events: none;\n\n }\n}\n\n.btn-inverse {\n color: tokens.$ifxColorOcean500;\n background-color: tokens.$ifxColorBaseWhite;\n\n &:disabled,\n &.disabled {\n opacity: tokens.$ifxOpacity100;\n background-color: tokens.$ifxColorBaseWhite;\n color: tokens.$ifxColorOcean500;\n pointer-events: none;\n }\n}\n\n.btn-secondary-inverse {\n color: tokens.$ifxColorBaseWhite;\n border: 1px solid tokens.$ifxColorBaseWhite;\n\n &:disabled,\n &.disabled {\n border: 1px solid tokens.$ifxColorBaseWhite;\n color: tokens.$ifxColorBaseWhite;\n pointer-events: none;\n\n }\n}\n\n\n.btn-tertiary-inverse {\n color: tokens.$ifxColorBaseWhite;\n\n &:disabled,\n &.disabled {\n color: tokens.$ifxColorBaseWhite;\n opacity: tokens.$ifxOpacity100;\n pointer-events: none;\n\n }\n}\n\n.btn {\n & ifx-icon:empty {\n display: none;\n }\n\n &.btn-xs {\n font-size: tokens.$ifxFontSizeS;\n height: tokens.$ifxSize400;\n line-height: tokens.$ifxLineHeightXs;\n }\n\n &.btn-s {\n font-size: tokens.$ifxFontSizeS;\n height: tokens.$ifxSize450;\n line-height: tokens.$ifxLineHeightS;\n }\n\n // &.btn-m { //default\n // font-size: tokens.$ifxFontSizeM;\n // height: tokens.$ifxSize400;\n // line-height: tokens.$ifxLineHeightM;\n // }\n\n\n &.btn-l {\n font-size: tokens.$ifxFontSizeXl;\n height: tokens.$ifxSize600;\n line-height: tokens.$ifxLineHeightXl;\n }\n\n\n\n &.btn-default:not(:disabled, .disabled) {\n &:focus:not(:active, .active) {\n outline: none;\n box-shadow: 0 0 0 2px tokens.$ifxColorBaseWhite, 0 0 0 4px tokens.$ifxColorOcean500;\n }\n\n &:hover {\n background-color: tokens.$ifxColorOcean600;\n }\n\n &:active,\n &.active {\n background-color: tokens.$ifxColorOcean700;\n }\n }\n\n &.btn-secondary-default:not(:disabled, .disabled) {\n &:focus:not(:active, .active) {\n outline: none;\n box-shadow: 0 0 0 2px tokens.$ifxColorBaseWhite, 0 0 0 4px tokens.$ifxColorOcean500;\n }\n\n &:hover {\n color: tokens.$ifxColorBaseWhite;\n background-color: tokens.$ifxColorOcean600;\n }\n\n &:active,\n &.active {\n background-color: tokens.$ifxColorOcean700;\n }\n }\n\n &.btn-secondary:not(:disabled, .disabled) {\n\n &:hover {\n background-color: tokens.$ifxColorBerry500;\n }\n\n &:active,\n &.active {\n background-color: tokens.$ifxColorBerry500;\n }\n }\n\n\n\n &.btn-danger:not(:disabled, .disabled) {\n &:focus:not(:active, .active) {\n outline: none;\n box-shadow: 0 0 0 2px tokens.$ifxColorBaseWhite, 0 0 0 4px tokens.$ifxColorOcean500;\n }\n\n &:hover {\n background-color: tokens.$ifxColorRed600;\n }\n\n &:active,\n &.active {\n background-color: tokens.$ifxColorRed700;\n }\n }\n\n &.btn-secondary-danger:not(:disabled, .disabled) {\n\n &:focus:not(:active, .active) {\n outline: none;\n box-shadow: 0 0 0 2px tokens.$ifxColorBaseWhite, 0 0 0 4px tokens.$ifxColorOcean500;\n }\n\n &:hover {\n color: tokens.$ifxColorBaseWhite;\n background-color: tokens.$ifxColorRed600;\n }\n\n &:active,\n &.active {\n background-color: tokens.$ifxColorRed700;\n }\n }\n\n\n &.btn-inverse:not(:disabled, .disabled) {\n &:focus:not(:active, .active) {\n outline: none;\n box-shadow: 0 0 0 2px tokens.$ifxColorOcean500, 0 0 0 4px tokens.$ifxColorBaseWhite;\n }\n\n &:hover {\n background-color: tokens.$ifxColorEngineering200;\n }\n\n &:active,\n &.active {\n background-color: tokens.$ifxColorEngineering300;\n }\n }\n\n &.btn-secondary-inverse:not(:disabled, .disabled) {\n &:focus:not(:active, .active) {\n outline: none;\n box-shadow: 0 0 0 2px tokens.$ifxColorOcean500, 0 0 0 4px tokens.$ifxColorBaseWhite;\n }\n\n &:hover {\n color: tokens.$ifxColorOcean500;\n background-color: tokens.$ifxColorEngineering200;\n }\n\n &:active,\n &.active {\n color: tokens.$ifxColorOcean500;\n background-color: tokens.$ifxColorEngineering300;\n }\n }\n\n\n\n &.btn-tertiary-default:not(:disabled, .disabled) {\n &:focus:not(:active, .active) {\n outline: none;\n box-shadow: 0 0 0 2px tokens.$ifxColorBaseWhite, 0 0 0 4px tokens.$ifxColorOcean600;\n }\n\n &:hover {\n color: tokens.$ifxColorOcean600;\n }\n\n &:active,\n &.active {\n color: tokens.$ifxColorOcean700;\n }\n\n\n }\n\n\n\n\n\n &.btn-tertiary-danger:not(:disabled, .disabled) {\n &:focus:not(:active, .active) {\n outline: none;\n box-shadow: 0 0 0 2px tokens.$ifxColorBaseWhite, 0 0 0 4px tokens.$ifxColorRed600;\n }\n\n &:hover {\n color: tokens.$ifxColorRed600;\n }\n\n &:active,\n &.active {\n color: tokens.$ifxColorRed700;\n }\n\n }\n\n\n &.btn-tertiary-inverse:not(:disabled, .disabled) {\n &:focus:not(:active, .active) {\n outline: none;\n box-shadow: 0 0 0 2px tokens.$ifxColorOcean500, 0 0 0 4px tokens.$ifxColorBaseWhite;\n }\n\n &:hover {\n color: tokens.$ifxColorEngineering200;\n\n }\n\n &:active,\n &.active {\n color: tokens.$ifxColorEngineering300;\n }\n }\n}","import { Component, Prop, h, Host, Method, Element, Listen, State, Watch } from '@stencil/core';\nimport classNames from 'classnames';\n \n\n@Component({\n tag: 'ifx-button',\n styleUrl: 'button.scss',\n shadow: true,\n})\nexport class Button {\n @Prop() variant: 'primary' | 'secondary' | 'tertiary' = 'primary';\n @Prop() theme: 'default' | 'danger' | 'inverse' = 'default';\n @Prop() size: string = 'm';\n @Prop() disabled: boolean = false;\n @State() internalHref: string;\n @Prop() href: string;\n @Prop() target: string = '_self';\n @Prop() type: \"button\" | \"submit\" | \"reset\" = \"button\";\n @Prop() fullWidth: boolean = false;\n @Prop() ariaLabel: string | null;\n @Element() el;\n\n private focusableElement: HTMLElement;\n private nativeButton: HTMLButtonElement | HTMLInputElement;\n\n @Watch('href')\n setInternalHref(newValue: string) {\n this.internalHref = newValue;\n }\n\n @Method()\n async setFocus() {\n this.focusableElement.focus();\n }\n\n insertNativeButton() {\n this.nativeButton = document.createElement('button');\n this.nativeButton.type = this.type;\n this.nativeButton.style.display = 'none';\n this.el.closest('form').appendChild(this.nativeButton);\n }\n\n handleFormAndInternalHref() {\n if (this.el.closest('form')) {\n if (this.el.href) {\n this.el.internalHref = undefined;\n }\n this.insertNativeButton()\n } else {\n this.internalHref = this.href;\n }\n }\n\n handleButtonWidth() {\n if (this.fullWidth) {\n this.el.style.setProperty('--bw', '100%');\n } else {\n this.el.style.setProperty('--bw', 'fit-content');\n }\n }\n\n componentWillLoad() {\n this.handleFormAndInternalHref()\n }\n\n componentWillRender() {\n this.handleButtonWidth()\n }\n\n\n\n handleClick = (ev: Event) => {\n if (this.el.shadowRoot) {\n const parentForm = this.el.closest('form');\n if (parentForm) {\n ev.preventDefault();\n\n if (this.type === 'reset') {\n // If the button type is 'reset', manually reset all custom form fields\n this.resetClickHandler(); //this will reset all ifx-text-fields within a form\n } else {\n const fakeButton = document.createElement('button');\n if (this.type) {\n fakeButton.type = this.type;\n }\n fakeButton.style.display = 'none';\n parentForm.appendChild(fakeButton);\n fakeButton.click();\n fakeButton.remove();\n }\n }\n }\n }\n\n resetClickHandler() {\n const formElement = this.el.closest('form');\n const customElements = formElement.querySelectorAll('ifx-text-field, ifx-textarea');\n customElements.forEach(element => {\n element.reset();\n });\n }\n\n @Listen('keydown')\n handleKeyDown(ev: KeyboardEvent) {\n if ( ev.key === \" \" || ev.key === 'Enter' && !this.disabled) {\n this.focusableElement.click();\n }\n }\n\n @Listen('click', { capture: true })\n handleHostClick(event: Event) {\n if (this.disabled === true) {\n event.stopImmediatePropagation();\n }\n }\n\n handleFocus(event: FocusEvent) {\n if (this.disabled) {\n event.preventDefault();\n this.focusableElement.blur();\n }\n }\n\n render() {\n return (\n <Host>\n <a\n role={this.href ? 'link' : 'button'}\n tabIndex={this.disabled ? -1 : 0}\n ref={(el) => (this.focusableElement = el)}\n class={this.getClassNames()}\n href={!this.disabled ? this.internalHref : undefined}\n target={this.target}\n onClick={this.handleClick}\n rel={this.target === '_blank' ? 'noopener noreferrer' : undefined}\n onFocus={(event) => this.handleFocus(event)}\n aria-disabled={this.disabled ? 'true' : null}\n aria-describedby={this.theme === 'danger' ? 'Dangerous action' : undefined}\n aria-label={this.ariaLabel || undefined}\n >\n <slot></slot>\n </a>\n </Host>\n );\n }\n\n\n getVariantClass() {\n return `${this.variant}` === \"secondary\"\n ? `secondary-${this.theme}`\n : `${this.variant}` === 'tertiary'\n ? `tertiary-${this.theme}`\n : `${this.theme}`;\n }\n\n getSizeClass() {\n if (`${this.size}` === \"xs\") {\n return \"xs\"\n }\n else if (`${this.size}` === \"s\") {\n return \"s\"\n }\n else if (`${this.size}` === \"l\") {\n return \"l\"\n }\n else return \"\";\n }\n\n getClassNames() {\n return classNames(\n 'btn',\n this.size && `btn-${this.getSizeClass()}`,\n `btn-${this.getVariantClass()}`,\n this.disabled ? 'disabled' : ''\n );\n }\n}"],"mappings":"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","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as t,c as e,h as s,g as i}from"./p-e6edf72d.js";const r=':root{font-family:"Source Sans 3", sans-serif}.stepper{display:flex;align-items:center}.stepper.compact{align-items:center;gap:8px}.stepper.compact.compact-right{flex-direction:row-reverse;text-align:left}.stepper.compact .stepper-wrapper{width:unset;flex-direction:column}.stepper.vertical{height:100%}.stepper.vertical .stepper-wrapper{flex-direction:column;width:unset;height:100%}.stepper-wrapper{display:flex;flex-direction:row;width:100%}.stepper-wrapper ::slotted(*){display:flex;flex:1;justify-content:flex-start}.stepper-progress{display:flex;justify-content:center;align-items:center;font:600 0.875rem/1.25rem "Source Sans 3";min-width:56px;height:56px;border-radius:9999px;background:conic-gradient(#0A8276 var(--pb, 0%), #8D8786 0)}.stepper-progress .progress-detail{display:flex;justify-content:center;align-items:center;text-align:center;width:48px;height:48px;border-radius:9999px;background:white}';const p=r;const a=class{constructor(s){t(this,s);this.ifxChange=e(this,"ifxChange",7);this.activeStep=1;this.indicatorPosition="left";this.showStepNumber=false;this.variant="default";this.shouldEmitEvent=true;this.emittedByClick=false}onStepChange(t){const e=this.getSteps();const s=e[t.detail.previousActiveStep-1];if(s&&!s.complete){s.setAttribute("error","true")}}handleActiveStep(t,e){const s=this.getSteps();if(!this.shouldEmitEvent){this.shouldEmitEvent=true;return}if(s[t-1]){if(!s[t-1].disabled){this.emitIfxChange(t,e)}else{if(t<e){let i=t;this.shouldEmitEvent=false;while(i>=1&&s[i-1].disabled)i--;if(i<1){this.activeStep=e}else{this.emitIfxChange(i,e);this.activeStep=i}}else{let i=t;this.shouldEmitEvent=false;while(i<=this.stepsCount&&s[i-1].disabled)i++;if(i>this.stepsCount){this.activeStep=e}else{this.emitIfxChange(i,e);this.activeStep=i}}}}}emitIfxChange(t,e){this.ifxChange.emit({activeStep:t,previousActiveStep:e,totalSteps:this.stepsCount,emittedByClick:this.emittedByClick});this.emittedByClick=false}getSteps(){const t=this.el.querySelectorAll("ifx-step");return t}addStepIdsToStepsAndCountSteps(){const t=this.getSteps();t[t.length-1].lastStep=true;for(let e=0;e<t.length;e++){t[e].stepId=e+1}this.stepsCount=t.length}setActiveStep(t,e=false){this.emittedByClick=e;this.activeStep=t}setStepsBeforeActiveToComplete(){const t=this.getSteps();t.forEach(((t,e)=>{if(e+1<this.activeStep)t.complete=true}))}syncIfxSteps(){const t=this.getSteps();for(let e=0;e<t.length;e++){const s={activeStep:this.activeStep,indicatorPosition:this.indicatorPosition!=="right"?"left":"right",showStepNumber:this.showStepNumber,variant:this.variant!=="compact"&&this.variant!=="vertical"?"default":this.variant,setActiveStep:this.setActiveStep.bind(this)};t[e].stepperState=s}}setInitialActiveStep(){this.activeStep=Math.max(1,Math.min(this.stepsCount+(this.variant!=="compact"?1:0),this.activeStep))}componentWillLoad(){this.addStepIdsToStepsAndCountSteps();this.setInitialActiveStep();this.setStepsBeforeActiveToComplete()}componentDidLoad(){this.syncIfxSteps()}componentWillUpdate(){this.syncIfxSteps()}render(){return s("div",{key:"797f8d8dcc699cfedf33c1a03d73d92fa452789e","aria-label":"a stepper",role:"navigation",class:`stepper ${this.variant!=="compact"&&this.variant!=="vertical"?"default":this.variant} ${this.variant==="compact"?"compact-"+this.indicatorPosition:""}`},this.variant==="compact"&&s("div",{key:"809a1220c3920494be1e8ad0894d2e4eaf586823",class:"stepper-progress"},s("div",{key:"ca02c1f0c34d24363f030b828d6d9807140687fe",class:"progress-detail"},`${Math.min(this.activeStep,this.stepsCount)} of ${this.stepsCount}`)),s("div",{key:"dbed479b177e2535fcdf3ef7f5b1be04b6839074",class:`stepper-wrapper`},s("slot",{key:"ad74e85e68cb12d1737066d07274e00b04db7077"})))}componentDidRender(){if(this.variant=="compact"){const t=this.el.shadowRoot.querySelector(".stepper-progress");t.style.setProperty("--pb",`${this.activeStep/this.stepsCount*100}%`)}}get el(){return i(this)}static get watchers(){return{activeStep:["handleActiveStep"]}}};a.style=p;export{a as ifx_stepper};
2
- //# sourceMappingURL=p-d9f7f285.entry.js.map
@@ -1,2 +0,0 @@
1
- import{r as e,c as t,h as o,g as i}from"./p-e6edf72d.js";const s=':root{font-family:"Source Sans 3", sans-serif}.dropdown-item{text-decoration:none;color:#1D1D1D;display:flex;align-items:center;padding:8px 16px;gap:8px;font-family:"Source Sans 3"}.dropdown-item.hide{display:none}.dropdown-item span{color:#1D1D1D;font-size:16px;font-style:normal;font-weight:400;line-height:24px;}.dropdown-item.small span{font-size:14px}.dropdown-item:hover{cursor:pointer;background-color:#EEEDED}.dropdown-item:active{background-color:#BFBBBB}.icon{margin-right:4px}';const n=s;const d=class{constructor(o){e(this,o);this.ifxDropdownItem=t(this,"ifxDropdownItem",7);this.href="";this.target="_self";this.hide=false;this.size="l"}handleMenuSize(e){this.size=e.detail}handleEventEmission(){this.ifxDropdownItem.emit(this.el.textContent)}render(){let e=this.href?{href:this.href,target:this.target}:{};return o("a",Object.assign({key:"5ec61a932268bd6bc279546d2718347deec616f7"},e,{onClick:()=>this.handleEventEmission(),class:`dropdown-item ${this.size==="s"?"small":""} ${this.hide?"hide":""}`}),this.icon&&o("ifx-icon",{key:"f8644bd37348ec718f54657faaf912d48b2b696d",class:"icon",icon:this.icon}),o("span",{key:"c3643953f6fcf084a3d033df50b79bc8de562640"},o("slot",{key:"624c93095768745e9af06b60f7a7f5fcdbe0d05e"})))}get el(){return i(this)}};d.style=n;export{d as ifx_dropdown_item};
2
- //# sourceMappingURL=p-db9bdd7d.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["dropdownItemCss","IfxDropdownItemStyle0","DropdownItem","constructor","hostRef","this","href","target","hide","size","handleMenuSize","event","detail","handleEventEmission","ifxDropdownItem","emit","el","textContent","render","hrefAttr","h","Object","assign","key","onClick","class","icon"],"sources":["src/components/dropdown/dropdown-item/dropdown-item.scss?tag=ifx-dropdown-item&encapsulation=shadow","src/components/dropdown/dropdown-item/dropdown-item.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../../global/font.scss\";\n\n.dropdown-item {\n text-decoration: none;\n color: tokens.$ifxColorBaseBlack;\n display: flex;\n align-items: center;\n padding: 8px 16px;\n gap: tokens.$ifxSize100;\n font-family: tokens.$ifxFontFamilyBody;\n\n &.hide {\n display: none;\n }\n\n & span {\n color: tokens.$ifxColorBaseBlack;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n /* 150% */\n }\n\n &.small {\n & span {\n font-size: 14px;\n }\n }\n\n &:hover {\n cursor: pointer;\n background-color: tokens.$ifxColorEngineering200;\n }\n\n &:active {\n background-color: tokens.$ifxColorEngineering300;\n }\n}\n\n.icon {\n margin-right: 4px;\n}","// dropdown-item.tsx\nimport { Component, Prop, h, Listen, State, Event, EventEmitter, Element } from \"@stencil/core\";\n\n@Component({\n tag: 'ifx-dropdown-item',\n styleUrl: 'dropdown-item.scss',\n shadow: true\n})\n\nexport class DropdownItem {\n @Prop() icon: string;\n @Prop() href: string = \"\"\n @Prop() target: string = \"_self\"\n @Prop() hide: boolean = false;\n @State() size: string = 'l'\n @Event() ifxDropdownItem: EventEmitter;\n @Element() el;\n\n @Listen('menuSize', { target: 'body' })\n handleMenuSize(event: CustomEvent) {\n this.size = event.detail;\n }\n\n handleEventEmission() {\n this.ifxDropdownItem.emit(this.el.textContent)\n }\n\n render() {\n let hrefAttr = this.href ? { href: this.href, target: this.target } : {};\n return (\n <a {...hrefAttr} onClick={() => this.handleEventEmission()} class={`dropdown-item ${this.size === 's' ? 'small' : \"\"} ${this.hide ? 'hide' : \"\"}`}>\n {this.icon && <ifx-icon class=\"icon\" icon={this.icon}></ifx-icon>}\n <span>\n <slot />\n </span>\n </a>\n );\n }\n}"],"mappings":"yDAAA,MAAMA,EAAkB,0eACxB,MAAAC,EAAeD,E,MCQFE,EAAY,MANzB,WAAAC,CAAAC,G,2DAQUC,KAAAC,KAAe,GACfD,KAAAE,OAAiB,QACjBF,KAAAG,KAAgB,MACfH,KAAAI,KAAe,G,CAKxB,cAAAC,CAAeC,GACbN,KAAKI,KAAOE,EAAMC,M,CAGpB,mBAAAC,GACER,KAAKS,gBAAgBC,KAAKV,KAAKW,GAAGC,Y,CAGpC,MAAAC,GACE,IAAIC,EAAWd,KAAKC,KAAO,CAAEA,KAAMD,KAAKC,KAAMC,OAAQF,KAAKE,QAAW,GACtE,OACEa,EAAA,IAAAC,OAAAC,OAAA,CAAAC,IAAA,4CAAOJ,EAAQ,CAAEK,QAAS,IAAMnB,KAAKQ,sBAAuBY,MAAO,iBAAiBpB,KAAKI,OAAS,IAAM,QAAU,MAAMJ,KAAKG,KAAO,OAAS,OAC1IH,KAAKqB,MAAQN,EAAA,YAAAG,IAAA,2CAAUE,MAAM,OAAOC,KAAMrB,KAAKqB,OAChDN,EAAA,QAAAG,IAAA,4CACEH,EAAA,QAAAG,IAAA,8C","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as e,h as t}from"./p-e6edf72d.js";const r=':root{font-family:"Source Sans 3", sans-serif}.step-wrapper{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;width:100%;gap:8px;font:400 1rem/1.5rem "Source Sans 3"}.step-wrapper.vertical{flex-direction:row;gap:12px;width:unset;height:100%}.step-wrapper.vertical .step-icon-wrapper{flex-direction:column;width:unset;height:100%}.step-wrapper.compact{gap:0;max-width:100%}.step-wrapper.compact .step-label{max-width:100%;cursor:auto;align-self:flex-start}.step-wrapper.compact.indicator-left{align-items:flex-end;text-align:right}.step-wrapper.compact.indicator-right{align-items:flex-start}.step-wrapper .step-label{max-width:90%;color:#8D8786;word-wrap:break-word}.step-wrapper .step-label.curr-label{font:600 1.25rem/1.75rem "Source Sans 3"}.step-wrapper .step-label.next-label{font:400 0.75rem/1rem "Source Sans 3"}.step-wrapper .step-label :hover{color:#8D8786}.step-wrapper.first-step .step-connector-l{height:0px}.step-wrapper.last-step .step-connector-r{height:0px}.step-wrapper.vertical.first-step .step-connector-l,.step-wrapper.vertical.last-step .step-connector-r{width:0px}.step-wrapper.complete .step-connector-l,.step-wrapper.complete .step-connector-r,.step-wrapper.complete .step-icon{background:#0A8276}.step-wrapper.complete .step-connector-l.active,.step-wrapper.complete .step-connector-l.error,.step-wrapper.complete .step-connector-r.active,.step-wrapper.complete .step-connector-r.error,.step-wrapper.complete .step-icon.active,.step-wrapper.complete .step-icon.error{background:#8D8786}.step-wrapper.complete:not(.disabled) .step-label{cursor:pointer;color:#1D1D1D}.step-wrapper.complete:not(.disabled) .step-label :hover{color:#08665C}.step-wrapper.disabled .step-connector-l,.step-wrapper.disabled .step-connector-r,.step-wrapper.disabled .step-icon{background-color:#8D8786}.step-wrapper.disabled .step-label,.step-wrapper.disabled .step-label :hover{color:#8D8786}.step-wrapper.active .step-connector-l,.step-wrapper.active .step-connector-r,.step-wrapper.active .step-icon{background:#0A8276}.step-wrapper.active .step-connector-l.active,.step-wrapper.active .step-connector-l.error,.step-wrapper.active .step-connector-r.active,.step-wrapper.active .step-connector-r.error,.step-wrapper.active .step-icon.active,.step-wrapper.active .step-icon.error{background:#8D8786}.step-wrapper.active .step-label,.step-wrapper.active .step-label :hover{color:#1D1D1D}.step-wrapper.active.complete .step-label{cursor:auto}.step-wrapper.clickable:not(.active) .step-label{cursor:pointer}.step-wrapper.error:not(.active){color:#CD002F}.step-wrapper.error:not(.active) .step-label{color:#CD002F}.step-wrapper.error:not(.active) .step-label :hover{color:#0A8276}.step-wrapper.disabled .step-label{cursor:auto}.step-wrapper:hover.complete:not(.disabled):not(.active) .step-connector-l,.step-wrapper:hover.complete:not(.disabled):not(.active) .step-connector-r,.step-wrapper:hover.complete:not(.disabled):not(.active) .step-icon{background:#08665C}.step-wrapper:hover.complete:not(.disabled):not(.active) .step-connector-l.active,.step-wrapper:hover.complete:not(.disabled):not(.active) .step-connector-l.error,.step-wrapper:hover.complete:not(.disabled):not(.active) .step-connector-r.active,.step-wrapper:hover.complete:not(.disabled):not(.active) .step-connector-r.error,.step-wrapper:hover.complete:not(.disabled):not(.active) .step-icon.active,.step-wrapper:hover.complete:not(.disabled):not(.active) .step-icon.error{background:#8D8786}.step-wrapper:hover.complete:not(.disabled):not(.active) .step-label{color:#08665C}.active-indic{width:16px;height:16px;border-radius:9999px;background:white}.step-icon-wrapper{display:flex;flex-direction:row;justify-content:center;align-items:center;width:100%}.step-icon{width:24px;height:24px;background-color:#8D8786;border-radius:9999px;display:flex;align-items:center;justify-content:center;color:white}.step-connector-r,.step-connector-l{height:2px;min-width:40px;flex-grow:1;background-color:#8D8786}.vertical .step-connector-r,.vertical .step-connector-l{height:unset;min-width:unset;width:2px;min-height:40px}';const p=r;const s=class{constructor(t){e(this,t);this.complete=false;this.disabled=false;this.error=false;this.lastStep=false;this.stepId=1;this.stepperState={activeStep:1,showStepNumber:false,variant:"default",indicatorPosition:"left"};this.clickable=false}onStepChange(e){const t=e.detail.previousActiveStep;if(t===this.stepId&&this.error){this.clickable=true}}updateCurrentStep(e){this.active=e.activeStep===this.stepId}updateErrorState(){if(this.active){this.error=false}}handleStepClick(){if(!this.disabled&&this.stepperState.variant!=="compact"&&(this.clickable||this.complete)){this.stepperState.setActiveStep(this.stepId,true)}}handleStepKeyDown(e){if(!this.disabled&&this.stepperState.variant!=="compact"&&(this.clickable||this.complete)&&e.key==="Enter"){this.stepperState.setActiveStep(this.stepId,true)}}stopOnClickPropogation(e){if(this.disabled){e.stopPropagation()}}render(){return t("div",{key:"9914ec28d308a59dae9f0f6117b2aece72ac6438","aria-current":this.active?"step":false,"aria-disabled":this.active||this.complete?false:true,onClick:e=>this.stopOnClickPropogation(e),class:`step-wrapper ${this.stepId===1?"first-step":""} \n ${this.error?"error":""}\n ${this.stepperState.variant}\n ${this.complete?"complete":""}\n ${this.lastStep?"last-step":""}\n indicator-${this.stepperState.indicatorPosition}\n ${this.active?"active":""}\n ${this.clickable?"clickable":""}\n ${this.disabled?"disabled":""}`},t("div",{key:"6017ac474bcbc1afa7ed1ec416bf0302fdbd5cdd",class:"step-icon-wrapper"},this.stepperState.variant!=="compact"&&t("span",{key:"0a90ed22e8b55a0a20d463347edd656ece131992",class:"step-connector-l"}),this.stepperState.variant!=="compact"&&(!this.error||this.error&&this.active)&&t("div",{key:"c21888305852d7434847c329a7f7569ff2ac3b7d",class:"step-icon"},this.stepperState.showStepNumber&&!this.complete&&!this.active?this.stepId:"",this.complete&&!this.active&&t("ifx-icon",{key:"1a97cd47db4fe64eda55a1418511bb1e78bc1332",icon:"check16"}),this.active&&t("span",{key:"2b918fa4f3052c7e6c5597f175956802ec2f34bb",class:"active-indic"})),this.stepperState.variant!=="compact"&&this.error&&!this.active&&t("ifx-icon",{key:"b515f8cab0008f14c9e1ba9a5f085792a440a2cc",icon:"warningf24"}),this.stepperState.variant!=="compact"&&t("span",{key:"772ef8271ffb3398a7bcfedb732a12e43250ae98",class:`step-connector-r ${this.active?"active":""}`})),(this.stepperState.variant!=="compact"||this.stepperState.variant==="compact"&&(this.active||this.stepId===this.stepperState.activeStep+1))&&t("div",{key:"b16463d3fb54cafc520cb7799f647884f28989f0",tabIndex:!this.disabled&&this.complete&&!this.active?0:-1,class:`step-label ${this.stepperState.variant==="compact"?this.active?"curr-label":"next-label":""}`,onClick:()=>{this.handleStepClick()},onKeyDown:e=>{this.handleStepKeyDown(e)}},this.stepperState.variant!=="compact"&&t("slot",{key:"81c8b0a1310dcb02c0c668c2ac7ed84902e31a8f"}),this.stepperState.variant==="compact"&&!this.active?"Next: ":"",this.stepperState.variant==="compact"&&t("slot",{key:"c20034f2bee0fea186754be2480b75552f4ea9e9"})))}static get watchers(){return{stepperState:["updateCurrentStep"],active:["updateErrorState"]}}};s.style=p;export{s as ifx_step};
2
- //# sourceMappingURL=p-dba0c2d2.entry.js.map
@@ -1,2 +0,0 @@
1
- import{r as n,h as e,g as t}from"./p-e6edf72d.js";const a=':root{font-family:"Source Sans 3", sans-serif}:host{display:inline-flex}.numberIndicator__container{height:16px;display:inline-flex;padding:0;min-width:16px;justify-content:center;align-items:center;border-radius:100px;background-color:#0A8276}.numberIndicator__container span{padding:0 4px;color:#FFFFFF;text-align:center;font-size:0.875rem;font-style:normal;font-weight:600;line-height:16px}.numberIndicator__container.inverted{background-color:#FFFFFF}.numberIndicator__container.inverted span{color:#0A8276}.content-wrapper{display:none}';const r=a;const i=class{constructor(e){n(this,e);this.inverted=false}handleSlotChange(n){var e,t;const a=n.target;const r=((t=(e=a.assignedNodes({flatten:true})[0])===null||e===void 0?void 0:e.textContent)===null||t===void 0?void 0:t.trim())||"";const i=parseInt(r,10);this.displayValue=!isNaN(i)&&i>99?"99+":i}render(){return e("div",{key:"16c3170610d742a0a9fe387e82600d48a1a6f065","aria-label":"a number indicator",class:`numberIndicator__container ${this.inverted?"inverted":""}`},e("span",{key:"044f49592dc0532bc0126697973f31b4c96c3dc8",class:"content-wrapper"},e("slot",{key:"b76b3e80fac9cf93e53d50400d6e1fb16fcfe2cd",onSlotchange:n=>this.handleSlotChange(n)})),e("span",{key:"ec745e545fae2a05db0204754af6889b04adc079"},this.displayValue))}get el(){return t(this)}};i.style=r;export{i as ifx_number_indicator};
2
- //# sourceMappingURL=p-dc5ff11a.entry.js.map
@@ -1,2 +0,0 @@
1
- import{r as e,c as t,h as o,a as n,g as i}from"./p-e6edf72d.js";function a(e,t,o,n=20,i=0){const d=[];if(i>=n){return d}const s=e=>{const d=e.assignedNodes().filter((e=>e.nodeType===1));if(d.length>0){const e=d[0].parentElement;return a(e,t,o,n,i+1)}return[]};const r=Array.from(e.children||[]);for(const e of r){if(t(e)){continue}if(o(e)){d.push(e)}if(e.shadowRoot!=null){d.push(...a(e.shadowRoot,t,o,n,i+1))}else if(e.tagName==="SLOT"){d.push(...s(e))}else{d.push(...a(e,t,o,n,i+1))}}return d}function d(e){return e.hasAttribute("hidden")||e.hasAttribute("aria-hidden")&&e.getAttribute("aria-hidden")!=="false"||e.style.display===`none`||e.style.opacity===`0`||e.style.visibility===`hidden`||e.style.visibility===`collapse`}function s(e){return e.hasAttribute("disabled")||e.hasAttribute("aria-disabled")&&e.getAttribute("aria-disabled")!=="false"}function r(e){if(e.getAttribute("tabindex")==="-1"||d(e)||s(e)){return false}return e.hasAttribute("tabindex")||(e instanceof HTMLAnchorElement||e instanceof HTMLAreaElement)&&e.hasAttribute("href")||e instanceof HTMLButtonElement||e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement||e instanceof HTMLSelectElement||e instanceof HTMLIFrameElement}function c(e,t,o){const n=e.animate(t,Object.assign(Object.assign({},o),{fill:"both"}));n.addEventListener("finish",(()=>{n.commitStyles();n.cancel()}));return n}const l={easing:"cubic-bezier(0.390, 0.575, 0.565, 1.000)"};const f={fadeIn:[Object.assign(Object.assign({offset:0},l),{opacity:0}),Object.assign(Object.assign({offset:1},l),{opacity:1})],fadeOut:[Object.assign(Object.assign({offset:0},l),{opacity:1}),Object.assign(Object.assign({offset:1},l),{opacity:0})]};const h=':root{font-family:"Source Sans 3", sans-serif}:host{display:block}.modal-container{display:none;justify-content:center;align-items:center;position:fixed;top:0;left:0;width:100%;height:100%;z-index:1060;overflow-y:auto;font-family:"Source Sans 3"}.modal-container.open{display:flex}.modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:#1D1D1D;opacity:0.5;z-index:0}.modal-content-container{position:absolute;display:flex;justify-content:center;width:90%;min-height:218px;background-color:#fff;border-radius:0;box-shadow:0 2px 10px rgba(0, 0, 0, 0.1);overflow:hidden;box-sizing:border-box;align-items:stretch}@media screen and (min-width: 768px){.modal-content-container{width:540px;min-height:132px}.modal-content-container.m,.modal-content-container.l,.modal-content-container.s{width:90%}}@media screen and (min-width: 1024px){.modal-content-container.s{width:47vw}.modal-content-container.m{width:63vw}.modal-content-container.l{width:80%}}.modal-content{display:flex;flex-direction:column;width:100%;max-height:90vh}.modal-icon-container{display:flex;align-items:center;justify-content:center;width:32px;background-color:#0A8276;align-self:stretch}.modal-icon-container.danger{background-color:#CD002F}.modal-icon-container ifx-icon{color:#FFFFFF}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:24px;min-height:76px;max-height:105px;box-sizing:border-box;border-radius:1px 1px 0px 0px;border-bottom:1px solid #EEEDED}.modal-caption{max-height:56px;display:-webkit-box;overflow:hidden;white-space:pre-wrap;word-wrap:break-word;-webkit-line-clamp:2;-webkit-box-orient:vertical}.modal-header h2{margin:0;font-weight:600;font-size:1.25rem;line-height:28px}.modal-header button{background:none;border:none;font-size:1.5em;padding:0;cursor:pointer}.modal-close-button{align-self:flex-start;margin-right:-8px}.modal-body{padding:16px 24px;min-height:56px;box-sizing:border-box;flex:1;overflow-y:auto}.modal-footer.buttons-present ::slotted(*){display:flex;justify-content:flex-end;gap:16px;padding:16px 24px 32px 16px}.modal-border{display:flex;align-items:center;justify-content:center;width:100%;font-size:1.5em;flex-grow:1}.modal-border.primary{background-color:#0A8276}.modal-border.secondary{background-color:#575352}.modal-border.danger{background-color:#CD002F}.modal-border.success{background-color:#4CA460}.modal-border.warning{background-color:#E16B25}.modal-border.orange{background-color:#E16B25}.modal-border.ocean{background-color:#0A8276}.modal-border.grey{background-color:#575352}.modal-border.grey-200{background-color:#EEEDED}.modal-border.red{background-color:#CD002F}.modal-border.green{background-color:#4CA460}.modal-border.berry{background-color:#9C216E}';const b=h;const u=class{constructor(o){e(this,o);this.ifxOpen=t(this,"ifxOpen",7);this.ifxClose=t(this,"ifxClose",7);this.opened=false;this.showModal=this.opened||false;this.caption="Modal Title";this.closeOnOverlayClick=true;this.variant="default";this.size="s";this.alertIcon="";this.okButtonLabel="OK";this.cancelButtonLabel="Cancel";this.slotButtonsPresent=false;this.showCloseButton=true;this.focusableElements=[];this.handleTopFocus=()=>{this.attemptFocus(this.getLastFocusableElement())};this.handleBottomFocus=()=>{this.attemptFocus(this.getFirstFocusableElement())};this.handleKeypress=e=>{if(!this.showModal){return}if(e.key==="Escape"){this.doBeforeClose("ESCAPE_KEY")}}}componentDidLoad(){this.focusableElements=a(this.hostElement.shadowRoot,(e=>d(e)||e.matches("[data-focus-trap-edge]")),r)}getFirstFocusableElement(){return this.focusableElements[0]}getLastFocusableElement(){return this.focusableElements[this.focusableElements.length-1]}attemptFocus(e){if(e==null){setTimeout((()=>{this.closeButton.focus()}));return}setTimeout((()=>{e.focus()}),0)}open(){this.showModal=true;try{const e=c(this.modalContainer,f.fadeIn,{duration:200});e.addEventListener("finish",(()=>{setTimeout((()=>{var e,t;(e=this.getLastFocusableElement())===null||e===void 0?void 0:e.focus();(t=this.getLastFocusableElement())===null||t===void 0?void 0:t.blur()}),0);this.ifxOpen.emit()}));this.hostElement.addEventListener("keydown",this.handleKeypress)}catch(e){this.ifxOpen.emit()}}close(){try{const e=c(this.modalContainer,f.fadeOut,{duration:200});e.addEventListener("finish",(()=>{this.showModal=false;this.ifxClose.emit()}));this.hostElement.removeEventListener("keydown",this.handleKeypress)}catch(e){this.showModal=false;this.ifxClose.emit()}}doBeforeClose(e){const t=[];t.push(e);const o=t.some((e=>e.defaultPrevented));if(!o){this.opened=false}}openedChanged(e){if(e===true){this.open()}else{this.close()}}handleOverlayClick(){if(this.closeOnOverlayClick){this.doBeforeClose("BACKDROP")}}handleButtonsSlotChange(e){var t;if(((t=e.currentTarget.assignedElements()[0])===null||t===void 0?void 0:t.childElementCount)>0){this.slotButtonsPresent=true}else{this.slotButtonsPresent=false}}render(){const e=this.variant!=="default";return o(n,{key:"ea8cc72507298fc769e75b6c04b0efd98d2e804d"},o("div",{key:"909dfb62f78fd771ca46c3c452aa73d8f4cc58c4",ref:e=>this.modalContainer=e,class:`modal-container ${this.showModal?"open":""}`},o("div",{key:"1f380c2d3619234fa6dd6bff95fd3b5b0f714427",class:"modal-overlay",onClick:()=>this.handleOverlayClick()}),o("div",{key:"a6f5a719151ffccdde3c95015ab331603646625e","data-focus-trap-edge":true,onFocus:this.handleTopFocus,tabindex:"0"}),o("div",{key:"570d67838b40e1f292a783ad0c4de54d25dc15f1",class:`modal-content-container ${this.size}`,role:"dialog","aria-modal":"true","aria-label":this.caption},e?o("div",{class:`modal-icon-container ${this.variant==="alert-brand"?"":"danger"}`},this.alertIcon?o("ifx-icon",{icon:this.alertIcon}):null):null,o("div",{key:"fd0a152494722c1453a401a448124f085c2383e1",class:"modal-content"},o("div",{key:"f4fa940f7d1f7efc7d2fb8adbe77df30ae841b0a",class:"modal-header"},o("h2",{key:"d8849e0d30cde669fcd39e655ceca9c7e82fb5ed",class:"modal-caption"},this.caption),this.showCloseButton&&o("ifx-icon-button",{key:"5496cd581f68d6cb48b7a51d3c971f7e6aab306c",class:"modal-close-button",ref:e=>this.closeButton=e,icon:"cross-24",variant:"tertiary",onClick:()=>this.doBeforeClose("CLOSE_BUTTON")})),o("div",{key:"830eddd92cb12f36918feb91634c7516207edd96",class:"modal-body"},o("slot",{key:"8e99c69225725aa169b526720baa05378394163f",name:"content"})),o("div",{key:"75ad5053564128df6c02d1feeb8078c229c069a9",class:`modal-footer ${this.slotButtonsPresent?"buttons-present":""}`},o("slot",{key:"b2d42250cc895c5f45cbadad6b5c58bb58848d16",name:"buttons",onSlotchange:e=>this.handleButtonsSlotChange(e)})))),o("div",{key:"7c79425ab61abc91c9d1d10c377452e93a2f8b25","data-focus-trap-edge":true,onFocus:this.handleBottomFocus,tabindex:"0"})))}get hostElement(){return i(this)}static get watchers(){return{opened:["openedChanged"]}}};u.style=b;export{u as ifx_modal};
2
- //# sourceMappingURL=p-dd27040f.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["queryShadowRoot","root","skipNode","isMatch","maxDepth","depth","matches","traverseSlot","$slot","assignedNodes","filter","node","nodeType","length","$slotParent","parentElement","children","Array","from","$child","push","shadowRoot","tagName","isHidden","$elem","hasAttribute","getAttribute","style","display","opacity","visibility","isDisabled","isFocusable","HTMLAnchorElement","HTMLAreaElement","HTMLButtonElement","HTMLInputElement","HTMLTextAreaElement","HTMLSelectElement","HTMLIFrameElement","animationTo","element","keyframes","options","animated","animate","Object","assign","fill","addEventListener","commitStyles","cancel","keyframeDefaults","easing","KEYFRAMES","fadeIn","offset","fadeOut","modalCss","IfxModalStyle0","IfxModal","constructor","hostRef","this","opened","showModal","caption","closeOnOverlayClick","variant","size","alertIcon","okButtonLabel","cancelButtonLabel","slotButtonsPresent","showCloseButton","focusableElements","handleTopFocus","attemptFocus","getLastFocusableElement","handleBottomFocus","getFirstFocusableElement","handleKeypress","event","key","doBeforeClose","componentDidLoad","hostElement","el","setTimeout","closeButton","focus","open","anim","modalContainer","duration","_a","_b","blur","ifxOpen","emit","err","close","ifxClose","removeEventListener","trigger","triggers","prevented","some","defaultPrevented","openedChanged","newValue","handleOverlayClick","handleButtonsSlotChange","e","currentTarget","assignedElements","childElementCount","render","isAlertVariant","h","Host","ref","class","onClick","onFocus","tabindex","role","icon","name","onSlotchange"],"sources":["src/global/utils/focus-trap.ts","src/global/utils/animation.ts","src/components/modal/modal.scss?tag=ifx-modal&encapsulation=shadow","src/components/modal/modal.tsx"],"sourcesContent":["/**\n * Copy/pasted from https://github.com/andreasbm/focus-trap\n */\n\n/**\n * Traverses the slots of the open shadowroots and returns all children matching the query.\n * We need to traverse each child-depth one at a time because if an element should be skipped\n * (for example because it is hidden) we need to skip all of it's children. If we use querySelectorAll(\"*\")\n * the information of whether the children is within a hidden parent is lost.\n * @param {ShadowRoot | HTMLElement} root\n * @param skipNode\n * @param isMatch\n * @param {number} maxDepth\n * @param {number} depth\n * @returns {HTMLElement[]}\n */\nexport function queryShadowRoot(\n root: ShadowRoot | HTMLElement,\n skipNode: ($elem: HTMLElement) => boolean,\n isMatch: ($elem: HTMLElement) => boolean,\n maxDepth: number = 20,\n depth: number = 0\n): HTMLElement[] {\n const matches: HTMLElement[] = [];\n\n // If the depth is above the max depth, abort the searching here.\n if (depth >= maxDepth) {\n return matches;\n }\n\n // Traverses a slot element\n const traverseSlot = ($slot: HTMLSlotElement) => {\n // Only check nodes that are of the type Node.ELEMENT_NODE\n // Read more here https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType\n const assignedNodes = $slot\n .assignedNodes()\n .filter((node) => node.nodeType === 1);\n if (assignedNodes.length > 0) {\n const $slotParent = assignedNodes[0].parentElement!;\n return queryShadowRoot(\n $slotParent,\n skipNode,\n isMatch,\n maxDepth,\n depth + 1\n );\n }\n\n return [];\n };\n\n // Go through each child and continue the traversing if necessary\n // Even though the typing says that children can't be undefined, Edge 15 sometimes gives an undefined value.\n // Therefore we fallback to an empty array if it is undefined.\n const children = Array.from(root.children || []) as HTMLElement[];\n for (const $child of children) {\n // Check if the element and its descendants should be skipped\n if (skipNode($child)) {\n // console.log('-- SKIP', $child);\n continue;\n }\n\n // console.log('$child', $child);\n\n // If the element matches we always add it\n if (isMatch($child)) {\n matches.push($child);\n }\n\n if ($child.shadowRoot != null) {\n // If the element has a shadow root we need to traverse it\n matches.push(\n ...queryShadowRoot(\n $child.shadowRoot,\n skipNode,\n isMatch,\n maxDepth,\n depth + 1\n )\n );\n } else if ($child.tagName === 'SLOT') {\n // If the child is a slot we need to traverse each assigned node\n matches.push(...traverseSlot($child as HTMLSlotElement));\n } else {\n // Traverse the children of the element\n matches.push(\n ...queryShadowRoot($child, skipNode, isMatch, maxDepth, depth + 1)\n );\n }\n }\n\n return matches;\n}\n\n/**\n * Returns whether the element is hidden.\n * @param $elem\n */\nexport function isHidden($elem: HTMLElement): boolean {\n return (\n $elem.hasAttribute('hidden') ||\n ($elem.hasAttribute('aria-hidden') &&\n $elem.getAttribute('aria-hidden') !== 'false') ||\n // A quick and dirty way to check whether the element is hidden.\n // For a more fine-grained check we could use \"window.getComputedStyle\" but we don't because of bad performance.\n // If the element has visibility set to \"hidden\" or \"collapse\", display set to \"none\" or opacity set to \"0\" through CSS\n // we won't be able to catch it here. We accept it due to the huge performance benefits.\n $elem.style.display === `none` ||\n $elem.style.opacity === `0` ||\n $elem.style.visibility === `hidden` ||\n $elem.style.visibility === `collapse`\n );\n\n // If offsetParent is null we can assume that the element is hidden\n // https://stackoverflow.com/questions/306305/what-would-make-offsetparent-null\n // || $elem.offsetParent == null;\n}\n\n/**\n * Returns whether the element is disabled.\n * @param $elem\n */\nexport function isDisabled($elem: HTMLElement): boolean {\n return (\n $elem.hasAttribute('disabled') ||\n ($elem.hasAttribute('aria-disabled') &&\n $elem.getAttribute('aria-disabled') !== 'false')\n );\n}\n\n/**\n * Determines whether an element is focusable.\n * Read more here: https://stackoverflow.com/questions/1599660/which-html-elements-can-receive-focus/1600194#1600194\n * Or here: https://stackoverflow.com/questions/18261595/how-to-check-if-a-dom-element-is-focusable\n * @param $elem\n */\nexport function isFocusable($elem: HTMLElement): boolean {\n // Discard elements that are removed from the tab order.\n if (\n $elem.getAttribute('tabindex') === '-1' ||\n isHidden($elem) ||\n isDisabled($elem)\n ) {\n return false;\n }\n\n return (\n // At this point we know that the element can have focus (eg. won't be -1) if the tabindex attribute exists\n $elem.hasAttribute('tabindex') ||\n // Anchor tags or area tags with a href set\n (($elem instanceof HTMLAnchorElement || $elem instanceof HTMLAreaElement) &&\n $elem.hasAttribute('href')) ||\n // Form elements which are not disabled\n $elem instanceof HTMLButtonElement ||\n $elem instanceof HTMLInputElement ||\n $elem instanceof HTMLTextAreaElement ||\n $elem instanceof HTMLSelectElement ||\n // IFrames\n $elem instanceof HTMLIFrameElement\n );\n}","export function animationTo(\n element: HTMLElement,\n keyframes: Keyframe | Keyframe[],\n options?: KeyframeAnimationOptions\n) {\n const animated = element.animate(keyframes, { ...options, fill: 'both' });\n animated.addEventListener('finish', () => {\n // @ts-ignore\n animated.commitStyles();\n animated.cancel();\n });\n\n return animated;\n}\n\nconst keyframeDefaults = {\n easing: 'cubic-bezier(0.390, 0.575, 0.565, 1.000)',\n};\n\nexport const KEYFRAMES = {\n fadeIn: [\n {\n offset: 0,\n ...keyframeDefaults,\n opacity: 0,\n },\n {\n offset: 1,\n ...keyframeDefaults,\n opacity: 1,\n },\n ],\n fadeOut: [\n {\n offset: 0,\n ...keyframeDefaults,\n opacity: 1,\n },\n {\n offset: 1,\n ...keyframeDefaults,\n opacity: 0,\n },\n ],\n};","@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n:host {\n display: block;\n}\n\n.modal-container {\n display: none;\n justify-content: center;\n align-items: center;\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: 1060;\n overflow-y: auto;\n font-family: tokens.$ifxFontFamilyBody;\n\n}\n\n.modal-container.open {\n display: flex;\n}\n\n.modal-overlay {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: tokens.$ifxColorBaseBlack;\n opacity: 0.5;\n z-index: 0;\n}\n\n.modal-content-container {\n position: absolute;\n display: flex;\n justify-content: center;\n width: 90%;\n min-height: 218px;\n background-color: #fff;\n border-radius: tokens.$ifxBorderRadiusNone;\n box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);\n \n overflow: hidden;\n\n box-sizing: border-box;\n align-items: stretch;\n}\n\n/* Add desktop size here */\n@media screen and (min-width: 768px) {\n .modal-content-container {\n width: 540px;\n min-height: 132px;\n\n &.m,\n &.l,\n &.s {\n width: 90%;\n }\n }\n}\n\n@media screen and (min-width: 1024px) {\n .modal-content-container {\n\n &.s {\n width: 47vw;\n }\n\n &.m {\n width: 63vw;\n }\n\n &.l {\n width: 80%;\n }\n }\n}\n\n.modal-content {\n display: flex;\n flex-direction: column;\n width: 100%;\n max-height: 90vh;\n}\n\n.modal-icon-container {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 32px;\n background-color: tokens.$ifxColorOcean500;\n align-self: stretch;\n\n &.danger {\n background-color: tokens.$ifxColorRed500;\n }\n\n & ifx-icon {\n color: tokens.$ifxColorBaseWhite;\n }\n}\n\n.modal-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 24px;\n min-height: 76px;\n max-height: 105px;\n box-sizing: border-box;\n border-radius: 1px 1px 0px 0px;\n border-bottom: 1px solid tokens.$ifxColorEngineering200;\n}\n\n.modal-caption {\n max-height: 56px;\n display: -webkit-box;\n overflow: hidden;\n white-space: pre-wrap;\n word-wrap: break-word;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical; \n}\n\n.modal-header h2 {\n margin: 0;\n font-weight: tokens.$ifxFontWeightSemibold;\n font-size: tokens.$ifxFontSizeXl;\n line-height: 28px;\n}\n\n.modal-header button {\n background: none;\n border: none;\n font-size: 1.5em;\n padding: 0;\n cursor: pointer;\n}\n\n.modal-close-button {\n align-self: flex-start;\n margin-right: -8px;\n}\n\n.modal-body {\n padding: 16px 24px;\n min-height: 56px;\n box-sizing: border-box;\n flex: 1;\n \n overflow-y: auto;\n}\n\n.modal-footer.buttons-present ::slotted(*){\n display: flex;\n justify-content: flex-end;\n gap: 16px;\n padding: 16px 24px 32px 16px\n}\n\n.modal-border {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n font-size: 1.5em;\n flex-grow: 1;\n\n &.primary {\n background-color: tokens.$ifxColorOcean500;\n }\n\n &.secondary {\n background-color: tokens.$ifxColorEngineering500;\n }\n\n &.danger {\n background-color: tokens.$ifxColorRed500;\n }\n\n &.success {\n background-color: tokens.$ifxColorGreen500;\n }\n\n &.warning {\n background-color: tokens.$ifxColorOrange500;\n }\n\n &.orange {\n background-color: tokens.$ifxColorOrange500;\n }\n\n &.ocean {\n background-color: tokens.$ifxColorOcean500;\n }\n\n &.grey {\n background-color: tokens.$ifxColorEngineering500;\n }\n\n &.grey-200 {\n background-color: tokens.$ifxColorEngineering200;\n }\n\n &.red {\n background-color: tokens.$ifxColorRed500;\n }\n\n &.green {\n background-color: tokens.$ifxColorGreen500;\n }\n\n &.berry {\n background-color: tokens.$ifxColorBerry500;\n }\n}","import { Component, Prop, Element, State, Event, Host, EventEmitter, h, Watch } from '@stencil/core';\nimport { queryShadowRoot, isHidden, isFocusable } from '../../global/utils/focus-trap';\nimport { animationTo, KEYFRAMES } from '../../global/utils/animation';\n \n\ntype CloseEventTrigger = 'CLOSE_BUTTON' | 'ESCAPE_KEY' | 'BACKDROP';\n\nexport interface BeforeCloseEventDetail {\n trigger: CloseEventTrigger;\n}\n@Component({\n tag: 'ifx-modal',\n styleUrl: 'modal.scss',\n shadow: true\n})\nexport class IfxModal {\n @Prop({ reflect: true, mutable: true }) opened?: boolean = false;\n @State() showModal: boolean = this.opened || false;\n\n @Prop() caption: string = 'Modal Title';\n @Prop() closeOnOverlayClick: boolean = true;\n\n @Event() ifxOpen: EventEmitter;\n @Event() ifxClose: EventEmitter;\n\n @Prop() variant: 'default' | 'alert-brand' | 'alert-danger' = 'default';\n \n @Prop() size: 's' | 'm' | 'l' = 's';\n\n @Prop() alertIcon: string = '';\n @Prop() okButtonLabel: string = 'OK';\n @Prop() cancelButtonLabel: string = 'Cancel';\n @Element() hostElement: HTMLElement;\n\n @State() slotButtonsPresent: boolean = false;\n\n @Prop() showCloseButton: boolean = true;\n\n private modalContainer: HTMLElement;\n private focusableElements: HTMLElement[] = [];\n private closeButton: HTMLButtonElement | HTMLIfxIconButtonElement;\n\n componentDidLoad() {\n // Query all focusable elements and store them in `focusableElements`.\n // Needed for the \"focus trap\" functionality.\n this.focusableElements = queryShadowRoot(\n this.hostElement.shadowRoot,\n (el) => isHidden(el) || el.matches('[data-focus-trap-edge]'),\n isFocusable\n );\n\n }\n\n getFirstFocusableElement(): HTMLElement | null {\n return this.focusableElements[0];\n }\n\n getLastFocusableElement(): HTMLElement | null {\n return this.focusableElements[this.focusableElements.length - 1];\n }\n\n handleTopFocus = () => {\n this.attemptFocus(this.getLastFocusableElement());\n };\n\n handleBottomFocus = () => {\n this.attemptFocus(this.getFirstFocusableElement());\n };\n\n\n attemptFocus(element: HTMLElement | null) {\n if (element == null) {\n setTimeout(() => { //wait until DOM is fully loaded\n this.closeButton.focus();\n },);\n return;\n }\n\n setTimeout(() => { //wait until DOM is fully loaded\n element.focus();\n }, 0);\n }\n\n\n open() {\n this.showModal = true;\n try {\n const anim = animationTo(this.modalContainer, KEYFRAMES.fadeIn, {\n duration: 200,\n });\n anim.addEventListener('finish', () => {\n // Setting focus on last item and removing immediately\n // so, on tab press first element is focused\n setTimeout(() => {\n this.getLastFocusableElement()?.focus();\n this.getLastFocusableElement()?.blur();\n }, 0);\n\n this.ifxOpen.emit();\n });\n\n this.hostElement.addEventListener('keydown', this.handleKeypress);\n } catch (err) {\n this.ifxOpen.emit();\n\n }\n\n\n }\n\n close() {\n try {\n const anim = animationTo(this.modalContainer, KEYFRAMES.fadeOut, {\n duration: 200,\n });\n anim.addEventListener('finish', () => {\n this.showModal = false;\n this.ifxClose.emit();\n });\n this.hostElement.removeEventListener('keydown', this.handleKeypress);\n } catch (err) {\n this.showModal = false;\n this.ifxClose.emit();\n }\n }\n\n handleKeypress = (event: KeyboardEvent) => {\n if (!this.showModal) {\n return;\n }\n if (event.key === 'Escape') {\n this.doBeforeClose('ESCAPE_KEY');\n }\n };\n\n\n doBeforeClose(trigger: CloseEventTrigger) {\n const triggers = [];\n triggers.push(trigger);\n const prevented = triggers.some((event) => event.defaultPrevented);\n if (!prevented) {\n this.opened = false;\n }\n }\n\n\n\n @Watch('opened')\n openedChanged(newValue) {\n if (newValue === true) {\n this.open();\n } else {\n this.close()\n }\n }\n\n\n handleOverlayClick() {\n if (this.closeOnOverlayClick) {\n this.doBeforeClose('BACKDROP')\n }\n }\n\n\n handleButtonsSlotChange(e) {\n if(e.currentTarget.assignedElements()[0]?.childElementCount > 0) {\n this.slotButtonsPresent = true;\n }else{\n this.slotButtonsPresent = false;\n }\n }\n\n\n render() {\n const isAlertVariant = this.variant !== 'default';\n return (\n <Host>\n <div\n ref={(el) => (this.modalContainer = el)}\n class={`modal-container ${this.showModal ? 'open' : ''}`}\n >\n <div\n class=\"modal-overlay\"\n onClick={() => this.handleOverlayClick()}\n ></div>\n <div\n data-focus-trap-edge\n onFocus={this.handleTopFocus}\n tabindex=\"0\"\n ></div>\n <div\n class={`modal-content-container ${this.size}`}\n role=\"dialog\"\n aria-modal=\"true\"\n aria-label={this.caption}>\n {isAlertVariant ? (\n <div class={`modal-icon-container ${this.variant === 'alert-brand' ? '' : 'danger'}`}>\n {this.alertIcon ? <ifx-icon icon={this.alertIcon} /> : null}\n </div>\n ) : null}\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h2 class=\"modal-caption\">{this.caption}</h2>\n { \n this.showCloseButton && \n <ifx-icon-button class = 'modal-close-button' ref={(el) => (this.closeButton = el)} icon=\"cross-24\" variant=\"tertiary\" onClick={() => this.doBeforeClose('CLOSE_BUTTON') }>\n </ifx-icon-button>\n }\n </div>\n <div class=\"modal-body\">\n <slot name=\"content\" /*onSlotchange={() => console.log('slots children modified')}*/ />\n </div>\n <div class={`modal-footer ${this.slotButtonsPresent ? 'buttons-present' : ''}`}>\n <slot name=\"buttons\" onSlotchange={(e)=>this.handleButtonsSlotChange(e)}>\n </slot>\n </div>\n </div>\n </div>\n <div\n data-focus-trap-edge\n onFocus={this.handleBottomFocus}\n tabindex=\"0\"\n ></div>\n </div>\n </Host>\n\n );\n }\n}"],"mappings":"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","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as t,h as e,g as o}from"./p-e6edf72d.js";const i=':root{font-family:"Source Sans 3", sans-serif}.checkbox-group-container{display:flex;flex-direction:column}.checkbox-group{display:flex;font-family:"Source Sans 3";gap:8px}.checkbox-group.horizontal{flex-direction:row;column-gap:12px}.checkbox-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}';const s=i;const a=class{constructor(e){t(this,e);this.errorStates=new Map;this.alignment="vertical";this.groupLabelText="Group Label Text";this.hasErrors=false;this.handleSlotChange=()=>{this.initializeState()}}handleCheckboxError(t){const e=t.target;if(e.tagName==="ifx-checkbox"){this.errorStates.set(e,t.detail);this.updateHasErrors()}}async setGroupError(t){const e=Array.from(this.el.querySelectorAll("ifx-checkbox"));e.forEach((e=>{e.error=t}))}componentWillLoad(){this.initializeState()}initializeState(){this.errorStates.clear();const t=Array.from(this.el.querySelectorAll("ifx-checkbox"));t.forEach((t=>{if(!this.errorStates.has(t)){this.errorStates.set(t,t.error||false)}}));this.updateHasErrors()}updateHasErrors(){this.hasErrors=Array.from(this.errorStates.values()).some((t=>t))}render(){return e("div",{key:"2f455a4fa40d089e1aafab0b669aa4f4ded80be0",class:"checkbox-group-container"},this.showGroupLabel?e("div",{class:"group-label"},this.groupLabelText," *"):"",e("div",{key:"eb6f16bf53e13620681c87eb7cb4062a37abd068",class:`checkbox-group ${this.alignment} ${this.size}`},e("slot",{key:"00ec08507a2ef1ff8e893b6c8b9aa917a7735224",onSlotchange:this.handleSlotChange})),this.showCaption?e("div",{class:`caption ${this.hasErrors?"error":"default"}`},this.showCaptionIcon?e("div",{class:"caption-icon"},e("ifx-icon",{icon:"c-info-16"})):"",e("div",{class:"caption-text"},this.captionText)):"")}static get formAssociated(){return true}get el(){return o(this)}};a.style=s;export{a as ifx_checkbox_group};
2
- //# sourceMappingURL=p-e93396ed.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["checkboxGroupCss","IfxCheckboxGroupStyle0","CheckboxGroup","constructor","hostRef","this","errorStates","Map","alignment","groupLabelText","hasErrors","handleSlotChange","initializeState","handleCheckboxError","event","checkbox","target","tagName","set","detail","updateHasErrors","setGroupError","error","checkboxes","Array","from","el","querySelectorAll","forEach","componentWillLoad","clear","has","values","some","render","h","key","class","showGroupLabel","size","onSlotchange","showCaption","showCaptionIcon","icon","captionText"],"sources":["src/components/checkbox-group/checkbox-group.scss?tag=ifx-checkbox-group&encapsulation=shadow","src/components/checkbox-group/checkbox-group.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n.checkbox-group-container {\n display: flex;\n flex-direction: column;\n}\n\n.checkbox-group {\n display: flex;\n 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-checkbox-group',\n styleUrl: 'checkbox-group.scss',\n shadow: true,\n formAssociated: true\n})\n\nexport class CheckboxGroup {\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 handleCheckboxError(event: CustomEvent) {\n const checkbox = event.target as HTMLElement;\n if (checkbox.tagName === 'ifx-checkbox') {\n this.errorStates.set(checkbox, event.detail);\n this.updateHasErrors();\n }\n }\n\n // Method to set the error state of all checkboxes in the group\n @Method()\n async setGroupError(error: boolean) {\n const checkboxes = Array.from(this.el.querySelectorAll('ifx-checkbox'));\n checkboxes.forEach((checkbox) => {\n (checkbox 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 checkboxes = Array.from(this.el.querySelectorAll('ifx-checkbox'));\n checkboxes.forEach((checkbox) => {\n if (!this.errorStates.has(checkbox)) {\n this.errorStates.set(checkbox, (checkbox 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='checkbox-group-container'>\n {this.showGroupLabel ? <div class='group-label'>{this.groupLabelText} *</div> : ''}\n <div class={`checkbox-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}"],"mappings":"kDAAA,MAAMA,EAAmB,6yBACzB,MAAAC,EAAeD,E,MCQFE,EAAa,MAP1B,WAAAC,CAAAC,G,UAQUC,KAAAC,YAAyC,IAAIC,IAG7CF,KAAAG,UAAuC,WAGvCH,KAAAI,eAAyB,mBAIxBJ,KAAAK,UAAqB,MAwB9BL,KAAAM,iBAAmB,KACjBN,KAAKO,iBAAiB,C,CAtBxB,mBAAAC,CAAoBC,GAClB,MAAMC,EAAWD,EAAME,OACvB,GAAID,EAASE,UAAY,eAAgB,CACvCZ,KAAKC,YAAYY,IAAIH,EAAUD,EAAMK,QACrCd,KAAKe,iB,EAMT,mBAAMC,CAAcC,GAClB,MAAMC,EAAaC,MAAMC,KAAKpB,KAAKqB,GAAGC,iBAAiB,iBACvDJ,EAAWK,SAASb,IACjBA,EAAiBO,MAAQA,CAAK,G,CAInC,iBAAAO,GACExB,KAAKO,iB,CAOC,eAAAA,GACNP,KAAKC,YAAYwB,QACjB,MAAMP,EAAaC,MAAMC,KAAKpB,KAAKqB,GAAGC,iBAAiB,iBACvDJ,EAAWK,SAASb,IAClB,IAAKV,KAAKC,YAAYyB,IAAIhB,GAAW,CACnCV,KAAKC,YAAYY,IAAIH,EAAWA,EAAiBO,OAAS,M,KAG9DjB,KAAKe,iB,CAGC,eAAAA,GACNf,KAAKK,UAAYc,MAAMC,KAAKpB,KAAKC,YAAY0B,UAAUC,MAAMX,GAAUA,G,CAGzE,MAAAY,GACE,OACEC,EAAA,OAAAC,IAAA,2CAAKC,MAAM,4BACRhC,KAAKiC,eAAiBH,EAAA,OAAKE,MAAM,eAAehC,KAAKI,eAAc,MAAY,GAChF0B,EAAA,OAAAC,IAAA,2CAAKC,MAAO,kBAAkBhC,KAAKG,aAAaH,KAAKkC,QACnDJ,EAAA,QAAAC,IAAA,2CAAMI,aAAcnC,KAAKM,oBAE1BN,KAAKoC,YACJN,EAAA,OAAKE,MAAO,WAAWhC,KAAKK,UAAY,QAAU,aAC/CL,KAAKqC,gBAAkBP,EAAA,OAAKE,MAAM,gBAAeF,EAAA,YAAUQ,KAAK,eAC7C,GACpBR,EAAA,OAAKE,MAAM,gBAAgBhC,KAAKuC,cACxB,G","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as e,h as n}from"./p-e6edf72d.js";const o=':root{font-family:"Source Sans 3", sans-serif}:host{display:inline-flex}.badge__container{display:inline-flex;justify-content:center;align-items:center;padding:4px 8px;gap:8px;border:1px solid #EEEDED;background-color:#EEEDED;border-radius:100px;font-family:"Source Sans 3";font-size:0.875rem;line-height:1.25rem;font-weight:400;color:#1D1D1D}';const r=o;const a=class{constructor(n){e(this,n)}render(){return n("div",{key:"eaa5be7836515fc284e17ed7fb6acfdcc6ce11f1",class:"badge__container"},n("slot",{key:"f00f0415cb6cdfa25ce8e7b0df798f8a98eb2373"}))}};a.style=r;export{a as ifx_badge};
2
- //# sourceMappingURL=p-f88b928c.entry.js.map
@@ -1,2 +0,0 @@
1
- import{r as e,h as o}from"./p-e6edf72d.js";const a=':root{font-family:"Source Sans 3", sans-serif}.dropdown-header{display:flex;padding:8px 16px;align-items:center;gap:8px;align-self:stretch;border-bottom:1px solid #EEEDED;font-family:"Source Sans 3"}.dropdown-header span{color:#575352;font-family:"Source Sans 3";font-size:14px;font-style:normal;font-weight:400;line-height:20px;}';const d=a;const r=class{constructor(o){e(this,o)}render(){return o("div",{key:"5b074bc6dca271a18713c34a4c4f8cb40a2ea265",class:"dropdown-header"},o("span",{key:"69ed109762bf3ae540d1c5489f5bebbd8107b1cd"},o("slot",{key:"b9fe8b98734bd887f25df7a211b5b5587d7bf994"})))}};r.style=d;export{r as ifx_dropdown_header};
2
- //# sourceMappingURL=p-fc455450.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["dropdownHeaderCss","IfxDropdownHeaderStyle0","DropdownHeader","render","h","key","class"],"sources":["src/components/dropdown/dropdown-header/dropdown-header.scss?tag=ifx-dropdown-header&encapsulation=shadow","src/components/dropdown/dropdown-header/dropdown-header.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../../global/font.scss\";\n\n.dropdown-header {\n display: flex;\n padding: 8px 16px;\n align-items: center;\n gap: 8px;\n align-self: stretch;\n border-bottom: 1px solid tokens.$ifxColorEngineering200;\n font-family: tokens.$ifxFontFamilyBody;\n\n\n & span {\n color: tokens.$ifxColorEngineering500;\n font-family: tokens.$ifxFontFamilyBody;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n /* 142.857% */\n }\n}","// dropdown-separator.tsx\nimport { Component, h } from \"@stencil/core\";\n\n@Component({\n tag: 'ifx-dropdown-header',\n styleUrl: 'dropdown-header.scss',\n shadow: true\n})\n\nexport class DropdownHeader {\n render() {\n return (\n <div class='dropdown-header'>\n <span>\n <slot />\n </span>\n </div>\n )\n }\n}"],"mappings":"2CAAA,MAAMA,EAAoB,6UAC1B,MAAAC,EAAeD,E,MCQFE,EAAc,M,yBACzB,MAAAC,GACE,OACEC,EAAA,OAAAC,IAAA,2CAAKC,MAAM,mBACTF,EAAA,QAAAC,IAAA,4CACED,EAAA,QAAAC,IAAA,8C","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as e,c as t,h as r,a,g as s}from"./p-e6edf72d.js";const i=':root{font-family:"Source Sans 3", sans-serif}:host{display:flex;flex-direction:column;width:100%}.wrapper__label{color:#1D1D1D;font:400 1rem/1.5rem "Source Sans 3"}:host(.wrapper--disabled) .wrapper__label{color:#575352}.wrapper__textarea{width:100%}.wrapper__textarea.fullWidth{width:100%}.wrapper__textarea.fullWidth textarea{width:100%;box-sizing:border-box}.wrapper__textarea textarea{border:1px solid #8D8786;border-radius:1px;padding:8px 16px;background-color:#FFFFFF;color:#1D1D1D;font:400 1rem/1.5rem "Source Sans 3";transition:all 100ms ease;transition-property:border-color}.wrapper__textarea textarea:hover{border:1px solid #575352}.wrapper__textarea textarea:focus-within{outline:none;border:1px solid #0A8276}:host(.wrapper--error) .wrapper__textarea textarea{border:1px solid #CD002F}:host(.wrapper--disabled) .wrapper__textarea textarea{border:1px solid #575352;background-color:#EEEDED}.wrapper__caption{color:#1D1D1D;font:400 0.75rem/1rem "Source Sans 3"}:host(.wrapper--error) .wrapper__caption{color:#CD002F}:host(.wrapper--disabled) .wrapper__caption{color:#575352}';const o=i;const l=class{constructor(r){e(this,r);this.ifxInput=t(this,"ifxInput",7);if(r.$hostElement$["s-ei"]){this.internals=r.$hostElement$["s-ei"]}else{this.internals=r.$hostElement$.attachInternals();r.$hostElement$["s-ei"]=this.internals}this.inputId=`ifx-textarea-${++h}`;this.disabled=false;this.error=false;this.readOnly=false;this.resize="both";this.wrap="soft";this.fullWidth="false"}async reset(){this.resetTextarea()}handleComponentWidth(){const e=this.el.shadowRoot.querySelector(".wrapper__textarea");const t=this.fullWidth.toLowerCase()==="true";if(t){e.classList.add("fullWidth")}else if(e.classList.contains("fullWidth")){e.classList.remove("fullWidth")}}componentDidRender(){this.handleComponentWidth()}formResetCallback(){this.resetTextarea();this.internals.setFormValue("")}handleOnInput(e){this.value=e.target.value;this.internals.setFormValue(this.value);this.ifxInput.emit(this.value)}resetTextarea(){this.value="";this.internals.setValidity({});this.internals.setFormValue("")}componentWillLoad(){this.internals.setFormValue(this.value)}render(){var e,t;return r(a,{key:"c04bd9f6eb75e14607f6b81fb32065752fd814ac",class:`wrapper--${this.error?"error":""} wrapper--${this.disabled?"disabled":""}`},r("label",{key:"bd270704eaedbd3fb127015dd5d9993839a75135",class:"wrapper__label",htmlFor:this.inputId},(e=this.label)===null||e===void 0?void 0:e.trim()),r("div",{key:"2ff0f414ce2209a5f7bdc9400b2c7c2356da39fd",class:"wrapper__textarea"},r("textarea",{key:"65007882cbf52104ee22af96beacb9d882bbf245","aria-label":"a textarea","aria-value":this.value,"aria-disabled":this.disabled,id:this.inputId,style:{resize:this.resize},name:this.name?this.name:this.inputId,cols:this.cols,rows:this.rows,maxlength:this.maxlength,wrap:this.wrap,disabled:this.disabled,readonly:this.readOnly,placeholder:this.placeholder,value:this.value,onInput:e=>this.handleOnInput(e)})),((t=this.caption)===null||t===void 0?void 0:t.trim())&&r("div",{key:"c44b21fd8eef93920228267d9baf51a12bcf08ea",class:"wrapper__caption"},this.caption.trim()))}static get formAssociated(){return true}get el(){return s(this)}};let h=0;l.style=o;export{l as ifx_textarea};
2
- //# sourceMappingURL=p-fe55dfcd.entry.js.map