@zealicsolutions/web-ui 0.2.84 → 0.2.87

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 (82) hide show
  1. package/dist/cjs/index.js +32 -33
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/src/atoms/Buttons/{Button.stories.d.ts → Buttons.stories.d.ts} +4 -3
  4. package/dist/cjs/src/atoms/Buttons/TextButton.d.ts +1 -1
  5. package/dist/cjs/src/atoms/Input/Input.d.ts +14 -2
  6. package/dist/cjs/src/atoms/Input/Input.stories.d.ts +4 -4
  7. package/dist/cjs/src/atoms/RegularImage/RegularImage.d.ts +26 -8
  8. package/dist/cjs/src/atoms/RegularImage/RegularImage.stories.d.ts +9 -1
  9. package/dist/cjs/src/atoms/RichTextViewer/RichTextViewer.d.ts +1 -1
  10. package/dist/cjs/src/atoms/Tooltip/Tooltip.d.ts +6 -3
  11. package/dist/cjs/src/atoms/Tooltip/Tooltip.stories.d.ts +1 -1
  12. package/dist/cjs/src/atoms/index.d.ts +0 -1
  13. package/dist/cjs/src/containers/MoleculeItem.d.ts +1 -1
  14. package/dist/cjs/src/containers/types/moleculeTypes.d.ts +4 -5
  15. package/dist/cjs/src/fieldsConfiguration/types.d.ts +5 -2
  16. package/dist/cjs/src/helpers/validations.d.ts +2 -0
  17. package/dist/cjs/src/index.d.ts +2 -2
  18. package/dist/cjs/src/{atoms/Buttons → molecules/Button}/Button.d.ts +2 -1
  19. package/dist/cjs/src/molecules/Button/Button.stories.d.ts +9 -0
  20. package/dist/cjs/src/molecules/Columns/Column.d.ts +9 -1
  21. package/dist/cjs/src/molecules/Columns/styles.d.ts +10 -2
  22. package/dist/cjs/src/molecules/FieldLabels/FieldLabels.d.ts +33 -1
  23. package/dist/cjs/src/molecules/FieldLabels/FieldLabels.stories.d.ts +4 -4
  24. package/dist/cjs/src/molecules/FieldMapper/FieldMapper.d.ts +3 -2
  25. package/dist/cjs/src/molecules/HeroImage/HeroImage.d.ts +2 -1
  26. package/dist/cjs/src/molecules/Image/Image.d.ts +3 -2
  27. package/dist/cjs/src/molecules/InputField/InputField.d.ts +2 -2
  28. package/dist/cjs/src/molecules/InputField/InputField.stories.d.ts +4 -5
  29. package/dist/cjs/src/molecules/SelectField/SelectField.d.ts +2 -2
  30. package/dist/cjs/src/molecules/TextMolecule/TextMolecule.d.ts +1 -1
  31. package/dist/cjs/src/molecules/index.d.ts +1 -0
  32. package/dist/cjs/src/organisms/Consent/ConsentCapture.d.ts +2 -1
  33. package/dist/cjs/src/organisms/FeedContent/types.d.ts +2 -2
  34. package/dist/cjs/src/organisms/Footer/Footer.stories.d.ts +2 -2
  35. package/dist/cjs/src/organisms/Footer/styles.d.ts +9 -1
  36. package/dist/cjs/src/organisms/Header/Header.stories.d.ts +2 -2
  37. package/dist/cjs/src/organisms/LoginForm/LoginForm.d.ts +1 -1
  38. package/dist/cjs/src/organisms/ProfileInformation/ProfileInformation.d.ts +1 -2
  39. package/dist/cjs/src/organisms/SetPasswordForm/SetPasswordForm.d.ts +1 -1
  40. package/dist/cjs/src/typescript.d.ts +3 -0
  41. package/dist/esm/index.js +32 -33
  42. package/dist/esm/index.js.map +1 -1
  43. package/dist/esm/src/atoms/Buttons/{Button.stories.d.ts → Buttons.stories.d.ts} +4 -3
  44. package/dist/esm/src/atoms/Buttons/TextButton.d.ts +1 -1
  45. package/dist/esm/src/atoms/Input/Input.d.ts +14 -2
  46. package/dist/esm/src/atoms/Input/Input.stories.d.ts +4 -4
  47. package/dist/esm/src/atoms/RegularImage/RegularImage.d.ts +26 -8
  48. package/dist/esm/src/atoms/RegularImage/RegularImage.stories.d.ts +9 -1
  49. package/dist/esm/src/atoms/RichTextViewer/RichTextViewer.d.ts +1 -1
  50. package/dist/esm/src/atoms/Tooltip/Tooltip.d.ts +6 -3
  51. package/dist/esm/src/atoms/Tooltip/Tooltip.stories.d.ts +1 -1
  52. package/dist/esm/src/atoms/index.d.ts +0 -1
  53. package/dist/esm/src/containers/MoleculeItem.d.ts +1 -1
  54. package/dist/esm/src/containers/types/moleculeTypes.d.ts +4 -5
  55. package/dist/esm/src/fieldsConfiguration/types.d.ts +5 -2
  56. package/dist/esm/src/helpers/validations.d.ts +2 -0
  57. package/dist/esm/src/index.d.ts +2 -2
  58. package/dist/esm/src/{atoms/Buttons → molecules/Button}/Button.d.ts +2 -1
  59. package/dist/esm/src/molecules/Button/Button.stories.d.ts +9 -0
  60. package/dist/esm/src/molecules/Columns/Column.d.ts +9 -1
  61. package/dist/esm/src/molecules/Columns/styles.d.ts +10 -2
  62. package/dist/esm/src/molecules/FieldLabels/FieldLabels.d.ts +33 -1
  63. package/dist/esm/src/molecules/FieldLabels/FieldLabels.stories.d.ts +4 -4
  64. package/dist/esm/src/molecules/FieldMapper/FieldMapper.d.ts +3 -2
  65. package/dist/esm/src/molecules/HeroImage/HeroImage.d.ts +2 -1
  66. package/dist/esm/src/molecules/Image/Image.d.ts +3 -2
  67. package/dist/esm/src/molecules/InputField/InputField.d.ts +2 -2
  68. package/dist/esm/src/molecules/InputField/InputField.stories.d.ts +4 -5
  69. package/dist/esm/src/molecules/SelectField/SelectField.d.ts +2 -2
  70. package/dist/esm/src/molecules/TextMolecule/TextMolecule.d.ts +1 -1
  71. package/dist/esm/src/molecules/index.d.ts +1 -0
  72. package/dist/esm/src/organisms/Consent/ConsentCapture.d.ts +2 -1
  73. package/dist/esm/src/organisms/FeedContent/types.d.ts +2 -2
  74. package/dist/esm/src/organisms/Footer/Footer.stories.d.ts +2 -2
  75. package/dist/esm/src/organisms/Footer/styles.d.ts +9 -1
  76. package/dist/esm/src/organisms/Header/Header.stories.d.ts +2 -2
  77. package/dist/esm/src/organisms/LoginForm/LoginForm.d.ts +1 -1
  78. package/dist/esm/src/organisms/ProfileInformation/ProfileInformation.d.ts +1 -2
  79. package/dist/esm/src/organisms/SetPasswordForm/SetPasswordForm.d.ts +1 -1
  80. package/dist/esm/src/typescript.d.ts +3 -0
  81. package/dist/index.d.ts +782 -719
  82. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1,26 +1,21 @@
1
1
  /// <reference types="react" />
2
2
  import * as React$1 from 'react';
3
- import React__default, { PropsWithChildren, ReactNode, CSSProperties as CSSProperties$1, ComponentType, Dispatch, SetStateAction } from 'react';
3
+ import React__default, { PropsWithChildren, ReactNode, Dispatch, SetStateAction, CSSProperties as CSSProperties$1, ComponentType } from 'react';
4
4
  import * as styled_components from 'styled-components';
5
5
  import { CSSProperties, DefaultTheme } from 'styled-components';
6
- import { FontSizesTypes as FontSizesTypes$1, ThemeColors as ThemeColors$1, SizesTypes as SizesTypes$1 } from 'theme';
7
- import { Callback as Callback$1, StylesType, Nullable, StrictUnion } from 'typescript';
8
6
  import { IconNames as IconNames$1 } from 'atoms/Icon/Icon';
9
- import { InputFieldTypes as InputFieldTypes$1, FieldTypes as FieldTypes$1, UIFields as UIFields$1 } from 'fieldsConfiguration/types';
10
- import { FontSizesTypes as FontSizesTypes$2, ThemeColors as ThemeColors$2, SizesTypes as SizesTypes$2, BreakpointSizesTypes as BreakpointSizesTypes$1 } from 'theme/types';
7
+ import { InputFieldTypes as InputFieldTypes$1, FieldTypes as FieldTypes$1, UIFields as UIFields$2 } from 'fieldsConfiguration/types';
8
+ import { ThemeColors as ThemeColors$1, FontSizesTypes as FontSizesTypes$1, SizesTypes as SizesTypes$2, BreakpointSizesTypes as BreakpointSizesTypes$1 } from 'theme/types';
9
+ import { StylesType, Callback as Callback$1, OverrideStyles, Nullable, StrictUnion } from 'typescript';
10
+ import { ThemeColors as ThemeColors$2, SizesTypes as SizesTypes$1, FontSizesTypes as FontSizesTypes$2 } from 'theme';
11
+ import { BaseButtonProps as BaseButtonProps$1, MenuItem as MenuItem$1, HeroImageProps as HeroImageProps$1, ColumnsProps as ColumnsProps$1, EmphasizedTextProps as EmphasizedTextProps$1, TabGroupProps as TabGroupProps$1, AvatarDropdownProps as AvatarDropdownProps$1, ButtonProps as ButtonProps$1, FeedContentHeaderProps as FeedContentHeaderProps$1, AlertProps as AlertProps$1, BottomNaVBarItemProps as BottomNaVBarItemProps$1, FieldLabelsProps as FieldLabelsProps$1, FieldSectionProps as FieldSectionProps$1, MenuItemsProps as MenuItemsProps$1, InputFieldProps as InputFieldProps$1, ImageProps as ImageProps$1 } from 'molecules';
11
12
  import { TooltipProps as TooltipProps$1 } from 'rc-tooltip/lib/Tooltip';
12
13
  import { WithGoogleMapProps } from 'react-google-maps/lib/withGoogleMap';
13
14
  import { WithScriptjsProps } from 'react-google-maps/lib/withScriptjs';
14
- import { TextProps as TextProps$1, IconNames as IconNames$2, TouchableOpacityProps as TouchableOpacityProps$1, InputProps as InputProps$1, CheckBoxProps as CheckBoxProps$1, RegularImageProps as RegularImageProps$1, ButtonProps as ButtonProps$1, TextButtonProps as TextButtonProps$1, AvatarProps as AvatarProps$1, TabProps as TabProps$1, TabTheme as TabTheme$1, RadioButtonsProps as RadioButtonsProps$1, HorizontalButtonsProps as HorizontalButtonsProps$1, IconProps as IconProps$1 } from 'atoms';
15
- import { MenuItem as MenuItem$1, FieldSectionProps as FieldSectionProps$1, MenuItemsProps as MenuItemsProps$1, InputFieldProps as InputFieldProps$1, TabProps as TabProps$2, HeroImageProps as HeroImageProps$1, ColumnsProps as ColumnsProps$1, EmphasizedTextProps as EmphasizedTextProps$1, TabGroupProps as TabGroupProps$1, AvatarDropdownProps as AvatarDropdownProps$1, FeedContentHeaderProps as FeedContentHeaderProps$1, AlertProps as AlertProps$1, BottomNaVBarItemProps as BottomNaVBarItemProps$1, ImageProps as ImageProps$1 } from 'molecules';
16
- import { Control, ControllerProps } from 'react-hook-form/dist/types';
17
- import { SelectOption as SelectOption$1 } from 'atoms/Select/types';
18
- import { ControllerProps as ControllerProps$1, DeepPartial, FieldValues, FormState, Control as Control$1 } from 'react-hook-form';
19
- import { DrawerProps as DrawerProps$1 } from '@mui/material';
20
- import { ProcessTrackerStatus as ProcessTrackerStatus$1, FilteredFeedContentType as FilteredFeedContentType$1, ConsentProps as ConsentProps$1, HeroSliderProps as HeroSliderProps$1, ProcessTrackerProps as ProcessTrackerProps$1 } from 'organisms';
21
- import { FeedContentTemplateTypes as FeedContentTemplateTypes$1, FeedContentProps as FeedContentProps$1 } from 'organisms/FeedContent/types';
22
- import { SetPasswordFields, MaxRuleValidation, MinRuleValidation } from 'organisms/SetPasswordForm/types';
23
- import { UIFields as UIFields$2 } from 'fieldsConfiguration';
15
+ import { TextProps as TextProps$1, IconNames as IconNames$2, TouchableOpacityProps as TouchableOpacityProps$1, AvatarProps as AvatarProps$1, TabProps as TabProps$1, RadioButtonsProps as RadioButtonsProps$1, InputProps as InputProps$1, CheckBoxProps as CheckBoxProps$1, RegularImageProps as RegularImageProps$1, TextButtonProps as TextButtonProps$1, TabTheme as TabTheme$1, HorizontalButtonsProps as HorizontalButtonsProps$1, IconProps as IconProps$1 } from 'atoms';
16
+ import { UIFields as UIFields$1, UIField as UIField$1 } from 'fieldsConfiguration';
17
+ import { MaxRuleValidation, MinRuleValidation, SetPasswordFields } from 'organisms/SetPasswordForm/types';
18
+ import { ConsentProps as ConsentProps$1, FilteredFeedContentType as FilteredFeedContentType$1, HeroSliderProps as HeroSliderProps$1, ProcessTrackerProps as ProcessTrackerProps$1, ProcessTrackerStatus as ProcessTrackerStatus$1 } from 'organisms';
24
19
  import { ConsentProps as ConsentProps$2 } from 'organisms/Consent/Consent';
25
20
  import { FooterAProps } from 'organisms/Footer/FooterA';
26
21
  import { FooterBProps } from 'organisms/Footer/FooterB';
@@ -30,49 +25,19 @@ import { FeedContentContainerProps as FeedContentContainerProps$1 } from 'organi
30
25
  import { SubscribePanelProps as SubscribePanelProps$1 } from 'organisms/SubscribePanel/type';
