@infineon/infineon-design-system-stencil 33.1.1--canary.1824.75b5030250f4474f2c947b6e8dc7055bdc915c43.0 → 33.1.1--canary.1818.94e54a71935d0367c21fd257850df436af269985.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (670) hide show
  1. package/dist/cjs/ifx-accordion_2.cjs.entry.js +2 -2
  2. package/dist/cjs/ifx-accordion_2.cjs.entry.js.map +1 -1
  3. package/dist/cjs/ifx-alert_2.cjs.entry.js +2 -2
  4. package/dist/cjs/ifx-alert_2.cjs.entry.js.map +1 -1
  5. package/dist/cjs/ifx-badge.cjs.entry.js +1 -1
  6. package/dist/cjs/ifx-badge.cjs.entry.js.map +1 -1
  7. package/dist/cjs/ifx-basic-table.cjs.entry.js +2 -2
  8. package/dist/cjs/ifx-basic-table.cjs.entry.js.map +1 -1
  9. package/dist/cjs/ifx-breadcrumb-item.cjs.entry.js +1 -1
  10. package/dist/cjs/ifx-breadcrumb-item.cjs.entry.js.map +1 -1
  11. package/dist/cjs/ifx-breadcrumb.cjs.entry.js +1 -1
  12. package/dist/cjs/ifx-breadcrumb.cjs.entry.js.map +1 -1
  13. package/dist/cjs/ifx-button.cjs.entry.js +1 -1
  14. package/dist/cjs/ifx-button.cjs.entry.js.map +1 -1
  15. package/dist/cjs/ifx-card-headline.cjs.entry.js +1 -1
  16. package/dist/cjs/ifx-card-headline.cjs.entry.js.map +1 -1
  17. package/dist/cjs/ifx-card.cjs.entry.js +1 -1
  18. package/dist/cjs/ifx-card.cjs.entry.js.map +1 -1
  19. package/dist/cjs/ifx-checkbox-group.cjs.entry.js +1 -1
  20. package/dist/cjs/ifx-checkbox-group.cjs.entry.js.map +1 -1
  21. package/dist/cjs/ifx-checkbox.cjs.entry.js +1 -1
  22. package/dist/cjs/ifx-checkbox.cjs.entry.js.map +1 -1
  23. package/dist/cjs/ifx-chip_3.cjs.entry.js +2 -2
  24. package/dist/cjs/ifx-chip_3.cjs.entry.js.map +1 -1
  25. package/dist/cjs/ifx-dropdown-header.cjs.entry.js +1 -1
  26. package/dist/cjs/ifx-dropdown-header.cjs.entry.js.map +1 -1
  27. package/dist/cjs/ifx-dropdown-item.cjs.entry.js +1 -1
  28. package/dist/cjs/ifx-dropdown-item.cjs.entry.js.map +1 -1
  29. package/dist/cjs/ifx-dropdown-menu.cjs.entry.js +1 -1
  30. package/dist/cjs/ifx-dropdown-menu.cjs.entry.js.map +1 -1
  31. package/dist/cjs/ifx-faq.cjs.entry.js +1 -1
  32. package/dist/cjs/ifx-filter-accordion.cjs.entry.js +2 -2
  33. package/dist/cjs/ifx-filter-bar.cjs.entry.js +1 -1
  34. package/dist/cjs/ifx-filter-search.cjs.entry.js +2 -2
  35. package/dist/cjs/ifx-filter-search.cjs.entry.js.map +1 -1
  36. package/dist/cjs/ifx-filter-type-group.cjs.entry.js +1 -1
  37. package/dist/cjs/ifx-footer-column.cjs.entry.js +2 -2
  38. package/dist/cjs/ifx-footer-column.cjs.entry.js.map +1 -1
  39. package/dist/cjs/ifx-footer.cjs.entry.js +5 -5
  40. package/dist/cjs/ifx-footer.cjs.entry.js.map +1 -1
  41. package/dist/cjs/ifx-icon-button.cjs.entry.js +2 -2
  42. package/dist/cjs/ifx-icon-button.cjs.entry.js.map +1 -1
  43. package/dist/cjs/ifx-icon.cjs.entry.js +1 -1
  44. package/dist/cjs/ifx-icons-preview.cjs.entry.js +1 -1
  45. package/dist/cjs/ifx-link.cjs.entry.js +2 -2
  46. package/dist/cjs/ifx-link.cjs.entry.js.map +1 -1
  47. package/dist/cjs/ifx-list-entry.cjs.entry.js +1 -1
  48. package/dist/cjs/ifx-modal.cjs.entry.js +3 -3
  49. package/dist/cjs/ifx-modal.cjs.entry.js.map +1 -1
  50. package/dist/cjs/ifx-multiselect.cjs.entry.js +1 -1
  51. package/dist/cjs/ifx-multiselect.cjs.entry.js.map +1 -1
  52. package/dist/cjs/ifx-navbar-item.cjs.entry.js +6 -6
  53. package/dist/cjs/ifx-navbar-item.cjs.entry.js.map +1 -1
  54. package/dist/cjs/ifx-navbar-profile.cjs.entry.js +4 -4
  55. package/dist/cjs/ifx-navbar-profile.cjs.entry.js.map +1 -1
  56. package/dist/cjs/ifx-navbar.cjs.entry.js +4 -4
  57. package/dist/cjs/ifx-navbar.cjs.entry.js.map +1 -1
  58. package/dist/cjs/ifx-notification.cjs.entry.js +3 -3
  59. package/dist/cjs/ifx-notification.cjs.entry.js.map +1 -1
  60. package/dist/cjs/ifx-number-indicator.cjs.entry.js +1 -1
  61. package/dist/cjs/ifx-overview-table.cjs.entry.js +1 -1
  62. package/dist/cjs/ifx-progress-bar.cjs.entry.js +2 -2
  63. package/dist/cjs/ifx-progress-bar.cjs.entry.js.map +1 -1
  64. package/dist/cjs/ifx-radio-button-group.cjs.entry.js +2 -2
  65. package/dist/cjs/ifx-radio-button-group.cjs.entry.js.map +1 -1
  66. package/dist/cjs/ifx-radio-button.cjs.entry.js +3 -3
  67. package/dist/cjs/ifx-radio-button.cjs.entry.js.map +1 -1
  68. package/dist/cjs/ifx-search-bar.cjs.entry.js +2 -2
  69. package/dist/cjs/ifx-search-bar.cjs.entry.js.map +1 -1
  70. package/dist/cjs/ifx-search-field.cjs.entry.js +2 -2
  71. package/dist/cjs/ifx-search-field.cjs.entry.js.map +1 -1
  72. package/dist/cjs/ifx-segment.cjs.entry.js +1 -1
  73. package/dist/cjs/ifx-segmented-control.cjs.entry.js +2 -2
  74. package/dist/cjs/ifx-select.cjs.entry.js +3 -3
  75. package/dist/cjs/ifx-select.cjs.entry.js.map +1 -1
  76. package/dist/cjs/ifx-sidebar-item.cjs.entry.js +6 -6
  77. package/dist/cjs/ifx-sidebar-item.cjs.entry.js.map +1 -1
  78. package/dist/cjs/ifx-sidebar-title.cjs.entry.js +1 -1
  79. package/dist/cjs/ifx-sidebar.cjs.entry.js +6 -6
  80. package/dist/cjs/ifx-sidebar.cjs.entry.js.map +1 -1
  81. package/dist/cjs/ifx-slider.cjs.entry.js +2 -2
  82. package/dist/cjs/ifx-spinner_2.cjs.entry.js +7 -7
  83. package/dist/cjs/ifx-spinner_2.cjs.entry.js.map +1 -1
  84. package/dist/cjs/ifx-status.cjs.entry.js +2 -2
  85. package/dist/cjs/ifx-status.cjs.entry.js.map +1 -1
  86. package/dist/cjs/ifx-step.cjs.entry.js +4 -4
  87. package/dist/cjs/ifx-stepper.cjs.entry.js +2 -2
  88. package/dist/cjs/ifx-switch.cjs.entry.js +1 -1
  89. package/dist/cjs/ifx-tab.cjs.entry.js +1 -1
  90. package/dist/cjs/ifx-table.cjs.entry.js +3 -3
  91. package/dist/cjs/ifx-table.cjs.entry.js.map +1 -1
  92. package/dist/cjs/ifx-tabs.cjs.entry.js +3 -3
  93. package/dist/cjs/ifx-tabs.cjs.entry.js.map +1 -1
  94. package/dist/cjs/ifx-tag.cjs.entry.js +2 -2
  95. package/dist/cjs/ifx-tag.cjs.entry.js.map +1 -1
  96. package/dist/cjs/ifx-templates-ui.cjs.entry.js +1 -1
  97. package/dist/cjs/ifx-textarea.cjs.entry.js +1 -1
  98. package/dist/cjs/ifx-tooltip.cjs.entry.js +5 -5
  99. package/dist/cjs/ifx-tooltip.cjs.entry.js.map +1 -1
  100. package/dist/cjs/index-c9480f70.js +8 -12
  101. package/dist/cjs/infineon-design-system-stencil.cjs.js +1 -1
  102. package/dist/cjs/loader.cjs.js +1 -1
  103. package/dist/collection/collection-manifest.json +0 -1
  104. package/dist/collection/components/accordion/accordion.css +1 -1
  105. package/dist/collection/components/accordion/accordionItem.css +1 -1
  106. package/dist/collection/components/alert/alert.css +2 -2
  107. package/dist/collection/components/badge/badge.css +1 -1
  108. package/dist/collection/components/breadcrumb/breadcrumb-item.css +1 -1
  109. package/dist/collection/components/breadcrumb/breadcrumb.css +1 -1
  110. package/dist/collection/components/button/button.css +1 -1
  111. package/dist/collection/components/card/card-headline/card-headline.css +1 -1
  112. package/dist/collection/components/card/card.css +1 -1
  113. package/dist/collection/components/checkbox/checkbox.css +1 -1
  114. package/dist/collection/components/checkbox-group/checkbox-group.css +1 -1
  115. package/dist/collection/components/dropdown/dropdown-header/dropdown-header.css +2 -2
  116. package/dist/collection/components/dropdown/dropdown-item/dropdown-item.css +1 -1
  117. package/dist/collection/components/dropdown/dropdown-menu/dropdown-menu.css +1 -1
  118. package/dist/collection/components/footer/footer-column.css +1 -1
  119. package/dist/collection/components/footer/footer-column.js +1 -1
  120. package/dist/collection/components/footer/footer.css +1 -1
  121. package/dist/collection/components/footer/footer.js +4 -4
  122. package/dist/collection/components/icon/infineonIconStencil.js +1 -1
  123. package/dist/collection/components/icon-button/icon-button.css +1 -1
  124. package/dist/collection/components/icon-button/icon-button.js +1 -1
  125. package/dist/collection/components/icons-preview/icons-preview.js +1 -1
  126. package/dist/collection/components/link/link.css +1 -1
  127. package/dist/collection/components/link/link.js +1 -1
  128. package/dist/collection/components/modal/modal.css +1 -1
  129. package/dist/collection/components/modal/modal.js +2 -2
  130. package/dist/collection/components/navigation/navbar/navbar-item.css +3 -3
  131. package/dist/collection/components/navigation/navbar/navbar-item.js +5 -5
  132. package/dist/collection/components/navigation/navbar/navbar-profile.js +3 -3
  133. package/dist/collection/components/navigation/navbar/navbar.css +2 -2
  134. package/dist/collection/components/navigation/navbar/navbar.js +3 -3
  135. package/dist/collection/components/navigation/sidebar/sidebar-item.css +1 -1
  136. package/dist/collection/components/navigation/sidebar/sidebar-item.js +5 -5
  137. package/dist/collection/components/navigation/sidebar/sidebar-title.js +1 -1
  138. package/dist/collection/components/navigation/sidebar/sidebar.css +1 -1
  139. package/dist/collection/components/navigation/sidebar/sidebar.js +5 -5
  140. package/dist/collection/components/notification/notification.css +1 -1
  141. package/dist/collection/components/notification/notification.js +2 -2
  142. package/dist/collection/components/number-indicator/number-indicator.js +1 -1
  143. package/dist/collection/components/overview-table/overview-table.js +1 -1
  144. package/dist/collection/components/pagination/pagination.css +1 -1
  145. package/dist/collection/components/pagination/pagination.js +1 -1
  146. package/dist/collection/components/progress-bar/progress-bar.css +1 -1
  147. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  148. package/dist/collection/components/radio-button/radio-button.css +1 -1
  149. package/dist/collection/components/radio-button/radio-button.js +2 -2
  150. package/dist/collection/components/radio-button-group/radio-button-group.css +1 -1
  151. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  152. package/dist/collection/components/search-bar/search-bar.css +1 -1
  153. package/dist/collection/components/search-bar/search-bar.js +1 -1
  154. package/dist/collection/components/search-field/search-field.css +1 -1
  155. package/dist/collection/components/search-field/search-field.js +1 -1
  156. package/dist/collection/components/segmented-control/segment/segment.js +1 -1
  157. package/dist/collection/components/segmented-control/segmented-control.js +2 -2
  158. package/dist/collection/components/select/multi-select/multiselect.css +1 -1
  159. package/dist/collection/components/select/single-select/select.css +1 -1
  160. package/dist/collection/components/select/single-select/select.js +2 -2
  161. package/dist/collection/components/slider/slider.js +2 -2
  162. package/dist/collection/components/spinner/spinner.js +2 -2
  163. package/dist/collection/components/status/status.css +1 -1
  164. package/dist/collection/components/status/status.js +1 -1
  165. package/dist/collection/components/stepper/step/step.js +4 -4
  166. package/dist/collection/components/stepper/stepper.js +2 -2
  167. package/dist/collection/components/switch/switch.js +1 -1
  168. package/dist/collection/components/table-advanced-version/filter-bar/filter-bar.js +1 -1
  169. package/dist/collection/components/table-advanced-version/filter-type-group/filter-accordion/filter-accordion.js +2 -2
  170. package/dist/collection/components/table-advanced-version/filter-type-group/filter-search/filter-search.css +2 -2
  171. package/dist/collection/components/table-advanced-version/filter-type-group/filter-search/filter-search.js +1 -1
  172. package/dist/collection/components/table-advanced-version/filter-type-group/filter-type-group.js +1 -1
  173. package/dist/collection/components/table-advanced-version/list/list-entry/list-entry.js +1 -1
  174. package/dist/collection/components/table-advanced-version/table.css +1 -1
  175. package/dist/collection/components/table-advanced-version/table.js +2 -2
  176. package/dist/collection/components/table-basic-version/table.css +1 -1
  177. package/dist/collection/components/table-basic-version/table.js +1 -1
  178. package/dist/collection/components/tabs/tab.js +1 -1
  179. package/dist/collection/components/tabs/tabs.css +1 -1
  180. package/dist/collection/components/tabs/tabs.js +2 -2
  181. package/dist/collection/components/tag/tag.css +1 -1
  182. package/dist/collection/components/tag/tag.js +1 -1
  183. package/dist/collection/components/templates/template/template.js +1 -1
  184. package/dist/collection/components/templates/templates-ui/templates-ui.js +1 -1
  185. package/dist/collection/components/text-field/text-field.css +1 -1
  186. package/dist/collection/components/text-field/text-field.js +4 -4
  187. package/dist/collection/components/textarea/textarea.js +1 -1
  188. package/dist/collection/components/tooltip/tooltip.css +1 -1
  189. package/dist/collection/components/tooltip/tooltip.js +4 -4
  190. package/dist/collection/global/font-import.js +2 -0
  191. package/dist/collection/global/font-import.js.map +1 -0
  192. package/dist/collection/index.js +1 -0
  193. package/dist/collection/index.js.map +1 -1
  194. package/dist/collection/stories/setup-and-installation/faq/faq.js +1 -1
  195. package/dist/components/ifx-accordion-item.js +1 -1
  196. package/dist/components/ifx-accordion.js +1 -1
  197. package/dist/components/ifx-alert.js +1 -1
  198. package/dist/components/ifx-badge.js +1 -1
  199. package/dist/components/ifx-badge.js.map +1 -1
  200. package/dist/components/ifx-basic-table.js +2 -2
  201. package/dist/components/ifx-basic-table.js.map +1 -1
  202. package/dist/components/ifx-breadcrumb-item-label.js +1 -1
  203. package/dist/components/ifx-breadcrumb-item.js +1 -1
  204. package/dist/components/ifx-breadcrumb-item.js.map +1 -1
  205. package/dist/components/ifx-breadcrumb.js +1 -1
  206. package/dist/components/ifx-breadcrumb.js.map +1 -1
  207. package/dist/components/ifx-button.js +1 -1
  208. package/dist/components/ifx-card-headline.js +1 -1
  209. package/dist/components/ifx-card-headline.js.map +1 -1
  210. package/dist/components/ifx-card.js +1 -1
  211. package/dist/components/ifx-card.js.map +1 -1
  212. package/dist/components/ifx-checkbox-group.js +2 -2
  213. package/dist/components/ifx-checkbox-group.js.map +1 -1
  214. package/dist/components/ifx-checkbox.js +1 -1
  215. package/dist/components/ifx-chip-item.js +1 -1
  216. package/dist/components/ifx-chip.js +1 -1
  217. package/dist/components/ifx-date-picker.js +1 -1
  218. package/dist/components/ifx-download.js +1 -1
  219. package/dist/components/ifx-dropdown-header.js +1 -1
  220. package/dist/components/ifx-dropdown-header.js.map +1 -1
  221. package/dist/components/ifx-dropdown-item.js +2 -2
  222. package/dist/components/ifx-dropdown-item.js.map +1 -1
  223. package/dist/components/ifx-dropdown-menu.js +1 -1
  224. package/dist/components/ifx-dropdown-menu.js.map +1 -1
  225. package/dist/components/ifx-dropdown-trigger-button.js +2 -2
  226. package/dist/components/ifx-faq.js +4 -4
  227. package/dist/components/ifx-filter-accordion.js +4 -4
  228. package/dist/components/ifx-filter-bar.js +3 -3
  229. package/dist/components/ifx-filter-search.js +4 -4
  230. package/dist/components/ifx-filter-search.js.map +1 -1
  231. package/dist/components/ifx-filter-type-group.js +1 -1
  232. package/dist/components/ifx-footer-column.js +2 -2
  233. package/dist/components/ifx-footer-column.js.map +1 -1
  234. package/dist/components/ifx-footer.js +5 -5
  235. package/dist/components/ifx-footer.js.map +1 -1
  236. package/dist/components/ifx-icon-button.js +1 -1
  237. package/dist/components/ifx-icon.js +1 -1
  238. package/dist/components/ifx-icons-preview.js +4 -4
  239. package/dist/components/ifx-link.js +1 -1
  240. package/dist/components/ifx-list-entry.js +4 -4
  241. package/dist/components/ifx-list.js +2 -2
  242. package/dist/components/ifx-modal.js +5 -5
  243. package/dist/components/ifx-modal.js.map +1 -1
  244. package/dist/components/ifx-multiselect.js +1 -1
  245. package/dist/components/ifx-navbar-item.js +8 -8
  246. package/dist/components/ifx-navbar-item.js.map +1 -1
  247. package/dist/components/ifx-navbar-profile.js +4 -4
  248. package/dist/components/ifx-navbar-profile.js.map +1 -1
  249. package/dist/components/ifx-navbar.js +5 -5
  250. package/dist/components/ifx-navbar.js.map +1 -1
  251. package/dist/components/ifx-notification.js +1 -1
  252. package/dist/components/ifx-number-indicator.js +1 -1
  253. package/dist/components/ifx-overview-table.js +4 -4
  254. package/dist/components/ifx-pagination.js +1 -1
  255. package/dist/components/ifx-progress-bar.js +49 -1
  256. package/dist/components/ifx-progress-bar.js.map +1 -1
  257. package/dist/components/ifx-radio-button-group.js +3 -3
  258. package/dist/components/ifx-radio-button-group.js.map +1 -1
  259. package/dist/components/ifx-radio-button.js +1 -1
  260. package/dist/components/ifx-search-bar.js +4 -4
  261. package/dist/components/ifx-search-bar.js.map +1 -1
  262. package/dist/components/ifx-search-field.js +1 -1
  263. package/dist/components/ifx-segment.js +2 -2
  264. package/dist/components/ifx-segmented-control.js +3 -3
  265. package/dist/components/ifx-select.js +1 -1
  266. package/dist/components/ifx-set-filter.js +5 -5
  267. package/dist/components/ifx-sidebar-item.js +8 -8
  268. package/dist/components/ifx-sidebar-item.js.map +1 -1
  269. package/dist/components/ifx-sidebar-title.js +1 -1
  270. package/dist/components/ifx-sidebar.js +6 -6
  271. package/dist/components/ifx-sidebar.js.map +1 -1
  272. package/dist/components/ifx-slider.js +3 -3
  273. package/dist/components/ifx-spinner.js +1 -1
  274. package/dist/components/ifx-status.js +2 -2
  275. package/dist/components/ifx-status.js.map +1 -1
  276. package/dist/components/ifx-step.js +5 -5
  277. package/dist/components/ifx-stepper.js +2 -2
  278. package/dist/components/ifx-switch.js +1 -1
  279. package/dist/components/ifx-tab.js +1 -1
  280. package/dist/components/ifx-table.js +12 -12
  281. package/dist/components/ifx-table.js.map +1 -1
  282. package/dist/components/ifx-tabs.js +4 -4
  283. package/dist/components/ifx-tabs.js.map +1 -1
  284. package/dist/components/ifx-tag.js +3 -3
  285. package/dist/components/ifx-tag.js.map +1 -1
  286. package/dist/components/ifx-template.js +1 -1
  287. package/dist/components/ifx-templates-ui.js +9 -9
  288. package/dist/components/ifx-text-field.js +1 -1
  289. package/dist/components/ifx-textarea.js +1 -1
  290. package/dist/components/ifx-tooltip.js +6 -6
  291. package/dist/components/ifx-tooltip.js.map +1 -1
  292. package/dist/components/{p-9306088d.js → p-03acdbd0.js} +2 -2
  293. package/dist/components/{p-9306088d.js.map → p-03acdbd0.js.map} +1 -1
  294. package/dist/components/{p-905fb988.js → p-097c39fc.js} +2 -2
  295. package/dist/components/p-097c39fc.js.map +1 -0
  296. package/dist/components/{p-2bc9826e.js → p-0bdd8c1f.js} +3 -3
  297. package/dist/components/p-0bdd8c1f.js.map +1 -0
  298. package/dist/components/{p-fc183f8e.js → p-159bab57.js} +4 -4
  299. package/dist/components/p-159bab57.js.map +1 -0
  300. package/dist/components/{p-48f52e18.js → p-1961c269.js} +4 -4
  301. package/dist/components/p-1961c269.js.map +1 -0
  302. package/dist/components/{p-cd9e4789.js → p-1d22dfb4.js} +4 -4
  303. package/dist/components/p-1d22dfb4.js.map +1 -0
  304. package/dist/components/{p-ccc83a43.js → p-2eee9126.js} +3 -3
  305. package/dist/components/p-2eee9126.js.map +1 -0
  306. package/dist/components/p-4213a3a9.js +68 -0
  307. package/dist/components/p-4213a3a9.js.map +1 -0
  308. package/dist/components/{p-846923e6.js → p-48300c0e.js} +3 -3
  309. package/dist/components/p-48300c0e.js.map +1 -0
  310. package/dist/components/{p-bef5241a.js → p-4db82ee0.js} +5 -5
  311. package/dist/components/{p-bef5241a.js.map → p-4db82ee0.js.map} +1 -1
  312. package/dist/components/{p-0e277223.js → p-519cb249.js} +3 -3
  313. package/dist/components/{p-0e277223.js.map → p-519cb249.js.map} +1 -1
  314. package/dist/components/{p-c2b0bf22.js → p-5e8d7598.js} +2 -2
  315. package/dist/components/p-5e8d7598.js.map +1 -0
  316. package/dist/components/p-68f93ba6.js +116 -0
  317. package/dist/components/p-68f93ba6.js.map +1 -0
  318. package/dist/components/{p-461cf021.js → p-6974ad0b.js} +4 -4
  319. package/dist/components/p-6974ad0b.js.map +1 -0
  320. package/dist/components/{p-ab514a04.js → p-adfc43f2.js} +6 -6
  321. package/dist/components/p-adfc43f2.js.map +1 -0
  322. package/dist/components/{p-d1985f77.js → p-b024aa08.js} +3 -3
  323. package/dist/components/{p-d1985f77.js.map → p-b024aa08.js.map} +1 -1
  324. package/dist/components/{p-05c79468.js → p-c2c8b055.js} +7 -7
  325. package/dist/components/{p-05c79468.js.map → p-c2c8b055.js.map} +1 -1
  326. package/dist/components/{p-1678fee6.js → p-c9e59d0f.js} +3 -3
  327. package/dist/components/{p-1678fee6.js.map → p-c9e59d0f.js.map} +1 -1
  328. package/dist/components/{p-35d83f23.js → p-e7551b24.js} +2 -2
  329. package/dist/components/{p-35d83f23.js.map → p-e7551b24.js.map} +1 -1
  330. package/dist/components/{p-18b340af.js → p-f9e92fd3.js} +3 -3
  331. package/dist/components/p-f9e92fd3.js.map +1 -0
  332. package/dist/esm/ifx-accordion_2.entry.js +2 -2
  333. package/dist/esm/ifx-accordion_2.entry.js.map +1 -1
  334. package/dist/esm/ifx-alert_2.entry.js +2 -2
  335. package/dist/esm/ifx-alert_2.entry.js.map +1 -1
  336. package/dist/esm/ifx-badge.entry.js +1 -1
  337. package/dist/esm/ifx-badge.entry.js.map +1 -1
  338. package/dist/esm/ifx-basic-table.entry.js +2 -2
  339. package/dist/esm/ifx-basic-table.entry.js.map +1 -1
  340. package/dist/esm/ifx-breadcrumb-item.entry.js +1 -1
  341. package/dist/esm/ifx-breadcrumb-item.entry.js.map +1 -1
  342. package/dist/esm/ifx-breadcrumb.entry.js +1 -1
  343. package/dist/esm/ifx-breadcrumb.entry.js.map +1 -1
  344. package/dist/esm/ifx-button.entry.js +1 -1
  345. package/dist/esm/ifx-button.entry.js.map +1 -1
  346. package/dist/esm/ifx-card-headline.entry.js +1 -1
  347. package/dist/esm/ifx-card-headline.entry.js.map +1 -1
  348. package/dist/esm/ifx-card.entry.js +1 -1
  349. package/dist/esm/ifx-card.entry.js.map +1 -1
  350. package/dist/esm/ifx-checkbox-group.entry.js +1 -1
  351. package/dist/esm/ifx-checkbox-group.entry.js.map +1 -1
  352. package/dist/esm/ifx-checkbox.entry.js +1 -1
  353. package/dist/esm/ifx-checkbox.entry.js.map +1 -1
  354. package/dist/esm/ifx-chip_3.entry.js +2 -2
  355. package/dist/esm/ifx-chip_3.entry.js.map +1 -1
  356. package/dist/esm/ifx-dropdown-header.entry.js +1 -1
  357. package/dist/esm/ifx-dropdown-header.entry.js.map +1 -1
  358. package/dist/esm/ifx-dropdown-item.entry.js +1 -1
  359. package/dist/esm/ifx-dropdown-item.entry.js.map +1 -1
  360. package/dist/esm/ifx-dropdown-menu.entry.js +1 -1
  361. package/dist/esm/ifx-dropdown-menu.entry.js.map +1 -1
  362. package/dist/esm/ifx-faq.entry.js +1 -1
  363. package/dist/esm/ifx-filter-accordion.entry.js +2 -2
  364. package/dist/esm/ifx-filter-bar.entry.js +1 -1
  365. package/dist/esm/ifx-filter-search.entry.js +2 -2
  366. package/dist/esm/ifx-filter-search.entry.js.map +1 -1
  367. package/dist/esm/ifx-filter-type-group.entry.js +1 -1
  368. package/dist/esm/ifx-footer-column.entry.js +2 -2
  369. package/dist/esm/ifx-footer-column.entry.js.map +1 -1
  370. package/dist/esm/ifx-footer.entry.js +5 -5
  371. package/dist/esm/ifx-footer.entry.js.map +1 -1
  372. package/dist/esm/ifx-icon-button.entry.js +2 -2
  373. package/dist/esm/ifx-icon-button.entry.js.map +1 -1
  374. package/dist/esm/ifx-icon.entry.js +1 -1
  375. package/dist/esm/ifx-icons-preview.entry.js +1 -1
  376. package/dist/esm/ifx-link.entry.js +2 -2
  377. package/dist/esm/ifx-link.entry.js.map +1 -1
  378. package/dist/esm/ifx-list-entry.entry.js +1 -1
  379. package/dist/esm/ifx-modal.entry.js +3 -3
  380. package/dist/esm/ifx-modal.entry.js.map +1 -1
  381. package/dist/esm/ifx-multiselect.entry.js +1 -1
  382. package/dist/esm/ifx-multiselect.entry.js.map +1 -1
  383. package/dist/esm/ifx-navbar-item.entry.js +6 -6
  384. package/dist/esm/ifx-navbar-item.entry.js.map +1 -1
  385. package/dist/esm/ifx-navbar-profile.entry.js +4 -4
  386. package/dist/esm/ifx-navbar-profile.entry.js.map +1 -1
  387. package/dist/esm/ifx-navbar.entry.js +4 -4
  388. package/dist/esm/ifx-navbar.entry.js.map +1 -1
  389. package/dist/esm/ifx-notification.entry.js +3 -3
  390. package/dist/esm/ifx-notification.entry.js.map +1 -1
  391. package/dist/esm/ifx-number-indicator.entry.js +1 -1
  392. package/dist/esm/ifx-overview-table.entry.js +1 -1
  393. package/dist/esm/ifx-progress-bar.entry.js +2 -2
  394. package/dist/esm/ifx-progress-bar.entry.js.map +1 -1
  395. package/dist/esm/ifx-radio-button-group.entry.js +2 -2
  396. package/dist/esm/ifx-radio-button-group.entry.js.map +1 -1
  397. package/dist/esm/ifx-radio-button.entry.js +3 -3
  398. package/dist/esm/ifx-radio-button.entry.js.map +1 -1
  399. package/dist/esm/ifx-search-bar.entry.js +2 -2
  400. package/dist/esm/ifx-search-bar.entry.js.map +1 -1
  401. package/dist/esm/ifx-search-field.entry.js +2 -2
  402. package/dist/esm/ifx-search-field.entry.js.map +1 -1
  403. package/dist/esm/ifx-segment.entry.js +1 -1
  404. package/dist/esm/ifx-segmented-control.entry.js +2 -2
  405. package/dist/esm/ifx-select.entry.js +3 -3
  406. package/dist/esm/ifx-select.entry.js.map +1 -1
  407. package/dist/esm/ifx-sidebar-item.entry.js +6 -6
  408. package/dist/esm/ifx-sidebar-item.entry.js.map +1 -1
  409. package/dist/esm/ifx-sidebar-title.entry.js +1 -1
  410. package/dist/esm/ifx-sidebar.entry.js +6 -6
  411. package/dist/esm/ifx-sidebar.entry.js.map +1 -1
  412. package/dist/esm/ifx-slider.entry.js +2 -2
  413. package/dist/esm/ifx-spinner_2.entry.js +7 -7
  414. package/dist/esm/ifx-spinner_2.entry.js.map +1 -1
  415. package/dist/esm/ifx-status.entry.js +2 -2
  416. package/dist/esm/ifx-status.entry.js.map +1 -1
  417. package/dist/esm/ifx-step.entry.js +4 -4
  418. package/dist/esm/ifx-stepper.entry.js +2 -2
  419. package/dist/esm/ifx-switch.entry.js +1 -1
  420. package/dist/esm/ifx-tab.entry.js +1 -1
  421. package/dist/esm/ifx-table.entry.js +3 -3
  422. package/dist/esm/ifx-table.entry.js.map +1 -1
  423. package/dist/esm/ifx-tabs.entry.js +3 -3
  424. package/dist/esm/ifx-tabs.entry.js.map +1 -1
  425. package/dist/esm/ifx-tag.entry.js +2 -2
  426. package/dist/esm/ifx-tag.entry.js.map +1 -1
  427. package/dist/esm/ifx-templates-ui.entry.js +1 -1
  428. package/dist/esm/ifx-textarea.entry.js +1 -1
  429. package/dist/esm/ifx-tooltip.entry.js +5 -5
  430. package/dist/esm/ifx-tooltip.entry.js.map +1 -1
  431. package/dist/esm/index-c77e25a0.js +8 -12
  432. package/dist/esm/infineon-design-system-stencil.js +1 -1
  433. package/dist/esm/loader.js +1 -1
  434. package/dist/infineon-design-system-stencil/infineon-design-system-stencil.css +1 -1
  435. package/dist/infineon-design-system-stencil/infineon-design-system-stencil.esm.js +1 -1
  436. package/dist/infineon-design-system-stencil/infineon-design-system-stencil.esm.js.map +1 -1
  437. package/dist/infineon-design-system-stencil/p-0009a396.entry.js +2 -0
  438. package/dist/infineon-design-system-stencil/p-0009a396.entry.js.map +1 -0
  439. package/dist/infineon-design-system-stencil/p-00c52c84.entry.js +2 -0
  440. package/dist/infineon-design-system-stencil/p-0fbc70db.entry.js +2 -0
  441. package/dist/infineon-design-system-stencil/p-0fbc70db.entry.js.map +1 -0
  442. package/dist/infineon-design-system-stencil/p-127120bc.entry.js +2 -0
  443. package/dist/infineon-design-system-stencil/p-127120bc.entry.js.map +1 -0
  444. package/dist/infineon-design-system-stencil/p-12a8b8d9.entry.js +2 -0
  445. package/dist/infineon-design-system-stencil/p-12a8b8d9.entry.js.map +1 -0
  446. package/dist/infineon-design-system-stencil/p-1a882a37.entry.js +2 -0
  447. package/dist/infineon-design-system-stencil/p-1a882a37.entry.js.map +1 -0
  448. package/dist/infineon-design-system-stencil/{p-5bc7c9cc.entry.js → p-1abbcdbc.entry.js} +2 -2
  449. package/dist/infineon-design-system-stencil/p-1b59a7f9.entry.js +2 -0
  450. package/dist/infineon-design-system-stencil/p-1b870109.entry.js +2 -0
  451. package/dist/infineon-design-system-stencil/p-1b870109.entry.js.map +1 -0
  452. package/dist/infineon-design-system-stencil/{p-31f3dba0.entry.js → p-1de4f93c.entry.js} +2 -2
  453. package/dist/infineon-design-system-stencil/p-20c1967d.entry.js +2 -0
  454. package/dist/infineon-design-system-stencil/p-20c1967d.entry.js.map +1 -0
  455. package/dist/infineon-design-system-stencil/p-21dee1b7.entry.js +2 -0
  456. package/dist/infineon-design-system-stencil/p-21dee1b7.entry.js.map +1 -0
  457. package/dist/infineon-design-system-stencil/p-32d311b7.entry.js +2 -0
  458. package/dist/infineon-design-system-stencil/p-32d311b7.entry.js.map +1 -0
  459. package/dist/infineon-design-system-stencil/p-3303a29d.entry.js +2 -0
  460. package/dist/infineon-design-system-stencil/p-3303a29d.entry.js.map +1 -0
  461. package/dist/infineon-design-system-stencil/{p-051f1f75.entry.js → p-37e75e7c.entry.js} +2 -2
  462. package/dist/infineon-design-system-stencil/p-4218b47a.entry.js +2 -0
  463. package/dist/infineon-design-system-stencil/p-4218b47a.entry.js.map +1 -0
  464. package/dist/infineon-design-system-stencil/p-46d704f4.entry.js +2 -0
  465. package/dist/infineon-design-system-stencil/p-46d704f4.entry.js.map +1 -0
  466. package/dist/infineon-design-system-stencil/p-4c031d6e.entry.js +2 -0
  467. package/dist/infineon-design-system-stencil/p-4c031d6e.entry.js.map +1 -0
  468. package/dist/infineon-design-system-stencil/{p-99a53e43.entry.js → p-4c2ce98e.entry.js} +2 -2
  469. package/dist/infineon-design-system-stencil/p-4c2ce98e.entry.js.map +1 -0
  470. package/dist/infineon-design-system-stencil/{p-3f5e136b.entry.js → p-4fa1f905.entry.js} +2 -2
  471. package/dist/infineon-design-system-stencil/p-4fa1f905.entry.js.map +1 -0
  472. package/dist/infineon-design-system-stencil/{p-81391688.entry.js → p-506dc67f.entry.js} +2 -2
  473. package/dist/infineon-design-system-stencil/{p-81391688.entry.js.map → p-506dc67f.entry.js.map} +1 -1
  474. package/dist/infineon-design-system-stencil/p-50ce73a9.entry.js +2 -0
  475. package/dist/infineon-design-system-stencil/p-50ce73a9.entry.js.map +1 -0
  476. package/dist/infineon-design-system-stencil/{p-474b0bda.entry.js → p-5ba50092.entry.js} +2 -2
  477. package/dist/infineon-design-system-stencil/p-635c7fca.entry.js +2 -0
  478. package/dist/infineon-design-system-stencil/p-635c7fca.entry.js.map +1 -0
  479. package/dist/infineon-design-system-stencil/p-65d9faca.entry.js +2 -0
  480. package/dist/infineon-design-system-stencil/p-66b1eeab.entry.js +2 -0
  481. package/dist/infineon-design-system-stencil/{p-7a977f98.entry.js.map → p-66b1eeab.entry.js.map} +1 -1
  482. package/dist/infineon-design-system-stencil/p-66c03f4e.entry.js +2 -0
  483. package/dist/infineon-design-system-stencil/p-66c03f4e.entry.js.map +1 -0
  484. package/dist/infineon-design-system-stencil/{p-0be5bec9.entry.js → p-67c63b48.entry.js} +2 -2
  485. package/dist/infineon-design-system-stencil/p-6a1ff5df.entry.js +2 -0
  486. package/dist/infineon-design-system-stencil/p-6a1ff5df.entry.js.map +1 -0
  487. package/dist/infineon-design-system-stencil/{p-af1d9944.entry.js → p-6b9ecace.entry.js} +2 -2
  488. package/dist/infineon-design-system-stencil/{p-89f8f8c7.entry.js → p-6ee1b4e7.entry.js} +2 -2
  489. package/dist/infineon-design-system-stencil/p-711c9832.entry.js +2 -0
  490. package/dist/infineon-design-system-stencil/p-711c9832.entry.js.map +1 -0
  491. package/dist/infineon-design-system-stencil/p-73388693.entry.js +2 -0
  492. package/dist/infineon-design-system-stencil/p-73388693.entry.js.map +1 -0
  493. package/dist/infineon-design-system-stencil/p-75c2484b.entry.js +2 -0
  494. package/dist/infineon-design-system-stencil/p-75c2484b.entry.js.map +1 -0
  495. package/dist/infineon-design-system-stencil/p-796766bb.entry.js +2 -0
  496. package/dist/infineon-design-system-stencil/p-796766bb.entry.js.map +1 -0
  497. package/dist/infineon-design-system-stencil/{p-38fd172b.entry.js → p-7abdbf1f.entry.js} +2 -2
  498. package/dist/infineon-design-system-stencil/{p-2170ccf1.entry.js → p-7c142528.entry.js} +2 -2
  499. package/dist/infineon-design-system-stencil/p-7c142528.entry.js.map +1 -0
  500. package/dist/infineon-design-system-stencil/p-8dbe0add.entry.js +2 -0
  501. package/dist/infineon-design-system-stencil/{p-13e47c02.entry.js → p-95b48437.entry.js} +2 -2
  502. package/dist/infineon-design-system-stencil/p-98f8a17b.entry.js +2 -0
  503. package/dist/infineon-design-system-stencil/p-98f8a17b.entry.js.map +1 -0
  504. package/dist/infineon-design-system-stencil/p-99493a11.entry.js +2 -0
  505. package/dist/infineon-design-system-stencil/p-99493a11.entry.js.map +1 -0
  506. package/dist/infineon-design-system-stencil/{p-d4a4c134.entry.js → p-9e413f66.entry.js} +2 -2
  507. package/dist/infineon-design-system-stencil/{p-38a17a09.entry.js → p-9feda3ff.entry.js} +2 -2
  508. package/dist/infineon-design-system-stencil/p-a2450ed1.entry.js +2 -0
  509. package/dist/infineon-design-system-stencil/p-a2450ed1.entry.js.map +1 -0
  510. package/dist/infineon-design-system-stencil/p-b12bfbf9.entry.js +2 -0
  511. package/dist/infineon-design-system-stencil/p-b12bfbf9.entry.js.map +1 -0
  512. package/dist/infineon-design-system-stencil/{p-ce55b323.entry.js → p-b7057914.entry.js} +2 -2
  513. package/dist/infineon-design-system-stencil/p-bdf85a8a.entry.js +2 -0
  514. package/dist/infineon-design-system-stencil/p-bdf85a8a.entry.js.map +1 -0
  515. package/dist/infineon-design-system-stencil/p-c14d824b.entry.js +2 -0
  516. package/dist/infineon-design-system-stencil/p-c14d824b.entry.js.map +1 -0
  517. package/dist/infineon-design-system-stencil/p-c175ac96.entry.js +2 -0
  518. package/dist/infineon-design-system-stencil/p-c175ac96.entry.js.map +1 -0
  519. package/dist/infineon-design-system-stencil/p-c5b9e748.entry.js +2 -0
  520. package/dist/infineon-design-system-stencil/p-c5b9e748.entry.js.map +1 -0
  521. package/dist/infineon-design-system-stencil/p-ce80fe1a.entry.js +2 -0
  522. package/dist/infineon-design-system-stencil/p-ce80fe1a.entry.js.map +1 -0
  523. package/dist/infineon-design-system-stencil/p-e2106ed0.entry.js +2 -0
  524. package/dist/infineon-design-system-stencil/p-e2106ed0.entry.js.map +1 -0
  525. package/dist/infineon-design-system-stencil/{p-be9c2a02.entry.js → p-e2d0ad64.entry.js} +2 -2
  526. package/dist/infineon-design-system-stencil/p-e4de8215.entry.js +2 -0
  527. package/dist/infineon-design-system-stencil/{p-0306ed65.entry.js → p-e57f8890.entry.js} +2 -2
  528. package/dist/infineon-design-system-stencil/p-f99197dd.entry.js +2 -0
  529. package/dist/infineon-design-system-stencil/p-f99197dd.entry.js.map +1 -0
  530. package/dist/infineon-design-system-stencil/p-fa3a3a00.entry.js +2 -0
  531. package/dist/infineon-design-system-stencil/p-fa3a3a00.entry.js.map +1 -0
  532. package/dist/infineon-design-system-stencil/p-fbd1163b.entry.js +2 -0
  533. package/dist/infineon-design-system-stencil/p-fbd1163b.entry.js.map +1 -0
  534. package/dist/infineon-design-system-stencil/p-fc9c81fa.entry.js +2 -0
  535. package/dist/infineon-design-system-stencil/p-fc9c81fa.entry.js.map +1 -0
  536. package/dist/types/components.d.ts +0 -68
  537. package/dist/types/global/font-import.d.ts +1 -0
  538. package/dist/types/index.d.ts +1 -0
  539. package/package.json +1 -1
  540. package/dist/cjs/ifx-file-upload.cjs.entry.js +0 -322
  541. package/dist/cjs/ifx-file-upload.cjs.entry.js.map +0 -1
  542. package/dist/collection/components/file-upload/file-upload.css +0 -144
  543. package/dist/collection/components/file-upload/file-upload.js +0 -749
  544. package/dist/collection/components/file-upload/file-upload.js.map +0 -1
  545. package/dist/collection/components/file-upload/file-upload.stories.js +0 -144
  546. package/dist/collection/components/file-upload/file-upload.stories.js.map +0 -1
  547. package/dist/components/ifx-file-upload.d.ts +0 -11
  548. package/dist/components/ifx-file-upload.js +0 -377
  549. package/dist/components/ifx-file-upload.js.map +0 -1
  550. package/dist/components/p-18b340af.js.map +0 -1
  551. package/dist/components/p-2bc9826e.js.map +0 -1
  552. package/dist/components/p-2c77bbe2.js +0 -116
  553. package/dist/components/p-2c77bbe2.js.map +0 -1
  554. package/dist/components/p-461cf021.js.map +0 -1
  555. package/dist/components/p-48f52e18.js.map +0 -1
  556. package/dist/components/p-846923e6.js.map +0 -1
  557. package/dist/components/p-905fb988.js.map +0 -1
  558. package/dist/components/p-ab514a04.js.map +0 -1
  559. package/dist/components/p-c2b0bf22.js.map +0 -1
  560. package/dist/components/p-ccc83a43.js.map +0 -1
  561. package/dist/components/p-cd9e4789.js.map +0 -1
  562. package/dist/components/p-cf1e2d94.js +0 -53
  563. package/dist/components/p-cf1e2d94.js.map +0 -1
  564. package/dist/components/p-fa58a72c.js +0 -68
  565. package/dist/components/p-fa58a72c.js.map +0 -1
  566. package/dist/components/p-fc183f8e.js.map +0 -1
  567. package/dist/esm/ifx-file-upload.entry.js +0 -318
  568. package/dist/esm/ifx-file-upload.entry.js.map +0 -1
  569. package/dist/infineon-design-system-stencil/p-021719f5.entry.js +0 -2
  570. package/dist/infineon-design-system-stencil/p-02bf3e6a.entry.js +0 -2
  571. package/dist/infineon-design-system-stencil/p-02bf3e6a.entry.js.map +0 -1
  572. package/dist/infineon-design-system-stencil/p-08ded326.entry.js +0 -2
  573. package/dist/infineon-design-system-stencil/p-08ded326.entry.js.map +0 -1
  574. package/dist/infineon-design-system-stencil/p-18145ed5.entry.js +0 -2
  575. package/dist/infineon-design-system-stencil/p-18145ed5.entry.js.map +0 -1
  576. package/dist/infineon-design-system-stencil/p-1c80700d.entry.js +0 -2
  577. package/dist/infineon-design-system-stencil/p-1c80700d.entry.js.map +0 -1
  578. package/dist/infineon-design-system-stencil/p-1dbd5a8f.entry.js +0 -2
  579. package/dist/infineon-design-system-stencil/p-1fc608a3.entry.js +0 -2
  580. package/dist/infineon-design-system-stencil/p-1fc608a3.entry.js.map +0 -1
  581. package/dist/infineon-design-system-stencil/p-2170ccf1.entry.js.map +0 -1
  582. package/dist/infineon-design-system-stencil/p-3d4c474f.entry.js +0 -2
  583. package/dist/infineon-design-system-stencil/p-3d4c474f.entry.js.map +0 -1
  584. package/dist/infineon-design-system-stencil/p-3f5e136b.entry.js.map +0 -1
  585. package/dist/infineon-design-system-stencil/p-42234c99.entry.js +0 -2
  586. package/dist/infineon-design-system-stencil/p-42964c5d.entry.js +0 -2
  587. package/dist/infineon-design-system-stencil/p-42964c5d.entry.js.map +0 -1
  588. package/dist/infineon-design-system-stencil/p-44ffa393.entry.js +0 -2
  589. package/dist/infineon-design-system-stencil/p-44ffa393.entry.js.map +0 -1
  590. package/dist/infineon-design-system-stencil/p-4679e8ea.entry.js +0 -2
  591. package/dist/infineon-design-system-stencil/p-4679e8ea.entry.js.map +0 -1
  592. package/dist/infineon-design-system-stencil/p-51c067b1.entry.js +0 -2
  593. package/dist/infineon-design-system-stencil/p-51c067b1.entry.js.map +0 -1
  594. package/dist/infineon-design-system-stencil/p-534ef91b.entry.js +0 -2
  595. package/dist/infineon-design-system-stencil/p-534ef91b.entry.js.map +0 -1
  596. package/dist/infineon-design-system-stencil/p-54d98fa9.entry.js +0 -2
  597. package/dist/infineon-design-system-stencil/p-54d98fa9.entry.js.map +0 -1
  598. package/dist/infineon-design-system-stencil/p-582970ed.entry.js +0 -2
  599. package/dist/infineon-design-system-stencil/p-5bef967e.entry.js +0 -2
  600. package/dist/infineon-design-system-stencil/p-5bef967e.entry.js.map +0 -1
  601. package/dist/infineon-design-system-stencil/p-5e300ee5.entry.js +0 -2
  602. package/dist/infineon-design-system-stencil/p-5e300ee5.entry.js.map +0 -1
  603. package/dist/infineon-design-system-stencil/p-63679e7a.entry.js +0 -2
  604. package/dist/infineon-design-system-stencil/p-63679e7a.entry.js.map +0 -1
  605. package/dist/infineon-design-system-stencil/p-68f13949.entry.js +0 -2
  606. package/dist/infineon-design-system-stencil/p-68f13949.entry.js.map +0 -1
  607. package/dist/infineon-design-system-stencil/p-7103bb15.entry.js +0 -2
  608. package/dist/infineon-design-system-stencil/p-7103bb15.entry.js.map +0 -1
  609. package/dist/infineon-design-system-stencil/p-7a977f98.entry.js +0 -2
  610. package/dist/infineon-design-system-stencil/p-7f777885.entry.js +0 -2
  611. package/dist/infineon-design-system-stencil/p-7f777885.entry.js.map +0 -1
  612. package/dist/infineon-design-system-stencil/p-81b2a882.entry.js +0 -2
  613. package/dist/infineon-design-system-stencil/p-81b2a882.entry.js.map +0 -1
  614. package/dist/infineon-design-system-stencil/p-8319c8c5.entry.js +0 -2
  615. package/dist/infineon-design-system-stencil/p-8319c8c5.entry.js.map +0 -1
  616. package/dist/infineon-design-system-stencil/p-97100c2f.entry.js +0 -2
  617. package/dist/infineon-design-system-stencil/p-97100c2f.entry.js.map +0 -1
  618. package/dist/infineon-design-system-stencil/p-99a53e43.entry.js.map +0 -1
  619. package/dist/infineon-design-system-stencil/p-a26382ae.entry.js +0 -2
  620. package/dist/infineon-design-system-stencil/p-a26382ae.entry.js.map +0 -1
  621. package/dist/infineon-design-system-stencil/p-acf32338.entry.js +0 -2
  622. package/dist/infineon-design-system-stencil/p-acf32338.entry.js.map +0 -1
  623. package/dist/infineon-design-system-stencil/p-ad24c623.entry.js +0 -2
  624. package/dist/infineon-design-system-stencil/p-ad24c623.entry.js.map +0 -1
  625. package/dist/infineon-design-system-stencil/p-b2995f20.entry.js +0 -2
  626. package/dist/infineon-design-system-stencil/p-b2995f20.entry.js.map +0 -1
  627. package/dist/infineon-design-system-stencil/p-b4f0ce88.entry.js +0 -2
  628. package/dist/infineon-design-system-stencil/p-b4f0ce88.entry.js.map +0 -1
  629. package/dist/infineon-design-system-stencil/p-bbc83759.entry.js +0 -2
  630. package/dist/infineon-design-system-stencil/p-bbc83759.entry.js.map +0 -1
  631. package/dist/infineon-design-system-stencil/p-bdb0e937.entry.js +0 -2
  632. package/dist/infineon-design-system-stencil/p-c950abaf.entry.js +0 -2
  633. package/dist/infineon-design-system-stencil/p-c950abaf.entry.js.map +0 -1
  634. package/dist/infineon-design-system-stencil/p-ca42aecb.entry.js +0 -2
  635. package/dist/infineon-design-system-stencil/p-ca42aecb.entry.js.map +0 -1
  636. package/dist/infineon-design-system-stencil/p-cf96a19e.entry.js +0 -2
  637. package/dist/infineon-design-system-stencil/p-cf96a19e.entry.js.map +0 -1
  638. package/dist/infineon-design-system-stencil/p-d097a48f.entry.js +0 -2
  639. package/dist/infineon-design-system-stencil/p-d097a48f.entry.js.map +0 -1
  640. package/dist/infineon-design-system-stencil/p-d66fc7fa.entry.js +0 -2
  641. package/dist/infineon-design-system-stencil/p-d66fc7fa.entry.js.map +0 -1
  642. package/dist/infineon-design-system-stencil/p-e54766be.entry.js +0 -2
  643. package/dist/infineon-design-system-stencil/p-e54766be.entry.js.map +0 -1
  644. package/dist/infineon-design-system-stencil/p-e6f4865a.entry.js +0 -2
  645. package/dist/infineon-design-system-stencil/p-e6f4865a.entry.js.map +0 -1
  646. package/dist/infineon-design-system-stencil/p-ea24eca0.entry.js +0 -2
  647. package/dist/infineon-design-system-stencil/p-ea24eca0.entry.js.map +0 -1
  648. package/dist/infineon-design-system-stencil/p-edf98dc3.entry.js +0 -2
  649. package/dist/infineon-design-system-stencil/p-edf98dc3.entry.js.map +0 -1
  650. package/dist/types/components/file-upload/file-upload.d.ts +0 -88
  651. package/dist/types/components/file-upload/file-upload.stories.d.ts +0 -7
  652. /package/dist/infineon-design-system-stencil/{p-1dbd5a8f.entry.js.map → p-00c52c84.entry.js.map} +0 -0
  653. /package/dist/infineon-design-system-stencil/{p-5bc7c9cc.entry.js.map → p-1abbcdbc.entry.js.map} +0 -0
  654. /package/dist/infineon-design-system-stencil/{p-021719f5.entry.js.map → p-1b59a7f9.entry.js.map} +0 -0
  655. /package/dist/infineon-design-system-stencil/{p-31f3dba0.entry.js.map → p-1de4f93c.entry.js.map} +0 -0
  656. /package/dist/infineon-design-system-stencil/{p-051f1f75.entry.js.map → p-37e75e7c.entry.js.map} +0 -0
  657. /package/dist/infineon-design-system-stencil/{p-474b0bda.entry.js.map → p-5ba50092.entry.js.map} +0 -0
  658. /package/dist/infineon-design-system-stencil/{p-bdb0e937.entry.js.map → p-65d9faca.entry.js.map} +0 -0
  659. /package/dist/infineon-design-system-stencil/{p-0be5bec9.entry.js.map → p-67c63b48.entry.js.map} +0 -0
  660. /package/dist/infineon-design-system-stencil/{p-af1d9944.entry.js.map → p-6b9ecace.entry.js.map} +0 -0
  661. /package/dist/infineon-design-system-stencil/{p-89f8f8c7.entry.js.map → p-6ee1b4e7.entry.js.map} +0 -0
  662. /package/dist/infineon-design-system-stencil/{p-38fd172b.entry.js.map → p-7abdbf1f.entry.js.map} +0 -0
  663. /package/dist/infineon-design-system-stencil/{p-42234c99.entry.js.map → p-8dbe0add.entry.js.map} +0 -0
  664. /package/dist/infineon-design-system-stencil/{p-13e47c02.entry.js.map → p-95b48437.entry.js.map} +0 -0
  665. /package/dist/infineon-design-system-stencil/{p-d4a4c134.entry.js.map → p-9e413f66.entry.js.map} +0 -0
  666. /package/dist/infineon-design-system-stencil/{p-38a17a09.entry.js.map → p-9feda3ff.entry.js.map} +0 -0
  667. /package/dist/infineon-design-system-stencil/{p-ce55b323.entry.js.map → p-b7057914.entry.js.map} +0 -0
  668. /package/dist/infineon-design-system-stencil/{p-be9c2a02.entry.js.map → p-e2d0ad64.entry.js.map} +0 -0
  669. /package/dist/infineon-design-system-stencil/{p-582970ed.entry.js.map → p-e4de8215.entry.js.map} +0 -0
  670. /package/dist/infineon-design-system-stencil/{p-0306ed65.entry.js.map → p-e57f8890.entry.js.map} +0 -0
