@infineon/infineon-design-system-stencil 31.4.0--canary.1681.9592b12da32b64b6c8ace449f71e3399531ff0ae.0 → 31.4.0--canary.1722.662310deba5c97e9effdb7d2a3d2c818614b36a1.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 (444) hide show
  1. package/dist/cjs/ifx-alert_2.cjs.entry.js +1 -1
  2. package/dist/cjs/ifx-basic-table.cjs.entry.js +1 -1
  3. package/dist/cjs/ifx-checkbox.cjs.entry.js +4 -11
  4. package/dist/cjs/ifx-checkbox.cjs.entry.js.map +1 -1
  5. package/dist/cjs/ifx-chip_3.cjs.entry.js +11 -11
  6. package/dist/cjs/ifx-content-switcher-item.cjs.entry.js +1 -1
  7. package/dist/cjs/ifx-content-switcher.cjs.entry.js +1 -1
  8. package/dist/cjs/ifx-date-picker.cjs.entry.js +1 -1
  9. package/dist/cjs/ifx-dropdown-header.cjs.entry.js +1 -1
  10. package/dist/cjs/ifx-dropdown-item.cjs.entry.js +1 -1
  11. package/dist/cjs/ifx-dropdown-menu.cjs.entry.js +2 -2
  12. package/dist/cjs/ifx-dropdown-separator.cjs.entry.js +1 -1
  13. package/dist/cjs/ifx-dropdown-trigger-button.cjs.entry.js +2 -2
  14. package/dist/cjs/ifx-dropdown-trigger.cjs.entry.js +1 -1
  15. package/dist/cjs/ifx-dropdown.cjs.entry.js +1 -1
  16. package/dist/cjs/ifx-faq.cjs.entry.js +1 -1
  17. package/dist/cjs/ifx-filter-accordion.cjs.entry.js +2 -2
  18. package/dist/cjs/ifx-filter-bar.cjs.entry.js +1 -1
  19. package/dist/cjs/ifx-filter-search.cjs.entry.js +1 -1
  20. package/dist/cjs/ifx-filter-type-group.cjs.entry.js +1 -1
  21. package/dist/cjs/ifx-footer-column.cjs.entry.js +1 -1
  22. package/dist/cjs/ifx-footer.cjs.entry.js +4 -4
  23. package/dist/cjs/ifx-icon-button.cjs.entry.js +1 -1
  24. package/dist/cjs/ifx-icon.cjs.entry.js +1 -1
  25. package/dist/cjs/ifx-icons-preview.cjs.entry.js +1 -1
  26. package/dist/cjs/ifx-link.cjs.entry.js +1 -1
  27. package/dist/cjs/ifx-list-entry.cjs.entry.js +1 -1
  28. package/dist/cjs/ifx-modal.cjs.entry.js +2 -2
  29. package/dist/cjs/ifx-navbar-item.cjs.entry.js +2 -2
  30. package/dist/cjs/ifx-navbar-profile.cjs.entry.js +3 -3
  31. package/dist/cjs/ifx-navbar.cjs.entry.js +3 -3
  32. package/dist/cjs/ifx-notification.cjs.entry.js +2 -2
  33. package/dist/cjs/ifx-number-indicator.cjs.entry.js +1 -1
  34. package/dist/cjs/ifx-overview-table.cjs.entry.js +1 -1
  35. package/dist/cjs/ifx-progress-bar.cjs.entry.js +1 -1
  36. package/dist/cjs/ifx-radio-button.cjs.entry.js +2 -2
  37. package/dist/cjs/ifx-search-bar.cjs.entry.js +1 -1
  38. package/dist/cjs/ifx-search-field.cjs.entry.js +1 -1
  39. package/dist/cjs/ifx-segment.cjs.entry.js +1 -1
  40. package/dist/cjs/ifx-segmented-control.cjs.entry.js +2 -2
  41. package/dist/cjs/ifx-select.cjs.entry.js +2 -2
  42. package/dist/cjs/ifx-sidebar-item.cjs.entry.js +5 -5
  43. package/dist/cjs/ifx-sidebar-title.cjs.entry.js +1 -1
  44. package/dist/cjs/ifx-sidebar.cjs.entry.js +5 -5
  45. package/dist/cjs/ifx-slider.cjs.entry.js +2 -2
  46. package/dist/cjs/ifx-spinner_2.cjs.entry.js +6 -6
  47. package/dist/cjs/ifx-status.cjs.entry.js +1 -1
  48. package/dist/cjs/ifx-step.cjs.entry.js +4 -4
  49. package/dist/cjs/ifx-stepper.cjs.entry.js +2 -2
  50. package/dist/cjs/ifx-switch.cjs.entry.js +1 -1
  51. package/dist/cjs/ifx-tab.cjs.entry.js +1 -1
  52. package/dist/cjs/ifx-table.cjs.entry.js +2 -2
  53. package/dist/cjs/ifx-tabs.cjs.entry.js +2 -2
  54. package/dist/cjs/ifx-tag.cjs.entry.js +1 -1
  55. package/dist/cjs/ifx-templates-ui.cjs.entry.js +1 -1
  56. package/dist/cjs/ifx-textarea.cjs.entry.js +17 -4
  57. package/dist/cjs/ifx-textarea.cjs.entry.js.map +1 -1
  58. package/dist/cjs/ifx-tooltip.cjs.entry.js +4 -4
  59. package/dist/cjs/index-1ce5aae1.js +0 -4
  60. package/dist/cjs/infineon-design-system-stencil.cjs.js +1 -1
  61. package/dist/cjs/loader.cjs.js +1 -1
  62. package/dist/collection/collection-manifest.json +0 -1
  63. package/dist/collection/components/checkbox/checkbox.css +1 -1
  64. package/dist/collection/components/checkbox/checkbox.js +3 -26
  65. package/dist/collection/components/checkbox/checkbox.js.map +1 -1
  66. package/dist/collection/components/checkbox/checkbox.stories.js +3 -12
  67. package/dist/collection/components/checkbox/checkbox.stories.js.map +1 -1
  68. package/dist/collection/components/chip/chip-item/chip-item.js +2 -2
  69. package/dist/collection/components/chip/chip.js +8 -8
  70. package/dist/collection/components/content-switcher/content-switcher-item.js +1 -1
  71. package/dist/collection/components/content-switcher/content-switcher.js +1 -1
  72. package/dist/collection/components/date-picker/date-picker.js +1 -1
  73. package/dist/collection/components/dropdown/dropdown-header/dropdown-header.js +1 -1
  74. package/dist/collection/components/dropdown/dropdown-item/dropdown-item.js +1 -1
  75. package/dist/collection/components/dropdown/dropdown-menu/dropdown-menu.js +2 -2
  76. package/dist/collection/components/dropdown/dropdown-seperator/dropdown-separator.js +1 -1
  77. package/dist/collection/components/dropdown/dropdown-trigger/dropdown-trigger.js +1 -1
  78. package/dist/collection/components/dropdown/dropdown-trigger-button/dropdown-trigger-button.js +2 -2
  79. package/dist/collection/components/dropdown/dropdown.js +1 -1
  80. package/dist/collection/components/footer/footer-column.js +1 -1
  81. package/dist/collection/components/footer/footer.js +4 -4
  82. package/dist/collection/components/icon/infineonIconStencil.js +1 -1
  83. package/dist/collection/components/icon-button/icon-button.js +1 -1
  84. package/dist/collection/components/icons-preview/icons-preview.js +1 -1
  85. package/dist/collection/components/link/link.js +1 -1
  86. package/dist/collection/components/modal/modal.js +2 -2
  87. package/dist/collection/components/navigation/navbar/navbar-item.js +2 -2
  88. package/dist/collection/components/navigation/navbar/navbar-profile.js +3 -3
  89. package/dist/collection/components/navigation/navbar/navbar.js +3 -3
  90. package/dist/collection/components/navigation/sidebar/sidebar-item.js +5 -5
  91. package/dist/collection/components/navigation/sidebar/sidebar-title.js +1 -1
  92. package/dist/collection/components/navigation/sidebar/sidebar.js +5 -5
  93. package/dist/collection/components/notification/notification.js +2 -2
  94. package/dist/collection/components/number-indicator/number-indicator.js +1 -1
  95. package/dist/collection/components/overview-table/overview-table.js +1 -1
  96. package/dist/collection/components/pagination/pagination.js +1 -1
  97. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  98. package/dist/collection/components/radio-button/radio-button.js +2 -2
  99. package/dist/collection/components/search-bar/search-bar.js +1 -1
  100. package/dist/collection/components/search-field/search-field.js +1 -1
  101. package/dist/collection/components/segmented-control/segment/segment.js +1 -1
  102. package/dist/collection/components/segmented-control/segmented-control.js +2 -2
  103. package/dist/collection/components/select/single-select/select.js +2 -2
  104. package/dist/collection/components/slider/slider.js +2 -2
  105. package/dist/collection/components/spinner/spinner.js +2 -2
  106. package/dist/collection/components/status/status.js +1 -1
  107. package/dist/collection/components/stepper/step/step.js +4 -4
  108. package/dist/collection/components/stepper/stepper.js +2 -2
  109. package/dist/collection/components/switch/switch.js +1 -1
  110. package/dist/collection/components/table-advanced-version/filter-bar/filter-bar.js +1 -1
  111. package/dist/collection/components/table-advanced-version/filter-type-group/filter-accordion/filter-accordion.js +2 -2
  112. package/dist/collection/components/table-advanced-version/filter-type-group/filter-search/filter-search.js +1 -1
  113. package/dist/collection/components/table-advanced-version/filter-type-group/filter-type-group.js +1 -1
  114. package/dist/collection/components/table-advanced-version/list/list-entry/list-entry.js +1 -1
  115. package/dist/collection/components/table-advanced-version/table.js +2 -2
  116. package/dist/collection/components/table-basic-version/table.js +1 -1
  117. package/dist/collection/components/tabs/tab.js +1 -1
  118. package/dist/collection/components/tabs/tabs.js +2 -2
  119. package/dist/collection/components/tag/tag.js +1 -1
  120. package/dist/collection/components/templates/template/template.js +1 -1
  121. package/dist/collection/components/templates/templates-ui/templates-ui.js +1 -1
  122. package/dist/collection/components/text-field/text-field.js +4 -4
  123. package/dist/collection/components/textarea/textarea.css +12 -0
  124. package/dist/collection/components/textarea/textarea.js +36 -3
  125. package/dist/collection/components/textarea/textarea.js.map +1 -1
  126. package/dist/collection/components/textarea/textarea.stories.js +13 -1
  127. package/dist/collection/components/textarea/textarea.stories.js.map +1 -1
  128. package/dist/collection/components/tooltip/tooltip.js +4 -4
  129. package/dist/collection/stories/setup-and-installation/faq/faq.js +1 -1
  130. package/dist/components/ifx-accordion-item.js +1 -1
  131. package/dist/components/ifx-alert.js +1 -1
  132. package/dist/components/ifx-basic-table.js +1 -1
  133. package/dist/components/ifx-breadcrumb-item-label.js +1 -1
  134. package/dist/components/ifx-checkbox.js +1 -1
  135. package/dist/components/ifx-chip-item.js +1 -1
  136. package/dist/components/ifx-chip.js +1 -1
  137. package/dist/components/ifx-content-switcher-item.js +1 -1
  138. package/dist/components/ifx-content-switcher.js +1 -1
  139. package/dist/components/ifx-date-picker.js +2 -2
  140. package/dist/components/ifx-dropdown-header.js +1 -1
  141. package/dist/components/ifx-dropdown-item.js +2 -2
  142. package/dist/components/ifx-dropdown-menu.js +2 -2
  143. package/dist/components/ifx-dropdown-separator.js +1 -1
  144. package/dist/components/ifx-dropdown-trigger-button.js +3 -3
  145. package/dist/components/ifx-dropdown-trigger.js +1 -1
  146. package/dist/components/ifx-dropdown.js +1 -1
  147. package/dist/components/ifx-faq.js +3 -3
  148. package/dist/components/ifx-filter-accordion.js +4 -4
  149. package/dist/components/ifx-filter-bar.js +2 -2
  150. package/dist/components/ifx-filter-search.js +3 -3
  151. package/dist/components/ifx-filter-type-group.js +1 -1
  152. package/dist/components/ifx-footer-column.js +1 -1
  153. package/dist/components/ifx-footer.js +4 -4
  154. package/dist/components/ifx-icon-button.js +1 -1
  155. package/dist/components/ifx-icon.js +1 -1
  156. package/dist/components/ifx-icons-preview.js +4 -4
  157. package/dist/components/ifx-link.js +1 -1
  158. package/dist/components/ifx-list-entry.js +4 -4
  159. package/dist/components/ifx-list.js +2 -2
  160. package/dist/components/ifx-modal.js +4 -4
  161. package/dist/components/ifx-multiselect.js +1 -1
  162. package/dist/components/ifx-navbar-item.js +3 -3
  163. package/dist/components/ifx-navbar-profile.js +3 -3
  164. package/dist/components/ifx-navbar.js +4 -4
  165. package/dist/components/ifx-notification.js +1 -1
  166. package/dist/components/ifx-number-indicator.js +1 -1
  167. package/dist/components/ifx-overview-table.js +4 -4
  168. package/dist/components/ifx-pagination.js +1 -1
  169. package/dist/components/ifx-progress-bar.js +1 -1
  170. package/dist/components/ifx-radio-button.js +1 -1
  171. package/dist/components/ifx-search-bar.js +3 -3
  172. package/dist/components/ifx-search-field.js +1 -1
  173. package/dist/components/ifx-segment.js +2 -2
  174. package/dist/components/ifx-segmented-control.js +3 -3
  175. package/dist/components/ifx-select.js +1 -1
  176. package/dist/components/ifx-set-filter.js +6 -6
  177. package/dist/components/ifx-sidebar-item.js +7 -7
  178. package/dist/components/ifx-sidebar-title.js +1 -1
  179. package/dist/components/ifx-sidebar.js +5 -5
  180. package/dist/components/ifx-slider.js +3 -3
  181. package/dist/components/ifx-spinner.js +1 -1
  182. package/dist/components/ifx-status.js +1 -1
  183. package/dist/components/ifx-step.js +5 -5
  184. package/dist/components/ifx-stepper.js +2 -2
  185. package/dist/components/ifx-switch.js +1 -1
  186. package/dist/components/ifx-tab.js +1 -1
  187. package/dist/components/ifx-table.js +10 -10
  188. package/dist/components/ifx-tabs.js +3 -3
  189. package/dist/components/ifx-tag.js +2 -2
  190. package/dist/components/ifx-template.js +1 -1
  191. package/dist/components/ifx-templates-ui.js +8 -8
  192. package/dist/components/ifx-text-field.js +1 -1
  193. package/dist/components/ifx-textarea.js +18 -4
  194. package/dist/components/ifx-textarea.js.map +1 -1
  195. package/dist/components/ifx-tooltip.js +5 -5
  196. package/dist/components/{p-977668df.js → p-0b116203.js} +3 -3
  197. package/dist/components/{p-977668df.js.map → p-0b116203.js.map} +1 -1
  198. package/dist/components/{p-3d46d2af.js → p-0ca597ea.js} +6 -6
  199. package/dist/components/{p-3d46d2af.js.map → p-0ca597ea.js.map} +1 -1
  200. package/dist/components/{p-5fe24279.js → p-3cbe73f9.js} +2 -2
  201. package/dist/components/{p-5fe24279.js.map → p-3cbe73f9.js.map} +1 -1
  202. package/dist/components/{p-27216109.js → p-4f70863f.js} +5 -5
  203. package/dist/components/{p-27216109.js.map → p-4f70863f.js.map} +1 -1
  204. package/dist/components/{p-d8045654.js → p-6d91c497.js} +6 -14
  205. package/dist/components/p-6d91c497.js.map +1 -0
  206. package/dist/components/{p-25dce5bf.js → p-711cfe1c.js} +3 -3
  207. package/dist/components/{p-25dce5bf.js.map → p-711cfe1c.js.map} +1 -1
  208. package/dist/components/{p-80856f14.js → p-7b91b0ec.js} +6 -6
  209. package/dist/components/{p-80856f14.js.map → p-7b91b0ec.js.map} +1 -1
  210. package/dist/components/{p-b3918f07.js → p-82ea5424.js} +5 -5
  211. package/dist/components/{p-b3918f07.js.map → p-82ea5424.js.map} +1 -1
  212. package/dist/components/{p-5f01ab1d.js → p-8e549467.js} +3 -3
  213. package/dist/components/{p-5f01ab1d.js.map → p-8e549467.js.map} +1 -1
  214. package/dist/components/{p-dbf6be15.js → p-9ef57ec1.js} +2 -2
  215. package/dist/components/{p-dbf6be15.js.map → p-9ef57ec1.js.map} +1 -1
  216. package/dist/components/{p-fd590059.js → p-a5768429.js} +11 -11
  217. package/dist/components/{p-fd590059.js.map → p-a5768429.js.map} +1 -1
  218. package/dist/components/{p-9c7d6c8c.js → p-a803e6b3.js} +4 -4
  219. package/dist/components/{p-9c7d6c8c.js.map → p-a803e6b3.js.map} +1 -1
  220. package/dist/components/{p-be22dd11.js → p-aa905dcf.js} +2 -2
  221. package/dist/components/{p-be22dd11.js.map → p-aa905dcf.js.map} +1 -1
  222. package/dist/components/{p-6925a52c.js → p-bd0c2dc7.js} +2 -2
  223. package/dist/components/{p-6925a52c.js.map → p-bd0c2dc7.js.map} +1 -1
  224. package/dist/components/{p-ec51e955.js → p-c6d94a88.js} +2 -2
  225. package/dist/components/{p-ec51e955.js.map → p-c6d94a88.js.map} +1 -1
  226. package/dist/components/{p-4cd3a589.js → p-dd2f84a3.js} +2 -2
  227. package/dist/components/{p-4cd3a589.js.map → p-dd2f84a3.js.map} +1 -1
  228. package/dist/components/{p-15a737a8.js → p-df1ab648.js} +4 -4
  229. package/dist/components/{p-15a737a8.js.map → p-df1ab648.js.map} +1 -1
  230. package/dist/components/{p-2cb994f0.js → p-e288bc05.js} +5 -5
  231. package/dist/components/{p-2cb994f0.js.map → p-e288bc05.js.map} +1 -1
  232. package/dist/components/{p-47853a7b.js → p-f6eb75e8.js} +3 -3
  233. package/dist/components/{p-47853a7b.js.map → p-f6eb75e8.js.map} +1 -1
  234. package/dist/esm/ifx-alert_2.entry.js +1 -1
  235. package/dist/esm/ifx-basic-table.entry.js +1 -1
  236. package/dist/esm/ifx-checkbox.entry.js +4 -11
  237. package/dist/esm/ifx-checkbox.entry.js.map +1 -1
  238. package/dist/esm/ifx-chip_3.entry.js +11 -11
  239. package/dist/esm/ifx-content-switcher-item.entry.js +1 -1
  240. package/dist/esm/ifx-content-switcher.entry.js +1 -1
  241. package/dist/esm/ifx-date-picker.entry.js +1 -1
  242. package/dist/esm/ifx-dropdown-header.entry.js +1 -1
  243. package/dist/esm/ifx-dropdown-item.entry.js +1 -1
  244. package/dist/esm/ifx-dropdown-menu.entry.js +2 -2
  245. package/dist/esm/ifx-dropdown-separator.entry.js +1 -1
  246. package/dist/esm/ifx-dropdown-trigger-button.entry.js +2 -2
  247. package/dist/esm/ifx-dropdown-trigger.entry.js +1 -1
  248. package/dist/esm/ifx-dropdown.entry.js +1 -1
  249. package/dist/esm/ifx-faq.entry.js +1 -1
  250. package/dist/esm/ifx-filter-accordion.entry.js +2 -2
  251. package/dist/esm/ifx-filter-bar.entry.js +1 -1
  252. package/dist/esm/ifx-filter-search.entry.js +1 -1
  253. package/dist/esm/ifx-filter-type-group.entry.js +1 -1
  254. package/dist/esm/ifx-footer-column.entry.js +1 -1
  255. package/dist/esm/ifx-footer.entry.js +4 -4
  256. package/dist/esm/ifx-icon-button.entry.js +1 -1
  257. package/dist/esm/ifx-icon.entry.js +1 -1
  258. package/dist/esm/ifx-icons-preview.entry.js +1 -1
  259. package/dist/esm/ifx-link.entry.js +1 -1
  260. package/dist/esm/ifx-list-entry.entry.js +1 -1
  261. package/dist/esm/ifx-modal.entry.js +2 -2
  262. package/dist/esm/ifx-navbar-item.entry.js +2 -2
  263. package/dist/esm/ifx-navbar-profile.entry.js +3 -3
  264. package/dist/esm/ifx-navbar.entry.js +3 -3
  265. package/dist/esm/ifx-notification.entry.js +2 -2
  266. package/dist/esm/ifx-number-indicator.entry.js +1 -1
  267. package/dist/esm/ifx-overview-table.entry.js +1 -1
  268. package/dist/esm/ifx-progress-bar.entry.js +1 -1
  269. package/dist/esm/ifx-radio-button.entry.js +2 -2
  270. package/dist/esm/ifx-search-bar.entry.js +1 -1
  271. package/dist/esm/ifx-search-field.entry.js +1 -1
  272. package/dist/esm/ifx-segment.entry.js +1 -1
  273. package/dist/esm/ifx-segmented-control.entry.js +2 -2
  274. package/dist/esm/ifx-select.entry.js +2 -2
  275. package/dist/esm/ifx-sidebar-item.entry.js +5 -5
  276. package/dist/esm/ifx-sidebar-title.entry.js +1 -1
  277. package/dist/esm/ifx-sidebar.entry.js +5 -5
  278. package/dist/esm/ifx-slider.entry.js +2 -2
  279. package/dist/esm/ifx-spinner_2.entry.js +6 -6
  280. package/dist/esm/ifx-status.entry.js +1 -1
  281. package/dist/esm/ifx-step.entry.js +4 -4
  282. package/dist/esm/ifx-stepper.entry.js +2 -2
  283. package/dist/esm/ifx-switch.entry.js +1 -1
  284. package/dist/esm/ifx-tab.entry.js +1 -1
  285. package/dist/esm/ifx-table.entry.js +2 -2
  286. package/dist/esm/ifx-tabs.entry.js +2 -2
  287. package/dist/esm/ifx-tag.entry.js +1 -1
  288. package/dist/esm/ifx-templates-ui.entry.js +1 -1
  289. package/dist/esm/ifx-textarea.entry.js +18 -5
  290. package/dist/esm/ifx-textarea.entry.js.map +1 -1
  291. package/dist/esm/ifx-tooltip.entry.js +4 -4
  292. package/dist/esm/index-b4eaf00e.js +0 -4
  293. package/dist/esm/infineon-design-system-stencil.js +1 -1
  294. package/dist/esm/loader.js +1 -1
  295. package/dist/infineon-design-system-stencil/infineon-design-system-stencil.esm.js +1 -1
  296. package/dist/infineon-design-system-stencil/infineon-design-system-stencil.esm.js.map +1 -1
  297. package/dist/infineon-design-system-stencil/{p-f9298124.entry.js → p-011a8cce.entry.js} +2 -2
  298. package/dist/infineon-design-system-stencil/p-025924da.entry.js +2 -0
  299. package/dist/infineon-design-system-stencil/{p-939f2f37.entry.js.map → p-025924da.entry.js.map} +1 -1
  300. package/dist/infineon-design-system-stencil/{p-182854c8.entry.js → p-08c4de8b.entry.js} +2 -2
  301. package/dist/infineon-design-system-stencil/{p-1b907dbd.entry.js → p-09597e91.entry.js} +2 -2
  302. package/dist/infineon-design-system-stencil/{p-2ad3b594.entry.js → p-09dfde13.entry.js} +2 -2
  303. package/dist/infineon-design-system-stencil/{p-65b50486.entry.js → p-0c19661f.entry.js} +2 -2
  304. package/dist/infineon-design-system-stencil/{p-d3957af9.entry.js → p-0c34e7ab.entry.js} +2 -2
  305. package/dist/infineon-design-system-stencil/{p-272aab7f.entry.js → p-10d8c7e1.entry.js} +2 -2
  306. package/dist/infineon-design-system-stencil/{p-c8fecc8e.entry.js → p-12535be0.entry.js} +2 -2
  307. package/dist/infineon-design-system-stencil/{p-b1bd480b.entry.js → p-18c53271.entry.js} +2 -2
  308. package/dist/infineon-design-system-stencil/{p-b0156752.entry.js → p-1f41961c.entry.js} +2 -2
  309. package/dist/infineon-design-system-stencil/{p-c85dc125.entry.js → p-24f531ca.entry.js} +2 -2
  310. package/dist/infineon-design-system-stencil/{p-84ae744c.entry.js → p-25f6f1ac.entry.js} +2 -2
  311. package/dist/infineon-design-system-stencil/{p-fcec715a.entry.js → p-28961fb4.entry.js} +2 -2
  312. package/dist/infineon-design-system-stencil/{p-5c144c40.entry.js → p-2defb71b.entry.js} +2 -2
  313. package/dist/infineon-design-system-stencil/p-2fac384a.entry.js +2 -0
  314. package/dist/infineon-design-system-stencil/{p-cffc5d17.entry.js → p-32c62437.entry.js} +2 -2
  315. package/dist/infineon-design-system-stencil/p-332afce9.entry.js +2 -0
  316. package/dist/infineon-design-system-stencil/{p-1e44b494.entry.js → p-34182e4c.entry.js} +2 -2
  317. package/dist/infineon-design-system-stencil/{p-37e5b4b4.entry.js → p-3bd8af6b.entry.js} +2 -2
  318. package/dist/infineon-design-system-stencil/{p-386f62f0.entry.js → p-42ea3581.entry.js} +2 -2
  319. package/dist/infineon-design-system-stencil/{p-757132ca.entry.js → p-44bd4a94.entry.js} +2 -2
  320. package/dist/infineon-design-system-stencil/{p-ccba569e.entry.js → p-45ed163c.entry.js} +2 -2
  321. package/dist/infineon-design-system-stencil/{p-733bcf3d.entry.js → p-4afef8e3.entry.js} +2 -2
  322. package/dist/infineon-design-system-stencil/{p-40466219.entry.js → p-4fb1282d.entry.js} +2 -2
  323. package/dist/infineon-design-system-stencil/p-5031d738.entry.js +2 -0
  324. package/dist/infineon-design-system-stencil/p-59888005.entry.js +2 -0
  325. package/dist/infineon-design-system-stencil/p-5a1b3e6b.entry.js +2 -0
  326. package/dist/infineon-design-system-stencil/p-5a1b3e6b.entry.js.map +1 -0
  327. package/dist/infineon-design-system-stencil/p-5b444517.entry.js +2 -0
  328. package/dist/infineon-design-system-stencil/{p-de532a77.entry.js → p-6e900d3f.entry.js} +2 -2
  329. package/dist/infineon-design-system-stencil/{p-00baeb0a.entry.js → p-7032b693.entry.js} +2 -2
  330. package/dist/infineon-design-system-stencil/{p-9901114e.entry.js → p-8332bfe5.entry.js} +2 -2
  331. package/dist/infineon-design-system-stencil/{p-1c869534.entry.js → p-95db9c5f.entry.js} +2 -2
  332. package/dist/infineon-design-system-stencil/{p-188274f9.entry.js → p-98ffcc21.entry.js} +2 -2
  333. package/dist/infineon-design-system-stencil/{p-2d8c79bc.entry.js → p-99d8b86a.entry.js} +2 -2
  334. package/dist/infineon-design-system-stencil/{p-bb5fbeb8.entry.js → p-9fd021ff.entry.js} +2 -2
  335. package/dist/infineon-design-system-stencil/{p-16430d76.entry.js → p-a7c2fbdb.entry.js} +2 -2
  336. package/dist/infineon-design-system-stencil/{p-cc859294.entry.js → p-ac14a8c6.entry.js} +2 -2
  337. package/dist/infineon-design-system-stencil/{p-0c747aac.entry.js → p-b37da251.entry.js} +2 -2
  338. package/dist/infineon-design-system-stencil/{p-1a93de53.entry.js → p-b5fe7ee8.entry.js} +2 -2
  339. package/dist/infineon-design-system-stencil/{p-7b9fd2df.entry.js → p-b8471917.entry.js} +2 -2
  340. package/dist/infineon-design-system-stencil/{p-8ab52cac.entry.js → p-bb1f03e1.entry.js} +2 -2
  341. package/dist/infineon-design-system-stencil/{p-fd866344.entry.js → p-be38376b.entry.js} +2 -2
  342. package/dist/infineon-design-system-stencil/{p-4d1670ed.entry.js → p-be8764ca.entry.js} +2 -2
  343. package/dist/infineon-design-system-stencil/{p-d2998185.entry.js → p-c67f057e.entry.js} +2 -2
  344. package/dist/infineon-design-system-stencil/{p-8c0927d0.entry.js → p-caa2c40c.entry.js} +2 -2
  345. package/dist/infineon-design-system-stencil/p-d1efcac6.entry.js +2 -0
  346. package/dist/infineon-design-system-stencil/{p-7c1fe0b0.entry.js → p-e1be33ce.entry.js} +2 -2
  347. package/dist/infineon-design-system-stencil/{p-6167fe81.entry.js → p-e675986f.entry.js} +2 -2
  348. package/dist/infineon-design-system-stencil/{p-260c4f53.entry.js → p-ea52834a.entry.js} +2 -2
  349. package/dist/infineon-design-system-stencil/p-eb752024.entry.js +2 -0
  350. package/dist/infineon-design-system-stencil/p-eb78b152.entry.js +2 -0
  351. package/dist/infineon-design-system-stencil/p-ecd0640d.entry.js +2 -0
  352. package/dist/infineon-design-system-stencil/p-ecd0640d.entry.js.map +1 -0
  353. package/dist/infineon-design-system-stencil/{p-fc9a13fa.entry.js → p-f0bed0a7.entry.js} +2 -2
  354. package/dist/infineon-design-system-stencil/{p-094349b2.entry.js → p-facf8df6.entry.js} +2 -2
  355. package/dist/infineon-design-system-stencil/{p-35979bd9.entry.js → p-fbed47fd.entry.js} +2 -2
  356. package/dist/types/components/checkbox/checkbox.d.ts +0 -2
  357. package/dist/types/components/checkbox/checkbox.stories.d.ts +0 -10
  358. package/dist/types/components/textarea/textarea.d.ts +4 -0
  359. package/dist/types/components/textarea/textarea.stories.d.ts +11 -0
  360. package/dist/types/components.d.ts +2 -30
  361. package/package.json +1 -1
  362. package/dist/cjs/ifx-checkbox-group.cjs.entry.js +0 -61
  363. package/dist/cjs/ifx-checkbox-group.cjs.entry.js.map +0 -1
  364. package/dist/collection/components/checkbox-group/checkbox-group.css +0 -59
  365. package/dist/collection/components/checkbox-group/checkbox-group.js +0 -238
  366. package/dist/collection/components/checkbox-group/checkbox-group.js.map +0 -1
  367. package/dist/collection/components/checkbox-group/checkbox-group.stories.js +0 -151
  368. package/dist/collection/components/checkbox-group/checkbox-group.stories.js.map +0 -1
  369. package/dist/components/ifx-checkbox-group.d.ts +0 -11
  370. package/dist/components/ifx-checkbox-group.js +0 -91
  371. package/dist/components/ifx-checkbox-group.js.map +0 -1
  372. package/dist/components/p-d8045654.js.map +0 -1
  373. package/dist/esm/ifx-checkbox-group.entry.js +0 -57
  374. package/dist/esm/ifx-checkbox-group.entry.js.map +0 -1
  375. package/dist/infineon-design-system-stencil/p-19ebd7a9.entry.js +0 -2
  376. package/dist/infineon-design-system-stencil/p-1b5ebeef.entry.js +0 -2
  377. package/dist/infineon-design-system-stencil/p-4701832b.entry.js +0 -2
  378. package/dist/infineon-design-system-stencil/p-4701832b.entry.js.map +0 -1
  379. package/dist/infineon-design-system-stencil/p-52c46b22.entry.js +0 -2
  380. package/dist/infineon-design-system-stencil/p-7721aa73.entry.js +0 -2
  381. package/dist/infineon-design-system-stencil/p-88a3c2e8.entry.js +0 -2
  382. package/dist/infineon-design-system-stencil/p-89c4fae2.entry.js +0 -2
  383. package/dist/infineon-design-system-stencil/p-8edfc4d5.entry.js +0 -2
  384. package/dist/infineon-design-system-stencil/p-939f2f37.entry.js +0 -2
  385. package/dist/infineon-design-system-stencil/p-a1d3859e.entry.js +0 -2
  386. package/dist/infineon-design-system-stencil/p-a1d3859e.entry.js.map +0 -1
  387. package/dist/infineon-design-system-stencil/p-b2535014.entry.js +0 -2
  388. package/dist/infineon-design-system-stencil/p-b2535014.entry.js.map +0 -1
  389. package/dist/infineon-design-system-stencil/p-bfd26211.entry.js +0 -2
  390. package/dist/types/components/checkbox-group/checkbox-group.d.ts +0 -19
  391. package/dist/types/components/checkbox-group/checkbox-group.stories.d.ts +0 -183
  392. /package/dist/infineon-design-system-stencil/{p-f9298124.entry.js.map → p-011a8cce.entry.js.map} +0 -0
  393. /package/dist/infineon-design-system-stencil/{p-182854c8.entry.js.map → p-08c4de8b.entry.js.map} +0 -0
  394. /package/dist/infineon-design-system-stencil/{p-1b907dbd.entry.js.map → p-09597e91.entry.js.map} +0 -0
  395. /package/dist/infineon-design-system-stencil/{p-2ad3b594.entry.js.map → p-09dfde13.entry.js.map} +0 -0
  396. /package/dist/infineon-design-system-stencil/{p-65b50486.entry.js.map → p-0c19661f.entry.js.map} +0 -0
  397. /package/dist/infineon-design-system-stencil/{p-d3957af9.entry.js.map → p-0c34e7ab.entry.js.map} +0 -0
  398. /package/dist/infineon-design-system-stencil/{p-272aab7f.entry.js.map → p-10d8c7e1.entry.js.map} +0 -0
  399. /package/dist/infineon-design-system-stencil/{p-c8fecc8e.entry.js.map → p-12535be0.entry.js.map} +0 -0
  400. /package/dist/infineon-design-system-stencil/{p-b1bd480b.entry.js.map → p-18c53271.entry.js.map} +0 -0
  401. /package/dist/infineon-design-system-stencil/{p-b0156752.entry.js.map → p-1f41961c.entry.js.map} +0 -0
  402. /package/dist/infineon-design-system-stencil/{p-c85dc125.entry.js.map → p-24f531ca.entry.js.map} +0 -0
  403. /package/dist/infineon-design-system-stencil/{p-84ae744c.entry.js.map → p-25f6f1ac.entry.js.map} +0 -0
  404. /package/dist/infineon-design-system-stencil/{p-fcec715a.entry.js.map → p-28961fb4.entry.js.map} +0 -0
  405. /package/dist/infineon-design-system-stencil/{p-5c144c40.entry.js.map → p-2defb71b.entry.js.map} +0 -0
  406. /package/dist/infineon-design-system-stencil/{p-7721aa73.entry.js.map → p-2fac384a.entry.js.map} +0 -0
  407. /package/dist/infineon-design-system-stencil/{p-cffc5d17.entry.js.map → p-32c62437.entry.js.map} +0 -0
  408. /package/dist/infineon-design-system-stencil/{p-8edfc4d5.entry.js.map → p-332afce9.entry.js.map} +0 -0
  409. /package/dist/infineon-design-system-stencil/{p-1e44b494.entry.js.map → p-34182e4c.entry.js.map} +0 -0
  410. /package/dist/infineon-design-system-stencil/{p-37e5b4b4.entry.js.map → p-3bd8af6b.entry.js.map} +0 -0
  411. /package/dist/infineon-design-system-stencil/{p-386f62f0.entry.js.map → p-42ea3581.entry.js.map} +0 -0
  412. /package/dist/infineon-design-system-stencil/{p-757132ca.entry.js.map → p-44bd4a94.entry.js.map} +0 -0
  413. /package/dist/infineon-design-system-stencil/{p-ccba569e.entry.js.map → p-45ed163c.entry.js.map} +0 -0
  414. /package/dist/infineon-design-system-stencil/{p-733bcf3d.entry.js.map → p-4afef8e3.entry.js.map} +0 -0
  415. /package/dist/infineon-design-system-stencil/{p-40466219.entry.js.map → p-4fb1282d.entry.js.map} +0 -0
  416. /package/dist/infineon-design-system-stencil/{p-52c46b22.entry.js.map → p-5031d738.entry.js.map} +0 -0
  417. /package/dist/infineon-design-system-stencil/{p-89c4fae2.entry.js.map → p-59888005.entry.js.map} +0 -0
  418. /package/dist/infineon-design-system-stencil/{p-88a3c2e8.entry.js.map → p-5b444517.entry.js.map} +0 -0
  419. /package/dist/infineon-design-system-stencil/{p-de532a77.entry.js.map → p-6e900d3f.entry.js.map} +0 -0
  420. /package/dist/infineon-design-system-stencil/{p-00baeb0a.entry.js.map → p-7032b693.entry.js.map} +0 -0
  421. /package/dist/infineon-design-system-stencil/{p-9901114e.entry.js.map → p-8332bfe5.entry.js.map} +0 -0
  422. /package/dist/infineon-design-system-stencil/{p-1c869534.entry.js.map → p-95db9c5f.entry.js.map} +0 -0
  423. /package/dist/infineon-design-system-stencil/{p-188274f9.entry.js.map → p-98ffcc21.entry.js.map} +0 -0
  424. /package/dist/infineon-design-system-stencil/{p-2d8c79bc.entry.js.map → p-99d8b86a.entry.js.map} +0 -0
  425. /package/dist/infineon-design-system-stencil/{p-bb5fbeb8.entry.js.map → p-9fd021ff.entry.js.map} +0 -0
  426. /package/dist/infineon-design-system-stencil/{p-16430d76.entry.js.map → p-a7c2fbdb.entry.js.map} +0 -0
  427. /package/dist/infineon-design-system-stencil/{p-cc859294.entry.js.map → p-ac14a8c6.entry.js.map} +0 -0
  428. /package/dist/infineon-design-system-stencil/{p-0c747aac.entry.js.map → p-b37da251.entry.js.map} +0 -0
  429. /package/dist/infineon-design-system-stencil/{p-1a93de53.entry.js.map → p-b5fe7ee8.entry.js.map} +0 -0
  430. /package/dist/infineon-design-system-stencil/{p-7b9fd2df.entry.js.map → p-b8471917.entry.js.map} +0 -0
  431. /package/dist/infineon-design-system-stencil/{p-8ab52cac.entry.js.map → p-bb1f03e1.entry.js.map} +0 -0
  432. /package/dist/infineon-design-system-stencil/{p-fd866344.entry.js.map → p-be38376b.entry.js.map} +0 -0
  433. /package/dist/infineon-design-system-stencil/{p-4d1670ed.entry.js.map → p-be8764ca.entry.js.map} +0 -0
  434. /package/dist/infineon-design-system-stencil/{p-d2998185.entry.js.map → p-c67f057e.entry.js.map} +0 -0
  435. /package/dist/infineon-design-system-stencil/{p-8c0927d0.entry.js.map → p-caa2c40c.entry.js.map} +0 -0
  436. /package/dist/infineon-design-system-stencil/{p-1b5ebeef.entry.js.map → p-d1efcac6.entry.js.map} +0 -0
  437. /package/dist/infineon-design-system-stencil/{p-7c1fe0b0.entry.js.map → p-e1be33ce.entry.js.map} +0 -0
  438. /package/dist/infineon-design-system-stencil/{p-6167fe81.entry.js.map → p-e675986f.entry.js.map} +0 -0
  439. /package/dist/infineon-design-system-stencil/{p-260c4f53.entry.js.map → p-ea52834a.entry.js.map} +0 -0
  440. /package/dist/infineon-design-system-stencil/{p-19ebd7a9.entry.js.map → p-eb752024.entry.js.map} +0 -0
  441. /package/dist/infineon-design-system-stencil/{p-bfd26211.entry.js.map → p-eb78b152.entry.js.map} +0 -0
  442. /package/dist/infineon-design-system-stencil/{p-fc9a13fa.entry.js.map → p-f0bed0a7.entry.js.map} +0 -0
  443. /package/dist/infineon-design-system-stencil/{p-094349b2.entry.js.map → p-facf8df6.entry.js.map} +0 -0
  444. /package/dist/infineon-design-system-stencil/{p-35979bd9.entry.js.map → p-fbed47fd.entry.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, h } from './p-e27586b6.js';
