@eui/ecl 21.0.0-next.2 → 21.0.0-next.21

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 (459) hide show
  1. package/assets/i18n-ecl/bg.json +1 -2
  2. package/assets/i18n-ecl/cs.json +1 -2
  3. package/assets/i18n-ecl/da.json +1 -2
  4. package/assets/i18n-ecl/de.json +1 -2
  5. package/assets/i18n-ecl/el.json +1 -2
  6. package/assets/i18n-ecl/en.json +1 -2
  7. package/assets/i18n-ecl/es.json +1 -2
  8. package/assets/i18n-ecl/et.json +1 -2
  9. package/assets/i18n-ecl/fi.json +1 -2
  10. package/assets/i18n-ecl/fr.json +1 -2
  11. package/assets/i18n-ecl/ga.json +1 -2
  12. package/assets/i18n-ecl/hr.json +1 -2
  13. package/assets/i18n-ecl/hu.json +1 -2
  14. package/assets/i18n-ecl/it.json +1 -2
  15. package/assets/i18n-ecl/lt.json +1 -2
  16. package/assets/i18n-ecl/lv.json +1 -2
  17. package/assets/i18n-ecl/mt.json +1 -2
  18. package/assets/i18n-ecl/nl.json +1 -2
  19. package/assets/i18n-ecl/pl.json +1 -2
  20. package/assets/i18n-ecl/pt.json +1 -2
  21. package/assets/i18n-ecl/ro.json +1 -2
  22. package/assets/i18n-ecl/sk.json +1 -2
  23. package/assets/i18n-ecl/sl.json +1 -2
  24. package/assets/i18n-ecl/sv.json +1 -2
  25. package/docs/changelog.html +542 -0
  26. package/docs/components/EclAccordionComponent.html +2 -2
  27. package/docs/components/EclAccordionItemComponent.html +2 -2
  28. package/docs/components/EclAppComponent.html +2 -2
  29. package/docs/components/EclBannerComponent.html +2 -2
  30. package/docs/components/EclBlockquoteComponent.html +2 -2
  31. package/docs/components/EclBreadcrumbComponent.html +5 -45
  32. package/docs/components/EclBreadcrumbSegmentComponent.html +4 -4
  33. package/docs/components/EclButtonComponent.html +2 -2
  34. package/docs/components/EclCardBodyComponent.html +2 -2
  35. package/docs/components/EclCardComponent.html +2 -2
  36. package/docs/components/EclCarouselComponent.html +2 -2
  37. package/docs/components/EclCarouselItemComponent.html +2 -2
  38. package/docs/components/EclCategoryFilterComponent.html +2 -2
  39. package/docs/components/EclCategoryFilterItemComponent.html +2 -2
  40. package/docs/components/EclCategoryFilterListComponent.html +2 -2
  41. package/docs/components/EclCheckboxHelpComponent.html +2 -2
  42. package/docs/components/EclCheckboxLabelComponent.html +2 -2
  43. package/docs/components/EclContentBlockComponent.html +2 -2
  44. package/docs/components/EclContentItemComponent.html +2 -2
  45. package/docs/components/EclDateBlockComponent.html +2 -2
  46. package/docs/components/EclDescriptionListDefinitionComponent.html +3 -3
  47. package/docs/components/EclExpandableComponent.html +2 -2
  48. package/docs/components/EclFactFiguresComponent.html +2 -2
  49. package/docs/components/EclFactFiguresItemComponent.html +2 -2
  50. package/docs/components/EclFactFiguresViewAllComponent.html +2 -2
  51. package/docs/components/EclFeaturedComponent.html +2 -2
  52. package/docs/components/EclFeaturedItemComponent.html +2 -2
  53. package/docs/components/EclFeaturedItemDescriptionComponent.html +2 -2
  54. package/docs/components/EclFileComponent.html +2 -2
  55. package/docs/components/EclFileItemComponent.html +2 -2
  56. package/docs/components/EclFileItemsComponent.html +2 -2
  57. package/docs/components/EclFileTaxonomyComponent.html +2 -2
  58. package/docs/components/EclFormGroupComponent.html +2 -2
  59. package/docs/components/EclFormLabelComponent.html +3 -3
  60. package/docs/components/EclGalleryComponent.html +2 -2
  61. package/docs/components/EclGalleryFooterComponent.html +3 -3
  62. package/docs/components/EclGalleryItemComponent.html +3 -70
  63. package/docs/components/EclIconComponent.html +2 -2
  64. package/docs/components/EclInpageNavigationComponent.html +4 -44
  65. package/docs/components/EclInpageNavigationItemComponent.html +3 -3
  66. package/docs/components/EclListIllustrationComponent.html +2 -2
  67. package/docs/components/EclListIllustrationItemComponent.html +2 -2
  68. package/docs/components/EclLoadingIndicatorComponent.html +2 -2
  69. package/docs/components/EclMediaContainerComponent.html +2 -2
  70. package/docs/components/EclMegaMenuComponent.html +2 -2
  71. package/docs/components/EclMegaMenuFeaturedComponent.html +2 -2
  72. package/docs/components/EclMegaMenuInfoComponent.html +2 -2
  73. package/docs/components/EclMegaMenuItemComponent.html +2 -2
  74. package/docs/components/EclMegaMenuSubitemComponent.html +2 -26
  75. package/docs/components/EclMenuComponent.html +2 -2
  76. package/docs/components/EclMenuItemComponent.html +2 -2
  77. package/docs/components/EclMenuMegaComponent.html +2 -2
  78. package/docs/components/EclMenuMegaItemComponent.html +2 -2
  79. package/docs/components/EclModalBodyComponent.html +3 -33
  80. package/docs/components/EclModalComponent.html +64 -36
  81. package/docs/components/EclModalFooterComponent.html +2 -2
  82. package/docs/components/EclModalHeaderComponent.html +3 -3
  83. package/docs/components/EclMultiselectComponent.html +2 -2
  84. package/docs/components/EclMultiselectDropdownComponent.html +2 -2
  85. package/docs/components/EclMultiselectInputComponent.html +2 -2
  86. package/docs/components/EclMultiselectOptgroupComponent.html +2 -2
  87. package/docs/components/EclMultiselectOptionComponent.html +3 -3
  88. package/docs/components/EclNavigationListComponent.html +2 -2
  89. package/docs/components/EclNavigationListItemComponent.html +2 -2
  90. package/docs/components/EclNewsTickerComponent.html +2 -2
  91. package/docs/components/EclNewsTickerItemComponent.html +2 -2
  92. package/docs/components/EclNotificationComponent.html +51 -3
  93. package/docs/components/EclPageHeaderComponent.html +3 -3
  94. package/docs/components/EclPageHeaderExpandableComponent.html +663 -0
  95. package/docs/components/EclPaginationComponent.html +2 -2
  96. package/docs/components/EclPaginationItemComponent.html +3 -3
  97. package/docs/components/EclPopoverComponent.html +8 -37
  98. package/docs/components/EclRadioHelpComponent.html +2 -2
  99. package/docs/components/EclRadioLabelComponent.html +2 -2
  100. package/docs/components/EclRangeBubbleComponent.html +2 -2
  101. package/docs/components/EclRangeValueComponent.html +2 -2
  102. package/docs/components/EclRatingFieldComponent.html +3 -3
  103. package/docs/components/EclSearchFormComponent.html +7 -7
  104. package/docs/components/EclSelectContainerComponent.html +2 -2
  105. package/docs/components/EclSiteFooterComponent.html +3 -3
  106. package/docs/components/{EclTabMoreComponent.html → EclSiteFooterCoownerComponent.html} +15 -49
  107. package/docs/components/EclSiteFooterCoreComponent.html +2 -2
  108. package/docs/components/EclSiteFooterFixedContentEUComponent.html +3 -3
  109. package/docs/components/EclSiteFooterRowCommonComponent.html +2 -2
  110. package/docs/components/EclSiteHeaderActionComponent.html +2 -2
  111. package/docs/components/EclSiteHeaderBannerTopComponent.html +2 -2
  112. package/docs/components/EclSiteHeaderComponent.html +2 -21
  113. package/docs/components/EclSiteHeaderCustomActionComponent.html +2 -2
  114. package/docs/components/EclSiteHeaderEnvironmentComponent.html +2 -2
  115. package/docs/components/EclSiteHeaderLanguageComponent.html +2 -2
  116. package/docs/components/EclSiteHeaderLanguagePopoverComponent.html +2 -2
  117. package/docs/components/EclSiteHeaderLoginComponent.html +2 -2
  118. package/docs/components/EclSiteHeaderNotificationComponent.html +2 -2
  119. package/docs/components/EclSiteHeaderSearchComponent.html +6 -6
  120. package/docs/components/EclSocialMediaFollowComponent.html +2 -2
  121. package/docs/components/EclSocialMediaFollowItemComponent.html +22 -3
  122. package/docs/components/EclSplashPageComponent.html +2 -2
  123. package/docs/components/EclSplashPageLanguageCategoryComponent.html +2 -2
  124. package/docs/components/EclSplashPageLanguageContainerComponent.html +2 -2
  125. package/docs/components/EclSplashPageLanguageLinkComponent.html +2 -2
  126. package/docs/components/EclSpotlightComponent.html +2 -2
  127. package/docs/components/EclSpotlightLinkComponent.html +2 -2
  128. package/docs/components/EclStickyContainerComponent.html +2 -2
  129. package/docs/components/EclTabComponent.html +3 -5
  130. package/docs/components/EclTabLabelComponent.html +2 -2
  131. package/docs/components/EclTableSortButtonComponent.html +2 -2
  132. package/docs/components/EclTabsComponent.html +3 -5
  133. package/docs/components/EclTagComponent.html +2 -2
  134. package/docs/components/EclTimelineComponent.html +2 -2
  135. package/docs/components/EclTimelineItemComponent.html +2 -2
  136. package/docs/components/EclTimelineItemTogglerComponent.html +2 -2
  137. package/docs/directives/EclBreadcrumbContainerDirective.html +0 -23
  138. package/docs/directives/EclFeedbackHiddenDirective.html +379 -0
  139. package/docs/{modules/EclFormLabelModule.html → directives/EclHelpHiddenDirective.html} +163 -57
  140. package/docs/directives/EclLinkDirective.html +172 -22
  141. package/docs/{modules/EclNotificationModule.html → directives/EclNotificationIconDirective.html} +163 -57
  142. package/docs/directives/EclNotificationLinkDirective.html +407 -0
  143. package/docs/directives/{EclSiteFooterLogoItemDirective.html → EclPageHeaderExpandableHeaderDirective.html} +55 -59
  144. package/docs/directives/{EclSiteFooterLogoDirective.html → EclSiteFooterCoownerItemDirective.html} +60 -34
  145. package/docs/directives/{EclSiteFooterLogoListDirective.html → EclSiteFooterCoownerListDirective.html} +41 -169
  146. package/docs/directives/EclSiteFooterListDirective.html +0 -19
  147. package/docs/directives/EclSiteFooterSectionDirective.html +0 -96
  148. package/docs/js/menu-wc.js +32 -2384
  149. package/docs/js/menu-wc_es5.js +1 -1
  150. package/docs/js/search/search_index.js +2 -2
  151. package/docs/miscellaneous/variables.html +208 -1467
  152. package/docs/modules.html +2 -722
  153. package/docs/overview.html +3 -3
  154. package/docs/properties.html +1 -1
  155. package/fesm2022/eui-ecl-components-ecl-accordion.mjs +8 -27
  156. package/fesm2022/eui-ecl-components-ecl-accordion.mjs.map +1 -1
  157. package/fesm2022/eui-ecl-components-ecl-app.mjs +5 -23
  158. package/fesm2022/eui-ecl-components-ecl-app.mjs.map +1 -1
  159. package/fesm2022/eui-ecl-components-ecl-banner.mjs +32 -81
  160. package/fesm2022/eui-ecl-components-ecl-banner.mjs.map +1 -1
  161. package/fesm2022/eui-ecl-components-ecl-blockquote.mjs +11 -30
  162. package/fesm2022/eui-ecl-components-ecl-blockquote.mjs.map +1 -1
  163. package/fesm2022/eui-ecl-components-ecl-breadcrumb.mjs +15 -42
  164. package/fesm2022/eui-ecl-components-ecl-breadcrumb.mjs.map +1 -1
  165. package/fesm2022/eui-ecl-components-ecl-button.mjs +14 -34
  166. package/fesm2022/eui-ecl-components-ecl-button.mjs.map +1 -1
  167. package/fesm2022/eui-ecl-components-ecl-card.mjs +14 -45
  168. package/fesm2022/eui-ecl-components-ecl-card.mjs.map +1 -1
  169. package/fesm2022/eui-ecl-components-ecl-carousel.mjs +8 -27
  170. package/fesm2022/eui-ecl-components-ecl-carousel.mjs.map +1 -1
  171. package/fesm2022/eui-ecl-components-ecl-category-filter.mjs +11 -30
  172. package/fesm2022/eui-ecl-components-ecl-category-filter.mjs.map +1 -1
  173. package/fesm2022/eui-ecl-components-ecl-checkbox.mjs +15 -34
  174. package/fesm2022/eui-ecl-components-ecl-checkbox.mjs.map +1 -1
  175. package/fesm2022/eui-ecl-components-ecl-content-block.mjs +56 -128
  176. package/fesm2022/eui-ecl-components-ecl-content-block.mjs.map +1 -1
  177. package/fesm2022/eui-ecl-components-ecl-content-item.mjs +11 -30
  178. package/fesm2022/eui-ecl-components-ecl-content-item.mjs.map +1 -1
  179. package/fesm2022/eui-ecl-components-ecl-date-block.mjs +5 -23
  180. package/fesm2022/eui-ecl-components-ecl-date-block.mjs.map +1 -1
  181. package/fesm2022/eui-ecl-components-ecl-date-picker.mjs +5 -23
  182. package/fesm2022/eui-ecl-components-ecl-date-picker.mjs.map +1 -1
  183. package/fesm2022/eui-ecl-components-ecl-divider.mjs +6 -24
  184. package/fesm2022/eui-ecl-components-ecl-divider.mjs.map +1 -1
  185. package/fesm2022/eui-ecl-components-ecl-expandable.mjs +5 -23
  186. package/fesm2022/eui-ecl-components-ecl-expandable.mjs.map +1 -1
  187. package/fesm2022/eui-ecl-components-ecl-fact-figures.mjs +14 -48
  188. package/fesm2022/eui-ecl-components-ecl-fact-figures.mjs.map +1 -1
  189. package/fesm2022/eui-ecl-components-ecl-featured.mjs +14 -47
  190. package/fesm2022/eui-ecl-components-ecl-featured.mjs.map +1 -1
  191. package/fesm2022/eui-ecl-components-ecl-feedback-message.mjs +5 -23
  192. package/fesm2022/eui-ecl-components-ecl-feedback-message.mjs.map +1 -1
  193. package/fesm2022/eui-ecl-components-ecl-file-upload.mjs +5 -23
  194. package/fesm2022/eui-ecl-components-ecl-file-upload.mjs.map +1 -1
  195. package/fesm2022/eui-ecl-components-ecl-file.mjs +32 -81
  196. package/fesm2022/eui-ecl-components-ecl-file.mjs.map +1 -1
  197. package/fesm2022/eui-ecl-components-ecl-form-group.mjs +5 -23
  198. package/fesm2022/eui-ecl-components-ecl-form-group.mjs.map +1 -1
  199. package/fesm2022/eui-ecl-components-ecl-form-label.mjs +51 -22
  200. package/fesm2022/eui-ecl-components-ecl-form-label.mjs.map +1 -1
  201. package/fesm2022/eui-ecl-components-ecl-gallery.mjs +22 -76
  202. package/fesm2022/eui-ecl-components-ecl-gallery.mjs.map +1 -1
  203. package/fesm2022/eui-ecl-components-ecl-help-block.mjs +5 -23
  204. package/fesm2022/eui-ecl-components-ecl-help-block.mjs.map +1 -1
  205. package/fesm2022/eui-ecl-components-ecl-icon.mjs +5 -23
  206. package/fesm2022/eui-ecl-components-ecl-icon.mjs.map +1 -1
  207. package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs +19 -45
  208. package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs.map +1 -1
  209. package/fesm2022/eui-ecl-components-ecl-label.mjs +5 -23
  210. package/fesm2022/eui-ecl-components-ecl-label.mjs.map +1 -1
  211. package/fesm2022/eui-ecl-components-ecl-link.mjs +57 -47
  212. package/fesm2022/eui-ecl-components-ecl-link.mjs.map +1 -1
  213. package/fesm2022/eui-ecl-components-ecl-list-illustration.mjs +18 -51
  214. package/fesm2022/eui-ecl-components-ecl-list-illustration.mjs.map +1 -1
  215. package/fesm2022/eui-ecl-components-ecl-list.mjs +30 -75
  216. package/fesm2022/eui-ecl-components-ecl-list.mjs.map +1 -1
  217. package/fesm2022/eui-ecl-components-ecl-loading-indicator.mjs +11 -30
  218. package/fesm2022/eui-ecl-components-ecl-loading-indicator.mjs.map +1 -1
  219. package/fesm2022/eui-ecl-components-ecl-media-container.mjs +17 -50
  220. package/fesm2022/eui-ecl-components-ecl-media-container.mjs.map +1 -1
  221. package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs +50 -112
  222. package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs.map +1 -1
  223. package/fesm2022/eui-ecl-components-ecl-menu.mjs +14 -33
  224. package/fesm2022/eui-ecl-components-ecl-menu.mjs.map +1 -1
  225. package/fesm2022/eui-ecl-components-ecl-modal.mjs +54 -105
  226. package/fesm2022/eui-ecl-components-ecl-modal.mjs.map +1 -1
  227. package/fesm2022/eui-ecl-components-ecl-multiselect.mjs +25 -66
  228. package/fesm2022/eui-ecl-components-ecl-multiselect.mjs.map +1 -1
  229. package/fesm2022/eui-ecl-components-ecl-navigation-list.mjs +14 -44
  230. package/fesm2022/eui-ecl-components-ecl-navigation-list.mjs.map +1 -1
  231. package/fesm2022/eui-ecl-components-ecl-news-ticker.mjs +11 -39
  232. package/fesm2022/eui-ecl-components-ecl-news-ticker.mjs.map +1 -1
  233. package/fesm2022/eui-ecl-components-ecl-notification.mjs +86 -50
  234. package/fesm2022/eui-ecl-components-ecl-notification.mjs.map +1 -1
  235. package/fesm2022/eui-ecl-components-ecl-page-header.mjs +100 -87
  236. package/fesm2022/eui-ecl-components-ecl-page-header.mjs.map +1 -1
  237. package/fesm2022/eui-ecl-components-ecl-pagination.mjs +12 -32
  238. package/fesm2022/eui-ecl-components-ecl-pagination.mjs.map +1 -1
  239. package/fesm2022/eui-ecl-components-ecl-popover.mjs +16 -44
  240. package/fesm2022/eui-ecl-components-ecl-popover.mjs.map +1 -1
  241. package/fesm2022/eui-ecl-components-ecl-radio.mjs +14 -32
  242. package/fesm2022/eui-ecl-components-ecl-radio.mjs.map +1 -1
  243. package/fesm2022/eui-ecl-components-ecl-range.mjs +11 -30
  244. package/fesm2022/eui-ecl-components-ecl-range.mjs.map +1 -1
  245. package/fesm2022/eui-ecl-components-ecl-rating-field.mjs +6 -24
  246. package/fesm2022/eui-ecl-components-ecl-rating-field.mjs.map +1 -1
  247. package/fesm2022/eui-ecl-components-ecl-search-form.mjs +12 -32
  248. package/fesm2022/eui-ecl-components-ecl-search-form.mjs.map +1 -1
  249. package/fesm2022/eui-ecl-components-ecl-select.mjs +8 -33
  250. package/fesm2022/eui-ecl-components-ecl-select.mjs.map +1 -1
  251. package/fesm2022/eui-ecl-components-ecl-site-footer.mjs +138 -255
  252. package/fesm2022/eui-ecl-components-ecl-site-footer.mjs.map +1 -1
  253. package/fesm2022/eui-ecl-components-ecl-site-header.mjs +67 -151
  254. package/fesm2022/eui-ecl-components-ecl-site-header.mjs.map +1 -1
  255. package/fesm2022/eui-ecl-components-ecl-social-media-follow.mjs +14 -32
  256. package/fesm2022/eui-ecl-components-ecl-social-media-follow.mjs.map +1 -1
  257. package/fesm2022/eui-ecl-components-ecl-splash-page.mjs +29 -74
  258. package/fesm2022/eui-ecl-components-ecl-splash-page.mjs.map +1 -1
  259. package/fesm2022/eui-ecl-components-ecl-spotlight.mjs +12 -12
  260. package/fesm2022/eui-ecl-components-ecl-spotlight.mjs.map +1 -1
  261. package/fesm2022/eui-ecl-components-ecl-sticky-container.mjs +5 -23
  262. package/fesm2022/eui-ecl-components-ecl-sticky-container.mjs.map +1 -1
  263. package/fesm2022/eui-ecl-components-ecl-table.mjs +32 -80
  264. package/fesm2022/eui-ecl-components-ecl-table.mjs.map +1 -1
  265. package/fesm2022/eui-ecl-components-ecl-tabs.mjs +14 -77
  266. package/fesm2022/eui-ecl-components-ecl-tabs.mjs.map +1 -1
  267. package/fesm2022/eui-ecl-components-ecl-tag.mjs +14 -33
  268. package/fesm2022/eui-ecl-components-ecl-tag.mjs.map +1 -1
  269. package/fesm2022/eui-ecl-components-ecl-text-area.mjs +5 -24
  270. package/fesm2022/eui-ecl-components-ecl-text-area.mjs.map +1 -1
  271. package/fesm2022/eui-ecl-components-ecl-text-input.mjs +5 -24
  272. package/fesm2022/eui-ecl-components-ecl-text-input.mjs.map +1 -1
  273. package/fesm2022/eui-ecl-components-ecl-timeline.mjs +20 -62
  274. package/fesm2022/eui-ecl-components-ecl-timeline.mjs.map +1 -1
  275. package/fesm2022/eui-ecl-core.mjs +25 -25
  276. package/fesm2022/eui-ecl-core.mjs.map +1 -1
  277. package/fesm2022/eui-ecl-shared.mjs +3 -3
  278. package/fesm2022/eui-ecl-shared.mjs.map +1 -1
  279. package/fesm2022/eui-ecl.mjs +1 -203
  280. package/fesm2022/eui-ecl.mjs.map +1 -1
  281. package/package.json +17 -17
  282. package/types/eui-ecl-components-ecl-accordion.d.ts +1 -13
  283. package/types/eui-ecl-components-ecl-accordion.d.ts.map +1 -1
  284. package/types/eui-ecl-components-ecl-app.d.ts +2 -13
  285. package/types/eui-ecl-components-ecl-app.d.ts.map +1 -1
  286. package/types/eui-ecl-components-ecl-banner.d.ts +1 -13
  287. package/types/eui-ecl-components-ecl-banner.d.ts.map +1 -1
  288. package/types/eui-ecl-components-ecl-blockquote.d.ts +1 -13
  289. package/types/eui-ecl-components-ecl-blockquote.d.ts.map +1 -1
  290. package/types/eui-ecl-components-ecl-breadcrumb.d.ts +11 -27
  291. package/types/eui-ecl-components-ecl-breadcrumb.d.ts.map +1 -1
  292. package/types/eui-ecl-components-ecl-button.d.ts +1 -13
  293. package/types/eui-ecl-components-ecl-button.d.ts.map +1 -1
  294. package/types/eui-ecl-components-ecl-card.d.ts +1 -13
  295. package/types/eui-ecl-components-ecl-card.d.ts.map +1 -1
  296. package/types/eui-ecl-components-ecl-carousel.d.ts +1 -13
  297. package/types/eui-ecl-components-ecl-carousel.d.ts.map +1 -1
  298. package/types/eui-ecl-components-ecl-category-filter.d.ts +1 -13
  299. package/types/eui-ecl-components-ecl-category-filter.d.ts.map +1 -1
  300. package/types/eui-ecl-components-ecl-checkbox.d.ts +1 -12
  301. package/types/eui-ecl-components-ecl-checkbox.d.ts.map +1 -1
  302. package/types/eui-ecl-components-ecl-content-block.d.ts +1 -12
  303. package/types/eui-ecl-components-ecl-content-block.d.ts.map +1 -1
  304. package/types/eui-ecl-components-ecl-content-item.d.ts +1 -12
  305. package/types/eui-ecl-components-ecl-content-item.d.ts.map +1 -1
  306. package/types/eui-ecl-components-ecl-date-block.d.ts +1 -12
  307. package/types/eui-ecl-components-ecl-date-block.d.ts.map +1 -1
  308. package/types/eui-ecl-components-ecl-date-picker.d.ts +2 -13
  309. package/types/eui-ecl-components-ecl-date-picker.d.ts.map +1 -1
  310. package/types/eui-ecl-components-ecl-divider.d.ts +1 -12
  311. package/types/eui-ecl-components-ecl-divider.d.ts.map +1 -1
  312. package/types/eui-ecl-components-ecl-expandable.d.ts +2 -13
  313. package/types/eui-ecl-components-ecl-expandable.d.ts.map +1 -1
  314. package/types/eui-ecl-components-ecl-fact-figures.d.ts +1 -12
  315. package/types/eui-ecl-components-ecl-fact-figures.d.ts.map +1 -1
  316. package/types/eui-ecl-components-ecl-featured.d.ts +1 -13
  317. package/types/eui-ecl-components-ecl-featured.d.ts.map +1 -1
  318. package/types/eui-ecl-components-ecl-feedback-message.d.ts +1 -12
  319. package/types/eui-ecl-components-ecl-feedback-message.d.ts.map +1 -1
  320. package/types/eui-ecl-components-ecl-file-upload.d.ts +1 -12
  321. package/types/eui-ecl-components-ecl-file-upload.d.ts.map +1 -1
  322. package/types/eui-ecl-components-ecl-file.d.ts +1 -12
  323. package/types/eui-ecl-components-ecl-file.d.ts.map +1 -1
  324. package/types/eui-ecl-components-ecl-form-group.d.ts +1 -12
  325. package/types/eui-ecl-components-ecl-form-group.d.ts.map +1 -1
  326. package/types/eui-ecl-components-ecl-form-label.d.ts +24 -10
  327. package/types/eui-ecl-components-ecl-form-label.d.ts.map +1 -1
  328. package/types/eui-ecl-components-ecl-gallery.d.ts +3 -20
  329. package/types/eui-ecl-components-ecl-gallery.d.ts.map +1 -1
  330. package/types/eui-ecl-components-ecl-help-block.d.ts +1 -12
  331. package/types/eui-ecl-components-ecl-help-block.d.ts.map +1 -1
  332. package/types/eui-ecl-components-ecl-icon.d.ts +1 -12
  333. package/types/eui-ecl-components-ecl-icon.d.ts.map +1 -1
  334. package/types/eui-ecl-components-ecl-inpage-navigation.d.ts +2 -17
  335. package/types/eui-ecl-components-ecl-inpage-navigation.d.ts.map +1 -1
  336. package/types/eui-ecl-components-ecl-label.d.ts +1 -12
  337. package/types/eui-ecl-components-ecl-label.d.ts.map +1 -1
  338. package/types/eui-ecl-components-ecl-link.d.ts +25 -21
  339. package/types/eui-ecl-components-ecl-link.d.ts.map +1 -1
  340. package/types/eui-ecl-components-ecl-list-illustration.d.ts +1 -12
  341. package/types/eui-ecl-components-ecl-list-illustration.d.ts.map +1 -1
  342. package/types/eui-ecl-components-ecl-list.d.ts +1 -12
  343. package/types/eui-ecl-components-ecl-list.d.ts.map +1 -1
  344. package/types/eui-ecl-components-ecl-loading-indicator.d.ts +1 -13
  345. package/types/eui-ecl-components-ecl-loading-indicator.d.ts.map +1 -1
  346. package/types/eui-ecl-components-ecl-media-container.d.ts +1 -12
  347. package/types/eui-ecl-components-ecl-media-container.d.ts.map +1 -1
  348. package/types/eui-ecl-components-ecl-mega-menu.d.ts +1 -13
  349. package/types/eui-ecl-components-ecl-mega-menu.d.ts.map +1 -1
  350. package/types/eui-ecl-components-ecl-menu.d.ts +1 -12
  351. package/types/eui-ecl-components-ecl-menu.d.ts.map +1 -1
  352. package/types/eui-ecl-components-ecl-modal.d.ts +22 -38
  353. package/types/eui-ecl-components-ecl-modal.d.ts.map +1 -1
  354. package/types/eui-ecl-components-ecl-multiselect.d.ts +1 -12
  355. package/types/eui-ecl-components-ecl-multiselect.d.ts.map +1 -1
  356. package/types/eui-ecl-components-ecl-navigation-list.d.ts +1 -12
  357. package/types/eui-ecl-components-ecl-navigation-list.d.ts.map +1 -1
  358. package/types/eui-ecl-components-ecl-news-ticker.d.ts +1 -13
  359. package/types/eui-ecl-components-ecl-news-ticker.d.ts.map +1 -1
  360. package/types/eui-ecl-components-ecl-notification.d.ts +45 -29
  361. package/types/eui-ecl-components-ecl-notification.d.ts.map +1 -1
  362. package/types/eui-ecl-components-ecl-page-header.d.ts +30 -14
  363. package/types/eui-ecl-components-ecl-page-header.d.ts.map +1 -1
  364. package/types/eui-ecl-components-ecl-pagination.d.ts +3 -14
  365. package/types/eui-ecl-components-ecl-pagination.d.ts.map +1 -1
  366. package/types/eui-ecl-components-ecl-popover.d.ts +5 -17
  367. package/types/eui-ecl-components-ecl-popover.d.ts.map +1 -1
  368. package/types/eui-ecl-components-ecl-radio.d.ts +1 -12
  369. package/types/eui-ecl-components-ecl-radio.d.ts.map +1 -1
  370. package/types/eui-ecl-components-ecl-range.d.ts +1 -12
  371. package/types/eui-ecl-components-ecl-range.d.ts.map +1 -1
  372. package/types/eui-ecl-components-ecl-rating-field.d.ts +2 -13
  373. package/types/eui-ecl-components-ecl-rating-field.d.ts.map +1 -1
  374. package/types/eui-ecl-components-ecl-search-form.d.ts +4 -15
  375. package/types/eui-ecl-components-ecl-search-form.d.ts.map +1 -1
  376. package/types/eui-ecl-components-ecl-select.d.ts +1 -13
  377. package/types/eui-ecl-components-ecl-select.d.ts.map +1 -1
  378. package/types/eui-ecl-components-ecl-site-footer.d.ts +41 -63
  379. package/types/eui-ecl-components-ecl-site-footer.d.ts.map +1 -1
  380. package/types/eui-ecl-components-ecl-site-header.d.ts +4 -19
  381. package/types/eui-ecl-components-ecl-site-header.d.ts.map +1 -1
  382. package/types/eui-ecl-components-ecl-social-media-follow.d.ts +6 -13
  383. package/types/eui-ecl-components-ecl-social-media-follow.d.ts.map +1 -1
  384. package/types/eui-ecl-components-ecl-splash-page.d.ts +1 -12
  385. package/types/eui-ecl-components-ecl-splash-page.d.ts.map +1 -1
  386. package/types/eui-ecl-components-ecl-sticky-container.d.ts +1 -12
  387. package/types/eui-ecl-components-ecl-sticky-container.d.ts.map +1 -1
  388. package/types/eui-ecl-components-ecl-table.d.ts +1 -12
  389. package/types/eui-ecl-components-ecl-table.d.ts.map +1 -1
  390. package/types/eui-ecl-components-ecl-tabs.d.ts +4 -42
  391. package/types/eui-ecl-components-ecl-tabs.d.ts.map +1 -1
  392. package/types/eui-ecl-components-ecl-tag.d.ts +1 -12
  393. package/types/eui-ecl-components-ecl-tag.d.ts.map +1 -1
  394. package/types/eui-ecl-components-ecl-text-area.d.ts +1 -13
  395. package/types/eui-ecl-components-ecl-text-area.d.ts.map +1 -1
  396. package/types/eui-ecl-components-ecl-text-input.d.ts +1 -13
  397. package/types/eui-ecl-components-ecl-text-input.d.ts.map +1 -1
  398. package/types/eui-ecl-components-ecl-timeline.d.ts +1 -12
  399. package/types/eui-ecl-components-ecl-timeline.d.ts.map +1 -1
  400. package/types/eui-ecl.d.ts +1 -69
  401. package/types/eui-ecl.d.ts.map +1 -1
  402. package/docs/modules/EclAccordionModule.html +0 -273
  403. package/docs/modules/EclAllModule.html +0 -261
  404. package/docs/modules/EclAppModule.html +0 -267
  405. package/docs/modules/EclBannerModule.html +0 -321
  406. package/docs/modules/EclBlockquoteModule.html +0 -279
  407. package/docs/modules/EclBreadcrumbModule.html +0 -321
  408. package/docs/modules/EclButtonModule.html +0 -285
  409. package/docs/modules/EclCardModule.html +0 -321
  410. package/docs/modules/EclCarouselModule.html +0 -273
  411. package/docs/modules/EclCategoryFilterModule.html +0 -279
  412. package/docs/modules/EclCheckboxModule.html +0 -321
  413. package/docs/modules/EclContentBlockModule.html +0 -321
  414. package/docs/modules/EclContentItemModule.html +0 -321
  415. package/docs/modules/EclDateBlockModule.html +0 -267
  416. package/docs/modules/EclDatePickerModule.html +0 -267
  417. package/docs/modules/EclDividerModule.html +0 -267
  418. package/docs/modules/EclExpandableModule.html +0 -267
  419. package/docs/modules/EclFactFiguresModule.html +0 -285
  420. package/docs/modules/EclFeaturedModule.html +0 -321
  421. package/docs/modules/EclFeedbackMessageModule.html +0 -267
  422. package/docs/modules/EclFileModule.html +0 -321
  423. package/docs/modules/EclFileUploadModule.html +0 -267
  424. package/docs/modules/EclFormGroupModule.html +0 -267
  425. package/docs/modules/EclGalleryModule.html +0 -321
  426. package/docs/modules/EclHelpBlockModule.html +0 -267
  427. package/docs/modules/EclIconModule.html +0 -267
  428. package/docs/modules/EclInpageNavigationModule.html +0 -321
  429. package/docs/modules/EclLabelModule.html +0 -267
  430. package/docs/modules/EclLinkModule.html +0 -285
  431. package/docs/modules/EclListIllustrationModule.html +0 -321
  432. package/docs/modules/EclListModule.html +0 -321
  433. package/docs/modules/EclLoadingIndicatorModule.html +0 -279
  434. package/docs/modules/EclMediaContainerModule.html +0 -321
  435. package/docs/modules/EclMegaMenuModule.html +0 -321
  436. package/docs/modules/EclMenuModule.html +0 -321
  437. package/docs/modules/EclModalModule.html +0 -321
  438. package/docs/modules/EclMultiselectModule.html +0 -321
  439. package/docs/modules/EclNavigationListModule.html +0 -321
  440. package/docs/modules/EclNewsTickerModule.html +0 -321
  441. package/docs/modules/EclPageHeaderModule.html +0 -321
  442. package/docs/modules/EclPaginationModule.html +0 -321
  443. package/docs/modules/EclPopoverModule.html +0 -321
  444. package/docs/modules/EclRadioModule.html +0 -285
  445. package/docs/modules/EclRangeModule.html +0 -321
  446. package/docs/modules/EclRatingFieldModule.html +0 -267
  447. package/docs/modules/EclSearchFormModule.html +0 -267
  448. package/docs/modules/EclSelectModule.html +0 -321
  449. package/docs/modules/EclSiteFooterModule.html +0 -321
  450. package/docs/modules/EclSiteHeaderModule.html +0 -321
  451. package/docs/modules/EclSocialMediaFollowModule.html +0 -321
  452. package/docs/modules/EclSplashPageModule.html +0 -321
  453. package/docs/modules/EclStickyContainerModule.html +0 -267
  454. package/docs/modules/EclTableModule.html +0 -321
  455. package/docs/modules/EclTabsModule.html +0 -321
  456. package/docs/modules/EclTagModule.html +0 -321
  457. package/docs/modules/EclTextAreaModule.html +0 -267
  458. package/docs/modules/EclTextInputModule.html +0 -267
  459. package/docs/modules/EclTimelineModule.html +0 -297
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { HostBinding, Directive, inject, ElementRef, booleanAttribute, forwardRef, ContentChildren, Input, NgModule } from '@angular/core';
2
+ import { HostBinding, Directive, inject, ElementRef, contentChildren, Renderer2, ChangeDetectorRef, booleanAttribute, Input } from '@angular/core';
3
3
  import { ECLBaseDirective } from '@eui/ecl/core';