@@ -1 +0,0 @@
1
- {"file":"p-ccc83a43.js","mappings":"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","names":[],"sources":["src/components/link/link.scss?tag=ifx-link&encapsulation=shadow","src/components/link/link.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n:host {\n display: inline-flex;\n}\n\n.link {\n display: inline-flex;\n align-items: center;\n font-weight: 400;\n font-size: tokens.$ifxFontSizeM;\n text-decoration: none;\n color: tokens.$ifxColorOcean500;\n gap: tokens.$ifxSpace100;\n line-height: 1.6;\n font-family: var(--ifx-font-family);\n\n &:hover { \n cursor: pointer;\n }\n\n &:focus {\n outline-width: 2px;\n outline-style: solid;\n outline-color: #0A8276;\n outline-offset: 4px;\n border-radius: 3px;\n }\n\n &.bold {\n font-weight: tokens.$ifxFontWeightSemibold;\n\n &:hover {\n text-decoration: underline;\n }\n\n &:active {\n color: #08665C;\n font-style: normal;\n font-weight: 600;\n text-decoration: underline;\n }\n\n }\n\n &.underlined {\n text-decoration: underline;\n text-decoration-color: tokens.$ifxColorOcean500;\n color: #1D1D1D;\n text-underline-offset: 8px;\n \n &:hover {\n color: tokens.$ifxColorOcean500;;\n }\n \n &:active {\n color: #0A8276;\n }\n\n &:disabled,\n &.disabled {\n text-decoration-color: tokens.$ifxColorEngineering300;\n }\n }\n\n &.title {\n text-decoration: none;\n font-weight: tokens.$ifxFontWeightSemibold;\n color: #1D1D1D;\n\n &:hover {\n color: tokens.$ifxColorOcean500;\n }\n\n &:active {\n color: #08665C;\n }\n }\n\n &.menu {\n font-weight: 400;\n font-style: normal;\n line-height: 26px;\n color: #1D1D1D;\n\n &:hover {\n color: tokens.$ifxColorOcean500;\n }\n\n &:active {\n color: #08665C;\n }\n }\n\n &.small {\n font-size: tokens.$ifxFontSizeS;\n }\n\n &.medium {\n font-size: tokens.$ifxFontSizeM;\n }\n\n &.large {\n font-size: tokens.$ifxFontSizeL;\n }\n\n &.extraLarge {\n font-size: tokens.$ifxFontSizeXl;\n }\n\n &.underline {\n text-decoration: underline;\n }\n\n &:disabled,\n &.disabled {\n color: tokens.$ifxColorEngineering300;\n cursor: default;\n pointer-events: none;\n }\n\n}","import { Component, Prop, h, State } from \"@stencil/core\";\nimport classNames from 'classnames';\n \n\n@Component({\n tag: 'ifx-link',\n styleUrl: 'link.scss',\n shadow: true\n})\n\nexport class Link {\n @Prop() href: string = undefined;\n @Prop() target: string = '_self';\n @Prop() variant: string = 'bold';\n @Prop() size: string;\n @Prop() disabled: boolean = false;\n @Prop() download: string;\n @State() internalHref: string ='';\n @State() internalTarget: string = '';\n @State() internalVariant: string = '';\n\n setInternalStates() {\n if(this.href){\n this.internalHref = this.href.trim();\n }else{\n this.internalHref = undefined;\n }\n this.internalTarget = this.target.trim();\n this.internalVariant = this.variant.trim().toLowerCase();\n }\n\n componentWillRender(){\n this.setInternalStates();\n }\n\n\n render() {\n return (\n <a aria-label='a navigation link button' href={this.internalHref} download={this.download} target={this.internalTarget} class={this.linkClassNames()}>\n <slot></slot>\n </a>\n )\n }\n\n getSizeClass() {\n const small = this.size === 's' ? 'small' : null;\n const medium = this.size === 'm' ? 'medium' : null;\n const large = this.size === 'l' ? 'large' : null;\n const extraLarge = this.size === 'xl' ? 'extraLarge' : null;\n\n if (small) {\n return small;\n } else if (medium) {\n return medium;\n } else if (large) {\n return large;\n } else if (extraLarge && this.internalVariant === 'underlined') {\n return 'large';\n } else if (extraLarge && this.internalVariant !== 'underlined') {\n return extraLarge;\n } else return \"\";\n }\n\n getVariantClass() {\n const bold = this.internalVariant === 'bold' ? 'bold' : null;\n const title = this.internalVariant === 'title' ? 'title' : null;\n const underlined = this.internalVariant === 'underlined' ? 'underlined' : null;\n const menu = this.internalVariant === 'menu' ? 'menu' : null;\n\n if (bold) {\n return bold\n } else if (title) {\n return title;\n } else if (underlined) {\n return underlined;\n } else if (menu) {\n return menu;\n } else return bold;\n }\n\n linkClassNames() {\n return classNames(\n 'link',\n 'primary',\n this.getVariantClass(),\n this.getSizeClass(),\n this.disabled ? 'disabled' : '',\n );\n }\n}\n\n"],"version":3}
@@ -1 +0,0 @@
1
- {"file":"p-cd9e4789.js","mappings":"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","names":["HTMLElement"],"sources":["src/components/radio-button/radio-button.scss?tag=ifx-radio-button&encapsulation=shadow","src/components/radio-button/radio-button.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n:host {\n display: inline-flex;\n --_ifx-fallback-display: none !important;\n}\n\n._ifx-radiobutton-fallback {\n display: var(--_ifx-fallback-display);\n position: absolute !important;\n width: 1px !important;\n height: 1px !important;\n padding: 0 !important;\n margin: -1px !important;\n overflow: hidden !important;\n clip: rect(0,0,0,0) !important;\n border: 0 !important;\n }\n\n.radioButton__container {\n box-sizing: border-box;\n display: inline-flex;\n flex-direction: row;\n align-items: center;\n padding: 0px;\n gap: tokens.$ifxSpace100;\n cursor: pointer;\n font-family: var(--ifx-font-family);\n\n &.m .radioButton__wrapper {\n width: tokens.$ifxSize300;\n height: tokens.$ifxSize300;\n }\n\n .radioButton__wrapper {\n width: tokens.$ifxSize250;\n height: tokens.$ifxSize250;\n position: relative;\n display: block;\n border-radius: 50%;\n background-color: tokens.$ifxColorBaseWhite;\n border: 1px solid #575352;\n\n &:focus {\n outline: none;\n\n &::before {\n content: '';\n position: absolute;\n width: calc(100% + 4px);\n height: calc(100% + 4px);\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n border: 2px solid tokens.$ifxColorOcean500;\n border-radius: 50%;\n }\n }\n\n .radioButton__wrapper-mark {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n background-color: #0A8276;\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n border-color: tokens.$ifxColorBaseTransparent;\n }\n\n &:hover {\n background-color: tokens.$ifxColorEngineering200;\n }\n\n &.disabled {\n background-color: #BFBBBB;\n border-color: #BFBBBB;\n\n &.error {\n\n &:hover,\n &:focus-visible {\n border-color: #CD002F;\n }\n }\n }\n\n &.checked {\n border-color: #0A8276;\n\n &::after {\n content: \"\";\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 10px;\n height: 10px;\n background-color: #0A8276;\n border-radius: 50%;\n }\n\n &.disabled::after {\n background-color: #BFBBBB;\n }\n\n\n &:hover {\n border-color: tokens.$ifxColorOcean600;\n\n & .radioButton__wrapper-mark {\n background-color: tokens.$ifxColorOcean600;\n }\n }\n\n &.disabled {\n background-color: tokens.$ifxColorBaseWhite;\n border-color: #BFBBBB;\n\n &.disabled::after {\n background-color: #BFBBBB;\n }\n\n & .radioButton__wrapper-mark {\n background-color: #BFBBBB;\n }\n }\n &.error::after {\n border-color: #CD002F;\n background-color: #CD002F;\n }\n }\n\n &.error:not(.disabled) {\n border-color: #CD002F;\n\n &:hover,\n &:focus-visible {\n border-color: #CD002F;\n }\n }\n }\n\n .label {\n display: flex;\n align-items: center;\n height: tokens.$ifxSize250;\n font-style: normal;\n font-weight: 400;\n font-size: tokens.$ifxFontSizeS;\n line-height: tokens.$ifxLineHeightS;\n color: tokens.$ifxColorBaseBlack;\n flex: none;\n order: 1;\n flex-grow: 0;\n\n &.label-m {\n height: tokens.$ifxSize300;\n font-size: tokens.$ifxFontSizeM;\n line-height: tokens.$ifxLineHeightM;\n }\n\n &.disabled {\n color: #BFBBBB;\n }\n\n\n\n &:hover {\n cursor: pointer;\n }\n }\n}\n\n","import { Component, h, Prop, Element, State, Event, EventEmitter, Listen, Watch } from '@stencil/core';\n\n@Component({\n tag: 'ifx-radio-button',\n styleUrl: 'radio-button.scss',\n shadow: true,\n formAssociated: true\n})\nexport class RadioButton {\n @Element() el: HTMLElement;\n @Prop() disabled: boolean = false;\n @Prop() value: string;\n @Prop() error: boolean = false;\n @Prop({ reflect: true }) size: \"s\" | \"m\" = \"s\";\n @Prop({ reflect: true }) name: string;\n @Prop({ mutable: true }) checked: boolean;\n @State() internalChecked: boolean = false;\n @State() hasSlot: boolean = false;\n\n private inputElement: HTMLInputElement;\n private internals: ElementInternals;\n private fallbackInput: HTMLInputElement;\n\n @Event({ eventName: 'ifxChange' }) ifxChange: EventEmitter;\n @Event({ eventName: 'ifxError' }) ifxError: EventEmitter;\n\n componentWillLoad() {\n // Fallback for form association\n this.fallbackInput = document.createElement('input');\n this.fallbackInput.type = 'radio';\n this.fallbackInput.hidden = true;\n this.fallbackInput.className = '_ifx-radiobutton-fallback';\n this.fallbackInput.style.cssText = `\n display: none !important;\n position: absolute !important;\n opacity: 0 !important;\n pointer-events: none !important;\n width: 0 !important;\n height: 0 !important;\n `;\n this.fallbackInput.setAttribute('aria-hidden', 'true');\n this.fallbackInput.tabIndex = -1;\n this.el.appendChild(this.fallbackInput);\n\n // Initialize ElementInternals if supported\n if ('attachInternals' in HTMLElement.prototype) {\n try {\n this.internals = this.el.attachInternals();\n } catch (e) {\n console.warn('ElementInternals not supported');\n }\n }\n\n // Initial state\n this.internalChecked = this.checked || false;\n this.hasSlot = !!this.el.querySelector('[slot]') || this.el.innerHTML.trim() !== '';\n }\n\n @Watch('checked')\n handleCheckedChange(newValue: boolean) {\n this.internalChecked = newValue;\n }\n\n @Watch('internalChecked')\n updateFormValue() {\n // Update both ElementInternals and fallback input\n if (this.internals?.setFormValue) {\n this.internals.setFormValue(this.internalChecked ? this.value : null);\n }\n this.fallbackInput.checked = this.internalChecked;\n this.fallbackInput.name = this.name;\n this.fallbackInput.value = this.value;\n this.fallbackInput.disabled = this.disabled;\n }\n\n @Watch('error')\n errorChanged(newValue: boolean, oldValue: boolean) {\n if (newValue !== oldValue) {\n this.ifxError.emit(newValue);\n }\n }\n\n handleRadioButtonClick(event: Event) {\n if (this.disabled) {\n event.stopPropagation();\n return;\n }\n\n this.inputElement.click();\n this.internalChecked = this.inputElement.checked;\n this.checked = this.internalChecked;\n this.ifxChange.emit(this.internalChecked);\n\n const changeEvent = new CustomEvent('change', {\n bubbles: true,\n composed: true,\n detail: { checked: this.internalChecked }\n });\n this.el.dispatchEvent(changeEvent);\n }\n\n @Listen('keydown')\n handleKeyDown(ev: KeyboardEvent) {\n if ([' ', 'Enter'].includes(ev.key)) {\n ev.preventDefault();\n this.handleRadioButtonClick(new PointerEvent('click'));\n }\n }\n\n @Listen('change', { target: 'document' })\n handleExternalChange(event: Event) {\n const target = event.target as HTMLElement;\n if (target === this.el || target.tagName.toLowerCase() !== 'ifx-radio-button') return;\n \n if (target.getAttribute('name') === this.name) {\n this.internalChecked = false;\n }\n }\n\n render() {\n return (\n <div\n role=\"radio\"\n aria-checked={String(this.internalChecked)}\n aria-disabled={String(this.disabled)}\n class={`radioButton__container ${this.size} ${this.disabled ? 'disabled' : ''}`}\n onClick={(e) => this.handleRadioButtonClick(e)}\n tabindex={this.disabled ? -1 : 0}\n >\n <div\n class={`radioButton__wrapper \n ${this.internalChecked ? 'checked' : ''} \n ${this.disabled ? 'disabled' : ''} \n ${this.error ? 'error' : ''}`}\n >\n {this.internalChecked && <div class=\"radioButton__wrapper-mark\"></div>}\n </div>\n\n {this.hasSlot && (\n <div class={`label ${this.size === \"m\" ? \"label-m\" : \"\"} ${this.disabled ? 'disabled' : ''}`}>\n <slot />\n </div>\n )}\n\n <input\n type=\"radio\"\n hidden\n ref={el => this.inputElement = el}\n name={this.name}\n value={this.value}\n checked={this.internalChecked}\n disabled={this.disabled}\n onClick={(e) => e.stopPropagation()}\n />\n </div>\n );\n }\n}"],"version":3}
@@ -1,53 +0,0 @@
1
- import { p as proxyCustomElement, H, h } from './p-2cc378b8.js';
2
-
3
- const progressBarCss = ":root{--ifx-font-family:\"Source Sans 3\";font-family:var(--ifx-font-family, sans-serif)}:host{display:flex;width:100%}.progress-bar{height:16px;bottom:0;right:0;top:0;left:0;display:flex;height:20px;border-radius:1px;width:100%;overflow:hidden;background-color:#EEEDED;font-family:var(--ifx-font-family, sans-serif)}.progress-bar.s{height:4px}.progress-bar .label{font-style:normal;font-size:0.875rem;font-weight:400;line-height:1.25rem;color:#FFFFFF}.progress-bar .progress{display:flex;align-items:center;justify-content:center;min-width:fit-content;height:100%;background-color:#0A8276;transition:width 0.2s ease}";
4
- const IfxProgressBarStyle0 = progressBarCss;
5
-
6
- const ProgressBar = /*@__PURE__*/ proxyCustomElement(class ProgressBar extends H {
7
- constructor() {
8
- super();
9
- this.__registerHost();
10
- this.__attachShadow();
11
- this.value = 0;
12
- this.showLabel = false;
13
- }
14
- valueChanged(newValue, oldValue) {
15
- if (newValue !== oldValue) {
16
- this.internalValue = newValue;
17
- }
18
- }
19
- componentWillLoad() {
20
- this.internalValue = this.value;
21
- }
22
- render() {
23
- return (h("div", { key: '64f507df1eac5c53bd7d63fe189fbf56dc709c84', "aria-label": 'a progress bar', "aria-value": this.value, class: `progress-bar ${this.size}` }, h("div", { key: '4c5ad2468ad886bcdfb82b5bccf89ca7d12a92f4', class: "progress", style: { width: `${this.internalValue}%` } }, this.showLabel && this.size !== "s" && this.internalValue !== 0 && h("span", { key: 'dba659058f24981db9abd33f127a02ded4ae22b4', class: "label" }, `${this.internalValue}%`))));
24
- }
25
- static get watchers() { return {
26
- "value": ["valueChanged"]
27
- }; }
28
- static get style() { return IfxProgressBarStyle0; }
29
- }, [1, "ifx-progress-bar", {
30
- "value": [2],
31
- "size": [1],
32
- "showLabel": [4, "show-label"],
33
- "internalValue": [32]
34
- }, undefined, {
35
- "value": ["valueChanged"]
36
- }]);
37
- function defineCustomElement() {
38
- if (typeof customElements === "undefined") {
39
- return;
40
- }
41
- const components = ["ifx-progress-bar"];
42
- components.forEach(tagName => { switch (tagName) {
43
- case "ifx-progress-bar":
44
- if (!customElements.get(tagName)) {
45
- customElements.define(tagName, ProgressBar);
46
- }
47
- break;
48
- } });
49
- }
50
-
51
- export { ProgressBar as P, defineCustomElement as d };
52
-
53
- //# sourceMappingURL=p-cf1e2d94.js.map
@@ -1 +0,0 @@
1
- {"file":"p-cf1e2d94.js","mappings":";;AAAA,MAAM,cAAc,GAAG,2mBAA2mB,CAAC;AACnoB,6BAAe,cAAc;;MCOhB,WAAW;IALxB;;;;QAMU,UAAK,GAAW,CAAC,CAAC;QAElB,cAAS,GAAY,KAAK,CAAC;KA2BpC;IAtBC,YAAY,CAAC,QAAgB,EAAE,QAAgB;QAC7C,IAAI,QAAQ,KAAK,QAAQ,EAAE;YACzB,IAAI,CAAC,aAAa,GAAG,QAAQ,CAAC;SAC/B;KACF;IAGD,iBAAiB;QACf,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,KAAK,CAAC;KACjC;IAID,MAAM;QACJ,QACE,0EAAgB,gBAAgB,gBAAa,IAAI,CAAC,KAAK,EAAG,KAAK,EAAE,gBAAgB,IAAI,CAAC,IAAI,EAAE,IAC1F,4DAAK,KAAK,EAAC,UAAU,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,aAAa,GAAG,EAAE,IAC7D,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,IAAI,KAAK,GAAG,IAAI,IAAI,CAAC,aAAa,KAAK,CAAC,IAAI,6DAAM,KAAK,EAAC,OAAO,IAAE,GAAG,IAAI,CAAC,aAAa,GAAG,CAAQ,CACrH,CACF,EACN;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/progress-bar/progress-bar.scss?tag=ifx-progress-bar&encapsulation=shadow","src/components/progress-bar/progress-bar.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n:host {\n display: flex;\n width: 100%;\n}\n\n.progress-bar {\n height: tokens.$ifxSize200;\n bottom: 0;\n right: 0;\n top: 0;\n left: 0;\n display: flex;\n height: tokens.$ifxSize250;\n border-radius: tokens.$ifxBorderRadius12;\n width: 100%; // Ensure the bar itself can grow up to 100% width\n overflow: hidden; // Ensures that the inner progress bar doesn't exceed the width of the outer progress bar\n background-color: tokens.$ifxColorEngineering200;\n font-family: var(--ifx-font-family, sans-serif);\n \n &.s {\n height: 4px;\n }\n\n .label {\n font-style: normal;\n font-size: tokens.$ifxFontSizeS;\n font-weight: 400;\n line-height: tokens.$ifxLineHeightS;\n color: tokens.$ifxColorBaseWhite;\n }\n \n .progress {\n display: flex;\n align-items: center;\n justify-content: center;\n min-width: fit-content;\n height: 100%;\n background-color: #0A8276;\n transition: width 0.2s ease;\n }\n}","import { Component, Prop, h, State, Watch } from '@stencil/core';\n \n\n@Component({\n tag: 'ifx-progress-bar',\n styleUrl: 'progress-bar.scss',\n shadow: true\n})\nexport class ProgressBar {\n @Prop() value: number = 0;\n @Prop() size: string;\n @Prop() showLabel: boolean = false;\n\n @State() internalValue: number;\n\n @Watch('value')\n valueChanged(newValue: number, oldValue: number) {\n if (newValue !== oldValue) {\n this.internalValue = newValue;\n }\n }\n\n \n componentWillLoad() {\n this.internalValue = this.value;\n }\n\n\n\n render() {\n return (\n <div aria-label='a progress bar' aria-value={this.value} class={`progress-bar ${this.size}`}>\n <div class=\"progress\" style={{ width: `${this.internalValue}%` }}>\n {this.showLabel && this.size !== \"s\" && this.internalValue !== 0 && <span class=\"label\">{`${this.internalValue}%`}</span>}\n </div>\n </div>\n );\n }\n}\n"],"version":3}
@@ -1,68 +0,0 @@
1
- import { p as proxyCustomElement, H, h, d as Host } from './p-2cc378b8.js';
2
- import { d as defineCustomElement$2 } from './p-35d83f23.js';
3
- import { d as defineCustomElement$1 } from './p-ccc83a43.js';
4
-
5
- const notificationCss = ":root{--ifx-font-family:\"Source Sans 3\";font-family:var(--ifx-font-family, sans-serif)}.ifx-notification__wrapper{display:flex;flex-direction:row;align-items:center;padding:8px 16px;background-color:#FFFFFF;font-family:var(--ifx-font-family);color:#1D1D1D;border:1px solid #EEEDED}.ifx-notification__wrapper.ifx-notification__wrapper--success{border-left:4px solid #4CA460}.ifx-notification__wrapper.ifx-notification__wrapper--success .ifx-notification__icon{color:#4CA460}.ifx-notification__wrapper.ifx-notification__wrapper--locked{border-left:4px solid #E16B25}.ifx-notification__wrapper.ifx-notification__wrapper--locked .ifx-notification__icon{color:#E16B25}.ifx-notification__wrapper.ifx-notification__wrapper--error{border-left:4px solid #CD002F}.ifx-notification__wrapper.ifx-notification__wrapper--error .ifx-notification__icon{color:#CD002F}.ifx-notification__wrapper.ifx-notification__wrapper--neutral{border-left:4px solid #0A8276}.ifx-notification__wrapper.ifx-notification__wrapper--neutral .ifx-notification__icon{color:#0A8276}.ifx-notification__wrapper .ifx-notification__icon{margin-right:8px;display:flex;align-self:center}.ifx-notification__wrapper .ifx-notification__body{display:flex;flex-direction:row;flex-grow:1;font-size:0.875rem}.ifx-notification__wrapper .ifx-notification__body .ifx-notification__slot{flex-grow:1;display:inline-flex;align-items:center}.ifx-notification__wrapper .ifx-notification__link{font-size:0.875rem}@media (max-width: 576px){.ifx-notification__wrapper .ifx-notification__icon{align-self:flex-start}.ifx-notification__wrapper .ifx-notification__body{flex-direction:column}.ifx-notification__wrapper .ifx-notification__link{margin-top:8px}}";
6
- const IfxNotificationStyle0 = notificationCss;
7
-
8
- const Notification = /*@__PURE__*/ proxyCustomElement(class Notification extends H {
9
- constructor() {
10
- super();
11
- this.__registerHost();
12
- this.__attachShadow();
13
- this.variant = 'success';
14
- this.linkTarget = '_blank';
15
- }
16
- getClassName() {
17
- switch (this.variant) {
18
- case 'success':
19
- return 'ifx-notification__wrapper--success';
20
- case 'locked':
21
- return 'ifx-notification__wrapper--locked';
22
- case 'error':
23
- return 'ifx-notification__wrapper--error';
24
- case 'neutral':
25
- return 'ifx-notification__wrapper--neutral';
26
- default:
27
- return 'ifx-notification__wrapper--success';
28
- }
29
- }
30
- render() {
31
- return (h(Host, { key: '0dd676bc04284ad399c5a0440098135d554615c4' }, h("div", { key: 'b23ca01703b587afe68079cf5294ffa8f72305b0', class: "ifx-notification__wrapper " + this.getClassName() }, h("div", { key: 'a5fd017b7d7772d74ce170c0ea6fbee4fbb06e28', class: "ifx-notification__icon" }, h("ifx-icon", { key: '7e2ec54795203feae44671dc4da46e07b75abb72', icon: this.icon })), h("div", { key: 'a5adebc75edd62a631a9db803fe5ef71e38a9c2f', class: "ifx-notification__body" }, h("div", { key: 'eac42f5bcb598e324914388282216f894b4fed83', class: "ifx-notification__slot" }, h("slot", { key: 'd3d6ce27ebf3156cee597c9284e3211605002575' })), this.linkText && this.linkHref &&
32
- h("div", { key: '4bcd58bd5a905db89f733ea2b3111527d4daa0e1', class: "ifx-notification__link" }, h("ifx-link", { key: '5328a0e65cb70389be8ac6760dab85774c8934ae', href: this.linkHref, target: this.linkTarget }, this.linkText, h("ifx-icon", { key: '4fd6f927a8dc244dd6a55d751080d27ebf4e2be8', icon: "arrow-right-16" })))))));
33
- }
34
- static get style() { return IfxNotificationStyle0; }
35
- }, [1, "ifx-notification", {
36
- "icon": [1],
37
- "variant": [1],
38
- "linkText": [1, "link-text"],
39
- "linkHref": [1, "link-href"],
40
- "linkTarget": [1, "link-target"]
41
- }]);
42
- function defineCustomElement() {
43
- if (typeof customElements === "undefined") {
44
- return;
45
- }
46
- const components = ["ifx-notification", "ifx-icon", "ifx-link"];
47
- components.forEach(tagName => { switch (tagName) {
48
- case "ifx-notification":
49
- if (!customElements.get(tagName)) {
50
- customElements.define(tagName, Notification);
51
- }
52
- break;
53
- case "ifx-icon":
54
- if (!customElements.get(tagName)) {
55
- defineCustomElement$2();
56
- }
57
- break;
58
- case "ifx-link":
59
- if (!customElements.get(tagName)) {
60
- defineCustomElement$1();
61
- }
62
- break;
63
- } });
64
- }
65
-
66
- export { Notification as N, defineCustomElement as d };
67
-
68
- //# sourceMappingURL=p-fa58a72c.js.map
@@ -1 +0,0 @@
1
- {"file":"p-fa58a72c.js","mappings":";;;;AAAA,MAAM,eAAe,GAAG,+pDAA+pD,CAAC;AACxrD,8BAAe,eAAe;;MCQjB,YAAY;IALzB;;;;QAOU,YAAO,GAAwB,SAAS,CAAC;QAGzC,eAAU,GAAW,QAAQ,CAAC;KA0CvC;IAvCS,YAAY;QAClB,QAAQ,IAAI,CAAC,OAAO;YAClB,KAAK,SAAS;gBACZ,OAAO,oCAAoC,CAAC;YAC9C,KAAK,QAAQ;gBACX,OAAO,mCAAmC,CAAC;YAC7C,KAAK,OAAO;gBACV,OAAO,kCAAkC,CAAC;YAC5C,KAAK,SAAS;gBACZ,OAAO,oCAAoC,CAAC;YAC9C;gBACE,OAAO,oCAAoC,CAAC;SAC/C;KACF;IAED,MAAM;QACJ,QACE,EAAC,IAAI,uDACH,4DAAK,KAAK,EAAE,4BAA4B,GAAG,IAAI,CAAC,YAAY,EAAE,IAC5D,4DAAK,KAAK,EAAC,wBAAwB,IACjC,iEAAU,IAAI,EAAE,IAAI,CAAC,IAAI,GAAa,CAClC,EACN,4DAAK,KAAK,EAAC,wBAAwB,IACjC,4DAAK,KAAK,EAAC,wBAAwB,IACjC,8DAAO,CACH,EACJ,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ;YAChC,4DAAK,KAAK,EAAC,wBAAwB,IACjC,iEAAU,IAAI,EAAE,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,CAAC,UAAU,IACnD,IAAI,CAAC,QAAQ,EAAC,iEAAU,IAAI,EAAC,gBAAgB,GACrC,CACA,CACP,CAEF,CACF,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/notification/notification.scss?tag=ifx-notification&encapsulation=shadow","src/components/notification/notification.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n.ifx-notification__wrapper {\n display: flex;\n flex-direction: row;\n align-items: center;\n\n padding: tokens.$ifxSpace100 tokens.$ifxSpace200;\n\n background-color: tokens.$ifxColorBaseWhite;\n font-family: var(--ifx-font-family);\n color: tokens.$ifxColorBaseBlack;\n\n border: tokens.$ifxBorderWidth12 solid tokens.$ifxColorEngineering200;\n\n &.ifx-notification__wrapper--success {\n border-left: tokens.$ifxBorderWidth50 solid tokens.$ifxColorGreen500;\n\n & .ifx-notification__icon {\n color: tokens.$ifxColorGreen500;\n }\n }\n\n &.ifx-notification__wrapper--locked {\n border-left: tokens.$ifxBorderWidth50 solid tokens.$ifxColorOrange500;\n\n & .ifx-notification__icon {\n color: tokens.$ifxColorOrange500;\n }\n }\n\n &.ifx-notification__wrapper--error {\n border-left: tokens.$ifxBorderWidth50 solid tokens.$ifxColorRed500;\n\n & .ifx-notification__icon {\n color: tokens.$ifxColorRed500;\n }\n }\n\n &.ifx-notification__wrapper--neutral{\n border-left: tokens.$ifxBorderWidth50 solid tokens.$ifxColorOcean500;\n\n & .ifx-notification__icon {\n color: tokens.$ifxColorOcean500;\n }\n }\n\n & .ifx-notification__icon {\n margin-right: tokens.$ifxSpace100;\n display: flex;\n align-self: center;\n }\n\n & .ifx-notification__body {\n display: flex;\n flex-direction: row;\n flex-grow: 1;\n font-size: tokens.$ifxFontSizeS;\n\n & .ifx-notification__slot {\n flex-grow: 1;\n display: inline-flex;\n align-items: center;\n }\n }\n\n & .ifx-notification__link {\n font-size: tokens.$ifxFontSizeS;\n }\n\n @media (max-width: tokens.$ifxBreakpointXs) {\n & .ifx-notification__icon {\n align-self: flex-start;\n }\n\n & .ifx-notification__body {\n flex-direction: column;\n }\n\n & .ifx-notification__link {\n margin-top: tokens.$ifxSpace100;\n }\n }\n}","import { Component, h, Host, Prop } from '@stencil/core';\n \nexport type NotificationVariant = 'success' | 'locked' | 'error' | 'neutral';\n\n@Component({\n tag: 'ifx-notification',\n styleUrl: 'notification.scss',\n shadow: true\n})\nexport class Notification {\n @Prop() icon: string;\n @Prop() variant: NotificationVariant = 'success';\n @Prop() linkText: string; \n @Prop() linkHref: string;\n @Prop() linkTarget: string = '_blank';\n\n\n private getClassName(): string {\n switch (this.variant) {\n case 'success':\n return 'ifx-notification__wrapper--success';\n case 'locked':\n return 'ifx-notification__wrapper--locked';\n case 'error':\n return 'ifx-notification__wrapper--error';\n case 'neutral':\n return 'ifx-notification__wrapper--neutral';\n default:\n return 'ifx-notification__wrapper--success';\n }\n }\n\n render() {\n return (\n <Host>\n <div class={\"ifx-notification__wrapper \" + this.getClassName()}>\n <div class=\"ifx-notification__icon\">\n <ifx-icon icon={this.icon}></ifx-icon>\n </div>\n <div class=\"ifx-notification__body\">\n <div class=\"ifx-notification__slot\">\n <slot/>\n </div>\n { this.linkText && this.linkHref && \n <div class=\"ifx-notification__link\">\n <ifx-link href={this.linkHref} target={this.linkTarget}>\n {this.linkText}<ifx-icon icon=\"arrow-right-16\">\n </ifx-icon>\n </ifx-link>\n </div>\n }\n </div>\n </div>\n </Host>\n );\n }\n}"],"version":3}
@@ -1 +0,0 @@
1
- {"file":"p-fc183f8e.js","mappings":";;;;AAAA,MAAM,aAAa,GAAG,w4EAAw4E,CAAC;AAC/5E,4BAAe,aAAa;;MCSf,UAAU;IANvB;;;;QAYU,WAAM,GAAW,OAAO,CAAC;QACzB,UAAK,GAAW,OAAO,CAAC;KAgFjC;IA1EC,WAAW,CAAC,KAAY;QACtB,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,KAAK,CAAC,wBAAwB,EAAE,CAAC;SAClC;KACF;IAGD,MAAM,QAAQ;QACZ,IAAI,CAAC,gBAAgB,CAAC,KAAK,EAAE,CAAC;KAC/B;IAED,iBAAiB;QACf,IAAI,IAAI,CAAC,KAAK,KAAK,EAAE,EAAE;YACrB,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC;SACtB;KACF;IAED,MAAM;QACJ,QACE,EAAC,IAAI,uDACF,IAAI,CAAC,IAAI,IACR,0BACiB,IAAI,CAAC,QAAQ,gBACjB,yBAAyB,EACpC,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,gBAAgB,GAAG,EAAE,CAAC,EACzC,KAAK,EAAE,IAAI,CAAC,aAAa,EAAE,EAC3B,IAAI,EAAE,CAAC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,IAAI,GAAG,SAAS,EAC5C,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,GAAG,EAAE,IAAI,CAAC,MAAM,KAAK,QAAQ,GAAG,qBAAqB,GAAG,SAAS,IAEjE,gBAAU,IAAI,EAAE,IAAI,CAAC,IAAI,GAAa,CACpC,KAEJ,cACE,KAAK,EAAE,IAAI,CAAC,aAAa,EAAE,EAC3B,IAAI,EAAC,QAAQ,IAEb,gBAAU,IAAI,EAAE,IAAI,CAAC,IAAI,GAAa,CAC/B,CACV,CACI,EACP;KACH;IAED,eAAe;QACb,OAAO,GAAG,IAAI,CAAC,OAAO,EAAE,KAAK,WAAW;cACpC,WAAW;cACX,GAAG,IAAI,CAAC,OAAO,EAAE,KAAK,UAAU;kBAC9B,UAAU;kBACV,SAAS,CAAC;KACjB;IAED,YAAY;QACV,IAAI,GAAG,IAAI,CAAC,IAAI,EAAE,KAAK,IAAI,EAAE;YAC3B,OAAO,IAAI,CAAA;SACZ;aACI,IAAI,GAAG,IAAI,CAAC,IAAI,EAAE,KAAK,GAAG,EAAE;YAC/B,OAAO,GAAG,CAAA;SACX;aACI,IAAI,GAAG,IAAI,CAAC,IAAI,EAAE,KAAK,GAAG,EAAE;YAC/B,OAAO,GAAG,CAAA;SACX;;YACI,OAAO,EAAE,CAAC;KAChB;IAED,aAAa;QACX,OAAO,UAAU,CACf,iBAAiB,EACjB,OAAO,IAAI,CAAC,KAAK,EAAE,EACnB,IAAI,CAAC,IAAI,IAAI,OAAO,IAAI,CAAC,YAAY,EAAE,EAAE,EACzC,OAAO,IAAI,CAAC,eAAe,EAAE,EAAE,EAC/B,IAAI,CAAC,QAAQ,GAAG,UAAU,GAAG,EAAE,CAChC,CAAC;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/icon-button/icon-button.scss?tag=ifx-icon-button&encapsulation=shadow","src/components/icon-button/icon-button.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n\n:host {\n display: inline-flex;\n}\n\n.btn {\n box-sizing: border-box;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n min-height: tokens.$ifxSize500;\n padding: 8px;\n gap: tokens.$ifxSpace100;\n color: tokens.$ifxColorBaseWhite;\n flex-direction: row;\n font-weight: tokens.$ifxFontWeightSemibold;\n border-radius: tokens.$ifxBorderRadius12;\n line-height: tokens.$ifxLineHeightM;\n outline: none;\n font-family: var(--ifx-font-family);\n text-decoration: none;\n user-select: none;\n border: 1px solid rgba(0, 0, 0, 0);\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}\n\n.btn:not(.disabled) {\n cursor: pointer;\n}\n\n.btn-primary {\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\n.btn-secondary {\n color: tokens.$ifxColorOcean500;\n background-color: tokens.$ifxColorBaseWhite;\n border-color: 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 {\n background-color: transparent;\n color: tokens.$ifxColorBaseBlack;\n\n &:disabled,\n &.disabled {\n color: tokens.$ifxColorEngineering300;\n pointer-events: none;\n }\n}\n\n\n.btn {\n\n &.icon-button {\n min-width: initial;\n min-height: initial;\n width: tokens.$ifxSize500;\n height: tokens.$ifxSize500;\n padding: 0;\n justify-content: center;\n\n &.btn-round {\n border-radius: 100px;\n }\n\n &.btn-square {\n border-radius: tokens.$ifxBorderRadius12;\n }\n\n &.btn-s {\n width: tokens.$ifxSize400;\n height: tokens.$ifxSize400;\n padding: 8px;\n }\n\n\n &.btn-l {\n width: tokens.$ifxSize600;\n height: tokens.$ifxSize600;\n padding: 8px;\n }\n }\n\n &.btn-primary: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 border-color: tokens.$ifxColorOcean600;\n }\n\n &:active,\n &.active {\n background-color: tokens.$ifxColorOcean700;\n border-color: tokens.$ifxColorOcean700;\n }\n }\n\n\n &.btn-secondary: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 border-color: tokens.$ifxColorOcean600;\n color: tokens.$ifxColorBaseWhite;\n }\n\n &:active,\n &.active {\n background-color: tokens.$ifxColorOcean700;\n border-color: tokens.$ifxColorOcean700;\n }\n }\n\n &.btn-tertiary:not(:disabled, .disabled) {\n &:focus:not(:active, .active) {\n outline: none;\n color: tokens.$ifxColorBaseBlack;\n box-shadow: 0 0 0 0px tokens.$ifxColorBaseWhite, 0 0 0 2px tokens.$ifxColorOcean500;\n }\n\n &:hover {\n color: tokens.$ifxColorOcean500;\n }\n\n &:active,\n &.active {\n color: tokens.$ifxColorOcean600;\n }\n }\n}","import { Component, Prop, h, Host, Method, Element, Listen } from '@stencil/core';\nimport classNames from 'classnames';\n \n\n@Component({\n tag: 'ifx-icon-button',\n styleUrl: 'icon-button.scss',\n shadow: true,\n})\n\nexport class IconButton {\n @Prop() variant: 'primary' | 'secondary' | 'tertiary';\n @Prop() size: string;\n @Prop() disabled: boolean;\n @Prop() icon: string;\n @Prop() href: string;\n @Prop() target: string = '_self';\n @Prop() shape: string = 'round';\n @Element() el;\n\n private focusableElement: HTMLElement;\n\n @Listen('click', { capture: true })\n handleClick(event: Event) {\n if (this.disabled) {\n event.stopImmediatePropagation();\n }\n }\n\n @Method()\n async setFocus() {\n this.focusableElement.focus();\n }\n\n componentWillLoad() {\n if (this.shape === '') {\n this.shape = 'round';\n }\n }\n\n render() {\n return (\n <Host>\n {this.href ? (\n <a\n aria-disabled={this.disabled}\n aria-label='a clickable icon button'\n ref={(el) => (this.focusableElement = el)}\n class={this.getClassNames()}\n href={!this.disabled ? this.href : undefined}\n target={this.target}\n rel={this.target === '_blank' ? 'noopener noreferrer' : undefined}\n >\n <ifx-icon icon={this.icon}></ifx-icon>\n </a>\n ) : (\n <button\n class={this.getClassNames()}\n type=\"button\"\n >\n <ifx-icon icon={this.icon}></ifx-icon>\n </button>\n )}\n </Host>\n );\n }\n\n getVariantClass() {\n return `${this.variant}` === \"secondary\"\n ? `secondary`\n : `${this.variant}` === 'tertiary'\n ? `tertiary`\n : `primary`;\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 icon-button',\n `btn-${this.shape}`,\n this.size && `btn-${this.getSizeClass()}`,\n `btn-${this.getVariantClass()}`,\n this.disabled ? 'disabled' : ''\n );\n }\n}"],"version":3}
@@ -1,318 +0,0 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-c77e25a0.js';
2
-
3
- const fileUploadCss = ":root{--ifx-font-family:\"Source Sans 3\";font-family:var(--ifx-font-family, sans-serif)}:host{font-family:var(--ifx-font-family, sans-serif)}.file-upload-wrapper{display:flex;flex-direction:column}.upload-dropzone{border:1px dashed #BFBBBB;padding:40px;text-align:center;cursor:pointer;color:#1D1D1D;transition:border-color 0.3s ease;border-radius:1px;background:#FFFFFF}.upload-dropzone ifx-icon{color:#0A8276}.upload-dropzone:hover{border:1px dashed #8D8786}.upload-dropzone.drag-over{border:1px solid #0A8276;background:#F7F7F7}.upload-dropzone input{display:none}.file-upload-info{font-style:normal;font-weight:400;font-size:0.75rem;line-height:1rem;letter-spacing:0em;color:#1D1D1D;margin:0;margin-top:4px}.file-list{list-style:none;padding:0;margin:0;margin-top:16px;display:flex;flex-direction:column;gap:16px}.file-item{border:1px solid #BFBBBB;padding:16px;display:flex;gap:16px}.file-info{width:100%;min-width:0}.file-top-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:-8px}.file-top-row ifx-icon{flex-shrink:0}.file-name-wrapper{display:flex;min-width:0;max-width:100%;white-space:nowrap;overflow:hidden;font-weight:400;font-size:0.875rem}.file-name-base{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-shrink:1;min-width:0}.file-name-ext{flex-shrink:0;margin-left:0}.file-middle-row{display:flex;align-items:center;font-size:0.75rem;line-height:1rem;flex-wrap:wrap;color:#575352}.file-middle-row .file-status{margin-left:16px}.file-progress-row{margin-top:16px}.file-progress-row ifx-progress-bar{width:100%}.upload-success{border-color:#0A8276}.upload-success .file-status ifx-icon{position:relative;top:2px;color:#4CA460}.upload-failed{border-color:#CD002F}.upload-failed .file-status{color:#CD002F;margin-left:0}";
4
- const IfxFileUploadStyle0 = fileUploadCss;
5
-
6
- const IfxFileUpload = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- this.ifxFileUploadAdd = createEvent(this, "ifxFileUploadAdd", 7);
10
- this.ifxFileUploadRemove = createEvent(this, "ifxFileUploadRemove", 7);
11
- this.ifxFileUploadChange = createEvent(this, "ifxFileUploadChange", 7);
12
- this.ifxFileUploadError = createEvent(this, "ifxFileUploadError", 7);
13
- this.ifxFileUploadInvalid = createEvent(this, "ifxFileUploadInvalid", 7);
14
- this.ifxFileUploadStart = createEvent(this, "ifxFileUploadStart", 7);
15
- this.ifxFileUploadComplete = createEvent(this, "ifxFileUploadComplete", 7);
16
- this.ifxFileUploadAbort = createEvent(this, "ifxFileUploadAbort", 7);
17
- this.ifxFileUploadDrop = createEvent(this, "ifxFileUploadDrop", 7);
18
- this.ifxFileUploadClick = createEvent(this, "ifxFileUploadClick", 7);
19
- this.dragAndDrop = false;
20
- this.maxFileSizeMB = 7;
21
- this.allowedFileTypes = ['jpg', 'jpeg', 'png', 'pdf', 'mov', 'mp3', 'mp4'];
22
- this.labelBrowseFiles = 'Browse files';
23
- this.labelDragAndDrop = 'Drag & Drop or browse files to upload';
24
- this.labelFileTooLarge = 'Upload failed. Max file size: {{size}}MB.';
25
- this.labelUnsupportedFileType = 'Unsupported file type.';
26
- this.labelUploaded = 'Successfully uploaded';
27
- this.labelSupportedFormatsTemplate = 'Supported file formats: {{types}}. Max file size: {{size}}MB.';
28
- this.isDragOver = false;
29
- this.files = [];
30
- this.uploadTasks = [];
31
- this.rejectedSizeFiles = [];
32
- this.rejectedTypeFiles = [];
33
- this.fileInputEl = null;
34
- this.extensionToMimeMap = {
35
- jpg: 'image/jpeg',
36
- jpeg: 'image/jpeg',
37
- png: 'image/png',
38
- pdf: 'application/pdf',
39
- mov: 'video/quicktime',
40
- mp3: 'audio/mpeg',
41
- mp4: 'video/mp4'
42
- };
43
- }
44
- getNormalizedFileTypes() {
45
- if (Array.isArray(this.allowedFileTypes)) {
46
- return this.allowedFileTypes;
47
- }
48
- try {
49
- return JSON.parse(this.allowedFileTypes);
50
- }
51
- catch (_a) {
52
- return this.allowedFileTypes.split(',').map(t => t.trim());
53
- }
54
- }
55
- handleFileChange(event) {
56
- const input = event.target;
57
- if (!input.files)
58
- return;
59
- this.processFiles(input.files);
60
- }
61
- handleDrop(event) {
62
- var _a;
63
- event.preventDefault();
64
- event.stopPropagation();
65
- this.isDragOver = false;
66
- if ((_a = event.dataTransfer) === null || _a === void 0 ? void 0 : _a.files) {
67
- const droppedFiles = Array.from(event.dataTransfer.files);
68
- const allowedMimes = this.getNormalizedFileTypes()
69
- .map(ext => this.extensionToMimeMap[ext.toLowerCase()])
70
- .filter(Boolean);
71
- const acceptedFiles = [];
72
- const rejectedFiles = [];
73
- droppedFiles.forEach(file => {
74
- const isValidType = allowedMimes.includes(file.type);
75
- const isValidSize = file.size <= this.maxFileSizeMB * 1024 * 1024;
76
- if (isValidType && isValidSize)
77
- acceptedFiles.push(file);
78
- else
79
- rejectedFiles.push(file);
80
- });
81
- this.ifxFileUploadDrop.emit({
82
- droppedFiles,
83
- acceptedFiles,
84
- rejectedFiles
85
- });
86
- this.processFiles(event.dataTransfer.files);
87
- }
88
- }
89
- handleDragOver(event) {
90
- event.preventDefault();
91
- this.isDragOver = true;
92
- }
93
- handleDragLeave(event) {
94
- event.preventDefault();
95
- this.isDragOver = false;
96
- }
97
- processFiles(fileList) {
98
- const selectedFiles = Array.from(fileList);
99
- const allowedMimes = this.getNormalizedFileTypes()
100
- .map(ext => this.extensionToMimeMap[ext.toLowerCase()])
101
- .filter(Boolean);
102
- const validFiles = [];
103
- const rejectedSize = [];
104
- const rejectedType = [];
105
- selectedFiles.forEach(file => {
106
- const isValidType = allowedMimes.includes(file.type);
107
- const isValidSize = file.size <= this.maxFileSizeMB * 1024 * 1024;
108
- if (isValidType && isValidSize) {
109
- validFiles.push(file);
110
- }
111
- else {
112
- if (!isValidType) {
113
- rejectedType.push(file.name);
114
- this.ifxFileUploadInvalid.emit({ file, reason: 'invalid-type' });
115
- }
116
- if (!isValidSize) {
117
- rejectedSize.push(file.name);
118
- this.ifxFileUploadInvalid.emit({ file, reason: 'invalid-size' });
119
- }
120
- this.ifxFileUploadError.emit({ file, errorType: !isValidType ? 'invalid-type' : 'file-too-large', message: 'Invalid file rejected' });
121
- }
122
- });
123
- this.rejectedSizeFiles = [...this.rejectedSizeFiles, ...rejectedSize];
124
- this.rejectedTypeFiles = [...this.rejectedTypeFiles, ...rejectedType];
125
- validFiles.forEach(file => this.startUpload(file));
126
- this.files = [...this.files, ...validFiles];
127
- if (validFiles.length > 0) {
128
- this.ifxFileUploadAdd.emit({ addedFiles: validFiles, files: this.files });
129
- this.ifxFileUploadChange.emit({ files: this.files });
130
- }
131
- }
132
- startUpload(file) {
133
- this.ifxFileUploadStart.emit({ file });
134
- const task = {
135
- file,
136
- progress: 0,
137
- intervalId: null,
138
- completed: false
139
- };
140
- if (this.uploadHandler) {
141
- // Real Upload
142
- // <ifx-file-upload
143
- // uploadHandler={(file) => {
144
- // const formData = new FormData();
145
- // formData.append('file', file);
146
- // return fetch('/api/upload', {
147
- // method: 'POST',
148
- // body: formData
149
- // }).then(res => {
150
- // if (!res.ok) throw new Error('Upload failed');
151
- // });
152
- // }}
153
- // ></ifx-file-upload>
154
- this.uploadHandler(file).then(() => {
155
- task.progress = 100;
156
- task.completed = true;
157
- this.uploadTasks = [...this.uploadTasks];
158
- this.ifxFileUploadComplete.emit({ file });
159
- this.ifxFileUploadChange.emit({ files: this.files });
160
- }).catch(() => {
161
- console.error('Upload failed');
162
- this.ifxFileUploadError.emit({ file, errorType: 'upload-failed', message: 'Upload handler rejected file' });
163
- });
164
- }
165
- else {
166
- const totalSize = file.size;
167
- const fakeUploadSpeed = 500000;
168
- let uploaded = 0;
169
- task.intervalId = window.setInterval(() => {
170
- uploaded += fakeUploadSpeed / 5;
171
- const progress = Math.min(100, Math.round((uploaded / totalSize) * 100));
172
- task.progress = progress;
173
- this.uploadTasks = [...this.uploadTasks];
174
- if (progress >= 100) {
175
- clearInterval(task.intervalId);
176
- task.completed = true;
177
- task.intervalId = null;
178
- this.uploadTasks = [...this.uploadTasks];
179
- this.ifxFileUploadComplete.emit({ file });
180
- this.ifxFileUploadChange.emit({ files: this.files });
181
- }
182
- }, 200);
183
- }
184
- this.uploadTasks = [...this.uploadTasks, task];
185
- }
186
- cancelUpload(file) {
187
- const taskIndex = this.uploadTasks.findIndex(t => t.file.name === file.name);
188
- if (taskIndex !== -1) {
189
- const task = this.uploadTasks[taskIndex];
190
- if ((task === null || task === void 0 ? void 0 : task.intervalId) !== null) {
191
- clearInterval(task.intervalId);
192
- }
193
- this.uploadTasks = this.uploadTasks.filter((_, i) => i !== taskIndex);
194
- }
195
- this.files = this.files.filter(f => f.name !== file.name);
196
- this.ifxFileUploadAbort.emit({ file });
197
- this.ifxFileUploadChange.emit({ files: this.files });
198
- if (this.fileInputEl) {
199
- this.fileInputEl.value = '';
200
- }
201
- }
202
- removeFile(file) {
203
- this.uploadTasks = this.uploadTasks.filter(task => task.file.name !== file.name);
204
- this.files = this.files.filter(f => f.name !== file.name);
205
- this.ifxFileUploadRemove.emit({ removedFile: file, files: this.files });
206
- this.ifxFileUploadChange.emit({ files: this.files });
207
- if (this.fileInputEl) {
208
- this.fileInputEl.value = '';
209
- }
210
- }
211
- clearRejectedFile(fileName, type) {
212
- if (type === 'size') {
213
- this.rejectedSizeFiles = this.rejectedSizeFiles.filter(f => f !== fileName);
214
- }
215
- else {
216
- this.rejectedTypeFiles = this.rejectedTypeFiles.filter(f => f !== fileName);
217
- }
218
- if (this.fileInputEl) {
219
- this.fileInputEl.value = '';
220
- }
221
- }
222
- splitFileNameParts(file) {
223
- const name = file.name;
224
- const dotIndex = name.lastIndexOf('.');
225
- if (dotIndex === -1)
226
- return { base: name, ext: '' };
227
- return {
228
- base: name.substring(0, dotIndex),
229
- ext: name.substring(dotIndex)
230
- };
231
- }
232
- getFileIcon(file) {
233
- var _a;
234
- const extension = (_a = file.name.split('.').pop()) === null || _a === void 0 ? void 0 : _a.toLowerCase();
235
- switch (extension) {
236
- case 'pdf': return 'file-pdf-16';
237
- case 'jpg':
238
- case 'jpeg': return 'file-jpg-16';
239
- case 'png': return 'file-png-16';
240
- case 'mov': return 'file-mov-16';
241
- case 'mp3': return 'file-mp3-16';
242
- case 'mp4': return 'file-mp4-16';
243
- default: return 'file';
244
- }
245
- }
246
- getFormattedSize(file) {
247
- const sizeInKB = file.size / 1024;
248
- return sizeInKB > 1024
249
- ? `${(sizeInKB / 1024).toFixed(1)} MB`
250
- : `${sizeInKB.toFixed(0)} KB`;
251
- }
252
- getAcceptAttribute() {
253
- return this.getNormalizedFileTypes().map(ext => '.' + ext.toLowerCase()).join(',');
254
- }
255
- getSupportedFileText() {
256
- return this.labelSupportedFormatsTemplate
257
- .replace('{{types}}', this.getNormalizedFileTypes().map(ext => ext.toUpperCase()).join(', '))
258
- .replace('{{size}}', this.maxFileSizeMB.toString());
259
- }
260
- getFormattedFileTooLargeText() {
261
- return this.labelFileTooLarge.replace('{{size}}', this.maxFileSizeMB.toString());
262
- }
263
- componentDidLoad() {
264
- if (this.hostElement.hasAttribute('show-demo-states')) {
265
- this.showDemoStates = true;
266
- }
267
- if (this.showDemoStates) {
268
- this.injectDemoState();
269
- }
270
- }
271
- async injectDemoState() {
272
- const uploading = new File(['demo'], 'Image.jpg', { type: 'image/jpeg' });
273
- const uploaded = new File(['demo'], 'File.pdf', { type: 'application/pdf' });
274
- const tooLarge = new File(['demo'], 'Video.mp4', { type: 'video/mp4' });
275
- const unsupported = new File(['demo'], 'Script.exe', { type: 'application/x-msdownload' });
276
- this.files = [uploaded, uploading];
277
- this.uploadTasks = [
278
- { file: uploaded, progress: 100, intervalId: null, completed: true },
279
- { file: uploading, progress: 35, intervalId: null, completed: false }
280
- ];
281
- this.rejectedSizeFiles = [tooLarge.name];
282
- this.rejectedTypeFiles = [unsupported.name];
283
- }
284
- render() {
285
- return (h("div", { key: '9ebbf4de0d20c25b5c0167dd48b6ab4d538ca736', class: "file-upload-wrapper" }, this.dragAndDrop ? this.renderDragAndDropArea() : this.renderUploadArea(), h("ul", { key: 'ad545c35ebfaf6016b4cebe0d11d0f4798816718', class: "file-list" }, this.rejectedSizeFiles.map(fileName => (h("li", { class: "file-item upload-failed" }, h("div", { class: "file-icon" }, h("ifx-icon", { icon: "file-16" })), h("div", { class: "file-info" }, h("div", { class: "file-top-row" }, h("span", { class: "file-name-wrapper" }, h("span", { class: "file-name-base" }, this.splitFileNameParts({ name: fileName }).base), h("span", { class: "file-name-ext" }, this.splitFileNameParts({ name: fileName }).ext)), h("div", { class: "file-actions" }, h("ifx-icon-button", { shape: "square", variant: "tertiary", icon: "delete-forever-16", size: "s", "aria-label": "Remove file", onClick: () => this.clearRejectedFile(fileName, 'size') }))), h("div", { class: "file-middle-row" }, h("span", { class: "file-status" }, this.getFormattedFileTooLargeText())))))), this.rejectedTypeFiles.map(fileName => (h("li", { class: "file-item upload-failed" }, h("div", { class: "file-icon" }, h("ifx-icon", { icon: "file-16" })), h("div", { class: "file-info" }, h("div", { class: "file-top-row" }, h("span", { class: "file-name-wrapper" }, h("span", { class: "file-name-base" }, this.splitFileNameParts({ name: fileName }).base), h("span", { class: "file-name-ext" }, this.splitFileNameParts({ name: fileName }).ext)), h("div", { class: "file-actions" }, h("ifx-icon-button", { shape: "square", variant: "tertiary", icon: "delete-forever-16", size: "s", "aria-label": "Remove file", onClick: () => this.clearRejectedFile(fileName, 'type') }))), h("div", { class: "file-middle-row" }, h("span", { class: "file-status" }, this.labelUnsupportedFileType)))))), this.files.map((file) => {
286
- var _a;
287
- const task = this.uploadTasks.find(t => t.file.name === file.name);
288
- const progress = (_a = task === null || task === void 0 ? void 0 : task.progress) !== null && _a !== void 0 ? _a : 100;
289
- const isUploading = task && !task.completed;
290
- const itemClass = isUploading ? 'file-item uploading' : 'file-item upload-success';
291
- const { base, ext } = this.splitFileNameParts(file);
292
- return (h("li", { class: itemClass }, h("div", { class: "file-icon" }, h("ifx-icon", { icon: this.getFileIcon(file) })), h("div", { class: "file-info" }, h("div", { class: "file-top-row" }, h("span", { class: "file-name-wrapper" }, h("span", { class: "file-name-base" }, base), h("span", { class: "file-name-ext" }, ext)), h("div", { class: "file-actions" }, h("ifx-icon-button", { shape: "square", variant: "tertiary", icon: "cross-16", size: "s", "aria-label": "Cancel upload", onClick: () => this.cancelUpload(file), style: { display: isUploading ? 'inline-flex' : 'none' } }), h("ifx-icon-button", { shape: "square", variant: "tertiary", icon: "delete-forever-16", size: "s", "aria-label": "Remove file", onClick: () => this.removeFile(file), style: { display: !isUploading ? 'inline-flex' : 'none' } }))), h("div", { class: "file-middle-row" }, h("span", { class: "file-size" }, this.getFormattedSize(file)), isUploading && (h("span", { class: "file-uploading" }, "\u00A0\u2013\u00A0Uploading \u2026")), h("span", { class: "file-status" }, !isUploading && (h("span", null, h("ifx-icon", { icon: "check-12" }), "\u00A0", this.labelUploaded)))), isUploading && (h("div", { class: "file-progress-row" }, h("ifx-progress-bar", { size: "s", value: progress, "show-label": "true" }))))));
293
- }))));
294
- }
295
- renderUploadArea() {
296
- const handleInputRef = (el) => {
297
- this.fileInputEl = el;
298
- };
299
- return (h("div", { class: { 'upload-button': true } }, h("label", null, h("ifx-button", { variant: "secondary" }, h("ifx-icon", { icon: "upload-16" }), this.labelBrowseFiles), h("input", { ref: handleInputRef, type: "file", accept: this.getAcceptAttribute(), multiple: true, onChange: (e) => this.handleFileChange(e), style: { display: 'none' } })), h("p", { class: "file-upload-info" }, this.getSupportedFileText())));
300
- }
301
- renderDragAndDropArea() {
302
- const handleInputRef = (el) => {
303
- this.fileInputEl = el;
304
- };
305
- const triggerInputClick = () => {
306
- if (this.fileInputEl) {
307
- this.fileInputEl.click();
308
- }
309
- };
310
- return (h("div", { class: { 'upload-dropzone': true, 'drag-over': this.isDragOver }, onClick: triggerInputClick, onDragOver: (e) => this.handleDragOver(e), onDragLeave: (e) => this.handleDragLeave(e), onDrop: (e) => this.handleDrop(e) }, h("ifx-icon", { icon: "upload-24", class: "custom-icon" }), h("p", null, this.labelDragAndDrop), h("p", { class: "file-upload-info" }, this.getSupportedFileText()), h("div", { style: { height: '0px', overflow: 'hidden' } }, h("input", { ref: handleInputRef, type: "file", accept: this.getAcceptAttribute(), multiple: true, onChange: (e) => this.handleFileChange(e) }))));
311
- }
312
- get hostElement() { return getElement(this); }
313
- };
314
- IfxFileUpload.style = IfxFileUploadStyle0;
315
-
316
- export { IfxFileUpload as ifx_file_upload };
317
-
318
- //# sourceMappingURL=ifx-file-upload.entry.js.map