@nuskin/marketing-components 1.29.0 → 1.31.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.
- package/dist/button/Button.styled.d.ts +1 -1
- package/dist/column-control/types.d.ts +1 -1
- package/dist/content-card/ContentCard.stories.d.ts +2 -5
- package/dist/content-card/ContentCard.styled.d.ts +7 -10
- package/dist/content-card/constants.d.ts +1 -1
- package/dist/content-card/types.d.ts +3 -7
- package/dist/content-card/utils/helpers.d.ts +18 -16
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/marketing-banner/components/BannerText.d.ts +1 -1
- package/dist/marketing-banner/components/BannerText.styled.d.ts +8 -16
- package/package.json +1 -1
- package/dist/content-card/specs/mockData.d.ts +0 -129
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* BannerText Sub-Component
|
|
3
|
-
* Renders text content (title, subtitle, bodyText)
|
|
3
|
+
* Renders text content (header, title, subtitle, bodyText) using the Typography component
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import type { BannerTextProps } from '../types';
|
|
@@ -5,27 +5,19 @@ export declare const TextContainer: import("@emotion/styled").StyledComponent<{
|
|
|
5
5
|
} & {
|
|
6
6
|
textAlignment: TextAlignment;
|
|
7
7
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
8
|
-
export declare const
|
|
8
|
+
export declare const HeaderTextWrapper: import("@emotion/styled").StyledComponent<{
|
|
9
9
|
theme?: import("@emotion/react").Theme;
|
|
10
10
|
as?: React.ElementType;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
|
|
14
|
-
export declare const Title: import("@emotion/styled").StyledComponent<{
|
|
11
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
12
|
+
export declare const TitleWrapper: import("@emotion/styled").StyledComponent<{
|
|
15
13
|
theme?: import("@emotion/react").Theme;
|
|
16
14
|
as?: React.ElementType;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
|
|
20
|
-
export declare const Subtitle: import("@emotion/styled").StyledComponent<{
|
|
15
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
16
|
+
export declare const SubtitleWrapper: import("@emotion/styled").StyledComponent<{
|
|
21
17
|
theme?: import("@emotion/react").Theme;
|
|
22
18
|
as?: React.ElementType;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
|
|
26
|
-
export declare const BodyText: import("@emotion/styled").StyledComponent<{
|
|
19
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
20
|
+
export declare const BodyTextWrapper: import("@emotion/styled").StyledComponent<{
|
|
27
21
|
theme?: import("@emotion/react").Theme;
|
|
28
22
|
as?: React.ElementType;
|
|
29
|
-
}
|
|
30
|
-
fontColor: string;
|
|
31
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
|
|
23
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
package/package.json
CHANGED
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Mock Data for Bynder Utils Tests
|
|
3
|
-
* Contains test data for Bynder media extraction functions
|
|
4
|
-
*/
|
|
5
|
-
export declare const mockSelectedImage: {
|
|
6
|
-
url: string;
|
|
7
|
-
type: "IMAGE";
|
|
8
|
-
fileSize: number;
|
|
9
|
-
width: number;
|
|
10
|
-
height: number;
|
|
11
|
-
fit: "cover";
|
|
12
|
-
position: string;
|
|
13
|
-
bgColor: string;
|
|
14
|
-
};
|
|
15
|
-
export declare const mockSelectedVideo: {
|
|
16
|
-
url: string;
|
|
17
|
-
type: "VIDEO";
|
|
18
|
-
fileSize: number;
|
|
19
|
-
width: number;
|
|
20
|
-
height: number;
|
|
21
|
-
fit: "cover";
|
|
22
|
-
position: string;
|
|
23
|
-
bgColor: string;
|
|
24
|
-
};
|
|
25
|
-
export declare const mockSelectedWithAltText: {
|
|
26
|
-
url: string;
|
|
27
|
-
type: string;
|
|
28
|
-
altText: string;
|
|
29
|
-
imageType: string;
|
|
30
|
-
fit: string;
|
|
31
|
-
position: string;
|
|
32
|
-
bgColor: string;
|
|
33
|
-
};
|
|
34
|
-
export declare const mockSelectedGif: {
|
|
35
|
-
url: string;
|
|
36
|
-
type: string;
|
|
37
|
-
altText: string;
|
|
38
|
-
imageType: string;
|
|
39
|
-
fit: string;
|
|
40
|
-
position: string;
|
|
41
|
-
bgColor: string;
|
|
42
|
-
};
|
|
43
|
-
export declare const mockSelectedGifUppercase: {
|
|
44
|
-
url: string;
|
|
45
|
-
type: string;
|
|
46
|
-
altText: string;
|
|
47
|
-
imageType: string;
|
|
48
|
-
fit: string;
|
|
49
|
-
position: string;
|
|
50
|
-
bgColor: string;
|
|
51
|
-
};
|
|
52
|
-
export declare const mockSelectedVideoWithAlt: {
|
|
53
|
-
url: string;
|
|
54
|
-
type: string;
|
|
55
|
-
altText: string;
|
|
56
|
-
imageType: string;
|
|
57
|
-
fit: string;
|
|
58
|
-
position: string;
|
|
59
|
-
bgColor: string;
|
|
60
|
-
};
|
|
61
|
-
export declare const mockSelectedWithDescriptiveAlt: {
|
|
62
|
-
url: string;
|
|
63
|
-
type: string;
|
|
64
|
-
altText: string;
|
|
65
|
-
imageType: string;
|
|
66
|
-
fit: string;
|
|
67
|
-
position: string;
|
|
68
|
-
bgColor: string;
|
|
69
|
-
};
|
|
70
|
-
export declare const mockSelectedWithoutAlt: {
|
|
71
|
-
url: string;
|
|
72
|
-
type: string;
|
|
73
|
-
imageType: string;
|
|
74
|
-
fit: string;
|
|
75
|
-
position: string;
|
|
76
|
-
bgColor: string;
|
|
77
|
-
};
|
|
78
|
-
export declare const mockSelectedCustomTransformation: {
|
|
79
|
-
url: string;
|
|
80
|
-
type: string;
|
|
81
|
-
altText: string;
|
|
82
|
-
imageType: string;
|
|
83
|
-
fit: string;
|
|
84
|
-
position: string;
|
|
85
|
-
bgColor: string;
|
|
86
|
-
};
|
|
87
|
-
export declare const mockSelectedCustomTransformationSimple: {
|
|
88
|
-
url: string;
|
|
89
|
-
type: string;
|
|
90
|
-
altText: string;
|
|
91
|
-
imageType: string;
|
|
92
|
-
fit: string;
|
|
93
|
-
position: string;
|
|
94
|
-
bgColor: string;
|
|
95
|
-
};
|
|
96
|
-
export declare const mockSelectedWithExistingQuality: {
|
|
97
|
-
url: string;
|
|
98
|
-
type: string;
|
|
99
|
-
altText: string;
|
|
100
|
-
imageType: string;
|
|
101
|
-
fit: string;
|
|
102
|
-
position: string;
|
|
103
|
-
bgColor: string;
|
|
104
|
-
};
|
|
105
|
-
export declare const mockSelectedWithMultipleParams: {
|
|
106
|
-
url: string;
|
|
107
|
-
type: string;
|
|
108
|
-
altText: string;
|
|
109
|
-
imageType: string;
|
|
110
|
-
fit: string;
|
|
111
|
-
position: string;
|
|
112
|
-
bgColor: string;
|
|
113
|
-
};
|
|
114
|
-
export declare const mockPreviewUrls: string[];
|
|
115
|
-
export declare const mockMediaJsonImage: string;
|
|
116
|
-
export declare const mockMediaJsonGif: string;
|
|
117
|
-
export declare const mockMediaJsonGifUppercase: string;
|
|
118
|
-
export declare const mockMediaJsonVideo: string;
|
|
119
|
-
export declare const mockMediaJsonWithDescriptiveAlt: string;
|
|
120
|
-
export declare const mockMediaJsonWithoutAlt: string;
|
|
121
|
-
export declare const mockMediaJsonCustomTransformation: string;
|
|
122
|
-
export declare const mockMediaJsonCustomTransformationSimple: string;
|
|
123
|
-
export declare const mockMediaJsonDefaultTransform: string;
|
|
124
|
-
export declare const mockMediaJsonVideoNoTransform: string;
|
|
125
|
-
export declare const mockMediaJsonGifNoTransform: string;
|
|
126
|
-
export declare const mockMediaJsonWithExistingQuality: string;
|
|
127
|
-
export declare const mockMediaJsonWithMultipleParams: string;
|
|
128
|
-
export declare const mockMediaJsonRealCustomTransformation: string;
|
|
129
|
-
export declare const mockMediaJsonVideoIntegration: string;
|