@nuskin/marketing-components 1.40.0 → 1.40.2

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 (130) hide show
  1. package/dist/index.d.mts +446 -0
  2. package/dist/index.d.ts +446 -11
  3. package/dist/index.js +1 -1
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.mjs +1 -1
  6. package/dist/index.mjs.map +1 -1
  7. package/package.json +1 -1
  8. package/dist/button/Button.d.ts +0 -4
  9. package/dist/button/Button.stories.d.ts +0 -28
  10. package/dist/button/Button.styled.d.ts +0 -47
  11. package/dist/button/ButtonWrapper.d.ts +0 -9
  12. package/dist/button/helpers.d.ts +0 -59
  13. package/dist/button/index.d.ts +0 -3
  14. package/dist/button/specs/Button.spec.d.ts +0 -1
  15. package/dist/button/specs/ButtonWrapper.spec.d.ts +0 -1
  16. package/dist/button/types.d.ts +0 -42
  17. package/dist/bynder-media/BynderMedia.d.ts +0 -3
  18. package/dist/bynder-media/BynderMedia.styled.d.ts +0 -36
  19. package/dist/bynder-media/index.d.ts +0 -3
  20. package/dist/bynder-media/specs/bynder-utils.spec.d.ts +0 -1
  21. package/dist/bynder-media/specs/mockData.d.ts +0 -139
  22. package/dist/bynder-media/types.d.ts +0 -61
  23. package/dist/bynder-media/utils.d.ts +0 -3
  24. package/dist/carousel/Carousel.d.ts +0 -6
  25. package/dist/carousel/Carousel.stories.d.ts +0 -14
  26. package/dist/carousel/CarouselLayout.styled.d.ts +0 -50
  27. package/dist/carousel/hooks/useCarouselLayout.d.ts +0 -31
  28. package/dist/carousel/hooks/useCarouselResize.d.ts +0 -6
  29. package/dist/carousel/index.d.ts +0 -2
  30. package/dist/carousel/mocks/MockContentCard.d.ts +0 -20
  31. package/dist/carousel/mocks/MockHeroBanner.d.ts +0 -18
  32. package/dist/carousel/mocks/MockProductCard.d.ts +0 -9
  33. package/dist/carousel/mocks/index.d.ts +0 -7
  34. package/dist/carousel/mocks/mockAssets.d.ts +0 -15
  35. package/dist/carousel/shared.d.ts +0 -27
  36. package/dist/carousel/specs/Carousel.spec.d.ts +0 -1
  37. package/dist/carousel/specs/useCarouselResize.spec.d.ts +0 -1
  38. package/dist/carousel/specs/utils.spec.d.ts +0 -1
  39. package/dist/carousel/types.d.ts +0 -56
  40. package/dist/carousel/utils.d.ts +0 -47
  41. package/dist/column-control/ColumnControl.d.ts +0 -4
  42. package/dist/column-control/ColumnControl.stories.d.ts +0 -13
  43. package/dist/column-control/ColumnControl.styled.d.ts +0 -49
  44. package/dist/column-control/index.d.ts +0 -2
  45. package/dist/column-control/mocks/MockContentCard.d.ts +0 -13
  46. package/dist/column-control/mocks/MockProductCard.d.ts +0 -9
  47. package/dist/column-control/mocks/index.d.ts +0 -5
  48. package/dist/column-control/specs/ColumnControl.spec.d.ts +0 -1
  49. package/dist/column-control/specs/utils.spec.d.ts +0 -1
  50. package/dist/column-control/types.d.ts +0 -48
  51. package/dist/column-control/utils.d.ts +0 -24
  52. package/dist/content-card/ContentCard.d.ts +0 -4
  53. package/dist/content-card/ContentCard.stories.d.ts +0 -12
  54. package/dist/content-card/ContentCard.styled.d.ts +0 -35
  55. package/dist/content-card/constants.d.ts +0 -3
  56. package/dist/content-card/index.d.ts +0 -2
  57. package/dist/content-card/specs/ContentCard.spec.d.ts +0 -1
  58. package/dist/content-card/specs/helpers.spec.d.ts +0 -1
  59. package/dist/content-card/types.d.ts +0 -31
  60. package/dist/content-card/utils/helpers.d.ts +0 -20
  61. package/dist/hero-banner/HeroBanner.d.ts +0 -4
  62. package/dist/hero-banner/HeroBanner.stories.d.ts +0 -17
  63. package/dist/hero-banner/HeroBanner.styled.d.ts +0 -35
  64. package/dist/hero-banner/components/TypographyFields.d.ts +0 -13
  65. package/dist/hero-banner/constants.d.ts +0 -5
  66. package/dist/hero-banner/helpers.d.ts +0 -12
  67. package/dist/hero-banner/index.d.ts +0 -2
  68. package/dist/hero-banner/specs/HeroBanner.spec.d.ts +0 -1
  69. package/dist/hero-banner/specs/helpers.spec.d.ts +0 -1
  70. package/dist/hero-banner/types.d.ts +0 -26
  71. package/dist/hooks/index.d.ts +0 -3
  72. package/dist/hooks/use-toggle-font-color/useMainContrast.d.ts +0 -8
  73. package/dist/hooks/use-toggle-font-color/useMainContrast.spec.d.ts +0 -1
  74. package/dist/hooks/use-toggle-font-color/useToggleFontColor.d.ts +0 -8
  75. package/dist/hooks/use-toggle-font-color/useToggleFontColor.spec.d.ts +0 -1
  76. package/dist/hooks/useRouteReplacer.d.ts +0 -10
  77. package/dist/hooks/useRouteReplacer.spec.d.ts +0 -1
  78. package/dist/image/CsImage.d.ts +0 -4
  79. package/dist/image/CsImage.stories.d.ts +0 -7
  80. package/dist/image/CsImage.styled.d.ts +0 -8
  81. package/dist/image/index.d.ts +0 -1
  82. package/dist/image/specs/CsImage.spec.d.ts +0 -1
  83. package/dist/image/types.d.ts +0 -73
  84. package/dist/marketing-banner/MarketingBanner.d.ts +0 -7
  85. package/dist/marketing-banner/MarketingBanner.stories.d.ts +0 -206
  86. package/dist/marketing-banner/MarketingBanner.styled.d.ts +0 -62
  87. package/dist/marketing-banner/components/BannerText.d.ts +0 -7
  88. package/dist/marketing-banner/components/BannerText.styled.d.ts +0 -23
  89. package/dist/marketing-banner/components/index.d.ts +0 -1
  90. package/dist/marketing-banner/components/specs/BannerText.spec.d.ts +0 -5
  91. package/dist/marketing-banner/constants.d.ts +0 -22
  92. package/dist/marketing-banner/hooks/index.d.ts +0 -2
  93. package/dist/marketing-banner/hooks/useCarousel.d.ts +0 -14
  94. package/dist/marketing-banner/hooks/useReducedMotion.d.ts +0 -5
  95. package/dist/marketing-banner/index.d.ts +0 -3
  96. package/dist/marketing-banner/specs/MarketingBanner.spec.d.ts +0 -5
  97. package/dist/marketing-banner/specs/mockData.d.ts +0 -22
  98. package/dist/marketing-banner/specs/useCarousel.spec.d.ts +0 -5
  99. package/dist/marketing-banner/specs/utils.spec.d.ts +0 -1
  100. package/dist/marketing-banner/styles/mixins.d.ts +0 -53
  101. package/dist/marketing-banner/styles/theme.d.ts +0 -99
  102. package/dist/marketing-banner/types.d.ts +0 -57
  103. package/dist/marketing-banner/utils/index.d.ts +0 -1
  104. package/dist/marketing-banner/utils/utils.d.ts +0 -4
  105. package/dist/rich-text/RichText.d.ts +0 -27
  106. package/dist/rich-text/RichText.stories.d.ts +0 -8
  107. package/dist/rich-text/index.d.ts +0 -1
  108. package/dist/rich-text/specs/RichText.spec.d.ts +0 -1
  109. package/dist/spacing-divider/SpacingDivider.d.ts +0 -4
  110. package/dist/spacing-divider/SpacingDivider.stories.d.ts +0 -6
  111. package/dist/spacing-divider/SpacingDivider.styled.d.ts +0 -9
  112. package/dist/spacing-divider/index.d.ts +0 -2
  113. package/dist/spacing-divider/specs/SpacingDivider.spec.d.ts +0 -1
  114. package/dist/spacing-divider/types.d.ts +0 -26
  115. package/dist/spacing-divider/utils/specs/utils.spec.d.ts +0 -1
  116. package/dist/spacing-divider/utils/utils.d.ts +0 -13
  117. package/dist/text/CsText.d.ts +0 -15
  118. package/dist/text/CsText.stories.d.ts +0 -7
  119. package/dist/text/index.d.ts +0 -1
  120. package/dist/text/specs/CsText.spec.d.ts +0 -1
  121. package/dist/typography/Typography.d.ts +0 -18
  122. package/dist/typography/Typography.stories.d.ts +0 -6
  123. package/dist/typography/Typography.styled.d.ts +0 -80
  124. package/dist/typography/index.d.ts +0 -3
  125. package/dist/typography/specs/Typography.spec.d.ts +0 -1
  126. package/dist/typography/types.d.ts +0 -18
  127. package/dist/utils/deviceConstants.d.ts +0 -13
  128. package/dist/utils/route-utils.d.ts +0 -18
  129. package/dist/utils/specs/route-utils.spec.d.ts +0 -1
  130. package/dist/utils/viewportLayoutUtils.d.ts +0 -4
