@ama-pt/agora-design-system 1.2.3 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. package/artifacts/dist/index.mjs +5900 -7071
  2. package/artifacts/dist/index.mjs.map +1 -1
  3. package/artifacts/dist/index.umd.js +2 -2
  4. package/artifacts/dist/index.umd.js.map +1 -1
  5. package/artifacts/dist/style.css +1 -0
  6. package/artifacts/dist/tailwind.css +40592 -0
  7. package/artifacts/dist/types/components/accordion/accordion.d.ts +20 -0
  8. package/artifacts/dist/types/components/accordion-group/accordion-group.d.ts +1 -6
  9. package/artifacts/dist/types/components/accordion-group/index.d.ts +1 -1
  10. package/artifacts/dist/types/components/cards/card-single/card-single.d.ts +1 -1
  11. package/artifacts/dist/types/components/dropdown/dropdown.d.ts +1 -1
  12. package/artifacts/dist/types/components/footer/federated-footer/federated-footer.d.ts +16 -4
  13. package/artifacts/dist/types/components/footer/public-footer/public-footer-main-plus-card-links.d.ts +3 -0
  14. package/artifacts/dist/types/components/footer/public-footer/public-footer.d.ts +17 -5
  15. package/artifacts/dist/types/components/footer/shared-components/footer-caption-partners.d.ts +1 -0
  16. package/artifacts/dist/types/components/footer/shared-components/footer-social-useful-copyright.d.ts +2 -0
  17. package/artifacts/dist/types/components/header/general-bar/authenticated/authenticated-header.d.ts +5 -0
  18. package/artifacts/dist/types/components/header/header.d.ts +28 -67
  19. package/artifacts/dist/types/components/header/index.d.ts +59 -5
  20. package/artifacts/dist/types/components/{header-v2 → header}/internals/context/data-context/header-data-context.d.ts +14 -14
  21. package/artifacts/dist/types/components/header/internals/context/data-context/header-data-controller.d.ts +3 -0
  22. package/artifacts/dist/types/components/{header-v2 → header}/internals/context/data-context/utils/areas-utils.d.ts +3 -3
  23. package/artifacts/dist/types/components/{header-v2 → header}/internals/context/data-context/utils/authenticated-utils.d.ts +6 -6
  24. package/artifacts/dist/types/components/{header-v2 → header}/internals/context/data-context/utils/brand-utils.d.ts +2 -2
  25. package/artifacts/dist/types/components/{header-v2 → header}/internals/context/data-context/utils/general-utils.d.ts +2 -2
  26. package/artifacts/dist/types/components/{header-v2 → header}/internals/context/data-context/utils/languages-utils.d.ts +4 -4
  27. package/artifacts/dist/types/components/{header-v2 → header}/internals/context/data-context/utils/navigation-utils.d.ts +5 -5
  28. package/artifacts/dist/types/components/{header-v2 → header}/internals/context/data-context/utils/search-utils.d.ts +6 -6
  29. package/artifacts/dist/types/components/{header-v2 → header}/internals/context/data-context/utils/unauthenticated-utils.d.ts +4 -4
  30. package/artifacts/dist/types/components/header/internals/context/external-context/header-external-controller.d.ts +4 -0
  31. package/artifacts/dist/types/components/{header-v2 → header}/internals/context/menu-context/header-menu-context.d.ts +3 -3
  32. package/artifacts/dist/types/components/{header-v2 → header}/internals/general-bar/areas/internal-area.d.ts +1 -1
  33. package/artifacts/dist/types/components/{header-v2 → header}/internals/general-bar/authenticated/internal-authenticated.d.ts +3 -3
  34. package/artifacts/dist/types/components/{header-v2 → header}/internals/general-bar/languages/internal-languages-layout.d.ts +1 -1
  35. package/artifacts/dist/types/components/{header-v2 → header}/internals/general-bar/search/internal-custom-search-layout.d.ts +1 -1
  36. package/artifacts/dist/types/components/{header-v2 → header}/internals/general-bar/search/internal-search-layout.d.ts +1 -1
  37. package/artifacts/dist/types/components/{header-v2 → header}/internals/general-bar/unauthenticated/internal-unauthenticated-layout.d.ts +1 -1
  38. package/artifacts/dist/types/components/{header-v2 → header}/internals/navigation-bar/navigation-burger/internal-navigation-burger-layout.d.ts +1 -1
  39. package/artifacts/dist/types/components/{header-v2 → header}/internals/navigation-bar/navigation-list/internal-navigation-link-layout.d.ts +3 -3
  40. package/artifacts/dist/types/components/{header-v2 → header}/internals/navigation-bar/navigation-modal/internal-modal-content.d.ts +2 -2
  41. package/artifacts/dist/types/components/{header-v2 → header}/internals/navigation-bar/navigation-modal/internal-navigation-modal-layout.d.ts +1 -1
  42. package/artifacts/dist/types/components/index.d.ts +1 -2
  43. package/artifacts/dist/types/components/input-select/input-select.d.ts +7 -0
  44. package/artifacts/dist/types/components/modal-dialog/modal-config.model.d.ts +9 -1
  45. package/artifacts/dist/types/components/modal-dialog/modal-context.d.ts +2 -2
  46. package/artifacts/dist/types/components/ratings/index.d.ts +0 -1
  47. package/artifacts/dist/types/components/sidebar/models/sidebar-variant.type.d.ts +1 -1
  48. package/artifacts/dist/types/components/sidebar/sidebar-item-navigation-mobile/sidebar-item-navigation-mobile.d.ts +1 -1
  49. package/artifacts/dist/types/components/stepper/index.d.ts +4 -0
  50. package/artifacts/dist/types/components/stepper/step.d.ts +18 -0
  51. package/artifacts/dist/types/components/stepper/stepper.d.ts +16 -0
  52. package/artifacts/dist/types/components/table/table.d.ts +1 -5
  53. package/artifacts/dist/types/components/tabs/desktop/tabs-desktop.d.ts +19 -0
  54. package/artifacts/dist/types/components/tabs/mobile/tabs-mobile.d.ts +17 -0
  55. package/artifacts/dist/types/components/tabs/tabs.d.ts +1 -2
  56. package/package.json +24 -24
  57. package/artifacts/dist/index.css +0 -1
  58. package/artifacts/dist/types/components/header/models/BackdropRef.d.ts +0 -5
  59. package/artifacts/dist/types/components/header/models/DrawerContentProps.d.ts +0 -7
  60. package/artifacts/dist/types/components/header/models/DrawerFooterProps.d.ts +0 -4
  61. package/artifacts/dist/types/components/header/models/DrawerMenuItemsProps.d.ts +0 -7
  62. package/artifacts/dist/types/components/header/models/DrawerMenuProps.d.ts +0 -5
  63. package/artifacts/dist/types/components/header/models/HeaderNavigationType.d.ts +0 -1
  64. package/artifacts/dist/types/components/header/models/MenuItemGeneralOptionsProps.d.ts +0 -6
  65. package/artifacts/dist/types/components/header/models/MenuProps.d.ts +0 -10
  66. package/artifacts/dist/types/components/header/models/SearchContentListLinkProps.d.ts +0 -6
  67. package/artifacts/dist/types/components/header/models/SubmenuAlignmentType.d.ts +0 -1
  68. package/artifacts/dist/types/components/header/models/SubmenuItemProps.d.ts +0 -24
  69. package/artifacts/dist/types/components/header/models/SubmenuSearchContentProps.d.ts +0 -12
  70. package/artifacts/dist/types/components/header/models/SubmenuType.d.ts +0 -1
  71. package/artifacts/dist/types/components/header/models/index.d.ts +0 -13
  72. package/artifacts/dist/types/components/header/shared-components/header-burger-navigation/header-burger-navigation.d.ts +0 -5
  73. package/artifacts/dist/types/components/header/shared-components/header-burger-navigation/header-burger-primary-navigation.d.ts +0 -15
  74. package/artifacts/dist/types/components/header/shared-components/header-burger-navigation/header-burger-secondary-navigation.d.ts +0 -17
  75. package/artifacts/dist/types/components/header/shared-components/header-general-options/header-general-options.d.ts +0 -37
  76. package/artifacts/dist/types/components/header/shared-components/header-menu-item-options/header-menu-item-options-links.d.ts +0 -7
  77. package/artifacts/dist/types/components/header/shared-components/header-menu-item-options/header-menu-item-options-search.d.ts +0 -3
  78. package/artifacts/dist/types/components/header/shared-components/header-menu-item-options/header-menu-item-options.d.ts +0 -20
  79. package/artifacts/dist/types/components/header/shared-components/header-navigation/header-navigation.d.ts +0 -38
  80. package/artifacts/dist/types/components/header/utils/close-other-menu.d.ts +0 -1
  81. package/artifacts/dist/types/components/header/utils/handle-click-menu-item.d.ts +0 -4
  82. package/artifacts/dist/types/components/header-v2/general-bar/authenticated/authenticated-header.d.ts +0 -5
  83. package/artifacts/dist/types/components/header-v2/header-v2.d.ts +0 -30
  84. package/artifacts/dist/types/components/header-v2/index.d.ts +0 -58
  85. package/artifacts/dist/types/components/header-v2/internals/context/data-context/header-data-controller.d.ts +0 -3
  86. package/artifacts/dist/types/components/header-v2/internals/context/external-context/header-external-controller.d.ts +0 -4
  87. package/artifacts/dist/types/components/icon/assets/empty-icon.d.ts +0 -4
  88. package/artifacts/dist/types/components/menu-item/index.d.ts +0 -2
  89. package/artifacts/dist/types/components/menu-item/menu-item.d.ts +0 -54
  90. package/artifacts/dist/types/components/ratings/rating-stars/index.d.ts +0 -2
  91. package/artifacts/dist/types/components/ratings/rating-stars/rating-stars.d.ts +0 -66
  92. /package/artifacts/dist/types/components/{header-v2 → header}/brand/brand.d.ts +0 -0
  93. /package/artifacts/dist/types/components/{header-v2 → header}/brand/institutional.d.ts +0 -0
  94. /package/artifacts/dist/types/components/{header-v2 → header}/brand/logo.d.ts +0 -0
  95. /package/artifacts/dist/types/components/{header-v2 → header}/general-bar/areas/area.d.ts +0 -0
  96. /package/artifacts/dist/types/components/{header-v2 → header}/general-bar/areas/areas.d.ts +0 -0
  97. /package/artifacts/dist/types/components/{header-v2 → header}/general-bar/authenticated/authenticated-body-link.d.ts +0 -0
  98. /package/artifacts/dist/types/components/{header-v2 → header}/general-bar/authenticated/authenticated-body.d.ts +0 -0
  99. /package/artifacts/dist/types/components/{header-v2 → header}/general-bar/authenticated/authenticated-footer-action.d.ts +0 -0
  100. /package/artifacts/dist/types/components/{header-v2 → header}/general-bar/authenticated/authenticated-footer.d.ts +0 -0
  101. /package/artifacts/dist/types/components/{header-v2 → header}/general-bar/authenticated/authenticated.d.ts +0 -0
  102. /package/artifacts/dist/types/components/{header-v2 → header}/general-bar/general-bar.d.ts +0 -0
  103. /package/artifacts/dist/types/components/{header-v2 → header}/general-bar/languages/language.d.ts +0 -0
  104. /package/artifacts/dist/types/components/{header-v2 → header}/general-bar/languages/languages.d.ts +0 -0
  105. /package/artifacts/dist/types/components/{header-v2 → header}/general-bar/search/custom-search.d.ts +0 -0
  106. /package/artifacts/dist/types/components/{header-v2 → header}/general-bar/search/default-search.d.ts +0 -0
  107. /package/artifacts/dist/types/components/{header-v2 → header}/general-bar/search/search-input-container.d.ts +0 -0
  108. /package/artifacts/dist/types/components/{header-v2 → header}/general-bar/search/search-related-link.d.ts +0 -0
  109. /package/artifacts/dist/types/components/{header-v2 → header}/general-bar/search/search-related-links-title.d.ts +0 -0
  110. /package/artifacts/dist/types/components/{header-v2 → header}/general-bar/search/search-related-links.d.ts +0 -0
  111. /package/artifacts/dist/types/components/{header-v2 → header}/general-bar/search/search-title.d.ts +0 -0
  112. /package/artifacts/dist/types/components/{header-v2 → header}/general-bar/search/search.d.ts +0 -0
  113. /package/artifacts/dist/types/components/{header-v2 → header}/general-bar/unauthenticated/unauthenticated-link.d.ts +0 -0
  114. /package/artifacts/dist/types/components/{header-v2 → header}/general-bar/unauthenticated/unauthenticated.d.ts +0 -0
  115. /package/artifacts/dist/types/components/{header-v2 → header}/internals/context/menu-context/header-menu-controller.d.ts +0 -0
  116. /package/artifacts/dist/types/components/{header-v2 → header}/internals/context/menu-context/menu-type.enum.d.ts +0 -0
  117. /package/artifacts/dist/types/components/{header-v2 → header}/internals/general-bar/areas/internal-areas.d.ts +0 -0
  118. /package/artifacts/dist/types/components/{header-v2 → header}/internals/general-bar/authenticated/Internal-authenticated-drawer.d.ts +0 -0
  119. /package/artifacts/dist/types/components/{header-v2 → header}/internals/general-bar/authenticated/internal-authenticated-drawer-body.d.ts +0 -0
  120. /package/artifacts/dist/types/components/{header-v2 → header}/internals/general-bar/authenticated/internal-authenticated-drawer-footer.d.ts +0 -0
  121. /package/artifacts/dist/types/components/{header-v2 → header}/internals/general-bar/authenticated/internal-authenticated-drawer-header.d.ts +0 -0
  122. /package/artifacts/dist/types/components/{header-v2 → header}/internals/general-bar/internal-general-bar.d.ts +0 -0
  123. /package/artifacts/dist/types/components/{header-v2 → header}/internals/general-bar/languages/internal-language.d.ts +0 -0
  124. /package/artifacts/dist/types/components/{header-v2 → header}/internals/general-bar/languages/internal-languages.d.ts +0 -0
  125. /package/artifacts/dist/types/components/{header-v2 → header}/internals/general-bar/search/internal-search.d.ts +0 -0
  126. /package/artifacts/dist/types/components/{header-v2 → header}/internals/general-bar/unauthenticated/internal-unauthenticated.d.ts +0 -0
  127. /package/artifacts/dist/types/components/{header-v2 → header}/internals/internal-header.d.ts +0 -0
  128. /package/artifacts/dist/types/components/{header-v2 → header}/internals/navigation-bar/internal-navigation-bar.d.ts +0 -0
  129. /package/artifacts/dist/types/components/{header-v2 → header}/internals/navigation-bar/logo/internal-logo.d.ts +0 -0
  130. /package/artifacts/dist/types/components/{header-v2 → header}/internals/navigation-bar/navigation-burger/internal-navigation-burger-panel.d.ts +0 -0
  131. /package/artifacts/dist/types/components/{header-v2 → header}/internals/navigation-bar/navigation-burger/internal-navigation-burger.d.ts +0 -0
  132. /package/artifacts/dist/types/components/{header-v2 → header}/internals/navigation-bar/navigation-list/internal-navigation-list.d.ts +0 -0
  133. /package/artifacts/dist/types/components/{header-v2 → header}/internals/navigation-bar/navigation-modal/internal-modal-navbar.d.ts +0 -0
  134. /package/artifacts/dist/types/components/{header-v2 → header}/internals/navigation-bar/navigation-modal/internal-navigation-modal.d.ts +0 -0
  135. /package/artifacts/dist/types/components/{header-v2 → header}/internals/shared/custom-header-link/custom-header-link.d.ts +0 -0
  136. /package/artifacts/dist/types/components/{header-v2 → header}/internals/shared/custom-modal/custom-modal-context.d.ts +0 -0
  137. /package/artifacts/dist/types/components/{header-v2 → header}/internals/shared/custom-modal/custom-modal-dialog.d.ts +0 -0
  138. /package/artifacts/dist/types/components/{header-v2 → header}/internals/shared/custom-modal/custom-modal-provider.d.ts +0 -0
  139. /package/artifacts/dist/types/components/{header-v2 → header}/internals/shared/hooks/use-scrolling.d.ts +0 -0
  140. /package/artifacts/dist/types/components/{header-v2 → header}/internals/shared/institutional/internal-institutional.d.ts +0 -0
  141. /package/artifacts/dist/types/components/{header-v2 → header}/internals/shared/modal-menu/modal-menu.d.ts +0 -0
  142. /package/artifacts/dist/types/components/{header-v2 → header}/internals/shared/panel-menu/layout.interface.d.ts +0 -0
  143. /package/artifacts/dist/types/components/{header-v2 → header}/internals/shared/panel-menu/panel-menu.d.ts +0 -0
  144. /package/artifacts/dist/types/components/{header-v2 → header}/navigation-bar/navigation-bar.d.ts +0 -0
  145. /package/artifacts/dist/types/components/{header-v2 → header}/navigation-bar/navigation-link.d.ts +0 -0
  146. /package/artifacts/dist/types/components/{header-v2 → header}/navigation-bar/navigation-root.d.ts +0 -0
  147. /package/artifacts/dist/types/components/{header-v2 → header}/navigation-bar/related-navigation-link.d.ts +0 -0
