formica-ui-lib 1.0.46 → 1.0.50
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/dist/componentProps/organisms/footer/FooterProps.d.ts +10 -10
- package/dist/index.cjs +7 -7
- package/dist/index.d.ts +1 -1
- package/dist/index.js +541 -537
- package/dist/stories/molecules/mediaLinks/footerImageLink/FooterImageLink.d.ts +4 -12
- package/dist/stories/molecules/mediaLinks/footerImageLink/FooterImageLink.stories.d.ts +1 -1
- package/dist/stories/organisms/footer/parts/FooterLinkItem.d.ts +2 -2
- package/dist/stories/organisms/footer/parts/LogosBar.d.ts +3 -3
- package/dist/utils/brandLogoMap.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
|
|
2
|
-
export type
|
|
2
|
+
export type FooterLinkProps = {
|
|
3
3
|
label: string;
|
|
4
4
|
href?: string;
|
|
5
5
|
target?: "_self" | "_blank";
|
|
@@ -7,36 +7,36 @@ export type FooterLink = {
|
|
|
7
7
|
};
|
|
8
8
|
export type FooterColumn = {
|
|
9
9
|
heading: string;
|
|
10
|
-
links:
|
|
10
|
+
links: FooterLinkProps[];
|
|
11
11
|
};
|
|
12
|
-
export type
|
|
12
|
+
export type FooterImageProps = {
|
|
13
13
|
src: string;
|
|
14
14
|
alt: string;
|
|
15
15
|
href?: string;
|
|
16
16
|
target?: "_self" | "_blank";
|
|
17
17
|
rel?: string;
|
|
18
18
|
};
|
|
19
|
-
export type
|
|
19
|
+
export type FooterSocialLinkProps = {
|
|
20
20
|
label: string;
|
|
21
21
|
href: string;
|
|
22
22
|
faIcon?: IconDefinition;
|
|
23
23
|
iconSrc?: string;
|
|
24
24
|
};
|
|
25
25
|
export type FooterBrandBlock = {
|
|
26
|
-
primaryLogo:
|
|
26
|
+
primaryLogo: FooterImageProps;
|
|
27
27
|
phoneLine?: string;
|
|
28
|
-
socials?:
|
|
29
|
-
affiliateLogos?:
|
|
28
|
+
socials?: FooterSocialLinkProps[];
|
|
29
|
+
affiliateLogos?: FooterImageProps[];
|
|
30
30
|
};
|
|
31
31
|
export type FooterLegalBlock = {
|
|
32
|
-
links?:
|
|
33
|
-
utilityLink?:
|
|
32
|
+
links?: FooterLinkProps[];
|
|
33
|
+
utilityLink?: FooterLinkProps;
|
|
34
34
|
disclaimerLines?: string[];
|
|
35
35
|
copyrightLine?: string;
|
|
36
36
|
};
|
|
37
37
|
export type FooterProps = {
|
|
38
38
|
brand: FooterBrandBlock;
|
|
39
39
|
columns: FooterColumn[];
|
|
40
|
-
parentLogo?:
|
|
40
|
+
parentLogo?: FooterImageProps;
|
|
41
41
|
legal: FooterLegalBlock;
|
|
42
42
|
};
|