@eui/ecl 22.0.0-alpha.1 → 22.0.0-alpha.11
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/docs/changelog.html +548 -0
- package/docs/components/EclCategoryFilterComponent.html +23 -187
- package/docs/components/EclCategoryFilterItemComponent.html +111 -274
- package/docs/components/EclCategoryFilterListComponent.html +9 -225
- package/docs/components/EclDateBlockComponent.html +0 -9
- package/docs/components/EclDescriptionListDefinitionComponent.html +6 -44
- package/docs/components/EclIconComponent.html +1 -1
- package/docs/components/EclListIllustrationComponent.html +0 -171
- package/docs/components/EclListIllustrationItemComponent.html +77 -83
- package/docs/components/EclLoadingIndicatorComponent.html +4 -91
- package/docs/components/EclMegaMenuComponent.html +5 -203
- package/docs/components/EclMegaMenuFeaturedComponent.html +10 -126
- package/docs/components/EclMegaMenuInfoComponent.html +0 -91
- package/docs/components/EclMegaMenuItemComponent.html +38 -115
- package/docs/components/EclMegaMenuSubitemComponent.html +4 -68
- package/docs/components/EclMenuItemComponent.html +46 -0
- package/docs/components/EclSiteFooterRowCommonComponent.html +1 -1
- package/docs/components/EclSiteHeaderLanguageComponent.html +5 -627
- package/docs/components/EclSiteHeaderLanguagePopoverComponent.html +99 -440
- package/docs/components/EclSiteHeaderLoginComponent.html +9 -453
- package/docs/components/EclSiteHeaderSearchComponent.html +18 -470
- package/docs/components/EclSocialMediaFollowComponent.html +28 -39
- package/docs/components/EclSocialMediaFollowItemComponent.html +26 -129
- package/docs/components/EclStoryCardComponent.html +1 -1
- package/docs/directives/ECLClickOutsideDirective.html +3 -0
- package/docs/directives/EclDescriptionListDefinitionItemDirective.html +6 -47
- package/docs/directives/EclDescriptionListDefinitionListDirective.html +0 -116
- package/docs/directives/EclDividerDirective.html +0 -116
- package/docs/directives/EclFileUploadDirective.html +2 -390
- package/docs/directives/EclLabelDirective.html +0 -46
- package/docs/directives/EclLinkDirective.html +0 -39
- package/docs/directives/EclLoadingIndicatorLabelDirective.html +0 -61
- package/docs/directives/EclLoadingIndicatorOverlayDirective.html +0 -45
- package/docs/directives/EclMediaContainerCaptionDirective.html +0 -39
- package/docs/directives/EclMediaContainerCreditDirective.html +0 -39
- package/docs/directives/EclMediaContainerIframeDirective.html +13 -19
- package/docs/directives/EclMediaContainerItemAudioDescriptionDirective.html +0 -39
- package/docs/directives/EclMediaContainerItemDirective.html +0 -39
- package/docs/directives/EclMediaContainerPictureDirective.html +0 -39
- package/docs/directives/EclMegaMenuContainerDirective.html +0 -104
- package/docs/directives/EclMegaMenuFeaturedImageDirective.html +0 -104
- package/docs/directives/EclMegaMenuFeaturedListDirective.html +0 -104
- package/docs/directives/EclMegaMenuFeaturedListItemDescriptionDirective.html +0 -104
- package/docs/directives/EclMegaMenuFeaturedListItemDirective.html +0 -104
- package/docs/directives/EclMegaMenuFeaturedPictureDirective.html +0 -39
- package/docs/directives/EclMegaMenuListDirective.html +0 -104
- package/docs/directives/EclMegaMenuSpacerDirective.html +0 -104
- package/docs/directives/EclMegaMenuSublistDirective.html +0 -165
- package/docs/js/search/search_index.js +2 -2
- package/docs/json/EclIconComponent.md +1 -1
- package/docs/json/EclMediaContainerIframeDirective.md +0 -1
- package/docs/json/EclSiteHeaderLanguagePopoverComponent.md +6 -6
- package/docs/json/EclSiteHeaderSearchComponent.md +1 -0
- package/docs/json/EclSocialMediaFollowComponent.md +1 -0
- package/docs/json/documentation.json +1317 -2896
- package/docs/llms.txt +30 -90
- package/docs/miscellaneous/variables.html +222 -41
- package/docs/properties.html +1 -1
- package/fesm2022/eui-ecl-components-ecl-category-filter.mjs +94 -129
- package/fesm2022/eui-ecl-components-ecl-category-filter.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-date-block.mjs +2 -2
- package/fesm2022/eui-ecl-components-ecl-date-block.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-divider.mjs +6 -13
- package/fesm2022/eui-ecl-components-ecl-divider.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-file-upload.mjs +13 -27
- package/fesm2022/eui-ecl-components-ecl-file-upload.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-icon.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs +55 -9
- package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-label.mjs +6 -6
- package/fesm2022/eui-ecl-components-ecl-label.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-link.mjs +10 -13
- package/fesm2022/eui-ecl-components-ecl-link.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-list-illustration.mjs +19 -30
- package/fesm2022/eui-ecl-components-ecl-list-illustration.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-list.mjs +44 -41
- package/fesm2022/eui-ecl-components-ecl-list.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-loading-indicator.mjs +17 -20
- package/fesm2022/eui-ecl-components-ecl-loading-indicator.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-media-container.mjs +36 -33
- package/fesm2022/eui-ecl-components-ecl-media-container.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs +100 -159
- package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-menu.mjs +16 -3
- package/fesm2022/eui-ecl-components-ecl-menu.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-site-footer.mjs +2 -2
- package/fesm2022/eui-ecl-components-ecl-site-footer.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-site-header.mjs +326 -261
- package/fesm2022/eui-ecl-components-ecl-site-header.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-social-media-follow.mjs +17 -17
- package/fesm2022/eui-ecl-components-ecl-social-media-follow.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-story-card.mjs +2 -2
- package/fesm2022/eui-ecl-components-ecl-story-card.mjs.map +1 -1
- package/package.json +1 -1
- package/types/eui-ecl-components-ecl-category-filter.d.ts +32 -56
- package/types/eui-ecl-components-ecl-category-filter.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-date-block.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-divider.d.ts +0 -4
- package/types/eui-ecl-components-ecl-divider.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-file-upload.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-inpage-navigation.d.ts +25 -0
- package/types/eui-ecl-components-ecl-inpage-navigation.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-label.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-link.d.ts +2 -4
- package/types/eui-ecl-components-ecl-link.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-list-illustration.d.ts +3 -3
- package/types/eui-ecl-components-ecl-list-illustration.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-list.d.ts +9 -12
- package/types/eui-ecl-components-ecl-list.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-loading-indicator.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-media-container.d.ts +7 -2
- package/types/eui-ecl-components-ecl-media-container.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-mega-menu.d.ts +12 -22
- package/types/eui-ecl-components-ecl-mega-menu.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-menu.d.ts +12 -1
- package/types/eui-ecl-components-ecl-menu.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-site-header.d.ts +240 -216
- package/types/eui-ecl-components-ecl-site-header.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-social-media-follow.d.ts +5 -3
- package/types/eui-ecl-components-ecl-social-media-follow.d.ts.map +1 -1
package/docs/llms.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# eui documentation
|
|
2
2
|
|
|
3
|
-
> Generated by compodoc 2.0.0 at 2026-
|
|
3
|
+
> Generated by compodoc 2.0.0 at 2026-09-22T13:57:20.035Z, llm-md export.
|
|
4
4
|
|
|
5
5
|
## Modules
|
|
6
6
|
|
|
@@ -376,10 +376,8 @@ Inputs:
|
|
|
376
376
|
- `tabindex: number`
|
|
377
377
|
|
|
378
378
|
Properties:
|
|
379
|
-
- `
|
|
380
|
-
- `eclCategoryFilterItemsAll: QueryList<EclCategoryFilterItemComponent>`
|
|
379
|
+
- `eclCategoryFilterItemsAll: unknown = contentChildren<EclCategoryFilterItemComponent>( forwardRef(() => EclCategoryFilterItemComponent), { descendants: true } )` — Signal-based query for all descendant category filter items.
|
|
381
380
|
- `eclCategoryList: unknown = contentChild(forwardRef(() => EclCategoryFilterListComponent))`
|
|
382
|
-
- `role: string = 'navigation'` — Defines the ARIA role for the host element. Always set to "navigation".
|
|
383
381
|
|
|
384
382
|
Methods:
|
|
385
383
|
- `getCssClasses(rootClass: string): string`
|
|
@@ -400,11 +398,7 @@ Outputs:
|
|
|
400
398
|
- `itemSelect: EventEmitter = new EventEmitter<EclCategoryFilterItemSelectEvent>()` — Emits when the item is selected by the user (clicked).
|
|
401
399
|
|
|
402
400
|
Properties:
|
|
403
|
-
- `className: unknown = true` — Static class binding for base list item styling.
|
|
404
401
|
- `eclCategoryList: unknown = contentChild(forwardRef(() => EclCategoryFilterListComponent))` — Child list component if the item has nested children.
|
|
405
|
-
- `isCurrent: unknown = false` — Indicates whether the item is currently selected.
|
|
406
|
-
- `isExpanded: unknown = false` — Indicates whether the item is currently expanded (open).
|
|
407
|
-
- `role: string = 'listitem'` — Defines the ARIA role for the list item. Always set to "listitem".
|
|
408
402
|
|
|
409
403
|
Methods:
|
|
410
404
|
- `onItemClick(evt: MouseEvent): void` — Handles user click interaction, updates state and emits selection event. Prevents navigation if no href is defined.
|
|
@@ -421,10 +415,8 @@ Inputs:
|
|
|
421
415
|
- `tabindex: number`
|
|
422
416
|
|
|
423
417
|
Properties:
|
|
424
|
-
- `className: unknown = true` — Adds the base class for the category filter list component.
|
|
425
|
-
- `controls: string` — ARIA attribute that points to the element controlled by this list (if applicable).
|
|
426
418
|
- `eclCategoryFilterItems: unknown = contentChildren<EclCategoryFilterItemComponent>(forwardRef(() => EclCategoryFilterItemComponent))` — List of all category filter items projected inside this list.
|
|
427
|
-
- `
|
|
419
|
+
- `id: string` — ID of this list element, referenced by the parent item's aria-controls.
|
|
428
420
|
|
|
429
421
|
Methods:
|
|
430
422
|
- `updateChildrenItemsLevel(value: number): void` — Propagates the current level to all direct children items.
|
|
@@ -534,7 +526,6 @@ Methods:
|
|
|
534
526
|
|
|
535
527
|
File: `packages/ecl/components/ecl-list/ecl-description-list-definition/ecl-description-list-definition.component.ts`
|
|
536
528
|
Selector: `[eclDescriptionListDefinition]`
|
|
537
|
-
Standalone: yes
|
|
538
529
|
|
|
539
530
|
Description: Component for a definition item within an ECL description list. Supports variants (link, inline, taxonomy, tag) and collapsible functionality with maxVisibleItems control.
|
|
540
531
|
|
|
@@ -545,7 +536,7 @@ Inputs:
|
|
|
545
536
|
- `tabindex: number`
|
|
546
537
|
|
|
547
538
|
Properties:
|
|
548
|
-
- `domReady: unknown = signal(false)` — Signal indicating whether the DOM is ready for manipulation. Set to true after first render to ensure projected
|
|
539
|
+
- `domReady: unknown = signal(false)` — Signal indicating whether the DOM is ready for manipulation. Set to true after first render to ensure the projected exists before the see-more link is inserted into it. Defers DOM writes in the effect.
|
|
549
540
|
- `hasSeeAll: unknown = computed(() => { const max = this.maxVisibleItems(); const total = this.currentItemsNumber(); return !!max && total > 0 && max < total; })` — Computed signal that determines if "See all" link should be shown. Returns true when maxVisibleItems is set and less than total items.
|
|
550
541
|
- `maxVisibleItems: unknown = signal<number | null>(null)` — Maximum number of items to display before showing "See all" link. Controlled by parent EclDescriptionListDirective.
|
|
551
542
|
|
|
@@ -1001,7 +992,7 @@ Inputs:
|
|
|
1001
992
|
- `color: 'inverted' | 'primary' | null = null` — Applies color styling to the icon. Use 'inverted' for icons on dark backgrounds, or 'primary' for emphasis.
|
|
1002
993
|
- `focusable: boolean = false` — Controls whether the icon is focusable via keyboard. Defaults to false .
|
|
1003
994
|
- `icon: string` — Name of the icon to render from the selected set.
|
|
1004
|
-
- `iconSet: 'default' | 'social' | 'social-media' | 'social-media-color' | 'flag' | 'flag-non-members' | 'phosphor' | string = 'default'` — Defines the icon set to use. Available sets: default , social , social-media , flag , or a custom URL prefix. Defaults to 'default' .
|
|
995
|
+
- `iconSet: 'default' | 'social' | 'social-media' | 'social-media-color' | 'flag' | 'flag-non-members' | 'phosphor' | 'phosphor-fill' | string = 'default'` — Defines the icon set to use. Available sets: default , social , social-media , flag , or a custom URL prefix. Defaults to 'default' .
|
|
1005
996
|
- `isFlipHorizontal: boolean = false` — Flips the icon horizontally if set to true .
|
|
1006
997
|
- `role: string = undefined` — ARIA role of the icon. If a title is provided and no role is defined, defaults to 'img' .
|
|
1007
998
|
- `size: '2xs' | 'xs' | 's' | 'm' | 'l' | 'xl' | '2xl' | 'fluid' | string = 'xs'` — Size of the icon. Supported values: '2xs' , 'xs' , 's' , 'm' , 'l' , 'xl' , '2xl' , 'fluid' . Defaults to 'xs' .
|
|
@@ -1187,6 +1178,8 @@ Properties:
|
|
|
1187
1178
|
- `eclIllustrationPicture: unknown = contentChild(forwardRef(() => EclListIllustrationPictureDirective))`
|
|
1188
1179
|
- `hasDivider: unknown = signal(false)` — A special class needs to be added, if an icon list has dividers between items.
|
|
1189
1180
|
- `hasPicture: Signal<boolean> = computed(() => this.eclIllustrationPicture() !== undefined)`
|
|
1181
|
+
- `hasTitle: unknown = computed(() => Boolean(this.eclTitle()) || this.eclIllustrationIcon() !== undefined)` — Returns true if the item has a title or any projected icons.
|
|
1182
|
+
- `hasValue: unknown = computed(() => Boolean(this.eclValue()))` — Returns true if the item has a value.
|
|
1190
1183
|
- `isVerticalPicture: unknown = signal(false)` — A special class needs to be added, for vertical lists with picture.
|
|
1191
1184
|
- `role: string = 'listitem'` — Applies ARIA role for list items.
|
|
1192
1185
|
|
|
@@ -1276,7 +1269,6 @@ Properties:
|
|
|
1276
1269
|
- `isTwoPanels: unknown = false` — If a menu item is expanded and has two panels/levels displayed.
|
|
1277
1270
|
- `menuItems: unknown = contentChildren(forwardRef(() => EclMegaMenuItemComponent), { descendants: true })`
|
|
1278
1271
|
- `overlayStyleTop: number` — Used to position the overlay, when a menu item is expanded.
|
|
1279
|
-
- `role: string = 'navigation'` — The 'role' attribute of the component is set to 'navigation'. should not be changed.
|
|
1280
1272
|
|
|
1281
1273
|
Methods:
|
|
1282
1274
|
- `onClickOutsideMegaMenu(): void` — When clicking outside the menu - close any expanded item.
|
|
@@ -1294,14 +1286,13 @@ Selector: `div[eclMegaMenuFeatured]`
|
|
|
1294
1286
|
Description: This component represents the featured items panel.
|
|
1295
1287
|
|
|
1296
1288
|
Inputs:
|
|
1297
|
-
- `title: string`
|
|
1289
|
+
- `title: string = undefined`
|
|
1298
1290
|
- `titleId: string = undefined`
|
|
1299
1291
|
- `class: string`
|
|
1300
1292
|
- `e2eAttr: any`
|
|
1301
1293
|
- `tabindex: number`
|
|
1302
1294
|
|
|
1303
1295
|
Properties:
|
|
1304
|
-
- `cmpClass: unknown = true`
|
|
1305
1296
|
- `eclMegaMenuFeaturedStyleHeight: number | null = null`
|
|
1306
1297
|
- `featuredItems: unknown = contentChildren(forwardRef(() => EclMegaMenuFeaturedListItemDirective), { descendants: true })`
|
|
1307
1298
|
- `links: unknown = contentChildren(forwardRef(() => EclLinkDirective), { descendants: true })`
|
|
@@ -1369,7 +1360,6 @@ Properties:
|
|
|
1369
1360
|
- `eclMegaMenuSublist: unknown = contentChild(forwardRef(() => EclMegaMenuSublistDirective))` — Element, that holds the sub items of the current menu items.
|
|
1370
1361
|
- `eclMegaMenuSublists: unknown = contentChildren(forwardRef(() => EclMegaMenuSublistDirective), { descendants: true })`
|
|
1371
1362
|
- `el: unknown = inject(ElementRef)`
|
|
1372
|
-
- `hasPopup: unknown = this.hasChildren ? true : null`
|
|
1373
1363
|
- `isCurrent: unknown = false`
|
|
1374
1364
|
- `isExpanded: unknown = false`
|
|
1375
1365
|
- `isMobileBreakpoint: unknown = false`
|
|
@@ -2732,25 +2722,15 @@ Properties:
|
|
|
2732
2722
|
- `isPushLeft: boolean` — This property is used for dropdown positioning on the screen.
|
|
2733
2723
|
- `isPushRight: boolean` — This property is used for dropdown positioning on the screen.
|
|
2734
2724
|
- `isStack: boolean` — This property is used for dropdown positioning on the screen.
|
|
2735
|
-
- `LANGUAGE_MAX_COLUMNS: number = 8`
|
|
2736
2725
|
- `languageArrowPosition: string` — This property is used for dropdown positioning on the screen.
|
|
2737
2726
|
- `languageCode: string = 'en'`
|
|
2738
|
-
- `languageLinkElement: unknown = viewChild('languageLink', { read: ElementRef })` — The link to open the popover dialog.
|
|
2739
|
-
- `languagePopover: unknown = viewChild(EclSiteHeaderLanguagePopoverComponent)` — The language popover, that shows all available languages (configured in the config file of the current site).
|
|
2740
2727
|
- `leftPosition: number`
|
|
2741
|
-
- `MOBILE_BREAKPOINT: number = 768`
|
|
2742
2728
|
- `nonEuColumnsCount: number = 1`
|
|
2743
2729
|
- `nonEuLanguages: EuiLanguage[] = []` — Array of non-EU languages, that can be selected for the current site.
|
|
2744
2730
|
- `rightPosition: number`
|
|
2745
2731
|
|
|
2746
2732
|
Methods:
|
|
2747
|
-
- `getLanguageLabel(): string`
|
|
2748
2733
|
- `hasLanguageCodes(): boolean`
|
|
2749
|
-
- `onClickOutside(): void` — Close the dropdown, when clicking outside of the component.
|
|
2750
|
-
- `onEscapeKeydownHandler(): void` — Close the dropdown, when pressing ESC key.
|
|
2751
|
-
- `onLanguageClick(evt: Event): void` — Toggle the language dropdown when clicking the link, showing the current language.
|
|
2752
|
-
- `onLanguageClosed(evt: EclSiteHeaderLanguageCloseEvent): void`
|
|
2753
|
-
- `onLanguageSelected(evt: EclSiteHeaderLanguageSelectedEvent): void`
|
|
2754
2734
|
- `getCssClasses(rootClass: string): string`
|
|
2755
2735
|
|
|
2756
2736
|
### EclSiteHeaderLanguagePopoverComponent
|
|
@@ -2761,19 +2741,19 @@ Selector: `ecl-site-header-language-popover`
|
|
|
2761
2741
|
Description: This component is a popover, that appears after the user clicks on language link. It contains all the available languages, configured for the current site. Adds styling and functionality for the dialog. Emits events when language is selected and when dialog is closed.
|
|
2762
2742
|
|
|
2763
2743
|
Inputs:
|
|
2764
|
-
- `euLanguages: EuiLanguage[] = []`
|
|
2765
|
-
- `languageArrowPosition: string` — Property to position the arrow of the dialog correctly. Calculated by the parent component 'ecl-site-header-language'.
|
|
2766
|
-
- `languageCode: string` — Current language
|
|
2767
|
-
- `leftPosition: number` — Property to position the dialog correctly. Calculated by the parent component 'ecl-site-header-language'.
|
|
2768
|
-
- `nonEuLanguages: EuiLanguage[] = []`
|
|
2769
|
-
- `rightPosition: number` — Property to position the dialog correctly. Calculated by the parent component 'ecl-site-header-language'.
|
|
2770
2744
|
- `euColumnsCount: number = undefined` — Number of columns for eu languages. Calculated by the parent component 'ecl-site-header-language'.
|
|
2745
|
+
- `euLanguages: EuiLanguage[] = []`
|
|
2771
2746
|
- `isFull: boolean = false` — Property to position the dialog correctly. Calculated by the parent component 'ecl-site-header-language'.
|
|
2772
2747
|
- `isHidden: boolean = false` — Property to show/hide the dialog.
|
|
2773
2748
|
- `isPushLeft: boolean = false` — Property to position the dialog correctly. Calculated by the parent component 'ecl-site-header-language'.
|
|
2774
2749
|
- `isPushRight: boolean = false` — Property to position the dialog correctly. Calculated by the parent component 'ecl-site-header-language'.
|
|
2775
2750
|
- `isStack: boolean = false` — Property to position the dialog correctly. Calculated by the parent component 'ecl-site-header-language'.
|
|
2751
|
+
- `languageArrowPosition: string = undefined` — Property to position the arrow of the dialog correctly. Calculated by the parent component 'ecl-site-header-language'.
|
|
2752
|
+
- `languageCode: string = undefined` — Current language
|
|
2753
|
+
- `leftPosition: number = undefined` — Property to position the dialog correctly. Calculated by the parent component 'ecl-site-header-language'.
|
|
2776
2754
|
- `nonEuColumnsCount: number = undefined` — Number of columns for non-eu languages. Calculated by the parent component 'ecl-site-header-language'.
|
|
2755
|
+
- `nonEuLanguages: EuiLanguage[] = []`
|
|
2756
|
+
- `rightPosition: number = undefined` — Property to position the dialog correctly. Calculated by the parent component 'ecl-site-header-language'.
|
|
2777
2757
|
- `class: string`
|
|
2778
2758
|
- `e2eAttr: any`
|
|
2779
2759
|
- `tabindex: number`
|
|
@@ -2784,10 +2764,8 @@ Outputs:
|
|
|
2784
2764
|
|
|
2785
2765
|
Properties:
|
|
2786
2766
|
- `el: unknown = inject(ElementRef)`
|
|
2787
|
-
- `labelledBy: string = 'ecl-site-header__language-title'`
|
|
2788
2767
|
- `languageContent: unknown = viewChild<ElementRef>('languageContent')` — The div, that wraps all the languages.
|
|
2789
2768
|
- `languageContentMaxHeight: number`
|
|
2790
|
-
- `role: string = 'dialog'` — The role of the dialog is 'dialog'. Should not be changed.
|
|
2791
2769
|
|
|
2792
2770
|
Methods:
|
|
2793
2771
|
- `onCloseClick(): void`
|
|
@@ -2813,17 +2791,9 @@ Outputs:
|
|
|
2813
2791
|
- `login: EclSiteHeaderLoginEvent`
|
|
2814
2792
|
|
|
2815
2793
|
Properties:
|
|
2816
|
-
- `
|
|
2817
|
-
- `isLoginBoxActive: unknown = false` — If login popover is open (true) or closed (false).
|
|
2818
|
-
- `loginArrowPosition: string` — The position of the arrow of the popover.
|
|
2819
|
-
- `loginLinkElement: unknown = viewChild('loginLink', { read: ElementRef })`
|
|
2820
|
-
- `TABLET_BREAKPOINT: number = 996`
|
|
2794
|
+
- `isLoginBoxActive: unknown = false` — If login popover is open (true) or closed (false). Kept public because the parent ecl-site-header resets it directly when the search box opens.
|
|
2821
2795
|
|
|
2822
2796
|
Methods:
|
|
2823
|
-
- `getLoginBoxCssClasses(): string`
|
|
2824
|
-
- `onClickOutsideMegaMenu(): void` — Close the login popover on click outside.
|
|
2825
|
-
- `onLoginBoxToggle(evt: MouseEvent): void`
|
|
2826
|
-
- `onLoginClick(evt: MouseEvent): void`
|
|
2827
2797
|
- `getCssClasses(rootClass: string): string`
|
|
2828
2798
|
|
|
2829
2799
|
### EclSiteHeaderNotificationComponent
|
|
@@ -2863,17 +2833,9 @@ Outputs:
|
|
|
2863
2833
|
- `searchEvent: EclSiteHeaderSearchEvent`
|
|
2864
2834
|
|
|
2865
2835
|
Properties:
|
|
2866
|
-
- `
|
|
2867
|
-
- `isSearchBoxActive: unknown = false`
|
|
2868
|
-
- `role: string = 'search'` — The default role of the component is 'search', should not be changed.
|
|
2869
|
-
- `searchArrowPosition: string` — The arrow position of the serahc dropdown, when in mobile mode.
|
|
2870
|
-
- `searchLinkElement: unknown = viewChild('searchLink', { read: ElementRef })` — The search link element from the view, i.e. the search button.
|
|
2836
|
+
- `isSearchBoxActive: unknown = false` — Whether the search dropdown is open. Kept public because the parent ecl-site-header resets it directly when the login box opens.
|
|
2871
2837
|
|
|
2872
2838
|
Methods:
|
|
2873
|
-
- `getSearchBoxCssClasses(): string`
|
|
2874
|
-
- `onModelChange(newValue: string): void`
|
|
2875
|
-
- `onSearch(evt: EclSearchFormEvent): boolean`
|
|
2876
|
-
- `onSearchBoxToggle(evt: MouseEvent): void`
|
|
2877
2839
|
- `registerOnChange(fn: any): void`
|
|
2878
2840
|
- `registerOnTouched(fn: any): void`
|
|
2879
2841
|
- `writeValue(value: any): void`
|
|
@@ -2904,6 +2866,7 @@ Selector: `ecl-social-media-follow`
|
|
|
2904
2866
|
Inputs:
|
|
2905
2867
|
- `description: string = undefined`
|
|
2906
2868
|
- `horizontalAlignment: 'right' | 'left' | string = 'left'`
|
|
2869
|
+
- `isIconOnly: boolean = false`
|
|
2907
2870
|
- `isVertical: boolean = false`
|
|
2908
2871
|
- `class: string`
|
|
2909
2872
|
- `e2eAttr: any`
|
|
@@ -2933,11 +2896,8 @@ Inputs:
|
|
|
2933
2896
|
Outputs:
|
|
2934
2897
|
- `itemClick: EclSocialMediaFollowItemClickEvent`
|
|
2935
2898
|
|
|
2936
|
-
Properties:
|
|
2937
|
-
- `role: string = 'listitem'`
|
|
2938
|
-
|
|
2939
2899
|
Methods:
|
|
2940
|
-
- `onItemClick(evt:
|
|
2900
|
+
- `onItemClick(evt: Event): void`
|
|
2941
2901
|
- `getCssClasses(rootClass: string): string`
|
|
2942
2902
|
|
|
2943
2903
|
### EclSplashPageComponent
|
|
@@ -4183,8 +4143,8 @@ Inputs:
|
|
|
4183
4143
|
- `tabindex: number`
|
|
4184
4144
|
|
|
4185
4145
|
Properties:
|
|
4186
|
-
- `isHidden: unknown = false` — Internal state used to hide the item when exceeding the visible limit.
|
|
4187
|
-
- `isLastVisible: unknown = false` — Indicates whether this is the last item visible before the "see all" action is triggered.
|
|
4146
|
+
- `isHidden: unknown = signal(false)` — Internal state used to hide the item when exceeding the visible limit.
|
|
4147
|
+
- `isLastVisible: unknown = signal(false)` — Indicates whether this is the last item visible before the "see all" action is triggered.
|
|
4188
4148
|
|
|
4189
4149
|
Methods:
|
|
4190
4150
|
- `getCssClasses(rootClass: string): string`
|
|
@@ -4201,9 +4161,6 @@ Inputs:
|
|
|
4201
4161
|
- `e2eAttr: any`
|
|
4202
4162
|
- `tabindex: number`
|
|
4203
4163
|
|
|
4204
|
-
Properties:
|
|
4205
|
-
- `cmpClass: unknown = true` — Applies the ECL list container class.
|
|
4206
|
-
|
|
4207
4164
|
Methods:
|
|
4208
4165
|
- `getCssClasses(rootClass: string): string`
|
|
4209
4166
|
|
|
@@ -4257,9 +4214,6 @@ Inputs:
|
|
|
4257
4214
|
- `e2eAttr: any`
|
|
4258
4215
|
- `tabindex: number`
|
|
4259
4216
|
|
|
4260
|
-
Properties:
|
|
4261
|
-
- `hasClass: unknown = true` — Binds the ecl-separator CSS class to the host \<hr\> element.
|
|
4262
|
-
|
|
4263
4217
|
Methods:
|
|
4264
4218
|
- `getCssClasses(rootClass: string): string`
|
|
4265
4219
|
|
|
@@ -4751,7 +4705,6 @@ Inputs:
|
|
|
4751
4705
|
- `tabindex: number`
|
|
4752
4706
|
|
|
4753
4707
|
Properties:
|
|
4754
|
-
- `cd: unknown = inject(ChangeDetectorRef)`
|
|
4755
4708
|
- `eclIconComponents: unknown = contentChildren(forwardRef(() => EclIconComponent), { descendants: true })`
|
|
4756
4709
|
- `el: unknown = inject(ElementRef)`
|
|
4757
4710
|
- `renderer: unknown = inject(Renderer2)`
|
|
@@ -4902,7 +4855,6 @@ Selector: `iframe[eclMediaContainerIframe]`
|
|
|
4902
4855
|
Description: Adds styling and attributes to the iframe element.
|
|
4903
4856
|
|
|
4904
4857
|
Inputs:
|
|
4905
|
-
- `ratio: string`
|
|
4906
4858
|
- `height = undefined`
|
|
4907
4859
|
- `width = undefined`
|
|
4908
4860
|
- `class: string`
|
|
@@ -4980,9 +4932,6 @@ Inputs:
|
|
|
4980
4932
|
- `e2eAttr: any`
|
|
4981
4933
|
- `tabindex: number`
|
|
4982
4934
|
|
|
4983
|
-
Properties:
|
|
4984
|
-
- `hasClass: unknown = true`
|
|
4985
|
-
|
|
4986
4935
|
Methods:
|
|
4987
4936
|
- `getCssClasses(rootClass: string): string`
|
|
4988
4937
|
|
|
@@ -4998,9 +4947,6 @@ Inputs:
|
|
|
4998
4947
|
- `e2eAttr: any`
|
|
4999
4948
|
- `tabindex: number`
|
|
5000
4949
|
|
|
5001
|
-
Properties:
|
|
5002
|
-
- `cmpClass: unknown = true`
|
|
5003
|
-
|
|
5004
4950
|
Methods:
|
|
5005
4951
|
- `getCssClasses(rootClass: string): string`
|
|
5006
4952
|
|
|
@@ -5016,9 +4962,6 @@ Inputs:
|
|
|
5016
4962
|
- `e2eAttr: any`
|
|
5017
4963
|
- `tabindex: number`
|
|
5018
4964
|
|
|
5019
|
-
Properties:
|
|
5020
|
-
- `cmpClass: unknown = true`
|
|
5021
|
-
|
|
5022
4965
|
Methods:
|
|
5023
4966
|
- `getCssClasses(rootClass: string): string`
|
|
5024
4967
|
|
|
@@ -5032,9 +4975,6 @@ Inputs:
|
|
|
5032
4975
|
- `e2eAttr: any`
|
|
5033
4976
|
- `tabindex: number`
|
|
5034
4977
|
|
|
5035
|
-
Properties:
|
|
5036
|
-
- `cmpClass: unknown = true`
|
|
5037
|
-
|
|
5038
4978
|
Methods:
|
|
5039
4979
|
- `getCssClasses(rootClass: string): string`
|
|
5040
4980
|
|
|
@@ -5052,9 +4992,6 @@ Inputs:
|
|
|
5052
4992
|
- `e2eAttr: any`
|
|
5053
4993
|
- `tabindex: number`
|
|
5054
4994
|
|
|
5055
|
-
Properties:
|
|
5056
|
-
- `cmpClass: unknown = true`
|
|
5057
|
-
|
|
5058
4995
|
Methods:
|
|
5059
4996
|
- `getEclMegaMenuFeaturedItemHeight(): number`
|
|
5060
4997
|
- `getCssClasses(rootClass: string): string`
|
|
@@ -5086,9 +5023,6 @@ Inputs:
|
|
|
5086
5023
|
- `e2eAttr: any`
|
|
5087
5024
|
- `tabindex: number`
|
|
5088
5025
|
|
|
5089
|
-
Properties:
|
|
5090
|
-
- `cmpClass: unknown = true`
|
|
5091
|
-
|
|
5092
5026
|
Methods:
|
|
5093
5027
|
- `getCssClasses(rootClass: string): string`
|
|
5094
5028
|
|
|
@@ -5104,9 +5038,6 @@ Inputs:
|
|
|
5104
5038
|
- `e2eAttr: any`
|
|
5105
5039
|
- `tabindex: number`
|
|
5106
5040
|
|
|
5107
|
-
Properties:
|
|
5108
|
-
- `cmpClass: unknown = true`
|
|
5109
|
-
|
|
5110
5041
|
Methods:
|
|
5111
5042
|
- `getCssClasses(rootClass: string): string`
|
|
5112
5043
|
|
|
@@ -5126,7 +5057,6 @@ Outputs:
|
|
|
5126
5057
|
- `megaMenuSubItemClicked: EventEmitter = new EventEmitter()`
|
|
5127
5058
|
|
|
5128
5059
|
Properties:
|
|
5129
|
-
- `cmpClass: unknown = true`
|
|
5130
5060
|
- `el: unknown = inject(ElementRef)`
|
|
5131
5061
|
- `isScrollable: unknown = false`
|
|
5132
5062
|
- `spacer: unknown = contentChild(forwardRef(() => EclMegaMenuSpacerDirective))`
|
|
@@ -7635,6 +7565,12 @@ Properties:
|
|
|
7635
7565
|
|
|
7636
7566
|
## Public variables
|
|
7637
7567
|
|
|
7568
|
+
- `ARROW_SIZE: string = '0.5rem'` — Half the arrow's own width, matching ECL's arrowSize .
|
|
7569
|
+
Defined in `packages/ecl/components/ecl-site-header/language/ecl-site-header-language.component.ts`
|
|
7570
|
+
- `ARROW_SIZE: string = '0.5rem'` — Half the arrow's own width, matching ECL's arrowSize .
|
|
7571
|
+
Defined in `packages/ecl/components/ecl-site-header/login/ecl-site-header-login.component.ts`
|
|
7572
|
+
- `ARROW_SIZE: string = '0.5rem'` — Half the arrow's own width, matching ECL's arrowSize .
|
|
7573
|
+
Defined in `packages/ecl/components/ecl-site-header/search/ecl-site-header-search.component.ts`
|
|
7638
7574
|
- `AVAILABLE_NON_EU_LOGO_COUNTRY_CODES: string[] = ['ar', 'ca', 'is', 'jp', 'lb', 'no', 'ru', 'sw', 'tr', 'uk', 'zh'] as const`
|
|
7639
7575
|
Defined in `packages/ecl/core/utils/constants/constants.ts`
|
|
7640
7576
|
- `DEFAULT_LOGO_COUNTRY_CODE: string = 'en'`
|
|
@@ -7801,5 +7737,9 @@ Properties:
|
|
|
7801
7737
|
Defined in `packages/ecl/components/ecl-search-form/ecl-search-form.component.ts`
|
|
7802
7738
|
- `noop: unknown = (): void => { /** empty*/ }`
|
|
7803
7739
|
Defined in `packages/ecl/components/ecl-site-header/search/ecl-site-header-search.component.ts`
|
|
7740
|
+
- `RESIZE_DEBOUNCE: number = 200` — Debounce for the resize recomputation, matching ECL's handleResize .
|
|
7741
|
+
Defined in `packages/ecl/components/ecl-site-header/login/ecl-site-header-login.component.ts`
|
|
7742
|
+
- `RESIZE_DEBOUNCE: number = 200` — Debounce for the resize recomputation, matching ECL's handleResize .
|
|
7743
|
+
Defined in `packages/ecl/components/ecl-site-header/search/ecl-site-header-search.component.ts`
|
|
7804
7744
|
- `testBed: unknown = getTestBed()`
|
|
7805
7745
|
Defined in `packages/ecl/test-setup.ts`
|