@@ -6,14 +6,26 @@ export interface AccordionElement extends HTMLDivElement {
6
6
  * Expand the accordion.
7
7
  */
8
8
  expand: () => void;
9
+ /**
10
+ * Expand the accordion without triggering any event (onExpanded and onChange will not be triggered).
11
+ */
12
+ silentExpand: () => void;
9
13
  /**
10
14
  * Collapse the accordion.
11
15
  */
12
16
  collapse: () => void;
17
+ /**
18
+ * Collapse the accordion without triggering any event (onCollapse and onChange will not be triggered).
19
+ */
20
+ silentCollapse: () => void;
13
21
  /**
14
22
  * Toggles the content of the accordion.
15
23
  */
16
24
  toggle: () => void;
25
+ /**
26
+ * Toggles the accordion without triggering any event (onCollapse, onExpanded and onChange will not be triggered).
27
+ */
28
+ silentToggle: () => void;
17
29
  /**
18
30
  * Current value of the expanded state of the accordion.
19
31
  */
@@ -48,9 +60,17 @@ export interface AccordionProps extends ComponentPropsWithRef<'div'> {
48
60
  * Event function called whenever the accordion collapses.
49
61
  */
50
62
  onCollapsed?: (evt: SyntheticEvent<AccordionElement | undefined>) => void | undefined;
63
+ /**
64
+ * Event function called whenever the accordion expands or collapses.
65
+ */
66
+ onChange?: (evt: SyntheticEvent<AccordionElement | undefined>) => void | undefined;
51
67
  /**
52
68
  * Initial value for the expanded value.
53
69
  */
70
+ defaultExpanded?: BooleanProp;
71
+ /**
72
+ * Value for the expanded value.
73
+ */
54
74
  expanded?: BooleanProp;
55
75
  /**
56
76
  * React ref object to the accordion.
@@ -1,15 +1,10 @@
1
1
  import React, { ComponentPropsWithRef, ForwardRefRenderFunction, ReactElement } from 'react';
2
2
  import { AccordionProps } from '../../components/accordion';
3
- export type AccordionGroupType = 'single' | 'multiple';
4
3
  export interface AccordionGroupProps extends ComponentPropsWithRef<'div'> {
5
4
  /**
6
- * List of accordion components to use as children of the group.
5
+ * List of accordion components to use as children of the group.
7
6
  */
8
7
  children?: ReactElement<AccordionProps> | Array<ReactElement<AccordionProps>>;
9
- /**
10
- * Option to open multiple accordions or just one at a time.
11
- */
12
- type?: AccordionGroupType;
13
8
  }
14
9
  export declare const InnerAccordionGroup: ForwardRefRenderFunction<HTMLDivElement, AccordionGroupProps>;
15
10
  export declare const AccordionGroup: React.ForwardRefExoticComponent<Omit<AccordionGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
@@ -1,2 +1,2 @@
1
1
  export { AccordionGroup } from './accordion-group';
2
- export type { AccordionGroupProps, AccordionGroupType } from './accordion-group';
2
+ export type { AccordionGroupProps } from './accordion-group';
@@ -23,7 +23,7 @@ export interface CardSingleProps extends Omit<ComponentPropsWithRef<'div'>, 'tit
23
23
  /**
24
24
  * The title of the card
25
25
  */
26
- title: ReactNode;
26
+ title?: ReactNode;
27
27
  /**
28
28
  * The description of the card
29
29
  */
@@ -1,5 +1,5 @@
1
- import React, { ComponentPropsWithRef, ReactElement, ReactNode } from 'react';
2
1
  import { BooleanProp } from '../../models';
2
+ import React, { ComponentPropsWithRef, ReactElement, ReactNode } from 'react';
3
3
  import { DropdownOptionProps } from './dropdown-option';
4
4
  import { DropdownSectionProps } from './dropdown-section';
5
5
  import { DropdownType } from './dropdown-type';
@@ -3,11 +3,11 @@ import { AnchorHTMLAttributes, FC, ReactNode } from 'react';
3
3
  import './federated-footer.scss';
4
4
  export interface FederatedFooterProps {
5
5
  /**
6
- * Informative card. Links limited to first 3, remaining array is discarded.
6
+ * Informative card. Links limited to first 3, remaining array is discarded.
7
7
  */
8
8
  card?: CardFooterProps;
9
9
  /**
10
- * Image on left side with/without link.
10
+ * Image on left side with/without link.
11
11
  */
12
12
  brandImage: LinkableImagesProps;
13
13
  /**
@@ -19,17 +19,29 @@ export interface FederatedFooterProps {
19
19
  */
20
20
  caption: string | ReactNode;
21
21
  /**
22
- * List of images with or without link. Links limited to first 10, remaining array is discarded.
22
+ * List of images with or without link. Links limited to first 10, remaining array is discarded.
23
23
  */
24
24
  partnersLogos: LinkableImagesProps[];
25
25
  /**
26
- * List of icons with/without link. Links limited to first 10, remaining array is discarded.
26
+ * Accessible text for the partners logos.
27
+ */
28
+ partnersLogosAriaLabel?: string;
29
+ /**
30
+ * List of icons with/without link. Links limited to first 10, remaining array is discarded.
27
31
  */
28
32
  socialsLink?: LinkableIconsProps[];
33
+ /**
34
+ * Accessible text for the social links.
35
+ */
36
+ socialsLinkAriaLabel?: string;
29
37
  /**
30
38
  * List of links. Links limited to first 8, remaining array is discarded.
31
39
  */
32
40
  usefulLinks?: AnchorHTMLAttributes<HTMLAnchorElement>[];
41
+ /**
42
+ * Accessible text for the useful links.
43
+ */
44
+ usefulLinksAriaLabel?: string;
33
45
  copyright: string;
34
46
  }
35
47
  declare const FederatedFooter: FC<FederatedFooterProps>;
@@ -7,8 +7,11 @@ declare const PublicFooterMainPlusCardLinks: FC<{
7
7
  badgeImage?: LinkableImagesProps;
8
8
  caption: string | ReactNode;
9
9
  partnersLogos: LinkableImagesProps[];
10
+ partnersLogosAriaLabel?: string;
10
11
  socialsLink?: LinkableIconsProps[];
12
+ socialsLinkAriaLabel?: string;
11
13
  usefulLinks?: AnchorHTMLAttributes<HTMLAnchorElement>[];
14
+ usefulLinksAriaLabel?: string;
12
15
  copyright: string | ReactNode;
13
16
  cardLinks: CardLinksFooterProps;
14
17
  }>;
@@ -7,16 +7,16 @@ import { LinkableImagesProps } from '../models/LinkableImagesProps';
7
7
  import './public-footer.scss';
8
8
  export interface PublicFooterProps {
9
9
  /**
10
- * Informative card. Links limited to first 3, remaining array is discarded.
10
+ * Informative card. Links limited to first 3, remaining array is discarded.
11
11
  */
12
12
  card?: CardFooterProps;
13
13
  /**
14
- * Contacts limited to first 2, remaining array is discarded.
14
+ * Contacts limited to first 2, remaining array is discarded.
15
15
  */
16
16
  contacts?: ContactsFooterProps[];
17
17
  cardLinks?: CardLinksFooterProps;
18
18
  /**
19
- * Image on left side with/without link.
19
+ * Image on left side with/without link.
20
20
  */
21
21
  brandImage: LinkableImagesProps;
22
22
  /**
@@ -28,17 +28,29 @@ export interface PublicFooterProps {
28
28
  */
29
29
  caption: string | ReactNode;
30
30
  /**
31
- * List of images with or without link. Links limited to first 10, remaining array is discarded.
31
+ * List of images with or without link. Links limited to first 10, remaining array is discarded.
32
32
  */
33
33
  partnersLogos: LinkableImagesProps[];
34
34
  /**
35
- * List of icons with/without link. Links limited to first 10, remaining array is discarded.
35
+ * Accessible text for the partners logos.
36
+ */
37
+ partnersLogosAriaLabel?: string;
38
+ /**
39
+ * List of icons with/without link. Links limited to first 10, remaining array is discarded.
36
40
  */
37
41
  socialsLink?: LinkableIconsProps[];
42
+ /**
43
+ * Accessible text for the social links.
44
+ */
45
+ socialsLinkAriaLabel?: string;
38
46
  /**
39
47
  * List of links. Links limited to first 8, remaining array is discarded.
40
48
  */
41
49
  usefulLinks?: AnchorHTMLAttributes<HTMLAnchorElement>[];
50
+ /**
51
+ * Accessible text for the useful links.
52
+ */
53
+ usefulLinksAriaLabel?: string;
42
54
  copyright: string | ReactNode;
43
55
  }
44
56
  declare const PublicFooter: FC<PublicFooterProps>;
@@ -3,5 +3,6 @@ import { LinkableImagesProps } from '../models/LinkableImagesProps';
3
3
  declare const FooterCaptionPartners: FC<{
4
4
  caption: string | ReactNode;
5
5
  partnersLogos: LinkableImagesProps[];
6
+ partnersLogosAriaLabel?: string;
6
7
  }>;
7
8
  export { FooterCaptionPartners };
@@ -4,5 +4,7 @@ declare const FooterSocialUsefulCopyright: FC<{
4
4
  socialsLink?: LinkableIconsProps[];
5
5
  usefulLinks?: AnchorHTMLAttributes<HTMLAnchorElement>[];
6
6
  copyright: string | ReactNode;
7
+ socialsLinkAriaLabel?: string;
8
+ usefulLinksAriaLabel?: string;
7
9
  }>;
8
10
  export { FooterSocialUsefulCopyright };
@@ -0,0 +1,5 @@
1
+ import { ComponentPropsWithoutRef, FC } from 'react';
2
+ export interface AuthenticatedHeaderProps extends ComponentPropsWithoutRef<'div'> {
3
+ closeAriaLabel?: string;
4
+ }
5
+ export declare const AuthenticatedHeader: FC<AuthenticatedHeaderProps>;
@@ -1,69 +1,30 @@
1
- import { ComponentPropsWithoutRef, FC, MouseEvent, ReactNode } from 'react';
2
- import { MenuItemProps } from '../../components/menu-item';
3
1
  import { BooleanProp } from '../../models';
4
- import './header.scss';
5
- import { HeaderGeneralOptionsProps } from './shared-components/header-general-options/header-general-options';
6
- import { HeaderNavigationProps } from './shared-components/header-navigation/header-navigation';
7
- /**
8
- * @deprecated Deprecated since 1 September 2024. Use HeaderV2 component instead.
9
- */
10
- export interface HeaderProps extends ComponentPropsWithoutRef<'div'> {
11
- /**
12
- * Used to help identify page, SEO and accessibility when in homepage.
13
- * Can be a set of keywords or simple the name of our application.
14
- * When not in homepage, h1 should be on main with the title of the page.
15
- */
16
- headerSEO: string;
17
- /**
18
- * Current page is homepage.
19
- */
20
- isHomepage: BooleanProp;
21
- /**
22
- * Header on darkMode.
23
- */
24
- darkModeHeader: BooleanProp;
25
- /**
26
- * Show/hide general options navigation.
27
- */
28
- hasHeaderGeneralOptions: BooleanProp;
29
- /**
30
- * Configuration headerGeneralOptions.
31
- */
32
- headerGeneralOptions: HeaderGeneralOptionsProps;
33
- /**
34
- * Show/hide header primary navigation.
35
- */
36
- hasHeaderPrimaryNavigation: BooleanProp;
37
- /**
38
- * Configuration headerPrimaryNavigation.
39
- */
40
- headerPrimaryNavigation: HeaderNavigationProps;
41
- /**
42
- * Show/hide header secondary navigation.
43
- */
44
- hasHeaderSecondaryNavigation: BooleanProp;
45
- /**
46
- * Configuration headerSecondaryNavigation.
47
- */
48
- headerSecondaryNavigation: HeaderNavigationProps;
49
- /**
50
- * Configuration of menu burger item.
51
- */
52
- menuBurgerItem: MenuItemProps;
53
- /**
54
- * Has menu burger back button.
55
- */
56
- hasBackButtonBurger?: BooleanProp;
57
- /**
58
- * Menu burger back button label.
59
- */
60
- backButtonLabelBurger?: ReactNode;
61
- /**
62
- * Menu burger handle click.
63
- */
64
- handleBackButtonBurger?: (evt: MouseEvent<HTMLButtonElement>) => void;
2
+ import React, { ComponentPropsWithRef, ReactElement } from 'react';
3
+ import { BrandProps } from './brand/brand';
4
+ import { GeneralBarProps } from './general-bar/general-bar';
5
+ import { NavigationBarProps } from './navigation-bar/navigation-bar';
6
+ export interface HeaderElement extends ComponentPropsWithRef<'div'> {
7
+ focusActiveArea: () => void;
8
+ setActiveArea: (areaValue: string) => void;
9
+ focusLanguages: () => void;
10
+ openLanguages: () => void;
11
+ focusSearch: () => void;
12
+ openSearch: () => void;
13
+ focusUnauthenticated: () => void;
14
+ openUnauthenticated: () => void;
15
+ focusAuthenticated: () => void;
16
+ openAuthenticated: () => void;
17
+ focusBurgerMenu: () => void;
18
+ openBurgerMenu: () => void;
19
+ focusModalMenu: () => void;
20
+ openModalMenu: () => void;
21
+ focusNavigationMenuOption: (index: number) => void;
22
+ openNavigationMenuOption: (index: number) => void;
23
+ closeAll: () => void;
65
24
  }
66
- /**
67
- * @deprecated Deprecated since 1 September 2024. Use HeaderV2 component instead.
68
- */
69
- export declare const Header: FC<HeaderProps>;
25
+ export interface HeaderProps {
26
+ darkMode?: BooleanProp;
27
+ maxNavigationItems?: number;
28
+ children?: ReactElement<BrandProps | GeneralBarProps | NavigationBarProps> | ReactElement<BrandProps | GeneralBarProps | NavigationBarProps>[];
29
+ }
30
+ export declare const Header: React.ForwardRefExoticComponent<HeaderProps & React.RefAttributes<HeaderElement>>;
@@ -1,6 +1,60 @@
1
+ export { Header as HeaderV2 } from './header';
2
+ export type { HeaderElement as HeaderV2Element, HeaderProps as HeaderV2Props } from './header';
1
3
  export { Header } from './header';
2
- export type { HeaderProps } from './header';
3
- export type { HeaderGeneralOptionsProps } from './shared-components/header-general-options/header-general-options';
4
- export type { HeaderNavigationProps } from './shared-components/header-navigation/header-navigation';
5
- export type { HeaderMenuOptionsProps } from './shared-components/header-menu-item-options/header-menu-item-options';
6
- export * from './models';
4
+ export type { HeaderElement, HeaderProps } from './header';
5
+ export { Brand } from './brand/brand';
6
+ export type { BrandProps } from './brand/brand';
7
+ export { Institutional } from './brand/institutional';
8
+ export type { InstitutionalProps } from './brand/institutional';
9
+ export { Logo } from './brand/logo';
10
+ export type { LogoProps } from './brand/logo';
11
+ export { GeneralBar } from './general-bar/general-bar';
12
+ export type { GeneralBarProps } from './general-bar/general-bar';
13
+ export { Areas } from './general-bar/areas/areas';
14
+ export type { AreasProps } from './general-bar/areas/areas';
15
+ export { Area } from './general-bar/areas/area';
16
+ export type { AreaProps } from './general-bar/areas/area';
17
+ export { Authenticated } from './general-bar/authenticated/authenticated';
18
+ export type { AuthenticatedProps } from './general-bar/authenticated/authenticated';
19
+ export { AuthenticatedHeader } from './general-bar/authenticated/authenticated-header';
20
+ export type { AuthenticatedHeaderProps } from './general-bar/authenticated/authenticated-header';
21
+ export { AuthenticatedBody } from './general-bar/authenticated/authenticated-body';
22
+ export type { AuthenticatedBodyProps } from './general-bar/authenticated/authenticated-body';
23
+ export { AuthenticatedBodyLink } from './general-bar/authenticated/authenticated-body-link';
24
+ export type { AuthenticatedBodyLinkProps } from './general-bar/authenticated/authenticated-body-link';
25
+ export { AuthenticatedFooter } from './general-bar/authenticated/authenticated-footer';
26
+ export type { AuthenticatedFooterProps } from './general-bar/authenticated/authenticated-footer';
27
+ export { AuthenticatedFooterAction } from './general-bar/authenticated/authenticated-footer-action';
28
+ export type { AuthenticatedFooterActionProps } from './general-bar/authenticated/authenticated-footer-action';
29
+ export { Languages } from './general-bar/languages/languages';
30
+ export type { LanguagesProps } from './general-bar/languages/languages';
31
+ export { Language } from './general-bar/languages/language';
32
+ export type { LanguageProps } from './general-bar/languages/language';
33
+ export { Unauthenticated } from './general-bar/unauthenticated/unauthenticated';
34
+ export type { UnauthenticatedProps } from './general-bar/unauthenticated/unauthenticated';
35
+ export { UnauthenticatedLink } from './general-bar/unauthenticated/unauthenticated-link';
36
+ export type { UnauthenticatedLinkProps } from './general-bar/unauthenticated/unauthenticated-link';
37
+ export { Search } from './general-bar/search/search';
38
+ export type { SearchProps } from './general-bar/search/search';
39
+ export { DefaultSearch } from './general-bar/search/default-search';
40
+ export type { DefaultSearchProps } from './general-bar/search/default-search';
41
+ export { SearchTitle } from './general-bar/search/search-title';
42
+ export type { SearchTitleProps } from './general-bar/search/search-title';
43
+ export { SearchInputContainer } from './general-bar/search/search-input-container';
44
+ export type { SearchInputContainerProps } from './general-bar/search/search-input-container';
45
+ export { SearchRelatedLinks } from './general-bar/search/search-related-links';
46
+ export type { SearchRelatedLinksProps } from './general-bar/search/search-related-links';
47
+ export { SearchRelatedLinksTitle } from './general-bar/search/search-related-links-title';
48
+ export type { SearchRelatedLinksTitleProps } from './general-bar/search/search-related-links-title';
49
+ export { SearchRelatedLink } from './general-bar/search/search-related-link';
50
+ export type { SearchRelatedLinkProps } from './general-bar/search/search-related-link';
51
+ export { CustomSearch } from './general-bar/search/custom-search';
52
+ export type { CustomSearchProps } from './general-bar/search/custom-search';
53
+ export { NavigationBar } from './navigation-bar/navigation-bar';
54
+ export type { NavigationBarProps } from './navigation-bar/navigation-bar';
55
+ export { NavigationRoot } from './navigation-bar/navigation-root';
56
+ export type { NavigationRootProps } from './navigation-bar/navigation-root';
57
+ export { NavigationLink } from './navigation-bar/navigation-link';
58
+ export type { NavigationLinkProps } from './navigation-bar/navigation-link';
59
+ export { RelatedNavigationLink } from './navigation-bar/related-navigation-link';
60
+ export type { RelatedNavigationLinkProps } from './navigation-bar/related-navigation-link';
@@ -1,17 +1,17 @@
1
- import { AuthenticatedProps } from '../../../../../components/header-v2/general-bar/authenticated/authenticated';
2
- import { AuthenticatedBodyLinkProps } from '../../../../../components/header-v2/general-bar/authenticated/authenticated-body-link';
3
- import { AuthenticatedFooterActionProps } from '../../../../../components/header-v2/general-bar/authenticated/authenticated-footer-action';
4
- import { AuthenticatedHeaderProps } from '../../../../../components/header-v2/general-bar/authenticated/authenticated-header';
5
- import { LanguageProps } from '../../../../../components/header-v2/general-bar/languages/language';
6
- import { CustomSearchProps } from '../../../../../components/header-v2/general-bar/search/custom-search';
7
- import { SearchRelatedLinkProps } from '../../../../../components/header-v2/general-bar/search/search-related-link';
8
- import { SearchRelatedLinksTitleProps } from '../../../../../components/header-v2/general-bar/search/search-related-links-title';
9
- import { SearchTitleProps } from '../../../../../components/header-v2/general-bar/search/search-title';
10
- import { UnauthenticatedProps } from '../../../../../components/header-v2/general-bar/unauthenticated/unauthenticated';
11
- import { UnauthenticatedLinkProps } from '../../../../../components/header-v2/general-bar/unauthenticated/unauthenticated-link';
12
- import { InternalAreaProps } from '../../../../../components/header-v2/internals/general-bar/areas/internal-area';
13
- import { NavigationLinkProps } from '../../../../../components/header-v2/navigation-bar/navigation-link';
14
- import { NavigationRootProps } from '../../../../../components/header-v2/navigation-bar/navigation-root';
1
+ import { AuthenticatedProps } from '../../../../../components/header/general-bar/authenticated/authenticated';
2
+ import { AuthenticatedBodyLinkProps } from '../../../../../components/header/general-bar/authenticated/authenticated-body-link';
3
+ import { AuthenticatedFooterActionProps } from '../../../../../components/header/general-bar/authenticated/authenticated-footer-action';
4
+ import { AuthenticatedHeaderProps } from '../../../../../components/header/general-bar/authenticated/authenticated-header';
5
+ import { LanguageProps } from '../../../../../components/header/general-bar/languages/language';
6
+ import { CustomSearchProps } from '../../../../../components/header/general-bar/search/custom-search';
7
+ import { SearchRelatedLinkProps } from '../../../../../components/header/general-bar/search/search-related-link';
8
+ import { SearchRelatedLinksTitleProps } from '../../../../../components/header/general-bar/search/search-related-links-title';
9
+ import { SearchTitleProps } from '../../../../../components/header/general-bar/search/search-title';
10
+ import { UnauthenticatedProps } from '../../../../../components/header/general-bar/unauthenticated/unauthenticated';
11
+ import { UnauthenticatedLinkProps } from '../../../../../components/header/general-bar/unauthenticated/unauthenticated-link';
12
+ import { InternalAreaProps } from '../../../../../components/header/internals/general-bar/areas/internal-area';
13
+ import { NavigationLinkProps } from '../../../../../components/header/navigation-bar/navigation-link';
14
+ import { NavigationRootProps } from '../../../../../components/header/navigation-bar/navigation-root';
15
15
  import { InputSearchBarProps } from '../../../../../components/input-search-bar';
16
16
  import { ReactElement, ReactNode } from 'react';
17
17
  export interface HeaderDataContextProps {
@@ -0,0 +1,3 @@
1
+ import { HeaderProps } from '../../../../../components/header/header';
2
+ import { HeaderDataContextProps } from './header-data-context';
3
+ export declare const useHeaderDataController: (props: HeaderProps) => HeaderDataContextProps;
@@ -1,6 +1,6 @@
1
- import { BrandProps } from '../../../../../../components/header-v2/brand/brand';
2
- import { GeneralBarProps } from '../../../../../../components/header-v2/general-bar/general-bar';
3
- import { InternalAreaProps } from '../../../../../../components/header-v2/internals/general-bar/areas/internal-area';
1
+ import { BrandProps } from '../../../../../../components/header/brand/brand';
2
+ import { GeneralBarProps } from '../../../../../../components/header/general-bar/general-bar';
3
+ import { InternalAreaProps } from '../../../../../../components/header/internals/general-bar/areas/internal-area';
4
4
  import { ReactElement } from 'react';
5
5
  export declare const hasVisibleAreasProps: (children?: ReactElement<BrandProps | GeneralBarProps> | ReactElement<BrandProps | GeneralBarProps>[]) => boolean;
6
6
  export declare const getParseAreasAriaLabel: (children?: ReactElement<BrandProps | GeneralBarProps> | ReactElement<BrandProps | GeneralBarProps>[]) => string;
@@ -1,9 +1,9 @@
1
- import { BrandProps } from '../../../../../../components/header-v2/brand/brand';
2
- import { AuthenticatedProps } from '../../../../../../components/header-v2/general-bar/authenticated/authenticated';
3
- import { AuthenticatedBodyLinkProps } from '../../../../../../components/header-v2/general-bar/authenticated/authenticated-body-link';
4
- import { AuthenticatedFooterActionProps } from '../../../../../../components/header-v2/general-bar/authenticated/authenticated-footer-action';
5
- import { AuthenticatedHeaderProps } from '../../../../../../components/header-v2/general-bar/authenticated/authenticated-header';
6
- import { GeneralBarProps } from '../../../../../../components/header-v2/general-bar/general-bar';
1
+ import { BrandProps } from '../../../../../../components/header/brand/brand';
2
+ import { AuthenticatedProps } from '../../../../../../components/header/general-bar/authenticated/authenticated';
3
+ import { AuthenticatedBodyLinkProps } from '../../../../../../components/header/general-bar/authenticated/authenticated-body-link';
4
+ import { AuthenticatedFooterActionProps } from '../../../../../../components/header/general-bar/authenticated/authenticated-footer-action';
5
+ import { AuthenticatedHeaderProps } from '../../../../../../components/header/general-bar/authenticated/authenticated-header';
6
+ import { GeneralBarProps } from '../../../../../../components/header/general-bar/general-bar';
7
7
  import { ReactElement } from 'react';
8
8
  export declare const getParsedAuthenticatedProps: (children?: ReactElement<BrandProps | GeneralBarProps> | ReactElement<BrandProps | GeneralBarProps>[]) => AuthenticatedProps | null;
9
9
  export declare const getParsedAuthenticatedHeaderProps: (children?: ReactElement<BrandProps | GeneralBarProps> | ReactElement<BrandProps | GeneralBarProps>[]) => AuthenticatedHeaderProps | null;
@@ -1,5 +1,5 @@
1
- import { BrandProps } from '../../../../../../components/header-v2/brand/brand';
2
- import { GeneralBarProps } from '../../../../../../components/header-v2/general-bar/general-bar';
1
+ import { BrandProps } from '../../../../../../components/header/brand/brand';
2
+ import { GeneralBarProps } from '../../../../../../components/header/general-bar/general-bar';
3
3
  import { ReactElement, ReactNode } from 'react';
4
4
  export declare const getParsedInstitutionalPhrase: (children?: ReactElement<BrandProps | GeneralBarProps> | ReactElement<BrandProps | GeneralBarProps>[]) => ReactNode;
5
5
  export declare const getParsedLogo: (children?: ReactElement<BrandProps | GeneralBarProps> | ReactElement<BrandProps | GeneralBarProps>[]) => ReactNode;
@@ -1,4 +1,4 @@
1
- import { BrandProps } from '../../../../../../components/header-v2/brand/brand';
2
- import { GeneralBarProps } from '../../../../../../components/header-v2/general-bar/general-bar';
1
+ import { BrandProps } from '../../../../../../components/header/brand/brand';
2
+ import { GeneralBarProps } from '../../../../../../components/header/general-bar/general-bar';
3
3
  import { ReactElement } from 'react';
4
4
  export declare const getParsedGeneralBarAriaLabel: (children?: ReactElement<BrandProps | GeneralBarProps> | ReactElement<BrandProps | GeneralBarProps>[]) => string;
@@ -1,7 +1,7 @@
1
- import { BrandProps } from '../../../../../../components/header-v2/brand/brand';
2
- import { GeneralBarProps } from '../../../../../../components/header-v2/general-bar/general-bar';
3
- import { LanguageProps } from '../../../../../../components/header-v2/general-bar/languages/language';
4
- import { LanguagesProps } from '../../../../../../components/header-v2/general-bar/languages/languages';
1
+ import { BrandProps } from '../../../../../../components/header/brand/brand';
2
+ import { GeneralBarProps } from '../../../../../../components/header/general-bar/general-bar';
3
+ import { LanguageProps } from '../../../../../../components/header/general-bar/languages/language';
4
+ import { LanguagesProps } from '../../../../../../components/header/general-bar/languages/languages';
5
5
  import { ReactElement } from 'react';
6
6
  export declare const getLanguagesProps: (children?: ReactElement<BrandProps | GeneralBarProps> | ReactElement<BrandProps | GeneralBarProps>[]) => ReactElement<LanguagesProps> | null;
7
7
  export declare const hasLanguagesProps: (children?: ReactElement<BrandProps | GeneralBarProps> | ReactElement<BrandProps | GeneralBarProps>[]) => boolean;
@@ -1,8 +1,8 @@
1
- import { BrandProps } from '../../../../../../components/header-v2/brand/brand';
2
- import { GeneralBarProps } from '../../../../../../components/header-v2/general-bar/general-bar';
3
- import { NavigationBarProps } from '../../../../../../components/header-v2/navigation-bar/navigation-bar';
4
- import { NavigationLinkProps } from '../../../../../../components/header-v2/navigation-bar/navigation-link';
5
- import { NavigationRootProps } from '../../../../../../components/header-v2/navigation-bar/navigation-root';
1
+ import { BrandProps } from '../../../../../../components/header/brand/brand';
2
+ import { GeneralBarProps } from '../../../../../../components/header/general-bar/general-bar';
3
+ import { NavigationBarProps } from '../../../../../../components/header/navigation-bar/navigation-bar';
4
+ import { NavigationLinkProps } from '../../../../../../components/header/navigation-bar/navigation-link';
5
+ import { NavigationRootProps } from '../../../../../../components/header/navigation-bar/navigation-root';
6
6
  import { ReactElement } from 'react';
7
7
  type NavigationBarChildrenType = BrandProps | GeneralBarProps | NavigationBarProps;
8
8
  export declare const getParsedNavigationBarProps: (children?: ReactElement<NavigationBarChildrenType> | ReactElement<NavigationBarChildrenType>[]) => NavigationBarProps | null;
@@ -1,9 +1,9 @@
1
- import { BrandProps } from '../../../../../../components/header-v2/brand/brand';
2
- import { GeneralBarProps } from '../../../../../../components/header-v2/general-bar/general-bar';
3
- import { CustomSearchProps } from '../../../../../../components/header-v2/general-bar/search/custom-search';
4
- import { SearchRelatedLinkProps } from '../../../../../../components/header-v2/general-bar/search/search-related-link';
5
- import { SearchRelatedLinksTitleProps } from '../../../../../../components/header-v2/general-bar/search/search-related-links-title';
6
- import { SearchTitleProps } from '../../../../../../components/header-v2/general-bar/search/search-title';
1
+ import { BrandProps } from '../../../../../../components/header/brand/brand';
2
+ import { GeneralBarProps } from '../../../../../../components/header/general-bar/general-bar';
3
+ import { CustomSearchProps } from '../../../../../../components/header/general-bar/search/custom-search';
4
+ import { SearchRelatedLinkProps } from '../../../../../../components/header/general-bar/search/search-related-link';
5
+ import { SearchRelatedLinksTitleProps } from '../../../../../../components/header/general-bar/search/search-related-links-title';
6
+ import { SearchTitleProps } from '../../../../../../components/header/general-bar/search/search-title';
7
7
  import { InputSearchBarProps } from '../../../../../../components/input-search-bar';
8
8
  import { ReactElement, ReactNode } from 'react';
9
9
  export declare const hasSearchProps: (children?: ReactElement<BrandProps | GeneralBarProps> | ReactElement<BrandProps | GeneralBarProps>[]) => boolean;
@@ -1,7 +1,7 @@
1
- import { BrandProps } from '../../../../../../components/header-v2/brand/brand';
2
- import { GeneralBarProps } from '../../../../../../components/header-v2/general-bar/general-bar';
3
- import { UnauthenticatedProps } from '../../../../../../components/header-v2/general-bar/unauthenticated/unauthenticated';
4
- import { UnauthenticatedLinkProps } from '../../../../../../components/header-v2/general-bar/unauthenticated/unauthenticated-link';
1
+ import { BrandProps } from '../../../../../../components/header/brand/brand';
2
+ import { GeneralBarProps } from '../../../../../../components/header/general-bar/general-bar';
3
+ import { UnauthenticatedProps } from '../../../../../../components/header/general-bar/unauthenticated/unauthenticated';
4
+ import { UnauthenticatedLinkProps } from '../../../../../../components/header/general-bar/unauthenticated/unauthenticated-link';
5
5
  import { ReactElement } from 'react';
6
6
  export declare const getParsedUnauthenticatedProps: (children?: ReactElement<BrandProps | GeneralBarProps> | ReactElement<BrandProps | GeneralBarProps>[]) => UnauthenticatedProps | null;
7
7
  export declare const getParsedUnauthenticatedLinks: (children?: ReactElement<BrandProps | GeneralBarProps> | ReactElement<BrandProps | GeneralBarProps>[]) => UnauthenticatedLinkProps[];
@@ -0,0 +1,4 @@
1
+ import { HeaderElement } from '../../../../../components/header/header';
2
+ import { HeaderMenuContextProps } from '../../../../../components/header/internals/context/menu-context/header-menu-context';
3
+ import { ForwardedRef } from 'react';
4
+ export declare const useHeaderExternalController: (ref: ForwardedRef<HeaderElement>, headerMenuContext: HeaderMenuContextProps) => void;
@@ -1,7 +1,7 @@
1
1
  import { DrawerElement } from '../../../../../components/drawer';
2
- import { InternalNavigationBurgerPanelElement } from '../../../../../components/header-v2/internals/navigation-bar/navigation-burger/internal-navigation-burger-panel';
3
- import { ModalMenuElement } from '../../../../../components/header-v2/internals/shared/modal-menu/modal-menu';
4
- import { PanelMenuElement } from '../../../../../components/header-v2/internals/shared/panel-menu/panel-menu';
2
+ import { InternalNavigationBurgerPanelElement } from '../../../../../components/header/internals/navigation-bar/navigation-burger/internal-navigation-burger-panel';
3
+ import { ModalMenuElement } from '../../../../../components/header/internals/shared/modal-menu/modal-menu';
4
+ import { PanelMenuElement } from '../../../../../components/header/internals/shared/panel-menu/panel-menu';
5
5
  import { RefObject } from 'react';
6
6
  import { MenuTypeEnum } from './menu-type.enum';
7
7
  export interface HeaderMenuContextProps {
@@ -1,4 +1,4 @@
1
- import { AreaProps } from '../../../../../components/header-v2/general-bar/areas/area';
1
+ import { AreaProps } from '../../../../../components/header/general-bar/areas/area';
2
2
  import { FC } from 'react';
3
3
  import './internal-area.scss';
4
4
  export interface InternalAreaProps extends AreaProps {
@@ -1,6 +1,6 @@
1
- import { AuthenticatedBodyProps } from '../../../../../components/header-v2/general-bar/authenticated/authenticated-body';
2
- import { AuthenticatedFooterProps } from '../../../../../components/header-v2/general-bar/authenticated/authenticated-footer';
3
- import { AuthenticatedHeaderProps } from '../../../../../components/header-v2/general-bar/authenticated/authenticated-header';
1
+ import { AuthenticatedBodyProps } from '../../../../../components/header/general-bar/authenticated/authenticated-body';
2
+ import { AuthenticatedFooterProps } from '../../../../../components/header/general-bar/authenticated/authenticated-footer';
3
+ import { AuthenticatedHeaderProps } from '../../../../../components/header/general-bar/authenticated/authenticated-header';
4
4
  import { ComponentPropsWithoutRef, FC, ReactElement } from 'react';
5
5
  import './internal-authenticated.scss';
6
6
  interface InternalAuthenticatedProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
@@ -1,4 +1,4 @@
1
- import { LayoutProps } from '../../../../../components/header-v2/internals/shared/panel-menu/layout.interface';
1
+ import { LayoutProps } from '../../../../../components/header/internals/shared/panel-menu/layout.interface';
2
2
  import { FC } from 'react';
3
3
  import './internal-languages-layout.scss';
4
4
  export declare const InternalLanguagesLayout: FC<LayoutProps>;
@@ -1,4 +1,4 @@
1
- import { LayoutProps } from '../../../../../components/header-v2/internals/shared/panel-menu/layout.interface';
1
+ import { LayoutProps } from '../../../../../components/header/internals/shared/panel-menu/layout.interface';
2
2
  import { FC } from 'react';
3
3
  import './internal-custom-search-layout.scss';
4
4
  export declare const InternalCustomSearchLayout: FC<LayoutProps>;
@@ -1,4 +1,4 @@
1
- import { LayoutProps } from '../../../../../components/header-v2/internals/shared/panel-menu/layout.interface';
1
+ import { LayoutProps } from '../../../../../components/header/internals/shared/panel-menu/layout.interface';
2
2
  import { FC } from 'react';
3
3
  import './internal-search-layout.scss';
4
4
  export declare const InternalSearchLayout: FC<LayoutProps>;