@eui/ecl 21.4.0 → 21.4.1-snapshot-1784883186377
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.
- package/assets/i18n-ecl/bg.json +11 -3
- package/assets/i18n-ecl/cs.json +11 -3
- package/assets/i18n-ecl/da.json +11 -3
- package/assets/i18n-ecl/de.json +11 -3
- package/assets/i18n-ecl/el.json +11 -3
- package/assets/i18n-ecl/en.json +11 -3
- package/assets/i18n-ecl/es.json +11 -3
- package/assets/i18n-ecl/et.json +75 -67
- package/assets/i18n-ecl/fi.json +57 -49
- package/assets/i18n-ecl/fr.json +11 -3
- package/assets/i18n-ecl/ga.json +11 -3
- package/assets/i18n-ecl/hr.json +69 -61
- package/assets/i18n-ecl/hu.json +11 -3
- package/assets/i18n-ecl/it.json +11 -3
- package/assets/i18n-ecl/lt.json +105 -97
- package/assets/i18n-ecl/lv.json +11 -3
- package/assets/i18n-ecl/mt.json +11 -3
- package/assets/i18n-ecl/nl.json +11 -3
- package/assets/i18n-ecl/pl.json +113 -105
- package/assets/i18n-ecl/pt.json +11 -3
- package/assets/i18n-ecl/ro.json +11 -3
- package/assets/i18n-ecl/sk.json +11 -3
- package/assets/i18n-ecl/sl.json +58 -50
- package/assets/i18n-ecl/sv.json +102 -94
- package/components/ecl-highlight-box/package.json +4 -0
- package/components/ecl-layout-wrapper/package.json +4 -0
- package/components/ecl-slogan-ticker/package.json +4 -0
- package/docs/changelog.html +47 -0
- package/docs/components/EclAccordionSummaryComponent.html +70 -4
- package/docs/components/EclAddToCalendarComponent.html +2 -117
- package/docs/components/EclAnimatedNumbersComponent.html +21 -3
- package/docs/components/EclAnimatedNumbersItemComponent.html +56 -6
- package/docs/components/EclAppComponent.html +2 -2
- package/docs/components/EclBannerComponent.html +2 -2
- package/docs/components/EclBlockquoteComponent.html +2 -2
- package/docs/components/EclBreadcrumbComponent.html +2 -2
- package/docs/components/EclBreadcrumbSegmentComponent.html +2 -2
- package/docs/components/EclButtonComponent.html +3 -3
- package/docs/components/EclCardBodyComponent.html +2 -2
- package/docs/components/EclCardComponent.html +27 -182
- package/docs/components/EclCarouselComponent.html +2 -2
- package/docs/components/EclCarouselItemComponent.html +2 -2
- package/docs/components/EclCategoryFilterComponent.html +2 -2
- package/docs/components/EclCategoryFilterItemComponent.html +2 -2
- package/docs/components/EclCategoryFilterListComponent.html +2 -2
- package/docs/components/EclCheckboxHelpComponent.html +2 -2
- package/docs/components/EclCheckboxLabelComponent.html +2 -2
- package/docs/components/EclContentBlockComponent.html +2 -2
- package/docs/components/EclContentItemComponent.html +2 -2
- package/docs/components/EclDateBlockComponent.html +2 -2
- package/docs/components/EclDescriptionListDefinitionComponent.html +2 -2
- package/docs/components/EclExpandableComponent.html +2 -2
- package/docs/components/EclFactFiguresComponent.html +96 -94
- package/docs/components/EclFactFiguresItemComponent.html +6 -45
- package/docs/components/EclFactFiguresViewAllComponent.html +6 -45
- package/docs/components/EclFeaturedComponent.html +2 -2
- package/docs/components/EclFeaturedItemComponent.html +2 -2
- package/docs/components/EclFeaturedItemDescriptionComponent.html +2 -2
- package/docs/components/EclFileComponent.html +2 -2
- package/docs/components/EclFileItemComponent.html +2 -2
- package/docs/components/EclFileItemsComponent.html +2 -2
- package/docs/components/EclFileTaxonomyComponent.html +2 -2
- package/docs/components/EclFormGroupComponent.html +2 -2
- package/docs/components/EclFormLabelComponent.html +2 -2
- package/docs/components/EclGalleryComponent.html +2 -2
- package/docs/components/EclGalleryFooterComponent.html +2 -2
- package/docs/components/EclGalleryItemComponent.html +2 -2
- package/docs/components/EclHighlightBoxComponent.html +473 -0
- package/docs/components/EclIconComponent.html +2 -2
- package/docs/components/EclIndicatorComponent-1.html +2 -2
- package/docs/components/EclIndicatorComponent.html +2 -2
- package/docs/components/EclInpageNavigationComponent.html +2 -2
- package/docs/components/EclInpageNavigationItemComponent.html +2 -2
- package/docs/components/EclLayoutWrapperComponent.html +775 -0
- package/docs/components/EclListIllustrationComponent.html +2 -2
- package/docs/components/EclListIllustrationItemComponent.html +2 -2
- package/docs/components/EclLoadingIndicatorComponent.html +2 -2
- package/docs/components/EclMediaContainerComponent.html +2 -2
- package/docs/components/EclMegaMenuComponent.html +2 -2
- package/docs/components/EclMegaMenuFeaturedComponent.html +2 -2
- package/docs/components/EclMegaMenuInfoComponent.html +2 -2
- package/docs/components/EclMegaMenuItemComponent.html +2 -2
- package/docs/components/EclMegaMenuSubitemComponent.html +2 -2
- package/docs/components/EclMenuComponent.html +9 -457
- package/docs/components/EclMenuItemComponent.html +19 -286
- package/docs/components/EclMenuMegaComponent.html +2 -2
- package/docs/components/EclMenuMegaItemComponent.html +2 -2
- package/docs/components/EclModalBodyComponent.html +2 -2
- package/docs/components/EclModalComponent.html +2 -2
- package/docs/components/EclModalFooterComponent.html +2 -2
- package/docs/components/EclModalHeaderComponent.html +2 -2
- package/docs/components/EclMultiselectComponent.html +2 -2
- package/docs/components/EclMultiselectDropdownComponent.html +3 -3
- package/docs/components/EclMultiselectInputComponent.html +2 -2
- package/docs/components/EclMultiselectOptgroupComponent.html +2 -2
- package/docs/components/EclMultiselectOptionComponent.html +2 -2
- package/docs/components/EclNavigationListComponent.html +2 -2
- package/docs/components/EclNavigationListItemComponent.html +2 -2
- package/docs/components/EclNewsTickerComponent.html +2 -2
- package/docs/components/EclNewsTickerItemComponent.html +2 -2
- package/docs/components/EclNotificationComponent.html +2 -2
- package/docs/components/EclPageHeaderComponent.html +2 -2
- package/docs/components/EclPageHeaderDescriptionContainerComponent.html +2 -2
- package/docs/components/EclPageHeaderExpandableComponent.html +2 -2
- package/docs/components/EclPageHeaderNextComponent.html +2 -2
- package/docs/components/EclPageHeaderSectionComponent.html +2 -2
- package/docs/components/EclPageHeaderSectionInfoComponent.html +2 -2
- package/docs/components/EclPageSummaryComponent.html +101 -4
- package/docs/components/EclPaginationComponent.html +2 -2
- package/docs/components/EclPaginationItemComponent.html +2 -2
- package/docs/components/EclPopoverComponent.html +2 -2
- package/docs/components/EclQuizCardComponent.html +46 -622
- package/docs/components/EclQuizComponent.html +45 -826
- package/docs/components/EclRadioHelpComponent.html +2 -2
- package/docs/components/EclRadioLabelComponent.html +2 -2
- package/docs/components/EclRangeBubbleComponent.html +2 -2
- package/docs/components/EclRangeValueComponent.html +2 -2
- package/docs/components/EclRatingFieldComponent.html +2 -2
- package/docs/components/EclSearchFormComponent.html +2 -2
- package/docs/components/EclSelectContainerComponent.html +2 -2
- package/docs/components/EclSiteFooterComponent.html +7 -128
- package/docs/components/EclSiteFooterCoownerComponent.html +2 -2
- package/docs/components/EclSiteFooterCoreComponent.html +2 -2
- package/docs/components/EclSiteFooterFeedbackComponent.html +514 -0
- package/docs/components/EclSiteFooterFixedContentEUComponent.html +2 -2
- package/docs/components/EclSiteFooterRowCommonComponent.html +2 -2
- package/docs/components/EclSiteHeaderActionComponent.html +2 -2
- package/docs/components/EclSiteHeaderBannerTopComponent.html +18 -3
- package/docs/components/EclSiteHeaderComponent.html +2 -2
- package/docs/components/EclSiteHeaderCustomActionComponent.html +2 -2
- package/docs/components/EclSiteHeaderEnvironmentComponent.html +2 -2
- package/docs/components/EclSiteHeaderLanguageComponent.html +2 -2
- package/docs/components/EclSiteHeaderLanguagePopoverComponent.html +2 -2
- package/docs/components/EclSiteHeaderLoginComponent.html +2 -2
- package/docs/components/EclSiteHeaderNotificationComponent.html +2 -2
- package/docs/components/EclSiteHeaderSearchComponent.html +2 -2
- package/docs/components/EclSloganTickerComponent.html +539 -0
- package/docs/components/EclSocialMediaFollowComponent.html +2 -2
- package/docs/components/EclSocialMediaFollowItemComponent.html +2 -2
- package/docs/components/EclSplashPageComponent.html +2 -2
- package/docs/components/EclSplashPageLanguageCategoryComponent.html +2 -2
- package/docs/components/EclSplashPageLanguageContainerComponent.html +2 -2
- package/docs/components/EclSplashPageLanguageLinkComponent.html +2 -2
- package/docs/components/EclSpotlightComponent.html +2 -2
- package/docs/components/EclSpotlightLinkComponent.html +2 -2
- package/docs/components/EclStickyContainerComponent.html +2 -2
- package/docs/components/EclTabComponent.html +2 -2
- package/docs/components/EclTabLabelComponent.html +2 -2
- package/docs/components/EclTableSortButtonComponent.html +2 -2
- package/docs/components/EclTabsComponent.html +2 -2
- package/docs/components/EclTagComponent.html +2 -2
- package/docs/components/EclTextMediaComponent.html +2 -2
- package/docs/components/EclTimelineComponent.html +2 -2
- package/docs/components/EclTimelineItemComponent.html +2 -2
- package/docs/components/EclTimelineItemTogglerComponent.html +2 -2
- package/docs/directives/EclAccordionDirective.html +18 -31
- package/docs/directives/EclAccordionToggleIconDirective.html +261 -0
- package/docs/directives/EclAnimatedNumbersItemsDirective.html +1 -1
- package/docs/directives/EclAnimatedNumbersSourceDirective.html +65 -2
- package/docs/directives/EclAnimatedNumbersSourcesItemDirective.html +1 -1
- package/docs/directives/EclAnimatedNumbersSourcesListDirective.html +1 -1
- package/docs/directives/EclBannerImageDirective.html +39 -59
- package/docs/directives/EclBlockquoteImageDirective.html +0 -4
- package/docs/directives/EclFactFiguresDescriptionDirective.html +0 -43
- package/docs/directives/EclFactFiguresSourceDirective.html +261 -0
- package/docs/directives/EclFactFiguresSourcesItemDirective.html +263 -0
- package/docs/directives/EclFactFiguresSourcesListDirective.html +263 -0
- package/docs/directives/EclHighlightBoxDescriptionDirective.html +261 -0
- package/docs/directives/EclHighlightBoxIconDirective.html +261 -0
- package/docs/directives/EclHighlightBoxLinkDirective.html +261 -0
- package/docs/directives/EclHighlightBoxTitleDirective.html +261 -0
- package/docs/directives/EclLayoutItemDirective.html +400 -0
- package/docs/directives/EclLayoutWrapperDescriptionDirective.html +261 -0
- package/docs/directives/EclLayoutWrapperTitleDirective.html +261 -0
- package/docs/directives/EclLayoutWrapperViewAllDirective.html +261 -0
- package/docs/directives/EclLinkDirective.html +1 -1
- package/docs/directives/EclSiteFooterActionButtonDirective.html +260 -0
- package/docs/directives/EclSiteFooterCoownerListDirective.html +156 -0
- package/docs/directives/EclSiteFooterLinkDirective.html +7 -275
- package/docs/directives/EclSiteFooterLogoImageDirective.html +7 -275
- package/docs/directives/EclSiteFooterLogoLinkDirective.html +7 -275
- package/docs/directives/EclSiteFooterPictureDirective.html +7 -275
- package/docs/directives/EclSloganTickerListDirective.html +267 -0
- package/docs/directives/EclSloganTickerSlideDirective.html +329 -0
- package/docs/js/menu-wc.js +60 -3
- package/docs/js/menu-wc_es5.js +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/docs/json/EclAccordionDirective.md +3 -0
- package/docs/json/EclAccordionSummaryComponent.md +2 -1
- package/docs/json/EclAccordionToggleIconDirective.md +14 -0
- package/docs/json/EclAnimatedNumbersComponent.md +1 -0
- package/docs/json/EclAnimatedNumbersItemComponent.md +5 -3
- package/docs/json/EclAnimatedNumbersItemsDirective.md +1 -1
- package/docs/json/EclAnimatedNumbersSourceDirective.md +2 -1
- package/docs/json/EclAnimatedNumbersSourcesItemDirective.md +1 -1
- package/docs/json/EclAnimatedNumbersSourcesListDirective.md +1 -1
- package/docs/json/EclBannerImageDirective.md +7 -0
- package/docs/json/EclButtonComponent.md +1 -1
- package/docs/json/EclCardComponent.md +2 -1
- package/docs/json/EclFactFiguresComponent.md +1 -0
- package/docs/json/EclFactFiguresSourceDirective.md +14 -0
- package/docs/json/EclFactFiguresSourcesItemDirective.md +16 -0
- package/docs/json/EclFactFiguresSourcesListDirective.md +16 -0
- package/docs/json/EclHighlightBoxComponent.md +17 -0
- package/docs/json/EclHighlightBoxDescriptionDirective.md +11 -0
- package/docs/json/EclHighlightBoxIconDirective.md +11 -0
- package/docs/json/EclHighlightBoxLinkDirective.md +11 -0
- package/docs/json/EclHighlightBoxTitleDirective.md +11 -0
- package/docs/json/EclLayoutItemDirective.md +16 -0
- package/docs/json/EclLayoutWrapperComponent.md +34 -0
- package/docs/json/EclLayoutWrapperDescriptionDirective.md +14 -0
- package/docs/json/EclLayoutWrapperTitleDirective.md +14 -0
- package/docs/json/EclLayoutWrapperViewAllDirective.md +14 -0
- package/docs/json/EclLinkDirective.md +1 -1
- package/docs/json/EclPageSummaryComponent.md +14 -1
- package/docs/json/EclQuizCardComponent.md +1 -1
- package/docs/json/EclQuizComponent.md +2 -0
- package/docs/json/EclSiteFooterActionButtonDirective.md +10 -0
- package/docs/json/EclSiteFooterCoownerListDirective.md +5 -0
- package/docs/json/EclSiteFooterFeedbackComponent.md +27 -0
- package/docs/json/EclSiteFooterLinkDirective.md +0 -5
- package/docs/json/EclSiteFooterLogoImageDirective.md +0 -5
- package/docs/json/EclSiteFooterLogoLinkDirective.md +0 -5
- package/docs/json/EclSiteFooterPictureDirective.md +0 -5
- package/docs/json/EclSiteHeaderBannerTopComponent.md +2 -1
- package/docs/json/EclSloganTickerComponent.md +24 -0
- package/docs/json/EclSloganTickerListDirective.md +21 -0
- package/docs/json/EclSloganTickerSlideDirective.md +19 -0
- package/docs/json/documentation.json +3077 -2566
- package/docs/miscellaneous/variables.html +118 -1
- package/docs/overview.html +2 -2
- package/docs/properties.html +1 -1
- package/fesm2022/eui-ecl-components-ecl-accordion.mjs +59 -25
- package/fesm2022/eui-ecl-components-ecl-accordion.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-add-to-calendar.mjs +5 -11
- package/fesm2022/eui-ecl-components-ecl-add-to-calendar.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-animated-numbers.mjs +35 -21
- package/fesm2022/eui-ecl-components-ecl-animated-numbers.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-banner.mjs +22 -7
- package/fesm2022/eui-ecl-components-ecl-banner.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-blockquote.mjs +0 -1
- package/fesm2022/eui-ecl-components-ecl-blockquote.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-button.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-card.mjs +18 -23
- package/fesm2022/eui-ecl-components-ecl-card.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-fact-figures.mjs +104 -31
- package/fesm2022/eui-ecl-components-ecl-fact-figures.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-highlight-box.mjs +103 -0
- package/fesm2022/eui-ecl-components-ecl-highlight-box.mjs.map +1 -0
- package/fesm2022/eui-ecl-components-ecl-icon.mjs +3 -0
- package/fesm2022/eui-ecl-components-ecl-icon.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-layout-wrapper.mjs +182 -0
- package/fesm2022/eui-ecl-components-ecl-layout-wrapper.mjs.map +1 -0
- package/fesm2022/eui-ecl-components-ecl-link.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs +20 -0
- package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-menu.mjs +40 -74
- package/fesm2022/eui-ecl-components-ecl-menu.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-multiselect.mjs +2 -2
- package/fesm2022/eui-ecl-components-ecl-multiselect.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-navigation-list.mjs +1 -1
- package/fesm2022/eui-ecl-components-ecl-navigation-list.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-page-summary.mjs +30 -6
- package/fesm2022/eui-ecl-components-ecl-page-summary.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-quiz.mjs +257 -145
- package/fesm2022/eui-ecl-components-ecl-quiz.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-site-footer.mjs +103 -78
- package/fesm2022/eui-ecl-components-ecl-site-footer.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-site-header.mjs +11 -3
- package/fesm2022/eui-ecl-components-ecl-site-header.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-slogan-ticker.mjs +320 -0
- package/fesm2022/eui-ecl-components-ecl-slogan-ticker.mjs.map +1 -0
- package/fesm2022/eui-ecl-components-ecl-text-media.mjs +6 -6
- package/fesm2022/eui-ecl-components-ecl-text-media.mjs.map +1 -1
- package/package.json +14 -2
- package/types/eui-ecl-components-ecl-accordion.d.ts +23 -5
- package/types/eui-ecl-components-ecl-accordion.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-add-to-calendar.d.ts +0 -4
- package/types/eui-ecl-components-ecl-add-to-calendar.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-animated-numbers.d.ts +16 -8
- package/types/eui-ecl-components-ecl-animated-numbers.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-banner.d.ts +13 -2
- package/types/eui-ecl-components-ecl-banner.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-blockquote.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-button.d.ts +1 -1
- package/types/eui-ecl-components-ecl-card.d.ts +6 -10
- package/types/eui-ecl-components-ecl-card.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-fact-figures.d.ts +60 -10
- package/types/eui-ecl-components-ecl-fact-figures.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-highlight-box.d.ts +50 -0
- package/types/eui-ecl-components-ecl-highlight-box.d.ts.map +1 -0
- package/types/eui-ecl-components-ecl-icon.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-layout-wrapper.d.ts +109 -0
- package/types/eui-ecl-components-ecl-layout-wrapper.d.ts.map +1 -0
- package/types/eui-ecl-components-ecl-link.d.ts +1 -1
- package/types/eui-ecl-components-ecl-mega-menu.d.ts +6 -0
- package/types/eui-ecl-components-ecl-mega-menu.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-menu.d.ts +3 -10
- package/types/eui-ecl-components-ecl-menu.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-page-summary.d.ts +20 -1
- package/types/eui-ecl-components-ecl-page-summary.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-quiz.d.ts +153 -119
- package/types/eui-ecl-components-ecl-quiz.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-site-footer.d.ts +40 -22
- package/types/eui-ecl-components-ecl-site-footer.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-site-header.d.ts +7 -3
- package/types/eui-ecl-components-ecl-site-header.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-slogan-ticker.d.ts +135 -0
- package/types/eui-ecl-components-ecl-slogan-ticker.d.ts.map +1 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# EclAccordionToggleIconDirective
|
|
2
|
+
|
|
3
|
+
**Type:** directive
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Marks an icon element as the accordion toggle icon.
|
|
8
|
+
Applies the `ecl-accordion__toggle-icon` positioning class.
|
|
9
|
+
|
|
10
|
+
```html
|
|
11
|
+
<ecl-icon eclAccordionToggleIcon icon="chevron-down" size="s"></ecl-icon>
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
**Selector:** `[eclAccordionToggleIcon]`
|
|
@@ -28,6 +28,7 @@ Wraps animated number items and an optional sources footer.
|
|
|
28
28
|
- **hasContentColor**: `undefined` - Applies a colour to the counter values.
|
|
29
29
|
- **hasDarkBackground**: `undefined` - Applies a dark background to the component.
|
|
30
30
|
- **hasLeftBorder**: `undefined` - Adds a left border to the animated number items.
|
|
31
|
+
- **isFullWidth**: `undefined` -
|
|
31
32
|
- **sourcesLabel**: `string` - Label displayed before the sources list.
|
|
32
33
|
- **class**: `string` -
|
|
33
34
|
- **e2eAttr**: `any` -
|
|
@@ -10,24 +10,26 @@ Uses an IntersectionObserver to trigger animation on viewport visibility and
|
|
|
10
10
|
requestAnimationFrame for smooth count-up with cubic ease-out.
|
|
11
11
|
|
|
12
12
|
```html
|
|
13
|
-
<
|
|
13
|
+
<li eclAnimatedNumbersItem
|
|
14
14
|
[eclValue]="'1250'"
|
|
15
15
|
[category]="'Revenue'"
|
|
16
16
|
[prefix]="'€'"
|
|
17
17
|
[suffix]="'billions'"
|
|
18
18
|
[description]="'Annual revenue growth'">
|
|
19
19
|
<ecl-icon eclAnimatedNumbersIcon icon="trend-up" iconSet="phosphor"></ecl-icon>
|
|
20
|
-
</
|
|
20
|
+
</li>
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
**Selector:** `[eclAnimatedNumbersItem]`
|
|
23
|
+
**Selector:** `li[eclAnimatedNumbersItem]`
|
|
24
24
|
|
|
25
25
|
## Inputs
|
|
26
26
|
- **category**: `string` - Category label displayed in the item header.
|
|
27
27
|
- **description**: `string` - Descriptive text displayed below the number.
|
|
28
28
|
- **eclValue**: `string` - The target numeric value to animate to. Accepts strings with non-numeric characters (they are stripped).
|
|
29
29
|
- **prefix**: `string` - Text displayed before the animated number (e.g. '€', 'billion').
|
|
30
|
+
- **prefixLabel**: `string` - Accessible label for the prefix symbol, used for screen readers (e.g. 'M' -> 'million')
|
|
30
31
|
- **suffix**: `string` - Text displayed after the animated number (e.g. '€', 'billions').
|
|
32
|
+
- **suffixLabel**: `string` - Accessible label for the suffix symbol, used for screen readers (e.g. '%' -> 'percent').
|
|
31
33
|
- **class**: `string` -
|
|
32
34
|
- **e2eAttr**: `any` -
|
|
33
35
|
- **tabindex**: `number` -
|
|
@@ -6,9 +6,10 @@
|
|
|
6
6
|
|
|
7
7
|
Marks a link as a source reference within the animated numbers component.
|
|
8
8
|
Applies the `ecl-animated-numbers__source` styling class.
|
|
9
|
+
Automatically adds `ecl-link--inverted` when the parent has a dark background.
|
|
9
10
|
|
|
10
11
|
```html
|
|
11
12
|
<a eclLink eclAnimatedNumbersSource href="/example">Eurostat</a>
|
|
12
13
|
```
|
|
13
14
|
|
|
14
|
-
**Selector:** `[eclAnimatedNumbersSource]`
|
|
15
|
+
**Selector:** `a[eclAnimatedNumbersSource]`
|
|
@@ -7,10 +7,17 @@
|
|
|
7
7
|
Directive applied to the <img> element inside the banner.
|
|
8
8
|
Enables class binding and exposes the element reference.
|
|
9
9
|
|
|
10
|
+
Use the `eclImageAnchor` input to set the CSS custom property `--ecl-image-anchor`
|
|
11
|
+
which controls the focal point of the image.
|
|
12
|
+
|
|
13
|
+
```html
|
|
14
|
+
<img eclBannerImage eclImageAnchor="center" />
|
|
15
|
+
```
|
|
10
16
|
|
|
11
17
|
**Selector:** `img[eclBannerImage]`
|
|
12
18
|
|
|
13
19
|
## Inputs
|
|
20
|
+
- **eclImageAnchor**: `'center' | 'top left' | 'bottom right' | '20% 20%'` - Sets the image anchor point via the `--ecl-image-anchor` CSS custom property. Accepts values 'center', 'top left', 'bottom right', '20% 20%'.
|
|
14
21
|
- **class**: `string` -
|
|
15
22
|
- **e2eAttr**: `any` -
|
|
16
23
|
- **tabindex**: `number` -
|
|
@@ -13,7 +13,7 @@ Supports multiple visual variants and optional icon/indicator content.
|
|
|
13
13
|
|
|
14
14
|
## Inputs
|
|
15
15
|
- **containerStyleClass**: `string` - Optional additional class to apply to the button container.
|
|
16
|
-
- **eclStyle**: `"highlight" | "inverted" | "neutral" | "default"` -
|
|
16
|
+
- **eclStyle**: `"highlight" | "inverted" | "neutral" | "default" | "highlight-inverted"` -
|
|
17
17
|
- **isIconOnly**: `undefined` - Whether the button should be styled as icon-only. When true, the `ecl-button--icon-only` class is applied.
|
|
18
18
|
- **size**: `"s" | "m" | "l"` -
|
|
19
19
|
- **variant**: `"primary" | "secondary" | "tertiary"` - Visual variant of the button. Can be 'primary', 'secondary', 'tertiary', 'cta', 'ghost', or 'ghost-inverted'. Defaults to 'primary'.
|
|
@@ -14,6 +14,7 @@ in a responsive, styled grid layout.
|
|
|
14
14
|
- **columns**: `undefined` - Number of columns in the layout (as string). Default is `'3'`.
|
|
15
15
|
- **fontSize**: `"m" | "l"` - Font size variant. Can be: - `'m'` – medium (smaller text) - `'l'` – large (default)
|
|
16
16
|
- **isCentered**: `undefined` - Whether the content should be centered. Adds `ecl-fact-figures--centered` class when true.
|
|
17
|
+
- **sourcesLabel**: `string` - Label displayed before the sources list. Default is `'Sources:'`.
|
|
17
18
|
- **class**: `string` -
|
|
18
19
|
- **e2eAttr**: `any` -
|
|
19
20
|
- **tabindex**: `number` -
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# EclFactFiguresSourceDirective
|
|
2
|
+
|
|
3
|
+
**Type:** directive
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Marks a link as a source reference within the Fact & Figures component.
|
|
8
|
+
Applies the `ecl-link` and `ecl-fact-figures__source` styling classes.
|
|
9
|
+
|
|
10
|
+
```html
|
|
11
|
+
<a eclLink eclFactFiguresSource href="/example">Eurostat</a>
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
**Selector:** `a[eclFactFiguresSource]`
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# EclFactFiguresSourcesItemDirective
|
|
2
|
+
|
|
3
|
+
**Type:** directive
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Marks a list item as a source entry within the Fact & Figures component.
|
|
8
|
+
Applies the `ecl-fact-figures__sources-item` class.
|
|
9
|
+
|
|
10
|
+
```html
|
|
11
|
+
<li eclFactFiguresSourcesItem>
|
|
12
|
+
<a eclLink eclFactFiguresSource href="/example">Eurostat</a>
|
|
13
|
+
</li>
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
**Selector:** `li[eclFactFiguresSourcesItem]`
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# EclFactFiguresSourcesListDirective
|
|
2
|
+
|
|
3
|
+
**Type:** directive
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Wraps the list of source links in the Fact & Figures component.
|
|
8
|
+
Applies the `ecl-fact-figures__sources-list` class.
|
|
9
|
+
|
|
10
|
+
```html
|
|
11
|
+
<ul eclFactFiguresSourcesList>
|
|
12
|
+
<li eclFactFiguresSourcesItem>...</li>
|
|
13
|
+
</ul>
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
**Selector:** `ul[eclFactFiguresSourcesList]`
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# EclHighlightBoxComponent
|
|
2
|
+
|
|
3
|
+
**Type:** component
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
ECL Highlight Box component.
|
|
8
|
+
Displays a prominent content block with an icon, title, description, and optional link.
|
|
9
|
+
Uses content projection to compose the box from directive-decorated elements.
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
**Selector:** `article[eclHighlightBox]`
|
|
13
|
+
|
|
14
|
+
## Inputs
|
|
15
|
+
- **class**: `string` -
|
|
16
|
+
- **e2eAttr**: `any` -
|
|
17
|
+
- **tabindex**: `number` -
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# EclLayoutItemDirective
|
|
2
|
+
|
|
3
|
+
**Type:** directive
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Directive for individual items inside the layout wrapper grid.
|
|
8
|
+
Wraps each content element (e.g., card) and applies positional CSS classes.
|
|
9
|
+
|
|
10
|
+
The index is automatically assigned by the parent `EclLayoutWrapperComponent`.
|
|
11
|
+
|
|
12
|
+
```html
|
|
13
|
+
<div eclLayoutItem><article eclCard>...</article></div>
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
**Selector:** `[eclLayoutItem]`
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# EclLayoutWrapperComponent
|
|
2
|
+
|
|
3
|
+
**Type:** component
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
ECL Layout Wrapper component.
|
|
8
|
+
Arranges projected content into a responsive grid layout with configurable columns.
|
|
9
|
+
Includes optional title, description, and "view all" link areas.
|
|
10
|
+
|
|
11
|
+
```html
|
|
12
|
+
<section eclLayoutWrapper [columns]="3" direction="horizontal">
|
|
13
|
+
<h2 eclLayoutWrapperTitle>Heading</h2>
|
|
14
|
+
<div eclLayoutWrapperDescription>Description text</div>
|
|
15
|
+
___COMPODOC_EMPTY_LINE___
|
|
16
|
+
<div eclLayoutItem><article eclCard>...</article></div>
|
|
17
|
+
<div eclLayoutItem><article eclCard>...</article></div>
|
|
18
|
+
<div eclLayoutItem><article eclCard>...</article></div>
|
|
19
|
+
___COMPODOC_EMPTY_LINE___
|
|
20
|
+
<a eclLayoutWrapperViewAll eclLink [standalone]="true" icon="arrow-left">View all</a>
|
|
21
|
+
</section>
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
**Selector:** `div[eclLayoutWrapper]`
|
|
25
|
+
|
|
26
|
+
## Inputs
|
|
27
|
+
- **columns**: `undefined` - Number of columns for the grid layout. Accepts 2, 3, or 4. Defaults to 3.
|
|
28
|
+
- **direction**: `"horizontal" | "vertical"` - Flow of items.
|
|
29
|
+
- **forcedColumn**: `undefined` - Force column number instead of dynamic management. Use with caution.
|
|
30
|
+
- **fullHeight**: `undefined` - Display all the elements at full height.
|
|
31
|
+
- **infoPosition**: `"top" | "side"` - Position of the info block (title + description).
|
|
32
|
+
- **class**: `string` -
|
|
33
|
+
- **e2eAttr**: `any` -
|
|
34
|
+
- **tabindex**: `number` -
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# EclLayoutWrapperDescriptionDirective
|
|
2
|
+
|
|
3
|
+
**Type:** directive
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Directive for the layout wrapper description.
|
|
8
|
+
Applies the `ecl-layout-wrapper__description` class to the host element.
|
|
9
|
+
|
|
10
|
+
```html
|
|
11
|
+
<div eclLayoutWrapperDescription>Lorem ipsum...</div>
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
**Selector:** `[eclLayoutWrapperDescription]`
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# EclLayoutWrapperTitleDirective
|
|
2
|
+
|
|
3
|
+
**Type:** directive
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Directive for the layout wrapper title.
|
|
8
|
+
Applies the `ecl-layout-wrapper__title` class to the host element.
|
|
9
|
+
|
|
10
|
+
```html
|
|
11
|
+
<h2 eclLayoutWrapperTitle>Heading</h2>
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
**Selector:** `[eclLayoutWrapperTitle]`
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# EclLayoutWrapperViewAllDirective
|
|
2
|
+
|
|
3
|
+
**Type:** directive
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Directive for the layout wrapper "view all" link.
|
|
8
|
+
Applies the `ecl-layout-wrapper__view-all-link` class to the link element.
|
|
9
|
+
|
|
10
|
+
```html
|
|
11
|
+
<a eclLayoutWrapperViewAll eclLink [standalone]="true" icon="arrow-left">View all</a>
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
**Selector:** `[eclLayoutWrapperViewAll]`
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
- **isIconOnly**: `undefined` - Property to style the component if it consist only of an icon.
|
|
17
17
|
- **isInverted**: `undefined` - Property to style the component as 'inverted' (with dark background). Can be used alone or with 'standalone' variant.
|
|
18
18
|
- **isNoVisited**: `undefined` -
|
|
19
|
-
- **variant**: `"standalone" | "primary" | "secondary" | "primary-neutral" | "primary-highlight"` - With 'variant' property user can add some more specific styling to the <a> component.
|
|
19
|
+
- **variant**: `"standalone" | "primary" | "secondary" | "secondary-neutral" | "primary-neutral" | "primary-highlight"` - With 'variant' property user can add some more specific styling to the <a> component.
|
|
20
20
|
- **class**: `string` -
|
|
21
21
|
- **e2eAttr**: `any` -
|
|
22
22
|
- **tabindex**: `number` -
|
|
@@ -4,9 +4,22 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
ECL Page Summary component.
|
|
7
8
|
|
|
8
|
-
|
|
9
|
+
Displays a page summary section with an optional icon and title.
|
|
10
|
+
|
|
11
|
+
```html
|
|
12
|
+
<section eclPageSummary eclTitle="Page title">
|
|
13
|
+
<p>Summary description content.</p>
|
|
14
|
+
</section>
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Use `<section eclPageSummary>` instead to align with ECL's semantic HTML structure.
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
**Selector:** `ecl-page-summary, section[eclPageSummary]`
|
|
9
21
|
|
|
10
22
|
## Inputs
|
|
11
23
|
- **eclTitle**: `string` -
|
|
12
24
|
- **hasIcon**: `undefined` -
|
|
25
|
+
- **id**: `string` -
|
|
@@ -16,6 +16,8 @@ implementation which also uses Embla internally.
|
|
|
16
16
|
## Inputs
|
|
17
17
|
- **eclDescription**: `string` - Description displayed below the title.
|
|
18
18
|
- **eclTitle**: `string` - Title displayed in the quiz header.
|
|
19
|
+
- **hasBackground**: `undefined` -
|
|
20
|
+
- **isFullWidth**: `undefined` -
|
|
19
21
|
- **variant**: `"poll" | "reveal"` - Quiz variant: 'reveal' for flip cards, 'poll' for multiple choice.
|
|
20
22
|
- **class**: `string` -
|
|
21
23
|
- **e2eAttr**: `any` -
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# EclSiteFooterFeedbackComponent
|
|
2
|
+
|
|
3
|
+
**Type:** component
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Component that renders a feedback/survey section in the site footer.
|
|
8
|
+
The user provides a description text and projects the link (button) content.
|
|
9
|
+
|
|
10
|
+
Usage:
|
|
11
|
+
```html
|
|
12
|
+
<div eclSiteFooterFeedback description="Help us improve our website">
|
|
13
|
+
<a href="/survey" eclLink variant="secondary" isInverted eclSiteFooterActionButton>
|
|
14
|
+
<span eclLinkLabel>Fill in survey</span>
|
|
15
|
+
<ecl-icon iconSet="phosphor" icon="arrow-up-right" size="m"></ecl-icon>
|
|
16
|
+
</a>
|
|
17
|
+
</div>
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
**Selector:** `div[eclSiteFooterFeedback]`
|
|
22
|
+
|
|
23
|
+
## Inputs
|
|
24
|
+
- **description**: `string` - The description text displayed above the link (e.g. "Help us improve our website").
|
|
25
|
+
- **class**: `string` -
|
|
26
|
+
- **e2eAttr**: `any` -
|
|
27
|
+
- **tabindex**: `number` -
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
|
|
8
|
+
This component is used, when we want to show class name (used in standardised variant of site-header).
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
**Selector:** `ecl-site-header-banner-top`
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# EclSloganTickerComponent
|
|
2
|
+
|
|
3
|
+
**Type:** component
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
ECL Slogan Ticker component – renders a continuously auto-scrolling horizontal
|
|
8
|
+
ticker of slogan items. Supports play/pause controls, RTL layouts, and pauses
|
|
9
|
+
when off-screen via IntersectionObserver.
|
|
10
|
+
|
|
11
|
+
Uses Embla Carousel (via embla-carousel-angular) with the auto-scroll plugin
|
|
12
|
+
to match the ECL vanilla implementation.
|
|
13
|
+
|
|
14
|
+
The component clones projected slides internally to ensure the track is wide
|
|
15
|
+
enough for seamless infinite scrolling (matching the vanilla ECL approach).
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
**Selector:** `ecl-slogan-ticker`
|
|
19
|
+
|
|
20
|
+
## Inputs
|
|
21
|
+
- **eclAriaLabel**: `string` - Aria-label for the ticker region.
|
|
22
|
+
- **class**: `string` -
|
|
23
|
+
- **e2eAttr**: `any` -
|
|
24
|
+
- **tabindex**: `number` -
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# EclSloganTickerListDirective
|
|
2
|
+
|
|
3
|
+
**Type:** directive
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Directive applied to the `<ul>` element wrapping slogan ticker slides.
|
|
8
|
+
Provides semantic structure for the ticker content.
|
|
9
|
+
|
|
10
|
+
Usage:
|
|
11
|
+
```html
|
|
12
|
+
<ecl-slogan-ticker>
|
|
13
|
+
<ul eclSloganTickerList>
|
|
14
|
+
<li eclSloganTickerSlide>Slide 1</li>
|
|
15
|
+
<li eclSloganTickerSlide>Slide 2</li>
|
|
16
|
+
</ul>
|
|
17
|
+
</ecl-slogan-ticker>
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
**Selector:** `ul[eclSloganTickerList]`
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# EclSloganTickerSlideDirective
|
|
2
|
+
|
|
3
|
+
**Type:** directive
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Directive marking a single slide item within the ECL Slogan Ticker.
|
|
8
|
+
Applied to `<li>` elements to identify them as ticker slides.
|
|
9
|
+
|
|
10
|
+
The parent `ecl-slogan-ticker` component uses ContentChildren to query these
|
|
11
|
+
directives and clones them in the DOM to ensure seamless looping.
|
|
12
|
+
|
|
13
|
+
Usage:
|
|
14
|
+
```html
|
|
15
|
+
<li eclSloganTickerSlide>GENERATE YOUR OWN ENERGY</li>
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
**Selector:** `li[eclSloganTickerSlide]`
|