@eui/ecl 21.3.2 → 21.3.3-snapshot-1782299250059

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 (226) 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 +66 -67
  9. package/assets/i18n-ecl/fi.json +47 -48
  10. package/assets/i18n-ecl/fr.json +1 -2
  11. package/assets/i18n-ecl/ga.json +3 -4
  12. package/assets/i18n-ecl/hr.json +59 -60
  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 +95 -96
  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 +105 -106
  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 +48 -49
  24. package/assets/i18n-ecl/sv.json +93 -94
  25. package/components/ecl-animated-numbers/package.json +4 -0
  26. package/components/ecl-page-summary/package.json +4 -0
  27. package/components/ecl-text-media/package.json +4 -0
  28. package/docs/changelog.html +32 -0
  29. package/docs/components/EclAccordionSummaryComponent.html +2 -2
  30. package/docs/components/EclAddToCalendarComponent.html +2 -2
  31. package/docs/components/EclAnimatedNumbersComponent.html +625 -0
  32. package/docs/components/EclAnimatedNumbersItemComponent.html +625 -0
  33. package/docs/components/EclAppComponent.html +2 -2
  34. package/docs/components/EclBannerComponent.html +2 -2
  35. package/docs/components/EclBlockquoteComponent.html +2 -2
  36. package/docs/components/EclBreadcrumbComponent.html +2 -2
  37. package/docs/components/EclBreadcrumbSegmentComponent.html +2 -2
  38. package/docs/components/EclButtonComponent.html +2 -2
  39. package/docs/components/EclCardBodyComponent.html +2 -2
  40. package/docs/components/EclCardComponent.html +2 -2
  41. package/docs/components/EclCarouselComponent.html +2 -2
  42. package/docs/components/EclCarouselItemComponent.html +2 -2
  43. package/docs/components/EclCategoryFilterComponent.html +2 -2
  44. package/docs/components/EclCategoryFilterItemComponent.html +2 -2
  45. package/docs/components/EclCategoryFilterListComponent.html +2 -2
  46. package/docs/components/EclCheckboxHelpComponent.html +2 -2
  47. package/docs/components/EclCheckboxLabelComponent.html +2 -2
  48. package/docs/components/EclContentBlockComponent.html +2 -2
  49. package/docs/components/EclContentItemComponent.html +2 -2
  50. package/docs/components/EclDateBlockComponent.html +2 -2
  51. package/docs/components/EclDescriptionListDefinitionComponent.html +2 -2
  52. package/docs/components/EclExpandableComponent.html +2 -2
  53. package/docs/components/EclFactFiguresComponent.html +2 -2
  54. package/docs/components/EclFactFiguresItemComponent.html +2 -2
  55. package/docs/components/EclFactFiguresViewAllComponent.html +2 -2
  56. package/docs/components/EclFeaturedComponent.html +2 -2
  57. package/docs/components/EclFeaturedItemComponent.html +2 -2
  58. package/docs/components/EclFeaturedItemDescriptionComponent.html +2 -2
  59. package/docs/components/EclFileComponent.html +2 -2
  60. package/docs/components/EclFileItemComponent.html +2 -2
  61. package/docs/components/EclFileItemsComponent.html +2 -2
  62. package/docs/components/EclFileTaxonomyComponent.html +2 -2
  63. package/docs/components/EclFormGroupComponent.html +2 -2
  64. package/docs/components/EclFormLabelComponent.html +2 -2
  65. package/docs/components/EclGalleryComponent.html +2 -2
  66. package/docs/components/EclGalleryFooterComponent.html +2 -2
  67. package/docs/components/EclGalleryItemComponent.html +2 -2
  68. package/docs/components/EclIconComponent.html +2 -2
  69. package/docs/components/EclIndicatorComponent-1.html +2 -2
  70. package/docs/components/EclIndicatorComponent.html +2 -2
  71. package/docs/components/EclInpageNavigationComponent.html +2 -2
  72. package/docs/components/EclInpageNavigationItemComponent.html +2 -2
  73. package/docs/components/EclListIllustrationComponent.html +2 -2
  74. package/docs/components/EclListIllustrationItemComponent.html +2 -2
  75. package/docs/components/EclLoadingIndicatorComponent.html +2 -2
  76. package/docs/components/EclMediaContainerComponent.html +189 -103
  77. package/docs/components/EclMegaMenuComponent.html +2 -2
  78. package/docs/components/EclMegaMenuFeaturedComponent.html +2 -2
  79. package/docs/components/EclMegaMenuInfoComponent.html +2 -2
  80. package/docs/components/EclMegaMenuItemComponent.html +2 -2
  81. package/docs/components/EclMegaMenuSubitemComponent.html +2 -2
  82. package/docs/components/EclMenuComponent.html +2 -2
  83. package/docs/components/EclMenuItemComponent.html +2 -2
  84. package/docs/components/EclMenuMegaComponent.html +2 -2
  85. package/docs/components/EclMenuMegaItemComponent.html +2 -2
  86. package/docs/components/EclModalBodyComponent.html +2 -2
  87. package/docs/components/EclModalComponent.html +2 -2
  88. package/docs/components/EclModalFooterComponent.html +2 -2
  89. package/docs/components/EclModalHeaderComponent.html +2 -2
  90. package/docs/components/EclMultiselectComponent.html +2 -2
  91. package/docs/components/EclMultiselectDropdownComponent.html +2 -2
  92. package/docs/components/EclMultiselectInputComponent.html +2 -2
  93. package/docs/components/EclMultiselectOptgroupComponent.html +2 -2
  94. package/docs/components/EclMultiselectOptionComponent.html +2 -2
  95. package/docs/components/EclNavigationListComponent.html +2 -2
  96. package/docs/components/EclNavigationListItemComponent.html +2 -2
  97. package/docs/components/EclNewsTickerComponent.html +2 -2
  98. package/docs/components/EclNewsTickerItemComponent.html +2 -2
  99. package/docs/components/EclNotificationComponent.html +2 -2
  100. package/docs/components/EclPageHeaderComponent.html +2 -2
  101. package/docs/components/EclPageHeaderDescriptionContainerComponent.html +2 -2
  102. package/docs/components/EclPageHeaderExpandableComponent.html +2 -2
  103. package/docs/components/EclPageHeaderNextComponent.html +2 -2
  104. package/docs/components/EclPageHeaderSectionComponent.html +2 -2
  105. package/docs/components/EclPageHeaderSectionInfoComponent.html +2 -2
  106. package/docs/components/EclPageSummaryComponent.html +364 -0
  107. package/docs/components/EclPaginationComponent.html +2 -2
  108. package/docs/components/EclPaginationItemComponent.html +2 -2
  109. package/docs/components/EclPopoverComponent.html +2 -2
  110. package/docs/components/EclQuizCardComponent.html +71 -402
  111. package/docs/components/EclQuizComponent.html +10 -137
  112. package/docs/components/EclRadioHelpComponent.html +2 -2
  113. package/docs/components/EclRadioLabelComponent.html +2 -2
  114. package/docs/components/EclRangeBubbleComponent.html +2 -2
  115. package/docs/components/EclRangeValueComponent.html +2 -2
  116. package/docs/components/EclRatingFieldComponent.html +2 -2
  117. package/docs/components/EclSearchFormComponent.html +2 -2
  118. package/docs/components/EclSelectContainerComponent.html +2 -2
  119. package/docs/components/EclSiteFooterComponent.html +2 -10
  120. package/docs/components/EclSiteFooterCoownerComponent.html +2 -2
  121. package/docs/components/EclSiteFooterCoreComponent.html +2 -2
  122. package/docs/components/EclSiteFooterFixedContentEUComponent.html +2 -2
  123. package/docs/components/EclSiteFooterRowCommonComponent.html +2 -2
  124. package/docs/components/EclSiteHeaderActionComponent.html +2 -2
  125. package/docs/components/EclSiteHeaderBannerTopComponent.html +2 -2
  126. package/docs/components/EclSiteHeaderComponent.html +2 -2
  127. package/docs/components/EclSiteHeaderCustomActionComponent.html +2 -2
  128. package/docs/components/EclSiteHeaderEnvironmentComponent.html +2 -2
  129. package/docs/components/EclSiteHeaderLanguageComponent.html +2 -2
  130. package/docs/components/EclSiteHeaderLanguagePopoverComponent.html +2 -2
  131. package/docs/components/EclSiteHeaderLoginComponent.html +2 -2
  132. package/docs/components/EclSiteHeaderNotificationComponent.html +2 -2
  133. package/docs/components/EclSiteHeaderSearchComponent.html +2 -2
  134. package/docs/components/EclSocialMediaFollowComponent.html +2 -2
  135. package/docs/components/EclSocialMediaFollowItemComponent.html +2 -2
  136. package/docs/components/EclSplashPageComponent.html +2 -2
  137. package/docs/components/EclSplashPageLanguageCategoryComponent.html +2 -2
  138. package/docs/components/EclSplashPageLanguageContainerComponent.html +2 -2
  139. package/docs/components/EclSplashPageLanguageLinkComponent.html +2 -2
  140. package/docs/components/EclSpotlightComponent.html +2 -2
  141. package/docs/components/EclSpotlightLinkComponent.html +2 -2
  142. package/docs/components/EclStickyContainerComponent.html +2 -2
  143. package/docs/components/EclTabComponent.html +2 -2
  144. package/docs/components/EclTabLabelComponent.html +2 -2
  145. package/docs/components/EclTableSortButtonComponent.html +2 -2
  146. package/docs/components/EclTabsComponent.html +2 -2
  147. package/docs/components/EclTagComponent.html +2 -2
  148. package/docs/components/EclTextMediaComponent.html +569 -0
  149. package/docs/components/EclTimelineComponent.html +2 -2
  150. package/docs/components/EclTimelineItemComponent.html +2 -2
  151. package/docs/components/EclTimelineItemTogglerComponent.html +2 -2
  152. package/docs/directives/EclAnimatedNumbersIconDirective.html +261 -0
  153. package/docs/directives/EclAnimatedNumbersItemsDirective.html +263 -0
  154. package/docs/directives/EclAnimatedNumbersSourceDirective.html +261 -0
  155. package/docs/directives/EclAnimatedNumbersSourcesItemDirective.html +263 -0
  156. package/docs/directives/EclAnimatedNumbersSourcesListDirective.html +263 -0
  157. package/docs/directives/EclPageInformationDirective.html +6 -130
  158. package/docs/directives/EclQuizListDirective.html +365 -0
  159. package/docs/directives/EclTextMediaContainerDirective.html +260 -0
  160. package/docs/directives/EclTextMediaDescriptionDirective.html +260 -0
  161. package/docs/directives/EclTextMediaLinkDirective.html +260 -0
  162. package/docs/directives/EclTextMediaMediaAnchorDirective.html +313 -0
  163. package/docs/directives/EclTextMediaMicroTitleDirective.html +260 -0
  164. package/docs/directives/EclTextMediaTitleDirective.html +260 -0
  165. package/docs/js/menu-wc.js +48 -0
  166. package/docs/js/menu-wc_es5.js +1 -1
  167. package/docs/js/search/search_index.js +2 -2
  168. package/docs/json/EclAccordionDirective.md +1 -0
  169. package/docs/json/EclAnimatedNumbersComponent.md +34 -0
  170. package/docs/json/EclAnimatedNumbersIconDirective.md +14 -0
  171. package/docs/json/EclAnimatedNumbersItemComponent.md +33 -0
  172. package/docs/json/EclAnimatedNumbersItemsDirective.md +16 -0
  173. package/docs/json/EclAnimatedNumbersSourceDirective.md +14 -0
  174. package/docs/json/EclAnimatedNumbersSourcesItemDirective.md +16 -0
  175. package/docs/json/EclAnimatedNumbersSourcesListDirective.md +16 -0
  176. package/docs/json/EclMediaContainerComponent.md +1 -0
  177. package/docs/json/EclPageSummaryComponent.md +12 -0
  178. package/docs/json/EclQuizCardComponent.md +2 -3
  179. package/docs/json/EclQuizComponent.md +1 -1
  180. package/docs/json/EclQuizListDirective.md +8 -0
  181. package/docs/json/EclTextMediaComponent.md +18 -0
  182. package/docs/json/EclTextMediaContainerDirective.md +10 -0
  183. package/docs/json/EclTextMediaDescriptionDirective.md +10 -0
  184. package/docs/json/EclTextMediaLinkDirective.md +10 -0
  185. package/docs/json/EclTextMediaMediaAnchorDirective.md +17 -0
  186. package/docs/json/EclTextMediaMicroTitleDirective.md +10 -0
  187. package/docs/json/EclTextMediaTitleDirective.md +10 -0
  188. package/docs/json/documentation.json +1252 -493
  189. package/docs/miscellaneous/variables.html +115 -0
  190. package/docs/overview.html +2 -2
  191. package/docs/properties.html +1 -1
  192. package/fesm2022/eui-ecl-components-ecl-accordion.mjs +1 -0
  193. package/fesm2022/eui-ecl-components-ecl-accordion.mjs.map +1 -1
  194. package/fesm2022/eui-ecl-components-ecl-animated-numbers.mjs +359 -0
  195. package/fesm2022/eui-ecl-components-ecl-animated-numbers.mjs.map +1 -0
  196. package/fesm2022/eui-ecl-components-ecl-link.mjs +6 -1
  197. package/fesm2022/eui-ecl-components-ecl-link.mjs.map +1 -1
  198. package/fesm2022/eui-ecl-components-ecl-media-container.mjs +57 -27
  199. package/fesm2022/eui-ecl-components-ecl-media-container.mjs.map +1 -1
  200. package/fesm2022/eui-ecl-components-ecl-page-information.mjs +6 -14
  201. package/fesm2022/eui-ecl-components-ecl-page-information.mjs.map +1 -1
  202. package/fesm2022/eui-ecl-components-ecl-page-summary.mjs +30 -0
  203. package/fesm2022/eui-ecl-components-ecl-page-summary.mjs.map +1 -0
  204. package/fesm2022/eui-ecl-components-ecl-quiz.mjs +63 -87
  205. package/fesm2022/eui-ecl-components-ecl-quiz.mjs.map +1 -1
  206. package/fesm2022/eui-ecl-components-ecl-site-footer.mjs +4 -4
  207. package/fesm2022/eui-ecl-components-ecl-site-footer.mjs.map +1 -1
  208. package/fesm2022/eui-ecl-components-ecl-text-media.mjs +161 -0
  209. package/fesm2022/eui-ecl-components-ecl-text-media.mjs.map +1 -0
  210. package/package.json +14 -2
  211. package/types/eui-ecl-components-ecl-accordion.d.ts +1 -0
  212. package/types/eui-ecl-components-ecl-accordion.d.ts.map +1 -1
  213. package/types/eui-ecl-components-ecl-animated-numbers.d.ts +165 -0
  214. package/types/eui-ecl-components-ecl-animated-numbers.d.ts.map +1 -0
  215. package/types/eui-ecl-components-ecl-link.d.ts.map +1 -1
  216. package/types/eui-ecl-components-ecl-media-container.d.ts +19 -4
  217. package/types/eui-ecl-components-ecl-media-container.d.ts.map +1 -1
  218. package/types/eui-ecl-components-ecl-page-information.d.ts +0 -6
  219. package/types/eui-ecl-components-ecl-page-information.d.ts.map +1 -1
  220. package/types/eui-ecl-components-ecl-page-summary.d.ts +13 -0
  221. package/types/eui-ecl-components-ecl-page-summary.d.ts.map +1 -0
  222. package/types/eui-ecl-components-ecl-quiz.d.ts +27 -23
  223. package/types/eui-ecl-components-ecl-quiz.d.ts.map +1 -1
  224. package/types/eui-ecl-components-ecl-site-footer.d.ts.map +1 -1
  225. package/types/eui-ecl-components-ecl-text-media.d.ts +69 -0
  226. package/types/eui-ecl-components-ecl-text-media.d.ts.map +1 -0