31
26
  import { ISIAProps } from 'organisms/ISI/ISIA';
32
27
  import { HeaderAProps as HeaderAProps$1 } from 'organisms/Header/HeaderA';
28
+ import { FeedContentProps as FeedContentProps$1, FeedContentTemplateTypes as FeedContentTemplateTypes$1 } from 'organisms/FeedContent/types';
29
+ import { Control, ControllerProps, DeepPartial, FieldValues, FormState } from 'react-hook-form';
33
30
  import { AlertProps as AlertProps$2 } from 'molecules/Alert/Alert';
31
+ import { SelectOption as SelectOption$1 } from 'atoms/Select/types';
34
32
  import { LoginFields as LoginFields$1 } from 'organisms/LoginForm/types';
35
33
  import { AnnotationsList as AnnotationsList$1 } from 'contexts/MlrRichTextViewerContext/types';
36
34
  import * as contexts_MlrRichTextViewerContext_MlrRichTextViewerContext from 'contexts/MlrRichTextViewerContext/MlrRichTextViewerContext';
35
+ export * from 'helpers/constants';
36
+ import { Control as Control$1, ControllerProps as ControllerProps$1 } from 'react-hook-form/dist/types';
37
+ import { DrawerProps as DrawerProps$1 } from '@mui/material';
37
38
  import { ContainerProps as ContainerProps$1, ContainerComponentProps as ContainerComponentProps$1, Molecule as Molecule$1 } from 'containers';
38
39
  import * as containers_types_types from 'containers/types/types';
39
40
  import { ContainerProps as ContainerProps$2 } from 'containers/types/types';
40
- export * from 'helpers/constants';
41
-
42
- declare type ButtonVariant = 'primary' | 'secondary' | 'text' | 'custom';
43
- declare type BaseButtonProps = PropsWithChildren<{
44
- onClick?: Callback$1;
45
- variant?: ButtonVariant;
46
- disabled?: boolean;
47
- fullWidth?: boolean;
48
- size?: 'medium' | 'small';
49
- buttonFont?: FontSizesTypes$1;
50
- textColor?: ThemeColors$1 | string;
51
- textSize?: number;
52
- horizontalPadding?: SizesTypes$1;
53
- verticalPadding?: SizesTypes$1;
54
- buttonColor?: ThemeColors$1 | string;
55
- buttonStroke?: ThemeColors$1 | string;
56
- cornerRadius?: SizesTypes$1 | number;
57
- hoverButtonColor?: ThemeColors$1 | string;
58
- hoverStrokeColor?: ThemeColors$1 | string;
59
- inactiveButtonColor?: ThemeColors$1 | string;
60
- inactiveStrokeColor?: ThemeColors$1 | string;
61
- styles?: StylesType;
62
- colorTheme?: 'light' | 'dark';
63
- href?: string;
64
- }>;
65
- declare type ButtonProps = BaseButtonProps & {
66
- fullWidth?: boolean;
67
- text?: string;
68
- link?: string;
69
- elementId?: string;
70
- loading?: boolean;
71
- isRichText?: boolean;
72
- containerStyle?: CSSProperties;
73
- buttonStyle?: CSSProperties;
74
- };
75
- declare const Button: ({ text: textProp, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children, buttonStyle, size, ...props }: ButtonProps) => JSX.Element | null;
76
41
 