2
- import { d as defineCustomElement$2 } from './p-d8045654.js';
3
- import { d as defineCustomElement$1 } from './p-4cd3a589.js';
2
+ import { d as defineCustomElement$2 } from './p-6d91c497.js';
3
+ import { d as defineCustomElement$1 } from './p-dd2f84a3.js';
4
4
 
5
5
  const chipItemCss = ":root{--ifx-font-family:\"Source Sans 3\";font-family:var(--ifx-font-family, sans-serif)}.chip-item{display:flex;align-items:center;gap:8px;padding:8px 16px;user-select:none;transition:all 100ms ease;transition-property:background, color}.chip-item:hover{cursor:pointer;background-color:#EEEDED}.chip-item:active{background-color:#BFBBBB}.chip-item:focus{outline:2px solid #0A8276}.chip-item.chip-item--large{font:400 1rem/1.5rem \"Source Sans 3\"}.chip-item.chip-item--small{font:400 0.875rem/1.25rem \"Source Sans 3\"}.chip-item.chip-item--selected{color:#0A8276}.chip-item.chip-item--selected .chip-item__selected-indicator{display:block}.chip-item__selected-indicator{display:none;margin-left:auto}";
6
6
  const IfxChipItemStyle0 = chipItemCss;
@@ -66,9 +66,9 @@ const ChipItem = /*@__PURE__*/ proxyCustomElement(class ChipItem extends H {
66
66
  this.handleSelectedState();
67
67
  }
68
68
  render() {
69
- return (h("div", { key: '7ceff18d0a41b419a188d925fd854cc97d7a9ecd', class: `chip-item chip-item--${this.chipState.size}
69
+ return (h("div", { key: 'a4d81329a7a5bbbc71b66b0f02f32302e3edd6bd', class: `chip-item chip-item--${this.chipState.size}
70
70
  chip-item--${(this.selected && this.chipState.variant) === 'single' ? 'selected' : ''}`, tabIndex: 0, onClick: () => { this.handleItemClick(); }, onKeyDown: (e) => { this.handleItemKeyDown(e); }, role: "option", "aria-selected": this.selected.toString() }, this.chipState.variant === 'multi' &&
71
- h("ifx-checkbox", { key: 'd2f717951d288aa0863081e54cabf7edd1c6f7e6', checked: this.selected, tabIndex: -1, size: 's' }), h("div", { key: 'fff335d9009c93863012f6a4307ed4322413c4f7', class: 'chip-item__label' }, " ", h("slot", { key: 'a093e9caf2eecba28c58674dde3f788be1f5849b' }), " "), h("div", { key: 'ea76c6b3d0bdd2a687acfbe323ebd9e6d6034a40', class: 'chip-item__selected-indicator' }, h("ifx-icon", { key: 'b581de80777bbfe5a39bc393ec90af46276b7ae9', icon: `check${this.chipState.size === 'small' ? '12' : '16'}` }, " "))));
71
+ h("ifx-checkbox", { key: '26865e6c41a95e1a92a0bbcb444ffd99b06b6f6b', checked: this.selected, tabIndex: -1, size: 's' }), h("div", { key: '8a48897962af2131d6f574d602b71e035b2f46a6', class: 'chip-item__label' }, " ", h("slot", { key: '2945084fa15c686cc6456761f4ca67370d6418b3' }), " "), h("div", { key: '94e48f99ce3629f73d2a82530626474a50d0d9c1', class: 'chip-item__selected-indicator' }, h("ifx-icon", { key: 'e9aaef0ae55766df51d8d293bb4405703dcdead8', icon: `check${this.chipState.size === 'small' ? '12' : '16'}` }, " "))));
72
72
  }
73
73
  get chipItem() { return this; }
74
74
  static get watchers() { return {
@@ -108,4 +108,4 @@ function defineCustomElement() {
108
108
 
109
109
  export { ChipItem as C, defineCustomElement as d };
110
110
 
111
- //# sourceMappingURL=p-2cb994f0.js.map
111
+ //# sourceMappingURL=p-e288bc05.js.map
@@ -1 +1 @@
1
- {"file":"p-2cb994f0.js","mappings":"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","names":[],"sources":["src/components/chip/chip-item/chip-item.scss?tag=ifx-chip-item&encapsulation=shadow","src/components/chip/chip-item/chip-item.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../../global/font.scss\";\n\n.chip-item {\n display: flex;\n align-items: center;\n gap: tokens.$ifxSpace100;\n \n padding: tokens.$ifxSpace100 tokens.$ifxSpace200;\n \n user-select: none;\n \n transition: all 100ms ease;\n transition-property: background, color;\n \n &:hover {\n cursor: pointer;\n \n background-color: tokens.$ifxColorEngineering200;\n }\n \n &:active {\n background-color: tokens.$ifxColorEngineering300;\n }\n\n &:focus {\n outline: 2px solid tokens.$ifxColorOcean500;\n }\n \n &.chip-item--large {\n font: tokens.$ifxBodyBody03;\n }\n \n &.chip-item--small {\n font: tokens.$ifxBodyBody04;\n }\n\n &.chip-item--selected {\n color: tokens.$ifxColorOcean500;\n\n .chip-item__selected-indicator {\n display: block;\n }\n }\n}\n\n.chip-item__selected-indicator {\n display: none;\n \n margin-left: auto;\n}\n\n","import { h,\n Component,\n Element,\n Event,\n EventEmitter, \n Listen,\n Prop, \n Watch } from '@stencil/core';\nimport { ChipItemSelectEvent, ChipState } from '../interfaces';\n\n@Component({\ntag: 'ifx-chip-item',\nstyleUrl: 'chip-item.scss',\nshadow: true\n})\n\nexport class ChipItem {\n@Element() chipItem: HTMLIfxChipItemElement;\n\n@Event({ composed: false }) ifxChipItemSelect: EventEmitter<ChipItemSelectEvent>;\n\n@Prop() value: string = undefined;\n@Prop() chipState: ChipState = { emitIfxChipItemSelect: true, variant: 'multi', size: 'large' }; \n@Prop({ mutable: true, reflect: true }) selected: boolean = false;\n\n@Listen('ifxChipItemSelect', { target: 'body' })\nupdateItemSelection(event: CustomEvent<ChipItemSelectEvent>) {\n if (this.chipState.variant === 'single') {\n const target = event.target as HTMLIfxChipItemElement;\n /* Also making sure chip items are from the same group (parent) while unselecting. */\n if (this.chipItem !== target && this.chipItem.parentElement === target.parentElement) {\n this.selected = false;\n }\n }\n} \n\n@Watch('selected')\nvalidateSelected(newValue: boolean, oldValue: boolean) {\n if (newValue !== oldValue) {\n /* Do not emit if ChipState does not allow. */\n if (this.chipState.emitIfxChipItemSelect){\n this.emitIfxChipItemSelectEvent();\n } else {\n this.chipState.emitIfxChipItemSelect = true;\n }\n }\n} \n\ngetItemLabel(): string {\n return this.chipItem.innerText as string;\n}\n\ntoggleItemSelection() {\n this.selected = !this.selected;\n}\n \n\nemitIfxChipItemSelectEvent(emitIfxChange: boolean = true) {\n this.ifxChipItemSelect.emit({ emitIfxChange: emitIfxChange,\n key: this.chipState.key,\n label: this.getItemLabel(), \n selected: this.selected, \n value: this.value });\n}\n\nhandleItemClick() {\n this.toggleItemSelection();\n}\n\nhandleItemKeyDown(event: KeyboardEvent) {\n if (event.code === 'Enter' || event.code === 'Space') {\n this.toggleItemSelection();\n }\n}\n\nhandleSelectedState() {\n if (this.selected) {\n this.emitIfxChipItemSelectEvent(false);\n }\n}\n\n\ncomponentWillLoad() {\n /* Propogating the selected state to the Chip (Parent) component if it is set. */\n this.handleSelectedState();\n}\n\nrender() {\n return (\n <div class={`chip-item chip-item--${this.chipState.size} \n chip-item--${(this.selected && this.chipState.variant) === 'single' ? 'selected' : ''}`} \n tabIndex={0}\n onClick={() => {this.handleItemClick()}}\n onKeyDown={(e) => {this.handleItemKeyDown(e)}}\n role=\"option\"\n aria-selected={this.selected.toString()}> \n {/* Checkbox; renders only in 'multi' variant. */}\n { \n this.chipState.variant === 'multi' &&\n <ifx-checkbox checked={this.selected}\n tabIndex={-1} \n size='s'>\n </ifx-checkbox>\n }\n\n <div class='chip-item__label'> <slot /> </div>\n\n {/* Selected indicator only visible in 'single' variant. */}\n <div class='chip-item__selected-indicator'> \n <ifx-icon icon={`check${this.chipState.size === 'small' ? '12' : '16'}`}> </ifx-icon> \n </div>\n\n </div>\n );\n}\n}"],"version":3}
1
+ {"file":"p-e288bc05.js","mappings":"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","names":[],"sources":["src/components/chip/chip-item/chip-item.scss?tag=ifx-chip-item&encapsulation=shadow","src/components/chip/chip-item/chip-item.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../../global/font.scss\";\n\n.chip-item {\n display: flex;\n align-items: center;\n gap: tokens.$ifxSpace100;\n \n padding: tokens.$ifxSpace100 tokens.$ifxSpace200;\n \n user-select: none;\n \n transition: all 100ms ease;\n transition-property: background, color;\n \n &:hover {\n cursor: pointer;\n \n background-color: tokens.$ifxColorEngineering200;\n }\n \n &:active {\n background-color: tokens.$ifxColorEngineering300;\n }\n\n &:focus {\n outline: 2px solid tokens.$ifxColorOcean500;\n }\n \n &.chip-item--large {\n font: tokens.$ifxBodyBody03;\n }\n \n &.chip-item--small {\n font: tokens.$ifxBodyBody04;\n }\n\n &.chip-item--selected {\n color: tokens.$ifxColorOcean500;\n\n .chip-item__selected-indicator {\n display: block;\n }\n }\n}\n\n.chip-item__selected-indicator {\n display: none;\n \n margin-left: auto;\n}\n\n","import { h,\n Component,\n Element,\n Event,\n EventEmitter, \n Listen,\n Prop, \n Watch } from '@stencil/core';\nimport { ChipItemSelectEvent, ChipState } from '../interfaces';\n\n@Component({\ntag: 'ifx-chip-item',\nstyleUrl: 'chip-item.scss',\nshadow: true\n})\n\nexport class ChipItem {\n@Element() chipItem: HTMLIfxChipItemElement;\n\n@Event({ composed: false }) ifxChipItemSelect: EventEmitter<ChipItemSelectEvent>;\n\n@Prop() value: string = undefined;\n@Prop() chipState: ChipState = { emitIfxChipItemSelect: true, variant: 'multi', size: 'large' }; \n@Prop({ mutable: true, reflect: true }) selected: boolean = false;\n\n@Listen('ifxChipItemSelect', { target: 'body' })\nupdateItemSelection(event: CustomEvent<ChipItemSelectEvent>) {\n if (this.chipState.variant === 'single') {\n const target = event.target as HTMLIfxChipItemElement;\n /* Also making sure chip items are from the same group (parent) while unselecting. */\n if (this.chipItem !== target && this.chipItem.parentElement === target.parentElement) {\n this.selected = false;\n }\n }\n} \n\n@Watch('selected')\nvalidateSelected(newValue: boolean, oldValue: boolean) {\n if (newValue !== oldValue) {\n /* Do not emit if ChipState does not allow. */\n if (this.chipState.emitIfxChipItemSelect){\n this.emitIfxChipItemSelectEvent();\n } else {\n this.chipState.emitIfxChipItemSelect = true;\n }\n }\n} \n\ngetItemLabel(): string {\n return this.chipItem.innerText as string;\n}\n\ntoggleItemSelection() {\n this.selected = !this.selected;\n}\n \n\nemitIfxChipItemSelectEvent(emitIfxChange: boolean = true) {\n this.ifxChipItemSelect.emit({ emitIfxChange: emitIfxChange,\n key: this.chipState.key,\n label: this.getItemLabel(), \n selected: this.selected, \n value: this.value });\n}\n\nhandleItemClick() {\n this.toggleItemSelection();\n}\n\nhandleItemKeyDown(event: KeyboardEvent) {\n if (event.code === 'Enter' || event.code === 'Space') {\n this.toggleItemSelection();\n }\n}\n\nhandleSelectedState() {\n if (this.selected) {\n this.emitIfxChipItemSelectEvent(false);\n }\n}\n\n\ncomponentWillLoad() {\n /* Propogating the selected state to the Chip (Parent) component if it is set. */\n this.handleSelectedState();\n}\n\nrender() {\n return (\n <div class={`chip-item chip-item--${this.chipState.size} \n chip-item--${(this.selected && this.chipState.variant) === 'single' ? 'selected' : ''}`} \n tabIndex={0}\n onClick={() => {this.handleItemClick()}}\n onKeyDown={(e) => {this.handleItemKeyDown(e)}}\n role=\"option\"\n aria-selected={this.selected.toString()}> \n {/* Checkbox; renders only in 'multi' variant. */}\n { \n this.chipState.variant === 'multi' &&\n <ifx-checkbox checked={this.selected}\n tabIndex={-1} \n size='s'>\n </ifx-checkbox>\n }\n\n <div class='chip-item__label'> <slot /> </div>\n\n {/* Selected indicator only visible in 'single' variant. */}\n <div class='chip-item__selected-indicator'> \n <ifx-icon icon={`check${this.chipState.size === 'small' ? '12' : '16'}`}> </ifx-icon> \n </div>\n\n </div>\n );\n}\n}"],"version":3}
@@ -12,8 +12,8 @@ const Spinner = /*@__PURE__*/ proxyCustomElement(class Spinner extends H {
12
12
  this.inverted = false;
13
13
  }
14
14
  render() {
15
- return (h("div", { key: 'd81d2a7692cb71c15f4aa895abcdf0d4441d2b3a', "aria-label": "spinner indicating a loading process", class: this.getClassNames() }, h("div", { key: '7813885c276e55354c47f2ff735a16f498b1e39f', class: `${this.variant !== 'brand' ? 'border' : ""} ${this.inverted ? 'inverted' : ""}` }), this.variant === 'brand'
16
- && h("div", { key: 'c4163967c2a5f58795ac974716cc4e831ec6264b', class: `semiconductor ${this.inverted ? 'inverted' : ""} ${this.getSizeClass()}` }, h("svg", { key: '0feafe9cdf7cfa8138a1d104824c8e5dff1b3caf', width: '40', height: '40', viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { key: 'ca3cdd02b91de714c12e1d2d6ad800fee938ac03', id: "spinner/conductor" }, h("path", { key: 'aedaa84532c0c51f8e0a7a8683fb7c24379b73a8', id: "Vector", d: "M38.75 18.75C39.4375 18.75 40 19.3125 40 20C40 20.6875 39.4409 21.25 38.75 21.25H35V26.25H38.75C39.4375 26.25 40 26.8125 40 27.5C40 28.1875 39.4409 28.75 38.75 28.75H35V30C35 32.7617 32.7617 35 30 35H28.75V38.75C28.75 39.4409 28.1875 40 27.5 40C26.8125 40 26.25 39.4409 26.25 38.75V35H21.25V38.75C21.25 39.4409 20.6875 40 20 40C19.3125 40 18.75 39.4409 18.75 38.75V35H13.75V38.75C13.75 39.4409 13.1875 40 12.5 40C11.8125 40 11.25 39.4409 11.25 38.75V35H10C7.23828 35 5 32.7617 5 30V28.75H1.25C0.559062 28.75 0 28.1875 0 27.5C0 26.8125 0.559062 26.25 1.25 26.25H5V21.25H1.25C0.559062 21.25 0 20.6875 0 20C0 19.3125 0.559062 18.75 1.25 18.75H5V13.75H1.25C0.559062 13.75 0 13.1875 0 12.5C0 11.8125 0.559062 11.25 1.25 11.25H5V10C5 7.23828 7.23828 5 10 5H11.25V1.25C11.25 0.5625 11.8125 0 12.5 0C13.1875 0 13.75 0.559063 13.75 1.25V5H18.75V1.25C18.75 0.559063 19.3091 0 20 0C20.6909 0 21.25 0.559063 21.25 1.25V5H26.25V1.25C26.25 0.559063 26.8091 0 27.5 0C28.1909 0 28.75 0.559063 28.75 1.25V5H30C32.7617 5 35 7.23828 35 10V11.25H38.75C39.4409 11.25 40 11.8091 40 12.5C40 13.1909 39.4409 13.75 38.75 13.75H35V18.75H38.75ZM32.5 10C32.5 8.62188 31.3781 7.5 30 7.5H10C8.62187 7.5 7.5 8.62188 7.5 10V30C7.5 31.3781 8.62187 32.5 10 32.5H30C31.3781 32.5 32.5 31.3781 32.5 30V10Z" }))))));
15
+ return (h("div", { key: '6db48f54c2484025c92300c3c63698d4f16965ff', "aria-label": "spinner indicating a loading process", class: this.getClassNames() }, h("div", { key: '85f604c1cae6f9e290f5a07cdab730cb4ce445c1', class: `${this.variant !== 'brand' ? 'border' : ""} ${this.inverted ? 'inverted' : ""}` }), this.variant === 'brand'
16
+ && h("div", { key: '6a3132d2ebb933fbd4007dbf9cfb2943078939ed', class: `semiconductor ${this.inverted ? 'inverted' : ""} ${this.getSizeClass()}` }, h("svg", { key: '22f7f2edd61e25e6c73c2fa18738f4c2f9c67e44', width: '40', height: '40', viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { key: '4d72092059485d2bb662cc2451f20953afcf5200', id: "spinner/conductor" }, h("path", { key: '9cbec7c69604cd24de46bd63b336f224a386c23b', id: "Vector", d: "M38.75 18.75C39.4375 18.75 40 19.3125 40 20C40 20.6875 39.4409 21.25 38.75 21.25H35V26.25H38.75C39.4375 26.25 40 26.8125 40 27.5C40 28.1875 39.4409 28.75 38.75 28.75H35V30C35 32.7617 32.7617 35 30 35H28.75V38.75C28.75 39.4409 28.1875 40 27.5 40C26.8125 40 26.25 39.4409 26.25 38.75V35H21.25V38.75C21.25 39.4409 20.6875 40 20 40C19.3125 40 18.75 39.4409 18.75 38.75V35H13.75V38.75C13.75 39.4409 13.1875 40 12.5 40C11.8125 40 11.25 39.4409 11.25 38.75V35H10C7.23828 35 5 32.7617 5 30V28.75H1.25C0.559062 28.75 0 28.1875 0 27.5C0 26.8125 0.559062 26.25 1.25 26.25H5V21.25H1.25C0.559062 21.25 0 20.6875 0 20C0 19.3125 0.559062 18.75 1.25 18.75H5V13.75H1.25C0.559062 13.75 0 13.1875 0 12.5C0 11.8125 0.559062 11.25 1.25 11.25H5V10C5 7.23828 7.23828 5 10 5H11.25V1.25C11.25 0.5625 11.8125 0 12.5 0C13.1875 0 13.75 0.559063 13.75 1.25V5H18.75V1.25C18.75 0.559063 19.3091 0 20 0C20.6909 0 21.25 0.559063 21.25 1.25V5H26.25V1.25C26.25 0.559063 26.8091 0 27.5 0C28.1909 0 28.75 0.559063 28.75 1.25V5H30C32.7617 5 35 7.23828 35 10V11.25H38.75C39.4409 11.25 40 11.8091 40 12.5C40 13.1909 39.4409 13.75 38.75 13.75H35V18.75H38.75ZM32.5 10C32.5 8.62188 31.3781 7.5 30 7.5H10C8.62187 7.5 7.5 8.62188 7.5 10V30C7.5 31.3781 8.62187 32.5 10 32.5H30C31.3781 32.5 32.5 31.3781 32.5 30V10Z" }))))));
17
17
  }
18
18
  getSizeClass() {
19
19
  return `${this.size}` === "s"
@@ -45,4 +45,4 @@ function defineCustomElement() {
45
45
 
46
46
  export { Spinner as S, defineCustomElement as d };
47
47
 
48
- //# sourceMappingURL=p-47853a7b.js.map
48
+ //# sourceMappingURL=p-f6eb75e8.js.map
@@ -1 +1 @@
1
- {"file":"p-47853a7b.js","mappings":";;;AAAA,MAAM,UAAU,GAAG,mvBAAmvB,CAAC;AACvwB,yBAAe,UAAU;;MCQZ,OAAO;IALpB;;;;QAQU,aAAQ,GAAY,KAAK,CAAC;KA+BnC;IA5BC,MAAM;QACJ,QACE,0EAAgB,sCAAsC,EAAC,KAAK,EAAE,IAAI,CAAC,aAAa,EAAE,IAChF,4DAAK,KAAK,EAAE,GAAG,IAAI,CAAC,OAAO,KAAK,OAAO,GAAG,QAAQ,GAAG,EAAE,IAAI,IAAI,CAAC,QAAQ,GAAG,UAAU,GAAG,EAAE,EAAE,GAAQ,EACnG,IAAI,CAAC,OAAO,KAAK,OAAO;eACpB,4DAAK,KAAK,EAAE,iBAAiB,IAAI,CAAC,QAAQ,GAAG,UAAU,GAAG,EAAE,IAAI,IAAI,CAAC,YAAY,EAAE,EAAE,IACtF,4DAAK,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,4BAA4B,IAC5F,0DAAG,EAAE,EAAC,mBAAmB,IACvB,6DAAM,EAAE,EAAC,QAAQ,EAAC,CAAC,EAAC,svCAAsvC,GAAG,CAC3wC,CACA,CACF,CACJ,EACN;KACH;IAED,YAAY;QACV,OAAO,GAAG,IAAI,CAAC,IAAI,EAAE,KAAK,GAAG;cACzB,GAAG;cACH,EAAE,CAAC;KACR;IAED,aAAa;QACX,OAAO,UAAU,CACf,SAAS,EACT,IAAI,CAAC,IAAI,IAAI,WAAW,IAAI,CAAC,YAAY,EAAE,EAAE,CAC9C,CAAC;KACH;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/spinner/spinner.scss?tag=ifx-spinner&encapsulation=shadow","src/components/spinner/spinner.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n\n:host {\n display: inline-block;\n\n}\n\n.spinner {\n position: relative;\n width: tokens.$ifxSize500;\n height: tokens.$ifxSize500;\n\n}\n\n.spinner.s {\n width: tokens.$ifxSize300;\n height: tokens.$ifxSize300;\n}\n\n.border {\n box-sizing: border-box;\n position: absolute;\n width: 100%;\n height: 100%;\n border: 4px solid transparent;\n border-top-color: tokens.$ifxColorOcean500;\n border-left-color: tokens.$ifxColorOcean500;\n border-right-color: tokens.$ifxColorOcean500;\n border-top-left-radius: 1px;\n border-top-right-radius: 1px;\n border-radius: 50%;\n animation: spin 2s linear infinite;\n\n &.inverted {\n border-top-color: tokens.$ifxColorBaseWhite;\n border-left-color: tokens.$ifxColorBaseWhite;\n border-right-color: tokens.$ifxColorBaseWhite;\n }\n}\n\n.semiconductor {\n width: 100%;\n height: 100%;\n animation: spin 2s linear infinite;\n\n & svg {\n fill: tokens.$ifxColorOcean500;\n }\n\n &.inverted {\n & svg {\n fill: tokens.$ifxColorBaseWhite;\n }\n }\n\n &.s {\n & svg {\n width: tokens.$ifxSize300;\n height: tokens.$ifxSize300;\n }\n }\n}\n\n\n@keyframes spin {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}","import { Component, h, Prop } from '@stencil/core';\nimport classNames from 'classnames';\n \n\n@Component({\n tag: 'ifx-spinner',\n styleUrl: 'spinner.scss',\n shadow: true,\n})\nexport class Spinner {\n @Prop() size: string;\n @Prop() variant: string;\n @Prop() inverted: boolean = false;\n\n\n render() {\n return (\n <div aria-label=\"spinner indicating a loading process\" class={this.getClassNames()}>\n <div class={`${this.variant !== 'brand' ? 'border' : \"\"} ${this.inverted ? 'inverted' : \"\"}`}></div>\n {this.variant === 'brand'\n && <div class={`semiconductor ${this.inverted ? 'inverted' : \"\"} ${this.getSizeClass()}`}>\n <svg width='40' height='40' viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <g id=\"spinner/conductor\">\n <path id=\"Vector\" d=\"M38.75 18.75C39.4375 18.75 40 19.3125 40 20C40 20.6875 39.4409 21.25 38.75 21.25H35V26.25H38.75C39.4375 26.25 40 26.8125 40 27.5C40 28.1875 39.4409 28.75 38.75 28.75H35V30C35 32.7617 32.7617 35 30 35H28.75V38.75C28.75 39.4409 28.1875 40 27.5 40C26.8125 40 26.25 39.4409 26.25 38.75V35H21.25V38.75C21.25 39.4409 20.6875 40 20 40C19.3125 40 18.75 39.4409 18.75 38.75V35H13.75V38.75C13.75 39.4409 13.1875 40 12.5 40C11.8125 40 11.25 39.4409 11.25 38.75V35H10C7.23828 35 5 32.7617 5 30V28.75H1.25C0.559062 28.75 0 28.1875 0 27.5C0 26.8125 0.559062 26.25 1.25 26.25H5V21.25H1.25C0.559062 21.25 0 20.6875 0 20C0 19.3125 0.559062 18.75 1.25 18.75H5V13.75H1.25C0.559062 13.75 0 13.1875 0 12.5C0 11.8125 0.559062 11.25 1.25 11.25H5V10C5 7.23828 7.23828 5 10 5H11.25V1.25C11.25 0.5625 11.8125 0 12.5 0C13.1875 0 13.75 0.559063 13.75 1.25V5H18.75V1.25C18.75 0.559063 19.3091 0 20 0C20.6909 0 21.25 0.559063 21.25 1.25V5H26.25V1.25C26.25 0.559063 26.8091 0 27.5 0C28.1909 0 28.75 0.559063 28.75 1.25V5H30C32.7617 5 35 7.23828 35 10V11.25H38.75C39.4409 11.25 40 11.8091 40 12.5C40 13.1909 39.4409 13.75 38.75 13.75H35V18.75H38.75ZM32.5 10C32.5 8.62188 31.3781 7.5 30 7.5H10C8.62187 7.5 7.5 8.62188 7.5 10V30C7.5 31.3781 8.62187 32.5 10 32.5H30C31.3781 32.5 32.5 31.3781 32.5 30V10Z\" />\n </g>\n </svg>\n </div>}\n </div>\n );\n }\n\n getSizeClass() {\n return `${this.size}` === \"s\"\n ? \"s\"\n : \"\";\n }\n\n getClassNames() {\n return classNames(\n 'spinner',\n this.size && `spinner ${this.getSizeClass()}`\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-f6eb75e8.js","mappings":";;;AAAA,MAAM,UAAU,GAAG,mvBAAmvB,CAAC;AACvwB,yBAAe,UAAU;;MCQZ,OAAO;IALpB;;;;QAQU,aAAQ,GAAY,KAAK,CAAC;KA+BnC;IA5BC,MAAM;QACJ,QACE,0EAAgB,sCAAsC,EAAC,KAAK,EAAE,IAAI,CAAC,aAAa,EAAE,IAChF,4DAAK,KAAK,EAAE,GAAG,IAAI,CAAC,OAAO,KAAK,OAAO,GAAG,QAAQ,GAAG,EAAE,IAAI,IAAI,CAAC,QAAQ,GAAG,UAAU,GAAG,EAAE,EAAE,GAAQ,EACnG,IAAI,CAAC,OAAO,KAAK,OAAO;eACpB,4DAAK,KAAK,EAAE,iBAAiB,IAAI,CAAC,QAAQ,GAAG,UAAU,GAAG,EAAE,IAAI,IAAI,CAAC,YAAY,EAAE,EAAE,IACtF,4DAAK,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,4BAA4B,IAC5F,0DAAG,EAAE,EAAC,mBAAmB,IACvB,6DAAM,EAAE,EAAC,QAAQ,EAAC,CAAC,EAAC,svCAAsvC,GAAG,CAC3wC,CACA,CACF,CACJ,EACN;KACH;IAED,YAAY;QACV,OAAO,GAAG,IAAI,CAAC,IAAI,EAAE,KAAK,GAAG;cACzB,GAAG;cACH,EAAE,CAAC;KACR;IAED,aAAa;QACX,OAAO,UAAU,CACf,SAAS,EACT,IAAI,CAAC,IAAI,IAAI,WAAW,IAAI,CAAC,YAAY,EAAE,EAAE,CAC9C,CAAC;KACH;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/spinner/spinner.scss?tag=ifx-spinner&encapsulation=shadow","src/components/spinner/spinner.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n\n:host {\n display: inline-block;\n\n}\n\n.spinner {\n position: relative;\n width: tokens.$ifxSize500;\n height: tokens.$ifxSize500;\n\n}\n\n.spinner.s {\n width: tokens.$ifxSize300;\n height: tokens.$ifxSize300;\n}\n\n.border {\n box-sizing: border-box;\n position: absolute;\n width: 100%;\n height: 100%;\n border: 4px solid transparent;\n border-top-color: tokens.$ifxColorOcean500;\n border-left-color: tokens.$ifxColorOcean500;\n border-right-color: tokens.$ifxColorOcean500;\n border-top-left-radius: 1px;\n border-top-right-radius: 1px;\n border-radius: 50%;\n animation: spin 2s linear infinite;\n\n &.inverted {\n border-top-color: tokens.$ifxColorBaseWhite;\n border-left-color: tokens.$ifxColorBaseWhite;\n border-right-color: tokens.$ifxColorBaseWhite;\n }\n}\n\n.semiconductor {\n width: 100%;\n height: 100%;\n animation: spin 2s linear infinite;\n\n & svg {\n fill: tokens.$ifxColorOcean500;\n }\n\n &.inverted {\n & svg {\n fill: tokens.$ifxColorBaseWhite;\n }\n }\n\n &.s {\n & svg {\n width: tokens.$ifxSize300;\n height: tokens.$ifxSize300;\n }\n }\n}\n\n\n@keyframes spin {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}","import { Component, h, Prop } from '@stencil/core';\nimport classNames from 'classnames';\n \n\n@Component({\n tag: 'ifx-spinner',\n styleUrl: 'spinner.scss',\n shadow: true,\n})\nexport class Spinner {\n @Prop() size: string;\n @Prop() variant: string;\n @Prop() inverted: boolean = false;\n\n\n render() {\n return (\n <div aria-label=\"spinner indicating a loading process\" class={this.getClassNames()}>\n <div class={`${this.variant !== 'brand' ? 'border' : \"\"} ${this.inverted ? 'inverted' : \"\"}`}></div>\n {this.variant === 'brand'\n && <div class={`semiconductor ${this.inverted ? 'inverted' : \"\"} ${this.getSizeClass()}`}>\n <svg width='40' height='40' viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <g id=\"spinner/conductor\">\n <path id=\"Vector\" d=\"M38.75 18.75C39.4375 18.75 40 19.3125 40 20C40 20.6875 39.4409 21.25 38.75 21.25H35V26.25H38.75C39.4375 26.25 40 26.8125 40 27.5C40 28.1875 39.4409 28.75 38.75 28.75H35V30C35 32.7617 32.7617 35 30 35H28.75V38.75C28.75 39.4409 28.1875 40 27.5 40C26.8125 40 26.25 39.4409 26.25 38.75V35H21.25V38.75C21.25 39.4409 20.6875 40 20 40C19.3125 40 18.75 39.4409 18.75 38.75V35H13.75V38.75C13.75 39.4409 13.1875 40 12.5 40C11.8125 40 11.25 39.4409 11.25 38.75V35H10C7.23828 35 5 32.7617 5 30V28.75H1.25C0.559062 28.75 0 28.1875 0 27.5C0 26.8125 0.559062 26.25 1.25 26.25H5V21.25H1.25C0.559062 21.25 0 20.6875 0 20C0 19.3125 0.559062 18.75 1.25 18.75H5V13.75H1.25C0.559062 13.75 0 13.1875 0 12.5C0 11.8125 0.559062 11.25 1.25 11.25H5V10C5 7.23828 7.23828 5 10 5H11.25V1.25C11.25 0.5625 11.8125 0 12.5 0C13.1875 0 13.75 0.559063 13.75 1.25V5H18.75V1.25C18.75 0.559063 19.3091 0 20 0C20.6909 0 21.25 0.559063 21.25 1.25V5H26.25V1.25C26.25 0.559063 26.8091 0 27.5 0C28.1909 0 28.75 0.559063 28.75 1.25V5H30C32.7617 5 35 7.23828 35 10V11.25H38.75C39.4409 11.25 40 11.8091 40 12.5C40 13.1909 39.4409 13.75 38.75 13.75H35V18.75H38.75ZM32.5 10C32.5 8.62188 31.3781 7.5 30 7.5H10C8.62187 7.5 7.5 8.62188 7.5 10V30C7.5 31.3781 8.62187 32.5 10 32.5H30C31.3781 32.5 32.5 31.3781 32.5 30V10Z\" />\n </g>\n </svg>\n </div>}\n </div>\n );\n }\n\n getSizeClass() {\n return `${this.size}` === \"s\"\n ? \"s\"\n : \"\";\n }\n\n getClassNames() {\n return classNames(\n 'spinner',\n this.size && `spinner ${this.getSizeClass()}`\n );\n }\n}\n"],"version":3}
@@ -173,7 +173,7 @@ const Template = class {
173
173
  }
174
174
  }
175
175
  render() {
176
- return (h("div", { key: '8bbad6a5aed64cdf08d55d949307d1f6e6833dad' }, this.isTemplatePage
176
+ return (h("div", { key: 'b0774ebe1c3e3144ef40770c6ca8169c1f518c00' }, this.isTemplatePage
177
177
  ?
178
178
  h("div", { class: "template__page-wrapper" }, !this.repoUrl && !this.repoError &&
179
179
  h("div", null, h("h3", null, "Your repository is getting ready.."), h("p", null, "This will only take a minute.")), this.isLoading && !this.repoError && h("div", null, h("ifx-spinner", { variant: 'default', size: 's' })), this.repoUrl && h("ifx-link", { href: this.repoUrl, target: "_parent", size: "m", variant: "underlined" }, "Your repository"), this.repoError && h("div", null, this.repoError))
@@ -178,7 +178,7 @@ const Table = class {
178
178
  return {};
179
179
  }
180
180
  render() {
181
- return (h(Host, { key: '56d342732bf6d49e668f0fc3e2f34f604ecc50fc' }, h("div", { key: '672ef798fa5d47b3c219a772c5256cc0a670f180', id: "table-wrapper", class: this.getClassNames() }, h("div", { key: '66c21033cebeb0df7a41d7ffe7f6b66fadd6be96', id: `ifxTable-${this.uniqueKey}`, class: "ifx-ag-grid", style: this.getTableStyle(), ref: (el) => (this.container = el) }))));
181
+ return (h(Host, { key: 'aad9914fcf873da2a71ed7bbfa7db2be5dec54a5' }, h("div", { key: 'bc436824ba11ec68a0dca3fc0381993dc66ff593', id: "table-wrapper", class: this.getClassNames() }, h("div", { key: '9c290e9797c50dae868ab333ad613035715e1518', id: `ifxTable-${this.uniqueKey}`, class: "ifx-ag-grid", style: this.getTableStyle(), ref: (el) => (this.container = el) }))));
182
182
  }
183
183
  get host() { return getElement(this); }
184
184
  };
@@ -1,13 +1,12 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-b4eaf00e.js';
2
2
 
3
- const checkboxCss = ":host{display:inline-flex;vertical-align:top}.checkbox__container{box-sizing:border-box;display:inline-flex;flex-direction:row;align-items:top;padding:0px;gap:8px;font-family:var(--ifx-font-family)}.checkbox__container .checkbox__wrapper{box-sizing:border-box;display:flex;position:relative;justify-content:center;align-items:center;width:20px;height:20px;background-color:#FFFFFF;border:1px solid #575352;border-radius:1px;flex:none;order:0;flex-grow:0;align-self:flex-start}.checkbox__container .checkbox__wrapper.checkbox-m{height:24px;width:24px}.checkbox__container .checkbox__wrapper.error{border-color:#CD002F}.checkbox__container .checkbox__wrapper:focus-visible{border:1px solid #575352;outline:2px solid #0A8276;outline-offset:2px}.checkbox__container .checkbox__wrapper:hover{background-color:#EEEDED;border:1px solid #575352;border-radius:1px;flex:none;order:0;flex-grow:0}.checkbox__container .checkbox__wrapper.disabled{background-color:#BFBBBB;border-color:#BFBBBB;border-radius:1px;flex:none;order:0;flex-grow:0}.checkbox__container .checkbox__wrapper.checked{background-color:#0A8276;border-radius:1px;border-color:transparent;flex:none;order:0;flex-grow:0;color:#FFFFFF}.checkbox__container .checkbox__wrapper.checked.error{background-color:#CD002F}.checkbox__container .checkbox__wrapper.checked:focus-visible{border:1px solid transparent;outline:2px solid #0A8276;outline-offset:2px}.checkbox__container .checkbox__wrapper.checked:hover{background-color:#08665C;border-radius:1px;flex:none;order:0;flex-grow:0}.checkbox__container .checkbox__wrapper.checked.disabled{background:#BFBBBB;border-radius:1px;flex:none;order:0;flex-grow:0}.checkbox__container .checkbox__wrapper.indeterminate:before{content:\"\";display:block;width:70%;height:2px;background-color:#08665C;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.checkbox__container .label{font-style:normal;font-weight:400;font-size:0.875rem;line-height:1.25rem;color:#1D1D1D;overflow-wrap:break-word;word-wrap:break-word;word-break:break-all;max-width:100%}.checkbox__container .label.label-m{font-size:1rem;line-height:1.5rem}.checkbox__container .label.disabled{color:#BFBBBB}.checkbox__container .checkbox__wrapper:hover,.checkbox__container .label:hover{cursor:pointer}";
3
+ const checkboxCss = ":host{display:inline-flex;vertical-align:top}.checkbox__container{box-sizing:border-box;display:inline-flex;flex-direction:row;align-items:center;padding:0px;gap:8px;font-family:var(--ifx-font-family)}.checkbox__container .checkbox__wrapper{box-sizing:border-box;display:flex;position:relative;justify-content:center;align-items:center;width:20px;height:20px;background-color:#FFFFFF;border:1px solid #575352;border-radius:1px;flex:none;order:0;flex-grow:0;align-self:flex-start}.checkbox__container .checkbox__wrapper.checkbox-m{height:24px;width:24px}.checkbox__container .checkbox__wrapper.error{border-color:#CD002F}.checkbox__container .checkbox__wrapper:focus-visible{border:1px solid #575352;outline:2px solid #0A8276;outline-offset:2px}.checkbox__container .checkbox__wrapper:hover{background-color:#EEEDED;border:1px solid #575352;border-radius:1px;flex:none;order:0;flex-grow:0}.checkbox__container .checkbox__wrapper.disabled{background-color:#BFBBBB;border-color:#BFBBBB;border-radius:1px;flex:none;order:0;flex-grow:0}.checkbox__container .checkbox__wrapper.checked{background-color:#0A8276;border-radius:1px;border-color:transparent;flex:none;order:0;flex-grow:0;color:#FFFFFF}.checkbox__container .checkbox__wrapper.checked.error{background-color:#CD002F}.checkbox__container .checkbox__wrapper.checked:focus-visible{border:1px solid transparent;outline:2px solid #0A8276;outline-offset:2px}.checkbox__container .checkbox__wrapper.checked:hover{background-color:#08665C;border-radius:1px;flex:none;order:0;flex-grow:0}.checkbox__container .checkbox__wrapper.checked.disabled{background:#BFBBBB;border-radius:1px;flex:none;order:0;flex-grow:0}.checkbox__container .checkbox__wrapper.indeterminate:before{content:\"\";display:block;width:70%;height:2px;background-color:#08665C;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.checkbox__container .label{font-style:normal;font-weight:400;font-size:0.875rem;line-height:1.25rem;color:#1D1D1D;overflow-wrap:break-word;word-wrap:break-word;word-break:break-all;max-width:100%}.checkbox__container .label.label-m{font-size:1rem;line-height:1.5rem}.checkbox__container .label.disabled{color:#BFBBBB}.checkbox__container .checkbox__wrapper:hover,.checkbox__container .label:hover{cursor:pointer}";
4
4
  const IfxCheckboxStyle0 = checkboxCss;
5
5
 
6
6
  const Checkbox = class {
7
7
  constructor(hostRef) {
8
8
  registerInstance(this, hostRef);
9
9
  this.ifxChange = createEvent(this, "ifxChange", 7);
10
- this.ifxError = createEvent(this, "ifxError", 7);
11
10
  if (hostRef.$hostElement$["s-ei"]) {
12
11
  this.internals = hostRef.$hostElement$["s-ei"];
13
12
  }
@@ -56,11 +55,6 @@ const Checkbox = class {
56
55
  this.inputElement.checked = this.internalChecked; // update the checkbox's checked property
57
56
  }
58
57
  }
59
- errorChanged(newValue, oldValue) {
60
- if (newValue !== oldValue) {
61
- this.ifxError.emit(newValue);
62
- }
63
- }
64
58
  indeterminateChanged(newValue, oldValue) {
65
59
  if (newValue !== oldValue) {
66
60
  this.internalIndeterminate = newValue;
@@ -109,18 +103,17 @@ const Checkbox = class {
109
103
  if (slot) {
110
104
  hasSlot = true;
111
105
  }
112
- return (h("div", { key: '31159bd0afb3e2e6d4a0016d3a8f4cc249c217ac', class: "checkbox__container" }, h("input", { key: '64a9ca5cdb97c2c9ddca91a38ea10aada8814e54', type: "checkbox", hidden: true, ref: (el) => (this.inputElement = el), checked: this.internalChecked, onChange: this.handleCheckbox.bind(this), id: 'checkbox', value: `${this.value}`, disabled: this.disabled ? true : undefined }), h("div", { key: '5bee29290bd57608e35b24717a0c4c6e49836c02', tabindex: "0", onClick: this.handleCheckbox.bind(this), onKeyDown: this.handleKeydown.bind(this), role: "checkbox", "aria-checked": this.indeterminate ? 'mixed' : this.internalChecked.toString(), "aria-disabled": this.disabled, "aria-labelledby": "label", class: `checkbox__wrapper
106
+ return (h("div", { key: '42d5a5b45e19edb9ad6885c2849ec4909fb587ea', class: "checkbox__container" }, h("input", { key: 'a924fc885614c78b86d396c50665470e1c281c2f', type: "checkbox", hidden: true, ref: (el) => (this.inputElement = el), checked: this.internalChecked, onChange: this.handleCheckbox.bind(this), id: 'checkbox', value: `${this.value}`, disabled: this.disabled ? true : undefined }), h("div", { key: 'b39d40cdd76089d90ef783f971b3ff1eedddd16c', tabindex: "0", onClick: this.handleCheckbox.bind(this), onKeyDown: this.handleKeydown.bind(this), role: "checkbox", "aria-checked": this.indeterminate ? 'mixed' : this.internalChecked.toString(), "aria-disabled": this.disabled, "aria-labelledby": "label", class: `checkbox__wrapper
113
107
  ${this.getCheckedClassName()}
114
108
  ${this.size === "m" ? "checkbox-m" : ""}
115
109
  ${this.indeterminate ? 'indeterminate' : ""}
116
- ${this.disabled ? 'disabled' : ""}` }, this.internalChecked && h("ifx-icon", { key: '31bd93c0fa7b2b6a985854807b8dedfdc8b68143', icon: "check-12", "aria-hidden": "true" })), hasSlot &&
117
- h("div", { key: '84d660078539acc551e7174efb9b64aa5a5c0260', id: "label", class: `label ${this.size === "m" ? "label-m" : ""} ${this.disabled ? 'disabled' : ""} `, onClick: this.handleCheckbox.bind(this) }, h("slot", { key: 'efc992f0df09084731d1e072f30b495d11fee0d2' }))));
110
+ ${this.disabled ? 'disabled' : ""}` }, this.internalChecked && h("ifx-icon", { key: 'c377c5f5a75b99a6b9b9e94b46f585e0957779bf', icon: "check-12", "aria-hidden": "true" })), hasSlot &&
111
+ h("div", { key: 'eece08029794065f499efe28480f2fc2030dabd9', id: "label", class: `label ${this.size === "m" ? "label-m" : ""} ${this.disabled ? 'disabled' : ""} `, onClick: this.handleCheckbox.bind(this) }, h("slot", { key: 'a317e5c7eedb34e245888b7f24df1cd5de633bf3' }))));
118
112
  }
119
113
  static get formAssociated() { return true; }
120
114
  get el() { return getElement(this); }
121
115
  static get watchers() { return {
122
116
  "checked": ["valueChanged"],
123
- "error": ["errorChanged"],
124
117
  "indeterminate": ["indeterminateChanged"]
125
118
  }; }
126
119
  };
@@ -1 +1 @@
1
- {"file":"ifx-checkbox.entry.js","mappings":"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","names":[],"sources":["src/components/checkbox/checkbox.scss?tag=ifx-checkbox&encapsulation=shadow","src/components/checkbox/checkbox.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n\n:host {\n display: inline-flex;\n vertical-align: top;\n}\n\n.checkbox__container {\n box-sizing: border-box;\n display: inline-flex;\n flex-direction: row;\n align-items: top;\n padding: 0px;\n gap: tokens.$ifxSpace100;\n font-family: var(--ifx-font-family);\n\n & .checkbox__wrapper {\n box-sizing: border-box;\n display: flex;\n position: relative; //needs to be added for the indeterminate state of the checkbox\n justify-content: center;\n align-items: center;\n width: tokens.$ifxSize250;\n height: tokens.$ifxSize250;\n background-color: tokens.$ifxColorBaseWhite;\n border: 1px solid #575352;\n border-radius: tokens.$ifxBorderRadius12;\n flex: none;\n order: 0;\n flex-grow: 0;\n align-self: flex-start;\n\n &.checkbox-m {\n height: tokens.$ifxSize300;\n width: tokens.$ifxSize300;\n }\n\n &.error {\n border-color: #CD002F;\n }\n\n &:focus-visible {\n border: 1px solid #575352;\n outline: 2px solid #0A8276;\n outline-offset: 2px;\n }\n\n &:hover {\n background-color: #EEEDED;\n border: 1px solid #575352;\n border-radius: tokens.$ifxBorderRadius12;\n flex: none;\n order: 0;\n flex-grow: 0;\n }\n\n &.disabled {\n background-color: #BFBBBB;\n border-color: #BFBBBB;\n border-radius: tokens.$ifxBorderRadius12;\n flex: none;\n order: 0;\n flex-grow: 0;\n }\n\n &.checked {\n background-color: #0A8276;\n border-radius: tokens.$ifxBorderRadius12;\n border-color: tokens.$ifxColorBaseTransparent;\n flex: none;\n order: 0;\n flex-grow: 0;\n color: tokens.$ifxColorBaseWhite;\n\n &.error {\n background-color: #CD002F;\n }\n\n &:focus-visible {\n border: 1px solid transparent;\n outline: 2px solid #0A8276;\n outline-offset: 2px;\n }\n\n &:hover {\n background-color: #08665C;\n border-radius: tokens.$ifxBorderRadius12;\n flex: none;\n order: 0;\n flex-grow: 0;\n }\n\n &.disabled {\n background: #BFBBBB;\n border-radius: tokens.$ifxBorderRadius12;\n flex: none;\n order: 0;\n flex-grow: 0;\n }\n }\n\n &.indeterminate {\n &:before {\n content: \"\";\n display: block;\n width: 70%; // Adjust as needed for the width of the minus sign\n height: 2px; // Adjust for thickness of the minus sign\n background-color: #08665C; // Color of the minus sign\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n }\n }\n\n }\n\n & .label {\n font-style: normal;\n font-weight: 400;\n font-size: tokens.$ifxFontSizeS;\n line-height: tokens.$ifxLineHeightS;\n color: tokens.$ifxColorBaseBlack;\n overflow-wrap: break-word;\n word-wrap: break-word;\n word-break: break-all;\n max-width: 100%;\n\n &.label-m {\n font-size: tokens.$ifxFontSizeM;\n line-height: tokens.$ifxLineHeightM;\n }\n\n &.disabled {\n color: #BFBBBB;\n }\n }\n\n & .checkbox__wrapper,\n & .label {\n &:hover {\n cursor: pointer;\n }\n }\n}","import { Component, h, Prop, Element, State, Event, EventEmitter, Watch, Method, AttachInternals } from '@stencil/core';\n\n@Component({\n tag: 'ifx-checkbox',\n styleUrl: 'checkbox.scss',\n shadow: true,\n formAssociated: true\n})\n\nexport class Checkbox {\n private inputElement: HTMLInputElement;\n\n @Element() el;\n @Prop() disabled: boolean = false;\n @Prop() checked: boolean = false;\n @Prop() error: boolean = false;\n @Prop() size: string = 'm';\n @Prop() indeterminate: boolean = false;\n @Prop() value: string;\n @State() internalChecked: boolean;\n @State() internalIndeterminate: boolean;\n\n @AttachInternals() internals: ElementInternals;\n\n @Event({ bubbles: true, composed: true }) ifxChange: EventEmitter;\n @Event({ bubbles: true, composed: true }) ifxError: EventEmitter;\n\n handleCheckbox() {\n if (!this.disabled) {\n if (this.inputElement.indeterminate) {\n this.internalChecked = true;\n this.internalIndeterminate = false;\n } else {\n this.internalChecked = !this.internalChecked;\n }\n if (this.internalChecked) {\n if (this.value !== undefined) {\n this.internals.setFormValue(this.value);\n } else {\n this.internals.setFormValue(\"on\")\n }\n } else {\n this.internals.setFormValue(null)\n }\n this.ifxChange.emit(this.internalChecked);\n }\n }\n\n @Method()\n async isChecked(): Promise<boolean> {\n return this.internalChecked;\n }\n\n @Method()\n async toggleCheckedState(newVal: boolean) {\n this.internalChecked = newVal;\n }\n\n @Watch('checked')\n valueChanged(newValue: boolean, oldValue: boolean) {\n if (newValue !== oldValue) {\n this.internalChecked = newValue;\n this.inputElement.checked = this.internalChecked; // update the checkbox's checked property\n }\n }\n\n @Watch('error')\n errorChanged(newValue: boolean, oldValue: boolean) {\n if (newValue !== oldValue) {\n this.ifxError.emit(newValue);\n }\n }\n\n @Watch('indeterminate')\n indeterminateChanged(newValue: boolean, oldValue: boolean) {\n if (newValue !== oldValue) {\n this.internalIndeterminate = newValue;\n this.inputElement.indeterminate = this.internalIndeterminate; // update the checkbox's indeterminate property\n }\n }\n\n handleKeydown(event) {\n // Keycode 32 corresponds to the Space key, 13 corresponds to the Enter key\n if (event.keyCode === 32 || event.keyCode === 13) {\n this.handleCheckbox();\n event.preventDefault(); // prevent the default action when space or enter is pressed\n }\n }\n\n componentWillLoad() {\n this.internalChecked = this.checked;\n this.internalIndeterminate = this.indeterminate;\n }\n\n componentDidRender() {\n this.inputElement.indeterminate = this.internalIndeterminate;\n }\n\n /**\n * Callback for form association.\n * Called whenever the form is reset.\n */\n formResetCallback() {\n this.internals.setFormValue(null);\n }\n\n getCheckedClassName() {\n if (this.error) {\n if (this.internalChecked) {\n return \"checked error\"\n } else {\n return \"error\"\n }\n } else if (this.internalChecked) {\n return \"checked\";\n } else return \"\"\n }\n\n render() {\n const slot = this.el.innerHTML;\n let hasSlot = false;\n if (slot) {\n hasSlot = true;\n }\n return (\n <div class=\"checkbox__container\">\n <input\n type=\"checkbox\"\n hidden\n ref={(el) => (this.inputElement = el)}\n checked={this.internalChecked}\n onChange={this.handleCheckbox.bind(this)} // Listen for changes here\n id='checkbox'\n value={`${this.value}`}\n disabled={this.disabled ? true : undefined}\n />\n <div\n tabindex=\"0\"\n onClick={this.handleCheckbox.bind(this)}\n onKeyDown={this.handleKeydown.bind(this)}\n role=\"checkbox\"\n aria-checked={this.indeterminate ? 'mixed' : this.internalChecked.toString()}\n aria-disabled={this.disabled}\n aria-labelledby=\"label\"\n class={`checkbox__wrapper \n ${this.getCheckedClassName()}\n ${this.size === \"m\" ? \"checkbox-m\" : \"\"}\n ${this.indeterminate ? 'indeterminate' : \"\"}\n ${this.disabled ? 'disabled' : \"\"}`}\n >\n {this.internalChecked && <ifx-icon icon=\"check-12\" aria-hidden=\"true\"></ifx-icon>}\n </div>\n {hasSlot &&\n <div id=\"label\" class={`label ${this.size === \"m\" ? \"label-m\" : \"\"} ${this.disabled ? 'disabled' : \"\"} `} onClick={this.handleCheckbox.bind(this)}>\n <slot />\n </div>}\n </div>\n );\n }\n}"],"version":3}
1
+ {"file":"ifx-checkbox.entry.js","mappings":"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","names":[],"sources":["src/components/checkbox/checkbox.scss?tag=ifx-checkbox&encapsulation=shadow","src/components/checkbox/checkbox.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n\n:host {\n display: inline-flex;\n vertical-align: top;\n}\n\n\n.checkbox__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 font-family: var(--ifx-font-family);\n\n & .checkbox__wrapper {\n box-sizing: border-box;\n display: flex;\n position: relative; //needs to be added for the indeterminate state of the checkbox\n justify-content: center;\n align-items: center;\n width: tokens.$ifxSize250;\n height: tokens.$ifxSize250;\n background-color: tokens.$ifxColorBaseWhite;\n border: 1px solid #575352;\n border-radius: tokens.$ifxBorderRadius12;\n flex: none;\n order: 0;\n flex-grow: 0;\n align-self: flex-start;\n\n &.checkbox-m {\n height: tokens.$ifxSize300;\n width: tokens.$ifxSize300;\n }\n\n\n &.error {\n border-color: #CD002F;\n }\n\n &:focus-visible {\n border: 1px solid #575352;\n outline: 2px solid #0A8276;\n outline-offset: 2px;\n }\n\n &:hover {\n background-color: #EEEDED;\n border: 1px solid #575352;\n border-radius: tokens.$ifxBorderRadius12;\n flex: none;\n order: 0;\n flex-grow: 0;\n }\n\n &.disabled {\n background-color: #BFBBBB;\n border-color: #BFBBBB;\n border-radius: tokens.$ifxBorderRadius12;\n flex: none;\n order: 0;\n flex-grow: 0;\n }\n\n &.checked {\n background-color: #0A8276;\n border-radius: tokens.$ifxBorderRadius12;\n border-color: tokens.$ifxColorBaseTransparent;\n flex: none;\n order: 0;\n flex-grow: 0;\n color: tokens.$ifxColorBaseWhite;\n\n &.error {\n background-color: #CD002F;\n }\n\n &:focus-visible {\n border: 1px solid transparent;\n outline: 2px solid #0A8276;\n outline-offset: 2px;\n }\n\n &:hover {\n background-color: #08665C;\n border-radius: tokens.$ifxBorderRadius12;\n flex: none;\n order: 0;\n flex-grow: 0;\n }\n\n &.disabled {\n background: #BFBBBB;\n border-radius: tokens.$ifxBorderRadius12;\n flex: none;\n order: 0;\n flex-grow: 0;\n }\n }\n\n &.indeterminate {\n &:before {\n content: \"\";\n display: block;\n width: 70%; // Adjust as needed for the width of the minus sign\n height: 2px; // Adjust for thickness of the minus sign\n background-color: #08665C; // Color of the minus sign\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n }\n }\n\n }\n\n & .label {\n font-style: normal;\n font-weight: 400;\n font-size: tokens.$ifxFontSizeS;\n line-height: tokens.$ifxLineHeightS;\n color: tokens.$ifxColorBaseBlack;\n overflow-wrap: break-word;\n word-wrap: break-word;\n word-break: break-all;\n max-width: 100%;\n\n &.label-m {\n font-size: tokens.$ifxFontSizeM;\n line-height: tokens.$ifxLineHeightM;\n }\n\n &.disabled {\n color: #BFBBBB;\n }\n }\n\n & .checkbox__wrapper,\n & .label {\n &:hover {\n cursor: pointer;\n }\n }\n\n}","import { Component, h, Prop, Element, State, Event, EventEmitter, Watch, Method, AttachInternals } from '@stencil/core';\n \n\n@Component({\n tag: 'ifx-checkbox',\n styleUrl: 'checkbox.scss',\n shadow: true,\n formAssociated: true\n})\n\nexport class Checkbox {\n private inputElement: HTMLInputElement;\n\n @Element() el;\n @Prop() disabled: boolean = false;\n @Prop() checked: boolean = false;\n @Prop() error: boolean = false;\n @Prop() size: string = 'm';\n @Prop() indeterminate: boolean = false;\n @Prop() value: string;\n @State() internalChecked: boolean;\n @State() internalIndeterminate: boolean;\n\n @AttachInternals() internals: ElementInternals;\n\n @Event({ bubbles: true, composed: true }) ifxChange: EventEmitter;\n\n handleCheckbox() {\n if (!this.disabled) {\n if (this.inputElement.indeterminate) {\n this.internalChecked = true;\n this.internalIndeterminate = false;\n } else {\n this.internalChecked = !this.internalChecked;\n }\n \n if (this.internalChecked) {\n if (this.value !== undefined) {\n this.internals.setFormValue(this.value);\n } else {\n this.internals.setFormValue(\"on\")\n }\n } else {\n this.internals.setFormValue(null)\n }\n this.ifxChange.emit(this.internalChecked);\n }\n }\n\n @Method()\n async isChecked(): Promise<boolean> {\n return this.internalChecked;\n }\n\n @Method()\n async toggleCheckedState(newVal: boolean) {\n this.internalChecked = newVal;\n }\n\n @Watch('checked')\n valueChanged(newValue: boolean, oldValue: boolean) {\n if (newValue !== oldValue) {\n this.internalChecked = newValue;\n this.inputElement.checked = this.internalChecked; // update the checkbox's checked property\n }\n }\n\n\n @Watch('indeterminate')\n indeterminateChanged(newValue: boolean, oldValue: boolean) {\n if (newValue !== oldValue) {\n this.internalIndeterminate = newValue;\n this.inputElement.indeterminate = this.internalIndeterminate; // update the checkbox's indeterminate property\n }\n }\n\n handleKeydown(event) {\n // Keycode 32 corresponds to the Space key, 13 corresponds to the Enter key\n if (event.keyCode === 32 || event.keyCode === 13) {\n this.handleCheckbox();\n event.preventDefault(); // prevent the default action when space or enter is pressed\n }\n }\n\n componentWillLoad() {\n this.internalChecked = this.checked;\n this.internalIndeterminate = this.indeterminate;\n }\n\n componentDidRender() {\n this.inputElement.indeterminate = this.internalIndeterminate;\n }\n\n\n /**\n * Callback for form association.\n * Called whenever the form is reset.\n */\n formResetCallback() {\n this.internals.setFormValue(null);\n }\n\n getCheckedClassName() {\n if (this.error) {\n if (this.internalChecked) {\n return \"checked error\"\n } else {\n return \"error\"\n }\n } else if (this.internalChecked) {\n return \"checked\";\n } else return \"\"\n }\n\n render() {\n const slot = this.el.innerHTML;\n let hasSlot = false;\n\n if (slot) {\n hasSlot = true;\n }\n\n return (\n <div class=\"checkbox__container\">\n <input\n type=\"checkbox\"\n hidden\n ref={(el) => (this.inputElement = el)}\n checked={this.internalChecked}\n onChange={this.handleCheckbox.bind(this)} // Listen for changes here\n id='checkbox'\n value={`${this.value}`}\n disabled={this.disabled ? true : undefined}\n />\n\n <div\n tabindex=\"0\"\n onClick={this.handleCheckbox.bind(this)}\n onKeyDown={this.handleKeydown.bind(this)}\n role=\"checkbox\"\n aria-checked={this.indeterminate ? 'mixed' : this.internalChecked.toString()}\n aria-disabled={this.disabled}\n aria-labelledby=\"label\"\n class={`checkbox__wrapper \n ${this.getCheckedClassName()}\n ${this.size === \"m\" ? \"checkbox-m\" : \"\"}\n ${this.indeterminate ? 'indeterminate' : \"\"}\n ${this.disabled ? 'disabled' : \"\"}`}\n >\n {this.internalChecked && <ifx-icon icon=\"check-12\" aria-hidden=\"true\"></ifx-icon>}\n </div>\n {hasSlot &&\n <div id=\"label\" class={`label ${this.size === \"m\" ? \"label-m\" : \"\"} ${this.disabled ? 'disabled' : \"\"} `} onClick={this.handleCheckbox.bind(this)}>\n <slot />\n </div>}\n </div>\n );\n }\n}\n"],"version":3}
@@ -261,17 +261,17 @@ const Chip = class {
261
261
  this.syncSelectedOptionsWithProp(this.value);
262
262
  }
263
263
  render() {
264
- return (h("div", { key: 'fc668c031275a7c69f8cc2002fbf26c9252495ae', class: 'chip' }, h("div", { key: '4705146d122cc620644e24dbd3d4e26c73a72f53', class: `chip__wrapper chip__wrapper--${this.size === 'small' ? 'small' : 'large'}
264
+ return (h("div", { key: '8c18c26d395086b72e02bc4a93d0704edd066089', class: 'chip' }, h("div", { key: 'c7a091e32092cb523fba9b450a24c482670c066f', class: `chip__wrapper chip__wrapper--${this.size === 'small' ? 'small' : 'large'}
265
265
  chip__wrapper--${this.variant === 'multi' ? 'multi' : 'single'}
266
266
  ${this.opened && !this.readOnly ? 'chip__wrapper--opened' : ''}
267
- ${this.selectedOptions.length ? 'chip__wrapper--selected' : ''}`, tabIndex: 0, onClick: !this.readOnly ? () => { this.handleWrapperClick(); } : undefined, role: 'combobox', "aria-label": this.AriaLabel, "aria-value": this.getSelectedOptions(), "aria-haspopup": !this.readOnly ? 'listbox' : undefined, "aria-expanded": !this.readOnly ? this.opened.toString() : undefined, "aria-controls": !this.readOnly ? 'dropdown' : undefined, "aria-readonly": this.readOnly ? 'true' : undefined, "aria-multiselectable": this.variant === 'multi' ? 'true' : undefined }, h("div", { key: '8f1720b1940e2a722c45f6a2efaa42897e6f62f0', class: 'wrapper__label' }, (this.selectedOptions.length === 0) && `${this.placeholder}`, (this.selectedOptions.length !== 0 && (this.variant === 'multi' || this.readOnly) && this.placeholder !== '') &&
267
+ ${this.selectedOptions.length ? 'chip__wrapper--selected' : ''}`, tabIndex: 0, onClick: !this.readOnly ? () => { this.handleWrapperClick(); } : undefined, role: 'combobox', "aria-label": this.AriaLabel, "aria-value": this.getSelectedOptions(), "aria-haspopup": !this.readOnly ? 'listbox' : undefined, "aria-expanded": !this.readOnly ? this.opened.toString() : undefined, "aria-controls": !this.readOnly ? 'dropdown' : undefined, "aria-readonly": this.readOnly ? 'true' : undefined, "aria-multiselectable": this.variant === 'multi' ? 'true' : undefined }, h("div", { key: 'aff84b05d8f36b13c59463af3674150d075f0aa9', class: 'wrapper__label' }, (this.selectedOptions.length === 0) && `${this.placeholder}`, (this.selectedOptions.length !== 0 && (this.variant === 'multi' || this.readOnly) && this.placeholder !== '') &&
268
268
  `${this.placeholder}:`, (this.selectedOptions.length !== 0) &&
269
- h("div", { key: '048ca51b1fc52273cfee76fde5a0e15c21834590', class: 'label__selected-options' }, this.getSelectedOptions()), (this.selectedOptions.length > 2 && this.variant === 'multi') &&
270
- h("ifx-number-indicator", { key: '8b1b5ad4331fbd3d74cdc6b4358cb952d0fcd500' }, " ", `+${this.selectedOptions.length - 2}`, " ")), !this.readOnly && (this.variant !== 'multi' || (this.variant === 'multi' && this.selectedOptions.length === 0)) &&
271
- h("div", { key: 'd0d4782cd9ab4048ce57c09e7add80a6d232f96a', class: 'wrapper__open-button' }, h("ifx-icon", { key: 1, icon: `chevrondown16` })), (this.variant !== 'multi' && this.readOnly !== false && this.selectedOptions.length > 0) &&
272
- h("div", { key: '9696e7c54fcfdfe911b84636405c8fac89205272', class: 'wrapper__unselect-button', onClick: (e) => { this.handleUnselectButtonClick(e); } }, h("ifx-icon", { key: 2, icon: `cross16` })), ((this.selectedOptions.length >= 1) && this.variant === 'multi') &&
273
- h("div", { key: '287a2f6e6167e1d595d7256fa7638d8be6184b2e', class: 'wrapper__unselect-button', onClick: (e) => { this.handleUnselectButtonClick(e); } }, h("ifx-icon", { key: 2, icon: `cross16` }))), this.opened && !this.readOnly &&
274
- h("div", { key: 'b1e1a33e17bb951b60f2086e4c16825a9194c3bb', id: 'dropdown', role: 'listbox', class: 'chip__dropdown' }, h("slot", { key: '64693b69905a1cbbdf6c16c70558e6087534523d' }))));
269
+ h("div", { key: 'd6895d41ea10a0c0ae9e20181cc3e112e78f3c06', class: 'label__selected-options' }, this.getSelectedOptions()), (this.selectedOptions.length > 2 && this.variant === 'multi') &&
270
+ h("ifx-number-indicator", { key: 'af8892d23246826d39fc866b292042297f1688e7' }, " ", `+${this.selectedOptions.length - 2}`, " ")), !this.readOnly && (this.variant !== 'multi' || (this.variant === 'multi' && this.selectedOptions.length === 0)) &&
271
+ h("div", { key: '1995a9d622e80b5639af86214a7084427f7c0ad0', class: 'wrapper__open-button' }, h("ifx-icon", { key: 1, icon: `chevrondown16` })), (this.variant !== 'multi' && this.readOnly !== false && this.selectedOptions.length > 0) &&
272
+ h("div", { key: '20669e78ce405e4d323b7c61c3e4f70b1aded6a5', class: 'wrapper__unselect-button', onClick: (e) => { this.handleUnselectButtonClick(e); } }, h("ifx-icon", { key: 2, icon: `cross16` })), ((this.selectedOptions.length >= 1) && this.variant === 'multi') &&
273
+ h("div", { key: 'b4eebcfbcd125f25cb55f94fbd03bab7202f62da', class: 'wrapper__unselect-button', onClick: (e) => { this.handleUnselectButtonClick(e); } }, h("ifx-icon", { key: 2, icon: `cross16` }))), this.opened && !this.readOnly &&
274
+ h("div", { key: 'dbd65ac1f1b86541a908b370272dd1f2433043c4', id: 'dropdown', role: 'listbox', class: 'chip__dropdown' }, h("slot", { key: '807a0107a2fe23f0d72ed3b0aed7659d7f1a3bb4' }))));
275
275
  }
276
276
  get chip() { return getElement(this); }
277
277
  static get watchers() { return {
@@ -343,9 +343,9 @@ const ChipItem = class {
343
343
  this.handleSelectedState();
344
344
  }
345
345
  render() {
346
- return (h("div", { key: '7ceff18d0a41b419a188d925fd854cc97d7a9ecd', class: `chip-item chip-item--${this.chipState.size}
346
+ return (h("div", { key: 'a4d81329a7a5bbbc71b66b0f02f32302e3edd6bd', class: `chip-item chip-item--${this.chipState.size}
347
347
  chip-item--${(this.selected && this.chipState.variant) === 'single' ? 'selected' : ''}`, tabIndex: 0, onClick: () => { this.handleItemClick(); }, onKeyDown: (e) => { this.handleItemKeyDown(e); }, role: "option", "aria-selected": this.selected.toString() }, this.chipState.variant === 'multi' &&
348
- h("ifx-checkbox", { key: 'd2f717951d288aa0863081e54cabf7edd1c6f7e6', checked: this.selected, tabIndex: -1, size: 's' }), h("div", { key: 'fff335d9009c93863012f6a4307ed4322413c4f7', class: 'chip-item__label' }, " ", h("slot", { key: 'a093e9caf2eecba28c58674dde3f788be1f5849b' }), " "), h("div", { key: 'ea76c6b3d0bdd2a687acfbe323ebd9e6d6034a40', class: 'chip-item__selected-indicator' }, h("ifx-icon", { key: 'b581de80777bbfe5a39bc393ec90af46276b7ae9', icon: `check${this.chipState.size === 'small' ? '12' : '16'}` }, " "))));
348
+ h("ifx-checkbox", { key: '26865e6c41a95e1a92a0bbcb444ffd99b06b6f6b', checked: this.selected, tabIndex: -1, size: 's' }), h("div", { key: '8a48897962af2131d6f574d602b71e035b2f46a6', class: 'chip-item__label' }, " ", h("slot", { key: '2945084fa15c686cc6456761f4ca67370d6418b3' }), " "), h("div", { key: '94e48f99ce3629f73d2a82530626474a50d0d9c1', class: 'chip-item__selected-indicator' }, h("ifx-icon", { key: 'e9aaef0ae55766df51d8d293bb4405703dcdead8', icon: `check${this.chipState.size === 'small' ? '12' : '16'}` }, " "))));
349
349
  }
350
350
  get chipItem() { return getElement(this); }
351
351
  static get watchers() { return {
@@ -497,7 +497,7 @@ const Pagination = class {
497
497
  this.initPagination(paginationElement);
498
498
  }
499
499
  render() {
500
- return (h("div", { key: '5d7184ed7abc5aa86e5bfe77fe09c7fc3b1346f4', "aria-label": 'a pagination', "aria-value": this.currentPage, class: "container" }, h("div", { key: '1bf3034d1d2f2142217fc92e9c9e470ed7513f7a', class: 'items__per-page-wrapper' }, h("div", { key: 'adc28b64faeee084aff1926e6e33c8fc1245ecfd', class: 'items__per-page-label' }, "Results per Page"), h("div", { key: '73a502aaa1e689cf5b54c5746b26b42260c097e9', class: 'items__per-page-field' }, h("ifx-select", { key: '8336c97a7c2ab5a233e4cabd8c2f847cec5e05b3', value: 'undefined', size: 's', placeholder: 'false', "show-search": 'false', "search-placeholder-value": 'Search...', disabled: false, error: false, "error-message": 'Error', label: '', "placeholder-value": 'Placeholder', options: '[{"value":"ten","label":"10","selected":true}, {"value":"Twenty","label":"20","selected":false}, {"value":"Thirty","label":"30","selected":false}]' }))), h("div", { key: 'e5805a0a91e3157dd6dc3585cab3f2c2b6516d1b', class: 'items__total-wrapper' }, h("div", { key: '9f234733a7c4fa94bd787f4c6c4f87daeeb834ee', class: 'page__numbers-wrapper' }, h("div", { key: 'f3ef170331a922f531ccb862a884a70d28e3d74e', class: "pagination" }, h("ifx-icon-button", { key: 'b76f2b95b846cc67e9bb0b51fbe4c74e62ae776a', variant: 'secondary', class: "prev", color: 'primary', icon: 'arrow-left-24' }), h("ol", { key: '176364ff67efa32553ad92c49dfc5ba663507113' }, this.numberOfPages.map((item) => h("li", { class: `${this.internalPage === item ? 'active' : ""}` }, h("a", { href: undefined }, item)))), h("ifx-icon-button", { key: 'ff81a23f512e7c910aae9ba7f4f54b70b4ded1c6', class: "next", variant: 'secondary', color: 'primary', icon: 'arrow-right-24' }))))));
500
+ return (h("div", { key: '8c0511fb15d35448655931630d0327dcd15decef', "aria-label": 'a pagination', "aria-value": this.currentPage, class: "container" }, h("div", { key: '837e788cead111913b8f5c7a85d69806464f9d99', class: 'items__per-page-wrapper' }, h("div", { key: 'b7d44991c21d686b054aa0468d8f00d723258307', class: 'items__per-page-label' }, "Results per Page"), h("div", { key: '3220f2aff5b6e3bd4277c1d38b2056bd4d2aa7cf', class: 'items__per-page-field' }, h("ifx-select", { key: '2fa70f09f22b9996e174a36f8422898e0915742f', value: 'undefined', size: 's', placeholder: 'false', "show-search": 'false', "search-placeholder-value": 'Search...', disabled: false, error: false, "error-message": 'Error', label: '', "placeholder-value": 'Placeholder', options: '[{"value":"ten","label":"10","selected":true}, {"value":"Twenty","label":"20","selected":false}, {"value":"Thirty","label":"30","selected":false}]' }))), h("div", { key: 'd70ff369ce0157f3697baeaecfcf2f51b360be3f', class: 'items__total-wrapper' }, h("div", { key: '276b0401d80e9ba2b0a71dca92b5d377ae07f87a', class: 'page__numbers-wrapper' }, h("div", { key: '1ba61a67594fb314f54c94f99585ba8beec8a4dd', class: "pagination" }, h("ifx-icon-button", { key: '1878ff1be80497db9b908bff31ff312713889676', variant: 'secondary', class: "prev", color: 'primary', icon: 'arrow-left-24' }), h("ol", { key: '255a90ea782385a1eebb8e7addd38973f2e421a2' }, this.numberOfPages.map((item) => h("li", { class: `${this.internalPage === item ? 'active' : ""}` }, h("a", { href: undefined }, item)))), h("ifx-icon-button", { key: 'd16a8059bf6f3fbb6d17c71bc15a5e8ca8aa816e', class: "next", variant: 'secondary', color: 'primary', icon: 'arrow-right-24' }))))));
501
501
  }
502
502
  get el() { return getElement(this); }
503
503
  };
@@ -9,7 +9,7 @@ const ContentSwitcherItem = class {
9
9
  this.selected = false;
10
10
  }
11
11
  render() {
12
- return (h(Host, { key: 'cfee4bfa2e7b8f5ba6c88a99baf11e69f3fecc5f' }, h("button", { key: '13aa464e8f9f8b2b5cfefd3f20b5dcfdb5d04147', class: 'ifx-content-switcher-item' + (this.selected ? ' selected' : '') }, h("slot", { key: '605f9840e2888ba0249e294292a98216297bad0a' }))));
12
+ return (h(Host, { key: '99244cbfde12465c294ba0ce760731ba6e88c8db' }, h("button", { key: '76e0009bcd1dc452964c03cb10e851321467cec2', class: 'ifx-content-switcher-item' + (this.selected ? ' selected' : '') }, h("slot", { key: '987a09faed55d3066f1b80740cdbf6b7de571496' }))));
13
13
  }
14
14
  };
15
15
  ContentSwitcherItem.style = IfxContentSwitcherItemStyle0;
@@ -157,7 +157,7 @@ const ContentSwitcher = class {
157
157
  return this.items[index].getAttribute('value') || index.toLocaleString();
158
158
  }
159
159
  render() {
160
- return (h(Host, { key: 'f3695558f870943893bdf5fac7ac9ad8f94b1133' }, h("div", { key: '6f251f429608ea472fa710633b56d5a0e6fc4d28', class: "ifx-content-switcher", role: "group" }, h("slot", { key: 'd76d9932fe87b5f1394a57724938630ae82f801c' }))));
160
+ return (h(Host, { key: '0c50e18a9ac86fb7be75a049c82bb73bbad834ec' }, h("div", { key: '6b17a332e6be8a261d7e70143dd60bc51bf637df', class: "ifx-content-switcher", role: "group" }, h("slot", { key: '23a9d14ad25b16d4b3f6411199765b74ef1b9d62' }))));
161
161
  }
162
162
  get el() { return getElement(this); }
163
163
  };
@@ -81,7 +81,7 @@ const DatePicker = class {
81
81
  }
82
82
  render() {
83
83
  var _a, _b;
84
- return (h("div", { key: '193222ce7a6c0922d2b88319a205df849df5804e', class: `date__picker-container ${this.error ? 'error' : ''} ${this.disabled ? 'disabled' : ''}` }, h("label", { key: 'a57ba8b4fbf77bd406a4a185f626efac0bea6da0', class: 'label__wrapper', htmlFor: this.inputId }, (_a = this.label) === null || _a === void 0 ? void 0 : _a.trim()), h("div", { key: 'ca7d189b02688dc56efff87c39846fff77c1576b', class: `input__wrapper ${this.size === 'l' ? 'large' : 'small'} ${this.disabled ? 'disabled' : ''}` }, h("input", { key: '039cce204879d52c655fcfe9ef7739524c1e6c0f', type: "date", class: `date__picker-input ${this.error ? 'error' : ""} ${this.success ? "success" : ""}`, disabled: this.disabled ? true : undefined, "aria-invalid": this.error ? true : undefined, "aria-label": this.AriaLabel, max: this.max, min: this.min, value: this.value, required: this.required, onChange: (e) => this.getDate(e) }), h("div", { key: 'a2dc899dc0923b5a4ed8a3683b228f231853805e', class: "icon__wrapper", role: "button", onClick: () => this.handleInputFocusOnIconClick() }, h("ifx-icon", { key: 'e0629c84b044727c2514751887253c24f33394f0', icon: 'calendar16', "aria-hidden": "true" }))), ((_b = this.caption) === null || _b === void 0 ? void 0 : _b.trim()) && (h("div", { key: '78ffd450feb0df0dca22aaf0fb2729253a528d0c', class: 'caption__wrapper' }, this.caption.trim()))));
84
+ return (h("div", { key: '8939525c9d1b6ca3d6d1d598f18c801eaa274925', class: `date__picker-container ${this.error ? 'error' : ''} ${this.disabled ? 'disabled' : ''}` }, h("label", { key: 'b6943a24e0b7b92826f8f0a951aa8ba07b07a602', class: 'label__wrapper', htmlFor: this.inputId }, (_a = this.label) === null || _a === void 0 ? void 0 : _a.trim()), h("div", { key: 'dbb6810bec0365a771ee39feca14455d553f308f', class: `input__wrapper ${this.size === 'l' ? 'large' : 'small'} ${this.disabled ? 'disabled' : ''}` }, h("input", { key: 'c4532643be4a7a29a9c8837787e997059bdaa7c1', type: "date", class: `date__picker-input ${this.error ? 'error' : ""} ${this.success ? "success" : ""}`, disabled: this.disabled ? true : undefined, "aria-invalid": this.error ? true : undefined, "aria-label": this.AriaLabel, max: this.max, min: this.min, value: this.value, required: this.required, onChange: (e) => this.getDate(e) }), h("div", { key: '401c972432d3c0a057a3fe812fa730372b12fcbe', class: "icon__wrapper", role: "button", onClick: () => this.handleInputFocusOnIconClick() }, h("ifx-icon", { key: '125529210997e8dd611e5bb394909a1cf08fc47b', icon: 'calendar16', "aria-hidden": "true" }))), ((_b = this.caption) === null || _b === void 0 ? void 0 : _b.trim()) && (h("div", { key: '1367a5dc715de1f7f0ea40a9995ce07a9030aae8', class: 'caption__wrapper' }, this.caption.trim()))));
85
85
  }
86
86
  static get formAssociated() { return true; }
87
87
  get el() { return getElement(this); }
@@ -8,7 +8,7 @@ const DropdownHeader = class {
8
8
  registerInstance(this, hostRef);
9
9
  }
10
10
  render() {
11
- return (h("div", { key: '07f0fafeb7a3cafd083ba17bc9293f813d4a11da', class: 'dropdown-header' }, h("span", { key: 'c7d2cb2d9694d8a3c9d868bb252aa4b22e7b6c4d' }, h("slot", { key: '5558455b497bbfb7f80f89da038a247fb105b07f' }))));
11
+ return (h("div", { key: 'b42dc08dabda81dd0e8e604d07c8409686a5f0fd', class: 'dropdown-header' }, h("span", { key: '9f699e2874688216d23da95c3b96d78caad78695' }, h("slot", { key: 'f8b69b6e6840fcc1c8f3b877a9361e192a1d76a0' }))));
12
12
  }
13
13
  };
14
14
  DropdownHeader.style = IfxDropdownHeaderStyle0;
@@ -20,7 +20,7 @@ const DropdownItem = class {
20
20
  }
21
21
  render() {
22
22
  let hrefAttr = this.href ? { href: this.href, target: this.target } : {};
23
- return (h("a", Object.assign({ key: '4ef5a3e4b163c7010a4a9b35224af903f166f170' }, hrefAttr, { onClick: () => this.handleEventEmission(), class: `dropdown-item ${this.size === 's' ? 'small' : ""} ${this.hide ? 'hide' : ""}` }), this.icon && h("ifx-icon", { key: '1426e1b684f50c722d3b1050133c62e595814253', class: "icon", icon: this.icon }), h("span", { key: '171b469a19c363806630e383d02c526a95d232f7' }, h("slot", { key: 'e8af940e507f5fcba88c3848c3aaa1ca656489ce' }))));
23
+ return (h("a", Object.assign({ key: 'd1c6f3cbd4554b1018770258e8f47419edc02352' }, hrefAttr, { onClick: () => this.handleEventEmission(), class: `dropdown-item ${this.size === 's' ? 'small' : ""} ${this.hide ? 'hide' : ""}` }), this.icon && h("ifx-icon", { key: 'b814d88ad14f00b04357b5549ae5a5b24adc1b6b', class: "icon", icon: this.icon }), h("span", { key: '49587568db0c0a4f76f9fad0873a6072a698c8ad' }, h("slot", { key: 'ccfdb428ffa6d9053c0ff9dc3b6b39469e09f208' }))));
24
24
  }
25
25
  get el() { return getElement(this); }
26
26
  };
@@ -49,10 +49,10 @@ const DropdownMenu = class {
49
49
  this.hideTopPadding = false;
50
50
  }
51
51
  render() {
52
- return (h("div", { key: '88e2e752666a0f48c4abe3e739c15fd645406e6d', class: `dropdown-menu
52
+ return (h("div", { key: '6a0875682a7dbdf9734794347bd64148b4f2c8b5', class: `dropdown-menu
53
53
  ${this.isOpen ? 'show' : ''}
54
54
  ${this.hideTopPadding ? 'hideTopPadding' : ""}
55
- ${this.size === 's' ? 'small' : ""}` }, h("slot", { key: '5b6f83bb991e5d6a52e8a0f8dd6fd341c01e866b' })));
55
+ ${this.size === 's' ? 'small' : ""}` }, h("slot", { key: '0a89ee2b042f28395f977172d003575b1d080611' })));
56
56
  }
57
57
  get el() { return getElement(this); }
58
58
  };
@@ -8,7 +8,7 @@ const DropdownSeparator = class {
8
8
  registerInstance(this, hostRef);
9
9
  }
10
10
  render() {
11
- return (h("div", { key: '5d982d5c92e0d2d3064ebca6403eee845790d61e', class: 'dropdown-separator' }));
11
+ return (h("div", { key: '2c7435f309112c640c3ff68a244d3c663ceb5b7a', class: 'dropdown-separator' }));
12
12
  }
13
13
  };
14
14
  DropdownSeparator.style = IfxDropdownSeparatorStyle0;
@@ -12,8 +12,8 @@ const DropdownItem = class {
12
12
  this.hideArrow = false;
13
13
  }
14
14
  render() {
15
- return (h("ifx-button", { key: '3f5c9da4adce25304ff23702add3d858f5518a7d', variant: this.variant, theme: this.theme, size: this.size, disabled: this.disabled, class: "dropdown-trigger-button" }, h("slot", { key: 'e998ffe1f1813e26545e670f74d839745129aea2' }), !this.hideArrow &&
16
- h("ifx-icon", { key: '93057033a2de1cdae71a20ef496963d5cace88cb', icon: "chevron-down-12", class: `icon${this.isOpen ? ' rotate' : ''}` })));
15
+ return (h("ifx-button", { key: '4dc468fdf8211511a97d58441059b0ca44bb880c', variant: this.variant, theme: this.theme, size: this.size, disabled: this.disabled, class: "dropdown-trigger-button" }, h("slot", { key: '5e77a7b367905623309508c784233784685caf94' }), !this.hideArrow &&
16
+ h("ifx-icon", { key: 'c60c753f1d57a4ab819a680c48fa1664704dc42b', icon: "chevron-down-12", class: `icon${this.isOpen ? ' rotate' : ''}` })));
17
17
  }
18
18
  };
19
19
  DropdownItem.style = IfxDropdownTriggerButtonStyle0;
@@ -9,7 +9,7 @@ const DropdownItem = class {
9
9
  this.isOpen = false;
10
10
  }
11
11
  render() {
12
- return (h("slot", { key: 'f0a65116af72f52d895802a989a5a44396f8aafb' }));
12
+ return (h("slot", { key: '3e51ceb827b5c52cb850e6433d3235e9400fe5c0' }));
13
13
  }
14
14
  };
15
15
  DropdownItem.style = IfxDropdownTriggerStyle0;
@@ -135,7 +135,7 @@ const Dropdown = class {
135
135
  }
136
136
  }
137
137
  render() {
138
- return (h("div", { key: 'dde0f96abe23abe5c133f4b7aa8d16082e412eb5', "aria-label": 'dropdown menu', class: 'dropdown' }, h("slot", { key: 'f930fdf305e1092e6aa9a2ab8cc0e7a8fe74b926' })));
138
+ return (h("div", { key: '219177f6d008120f92de56d6e3a0b135b1150fa3', "aria-label": 'dropdown menu', class: 'dropdown' }, h("slot", { key: 'c914c9bbf3476b569d90db5418c35cb0e5645a4e' })));
139
139
  }
140
140
  get el() { return getElement(this); }
141
141
  static get watchers() { return {
@@ -8,7 +8,7 @@ const Faq = class {
8
8
  registerInstance(this, hostRef);
9
9
  }
10
10
  render() {
11
- return (h("div", { key: '5e3eb715d12496d0288610c8c22d460a6865dca0', class: 'container' }, h("ifx-accordion", { key: '55c2ea07edb5e85598a00cac7f4fdc2c25ef592b' }, h("ifx-accordion-item", { key: '587331cfee2c73d088590212ac0f076a26ecd16a', caption: "What is the Infineon DDS?" }, "The Infineon Digital Design System consists of code components, design principles, tools and guidelines as well as a dedicated interdisciplinary team. Its purpose is to support internal and external colleagues create digital user interfaces with a high level of usability as well as a consistent expression of the Infineon brand. The DDS does not focus on the content of a web application but it describes how the design of the application\u2019s structure should be."), h("ifx-accordion-item", { key: '15c8b37bc083d8cc43d92da87b641c3d7c2b61d5', caption: "How do I get access to the DDS?" }, "You can use the provided Figma file as a foundation for mockups and prototypes, use Storybook to view what UI components and variants are available and use code components provided via Storybook or Github."), h("ifx-accordion-item", { key: 'cec5345d56df3449f1ae80fd739abda63f2a2402', caption: "Can I integrate the Infineon DDS into my project?" }, "Yes, you can. We are happy to discuss with you which point in time and which scope of integration is bestsuited for updating your interface to the Infineon DDS. (To avoid that users get confused by a mixture of UI components, we recommend choosing larger updates or technology changes as opportunity to integrate the Infineon DDS.)"), h("ifx-accordion-item", { key: '4fe1e9b0308ee6b5e626e5d8daa24c4ef39b45bc', caption: "Are Infineon DDS components accessable?" }, "We have taken WCAG 2.0 Level AA as baseline level for all design decisions inside the Infineon Digital Design System. To make an online experience truly accessible you have to implement the specific code, content, and visual design according to the accessibility standard. Find an introduction to this topic here."), h("ifx-accordion-item", { key: '0b7393eb8404fa4a306efaa6d5c45755102e0774', caption: "How to request a new component?" }, "Please contact us like described in the contribution section! We are planning to expand the number of components continually. If your component is also usable for multiple other projects, there is a good chance we might work together with you."))));
11
+ return (h("div", { key: 'acaf20b84efcde976ffc00a357f4d8c959dbb340', class: 'container' }, h("ifx-accordion", { key: '4db43607c7d6dee1be9e5f0ee6b0990001a28a82' }, h("ifx-accordion-item", { key: 'd2130688217d7c5834889dc8c1fc58f13646a93f', caption: "What is the Infineon DDS?" }, "The Infineon Digital Design System consists of code components, design principles, tools and guidelines as well as a dedicated interdisciplinary team. Its purpose is to support internal and external colleagues create digital user interfaces with a high level of usability as well as a consistent expression of the Infineon brand. The DDS does not focus on the content of a web application but it describes how the design of the application\u2019s structure should be."), h("ifx-accordion-item", { key: 'af27a0f821df405ca31c5e86367f22b763401fc8', caption: "How do I get access to the DDS?" }, "You can use the provided Figma file as a foundation for mockups and prototypes, use Storybook to view what UI components and variants are available and use code components provided via Storybook or Github."), h("ifx-accordion-item", { key: '57ca0aad426d840018e0088e49e5193540a80208', caption: "Can I integrate the Infineon DDS into my project?" }, "Yes, you can. We are happy to discuss with you which point in time and which scope of integration is bestsuited for updating your interface to the Infineon DDS. (To avoid that users get confused by a mixture of UI components, we recommend choosing larger updates or technology changes as opportunity to integrate the Infineon DDS.)"), h("ifx-accordion-item", { key: 'cdbf0709aa82f614518c0b645712c42f665c0dc4', caption: "Are Infineon DDS components accessable?" }, "We have taken WCAG 2.0 Level AA as baseline level for all design decisions inside the Infineon Digital Design System. To make an online experience truly accessible you have to implement the specific code, content, and visual design according to the accessibility standard. Find an introduction to this topic here."), h("ifx-accordion-item", { key: '49d1949339d51007bf24358decfc08eb8f24e80f', caption: "How to request a new component?" }, "Please contact us like described in the contribution section! We are planning to expand the number of components continually. If your component is also usable for multiple other projects, there is a good chance we might work together with you."))));
12
12
  }
13
13
  };
14
14
  Faq.style = IfxFaqStyle0;
@@ -49,8 +49,8 @@ const FilterAccordion = class {
49
49
  this.el.removeEventListener('ifxListUpdate', this.handleCheckedChange);
50
50
  }
51
51
  render() {
52
- return (h("div", { key: 'b5be6a4c8e2b8406e20b4139461d75d1acc5e88c', class: `accordion ${this.expanded ? 'expanded' : ''}` }, h("div", { key: '88ce1afb0ab07d2b3b1351d698632d24521f6870', class: `header ${this.expanded ? 'expanded' : ''}`, onClick: this.toggleAccordion }, h("div", { key: '2c850d5b01d985473ba69ca347fbfcfa076670b5', class: `text-and-icon ${this.expanded ? 'expanded' : ''}` }, h("div", { key: 'b50240640314ca9d971f1db017d8f2bf4fae5cc1', class: "text" }, h("span", { key: '12a6ef3c45f33540669af8dc60f2d8c104e07953' }, this.filterGroupName), h("ifx-number-indicator", { key: '049ecf530b429920f6f977e240de3913fbd0c013' }, this.count)), h("ifx-icon", { key: 'fee323359acf051fb4bd0040c0eb1bea7a9696fe', class: this.expanded ? '' : 'hidden', icon: "minus-16", onClick: this.toggleAccordion }), h("ifx-icon", { key: 'f7b60e6232b404bc5f4345dd9db80e513c4a6dcd', class: this.expanded ? 'hidden' : '', icon: "plus-16", onClick: this.toggleAccordion }))), this.expanded &&
53
- h("div", { key: 'f802a7ec2ff47ecf22b3f69ec5b4adbcdb599522', class: "filter-accordion-container" }, h("slot", { key: '5877962924effa0e52163d9ec5a2d436ac8a3ac7', name: "list" }))));
52
+ return (h("div", { key: 'a516541ef3dc49acfe900213815c8d17c5ff0f7b', class: `accordion ${this.expanded ? 'expanded' : ''}` }, h("div", { key: '2502af32b8322a440282f18a95508777bd70602b', class: `header ${this.expanded ? 'expanded' : ''}`, onClick: this.toggleAccordion }, h("div", { key: '661853e99db03cace8f273d8e447effd06f31baa', class: `text-and-icon ${this.expanded ? 'expanded' : ''}` }, h("div", { key: '9f2c658782ed1ca845f85a361ea5fced99bb41da', class: "text" }, h("span", { key: 'a2bc905dbcb739acab31b39c85360414a8dcaed8' }, this.filterGroupName), h("ifx-number-indicator", { key: 'c64226f2ff8d651f8febf99a99a65f3e8e1fae68' }, this.count)), h("ifx-icon", { key: 'c00346c7bf984b49d28af20363803ba7f081ac17', class: this.expanded ? '' : 'hidden', icon: "minus-16", onClick: this.toggleAccordion }), h("ifx-icon", { key: '480dbf4cb9844bfa8660844451ced3c1d798c39c', class: this.expanded ? 'hidden' : '', icon: "plus-16", onClick: this.toggleAccordion }))), this.expanded &&
53
+ h("div", { key: '48de4905ba421e86c4e13a72287edf0b1281a149', class: "filter-accordion-container" }, h("slot", { key: '15fc58422854c0e1403fd2d85be09008dc6be4a3', name: "list" }))));
54
54
  }
55
55
  get el() { return getElement(this); }
56
56
  };
@@ -93,7 +93,7 @@ const FilterBar = class {
93
93
  // Calculate slotsToShow safely
94
94
  const slotsToShow = Math.min(safeVisibleSlots, actualNumberOfComponents, Number.MAX_SAFE_INTEGER);
95
95
  const slots = Array.from({ length: slotsToShow }, (_, i) => (h("div", { class: "filter-slot-wrapper" }, h("slot", { name: `filter-component-${i + 1}` }))));
96
- return (h(Host, { key: 'd5aad85edc16369a3487a18f3e3f24a5b914e820' }, h("div", { key: '7f49a493bd5bafec1286794e89ae67adea9e1967', class: "search-container" }, h("slot", { key: '9d7ab3a3294ac64f7cc47ae33b1839871d06df94', name: "filter-search" }), " "), h("div", { key: '9bf93a1030392d67940228df88b11b52685b757f', class: "components-container" }, slots.length > 0 ? slots : h("slot", { name: "filter-component" }), this.showMoreFiltersButton && !this.showAllFilters && (h("div", { key: 'fc4c6c9e15cf96fc1c129638688fdf2a27f91dc7', class: "more-filters-wrapper", onClick: this.handleMoreFiltersClick }, h("ifx-button", { key: '8f26ef634ef3e27d893e1998167f07a4315cb59a', type: "button", disabled: false, variant: "tertiary", size: "m", target: "_blank", theme: "default", "full-width": "false" }, h("ifx-icon", { key: '23cece990fc63afda2e9864887865467bec55e6f', icon: "filter-16" }), "More filters"))))));
96
+ return (h(Host, { key: 'af9e6eb798cff6746bbeac12a81401113facdc22' }, h("div", { key: '369dda1556c97cce7d5be0a6c54a3541733a1d56', class: "search-container" }, h("slot", { key: 'f1f83778e1d12d00a2b7ab263f10659218e49909', name: "filter-search" }), " "), h("div", { key: 'a423b9b5242764fe878b7f050f348ceaaf1c403e', class: "components-container" }, slots.length > 0 ? slots : h("slot", { name: "filter-component" }), this.showMoreFiltersButton && !this.showAllFilters && (h("div", { key: 'b165c290a11781ac9d7fb0b602ff3c7af39d8d32', class: "more-filters-wrapper", onClick: this.handleMoreFiltersClick }, h("ifx-button", { key: 'c235cb9f2f29ad3a1e3398eb5b1147a5a51c24ed', type: "button", disabled: false, variant: "tertiary", size: "m", target: "_blank", theme: "default", "full-width": "false" }, h("ifx-icon", { key: 'e1789ccb9f87b6efac40e0ad76e32dde8e7644da', icon: "filter-16" }), "More filters"))))));
97
97
  }
98
98
  get el() { return getElement(this); }
99
99
  };
@@ -29,7 +29,7 @@ const FilterSearch = class {
29
29
  this.ifxFilterSearchChange.emit({ filterName: this.filterName, filterValue: this.filterValue, filterKey: this.filterKey }); // Emitting filterKey along with other properties
30
30
  }
31
31
  render() {
32
- return (h("div", { key: '7b5ee1b95e95e19d2fc959c2a9ed59fa1d90a4e6', class: `${this.filterOrientation === 'sidebar' ? 'sidebar-filter-search-wrapper' : 'topbar-filter-search-wrapper'}` }, h("div", { key: 'c7dfdabe9e9eb6dcea53361df02a2a5e4325f43f', class: "filter-name" }, this.filterName), h("ifx-search-field", { key: '5a396959e4ab983a06796203a3efbcc608f1a16c', placeholder: this.placeholder, "show-delete-icon": this.showDeleteIcon, disabled: this.disabled, value: this.filterValue })));
32
+ return (h("div", { key: '6a51c11ebb7ef44a420b4c9775877960530752f9', class: `${this.filterOrientation === 'sidebar' ? 'sidebar-filter-search-wrapper' : 'topbar-filter-search-wrapper'}` }, h("div", { key: 'ac67262dfe2ba3f4b51a892377013bea52ec66e8', class: "filter-name" }, this.filterName), h("ifx-search-field", { key: 'b43473fa4afbfc2fd62c27a4ef2f94d4fcd955ec', placeholder: this.placeholder, "show-delete-icon": this.showDeleteIcon, disabled: this.disabled, value: this.filterValue })));
33
33
  }
34
34
  get host() { return getElement(this); }
35
35
  static get watchers() { return {
@@ -125,7 +125,7 @@ const IfxFilterTypeGroup = class {
125
125
  window.removeEventListener('ifxResetFiltersEvent', this.handleResetEvent);
126
126
  }
127
127
  render() {
128
- return (h(Host, { key: 'd794c0d53d4cdf1d9e7a233dc36da89b7407bc57' }, h("div", { key: 'f59f81f2402e974ce04c937c620907fc553b3752', class: "filter-type-group" }, h("slot", { key: '35b06d9b7d04566fce7497c81a641a76bcf987e4', name: "filter-search" }), h("slot", { key: '86614c6a09e9d42392cef57017965abd337582e4', name: "filter-accordion" }))));
128
+ return (h(Host, { key: 'a8195eb2d535ce15c760e9391b797de4e8b5cec0' }, h("div", { key: '69ba55a9a775881f00064fadccabfd94979ef8e6', class: "filter-type-group" }, h("slot", { key: '18360386fa18b1b55f6a2c0ba19623029649189b', name: "filter-search" }), h("slot", { key: '34d295aa182142abc7215fd5def1f0b0a11477e4', name: "filter-accordion" }))));
129
129
  }
130
130
  get el() { return getElement(this); }
131
131
  };
@@ -8,7 +8,7 @@ const Card = class {
8
8
  registerInstance(this, hostRef);
9
9
  }
10
10
  render() {
11
- return (h("div", { key: '9d82512193da23161afa1faf971e29b825836813', class: "col" }, h("slot", { key: '028a84c0e7f2779eac65b6f7be483b2aaa142d7e', name: "title" }), h("span", { key: '75afac7548f54159666220c4ab82d489b3024073', "aria-label": 'navigation link' }, h("slot", { key: 'a22b018a2fe51430514b77460c066fb50ff4afd6', name: "link" }))));
11
+ return (h("div", { key: '4cad5415cae80dfff4e7d75e82163bd0ef71f648', class: "col" }, h("slot", { key: 'e884b90aadc3df6f4ec4ccff44a8e05589277b5c', name: "title" }), h("span", { key: 'e29933f15be919b14ea765ccbcf75bcd8c8f19e7', "aria-label": 'navigation link' }, h("slot", { key: '5ae8906786990bc1e0821982fa4f0d7bb9dadc9f', name: "link" }))));
12
12
  }
13
13
  get el() { return getElement(this); }
14
14
  };