4
4
  import { EclIconComponent } from '@eui/ecl/components/ecl-icon';
5
5
 
@@ -7,10 +7,10 @@ class EclLinkLabelDirective extends ECLBaseDirective {
7
7
  get cssClasses() {
8
8
  return [super.getCssClasses('ecl-link__label')].join(' ').trim();
9
9
  }
10
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclLinkLabelDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
11
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.0-rc.2", type: EclLinkLabelDirective, isStandalone: true, selector: "[eclLinkLabel]", host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0 }); }
10
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclLinkLabelDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
11
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.0", type: EclLinkLabelDirective, isStandalone: true, selector: "[eclLinkLabel]", host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0 }); }
12
12
  }
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclLinkLabelDirective, decorators: [{
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclLinkLabelDirective, decorators: [{
14
14
  type: Directive,
15
15
  args: [{
16
16
  selector: '[eclLinkLabel]',
@@ -23,10 +23,10 @@ class EclLinkIndicatorDirective {
23
23
  constructor() {
24
24
  this.hasClass = true;
25
25
  }
26
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclLinkIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
27
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.0-rc.2", type: EclLinkIndicatorDirective, isStandalone: true, selector: "[eclIndicator]", host: { properties: { "class.ecl-indicator": "this.hasClass" } }, ngImport: i0 }); }
26
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclLinkIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
27
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.0", type: EclLinkIndicatorDirective, isStandalone: true, selector: "[eclIndicator]", host: { properties: { "class.ecl-indicator": "this.hasClass" } }, ngImport: i0 }); }
28
28
  }
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclLinkIndicatorDirective, decorators: [{
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclLinkIndicatorDirective, decorators: [{
30
30
  type: Directive,
31
31
  args: [{
32
32
  selector: '[eclIndicator]',
@@ -39,10 +39,10 @@ class EclLinkIconContainerDirective {
39
39
  constructor() {
40
40
  this.hasClass = true;
41
41
  }
42
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclLinkIconContainerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
43
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.0-rc.2", type: EclLinkIconContainerDirective, isStandalone: true, selector: "[eclLinkIconContainer]", host: { properties: { "class.ecl-link__icon-container": "this.hasClass" } }, ngImport: i0 }); }
42
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclLinkIconContainerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
43
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.0", type: EclLinkIconContainerDirective, isStandalone: true, selector: "[eclLinkIconContainer]", host: { properties: { "class.ecl-link__icon-container": "this.hasClass" } }, ngImport: i0 }); }
44
44
  }
45
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclLinkIconContainerDirective, decorators: [{
45
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclLinkIconContainerDirective, decorators: [{
46
46
  type: Directive,
47
47
  args: [{
48
48
  selector: '[eclLinkIconContainer]',
@@ -60,36 +60,62 @@ class EclLinkDirective extends ECLBaseDirective {
60
60
  super(...arguments);
61
61
  this.el = inject(ElementRef);
62
62
  /**
63
- * Property to style the component as 'inverted' (with dark background).
63
+ * Property to style the component as 'inverted' (with dark background). Can be used alone or with 'standalone' variant.
64
64
  */
65
65
  this.isInverted = false;
66
66
  /**
67
67
  * Property to style the component if it consist only of an icon.
68
68
  */
69
69
  this.isIconOnly = false;
70
+ /** Adds class for hightlighted link (works only with 'primary' variant) */
71
+ this.isHighlight = false;
72
+ this.eclIconComponents = contentChildren(EclIconComponent, ...(ngDevMode ? [{ debugName: "eclIconComponents" }] : []));
73
+ this.renderer = inject(Renderer2);
74
+ this.cd = inject(ChangeDetectorRef);
70
75
  }
71
76
  /**
72
- * Adds speific ECL classes to the <a> component.
77
+ * Additional HTML attributes to be set on the link element.
78
+ * Used e.g. by social-media-follow for passing extra_attributes.
73
79
  */
74
- get cssClasses() {
75
- return [super.getCssClasses('ecl-link'), this.variant ? `ecl-link--${this.variant}` : ''].join(' ').trim();
80
+ set extraAttributes(attrs) {
81
+ this._extraAttributes = attrs;
82
+ this.applyExtraAttributes();
83
+ }
84
+ applyExtraAttributes() {
85
+ if (!this._extraAttributes || !this._extraAttributes.length) {
86
+ return;
87
+ }
88
+ this._extraAttributes.forEach((attr) => {
89
+ if (attr?.name) {
90
+ this.el.nativeElement.setAttribute(attr.name, attr.value ?? '');
91
+ }
92
+ });
76
93
  }
77
94
  /**
78
95
  * Adds class for styling if the link has icon.
79
96
  */
80
97
  get hasIcon() {
81
- return this.eclIconComponents && this.eclIconComponents.length > 0;
98
+ return this.eclIconComponents() && this.eclIconComponents().length > 0;
82
99
  }
83
100
  get isLinkNoVisited() {
84
101
  return this.isNoVisited;
85
102
  }
103
+ /**
104
+ * Adds speific ECL classes to the <a> component.
105
+ */
106
+ get cssClasses() {
107
+ return [super.getCssClasses('ecl-link'), this.variant ? `ecl-link--${this.variant}` : '',
108
+ (this.variant === 'primary' && this.isHighlight) ? 'ecl-link--primary-highlight' : '',
109
+ ].join(' ').trim();
110
+ }
86
111
  ngAfterContentInit() {
87
112
  // Add additional class to the child icon, if any.
88
- if (this.eclIconComponents) {
113
+ if (this.eclIconComponents()) {
89
114
  setTimeout(() => {
90
- this.eclIconComponents.forEach((icn) => {
91
- icn.baseDirective.class = icn.baseDirective.class ? icn.baseDirective.class + ' ecl-link__icon' : 'ecl-link__icon';
115
+ this.eclIconComponents().forEach((icn) => {
116
+ this.renderer.addClass(icn.el.nativeElement, 'ecl-link__icon');
92
117
  });
118
+ this.cd.markForCheck();
93
119
  });
94
120
  }
95
121
  }
@@ -111,17 +137,16 @@ class EclLinkDirective extends ECLBaseDirective {
111
137
  onBlur() {
112
138
  this.el.nativeElement.blur();
113
139
  }
114
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclLinkDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
115
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.0.0-rc.2", type: EclLinkDirective, isStandalone: true, selector: "[eclLink]", inputs: { isInverted: ["isInverted", "isInverted", booleanAttribute], isIconOnly: ["isIconOnly", "isIconOnly", booleanAttribute], isNoVisited: ["isNoVisited", "isNoVisited", booleanAttribute], variant: "variant" }, host: { properties: { "class": "this.cssClasses", "class.ecl-link--icon": "this.hasIcon", "class.ecl-link--no-visited": "this.isLinkNoVisited", "class.ecl-link--inverted": "this.isInverted", "class.ecl-link--icon-only": "this.isIconOnly" } }, queries: [{ propertyName: "eclIconComponents", predicate: i0.forwardRef(() => EclIconComponent), descendants: true }], usesInheritance: true, ngImport: i0 }); }
140
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclLinkDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
141
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "21.0.0", type: EclLinkDirective, isStandalone: true, selector: "[eclLink]", inputs: { extraAttributes: "extraAttributes", isInverted: ["isInverted", "isInverted", booleanAttribute], isIconOnly: ["isIconOnly", "isIconOnly", booleanAttribute], isHighlight: ["isHighlight", "isHighlight", booleanAttribute], isNoVisited: ["isNoVisited", "isNoVisited", booleanAttribute], variant: "variant" }, host: { properties: { "class.ecl-link--icon": "this.hasIcon", "class.ecl-link--no-visited": "this.isLinkNoVisited", "class.ecl-link--inverted": "this.isInverted", "class.ecl-link--icon-only": "this.isIconOnly", "class": "this.cssClasses" } }, queries: [{ propertyName: "eclIconComponents", predicate: EclIconComponent, isSignal: true }], usesInheritance: true, ngImport: i0 }); }
116
142
  }
117
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclLinkDirective, decorators: [{
143
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclLinkDirective, decorators: [{
118
144
  type: Directive,
119
145
  args: [{
120
146
  selector: '[eclLink]',
121
147
  }]
122
- }], propDecorators: { cssClasses: [{
123
- type: HostBinding,
124
- args: ['class']
148
+ }], propDecorators: { extraAttributes: [{
149
+ type: Input
125
150
  }], hasIcon: [{
126
151
  type: HostBinding,
127
152
  args: ['class.ecl-link--icon']
@@ -140,33 +165,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ng
140
165
  }, {
141
166
  type: HostBinding,
142
167
  args: ['class.ecl-link--icon-only']
168
+ }], isHighlight: [{
169
+ type: Input,
170
+ args: [{ transform: booleanAttribute }]
143
171
  }], isNoVisited: [{
144
172
  type: Input,
145
173
  args: [{ transform: booleanAttribute }]
146
174
  }], variant: [{
147
175
  type: Input
148
- }], eclIconComponents: [{
149
- type: ContentChildren,
150
- args: [forwardRef(() => EclIconComponent), { descendants: true }]
151
- }] } });
152
-
153
- /**
154
- * Module that provides the EclLink directive and its dependencies.
155
- *
156
- * @deprecated Use {@link EUI_ECL_LINK} instead.
157
- */
158
- class EclLinkModule {
159
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclLinkModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
160
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclLinkModule, imports: [EclLinkDirective, EclLinkLabelDirective, EclLinkIndicatorDirective, EclLinkIconContainerDirective], exports: [EclLinkDirective, EclLinkLabelDirective, EclLinkIndicatorDirective, EclLinkIconContainerDirective] }); }
161
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclLinkModule }); }
162
- }
163
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclLinkModule, decorators: [{
164
- type: NgModule,
165
- args: [{
166
- imports: [EclLinkDirective, EclLinkLabelDirective, EclLinkIndicatorDirective, EclLinkIconContainerDirective],
167
- exports: [EclLinkDirective, EclLinkLabelDirective, EclLinkIndicatorDirective, EclLinkIconContainerDirective],
168
- }]
169
- }] });
176
+ }], cssClasses: [{
177
+ type: HostBinding,
178
+ args: ['class']
179
+ }], eclIconComponents: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => EclIconComponent), { isSignal: true }] }] } });
170
180
 
171
181
  const EUI_ECL_LINK = [
172
182
  EclLinkDirective, EclLinkLabelDirective, EclLinkIndicatorDirective, EclLinkIconContainerDirective,
@@ -176,5 +186,5 @@ const EUI_ECL_LINK = [
176
186
  * Generated bundle index. Do not edit.
177
187
  */
178
188
 
179
- export { EUI_ECL_LINK, EclLinkDirective, EclLinkIconContainerDirective, EclLinkIndicatorDirective, EclLinkLabelDirective, EclLinkModule };
189
+ export { EUI_ECL_LINK, EclLinkDirective, EclLinkIconContainerDirective, EclLinkIndicatorDirective, EclLinkLabelDirective };
180
190
  //# sourceMappingURL=eui-ecl-components-ecl-link.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"eui-ecl-components-ecl-link.mjs","sources":["../../components/ecl-link/ecl-link-label.directive.ts","../../components/ecl-link/ecl-link.directive.ts","../../components/ecl-link/ecl-link.module.ts","../../components/ecl-link/index.ts","../../components/ecl-link/eui-ecl-components-ecl-link.ts"],"sourcesContent":["import { Directive, HostBinding } from '@angular/core';\n\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n@Directive({\n selector: '[eclLinkLabel]',\n})\nexport class EclLinkLabelDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-link__label')].join(' ').trim();\n }\n}\n\n@Directive({\n selector: '[eclIndicator]',\n})\nexport class EclLinkIndicatorDirective {\n @HostBinding('class.ecl-indicator') hasClass = true;\n}\n\n@Directive({\n selector: '[eclLinkIconContainer]',\n})\nexport class EclLinkIconContainerDirective {\n @HostBinding('class.ecl-link__icon-container') hasClass = true;\n}\n","import { Directive, HostBinding, Input, forwardRef, ContentChildren, QueryList, booleanAttribute, ElementRef, AfterContentInit, inject } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclIconComponent } from '@eui/ecl/components/ecl-icon';\n\n/**\n * 'eclLink' directive is used to add some styling to the defalt HTML anchor component. In order to comply with ECL standards.\n */\n@Directive({\n selector: '[eclLink]',\n})\nexport class EclLinkDirective extends ECLBaseDirective implements AfterContentInit {\n el = inject(ElementRef);\n\n /**\n * Adds speific ECL classes to the <a> component.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-link'), this.variant ? `ecl-link--${this.variant}` : ''].join(' ').trim();\n }\n /**\n * Adds class for styling if the link has icon.\n */\n @HostBinding('class.ecl-link--icon')\n get hasIcon(): boolean {\n return this.eclIconComponents && this.eclIconComponents.length > 0;\n }\n\n @HostBinding('class.ecl-link--no-visited')\n get isLinkNoVisited(): boolean {\n return this.isNoVisited;\n }\n\n /**\n * Property to style the component as 'inverted' (with dark background).\n */\n @Input({ transform: booleanAttribute }) @HostBinding('class.ecl-link--inverted') isInverted = false;\n /**\n * Property to style the component if it consist only of an icon.\n */\n @Input({ transform: booleanAttribute }) @HostBinding('class.ecl-link--icon-only') isIconOnly = false;\n /**\n * @deprecated - will be removed in v20. Deprecated on ECL side.\n */\n @Input({ transform: booleanAttribute }) isNoVisited: boolean;\n /**\n * With 'varian' property user can add some more specific styling to the <a> component.\n */\n @Input() variant: 'standalone' | 'cta' | 'primary' | 'secondary';\n\n @ContentChildren(forwardRef(() => EclIconComponent), { descendants: true }) eclIconComponents: QueryList<EclIconComponent>;\n\n ngAfterContentInit(): void {\n // Add additional class to the child icon, if any.\n if (this.eclIconComponents) {\n setTimeout(() => {\n this.eclIconComponents.forEach((icn) => {\n icn.baseDirective.class = icn.baseDirective.class ? icn.baseDirective.class + ' ecl-link__icon' : 'ecl-link__icon';\n });\n });\n }\n }\n\n /**\n * Calls the native focus() method of the default HTML element.\n */\n onFocus(): void {\n this.el.nativeElement.focus();\n }\n\n /**\n * Calls the native click() method of the default HTML element.\n */\n onClick(): void {\n this.el.nativeElement.click();\n }\n\n /**\n * Calls the native blur() method of the default HTML element.\n */\n onBlur(): void {\n this.el.nativeElement.blur();\n }\n}\n","import { NgModule } from '@angular/core';\nimport { EclLinkDirective } from './ecl-link.directive';\nimport { EclLinkIndicatorDirective, EclLinkIconContainerDirective, EclLinkLabelDirective } from './ecl-link-label.directive';\n\n/**\n * Module that provides the EclLink directive and its dependencies.\n *\n * @deprecated Use {@link EUI_ECL_LINK} instead.\n */\n@NgModule({\n imports: [EclLinkDirective, EclLinkLabelDirective, EclLinkIndicatorDirective, EclLinkIconContainerDirective],\n exports: [EclLinkDirective, EclLinkLabelDirective, EclLinkIndicatorDirective, EclLinkIconContainerDirective],\n})\nexport class EclLinkModule {}\n","import { EclLinkIndicatorDirective, EclLinkIconContainerDirective, EclLinkLabelDirective } from './ecl-link-label.directive';\nimport { EclLinkDirective } from './ecl-link.directive';\n\nexport * from './ecl-link.module';\nexport * from './ecl-link.directive';\nexport * from './ecl-link-label.directive';\n\nexport const EUI_ECL_LINK = [\n EclLinkDirective, EclLinkLabelDirective, EclLinkIndicatorDirective, EclLinkIconContainerDirective,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAOM,MAAO,qBAAsB,SAAQ,gBAAgB,CAAA;AACvD,IAAA,IACI,UAAU,GAAA;AACV,QAAA,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;IACpE;mHAJS,qBAAqB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;uGAArB,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,OAAA,EAAA,iBAAA,EAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CA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AIG;MAKU,aAAa,CAAA;mHAAb,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAb,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,aAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,EAAA,OAAA,EAAA,CAHZ,gBAAgB,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,6BAA6B,CAAA,EAAA,OAAA,EAAA,CACjG,gBAAgB,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,6BAA6B,CAAA,EAAA,CAAA,CAAA;oHAElG,aAAa,EAAA,CAAA,CAAA;;gGAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBAJzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,gBAAgB,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,6BAA6B,CAAC;oBAC5G,OAAO,EAAE,CAAC,gBAAgB,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,6BAA6B,CAAC;AAC/G,iBAAA;;;ACLM,MAAM,YAAY,GAAG;AACxB,IAAA,gBAAgB,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,6BAA6B;;;ACRrG;;AAEG;;;;"}
1
+ {"version":3,"file":"eui-ecl-components-ecl-link.mjs","sources":["../../components/ecl-link/ecl-link-label.directive.ts","../../components/ecl-link/ecl-link.directive.ts","../../components/ecl-link/index.ts","../../components/ecl-link/eui-ecl-components-ecl-link.ts"],"sourcesContent":["import { Directive, HostBinding } from '@angular/core';\n\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n@Directive({\n selector: '[eclLinkLabel]',\n})\nexport class EclLinkLabelDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-link__label')].join(' ').trim();\n }\n}\n\n@Directive({\n selector: '[eclIndicator]',\n})\nexport class EclLinkIndicatorDirective {\n @HostBinding('class.ecl-indicator') hasClass = true;\n}\n\n@Directive({\n selector: '[eclLinkIconContainer]',\n})\nexport class EclLinkIconContainerDirective {\n @HostBinding('class.ecl-link__icon-container') hasClass = true;\n}\n","import { AfterContentInit, booleanAttribute, ChangeDetectorRef, contentChildren, Directive, ElementRef, HostBinding, inject, Input, Renderer2 } from '@angular/core';\nimport { EclIconComponent } from '@eui/ecl/components/ecl-icon';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * 'eclLink' directive is used to add some styling to the defalt HTML anchor component. In order to comply with ECL standards.\n */\n@Directive({\n selector: '[eclLink]',\n})\nexport class EclLinkDirective extends ECLBaseDirective implements AfterContentInit {\n el = inject(ElementRef);\n\n /**\n * Additional HTML attributes to be set on the link element.\n * Used e.g. by social-media-follow for passing extra_attributes.\n */\n @Input()\n set extraAttributes(attrs: { name: string; value?: string | null }[] | undefined) {\n this._extraAttributes = attrs;\n this.applyExtraAttributes();\n }\n private _extraAttributes?: { name: string; value?: string | null }[];\n\n private applyExtraAttributes(): void {\n if (!this._extraAttributes || !this._extraAttributes.length) {\n return;\n }\n\n this._extraAttributes.forEach((attr) => {\n if (attr?.name) {\n this.el.nativeElement.setAttribute(attr.name, attr.value ?? '');\n }\n });\n }\n\n /**\n * Adds class for styling if the link has icon.\n */\n @HostBinding('class.ecl-link--icon')\n get hasIcon(): boolean {\n return this.eclIconComponents() && this.eclIconComponents().length > 0;\n }\n\n @HostBinding('class.ecl-link--no-visited')\n get isLinkNoVisited(): boolean {\n return this.isNoVisited;\n }\n\n /**\n * Property to style the component as 'inverted' (with dark background). Can be used alone or with 'standalone' variant.\n */\n @Input({ transform: booleanAttribute }) @HostBinding('class.ecl-link--inverted') isInverted = false;\n /**\n * Property to style the component if it consist only of an icon.\n */\n @Input({ transform: booleanAttribute }) @HostBinding('class.ecl-link--icon-only') isIconOnly = false;\n\n /** Adds class for hightlighted link (works only with 'primary' variant) */\n @Input({ transform: booleanAttribute }) isHighlight = false;\n \n /**\n * @deprecated - will be removed in v21. Deprecated on ECL side. (ask them for confirmation)\n */\n @Input({ transform: booleanAttribute }) isNoVisited: boolean;\n /**\n * With 'variant' property user can add some more specific styling to the <a> component.\n */\n @Input() variant: 'standalone' | 'primary' | 'secondary';\n\n /**\n * Adds speific ECL classes to the <a> component.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-link'), this.variant ? `ecl-link--${this.variant}` : '',\n (this.variant === 'primary' && this.isHighlight) ? 'ecl-link--primary-highlight' : '',\n\n ].join(' ').trim();\n }\n\n eclIconComponents = contentChildren(EclIconComponent);\n renderer = inject(Renderer2);\n cd = inject(ChangeDetectorRef);\n\n ngAfterContentInit(): void {\n // Add additional class to the child icon, if any.\n if (this.eclIconComponents()) {\n setTimeout(() => {\n this.eclIconComponents().forEach((icn) => {\n this.renderer.addClass(icn.el.nativeElement, 'ecl-link__icon');\n });\n this.cd.markForCheck();\n });\n }\n }\n\n /**\n * Calls the native focus() method of the default HTML element.\n */\n onFocus(): void {\n this.el.nativeElement.focus();\n }\n\n /**\n * Calls the native click() method of the default HTML element.\n */\n onClick(): void {\n this.el.nativeElement.click();\n }\n\n /**\n * Calls the native blur() method of the default HTML element.\n */\n onBlur(): void {\n this.el.nativeElement.blur();\n }\n}\n","import { EclLinkIndicatorDirective, EclLinkIconContainerDirective, EclLinkLabelDirective } from './ecl-link-label.directive';\nimport { EclLinkDirective } from './ecl-link.directive';\n\nexport * from './ecl-link.directive';\nexport * from './ecl-link-label.directive';\n\nexport const EUI_ECL_LINK = [\n EclLinkDirective, EclLinkLabelDirective, EclLinkIndicatorDirective, EclLinkIconContainerDirective,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAOM,MAAO,qBAAsB,SAAQ,gBAAgB,CAAA;AACvD,IAAA,IACI,UAAU,GAAA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uBAAC,4BAA4B;;sBAQxC,KAAK;uBAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE;;sBAAG,WAAW;uBAAC,0BAA0B;;sBAI9E,KAAK;uBAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE;;sBAAG,WAAW;uBAAC,2BAA2B;;sBAG/E,KAAK;uBAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE;;sBAKrC,KAAK;uBAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE;;sBAIrC;;sBAKA,WAAW;uBAAC,OAAO;2FAQgB,gBAAgB,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AC3EjD,MAAM,YAAY,GAAG;AACxB,IAAA,gBAAgB,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,6BAA6B;;;ACPrG;;AAEG;;;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { HostBinding, Directive, booleanAttribute, forwardRef, ContentChild, Input, signal, computed, Component, input, inject, afterNextRender, effect, numberAttribute, ContentChildren, NgModule } from '@angular/core';
2
+ import { HostBinding, Directive, booleanAttribute, forwardRef, ContentChild, Input, signal, computed, Component, input, inject, afterNextRender, effect, numberAttribute, ContentChildren } from '@angular/core';
3
3
  import { ECLBaseDirective } from '@eui/ecl/core';
4
4
  import { BreakpointObserver } from '@angular/cdk/layout';
5
5
 
@@ -16,10 +16,10 @@ class EclListIllustrationIconDirective extends ECLBaseDirective {
16
16
  */
17
17
  this.className = true;
18
18
  }
19
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclListIllustrationIconDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
20
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.0-rc.2", type: EclListIllustrationIconDirective, isStandalone: true, selector: "[eclListIllustrationIcon]", host: { properties: { "class.ecl-list-illustration__icon": "this.className" } }, usesInheritance: true, ngImport: i0 }); }
19
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclListIllustrationIconDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
20
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.0", type: EclListIllustrationIconDirective, isStandalone: true, selector: "[eclListIllustrationIcon]", host: { properties: { "class.ecl-list-illustration__icon": "this.className" } }, usesInheritance: true, ngImport: i0 }); }
21
21
  }
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclListIllustrationIconDirective, decorators: [{
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclListIllustrationIconDirective, decorators: [{
23
23
  type: Directive,
24
24
  args: [{
25
25
  selector: '[eclListIllustrationIcon]',
@@ -53,10 +53,10 @@ class EclListIllustrationPictureDirective extends ECLBaseDirective {
53
53
  ngAfterContentInit() {
54
54
  this.eclIllustrationImage.isSquare = this.isSquare;
55
55
  }
56
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclListIllustrationPictureDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
57
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.0.0-rc.2", type: EclListIllustrationPictureDirective, isStandalone: true, selector: "picture[eclListIllustrationPicture]", inputs: { isSquare: ["isSquare", "isSquare", booleanAttribute] }, host: { properties: { "class": "this.cssClasses" } }, queries: [{ propertyName: "eclIllustrationImage", first: true, predicate: i0.forwardRef(() => EclListIllustrationImageDirective), descendants: true }], usesInheritance: true, ngImport: i0 }); }
56
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclListIllustrationPictureDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
57
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.0.0", type: EclListIllustrationPictureDirective, isStandalone: true, selector: "picture[eclListIllustrationPicture]", inputs: { isSquare: ["isSquare", "isSquare", booleanAttribute] }, host: { properties: { "class": "this.cssClasses" } }, queries: [{ propertyName: "eclIllustrationImage", first: true, predicate: i0.forwardRef(() => EclListIllustrationImageDirective), descendants: true }], usesInheritance: true, ngImport: i0 }); }
58
58
  }
59
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclListIllustrationPictureDirective, decorators: [{
59
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclListIllustrationPictureDirective, decorators: [{
60
60
  type: Directive,
61
61
  args: [{
62
62
  selector: 'picture[eclListIllustrationPicture]',
@@ -82,7 +82,7 @@ class EclListIllustrationImageDirective extends ECLBaseDirective {
82
82
  /**
83
83
  * If true, image is styled with square dimensions.
84
84
  */
85
- this.isSquare = false; // TODO: breaking change - this inpt should be set in the parent picture. This is not used as an imput anymore, v21.
85
+ this.isSquare = false;
86
86
  /**
87
87
  * Defines the size variant of the image.
88
88
  * Possible values: `'s'`, `'m'`, `'l'`.
@@ -101,10 +101,10 @@ class EclListIllustrationImageDirective extends ECLBaseDirective {
101
101
  .join(' ')
102
102
  .trim();
103
103
  }
104
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclListIllustrationImageDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
105
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.0-rc.2", type: EclListIllustrationImageDirective, isStandalone: true, selector: "img[eclListIllustrationImage]", inputs: { size: "size" }, host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0 }); }
104
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclListIllustrationImageDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
105
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.0", type: EclListIllustrationImageDirective, isStandalone: true, selector: "img[eclListIllustrationImage]", inputs: { size: "size" }, host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0 }); }
106
106
  }
107
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclListIllustrationImageDirective, decorators: [{
107
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclListIllustrationImageDirective, decorators: [{
108
108
  type: Directive,
109
109
  args: [{
110
110
  selector: 'img[eclListIllustrationImage]',
@@ -158,10 +158,10 @@ class EclListIllustrationItemComponent extends ECLBaseDirective {
158
158
  get hasValue() {
159
159
  return Boolean(this.eclValue);
160
160
  }
161
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclListIllustrationItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
162
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.0-rc.2", type: EclListIllustrationItemComponent, isStandalone: true, selector: "ecl-list-illustration-item", inputs: { eclTitle: "eclTitle", eclValue: "eclValue" }, host: { properties: { "attr.role": "this.role", "class.ecl-list-illustration__item": "this.className" } }, queries: [{ propertyName: "eclIllustrationIcon", first: true, predicate: i0.forwardRef(() => EclListIllustrationIconDirective), descendants: true }, { propertyName: "eclIllustrationPicture", first: true, predicate: i0.forwardRef(() => EclListIllustrationPictureDirective), descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ecl-list-illustration__item-content\" [class.ecl-list-illustration__item-content--row]=\"isVerticalPicture()\"\n [class.ecl-list-illustration__divider]=\"hasDivider()\">\n <ng-content select=\"[eclListIllustrationImage],[eclListIllustrationPicture],[eclListIllustrationIcon]\"></ng-content>\n <div class=\"ecl-list-illustration__detail\">\n @if (hasTitle || hasValue) {\n <div class=\"ecl-list-illustration__title-container\">\n @if (hasValue) {\n <div class=\"ecl-list-illustration__value\">{{ eclValue }}</div>\n }\n <div class=\"ecl-list-illustration__title\">{{ eclTitle }}</div>\n </div>\n }\n\n <div class=\"ecl-list-illustration__description\">\n <ng-content></ng-content>\n </div>\n </div>\n</div>" }); }
161
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclListIllustrationItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
162
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.0", type: EclListIllustrationItemComponent, isStandalone: true, selector: "ecl-list-illustration-item", inputs: { eclTitle: "eclTitle", eclValue: "eclValue" }, host: { properties: { "attr.role": "this.role", "class.ecl-list-illustration__item": "this.className" } }, queries: [{ propertyName: "eclIllustrationIcon", first: true, predicate: i0.forwardRef(() => EclListIllustrationIconDirective), descendants: true }, { propertyName: "eclIllustrationPicture", first: true, predicate: i0.forwardRef(() => EclListIllustrationPictureDirective), descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ecl-list-illustration__item-content\" [class.ecl-list-illustration__item-content--row]=\"isVerticalPicture()\"\n [class.ecl-list-illustration__divider]=\"hasDivider()\">\n <ng-content select=\"[eclListIllustrationImage],[eclListIllustrationPicture],[eclListIllustrationIcon]\"></ng-content>\n <div class=\"ecl-list-illustration__detail\">\n @if (hasTitle || hasValue) {\n <div class=\"ecl-list-illustration__title-container\">\n @if (hasValue) {\n <div class=\"ecl-list-illustration__value\">{{ eclValue }}</div>\n }\n <div class=\"ecl-list-illustration__title\">{{ eclTitle }}</div>\n </div>\n }\n\n <div class=\"ecl-list-illustration__description\">\n <ng-content></ng-content>\n </div>\n </div>\n</div>" }); }
163
163
  }
164
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclListIllustrationItemComponent, decorators: [{
164
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclListIllustrationItemComponent, decorators: [{
165
165
  type: Component,
166
166
  args: [{ selector: 'ecl-list-illustration-item', template: "<div class=\"ecl-list-illustration__item-content\" [class.ecl-list-illustration__item-content--row]=\"isVerticalPicture()\"\n [class.ecl-list-illustration__divider]=\"hasDivider()\">\n <ng-content select=\"[eclListIllustrationImage],[eclListIllustrationPicture],[eclListIllustrationIcon]\"></ng-content>\n <div class=\"ecl-list-illustration__detail\">\n @if (hasTitle || hasValue) {\n <div class=\"ecl-list-illustration__title-container\">\n @if (hasValue) {\n <div class=\"ecl-list-illustration__value\">{{ eclValue }}</div>\n }\n <div class=\"ecl-list-illustration__title\">{{ eclTitle }}</div>\n </div>\n }\n\n <div class=\"ecl-list-illustration__description\">\n <ng-content></ng-content>\n </div>\n </div>\n</div>" }]
167
167
  }], propDecorators: { eclTitle: [{
@@ -279,10 +279,10 @@ class EclListIllustrationComponent extends ECLBaseDirective {
279
279
  this.isTabletBreakpoint = result.matches;
280
280
  });
281
281
  }
282
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclListIllustrationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
283
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.0-rc.2", type: EclListIllustrationComponent, isStandalone: true, selector: "ecl-list-illustration", inputs: { isZebra: { classPropertyName: "isZebra", publicName: "isZebra", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, horizontalColumns: { classPropertyName: "horizontalColumns", publicName: "horizontalColumns", isSignal: false, isRequired: false, transformFunction: numberAttribute }, fontSize: { classPropertyName: "fontSize", publicName: "fontSize", isSignal: false, isRequired: false, transformFunction: null }, isCentered: { classPropertyName: "isCentered", publicName: "isCentered", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, isIconInline: { classPropertyName: "isIconInline", publicName: "isIconInline", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: false, isRequired: false, transformFunction: null }, hasDividers: { classPropertyName: "hasDividers", publicName: "hasDividers", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, counterStart: { classPropertyName: "counterStart", publicName: "counterStart", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.role": "this.role", "style.--ecl-list-illustration-counter-start": "this.counterStartStyle", "class": "this.cssClasses", "style.display": "this.elementDisplayStyle" } }, queries: [{ propertyName: "eclIllustrationItems", predicate: i0.forwardRef(() => EclListIllustrationItemComponent) }], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>" }); }
282
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclListIllustrationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
283
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.0", type: EclListIllustrationComponent, isStandalone: true, selector: "ecl-list-illustration", inputs: { isZebra: { classPropertyName: "isZebra", publicName: "isZebra", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, horizontalColumns: { classPropertyName: "horizontalColumns", publicName: "horizontalColumns", isSignal: false, isRequired: false, transformFunction: numberAttribute }, fontSize: { classPropertyName: "fontSize", publicName: "fontSize", isSignal: false, isRequired: false, transformFunction: null }, isCentered: { classPropertyName: "isCentered", publicName: "isCentered", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, isIconInline: { classPropertyName: "isIconInline", publicName: "isIconInline", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: false, isRequired: false, transformFunction: null }, hasDividers: { classPropertyName: "hasDividers", publicName: "hasDividers", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, counterStart: { classPropertyName: "counterStart", publicName: "counterStart", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.role": "this.role", "style.--ecl-list-illustration-counter-start": "this.counterStartStyle", "class": "this.cssClasses", "style.display": "this.elementDisplayStyle" } }, queries: [{ propertyName: "eclIllustrationItems", predicate: i0.forwardRef(() => EclListIllustrationItemComponent) }], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>" }); }
284
284
  }
285
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclListIllustrationComponent, decorators: [{
285
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclListIllustrationComponent, decorators: [{
286
286
  type: Component,
287
287
  args: [{ selector: 'ecl-list-illustration', template: "<ng-content></ng-content>" }]
288
288
  }], ctorParameters: () => [], propDecorators: { isZebra: [{
@@ -321,39 +321,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ng
321
321
  args: ['style.display']
322
322
  }] } });
323
323
 
324
- const COMPONENTS = [
325
- EclListIllustrationComponent,
326
- EclListIllustrationItemComponent,
327
- EclListIllustrationIconDirective,
328
- EclListIllustrationPictureDirective,
329
- EclListIllustrationImageDirective,
330
- ];
331
- /**
332
- * Module that provides the EclList component and its dependencies.
333
- *
334
- * @deprecated Use {@link EUI_ECL_LIST_ILUSTRATION} instead.
335
- */
336
- class EclListIllustrationModule {
337
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclListIllustrationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
338
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclListIllustrationModule, imports: [EclListIllustrationComponent,
339
- EclListIllustrationItemComponent,
340
- EclListIllustrationIconDirective,
341
- EclListIllustrationPictureDirective,
342
- EclListIllustrationImageDirective], exports: [EclListIllustrationComponent,
343
- EclListIllustrationItemComponent,
344
- EclListIllustrationIconDirective,
345
- EclListIllustrationPictureDirective,
346
- EclListIllustrationImageDirective] }); }
347
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclListIllustrationModule }); }
348
- }
349
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclListIllustrationModule, decorators: [{
350
- type: NgModule,
351
- args: [{
352
- imports: [...COMPONENTS],
353
- exports: [...COMPONENTS],
354
- }]
355
- }] });
356
-
357
324
  const EUI_ECL_LIST_ILUSTRATION = [
358
325
  EclListIllustrationComponent,
359
326
  EclListIllustrationItemComponent,
@@ -366,5 +333,5 @@ const EUI_ECL_LIST_ILUSTRATION = [
366
333
  * Generated bundle index. Do not edit.
367
334
  */
368
335
 
369
- export { EUI_ECL_LIST_ILUSTRATION, EclListIllustrationComponent, EclListIllustrationIconDirective, EclListIllustrationImageDirective, EclListIllustrationItemComponent, EclListIllustrationModule, EclListIllustrationPictureDirective };
336
+ export { EUI_ECL_LIST_ILUSTRATION, EclListIllustrationComponent, EclListIllustrationIconDirective, EclListIllustrationImageDirective, EclListIllustrationItemComponent, EclListIllustrationPictureDirective };
370
337
  //# sourceMappingURL=eui-ecl-components-ecl-list-illustration.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"eui-ecl-components-ecl-list-illustration.mjs","sources":["../../components/ecl-list-illustration/ecl-list-illustration-icon.directive.ts","../../components/ecl-list-illustration/ecl-list-illustration-picture.directive.ts","../../components/ecl-list-illustration/ecl-list-illustration-item.component.ts","../../components/ecl-list-illustration/ecl-list-illustration-item.component.html","../../components/ecl-list-illustration/ecl-list-illustration.component.ts","../../components/ecl-list-illustration/ecl-list-illustration.component.html","../../components/ecl-list-illustration/ecl-list-illustration.module.ts","../../components/ecl-list-illustration/index.ts","../../components/ecl-list-illustration/eui-ecl-components-ecl-list-illustration.ts"],"sourcesContent":["import { Directive, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive representing an icon within an ECL illustration list item.\n *\n * Applies the correct ECL class for list item icons.\n */\n@Directive({\n selector: '[eclListIllustrationIcon]',\n})\nexport class EclListIllustrationIconDirective extends ECLBaseDirective {\n /**\n * Applies the ECL class for illustration item icons.\n */\n @HostBinding('class.ecl-list-illustration__icon') className = true;\n}\n","import { ContentChild, Directive, HostBinding, Input, booleanAttribute, forwardRef, AfterContentInit } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive applied to `<picture>` elements within ECL list illustrations.\n *\n * Adds the necessary ECL CSS classes for illustration pictures.\n */\n@Directive({\n selector: 'picture[eclListIllustrationPicture]',\n})\nexport class EclListIllustrationPictureDirective extends ECLBaseDirective implements AfterContentInit {\n\n /**\n * If true, image is styled with square dimensions.\n */\n @Input({ transform: booleanAttribute }) isSquare = false;\n\n @ContentChild(forwardRef(() => EclListIllustrationImageDirective))\n eclIllustrationImage!: EclListIllustrationImageDirective;\n\n /**\n * Applies the base ECL picture classes for list illustration pictures.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-picture ecl-list-illustration__picture'),\n this.isSquare ? 'ecl-list-illustration__picture--square' : '',\n ].join(' ').trim();\n }\n\n ngAfterContentInit(): void {\n this.eclIllustrationImage.isSquare = this.isSquare;\n }\n}\n\n/**\n * Directive applied to `<img>` elements within ECL list illustrations.\n *\n * Supports square variant and size options for image styling.\n */\n@Directive({\n selector: 'img[eclListIllustrationImage]',\n})\nexport class EclListIllustrationImageDirective extends ECLBaseDirective {\n /**\n * If true, image is styled with square dimensions.\n */\n isSquare = false; // TODO: breaking change - this inpt should be set in the parent picture. This is not used as an imput anymore, v21.\n\n /**\n * Defines the size variant of the image.\n * Possible values: `'s'`, `'m'`, `'l'`.\n */\n @Input() size: 's' | 'm' | 'l' = 'm';\n\n /**\n * Computes the appropriate ECL CSS classes for the image.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [\n super.getCssClasses('ecl-list-illustration__image'),\n this.isSquare ? 'ecl-list-illustration__image--square' : '',\n this.isSquare ? `ecl-list-illustration__image--${this.size}` : '',\n ]\n .join(' ')\n .trim();\n }\n}\n","import {\n Component,\n computed,\n ContentChild,\n ContentChildren,\n forwardRef,\n HostBinding,\n Input,\n QueryList,\n Signal,\n signal,\n} from '@angular/core';\nimport { EclListIllustrationIconDirective } from './ecl-list-illustration-icon.directive';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclListIllustrationPictureDirective } from './ecl-list-illustration-picture.directive';\n\n/**\n * Component representing a single item in an ECL illustration list.\n *\n * Displays optional title, value, and one or more illustration icons.\n */\n@Component({\n selector: 'ecl-list-illustration-item',\n templateUrl: './ecl-list-illustration-item.component.html',\n})\nexport class EclListIllustrationItemComponent extends ECLBaseDirective {\n /**\n * Text displayed as the item title.\n */\n @Input() eclTitle = '';\n\n /**\n * Text displayed as the item value.\n */\n @Input() eclValue = '';\n\n /**\n * Applies ARIA role for list items.\n */\n @HostBinding('attr.role') role = 'listitem';\n\n /**\n * Applies ECL class for illustration list item.\n */\n @HostBinding('class.ecl-list-illustration__item') className = true;\n\n @ContentChild(forwardRef(() => EclListIllustrationIconDirective))\n eclIllustrationIcon: EclListIllustrationIconDirective;\n\n @ContentChild(forwardRef(() => EclListIllustrationPictureDirective))\n eclIllustrationPicture: EclListIllustrationPictureDirective;\n\n /** A special class needs to be added, for vertical lists with picture. */\n isVerticalPicture = signal(false);\n\n /** A special class needs to be added, if an icon list has dividers between items. */\n hasDivider = signal(false);\n\n hasPicture: Signal<boolean> = computed(() => this.eclIllustrationPicture !== undefined);\n\n /**\n * Returns `true` if the item has a title or any projected icons.\n */\n get hasTitle(): boolean {\n return Boolean(this.eclTitle) || this.eclIllustrationIcon !== undefined;\n }\n\n /**\n * Returns `true` if the item has a value.\n */\n get hasValue(): boolean {\n return Boolean(this.eclValue);\n }\n}\n","<div class=\"ecl-list-illustration__item-content\" [class.ecl-list-illustration__item-content--row]=\"isVerticalPicture()\"\n [class.ecl-list-illustration__divider]=\"hasDivider()\">\n <ng-content select=\"[eclListIllustrationImage],[eclListIllustrationPicture],[eclListIllustrationIcon]\"></ng-content>\n <div class=\"ecl-list-illustration__detail\">\n @if (hasTitle || hasValue) {\n <div class=\"ecl-list-illustration__title-container\">\n @if (hasValue) {\n <div class=\"ecl-list-illustration__value\">{{ eclValue }}</div>\n }\n <div class=\"ecl-list-illustration__title\">{{ eclTitle }}</div>\n </div>\n }\n\n <div class=\"ecl-list-illustration__description\">\n <ng-content></ng-content>\n </div>\n </div>\n</div>","import { Component, HostBinding, Input, booleanAttribute, numberAttribute, afterNextRender, inject, ContentChildren, forwardRef, QueryList, AfterContentInit, Signal, computed, input, effect } from '@angular/core';\nimport { BreakpointObserver } from '@angular/cdk/layout';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclListIllustrationItemComponent } from './ecl-list-illustration-item.component';\n\n/**\n * Component representing a list using ECL illustration styles.\n *\n * Supports zebra styling, responsive horizontal layout, and font size options.\n */\n@Component({\n selector: 'ecl-list-illustration',\n templateUrl: './ecl-list-illustration.component.html',\n})\nexport class EclListIllustrationComponent extends ECLBaseDirective implements AfterContentInit {\n /**\n * Enables zebra style (alternating background colors for list items).\n */\n @Input({ transform: booleanAttribute }) isZebra = false;\n\n /**\n * Number of horizontal columns. If greater than `0`, items are displayed in a grid layout.\n */\n @Input({ transform: numberAttribute }) horizontalColumns = 0;\n\n /**\n * Font size for list content.\n * Possible values:\n * - `'m'` – medium\n * - `'l'` – large (default)\n */\n @Input() fontSize: 'm' | 'l' = 'l';\n\n /** If content should be centered */\n @Input({ transform: booleanAttribute }) isCentered = false;\n\n /** If the icon should be on the same row as title - for list with icons */\n @Input({ transform: booleanAttribute }) isIconInline = false;\n\n /** Two variants available: icon-list and number-list. */\n @Input() variant: 'icon-list' | 'number-list' | null = null;\n\n /** If this is an icon-list, it can have dividers between each item. */\n @Input({ transform: booleanAttribute }) hasDividers = false;\n\n /** If we have a number-list, the user can set the start of the counter. */\n counterStart = input<number | null>(null);\n\n @ContentChildren(forwardRef(() => EclListIllustrationItemComponent))\n eclIllustrationItems: QueryList<EclListIllustrationItemComponent>;\n\n /**\n * Applies ARIA role for list elements.\n */\n @HostBinding('attr.role') role = 'list';\n\n @HostBinding('style.--ecl-list-illustration-counter-start')\n counterStartStyle = '';\n\n /**\n * Applies the appropriate ECL CSS classes to the host element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [\n super.getCssClasses('ecl-list-illustration'),\n this.isZebra ? 'ecl-list-illustration--zebra' : '',\n this.horizontalColumns > 0 ? `ecl-list-illustration--col-${this.horizontalColumns}` : '',\n this.fontSize === 'm' ? 'ecl-list-illustration--font-m' : '',\n this.isCentered ? 'ecl-list-illustration--centered' : '',\n this.isIconInline ? 'ecl-list-illustration--icon-inline' : '',\n this.variant === 'icon-list' ? 'ecl-list-illustration--icon-list' : '',\n this.variant === 'number-list' ? 'ecl-list-illustration--number-list ecl-list-illustration--number-list-reset': '',\n ]\n .join(' ')\n .trim();\n }\n\n /**\n * Controls `display` style of the host element based on breakpoint and column count.\n */\n @HostBinding('style.display')\n get elementDisplayStyle(): string | null {\n if (this.horizontalColumns > 0 && this.isTabletBreakpoint) {\n return null;\n } else {\n return 'block';\n }\n }\n\n private isTabletBreakpoint = false;\n private cdkBreakpointObserver = inject(BreakpointObserver);\n\n constructor() {\n super();\n afterNextRender(() => {\n this.observeBreakpointChanges();\n });\n effect(() => {\n this.counterStartStyle = this.counterStart()\n ? `${this.counterStart()}`\n : '';\n });\n }\n\n ngAfterContentInit(): void {\n if (this.horizontalColumns === 0) {\n this.eclIllustrationItems?.forEach(item => {\n if (item.hasPicture()) item.isVerticalPicture.set(true);\n });\n }\n\n if (this.variant === 'icon-list' && this.hasDividers) {\n this.eclIllustrationItems?.forEach(item => {\n item.hasDivider.set(true);\n });\n }\n }\n\n private observeBreakpointChanges(): void {\n this.cdkBreakpointObserver\n .observe(['(min-width: 768px)'])\n .subscribe((result) => {\n this.isTabletBreakpoint = result.matches;\n });\n }\n}\n","<ng-content></ng-content>","import { NgModule } from '@angular/core';\nimport { EclListIllustrationIconDirective } from './ecl-list-illustration-icon.directive';\nimport { EclListIllustrationItemComponent } from './ecl-list-illustration-item.component';\nimport { EclListIllustrationImageDirective, EclListIllustrationPictureDirective } from './ecl-list-illustration-picture.directive';\nimport { EclListIllustrationComponent } from './ecl-list-illustration.component';\n\nconst COMPONENTS = [\n EclListIllustrationComponent,\n EclListIllustrationItemComponent,\n EclListIllustrationIconDirective,\n EclListIllustrationPictureDirective,\n EclListIllustrationImageDirective,\n];\n/**\n * Module that provides the EclList component and its dependencies.\n *\n * @deprecated Use {@link EUI_ECL_LIST_ILUSTRATION} instead.\n */\n@NgModule({\n imports: [...COMPONENTS],\n exports: [...COMPONENTS],\n})\nexport class EclListIllustrationModule {}\n","import { EclListIllustrationIconDirective } from './ecl-list-illustration-icon.directive';\nimport { EclListIllustrationItemComponent } from './ecl-list-illustration-item.component';\nimport { EclListIllustrationImageDirective, EclListIllustrationPictureDirective } from './ecl-list-illustration-picture.directive';\nimport { EclListIllustrationComponent } from './ecl-list-illustration.component';\n\nexport * from './ecl-list-illustration-item.component';\nexport * from './ecl-list-illustration-icon.directive';\nexport * from './ecl-list-illustration-picture.directive';\nexport * from './ecl-list-illustration.component';\nexport * from './ecl-list-illustration.module';\n\nexport const EUI_ECL_LIST_ILUSTRATION = [\n EclListIllustrationComponent,\n EclListIllustrationItemComponent,\n EclListIllustrationIconDirective,\n EclListIllustrationPictureDirective,\n EclListIllustrationImageDirective,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;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AAe;;;AE3EhC,MAAM,UAAU,GAAG;IACf,4BAA4B;IAC5B,gCAAgC;IAChC,gCAAgC;IAChC,mCAAmC;IACnC,iCAAiC;CACpC;AACD;;;;AAIG;MAKU,yBAAyB,CAAA;mHAAzB,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAzB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,aAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,yBAAyB,YAflC,4BAA4B;YAC5B,gCAAgC;YAChC,gCAAgC;YAChC,mCAAmC;AACnC,YAAA,iCAAiC,aAJjC,4BAA4B;YAC5B,gCAAgC;YAChC,gCAAgC;YAChC,mCAAmC;YACnC,iCAAiC,CAAA,EAAA,CAAA,CAAA;oHAWxB,yBAAyB,EAAA,CAAA,CAAA;;gGAAzB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAJrC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACxB,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AAC3B,iBAAA;;;ACVM,MAAM,wBAAwB,GAAG;IACpC,4BAA4B;IAC5B,gCAAgC;IAChC,gCAAgC;IAChC,mCAAmC;IACnC,iCAAiC;;;AChBrC;;AAEG;;;;"}
1
+ {"version":3,"file":"eui-ecl-components-ecl-list-illustration.mjs","sources":["../../components/ecl-list-illustration/ecl-list-illustration-icon.directive.ts","../../components/ecl-list-illustration/ecl-list-illustration-picture.directive.ts","../../components/ecl-list-illustration/ecl-list-illustration-item.component.ts","../../components/ecl-list-illustration/ecl-list-illustration-item.component.html","../../components/ecl-list-illustration/ecl-list-illustration.component.ts","../../components/ecl-list-illustration/ecl-list-illustration.component.html","../../components/ecl-list-illustration/index.ts","../../components/ecl-list-illustration/eui-ecl-components-ecl-list-illustration.ts"],"sourcesContent":["import { Directive, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive representing an icon within an ECL illustration list item.\n *\n * Applies the correct ECL class for list item icons.\n */\n@Directive({\n selector: '[eclListIllustrationIcon]',\n})\nexport class EclListIllustrationIconDirective extends ECLBaseDirective {\n /**\n * Applies the ECL class for illustration item icons.\n */\n @HostBinding('class.ecl-list-illustration__icon') className = true;\n}\n","import { ContentChild, Directive, HostBinding, Input, booleanAttribute, forwardRef, AfterContentInit } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive applied to `<picture>` elements within ECL list illustrations.\n *\n * Adds the necessary ECL CSS classes for illustration pictures.\n */\n@Directive({\n selector: 'picture[eclListIllustrationPicture]',\n})\nexport class EclListIllustrationPictureDirective extends ECLBaseDirective implements AfterContentInit {\n\n /**\n * If true, image is styled with square dimensions.\n */\n @Input({ transform: booleanAttribute }) isSquare = false;\n\n @ContentChild(forwardRef(() => EclListIllustrationImageDirective))\n eclIllustrationImage!: EclListIllustrationImageDirective;\n\n /**\n * Applies the base ECL picture classes for list illustration pictures.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-picture ecl-list-illustration__picture'),\n this.isSquare ? 'ecl-list-illustration__picture--square' : '',\n ].join(' ').trim();\n }\n\n ngAfterContentInit(): void {\n this.eclIllustrationImage.isSquare = this.isSquare;\n }\n}\n\n/**\n * Directive applied to `<img>` elements within ECL list illustrations.\n *\n * Supports square variant and size options for image styling.\n */\n@Directive({\n selector: 'img[eclListIllustrationImage]',\n})\nexport class EclListIllustrationImageDirective extends ECLBaseDirective {\n /**\n * If true, image is styled with square dimensions.\n */\n isSquare = false;\n\n /**\n * Defines the size variant of the image.\n * Possible values: `'s'`, `'m'`, `'l'`.\n */\n @Input() size: 's' | 'm' | 'l' = 'm';\n\n /**\n * Computes the appropriate ECL CSS classes for the image.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [\n super.getCssClasses('ecl-list-illustration__image'),\n this.isSquare ? 'ecl-list-illustration__image--square' : '',\n this.isSquare ? `ecl-list-illustration__image--${this.size}` : '',\n ]\n .join(' ')\n .trim();\n }\n}\n","import {\n Component,\n computed,\n ContentChild,\n ContentChildren,\n forwardRef,\n HostBinding,\n Input,\n QueryList,\n Signal,\n signal,\n} from '@angular/core';\nimport { EclListIllustrationIconDirective } from './ecl-list-illustration-icon.directive';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclListIllustrationPictureDirective } from './ecl-list-illustration-picture.directive';\n\n/**\n * Component representing a single item in an ECL illustration list.\n *\n * Displays optional title, value, and one or more illustration icons.\n */\n@Component({\n selector: 'ecl-list-illustration-item',\n templateUrl: './ecl-list-illustration-item.component.html',\n})\nexport class EclListIllustrationItemComponent extends ECLBaseDirective {\n /**\n * Text displayed as the item title.\n */\n @Input() eclTitle = '';\n\n /**\n * Text displayed as the item value.\n */\n @Input() eclValue = '';\n\n /**\n * Applies ARIA role for list items.\n */\n @HostBinding('attr.role') role = 'listitem';\n\n /**\n * Applies ECL class for illustration list item.\n */\n @HostBinding('class.ecl-list-illustration__item') className = true;\n\n @ContentChild(forwardRef(() => EclListIllustrationIconDirective))\n eclIllustrationIcon: EclListIllustrationIconDirective;\n\n @ContentChild(forwardRef(() => EclListIllustrationPictureDirective))\n eclIllustrationPicture: EclListIllustrationPictureDirective;\n\n /** A special class needs to be added, for vertical lists with picture. */\n isVerticalPicture = signal(false);\n\n /** A special class needs to be added, if an icon list has dividers between items. */\n hasDivider = signal(false);\n\n hasPicture: Signal<boolean> = computed(() => this.eclIllustrationPicture !== undefined);\n\n /**\n * Returns `true` if the item has a title or any projected icons.\n */\n get hasTitle(): boolean {\n return Boolean(this.eclTitle) || this.eclIllustrationIcon !== undefined;\n }\n\n /**\n * Returns `true` if the item has a value.\n */\n get hasValue(): boolean {\n return Boolean(this.eclValue);\n }\n}\n","<div class=\"ecl-list-illustration__item-content\" [class.ecl-list-illustration__item-content--row]=\"isVerticalPicture()\"\n [class.ecl-list-illustration__divider]=\"hasDivider()\">\n <ng-content select=\"[eclListIllustrationImage],[eclListIllustrationPicture],[eclListIllustrationIcon]\"></ng-content>\n <div class=\"ecl-list-illustration__detail\">\n @if (hasTitle || hasValue) {\n <div class=\"ecl-list-illustration__title-container\">\n @if (hasValue) {\n <div class=\"ecl-list-illustration__value\">{{ eclValue }}</div>\n }\n <div class=\"ecl-list-illustration__title\">{{ eclTitle }}</div>\n </div>\n }\n\n <div class=\"ecl-list-illustration__description\">\n <ng-content></ng-content>\n </div>\n </div>\n</div>","import { Component, HostBinding, Input, booleanAttribute, numberAttribute, afterNextRender, inject, ContentChildren, forwardRef, QueryList, AfterContentInit, Signal, computed, input, effect } from '@angular/core';\nimport { BreakpointObserver } from '@angular/cdk/layout';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclListIllustrationItemComponent } from './ecl-list-illustration-item.component';\n\n/**\n * Component representing a list using ECL illustration styles.\n *\n * Supports zebra styling, responsive horizontal layout, and font size options.\n */\n@Component({\n selector: 'ecl-list-illustration',\n templateUrl: './ecl-list-illustration.component.html',\n})\nexport class EclListIllustrationComponent extends ECLBaseDirective implements AfterContentInit {\n /**\n * Enables zebra style (alternating background colors for list items).\n */\n @Input({ transform: booleanAttribute }) isZebra = false;\n\n /**\n * Number of horizontal columns. If greater than `0`, items are displayed in a grid layout.\n */\n @Input({ transform: numberAttribute }) horizontalColumns = 0;\n\n /**\n * Font size for list content.\n * Possible values:\n * - `'m'` – medium\n * - `'l'` – large (default)\n */\n @Input() fontSize: 'm' | 'l' = 'l';\n\n /** If content should be centered */\n @Input({ transform: booleanAttribute }) isCentered = false;\n\n /** If the icon should be on the same row as title - for list with icons */\n @Input({ transform: booleanAttribute }) isIconInline = false;\n\n /** Two variants available: icon-list and number-list. */\n @Input() variant: 'icon-list' | 'number-list' | null = null;\n\n /** If this is an icon-list, it can have dividers between each item. */\n @Input({ transform: booleanAttribute }) hasDividers = false;\n\n /** If we have a number-list, the user can set the start of the counter. */\n counterStart = input<number | null>(null);\n\n @ContentChildren(forwardRef(() => EclListIllustrationItemComponent))\n eclIllustrationItems: QueryList<EclListIllustrationItemComponent>;\n\n /**\n * Applies ARIA role for list elements.\n */\n @HostBinding('attr.role') role = 'list';\n\n @HostBinding('style.--ecl-list-illustration-counter-start')\n counterStartStyle = '';\n\n /**\n * Applies the appropriate ECL CSS classes to the host element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [\n super.getCssClasses('ecl-list-illustration'),\n this.isZebra ? 'ecl-list-illustration--zebra' : '',\n this.horizontalColumns > 0 ? `ecl-list-illustration--col-${this.horizontalColumns}` : '',\n this.fontSize === 'm' ? 'ecl-list-illustration--font-m' : '',\n this.isCentered ? 'ecl-list-illustration--centered' : '',\n this.isIconInline ? 'ecl-list-illustration--icon-inline' : '',\n this.variant === 'icon-list' ? 'ecl-list-illustration--icon-list' : '',\n this.variant === 'number-list' ? 'ecl-list-illustration--number-list ecl-list-illustration--number-list-reset': '',\n ]\n .join(' ')\n .trim();\n }\n\n /**\n * Controls `display` style of the host element based on breakpoint and column count.\n */\n @HostBinding('style.display')\n get elementDisplayStyle(): string | null {\n if (this.horizontalColumns > 0 && this.isTabletBreakpoint) {\n return null;\n } else {\n return 'block';\n }\n }\n\n private isTabletBreakpoint = false;\n private cdkBreakpointObserver = inject(BreakpointObserver);\n\n constructor() {\n super();\n afterNextRender(() => {\n this.observeBreakpointChanges();\n });\n effect(() => {\n this.counterStartStyle = this.counterStart()\n ? `${this.counterStart()}`\n : '';\n });\n }\n\n ngAfterContentInit(): void {\n if (this.horizontalColumns === 0) {\n this.eclIllustrationItems?.forEach(item => {\n if (item.hasPicture()) item.isVerticalPicture.set(true);\n });\n }\n\n if (this.variant === 'icon-list' && this.hasDividers) {\n this.eclIllustrationItems?.forEach(item => {\n item.hasDivider.set(true);\n });\n }\n }\n\n private observeBreakpointChanges(): void {\n this.cdkBreakpointObserver\n .observe(['(min-width: 768px)'])\n .subscribe((result) => {\n this.isTabletBreakpoint = result.matches;\n });\n }\n}\n","<ng-content></ng-content>","import { EclListIllustrationIconDirective } from './ecl-list-illustration-icon.directive';\nimport { EclListIllustrationItemComponent } from './ecl-list-illustration-item.component';\nimport { EclListIllustrationImageDirective, EclListIllustrationPictureDirective } from './ecl-list-illustration-picture.directive';\nimport { EclListIllustrationComponent } from './ecl-list-illustration.component';\n\nexport * from './ecl-list-illustration-item.component';\nexport * from './ecl-list-illustration-icon.directive';\nexport * from './ecl-list-illustration-picture.directive';\nexport * from './ecl-list-illustration.component';\n\nexport const EUI_ECL_LIST_ILUSTRATION = [\n EclListIllustrationComponent,\n EclListIllustrationItemComponent,\n EclListIllustrationIconDirective,\n EclListIllustrationPictureDirective,\n EclListIllustrationImageDirective,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAGA;;;;AAIG;AAIG,MAAO,gCAAiC,SAAQ,gBAAgB,CAAA;AAHtE,IAAA,WAAA,GAAA;;AAII;;AAEG;QAC+C,IAAA,CAAA,SAAS,GAAG,IAAI;AACrE,IAAA;8GALY,gCAAgC,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAhC,gCAAgC,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,2BAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,mCAAA,EAAA,gBAAA,EAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAhC,gCAAgC,EAAA,UAAA,EAAA,CAAA;kBAH5C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,2BAA2B;AACxC,iBAAA;;sBAKI,WAAW;u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