@@ -1,10 +0,0 @@
1
- /**
2
- * Simply use this hook to update the region and language in the url
3
- * Note: urlToParse should have {%region} or {%language} or {%rREGION} or {%LANGUAGE}
4
- * @param urlToParse url to be parsed
5
- * @returns urlToParse after conditionally replacing the region and language
6
- */
7
- declare const useRouteReplacer: (urlToParse?: string) => {
8
- url?: string;
9
- };
10
- export default useRouteReplacer;
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- import type { CsImageProps } from './types';
2
- export declare const PLACEHOLDER_IMAGE_SRC: string;
3
- declare const CsImage: (props: CsImageProps) => import("react/jsx-runtime").JSX.Element;
4
- export default CsImage;
@@ -1,7 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react-webpack5';
2
- import CsImage from './CsImage';
3
- declare const meta: Meta<typeof CsImage>;
4
- export default meta;
5
- type Story = StoryObj<typeof CsImage>;
6
- export declare const Default: Story;
7
- export declare const FullWidth: Story;
@@ -1,8 +0,0 @@
1
- import type { CsImageProps } from './types';
2
- export declare const StyledCsImageWrapper: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme;
4
- as?: React.ElementType;
5
- } & Pick<CsImageProps, "image_alignment"> & {
6
- width?: string | number;
7
- height?: string | number;
8
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1 +0,0 @@
1
- export { default as CsImage } from './CsImage';
@@ -1 +0,0 @@
1
- export {};
@@ -1,73 +0,0 @@
1
- export type NsImageProps = {
2
- alt: string;
3
- className?: string;
4
- fill?: boolean;
5
- height?: number | string;
6
- id?: string;
7
- src: string;
8
- variant?: 'product' | 'award' | 'icon' | 'fill';
9
- width?: number | string;
10
- full_width?: boolean;
11
- };
12
- export interface CsImageProps extends Partial<NsImageProps> {
13
- image_alignment?: 'left' | 'center' | 'right';
14
- image?: string | {
15
- image: CSImage[];
16
- };
17
- isEditing?: boolean;
18
- parent$?: Record<string, unknown>;
19
- $?: Record<string, unknown>;
20
- }
21
- export type CSImage = {
22
- previewUrls: string[];
23
- selected: ImageFile;
24
- isPublic: boolean;
25
- type: 'IMAGE';
26
- id: string;
27
- files: {
28
- transformBaseUrl: ImageFileMeta;
29
- thumbnail: ImageFileMeta;
30
- };
31
- databaseId: string;
32
- name: string;
33
- description: string | null;
34
- };
35
- export type ImageFile = {
36
- url: string;
37
- width: number | null;
38
- height: number | null;
39
- fileSize: number | null;
40
- imageType: 'transformBaseUrl' | 'thumbnail';
41
- altText: string;
42
- type: 'IMAGE';
43
- fit: 'cover' | 'contain';
44
- position: string;
45
- bgColor: string;
46
- };
47
- export type ImageFileMeta = {
48
- url: string;
49
- width: number | null;
50
- height: number | null;
51
- fileSize: number | null;
52
- };
53
- /**
54
- * Contentstack native asset format (fallback when Bynder image is not available)
55
- */
56
- export type ContentstackAsset = {
57
- uid: string;
58
- created_by: string;
59
- updated_by: string;
60
- created_at: string;
61
- updated_at: string;
62
- content_type: string;
63
- file_size: string;
64
- filename: string;
65
- title: string;
66
- url: string;
67
- ACL?: Record<string, unknown>[];
68
- _version?: number;
69
- is_dir?: boolean;
70
- tags?: string[];
71
- parent_uid?: string;
72
- $?: Record<string, unknown>;
73
- };
@@ -1,7 +0,0 @@
1
- /**
2
- * MarketingBanner Component
3
- * Main component with single banner and automatic carousel mode
4
- */
5
- import React from 'react';
6
- import type { MarketingBannerProps } from './types';
7
- export default function MarketingBannerComponent(props: Readonly<MarketingBannerProps>): React.ReactElement;
@@ -1,206 +0,0 @@
1
- import type { StoryObj } from '@storybook/react-webpack5';
2
- import type { BannerData } from './types';
3
- import type { ButtonProps } from '../button/types';
4
- type StoryArgs = Omit<BannerData, 'bynder_media' | 'cta_button'> & {
5
- mediaUrl?: string;
6
- mediaType?: 'image' | 'gif' | 'video';
7
- mediaAlt?: string;
8
- buttonLabel?: string;
9
- buttonUrl?: string;
10
- buttonVariant?: ButtonProps['variant'];
11
- buttonSize?: ButtonProps['button_size'];
12
- buttonBorderType?: ButtonProps['buttontype'];
13
- buttonIcon?: ButtonProps['icon'];
14
- buttonIconPosition?: ButtonProps['iconposition'];
15
- buttonTarget?: ButtonProps['open_in_new_tab'];
16
- buttonDisabled?: ButtonProps['button_state'];
17
- banners?: BannerData[];
18
- rotation_interval?: number;
19
- showGradient?: boolean;
20
- gradientDepth?: 'sm' | 'md' | 'lg';
21
- };
22
- declare const meta: {
23
- title: string;
24
- tags: string[];
25
- argTypes: {
26
- header_text: {
27
- control: "text";
28
- description: string;
29
- table: {
30
- category: string;
31
- };
32
- };
33
- title: {
34
- control: "text";
35
- description: string;
36
- table: {
37
- category: string;
38
- };
39
- };
40
- subtitle: {
41
- control: "text";
42
- description: string;
43
- table: {
44
- category: string;
45
- };
46
- };
47
- body_text: {
48
- control: "text";
49
- description: string;
50
- table: {
51
- category: string;
52
- };
53
- };
54
- buttonLabel: {
55
- control: "text";
56
- description: string;
57
- table: {
58
- category: string;
59
- };
60
- };
61
- buttonUrl: {
62
- control: "text";
63
- description: string;
64
- table: {
65
- category: string;
66
- };
67
- };
68
- buttonVariant: {
69
- control: "select";
70
- options: string[];
71
- description: string;
72
- table: {
73
- category: string;
74
- };
75
- };
76
- buttonSize: {
77
- control: "select";
78
- options: string[];
79
- description: string;
80
- table: {
81
- category: string;
82
- };
83
- };
84
- buttonBorderType: {
85
- control: "select";
86
- options: string[];
87
- description: string;
88
- table: {
89
- category: string;
90
- };
91
- };
92
- buttonIcon: {
93
- control: "text";
94
- description: string;
95
- table: {
96
- category: string;
97
- };
98
- };
99
- buttonIconPosition: {
100
- control: "select";
101
- options: string[];
102
- description: string;
103
- table: {
104
- category: string;
105
- };
106
- };
107
- buttonTarget: {
108
- control: "select";
109
- options: string[];
110
- description: string;
111
- table: {
112
- category: string;
113
- };
114
- };
115
- buttonDisabled: {
116
- control: "select";
117
- options: string[];
118
- description: string;
119
- table: {
120
- category: string;
121
- };
122
- };
123
- mediaUrl: {
124
- control: "text";
125
- description: string;
126
- table: {
127
- category: string;
128
- };
129
- };
130
- mediaAlt: {
131
- control: "text";
132
- description: string;
133
- table: {
134
- category: string;
135
- };
136
- };
137
- mediaType: {
138
- control: "select";
139
- options: string[];
140
- description: string;
141
- table: {
142
- category: string;
143
- };
144
- };
145
- position: {
146
- control: "select";
147
- options: string[];
148
- description: string;
149
- table: {
150
- category: string;
151
- };
152
- };
153
- text_color: {
154
- control: "select";
155
- options: string[];
156
- description: string;
157
- table: {
158
- category: string;
159
- };
160
- };
161
- showGradient: {
162
- control: "boolean";
163
- description: string;
164
- table: {
165
- category: string;
166
- };
167
- };
168
- gradientDepth: {
169
- control: "select";
170
- options: string[];
171
- description: string;
172
- table: {
173
- category: string;
174
- };
175
- };
176
- banners: {
177
- control: "object";
178
- description: string;
179
- table: {
180
- category: string;
181
- };
182
- };
183
- rotation_interval: {
184
- control: "number";
185
- description: string;
186
- table: {
187
- category: string;
188
- };
189
- };
190
- };
191
- };
192
- export default meta;
193
- type Story = StoryObj<StoryArgs>;
194
- export declare const BasicBanner: Story;
195
- export declare const BannerWithHeaderText: Story;
196
- export declare const LeftPositionedBanner: Story;
197
- export declare const RightPositionedBanner: Story;
198
- export declare const CenterPositionedBanner: Story;
199
- export declare const VideoBanner: Story;
200
- export declare const GradientVariations: Story;
201
- export declare const GifBanner: Story;
202
- export declare const PrimaryButtonVariant: Story;
203
- export declare const SecondaryButtonVariant: Story;
204
- export declare const BasicCarousel: Story;
205
- export declare const AutoRotatingCarousel: Story;
206
- export declare const CarouselWithGradients: Story;
@@ -1,62 +0,0 @@
1
- /**
2
- * MarketingBanner Styled Components
3
- * All styling for the Marketing Banner component
4
- */
5
- import type { GradientDirection, GradientDepth } from './types';
6
- export declare const BannerContainer: import("@emotion/styled").StyledComponent<{
7
- theme?: import("@emotion/react").Theme;
8
- as?: React.ElementType;
9
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
10
- export declare const CarouselWrapper: import("@emotion/styled").StyledComponent<{
11
- theme?: import("@emotion/react").Theme;
12
- as?: React.ElementType;
13
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
14
- export declare const CarouselTrack: import("@emotion/styled").StyledComponent<{
15
- theme?: import("@emotion/react").Theme;
16
- as?: React.ElementType;
17
- } & {
18
- currentIndex: number;
19
- totalSlides: number;
20
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
21
- export declare const BannerSlide: import("@emotion/styled").StyledComponent<{
22
- theme?: import("@emotion/react").Theme;
23
- as?: React.ElementType;
24
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
25
- export declare const BannerContent: import("@emotion/styled").StyledComponent<{
26
- theme?: import("@emotion/react").Theme;
27
- as?: React.ElementType;
28
- } & {
29
- hasMedia: boolean;
30
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
31
- export declare const MediaWrapper: import("@emotion/styled").StyledComponent<{
32
- theme?: import("@emotion/react").Theme;
33
- as?: React.ElementType;
34
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
35
- export declare const TextContentWrapper: import("@emotion/styled").StyledComponent<{
36
- theme?: import("@emotion/react").Theme;
37
- as?: React.ElementType;
38
- } & {
39
- position?: "left" | "center" | "right";
40
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
41
- export declare const GradientOverlay: import("@emotion/styled").StyledComponent<{
42
- theme?: import("@emotion/react").Theme;
43
- as?: React.ElementType;
44
- } & {
45
- direction: GradientDirection;
46
- depth: GradientDepth;
47
- color: "black" | "white";
48
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
49
- export declare const ButtonWrapper: import("@emotion/styled").StyledComponent<{
50
- theme?: import("@emotion/react").Theme;
51
- as?: React.ElementType;
52
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
53
- export declare const CarouselControls: import("@emotion/styled").StyledComponent<{
54
- theme?: import("@emotion/react").Theme;
55
- as?: React.ElementType;
56
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
57
- export declare const Indicator: import("@emotion/styled").StyledComponent<{
58
- theme?: import("@emotion/react").Theme;
59
- as?: React.ElementType;
60
- } & {
61
- active: boolean;
62
- }, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
@@ -1,7 +0,0 @@
1
- /**
2
- * BannerText Sub-Component
3
- * Renders text content (header, title, subtitle, bodyText) using the Typography component
4
- */
5
- import React from 'react';
6
- import type { BannerTextProps } from '../types';
7
- export declare function BannerText({ headerText, title, subtitle, bodyText, textColor, textAlignment, testId, $, isEditing }: Readonly<BannerTextProps>): React.ReactElement | null;
@@ -1,23 +0,0 @@
1
- import type { TextAlignment } from '../types';
2
- export declare const TextContainer: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme;
4
- as?: React.ElementType;
5
- } & {
6
- textAlignment: TextAlignment;
7
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
8
- export declare const HeaderTextWrapper: import("@emotion/styled").StyledComponent<{
9
- theme?: import("@emotion/react").Theme;
10
- as?: React.ElementType;
11
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
12
- export declare const TitleWrapper: import("@emotion/styled").StyledComponent<{
13
- theme?: import("@emotion/react").Theme;
14
- as?: React.ElementType;
15
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
16
- export declare const SubtitleWrapper: import("@emotion/styled").StyledComponent<{
17
- theme?: import("@emotion/react").Theme;
18
- as?: React.ElementType;
19
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
20
- export declare const BodyTextWrapper: import("@emotion/styled").StyledComponent<{
21
- theme?: import("@emotion/react").Theme;
22
- as?: React.ElementType;
23
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1 +0,0 @@
1
- export { BannerText } from './BannerText';
@@ -1,5 +0,0 @@
1
- /**
2
- * Unit Tests
3
- * BannerText Component
4
- */
5
- export {};
@@ -1,22 +0,0 @@
1
- /**
2
- * Default Configurations
3
- * Marketing Banner Component
4
- */
5
- export declare const DEFAULT_BANNER_CONFIG: {
6
- position: "left";
7
- textColor: "white";
8
- showGradient: boolean;
9
- gradientDepth: "md";
10
- mediaType: "image";
11
- ctaVariant: "dark";
12
- };
13
- export declare const DEFAULT_CAROUSEL_CONFIG: {
14
- rotationInterval: number;
15
- };
16
- export declare const DEFAULT_ROTATION_INTERVAL = 5000;
17
- export declare const PLACEHOLDER_VALUES: {
18
- readonly header: "Enter Header";
19
- readonly title: "Enter Title";
20
- readonly subtitle: "Enter Subtitle";
21
- readonly body: "Enter Body Text";
22
- };
@@ -1,2 +0,0 @@
1
- export { useCarousel } from './useCarousel';
2
- export { useReducedMotion } from './useReducedMotion';
@@ -1,14 +0,0 @@
1
- /**
2
- * useCarousel Hook
3
- * Manages carousel state and keyboard navigation
4
- */
5
- import type { UseCarouselReturn } from '../types';
6
- interface UseCarouselOptions {
7
- totalSlides: number;
8
- autoRotate?: boolean;
9
- rotationInterval?: number;
10
- pauseOnHover?: boolean;
11
- initialIndex?: number;
12
- }
13
- export declare function useCarousel(options: UseCarouselOptions): UseCarouselReturn;
14
- export {};
@@ -1,5 +0,0 @@
1
- /**
2
- * useReducedMotion Hook
3
- * Detects user's prefers-reduced-motion preference
4
- */
5
- export declare function useReducedMotion(): boolean;
@@ -1,3 +0,0 @@
1
- export { default as MarketingBanner } from './MarketingBanner';
2
- export * from './types';
3
- export * from './constants';
@@ -1,5 +0,0 @@
1
- /**
2
- * Unit Tests
3
- * MarketingBanner Component
4
- */
5
- import '@testing-library/jest-dom';
@@ -1,22 +0,0 @@
1
- /**
2
- * Mock Data for Transform Utilities Tests
3
- * Contains test data for CMS transformation functions
4
- */
5
- import type { BannerData, MarketingBannerData } from '../types';
6
- export declare const mockBannerWithNestedObjects: BannerData;
7
- export declare const mockBannerWithFlatStructure: BannerData;
8
- export declare const mockBynderImageJson: string;
9
- export declare const mockBannerWithBynderImage: BannerData;
10
- export declare const mockBynderVideoJson: string;
11
- export declare const mockBannerWithBynderVideo: BannerData;
12
- export declare const mockBynderPrivateVideoJson: string;
13
- export declare const mockBannerWithPrivateVideo: BannerData;
14
- export declare const mockMinimalBanner: BannerData;
15
- export declare const mockBannerWithMetadata: BannerData;
16
- export declare const mockCarouselWithMultipleBanners: MarketingBannerData;
17
- export declare const mockMinimalCarousel: MarketingBannerData;
18
- export declare const mockCarouselWithCustomRotation: MarketingBannerData;
19
- export declare const mockBynderCarouselImageJson: string;
20
- export declare const mockCarouselWithBynderMedia: MarketingBannerData;
21
- export declare const mockResponsiveBynderMediaJson: string;
22
- export declare const mockBannerWithResponsiveMedia: BannerData;
@@ -1,5 +0,0 @@
1
- /**
2
- * Unit Tests
3
- * useCarousel Hook
4
- */
5
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,53 +0,0 @@
1
- /**
2
- * Marketing Banner Styled Component Mixins
3
- * Reusable CSS patterns and helper functions
4
- */
5
- /**
6
- * Responsive font sizing
7
- * Applies font-size at different breakpoints
8
- */
9
- export declare const responsiveFontSize: (sizes: Record<string, string>) => import("@emotion/utils").SerializedStyles;
10
- /**
11
- * Center text on mobile, preserve positioning on desktop
12
- */
13
- export declare const centerOnMobile: import("@emotion/utils").SerializedStyles;
14
- /**
15
- * Smooth transitions for interactive elements
16
- */
17
- export declare const smoothTransition: (properties?: string[]) => import("@emotion/utils").SerializedStyles;
18
- /**
19
- * Focus outline styling for accessibility
20
- */
21
- export declare const focusOutline: (color: string) => import("@emotion/utils").SerializedStyles;
22
- /**
23
- * Absolute fill (cover parent completely)
24
- */
25
- export declare const absoluteFill: import("@emotion/utils").SerializedStyles;
26
- /**
27
- * Absolute positioning with dimensions
28
- */
29
- export declare const absoluteFullSize: import("@emotion/utils").SerializedStyles;
30
- /**
31
- * Center positioning (horizontal only)
32
- */
33
- export declare const centerHorizontal: import("@emotion/utils").SerializedStyles;
34
- /**
35
- * Flex center alignment
36
- */
37
- export declare const flexCenter: import("@emotion/utils").SerializedStyles;
38
- /**
39
- * Removes all margins and padding
40
- */
41
- export declare const resetSpacing: import("@emotion/utils").SerializedStyles;
42
- /**
43
- * CTA hover state with transform
44
- */
45
- export declare const ctaHoverState: (backgroundColor: string, borderColor: string, textColor: string) => import("@emotion/utils").SerializedStyles;
46
- /**
47
- * Gradient overlay mixin
48
- */
49
- export declare const gradientOverlay: (direction: string, startOpacity: number, endOpacity: number, baseColor: string) => import("@emotion/utils").SerializedStyles;
50
- /**
51
- * Radial gradient overlay mixin
52
- */
53
- export declare const radialGradientOverlay: (startOpacity: number, endOpacity: number, baseColor: string) => import("@emotion/utils").SerializedStyles;