77
42
  declare type TouchableOpacityProps = PropsWithChildren<{
78
43
  activeOpacity?: number;
@@ -113,6 +78,16 @@ declare type SelectProps = {
113
78
 
114
79
  declare const Select: ({ onChange, value, placeholder, options, disabled, optionsPresentation, isError, }: SelectProps) => JSX.Element;
115
80
 
81
+ declare type InputFieldInternalConfigProps = {
82
+ textColor: ThemeColors$1 | string;
83
+ textFontSize: number;
84
+ placeholderTextColor: ThemeColors$1 | string;
85
+ placeholderTextFontSize: number;
86
+ verticalPadding: number;
87
+ horizontalPadding: number;
88
+ styles: StylesType;
89
+ wrapperStyles: StylesType;
90
+ };
116
91
  declare type InputIconProps = {
117
92
  name: IconNames$1;
118
93
  onClick?: Callback$1;
@@ -130,18 +105,19 @@ declare type InputProps = {
130
105
  maxLength?: number;
131
106
  onChange?: (value: string) => void;
132
107
  onKeyDown?: (event: React__default.KeyboardEvent<HTMLInputElement>) => void;
108
+ internalConfig?: InputFieldInternalConfigProps;
133
109
  };
134
- declare const Input: ({ value, leftIcon, rightIcon, onChange, onBlur, disabled, isError, placeholder, isEditMode, type, ...rest }: InputProps) => JSX.Element;
110
+ declare const Input: ({ value, leftIcon, rightIcon, onChange, onBlur, disabled, isError, placeholder, isEditMode, type, internalConfig, ...rest }: InputProps) => JSX.Element;
135
111
 
136
112
  declare type TextTypes = 'primary' | 'secondary' | 'error' | 'success';
137
113
  declare type TextAlign = 'center' | 'right' | 'left';
138
114
  declare type SeoTags = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';
139
115
  declare type TextProps = {
140
- variant: FontSizesTypes$2;
116
+ variant: FontSizesTypes$1;
141
117
  layout?: 'div' | 'span';
142
118
  type?: TextTypes;
143
119
  styles?: StylesType;
144
- color?: ThemeColors$2 | string;
120
+ color?: ThemeColors$1 | string;
145
121
  numberOfLines?: number;
146
122
  textAlign?: TextAlign;
147
123
  behaveAs?: 'text' | 'button';
@@ -153,8 +129,8 @@ declare const TextWrapper: ({ children, seoTag, ...textProps }: TextWrapperProps
153
129
  declare type IconProps = {
154
130
  name: IconNames;
155
131
  size?: number;
156
- color?: ThemeColors$1 | string;
157
- fill?: ThemeColors$1 | string;
132
+ color?: ThemeColors$2 | string;
133
+ fill?: ThemeColors$2 | string;
158
134
  pointerEvents?: 'auto' | 'none';
159
135
  style?: CSSProperties;
160
136
  };
@@ -194,26 +170,43 @@ declare type SpacerProps = {
194
170
  declare const Spacer: styled_components.StyledComponent<"div", styled_components.DefaultTheme, SpacerProps, never>;
195
171
 
196
172
  declare const Spinner: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
197
- color?: ThemeColors$2 | undefined;
173
+ color?: ThemeColors$1 | undefined;
198
174
  size?: SizesTypes$2 | undefined;
199
175
  }, never>;
200
176
 
201
177
  declare type RegularImageProps = {
202
178
  src: string;
203
- alt?: string;
204
- width?: number | string;
205
- height?: number | string;
206
- onClick?: Callback$1;
207
- cornerRadius?: number;
208
- };
209
- declare const RegularImage: styled_components.StyledComponent<"img", styled_components.DefaultTheme, RegularImageProps, never>;
210
- declare const BackgroundImage: styled_components.StyledComponent<"img", styled_components.DefaultTheme, RegularImageProps, never>;
179
+ } & Partial<{
180
+ alt: string;
181
+ width: number | string;
182
+ height: number | string;
183
+ onClick: Callback$1;
184
+ cornerRadius: number;
185
+ }> & OverrideStyles;
186
+ declare const RegularImage: styled_components.StyledComponent<"img", styled_components.DefaultTheme, {
187
+ src: string;
188
+ } & Partial<{
189
+ alt: string;
190
+ width: number | string;
191
+ height: number | string;
192
+ onClick: Callback$1;
193
+ cornerRadius: number;
194
+ }> & OverrideStyles, never>;
195
+ declare const BackgroundImage: styled_components.StyledComponent<"img", styled_components.DefaultTheme, {
196
+ src: string;
197
+ } & Partial<{
198
+ alt: string;
199
+ width: number | string;
200
+ height: number | string;
201
+ onClick: Callback$1;
202
+ cornerRadius: number;
203
+ }> & OverrideStyles, never>;
211
204
 
212
- declare type TextButtonProps = Pick<BaseButtonProps, 'disabled' | 'onClick' | 'children' | 'colorTheme' | 'size'> & {
205
+ declare type TextButtonProps = Pick<BaseButtonProps$1, 'disabled' | 'onClick' | 'children' | 'colorTheme' | 'size'> & {
213
206
  buttonLink?: string;
214
207
  elementId?: string;
215
208
  };
216
- declare const TextButton: styled_components.StyledComponent<"a", styled_components.DefaultTheme, Pick<BaseButtonProps, "children" | "onClick" | "disabled" | "size" | "colorTheme"> & {
209
+ declare const TextButton: styled_components.StyledComponent<"a", styled_components.DefaultTheme, Pick<BaseButtonProps$1, "children" | "onClick" | "disabled" | "size" | "colorTheme"> & {
217
210
  buttonLink?: string | undefined;
218
211
  elementId?: string | undefined;
219
212
  }, never>;
@@ -225,9 +218,11 @@ declare type ValidationTagProps = {
225
218
  };
226
219
  declare const ValidationTag: ({ text, status }: ValidationTagProps) => JSX.Element;
227
220
 
228
- declare type TooltipProps = Pick<TooltipProps$1, 'overlay' | 'placement' | 'trigger' | 'visible' | 'children'>;
229
- declare const StyleWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
230
- declare const Tooltip: ({ trigger, placement, ...props }: TooltipProps) => JSX.Element;
221
+ declare type TooltipProps = Pick<TooltipProps$1, 'overlay' | 'placement' | 'trigger' | 'visible' | 'children'> & {
222
+ styles?: StylesType;
223
+ };
224
+ declare const StyleWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, OverrideStyles, never>;
225
+ declare const Tooltip: ({ trigger, placement, styles, ...props }: TooltipProps) => JSX.Element;
231
226
 
232
227
  declare type ToastType = 'success' | 'infoTierOne' | 'infoTierTwo' | 'warning' | 'error';
233
228
  declare type ToastParams = {
@@ -254,10 +249,10 @@ declare type AvatarProps = {
254
249
  size?: SizesTypes$1 | number;
255
250
  withShadow?: boolean;
256
251
  label?: string;
257
- backgroundColor?: ThemeColors$1;
252
+ backgroundColor?: ThemeColors$2;
258
253
  textConfig?: {
259
- color?: ThemeColors$1;
260
- font?: FontSizesTypes$1;
254
+ color?: ThemeColors$2;
255
+ font?: FontSizesTypes$2;
261
256
  };
262
257
  content: {
263
258
  initials?: string;
@@ -276,7 +271,7 @@ declare const VerticalPadding: styled_components.StyledComponent<"div", styled_c
276
271
 
277
272
  declare type DividerProps = {
278
273
  type?: 'horizontal' | 'vertical';
279
- color?: ThemeColors$1 | string;
274
+ color?: ThemeColors$2 | string;
280
275
  marginVertical?: SizesTypes$1 | number;
281
276
  marginHorizontal?: SizesTypes$1 | number;
282
277
  weight?: number;
@@ -301,8 +296,8 @@ declare const COMMUNICATION_LINK_DATA_URL = "communication-link-url";
301
296
  declare const COMMUNICATION_LINK_DATA_TEXT = "communication-link-text";
302
297
  declare type RichTextEditorProps = Partial<{
303
298
  value: string;
304
- font: FontSizesTypes$1;
305
- color: ThemeColors$1;
299
+ font: FontSizesTypes$2;
300
+ color: ThemeColors$2 | string;
306
301
  textStyles: StylesType;
307
302
  numberOfLines?: number;
308
303
  extraTextProps?: TextProps$1;
@@ -335,8 +330,8 @@ declare const Circle: ({ index, type }: CircleBoxProps) => JSX.Element;
335
330
 
336
331
  declare type CircularIndicatorProps = {
337
332
  active: boolean;
338
- activeColor?: ThemeColors$1 | string;
339
- inactiveColor?: ThemeColors$1 | string;
333
+ activeColor?: ThemeColors$2 | string;
334
+ inactiveColor?: ThemeColors$2 | string;
340
335
  };
341
336
  declare const CircularIndicator: ({ activeColor, inactiveColor, ...props }: CircularIndicatorProps) => JSX.Element;
342
337
  declare const CircularIndicatorStyledComponent: styled_components.StyledComponent<"span", styled_components.DefaultTheme, CircularIndicatorProps, never>;
@@ -345,8 +340,8 @@ declare type IconButtonProps = {
345
340
  name: IconNames$2;
346
341
  size?: number;
347
342
  onClick: Callback$1;
348
- color?: ThemeColors$1 | string;
349
- fill?: ThemeColors$1 | string;
343
+ color?: ThemeColors$2 | string;
344
+ fill?: ThemeColors$2 | string;
350
345
  pointerEvents?: 'auto' | 'none';
351
346
  };
352
347
  declare const IconButton: ({ name, color, onClick, disabled, activeOpacity, withoutOpacityEffect, ...props }: IconButtonProps & TouchableOpacityProps$1) => JSX.Element;
@@ -371,12 +366,12 @@ declare type TabProps<T = string, K = string> = {
371
366
  onOptionClick: (optionKey: K) => void;
372
367
  tabTheme: TabTheme;
373
368
  divider: boolean;
374
- tabFont: FontSizesTypes$1;
369
+ tabFont: FontSizesTypes$2;
375
370
  textSize: number;
376
371
  tabPadding: SizesTypes$1 | number;
377
- defaultTabTextColor: ThemeColors$1 | string;
378
- selectedTabTextColor: ThemeColors$1 | string;
379
- selectedTabIndicatorColor: ThemeColors$1 | string;
372
+ defaultTabTextColor: ThemeColors$2 | string;
373
+ selectedTabTextColor: ThemeColors$2 | string;
374
+ selectedTabIndicatorColor: ThemeColors$2 | string;
380
375
  styles: StylesType;
381
376
  }>;
382
377
  declare const ZealTab: <T extends string, K extends string>({ options, onClick, text, tabKey, vertical, onOptionClick, tabTheme, tabFont, tabPadding, selectedTabIndicatorColor, textSize, defaultTabTextColor, ...tabProps }: TabProps<T, K>, ref: React__default.ForwardedRef<TabElement>) => JSX.Element;
@@ -392,768 +387,836 @@ declare const Tab: <T, K>(props: {
392
387
  onOptionClick: (optionKey: K) => void;
393
388
  tabTheme: TabTheme;
394
389
  divider: boolean;
395
- tabFont: FontSizesTypes$1;
390
+ tabFont: FontSizesTypes$2;
396
391
  textSize: number;
397
392
  tabPadding: SizesTypes$1 | number;
398
- defaultTabTextColor: ThemeColors$1 | string;
399
- selectedTabTextColor: ThemeColors$1 | string;
400
- selectedTabIndicatorColor: ThemeColors$1 | string;
393
+ defaultTabTextColor: ThemeColors$2 | string;
394
+ selectedTabTextColor: ThemeColors$2 | string;
395
+ selectedTabIndicatorColor: ThemeColors$2 | string;
401
396
  styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
402
397
  }> & {
403
398
  ref?: React__default.ForwardedRef<TabElement> | undefined;
404
399
  }) => ReturnType<typeof ZealTab>;
405
400
 
406
- declare type FieldRuleLabelTypes = 'OPTIONAL' | 'REQUIRED';
407
- declare type FieldLabelsProps = {
401
+ declare type SetPasswordRuleValidation = {
408
402
  label: string;
409
- tooltipText?: string;
410
- isError?: boolean;
411
- isTooltipVisible?: boolean;
412
- ruleLabel?: FieldRuleLabelTypes;
403
+ rule: MaxRuleValidation | MinRuleValidation;
413
404
  };
414
- declare const FieldLabels: ({ label, isTooltipVisible, isError, ruleLabel, tooltipText, }: FieldLabelsProps) => JSX.Element;
415
-
416
- declare type InputFieldProps = {
417
- name: string;
418
- control?: Control<any>;
419
- rules?: ControllerProps['rules'];
420
- required?: boolean;
421
- optional?: boolean;
422
- defaultValue?: string;
423
- inputProps: InputProps$1;
424
- styles?: CSSProperties;
425
- labelsProps?: FieldLabelsProps;
405
+ declare type SetPasswordFormProps = {
406
+ fields: UIFields$1<SetPasswordFields>;
407
+ logoUrl: string;
408
+ isLoading?: boolean;
409
+ validations: SetPasswordRuleValidation[];
410
+ onSubmit: (values: SetPasswordFields) => void;
411
+ onBack: () => void;
426
412
  };
427
- declare const InputField: ({ control, name, inputProps, styles, labelsProps, defaultValue, optional, required, rules, }: InputFieldProps) => JSX.Element;
428
-
429
- declare const getFieldPlaceholder: (type: FieldTypes$1, title?: string) => string;
413
+ declare const SetPasswordForm: ({ logoUrl, fields, validations, onBack, onSubmit, isLoading, }: SetPasswordFormProps) => JSX.Element;
430
414
 
431
- declare type InputFieldTypes = 'number' | 'text' | 'email' | 'password';
432
- declare type FieldTypes = 'input' | 'select' | 'checkbox';
433
- declare type UIField<T = string> = (UIInputField & UISelectField & UICheckboxField) & {
434
- name: T;
435
- type: FieldTypes;
436
- value?: string;
437
- label?: string;
438
- placeholder?: string;
439
- required?: boolean;
440
- optional?: boolean;
441
- tooltip?: string;
442
- rules?: ControllerProps$1['rules'];
443
- order?: number;
415
+ declare const showAcceptToastMessage: () => void | undefined;
416
+ declare type AcquisitionFormProps<T extends object> = {
417
+ fields: UIFields$1<T>;
418
+ consents: ConsentProps$1[];
419
+ logoUrl: string;
420
+ isLoading?: boolean;
421
+ isSubmitDisabled?: boolean;
422
+ title: string;
423
+ description?: string;
424
+ buttonText?: string;
425
+ onSubmit: (values: T) => void;
426
+ onLinkButtonClick?: Callback$1;
427
+ showConsentLabel?: boolean;
428
+ triggerFormInitially?: boolean;
429
+ isTooltipVisible?: boolean;
430
+ optionsPresentation?: boolean;
444
431
  };
445
- declare type UIInputField = {
446
- inputType?: InputFieldTypes;
447
- maxLength?: number;
448
- onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
432
+ declare const AcquisitionForm: <T extends object>({ logoUrl, title, description, buttonText, fields, optionsPresentation, onSubmit, showConsentLabel, onLinkButtonClick, isSubmitDisabled, consents, isLoading, triggerFormInitially, isTooltipVisible, }: AcquisitionFormProps<T>) => JSX.Element;
433
+
434
+ declare type VerificationCodeForm = {
435
+ code: string;
449
436
  };
450
- declare type UISelectField = {
451
- options?: SelectOption$1[];
437
+ declare type AuthMethod = 'email' | 'sms';
438
+ declare type TwoFactorAuthProps = {
439
+ logoUrl: string;
440
+ onNext?: (authMethod: AuthMethod) => Promise<void>;
441
+ onSubmit?: (values: VerificationCodeForm) => void;
442
+ onBack?: () => void;
452
443
  };
453
- declare type UICheckboxField = {
454
- checkboxLabel?: string;
444
+ declare const TwoFactorAuth: ({ logoUrl, onSubmit, onBack, onNext }: TwoFactorAuthProps) => JSX.Element;
445
+
446
+ declare type LoginFields = {
447
+ email: string;
448
+ password: string;
449
+ rememberMe: boolean;
455
450
  };
456
- declare type UIFields<T extends object> = UIField<keyof T>[];
457
451
 
458
- declare const getInitialValuesFromFields: <T extends object>(fields: UIFields$1<T>) => DeepPartial<T>;
459
- declare const isFormValid: <T extends FieldValues>(formState: FormState<T>) => boolean;
460
- declare const getFieldsFromFieldSections: <T extends object>(sections: Pick<FieldSectionProps$1<T>, "fields">[]) => UIFields$1<T>;
452
+ declare type LoginFormProps = {
453
+ fields: UIFields$1<LoginFields>;
454
+ logoUrl: string;
455
+ isLoading?: boolean;
456
+ twoFactorAuthConfig?: {
457
+ twoFactorShow: boolean;
458
+ twoFactorAuthProps: TwoFactorAuthProps;
459
+ };
460
+ optionsPresentation?: boolean;
461
+ onSubmit: (values: LoginFields) => void;
462
+ onSignUpButtonClick?: Callback$1;
463
+ onForgotPasswordButtonClick?: Callback$1;
464
+ isTooltipVisible?: boolean;
465
+ consents: ConsentProps$2[];
466
+ };
467
+ declare const LoginForm: ({ logoUrl, fields, isTooltipVisible, onSubmit, optionsPresentation, onSignUpButtonClick, isLoading, twoFactorAuthConfig, consents, onForgotPasswordButtonClick, }: LoginFormProps) => JSX.Element;
461
468
 
462
- declare const acquisitionFormMockFields: UIFields$1<Record<string, string>>;
463
- declare const setPasswordMockFields: UIFields$1<SetPasswordFields>;
464
- declare const loginMockFields: UIFields$1<LoginFields$1>;
465
- declare const sectionMockFields: UIFields$1<Record<string, string>>;
466
- declare const profileInformationMockForm: {
467
- label: string;
468
- fields: UIFields$1<Record<string, string>>;
469
- }[];
469
+ declare type FooterProps = FooterAProps | FooterBProps | FooterCProps | FooterDProps;
470
+ declare const Footer: (props: FooterProps) => JSX.Element;
470
471
 
471
- declare type FieldMapperProps<T extends object> = {
472
- field: UIField<keyof T>;
473
- isEditMode?: boolean;
474
- control?: Control<T>;
475
- spacer?: number;
476
- isTooltipVisible?: boolean;
477
- optionsPresentation?: boolean;
478
- styles?: React.CSSProperties;
472
+ declare type FeedContentTemplateTypes = 'full_width_content' | 'standard_content' | 'auto_play' | '';
473
+ declare type FeedContentProps = {
474
+ feedContentType: Omit<FilteredFeedContentType$1, 'all'>;
475
+ feedContentTemplate: FeedContentTemplateTypes;
476
+ id?: string;
477
+ image?: string;
478
+ video?: string;
479
+ document?: string;
480
+ title?: Nullable<string>;
481
+ description: Nullable<string>;
482
+ lastUpdated: string;
483
+ buttonConfig: {
484
+ disabled?: boolean;
485
+ onClick?: () => void;
486
+ };
487
+ withCloseIcon?: {
488
+ onClose: Callback$1;
489
+ };
490
+ isMobile?: boolean;
491
+ isExpanded?: boolean;
492
+ fullWidth?: boolean;
493
+ fullWidthTemplateContainerStyles?: CSSProperties;
494
+ showDefaultDocumentStyles?: boolean;
495
+ destinationLink?: string;
496
+ onDestinationHandler?: Callback$1;
497
+ imageStyles?: StylesType;
498
+ videoStyles?: CSSProperties;
499
+ isEnabledFavoriting?: boolean;
500
+ isFavorite?: boolean;
501
+ onFavoriteClickHandler?: Callback$1;
502
+ onFavoriteIconClick?: (selectedFeedContent: FeedContentProps) => void;
479
503
  };
480
- declare const FieldMapper: <T extends object>({ field, isEditMode, spacer, control, isTooltipVisible, optionsPresentation, styles, }: FieldMapperProps<T>) => JSX.Element | null;
481
504
 
482
- declare type CheckboxFieldProps = {
505
+ declare const FeedContent: ({ feedContentTemplate, ...props }: FeedContentProps) => JSX.Element;
506
+
507
+ declare type FooterContactInfo = {
508
+ phoneNumber: string;
509
+ addressLine1: string;
510
+ addressLine2: string;
511
+ };
512
+ declare type FooterLink = {
513
+ id: string;
483
514
  name: string;
484
- control?: Control<any>;
485
- defaultValue?: boolean;
486
- checkboxProps: Omit<CheckBoxProps$1, 'error' | 'onClick' | 'value'>;
515
+ location: string;
487
516
  };
488
- declare const CheckboxField: ({ control, name, checkboxProps, defaultValue, }: CheckboxFieldProps) => JSX.Element;
489
517
 
490
- declare type SelectFieldProps = {
491
- selectProps: SelectProps;
492
- labelsProps?: FieldLabelsProps;
493
- name: string;
494
- rules?: ControllerProps['rules'];
495
- control?: Control<any>;
496
- required?: boolean;
497
- optional?: boolean;
498
- defaultValue?: string;
499
- styles?: CSSProperties;
518
+ declare type ProfileInformationProps<TabKeys extends string> = {
519
+ backgroundImageUrl: string;
520
+ avatarProps: AvatarProps$1;
521
+ tabs: TabProps$1<string, TabKeys>[];
522
+ tabContents: Record<TabKeys, () => ReactNode>;
523
+ initialTabKey: TabKeys;
524
+ title: string;
525
+ editIcons?: {
526
+ isEditMode: boolean;
527
+ onSave: Callback$1;
528
+ onEdit: Callback$1;
529
+ onClose: Callback$1;
530
+ };
500
531
  };
501
- declare const SelectField: ({ selectProps, name, defaultValue, optional, required, control, styles, labelsProps, rules, }: SelectFieldProps) => JSX.Element;
532
+ declare const ProfileInformation: <TabKeys extends string>({ avatarProps, backgroundImageUrl, initialTabKey, tabs, title, editIcons, tabContents, }: ProfileInformationProps<TabKeys>) => JSX.Element;
502
533
 
503
- declare type CustomValidationRule<T = string> = {
504
- text: string;
505
- validate: (value?: T) => boolean;
534
+ declare type EmailAddressFields = {
535
+ email: string;
506
536
  };
507
- declare type CustomValidationProps<T = string> = {
508
- label?: string;
509
- value: T;
510
- isSubmitted?: boolean;
511
- rules: CustomValidationRule<T>[];
537
+ declare type ForgotPasswordFormProps = {
538
+ logoUrl: string;
539
+ isLoading?: boolean;
540
+ onSubmit?: (values: EmailAddressFields) => void;
541
+ onBack?: Callback$1;
512
542
  };
513
- declare const CustomValidation: <T extends string = string>({ rules, value, isSubmitted, label, }: CustomValidationProps<T>) => JSX.Element;
543
+ declare const ForgotPasswordForm: ({ logoUrl, onBack, onSubmit, isLoading, }: ForgotPasswordFormProps) => JSX.Element;
514
544
 
515
- declare type BaseSelectableProps<T> = {
516
- iconName: IconNames$2;
517
- infoText: string;
518
- isActive?: boolean;
519
- onClick?: (value: T) => void;
520
- value: T;
521
- };
522
-
523
- declare type SelectableCardGroupProps<T> = {
524
- cards: BaseSelectableProps<T>[];
525
- handleChange?: (value: T | undefined) => void;
526
- spacing?: SizesTypes$1;
527
- initialValue?: T;
528
- };
529
- declare const SelectableCardGroup: <T extends string>({ cards, handleChange, spacing, initialValue, }: SelectableCardGroupProps<T>) => JSX.Element;
530
-
531
- declare type HeroImageAlignment = 'left_aligned' | 'center_aligned';
532
- declare type HeroImageTemplate = 'card' | 'full_width';
533
- declare type HeroImageProps = {
534
- type: 'hero_image';
535
- backgroundImage: RegularImageProps$1;
536
- mainHeading: string;
537
- subHeading?: string;
538
- button?: ButtonProps$1;
539
- contentAlignment?: HeroImageAlignment;
545
+ declare type BodyProps = {
546
+ elements: {
547
+ data: (HeroImageProps$1 | HeroSliderProps$1 | SubscribePanelProps$1 | ColumnsProps$1 | EmphasizedTextProps$1 | FeedContentContainerProps$1)[];
548
+ spacer?: number;
549
+ };
540
550
  horizontalPaddings?: number;
541
- template?: HeroImageTemplate;
542
- isMobile?: boolean;
543
- height?: number;
544
- };
545
- declare const HeroImage: ({ backgroundImage, button, contentAlignment, mainHeading, horizontalPaddings, subHeading, template, isMobile, height, }: HeroImageProps) => JSX.Element;
546
-
547
- declare type Anchor = 'top' | 'left' | 'bottom' | 'right';
548
- declare type DrawerProps = DrawerProps$1 & {
549
- anchor: Anchor;
550
- padding?: SizesTypes$2 | number;
551
- height?: number | string;
552
- width?: number | string;
553
- closeIconColor?: ThemeColors$2 | string;
551
+ containerStyles?: CSSProperties;
554
552
  };
553
+ declare const Body: ({ elements, horizontalPaddings, containerStyles, }: BodyProps) => JSX.Element;
555
554
 
556
- declare const Drawer: ({ children, closeIconColor, ...props }: PropsWithChildren<DrawerProps>) => JSX.Element;
557
-
558
- declare type ColumnsTemplateKeys = 'horizontal' | 'card' | 'with_image';
555
+ declare type ISIProps = ISIAProps;
556
+ declare const ISI: (props: ISIProps) => JSX.Element;
559
557
 
560
- declare type ColumnsProps = {
561
- type: 'columns';
562
- columns: ColumnItem[];
563
- containerStyles?: CSSProperties$1;
564
- template?: ColumnsTemplateKeys;
558
+ declare type ImportantLink = {
559
+ text: string;
560
+ href: string;
565
561
  };
566
- declare type ColumnItem = {
567
- title?: string;
568
- mainContent?: string;
569
- button?: TextButtonProps$1;
570
- icon: string;
562
+ declare type HeaderAProps<T = string> = {
563
+ className?: string;
564
+ links?: ImportantLink[];
565
+ logoUrl: string;
566
+ tabsProps: TabGroupProps$1;
567
+ onActionButtonClick?: Callback$1;
568
+ buttonText: string;
569
+ buttonLink: string;
570
+ isMobile?: boolean;
571
571
  };
572
- declare const Columns: ({ columns, containerStyles, template }: ColumnsProps) => JSX.Element;
573
572
 
574
- declare type MenuItem<T> = {
575
- id: T;
576
- title: string;
577
- onClick?: (id: T) => void;
578
- };
579
- declare type MenuItemsProps<T> = {
580
- title?: string;
581
- onItemPress?: (id: T) => void;
582
- options?: MenuItem<T>[];
583
- };
584
- declare const MenuItems: <T extends string | number>({ title, onItemPress, options, }: MenuItemsProps<T>) => JSX.Element;
573
+ declare type HeaderBProps<T = string> = Pick<HeaderAProps$1<T>, 'isMobile' | 'logoUrl' | 'tabsProps' | 'buttonText' | 'onActionButtonClick' | 'buttonLink' | 'className'>;
585
574
 
586
- declare type AvatarDropdownProps<T> = {
587
- avatarProps: AvatarProps$1;
588
- menuConfig: MenuItemsProps<T>;
589
- };
590
- declare const AvatarDropdown: <T extends string | number>({ avatarProps, menuConfig, }: AvatarDropdownProps<T>) => JSX.Element;
575
+ declare type HeaderCProps<T> = Pick<HeaderAProps$1<T>, 'logoUrl' | 'tabsProps' | 'isMobile' | 'className'>;
591
576
 
592
- declare type TabType<T = string, K = string> = Pick<TabProps$1<T, K>, 'text' | 'tabKey' | 'disabled' | 'options' | 'divider'>;
593
- declare type AdditionalTabContainerProps = {
594
- containerStyle?: CSSProperties;
595
- containerProps?: Record<string, unknown>;
596
- };
597
- declare type TabGroupProps<T = string, K = string> = {
598
- tabs: TabType<T, K>[];
599
- activeTabKey: T;
600
- onTabChange?: (tabKey: T) => void;
601
- onOptionClick?: (optionKey: K) => void;
602
- styles?: StylesType;
603
- vertical?: boolean;
604
- tabTheme?: TabTheme$1;
605
- tabFont?: FontSizesTypes$2;
606
- textSize?: number;
607
- tabPadding?: SizesTypes$2 | number;
608
- tabSpacing?: SizesTypes$2;
609
- defaultTabTextColor?: ThemeColors$2 | string;
610
- selectedTabTextColor?: ThemeColors$2 | string;
611
- selectedTabIndicatorColor?: ThemeColors$2 | string;
612
- wide?: AdditionalTabContainerProps;
613
- compact?: AdditionalTabContainerProps;
614
- };
615
- declare const TabGroup: <T extends string, K extends string>({ tabs, vertical, activeTabKey, onTabChange, tabTheme, wide, compact, tabSpacing, ...props }: TabGroupProps<T, K>) => JSX.Element;
577
+ declare type HeaderDProps = {
578
+ withAvatar: AvatarDropdownProps$1<string>;
579
+ } & Pick<HeaderAProps$1, 'isMobile' | 'logoUrl' | 'links' | 'tabsProps' | 'className'>;
616
580
 
617
- declare type FieldSectionProps<T extends object> = {
618
- label: string;
619
- control?: Control<T>;
620
- isEditMode?: boolean;
621
- fields: UIFields<T>;
622
- };
623
- declare const FieldSection: <T extends object>({ fields, label, isEditMode, control, }: FieldSectionProps<T>) => JSX.Element;
581
+ declare type HeaderProps<T = string> = (HeaderAProps<T> & {
582
+ type: 'header_a';
583
+ }) | (HeaderBProps<T> & {
584
+ type: 'header_b';
585
+ }) | (HeaderCProps<T> & {
586
+ type: 'header_c';
587
+ }) | (HeaderDProps & {
588
+ type: 'header_d';
589
+ });
590
+ declare const Header: <T extends string | number>(props: HeaderProps<T>) => JSX.Element;
624
591
 
625
- declare type MenuNavigationProps<T> = {
626
- menuConfig: MenuItemsProps<T>;
592
+ declare type ButtonCaptureProps = {
593
+ type: 'button';
594
+ acceptButton: ButtonProps$1;
595
+ denyButton: ButtonProps$1;
627
596
  };
628
- declare const MenuNavigation: <T extends string | number>({ menuConfig, }: MenuNavigationProps<T>) => JSX.Element;
629
- declare const CaretIconWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
630
- isOpen: boolean;
631
- }, never>;
632
-
633
- declare type EmphasizedTextProps = {
634
- type: 'emphasized_text';
635
- invertColors: boolean;
636
- textContent: string;
597
+ declare type RadioButtonsCaptureProps<T extends string> = {
598
+ type: 'radioButton';
599
+ acceptValue: T;
600
+ } & RadioButtonsProps$1<T>;
601
+ declare type CheckboxCaptureProps = {
602
+ type: 'checkbox';
603
+ label: string;
604
+ value: boolean;
605
+ onChange: (value: boolean) => void;
637
606
  };
638
- declare const EmphasizedText: ({ textContent, invertColors }: EmphasizedTextProps) => JSX.Element;
607
+ declare type ConsentCaptureProps<T extends string = string> = ButtonCaptureProps | RadioButtonsCaptureProps<T> | CheckboxCaptureProps;
639
608
 
640
- declare type RadioButtonFieldProps<T extends string> = {
641
- name: string;
642
- control?: Control<any>;
643
- rules?: ControllerProps['rules'];
644
- required?: boolean;
645
- optional?: boolean;
646
- defaultValue?: string;
647
- styles?: CSSProperties;
648
- radioButtonsProps: RadioButtonsProps$1<T>;
649
- labelsProps?: FieldLabelsProps;
609
+ declare type ConsentProps<T extends string = string> = {
610
+ text: string;
611
+ isRequired?: boolean;
612
+ consentCaptureProps: ConsentCaptureProps<T>;
613
+ containerStyles?: CSSProperties;
614
+ clearStyles?: boolean;
650
615
  };
651
- declare const RadioButtonField: <T extends string>({ control, name, radioButtonsProps, styles, labelsProps, defaultValue, optional, required, rules, }: RadioButtonFieldProps<T>) => JSX.Element;
616
+ declare const Consent: <T extends string>({ text, consentCaptureProps, containerStyles, clearStyles, }: ConsentProps<T>) => JSX.Element;
652
617
 
653
- declare type AlertProps = {
654
- style?: CSSProperties;
655
- title: string;
656
- description: string;
657
- color?: string;
618
+ declare type ProcessTrackerStatus = 'complete' | 'incomplete' | 'in_progress';
619
+ declare type ProcessTrackerProps = {
620
+ title?: Nullable<string>;
621
+ description?: Nullable<string>;
658
622
  isMobile?: boolean;
659
- logo?: string;
660
- fullWidth?: boolean;
623
+ statuses?: {
624
+ title: string;
625
+ description: string;
626
+ status: ProcessTrackerStatus;
627
+ }[];
628
+ currentStep?: number;
629
+ style?: CSSProperties;
661
630
  withCloseIcon?: {
662
631
  onClose: Callback$1;
663
632
  };
664
- fontColor?: ThemeColors$1;
665
633
  destinationLink?: string;
666
634
  onDestinationHandler?: Callback$1;
667
- containerStyles?: CSSProperties;
668
- };
669
- declare const Alert: ({ logo, title, withCloseIcon, description, style, fontColor, containerStyles, isMobile, ...props }: AlertProps) => JSX.Element;
670
-
671
- declare type OrientationType = 'horizontal' | 'vertical';
672
- declare type StepperProps = {
673
- steps: {
674
- title: string;
675
- description?: string;
676
- status?: ProcessTrackerStatus$1;
677
- }[];
678
- currentStep: number;
679
- orientation?: OrientationType;
680
635
  };
681
- declare const Stepper: ({ steps, orientation, currentStep }: StepperProps) => JSX.Element;
636
+ declare const ProcessTracker: ({ title, statuses, isMobile, description, currentStep, style, withCloseIcon, }: ProcessTrackerProps) => JSX.Element;
682
637
 
683
- declare type PdfDocumentProps = {
684
- source: string;
638
+ declare type FilteredFeedContentType = 'all' | 'favourite';
639
+ declare type FeedContentContainerProps = {
640
+ type: 'feed';
641
+ feedHeader: Omit<FeedContentHeaderProps$1, 'isMobile'>;
642
+ feedContent?: Omit<FeedContentProps$1, 'isMobile'>[];
685
643
  isMobile?: boolean;
686
- customDocumentStyles?: Partial<{
687
- wrapperBackgroundColor: ThemeColors$1 | string;
688
- pageNumberColor: ThemeColors$1 | string;
689
- pageWidth: number;
690
- pageHeight: number;
691
- paginationArrowColor: ThemeColors$1 | string;
692
- disabledPaginationArrowColor: ThemeColors$1 | string;
693
- }>;
694
644
  };
695
- declare const PdfDocument: ({ source, isMobile, customDocumentStyles, }: PdfDocumentProps) => JSX.Element;
645
+ declare const FeedContentContainer: ({ feedHeader, feedContent, isMobile, }: FeedContentContainerProps) => JSX.Element;
696
646
 
697
- declare type FeedTemplateKeys = `feed_${'a' | 'b'}`;
698
- declare type FeedContentHeaderProps = {
699
- title: string;
700
- enableFavoriting?: boolean;
701
- templateType: FeedTemplateKeys;
702
- isMobile?: boolean;
703
- menuConfig: MenuItemsProps$1<FilteredFeedContentType$1>;
704
- } & Partial<Omit<InputFieldProps$1, 'labelsProps' | 'required' | 'optional'>>;
705
- declare const FeedContentHeader: ({ templateType, title, name, inputProps, isMobile, menuConfig, ...rest }: FeedContentHeaderProps) => JSX.Element;
647
+ declare type DynamicElementProps = (AlertProps$1 & {
648
+ elementType: 'alert';
649
+ }) | (ProcessTrackerProps$1 & {
650
+ elementType: 'process_tracker';
651
+ }) | (FeedContentProps$1 & {
652
+ elementType: 'feed_content';
653
+ });
654
+ declare type SizeProps = SizesTypes$1 | number;
655
+ declare type DynamicContentZoneProps = {
656
+ elements: {
657
+ data: DynamicElementProps[];
658
+ spacer?: SizeProps;
659
+ };
660
+ horizontalPaddings?: SizeProps;
661
+ containerStyles?: CSSProperties;
662
+ };
663
+ declare const DynamicContentZone: ({ elements, horizontalPaddings, containerStyles, }: DynamicContentZoneProps) => JSX.Element;
706
664
 
707
- declare type ToggleFieldProps = {
708
- name: string;
709
- title: string;
710
- control?: Control<any>;
711
- description?: string;
712
- horizontalButtonsProps: HorizontalButtonsProps$1;
713
- defaultValue?: string;
665
+ declare type BottomNavBarNavigationProps = {
666
+ navbarItems: BottomNaVBarItemProps$1[];
714
667
  };
715
- declare const HorizontalButtonsField: ({ name, title, control, description, horizontalButtonsProps, }: ToggleFieldProps) => JSX.Element;
668
+ declare const BottomNavBarNavigation: ({ navbarItems }: BottomNavBarNavigationProps) => JSX.Element;
716
669
 
717
- declare type Callback = () => void;
670
+ declare type HeroSliderProps = {
671
+ type: 'hero_slides';
672
+ heroSlides: Omit<HeroImageProps$1, 'type' | 'template'>[];
673
+ };
674
+ declare const HeroSlider: ({ heroSlides }: HeroSliderProps) => JSX.Element | null;
675
+ declare const HeroSliderWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
718
676
 
719
- declare type BottomNaVBarItemProps = {
720
- name: string;
721
- icon: ComponentType<Omit<IconProps$1, 'name'>>;
722
- active: boolean;
723
- activeColor: string;
724
- onNavigate: Callback;
677
+ declare type SubscribePanelTemplateKeys = `subscribe_template_${'a' | 'b'}`;
678
+ declare type SubscribePanelTemplateProps = {
679
+ title?: string;
680
+ description?: string;
681
+ isSubscribing?: boolean;
682
+ subscribeHandler: Callback$1;
683
+ isMobile: boolean;
684
+ control: Control<SubscribePanelForm>;
685
+ };
686
+ declare type SubscribePanelProps = Omit<SubscribePanelTemplateProps, 'isMobile' | 'control' | 'subscribeHandler'> & {
687
+ type: 'subscribe_panel';
688
+ template: SubscribePanelTemplateKeys;
689
+ onSubscribe: (email: string) => void;
690
+ };
691
+ declare type SubscribePanelForm = {
692
+ email: string;
725
693
  };
726
- declare const BottomNavBarItem: ({ name, icon: IconComponent, active, activeColor, onNavigate, }: BottomNaVBarItemProps) => JSX.Element;
727
694
 
728
- declare type VideoProps = {
729
- src: string;
730
- } & Partial<{
731
- width: number;
732
- autoplay: boolean;
733
- enableCoverImage: boolean;
734
- coverImageSrc: string;
735
- style: CSSProperties;
736
- template: FeedContentTemplateTypes$1;
737
- }>;
738
- declare const Video: ({ style, src, width, template, autoplay, enableCoverImage, coverImageSrc, }: VideoProps) => JSX.Element;
695
+ declare const SubscribePanel: ({ template, onSubscribe, ...props }: SubscribePanelProps) => JSX.Element;
739
696
 
740
- declare type ImageProps = {
741
- src: string;
742
- } & Partial<{
743
- altText: string;
744
- link: string;
745
- width: number;
746
- height: number;
747
- cornerRadius: number;
748
- behaveAs: 'background' | 'regular';
749
- styles: CSSProperties$1;
697
+ declare type DefaultTemplateProps = {
698
+ alerts?: AlertProps$2[];
699
+ processTracker?: ProcessTrackerProps$1;
700
+ header: React.ReactNode;
701
+ feedContent?: React.ReactNode;
702
+ banner?: React.ReactNode;
703
+ content?: React.ReactNode;
704
+ };
705
+ declare const DefaultTemplate: ({ header, banner, content, alerts, processTracker, feedContent, }: DefaultTemplateProps) => JSX.Element;
706
+
707
+ interface Helpers {
708
+ goToNextStep: () => void;
709
+ goToPrevStep: () => void;
710
+ reset: () => void;
711
+ canGoToNextStep: boolean;
712
+ canGoToPrevStep: boolean;
713
+ setStep: Dispatch<SetStateAction<number>>;
714
+ }
715
+ declare const useStep: (maxStep: number) => [number, Helpers];
716
+
717
+ declare const useRequiredConsentsAcceptedValues: (consents: ConsentProps$1[]) => boolean;
718
+
719
+ declare const defaultTheme: DefaultTheme;
720
+
721
+ declare const ZealThemeProvider: (props: PropsWithChildren<{
722
+ theme?: DefaultTheme;
723
+ }>) => JSX.Element;
724
+
725
+ declare type ThemeColors = 'primary' | 'primaryTint' | 'primaryShade' | 'secondary' | 'secondaryTint' | 'secondaryShade' | 'pink' | 'pinkTint' | 'pinkShade' | 'orange' | 'orangeTint' | 'orangeShade' | 'purple' | 'purpleTint' | 'purpleShade' | 'indigo' | 'indigoTint1' | 'indigoTint2' | 'gray1' | 'gray2' | 'gray3' | 'gray4' | 'gray5' | 'green' | 'greenTint' | 'greenShade' | 'yellow' | 'yellowTint' | 'yellowShade' | 'red' | 'redTint' | 'redShade' | 'black' | 'white' | 'blue' | 'blueTint' | 'blueShade' | 'background';
726
+ declare type SizesTypes = '5XL' | '4XL' | '3XL' | '2XL' | 'XL' | 'L' | 'M' | 'S' | 'XS';
727
+ declare type FontSizesTypes = Exclude<SizesTypes, '5XL' | '4XL'>;
728
+ declare type BreakpointSizesTypes = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
729
+ declare type FontWeight = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
730
+ declare type ThemeColorsType = Record<ThemeColors, string>;
731
+ declare type ThemeTextType = Record<FontSizesTypes, {
732
+ 'font-weight': string;
733
+ 'font-size': number;
734
+ 'line-height': number;
750
735
  }>;
751
- declare const Image: ({ src, link, altText, styles, width, height, behaveAs, cornerRadius, }: ImageProps) => JSX.Element;
736
+ declare type ThemeSizesType = Record<SizesTypes, number>;
737
+ declare type ThemeDevicesType = Record<BreakpointSizesTypes, string>;
738
+ declare type ZealTheme = {
739
+ colors: ThemeColorsType;
740
+ fonts: Record<FontSizesTypes, number>;
741
+ sizes: ThemeSizesType;
742
+ devices: ThemeDevicesType;
743
+ };
752
744
 
753
- declare type CarouselProps = {
754
- children: JSX.Element[];
745
+ declare const toastStyles: styled_components.FlattenSimpleInterpolation;
746
+
747
+ declare const useMediaQuery: (breakpointSize: BreakpointSizesTypes$1) => boolean;
748
+
749
+ declare const getFieldPlaceholder: (type: FieldTypes$1, title?: string) => string;
750
+
751
+ declare type InputFieldTypes = 'phoneNumber' | 'text' | 'email' | 'password' | 'number' | 'any';
752
+ declare type FieldTypes = 'input' | 'select' | 'checkbox';
753
+ declare type UIField<T = string> = (UIInputField & UISelectField & UICheckboxField) & {
754
+ name: T;
755
+ type: FieldTypes;
756
+ value?: string;
757
+ label?: string;
758
+ placeholder?: string;
759
+ required?: boolean;
760
+ tooltip?: string;
761
+ rules?: ControllerProps['rules'];
762
+ order?: number;
755
763
  };
756
- declare const Carousel: ({ children }: PropsWithChildren<CarouselProps>) => JSX.Element;
757
- declare const Wrapper: styled_components.StyledComponent<"section", styled_components.DefaultTheme, {}, never>;
758
- declare const SlidesWrapper: styled_components.StyledComponent<"ul", styled_components.DefaultTheme, {
759
- translateX: number;
760
- }, never>;
761
- declare const Slide: styled_components.StyledComponent<"li", styled_components.DefaultTheme, {}, never>;
762
- declare const ButtonsWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
763
- declare const ArrowIconWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
764
- arrowSide: 'left' | 'right';
765
- }, never>;
766
- declare const NavigationDotsWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
764
+ declare type UIInputField = {
765
+ inputType?: InputFieldTypes;
766
+ maxLength?: number;
767
+ onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
768
+ inputProps?: InputProps$1;
769
+ labelsProps?: FieldLabelsProps$1;
770
+ };
771
+ declare type UISelectField = {
772
+ options?: SelectOption$1[];
773
+ };
774
+ declare type UICheckboxField = {
775
+ checkboxLabel?: string;
776
+ };
777
+ declare type UIFields<T extends object> = UIField<keyof T>[];
767
778
 
768
- declare type TextMoleculeProps = Partial<{
769
- text: string;
770
- variant: 'base' | 'custom';
771
- fontVariant: FontSizesTypes$1;
772
- textSize: number;
773
- textColor: ThemeColors$1 | string;
774
- letterSpacing: number;
775
- lineHeight: number;
776
- fontWeight: number;
777
- isRichText: boolean;
778
- styles: StylesType;
779
- textAlign: 'center' | 'right' | 'left';
780
- }> & Pick<TextProps$1, 'seoTag'>;
779
+ declare const getInitialValuesFromFields: <T extends object>(fields: UIFields$2<T>) => DeepPartial<T>;
780
+ declare const isFormValid: <T extends FieldValues>(formState: FormState<T>) => boolean;
781
+ declare const getFieldsFromFieldSections: <T extends object>(sections: Pick<FieldSectionProps$1<T>, "fields">[]) => UIFields$2<T>;
781
782
 
782
- declare type SetPasswordRuleValidation = {
783
+ declare const acquisitionFormMockFields: UIFields$2<Record<string, string>>;
784
+ declare const setPasswordMockFields: UIFields$2<SetPasswordFields>;
785
+ declare const loginMockFields: UIFields$2<LoginFields$1>;
786
+ declare const sectionMockFields: UIFields$2<Record<string, string>>;
787
+ declare const profileInformationMockForm: {
783
788
  label: string;
784
- rule: MaxRuleValidation | MinRuleValidation;
785
- };
786
- declare type SetPasswordFormProps = {
787
- fields: UIFields<SetPasswordFields>;
788
- logoUrl: string;
789
- isLoading?: boolean;
790
- validations: SetPasswordRuleValidation[];
791
- onSubmit: (values: SetPasswordFields) => void;
792
- onBack: () => void;
789
+ fields: UIFields$2<Record<string, string>>;
790
+ }[];
791
+
792
+ declare type MlrRichTextViewerProviderProps = PropsWithChildren<{
793
+ annotationsList: AnnotationsList$1;
794
+ isMLRReview: boolean;
795
+ showAnnotations: boolean;
796
+ }>;
797
+ declare const MlrRichTextViewerProvider: ({ children, isMLRReview, showAnnotations, annotationsList, }: MlrRichTextViewerProviderProps) => JSX.Element;
798
+
799
+ declare type MlrRichTextViewerContextType = {
800
+ isMLRReview: boolean;
801
+ showAnnotations: boolean;
802
+ annotationsList: AnnotationsList$1;
793
803
  };
794
- declare const SetPasswordForm: ({ logoUrl, fields, validations, onBack, onSubmit, isLoading, }: SetPasswordFormProps) => JSX.Element;
804
+ declare const MlrRichTextViewerContext: React$1.Context<MlrRichTextViewerContextType>;
795
805
 
796
- declare const showAcceptToastMessage: () => void | undefined;
797
- declare type AcquisitionFormProps<T extends object> = {
798
- fields: UIFields$2<T>;
799
- consents: ConsentProps$1[];
800
- logoUrl: string;
801
- isLoading?: boolean;
802
- isSubmitDisabled?: boolean;
803
- title: string;
804
- description?: string;
805
- buttonText?: string;
806
- onSubmit: (values: T) => void;
807
- onLinkButtonClick?: Callback$1;
808
- showConsentLabel?: boolean;
809
- triggerFormInitially?: boolean;
810
- isTooltipVisible?: boolean;
811
- optionsPresentation?: boolean;
806
+ declare type AnnotationsList = {
807
+ tags: {
808
+ id: string;
809
+ label: string;
810
+ }[];
811
+ links: {
812
+ id: string;
813
+ text: string;
814
+ url: string;
815
+ }[];
812
816
  };
813
- declare const AcquisitionForm: <T extends object>({ logoUrl, title, description, buttonText, fields, optionsPresentation, onSubmit, showConsentLabel, onLinkButtonClick, isSubmitDisabled, consents, isLoading, triggerFormInitially, isTooltipVisible, }: AcquisitionFormProps<T>) => JSX.Element;
814
817
 
815
- declare type VerificationCodeForm = {
816
- code: string;
818
+ declare const useMlrRichTextViewerContext: () => contexts_MlrRichTextViewerContext_MlrRichTextViewerContext.MlrRichTextViewerContextType;
819
+
820
+ declare type FieldRuleLabelTypes = 'OPTIONAL' | 'REQUIRED';
821
+ declare type LabelInternalConfig = {
822
+ fontVariant: FontSizesTypes$2;
823
+ fontSize: number;
824
+ fontWeight: string | number;
825
+ color: ThemeColors$2 | string;
826
+ padding: string;
827
+ styles: StylesType;
828
+ wrapperStyles: StylesType;
817
829
  };
818
- declare type AuthMethod = 'email' | 'sms';
819
- declare type TwoFactorAuthProps = {
820
- logoUrl: string;
821
- onNext?: (authMethod: AuthMethod) => Promise<void>;
822
- onSubmit?: (values: VerificationCodeForm) => void;
823
- onBack?: () => void;
830
+ declare type RuleLabelInternalConfig = {
831
+ requiredTextColor: ThemeColors$2 | string;
832
+ optionalTextColor: ThemeColors$2 | string;
833
+ padding: string;
834
+ fontSize: number;
835
+ styles: StylesType;
824
836
  };
825
- declare const TwoFactorAuth: ({ logoUrl, onSubmit, onBack, onNext }: TwoFactorAuthProps) => JSX.Element;
826
-
827
- declare type LoginFields = {
828
- email: string;
829
- password: string;
830
- rememberMe: boolean;
837
+ declare type TooltipInternalConfig = {
838
+ fontVariant: FontSizesTypes$2;
839
+ fontSize: number;
840
+ fontWeight: string | number;
841
+ color: ThemeColors$2 | string;
842
+ padding: string;
843
+ backgroundColor: ThemeColors$2 | string;
844
+ iconColor: ThemeColors$2 | string;
845
+ styles: StylesType;
846
+ wrapperStyles: StylesType;
831
847
  };
832
-
833
- declare type LoginFormProps = {
834
- fields: UIFields$2<LoginFields>;
835
- logoUrl: string;
836
- isLoading?: boolean;
837
- twoFactorAuthConfig?: {
838
- twoFactorShow: boolean;
839
- twoFactorAuthProps: TwoFactorAuthProps;
840
- };
841
- optionsPresentation?: boolean;
842
- onSubmit: (values: LoginFields) => void;
843
- onSignUpButtonClick?: Callback$1;
844
- onForgotPasswordButtonClick?: Callback$1;
848
+ declare type FieldLabelsProps = {
849
+ label: string;
850
+ tooltipText?: string;
851
+ isError?: boolean;
845
852
  isTooltipVisible?: boolean;
846
- consents: ConsentProps$2[];
853
+ ruleLabel?: FieldRuleLabelTypes;
854
+ labelInternalConfig?: LabelInternalConfig;
855
+ ruleLabelInternalConfig?: RuleLabelInternalConfig;
856
+ tooltipInternalConfig?: TooltipInternalConfig;
847
857
  };
848
- declare const LoginForm: ({ logoUrl, fields, isTooltipVisible, onSubmit, optionsPresentation, onSignUpButtonClick, isLoading, twoFactorAuthConfig, consents, onForgotPasswordButtonClick, }: LoginFormProps) => JSX.Element;
858
+ declare const FieldLabels: ({ label, isTooltipVisible, isError, ruleLabel, tooltipText, labelInternalConfig, ruleLabelInternalConfig, tooltipInternalConfig, }: FieldLabelsProps) => JSX.Element;
849
859
 
850
- declare type FooterProps = FooterAProps | FooterBProps | FooterCProps | FooterDProps;
851
- declare const Footer: (props: FooterProps) => JSX.Element;
852
-
853
- declare type FeedContentTemplateTypes = 'full_width_content' | 'standard_content' | 'auto_play' | '';
854
- declare type FeedContentProps = {
855
- feedContentType: Omit<FilteredFeedContentType$1, 'all'>;
856
- feedContentTemplate: FeedContentTemplateTypes;
857
- id?: string;
858
- image?: string;
859
- video?: string;
860
- document?: string;
861
- title?: Nullable<string>;
862
- description: Nullable<string>;
863
- lastUpdated: string;
864
- buttonConfig: {
865
- disabled?: boolean;
866
- onClick?: () => void;
867
- };
868
- withCloseIcon?: {
869
- onClose: Callback$1;
870
- };
871
- isMobile?: boolean;
872
- isExpanded?: boolean;
873
- fullWidth?: boolean;
874
- fullWidthTemplateContainerStyles?: CSSProperties;
875
- showDefaultDocumentStyles?: boolean;
876
- destinationLink?: string;
877
- onDestinationHandler?: Callback$1;
878
- imageStyles?: CSSProperties;
879
- videoStyles?: CSSProperties;
880
- isEnabledFavoriting?: boolean;
881
- isFavorite?: boolean;
882
- onFavoriteClickHandler?: Callback$1;
883
- onFavoriteIconClick?: (selectedFeedContent: FeedContentProps) => void;
860
+ declare type InputFieldProps = {
861
+ name: string;
862
+ control?: Control$1<any>;
863
+ rules?: ControllerProps$1['rules'];
864
+ required?: boolean;
865
+ optional?: boolean;
866
+ defaultValue?: string;
867
+ inputProps: InputProps$1;
868
+ styles?: StylesType;
869
+ labelsProps?: FieldLabelsProps;
884
870
  };
871
+ declare const InputField: ({ control, name, inputProps, styles, labelsProps, defaultValue, optional, required, rules, }: InputFieldProps) => JSX.Element;
885
872
 
886
- declare const FeedContent: ({ feedContentTemplate, ...props }: FeedContentProps) => JSX.Element;
873
+ declare type FieldMapperProps<T extends object> = {
874
+ field: UIField$1<keyof T>;
875
+ isEditMode?: boolean;
876
+ control?: Control$1<T>;
877
+ spacer?: number;
878
+ isTooltipVisible?: boolean;
879
+ optionsPresentation?: boolean;
880
+ styles?: StylesType;
881
+ };
882
+ declare const FieldMapper: <T extends object>({ field, isEditMode, spacer, control, isTooltipVisible, optionsPresentation, styles, }: FieldMapperProps<T>) => JSX.Element | null;
887
883
 
888
- declare type FooterContactInfo = {
889
- phoneNumber: string;
890
- addressLine1: string;
891
- addressLine2: string;
884
+ declare type CheckboxFieldProps = {
885
+ name: string;
886
+ control?: Control$1<any>;
887
+ defaultValue?: boolean;
888
+ checkboxProps: Omit<CheckBoxProps$1, 'error' | 'onClick' | 'value'>;
892
889
  };
893
- declare type FooterLink = {
894
- id: string;
890
+ declare const CheckboxField: ({ control, name, checkboxProps, defaultValue, }: CheckboxFieldProps) => JSX.Element;
891
+
892
+ declare type SelectFieldProps = {
893
+ selectProps: SelectProps;
894
+ labelsProps?: FieldLabelsProps;
895
895
  name: string;
896
- location: string;
896
+ rules?: ControllerProps$1['rules'];
897
+ control?: Control$1<any>;
898
+ required?: boolean;
899
+ optional?: boolean;
900
+ defaultValue?: string;
901
+ styles?: StylesType;
897
902
  };
903
+ declare const SelectField: ({ selectProps, name, defaultValue, optional, required, control, styles, labelsProps, rules, }: SelectFieldProps) => JSX.Element;
898
904
 
899
- declare type ProfileInformationProps<TabKeys extends string> = {
900
- backgroundImageUrl: string;
901
- avatarProps: AvatarProps$1;
902
- tabs: TabProps$2<string, TabKeys>[];
903
- tabContents: Record<TabKeys, () => ReactNode>;
904
- initialTabKey: TabKeys;
905
- title: string;
906
- editIcons?: {
907
- isEditMode: boolean;
908
- onSave: Callback$1;
909
- onEdit: Callback$1;
910
- onClose: Callback$1;
911
- };
905
+ declare type CustomValidationRule<T = string> = {
906
+ text: string;
907
+ validate: (value?: T) => boolean;
912
908
  };
913
- declare const ProfileInformation: <TabKeys extends string>({ avatarProps, backgroundImageUrl, initialTabKey, tabs, title, editIcons, tabContents, }: ProfileInformationProps<TabKeys>) => JSX.Element;
909
+ declare type CustomValidationProps<T = string> = {
910
+ label?: string;
911
+ value: T;
912
+ isSubmitted?: boolean;
913
+ rules: CustomValidationRule<T>[];
914
+ };
915
+ declare const CustomValidation: <T extends string = string>({ rules, value, isSubmitted, label, }: CustomValidationProps<T>) => JSX.Element;
914
916
 
915
- declare type EmailAddressFields = {
916
- email: string;
917
+ declare type BaseSelectableProps<T> = {
918
+ iconName: IconNames$2;
919
+ infoText: string;
920
+ isActive?: boolean;
921
+ onClick?: (value: T) => void;
922
+ value: T;
917
923
  };
918
- declare type ForgotPasswordFormProps = {
919
- logoUrl: string;
920
- isLoading?: boolean;
921
- onSubmit?: (values: EmailAddressFields) => void;
922
- onBack?: Callback$1;
924
+
925
+ declare type SelectableCardGroupProps<T> = {
926
+ cards: BaseSelectableProps<T>[];
927
+ handleChange?: (value: T | undefined) => void;
928
+ spacing?: SizesTypes$1;
929
+ initialValue?: T;
923
930
  };
924
- declare const ForgotPasswordForm: ({ logoUrl, onBack, onSubmit, isLoading, }: ForgotPasswordFormProps) => JSX.Element;
931
+ declare const SelectableCardGroup: <T extends string>({ cards, handleChange, spacing, initialValue, }: SelectableCardGroupProps<T>) => JSX.Element;
925
932
 
926
- declare type BodyProps = {
927
- elements: {
928
- data: (HeroImageProps$1 | HeroSliderProps$1 | SubscribePanelProps$1 | ColumnsProps$1 | EmphasizedTextProps$1 | FeedContentContainerProps$1)[];
929
- spacer?: number;
930
- };
933
+ declare type HeroImageAlignment = 'left_aligned' | 'center_aligned';
934
+ declare type HeroImageTemplate = 'card' | 'full_width';
935
+ declare type HeroImageProps = {
936
+ type: 'hero_image';
937
+ backgroundImage: RegularImageProps$1;
938
+ mainHeading: string;
939
+ subHeading?: string;
940
+ button?: ButtonProps$1;
941
+ contentAlignment?: HeroImageAlignment;
931
942
  horizontalPaddings?: number;
932
- containerStyles?: CSSProperties;
943
+ template?: HeroImageTemplate;
944
+ isMobile?: boolean;
945
+ height?: number;
933
946
  };
934
- declare const Body: ({ elements, horizontalPaddings, containerStyles, }: BodyProps) => JSX.Element;
947
+ declare const HeroImage: ({ backgroundImage, button, contentAlignment, mainHeading, horizontalPaddings, subHeading, template, isMobile, height, }: HeroImageProps) => JSX.Element;
935
948
 
936
- declare type ISIProps = ISIAProps;
937
- declare const ISI: (props: ISIProps) => JSX.Element;
949
+ declare type Anchor = 'top' | 'left' | 'bottom' | 'right';
950
+ declare type DrawerProps = DrawerProps$1 & {
951
+ anchor: Anchor;
952
+ padding?: SizesTypes$2 | number;
953
+ height?: number | string;
954
+ width?: number | string;
955
+ closeIconColor?: ThemeColors$1 | string;
956
+ };
938
957
 
939
- declare type ImportantLink = {
940
- text: string;
941
- href: string;
958
+ declare const Drawer: ({ children, closeIconColor, ...props }: PropsWithChildren<DrawerProps>) => JSX.Element;
959
+
960
+ declare type ColumnsTemplateKeys = 'horizontal' | 'card' | 'with_image';
961
+
962
+ declare type ColumnsProps = {
963
+ type: 'columns';
964
+ columns: ColumnItem[];
965
+ containerStyles?: CSSProperties$1;
966
+ template?: ColumnsTemplateKeys;
942
967
  };
943
- declare type HeaderAProps<T = string> = {
944
- className?: string;
945
- links?: ImportantLink[];
946
- logoUrl: string;
947
- tabsProps: TabGroupProps$1;
948
- onActionButtonClick?: Callback$1;
949
- buttonText: string;
950
- buttonLink: string;
951
- isMobile?: boolean;
968
+ declare type ColumnItem = {
969
+ title?: string;
970
+ mainContent?: string;
971
+ button?: TextButtonProps$1;
972
+ icon: string;
952
973
  };
974
+ declare const Columns: ({ columns, containerStyles, template }: ColumnsProps) => JSX.Element;
953
975
 
954
- declare type HeaderBProps<T = string> = Pick<HeaderAProps$1<T>, 'isMobile' | 'logoUrl' | 'tabsProps' | 'buttonText' | 'onActionButtonClick' | 'buttonLink' | 'className'>;
976
+ declare type MenuItem<T> = {
977
+ id: T;
978
+ title: string;
979
+ onClick?: (id: T) => void;
980
+ };
981
+ declare type MenuItemsProps<T> = {
982
+ title?: string;
983
+ onItemPress?: (id: T) => void;
984
+ options?: MenuItem<T>[];
985
+ };
986
+ declare const MenuItems: <T extends string | number>({ title, onItemPress, options, }: MenuItemsProps<T>) => JSX.Element;
955
987
 
956
- declare type HeaderCProps<T> = Pick<HeaderAProps$1<T>, 'logoUrl' | 'tabsProps' | 'isMobile' | 'className'>;
988
+ declare type AvatarDropdownProps<T> = {
989
+ avatarProps: AvatarProps$1;
990
+ menuConfig: MenuItemsProps<T>;
991
+ };
992
+ declare const AvatarDropdown: <T extends string | number>({ avatarProps, menuConfig, }: AvatarDropdownProps<T>) => JSX.Element;
957
993
 
958
- declare type HeaderDProps = {
959
- withAvatar: AvatarDropdownProps$1<string>;
960
- } & Pick<HeaderAProps$1, 'isMobile' | 'logoUrl' | 'links' | 'tabsProps' | 'className'>;
994
+ declare type TabType<T = string, K = string> = Pick<TabProps$1<T, K>, 'text' | 'tabKey' | 'disabled' | 'options' | 'divider'>;
995
+ declare type AdditionalTabContainerProps = {
996
+ containerStyle?: CSSProperties;
997
+ containerProps?: Record<string, unknown>;
998
+ };
999
+ declare type TabGroupProps<T = string, K = string> = {
1000
+ tabs: TabType<T, K>[];
1001
+ activeTabKey: T;
1002
+ onTabChange?: (tabKey: T) => void;
1003
+ onOptionClick?: (optionKey: K) => void;
1004
+ styles?: StylesType;
1005
+ vertical?: boolean;
1006
+ tabTheme?: TabTheme$1;
1007
+ tabFont?: FontSizesTypes$1;
1008
+ textSize?: number;
1009
+ tabPadding?: SizesTypes$2 | number;
1010
+ tabSpacing?: SizesTypes$2;
1011
+ defaultTabTextColor?: ThemeColors$1 | string;
1012
+ selectedTabTextColor?: ThemeColors$1 | string;
1013
+ selectedTabIndicatorColor?: ThemeColors$1 | string;
1014
+ wide?: AdditionalTabContainerProps;
1015
+ compact?: AdditionalTabContainerProps;
1016
+ };
1017
+ declare const TabGroup: <T extends string, K extends string>({ tabs, vertical, activeTabKey, onTabChange, tabTheme, wide, compact, tabSpacing, ...props }: TabGroupProps<T, K>) => JSX.Element;
961
1018
 
962
- declare type HeaderProps<T = string> = (HeaderAProps<T> & {
963
- type: 'header_a';
964
- }) | (HeaderBProps<T> & {
965
- type: 'header_b';
966
- }) | (HeaderCProps<T> & {
967
- type: 'header_c';
968
- }) | (HeaderDProps & {
969
- type: 'header_d';
970
- });
971
- declare const Header: <T extends string | number>(props: HeaderProps<T>) => JSX.Element;
1019
+ declare type FieldSectionProps<T extends object> = {
1020
+ label: string;
1021
+ control?: Control$1<T>;
1022
+ isEditMode?: boolean;
1023
+ fields: UIFields<T>;
1024
+ };
1025
+ declare const FieldSection: <T extends object>({ fields, label, isEditMode, control, }: FieldSectionProps<T>) => JSX.Element;
972
1026
 
973
- declare type ButtonCaptureProps = {
974
- type: 'button';
975
- acceptButton: ButtonProps$1;
976
- denyButton: ButtonProps$1;
1027
+ declare type MenuNavigationProps<T> = {
1028
+ menuConfig: MenuItemsProps<T>;
977
1029
  };
978
- declare type RadioButtonsCaptureProps<T extends string> = {
979
- type: 'radioButton';
980
- acceptValue: T;
981
- } & RadioButtonsProps$1<T>;
982
- declare type CheckboxCaptureProps = {
983
- type: 'checkbox';
984
- label: string;
985
- value: boolean;
986
- onChange: (value: boolean) => void;
1030
+ declare const MenuNavigation: <T extends string | number>({ menuConfig, }: MenuNavigationProps<T>) => JSX.Element;
1031
+ declare const CaretIconWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
1032
+ isOpen: boolean;
1033
+ }, never>;
1034
+
1035
+ declare type EmphasizedTextProps = {
1036
+ type: 'emphasized_text';
1037
+ invertColors: boolean;
1038
+ textContent: string;
987
1039
  };
988
- declare type ConsentCaptureProps<T extends string = string> = ButtonCaptureProps | RadioButtonsCaptureProps<T> | CheckboxCaptureProps;
1040
+ declare const EmphasizedText: ({ textContent, invertColors }: EmphasizedTextProps) => JSX.Element;
989
1041
 
990
- declare type ConsentProps<T extends string = string> = {
991
- text: string;
992
- isRequired?: boolean;
993
- consentCaptureProps: ConsentCaptureProps<T>;
994
- containerStyles?: CSSProperties;
995
- clearStyles?: boolean;
1042
+ declare type RadioButtonFieldProps<T extends string> = {
1043
+ name: string;
1044
+ control?: Control$1<any>;
1045
+ rules?: ControllerProps$1['rules'];
1046
+ required?: boolean;
1047
+ optional?: boolean;
1048
+ defaultValue?: string;
1049
+ styles?: CSSProperties;
1050
+ radioButtonsProps: RadioButtonsProps$1<T>;
1051
+ labelsProps?: FieldLabelsProps;
996
1052
  };
997
- declare const Consent: <T extends string>({ text, consentCaptureProps, containerStyles, clearStyles, }: ConsentProps<T>) => JSX.Element;
1053
+ declare const RadioButtonField: <T extends string>({ control, name, radioButtonsProps, styles, labelsProps, defaultValue, optional, required, rules, }: RadioButtonFieldProps<T>) => JSX.Element;
998
1054
 
999
- declare type ProcessTrackerStatus = 'complete' | 'incomplete' | 'in_progress';
1000
- declare type ProcessTrackerProps = {
1001
- title?: Nullable<string>;
1002
- description?: Nullable<string>;
1003
- isMobile?: boolean;
1004
- statuses?: {
1005
- title: string;
1006
- description: string;
1007
- status: ProcessTrackerStatus;
1008
- }[];
1009
- currentStep?: number;
1055
+ declare type AlertProps = {
1010
1056
  style?: CSSProperties;
1057
+ title: string;
1058
+ description: string;
1059
+ color?: string;
1060
+ isMobile?: boolean;
1061
+ logo?: string;
1062
+ fullWidth?: boolean;
1011
1063
  withCloseIcon?: {
1012
1064
  onClose: Callback$1;
1013
1065
  };
1066
+ fontColor?: ThemeColors$2;
1014
1067
  destinationLink?: string;
1015
1068
  onDestinationHandler?: Callback$1;
1016
- };
1017
- declare const ProcessTracker: ({ title, statuses, isMobile, description, currentStep, style, withCloseIcon, }: ProcessTrackerProps) => JSX.Element;
1018
-
1019
- declare type FilteredFeedContentType = 'all' | 'favourite';
1020
- declare type FeedContentContainerProps = {
1021
- type: 'feed';
1022
- feedHeader: Omit<FeedContentHeaderProps$1, 'isMobile'>;
1023
- feedContent?: Omit<FeedContentProps$1, 'isMobile'>[];
1024
- isMobile?: boolean;
1025
- };
1026
- declare const FeedContentContainer: ({ feedHeader, feedContent, isMobile, }: FeedContentContainerProps) => JSX.Element;
1027
-
1028
- declare type DynamicElementProps = (AlertProps$1 & {
1029
- elementType: 'alert';
1030
- }) | (ProcessTrackerProps$1 & {
1031
- elementType: 'process_tracker';
1032
- }) | (FeedContentProps$1 & {
1033
- elementType: 'feed_content';
1034
- });
1035
- declare type SizeProps = SizesTypes$1 | number;
1036
- declare type DynamicContentZoneProps = {
1037
- elements: {
1038
- data: DynamicElementProps[];
1039
- spacer?: SizeProps;
1040
- };
1041
- horizontalPaddings?: SizeProps;
1042
1069
  containerStyles?: CSSProperties;
1043
1070
  };
1044
- declare const DynamicContentZone: ({ elements, horizontalPaddings, containerStyles, }: DynamicContentZoneProps) => JSX.Element;
1071
+ declare const Alert: ({ logo, title, withCloseIcon, description, style, fontColor, containerStyles, isMobile, ...props }: AlertProps) => JSX.Element;
1045
1072
 
1046
- declare type BottomNavBarNavigationProps = {
1047
- navbarItems: BottomNaVBarItemProps$1[];
1073
+ declare type OrientationType = 'horizontal' | 'vertical';
1074
+ declare type StepperProps = {
1075
+ steps: {
1076
+ title: string;
1077
+ description?: string;
1078
+ status?: ProcessTrackerStatus$1;
1079
+ }[];
1080
+ currentStep: number;
1081
+ orientation?: OrientationType;
1048
1082
  };
1049
- declare const BottomNavBarNavigation: ({ navbarItems }: BottomNavBarNavigationProps) => JSX.Element;
1083
+ declare const Stepper: ({ steps, orientation, currentStep }: StepperProps) => JSX.Element;
1050
1084
 
1051
- declare type HeroSliderProps = {
1052
- type: 'hero_slides';
1053
- heroSlides: Omit<HeroImageProps$1, 'type' | 'template'>[];
1085
+ declare type PdfDocumentProps = {
1086
+ source: string;
1087
+ isMobile?: boolean;
1088
+ customDocumentStyles?: Partial<{
1089
+ wrapperBackgroundColor: ThemeColors$2 | string;
1090
+ pageNumberColor: ThemeColors$2 | string;
1091
+ pageWidth: number;
1092
+ pageHeight: number;
1093
+ paginationArrowColor: ThemeColors$2 | string;
1094
+ disabledPaginationArrowColor: ThemeColors$2 | string;
1095
+ }>;
1054
1096
  };
1055
- declare const HeroSlider: ({ heroSlides }: HeroSliderProps) => JSX.Element | null;
1056
- declare const HeroSliderWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
1097
+ declare const PdfDocument: ({ source, isMobile, customDocumentStyles, }: PdfDocumentProps) => JSX.Element;
1057
1098
 
1058
- declare type SubscribePanelTemplateKeys = `subscribe_template_${'a' | 'b'}`;
1059
- declare type SubscribePanelTemplateProps = {
1060
- title?: string;
1099
+ declare type FeedTemplateKeys = `feed_${'a' | 'b'}`;
1100
+ declare type FeedContentHeaderProps = {
1101
+ title: string;
1102
+ enableFavoriting?: boolean;
1103
+ templateType: FeedTemplateKeys;
1104
+ isMobile?: boolean;
1105
+ menuConfig: MenuItemsProps$1<FilteredFeedContentType$1>;
1106
+ } & Partial<Omit<InputFieldProps$1, 'labelsProps' | 'required' | 'optional'>>;
1107
+ declare const FeedContentHeader: ({ templateType, title, name, inputProps, isMobile, menuConfig, ...rest }: FeedContentHeaderProps) => JSX.Element;
1108
+
1109
+ declare type ToggleFieldProps = {
1110
+ name: string;
1111
+ title: string;
1112
+ control?: Control$1<any>;
1061
1113
  description?: string;
1062
- isSubscribing?: boolean;
1063
- subscribeHandler: Callback$1;
1064
- isMobile: boolean;
1065
- control: Control$1<SubscribePanelForm>;
1066
- };
1067
- declare type SubscribePanelProps = Omit<SubscribePanelTemplateProps, 'isMobile' | 'control' | 'subscribeHandler'> & {
1068
- type: 'subscribe_panel';
1069
- template: SubscribePanelTemplateKeys;
1070
- onSubscribe: (email: string) => void;
1071
- };
1072
- declare type SubscribePanelForm = {
1073
- email: string;
1114
+ horizontalButtonsProps: HorizontalButtonsProps$1;
1115
+ defaultValue?: string;
1074
1116
  };
1117
+ declare const HorizontalButtonsField: ({ name, title, control, description, horizontalButtonsProps, }: ToggleFieldProps) => JSX.Element;
1075
1118
 
1076
- declare const SubscribePanel: ({ template, onSubscribe, ...props }: SubscribePanelProps) => JSX.Element;
1119
+ declare type Callback = () => void;
1077
1120
 
1078
- declare type DefaultTemplateProps = {
1079
- alerts?: AlertProps$2[];
1080
- processTracker?: ProcessTrackerProps$1;
1081
- header: React.ReactNode;
1082
- feedContent?: React.ReactNode;
1083
- banner?: React.ReactNode;
1084
- content?: React.ReactNode;
1121
+ declare type BottomNaVBarItemProps = {
1122
+ name: string;
1123
+ icon: ComponentType<Omit<IconProps$1, 'name'>>;
1124
+ active: boolean;
1125
+ activeColor: string;
1126
+ onNavigate: Callback;
1085
1127
  };
1086
- declare const DefaultTemplate: ({ header, banner, content, alerts, processTracker, feedContent, }: DefaultTemplateProps) => JSX.Element;
1087
-
1088
- interface Helpers {
1089
- goToNextStep: () => void;
1090
- goToPrevStep: () => void;
1091
- reset: () => void;
1092
- canGoToNextStep: boolean;
1093
- canGoToPrevStep: boolean;
1094
- setStep: Dispatch<SetStateAction<number>>;
1095
- }
1096
- declare const useStep: (maxStep: number) => [number, Helpers];
1097
-
1098
- declare const useRequiredConsentsAcceptedValues: (consents: ConsentProps$1[]) => boolean;
1099
-
1100
- declare const defaultTheme: DefaultTheme;
1101
-
1102
- declare const ZealThemeProvider: (props: PropsWithChildren<{
1103
- theme?: DefaultTheme;
1104
- }>) => JSX.Element;
1128
+ declare const BottomNavBarItem: ({ name, icon: IconComponent, active, activeColor, onNavigate, }: BottomNaVBarItemProps) => JSX.Element;
1105
1129
 
1106
- declare type ThemeColors = 'primary' | 'primaryTint' | 'primaryShade' | 'secondary' | 'secondaryTint' | 'secondaryShade' | 'pink' | 'pinkTint' | 'pinkShade' | 'orange' | 'orangeTint' | 'orangeShade' | 'purple' | 'purpleTint' | 'purpleShade' | 'indigo' | 'indigoTint1' | 'indigoTint2' | 'gray1' | 'gray2' | 'gray3' | 'gray4' | 'gray5' | 'green' | 'greenTint' | 'greenShade' | 'yellow' | 'yellowTint' | 'yellowShade' | 'red' | 'redTint' | 'redShade' | 'black' | 'white' | 'blue' | 'blueTint' | 'blueShade' | 'background';
1107
- declare type SizesTypes = '5XL' | '4XL' | '3XL' | '2XL' | 'XL' | 'L' | 'M' | 'S' | 'XS';
1108
- declare type FontSizesTypes = Exclude<SizesTypes, '5XL' | '4XL'>;
1109
- declare type BreakpointSizesTypes = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
1110
- declare type FontWeight = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
1111
- declare type ThemeColorsType = Record<ThemeColors, string>;
1112
- declare type ThemeTextType = Record<FontSizesTypes, {
1113
- 'font-weight': string;
1114
- 'font-size': number;
1115
- 'line-height': number;
1130
+ declare type VideoProps = {
1131
+ src: string;
1132
+ } & Partial<{
1133
+ width: number;
1134
+ autoplay: boolean;
1135
+ enableCoverImage: boolean;
1136
+ coverImageSrc: string;
1137
+ style: CSSProperties;
1138
+ template: FeedContentTemplateTypes$1;
1116
1139
  }>;
1117
- declare type ThemeSizesType = Record<SizesTypes, number>;
1118
- declare type ThemeDevicesType = Record<BreakpointSizesTypes, string>;
1119
- declare type ZealTheme = {
1120
- colors: ThemeColorsType;
1121
- fonts: Record<FontSizesTypes, number>;
1122
- sizes: ThemeSizesType;
1123
- devices: ThemeDevicesType;
1124
- };
1125
-
1126
- declare const toastStyles: styled_components.FlattenSimpleInterpolation;
1127
-
1128
- declare const useMediaQuery: (breakpointSize: BreakpointSizesTypes$1) => boolean;
1140
+ declare const Video: ({ style, src, width, template, autoplay, enableCoverImage, coverImageSrc, }: VideoProps) => JSX.Element;
1129
1141
 
1130
- declare type MlrRichTextViewerProviderProps = PropsWithChildren<{
1131
- annotationsList: AnnotationsList$1;
1132
- isMLRReview: boolean;
1133
- showAnnotations: boolean;
1142
+ declare type ImageProps = {
1143
+ src: string;
1144
+ } & Partial<{
1145
+ altText: string;
1146
+ link: string;
1147
+ width: number;
1148
+ height: number;
1149
+ cornerRadius: number;
1150
+ behaveAs: 'background' | 'regular';
1151
+ styles: StylesType;
1134
1152
  }>;
1135
- declare const MlrRichTextViewerProvider: ({ children, isMLRReview, showAnnotations, annotationsList, }: MlrRichTextViewerProviderProps) => JSX.Element;
1153
+ declare const Image: ({ src, link, altText, styles, width, height, behaveAs, cornerRadius, }: ImageProps) => JSX.Element;
1136
1154
 
1137
- declare type MlrRichTextViewerContextType = {
1138
- isMLRReview: boolean;
1139
- showAnnotations: boolean;
1140
- annotationsList: AnnotationsList$1;
1155
+ declare type CarouselProps = {
1156
+ children: JSX.Element[];
1141
1157
  };
1142
- declare const MlrRichTextViewerContext: React$1.Context<MlrRichTextViewerContextType>;
1158
+ declare const Carousel: ({ children }: PropsWithChildren<CarouselProps>) => JSX.Element;
1159
+ declare const Wrapper: styled_components.StyledComponent<"section", styled_components.DefaultTheme, {}, never>;
1160
+ declare const SlidesWrapper: styled_components.StyledComponent<"ul", styled_components.DefaultTheme, {
1161
+ translateX: number;
1162
+ }, never>;
1163
+ declare const Slide: styled_components.StyledComponent<"li", styled_components.DefaultTheme, {}, never>;
1164
+ declare const ButtonsWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
1165
+ declare const ArrowIconWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
1166
+ arrowSide: 'left' | 'right';
1167
+ }, never>;
1168
+ declare const NavigationDotsWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
1143
1169
 
1144
- declare type AnnotationsList = {
1145
- tags: {
1146
- id: string;
1147
- label: string;
1148
- }[];
1149
- links: {
1150
- id: string;
1151
- text: string;
1152
- url: string;
1153
- }[];
1154
- };
1170
+ declare type TextMoleculeProps = Partial<{
1171
+ text: string;
1172
+ variant: 'base' | 'custom';
1173
+ fontVariant: FontSizesTypes$2;
1174
+ textSize: number;
1175
+ textColor: ThemeColors$2 | string;
1176
+ letterSpacing: number;
1177
+ lineHeight: number;
1178
+ fontWeight: string | number;
1179
+ isRichText: boolean;
1180
+ styles: StylesType;
1181
+ textAlign: 'center' | 'right' | 'left';
1182
+ }> & Pick<TextProps$1, 'seoTag'>;
1183
+ declare const TextMolecule: ({ isRichText, variant, text, seoTag, fontVariant, textColor, textSize, fontWeight, lineHeight, letterSpacing, styles, textAlign, }: TextMoleculeProps) => JSX.Element;
1155
1184
 
1156
- declare const useMlrRichTextViewerContext: () => contexts_MlrRichTextViewerContext_MlrRichTextViewerContext.MlrRichTextViewerContextType;
1185
+ declare type ButtonVariant = 'primary' | 'secondary' | 'text' | 'custom';
1186
+ declare type BaseButtonProps = PropsWithChildren<{
1187
+ onClick?: Callback$1;
1188
+ variant?: ButtonVariant;
1189
+ disabled?: boolean;
1190
+ fullWidth?: boolean;
1191
+ size?: 'medium' | 'small';
1192
+ buttonFont?: FontSizesTypes$2;
1193
+ textColor?: ThemeColors$2 | string;
1194
+ textSize?: number;
1195
+ horizontalPadding?: SizesTypes$1;
1196
+ verticalPadding?: SizesTypes$1;
1197
+ buttonColor?: ThemeColors$2 | string;
1198
+ buttonStroke?: ThemeColors$2 | string;
1199
+ cornerRadius?: SizesTypes$1 | number;
1200
+ hoverButtonColor?: ThemeColors$2 | string;
1201
+ hoverStrokeColor?: ThemeColors$2 | string;
1202
+ inactiveButtonColor?: ThemeColors$2 | string;
1203
+ inactiveStrokeColor?: ThemeColors$2 | string;
1204
+ inactiveTextColor?: ThemeColors$2 | string;
1205
+ styles?: StylesType;
1206
+ colorTheme?: 'light' | 'dark';
1207
+ href?: string;
1208
+ }>;
1209
+ declare type ButtonProps = BaseButtonProps & {
1210
+ fullWidth?: boolean;
1211
+ text?: string;
1212
+ link?: string;
1213
+ elementId?: string;
1214
+ loading?: boolean;
1215
+ isRichText?: boolean;
1216
+ containerStyle?: CSSProperties;
1217
+ buttonStyle?: CSSProperties;
1218
+ };
1219
+ declare const Button: ({ text: textProp, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children, buttonStyle, size, textColor, inactiveTextColor, ...props }: ButtonProps) => JSX.Element | null;
1157
1220
 
1158
1221
  declare const Container: ({ children, wide, compact, type, ...props }: ContainerProps$1) => JSX.Element;
1159
1222
  declare const ContainerComponent: ({ type, items, config, tabsProps }: ContainerComponentProps$1) => JSX.Element | null;
@@ -1205,7 +1268,7 @@ interface ImageMolecule extends BaseMolecule {
1205
1268
  props: Omit<ImageProps$1, 'src' | 'link' | 'altText'>;
1206
1269
  };
1207
1270
  }
1208
- interface TextMolecule extends BaseMolecule {
1271
+ interface TextMoleculeType extends BaseMolecule {
1209
1272
  type: 'text';
1210
1273
  attributes: {
1211
1274
  text: TextAttributes;
@@ -1213,9 +1276,9 @@ interface TextMolecule extends BaseMolecule {
1213
1276
  };
1214
1277
  config: {
1215
1278
  props: {
1216
- fontVariant: FontSizesTypes$1;
1279
+ fontVariant: FontSizesTypes$2;
1217
1280
  textSize: number;
1218
- textColor: ThemeColors$1 | string;
1281
+ textColor: ThemeColors$2 | string;
1219
1282
  letterSpacing: number;
1220
1283
  lineHeight: number;
1221
1284
  isRichText: boolean;
@@ -1263,7 +1326,7 @@ interface TabGroupMolecule extends BaseMolecule {
1263
1326
  };
1264
1327
  };
1265
1328
  }
1266
- declare type Molecule = StrictUnion<ImageMolecule | TextMolecule | ButtonMolecule | VideoMolecule | TabGroupMolecule>;
1329
+ declare type Molecule = StrictUnion<ImageMolecule | TextMoleculeType | ButtonMolecule | VideoMolecule | TabGroupMolecule>;
1267
1330
 
1268
1331
  declare type ContainerType = 'row' | 'column' | 'slider';
1269
1332
  declare type ContainerPositionType = 'fixed' | 'sticky' | 'static';
@@ -1307,4 +1370,4 @@ declare const OrganismItem: ({ item, tabsProps, }: {
1307
1370
  tabsProps?: Pick<TabGroupProps$1<string, string>, "tabs" | "activeTabKey" | "onTabChange"> | undefined;
1308
1371
  }) => JSX.Element | null;
1309
1372
 
1310
- export { AcquisitionForm, AcquisitionFormProps, AdditionalContainerProps, Alert, AlertProps, AnnotationsList, ArrowIconWrapper, AuthMethod, Avatar, AvatarDropdown, AvatarDropdownProps, AvatarProps, BackgroundImage, BaseButtonProps, BaseMolecule, Body, BodyProps, BooleanAttributes, BottomNaVBarItemProps, BottomNavBarItem, BottomNavBarNavigation, BottomNavBarNavigationProps, BreakpointSizesTypes, Button, ButtonMolecule, ButtonProps, ButtonVariant, ButtonsWrapper, COMMUNICATION_LINK_DATA_TEXT, COMMUNICATION_LINK_DATA_URL, COMMUNICATION_LINK_ELEMENT_ID, CaretIconWrapper, Carousel, CarouselProps, CheckBoxProps, Checkbox, CheckboxField, CheckboxFieldProps, Circle, CircleBoxProps, CircularIndicator, CircularIndicatorProps, CircularIndicatorStyledComponent, ColumnItem, Columns, ColumnsProps, Consent, ConsentProps, Container, ContainerComponent, ContainerComponentProps, ContainerPositionType, ContainerProps, ContainerPropsType, ContainerScrollBehaviourType, ContainerType, ContainerWrapper, CustomValidation, CustomValidationProps, CustomValidationRule, DefaultTemplate, DefaultTemplateProps, Divider, DividerProps, Drawer, DynamicContentZone, DynamicContentZoneProps, DynamicElementProps, EmphasizedText, EmphasizedTextProps, FeedContent, FeedContentContainer, FeedContentContainerProps, FeedContentHeader, FeedContentHeaderProps, FeedTemplateKeys, FieldLabels, FieldLabelsProps, FieldMapper, FieldMapperProps, FieldRuleLabelTypes, FieldSection, FieldSectionProps, FieldTypes, FilteredFeedContentType, FontSizesTypes, FontWeight, Footer, FooterContactInfo, FooterLink, FooterProps, ForgotPasswordForm, ForgotPasswordFormProps, GoogleMap, GoogleMapProps, Header, HeaderProps, HeroImage, HeroImageAlignment, HeroImageProps, HeroImageTemplate, HeroSlider, HeroSliderProps, HeroSliderWrapper, HorizontalButtons, HorizontalButtonsField, HorizontalButtonsProps, HorizontalPadding, HorizontalPaddingProps, ISI, ISIProps, Icon, IconButton, IconButtonProps, IconNames, IconProps, Image, ImageAttributes, ImageMolecule, ImageProps, Input, InputField, InputFieldProps, InputFieldTypes, InputIconProps, InputProps, LinkAttributes, LoginForm, LoginFormProps, MATRIX_MESSAGE_DATA_ID, MATRIX_MESSAGE_ELEMENT_ID, MapPosition, MenuItem, MenuItems, MenuItemsProps, MenuNavigation, MenuNavigationProps, MlrRichTextViewerContext, MlrRichTextViewerContextType, MlrRichTextViewerProvider, MlrRichTextViewerProviderProps, Molecule, MoleculeTypes, NavigationDotsWrapper, OrganismItem, OrientationType, PdfDocument, PdfDocumentProps, ProcessTracker, ProcessTrackerProps, ProcessTrackerStatus, ProfileInformation, ProfileInformationProps, RadioButtonField, RadioButtonFieldProps, RadioButtonType, RadioButtons, RadioButtonsProps, RegularImage, RegularImageProps, RichTextEditorProps, RichTextViewer, Select, SelectAttributes, SelectField, SelectFieldProps, SelectableCardGroup, SelectableCardGroupProps, SeoTags, SetPasswordForm, SetPasswordFormProps, SetPasswordRuleValidation, SizesTypes, Slide, SlidesWrapper, Spacer, SpacerProps, Spinner, Stepper, StepperProps, StyleWrapper, SubscribePanel, Tab, TabGroup, TabGroupMolecule, TabGroupProps, TabOption, TabProps, TabTheme, TabType, TextAlign, TextAttributes, TextButton, TextButtonProps, TextMoleculeProps, TextProps, TextTypes, TextWrapper, TextWrapperProps, ThemeColors, ThemeColorsType, ThemeDevicesType, ThemeSizesType, ThemeTextType, Tooltip, TooltipProps, TouchableOpacity, TouchableOpacityProps, TwoFactorAuth, TwoFactorAuthProps, UICheckboxField, UIField, UIFields, UIInputField, UISelectField, ValidationTag, ValidationTagProps, ValidationTagStatus, VerticalPadding, Video, VideoAttributes, VideoMolecule, VideoProps, Wrapper, ZealTheme, ZealThemeProvider, acquisitionFormMockFields, defaultTheme, getFieldPlaceholder, getFieldsFromFieldSections, getInitialValuesFromFields, isFormValid, loginMockFields, profileInformationMockForm, sectionMockFields, setPasswordMockFields, showAcceptToastMessage, toast, toastStyles, useMediaQuery, useMlrRichTextViewerContext, useRequiredConsentsAcceptedValues, useStep };
1373
+ export { AcquisitionForm, AcquisitionFormProps, AdditionalContainerProps, Alert, AlertProps, AnnotationsList, ArrowIconWrapper, AuthMethod, Avatar, AvatarDropdown, AvatarDropdownProps, AvatarProps, BackgroundImage, BaseButtonProps, BaseMolecule, Body, BodyProps, BooleanAttributes, BottomNaVBarItemProps, BottomNavBarItem, BottomNavBarNavigation, BottomNavBarNavigationProps, BreakpointSizesTypes, Button, ButtonMolecule, ButtonProps, ButtonVariant, ButtonsWrapper, COMMUNICATION_LINK_DATA_TEXT, COMMUNICATION_LINK_DATA_URL, COMMUNICATION_LINK_ELEMENT_ID, CaretIconWrapper, Carousel, CarouselProps, CheckBoxProps, Checkbox, CheckboxField, CheckboxFieldProps, Circle, CircleBoxProps, CircularIndicator, CircularIndicatorProps, CircularIndicatorStyledComponent, ColumnItem, Columns, ColumnsProps, Consent, ConsentProps, Container, ContainerComponent, ContainerComponentProps, ContainerPositionType, ContainerProps, ContainerPropsType, ContainerScrollBehaviourType, ContainerType, ContainerWrapper, CustomValidation, CustomValidationProps, CustomValidationRule, DefaultTemplate, DefaultTemplateProps, Divider, DividerProps, Drawer, DynamicContentZone, DynamicContentZoneProps, DynamicElementProps, EmphasizedText, EmphasizedTextProps, FeedContent, FeedContentContainer, FeedContentContainerProps, FeedContentHeader, FeedContentHeaderProps, FeedTemplateKeys, FieldLabels, FieldLabelsProps, FieldMapper, FieldMapperProps, FieldRuleLabelTypes, FieldSection, FieldSectionProps, FieldTypes, FilteredFeedContentType, FontSizesTypes, FontWeight, Footer, FooterContactInfo, FooterLink, FooterProps, ForgotPasswordForm, ForgotPasswordFormProps, GoogleMap, GoogleMapProps, Header, HeaderProps, HeroImage, HeroImageAlignment, HeroImageProps, HeroImageTemplate, HeroSlider, HeroSliderProps, HeroSliderWrapper, HorizontalButtons, HorizontalButtonsField, HorizontalButtonsProps, HorizontalPadding, HorizontalPaddingProps, ISI, ISIProps, Icon, IconButton, IconButtonProps, IconNames, IconProps, Image, ImageAttributes, ImageMolecule, ImageProps, Input, InputField, InputFieldInternalConfigProps, InputFieldProps, InputFieldTypes, InputIconProps, InputProps, LabelInternalConfig, LinkAttributes, LoginForm, LoginFormProps, MATRIX_MESSAGE_DATA_ID, MATRIX_MESSAGE_ELEMENT_ID, MapPosition, MenuItem, MenuItems, MenuItemsProps, MenuNavigation, MenuNavigationProps, MlrRichTextViewerContext, MlrRichTextViewerContextType, MlrRichTextViewerProvider, MlrRichTextViewerProviderProps, Molecule, MoleculeTypes, NavigationDotsWrapper, OrganismItem, OrientationType, PdfDocument, PdfDocumentProps, ProcessTracker, ProcessTrackerProps, ProcessTrackerStatus, ProfileInformation, ProfileInformationProps, RadioButtonField, RadioButtonFieldProps, RadioButtonType, RadioButtons, RadioButtonsProps, RegularImage, RegularImageProps, RichTextEditorProps, RichTextViewer, RuleLabelInternalConfig, Select, SelectAttributes, SelectField, SelectFieldProps, SelectableCardGroup, SelectableCardGroupProps, SeoTags, SetPasswordForm, SetPasswordFormProps, SetPasswordRuleValidation, SizesTypes, Slide, SlidesWrapper, Spacer, SpacerProps, Spinner, Stepper, StepperProps, StyleWrapper, SubscribePanel, Tab, TabGroup, TabGroupMolecule, TabGroupProps, TabOption, TabProps, TabTheme, TabType, TextAlign, TextAttributes, TextButton, TextButtonProps, TextMolecule, TextMoleculeProps, TextMoleculeType, TextProps, TextTypes, TextWrapper, TextWrapperProps, ThemeColors, ThemeColorsType, ThemeDevicesType, ThemeSizesType, ThemeTextType, Tooltip, TooltipInternalConfig, TooltipProps, TouchableOpacity, TouchableOpacityProps, TwoFactorAuth, TwoFactorAuthProps, UICheckboxField, UIField, UIFields, UIInputField, UISelectField, ValidationTag, ValidationTagProps, ValidationTagStatus, VerticalPadding, Video, VideoAttributes, VideoMolecule, VideoProps, Wrapper, ZealTheme, ZealThemeProvider, acquisitionFormMockFields, defaultTheme, getFieldPlaceholder, getFieldsFromFieldSections, getInitialValuesFromFields, isFormValid, loginMockFields, profileInformationMockForm, sectionMockFields, setPasswordMockFields, showAcceptToastMessage, toast, toastStyles, useMediaQuery, useMlrRichTextViewerContext, useRequiredConsentsAcceptedValues, useStep };