@@ -14,4 +14,5 @@ in expandable sections.
14
14
  The main class is `ecl-accordion`, which can be extended with additional classes.
15
15
 
16
16
 
17
+
17
18
  **Selector:** `div[eclAccordion]`
@@ -0,0 +1,34 @@
1
+ # EclAnimatedNumbersComponent
2
+
3
+ **Type:** component
4
+
5
+
6
+
7
+ Container component for the ECL Animated Numbers pattern.
8
+ Wraps animated number items and an optional sources footer.
9
+
10
+ ```html
11
+ <div eclAnimatedNumbers [sourcesLabel]="'Sources:'">
12
+ <div eclAnimatedNumbersItems>
13
+ <div eclAnimatedNumbersItem [eclValue]="'213'" [category]="'Revenue'">
14
+ <ecl-icon eclAnimatedNumbersIcon icon="users" iconSet="phosphor"></ecl-icon>
15
+ </div>
16
+ </div>
17
+ <ul eclAnimatedNumbersSourcesList>
18
+ <li eclAnimatedNumbersSourcesItem>
19
+ <a eclLink eclAnimatedNumbersSource href="/example">Eurostat</a>
20
+ </li>
21
+ </ul>
22
+ </div>
23
+ ```
24
+
25
+ **Selector:** `div[eclAnimatedNumbers]`
26
+
27
+ ## Inputs
28
+ - **hasContentColor**: `undefined` - Applies a colour to the counter values.
29
+ - **hasDarkBackground**: `undefined` - Applies a dark background to the component.
30
+ - **hasLeftBorder**: `undefined` - Adds a left border to the animated number items.
31
+ - **sourcesLabel**: `string` - Label displayed before the sources list.
32
+ - **class**: `string` -
33
+ - **e2eAttr**: `any` -
34
+ - **tabindex**: `number` -
@@ -0,0 +1,14 @@
1
+ # EclAnimatedNumbersIconDirective
2
+
3
+ **Type:** directive
4
+
5
+
6
+
7
+ Marks an icon element as the animated number item's icon.
8
+ Applies the `ecl-animated-number__icon` positioning class.
9
+
10
+ ```html
11
+ <ecl-icon eclAnimatedNumbersIcon icon="users" iconSet="phosphor"></ecl-icon>
12
+ ```
13
+
14
+ **Selector:** `[eclAnimatedNumbersIcon]`
@@ -0,0 +1,33 @@
1
+ # EclAnimatedNumbersItemComponent
2
+
3
+ **Type:** component
4
+
5
+
6
+
7
+ Represents an individual animated number item.
8
+ Displays a numeric value that animates from 0 to the target when scrolled into view.
9
+ Uses an IntersectionObserver to trigger animation on viewport visibility and
10
+ requestAnimationFrame for smooth count-up with cubic ease-out.
11
+
12
+ ```html
13
+ <div eclAnimatedNumbersItem
14
+ [eclValue]="'1250'"
15
+ [category]="'Revenue'"
16
+ [prefix]="'€'"
17
+ [suffix]="'billions'"
18
+ [description]="'Annual revenue growth'">
19
+ <ecl-icon eclAnimatedNumbersIcon icon="trend-up" iconSet="phosphor"></ecl-icon>
20
+ </div>
21
+ ```
22
+
23
+ **Selector:** `[eclAnimatedNumbersItem]`
24
+
25
+ ## Inputs
26
+ - **category**: `string` - Category label displayed in the item header.
27
+ - **description**: `string` - Descriptive text displayed below the number.
28
+ - **eclValue**: `string` - The target numeric value to animate to. Accepts strings with non-numeric characters (they are stripped).
29
+ - **prefix**: `string` - Text displayed before the animated number (e.g. '€', 'billion').
30
+ - **suffix**: `string` - Text displayed after the animated number (e.g. '€', 'billions').
31
+ - **class**: `string` -
32
+ - **e2eAttr**: `any` -
33
+ - **tabindex**: `number` -
@@ -0,0 +1,16 @@
1
+ # EclAnimatedNumbersItemsDirective
2
+
3
+ **Type:** directive
4
+
5
+
6
+
7
+ Wraps the grid of animated number items.
8
+ Applies the `ecl-animated-numbers__items` layout class.
9
+
10
+ ```html
11
+ <div eclAnimatedNumbersItems>
12
+ <div eclAnimatedNumbersItem ...></div>
13
+ </div>
14
+ ```
15
+
16
+ **Selector:** `[eclAnimatedNumbersItems]`
@@ -0,0 +1,14 @@
1
+ # EclAnimatedNumbersSourceDirective
2
+
3
+ **Type:** directive
4
+
5
+
6
+
7
+ Marks a link as a source reference within the animated numbers component.
8
+ Applies the `ecl-animated-numbers__source` styling class.
9
+
10
+ ```html
11
+ <a eclLink eclAnimatedNumbersSource href="/example">Eurostat</a>
12
+ ```
13
+
14
+ **Selector:** `[eclAnimatedNumbersSource]`
@@ -0,0 +1,16 @@
1
+ # EclAnimatedNumbersSourcesItemDirective
2
+
3
+ **Type:** directive
4
+
5
+
6
+
7
+ Marks a list item as a source entry.
8
+ Applies the `ecl-animated-numbers__sources-item` class.
9
+
10
+ ```html
11
+ <li eclAnimatedNumbersSourcesItem>
12
+ <a eclLink eclAnimatedNumbersSource href="/example">Eurostat</a>
13
+ </li>
14
+ ```
15
+
16
+ **Selector:** `[eclAnimatedNumbersSourcesItem]`
@@ -0,0 +1,16 @@
1
+ # EclAnimatedNumbersSourcesListDirective
2
+
3
+ **Type:** directive
4
+
5
+
6
+
7
+ Wraps the list of source links.
8
+ Applies the `ecl-animated-numbers__sources-list` class.
9
+
10
+ ```html
11
+ <ul eclAnimatedNumbersSourcesList>
12
+ <li eclAnimatedNumbersSourcesItem>...</li>
13
+ </ul>
14
+ ```
15
+
16
+ **Selector:** `[eclAnimatedNumbersSourcesList]`
@@ -12,6 +12,7 @@ A media container is used to display media items (video, audio, image or other d
12
12
  ## Inputs
13
13
  - **eclAutoplay**: `boolean` - Used for a video only - if the video should play immediately.
14
14
  - **isFullWidth**: `boolean` -
15
+ - **captionPosition**: `"over" | "bottom" | "hidden"` -
15
16
  - **class**: `string` -
16
17
  - **e2eAttr**: `any` -
17
18
  - **tabindex**: `number` -
@@ -0,0 +1,12 @@
1
+ # EclPageSummaryComponent
2
+
3
+ **Type:** component
4
+
5
+
6
+
7
+
8
+ **Selector:** `ecl-page-summary`
9
+
10
+ ## Inputs
11
+ - **eclTitle**: `string` -
12
+ - **hasIcon**: `undefined` -
@@ -10,16 +10,15 @@ For the 'reveal' variant, the entire card is clickable to flip.
10
10
  For the 'poll' variant, individual options trigger the flip.
11
11
 
12
12
 
13
- **Selector:** `div[eclQuizCard]`
13
+ **Selector:** `li[eclQuizCard]`
14
14
 
15
15
  ## Inputs
16
- - **ariaHidden**: `string | null` -
17
- - **isActive**: `boolean` - Whether this card is currently active/visible in the slider.
18
16
  - **answer**: `string` - The answer text displayed on the back of the card. Used in 'reveal' variant or as explanation in 'poll' variant.
19
17
  - **answerTitle**: `string` - The answer title (e.g. "The correct answer is A.") for poll variant.
20
18
  - **category**: `string` - Category label displayed in the card header (poll variant).
21
19
  - **icon**: `string` - Icon name for the card header. Defaults to 'sparkle' for reveal, 'question' for poll.
22
20
  - **iconSize**: `"xs" | "s" | "m" | "l" | "xl" | "2xl"` - Icon size for the card header.
21
+ - **id**: `string` - Unique identifier for the card, used for accessibility attributes. If not provided, a unique ID is generated automatically.
23
22
  - **options**: `Array<{ text: string; match: boolean }>` - Options for the poll variant. Each option has text and a match flag.
24
23
  - **question**: `string` - The question text displayed on the front of the card.
25
24
  - **class**: `string` -
@@ -11,7 +11,7 @@ Uses Embla Carousel (via embla-carousel-angular) to match the ECL vanilla
11
11
  implementation which also uses Embla internally.
12
12
 
13
13
 
14
- **Selector:** `div[eclQuiz]`
14
+ **Selector:** `section[eclQuiz]`
15
15
 
16
16
  ## Inputs
17
17
  - **eclDescription**: `string` - Description displayed below the title.
@@ -0,0 +1,8 @@
1
+ # EclQuizListDirective
2
+
3
+ **Type:** directive
4
+
5
+
6
+
7
+
8
+ **Selector:** `ol[eclQuizList]`
@@ -0,0 +1,18 @@
1
+ # EclTextMediaComponent
2
+
3
+ **Type:** component
4
+
5
+
6
+
7
+ A media container is used to display media items (video, audio, image or other data)
8
+ with text and a caption.
9
+
10
+
11
+ **Selector:** `article[eclTextMedia]`
12
+
13
+ ## Inputs
14
+ - **mediaPosition**: `"left" | "right"` -
15
+ - **variant**: `"default" | "primary"` -
16
+ - **class**: `string` -
17
+ - **e2eAttr**: `any` -
18
+ - **tabindex**: `number` -
@@ -0,0 +1,10 @@
1
+ # EclTextMediaContainerDirective
2
+
3
+ **Type:** directive
4
+
5
+
6
+
7
+ Sets custom class for the `ecl-text-media` component, used within eclTextMedia component.
8
+
9
+
10
+ **Selector:** `ecl-media-container[eclTextMediaContainer]`
@@ -0,0 +1,10 @@
1
+ # EclTextMediaDescriptionDirective
2
+
3
+ **Type:** directive
4
+
5
+
6
+
7
+ Applies styles for the description element.
8
+
9
+
10
+ **Selector:** `div[eclTextMediaDescription]`
@@ -0,0 +1,10 @@
1
+ # EclTextMediaLinkDirective
2
+
3
+ **Type:** directive
4
+
5
+
6
+
7
+ Applies styles for the link element.
8
+
9
+
10
+ **Selector:** `a[eclTextMediaLink]`
@@ -0,0 +1,17 @@
1
+ # EclTextMediaMediaAnchorDirective
2
+
3
+ **Type:** directive
4
+
5
+
6
+
7
+ Sets the `--ecl-image-anchor` CSS custom property for an image used
8
+ within the `ecl-text-media` component.
9
+
10
+ Intended to be used together with `img[eclMediaContainerImage]`
11
+ from the `ecl-media-container` component.
12
+
13
+
14
+ **Selector:** `img[eclTextMediaImgAnchor]`
15
+
16
+ ## Inputs
17
+ - **eclTextMediaImgAnchor**: `"center" | "top left" | "bottom right" | "20% 20%"` -
@@ -0,0 +1,10 @@
1
+ # EclTextMediaMicroTitleDirective
2
+
3
+ **Type:** directive
4
+
5
+
6
+
7
+ Applies styles for the micro title element.
8
+
9
+
10
+ **Selector:** `div[eclTextMediaMicroTitle]`
@@ -0,0 +1,10 @@
1
+ # EclTextMediaTitleDirective
2
+
3
+ **Type:** directive
4
+
5
+
6
+
7
+ Applies styles for the title element.
8
+
9
+
10
+ **Selector:** `div[eclTextMediaTitle]`